From 202161d56b80fda181cd4e01e457d1861527fb64 Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Fri, 25 Aug 2023 14:33:35 +0200 Subject: [PATCH 1/4] optimize_barrel --- packages/next-swc/crates/core/src/lib.rs | 4 + .../crates/core/src/named_import_transform.rs | 2 +- .../crates/core/src/optimize_barrel.rs | 271 ++++++++++++++++++ .../next-swc/crates/core/tests/fixture.rs | 30 ++ .../tests/fixture/optimize-barrel/1/input.js | 3 + .../tests/fixture/optimize-barrel/1/output.js | 3 + .../tests/fixture/optimize-barrel/2/input.js | 6 + .../tests/fixture/optimize-barrel/2/output.js | 2 + .../tests/fixture/optimize-barrel/3/input.js | 6 + .../tests/fixture/optimize-barrel/3/output.js | 2 + .../tests/fixture/optimize-barrel/4/input.js | 9 + .../tests/fixture/optimize-barrel/4/output.js | 7 + packages/next-swc/crates/core/tests/full.rs | 1 + packages/next/src/build/swc/options.ts | 9 + packages/next/src/build/webpack-config.ts | 24 +- .../webpack/loaders/barrel-optimize-loader.ts | 5 - .../build/webpack/loaders/next-swc-loader.ts | 2 + 17 files changed, 376 insertions(+), 10 deletions(-) create mode 100644 packages/next-swc/crates/core/src/optimize_barrel.rs create mode 100644 packages/next-swc/crates/core/tests/fixture/optimize-barrel/1/input.js create mode 100644 packages/next-swc/crates/core/tests/fixture/optimize-barrel/1/output.js create mode 100644 packages/next-swc/crates/core/tests/fixture/optimize-barrel/2/input.js create mode 100644 packages/next-swc/crates/core/tests/fixture/optimize-barrel/2/output.js create mode 100644 packages/next-swc/crates/core/tests/fixture/optimize-barrel/3/input.js create mode 100644 packages/next-swc/crates/core/tests/fixture/optimize-barrel/3/output.js create mode 100644 packages/next-swc/crates/core/tests/fixture/optimize-barrel/4/input.js create mode 100644 packages/next-swc/crates/core/tests/fixture/optimize-barrel/4/output.js delete mode 100644 packages/next/src/build/webpack/loaders/barrel-optimize-loader.ts diff --git a/packages/next-swc/crates/core/src/lib.rs b/packages/next-swc/crates/core/src/lib.rs index 019ca39f214c..1f83599efa4e 100644 --- a/packages/next-swc/crates/core/src/lib.rs +++ b/packages/next-swc/crates/core/src/lib.rs @@ -59,6 +59,7 @@ pub mod disallow_re_export_all_in_page; pub mod named_import_transform; pub mod next_dynamic; pub mod next_ssg; +pub mod optimize_barrel; pub mod page_config; pub mod react_remove_properties; pub mod react_server_components; @@ -132,6 +133,9 @@ pub struct TransformOptions { #[serde(default)] pub auto_modularize_imports: Option, + #[serde(default)] + pub optimize_barrel_exports: Option, + #[serde(default)] pub font_loaders: Option, diff --git a/packages/next-swc/crates/core/src/named_import_transform.rs b/packages/next-swc/crates/core/src/named_import_transform.rs index 1799d2d024e7..d05c4d4fd3f5 100644 --- a/packages/next-swc/crates/core/src/named_import_transform.rs +++ b/packages/next-swc/crates/core/src/named_import_transform.rs @@ -61,7 +61,7 @@ impl Fold for NamedImportTransform { if !skip_transform { let new_src = format!( - "barrel-optimize-loader?names={}!{}", + "__barrel_optimize__?names={}!=!!{}", specifier_names.join(","), src_value ); diff --git a/packages/next-swc/crates/core/src/optimize_barrel.rs b/packages/next-swc/crates/core/src/optimize_barrel.rs new file mode 100644 index 000000000000..f8ef29710d7a --- /dev/null +++ b/packages/next-swc/crates/core/src/optimize_barrel.rs @@ -0,0 +1,271 @@ +use serde::Deserialize; +use turbopack_binding::swc::core::{ + common::{FileName, DUMMY_SP}, + ecma::{ + ast::*, + utils::{private_ident, quote_str}, + visit::Fold, + }, +}; + +#[derive(Clone, Debug, Deserialize)] +pub struct Config { + pub names: Vec, +} + +pub fn optimize_barrel(filename: FileName, config: Config) -> impl Fold { + OptimizeBarrel { + filepath: filename.to_string(), + names: config.names, + } +} + +#[derive(Debug, Default)] +struct OptimizeBarrel { + filepath: String, + names: Vec, +} + +impl Fold for OptimizeBarrel { + fn fold_module_items(&mut self, items: Vec) -> Vec { + // One pre-pass to find all the local idents that we are referencing. + let mut local_idents = vec![]; + for item in &items { + if let ModuleItem::ModuleDecl(decl) = item { + if let ModuleDecl::ExportNamed(export_named) = decl { + if export_named.src.is_none() { + for spec in &export_named.specifiers { + if let ExportSpecifier::Named(s) = spec { + let str_name; + if let Some(name) = &s.exported { + str_name = match &name { + ModuleExportName::Ident(n) => n.sym.to_string(), + ModuleExportName::Str(n) => n.value.to_string(), + }; + } else { + str_name = match &s.orig { + ModuleExportName::Ident(n) => n.sym.to_string(), + ModuleExportName::Str(n) => n.value.to_string(), + }; + } + + // If the exported name needs to be kept, track the local ident. + if self.names.contains(&str_name) { + if let ModuleExportName::Ident(i) = &s.orig { + local_idents.push(i.sym.clone()); + } + } + } + } + } + } + } + } + + // The second pass to rebuild the module items. + let mut new_items = vec![]; + + // We only apply this optimization to barrel files. Here we consider + // a barrel file to be a file that only exports from other modules. + // Besides that, lit expressions are allowed as well ("use client", etc.). + let mut is_barrel = true; + for item in &items { + match item { + ModuleItem::ModuleDecl(decl) => { + match decl { + // export { foo } from './foo'; + ModuleDecl::ExportNamed(export_named) => { + for spec in &export_named.specifiers { + match spec { + ExportSpecifier::Namespace(s) => { + let name_str = match &s.name { + ModuleExportName::Ident(n) => n.sym.to_string(), + ModuleExportName::Str(n) => n.value.to_string(), + }; + if self.names.contains(&name_str) { + new_items.push(item.clone()); + } + } + ExportSpecifier::Named(s) => { + if let Some(name) = &s.exported { + let name_str = match &name { + ModuleExportName::Ident(n) => n.sym.to_string(), + ModuleExportName::Str(n) => n.value.to_string(), + }; + + if self.names.contains(&name_str) { + new_items.push(ModuleItem::ModuleDecl( + ModuleDecl::ExportNamed(NamedExport { + span: DUMMY_SP, + specifiers: vec![ExportSpecifier::Named( + ExportNamedSpecifier { + span: DUMMY_SP, + orig: s.orig.clone(), + exported: Some( + ModuleExportName::Ident( + Ident::new( + name_str.into(), + DUMMY_SP, + ), + ), + ), + is_type_only: false, + }, + )], + src: export_named.src.clone(), + type_only: false, + asserts: None, + }), + )); + } + } else { + let name_str = match &s.orig { + ModuleExportName::Ident(n) => n.sym.to_string(), + ModuleExportName::Str(n) => n.value.to_string(), + }; + + if self.names.contains(&name_str) { + new_items.push(ModuleItem::ModuleDecl( + ModuleDecl::ExportNamed(NamedExport { + span: DUMMY_SP, + specifiers: vec![ExportSpecifier::Named( + ExportNamedSpecifier { + span: DUMMY_SP, + orig: s.orig.clone(), + exported: None, + is_type_only: false, + }, + )], + src: export_named.src.clone(), + type_only: false, + asserts: None, + }), + )); + } + } + } + _ => { + is_barrel = false; + break; + } + } + } + } + // Keep import statements that create the local idents we need. + ModuleDecl::Import(import_decl) => { + for spec in &import_decl.specifiers { + match spec { + ImportSpecifier::Named(s) => { + if local_idents.contains(&s.local.sym) { + new_items.push(ModuleItem::ModuleDecl( + ModuleDecl::Import(ImportDecl { + span: DUMMY_SP, + specifiers: vec![ImportSpecifier::Named( + ImportNamedSpecifier { + span: DUMMY_SP, + local: s.local.clone(), + imported: s.imported.clone(), + is_type_only: false, + }, + )], + src: import_decl.src.clone(), + type_only: false, + asserts: None, + }), + )); + } + } + ImportSpecifier::Default(s) => { + if local_idents.contains(&s.local.sym) { + new_items.push(ModuleItem::ModuleDecl( + ModuleDecl::Import(ImportDecl { + span: DUMMY_SP, + specifiers: vec![ImportSpecifier::Default( + ImportDefaultSpecifier { + span: DUMMY_SP, + local: s.local.clone(), + }, + )], + src: import_decl.src.clone(), + type_only: false, + asserts: None, + }), + )); + } + } + ImportSpecifier::Namespace(s) => { + let name_str = &s.local.sym.to_string(); + if self.names.contains(&name_str) { + new_items.push(ModuleItem::ModuleDecl( + ModuleDecl::Import(ImportDecl { + span: DUMMY_SP, + specifiers: vec![ImportSpecifier::Namespace( + ImportStarAsSpecifier { + span: DUMMY_SP, + local: s.local.clone(), + }, + )], + src: import_decl.src.clone(), + type_only: false, + asserts: None, + }), + )); + } + } + } + } + } + _ => { + // Export expressions are not allowed in barrel files. + is_barrel = false; + break; + } + } + } + ModuleItem::Stmt(stmt) => match stmt { + Stmt::Expr(expr) => match &*expr.expr { + Expr::Lit(_) => { + new_items.push(item.clone()); + } + _ => { + is_barrel = false; + break; + } + }, + _ => { + is_barrel = false; + break; + } + }, + } + } + + // If the file is not a barrel file, we need to create a new module that + // re-exports from the original file. + // This is to avoid creating multiple instances of the original module. + if !is_barrel { + new_items = vec![ModuleItem::ModuleDecl(ModuleDecl::ExportNamed( + NamedExport { + span: DUMMY_SP, + specifiers: self + .names + .iter() + .map(|name| { + ExportSpecifier::Named(ExportNamedSpecifier { + span: DUMMY_SP, + orig: ModuleExportName::Ident(private_ident!(name.clone())), + exported: None, + is_type_only: false, + }) + }) + .collect(), + src: Some(Box::new(quote_str!(self.filepath.to_string()))), + type_only: false, + asserts: None, + }, + ))]; + } + + new_items + } +} diff --git a/packages/next-swc/crates/core/tests/fixture.rs b/packages/next-swc/crates/core/tests/fixture.rs index 9a38810175ff..8046417205f1 100644 --- a/packages/next-swc/crates/core/tests/fixture.rs +++ b/packages/next-swc/crates/core/tests/fixture.rs @@ -6,6 +6,7 @@ use next_swc::{ named_import_transform::named_import_transform, next_dynamic::next_dynamic, next_ssg::next_ssg, + optimize_barrel::optimize_barrel, page_config::page_config_test, react_remove_properties::remove_properties, react_server_components::server_components, @@ -481,6 +482,35 @@ fn named_import_transform_fixture(input: PathBuf) { ); } +#[fixture("tests/fixture/optimize-barrel/**/input.js")] +fn optimize_barrel_fixture(input: PathBuf) { + let output = input.parent().unwrap().join("output.js"); + test_fixture( + syntax(), + &|_tr| { + let unresolved_mark = Mark::new(); + let top_level_mark = Mark::new(); + + chain!( + resolver(unresolved_mark, top_level_mark, false), + optimize_barrel( + FileName::Real(PathBuf::from("/some-project/node_modules/foo/file.js")), + json( + r#" + { + "names": ["x", "y", "z"] + } + "# + ) + ) + ) + }, + &input, + &output, + Default::default(), + ); +} + fn json(s: &str) -> T where T: DeserializeOwned, diff --git a/packages/next-swc/crates/core/tests/fixture/optimize-barrel/1/input.js b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/1/input.js new file mode 100644 index 000000000000..747c0573c916 --- /dev/null +++ b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/1/input.js @@ -0,0 +1,3 @@ +export { foo, b as y } from './1' +export { x, a } from './2' +export { z } diff --git a/packages/next-swc/crates/core/tests/fixture/optimize-barrel/1/output.js b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/1/output.js new file mode 100644 index 000000000000..0edcd356f6fc --- /dev/null +++ b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/1/output.js @@ -0,0 +1,3 @@ +export { b as y } from './1'; +export { x } from './2'; +export { z }; diff --git a/packages/next-swc/crates/core/tests/fixture/optimize-barrel/2/input.js b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/2/input.js new file mode 100644 index 000000000000..6f255555ee99 --- /dev/null +++ b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/2/input.js @@ -0,0 +1,6 @@ +// De-optimize this file +const foo = 1 + +export { foo, b as y } from './1' +export { x, a } from './2' +export { z } diff --git a/packages/next-swc/crates/core/tests/fixture/optimize-barrel/2/output.js b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/2/output.js new file mode 100644 index 000000000000..3f5d1a74b87b --- /dev/null +++ b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/2/output.js @@ -0,0 +1,2 @@ +// De-optimize this file +export { x, y, z } from "/some-project/node_modules/foo/file.js"; diff --git a/packages/next-swc/crates/core/tests/fixture/optimize-barrel/3/input.js b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/3/input.js new file mode 100644 index 000000000000..630019266de2 --- /dev/null +++ b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/3/input.js @@ -0,0 +1,6 @@ +// De-optimize this file +export * from 'x' + +export { foo, b as y } from './1' +export { x, a } from './2' +export { z } diff --git a/packages/next-swc/crates/core/tests/fixture/optimize-barrel/3/output.js b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/3/output.js new file mode 100644 index 000000000000..3f5d1a74b87b --- /dev/null +++ b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/3/output.js @@ -0,0 +1,2 @@ +// De-optimize this file +export { x, y, z } from "/some-project/node_modules/foo/file.js"; diff --git a/packages/next-swc/crates/core/tests/fixture/optimize-barrel/4/input.js b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/4/input.js new file mode 100644 index 000000000000..bd460bc9a27b --- /dev/null +++ b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/4/input.js @@ -0,0 +1,9 @@ +'use client' + +import foo, { a, b } from 'foo' +import z from 'bar' + +export { a as x } +export { y } from '1' +export { b } +export { foo as default, z } diff --git a/packages/next-swc/crates/core/tests/fixture/optimize-barrel/4/output.js b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/4/output.js new file mode 100644 index 000000000000..2a8069f942f6 --- /dev/null +++ b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/4/output.js @@ -0,0 +1,7 @@ +'use client'; +import { a } from 'foo' +import z from 'bar' + +export { a as x }; +export { y } from '1'; +export { z }; diff --git a/packages/next-swc/crates/core/tests/full.rs b/packages/next-swc/crates/core/tests/full.rs index b7cb7f4a5d87..92af9032f1e9 100644 --- a/packages/next-swc/crates/core/tests/full.rs +++ b/packages/next-swc/crates/core/tests/full.rs @@ -79,6 +79,7 @@ fn test(input: &Path, minify: bool) { server_actions: None, cjs_require_optimizer: None, auto_modularize_imports: None, + optimize_barrel_exports: None, }; let unresolved_mark = Mark::new(); diff --git a/packages/next/src/build/swc/options.ts b/packages/next/src/build/swc/options.ts index 62a5a86f9be7..46f6ff263380 100644 --- a/packages/next/src/build/swc/options.ts +++ b/packages/next/src/build/swc/options.ts @@ -310,6 +310,7 @@ export function getLoaderSWCOptions({ hasServerComponents, isServerLayer, isServerActionsEnabled, + optimizeBarrelExports, }: // This is not passed yet as "paths" resolving is handled by webpack currently. // resolvedBaseUrl, { @@ -330,6 +331,7 @@ export function getLoaderSWCOptions({ hasServerComponents?: boolean isServerLayer: boolean isServerActionsEnabled?: boolean + optimizeBarrelExports?: string[] }) { let baseOptions: any = getBaseSWCOptions({ filename, @@ -372,10 +374,17 @@ export function getLoaderSWCOptions({ } baseOptions.autoModularizeImports = { packages: [ + 'lucide-react', // TODO: Add a list of packages that should be optimized by default ], } + if (optimizeBarrelExports) { + baseOptions.optimizeBarrelExports = { + names: optimizeBarrelExports, + } + } + const isNextDist = nextDistPath.test(filename) if (isServer) { diff --git a/packages/next/src/build/webpack-config.ts b/packages/next/src/build/webpack-config.ts index 47cc4377ccbf..82f36785b64e 100644 --- a/packages/next/src/build/webpack-config.ts +++ b/packages/next/src/build/webpack-config.ts @@ -1936,7 +1936,6 @@ export default async function getBaseWebpackConfig( 'next-invalid-import-error-loader', 'next-metadata-route-loader', 'modularize-import-loader', - 'barrel-optimize-loader', ].reduce((alias, loader) => { // using multiple aliases to replace `resolveLoader.modules` alias[loader] = path.join(__dirname, 'webpack', 'loaders', loader) @@ -2124,6 +2123,25 @@ export default async function getBaseWebpackConfig( }, ] : []), + { + test: /__barrel_optimize__/, + use: ({ + resourceQuery, + issuerLayer, + }: { + resourceQuery: string + issuerLayer: string + }) => { + const names = resourceQuery.slice('?names='.length).split(',') + return [ + getSwcLoader({ + isServerLayer: + issuerLayer === WEBPACK_LAYERS.reactServerComponents, + optimizeBarrelExports: names, + }), + ] + }, + }, { oneOf: [ { @@ -2144,9 +2162,7 @@ export default async function getBaseWebpackConfig( ? [ { test: codeCondition.test, - issuerLayer: { - or: [isWebpackServerLayer], - }, + issuerLayer: isWebpackServerLayer, exclude: [asyncStoragesRegex], use: swcLoaderForServerLayer, }, diff --git a/packages/next/src/build/webpack/loaders/barrel-optimize-loader.ts b/packages/next/src/build/webpack/loaders/barrel-optimize-loader.ts deleted file mode 100644 index e294d7f7b967..000000000000 --- a/packages/next/src/build/webpack/loaders/barrel-optimize-loader.ts +++ /dev/null @@ -1,5 +0,0 @@ -export default function transformSource(this: any, source: string) { - // const { names }: any = this.getOptions() - // const { resourcePath } = this - return source -} diff --git a/packages/next/src/build/webpack/loaders/next-swc-loader.ts b/packages/next/src/build/webpack/loaders/next-swc-loader.ts index 0c054724a8e4..4fd305991df1 100644 --- a/packages/next/src/build/webpack/loaders/next-swc-loader.ts +++ b/packages/next/src/build/webpack/loaders/next-swc-loader.ts @@ -53,6 +53,7 @@ async function loaderTransform( swcCacheDir, hasServerComponents, isServerLayer, + optimizeBarrelExports, } = loaderOptions const isPageFile = filename.startsWith(pagesDir) const relativeFilePathFromRoot = path.relative(rootDir, filename) @@ -75,6 +76,7 @@ async function loaderTransform( hasServerComponents, isServerActionsEnabled: nextConfig?.experimental?.serverActions, isServerLayer, + optimizeBarrelExports, }) const programmaticOptions = { From 7487561e5c29a28ec2d8f194fdafb6b7ec81aead Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Fri, 25 Aug 2023 19:04:51 +0200 Subject: [PATCH 2/4] webpack config and new experimental option --- packages/next-swc/crates/core/src/lib.rs | 5 + .../crates/core/src/named_import_transform.rs | 6 +- .../crates/core/src/optimize_barrel.rs | 45 +- .../named-import-transform/1/output.js | 2 +- .../named-import-transform/2/output.js | 4 +- .../tests/fixture/optimize-barrel/5/input.js | 2 + .../tests/fixture/optimize-barrel/5/output.js | 2 + packages/next/src/build/swc/options.ts | 16 +- packages/next/src/build/webpack-config.ts | 77 +- .../build/webpack/loaders/next-swc-loader.ts | 1 + packages/next/src/compiled/webpack/bundle5.js | 131012 ++++++++++++++- packages/next/src/server/config-schema.ts | 3 + packages/next/src/server/config-shared.ts | 5 + packages/next/src/server/config.ts | 69 +- .../auto-modularize-imports/app/layout.js | 12 - .../basic/auto-modularize-imports/app/page.js | 11 - 16 files changed, 131125 insertions(+), 147 deletions(-) create mode 100644 packages/next-swc/crates/core/tests/fixture/optimize-barrel/5/input.js create mode 100644 packages/next-swc/crates/core/tests/fixture/optimize-barrel/5/output.js delete mode 100644 test/development/basic/auto-modularize-imports/app/layout.js delete mode 100644 test/development/basic/auto-modularize-imports/app/page.js diff --git a/packages/next-swc/crates/core/src/lib.rs b/packages/next-swc/crates/core/src/lib.rs index 1f83599efa4e..11aea351c7b3 100644 --- a/packages/next-swc/crates/core/src/lib.rs +++ b/packages/next-swc/crates/core/src/lib.rs @@ -257,6 +257,11 @@ where Some(config) => Either::Left(named_import_transform::named_import_transform(config.clone())), None => Either::Right(noop()), }, + match &opts.optimize_barrel_exports { + Some(config) => Either::Left(optimize_barrel::optimize_barrel( + file.name.clone(),config.clone())), + None => Either::Right(noop()), + }, opts.emotion .as_ref() .and_then(|config| { diff --git a/packages/next-swc/crates/core/src/named_import_transform.rs b/packages/next-swc/crates/core/src/named_import_transform.rs index d05c4d4fd3f5..4e95899cb4ee 100644 --- a/packages/next-swc/crates/core/src/named_import_transform.rs +++ b/packages/next-swc/crates/core/src/named_import_transform.rs @@ -60,10 +60,10 @@ impl Fold for NamedImportTransform { } if !skip_transform { + let names = specifier_names.join(","); let new_src = format!( - "__barrel_optimize__?names={}!=!!{}", - specifier_names.join(","), - src_value + "__barrel_optimize__?names={}!=!{}?__barrel_optimize_noop__={}", + names, src_value, names, ); // Create a new import declaration, keep everything the same except the source diff --git a/packages/next-swc/crates/core/src/optimize_barrel.rs b/packages/next-swc/crates/core/src/optimize_barrel.rs index f8ef29710d7a..0fee0a2e3e95 100644 --- a/packages/next-swc/crates/core/src/optimize_barrel.rs +++ b/packages/next-swc/crates/core/src/optimize_barrel.rs @@ -31,29 +31,27 @@ impl Fold for OptimizeBarrel { // One pre-pass to find all the local idents that we are referencing. let mut local_idents = vec![]; for item in &items { - if let ModuleItem::ModuleDecl(decl) = item { - if let ModuleDecl::ExportNamed(export_named) = decl { - if export_named.src.is_none() { - for spec in &export_named.specifiers { - if let ExportSpecifier::Named(s) = spec { - let str_name; - if let Some(name) = &s.exported { - str_name = match &name { - ModuleExportName::Ident(n) => n.sym.to_string(), - ModuleExportName::Str(n) => n.value.to_string(), - }; - } else { - str_name = match &s.orig { - ModuleExportName::Ident(n) => n.sym.to_string(), - ModuleExportName::Str(n) => n.value.to_string(), - }; - } + if let ModuleItem::ModuleDecl(ModuleDecl::ExportNamed(export_named)) = item { + if export_named.src.is_none() { + for spec in &export_named.specifiers { + if let ExportSpecifier::Named(s) = spec { + let str_name; + if let Some(name) = &s.exported { + str_name = match &name { + ModuleExportName::Ident(n) => n.sym.to_string(), + ModuleExportName::Str(n) => n.value.to_string(), + }; + } else { + str_name = match &s.orig { + ModuleExportName::Ident(n) => n.sym.to_string(), + ModuleExportName::Str(n) => n.value.to_string(), + }; + } - // If the exported name needs to be kept, track the local ident. - if self.names.contains(&str_name) { - if let ModuleExportName::Ident(i) = &s.orig { - local_idents.push(i.sym.clone()); - } + // If the exported name needs to be kept, track the local ident. + if self.names.contains(&str_name) { + if let ModuleExportName::Ident(i) = &s.orig { + local_idents.push(i.sym.clone()); } } } @@ -194,8 +192,7 @@ impl Fold for OptimizeBarrel { } } ImportSpecifier::Namespace(s) => { - let name_str = &s.local.sym.to_string(); - if self.names.contains(&name_str) { + if local_idents.contains(&s.local.sym) { new_items.push(ModuleItem::ModuleDecl( ModuleDecl::Import(ImportDecl { span: DUMMY_SP, diff --git a/packages/next-swc/crates/core/tests/fixture/named-import-transform/1/output.js b/packages/next-swc/crates/core/tests/fixture/named-import-transform/1/output.js index f0d084c179e0..53fc2884247c 100644 --- a/packages/next-swc/crates/core/tests/fixture/named-import-transform/1/output.js +++ b/packages/next-swc/crates/core/tests/fixture/named-import-transform/1/output.js @@ -1,3 +1,3 @@ -import { A, B, C as F } from "barrel-optimize-loader?names=A,B,C!foo"; +import { A, B, C as F } from "__barrel_optimize__?names=A,B,C!=!foo?__barrel_optimize_noop__=A,B,C"; import D from 'bar'; import E from 'baz'; diff --git a/packages/next-swc/crates/core/tests/fixture/named-import-transform/2/output.js b/packages/next-swc/crates/core/tests/fixture/named-import-transform/2/output.js index f2874acce504..b4d1a9b11dec 100644 --- a/packages/next-swc/crates/core/tests/fixture/named-import-transform/2/output.js +++ b/packages/next-swc/crates/core/tests/fixture/named-import-transform/2/output.js @@ -1,3 +1,3 @@ -import { A, B, C as F } from "barrel-optimize-loader?names=A,B,C!foo"; -import { D } from "barrel-optimize-loader?names=D!bar"; +import { A, B, C as F } from "__barrel_optimize__?names=A,B,C!=!foo?__barrel_optimize_noop__=A,B,C"; +import { D } from "__barrel_optimize__?names=D!=!bar?__barrel_optimize_noop__=D"; import E from 'baz'; diff --git a/packages/next-swc/crates/core/tests/fixture/optimize-barrel/5/input.js b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/5/input.js new file mode 100644 index 000000000000..605b446a453c --- /dev/null +++ b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/5/input.js @@ -0,0 +1,2 @@ +import * as index from './icons/index.js' +export { index as x } diff --git a/packages/next-swc/crates/core/tests/fixture/optimize-barrel/5/output.js b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/5/output.js new file mode 100644 index 000000000000..605b446a453c --- /dev/null +++ b/packages/next-swc/crates/core/tests/fixture/optimize-barrel/5/output.js @@ -0,0 +1,2 @@ +import * as index from './icons/index.js' +export { index as x } diff --git a/packages/next/src/build/swc/options.ts b/packages/next/src/build/swc/options.ts index 46f6ff263380..6af12afce99e 100644 --- a/packages/next/src/build/swc/options.ts +++ b/packages/next/src/build/swc/options.ts @@ -301,6 +301,7 @@ export function getLoaderSWCOptions({ isPageFile, hasReactRefresh, modularizeImports, + optimizePackageImports, swcPlugins, compilerOptions, jsConfig, @@ -322,6 +323,9 @@ export function getLoaderSWCOptions({ isPageFile: boolean hasReactRefresh: boolean modularizeImports: NextConfig['modularizeImports'] + optimizePackageImports?: NonNullable< + NextConfig['experimental'] + >['optimizePackageImports'] swcPlugins: ExperimentalConfig['swcPlugins'] compilerOptions: NextConfig['compiler'] jsConfig: any @@ -372,13 +376,13 @@ export function getLoaderSWCOptions({ }, }, } - baseOptions.autoModularizeImports = { - packages: [ - 'lucide-react', - // TODO: Add a list of packages that should be optimized by default - ], - } + // Modularize import optimization for barrel files + if (optimizePackageImports) { + baseOptions.autoModularizeImports = { + packages: optimizePackageImports, + } + } if (optimizeBarrelExports) { baseOptions.optimizeBarrelExports = { names: optimizeBarrelExports, diff --git a/packages/next/src/build/webpack-config.ts b/packages/next/src/build/webpack-config.ts index 82f36785b64e..2ca96b4d71d9 100644 --- a/packages/next/src/build/webpack-config.ts +++ b/packages/next/src/build/webpack-config.ts @@ -532,6 +532,27 @@ function getOptimizedAliases(): { [pkg: string]: string } { ) } +// Alias these modules to be resolved with "module" if possible. +function getModularizeImportAliases(packages: string[]) { + const aliases: { [pkg: string]: string } = {} + const mainFields = ['module', 'main'] + + for (const pkg of packages) { + try { + const descriptionFileData = require(`${pkg}/package.json`) + + for (const field of mainFields) { + if (descriptionFileData.hasOwnProperty(field)) { + aliases[pkg] = `${pkg}/${descriptionFileData[field]}` + break + } + } + } catch {} + } + + return aliases +} + export function attachReactRefresh( webpackConfig: webpack.Configuration, targetLoader: webpack.RuleSetUseItem @@ -1165,6 +1186,14 @@ export default async function getBaseWebpackConfig( ...(isClient || isEdgeServer ? getOptimizedAliases() : {}), ...(reactProductionProfiling ? getReactProfilingInProduction() : {}), + // For Node server, we need to re-alias the package imports to prefer to + // resolve to the module export. + ...(isNodeServer + ? getModularizeImportAliases( + config.experimental.optimizePackageImports || [] + ) + : {}), + [RSC_ACTION_VALIDATE_ALIAS]: 'next/dist/build/webpack/loaders/next-flight-loader/action-validate', @@ -1397,6 +1426,12 @@ export default async function getBaseWebpackConfig( return } + // __barrel_optimize__ is a special marker that tells Next.js to + // optimize the import by removing unused exports. This has to be compiled. + if (request.startsWith('__barrel_optimize__')) { + return + } + // When in esm externals mode, and using import, we resolve with // ESM resolving options. // Also disable esm request when appDir is enabled @@ -1950,6 +1985,25 @@ export default async function getBaseWebpackConfig( }, module: { rules: [ + { + test: /__barrel_optimize__/, + use: ({ + resourceQuery, + issuerLayer, + }: { + resourceQuery: string + issuerLayer: string + }) => { + const names = resourceQuery.slice('?names='.length).split(',') + return [ + getSwcLoader({ + isServerLayer: + issuerLayer === WEBPACK_LAYERS.reactServerComponents, + optimizeBarrelExports: names, + }), + ] + }, + }, ...(hasAppDir ? [ { @@ -2005,9 +2059,7 @@ export default async function getBaseWebpackConfig( ...(hasAppDir && !isClient ? [ { - issuerLayer: { - or: [isWebpackServerLayer], - }, + issuerLayer: isWebpackServerLayer, test: { // Resolve it if it is a source code file, and it has NOT been // opted out of bundling. @@ -2123,25 +2175,6 @@ export default async function getBaseWebpackConfig( }, ] : []), - { - test: /__barrel_optimize__/, - use: ({ - resourceQuery, - issuerLayer, - }: { - resourceQuery: string - issuerLayer: string - }) => { - const names = resourceQuery.slice('?names='.length).split(',') - return [ - getSwcLoader({ - isServerLayer: - issuerLayer === WEBPACK_LAYERS.reactServerComponents, - optimizeBarrelExports: names, - }), - ] - }, - }, { oneOf: [ { diff --git a/packages/next/src/build/webpack/loaders/next-swc-loader.ts b/packages/next/src/build/webpack/loaders/next-swc-loader.ts index 4fd305991df1..9d26ab993f28 100644 --- a/packages/next/src/build/webpack/loaders/next-swc-loader.ts +++ b/packages/next/src/build/webpack/loaders/next-swc-loader.ts @@ -67,6 +67,7 @@ async function loaderTransform( development: this.mode === 'development', hasReactRefresh, modularizeImports: nextConfig?.modularizeImports, + optimizePackageImports: nextConfig?.experimental?.optimizePackageImports, swcPlugins: nextConfig?.experimental?.swcPlugins, compilerOptions: nextConfig?.compiler, jsConfig, diff --git a/packages/next/src/compiled/webpack/bundle5.js b/packages/next/src/compiled/webpack/bundle5.js index 3dd946ff80c9..3912e0870de4 100644 --- a/packages/next/src/compiled/webpack/bundle5.js +++ b/packages/next/src/compiled/webpack/bundle5.js @@ -1,17 +1,17341 @@ -(function(){var k={75583:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.cloneNode=cloneNode;function cloneNode(k){return Object.assign({},k)}},26333:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});var P={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(v,"numberLiteralFromRaw",{enumerable:true,get:function get(){return L.numberLiteralFromRaw}});Object.defineProperty(v,"withLoc",{enumerable:true,get:function get(){return L.withLoc}});Object.defineProperty(v,"withRaw",{enumerable:true,get:function get(){return L.withRaw}});Object.defineProperty(v,"funcParam",{enumerable:true,get:function get(){return L.funcParam}});Object.defineProperty(v,"indexLiteral",{enumerable:true,get:function get(){return L.indexLiteral}});Object.defineProperty(v,"memIndexLiteral",{enumerable:true,get:function get(){return L.memIndexLiteral}});Object.defineProperty(v,"instruction",{enumerable:true,get:function get(){return L.instruction}});Object.defineProperty(v,"objectInstruction",{enumerable:true,get:function get(){return L.objectInstruction}});Object.defineProperty(v,"traverse",{enumerable:true,get:function get(){return N.traverse}});Object.defineProperty(v,"signatures",{enumerable:true,get:function get(){return q.signatures}});Object.defineProperty(v,"cloneNode",{enumerable:true,get:function get(){return le.cloneNode}});Object.defineProperty(v,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return pe.moduleContextFromModuleAST}});var R=E(860);Object.keys(R).forEach((function(k){if(k==="default"||k==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P,k))return;if(k in v&&v[k]===R[k])return;Object.defineProperty(v,k,{enumerable:true,get:function get(){return R[k]}})}));var L=E(68958);var N=E(11885);var q=E(96395);var ae=E(20885);Object.keys(ae).forEach((function(k){if(k==="default"||k==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P,k))return;if(k in v&&v[k]===ae[k])return;Object.defineProperty(v,k,{enumerable:true,get:function get(){return ae[k]}})}));var le=E(75583);var pe=E(15067)},68958:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.numberLiteralFromRaw=numberLiteralFromRaw;v.instruction=instruction;v.objectInstruction=objectInstruction;v.withLoc=withLoc;v.withRaw=withRaw;v.funcParam=funcParam;v.indexLiteral=indexLiteral;v.memIndexLiteral=memIndexLiteral;var P=E(37197);var R=E(860);function numberLiteralFromRaw(k){var v=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var E=k;if(typeof k==="string"){k=k.replace(/_/g,"")}if(typeof k==="number"){return(0,R.numberLiteral)(k,String(E))}else{switch(v){case"i32":{return(0,R.numberLiteral)((0,P.parse32I)(k),String(E))}case"u32":{return(0,R.numberLiteral)((0,P.parseU32)(k),String(E))}case"i64":{return(0,R.longNumberLiteral)((0,P.parse64I)(k),String(E))}case"f32":{return(0,R.floatLiteral)((0,P.parse32F)(k),(0,P.isNanLiteral)(k),(0,P.isInfLiteral)(k),String(E))}default:{return(0,R.floatLiteral)((0,P.parse64F)(k),(0,P.isNanLiteral)(k),(0,P.isInfLiteral)(k),String(E))}}}}function instruction(k){var v=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var E=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,R.instr)(k,undefined,v,E)}function objectInstruction(k,v){var E=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var P=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,R.instr)(k,v,E,P)}function withLoc(k,v,E){var P={start:E,end:v};k.loc=P;return k}function withRaw(k,v){k.raw=v;return k}function funcParam(k,v){return{id:v,valtype:k}}function indexLiteral(k){var v=numberLiteralFromRaw(k,"u32");return v}function memIndexLiteral(k){var v=numberLiteralFromRaw(k,"u32");return v}},92489:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.createPath=createPath;function ownKeys(k,v){var E=Object.keys(k);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(k);if(v){P=P.filter((function(v){return Object.getOwnPropertyDescriptor(k,v).enumerable}))}E.push.apply(E,P)}return E}function _objectSpread(k){for(var v=1;v2&&arguments[2]!==undefined?arguments[2]:0;if(!P){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!(R!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var q=R.node[L];var ae=q.findIndex((function(k){return k===E}));q.splice(ae+N,0,v)}function remove(k){var v=k.node,E=k.parentKey,P=k.parentPath;if(!(P!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var R=P.node;var L=R[E];if(Array.isArray(L)){R[E]=L.filter((function(k){return k!==v}))}else{delete R[E]}v._deleted=true}function stop(k){k.shouldStop=true}function replaceWith(k,v){var E=k.parentPath.node;var P=E[k.parentKey];if(Array.isArray(P)){var R=P.findIndex((function(v){return v===k.node}));P.splice(R,1,v)}else{E[k.parentKey]=v}k.node._deleted=true;k.node=v}function bindNodeOperations(k,v){var E=Object.keys(k);var P={};E.forEach((function(E){P[E]=k[E].bind(null,v)}));return P}function createPathOperations(k){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},k)}function createPath(k){var v=_objectSpread({},k);Object.assign(v,createPathOperations(v));return v}},860:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.module=_module;v.moduleMetadata=moduleMetadata;v.moduleNameMetadata=moduleNameMetadata;v.functionNameMetadata=functionNameMetadata;v.localNameMetadata=localNameMetadata;v.binaryModule=binaryModule;v.quoteModule=quoteModule;v.sectionMetadata=sectionMetadata;v.producersSectionMetadata=producersSectionMetadata;v.producerMetadata=producerMetadata;v.producerMetadataVersionedName=producerMetadataVersionedName;v.loopInstruction=loopInstruction;v.instr=instr;v.ifInstruction=ifInstruction;v.stringLiteral=stringLiteral;v.numberLiteral=numberLiteral;v.longNumberLiteral=longNumberLiteral;v.floatLiteral=floatLiteral;v.elem=elem;v.indexInFuncSection=indexInFuncSection;v.valtypeLiteral=valtypeLiteral;v.typeInstruction=typeInstruction;v.start=start;v.globalType=globalType;v.leadingComment=leadingComment;v.blockComment=blockComment;v.data=data;v.global=global;v.table=table;v.memory=memory;v.funcImportDescr=funcImportDescr;v.moduleImport=moduleImport;v.moduleExportDescr=moduleExportDescr;v.moduleExport=moduleExport;v.limit=limit;v.signature=signature;v.program=program;v.identifier=identifier;v.blockInstruction=blockInstruction;v.callInstruction=callInstruction;v.callIndirectInstruction=callIndirectInstruction;v.byteArray=byteArray;v.func=func;v.internalBrUnless=internalBrUnless;v.internalGoto=internalGoto;v.internalCallExtern=internalCallExtern;v.internalEndAndReturn=internalEndAndReturn;v.assertInternalCallExtern=v.assertInternalGoto=v.assertInternalBrUnless=v.assertFunc=v.assertByteArray=v.assertCallIndirectInstruction=v.assertCallInstruction=v.assertBlockInstruction=v.assertIdentifier=v.assertProgram=v.assertSignature=v.assertLimit=v.assertModuleExport=v.assertModuleExportDescr=v.assertModuleImport=v.assertFuncImportDescr=v.assertMemory=v.assertTable=v.assertGlobal=v.assertData=v.assertBlockComment=v.assertLeadingComment=v.assertGlobalType=v.assertStart=v.assertTypeInstruction=v.assertValtypeLiteral=v.assertIndexInFuncSection=v.assertElem=v.assertFloatLiteral=v.assertLongNumberLiteral=v.assertNumberLiteral=v.assertStringLiteral=v.assertIfInstruction=v.assertInstr=v.assertLoopInstruction=v.assertProducerMetadataVersionedName=v.assertProducerMetadata=v.assertProducersSectionMetadata=v.assertSectionMetadata=v.assertQuoteModule=v.assertBinaryModule=v.assertLocalNameMetadata=v.assertFunctionNameMetadata=v.assertModuleNameMetadata=v.assertModuleMetadata=v.assertModule=v.isIntrinsic=v.isImportDescr=v.isNumericLiteral=v.isExpression=v.isInstruction=v.isBlock=v.isNode=v.isInternalEndAndReturn=v.isInternalCallExtern=v.isInternalGoto=v.isInternalBrUnless=v.isFunc=v.isByteArray=v.isCallIndirectInstruction=v.isCallInstruction=v.isBlockInstruction=v.isIdentifier=v.isProgram=v.isSignature=v.isLimit=v.isModuleExport=v.isModuleExportDescr=v.isModuleImport=v.isFuncImportDescr=v.isMemory=v.isTable=v.isGlobal=v.isData=v.isBlockComment=v.isLeadingComment=v.isGlobalType=v.isStart=v.isTypeInstruction=v.isValtypeLiteral=v.isIndexInFuncSection=v.isElem=v.isFloatLiteral=v.isLongNumberLiteral=v.isNumberLiteral=v.isStringLiteral=v.isIfInstruction=v.isInstr=v.isLoopInstruction=v.isProducerMetadataVersionedName=v.isProducerMetadata=v.isProducersSectionMetadata=v.isSectionMetadata=v.isQuoteModule=v.isBinaryModule=v.isLocalNameMetadata=v.isFunctionNameMetadata=v.isModuleNameMetadata=v.isModuleMetadata=v.isModule=void 0;v.nodeAndUnionTypes=v.unionTypesMap=v.assertInternalEndAndReturn=void 0;function _typeof(k){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(k){return typeof k}}else{_typeof=function _typeof(k){return k&&typeof Symbol==="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k}}return _typeof(k)}function isTypeOf(k){return function(v){return v.type===k}}function assertTypeOf(k){return function(v){return function(){if(!(v.type===k)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(k,v,E){if(k!==null&&k!==undefined){if(!(typeof k==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(k)||0))}}if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"Module",id:k,fields:v};if(typeof E!=="undefined"){P.metadata=E}return P}function moduleMetadata(k,v,E,P){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(v!==null&&v!==undefined){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(P!==null&&P!==undefined){if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var R={type:"ModuleMetadata",sections:k};if(typeof v!=="undefined"&&v.length>0){R.functionNames=v}if(typeof E!=="undefined"&&E.length>0){R.localNames=E}if(typeof P!=="undefined"&&P.length>0){R.producers=P}return R}function moduleNameMetadata(k){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}var v={type:"ModuleNameMetadata",value:k};return v}function functionNameMetadata(k,v){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}if(!(typeof v==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(v)||0))}var E={type:"FunctionNameMetadata",value:k,index:v};return E}function localNameMetadata(k,v,E){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}if(!(typeof v==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(v)||0))}if(!(typeof E==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(E)||0))}var P={type:"LocalNameMetadata",value:k,localIndex:v,functionIndex:E};return P}function binaryModule(k,v){if(k!==null&&k!==undefined){if(!(typeof k==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(k)||0))}}if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"BinaryModule",id:k,blob:v};return E}function quoteModule(k,v){if(k!==null&&k!==undefined){if(!(typeof k==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(k)||0))}}if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"QuoteModule",id:k,string:v};return E}function sectionMetadata(k,v,E,P){if(!(typeof v==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(v)||0))}var R={type:"SectionMetadata",section:k,startOffset:v,size:E,vectorOfSize:P};return R}function producersSectionMetadata(k){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var v={type:"ProducersSectionMetadata",producers:k};return v}function producerMetadata(k,v,E){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"ProducerMetadata",language:k,processedBy:v,sdk:E};return P}function producerMetadataVersionedName(k,v){if(!(typeof k==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(k)||0))}if(!(typeof v==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(v)||0))}var E={type:"ProducerMetadataVersionedName",name:k,version:v};return E}function loopInstruction(k,v,E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"LoopInstruction",id:"loop",label:k,resulttype:v,instr:E};return P}function instr(k,v,E,P){if(!(typeof k==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(k)||0))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Instr",id:k,args:E};if(typeof v!=="undefined"){R.object=v}if(typeof P!=="undefined"&&Object.keys(P).length!==0){R.namedArgs=P}return R}function ifInstruction(k,v,E,P,R){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var L={type:"IfInstruction",id:"if",testLabel:k,test:v,result:E,consequent:P,alternate:R};return L}function stringLiteral(k){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}var v={type:"StringLiteral",value:k};return v}function numberLiteral(k,v){if(!(typeof k==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(k)||0))}if(!(typeof v==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(v)||0))}var E={type:"NumberLiteral",value:k,raw:v};return E}function longNumberLiteral(k,v){if(!(typeof v==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(v)||0))}var E={type:"LongNumberLiteral",value:k,raw:v};return E}function floatLiteral(k,v,E,P){if(!(typeof k==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(k)||0))}if(v!==null&&v!==undefined){if(!(typeof v==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(v)||0))}}if(E!==null&&E!==undefined){if(!(typeof E==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(E)||0))}}if(!(typeof P==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(P)||0))}var R={type:"FloatLiteral",value:k,raw:P};if(v===true){R.nan=true}if(E===true){R.inf=true}return R}function elem(k,v,E){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"Elem",table:k,offset:v,funcs:E};return P}function indexInFuncSection(k){var v={type:"IndexInFuncSection",index:k};return v}function valtypeLiteral(k){var v={type:"ValtypeLiteral",name:k};return v}function typeInstruction(k,v){var E={type:"TypeInstruction",id:k,functype:v};return E}function start(k){var v={type:"Start",index:k};return v}function globalType(k,v){var E={type:"GlobalType",valtype:k,mutability:v};return E}function leadingComment(k){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}var v={type:"LeadingComment",value:k};return v}function blockComment(k){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}var v={type:"BlockComment",value:k};return v}function data(k,v,E){var P={type:"Data",memoryIndex:k,offset:v,init:E};return P}function global(k,v,E){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"Global",globalType:k,init:v,name:E};return P}function table(k,v,E,P){if(!(v.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+v.type||0))}if(P!==null&&P!==undefined){if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var R={type:"Table",elementType:k,limits:v,name:E};if(typeof P!=="undefined"&&P.length>0){R.elements=P}return R}function memory(k,v){var E={type:"Memory",limits:k,id:v};return E}function funcImportDescr(k,v){var E={type:"FuncImportDescr",id:k,signature:v};return E}function moduleImport(k,v,E){if(!(typeof k==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(k)||0))}if(!(typeof v==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(v)||0))}var P={type:"ModuleImport",module:k,name:v,descr:E};return P}function moduleExportDescr(k,v){var E={type:"ModuleExportDescr",exportType:k,id:v};return E}function moduleExport(k,v){if(!(typeof k==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(k)||0))}var E={type:"ModuleExport",name:k,descr:v};return E}function limit(k,v,E){if(!(typeof k==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(k)||0))}if(v!==null&&v!==undefined){if(!(typeof v==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(v)||0))}}if(E!==null&&E!==undefined){if(!(typeof E==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(E)||0))}}var P={type:"Limit",min:k};if(typeof v!=="undefined"){P.max=v}if(E===true){P.shared=true}return P}function signature(k,v){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"Signature",params:k,results:v};return E}function program(k){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var v={type:"Program",body:k};return v}function identifier(k,v){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}if(v!==null&&v!==undefined){if(!(typeof v==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(v)||0))}}var E={type:"Identifier",value:k};if(typeof v!=="undefined"){E.raw=v}return E}function blockInstruction(k,v,E){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"BlockInstruction",id:"block",label:k,instr:v,result:E};return P}function callInstruction(k,v,E){if(v!==null&&v!==undefined){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var P={type:"CallInstruction",id:"call",index:k};if(typeof v!=="undefined"&&v.length>0){P.instrArgs=v}if(typeof E!=="undefined"){P.numeric=E}return P}function callIndirectInstruction(k,v){if(v!==null&&v!==undefined){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var E={type:"CallIndirectInstruction",id:"call_indirect",signature:k};if(typeof v!=="undefined"&&v.length>0){E.intrs=v}return E}function byteArray(k){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var v={type:"ByteArray",values:k};return v}function func(k,v,E,P,R){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(P!==null&&P!==undefined){if(!(typeof P==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof(P)||0))}}var L={type:"Func",name:k,signature:v,body:E};if(P===true){L.isExternal=true}if(typeof R!=="undefined"){L.metadata=R}return L}function internalBrUnless(k){if(!(typeof k==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(k)||0))}var v={type:"InternalBrUnless",target:k};return v}function internalGoto(k){if(!(typeof k==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(k)||0))}var v={type:"InternalGoto",target:k};return v}function internalCallExtern(k){if(!(typeof k==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(k)||0))}var v={type:"InternalCallExtern",target:k};return v}function internalEndAndReturn(){var k={type:"InternalEndAndReturn"};return k}var E=isTypeOf("Module");v.isModule=E;var P=isTypeOf("ModuleMetadata");v.isModuleMetadata=P;var R=isTypeOf("ModuleNameMetadata");v.isModuleNameMetadata=R;var L=isTypeOf("FunctionNameMetadata");v.isFunctionNameMetadata=L;var N=isTypeOf("LocalNameMetadata");v.isLocalNameMetadata=N;var q=isTypeOf("BinaryModule");v.isBinaryModule=q;var ae=isTypeOf("QuoteModule");v.isQuoteModule=ae;var le=isTypeOf("SectionMetadata");v.isSectionMetadata=le;var pe=isTypeOf("ProducersSectionMetadata");v.isProducersSectionMetadata=pe;var me=isTypeOf("ProducerMetadata");v.isProducerMetadata=me;var ye=isTypeOf("ProducerMetadataVersionedName");v.isProducerMetadataVersionedName=ye;var _e=isTypeOf("LoopInstruction");v.isLoopInstruction=_e;var Ie=isTypeOf("Instr");v.isInstr=Ie;var Me=isTypeOf("IfInstruction");v.isIfInstruction=Me;var Te=isTypeOf("StringLiteral");v.isStringLiteral=Te;var je=isTypeOf("NumberLiteral");v.isNumberLiteral=je;var Ne=isTypeOf("LongNumberLiteral");v.isLongNumberLiteral=Ne;var Be=isTypeOf("FloatLiteral");v.isFloatLiteral=Be;var qe=isTypeOf("Elem");v.isElem=qe;var Ue=isTypeOf("IndexInFuncSection");v.isIndexInFuncSection=Ue;var Ge=isTypeOf("ValtypeLiteral");v.isValtypeLiteral=Ge;var He=isTypeOf("TypeInstruction");v.isTypeInstruction=He;var We=isTypeOf("Start");v.isStart=We;var Qe=isTypeOf("GlobalType");v.isGlobalType=Qe;var Je=isTypeOf("LeadingComment");v.isLeadingComment=Je;var Ve=isTypeOf("BlockComment");v.isBlockComment=Ve;var Ke=isTypeOf("Data");v.isData=Ke;var Ye=isTypeOf("Global");v.isGlobal=Ye;var Xe=isTypeOf("Table");v.isTable=Xe;var Ze=isTypeOf("Memory");v.isMemory=Ze;var et=isTypeOf("FuncImportDescr");v.isFuncImportDescr=et;var tt=isTypeOf("ModuleImport");v.isModuleImport=tt;var nt=isTypeOf("ModuleExportDescr");v.isModuleExportDescr=nt;var st=isTypeOf("ModuleExport");v.isModuleExport=st;var rt=isTypeOf("Limit");v.isLimit=rt;var ot=isTypeOf("Signature");v.isSignature=ot;var it=isTypeOf("Program");v.isProgram=it;var at=isTypeOf("Identifier");v.isIdentifier=at;var ct=isTypeOf("BlockInstruction");v.isBlockInstruction=ct;var lt=isTypeOf("CallInstruction");v.isCallInstruction=lt;var ut=isTypeOf("CallIndirectInstruction");v.isCallIndirectInstruction=ut;var pt=isTypeOf("ByteArray");v.isByteArray=pt;var dt=isTypeOf("Func");v.isFunc=dt;var ft=isTypeOf("InternalBrUnless");v.isInternalBrUnless=ft;var ht=isTypeOf("InternalGoto");v.isInternalGoto=ht;var mt=isTypeOf("InternalCallExtern");v.isInternalCallExtern=mt;var gt=isTypeOf("InternalEndAndReturn");v.isInternalEndAndReturn=gt;var yt=function isNode(k){return E(k)||P(k)||R(k)||L(k)||N(k)||q(k)||ae(k)||le(k)||pe(k)||me(k)||ye(k)||_e(k)||Ie(k)||Me(k)||Te(k)||je(k)||Ne(k)||Be(k)||qe(k)||Ue(k)||Ge(k)||He(k)||We(k)||Qe(k)||Je(k)||Ve(k)||Ke(k)||Ye(k)||Xe(k)||Ze(k)||et(k)||tt(k)||nt(k)||st(k)||rt(k)||ot(k)||it(k)||at(k)||ct(k)||lt(k)||ut(k)||pt(k)||dt(k)||ft(k)||ht(k)||mt(k)||gt(k)};v.isNode=yt;var bt=function isBlock(k){return _e(k)||ct(k)||dt(k)};v.isBlock=bt;var xt=function isInstruction(k){return _e(k)||Ie(k)||Me(k)||He(k)||ct(k)||lt(k)||ut(k)};v.isInstruction=xt;var kt=function isExpression(k){return Ie(k)||Te(k)||je(k)||Ne(k)||Be(k)||Ge(k)||at(k)};v.isExpression=kt;var vt=function isNumericLiteral(k){return je(k)||Ne(k)||Be(k)};v.isNumericLiteral=vt;var wt=function isImportDescr(k){return Qe(k)||Xe(k)||Ze(k)||et(k)};v.isImportDescr=wt;var At=function isIntrinsic(k){return ft(k)||ht(k)||mt(k)||gt(k)};v.isIntrinsic=At;var Et=assertTypeOf("Module");v.assertModule=Et;var Ct=assertTypeOf("ModuleMetadata");v.assertModuleMetadata=Ct;var St=assertTypeOf("ModuleNameMetadata");v.assertModuleNameMetadata=St;var _t=assertTypeOf("FunctionNameMetadata");v.assertFunctionNameMetadata=_t;var It=assertTypeOf("LocalNameMetadata");v.assertLocalNameMetadata=It;var Mt=assertTypeOf("BinaryModule");v.assertBinaryModule=Mt;var Pt=assertTypeOf("QuoteModule");v.assertQuoteModule=Pt;var Ot=assertTypeOf("SectionMetadata");v.assertSectionMetadata=Ot;var Dt=assertTypeOf("ProducersSectionMetadata");v.assertProducersSectionMetadata=Dt;var Rt=assertTypeOf("ProducerMetadata");v.assertProducerMetadata=Rt;var Tt=assertTypeOf("ProducerMetadataVersionedName");v.assertProducerMetadataVersionedName=Tt;var $t=assertTypeOf("LoopInstruction");v.assertLoopInstruction=$t;var Ft=assertTypeOf("Instr");v.assertInstr=Ft;var jt=assertTypeOf("IfInstruction");v.assertIfInstruction=jt;var Lt=assertTypeOf("StringLiteral");v.assertStringLiteral=Lt;var Nt=assertTypeOf("NumberLiteral");v.assertNumberLiteral=Nt;var Bt=assertTypeOf("LongNumberLiteral");v.assertLongNumberLiteral=Bt;var qt=assertTypeOf("FloatLiteral");v.assertFloatLiteral=qt;var zt=assertTypeOf("Elem");v.assertElem=zt;var Ut=assertTypeOf("IndexInFuncSection");v.assertIndexInFuncSection=Ut;var Gt=assertTypeOf("ValtypeLiteral");v.assertValtypeLiteral=Gt;var Ht=assertTypeOf("TypeInstruction");v.assertTypeInstruction=Ht;var Wt=assertTypeOf("Start");v.assertStart=Wt;var Qt=assertTypeOf("GlobalType");v.assertGlobalType=Qt;var Jt=assertTypeOf("LeadingComment");v.assertLeadingComment=Jt;var Vt=assertTypeOf("BlockComment");v.assertBlockComment=Vt;var Kt=assertTypeOf("Data");v.assertData=Kt;var Yt=assertTypeOf("Global");v.assertGlobal=Yt;var Xt=assertTypeOf("Table");v.assertTable=Xt;var Zt=assertTypeOf("Memory");v.assertMemory=Zt;var en=assertTypeOf("FuncImportDescr");v.assertFuncImportDescr=en;var tn=assertTypeOf("ModuleImport");v.assertModuleImport=tn;var nn=assertTypeOf("ModuleExportDescr");v.assertModuleExportDescr=nn;var sn=assertTypeOf("ModuleExport");v.assertModuleExport=sn;var rn=assertTypeOf("Limit");v.assertLimit=rn;var on=assertTypeOf("Signature");v.assertSignature=on;var an=assertTypeOf("Program");v.assertProgram=an;var cn=assertTypeOf("Identifier");v.assertIdentifier=cn;var ln=assertTypeOf("BlockInstruction");v.assertBlockInstruction=ln;var un=assertTypeOf("CallInstruction");v.assertCallInstruction=un;var pn=assertTypeOf("CallIndirectInstruction");v.assertCallIndirectInstruction=pn;var dn=assertTypeOf("ByteArray");v.assertByteArray=dn;var hn=assertTypeOf("Func");v.assertFunc=hn;var mn=assertTypeOf("InternalBrUnless");v.assertInternalBrUnless=mn;var gn=assertTypeOf("InternalGoto");v.assertInternalGoto=gn;var yn=assertTypeOf("InternalCallExtern");v.assertInternalCallExtern=yn;var bn=assertTypeOf("InternalEndAndReturn");v.assertInternalEndAndReturn=bn;var xn={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"]};v.unionTypesMap=xn;var kn=["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"];v.nodeAndUnionTypes=kn},96395:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.signatures=void 0;function sign(k,v){return[k,v]}var E="u32";var P="i32";var R="i64";var L="f32";var N="f64";var q=function vector(k){var v=[k];v.vector=true;return v};var ae={unreachable:sign([],[]),nop:sign([],[]),br:sign([E],[]),br_if:sign([E],[]),br_table:sign(q(E),[]),return:sign([],[]),call:sign([E],[]),call_indirect:sign([E],[])};var le={drop:sign([],[]),select:sign([],[])};var pe={get_local:sign([E],[]),set_local:sign([E],[]),tee_local:sign([E],[]),get_global:sign([E],[]),set_global:sign([E],[])};var me={"i32.load":sign([E,E],[P]),"i64.load":sign([E,E],[]),"f32.load":sign([E,E],[]),"f64.load":sign([E,E],[]),"i32.load8_s":sign([E,E],[P]),"i32.load8_u":sign([E,E],[P]),"i32.load16_s":sign([E,E],[P]),"i32.load16_u":sign([E,E],[P]),"i64.load8_s":sign([E,E],[R]),"i64.load8_u":sign([E,E],[R]),"i64.load16_s":sign([E,E],[R]),"i64.load16_u":sign([E,E],[R]),"i64.load32_s":sign([E,E],[R]),"i64.load32_u":sign([E,E],[R]),"i32.store":sign([E,E],[]),"i64.store":sign([E,E],[]),"f32.store":sign([E,E],[]),"f64.store":sign([E,E],[]),"i32.store8":sign([E,E],[]),"i32.store16":sign([E,E],[]),"i64.store8":sign([E,E],[]),"i64.store16":sign([E,E],[]),"i64.store32":sign([E,E],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var ye={"i32.const":sign([P],[P]),"i64.const":sign([R],[R]),"f32.const":sign([L],[L]),"f64.const":sign([N],[N]),"i32.eqz":sign([P],[P]),"i32.eq":sign([P,P],[P]),"i32.ne":sign([P,P],[P]),"i32.lt_s":sign([P,P],[P]),"i32.lt_u":sign([P,P],[P]),"i32.gt_s":sign([P,P],[P]),"i32.gt_u":sign([P,P],[P]),"i32.le_s":sign([P,P],[P]),"i32.le_u":sign([P,P],[P]),"i32.ge_s":sign([P,P],[P]),"i32.ge_u":sign([P,P],[P]),"i64.eqz":sign([R],[R]),"i64.eq":sign([R,R],[P]),"i64.ne":sign([R,R],[P]),"i64.lt_s":sign([R,R],[P]),"i64.lt_u":sign([R,R],[P]),"i64.gt_s":sign([R,R],[P]),"i64.gt_u":sign([R,R],[P]),"i64.le_s":sign([R,R],[P]),"i64.le_u":sign([R,R],[P]),"i64.ge_s":sign([R,R],[P]),"i64.ge_u":sign([R,R],[P]),"f32.eq":sign([L,L],[P]),"f32.ne":sign([L,L],[P]),"f32.lt":sign([L,L],[P]),"f32.gt":sign([L,L],[P]),"f32.le":sign([L,L],[P]),"f32.ge":sign([L,L],[P]),"f64.eq":sign([N,N],[P]),"f64.ne":sign([N,N],[P]),"f64.lt":sign([N,N],[P]),"f64.gt":sign([N,N],[P]),"f64.le":sign([N,N],[P]),"f64.ge":sign([N,N],[P]),"i32.clz":sign([P],[P]),"i32.ctz":sign([P],[P]),"i32.popcnt":sign([P],[P]),"i32.add":sign([P,P],[P]),"i32.sub":sign([P,P],[P]),"i32.mul":sign([P,P],[P]),"i32.div_s":sign([P,P],[P]),"i32.div_u":sign([P,P],[P]),"i32.rem_s":sign([P,P],[P]),"i32.rem_u":sign([P,P],[P]),"i32.and":sign([P,P],[P]),"i32.or":sign([P,P],[P]),"i32.xor":sign([P,P],[P]),"i32.shl":sign([P,P],[P]),"i32.shr_s":sign([P,P],[P]),"i32.shr_u":sign([P,P],[P]),"i32.rotl":sign([P,P],[P]),"i32.rotr":sign([P,P],[P]),"i64.clz":sign([R],[R]),"i64.ctz":sign([R],[R]),"i64.popcnt":sign([R],[R]),"i64.add":sign([R,R],[R]),"i64.sub":sign([R,R],[R]),"i64.mul":sign([R,R],[R]),"i64.div_s":sign([R,R],[R]),"i64.div_u":sign([R,R],[R]),"i64.rem_s":sign([R,R],[R]),"i64.rem_u":sign([R,R],[R]),"i64.and":sign([R,R],[R]),"i64.or":sign([R,R],[R]),"i64.xor":sign([R,R],[R]),"i64.shl":sign([R,R],[R]),"i64.shr_s":sign([R,R],[R]),"i64.shr_u":sign([R,R],[R]),"i64.rotl":sign([R,R],[R]),"i64.rotr":sign([R,R],[R]),"f32.abs":sign([L],[L]),"f32.neg":sign([L],[L]),"f32.ceil":sign([L],[L]),"f32.floor":sign([L],[L]),"f32.trunc":sign([L],[L]),"f32.nearest":sign([L],[L]),"f32.sqrt":sign([L],[L]),"f32.add":sign([L,L],[L]),"f32.sub":sign([L,L],[L]),"f32.mul":sign([L,L],[L]),"f32.div":sign([L,L],[L]),"f32.min":sign([L,L],[L]),"f32.max":sign([L,L],[L]),"f32.copysign":sign([L,L],[L]),"f64.abs":sign([N],[N]),"f64.neg":sign([N],[N]),"f64.ceil":sign([N],[N]),"f64.floor":sign([N],[N]),"f64.trunc":sign([N],[N]),"f64.nearest":sign([N],[N]),"f64.sqrt":sign([N],[N]),"f64.add":sign([N,N],[N]),"f64.sub":sign([N,N],[N]),"f64.mul":sign([N,N],[N]),"f64.div":sign([N,N],[N]),"f64.min":sign([N,N],[N]),"f64.max":sign([N,N],[N]),"f64.copysign":sign([N,N],[N]),"i32.wrap/i64":sign([R],[P]),"i32.trunc_s/f32":sign([L],[P]),"i32.trunc_u/f32":sign([L],[P]),"i32.trunc_s/f64":sign([L],[P]),"i32.trunc_u/f64":sign([N],[P]),"i64.extend_s/i32":sign([P],[R]),"i64.extend_u/i32":sign([P],[R]),"i64.trunc_s/f32":sign([L],[R]),"i64.trunc_u/f32":sign([L],[R]),"i64.trunc_s/f64":sign([N],[R]),"i64.trunc_u/f64":sign([N],[R]),"f32.convert_s/i32":sign([P],[L]),"f32.convert_u/i32":sign([P],[L]),"f32.convert_s/i64":sign([R],[L]),"f32.convert_u/i64":sign([R],[L]),"f32.demote/f64":sign([N],[L]),"f64.convert_s/i32":sign([P],[N]),"f64.convert_u/i32":sign([P],[N]),"f64.convert_s/i64":sign([R],[N]),"f64.convert_u/i64":sign([R],[N]),"f64.promote/f32":sign([L],[N]),"i32.reinterpret/f32":sign([L],[P]),"i64.reinterpret/f64":sign([N],[R]),"f32.reinterpret/i32":sign([P],[L]),"f64.reinterpret/i64":sign([R],[N])};var _e=Object.assign({},ae,le,pe,me,ye);v.signatures=_e},15067:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.moduleContextFromModuleAST=moduleContextFromModuleAST;v.ModuleContext=void 0;var P=E(860);function _classCallCheck(k,v){if(!(k instanceof v)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(k,v){for(var E=0;Ek&&k>=0}},{key:"getLabel",value:function getLabel(k){return this.labels[k]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(k){return typeof this.getLocal(k)!=="undefined"}},{key:"getLocal",value:function getLocal(k){return this.locals[k]}},{key:"addLocal",value:function addLocal(k){this.locals.push(k)}},{key:"addType",value:function addType(k){if(!(k.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(k.functype)}},{key:"hasType",value:function hasType(k){return this.types[k]!==undefined}},{key:"getType",value:function getType(k){return this.types[k]}},{key:"hasGlobal",value:function hasGlobal(k){return this.globals.length>k&&k>=0}},{key:"getGlobal",value:function getGlobal(k){return this.globals[k].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(k){if(!(typeof k==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[k]}},{key:"defineGlobal",value:function defineGlobal(k){var v=k.globalType.valtype;var E=k.globalType.mutability;this.globals.push({type:v,mutability:E});if(typeof k.name!=="undefined"){this.globalsOffsetByIdentifier[k.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(k,v){this.globals.push({type:k,mutability:v})}},{key:"isMutableGlobal",value:function isMutableGlobal(k){return this.globals[k].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(k){return this.globals[k].mutability==="const"}},{key:"hasMemory",value:function hasMemory(k){return this.mems.length>k&&k>=0}},{key:"addMemory",value:function addMemory(k,v){this.mems.push({min:k,max:v})}},{key:"getMemory",value:function getMemory(k){return this.mems[k]}}]);return ModuleContext}();v.ModuleContext=R},11885:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.traverse=traverse;var P=E(92489);var R=E(860);function walk(k,v){var E=false;function innerWalk(k,v){if(E){return}var R=k.node;if(R===undefined){console.warn("traversing with an empty context");return}if(R._deleted===true){return}var L=(0,P.createPath)(k);v(R.type,L);if(L.shouldStop){E=true;return}Object.keys(R).forEach((function(k){var E=R[k];if(E===null||E===undefined){return}var P=Array.isArray(E)?E:[E];P.forEach((function(P){if(typeof P.type==="string"){var R={node:P,parentKey:k,parentPath:L,shouldStop:false,inList:Array.isArray(E)};innerWalk(R,v)}}))}))}innerWalk(k,v)}var L=function noop(){};function traverse(k,v){var E=arguments.length>2&&arguments[2]!==undefined?arguments[2]:L;var P=arguments.length>3&&arguments[3]!==undefined?arguments[3]:L;Object.keys(v).forEach((function(k){if(!R.nodeAndUnionTypes.includes(k)){throw new Error("Unexpected visitor ".concat(k))}}));var N={node:k,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(N,(function(k,L){if(typeof v[k]==="function"){E(k,L);v[k](L);P(k,L)}var N=R.unionTypesMap[k];if(!N){throw new Error("Unexpected node type ".concat(k))}N.forEach((function(k){if(typeof v[k]==="function"){E(k,L);v[k](L);P(k,L)}}))}))}},20885:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.isAnonymous=isAnonymous;v.getSectionMetadata=getSectionMetadata;v.getSectionMetadatas=getSectionMetadatas;v.sortSectionMetadata=sortSectionMetadata;v.orderedInsertNode=orderedInsertNode;v.assertHasLoc=assertHasLoc;v.getEndOfSection=getEndOfSection;v.shiftLoc=shiftLoc;v.shiftSection=shiftSection;v.signatureForOpcode=signatureForOpcode;v.getUniqueNameGenerator=getUniqueNameGenerator;v.getStartByteOffset=getStartByteOffset;v.getEndByteOffset=getEndByteOffset;v.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;v.getEndBlockByteOffset=getEndBlockByteOffset;v.getStartBlockByteOffset=getStartBlockByteOffset;var P=E(96395);var R=E(11885);var L=_interopRequireWildcard(E(94545));function _getRequireWildcardCache(k){if(typeof WeakMap!=="function")return null;var v=new WeakMap;var E=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(k){return k?E:v})(k)}function _interopRequireWildcard(k,v){if(!v&&k&&k.__esModule){return k}if(k===null||_typeof(k)!=="object"&&typeof k!=="function"){return{default:k}}var E=_getRequireWildcardCache(v);if(E&&E.has(k)){return E.get(k)}var P={};var R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in k){if(L!=="default"&&Object.prototype.hasOwnProperty.call(k,L)){var N=R?Object.getOwnPropertyDescriptor(k,L):null;if(N&&(N.get||N.set)){Object.defineProperty(P,L,N)}else{P[L]=k[L]}}}P["default"]=k;if(E){E.set(k,P)}return P}function _slicedToArray(k,v){return _arrayWithHoles(k)||_iterableToArrayLimit(k,v)||_unsupportedIterableToArray(k,v)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(k,v){if(!k)return;if(typeof k==="string")return _arrayLikeToArray(k,v);var E=Object.prototype.toString.call(k).slice(8,-1);if(E==="Object"&&k.constructor)E=k.constructor.name;if(E==="Map"||E==="Set")return Array.from(k);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return _arrayLikeToArray(k,v)}function _arrayLikeToArray(k,v){if(v==null||v>k.length)v=k.length;for(var E=0,P=new Array(v);E0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(v in k)){k[v]=0}else{k[v]=k[v]+1}return v+"_"+k[v]}}function getStartByteOffset(k){if(typeof k.loc==="undefined"||typeof k.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(k.id))}return k.loc.start.column}function getEndByteOffset(k){if(typeof k.loc==="undefined"||typeof k.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+k.type)}return k.loc.end.column}function getFunctionBeginingByteOffset(k){if(!(k.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var v=_slicedToArray(k.body,1),E=v[0];return getStartByteOffset(E)}function getEndBlockByteOffset(k){if(!(k.instr.length>0||k.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var v;if(k.instr){v=k.instr[k.instr.length-1]}if(k.body){v=k.body[k.body.length-1]}if(!(_typeof(v)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(v)}function getStartBlockByteOffset(k){if(!(k.instr.length>0||k.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var v;if(k.instr){var E=_slicedToArray(k.instr,1);v=E[0]}if(k.body){var P=_slicedToArray(k.body,1);v=P[0]}if(!(_typeof(v)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(v)}},31209:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v["default"]=parse;function parse(k){k=k.toUpperCase();var v=k.indexOf("P");var E,P;if(v!==-1){E=k.substring(0,v);P=parseInt(k.substring(v+1))}else{E=k;P=0}var R=E.indexOf(".");if(R!==-1){var L=parseInt(E.substring(0,R),16);var N=Math.sign(L);L=N*L;var q=E.length-R-1;var ae=parseInt(E.substring(R+1),16);var le=q>0?ae/Math.pow(16,q):0;if(N===0){if(le===0){E=N}else{if(Object.is(N,-0)){E=-le}else{E=le}}}else{E=N*(L+le)}}else{E=parseInt(E,16)}return E*(v!==-1?Math.pow(2,P):1)}},28513:function(k,v){"use strict";function _typeof(k){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(k){return typeof k}}else{_typeof=function _typeof(k){return k&&typeof Symbol==="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k}}return _typeof(k)}Object.defineProperty(v,"__esModule",{value:true});v.LinkError=v.CompileError=v.RuntimeError=void 0;function _classCallCheck(k,v){if(!(k instanceof v)){throw new TypeError("Cannot call a class as a function")}}function _inherits(k,v){if(typeof v!=="function"&&v!==null){throw new TypeError("Super expression must either be null or a function")}k.prototype=Object.create(v&&v.prototype,{constructor:{value:k,writable:true,configurable:true}});if(v)_setPrototypeOf(k,v)}function _createSuper(k){var v=_isNativeReflectConstruct();return function _createSuperInternal(){var E=_getPrototypeOf(k),P;if(v){var R=_getPrototypeOf(this).constructor;P=Reflect.construct(E,arguments,R)}else{P=E.apply(this,arguments)}return _possibleConstructorReturn(this,P)}}function _possibleConstructorReturn(k,v){if(v&&(_typeof(v)==="object"||typeof v==="function")){return v}else if(v!==void 0){throw new TypeError("Derived constructors may only return object or undefined")}return _assertThisInitialized(k)}function _assertThisInitialized(k){if(k===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return k}function _wrapNativeSuper(k){var v=typeof Map==="function"?new Map:undefined;_wrapNativeSuper=function _wrapNativeSuper(k){if(k===null||!_isNativeFunction(k))return k;if(typeof k!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof v!=="undefined"){if(v.has(k))return v.get(k);v.set(k,Wrapper)}function Wrapper(){return _construct(k,arguments,_getPrototypeOf(this).constructor)}Wrapper.prototype=Object.create(k.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return _setPrototypeOf(Wrapper,k)};return _wrapNativeSuper(k)}function _construct(k,v,E){if(_isNativeReflectConstruct()){_construct=Reflect.construct}else{_construct=function _construct(k,v,E){var P=[null];P.push.apply(P,v);var R=Function.bind.apply(k,P);var L=new R;if(E)_setPrototypeOf(L,E.prototype);return L}}return _construct.apply(null,arguments)}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})));return true}catch(k){return false}}function _isNativeFunction(k){return Function.toString.call(k).indexOf("[native code]")!==-1}function _setPrototypeOf(k,v){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(k,v){k.__proto__=v;return k};return _setPrototypeOf(k,v)}function _getPrototypeOf(k){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(k){return k.__proto__||Object.getPrototypeOf(k)};return _getPrototypeOf(k)}var E=function(k){_inherits(RuntimeError,k);var v=_createSuper(RuntimeError);function RuntimeError(){_classCallCheck(this,RuntimeError);return v.apply(this,arguments)}return RuntimeError}(_wrapNativeSuper(Error));v.RuntimeError=E;var P=function(k){_inherits(CompileError,k);var v=_createSuper(CompileError);function CompileError(){_classCallCheck(this,CompileError);return v.apply(this,arguments)}return CompileError}(_wrapNativeSuper(Error));v.CompileError=P;var R=function(k){_inherits(LinkError,k);var v=_createSuper(LinkError);function LinkError(){_classCallCheck(this,LinkError);return v.apply(this,arguments)}return LinkError}(_wrapNativeSuper(Error));v.LinkError=R},97521:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.overrideBytesInBuffer=overrideBytesInBuffer;v.makeBuffer=makeBuffer;v.fromHexdump=fromHexdump;function _toConsumableArray(k){return _arrayWithoutHoles(k)||_iterableToArray(k)||_unsupportedIterableToArray(k)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(k,v){if(!k)return;if(typeof k==="string")return _arrayLikeToArray(k,v);var E=Object.prototype.toString.call(k).slice(8,-1);if(E==="Object"&&k.constructor)E=k.constructor.name;if(E==="Map"||E==="Set")return Array.from(k);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return _arrayLikeToArray(k,v)}function _iterableToArray(k){if(typeof Symbol!=="undefined"&&k[Symbol.iterator]!=null||k["@@iterator"]!=null)return Array.from(k)}function _arrayWithoutHoles(k){if(Array.isArray(k))return _arrayLikeToArray(k)}function _arrayLikeToArray(k,v){if(v==null||v>k.length)v=k.length;for(var E=0,P=new Array(v);E1&&arguments[1]!==undefined?arguments[1]:function(k){return k};var E={};var P=Object.keys(k);for(var R=0,L=P.length;R2&&arguments[2]!==undefined?arguments[2]:0;return{name:k,object:v,numberOfArgs:E}}function createSymbol(k){var v=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:k,numberOfArgs:v}}var q={func:96,result:64};var ae={0:"Func",1:"Table",2:"Memory",3:"Global"};var le=invertMap(ae);var pe={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var me=invertMap(pe);var ye={112:"anyfunc"};var _e=Object.assign({},pe,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var Ie={0:"const",1:"var"};var Me=invertMap(Ie);var Te={0:"func",1:"table",2:"memory",3:"global"};var je={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 Ne={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:R,7:R,8:R,9:R,10:R,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:R,19:R,20:R,21:R,22:R,23:R,24:R,25:R,26:createSymbol("drop"),27:createSymbol("select"),28:R,29:R,30:R,31:R,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:R,38:R,39:R,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"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var Be=invertMap(Ne,(function(k){if(typeof k.object==="string"){return"".concat(k.object,".").concat(k.name)}return k.name}));var qe={symbolsByByte:Ne,sections:je,magicModuleHeader:L,moduleVersion:N,types:q,valtypes:pe,exportTypes:ae,blockTypes:_e,tableTypes:ye,globalTypes:Ie,importTypes:Te,valtypesByString:me,globalTypesByString:Me,exportTypesByName:le,symbolsByName:Be};v["default"]=qe},32337:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.getSectionForNode=getSectionForNode;function getSectionForNode(k){switch(k.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}}},36915:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.createEmptySection=createEmptySection;var P=E(87643);var R=E(97521);var L=_interopRequireDefault(E(94545));var N=_interopRequireWildcard(E(26333));function _getRequireWildcardCache(k){if(typeof WeakMap!=="function")return null;var v=new WeakMap;var E=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(k){return k?E:v})(k)}function _interopRequireWildcard(k,v){if(!v&&k&&k.__esModule){return k}if(k===null||_typeof(k)!=="object"&&typeof k!=="function"){return{default:k}}var E=_getRequireWildcardCache(v);if(E&&E.has(k)){return E.get(k)}var P={};var R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in k){if(L!=="default"&&Object.prototype.hasOwnProperty.call(k,L)){var N=R?Object.getOwnPropertyDescriptor(k,L):null;if(N&&(N.get||N.set)){Object.defineProperty(P,L,N)}else{P[L]=k[L]}}}P["default"]=k;if(E){E.set(k,P)}return P}function _interopRequireDefault(k){return k&&k.__esModule?k:{default:k}}function _typeof(k){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(k){return typeof k}}else{_typeof=function _typeof(k){return k&&typeof Symbol==="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k}}return _typeof(k)}function findLastSection(k,v){var E=L["default"].sections[v];var P=k.body[0].metadata.sections;var R;var N=0;for(var q=0,ae=P.length;qN&&E32){throw new Error("Bad value for bitLength.")}if(P===undefined){P=0}else if(P!==0&&P!==1){throw new Error("Bad value for defaultBit.")}var R=P*255;var L=0;var N=v+E;var q=Math.floor(v/8);var ae=v%8;var le=Math.floor(N/8);var pe=N%8;if(pe!==0){L=get(le)&(1<q){le--;L=L<<8|get(le)}L>>>=ae;return L;function get(v){var E=k[v];return E===undefined?R:E}}function inject(k,v,E,P){if(E<0||E>32){throw new Error("Bad value for bitLength.")}var R=Math.floor((v+E-1)/8);if(v<0||R>=k.length){throw new Error("Index out of range.")}var L=Math.floor(v/8);var N=v%8;while(E>0){if(P&1){k[L]|=1<>=1;E--;N=(N+1)%8;if(N===0){L++}}}function getSign(k){return k[k.length-1]>>>7}function highOrder(k,v){var E=v.length;var P=(k^1)*255;while(E>0&&v[E-1]===P){E--}if(E===0){return-1}var R=v[E-1];var L=E*8-1;for(var N=7;N>0;N--){if((R>>N&1)===k){break}L--}return L}},57386:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.alloc=alloc;v.free=free;v.resize=resize;v.readInt=readInt;v.readUInt=readUInt;v.writeInt64=writeInt64;v.writeUInt64=writeUInt64;var E=[];var P=20;var R=-0x8000000000000000;var L=0x7ffffffffffffc00;var N=0xfffffffffffff800;var q=4294967296;var ae=0x10000000000000000;function lowestBit(k){return k&-k}function isLossyToAdd(k,v){if(v===0){return false}var E=lowestBit(v);var P=k+E;if(P===k){return true}if(P-E!==k){return true}return false}function alloc(k){var v=E[k];if(v){E[k]=undefined}else{v=new Buffer(k)}v.fill(0);return v}function free(k){var v=k.length;if(v=0;L--){P=P*256+k[L]}}else{for(var N=v-1;N>=0;N--){var q=k[N];P*=256;if(isLossyToAdd(P,q)){R=true}P+=q}}return{value:P,lossy:R}}function readUInt(k){var v=k.length;var E=0;var P=false;if(v<7){for(var R=v-1;R>=0;R--){E=E*256+k[R]}}else{for(var L=v-1;L>=0;L--){var N=k[L];E*=256;if(isLossyToAdd(E,N)){P=true}E+=N}}return{value:E,lossy:P}}function writeInt64(k,v){if(kL){throw new Error("Value out of range.")}if(k<0){k+=ae}writeUInt64(k,v)}function writeUInt64(k,v){if(k<0||k>N){throw new Error("Value out of range.")}var E=k%q;var P=Math.floor(k/q);v.writeUInt32LE(E,0);v.writeUInt32LE(P,4)}},54307:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.decodeInt64=decodeInt64;v.decodeUInt64=decodeUInt64;v.decodeInt32=decodeInt32;v.decodeUInt32=decodeUInt32;v.encodeU32=encodeU32;v.encodeI32=encodeI32;v.encodeI64=encodeI64;v.MAX_NUMBER_OF_BYTE_U64=v.MAX_NUMBER_OF_BYTE_U32=void 0;var P=_interopRequireDefault(E(66562));function _interopRequireDefault(k){return k&&k.__esModule?k:{default:k}}var R=5;v.MAX_NUMBER_OF_BYTE_U32=R;var L=10;v.MAX_NUMBER_OF_BYTE_U64=L;function decodeInt64(k,v){return P["default"].decodeInt64(k,v)}function decodeUInt64(k,v){return P["default"].decodeUInt64(k,v)}function decodeInt32(k,v){return P["default"].decodeInt32(k,v)}function decodeUInt32(k,v){return P["default"].decodeUInt32(k,v)}function encodeU32(k){return P["default"].encodeUInt32(k)}function encodeI32(k){return P["default"].encodeInt32(k)}function encodeI64(k){return P["default"].encodeInt64(k)}},66562:function(k,v,E){"use strict";function _typeof(k){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(k){return typeof k}}else{_typeof=function _typeof(k){return k&&typeof Symbol==="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k}}return _typeof(k)}Object.defineProperty(v,"__esModule",{value:true});v["default"]=void 0;var P=_interopRequireDefault(E(85249));var R=_interopRequireWildcard(E(79423));var L=_interopRequireWildcard(E(57386));function _getRequireWildcardCache(k){if(typeof WeakMap!=="function")return null;var v=new WeakMap;var E=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(k){return k?E:v})(k)}function _interopRequireWildcard(k,v){if(!v&&k&&k.__esModule){return k}if(k===null||_typeof(k)!=="object"&&typeof k!=="function"){return{default:k}}var E=_getRequireWildcardCache(v);if(E&&E.has(k)){return E.get(k)}var P={};var R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in k){if(L!=="default"&&Object.prototype.hasOwnProperty.call(k,L)){var N=R?Object.getOwnPropertyDescriptor(k,L):null;if(N&&(N.get||N.set)){Object.defineProperty(P,L,N)}else{P[L]=k[L]}}}P["default"]=k;if(E){E.set(k,P)}return P}function _interopRequireDefault(k){return k&&k.__esModule?k:{default:k}}var N=-2147483648;var q=2147483647;var ae=4294967295;function signedBitCount(k){return R.highOrder(R.getSign(k)^1,k)+2}function unsignedBitCount(k){var v=R.highOrder(1,k)+1;return v?v:1}function encodeBufferCommon(k,v){var E;var P;if(v){E=R.getSign(k);P=signedBitCount(k)}else{E=0;P=unsignedBitCount(k)}var N=Math.ceil(P/7);var q=L.alloc(N);for(var ae=0;ae=128){E++}E++;if(v+E>k.length){}return E}function decodeBufferCommon(k,v,E){v=v===undefined?0:v;var P=encodedLength(k,v);var N=P*7;var q=Math.ceil(N/8);var ae=L.alloc(q);var le=0;while(P>0){R.inject(ae,le,7,k[v]);le+=7;v++;P--}var pe;var me;if(E){var ye=ae[q-1];var _e=le%8;if(_e!==0){var Ie=32-_e;ye=ae[q-1]=ye<>Ie&255}pe=ye>>7;me=pe*255}else{pe=0;me=0}while(q>1&&ae[q-1]===me&&(!E||ae[q-2]>>7===pe)){q--}ae=L.resize(ae,q);return{value:ae,nextIndex:v}}function encodeIntBuffer(k){return encodeBufferCommon(k,true)}function decodeIntBuffer(k,v){return decodeBufferCommon(k,v,true)}function encodeInt32(k){var v=L.alloc(4);v.writeInt32LE(k,0);var E=encodeIntBuffer(v);L.free(v);return E}function decodeInt32(k,v){var E=decodeIntBuffer(k,v);var P=L.readInt(E.value);var R=P.value;L.free(E.value);if(Rq){throw new Error("integer too large")}return{value:R,nextIndex:E.nextIndex}}function encodeInt64(k){var v=L.alloc(8);L.writeInt64(k,v);var E=encodeIntBuffer(v);L.free(v);return E}function decodeInt64(k,v){var E=decodeIntBuffer(k,v);var R=E.value.length;if(E.value[R-1]>>7){E.value=L.resize(E.value,8);E.value.fill(255,R)}var N=P["default"].fromBytesLE(E.value,false);L.free(E.value);return{value:N,nextIndex:E.nextIndex,lossy:false}}function encodeUIntBuffer(k){return encodeBufferCommon(k,false)}function decodeUIntBuffer(k,v){return decodeBufferCommon(k,v,false)}function encodeUInt32(k){var v=L.alloc(4);v.writeUInt32LE(k,0);var E=encodeUIntBuffer(v);L.free(v);return E}function decodeUInt32(k,v){var E=decodeUIntBuffer(k,v);var P=L.readUInt(E.value);var R=P.value;L.free(E.value);if(R>ae){throw new Error("integer too large")}return{value:R,nextIndex:E.nextIndex}}function encodeUInt64(k){var v=L.alloc(8);L.writeUInt64(k,v);var E=encodeUIntBuffer(v);L.free(v);return E}function decodeUInt64(k,v){var E=decodeUIntBuffer(k,v);var R=P["default"].fromBytesLE(E.value,true);L.free(E.value);return{value:R,nextIndex:E.nextIndex,lossy:false}}var le={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};v["default"]=le},18126:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.decode=decode;function con(k){if((k&192)===128){return k&63}else{throw new Error("invalid UTF-8 encoding")}}function code(k,v){if(v=65536){throw new Error("invalid UTF-8 encoding")}else{return v}}function decode(k){return _decode(k).map((function(k){return String.fromCharCode(k)})).join("")}function _decode(k){var v=[];while(k.length>0){var E=k[0];if(E<128){v.push(code(0,E));k=k.slice(1);continue}if(E<192){throw new Error("invalid UTF-8 encoding")}var P=k[1];if(E<224){v.push(code(128,((E&31)<<6)+con(P)));k=k.slice(2);continue}var R=k[2];if(E<240){v.push(code(2048,((E&15)<<12)+(con(P)<<6)+con(R)));k=k.slice(3);continue}var L=k[3];if(E<248){v.push(code(65536,(((E&7)<<18)+con(P)<<12)+(con(R)<<6)+con(L)));k=k.slice(4);continue}throw new Error("invalid UTF-8 encoding")}return v}},24083:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.encode=encode;function _toConsumableArray(k){return _arrayWithoutHoles(k)||_iterableToArray(k)||_unsupportedIterableToArray(k)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _arrayWithoutHoles(k){if(Array.isArray(k))return _arrayLikeToArray(k)}function _toArray(k){return _arrayWithHoles(k)||_iterableToArray(k)||_unsupportedIterableToArray(k)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(k,v){if(!k)return;if(typeof k==="string")return _arrayLikeToArray(k,v);var E=Object.prototype.toString.call(k).slice(8,-1);if(E==="Object"&&k.constructor)E=k.constructor.name;if(E==="Map"||E==="Set")return Array.from(k);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return _arrayLikeToArray(k,v)}function _arrayLikeToArray(k,v){if(v==null||v>k.length)v=k.length;for(var E=0,P=new Array(v);E>>6,con(E)].concat(_toConsumableArray(_encode(P)))}if(E<65536){return[224|E>>>12,con(E>>>6),con(E)].concat(_toConsumableArray(_encode(P)))}if(E<1114112){return[240|E>>>18,con(E>>>12),con(E>>>6),con(E)].concat(_toConsumableArray(_encode(P)))}throw new Error("utf8")}},34114:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});Object.defineProperty(v,"decode",{enumerable:true,get:function get(){return P.decode}});Object.defineProperty(v,"encode",{enumerable:true,get:function get(){return R.encode}});var P=E(18126);var R=E(24083)},25467:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.applyOperations=applyOperations;var P=E(87643);var R=E(49212);var L=E(26333);var N=E(82844);var q=E(97521);var ae=E(94545);function _slicedToArray(k,v){return _arrayWithHoles(k)||_iterableToArrayLimit(k,v)||_unsupportedIterableToArray(k,v)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(k,v){if(!k)return;if(typeof k==="string")return _arrayLikeToArray(k,v);var E=Object.prototype.toString.call(k).slice(8,-1);if(E==="Object"&&k.constructor)E=k.constructor.name;if(E==="Map"||E==="Set")return Array.from(k);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return _arrayLikeToArray(k,v)}function _arrayLikeToArray(k,v){if(v==null||v>k.length)v=k.length;for(var E=0,P=new Array(v);E=k.length)return{done:true};return{done:false,value:k[P++]}},e:function e(k){throw k},f:R}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var L=true,N=false,q;return{s:function s(){E=E.call(k)},n:function n(){var k=E.next();L=k.done;return k},e:function e(k){N=true;q=k},f:function f(){try{if(!L&&E["return"]!=null)E["return"]()}finally{if(N)throw q}}}}function _unsupportedIterableToArray(k,v){if(!k)return;if(typeof k==="string")return _arrayLikeToArray(k,v);var E=Object.prototype.toString.call(k).slice(8,-1);if(E==="Object"&&k.constructor)E=k.constructor.name;if(E==="Map"||E==="Set")return Array.from(k);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return _arrayLikeToArray(k,v)}function _arrayLikeToArray(k,v){if(v==null||v>k.length)v=k.length;for(var E=0,P=new Array(v);Ek.length)v=k.length;for(var E=0,P=new Array(v);Ek.length)v=k.length;for(var E=0,P=new Array(v);E=E.length}function eatBytes(k){pe=pe+k}function readBytesAtOffset(k,v){var P=[];for(var R=0;R>7?-1:1;var P=0;for(var L=0;L>7?-1:1;var P=0;for(var L=0;LE.length){throw new Error("unexpected end")}var k=readBytes(4);if(byteArrayEq(ae["default"].magicModuleHeader,k)===false){throw new P.CompileError("magic header not detected")}dump(k,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||pe+4>E.length){throw new Error("unexpected end")}var k=readBytes(4);if(byteArrayEq(ae["default"].moduleVersion,k)===false){throw new P.CompileError("unknown binary version")}dump(k,"wasm version");eatBytes(4)}function parseVec(k){var v=readU32();var E=v.value;eatBytes(v.nextIndex);dump([E],"number");if(E===0){return[]}var R=[];for(var L=0;L=40&&R<=64){if(L.name==="grow_memory"||L.name==="current_memory"){var xt=readU32();var kt=xt.value;eatBytes(xt.nextIndex);if(kt!==0){throw new Error("zero flag expected")}dump([kt],"index")}else{var vt=readU32();var wt=vt.value;eatBytes(vt.nextIndex);dump([wt],"align");var At=readU32();var Et=At.value;eatBytes(At.nextIndex);dump([Et],"offset");if(ye===undefined)ye={};ye.offset=N.numberLiteralFromRaw(Et)}}else if(R>=65&&R<=68){if(L.object==="i32"){var Ct=read32();var St=Ct.value;eatBytes(Ct.nextIndex);dump([St],"i32 value");pe.push(N.numberLiteralFromRaw(St))}if(L.object==="u32"){var _t=readU32();var It=_t.value;eatBytes(_t.nextIndex);dump([It],"u32 value");pe.push(N.numberLiteralFromRaw(It))}if(L.object==="i64"){var Mt=read64();var Pt=Mt.value;eatBytes(Mt.nextIndex);dump([Number(Pt.toString())],"i64 value");var Ot=Pt.high,Dt=Pt.low;var Rt={type:"LongNumberLiteral",value:{high:Ot,low:Dt}};pe.push(Rt)}if(L.object==="u64"){var Tt=readU64();var $t=Tt.value;eatBytes(Tt.nextIndex);dump([Number($t.toString())],"u64 value");var Ft=$t.high,jt=$t.low;var Lt={type:"LongNumberLiteral",value:{high:Ft,low:jt}};pe.push(Lt)}if(L.object==="f32"){var Nt=readF32();var Bt=Nt.value;eatBytes(Nt.nextIndex);dump([Bt],"f32 value");pe.push(N.floatLiteral(Bt,Nt.nan,Nt.inf,String(Bt)))}if(L.object==="f64"){var qt=readF64();var zt=qt.value;eatBytes(qt.nextIndex);dump([zt],"f64 value");pe.push(N.floatLiteral(zt,qt.nan,qt.inf,String(zt)))}}else if(R>=65024&&R<=65279){var Ut=readU32();var Gt=Ut.value;eatBytes(Ut.nextIndex);dump([Gt],"align");var Ht=readU32();var Wt=Ht.value;eatBytes(Ht.nextIndex);dump([Wt],"offset")}else{for(var Qt=0;Qt=k||k===ae["default"].sections.custom){k=E+1}else{if(E!==ae["default"].sections.custom)throw new P.CompileError("Unexpected section: "+toHex(E))}var R=k;var L=pe;var q=getPosition();var le=readU32();var me=le.value;eatBytes(le.nextIndex);var ye=function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(me),k,q)}();switch(E){case ae["default"].sections.type:{dumpSep("section Type");dump([E],"section code");dump([me],"section size");var _e=getPosition();var Ie=readU32();var Me=Ie.value;eatBytes(Ie.nextIndex);var Te=N.sectionMetadata("type",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(Me),k,_e)}());var je=parseTypeSection(Me);return{nodes:je,metadata:Te,nextSectionIndex:R}}case ae["default"].sections.table:{dumpSep("section Table");dump([E],"section code");dump([me],"section size");var Ne=getPosition();var Be=readU32();var qe=Be.value;eatBytes(Be.nextIndex);dump([qe],"num tables");var Ue=N.sectionMetadata("table",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(qe),k,Ne)}());var Ge=parseTableSection(qe);return{nodes:Ge,metadata:Ue,nextSectionIndex:R}}case ae["default"].sections["import"]:{dumpSep("section Import");dump([E],"section code");dump([me],"section size");var He=getPosition();var We=readU32();var Qe=We.value;eatBytes(We.nextIndex);dump([Qe],"number of imports");var Je=N.sectionMetadata("import",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(Qe),k,He)}());var Ve=parseImportSection(Qe);return{nodes:Ve,metadata:Je,nextSectionIndex:R}}case ae["default"].sections.func:{dumpSep("section Function");dump([E],"section code");dump([me],"section size");var Ke=getPosition();var Ye=readU32();var Xe=Ye.value;eatBytes(Ye.nextIndex);var Ze=N.sectionMetadata("func",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(Xe),k,Ke)}());parseFuncSection(Xe);var et=[];return{nodes:et,metadata:Ze,nextSectionIndex:R}}case ae["default"].sections["export"]:{dumpSep("section Export");dump([E],"section code");dump([me],"section size");var tt=getPosition();var nt=readU32();var st=nt.value;eatBytes(nt.nextIndex);var rt=N.sectionMetadata("export",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(st),k,tt)}());parseExportSection(st);var ot=[];return{nodes:ot,metadata:rt,nextSectionIndex:R}}case ae["default"].sections.code:{dumpSep("section Code");dump([E],"section code");dump([me],"section size");var it=getPosition();var at=readU32();var ct=at.value;eatBytes(at.nextIndex);var lt=N.sectionMetadata("code",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(ct),k,it)}());if(v.ignoreCodeSection===true){var ut=me-at.nextIndex;eatBytes(ut)}else{parseCodeSection(ct)}var pt=[];return{nodes:pt,metadata:lt,nextSectionIndex:R}}case ae["default"].sections.start:{dumpSep("section Start");dump([E],"section code");dump([me],"section size");var dt=N.sectionMetadata("start",L,ye);var ft=[parseStartSection()];return{nodes:ft,metadata:dt,nextSectionIndex:R}}case ae["default"].sections.element:{dumpSep("section Element");dump([E],"section code");dump([me],"section size");var ht=getPosition();var mt=readU32();var gt=mt.value;eatBytes(mt.nextIndex);var yt=N.sectionMetadata("element",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(gt),k,ht)}());var bt=parseElemSection(gt);return{nodes:bt,metadata:yt,nextSectionIndex:R}}case ae["default"].sections.global:{dumpSep("section Global");dump([E],"section code");dump([me],"section size");var xt=getPosition();var kt=readU32();var vt=kt.value;eatBytes(kt.nextIndex);var wt=N.sectionMetadata("global",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(vt),k,xt)}());var At=parseGlobalSection(vt);return{nodes:At,metadata:wt,nextSectionIndex:R}}case ae["default"].sections.memory:{dumpSep("section Memory");dump([E],"section code");dump([me],"section size");var Et=getPosition();var Ct=readU32();var St=Ct.value;eatBytes(Ct.nextIndex);var _t=N.sectionMetadata("memory",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(St),k,Et)}());var It=parseMemorySection(St);return{nodes:It,metadata:_t,nextSectionIndex:R}}case ae["default"].sections.data:{dumpSep("section Data");dump([E],"section code");dump([me],"section size");var Mt=N.sectionMetadata("data",L,ye);var Pt=getPosition();var Ot=readU32();var Dt=Ot.value;eatBytes(Ot.nextIndex);Mt.vectorOfSize=function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(Dt),k,Pt)}();if(v.ignoreDataSection===true){var Rt=me-Ot.nextIndex;eatBytes(Rt);dumpSep("ignore data ("+me+" bytes)");return{nodes:[],metadata:Mt,nextSectionIndex:R}}else{var Tt=parseDataSection(Dt);return{nodes:Tt,metadata:Mt,nextSectionIndex:R}}}case ae["default"].sections.custom:{dumpSep("section Custom");dump([E],"section code");dump([me],"section size");var $t=[N.sectionMetadata("custom",L,ye)];var Ft=readUTF8String();eatBytes(Ft.nextIndex);dump([],"section name (".concat(Ft.value,")"));var jt=me-Ft.nextIndex;if(Ft.value==="name"){var Lt=pe;try{$t.push.apply($t,_toConsumableArray(parseNameSection(jt)))}catch(k){console.warn('Failed to decode custom "name" section @'.concat(pe,"; ignoring (").concat(k.message,")."));eatBytes(pe-(Lt+jt))}}else if(Ft.value==="producers"){var Nt=pe;try{$t.push(parseProducersSection())}catch(k){console.warn('Failed to decode custom "producers" section @'.concat(pe,"; ignoring (").concat(k.message,")."));eatBytes(pe-(Nt+jt))}}else{eatBytes(jt);dumpSep("ignore custom "+JSON.stringify(Ft.value)+" section ("+jt+" bytes)")}return{nodes:[],metadata:$t,nextSectionIndex:R}}}if(v.errorOnUnknownSection){throw new P.CompileError("Unexpected section: "+toHex(E))}else{dumpSep("section "+toHex(E));dump([E],"section code");dump([me],"section size");eatBytes(me);dumpSep("ignoring ("+me+" bytes)");return{nodes:[],metadata:[],nextSectionIndex:0}}}parseModuleHeader();parseVersion();var ye=[];var _e=0;var Ie={sections:[],functionNames:[],localNames:[],producers:[]};while(pe>1;var pe=-7;var me=E?R-1:0;var ye=E?-1:1;var _e=k[v+me];me+=ye;L=_e&(1<<-pe)-1;_e>>=-pe;pe+=q;for(;pe>0;L=L*256+k[v+me],me+=ye,pe-=8){}N=L&(1<<-pe)-1;L>>=-pe;pe+=P;for(;pe>0;N=N*256+k[v+me],me+=ye,pe-=8){}if(L===0){L=1-le}else if(L===ae){return N?NaN:(_e?-1:1)*Infinity}else{N=N+Math.pow(2,P);L=L-le}return(_e?-1:1)*N*Math.pow(2,L-P)}function write(k,v,E,P,R,L){var N,q,ae;var le=L*8-R-1;var pe=(1<>1;var ye=R===23?Math.pow(2,-24)-Math.pow(2,-77):0;var _e=P?0:L-1;var Ie=P?1:-1;var Me=v<0||v===0&&1/v<0?1:0;v=Math.abs(v);if(isNaN(v)||v===Infinity){q=isNaN(v)?1:0;N=pe}else{N=Math.floor(Math.log(v)/Math.LN2);if(v*(ae=Math.pow(2,-N))<1){N--;ae*=2}if(N+me>=1){v+=ye/ae}else{v+=ye*Math.pow(2,1-me)}if(v*ae>=2){N++;ae/=2}if(N+me>=pe){q=0;N=pe}else if(N+me>=1){q=(v*ae-1)*Math.pow(2,R);N=N+me}else{q=v*Math.pow(2,me-1)*Math.pow(2,R);N=0}}for(;R>=8;k[E+_e]=q&255,_e+=Ie,q/=256,R-=8){}N=N<0;k[E+_e]=N&255,_e+=Ie,N/=256,le-=8){}k[E+_e-Ie]|=Me*128}},85249:function(k){k.exports=Long;var v=null;try{v=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(k){}function Long(k,v,E){this.low=k|0;this.high=v|0;this.unsigned=!!E}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(k){return(k&&k["__isLong__"])===true}Long.isLong=isLong;var E={};var P={};function fromInt(k,v){var R,L,N;if(v){k>>>=0;if(N=0<=k&&k<256){L=P[k];if(L)return L}R=fromBits(k,(k|0)<0?-1:0,true);if(N)P[k]=R;return R}else{k|=0;if(N=-128<=k&&k<128){L=E[k];if(L)return L}R=fromBits(k,k<0?-1:0,false);if(N)E[k]=R;return R}}Long.fromInt=fromInt;function fromNumber(k,v){if(isNaN(k))return v?ye:me;if(v){if(k<0)return ye;if(k>=ae)return je}else{if(k<=-le)return Ne;if(k+1>=le)return Te}if(k<0)return fromNumber(-k,v).neg();return fromBits(k%q|0,k/q|0,v)}Long.fromNumber=fromNumber;function fromBits(k,v,E){return new Long(k,v,E)}Long.fromBits=fromBits;var R=Math.pow;function fromString(k,v,E){if(k.length===0)throw Error("empty string");if(k==="NaN"||k==="Infinity"||k==="+Infinity"||k==="-Infinity")return me;if(typeof v==="number"){E=v,v=false}else{v=!!v}E=E||10;if(E<2||360)throw Error("interior hyphen");else if(P===0){return fromString(k.substring(1),v,E).neg()}var L=fromNumber(R(E,8));var N=me;for(var q=0;q>>0:this.low};Be.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*q+(this.low>>>0);return this.high*q+(this.low>>>0)};Be.toString=function toString(k){k=k||10;if(k<2||36>>0,pe=le.toString(k);N=ae;if(N.isZero())return pe+q;else{while(pe.length<6)pe="0"+pe;q=""+pe+q}}};Be.getHighBits=function getHighBits(){return this.high};Be.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};Be.getLowBits=function getLowBits(){return this.low};Be.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};Be.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Ne)?64:this.neg().getNumBitsAbs();var k=this.high!=0?this.high:this.low;for(var v=31;v>0;v--)if((k&1<=0};Be.isOdd=function isOdd(){return(this.low&1)===1};Be.isEven=function isEven(){return(this.low&1)===0};Be.equals=function equals(k){if(!isLong(k))k=fromValue(k);if(this.unsigned!==k.unsigned&&this.high>>>31===1&&k.high>>>31===1)return false;return this.high===k.high&&this.low===k.low};Be.eq=Be.equals;Be.notEquals=function notEquals(k){return!this.eq(k)};Be.neq=Be.notEquals;Be.ne=Be.notEquals;Be.lessThan=function lessThan(k){return this.comp(k)<0};Be.lt=Be.lessThan;Be.lessThanOrEqual=function lessThanOrEqual(k){return this.comp(k)<=0};Be.lte=Be.lessThanOrEqual;Be.le=Be.lessThanOrEqual;Be.greaterThan=function greaterThan(k){return this.comp(k)>0};Be.gt=Be.greaterThan;Be.greaterThanOrEqual=function greaterThanOrEqual(k){return this.comp(k)>=0};Be.gte=Be.greaterThanOrEqual;Be.ge=Be.greaterThanOrEqual;Be.compare=function compare(k){if(!isLong(k))k=fromValue(k);if(this.eq(k))return 0;var v=this.isNegative(),E=k.isNegative();if(v&&!E)return-1;if(!v&&E)return 1;if(!this.unsigned)return this.sub(k).isNegative()?-1:1;return k.high>>>0>this.high>>>0||k.high===this.high&&k.low>>>0>this.low>>>0?-1:1};Be.comp=Be.compare;Be.negate=function negate(){if(!this.unsigned&&this.eq(Ne))return Ne;return this.not().add(_e)};Be.neg=Be.negate;Be.add=function add(k){if(!isLong(k))k=fromValue(k);var v=this.high>>>16;var E=this.high&65535;var P=this.low>>>16;var R=this.low&65535;var L=k.high>>>16;var N=k.high&65535;var q=k.low>>>16;var ae=k.low&65535;var le=0,pe=0,me=0,ye=0;ye+=R+ae;me+=ye>>>16;ye&=65535;me+=P+q;pe+=me>>>16;me&=65535;pe+=E+N;le+=pe>>>16;pe&=65535;le+=v+L;le&=65535;return fromBits(me<<16|ye,le<<16|pe,this.unsigned)};Be.subtract=function subtract(k){if(!isLong(k))k=fromValue(k);return this.add(k.neg())};Be.sub=Be.subtract;Be.multiply=function multiply(k){if(this.isZero())return me;if(!isLong(k))k=fromValue(k);if(v){var E=v["mul"](this.low,this.high,k.low,k.high);return fromBits(E,v["get_high"](),this.unsigned)}if(k.isZero())return me;if(this.eq(Ne))return k.isOdd()?Ne:me;if(k.eq(Ne))return this.isOdd()?Ne:me;if(this.isNegative()){if(k.isNegative())return this.neg().mul(k.neg());else return this.neg().mul(k).neg()}else if(k.isNegative())return this.mul(k.neg()).neg();if(this.lt(pe)&&k.lt(pe))return fromNumber(this.toNumber()*k.toNumber(),this.unsigned);var P=this.high>>>16;var R=this.high&65535;var L=this.low>>>16;var N=this.low&65535;var q=k.high>>>16;var ae=k.high&65535;var le=k.low>>>16;var ye=k.low&65535;var _e=0,Ie=0,Me=0,Te=0;Te+=N*ye;Me+=Te>>>16;Te&=65535;Me+=L*ye;Ie+=Me>>>16;Me&=65535;Me+=N*le;Ie+=Me>>>16;Me&=65535;Ie+=R*ye;_e+=Ie>>>16;Ie&=65535;Ie+=L*le;_e+=Ie>>>16;Ie&=65535;Ie+=N*ae;_e+=Ie>>>16;Ie&=65535;_e+=P*ye+R*le+L*ae+N*q;_e&=65535;return fromBits(Me<<16|Te,_e<<16|Ie,this.unsigned)};Be.mul=Be.multiply;Be.divide=function divide(k){if(!isLong(k))k=fromValue(k);if(k.isZero())throw Error("division by zero");if(v){if(!this.unsigned&&this.high===-2147483648&&k.low===-1&&k.high===-1){return this}var E=(this.unsigned?v["div_u"]:v["div_s"])(this.low,this.high,k.low,k.high);return fromBits(E,v["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?ye:me;var P,L,N;if(!this.unsigned){if(this.eq(Ne)){if(k.eq(_e)||k.eq(Me))return Ne;else if(k.eq(Ne))return _e;else{var q=this.shr(1);P=q.div(k).shl(1);if(P.eq(me)){return k.isNegative()?_e:Me}else{L=this.sub(k.mul(P));N=P.add(L.div(k));return N}}}else if(k.eq(Ne))return this.unsigned?ye:me;if(this.isNegative()){if(k.isNegative())return this.neg().div(k.neg());return this.neg().div(k).neg()}else if(k.isNegative())return this.div(k.neg()).neg();N=me}else{if(!k.unsigned)k=k.toUnsigned();if(k.gt(this))return ye;if(k.gt(this.shru(1)))return Ie;N=ye}L=this;while(L.gte(k)){P=Math.max(1,Math.floor(L.toNumber()/k.toNumber()));var ae=Math.ceil(Math.log(P)/Math.LN2),le=ae<=48?1:R(2,ae-48),pe=fromNumber(P),Te=pe.mul(k);while(Te.isNegative()||Te.gt(L)){P-=le;pe=fromNumber(P,this.unsigned);Te=pe.mul(k)}if(pe.isZero())pe=_e;N=N.add(pe);L=L.sub(Te)}return N};Be.div=Be.divide;Be.modulo=function modulo(k){if(!isLong(k))k=fromValue(k);if(v){var E=(this.unsigned?v["rem_u"]:v["rem_s"])(this.low,this.high,k.low,k.high);return fromBits(E,v["get_high"](),this.unsigned)}return this.sub(this.div(k).mul(k))};Be.mod=Be.modulo;Be.rem=Be.modulo;Be.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};Be.and=function and(k){if(!isLong(k))k=fromValue(k);return fromBits(this.low&k.low,this.high&k.high,this.unsigned)};Be.or=function or(k){if(!isLong(k))k=fromValue(k);return fromBits(this.low|k.low,this.high|k.high,this.unsigned)};Be.xor=function xor(k){if(!isLong(k))k=fromValue(k);return fromBits(this.low^k.low,this.high^k.high,this.unsigned)};Be.shiftLeft=function shiftLeft(k){if(isLong(k))k=k.toInt();if((k&=63)===0)return this;else if(k<32)return fromBits(this.low<>>32-k,this.unsigned);else return fromBits(0,this.low<>>k|this.high<<32-k,this.high>>k,this.unsigned);else return fromBits(this.high>>k-32,this.high>=0?0:-1,this.unsigned)};Be.shr=Be.shiftRight;Be.shiftRightUnsigned=function shiftRightUnsigned(k){if(isLong(k))k=k.toInt();if((k&=63)===0)return this;if(k<32)return fromBits(this.low>>>k|this.high<<32-k,this.high>>>k,this.unsigned);if(k===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>k-32,0,this.unsigned)};Be.shru=Be.shiftRightUnsigned;Be.shr_u=Be.shiftRightUnsigned;Be.rotateLeft=function rotateLeft(k){var v;if(isLong(k))k=k.toInt();if((k&=63)===0)return this;if(k===32)return fromBits(this.high,this.low,this.unsigned);if(k<32){v=32-k;return fromBits(this.low<>>v,this.high<>>v,this.unsigned)}k-=32;v=32-k;return fromBits(this.high<>>v,this.low<>>v,this.unsigned)};Be.rotl=Be.rotateLeft;Be.rotateRight=function rotateRight(k){var v;if(isLong(k))k=k.toInt();if((k&=63)===0)return this;if(k===32)return fromBits(this.high,this.low,this.unsigned);if(k<32){v=32-k;return fromBits(this.high<>>k,this.low<>>k,this.unsigned)}k-=32;v=32-k;return fromBits(this.low<>>k,this.high<>>k,this.unsigned)};Be.rotr=Be.rotateRight;Be.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};Be.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};Be.toBytes=function toBytes(k){return k?this.toBytesLE():this.toBytesBE()};Be.toBytesLE=function toBytesLE(){var k=this.high,v=this.low;return[v&255,v>>>8&255,v>>>16&255,v>>>24,k&255,k>>>8&255,k>>>16&255,k>>>24]};Be.toBytesBE=function toBytesBE(){var k=this.high,v=this.low;return[k>>>24,k>>>16&255,k>>>8&255,k&255,v>>>24,v>>>16&255,v>>>8&255,v&255]};Long.fromBytes=function fromBytes(k,v,E){return E?Long.fromBytesLE(k,v):Long.fromBytesBE(k,v)};Long.fromBytesLE=function fromBytesLE(k,v){return new Long(k[0]|k[1]<<8|k[2]<<16|k[3]<<24,k[4]|k[5]<<8|k[6]<<16|k[7]<<24,v)};Long.fromBytesBE=function fromBytesBE(k,v){return new Long(k[4]<<24|k[5]<<16|k[6]<<8|k[7],k[0]<<24|k[1]<<16|k[2]<<8|k[3],v)}},46348:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.importAssertions=importAssertions;var P=_interopRequireWildcard(E(31988));function _getRequireWildcardCache(k){if(typeof WeakMap!=="function")return null;var v=new WeakMap;var E=new WeakMap;return(_getRequireWildcardCache=function(k){return k?E:v})(k)}function _interopRequireWildcard(k,v){if(!v&&k&&k.__esModule){return k}if(k===null||typeof k!=="object"&&typeof k!=="function"){return{default:k}}var E=_getRequireWildcardCache(v);if(E&&E.has(k)){return E.get(k)}var P={};var R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in k){if(L!=="default"&&Object.prototype.hasOwnProperty.call(k,L)){var N=R?Object.getOwnPropertyDescriptor(k,L):null;if(N&&(N.get||N.set)){Object.defineProperty(P,L,N)}else{P[L]=k[L]}}}P.default=k;if(E){E.set(k,P)}return P}const R="{".charCodeAt(0);const L=" ".charCodeAt(0);const N="assert";const q=1,ae=2,le=4;function importAssertions(k){const v=k.acorn||P;const{tokTypes:E,TokenType:ae}=v;return class extends k{constructor(...k){super(...k);this.assertToken=new ae(N)}_codeAt(k){return this.input.charCodeAt(k)}_eat(k){if(this.type!==k){this.unexpected()}this.next()}readToken(k){let v=0;for(;v=11){if(this.eatContextual("as")){k.exported=this.parseIdent(true);this.checkExport(v,k.exported.name,this.lastTokStart)}else{k.exported=null}}this.expectContextual("from");if(this.type!==E.string){this.unexpected()}k.source=this.parseExprAtom();if(this.type===this.assertToken||this.type===E._with){this.next();const v=this.parseImportAssertions();if(v){k.assertions=v}}this.semicolon();return this.finishNode(k,"ExportAllDeclaration")}if(this.eat(E._default)){this.checkExport(v,"default",this.lastTokStart);var P;if(this.type===E._function||(P=this.isAsyncFunction())){var R=this.startNode();this.next();if(P){this.next()}k.declaration=this.parseFunction(R,q|le,false,P)}else if(this.type===E._class){var L=this.startNode();k.declaration=this.parseClass(L,"nullableID")}else{k.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(k,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){k.declaration=this.parseStatement(null);if(k.declaration.type==="VariableDeclaration"){this.checkVariableExport(v,k.declaration.declarations)}else{this.checkExport(v,k.declaration.id.name,k.declaration.id.start)}k.specifiers=[];k.source=null}else{k.declaration=null;k.specifiers=this.parseExportSpecifiers(v);if(this.eatContextual("from")){if(this.type!==E.string){this.unexpected()}k.source=this.parseExprAtom();if(this.type===this.assertToken||this.type===E._with){this.next();const v=this.parseImportAssertions();if(v){k.assertions=v}}}else{for(var N=0,ae=k.specifiers;N{if(!E.descriptionFileData)return N();const q=R(k,E);if(!q)return N();const ae=P.getField(E.descriptionFileData,this.field);if(ae===null||typeof ae!=="object"){if(L.log)L.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return N()}const le=Object.prototype.hasOwnProperty.call(ae,q)?ae[q]:q.startsWith("./")?ae[q.slice(2)]:undefined;if(le===q)return N();if(le===undefined)return N();if(le===false){const k={...E,path:false};if(typeof L.yield==="function"){L.yield(k);return N(null,null)}return N(null,k)}const pe={...E,path:E.descriptionFileRoot,request:le,fullySpecified:false};k.doResolve(v,pe,"aliased from description file "+E.descriptionFilePath+" with mapping '"+q+"' to '"+le+"'",L,((k,v)=>{if(k)return N(k);if(v===undefined)return N(null,null);N(null,v)}))}))}}},68345:function(k,v,E){"use strict";const P=E(29779);const{PathType:R,getType:L}=E(39840);k.exports=class AliasPlugin{constructor(k,v,E){this.source=k;this.options=Array.isArray(v)?v:[v];this.target=E}apply(k){const v=k.ensureHook(this.target);const getAbsolutePathWithSlashEnding=v=>{const E=L(v);if(E===R.AbsolutePosix||E===R.AbsoluteWin){return k.join(v,"_").slice(0,-1)}return null};const isSubPath=(k,v)=>{const E=getAbsolutePathWithSlashEnding(v);if(!E)return false;return k.startsWith(E)};k.getHook(this.source).tapAsync("AliasPlugin",((E,R,L)=>{const N=E.request||E.path;if(!N)return L();P(this.options,((L,q)=>{let ae=false;if(N===L.name||!L.onlyModule&&(E.request?N.startsWith(`${L.name}/`):isSubPath(N,L.name))){const le=N.slice(L.name.length);const resolveWithAlias=(P,q)=>{if(P===false){const k={...E,path:false};if(typeof R.yield==="function"){R.yield(k);return q(null,null)}return q(null,k)}if(N!==P&&!N.startsWith(P+"/")){ae=true;const N=P+le;const pe={...E,request:N,fullySpecified:false};return k.doResolve(v,pe,"aliased with mapping '"+L.name+"': '"+P+"' to '"+N+"'",R,((k,v)=>{if(k)return q(k);if(v)return q(null,v);return q()}))}return q()};const stoppingCallback=(k,v)=>{if(k)return q(k);if(v)return q(null,v);if(ae)return q(null,null);return q()};if(Array.isArray(L.alias)){return P(L.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(L.alias,stoppingCallback)}}return q()}),L)}))}}},49225:function(k){"use strict";k.exports=class AppendPlugin{constructor(k,v,E){this.source=k;this.appending=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("AppendPlugin",((E,P,R)=>{const L={...E,path:E.path+this.appending,relativePath:E.relativePath&&E.relativePath+this.appending};k.doResolve(v,L,this.appending,P,R)}))}}},75943:function(k,v,E){"use strict";const P=E(77282).nextTick;const dirname=k=>{let v=k.length-1;while(v>=0){const E=k.charCodeAt(v);if(E===47||E===92)break;v--}if(v<0)return"";return k.slice(0,v)};const runCallbacks=(k,v,E)=>{if(k.length===1){k[0](v,E);k.length=0;return}let P;for(const R of k){try{R(v,E)}catch(k){if(!P)P=k}}k.length=0;if(P)throw P};class OperationMergerBackend{constructor(k,v,E){this._provider=k;this._syncProvider=v;this._providerContext=E;this._activeAsyncOperations=new Map;this.provide=this._provider?(v,E,P)=>{if(typeof E==="function"){P=E;E=undefined}if(E){return this._provider.call(this._providerContext,v,E,P)}if(typeof v!=="string"){P(new TypeError("path must be a string"));return}let R=this._activeAsyncOperations.get(v);if(R){R.push(P);return}this._activeAsyncOperations.set(v,R=[P]);k(v,((k,E)=>{this._activeAsyncOperations.delete(v);runCallbacks(R,k,E)}))}:null;this.provideSync=this._syncProvider?(k,v)=>this._syncProvider.call(this._providerContext,k,v):null}purge(){}purgeParent(){}}const R=0;const L=1;const N=2;class CacheBackend{constructor(k,v,E,P){this._duration=k;this._provider=v;this._syncProvider=E;this._providerContext=P;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let k=0;k<10;k++)this._levels.push(new Set);for(let v=5e3;v{this._activeAsyncOperations.delete(k);this._storeResult(k,v,E);this._enterAsyncMode();runCallbacks(N,v,E)}))}provideSync(k,v){if(typeof k!=="string"){throw new TypeError("path must be a string")}if(v){return this._syncProvider.call(this._providerContext,k,v)}if(this._mode===L){this._runDecays()}let E=this._data.get(k);if(E!==undefined){if(E.err)throw E.err;return E.result}const P=this._activeAsyncOperations.get(k);this._activeAsyncOperations.delete(k);let R;try{R=this._syncProvider.call(this._providerContext,k)}catch(v){this._storeResult(k,v,undefined);this._enterSyncModeWhenIdle();if(P){runCallbacks(P,v,undefined)}throw v}this._storeResult(k,undefined,R);this._enterSyncModeWhenIdle();if(P){runCallbacks(P,undefined,R)}return R}purge(k){if(!k){if(this._mode!==R){this._data.clear();for(const k of this._levels){k.clear()}this._enterIdleMode()}}else if(typeof k==="string"){for(let[v,E]of this._data){if(v.startsWith(k)){this._data.delete(v);E.level.delete(v)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[v,E]of this._data){for(const P of k){if(v.startsWith(P)){this._data.delete(v);E.level.delete(v);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(k){if(!k){this.purge()}else if(typeof k==="string"){this.purge(dirname(k))}else{const v=new Set;for(const E of k){v.add(dirname(E))}this.purge(v)}}_storeResult(k,v,E){if(this._data.has(k))return;const P=this._levels[this._currentLevel];this._data.set(k,{err:v,result:E,level:P});P.add(k)}_decayLevel(){const k=(this._currentLevel+1)%this._levels.length;const v=this._levels[k];this._currentLevel=k;for(let k of v){this._data.delete(k)}v.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 k=0;switch(this._mode){case N:return;case R:this._nextDecay=Date.now()+this._tickInterval;k=this._tickInterval;break;case L:this._runDecays();if(this._mode===R)return;k=Math.max(0,this._nextDecay-Date.now());break}this._mode=N;const v=setTimeout((()=>{this._mode=L;this._runDecays()}),k);if(v.unref)v.unref();this._timeout=v}_enterSyncModeWhenIdle(){if(this._mode===R){this._mode=L;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=R;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(k,v,E,P)=>{if(k>0){return new CacheBackend(k,v,E,P)}return new OperationMergerBackend(v,E,P)};k.exports=class CachedInputFileSystem{constructor(k,v){this.fileSystem=k;this._lstatBackend=createBackend(v,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const E=this._lstatBackend.provide;this.lstat=E;const P=this._lstatBackend.provideSync;this.lstatSync=P;this._statBackend=createBackend(v,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const R=this._statBackend.provide;this.stat=R;const L=this._statBackend.provideSync;this.statSync=L;this._readdirBackend=createBackend(v,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const N=this._readdirBackend.provide;this.readdir=N;const q=this._readdirBackend.provideSync;this.readdirSync=q;this._readFileBackend=createBackend(v,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const ae=this._readFileBackend.provide;this.readFile=ae;const le=this._readFileBackend.provideSync;this.readFileSync=le;this._readJsonBackend=createBackend(v,this.fileSystem.readJson||this.readFile&&((k,v)=>{this.readFile(k,((k,E)=>{if(k)return v(k);if(!E||E.length===0)return v(new Error("No file content"));let P;try{P=JSON.parse(E.toString("utf-8"))}catch(k){return v(k)}v(null,P)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(k=>{const v=this.readFileSync(k);const E=JSON.parse(v.toString("utf-8"));return E}),this.fileSystem);const pe=this._readJsonBackend.provide;this.readJson=pe;const me=this._readJsonBackend.provideSync;this.readJsonSync=me;this._readlinkBackend=createBackend(v,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const ye=this._readlinkBackend.provide;this.readlink=ye;const _e=this._readlinkBackend.provideSync;this.readlinkSync=_e}purge(k){this._statBackend.purge(k);this._lstatBackend.purge(k);this._readdirBackend.purgeParent(k);this._readFileBackend.purge(k);this._readlinkBackend.purge(k);this._readJsonBackend.purge(k)}}},63871:function(k,v,E){"use strict";const P=E(9010).basename;k.exports=class CloneBasenamePlugin{constructor(k,v){this.source=k;this.target=v}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("CloneBasenamePlugin",((E,R,L)=>{const N=E.path;const q=P(N);const ae=k.join(N,q);const le={...E,path:ae,relativePath:E.relativePath&&k.join(E.relativePath,q)};k.doResolve(v,le,"using path: "+ae,R,L)}))}}},16596:function(k){"use strict";k.exports=class ConditionalPlugin{constructor(k,v,E,P,R){this.source=k;this.test=v;this.message=E;this.allowAlternatives=P;this.target=R}apply(k){const v=k.ensureHook(this.target);const{test:E,message:P,allowAlternatives:R}=this;const L=Object.keys(E);k.getHook(this.source).tapAsync("ConditionalPlugin",((N,q,ae)=>{for(const k of L){if(N[k]!==E[k])return ae()}k.doResolve(v,N,P,q,R?ae:(k,v)=>{if(k)return ae(k);if(v===undefined)return ae(null,null);ae(null,v)})}))}}},29559:function(k,v,E){"use strict";const P=E(40886);k.exports=class DescriptionFilePlugin{constructor(k,v,E,P){this.source=k;this.filenames=v;this.pathIsFile=E;this.target=P}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("DescriptionFilePlugin",((E,R,L)=>{const N=E.path;if(!N)return L();const q=this.pathIsFile?P.cdUp(N):N;if(!q)return L();P.loadDescriptionFile(k,q,this.filenames,E.descriptionFilePath?{path:E.descriptionFilePath,content:E.descriptionFileData,directory:E.descriptionFileRoot}:undefined,R,((P,ae)=>{if(P)return L(P);if(!ae){if(R.log)R.log(`No description file found in ${q} or above`);return L()}const le="."+N.slice(ae.directory.length).replace(/\\/g,"/");const pe={...E,descriptionFilePath:ae.path,descriptionFileData:ae.content,descriptionFileRoot:ae.directory,relativePath:le};k.doResolve(v,pe,"using description file: "+ae.path+" (relative path: "+le+")",R,((k,v)=>{if(k)return L(k);if(v===undefined)return L(null,null);L(null,v)}))}))}))}}},40886:function(k,v,E){"use strict";const P=E(29779);function loadDescriptionFile(k,v,E,R,L,N){(function findDescriptionFile(){if(R&&R.directory===v){return N(null,R)}P(E,((E,P)=>{const R=k.join(v,E);if(k.fileSystem.readJson){k.fileSystem.readJson(R,((k,v)=>{if(k){if(typeof k.code!=="undefined"){if(L.missingDependencies){L.missingDependencies.add(R)}return P()}if(L.fileDependencies){L.fileDependencies.add(R)}return onJson(k)}if(L.fileDependencies){L.fileDependencies.add(R)}onJson(null,v)}))}else{k.fileSystem.readFile(R,((k,v)=>{if(k){if(L.missingDependencies){L.missingDependencies.add(R)}return P()}if(L.fileDependencies){L.fileDependencies.add(R)}let E;if(v){try{E=JSON.parse(v.toString())}catch(k){return onJson(k)}}else{return onJson(new Error("No content in file"))}onJson(null,E)}))}function onJson(k,E){if(k){if(L.log)L.log(R+" (directory description file): "+k);else k.message=R+" (directory description file): "+k;return P(k)}P(null,{content:E,directory:v,path:R})}}),((k,E)=>{if(k)return N(k);if(E){return N(null,E)}else{const k=cdUp(v);if(!k){return N()}else{v=k;return findDescriptionFile()}}}))})()}function getField(k,v){if(!k)return undefined;if(Array.isArray(v)){let E=k;for(let k=0;k{const L=k.fileSystem;const N=E.path;if(!N)return R();L.stat(N,((L,q)=>{if(L||!q){if(P.missingDependencies)P.missingDependencies.add(N);if(P.log)P.log(N+" doesn't exist");return R()}if(!q.isDirectory()){if(P.missingDependencies)P.missingDependencies.add(N);if(P.log)P.log(N+" is not a directory");return R()}if(P.fileDependencies)P.fileDependencies.add(N);k.doResolve(v,E,`existing directory ${N}`,P,R)}))}))}}},77803:function(k,v,E){"use strict";const P=E(71017);const R=E(40886);const L=E(29779);const{processExportsField:N}=E(36914);const{parseIdentifier:q}=E(60097);const{checkImportsExportsFieldTarget:ae}=E(39840);k.exports=class ExportsFieldPlugin{constructor(k,v,E,P){this.source=k;this.target=P;this.conditionNames=v;this.fieldName=E;this.fieldProcessorCache=new WeakMap}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("ExportsFieldPlugin",((E,le,pe)=>{if(!E.descriptionFilePath)return pe();if(E.relativePath!=="."||E.request===undefined)return pe();const me=E.query||E.fragment?(E.request==="."?"./":E.request)+E.query+E.fragment:E.request;const ye=R.getField(E.descriptionFileData,this.fieldName);if(!ye)return pe();if(E.directory){return pe(new Error(`Resolving to directories is not possible with the exports field (request was ${me}/)`))}let _e;try{let k=this.fieldProcessorCache.get(E.descriptionFileData);if(k===undefined){k=N(ye);this.fieldProcessorCache.set(E.descriptionFileData,k)}_e=k(me,this.conditionNames)}catch(k){if(le.log){le.log(`Exports field in ${E.descriptionFilePath} can't be processed: ${k}`)}return pe(k)}if(_e.length===0){return pe(new Error(`Package path ${me} is not exported from package ${E.descriptionFileRoot} (see exports field in ${E.descriptionFilePath})`))}L(_e,((R,L)=>{const N=q(R);if(!N)return L();const[pe,me,ye]=N;const _e=ae(pe);if(_e){return L(_e)}const Ie={...E,request:undefined,path:P.join(E.descriptionFileRoot,pe),relativePath:pe,query:me,fragment:ye};k.doResolve(v,Ie,"using exports field: "+R,le,L)}),((k,v)=>pe(k,v||null)))}))}}},70868:function(k,v,E){"use strict";const P=E(29779);k.exports=class ExtensionAliasPlugin{constructor(k,v,E){this.source=k;this.options=v;this.target=E}apply(k){const v=k.ensureHook(this.target);const{extension:E,alias:R}=this.options;k.getHook(this.source).tapAsync("ExtensionAliasPlugin",((L,N,q)=>{const ae=L.request;if(!ae||!ae.endsWith(E))return q();const le=typeof R==="string";const resolve=(P,R,q)=>{const pe=`${ae.slice(0,-E.length)}${P}`;return k.doResolve(v,{...L,request:pe,fullySpecified:true},`aliased from extension alias with mapping '${E}' to '${P}'`,N,((k,v)=>{if(!le&&q){if(q!==this.options.alias.length){if(N.log){N.log(`Failed to alias from extension alias with mapping '${E}' to '${P}' for '${pe}': ${k}`)}return R(null,v)}return R(k,v)}else{R(k,v)}}))};const stoppingCallback=(k,v)=>{if(k)return q(k);if(v)return q(null,v);return q(null,null)};if(le){resolve(R,stoppingCallback)}else if(R.length>1){P(R,resolve,stoppingCallback)}else{resolve(R[0],stoppingCallback)}}))}}},79561:function(k){"use strict";k.exports=class FileExistsPlugin{constructor(k,v){this.source=k;this.target=v}apply(k){const v=k.ensureHook(this.target);const E=k.fileSystem;k.getHook(this.source).tapAsync("FileExistsPlugin",((P,R,L)=>{const N=P.path;if(!N)return L();E.stat(N,((E,q)=>{if(E||!q){if(R.missingDependencies)R.missingDependencies.add(N);if(R.log)R.log(N+" doesn't exist");return L()}if(!q.isFile()){if(R.missingDependencies)R.missingDependencies.add(N);if(R.log)R.log(N+" is not a file");return L()}if(R.fileDependencies)R.fileDependencies.add(N);k.doResolve(v,P,"existing file: "+N,R,L)}))}))}}},33484:function(k,v,E){"use strict";const P=E(71017);const R=E(40886);const L=E(29779);const{processImportsField:N}=E(36914);const{parseIdentifier:q}=E(60097);const{checkImportsExportsFieldTarget:ae}=E(39840);const le=".".charCodeAt(0);k.exports=class ImportsFieldPlugin{constructor(k,v,E,P,R){this.source=k;this.targetFile=P;this.targetPackage=R;this.conditionNames=v;this.fieldName=E;this.fieldProcessorCache=new WeakMap}apply(k){const v=k.ensureHook(this.targetFile);const E=k.ensureHook(this.targetPackage);k.getHook(this.source).tapAsync("ImportsFieldPlugin",((pe,me,ye)=>{if(!pe.descriptionFilePath||pe.request===undefined){return ye()}const _e=pe.request+pe.query+pe.fragment;const Ie=R.getField(pe.descriptionFileData,this.fieldName);if(!Ie)return ye();if(pe.directory){return ye(new Error(`Resolving to directories is not possible with the imports field (request was ${_e}/)`))}let Me;try{let k=this.fieldProcessorCache.get(pe.descriptionFileData);if(k===undefined){k=N(Ie);this.fieldProcessorCache.set(pe.descriptionFileData,k)}Me=k(_e,this.conditionNames)}catch(k){if(me.log){me.log(`Imports field in ${pe.descriptionFilePath} can't be processed: ${k}`)}return ye(k)}if(Me.length===0){return ye(new Error(`Package import ${_e} is not imported from package ${pe.descriptionFileRoot} (see imports field in ${pe.descriptionFilePath})`))}L(Me,((R,L)=>{const N=q(R);if(!N)return L();const[ye,_e,Ie]=N;const Me=ae(ye);if(Me){return L(Me)}switch(ye.charCodeAt(0)){case le:{const E={...pe,request:undefined,path:P.join(pe.descriptionFileRoot,ye),relativePath:ye,query:_e,fragment:Ie};k.doResolve(v,E,"using imports field: "+R,me,L);break}default:{const v={...pe,request:ye,relativePath:ye,fullySpecified:true,query:_e,fragment:Ie};k.doResolve(E,v,"using imports field: "+R,me,L)}}}),((k,v)=>ye(k,v||null)))}))}}},82782:function(k){"use strict";const v="@".charCodeAt(0);k.exports=class JoinRequestPartPlugin{constructor(k,v){this.source=k;this.target=v}apply(k){const E=k.ensureHook(this.target);k.getHook(this.source).tapAsync("JoinRequestPartPlugin",((P,R,L)=>{const N=P.request||"";let q=N.indexOf("/",3);if(q>=0&&N.charCodeAt(2)===v){q=N.indexOf("/",q+1)}let ae;let le;let pe;if(q<0){ae=N;le=".";pe=false}else{ae=N.slice(0,q);le="."+N.slice(q);pe=P.fullySpecified}const me={...P,path:k.join(P.path,ae),relativePath:P.relativePath&&k.join(P.relativePath,ae),request:le,fullySpecified:pe};k.doResolve(E,me,null,R,L)}))}}},65841:function(k){"use strict";k.exports=class JoinRequestPlugin{constructor(k,v){this.source=k;this.target=v}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("JoinRequestPlugin",((E,P,R)=>{const L=E.path;const N=E.request;const q={...E,path:k.join(L,N),relativePath:E.relativePath&&k.join(E.relativePath,N),request:undefined};k.doResolve(v,q,null,P,R)}))}}},92305:function(k){"use strict";k.exports=class LogInfoPlugin{constructor(k){this.source=k}apply(k){const v=this.source;k.getHook(this.source).tapAsync("LogInfoPlugin",((k,E,P)=>{if(!E.log)return P();const R=E.log;const L="["+v+"] ";if(k.path)R(L+"Resolving in directory: "+k.path);if(k.request)R(L+"Resolving request: "+k.request);if(k.module)R(L+"Request is an module request.");if(k.directory)R(L+"Request is a directory request.");if(k.query)R(L+"Resolving request query: "+k.query);if(k.fragment)R(L+"Resolving request fragment: "+k.fragment);if(k.descriptionFilePath)R(L+"Has description data from "+k.descriptionFilePath);if(k.relativePath)R(L+"Relative path from description file is: "+k.relativePath);P()}))}}},38718:function(k,v,E){"use strict";const P=E(71017);const R=E(40886);const L=Symbol("alreadyTriedMainField");k.exports=class MainFieldPlugin{constructor(k,v,E){this.source=k;this.options=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("MainFieldPlugin",((E,N,q)=>{if(E.path!==E.descriptionFileRoot||E[L]===E.descriptionFilePath||!E.descriptionFilePath)return q();const ae=P.basename(E.descriptionFilePath);let le=R.getField(E.descriptionFileData,this.options.name);if(!le||typeof le!=="string"||le==="."||le==="./"){return q()}if(this.options.forceRelative&&!/^\.\.?\//.test(le))le="./"+le;const pe={...E,request:le,module:false,directory:le.endsWith("/"),[L]:E.descriptionFilePath};return k.doResolve(v,pe,"use "+le+" from "+this.options.name+" in "+ae,N,q)}))}}},44869:function(k,v,E){"use strict";const P=E(29779);const R=E(9010);k.exports=class ModulesInHierarchicalDirectoriesPlugin{constructor(k,v,E){this.source=k;this.directories=[].concat(v);this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("ModulesInHierarchicalDirectoriesPlugin",((E,L,N)=>{const q=k.fileSystem;const ae=R(E.path).paths.map((v=>this.directories.map((E=>k.join(v,E))))).reduce(((k,v)=>{k.push.apply(k,v);return k}),[]);P(ae,((P,R)=>{q.stat(P,((N,q)=>{if(!N&&q&&q.isDirectory()){const N={...E,path:P,request:"./"+E.request,module:false};const q="looking for modules in "+P;return k.doResolve(v,N,q,L,R)}if(L.log)L.log(P+" doesn't exist or is not a directory");if(L.missingDependencies)L.missingDependencies.add(P);return R()}))}),N)}))}}},91119:function(k){"use strict";k.exports=class ModulesInRootPlugin{constructor(k,v,E){this.source=k;this.path=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("ModulesInRootPlugin",((E,P,R)=>{const L={...E,path:this.path,request:"./"+E.request,module:false};k.doResolve(v,L,"looking for modules in "+this.path,P,R)}))}}},72715:function(k){"use strict";k.exports=class NextPlugin{constructor(k,v){this.source=k;this.target=v}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("NextPlugin",((E,P,R)=>{k.doResolve(v,E,null,P,R)}))}}},50802:function(k){"use strict";k.exports=class ParsePlugin{constructor(k,v,E){this.source=k;this.requestOptions=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("ParsePlugin",((E,P,R)=>{const L=k.parse(E.request);const N={...E,...L,...this.requestOptions};if(E.query&&!L.query){N.query=E.query}if(E.fragment&&!L.fragment){N.fragment=E.fragment}if(L&&P.log){if(L.module)P.log("Parsed request is a module");if(L.directory)P.log("Parsed request is a directory")}if(N.request&&!N.query&&N.fragment){const E=N.fragment.endsWith("/");const L={...N,directory:E,request:N.request+(N.directory?"/":"")+(E?N.fragment.slice(0,-1):N.fragment),fragment:""};k.doResolve(v,L,null,P,((E,L)=>{if(E)return R(E);if(L)return R(null,L);k.doResolve(v,N,null,P,R)}));return}k.doResolve(v,N,null,P,R)}))}}},94727:function(k){"use strict";k.exports=class PnpPlugin{constructor(k,v,E){this.source=k;this.pnpApi=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("PnpPlugin",((E,P,R)=>{const L=E.request;if(!L)return R();const N=`${E.path}/`;const q=/^(@[^/]+\/)?[^/]+/.exec(L);if(!q)return R();const ae=q[0];const le=`.${L.slice(ae.length)}`;let pe;let me;try{pe=this.pnpApi.resolveToUnqualified(ae,N,{considerBuiltins:false});if(P.fileDependencies){me=this.pnpApi.resolveToUnqualified("pnpapi",N,{considerBuiltins:false})}}catch(k){if(k.code==="MODULE_NOT_FOUND"&&k.pnpCode==="UNDECLARED_DEPENDENCY"){if(P.log){P.log(`request is not managed by the pnpapi`);for(const v of k.message.split("\n").filter(Boolean))P.log(` ${v}`)}return R()}return R(k)}if(pe===ae)return R();if(me&&P.fileDependencies){P.fileDependencies.add(me)}const ye={...E,path:pe,request:le,ignoreSymlinks:true,fullySpecified:E.fullySpecified&&le!=="."};k.doResolve(v,ye,`resolved by pnp to ${pe}`,P,((k,v)=>{if(k)return R(k);if(v)return R(null,v);return R(null,null)}))}))}}},30558:function(k,v,E){"use strict";const{AsyncSeriesBailHook:P,AsyncSeriesHook:R,SyncHook:L}=E(79846);const N=E(29824);const{parseIdentifier:q}=E(60097);const{normalize:ae,cachedJoin:le,getType:pe,PathType:me}=E(39840);function toCamelCase(k){return k.replace(/-([a-z])/g,(k=>k.slice(1).toUpperCase()))}class Resolver{static createStackEntry(k,v){return k.name+": ("+v.path+") "+(v.request||"")+(v.query||"")+(v.fragment||"")+(v.directory?" directory":"")+(v.module?" module":"")}constructor(k,v){this.fileSystem=k;this.options=v;this.hooks={resolveStep:new L(["hook","request"],"resolveStep"),noResolve:new L(["request","error"],"noResolve"),resolve:new P(["request","resolveContext"],"resolve"),result:new R(["result","resolveContext"],"result")}}ensureHook(k){if(typeof k!=="string"){return k}k=toCamelCase(k);if(/^before/.test(k)){return this.ensureHook(k[6].toLowerCase()+k.slice(7)).withOptions({stage:-10})}if(/^after/.test(k)){return this.ensureHook(k[5].toLowerCase()+k.slice(6)).withOptions({stage:10})}const v=this.hooks[k];if(!v){this.hooks[k]=new P(["request","resolveContext"],k);return this.hooks[k]}return v}getHook(k){if(typeof k!=="string"){return k}k=toCamelCase(k);if(/^before/.test(k)){return this.getHook(k[6].toLowerCase()+k.slice(7)).withOptions({stage:-10})}if(/^after/.test(k)){return this.getHook(k[5].toLowerCase()+k.slice(6)).withOptions({stage:10})}const v=this.hooks[k];if(!v){throw new Error(`Hook ${k} doesn't exist`)}return v}resolveSync(k,v,E){let P=undefined;let R=undefined;let L=false;this.resolve(k,v,E,{},((k,v)=>{P=k;R=v;L=true}));if(!L){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if(P)throw P;if(R===undefined)throw new Error("No result");return R}resolve(k,v,E,P,R){if(!k||typeof k!=="object")return R(new Error("context argument is not an object"));if(typeof v!=="string")return R(new Error("path argument is not a string"));if(typeof E!=="string")return R(new Error("request argument is not a string"));if(!P)return R(new Error("resolveContext argument is not set"));const L={context:k,path:v,request:E};let N;let q=false;let ae;if(typeof P.yield==="function"){const k=P.yield;N=v=>{k(v);q=true};ae=k=>{if(k){N(k)}R(null)}}const le=`resolve '${E}' in '${v}'`;const finishResolved=k=>R(null,k.path===false?false:`${k.path.replace(/#/g,"\0#")}${k.query?k.query.replace(/#/g,"\0#"):""}${k.fragment||""}`,k);const finishWithoutResolve=k=>{const v=new Error("Can't "+le);v.details=k.join("\n");this.hooks.noResolve.call(L,v);return R(v)};if(P.log){const k=P.log;const v=[];return this.doResolve(this.hooks.resolve,L,le,{log:E=>{k(E);v.push(E)},yield:N,fileDependencies:P.fileDependencies,contextDependencies:P.contextDependencies,missingDependencies:P.missingDependencies,stack:P.stack},((k,E)=>{if(k)return R(k);if(q||E&&N){return ae(E)}if(E)return finishResolved(E);return finishWithoutResolve(v)}))}else{return this.doResolve(this.hooks.resolve,L,le,{log:undefined,yield:N,fileDependencies:P.fileDependencies,contextDependencies:P.contextDependencies,missingDependencies:P.missingDependencies,stack:P.stack},((k,v)=>{if(k)return R(k);if(q||v&&N){return ae(v)}if(v)return finishResolved(v);const E=[];return this.doResolve(this.hooks.resolve,L,le,{log:k=>E.push(k),yield:N,stack:P.stack},((k,v)=>{if(k)return R(k);if(q||v&&N){return ae(v)}return finishWithoutResolve(E)}))}))}}doResolve(k,v,E,P,R){const L=Resolver.createStackEntry(k,v);let q;if(P.stack){q=new Set(P.stack);if(P.stack.has(L)){const k=new Error("Recursion in resolving\nStack:\n "+Array.from(q).join("\n "));k.recursion=true;if(P.log)P.log("abort resolving because of recursion");return R(k)}q.add(L)}else{q=new Set([L])}this.hooks.resolveStep.call(k,v);if(k.isUsed()){const L=N({log:P.log,yield:P.yield,fileDependencies:P.fileDependencies,contextDependencies:P.contextDependencies,missingDependencies:P.missingDependencies,stack:q},E);return k.callAsync(v,L,((k,v)=>{if(k)return R(k);if(v)return R(null,v);R()}))}else{R()}}parse(k){const v={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const E=q(k);if(!E)return v;[v.request,v.query,v.fragment]=E;if(v.request.length>0){v.internal=this.isPrivate(k);v.module=this.isModule(v.request);v.directory=this.isDirectory(v.request);if(v.directory){v.request=v.request.slice(0,-1)}}return v}isModule(k){return pe(k)===me.Normal}isPrivate(k){return pe(k)===me.Internal}isDirectory(k){return k.endsWith("/")}join(k,v){return le(k,v)}normalize(k){return ae(k)}}k.exports=Resolver},77747:function(k,v,E){"use strict";const P=E(77282).versions;const R=E(30558);const{getType:L,PathType:N}=E(39840);const q=E(19674);const ae=E(14041);const le=E(68345);const pe=E(49225);const me=E(16596);const ye=E(29559);const _e=E(27271);const Ie=E(77803);const Me=E(70868);const Te=E(79561);const je=E(33484);const Ne=E(82782);const Be=E(65841);const qe=E(38718);const Ue=E(44869);const Ge=E(91119);const He=E(72715);const We=E(50802);const Qe=E(94727);const Je=E(34682);const Ve=E(43684);const Ke=E(55763);const Ye=E(63816);const Xe=E(83012);const Ze=E(2458);const et=E(61395);const tt=E(95286);function processPnpApiOption(k){if(k===undefined&&P.pnp){return E(35125)}return k||null}function normalizeAlias(k){return typeof k==="object"&&!Array.isArray(k)&&k!==null?Object.keys(k).map((v=>{const E={name:v,onlyModule:false,alias:k[v]};if(/\$$/.test(v)){E.onlyModule=true;E.name=v.slice(0,-1)}return E})):k||[]}function createOptions(k){const v=new Set(k.mainFields||["main"]);const E=[];for(const k of v){if(typeof k==="string"){E.push({name:[k],forceRelative:true})}else if(Array.isArray(k)){E.push({name:k,forceRelative:true})}else{E.push({name:Array.isArray(k.name)?k.name:[k.name],forceRelative:k.forceRelative})}}return{alias:normalizeAlias(k.alias),fallback:normalizeAlias(k.fallback),aliasFields:new Set(k.aliasFields),cachePredicate:k.cachePredicate||function(){return true},cacheWithContext:typeof k.cacheWithContext!=="undefined"?k.cacheWithContext:true,exportsFields:new Set(k.exportsFields||["exports"]),importsFields:new Set(k.importsFields||["imports"]),conditionNames:new Set(k.conditionNames),descriptionFiles:Array.from(new Set(k.descriptionFiles||["package.json"])),enforceExtension:k.enforceExtension===undefined?k.extensions&&k.extensions.includes("")?true:false:k.enforceExtension,extensions:new Set(k.extensions||[".js",".json",".node"]),extensionAlias:k.extensionAlias?Object.keys(k.extensionAlias).map((v=>({extension:v,alias:k.extensionAlias[v]}))):[],fileSystem:k.useSyncFileSystemCalls?new q(k.fileSystem):k.fileSystem,unsafeCache:k.unsafeCache&&typeof k.unsafeCache!=="object"?{}:k.unsafeCache||false,symlinks:typeof k.symlinks!=="undefined"?k.symlinks:true,resolver:k.resolver,modules:mergeFilteredToArray(Array.isArray(k.modules)?k.modules:k.modules?[k.modules]:["node_modules"],(k=>{const v=L(k);return v===N.Normal||v===N.Relative})),mainFields:E,mainFiles:new Set(k.mainFiles||["index"]),plugins:k.plugins||[],pnpApi:processPnpApiOption(k.pnpApi),roots:new Set(k.roots||undefined),fullySpecified:k.fullySpecified||false,resolveToContext:k.resolveToContext||false,preferRelative:k.preferRelative||false,preferAbsolute:k.preferAbsolute||false,restrictions:new Set(k.restrictions)}}v.createResolver=function(k){const v=createOptions(k);const{alias:E,fallback:P,aliasFields:L,cachePredicate:N,cacheWithContext:q,conditionNames:nt,descriptionFiles:st,enforceExtension:rt,exportsFields:ot,extensionAlias:it,importsFields:at,extensions:ct,fileSystem:lt,fullySpecified:ut,mainFields:pt,mainFiles:dt,modules:ft,plugins:ht,pnpApi:mt,resolveToContext:gt,preferRelative:yt,preferAbsolute:bt,symlinks:xt,unsafeCache:kt,resolver:vt,restrictions:wt,roots:At}=v;const Et=ht.slice();const Ct=vt?vt:new R(lt,v);Ct.ensureHook("resolve");Ct.ensureHook("internalResolve");Ct.ensureHook("newInternalResolve");Ct.ensureHook("parsedResolve");Ct.ensureHook("describedResolve");Ct.ensureHook("rawResolve");Ct.ensureHook("normalResolve");Ct.ensureHook("internal");Ct.ensureHook("rawModule");Ct.ensureHook("module");Ct.ensureHook("resolveAsModule");Ct.ensureHook("undescribedResolveInPackage");Ct.ensureHook("resolveInPackage");Ct.ensureHook("resolveInExistingDirectory");Ct.ensureHook("relative");Ct.ensureHook("describedRelative");Ct.ensureHook("directory");Ct.ensureHook("undescribedExistingDirectory");Ct.ensureHook("existingDirectory");Ct.ensureHook("undescribedRawFile");Ct.ensureHook("rawFile");Ct.ensureHook("file");Ct.ensureHook("finalFile");Ct.ensureHook("existingFile");Ct.ensureHook("resolved");Ct.hooks.newInteralResolve=Ct.hooks.newInternalResolve;for(const{source:k,resolveOptions:v}of[{source:"resolve",resolveOptions:{fullySpecified:ut}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(kt){Et.push(new et(k,N,kt,q,`new-${k}`));Et.push(new We(`new-${k}`,v,"parsed-resolve"))}else{Et.push(new We(k,v,"parsed-resolve"))}}Et.push(new ye("parsed-resolve",st,false,"described-resolve"));Et.push(new He("after-parsed-resolve","described-resolve"));Et.push(new He("described-resolve","raw-resolve"));if(P.length>0){Et.push(new le("described-resolve",P,"internal-resolve"))}if(E.length>0){Et.push(new le("raw-resolve",E,"internal-resolve"))}L.forEach((k=>{Et.push(new ae("raw-resolve",k,"internal-resolve"))}));it.forEach((k=>Et.push(new Me("raw-resolve",k,"normal-resolve"))));Et.push(new He("raw-resolve","normal-resolve"));if(yt){Et.push(new Be("after-normal-resolve","relative"))}Et.push(new me("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));Et.push(new me("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(bt){Et.push(new Be("after-normal-resolve","relative"))}if(At.size>0){Et.push(new Ke("after-normal-resolve",At,"relative"))}if(!yt&&!bt){Et.push(new Be("after-normal-resolve","relative"))}at.forEach((k=>{Et.push(new je("internal",nt,k,"relative","internal-resolve"))}));ot.forEach((k=>{Et.push(new Ye("raw-module",k,"resolve-as-module"))}));ft.forEach((k=>{if(Array.isArray(k)){if(k.includes("node_modules")&&mt){Et.push(new Ue("raw-module",k.filter((k=>k!=="node_modules")),"module"));Et.push(new Qe("raw-module",mt,"undescribed-resolve-in-package"))}else{Et.push(new Ue("raw-module",k,"module"))}}else{Et.push(new Ge("raw-module",k,"module"))}}));Et.push(new Ne("module","resolve-as-module"));if(!gt){Et.push(new me("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}Et.push(new _e("resolve-as-module","undescribed-resolve-in-package"));Et.push(new ye("undescribed-resolve-in-package",st,false,"resolve-in-package"));Et.push(new He("after-undescribed-resolve-in-package","resolve-in-package"));ot.forEach((k=>{Et.push(new Ie("resolve-in-package",nt,k,"relative"))}));Et.push(new He("resolve-in-package","resolve-in-existing-directory"));Et.push(new Be("resolve-in-existing-directory","relative"));Et.push(new ye("relative",st,true,"described-relative"));Et.push(new He("after-relative","described-relative"));if(gt){Et.push(new He("described-relative","directory"))}else{Et.push(new me("described-relative",{directory:false},null,true,"raw-file"));Et.push(new me("described-relative",{fullySpecified:false},"as directory",true,"directory"))}Et.push(new _e("directory","undescribed-existing-directory"));if(gt){Et.push(new He("undescribed-existing-directory","resolved"))}else{Et.push(new ye("undescribed-existing-directory",st,false,"existing-directory"));dt.forEach((k=>{Et.push(new tt("undescribed-existing-directory",k,"undescribed-raw-file"))}));pt.forEach((k=>{Et.push(new qe("existing-directory",k,"resolve-in-existing-directory"))}));dt.forEach((k=>{Et.push(new tt("existing-directory",k,"undescribed-raw-file"))}));Et.push(new ye("undescribed-raw-file",st,true,"raw-file"));Et.push(new He("after-undescribed-raw-file","raw-file"));Et.push(new me("raw-file",{fullySpecified:true},null,false,"file"));if(!rt){Et.push(new Ze("raw-file","no extension","file"))}ct.forEach((k=>{Et.push(new pe("raw-file",k,"file"))}));if(E.length>0)Et.push(new le("file",E,"internal-resolve"));L.forEach((k=>{Et.push(new ae("file",k,"internal-resolve"))}));Et.push(new He("file","final-file"));Et.push(new Te("final-file","existing-file"));if(xt)Et.push(new Xe("existing-file","existing-file"));Et.push(new He("existing-file","resolved"))}const St=Ct.hooks.resolved;if(wt.size>0){Et.push(new Je(St,wt))}Et.push(new Ve(St));for(const k of Et){if(typeof k==="function"){k.call(Ct,Ct)}else{k.apply(Ct)}}return Ct};function mergeFilteredToArray(k,v){const E=[];const P=new Set(k);for(const k of P){if(v(k)){const v=E.length>0?E[E.length-1]:undefined;if(Array.isArray(v)){v.push(k)}else{E.push([k])}}else{E.push(k)}}return E}},34682:function(k){"use strict";const v="/".charCodeAt(0);const E="\\".charCodeAt(0);const isInside=(k,P)=>{if(!k.startsWith(P))return false;if(k.length===P.length)return true;const R=k.charCodeAt(P.length);return R===v||R===E};k.exports=class RestrictionsPlugin{constructor(k,v){this.source=k;this.restrictions=v}apply(k){k.getHook(this.source).tapAsync("RestrictionsPlugin",((k,v,E)=>{if(typeof k.path==="string"){const P=k.path;for(const k of this.restrictions){if(typeof k==="string"){if(!isInside(P,k)){if(v.log){v.log(`${P} is not inside of the restriction ${k}`)}return E(null,null)}}else if(!k.test(P)){if(v.log){v.log(`${P} doesn't match the restriction ${k}`)}return E(null,null)}}}E()}))}}},43684:function(k){"use strict";k.exports=class ResultPlugin{constructor(k){this.source=k}apply(k){this.source.tapAsync("ResultPlugin",((v,E,P)=>{const R={...v};if(E.log)E.log("reporting result "+R.path);k.hooks.result.callAsync(R,E,(k=>{if(k)return P(k);if(typeof E.yield==="function"){E.yield(R);P(null,null)}else{P(null,R)}}))}))}}},55763:function(k,v,E){"use strict";const P=E(29779);class RootsPlugin{constructor(k,v,E){this.roots=Array.from(v);this.source=k;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("RootsPlugin",((E,R,L)=>{const N=E.request;if(!N)return L();if(!N.startsWith("/"))return L();P(this.roots,((P,L)=>{const q=k.join(P,N.slice(1));const ae={...E,path:q,relativePath:E.relativePath&&q};k.doResolve(v,ae,`root path ${P}`,R,L)}),L)}))}}k.exports=RootsPlugin},63816:function(k,v,E){"use strict";const P=E(40886);const R="/".charCodeAt(0);k.exports=class SelfReferencePlugin{constructor(k,v,E){this.source=k;this.target=E;this.fieldName=v}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("SelfReferencePlugin",((E,L,N)=>{if(!E.descriptionFilePath)return N();const q=E.request;if(!q)return N();const ae=P.getField(E.descriptionFileData,this.fieldName);if(!ae)return N();const le=P.getField(E.descriptionFileData,"name");if(typeof le!=="string")return N();if(q.startsWith(le)&&(q.length===le.length||q.charCodeAt(le.length)===R)){const P=`.${q.slice(le.length)}`;const R={...E,request:P,path:E.descriptionFileRoot,relativePath:"."};k.doResolve(v,R,"self reference",L,N)}else{return N()}}))}}},83012:function(k,v,E){"use strict";const P=E(29779);const R=E(9010);const{getType:L,PathType:N}=E(39840);k.exports=class SymlinkPlugin{constructor(k,v){this.source=k;this.target=v}apply(k){const v=k.ensureHook(this.target);const E=k.fileSystem;k.getHook(this.source).tapAsync("SymlinkPlugin",((q,ae,le)=>{if(q.ignoreSymlinks)return le();const pe=R(q.path);const me=pe.segments;const ye=pe.paths;let _e=false;let Ie=-1;P(ye,((k,v)=>{Ie++;if(ae.fileDependencies)ae.fileDependencies.add(k);E.readlink(k,((k,E)=>{if(!k&&E){me[Ie]=E;_e=true;const k=L(E.toString());if(k===N.AbsoluteWin||k===N.AbsolutePosix){return v(null,Ie)}}v()}))}),((E,P)=>{if(!_e)return le();const R=typeof P==="number"?me.slice(0,P+1):me.slice();const L=R.reduceRight(((v,E)=>k.join(v,E)));const N={...q,path:L};k.doResolve(v,N,"resolved symlink to "+L,ae,le)}))}))}}},19674:function(k){"use strict";function SyncAsyncFileSystemDecorator(k){this.fs=k;this.lstat=undefined;this.lstatSync=undefined;const v=k.lstatSync;if(v){this.lstat=(E,P,R)=>{let L;try{L=v.call(k,E)}catch(k){return(R||P)(k)}(R||P)(null,L)};this.lstatSync=(E,P)=>v.call(k,E,P)}this.stat=(v,E,P)=>{let R;try{R=P?k.statSync(v,E):k.statSync(v)}catch(k){return(P||E)(k)}(P||E)(null,R)};this.statSync=(v,E)=>k.statSync(v,E);this.readdir=(v,E,P)=>{let R;try{R=k.readdirSync(v)}catch(k){return(P||E)(k)}(P||E)(null,R)};this.readdirSync=(v,E)=>k.readdirSync(v,E);this.readFile=(v,E,P)=>{let R;try{R=k.readFileSync(v)}catch(k){return(P||E)(k)}(P||E)(null,R)};this.readFileSync=(v,E)=>k.readFileSync(v,E);this.readlink=(v,E,P)=>{let R;try{R=k.readlinkSync(v)}catch(k){return(P||E)(k)}(P||E)(null,R)};this.readlinkSync=(v,E)=>k.readlinkSync(v,E);this.readJson=undefined;this.readJsonSync=undefined;const E=k.readJsonSync;if(E){this.readJson=(v,P,R)=>{let L;try{L=E.call(k,v)}catch(k){return(R||P)(k)}(R||P)(null,L)};this.readJsonSync=(v,P)=>E.call(k,v,P)}}k.exports=SyncAsyncFileSystemDecorator},2458:function(k){"use strict";k.exports=class TryNextPlugin{constructor(k,v,E){this.source=k;this.message=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("TryNextPlugin",((E,P,R)=>{k.doResolve(v,E,this.message,P,R)}))}}},61395:function(k){"use strict";function getCacheId(k,v,E){return JSON.stringify({type:k,context:E?v.context:"",path:v.path,query:v.query,fragment:v.fragment,request:v.request})}k.exports=class UnsafeCachePlugin{constructor(k,v,E,P,R){this.source=k;this.filterPredicate=v;this.withContext=P;this.cache=E;this.target=R}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("UnsafeCachePlugin",((E,P,R)=>{if(!this.filterPredicate(E))return R();const L=typeof P.yield==="function";const N=getCacheId(L?"yield":"default",E,this.withContext);const q=this.cache[N];if(q){if(L){const k=P.yield;if(Array.isArray(q)){for(const v of q)k(v)}else{k(q)}return R(null,null)}return R(null,q)}let ae;let le;const pe=[];if(L){ae=P.yield;le=k=>{pe.push(k)}}k.doResolve(v,E,null,le?{...P,yield:le}:P,((k,v)=>{if(k)return R(k);if(L){if(v)pe.push(v);for(const k of pe){ae(k)}this.cache[N]=pe;return R(null,null)}if(v)return R(null,this.cache[N]=v);R()}))}))}}},95286:function(k){"use strict";k.exports=class UseFilePlugin{constructor(k,v,E){this.source=k;this.filename=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("UseFilePlugin",((E,P,R)=>{const L=k.join(E.path,this.filename);const N={...E,path:L,relativePath:E.relativePath&&k.join(E.relativePath,this.filename)};k.doResolve(v,N,"using path: "+L,P,R)}))}}},29824:function(k){"use strict";k.exports=function createInnerContext(k,v){let E=false;let P=undefined;if(k.log){if(v){P=P=>{if(!E){k.log(v);E=true}k.log(" "+P)}}else{P=k.log}}return{log:P,yield:k.yield,fileDependencies:k.fileDependencies,contextDependencies:k.contextDependencies,missingDependencies:k.missingDependencies,stack:k.stack}}},29779:function(k){"use strict";k.exports=function forEachBail(k,v,E){if(k.length===0)return E();let P=0;const next=()=>{let R=undefined;v(k[P++],((v,L)=>{if(v||L!==undefined||P>=k.length){return E(v,L)}if(R===false)while(next());R=true}),P);if(!R)R=false;return R};while(next());}},71606:function(k){"use strict";k.exports=function getInnerRequest(k,v){if(typeof v.__innerRequest==="string"&&v.__innerRequest_request===v.request&&v.__innerRequest_relativePath===v.relativePath)return v.__innerRequest;let E;if(v.request){E=v.request;if(/^\.\.?(?:\/|$)/.test(E)&&v.relativePath){E=k.join(v.relativePath,E)}}else{E=v.relativePath}v.__innerRequest_request=v.request;v.__innerRequest_relativePath=v.relativePath;return v.__innerRequest=E}},9010:function(k){"use strict";k.exports=function getPaths(k){if(k==="/")return{paths:["/"],segments:[""]};const v=k.split(/(.*?[\\/]+)/);const E=[k];const P=[v[v.length-1]];let R=v[v.length-1];k=k.substring(0,k.length-R.length-1);for(let L=v.length-2;L>2;L-=2){E.push(k);R=v[L];k=k.substring(0,k.length-R.length)||"/";P.push(R.slice(0,-1))}R=v[1];P.push(R);E.push(R);return{paths:E,segments:P}};k.exports.basename=function basename(k){const v=k.lastIndexOf("/"),E=k.lastIndexOf("\\");const P=v<0?E:E<0?v:v{if(typeof k==="string"){R=P;P=E;E=v;v=k;k=q}if(typeof R!=="function"){R=P}ae.resolve(k,v,E,P,R)};const le=L.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:N});const resolveSync=(k,v,E)=>{if(typeof k==="string"){E=v;v=k;k=q}return le.resolveSync(k,v,E)};function create(k){const v=L.createResolver({fileSystem:N,...k});return function(k,E,P,R,L){if(typeof k==="string"){L=R;R=P;P=E;E=k;k=q}if(typeof L!=="function"){L=R}v.resolve(k,E,P,R,L)}}function createSync(k){const v=L.createResolver({useSyncFileSystemCalls:true,fileSystem:N,...k});return function(k,E,P){if(typeof k==="string"){P=E;E=k;k=q}return v.resolveSync(k,E,P)}}const mergeExports=(k,v)=>{const E=Object.getOwnPropertyDescriptors(v);Object.defineProperties(k,E);return Object.freeze(k)};k.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:L,CachedInputFileSystem:R,get CloneBasenamePlugin(){return E(63871)},get LogInfoPlugin(){return E(92305)},get forEachBail(){return E(29779)}})},36914:function(k){"use strict";const v="/".charCodeAt(0);const E=".".charCodeAt(0);const P="#".charCodeAt(0);const R=/\*/g;k.exports.processExportsField=function processExportsField(k){return createFieldProcessor(buildExportsField(k),(k=>k.length===0?".":"./"+k),assertExportsFieldRequest,assertExportTarget)};k.exports.processImportsField=function processImportsField(k){return createFieldProcessor(buildImportsField(k),(k=>"#"+k),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(k,v,E,P){return function fieldProcessor(R,L){R=E(R);const N=findMatch(v(R),k);if(N===null)return[];const[q,ae,le,pe]=N;let me=null;if(isConditionalMapping(q)){me=conditionalMapping(q,L);if(me===null)return[]}else{me=q}return directMapping(ae,pe,le,me,L,P)}}function assertExportsFieldRequest(k){if(k.charCodeAt(0)!==E){throw new Error('Request should be relative path and start with "."')}if(k.length===1)return"";if(k.charCodeAt(1)!==v){throw new Error('Request should be relative path and start with "./"')}if(k.charCodeAt(k.length-1)===v){throw new Error("Only requesting file allowed")}return k.slice(2)}function assertImportsFieldRequest(k){if(k.charCodeAt(0)!==P){throw new Error('Request should start with "#"')}if(k.length===1){throw new Error("Request should have at least 2 characters")}if(k.charCodeAt(1)===v){throw new Error('Request should not start with "#/"')}if(k.charCodeAt(k.length-1)===v){throw new Error("Only requesting file allowed")}return k.slice(1)}function assertExportTarget(k,P){if(k.charCodeAt(0)===v||k.charCodeAt(0)===E&&k.charCodeAt(1)!==v){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(k)}.`)}const R=k.charCodeAt(k.length-1)===v;if(R!==P){throw new Error(P?`Expecting folder to folder mapping. ${JSON.stringify(k)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(k)} should not end with "/"`)}}function assertImportTarget(k,E){const P=k.charCodeAt(k.length-1)===v;if(P!==E){throw new Error(E?`Expecting folder to folder mapping. ${JSON.stringify(k)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(k)} should not end with "/"`)}}function patternKeyCompare(k,v){const E=k.indexOf("*");const P=v.indexOf("*");const R=E===-1?k.length:E+1;const L=P===-1?v.length:P+1;if(R>L)return-1;if(L>R)return 1;if(E===-1)return 1;if(P===-1)return-1;if(k.length>v.length)return-1;if(v.length>k.length)return 1;return 0}function findMatch(k,v){if(Object.prototype.hasOwnProperty.call(v,k)&&!k.includes("*")&&!k.endsWith("/")){const E=v[k];return[E,"",false,false]}let E="";let P;const R=Object.getOwnPropertyNames(v);for(let v=0;v=L.length&&k.endsWith(v)&&patternKeyCompare(E,L)===1&&L.lastIndexOf("*")===N){E=L;P=k.slice(N,k.length-v.length)}}else if(L[L.length-1]==="/"&&k.startsWith(L)&&patternKeyCompare(E,L)===1){E=L;P=k.slice(L.length)}}if(E==="")return null;const L=v[E];const N=E.endsWith("/");const q=E.includes("*");return[L,P,N,q]}function isConditionalMapping(k){return k!==null&&typeof k==="object"&&!Array.isArray(k)}function directMapping(k,v,E,P,R,L){if(P===null)return[];if(typeof P==="string"){return[targetMapping(k,v,E,P,L)]}const N=[];for(const q of P){if(typeof q==="string"){N.push(targetMapping(k,v,E,q,L));continue}const P=conditionalMapping(q,R);if(!P)continue;const ae=directMapping(k,v,E,P,R,L);for(const k of ae){N.push(k)}}return N}function targetMapping(k,v,E,P,L){if(k===undefined){L(P,false);return P}if(E){L(P,true);return P+k}L(P,false);let N=P;if(v){N=N.replace(R,k.replace(/\$/g,"$$"))}return N}function conditionalMapping(k,v){let E=[[k,Object.keys(k),0]];e:while(E.length>0){const[k,P,R]=E[E.length-1];const L=P.length-1;for(let N=R;N{switch(k.length){case 0:return Me.Empty;case 1:{const v=k.charCodeAt(0);switch(v){case me:return Me.Relative;case L:return Me.AbsolutePosix;case R:return Me.Internal}return Me.Normal}case 2:{const v=k.charCodeAt(0);switch(v){case me:{const v=k.charCodeAt(1);switch(v){case me:case L:return Me.Relative}return Me.Normal}case L:return Me.AbsolutePosix;case R:return Me.Internal}const E=k.charCodeAt(1);if(E===ye){if(v>=q&&v<=ae||v>=le&&v<=pe){return Me.AbsoluteWin}}return Me.Normal}}const v=k.charCodeAt(0);switch(v){case me:{const v=k.charCodeAt(1);switch(v){case L:return Me.Relative;case me:{const v=k.charCodeAt(2);if(v===L)return Me.Relative;return Me.Normal}}return Me.Normal}case L:return Me.AbsolutePosix;case R:return Me.Internal}const E=k.charCodeAt(1);if(E===ye){const E=k.charCodeAt(2);if((E===N||E===L)&&(v>=q&&v<=ae||v>=le&&v<=pe)){return Me.AbsoluteWin}}return Me.Normal};v.getType=getType;const normalize=k=>{switch(getType(k)){case Me.Empty:return k;case Me.AbsoluteWin:return Ie(k);case Me.Relative:{const v=_e(k);return getType(v)===Me.Relative?v:`./${v}`}}return _e(k)};v.normalize=normalize;const join=(k,v)=>{if(!v)return normalize(k);const E=getType(v);switch(E){case Me.AbsolutePosix:return _e(v);case Me.AbsoluteWin:return Ie(v)}switch(getType(k)){case Me.Normal:case Me.Relative:case Me.AbsolutePosix:return _e(`${k}/${v}`);case Me.AbsoluteWin:return Ie(`${k}\\${v}`)}switch(E){case Me.Empty:return k;case Me.Relative:{const v=_e(k);return getType(v)===Me.Relative?v:`./${v}`}}return _e(k)};v.join=join;const Te=new Map;const cachedJoin=(k,v)=>{let E;let P=Te.get(k);if(P===undefined){Te.set(k,P=new Map)}else{E=P.get(v);if(E!==undefined)return E}E=join(k,v);P.set(v,E);return E};v.cachedJoin=cachedJoin;const checkImportsExportsFieldTarget=k=>{let v=0;let E=k.indexOf("/",1);let P=0;while(E!==-1){const R=k.slice(v,E);switch(R){case"..":{P--;if(P<0)return new Error(`Trying to access out of package scope. Requesting ${k}`);break}case".":break;default:P++;break}v=E+1;E=k.indexOf("/",v)}};v.checkImportsExportsFieldTarget=checkImportsExportsFieldTarget},84494:function(k,v,E){"use strict";const P=E(30529);class Definition{constructor(k,v,E,P,R,L){this.type=k;this.name=v;this.node=E;this.parent=P;this.index=R;this.kind=L}}class ParameterDefinition extends Definition{constructor(k,v,E,R){super(P.Parameter,k,v,null,E,null);this.rest=R}}k.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},12836:function(k,v,E){"use strict";const P=E(39491);const R=E(40680);const L=E(48648);const N=E(21621);const q=E(30529);const ae=E(18802).Scope;const le=E(13348).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(k,v){function isHashObject(k){return typeof k==="object"&&k instanceof Object&&!(k instanceof Array)&&!(k instanceof RegExp)}for(const E in v){if(Object.prototype.hasOwnProperty.call(v,E)){const P=v[E];if(isHashObject(P)){if(isHashObject(k[E])){updateDeeply(k[E],P)}else{k[E]=updateDeeply({},P)}}else{k[E]=P}}}return k}function analyze(k,v){const E=updateDeeply(defaultOptions(),v);const N=new R(E);const q=new L(E,N);q.visit(k);P(N.__currentScope===null,"currentScope should be null.");return N}k.exports={version:le,Reference:N,Variable:q,Scope:ae,ScopeManager:R,analyze:analyze}},62999:function(k,v,E){"use strict";const P=E(12205).Syntax;const R=E(41396);function getLast(k){return k[k.length-1]||null}class PatternVisitor extends R.Visitor{static isPattern(k){const v=k.type;return v===P.Identifier||v===P.ObjectPattern||v===P.ArrayPattern||v===P.SpreadElement||v===P.RestElement||v===P.AssignmentPattern}constructor(k,v,E){super(null,k);this.rootPattern=v;this.callback=E;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(k){const v=getLast(this.restElements);this.callback(k,{topLevel:k===this.rootPattern,rest:v!==null&&v!==undefined&&v.argument===k,assignments:this.assignments})}Property(k){if(k.computed){this.rightHandNodes.push(k.key)}this.visit(k.value)}ArrayPattern(k){for(let v=0,E=k.elements.length;v{this.rightHandNodes.push(k)}));this.visit(k.callee)}}k.exports=PatternVisitor},21621:function(k){"use strict";const v=1;const E=2;const P=v|E;class Reference{constructor(k,v,E,P,R,L,N){this.identifier=k;this.from=v;this.tainted=false;this.resolved=null;this.flag=E;if(this.isWrite()){this.writeExpr=P;this.partial=L;this.init=N}this.__maybeImplicitGlobal=R}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=v;Reference.WRITE=E;Reference.RW=P;k.exports=Reference},48648:function(k,v,E){"use strict";const P=E(12205).Syntax;const R=E(41396);const L=E(21621);const N=E(30529);const q=E(62999);const ae=E(84494);const le=E(39491);const pe=ae.ParameterDefinition;const me=ae.Definition;function traverseIdentifierInPattern(k,v,E,P){const R=new q(k,v,P);R.visit(v);if(E!==null&&E!==undefined){R.rightHandNodes.forEach(E.visit,E)}}class Importer extends R.Visitor{constructor(k,v){super(null,v.options);this.declaration=k;this.referencer=v}visitImport(k,v){this.referencer.visitPattern(k,(k=>{this.referencer.currentScope().__define(k,new me(N.ImportBinding,k,v,this.declaration,null,null))}))}ImportNamespaceSpecifier(k){const v=k.local||k.id;if(v){this.visitImport(v,k)}}ImportDefaultSpecifier(k){const v=k.local||k.id;this.visitImport(v,k)}ImportSpecifier(k){const v=k.local||k.id;if(k.name){this.visitImport(k.name,k)}else{this.visitImport(v,k)}}}class Referencer extends R.Visitor{constructor(k,v){super(null,k);this.options=k;this.scopeManager=v;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(k){while(this.currentScope()&&k===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(k){const v=this.isInnerMethodDefinition;this.isInnerMethodDefinition=k;return v}popInnerMethodDefinition(k){this.isInnerMethodDefinition=k}referencingDefaultValue(k,v,E,P){const R=this.currentScope();v.forEach((v=>{R.__referencing(k,L.WRITE,v.right,E,k!==v.left,P)}))}visitPattern(k,v,E){let P=v;let R=E;if(typeof v==="function"){R=v;P={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,k,P.processRightHandNodes?this:null,R)}visitFunction(k){let v,E;if(k.type===P.FunctionDeclaration){this.currentScope().__define(k.id,new me(N.FunctionName,k.id,k,null,null,null))}if(k.type===P.FunctionExpression&&k.id){this.scopeManager.__nestFunctionExpressionNameScope(k)}this.scopeManager.__nestFunctionScope(k,this.isInnerMethodDefinition);const R=this;function visitPatternCallback(E,P){R.currentScope().__define(E,new pe(E,k,v,P.rest));R.referencingDefaultValue(E,P.assignments,null,true)}for(v=0,E=k.params.length;v{this.currentScope().__define(v,new pe(v,k,k.params.length,true))}))}if(k.body){if(k.body.type===P.BlockStatement){this.visitChildren(k.body)}else{this.visit(k.body)}}this.close(k)}visitClass(k){if(k.type===P.ClassDeclaration){this.currentScope().__define(k.id,new me(N.ClassName,k.id,k,null,null,null))}this.visit(k.superClass);this.scopeManager.__nestClassScope(k);if(k.id){this.currentScope().__define(k.id,new me(N.ClassName,k.id,k))}this.visit(k.body);this.close(k)}visitProperty(k){let v;if(k.computed){this.visit(k.key)}const E=k.type===P.MethodDefinition;if(E){v=this.pushInnerMethodDefinition(true)}this.visit(k.value);if(E){this.popInnerMethodDefinition(v)}}visitForIn(k){if(k.left.type===P.VariableDeclaration&&k.left.kind!=="var"){this.scopeManager.__nestForScope(k)}if(k.left.type===P.VariableDeclaration){this.visit(k.left);this.visitPattern(k.left.declarations[0].id,(v=>{this.currentScope().__referencing(v,L.WRITE,k.right,null,true,true)}))}else{this.visitPattern(k.left,{processRightHandNodes:true},((v,E)=>{let P=null;if(!this.currentScope().isStrict){P={pattern:v,node:k}}this.referencingDefaultValue(v,E.assignments,P,false);this.currentScope().__referencing(v,L.WRITE,k.right,P,true,false)}))}this.visit(k.right);this.visit(k.body);this.close(k)}visitVariableDeclaration(k,v,E,P){const R=E.declarations[P];const N=R.init;this.visitPattern(R.id,{processRightHandNodes:true},((q,ae)=>{k.__define(q,new me(v,q,R,E,P,E.kind));this.referencingDefaultValue(q,ae.assignments,null,true);if(N){this.currentScope().__referencing(q,L.WRITE,N,null,!ae.topLevel,true)}}))}AssignmentExpression(k){if(q.isPattern(k.left)){if(k.operator==="="){this.visitPattern(k.left,{processRightHandNodes:true},((v,E)=>{let P=null;if(!this.currentScope().isStrict){P={pattern:v,node:k}}this.referencingDefaultValue(v,E.assignments,P,false);this.currentScope().__referencing(v,L.WRITE,k.right,P,!E.topLevel,false)}))}else{this.currentScope().__referencing(k.left,L.RW,k.right)}}else{this.visit(k.left)}this.visit(k.right)}CatchClause(k){this.scopeManager.__nestCatchScope(k);this.visitPattern(k.param,{processRightHandNodes:true},((v,E)=>{this.currentScope().__define(v,new me(N.CatchClause,k.param,k,null,null,null));this.referencingDefaultValue(v,E.assignments,null,true)}));this.visit(k.body);this.close(k)}Program(k){this.scopeManager.__nestGlobalScope(k);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(k,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(k)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(k);this.close(k)}Identifier(k){this.currentScope().__referencing(k)}UpdateExpression(k){if(q.isPattern(k.argument)){this.currentScope().__referencing(k.argument,L.RW,null)}else{this.visitChildren(k)}}MemberExpression(k){this.visit(k.object);if(k.computed){this.visit(k.property)}}Property(k){this.visitProperty(k)}MethodDefinition(k){this.visitProperty(k)}BreakStatement(){}ContinueStatement(){}LabeledStatement(k){this.visit(k.body)}ForStatement(k){if(k.init&&k.init.type===P.VariableDeclaration&&k.init.kind!=="var"){this.scopeManager.__nestForScope(k)}this.visitChildren(k);this.close(k)}ClassExpression(k){this.visitClass(k)}ClassDeclaration(k){this.visitClass(k)}CallExpression(k){if(!this.scopeManager.__ignoreEval()&&k.callee.type===P.Identifier&&k.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(k)}BlockStatement(k){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(k)}this.visitChildren(k);this.close(k)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(k){this.visit(k.object);this.scopeManager.__nestWithScope(k);this.visit(k.body);this.close(k)}VariableDeclaration(k){const v=k.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let E=0,P=k.declarations.length;E=5}__get(k){return this.__nodeToScope.get(k)}getDeclaredVariables(k){return this.__declaredVariables.get(k)||[]}acquire(k,v){function predicate(k){if(k.type==="function"&&k.functionExpressionScope){return false}return true}const E=this.__get(k);if(!E||E.length===0){return null}if(E.length===1){return E[0]}if(v){for(let k=E.length-1;k>=0;--k){const v=E[k];if(predicate(v)){return v}}}else{for(let k=0,v=E.length;k=6}}k.exports=ScopeManager},18802:function(k,v,E){"use strict";const P=E(12205).Syntax;const R=E(21621);const L=E(30529);const N=E(84494).Definition;const q=E(39491);function isStrictScope(k,v,E,R){let L;if(k.upper&&k.upper.isStrict){return true}if(E){return true}if(k.type==="class"||k.type==="module"){return true}if(k.type==="block"||k.type==="switch"){return false}if(k.type==="function"){if(v.type===P.ArrowFunctionExpression&&v.body.type!==P.BlockStatement){return false}if(v.type===P.Program){L=v}else{L=v.body}if(!L){return false}}else if(k.type==="global"){L=v}else{return false}if(R){for(let k=0,v=L.body.length;k0&&P.every(shouldBeStatically)}__staticCloseRef(k){if(!this.__resolve(k)){this.__delegateToUpperScope(k)}}__dynamicCloseRef(k){let v=this;do{v.through.push(k);v=v.upper}while(v)}__globalCloseRef(k){if(this.__shouldStaticallyCloseForGlobal(k)){this.__staticCloseRef(k)}else{this.__dynamicCloseRef(k)}}__close(k){let v;if(this.__shouldStaticallyClose(k)){v=this.__staticCloseRef}else if(this.type!=="global"){v=this.__dynamicCloseRef}else{v=this.__globalCloseRef}for(let k=0,E=this.__left.length;kk.name.range[0]>=E)))}}class ForScope extends Scope{constructor(k,v,E){super(k,"for",v,E,false)}}class ClassScope extends Scope{constructor(k,v,E){super(k,"class",v,E,false)}}k.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},30529:function(k){"use strict";class Variable{constructor(k,v){this.name=k;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=v}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";k.exports=Variable},41396:function(k,v,E){(function(){"use strict";var k=E(41731);function isNode(k){if(k==null){return false}return typeof k==="object"&&typeof k.type==="string"}function isProperty(v,E){return(v===k.Syntax.ObjectExpression||v===k.Syntax.ObjectPattern)&&E==="properties"}function Visitor(v,E){E=E||{};this.__visitor=v||this;this.__childVisitorKeys=E.childVisitorKeys?Object.assign({},k.VisitorKeys,E.childVisitorKeys):k.VisitorKeys;if(E.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof E.fallback==="function"){this.__fallback=E.fallback}}Visitor.prototype.visitChildren=function(v){var E,P,R,L,N,q,ae;if(v==null){return}E=v.type||k.Syntax.Property;P=this.__childVisitorKeys[E];if(!P){if(this.__fallback){P=this.__fallback(v)}else{throw new Error("Unknown node type "+E+".")}}for(R=0,L=P.length;R>>1;L=R+E;if(v(k[L])){P=E}else{R=L+1;P-=E+1}}return R}v={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"};R={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"]};L={};N={};q={};P={Break:L,Skip:N,Remove:q};function Reference(k,v){this.parent=k;this.key=v}Reference.prototype.replace=function replace(k){this.parent[this.key]=k};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(k,v,E,P){this.node=k;this.path=v;this.wrap=E;this.ref=P}function Controller(){}Controller.prototype.path=function path(){var k,v,E,P,R,L;function addToPath(k,v){if(Array.isArray(v)){for(E=0,P=v.length;E=0){pe=_e[me];Ie=q[pe];if(!Ie){continue}if(Array.isArray(Ie)){ye=Ie.length;while((ye-=1)>=0){if(!Ie[ye]){continue}if(isProperty(ae,_e[me])){R=new Element(Ie[ye],[pe,ye],"Property",null)}else if(isNode(Ie[ye])){R=new Element(Ie[ye],[pe,ye],null,null)}else{continue}E.push(R)}}else if(isNode(Ie)){E.push(new Element(Ie,pe,null,null))}}}}};Controller.prototype.replace=function replace(k,v){var E,P,R,ae,le,pe,me,ye,_e,Ie,Me,Te,je;function removeElem(k){var v,P,R,L;if(k.ref.remove()){P=k.ref.key;L=k.ref.parent;v=E.length;while(v--){R=E[v];if(R.ref&&R.ref.parent===L){if(R.ref.key=0){je=_e[me];Ie=R[je];if(!Ie){continue}if(Array.isArray(Ie)){ye=Ie.length;while((ye-=1)>=0){if(!Ie[ye]){continue}if(isProperty(ae,_e[me])){pe=new Element(Ie[ye],[je,ye],"Property",new Reference(Ie,ye))}else if(isNode(Ie[ye])){pe=new Element(Ie[ye],[je,ye],null,new Reference(Ie,ye))}else{continue}E.push(pe)}}else if(isNode(Ie)){E.push(new Element(Ie,je,null,new Reference(R,je)))}}}return Te.root};function traverse(k,v){var E=new Controller;return E.traverse(k,v)}function replace(k,v){var E=new Controller;return E.replace(k,v)}function extendCommentRange(k,v){var E;E=upperBound(v,(function search(v){return v.range[0]>k.range[0]}));k.extendedRange=[k.range[0],k.range[1]];if(E!==v.length){k.extendedRange[1]=v[E].range[0]}E-=1;if(E>=0){k.extendedRange[0]=v[E].range[1]}return k}function attachComments(k,v,E){var R=[],L,N,q,ae;if(!k.range){throw new Error("attachComments needs range information")}if(!E.length){if(v.length){for(q=0,N=v.length;qk.range[0]){break}if(v.extendedRange[1]===k.range[0]){if(!k.leadingComments){k.leadingComments=[]}k.leadingComments.push(v);R.splice(ae,1)}else{ae+=1}}if(ae===R.length){return P.Break}if(R[ae].extendedRange[0]>k.range[1]){return P.Skip}}});ae=0;traverse(k,{leave:function(k){var v;while(aek.range[1]){return P.Skip}}});return k}k.version=E(61752).i8;k.Syntax=v;k.traverse=traverse;k.replace=replace;k.attachComments=attachComments;k.VisitorKeys=R;k.VisitorOption=P;k.Controller=Controller;k.cloneEnvironment=function(){return clone({})};return k})(v)},41731:function(k,v){(function clone(k){"use strict";var v,E,P,R,L,N;function deepCopy(k){var v={},E,P;for(E in k){if(k.hasOwnProperty(E)){P=k[E];if(typeof P==="object"&&P!==null){v[E]=deepCopy(P)}else{v[E]=P}}}return v}function upperBound(k,v){var E,P,R,L;P=k.length;R=0;while(P){E=P>>>1;L=R+E;if(v(k[L])){P=E}else{R=L+1;P-=E+1}}return R}v={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",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",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"};P={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"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["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"]};R={};L={};N={};E={Break:R,Skip:L,Remove:N};function Reference(k,v){this.parent=k;this.key=v}Reference.prototype.replace=function replace(k){this.parent[this.key]=k};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(k,v,E,P){this.node=k;this.path=v;this.wrap=E;this.ref=P}function Controller(){}Controller.prototype.path=function path(){var k,v,E,P,R,L;function addToPath(k,v){if(Array.isArray(v)){for(E=0,P=v.length;E=0;--E){if(k[E].node===v){return true}}return false}Controller.prototype.traverse=function traverse(k,v){var E,P,N,q,ae,le,pe,me,ye,_e,Ie,Me;this.__initialize(k,v);Me={};E=this.__worklist;P=this.__leavelist;E.push(new Element(k,null,null,null));P.push(new Element(null,null,null,null));while(E.length){N=E.pop();if(N===Me){N=P.pop();le=this.__execute(v.leave,N);if(this.__state===R||le===R){return}continue}if(N.node){le=this.__execute(v.enter,N);if(this.__state===R||le===R){return}E.push(Me);P.push(N);if(this.__state===L||le===L){continue}q=N.node;ae=q.type||N.wrap;_e=this.__keys[ae];if(!_e){if(this.__fallback){_e=this.__fallback(q)}else{throw new Error("Unknown node type "+ae+".")}}me=_e.length;while((me-=1)>=0){pe=_e[me];Ie=q[pe];if(!Ie){continue}if(Array.isArray(Ie)){ye=Ie.length;while((ye-=1)>=0){if(!Ie[ye]){continue}if(candidateExistsInLeaveList(P,Ie[ye])){continue}if(isProperty(ae,_e[me])){N=new Element(Ie[ye],[pe,ye],"Property",null)}else if(isNode(Ie[ye])){N=new Element(Ie[ye],[pe,ye],null,null)}else{continue}E.push(N)}}else if(isNode(Ie)){if(candidateExistsInLeaveList(P,Ie)){continue}E.push(new Element(Ie,pe,null,null))}}}}};Controller.prototype.replace=function replace(k,v){var E,P,q,ae,le,pe,me,ye,_e,Ie,Me,Te,je;function removeElem(k){var v,P,R,L;if(k.ref.remove()){P=k.ref.key;L=k.ref.parent;v=E.length;while(v--){R=E[v];if(R.ref&&R.ref.parent===L){if(R.ref.key=0){je=_e[me];Ie=q[je];if(!Ie){continue}if(Array.isArray(Ie)){ye=Ie.length;while((ye-=1)>=0){if(!Ie[ye]){continue}if(isProperty(ae,_e[me])){pe=new Element(Ie[ye],[je,ye],"Property",new Reference(Ie,ye))}else if(isNode(Ie[ye])){pe=new Element(Ie[ye],[je,ye],null,new Reference(Ie,ye))}else{continue}E.push(pe)}}else if(isNode(Ie)){E.push(new Element(Ie,je,null,new Reference(q,je)))}}}return Te.root};function traverse(k,v){var E=new Controller;return E.traverse(k,v)}function replace(k,v){var E=new Controller;return E.replace(k,v)}function extendCommentRange(k,v){var E;E=upperBound(v,(function search(v){return v.range[0]>k.range[0]}));k.extendedRange=[k.range[0],k.range[1]];if(E!==v.length){k.extendedRange[1]=v[E].range[0]}E-=1;if(E>=0){k.extendedRange[0]=v[E].range[1]}return k}function attachComments(k,v,P){var R=[],L,N,q,ae;if(!k.range){throw new Error("attachComments needs range information")}if(!P.length){if(v.length){for(q=0,N=v.length;qk.range[0]){break}if(v.extendedRange[1]===k.range[0]){if(!k.leadingComments){k.leadingComments=[]}k.leadingComments.push(v);R.splice(ae,1)}else{ae+=1}}if(ae===R.length){return E.Break}if(R[ae].extendedRange[0]>k.range[1]){return E.Skip}}});ae=0;traverse(k,{leave:function(k){var v;while(aek.range[1]){return E.Skip}}});return k}k.Syntax=v;k.traverse=traverse;k.replace=replace;k.attachComments=attachComments;k.VisitorKeys=P;k.VisitorOption=E;k.Controller=Controller;k.cloneEnvironment=function(){return clone({})};return k})(v)},21660:function(k){k.exports=function(k,v){if(typeof k!=="string"){throw new TypeError("Expected a string")}var E=String(k);var P="";var R=v?!!v.extended:false;var L=v?!!v.globstar:false;var N=false;var q=v&&typeof v.flags==="string"?v.flags:"";var ae;for(var le=0,pe=E.length;le1&&(me==="/"||me===undefined)&&(_e==="/"||_e===undefined);if(Ie){P+="((?:[^/]*(?:/|$))*)";le++}else{P+="([^/]*)"}}break;default:P+=ae}}if(!q||!~q.indexOf("g")){P="^"+P+"$"}return new RegExp(P,q)}},8567:function(k){"use strict";k.exports=clone;var v=Object.getPrototypeOf||function(k){return k.__proto__};function clone(k){if(k===null||typeof k!=="object")return k;if(k instanceof Object)var E={__proto__:v(k)};else var E=Object.create(null);Object.getOwnPropertyNames(k).forEach((function(v){Object.defineProperty(E,v,Object.getOwnPropertyDescriptor(k,v))}));return E}},56450:function(k,v,E){var P=E(57147);var R=E(72164);var L=E(55653);var N=E(8567);var q=E(73837);var ae;var le;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){ae=Symbol.for("graceful-fs.queue");le=Symbol.for("graceful-fs.previous")}else{ae="___graceful-fs.queue";le="___graceful-fs.previous"}function noop(){}function publishQueue(k,v){Object.defineProperty(k,ae,{get:function(){return v}})}var pe=noop;if(q.debuglog)pe=q.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))pe=function(){var k=q.format.apply(q,arguments);k="GFS4: "+k.split(/\n/).join("\nGFS4: ");console.error(k)};if(!P[ae]){var me=global[ae]||[];publishQueue(P,me);P.close=function(k){function close(v,E){return k.call(P,v,(function(k){if(!k){resetQueue()}if(typeof E==="function")E.apply(this,arguments)}))}Object.defineProperty(close,le,{value:k});return close}(P.close);P.closeSync=function(k){function closeSync(v){k.apply(P,arguments);resetQueue()}Object.defineProperty(closeSync,le,{value:k});return closeSync}(P.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){pe(P[ae]);E(39491).equal(P[ae].length,0)}))}}if(!global[ae]){publishQueue(global,P[ae])}k.exports=patch(N(P));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!P.__patched){k.exports=patch(P);P.__patched=true}function patch(k){R(k);k.gracefulify=patch;k.createReadStream=createReadStream;k.createWriteStream=createWriteStream;var v=k.readFile;k.readFile=readFile;function readFile(k,E,P){if(typeof E==="function")P=E,E=null;return go$readFile(k,E,P);function go$readFile(k,E,P,R){return v(k,E,(function(v){if(v&&(v.code==="EMFILE"||v.code==="ENFILE"))enqueue([go$readFile,[k,E,P],v,R||Date.now(),Date.now()]);else{if(typeof P==="function")P.apply(this,arguments)}}))}}var E=k.writeFile;k.writeFile=writeFile;function writeFile(k,v,P,R){if(typeof P==="function")R=P,P=null;return go$writeFile(k,v,P,R);function go$writeFile(k,v,P,R,L){return E(k,v,P,(function(E){if(E&&(E.code==="EMFILE"||E.code==="ENFILE"))enqueue([go$writeFile,[k,v,P,R],E,L||Date.now(),Date.now()]);else{if(typeof R==="function")R.apply(this,arguments)}}))}}var P=k.appendFile;if(P)k.appendFile=appendFile;function appendFile(k,v,E,R){if(typeof E==="function")R=E,E=null;return go$appendFile(k,v,E,R);function go$appendFile(k,v,E,R,L){return P(k,v,E,(function(P){if(P&&(P.code==="EMFILE"||P.code==="ENFILE"))enqueue([go$appendFile,[k,v,E,R],P,L||Date.now(),Date.now()]);else{if(typeof R==="function")R.apply(this,arguments)}}))}}var N=k.copyFile;if(N)k.copyFile=copyFile;function copyFile(k,v,E,P){if(typeof E==="function"){P=E;E=0}return go$copyFile(k,v,E,P);function go$copyFile(k,v,E,P,R){return N(k,v,E,(function(L){if(L&&(L.code==="EMFILE"||L.code==="ENFILE"))enqueue([go$copyFile,[k,v,E,P],L,R||Date.now(),Date.now()]);else{if(typeof P==="function")P.apply(this,arguments)}}))}}var q=k.readdir;k.readdir=readdir;var ae=/^v[0-5]\./;function readdir(k,v,E){if(typeof v==="function")E=v,v=null;var P=ae.test(process.version)?function go$readdir(k,v,E,P){return q(k,fs$readdirCallback(k,v,E,P))}:function go$readdir(k,v,E,P){return q(k,v,fs$readdirCallback(k,v,E,P))};return P(k,v,E);function fs$readdirCallback(k,v,E,R){return function(L,N){if(L&&(L.code==="EMFILE"||L.code==="ENFILE"))enqueue([P,[k,v,E],L,R||Date.now(),Date.now()]);else{if(N&&N.sort)N.sort();if(typeof E==="function")E.call(this,L,N)}}}}if(process.version.substr(0,4)==="v0.8"){var le=L(k);ReadStream=le.ReadStream;WriteStream=le.WriteStream}var pe=k.ReadStream;if(pe){ReadStream.prototype=Object.create(pe.prototype);ReadStream.prototype.open=ReadStream$open}var me=k.WriteStream;if(me){WriteStream.prototype=Object.create(me.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(k,"ReadStream",{get:function(){return ReadStream},set:function(k){ReadStream=k},enumerable:true,configurable:true});Object.defineProperty(k,"WriteStream",{get:function(){return WriteStream},set:function(k){WriteStream=k},enumerable:true,configurable:true});var ye=ReadStream;Object.defineProperty(k,"FileReadStream",{get:function(){return ye},set:function(k){ye=k},enumerable:true,configurable:true});var _e=WriteStream;Object.defineProperty(k,"FileWriteStream",{get:function(){return _e},set:function(k){_e=k},enumerable:true,configurable:true});function ReadStream(k,v){if(this instanceof ReadStream)return pe.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var k=this;open(k.path,k.flags,k.mode,(function(v,E){if(v){if(k.autoClose)k.destroy();k.emit("error",v)}else{k.fd=E;k.emit("open",E);k.read()}}))}function WriteStream(k,v){if(this instanceof WriteStream)return me.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var k=this;open(k.path,k.flags,k.mode,(function(v,E){if(v){k.destroy();k.emit("error",v)}else{k.fd=E;k.emit("open",E)}}))}function createReadStream(v,E){return new k.ReadStream(v,E)}function createWriteStream(v,E){return new k.WriteStream(v,E)}var Ie=k.open;k.open=open;function open(k,v,E,P){if(typeof E==="function")P=E,E=null;return go$open(k,v,E,P);function go$open(k,v,E,P,R){return Ie(k,v,E,(function(L,N){if(L&&(L.code==="EMFILE"||L.code==="ENFILE"))enqueue([go$open,[k,v,E,P],L,R||Date.now(),Date.now()]);else{if(typeof P==="function")P.apply(this,arguments)}}))}}return k}function enqueue(k){pe("ENQUEUE",k[0].name,k[1]);P[ae].push(k);retry()}var ye;function resetQueue(){var k=Date.now();for(var v=0;v2){P[ae][v][3]=k;P[ae][v][4]=k}}retry()}function retry(){clearTimeout(ye);ye=undefined;if(P[ae].length===0)return;var k=P[ae].shift();var v=k[0];var E=k[1];var R=k[2];var L=k[3];var N=k[4];if(L===undefined){pe("RETRY",v.name,E);v.apply(null,E)}else if(Date.now()-L>=6e4){pe("TIMEOUT",v.name,E);var q=E.pop();if(typeof q==="function")q.call(null,R)}else{var le=Date.now()-N;var me=Math.max(N-L,1);var _e=Math.min(me*1.2,100);if(le>=_e){pe("RETRY",v.name,E);v.apply(null,E.concat([L]))}else{P[ae].push(k)}}if(ye===undefined){ye=setTimeout(retry,0)}}},55653:function(k,v,E){var P=E(12781).Stream;k.exports=legacy;function legacy(k){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(v,E){if(!(this instanceof ReadStream))return new ReadStream(v,E);P.call(this);var R=this;this.path=v;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;E=E||{};var L=Object.keys(E);for(var N=0,q=L.length;Nthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){R._read()}));return}k.open(this.path,this.flags,this.mode,(function(k,v){if(k){R.emit("error",k);R.readable=false;return}R.fd=v;R.emit("open",v);R._read()}))}function WriteStream(v,E){if(!(this instanceof WriteStream))return new WriteStream(v,E);P.call(this);this.path=v;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;E=E||{};var R=Object.keys(E);for(var L=0,N=R.length;L= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=k.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},72164:function(k,v,E){var P=E(22057);var R=process.cwd;var L=null;var N=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!L)L=R.call(process);return L};try{process.cwd()}catch(k){}if(typeof process.chdir==="function"){var q=process.chdir;process.chdir=function(k){L=null;q.call(process,k)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,q)}k.exports=patch;function patch(k){if(P.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(k)}if(!k.lutimes){patchLutimes(k)}k.chown=chownFix(k.chown);k.fchown=chownFix(k.fchown);k.lchown=chownFix(k.lchown);k.chmod=chmodFix(k.chmod);k.fchmod=chmodFix(k.fchmod);k.lchmod=chmodFix(k.lchmod);k.chownSync=chownFixSync(k.chownSync);k.fchownSync=chownFixSync(k.fchownSync);k.lchownSync=chownFixSync(k.lchownSync);k.chmodSync=chmodFixSync(k.chmodSync);k.fchmodSync=chmodFixSync(k.fchmodSync);k.lchmodSync=chmodFixSync(k.lchmodSync);k.stat=statFix(k.stat);k.fstat=statFix(k.fstat);k.lstat=statFix(k.lstat);k.statSync=statFixSync(k.statSync);k.fstatSync=statFixSync(k.fstatSync);k.lstatSync=statFixSync(k.lstatSync);if(k.chmod&&!k.lchmod){k.lchmod=function(k,v,E){if(E)process.nextTick(E)};k.lchmodSync=function(){}}if(k.chown&&!k.lchown){k.lchown=function(k,v,E,P){if(P)process.nextTick(P)};k.lchownSync=function(){}}if(N==="win32"){k.rename=typeof k.rename!=="function"?k.rename:function(v){function rename(E,P,R){var L=Date.now();var N=0;v(E,P,(function CB(q){if(q&&(q.code==="EACCES"||q.code==="EPERM"||q.code==="EBUSY")&&Date.now()-L<6e4){setTimeout((function(){k.stat(P,(function(k,L){if(k&&k.code==="ENOENT")v(E,P,CB);else R(q)}))}),N);if(N<100)N+=10;return}if(R)R(q)}))}if(Object.setPrototypeOf)Object.setPrototypeOf(rename,v);return rename}(k.rename)}k.read=typeof k.read!=="function"?k.read:function(v){function read(E,P,R,L,N,q){var ae;if(q&&typeof q==="function"){var le=0;ae=function(pe,me,ye){if(pe&&pe.code==="EAGAIN"&&le<10){le++;return v.call(k,E,P,R,L,N,ae)}q.apply(this,arguments)}}return v.call(k,E,P,R,L,N,ae)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,v);return read}(k.read);k.readSync=typeof k.readSync!=="function"?k.readSync:function(v){return function(E,P,R,L,N){var q=0;while(true){try{return v.call(k,E,P,R,L,N)}catch(k){if(k.code==="EAGAIN"&&q<10){q++;continue}throw k}}}}(k.readSync);function patchLchmod(k){k.lchmod=function(v,E,R){k.open(v,P.O_WRONLY|P.O_SYMLINK,E,(function(v,P){if(v){if(R)R(v);return}k.fchmod(P,E,(function(v){k.close(P,(function(k){if(R)R(v||k)}))}))}))};k.lchmodSync=function(v,E){var R=k.openSync(v,P.O_WRONLY|P.O_SYMLINK,E);var L=true;var N;try{N=k.fchmodSync(R,E);L=false}finally{if(L){try{k.closeSync(R)}catch(k){}}else{k.closeSync(R)}}return N}}function patchLutimes(k){if(P.hasOwnProperty("O_SYMLINK")&&k.futimes){k.lutimes=function(v,E,R,L){k.open(v,P.O_SYMLINK,(function(v,P){if(v){if(L)L(v);return}k.futimes(P,E,R,(function(v){k.close(P,(function(k){if(L)L(v||k)}))}))}))};k.lutimesSync=function(v,E,R){var L=k.openSync(v,P.O_SYMLINK);var N;var q=true;try{N=k.futimesSync(L,E,R);q=false}finally{if(q){try{k.closeSync(L)}catch(k){}}else{k.closeSync(L)}}return N}}else if(k.futimes){k.lutimes=function(k,v,E,P){if(P)process.nextTick(P)};k.lutimesSync=function(){}}}function chmodFix(v){if(!v)return v;return function(E,P,R){return v.call(k,E,P,(function(k){if(chownErOk(k))k=null;if(R)R.apply(this,arguments)}))}}function chmodFixSync(v){if(!v)return v;return function(E,P){try{return v.call(k,E,P)}catch(k){if(!chownErOk(k))throw k}}}function chownFix(v){if(!v)return v;return function(E,P,R,L){return v.call(k,E,P,R,(function(k){if(chownErOk(k))k=null;if(L)L.apply(this,arguments)}))}}function chownFixSync(v){if(!v)return v;return function(E,P,R){try{return v.call(k,E,P,R)}catch(k){if(!chownErOk(k))throw k}}}function statFix(v){if(!v)return v;return function(E,P,R){if(typeof P==="function"){R=P;P=null}function callback(k,v){if(v){if(v.uid<0)v.uid+=4294967296;if(v.gid<0)v.gid+=4294967296}if(R)R.apply(this,arguments)}return P?v.call(k,E,P,callback):v.call(k,E,callback)}}function statFixSync(v){if(!v)return v;return function(E,P){var R=P?v.call(k,E,P):v.call(k,E);if(R){if(R.uid<0)R.uid+=4294967296;if(R.gid<0)R.gid+=4294967296}return R}}function chownErOk(k){if(!k)return true;if(k.code==="ENOSYS")return true;var v=!process.getuid||process.getuid()!==0;if(v){if(k.code==="EINVAL"||k.code==="EPERM")return true}return false}}},54650:function(k){"use strict";const hexify=k=>{const v=k.charCodeAt(0).toString(16).toUpperCase();return"0x"+(v.length%2?"0":"")+v};const parseError=(k,v,E)=>{if(!v){return{message:k.message+" while parsing empty string",position:0}}const P=k.message.match(/^Unexpected token (.) .*position\s+(\d+)/i);const R=P?+P[2]:k.message.match(/^Unexpected end of JSON.*/i)?v.length-1:null;const L=P?k.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(P[1])} (${hexify(P[1])})`):k.message;if(R!==null&&R!==undefined){const k=R<=E?0:R-E;const P=R+E>=v.length?v.length:R+E;const N=(k===0?"":"...")+v.slice(k,P)+(P===v.length?"":"...");const q=v===N?"":"near ";return{message:L+` while parsing ${q}${JSON.stringify(N)}`,position:R}}else{return{message:L+` while parsing '${v.slice(0,E*2)}'`,position:0}}};class JSONParseError extends SyntaxError{constructor(k,v,E,P){E=E||20;const R=parseError(k,v,E);super(R.message);Object.assign(this,R);this.code="EJSONPARSE";this.systemError=k;Error.captureStackTrace(this,P||this.constructor)}get name(){return this.constructor.name}set name(k){}get[Symbol.toStringTag](){return this.constructor.name}}const v=Symbol.for("indent");const E=Symbol.for("newline");const P=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/;const R=/^(?:\{\}|\[\])((?:\r?\n)+)?$/;const parseJson=(k,L,N)=>{const q=stripBOM(k);N=N||20;try{const[,k="\n",N=" "]=q.match(R)||q.match(P)||[,"",""];const ae=JSON.parse(q,L);if(ae&&typeof ae==="object"){ae[E]=k;ae[v]=N}return ae}catch(v){if(typeof k!=="string"&&!Buffer.isBuffer(k)){const E=Array.isArray(k)&&k.length===0;throw Object.assign(new TypeError(`Cannot parse ${E?"an empty array":String(k)}`),{code:"EJSONPARSE",systemError:v})}throw new JSONParseError(v,q,N,parseJson)}};const stripBOM=k=>String(k).replace(/^\uFEFF/,"");k.exports=parseJson;parseJson.JSONParseError=JSONParseError;parseJson.noExceptions=(k,v)=>{try{return JSON.parse(stripBOM(k),v)}catch(k){}}},95183:function(k,v,E){ -/*! - * mime-db - * Copyright(c) 2014 Jonathan Ong - * MIT Licensed - */ -k.exports=E(66282)},24230:function(k,v,E){"use strict"; -/*! - * mime-types - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */var P=E(95183);var R=E(71017).extname;var L=/^\s*([^;\s]*)(?:;|\s|$)/;var N=/^text\//i;v.charset=charset;v.charsets={lookup:charset};v.contentType=contentType;v.extension=extension;v.extensions=Object.create(null);v.lookup=lookup;v.types=Object.create(null);populateMaps(v.extensions,v.types);function charset(k){if(!k||typeof k!=="string"){return false}var v=L.exec(k);var E=v&&P[v[1].toLowerCase()];if(E&&E.charset){return E.charset}if(v&&N.test(v[1])){return"UTF-8"}return false}function contentType(k){if(!k||typeof k!=="string"){return false}var E=k.indexOf("/")===-1?v.lookup(k):k;if(!E){return false}if(E.indexOf("charset")===-1){var P=v.charset(E);if(P)E+="; charset="+P.toLowerCase()}return E}function extension(k){if(!k||typeof k!=="string"){return false}var E=L.exec(k);var P=E&&v.extensions[E[1].toLowerCase()];if(!P||!P.length){return false}return P[0]}function lookup(k){if(!k||typeof k!=="string"){return false}var E=R("x."+k).toLowerCase().substr(1);if(!E){return false}return v.types[E]||false}function populateMaps(k,v){var E=["nginx","apache",undefined,"iana"];Object.keys(P).forEach((function forEachMimeType(R){var L=P[R];var N=L.extensions;if(!N||!N.length){return}k[R]=N;for(var q=0;qpe||le===pe&&v[ae].substr(0,12)==="application/")){continue}}v[ae]=R}}))}},94362:function(k,v,E){"use strict";var P;P={value:true};v.Z=void 0;const{stringHints:R,numberHints:L}=E(30892);const N={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(k,v){const E=k.reduce(((k,E)=>Math.max(k,v(E))),0);return k.filter((k=>v(k)===E))}function filterChildren(k){let v=k;v=filterMax(v,(k=>k.dataPath?k.dataPath.length:0));v=filterMax(v,(k=>N[k.keyword]||2));return v}function findAllChildren(k,v){let E=k.length-1;const predicate=v=>k[E].schemaPath.indexOf(v)!==0;while(E>-1&&!v.every(predicate)){if(k[E].keyword==="anyOf"||k[E].keyword==="oneOf"){const v=extractRefs(k[E]);const P=findAllChildren(k.slice(0,E),v.concat(k[E].schemaPath));E=P-1}else{E-=1}}return E+1}function extractRefs(k){const{schema:v}=k;if(!Array.isArray(v)){return[]}return v.map((({$ref:k})=>k)).filter((k=>k))}function groupChildrenByFirstChild(k){const v=[];let E=k.length-1;while(E>0){const P=k[E];if(P.keyword==="anyOf"||P.keyword==="oneOf"){const R=extractRefs(P);const L=findAllChildren(k.slice(0,E),R.concat(P.schemaPath));if(L!==E){v.push(Object.assign({},P,{children:k.slice(L,E)}));E=L}else{v.push(P)}}else{v.push(P)}E-=1}if(E===0){v.push(k[E])}return v.reverse()}function indent(k,v){return k.replace(/\n(?!$)/g,`\n${v}`)}function hasNotInSchema(k){return!!k.not}function findFirstTypedSchema(k){if(hasNotInSchema(k)){return findFirstTypedSchema(k.not)}return k}function canApplyNot(k){const v=findFirstTypedSchema(k);return likeNumber(v)||likeInteger(v)||likeString(v)||likeNull(v)||likeBoolean(v)}function isObject(k){return typeof k==="object"&&k!==null}function likeNumber(k){return k.type==="number"||typeof k.minimum!=="undefined"||typeof k.exclusiveMinimum!=="undefined"||typeof k.maximum!=="undefined"||typeof k.exclusiveMaximum!=="undefined"||typeof k.multipleOf!=="undefined"}function likeInteger(k){return k.type==="integer"||typeof k.minimum!=="undefined"||typeof k.exclusiveMinimum!=="undefined"||typeof k.maximum!=="undefined"||typeof k.exclusiveMaximum!=="undefined"||typeof k.multipleOf!=="undefined"}function likeString(k){return k.type==="string"||typeof k.minLength!=="undefined"||typeof k.maxLength!=="undefined"||typeof k.pattern!=="undefined"||typeof k.format!=="undefined"||typeof k.formatMinimum!=="undefined"||typeof k.formatMaximum!=="undefined"}function likeBoolean(k){return k.type==="boolean"}function likeArray(k){return k.type==="array"||typeof k.minItems==="number"||typeof k.maxItems==="number"||typeof k.uniqueItems!=="undefined"||typeof k.items!=="undefined"||typeof k.additionalItems!=="undefined"||typeof k.contains!=="undefined"}function likeObject(k){return k.type==="object"||typeof k.minProperties!=="undefined"||typeof k.maxProperties!=="undefined"||typeof k.required!=="undefined"||typeof k.properties!=="undefined"||typeof k.patternProperties!=="undefined"||typeof k.additionalProperties!=="undefined"||typeof k.dependencies!=="undefined"||typeof k.propertyNames!=="undefined"||typeof k.patternRequired!=="undefined"}function likeNull(k){return k.type==="null"}function getArticle(k){if(/^[aeiou]/i.test(k)){return"an"}return"a"}function getSchemaNonTypes(k){if(!k){return""}if(!k.type){if(likeNumber(k)||likeInteger(k)){return" | should be any non-number"}if(likeString(k)){return" | should be any non-string"}if(likeArray(k)){return" | should be any non-array"}if(likeObject(k)){return" | should be any non-object"}}return""}function formatHints(k){return k.length>0?`(${k.join(", ")})`:""}function getHints(k,v){if(likeNumber(k)||likeInteger(k)){return L(k,v)}else if(likeString(k)){return R(k,v)}return[]}class ValidationError extends Error{constructor(k,v,E={}){super();this.name="ValidationError";this.errors=k;this.schema=v;let P;let R;if(v.title&&(!E.name||!E.baseDataPath)){const k=v.title.match(/^(.+) (.+)$/);if(k){if(!E.name){[,P]=k}if(!E.baseDataPath){[,,R]=k}}}this.headerName=E.name||P||"Object";this.baseDataPath=E.baseDataPath||R||"configuration";this.postFormatter=E.postFormatter||null;const L=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${L}${this.formatValidationErrors(k)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(k){const v=k.split("/");let E=this.schema;for(let k=1;k{if(!R){return this.formatSchema(v,P,E)}if(E.includes(v)){return"(recursive)"}return this.formatSchema(v,P,E.concat(k))};if(hasNotInSchema(k)&&!likeObject(k)){if(canApplyNot(k.not)){P=!v;return formatInnerSchema(k.not)}const E=!k.not.not;const R=v?"":"non ";P=!v;return E?R+formatInnerSchema(k.not):formatInnerSchema(k.not)}if(k.instanceof){const{instanceof:v}=k;const E=!Array.isArray(v)?[v]:v;return E.map((k=>k==="Function"?"function":k)).join(" | ")}if(k.enum){const v=k.enum.map((v=>{if(v===null&&k.undefinedAsNull){return`${JSON.stringify(v)} | undefined`}return JSON.stringify(v)})).join(" | ");return`${v}`}if(typeof k.const!=="undefined"){return JSON.stringify(k.const)}if(k.oneOf){return k.oneOf.map((k=>formatInnerSchema(k,true))).join(" | ")}if(k.anyOf){return k.anyOf.map((k=>formatInnerSchema(k,true))).join(" | ")}if(k.allOf){return k.allOf.map((k=>formatInnerSchema(k,true))).join(" & ")}if(k.if){const{if:v,then:E,else:P}=k;return`${v?`if ${formatInnerSchema(v)}`:""}${E?` then ${formatInnerSchema(E)}`:""}${P?` else ${formatInnerSchema(P)}`:""}`}if(k.$ref){return formatInnerSchema(this.getSchemaPart(k.$ref),true)}if(likeNumber(k)||likeInteger(k)){const[E,...P]=getHints(k,v);const R=`${E}${P.length>0?` ${formatHints(P)}`:""}`;return v?R:P.length>0?`non-${E} | ${R}`:`non-${E}`}if(likeString(k)){const[E,...P]=getHints(k,v);const R=`${E}${P.length>0?` ${formatHints(P)}`:""}`;return v?R:R==="string"?"non-string":`non-string | ${R}`}if(likeBoolean(k)){return`${v?"":"non-"}boolean`}if(likeArray(k)){P=true;const v=[];if(typeof k.minItems==="number"){v.push(`should not have fewer than ${k.minItems} item${k.minItems>1?"s":""}`)}if(typeof k.maxItems==="number"){v.push(`should not have more than ${k.maxItems} item${k.maxItems>1?"s":""}`)}if(k.uniqueItems){v.push("should not have duplicate items")}const E=typeof k.additionalItems==="undefined"||Boolean(k.additionalItems);let R="";if(k.items){if(Array.isArray(k.items)&&k.items.length>0){R=`${k.items.map((k=>formatInnerSchema(k))).join(", ")}`;if(E){if(k.additionalItems&&isObject(k.additionalItems)&&Object.keys(k.additionalItems).length>0){v.push(`additional items should be ${formatInnerSchema(k.additionalItems)}`)}}}else if(k.items&&Object.keys(k.items).length>0){R=`${formatInnerSchema(k.items)}`}else{R="any"}}else{R="any"}if(k.contains&&Object.keys(k.contains).length>0){v.push(`should contains at least one ${this.formatSchema(k.contains)} item`)}return`[${R}${E?", ...":""}]${v.length>0?` (${v.join(", ")})`:""}`}if(likeObject(k)){P=true;const v=[];if(typeof k.minProperties==="number"){v.push(`should not have fewer than ${k.minProperties} ${k.minProperties>1?"properties":"property"}`)}if(typeof k.maxProperties==="number"){v.push(`should not have more than ${k.maxProperties} ${k.minProperties&&k.minProperties>1?"properties":"property"}`)}if(k.patternProperties&&Object.keys(k.patternProperties).length>0){const E=Object.keys(k.patternProperties);v.push(`additional property names should match pattern${E.length>1?"s":""} ${E.map((k=>JSON.stringify(k))).join(" | ")}`)}const E=k.properties?Object.keys(k.properties):[];const R=k.required?k.required:[];const L=[...new Set([].concat(R).concat(E))];const N=L.map((k=>{const v=R.includes(k);return`${k}${v?"":"?"}`})).concat(typeof k.additionalProperties==="undefined"||Boolean(k.additionalProperties)?k.additionalProperties&&isObject(k.additionalProperties)?[`: ${formatInnerSchema(k.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:q,propertyNames:ae,patternRequired:le}=k;if(q){Object.keys(q).forEach((k=>{const E=q[k];if(Array.isArray(E)){v.push(`should have ${E.length>1?"properties":"property"} ${E.map((k=>`'${k}'`)).join(", ")} when property '${k}' is present`)}else{v.push(`should be valid according to the schema ${formatInnerSchema(E)} when property '${k}' is present`)}}))}if(ae&&Object.keys(ae).length>0){v.push(`each property name should match format ${JSON.stringify(k.propertyNames.format)}`)}if(le&&le.length>0){v.push(`should have property matching pattern ${le.map((k=>JSON.stringify(k)))}`)}return`object {${N?` ${N} `:""}}${v.length>0?` (${v.join(", ")})`:""}`}if(likeNull(k)){return`${v?"":"non-"}null`}if(Array.isArray(k.type)){return`${k.type.join(" | ")}`}return JSON.stringify(k,null,2)}getSchemaPartText(k,v,E=false,P=true){if(!k){return""}if(Array.isArray(v)){for(let E=0;E ${k.description}`}if(k.link){R+=`\n-> Read more at ${k.link}`}return R}getSchemaPartDescription(k){if(!k){return""}while(k.$ref){k=this.getSchemaPart(k.$ref)}let v="";if(k.description){v+=`\n-> ${k.description}`}if(k.link){v+=`\n-> Read more at ${k.link}`}return v}formatValidationError(k){const{keyword:v,dataPath:E}=k;const P=`${this.baseDataPath}${E}`;switch(v){case"type":{const{parentSchema:v,params:E}=k;switch(E.type){case"number":return`${P} should be a ${this.getSchemaPartText(v,false,true)}`;case"integer":return`${P} should be an ${this.getSchemaPartText(v,false,true)}`;case"string":return`${P} should be a ${this.getSchemaPartText(v,false,true)}`;case"boolean":return`${P} should be a ${this.getSchemaPartText(v,false,true)}`;case"array":return`${P} should be an array:\n${this.getSchemaPartText(v)}`;case"object":return`${P} should be an object:\n${this.getSchemaPartText(v)}`;case"null":return`${P} should be a ${this.getSchemaPartText(v,false,true)}`;default:return`${P} should be:\n${this.getSchemaPartText(v)}`}}case"instanceof":{const{parentSchema:v}=k;return`${P} should be an instance of ${this.getSchemaPartText(v,false,true)}`}case"pattern":{const{params:v,parentSchema:E}=k;const{pattern:R}=v;return`${P} should match pattern ${JSON.stringify(R)}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"format":{const{params:v,parentSchema:E}=k;const{format:R}=v;return`${P} should match format ${JSON.stringify(R)}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"formatMinimum":case"formatMaximum":{const{params:v,parentSchema:E}=k;const{comparison:R,limit:L}=v;return`${P} should be ${R} ${JSON.stringify(L)}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:v,params:E}=k;const{comparison:R,limit:L}=E;const[,...N]=getHints(v,true);if(N.length===0){N.push(`should be ${R} ${L}`)}return`${P} ${N.join(" ")}${getSchemaNonTypes(v)}.${this.getSchemaPartDescription(v)}`}case"multipleOf":{const{params:v,parentSchema:E}=k;const{multipleOf:R}=v;return`${P} should be multiple of ${R}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"patternRequired":{const{params:v,parentSchema:E}=k;const{missingPattern:R}=v;return`${P} should have property matching pattern ${JSON.stringify(R)}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"minLength":{const{params:v,parentSchema:E}=k;const{limit:R}=v;if(R===1){return`${P} should be a non-empty string${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}const L=R-1;return`${P} should be longer than ${L} character${L>1?"s":""}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"minItems":{const{params:v,parentSchema:E}=k;const{limit:R}=v;if(R===1){return`${P} should be a non-empty array${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}return`${P} should not have fewer than ${R} items${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"minProperties":{const{params:v,parentSchema:E}=k;const{limit:R}=v;if(R===1){return`${P} should be a non-empty object${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}return`${P} should not have fewer than ${R} properties${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"maxLength":{const{params:v,parentSchema:E}=k;const{limit:R}=v;const L=R+1;return`${P} should be shorter than ${L} character${L>1?"s":""}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"maxItems":{const{params:v,parentSchema:E}=k;const{limit:R}=v;return`${P} should not have more than ${R} items${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"maxProperties":{const{params:v,parentSchema:E}=k;const{limit:R}=v;return`${P} should not have more than ${R} properties${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"uniqueItems":{const{params:v,parentSchema:E}=k;const{i:R}=v;return`${P} should not contain the item '${k.data[R]}' twice${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"additionalItems":{const{params:v,parentSchema:E}=k;const{limit:R}=v;return`${P} should not have more than ${R} items${getSchemaNonTypes(E)}. These items are valid:\n${this.getSchemaPartText(E)}`}case"contains":{const{parentSchema:v}=k;return`${P} should contains at least one ${this.getSchemaPartText(v,["contains"])} item${getSchemaNonTypes(v)}.`}case"required":{const{parentSchema:v,params:E}=k;const R=E.missingProperty.replace(/^\./,"");const L=v&&Boolean(v.properties&&v.properties[R]);return`${P} misses the property '${R}'${getSchemaNonTypes(v)}.${L?` Should be:\n${this.getSchemaPartText(v,["properties",R])}`:this.getSchemaPartDescription(v)}`}case"additionalProperties":{const{params:v,parentSchema:E}=k;const{additionalProperty:R}=v;return`${P} has an unknown property '${R}'${getSchemaNonTypes(E)}. These properties are valid:\n${this.getSchemaPartText(E)}`}case"dependencies":{const{params:v,parentSchema:E}=k;const{property:R,deps:L}=v;const N=L.split(",").map((k=>`'${k.trim()}'`)).join(", ");return`${P} should have properties ${N} when property '${R}' is present${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"propertyNames":{const{params:v,parentSchema:E,schema:R}=k;const{propertyName:L}=v;return`${P} property name '${L}' is invalid${getSchemaNonTypes(E)}. Property names should be match format ${JSON.stringify(R.format)}.${this.getSchemaPartDescription(E)}`}case"enum":{const{parentSchema:v}=k;if(v&&v.enum&&v.enum.length===1){return`${P} should be ${this.getSchemaPartText(v,false,true)}`}return`${P} should be one of these:\n${this.getSchemaPartText(v)}`}case"const":{const{parentSchema:v}=k;return`${P} should be equal to constant ${this.getSchemaPartText(v,false,true)}`}case"not":{const v=likeObject(k.parentSchema)?`\n${this.getSchemaPartText(k.parentSchema)}`:"";const E=this.getSchemaPartText(k.schema,false,false,false);if(canApplyNot(k.schema)){return`${P} should be any ${E}${v}.`}const{schema:R,parentSchema:L}=k;return`${P} should not be ${this.getSchemaPartText(R,false,true)}${L&&likeObject(L)?`\n${this.getSchemaPartText(L)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:v,children:E}=k;if(E&&E.length>0){if(k.schema.length===1){const k=E[E.length-1];const P=E.slice(0,E.length-1);return this.formatValidationError(Object.assign({},k,{children:P,parentSchema:Object.assign({},v,k.parentSchema)}))}let R=filterChildren(E);if(R.length===1){return this.formatValidationError(R[0])}R=groupChildrenByFirstChild(R);return`${P} should be one of these:\n${this.getSchemaPartText(v)}\nDetails:\n${R.map((k=>` * ${indent(this.formatValidationError(k)," ")}`)).join("\n")}`}return`${P} should be one of these:\n${this.getSchemaPartText(v)}`}case"if":{const{params:v,parentSchema:E}=k;const{failingKeyword:R}=v;return`${P} should match "${R}" schema:\n${this.getSchemaPartText(E,[R])}`}case"absolutePath":{const{message:v,parentSchema:E}=k;return`${P}: ${v}${this.getSchemaPartDescription(E)}`}default:{const{message:v,parentSchema:E}=k;const R=JSON.stringify(k,null,2);return`${P} ${v} (${R}).\n${this.getSchemaPartText(E,false)}`}}}formatValidationErrors(k){return k.map((k=>{let v=this.formatValidationError(k);if(this.postFormatter){v=this.postFormatter(v,k)}return` - ${indent(v," ")}`})).join("\n")}}var q=ValidationError;v.Z=q},13987:function(k){"use strict";class Range{static getOperator(k,v){if(k==="left"){return v?">":">="}return v?"<":"<="}static formatRight(k,v,E){if(v===false){return Range.formatLeft(k,!v,!E)}return`should be ${Range.getOperator("right",E)} ${k}`}static formatLeft(k,v,E){if(v===false){return Range.formatRight(k,!v,!E)}return`should be ${Range.getOperator("left",E)} ${k}`}static formatRange(k,v,E,P,R){let L="should be";L+=` ${Range.getOperator(R?"left":"right",R?E:!E)} ${k} `;L+=R?"and":"or";L+=` ${Range.getOperator(R?"right":"left",R?P:!P)} ${v}`;return L}static getRangeValue(k,v){let E=v?Infinity:-Infinity;let P=-1;const R=v?([k])=>k<=E:([k])=>k>=E;for(let v=0;v-1){return k[P]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(k,v=false){this._left.push([k,v])}right(k,v=false){this._right.push([k,v])}format(k=true){const[v,E]=Range.getRangeValue(this._left,k);const[P,R]=Range.getRangeValue(this._right,!k);if(!Number.isFinite(v)&&!Number.isFinite(P)){return""}const L=E?v+1:v;const N=R?P-1:P;if(L===N){return`should be ${k?"":"!"}= ${L}`}if(Number.isFinite(v)&&!Number.isFinite(P)){return Range.formatLeft(v,k,E)}if(!Number.isFinite(v)&&Number.isFinite(P)){return Range.formatRight(P,k,R)}return Range.formatRange(v,P,E,R,k)}}k.exports=Range},30892:function(k,v,E){"use strict";const P=E(13987);k.exports.stringHints=function stringHints(k,v){const E=[];let P="string";const R={...k};if(!v){const k=R.minLength;const v=R.formatMinimum;const E=R.formatExclusiveMaximum;R.minLength=R.maxLength;R.maxLength=k;R.formatMinimum=R.formatMaximum;R.formatMaximum=v;R.formatExclusiveMaximum=!R.formatExclusiveMinimum;R.formatExclusiveMinimum=!E}if(typeof R.minLength==="number"){if(R.minLength===1){P="non-empty string"}else{const k=Math.max(R.minLength-1,0);E.push(`should be longer than ${k} character${k>1?"s":""}`)}}if(typeof R.maxLength==="number"){if(R.maxLength===0){P="empty string"}else{const k=R.maxLength+1;E.push(`should be shorter than ${k} character${k>1?"s":""}`)}}if(R.pattern){E.push(`should${v?"":" not"} match pattern ${JSON.stringify(R.pattern)}`)}if(R.format){E.push(`should${v?"":" not"} match format ${JSON.stringify(R.format)}`)}if(R.formatMinimum){E.push(`should be ${R.formatExclusiveMinimum?">":">="} ${JSON.stringify(R.formatMinimum)}`)}if(R.formatMaximum){E.push(`should be ${R.formatExclusiveMaximum?"<":"<="} ${JSON.stringify(R.formatMaximum)}`)}return[P].concat(E)};k.exports.numberHints=function numberHints(k,v){const E=[k.type==="integer"?"integer":"number"];const R=new P;if(typeof k.minimum==="number"){R.left(k.minimum)}if(typeof k.exclusiveMinimum==="number"){R.left(k.exclusiveMinimum,true)}if(typeof k.maximum==="number"){R.right(k.maximum)}if(typeof k.exclusiveMaximum==="number"){R.right(k.exclusiveMaximum,true)}const L=R.format(v);if(L){E.push(L)}if(typeof k.multipleOf==="number"){E.push(`should${v?"":" not"} be multiple of ${k.multipleOf}`)}return E}},63597:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class AsyncParallelBailHookCodeFactory extends R{content({onError:k,onResult:v,onDone:E}){let P="";P+=`var _results = new Array(${this.options.taps.length});\n`;P+="var _checkDone = function() {\n";P+="for(var i = 0; i < _results.length; i++) {\n";P+="var item = _results[i];\n";P+="if(item === undefined) return false;\n";P+="if(item.result !== undefined) {\n";P+=v("item.result");P+="return true;\n";P+="}\n";P+="if(item.error) {\n";P+=k("item.error");P+="return true;\n";P+="}\n";P+="}\n";P+="return false;\n";P+="}\n";P+=this.callTapsParallel({onError:(k,v,E,P)=>{let R="";R+=`if(${k} < _results.length && ((_results.length = ${k+1}), (_results[${k}] = { error: ${v} }), _checkDone())) {\n`;R+=P(true);R+="} else {\n";R+=E();R+="}\n";return R},onResult:(k,v,E,P)=>{let R="";R+=`if(${k} < _results.length && (${v} !== undefined && (_results.length = ${k+1}), (_results[${k}] = { result: ${v} }), _checkDone())) {\n`;R+=P(true);R+="} else {\n";R+=E();R+="}\n";return R},onTap:(k,v,E,P)=>{let R="";if(k>0){R+=`if(${k} >= _results.length) {\n`;R+=E();R+="} else {\n"}R+=v();if(k>0)R+="}\n";return R},onDone:E});return P}}const L=new AsyncParallelBailHookCodeFactory;const COMPILE=function(k){L.setup(this,k);return L.create(k)};function AsyncParallelBailHook(k=[],v=undefined){const E=new P(k,v);E.constructor=AsyncParallelBailHook;E.compile=COMPILE;E._call=undefined;E.call=undefined;return E}AsyncParallelBailHook.prototype=null;k.exports=AsyncParallelBailHook},57101:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class AsyncParallelHookCodeFactory extends R{content({onError:k,onDone:v}){return this.callTapsParallel({onError:(v,E,P,R)=>k(E)+R(true),onDone:v})}}const L=new AsyncParallelHookCodeFactory;const COMPILE=function(k){L.setup(this,k);return L.create(k)};function AsyncParallelHook(k=[],v=undefined){const E=new P(k,v);E.constructor=AsyncParallelHook;E.compile=COMPILE;E._call=undefined;E.call=undefined;return E}AsyncParallelHook.prototype=null;k.exports=AsyncParallelHook},19681:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class AsyncSeriesBailHookCodeFactory extends R{content({onError:k,onResult:v,resultReturns:E,onDone:P}){return this.callTapsSeries({onError:(v,E,P,R)=>k(E)+R(true),onResult:(k,E,P)=>`if(${E} !== undefined) {\n${v(E)}\n} else {\n${P()}}\n`,resultReturns:E,onDone:P})}}const L=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(k){L.setup(this,k);return L.create(k)};function AsyncSeriesBailHook(k=[],v=undefined){const E=new P(k,v);E.constructor=AsyncSeriesBailHook;E.compile=COMPILE;E._call=undefined;E.call=undefined;return E}AsyncSeriesBailHook.prototype=null;k.exports=AsyncSeriesBailHook},12337:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class AsyncSeriesHookCodeFactory extends R{content({onError:k,onDone:v}){return this.callTapsSeries({onError:(v,E,P,R)=>k(E)+R(true),onDone:v})}}const L=new AsyncSeriesHookCodeFactory;const COMPILE=function(k){L.setup(this,k);return L.create(k)};function AsyncSeriesHook(k=[],v=undefined){const E=new P(k,v);E.constructor=AsyncSeriesHook;E.compile=COMPILE;E._call=undefined;E.call=undefined;return E}AsyncSeriesHook.prototype=null;k.exports=AsyncSeriesHook},60104:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class AsyncSeriesLoopHookCodeFactory extends R{content({onError:k,onDone:v}){return this.callTapsLooping({onError:(v,E,P,R)=>k(E)+R(true),onDone:v})}}const L=new AsyncSeriesLoopHookCodeFactory;const COMPILE=function(k){L.setup(this,k);return L.create(k)};function AsyncSeriesLoopHook(k=[],v=undefined){const E=new P(k,v);E.constructor=AsyncSeriesLoopHook;E.compile=COMPILE;E._call=undefined;E.call=undefined;return E}AsyncSeriesLoopHook.prototype=null;k.exports=AsyncSeriesLoopHook},79340:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class AsyncSeriesWaterfallHookCodeFactory extends R{content({onError:k,onResult:v,onDone:E}){return this.callTapsSeries({onError:(v,E,P,R)=>k(E)+R(true),onResult:(k,v,E)=>{let P="";P+=`if(${v} !== undefined) {\n`;P+=`${this._args[0]} = ${v};\n`;P+=`}\n`;P+=E();return P},onDone:()=>v(this._args[0])})}}const L=new AsyncSeriesWaterfallHookCodeFactory;const COMPILE=function(k){L.setup(this,k);return L.create(k)};function AsyncSeriesWaterfallHook(k=[],v=undefined){if(k.length<1)throw new Error("Waterfall hooks must have at least one argument");const E=new P(k,v);E.constructor=AsyncSeriesWaterfallHook;E.compile=COMPILE;E._call=undefined;E.call=undefined;return E}AsyncSeriesWaterfallHook.prototype=null;k.exports=AsyncSeriesWaterfallHook},25587:function(k,v,E){"use strict";const P=E(73837);const R=P.deprecate((()=>{}),"Hook.context is deprecated and will be removed");const CALL_DELEGATE=function(...k){this.call=this._createCall("sync");return this.call(...k)};const CALL_ASYNC_DELEGATE=function(...k){this.callAsync=this._createCall("async");return this.callAsync(...k)};const PROMISE_DELEGATE=function(...k){this.promise=this._createCall("promise");return this.promise(...k)};class Hook{constructor(k=[],v=undefined){this._args=k;this.name=v;this.taps=[];this.interceptors=[];this._call=CALL_DELEGATE;this.call=CALL_DELEGATE;this._callAsync=CALL_ASYNC_DELEGATE;this.callAsync=CALL_ASYNC_DELEGATE;this._promise=PROMISE_DELEGATE;this.promise=PROMISE_DELEGATE;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(k){throw new Error("Abstract: should be overridden")}_createCall(k){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:k})}_tap(k,v,E){if(typeof v==="string"){v={name:v.trim()}}else if(typeof v!=="object"||v===null){throw new Error("Invalid tap options")}if(typeof v.name!=="string"||v.name===""){throw new Error("Missing name for tap")}if(typeof v.context!=="undefined"){R()}v=Object.assign({type:k,fn:E},v);v=this._runRegisterInterceptors(v);this._insert(v)}tap(k,v){this._tap("sync",k,v)}tapAsync(k,v){this._tap("async",k,v)}tapPromise(k,v){this._tap("promise",k,v)}_runRegisterInterceptors(k){for(const v of this.interceptors){if(v.register){const E=v.register(k);if(E!==undefined){k=E}}}return k}withOptions(k){const mergeOptions=v=>Object.assign({},k,typeof v==="string"?{name:v}:v);return{name:this.name,tap:(k,v)=>this.tap(mergeOptions(k),v),tapAsync:(k,v)=>this.tapAsync(mergeOptions(k),v),tapPromise:(k,v)=>this.tapPromise(mergeOptions(k),v),intercept:k=>this.intercept(k),isUsed:()=>this.isUsed(),withOptions:k=>this.withOptions(mergeOptions(k))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(k){this._resetCompilation();this.interceptors.push(Object.assign({},k));if(k.register){for(let v=0;v0){P--;const k=this.taps[P];this.taps[P+1]=k;const R=k.stage||0;if(v){if(v.has(k.name)){v.delete(k.name);continue}if(v.size>0){continue}}if(R>E){continue}P++;break}this.taps[P]=k}}Object.setPrototypeOf(Hook.prototype,null);k.exports=Hook},51040:function(k){"use strict";class HookCodeFactory{constructor(k){this.config=k;this.options=undefined;this._args=undefined}create(k){this.init(k);let v;switch(this.options.type){case"sync":v=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:k=>`throw ${k};\n`,onResult:k=>`return ${k};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":v=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:k=>`_callback(${k});\n`,onResult:k=>`_callback(null, ${k});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let k=false;const E=this.contentWithInterceptors({onError:v=>{k=true;return`_error(${v});\n`},onResult:k=>`_resolve(${k});\n`,onDone:()=>"_resolve();\n"});let P="";P+='"use strict";\n';P+=this.header();P+="return new Promise((function(_resolve, _reject) {\n";if(k){P+="var _sync = true;\n";P+="function _error(_err) {\n";P+="if(_sync)\n";P+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";P+="else\n";P+="_reject(_err);\n";P+="};\n"}P+=E;if(k){P+="_sync = false;\n"}P+="}));\n";v=new Function(this.args(),P);break}this.deinit();return v}setup(k,v){k._x=v.taps.map((k=>k.fn))}init(k){this.options=k;this._args=k.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(k){if(this.options.interceptors.length>0){const v=k.onError;const E=k.onResult;const P=k.onDone;let R="";for(let k=0;k{let E="";for(let v=0;v{let v="";for(let E=0;E{let k="";for(let v=0;v0){k+="var _taps = this.taps;\n";k+="var _interceptors = this.interceptors;\n"}return k}needContext(){for(const k of this.options.taps)if(k.context)return true;return false}callTap(k,{onError:v,onResult:E,onDone:P,rethrowIfPossible:R}){let L="";let N=false;for(let v=0;vk.type!=="sync"));const q=E||R;let ae="";let le=P;let pe=0;for(let E=this.options.taps.length-1;E>=0;E--){const R=E;const me=le!==P&&(this.options.taps[R].type!=="sync"||pe++>20);if(me){pe=0;ae+=`function _next${R}() {\n`;ae+=le();ae+=`}\n`;le=()=>`${q?"return ":""}_next${R}();\n`}const ye=le;const doneBreak=k=>{if(k)return"";return P()};const _e=this.callTap(R,{onError:v=>k(R,v,ye,doneBreak),onResult:v&&(k=>v(R,k,ye,doneBreak)),onDone:!v&&ye,rethrowIfPossible:L&&(N<0||R_e}ae+=le();return ae}callTapsLooping({onError:k,onDone:v,rethrowIfPossible:E}){if(this.options.taps.length===0)return v();const P=this.options.taps.every((k=>k.type==="sync"));let R="";if(!P){R+="var _looper = (function() {\n";R+="var _loopAsync = false;\n"}R+="var _loop;\n";R+="do {\n";R+="_loop = false;\n";for(let k=0;k{let L="";L+=`if(${v} !== undefined) {\n`;L+="_loop = true;\n";if(!P)L+="if(_loopAsync) _looper();\n";L+=R(true);L+=`} else {\n`;L+=E();L+=`}\n`;return L},onDone:v&&(()=>{let k="";k+="if(!_loop) {\n";k+=v();k+="}\n";return k}),rethrowIfPossible:E&&P});R+="} while(_loop);\n";if(!P){R+="_loopAsync = true;\n";R+="});\n";R+="_looper();\n"}return R}callTapsParallel({onError:k,onResult:v,onDone:E,rethrowIfPossible:P,onTap:R=((k,v)=>v())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:k,onResult:v,onDone:E,rethrowIfPossible:P})}let L="";L+="do {\n";L+=`var _counter = ${this.options.taps.length};\n`;if(E){L+="var _done = (function() {\n";L+=E();L+="});\n"}for(let N=0;N{if(E)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=k=>{if(k||!E)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};L+="if(_counter <= 0) break;\n";L+=R(N,(()=>this.callTap(N,{onError:v=>{let E="";E+="if(_counter > 0) {\n";E+=k(N,v,done,doneBreak);E+="}\n";return E},onResult:v&&(k=>{let E="";E+="if(_counter > 0) {\n";E+=v(N,k,done,doneBreak);E+="}\n";return E}),onDone:!v&&(()=>done()),rethrowIfPossible:P})),done,doneBreak)}L+="} while(false);\n";return L}args({before:k,after:v}={}){let E=this._args;if(k)E=[k].concat(E);if(v)E=E.concat(v);if(E.length===0){return""}else{return E.join(", ")}}getTapFn(k){return`_x[${k}]`}getTap(k){return`_taps[${k}]`}getInterceptor(k){return`_interceptors[${k}]`}}k.exports=HookCodeFactory},76763:function(k,v,E){"use strict";const P=E(73837);const defaultFactory=(k,v)=>v;class HookMap{constructor(k,v=undefined){this._map=new Map;this.name=v;this._factory=k;this._interceptors=[]}get(k){return this._map.get(k)}for(k){const v=this.get(k);if(v!==undefined){return v}let E=this._factory(k);const P=this._interceptors;for(let v=0;vv.withOptions(k))),this.name)}}k.exports=MultiHook},80038:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class SyncBailHookCodeFactory extends R{content({onError:k,onResult:v,resultReturns:E,onDone:P,rethrowIfPossible:R}){return this.callTapsSeries({onError:(v,E)=>k(E),onResult:(k,E,P)=>`if(${E} !== undefined) {\n${v(E)};\n} else {\n${P()}}\n`,resultReturns:E,onDone:P,rethrowIfPossible:R})}}const L=new SyncBailHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const COMPILE=function(k){L.setup(this,k);return L.create(k)};function SyncBailHook(k=[],v=undefined){const E=new P(k,v);E.constructor=SyncBailHook;E.tapAsync=TAP_ASYNC;E.tapPromise=TAP_PROMISE;E.compile=COMPILE;return E}SyncBailHook.prototype=null;k.exports=SyncBailHook},52606:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class SyncHookCodeFactory extends R{content({onError:k,onDone:v,rethrowIfPossible:E}){return this.callTapsSeries({onError:(v,E)=>k(E),onDone:v,rethrowIfPossible:E})}}const L=new SyncHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const COMPILE=function(k){L.setup(this,k);return L.create(k)};function SyncHook(k=[],v=undefined){const E=new P(k,v);E.constructor=SyncHook;E.tapAsync=TAP_ASYNC;E.tapPromise=TAP_PROMISE;E.compile=COMPILE;return E}SyncHook.prototype=null;k.exports=SyncHook},10359:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class SyncLoopHookCodeFactory extends R{content({onError:k,onDone:v,rethrowIfPossible:E}){return this.callTapsLooping({onError:(v,E)=>k(E),onDone:v,rethrowIfPossible:E})}}const L=new SyncLoopHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const COMPILE=function(k){L.setup(this,k);return L.create(k)};function SyncLoopHook(k=[],v=undefined){const E=new P(k,v);E.constructor=SyncLoopHook;E.tapAsync=TAP_ASYNC;E.tapPromise=TAP_PROMISE;E.compile=COMPILE;return E}SyncLoopHook.prototype=null;k.exports=SyncLoopHook},3746:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class SyncWaterfallHookCodeFactory extends R{content({onError:k,onResult:v,resultReturns:E,rethrowIfPossible:P}){return this.callTapsSeries({onError:(v,E)=>k(E),onResult:(k,v,E)=>{let P="";P+=`if(${v} !== undefined) {\n`;P+=`${this._args[0]} = ${v};\n`;P+=`}\n`;P+=E();return P},onDone:()=>v(this._args[0]),doneReturns:E,rethrowIfPossible:P})}}const L=new SyncWaterfallHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const COMPILE=function(k){L.setup(this,k);return L.create(k)};function SyncWaterfallHook(k=[],v=undefined){if(k.length<1)throw new Error("Waterfall hooks must have at least one argument");const E=new P(k,v);E.constructor=SyncWaterfallHook;E.tapAsync=TAP_ASYNC;E.tapPromise=TAP_PROMISE;E.compile=COMPILE;return E}SyncWaterfallHook.prototype=null;k.exports=SyncWaterfallHook},79846:function(k,v,E){"use strict";v.__esModule=true;v.SyncHook=E(52606);v.SyncBailHook=E(80038);v.SyncWaterfallHook=E(3746);v.SyncLoopHook=E(10359);v.AsyncParallelHook=E(57101);v.AsyncParallelBailHook=E(63597);v.AsyncSeriesHook=E(12337);v.AsyncSeriesBailHook=E(19681);v.AsyncSeriesLoopHook=E(60104);v.AsyncSeriesWaterfallHook=E(79340);v.HookMap=E(76763);v.MultiHook=E(49771)},36849:function(k){ -/*! ***************************************************************************** +;(function () { + var k = { + 75583: function (k, v) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.cloneNode = cloneNode + function cloneNode(k) { + return Object.assign({}, k) + } + }, + 26333: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + var P = { + numberLiteralFromRaw: true, + withLoc: true, + withRaw: true, + funcParam: true, + indexLiteral: true, + memIndexLiteral: true, + instruction: true, + objectInstruction: true, + traverse: true, + signatures: true, + cloneNode: true, + moduleContextFromModuleAST: true, + } + Object.defineProperty(v, 'numberLiteralFromRaw', { + enumerable: true, + get: function get() { + return L.numberLiteralFromRaw + }, + }) + Object.defineProperty(v, 'withLoc', { + enumerable: true, + get: function get() { + return L.withLoc + }, + }) + Object.defineProperty(v, 'withRaw', { + enumerable: true, + get: function get() { + return L.withRaw + }, + }) + Object.defineProperty(v, 'funcParam', { + enumerable: true, + get: function get() { + return L.funcParam + }, + }) + Object.defineProperty(v, 'indexLiteral', { + enumerable: true, + get: function get() { + return L.indexLiteral + }, + }) + Object.defineProperty(v, 'memIndexLiteral', { + enumerable: true, + get: function get() { + return L.memIndexLiteral + }, + }) + Object.defineProperty(v, 'instruction', { + enumerable: true, + get: function get() { + return L.instruction + }, + }) + Object.defineProperty(v, 'objectInstruction', { + enumerable: true, + get: function get() { + return L.objectInstruction + }, + }) + Object.defineProperty(v, 'traverse', { + enumerable: true, + get: function get() { + return N.traverse + }, + }) + Object.defineProperty(v, 'signatures', { + enumerable: true, + get: function get() { + return q.signatures + }, + }) + Object.defineProperty(v, 'cloneNode', { + enumerable: true, + get: function get() { + return le.cloneNode + }, + }) + Object.defineProperty(v, 'moduleContextFromModuleAST', { + enumerable: true, + get: function get() { + return pe.moduleContextFromModuleAST + }, + }) + var R = E(860) + Object.keys(R).forEach(function (k) { + if (k === 'default' || k === '__esModule') return + if (Object.prototype.hasOwnProperty.call(P, k)) return + if (k in v && v[k] === R[k]) return + Object.defineProperty(v, k, { + enumerable: true, + get: function get() { + return R[k] + }, + }) + }) + var L = E(68958) + var N = E(11885) + var q = E(96395) + var ae = E(20885) + Object.keys(ae).forEach(function (k) { + if (k === 'default' || k === '__esModule') return + if (Object.prototype.hasOwnProperty.call(P, k)) return + if (k in v && v[k] === ae[k]) return + Object.defineProperty(v, k, { + enumerable: true, + get: function get() { + return ae[k] + }, + }) + }) + var le = E(75583) + var pe = E(15067) + }, + 68958: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.numberLiteralFromRaw = numberLiteralFromRaw + v.instruction = instruction + v.objectInstruction = objectInstruction + v.withLoc = withLoc + v.withRaw = withRaw + v.funcParam = funcParam + v.indexLiteral = indexLiteral + v.memIndexLiteral = memIndexLiteral + var P = E(37197) + var R = E(860) + function numberLiteralFromRaw(k) { + var v = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : 'i32' + var E = k + if (typeof k === 'string') { + k = k.replace(/_/g, '') + } + if (typeof k === 'number') { + return (0, R.numberLiteral)(k, String(E)) + } else { + switch (v) { + case 'i32': { + return (0, R.numberLiteral)((0, P.parse32I)(k), String(E)) + } + case 'u32': { + return (0, R.numberLiteral)((0, P.parseU32)(k), String(E)) + } + case 'i64': { + return (0, R.longNumberLiteral)((0, P.parse64I)(k), String(E)) + } + case 'f32': { + return (0, R.floatLiteral)( + (0, P.parse32F)(k), + (0, P.isNanLiteral)(k), + (0, P.isInfLiteral)(k), + String(E) + ) + } + default: { + return (0, R.floatLiteral)( + (0, P.parse64F)(k), + (0, P.isNanLiteral)(k), + (0, P.isInfLiteral)(k), + String(E) + ) + } + } + } + } + function instruction(k) { + var v = + arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [] + var E = + arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {} + return (0, R.instr)(k, undefined, v, E) + } + function objectInstruction(k, v) { + var E = + arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [] + var P = + arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {} + return (0, R.instr)(k, v, E, P) + } + function withLoc(k, v, E) { + var P = { start: E, end: v } + k.loc = P + return k + } + function withRaw(k, v) { + k.raw = v + return k + } + function funcParam(k, v) { + return { id: v, valtype: k } + } + function indexLiteral(k) { + var v = numberLiteralFromRaw(k, 'u32') + return v + } + function memIndexLiteral(k) { + var v = numberLiteralFromRaw(k, 'u32') + return v + } + }, + 92489: function (k, v) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.createPath = createPath + function ownKeys(k, v) { + var E = Object.keys(k) + if (Object.getOwnPropertySymbols) { + var P = Object.getOwnPropertySymbols(k) + if (v) { + P = P.filter(function (v) { + return Object.getOwnPropertyDescriptor(k, v).enumerable + }) + } + E.push.apply(E, P) + } + return E + } + function _objectSpread(k) { + for (var v = 1; v < arguments.length; v++) { + var E = arguments[v] != null ? arguments[v] : {} + if (v % 2) { + ownKeys(Object(E), true).forEach(function (v) { + _defineProperty(k, v, E[v]) + }) + } else if (Object.getOwnPropertyDescriptors) { + Object.defineProperties(k, Object.getOwnPropertyDescriptors(E)) + } else { + ownKeys(Object(E)).forEach(function (v) { + Object.defineProperty(k, v, Object.getOwnPropertyDescriptor(E, v)) + }) + } + } + return k + } + function _defineProperty(k, v, E) { + if (v in k) { + Object.defineProperty(k, v, { + value: E, + enumerable: true, + configurable: true, + writable: true, + }) + } else { + k[v] = E + } + return k + } + function findParent(k, v) { + var E = k.parentPath + if (E == null) { + throw new Error('node is root') + } + var P = E + while (v(P) !== false) { + if (P.parentPath == null) { + return null + } + P = P.parentPath + } + return P.node + } + function insertBefore(k, v) { + return insert(k, v) + } + function insertAfter(k, v) { + return insert(k, v, 1) + } + function insert(k, v) { + var E = k.node, + P = k.inList, + R = k.parentPath, + L = k.parentKey + var N = + arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0 + if (!P) { + throw new Error( + 'inList' + + ' error: ' + + ('insert can only be used for nodes that are within lists' || 0) + ) + } + if (!(R != null)) { + throw new Error( + 'parentPath != null' + + ' error: ' + + ('Can not remove root node' || 0) + ) + } + var q = R.node[L] + var ae = q.findIndex(function (k) { + return k === E + }) + q.splice(ae + N, 0, v) + } + function remove(k) { + var v = k.node, + E = k.parentKey, + P = k.parentPath + if (!(P != null)) { + throw new Error( + 'parentPath != null' + + ' error: ' + + ('Can not remove root node' || 0) + ) + } + var R = P.node + var L = R[E] + if (Array.isArray(L)) { + R[E] = L.filter(function (k) { + return k !== v + }) + } else { + delete R[E] + } + v._deleted = true + } + function stop(k) { + k.shouldStop = true + } + function replaceWith(k, v) { + var E = k.parentPath.node + var P = E[k.parentKey] + if (Array.isArray(P)) { + var R = P.findIndex(function (v) { + return v === k.node + }) + P.splice(R, 1, v) + } else { + E[k.parentKey] = v + } + k.node._deleted = true + k.node = v + } + function bindNodeOperations(k, v) { + var E = Object.keys(k) + var P = {} + E.forEach(function (E) { + P[E] = k[E].bind(null, v) + }) + return P + } + function createPathOperations(k) { + return bindNodeOperations( + { + findParent: findParent, + replaceWith: replaceWith, + remove: remove, + insertBefore: insertBefore, + insertAfter: insertAfter, + stop: stop, + }, + k + ) + } + function createPath(k) { + var v = _objectSpread({}, k) + Object.assign(v, createPathOperations(v)) + return v + } + }, + 860: function (k, v) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.module = _module + v.moduleMetadata = moduleMetadata + v.moduleNameMetadata = moduleNameMetadata + v.functionNameMetadata = functionNameMetadata + v.localNameMetadata = localNameMetadata + v.binaryModule = binaryModule + v.quoteModule = quoteModule + v.sectionMetadata = sectionMetadata + v.producersSectionMetadata = producersSectionMetadata + v.producerMetadata = producerMetadata + v.producerMetadataVersionedName = producerMetadataVersionedName + v.loopInstruction = loopInstruction + v.instr = instr + v.ifInstruction = ifInstruction + v.stringLiteral = stringLiteral + v.numberLiteral = numberLiteral + v.longNumberLiteral = longNumberLiteral + v.floatLiteral = floatLiteral + v.elem = elem + v.indexInFuncSection = indexInFuncSection + v.valtypeLiteral = valtypeLiteral + v.typeInstruction = typeInstruction + v.start = start + v.globalType = globalType + v.leadingComment = leadingComment + v.blockComment = blockComment + v.data = data + v.global = global + v.table = table + v.memory = memory + v.funcImportDescr = funcImportDescr + v.moduleImport = moduleImport + v.moduleExportDescr = moduleExportDescr + v.moduleExport = moduleExport + v.limit = limit + v.signature = signature + v.program = program + v.identifier = identifier + v.blockInstruction = blockInstruction + v.callInstruction = callInstruction + v.callIndirectInstruction = callIndirectInstruction + v.byteArray = byteArray + v.func = func + v.internalBrUnless = internalBrUnless + v.internalGoto = internalGoto + v.internalCallExtern = internalCallExtern + v.internalEndAndReturn = internalEndAndReturn + v.assertInternalCallExtern = + v.assertInternalGoto = + v.assertInternalBrUnless = + v.assertFunc = + v.assertByteArray = + v.assertCallIndirectInstruction = + v.assertCallInstruction = + v.assertBlockInstruction = + v.assertIdentifier = + v.assertProgram = + v.assertSignature = + v.assertLimit = + v.assertModuleExport = + v.assertModuleExportDescr = + v.assertModuleImport = + v.assertFuncImportDescr = + v.assertMemory = + v.assertTable = + v.assertGlobal = + v.assertData = + v.assertBlockComment = + v.assertLeadingComment = + v.assertGlobalType = + v.assertStart = + v.assertTypeInstruction = + v.assertValtypeLiteral = + v.assertIndexInFuncSection = + v.assertElem = + v.assertFloatLiteral = + v.assertLongNumberLiteral = + v.assertNumberLiteral = + v.assertStringLiteral = + v.assertIfInstruction = + v.assertInstr = + v.assertLoopInstruction = + v.assertProducerMetadataVersionedName = + v.assertProducerMetadata = + v.assertProducersSectionMetadata = + v.assertSectionMetadata = + v.assertQuoteModule = + v.assertBinaryModule = + v.assertLocalNameMetadata = + v.assertFunctionNameMetadata = + v.assertModuleNameMetadata = + v.assertModuleMetadata = + v.assertModule = + v.isIntrinsic = + v.isImportDescr = + v.isNumericLiteral = + v.isExpression = + v.isInstruction = + v.isBlock = + v.isNode = + v.isInternalEndAndReturn = + v.isInternalCallExtern = + v.isInternalGoto = + v.isInternalBrUnless = + v.isFunc = + v.isByteArray = + v.isCallIndirectInstruction = + v.isCallInstruction = + v.isBlockInstruction = + v.isIdentifier = + v.isProgram = + v.isSignature = + v.isLimit = + v.isModuleExport = + v.isModuleExportDescr = + v.isModuleImport = + v.isFuncImportDescr = + v.isMemory = + v.isTable = + v.isGlobal = + v.isData = + v.isBlockComment = + v.isLeadingComment = + v.isGlobalType = + v.isStart = + v.isTypeInstruction = + v.isValtypeLiteral = + v.isIndexInFuncSection = + v.isElem = + v.isFloatLiteral = + v.isLongNumberLiteral = + v.isNumberLiteral = + v.isStringLiteral = + v.isIfInstruction = + v.isInstr = + v.isLoopInstruction = + v.isProducerMetadataVersionedName = + v.isProducerMetadata = + v.isProducersSectionMetadata = + v.isSectionMetadata = + v.isQuoteModule = + v.isBinaryModule = + v.isLocalNameMetadata = + v.isFunctionNameMetadata = + v.isModuleNameMetadata = + v.isModuleMetadata = + v.isModule = + void 0 + v.nodeAndUnionTypes = + v.unionTypesMap = + v.assertInternalEndAndReturn = + void 0 + function _typeof(k) { + '@babel/helpers - typeof' + if ( + typeof Symbol === 'function' && + typeof Symbol.iterator === 'symbol' + ) { + _typeof = function _typeof(k) { + return typeof k + } + } else { + _typeof = function _typeof(k) { + return k && + typeof Symbol === 'function' && + k.constructor === Symbol && + k !== Symbol.prototype + ? 'symbol' + : typeof k + } + } + return _typeof(k) + } + function isTypeOf(k) { + return function (v) { + return v.type === k + } + } + function assertTypeOf(k) { + return function (v) { + return (function () { + if (!(v.type === k)) { + throw new Error( + 'n.type === t' + ' error: ' + (undefined || 'unknown') + ) + } + })() + } + } + function _module(k, v, E) { + if (k !== null && k !== undefined) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof id === "string"' + + ' error: ' + + ('Argument id must be of type string, given: ' + _typeof(k) || + 0) + ) + } + } + if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { + throw new Error( + 'typeof fields === "object" && typeof fields.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var P = { type: 'Module', id: k, fields: v } + if (typeof E !== 'undefined') { + P.metadata = E + } + return P + } + function moduleMetadata(k, v, E, P) { + if (!(_typeof(k) === 'object' && typeof k.length !== 'undefined')) { + throw new Error( + 'typeof sections === "object" && typeof sections.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + if (v !== null && v !== undefined) { + if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { + throw new Error( + 'typeof functionNames === "object" && typeof functionNames.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + } + if (E !== null && E !== undefined) { + if (!(_typeof(E) === 'object' && typeof E.length !== 'undefined')) { + throw new Error( + 'typeof localNames === "object" && typeof localNames.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + } + if (P !== null && P !== undefined) { + if (!(_typeof(P) === 'object' && typeof P.length !== 'undefined')) { + throw new Error( + 'typeof producers === "object" && typeof producers.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + } + var R = { type: 'ModuleMetadata', sections: k } + if (typeof v !== 'undefined' && v.length > 0) { + R.functionNames = v + } + if (typeof E !== 'undefined' && E.length > 0) { + R.localNames = E + } + if (typeof P !== 'undefined' && P.length > 0) { + R.producers = P + } + return R + } + function moduleNameMetadata(k) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof value === "string"' + + ' error: ' + + ('Argument value must be of type string, given: ' + _typeof(k) || + 0) + ) + } + var v = { type: 'ModuleNameMetadata', value: k } + return v + } + function functionNameMetadata(k, v) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof value === "string"' + + ' error: ' + + ('Argument value must be of type string, given: ' + _typeof(k) || + 0) + ) + } + if (!(typeof v === 'number')) { + throw new Error( + 'typeof index === "number"' + + ' error: ' + + ('Argument index must be of type number, given: ' + _typeof(v) || + 0) + ) + } + var E = { type: 'FunctionNameMetadata', value: k, index: v } + return E + } + function localNameMetadata(k, v, E) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof value === "string"' + + ' error: ' + + ('Argument value must be of type string, given: ' + _typeof(k) || + 0) + ) + } + if (!(typeof v === 'number')) { + throw new Error( + 'typeof localIndex === "number"' + + ' error: ' + + ('Argument localIndex must be of type number, given: ' + + _typeof(v) || 0) + ) + } + if (!(typeof E === 'number')) { + throw new Error( + 'typeof functionIndex === "number"' + + ' error: ' + + ('Argument functionIndex must be of type number, given: ' + + _typeof(E) || 0) + ) + } + var P = { + type: 'LocalNameMetadata', + value: k, + localIndex: v, + functionIndex: E, + } + return P + } + function binaryModule(k, v) { + if (k !== null && k !== undefined) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof id === "string"' + + ' error: ' + + ('Argument id must be of type string, given: ' + _typeof(k) || + 0) + ) + } + } + if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { + throw new Error( + 'typeof blob === "object" && typeof blob.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var E = { type: 'BinaryModule', id: k, blob: v } + return E + } + function quoteModule(k, v) { + if (k !== null && k !== undefined) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof id === "string"' + + ' error: ' + + ('Argument id must be of type string, given: ' + _typeof(k) || + 0) + ) + } + } + if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { + throw new Error( + 'typeof string === "object" && typeof string.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var E = { type: 'QuoteModule', id: k, string: v } + return E + } + function sectionMetadata(k, v, E, P) { + if (!(typeof v === 'number')) { + throw new Error( + 'typeof startOffset === "number"' + + ' error: ' + + ('Argument startOffset must be of type number, given: ' + + _typeof(v) || 0) + ) + } + var R = { + type: 'SectionMetadata', + section: k, + startOffset: v, + size: E, + vectorOfSize: P, + } + return R + } + function producersSectionMetadata(k) { + if (!(_typeof(k) === 'object' && typeof k.length !== 'undefined')) { + throw new Error( + 'typeof producers === "object" && typeof producers.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var v = { type: 'ProducersSectionMetadata', producers: k } + return v + } + function producerMetadata(k, v, E) { + if (!(_typeof(k) === 'object' && typeof k.length !== 'undefined')) { + throw new Error( + 'typeof language === "object" && typeof language.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { + throw new Error( + 'typeof processedBy === "object" && typeof processedBy.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + if (!(_typeof(E) === 'object' && typeof E.length !== 'undefined')) { + throw new Error( + 'typeof sdk === "object" && typeof sdk.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var P = { + type: 'ProducerMetadata', + language: k, + processedBy: v, + sdk: E, + } + return P + } + function producerMetadataVersionedName(k, v) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof name === "string"' + + ' error: ' + + ('Argument name must be of type string, given: ' + _typeof(k) || + 0) + ) + } + if (!(typeof v === 'string')) { + throw new Error( + 'typeof version === "string"' + + ' error: ' + + ('Argument version must be of type string, given: ' + + _typeof(v) || 0) + ) + } + var E = { type: 'ProducerMetadataVersionedName', name: k, version: v } + return E + } + function loopInstruction(k, v, E) { + if (!(_typeof(E) === 'object' && typeof E.length !== 'undefined')) { + throw new Error( + 'typeof instr === "object" && typeof instr.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var P = { + type: 'LoopInstruction', + id: 'loop', + label: k, + resulttype: v, + instr: E, + } + return P + } + function instr(k, v, E, P) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof id === "string"' + + ' error: ' + + ('Argument id must be of type string, given: ' + _typeof(k) || 0) + ) + } + if (!(_typeof(E) === 'object' && typeof E.length !== 'undefined')) { + throw new Error( + 'typeof args === "object" && typeof args.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var R = { type: 'Instr', id: k, args: E } + if (typeof v !== 'undefined') { + R.object = v + } + if (typeof P !== 'undefined' && Object.keys(P).length !== 0) { + R.namedArgs = P + } + return R + } + function ifInstruction(k, v, E, P, R) { + if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { + throw new Error( + 'typeof test === "object" && typeof test.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + if (!(_typeof(P) === 'object' && typeof P.length !== 'undefined')) { + throw new Error( + 'typeof consequent === "object" && typeof consequent.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + if (!(_typeof(R) === 'object' && typeof R.length !== 'undefined')) { + throw new Error( + 'typeof alternate === "object" && typeof alternate.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var L = { + type: 'IfInstruction', + id: 'if', + testLabel: k, + test: v, + result: E, + consequent: P, + alternate: R, + } + return L + } + function stringLiteral(k) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof value === "string"' + + ' error: ' + + ('Argument value must be of type string, given: ' + _typeof(k) || + 0) + ) + } + var v = { type: 'StringLiteral', value: k } + return v + } + function numberLiteral(k, v) { + if (!(typeof k === 'number')) { + throw new Error( + 'typeof value === "number"' + + ' error: ' + + ('Argument value must be of type number, given: ' + _typeof(k) || + 0) + ) + } + if (!(typeof v === 'string')) { + throw new Error( + 'typeof raw === "string"' + + ' error: ' + + ('Argument raw must be of type string, given: ' + _typeof(v) || 0) + ) + } + var E = { type: 'NumberLiteral', value: k, raw: v } + return E + } + function longNumberLiteral(k, v) { + if (!(typeof v === 'string')) { + throw new Error( + 'typeof raw === "string"' + + ' error: ' + + ('Argument raw must be of type string, given: ' + _typeof(v) || 0) + ) + } + var E = { type: 'LongNumberLiteral', value: k, raw: v } + return E + } + function floatLiteral(k, v, E, P) { + if (!(typeof k === 'number')) { + throw new Error( + 'typeof value === "number"' + + ' error: ' + + ('Argument value must be of type number, given: ' + _typeof(k) || + 0) + ) + } + if (v !== null && v !== undefined) { + if (!(typeof v === 'boolean')) { + throw new Error( + 'typeof nan === "boolean"' + + ' error: ' + + ('Argument nan must be of type boolean, given: ' + _typeof(v) || + 0) + ) + } + } + if (E !== null && E !== undefined) { + if (!(typeof E === 'boolean')) { + throw new Error( + 'typeof inf === "boolean"' + + ' error: ' + + ('Argument inf must be of type boolean, given: ' + _typeof(E) || + 0) + ) + } + } + if (!(typeof P === 'string')) { + throw new Error( + 'typeof raw === "string"' + + ' error: ' + + ('Argument raw must be of type string, given: ' + _typeof(P) || 0) + ) + } + var R = { type: 'FloatLiteral', value: k, raw: P } + if (v === true) { + R.nan = true + } + if (E === true) { + R.inf = true + } + return R + } + function elem(k, v, E) { + if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { + throw new Error( + 'typeof offset === "object" && typeof offset.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + if (!(_typeof(E) === 'object' && typeof E.length !== 'undefined')) { + throw new Error( + 'typeof funcs === "object" && typeof funcs.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var P = { type: 'Elem', table: k, offset: v, funcs: E } + return P + } + function indexInFuncSection(k) { + var v = { type: 'IndexInFuncSection', index: k } + return v + } + function valtypeLiteral(k) { + var v = { type: 'ValtypeLiteral', name: k } + return v + } + function typeInstruction(k, v) { + var E = { type: 'TypeInstruction', id: k, functype: v } + return E + } + function start(k) { + var v = { type: 'Start', index: k } + return v + } + function globalType(k, v) { + var E = { type: 'GlobalType', valtype: k, mutability: v } + return E + } + function leadingComment(k) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof value === "string"' + + ' error: ' + + ('Argument value must be of type string, given: ' + _typeof(k) || + 0) + ) + } + var v = { type: 'LeadingComment', value: k } + return v + } + function blockComment(k) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof value === "string"' + + ' error: ' + + ('Argument value must be of type string, given: ' + _typeof(k) || + 0) + ) + } + var v = { type: 'BlockComment', value: k } + return v + } + function data(k, v, E) { + var P = { type: 'Data', memoryIndex: k, offset: v, init: E } + return P + } + function global(k, v, E) { + if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { + throw new Error( + 'typeof init === "object" && typeof init.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var P = { type: 'Global', globalType: k, init: v, name: E } + return P + } + function table(k, v, E, P) { + if (!(v.type === 'Limit')) { + throw new Error( + 'limits.type === "Limit"' + + ' error: ' + + ('Argument limits must be of type Limit, given: ' + v.type || 0) + ) + } + if (P !== null && P !== undefined) { + if (!(_typeof(P) === 'object' && typeof P.length !== 'undefined')) { + throw new Error( + 'typeof elements === "object" && typeof elements.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + } + var R = { type: 'Table', elementType: k, limits: v, name: E } + if (typeof P !== 'undefined' && P.length > 0) { + R.elements = P + } + return R + } + function memory(k, v) { + var E = { type: 'Memory', limits: k, id: v } + return E + } + function funcImportDescr(k, v) { + var E = { type: 'FuncImportDescr', id: k, signature: v } + return E + } + function moduleImport(k, v, E) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof module === "string"' + + ' error: ' + + ('Argument module must be of type string, given: ' + _typeof(k) || + 0) + ) + } + if (!(typeof v === 'string')) { + throw new Error( + 'typeof name === "string"' + + ' error: ' + + ('Argument name must be of type string, given: ' + _typeof(v) || + 0) + ) + } + var P = { type: 'ModuleImport', module: k, name: v, descr: E } + return P + } + function moduleExportDescr(k, v) { + var E = { type: 'ModuleExportDescr', exportType: k, id: v } + return E + } + function moduleExport(k, v) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof name === "string"' + + ' error: ' + + ('Argument name must be of type string, given: ' + _typeof(k) || + 0) + ) + } + var E = { type: 'ModuleExport', name: k, descr: v } + return E + } + function limit(k, v, E) { + if (!(typeof k === 'number')) { + throw new Error( + 'typeof min === "number"' + + ' error: ' + + ('Argument min must be of type number, given: ' + _typeof(k) || 0) + ) + } + if (v !== null && v !== undefined) { + if (!(typeof v === 'number')) { + throw new Error( + 'typeof max === "number"' + + ' error: ' + + ('Argument max must be of type number, given: ' + _typeof(v) || + 0) + ) + } + } + if (E !== null && E !== undefined) { + if (!(typeof E === 'boolean')) { + throw new Error( + 'typeof shared === "boolean"' + + ' error: ' + + ('Argument shared must be of type boolean, given: ' + + _typeof(E) || 0) + ) + } + } + var P = { type: 'Limit', min: k } + if (typeof v !== 'undefined') { + P.max = v + } + if (E === true) { + P.shared = true + } + return P + } + function signature(k, v) { + if (!(_typeof(k) === 'object' && typeof k.length !== 'undefined')) { + throw new Error( + 'typeof params === "object" && typeof params.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { + throw new Error( + 'typeof results === "object" && typeof results.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var E = { type: 'Signature', params: k, results: v } + return E + } + function program(k) { + if (!(_typeof(k) === 'object' && typeof k.length !== 'undefined')) { + throw new Error( + 'typeof body === "object" && typeof body.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var v = { type: 'Program', body: k } + return v + } + function identifier(k, v) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof value === "string"' + + ' error: ' + + ('Argument value must be of type string, given: ' + _typeof(k) || + 0) + ) + } + if (v !== null && v !== undefined) { + if (!(typeof v === 'string')) { + throw new Error( + 'typeof raw === "string"' + + ' error: ' + + ('Argument raw must be of type string, given: ' + _typeof(v) || + 0) + ) + } + } + var E = { type: 'Identifier', value: k } + if (typeof v !== 'undefined') { + E.raw = v + } + return E + } + function blockInstruction(k, v, E) { + if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { + throw new Error( + 'typeof instr === "object" && typeof instr.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var P = { + type: 'BlockInstruction', + id: 'block', + label: k, + instr: v, + result: E, + } + return P + } + function callInstruction(k, v, E) { + if (v !== null && v !== undefined) { + if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { + throw new Error( + 'typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + } + var P = { type: 'CallInstruction', id: 'call', index: k } + if (typeof v !== 'undefined' && v.length > 0) { + P.instrArgs = v + } + if (typeof E !== 'undefined') { + P.numeric = E + } + return P + } + function callIndirectInstruction(k, v) { + if (v !== null && v !== undefined) { + if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { + throw new Error( + 'typeof intrs === "object" && typeof intrs.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + } + var E = { + type: 'CallIndirectInstruction', + id: 'call_indirect', + signature: k, + } + if (typeof v !== 'undefined' && v.length > 0) { + E.intrs = v + } + return E + } + function byteArray(k) { + if (!(_typeof(k) === 'object' && typeof k.length !== 'undefined')) { + throw new Error( + 'typeof values === "object" && typeof values.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + var v = { type: 'ByteArray', values: k } + return v + } + function func(k, v, E, P, R) { + if (!(_typeof(E) === 'object' && typeof E.length !== 'undefined')) { + throw new Error( + 'typeof body === "object" && typeof body.length !== "undefined"' + + ' error: ' + + (undefined || 'unknown') + ) + } + if (P !== null && P !== undefined) { + if (!(typeof P === 'boolean')) { + throw new Error( + 'typeof isExternal === "boolean"' + + ' error: ' + + ('Argument isExternal must be of type boolean, given: ' + + _typeof(P) || 0) + ) + } + } + var L = { type: 'Func', name: k, signature: v, body: E } + if (P === true) { + L.isExternal = true + } + if (typeof R !== 'undefined') { + L.metadata = R + } + return L + } + function internalBrUnless(k) { + if (!(typeof k === 'number')) { + throw new Error( + 'typeof target === "number"' + + ' error: ' + + ('Argument target must be of type number, given: ' + _typeof(k) || + 0) + ) + } + var v = { type: 'InternalBrUnless', target: k } + return v + } + function internalGoto(k) { + if (!(typeof k === 'number')) { + throw new Error( + 'typeof target === "number"' + + ' error: ' + + ('Argument target must be of type number, given: ' + _typeof(k) || + 0) + ) + } + var v = { type: 'InternalGoto', target: k } + return v + } + function internalCallExtern(k) { + if (!(typeof k === 'number')) { + throw new Error( + 'typeof target === "number"' + + ' error: ' + + ('Argument target must be of type number, given: ' + _typeof(k) || + 0) + ) + } + var v = { type: 'InternalCallExtern', target: k } + return v + } + function internalEndAndReturn() { + var k = { type: 'InternalEndAndReturn' } + return k + } + var E = isTypeOf('Module') + v.isModule = E + var P = isTypeOf('ModuleMetadata') + v.isModuleMetadata = P + var R = isTypeOf('ModuleNameMetadata') + v.isModuleNameMetadata = R + var L = isTypeOf('FunctionNameMetadata') + v.isFunctionNameMetadata = L + var N = isTypeOf('LocalNameMetadata') + v.isLocalNameMetadata = N + var q = isTypeOf('BinaryModule') + v.isBinaryModule = q + var ae = isTypeOf('QuoteModule') + v.isQuoteModule = ae + var le = isTypeOf('SectionMetadata') + v.isSectionMetadata = le + var pe = isTypeOf('ProducersSectionMetadata') + v.isProducersSectionMetadata = pe + var me = isTypeOf('ProducerMetadata') + v.isProducerMetadata = me + var ye = isTypeOf('ProducerMetadataVersionedName') + v.isProducerMetadataVersionedName = ye + var _e = isTypeOf('LoopInstruction') + v.isLoopInstruction = _e + var Ie = isTypeOf('Instr') + v.isInstr = Ie + var Me = isTypeOf('IfInstruction') + v.isIfInstruction = Me + var Te = isTypeOf('StringLiteral') + v.isStringLiteral = Te + var je = isTypeOf('NumberLiteral') + v.isNumberLiteral = je + var Ne = isTypeOf('LongNumberLiteral') + v.isLongNumberLiteral = Ne + var Be = isTypeOf('FloatLiteral') + v.isFloatLiteral = Be + var qe = isTypeOf('Elem') + v.isElem = qe + var Ue = isTypeOf('IndexInFuncSection') + v.isIndexInFuncSection = Ue + var Ge = isTypeOf('ValtypeLiteral') + v.isValtypeLiteral = Ge + var He = isTypeOf('TypeInstruction') + v.isTypeInstruction = He + var We = isTypeOf('Start') + v.isStart = We + var Qe = isTypeOf('GlobalType') + v.isGlobalType = Qe + var Je = isTypeOf('LeadingComment') + v.isLeadingComment = Je + var Ve = isTypeOf('BlockComment') + v.isBlockComment = Ve + var Ke = isTypeOf('Data') + v.isData = Ke + var Ye = isTypeOf('Global') + v.isGlobal = Ye + var Xe = isTypeOf('Table') + v.isTable = Xe + var Ze = isTypeOf('Memory') + v.isMemory = Ze + var et = isTypeOf('FuncImportDescr') + v.isFuncImportDescr = et + var tt = isTypeOf('ModuleImport') + v.isModuleImport = tt + var nt = isTypeOf('ModuleExportDescr') + v.isModuleExportDescr = nt + var st = isTypeOf('ModuleExport') + v.isModuleExport = st + var rt = isTypeOf('Limit') + v.isLimit = rt + var ot = isTypeOf('Signature') + v.isSignature = ot + var it = isTypeOf('Program') + v.isProgram = it + var at = isTypeOf('Identifier') + v.isIdentifier = at + var ct = isTypeOf('BlockInstruction') + v.isBlockInstruction = ct + var lt = isTypeOf('CallInstruction') + v.isCallInstruction = lt + var ut = isTypeOf('CallIndirectInstruction') + v.isCallIndirectInstruction = ut + var pt = isTypeOf('ByteArray') + v.isByteArray = pt + var dt = isTypeOf('Func') + v.isFunc = dt + var ft = isTypeOf('InternalBrUnless') + v.isInternalBrUnless = ft + var ht = isTypeOf('InternalGoto') + v.isInternalGoto = ht + var mt = isTypeOf('InternalCallExtern') + v.isInternalCallExtern = mt + var gt = isTypeOf('InternalEndAndReturn') + v.isInternalEndAndReturn = gt + var yt = function isNode(k) { + return ( + E(k) || + P(k) || + R(k) || + L(k) || + N(k) || + q(k) || + ae(k) || + le(k) || + pe(k) || + me(k) || + ye(k) || + _e(k) || + Ie(k) || + Me(k) || + Te(k) || + je(k) || + Ne(k) || + Be(k) || + qe(k) || + Ue(k) || + Ge(k) || + He(k) || + We(k) || + Qe(k) || + Je(k) || + Ve(k) || + Ke(k) || + Ye(k) || + Xe(k) || + Ze(k) || + et(k) || + tt(k) || + nt(k) || + st(k) || + rt(k) || + ot(k) || + it(k) || + at(k) || + ct(k) || + lt(k) || + ut(k) || + pt(k) || + dt(k) || + ft(k) || + ht(k) || + mt(k) || + gt(k) + ) + } + v.isNode = yt + var bt = function isBlock(k) { + return _e(k) || ct(k) || dt(k) + } + v.isBlock = bt + var xt = function isInstruction(k) { + return _e(k) || Ie(k) || Me(k) || He(k) || ct(k) || lt(k) || ut(k) + } + v.isInstruction = xt + var kt = function isExpression(k) { + return Ie(k) || Te(k) || je(k) || Ne(k) || Be(k) || Ge(k) || at(k) + } + v.isExpression = kt + var vt = function isNumericLiteral(k) { + return je(k) || Ne(k) || Be(k) + } + v.isNumericLiteral = vt + var wt = function isImportDescr(k) { + return Qe(k) || Xe(k) || Ze(k) || et(k) + } + v.isImportDescr = wt + var At = function isIntrinsic(k) { + return ft(k) || ht(k) || mt(k) || gt(k) + } + v.isIntrinsic = At + var Et = assertTypeOf('Module') + v.assertModule = Et + var Ct = assertTypeOf('ModuleMetadata') + v.assertModuleMetadata = Ct + var St = assertTypeOf('ModuleNameMetadata') + v.assertModuleNameMetadata = St + var _t = assertTypeOf('FunctionNameMetadata') + v.assertFunctionNameMetadata = _t + var It = assertTypeOf('LocalNameMetadata') + v.assertLocalNameMetadata = It + var Mt = assertTypeOf('BinaryModule') + v.assertBinaryModule = Mt + var Pt = assertTypeOf('QuoteModule') + v.assertQuoteModule = Pt + var Ot = assertTypeOf('SectionMetadata') + v.assertSectionMetadata = Ot + var Dt = assertTypeOf('ProducersSectionMetadata') + v.assertProducersSectionMetadata = Dt + var Rt = assertTypeOf('ProducerMetadata') + v.assertProducerMetadata = Rt + var Tt = assertTypeOf('ProducerMetadataVersionedName') + v.assertProducerMetadataVersionedName = Tt + var $t = assertTypeOf('LoopInstruction') + v.assertLoopInstruction = $t + var Ft = assertTypeOf('Instr') + v.assertInstr = Ft + var jt = assertTypeOf('IfInstruction') + v.assertIfInstruction = jt + var Lt = assertTypeOf('StringLiteral') + v.assertStringLiteral = Lt + var Nt = assertTypeOf('NumberLiteral') + v.assertNumberLiteral = Nt + var Bt = assertTypeOf('LongNumberLiteral') + v.assertLongNumberLiteral = Bt + var qt = assertTypeOf('FloatLiteral') + v.assertFloatLiteral = qt + var zt = assertTypeOf('Elem') + v.assertElem = zt + var Ut = assertTypeOf('IndexInFuncSection') + v.assertIndexInFuncSection = Ut + var Gt = assertTypeOf('ValtypeLiteral') + v.assertValtypeLiteral = Gt + var Ht = assertTypeOf('TypeInstruction') + v.assertTypeInstruction = Ht + var Wt = assertTypeOf('Start') + v.assertStart = Wt + var Qt = assertTypeOf('GlobalType') + v.assertGlobalType = Qt + var Jt = assertTypeOf('LeadingComment') + v.assertLeadingComment = Jt + var Vt = assertTypeOf('BlockComment') + v.assertBlockComment = Vt + var Kt = assertTypeOf('Data') + v.assertData = Kt + var Yt = assertTypeOf('Global') + v.assertGlobal = Yt + var Xt = assertTypeOf('Table') + v.assertTable = Xt + var Zt = assertTypeOf('Memory') + v.assertMemory = Zt + var en = assertTypeOf('FuncImportDescr') + v.assertFuncImportDescr = en + var tn = assertTypeOf('ModuleImport') + v.assertModuleImport = tn + var nn = assertTypeOf('ModuleExportDescr') + v.assertModuleExportDescr = nn + var sn = assertTypeOf('ModuleExport') + v.assertModuleExport = sn + var rn = assertTypeOf('Limit') + v.assertLimit = rn + var on = assertTypeOf('Signature') + v.assertSignature = on + var an = assertTypeOf('Program') + v.assertProgram = an + var cn = assertTypeOf('Identifier') + v.assertIdentifier = cn + var ln = assertTypeOf('BlockInstruction') + v.assertBlockInstruction = ln + var un = assertTypeOf('CallInstruction') + v.assertCallInstruction = un + var pn = assertTypeOf('CallIndirectInstruction') + v.assertCallIndirectInstruction = pn + var dn = assertTypeOf('ByteArray') + v.assertByteArray = dn + var hn = assertTypeOf('Func') + v.assertFunc = hn + var mn = assertTypeOf('InternalBrUnless') + v.assertInternalBrUnless = mn + var gn = assertTypeOf('InternalGoto') + v.assertInternalGoto = gn + var yn = assertTypeOf('InternalCallExtern') + v.assertInternalCallExtern = yn + var bn = assertTypeOf('InternalEndAndReturn') + v.assertInternalEndAndReturn = bn + var xn = { + 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'], + } + v.unionTypesMap = xn + var kn = [ + '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', + ] + v.nodeAndUnionTypes = kn + }, + 96395: function (k, v) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.signatures = void 0 + function sign(k, v) { + return [k, v] + } + var E = 'u32' + var P = 'i32' + var R = 'i64' + var L = 'f32' + var N = 'f64' + var q = function vector(k) { + var v = [k] + v.vector = true + return v + } + var ae = { + unreachable: sign([], []), + nop: sign([], []), + br: sign([E], []), + br_if: sign([E], []), + br_table: sign(q(E), []), + return: sign([], []), + call: sign([E], []), + call_indirect: sign([E], []), + } + var le = { drop: sign([], []), select: sign([], []) } + var pe = { + get_local: sign([E], []), + set_local: sign([E], []), + tee_local: sign([E], []), + get_global: sign([E], []), + set_global: sign([E], []), + } + var me = { + 'i32.load': sign([E, E], [P]), + 'i64.load': sign([E, E], []), + 'f32.load': sign([E, E], []), + 'f64.load': sign([E, E], []), + 'i32.load8_s': sign([E, E], [P]), + 'i32.load8_u': sign([E, E], [P]), + 'i32.load16_s': sign([E, E], [P]), + 'i32.load16_u': sign([E, E], [P]), + 'i64.load8_s': sign([E, E], [R]), + 'i64.load8_u': sign([E, E], [R]), + 'i64.load16_s': sign([E, E], [R]), + 'i64.load16_u': sign([E, E], [R]), + 'i64.load32_s': sign([E, E], [R]), + 'i64.load32_u': sign([E, E], [R]), + 'i32.store': sign([E, E], []), + 'i64.store': sign([E, E], []), + 'f32.store': sign([E, E], []), + 'f64.store': sign([E, E], []), + 'i32.store8': sign([E, E], []), + 'i32.store16': sign([E, E], []), + 'i64.store8': sign([E, E], []), + 'i64.store16': sign([E, E], []), + 'i64.store32': sign([E, E], []), + current_memory: sign([], []), + grow_memory: sign([], []), + } + var ye = { + 'i32.const': sign([P], [P]), + 'i64.const': sign([R], [R]), + 'f32.const': sign([L], [L]), + 'f64.const': sign([N], [N]), + 'i32.eqz': sign([P], [P]), + 'i32.eq': sign([P, P], [P]), + 'i32.ne': sign([P, P], [P]), + 'i32.lt_s': sign([P, P], [P]), + 'i32.lt_u': sign([P, P], [P]), + 'i32.gt_s': sign([P, P], [P]), + 'i32.gt_u': sign([P, P], [P]), + 'i32.le_s': sign([P, P], [P]), + 'i32.le_u': sign([P, P], [P]), + 'i32.ge_s': sign([P, P], [P]), + 'i32.ge_u': sign([P, P], [P]), + 'i64.eqz': sign([R], [R]), + 'i64.eq': sign([R, R], [P]), + 'i64.ne': sign([R, R], [P]), + 'i64.lt_s': sign([R, R], [P]), + 'i64.lt_u': sign([R, R], [P]), + 'i64.gt_s': sign([R, R], [P]), + 'i64.gt_u': sign([R, R], [P]), + 'i64.le_s': sign([R, R], [P]), + 'i64.le_u': sign([R, R], [P]), + 'i64.ge_s': sign([R, R], [P]), + 'i64.ge_u': sign([R, R], [P]), + 'f32.eq': sign([L, L], [P]), + 'f32.ne': sign([L, L], [P]), + 'f32.lt': sign([L, L], [P]), + 'f32.gt': sign([L, L], [P]), + 'f32.le': sign([L, L], [P]), + 'f32.ge': sign([L, L], [P]), + 'f64.eq': sign([N, N], [P]), + 'f64.ne': sign([N, N], [P]), + 'f64.lt': sign([N, N], [P]), + 'f64.gt': sign([N, N], [P]), + 'f64.le': sign([N, N], [P]), + 'f64.ge': sign([N, N], [P]), + 'i32.clz': sign([P], [P]), + 'i32.ctz': sign([P], [P]), + 'i32.popcnt': sign([P], [P]), + 'i32.add': sign([P, P], [P]), + 'i32.sub': sign([P, P], [P]), + 'i32.mul': sign([P, P], [P]), + 'i32.div_s': sign([P, P], [P]), + 'i32.div_u': sign([P, P], [P]), + 'i32.rem_s': sign([P, P], [P]), + 'i32.rem_u': sign([P, P], [P]), + 'i32.and': sign([P, P], [P]), + 'i32.or': sign([P, P], [P]), + 'i32.xor': sign([P, P], [P]), + 'i32.shl': sign([P, P], [P]), + 'i32.shr_s': sign([P, P], [P]), + 'i32.shr_u': sign([P, P], [P]), + 'i32.rotl': sign([P, P], [P]), + 'i32.rotr': sign([P, P], [P]), + 'i64.clz': sign([R], [R]), + 'i64.ctz': sign([R], [R]), + 'i64.popcnt': sign([R], [R]), + 'i64.add': sign([R, R], [R]), + 'i64.sub': sign([R, R], [R]), + 'i64.mul': sign([R, R], [R]), + 'i64.div_s': sign([R, R], [R]), + 'i64.div_u': sign([R, R], [R]), + 'i64.rem_s': sign([R, R], [R]), + 'i64.rem_u': sign([R, R], [R]), + 'i64.and': sign([R, R], [R]), + 'i64.or': sign([R, R], [R]), + 'i64.xor': sign([R, R], [R]), + 'i64.shl': sign([R, R], [R]), + 'i64.shr_s': sign([R, R], [R]), + 'i64.shr_u': sign([R, R], [R]), + 'i64.rotl': sign([R, R], [R]), + 'i64.rotr': sign([R, R], [R]), + 'f32.abs': sign([L], [L]), + 'f32.neg': sign([L], [L]), + 'f32.ceil': sign([L], [L]), + 'f32.floor': sign([L], [L]), + 'f32.trunc': sign([L], [L]), + 'f32.nearest': sign([L], [L]), + 'f32.sqrt': sign([L], [L]), + 'f32.add': sign([L, L], [L]), + 'f32.sub': sign([L, L], [L]), + 'f32.mul': sign([L, L], [L]), + 'f32.div': sign([L, L], [L]), + 'f32.min': sign([L, L], [L]), + 'f32.max': sign([L, L], [L]), + 'f32.copysign': sign([L, L], [L]), + 'f64.abs': sign([N], [N]), + 'f64.neg': sign([N], [N]), + 'f64.ceil': sign([N], [N]), + 'f64.floor': sign([N], [N]), + 'f64.trunc': sign([N], [N]), + 'f64.nearest': sign([N], [N]), + 'f64.sqrt': sign([N], [N]), + 'f64.add': sign([N, N], [N]), + 'f64.sub': sign([N, N], [N]), + 'f64.mul': sign([N, N], [N]), + 'f64.div': sign([N, N], [N]), + 'f64.min': sign([N, N], [N]), + 'f64.max': sign([N, N], [N]), + 'f64.copysign': sign([N, N], [N]), + 'i32.wrap/i64': sign([R], [P]), + 'i32.trunc_s/f32': sign([L], [P]), + 'i32.trunc_u/f32': sign([L], [P]), + 'i32.trunc_s/f64': sign([L], [P]), + 'i32.trunc_u/f64': sign([N], [P]), + 'i64.extend_s/i32': sign([P], [R]), + 'i64.extend_u/i32': sign([P], [R]), + 'i64.trunc_s/f32': sign([L], [R]), + 'i64.trunc_u/f32': sign([L], [R]), + 'i64.trunc_s/f64': sign([N], [R]), + 'i64.trunc_u/f64': sign([N], [R]), + 'f32.convert_s/i32': sign([P], [L]), + 'f32.convert_u/i32': sign([P], [L]), + 'f32.convert_s/i64': sign([R], [L]), + 'f32.convert_u/i64': sign([R], [L]), + 'f32.demote/f64': sign([N], [L]), + 'f64.convert_s/i32': sign([P], [N]), + 'f64.convert_u/i32': sign([P], [N]), + 'f64.convert_s/i64': sign([R], [N]), + 'f64.convert_u/i64': sign([R], [N]), + 'f64.promote/f32': sign([L], [N]), + 'i32.reinterpret/f32': sign([L], [P]), + 'i64.reinterpret/f64': sign([N], [R]), + 'f32.reinterpret/i32': sign([P], [L]), + 'f64.reinterpret/i64': sign([R], [N]), + } + var _e = Object.assign({}, ae, le, pe, me, ye) + v.signatures = _e + }, + 15067: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.moduleContextFromModuleAST = moduleContextFromModuleAST + v.ModuleContext = void 0 + var P = E(860) + function _classCallCheck(k, v) { + if (!(k instanceof v)) { + throw new TypeError('Cannot call a class as a function') + } + } + function _defineProperties(k, v) { + for (var E = 0; E < v.length; E++) { + var P = v[E] + P.enumerable = P.enumerable || false + P.configurable = true + if ('value' in P) P.writable = true + Object.defineProperty(k, P.key, P) + } + } + function _createClass(k, v, E) { + if (v) _defineProperties(k.prototype, v) + if (E) _defineProperties(k, E) + return k + } + function moduleContextFromModuleAST(k) { + var v = new R() + if (!(k.type === 'Module')) { + throw new Error( + 'm.type === "Module"' + ' error: ' + (undefined || 'unknown') + ) + } + k.fields.forEach(function (k) { + switch (k.type) { + case 'Start': { + v.setStart(k.index) + break + } + case 'TypeInstruction': { + v.addType(k) + break + } + case 'Func': { + v.addFunction(k) + break + } + case 'Global': { + v.defineGlobal(k) + break + } + case 'ModuleImport': { + switch (k.descr.type) { + case 'GlobalType': { + v.importGlobal(k.descr.valtype, k.descr.mutability) + break + } + case 'Memory': { + v.addMemory(k.descr.limits.min, k.descr.limits.max) + break + } + case 'FuncImportDescr': { + v.importFunction(k.descr) + break + } + case 'Table': { + break + } + default: + throw new Error( + 'Unsupported ModuleImport of type ' + + JSON.stringify(k.descr.type) + ) + } + break + } + case 'Memory': { + v.addMemory(k.limits.min, k.limits.max) + break + } + } + }) + return v + } + var R = (function () { + function ModuleContext() { + _classCallCheck(this, ModuleContext) + this.funcs = [] + this.funcsOffsetByIdentifier = [] + this.types = [] + this.globals = [] + this.globalsOffsetByIdentifier = [] + this.mems = [] + this.locals = [] + this.labels = [] + this['return'] = [] + this.debugName = 'unknown' + this.start = null + } + _createClass(ModuleContext, [ + { + key: 'setStart', + value: function setStart(k) { + this.start = k.value + }, + }, + { + key: 'getStart', + value: function getStart() { + return this.start + }, + }, + { + key: 'newContext', + value: function newContext(k, v) { + this.locals = [] + this.labels = [v] + this['return'] = v + this.debugName = k + }, + }, + { + key: 'addFunction', + value: function addFunction(k) { + var v = k.signature || {}, + E = v.params, + P = E === void 0 ? [] : E, + R = v.results, + L = R === void 0 ? [] : R + P = P.map(function (k) { + return k.valtype + }) + this.funcs.push({ args: P, result: L }) + if (typeof k.name !== 'undefined') { + this.funcsOffsetByIdentifier[k.name.value] = + this.funcs.length - 1 + } + }, + }, + { + key: 'importFunction', + value: function importFunction(k) { + if ((0, P.isSignature)(k.signature)) { + var v = k.signature, + E = v.params, + R = v.results + E = E.map(function (k) { + return k.valtype + }) + this.funcs.push({ args: E, result: R }) + } else { + if (!(0, P.isNumberLiteral)(k.signature)) { + throw new Error( + 'isNumberLiteral(funcimport.signature)' + + ' error: ' + + (undefined || 'unknown') + ) + } + var L = k.signature.value + if (!this.hasType(L)) { + throw new Error( + 'this.hasType(typeId)' + + ' error: ' + + (undefined || 'unknown') + ) + } + var N = this.getType(L) + this.funcs.push({ + args: N.params.map(function (k) { + return k.valtype + }), + result: N.results, + }) + } + if (typeof k.id !== 'undefined') { + this.funcsOffsetByIdentifier[k.id.value] = this.funcs.length - 1 + } + }, + }, + { + key: 'hasFunction', + value: function hasFunction(k) { + return typeof this.getFunction(k) !== 'undefined' + }, + }, + { + key: 'getFunction', + value: function getFunction(k) { + if (typeof k !== 'number') { + throw new Error('getFunction only supported for number index') + } + return this.funcs[k] + }, + }, + { + key: 'getFunctionOffsetByIdentifier', + value: function getFunctionOffsetByIdentifier(k) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof name === "string"' + + ' error: ' + + (undefined || 'unknown') + ) + } + return this.funcsOffsetByIdentifier[k] + }, + }, + { + key: 'addLabel', + value: function addLabel(k) { + this.labels.unshift(k) + }, + }, + { + key: 'hasLabel', + value: function hasLabel(k) { + return this.labels.length > k && k >= 0 + }, + }, + { + key: 'getLabel', + value: function getLabel(k) { + return this.labels[k] + }, + }, + { + key: 'popLabel', + value: function popLabel() { + this.labels.shift() + }, + }, + { + key: 'hasLocal', + value: function hasLocal(k) { + return typeof this.getLocal(k) !== 'undefined' + }, + }, + { + key: 'getLocal', + value: function getLocal(k) { + return this.locals[k] + }, + }, + { + key: 'addLocal', + value: function addLocal(k) { + this.locals.push(k) + }, + }, + { + key: 'addType', + value: function addType(k) { + if (!(k.functype.type === 'Signature')) { + throw new Error( + 'type.functype.type === "Signature"' + + ' error: ' + + (undefined || 'unknown') + ) + } + this.types.push(k.functype) + }, + }, + { + key: 'hasType', + value: function hasType(k) { + return this.types[k] !== undefined + }, + }, + { + key: 'getType', + value: function getType(k) { + return this.types[k] + }, + }, + { + key: 'hasGlobal', + value: function hasGlobal(k) { + return this.globals.length > k && k >= 0 + }, + }, + { + key: 'getGlobal', + value: function getGlobal(k) { + return this.globals[k].type + }, + }, + { + key: 'getGlobalOffsetByIdentifier', + value: function getGlobalOffsetByIdentifier(k) { + if (!(typeof k === 'string')) { + throw new Error( + 'typeof name === "string"' + + ' error: ' + + (undefined || 'unknown') + ) + } + return this.globalsOffsetByIdentifier[k] + }, + }, + { + key: 'defineGlobal', + value: function defineGlobal(k) { + var v = k.globalType.valtype + var E = k.globalType.mutability + this.globals.push({ type: v, mutability: E }) + if (typeof k.name !== 'undefined') { + this.globalsOffsetByIdentifier[k.name.value] = + this.globals.length - 1 + } + }, + }, + { + key: 'importGlobal', + value: function importGlobal(k, v) { + this.globals.push({ type: k, mutability: v }) + }, + }, + { + key: 'isMutableGlobal', + value: function isMutableGlobal(k) { + return this.globals[k].mutability === 'var' + }, + }, + { + key: 'isImmutableGlobal', + value: function isImmutableGlobal(k) { + return this.globals[k].mutability === 'const' + }, + }, + { + key: 'hasMemory', + value: function hasMemory(k) { + return this.mems.length > k && k >= 0 + }, + }, + { + key: 'addMemory', + value: function addMemory(k, v) { + this.mems.push({ min: k, max: v }) + }, + }, + { + key: 'getMemory', + value: function getMemory(k) { + return this.mems[k] + }, + }, + ]) + return ModuleContext + })() + v.ModuleContext = R + }, + 11885: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.traverse = traverse + var P = E(92489) + var R = E(860) + function walk(k, v) { + var E = false + function innerWalk(k, v) { + if (E) { + return + } + var R = k.node + if (R === undefined) { + console.warn('traversing with an empty context') + return + } + if (R._deleted === true) { + return + } + var L = (0, P.createPath)(k) + v(R.type, L) + if (L.shouldStop) { + E = true + return + } + Object.keys(R).forEach(function (k) { + var E = R[k] + if (E === null || E === undefined) { + return + } + var P = Array.isArray(E) ? E : [E] + P.forEach(function (P) { + if (typeof P.type === 'string') { + var R = { + node: P, + parentKey: k, + parentPath: L, + shouldStop: false, + inList: Array.isArray(E), + } + innerWalk(R, v) + } + }) + }) + } + innerWalk(k, v) + } + var L = function noop() {} + function traverse(k, v) { + var E = + arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : L + var P = + arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : L + Object.keys(v).forEach(function (k) { + if (!R.nodeAndUnionTypes.includes(k)) { + throw new Error('Unexpected visitor '.concat(k)) + } + }) + var N = { + node: k, + inList: false, + shouldStop: false, + parentPath: null, + parentKey: null, + } + walk(N, function (k, L) { + if (typeof v[k] === 'function') { + E(k, L) + v[k](L) + P(k, L) + } + var N = R.unionTypesMap[k] + if (!N) { + throw new Error('Unexpected node type '.concat(k)) + } + N.forEach(function (k) { + if (typeof v[k] === 'function') { + E(k, L) + v[k](L) + P(k, L) + } + }) + }) + } + }, + 20885: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.isAnonymous = isAnonymous + v.getSectionMetadata = getSectionMetadata + v.getSectionMetadatas = getSectionMetadatas + v.sortSectionMetadata = sortSectionMetadata + v.orderedInsertNode = orderedInsertNode + v.assertHasLoc = assertHasLoc + v.getEndOfSection = getEndOfSection + v.shiftLoc = shiftLoc + v.shiftSection = shiftSection + v.signatureForOpcode = signatureForOpcode + v.getUniqueNameGenerator = getUniqueNameGenerator + v.getStartByteOffset = getStartByteOffset + v.getEndByteOffset = getEndByteOffset + v.getFunctionBeginingByteOffset = getFunctionBeginingByteOffset + v.getEndBlockByteOffset = getEndBlockByteOffset + v.getStartBlockByteOffset = getStartBlockByteOffset + var P = E(96395) + var R = E(11885) + var L = _interopRequireWildcard(E(94545)) + function _getRequireWildcardCache(k) { + if (typeof WeakMap !== 'function') return null + var v = new WeakMap() + var E = new WeakMap() + return (_getRequireWildcardCache = function _getRequireWildcardCache( + k + ) { + return k ? E : v + })(k) + } + function _interopRequireWildcard(k, v) { + if (!v && k && k.__esModule) { + return k + } + if ( + k === null || + (_typeof(k) !== 'object' && typeof k !== 'function') + ) { + return { default: k } + } + var E = _getRequireWildcardCache(v) + if (E && E.has(k)) { + return E.get(k) + } + var P = {} + var R = Object.defineProperty && Object.getOwnPropertyDescriptor + for (var L in k) { + if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { + var N = R ? Object.getOwnPropertyDescriptor(k, L) : null + if (N && (N.get || N.set)) { + Object.defineProperty(P, L, N) + } else { + P[L] = k[L] + } + } + } + P['default'] = k + if (E) { + E.set(k, P) + } + return P + } + function _slicedToArray(k, v) { + return ( + _arrayWithHoles(k) || + _iterableToArrayLimit(k, v) || + _unsupportedIterableToArray(k, v) || + _nonIterableRest() + ) + } + function _nonIterableRest() { + throw new TypeError( + 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' + ) + } + function _unsupportedIterableToArray(k, v) { + if (!k) return + if (typeof k === 'string') return _arrayLikeToArray(k, v) + var E = Object.prototype.toString.call(k).slice(8, -1) + if (E === 'Object' && k.constructor) E = k.constructor.name + if (E === 'Map' || E === 'Set') return Array.from(k) + if ( + E === 'Arguments' || + /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) + ) + return _arrayLikeToArray(k, v) + } + function _arrayLikeToArray(k, v) { + if (v == null || v > k.length) v = k.length + for (var E = 0, P = new Array(v); E < v; E++) { + P[E] = k[E] + } + return P + } + function _iterableToArrayLimit(k, v) { + var E = + k == null + ? null + : (typeof Symbol !== 'undefined' && k[Symbol.iterator]) || + k['@@iterator'] + if (E == null) return + var P = [] + var R = true + var L = false + var N, q + try { + for (E = E.call(k); !(R = (N = E.next()).done); R = true) { + P.push(N.value) + if (v && P.length === v) break + } + } catch (k) { + L = true + q = k + } finally { + try { + if (!R && E['return'] != null) E['return']() + } finally { + if (L) throw q + } + } + return P + } + function _arrayWithHoles(k) { + if (Array.isArray(k)) return k + } + function _typeof(k) { + '@babel/helpers - typeof' + if ( + typeof Symbol === 'function' && + typeof Symbol.iterator === 'symbol' + ) { + _typeof = function _typeof(k) { + return typeof k + } + } else { + _typeof = function _typeof(k) { + return k && + typeof Symbol === 'function' && + k.constructor === Symbol && + k !== Symbol.prototype + ? 'symbol' + : typeof k + } + } + return _typeof(k) + } + function isAnonymous(k) { + return k.raw === '' + } + function getSectionMetadata(k, v) { + var E + ;(0, R.traverse)(k, { + SectionMetadata: (function (k) { + function SectionMetadata(v) { + return k.apply(this, arguments) + } + SectionMetadata.toString = function () { + return k.toString() + } + return SectionMetadata + })(function (k) { + var P = k.node + if (P.section === v) { + E = P + } + }), + }) + return E + } + function getSectionMetadatas(k, v) { + var E = [] + ;(0, R.traverse)(k, { + SectionMetadata: (function (k) { + function SectionMetadata(v) { + return k.apply(this, arguments) + } + SectionMetadata.toString = function () { + return k.toString() + } + return SectionMetadata + })(function (k) { + var P = k.node + if (P.section === v) { + E.push(P) + } + }), + }) + return E + } + function sortSectionMetadata(k) { + if (k.metadata == null) { + console.warn('sortSectionMetadata: no metadata to sort') + return + } + k.metadata.sections.sort(function (k, v) { + var E = L['default'].sections[k.section] + var P = L['default'].sections[v.section] + if (typeof E !== 'number' || typeof P !== 'number') { + throw new Error('Section id not found') + } + return E - P + }) + } + function orderedInsertNode(k, v) { + assertHasLoc(v) + var E = false + if (v.type === 'ModuleExport') { + k.fields.push(v) + return + } + k.fields = k.fields.reduce(function (k, P) { + var R = Infinity + if (P.loc != null) { + R = P.loc.end.column + } + if (E === false && v.loc.start.column < R) { + E = true + k.push(v) + } + k.push(P) + return k + }, []) + if (E === false) { + k.fields.push(v) + } + } + function assertHasLoc(k) { + if (k.loc == null || k.loc.start == null || k.loc.end == null) { + throw new Error( + 'Internal failure: node ('.concat( + JSON.stringify(k.type), + ') has no location information' + ) + ) + } + } + function getEndOfSection(k) { + assertHasLoc(k.size) + return ( + k.startOffset + + k.size.value + + (k.size.loc.end.column - k.size.loc.start.column) + ) + } + function shiftLoc(k, v) { + k.loc.start.column += v + k.loc.end.column += v + } + function shiftSection(k, v, E) { + if (v.type !== 'SectionMetadata') { + throw new Error('Can not shift node ' + JSON.stringify(v.type)) + } + v.startOffset += E + if (_typeof(v.size.loc) === 'object') { + shiftLoc(v.size, E) + } + if ( + _typeof(v.vectorOfSize) === 'object' && + _typeof(v.vectorOfSize.loc) === 'object' + ) { + shiftLoc(v.vectorOfSize, E) + } + var P = v.section + ;(0, R.traverse)(k, { + Node: function Node(k) { + var v = k.node + var R = (0, L.getSectionForNode)(v) + if (R === P && _typeof(v.loc) === 'object') { + shiftLoc(v, E) + } + }, + }) + } + function signatureForOpcode(k, v) { + var E = v + if (k !== undefined && k !== '') { + E = k + '.' + v + } + var R = P.signatures[E] + if (R == undefined) { + return [k, k] + } + return R[0] + } + function getUniqueNameGenerator() { + var k = {} + return function () { + var v = + arguments.length > 0 && arguments[0] !== undefined + ? arguments[0] + : 'temp' + if (!(v in k)) { + k[v] = 0 + } else { + k[v] = k[v] + 1 + } + return v + '_' + k[v] + } + } + function getStartByteOffset(k) { + if ( + typeof k.loc === 'undefined' || + typeof k.loc.start === 'undefined' + ) { + throw new Error( + 'Can not get byte offset without loc informations, node: ' + + String(k.id) + ) + } + return k.loc.start.column + } + function getEndByteOffset(k) { + if (typeof k.loc === 'undefined' || typeof k.loc.end === 'undefined') { + throw new Error( + 'Can not get byte offset without loc informations, node: ' + k.type + ) + } + return k.loc.end.column + } + function getFunctionBeginingByteOffset(k) { + if (!(k.body.length > 0)) { + throw new Error( + 'n.body.length > 0' + ' error: ' + (undefined || 'unknown') + ) + } + var v = _slicedToArray(k.body, 1), + E = v[0] + return getStartByteOffset(E) + } + function getEndBlockByteOffset(k) { + if (!(k.instr.length > 0 || k.body.length > 0)) { + throw new Error( + 'n.instr.length > 0 || n.body.length > 0' + + ' error: ' + + (undefined || 'unknown') + ) + } + var v + if (k.instr) { + v = k.instr[k.instr.length - 1] + } + if (k.body) { + v = k.body[k.body.length - 1] + } + if (!(_typeof(v) === 'object')) { + throw new Error( + 'typeof lastInstruction === "object"' + + ' error: ' + + (undefined || 'unknown') + ) + } + return getStartByteOffset(v) + } + function getStartBlockByteOffset(k) { + if (!(k.instr.length > 0 || k.body.length > 0)) { + throw new Error( + 'n.instr.length > 0 || n.body.length > 0' + + ' error: ' + + (undefined || 'unknown') + ) + } + var v + if (k.instr) { + var E = _slicedToArray(k.instr, 1) + v = E[0] + } + if (k.body) { + var P = _slicedToArray(k.body, 1) + v = P[0] + } + if (!(_typeof(v) === 'object')) { + throw new Error( + 'typeof fistInstruction === "object"' + + ' error: ' + + (undefined || 'unknown') + ) + } + return getStartByteOffset(v) + } + }, + 31209: function (k, v) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v['default'] = parse + function parse(k) { + k = k.toUpperCase() + var v = k.indexOf('P') + var E, P + if (v !== -1) { + E = k.substring(0, v) + P = parseInt(k.substring(v + 1)) + } else { + E = k + P = 0 + } + var R = E.indexOf('.') + if (R !== -1) { + var L = parseInt(E.substring(0, R), 16) + var N = Math.sign(L) + L = N * L + var q = E.length - R - 1 + var ae = parseInt(E.substring(R + 1), 16) + var le = q > 0 ? ae / Math.pow(16, q) : 0 + if (N === 0) { + if (le === 0) { + E = N + } else { + if (Object.is(N, -0)) { + E = -le + } else { + E = le + } + } + } else { + E = N * (L + le) + } + } else { + E = parseInt(E, 16) + } + return E * (v !== -1 ? Math.pow(2, P) : 1) + } + }, + 28513: function (k, v) { + 'use strict' + function _typeof(k) { + '@babel/helpers - typeof' + if ( + typeof Symbol === 'function' && + typeof Symbol.iterator === 'symbol' + ) { + _typeof = function _typeof(k) { + return typeof k + } + } else { + _typeof = function _typeof(k) { + return k && + typeof Symbol === 'function' && + k.constructor === Symbol && + k !== Symbol.prototype + ? 'symbol' + : typeof k + } + } + return _typeof(k) + } + Object.defineProperty(v, '__esModule', { value: true }) + v.LinkError = v.CompileError = v.RuntimeError = void 0 + function _classCallCheck(k, v) { + if (!(k instanceof v)) { + throw new TypeError('Cannot call a class as a function') + } + } + function _inherits(k, v) { + if (typeof v !== 'function' && v !== null) { + throw new TypeError( + 'Super expression must either be null or a function' + ) + } + k.prototype = Object.create(v && v.prototype, { + constructor: { value: k, writable: true, configurable: true }, + }) + if (v) _setPrototypeOf(k, v) + } + function _createSuper(k) { + var v = _isNativeReflectConstruct() + return function _createSuperInternal() { + var E = _getPrototypeOf(k), + P + if (v) { + var R = _getPrototypeOf(this).constructor + P = Reflect.construct(E, arguments, R) + } else { + P = E.apply(this, arguments) + } + return _possibleConstructorReturn(this, P) + } + } + function _possibleConstructorReturn(k, v) { + if (v && (_typeof(v) === 'object' || typeof v === 'function')) { + return v + } else if (v !== void 0) { + throw new TypeError( + 'Derived constructors may only return object or undefined' + ) + } + return _assertThisInitialized(k) + } + function _assertThisInitialized(k) { + if (k === void 0) { + throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called" + ) + } + return k + } + function _wrapNativeSuper(k) { + var v = typeof Map === 'function' ? new Map() : undefined + _wrapNativeSuper = function _wrapNativeSuper(k) { + if (k === null || !_isNativeFunction(k)) return k + if (typeof k !== 'function') { + throw new TypeError( + 'Super expression must either be null or a function' + ) + } + if (typeof v !== 'undefined') { + if (v.has(k)) return v.get(k) + v.set(k, Wrapper) + } + function Wrapper() { + return _construct(k, arguments, _getPrototypeOf(this).constructor) + } + Wrapper.prototype = Object.create(k.prototype, { + constructor: { + value: Wrapper, + enumerable: false, + writable: true, + configurable: true, + }, + }) + return _setPrototypeOf(Wrapper, k) + } + return _wrapNativeSuper(k) + } + function _construct(k, v, E) { + if (_isNativeReflectConstruct()) { + _construct = Reflect.construct + } else { + _construct = function _construct(k, v, E) { + var P = [null] + P.push.apply(P, v) + var R = Function.bind.apply(k, P) + var L = new R() + if (E) _setPrototypeOf(L, E.prototype) + return L + } + } + return _construct.apply(null, arguments) + } + function _isNativeReflectConstruct() { + if (typeof Reflect === 'undefined' || !Reflect.construct) return false + if (Reflect.construct.sham) return false + if (typeof Proxy === 'function') return true + try { + Boolean.prototype.valueOf.call( + Reflect.construct(Boolean, [], function () {}) + ) + return true + } catch (k) { + return false + } + } + function _isNativeFunction(k) { + return Function.toString.call(k).indexOf('[native code]') !== -1 + } + function _setPrototypeOf(k, v) { + _setPrototypeOf = + Object.setPrototypeOf || + function _setPrototypeOf(k, v) { + k.__proto__ = v + return k + } + return _setPrototypeOf(k, v) + } + function _getPrototypeOf(k) { + _getPrototypeOf = Object.setPrototypeOf + ? Object.getPrototypeOf + : function _getPrototypeOf(k) { + return k.__proto__ || Object.getPrototypeOf(k) + } + return _getPrototypeOf(k) + } + var E = (function (k) { + _inherits(RuntimeError, k) + var v = _createSuper(RuntimeError) + function RuntimeError() { + _classCallCheck(this, RuntimeError) + return v.apply(this, arguments) + } + return RuntimeError + })(_wrapNativeSuper(Error)) + v.RuntimeError = E + var P = (function (k) { + _inherits(CompileError, k) + var v = _createSuper(CompileError) + function CompileError() { + _classCallCheck(this, CompileError) + return v.apply(this, arguments) + } + return CompileError + })(_wrapNativeSuper(Error)) + v.CompileError = P + var R = (function (k) { + _inherits(LinkError, k) + var v = _createSuper(LinkError) + function LinkError() { + _classCallCheck(this, LinkError) + return v.apply(this, arguments) + } + return LinkError + })(_wrapNativeSuper(Error)) + v.LinkError = R + }, + 97521: function (k, v) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.overrideBytesInBuffer = overrideBytesInBuffer + v.makeBuffer = makeBuffer + v.fromHexdump = fromHexdump + function _toConsumableArray(k) { + return ( + _arrayWithoutHoles(k) || + _iterableToArray(k) || + _unsupportedIterableToArray(k) || + _nonIterableSpread() + ) + } + function _nonIterableSpread() { + throw new TypeError( + 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' + ) + } + function _unsupportedIterableToArray(k, v) { + if (!k) return + if (typeof k === 'string') return _arrayLikeToArray(k, v) + var E = Object.prototype.toString.call(k).slice(8, -1) + if (E === 'Object' && k.constructor) E = k.constructor.name + if (E === 'Map' || E === 'Set') return Array.from(k) + if ( + E === 'Arguments' || + /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) + ) + return _arrayLikeToArray(k, v) + } + function _iterableToArray(k) { + if ( + (typeof Symbol !== 'undefined' && k[Symbol.iterator] != null) || + k['@@iterator'] != null + ) + return Array.from(k) + } + function _arrayWithoutHoles(k) { + if (Array.isArray(k)) return _arrayLikeToArray(k) + } + function _arrayLikeToArray(k, v) { + if (v == null || v > k.length) v = k.length + for (var E = 0, P = new Array(v); E < v; E++) { + P[E] = k[E] + } + return P + } + function concatUint8Arrays() { + for (var k = arguments.length, v = new Array(k), E = 0; E < k; E++) { + v[E] = arguments[E] + } + var P = v.reduce(function (k, v) { + return k + v.length + }, 0) + var R = new Uint8Array(P) + var L = 0 + for (var N = 0, q = v; N < q.length; N++) { + var ae = q[N] + if (ae instanceof Uint8Array === false) { + throw new Error('arr must be of type Uint8Array') + } + R.set(ae, L) + L += ae.length + } + return R + } + function overrideBytesInBuffer(k, v, E, P) { + var R = k.slice(0, v) + var L = k.slice(E, k.length) + if (P.length === 0) { + return concatUint8Arrays(R, L) + } + var N = Uint8Array.from(P) + return concatUint8Arrays(R, N, L) + } + function makeBuffer() { + for (var k = arguments.length, v = new Array(k), E = 0; E < k; E++) { + v[E] = arguments[E] + } + var P = [].concat.apply([], v) + return new Uint8Array(P).buffer + } + function fromHexdump(k) { + var v = k.split('\n') + v = v.map(function (k) { + return k.trim() + }) + var E = v.reduce(function (k, v) { + var E = v.split(' ') + E.shift() + E = E.filter(function (k) { + return k !== '' + }) + var P = E.map(function (k) { + return parseInt(k, 16) + }) + k.push.apply(k, _toConsumableArray(P)) + return k + }, []) + return Buffer.from(E) + } + }, + 37197: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.parse32F = parse32F + v.parse64F = parse64F + v.parse32I = parse32I + v.parseU32 = parseU32 + v.parse64I = parse64I + v.isInfLiteral = isInfLiteral + v.isNanLiteral = isNanLiteral + var P = _interopRequireDefault(E(85249)) + var R = _interopRequireDefault(E(31209)) + var L = E(28513) + function _interopRequireDefault(k) { + return k && k.__esModule ? k : { default: k } + } + function parse32F(k) { + if (isHexLiteral(k)) { + return (0, R['default'])(k) + } + if (isInfLiteral(k)) { + return k[0] === '-' ? -1 : 1 + } + if (isNanLiteral(k)) { + return ( + (k[0] === '-' ? -1 : 1) * + (k.includes(':') + ? parseInt(k.substring(k.indexOf(':') + 1), 16) + : 4194304) + ) + } + return parseFloat(k) + } + function parse64F(k) { + if (isHexLiteral(k)) { + return (0, R['default'])(k) + } + if (isInfLiteral(k)) { + return k[0] === '-' ? -1 : 1 + } + if (isNanLiteral(k)) { + return ( + (k[0] === '-' ? -1 : 1) * + (k.includes(':') + ? parseInt(k.substring(k.indexOf(':') + 1), 16) + : 0x8000000000000) + ) + } + if (isHexLiteral(k)) { + return (0, R['default'])(k) + } + return parseFloat(k) + } + function parse32I(k) { + var v = 0 + if (isHexLiteral(k)) { + v = ~~parseInt(k, 16) + } else if (isDecimalExponentLiteral(k)) { + throw new Error( + 'This number literal format is yet to be implemented.' + ) + } else { + v = parseInt(k, 10) + } + return v + } + function parseU32(k) { + var v = parse32I(k) + if (v < 0) { + throw new L.CompileError('Illegal value for u32: ' + k) + } + return v + } + function parse64I(k) { + var v + if (isHexLiteral(k)) { + v = P['default'].fromString(k, false, 16) + } else if (isDecimalExponentLiteral(k)) { + throw new Error( + 'This number literal format is yet to be implemented.' + ) + } else { + v = P['default'].fromString(k) + } + return { high: v.high, low: v.low } + } + var N = /^\+?-?nan/ + var q = /^\+?-?inf/ + function isInfLiteral(k) { + return q.test(k.toLowerCase()) + } + function isNanLiteral(k) { + return N.test(k.toLowerCase()) + } + function isDecimalExponentLiteral(k) { + return !isHexLiteral(k) && k.toUpperCase().includes('E') + } + function isHexLiteral(k) { + return ( + k.substring(0, 2).toUpperCase() === '0X' || + k.substring(0, 3).toUpperCase() === '-0X' + ) + } + }, + 94545: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + Object.defineProperty(v, 'getSectionForNode', { + enumerable: true, + get: function get() { + return P.getSectionForNode + }, + }) + v['default'] = void 0 + var P = E(32337) + var R = 'illegal' + var L = [0, 97, 115, 109] + var N = [1, 0, 0, 0] + function invertMap(k) { + var v = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : function (k) { + return k + } + var E = {} + var P = Object.keys(k) + for (var R = 0, L = P.length; R < L; R++) { + E[v(k[P[R]])] = P[R] + } + return E + } + function createSymbolObject(k, v) { + var E = + arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0 + return { name: k, object: v, numberOfArgs: E } + } + function createSymbol(k) { + var v = + arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0 + return { name: k, numberOfArgs: v } + } + var q = { func: 96, result: 64 } + var ae = { 0: 'Func', 1: 'Table', 2: 'Memory', 3: 'Global' } + var le = invertMap(ae) + var pe = { 127: 'i32', 126: 'i64', 125: 'f32', 124: 'f64', 123: 'v128' } + var me = invertMap(pe) + var ye = { 112: 'anyfunc' } + var _e = Object.assign({}, pe, { + 64: null, + 127: 'i32', + 126: 'i64', + 125: 'f32', + 124: 'f64', + }) + var Ie = { 0: 'const', 1: 'var' } + var Me = invertMap(Ie) + var Te = { 0: 'func', 1: 'table', 2: 'memory', 3: 'global' } + var je = { + 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 Ne = { + 0: createSymbol('unreachable'), + 1: createSymbol('nop'), + 2: createSymbol('block'), + 3: createSymbol('loop'), + 4: createSymbol('if'), + 5: createSymbol('else'), + 6: R, + 7: R, + 8: R, + 9: R, + 10: R, + 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: R, + 19: R, + 20: R, + 21: R, + 22: R, + 23: R, + 24: R, + 25: R, + 26: createSymbol('drop'), + 27: createSymbol('select'), + 28: R, + 29: R, + 30: R, + 31: R, + 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: R, + 38: R, + 39: R, + 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'), + 65024: createSymbol('memory.atomic.notify', 1), + 65025: createSymbol('memory.atomic.wait32', 1), + 65026: createSymbol('memory.atomic.wait64', 1), + 65040: createSymbolObject('atomic.load', 'i32', 1), + 65041: createSymbolObject('atomic.load', 'i64', 1), + 65042: createSymbolObject('atomic.load8_u', 'i32', 1), + 65043: createSymbolObject('atomic.load16_u', 'i32', 1), + 65044: createSymbolObject('atomic.load8_u', 'i64', 1), + 65045: createSymbolObject('atomic.load16_u', 'i64', 1), + 65046: createSymbolObject('atomic.load32_u', 'i64', 1), + 65047: createSymbolObject('atomic.store', 'i32', 1), + 65048: createSymbolObject('atomic.store', 'i64', 1), + 65049: createSymbolObject('atomic.store8_u', 'i32', 1), + 65050: createSymbolObject('atomic.store16_u', 'i32', 1), + 65051: createSymbolObject('atomic.store8_u', 'i64', 1), + 65052: createSymbolObject('atomic.store16_u', 'i64', 1), + 65053: createSymbolObject('atomic.store32_u', 'i64', 1), + 65054: createSymbolObject('atomic.rmw.add', 'i32', 1), + 65055: createSymbolObject('atomic.rmw.add', 'i64', 1), + 65056: createSymbolObject('atomic.rmw8_u.add_u', 'i32', 1), + 65057: createSymbolObject('atomic.rmw16_u.add_u', 'i32', 1), + 65058: createSymbolObject('atomic.rmw8_u.add_u', 'i64', 1), + 65059: createSymbolObject('atomic.rmw16_u.add_u', 'i64', 1), + 65060: createSymbolObject('atomic.rmw32_u.add_u', 'i64', 1), + 65061: createSymbolObject('atomic.rmw.sub', 'i32', 1), + 65062: createSymbolObject('atomic.rmw.sub', 'i64', 1), + 65063: createSymbolObject('atomic.rmw8_u.sub_u', 'i32', 1), + 65064: createSymbolObject('atomic.rmw16_u.sub_u', 'i32', 1), + 65065: createSymbolObject('atomic.rmw8_u.sub_u', 'i64', 1), + 65066: createSymbolObject('atomic.rmw16_u.sub_u', 'i64', 1), + 65067: createSymbolObject('atomic.rmw32_u.sub_u', 'i64', 1), + 65068: createSymbolObject('atomic.rmw.and', 'i32', 1), + 65069: createSymbolObject('atomic.rmw.and', 'i64', 1), + 65070: createSymbolObject('atomic.rmw8_u.and_u', 'i32', 1), + 65071: createSymbolObject('atomic.rmw16_u.and_u', 'i32', 1), + 65072: createSymbolObject('atomic.rmw8_u.and_u', 'i64', 1), + 65073: createSymbolObject('atomic.rmw16_u.and_u', 'i64', 1), + 65074: createSymbolObject('atomic.rmw32_u.and_u', 'i64', 1), + 65075: createSymbolObject('atomic.rmw.or', 'i32', 1), + 65076: createSymbolObject('atomic.rmw.or', 'i64', 1), + 65077: createSymbolObject('atomic.rmw8_u.or_u', 'i32', 1), + 65078: createSymbolObject('atomic.rmw16_u.or_u', 'i32', 1), + 65079: createSymbolObject('atomic.rmw8_u.or_u', 'i64', 1), + 65080: createSymbolObject('atomic.rmw16_u.or_u', 'i64', 1), + 65081: createSymbolObject('atomic.rmw32_u.or_u', 'i64', 1), + 65082: createSymbolObject('atomic.rmw.xor', 'i32', 1), + 65083: createSymbolObject('atomic.rmw.xor', 'i64', 1), + 65084: createSymbolObject('atomic.rmw8_u.xor_u', 'i32', 1), + 65085: createSymbolObject('atomic.rmw16_u.xor_u', 'i32', 1), + 65086: createSymbolObject('atomic.rmw8_u.xor_u', 'i64', 1), + 65087: createSymbolObject('atomic.rmw16_u.xor_u', 'i64', 1), + 65088: createSymbolObject('atomic.rmw32_u.xor_u', 'i64', 1), + 65089: createSymbolObject('atomic.rmw.xchg', 'i32', 1), + 65090: createSymbolObject('atomic.rmw.xchg', 'i64', 1), + 65091: createSymbolObject('atomic.rmw8_u.xchg_u', 'i32', 1), + 65092: createSymbolObject('atomic.rmw16_u.xchg_u', 'i32', 1), + 65093: createSymbolObject('atomic.rmw8_u.xchg_u', 'i64', 1), + 65094: createSymbolObject('atomic.rmw16_u.xchg_u', 'i64', 1), + 65095: createSymbolObject('atomic.rmw32_u.xchg_u', 'i64', 1), + 65096: createSymbolObject('atomic.rmw.cmpxchg', 'i32', 1), + 65097: createSymbolObject('atomic.rmw.cmpxchg', 'i64', 1), + 65098: createSymbolObject('atomic.rmw8_u.cmpxchg_u', 'i32', 1), + 65099: createSymbolObject('atomic.rmw16_u.cmpxchg_u', 'i32', 1), + 65100: createSymbolObject('atomic.rmw8_u.cmpxchg_u', 'i64', 1), + 65101: createSymbolObject('atomic.rmw16_u.cmpxchg_u', 'i64', 1), + 65102: createSymbolObject('atomic.rmw32_u.cmpxchg_u', 'i64', 1), + } + var Be = invertMap(Ne, function (k) { + if (typeof k.object === 'string') { + return ''.concat(k.object, '.').concat(k.name) + } + return k.name + }) + var qe = { + symbolsByByte: Ne, + sections: je, + magicModuleHeader: L, + moduleVersion: N, + types: q, + valtypes: pe, + exportTypes: ae, + blockTypes: _e, + tableTypes: ye, + globalTypes: Ie, + importTypes: Te, + valtypesByString: me, + globalTypesByString: Me, + exportTypesByName: le, + symbolsByName: Be, + } + v['default'] = qe + }, + 32337: function (k, v) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.getSectionForNode = getSectionForNode + function getSectionForNode(k) { + switch (k.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 + } + } + }, + 36915: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.createEmptySection = createEmptySection + var P = E(87643) + var R = E(97521) + var L = _interopRequireDefault(E(94545)) + var N = _interopRequireWildcard(E(26333)) + function _getRequireWildcardCache(k) { + if (typeof WeakMap !== 'function') return null + var v = new WeakMap() + var E = new WeakMap() + return (_getRequireWildcardCache = function _getRequireWildcardCache( + k + ) { + return k ? E : v + })(k) + } + function _interopRequireWildcard(k, v) { + if (!v && k && k.__esModule) { + return k + } + if ( + k === null || + (_typeof(k) !== 'object' && typeof k !== 'function') + ) { + return { default: k } + } + var E = _getRequireWildcardCache(v) + if (E && E.has(k)) { + return E.get(k) + } + var P = {} + var R = Object.defineProperty && Object.getOwnPropertyDescriptor + for (var L in k) { + if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { + var N = R ? Object.getOwnPropertyDescriptor(k, L) : null + if (N && (N.get || N.set)) { + Object.defineProperty(P, L, N) + } else { + P[L] = k[L] + } + } + } + P['default'] = k + if (E) { + E.set(k, P) + } + return P + } + function _interopRequireDefault(k) { + return k && k.__esModule ? k : { default: k } + } + function _typeof(k) { + '@babel/helpers - typeof' + if ( + typeof Symbol === 'function' && + typeof Symbol.iterator === 'symbol' + ) { + _typeof = function _typeof(k) { + return typeof k + } + } else { + _typeof = function _typeof(k) { + return k && + typeof Symbol === 'function' && + k.constructor === Symbol && + k !== Symbol.prototype + ? 'symbol' + : typeof k + } + } + return _typeof(k) + } + function findLastSection(k, v) { + var E = L['default'].sections[v] + var P = k.body[0].metadata.sections + var R + var N = 0 + for (var q = 0, ae = P.length; q < ae; q++) { + var le = P[q] + if (le.section === 'custom') { + continue + } + var pe = L['default'].sections[le.section] + if (E > N && E < pe) { + return R + } + N = pe + R = le + } + return R + } + function createEmptySection(k, v, E) { + var L = findLastSection(k, E) + var q, ae + if (L == null || L.section === 'custom') { + q = 8 + ae = q + } else { + q = L.startOffset + L.size.value + 1 + ae = q + } + q += 1 + var le = { line: -1, column: q } + var pe = { line: -1, column: q + 1 } + var me = N.withLoc(N.numberLiteralFromRaw(1), pe, le) + var ye = { line: -1, column: pe.column } + var _e = { line: -1, column: pe.column + 1 } + var Ie = N.withLoc(N.numberLiteralFromRaw(0), _e, ye) + var Me = N.sectionMetadata(E, q, me, Ie) + var Te = (0, P.encodeNode)(Me) + v = (0, R.overrideBytesInBuffer)(v, q - 1, ae, Te) + if (_typeof(k.body[0].metadata) === 'object') { + k.body[0].metadata.sections.push(Me) + N.sortSectionMetadata(k.body[0]) + } + var je = +Te.length + var Ne = false + N.traverse(k, { + SectionMetadata: function SectionMetadata(v) { + if (v.node.section === E) { + Ne = true + return + } + if (Ne === true) { + N.shiftSection(k, v.node, je) + } + }, + }) + return { uint8Buffer: v, sectionMetadata: Me } + } + }, + 82844: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + Object.defineProperty(v, 'resizeSectionByteSize', { + enumerable: true, + get: function get() { + return P.resizeSectionByteSize + }, + }) + Object.defineProperty(v, 'resizeSectionVecSize', { + enumerable: true, + get: function get() { + return P.resizeSectionVecSize + }, + }) + Object.defineProperty(v, 'createEmptySection', { + enumerable: true, + get: function get() { + return R.createEmptySection + }, + }) + Object.defineProperty(v, 'removeSections', { + enumerable: true, + get: function get() { + return L.removeSections + }, + }) + var P = E(86424) + var R = E(36915) + var L = E(18838) + }, + 18838: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.removeSections = removeSections + var P = E(26333) + var R = E(97521) + function removeSections(k, v, E) { + var L = (0, P.getSectionMetadatas)(k, E) + if (L.length === 0) { + throw new Error('Section metadata not found') + } + return L.reverse().reduce(function (v, L) { + var N = L.startOffset - 1 + var q = + E === 'start' + ? L.size.loc.end.column + 1 + : L.startOffset + L.size.value + 1 + var ae = -(q - N) + var le = false + ;(0, P.traverse)(k, { + SectionMetadata: function SectionMetadata(v) { + if (v.node.section === E) { + le = true + return v.remove() + } + if (le === true) { + ;(0, P.shiftSection)(k, v.node, ae) + } + }, + }) + var pe = [] + return (0, R.overrideBytesInBuffer)(v, N, q, pe) + }, v) + } + }, + 86424: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.resizeSectionByteSize = resizeSectionByteSize + v.resizeSectionVecSize = resizeSectionVecSize + var P = E(87643) + var R = E(26333) + var L = E(97521) + function resizeSectionByteSize(k, v, E, N) { + var q = (0, R.getSectionMetadata)(k, E) + if (typeof q === 'undefined') { + throw new Error('Section metadata not found') + } + if (typeof q.size.loc === 'undefined') { + throw new Error('SectionMetadata ' + E + ' has no loc') + } + var ae = q.size.loc.start.column + var le = q.size.loc.end.column + var pe = q.size.value + N + var me = (0, P.encodeU32)(pe) + q.size.value = pe + var ye = le - ae + var _e = me.length + if (_e !== ye) { + var Ie = _e - ye + q.size.loc.end.column = ae + _e + N += Ie + q.vectorOfSize.loc.start.column += Ie + q.vectorOfSize.loc.end.column += Ie + } + var Me = false + ;(0, R.traverse)(k, { + SectionMetadata: function SectionMetadata(v) { + if (v.node.section === E) { + Me = true + return + } + if (Me === true) { + ;(0, R.shiftSection)(k, v.node, N) + } + }, + }) + return (0, L.overrideBytesInBuffer)(v, ae, le, me) + } + function resizeSectionVecSize(k, v, E, N) { + var q = (0, R.getSectionMetadata)(k, E) + if (typeof q === 'undefined') { + throw new Error('Section metadata not found') + } + if (typeof q.vectorOfSize.loc === 'undefined') { + throw new Error('SectionMetadata ' + E + ' has no loc') + } + if (q.vectorOfSize.value === -1) { + return v + } + var ae = q.vectorOfSize.loc.start.column + var le = q.vectorOfSize.loc.end.column + var pe = q.vectorOfSize.value + N + var me = (0, P.encodeU32)(pe) + q.vectorOfSize.value = pe + q.vectorOfSize.loc.end.column = ae + me.length + return (0, L.overrideBytesInBuffer)(v, ae, le, me) + } + }, + 77622: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.encodeF32 = encodeF32 + v.encodeF64 = encodeF64 + v.decodeF32 = decodeF32 + v.decodeF64 = decodeF64 + v.DOUBLE_PRECISION_MANTISSA = + v.SINGLE_PRECISION_MANTISSA = + v.NUMBER_OF_BYTE_F64 = + v.NUMBER_OF_BYTE_F32 = + void 0 + var P = E(62734) + var R = 4 + v.NUMBER_OF_BYTE_F32 = R + var L = 8 + v.NUMBER_OF_BYTE_F64 = L + var N = 23 + v.SINGLE_PRECISION_MANTISSA = N + var q = 52 + v.DOUBLE_PRECISION_MANTISSA = q + function encodeF32(k) { + var v = [] + ;(0, P.write)(v, k, 0, true, N, R) + return v + } + function encodeF64(k) { + var v = [] + ;(0, P.write)(v, k, 0, true, q, L) + return v + } + function decodeF32(k) { + var v = Buffer.from(k) + return (0, P.read)(v, 0, true, N, R) + } + function decodeF64(k) { + var v = Buffer.from(k) + return (0, P.read)(v, 0, true, q, L) + } + }, + 79423: function (k, v) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.extract = extract + v.inject = inject + v.getSign = getSign + v.highOrder = highOrder + function extract(k, v, E, P) { + if (E < 0 || E > 32) { + throw new Error('Bad value for bitLength.') + } + if (P === undefined) { + P = 0 + } else if (P !== 0 && P !== 1) { + throw new Error('Bad value for defaultBit.') + } + var R = P * 255 + var L = 0 + var N = v + E + var q = Math.floor(v / 8) + var ae = v % 8 + var le = Math.floor(N / 8) + var pe = N % 8 + if (pe !== 0) { + L = get(le) & ((1 << pe) - 1) + } + while (le > q) { + le-- + L = (L << 8) | get(le) + } + L >>>= ae + return L + function get(v) { + var E = k[v] + return E === undefined ? R : E + } + } + function inject(k, v, E, P) { + if (E < 0 || E > 32) { + throw new Error('Bad value for bitLength.') + } + var R = Math.floor((v + E - 1) / 8) + if (v < 0 || R >= k.length) { + throw new Error('Index out of range.') + } + var L = Math.floor(v / 8) + var N = v % 8 + while (E > 0) { + if (P & 1) { + k[L] |= 1 << N + } else { + k[L] &= ~(1 << N) + } + P >>= 1 + E-- + N = (N + 1) % 8 + if (N === 0) { + L++ + } + } + } + function getSign(k) { + return k[k.length - 1] >>> 7 + } + function highOrder(k, v) { + var E = v.length + var P = (k ^ 1) * 255 + while (E > 0 && v[E - 1] === P) { + E-- + } + if (E === 0) { + return -1 + } + var R = v[E - 1] + var L = E * 8 - 1 + for (var N = 7; N > 0; N--) { + if (((R >> N) & 1) === k) { + break + } + L-- + } + return L + } + }, + 57386: function (k, v) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.alloc = alloc + v.free = free + v.resize = resize + v.readInt = readInt + v.readUInt = readUInt + v.writeInt64 = writeInt64 + v.writeUInt64 = writeUInt64 + var E = [] + var P = 20 + var R = -0x8000000000000000 + var L = 0x7ffffffffffffc00 + var N = 0xfffffffffffff800 + var q = 4294967296 + var ae = 0x10000000000000000 + function lowestBit(k) { + return k & -k + } + function isLossyToAdd(k, v) { + if (v === 0) { + return false + } + var E = lowestBit(v) + var P = k + E + if (P === k) { + return true + } + if (P - E !== k) { + return true + } + return false + } + function alloc(k) { + var v = E[k] + if (v) { + E[k] = undefined + } else { + v = new Buffer(k) + } + v.fill(0) + return v + } + function free(k) { + var v = k.length + if (v < P) { + E[v] = k + } + } + function resize(k, v) { + if (v === k.length) { + return k + } + var E = alloc(v) + k.copy(E) + free(k) + return E + } + function readInt(k) { + var v = k.length + var E = k[v - 1] < 128 + var P = E ? 0 : -1 + var R = false + if (v < 7) { + for (var L = v - 1; L >= 0; L--) { + P = P * 256 + k[L] + } + } else { + for (var N = v - 1; N >= 0; N--) { + var q = k[N] + P *= 256 + if (isLossyToAdd(P, q)) { + R = true + } + P += q + } + } + return { value: P, lossy: R } + } + function readUInt(k) { + var v = k.length + var E = 0 + var P = false + if (v < 7) { + for (var R = v - 1; R >= 0; R--) { + E = E * 256 + k[R] + } + } else { + for (var L = v - 1; L >= 0; L--) { + var N = k[L] + E *= 256 + if (isLossyToAdd(E, N)) { + P = true + } + E += N + } + } + return { value: E, lossy: P } + } + function writeInt64(k, v) { + if (k < R || k > L) { + throw new Error('Value out of range.') + } + if (k < 0) { + k += ae + } + writeUInt64(k, v) + } + function writeUInt64(k, v) { + if (k < 0 || k > N) { + throw new Error('Value out of range.') + } + var E = k % q + var P = Math.floor(k / q) + v.writeUInt32LE(E, 0) + v.writeUInt32LE(P, 4) + } + }, + 54307: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.decodeInt64 = decodeInt64 + v.decodeUInt64 = decodeUInt64 + v.decodeInt32 = decodeInt32 + v.decodeUInt32 = decodeUInt32 + v.encodeU32 = encodeU32 + v.encodeI32 = encodeI32 + v.encodeI64 = encodeI64 + v.MAX_NUMBER_OF_BYTE_U64 = v.MAX_NUMBER_OF_BYTE_U32 = void 0 + var P = _interopRequireDefault(E(66562)) + function _interopRequireDefault(k) { + return k && k.__esModule ? k : { default: k } + } + var R = 5 + v.MAX_NUMBER_OF_BYTE_U32 = R + var L = 10 + v.MAX_NUMBER_OF_BYTE_U64 = L + function decodeInt64(k, v) { + return P['default'].decodeInt64(k, v) + } + function decodeUInt64(k, v) { + return P['default'].decodeUInt64(k, v) + } + function decodeInt32(k, v) { + return P['default'].decodeInt32(k, v) + } + function decodeUInt32(k, v) { + return P['default'].decodeUInt32(k, v) + } + function encodeU32(k) { + return P['default'].encodeUInt32(k) + } + function encodeI32(k) { + return P['default'].encodeInt32(k) + } + function encodeI64(k) { + return P['default'].encodeInt64(k) + } + }, + 66562: function (k, v, E) { + 'use strict' + function _typeof(k) { + '@babel/helpers - typeof' + if ( + typeof Symbol === 'function' && + typeof Symbol.iterator === 'symbol' + ) { + _typeof = function _typeof(k) { + return typeof k + } + } else { + _typeof = function _typeof(k) { + return k && + typeof Symbol === 'function' && + k.constructor === Symbol && + k !== Symbol.prototype + ? 'symbol' + : typeof k + } + } + return _typeof(k) + } + Object.defineProperty(v, '__esModule', { value: true }) + v['default'] = void 0 + var P = _interopRequireDefault(E(85249)) + var R = _interopRequireWildcard(E(79423)) + var L = _interopRequireWildcard(E(57386)) + function _getRequireWildcardCache(k) { + if (typeof WeakMap !== 'function') return null + var v = new WeakMap() + var E = new WeakMap() + return (_getRequireWildcardCache = function _getRequireWildcardCache( + k + ) { + return k ? E : v + })(k) + } + function _interopRequireWildcard(k, v) { + if (!v && k && k.__esModule) { + return k + } + if ( + k === null || + (_typeof(k) !== 'object' && typeof k !== 'function') + ) { + return { default: k } + } + var E = _getRequireWildcardCache(v) + if (E && E.has(k)) { + return E.get(k) + } + var P = {} + var R = Object.defineProperty && Object.getOwnPropertyDescriptor + for (var L in k) { + if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { + var N = R ? Object.getOwnPropertyDescriptor(k, L) : null + if (N && (N.get || N.set)) { + Object.defineProperty(P, L, N) + } else { + P[L] = k[L] + } + } + } + P['default'] = k + if (E) { + E.set(k, P) + } + return P + } + function _interopRequireDefault(k) { + return k && k.__esModule ? k : { default: k } + } + var N = -2147483648 + var q = 2147483647 + var ae = 4294967295 + function signedBitCount(k) { + return R.highOrder(R.getSign(k) ^ 1, k) + 2 + } + function unsignedBitCount(k) { + var v = R.highOrder(1, k) + 1 + return v ? v : 1 + } + function encodeBufferCommon(k, v) { + var E + var P + if (v) { + E = R.getSign(k) + P = signedBitCount(k) + } else { + E = 0 + P = unsignedBitCount(k) + } + var N = Math.ceil(P / 7) + var q = L.alloc(N) + for (var ae = 0; ae < N; ae++) { + var le = R.extract(k, ae * 7, 7, E) + q[ae] = le | 128 + } + q[N - 1] &= 127 + return q + } + function encodedLength(k, v) { + var E = 0 + while (k[v + E] >= 128) { + E++ + } + E++ + if (v + E > k.length) { + } + return E + } + function decodeBufferCommon(k, v, E) { + v = v === undefined ? 0 : v + var P = encodedLength(k, v) + var N = P * 7 + var q = Math.ceil(N / 8) + var ae = L.alloc(q) + var le = 0 + while (P > 0) { + R.inject(ae, le, 7, k[v]) + le += 7 + v++ + P-- + } + var pe + var me + if (E) { + var ye = ae[q - 1] + var _e = le % 8 + if (_e !== 0) { + var Ie = 32 - _e + ye = ae[q - 1] = ((ye << Ie) >> Ie) & 255 + } + pe = ye >> 7 + me = pe * 255 + } else { + pe = 0 + me = 0 + } + while (q > 1 && ae[q - 1] === me && (!E || ae[q - 2] >> 7 === pe)) { + q-- + } + ae = L.resize(ae, q) + return { value: ae, nextIndex: v } + } + function encodeIntBuffer(k) { + return encodeBufferCommon(k, true) + } + function decodeIntBuffer(k, v) { + return decodeBufferCommon(k, v, true) + } + function encodeInt32(k) { + var v = L.alloc(4) + v.writeInt32LE(k, 0) + var E = encodeIntBuffer(v) + L.free(v) + return E + } + function decodeInt32(k, v) { + var E = decodeIntBuffer(k, v) + var P = L.readInt(E.value) + var R = P.value + L.free(E.value) + if (R < N || R > q) { + throw new Error('integer too large') + } + return { value: R, nextIndex: E.nextIndex } + } + function encodeInt64(k) { + var v = L.alloc(8) + L.writeInt64(k, v) + var E = encodeIntBuffer(v) + L.free(v) + return E + } + function decodeInt64(k, v) { + var E = decodeIntBuffer(k, v) + var R = E.value.length + if (E.value[R - 1] >> 7) { + E.value = L.resize(E.value, 8) + E.value.fill(255, R) + } + var N = P['default'].fromBytesLE(E.value, false) + L.free(E.value) + return { value: N, nextIndex: E.nextIndex, lossy: false } + } + function encodeUIntBuffer(k) { + return encodeBufferCommon(k, false) + } + function decodeUIntBuffer(k, v) { + return decodeBufferCommon(k, v, false) + } + function encodeUInt32(k) { + var v = L.alloc(4) + v.writeUInt32LE(k, 0) + var E = encodeUIntBuffer(v) + L.free(v) + return E + } + function decodeUInt32(k, v) { + var E = decodeUIntBuffer(k, v) + var P = L.readUInt(E.value) + var R = P.value + L.free(E.value) + if (R > ae) { + throw new Error('integer too large') + } + return { value: R, nextIndex: E.nextIndex } + } + function encodeUInt64(k) { + var v = L.alloc(8) + L.writeUInt64(k, v) + var E = encodeUIntBuffer(v) + L.free(v) + return E + } + function decodeUInt64(k, v) { + var E = decodeUIntBuffer(k, v) + var R = P['default'].fromBytesLE(E.value, true) + L.free(E.value) + return { value: R, nextIndex: E.nextIndex, lossy: false } + } + var le = { + decodeInt32: decodeInt32, + decodeInt64: decodeInt64, + decodeIntBuffer: decodeIntBuffer, + decodeUInt32: decodeUInt32, + decodeUInt64: decodeUInt64, + decodeUIntBuffer: decodeUIntBuffer, + encodeInt32: encodeInt32, + encodeInt64: encodeInt64, + encodeIntBuffer: encodeIntBuffer, + encodeUInt32: encodeUInt32, + encodeUInt64: encodeUInt64, + encodeUIntBuffer: encodeUIntBuffer, + } + v['default'] = le + }, + 18126: function (k, v) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.decode = decode + function con(k) { + if ((k & 192) === 128) { + return k & 63 + } else { + throw new Error('invalid UTF-8 encoding') + } + } + function code(k, v) { + if (v < k || (55296 <= v && v < 57344) || v >= 65536) { + throw new Error('invalid UTF-8 encoding') + } else { + return v + } + } + function decode(k) { + return _decode(k) + .map(function (k) { + return String.fromCharCode(k) + }) + .join('') + } + function _decode(k) { + var v = [] + while (k.length > 0) { + var E = k[0] + if (E < 128) { + v.push(code(0, E)) + k = k.slice(1) + continue + } + if (E < 192) { + throw new Error('invalid UTF-8 encoding') + } + var P = k[1] + if (E < 224) { + v.push(code(128, ((E & 31) << 6) + con(P))) + k = k.slice(2) + continue + } + var R = k[2] + if (E < 240) { + v.push(code(2048, ((E & 15) << 12) + (con(P) << 6) + con(R))) + k = k.slice(3) + continue + } + var L = k[3] + if (E < 248) { + v.push( + code( + 65536, + ((((E & 7) << 18) + con(P)) << 12) + (con(R) << 6) + con(L) + ) + ) + k = k.slice(4) + continue + } + throw new Error('invalid UTF-8 encoding') + } + return v + } + }, + 24083: function (k, v) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.encode = encode + function _toConsumableArray(k) { + return ( + _arrayWithoutHoles(k) || + _iterableToArray(k) || + _unsupportedIterableToArray(k) || + _nonIterableSpread() + ) + } + function _nonIterableSpread() { + throw new TypeError( + 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' + ) + } + function _arrayWithoutHoles(k) { + if (Array.isArray(k)) return _arrayLikeToArray(k) + } + function _toArray(k) { + return ( + _arrayWithHoles(k) || + _iterableToArray(k) || + _unsupportedIterableToArray(k) || + _nonIterableRest() + ) + } + function _nonIterableRest() { + throw new TypeError( + 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' + ) + } + function _unsupportedIterableToArray(k, v) { + if (!k) return + if (typeof k === 'string') return _arrayLikeToArray(k, v) + var E = Object.prototype.toString.call(k).slice(8, -1) + if (E === 'Object' && k.constructor) E = k.constructor.name + if (E === 'Map' || E === 'Set') return Array.from(k) + if ( + E === 'Arguments' || + /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) + ) + return _arrayLikeToArray(k, v) + } + function _arrayLikeToArray(k, v) { + if (v == null || v > k.length) v = k.length + for (var E = 0, P = new Array(v); E < v; E++) { + P[E] = k[E] + } + return P + } + function _iterableToArray(k) { + if ( + (typeof Symbol !== 'undefined' && k[Symbol.iterator] != null) || + k['@@iterator'] != null + ) + return Array.from(k) + } + function _arrayWithHoles(k) { + if (Array.isArray(k)) return k + } + function con(k) { + return 128 | (k & 63) + } + function encode(k) { + var v = k.split('').map(function (k) { + return k.charCodeAt(0) + }) + return _encode(v) + } + function _encode(k) { + if (k.length === 0) { + return [] + } + var v = _toArray(k), + E = v[0], + P = v.slice(1) + if (E < 0) { + throw new Error('utf8') + } + if (E < 128) { + return [E].concat(_toConsumableArray(_encode(P))) + } + if (E < 2048) { + return [192 | (E >>> 6), con(E)].concat( + _toConsumableArray(_encode(P)) + ) + } + if (E < 65536) { + return [224 | (E >>> 12), con(E >>> 6), con(E)].concat( + _toConsumableArray(_encode(P)) + ) + } + if (E < 1114112) { + return [240 | (E >>> 18), con(E >>> 12), con(E >>> 6), con(E)].concat( + _toConsumableArray(_encode(P)) + ) + } + throw new Error('utf8') + } + }, + 34114: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + Object.defineProperty(v, 'decode', { + enumerable: true, + get: function get() { + return P.decode + }, + }) + Object.defineProperty(v, 'encode', { + enumerable: true, + get: function get() { + return R.encode + }, + }) + var P = E(18126) + var R = E(24083) + }, + 25467: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.applyOperations = applyOperations + var P = E(87643) + var R = E(49212) + var L = E(26333) + var N = E(82844) + var q = E(97521) + var ae = E(94545) + function _slicedToArray(k, v) { + return ( + _arrayWithHoles(k) || + _iterableToArrayLimit(k, v) || + _unsupportedIterableToArray(k, v) || + _nonIterableRest() + ) + } + function _nonIterableRest() { + throw new TypeError( + 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' + ) + } + function _unsupportedIterableToArray(k, v) { + if (!k) return + if (typeof k === 'string') return _arrayLikeToArray(k, v) + var E = Object.prototype.toString.call(k).slice(8, -1) + if (E === 'Object' && k.constructor) E = k.constructor.name + if (E === 'Map' || E === 'Set') return Array.from(k) + if ( + E === 'Arguments' || + /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) + ) + return _arrayLikeToArray(k, v) + } + function _arrayLikeToArray(k, v) { + if (v == null || v > k.length) v = k.length + for (var E = 0, P = new Array(v); E < v; E++) { + P[E] = k[E] + } + return P + } + function _iterableToArrayLimit(k, v) { + var E = + k == null + ? null + : (typeof Symbol !== 'undefined' && k[Symbol.iterator]) || + k['@@iterator'] + if (E == null) return + var P = [] + var R = true + var L = false + var N, q + try { + for (E = E.call(k); !(R = (N = E.next()).done); R = true) { + P.push(N.value) + if (v && P.length === v) break + } + } catch (k) { + L = true + q = k + } finally { + try { + if (!R && E['return'] != null) E['return']() + } finally { + if (L) throw q + } + } + return P + } + function _arrayWithHoles(k) { + if (Array.isArray(k)) return k + } + function shiftLocNodeByDelta(k, v) { + ;(0, L.assertHasLoc)(k) + k.loc.start.column += v + k.loc.end.column += v + } + function applyUpdate(k, v, E) { + var N = _slicedToArray(E, 2), + le = N[0], + pe = N[1] + var me = 0 + ;(0, L.assertHasLoc)(le) + var ye = (0, ae.getSectionForNode)(pe) + var _e = (0, P.encodeNode)(pe) + v = (0, q.overrideBytesInBuffer)( + v, + le.loc.start.column, + le.loc.end.column, + _e + ) + if (ye === 'code') { + ;(0, L.traverse)(k, { + Func: function Func(k) { + var E = k.node + var N = + E.body.find(function (k) { + return k === pe + }) !== undefined + if (N === true) { + ;(0, L.assertHasLoc)(E) + var ae = (0, P.encodeNode)(le).length + var me = _e.length - ae + if (me !== 0) { + var ye = E.metadata.bodySize + me + var Ie = (0, R.encodeU32)(ye) + var Me = E.loc.start.column + var Te = Me + 1 + v = (0, q.overrideBytesInBuffer)(v, Me, Te, Ie) + } + } + }, + }) + } + var Ie = _e.length - (le.loc.end.column - le.loc.start.column) + pe.loc = { + start: { line: -1, column: -1 }, + end: { line: -1, column: -1 }, + } + pe.loc.start.column = le.loc.start.column + pe.loc.end.column = le.loc.start.column + _e.length + return { uint8Buffer: v, deltaBytes: Ie, deltaElements: me } + } + function applyDelete(k, v, E) { + var P = -1 + ;(0, L.assertHasLoc)(E) + var R = (0, ae.getSectionForNode)(E) + if (R === 'start') { + var le = (0, L.getSectionMetadata)(k, 'start') + v = (0, N.removeSections)(k, v, 'start') + var pe = -(le.size.value + 1) + return { uint8Buffer: v, deltaBytes: pe, deltaElements: P } + } + var me = [] + v = (0, q.overrideBytesInBuffer)( + v, + E.loc.start.column, + E.loc.end.column, + me + ) + var ye = -(E.loc.end.column - E.loc.start.column) + return { uint8Buffer: v, deltaBytes: ye, deltaElements: P } + } + function applyAdd(k, v, E) { + var R = +1 + var le = (0, ae.getSectionForNode)(E) + var pe = (0, L.getSectionMetadata)(k, le) + if (typeof pe === 'undefined') { + var me = (0, N.createEmptySection)(k, v, le) + v = me.uint8Buffer + pe = me.sectionMetadata + } + if ((0, L.isFunc)(E)) { + var ye = E.body + if (ye.length === 0 || ye[ye.length - 1].id !== 'end') { + throw new Error('expressions must be ended') + } + } + if ((0, L.isGlobal)(E)) { + var ye = E.init + if (ye.length === 0 || ye[ye.length - 1].id !== 'end') { + throw new Error('expressions must be ended') + } + } + var _e = (0, P.encodeNode)(E) + var Ie = (0, L.getEndOfSection)(pe) + var Me = Ie + var Te = _e.length + v = (0, q.overrideBytesInBuffer)(v, Ie, Me, _e) + E.loc = { + start: { line: -1, column: Ie }, + end: { line: -1, column: Ie + Te }, + } + if (E.type === 'Func') { + var je = _e[0] + E.metadata = { bodySize: je } + } + if (E.type !== 'IndexInFuncSection') { + ;(0, L.orderedInsertNode)(k.body[0], E) + } + return { uint8Buffer: v, deltaBytes: Te, deltaElements: R } + } + function applyOperations(k, v, E) { + E.forEach(function (P) { + var R + var L + switch (P.kind) { + case 'update': + R = applyUpdate(k, v, [P.oldNode, P.node]) + L = (0, ae.getSectionForNode)(P.node) + break + case 'delete': + R = applyDelete(k, v, P.node) + L = (0, ae.getSectionForNode)(P.node) + break + case 'add': + R = applyAdd(k, v, P.node) + L = (0, ae.getSectionForNode)(P.node) + break + default: + throw new Error('Unknown operation') + } + if (R.deltaElements !== 0 && L !== 'start') { + var q = R.uint8Buffer.length + R.uint8Buffer = (0, N.resizeSectionVecSize)( + k, + R.uint8Buffer, + L, + R.deltaElements + ) + R.deltaBytes += R.uint8Buffer.length - q + } + if (R.deltaBytes !== 0 && L !== 'start') { + var le = R.uint8Buffer.length + R.uint8Buffer = (0, N.resizeSectionByteSize)( + k, + R.uint8Buffer, + L, + R.deltaBytes + ) + R.deltaBytes += R.uint8Buffer.length - le + } + if (R.deltaBytes !== 0) { + E.forEach(function (k) { + switch (k.kind) { + case 'update': + shiftLocNodeByDelta(k.oldNode, R.deltaBytes) + break + case 'delete': + shiftLocNodeByDelta(k.node, R.deltaBytes) + break + } + }) + } + v = R.uint8Buffer + }) + return v + } + }, + 12092: function (k, v, E) { + 'use strict' + function _typeof(k) { + '@babel/helpers - typeof' + if ( + typeof Symbol === 'function' && + typeof Symbol.iterator === 'symbol' + ) { + _typeof = function _typeof(k) { + return typeof k + } + } else { + _typeof = function _typeof(k) { + return k && + typeof Symbol === 'function' && + k.constructor === Symbol && + k !== Symbol.prototype + ? 'symbol' + : typeof k + } + } + return _typeof(k) + } + Object.defineProperty(v, '__esModule', { value: true }) + v.edit = edit + v.editWithAST = editWithAST + v.add = add + v.addWithAST = addWithAST + var P = E(57480) + var R = E(26333) + var L = E(75583) + var N = E(36531) + var q = _interopRequireWildcard(E(94545)) + var ae = E(25467) + function _getRequireWildcardCache(k) { + if (typeof WeakMap !== 'function') return null + var v = new WeakMap() + var E = new WeakMap() + return (_getRequireWildcardCache = function _getRequireWildcardCache( + k + ) { + return k ? E : v + })(k) + } + function _interopRequireWildcard(k, v) { + if (!v && k && k.__esModule) { + return k + } + if ( + k === null || + (_typeof(k) !== 'object' && typeof k !== 'function') + ) { + return { default: k } + } + var E = _getRequireWildcardCache(v) + if (E && E.has(k)) { + return E.get(k) + } + var P = {} + var R = Object.defineProperty && Object.getOwnPropertyDescriptor + for (var L in k) { + if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { + var N = R ? Object.getOwnPropertyDescriptor(k, L) : null + if (N && (N.get || N.set)) { + Object.defineProperty(P, L, N) + } else { + P[L] = k[L] + } + } + } + P['default'] = k + if (E) { + E.set(k, P) + } + return P + } + function _createForOfIteratorHelper(k, v) { + var E = + (typeof Symbol !== 'undefined' && k[Symbol.iterator]) || + k['@@iterator'] + if (!E) { + if ( + Array.isArray(k) || + (E = _unsupportedIterableToArray(k)) || + (v && k && typeof k.length === 'number') + ) { + if (E) k = E + var P = 0 + var R = function F() {} + return { + s: R, + n: function n() { + if (P >= k.length) return { done: true } + return { done: false, value: k[P++] } + }, + e: function e(k) { + throw k + }, + f: R, + } + } + throw new TypeError( + 'Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' + ) + } + var L = true, + N = false, + q + return { + s: function s() { + E = E.call(k) + }, + n: function n() { + var k = E.next() + L = k.done + return k + }, + e: function e(k) { + N = true + q = k + }, + f: function f() { + try { + if (!L && E['return'] != null) E['return']() + } finally { + if (N) throw q + } + }, + } + } + function _unsupportedIterableToArray(k, v) { + if (!k) return + if (typeof k === 'string') return _arrayLikeToArray(k, v) + var E = Object.prototype.toString.call(k).slice(8, -1) + if (E === 'Object' && k.constructor) E = k.constructor.name + if (E === 'Map' || E === 'Set') return Array.from(k) + if ( + E === 'Arguments' || + /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) + ) + return _arrayLikeToArray(k, v) + } + function _arrayLikeToArray(k, v) { + if (v == null || v > k.length) v = k.length + for (var E = 0, P = new Array(v); E < v; E++) { + P[E] = k[E] + } + return P + } + function hashNode(k) { + return JSON.stringify(k) + } + function preprocess(k) { + var v = (0, N.shrinkPaddedLEB128)(new Uint8Array(k)) + return v.buffer + } + function sortBySectionOrder(k) { + var v = new Map() + var E = _createForOfIteratorHelper(k), + P + try { + for (E.s(); !(P = E.n()).done; ) { + var R = P.value + v.set(R, v.size) + } + } catch (k) { + E.e(k) + } finally { + E.f() + } + k.sort(function (k, E) { + var P = (0, q.getSectionForNode)(k) + var R = (0, q.getSectionForNode)(E) + var L = q['default'].sections[P] + var N = q['default'].sections[R] + if (typeof L !== 'number' || typeof N !== 'number') { + throw new Error('Section id not found') + } + if (L === N) { + return v.get(k) - v.get(E) + } + return L - N + }) + } + function edit(k, v) { + k = preprocess(k) + var E = (0, P.decode)(k) + return editWithAST(E, k, v) + } + function editWithAST(k, v, E) { + var P = [] + var N = new Uint8Array(v) + var q + function before(k, v) { + q = (0, L.cloneNode)(v.node) + } + function after(k, v) { + if (v.node._deleted === true) { + P.push({ kind: 'delete', node: v.node }) + } else if (hashNode(q) !== hashNode(v.node)) { + P.push({ kind: 'update', oldNode: q, node: v.node }) + } + } + ;(0, R.traverse)(k, E, before, after) + N = (0, ae.applyOperations)(k, N, P) + return N.buffer + } + function add(k, v) { + k = preprocess(k) + var E = (0, P.decode)(k) + return addWithAST(E, k, v) + } + function addWithAST(k, v, E) { + sortBySectionOrder(E) + var P = new Uint8Array(v) + var R = E.map(function (k) { + return { kind: 'add', node: k } + }) + P = (0, ae.applyOperations)(k, P, R) + return P.buffer + } + }, + 49212: function (k, v, E) { + 'use strict' + function _typeof(k) { + '@babel/helpers - typeof' + if ( + typeof Symbol === 'function' && + typeof Symbol.iterator === 'symbol' + ) { + _typeof = function _typeof(k) { + return typeof k + } + } else { + _typeof = function _typeof(k) { + return k && + typeof Symbol === 'function' && + k.constructor === Symbol && + k !== Symbol.prototype + ? 'symbol' + : typeof k + } + } + return _typeof(k) + } + Object.defineProperty(v, '__esModule', { value: true }) + v.encodeVersion = encodeVersion + v.encodeHeader = encodeHeader + v.encodeU32 = encodeU32 + v.encodeI32 = encodeI32 + v.encodeI64 = encodeI64 + v.encodeVec = encodeVec + v.encodeValtype = encodeValtype + v.encodeMutability = encodeMutability + v.encodeUTF8Vec = encodeUTF8Vec + v.encodeLimits = encodeLimits + v.encodeModuleImport = encodeModuleImport + v.encodeSectionMetadata = encodeSectionMetadata + v.encodeCallInstruction = encodeCallInstruction + v.encodeCallIndirectInstruction = encodeCallIndirectInstruction + v.encodeModuleExport = encodeModuleExport + v.encodeTypeInstruction = encodeTypeInstruction + v.encodeInstr = encodeInstr + v.encodeStringLiteral = encodeStringLiteral + v.encodeGlobal = encodeGlobal + v.encodeFuncBody = encodeFuncBody + v.encodeIndexInFuncSection = encodeIndexInFuncSection + v.encodeElem = encodeElem + var P = _interopRequireWildcard(E(54307)) + var R = _interopRequireWildcard(E(77622)) + var L = _interopRequireWildcard(E(34114)) + var N = _interopRequireDefault(E(94545)) + var q = E(87643) + function _interopRequireDefault(k) { + return k && k.__esModule ? k : { default: k } + } + function _getRequireWildcardCache(k) { + if (typeof WeakMap !== 'function') return null + var v = new WeakMap() + var E = new WeakMap() + return (_getRequireWildcardCache = function _getRequireWildcardCache( + k + ) { + return k ? E : v + })(k) + } + function _interopRequireWildcard(k, v) { + if (!v && k && k.__esModule) { + return k + } + if ( + k === null || + (_typeof(k) !== 'object' && typeof k !== 'function') + ) { + return { default: k } + } + var E = _getRequireWildcardCache(v) + if (E && E.has(k)) { + return E.get(k) + } + var P = {} + var R = Object.defineProperty && Object.getOwnPropertyDescriptor + for (var L in k) { + if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { + var N = R ? Object.getOwnPropertyDescriptor(k, L) : null + if (N && (N.get || N.set)) { + Object.defineProperty(P, L, N) + } else { + P[L] = k[L] + } + } + } + P['default'] = k + if (E) { + E.set(k, P) + } + return P + } + function _toConsumableArray(k) { + return ( + _arrayWithoutHoles(k) || + _iterableToArray(k) || + _unsupportedIterableToArray(k) || + _nonIterableSpread() + ) + } + function _nonIterableSpread() { + throw new TypeError( + 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' + ) + } + function _unsupportedIterableToArray(k, v) { + if (!k) return + if (typeof k === 'string') return _arrayLikeToArray(k, v) + var E = Object.prototype.toString.call(k).slice(8, -1) + if (E === 'Object' && k.constructor) E = k.constructor.name + if (E === 'Map' || E === 'Set') return Array.from(k) + if ( + E === 'Arguments' || + /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) + ) + return _arrayLikeToArray(k, v) + } + function _iterableToArray(k) { + if ( + (typeof Symbol !== 'undefined' && k[Symbol.iterator] != null) || + k['@@iterator'] != null + ) + return Array.from(k) + } + function _arrayWithoutHoles(k) { + if (Array.isArray(k)) return _arrayLikeToArray(k) + } + function _arrayLikeToArray(k, v) { + if (v == null || v > k.length) v = k.length + for (var E = 0, P = new Array(v); E < v; E++) { + P[E] = k[E] + } + return P + } + function assertNotIdentifierNode(k) { + if (k.type === 'Identifier') { + throw new Error('Unsupported node Identifier') + } + } + function encodeVersion(k) { + var v = N['default'].moduleVersion + v[0] = k + return v + } + function encodeHeader() { + return N['default'].magicModuleHeader + } + function encodeU32(k) { + var v = new Uint8Array(P.encodeU32(k)) + var E = _toConsumableArray(v) + return E + } + function encodeI32(k) { + var v = new Uint8Array(P.encodeI32(k)) + var E = _toConsumableArray(v) + return E + } + function encodeI64(k) { + var v = new Uint8Array(P.encodeI64(k)) + var E = _toConsumableArray(v) + return E + } + function encodeVec(k) { + var v = encodeU32(k.length) + return [].concat(_toConsumableArray(v), _toConsumableArray(k)) + } + function encodeValtype(k) { + var v = N['default'].valtypesByString[k] + if (typeof v === 'undefined') { + throw new Error('Unknown valtype: ' + k) + } + return parseInt(v, 10) + } + function encodeMutability(k) { + var v = N['default'].globalTypesByString[k] + if (typeof v === 'undefined') { + throw new Error('Unknown mutability: ' + k) + } + return parseInt(v, 10) + } + function encodeUTF8Vec(k) { + return encodeVec(L.encode(k)) + } + function encodeLimits(k) { + var v = [] + if (typeof k.max === 'number') { + v.push(1) + v.push.apply(v, _toConsumableArray(encodeU32(k.min))) + v.push.apply(v, _toConsumableArray(encodeU32(k.max))) + } else { + v.push(0) + v.push.apply(v, _toConsumableArray(encodeU32(k.min))) + } + return v + } + function encodeModuleImport(k) { + var v = [] + v.push.apply(v, _toConsumableArray(encodeUTF8Vec(k.module))) + v.push.apply(v, _toConsumableArray(encodeUTF8Vec(k.name))) + switch (k.descr.type) { + case 'GlobalType': { + v.push(3) + v.push(encodeValtype(k.descr.valtype)) + v.push(encodeMutability(k.descr.mutability)) + break + } + case 'Memory': { + v.push(2) + v.push.apply(v, _toConsumableArray(encodeLimits(k.descr.limits))) + break + } + case 'Table': { + v.push(1) + v.push(112) + v.push.apply(v, _toConsumableArray(encodeLimits(k.descr.limits))) + break + } + case 'FuncImportDescr': { + v.push(0) + assertNotIdentifierNode(k.descr.id) + v.push.apply(v, _toConsumableArray(encodeU32(k.descr.id.value))) + break + } + default: + throw new Error( + 'Unsupport operation: encode module import of type: ' + + k.descr.type + ) + } + return v + } + function encodeSectionMetadata(k) { + var v = [] + var E = N['default'].sections[k.section] + if (typeof E === 'undefined') { + throw new Error('Unknown section: ' + k.section) + } + if (k.section === 'start') { + throw new Error('Unsupported section encoding of type start') + } + v.push(E) + v.push.apply(v, _toConsumableArray(encodeU32(k.size.value))) + v.push.apply(v, _toConsumableArray(encodeU32(k.vectorOfSize.value))) + return v + } + function encodeCallInstruction(k) { + var v = [] + assertNotIdentifierNode(k.index) + v.push(16) + v.push.apply(v, _toConsumableArray(encodeU32(k.index.value))) + return v + } + function encodeCallIndirectInstruction(k) { + var v = [] + assertNotIdentifierNode(k.index) + v.push(17) + v.push.apply(v, _toConsumableArray(encodeU32(k.index.value))) + v.push(0) + return v + } + function encodeModuleExport(k) { + var v = [] + assertNotIdentifierNode(k.descr.id) + var E = N['default'].exportTypesByName[k.descr.exportType] + if (typeof E === 'undefined') { + throw new Error('Unknown export of type: ' + k.descr.exportType) + } + var P = parseInt(E, 10) + v.push.apply(v, _toConsumableArray(encodeUTF8Vec(k.name))) + v.push(P) + v.push.apply(v, _toConsumableArray(encodeU32(k.descr.id.value))) + return v + } + function encodeTypeInstruction(k) { + var v = [96] + var E = k.functype.params + .map(function (k) { + return k.valtype + }) + .map(encodeValtype) + var P = k.functype.results.map(encodeValtype) + v.push.apply(v, _toConsumableArray(encodeVec(E))) + v.push.apply(v, _toConsumableArray(encodeVec(P))) + return v + } + function encodeInstr(k) { + var v = [] + var E = k.id + if (typeof k.object === 'string') { + E = ''.concat(k.object, '.').concat(String(k.id)) + } + var P = N['default'].symbolsByName[E] + if (typeof P === 'undefined') { + throw new Error( + 'encodeInstr: unknown instruction ' + JSON.stringify(E) + ) + } + var L = parseInt(P, 10) + v.push(L) + if (k.args) { + k.args.forEach(function (E) { + var P = encodeU32 + if (k.object === 'i32') { + P = encodeI32 + } + if (k.object === 'i64') { + P = encodeI64 + } + if (k.object === 'f32') { + P = R.encodeF32 + } + if (k.object === 'f64') { + P = R.encodeF64 + } + if ( + E.type === 'NumberLiteral' || + E.type === 'FloatLiteral' || + E.type === 'LongNumberLiteral' + ) { + v.push.apply(v, _toConsumableArray(P(E.value))) + } else { + throw new Error( + 'Unsupported instruction argument encoding ' + + JSON.stringify(E.type) + ) + } + }) + } + return v + } + function encodeExpr(k) { + var v = [] + k.forEach(function (k) { + var E = (0, q.encodeNode)(k) + v.push.apply(v, _toConsumableArray(E)) + }) + return v + } + function encodeStringLiteral(k) { + return encodeUTF8Vec(k.value) + } + function encodeGlobal(k) { + var v = [] + var E = k.globalType, + P = E.valtype, + R = E.mutability + v.push(encodeValtype(P)) + v.push(encodeMutability(R)) + v.push.apply(v, _toConsumableArray(encodeExpr(k.init))) + return v + } + function encodeFuncBody(k) { + var v = [] + v.push(-1) + var E = encodeVec([]) + v.push.apply(v, _toConsumableArray(E)) + var P = encodeExpr(k.body) + v[0] = P.length + E.length + v.push.apply(v, _toConsumableArray(P)) + return v + } + function encodeIndexInFuncSection(k) { + assertNotIdentifierNode(k.index) + return encodeU32(k.index.value) + } + function encodeElem(k) { + var v = [] + assertNotIdentifierNode(k.table) + v.push.apply(v, _toConsumableArray(encodeU32(k.table.value))) + v.push.apply(v, _toConsumableArray(encodeExpr(k.offset))) + var E = k.funcs.reduce(function (k, v) { + return [].concat( + _toConsumableArray(k), + _toConsumableArray(encodeU32(v.value)) + ) + }, []) + v.push.apply(v, _toConsumableArray(encodeVec(E))) + return v + } + }, + 87643: function (k, v, E) { + 'use strict' + function _typeof(k) { + '@babel/helpers - typeof' + if ( + typeof Symbol === 'function' && + typeof Symbol.iterator === 'symbol' + ) { + _typeof = function _typeof(k) { + return typeof k + } + } else { + _typeof = function _typeof(k) { + return k && + typeof Symbol === 'function' && + k.constructor === Symbol && + k !== Symbol.prototype + ? 'symbol' + : typeof k + } + } + return _typeof(k) + } + Object.defineProperty(v, '__esModule', { value: true }) + v.encodeNode = encodeNode + v.encodeU32 = void 0 + var P = _interopRequireWildcard(E(49212)) + function _getRequireWildcardCache(k) { + if (typeof WeakMap !== 'function') return null + var v = new WeakMap() + var E = new WeakMap() + return (_getRequireWildcardCache = function _getRequireWildcardCache( + k + ) { + return k ? E : v + })(k) + } + function _interopRequireWildcard(k, v) { + if (!v && k && k.__esModule) { + return k + } + if ( + k === null || + (_typeof(k) !== 'object' && typeof k !== 'function') + ) { + return { default: k } + } + var E = _getRequireWildcardCache(v) + if (E && E.has(k)) { + return E.get(k) + } + var P = {} + var R = Object.defineProperty && Object.getOwnPropertyDescriptor + for (var L in k) { + if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { + var N = R ? Object.getOwnPropertyDescriptor(k, L) : null + if (N && (N.get || N.set)) { + Object.defineProperty(P, L, N) + } else { + P[L] = k[L] + } + } + } + P['default'] = k + if (E) { + E.set(k, P) + } + return P + } + function encodeNode(k) { + switch (k.type) { + case 'ModuleImport': + return P.encodeModuleImport(k) + case 'SectionMetadata': + return P.encodeSectionMetadata(k) + case 'CallInstruction': + return P.encodeCallInstruction(k) + case 'CallIndirectInstruction': + return P.encodeCallIndirectInstruction(k) + case 'TypeInstruction': + return P.encodeTypeInstruction(k) + case 'Instr': + return P.encodeInstr(k) + case 'ModuleExport': + return P.encodeModuleExport(k) + case 'Global': + return P.encodeGlobal(k) + case 'Func': + return P.encodeFuncBody(k) + case 'IndexInFuncSection': + return P.encodeIndexInFuncSection(k) + case 'StringLiteral': + return P.encodeStringLiteral(k) + case 'Elem': + return P.encodeElem(k) + default: + throw new Error( + 'Unsupported encoding for node of type: ' + JSON.stringify(k.type) + ) + } + } + var R = P.encodeU32 + v.encodeU32 = R + }, + 36531: function (k, v, E) { + 'use strict' + function _typeof(k) { + '@babel/helpers - typeof' + if ( + typeof Symbol === 'function' && + typeof Symbol.iterator === 'symbol' + ) { + _typeof = function _typeof(k) { + return typeof k + } + } else { + _typeof = function _typeof(k) { + return k && + typeof Symbol === 'function' && + k.constructor === Symbol && + k !== Symbol.prototype + ? 'symbol' + : typeof k + } + } + return _typeof(k) + } + Object.defineProperty(v, '__esModule', { value: true }) + v.shrinkPaddedLEB128 = shrinkPaddedLEB128 + var P = E(57480) + var R = E(48776) + function _classCallCheck(k, v) { + if (!(k instanceof v)) { + throw new TypeError('Cannot call a class as a function') + } + } + function _inherits(k, v) { + if (typeof v !== 'function' && v !== null) { + throw new TypeError( + 'Super expression must either be null or a function' + ) + } + k.prototype = Object.create(v && v.prototype, { + constructor: { value: k, writable: true, configurable: true }, + }) + if (v) _setPrototypeOf(k, v) + } + function _createSuper(k) { + var v = _isNativeReflectConstruct() + return function _createSuperInternal() { + var E = _getPrototypeOf(k), + P + if (v) { + var R = _getPrototypeOf(this).constructor + P = Reflect.construct(E, arguments, R) + } else { + P = E.apply(this, arguments) + } + return _possibleConstructorReturn(this, P) + } + } + function _possibleConstructorReturn(k, v) { + if (v && (_typeof(v) === 'object' || typeof v === 'function')) { + return v + } else if (v !== void 0) { + throw new TypeError( + 'Derived constructors may only return object or undefined' + ) + } + return _assertThisInitialized(k) + } + function _assertThisInitialized(k) { + if (k === void 0) { + throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called" + ) + } + return k + } + function _wrapNativeSuper(k) { + var v = typeof Map === 'function' ? new Map() : undefined + _wrapNativeSuper = function _wrapNativeSuper(k) { + if (k === null || !_isNativeFunction(k)) return k + if (typeof k !== 'function') { + throw new TypeError( + 'Super expression must either be null or a function' + ) + } + if (typeof v !== 'undefined') { + if (v.has(k)) return v.get(k) + v.set(k, Wrapper) + } + function Wrapper() { + return _construct(k, arguments, _getPrototypeOf(this).constructor) + } + Wrapper.prototype = Object.create(k.prototype, { + constructor: { + value: Wrapper, + enumerable: false, + writable: true, + configurable: true, + }, + }) + return _setPrototypeOf(Wrapper, k) + } + return _wrapNativeSuper(k) + } + function _construct(k, v, E) { + if (_isNativeReflectConstruct()) { + _construct = Reflect.construct + } else { + _construct = function _construct(k, v, E) { + var P = [null] + P.push.apply(P, v) + var R = Function.bind.apply(k, P) + var L = new R() + if (E) _setPrototypeOf(L, E.prototype) + return L + } + } + return _construct.apply(null, arguments) + } + function _isNativeReflectConstruct() { + if (typeof Reflect === 'undefined' || !Reflect.construct) return false + if (Reflect.construct.sham) return false + if (typeof Proxy === 'function') return true + try { + Boolean.prototype.valueOf.call( + Reflect.construct(Boolean, [], function () {}) + ) + return true + } catch (k) { + return false + } + } + function _isNativeFunction(k) { + return Function.toString.call(k).indexOf('[native code]') !== -1 + } + function _setPrototypeOf(k, v) { + _setPrototypeOf = + Object.setPrototypeOf || + function _setPrototypeOf(k, v) { + k.__proto__ = v + return k + } + return _setPrototypeOf(k, v) + } + function _getPrototypeOf(k) { + _getPrototypeOf = Object.setPrototypeOf + ? Object.getPrototypeOf + : function _getPrototypeOf(k) { + return k.__proto__ || Object.getPrototypeOf(k) + } + return _getPrototypeOf(k) + } + var L = (function (k) { + _inherits(OptimizerError, k) + var v = _createSuper(OptimizerError) + function OptimizerError(k, E) { + var P + _classCallCheck(this, OptimizerError) + P = v.call(this, 'Error while optimizing: ' + k + ': ' + E.message) + P.stack = E.stack + return P + } + return OptimizerError + })(_wrapNativeSuper(Error)) + var N = { ignoreCodeSection: true, ignoreDataSection: true } + function shrinkPaddedLEB128(k) { + try { + var v = (0, P.decode)(k.buffer, N) + return (0, R.shrinkPaddedLEB128)(v, k) + } catch (k) { + throw new L('shrinkPaddedLEB128', k) + } + } + }, + 48776: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.shrinkPaddedLEB128 = shrinkPaddedLEB128 + var P = E(26333) + var R = E(49212) + var L = E(97521) + function shiftFollowingSections(k, v, E) { + var R = v.section + var L = false + ;(0, P.traverse)(k, { + SectionMetadata: function SectionMetadata(v) { + if (v.node.section === R) { + L = true + return + } + if (L === true) { + ;(0, P.shiftSection)(k, v.node, E) + } + }, + }) + } + function shrinkPaddedLEB128(k, v) { + ;(0, P.traverse)(k, { + SectionMetadata: function SectionMetadata(E) { + var P = E.node + { + var N = (0, R.encodeU32)(P.size.value) + var q = N.length + var ae = P.size.loc.start.column + var le = P.size.loc.end.column + var pe = le - ae + if (q !== pe) { + var me = pe - q + v = (0, L.overrideBytesInBuffer)(v, ae, le, N) + shiftFollowingSections(k, P, -me) + } + } + }, + }) + return v + } + }, + 63380: function (k, v, E) { + 'use strict' + function _typeof(k) { + '@babel/helpers - typeof' + if ( + typeof Symbol === 'function' && + typeof Symbol.iterator === 'symbol' + ) { + _typeof = function _typeof(k) { + return typeof k + } + } else { + _typeof = function _typeof(k) { + return k && + typeof Symbol === 'function' && + k.constructor === Symbol && + k !== Symbol.prototype + ? 'symbol' + : typeof k + } + } + return _typeof(k) + } + Object.defineProperty(v, '__esModule', { value: true }) + v.decode = decode + var P = E(28513) + var R = _interopRequireWildcard(E(77622)) + var L = _interopRequireWildcard(E(34114)) + var N = _interopRequireWildcard(E(26333)) + var q = E(54307) + var ae = _interopRequireDefault(E(94545)) + function _interopRequireDefault(k) { + return k && k.__esModule ? k : { default: k } + } + function _getRequireWildcardCache(k) { + if (typeof WeakMap !== 'function') return null + var v = new WeakMap() + var E = new WeakMap() + return (_getRequireWildcardCache = function _getRequireWildcardCache( + k + ) { + return k ? E : v + })(k) + } + function _interopRequireWildcard(k, v) { + if (!v && k && k.__esModule) { + return k + } + if ( + k === null || + (_typeof(k) !== 'object' && typeof k !== 'function') + ) { + return { default: k } + } + var E = _getRequireWildcardCache(v) + if (E && E.has(k)) { + return E.get(k) + } + var P = {} + var R = Object.defineProperty && Object.getOwnPropertyDescriptor + for (var L in k) { + if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { + var N = R ? Object.getOwnPropertyDescriptor(k, L) : null + if (N && (N.get || N.set)) { + Object.defineProperty(P, L, N) + } else { + P[L] = k[L] + } + } + } + P['default'] = k + if (E) { + E.set(k, P) + } + return P + } + function _toConsumableArray(k) { + return ( + _arrayWithoutHoles(k) || + _iterableToArray(k) || + _unsupportedIterableToArray(k) || + _nonIterableSpread() + ) + } + function _nonIterableSpread() { + throw new TypeError( + 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' + ) + } + function _unsupportedIterableToArray(k, v) { + if (!k) return + if (typeof k === 'string') return _arrayLikeToArray(k, v) + var E = Object.prototype.toString.call(k).slice(8, -1) + if (E === 'Object' && k.constructor) E = k.constructor.name + if (E === 'Map' || E === 'Set') return Array.from(k) + if ( + E === 'Arguments' || + /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) + ) + return _arrayLikeToArray(k, v) + } + function _iterableToArray(k) { + if ( + (typeof Symbol !== 'undefined' && k[Symbol.iterator] != null) || + k['@@iterator'] != null + ) + return Array.from(k) + } + function _arrayWithoutHoles(k) { + if (Array.isArray(k)) return _arrayLikeToArray(k) + } + function _arrayLikeToArray(k, v) { + if (v == null || v > k.length) v = k.length + for (var E = 0, P = new Array(v); E < v; E++) { + P[E] = k[E] + } + return P + } + function toHex(k) { + return '0x' + Number(k).toString(16) + } + function byteArrayEq(k, v) { + if (k.length !== v.length) { + return false + } + for (var E = 0; E < k.length; E++) { + if (k[E] !== v[E]) { + return false + } + } + return true + } + function decode(k, v) { + var E = new Uint8Array(k) + var le = N.getUniqueNameGenerator() + var pe = 0 + function getPosition() { + return { line: -1, column: pe } + } + function dump(k, E) { + if (v.dump === false) return + var P = '\t\t\t\t\t\t\t\t\t\t' + var R = '' + if (k.length < 5) { + R = k.map(toHex).join(' ') + } else { + R = '...' + } + console.log(toHex(pe) + ':\t', R, P, ';', E) + } + function dumpSep(k) { + if (v.dump === false) return + console.log(';', k) + } + var me = { + elementsInFuncSection: [], + elementsInExportSection: [], + elementsInCodeSection: [], + memoriesInModule: [], + typesInModule: [], + functionsInModule: [], + tablesInModule: [], + globalsInModule: [], + } + function isEOF() { + return pe >= E.length + } + function eatBytes(k) { + pe = pe + k + } + function readBytesAtOffset(k, v) { + var P = [] + for (var R = 0; R < v; R++) { + P.push(E[k + R]) + } + return P + } + function readBytes(k) { + return readBytesAtOffset(pe, k) + } + function readF64() { + var k = readBytes(R.NUMBER_OF_BYTE_F64) + var v = R.decodeF64(k) + if (Math.sign(v) * v === Infinity) { + return { + value: Math.sign(v), + inf: true, + nextIndex: R.NUMBER_OF_BYTE_F64, + } + } + if (isNaN(v)) { + var E = k[k.length - 1] >> 7 ? -1 : 1 + var P = 0 + for (var L = 0; L < k.length - 2; ++L) { + P += k[L] * Math.pow(256, L) + } + P += (k[k.length - 2] % 16) * Math.pow(256, k.length - 2) + return { value: E * P, nan: true, nextIndex: R.NUMBER_OF_BYTE_F64 } + } + return { value: v, nextIndex: R.NUMBER_OF_BYTE_F64 } + } + function readF32() { + var k = readBytes(R.NUMBER_OF_BYTE_F32) + var v = R.decodeF32(k) + if (Math.sign(v) * v === Infinity) { + return { + value: Math.sign(v), + inf: true, + nextIndex: R.NUMBER_OF_BYTE_F32, + } + } + if (isNaN(v)) { + var E = k[k.length - 1] >> 7 ? -1 : 1 + var P = 0 + for (var L = 0; L < k.length - 2; ++L) { + P += k[L] * Math.pow(256, L) + } + P += (k[k.length - 2] % 128) * Math.pow(256, k.length - 2) + return { value: E * P, nan: true, nextIndex: R.NUMBER_OF_BYTE_F32 } + } + return { value: v, nextIndex: R.NUMBER_OF_BYTE_F32 } + } + function readUTF8String() { + var k = readU32() + var v = k.value + dump([v], 'string length') + var E = readBytesAtOffset(pe + k.nextIndex, v) + var P = L.decode(E) + return { value: P, nextIndex: v + k.nextIndex } + } + function readU32() { + var k = readBytes(q.MAX_NUMBER_OF_BYTE_U32) + var v = Buffer.from(k) + return (0, q.decodeUInt32)(v) + } + function readVaruint32() { + var k = readBytes(4) + var v = Buffer.from(k) + return (0, q.decodeUInt32)(v) + } + function readVaruint7() { + var k = readBytes(1) + var v = Buffer.from(k) + return (0, q.decodeUInt32)(v) + } + function read32() { + var k = readBytes(q.MAX_NUMBER_OF_BYTE_U32) + var v = Buffer.from(k) + return (0, q.decodeInt32)(v) + } + function read64() { + var k = readBytes(q.MAX_NUMBER_OF_BYTE_U64) + var v = Buffer.from(k) + return (0, q.decodeInt64)(v) + } + function readU64() { + var k = readBytes(q.MAX_NUMBER_OF_BYTE_U64) + var v = Buffer.from(k) + return (0, q.decodeUInt64)(v) + } + function readByte() { + return readBytes(1)[0] + } + function parseModuleHeader() { + if (isEOF() === true || pe + 4 > E.length) { + throw new Error('unexpected end') + } + var k = readBytes(4) + if (byteArrayEq(ae['default'].magicModuleHeader, k) === false) { + throw new P.CompileError('magic header not detected') + } + dump(k, 'wasm magic header') + eatBytes(4) + } + function parseVersion() { + if (isEOF() === true || pe + 4 > E.length) { + throw new Error('unexpected end') + } + var k = readBytes(4) + if (byteArrayEq(ae['default'].moduleVersion, k) === false) { + throw new P.CompileError('unknown binary version') + } + dump(k, 'wasm version') + eatBytes(4) + } + function parseVec(k) { + var v = readU32() + var E = v.value + eatBytes(v.nextIndex) + dump([E], 'number') + if (E === 0) { + return [] + } + var R = [] + for (var L = 0; L < E; L++) { + var N = readByte() + eatBytes(1) + var q = k(N) + dump([N], q) + if (typeof q === 'undefined') { + throw new P.CompileError( + 'Internal failure: parseVec could not cast the value' + ) + } + R.push(q) + } + return R + } + function parseTypeSection(k) { + var v = [] + dump([k], 'num types') + for (var E = 0; E < k; E++) { + var P = getPosition() + dumpSep('type ' + E) + var R = readByte() + eatBytes(1) + if (R == ae['default'].types.func) { + dump([R], 'func') + var L = parseVec(function (k) { + return ae['default'].valtypes[k] + }) + var q = L.map(function (k) { + return N.funcParam(k) + }) + var le = parseVec(function (k) { + return ae['default'].valtypes[k] + }) + v.push( + (function () { + var k = getPosition() + return N.withLoc( + N.typeInstruction(undefined, N.signature(q, le)), + k, + P + ) + })() + ) + me.typesInModule.push({ params: q, result: le }) + } else { + throw new Error('Unsupported type: ' + toHex(R)) + } + } + return v + } + function parseImportSection(k) { + var v = [] + for (var E = 0; E < k; E++) { + dumpSep('import header ' + E) + var R = getPosition() + var L = readUTF8String() + eatBytes(L.nextIndex) + dump([], 'module name ('.concat(L.value, ')')) + var q = readUTF8String() + eatBytes(q.nextIndex) + dump([], 'name ('.concat(q.value, ')')) + var pe = readByte() + eatBytes(1) + var ye = ae['default'].importTypes[pe] + dump([pe], 'import kind') + if (typeof ye === 'undefined') { + throw new P.CompileError( + 'Unknown import description type: ' + toHex(pe) + ) + } + var _e = void 0 + if (ye === 'func') { + var Ie = readU32() + var Me = Ie.value + eatBytes(Ie.nextIndex) + dump([Me], 'type index') + var Te = me.typesInModule[Me] + if (typeof Te === 'undefined') { + throw new P.CompileError( + 'function signature not found ('.concat(Me, ')') + ) + } + var je = le('func') + _e = N.funcImportDescr(je, N.signature(Te.params, Te.result)) + me.functionsInModule.push({ + id: N.identifier(q.value), + signature: Te, + isExternal: true, + }) + } else if (ye === 'global') { + _e = parseGlobalType() + var Ne = N.global(_e, []) + me.globalsInModule.push(Ne) + } else if (ye === 'table') { + _e = parseTableType(E) + } else if (ye === 'memory') { + var Be = parseMemoryType(0) + me.memoriesInModule.push(Be) + _e = Be + } else { + throw new P.CompileError('Unsupported import of type: ' + ye) + } + v.push( + (function () { + var k = getPosition() + return N.withLoc(N.moduleImport(L.value, q.value, _e), k, R) + })() + ) + } + return v + } + function parseFuncSection(k) { + dump([k], 'num funcs') + for (var v = 0; v < k; v++) { + var E = readU32() + var R = E.value + eatBytes(E.nextIndex) + dump([R], 'type index') + var L = me.typesInModule[R] + if (typeof L === 'undefined') { + throw new P.CompileError( + 'function signature not found ('.concat(R, ')') + ) + } + var q = N.withRaw(N.identifier(le('func')), '') + me.functionsInModule.push({ + id: q, + signature: L, + isExternal: false, + }) + } + } + function parseExportSection(k) { + dump([k], 'num exports') + for (var v = 0; v < k; v++) { + var E = getPosition() + var R = readUTF8String() + eatBytes(R.nextIndex) + dump([], 'export name ('.concat(R.value, ')')) + var L = readByte() + eatBytes(1) + dump([L], 'export kind') + var q = readU32() + var le = q.value + eatBytes(q.nextIndex) + dump([le], 'export index') + var pe = void 0, + ye = void 0 + if (ae['default'].exportTypes[L] === 'Func') { + var _e = me.functionsInModule[le] + if (typeof _e === 'undefined') { + throw new P.CompileError('unknown function ('.concat(le, ')')) + } + pe = N.numberLiteralFromRaw(le, String(le)) + ye = _e.signature + } else if (ae['default'].exportTypes[L] === 'Table') { + var Ie = me.tablesInModule[le] + if (typeof Ie === 'undefined') { + throw new P.CompileError('unknown table '.concat(le)) + } + pe = N.numberLiteralFromRaw(le, String(le)) + ye = null + } else if (ae['default'].exportTypes[L] === 'Memory') { + var Me = me.memoriesInModule[le] + if (typeof Me === 'undefined') { + throw new P.CompileError('unknown memory '.concat(le)) + } + pe = N.numberLiteralFromRaw(le, String(le)) + ye = null + } else if (ae['default'].exportTypes[L] === 'Global') { + var Te = me.globalsInModule[le] + if (typeof Te === 'undefined') { + throw new P.CompileError('unknown global '.concat(le)) + } + pe = N.numberLiteralFromRaw(le, String(le)) + ye = null + } else { + console.warn('Unsupported export type: ' + toHex(L)) + return + } + var je = getPosition() + me.elementsInExportSection.push({ + name: R.value, + type: ae['default'].exportTypes[L], + signature: ye, + id: pe, + index: le, + endLoc: je, + startLoc: E, + }) + } + } + function parseCodeSection(k) { + dump([k], 'number functions') + for (var v = 0; v < k; v++) { + var E = getPosition() + dumpSep('function body ' + v) + var R = readU32() + eatBytes(R.nextIndex) + dump([R.value], 'function body size') + var L = [] + var q = readU32() + var le = q.value + eatBytes(q.nextIndex) + dump([le], 'num locals') + var pe = [] + for (var ye = 0; ye < le; ye++) { + var _e = getPosition() + var Ie = readU32() + var Me = Ie.value + eatBytes(Ie.nextIndex) + dump([Me], 'num local') + var Te = readByte() + eatBytes(1) + var je = ae['default'].valtypes[Te] + var Ne = [] + for (var Be = 0; Be < Me; Be++) { + Ne.push(N.valtypeLiteral(je)) + } + var qe = (function () { + var k = getPosition() + return N.withLoc(N.instruction('local', Ne), k, _e) + })() + pe.push(qe) + dump([Te], je) + if (typeof je === 'undefined') { + throw new P.CompileError('Unexpected valtype: ' + toHex(Te)) + } + } + L.push.apply(L, pe) + parseInstructionBlock(L) + var Ue = getPosition() + me.elementsInCodeSection.push({ + code: L, + locals: pe, + endLoc: Ue, + startLoc: E, + bodySize: R.value, + }) + } + } + function parseInstructionBlock(k) { + while (true) { + var v = getPosition() + var E = false + var R = readByte() + eatBytes(1) + if (R === 254) { + R = 65024 + readByte() + eatBytes(1) + } + var L = ae['default'].symbolsByByte[R] + if (typeof L === 'undefined') { + throw new P.CompileError('Unexpected instruction: ' + toHex(R)) + } + if (typeof L.object === 'string') { + dump([R], ''.concat(L.object, '.').concat(L.name)) + } else { + dump([R], L.name) + } + if (L.name === 'end') { + var q = (function () { + var k = getPosition() + return N.withLoc(N.instruction(L.name), k, v) + })() + k.push(q) + break + } + var pe = [] + var ye = void 0 + if (L.name === 'loop') { + var _e = getPosition() + var Ie = readByte() + eatBytes(1) + var Me = ae['default'].blockTypes[Ie] + dump([Ie], 'blocktype') + if (typeof Me === 'undefined') { + throw new P.CompileError('Unexpected blocktype: ' + toHex(Ie)) + } + var Te = [] + parseInstructionBlock(Te) + var je = N.withRaw(N.identifier(le('loop')), '') + var Ne = (function () { + var k = getPosition() + return N.withLoc(N.loopInstruction(je, Me, Te), k, _e) + })() + k.push(Ne) + E = true + } else if (L.name === 'if') { + var Be = getPosition() + var qe = readByte() + eatBytes(1) + var Ue = ae['default'].blockTypes[qe] + dump([qe], 'blocktype') + if (typeof Ue === 'undefined') { + throw new P.CompileError('Unexpected blocktype: ' + toHex(qe)) + } + var Ge = N.withRaw(N.identifier(le('if')), '') + var He = [] + parseInstructionBlock(He) + var We = 0 + for (We = 0; We < He.length; ++We) { + var Qe = He[We] + if (Qe.type === 'Instr' && Qe.id === 'else') { + break + } + } + var Je = He.slice(0, We) + var Ve = He.slice(We + 1) + var Ke = [] + var Ye = (function () { + var k = getPosition() + return N.withLoc(N.ifInstruction(Ge, Ke, Ue, Je, Ve), k, Be) + })() + k.push(Ye) + E = true + } else if (L.name === 'block') { + var Xe = getPosition() + var Ze = readByte() + eatBytes(1) + var et = ae['default'].blockTypes[Ze] + dump([Ze], 'blocktype') + if (typeof et === 'undefined') { + throw new P.CompileError('Unexpected blocktype: ' + toHex(Ze)) + } + var tt = [] + parseInstructionBlock(tt) + var nt = N.withRaw(N.identifier(le('block')), '') + var st = (function () { + var k = getPosition() + return N.withLoc(N.blockInstruction(nt, tt, et), k, Xe) + })() + k.push(st) + E = true + } else if (L.name === 'call') { + var rt = readU32() + var ot = rt.value + eatBytes(rt.nextIndex) + dump([ot], 'index') + var it = (function () { + var k = getPosition() + return N.withLoc(N.callInstruction(N.indexLiteral(ot)), k, v) + })() + k.push(it) + E = true + } else if (L.name === 'call_indirect') { + var at = getPosition() + var ct = readU32() + var lt = ct.value + eatBytes(ct.nextIndex) + dump([lt], 'type index') + var ut = me.typesInModule[lt] + if (typeof ut === 'undefined') { + throw new P.CompileError( + 'call_indirect signature not found ('.concat(lt, ')') + ) + } + var pt = N.callIndirectInstruction( + N.signature(ut.params, ut.result), + [] + ) + var dt = readU32() + var ft = dt.value + eatBytes(dt.nextIndex) + if (ft !== 0) { + throw new P.CompileError('zero flag expected') + } + k.push( + (function () { + var k = getPosition() + return N.withLoc(pt, k, at) + })() + ) + E = true + } else if (L.name === 'br_table') { + var ht = readU32() + var mt = ht.value + eatBytes(ht.nextIndex) + dump([mt], 'num indices') + for (var gt = 0; gt <= mt; gt++) { + var yt = readU32() + var bt = yt.value + eatBytes(yt.nextIndex) + dump([bt], 'index') + pe.push(N.numberLiteralFromRaw(yt.value.toString(), 'u32')) + } + } else if (R >= 40 && R <= 64) { + if (L.name === 'grow_memory' || L.name === 'current_memory') { + var xt = readU32() + var kt = xt.value + eatBytes(xt.nextIndex) + if (kt !== 0) { + throw new Error('zero flag expected') + } + dump([kt], 'index') + } else { + var vt = readU32() + var wt = vt.value + eatBytes(vt.nextIndex) + dump([wt], 'align') + var At = readU32() + var Et = At.value + eatBytes(At.nextIndex) + dump([Et], 'offset') + if (ye === undefined) ye = {} + ye.offset = N.numberLiteralFromRaw(Et) + } + } else if (R >= 65 && R <= 68) { + if (L.object === 'i32') { + var Ct = read32() + var St = Ct.value + eatBytes(Ct.nextIndex) + dump([St], 'i32 value') + pe.push(N.numberLiteralFromRaw(St)) + } + if (L.object === 'u32') { + var _t = readU32() + var It = _t.value + eatBytes(_t.nextIndex) + dump([It], 'u32 value') + pe.push(N.numberLiteralFromRaw(It)) + } + if (L.object === 'i64') { + var Mt = read64() + var Pt = Mt.value + eatBytes(Mt.nextIndex) + dump([Number(Pt.toString())], 'i64 value') + var Ot = Pt.high, + Dt = Pt.low + var Rt = { + type: 'LongNumberLiteral', + value: { high: Ot, low: Dt }, + } + pe.push(Rt) + } + if (L.object === 'u64') { + var Tt = readU64() + var $t = Tt.value + eatBytes(Tt.nextIndex) + dump([Number($t.toString())], 'u64 value') + var Ft = $t.high, + jt = $t.low + var Lt = { + type: 'LongNumberLiteral', + value: { high: Ft, low: jt }, + } + pe.push(Lt) + } + if (L.object === 'f32') { + var Nt = readF32() + var Bt = Nt.value + eatBytes(Nt.nextIndex) + dump([Bt], 'f32 value') + pe.push(N.floatLiteral(Bt, Nt.nan, Nt.inf, String(Bt))) + } + if (L.object === 'f64') { + var qt = readF64() + var zt = qt.value + eatBytes(qt.nextIndex) + dump([zt], 'f64 value') + pe.push(N.floatLiteral(zt, qt.nan, qt.inf, String(zt))) + } + } else if (R >= 65024 && R <= 65279) { + var Ut = readU32() + var Gt = Ut.value + eatBytes(Ut.nextIndex) + dump([Gt], 'align') + var Ht = readU32() + var Wt = Ht.value + eatBytes(Ht.nextIndex) + dump([Wt], 'offset') + } else { + for (var Qt = 0; Qt < L.numberOfArgs; Qt++) { + var Jt = readU32() + eatBytes(Jt.nextIndex) + dump([Jt.value], 'argument ' + Qt) + pe.push(N.numberLiteralFromRaw(Jt.value)) + } + } + if (E === false) { + if (typeof L.object === 'string') { + var Vt = (function () { + var k = getPosition() + return N.withLoc( + N.objectInstruction(L.name, L.object, pe, ye), + k, + v + ) + })() + k.push(Vt) + } else { + var Kt = (function () { + var k = getPosition() + return N.withLoc(N.instruction(L.name, pe, ye), k, v) + })() + k.push(Kt) + } + } + } + } + function parseLimits() { + var k = readByte() + eatBytes(1) + var v = k === 3 + dump([k], 'limit type' + (v ? ' (shared)' : '')) + var E, P + if (k === 1 || k === 3) { + var R = readU32() + E = parseInt(R.value) + eatBytes(R.nextIndex) + dump([E], 'min') + var L = readU32() + P = parseInt(L.value) + eatBytes(L.nextIndex) + dump([P], 'max') + } + if (k === 0) { + var q = readU32() + E = parseInt(q.value) + eatBytes(q.nextIndex) + dump([E], 'min') + } + return N.limit(E, P, v) + } + function parseTableType(k) { + var v = N.withRaw(N.identifier(le('table')), String(k)) + var E = readByte() + eatBytes(1) + dump([E], 'element type') + var R = ae['default'].tableTypes[E] + if (typeof R === 'undefined') { + throw new P.CompileError( + 'Unknown element type in table: ' + toHex(R) + ) + } + var L = parseLimits() + return N.table(R, L, v) + } + function parseGlobalType() { + var k = readByte() + eatBytes(1) + var v = ae['default'].valtypes[k] + dump([k], v) + if (typeof v === 'undefined') { + throw new P.CompileError('Unknown valtype: ' + toHex(k)) + } + var E = readByte() + eatBytes(1) + var R = ae['default'].globalTypes[E] + dump([E], 'global type ('.concat(R, ')')) + if (typeof R === 'undefined') { + throw new P.CompileError('Invalid mutability: ' + toHex(E)) + } + return N.globalType(v, R) + } + function parseNameSectionFunctions() { + var k = [] + var v = readU32() + var E = v.value + eatBytes(v.nextIndex) + for (var P = 0; P < E; P++) { + var R = readU32() + var L = R.value + eatBytes(R.nextIndex) + var q = readUTF8String() + eatBytes(q.nextIndex) + k.push(N.functionNameMetadata(q.value, L)) + } + return k + } + function parseNameSectionLocals() { + var k = [] + var v = readU32() + var E = v.value + eatBytes(v.nextIndex) + for (var P = 0; P < E; P++) { + var R = readU32() + var L = R.value + eatBytes(R.nextIndex) + var q = readU32() + var ae = q.value + eatBytes(q.nextIndex) + for (var le = 0; le < ae; le++) { + var pe = readU32() + var me = pe.value + eatBytes(pe.nextIndex) + var ye = readUTF8String() + eatBytes(ye.nextIndex) + k.push(N.localNameMetadata(ye.value, me, L)) + } + } + return k + } + function parseNameSection(k) { + var v = [] + var E = pe + while (pe - E < k) { + var P = readVaruint7() + eatBytes(P.nextIndex) + var R = readVaruint32() + eatBytes(R.nextIndex) + switch (P.value) { + case 1: { + v.push.apply(v, _toConsumableArray(parseNameSectionFunctions())) + break + } + case 2: { + v.push.apply(v, _toConsumableArray(parseNameSectionLocals())) + break + } + default: { + eatBytes(R.value) + } + } + } + return v + } + function parseProducersSection() { + var k = N.producersSectionMetadata([]) + var v = readVaruint32() + eatBytes(v.nextIndex) + dump([v.value], 'num of producers') + var E = { language: [], 'processed-by': [], sdk: [] } + for (var P = 0; P < v.value; P++) { + var R = readUTF8String() + eatBytes(R.nextIndex) + var L = readVaruint32() + eatBytes(L.nextIndex) + for (var q = 0; q < L.value; q++) { + var ae = readUTF8String() + eatBytes(ae.nextIndex) + var le = readUTF8String() + eatBytes(le.nextIndex) + E[R.value].push( + N.producerMetadataVersionedName(ae.value, le.value) + ) + } + k.producers.push(E[R.value]) + } + return k + } + function parseGlobalSection(k) { + var v = [] + dump([k], 'num globals') + for (var E = 0; E < k; E++) { + var P = getPosition() + var R = parseGlobalType() + var L = [] + parseInstructionBlock(L) + var q = (function () { + var k = getPosition() + return N.withLoc(N.global(R, L), k, P) + })() + v.push(q) + me.globalsInModule.push(q) + } + return v + } + function parseElemSection(k) { + var v = [] + dump([k], 'num elements') + for (var E = 0; E < k; E++) { + var P = getPosition() + var R = readU32() + var L = R.value + eatBytes(R.nextIndex) + dump([L], 'table index') + var q = [] + parseInstructionBlock(q) + var ae = readU32() + var le = ae.value + eatBytes(ae.nextIndex) + dump([le], 'num indices') + var pe = [] + for (var me = 0; me < le; me++) { + var ye = readU32() + var _e = ye.value + eatBytes(ye.nextIndex) + dump([_e], 'index') + pe.push(N.indexLiteral(_e)) + } + var Ie = (function () { + var k = getPosition() + return N.withLoc(N.elem(N.indexLiteral(L), q, pe), k, P) + })() + v.push(Ie) + } + return v + } + function parseMemoryType(k) { + var v = parseLimits() + return N.memory(v, N.indexLiteral(k)) + } + function parseTableSection(k) { + var v = [] + dump([k], 'num elements') + for (var E = 0; E < k; E++) { + var P = parseTableType(E) + me.tablesInModule.push(P) + v.push(P) + } + return v + } + function parseMemorySection(k) { + var v = [] + dump([k], 'num elements') + for (var E = 0; E < k; E++) { + var P = parseMemoryType(E) + me.memoriesInModule.push(P) + v.push(P) + } + return v + } + function parseStartSection() { + var k = getPosition() + var v = readU32() + var E = v.value + eatBytes(v.nextIndex) + dump([E], 'index') + return (function () { + var v = getPosition() + return N.withLoc(N.start(N.indexLiteral(E)), v, k) + })() + } + function parseDataSection(k) { + var v = [] + dump([k], 'num elements') + for (var E = 0; E < k; E++) { + var R = readU32() + var L = R.value + eatBytes(R.nextIndex) + dump([L], 'memory index') + var q = [] + parseInstructionBlock(q) + var ae = + q.filter(function (k) { + return k.id !== 'end' + }).length !== 1 + if (ae) { + throw new P.CompileError( + 'data section offset must be a single instruction' + ) + } + var le = parseVec(function (k) { + return k + }) + dump([], 'init') + v.push(N.data(N.memIndexLiteral(L), q[0], N.byteArray(le))) + } + return v + } + function parseSection(k) { + var E = readByte() + eatBytes(1) + if (E >= k || k === ae['default'].sections.custom) { + k = E + 1 + } else { + if (E !== ae['default'].sections.custom) + throw new P.CompileError('Unexpected section: ' + toHex(E)) + } + var R = k + var L = pe + var q = getPosition() + var le = readU32() + var me = le.value + eatBytes(le.nextIndex) + var ye = (function () { + var k = getPosition() + return N.withLoc(N.numberLiteralFromRaw(me), k, q) + })() + switch (E) { + case ae['default'].sections.type: { + dumpSep('section Type') + dump([E], 'section code') + dump([me], 'section size') + var _e = getPosition() + var Ie = readU32() + var Me = Ie.value + eatBytes(Ie.nextIndex) + var Te = N.sectionMetadata( + 'type', + L, + ye, + (function () { + var k = getPosition() + return N.withLoc(N.numberLiteralFromRaw(Me), k, _e) + })() + ) + var je = parseTypeSection(Me) + return { nodes: je, metadata: Te, nextSectionIndex: R } + } + case ae['default'].sections.table: { + dumpSep('section Table') + dump([E], 'section code') + dump([me], 'section size') + var Ne = getPosition() + var Be = readU32() + var qe = Be.value + eatBytes(Be.nextIndex) + dump([qe], 'num tables') + var Ue = N.sectionMetadata( + 'table', + L, + ye, + (function () { + var k = getPosition() + return N.withLoc(N.numberLiteralFromRaw(qe), k, Ne) + })() + ) + var Ge = parseTableSection(qe) + return { nodes: Ge, metadata: Ue, nextSectionIndex: R } + } + case ae['default'].sections['import']: { + dumpSep('section Import') + dump([E], 'section code') + dump([me], 'section size') + var He = getPosition() + var We = readU32() + var Qe = We.value + eatBytes(We.nextIndex) + dump([Qe], 'number of imports') + var Je = N.sectionMetadata( + 'import', + L, + ye, + (function () { + var k = getPosition() + return N.withLoc(N.numberLiteralFromRaw(Qe), k, He) + })() + ) + var Ve = parseImportSection(Qe) + return { nodes: Ve, metadata: Je, nextSectionIndex: R } + } + case ae['default'].sections.func: { + dumpSep('section Function') + dump([E], 'section code') + dump([me], 'section size') + var Ke = getPosition() + var Ye = readU32() + var Xe = Ye.value + eatBytes(Ye.nextIndex) + var Ze = N.sectionMetadata( + 'func', + L, + ye, + (function () { + var k = getPosition() + return N.withLoc(N.numberLiteralFromRaw(Xe), k, Ke) + })() + ) + parseFuncSection(Xe) + var et = [] + return { nodes: et, metadata: Ze, nextSectionIndex: R } + } + case ae['default'].sections['export']: { + dumpSep('section Export') + dump([E], 'section code') + dump([me], 'section size') + var tt = getPosition() + var nt = readU32() + var st = nt.value + eatBytes(nt.nextIndex) + var rt = N.sectionMetadata( + 'export', + L, + ye, + (function () { + var k = getPosition() + return N.withLoc(N.numberLiteralFromRaw(st), k, tt) + })() + ) + parseExportSection(st) + var ot = [] + return { nodes: ot, metadata: rt, nextSectionIndex: R } + } + case ae['default'].sections.code: { + dumpSep('section Code') + dump([E], 'section code') + dump([me], 'section size') + var it = getPosition() + var at = readU32() + var ct = at.value + eatBytes(at.nextIndex) + var lt = N.sectionMetadata( + 'code', + L, + ye, + (function () { + var k = getPosition() + return N.withLoc(N.numberLiteralFromRaw(ct), k, it) + })() + ) + if (v.ignoreCodeSection === true) { + var ut = me - at.nextIndex + eatBytes(ut) + } else { + parseCodeSection(ct) + } + var pt = [] + return { nodes: pt, metadata: lt, nextSectionIndex: R } + } + case ae['default'].sections.start: { + dumpSep('section Start') + dump([E], 'section code') + dump([me], 'section size') + var dt = N.sectionMetadata('start', L, ye) + var ft = [parseStartSection()] + return { nodes: ft, metadata: dt, nextSectionIndex: R } + } + case ae['default'].sections.element: { + dumpSep('section Element') + dump([E], 'section code') + dump([me], 'section size') + var ht = getPosition() + var mt = readU32() + var gt = mt.value + eatBytes(mt.nextIndex) + var yt = N.sectionMetadata( + 'element', + L, + ye, + (function () { + var k = getPosition() + return N.withLoc(N.numberLiteralFromRaw(gt), k, ht) + })() + ) + var bt = parseElemSection(gt) + return { nodes: bt, metadata: yt, nextSectionIndex: R } + } + case ae['default'].sections.global: { + dumpSep('section Global') + dump([E], 'section code') + dump([me], 'section size') + var xt = getPosition() + var kt = readU32() + var vt = kt.value + eatBytes(kt.nextIndex) + var wt = N.sectionMetadata( + 'global', + L, + ye, + (function () { + var k = getPosition() + return N.withLoc(N.numberLiteralFromRaw(vt), k, xt) + })() + ) + var At = parseGlobalSection(vt) + return { nodes: At, metadata: wt, nextSectionIndex: R } + } + case ae['default'].sections.memory: { + dumpSep('section Memory') + dump([E], 'section code') + dump([me], 'section size') + var Et = getPosition() + var Ct = readU32() + var St = Ct.value + eatBytes(Ct.nextIndex) + var _t = N.sectionMetadata( + 'memory', + L, + ye, + (function () { + var k = getPosition() + return N.withLoc(N.numberLiteralFromRaw(St), k, Et) + })() + ) + var It = parseMemorySection(St) + return { nodes: It, metadata: _t, nextSectionIndex: R } + } + case ae['default'].sections.data: { + dumpSep('section Data') + dump([E], 'section code') + dump([me], 'section size') + var Mt = N.sectionMetadata('data', L, ye) + var Pt = getPosition() + var Ot = readU32() + var Dt = Ot.value + eatBytes(Ot.nextIndex) + Mt.vectorOfSize = (function () { + var k = getPosition() + return N.withLoc(N.numberLiteralFromRaw(Dt), k, Pt) + })() + if (v.ignoreDataSection === true) { + var Rt = me - Ot.nextIndex + eatBytes(Rt) + dumpSep('ignore data (' + me + ' bytes)') + return { nodes: [], metadata: Mt, nextSectionIndex: R } + } else { + var Tt = parseDataSection(Dt) + return { nodes: Tt, metadata: Mt, nextSectionIndex: R } + } + } + case ae['default'].sections.custom: { + dumpSep('section Custom') + dump([E], 'section code') + dump([me], 'section size') + var $t = [N.sectionMetadata('custom', L, ye)] + var Ft = readUTF8String() + eatBytes(Ft.nextIndex) + dump([], 'section name ('.concat(Ft.value, ')')) + var jt = me - Ft.nextIndex + if (Ft.value === 'name') { + var Lt = pe + try { + $t.push.apply($t, _toConsumableArray(parseNameSection(jt))) + } catch (k) { + console.warn( + 'Failed to decode custom "name" section @' + .concat(pe, '; ignoring (') + .concat(k.message, ').') + ) + eatBytes(pe - (Lt + jt)) + } + } else if (Ft.value === 'producers') { + var Nt = pe + try { + $t.push(parseProducersSection()) + } catch (k) { + console.warn( + 'Failed to decode custom "producers" section @' + .concat(pe, '; ignoring (') + .concat(k.message, ').') + ) + eatBytes(pe - (Nt + jt)) + } + } else { + eatBytes(jt) + dumpSep( + 'ignore custom ' + + JSON.stringify(Ft.value) + + ' section (' + + jt + + ' bytes)' + ) + } + return { nodes: [], metadata: $t, nextSectionIndex: R } + } + } + if (v.errorOnUnknownSection) { + throw new P.CompileError('Unexpected section: ' + toHex(E)) + } else { + dumpSep('section ' + toHex(E)) + dump([E], 'section code') + dump([me], 'section size') + eatBytes(me) + dumpSep('ignoring (' + me + ' bytes)') + return { nodes: [], metadata: [], nextSectionIndex: 0 } + } + } + parseModuleHeader() + parseVersion() + var ye = [] + var _e = 0 + var Ie = { + sections: [], + functionNames: [], + localNames: [], + producers: [], + } + while (pe < E.length) { + var Me = parseSection(_e), + Te = Me.nodes, + je = Me.metadata, + Ne = Me.nextSectionIndex + ye.push.apply(ye, _toConsumableArray(Te)) + var Be = Array.isArray(je) ? je : [je] + Be.forEach(function (k) { + if (k.type === 'FunctionNameMetadata') { + Ie.functionNames.push(k) + } else if (k.type === 'LocalNameMetadata') { + Ie.localNames.push(k) + } else if (k.type === 'ProducersSectionMetadata') { + Ie.producers.push(k) + } else { + Ie.sections.push(k) + } + }) + if (Ne) { + _e = Ne + } + } + var qe = 0 + me.functionsInModule.forEach(function (k) { + var E = k.signature.params + var R = k.signature.result + var L = [] + if (k.isExternal === true) { + return + } + var q = me.elementsInCodeSection[qe] + if (v.ignoreCodeSection === false) { + if (typeof q === 'undefined') { + throw new P.CompileError('func ' + toHex(qe) + ' code not found') + } + L = q.code + } + qe++ + var ae = N.func(k.id, N.signature(E, R), L) + if (k.isExternal === true) { + ae.isExternal = k.isExternal + } + if (v.ignoreCodeSection === false) { + var le = q.startLoc, + pe = q.endLoc, + _e = q.bodySize + ae = N.withLoc(ae, pe, le) + ae.metadata = { bodySize: _e } + } + ye.push(ae) + }) + me.elementsInExportSection.forEach(function (k) { + if (k.id != null) { + ye.push( + N.withLoc( + N.moduleExport(k.name, N.moduleExportDescr(k.type, k.id)), + k.endLoc, + k.startLoc + ) + ) + } + }) + dumpSep('end of program') + var Ue = N.module( + null, + ye, + N.moduleMetadata( + Ie.sections, + Ie.functionNames, + Ie.localNames, + Ie.producers + ) + ) + return N.program([Ue]) + } + }, + 57480: function (k, v, E) { + 'use strict' + function _typeof(k) { + '@babel/helpers - typeof' + if ( + typeof Symbol === 'function' && + typeof Symbol.iterator === 'symbol' + ) { + _typeof = function _typeof(k) { + return typeof k + } + } else { + _typeof = function _typeof(k) { + return k && + typeof Symbol === 'function' && + k.constructor === Symbol && + k !== Symbol.prototype + ? 'symbol' + : typeof k + } + } + return _typeof(k) + } + Object.defineProperty(v, '__esModule', { value: true }) + v.decode = decode + var P = _interopRequireWildcard(E(63380)) + var R = _interopRequireWildcard(E(26333)) + function _getRequireWildcardCache(k) { + if (typeof WeakMap !== 'function') return null + var v = new WeakMap() + var E = new WeakMap() + return (_getRequireWildcardCache = function _getRequireWildcardCache( + k + ) { + return k ? E : v + })(k) + } + function _interopRequireWildcard(k, v) { + if (!v && k && k.__esModule) { + return k + } + if ( + k === null || + (_typeof(k) !== 'object' && typeof k !== 'function') + ) { + return { default: k } + } + var E = _getRequireWildcardCache(v) + if (E && E.has(k)) { + return E.get(k) + } + var P = {} + var R = Object.defineProperty && Object.getOwnPropertyDescriptor + for (var L in k) { + if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { + var N = R ? Object.getOwnPropertyDescriptor(k, L) : null + if (N && (N.get || N.set)) { + Object.defineProperty(P, L, N) + } else { + P[L] = k[L] + } + } + } + P['default'] = k + if (E) { + E.set(k, P) + } + return P + } + var L = { + dump: false, + ignoreCodeSection: false, + ignoreDataSection: false, + ignoreCustomNameSection: false, + } + function restoreFunctionNames(k) { + var v = [] + R.traverse(k, { + FunctionNameMetadata: function FunctionNameMetadata(k) { + var E = k.node + v.push({ name: E.value, index: E.index }) + }, + }) + if (v.length === 0) { + return + } + R.traverse(k, { + Func: (function (k) { + function Func(v) { + return k.apply(this, arguments) + } + Func.toString = function () { + return k.toString() + } + return Func + })(function (k) { + var E = k.node + var P = E.name + var R = P.value + var L = Number(R.replace('func_', '')) + var N = v.find(function (k) { + return k.index === L + }) + if (N) { + var q = P.value + P.value = N.name + P.numeric = q + delete P.raw + } + }), + ModuleExport: (function (k) { + function ModuleExport(v) { + return k.apply(this, arguments) + } + ModuleExport.toString = function () { + return k.toString() + } + return ModuleExport + })(function (k) { + var E = k.node + if (E.descr.exportType === 'Func') { + var P = E.descr.id + var L = P.value + var N = v.find(function (k) { + return k.index === L + }) + if (N) { + E.descr.id = R.identifier(N.name) + } + } + }), + ModuleImport: (function (k) { + function ModuleImport(v) { + return k.apply(this, arguments) + } + ModuleImport.toString = function () { + return k.toString() + } + return ModuleImport + })(function (k) { + var E = k.node + if (E.descr.type === 'FuncImportDescr') { + var P = E.descr.id + var L = Number(P.replace('func_', '')) + var N = v.find(function (k) { + return k.index === L + }) + if (N) { + E.descr.id = R.identifier(N.name) + } + } + }), + CallInstruction: (function (k) { + function CallInstruction(v) { + return k.apply(this, arguments) + } + CallInstruction.toString = function () { + return k.toString() + } + return CallInstruction + })(function (k) { + var E = k.node + var P = E.index.value + var L = v.find(function (k) { + return k.index === P + }) + if (L) { + var N = E.index + E.index = R.identifier(L.name) + E.numeric = N + delete E.raw + } + }), + }) + } + function restoreLocalNames(k) { + var v = [] + R.traverse(k, { + LocalNameMetadata: function LocalNameMetadata(k) { + var E = k.node + v.push({ + name: E.value, + localIndex: E.localIndex, + functionIndex: E.functionIndex, + }) + }, + }) + if (v.length === 0) { + return + } + R.traverse(k, { + Func: (function (k) { + function Func(v) { + return k.apply(this, arguments) + } + Func.toString = function () { + return k.toString() + } + return Func + })(function (k) { + var E = k.node + var P = E.signature + if (P.type !== 'Signature') { + return + } + var R = E.name + var L = R.value + var N = Number(L.replace('func_', '')) + P.params.forEach(function (k, E) { + var P = v.find(function (k) { + return k.localIndex === E && k.functionIndex === N + }) + if (P && P.name !== '') { + k.id = P.name + } + }) + }), + }) + } + function restoreModuleName(k) { + R.traverse(k, { + ModuleNameMetadata: (function (k) { + function ModuleNameMetadata(v) { + return k.apply(this, arguments) + } + ModuleNameMetadata.toString = function () { + return k.toString() + } + return ModuleNameMetadata + })(function (v) { + R.traverse(k, { + Module: (function (k) { + function Module(v) { + return k.apply(this, arguments) + } + Module.toString = function () { + return k.toString() + } + return Module + })(function (k) { + var E = k.node + var P = v.node.value + if (P === '') { + P = null + } + E.id = P + }), + }) + }), + }) + } + function decode(k, v) { + var E = Object.assign({}, L, v) + var R = P.decode(k, E) + if (E.ignoreCustomNameSection === false) { + restoreFunctionNames(R) + restoreLocalNames(R) + restoreModuleName(R) + } + return R + } + }, + 62734: function (k, v) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.read = read + v.write = write + function read(k, v, E, P, R) { + var L, N + var q = R * 8 - P - 1 + var ae = (1 << q) - 1 + var le = ae >> 1 + var pe = -7 + var me = E ? R - 1 : 0 + var ye = E ? -1 : 1 + var _e = k[v + me] + me += ye + L = _e & ((1 << -pe) - 1) + _e >>= -pe + pe += q + for (; pe > 0; L = L * 256 + k[v + me], me += ye, pe -= 8) {} + N = L & ((1 << -pe) - 1) + L >>= -pe + pe += P + for (; pe > 0; N = N * 256 + k[v + me], me += ye, pe -= 8) {} + if (L === 0) { + L = 1 - le + } else if (L === ae) { + return N ? NaN : (_e ? -1 : 1) * Infinity + } else { + N = N + Math.pow(2, P) + L = L - le + } + return (_e ? -1 : 1) * N * Math.pow(2, L - P) + } + function write(k, v, E, P, R, L) { + var N, q, ae + var le = L * 8 - R - 1 + var pe = (1 << le) - 1 + var me = pe >> 1 + var ye = R === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0 + var _e = P ? 0 : L - 1 + var Ie = P ? 1 : -1 + var Me = v < 0 || (v === 0 && 1 / v < 0) ? 1 : 0 + v = Math.abs(v) + if (isNaN(v) || v === Infinity) { + q = isNaN(v) ? 1 : 0 + N = pe + } else { + N = Math.floor(Math.log(v) / Math.LN2) + if (v * (ae = Math.pow(2, -N)) < 1) { + N-- + ae *= 2 + } + if (N + me >= 1) { + v += ye / ae + } else { + v += ye * Math.pow(2, 1 - me) + } + if (v * ae >= 2) { + N++ + ae /= 2 + } + if (N + me >= pe) { + q = 0 + N = pe + } else if (N + me >= 1) { + q = (v * ae - 1) * Math.pow(2, R) + N = N + me + } else { + q = v * Math.pow(2, me - 1) * Math.pow(2, R) + N = 0 + } + } + for (; R >= 8; k[E + _e] = q & 255, _e += Ie, q /= 256, R -= 8) {} + N = (N << R) | q + le += R + for (; le > 0; k[E + _e] = N & 255, _e += Ie, N /= 256, le -= 8) {} + k[E + _e - Ie] |= Me * 128 + } + }, + 85249: function (k) { + k.exports = Long + var v = null + try { + v = 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 (k) {} + function Long(k, v, E) { + this.low = k | 0 + this.high = v | 0 + this.unsigned = !!E + } + Long.prototype.__isLong__ + Object.defineProperty(Long.prototype, '__isLong__', { value: true }) + function isLong(k) { + return (k && k['__isLong__']) === true + } + Long.isLong = isLong + var E = {} + var P = {} + function fromInt(k, v) { + var R, L, N + if (v) { + k >>>= 0 + if ((N = 0 <= k && k < 256)) { + L = P[k] + if (L) return L + } + R = fromBits(k, (k | 0) < 0 ? -1 : 0, true) + if (N) P[k] = R + return R + } else { + k |= 0 + if ((N = -128 <= k && k < 128)) { + L = E[k] + if (L) return L + } + R = fromBits(k, k < 0 ? -1 : 0, false) + if (N) E[k] = R + return R + } + } + Long.fromInt = fromInt + function fromNumber(k, v) { + if (isNaN(k)) return v ? ye : me + if (v) { + if (k < 0) return ye + if (k >= ae) return je + } else { + if (k <= -le) return Ne + if (k + 1 >= le) return Te + } + if (k < 0) return fromNumber(-k, v).neg() + return fromBits(k % q | 0, (k / q) | 0, v) + } + Long.fromNumber = fromNumber + function fromBits(k, v, E) { + return new Long(k, v, E) + } + Long.fromBits = fromBits + var R = Math.pow + function fromString(k, v, E) { + if (k.length === 0) throw Error('empty string') + if ( + k === 'NaN' || + k === 'Infinity' || + k === '+Infinity' || + k === '-Infinity' + ) + return me + if (typeof v === 'number') { + ;(E = v), (v = false) + } else { + v = !!v + } + E = E || 10 + if (E < 2 || 36 < E) throw RangeError('radix') + var P + if ((P = k.indexOf('-')) > 0) throw Error('interior hyphen') + else if (P === 0) { + return fromString(k.substring(1), v, E).neg() + } + var L = fromNumber(R(E, 8)) + var N = me + for (var q = 0; q < k.length; q += 8) { + var ae = Math.min(8, k.length - q), + le = parseInt(k.substring(q, q + ae), E) + if (ae < 8) { + var pe = fromNumber(R(E, ae)) + N = N.mul(pe).add(fromNumber(le)) + } else { + N = N.mul(L) + N = N.add(fromNumber(le)) + } + } + N.unsigned = v + return N + } + Long.fromString = fromString + function fromValue(k, v) { + if (typeof k === 'number') return fromNumber(k, v) + if (typeof k === 'string') return fromString(k, v) + return fromBits(k.low, k.high, typeof v === 'boolean' ? v : k.unsigned) + } + Long.fromValue = fromValue + var L = 1 << 16 + var N = 1 << 24 + var q = L * L + var ae = q * q + var le = ae / 2 + var pe = fromInt(N) + var me = fromInt(0) + Long.ZERO = me + var ye = fromInt(0, true) + Long.UZERO = ye + var _e = fromInt(1) + Long.ONE = _e + var Ie = fromInt(1, true) + Long.UONE = Ie + var Me = fromInt(-1) + Long.NEG_ONE = Me + var Te = fromBits(4294967295 | 0, 2147483647 | 0, false) + Long.MAX_VALUE = Te + var je = fromBits(4294967295 | 0, 4294967295 | 0, true) + Long.MAX_UNSIGNED_VALUE = je + var Ne = fromBits(0, 2147483648 | 0, false) + Long.MIN_VALUE = Ne + var Be = Long.prototype + Be.toInt = function toInt() { + return this.unsigned ? this.low >>> 0 : this.low + } + Be.toNumber = function toNumber() { + if (this.unsigned) return (this.high >>> 0) * q + (this.low >>> 0) + return this.high * q + (this.low >>> 0) + } + Be.toString = function toString(k) { + k = k || 10 + if (k < 2 || 36 < k) throw RangeError('radix') + if (this.isZero()) return '0' + if (this.isNegative()) { + if (this.eq(Ne)) { + var v = fromNumber(k), + E = this.div(v), + P = E.mul(v).sub(this) + return E.toString(k) + P.toInt().toString(k) + } else return '-' + this.neg().toString(k) + } + var L = fromNumber(R(k, 6), this.unsigned), + N = this + var q = '' + while (true) { + var ae = N.div(L), + le = N.sub(ae.mul(L)).toInt() >>> 0, + pe = le.toString(k) + N = ae + if (N.isZero()) return pe + q + else { + while (pe.length < 6) pe = '0' + pe + q = '' + pe + q + } + } + } + Be.getHighBits = function getHighBits() { + return this.high + } + Be.getHighBitsUnsigned = function getHighBitsUnsigned() { + return this.high >>> 0 + } + Be.getLowBits = function getLowBits() { + return this.low + } + Be.getLowBitsUnsigned = function getLowBitsUnsigned() { + return this.low >>> 0 + } + Be.getNumBitsAbs = function getNumBitsAbs() { + if (this.isNegative()) + return this.eq(Ne) ? 64 : this.neg().getNumBitsAbs() + var k = this.high != 0 ? this.high : this.low + for (var v = 31; v > 0; v--) if ((k & (1 << v)) != 0) break + return this.high != 0 ? v + 33 : v + 1 + } + Be.isZero = function isZero() { + return this.high === 0 && this.low === 0 + } + Be.eqz = Be.isZero + Be.isNegative = function isNegative() { + return !this.unsigned && this.high < 0 + } + Be.isPositive = function isPositive() { + return this.unsigned || this.high >= 0 + } + Be.isOdd = function isOdd() { + return (this.low & 1) === 1 + } + Be.isEven = function isEven() { + return (this.low & 1) === 0 + } + Be.equals = function equals(k) { + if (!isLong(k)) k = fromValue(k) + if ( + this.unsigned !== k.unsigned && + this.high >>> 31 === 1 && + k.high >>> 31 === 1 + ) + return false + return this.high === k.high && this.low === k.low + } + Be.eq = Be.equals + Be.notEquals = function notEquals(k) { + return !this.eq(k) + } + Be.neq = Be.notEquals + Be.ne = Be.notEquals + Be.lessThan = function lessThan(k) { + return this.comp(k) < 0 + } + Be.lt = Be.lessThan + Be.lessThanOrEqual = function lessThanOrEqual(k) { + return this.comp(k) <= 0 + } + Be.lte = Be.lessThanOrEqual + Be.le = Be.lessThanOrEqual + Be.greaterThan = function greaterThan(k) { + return this.comp(k) > 0 + } + Be.gt = Be.greaterThan + Be.greaterThanOrEqual = function greaterThanOrEqual(k) { + return this.comp(k) >= 0 + } + Be.gte = Be.greaterThanOrEqual + Be.ge = Be.greaterThanOrEqual + Be.compare = function compare(k) { + if (!isLong(k)) k = fromValue(k) + if (this.eq(k)) return 0 + var v = this.isNegative(), + E = k.isNegative() + if (v && !E) return -1 + if (!v && E) return 1 + if (!this.unsigned) return this.sub(k).isNegative() ? -1 : 1 + return k.high >>> 0 > this.high >>> 0 || + (k.high === this.high && k.low >>> 0 > this.low >>> 0) + ? -1 + : 1 + } + Be.comp = Be.compare + Be.negate = function negate() { + if (!this.unsigned && this.eq(Ne)) return Ne + return this.not().add(_e) + } + Be.neg = Be.negate + Be.add = function add(k) { + if (!isLong(k)) k = fromValue(k) + var v = this.high >>> 16 + var E = this.high & 65535 + var P = this.low >>> 16 + var R = this.low & 65535 + var L = k.high >>> 16 + var N = k.high & 65535 + var q = k.low >>> 16 + var ae = k.low & 65535 + var le = 0, + pe = 0, + me = 0, + ye = 0 + ye += R + ae + me += ye >>> 16 + ye &= 65535 + me += P + q + pe += me >>> 16 + me &= 65535 + pe += E + N + le += pe >>> 16 + pe &= 65535 + le += v + L + le &= 65535 + return fromBits((me << 16) | ye, (le << 16) | pe, this.unsigned) + } + Be.subtract = function subtract(k) { + if (!isLong(k)) k = fromValue(k) + return this.add(k.neg()) + } + Be.sub = Be.subtract + Be.multiply = function multiply(k) { + if (this.isZero()) return me + if (!isLong(k)) k = fromValue(k) + if (v) { + var E = v['mul'](this.low, this.high, k.low, k.high) + return fromBits(E, v['get_high'](), this.unsigned) + } + if (k.isZero()) return me + if (this.eq(Ne)) return k.isOdd() ? Ne : me + if (k.eq(Ne)) return this.isOdd() ? Ne : me + if (this.isNegative()) { + if (k.isNegative()) return this.neg().mul(k.neg()) + else return this.neg().mul(k).neg() + } else if (k.isNegative()) return this.mul(k.neg()).neg() + if (this.lt(pe) && k.lt(pe)) + return fromNumber(this.toNumber() * k.toNumber(), this.unsigned) + var P = this.high >>> 16 + var R = this.high & 65535 + var L = this.low >>> 16 + var N = this.low & 65535 + var q = k.high >>> 16 + var ae = k.high & 65535 + var le = k.low >>> 16 + var ye = k.low & 65535 + var _e = 0, + Ie = 0, + Me = 0, + Te = 0 + Te += N * ye + Me += Te >>> 16 + Te &= 65535 + Me += L * ye + Ie += Me >>> 16 + Me &= 65535 + Me += N * le + Ie += Me >>> 16 + Me &= 65535 + Ie += R * ye + _e += Ie >>> 16 + Ie &= 65535 + Ie += L * le + _e += Ie >>> 16 + Ie &= 65535 + Ie += N * ae + _e += Ie >>> 16 + Ie &= 65535 + _e += P * ye + R * le + L * ae + N * q + _e &= 65535 + return fromBits((Me << 16) | Te, (_e << 16) | Ie, this.unsigned) + } + Be.mul = Be.multiply + Be.divide = function divide(k) { + if (!isLong(k)) k = fromValue(k) + if (k.isZero()) throw Error('division by zero') + if (v) { + if ( + !this.unsigned && + this.high === -2147483648 && + k.low === -1 && + k.high === -1 + ) { + return this + } + var E = (this.unsigned ? v['div_u'] : v['div_s'])( + this.low, + this.high, + k.low, + k.high + ) + return fromBits(E, v['get_high'](), this.unsigned) + } + if (this.isZero()) return this.unsigned ? ye : me + var P, L, N + if (!this.unsigned) { + if (this.eq(Ne)) { + if (k.eq(_e) || k.eq(Me)) return Ne + else if (k.eq(Ne)) return _e + else { + var q = this.shr(1) + P = q.div(k).shl(1) + if (P.eq(me)) { + return k.isNegative() ? _e : Me + } else { + L = this.sub(k.mul(P)) + N = P.add(L.div(k)) + return N + } + } + } else if (k.eq(Ne)) return this.unsigned ? ye : me + if (this.isNegative()) { + if (k.isNegative()) return this.neg().div(k.neg()) + return this.neg().div(k).neg() + } else if (k.isNegative()) return this.div(k.neg()).neg() + N = me + } else { + if (!k.unsigned) k = k.toUnsigned() + if (k.gt(this)) return ye + if (k.gt(this.shru(1))) return Ie + N = ye + } + L = this + while (L.gte(k)) { + P = Math.max(1, Math.floor(L.toNumber() / k.toNumber())) + var ae = Math.ceil(Math.log(P) / Math.LN2), + le = ae <= 48 ? 1 : R(2, ae - 48), + pe = fromNumber(P), + Te = pe.mul(k) + while (Te.isNegative() || Te.gt(L)) { + P -= le + pe = fromNumber(P, this.unsigned) + Te = pe.mul(k) + } + if (pe.isZero()) pe = _e + N = N.add(pe) + L = L.sub(Te) + } + return N + } + Be.div = Be.divide + Be.modulo = function modulo(k) { + if (!isLong(k)) k = fromValue(k) + if (v) { + var E = (this.unsigned ? v['rem_u'] : v['rem_s'])( + this.low, + this.high, + k.low, + k.high + ) + return fromBits(E, v['get_high'](), this.unsigned) + } + return this.sub(this.div(k).mul(k)) + } + Be.mod = Be.modulo + Be.rem = Be.modulo + Be.not = function not() { + return fromBits(~this.low, ~this.high, this.unsigned) + } + Be.and = function and(k) { + if (!isLong(k)) k = fromValue(k) + return fromBits(this.low & k.low, this.high & k.high, this.unsigned) + } + Be.or = function or(k) { + if (!isLong(k)) k = fromValue(k) + return fromBits(this.low | k.low, this.high | k.high, this.unsigned) + } + Be.xor = function xor(k) { + if (!isLong(k)) k = fromValue(k) + return fromBits(this.low ^ k.low, this.high ^ k.high, this.unsigned) + } + Be.shiftLeft = function shiftLeft(k) { + if (isLong(k)) k = k.toInt() + if ((k &= 63) === 0) return this + else if (k < 32) + return fromBits( + this.low << k, + (this.high << k) | (this.low >>> (32 - k)), + this.unsigned + ) + else return fromBits(0, this.low << (k - 32), this.unsigned) + } + Be.shl = Be.shiftLeft + Be.shiftRight = function shiftRight(k) { + if (isLong(k)) k = k.toInt() + if ((k &= 63) === 0) return this + else if (k < 32) + return fromBits( + (this.low >>> k) | (this.high << (32 - k)), + this.high >> k, + this.unsigned + ) + else + return fromBits( + this.high >> (k - 32), + this.high >= 0 ? 0 : -1, + this.unsigned + ) + } + Be.shr = Be.shiftRight + Be.shiftRightUnsigned = function shiftRightUnsigned(k) { + if (isLong(k)) k = k.toInt() + if ((k &= 63) === 0) return this + if (k < 32) + return fromBits( + (this.low >>> k) | (this.high << (32 - k)), + this.high >>> k, + this.unsigned + ) + if (k === 32) return fromBits(this.high, 0, this.unsigned) + return fromBits(this.high >>> (k - 32), 0, this.unsigned) + } + Be.shru = Be.shiftRightUnsigned + Be.shr_u = Be.shiftRightUnsigned + Be.rotateLeft = function rotateLeft(k) { + var v + if (isLong(k)) k = k.toInt() + if ((k &= 63) === 0) return this + if (k === 32) return fromBits(this.high, this.low, this.unsigned) + if (k < 32) { + v = 32 - k + return fromBits( + (this.low << k) | (this.high >>> v), + (this.high << k) | (this.low >>> v), + this.unsigned + ) + } + k -= 32 + v = 32 - k + return fromBits( + (this.high << k) | (this.low >>> v), + (this.low << k) | (this.high >>> v), + this.unsigned + ) + } + Be.rotl = Be.rotateLeft + Be.rotateRight = function rotateRight(k) { + var v + if (isLong(k)) k = k.toInt() + if ((k &= 63) === 0) return this + if (k === 32) return fromBits(this.high, this.low, this.unsigned) + if (k < 32) { + v = 32 - k + return fromBits( + (this.high << v) | (this.low >>> k), + (this.low << v) | (this.high >>> k), + this.unsigned + ) + } + k -= 32 + v = 32 - k + return fromBits( + (this.low << v) | (this.high >>> k), + (this.high << v) | (this.low >>> k), + this.unsigned + ) + } + Be.rotr = Be.rotateRight + Be.toSigned = function toSigned() { + if (!this.unsigned) return this + return fromBits(this.low, this.high, false) + } + Be.toUnsigned = function toUnsigned() { + if (this.unsigned) return this + return fromBits(this.low, this.high, true) + } + Be.toBytes = function toBytes(k) { + return k ? this.toBytesLE() : this.toBytesBE() + } + Be.toBytesLE = function toBytesLE() { + var k = this.high, + v = this.low + return [ + v & 255, + (v >>> 8) & 255, + (v >>> 16) & 255, + v >>> 24, + k & 255, + (k >>> 8) & 255, + (k >>> 16) & 255, + k >>> 24, + ] + } + Be.toBytesBE = function toBytesBE() { + var k = this.high, + v = this.low + return [ + k >>> 24, + (k >>> 16) & 255, + (k >>> 8) & 255, + k & 255, + v >>> 24, + (v >>> 16) & 255, + (v >>> 8) & 255, + v & 255, + ] + } + Long.fromBytes = function fromBytes(k, v, E) { + return E ? Long.fromBytesLE(k, v) : Long.fromBytesBE(k, v) + } + Long.fromBytesLE = function fromBytesLE(k, v) { + return new Long( + k[0] | (k[1] << 8) | (k[2] << 16) | (k[3] << 24), + k[4] | (k[5] << 8) | (k[6] << 16) | (k[7] << 24), + v + ) + } + Long.fromBytesBE = function fromBytesBE(k, v) { + return new Long( + (k[4] << 24) | (k[5] << 16) | (k[6] << 8) | k[7], + (k[0] << 24) | (k[1] << 16) | (k[2] << 8) | k[3], + v + ) + } + }, + 46348: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + v.importAssertions = importAssertions + var P = _interopRequireWildcard(E(31988)) + function _getRequireWildcardCache(k) { + if (typeof WeakMap !== 'function') return null + var v = new WeakMap() + var E = new WeakMap() + return (_getRequireWildcardCache = function (k) { + return k ? E : v + })(k) + } + function _interopRequireWildcard(k, v) { + if (!v && k && k.__esModule) { + return k + } + if (k === null || (typeof k !== 'object' && typeof k !== 'function')) { + return { default: k } + } + var E = _getRequireWildcardCache(v) + if (E && E.has(k)) { + return E.get(k) + } + var P = {} + var R = Object.defineProperty && Object.getOwnPropertyDescriptor + for (var L in k) { + if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { + var N = R ? Object.getOwnPropertyDescriptor(k, L) : null + if (N && (N.get || N.set)) { + Object.defineProperty(P, L, N) + } else { + P[L] = k[L] + } + } + } + P.default = k + if (E) { + E.set(k, P) + } + return P + } + const R = '{'.charCodeAt(0) + const L = ' '.charCodeAt(0) + const N = 'assert' + const q = 1, + ae = 2, + le = 4 + function importAssertions(k) { + const v = k.acorn || P + const { tokTypes: E, TokenType: ae } = v + return class extends k { + constructor(...k) { + super(...k) + this.assertToken = new ae(N) + } + _codeAt(k) { + return this.input.charCodeAt(k) + } + _eat(k) { + if (this.type !== k) { + this.unexpected() + } + this.next() + } + readToken(k) { + let v = 0 + for (; v < N.length; v++) { + if (this._codeAt(this.pos + v) !== N.charCodeAt(v)) { + return super.readToken(k) + } + } + for (; ; v++) { + if (this._codeAt(this.pos + v) === R) { + break + } else if (this._codeAt(this.pos + v) === L) { + continue + } else { + return super.readToken(k) + } + } + if (this.type.label === '{') { + return super.readToken(k) + } + this.pos += N.length + return this.finishToken(this.assertToken) + } + parseDynamicImport(k) { + this.next() + k.source = this.parseMaybeAssign() + if (this.eat(E.comma)) { + const v = this.parseObj(false) + k.arguments = [v] + } + this._eat(E.parenR) + return this.finishNode(k, 'ImportExpression') + } + parseExport(k, v) { + this.next() + if (this.eat(E.star)) { + if (this.options.ecmaVersion >= 11) { + if (this.eatContextual('as')) { + k.exported = this.parseIdent(true) + this.checkExport(v, k.exported.name, this.lastTokStart) + } else { + k.exported = null + } + } + this.expectContextual('from') + if (this.type !== E.string) { + this.unexpected() + } + k.source = this.parseExprAtom() + if (this.type === this.assertToken || this.type === E._with) { + this.next() + const v = this.parseImportAssertions() + if (v) { + k.assertions = v + } + } + this.semicolon() + return this.finishNode(k, 'ExportAllDeclaration') + } + if (this.eat(E._default)) { + this.checkExport(v, 'default', this.lastTokStart) + var P + if (this.type === E._function || (P = this.isAsyncFunction())) { + var R = this.startNode() + this.next() + if (P) { + this.next() + } + k.declaration = this.parseFunction(R, q | le, false, P) + } else if (this.type === E._class) { + var L = this.startNode() + k.declaration = this.parseClass(L, 'nullableID') + } else { + k.declaration = this.parseMaybeAssign() + this.semicolon() + } + return this.finishNode(k, 'ExportDefaultDeclaration') + } + if (this.shouldParseExportStatement()) { + k.declaration = this.parseStatement(null) + if (k.declaration.type === 'VariableDeclaration') { + this.checkVariableExport(v, k.declaration.declarations) + } else { + this.checkExport( + v, + k.declaration.id.name, + k.declaration.id.start + ) + } + k.specifiers = [] + k.source = null + } else { + k.declaration = null + k.specifiers = this.parseExportSpecifiers(v) + if (this.eatContextual('from')) { + if (this.type !== E.string) { + this.unexpected() + } + k.source = this.parseExprAtom() + if (this.type === this.assertToken || this.type === E._with) { + this.next() + const v = this.parseImportAssertions() + if (v) { + k.assertions = v + } + } + } else { + for (var N = 0, ae = k.specifiers; N < ae.length; N += 1) { + var pe = ae[N] + this.checkUnreserved(pe.local) + this.checkLocalExport(pe.local) + } + k.source = null + } + this.semicolon() + } + return this.finishNode(k, 'ExportNamedDeclaration') + } + parseImport(k) { + this.next() + if (this.type === E.string) { + k.specifiers = [] + k.source = this.parseExprAtom() + } else { + k.specifiers = this.parseImportSpecifiers() + this.expectContextual('from') + k.source = + this.type === E.string + ? this.parseExprAtom() + : this.unexpected() + } + if (this.type === this.assertToken || this.type == E._with) { + this.next() + const v = this.parseImportAssertions() + if (v) { + k.assertions = v + } + } + this.semicolon() + return this.finishNode(k, 'ImportDeclaration') + } + parseImportAssertions() { + this._eat(E.braceL) + const k = this.parseAssertEntries() + this._eat(E.braceR) + return k + } + parseAssertEntries() { + const k = [] + const v = new Set() + do { + if (this.type === E.braceR) { + break + } + const P = this.startNode() + let R + if (this.type === E.string) { + R = this.parseLiteral(this.value) + } else { + R = this.parseIdent(true) + } + this.next() + P.key = R + if (v.has(P.key.name)) { + this.raise(this.pos, 'Duplicated key in assertions') + } + v.add(P.key.name) + if (this.type !== E.string) { + this.raise( + this.pos, + 'Only string is supported as an assertion value' + ) + } + P.value = this.parseLiteral(this.value) + k.push(this.finishNode(P, 'ImportAttribute')) + } while (this.eat(E.comma)) + return k + } + } + } + }, + 86853: function (k, v, E) { + 'use strict' + Object.defineProperty(v, '__esModule', { value: true }) + var P = E(36849) + var R = E(12781) + function evCommon() { + var k = process.hrtime() + var v = k[0] * 1e6 + Math.round(k[1] / 1e3) + return { ts: v, pid: process.pid, tid: process.pid } + } + var L = (function (k) { + P.__extends(Tracer, k) + function Tracer(v) { + if (v === void 0) { + v = {} + } + var E = k.call(this) || this + E.noStream = false + E.events = [] + if (typeof v !== 'object') { + throw new Error('Invalid options passed (must be an object)') + } + if (v.parent != null && typeof v.parent !== 'object') { + throw new Error( + 'Invalid option (parent) passed (must be an object)' + ) + } + if (v.fields != null && typeof v.fields !== 'object') { + throw new Error( + 'Invalid option (fields) passed (must be an object)' + ) + } + if ( + v.objectMode != null && + v.objectMode !== true && + v.objectMode !== false + ) { + throw new Error( + 'Invalid option (objectsMode) passed (must be a boolean)' + ) + } + E.noStream = v.noStream || false + E.parent = v.parent + if (E.parent) { + E.fields = Object.assign({}, v.parent && v.parent.fields) + } else { + E.fields = {} + } + if (v.fields) { + Object.assign(E.fields, v.fields) + } + if (!E.fields.cat) { + E.fields.cat = 'default' + } else if (Array.isArray(E.fields.cat)) { + E.fields.cat = E.fields.cat.join(',') + } + if (!E.fields.args) { + E.fields.args = {} + } + if (E.parent) { + E._push = E.parent._push.bind(E.parent) + } else { + E._objectMode = Boolean(v.objectMode) + var P = { objectMode: E._objectMode } + if (E._objectMode) { + E._push = E.push + } else { + E._push = E._pushString + P.encoding = 'utf8' + } + R.Readable.call(E, P) + } + return E + } + Tracer.prototype.flush = function () { + if (this.noStream === true) { + for (var k = 0, v = this.events; k < v.length; k++) { + var E = v[k] + this._push(E) + } + this._flush() + } + } + Tracer.prototype._read = function (k) {} + Tracer.prototype._pushString = function (k) { + var v = '' + if (!this.firstPush) { + this.push('[') + this.firstPush = true + } else { + v = ',\n' + } + this.push(v + JSON.stringify(k), 'utf8') + } + Tracer.prototype._flush = function () { + if (!this._objectMode) { + this.push(']') + } + } + Tracer.prototype.child = function (k) { + return new Tracer({ parent: this, fields: k }) + } + Tracer.prototype.begin = function (k) { + return this.mkEventFunc('b')(k) + } + Tracer.prototype.end = function (k) { + return this.mkEventFunc('e')(k) + } + Tracer.prototype.completeEvent = function (k) { + return this.mkEventFunc('X')(k) + } + Tracer.prototype.instantEvent = function (k) { + return this.mkEventFunc('I')(k) + } + Tracer.prototype.mkEventFunc = function (k) { + var v = this + return function (E) { + var P = evCommon() + P.ph = k + if (E) { + if (typeof E === 'string') { + P.name = E + } else { + for (var R = 0, L = Object.keys(E); R < L.length; R++) { + var N = L[R] + if (N === 'cat') { + P.cat = E.cat.join(',') + } else { + P[N] = E[N] + } + } + } + } + if (!v.noStream) { + v._push(P) + } else { + v.events.push(P) + } + } + } + return Tracer + })(R.Readable) + v.Tracer = L + }, + 14041: function (k, v, E) { + 'use strict' + const P = E(40886) + const R = E(71606) + k.exports = class AliasFieldPlugin { + constructor(k, v, E) { + this.source = k + this.field = v + this.target = E + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('AliasFieldPlugin', (E, L, N) => { + if (!E.descriptionFileData) return N() + const q = R(k, E) + if (!q) return N() + const ae = P.getField(E.descriptionFileData, this.field) + if (ae === null || typeof ae !== 'object') { + if (L.log) + L.log( + "Field '" + + this.field + + "' doesn't contain a valid alias configuration" + ) + return N() + } + const le = Object.prototype.hasOwnProperty.call(ae, q) + ? ae[q] + : q.startsWith('./') + ? ae[q.slice(2)] + : undefined + if (le === q) return N() + if (le === undefined) return N() + if (le === false) { + const k = { ...E, path: false } + if (typeof L.yield === 'function') { + L.yield(k) + return N(null, null) + } + return N(null, k) + } + const pe = { + ...E, + path: E.descriptionFileRoot, + request: le, + fullySpecified: false, + } + k.doResolve( + v, + pe, + 'aliased from description file ' + + E.descriptionFilePath + + " with mapping '" + + q + + "' to '" + + le + + "'", + L, + (k, v) => { + if (k) return N(k) + if (v === undefined) return N(null, null) + N(null, v) + } + ) + }) + } + } + }, + 68345: function (k, v, E) { + 'use strict' + const P = E(29779) + const { PathType: R, getType: L } = E(39840) + k.exports = class AliasPlugin { + constructor(k, v, E) { + this.source = k + this.options = Array.isArray(v) ? v : [v] + this.target = E + } + apply(k) { + const v = k.ensureHook(this.target) + const getAbsolutePathWithSlashEnding = (v) => { + const E = L(v) + if (E === R.AbsolutePosix || E === R.AbsoluteWin) { + return k.join(v, '_').slice(0, -1) + } + return null + } + const isSubPath = (k, v) => { + const E = getAbsolutePathWithSlashEnding(v) + if (!E) return false + return k.startsWith(E) + } + k.getHook(this.source).tapAsync('AliasPlugin', (E, R, L) => { + const N = E.request || E.path + if (!N) return L() + P( + this.options, + (L, q) => { + let ae = false + if ( + N === L.name || + (!L.onlyModule && + (E.request + ? N.startsWith(`${L.name}/`) + : isSubPath(N, L.name))) + ) { + const le = N.slice(L.name.length) + const resolveWithAlias = (P, q) => { + if (P === false) { + const k = { ...E, path: false } + if (typeof R.yield === 'function') { + R.yield(k) + return q(null, null) + } + return q(null, k) + } + if (N !== P && !N.startsWith(P + '/')) { + ae = true + const N = P + le + const pe = { ...E, request: N, fullySpecified: false } + return k.doResolve( + v, + pe, + "aliased with mapping '" + + L.name + + "': '" + + P + + "' to '" + + N + + "'", + R, + (k, v) => { + if (k) return q(k) + if (v) return q(null, v) + return q() + } + ) + } + return q() + } + const stoppingCallback = (k, v) => { + if (k) return q(k) + if (v) return q(null, v) + if (ae) return q(null, null) + return q() + } + if (Array.isArray(L.alias)) { + return P(L.alias, resolveWithAlias, stoppingCallback) + } else { + return resolveWithAlias(L.alias, stoppingCallback) + } + } + return q() + }, + L + ) + }) + } + } + }, + 49225: function (k) { + 'use strict' + k.exports = class AppendPlugin { + constructor(k, v, E) { + this.source = k + this.appending = v + this.target = E + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('AppendPlugin', (E, P, R) => { + const L = { + ...E, + path: E.path + this.appending, + relativePath: E.relativePath && E.relativePath + this.appending, + } + k.doResolve(v, L, this.appending, P, R) + }) + } + } + }, + 75943: function (k, v, E) { + 'use strict' + const P = E(77282).nextTick + const dirname = (k) => { + let v = k.length - 1 + while (v >= 0) { + const E = k.charCodeAt(v) + if (E === 47 || E === 92) break + v-- + } + if (v < 0) return '' + return k.slice(0, v) + } + const runCallbacks = (k, v, E) => { + if (k.length === 1) { + k[0](v, E) + k.length = 0 + return + } + let P + for (const R of k) { + try { + R(v, E) + } catch (k) { + if (!P) P = k + } + } + k.length = 0 + if (P) throw P + } + class OperationMergerBackend { + constructor(k, v, E) { + this._provider = k + this._syncProvider = v + this._providerContext = E + this._activeAsyncOperations = new Map() + this.provide = this._provider + ? (v, E, P) => { + if (typeof E === 'function') { + P = E + E = undefined + } + if (E) { + return this._provider.call(this._providerContext, v, E, P) + } + if (typeof v !== 'string') { + P(new TypeError('path must be a string')) + return + } + let R = this._activeAsyncOperations.get(v) + if (R) { + R.push(P) + return + } + this._activeAsyncOperations.set(v, (R = [P])) + k(v, (k, E) => { + this._activeAsyncOperations.delete(v) + runCallbacks(R, k, E) + }) + } + : null + this.provideSync = this._syncProvider + ? (k, v) => this._syncProvider.call(this._providerContext, k, v) + : null + } + purge() {} + purgeParent() {} + } + const R = 0 + const L = 1 + const N = 2 + class CacheBackend { + constructor(k, v, E, P) { + this._duration = k + this._provider = v + this._syncProvider = E + this._providerContext = P + this._activeAsyncOperations = new Map() + this._data = new Map() + this._levels = [] + for (let k = 0; k < 10; k++) this._levels.push(new Set()) + for (let v = 5e3; v < k; v += 500) this._levels.push(new Set()) + this._currentLevel = 0 + this._tickInterval = Math.floor(k / this._levels.length) + this._mode = R + this._timeout = undefined + this._nextDecay = undefined + this.provide = v ? this.provide.bind(this) : null + this.provideSync = E ? this.provideSync.bind(this) : null + } + provide(k, v, E) { + if (typeof v === 'function') { + E = v + v = undefined + } + if (typeof k !== 'string') { + E(new TypeError('path must be a string')) + return + } + if (v) { + return this._provider.call(this._providerContext, k, v, E) + } + if (this._mode === L) { + this._enterAsyncMode() + } + let R = this._data.get(k) + if (R !== undefined) { + if (R.err) return P(E, R.err) + return P(E, null, R.result) + } + let N = this._activeAsyncOperations.get(k) + if (N !== undefined) { + N.push(E) + return + } + this._activeAsyncOperations.set(k, (N = [E])) + this._provider.call(this._providerContext, k, (v, E) => { + this._activeAsyncOperations.delete(k) + this._storeResult(k, v, E) + this._enterAsyncMode() + runCallbacks(N, v, E) + }) + } + provideSync(k, v) { + if (typeof k !== 'string') { + throw new TypeError('path must be a string') + } + if (v) { + return this._syncProvider.call(this._providerContext, k, v) + } + if (this._mode === L) { + this._runDecays() + } + let E = this._data.get(k) + if (E !== undefined) { + if (E.err) throw E.err + return E.result + } + const P = this._activeAsyncOperations.get(k) + this._activeAsyncOperations.delete(k) + let R + try { + R = this._syncProvider.call(this._providerContext, k) + } catch (v) { + this._storeResult(k, v, undefined) + this._enterSyncModeWhenIdle() + if (P) { + runCallbacks(P, v, undefined) + } + throw v + } + this._storeResult(k, undefined, R) + this._enterSyncModeWhenIdle() + if (P) { + runCallbacks(P, undefined, R) + } + return R + } + purge(k) { + if (!k) { + if (this._mode !== R) { + this._data.clear() + for (const k of this._levels) { + k.clear() + } + this._enterIdleMode() + } + } else if (typeof k === 'string') { + for (let [v, E] of this._data) { + if (v.startsWith(k)) { + this._data.delete(v) + E.level.delete(v) + } + } + if (this._data.size === 0) { + this._enterIdleMode() + } + } else { + for (let [v, E] of this._data) { + for (const P of k) { + if (v.startsWith(P)) { + this._data.delete(v) + E.level.delete(v) + break + } + } + } + if (this._data.size === 0) { + this._enterIdleMode() + } + } + } + purgeParent(k) { + if (!k) { + this.purge() + } else if (typeof k === 'string') { + this.purge(dirname(k)) + } else { + const v = new Set() + for (const E of k) { + v.add(dirname(E)) + } + this.purge(v) + } + } + _storeResult(k, v, E) { + if (this._data.has(k)) return + const P = this._levels[this._currentLevel] + this._data.set(k, { err: v, result: E, level: P }) + P.add(k) + } + _decayLevel() { + const k = (this._currentLevel + 1) % this._levels.length + const v = this._levels[k] + this._currentLevel = k + for (let k of v) { + this._data.delete(k) + } + v.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 k = 0 + switch (this._mode) { + case N: + return + case R: + this._nextDecay = Date.now() + this._tickInterval + k = this._tickInterval + break + case L: + this._runDecays() + if (this._mode === R) return + k = Math.max(0, this._nextDecay - Date.now()) + break + } + this._mode = N + const v = setTimeout(() => { + this._mode = L + this._runDecays() + }, k) + if (v.unref) v.unref() + this._timeout = v + } + _enterSyncModeWhenIdle() { + if (this._mode === R) { + this._mode = L + this._nextDecay = Date.now() + this._tickInterval + } + } + _enterIdleMode() { + this._mode = R + this._nextDecay = undefined + if (this._timeout) clearTimeout(this._timeout) + } + } + const createBackend = (k, v, E, P) => { + if (k > 0) { + return new CacheBackend(k, v, E, P) + } + return new OperationMergerBackend(v, E, P) + } + k.exports = class CachedInputFileSystem { + constructor(k, v) { + this.fileSystem = k + this._lstatBackend = createBackend( + v, + this.fileSystem.lstat, + this.fileSystem.lstatSync, + this.fileSystem + ) + const E = this._lstatBackend.provide + this.lstat = E + const P = this._lstatBackend.provideSync + this.lstatSync = P + this._statBackend = createBackend( + v, + this.fileSystem.stat, + this.fileSystem.statSync, + this.fileSystem + ) + const R = this._statBackend.provide + this.stat = R + const L = this._statBackend.provideSync + this.statSync = L + this._readdirBackend = createBackend( + v, + this.fileSystem.readdir, + this.fileSystem.readdirSync, + this.fileSystem + ) + const N = this._readdirBackend.provide + this.readdir = N + const q = this._readdirBackend.provideSync + this.readdirSync = q + this._readFileBackend = createBackend( + v, + this.fileSystem.readFile, + this.fileSystem.readFileSync, + this.fileSystem + ) + const ae = this._readFileBackend.provide + this.readFile = ae + const le = this._readFileBackend.provideSync + this.readFileSync = le + this._readJsonBackend = createBackend( + v, + this.fileSystem.readJson || + (this.readFile && + ((k, v) => { + this.readFile(k, (k, E) => { + if (k) return v(k) + if (!E || E.length === 0) + return v(new Error('No file content')) + let P + try { + P = JSON.parse(E.toString('utf-8')) + } catch (k) { + return v(k) + } + v(null, P) + }) + })), + this.fileSystem.readJsonSync || + (this.readFileSync && + ((k) => { + const v = this.readFileSync(k) + const E = JSON.parse(v.toString('utf-8')) + return E + })), + this.fileSystem + ) + const pe = this._readJsonBackend.provide + this.readJson = pe + const me = this._readJsonBackend.provideSync + this.readJsonSync = me + this._readlinkBackend = createBackend( + v, + this.fileSystem.readlink, + this.fileSystem.readlinkSync, + this.fileSystem + ) + const ye = this._readlinkBackend.provide + this.readlink = ye + const _e = this._readlinkBackend.provideSync + this.readlinkSync = _e + } + purge(k) { + this._statBackend.purge(k) + this._lstatBackend.purge(k) + this._readdirBackend.purgeParent(k) + this._readFileBackend.purge(k) + this._readlinkBackend.purge(k) + this._readJsonBackend.purge(k) + } + } + }, + 63871: function (k, v, E) { + 'use strict' + const P = E(9010).basename + k.exports = class CloneBasenamePlugin { + constructor(k, v) { + this.source = k + this.target = v + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('CloneBasenamePlugin', (E, R, L) => { + const N = E.path + const q = P(N) + const ae = k.join(N, q) + const le = { + ...E, + path: ae, + relativePath: E.relativePath && k.join(E.relativePath, q), + } + k.doResolve(v, le, 'using path: ' + ae, R, L) + }) + } + } + }, + 16596: function (k) { + 'use strict' + k.exports = class ConditionalPlugin { + constructor(k, v, E, P, R) { + this.source = k + this.test = v + this.message = E + this.allowAlternatives = P + this.target = R + } + apply(k) { + const v = k.ensureHook(this.target) + const { test: E, message: P, allowAlternatives: R } = this + const L = Object.keys(E) + k.getHook(this.source).tapAsync('ConditionalPlugin', (N, q, ae) => { + for (const k of L) { + if (N[k] !== E[k]) return ae() + } + k.doResolve( + v, + N, + P, + q, + R + ? ae + : (k, v) => { + if (k) return ae(k) + if (v === undefined) return ae(null, null) + ae(null, v) + } + ) + }) + } + } + }, + 29559: function (k, v, E) { + 'use strict' + const P = E(40886) + k.exports = class DescriptionFilePlugin { + constructor(k, v, E, P) { + this.source = k + this.filenames = v + this.pathIsFile = E + this.target = P + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync( + 'DescriptionFilePlugin', + (E, R, L) => { + const N = E.path + if (!N) return L() + const q = this.pathIsFile ? P.cdUp(N) : N + if (!q) return L() + P.loadDescriptionFile( + k, + q, + this.filenames, + E.descriptionFilePath + ? { + path: E.descriptionFilePath, + content: E.descriptionFileData, + directory: E.descriptionFileRoot, + } + : undefined, + R, + (P, ae) => { + if (P) return L(P) + if (!ae) { + if (R.log) + R.log(`No description file found in ${q} or above`) + return L() + } + const le = + '.' + N.slice(ae.directory.length).replace(/\\/g, '/') + const pe = { + ...E, + descriptionFilePath: ae.path, + descriptionFileData: ae.content, + descriptionFileRoot: ae.directory, + relativePath: le, + } + k.doResolve( + v, + pe, + 'using description file: ' + + ae.path + + ' (relative path: ' + + le + + ')', + R, + (k, v) => { + if (k) return L(k) + if (v === undefined) return L(null, null) + L(null, v) + } + ) + } + ) + } + ) + } + } + }, + 40886: function (k, v, E) { + 'use strict' + const P = E(29779) + function loadDescriptionFile(k, v, E, R, L, N) { + ;(function findDescriptionFile() { + if (R && R.directory === v) { + return N(null, R) + } + P( + E, + (E, P) => { + const R = k.join(v, E) + if (k.fileSystem.readJson) { + k.fileSystem.readJson(R, (k, v) => { + if (k) { + if (typeof k.code !== 'undefined') { + if (L.missingDependencies) { + L.missingDependencies.add(R) + } + return P() + } + if (L.fileDependencies) { + L.fileDependencies.add(R) + } + return onJson(k) + } + if (L.fileDependencies) { + L.fileDependencies.add(R) + } + onJson(null, v) + }) + } else { + k.fileSystem.readFile(R, (k, v) => { + if (k) { + if (L.missingDependencies) { + L.missingDependencies.add(R) + } + return P() + } + if (L.fileDependencies) { + L.fileDependencies.add(R) + } + let E + if (v) { + try { + E = JSON.parse(v.toString()) + } catch (k) { + return onJson(k) + } + } else { + return onJson(new Error('No content in file')) + } + onJson(null, E) + }) + } + function onJson(k, E) { + if (k) { + if (L.log) L.log(R + ' (directory description file): ' + k) + else k.message = R + ' (directory description file): ' + k + return P(k) + } + P(null, { content: E, directory: v, path: R }) + } + }, + (k, E) => { + if (k) return N(k) + if (E) { + return N(null, E) + } else { + const k = cdUp(v) + if (!k) { + return N() + } else { + v = k + return findDescriptionFile() + } + } + } + ) + })() + } + function getField(k, v) { + if (!k) return undefined + if (Array.isArray(v)) { + let E = k + for (let k = 0; k < v.length; k++) { + if (E === null || typeof E !== 'object') { + E = null + break + } + E = E[v[k]] + } + return E + } else { + return k[v] + } + } + function cdUp(k) { + if (k === '/') return null + const v = k.lastIndexOf('/'), + E = k.lastIndexOf('\\') + const P = v < 0 ? E : E < 0 ? v : v < E ? E : v + if (P < 0) return null + return k.slice(0, P || 1) + } + v.loadDescriptionFile = loadDescriptionFile + v.getField = getField + v.cdUp = cdUp + }, + 27271: function (k) { + 'use strict' + k.exports = class DirectoryExistsPlugin { + constructor(k, v) { + this.source = k + this.target = v + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync( + 'DirectoryExistsPlugin', + (E, P, R) => { + const L = k.fileSystem + const N = E.path + if (!N) return R() + L.stat(N, (L, q) => { + if (L || !q) { + if (P.missingDependencies) P.missingDependencies.add(N) + if (P.log) P.log(N + " doesn't exist") + return R() + } + if (!q.isDirectory()) { + if (P.missingDependencies) P.missingDependencies.add(N) + if (P.log) P.log(N + ' is not a directory') + return R() + } + if (P.fileDependencies) P.fileDependencies.add(N) + k.doResolve(v, E, `existing directory ${N}`, P, R) + }) + } + ) + } + } + }, + 77803: function (k, v, E) { + 'use strict' + const P = E(71017) + const R = E(40886) + const L = E(29779) + const { processExportsField: N } = E(36914) + const { parseIdentifier: q } = E(60097) + const { checkImportsExportsFieldTarget: ae } = E(39840) + k.exports = class ExportsFieldPlugin { + constructor(k, v, E, P) { + this.source = k + this.target = P + this.conditionNames = v + this.fieldName = E + this.fieldProcessorCache = new WeakMap() + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('ExportsFieldPlugin', (E, le, pe) => { + if (!E.descriptionFilePath) return pe() + if (E.relativePath !== '.' || E.request === undefined) return pe() + const me = + E.query || E.fragment + ? (E.request === '.' ? './' : E.request) + E.query + E.fragment + : E.request + const ye = R.getField(E.descriptionFileData, this.fieldName) + if (!ye) return pe() + if (E.directory) { + return pe( + new Error( + `Resolving to directories is not possible with the exports field (request was ${me}/)` + ) + ) + } + let _e + try { + let k = this.fieldProcessorCache.get(E.descriptionFileData) + if (k === undefined) { + k = N(ye) + this.fieldProcessorCache.set(E.descriptionFileData, k) + } + _e = k(me, this.conditionNames) + } catch (k) { + if (le.log) { + le.log( + `Exports field in ${E.descriptionFilePath} can't be processed: ${k}` + ) + } + return pe(k) + } + if (_e.length === 0) { + return pe( + new Error( + `Package path ${me} is not exported from package ${E.descriptionFileRoot} (see exports field in ${E.descriptionFilePath})` + ) + ) + } + L( + _e, + (R, L) => { + const N = q(R) + if (!N) return L() + const [pe, me, ye] = N + const _e = ae(pe) + if (_e) { + return L(_e) + } + const Ie = { + ...E, + request: undefined, + path: P.join(E.descriptionFileRoot, pe), + relativePath: pe, + query: me, + fragment: ye, + } + k.doResolve(v, Ie, 'using exports field: ' + R, le, L) + }, + (k, v) => pe(k, v || null) + ) + }) + } + } + }, + 70868: function (k, v, E) { + 'use strict' + const P = E(29779) + k.exports = class ExtensionAliasPlugin { + constructor(k, v, E) { + this.source = k + this.options = v + this.target = E + } + apply(k) { + const v = k.ensureHook(this.target) + const { extension: E, alias: R } = this.options + k.getHook(this.source).tapAsync('ExtensionAliasPlugin', (L, N, q) => { + const ae = L.request + if (!ae || !ae.endsWith(E)) return q() + const le = typeof R === 'string' + const resolve = (P, R, q) => { + const pe = `${ae.slice(0, -E.length)}${P}` + return k.doResolve( + v, + { ...L, request: pe, fullySpecified: true }, + `aliased from extension alias with mapping '${E}' to '${P}'`, + N, + (k, v) => { + if (!le && q) { + if (q !== this.options.alias.length) { + if (N.log) { + N.log( + `Failed to alias from extension alias with mapping '${E}' to '${P}' for '${pe}': ${k}` + ) + } + return R(null, v) + } + return R(k, v) + } else { + R(k, v) + } + } + ) + } + const stoppingCallback = (k, v) => { + if (k) return q(k) + if (v) return q(null, v) + return q(null, null) + } + if (le) { + resolve(R, stoppingCallback) + } else if (R.length > 1) { + P(R, resolve, stoppingCallback) + } else { + resolve(R[0], stoppingCallback) + } + }) + } + } + }, + 79561: function (k) { + 'use strict' + k.exports = class FileExistsPlugin { + constructor(k, v) { + this.source = k + this.target = v + } + apply(k) { + const v = k.ensureHook(this.target) + const E = k.fileSystem + k.getHook(this.source).tapAsync('FileExistsPlugin', (P, R, L) => { + const N = P.path + if (!N) return L() + E.stat(N, (E, q) => { + if (E || !q) { + if (R.missingDependencies) R.missingDependencies.add(N) + if (R.log) R.log(N + " doesn't exist") + return L() + } + if (!q.isFile()) { + if (R.missingDependencies) R.missingDependencies.add(N) + if (R.log) R.log(N + ' is not a file') + return L() + } + if (R.fileDependencies) R.fileDependencies.add(N) + k.doResolve(v, P, 'existing file: ' + N, R, L) + }) + }) + } + } + }, + 33484: function (k, v, E) { + 'use strict' + const P = E(71017) + const R = E(40886) + const L = E(29779) + const { processImportsField: N } = E(36914) + const { parseIdentifier: q } = E(60097) + const { checkImportsExportsFieldTarget: ae } = E(39840) + const le = '.'.charCodeAt(0) + k.exports = class ImportsFieldPlugin { + constructor(k, v, E, P, R) { + this.source = k + this.targetFile = P + this.targetPackage = R + this.conditionNames = v + this.fieldName = E + this.fieldProcessorCache = new WeakMap() + } + apply(k) { + const v = k.ensureHook(this.targetFile) + const E = k.ensureHook(this.targetPackage) + k.getHook(this.source).tapAsync( + 'ImportsFieldPlugin', + (pe, me, ye) => { + if (!pe.descriptionFilePath || pe.request === undefined) { + return ye() + } + const _e = pe.request + pe.query + pe.fragment + const Ie = R.getField(pe.descriptionFileData, this.fieldName) + if (!Ie) return ye() + if (pe.directory) { + return ye( + new Error( + `Resolving to directories is not possible with the imports field (request was ${_e}/)` + ) + ) + } + let Me + try { + let k = this.fieldProcessorCache.get(pe.descriptionFileData) + if (k === undefined) { + k = N(Ie) + this.fieldProcessorCache.set(pe.descriptionFileData, k) + } + Me = k(_e, this.conditionNames) + } catch (k) { + if (me.log) { + me.log( + `Imports field in ${pe.descriptionFilePath} can't be processed: ${k}` + ) + } + return ye(k) + } + if (Me.length === 0) { + return ye( + new Error( + `Package import ${_e} is not imported from package ${pe.descriptionFileRoot} (see imports field in ${pe.descriptionFilePath})` + ) + ) + } + L( + Me, + (R, L) => { + const N = q(R) + if (!N) return L() + const [ye, _e, Ie] = N + const Me = ae(ye) + if (Me) { + return L(Me) + } + switch (ye.charCodeAt(0)) { + case le: { + const E = { + ...pe, + request: undefined, + path: P.join(pe.descriptionFileRoot, ye), + relativePath: ye, + query: _e, + fragment: Ie, + } + k.doResolve(v, E, 'using imports field: ' + R, me, L) + break + } + default: { + const v = { + ...pe, + request: ye, + relativePath: ye, + fullySpecified: true, + query: _e, + fragment: Ie, + } + k.doResolve(E, v, 'using imports field: ' + R, me, L) + } + } + }, + (k, v) => ye(k, v || null) + ) + } + ) + } + } + }, + 82782: function (k) { + 'use strict' + const v = '@'.charCodeAt(0) + k.exports = class JoinRequestPartPlugin { + constructor(k, v) { + this.source = k + this.target = v + } + apply(k) { + const E = k.ensureHook(this.target) + k.getHook(this.source).tapAsync( + 'JoinRequestPartPlugin', + (P, R, L) => { + const N = P.request || '' + let q = N.indexOf('/', 3) + if (q >= 0 && N.charCodeAt(2) === v) { + q = N.indexOf('/', q + 1) + } + let ae + let le + let pe + if (q < 0) { + ae = N + le = '.' + pe = false + } else { + ae = N.slice(0, q) + le = '.' + N.slice(q) + pe = P.fullySpecified + } + const me = { + ...P, + path: k.join(P.path, ae), + relativePath: P.relativePath && k.join(P.relativePath, ae), + request: le, + fullySpecified: pe, + } + k.doResolve(E, me, null, R, L) + } + ) + } + } + }, + 65841: function (k) { + 'use strict' + k.exports = class JoinRequestPlugin { + constructor(k, v) { + this.source = k + this.target = v + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('JoinRequestPlugin', (E, P, R) => { + const L = E.path + const N = E.request + const q = { + ...E, + path: k.join(L, N), + relativePath: E.relativePath && k.join(E.relativePath, N), + request: undefined, + } + k.doResolve(v, q, null, P, R) + }) + } + } + }, + 92305: function (k) { + 'use strict' + k.exports = class LogInfoPlugin { + constructor(k) { + this.source = k + } + apply(k) { + const v = this.source + k.getHook(this.source).tapAsync('LogInfoPlugin', (k, E, P) => { + if (!E.log) return P() + const R = E.log + const L = '[' + v + '] ' + if (k.path) R(L + 'Resolving in directory: ' + k.path) + if (k.request) R(L + 'Resolving request: ' + k.request) + if (k.module) R(L + 'Request is an module request.') + if (k.directory) R(L + 'Request is a directory request.') + if (k.query) R(L + 'Resolving request query: ' + k.query) + if (k.fragment) R(L + 'Resolving request fragment: ' + k.fragment) + if (k.descriptionFilePath) + R(L + 'Has description data from ' + k.descriptionFilePath) + if (k.relativePath) + R(L + 'Relative path from description file is: ' + k.relativePath) + P() + }) + } + } + }, + 38718: function (k, v, E) { + 'use strict' + const P = E(71017) + const R = E(40886) + const L = Symbol('alreadyTriedMainField') + k.exports = class MainFieldPlugin { + constructor(k, v, E) { + this.source = k + this.options = v + this.target = E + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('MainFieldPlugin', (E, N, q) => { + if ( + E.path !== E.descriptionFileRoot || + E[L] === E.descriptionFilePath || + !E.descriptionFilePath + ) + return q() + const ae = P.basename(E.descriptionFilePath) + let le = R.getField(E.descriptionFileData, this.options.name) + if (!le || typeof le !== 'string' || le === '.' || le === './') { + return q() + } + if (this.options.forceRelative && !/^\.\.?\//.test(le)) + le = './' + le + const pe = { + ...E, + request: le, + module: false, + directory: le.endsWith('/'), + [L]: E.descriptionFilePath, + } + return k.doResolve( + v, + pe, + 'use ' + le + ' from ' + this.options.name + ' in ' + ae, + N, + q + ) + }) + } + } + }, + 44869: function (k, v, E) { + 'use strict' + const P = E(29779) + const R = E(9010) + k.exports = class ModulesInHierarchicalDirectoriesPlugin { + constructor(k, v, E) { + this.source = k + this.directories = [].concat(v) + this.target = E + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync( + 'ModulesInHierarchicalDirectoriesPlugin', + (E, L, N) => { + const q = k.fileSystem + const ae = R(E.path) + .paths.map((v) => this.directories.map((E) => k.join(v, E))) + .reduce((k, v) => { + k.push.apply(k, v) + return k + }, []) + P( + ae, + (P, R) => { + q.stat(P, (N, q) => { + if (!N && q && q.isDirectory()) { + const N = { + ...E, + path: P, + request: './' + E.request, + module: false, + } + const q = 'looking for modules in ' + P + return k.doResolve(v, N, q, L, R) + } + if (L.log) L.log(P + " doesn't exist or is not a directory") + if (L.missingDependencies) L.missingDependencies.add(P) + return R() + }) + }, + N + ) + } + ) + } + } + }, + 91119: function (k) { + 'use strict' + k.exports = class ModulesInRootPlugin { + constructor(k, v, E) { + this.source = k + this.path = v + this.target = E + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('ModulesInRootPlugin', (E, P, R) => { + const L = { + ...E, + path: this.path, + request: './' + E.request, + module: false, + } + k.doResolve(v, L, 'looking for modules in ' + this.path, P, R) + }) + } + } + }, + 72715: function (k) { + 'use strict' + k.exports = class NextPlugin { + constructor(k, v) { + this.source = k + this.target = v + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('NextPlugin', (E, P, R) => { + k.doResolve(v, E, null, P, R) + }) + } + } + }, + 50802: function (k) { + 'use strict' + k.exports = class ParsePlugin { + constructor(k, v, E) { + this.source = k + this.requestOptions = v + this.target = E + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('ParsePlugin', (E, P, R) => { + const L = k.parse(E.request) + const N = { ...E, ...L, ...this.requestOptions } + if (E.query && !L.query) { + N.query = E.query + } + if (E.fragment && !L.fragment) { + N.fragment = E.fragment + } + if (L && P.log) { + if (L.module) P.log('Parsed request is a module') + if (L.directory) P.log('Parsed request is a directory') + } + if (N.request && !N.query && N.fragment) { + const E = N.fragment.endsWith('/') + const L = { + ...N, + directory: E, + request: + N.request + + (N.directory ? '/' : '') + + (E ? N.fragment.slice(0, -1) : N.fragment), + fragment: '', + } + k.doResolve(v, L, null, P, (E, L) => { + if (E) return R(E) + if (L) return R(null, L) + k.doResolve(v, N, null, P, R) + }) + return + } + k.doResolve(v, N, null, P, R) + }) + } + } + }, + 94727: function (k) { + 'use strict' + k.exports = class PnpPlugin { + constructor(k, v, E) { + this.source = k + this.pnpApi = v + this.target = E + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('PnpPlugin', (E, P, R) => { + const L = E.request + if (!L) return R() + const N = `${E.path}/` + const q = /^(@[^/]+\/)?[^/]+/.exec(L) + if (!q) return R() + const ae = q[0] + const le = `.${L.slice(ae.length)}` + let pe + let me + try { + pe = this.pnpApi.resolveToUnqualified(ae, N, { + considerBuiltins: false, + }) + if (P.fileDependencies) { + me = this.pnpApi.resolveToUnqualified('pnpapi', N, { + considerBuiltins: false, + }) + } + } catch (k) { + if ( + k.code === 'MODULE_NOT_FOUND' && + k.pnpCode === 'UNDECLARED_DEPENDENCY' + ) { + if (P.log) { + P.log(`request is not managed by the pnpapi`) + for (const v of k.message.split('\n').filter(Boolean)) + P.log(` ${v}`) + } + return R() + } + return R(k) + } + if (pe === ae) return R() + if (me && P.fileDependencies) { + P.fileDependencies.add(me) + } + const ye = { + ...E, + path: pe, + request: le, + ignoreSymlinks: true, + fullySpecified: E.fullySpecified && le !== '.', + } + k.doResolve(v, ye, `resolved by pnp to ${pe}`, P, (k, v) => { + if (k) return R(k) + if (v) return R(null, v) + return R(null, null) + }) + }) + } + } + }, + 30558: function (k, v, E) { + 'use strict' + const { + AsyncSeriesBailHook: P, + AsyncSeriesHook: R, + SyncHook: L, + } = E(79846) + const N = E(29824) + const { parseIdentifier: q } = E(60097) + const { + normalize: ae, + cachedJoin: le, + getType: pe, + PathType: me, + } = E(39840) + function toCamelCase(k) { + return k.replace(/-([a-z])/g, (k) => k.slice(1).toUpperCase()) + } + class Resolver { + static createStackEntry(k, v) { + return ( + k.name + + ': (' + + v.path + + ') ' + + (v.request || '') + + (v.query || '') + + (v.fragment || '') + + (v.directory ? ' directory' : '') + + (v.module ? ' module' : '') + ) + } + constructor(k, v) { + this.fileSystem = k + this.options = v + this.hooks = { + resolveStep: new L(['hook', 'request'], 'resolveStep'), + noResolve: new L(['request', 'error'], 'noResolve'), + resolve: new P(['request', 'resolveContext'], 'resolve'), + result: new R(['result', 'resolveContext'], 'result'), + } + } + ensureHook(k) { + if (typeof k !== 'string') { + return k + } + k = toCamelCase(k) + if (/^before/.test(k)) { + return this.ensureHook(k[6].toLowerCase() + k.slice(7)).withOptions( + { stage: -10 } + ) + } + if (/^after/.test(k)) { + return this.ensureHook(k[5].toLowerCase() + k.slice(6)).withOptions( + { stage: 10 } + ) + } + const v = this.hooks[k] + if (!v) { + this.hooks[k] = new P(['request', 'resolveContext'], k) + return this.hooks[k] + } + return v + } + getHook(k) { + if (typeof k !== 'string') { + return k + } + k = toCamelCase(k) + if (/^before/.test(k)) { + return this.getHook(k[6].toLowerCase() + k.slice(7)).withOptions({ + stage: -10, + }) + } + if (/^after/.test(k)) { + return this.getHook(k[5].toLowerCase() + k.slice(6)).withOptions({ + stage: 10, + }) + } + const v = this.hooks[k] + if (!v) { + throw new Error(`Hook ${k} doesn't exist`) + } + return v + } + resolveSync(k, v, E) { + let P = undefined + let R = undefined + let L = false + this.resolve(k, v, E, {}, (k, v) => { + P = k + R = v + L = true + }) + if (!L) { + throw new Error( + "Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!" + ) + } + if (P) throw P + if (R === undefined) throw new Error('No result') + return R + } + resolve(k, v, E, P, R) { + if (!k || typeof k !== 'object') + return R(new Error('context argument is not an object')) + if (typeof v !== 'string') + return R(new Error('path argument is not a string')) + if (typeof E !== 'string') + return R(new Error('request argument is not a string')) + if (!P) return R(new Error('resolveContext argument is not set')) + const L = { context: k, path: v, request: E } + let N + let q = false + let ae + if (typeof P.yield === 'function') { + const k = P.yield + N = (v) => { + k(v) + q = true + } + ae = (k) => { + if (k) { + N(k) + } + R(null) + } + } + const le = `resolve '${E}' in '${v}'` + const finishResolved = (k) => + R( + null, + k.path === false + ? false + : `${k.path.replace(/#/g, '\0#')}${ + k.query ? k.query.replace(/#/g, '\0#') : '' + }${k.fragment || ''}`, + k + ) + const finishWithoutResolve = (k) => { + const v = new Error("Can't " + le) + v.details = k.join('\n') + this.hooks.noResolve.call(L, v) + return R(v) + } + if (P.log) { + const k = P.log + const v = [] + return this.doResolve( + this.hooks.resolve, + L, + le, + { + log: (E) => { + k(E) + v.push(E) + }, + yield: N, + fileDependencies: P.fileDependencies, + contextDependencies: P.contextDependencies, + missingDependencies: P.missingDependencies, + stack: P.stack, + }, + (k, E) => { + if (k) return R(k) + if (q || (E && N)) { + return ae(E) + } + if (E) return finishResolved(E) + return finishWithoutResolve(v) + } + ) + } else { + return this.doResolve( + this.hooks.resolve, + L, + le, + { + log: undefined, + yield: N, + fileDependencies: P.fileDependencies, + contextDependencies: P.contextDependencies, + missingDependencies: P.missingDependencies, + stack: P.stack, + }, + (k, v) => { + if (k) return R(k) + if (q || (v && N)) { + return ae(v) + } + if (v) return finishResolved(v) + const E = [] + return this.doResolve( + this.hooks.resolve, + L, + le, + { log: (k) => E.push(k), yield: N, stack: P.stack }, + (k, v) => { + if (k) return R(k) + if (q || (v && N)) { + return ae(v) + } + return finishWithoutResolve(E) + } + ) + } + ) + } + } + doResolve(k, v, E, P, R) { + const L = Resolver.createStackEntry(k, v) + let q + if (P.stack) { + q = new Set(P.stack) + if (P.stack.has(L)) { + const k = new Error( + 'Recursion in resolving\nStack:\n ' + + Array.from(q).join('\n ') + ) + k.recursion = true + if (P.log) P.log('abort resolving because of recursion') + return R(k) + } + q.add(L) + } else { + q = new Set([L]) + } + this.hooks.resolveStep.call(k, v) + if (k.isUsed()) { + const L = N( + { + log: P.log, + yield: P.yield, + fileDependencies: P.fileDependencies, + contextDependencies: P.contextDependencies, + missingDependencies: P.missingDependencies, + stack: q, + }, + E + ) + return k.callAsync(v, L, (k, v) => { + if (k) return R(k) + if (v) return R(null, v) + R() + }) + } else { + R() + } + } + parse(k) { + const v = { + request: '', + query: '', + fragment: '', + module: false, + directory: false, + file: false, + internal: false, + } + const E = q(k) + if (!E) return v + ;[v.request, v.query, v.fragment] = E + if (v.request.length > 0) { + v.internal = this.isPrivate(k) + v.module = this.isModule(v.request) + v.directory = this.isDirectory(v.request) + if (v.directory) { + v.request = v.request.slice(0, -1) + } + } + return v + } + isModule(k) { + return pe(k) === me.Normal + } + isPrivate(k) { + return pe(k) === me.Internal + } + isDirectory(k) { + return k.endsWith('/') + } + join(k, v) { + return le(k, v) + } + normalize(k) { + return ae(k) + } + } + k.exports = Resolver + }, + 77747: function (k, v, E) { + 'use strict' + const P = E(77282).versions + const R = E(30558) + const { getType: L, PathType: N } = E(39840) + const q = E(19674) + const ae = E(14041) + const le = E(68345) + const pe = E(49225) + const me = E(16596) + const ye = E(29559) + const _e = E(27271) + const Ie = E(77803) + const Me = E(70868) + const Te = E(79561) + const je = E(33484) + const Ne = E(82782) + const Be = E(65841) + const qe = E(38718) + const Ue = E(44869) + const Ge = E(91119) + const He = E(72715) + const We = E(50802) + const Qe = E(94727) + const Je = E(34682) + const Ve = E(43684) + const Ke = E(55763) + const Ye = E(63816) + const Xe = E(83012) + const Ze = E(2458) + const et = E(61395) + const tt = E(95286) + function processPnpApiOption(k) { + if (k === undefined && P.pnp) { + return E(35125) + } + return k || null + } + function normalizeAlias(k) { + return typeof k === 'object' && !Array.isArray(k) && k !== null + ? Object.keys(k).map((v) => { + const E = { name: v, onlyModule: false, alias: k[v] } + if (/\$$/.test(v)) { + E.onlyModule = true + E.name = v.slice(0, -1) + } + return E + }) + : k || [] + } + function createOptions(k) { + const v = new Set(k.mainFields || ['main']) + const E = [] + for (const k of v) { + if (typeof k === 'string') { + E.push({ name: [k], forceRelative: true }) + } else if (Array.isArray(k)) { + E.push({ name: k, forceRelative: true }) + } else { + E.push({ + name: Array.isArray(k.name) ? k.name : [k.name], + forceRelative: k.forceRelative, + }) + } + } + return { + alias: normalizeAlias(k.alias), + fallback: normalizeAlias(k.fallback), + aliasFields: new Set(k.aliasFields), + cachePredicate: + k.cachePredicate || + function () { + return true + }, + cacheWithContext: + typeof k.cacheWithContext !== 'undefined' + ? k.cacheWithContext + : true, + exportsFields: new Set(k.exportsFields || ['exports']), + importsFields: new Set(k.importsFields || ['imports']), + conditionNames: new Set(k.conditionNames), + descriptionFiles: Array.from( + new Set(k.descriptionFiles || ['package.json']) + ), + enforceExtension: + k.enforceExtension === undefined + ? k.extensions && k.extensions.includes('') + ? true + : false + : k.enforceExtension, + extensions: new Set(k.extensions || ['.js', '.json', '.node']), + extensionAlias: k.extensionAlias + ? Object.keys(k.extensionAlias).map((v) => ({ + extension: v, + alias: k.extensionAlias[v], + })) + : [], + fileSystem: k.useSyncFileSystemCalls + ? new q(k.fileSystem) + : k.fileSystem, + unsafeCache: + k.unsafeCache && typeof k.unsafeCache !== 'object' + ? {} + : k.unsafeCache || false, + symlinks: typeof k.symlinks !== 'undefined' ? k.symlinks : true, + resolver: k.resolver, + modules: mergeFilteredToArray( + Array.isArray(k.modules) + ? k.modules + : k.modules + ? [k.modules] + : ['node_modules'], + (k) => { + const v = L(k) + return v === N.Normal || v === N.Relative + } + ), + mainFields: E, + mainFiles: new Set(k.mainFiles || ['index']), + plugins: k.plugins || [], + pnpApi: processPnpApiOption(k.pnpApi), + roots: new Set(k.roots || undefined), + fullySpecified: k.fullySpecified || false, + resolveToContext: k.resolveToContext || false, + preferRelative: k.preferRelative || false, + preferAbsolute: k.preferAbsolute || false, + restrictions: new Set(k.restrictions), + } + } + v.createResolver = function (k) { + const v = createOptions(k) + const { + alias: E, + fallback: P, + aliasFields: L, + cachePredicate: N, + cacheWithContext: q, + conditionNames: nt, + descriptionFiles: st, + enforceExtension: rt, + exportsFields: ot, + extensionAlias: it, + importsFields: at, + extensions: ct, + fileSystem: lt, + fullySpecified: ut, + mainFields: pt, + mainFiles: dt, + modules: ft, + plugins: ht, + pnpApi: mt, + resolveToContext: gt, + preferRelative: yt, + preferAbsolute: bt, + symlinks: xt, + unsafeCache: kt, + resolver: vt, + restrictions: wt, + roots: At, + } = v + const Et = ht.slice() + const Ct = vt ? vt : new R(lt, v) + Ct.ensureHook('resolve') + Ct.ensureHook('internalResolve') + Ct.ensureHook('newInternalResolve') + Ct.ensureHook('parsedResolve') + Ct.ensureHook('describedResolve') + Ct.ensureHook('rawResolve') + Ct.ensureHook('normalResolve') + Ct.ensureHook('internal') + Ct.ensureHook('rawModule') + Ct.ensureHook('module') + Ct.ensureHook('resolveAsModule') + Ct.ensureHook('undescribedResolveInPackage') + Ct.ensureHook('resolveInPackage') + Ct.ensureHook('resolveInExistingDirectory') + Ct.ensureHook('relative') + Ct.ensureHook('describedRelative') + Ct.ensureHook('directory') + Ct.ensureHook('undescribedExistingDirectory') + Ct.ensureHook('existingDirectory') + Ct.ensureHook('undescribedRawFile') + Ct.ensureHook('rawFile') + Ct.ensureHook('file') + Ct.ensureHook('finalFile') + Ct.ensureHook('existingFile') + Ct.ensureHook('resolved') + Ct.hooks.newInteralResolve = Ct.hooks.newInternalResolve + for (const { source: k, resolveOptions: v } of [ + { source: 'resolve', resolveOptions: { fullySpecified: ut } }, + { + source: 'internal-resolve', + resolveOptions: { fullySpecified: false }, + }, + ]) { + if (kt) { + Et.push(new et(k, N, kt, q, `new-${k}`)) + Et.push(new We(`new-${k}`, v, 'parsed-resolve')) + } else { + Et.push(new We(k, v, 'parsed-resolve')) + } + } + Et.push(new ye('parsed-resolve', st, false, 'described-resolve')) + Et.push(new He('after-parsed-resolve', 'described-resolve')) + Et.push(new He('described-resolve', 'raw-resolve')) + if (P.length > 0) { + Et.push(new le('described-resolve', P, 'internal-resolve')) + } + if (E.length > 0) { + Et.push(new le('raw-resolve', E, 'internal-resolve')) + } + L.forEach((k) => { + Et.push(new ae('raw-resolve', k, 'internal-resolve')) + }) + it.forEach((k) => Et.push(new Me('raw-resolve', k, 'normal-resolve'))) + Et.push(new He('raw-resolve', 'normal-resolve')) + if (yt) { + Et.push(new Be('after-normal-resolve', 'relative')) + } + Et.push( + new me( + 'after-normal-resolve', + { module: true }, + 'resolve as module', + false, + 'raw-module' + ) + ) + Et.push( + new me( + 'after-normal-resolve', + { internal: true }, + 'resolve as internal import', + false, + 'internal' + ) + ) + if (bt) { + Et.push(new Be('after-normal-resolve', 'relative')) + } + if (At.size > 0) { + Et.push(new Ke('after-normal-resolve', At, 'relative')) + } + if (!yt && !bt) { + Et.push(new Be('after-normal-resolve', 'relative')) + } + at.forEach((k) => { + Et.push(new je('internal', nt, k, 'relative', 'internal-resolve')) + }) + ot.forEach((k) => { + Et.push(new Ye('raw-module', k, 'resolve-as-module')) + }) + ft.forEach((k) => { + if (Array.isArray(k)) { + if (k.includes('node_modules') && mt) { + Et.push( + new Ue( + 'raw-module', + k.filter((k) => k !== 'node_modules'), + 'module' + ) + ) + Et.push( + new Qe('raw-module', mt, 'undescribed-resolve-in-package') + ) + } else { + Et.push(new Ue('raw-module', k, 'module')) + } + } else { + Et.push(new Ge('raw-module', k, 'module')) + } + }) + Et.push(new Ne('module', 'resolve-as-module')) + if (!gt) { + Et.push( + new me( + 'resolve-as-module', + { directory: false, request: '.' }, + 'single file module', + true, + 'undescribed-raw-file' + ) + ) + } + Et.push(new _e('resolve-as-module', 'undescribed-resolve-in-package')) + Et.push( + new ye( + 'undescribed-resolve-in-package', + st, + false, + 'resolve-in-package' + ) + ) + Et.push( + new He('after-undescribed-resolve-in-package', 'resolve-in-package') + ) + ot.forEach((k) => { + Et.push(new Ie('resolve-in-package', nt, k, 'relative')) + }) + Et.push(new He('resolve-in-package', 'resolve-in-existing-directory')) + Et.push(new Be('resolve-in-existing-directory', 'relative')) + Et.push(new ye('relative', st, true, 'described-relative')) + Et.push(new He('after-relative', 'described-relative')) + if (gt) { + Et.push(new He('described-relative', 'directory')) + } else { + Et.push( + new me( + 'described-relative', + { directory: false }, + null, + true, + 'raw-file' + ) + ) + Et.push( + new me( + 'described-relative', + { fullySpecified: false }, + 'as directory', + true, + 'directory' + ) + ) + } + Et.push(new _e('directory', 'undescribed-existing-directory')) + if (gt) { + Et.push(new He('undescribed-existing-directory', 'resolved')) + } else { + Et.push( + new ye( + 'undescribed-existing-directory', + st, + false, + 'existing-directory' + ) + ) + dt.forEach((k) => { + Et.push( + new tt( + 'undescribed-existing-directory', + k, + 'undescribed-raw-file' + ) + ) + }) + pt.forEach((k) => { + Et.push( + new qe('existing-directory', k, 'resolve-in-existing-directory') + ) + }) + dt.forEach((k) => { + Et.push(new tt('existing-directory', k, 'undescribed-raw-file')) + }) + Et.push(new ye('undescribed-raw-file', st, true, 'raw-file')) + Et.push(new He('after-undescribed-raw-file', 'raw-file')) + Et.push( + new me('raw-file', { fullySpecified: true }, null, false, 'file') + ) + if (!rt) { + Et.push(new Ze('raw-file', 'no extension', 'file')) + } + ct.forEach((k) => { + Et.push(new pe('raw-file', k, 'file')) + }) + if (E.length > 0) Et.push(new le('file', E, 'internal-resolve')) + L.forEach((k) => { + Et.push(new ae('file', k, 'internal-resolve')) + }) + Et.push(new He('file', 'final-file')) + Et.push(new Te('final-file', 'existing-file')) + if (xt) Et.push(new Xe('existing-file', 'existing-file')) + Et.push(new He('existing-file', 'resolved')) + } + const St = Ct.hooks.resolved + if (wt.size > 0) { + Et.push(new Je(St, wt)) + } + Et.push(new Ve(St)) + for (const k of Et) { + if (typeof k === 'function') { + k.call(Ct, Ct) + } else { + k.apply(Ct) + } + } + return Ct + } + function mergeFilteredToArray(k, v) { + const E = [] + const P = new Set(k) + for (const k of P) { + if (v(k)) { + const v = E.length > 0 ? E[E.length - 1] : undefined + if (Array.isArray(v)) { + v.push(k) + } else { + E.push([k]) + } + } else { + E.push(k) + } + } + return E + } + }, + 34682: function (k) { + 'use strict' + const v = '/'.charCodeAt(0) + const E = '\\'.charCodeAt(0) + const isInside = (k, P) => { + if (!k.startsWith(P)) return false + if (k.length === P.length) return true + const R = k.charCodeAt(P.length) + return R === v || R === E + } + k.exports = class RestrictionsPlugin { + constructor(k, v) { + this.source = k + this.restrictions = v + } + apply(k) { + k.getHook(this.source).tapAsync('RestrictionsPlugin', (k, v, E) => { + if (typeof k.path === 'string') { + const P = k.path + for (const k of this.restrictions) { + if (typeof k === 'string') { + if (!isInside(P, k)) { + if (v.log) { + v.log(`${P} is not inside of the restriction ${k}`) + } + return E(null, null) + } + } else if (!k.test(P)) { + if (v.log) { + v.log(`${P} doesn't match the restriction ${k}`) + } + return E(null, null) + } + } + } + E() + }) + } + } + }, + 43684: function (k) { + 'use strict' + k.exports = class ResultPlugin { + constructor(k) { + this.source = k + } + apply(k) { + this.source.tapAsync('ResultPlugin', (v, E, P) => { + const R = { ...v } + if (E.log) E.log('reporting result ' + R.path) + k.hooks.result.callAsync(R, E, (k) => { + if (k) return P(k) + if (typeof E.yield === 'function') { + E.yield(R) + P(null, null) + } else { + P(null, R) + } + }) + }) + } + } + }, + 55763: function (k, v, E) { + 'use strict' + const P = E(29779) + class RootsPlugin { + constructor(k, v, E) { + this.roots = Array.from(v) + this.source = k + this.target = E + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('RootsPlugin', (E, R, L) => { + const N = E.request + if (!N) return L() + if (!N.startsWith('/')) return L() + P( + this.roots, + (P, L) => { + const q = k.join(P, N.slice(1)) + const ae = { ...E, path: q, relativePath: E.relativePath && q } + k.doResolve(v, ae, `root path ${P}`, R, L) + }, + L + ) + }) + } + } + k.exports = RootsPlugin + }, + 63816: function (k, v, E) { + 'use strict' + const P = E(40886) + const R = '/'.charCodeAt(0) + k.exports = class SelfReferencePlugin { + constructor(k, v, E) { + this.source = k + this.target = E + this.fieldName = v + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('SelfReferencePlugin', (E, L, N) => { + if (!E.descriptionFilePath) return N() + const q = E.request + if (!q) return N() + const ae = P.getField(E.descriptionFileData, this.fieldName) + if (!ae) return N() + const le = P.getField(E.descriptionFileData, 'name') + if (typeof le !== 'string') return N() + if ( + q.startsWith(le) && + (q.length === le.length || q.charCodeAt(le.length) === R) + ) { + const P = `.${q.slice(le.length)}` + const R = { + ...E, + request: P, + path: E.descriptionFileRoot, + relativePath: '.', + } + k.doResolve(v, R, 'self reference', L, N) + } else { + return N() + } + }) + } + } + }, + 83012: function (k, v, E) { + 'use strict' + const P = E(29779) + const R = E(9010) + const { getType: L, PathType: N } = E(39840) + k.exports = class SymlinkPlugin { + constructor(k, v) { + this.source = k + this.target = v + } + apply(k) { + const v = k.ensureHook(this.target) + const E = k.fileSystem + k.getHook(this.source).tapAsync('SymlinkPlugin', (q, ae, le) => { + if (q.ignoreSymlinks) return le() + const pe = R(q.path) + const me = pe.segments + const ye = pe.paths + let _e = false + let Ie = -1 + P( + ye, + (k, v) => { + Ie++ + if (ae.fileDependencies) ae.fileDependencies.add(k) + E.readlink(k, (k, E) => { + if (!k && E) { + me[Ie] = E + _e = true + const k = L(E.toString()) + if (k === N.AbsoluteWin || k === N.AbsolutePosix) { + return v(null, Ie) + } + } + v() + }) + }, + (E, P) => { + if (!_e) return le() + const R = + typeof P === 'number' ? me.slice(0, P + 1) : me.slice() + const L = R.reduceRight((v, E) => k.join(v, E)) + const N = { ...q, path: L } + k.doResolve(v, N, 'resolved symlink to ' + L, ae, le) + } + ) + }) + } + } + }, + 19674: function (k) { + 'use strict' + function SyncAsyncFileSystemDecorator(k) { + this.fs = k + this.lstat = undefined + this.lstatSync = undefined + const v = k.lstatSync + if (v) { + this.lstat = (E, P, R) => { + let L + try { + L = v.call(k, E) + } catch (k) { + return (R || P)(k) + } + ;(R || P)(null, L) + } + this.lstatSync = (E, P) => v.call(k, E, P) + } + this.stat = (v, E, P) => { + let R + try { + R = P ? k.statSync(v, E) : k.statSync(v) + } catch (k) { + return (P || E)(k) + } + ;(P || E)(null, R) + } + this.statSync = (v, E) => k.statSync(v, E) + this.readdir = (v, E, P) => { + let R + try { + R = k.readdirSync(v) + } catch (k) { + return (P || E)(k) + } + ;(P || E)(null, R) + } + this.readdirSync = (v, E) => k.readdirSync(v, E) + this.readFile = (v, E, P) => { + let R + try { + R = k.readFileSync(v) + } catch (k) { + return (P || E)(k) + } + ;(P || E)(null, R) + } + this.readFileSync = (v, E) => k.readFileSync(v, E) + this.readlink = (v, E, P) => { + let R + try { + R = k.readlinkSync(v) + } catch (k) { + return (P || E)(k) + } + ;(P || E)(null, R) + } + this.readlinkSync = (v, E) => k.readlinkSync(v, E) + this.readJson = undefined + this.readJsonSync = undefined + const E = k.readJsonSync + if (E) { + this.readJson = (v, P, R) => { + let L + try { + L = E.call(k, v) + } catch (k) { + return (R || P)(k) + } + ;(R || P)(null, L) + } + this.readJsonSync = (v, P) => E.call(k, v, P) + } + } + k.exports = SyncAsyncFileSystemDecorator + }, + 2458: function (k) { + 'use strict' + k.exports = class TryNextPlugin { + constructor(k, v, E) { + this.source = k + this.message = v + this.target = E + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('TryNextPlugin', (E, P, R) => { + k.doResolve(v, E, this.message, P, R) + }) + } + } + }, + 61395: function (k) { + 'use strict' + function getCacheId(k, v, E) { + return JSON.stringify({ + type: k, + context: E ? v.context : '', + path: v.path, + query: v.query, + fragment: v.fragment, + request: v.request, + }) + } + k.exports = class UnsafeCachePlugin { + constructor(k, v, E, P, R) { + this.source = k + this.filterPredicate = v + this.withContext = P + this.cache = E + this.target = R + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('UnsafeCachePlugin', (E, P, R) => { + if (!this.filterPredicate(E)) return R() + const L = typeof P.yield === 'function' + const N = getCacheId(L ? 'yield' : 'default', E, this.withContext) + const q = this.cache[N] + if (q) { + if (L) { + const k = P.yield + if (Array.isArray(q)) { + for (const v of q) k(v) + } else { + k(q) + } + return R(null, null) + } + return R(null, q) + } + let ae + let le + const pe = [] + if (L) { + ae = P.yield + le = (k) => { + pe.push(k) + } + } + k.doResolve(v, E, null, le ? { ...P, yield: le } : P, (k, v) => { + if (k) return R(k) + if (L) { + if (v) pe.push(v) + for (const k of pe) { + ae(k) + } + this.cache[N] = pe + return R(null, null) + } + if (v) return R(null, (this.cache[N] = v)) + R() + }) + }) + } + } + }, + 95286: function (k) { + 'use strict' + k.exports = class UseFilePlugin { + constructor(k, v, E) { + this.source = k + this.filename = v + this.target = E + } + apply(k) { + const v = k.ensureHook(this.target) + k.getHook(this.source).tapAsync('UseFilePlugin', (E, P, R) => { + const L = k.join(E.path, this.filename) + const N = { + ...E, + path: L, + relativePath: + E.relativePath && k.join(E.relativePath, this.filename), + } + k.doResolve(v, N, 'using path: ' + L, P, R) + }) + } + } + }, + 29824: function (k) { + 'use strict' + k.exports = function createInnerContext(k, v) { + let E = false + let P = undefined + if (k.log) { + if (v) { + P = (P) => { + if (!E) { + k.log(v) + E = true + } + k.log(' ' + P) + } + } else { + P = k.log + } + } + return { + log: P, + yield: k.yield, + fileDependencies: k.fileDependencies, + contextDependencies: k.contextDependencies, + missingDependencies: k.missingDependencies, + stack: k.stack, + } + } + }, + 29779: function (k) { + 'use strict' + k.exports = function forEachBail(k, v, E) { + if (k.length === 0) return E() + let P = 0 + const next = () => { + let R = undefined + v( + k[P++], + (v, L) => { + if (v || L !== undefined || P >= k.length) { + return E(v, L) + } + if (R === false) while (next()); + R = true + }, + P + ) + if (!R) R = false + return R + } + while (next()); + } + }, + 71606: function (k) { + 'use strict' + k.exports = function getInnerRequest(k, v) { + if ( + typeof v.__innerRequest === 'string' && + v.__innerRequest_request === v.request && + v.__innerRequest_relativePath === v.relativePath + ) + return v.__innerRequest + let E + if (v.request) { + E = v.request + if (/^\.\.?(?:\/|$)/.test(E) && v.relativePath) { + E = k.join(v.relativePath, E) + } + } else { + E = v.relativePath + } + v.__innerRequest_request = v.request + v.__innerRequest_relativePath = v.relativePath + return (v.__innerRequest = E) + } + }, + 9010: function (k) { + 'use strict' + k.exports = function getPaths(k) { + if (k === '/') return { paths: ['/'], segments: [''] } + const v = k.split(/(.*?[\\/]+)/) + const E = [k] + const P = [v[v.length - 1]] + let R = v[v.length - 1] + k = k.substring(0, k.length - R.length - 1) + for (let L = v.length - 2; L > 2; L -= 2) { + E.push(k) + R = v[L] + k = k.substring(0, k.length - R.length) || '/' + P.push(R.slice(0, -1)) + } + R = v[1] + P.push(R) + E.push(R) + return { paths: E, segments: P } + } + k.exports.basename = function basename(k) { + const v = k.lastIndexOf('/'), + E = k.lastIndexOf('\\') + const P = v < 0 ? E : E < 0 ? v : v < E ? E : v + if (P < 0) return null + const R = k.slice(P + 1) + return R + } + }, + 90006: function (k, v, E) { + 'use strict' + const P = E(56450) + const R = E(75943) + const L = E(77747) + const N = new R(P, 4e3) + const q = { environments: ['node+es3+es5+process+native'] } + const ae = L.createResolver({ + conditionNames: ['node'], + extensions: ['.js', '.json', '.node'], + fileSystem: N, + }) + const resolve = (k, v, E, P, R) => { + if (typeof k === 'string') { + R = P + P = E + E = v + v = k + k = q + } + if (typeof R !== 'function') { + R = P + } + ae.resolve(k, v, E, P, R) + } + const le = L.createResolver({ + conditionNames: ['node'], + extensions: ['.js', '.json', '.node'], + useSyncFileSystemCalls: true, + fileSystem: N, + }) + const resolveSync = (k, v, E) => { + if (typeof k === 'string') { + E = v + v = k + k = q + } + return le.resolveSync(k, v, E) + } + function create(k) { + const v = L.createResolver({ fileSystem: N, ...k }) + return function (k, E, P, R, L) { + if (typeof k === 'string') { + L = R + R = P + P = E + E = k + k = q + } + if (typeof L !== 'function') { + L = R + } + v.resolve(k, E, P, R, L) + } + } + function createSync(k) { + const v = L.createResolver({ + useSyncFileSystemCalls: true, + fileSystem: N, + ...k, + }) + return function (k, E, P) { + if (typeof k === 'string') { + P = E + E = k + k = q + } + return v.resolveSync(k, E, P) + } + } + const mergeExports = (k, v) => { + const E = Object.getOwnPropertyDescriptors(v) + Object.defineProperties(k, E) + return Object.freeze(k) + } + k.exports = mergeExports(resolve, { + get sync() { + return resolveSync + }, + create: mergeExports(create, { + get sync() { + return createSync + }, + }), + ResolverFactory: L, + CachedInputFileSystem: R, + get CloneBasenamePlugin() { + return E(63871) + }, + get LogInfoPlugin() { + return E(92305) + }, + get forEachBail() { + return E(29779) + }, + }) + }, + 36914: function (k) { + 'use strict' + const v = '/'.charCodeAt(0) + const E = '.'.charCodeAt(0) + const P = '#'.charCodeAt(0) + const R = /\*/g + k.exports.processExportsField = function processExportsField(k) { + return createFieldProcessor( + buildExportsField(k), + (k) => (k.length === 0 ? '.' : './' + k), + assertExportsFieldRequest, + assertExportTarget + ) + } + k.exports.processImportsField = function processImportsField(k) { + return createFieldProcessor( + buildImportsField(k), + (k) => '#' + k, + assertImportsFieldRequest, + assertImportTarget + ) + } + function createFieldProcessor(k, v, E, P) { + return function fieldProcessor(R, L) { + R = E(R) + const N = findMatch(v(R), k) + if (N === null) return [] + const [q, ae, le, pe] = N + let me = null + if (isConditionalMapping(q)) { + me = conditionalMapping(q, L) + if (me === null) return [] + } else { + me = q + } + return directMapping(ae, pe, le, me, L, P) + } + } + function assertExportsFieldRequest(k) { + if (k.charCodeAt(0) !== E) { + throw new Error('Request should be relative path and start with "."') + } + if (k.length === 1) return '' + if (k.charCodeAt(1) !== v) { + throw new Error('Request should be relative path and start with "./"') + } + if (k.charCodeAt(k.length - 1) === v) { + throw new Error('Only requesting file allowed') + } + return k.slice(2) + } + function assertImportsFieldRequest(k) { + if (k.charCodeAt(0) !== P) { + throw new Error('Request should start with "#"') + } + if (k.length === 1) { + throw new Error('Request should have at least 2 characters') + } + if (k.charCodeAt(1) === v) { + throw new Error('Request should not start with "#/"') + } + if (k.charCodeAt(k.length - 1) === v) { + throw new Error('Only requesting file allowed') + } + return k.slice(1) + } + function assertExportTarget(k, P) { + if ( + k.charCodeAt(0) === v || + (k.charCodeAt(0) === E && k.charCodeAt(1) !== v) + ) { + throw new Error( + `Export should be relative path and start with "./", got ${JSON.stringify( + k + )}.` + ) + } + const R = k.charCodeAt(k.length - 1) === v + if (R !== P) { + throw new Error( + P + ? `Expecting folder to folder mapping. ${JSON.stringify( + k + )} should end with "/"` + : `Expecting file to file mapping. ${JSON.stringify( + k + )} should not end with "/"` + ) + } + } + function assertImportTarget(k, E) { + const P = k.charCodeAt(k.length - 1) === v + if (P !== E) { + throw new Error( + E + ? `Expecting folder to folder mapping. ${JSON.stringify( + k + )} should end with "/"` + : `Expecting file to file mapping. ${JSON.stringify( + k + )} should not end with "/"` + ) + } + } + function patternKeyCompare(k, v) { + const E = k.indexOf('*') + const P = v.indexOf('*') + const R = E === -1 ? k.length : E + 1 + const L = P === -1 ? v.length : P + 1 + if (R > L) return -1 + if (L > R) return 1 + if (E === -1) return 1 + if (P === -1) return -1 + if (k.length > v.length) return -1 + if (v.length > k.length) return 1 + return 0 + } + function findMatch(k, v) { + if ( + Object.prototype.hasOwnProperty.call(v, k) && + !k.includes('*') && + !k.endsWith('/') + ) { + const E = v[k] + return [E, '', false, false] + } + let E = '' + let P + const R = Object.getOwnPropertyNames(v) + for (let v = 0; v < R.length; v++) { + const L = R[v] + const N = L.indexOf('*') + if (N !== -1 && k.startsWith(L.slice(0, N))) { + const v = L.slice(N + 1) + if ( + k.length >= L.length && + k.endsWith(v) && + patternKeyCompare(E, L) === 1 && + L.lastIndexOf('*') === N + ) { + E = L + P = k.slice(N, k.length - v.length) + } + } else if ( + L[L.length - 1] === '/' && + k.startsWith(L) && + patternKeyCompare(E, L) === 1 + ) { + E = L + P = k.slice(L.length) + } + } + if (E === '') return null + const L = v[E] + const N = E.endsWith('/') + const q = E.includes('*') + return [L, P, N, q] + } + function isConditionalMapping(k) { + return k !== null && typeof k === 'object' && !Array.isArray(k) + } + function directMapping(k, v, E, P, R, L) { + if (P === null) return [] + if (typeof P === 'string') { + return [targetMapping(k, v, E, P, L)] + } + const N = [] + for (const q of P) { + if (typeof q === 'string') { + N.push(targetMapping(k, v, E, q, L)) + continue + } + const P = conditionalMapping(q, R) + if (!P) continue + const ae = directMapping(k, v, E, P, R, L) + for (const k of ae) { + N.push(k) + } + } + return N + } + function targetMapping(k, v, E, P, L) { + if (k === undefined) { + L(P, false) + return P + } + if (E) { + L(P, true) + return P + k + } + L(P, false) + let N = P + if (v) { + N = N.replace(R, k.replace(/\$/g, '$$')) + } + return N + } + function conditionalMapping(k, v) { + let E = [[k, Object.keys(k), 0]] + e: while (E.length > 0) { + const [k, P, R] = E[E.length - 1] + const L = P.length - 1 + for (let N = R; N < P.length; N++) { + const R = P[N] + if (N !== L) { + if (R === 'default') { + throw new Error('Default condition should be last one') + } + } else if (R === 'default') { + const v = k[R] + if (isConditionalMapping(v)) { + const k = v + E[E.length - 1][2] = N + 1 + E.push([k, Object.keys(k), 0]) + continue e + } + return v + } + if (v.has(R)) { + const v = k[R] + if (isConditionalMapping(v)) { + const k = v + E[E.length - 1][2] = N + 1 + E.push([k, Object.keys(k), 0]) + continue e + } + return v + } + } + E.pop() + } + return null + } + function buildExportsField(k) { + if (typeof k === 'string' || Array.isArray(k)) { + return { '.': k } + } + const P = Object.keys(k) + for (let R = 0; R < P.length; R++) { + const L = P[R] + if (L.charCodeAt(0) !== E) { + if (R === 0) { + while (R < P.length) { + const k = P[R].charCodeAt(0) + if (k === E || k === v) { + throw new Error( + `Exports field key should be relative path and start with "." (key: ${JSON.stringify( + L + )})` + ) + } + R++ + } + return { '.': k } + } + throw new Error( + `Exports field key should be relative path and start with "." (key: ${JSON.stringify( + L + )})` + ) + } + if (L.length === 1) { + continue + } + if (L.charCodeAt(1) !== v) { + throw new Error( + `Exports field key should be relative path and start with "./" (key: ${JSON.stringify( + L + )})` + ) + } + } + return k + } + function buildImportsField(k) { + const E = Object.keys(k) + for (let k = 0; k < E.length; k++) { + const R = E[k] + if (R.charCodeAt(0) !== P) { + throw new Error( + `Imports field key should start with "#" (key: ${JSON.stringify( + R + )})` + ) + } + if (R.length === 1) { + throw new Error( + `Imports field key should have at least 2 characters (key: ${JSON.stringify( + R + )})` + ) + } + if (R.charCodeAt(1) === v) { + throw new Error( + `Imports field key should not start with "#/" (key: ${JSON.stringify( + R + )})` + ) + } + } + return k + } + }, + 60097: function (k) { + 'use strict' + const v = /^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/ + function parseIdentifier(k) { + const E = v.exec(k) + if (!E) return null + return [ + E[1].replace(/\0(.)/g, '$1'), + E[2] ? E[2].replace(/\0(.)/g, '$1') : '', + E[3] || '', + ] + } + k.exports.parseIdentifier = parseIdentifier + }, + 39840: function (k, v, E) { + 'use strict' + const P = E(71017) + const R = '#'.charCodeAt(0) + const L = '/'.charCodeAt(0) + const N = '\\'.charCodeAt(0) + const q = 'A'.charCodeAt(0) + const ae = 'Z'.charCodeAt(0) + const le = 'a'.charCodeAt(0) + const pe = 'z'.charCodeAt(0) + const me = '.'.charCodeAt(0) + const ye = ':'.charCodeAt(0) + const _e = P.posix.normalize + const Ie = P.win32.normalize + const Me = Object.freeze({ + Empty: 0, + Normal: 1, + Relative: 2, + AbsoluteWin: 3, + AbsolutePosix: 4, + Internal: 5, + }) + v.PathType = Me + const getType = (k) => { + switch (k.length) { + case 0: + return Me.Empty + case 1: { + const v = k.charCodeAt(0) + switch (v) { + case me: + return Me.Relative + case L: + return Me.AbsolutePosix + case R: + return Me.Internal + } + return Me.Normal + } + case 2: { + const v = k.charCodeAt(0) + switch (v) { + case me: { + const v = k.charCodeAt(1) + switch (v) { + case me: + case L: + return Me.Relative + } + return Me.Normal + } + case L: + return Me.AbsolutePosix + case R: + return Me.Internal + } + const E = k.charCodeAt(1) + if (E === ye) { + if ((v >= q && v <= ae) || (v >= le && v <= pe)) { + return Me.AbsoluteWin + } + } + return Me.Normal + } + } + const v = k.charCodeAt(0) + switch (v) { + case me: { + const v = k.charCodeAt(1) + switch (v) { + case L: + return Me.Relative + case me: { + const v = k.charCodeAt(2) + if (v === L) return Me.Relative + return Me.Normal + } + } + return Me.Normal + } + case L: + return Me.AbsolutePosix + case R: + return Me.Internal + } + const E = k.charCodeAt(1) + if (E === ye) { + const E = k.charCodeAt(2) + if ( + (E === N || E === L) && + ((v >= q && v <= ae) || (v >= le && v <= pe)) + ) { + return Me.AbsoluteWin + } + } + return Me.Normal + } + v.getType = getType + const normalize = (k) => { + switch (getType(k)) { + case Me.Empty: + return k + case Me.AbsoluteWin: + return Ie(k) + case Me.Relative: { + const v = _e(k) + return getType(v) === Me.Relative ? v : `./${v}` + } + } + return _e(k) + } + v.normalize = normalize + const join = (k, v) => { + if (!v) return normalize(k) + const E = getType(v) + switch (E) { + case Me.AbsolutePosix: + return _e(v) + case Me.AbsoluteWin: + return Ie(v) + } + switch (getType(k)) { + case Me.Normal: + case Me.Relative: + case Me.AbsolutePosix: + return _e(`${k}/${v}`) + case Me.AbsoluteWin: + return Ie(`${k}\\${v}`) + } + switch (E) { + case Me.Empty: + return k + case Me.Relative: { + const v = _e(k) + return getType(v) === Me.Relative ? v : `./${v}` + } + } + return _e(k) + } + v.join = join + const Te = new Map() + const cachedJoin = (k, v) => { + let E + let P = Te.get(k) + if (P === undefined) { + Te.set(k, (P = new Map())) + } else { + E = P.get(v) + if (E !== undefined) return E + } + E = join(k, v) + P.set(v, E) + return E + } + v.cachedJoin = cachedJoin + const checkImportsExportsFieldTarget = (k) => { + let v = 0 + let E = k.indexOf('/', 1) + let P = 0 + while (E !== -1) { + const R = k.slice(v, E) + switch (R) { + case '..': { + P-- + if (P < 0) + return new Error( + `Trying to access out of package scope. Requesting ${k}` + ) + break + } + case '.': + break + default: + P++ + break + } + v = E + 1 + E = k.indexOf('/', v) + } + } + v.checkImportsExportsFieldTarget = checkImportsExportsFieldTarget + }, + 84494: function (k, v, E) { + 'use strict' + const P = E(30529) + class Definition { + constructor(k, v, E, P, R, L) { + this.type = k + this.name = v + this.node = E + this.parent = P + this.index = R + this.kind = L + } + } + class ParameterDefinition extends Definition { + constructor(k, v, E, R) { + super(P.Parameter, k, v, null, E, null) + this.rest = R + } + } + k.exports = { + ParameterDefinition: ParameterDefinition, + Definition: Definition, + } + }, + 12836: function (k, v, E) { + 'use strict' + const P = E(39491) + const R = E(40680) + const L = E(48648) + const N = E(21621) + const q = E(30529) + const ae = E(18802).Scope + const le = E(13348).i8 + function defaultOptions() { + return { + optimistic: false, + directive: false, + nodejsScope: false, + impliedStrict: false, + sourceType: 'script', + ecmaVersion: 5, + childVisitorKeys: null, + fallback: 'iteration', + } + } + function updateDeeply(k, v) { + function isHashObject(k) { + return ( + typeof k === 'object' && + k instanceof Object && + !(k instanceof Array) && + !(k instanceof RegExp) + ) + } + for (const E in v) { + if (Object.prototype.hasOwnProperty.call(v, E)) { + const P = v[E] + if (isHashObject(P)) { + if (isHashObject(k[E])) { + updateDeeply(k[E], P) + } else { + k[E] = updateDeeply({}, P) + } + } else { + k[E] = P + } + } + } + return k + } + function analyze(k, v) { + const E = updateDeeply(defaultOptions(), v) + const N = new R(E) + const q = new L(E, N) + q.visit(k) + P(N.__currentScope === null, 'currentScope should be null.') + return N + } + k.exports = { + version: le, + Reference: N, + Variable: q, + Scope: ae, + ScopeManager: R, + analyze: analyze, + } + }, + 62999: function (k, v, E) { + 'use strict' + const P = E(12205).Syntax + const R = E(41396) + function getLast(k) { + return k[k.length - 1] || null + } + class PatternVisitor extends R.Visitor { + static isPattern(k) { + const v = k.type + return ( + v === P.Identifier || + v === P.ObjectPattern || + v === P.ArrayPattern || + v === P.SpreadElement || + v === P.RestElement || + v === P.AssignmentPattern + ) + } + constructor(k, v, E) { + super(null, k) + this.rootPattern = v + this.callback = E + this.assignments = [] + this.rightHandNodes = [] + this.restElements = [] + } + Identifier(k) { + const v = getLast(this.restElements) + this.callback(k, { + topLevel: k === this.rootPattern, + rest: v !== null && v !== undefined && v.argument === k, + assignments: this.assignments, + }) + } + Property(k) { + if (k.computed) { + this.rightHandNodes.push(k.key) + } + this.visit(k.value) + } + ArrayPattern(k) { + for (let v = 0, E = k.elements.length; v < E; ++v) { + const E = k.elements[v] + this.visit(E) + } + } + AssignmentPattern(k) { + this.assignments.push(k) + this.visit(k.left) + this.rightHandNodes.push(k.right) + this.assignments.pop() + } + RestElement(k) { + this.restElements.push(k) + this.visit(k.argument) + this.restElements.pop() + } + MemberExpression(k) { + if (k.computed) { + this.rightHandNodes.push(k.property) + } + this.rightHandNodes.push(k.object) + } + SpreadElement(k) { + this.visit(k.argument) + } + ArrayExpression(k) { + k.elements.forEach(this.visit, this) + } + AssignmentExpression(k) { + this.assignments.push(k) + this.visit(k.left) + this.rightHandNodes.push(k.right) + this.assignments.pop() + } + CallExpression(k) { + k.arguments.forEach((k) => { + this.rightHandNodes.push(k) + }) + this.visit(k.callee) + } + } + k.exports = PatternVisitor + }, + 21621: function (k) { + 'use strict' + const v = 1 + const E = 2 + const P = v | E + class Reference { + constructor(k, v, E, P, R, L, N) { + this.identifier = k + this.from = v + this.tainted = false + this.resolved = null + this.flag = E + if (this.isWrite()) { + this.writeExpr = P + this.partial = L + this.init = N + } + this.__maybeImplicitGlobal = R + } + 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 = v + Reference.WRITE = E + Reference.RW = P + k.exports = Reference + }, + 48648: function (k, v, E) { + 'use strict' + const P = E(12205).Syntax + const R = E(41396) + const L = E(21621) + const N = E(30529) + const q = E(62999) + const ae = E(84494) + const le = E(39491) + const pe = ae.ParameterDefinition + const me = ae.Definition + function traverseIdentifierInPattern(k, v, E, P) { + const R = new q(k, v, P) + R.visit(v) + if (E !== null && E !== undefined) { + R.rightHandNodes.forEach(E.visit, E) + } + } + class Importer extends R.Visitor { + constructor(k, v) { + super(null, v.options) + this.declaration = k + this.referencer = v + } + visitImport(k, v) { + this.referencer.visitPattern(k, (k) => { + this.referencer + .currentScope() + .__define( + k, + new me(N.ImportBinding, k, v, this.declaration, null, null) + ) + }) + } + ImportNamespaceSpecifier(k) { + const v = k.local || k.id + if (v) { + this.visitImport(v, k) + } + } + ImportDefaultSpecifier(k) { + const v = k.local || k.id + this.visitImport(v, k) + } + ImportSpecifier(k) { + const v = k.local || k.id + if (k.name) { + this.visitImport(k.name, k) + } else { + this.visitImport(v, k) + } + } + } + class Referencer extends R.Visitor { + constructor(k, v) { + super(null, k) + this.options = k + this.scopeManager = v + this.parent = null + this.isInnerMethodDefinition = false + } + currentScope() { + return this.scopeManager.__currentScope + } + close(k) { + while (this.currentScope() && k === this.currentScope().block) { + this.scopeManager.__currentScope = this.currentScope().__close( + this.scopeManager + ) + } + } + pushInnerMethodDefinition(k) { + const v = this.isInnerMethodDefinition + this.isInnerMethodDefinition = k + return v + } + popInnerMethodDefinition(k) { + this.isInnerMethodDefinition = k + } + referencingDefaultValue(k, v, E, P) { + const R = this.currentScope() + v.forEach((v) => { + R.__referencing(k, L.WRITE, v.right, E, k !== v.left, P) + }) + } + visitPattern(k, v, E) { + let P = v + let R = E + if (typeof v === 'function') { + R = v + P = { processRightHandNodes: false } + } + traverseIdentifierInPattern( + this.options, + k, + P.processRightHandNodes ? this : null, + R + ) + } + visitFunction(k) { + let v, E + if (k.type === P.FunctionDeclaration) { + this.currentScope().__define( + k.id, + new me(N.FunctionName, k.id, k, null, null, null) + ) + } + if (k.type === P.FunctionExpression && k.id) { + this.scopeManager.__nestFunctionExpressionNameScope(k) + } + this.scopeManager.__nestFunctionScope(k, this.isInnerMethodDefinition) + const R = this + function visitPatternCallback(E, P) { + R.currentScope().__define(E, new pe(E, k, v, P.rest)) + R.referencingDefaultValue(E, P.assignments, null, true) + } + for (v = 0, E = k.params.length; v < E; ++v) { + this.visitPattern( + k.params[v], + { processRightHandNodes: true }, + visitPatternCallback + ) + } + if (k.rest) { + this.visitPattern( + { type: 'RestElement', argument: k.rest }, + (v) => { + this.currentScope().__define( + v, + new pe(v, k, k.params.length, true) + ) + } + ) + } + if (k.body) { + if (k.body.type === P.BlockStatement) { + this.visitChildren(k.body) + } else { + this.visit(k.body) + } + } + this.close(k) + } + visitClass(k) { + if (k.type === P.ClassDeclaration) { + this.currentScope().__define( + k.id, + new me(N.ClassName, k.id, k, null, null, null) + ) + } + this.visit(k.superClass) + this.scopeManager.__nestClassScope(k) + if (k.id) { + this.currentScope().__define(k.id, new me(N.ClassName, k.id, k)) + } + this.visit(k.body) + this.close(k) + } + visitProperty(k) { + let v + if (k.computed) { + this.visit(k.key) + } + const E = k.type === P.MethodDefinition + if (E) { + v = this.pushInnerMethodDefinition(true) + } + this.visit(k.value) + if (E) { + this.popInnerMethodDefinition(v) + } + } + visitForIn(k) { + if (k.left.type === P.VariableDeclaration && k.left.kind !== 'var') { + this.scopeManager.__nestForScope(k) + } + if (k.left.type === P.VariableDeclaration) { + this.visit(k.left) + this.visitPattern(k.left.declarations[0].id, (v) => { + this.currentScope().__referencing( + v, + L.WRITE, + k.right, + null, + true, + true + ) + }) + } else { + this.visitPattern( + k.left, + { processRightHandNodes: true }, + (v, E) => { + let P = null + if (!this.currentScope().isStrict) { + P = { pattern: v, node: k } + } + this.referencingDefaultValue(v, E.assignments, P, false) + this.currentScope().__referencing( + v, + L.WRITE, + k.right, + P, + true, + false + ) + } + ) + } + this.visit(k.right) + this.visit(k.body) + this.close(k) + } + visitVariableDeclaration(k, v, E, P) { + const R = E.declarations[P] + const N = R.init + this.visitPattern(R.id, { processRightHandNodes: true }, (q, ae) => { + k.__define(q, new me(v, q, R, E, P, E.kind)) + this.referencingDefaultValue(q, ae.assignments, null, true) + if (N) { + this.currentScope().__referencing( + q, + L.WRITE, + N, + null, + !ae.topLevel, + true + ) + } + }) + } + AssignmentExpression(k) { + if (q.isPattern(k.left)) { + if (k.operator === '=') { + this.visitPattern( + k.left, + { processRightHandNodes: true }, + (v, E) => { + let P = null + if (!this.currentScope().isStrict) { + P = { pattern: v, node: k } + } + this.referencingDefaultValue(v, E.assignments, P, false) + this.currentScope().__referencing( + v, + L.WRITE, + k.right, + P, + !E.topLevel, + false + ) + } + ) + } else { + this.currentScope().__referencing(k.left, L.RW, k.right) + } + } else { + this.visit(k.left) + } + this.visit(k.right) + } + CatchClause(k) { + this.scopeManager.__nestCatchScope(k) + this.visitPattern( + k.param, + { processRightHandNodes: true }, + (v, E) => { + this.currentScope().__define( + v, + new me(N.CatchClause, k.param, k, null, null, null) + ) + this.referencingDefaultValue(v, E.assignments, null, true) + } + ) + this.visit(k.body) + this.close(k) + } + Program(k) { + this.scopeManager.__nestGlobalScope(k) + if (this.scopeManager.__isNodejsScope()) { + this.currentScope().isStrict = false + this.scopeManager.__nestFunctionScope(k, false) + } + if (this.scopeManager.__isES6() && this.scopeManager.isModule()) { + this.scopeManager.__nestModuleScope(k) + } + if ( + this.scopeManager.isStrictModeSupported() && + this.scopeManager.isImpliedStrict() + ) { + this.currentScope().isStrict = true + } + this.visitChildren(k) + this.close(k) + } + Identifier(k) { + this.currentScope().__referencing(k) + } + UpdateExpression(k) { + if (q.isPattern(k.argument)) { + this.currentScope().__referencing(k.argument, L.RW, null) + } else { + this.visitChildren(k) + } + } + MemberExpression(k) { + this.visit(k.object) + if (k.computed) { + this.visit(k.property) + } + } + Property(k) { + this.visitProperty(k) + } + MethodDefinition(k) { + this.visitProperty(k) + } + BreakStatement() {} + ContinueStatement() {} + LabeledStatement(k) { + this.visit(k.body) + } + ForStatement(k) { + if ( + k.init && + k.init.type === P.VariableDeclaration && + k.init.kind !== 'var' + ) { + this.scopeManager.__nestForScope(k) + } + this.visitChildren(k) + this.close(k) + } + ClassExpression(k) { + this.visitClass(k) + } + ClassDeclaration(k) { + this.visitClass(k) + } + CallExpression(k) { + if ( + !this.scopeManager.__ignoreEval() && + k.callee.type === P.Identifier && + k.callee.name === 'eval' + ) { + this.currentScope().variableScope.__detectEval() + } + this.visitChildren(k) + } + BlockStatement(k) { + if (this.scopeManager.__isES6()) { + this.scopeManager.__nestBlockScope(k) + } + this.visitChildren(k) + this.close(k) + } + ThisExpression() { + this.currentScope().variableScope.__detectThis() + } + WithStatement(k) { + this.visit(k.object) + this.scopeManager.__nestWithScope(k) + this.visit(k.body) + this.close(k) + } + VariableDeclaration(k) { + const v = + k.kind === 'var' + ? this.currentScope().variableScope + : this.currentScope() + for (let E = 0, P = k.declarations.length; E < P; ++E) { + const P = k.declarations[E] + this.visitVariableDeclaration(v, N.Variable, k, E) + if (P.init) { + this.visit(P.init) + } + } + } + SwitchStatement(k) { + this.visit(k.discriminant) + if (this.scopeManager.__isES6()) { + this.scopeManager.__nestSwitchScope(k) + } + for (let v = 0, E = k.cases.length; v < E; ++v) { + this.visit(k.cases[v]) + } + this.close(k) + } + FunctionDeclaration(k) { + this.visitFunction(k) + } + FunctionExpression(k) { + this.visitFunction(k) + } + ForOfStatement(k) { + this.visitForIn(k) + } + ForInStatement(k) { + this.visitForIn(k) + } + ArrowFunctionExpression(k) { + this.visitFunction(k) + } + ImportDeclaration(k) { + le( + this.scopeManager.__isES6() && this.scopeManager.isModule(), + 'ImportDeclaration should appear when the mode is ES6 and in the module context.' + ) + const v = new Importer(k, this) + v.visit(k) + } + visitExportDeclaration(k) { + if (k.source) { + return + } + if (k.declaration) { + this.visit(k.declaration) + return + } + this.visitChildren(k) + } + ExportDeclaration(k) { + this.visitExportDeclaration(k) + } + ExportAllDeclaration(k) { + this.visitExportDeclaration(k) + } + ExportDefaultDeclaration(k) { + this.visitExportDeclaration(k) + } + ExportNamedDeclaration(k) { + this.visitExportDeclaration(k) + } + ExportSpecifier(k) { + const v = k.id || k.local + this.visit(v) + } + MetaProperty() {} + } + k.exports = Referencer + }, + 40680: function (k, v, E) { + 'use strict' + const P = E(18802) + const R = E(39491) + const L = P.GlobalScope + const N = P.CatchScope + const q = P.WithScope + const ae = P.ModuleScope + const le = P.ClassScope + const pe = P.SwitchScope + const me = P.FunctionScope + const ye = P.ForScope + const _e = P.FunctionExpressionNameScope + const Ie = P.BlockScope + class ScopeManager { + constructor(k) { + this.scopes = [] + this.globalScope = null + this.__nodeToScope = new WeakMap() + this.__currentScope = null + this.__options = k + 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(k) { + return this.__nodeToScope.get(k) + } + getDeclaredVariables(k) { + return this.__declaredVariables.get(k) || [] + } + acquire(k, v) { + function predicate(k) { + if (k.type === 'function' && k.functionExpressionScope) { + return false + } + return true + } + const E = this.__get(k) + if (!E || E.length === 0) { + return null + } + if (E.length === 1) { + return E[0] + } + if (v) { + for (let k = E.length - 1; k >= 0; --k) { + const v = E[k] + if (predicate(v)) { + return v + } + } + } else { + for (let k = 0, v = E.length; k < v; ++k) { + const v = E[k] + if (predicate(v)) { + return v + } + } + } + return null + } + acquireAll(k) { + return this.__get(k) + } + release(k, v) { + const E = this.__get(k) + if (E && E.length) { + const k = E[0].upper + if (!k) { + return null + } + return this.acquire(k.block, v) + } + return null + } + attach() {} + detach() {} + __nestScope(k) { + if (k instanceof L) { + R(this.__currentScope === null) + this.globalScope = k + } + this.__currentScope = k + return k + } + __nestGlobalScope(k) { + return this.__nestScope(new L(this, k)) + } + __nestBlockScope(k) { + return this.__nestScope(new Ie(this, this.__currentScope, k)) + } + __nestFunctionScope(k, v) { + return this.__nestScope(new me(this, this.__currentScope, k, v)) + } + __nestForScope(k) { + return this.__nestScope(new ye(this, this.__currentScope, k)) + } + __nestCatchScope(k) { + return this.__nestScope(new N(this, this.__currentScope, k)) + } + __nestWithScope(k) { + return this.__nestScope(new q(this, this.__currentScope, k)) + } + __nestClassScope(k) { + return this.__nestScope(new le(this, this.__currentScope, k)) + } + __nestSwitchScope(k) { + return this.__nestScope(new pe(this, this.__currentScope, k)) + } + __nestModuleScope(k) { + return this.__nestScope(new ae(this, this.__currentScope, k)) + } + __nestFunctionExpressionNameScope(k) { + return this.__nestScope(new _e(this, this.__currentScope, k)) + } + __isES6() { + return this.__options.ecmaVersion >= 6 + } + } + k.exports = ScopeManager + }, + 18802: function (k, v, E) { + 'use strict' + const P = E(12205).Syntax + const R = E(21621) + const L = E(30529) + const N = E(84494).Definition + const q = E(39491) + function isStrictScope(k, v, E, R) { + let L + if (k.upper && k.upper.isStrict) { + return true + } + if (E) { + return true + } + if (k.type === 'class' || k.type === 'module') { + return true + } + if (k.type === 'block' || k.type === 'switch') { + return false + } + if (k.type === 'function') { + if ( + v.type === P.ArrowFunctionExpression && + v.body.type !== P.BlockStatement + ) { + return false + } + if (v.type === P.Program) { + L = v + } else { + L = v.body + } + if (!L) { + return false + } + } else if (k.type === 'global') { + L = v + } else { + return false + } + if (R) { + for (let k = 0, v = L.body.length; k < v; ++k) { + const v = L.body[k] + if (v.type !== P.DirectiveStatement) { + break + } + if (v.raw === '"use strict"' || v.raw === "'use strict'") { + return true + } + } + } else { + for (let k = 0, v = L.body.length; k < v; ++k) { + const v = L.body[k] + if (v.type !== P.ExpressionStatement) { + break + } + const E = v.expression + if (E.type !== P.Literal || typeof E.value !== 'string') { + break + } + if (E.raw !== null && E.raw !== undefined) { + if (E.raw === '"use strict"' || E.raw === "'use strict'") { + return true + } + } else { + if (E.value === 'use strict') { + return true + } + } + } + } + return false + } + function registerScope(k, v) { + k.scopes.push(v) + const E = k.__nodeToScope.get(v.block) + if (E) { + E.push(v) + } else { + k.__nodeToScope.set(v.block, [v]) + } + } + function shouldBeStatically(k) { + return ( + k.type === L.ClassName || + (k.type === L.Variable && k.parent.kind !== 'var') + ) + } + class Scope { + constructor(k, v, E, P, R) { + this.type = v + this.set = new Map() + this.taints = new Map() + this.dynamic = this.type === 'global' || this.type === 'with' + this.block = P + this.through = [] + this.variables = [] + this.references = [] + this.variableScope = + this.type === 'global' || + this.type === 'function' || + this.type === 'module' + ? this + : E.variableScope + this.functionExpressionScope = false + this.directCallToEvalScope = false + this.thisFound = false + this.__left = [] + this.upper = E + this.isStrict = isStrictScope(this, P, R, k.__useDirective()) + this.childScopes = [] + if (this.upper) { + this.upper.childScopes.push(this) + } + this.__declaredVariables = k.__declaredVariables + registerScope(k, this) + } + __shouldStaticallyClose(k) { + return !this.dynamic || k.__isOptimistic() + } + __shouldStaticallyCloseForGlobal(k) { + const v = k.identifier.name + if (!this.set.has(v)) { + return false + } + const E = this.set.get(v) + const P = E.defs + return P.length > 0 && P.every(shouldBeStatically) + } + __staticCloseRef(k) { + if (!this.__resolve(k)) { + this.__delegateToUpperScope(k) + } + } + __dynamicCloseRef(k) { + let v = this + do { + v.through.push(k) + v = v.upper + } while (v) + } + __globalCloseRef(k) { + if (this.__shouldStaticallyCloseForGlobal(k)) { + this.__staticCloseRef(k) + } else { + this.__dynamicCloseRef(k) + } + } + __close(k) { + let v + if (this.__shouldStaticallyClose(k)) { + v = this.__staticCloseRef + } else if (this.type !== 'global') { + v = this.__dynamicCloseRef + } else { + v = this.__globalCloseRef + } + for (let k = 0, E = this.__left.length; k < E; ++k) { + const E = this.__left[k] + v.call(this, E) + } + this.__left = null + return this.upper + } + __isValidResolution(k, v) { + return true + } + __resolve(k) { + const v = k.identifier.name + if (!this.set.has(v)) { + return false + } + const E = this.set.get(v) + if (!this.__isValidResolution(k, E)) { + return false + } + E.references.push(k) + E.stack = E.stack && k.from.variableScope === this.variableScope + if (k.tainted) { + E.tainted = true + this.taints.set(E.name, true) + } + k.resolved = E + return true + } + __delegateToUpperScope(k) { + if (this.upper) { + this.upper.__left.push(k) + } + this.through.push(k) + } + __addDeclaredVariablesOfNode(k, v) { + if (v === null || v === undefined) { + return + } + let E = this.__declaredVariables.get(v) + if (E === null || E === undefined) { + E = [] + this.__declaredVariables.set(v, E) + } + if (E.indexOf(k) === -1) { + E.push(k) + } + } + __defineGeneric(k, v, E, P, R) { + let N + N = v.get(k) + if (!N) { + N = new L(k, this) + v.set(k, N) + E.push(N) + } + if (R) { + N.defs.push(R) + this.__addDeclaredVariablesOfNode(N, R.node) + this.__addDeclaredVariablesOfNode(N, R.parent) + } + if (P) { + N.identifiers.push(P) + } + } + __define(k, v) { + if (k && k.type === P.Identifier) { + this.__defineGeneric(k.name, this.set, this.variables, k, v) + } + } + __referencing(k, v, E, L, N, q) { + if (!k || k.type !== P.Identifier) { + return + } + if (k.name === 'super') { + return + } + const ae = new R(k, this, v || R.READ, E, L, !!N, !!q) + this.references.push(ae) + this.__left.push(ae) + } + __detectEval() { + let k = this + this.directCallToEvalScope = true + do { + k.dynamic = true + k = k.upper + } while (k) + } + __detectThis() { + this.thisFound = true + } + __isClosed() { + return this.__left === null + } + resolve(k) { + let v, E, R + q(this.__isClosed(), 'Scope should be closed.') + q(k.type === P.Identifier, 'Target should be identifier.') + for (E = 0, R = this.references.length; E < R; ++E) { + v = this.references[E] + if (v.identifier === k) { + return v + } + } + return null + } + isStatic() { + return !this.dynamic + } + isArgumentsMaterialized() { + return true + } + isThisMaterialized() { + return true + } + isUsedName(k) { + if (this.set.has(k)) { + return true + } + for (let v = 0, E = this.through.length; v < E; ++v) { + if (this.through[v].identifier.name === k) { + return true + } + } + return false + } + } + class GlobalScope extends Scope { + constructor(k, v) { + super(k, 'global', null, v, false) + this.implicit = { set: new Map(), variables: [], left: [] } + } + __close(k) { + const v = [] + for (let k = 0, E = this.__left.length; k < E; ++k) { + const E = this.__left[k] + if (E.__maybeImplicitGlobal && !this.set.has(E.identifier.name)) { + v.push(E.__maybeImplicitGlobal) + } + } + for (let k = 0, E = v.length; k < E; ++k) { + const E = v[k] + this.__defineImplicit( + E.pattern, + new N( + L.ImplicitGlobalVariable, + E.pattern, + E.node, + null, + null, + null + ) + ) + } + this.implicit.left = this.__left + return super.__close(k) + } + __defineImplicit(k, v) { + if (k && k.type === P.Identifier) { + this.__defineGeneric( + k.name, + this.implicit.set, + this.implicit.variables, + k, + v + ) + } + } + } + class ModuleScope extends Scope { + constructor(k, v, E) { + super(k, 'module', v, E, false) + } + } + class FunctionExpressionNameScope extends Scope { + constructor(k, v, E) { + super(k, 'function-expression-name', v, E, false) + this.__define(E.id, new N(L.FunctionName, E.id, E, null, null, null)) + this.functionExpressionScope = true + } + } + class CatchScope extends Scope { + constructor(k, v, E) { + super(k, 'catch', v, E, false) + } + } + class WithScope extends Scope { + constructor(k, v, E) { + super(k, 'with', v, E, false) + } + __close(k) { + if (this.__shouldStaticallyClose(k)) { + return super.__close(k) + } + for (let k = 0, v = this.__left.length; k < v; ++k) { + const v = this.__left[k] + v.tainted = true + this.__delegateToUpperScope(v) + } + this.__left = null + return this.upper + } + } + class BlockScope extends Scope { + constructor(k, v, E) { + super(k, 'block', v, E, false) + } + } + class SwitchScope extends Scope { + constructor(k, v, E) { + super(k, 'switch', v, E, false) + } + } + class FunctionScope extends Scope { + constructor(k, v, E, R) { + super(k, 'function', v, E, R) + if (this.block.type !== P.ArrowFunctionExpression) { + this.__defineArguments() + } + } + isArgumentsMaterialized() { + if (this.block.type === P.ArrowFunctionExpression) { + return false + } + if (!this.isStatic()) { + return true + } + const k = this.set.get('arguments') + q(k, 'Always have arguments variable.') + return k.tainted || k.references.length !== 0 + } + isThisMaterialized() { + if (!this.isStatic()) { + return true + } + return this.thisFound + } + __defineArguments() { + this.__defineGeneric( + 'arguments', + this.set, + this.variables, + null, + null + ) + this.taints.set('arguments', true) + } + __isValidResolution(k, v) { + if (this.block.type === 'Program') { + return true + } + const E = this.block.body.range[0] + return !( + v.scope === this && + k.identifier.range[0] < E && + v.defs.every((k) => k.name.range[0] >= E) + ) + } + } + class ForScope extends Scope { + constructor(k, v, E) { + super(k, 'for', v, E, false) + } + } + class ClassScope extends Scope { + constructor(k, v, E) { + super(k, 'class', v, E, false) + } + } + k.exports = { + Scope: Scope, + GlobalScope: GlobalScope, + ModuleScope: ModuleScope, + FunctionExpressionNameScope: FunctionExpressionNameScope, + CatchScope: CatchScope, + WithScope: WithScope, + BlockScope: BlockScope, + SwitchScope: SwitchScope, + FunctionScope: FunctionScope, + ForScope: ForScope, + ClassScope: ClassScope, + } + }, + 30529: function (k) { + 'use strict' + class Variable { + constructor(k, v) { + this.name = k + this.identifiers = [] + this.references = [] + this.defs = [] + this.tainted = false + this.stack = true + this.scope = v + } + } + Variable.CatchClause = 'CatchClause' + Variable.Parameter = 'Parameter' + Variable.FunctionName = 'FunctionName' + Variable.ClassName = 'ClassName' + Variable.Variable = 'Variable' + Variable.ImportBinding = 'ImportBinding' + Variable.ImplicitGlobalVariable = 'ImplicitGlobalVariable' + k.exports = Variable + }, + 41396: function (k, v, E) { + ;(function () { + 'use strict' + var k = E(41731) + function isNode(k) { + if (k == null) { + return false + } + return typeof k === 'object' && typeof k.type === 'string' + } + function isProperty(v, E) { + return ( + (v === k.Syntax.ObjectExpression || v === k.Syntax.ObjectPattern) && + E === 'properties' + ) + } + function Visitor(v, E) { + E = E || {} + this.__visitor = v || this + this.__childVisitorKeys = E.childVisitorKeys + ? Object.assign({}, k.VisitorKeys, E.childVisitorKeys) + : k.VisitorKeys + if (E.fallback === 'iteration') { + this.__fallback = Object.keys + } else if (typeof E.fallback === 'function') { + this.__fallback = E.fallback + } + } + Visitor.prototype.visitChildren = function (v) { + var E, P, R, L, N, q, ae + if (v == null) { + return + } + E = v.type || k.Syntax.Property + P = this.__childVisitorKeys[E] + if (!P) { + if (this.__fallback) { + P = this.__fallback(v) + } else { + throw new Error('Unknown node type ' + E + '.') + } + } + for (R = 0, L = P.length; R < L; ++R) { + ae = v[P[R]] + if (ae) { + if (Array.isArray(ae)) { + for (N = 0, q = ae.length; N < q; ++N) { + if (ae[N]) { + if (isNode(ae[N]) || isProperty(E, P[R])) { + this.visit(ae[N]) + } + } + } + } else if (isNode(ae)) { + this.visit(ae) + } + } + } + } + Visitor.prototype.visit = function (v) { + var E + if (v == null) { + return + } + E = v.type || k.Syntax.Property + if (this.__visitor[E]) { + this.__visitor[E].call(this, v) + return + } + this.visitChildren(v) + } + v.version = E(14730).version + v.Visitor = Visitor + v.visit = function (k, v, E) { + var P = new Visitor(v, E) + P.visit(k) + } + })() + }, + 12205: function (k, v, E) { + ;(function clone(k) { + 'use strict' + var v, P, R, L, N, q + function deepCopy(k) { + var v = {}, + E, + P + for (E in k) { + if (k.hasOwnProperty(E)) { + P = k[E] + if (typeof P === 'object' && P !== null) { + v[E] = deepCopy(P) + } else { + v[E] = P + } + } + } + return v + } + function upperBound(k, v) { + var E, P, R, L + P = k.length + R = 0 + while (P) { + E = P >>> 1 + L = R + E + if (v(k[L])) { + P = E + } else { + R = L + 1 + P -= E + 1 + } + } + return R + } + v = { + 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', + } + R = { + 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'], + } + L = {} + N = {} + q = {} + P = { Break: L, Skip: N, Remove: q } + function Reference(k, v) { + this.parent = k + this.key = v + } + Reference.prototype.replace = function replace(k) { + this.parent[this.key] = k + } + 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(k, v, E, P) { + this.node = k + this.path = v + this.wrap = E + this.ref = P + } + function Controller() {} + Controller.prototype.path = function path() { + var k, v, E, P, R, L + function addToPath(k, v) { + if (Array.isArray(v)) { + for (E = 0, P = v.length; E < P; ++E) { + k.push(v[E]) + } + } else { + k.push(v) + } + } + if (!this.__current.path) { + return null + } + R = [] + for (k = 2, v = this.__leavelist.length; k < v; ++k) { + L = this.__leavelist[k] + addToPath(R, L.path) + } + addToPath(R, this.__current.path) + return R + } + Controller.prototype.type = function () { + var k = this.current() + return k.type || this.__current.wrap + } + Controller.prototype.parents = function parents() { + var k, v, E + E = [] + for (k = 1, v = this.__leavelist.length; k < v; ++k) { + E.push(this.__leavelist[k].node) + } + return E + } + Controller.prototype.current = function current() { + return this.__current.node + } + Controller.prototype.__execute = function __execute(k, v) { + var E, P + P = undefined + E = this.__current + this.__current = v + this.__state = null + if (k) { + P = k.call( + this, + v.node, + this.__leavelist[this.__leavelist.length - 1].node + ) + } + this.__current = E + return P + } + Controller.prototype.notify = function notify(k) { + this.__state = k + } + Controller.prototype.skip = function () { + this.notify(N) + } + Controller.prototype['break'] = function () { + this.notify(L) + } + Controller.prototype.remove = function () { + this.notify(q) + } + Controller.prototype.__initialize = function (k, v) { + this.visitor = v + this.root = k + this.__worklist = [] + this.__leavelist = [] + this.__current = null + this.__state = null + this.__fallback = null + if (v.fallback === 'iteration') { + this.__fallback = Object.keys + } else if (typeof v.fallback === 'function') { + this.__fallback = v.fallback + } + this.__keys = R + if (v.keys) { + this.__keys = Object.assign(Object.create(this.__keys), v.keys) + } + } + function isNode(k) { + if (k == null) { + return false + } + return typeof k === 'object' && typeof k.type === 'string' + } + function isProperty(k, E) { + return ( + (k === v.ObjectExpression || k === v.ObjectPattern) && + 'properties' === E + ) + } + Controller.prototype.traverse = function traverse(k, v) { + var E, P, R, q, ae, le, pe, me, ye, _e, Ie, Me + this.__initialize(k, v) + Me = {} + E = this.__worklist + P = this.__leavelist + E.push(new Element(k, null, null, null)) + P.push(new Element(null, null, null, null)) + while (E.length) { + R = E.pop() + if (R === Me) { + R = P.pop() + le = this.__execute(v.leave, R) + if (this.__state === L || le === L) { + return + } + continue + } + if (R.node) { + le = this.__execute(v.enter, R) + if (this.__state === L || le === L) { + return + } + E.push(Me) + P.push(R) + if (this.__state === N || le === N) { + continue + } + q = R.node + ae = q.type || R.wrap + _e = this.__keys[ae] + if (!_e) { + if (this.__fallback) { + _e = this.__fallback(q) + } else { + throw new Error('Unknown node type ' + ae + '.') + } + } + me = _e.length + while ((me -= 1) >= 0) { + pe = _e[me] + Ie = q[pe] + if (!Ie) { + continue + } + if (Array.isArray(Ie)) { + ye = Ie.length + while ((ye -= 1) >= 0) { + if (!Ie[ye]) { + continue + } + if (isProperty(ae, _e[me])) { + R = new Element(Ie[ye], [pe, ye], 'Property', null) + } else if (isNode(Ie[ye])) { + R = new Element(Ie[ye], [pe, ye], null, null) + } else { + continue + } + E.push(R) + } + } else if (isNode(Ie)) { + E.push(new Element(Ie, pe, null, null)) + } + } + } + } + } + Controller.prototype.replace = function replace(k, v) { + var E, P, R, ae, le, pe, me, ye, _e, Ie, Me, Te, je + function removeElem(k) { + var v, P, R, L + if (k.ref.remove()) { + P = k.ref.key + L = k.ref.parent + v = E.length + while (v--) { + R = E[v] + if (R.ref && R.ref.parent === L) { + if (R.ref.key < P) { + break + } + --R.ref.key + } + } + } + } + this.__initialize(k, v) + Me = {} + E = this.__worklist + P = this.__leavelist + Te = { root: k } + pe = new Element(k, null, null, new Reference(Te, 'root')) + E.push(pe) + P.push(pe) + while (E.length) { + pe = E.pop() + if (pe === Me) { + pe = P.pop() + le = this.__execute(v.leave, pe) + if (le !== undefined && le !== L && le !== N && le !== q) { + pe.ref.replace(le) + } + if (this.__state === q || le === q) { + removeElem(pe) + } + if (this.__state === L || le === L) { + return Te.root + } + continue + } + le = this.__execute(v.enter, pe) + if (le !== undefined && le !== L && le !== N && le !== q) { + pe.ref.replace(le) + pe.node = le + } + if (this.__state === q || le === q) { + removeElem(pe) + pe.node = null + } + if (this.__state === L || le === L) { + return Te.root + } + R = pe.node + if (!R) { + continue + } + E.push(Me) + P.push(pe) + if (this.__state === N || le === N) { + continue + } + ae = R.type || pe.wrap + _e = this.__keys[ae] + if (!_e) { + if (this.__fallback) { + _e = this.__fallback(R) + } else { + throw new Error('Unknown node type ' + ae + '.') + } + } + me = _e.length + while ((me -= 1) >= 0) { + je = _e[me] + Ie = R[je] + if (!Ie) { + continue + } + if (Array.isArray(Ie)) { + ye = Ie.length + while ((ye -= 1) >= 0) { + if (!Ie[ye]) { + continue + } + if (isProperty(ae, _e[me])) { + pe = new Element( + Ie[ye], + [je, ye], + 'Property', + new Reference(Ie, ye) + ) + } else if (isNode(Ie[ye])) { + pe = new Element( + Ie[ye], + [je, ye], + null, + new Reference(Ie, ye) + ) + } else { + continue + } + E.push(pe) + } + } else if (isNode(Ie)) { + E.push(new Element(Ie, je, null, new Reference(R, je))) + } + } + } + return Te.root + } + function traverse(k, v) { + var E = new Controller() + return E.traverse(k, v) + } + function replace(k, v) { + var E = new Controller() + return E.replace(k, v) + } + function extendCommentRange(k, v) { + var E + E = upperBound(v, function search(v) { + return v.range[0] > k.range[0] + }) + k.extendedRange = [k.range[0], k.range[1]] + if (E !== v.length) { + k.extendedRange[1] = v[E].range[0] + } + E -= 1 + if (E >= 0) { + k.extendedRange[0] = v[E].range[1] + } + return k + } + function attachComments(k, v, E) { + var R = [], + L, + N, + q, + ae + if (!k.range) { + throw new Error('attachComments needs range information') + } + if (!E.length) { + if (v.length) { + for (q = 0, N = v.length; q < N; q += 1) { + L = deepCopy(v[q]) + L.extendedRange = [0, k.range[0]] + R.push(L) + } + k.leadingComments = R + } + return k + } + for (q = 0, N = v.length; q < N; q += 1) { + R.push(extendCommentRange(deepCopy(v[q]), E)) + } + ae = 0 + traverse(k, { + enter: function (k) { + var v + while (ae < R.length) { + v = R[ae] + if (v.extendedRange[1] > k.range[0]) { + break + } + if (v.extendedRange[1] === k.range[0]) { + if (!k.leadingComments) { + k.leadingComments = [] + } + k.leadingComments.push(v) + R.splice(ae, 1) + } else { + ae += 1 + } + } + if (ae === R.length) { + return P.Break + } + if (R[ae].extendedRange[0] > k.range[1]) { + return P.Skip + } + }, + }) + ae = 0 + traverse(k, { + leave: function (k) { + var v + while (ae < R.length) { + v = R[ae] + if (k.range[1] < v.extendedRange[0]) { + break + } + if (k.range[1] === v.extendedRange[0]) { + if (!k.trailingComments) { + k.trailingComments = [] + } + k.trailingComments.push(v) + R.splice(ae, 1) + } else { + ae += 1 + } + } + if (ae === R.length) { + return P.Break + } + if (R[ae].extendedRange[0] > k.range[1]) { + return P.Skip + } + }, + }) + return k + } + k.version = E(61752).i8 + k.Syntax = v + k.traverse = traverse + k.replace = replace + k.attachComments = attachComments + k.VisitorKeys = R + k.VisitorOption = P + k.Controller = Controller + k.cloneEnvironment = function () { + return clone({}) + } + return k + })(v) + }, + 41731: function (k, v) { + ;(function clone(k) { + 'use strict' + var v, E, P, R, L, N + function deepCopy(k) { + var v = {}, + E, + P + for (E in k) { + if (k.hasOwnProperty(E)) { + P = k[E] + if (typeof P === 'object' && P !== null) { + v[E] = deepCopy(P) + } else { + v[E] = P + } + } + } + return v + } + function upperBound(k, v) { + var E, P, R, L + P = k.length + R = 0 + while (P) { + E = P >>> 1 + L = R + E + if (v(k[L])) { + P = E + } else { + R = L + 1 + P -= E + 1 + } + } + return R + } + v = { + 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', + PrivateIdentifier: 'PrivateIdentifier', + Program: 'Program', + Property: 'Property', + PropertyDefinition: 'PropertyDefinition', + 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', + } + P = { + 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'], + PrivateIdentifier: [], + Program: ['body'], + Property: ['key', 'value'], + PropertyDefinition: ['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'], + } + R = {} + L = {} + N = {} + E = { Break: R, Skip: L, Remove: N } + function Reference(k, v) { + this.parent = k + this.key = v + } + Reference.prototype.replace = function replace(k) { + this.parent[this.key] = k + } + 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(k, v, E, P) { + this.node = k + this.path = v + this.wrap = E + this.ref = P + } + function Controller() {} + Controller.prototype.path = function path() { + var k, v, E, P, R, L + function addToPath(k, v) { + if (Array.isArray(v)) { + for (E = 0, P = v.length; E < P; ++E) { + k.push(v[E]) + } + } else { + k.push(v) + } + } + if (!this.__current.path) { + return null + } + R = [] + for (k = 2, v = this.__leavelist.length; k < v; ++k) { + L = this.__leavelist[k] + addToPath(R, L.path) + } + addToPath(R, this.__current.path) + return R + } + Controller.prototype.type = function () { + var k = this.current() + return k.type || this.__current.wrap + } + Controller.prototype.parents = function parents() { + var k, v, E + E = [] + for (k = 1, v = this.__leavelist.length; k < v; ++k) { + E.push(this.__leavelist[k].node) + } + return E + } + Controller.prototype.current = function current() { + return this.__current.node + } + Controller.prototype.__execute = function __execute(k, v) { + var E, P + P = undefined + E = this.__current + this.__current = v + this.__state = null + if (k) { + P = k.call( + this, + v.node, + this.__leavelist[this.__leavelist.length - 1].node + ) + } + this.__current = E + return P + } + Controller.prototype.notify = function notify(k) { + this.__state = k + } + Controller.prototype.skip = function () { + this.notify(L) + } + Controller.prototype['break'] = function () { + this.notify(R) + } + Controller.prototype.remove = function () { + this.notify(N) + } + Controller.prototype.__initialize = function (k, v) { + this.visitor = v + this.root = k + this.__worklist = [] + this.__leavelist = [] + this.__current = null + this.__state = null + this.__fallback = null + if (v.fallback === 'iteration') { + this.__fallback = Object.keys + } else if (typeof v.fallback === 'function') { + this.__fallback = v.fallback + } + this.__keys = P + if (v.keys) { + this.__keys = Object.assign(Object.create(this.__keys), v.keys) + } + } + function isNode(k) { + if (k == null) { + return false + } + return typeof k === 'object' && typeof k.type === 'string' + } + function isProperty(k, E) { + return ( + (k === v.ObjectExpression || k === v.ObjectPattern) && + 'properties' === E + ) + } + function candidateExistsInLeaveList(k, v) { + for (var E = k.length - 1; E >= 0; --E) { + if (k[E].node === v) { + return true + } + } + return false + } + Controller.prototype.traverse = function traverse(k, v) { + var E, P, N, q, ae, le, pe, me, ye, _e, Ie, Me + this.__initialize(k, v) + Me = {} + E = this.__worklist + P = this.__leavelist + E.push(new Element(k, null, null, null)) + P.push(new Element(null, null, null, null)) + while (E.length) { + N = E.pop() + if (N === Me) { + N = P.pop() + le = this.__execute(v.leave, N) + if (this.__state === R || le === R) { + return + } + continue + } + if (N.node) { + le = this.__execute(v.enter, N) + if (this.__state === R || le === R) { + return + } + E.push(Me) + P.push(N) + if (this.__state === L || le === L) { + continue + } + q = N.node + ae = q.type || N.wrap + _e = this.__keys[ae] + if (!_e) { + if (this.__fallback) { + _e = this.__fallback(q) + } else { + throw new Error('Unknown node type ' + ae + '.') + } + } + me = _e.length + while ((me -= 1) >= 0) { + pe = _e[me] + Ie = q[pe] + if (!Ie) { + continue + } + if (Array.isArray(Ie)) { + ye = Ie.length + while ((ye -= 1) >= 0) { + if (!Ie[ye]) { + continue + } + if (candidateExistsInLeaveList(P, Ie[ye])) { + continue + } + if (isProperty(ae, _e[me])) { + N = new Element(Ie[ye], [pe, ye], 'Property', null) + } else if (isNode(Ie[ye])) { + N = new Element(Ie[ye], [pe, ye], null, null) + } else { + continue + } + E.push(N) + } + } else if (isNode(Ie)) { + if (candidateExistsInLeaveList(P, Ie)) { + continue + } + E.push(new Element(Ie, pe, null, null)) + } + } + } + } + } + Controller.prototype.replace = function replace(k, v) { + var E, P, q, ae, le, pe, me, ye, _e, Ie, Me, Te, je + function removeElem(k) { + var v, P, R, L + if (k.ref.remove()) { + P = k.ref.key + L = k.ref.parent + v = E.length + while (v--) { + R = E[v] + if (R.ref && R.ref.parent === L) { + if (R.ref.key < P) { + break + } + --R.ref.key + } + } + } + } + this.__initialize(k, v) + Me = {} + E = this.__worklist + P = this.__leavelist + Te = { root: k } + pe = new Element(k, null, null, new Reference(Te, 'root')) + E.push(pe) + P.push(pe) + while (E.length) { + pe = E.pop() + if (pe === Me) { + pe = P.pop() + le = this.__execute(v.leave, pe) + if (le !== undefined && le !== R && le !== L && le !== N) { + pe.ref.replace(le) + } + if (this.__state === N || le === N) { + removeElem(pe) + } + if (this.__state === R || le === R) { + return Te.root + } + continue + } + le = this.__execute(v.enter, pe) + if (le !== undefined && le !== R && le !== L && le !== N) { + pe.ref.replace(le) + pe.node = le + } + if (this.__state === N || le === N) { + removeElem(pe) + pe.node = null + } + if (this.__state === R || le === R) { + return Te.root + } + q = pe.node + if (!q) { + continue + } + E.push(Me) + P.push(pe) + if (this.__state === L || le === L) { + continue + } + ae = q.type || pe.wrap + _e = this.__keys[ae] + if (!_e) { + if (this.__fallback) { + _e = this.__fallback(q) + } else { + throw new Error('Unknown node type ' + ae + '.') + } + } + me = _e.length + while ((me -= 1) >= 0) { + je = _e[me] + Ie = q[je] + if (!Ie) { + continue + } + if (Array.isArray(Ie)) { + ye = Ie.length + while ((ye -= 1) >= 0) { + if (!Ie[ye]) { + continue + } + if (isProperty(ae, _e[me])) { + pe = new Element( + Ie[ye], + [je, ye], + 'Property', + new Reference(Ie, ye) + ) + } else if (isNode(Ie[ye])) { + pe = new Element( + Ie[ye], + [je, ye], + null, + new Reference(Ie, ye) + ) + } else { + continue + } + E.push(pe) + } + } else if (isNode(Ie)) { + E.push(new Element(Ie, je, null, new Reference(q, je))) + } + } + } + return Te.root + } + function traverse(k, v) { + var E = new Controller() + return E.traverse(k, v) + } + function replace(k, v) { + var E = new Controller() + return E.replace(k, v) + } + function extendCommentRange(k, v) { + var E + E = upperBound(v, function search(v) { + return v.range[0] > k.range[0] + }) + k.extendedRange = [k.range[0], k.range[1]] + if (E !== v.length) { + k.extendedRange[1] = v[E].range[0] + } + E -= 1 + if (E >= 0) { + k.extendedRange[0] = v[E].range[1] + } + return k + } + function attachComments(k, v, P) { + var R = [], + L, + N, + q, + ae + if (!k.range) { + throw new Error('attachComments needs range information') + } + if (!P.length) { + if (v.length) { + for (q = 0, N = v.length; q < N; q += 1) { + L = deepCopy(v[q]) + L.extendedRange = [0, k.range[0]] + R.push(L) + } + k.leadingComments = R + } + return k + } + for (q = 0, N = v.length; q < N; q += 1) { + R.push(extendCommentRange(deepCopy(v[q]), P)) + } + ae = 0 + traverse(k, { + enter: function (k) { + var v + while (ae < R.length) { + v = R[ae] + if (v.extendedRange[1] > k.range[0]) { + break + } + if (v.extendedRange[1] === k.range[0]) { + if (!k.leadingComments) { + k.leadingComments = [] + } + k.leadingComments.push(v) + R.splice(ae, 1) + } else { + ae += 1 + } + } + if (ae === R.length) { + return E.Break + } + if (R[ae].extendedRange[0] > k.range[1]) { + return E.Skip + } + }, + }) + ae = 0 + traverse(k, { + leave: function (k) { + var v + while (ae < R.length) { + v = R[ae] + if (k.range[1] < v.extendedRange[0]) { + break + } + if (k.range[1] === v.extendedRange[0]) { + if (!k.trailingComments) { + k.trailingComments = [] + } + k.trailingComments.push(v) + R.splice(ae, 1) + } else { + ae += 1 + } + } + if (ae === R.length) { + return E.Break + } + if (R[ae].extendedRange[0] > k.range[1]) { + return E.Skip + } + }, + }) + return k + } + k.Syntax = v + k.traverse = traverse + k.replace = replace + k.attachComments = attachComments + k.VisitorKeys = P + k.VisitorOption = E + k.Controller = Controller + k.cloneEnvironment = function () { + return clone({}) + } + return k + })(v) + }, + 21660: function (k) { + k.exports = function (k, v) { + if (typeof k !== 'string') { + throw new TypeError('Expected a string') + } + var E = String(k) + var P = '' + var R = v ? !!v.extended : false + var L = v ? !!v.globstar : false + var N = false + var q = v && typeof v.flags === 'string' ? v.flags : '' + var ae + for (var le = 0, pe = E.length; le < pe; le++) { + ae = E[le] + switch (ae) { + case '/': + case '$': + case '^': + case '+': + case '.': + case '(': + case ')': + case '=': + case '!': + case '|': + P += '\\' + ae + break + case '?': + if (R) { + P += '.' + break + } + case '[': + case ']': + if (R) { + P += ae + break + } + case '{': + if (R) { + N = true + P += '(' + break + } + case '}': + if (R) { + N = false + P += ')' + break + } + case ',': + if (N) { + P += '|' + break + } + P += '\\' + ae + break + case '*': + var me = E[le - 1] + var ye = 1 + while (E[le + 1] === '*') { + ye++ + le++ + } + var _e = E[le + 1] + if (!L) { + P += '.*' + } else { + var Ie = + ye > 1 && + (me === '/' || me === undefined) && + (_e === '/' || _e === undefined) + if (Ie) { + P += '((?:[^/]*(?:/|$))*)' + le++ + } else { + P += '([^/]*)' + } + } + break + default: + P += ae + } + } + if (!q || !~q.indexOf('g')) { + P = '^' + P + '$' + } + return new RegExp(P, q) + } + }, + 8567: function (k) { + 'use strict' + k.exports = clone + var v = + Object.getPrototypeOf || + function (k) { + return k.__proto__ + } + function clone(k) { + if (k === null || typeof k !== 'object') return k + if (k instanceof Object) var E = { __proto__: v(k) } + else var E = Object.create(null) + Object.getOwnPropertyNames(k).forEach(function (v) { + Object.defineProperty(E, v, Object.getOwnPropertyDescriptor(k, v)) + }) + return E + } + }, + 56450: function (k, v, E) { + var P = E(57147) + var R = E(72164) + var L = E(55653) + var N = E(8567) + var q = E(73837) + var ae + var le + if (typeof Symbol === 'function' && typeof Symbol.for === 'function') { + ae = Symbol.for('graceful-fs.queue') + le = Symbol.for('graceful-fs.previous') + } else { + ae = '___graceful-fs.queue' + le = '___graceful-fs.previous' + } + function noop() {} + function publishQueue(k, v) { + Object.defineProperty(k, ae, { + get: function () { + return v + }, + }) + } + var pe = noop + if (q.debuglog) pe = q.debuglog('gfs4') + else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || '')) + pe = function () { + var k = q.format.apply(q, arguments) + k = 'GFS4: ' + k.split(/\n/).join('\nGFS4: ') + console.error(k) + } + if (!P[ae]) { + var me = global[ae] || [] + publishQueue(P, me) + P.close = (function (k) { + function close(v, E) { + return k.call(P, v, function (k) { + if (!k) { + resetQueue() + } + if (typeof E === 'function') E.apply(this, arguments) + }) + } + Object.defineProperty(close, le, { value: k }) + return close + })(P.close) + P.closeSync = (function (k) { + function closeSync(v) { + k.apply(P, arguments) + resetQueue() + } + Object.defineProperty(closeSync, le, { value: k }) + return closeSync + })(P.closeSync) + if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || '')) { + process.on('exit', function () { + pe(P[ae]) + E(39491).equal(P[ae].length, 0) + }) + } + } + if (!global[ae]) { + publishQueue(global, P[ae]) + } + k.exports = patch(N(P)) + if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !P.__patched) { + k.exports = patch(P) + P.__patched = true + } + function patch(k) { + R(k) + k.gracefulify = patch + k.createReadStream = createReadStream + k.createWriteStream = createWriteStream + var v = k.readFile + k.readFile = readFile + function readFile(k, E, P) { + if (typeof E === 'function') (P = E), (E = null) + return go$readFile(k, E, P) + function go$readFile(k, E, P, R) { + return v(k, E, function (v) { + if (v && (v.code === 'EMFILE' || v.code === 'ENFILE')) + enqueue([ + go$readFile, + [k, E, P], + v, + R || Date.now(), + Date.now(), + ]) + else { + if (typeof P === 'function') P.apply(this, arguments) + } + }) + } + } + var E = k.writeFile + k.writeFile = writeFile + function writeFile(k, v, P, R) { + if (typeof P === 'function') (R = P), (P = null) + return go$writeFile(k, v, P, R) + function go$writeFile(k, v, P, R, L) { + return E(k, v, P, function (E) { + if (E && (E.code === 'EMFILE' || E.code === 'ENFILE')) + enqueue([ + go$writeFile, + [k, v, P, R], + E, + L || Date.now(), + Date.now(), + ]) + else { + if (typeof R === 'function') R.apply(this, arguments) + } + }) + } + } + var P = k.appendFile + if (P) k.appendFile = appendFile + function appendFile(k, v, E, R) { + if (typeof E === 'function') (R = E), (E = null) + return go$appendFile(k, v, E, R) + function go$appendFile(k, v, E, R, L) { + return P(k, v, E, function (P) { + if (P && (P.code === 'EMFILE' || P.code === 'ENFILE')) + enqueue([ + go$appendFile, + [k, v, E, R], + P, + L || Date.now(), + Date.now(), + ]) + else { + if (typeof R === 'function') R.apply(this, arguments) + } + }) + } + } + var N = k.copyFile + if (N) k.copyFile = copyFile + function copyFile(k, v, E, P) { + if (typeof E === 'function') { + P = E + E = 0 + } + return go$copyFile(k, v, E, P) + function go$copyFile(k, v, E, P, R) { + return N(k, v, E, function (L) { + if (L && (L.code === 'EMFILE' || L.code === 'ENFILE')) + enqueue([ + go$copyFile, + [k, v, E, P], + L, + R || Date.now(), + Date.now(), + ]) + else { + if (typeof P === 'function') P.apply(this, arguments) + } + }) + } + } + var q = k.readdir + k.readdir = readdir + var ae = /^v[0-5]\./ + function readdir(k, v, E) { + if (typeof v === 'function') (E = v), (v = null) + var P = ae.test(process.version) + ? function go$readdir(k, v, E, P) { + return q(k, fs$readdirCallback(k, v, E, P)) + } + : function go$readdir(k, v, E, P) { + return q(k, v, fs$readdirCallback(k, v, E, P)) + } + return P(k, v, E) + function fs$readdirCallback(k, v, E, R) { + return function (L, N) { + if (L && (L.code === 'EMFILE' || L.code === 'ENFILE')) + enqueue([P, [k, v, E], L, R || Date.now(), Date.now()]) + else { + if (N && N.sort) N.sort() + if (typeof E === 'function') E.call(this, L, N) + } + } + } + } + if (process.version.substr(0, 4) === 'v0.8') { + var le = L(k) + ReadStream = le.ReadStream + WriteStream = le.WriteStream + } + var pe = k.ReadStream + if (pe) { + ReadStream.prototype = Object.create(pe.prototype) + ReadStream.prototype.open = ReadStream$open + } + var me = k.WriteStream + if (me) { + WriteStream.prototype = Object.create(me.prototype) + WriteStream.prototype.open = WriteStream$open + } + Object.defineProperty(k, 'ReadStream', { + get: function () { + return ReadStream + }, + set: function (k) { + ReadStream = k + }, + enumerable: true, + configurable: true, + }) + Object.defineProperty(k, 'WriteStream', { + get: function () { + return WriteStream + }, + set: function (k) { + WriteStream = k + }, + enumerable: true, + configurable: true, + }) + var ye = ReadStream + Object.defineProperty(k, 'FileReadStream', { + get: function () { + return ye + }, + set: function (k) { + ye = k + }, + enumerable: true, + configurable: true, + }) + var _e = WriteStream + Object.defineProperty(k, 'FileWriteStream', { + get: function () { + return _e + }, + set: function (k) { + _e = k + }, + enumerable: true, + configurable: true, + }) + function ReadStream(k, v) { + if (this instanceof ReadStream) return pe.apply(this, arguments), this + else + return ReadStream.apply( + Object.create(ReadStream.prototype), + arguments + ) + } + function ReadStream$open() { + var k = this + open(k.path, k.flags, k.mode, function (v, E) { + if (v) { + if (k.autoClose) k.destroy() + k.emit('error', v) + } else { + k.fd = E + k.emit('open', E) + k.read() + } + }) + } + function WriteStream(k, v) { + if (this instanceof WriteStream) + return me.apply(this, arguments), this + else + return WriteStream.apply( + Object.create(WriteStream.prototype), + arguments + ) + } + function WriteStream$open() { + var k = this + open(k.path, k.flags, k.mode, function (v, E) { + if (v) { + k.destroy() + k.emit('error', v) + } else { + k.fd = E + k.emit('open', E) + } + }) + } + function createReadStream(v, E) { + return new k.ReadStream(v, E) + } + function createWriteStream(v, E) { + return new k.WriteStream(v, E) + } + var Ie = k.open + k.open = open + function open(k, v, E, P) { + if (typeof E === 'function') (P = E), (E = null) + return go$open(k, v, E, P) + function go$open(k, v, E, P, R) { + return Ie(k, v, E, function (L, N) { + if (L && (L.code === 'EMFILE' || L.code === 'ENFILE')) + enqueue([go$open, [k, v, E, P], L, R || Date.now(), Date.now()]) + else { + if (typeof P === 'function') P.apply(this, arguments) + } + }) + } + } + return k + } + function enqueue(k) { + pe('ENQUEUE', k[0].name, k[1]) + P[ae].push(k) + retry() + } + var ye + function resetQueue() { + var k = Date.now() + for (var v = 0; v < P[ae].length; ++v) { + if (P[ae][v].length > 2) { + P[ae][v][3] = k + P[ae][v][4] = k + } + } + retry() + } + function retry() { + clearTimeout(ye) + ye = undefined + if (P[ae].length === 0) return + var k = P[ae].shift() + var v = k[0] + var E = k[1] + var R = k[2] + var L = k[3] + var N = k[4] + if (L === undefined) { + pe('RETRY', v.name, E) + v.apply(null, E) + } else if (Date.now() - L >= 6e4) { + pe('TIMEOUT', v.name, E) + var q = E.pop() + if (typeof q === 'function') q.call(null, R) + } else { + var le = Date.now() - N + var me = Math.max(N - L, 1) + var _e = Math.min(me * 1.2, 100) + if (le >= _e) { + pe('RETRY', v.name, E) + v.apply(null, E.concat([L])) + } else { + P[ae].push(k) + } + } + if (ye === undefined) { + ye = setTimeout(retry, 0) + } + } + }, + 55653: function (k, v, E) { + var P = E(12781).Stream + k.exports = legacy + function legacy(k) { + return { ReadStream: ReadStream, WriteStream: WriteStream } + function ReadStream(v, E) { + if (!(this instanceof ReadStream)) return new ReadStream(v, E) + P.call(this) + var R = this + this.path = v + this.fd = null + this.readable = true + this.paused = false + this.flags = 'r' + this.mode = 438 + this.bufferSize = 64 * 1024 + E = E || {} + var L = Object.keys(E) + for (var N = 0, q = L.length; N < q; N++) { + var ae = L[N] + this[ae] = E[ae] + } + if (this.encoding) this.setEncoding(this.encoding) + if (this.start !== undefined) { + if ('number' !== typeof this.start) { + throw TypeError('start must be a Number') + } + if (this.end === undefined) { + this.end = Infinity + } else if ('number' !== typeof this.end) { + throw TypeError('end must be a Number') + } + if (this.start > this.end) { + throw new Error('start must be <= end') + } + this.pos = this.start + } + if (this.fd !== null) { + process.nextTick(function () { + R._read() + }) + return + } + k.open(this.path, this.flags, this.mode, function (k, v) { + if (k) { + R.emit('error', k) + R.readable = false + return + } + R.fd = v + R.emit('open', v) + R._read() + }) + } + function WriteStream(v, E) { + if (!(this instanceof WriteStream)) return new WriteStream(v, E) + P.call(this) + this.path = v + this.fd = null + this.writable = true + this.flags = 'w' + this.encoding = 'binary' + this.mode = 438 + this.bytesWritten = 0 + E = E || {} + var R = Object.keys(E) + for (var L = 0, N = R.length; L < N; L++) { + var q = R[L] + this[q] = E[q] + } + if (this.start !== undefined) { + if ('number' !== typeof this.start) { + throw TypeError('start must be a Number') + } + if (this.start < 0) { + throw new Error('start must be >= zero') + } + this.pos = this.start + } + this.busy = false + this._queue = [] + if (this.fd === null) { + this._open = k.open + this._queue.push([ + this._open, + this.path, + this.flags, + this.mode, + undefined, + ]) + this.flush() + } + } + } + }, + 72164: function (k, v, E) { + var P = E(22057) + var R = process.cwd + var L = null + var N = process.env.GRACEFUL_FS_PLATFORM || process.platform + process.cwd = function () { + if (!L) L = R.call(process) + return L + } + try { + process.cwd() + } catch (k) {} + if (typeof process.chdir === 'function') { + var q = process.chdir + process.chdir = function (k) { + L = null + q.call(process, k) + } + if (Object.setPrototypeOf) Object.setPrototypeOf(process.chdir, q) + } + k.exports = patch + function patch(k) { + if ( + P.hasOwnProperty('O_SYMLINK') && + process.version.match(/^v0\.6\.[0-2]|^v0\.5\./) + ) { + patchLchmod(k) + } + if (!k.lutimes) { + patchLutimes(k) + } + k.chown = chownFix(k.chown) + k.fchown = chownFix(k.fchown) + k.lchown = chownFix(k.lchown) + k.chmod = chmodFix(k.chmod) + k.fchmod = chmodFix(k.fchmod) + k.lchmod = chmodFix(k.lchmod) + k.chownSync = chownFixSync(k.chownSync) + k.fchownSync = chownFixSync(k.fchownSync) + k.lchownSync = chownFixSync(k.lchownSync) + k.chmodSync = chmodFixSync(k.chmodSync) + k.fchmodSync = chmodFixSync(k.fchmodSync) + k.lchmodSync = chmodFixSync(k.lchmodSync) + k.stat = statFix(k.stat) + k.fstat = statFix(k.fstat) + k.lstat = statFix(k.lstat) + k.statSync = statFixSync(k.statSync) + k.fstatSync = statFixSync(k.fstatSync) + k.lstatSync = statFixSync(k.lstatSync) + if (k.chmod && !k.lchmod) { + k.lchmod = function (k, v, E) { + if (E) process.nextTick(E) + } + k.lchmodSync = function () {} + } + if (k.chown && !k.lchown) { + k.lchown = function (k, v, E, P) { + if (P) process.nextTick(P) + } + k.lchownSync = function () {} + } + if (N === 'win32') { + k.rename = + typeof k.rename !== 'function' + ? k.rename + : (function (v) { + function rename(E, P, R) { + var L = Date.now() + var N = 0 + v(E, P, function CB(q) { + if ( + q && + (q.code === 'EACCES' || + q.code === 'EPERM' || + q.code === 'EBUSY') && + Date.now() - L < 6e4 + ) { + setTimeout(function () { + k.stat(P, function (k, L) { + if (k && k.code === 'ENOENT') v(E, P, CB) + else R(q) + }) + }, N) + if (N < 100) N += 10 + return + } + if (R) R(q) + }) + } + if (Object.setPrototypeOf) Object.setPrototypeOf(rename, v) + return rename + })(k.rename) + } + k.read = + typeof k.read !== 'function' + ? k.read + : (function (v) { + function read(E, P, R, L, N, q) { + var ae + if (q && typeof q === 'function') { + var le = 0 + ae = function (pe, me, ye) { + if (pe && pe.code === 'EAGAIN' && le < 10) { + le++ + return v.call(k, E, P, R, L, N, ae) + } + q.apply(this, arguments) + } + } + return v.call(k, E, P, R, L, N, ae) + } + if (Object.setPrototypeOf) Object.setPrototypeOf(read, v) + return read + })(k.read) + k.readSync = + typeof k.readSync !== 'function' + ? k.readSync + : (function (v) { + return function (E, P, R, L, N) { + var q = 0 + while (true) { + try { + return v.call(k, E, P, R, L, N) + } catch (k) { + if (k.code === 'EAGAIN' && q < 10) { + q++ + continue + } + throw k + } + } + } + })(k.readSync) + function patchLchmod(k) { + k.lchmod = function (v, E, R) { + k.open(v, P.O_WRONLY | P.O_SYMLINK, E, function (v, P) { + if (v) { + if (R) R(v) + return + } + k.fchmod(P, E, function (v) { + k.close(P, function (k) { + if (R) R(v || k) + }) + }) + }) + } + k.lchmodSync = function (v, E) { + var R = k.openSync(v, P.O_WRONLY | P.O_SYMLINK, E) + var L = true + var N + try { + N = k.fchmodSync(R, E) + L = false + } finally { + if (L) { + try { + k.closeSync(R) + } catch (k) {} + } else { + k.closeSync(R) + } + } + return N + } + } + function patchLutimes(k) { + if (P.hasOwnProperty('O_SYMLINK') && k.futimes) { + k.lutimes = function (v, E, R, L) { + k.open(v, P.O_SYMLINK, function (v, P) { + if (v) { + if (L) L(v) + return + } + k.futimes(P, E, R, function (v) { + k.close(P, function (k) { + if (L) L(v || k) + }) + }) + }) + } + k.lutimesSync = function (v, E, R) { + var L = k.openSync(v, P.O_SYMLINK) + var N + var q = true + try { + N = k.futimesSync(L, E, R) + q = false + } finally { + if (q) { + try { + k.closeSync(L) + } catch (k) {} + } else { + k.closeSync(L) + } + } + return N + } + } else if (k.futimes) { + k.lutimes = function (k, v, E, P) { + if (P) process.nextTick(P) + } + k.lutimesSync = function () {} + } + } + function chmodFix(v) { + if (!v) return v + return function (E, P, R) { + return v.call(k, E, P, function (k) { + if (chownErOk(k)) k = null + if (R) R.apply(this, arguments) + }) + } + } + function chmodFixSync(v) { + if (!v) return v + return function (E, P) { + try { + return v.call(k, E, P) + } catch (k) { + if (!chownErOk(k)) throw k + } + } + } + function chownFix(v) { + if (!v) return v + return function (E, P, R, L) { + return v.call(k, E, P, R, function (k) { + if (chownErOk(k)) k = null + if (L) L.apply(this, arguments) + }) + } + } + function chownFixSync(v) { + if (!v) return v + return function (E, P, R) { + try { + return v.call(k, E, P, R) + } catch (k) { + if (!chownErOk(k)) throw k + } + } + } + function statFix(v) { + if (!v) return v + return function (E, P, R) { + if (typeof P === 'function') { + R = P + P = null + } + function callback(k, v) { + if (v) { + if (v.uid < 0) v.uid += 4294967296 + if (v.gid < 0) v.gid += 4294967296 + } + if (R) R.apply(this, arguments) + } + return P ? v.call(k, E, P, callback) : v.call(k, E, callback) + } + } + function statFixSync(v) { + if (!v) return v + return function (E, P) { + var R = P ? v.call(k, E, P) : v.call(k, E) + if (R) { + if (R.uid < 0) R.uid += 4294967296 + if (R.gid < 0) R.gid += 4294967296 + } + return R + } + } + function chownErOk(k) { + if (!k) return true + if (k.code === 'ENOSYS') return true + var v = !process.getuid || process.getuid() !== 0 + if (v) { + if (k.code === 'EINVAL' || k.code === 'EPERM') return true + } + return false + } + } + }, + 54650: function (k) { + 'use strict' + const hexify = (k) => { + const v = k.charCodeAt(0).toString(16).toUpperCase() + return '0x' + (v.length % 2 ? '0' : '') + v + } + const parseError = (k, v, E) => { + if (!v) { + return { + message: k.message + ' while parsing empty string', + position: 0, + } + } + const P = k.message.match(/^Unexpected token (.) .*position\s+(\d+)/i) + const R = P + ? +P[2] + : k.message.match(/^Unexpected end of JSON.*/i) + ? v.length - 1 + : null + const L = P + ? k.message.replace( + /^Unexpected token ./, + `Unexpected token ${JSON.stringify(P[1])} (${hexify(P[1])})` + ) + : k.message + if (R !== null && R !== undefined) { + const k = R <= E ? 0 : R - E + const P = R + E >= v.length ? v.length : R + E + const N = + (k === 0 ? '' : '...') + + v.slice(k, P) + + (P === v.length ? '' : '...') + const q = v === N ? '' : 'near ' + return { + message: L + ` while parsing ${q}${JSON.stringify(N)}`, + position: R, + } + } else { + return { + message: L + ` while parsing '${v.slice(0, E * 2)}'`, + position: 0, + } + } + } + class JSONParseError extends SyntaxError { + constructor(k, v, E, P) { + E = E || 20 + const R = parseError(k, v, E) + super(R.message) + Object.assign(this, R) + this.code = 'EJSONPARSE' + this.systemError = k + Error.captureStackTrace(this, P || this.constructor) + } + get name() { + return this.constructor.name + } + set name(k) {} + get [Symbol.toStringTag]() { + return this.constructor.name + } + } + const v = Symbol.for('indent') + const E = Symbol.for('newline') + const P = /^\s*[{\[]((?:\r?\n)+)([\s\t]*)/ + const R = /^(?:\{\}|\[\])((?:\r?\n)+)?$/ + const parseJson = (k, L, N) => { + const q = stripBOM(k) + N = N || 20 + try { + const [, k = '\n', N = ' '] = q.match(R) || q.match(P) || [, '', ''] + const ae = JSON.parse(q, L) + if (ae && typeof ae === 'object') { + ae[E] = k + ae[v] = N + } + return ae + } catch (v) { + if (typeof k !== 'string' && !Buffer.isBuffer(k)) { + const E = Array.isArray(k) && k.length === 0 + throw Object.assign( + new TypeError(`Cannot parse ${E ? 'an empty array' : String(k)}`), + { code: 'EJSONPARSE', systemError: v } + ) + } + throw new JSONParseError(v, q, N, parseJson) + } + } + const stripBOM = (k) => String(k).replace(/^\uFEFF/, '') + k.exports = parseJson + parseJson.JSONParseError = JSONParseError + parseJson.noExceptions = (k, v) => { + try { + return JSON.parse(stripBOM(k), v) + } catch (k) {} + } + }, + 95183: function (k, v, E) { + /*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * MIT Licensed + */ + k.exports = E(66282) + }, + 24230: function (k, v, E) { + 'use strict' + /*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ var P = E(95183) + var R = E(71017).extname + var L = /^\s*([^;\s]*)(?:;|\s|$)/ + var N = /^text\//i + v.charset = charset + v.charsets = { lookup: charset } + v.contentType = contentType + v.extension = extension + v.extensions = Object.create(null) + v.lookup = lookup + v.types = Object.create(null) + populateMaps(v.extensions, v.types) + function charset(k) { + if (!k || typeof k !== 'string') { + return false + } + var v = L.exec(k) + var E = v && P[v[1].toLowerCase()] + if (E && E.charset) { + return E.charset + } + if (v && N.test(v[1])) { + return 'UTF-8' + } + return false + } + function contentType(k) { + if (!k || typeof k !== 'string') { + return false + } + var E = k.indexOf('/') === -1 ? v.lookup(k) : k + if (!E) { + return false + } + if (E.indexOf('charset') === -1) { + var P = v.charset(E) + if (P) E += '; charset=' + P.toLowerCase() + } + return E + } + function extension(k) { + if (!k || typeof k !== 'string') { + return false + } + var E = L.exec(k) + var P = E && v.extensions[E[1].toLowerCase()] + if (!P || !P.length) { + return false + } + return P[0] + } + function lookup(k) { + if (!k || typeof k !== 'string') { + return false + } + var E = R('x.' + k) + .toLowerCase() + .substr(1) + if (!E) { + return false + } + return v.types[E] || false + } + function populateMaps(k, v) { + var E = ['nginx', 'apache', undefined, 'iana'] + Object.keys(P).forEach(function forEachMimeType(R) { + var L = P[R] + var N = L.extensions + if (!N || !N.length) { + return + } + k[R] = N + for (var q = 0; q < N.length; q++) { + var ae = N[q] + if (v[ae]) { + var le = E.indexOf(P[v[ae]].source) + var pe = E.indexOf(L.source) + if ( + v[ae] !== 'application/octet-stream' && + (le > pe || + (le === pe && v[ae].substr(0, 12) === 'application/')) + ) { + continue + } + } + v[ae] = R + } + }) + } + }, + 94362: function (k, v, E) { + 'use strict' + var P + P = { value: true } + v.Z = void 0 + const { stringHints: R, numberHints: L } = E(30892) + const N = { + type: 1, + not: 1, + oneOf: 1, + anyOf: 1, + if: 1, + enum: 1, + const: 1, + instanceof: 1, + required: 2, + pattern: 2, + patternRequired: 2, + format: 2, + formatMinimum: 2, + formatMaximum: 2, + minimum: 2, + exclusiveMinimum: 2, + maximum: 2, + exclusiveMaximum: 2, + multipleOf: 2, + uniqueItems: 2, + contains: 2, + minLength: 2, + maxLength: 2, + minItems: 2, + maxItems: 2, + minProperties: 2, + maxProperties: 2, + dependencies: 2, + propertyNames: 2, + additionalItems: 2, + additionalProperties: 2, + absolutePath: 2, + } + function filterMax(k, v) { + const E = k.reduce((k, E) => Math.max(k, v(E)), 0) + return k.filter((k) => v(k) === E) + } + function filterChildren(k) { + let v = k + v = filterMax(v, (k) => (k.dataPath ? k.dataPath.length : 0)) + v = filterMax(v, (k) => N[k.keyword] || 2) + return v + } + function findAllChildren(k, v) { + let E = k.length - 1 + const predicate = (v) => k[E].schemaPath.indexOf(v) !== 0 + while (E > -1 && !v.every(predicate)) { + if (k[E].keyword === 'anyOf' || k[E].keyword === 'oneOf') { + const v = extractRefs(k[E]) + const P = findAllChildren(k.slice(0, E), v.concat(k[E].schemaPath)) + E = P - 1 + } else { + E -= 1 + } + } + return E + 1 + } + function extractRefs(k) { + const { schema: v } = k + if (!Array.isArray(v)) { + return [] + } + return v.map(({ $ref: k }) => k).filter((k) => k) + } + function groupChildrenByFirstChild(k) { + const v = [] + let E = k.length - 1 + while (E > 0) { + const P = k[E] + if (P.keyword === 'anyOf' || P.keyword === 'oneOf') { + const R = extractRefs(P) + const L = findAllChildren(k.slice(0, E), R.concat(P.schemaPath)) + if (L !== E) { + v.push(Object.assign({}, P, { children: k.slice(L, E) })) + E = L + } else { + v.push(P) + } + } else { + v.push(P) + } + E -= 1 + } + if (E === 0) { + v.push(k[E]) + } + return v.reverse() + } + function indent(k, v) { + return k.replace(/\n(?!$)/g, `\n${v}`) + } + function hasNotInSchema(k) { + return !!k.not + } + function findFirstTypedSchema(k) { + if (hasNotInSchema(k)) { + return findFirstTypedSchema(k.not) + } + return k + } + function canApplyNot(k) { + const v = findFirstTypedSchema(k) + return ( + likeNumber(v) || + likeInteger(v) || + likeString(v) || + likeNull(v) || + likeBoolean(v) + ) + } + function isObject(k) { + return typeof k === 'object' && k !== null + } + function likeNumber(k) { + return ( + k.type === 'number' || + typeof k.minimum !== 'undefined' || + typeof k.exclusiveMinimum !== 'undefined' || + typeof k.maximum !== 'undefined' || + typeof k.exclusiveMaximum !== 'undefined' || + typeof k.multipleOf !== 'undefined' + ) + } + function likeInteger(k) { + return ( + k.type === 'integer' || + typeof k.minimum !== 'undefined' || + typeof k.exclusiveMinimum !== 'undefined' || + typeof k.maximum !== 'undefined' || + typeof k.exclusiveMaximum !== 'undefined' || + typeof k.multipleOf !== 'undefined' + ) + } + function likeString(k) { + return ( + k.type === 'string' || + typeof k.minLength !== 'undefined' || + typeof k.maxLength !== 'undefined' || + typeof k.pattern !== 'undefined' || + typeof k.format !== 'undefined' || + typeof k.formatMinimum !== 'undefined' || + typeof k.formatMaximum !== 'undefined' + ) + } + function likeBoolean(k) { + return k.type === 'boolean' + } + function likeArray(k) { + return ( + k.type === 'array' || + typeof k.minItems === 'number' || + typeof k.maxItems === 'number' || + typeof k.uniqueItems !== 'undefined' || + typeof k.items !== 'undefined' || + typeof k.additionalItems !== 'undefined' || + typeof k.contains !== 'undefined' + ) + } + function likeObject(k) { + return ( + k.type === 'object' || + typeof k.minProperties !== 'undefined' || + typeof k.maxProperties !== 'undefined' || + typeof k.required !== 'undefined' || + typeof k.properties !== 'undefined' || + typeof k.patternProperties !== 'undefined' || + typeof k.additionalProperties !== 'undefined' || + typeof k.dependencies !== 'undefined' || + typeof k.propertyNames !== 'undefined' || + typeof k.patternRequired !== 'undefined' + ) + } + function likeNull(k) { + return k.type === 'null' + } + function getArticle(k) { + if (/^[aeiou]/i.test(k)) { + return 'an' + } + return 'a' + } + function getSchemaNonTypes(k) { + if (!k) { + return '' + } + if (!k.type) { + if (likeNumber(k) || likeInteger(k)) { + return ' | should be any non-number' + } + if (likeString(k)) { + return ' | should be any non-string' + } + if (likeArray(k)) { + return ' | should be any non-array' + } + if (likeObject(k)) { + return ' | should be any non-object' + } + } + return '' + } + function formatHints(k) { + return k.length > 0 ? `(${k.join(', ')})` : '' + } + function getHints(k, v) { + if (likeNumber(k) || likeInteger(k)) { + return L(k, v) + } else if (likeString(k)) { + return R(k, v) + } + return [] + } + class ValidationError extends Error { + constructor(k, v, E = {}) { + super() + this.name = 'ValidationError' + this.errors = k + this.schema = v + let P + let R + if (v.title && (!E.name || !E.baseDataPath)) { + const k = v.title.match(/^(.+) (.+)$/) + if (k) { + if (!E.name) { + ;[, P] = k + } + if (!E.baseDataPath) { + ;[, , R] = k + } + } + } + this.headerName = E.name || P || 'Object' + this.baseDataPath = E.baseDataPath || R || 'configuration' + this.postFormatter = E.postFormatter || null + const L = `Invalid ${this.baseDataPath} object. ${ + this.headerName + } has been initialized using ${getArticle(this.baseDataPath)} ${ + this.baseDataPath + } object that does not match the API schema.\n` + this.message = `${L}${this.formatValidationErrors(k)}` + Error.captureStackTrace(this, this.constructor) + } + getSchemaPart(k) { + const v = k.split('/') + let E = this.schema + for (let k = 1; k < v.length; k++) { + const P = E[v[k]] + if (!P) { + break + } + E = P + } + return E + } + formatSchema(k, v = true, E = []) { + let P = v + const formatInnerSchema = (v, R) => { + if (!R) { + return this.formatSchema(v, P, E) + } + if (E.includes(v)) { + return '(recursive)' + } + return this.formatSchema(v, P, E.concat(k)) + } + if (hasNotInSchema(k) && !likeObject(k)) { + if (canApplyNot(k.not)) { + P = !v + return formatInnerSchema(k.not) + } + const E = !k.not.not + const R = v ? '' : 'non ' + P = !v + return E ? R + formatInnerSchema(k.not) : formatInnerSchema(k.not) + } + if (k.instanceof) { + const { instanceof: v } = k + const E = !Array.isArray(v) ? [v] : v + return E.map((k) => (k === 'Function' ? 'function' : k)).join(' | ') + } + if (k.enum) { + const v = k.enum + .map((v) => { + if (v === null && k.undefinedAsNull) { + return `${JSON.stringify(v)} | undefined` + } + return JSON.stringify(v) + }) + .join(' | ') + return `${v}` + } + if (typeof k.const !== 'undefined') { + return JSON.stringify(k.const) + } + if (k.oneOf) { + return k.oneOf.map((k) => formatInnerSchema(k, true)).join(' | ') + } + if (k.anyOf) { + return k.anyOf.map((k) => formatInnerSchema(k, true)).join(' | ') + } + if (k.allOf) { + return k.allOf.map((k) => formatInnerSchema(k, true)).join(' & ') + } + if (k.if) { + const { if: v, then: E, else: P } = k + return `${v ? `if ${formatInnerSchema(v)}` : ''}${ + E ? ` then ${formatInnerSchema(E)}` : '' + }${P ? ` else ${formatInnerSchema(P)}` : ''}` + } + if (k.$ref) { + return formatInnerSchema(this.getSchemaPart(k.$ref), true) + } + if (likeNumber(k) || likeInteger(k)) { + const [E, ...P] = getHints(k, v) + const R = `${E}${P.length > 0 ? ` ${formatHints(P)}` : ''}` + return v ? R : P.length > 0 ? `non-${E} | ${R}` : `non-${E}` + } + if (likeString(k)) { + const [E, ...P] = getHints(k, v) + const R = `${E}${P.length > 0 ? ` ${formatHints(P)}` : ''}` + return v ? R : R === 'string' ? 'non-string' : `non-string | ${R}` + } + if (likeBoolean(k)) { + return `${v ? '' : 'non-'}boolean` + } + if (likeArray(k)) { + P = true + const v = [] + if (typeof k.minItems === 'number') { + v.push( + `should not have fewer than ${k.minItems} item${ + k.minItems > 1 ? 's' : '' + }` + ) + } + if (typeof k.maxItems === 'number') { + v.push( + `should not have more than ${k.maxItems} item${ + k.maxItems > 1 ? 's' : '' + }` + ) + } + if (k.uniqueItems) { + v.push('should not have duplicate items') + } + const E = + typeof k.additionalItems === 'undefined' || + Boolean(k.additionalItems) + let R = '' + if (k.items) { + if (Array.isArray(k.items) && k.items.length > 0) { + R = `${k.items.map((k) => formatInnerSchema(k)).join(', ')}` + if (E) { + if ( + k.additionalItems && + isObject(k.additionalItems) && + Object.keys(k.additionalItems).length > 0 + ) { + v.push( + `additional items should be ${formatInnerSchema( + k.additionalItems + )}` + ) + } + } + } else if (k.items && Object.keys(k.items).length > 0) { + R = `${formatInnerSchema(k.items)}` + } else { + R = 'any' + } + } else { + R = 'any' + } + if (k.contains && Object.keys(k.contains).length > 0) { + v.push( + `should contains at least one ${this.formatSchema( + k.contains + )} item` + ) + } + return `[${R}${E ? ', ...' : ''}]${ + v.length > 0 ? ` (${v.join(', ')})` : '' + }` + } + if (likeObject(k)) { + P = true + const v = [] + if (typeof k.minProperties === 'number') { + v.push( + `should not have fewer than ${k.minProperties} ${ + k.minProperties > 1 ? 'properties' : 'property' + }` + ) + } + if (typeof k.maxProperties === 'number') { + v.push( + `should not have more than ${k.maxProperties} ${ + k.minProperties && k.minProperties > 1 + ? 'properties' + : 'property' + }` + ) + } + if ( + k.patternProperties && + Object.keys(k.patternProperties).length > 0 + ) { + const E = Object.keys(k.patternProperties) + v.push( + `additional property names should match pattern${ + E.length > 1 ? 's' : '' + } ${E.map((k) => JSON.stringify(k)).join(' | ')}` + ) + } + const E = k.properties ? Object.keys(k.properties) : [] + const R = k.required ? k.required : [] + const L = [...new Set([].concat(R).concat(E))] + const N = L.map((k) => { + const v = R.includes(k) + return `${k}${v ? '' : '?'}` + }) + .concat( + typeof k.additionalProperties === 'undefined' || + Boolean(k.additionalProperties) + ? k.additionalProperties && isObject(k.additionalProperties) + ? [`: ${formatInnerSchema(k.additionalProperties)}`] + : ['…'] + : [] + ) + .join(', ') + const { + dependencies: q, + propertyNames: ae, + patternRequired: le, + } = k + if (q) { + Object.keys(q).forEach((k) => { + const E = q[k] + if (Array.isArray(E)) { + v.push( + `should have ${ + E.length > 1 ? 'properties' : 'property' + } ${E.map((k) => `'${k}'`).join( + ', ' + )} when property '${k}' is present` + ) + } else { + v.push( + `should be valid according to the schema ${formatInnerSchema( + E + )} when property '${k}' is present` + ) + } + }) + } + if (ae && Object.keys(ae).length > 0) { + v.push( + `each property name should match format ${JSON.stringify( + k.propertyNames.format + )}` + ) + } + if (le && le.length > 0) { + v.push( + `should have property matching pattern ${le.map((k) => + JSON.stringify(k) + )}` + ) + } + return `object {${N ? ` ${N} ` : ''}}${ + v.length > 0 ? ` (${v.join(', ')})` : '' + }` + } + if (likeNull(k)) { + return `${v ? '' : 'non-'}null` + } + if (Array.isArray(k.type)) { + return `${k.type.join(' | ')}` + } + return JSON.stringify(k, null, 2) + } + getSchemaPartText(k, v, E = false, P = true) { + if (!k) { + return '' + } + if (Array.isArray(v)) { + for (let E = 0; E < v.length; E++) { + const P = k[v[E]] + if (P) { + k = P + } else { + break + } + } + } + while (k.$ref) { + k = this.getSchemaPart(k.$ref) + } + let R = `${this.formatSchema(k, P)}${E ? '.' : ''}` + if (k.description) { + R += `\n-> ${k.description}` + } + if (k.link) { + R += `\n-> Read more at ${k.link}` + } + return R + } + getSchemaPartDescription(k) { + if (!k) { + return '' + } + while (k.$ref) { + k = this.getSchemaPart(k.$ref) + } + let v = '' + if (k.description) { + v += `\n-> ${k.description}` + } + if (k.link) { + v += `\n-> Read more at ${k.link}` + } + return v + } + formatValidationError(k) { + const { keyword: v, dataPath: E } = k + const P = `${this.baseDataPath}${E}` + switch (v) { + case 'type': { + const { parentSchema: v, params: E } = k + switch (E.type) { + case 'number': + return `${P} should be a ${this.getSchemaPartText( + v, + false, + true + )}` + case 'integer': + return `${P} should be an ${this.getSchemaPartText( + v, + false, + true + )}` + case 'string': + return `${P} should be a ${this.getSchemaPartText( + v, + false, + true + )}` + case 'boolean': + return `${P} should be a ${this.getSchemaPartText( + v, + false, + true + )}` + case 'array': + return `${P} should be an array:\n${this.getSchemaPartText( + v + )}` + case 'object': + return `${P} should be an object:\n${this.getSchemaPartText( + v + )}` + case 'null': + return `${P} should be a ${this.getSchemaPartText( + v, + false, + true + )}` + default: + return `${P} should be:\n${this.getSchemaPartText(v)}` + } + } + case 'instanceof': { + const { parentSchema: v } = k + return `${P} should be an instance of ${this.getSchemaPartText( + v, + false, + true + )}` + } + case 'pattern': { + const { params: v, parentSchema: E } = k + const { pattern: R } = v + return `${P} should match pattern ${JSON.stringify( + R + )}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}` + } + case 'format': { + const { params: v, parentSchema: E } = k + const { format: R } = v + return `${P} should match format ${JSON.stringify( + R + )}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}` + } + case 'formatMinimum': + case 'formatMaximum': { + const { params: v, parentSchema: E } = k + const { comparison: R, limit: L } = v + return `${P} should be ${R} ${JSON.stringify( + L + )}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}` + } + case 'minimum': + case 'maximum': + case 'exclusiveMinimum': + case 'exclusiveMaximum': { + const { parentSchema: v, params: E } = k + const { comparison: R, limit: L } = E + const [, ...N] = getHints(v, true) + if (N.length === 0) { + N.push(`should be ${R} ${L}`) + } + return `${P} ${N.join(' ')}${getSchemaNonTypes( + v + )}.${this.getSchemaPartDescription(v)}` + } + case 'multipleOf': { + const { params: v, parentSchema: E } = k + const { multipleOf: R } = v + return `${P} should be multiple of ${R}${getSchemaNonTypes( + E + )}.${this.getSchemaPartDescription(E)}` + } + case 'patternRequired': { + const { params: v, parentSchema: E } = k + const { missingPattern: R } = v + return `${P} should have property matching pattern ${JSON.stringify( + R + )}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}` + } + case 'minLength': { + const { params: v, parentSchema: E } = k + const { limit: R } = v + if (R === 1) { + return `${P} should be a non-empty string${getSchemaNonTypes( + E + )}.${this.getSchemaPartDescription(E)}` + } + const L = R - 1 + return `${P} should be longer than ${L} character${ + L > 1 ? 's' : '' + }${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}` + } + case 'minItems': { + const { params: v, parentSchema: E } = k + const { limit: R } = v + if (R === 1) { + return `${P} should be a non-empty array${getSchemaNonTypes( + E + )}.${this.getSchemaPartDescription(E)}` + } + return `${P} should not have fewer than ${R} items${getSchemaNonTypes( + E + )}.${this.getSchemaPartDescription(E)}` + } + case 'minProperties': { + const { params: v, parentSchema: E } = k + const { limit: R } = v + if (R === 1) { + return `${P} should be a non-empty object${getSchemaNonTypes( + E + )}.${this.getSchemaPartDescription(E)}` + } + return `${P} should not have fewer than ${R} properties${getSchemaNonTypes( + E + )}.${this.getSchemaPartDescription(E)}` + } + case 'maxLength': { + const { params: v, parentSchema: E } = k + const { limit: R } = v + const L = R + 1 + return `${P} should be shorter than ${L} character${ + L > 1 ? 's' : '' + }${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}` + } + case 'maxItems': { + const { params: v, parentSchema: E } = k + const { limit: R } = v + return `${P} should not have more than ${R} items${getSchemaNonTypes( + E + )}.${this.getSchemaPartDescription(E)}` + } + case 'maxProperties': { + const { params: v, parentSchema: E } = k + const { limit: R } = v + return `${P} should not have more than ${R} properties${getSchemaNonTypes( + E + )}.${this.getSchemaPartDescription(E)}` + } + case 'uniqueItems': { + const { params: v, parentSchema: E } = k + const { i: R } = v + return `${P} should not contain the item '${ + k.data[R] + }' twice${getSchemaNonTypes(E)}.${this.getSchemaPartDescription( + E + )}` + } + case 'additionalItems': { + const { params: v, parentSchema: E } = k + const { limit: R } = v + return `${P} should not have more than ${R} items${getSchemaNonTypes( + E + )}. These items are valid:\n${this.getSchemaPartText(E)}` + } + case 'contains': { + const { parentSchema: v } = k + return `${P} should contains at least one ${this.getSchemaPartText( + v, + ['contains'] + )} item${getSchemaNonTypes(v)}.` + } + case 'required': { + const { parentSchema: v, params: E } = k + const R = E.missingProperty.replace(/^\./, '') + const L = v && Boolean(v.properties && v.properties[R]) + return `${P} misses the property '${R}'${getSchemaNonTypes(v)}.${ + L + ? ` Should be:\n${this.getSchemaPartText(v, [ + 'properties', + R, + ])}` + : this.getSchemaPartDescription(v) + }` + } + case 'additionalProperties': { + const { params: v, parentSchema: E } = k + const { additionalProperty: R } = v + return `${P} has an unknown property '${R}'${getSchemaNonTypes( + E + )}. These properties are valid:\n${this.getSchemaPartText(E)}` + } + case 'dependencies': { + const { params: v, parentSchema: E } = k + const { property: R, deps: L } = v + const N = L.split(',') + .map((k) => `'${k.trim()}'`) + .join(', ') + return `${P} should have properties ${N} when property '${R}' is present${getSchemaNonTypes( + E + )}.${this.getSchemaPartDescription(E)}` + } + case 'propertyNames': { + const { params: v, parentSchema: E, schema: R } = k + const { propertyName: L } = v + return `${P} property name '${L}' is invalid${getSchemaNonTypes( + E + )}. Property names should be match format ${JSON.stringify( + R.format + )}.${this.getSchemaPartDescription(E)}` + } + case 'enum': { + const { parentSchema: v } = k + if (v && v.enum && v.enum.length === 1) { + return `${P} should be ${this.getSchemaPartText( + v, + false, + true + )}` + } + return `${P} should be one of these:\n${this.getSchemaPartText( + v + )}` + } + case 'const': { + const { parentSchema: v } = k + return `${P} should be equal to constant ${this.getSchemaPartText( + v, + false, + true + )}` + } + case 'not': { + const v = likeObject(k.parentSchema) + ? `\n${this.getSchemaPartText(k.parentSchema)}` + : '' + const E = this.getSchemaPartText(k.schema, false, false, false) + if (canApplyNot(k.schema)) { + return `${P} should be any ${E}${v}.` + } + const { schema: R, parentSchema: L } = k + return `${P} should not be ${this.getSchemaPartText( + R, + false, + true + )}${L && likeObject(L) ? `\n${this.getSchemaPartText(L)}` : ''}` + } + case 'oneOf': + case 'anyOf': { + const { parentSchema: v, children: E } = k + if (E && E.length > 0) { + if (k.schema.length === 1) { + const k = E[E.length - 1] + const P = E.slice(0, E.length - 1) + return this.formatValidationError( + Object.assign({}, k, { + children: P, + parentSchema: Object.assign({}, v, k.parentSchema), + }) + ) + } + let R = filterChildren(E) + if (R.length === 1) { + return this.formatValidationError(R[0]) + } + R = groupChildrenByFirstChild(R) + return `${P} should be one of these:\n${this.getSchemaPartText( + v + )}\nDetails:\n${R.map( + (k) => ` * ${indent(this.formatValidationError(k), ' ')}` + ).join('\n')}` + } + return `${P} should be one of these:\n${this.getSchemaPartText( + v + )}` + } + case 'if': { + const { params: v, parentSchema: E } = k + const { failingKeyword: R } = v + return `${P} should match "${R}" schema:\n${this.getSchemaPartText( + E, + [R] + )}` + } + case 'absolutePath': { + const { message: v, parentSchema: E } = k + return `${P}: ${v}${this.getSchemaPartDescription(E)}` + } + default: { + const { message: v, parentSchema: E } = k + const R = JSON.stringify(k, null, 2) + return `${P} ${v} (${R}).\n${this.getSchemaPartText(E, false)}` + } + } + } + formatValidationErrors(k) { + return k + .map((k) => { + let v = this.formatValidationError(k) + if (this.postFormatter) { + v = this.postFormatter(v, k) + } + return ` - ${indent(v, ' ')}` + }) + .join('\n') + } + } + var q = ValidationError + v.Z = q + }, + 13987: function (k) { + 'use strict' + class Range { + static getOperator(k, v) { + if (k === 'left') { + return v ? '>' : '>=' + } + return v ? '<' : '<=' + } + static formatRight(k, v, E) { + if (v === false) { + return Range.formatLeft(k, !v, !E) + } + return `should be ${Range.getOperator('right', E)} ${k}` + } + static formatLeft(k, v, E) { + if (v === false) { + return Range.formatRight(k, !v, !E) + } + return `should be ${Range.getOperator('left', E)} ${k}` + } + static formatRange(k, v, E, P, R) { + let L = 'should be' + L += ` ${Range.getOperator(R ? 'left' : 'right', R ? E : !E)} ${k} ` + L += R ? 'and' : 'or' + L += ` ${Range.getOperator(R ? 'right' : 'left', R ? P : !P)} ${v}` + return L + } + static getRangeValue(k, v) { + let E = v ? Infinity : -Infinity + let P = -1 + const R = v ? ([k]) => k <= E : ([k]) => k >= E + for (let v = 0; v < k.length; v++) { + if (R(k[v])) { + ;[E] = k[v] + P = v + } + } + if (P > -1) { + return k[P] + } + return [Infinity, true] + } + constructor() { + this._left = [] + this._right = [] + } + left(k, v = false) { + this._left.push([k, v]) + } + right(k, v = false) { + this._right.push([k, v]) + } + format(k = true) { + const [v, E] = Range.getRangeValue(this._left, k) + const [P, R] = Range.getRangeValue(this._right, !k) + if (!Number.isFinite(v) && !Number.isFinite(P)) { + return '' + } + const L = E ? v + 1 : v + const N = R ? P - 1 : P + if (L === N) { + return `should be ${k ? '' : '!'}= ${L}` + } + if (Number.isFinite(v) && !Number.isFinite(P)) { + return Range.formatLeft(v, k, E) + } + if (!Number.isFinite(v) && Number.isFinite(P)) { + return Range.formatRight(P, k, R) + } + return Range.formatRange(v, P, E, R, k) + } + } + k.exports = Range + }, + 30892: function (k, v, E) { + 'use strict' + const P = E(13987) + k.exports.stringHints = function stringHints(k, v) { + const E = [] + let P = 'string' + const R = { ...k } + if (!v) { + const k = R.minLength + const v = R.formatMinimum + const E = R.formatExclusiveMaximum + R.minLength = R.maxLength + R.maxLength = k + R.formatMinimum = R.formatMaximum + R.formatMaximum = v + R.formatExclusiveMaximum = !R.formatExclusiveMinimum + R.formatExclusiveMinimum = !E + } + if (typeof R.minLength === 'number') { + if (R.minLength === 1) { + P = 'non-empty string' + } else { + const k = Math.max(R.minLength - 1, 0) + E.push(`should be longer than ${k} character${k > 1 ? 's' : ''}`) + } + } + if (typeof R.maxLength === 'number') { + if (R.maxLength === 0) { + P = 'empty string' + } else { + const k = R.maxLength + 1 + E.push(`should be shorter than ${k} character${k > 1 ? 's' : ''}`) + } + } + if (R.pattern) { + E.push( + `should${v ? '' : ' not'} match pattern ${JSON.stringify( + R.pattern + )}` + ) + } + if (R.format) { + E.push( + `should${v ? '' : ' not'} match format ${JSON.stringify(R.format)}` + ) + } + if (R.formatMinimum) { + E.push( + `should be ${ + R.formatExclusiveMinimum ? '>' : '>=' + } ${JSON.stringify(R.formatMinimum)}` + ) + } + if (R.formatMaximum) { + E.push( + `should be ${ + R.formatExclusiveMaximum ? '<' : '<=' + } ${JSON.stringify(R.formatMaximum)}` + ) + } + return [P].concat(E) + } + k.exports.numberHints = function numberHints(k, v) { + const E = [k.type === 'integer' ? 'integer' : 'number'] + const R = new P() + if (typeof k.minimum === 'number') { + R.left(k.minimum) + } + if (typeof k.exclusiveMinimum === 'number') { + R.left(k.exclusiveMinimum, true) + } + if (typeof k.maximum === 'number') { + R.right(k.maximum) + } + if (typeof k.exclusiveMaximum === 'number') { + R.right(k.exclusiveMaximum, true) + } + const L = R.format(v) + if (L) { + E.push(L) + } + if (typeof k.multipleOf === 'number') { + E.push(`should${v ? '' : ' not'} be multiple of ${k.multipleOf}`) + } + return E + } + }, + 63597: function (k, v, E) { + 'use strict' + const P = E(25587) + const R = E(51040) + class AsyncParallelBailHookCodeFactory extends R { + content({ onError: k, onResult: v, onDone: E }) { + let P = '' + P += `var _results = new Array(${this.options.taps.length});\n` + P += 'var _checkDone = function() {\n' + P += 'for(var i = 0; i < _results.length; i++) {\n' + P += 'var item = _results[i];\n' + P += 'if(item === undefined) return false;\n' + P += 'if(item.result !== undefined) {\n' + P += v('item.result') + P += 'return true;\n' + P += '}\n' + P += 'if(item.error) {\n' + P += k('item.error') + P += 'return true;\n' + P += '}\n' + P += '}\n' + P += 'return false;\n' + P += '}\n' + P += this.callTapsParallel({ + onError: (k, v, E, P) => { + let R = '' + R += `if(${k} < _results.length && ((_results.length = ${ + k + 1 + }), (_results[${k}] = { error: ${v} }), _checkDone())) {\n` + R += P(true) + R += '} else {\n' + R += E() + R += '}\n' + return R + }, + onResult: (k, v, E, P) => { + let R = '' + R += `if(${k} < _results.length && (${v} !== undefined && (_results.length = ${ + k + 1 + }), (_results[${k}] = { result: ${v} }), _checkDone())) {\n` + R += P(true) + R += '} else {\n' + R += E() + R += '}\n' + return R + }, + onTap: (k, v, E, P) => { + let R = '' + if (k > 0) { + R += `if(${k} >= _results.length) {\n` + R += E() + R += '} else {\n' + } + R += v() + if (k > 0) R += '}\n' + return R + }, + onDone: E, + }) + return P + } + } + const L = new AsyncParallelBailHookCodeFactory() + const COMPILE = function (k) { + L.setup(this, k) + return L.create(k) + } + function AsyncParallelBailHook(k = [], v = undefined) { + const E = new P(k, v) + E.constructor = AsyncParallelBailHook + E.compile = COMPILE + E._call = undefined + E.call = undefined + return E + } + AsyncParallelBailHook.prototype = null + k.exports = AsyncParallelBailHook + }, + 57101: function (k, v, E) { + 'use strict' + const P = E(25587) + const R = E(51040) + class AsyncParallelHookCodeFactory extends R { + content({ onError: k, onDone: v }) { + return this.callTapsParallel({ + onError: (v, E, P, R) => k(E) + R(true), + onDone: v, + }) + } + } + const L = new AsyncParallelHookCodeFactory() + const COMPILE = function (k) { + L.setup(this, k) + return L.create(k) + } + function AsyncParallelHook(k = [], v = undefined) { + const E = new P(k, v) + E.constructor = AsyncParallelHook + E.compile = COMPILE + E._call = undefined + E.call = undefined + return E + } + AsyncParallelHook.prototype = null + k.exports = AsyncParallelHook + }, + 19681: function (k, v, E) { + 'use strict' + const P = E(25587) + const R = E(51040) + class AsyncSeriesBailHookCodeFactory extends R { + content({ onError: k, onResult: v, resultReturns: E, onDone: P }) { + return this.callTapsSeries({ + onError: (v, E, P, R) => k(E) + R(true), + onResult: (k, E, P) => + `if(${E} !== undefined) {\n${v(E)}\n} else {\n${P()}}\n`, + resultReturns: E, + onDone: P, + }) + } + } + const L = new AsyncSeriesBailHookCodeFactory() + const COMPILE = function (k) { + L.setup(this, k) + return L.create(k) + } + function AsyncSeriesBailHook(k = [], v = undefined) { + const E = new P(k, v) + E.constructor = AsyncSeriesBailHook + E.compile = COMPILE + E._call = undefined + E.call = undefined + return E + } + AsyncSeriesBailHook.prototype = null + k.exports = AsyncSeriesBailHook + }, + 12337: function (k, v, E) { + 'use strict' + const P = E(25587) + const R = E(51040) + class AsyncSeriesHookCodeFactory extends R { + content({ onError: k, onDone: v }) { + return this.callTapsSeries({ + onError: (v, E, P, R) => k(E) + R(true), + onDone: v, + }) + } + } + const L = new AsyncSeriesHookCodeFactory() + const COMPILE = function (k) { + L.setup(this, k) + return L.create(k) + } + function AsyncSeriesHook(k = [], v = undefined) { + const E = new P(k, v) + E.constructor = AsyncSeriesHook + E.compile = COMPILE + E._call = undefined + E.call = undefined + return E + } + AsyncSeriesHook.prototype = null + k.exports = AsyncSeriesHook + }, + 60104: function (k, v, E) { + 'use strict' + const P = E(25587) + const R = E(51040) + class AsyncSeriesLoopHookCodeFactory extends R { + content({ onError: k, onDone: v }) { + return this.callTapsLooping({ + onError: (v, E, P, R) => k(E) + R(true), + onDone: v, + }) + } + } + const L = new AsyncSeriesLoopHookCodeFactory() + const COMPILE = function (k) { + L.setup(this, k) + return L.create(k) + } + function AsyncSeriesLoopHook(k = [], v = undefined) { + const E = new P(k, v) + E.constructor = AsyncSeriesLoopHook + E.compile = COMPILE + E._call = undefined + E.call = undefined + return E + } + AsyncSeriesLoopHook.prototype = null + k.exports = AsyncSeriesLoopHook + }, + 79340: function (k, v, E) { + 'use strict' + const P = E(25587) + const R = E(51040) + class AsyncSeriesWaterfallHookCodeFactory extends R { + content({ onError: k, onResult: v, onDone: E }) { + return this.callTapsSeries({ + onError: (v, E, P, R) => k(E) + R(true), + onResult: (k, v, E) => { + let P = '' + P += `if(${v} !== undefined) {\n` + P += `${this._args[0]} = ${v};\n` + P += `}\n` + P += E() + return P + }, + onDone: () => v(this._args[0]), + }) + } + } + const L = new AsyncSeriesWaterfallHookCodeFactory() + const COMPILE = function (k) { + L.setup(this, k) + return L.create(k) + } + function AsyncSeriesWaterfallHook(k = [], v = undefined) { + if (k.length < 1) + throw new Error('Waterfall hooks must have at least one argument') + const E = new P(k, v) + E.constructor = AsyncSeriesWaterfallHook + E.compile = COMPILE + E._call = undefined + E.call = undefined + return E + } + AsyncSeriesWaterfallHook.prototype = null + k.exports = AsyncSeriesWaterfallHook + }, + 25587: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = P.deprecate(() => {}, + 'Hook.context is deprecated and will be removed') + const CALL_DELEGATE = function (...k) { + this.call = this._createCall('sync') + return this.call(...k) + } + const CALL_ASYNC_DELEGATE = function (...k) { + this.callAsync = this._createCall('async') + return this.callAsync(...k) + } + const PROMISE_DELEGATE = function (...k) { + this.promise = this._createCall('promise') + return this.promise(...k) + } + class Hook { + constructor(k = [], v = undefined) { + this._args = k + this.name = v + this.taps = [] + this.interceptors = [] + this._call = CALL_DELEGATE + this.call = CALL_DELEGATE + this._callAsync = CALL_ASYNC_DELEGATE + this.callAsync = CALL_ASYNC_DELEGATE + this._promise = PROMISE_DELEGATE + this.promise = PROMISE_DELEGATE + this._x = undefined + this.compile = this.compile + this.tap = this.tap + this.tapAsync = this.tapAsync + this.tapPromise = this.tapPromise + } + compile(k) { + throw new Error('Abstract: should be overridden') + } + _createCall(k) { + return this.compile({ + taps: this.taps, + interceptors: this.interceptors, + args: this._args, + type: k, + }) + } + _tap(k, v, E) { + if (typeof v === 'string') { + v = { name: v.trim() } + } else if (typeof v !== 'object' || v === null) { + throw new Error('Invalid tap options') + } + if (typeof v.name !== 'string' || v.name === '') { + throw new Error('Missing name for tap') + } + if (typeof v.context !== 'undefined') { + R() + } + v = Object.assign({ type: k, fn: E }, v) + v = this._runRegisterInterceptors(v) + this._insert(v) + } + tap(k, v) { + this._tap('sync', k, v) + } + tapAsync(k, v) { + this._tap('async', k, v) + } + tapPromise(k, v) { + this._tap('promise', k, v) + } + _runRegisterInterceptors(k) { + for (const v of this.interceptors) { + if (v.register) { + const E = v.register(k) + if (E !== undefined) { + k = E + } + } + } + return k + } + withOptions(k) { + const mergeOptions = (v) => + Object.assign({}, k, typeof v === 'string' ? { name: v } : v) + return { + name: this.name, + tap: (k, v) => this.tap(mergeOptions(k), v), + tapAsync: (k, v) => this.tapAsync(mergeOptions(k), v), + tapPromise: (k, v) => this.tapPromise(mergeOptions(k), v), + intercept: (k) => this.intercept(k), + isUsed: () => this.isUsed(), + withOptions: (k) => this.withOptions(mergeOptions(k)), + } + } + isUsed() { + return this.taps.length > 0 || this.interceptors.length > 0 + } + intercept(k) { + this._resetCompilation() + this.interceptors.push(Object.assign({}, k)) + if (k.register) { + for (let v = 0; v < this.taps.length; v++) { + this.taps[v] = k.register(this.taps[v]) + } + } + } + _resetCompilation() { + this.call = this._call + this.callAsync = this._callAsync + this.promise = this._promise + } + _insert(k) { + this._resetCompilation() + let v + if (typeof k.before === 'string') { + v = new Set([k.before]) + } else if (Array.isArray(k.before)) { + v = new Set(k.before) + } + let E = 0 + if (typeof k.stage === 'number') { + E = k.stage + } + let P = this.taps.length + while (P > 0) { + P-- + const k = this.taps[P] + this.taps[P + 1] = k + const R = k.stage || 0 + if (v) { + if (v.has(k.name)) { + v.delete(k.name) + continue + } + if (v.size > 0) { + continue + } + } + if (R > E) { + continue + } + P++ + break + } + this.taps[P] = k + } + } + Object.setPrototypeOf(Hook.prototype, null) + k.exports = Hook + }, + 51040: function (k) { + 'use strict' + class HookCodeFactory { + constructor(k) { + this.config = k + this.options = undefined + this._args = undefined + } + create(k) { + this.init(k) + let v + switch (this.options.type) { + case 'sync': + v = new Function( + this.args(), + '"use strict";\n' + + this.header() + + this.contentWithInterceptors({ + onError: (k) => `throw ${k};\n`, + onResult: (k) => `return ${k};\n`, + resultReturns: true, + onDone: () => '', + rethrowIfPossible: true, + }) + ) + break + case 'async': + v = new Function( + this.args({ after: '_callback' }), + '"use strict";\n' + + this.header() + + this.contentWithInterceptors({ + onError: (k) => `_callback(${k});\n`, + onResult: (k) => `_callback(null, ${k});\n`, + onDone: () => '_callback();\n', + }) + ) + break + case 'promise': + let k = false + const E = this.contentWithInterceptors({ + onError: (v) => { + k = true + return `_error(${v});\n` + }, + onResult: (k) => `_resolve(${k});\n`, + onDone: () => '_resolve();\n', + }) + let P = '' + P += '"use strict";\n' + P += this.header() + P += 'return new Promise((function(_resolve, _reject) {\n' + if (k) { + P += 'var _sync = true;\n' + P += 'function _error(_err) {\n' + P += 'if(_sync)\n' + P += + '_resolve(Promise.resolve().then((function() { throw _err; })));\n' + P += 'else\n' + P += '_reject(_err);\n' + P += '};\n' + } + P += E + if (k) { + P += '_sync = false;\n' + } + P += '}));\n' + v = new Function(this.args(), P) + break + } + this.deinit() + return v + } + setup(k, v) { + k._x = v.taps.map((k) => k.fn) + } + init(k) { + this.options = k + this._args = k.args.slice() + } + deinit() { + this.options = undefined + this._args = undefined + } + contentWithInterceptors(k) { + if (this.options.interceptors.length > 0) { + const v = k.onError + const E = k.onResult + const P = k.onDone + let R = '' + for (let k = 0; k < this.options.interceptors.length; k++) { + const v = this.options.interceptors[k] + if (v.call) { + R += `${this.getInterceptor(k)}.call(${this.args({ + before: v.context ? '_context' : undefined, + })});\n` + } + } + R += this.content( + Object.assign(k, { + onError: + v && + ((k) => { + let E = '' + for (let v = 0; v < this.options.interceptors.length; v++) { + const P = this.options.interceptors[v] + if (P.error) { + E += `${this.getInterceptor(v)}.error(${k});\n` + } + } + E += v(k) + return E + }), + onResult: + E && + ((k) => { + let v = '' + for (let E = 0; E < this.options.interceptors.length; E++) { + const P = this.options.interceptors[E] + if (P.result) { + v += `${this.getInterceptor(E)}.result(${k});\n` + } + } + v += E(k) + return v + }), + onDone: + P && + (() => { + let k = '' + for (let v = 0; v < this.options.interceptors.length; v++) { + const E = this.options.interceptors[v] + if (E.done) { + k += `${this.getInterceptor(v)}.done();\n` + } + } + k += P() + return k + }), + }) + ) + return R + } else { + return this.content(k) + } + } + header() { + let k = '' + if (this.needContext()) { + k += 'var _context = {};\n' + } else { + k += 'var _context;\n' + } + k += 'var _x = this._x;\n' + if (this.options.interceptors.length > 0) { + k += 'var _taps = this.taps;\n' + k += 'var _interceptors = this.interceptors;\n' + } + return k + } + needContext() { + for (const k of this.options.taps) if (k.context) return true + return false + } + callTap( + k, + { onError: v, onResult: E, onDone: P, rethrowIfPossible: R } + ) { + let L = '' + let N = false + for (let v = 0; v < this.options.interceptors.length; v++) { + const E = this.options.interceptors[v] + if (E.tap) { + if (!N) { + L += `var _tap${k} = ${this.getTap(k)};\n` + N = true + } + L += `${this.getInterceptor(v)}.tap(${ + E.context ? '_context, ' : '' + }_tap${k});\n` + } + } + L += `var _fn${k} = ${this.getTapFn(k)};\n` + const q = this.options.taps[k] + switch (q.type) { + case 'sync': + if (!R) { + L += `var _hasError${k} = false;\n` + L += 'try {\n' + } + if (E) { + L += `var _result${k} = _fn${k}(${this.args({ + before: q.context ? '_context' : undefined, + })});\n` + } else { + L += `_fn${k}(${this.args({ + before: q.context ? '_context' : undefined, + })});\n` + } + if (!R) { + L += '} catch(_err) {\n' + L += `_hasError${k} = true;\n` + L += v('_err') + L += '}\n' + L += `if(!_hasError${k}) {\n` + } + if (E) { + L += E(`_result${k}`) + } + if (P) { + L += P() + } + if (!R) { + L += '}\n' + } + break + case 'async': + let N = '' + if (E) N += `(function(_err${k}, _result${k}) {\n` + else N += `(function(_err${k}) {\n` + N += `if(_err${k}) {\n` + N += v(`_err${k}`) + N += '} else {\n' + if (E) { + N += E(`_result${k}`) + } + if (P) { + N += P() + } + N += '}\n' + N += '})' + L += `_fn${k}(${this.args({ + before: q.context ? '_context' : undefined, + after: N, + })});\n` + break + case 'promise': + L += `var _hasResult${k} = false;\n` + L += `var _promise${k} = _fn${k}(${this.args({ + before: q.context ? '_context' : undefined, + })});\n` + L += `if (!_promise${k} || !_promise${k}.then)\n` + L += ` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${k} + ')');\n` + L += `_promise${k}.then((function(_result${k}) {\n` + L += `_hasResult${k} = true;\n` + if (E) { + L += E(`_result${k}`) + } + if (P) { + L += P() + } + L += `}), function(_err${k}) {\n` + L += `if(_hasResult${k}) throw _err${k};\n` + L += v(`_err${k}`) + L += '});\n' + break + } + return L + } + callTapsSeries({ + onError: k, + onResult: v, + resultReturns: E, + onDone: P, + doneReturns: R, + rethrowIfPossible: L, + }) { + if (this.options.taps.length === 0) return P() + const N = this.options.taps.findIndex((k) => k.type !== 'sync') + const q = E || R + let ae = '' + let le = P + let pe = 0 + for (let E = this.options.taps.length - 1; E >= 0; E--) { + const R = E + const me = + le !== P && (this.options.taps[R].type !== 'sync' || pe++ > 20) + if (me) { + pe = 0 + ae += `function _next${R}() {\n` + ae += le() + ae += `}\n` + le = () => `${q ? 'return ' : ''}_next${R}();\n` + } + const ye = le + const doneBreak = (k) => { + if (k) return '' + return P() + } + const _e = this.callTap(R, { + onError: (v) => k(R, v, ye, doneBreak), + onResult: v && ((k) => v(R, k, ye, doneBreak)), + onDone: !v && ye, + rethrowIfPossible: L && (N < 0 || R < N), + }) + le = () => _e + } + ae += le() + return ae + } + callTapsLooping({ onError: k, onDone: v, rethrowIfPossible: E }) { + if (this.options.taps.length === 0) return v() + const P = this.options.taps.every((k) => k.type === 'sync') + let R = '' + if (!P) { + R += 'var _looper = (function() {\n' + R += 'var _loopAsync = false;\n' + } + R += 'var _loop;\n' + R += 'do {\n' + R += '_loop = false;\n' + for (let k = 0; k < this.options.interceptors.length; k++) { + const v = this.options.interceptors[k] + if (v.loop) { + R += `${this.getInterceptor(k)}.loop(${this.args({ + before: v.context ? '_context' : undefined, + })});\n` + } + } + R += this.callTapsSeries({ + onError: k, + onResult: (k, v, E, R) => { + let L = '' + L += `if(${v} !== undefined) {\n` + L += '_loop = true;\n' + if (!P) L += 'if(_loopAsync) _looper();\n' + L += R(true) + L += `} else {\n` + L += E() + L += `}\n` + return L + }, + onDone: + v && + (() => { + let k = '' + k += 'if(!_loop) {\n' + k += v() + k += '}\n' + return k + }), + rethrowIfPossible: E && P, + }) + R += '} while(_loop);\n' + if (!P) { + R += '_loopAsync = true;\n' + R += '});\n' + R += '_looper();\n' + } + return R + } + callTapsParallel({ + onError: k, + onResult: v, + onDone: E, + rethrowIfPossible: P, + onTap: R = (k, v) => v(), + }) { + if (this.options.taps.length <= 1) { + return this.callTapsSeries({ + onError: k, + onResult: v, + onDone: E, + rethrowIfPossible: P, + }) + } + let L = '' + L += 'do {\n' + L += `var _counter = ${this.options.taps.length};\n` + if (E) { + L += 'var _done = (function() {\n' + L += E() + L += '});\n' + } + for (let N = 0; N < this.options.taps.length; N++) { + const done = () => { + if (E) return 'if(--_counter === 0) _done();\n' + else return '--_counter;' + } + const doneBreak = (k) => { + if (k || !E) return '_counter = 0;\n' + else return '_counter = 0;\n_done();\n' + } + L += 'if(_counter <= 0) break;\n' + L += R( + N, + () => + this.callTap(N, { + onError: (v) => { + let E = '' + E += 'if(_counter > 0) {\n' + E += k(N, v, done, doneBreak) + E += '}\n' + return E + }, + onResult: + v && + ((k) => { + let E = '' + E += 'if(_counter > 0) {\n' + E += v(N, k, done, doneBreak) + E += '}\n' + return E + }), + onDone: !v && (() => done()), + rethrowIfPossible: P, + }), + done, + doneBreak + ) + } + L += '} while(false);\n' + return L + } + args({ before: k, after: v } = {}) { + let E = this._args + if (k) E = [k].concat(E) + if (v) E = E.concat(v) + if (E.length === 0) { + return '' + } else { + return E.join(', ') + } + } + getTapFn(k) { + return `_x[${k}]` + } + getTap(k) { + return `_taps[${k}]` + } + getInterceptor(k) { + return `_interceptors[${k}]` + } + } + k.exports = HookCodeFactory + }, + 76763: function (k, v, E) { + 'use strict' + const P = E(73837) + const defaultFactory = (k, v) => v + class HookMap { + constructor(k, v = undefined) { + this._map = new Map() + this.name = v + this._factory = k + this._interceptors = [] + } + get(k) { + return this._map.get(k) + } + for(k) { + const v = this.get(k) + if (v !== undefined) { + return v + } + let E = this._factory(k) + const P = this._interceptors + for (let v = 0; v < P.length; v++) { + E = P[v].factory(k, E) + } + this._map.set(k, E) + return E + } + intercept(k) { + this._interceptors.push(Object.assign({ factory: defaultFactory }, k)) + } + } + HookMap.prototype.tap = P.deprecate(function (k, v, E) { + return this.for(k).tap(v, E) + }, 'HookMap#tap(key,…) is deprecated. Use HookMap#for(key).tap(…) instead.') + HookMap.prototype.tapAsync = P.deprecate(function (k, v, E) { + return this.for(k).tapAsync(v, E) + }, 'HookMap#tapAsync(key,…) is deprecated. Use HookMap#for(key).tapAsync(…) instead.') + HookMap.prototype.tapPromise = P.deprecate(function (k, v, E) { + return this.for(k).tapPromise(v, E) + }, 'HookMap#tapPromise(key,…) is deprecated. Use HookMap#for(key).tapPromise(…) instead.') + k.exports = HookMap + }, + 49771: function (k, v, E) { + 'use strict' + const P = E(25587) + class MultiHook { + constructor(k, v = undefined) { + this.hooks = k + this.name = v + } + tap(k, v) { + for (const E of this.hooks) { + E.tap(k, v) + } + } + tapAsync(k, v) { + for (const E of this.hooks) { + E.tapAsync(k, v) + } + } + tapPromise(k, v) { + for (const E of this.hooks) { + E.tapPromise(k, v) + } + } + isUsed() { + for (const k of this.hooks) { + if (k.isUsed()) return true + } + return false + } + intercept(k) { + for (const v of this.hooks) { + v.intercept(k) + } + } + withOptions(k) { + return new MultiHook( + this.hooks.map((v) => v.withOptions(k)), + this.name + ) + } + } + k.exports = MultiHook + }, + 80038: function (k, v, E) { + 'use strict' + const P = E(25587) + const R = E(51040) + class SyncBailHookCodeFactory extends R { + content({ + onError: k, + onResult: v, + resultReturns: E, + onDone: P, + rethrowIfPossible: R, + }) { + return this.callTapsSeries({ + onError: (v, E) => k(E), + onResult: (k, E, P) => + `if(${E} !== undefined) {\n${v(E)};\n} else {\n${P()}}\n`, + resultReturns: E, + onDone: P, + rethrowIfPossible: R, + }) + } + } + const L = new SyncBailHookCodeFactory() + const TAP_ASYNC = () => { + throw new Error('tapAsync is not supported on a SyncBailHook') + } + const TAP_PROMISE = () => { + throw new Error('tapPromise is not supported on a SyncBailHook') + } + const COMPILE = function (k) { + L.setup(this, k) + return L.create(k) + } + function SyncBailHook(k = [], v = undefined) { + const E = new P(k, v) + E.constructor = SyncBailHook + E.tapAsync = TAP_ASYNC + E.tapPromise = TAP_PROMISE + E.compile = COMPILE + return E + } + SyncBailHook.prototype = null + k.exports = SyncBailHook + }, + 52606: function (k, v, E) { + 'use strict' + const P = E(25587) + const R = E(51040) + class SyncHookCodeFactory extends R { + content({ onError: k, onDone: v, rethrowIfPossible: E }) { + return this.callTapsSeries({ + onError: (v, E) => k(E), + onDone: v, + rethrowIfPossible: E, + }) + } + } + const L = new SyncHookCodeFactory() + const TAP_ASYNC = () => { + throw new Error('tapAsync is not supported on a SyncHook') + } + const TAP_PROMISE = () => { + throw new Error('tapPromise is not supported on a SyncHook') + } + const COMPILE = function (k) { + L.setup(this, k) + return L.create(k) + } + function SyncHook(k = [], v = undefined) { + const E = new P(k, v) + E.constructor = SyncHook + E.tapAsync = TAP_ASYNC + E.tapPromise = TAP_PROMISE + E.compile = COMPILE + return E + } + SyncHook.prototype = null + k.exports = SyncHook + }, + 10359: function (k, v, E) { + 'use strict' + const P = E(25587) + const R = E(51040) + class SyncLoopHookCodeFactory extends R { + content({ onError: k, onDone: v, rethrowIfPossible: E }) { + return this.callTapsLooping({ + onError: (v, E) => k(E), + onDone: v, + rethrowIfPossible: E, + }) + } + } + const L = new SyncLoopHookCodeFactory() + const TAP_ASYNC = () => { + throw new Error('tapAsync is not supported on a SyncLoopHook') + } + const TAP_PROMISE = () => { + throw new Error('tapPromise is not supported on a SyncLoopHook') + } + const COMPILE = function (k) { + L.setup(this, k) + return L.create(k) + } + function SyncLoopHook(k = [], v = undefined) { + const E = new P(k, v) + E.constructor = SyncLoopHook + E.tapAsync = TAP_ASYNC + E.tapPromise = TAP_PROMISE + E.compile = COMPILE + return E + } + SyncLoopHook.prototype = null + k.exports = SyncLoopHook + }, + 3746: function (k, v, E) { + 'use strict' + const P = E(25587) + const R = E(51040) + class SyncWaterfallHookCodeFactory extends R { + content({ + onError: k, + onResult: v, + resultReturns: E, + rethrowIfPossible: P, + }) { + return this.callTapsSeries({ + onError: (v, E) => k(E), + onResult: (k, v, E) => { + let P = '' + P += `if(${v} !== undefined) {\n` + P += `${this._args[0]} = ${v};\n` + P += `}\n` + P += E() + return P + }, + onDone: () => v(this._args[0]), + doneReturns: E, + rethrowIfPossible: P, + }) + } + } + const L = new SyncWaterfallHookCodeFactory() + const TAP_ASYNC = () => { + throw new Error('tapAsync is not supported on a SyncWaterfallHook') + } + const TAP_PROMISE = () => { + throw new Error('tapPromise is not supported on a SyncWaterfallHook') + } + const COMPILE = function (k) { + L.setup(this, k) + return L.create(k) + } + function SyncWaterfallHook(k = [], v = undefined) { + if (k.length < 1) + throw new Error('Waterfall hooks must have at least one argument') + const E = new P(k, v) + E.constructor = SyncWaterfallHook + E.tapAsync = TAP_ASYNC + E.tapPromise = TAP_PROMISE + E.compile = COMPILE + return E + } + SyncWaterfallHook.prototype = null + k.exports = SyncWaterfallHook + }, + 79846: function (k, v, E) { + 'use strict' + v.__esModule = true + v.SyncHook = E(52606) + v.SyncBailHook = E(80038) + v.SyncWaterfallHook = E(3746) + v.SyncLoopHook = E(10359) + v.AsyncParallelHook = E(57101) + v.AsyncParallelBailHook = E(63597) + v.AsyncSeriesHook = E(12337) + v.AsyncSeriesBailHook = E(19681) + v.AsyncSeriesLoopHook = E(60104) + v.AsyncSeriesWaterfallHook = E(79340) + v.HookMap = E(76763) + v.MultiHook = E(49771) + }, + 36849: function (k) { + /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the @@ -25,4 +17349,113662 @@ MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ -var v;var E;var P;var R;var L;var N;var q;var ae;var le;var pe;var me;var ye;var _e;var Ie;var Me;var Te;var je;var Ne;var Be;var qe;var Ue;var Ge;(function(v){var E=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(k){v(createExporter(E,createExporter(k)))}))}else if(true&&typeof k.exports==="object"){v(createExporter(E,createExporter(k.exports)))}else{v(createExporter(E))}function createExporter(k,v){if(k!==E){if(typeof Object.create==="function"){Object.defineProperty(k,"__esModule",{value:true})}else{k.__esModule=true}}return function(E,P){return k[E]=v?v(E,P):P}}})((function(k){var He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,v){k.__proto__=v}||function(k,v){for(var E in v)if(v.hasOwnProperty(E))k[E]=v[E]};v=function(k,v){He(k,v);function __(){this.constructor=k}k.prototype=v===null?Object.create(v):(__.prototype=v.prototype,new __)};E=Object.assign||function(k){for(var v,E=1,P=arguments.length;E=0;q--)if(N=k[q])L=(R<3?N(L):R>3?N(v,E,L):N(v,E))||L;return R>3&&L&&Object.defineProperty(v,E,L),L};L=function(k,v){return function(E,P){v(E,P,k)}};N=function(k,v){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(k,v)};q=function(k,v,E,P){function adopt(k){return k instanceof E?k:new E((function(v){v(k)}))}return new(E||(E=Promise))((function(E,R){function fulfilled(k){try{step(P.next(k))}catch(k){R(k)}}function rejected(k){try{step(P["throw"](k))}catch(k){R(k)}}function step(k){k.done?E(k.value):adopt(k.value).then(fulfilled,rejected)}step((P=P.apply(k,v||[])).next())}))};ae=function(k,v){var E={label:0,sent:function(){if(L[0]&1)throw L[1];return L[1]},trys:[],ops:[]},P,R,L,N;return N={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(N[Symbol.iterator]=function(){return this}),N;function verb(k){return function(v){return step([k,v])}}function step(N){if(P)throw new TypeError("Generator is already executing.");while(E)try{if(P=1,R&&(L=N[0]&2?R["return"]:N[0]?R["throw"]||((L=R["return"])&&L.call(R),0):R.next)&&!(L=L.call(R,N[1])).done)return L;if(R=0,L)N=[N[0]&2,L.value];switch(N[0]){case 0:case 1:L=N;break;case 4:E.label++;return{value:N[1],done:false};case 5:E.label++;R=N[1];N=[0];continue;case 7:N=E.ops.pop();E.trys.pop();continue;default:if(!(L=E.trys,L=L.length>0&&L[L.length-1])&&(N[0]===6||N[0]===2)){E=0;continue}if(N[0]===3&&(!L||N[1]>L[0]&&N[1]=k.length)k=void 0;return{value:k&&k[P++],done:!k}}};throw new TypeError(v?"Object is not iterable.":"Symbol.iterator is not defined.")};me=function(k,v){var E=typeof Symbol==="function"&&k[Symbol.iterator];if(!E)return k;var P=E.call(k),R,L=[],N;try{while((v===void 0||v-- >0)&&!(R=P.next()).done)L.push(R.value)}catch(k){N={error:k}}finally{try{if(R&&!R.done&&(E=P["return"]))E.call(P)}finally{if(N)throw N.error}}return L};ye=function(){for(var k=[],v=0;v1||resume(k,v)}))}}function resume(k,v){try{step(P[k](v))}catch(k){settle(L[0][3],k)}}function step(k){k.value instanceof Ie?Promise.resolve(k.value.v).then(fulfill,reject):settle(L[0][2],k)}function fulfill(k){resume("next",k)}function reject(k){resume("throw",k)}function settle(k,v){if(k(v),L.shift(),L.length)resume(L[0][0],L[0][1])}};Te=function(k){var v,E;return v={},verb("next"),verb("throw",(function(k){throw k})),verb("return"),v[Symbol.iterator]=function(){return this},v;function verb(P,R){v[P]=k[P]?function(v){return(E=!E)?{value:Ie(k[P](v)),done:P==="return"}:R?R(v):v}:R}};je=function(k){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var v=k[Symbol.asyncIterator],E;return v?v.call(k):(k=typeof pe==="function"?pe(k):k[Symbol.iterator](),E={},verb("next"),verb("throw"),verb("return"),E[Symbol.asyncIterator]=function(){return this},E);function verb(v){E[v]=k[v]&&function(E){return new Promise((function(P,R){E=k[v](E),settle(P,R,E.done,E.value)}))}}function settle(k,v,E,P){Promise.resolve(P).then((function(v){k({value:v,done:E})}),v)}};Ne=function(k,v){if(Object.defineProperty){Object.defineProperty(k,"raw",{value:v})}else{k.raw=v}return k};Be=function(k){if(k&&k.__esModule)return k;var v={};if(k!=null)for(var E in k)if(Object.hasOwnProperty.call(k,E))v[E]=k[E];v["default"]=k;return v};qe=function(k){return k&&k.__esModule?k:{default:k}};Ue=function(k,v){if(!v.has(k)){throw new TypeError("attempted to get private field on non-instance")}return v.get(k)};Ge=function(k,v,E){if(!v.has(k)){throw new TypeError("attempted to set private field on non-instance")}v.set(k,E);return E};k("__extends",v);k("__assign",E);k("__rest",P);k("__decorate",R);k("__param",L);k("__metadata",N);k("__awaiter",q);k("__generator",ae);k("__exportStar",le);k("__values",pe);k("__read",me);k("__spread",ye);k("__spreadArrays",_e);k("__await",Ie);k("__asyncGenerator",Me);k("__asyncDelegator",Te);k("__asyncValues",je);k("__makeTemplateObject",Ne);k("__importStar",Be);k("__importDefault",qe);k("__classPrivateFieldGet",Ue);k("__classPrivateFieldSet",Ge)}))},99494:function(k,v,E){"use strict";const P=E(88113);const{JAVASCRIPT_MODULE_TYPE_AUTO:R,JAVASCRIPT_MODULE_TYPE_DYNAMIC:L,JAVASCRIPT_MODULE_TYPE_ESM:N}=E(93622);const q=E(56727);const ae=E(71572);const le=E(60381);const pe=E(70037);const me=E(89168);const{toConstantDependency:ye,evaluateToString:_e}=E(80784);const Ie=E(32861);const Me=E(5e3);function getReplacements(k,v){return{__webpack_require__:{expr:q.require,req:[q.require],type:"function",assign:false},__webpack_public_path__:{expr:q.publicPath,req:[q.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:q.baseURI,req:[q.baseURI],type:"string",assign:true},__webpack_modules__:{expr:q.moduleFactories,req:[q.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:q.ensureChunk,req:[q.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:k?`__WEBPACK_EXTERNAL_createRequire(${v}.url)`:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:q.scriptNonce,req:[q.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${q.getFullHash}()`,req:[q.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:q.chunkName,req:[q.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:q.getChunkScriptFilename,req:[q.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:q.runtimeId,req:[q.runtimeId],assign:false},"require.onError":{expr:q.uncaughtErrorHandler,req:[q.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:q.systemContext,req:[q.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:q.shareScopeMap,req:[q.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:q.initializeSharing,req:[q.initializeSharing],type:"function",assign:true}}}const Te="APIPlugin";class APIPlugin{constructor(k={}){this.options=k}apply(k){k.hooks.compilation.tap(Te,((k,{normalModuleFactory:v})=>{const{importMetaName:E}=k.outputOptions;const je=getReplacements(this.options.module,E);k.dependencyTemplates.set(le,new le.Template);k.hooks.runtimeRequirementInTree.for(q.chunkName).tap(Te,(v=>{k.addRuntimeModule(v,new Ie(v.name));return true}));k.hooks.runtimeRequirementInTree.for(q.getFullHash).tap(Te,((v,E)=>{k.addRuntimeModule(v,new Me);return true}));const Ne=me.getCompilationHooks(k);Ne.renderModuleContent.tap(Te,((k,v,E)=>{if(v.buildInfo.needCreateRequire){const k=[new P('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',P.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];E.chunkInitFragments.push(...k)}return k}));const handler=k=>{Object.keys(je).forEach((v=>{const E=je[v];k.hooks.expression.for(v).tap(Te,(P=>{const R=ye(k,E.expr,E.req);if(v==="__non_webpack_require__"&&this.options.module){k.state.module.buildInfo.needCreateRequire=true}return R(P)}));if(E.assign===false){k.hooks.assign.for(v).tap(Te,(k=>{const E=new ae(`${v} must not be assigned`);E.loc=k.loc;throw E}))}if(E.type){k.hooks.evaluateTypeof.for(v).tap(Te,_e(E.type))}}));k.hooks.expression.for("__webpack_layer__").tap(Te,(v=>{const E=new le(JSON.stringify(k.state.module.layer),v.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}));k.hooks.evaluateIdentifier.for("__webpack_layer__").tap(Te,(v=>(k.state.module.layer===null?(new pe).setNull():(new pe).setString(k.state.module.layer)).setRange(v.range)));k.hooks.evaluateTypeof.for("__webpack_layer__").tap(Te,(v=>(new pe).setString(k.state.module.layer===null?"object":"string").setRange(v.range)));k.hooks.expression.for("__webpack_module__.id").tap(Te,(v=>{k.state.module.buildInfo.moduleConcatenationBailout="__webpack_module__.id";const E=new le(k.state.module.moduleArgument+".id",v.range,[q.moduleId]);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}));k.hooks.expression.for("__webpack_module__").tap(Te,(v=>{k.state.module.buildInfo.moduleConcatenationBailout="__webpack_module__";const E=new le(k.state.module.moduleArgument,v.range,[q.module]);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}));k.hooks.evaluateTypeof.for("__webpack_module__").tap(Te,_e("object"))};v.hooks.parser.for(R).tap(Te,handler);v.hooks.parser.for(L).tap(Te,handler);v.hooks.parser.for(N).tap(Te,handler)}))}}k.exports=APIPlugin},60386:function(k,v,E){"use strict";const P=E(71572);const R=/at ([a-zA-Z0-9_.]*)/;function createMessage(k){return`Abstract method${k?" "+k:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const k=this.stack.split("\n")[3].match(R);this.message=k&&k[1]?createMessage(k[1]):createMessage()}class AbstractMethodError extends P{constructor(){super((new Message).message);this.name="AbstractMethodError"}}k.exports=AbstractMethodError},75081:function(k,v,E){"use strict";const P=E(38706);const R=E(58528);class AsyncDependenciesBlock extends P{constructor(k,v,E){super();if(typeof k==="string"){k={name:k}}else if(!k){k={name:undefined}}this.groupOptions=k;this.loc=v;this.request=E;this._stringifiedGroupOptions=undefined}get chunkName(){return this.groupOptions.name}set chunkName(k){if(this.groupOptions.name!==k){this.groupOptions.name=k;this._stringifiedGroupOptions=undefined}}updateHash(k,v){const{chunkGraph:E}=v;if(this._stringifiedGroupOptions===undefined){this._stringifiedGroupOptions=JSON.stringify(this.groupOptions)}const P=E.getBlockChunkGroup(this);k.update(`${this._stringifiedGroupOptions}${P?P.id:""}`);super.updateHash(k,v)}serialize(k){const{write:v}=k;v(this.groupOptions);v(this.loc);v(this.request);super.serialize(k)}deserialize(k){const{read:v}=k;this.groupOptions=v();this.loc=v();this.request=v();super.deserialize(k)}}R(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)")}});k.exports=AsyncDependenciesBlock},51641:function(k,v,E){"use strict";const P=E(71572);class AsyncDependencyToInitialChunkError extends P{constructor(k,v,E){super(`It's not allowed to load an initial chunk on demand. The chunk name "${k}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=v;this.loc=E}}k.exports=AsyncDependencyToInitialChunkError},75250:function(k,v,E){"use strict";const P=E(78175);const R=E(38224);const L=E(85992);class AutomaticPrefetchPlugin{apply(k){k.hooks.compilation.tap("AutomaticPrefetchPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(L,v)}));let v=null;k.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(k=>{v=[];for(const E of k.modules){if(E instanceof R){v.push({context:E.context,request:E.request})}}}));k.hooks.make.tapAsync("AutomaticPrefetchPlugin",((E,R)=>{if(!v)return R();P.forEach(v,((v,P)=>{E.addModuleChain(v.context||k.context,new L(`!!${v.request}`),P)}),(k=>{v=null;R(k)}))}))}}k.exports=AutomaticPrefetchPlugin},13991:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const R=E(27747);const L=E(98612);const N=E(95041);const q=E(92198);const ae=q(E(85797),(()=>E(98156)),{name:"Banner Plugin",baseDataPath:"options"});const wrapComment=k=>{if(!k.includes("\n")){return N.toComment(k)}return`/*!\n * ${k.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimEnd()}\n */`};class BannerPlugin{constructor(k){if(typeof k==="string"||typeof k==="function"){k={banner:k}}ae(k);this.options=k;const v=k.banner;if(typeof v==="function"){const k=v;this.banner=this.options.raw?k:v=>wrapComment(k(v))}else{const k=this.options.raw?v:wrapComment(v);this.banner=()=>k}}apply(k){const v=this.options;const E=this.banner;const N=L.matchObject.bind(undefined,v);const q=new WeakMap;k.hooks.compilation.tap("BannerPlugin",(k=>{k.hooks.processAssets.tap({name:"BannerPlugin",stage:R.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const R of k.chunks){if(v.entryOnly&&!R.canBeInitial()){continue}for(const L of R.files){if(!N(L)){continue}const ae={chunk:R,filename:L};const le=k.getPath(E,ae);k.updateAsset(L,(k=>{let E=q.get(k);if(!E||E.comment!==le){const E=v.footer?new P(k,"\n",le):new P(le,"\n",k);q.set(k,{source:E,comment:le});return E}return E.source}))}}}))}))}}k.exports=BannerPlugin},89802:function(k,v,E){"use strict";const{AsyncParallelHook:P,AsyncSeriesBailHook:R,SyncHook:L}=E(79846);const{makeWebpackError:N,makeWebpackErrorCallback:q}=E(82104);const needCalls=(k,v)=>E=>{if(--k===0){return v(E)}if(E&&k>0){k=0;return v(E)}};class Cache{constructor(){this.hooks={get:new R(["identifier","etag","gotHandlers"]),store:new P(["identifier","etag","data"]),storeBuildDependencies:new P(["dependencies"]),beginIdle:new L([]),endIdle:new P([]),shutdown:new P([])}}get(k,v,E){const P=[];this.hooks.get.callAsync(k,v,P,((k,v)=>{if(k){E(N(k,"Cache.hooks.get"));return}if(v===null){v=undefined}if(P.length>1){const k=needCalls(P.length,(()=>E(null,v)));for(const E of P){E(v,k)}}else if(P.length===1){P[0](v,(()=>E(null,v)))}else{E(null,v)}}))}store(k,v,E,P){this.hooks.store.callAsync(k,v,E,q(P,"Cache.hooks.store"))}storeBuildDependencies(k,v){this.hooks.storeBuildDependencies.callAsync(k,q(v,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(k){this.hooks.endIdle.callAsync(q(k,"Cache.hooks.endIdle"))}shutdown(k){this.hooks.shutdown.callAsync(q(k,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;k.exports=Cache},90580:function(k,v,E){"use strict";const{forEachBail:P}=E(90006);const R=E(78175);const L=E(76222);const N=E(87045);class MultiItemCache{constructor(k){this._items=k;if(k.length===1)return k[0]}get(k){P(this._items,((k,v)=>k.get(v)),k)}getPromise(){const next=k=>this._items[k].getPromise().then((v=>{if(v!==undefined)return v;if(++kv.store(k,E)),v)}storePromise(k){return Promise.all(this._items.map((v=>v.storePromise(k)))).then((()=>{}))}}class ItemCacheFacade{constructor(k,v,E){this._cache=k;this._name=v;this._etag=E}get(k){this._cache.get(this._name,this._etag,k)}getPromise(){return new Promise(((k,v)=>{this._cache.get(this._name,this._etag,((E,P)=>{if(E){v(E)}else{k(P)}}))}))}store(k,v){this._cache.store(this._name,this._etag,k,v)}storePromise(k){return new Promise(((v,E)=>{this._cache.store(this._name,this._etag,k,(k=>{if(k){E(k)}else{v()}}))}))}provide(k,v){this.get(((E,P)=>{if(E)return v(E);if(P!==undefined)return P;k(((k,E)=>{if(k)return v(k);this.store(E,(k=>{if(k)return v(k);v(null,E)}))}))}))}async providePromise(k){const v=await this.getPromise();if(v!==undefined)return v;const E=await k();await this.storePromise(E);return E}}class CacheFacade{constructor(k,v,E){this._cache=k;this._name=v;this._hashFunction=E}getChildCache(k){return new CacheFacade(this._cache,`${this._name}|${k}`,this._hashFunction)}getItemCache(k,v){return new ItemCacheFacade(this._cache,`${this._name}|${k}`,v)}getLazyHashedEtag(k){return L(k,this._hashFunction)}mergeEtags(k,v){return N(k,v)}get(k,v,E){this._cache.get(`${this._name}|${k}`,v,E)}getPromise(k,v){return new Promise(((E,P)=>{this._cache.get(`${this._name}|${k}`,v,((k,v)=>{if(k){P(k)}else{E(v)}}))}))}store(k,v,E,P){this._cache.store(`${this._name}|${k}`,v,E,P)}storePromise(k,v,E){return new Promise(((P,R)=>{this._cache.store(`${this._name}|${k}`,v,E,(k=>{if(k){R(k)}else{P()}}))}))}provide(k,v,E,P){this.get(k,v,((R,L)=>{if(R)return P(R);if(L!==undefined)return L;E(((E,R)=>{if(E)return P(E);this.store(k,v,R,(k=>{if(k)return P(k);P(null,R)}))}))}))}async providePromise(k,v,E){const P=await this.getPromise(k,v);if(P!==undefined)return P;const R=await E();await this.storePromise(k,v,R);return R}}k.exports=CacheFacade;k.exports.ItemCacheFacade=ItemCacheFacade;k.exports.MultiItemCache=MultiItemCache},94046:function(k,v,E){"use strict";const P=E(71572);const sortModules=k=>k.sort(((k,v)=>{const E=k.identifier();const P=v.identifier();if(EP)return 1;return 0}));const createModulesListMessage=(k,v)=>k.map((k=>{let E=`* ${k.identifier()}`;const P=Array.from(v.getIncomingConnectionsByOriginModule(k).keys()).filter((k=>k));if(P.length>0){E+=`\n Used by ${P.length} module(s), i. e.`;E+=`\n ${P[0].identifier()}`}return E})).join("\n");class CaseSensitiveModulesWarning extends P{constructor(k,v){const E=sortModules(Array.from(k));const P=createModulesListMessage(E,v);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${P}`);this.name="CaseSensitiveModulesWarning";this.module=E[0]}}k.exports=CaseSensitiveModulesWarning},8247:function(k,v,E){"use strict";const P=E(38317);const R=E(10969);const{intersect:L}=E(59959);const N=E(46081);const q=E(96181);const{compareModulesByIdentifier:ae,compareChunkGroupsByIndex:le,compareModulesById:pe}=E(95648);const{createArrayToSetDeprecationSet:me}=E(61883);const{mergeRuntime:ye}=E(1540);const _e=me("chunk.files");let Ie=1e3;class Chunk{constructor(k,v=true){this.id=null;this.ids=null;this.debugId=Ie++;this.name=k;this.idNameHints=new N;this.preventIntegration=false;this.filenameTemplate=undefined;this.cssFilenameTemplate=undefined;this._groups=new N(undefined,le);this.runtime=undefined;this.files=v?new _e:new Set;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 k=Array.from(P.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(k.length===0){return undefined}else if(k.length===1){return k[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return P.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(k){const v=P.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(v.isModuleInChunk(k,this))return false;v.connectChunkAndModule(this,k);return true}removeModule(k){P.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,k)}getNumberOfModules(){return P.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const k=P.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return k.getOrderedChunkModulesIterable(this,ae)}compareTo(k){const v=P.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return v.compareChunks(this,k)}containsModule(k){return P.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(k,this)}getModules(){return P.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const k=P.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");k.disconnectChunk(this);this.disconnectFromGroups()}moveModule(k,v){const E=P.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");E.disconnectChunkAndModule(this,k);E.connectChunkAndModule(v,k)}integrate(k){const v=P.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(v.canChunksBeIntegrated(this,k)){v.integrateChunks(this,k);return true}else{return false}}canBeIntegrated(k){const v=P.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return v.canChunksBeIntegrated(this,k)}isEmpty(){const k=P.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return k.getNumberOfChunkModules(this)===0}modulesSize(){const k=P.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return k.getChunkModulesSize(this)}size(k={}){const v=P.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return v.getChunkSize(this,k)}integratedSize(k,v){const E=P.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return E.getIntegratedChunksSize(this,k,v)}getChunkModuleMaps(k){const v=P.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const E=Object.create(null);const R=Object.create(null);for(const P of this.getAllAsyncChunks()){let L;for(const N of v.getOrderedChunkModulesIterable(P,pe(v))){if(k(N)){if(L===undefined){L=[];E[P.id]=L}const k=v.getModuleId(N);L.push(k);R[k]=v.getRenderedModuleHash(N,undefined)}}}return{id:E,hash:R}}hasModuleInGraph(k,v){const E=P.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return E.hasModuleInGraph(this,k,v)}getChunkMaps(k){const v=Object.create(null);const E=Object.create(null);const P=Object.create(null);for(const R of this.getAllAsyncChunks()){const L=R.id;v[L]=k?R.hash:R.renderedHash;for(const k of Object.keys(R.contentHash)){if(!E[k]){E[k]=Object.create(null)}E[k][L]=R.contentHash[k]}if(R.name){P[L]=R.name}}return{hash:v,contentHash:E,name:P}}hasRuntime(){for(const k of this._groups){if(k instanceof R&&k.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const k of this._groups){if(k.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const k of this._groups){if(!k.isInitial())return false}return true}getEntryOptions(){for(const k of this._groups){if(k instanceof R){return k.options}}return undefined}addGroup(k){this._groups.add(k)}removeGroup(k){this._groups.delete(k)}isInGroup(k){return this._groups.has(k)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const k of this._groups){k.removeChunk(this)}}split(k){for(const v of this._groups){v.insertChunk(k,this);k.addGroup(v)}for(const v of this.idNameHints){k.idNameHints.add(v)}k.runtime=ye(k.runtime,this.runtime)}updateHash(k,v){k.update(`${this.id} ${this.ids?this.ids.join():""} ${this.name||""} `);const E=new q;for(const k of v.getChunkModulesIterable(this)){E.add(v.getModuleHash(k,this.runtime))}E.updateHash(k);const P=v.getChunkEntryModulesWithChunkGroupIterable(this);for(const[E,R]of P){k.update(`entry${v.getModuleId(E)}${R.id}`)}}getAllAsyncChunks(){const k=new Set;const v=new Set;const E=L(Array.from(this.groupsIterable,(k=>new Set(k.chunks))));const P=new Set(this.groupsIterable);for(const v of P){for(const E of v.childrenIterable){if(E instanceof R){P.add(E)}else{k.add(E)}}}for(const P of k){for(const k of P.chunks){if(!E.has(k)){v.add(k)}}for(const v of P.childrenIterable){k.add(v)}}return v}getAllInitialChunks(){const k=new Set;const v=new Set(this.groupsIterable);for(const E of v){if(E.isInitial()){for(const v of E.chunks)k.add(v);for(const k of E.childrenIterable)v.add(k)}}return k}getAllReferencedChunks(){const k=new Set(this.groupsIterable);const v=new Set;for(const E of k){for(const k of E.chunks){v.add(k)}for(const v of E.childrenIterable){k.add(v)}}return v}getAllReferencedAsyncEntrypoints(){const k=new Set(this.groupsIterable);const v=new Set;for(const E of k){for(const k of E.asyncEntrypointsIterable){v.add(k)}for(const v of E.childrenIterable){k.add(v)}}return v}hasAsyncChunks(){const k=new Set;const v=L(Array.from(this.groupsIterable,(k=>new Set(k.chunks))));for(const v of this.groupsIterable){for(const E of v.childrenIterable){k.add(E)}}for(const E of k){for(const k of E.chunks){if(!v.has(k)){return true}}for(const v of E.childrenIterable){k.add(v)}}return false}getChildIdsByOrders(k,v){const E=new Map;for(const k of this.groupsIterable){if(k.chunks[k.chunks.length-1]===this){for(const v of k.childrenIterable){for(const k of Object.keys(v.options)){if(k.endsWith("Order")){const P=k.slice(0,k.length-"Order".length);let R=E.get(P);if(R===undefined){R=[];E.set(P,R)}R.push({order:v.options[k],group:v})}}}}}const P=Object.create(null);for(const[R,L]of E){L.sort(((v,E)=>{const P=E.order-v.order;if(P!==0)return P;return v.group.compareTo(k,E.group)}));const E=new Set;for(const P of L){for(const R of P.group.chunks){if(v&&!v(R,k))continue;E.add(R.id)}}if(E.size>0){P[R]=Array.from(E)}}return P}getChildrenOfTypeInOrder(k,v){const E=[];for(const k of this.groupsIterable){for(const P of k.childrenIterable){const R=P.options[v];if(R===undefined)continue;E.push({order:R,group:k,childGroup:P})}}if(E.length===0)return undefined;E.sort(((v,E)=>{const P=E.order-v.order;if(P!==0)return P;return v.group.compareTo(k,E.group)}));const P=[];let R;for(const{group:k,childGroup:v}of E){if(R&&R.onChunks===k.chunks){for(const k of v.chunks){R.chunks.add(k)}}else{P.push(R={onChunks:k.chunks,chunks:new Set(v.chunks)})}}return P}getChildIdsByOrdersMap(k,v,E){const P=Object.create(null);const addChildIdsByOrdersToMap=v=>{const R=v.getChildIdsByOrders(k,E);for(const k of Object.keys(R)){let E=P[k];if(E===undefined){P[k]=E=Object.create(null)}E[v.id]=R[k]}};if(v){const k=new Set;for(const v of this.groupsIterable){for(const E of v.chunks){k.add(E)}}for(const v of k){addChildIdsByOrdersToMap(v)}}for(const k of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(k)}return P}}k.exports=Chunk},38317:function(k,v,E){"use strict";const P=E(73837);const R=E(10969);const L=E(86267);const{first:N}=E(59959);const q=E(46081);const{compareModulesById:ae,compareIterables:le,compareModulesByIdentifier:pe,concatComparators:me,compareSelect:ye,compareIds:_e}=E(95648);const Ie=E(74012);const Me=E(34271);const{RuntimeSpecMap:Te,RuntimeSpecSet:je,runtimeToString:Ne,mergeRuntime:Be,forEachRuntime:qe}=E(1540);const Ue=new Set;const Ge=BigInt(0);const He=le(pe);class ModuleHashInfo{constructor(k,v){this.hash=k;this.renderedHash=v}}const getArray=k=>Array.from(k);const getModuleRuntimes=k=>{const v=new je;for(const E of k){v.add(E.runtime)}return v};const modulesBySourceType=k=>v=>{const E=new Map;for(const P of v){const v=k&&k.get(P)||P.getSourceTypes();for(const k of v){let v=E.get(k);if(v===undefined){v=new q;E.set(k,v)}v.add(P)}}for(const[k,P]of E){if(P.size===v.size){E.set(k,v)}}return E};const We=modulesBySourceType(undefined);const Qe=new WeakMap;const createOrderedArrayFunction=k=>{let v=Qe.get(k);if(v!==undefined)return v;v=v=>{v.sortWith(k);return Array.from(v)};Qe.set(k,v);return v};const getModulesSize=k=>{let v=0;for(const E of k){for(const k of E.getSourceTypes()){v+=E.size(k)}}return v};const getModulesSizes=k=>{let v=Object.create(null);for(const E of k){for(const k of E.getSourceTypes()){v[k]=(v[k]||0)+E.size(k)}}return v};const isAvailableChunk=(k,v)=>{const E=new Set(v.groupsIterable);for(const v of E){if(k.isInGroup(v))continue;if(v.isInitial())return false;for(const k of v.parentsIterable){E.add(k)}}return true};class ChunkGraphModule{constructor(){this.chunks=new q;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new q;this.sourceTypesByModule=undefined;this.entryModules=new Map;this.runtimeModules=new q;this.fullHashModules=undefined;this.dependentHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set;this._modulesBySourceType=We}}class ChunkGraph{constructor(k,v="md4"){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=k;this._hashFunction=v;this._getGraphRoots=this._getGraphRoots.bind(this)}_getChunkGraphModule(k){let v=this._modules.get(k);if(v===undefined){v=new ChunkGraphModule;this._modules.set(k,v)}return v}_getChunkGraphChunk(k){let v=this._chunks.get(k);if(v===undefined){v=new ChunkGraphChunk;this._chunks.set(k,v)}return v}_getGraphRoots(k){const{moduleGraph:v}=this;return Array.from(Me(k,(k=>{const E=new Set;const addDependencies=k=>{for(const P of v.getOutgoingConnections(k)){if(!P.module)continue;const k=P.getActiveState(undefined);if(k===false)continue;if(k===L.TRANSITIVE_ONLY){addDependencies(P.module);continue}E.add(P.module)}};addDependencies(k);return E}))).sort(pe)}connectChunkAndModule(k,v){const E=this._getChunkGraphModule(v);const P=this._getChunkGraphChunk(k);E.chunks.add(k);P.modules.add(v)}disconnectChunkAndModule(k,v){const E=this._getChunkGraphModule(v);const P=this._getChunkGraphChunk(k);P.modules.delete(v);if(P.sourceTypesByModule)P.sourceTypesByModule.delete(v);E.chunks.delete(k)}disconnectChunk(k){const v=this._getChunkGraphChunk(k);for(const E of v.modules){const v=this._getChunkGraphModule(E);v.chunks.delete(k)}v.modules.clear();k.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(k)}attachModules(k,v){const E=this._getChunkGraphChunk(k);for(const k of v){E.modules.add(k)}}attachRuntimeModules(k,v){const E=this._getChunkGraphChunk(k);for(const k of v){E.runtimeModules.add(k)}}attachFullHashModules(k,v){const E=this._getChunkGraphChunk(k);if(E.fullHashModules===undefined)E.fullHashModules=new Set;for(const k of v){E.fullHashModules.add(k)}}attachDependentHashModules(k,v){const E=this._getChunkGraphChunk(k);if(E.dependentHashModules===undefined)E.dependentHashModules=new Set;for(const k of v){E.dependentHashModules.add(k)}}replaceModule(k,v){const E=this._getChunkGraphModule(k);const P=this._getChunkGraphModule(v);for(const R of E.chunks){const E=this._getChunkGraphChunk(R);E.modules.delete(k);E.modules.add(v);P.chunks.add(R)}E.chunks.clear();if(E.entryInChunks!==undefined){if(P.entryInChunks===undefined){P.entryInChunks=new Set}for(const R of E.entryInChunks){const E=this._getChunkGraphChunk(R);const L=E.entryModules.get(k);const N=new Map;for(const[P,R]of E.entryModules){if(P===k){N.set(v,L)}else{N.set(P,R)}}E.entryModules=N;P.entryInChunks.add(R)}E.entryInChunks=undefined}if(E.runtimeInChunks!==undefined){if(P.runtimeInChunks===undefined){P.runtimeInChunks=new Set}for(const R of E.runtimeInChunks){const E=this._getChunkGraphChunk(R);E.runtimeModules.delete(k);E.runtimeModules.add(v);P.runtimeInChunks.add(R);if(E.fullHashModules!==undefined&&E.fullHashModules.has(k)){E.fullHashModules.delete(k);E.fullHashModules.add(v)}if(E.dependentHashModules!==undefined&&E.dependentHashModules.has(k)){E.dependentHashModules.delete(k);E.dependentHashModules.add(v)}}E.runtimeInChunks=undefined}}isModuleInChunk(k,v){const E=this._getChunkGraphChunk(v);return E.modules.has(k)}isModuleInChunkGroup(k,v){for(const E of v.chunks){if(this.isModuleInChunk(k,E))return true}return false}isEntryModule(k){const v=this._getChunkGraphModule(k);return v.entryInChunks!==undefined}getModuleChunksIterable(k){const v=this._getChunkGraphModule(k);return v.chunks}getOrderedModuleChunksIterable(k,v){const E=this._getChunkGraphModule(k);E.chunks.sortWith(v);return E.chunks}getModuleChunks(k){const v=this._getChunkGraphModule(k);return v.chunks.getFromCache(getArray)}getNumberOfModuleChunks(k){const v=this._getChunkGraphModule(k);return v.chunks.size}getModuleRuntimes(k){const v=this._getChunkGraphModule(k);return v.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(k){const v=this._getChunkGraphChunk(k);return v.modules.size}getNumberOfChunkFullHashModules(k){const v=this._getChunkGraphChunk(k);return v.fullHashModules===undefined?0:v.fullHashModules.size}getChunkModulesIterable(k){const v=this._getChunkGraphChunk(k);return v.modules}getChunkModulesIterableBySourceType(k,v){const E=this._getChunkGraphChunk(k);const P=E.modules.getFromUnorderedCache(E._modulesBySourceType).get(v);return P}setChunkModuleSourceTypes(k,v,E){const P=this._getChunkGraphChunk(k);if(P.sourceTypesByModule===undefined){P.sourceTypesByModule=new WeakMap}P.sourceTypesByModule.set(v,E);P._modulesBySourceType=modulesBySourceType(P.sourceTypesByModule)}getChunkModuleSourceTypes(k,v){const E=this._getChunkGraphChunk(k);if(E.sourceTypesByModule===undefined){return v.getSourceTypes()}return E.sourceTypesByModule.get(v)||v.getSourceTypes()}getModuleSourceTypes(k){return this._getOverwrittenModuleSourceTypes(k)||k.getSourceTypes()}_getOverwrittenModuleSourceTypes(k){let v=false;let E;for(const P of this.getModuleChunksIterable(k)){const R=this._getChunkGraphChunk(P);if(R.sourceTypesByModule===undefined)return;const L=R.sourceTypesByModule.get(k);if(L===undefined)return;if(!E){E=L;continue}else if(!v){for(const k of L){if(!v){if(!E.has(k)){v=true;E=new Set(E);E.add(k)}}else{E.add(k)}}}else{for(const k of L)E.add(k)}}return E}getOrderedChunkModulesIterable(k,v){const E=this._getChunkGraphChunk(k);E.modules.sortWith(v);return E.modules}getOrderedChunkModulesIterableBySourceType(k,v,E){const P=this._getChunkGraphChunk(k);const R=P.modules.getFromUnorderedCache(P._modulesBySourceType).get(v);if(R===undefined)return undefined;R.sortWith(E);return R}getChunkModules(k){const v=this._getChunkGraphChunk(k);return v.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(k,v){const E=this._getChunkGraphChunk(k);const P=createOrderedArrayFunction(v);return E.modules.getFromUnorderedCache(P)}getChunkModuleIdMap(k,v,E=false){const P=Object.create(null);for(const R of E?k.getAllReferencedChunks():k.getAllAsyncChunks()){let k;for(const E of this.getOrderedChunkModulesIterable(R,ae(this))){if(v(E)){if(k===undefined){k=[];P[R.id]=k}const v=this.getModuleId(E);k.push(v)}}}return P}getChunkModuleRenderedHashMap(k,v,E=0,P=false){const R=Object.create(null);for(const L of P?k.getAllReferencedChunks():k.getAllAsyncChunks()){let k;for(const P of this.getOrderedChunkModulesIterable(L,ae(this))){if(v(P)){if(k===undefined){k=Object.create(null);R[L.id]=k}const v=this.getModuleId(P);const N=this.getRenderedModuleHash(P,L.runtime);k[v]=E?N.slice(0,E):N}}}return R}getChunkConditionMap(k,v){const E=Object.create(null);for(const P of k.getAllReferencedChunks()){E[P.id]=v(P,this)}return E}hasModuleInGraph(k,v,E){const P=new Set(k.groupsIterable);const R=new Set;for(const k of P){for(const P of k.chunks){if(!R.has(P)){R.add(P);if(!E||E(P,this)){for(const k of this.getChunkModulesIterable(P)){if(v(k)){return true}}}}}for(const v of k.childrenIterable){P.add(v)}}return false}compareChunks(k,v){const E=this._getChunkGraphChunk(k);const P=this._getChunkGraphChunk(v);if(E.modules.size>P.modules.size)return-1;if(E.modules.size0||this.getNumberOfEntryModules(v)>0){return false}return true}integrateChunks(k,v){if(k.name&&v.name){if(this.getNumberOfEntryModules(k)>0===this.getNumberOfEntryModules(v)>0){if(k.name.length!==v.name.length){k.name=k.name.length0){k.name=v.name}}else if(v.name){k.name=v.name}for(const E of v.idNameHints){k.idNameHints.add(E)}k.runtime=Be(k.runtime,v.runtime);for(const E of this.getChunkModules(v)){this.disconnectChunkAndModule(v,E);this.connectChunkAndModule(k,E)}for(const[E,P]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(v))){this.disconnectChunkAndEntryModule(v,E);this.connectChunkAndEntryModule(k,E,P)}for(const E of v.groupsIterable){E.replaceChunk(v,k);k.addGroup(E);v.removeGroup(E)}ChunkGraph.clearChunkGraphForChunk(v)}upgradeDependentToFullHashModules(k){const v=this._getChunkGraphChunk(k);if(v.dependentHashModules===undefined)return;if(v.fullHashModules===undefined){v.fullHashModules=v.dependentHashModules}else{for(const k of v.dependentHashModules){v.fullHashModules.add(k)}v.dependentHashModules=undefined}}isEntryModuleInChunk(k,v){const E=this._getChunkGraphChunk(v);return E.entryModules.has(k)}connectChunkAndEntryModule(k,v,E){const P=this._getChunkGraphModule(v);const R=this._getChunkGraphChunk(k);if(P.entryInChunks===undefined){P.entryInChunks=new Set}P.entryInChunks.add(k);R.entryModules.set(v,E)}connectChunkAndRuntimeModule(k,v){const E=this._getChunkGraphModule(v);const P=this._getChunkGraphChunk(k);if(E.runtimeInChunks===undefined){E.runtimeInChunks=new Set}E.runtimeInChunks.add(k);P.runtimeModules.add(v)}addFullHashModuleToChunk(k,v){const E=this._getChunkGraphChunk(k);if(E.fullHashModules===undefined)E.fullHashModules=new Set;E.fullHashModules.add(v)}addDependentHashModuleToChunk(k,v){const E=this._getChunkGraphChunk(k);if(E.dependentHashModules===undefined)E.dependentHashModules=new Set;E.dependentHashModules.add(v)}disconnectChunkAndEntryModule(k,v){const E=this._getChunkGraphModule(v);const P=this._getChunkGraphChunk(k);E.entryInChunks.delete(k);if(E.entryInChunks.size===0){E.entryInChunks=undefined}P.entryModules.delete(v)}disconnectChunkAndRuntimeModule(k,v){const E=this._getChunkGraphModule(v);const P=this._getChunkGraphChunk(k);E.runtimeInChunks.delete(k);if(E.runtimeInChunks.size===0){E.runtimeInChunks=undefined}P.runtimeModules.delete(v)}disconnectEntryModule(k){const v=this._getChunkGraphModule(k);for(const E of v.entryInChunks){const v=this._getChunkGraphChunk(E);v.entryModules.delete(k)}v.entryInChunks=undefined}disconnectEntries(k){const v=this._getChunkGraphChunk(k);for(const E of v.entryModules.keys()){const v=this._getChunkGraphModule(E);v.entryInChunks.delete(k);if(v.entryInChunks.size===0){v.entryInChunks=undefined}}v.entryModules.clear()}getNumberOfEntryModules(k){const v=this._getChunkGraphChunk(k);return v.entryModules.size}getNumberOfRuntimeModules(k){const v=this._getChunkGraphChunk(k);return v.runtimeModules.size}getChunkEntryModulesIterable(k){const v=this._getChunkGraphChunk(k);return v.entryModules.keys()}getChunkEntryDependentChunksIterable(k){const v=new Set;for(const E of k.groupsIterable){if(E instanceof R){const P=E.getEntrypointChunk();const R=this._getChunkGraphChunk(P);for(const E of R.entryModules.values()){for(const R of E.chunks){if(R!==k&&R!==P&&!R.hasRuntime()){v.add(R)}}}}}return v}hasChunkEntryDependentChunks(k){const v=this._getChunkGraphChunk(k);for(const E of v.entryModules.values()){for(const v of E.chunks){if(v!==k){return true}}}return false}getChunkRuntimeModulesIterable(k){const v=this._getChunkGraphChunk(k);return v.runtimeModules}getChunkRuntimeModulesInOrder(k){const v=this._getChunkGraphChunk(k);const E=Array.from(v.runtimeModules);E.sort(me(ye((k=>k.stage),_e),pe));return E}getChunkFullHashModulesIterable(k){const v=this._getChunkGraphChunk(k);return v.fullHashModules}getChunkFullHashModulesSet(k){const v=this._getChunkGraphChunk(k);return v.fullHashModules}getChunkDependentHashModulesIterable(k){const v=this._getChunkGraphChunk(k);return v.dependentHashModules}getChunkEntryModulesWithChunkGroupIterable(k){const v=this._getChunkGraphChunk(k);return v.entryModules}getBlockChunkGroup(k){return this._blockChunkGroups.get(k)}connectBlockAndChunkGroup(k,v){this._blockChunkGroups.set(k,v);v.addBlock(k)}disconnectChunkGroup(k){for(const v of k.blocksIterable){this._blockChunkGroups.delete(v)}k._blocks.clear()}getModuleId(k){const v=this._getChunkGraphModule(k);return v.id}setModuleId(k,v){const E=this._getChunkGraphModule(k);E.id=v}getRuntimeId(k){return this._runtimeIds.get(k)}setRuntimeId(k,v){this._runtimeIds.set(k,v)}_getModuleHashInfo(k,v,E){if(!v){throw new Error(`Module ${k.identifier()} has no hash info for runtime ${Ne(E)} (hashes not set at all)`)}else if(E===undefined){const E=new Set(v.values());if(E.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${k.identifier()} (existing runtimes: ${Array.from(v.keys(),(k=>Ne(k))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return N(E)}else{const P=v.get(E);if(!P){throw new Error(`Module ${k.identifier()} has no hash info for runtime ${Ne(E)} (available runtimes ${Array.from(v.keys(),Ne).join(", ")})`)}return P}}hasModuleHashes(k,v){const E=this._getChunkGraphModule(k);const P=E.hashes;return P&&P.has(v)}getModuleHash(k,v){const E=this._getChunkGraphModule(k);const P=E.hashes;return this._getModuleHashInfo(k,P,v).hash}getRenderedModuleHash(k,v){const E=this._getChunkGraphModule(k);const P=E.hashes;return this._getModuleHashInfo(k,P,v).renderedHash}setModuleHashes(k,v,E,P){const R=this._getChunkGraphModule(k);if(R.hashes===undefined){R.hashes=new Te}R.hashes.set(v,new ModuleHashInfo(E,P))}addModuleRuntimeRequirements(k,v,E,P=true){const R=this._getChunkGraphModule(k);const L=R.runtimeRequirements;if(L===undefined){const k=new Te;k.set(v,P?E:new Set(E));R.runtimeRequirements=k;return}L.update(v,(k=>{if(k===undefined){return P?E:new Set(E)}else if(!P||k.size>=E.size){for(const v of E)k.add(v);return k}else{for(const v of k)E.add(v);return E}}))}addChunkRuntimeRequirements(k,v){const E=this._getChunkGraphChunk(k);const P=E.runtimeRequirements;if(P===undefined){E.runtimeRequirements=v}else if(P.size>=v.size){for(const k of v)P.add(k)}else{for(const k of P)v.add(k);E.runtimeRequirements=v}}addTreeRuntimeRequirements(k,v){const E=this._getChunkGraphChunk(k);const P=E.runtimeRequirementsInTree;for(const k of v)P.add(k)}getModuleRuntimeRequirements(k,v){const E=this._getChunkGraphModule(k);const P=E.runtimeRequirements&&E.runtimeRequirements.get(v);return P===undefined?Ue:P}getChunkRuntimeRequirements(k){const v=this._getChunkGraphChunk(k);const E=v.runtimeRequirements;return E===undefined?Ue:E}getModuleGraphHash(k,v,E=true){const P=this._getChunkGraphModule(k);return E?this._getModuleGraphHashWithConnections(P,k,v):this._getModuleGraphHashBigInt(P,k,v).toString(16)}getModuleGraphHashBigInt(k,v,E=true){const P=this._getChunkGraphModule(k);return E?BigInt(`0x${this._getModuleGraphHashWithConnections(P,k,v)}`):this._getModuleGraphHashBigInt(P,k,v)}_getModuleGraphHashBigInt(k,v,E){if(k.graphHashes===undefined){k.graphHashes=new Te}const P=k.graphHashes.provide(E,(()=>{const P=Ie(this._hashFunction);P.update(`${k.id}${this.moduleGraph.isAsync(v)}`);const R=this._getOverwrittenModuleSourceTypes(v);if(R!==undefined){for(const k of R)P.update(k)}this.moduleGraph.getExportsInfo(v).updateHash(P,E);return BigInt(`0x${P.digest("hex")}`)}));return P}_getModuleGraphHashWithConnections(k,v,E){if(k.graphHashesWithConnections===undefined){k.graphHashesWithConnections=new Te}const activeStateToString=k=>{if(k===false)return"F";if(k===true)return"T";if(k===L.TRANSITIVE_ONLY)return"O";throw new Error("Not implemented active state")};const P=v.buildMeta&&v.buildMeta.strictHarmonyModule;return k.graphHashesWithConnections.provide(E,(()=>{const R=this._getModuleGraphHashBigInt(k,v,E).toString(16);const L=this.moduleGraph.getOutgoingConnections(v);const q=new Set;const ae=new Map;const processConnection=(k,v)=>{const E=k.module;v+=E.getExportsType(this.moduleGraph,P);if(v==="Tnamespace")q.add(E);else{const k=ae.get(v);if(k===undefined){ae.set(v,E)}else if(k instanceof Set){k.add(E)}else if(k!==E){ae.set(v,new Set([k,E]))}}};if(E===undefined||typeof E==="string"){for(const k of L){const v=k.getActiveState(E);if(v===false)continue;processConnection(k,v===true?"T":"O")}}else{for(const k of L){const v=new Set;let P="";qe(E,(E=>{const R=k.getActiveState(E);v.add(R);P+=activeStateToString(R)+E}),true);if(v.size===1){const k=N(v);if(k===false)continue;P=activeStateToString(k)}processConnection(k,P)}}if(q.size===0&&ae.size===0)return R;const le=ae.size>1?Array.from(ae).sort((([k],[v])=>k{pe.update(this._getModuleGraphHashBigInt(this._getChunkGraphModule(k),k,E).toString(16))};const addModulesToHash=k=>{let v=Ge;for(const P of k){v=v^this._getModuleGraphHashBigInt(this._getChunkGraphModule(P),P,E)}pe.update(v.toString(16))};if(q.size===1)addModuleToHash(q.values().next().value);else if(q.size>1)addModulesToHash(q);for(const[k,v]of le){pe.update(k);if(v instanceof Set){addModulesToHash(v)}else{addModuleToHash(v)}}pe.update(R);return pe.digest("hex")}))}getTreeRuntimeRequirements(k){const v=this._getChunkGraphChunk(k);return v.runtimeRequirementsInTree}static getChunkGraphForModule(k,v,E){const R=Ke.get(v);if(R)return R(k);const L=P.deprecate((k=>{const E=Je.get(k);if(!E)throw new Error(v+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return E}),v+": Use new ChunkGraph API",E);Ke.set(v,L);return L(k)}static setChunkGraphForModule(k,v){Je.set(k,v)}static clearChunkGraphForModule(k){Je.delete(k)}static getChunkGraphForChunk(k,v,E){const R=Ye.get(v);if(R)return R(k);const L=P.deprecate((k=>{const E=Ve.get(k);if(!E)throw new Error(v+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return E}),v+": Use new ChunkGraph API",E);Ye.set(v,L);return L(k)}static setChunkGraphForChunk(k,v){Ve.set(k,v)}static clearChunkGraphForChunk(k){Ve.delete(k)}}const Je=new WeakMap;const Ve=new WeakMap;const Ke=new Map;const Ye=new Map;k.exports=ChunkGraph},28541:function(k,v,E){"use strict";const P=E(73837);const R=E(46081);const{compareLocations:L,compareChunks:N,compareIterables:q}=E(95648);let ae=5e3;const getArray=k=>Array.from(k);const sortById=(k,v)=>{if(k.id{const E=k.module?k.module.identifier():"";const P=v.module?v.module.identifier():"";if(EP)return 1;return L(k.loc,v.loc)};class ChunkGroup{constructor(k){if(typeof k==="string"){k={name:k}}else if(!k){k={name:undefined}}this.groupDebugId=ae++;this.options=k;this._children=new R(undefined,sortById);this._parents=new R(undefined,sortById);this._asyncEntrypoints=new R(undefined,sortById);this._blocks=new R;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(k){for(const v of Object.keys(k)){if(this.options[v]===undefined){this.options[v]=k[v]}else if(this.options[v]!==k[v]){if(v.endsWith("Order")){this.options[v]=Math.max(this.options[v],k[v])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${v}`)}}}}get name(){return this.options.name}set name(k){this.options.name=k}get debugId(){return Array.from(this.chunks,(k=>k.debugId)).join("+")}get id(){return Array.from(this.chunks,(k=>k.id)).join("+")}unshiftChunk(k){const v=this.chunks.indexOf(k);if(v>0){this.chunks.splice(v,1);this.chunks.unshift(k)}else if(v<0){this.chunks.unshift(k);return true}return false}insertChunk(k,v){const E=this.chunks.indexOf(k);const P=this.chunks.indexOf(v);if(P<0){throw new Error("before chunk not found")}if(E>=0&&E>P){this.chunks.splice(E,1);this.chunks.splice(P,0,k)}else if(E<0){this.chunks.splice(P,0,k);return true}return false}pushChunk(k){const v=this.chunks.indexOf(k);if(v>=0){return false}this.chunks.push(k);return true}replaceChunk(k,v){const E=this.chunks.indexOf(k);if(E<0)return false;const P=this.chunks.indexOf(v);if(P<0){this.chunks[E]=v;return true}if(P=0){this.chunks.splice(v,1);return true}return false}isInitial(){return false}addChild(k){const v=this._children.size;this._children.add(k);return v!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(k){if(!this._children.has(k)){return false}this._children.delete(k);k.removeParent(this);return true}addParent(k){if(!this._parents.has(k)){this._parents.add(k);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(k){return this._parents.has(k)}get parentsIterable(){return this._parents}removeParent(k){if(this._parents.delete(k)){k.removeChild(this);return true}return false}addAsyncEntrypoint(k){const v=this._asyncEntrypoints.size;this._asyncEntrypoints.add(k);return v!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(k){return this._blocks.has(k)}get blocksIterable(){return this._blocks}addBlock(k){if(!this._blocks.has(k)){this._blocks.add(k);return true}return false}addOrigin(k,v,E){this.origins.push({module:k,loc:v,request:E})}getFiles(){const k=new Set;for(const v of this.chunks){for(const E of v.files){k.add(E)}}return Array.from(k)}remove(){for(const k of this._parents){k._children.delete(this);for(const v of this._children){v.addParent(k);k.addChild(v)}}for(const k of this._children){k._parents.delete(this)}for(const k of this.chunks){k.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(k,v){if(this.chunks.length>v.chunks.length)return-1;if(this.chunks.length{const P=E.order-k.order;if(P!==0)return P;return k.group.compareTo(v,E.group)}));P[k]=R.map((k=>k.group))}return P}setModulePreOrderIndex(k,v){this._modulePreOrderIndices.set(k,v)}getModulePreOrderIndex(k){return this._modulePreOrderIndices.get(k)}setModulePostOrderIndex(k,v){this._modulePostOrderIndices.set(k,v)}getModulePostOrderIndex(k){return this._modulePostOrderIndices.get(k)}checkConstraints(){const k=this;for(const v of k._children){if(!v._parents.has(k)){throw new Error(`checkConstraints: child missing parent ${k.debugId} -> ${v.debugId}`)}}for(const v of k._parents){if(!v._children.has(k)){throw new Error(`checkConstraints: parent missing child ${v.debugId} <- ${k.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=P.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=P.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");k.exports=ChunkGroup},76496:function(k,v,E){"use strict";const P=E(71572);class ChunkRenderError extends P{constructor(k,v,E){super();this.name="ChunkRenderError";this.error=E;this.message=E.message;this.details=E.stack;this.file=v;this.chunk=k}}k.exports=ChunkRenderError},97095:function(k,v,E){"use strict";const P=E(73837);const R=E(20631);const L=R((()=>E(89168)));class ChunkTemplate{constructor(k,v){this._outputOptions=k||{};this.hooks=Object.freeze({renderManifest:{tap:P.deprecate(((k,E)=>{v.hooks.renderManifest.tap(k,((k,v)=>{if(v.chunk.hasRuntime())return k;return E(k,v)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).renderChunk.tap(k,((k,P)=>E(k,v.moduleTemplates.javascript,P)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).renderChunk.tap(k,((k,P)=>E(k,v.moduleTemplates.javascript,P)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).render.tap(k,((k,v)=>{if(v.chunkGraph.getNumberOfEntryModules(v.chunk)===0||v.chunk.hasRuntime()){return k}return E(k,v.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:P.deprecate(((k,E)=>{v.hooks.fullHash.tap(k,E)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).chunkHash.tap(k,((k,v,P)=>{if(k.hasRuntime())return;E(v,k,P)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:P.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});k.exports=ChunkTemplate},69155:function(k,v,E){"use strict";const P=E(78175);const{SyncBailHook:R}=E(79846);const L=E(27747);const N=E(92198);const{join:q}=E(57825);const ae=E(38254);const le=N(undefined,(()=>{const{definitions:k}=E(98625);return{definitions:k,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}),{name:"Clean Plugin",baseDataPath:"options"});const pe=10*1e3;const mergeAssets=(k,v)=>{for(const[E,P]of v){const v=k.get(E);if(!v||P>v)k.set(E,P)}};const getDiffToFs=(k,v,E,R)=>{const L=new Set;for(const[k]of E){L.add(k.replace(/(^|\/)[^/]*$/,""))}for(const k of L){L.add(k.replace(/(^|\/)[^/]*$/,""))}const N=new Set;P.forEachLimit(L,10,((P,R)=>{k.readdir(q(k,v,P),((k,v)=>{if(k){if(k.code==="ENOENT")return R();if(k.code==="ENOTDIR"){N.add(P);return R()}return R(k)}for(const k of v){const v=k;const R=P?`${P}/${v}`:v;if(!L.has(R)&&!E.has(R)){N.add(R)}}R()}))}),(k=>{if(k)return R(k);R(null,N)}))};const getDiffToOldAssets=(k,v)=>{const E=new Set;const P=Date.now();for(const[R,L]of v){if(L>=P)continue;if(!k.has(R))E.add(R)}return E};const doStat=(k,v,E)=>{if("lstat"in k){k.lstat(v,E)}else{k.stat(v,E)}};const applyDiff=(k,v,E,P,R,L,N)=>{const log=k=>{if(E){P.info(k)}else{P.log(k)}};const le=Array.from(R.keys(),(k=>({type:"check",filename:k,parent:undefined})));const pe=new Map;ae(le,10,(({type:R,filename:N,parent:ae},le,me)=>{const handleError=k=>{if(k.code==="ENOENT"){log(`${N} was removed during cleaning by something else`);handleParent();return me()}return me(k)};const handleParent=()=>{if(ae&&--ae.remaining===0)le(ae.job)};const ye=q(k,v,N);switch(R){case"check":if(L(N)){pe.set(N,0);log(`${N} will be kept`);return process.nextTick(me)}doStat(k,ye,((v,E)=>{if(v)return handleError(v);if(!E.isDirectory()){le({type:"unlink",filename:N,parent:ae});return me()}k.readdir(ye,((k,v)=>{if(k)return handleError(k);const E={type:"rmdir",filename:N,parent:ae};if(v.length===0){le(E)}else{const k={remaining:v.length,job:E};for(const E of v){const v=E;if(v.startsWith(".")){log(`${N} will be kept (dot-files will never be removed)`);continue}le({type:"check",filename:`${N}/${v}`,parent:k})}}return me()}))}));break;case"rmdir":log(`${N} will be removed`);if(E){handleParent();return process.nextTick(me)}if(!k.rmdir){P.warn(`${N} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(me)}k.rmdir(ye,(k=>{if(k)return handleError(k);handleParent();me()}));break;case"unlink":log(`${N} will be removed`);if(E){handleParent();return process.nextTick(me)}if(!k.unlink){P.warn(`${N} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(me)}k.unlink(ye,(k=>{if(k)return handleError(k);handleParent();me()}));break}}),(k=>{if(k)return N(k);N(undefined,pe)}))};const me=new WeakMap;class CleanPlugin{static getCompilationHooks(k){if(!(k instanceof L)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=me.get(k);if(v===undefined){v={keep:new R(["ignore"])};me.set(k,v)}return v}constructor(k={}){le(k);this.options={dry:false,...k}}apply(k){const{dry:v,keep:E}=this.options;const P=typeof E==="function"?E:typeof E==="string"?k=>k.startsWith(E):typeof E==="object"&&E.test?k=>E.test(k):()=>false;let R;k.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((E,L)=>{const N=CleanPlugin.getCompilationHooks(E);const q=E.getLogger("webpack.CleanPlugin");const ae=k.outputFileSystem;if(!ae.readdir){return L(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const le=new Map;const me=Date.now();for(const k of Object.keys(E.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(k))continue;let v;let P=k.replace(/\\/g,"/");do{v=P;P=v.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while(P!==v);if(v.startsWith("../"))continue;const R=E.assetsInfo.get(k);if(R&&R.hotModuleReplacement){le.set(v,me+pe)}else{le.set(v,0)}}const ye=E.getPath(k.outputPath,{});const isKept=k=>{const v=N.keep.call(k);if(v!==undefined)return v;return P(k)};const diffCallback=(k,E)=>{if(k){R=undefined;L(k);return}applyDiff(ae,ye,v,q,E,isKept,((k,v)=>{if(k){R=undefined}else{if(R)mergeAssets(le,R);R=le;if(v)mergeAssets(R,v)}L(k)}))};if(R){diffCallback(null,getDiffToOldAssets(le,R))}else{getDiffToFs(ae,ye,le,diffCallback)}}))}}k.exports=CleanPlugin},42179:function(k,v,E){"use strict";const P=E(71572);class CodeGenerationError extends P{constructor(k,v){super();this.name="CodeGenerationError";this.error=v;this.message=v.message;this.details=v.stack;this.module=k}}k.exports=CodeGenerationError},12021:function(k,v,E){"use strict";const{getOrInsert:P}=E(47978);const{first:R}=E(59959);const L=E(74012);const{runtimeToString:N,RuntimeSpecMap:q}=E(1540);class CodeGenerationResults{constructor(k="md4"){this.map=new Map;this._hashFunction=k}get(k,v){const E=this.map.get(k);if(E===undefined){throw new Error(`No code generation entry for ${k.identifier()} (existing entries: ${Array.from(this.map.keys(),(k=>k.identifier())).join(", ")})`)}if(v===undefined){if(E.size>1){const v=new Set(E.values());if(v.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${k.identifier()} (existing runtimes: ${Array.from(E.keys(),(k=>N(k))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return R(v)}return E.values().next().value}const P=E.get(v);if(P===undefined){throw new Error(`No code generation entry for runtime ${N(v)} for ${k.identifier()} (existing runtimes: ${Array.from(E.keys(),(k=>N(k))).join(", ")})`)}return P}has(k,v){const E=this.map.get(k);if(E===undefined){return false}if(v!==undefined){return E.has(v)}else if(E.size>1){const k=new Set(E.values());return k.size===1}else{return E.size===1}}getSource(k,v,E){return this.get(k,v).sources.get(E)}getRuntimeRequirements(k,v){return this.get(k,v).runtimeRequirements}getData(k,v,E){const P=this.get(k,v).data;return P===undefined?undefined:P.get(E)}getHash(k,v){const E=this.get(k,v);if(E.hash!==undefined)return E.hash;const P=L(this._hashFunction);for(const[k,v]of E.sources){P.update(k);v.updateHash(P)}if(E.runtimeRequirements){for(const k of E.runtimeRequirements)P.update(k)}return E.hash=P.digest("hex")}add(k,v,E){const R=P(this.map,k,(()=>new q));R.set(v,E)}}k.exports=CodeGenerationResults},68160:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class CommentCompilationWarning extends P{constructor(k,v){super(k);this.name="CommentCompilationWarning";this.loc=v}}R(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");k.exports=CommentCompilationWarning},8305:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(56727);const q=E(60381);const ae=Symbol("nested webpack identifier");const le="CompatibilityPlugin";class CompatibilityPlugin{apply(k){k.hooks.compilation.tap(le,((k,{normalModuleFactory:v})=>{k.dependencyTemplates.set(q,new q.Template);v.hooks.parser.for(P).tap(le,((k,v)=>{if(v.browserify!==undefined&&!v.browserify)return;k.hooks.call.for("require").tap(le,(v=>{if(v.arguments.length!==2)return;const E=k.evaluateExpression(v.arguments[1]);if(!E.isBoolean())return;if(E.asBool()!==true)return;const P=new q("require",v.callee.range);P.loc=v.loc;if(k.state.current.dependencies.length>0){const v=k.state.current.dependencies[k.state.current.dependencies.length-1];if(v.critical&&v.options&&v.options.request==="."&&v.userRequest==="."&&v.options.recursive)k.state.current.dependencies.pop()}k.state.module.addPresentationalDependency(P);return true}))}));const handler=k=>{k.hooks.preStatement.tap(le,(v=>{if(v.type==="FunctionDeclaration"&&v.id&&v.id.name===N.require){const E=`__nested_webpack_require_${v.range[0]}__`;k.tagVariable(v.id.name,ae,{name:E,declaration:{updated:false,loc:v.id.loc,range:v.id.range}});return true}}));k.hooks.pattern.for(N.require).tap(le,(v=>{const E=`__nested_webpack_require_${v.range[0]}__`;k.tagVariable(v.name,ae,{name:E,declaration:{updated:false,loc:v.loc,range:v.range}});return true}));k.hooks.pattern.for(N.exports).tap(le,(v=>{k.tagVariable(v.name,ae,{name:"__nested_webpack_exports__",declaration:{updated:false,loc:v.loc,range:v.range}});return true}));k.hooks.expression.for(ae).tap(le,(v=>{const{name:E,declaration:P}=k.currentTagData;if(!P.updated){const v=new q(E,P.range);v.loc=P.loc;k.state.module.addPresentationalDependency(v);P.updated=true}const R=new q(E,v.range);R.loc=v.loc;k.state.module.addPresentationalDependency(R);return true}));k.hooks.program.tap(le,((v,E)=>{if(E.length===0)return;const P=E[0];if(P.type==="Line"&&P.range[0]===0){if(k.state.source.slice(0,2).toString()!=="#!")return;const v=new q("//",0);v.loc=P.loc;k.state.module.addPresentationalDependency(v)}}))};v.hooks.parser.for(P).tap(le,handler);v.hooks.parser.for(R).tap(le,handler);v.hooks.parser.for(L).tap(le,handler)}))}}k.exports=CompatibilityPlugin},27747:function(k,v,E){"use strict";const P=E(78175);const{HookMap:R,SyncHook:L,SyncBailHook:N,SyncWaterfallHook:q,AsyncSeriesHook:ae,AsyncSeriesBailHook:le,AsyncParallelHook:pe}=E(79846);const me=E(73837);const{CachedSource:ye}=E(51255);const{MultiItemCache:_e}=E(90580);const Ie=E(8247);const Me=E(38317);const Te=E(28541);const je=E(76496);const Ne=E(97095);const Be=E(42179);const qe=E(12021);const Ue=E(16848);const Ge=E(3175);const He=E(10969);const We=E(53657);const Qe=E(18144);const{connectChunkGroupAndChunk:Je,connectChunkGroupParentAndChild:Ve}=E(18467);const{makeWebpackError:Ke,tryRunOrWebpackError:Ye}=E(82104);const Xe=E(98954);const Ze=E(88396);const et=E(36428);const tt=E(84018);const nt=E(88223);const st=E(83139);const rt=E(69734);const ot=E(52200);const it=E(48575);const at=E(57177);const ct=E(3304);const{WEBPACK_MODULE_TYPE_RUNTIME:lt}=E(93622);const ut=E(56727);const pt=E(89240);const dt=E(26288);const ft=E(71572);const ht=E(82551);const mt=E(10408);const{Logger:gt,LogType:yt}=E(13905);const bt=E(12231);const xt=E(54052);const{equals:kt}=E(68863);const vt=E(89262);const wt=E(12359);const{getOrInsert:At}=E(47978);const Et=E(69752);const{cachedCleverMerge:Ct}=E(99454);const{compareLocations:St,concatComparators:_t,compareSelect:It,compareIds:Mt,compareStringsNumeric:Pt,compareModulesByIdentifier:Ot}=E(95648);const Dt=E(74012);const{arrayToSetDeprecation:Rt,soonFrozenObjectDeprecation:Tt,createFakeHook:$t}=E(61883);const Ft=E(38254);const{getRuntimeKey:jt}=E(1540);const{isSourceEqual:Lt}=E(71435);const Nt=Object.freeze({});const Bt="esm";const qt=me.deprecate((k=>E(38224).getCompilationHooks(k).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const defineRemovedModuleTemplates=k=>{Object.defineProperties(k,{asset:{enumerable:false,configurable:false,get:()=>{throw new ft("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get:()=>{throw new ft("Compilation.moduleTemplates.webassembly has been removed")}}});k=undefined};const zt=It((k=>k.id),Mt);const Ut=_t(It((k=>k.name),Mt),It((k=>k.fullHash),Mt));const Gt=It((k=>`${k.message}`),Pt);const Ht=It((k=>k.module&&k.module.identifier()||""),Pt);const Wt=It((k=>k.loc),St);const Qt=_t(Ht,Wt,Gt);const Jt=new WeakMap;const Vt=new WeakMap;class Compilation{constructor(k,v){this._backCompat=k._backCompat;const getNormalModuleLoader=()=>qt(this);const E=new ae(["assets"]);let P=new Set;const popNewAssets=k=>{let v=undefined;for(const E of Object.keys(k)){if(P.has(E))continue;if(v===undefined){v=Object.create(null)}v[E]=k[E];P.add(E)}return v};E.intercept({name:"Compilation",call:()=>{P=new Set(Object.keys(this.assets))},register:k=>{const{type:v,name:E}=k;const{fn:P,additionalAssets:R,...L}=k;const N=R===true?P:R;const q=N?new WeakSet:undefined;switch(v){case"sync":if(N){this.hooks.processAdditionalAssets.tap(E,(k=>{if(q.has(this.assets))N(k)}))}return{...L,type:"async",fn:(k,v)=>{try{P(k)}catch(k){return v(k)}if(q!==undefined)q.add(this.assets);const E=popNewAssets(k);if(E!==undefined){this.hooks.processAdditionalAssets.callAsync(E,v);return}v()}};case"async":if(N){this.hooks.processAdditionalAssets.tapAsync(E,((k,v)=>{if(q.has(this.assets))return N(k,v);v()}))}return{...L,fn:(k,v)=>{P(k,(E=>{if(E)return v(E);if(q!==undefined)q.add(this.assets);const P=popNewAssets(k);if(P!==undefined){this.hooks.processAdditionalAssets.callAsync(P,v);return}v()}))}};case"promise":if(N){this.hooks.processAdditionalAssets.tapPromise(E,(k=>{if(q.has(this.assets))return N(k);return Promise.resolve()}))}return{...L,fn:k=>{const v=P(k);if(!v||!v.then)return v;return v.then((()=>{if(q!==undefined)q.add(this.assets);const v=popNewAssets(k);if(v!==undefined){return this.hooks.processAdditionalAssets.promise(v)}}))}}}}});const ye=new L(["assets"]);const createProcessAssetsHook=(k,v,P,R)=>{if(!this._backCompat&&R)return undefined;const errorMessage=v=>`Can't automatically convert plugin using Compilation.hooks.${k} to Compilation.hooks.processAssets because ${v}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=k=>{if(typeof k==="string")k={name:k};if(k.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...k,stage:v}};return $t({name:k,intercept(k){throw new Error(errorMessage("it's using 'intercept'"))},tap:(k,v)=>{E.tap(getOptions(k),(()=>v(...P())))},tapAsync:(k,v)=>{E.tapAsync(getOptions(k),((k,E)=>v(...P(),E)))},tapPromise:(k,v)=>{E.tapPromise(getOptions(k),(()=>v(...P())))}},`${k} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,R)};this.hooks=Object.freeze({buildModule:new L(["module"]),rebuildModule:new L(["module"]),failedModule:new L(["module","error"]),succeedModule:new L(["module"]),stillValidModule:new L(["module"]),addEntry:new L(["entry","options"]),failedEntry:new L(["entry","options","error"]),succeedEntry:new L(["entry","options","module"]),dependencyReferencedExports:new q(["referencedExports","dependency","runtime"]),executeModule:new L(["options","context"]),prepareModuleExecution:new pe(["options","context"]),finishModules:new ae(["modules"]),finishRebuildingModule:new ae(["module"]),unseal:new L([]),seal:new L([]),beforeChunks:new L([]),afterChunks:new L(["chunks"]),optimizeDependencies:new N(["modules"]),afterOptimizeDependencies:new L(["modules"]),optimize:new L([]),optimizeModules:new N(["modules"]),afterOptimizeModules:new L(["modules"]),optimizeChunks:new N(["chunks","chunkGroups"]),afterOptimizeChunks:new L(["chunks","chunkGroups"]),optimizeTree:new ae(["chunks","modules"]),afterOptimizeTree:new L(["chunks","modules"]),optimizeChunkModules:new le(["chunks","modules"]),afterOptimizeChunkModules:new L(["chunks","modules"]),shouldRecord:new N([]),additionalChunkRuntimeRequirements:new L(["chunk","runtimeRequirements","context"]),runtimeRequirementInChunk:new R((()=>new N(["chunk","runtimeRequirements","context"]))),additionalModuleRuntimeRequirements:new L(["module","runtimeRequirements","context"]),runtimeRequirementInModule:new R((()=>new N(["module","runtimeRequirements","context"]))),additionalTreeRuntimeRequirements:new L(["chunk","runtimeRequirements","context"]),runtimeRequirementInTree:new R((()=>new N(["chunk","runtimeRequirements","context"]))),runtimeModule:new L(["module","chunk"]),reviveModules:new L(["modules","records"]),beforeModuleIds:new L(["modules"]),moduleIds:new L(["modules"]),optimizeModuleIds:new L(["modules"]),afterOptimizeModuleIds:new L(["modules"]),reviveChunks:new L(["chunks","records"]),beforeChunkIds:new L(["chunks"]),chunkIds:new L(["chunks"]),optimizeChunkIds:new L(["chunks"]),afterOptimizeChunkIds:new L(["chunks"]),recordModules:new L(["modules","records"]),recordChunks:new L(["chunks","records"]),optimizeCodeGeneration:new L(["modules"]),beforeModuleHash:new L([]),afterModuleHash:new L([]),beforeCodeGeneration:new L([]),afterCodeGeneration:new L([]),beforeRuntimeRequirements:new L([]),afterRuntimeRequirements:new L([]),beforeHash:new L([]),contentHash:new L(["chunk"]),afterHash:new L([]),recordHash:new L(["records"]),record:new L(["compilation","records"]),beforeModuleAssets:new L([]),shouldGenerateChunkAssets:new N([]),beforeChunkAssets:new L([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:E,afterOptimizeAssets:ye,processAssets:E,afterProcessAssets:ye,processAdditionalAssets:new ae(["assets"]),needAdditionalSeal:new N([]),afterSeal:new ae([]),renderManifest:new q(["result","options"]),fullHash:new L(["hash"]),chunkHash:new L(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new L(["module","filename"]),chunkAsset:new L(["chunk","filename"]),assetPath:new q(["path","options","assetInfo"]),needAdditionalPass:new N([]),childCompiler:new L(["childCompiler","compilerName","compilerIndex"]),log:new N(["origin","logEntry"]),processWarnings:new q(["warnings"]),processErrors:new q(["errors"]),statsPreset:new R((()=>new L(["options","context"]))),statsNormalize:new L(["options","context"]),statsFactory:new L(["statsFactory","options"]),statsPrinter:new L(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=k;this.resolverFactory=k.resolverFactory;this.inputFileSystem=k.inputFileSystem;this.fileSystemInfo=new Qe(this.inputFileSystem,{managedPaths:k.managedPaths,immutablePaths:k.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo"),hashFunction:k.options.output.hashFunction});if(k.fileTimestamps){this.fileSystemInfo.addFileTimestamps(k.fileTimestamps,true)}if(k.contextTimestamps){this.fileSystemInfo.addContextTimestamps(k.contextTimestamps,true)}this.valueCacheVersions=new Map;this.requestShortener=k.requestShortener;this.compilerPath=k.compilerPath;this.logger=this.getLogger("webpack.Compilation");const _e=k.options;this.options=_e;this.outputOptions=_e&&_e.output;this.bail=_e&&_e.bail||false;this.profile=_e&&_e.profile||false;this.params=v;this.mainTemplate=new Xe(this.outputOptions,this);this.chunkTemplate=new Ne(this.outputOptions,this);this.runtimeTemplate=new pt(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new ct(this.runtimeTemplate,this)};defineRemovedModuleTemplates(this.moduleTemplates);this.moduleMemCaches=undefined;this.moduleMemCaches2=undefined;this.moduleGraph=new nt;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new vt({name:"processDependencies",parallelism:_e.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new vt({name:"addModule",parent:this.processDependenciesQueue,getKey:k=>k.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new vt({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new vt({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new vt({name:"rebuild",parallelism:_e.parallelism||100,processor:this._rebuildModule.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;this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;if(this._backCompat){Rt(this.chunks,"Compilation.chunks");Rt(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 Ge(this.outputOptions.hashFunction);this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this._restoredUnsafeCacheModuleEntries=new Set;this._restoredUnsafeCacheEntries=new Map;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this.buildTimeExecutedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new wt;this.contextDependencies=new wt;this.missingDependencies=new wt;this.buildDependencies=new wt;this.compilationDependencies={add:me.deprecate((k=>this.fileDependencies.add(k)),"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");const Ie=_e.module.unsafeCache;this._unsafeCache=!!Ie;this._unsafeCachePredicate=typeof Ie==="function"?Ie:()=>true}getStats(){return new dt(this)}createStatsOptions(k,v={}){if(typeof k==="boolean"||typeof k==="string"){k={preset:k}}if(typeof k==="object"&&k!==null){const E={};for(const v in k){E[v]=k[v]}if(E.preset!==undefined){this.hooks.statsPreset.for(E.preset).call(E,v)}this.hooks.statsNormalize.call(E,v);return E}else{const k={};this.hooks.statsNormalize.call(k,v);return k}}createStatsFactory(k){const v=new bt;this.hooks.statsFactory.call(v,k);return v}createStatsPrinter(k){const v=new xt;this.hooks.statsPrinter.call(v,k);return v}getCache(k){return this.compiler.getCache(k)}getLogger(k){if(!k){throw new TypeError("Compilation.getLogger(name) called without a name")}let v;return new gt(((E,P)=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let R;switch(E){case yt.warn:case yt.error:case yt.trace:R=We.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const L={time:Date.now(),type:E,args:P,trace:R};if(this.hooks.log.call(k,L)===undefined){if(L.type===yt.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${k}] ${L.args[0]}`)}}if(v===undefined){v=this.logging.get(k);if(v===undefined){v=[];this.logging.set(k,v)}}v.push(L);if(L.type===yt.profile){if(typeof console.profile==="function"){console.profile(`[${k}] ${L.args[0]}`)}}}}),(v=>{if(typeof k==="function"){if(typeof v==="function"){return this.getLogger((()=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof v==="function"){v=v();if(!v){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${k}/${v}`}))}else{return this.getLogger((()=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${k}/${v}`}))}}else{if(typeof v==="function"){return this.getLogger((()=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${k}/${v}`}))}else{return this.getLogger(`${k}/${v}`)}}}))}addModule(k,v){this.addModuleQueue.add(k,v)}_addModule(k,v){const E=k.identifier();const P=this._modules.get(E);if(P){return v(null,P)}const R=this.profile?this.moduleGraph.getProfile(k):undefined;if(R!==undefined){R.markRestoringStart()}this._modulesCache.get(E,null,((P,L)=>{if(P)return v(new it(k,P));if(R!==undefined){R.markRestoringEnd();R.markIntegrationStart()}if(L){L.updateCacheModule(k);k=L}this._modules.set(E,k);this.modules.add(k);if(this._backCompat)nt.setModuleGraphForModule(k,this.moduleGraph);if(R!==undefined){R.markIntegrationEnd()}v(null,k)}))}getModule(k){const v=k.identifier();return this._modules.get(v)}findModule(k){return this._modules.get(k)}buildModule(k,v){this.buildQueue.add(k,v)}_buildModule(k,v){const E=this.profile?this.moduleGraph.getProfile(k):undefined;if(E!==undefined){E.markBuildingStart()}k.needBuild({compilation:this,fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},((P,R)=>{if(P)return v(P);if(!R){if(E!==undefined){E.markBuildingEnd()}this.hooks.stillValidModule.call(k);return v()}this.hooks.buildModule.call(k);this.builtModules.add(k);k.build(this.options,this,this.resolverFactory.get("normal",k.resolveOptions),this.inputFileSystem,(P=>{if(E!==undefined){E.markBuildingEnd()}if(P){this.hooks.failedModule.call(k,P);return v(P)}if(E!==undefined){E.markStoringStart()}this._modulesCache.store(k.identifier(),null,k,(P=>{if(E!==undefined){E.markStoringEnd()}if(P){this.hooks.failedModule.call(k,P);return v(new at(k,P))}this.hooks.succeedModule.call(k);return v()}))}))}))}processModuleDependencies(k,v){this.processDependenciesQueue.add(k,v)}processModuleDependenciesNonRecursive(k){const processDependenciesBlock=v=>{if(v.dependencies){let E=0;for(const P of v.dependencies){this.moduleGraph.setParents(P,v,k,E++)}}if(v.blocks){for(const k of v.blocks)processDependenciesBlock(k)}};processDependenciesBlock(k)}_processModuleDependencies(k,v){const E=[];let P;let R;let L;let N;let q;let ae;let le;let pe;let me=1;let ye=1;const onDependenciesSorted=k=>{if(k)return v(k);if(E.length===0&&ye===1){return v()}this.processDependenciesQueue.increaseParallelism();for(const k of E){ye++;this.handleModuleCreation(k,(k=>{if(k&&this.bail){if(ye<=0)return;ye=-1;k.stack=k.stack;onTransitiveTasksFinished(k);return}if(--ye===0)onTransitiveTasksFinished()}))}if(--ye===0)onTransitiveTasksFinished()};const onTransitiveTasksFinished=k=>{if(k)return v(k);this.processDependenciesQueue.decreaseParallelism();return v()};const processDependency=(v,E)=>{this.moduleGraph.setParents(v,P,k,E);if(this._unsafeCache){try{const E=Jt.get(v);if(E===null)return;if(E!==undefined){if(this._restoredUnsafeCacheModuleEntries.has(E)){this._handleExistingModuleFromUnsafeCache(k,v,E);return}const P=E.identifier();const R=this._restoredUnsafeCacheEntries.get(P);if(R!==undefined){Jt.set(v,R);this._handleExistingModuleFromUnsafeCache(k,v,R);return}me++;this._modulesCache.get(P,null,((R,L)=>{if(R){if(me<=0)return;me=-1;onDependenciesSorted(R);return}try{if(!this._restoredUnsafeCacheEntries.has(P)){const R=Vt.get(L);if(R===undefined){processDependencyForResolving(v);if(--me===0)onDependenciesSorted();return}if(L!==E){Jt.set(v,L)}L.restoreFromUnsafeCache(R,this.params.normalModuleFactory,this.params);this._restoredUnsafeCacheEntries.set(P,L);this._restoredUnsafeCacheModuleEntries.add(L);if(!this.modules.has(L)){ye++;this._handleNewModuleFromUnsafeCache(k,v,L,(k=>{if(k){if(ye<=0)return;ye=-1;onTransitiveTasksFinished(k)}if(--ye===0)return onTransitiveTasksFinished()}));if(--me===0)onDependenciesSorted();return}}if(E!==L){Jt.set(v,L)}this._handleExistingModuleFromUnsafeCache(k,v,L)}catch(R){if(me<=0)return;me=-1;onDependenciesSorted(R);return}if(--me===0)onDependenciesSorted()}));return}}catch(k){console.error(k)}}processDependencyForResolving(v)};const processDependencyForResolving=v=>{const P=v.getResourceIdentifier();if(P!==undefined&&P!==null){const me=v.category;const ye=v.constructor;if(L===ye){if(ae===me&&le===P){pe.push(v);return}}else{const k=this.dependencyFactories.get(ye);if(k===undefined){throw new Error(`No module factory available for dependency type: ${ye.name}`)}if(N===k){L=ye;if(ae===me&&le===P){pe.push(v);return}}else{if(N!==undefined){if(R===undefined)R=new Map;R.set(N,q);q=R.get(k);if(q===undefined){q=new Map}}else{q=new Map}L=ye;N=k}}const _e=me===Bt?P:`${me}${P}`;let Ie=q.get(_e);if(Ie===undefined){q.set(_e,Ie=[]);E.push({factory:N,dependencies:Ie,context:v.getContext(),originModule:k})}Ie.push(v);ae=me;le=P;pe=Ie}};try{const v=[k];do{const k=v.pop();if(k.dependencies){P=k;let v=0;for(const E of k.dependencies)processDependency(E,v++)}if(k.blocks){for(const E of k.blocks)v.push(E)}}while(v.length!==0)}catch(k){return v(k)}if(--me===0)onDependenciesSorted()}_handleNewModuleFromUnsafeCache(k,v,E,P){const R=this.moduleGraph;R.setResolvedModule(k,v,E);R.setIssuerIfUnset(E,k!==undefined?k:null);this._modules.set(E.identifier(),E);this.modules.add(E);if(this._backCompat)nt.setModuleGraphForModule(E,this.moduleGraph);this._handleModuleBuildAndDependencies(k,E,true,P)}_handleExistingModuleFromUnsafeCache(k,v,E){const P=this.moduleGraph;P.setResolvedModule(k,v,E)}handleModuleCreation({factory:k,dependencies:v,originModule:E,contextInfo:P,context:R,recursive:L=true,connectOrigin:N=L},q){const ae=this.moduleGraph;const le=this.profile?new ot:undefined;this.factorizeModule({currentProfile:le,factory:k,dependencies:v,factoryResult:true,originModule:E,contextInfo:P,context:R},((k,P)=>{const applyFactoryResultDependencies=()=>{const{fileDependencies:k,contextDependencies:v,missingDependencies:E}=P;if(k){this.fileDependencies.addAll(k)}if(v){this.contextDependencies.addAll(v)}if(E){this.missingDependencies.addAll(E)}};if(k){if(P)applyFactoryResultDependencies();if(v.every((k=>k.optional))){this.warnings.push(k);return q()}else{this.errors.push(k);return q(k)}}const R=P.module;if(!R){applyFactoryResultDependencies();return q()}if(le!==undefined){ae.setProfile(R,le)}this.addModule(R,((k,pe)=>{if(k){applyFactoryResultDependencies();if(!k.module){k.module=pe}this.errors.push(k);return q(k)}if(this._unsafeCache&&P.cacheable!==false&&pe.restoreFromUnsafeCache&&this._unsafeCachePredicate(pe)){const k=pe;for(let P=0;P{if(R!==undefined){R.delete(v)}if(k){if(!k.module){k.module=v}this.errors.push(k);return P(k)}if(!E){this.processModuleDependenciesNonRecursive(v);P(null,v);return}if(this.processDependenciesQueue.isProcessing(v)){return P(null,v)}this.processModuleDependencies(v,(k=>{if(k){return P(k)}P(null,v)}))}))}_factorizeModule({currentProfile:k,factory:v,dependencies:E,originModule:P,factoryResult:R,contextInfo:L,context:N},q){if(k!==undefined){k.markFactoryStart()}v.create({contextInfo:{issuer:P?P.nameForCondition():"",issuerLayer:P?P.layer:null,compiler:this.compiler.name,...L},resolveOptions:P?P.resolveOptions:undefined,context:N?N:P?P.context:this.compiler.context,dependencies:E},((v,L)=>{if(L){if(L.module===undefined&&L instanceof Ze){L={module:L}}if(!R){const{fileDependencies:k,contextDependencies:v,missingDependencies:E}=L;if(k){this.fileDependencies.addAll(k)}if(v){this.contextDependencies.addAll(v)}if(E){this.missingDependencies.addAll(E)}}}if(v){const k=new rt(P,v,E.map((k=>k.loc)).filter(Boolean)[0]);return q(k,R?L:undefined)}if(!L){return q()}if(k!==undefined){k.markFactoryEnd()}q(null,R?L:L.module)}))}addModuleChain(k,v,E){return this.addModuleTree({context:k,dependency:v},E)}addModuleTree({context:k,dependency:v,contextInfo:E},P){if(typeof v!=="object"||v===null||!v.constructor){return P(new ft("Parameter 'dependency' must be a Dependency"))}const R=v.constructor;const L=this.dependencyFactories.get(R);if(!L){return P(new ft(`No dependency factory available for this dependency type: ${v.constructor.name}`))}this.handleModuleCreation({factory:L,dependencies:[v],originModule:null,contextInfo:E,context:k},((k,v)=>{if(k&&this.bail){P(k);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else if(!k&&v){P(null,v)}else{P()}}))}addEntry(k,v,E,P){const R=typeof E==="object"?E:{name:E};this._addEntryItem(k,v,"dependencies",R,P)}addInclude(k,v,E,P){this._addEntryItem(k,v,"includeDependencies",E,P)}_addEntryItem(k,v,E,P,R){const{name:L}=P;let N=L!==undefined?this.entries.get(L):this.globalEntry;if(N===undefined){N={dependencies:[],includeDependencies:[],options:{name:undefined,...P}};N[E].push(v);this.entries.set(L,N)}else{N[E].push(v);for(const k of Object.keys(P)){if(P[k]===undefined)continue;if(N.options[k]===P[k])continue;if(Array.isArray(N.options[k])&&Array.isArray(P[k])&&kt(N.options[k],P[k])){continue}if(N.options[k]===undefined){N.options[k]=P[k]}else{return R(new ft(`Conflicting entry option ${k} = ${N.options[k]} vs ${P[k]}`))}}}this.hooks.addEntry.call(v,P);this.addModuleTree({context:k,dependency:v,contextInfo:N.options.layer?{issuerLayer:N.options.layer}:undefined},((k,E)=>{if(k){this.hooks.failedEntry.call(v,P,k);return R(k)}this.hooks.succeedEntry.call(v,P,E);return R(null,E)}))}rebuildModule(k,v){this.rebuildQueue.add(k,v)}_rebuildModule(k,v){this.hooks.rebuildModule.call(k);const E=k.dependencies.slice();const P=k.blocks.slice();k.invalidateBuild();this.buildQueue.invalidate(k);this.buildModule(k,(R=>{if(R){return this.hooks.finishRebuildingModule.callAsync(k,(k=>{if(k){v(Ke(k,"Compilation.hooks.finishRebuildingModule"));return}v(R)}))}this.processDependenciesQueue.invalidate(k);this.moduleGraph.unfreeze();this.processModuleDependencies(k,(R=>{if(R)return v(R);this.removeReasonsOfDependencyBlock(k,{dependencies:E,blocks:P});this.hooks.finishRebuildingModule.callAsync(k,(E=>{if(E){v(Ke(E,"Compilation.hooks.finishRebuildingModule"));return}v(null,k)}))}))}))}_computeAffectedModules(k){const v=this.compiler.moduleMemCaches;if(!v)return;if(!this.moduleMemCaches){this.moduleMemCaches=new Map;this.moduleGraph.setModuleMemCaches(this.moduleMemCaches)}const{moduleGraph:E,moduleMemCaches:P}=this;const R=new Set;const L=new Set;let N=0;let q=0;let ae=0;let le=0;let pe=0;const computeReferences=k=>{let v=undefined;for(const P of E.getOutgoingConnections(k)){const k=P.dependency;const E=P.module;if(!k||!E||Jt.has(k))continue;if(v===undefined)v=new WeakMap;v.set(k,E)}return v};const compareReferences=(k,v)=>{if(v===undefined)return true;for(const P of E.getOutgoingConnections(k)){const k=P.dependency;if(!k)continue;const E=v.get(k);if(E===undefined)continue;if(E!==P.module)return false}return true};const me=new Set(k);for(const[k,E]of v){if(me.has(k)){const N=k.buildInfo;if(N){if(E.buildInfo!==N){const v=new Et;P.set(k,v);R.add(k);E.buildInfo=N;E.references=computeReferences(k);E.memCache=v;q++}else if(!compareReferences(k,E.references)){const v=new Et;P.set(k,v);R.add(k);E.references=computeReferences(k);E.memCache=v;le++}else{P.set(k,E.memCache);ae++}}else{L.add(k);v.delete(k);pe++}me.delete(k)}else{v.delete(k)}}for(const k of me){const E=k.buildInfo;if(E){const L=new Et;v.set(k,{buildInfo:E,references:computeReferences(k),memCache:L});P.set(k,L);R.add(k);N++}else{L.add(k);pe++}}const reduceAffectType=k=>{let v=false;for(const{dependency:E}of k){if(!E)continue;const k=E.couldAffectReferencingModule();if(k===Ue.TRANSITIVE)return Ue.TRANSITIVE;if(k===false)continue;v=true}return v};const ye=new Set;for(const k of L){for(const[v,P]of E.getIncomingConnectionsByOriginModule(k)){if(!v)continue;if(L.has(v))continue;const k=reduceAffectType(P);if(!k)continue;if(k===true){ye.add(v)}else{L.add(v)}}}for(const k of ye)L.add(k);const _e=new Set;for(const k of R){for(const[N,q]of E.getIncomingConnectionsByOriginModule(k)){if(!N)continue;if(L.has(N))continue;if(R.has(N))continue;const k=reduceAffectType(q);if(!k)continue;if(k===true){_e.add(N)}else{R.add(N)}const E=new Et;const ae=v.get(N);ae.memCache=E;P.set(N,E)}}for(const k of _e)R.add(k);this.logger.log(`${Math.round(100*(R.size+L.size)/this.modules.size)}% (${R.size} affected + ${L.size} infected of ${this.modules.size}) modules flagged as affected (${N} new modules, ${q} changed, ${le} references changed, ${ae} unchanged, ${pe} were not built)`)}_computeAffectedModulesWithChunkGraph(){const{moduleMemCaches:k}=this;if(!k)return;const v=this.moduleMemCaches2=new Map;const{moduleGraph:E,chunkGraph:P}=this;const R="memCache2";let L=0;let N=0;let q=0;const computeReferences=k=>{const v=P.getModuleId(k);let R=undefined;let L=undefined;const N=E.getOutgoingConnectionsByModule(k);if(N!==undefined){for(const k of N.keys()){if(!k)continue;if(R===undefined)R=new Map;R.set(k,P.getModuleId(k))}}if(k.blocks.length>0){L=[];const v=Array.from(k.blocks);for(const k of v){const E=P.getBlockChunkGroup(k);if(E){for(const k of E.chunks){L.push(k.id)}}else{L.push(null)}v.push.apply(v,k.blocks)}}return{id:v,modules:R,blocks:L}};const compareReferences=(k,{id:v,modules:E,blocks:R})=>{if(v!==P.getModuleId(k))return false;if(E!==undefined){for(const[k,v]of E){if(P.getModuleId(k)!==v)return false}}if(R!==undefined){const v=Array.from(k.blocks);let E=0;for(const k of v){const L=P.getBlockChunkGroup(k);if(L){for(const k of L.chunks){if(E>=R.length||R[E++]!==k.id)return false}}else{if(E>=R.length||R[E++]!==null)return false}v.push.apply(v,k.blocks)}if(E!==R.length)return false}return true};for(const[E,P]of k){const k=P.get(R);if(k===undefined){const k=new Et;P.set(R,{references:computeReferences(E),memCache:k});v.set(E,k);q++}else if(!compareReferences(E,k.references)){const P=new Et;k.references=computeReferences(E);k.memCache=P;v.set(E,P);N++}else{v.set(E,k.memCache);L++}}this.logger.log(`${Math.round(100*N/(q+N+L))}% modules flagged as affected by chunk graph (${q} new modules, ${N} changed, ${L} unchanged)`)}finish(k){this.factorizeQueue.clear();if(this.profile){this.logger.time("finish module profiles");const k=E(99593);const v=new k;const P=this.moduleGraph;const R=new Map;for(const k of this.modules){const E=P.getProfile(k);if(!E)continue;R.set(k,E);v.range(E.buildingStartTime,E.buildingEndTime,(k=>E.buildingParallelismFactor=k));v.range(E.factoryStartTime,E.factoryEndTime,(k=>E.factoryParallelismFactor=k));v.range(E.integrationStartTime,E.integrationEndTime,(k=>E.integrationParallelismFactor=k));v.range(E.storingStartTime,E.storingEndTime,(k=>E.storingParallelismFactor=k));v.range(E.restoringStartTime,E.restoringEndTime,(k=>E.restoringParallelismFactor=k));if(E.additionalFactoryTimes){for(const{start:k,end:P}of E.additionalFactoryTimes){const R=(P-k)/E.additionalFactories;v.range(k,P,(k=>E.additionalFactoriesParallelismFactor+=k*R))}}}v.calculate();const L=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(k,v)=>{if(k>1e3){L.error(v)}else if(k>500){L.warn(v)}else if(k>200){L.info(v)}else if(k>30){L.log(v)}else{L.debug(v)}};const logNormalSummary=(k,v,E)=>{let P=0;let L=0;for(const[N,q]of R){const R=E(q);const ae=v(q);if(ae===0||R===0)continue;const le=ae/R;P+=le;if(le<=10)continue;logByValue(le,` | ${Math.round(le)} ms${R>=1.1?` (parallelism ${Math.round(R*10)/10})`:""} ${k} > ${N.readableIdentifier(this.requestShortener)}`);L=Math.max(L,le)}if(P<=10)return;logByValue(Math.max(P/10,L),`${Math.round(P)} ms ${k}`)};const logByLoadersSummary=(k,v,E)=>{const P=new Map;for(const[k,v]of R){const E=At(P,k.type+"!"+k.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));E.push({module:k,profile:v})}let L=0;let N=0;for(const[R,q]of P){let P=0;let ae=0;for(const{module:R,profile:L}of q){const N=E(L);const q=v(L);if(q===0||N===0)continue;const le=q/N;P+=le;if(le<=10)continue;logByValue(le,` | | ${Math.round(le)} ms${N>=1.1?` (parallelism ${Math.round(N*10)/10})`:""} ${k} > ${R.readableIdentifier(this.requestShortener)}`);ae=Math.max(ae,le)}L+=P;if(P<=10)continue;const le=R.indexOf("!");const pe=R.slice(le+1);const me=R.slice(0,le);const ye=Math.max(P/10,ae);logByValue(ye,` | ${Math.round(P)} ms ${k} > ${pe?`${q.length} x ${me} with ${this.requestShortener.shorten(pe)}`:`${q.length} x ${me}`}`);N=Math.max(N,ye)}if(L<=10)return;logByValue(Math.max(L/10,N),`${Math.round(L)} ms ${k}`)};logNormalSummary("resolve to new modules",(k=>k.factory),(k=>k.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(k=>k.additionalFactories),(k=>k.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(k=>k.restoring),(k=>k.restoringParallelismFactor));logByLoadersSummary("build modules",(k=>k.building),(k=>k.buildingParallelismFactor));logNormalSummary("store modules",(k=>k.storing),(k=>k.storingParallelismFactor));logNormalSummary("restore modules",(k=>k.restoring),(k=>k.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("compute affected modules");this._computeAffectedModules(this.modules);this.logger.timeEnd("compute affected modules");this.logger.time("finish modules");const{modules:v,moduleMemCaches:P}=this;this.hooks.finishModules.callAsync(v,(E=>{this.logger.timeEnd("finish modules");if(E)return k(E);this.moduleGraph.freeze("dependency errors");this.logger.time("report dependency errors and warnings");for(const k of v){const v=P&&P.get(k);if(v&&v.get("noWarningsOrErrors"))continue;let E=this.reportDependencyErrorsAndWarnings(k,[k]);const R=k.getErrors();if(R!==undefined){for(const v of R){if(!v.module){v.module=k}this.errors.push(v);E=true}}const L=k.getWarnings();if(L!==undefined){for(const v of L){if(!v.module){v.module=k}this.warnings.push(v);E=true}}if(!E&&v)v.set("noWarningsOrErrors",true)}this.moduleGraph.unfreeze();this.logger.timeEnd("report dependency errors and warnings");k()}))}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();this.moduleGraph.unfreeze();this.moduleMemCaches2=undefined}seal(k){const finalCallback=v=>{this.factorizeQueue.clear();this.buildQueue.clear();this.rebuildQueue.clear();this.processDependenciesQueue.clear();this.addModuleQueue.clear();return k(v)};const v=new Me(this.moduleGraph,this.outputOptions.hashFunction);this.chunkGraph=v;if(this._backCompat){for(const k of this.modules){Me.setChunkGraphForModule(k,v)}}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();this.moduleGraph.freeze("seal");const E=new Map;for(const[k,{dependencies:P,includeDependencies:R,options:L}]of this.entries){const N=this.addChunk(k);if(L.filename){N.filenameTemplate=L.filename}const q=new He(L);if(!L.dependOn&&!L.runtime){q.setRuntimeChunk(N)}q.setEntrypointChunk(N);this.namedChunkGroups.set(k,q);this.entrypoints.set(k,q);this.chunkGroups.push(q);Je(q,N);const ae=new Set;for(const R of[...this.globalEntry.dependencies,...P]){q.addOrigin(null,{name:k},R.request);const P=this.moduleGraph.getModule(R);if(P){v.connectChunkAndEntryModule(N,P,q);ae.add(P);const k=E.get(q);if(k===undefined){E.set(q,[P])}else{k.push(P)}}}this.assignDepths(ae);const mapAndSort=k=>k.map((k=>this.moduleGraph.getModule(k))).filter(Boolean).sort(Ot);const le=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort(R)];let pe=E.get(q);if(pe===undefined){E.set(q,pe=[])}for(const k of le){this.assignDepth(k);pe.push(k)}}const P=new Set;e:for(const[k,{options:{dependOn:v,runtime:E}}]of this.entries){if(v&&E){const v=new ft(`Entrypoint '${k}' 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 E=this.entrypoints.get(k);v.chunk=E.getEntrypointChunk();this.errors.push(v)}if(v){const E=this.entrypoints.get(k);const P=E.getEntrypointChunk().getAllReferencedChunks();const R=[];for(const L of v){const v=this.entrypoints.get(L);if(!v){throw new Error(`Entry ${k} depends on ${L}, but this entry was not found`)}if(P.has(v.getEntrypointChunk())){const v=new ft(`Entrypoints '${k}' and '${L}' use 'dependOn' to depend on each other in a circular way.`);const P=E.getEntrypointChunk();v.chunk=P;this.errors.push(v);E.setRuntimeChunk(P);continue e}R.push(v)}for(const k of R){Ve(k,E)}}else if(E){const v=this.entrypoints.get(k);let R=this.namedChunks.get(E);if(R){if(!P.has(R)){const P=new ft(`Entrypoint '${k}' has a 'runtime' option which points to another entrypoint named '${E}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(E)}' instead to allow using entrypoint '${k}' within the runtime of entrypoint '${E}'? For this '${E}' must always be loaded when '${k}' is used.\nOr do you want to use the entrypoints '${k}' and '${E}' 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 R=v.getEntrypointChunk();P.chunk=R;this.errors.push(P);v.setRuntimeChunk(R);continue}}else{R=this.addChunk(E);R.preventIntegration=true;P.add(R)}v.unshiftChunk(R);R.addGroup(v);v.setRuntimeChunk(R)}}ht(this,E);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,(v=>{if(v){return finalCallback(Ke(v,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(v=>{if(v){return finalCallback(Ke(v,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const E=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.logger.time("compute affected modules with chunk graph");this._computeAffectedModulesWithChunkGraph();this.logger.timeEnd("compute affected modules with chunk graph");this.sortItemsWithChunkIds();if(E){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((v=>{if(v){return finalCallback(v)}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();const P=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs(P,(v=>{if(v){return finalCallback(v)}if(E){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 cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(v=>{if(v){return finalCallback(Ke(v,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=this._backCompat?Tt(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_*.`):Object.freeze(this.assets);this.summarizeDependencies();if(E){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(k)}return this.hooks.afterSeal.callAsync((k=>{if(k){return finalCallback(Ke(k,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();finalCallback()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((k=>{this.logger.timeEnd("create chunk assets");if(k){return finalCallback(k)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(k,v){let E=false;for(let P=0;P1){const R=new Map;for(const L of P){const P=v.getModuleHash(k,L);const N=R.get(P);if(N===undefined){const v={module:k,hash:P,runtime:L,runtimes:[L]};E.push(v);R.set(P,v)}else{N.runtimes.push(L)}}}}this._runCodeGenerationJobs(E,k)}_runCodeGenerationJobs(k,v){if(k.length===0){return v()}let E=0;let R=0;const{chunkGraph:L,moduleGraph:N,dependencyTemplates:q,runtimeTemplate:ae}=this;const le=this.codeGenerationResults;const pe=[];let me=undefined;const runIteration=()=>{let ye=[];let _e=new Set;P.eachLimit(k,this.options.parallelism,((k,v)=>{const{module:P}=k;const{codeGenerationDependencies:Ie}=P;if(Ie!==undefined){if(me===undefined||Ie.some((k=>{const v=N.getModule(k);return me.has(v)}))){ye.push(k);_e.add(P);return v()}}const{hash:Me,runtime:Te,runtimes:je}=k;this._codeGenerationModule(P,Te,je,Me,q,L,N,ae,pe,le,((k,P)=>{if(P)R++;else E++;v(k)}))}),(P=>{if(P)return v(P);if(ye.length>0){if(ye.length===k.length){return v(new Error(`Unable to make progress during code generation because of circular code generation dependency: ${Array.from(_e,(k=>k.identifier())).join(", ")}`))}k=ye;ye=[];me=_e;_e=new Set;return runIteration()}if(pe.length>0){pe.sort(It((k=>k.module),Ot));for(const k of pe){this.errors.push(k)}}this.logger.log(`${Math.round(100*R/(R+E))}% code generated (${R} generated, ${E} from cache)`);v()}))};runIteration()}_codeGenerationModule(k,v,E,P,R,L,N,q,ae,le,pe){let me=false;const ye=new _e(E.map((v=>this._codeGenerationCache.getItemCache(`${k.identifier()}|${jt(v)}`,`${P}|${R.getHash()}`))));ye.get(((P,_e)=>{if(P)return pe(P);let Ie;if(!_e){try{me=true;this.codeGeneratedModules.add(k);Ie=k.codeGeneration({chunkGraph:L,moduleGraph:N,dependencyTemplates:R,runtimeTemplate:q,runtime:v,codeGenerationResults:le,compilation:this})}catch(P){ae.push(new Be(k,P));Ie=_e={sources:new Map,runtimeRequirements:null}}}else{Ie=_e}for(const v of E){le.add(k,v,Ie)}if(!_e){ye.store(Ie,(k=>pe(k,me)))}else{pe(null,me)}}))}_getChunkGraphEntries(){const k=new Set;for(const v of this.entrypoints.values()){const E=v.getRuntimeChunk();if(E)k.add(E)}for(const v of this.asyncEntrypoints){const E=v.getRuntimeChunk();if(E)k.add(E)}return k}processRuntimeRequirements({chunkGraph:k=this.chunkGraph,modules:v=this.modules,chunks:E=this.chunks,codeGenerationResults:P=this.codeGenerationResults,chunkGraphEntries:R=this._getChunkGraphEntries()}={}){const L={chunkGraph:k,codeGenerationResults:P};const{moduleMemCaches2:N}=this;this.logger.time("runtime requirements.modules");const q=this.hooks.additionalModuleRuntimeRequirements;const ae=this.hooks.runtimeRequirementInModule;for(const E of v){if(k.getNumberOfModuleChunks(E)>0){const v=N&&N.get(E);for(const R of k.getModuleRuntimes(E)){if(v){const P=v.get(`moduleRuntimeRequirements-${jt(R)}`);if(P!==undefined){if(P!==null){k.addModuleRuntimeRequirements(E,R,P,false)}continue}}let N;const le=P.getRuntimeRequirements(E,R);if(le&&le.size>0){N=new Set(le)}else if(q.isUsed()){N=new Set}else{if(v){v.set(`moduleRuntimeRequirements-${jt(R)}`,null)}continue}q.call(E,N,L);for(const k of N){const v=ae.get(k);if(v!==undefined)v.call(E,N,L)}if(N.size===0){if(v){v.set(`moduleRuntimeRequirements-${jt(R)}`,null)}}else{if(v){v.set(`moduleRuntimeRequirements-${jt(R)}`,N);k.addModuleRuntimeRequirements(E,R,N,false)}else{k.addModuleRuntimeRequirements(E,R,N)}}}}}this.logger.timeEnd("runtime requirements.modules");this.logger.time("runtime requirements.chunks");for(const v of E){const E=new Set;for(const P of k.getChunkModulesIterable(v)){const R=k.getModuleRuntimeRequirements(P,v.runtime);for(const k of R)E.add(k)}this.hooks.additionalChunkRuntimeRequirements.call(v,E,L);for(const k of E){this.hooks.runtimeRequirementInChunk.for(k).call(v,E,L)}k.addChunkRuntimeRequirements(v,E)}this.logger.timeEnd("runtime requirements.chunks");this.logger.time("runtime requirements.entries");for(const v of R){const E=new Set;for(const P of v.getAllReferencedChunks()){const v=k.getChunkRuntimeRequirements(P);for(const k of v)E.add(k)}this.hooks.additionalTreeRuntimeRequirements.call(v,E,L);for(const k of E){this.hooks.runtimeRequirementInTree.for(k).call(v,E,L)}k.addTreeRuntimeRequirements(v,E)}this.logger.timeEnd("runtime requirements.entries")}addRuntimeModule(k,v,E=this.chunkGraph){if(this._backCompat)nt.setModuleGraphForModule(v,this.moduleGraph);this.modules.add(v);this._modules.set(v.identifier(),v);E.connectChunkAndModule(k,v);E.connectChunkAndRuntimeModule(k,v);if(v.fullHash){E.addFullHashModuleToChunk(k,v)}else if(v.dependentHash){E.addDependentHashModuleToChunk(k,v)}v.attach(this,k,E);const P=this.moduleGraph.getExportsInfo(v);P.setHasProvideInfo();if(typeof k.runtime==="string"){P.setUsedForSideEffectsOnly(k.runtime)}else if(k.runtime===undefined){P.setUsedForSideEffectsOnly(undefined)}else{for(const v of k.runtime){P.setUsedForSideEffectsOnly(v)}}E.addModuleRuntimeRequirements(v,k.runtime,new Set([ut.requireScope]));E.setModuleId(v,"");this.hooks.runtimeModule.call(v,k)}addChunkInGroup(k,v,E,P){if(typeof k==="string"){k={name:k}}const R=k.name;if(R){const L=this.namedChunkGroups.get(R);if(L!==undefined){L.addOptions(k);if(v){L.addOrigin(v,E,P)}return L}}const L=new Te(k);if(v)L.addOrigin(v,E,P);const N=this.addChunk(R);Je(L,N);this.chunkGroups.push(L);if(R){this.namedChunkGroups.set(R,L)}return L}addAsyncEntrypoint(k,v,E,P){const R=k.name;if(R){const k=this.namedChunkGroups.get(R);if(k instanceof He){if(k!==undefined){if(v){k.addOrigin(v,E,P)}return k}}else if(k){throw new Error(`Cannot add an async entrypoint with the name '${R}', because there is already an chunk group with this name`)}}const L=this.addChunk(R);if(k.filename){L.filenameTemplate=k.filename}const N=new He(k,false);N.setRuntimeChunk(L);N.setEntrypointChunk(L);if(R){this.namedChunkGroups.set(R,N)}this.chunkGroups.push(N);this.asyncEntrypoints.push(N);Je(N,L);if(v){N.addOrigin(v,E,P)}return N}addChunk(k){if(k){const v=this.namedChunks.get(k);if(v!==undefined){return v}}const v=new Ie(k,this._backCompat);this.chunks.add(v);if(this._backCompat)Me.setChunkGraphForChunk(v,this.chunkGraph);if(k){this.namedChunks.set(k,v)}return v}assignDepth(k){const v=this.moduleGraph;const E=new Set([k]);let P;v.setDepth(k,0);const processModule=k=>{if(!v.setDepthIfLower(k,P))return;E.add(k)};for(k of E){E.delete(k);P=v.getDepth(k)+1;for(const E of v.getOutgoingConnections(k)){const k=E.module;if(k){processModule(k)}}}}assignDepths(k){const v=this.moduleGraph;const E=new Set(k);E.add(1);let P=0;let R=0;for(const k of E){R++;if(typeof k==="number"){P=k;if(E.size===R)return;E.add(P+1)}else{v.setDepth(k,P);for(const{module:P}of v.getOutgoingConnections(k)){if(P){E.add(P)}}}}}getDependencyReferencedExports(k,v){const E=k.getReferencedExports(this.moduleGraph,v);return this.hooks.dependencyReferencedExports.call(E,k,v)}removeReasonsOfDependencyBlock(k,v){if(v.blocks){for(const E of v.blocks){this.removeReasonsOfDependencyBlock(k,E)}}if(v.dependencies){for(const k of v.dependencies){const v=this.moduleGraph.getModule(k);if(v){this.moduleGraph.removeConnection(k);if(this.chunkGraph){for(const k of this.chunkGraph.getModuleChunks(v)){this.patchChunksAfterReasonRemoval(v,k)}}}}}}patchChunksAfterReasonRemoval(k,v){if(!k.hasReasons(this.moduleGraph,v.runtime)){this.removeReasonsOfDependencyBlock(k,k)}if(!k.hasReasonForChunk(v,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(k,v)){this.chunkGraph.disconnectChunkAndModule(v,k);this.removeChunkFromDependencies(k,v)}}}removeChunkFromDependencies(k,v){const iteratorDependency=k=>{const E=this.moduleGraph.getModule(k);if(!E){return}this.patchChunksAfterReasonRemoval(E,v)};const E=k.blocks;for(let v=0;v{const E=v.options.runtime||v.name;const P=v.getRuntimeChunk();k.setRuntimeId(E,P.id)};for(const k of this.entrypoints.values()){processEntrypoint(k)}for(const k of this.asyncEntrypoints){processEntrypoint(k)}}sortItemsWithChunkIds(){for(const k of this.chunkGroups){k.sortItems()}this.errors.sort(Qt);this.warnings.sort(Qt);this.children.sort(Ut)}summarizeDependencies(){for(let k=0;k0){ae.sort(It((k=>k.module),Ot));for(const k of ae){this.errors.push(k)}}this.logger.log(`${k} modules hashed, ${v} from cache (${Math.round(100*(k+v)/this.modules.size)/100} variants per module in average)`)}_createModuleHash(k,v,E,P,R,L,N,q){let ae;try{const N=Dt(P);k.updateHash(N,{chunkGraph:v,runtime:E,runtimeTemplate:R});ae=N.digest(L)}catch(v){q.push(new st(k,v));ae="XXXXXX"}v.setModuleHashes(k,E,ae,ae.slice(0,N));return ae}createHash(){this.logger.time("hashing: initialize hash");const k=this.chunkGraph;const v=this.runtimeTemplate;const E=this.outputOptions;const P=E.hashFunction;const R=E.hashDigest;const L=E.hashDigestLength;const N=Dt(P);if(E.hashSalt){N.update(E.hashSalt)}this.logger.timeEnd("hashing: initialize hash");if(this.children.length>0){this.logger.time("hashing: hash child compilations");for(const k of this.children){N.update(k.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const k of this.warnings){N.update(`${k.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const k of this.errors){N.update(`${k.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const q=[];const ae=[];for(const k of this.chunks){if(k.hasRuntime()){q.push(k)}else{ae.push(k)}}q.sort(zt);ae.sort(zt);const le=new Map;for(const k of q){le.set(k,{chunk:k,referencedBy:[],remaining:0})}let pe=0;for(const k of le.values()){for(const v of new Set(Array.from(k.chunk.getAllReferencedAsyncEntrypoints()).map((k=>k.chunks[k.chunks.length-1])))){const E=le.get(v);E.referencedBy.push(k);k.remaining++;pe++}}const me=[];for(const k of le.values()){if(k.remaining===0){me.push(k.chunk)}}if(pe>0){const v=[];for(const E of me){const P=k.getNumberOfChunkFullHashModules(E)!==0;const R=le.get(E);for(const E of R.referencedBy){if(P){k.upgradeDependentToFullHashModules(E.chunk)}pe--;if(--E.remaining===0){v.push(E.chunk)}}if(v.length>0){v.sort(zt);for(const k of v)me.push(k);v.length=0}}}if(pe>0){let k=[];for(const v of le.values()){if(v.remaining!==0){k.push(v)}}k.sort(It((k=>k.chunk),zt));const v=new ft(`Circular dependency between chunks with runtime (${Array.from(k,(k=>k.chunk.name||k.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);v.chunk=k[0].chunk;this.warnings.push(v);for(const v of k)me.push(v.chunk)}this.logger.timeEnd("hashing: sort chunks");const ye=new Set;const _e=[];const Ie=new Map;const Me=[];const processChunk=q=>{this.logger.time("hashing: hash runtime modules");const ae=q.runtime;for(const E of k.getChunkModulesIterable(q)){if(!k.hasModuleHashes(E,ae)){const N=this._createModuleHash(E,k,ae,P,v,R,L,Me);let q=Ie.get(N);if(q){const k=q.get(E);if(k){k.runtimes.push(ae);continue}}else{q=new Map;Ie.set(N,q)}const le={module:E,hash:N,runtime:ae,runtimes:[ae]};q.set(E,le);_e.push(le)}}this.logger.timeAggregate("hashing: hash runtime modules");try{this.logger.time("hashing: hash chunks");const v=Dt(P);if(E.hashSalt){v.update(E.hashSalt)}q.updateHash(v,k);this.hooks.chunkHash.call(q,v,{chunkGraph:k,codeGenerationResults:this.codeGenerationResults,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const ae=v.digest(R);N.update(ae);q.hash=ae;q.renderedHash=q.hash.slice(0,L);const le=k.getChunkFullHashModulesIterable(q);if(le){ye.add(q)}else{this.hooks.contentHash.call(q)}}catch(k){this.errors.push(new je(q,"",k))}this.logger.timeAggregate("hashing: hash chunks")};ae.forEach(processChunk);for(const k of me)processChunk(k);if(Me.length>0){Me.sort(It((k=>k.module),Ot));for(const k of Me){this.errors.push(k)}}this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(N);this.fullHash=N.digest(R);this.hash=this.fullHash.slice(0,L);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const E of ye){for(const N of k.getChunkFullHashModulesIterable(E)){const q=Dt(P);N.updateHash(q,{chunkGraph:k,runtime:E.runtime,runtimeTemplate:v});const ae=q.digest(R);const le=k.getModuleHash(N,E.runtime);k.setModuleHashes(N,E.runtime,ae,ae.slice(0,L));Ie.get(le).get(N).hash=ae}const N=Dt(P);N.update(E.hash);N.update(this.hash);const q=N.digest(R);E.hash=q;E.renderedHash=E.hash.slice(0,L);this.hooks.contentHash.call(E)}this.logger.timeEnd("hashing: process full hash modules");return _e}emitAsset(k,v,E={}){if(this.assets[k]){if(!Lt(this.assets[k],v)){this.errors.push(new ft(`Conflict: Multiple assets emit different content to the same filename ${k}${E.sourceFilename?`. Original source ${E.sourceFilename}`:""}`));this.assets[k]=v;this._setAssetInfo(k,E);return}const P=this.assetsInfo.get(k);const R=Object.assign({},P,E);this._setAssetInfo(k,R,P);return}this.assets[k]=v;this._setAssetInfo(k,E,undefined)}_setAssetInfo(k,v,E=this.assetsInfo.get(k)){if(v===undefined){this.assetsInfo.delete(k)}else{this.assetsInfo.set(k,v)}const P=E&&E.related;const R=v&&v.related;if(P){for(const v of Object.keys(P)){const remove=E=>{const P=this._assetsRelatedIn.get(E);if(P===undefined)return;const R=P.get(v);if(R===undefined)return;R.delete(k);if(R.size!==0)return;P.delete(v);if(P.size===0)this._assetsRelatedIn.delete(E)};const E=P[v];if(Array.isArray(E)){E.forEach(remove)}else if(E){remove(E)}}}if(R){for(const v of Object.keys(R)){const add=E=>{let P=this._assetsRelatedIn.get(E);if(P===undefined){this._assetsRelatedIn.set(E,P=new Map)}let R=P.get(v);if(R===undefined){P.set(v,R=new Set)}R.add(k)};const E=R[v];if(Array.isArray(E)){E.forEach(add)}else if(E){add(E)}}}}updateAsset(k,v,E=undefined){if(!this.assets[k]){throw new Error(`Called Compilation.updateAsset for not existing filename ${k}`)}if(typeof v==="function"){this.assets[k]=v(this.assets[k])}else{this.assets[k]=v}if(E!==undefined){const v=this.assetsInfo.get(k)||Nt;if(typeof E==="function"){this._setAssetInfo(k,E(v),v)}else{this._setAssetInfo(k,Ct(v,E),v)}}}renameAsset(k,v){const E=this.assets[k];if(!E){throw new Error(`Called Compilation.renameAsset for not existing filename ${k}`)}if(this.assets[v]){if(!Lt(this.assets[k],E)){this.errors.push(new ft(`Conflict: Called Compilation.renameAsset for already existing filename ${v} with different content`))}}const P=this.assetsInfo.get(k);const R=this._assetsRelatedIn.get(k);if(R){for(const[E,P]of R){for(const R of P){const P=this.assetsInfo.get(R);if(!P)continue;const L=P.related;if(!L)continue;const N=L[E];let q;if(Array.isArray(N)){q=N.map((E=>E===k?v:E))}else if(N===k){q=v}else continue;this.assetsInfo.set(R,{...P,related:{...L,[E]:q}})}}}this._setAssetInfo(k,undefined,P);this._setAssetInfo(v,P);delete this.assets[k];this.assets[v]=E;for(const E of this.chunks){{const P=E.files.size;E.files.delete(k);if(P!==E.files.size){E.files.add(v)}}{const P=E.auxiliaryFiles.size;E.auxiliaryFiles.delete(k);if(P!==E.auxiliaryFiles.size){E.auxiliaryFiles.add(v)}}}}deleteAsset(k){if(!this.assets[k]){return}delete this.assets[k];const v=this.assetsInfo.get(k);this._setAssetInfo(k,undefined,v);const E=v&&v.related;if(E){for(const k of Object.keys(E)){const checkUsedAndDelete=k=>{if(!this._assetsRelatedIn.has(k)){this.deleteAsset(k)}};const v=E[k];if(Array.isArray(v)){v.forEach(checkUsedAndDelete)}else if(v){checkUsedAndDelete(v)}}}for(const v of this.chunks){v.files.delete(k);v.auxiliaryFiles.delete(k)}}getAssets(){const k=[];for(const v of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,v)){k.push({name:v,source:this.assets[v],info:this.assetsInfo.get(v)||Nt})}}return k}getAsset(k){if(!Object.prototype.hasOwnProperty.call(this.assets,k))return undefined;return{name:k,source:this.assets[k],info:this.assetsInfo.get(k)||Nt}}clearAssets(){for(const k of this.chunks){k.files.clear();k.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:k}=this;for(const v of this.modules){if(v.buildInfo.assets){const E=v.buildInfo.assetsInfo;for(const P of Object.keys(v.buildInfo.assets)){const R=this.getPath(P,{chunkGraph:this.chunkGraph,module:v});for(const E of k.getModuleChunksIterable(v)){E.auxiliaryFiles.add(R)}this.emitAsset(R,v.buildInfo.assets[P],E?E.get(P):undefined);this.hooks.moduleAsset.call(v,R)}}}}getRenderManifest(k){return this.hooks.renderManifest.call([],k)}createChunkAssets(k){const v=this.outputOptions;const E=new WeakMap;const R=new Map;P.forEachLimit(this.chunks,15,((k,L)=>{let N;try{N=this.getRenderManifest({chunk:k,hash:this.hash,fullHash:this.fullHash,outputOptions:v,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(v){this.errors.push(new je(k,"",v));return L()}P.forEach(N,((v,P)=>{const L=v.identifier;const N=v.hash;const q=this._assetsCache.getItemCache(L,N);q.get(((L,ae)=>{let le;let pe;let me;let _e=true;const errorAndCallback=v=>{const E=pe||(typeof pe==="string"?pe:typeof le==="string"?le:"");this.errors.push(new je(k,E,v));_e=false;return P()};try{if("filename"in v){pe=v.filename;me=v.info}else{le=v.filenameTemplate;const k=this.getPathWithInfo(le,v.pathOptions);pe=k.path;me=v.info?{...k.info,...v.info}:k.info}if(L){return errorAndCallback(L)}let Ie=ae;const Me=R.get(pe);if(Me!==undefined){if(Me.hash!==N){_e=false;return P(new ft(`Conflict: Multiple chunks emit assets to the same filename ${pe}`+` (chunks ${Me.chunk.id} and ${k.id})`))}else{Ie=Me.source}}else if(!Ie){Ie=v.render();if(!(Ie instanceof ye)){const k=E.get(Ie);if(k){Ie=k}else{const k=new ye(Ie);E.set(Ie,k);Ie=k}}}this.emitAsset(pe,Ie,me);if(v.auxiliary){k.auxiliaryFiles.add(pe)}else{k.files.add(pe)}this.hooks.chunkAsset.call(k,pe);R.set(pe,{hash:N,source:Ie,chunk:k});if(Ie!==ae){q.store(Ie,(k=>{if(k)return errorAndCallback(k);_e=false;return P()}))}else{_e=false;P()}}catch(L){if(!_e)throw L;errorAndCallback(L)}}))}),L)}),k)}getPath(k,v={}){if(!v.hash){v={hash:this.hash,...v}}return this.getAssetPath(k,v)}getPathWithInfo(k,v={}){if(!v.hash){v={hash:this.hash,...v}}return this.getAssetPathWithInfo(k,v)}getAssetPath(k,v){return this.hooks.assetPath.call(typeof k==="function"?k(v):k,v,undefined)}getAssetPathWithInfo(k,v){const E={};const P=this.hooks.assetPath.call(typeof k==="function"?k(v,E):k,v,E);return{path:P,info:E}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(k,v,E){const P=this.childrenCounters[k]||0;this.childrenCounters[k]=P+1;return this.compiler.createChildCompiler(this,k,P,v,E)}executeModule(k,v,E){const R=new Set([k]);Ft(R,10,((k,v,E)=>{this.buildQueue.waitFor(k,(P=>{if(P)return E(P);this.processDependenciesQueue.waitFor(k,(P=>{if(P)return E(P);for(const{module:E}of this.moduleGraph.getOutgoingConnections(k)){const k=R.size;R.add(E);if(R.size!==k)v(E)}E()}))}))}),(L=>{if(L)return E(L);const N=new Me(this.moduleGraph,this.outputOptions.hashFunction);const q="build time";const{hashFunction:ae,hashDigest:le,hashDigestLength:pe}=this.outputOptions;const me=this.runtimeTemplate;const ye=new Ie("build time chunk",this._backCompat);ye.id=ye.name;ye.ids=[ye.id];ye.runtime=q;const _e=new He({runtime:q,chunkLoading:false,...v.entryOptions});N.connectChunkAndEntryModule(ye,k,_e);Je(_e,ye);_e.setRuntimeChunk(ye);_e.setEntrypointChunk(ye);const Te=new Set([ye]);for(const k of R){const v=k.identifier();N.setModuleId(k,v);N.connectChunkAndModule(ye,k)}const je=[];for(const k of R){this._createModuleHash(k,N,q,ae,me,le,pe,je)}const Ne=new qe(this.outputOptions.hashFunction);const codeGen=(k,v)=>{this._codeGenerationModule(k,q,[q],N.getModuleHash(k,q),this.dependencyTemplates,N,this.moduleGraph,me,je,Ne,((k,E)=>{v(k)}))};const reportErrors=()=>{if(je.length>0){je.sort(It((k=>k.module),Ot));for(const k of je){this.errors.push(k)}je.length=0}};P.eachLimit(R,10,codeGen,(v=>{if(v)return E(v);reportErrors();const L=this.chunkGraph;this.chunkGraph=N;this.processRuntimeRequirements({chunkGraph:N,modules:R,chunks:Te,codeGenerationResults:Ne,chunkGraphEntries:Te});this.chunkGraph=L;const _e=N.getChunkRuntimeModulesIterable(ye);for(const k of _e){R.add(k);this._createModuleHash(k,N,q,ae,me,le,pe)}P.eachLimit(_e,10,codeGen,(v=>{if(v)return E(v);reportErrors();const L=new Map;const ae=new Map;const le=new wt;const pe=new wt;const me=new wt;const _e=new wt;const Ie=new Map;let Me=true;const Te={assets:Ie,__webpack_require__:undefined,chunk:ye,chunkGraph:N};P.eachLimit(R,10,((k,v)=>{const E=Ne.get(k,q);const P={module:k,codeGenerationResult:E,preparedInfo:undefined,moduleObject:undefined};L.set(k,P);ae.set(k.identifier(),P);k.addCacheDependencies(le,pe,me,_e);if(k.buildInfo.cacheable===false){Me=false}if(k.buildInfo&&k.buildInfo.assets){const{assets:v,assetsInfo:E}=k.buildInfo;for(const k of Object.keys(v)){Ie.set(k,{source:v[k],info:E?E.get(k):undefined})}}this.hooks.prepareModuleExecution.callAsync(P,Te,v)}),(v=>{if(v)return E(v);let P;try{const{strictModuleErrorHandling:v,strictModuleExceptionHandling:E}=this.outputOptions;const __nested_webpack_require_153754__=k=>{const v=q[k];if(v!==undefined){if(v.error)throw v.error;return v.exports}const E=ae.get(k);return __webpack_require_module__(E,k)};const R=__nested_webpack_require_153754__[ut.interceptModuleExecution.replace(`${ut.require}.`,"")]=[];const q=__nested_webpack_require_153754__[ut.moduleCache.replace(`${ut.require}.`,"")]={};Te.__webpack_require__=__nested_webpack_require_153754__;const __webpack_require_module__=(k,P)=>{var L={id:P,module:{id:P,exports:{},loaded:false,error:undefined},require:__nested_webpack_require_153754__};R.forEach((k=>k(L)));const N=k.module;this.buildTimeExecutedModules.add(N);const ae=L.module;k.moduleObject=ae;try{if(P)q[P]=ae;Ye((()=>this.hooks.executeModule.call(k,Te)),"Compilation.hooks.executeModule");ae.loaded=true;return ae.exports}catch(k){if(E){if(P)delete q[P]}else if(v){ae.error=k}if(!k.module)k.module=N;throw k}};for(const k of N.getChunkRuntimeModulesInOrder(ye)){__webpack_require_module__(L.get(k))}P=__nested_webpack_require_153754__(k.identifier())}catch(v){const P=new ft(`Execution of module code from module graph (${k.readableIdentifier(this.requestShortener)}) failed: ${v.message}`);P.stack=v.stack;P.module=v.module;return E(P)}E(null,{exports:P,assets:Ie,cacheable:Me,fileDependencies:le,contextDependencies:pe,missingDependencies:me,buildDependencies:_e})}))}))}))}))}checkConstraints(){const k=this.chunkGraph;const v=new Set;for(const E of this.modules){if(E.type===lt)continue;const P=k.getModuleId(E);if(P===null)continue;if(v.has(P)){throw new Error(`checkConstraints: duplicate module id ${P}`)}v.add(P)}for(const v of this.chunks){for(const E of k.getChunkModulesIterable(v)){if(!this.modules.has(E)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${v.debugId} ${E.debugId}`)}}for(const E of k.getChunkEntryModulesIterable(v)){if(!this.modules.has(E)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${v.debugId} ${E.debugId}`)}}}for(const k of this.chunkGroups){k.checkConstraints()}}}Compilation.prototype.factorizeModule=function(k,v){this.factorizeQueue.add(k,v)};const Kt=Compilation.prototype;Object.defineProperty(Kt,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(Kt,"cache",{enumerable:false,configurable:false,get:me.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:me.deprecate((k=>{}),"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;k.exports=Compilation},2170:function(k,v,E){"use strict";const P=E(54650);const R=E(78175);const{SyncHook:L,SyncBailHook:N,AsyncParallelHook:q,AsyncSeriesHook:ae}=E(79846);const{SizeOnlySource:le}=E(51255);const pe=E(94308);const me=E(89802);const ye=E(90580);const _e=E(38317);const Ie=E(27747);const Me=E(4539);const Te=E(20467);const je=E(88223);const Ne=E(14062);const Be=E(91227);const qe=E(51660);const Ue=E(26288);const Ge=E(50526);const He=E(71572);const{Logger:We}=E(13905);const{join:Qe,dirname:Je,mkdirp:Ve}=E(57825);const{makePathsRelative:Ke}=E(65315);const{isSourceEqual:Ye}=E(71435);const isSorted=k=>{for(let v=1;vk[v])return false}return true};const sortObject=(k,v)=>{const E={};for(const P of v.sort()){E[P]=k[P]}return E};const includesHash=(k,v)=>{if(!v)return false;if(Array.isArray(v)){return v.some((v=>k.includes(v)))}else{return k.includes(v)}};class Compiler{constructor(k,v={}){this.hooks=Object.freeze({initialize:new L([]),shouldEmit:new N(["compilation"]),done:new ae(["stats"]),afterDone:new L(["stats"]),additionalPass:new ae([]),beforeRun:new ae(["compiler"]),run:new ae(["compiler"]),emit:new ae(["compilation"]),assetEmitted:new ae(["file","info"]),afterEmit:new ae(["compilation"]),thisCompilation:new L(["compilation","params"]),compilation:new L(["compilation","params"]),normalModuleFactory:new L(["normalModuleFactory"]),contextModuleFactory:new L(["contextModuleFactory"]),beforeCompile:new ae(["params"]),compile:new L(["params"]),make:new q(["compilation"]),finishMake:new ae(["compilation"]),afterCompile:new ae(["compilation"]),readRecords:new ae([]),emitRecords:new ae([]),watchRun:new ae(["compiler"]),failed:new L(["error"]),invalid:new L(["filename","changeTime"]),watchClose:new L([]),shutdown:new ae([]),infrastructureLog:new N(["origin","type","args"]),environment:new L([]),afterEnvironment:new L([]),afterPlugins:new L(["compiler"]),afterResolvers:new L(["compiler"]),entryOption:new N(["context","entry"])});this.webpack=pe;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.fsStartTime=undefined;this.resolverFactory=new qe;this.infrastructureLogger=undefined;this.options=v;this.context=k;this.requestShortener=new Be(k,this.root);this.cache=new me;this.moduleMemCaches=undefined;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._backCompat=this.options.experiments.backCompat!==false;this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map;this._assetEmittingPreviousFiles=new Set}getCache(k){return new ye(this.cache,`${this.compilerPath}${k}`,this.options.output.hashFunction)}getInfrastructureLogger(k){if(!k){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new We(((v,E)=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(k,v,E)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(k,v,E)}}}),(v=>{if(typeof k==="function"){if(typeof v==="function"){return this.getInfrastructureLogger((()=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof v==="function"){v=v();if(!v){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${k}/${v}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${k}/${v}`}))}}else{if(typeof v==="function"){return this.getInfrastructureLogger((()=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${k}/${v}`}))}else{return this.getInfrastructureLogger(`${k}/${v}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const k of this._lastCompilation.modules){_e.clearChunkGraphForModule(k);je.clearModuleGraphForModule(k);k.cleanupForCache()}for(const k of this._lastCompilation.chunks){_e.clearChunkGraphForChunk(k)}this._lastCompilation=undefined}}_cleanupLastNormalModuleFactory(){if(this._lastNormalModuleFactory!==undefined){this._lastNormalModuleFactory.cleanupForCache();this._lastNormalModuleFactory=undefined}}watch(k,v){if(this.running){return v(new Me)}this.running=true;this.watchMode=true;this.watching=new Ge(this,k,v);return this.watching}run(k){if(this.running){return k(new Me)}let v;const finalCallback=(E,P)=>{if(v)v.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(v)v.timeEnd("beginIdle");this.running=false;if(E){this.hooks.failed.call(E)}if(k!==undefined)k(E,P);this.hooks.afterDone.call(P)};const E=Date.now();this.running=true;const onCompiled=(k,P)=>{if(k)return finalCallback(k);if(this.hooks.shouldEmit.call(P)===false){P.startTime=E;P.endTime=Date.now();const k=new Ue(P);this.hooks.done.callAsync(k,(v=>{if(v)return finalCallback(v);return finalCallback(null,k)}));return}process.nextTick((()=>{v=P.getLogger("webpack.Compiler");v.time("emitAssets");this.emitAssets(P,(k=>{v.timeEnd("emitAssets");if(k)return finalCallback(k);if(P.hooks.needAdditionalPass.call()){P.needAdditionalPass=true;P.startTime=E;P.endTime=Date.now();v.time("done hook");const k=new Ue(P);this.hooks.done.callAsync(k,(k=>{v.timeEnd("done hook");if(k)return finalCallback(k);this.hooks.additionalPass.callAsync((k=>{if(k)return finalCallback(k);this.compile(onCompiled)}))}));return}v.time("emitRecords");this.emitRecords((k=>{v.timeEnd("emitRecords");if(k)return finalCallback(k);P.startTime=E;P.endTime=Date.now();v.time("done hook");const R=new Ue(P);this.hooks.done.callAsync(R,(k=>{v.timeEnd("done hook");if(k)return finalCallback(k);this.cache.storeBuildDependencies(P.buildDependencies,(k=>{if(k)return finalCallback(k);return finalCallback(null,R)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(k=>{if(k)return finalCallback(k);this.hooks.run.callAsync(this,(k=>{if(k)return finalCallback(k);this.readRecords((k=>{if(k)return finalCallback(k);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((k=>{if(k)return finalCallback(k);this.idle=false;run()}))}else{run()}}runAsChild(k){const v=Date.now();const finalCallback=(v,E,P)=>{try{k(v,E,P)}catch(k){const v=new He(`compiler.runAsChild callback error: ${k}`);v.details=k.stack;this.parentCompilation.errors.push(v)}};this.compile(((k,E)=>{if(k)return finalCallback(k);this.parentCompilation.children.push(E);for(const{name:k,source:v,info:P}of E.getAssets()){this.parentCompilation.emitAsset(k,v,P)}const P=[];for(const k of E.entrypoints.values()){P.push(...k.chunks)}E.startTime=v;E.endTime=Date.now();return finalCallback(null,P,E)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(k,v){let E;const emitFiles=P=>{if(P)return v(P);const L=k.getAssets();k.assets={...k.assets};const N=new Map;const q=new Set;R.forEachLimit(L,15,(({name:v,source:P,info:R},L)=>{let ae=v;let pe=R.immutable;const me=ae.indexOf("?");if(me>=0){ae=ae.slice(0,me);pe=pe&&(includesHash(ae,R.contenthash)||includesHash(ae,R.chunkhash)||includesHash(ae,R.modulehash)||includesHash(ae,R.fullhash))}const writeOut=R=>{if(R)return L(R);const me=Qe(this.outputFileSystem,E,ae);q.add(me);const ye=this._assetEmittingWrittenFiles.get(me);let _e=this._assetEmittingSourceCache.get(P);if(_e===undefined){_e={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set(P,_e)}let Ie;const checkSimilarFile=()=>{const k=me.toLowerCase();Ie=N.get(k);if(Ie!==undefined){const{path:k,source:E}=Ie;if(Ye(E,P)){if(Ie.size!==undefined){updateWithReplacementSource(Ie.size)}else{if(!Ie.waiting)Ie.waiting=[];Ie.waiting.push({file:v,cacheEntry:_e})}alreadyWritten()}else{const E=new He(`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${me}\n${k}`);E.file=v;L(E)}return true}else{N.set(k,Ie={path:me,source:P,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof P.buffer==="function"){return P.buffer()}else{const k=P.source();if(Buffer.isBuffer(k)){return k}else{return Buffer.from(k,"utf8")}}};const alreadyWritten=()=>{if(ye===undefined){const k=1;this._assetEmittingWrittenFiles.set(me,k);_e.writtenTo.set(me,k)}else{_e.writtenTo.set(me,ye)}L()};const doWrite=R=>{this.outputFileSystem.writeFile(me,R,(N=>{if(N)return L(N);k.emittedAssets.add(v);const q=ye===undefined?1:ye+1;_e.writtenTo.set(me,q);this._assetEmittingWrittenFiles.set(me,q);this.hooks.assetEmitted.callAsync(v,{content:R,source:P,outputPath:E,compilation:k,targetPath:me},L)}))};const updateWithReplacementSource=k=>{updateFileWithReplacementSource(v,_e,k);Ie.size=k;if(Ie.waiting!==undefined){for(const{file:v,cacheEntry:E}of Ie.waiting){updateFileWithReplacementSource(v,E,k)}}};const updateFileWithReplacementSource=(v,E,P)=>{if(!E.sizeOnlySource){E.sizeOnlySource=new le(P)}k.updateAsset(v,E.sizeOnlySource,{size:P})};const processExistingFile=E=>{if(pe){updateWithReplacementSource(E.size);return alreadyWritten()}const P=getContent();updateWithReplacementSource(P.length);if(P.length===E.size){k.comparedForEmitAssets.add(v);return this.outputFileSystem.readFile(me,((k,v)=>{if(k||!P.equals(v)){return doWrite(P)}else{return alreadyWritten()}}))}return doWrite(P)};const processMissingFile=()=>{const k=getContent();updateWithReplacementSource(k.length);return doWrite(k)};if(ye!==undefined){const E=_e.writtenTo.get(me);if(E===ye){if(this._assetEmittingPreviousFiles.has(me)){k.updateAsset(v,_e.sizeOnlySource,{size:_e.sizeOnlySource.size()});return L()}else{pe=true}}else if(!pe){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(me,((k,v)=>{const E=!k&&v.isFile();if(E){processExistingFile(v)}else{processMissingFile()}}))}else{processMissingFile()}};if(ae.match(/\/|\\/)){const k=this.outputFileSystem;const v=Je(k,Qe(k,E,ae));Ve(k,v,writeOut)}else{writeOut()}}),(E=>{N.clear();if(E){this._assetEmittingPreviousFiles.clear();return v(E)}this._assetEmittingPreviousFiles=q;this.hooks.afterEmit.callAsync(k,(k=>{if(k)return v(k);return v()}))}))};this.hooks.emit.callAsync(k,(P=>{if(P)return v(P);E=k.getPath(this.outputPath,{});Ve(this.outputFileSystem,E,emitFiles)}))}emitRecords(k){if(this.hooks.emitRecords.isUsed()){if(this.recordsOutputPath){R.parallel([k=>this.hooks.emitRecords.callAsync(k),this._emitRecords.bind(this)],(v=>k(v)))}else{this.hooks.emitRecords.callAsync(k)}}else{if(this.recordsOutputPath){this._emitRecords(k)}else{k()}}}_emitRecords(k){const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((k,v)=>{if(typeof v==="object"&&v!==null&&!Array.isArray(v)){const k=Object.keys(v);if(!isSorted(k)){return sortObject(v,k)}}return v}),2),k)};const v=Je(this.outputFileSystem,this.recordsOutputPath);if(!v){return writeFile()}Ve(this.outputFileSystem,v,(v=>{if(v)return k(v);writeFile()}))}readRecords(k){if(this.hooks.readRecords.isUsed()){if(this.recordsInputPath){R.parallel([k=>this.hooks.readRecords.callAsync(k),this._readRecords.bind(this)],(v=>k(v)))}else{this.records={};this.hooks.readRecords.callAsync(k)}}else{if(this.recordsInputPath){this._readRecords(k)}else{this.records={};k()}}}_readRecords(k){if(!this.recordsInputPath){this.records={};return k()}this.inputFileSystem.stat(this.recordsInputPath,(v=>{if(v)return k();this.inputFileSystem.readFile(this.recordsInputPath,((v,E)=>{if(v)return k(v);try{this.records=P(E.toString("utf-8"))}catch(v){return k(new Error(`Cannot parse records: ${v.message}`))}return k()}))}))}createChildCompiler(k,v,E,P,R){const L=new Compiler(this.context,{...this.options,output:{...this.options.output,...P}});L.name=v;L.outputPath=this.outputPath;L.inputFileSystem=this.inputFileSystem;L.outputFileSystem=null;L.resolverFactory=this.resolverFactory;L.modifiedFiles=this.modifiedFiles;L.removedFiles=this.removedFiles;L.fileTimestamps=this.fileTimestamps;L.contextTimestamps=this.contextTimestamps;L.fsStartTime=this.fsStartTime;L.cache=this.cache;L.compilerPath=`${this.compilerPath}${v}|${E}|`;L._backCompat=this._backCompat;const N=Ke(this.context,v,this.root);if(!this.records[N]){this.records[N]=[]}if(this.records[N][E]){L.records=this.records[N][E]}else{this.records[N].push(L.records={})}L.parentCompilation=k;L.root=this.root;if(Array.isArray(R)){for(const k of R){k.apply(L)}}for(const k in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(k)){if(L.hooks[k]){L.hooks[k].taps=this.hooks[k].taps.slice()}}}k.hooks.childCompiler.call(L,v,E);return L}isChild(){return!!this.parentCompilation}createCompilation(k){this._cleanupLastCompilation();return this._lastCompilation=new Ie(this,k)}newCompilation(k){const v=this.createCompilation(k);v.name=this.name;v.records=this.records;this.hooks.thisCompilation.call(v,k);this.hooks.compilation.call(v,k);return v}createNormalModuleFactory(){this._cleanupLastNormalModuleFactory();const k=new Ne({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this._lastNormalModuleFactory=k;this.hooks.normalModuleFactory.call(k);return k}createContextModuleFactory(){const k=new Te(this.resolverFactory);this.hooks.contextModuleFactory.call(k);return k}newCompilationParams(){const k={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return k}compile(k){const v=this.newCompilationParams();this.hooks.beforeCompile.callAsync(v,(E=>{if(E)return k(E);this.hooks.compile.call(v);const P=this.newCompilation(v);const R=P.getLogger("webpack.Compiler");R.time("make hook");this.hooks.make.callAsync(P,(v=>{R.timeEnd("make hook");if(v)return k(v);R.time("finish make hook");this.hooks.finishMake.callAsync(P,(v=>{R.timeEnd("finish make hook");if(v)return k(v);process.nextTick((()=>{R.time("finish compilation");P.finish((v=>{R.timeEnd("finish compilation");if(v)return k(v);R.time("seal compilation");P.seal((v=>{R.timeEnd("seal compilation");if(v)return k(v);R.time("afterCompile hook");this.hooks.afterCompile.callAsync(P,(v=>{R.timeEnd("afterCompile hook");if(v)return k(v);return k(null,P)}))}))}))}))}))}))}))}close(k){if(this.watching){this.watching.close((v=>{this.close(k)}));return}this.hooks.shutdown.callAsync((v=>{if(v)return k(v);this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this.cache.shutdown(k)}))}}k.exports=Compiler},91213:function(k){"use strict";const v=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const E="__WEBPACK_DEFAULT_EXPORT__";const P="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(k,v){this._currentModule=v;if(Array.isArray(k)){const v=new Map;for(const E of k){v.set(E.module,E)}k=v}this._modulesMap=k}isModuleInScope(k){return this._modulesMap.has(k)}registerExport(k,v){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(k)){this._currentModule.exportMap.set(k,v)}}registerRawExport(k,v){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(k)){this._currentModule.rawExportMap.set(k,v)}}registerNamespaceExport(k){this._currentModule.namespaceExportSymbol=k}createModuleReference(k,{ids:v=undefined,call:E=false,directImport:P=false,asiSafe:R=false}){const L=this._modulesMap.get(k);const N=E?"_call":"";const q=P?"_directImport":"";const ae=R?"_asiSafe1":R===false?"_asiSafe0":"";const le=v?Buffer.from(JSON.stringify(v),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${L.index}_${le}${N}${q}${ae}__._`}static isModuleReference(k){return v.test(k)}static matchModuleReference(k){const E=v.exec(k);if(!E)return null;const P=+E[1];const R=E[5];return{index:P,ids:E[2]==="ns"?[]:JSON.parse(Buffer.from(E[2],"hex").toString("utf-8")),call:!!E[3],directImport:!!E[4],asiSafe:R?R==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=E;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=P;k.exports=ConcatenationScope},4539:function(k,v,E){"use strict";const P=E(71572);k.exports=class ConcurrentCompilationError extends P{constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."}}},33769:function(k,v,E){"use strict";const{ConcatSource:P,PrefixSource:R}=E(51255);const L=E(88113);const N=E(95041);const{mergeRuntime:q}=E(1540);const wrapInCondition=(k,v)=>{if(typeof v==="string"){return N.asString([`if (${k}) {`,N.indent(v),"}",""])}else{return new P(`if (${k}) {\n`,new R("\t",v),"}\n")}};class ConditionalInitFragment extends L{constructor(k,v,E,P,R=true,L){super(k,v,E,P,L);this.runtimeCondition=R}getContent(k){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const v=k.runtimeTemplate.runtimeConditionExpression({chunkGraph:k.chunkGraph,runtimeRequirements:k.runtimeRequirements,runtime:k.runtime,runtimeCondition:this.runtimeCondition});if(v==="true")return this.content;return wrapInCondition(v,this.content)}getEndContent(k){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const v=k.runtimeTemplate.runtimeConditionExpression({chunkGraph:k.chunkGraph,runtimeRequirements:k.runtimeRequirements,runtime:k.runtime,runtimeCondition:this.runtimeCondition});if(v==="true")return this.endContent;return wrapInCondition(v,this.endContent)}merge(k){if(this.runtimeCondition===true)return this;if(k.runtimeCondition===true)return k;if(this.runtimeCondition===false)return k;if(k.runtimeCondition===false)return this;const v=q(this.runtimeCondition,k.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,v,this.endContent)}}k.exports=ConditionalInitFragment},11512:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(11602);const q=E(60381);const{evaluateToString:ae}=E(80784);const{parseResource:le}=E(65315);const collectDeclaration=(k,v)=>{const E=[v];while(E.length>0){const v=E.pop();switch(v.type){case"Identifier":k.add(v.name);break;case"ArrayPattern":for(const k of v.elements){if(k){E.push(k)}}break;case"AssignmentPattern":E.push(v.left);break;case"ObjectPattern":for(const k of v.properties){E.push(k.value)}break;case"RestElement":E.push(v.argument);break}}};const getHoistedDeclarations=(k,v)=>{const E=new Set;const P=[k];while(P.length>0){const k=P.pop();if(!k)continue;switch(k.type){case"BlockStatement":for(const v of k.body){P.push(v)}break;case"IfStatement":P.push(k.consequent);P.push(k.alternate);break;case"ForStatement":P.push(k.init);P.push(k.body);break;case"ForInStatement":case"ForOfStatement":P.push(k.left);P.push(k.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":P.push(k.body);break;case"SwitchStatement":for(const v of k.cases){for(const k of v.consequent){P.push(k)}}break;case"TryStatement":P.push(k.block);if(k.handler){P.push(k.handler.body)}P.push(k.finalizer);break;case"FunctionDeclaration":if(v){collectDeclaration(E,k.id)}break;case"VariableDeclaration":if(k.kind==="var"){for(const v of k.declarations){collectDeclaration(E,v.id)}}break}}return Array.from(E)};const pe="ConstPlugin";class ConstPlugin{apply(k){const v=le.bindCache(k.root);k.hooks.compilation.tap(pe,((k,{normalModuleFactory:E})=>{k.dependencyTemplates.set(q,new q.Template);k.dependencyTemplates.set(N,new N.Template);const handler=k=>{k.hooks.statementIf.tap(pe,(v=>{if(k.scope.isAsmJs)return;const E=k.evaluateExpression(v.test);const P=E.asBool();if(typeof P==="boolean"){if(!E.couldHaveSideEffects()){const R=new q(`${P}`,E.range);R.loc=v.loc;k.state.module.addPresentationalDependency(R)}else{k.walkExpression(v.test)}const R=P?v.alternate:v.consequent;if(R){let v;if(k.scope.isStrict){v=getHoistedDeclarations(R,false)}else{v=getHoistedDeclarations(R,true)}let E;if(v.length>0){E=`{ var ${v.join(", ")}; }`}else{E="{}"}const P=new q(E,R.range);P.loc=R.loc;k.state.module.addPresentationalDependency(P)}return P}}));k.hooks.expressionConditionalOperator.tap(pe,(v=>{if(k.scope.isAsmJs)return;const E=k.evaluateExpression(v.test);const P=E.asBool();if(typeof P==="boolean"){if(!E.couldHaveSideEffects()){const R=new q(` ${P}`,E.range);R.loc=v.loc;k.state.module.addPresentationalDependency(R)}else{k.walkExpression(v.test)}const R=P?v.alternate:v.consequent;const L=new q("0",R.range);L.loc=R.loc;k.state.module.addPresentationalDependency(L);return P}}));k.hooks.expressionLogicalOperator.tap(pe,(v=>{if(k.scope.isAsmJs)return;if(v.operator==="&&"||v.operator==="||"){const E=k.evaluateExpression(v.left);const P=E.asBool();if(typeof P==="boolean"){const R=v.operator==="&&"&&P||v.operator==="||"&&!P;if(!E.couldHaveSideEffects()&&(E.isBoolean()||R)){const R=new q(` ${P}`,E.range);R.loc=v.loc;k.state.module.addPresentationalDependency(R)}else{k.walkExpression(v.left)}if(!R){const E=new q("0",v.right.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E)}return R}}else if(v.operator==="??"){const E=k.evaluateExpression(v.left);const P=E.asNullish();if(typeof P==="boolean"){if(!E.couldHaveSideEffects()&&P){const P=new q(" null",E.range);P.loc=v.loc;k.state.module.addPresentationalDependency(P)}else{const E=new q("0",v.right.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E);k.walkExpression(v.left)}return P}}}));k.hooks.optionalChaining.tap(pe,(v=>{const E=[];let P=v.expression;while(P.type==="MemberExpression"||P.type==="CallExpression"){if(P.type==="MemberExpression"){if(P.optional){E.push(P.object)}P=P.object}else{if(P.optional){E.push(P.callee)}P=P.callee}}while(E.length){const P=E.pop();const R=k.evaluateExpression(P);if(R.asNullish()){const E=new q(" undefined",v.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}}}));k.hooks.evaluateIdentifier.for("__resourceQuery").tap(pe,(E=>{if(k.scope.isAsmJs)return;if(!k.state.module)return;return ae(v(k.state.module.resource).query)(E)}));k.hooks.expression.for("__resourceQuery").tap(pe,(E=>{if(k.scope.isAsmJs)return;if(!k.state.module)return;const P=new N(JSON.stringify(v(k.state.module.resource).query),E.range,"__resourceQuery");P.loc=E.loc;k.state.module.addPresentationalDependency(P);return true}));k.hooks.evaluateIdentifier.for("__resourceFragment").tap(pe,(E=>{if(k.scope.isAsmJs)return;if(!k.state.module)return;return ae(v(k.state.module.resource).fragment)(E)}));k.hooks.expression.for("__resourceFragment").tap(pe,(E=>{if(k.scope.isAsmJs)return;if(!k.state.module)return;const P=new N(JSON.stringify(v(k.state.module.resource).fragment),E.range,"__resourceFragment");P.loc=E.loc;k.state.module.addPresentationalDependency(P);return true}))};E.hooks.parser.for(P).tap(pe,handler);E.hooks.parser.for(R).tap(pe,handler);E.hooks.parser.for(L).tap(pe,handler)}))}}k.exports=ConstPlugin},41454:function(k){"use strict";class ContextExclusionPlugin{constructor(k){this.negativeMatcher=k}apply(k){k.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(k=>{k.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(k=>k.filter((k=>!this.negativeMatcher.test(k)))))}))}}k.exports=ContextExclusionPlugin},48630:function(k,v,E){"use strict";const{OriginalSource:P,RawSource:R}=E(51255);const L=E(75081);const{makeWebpackError:N}=E(82104);const q=E(88396);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:ae}=E(93622);const le=E(56727);const pe=E(95041);const me=E(71572);const{compareLocations:ye,concatComparators:_e,compareSelect:Ie,keepOriginalOrder:Me,compareModulesById:Te}=E(95648);const{contextify:je,parseResource:Ne,makePathsRelative:Be}=E(65315);const qe=E(58528);const Ue={timestamp:true};const Ge=new Set(["javascript"]);class ContextModule extends q{constructor(k,v){if(!v||typeof v.resource==="string"){const k=Ne(v?v.resource:"");const E=k.path;const P=v&&v.resourceQuery||k.query;const R=v&&v.resourceFragment||k.fragment;const L=v&&v.layer;super(ae,E,L);this.options={...v,resource:E,resourceQuery:P,resourceFragment:R}}else{super(ae,undefined,v.layer);this.options={...v,resource:v.resource,resourceQuery:v.resourceQuery||"",resourceFragment:v.resourceFragment||""}}this.resolveDependencies=k;if(v&&v.resolveOptions!==undefined){this.resolveOptions=v.resolveOptions}if(v&&typeof v.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return Ge}updateCacheModule(k){const v=k;this.resolveDependencies=v.resolveDependencies;this.options=v.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}_prettyRegExp(k,v=true){const E=(k+"").replace(/!/g,"%21").replace(/\|/g,"%7C");return v?E.substring(1,E.length-1):E}_createIdentifier(){let k=this.context||(typeof this.options.resource==="string"||this.options.resource===false?`${this.options.resource}`:this.options.resource.join("|"));if(this.options.resourceQuery){k+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){k+=`|${this.options.resourceFragment}`}if(this.options.mode){k+=`|${this.options.mode}`}if(!this.options.recursive){k+="|nonrecursive"}if(this.options.addon){k+=`|${this.options.addon}`}if(this.options.regExp){k+=`|${this._prettyRegExp(this.options.regExp,false)}`}if(this.options.include){k+=`|include: ${this._prettyRegExp(this.options.include,false)}`}if(this.options.exclude){k+=`|exclude: ${this._prettyRegExp(this.options.exclude,false)}`}if(this.options.referencedExports){k+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){k+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){k+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){k+="|strict namespace object"}else if(this.options.namespaceObject){k+="|namespace object"}return k}identifier(){return this._identifier}readableIdentifier(k){let v;if(this.context){v=k.shorten(this.context)+"/"}else if(typeof this.options.resource==="string"||this.options.resource===false){v=k.shorten(`${this.options.resource}`)+"/"}else{v=this.options.resource.map((v=>k.shorten(v)+"/")).join(" ")}if(this.options.resourceQuery){v+=` ${this.options.resourceQuery}`}if(this.options.mode){v+=` ${this.options.mode}`}if(!this.options.recursive){v+=" nonrecursive"}if(this.options.addon){v+=` ${k.shorten(this.options.addon)}`}if(this.options.regExp){v+=` ${this._prettyRegExp(this.options.regExp)}`}if(this.options.include){v+=` include: ${this._prettyRegExp(this.options.include)}`}if(this.options.exclude){v+=` exclude: ${this._prettyRegExp(this.options.exclude)}`}if(this.options.referencedExports){v+=` referencedExports: ${this.options.referencedExports.map((k=>k.join("."))).join(", ")}`}if(this.options.chunkName){v+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const k=this.options.groupOptions;for(const E of Object.keys(k)){v+=` ${E}: ${k[E]}`}}if(this.options.namespaceObject==="strict"){v+=" strict namespace object"}else if(this.options.namespaceObject){v+=" namespace object"}return v}libIdent(k){let v;if(this.context){v=je(k.context,this.context,k.associatedObjectForCache)}else if(typeof this.options.resource==="string"){v=je(k.context,this.options.resource,k.associatedObjectForCache)}else if(this.options.resource===false){v="false"}else{v=this.options.resource.map((v=>je(k.context,v,k.associatedObjectForCache))).join(" ")}if(this.layer)v=`(${this.layer})/${v}`;if(this.options.mode){v+=` ${this.options.mode}`}if(this.options.recursive){v+=" recursive"}if(this.options.addon){v+=` ${je(k.context,this.options.addon,k.associatedObjectForCache)}`}if(this.options.regExp){v+=` ${this._prettyRegExp(this.options.regExp)}`}if(this.options.include){v+=` include: ${this._prettyRegExp(this.options.include)}`}if(this.options.exclude){v+=` exclude: ${this._prettyRegExp(this.options.exclude)}`}if(this.options.referencedExports){v+=` referencedExports: ${this.options.referencedExports.map((k=>k.join("."))).join(", ")}`}return v}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:k},v){if(this._forceBuild)return v(null,true);if(!this.buildInfo.snapshot)return v(null,Boolean(this.context||this.options.resource));k.checkSnapshotValid(this.buildInfo.snapshot,((k,E)=>{v(k,!E)}))}build(k,v,E,P,R){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const q=Date.now();this.resolveDependencies(P,this.options,((k,E)=>{if(k){return R(N(k,"ContextModule.resolveDependencies"))}if(!E){R();return}for(const k of E){k.loc={name:k.userRequest};k.request=this.options.addon+k.request}E.sort(_e(Ie((k=>k.loc),ye),Me(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=E}else if(this.options.mode==="lazy-once"){if(E.length>0){const k=new L({...this.options.groupOptions,name:this.options.chunkName});for(const v of E){k.addDependency(v)}this.addBlock(k)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const k of E){k.weak=true}this.dependencies=E}else if(this.options.mode==="lazy"){let k=0;for(const v of E){let E=this.options.chunkName;if(E){if(!/\[(index|request)\]/.test(E)){E+="[index]"}E=E.replace(/\[index\]/g,`${k++}`);E=E.replace(/\[request\]/g,pe.toPath(v.userRequest))}const P=new L({...this.options.groupOptions,name:E},v.loc,v.userRequest);P.addDependency(v);this.addBlock(P)}}else{R(new me(`Unsupported mode "${this.options.mode}" in context`));return}if(!this.context&&!this.options.resource)return R();v.fileSystemInfo.createSnapshot(q,null,this.context?[this.context]:typeof this.options.resource==="string"?[this.options.resource]:this.options.resource,null,Ue,((k,v)=>{if(k)return R(k);this.buildInfo.snapshot=v;R()}))}))}addCacheDependencies(k,v,E,P){if(this.context){v.add(this.context)}else if(typeof this.options.resource==="string"){v.add(this.options.resource)}else if(this.options.resource===false){return}else{for(const k of this.options.resource)v.add(k)}}getUserRequestMap(k,v){const E=v.moduleGraph;const P=k.filter((k=>E.getModule(k))).sort(((k,v)=>{if(k.userRequest===v.userRequest){return 0}return k.userRequestE.getModule(k))).filter(Boolean).sort(R);const N=Object.create(null);for(const k of L){const R=k.getExportsType(E,this.options.namespaceObject==="strict");const L=v.getModuleId(k);switch(R){case"namespace":N[L]=9;P|=1;break;case"dynamic":N[L]=7;P|=2;break;case"default-only":N[L]=1;P|=4;break;case"default-with-named":N[L]=3;P|=8;break;default:throw new Error(`Unexpected exports type ${R}`)}}if(P===1){return 9}if(P===2){return 7}if(P===4){return 1}if(P===8){return 3}if(P===0){return 9}return N}getFakeMapInitStatement(k){return typeof k==="object"?`var fakeMap = ${JSON.stringify(k,null,"\t")};`:""}getReturn(k,v){if(k===9){return`${le.require}(id)`}return`${le.createFakeNamespaceObject}(id, ${k}${v?" | 16":""})`}getReturnModuleObjectSource(k,v,E="fakeMap[id]"){if(typeof k==="number"){return`return ${this.getReturn(k,v)};`}return`return ${le.createFakeNamespaceObject}(id, ${E}${v?" | 16":""})`}getSyncSource(k,v,E){const P=this.getUserRequestMap(k,E);const R=this.getFakeMap(k,E);const L=this.getReturnModuleObjectSource(R);return`var map = ${JSON.stringify(P,null,"\t")};\n${this.getFakeMapInitStatement(R)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${L}\n}\nfunction webpackContextResolve(req) {\n\tif(!${le.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(v)};`}getWeakSyncSource(k,v,E){const P=this.getUserRequestMap(k,E);const R=this.getFakeMap(k,E);const L=this.getReturnModuleObjectSource(R);return`var map = ${JSON.stringify(P,null,"\t")};\n${this.getFakeMapInitStatement(R)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${le.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${L}\n}\nfunction webpackContextResolve(req) {\n\tif(!${le.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(v)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(k,v,{chunkGraph:E,runtimeTemplate:P}){const R=P.supportsArrowFunction();const L=this.getUserRequestMap(k,E);const N=this.getFakeMap(k,E);const q=this.getReturnModuleObjectSource(N,true);return`var map = ${JSON.stringify(L,null,"\t")};\n${this.getFakeMapInitStatement(N)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${R?"id =>":"function(id)"} {\n\t\tif(!${le.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${q}\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(${R?"() =>":"function()"} {\n\t\tif(!${le.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 = ${P.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(v)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(k,v,{chunkGraph:E,runtimeTemplate:P}){const R=P.supportsArrowFunction();const L=this.getUserRequestMap(k,E);const N=this.getFakeMap(k,E);const q=N!==9?`${R?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(N)}\n\t}`:le.require;return`var map = ${JSON.stringify(L,null,"\t")};\n${this.getFakeMapInitStatement(N)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${q});\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(${R?"() =>":"function()"} {\n\t\tif(!${le.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 = ${P.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(v)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(k,v,E,{runtimeTemplate:P,chunkGraph:R}){const L=P.blockPromise({chunkGraph:R,block:k,message:"lazy-once context",runtimeRequirements:new Set});const N=P.supportsArrowFunction();const q=this.getUserRequestMap(v,R);const ae=this.getFakeMap(v,R);const pe=ae!==9?`${N?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(ae,true)};\n\t}`:le.require;return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(ae)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${pe});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${L}.then(${N?"() =>":"function()"} {\n\t\tif(!${le.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 = ${P.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackAsyncContext;`}getLazySource(k,v,{chunkGraph:E,runtimeTemplate:P}){const R=E.moduleGraph;const L=P.supportsArrowFunction();let N=false;let q=true;const ae=this.getFakeMap(k.map((k=>k.dependencies[0])),E);const pe=typeof ae==="object";const me=k.map((k=>{const v=k.dependencies[0];return{dependency:v,module:R.getModule(v),block:k,userRequest:v.userRequest,chunks:undefined}})).filter((k=>k.module));for(const k of me){const v=E.getBlockChunkGroup(k.block);const P=v&&v.chunks||[];k.chunks=P;if(P.length>0){q=false}if(P.length!==1){N=true}}const ye=q&&!pe;const _e=me.sort(((k,v)=>{if(k.userRequest===v.userRequest)return 0;return k.userRequestk.id)))}}const Me=pe?2:1;const Te=q?"Promise.resolve()":N?`Promise.all(ids.slice(${Me}).map(${le.ensureChunk}))`:`${le.ensureChunk}(ids[${Me}])`;const je=this.getReturnModuleObjectSource(ae,true,ye?"invalid":"ids[1]");const Ne=Te==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${L?"() =>":"function()"} {\n\t\tif(!${le.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${ye?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${je}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${le.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${L?"() =>":"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 ${Te}.then(${L?"() =>":"function()"} {\n\t\t${je}\n\t});\n}`;return`var map = ${JSON.stringify(Ie,null,"\t")};\n${Ne}\nwebpackAsyncContext.keys = ${P.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(v)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(k,v){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 = ${v.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(k)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(k,v){const E=v.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(${E?"() =>":"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 = ${v.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(k)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(k,{runtimeTemplate:v,chunkGraph:E}){const P=E.getModuleId(this);if(k==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,P,{runtimeTemplate:v,chunkGraph:E})}return this.getSourceForEmptyAsyncContext(P,v)}if(k==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,P,{chunkGraph:E,runtimeTemplate:v})}return this.getSourceForEmptyAsyncContext(P,v)}if(k==="lazy-once"){const k=this.blocks[0];if(k){return this.getLazyOnceSource(k,k.dependencies,P,{runtimeTemplate:v,chunkGraph:E})}return this.getSourceForEmptyAsyncContext(P,v)}if(k==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,P,{chunkGraph:E,runtimeTemplate:v})}return this.getSourceForEmptyAsyncContext(P,v)}if(k==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,P,E)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,P,E)}return this.getSourceForEmptyContext(P,v)}getSource(k,v){if(this.useSourceMap||this.useSimpleSourceMap){return new P(k,`webpack://${Be(v&&v.compiler.context||"",this.identifier(),v&&v.compiler.root)}`)}return new R(k)}codeGeneration(k){const{chunkGraph:v,compilation:E}=k;const P=new Map;P.set("javascript",this.getSource(this.getSourceString(this.options.mode,k),E));const R=new Set;const L=this.dependencies.length>0?this.dependencies.slice():[];for(const k of this.blocks)for(const v of k.dependencies)L.push(v);R.add(le.module);R.add(le.hasOwnProperty);if(L.length>0){const k=this.options.mode;R.add(le.require);if(k==="weak"){R.add(le.moduleFactories)}else if(k==="async-weak"){R.add(le.moduleFactories);R.add(le.ensureChunk)}else if(k==="lazy"||k==="lazy-once"){R.add(le.ensureChunk)}if(this.getFakeMap(L,v)!==9){R.add(le.createFakeNamespaceObject)}}return{sources:P,runtimeRequirements:R}}size(k){let v=160;for(const k of this.dependencies){const E=k;v+=5+E.userRequest.length}return v}serialize(k){const{write:v}=k;v(this._identifier);v(this._forceBuild);super.serialize(k)}deserialize(k){const{read:v}=k;this._identifier=v();this._forceBuild=v();super.deserialize(k)}}qe(ContextModule,"webpack/lib/ContextModule");k.exports=ContextModule},20467:function(k,v,E){"use strict";const P=E(78175);const{AsyncSeriesWaterfallHook:R,SyncWaterfallHook:L}=E(79846);const N=E(48630);const q=E(66043);const ae=E(16624);const le=E(12359);const{cachedSetProperty:pe}=E(99454);const{createFakeHook:me}=E(61883);const{join:ye}=E(57825);const _e={};k.exports=class ContextModuleFactory extends q{constructor(k){super();const v=new R(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new R(["data"]),afterResolve:new R(["data"]),contextModuleFiles:new L(["files"]),alternatives:me({name:"alternatives",intercept:k=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(k,E)=>{v.tap(k,E)},tapAsync:(k,E)=>{v.tapAsync(k,((k,v,P)=>E(k,P)))},tapPromise:(k,E)=>{v.tapPromise(k,E)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:v});this.resolverFactory=k}create(k,v){const E=k.context;const R=k.dependencies;const L=k.resolveOptions;const q=R[0];const ae=new le;const me=new le;const ye=new le;this.hooks.beforeResolve.callAsync({context:E,dependencies:R,layer:k.contextInfo.issuerLayer,resolveOptions:L,fileDependencies:ae,missingDependencies:me,contextDependencies:ye,...q.options},((k,E)=>{if(k){return v(k,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye})}if(!E){return v(null,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye})}const L=E.context;const q=E.request;const le=E.resolveOptions;let Ie,Me,Te="";const je=q.lastIndexOf("!");if(je>=0){let k=q.slice(0,je+1);let v;for(v=0;v0?pe(le||_e,"dependencyType",R[0].category):le);const Be=this.resolverFactory.get("loader");P.parallel([k=>{const v=[];const yield_=k=>v.push(k);Ne.resolve({},L,Me,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye,yield:yield_},(E=>{if(E)return k(E);k(null,v)}))},k=>{P.map(Ie,((k,v)=>{Be.resolve({},L,k,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye},((k,E)=>{if(k)return v(k);v(null,E)}))}),k)}],((k,P)=>{if(k){return v(k,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye})}let[R,L]=P;if(R.length>1){const k=R[0];R=R.filter((k=>k.path));if(R.length===0)R.push(k)}this.hooks.afterResolve.callAsync({addon:Te+L.join("!")+(L.length>0?"!":""),resource:R.length>1?R.map((k=>k.path)):R[0].path,resolveDependencies:this.resolveDependencies.bind(this),resourceQuery:R[0].query,resourceFragment:R[0].fragment,...E},((k,E)=>{if(k){return v(k,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye})}if(!E){return v(null,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye})}return v(null,{module:new N(E.resolveDependencies,E),fileDependencies:ae,missingDependencies:me,contextDependencies:ye})}))}))}))}resolveDependencies(k,v,E){const R=this;const{resource:L,resourceQuery:N,resourceFragment:q,recursive:le,regExp:pe,include:me,exclude:_e,referencedExports:Ie,category:Me,typePrefix:Te}=v;if(!pe||!L)return E(null,[]);const addDirectoryChecked=(v,E,P,R)=>{k.realpath(E,((k,L)=>{if(k)return R(k);if(P.has(L))return R(null,[]);let N;addDirectory(v,E,((k,E,R)=>{if(N===undefined){N=new Set(P);N.add(L)}addDirectoryChecked(v,E,N,R)}),R)}))};const addDirectory=(E,L,je,Ne)=>{k.readdir(L,((Be,qe)=>{if(Be)return Ne(Be);const Ue=R.hooks.contextModuleFiles.call(qe.map((k=>k.normalize("NFC"))));if(!Ue||Ue.length===0)return Ne(null,[]);P.map(Ue.filter((k=>k.indexOf(".")!==0)),((P,R)=>{const Ne=ye(k,L,P);if(!_e||!Ne.match(_e)){k.stat(Ne,((k,P)=>{if(k){if(k.code==="ENOENT"){return R()}else{return R(k)}}if(P.isDirectory()){if(!le)return R();je(E,Ne,R)}else if(P.isFile()&&(!me||Ne.match(me))){const k={context:E,request:"."+Ne.slice(E.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([k],v,((k,v)=>{if(k)return R(k);v=v.filter((k=>pe.test(k.request))).map((k=>{const v=new ae(`${k.request}${N}${q}`,k.request,Te,Me,Ie,k.context);v.optional=true;return v}));R(null,v)}))}else{R()}}))}else{R()}}),((k,v)=>{if(k)return Ne(k);if(!v)return Ne(null,[]);const E=[];for(const k of v){if(k)E.push(...k)}Ne(null,E)}))}))};const addSubDirectory=(k,v,E)=>addDirectory(k,v,addSubDirectory,E);const visitResource=(v,E)=>{if(typeof k.realpath==="function"){addDirectoryChecked(v,v,new Set,E)}else{addDirectory(v,v,addSubDirectory,E)}};if(typeof L==="string"){visitResource(L,E)}else{P.map(L,visitResource,((k,v)=>{if(k)return E(k);const P=new Set;const R=[];for(let k=0;k{v(null,E)}}else if(typeof v==="string"&&typeof E==="function"){this.newContentResource=v;this.newContentCreateContextMap=E}else{if(typeof v!=="string"){P=E;E=v;v=undefined}if(typeof E!=="boolean"){P=E;E=undefined}this.newContentResource=v;this.newContentRecursive=E;this.newContentRegExp=P}}apply(k){const v=this.resourceRegExp;const E=this.newContentCallback;const P=this.newContentResource;const L=this.newContentRecursive;const N=this.newContentRegExp;const q=this.newContentCreateContextMap;k.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(ae=>{ae.hooks.beforeResolve.tap("ContextReplacementPlugin",(k=>{if(!k)return;if(v.test(k.request)){if(P!==undefined){k.request=P}if(L!==undefined){k.recursive=L}if(N!==undefined){k.regExp=N}if(typeof E==="function"){E(k)}else{for(const v of k.dependencies){if(v.critical)v.critical=false}}}return k}));ae.hooks.afterResolve.tap("ContextReplacementPlugin",(ae=>{if(!ae)return;if(v.test(ae.resource)){if(P!==undefined){if(P.startsWith("/")||P.length>1&&P[1]===":"){ae.resource=P}else{ae.resource=R(k.inputFileSystem,ae.resource,P)}}if(L!==undefined){ae.recursive=L}if(N!==undefined){ae.regExp=N}if(typeof q==="function"){ae.resolveDependencies=createResolveDependenciesFromContextMap(q)}if(typeof E==="function"){const v=ae.resource;E(ae);if(ae.resource!==v&&!ae.resource.startsWith("/")&&(ae.resource.length<=1||ae.resource[1]!==":")){ae.resource=R(k.inputFileSystem,v,ae.resource)}}else{for(const k of ae.dependencies){if(k.critical)k.critical=false}}}return ae}))}))}}const createResolveDependenciesFromContextMap=k=>{const resolveDependenciesFromContextMap=(v,E,R)=>{k(v,((k,v)=>{if(k)return R(k);const L=Object.keys(v).map((k=>new P(v[k]+E.resourceQuery+E.resourceFragment,k,E.category,E.referencedExports)));R(null,L)}))};return resolveDependenciesFromContextMap};k.exports=ContextReplacementPlugin},51585:function(k,v,E){"use strict";const P=E(38224);const R=E(58528);class CssModule extends P{constructor(k){super(k);this.cssLayer=k.cssLayer;this.supports=k.supports;this.media=k.media;this.inheritance=k.inheritance}identifier(){let k=super.identifier();if(this.cssLayer){k+=`|${this.cssLayer}`}if(this.supports){k+=`|${this.supports}`}if(this.media){k+=`|${this.media}`}if(this.inheritance){const v=this.inheritance.map(((k,v)=>`inheritance_${v}|${k[0]||""}|${k[1]||""}|${k[2]||""}`));k+=`|${v.join("|")}`}return k}readableIdentifier(k){const v=super.readableIdentifier(k);let E=`css ${v}`;if(this.cssLayer){E+=` (layer: ${this.cssLayer})`}if(this.supports){E+=` (supports: ${this.supports})`}if(this.media){E+=` (media: ${this.media})`}return E}updateCacheModule(k){super.updateCacheModule(k);const v=k;this.cssLayer=v.cssLayer;this.supports=v.supports;this.media=v.media;this.inheritance=v.inheritance}serialize(k){const{write:v}=k;v(this.cssLayer);v(this.supports);v(this.media);v(this.inheritance);super.serialize(k)}static deserialize(k){const v=new CssModule({layer:null,type:"",resource:"",context:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null,cssLayer:null,supports:null,media:null,inheritance:null});v.deserialize(k);return v}deserialize(k){const{read:v}=k;this.cssLayer=v();this.supports=v();this.media=v();this.inheritance=v();super.deserialize(k)}}R(CssModule,"webpack/lib/CssModule");k.exports=CssModule},91602:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_ESM:R,JAVASCRIPT_MODULE_TYPE_DYNAMIC:L}=E(93622);const N=E(56727);const q=E(71572);const ae=E(60381);const le=E(70037);const{evaluateToString:pe,toConstantDependency:me}=E(80784);const ye=E(74012);class RuntimeValue{constructor(k,v){this.fn=k;if(Array.isArray(v)){v={fileDependencies:v}}this.options=v||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(k,v,E){const P=k.state.module.buildInfo;if(this.options===true){P.cacheable=false}else{if(this.options.fileDependencies){for(const k of this.options.fileDependencies){P.fileDependencies.add(k)}}if(this.options.contextDependencies){for(const k of this.options.contextDependencies){P.contextDependencies.add(k)}}if(this.options.missingDependencies){for(const k of this.options.missingDependencies){P.missingDependencies.add(k)}}if(this.options.buildDependencies){for(const k of this.options.buildDependencies){P.buildDependencies.add(k)}}}return this.fn({module:k.state.module,key:E,get version(){return v.get(Ie+E)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(k,v,E,P,R,L,N,q)=>{let ae;let le=Array.isArray(k);if(le){ae=`[${k.map((k=>toCode(k,v,E,P,R,L,null))).join(",")}]`}else{let P=Object.keys(k);if(q){if(q.size===0)P=[];else P=P.filter((k=>q.has(k)))}ae=`{${P.map((P=>{const N=k[P];return JSON.stringify(P)+":"+toCode(N,v,E,P,R,L,null)})).join(",")}}`}switch(N){case null:return ae;case true:return le?ae:`(${ae})`;case false:return le?`;${ae}`:`;(${ae})`;default:return`/*#__PURE__*/Object(${ae})`}};const toCode=(k,v,E,P,R,L,N,q)=>{const transformToCode=()=>{if(k===null){return"null"}if(k===undefined){return"undefined"}if(Object.is(k,-0)){return"-0"}if(k instanceof RuntimeValue){return toCode(k.exec(v,E,P),v,E,P,R,L,N)}if(k instanceof RegExp&&k.toString){return k.toString()}if(typeof k==="function"&&k.toString){return"("+k.toString()+")"}if(typeof k==="object"){return stringifyObj(k,v,E,P,R,L,N,q)}if(typeof k==="bigint"){return R.supportsBigIntLiteral()?`${k}n`:`BigInt("${k}")`}return k+""};const ae=transformToCode();L.log(`Replaced "${P}" with "${ae}"`);return ae};const toCacheVersion=k=>{if(k===null){return"null"}if(k===undefined){return"undefined"}if(Object.is(k,-0)){return"-0"}if(k instanceof RuntimeValue){return k.getCacheVersion()}if(k instanceof RegExp&&k.toString){return k.toString()}if(typeof k==="function"&&k.toString){return"("+k.toString()+")"}if(typeof k==="object"){const v=Object.keys(k).map((v=>({key:v,value:toCacheVersion(k[v])})));if(v.some((({value:k})=>k===undefined)))return undefined;return`{${v.map((({key:k,value:v})=>`${k}: ${v}`)).join(", ")}}`}if(typeof k==="bigint"){return`${k}n`}return k+""};const _e="DefinePlugin";const Ie=`webpack/${_e} `;const Me=`webpack/${_e}_hash`;const Te=/^typeof\s+/;const je=/__webpack_require__\s*(!?\.)/;const Ne=/__webpack_require__/;class DefinePlugin{constructor(k){this.definitions=k}static runtimeValue(k,v){return new RuntimeValue(k,v)}apply(k){const v=this.definitions;k.hooks.compilation.tap(_e,((k,{normalModuleFactory:E})=>{const Be=k.getLogger("webpack.DefinePlugin");k.dependencyTemplates.set(ae,new ae.Template);const{runtimeTemplate:qe}=k;const Ue=ye(k.outputOptions.hashFunction);Ue.update(k.valueCacheVersions.get(Me)||"");const handler=E=>{const P=k.valueCacheVersions.get(Me);E.hooks.program.tap(_e,(()=>{const{buildInfo:k}=E.state.module;if(!k.valueDependencies)k.valueDependencies=new Map;k.valueDependencies.set(Me,P)}));const addValueDependency=v=>{const{buildInfo:P}=E.state.module;P.valueDependencies.set(Ie+v,k.valueCacheVersions.get(Ie+v))};const withValueDependency=(k,v)=>(...E)=>{addValueDependency(k);return v(...E)};const walkDefinitions=(k,v)=>{Object.keys(k).forEach((E=>{const P=k[E];if(P&&typeof P==="object"&&!(P instanceof RuntimeValue)&&!(P instanceof RegExp)){walkDefinitions(P,v+E+".");applyObjectDefine(v+E,P);return}applyDefineKey(v,E);applyDefine(v+E,P)}))};const applyDefineKey=(k,v)=>{const P=v.split(".");P.slice(1).forEach(((R,L)=>{const N=k+P.slice(0,L+1).join(".");E.hooks.canRename.for(N).tap(_e,(()=>{addValueDependency(v);return true}))}))};const applyDefine=(v,P)=>{const R=v;const L=Te.test(v);if(L)v=v.replace(Te,"");let q=false;let ae=false;if(!L){E.hooks.canRename.for(v).tap(_e,(()=>{addValueDependency(R);return true}));E.hooks.evaluateIdentifier.for(v).tap(_e,(L=>{if(q)return;addValueDependency(R);q=true;const N=E.evaluate(toCode(P,E,k.valueCacheVersions,v,qe,Be,null));q=false;N.setRange(L.range);return N}));E.hooks.expression.for(v).tap(_e,(v=>{addValueDependency(R);let L=toCode(P,E,k.valueCacheVersions,R,qe,Be,!E.isAsiPosition(v.range[0]),E.destructuringAssignmentPropertiesFor(v));if(E.scope.inShorthand){L=E.scope.inShorthand+":"+L}if(je.test(L)){return me(E,L,[N.require])(v)}else if(Ne.test(L)){return me(E,L,[N.requireScope])(v)}else{return me(E,L)(v)}}))}E.hooks.evaluateTypeof.for(v).tap(_e,(v=>{if(ae)return;ae=true;addValueDependency(R);const N=toCode(P,E,k.valueCacheVersions,R,qe,Be,null);const q=L?N:"typeof ("+N+")";const le=E.evaluate(q);ae=false;le.setRange(v.range);return le}));E.hooks.typeof.for(v).tap(_e,(v=>{addValueDependency(R);const N=toCode(P,E,k.valueCacheVersions,R,qe,Be,null);const q=L?N:"typeof ("+N+")";const ae=E.evaluate(q);if(!ae.isString())return;return me(E,JSON.stringify(ae.string)).bind(E)(v)}))};const applyObjectDefine=(v,P)=>{E.hooks.canRename.for(v).tap(_e,(()=>{addValueDependency(v);return true}));E.hooks.evaluateIdentifier.for(v).tap(_e,(k=>{addValueDependency(v);return(new le).setTruthy().setSideEffects(false).setRange(k.range)}));E.hooks.evaluateTypeof.for(v).tap(_e,withValueDependency(v,pe("object")));E.hooks.expression.for(v).tap(_e,(R=>{addValueDependency(v);let L=stringifyObj(P,E,k.valueCacheVersions,v,qe,Be,!E.isAsiPosition(R.range[0]),E.destructuringAssignmentPropertiesFor(R));if(E.scope.inShorthand){L=E.scope.inShorthand+":"+L}if(je.test(L)){return me(E,L,[N.require])(R)}else if(Ne.test(L)){return me(E,L,[N.requireScope])(R)}else{return me(E,L)(R)}}));E.hooks.typeof.for(v).tap(_e,withValueDependency(v,me(E,JSON.stringify("object"))))};walkDefinitions(v,"")};E.hooks.parser.for(P).tap(_e,handler);E.hooks.parser.for(L).tap(_e,handler);E.hooks.parser.for(R).tap(_e,handler);const walkDefinitionsForValues=(v,E)=>{Object.keys(v).forEach((P=>{const R=v[P];const L=toCacheVersion(R);const N=Ie+E+P;Ue.update("|"+E+P);const ae=k.valueCacheVersions.get(N);if(ae===undefined){k.valueCacheVersions.set(N,L)}else if(ae!==L){const v=new q(`${_e}\nConflicting values for '${E+P}'`);v.details=`'${ae}' !== '${L}'`;v.hideStack=true;k.warnings.push(v)}if(R&&typeof R==="object"&&!(R instanceof RuntimeValue)&&!(R instanceof RegExp)){walkDefinitionsForValues(R,E+P+".")}}))};walkDefinitionsForValues(v,"");k.valueCacheVersions.set(Me,Ue.digest("hex").slice(0,8))}))}}k.exports=DefinePlugin},50901:function(k,v,E){"use strict";const{OriginalSource:P,RawSource:R}=E(51255);const L=E(88396);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:N}=E(93622);const q=E(56727);const ae=E(47788);const le=E(93414);const pe=E(58528);const me=new Set(["javascript"]);const ye=new Set([q.module,q.require]);class DelegatedModule extends L{constructor(k,v,E,P,R){super(N,null);this.sourceRequest=k;this.request=v.id;this.delegationType=E;this.userRequest=P;this.originalRequest=R;this.delegateData=v;this.delegatedSourceDependency=undefined}getSourceTypes(){return me}libIdent(k){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(k)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(k){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(k,v){return v(null,!this.buildMeta)}build(k,v,E,P,R){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new ae(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new le(this.delegateData.exports||true,false));R()}codeGeneration({runtimeTemplate:k,moduleGraph:v,chunkGraph:E}){const L=this.dependencies[0];const N=v.getModule(L);let q;if(!N){q=k.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{q=`module.exports = (${k.moduleExports({module:N,chunkGraph:E,request:L.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":q+=`(${JSON.stringify(this.request)})`;break;case"object":q+=`[${JSON.stringify(this.request)}]`;break}q+=";"}const ae=new Map;if(this.useSourceMap||this.useSimpleSourceMap){ae.set("javascript",new P(q,this.identifier()))}else{ae.set("javascript",new R(q))}return{sources:ae,runtimeRequirements:ye}}size(k){return 42}updateHash(k,v){k.update(this.delegationType);k.update(JSON.stringify(this.request));super.updateHash(k,v)}serialize(k){const{write:v}=k;v(this.sourceRequest);v(this.delegateData);v(this.delegationType);v(this.userRequest);v(this.originalRequest);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new DelegatedModule(v(),v(),v(),v(),v());E.deserialize(k);return E}updateCacheModule(k){super.updateCacheModule(k);const v=k;this.delegationType=v.delegationType;this.userRequest=v.userRequest;this.originalRequest=v.originalRequest;this.delegateData=v.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}pe(DelegatedModule,"webpack/lib/DelegatedModule");k.exports=DelegatedModule},42126:function(k,v,E){"use strict";const P=E(50901);class DelegatedModuleFactoryPlugin{constructor(k){this.options=k;k.type=k.type||"require";k.extensions=k.extensions||["",".js",".json",".wasm"]}apply(k){const v=this.options.scope;if(v){k.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((k,E)=>{const[R]=k.dependencies;const{request:L}=R;if(L&&L.startsWith(`${v}/`)){const k="."+L.slice(v.length);let R;if(k in this.options.content){R=this.options.content[k];return E(null,new P(this.options.source,R,this.options.type,k,L))}for(let v=0;v{const v=k.libIdent(this.options);if(v){if(v in this.options.content){const E=this.options.content[v];return new P(this.options.source,E,this.options.type,v,k)}}return k}))}}}k.exports=DelegatedModuleFactoryPlugin},27064:function(k,v,E){"use strict";const P=E(42126);const R=E(47788);class DelegatedPlugin{constructor(k){this.options=k}apply(k){k.hooks.compilation.tap("DelegatedPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(R,v)}));k.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:v})=>{new P({associatedObjectForCache:k.root,...this.options}).apply(v)}))}}k.exports=DelegatedPlugin},38706:function(k,v,E){"use strict";const P=E(58528);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.parent=undefined}getRootBlock(){let k=this;while(k.parent)k=k.parent;return k}addBlock(k){this.blocks.push(k);k.parent=this}addDependency(k){this.dependencies.push(k)}removeDependency(k){const v=this.dependencies.indexOf(k);if(v>=0){this.dependencies.splice(v,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(k,v){for(const E of this.dependencies){E.updateHash(k,v)}for(const E of this.blocks){E.updateHash(k,v)}}serialize({write:k}){k(this.dependencies);k(this.blocks)}deserialize({read:k}){this.dependencies=k();this.blocks=k();for(const k of this.blocks){k.parent=this}}}P(DependenciesBlock,"webpack/lib/DependenciesBlock");k.exports=DependenciesBlock},16848:function(k,v,E){"use strict";const P=E(20631);const R=Symbol("transitive");const L=P((()=>{const k=E(91169);return new k("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this._parentModule=undefined;this._parentDependenciesBlock=undefined;this._parentDependenciesBlockIndex=-1;this.weak=false;this.optional=false;this._locSL=0;this._locSC=0;this._locEL=0;this._locEC=0;this._locI=undefined;this._locN=undefined;this._loc=undefined}get type(){return"unknown"}get category(){return"unknown"}get loc(){if(this._loc!==undefined)return this._loc;const k={};if(this._locSL>0){k.start={line:this._locSL,column:this._locSC}}if(this._locEL>0){k.end={line:this._locEL,column:this._locEC}}if(this._locN!==undefined){k.name=this._locN}if(this._locI!==undefined){k.index=this._locI}return this._loc=k}set loc(k){if("start"in k&&typeof k.start==="object"){this._locSL=k.start.line||0;this._locSC=k.start.column||0}else{this._locSL=0;this._locSC=0}if("end"in k&&typeof k.end==="object"){this._locEL=k.end.line||0;this._locEC=k.end.column||0}else{this._locEL=0;this._locEC=0}if("index"in k){this._locI=k.index}else{this._locI=undefined}if("name"in k){this._locN=k.name}else{this._locN=undefined}this._loc=k}setLoc(k,v,E,P){this._locSL=k;this._locSC=v;this._locEL=E;this._locEC=P;this._locI=undefined;this._locN=undefined;this._loc=undefined}getContext(){return undefined}getResourceIdentifier(){return null}couldAffectReferencingModule(){return R}getReference(k){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(k,v){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(k){return null}getExports(k){return undefined}getWarnings(k){return null}getErrors(k){return null}updateHash(k,v){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(k){return true}createIgnoredModule(k){return L()}serialize({write:k}){k(this.weak);k(this.optional);k(this._locSL);k(this._locSC);k(this._locEL);k(this._locEC);k(this._locI);k(this._locN)}deserialize({read:k}){this.weak=k();this.optional=k();this._locSL=k();this._locSC=k();this._locEL=k();this._locEC=k();this._locI=k();this._locN=k()}}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)")}});Dependency.TRANSITIVE=R;k.exports=Dependency},30601:function(k,v,E){"use strict";class DependencyTemplate{apply(k,v,P){const R=E(60386);throw new R}}k.exports=DependencyTemplate},3175:function(k,v,E){"use strict";const P=E(74012);class DependencyTemplates{constructor(k="md4"){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0";this._hashFunction=k}get(k){return this._map.get(k)}set(k,v){this._map.set(k,v)}updateHash(k){const v=P(this._hashFunction);v.update(`${this._hash}${k}`);this._hash=v.digest("hex")}getHash(){return this._hash}clone(){const k=new DependencyTemplates(this._hashFunction);k._map=new Map(this._map);k._hash=this._hash;return k}}k.exports=DependencyTemplates},8958:function(k,v,E){"use strict";const P=E(20821);const R=E(50478);const L=E(25248);class DllEntryPlugin{constructor(k,v,E){this.context=k;this.entries=v;this.options=E}apply(k){k.hooks.compilation.tap("DllEntryPlugin",((k,{normalModuleFactory:v})=>{const E=new P;k.dependencyFactories.set(R,E);k.dependencyFactories.set(L,v)}));k.hooks.make.tapAsync("DllEntryPlugin",((k,v)=>{k.addEntry(this.context,new R(this.entries.map(((k,v)=>{const E=new L(k);E.loc={name:this.options.name,index:v};return E})),this.options.name),this.options,v)}))}}k.exports=DllEntryPlugin},2168:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(88396);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:L}=E(93622);const N=E(56727);const q=E(58528);const ae=new Set(["javascript"]);const le=new Set([N.require,N.module]);class DllModule extends R{constructor(k,v,E){super(L,k);this.dependencies=v;this.name=E}getSourceTypes(){return ae}identifier(){return`dll ${this.name}`}readableIdentifier(k){return`dll ${this.name}`}build(k,v,E,P,R){this.buildMeta={};this.buildInfo={};return R()}codeGeneration(k){const v=new Map;v.set("javascript",new P(`module.exports = ${N.require};`));return{sources:v,runtimeRequirements:le}}needBuild(k,v){return v(null,!this.buildMeta)}size(k){return 12}updateHash(k,v){k.update(`dll module${this.name||""}`);super.updateHash(k,v)}serialize(k){k.write(this.name);super.serialize(k)}deserialize(k){this.name=k.read();super.deserialize(k)}updateCacheModule(k){super.updateCacheModule(k);this.dependencies=k.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}q(DllModule,"webpack/lib/DllModule");k.exports=DllModule},20821:function(k,v,E){"use strict";const P=E(2168);const R=E(66043);class DllModuleFactory extends R{constructor(){super();this.hooks=Object.freeze({})}create(k,v){const E=k.dependencies[0];v(null,{module:new P(k.context,E.dependencies,E.name)})}}k.exports=DllModuleFactory},97765:function(k,v,E){"use strict";const P=E(8958);const R=E(17092);const L=E(98060);const N=E(92198);const q=N(E(79339),(()=>E(10519)),{name:"Dll Plugin",baseDataPath:"options"});class DllPlugin{constructor(k){q(k);this.options={...k,entryOnly:k.entryOnly!==false}}apply(k){k.hooks.entryOption.tap("DllPlugin",((v,E)=>{if(typeof E!=="function"){for(const R of Object.keys(E)){const L={name:R,filename:E.filename};new P(v,E[R].import,L).apply(k)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new L(this.options).apply(k);if(!this.options.entryOnly){new R("DllPlugin").apply(k)}}}k.exports=DllPlugin},95619:function(k,v,E){"use strict";const P=E(54650);const R=E(42126);const L=E(37368);const N=E(71572);const q=E(47788);const ae=E(92198);const le=E(65315).makePathsRelative;const pe=ae(E(70959),(()=>E(18498)),{name:"Dll Reference Plugin",baseDataPath:"options"});class DllReferencePlugin{constructor(k){pe(k);this.options=k;this._compilationData=new WeakMap}apply(k){k.hooks.compilation.tap("DllReferencePlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(q,v)}));k.hooks.beforeCompile.tapAsync("DllReferencePlugin",((v,E)=>{if("manifest"in this.options){const R=this.options.manifest;if(typeof R==="string"){k.inputFileSystem.readFile(R,((L,N)=>{if(L)return E(L);const q={path:R,data:undefined,error:undefined};try{q.data=P(N.toString("utf-8"))}catch(v){const E=le(k.options.context,R,k.root);q.error=new DllManifestError(E,v.message)}this._compilationData.set(v,q);return E()}));return}}return E()}));k.hooks.compile.tap("DllReferencePlugin",(v=>{let E=this.options.name;let P=this.options.sourceType;let N="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let k=this.options.manifest;let R;if(typeof k==="string"){const k=this._compilationData.get(v);if(k.error){return}R=k.data}else{R=k}if(R){if(!E)E=R.name;if(!P)P=R.type;if(!N)N=R.content}}const q={};const ae="dll-reference "+E;q[ae]=E;const le=v.normalModuleFactory;new L(P||"var",q).apply(le);new R({source:ae,type:this.options.type,scope:this.options.scope,context:this.options.context||k.options.context,content:N,extensions:this.options.extensions,associatedObjectForCache:k.root}).apply(le)}));k.hooks.compilation.tap("DllReferencePlugin",((k,v)=>{if("manifest"in this.options){let E=this.options.manifest;if(typeof E==="string"){const P=this._compilationData.get(v);if(P.error){k.errors.push(P.error)}k.fileDependencies.add(E)}}}))}}class DllManifestError extends N{constructor(k,v){super();this.name="DllManifestError";this.message=`Dll manifest ${k}\n${v}`}}k.exports=DllReferencePlugin},54602:function(k,v,E){"use strict";const P=E(26591);const R=E(17570);const L=E(25248);class DynamicEntryPlugin{constructor(k,v){this.context=k;this.entry=v}apply(k){k.hooks.compilation.tap("DynamicEntryPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(L,v)}));k.hooks.make.tapPromise("DynamicEntryPlugin",((v,E)=>Promise.resolve(this.entry()).then((E=>{const L=[];for(const N of Object.keys(E)){const q=E[N];const ae=P.entryDescriptionToOptions(k,N,q);for(const k of q.import){L.push(new Promise(((E,P)=>{v.addEntry(this.context,R.createDependency(k,ae),ae,(k=>{if(k)return P(k);E()}))})))}}return Promise.all(L)})).then((k=>{}))))}}k.exports=DynamicEntryPlugin},26591:function(k,v,E){"use strict";class EntryOptionPlugin{apply(k){k.hooks.entryOption.tap("EntryOptionPlugin",((v,E)=>{EntryOptionPlugin.applyEntryOption(k,v,E);return true}))}static applyEntryOption(k,v,P){if(typeof P==="function"){const R=E(54602);new R(v,P).apply(k)}else{const R=E(17570);for(const E of Object.keys(P)){const L=P[E];const N=EntryOptionPlugin.entryDescriptionToOptions(k,E,L);for(const E of L.import){new R(v,E,N).apply(k)}}}}static entryDescriptionToOptions(k,v,P){const R={name:v,filename:P.filename,runtime:P.runtime,layer:P.layer,dependOn:P.dependOn,baseUri:P.baseUri,publicPath:P.publicPath,chunkLoading:P.chunkLoading,asyncChunks:P.asyncChunks,wasmLoading:P.wasmLoading,library:P.library};if(P.layer!==undefined&&!k.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if(P.chunkLoading){const v=E(73126);v.checkEnabled(k,P.chunkLoading)}if(P.wasmLoading){const v=E(50792);v.checkEnabled(k,P.wasmLoading)}if(P.library){const v=E(60234);v.checkEnabled(k,P.library.type)}return R}}k.exports=EntryOptionPlugin},17570:function(k,v,E){"use strict";const P=E(25248);class EntryPlugin{constructor(k,v,E){this.context=k;this.entry=v;this.options=E||""}apply(k){k.hooks.compilation.tap("EntryPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(P,v)}));const{entry:v,options:E,context:R}=this;const L=EntryPlugin.createDependency(v,E);k.hooks.make.tapAsync("EntryPlugin",((k,v)=>{k.addEntry(R,L,E,(k=>{v(k)}))}))}static createDependency(k,v){const E=new P(k);E.loc={name:typeof v==="object"?v.name:v};return E}}k.exports=EntryPlugin},10969:function(k,v,E){"use strict";const P=E(28541);class Entrypoint extends P{constructor(k,v=true){if(typeof k==="string"){k={name:k}}super({name:k.name});this.options=k;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=v}isInitial(){return this._initial}setRuntimeChunk(k){this._runtimeChunk=k}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const k of this.parentsIterable){if(k instanceof Entrypoint)return k.getRuntimeChunk()}return null}setEntrypointChunk(k){this._entrypointChunk=k}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(k,v){if(this._runtimeChunk===k)this._runtimeChunk=v;if(this._entrypointChunk===k)this._entrypointChunk=v;return super.replaceChunk(k,v)}}k.exports=Entrypoint},32149:function(k,v,E){"use strict";const P=E(91602);const R=E(71572);class EnvironmentPlugin{constructor(...k){if(k.length===1&&Array.isArray(k[0])){this.keys=k[0];this.defaultValues={}}else if(k.length===1&&k[0]&&typeof k[0]==="object"){this.keys=Object.keys(k[0]);this.defaultValues=k[0]}else{this.keys=k;this.defaultValues={}}}apply(k){const v={};for(const E of this.keys){const P=process.env[E]!==undefined?process.env[E]:this.defaultValues[E];if(P===undefined){k.hooks.thisCompilation.tap("EnvironmentPlugin",(k=>{const v=new R(`EnvironmentPlugin - ${E} 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.");v.name="EnvVariableNotDefinedError";k.errors.push(v)}))}v[`process.env.${E}`]=P===undefined?"undefined":JSON.stringify(P)}new P(v).apply(k)}}k.exports=EnvironmentPlugin},53657:function(k,v){"use strict";const E="LOADER_EXECUTION";const P="WEBPACK_OPTIONS";const cutOffByFlag=(k,v)=>{const E=k.split("\n");for(let k=0;kcutOffByFlag(k,E);const cutOffWebpackOptions=k=>cutOffByFlag(k,P);const cutOffMultilineMessage=(k,v)=>{const E=k.split("\n");const P=v.split("\n");const R=[];E.forEach(((k,v)=>{if(!k.includes(P[v]))R.push(k)}));return R.join("\n")};const cutOffMessage=(k,v)=>{const E=k.indexOf("\n");if(E===-1){return k===v?"":k}else{const P=k.slice(0,E);return P===v?k.slice(E+1):k}};const cleanUp=(k,v)=>{k=cutOffLoaderExecution(k);k=cutOffMessage(k,v);return k};const cleanUpWebpackOptions=(k,v)=>{k=cutOffWebpackOptions(k);k=cutOffMultilineMessage(k,v);return k};v.cutOffByFlag=cutOffByFlag;v.cutOffLoaderExecution=cutOffLoaderExecution;v.cutOffWebpackOptions=cutOffWebpackOptions;v.cutOffMultilineMessage=cutOffMultilineMessage;v.cutOffMessage=cutOffMessage;v.cleanUp=cleanUp;v.cleanUpWebpackOptions=cleanUpWebpackOptions},87543:function(k,v,E){"use strict";const{ConcatSource:P,RawSource:R}=E(51255);const L=E(10849);const N=E(98612);const q=E(56727);const ae=E(89168);const le=new WeakMap;const pe=new R(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is 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(k){this.namespace=k.namespace||"";this.sourceUrlComment=k.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=k.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(k){k.hooks.compilation.tap("EvalDevToolModulePlugin",(k=>{const v=ae.getCompilationHooks(k);v.renderModuleContent.tap("EvalDevToolModulePlugin",((v,E,{runtimeTemplate:P,chunkGraph:ae})=>{const pe=le.get(v);if(pe!==undefined)return pe;if(E instanceof L){le.set(v,v);return v}const me=v.source();const ye=N.createFilename(E,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:P.requestShortener,chunkGraph:ae,hashFunction:k.outputOptions.hashFunction});const _e="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(ye).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const Ie=new R(`eval(${k.outputOptions.trustedTypes?`${q.createScript}(${JSON.stringify(me+_e)})`:JSON.stringify(me+_e)});`);le.set(v,Ie);return Ie}));v.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));v.render.tap("EvalDevToolModulePlugin",(k=>new P(pe,k)));v.chunkHash.tap("EvalDevToolModulePlugin",((k,v)=>{v.update("EvalDevToolModulePlugin");v.update("2")}));if(k.outputOptions.trustedTypes){k.hooks.additionalModuleRuntimeRequirements.tap("EvalDevToolModulePlugin",((k,v,E)=>{v.add(q.createScript)}))}}))}}k.exports=EvalDevToolModulePlugin},21234:function(k,v,E){"use strict";const{ConcatSource:P,RawSource:R}=E(51255);const L=E(98612);const N=E(38224);const q=E(56727);const ae=E(10518);const le=E(89168);const pe=E(94978);const{makePathsAbsolute:me}=E(65315);const ye=new WeakMap;const _e=new R(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is 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(k){let v;if(typeof k==="string"){v={append:k}}else{v=k}this.sourceMapComment=v.append&&typeof v.append!=="function"?v.append:"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=v.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=v.namespace||"";this.options=v}apply(k){const v=this.options;k.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(E=>{const Ie=le.getCompilationHooks(E);new ae(v).apply(E);const Me=L.matchObject.bind(L,v);Ie.renderModuleContent.tap("EvalSourceMapDevToolPlugin",((P,ae,{runtimeTemplate:le,chunkGraph:_e})=>{const Ie=ye.get(P);if(Ie!==undefined){return Ie}const result=k=>{ye.set(P,k);return k};if(ae instanceof N){const k=ae;if(!Me(k.resource)){return result(P)}}else if(ae instanceof pe){const k=ae;if(k.rootModule instanceof N){const v=k.rootModule;if(!Me(v.resource)){return result(P)}}else{return result(P)}}else{return result(P)}let Te;let je;if(P.sourceAndMap){const k=P.sourceAndMap(v);Te=k.map;je=k.source}else{Te=P.map(v);je=P.source()}if(!Te){return result(P)}Te={...Te};const Ne=k.options.context;const Be=k.root;const qe=Te.sources.map((k=>{if(!k.startsWith("webpack://"))return k;k=me(Ne,k.slice(10),Be);const v=E.findModule(k);return v||k}));let Ue=qe.map((k=>L.createFilename(k,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:le.requestShortener,chunkGraph:_e,hashFunction:E.outputOptions.hashFunction})));Ue=L.replaceDuplicates(Ue,((k,v,E)=>{for(let v=0;v"the eval-source-map devtool is used."));Ie.render.tap("EvalSourceMapDevToolPlugin",(k=>new P(_e,k)));Ie.chunkHash.tap("EvalSourceMapDevToolPlugin",((k,v)=>{v.update("EvalSourceMapDevToolPlugin");v.update("2")}));if(E.outputOptions.trustedTypes){E.hooks.additionalModuleRuntimeRequirements.tap("EvalSourceMapDevToolPlugin",((k,v,E)=>{v.add(q.createScript)}))}}))}}k.exports=EvalSourceMapDevToolPlugin},11172:function(k,v,E){"use strict";const{equals:P}=E(68863);const R=E(46081);const L=E(58528);const{forEachRuntime:N}=E(1540);const q=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const RETURNS_TRUE=()=>true;const ae=Symbol("circular target");class RestoreProvidedData{constructor(k,v,E,P){this.exports=k;this.otherProvided=v;this.otherCanMangleProvide=E;this.otherTerminalBinding=P}serialize({write:k}){k(this.exports);k(this.otherProvided);k(this.otherCanMangleProvide);k(this.otherTerminalBinding)}static deserialize({read:k}){return new RestoreProvidedData(k(),k(),k(),k())}}L(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 k=new Map(this._redirectTo._exports);for(const[v,E]of this._exports){k.set(v,E)}return k.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const k=new Map(Array.from(this._redirectTo.orderedExports,(k=>[k.name,k])));for(const[v,E]of this._exports){k.set(v,E)}this._sortExportsMap(k);return k.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(k){if(k.size>1){const v=[];for(const E of k.values()){v.push(E.name)}v.sort();let E=0;for(const P of k.values()){const k=v[E];if(P.name!==k)break;E++}for(;E0){const v=this.getReadOnlyExportInfo(k[0]);if(!v.exportsInfo)return undefined;return v.exportsInfo.getNestedExportsInfo(k.slice(1))}return this}setUnknownExportsProvided(k,v,E,P,R){let L=false;if(v){for(const k of v){this.getExportInfo(k)}}for(const R of this._exports.values()){if(!k&&R.canMangleProvide!==false){R.canMangleProvide=false;L=true}if(v&&v.has(R.name))continue;if(R.provided!==true&&R.provided!==null){R.provided=null;L=true}if(E){R.setTarget(E,P,[R.name],-1)}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(k,v,E,P,R)){L=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;L=true}if(!k&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;L=true}if(E){this._otherExportsInfo.setTarget(E,P,undefined,R)}}return L}setUsedInUnknownWay(k){let v=false;for(const E of this._exports.values()){if(E.setUsedInUnknownWay(k)){v=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(k)){v=true}}else{if(this._otherExportsInfo.setUsedConditionally((k=>kk===q.Unused),q.Used,k)}isUsed(k){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(k)){return true}}else{if(this._otherExportsInfo.getUsed(k)!==q.Unused){return true}}for(const v of this._exports.values()){if(v.getUsed(k)!==q.Unused){return true}}return false}isModuleUsed(k){if(this.isUsed(k))return true;if(this._sideEffectsOnlyInfo.getUsed(k)!==q.Unused)return true;return false}getUsedExports(k){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(k)){case q.NoInfo:return null;case q.Unknown:case q.OnlyPropertiesUsed:case q.Used:return true}}const v=[];if(!this._exportsAreOrdered)this._sortExports();for(const E of this._exports.values()){switch(E.getUsed(k)){case q.NoInfo:return null;case q.Unknown:return true;case q.OnlyPropertiesUsed:case q.Used:v.push(E.name)}}if(this._redirectTo!==undefined){const E=this._redirectTo.getUsedExports(k);if(E===null)return null;if(E===true)return true;if(E!==false){for(const k of E){v.push(k)}}}if(v.length===0){switch(this._sideEffectsOnlyInfo.getUsed(k)){case q.NoInfo:return null;case q.Unused:return false}}return new R(v)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const k=[];if(!this._exportsAreOrdered)this._sortExports();for(const v of this._exports.values()){switch(v.provided){case undefined:return null;case null:return true;case true:k.push(v.name)}}if(this._redirectTo!==undefined){const v=this._redirectTo.getProvidedExports();if(v===null)return null;if(v===true)return true;for(const E of v){if(!k.includes(E)){k.push(E)}}}return k}getRelevantExports(k){const v=[];for(const E of this._exports.values()){const P=E.getUsed(k);if(P===q.Unused)continue;if(E.provided===false)continue;v.push(E)}if(this._redirectTo!==undefined){for(const E of this._redirectTo.getRelevantExports(k)){if(!this._exports.has(E.name))v.push(E)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(k)!==q.Unused){v.push(this._otherExportsInfo)}return v}isExportProvided(k){if(Array.isArray(k)){const v=this.getReadOnlyExportInfo(k[0]);if(v.exportsInfo&&k.length>1){return v.exportsInfo.isExportProvided(k.slice(1))}return v.provided?k.length===1||undefined:v.provided}const v=this.getReadOnlyExportInfo(k);return v.provided}getUsageKey(k){const v=[];if(this._redirectTo!==undefined){v.push(this._redirectTo.getUsageKey(k))}else{v.push(this._otherExportsInfo.getUsed(k))}v.push(this._sideEffectsOnlyInfo.getUsed(k));for(const E of this.orderedOwnedExports){v.push(E.getUsed(k))}return v.join("|")}isEquallyUsed(k,v){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(k,v))return false}else{if(this._otherExportsInfo.getUsed(k)!==this._otherExportsInfo.getUsed(v)){return false}}if(this._sideEffectsOnlyInfo.getUsed(k)!==this._sideEffectsOnlyInfo.getUsed(v)){return false}for(const E of this.ownedExports){if(E.getUsed(k)!==E.getUsed(v))return false}return true}getUsed(k,v){if(Array.isArray(k)){if(k.length===0)return this.otherExportsInfo.getUsed(v);let E=this.getReadOnlyExportInfo(k[0]);if(E.exportsInfo&&k.length>1){return E.exportsInfo.getUsed(k.slice(1),v)}return E.getUsed(v)}let E=this.getReadOnlyExportInfo(k);return E.getUsed(v)}getUsedName(k,v){if(Array.isArray(k)){if(k.length===0){if(!this.isUsed(v))return false;return k}let E=this.getReadOnlyExportInfo(k[0]);const P=E.getUsedName(k[0],v);if(P===false)return false;const R=P===k[0]&&k.length===1?k:[P];if(k.length===1){return R}if(E.exportsInfo&&E.getUsed(v)===q.OnlyPropertiesUsed){const P=E.exportsInfo.getUsedName(k.slice(1),v);if(!P)return false;return R.concat(P)}else{return R.concat(k.slice(1))}}else{let E=this.getReadOnlyExportInfo(k);const P=E.getUsedName(k,v);return P}}updateHash(k,v){this._updateHash(k,v,new Set)}_updateHash(k,v,E){const P=new Set(E);P.add(this);for(const E of this.orderedExports){if(E.hasInfo(this._otherExportsInfo,v)){E._updateHash(k,v,P)}}this._sideEffectsOnlyInfo._updateHash(k,v,P);this._otherExportsInfo._updateHash(k,v,P);if(this._redirectTo!==undefined){this._redirectTo._updateHash(k,v,P)}}getRestoreProvidedData(){const k=this._otherExportsInfo.provided;const v=this._otherExportsInfo.canMangleProvide;const E=this._otherExportsInfo.terminalBinding;const P=[];for(const R of this.orderedExports){if(R.provided!==k||R.canMangleProvide!==v||R.terminalBinding!==E||R.exportsInfoOwned){P.push({name:R.name,provided:R.provided,canMangleProvide:R.canMangleProvide,terminalBinding:R.terminalBinding,exportsInfo:R.exportsInfoOwned?R.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData(P,k,v,E)}restoreProvided({otherProvided:k,otherCanMangleProvide:v,otherTerminalBinding:E,exports:P}){let R=true;for(const P of this._exports.values()){R=false;P.provided=k;P.canMangleProvide=v;P.terminalBinding=E}this._otherExportsInfo.provided=k;this._otherExportsInfo.canMangleProvide=v;this._otherExportsInfo.terminalBinding=E;for(const k of P){const v=this.getExportInfo(k.name);v.provided=k.provided;v.canMangleProvide=k.canMangleProvide;v.terminalBinding=k.terminalBinding;if(k.exportsInfo){const E=v.createNestedExportsInfo();E.restoreProvided(k.exportsInfo)}}if(R)this._exportsAreOrdered=true}}class ExportInfo{constructor(k,v){this.name=k;this._usedName=v?v._usedName:null;this._globalUsed=v?v._globalUsed:undefined;this._usedInRuntime=v&&v._usedInRuntime?new Map(v._usedInRuntime):undefined;this._hasUseInRuntimeInfo=v?v._hasUseInRuntimeInfo:false;this.provided=v?v.provided:undefined;this.terminalBinding=v?v.terminalBinding:false;this.canMangleProvide=v?v.canMangleProvide:undefined;this.canMangleUse=v?v.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(v&&v._target){this._target=new Map;for(const[E,P]of v._target){this._target.set(E,{connection:P.connection,export:P.export||[k],priority:P.priority})}}this._maxTarget=undefined}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(k){throw new Error("REMOVED")}set usedName(k){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(k){let v=false;if(this.setUsedConditionally((k=>kthis._usedInRuntime.set(k,v)));return true}}else{let P=false;N(E,(E=>{let R=this._usedInRuntime.get(E);if(R===undefined)R=q.Unused;if(v!==R&&k(R)){if(v===q.Unused){this._usedInRuntime.delete(E)}else{this._usedInRuntime.set(E,v)}P=true}}));if(P){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(k,v){if(v===undefined){if(this._globalUsed!==k){this._globalUsed=k;return true}}else if(this._usedInRuntime===undefined){if(k!==q.Unused){this._usedInRuntime=new Map;N(v,(v=>this._usedInRuntime.set(v,k)));return true}}else{let E=false;N(v,(v=>{let P=this._usedInRuntime.get(v);if(P===undefined)P=q.Unused;if(k!==P){if(k===q.Unused){this._usedInRuntime.delete(v)}else{this._usedInRuntime.set(v,k)}E=true}}));if(E){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}unsetTarget(k){if(!this._target)return false;if(this._target.delete(k)){this._maxTarget=undefined;return true}return false}setTarget(k,v,E,R=0){if(E)E=[...E];if(!this._target){this._target=new Map;this._target.set(k,{connection:v,export:E,priority:R});return true}const L=this._target.get(k);if(!L){if(L===null&&!v)return false;this._target.set(k,{connection:v,export:E,priority:R});this._maxTarget=undefined;return true}if(L.connection!==v||L.priority!==R||(E?!L.export||!P(L.export,E):L.export)){L.connection=v;L.export=E;L.priority=R;this._maxTarget=undefined;return true}return false}getUsed(k){if(!this._hasUseInRuntimeInfo)return q.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return q.Unused}else if(typeof k==="string"){const v=this._usedInRuntime.get(k);return v===undefined?q.Unused:v}else if(k===undefined){let k=q.Unused;for(const v of this._usedInRuntime.values()){if(v===q.Used){return q.Used}if(k!this._usedInRuntime.has(k)))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||k}hasUsedName(){return this._usedName!==null}setUsedName(k){this._usedName=k}getTerminalBinding(k,v=RETURNS_TRUE){if(this.terminalBinding)return this;const E=this.getTarget(k,v);if(!E)return undefined;const P=k.getExportsInfo(E.module);if(!E.export)return P;return P.getReadOnlyExportInfoRecursive(E.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}_getMaxTarget(){if(this._maxTarget!==undefined)return this._maxTarget;if(this._target.size<=1)return this._maxTarget=this._target;let k=-Infinity;let v=Infinity;for(const{priority:E}of this._target.values()){if(kE)v=E}if(k===v)return this._maxTarget=this._target;const E=new Map;for(const[v,P]of this._target){if(k===P.priority){E.set(v,P)}}this._maxTarget=E;return E}findTarget(k,v){return this._findTarget(k,v,new Set)}_findTarget(k,v,E){if(!this._target||this._target.size===0)return undefined;let P=this._getMaxTarget().values().next().value;if(!P)return undefined;let R={module:P.connection.module,export:P.export};for(;;){if(v(R.module))return R;const P=k.getExportsInfo(R.module);const L=P.getExportInfo(R.export[0]);if(E.has(L))return null;const N=L._findTarget(k,v,E);if(!N)return false;if(R.export.length===1){R=N}else{R={module:N.module,export:N.export?N.export.concat(R.export.slice(1)):R.export.slice(1)}}}}getTarget(k,v=RETURNS_TRUE){const E=this._getTarget(k,v,undefined);if(E===ae)return undefined;return E}_getTarget(k,v,E){const resolveTarget=(E,P)=>{if(!E)return null;if(!E.export){return{module:E.connection.module,connection:E.connection,export:undefined}}let R={module:E.connection.module,connection:E.connection,export:E.export};if(!v(R))return R;let L=false;for(;;){const E=k.getExportsInfo(R.module);const N=E.getExportInfo(R.export[0]);if(!N)return R;if(P.has(N))return ae;const q=N._getTarget(k,v,P);if(q===ae)return ae;if(!q)return R;if(R.export.length===1){R=q;if(!R.export)return R}else{R={module:q.module,connection:q.connection,export:q.export?q.export.concat(R.export.slice(1)):R.export.slice(1)}}if(!v(R))return R;if(!L){P=new Set(P);L=true}P.add(N)}};if(!this._target||this._target.size===0)return undefined;if(E&&E.has(this))return ae;const R=new Set(E);R.add(this);const L=this._getMaxTarget().values();const N=resolveTarget(L.next().value,R);if(N===ae)return ae;if(N===null)return undefined;let q=L.next();while(!q.done){const k=resolveTarget(q.value,R);if(k===ae)return ae;if(k===null)return undefined;if(k.module!==N.module)return undefined;if(!k.export!==!N.export)return undefined;if(N.export&&!P(k.export,N.export))return undefined;q=L.next()}return N}moveTarget(k,v,E){const P=this._getTarget(k,v,undefined);if(P===ae)return undefined;if(!P)return undefined;const R=this._getMaxTarget().values().next().value;if(R.connection===P.connection&&R.export===P.export){return undefined}this._target.clear();this._target.set(undefined,{connection:E?E(P):P.connection,export:P.export,priority:0});return P}createNestedExportsInfo(){if(this.exportsInfoOwned)return this.exportsInfo;this.exportsInfoOwned=true;const k=this.exportsInfo;this.exportsInfo=new ExportsInfo;this.exportsInfo.setHasProvideInfo();if(k){this.exportsInfo.setRedirectNamedTo(k)}return this.exportsInfo}getNestedExportsInfo(){return this.exportsInfo}hasInfo(k,v){return this._usedName&&this._usedName!==this.name||this.provided||this.terminalBinding||this.getUsed(v)!==k.getUsed(v)}updateHash(k,v){this._updateHash(k,v,new Set)}_updateHash(k,v,E){k.update(`${this._usedName||this.name}${this.getUsed(v)}${this.provided}${this.terminalBinding}`);if(this.exportsInfo&&!E.has(this.exportsInfo)){this.exportsInfo._updateHash(k,v,E)}}getUsedInfo(){if(this._globalUsed!==undefined){switch(this._globalUsed){case q.Unused:return"unused";case q.NoInfo:return"no usage info";case q.Unknown:return"maybe used (runtime-defined)";case q.Used:return"used";case q.OnlyPropertiesUsed:return"only properties used"}}else if(this._usedInRuntime!==undefined){const k=new Map;for(const[v,E]of this._usedInRuntime){const P=k.get(E);if(P!==undefined)P.push(v);else k.set(E,[v])}const v=Array.from(k,(([k,v])=>{switch(k){case q.NoInfo:return`no usage info in ${v.join(", ")}`;case q.Unknown:return`maybe used in ${v.join(", ")} (runtime-defined)`;case q.Used:return`used in ${v.join(", ")}`;case q.OnlyPropertiesUsed:return`only properties used in ${v.join(", ")}`}}));if(v.length>0){return v.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}`)}}k.exports=ExportsInfo;k.exports.ExportInfo=ExportInfo;k.exports.UsageState=q},25889:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(60381);const q=E(70762);const ae="ExportsInfoApiPlugin";class ExportsInfoApiPlugin{apply(k){k.hooks.compilation.tap(ae,((k,{normalModuleFactory:v})=>{k.dependencyTemplates.set(q,new q.Template);const handler=k=>{k.hooks.expressionMemberChain.for("__webpack_exports_info__").tap(ae,((v,E)=>{const P=E.length>=2?new q(v.range,E.slice(0,-1),E[E.length-1]):new q(v.range,null,E[0]);P.loc=v.loc;k.state.module.addDependency(P);return true}));k.hooks.expression.for("__webpack_exports_info__").tap(ae,(v=>{const E=new N("true",v.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}))};v.hooks.parser.for(P).tap(ae,handler);v.hooks.parser.for(R).tap(ae,handler);v.hooks.parser.for(L).tap(ae,handler)}))}}k.exports=ExportsInfoApiPlugin},10849:function(k,v,E){"use strict";const{OriginalSource:P,RawSource:R}=E(51255);const L=E(91213);const{UsageState:N}=E(11172);const q=E(88113);const ae=E(88396);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:le}=E(93622);const pe=E(56727);const me=E(95041);const ye=E(93414);const _e=E(74012);const Ie=E(21053);const Me=E(58528);const Te=E(10720);const{register:je}=E(52456);const Ne=new Set(["javascript"]);const Be=new Set(["css-import"]);const qe=new Set([pe.module]);const Ue=new Set([pe.loadScript]);const Ge=new Set([pe.definePropertyGetters]);const He=new Set([]);const getSourceForGlobalVariableExternal=(k,v)=>{if(!Array.isArray(k)){k=[k]}const E=k.map((k=>`[${JSON.stringify(k)}]`)).join("");return{iife:v==="this",expression:`${v}${E}`}};const getSourceForCommonJsExternal=k=>{if(!Array.isArray(k)){return{expression:`require(${JSON.stringify(k)})`}}const v=k[0];return{expression:`require(${JSON.stringify(v)})${Te(k,1)}`}};const getSourceForCommonJsExternalInNodeModule=(k,v)=>{const E=[new q('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',q.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];if(!Array.isArray(k)){return{chunkInitFragments:E,expression:`__WEBPACK_EXTERNAL_createRequire(${v}.url)(${JSON.stringify(k)})`}}const P=k[0];return{chunkInitFragments:E,expression:`__WEBPACK_EXTERNAL_createRequire(${v}.url)(${JSON.stringify(P)})${Te(k,1)}`}};const getSourceForImportExternal=(k,v)=>{const E=v.outputOptions.importFunctionName;if(!v.supportsDynamicImport()&&E==="import"){throw new Error("The target environment doesn't support 'import()' so it's not possible to use external type 'import'")}if(!Array.isArray(k)){return{expression:`${E}(${JSON.stringify(k)});`}}if(k.length===1){return{expression:`${E}(${JSON.stringify(k[0])});`}}const P=k[0];return{expression:`${E}(${JSON.stringify(P)}).then(${v.returningFunction(`module${Te(k,1)}`,"module")});`}};class ModuleExternalInitFragment extends q{constructor(k,v,E="md4"){if(v===undefined){v=me.toIdentifier(k);if(v!==k){v+=`_${_e(E).update(k).digest("hex").slice(0,8)}`}}const P=`__WEBPACK_EXTERNAL_MODULE_${v}__`;super(`import * as ${P} from ${JSON.stringify(k)};\n`,q.STAGE_HARMONY_IMPORTS,0,`external module import ${v}`);this._ident=v;this._identifier=P;this._request=k}getNamespaceIdentifier(){return this._identifier}}je(ModuleExternalInitFragment,"webpack/lib/ExternalModule","ModuleExternalInitFragment",{serialize(k,{write:v}){v(k._request);v(k._ident)},deserialize({read:k}){return new ModuleExternalInitFragment(k(),k())}});const generateModuleRemapping=(k,v,E)=>{if(v.otherExportsInfo.getUsed(E)===N.Unused){const P=[];for(const R of v.orderedExports){const v=R.getUsedName(R.name,E);if(!v)continue;const L=R.getNestedExportsInfo();if(L){const E=generateModuleRemapping(`${k}${Te([R.name])}`,L);if(E){P.push(`[${JSON.stringify(v)}]: y(${E})`);continue}}P.push(`[${JSON.stringify(v)}]: () => ${k}${Te([R.name])}`)}return`x({ ${P.join(", ")} })`}};const getSourceForModuleExternal=(k,v,E,P)=>{if(!Array.isArray(k))k=[k];const R=new ModuleExternalInitFragment(k[0],undefined,P);const L=`${R.getNamespaceIdentifier()}${Te(k,1)}`;const N=generateModuleRemapping(L,v,E);let q=N||L;return{expression:q,init:`var x = y => { var x = {}; ${pe.definePropertyGetters}(x, y); return x; }\nvar y = x => () => x`,runtimeRequirements:N?Ge:undefined,chunkInitFragments:[R]}};const getSourceForScriptExternal=(k,v)=>{if(typeof k==="string"){k=Ie(k)}const E=k[0];const P=k[1];return{init:"var __webpack_error__ = new Error();",expression:`new Promise(${v.basicFunction("resolve, reject",[`if(typeof ${P} !== "undefined") return resolve();`,`${pe.loadScript}(${JSON.stringify(E)}, ${v.basicFunction("event",[`if(typeof ${P} !== "undefined") return resolve();`,"var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';","__webpack_error__.name = 'ScriptExternalLoadError';","__webpack_error__.type = errorType;","__webpack_error__.request = realSrc;","reject(__webpack_error__);"])}, ${JSON.stringify(P)});`])}).then(${v.returningFunction(`${P}${Te(k,2)}`)})`,runtimeRequirements:Ue}};const checkExternalVariable=(k,v,E)=>`if(typeof ${k} === 'undefined') { ${E.throwMissingModuleErrorBlock({request:v})} }\n`;const getSourceForAmdOrUmdExternal=(k,v,E,P)=>{const R=`__WEBPACK_EXTERNAL_MODULE_${me.toIdentifier(`${k}`)}__`;return{init:v?checkExternalVariable(R,Array.isArray(E)?E.join("."):E,P):undefined,expression:R}};const getSourceForDefaultCase=(k,v,E)=>{if(!Array.isArray(v)){v=[v]}const P=v[0];const R=Te(v,1);return{init:k?checkExternalVariable(P,v.join("."),E):undefined,expression:`${P}${R}`}};class ExternalModule extends ae{constructor(k,v,E){super(le,null);this.request=k;this.externalType=v;this.userRequest=E}getSourceTypes(){return this.externalType==="css-import"?Be:Ne}libIdent(k){return this.userRequest}chunkCondition(k,{chunkGraph:v}){return this.externalType==="css-import"?true:v.getNumberOfEntryModules(k)>0}identifier(){return`external ${this.externalType} ${JSON.stringify(this.request)}`}readableIdentifier(k){return"external "+JSON.stringify(this.request)}needBuild(k,v){return v(null,!this.buildMeta)}build(k,v,E,P,R){this.buildMeta={async:false,exportsType:undefined};this.buildInfo={strict:true,topLevelDeclarations:new Set,module:v.outputOptions.module};const{request:L,externalType:N}=this._getRequestAndExternalType();this.buildMeta.exportsType="dynamic";let q=false;this.clearDependenciesAndBlocks();switch(N){case"this":this.buildInfo.strict=false;break;case"system":if(!Array.isArray(L)||L.length===1){this.buildMeta.exportsType="namespace";q=true}break;case"module":if(this.buildInfo.module){if(!Array.isArray(L)||L.length===1){this.buildMeta.exportsType="namespace";q=true}}else{this.buildMeta.async=true;if(!Array.isArray(L)||L.length===1){this.buildMeta.exportsType="namespace";q=false}}break;case"script":case"promise":this.buildMeta.async=true;break;case"import":this.buildMeta.async=true;if(!Array.isArray(L)||L.length===1){this.buildMeta.exportsType="namespace";q=false}break}this.addDependency(new ye(true,q));R()}restoreFromUnsafeCache(k,v){this._restoreFromUnsafeCache(k,v)}getConcatenationBailoutReason({moduleGraph:k}){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}_getRequestAndExternalType(){let{request:k,externalType:v}=this;if(typeof k==="object"&&!Array.isArray(k))k=k[v];return{request:k,externalType:v}}_getSourceData(k,v,E,P,R,L){switch(v){case"this":case"window":case"self":return getSourceForGlobalVariableExternal(k,this.externalType);case"global":return getSourceForGlobalVariableExternal(k,E.globalObject);case"commonjs":case"commonjs2":case"commonjs-module":case"commonjs-static":return getSourceForCommonJsExternal(k);case"node-commonjs":return this.buildInfo.module?getSourceForCommonJsExternalInNodeModule(k,E.outputOptions.importMetaName):getSourceForCommonJsExternal(k);case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":{const v=R.getModuleId(this);return getSourceForAmdOrUmdExternal(v!==null?v:this.identifier(),this.isOptional(P),k,E)}case"import":return getSourceForImportExternal(k,E);case"script":return getSourceForScriptExternal(k,E);case"module":{if(!this.buildInfo.module){if(!E.supportsDynamicImport()){throw new Error("The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script"+(E.supportsEcmaScriptModuleSyntax()?"\nDid you mean to build a EcmaScript Module ('output.module: true')?":""))}return getSourceForImportExternal(k,E)}if(!E.supportsEcmaScriptModuleSyntax()){throw new Error("The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'")}return getSourceForModuleExternal(k,P.getExportsInfo(this),L,E.outputOptions.hashFunction)}case"var":case"promise":case"const":case"let":case"assign":default:return getSourceForDefaultCase(this.isOptional(P),k,E)}}codeGeneration({runtimeTemplate:k,moduleGraph:v,chunkGraph:E,runtime:N,concatenationScope:q}){const{request:ae,externalType:le}=this._getRequestAndExternalType();switch(le){case"asset":{const k=new Map;k.set("javascript",new R(`module.exports = ${JSON.stringify(ae)};`));const v=new Map;v.set("url",ae);return{sources:k,runtimeRequirements:qe,data:v}}case"css-import":{const k=new Map;k.set("css-import",new R(`@import url(${JSON.stringify(ae)});`));return{sources:k,runtimeRequirements:He}}default:{const me=this._getSourceData(ae,le,k,v,E,N);let ye=me.expression;if(me.iife)ye=`(function() { return ${ye}; }())`;if(q){ye=`${k.supportsConst()?"const":"var"} ${L.NAMESPACE_OBJECT_EXPORT} = ${ye};`;q.registerNamespaceExport(L.NAMESPACE_OBJECT_EXPORT)}else{ye=`module.exports = ${ye};`}if(me.init)ye=`${me.init}\n${ye}`;let _e=undefined;if(me.chunkInitFragments){_e=new Map;_e.set("chunkInitFragments",me.chunkInitFragments)}const Ie=new Map;if(this.useSourceMap||this.useSimpleSourceMap){Ie.set("javascript",new P(ye,this.identifier()))}else{Ie.set("javascript",new R(ye))}let Me=me.runtimeRequirements;if(!q){if(!Me){Me=qe}else{const k=new Set(Me);k.add(pe.module);Me=k}}return{sources:Ie,runtimeRequirements:Me||He,data:_e}}}}size(k){return 42}updateHash(k,v){const{chunkGraph:E}=v;k.update(`${this.externalType}${JSON.stringify(this.request)}${this.isOptional(E.moduleGraph)}`);super.updateHash(k,v)}serialize(k){const{write:v}=k;v(this.request);v(this.externalType);v(this.userRequest);super.serialize(k)}deserialize(k){const{read:v}=k;this.request=v();this.externalType=v();this.userRequest=v();super.deserialize(k)}}Me(ExternalModule,"webpack/lib/ExternalModule");k.exports=ExternalModule},37368:function(k,v,E){"use strict";const P=E(73837);const R=E(10849);const{resolveByProperty:L,cachedSetProperty:N}=E(99454);const q=/^[a-z0-9-]+ /;const ae={};const le=P.deprecate(((k,v,E,P)=>{k.call(null,v,E,P)}),"The externals-function should be defined like ({context, request}, cb) => { ... }","DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS");const pe=new WeakMap;const resolveLayer=(k,v)=>{let E=pe.get(k);if(E===undefined){E=new Map;pe.set(k,E)}else{const k=E.get(v);if(k!==undefined)return k}const P=L(k,"byLayer",v);E.set(v,P);return P};class ExternalModuleFactoryPlugin{constructor(k,v){this.type=k;this.externals=v}apply(k){const v=this.type;k.hooks.factorize.tapAsync("ExternalModuleFactoryPlugin",((E,P)=>{const L=E.context;const pe=E.contextInfo;const me=E.dependencies[0];const ye=E.dependencyType;const handleExternal=(k,E,P)=>{if(k===false){return P()}let L;if(k===true){L=me.request}else{L=k}if(E===undefined){if(typeof L==="string"&&q.test(L)){const k=L.indexOf(" ");E=L.slice(0,k);L=L.slice(k+1)}else if(Array.isArray(L)&&L.length>0&&q.test(L[0])){const k=L[0];const v=k.indexOf(" ");E=k.slice(0,v);L=[k.slice(v+1),...L.slice(1)]}}P(null,new R(L,E||v,me.request))};const handleExternals=(v,P)=>{if(typeof v==="string"){if(v===me.request){return handleExternal(me.request,undefined,P)}}else if(Array.isArray(v)){let k=0;const next=()=>{let E;const handleExternalsAndCallback=(k,v)=>{if(k)return P(k);if(!v){if(E){E=false;return}return next()}P(null,v)};do{E=true;if(k>=v.length)return P();handleExternals(v[k++],handleExternalsAndCallback)}while(!E);E=false};next();return}else if(v instanceof RegExp){if(v.test(me.request)){return handleExternal(me.request,undefined,P)}}else if(typeof v==="function"){const cb=(k,v,E)=>{if(k)return P(k);if(v!==undefined){handleExternal(v,E,P)}else{P()}};if(v.length===3){le(v,L,me.request,cb)}else{const P=v({context:L,request:me.request,dependencyType:ye,contextInfo:pe,getResolve:v=>(P,R,L)=>{const q={fileDependencies:E.fileDependencies,missingDependencies:E.missingDependencies,contextDependencies:E.contextDependencies};let le=k.getResolver("normal",ye?N(E.resolveOptions||ae,"dependencyType",ye):E.resolveOptions);if(v)le=le.withOptions(v);if(L){le.resolve({},P,R,q,L)}else{return new Promise(((k,v)=>{le.resolve({},P,R,q,((E,P)=>{if(E)v(E);else k(P)}))}))}}},cb);if(P&&P.then)P.then((k=>cb(null,k)),cb)}return}else if(typeof v==="object"){const k=resolveLayer(v,pe.issuerLayer);if(Object.prototype.hasOwnProperty.call(k,me.request)){return handleExternal(k[me.request],undefined,P)}}P()};handleExternals(this.externals,P)}))}}k.exports=ExternalModuleFactoryPlugin},53757:function(k,v,E){"use strict";const P=E(37368);class ExternalsPlugin{constructor(k,v){this.type=k;this.externals=v}apply(k){k.hooks.compile.tap("ExternalsPlugin",(({normalModuleFactory:k})=>{new P(this.type,this.externals).apply(k)}))}}k.exports=ExternalsPlugin},18144:function(k,v,E){"use strict";const{create:P}=E(90006);const R=E(98188);const L=E(78175);const{isAbsolute:N}=E(71017);const q=E(89262);const ae=E(11333);const le=E(74012);const{join:pe,dirname:me,relative:ye,lstatReadlinkAbsolute:_e}=E(57825);const Ie=E(58528);const Me=E(38254);const Te=+process.versions.modules>=83;const je=new Set(R.builtinModules);let Ne=2e3;const Be=new Set;const qe=0;const Ue=1;const Ge=2;const He=3;const We=4;const Qe=5;const Je=6;const Ve=7;const Ke=8;const Ye=9;const Xe=Symbol("invalid");const Ze=(new Set).keys().next();class SnapshotIterator{constructor(k){this.next=k}}class SnapshotIterable{constructor(k,v){this.snapshot=k;this.getMaps=v}[Symbol.iterator](){let k=0;let v;let E;let P;let R;let L;return new SnapshotIterator((()=>{for(;;){switch(k){case 0:R=this.snapshot;E=this.getMaps;P=E(R);k=1;case 1:if(P.length>0){const E=P.pop();if(E!==undefined){v=E.keys();k=2}else{break}}else{k=3;break}case 2:{const E=v.next();if(!E.done)return E;k=1;break}case 3:{const v=R.children;if(v!==undefined){if(v.size===1){for(const k of v)R=k;P=E(R);k=1;break}if(L===undefined)L=[];for(const k of v){L.push(k)}}if(L!==undefined&&L.length>0){R=L.pop();P=E(R);k=1;break}else{k=4}}case 4:return Ze}}}))}}class Snapshot{constructor(){this._flags=0;this._cachedFileIterable=undefined;this._cachedContextIterable=undefined;this._cachedMissingIterable=undefined;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(k){this._flags=this._flags|1;this.startTime=k}setMergedStartTime(k,v){if(k){if(v.hasStartTime()){this.setStartTime(Math.min(k,v.startTime))}else{this.setStartTime(k)}}else{if(v.hasStartTime())this.setStartTime(v.startTime)}}hasFileTimestamps(){return(this._flags&2)!==0}setFileTimestamps(k){this._flags=this._flags|2;this.fileTimestamps=k}hasFileHashes(){return(this._flags&4)!==0}setFileHashes(k){this._flags=this._flags|4;this.fileHashes=k}hasFileTshs(){return(this._flags&8)!==0}setFileTshs(k){this._flags=this._flags|8;this.fileTshs=k}hasContextTimestamps(){return(this._flags&16)!==0}setContextTimestamps(k){this._flags=this._flags|16;this.contextTimestamps=k}hasContextHashes(){return(this._flags&32)!==0}setContextHashes(k){this._flags=this._flags|32;this.contextHashes=k}hasContextTshs(){return(this._flags&64)!==0}setContextTshs(k){this._flags=this._flags|64;this.contextTshs=k}hasMissingExistence(){return(this._flags&128)!==0}setMissingExistence(k){this._flags=this._flags|128;this.missingExistence=k}hasManagedItemInfo(){return(this._flags&256)!==0}setManagedItemInfo(k){this._flags=this._flags|256;this.managedItemInfo=k}hasManagedFiles(){return(this._flags&512)!==0}setManagedFiles(k){this._flags=this._flags|512;this.managedFiles=k}hasManagedContexts(){return(this._flags&1024)!==0}setManagedContexts(k){this._flags=this._flags|1024;this.managedContexts=k}hasManagedMissing(){return(this._flags&2048)!==0}setManagedMissing(k){this._flags=this._flags|2048;this.managedMissing=k}hasChildren(){return(this._flags&4096)!==0}setChildren(k){this._flags=this._flags|4096;this.children=k}addChild(k){if(!this.hasChildren()){this.setChildren(new Set)}this.children.add(k)}serialize({write:k}){k(this._flags);if(this.hasStartTime())k(this.startTime);if(this.hasFileTimestamps())k(this.fileTimestamps);if(this.hasFileHashes())k(this.fileHashes);if(this.hasFileTshs())k(this.fileTshs);if(this.hasContextTimestamps())k(this.contextTimestamps);if(this.hasContextHashes())k(this.contextHashes);if(this.hasContextTshs())k(this.contextTshs);if(this.hasMissingExistence())k(this.missingExistence);if(this.hasManagedItemInfo())k(this.managedItemInfo);if(this.hasManagedFiles())k(this.managedFiles);if(this.hasManagedContexts())k(this.managedContexts);if(this.hasManagedMissing())k(this.managedMissing);if(this.hasChildren())k(this.children)}deserialize({read:k}){this._flags=k();if(this.hasStartTime())this.startTime=k();if(this.hasFileTimestamps())this.fileTimestamps=k();if(this.hasFileHashes())this.fileHashes=k();if(this.hasFileTshs())this.fileTshs=k();if(this.hasContextTimestamps())this.contextTimestamps=k();if(this.hasContextHashes())this.contextHashes=k();if(this.hasContextTshs())this.contextTshs=k();if(this.hasMissingExistence())this.missingExistence=k();if(this.hasManagedItemInfo())this.managedItemInfo=k();if(this.hasManagedFiles())this.managedFiles=k();if(this.hasManagedContexts())this.managedContexts=k();if(this.hasManagedMissing())this.managedMissing=k();if(this.hasChildren())this.children=k()}_createIterable(k){return new SnapshotIterable(this,k)}getFileIterable(){if(this._cachedFileIterable===undefined){this._cachedFileIterable=this._createIterable((k=>[k.fileTimestamps,k.fileHashes,k.fileTshs,k.managedFiles]))}return this._cachedFileIterable}getContextIterable(){if(this._cachedContextIterable===undefined){this._cachedContextIterable=this._createIterable((k=>[k.contextTimestamps,k.contextHashes,k.contextTshs,k.managedContexts]))}return this._cachedContextIterable}getMissingIterable(){if(this._cachedMissingIterable===undefined){this._cachedMissingIterable=this._createIterable((k=>[k.missingExistence,k.managedMissing]))}return this._cachedMissingIterable}}Ie(Snapshot,"webpack/lib/FileSystemInfo","Snapshot");const et=3;class SnapshotOptimization{constructor(k,v,E,P=true,R=false){this._has=k;this._get=v;this._set=E;this._useStartTime=P;this._isSet=R;this._map=new Map;this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}getStatisticMessage(){const k=this._statItemsShared+this._statItemsUnshared;if(k===0)return undefined;return`${this._statItemsShared&&Math.round(this._statItemsShared*100/k)}% (${this._statItemsShared}/${k}) entries shared via ${this._statSharedSnapshots} shared snapshots (${this._statReusedSharedSnapshots+this._statSharedSnapshots} times referenced)`}clear(){this._map.clear();this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}optimize(k,v){const increaseSharedAndStoreOptimizationEntry=k=>{if(k.children!==undefined){k.children.forEach(increaseSharedAndStoreOptimizationEntry)}k.shared++;storeOptimizationEntry(k)};const storeOptimizationEntry=k=>{for(const E of k.snapshotContent){const P=this._map.get(E);if(P.shared0){if(this._useStartTime&&k.startTime&&(!P.startTime||P.startTime>k.startTime)){continue}const R=new Set;const L=E.snapshotContent;const N=this._get(P);for(const k of L){if(!v.has(k)){if(!N.has(k)){continue e}R.add(k);continue}}if(R.size===0){k.addChild(P);increaseSharedAndStoreOptimizationEntry(E);this._statReusedSharedSnapshots++}else{const v=L.size-R.size;if(v{if(k[0]==="'")k=`"${k.slice(1,-1).replace(/"/g,'\\"')}"`;return JSON.parse(k)};const applyMtime=k=>{if(Ne>1&&k%2!==0)Ne=1;else if(Ne>10&&k%20!==0)Ne=10;else if(Ne>100&&k%200!==0)Ne=100;else if(Ne>1e3&&k%2e3!==0)Ne=1e3};const mergeMaps=(k,v)=>{if(!v||v.size===0)return k;if(!k||k.size===0)return v;const E=new Map(k);for(const[k,P]of v){E.set(k,P)}return E};const mergeSets=(k,v)=>{if(!v||v.size===0)return k;if(!k||k.size===0)return v;const E=new Set(k);for(const k of v){E.add(k)}return E};const getManagedItem=(k,v)=>{let E=k.length;let P=1;let R=true;e:while(E=E+13&&v.charCodeAt(E+1)===110&&v.charCodeAt(E+2)===111&&v.charCodeAt(E+3)===100&&v.charCodeAt(E+4)===101&&v.charCodeAt(E+5)===95&&v.charCodeAt(E+6)===109&&v.charCodeAt(E+7)===111&&v.charCodeAt(E+8)===100&&v.charCodeAt(E+9)===117&&v.charCodeAt(E+10)===108&&v.charCodeAt(E+11)===101&&v.charCodeAt(E+12)===115){if(v.length===E+13){return v}const k=v.charCodeAt(E+13);if(k===47||k===92){return getManagedItem(v.slice(0,E+14),v)}}return v.slice(0,E)};const getResolvedTimestamp=k=>{if(k===null)return null;if(k.resolved!==undefined)return k.resolved;return k.symlinks===undefined?k:undefined};const getResolvedHash=k=>{if(k===null)return null;if(k.resolved!==undefined)return k.resolved;return k.symlinks===undefined?k.hash:undefined};const addAll=(k,v)=>{for(const E of k)v.add(E)};class FileSystemInfo{constructor(k,{managedPaths:v=[],immutablePaths:E=[],logger:P,hashFunction:R="md4"}={}){this.fs=k;this.logger=P;this._remainingLogs=P?40:0;this._loggedPaths=P?new Set:undefined;this._hashFunction=R;this._snapshotCache=new WeakMap;this._fileTimestampsOptimization=new SnapshotOptimization((k=>k.hasFileTimestamps()),(k=>k.fileTimestamps),((k,v)=>k.setFileTimestamps(v)));this._fileHashesOptimization=new SnapshotOptimization((k=>k.hasFileHashes()),(k=>k.fileHashes),((k,v)=>k.setFileHashes(v)),false);this._fileTshsOptimization=new SnapshotOptimization((k=>k.hasFileTshs()),(k=>k.fileTshs),((k,v)=>k.setFileTshs(v)));this._contextTimestampsOptimization=new SnapshotOptimization((k=>k.hasContextTimestamps()),(k=>k.contextTimestamps),((k,v)=>k.setContextTimestamps(v)));this._contextHashesOptimization=new SnapshotOptimization((k=>k.hasContextHashes()),(k=>k.contextHashes),((k,v)=>k.setContextHashes(v)),false);this._contextTshsOptimization=new SnapshotOptimization((k=>k.hasContextTshs()),(k=>k.contextTshs),((k,v)=>k.setContextTshs(v)));this._missingExistenceOptimization=new SnapshotOptimization((k=>k.hasMissingExistence()),(k=>k.missingExistence),((k,v)=>k.setMissingExistence(v)),false);this._managedItemInfoOptimization=new SnapshotOptimization((k=>k.hasManagedItemInfo()),(k=>k.managedItemInfo),((k,v)=>k.setManagedItemInfo(v)),false);this._managedFilesOptimization=new SnapshotOptimization((k=>k.hasManagedFiles()),(k=>k.managedFiles),((k,v)=>k.setManagedFiles(v)),false,true);this._managedContextsOptimization=new SnapshotOptimization((k=>k.hasManagedContexts()),(k=>k.managedContexts),((k,v)=>k.setManagedContexts(v)),false,true);this._managedMissingOptimization=new SnapshotOptimization((k=>k.hasManagedMissing()),(k=>k.managedMissing),((k,v)=>k.setManagedMissing(v)),false,true);this._fileTimestamps=new ae;this._fileHashes=new Map;this._fileTshs=new Map;this._contextTimestamps=new ae;this._contextHashes=new Map;this._contextTshs=new Map;this._managedItems=new Map;this.fileTimestampQueue=new q({name:"file timestamp",parallelism:30,processor:this._readFileTimestamp.bind(this)});this.fileHashQueue=new q({name:"file hash",parallelism:10,processor:this._readFileHash.bind(this)});this.contextTimestampQueue=new q({name:"context timestamp",parallelism:2,processor:this._readContextTimestamp.bind(this)});this.contextHashQueue=new q({name:"context hash",parallelism:2,processor:this._readContextHash.bind(this)});this.contextTshQueue=new q({name:"context hash and timestamp",parallelism:2,processor:this._readContextTimestampAndHash.bind(this)});this.managedItemQueue=new q({name:"managed item info",parallelism:10,processor:this._getManagedItemInfo.bind(this)});this.managedItemDirectoryQueue=new q({name:"managed item directory info",parallelism:10,processor:this._getManagedItemDirectoryInfo.bind(this)});this.managedPaths=Array.from(v);this.managedPathsWithSlash=this.managedPaths.filter((k=>typeof k==="string")).map((v=>pe(k,v,"_").slice(0,-1)));this.managedPathsRegExps=this.managedPaths.filter((k=>typeof k!=="string"));this.immutablePaths=Array.from(E);this.immutablePathsWithSlash=this.immutablePaths.filter((k=>typeof k==="string")).map((v=>pe(k,v,"_").slice(0,-1)));this.immutablePathsRegExps=this.immutablePaths.filter((k=>typeof k!=="string"));this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._warnAboutExperimentalEsmTracking=false;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}logStatistics(){const logWhenMessage=(k,v)=>{if(v){this.logger.log(`${k}: ${v}`)}};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`);logWhenMessage(`File timestamp snapshot optimization`,this._fileTimestampsOptimization.getStatisticMessage());logWhenMessage(`File hash snapshot optimization`,this._fileHashesOptimization.getStatisticMessage());logWhenMessage(`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`);logWhenMessage(`Directory timestamp snapshot optimization`,this._contextTimestampsOptimization.getStatisticMessage());logWhenMessage(`Directory hash snapshot optimization`,this._contextHashesOptimization.getStatisticMessage());logWhenMessage(`Directory timestamp hash combination snapshot optimization`,this._contextTshsOptimization.getStatisticMessage());logWhenMessage(`Missing items snapshot optimization`,this._missingExistenceOptimization.getStatisticMessage());this.logger.log(`Managed items info in cache: ${this._managedItems.size} items`);logWhenMessage(`Managed items snapshot optimization`,this._managedItemInfoOptimization.getStatisticMessage());logWhenMessage(`Managed files snapshot optimization`,this._managedFilesOptimization.getStatisticMessage());logWhenMessage(`Managed contexts snapshot optimization`,this._managedContextsOptimization.getStatisticMessage());logWhenMessage(`Managed missing snapshot optimization`,this._managedMissingOptimization.getStatisticMessage())}_log(k,v,...E){const P=k+v;if(this._loggedPaths.has(P))return;this._loggedPaths.add(P);this.logger.debug(`${k} invalidated because ${v}`,...E);if(--this._remainingLogs===0){this.logger.debug("Logging limit has been reached and no further logging will be emitted by FileSystemInfo")}}clear(){this._remainingLogs=this.logger?40:0;if(this._loggedPaths!==undefined)this._loggedPaths.clear();this._snapshotCache=new WeakMap;this._fileTimestampsOptimization.clear();this._fileHashesOptimization.clear();this._fileTshsOptimization.clear();this._contextTimestampsOptimization.clear();this._contextHashesOptimization.clear();this._contextTshsOptimization.clear();this._missingExistenceOptimization.clear();this._managedItemInfoOptimization.clear();this._managedFilesOptimization.clear();this._managedContextsOptimization.clear();this._managedMissingOptimization.clear();this._fileTimestamps.clear();this._fileHashes.clear();this._fileTshs.clear();this._contextTimestamps.clear();this._contextHashes.clear();this._contextTshs.clear();this._managedItems.clear();this._managedItems.clear();this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}addFileTimestamps(k,v){this._fileTimestamps.addAll(k,v);this._cachedDeprecatedFileTimestamps=undefined}addContextTimestamps(k,v){this._contextTimestamps.addAll(k,v);this._cachedDeprecatedContextTimestamps=undefined}getFileTimestamp(k,v){const E=this._fileTimestamps.get(k);if(E!==undefined)return v(null,E);this.fileTimestampQueue.add(k,v)}getContextTimestamp(k,v){const E=this._contextTimestamps.get(k);if(E!==undefined){if(E==="ignore")return v(null,"ignore");const k=getResolvedTimestamp(E);if(k!==undefined)return v(null,k);return this._resolveContextTimestamp(E,v)}this.contextTimestampQueue.add(k,((k,E)=>{if(k)return v(k);const P=getResolvedTimestamp(E);if(P!==undefined)return v(null,P);this._resolveContextTimestamp(E,v)}))}_getUnresolvedContextTimestamp(k,v){const E=this._contextTimestamps.get(k);if(E!==undefined)return v(null,E);this.contextTimestampQueue.add(k,v)}getFileHash(k,v){const E=this._fileHashes.get(k);if(E!==undefined)return v(null,E);this.fileHashQueue.add(k,v)}getContextHash(k,v){const E=this._contextHashes.get(k);if(E!==undefined){const k=getResolvedHash(E);if(k!==undefined)return v(null,k);return this._resolveContextHash(E,v)}this.contextHashQueue.add(k,((k,E)=>{if(k)return v(k);const P=getResolvedHash(E);if(P!==undefined)return v(null,P);this._resolveContextHash(E,v)}))}_getUnresolvedContextHash(k,v){const E=this._contextHashes.get(k);if(E!==undefined)return v(null,E);this.contextHashQueue.add(k,v)}getContextTsh(k,v){const E=this._contextTshs.get(k);if(E!==undefined){const k=getResolvedTimestamp(E);if(k!==undefined)return v(null,k);return this._resolveContextTsh(E,v)}this.contextTshQueue.add(k,((k,E)=>{if(k)return v(k);const P=getResolvedTimestamp(E);if(P!==undefined)return v(null,P);this._resolveContextTsh(E,v)}))}_getUnresolvedContextTsh(k,v){const E=this._contextTshs.get(k);if(E!==undefined)return v(null,E);this.contextTshQueue.add(k,v)}_createBuildDependenciesResolvers(){const k=P({resolveToContext:true,exportsFields:[],fileSystem:this.fs});const v=P({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:["exports"],fileSystem:this.fs});const E=P({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:[],fileSystem:this.fs});const R=P({extensions:[".js",".json",".node"],fullySpecified:true,conditionNames:["import","node"],exportsFields:["exports"],fileSystem:this.fs});return{resolveContext:k,resolveEsm:R,resolveCjs:v,resolveCjsAsChild:E}}resolveBuildDependencies(k,v,P){const{resolveContext:R,resolveEsm:L,resolveCjs:q,resolveCjsAsChild:ae}=this._createBuildDependenciesResolvers();const le=new Set;const _e=new Set;const Ie=new Set;const Ne=new Set;const Be=new Set;const Xe=new Set;const Ze=new Set;const et=new Set;const tt=new Map;const nt=new Set;const st={fileDependencies:Xe,contextDependencies:Ze,missingDependencies:et};const expectedToString=k=>k?` (expected ${k})`:"";const jobToString=k=>{switch(k.type){case qe:return`resolve commonjs ${k.path}${expectedToString(k.expected)}`;case Ue:return`resolve esm ${k.path}${expectedToString(k.expected)}`;case Ge:return`resolve directory ${k.path}`;case He:return`resolve commonjs file ${k.path}${expectedToString(k.expected)}`;case Qe:return`resolve esm file ${k.path}${expectedToString(k.expected)}`;case Je:return`directory ${k.path}`;case Ve:return`file ${k.path}`;case Ke:return`directory dependencies ${k.path}`;case Ye:return`file dependencies ${k.path}`}return`unknown ${k.type} ${k.path}`};const pathToString=k=>{let v=` at ${jobToString(k)}`;k=k.issuer;while(k!==undefined){v+=`\n at ${jobToString(k)}`;k=k.issuer}return v};Me(Array.from(v,(v=>({type:qe,context:k,path:v,expected:undefined,issuer:undefined}))),20,((k,v,P)=>{const{type:Me,context:Be,path:Ze,expected:rt}=k;const resolveDirectory=E=>{const L=`d\n${Be}\n${E}`;if(tt.has(L)){return P()}tt.set(L,undefined);R(Be,E,st,((R,N,q)=>{if(R){if(rt===false){tt.set(L,false);return P()}nt.add(L);R.message+=`\nwhile resolving '${E}' in ${Be} to a directory`;return P(R)}const ae=q.path;tt.set(L,ae);v({type:Je,context:undefined,path:ae,expected:undefined,issuer:k});P()}))};const resolveFile=(E,R,L)=>{const N=`${R}\n${Be}\n${E}`;if(tt.has(N)){return P()}tt.set(N,undefined);L(Be,E,st,((R,L,q)=>{if(typeof rt==="string"){if(!R&&q&&q.path===rt){tt.set(N,q.path)}else{nt.add(N);this.logger.warn(`Resolving '${E}' in ${Be} for build dependencies doesn't lead to expected result '${rt}', but to '${R||q&&q.path}' instead. Resolving dependencies are ignored for this path.\n${pathToString(k)}`)}}else{if(R){if(rt===false){tt.set(N,false);return P()}nt.add(N);R.message+=`\nwhile resolving '${E}' in ${Be} as file\n${pathToString(k)}`;return P(R)}const L=q.path;tt.set(N,L);v({type:Ve,context:undefined,path:L,expected:undefined,issuer:k})}P()}))};switch(Me){case qe:{const k=/[\\/]$/.test(Ze);if(k){resolveDirectory(Ze.slice(0,Ze.length-1))}else{resolveFile(Ze,"f",q)}break}case Ue:{const k=/[\\/]$/.test(Ze);if(k){resolveDirectory(Ze.slice(0,Ze.length-1))}else{resolveFile(Ze)}break}case Ge:{resolveDirectory(Ze);break}case He:{resolveFile(Ze,"f",q);break}case We:{resolveFile(Ze,"c",ae);break}case Qe:{resolveFile(Ze,"e",L);break}case Ve:{if(le.has(Ze)){P();break}le.add(Ze);this.fs.realpath(Ze,((E,R)=>{if(E)return P(E);const L=R;if(L!==Ze){_e.add(Ze);Xe.add(Ze);if(le.has(L))return P();le.add(L)}v({type:Ye,context:undefined,path:L,expected:undefined,issuer:k});P()}));break}case Je:{if(Ie.has(Ze)){P();break}Ie.add(Ze);this.fs.realpath(Ze,((E,R)=>{if(E)return P(E);const L=R;if(L!==Ze){Ne.add(Ze);Xe.add(Ze);if(Ie.has(L))return P();Ie.add(L)}v({type:Ke,context:undefined,path:L,expected:undefined,issuer:k});P()}));break}case Ye:{if(/\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test(Ze)){process.nextTick(P);break}const R=require.cache[Ze];if(R&&Array.isArray(R.children)){e:for(const E of R.children){let P=E.filename;if(P){v({type:Ve,context:undefined,path:P,expected:undefined,issuer:k});const L=me(this.fs,Ze);for(const N of R.paths){if(P.startsWith(N)){let R=P.slice(N.length+1);const q=/^(@[^\\/]+[\\/])[^\\/]+/.exec(R);if(q){v({type:Ve,context:undefined,path:N+P[N.length]+q[0]+P[N.length]+"package.json",expected:false,issuer:k})}let ae=R.replace(/\\/g,"/");if(ae.endsWith(".js"))ae=ae.slice(0,-3);v({type:We,context:L,path:ae,expected:E.filename,issuer:k});continue e}}let q=ye(this.fs,L,P);if(q.endsWith(".js"))q=q.slice(0,-3);q=q.replace(/\\/g,"/");if(!q.startsWith("../")&&!N(q)){q=`./${q}`}v({type:He,context:L,path:q,expected:E.filename,issuer:k})}}}else if(Te&&/\.m?js$/.test(Ze)){if(!this._warnAboutExperimentalEsmTracking){this.logger.log("Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n"+"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n"+"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.");this._warnAboutExperimentalEsmTracking=true}const R=E(97998);R.init.then((()=>{this.fs.readFile(Ze,((E,L)=>{if(E)return P(E);try{const E=me(this.fs,Ze);const P=L.toString();const[N]=R.parse(P);for(const R of N){try{let L;if(R.d===-1){L=parseString(P.substring(R.s-1,R.e+1))}else if(R.d>-1){let k=P.substring(R.s,R.e).trim();L=parseString(k)}else{continue}if(L.startsWith("node:"))continue;if(je.has(L))continue;v({type:Qe,context:E,path:L,expected:undefined,issuer:k})}catch(v){this.logger.warn(`Parsing of ${Ze} for build dependencies failed at 'import(${P.substring(R.s,R.e)})'.\n`+"Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.");this.logger.debug(pathToString(k));this.logger.debug(v.stack)}}}catch(v){this.logger.warn(`Parsing of ${Ze} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..`);this.logger.debug(pathToString(k));this.logger.debug(v.stack)}process.nextTick(P)}))}),P);break}else{this.logger.log(`Assuming ${Ze} has no dependencies as we were unable to assign it to any module system.`);this.logger.debug(pathToString(k))}process.nextTick(P);break}case Ke:{const E=/(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec(Ze);const R=E?E[1]:Ze;const L=pe(this.fs,R,"package.json");this.fs.readFile(L,((E,N)=>{if(E){if(E.code==="ENOENT"){et.add(L);const E=me(this.fs,R);if(E!==R){v({type:Ke,context:undefined,path:E,expected:undefined,issuer:k})}P();return}return P(E)}Xe.add(L);let q;try{q=JSON.parse(N.toString("utf-8"))}catch(k){return P(k)}const ae=q.dependencies;const le=q.optionalDependencies;const pe=new Set;const ye=new Set;if(typeof ae==="object"&&ae){for(const k of Object.keys(ae)){pe.add(k)}}if(typeof le==="object"&&le){for(const k of Object.keys(le)){pe.add(k);ye.add(k)}}for(const E of pe){v({type:Ge,context:R,path:E,expected:!ye.has(E),issuer:k})}P()}));break}}}),(k=>{if(k)return P(k);for(const k of _e)le.delete(k);for(const k of Ne)Ie.delete(k);for(const k of nt)tt.delete(k);P(null,{files:le,directories:Ie,missing:Be,resolveResults:tt,resolveDependencies:{files:Xe,directories:Ze,missing:et}})}))}checkResolveResultsValid(k,v){const{resolveCjs:E,resolveCjsAsChild:P,resolveEsm:R,resolveContext:N}=this._createBuildDependenciesResolvers();L.eachLimit(k,20,(([k,v],L)=>{const[q,ae,le]=k.split("\n");switch(q){case"d":N(ae,le,{},((k,E,P)=>{if(v===false)return L(k?undefined:Xe);if(k)return L(k);const R=P.path;if(R!==v)return L(Xe);L()}));break;case"f":E(ae,le,{},((k,E,P)=>{if(v===false)return L(k?undefined:Xe);if(k)return L(k);const R=P.path;if(R!==v)return L(Xe);L()}));break;case"c":P(ae,le,{},((k,E,P)=>{if(v===false)return L(k?undefined:Xe);if(k)return L(k);const R=P.path;if(R!==v)return L(Xe);L()}));break;case"e":R(ae,le,{},((k,E,P)=>{if(v===false)return L(k?undefined:Xe);if(k)return L(k);const R=P.path;if(R!==v)return L(Xe);L()}));break;default:L(new Error("Unexpected type in resolve result key"));break}}),(k=>{if(k===Xe){return v(null,false)}if(k){return v(k)}return v(null,true)}))}createSnapshot(k,v,E,P,R,L){const N=new Map;const q=new Map;const ae=new Map;const le=new Map;const me=new Map;const ye=new Map;const _e=new Map;const Ie=new Map;const Me=new Set;const Te=new Set;const je=new Set;const Ne=new Set;const Be=new Snapshot;if(k)Be.setStartTime(k);const qe=new Set;const Ue=R&&R.hash?R.timestamp?3:2:1;let Ge=1;const jobDone=()=>{if(--Ge===0){if(N.size!==0){Be.setFileTimestamps(N)}if(q.size!==0){Be.setFileHashes(q)}if(ae.size!==0){Be.setFileTshs(ae)}if(le.size!==0){Be.setContextTimestamps(le)}if(me.size!==0){Be.setContextHashes(me)}if(ye.size!==0){Be.setContextTshs(ye)}if(_e.size!==0){Be.setMissingExistence(_e)}if(Ie.size!==0){Be.setManagedItemInfo(Ie)}this._managedFilesOptimization.optimize(Be,Me);if(Me.size!==0){Be.setManagedFiles(Me)}this._managedContextsOptimization.optimize(Be,Te);if(Te.size!==0){Be.setManagedContexts(Te)}this._managedMissingOptimization.optimize(Be,je);if(je.size!==0){Be.setManagedMissing(je)}if(Ne.size!==0){Be.setChildren(Ne)}this._snapshotCache.set(Be,true);this._statCreatedSnapshots++;L(null,Be)}};const jobError=()=>{if(Ge>0){Ge=-1e8;L(null,null)}};const checkManaged=(k,v)=>{for(const E of this.immutablePathsRegExps){if(E.test(k)){v.add(k);return true}}for(const E of this.immutablePathsWithSlash){if(k.startsWith(E)){v.add(k);return true}}for(const E of this.managedPathsRegExps){const P=E.exec(k);if(P){const E=getManagedItem(P[1],k);if(E){qe.add(E);v.add(k);return true}}}for(const E of this.managedPathsWithSlash){if(k.startsWith(E)){const P=getManagedItem(E,k);if(P){qe.add(P);v.add(k);return true}}}return false};const captureNonManaged=(k,v)=>{const E=new Set;for(const P of k){if(!checkManaged(P,v))E.add(P)}return E};const processCapturedFiles=k=>{switch(Ue){case 3:this._fileTshsOptimization.optimize(Be,k);for(const v of k){const k=this._fileTshs.get(v);if(k!==undefined){ae.set(v,k)}else{Ge++;this._getFileTimestampAndHash(v,((k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting file timestamp hash combination of ${v}: ${k.stack}`)}jobError()}else{ae.set(v,E);jobDone()}}))}}break;case 2:this._fileHashesOptimization.optimize(Be,k);for(const v of k){const k=this._fileHashes.get(v);if(k!==undefined){q.set(v,k)}else{Ge++;this.fileHashQueue.add(v,((k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting file hash of ${v}: ${k.stack}`)}jobError()}else{q.set(v,E);jobDone()}}))}}break;case 1:this._fileTimestampsOptimization.optimize(Be,k);for(const v of k){const k=this._fileTimestamps.get(v);if(k!==undefined){if(k!=="ignore"){N.set(v,k)}}else{Ge++;this.fileTimestampQueue.add(v,((k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting file timestamp of ${v}: ${k.stack}`)}jobError()}else{N.set(v,E);jobDone()}}))}}break}};if(v){processCapturedFiles(captureNonManaged(v,Me))}const processCapturedDirectories=k=>{switch(Ue){case 3:this._contextTshsOptimization.optimize(Be,k);for(const v of k){const k=this._contextTshs.get(v);let E;if(k!==undefined&&(E=getResolvedTimestamp(k))!==undefined){ye.set(v,E)}else{Ge++;const callback=(k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting context timestamp hash combination of ${v}: ${k.stack}`)}jobError()}else{ye.set(v,E);jobDone()}};if(k!==undefined){this._resolveContextTsh(k,callback)}else{this.getContextTsh(v,callback)}}}break;case 2:this._contextHashesOptimization.optimize(Be,k);for(const v of k){const k=this._contextHashes.get(v);let E;if(k!==undefined&&(E=getResolvedHash(k))!==undefined){me.set(v,E)}else{Ge++;const callback=(k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting context hash of ${v}: ${k.stack}`)}jobError()}else{me.set(v,E);jobDone()}};if(k!==undefined){this._resolveContextHash(k,callback)}else{this.getContextHash(v,callback)}}}break;case 1:this._contextTimestampsOptimization.optimize(Be,k);for(const v of k){const k=this._contextTimestamps.get(v);if(k==="ignore")continue;let E;if(k!==undefined&&(E=getResolvedTimestamp(k))!==undefined){le.set(v,E)}else{Ge++;const callback=(k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting context timestamp of ${v}: ${k.stack}`)}jobError()}else{le.set(v,E);jobDone()}};if(k!==undefined){this._resolveContextTimestamp(k,callback)}else{this.getContextTimestamp(v,callback)}}}break}};if(E){processCapturedDirectories(captureNonManaged(E,Te))}const processCapturedMissing=k=>{this._missingExistenceOptimization.optimize(Be,k);for(const v of k){const k=this._fileTimestamps.get(v);if(k!==undefined){if(k!=="ignore"){_e.set(v,Boolean(k))}}else{Ge++;this.fileTimestampQueue.add(v,((k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting missing timestamp of ${v}: ${k.stack}`)}jobError()}else{_e.set(v,Boolean(E));jobDone()}}))}}};if(P){processCapturedMissing(captureNonManaged(P,je))}this._managedItemInfoOptimization.optimize(Be,qe);for(const k of qe){const v=this._managedItems.get(k);if(v!==undefined){if(!v.startsWith("*")){Me.add(pe(this.fs,k,"package.json"))}else if(v==="*nested"){je.add(pe(this.fs,k,"package.json"))}Ie.set(k,v)}else{Ge++;this.managedItemQueue.add(k,((E,P)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting managed item ${k}: ${E.stack}`)}jobError()}else if(P){if(!P.startsWith("*")){Me.add(pe(this.fs,k,"package.json"))}else if(v==="*nested"){je.add(pe(this.fs,k,"package.json"))}Ie.set(k,P);jobDone()}else{const process=(v,E)=>{if(v.size===0)return;const P=new Set;for(const E of v){if(E.startsWith(k))P.add(E)}if(P.size>0)E(P)};process(Me,processCapturedFiles);process(Te,processCapturedDirectories);process(je,processCapturedMissing);jobDone()}}))}}jobDone()}mergeSnapshots(k,v){const E=new Snapshot;if(k.hasStartTime()&&v.hasStartTime())E.setStartTime(Math.min(k.startTime,v.startTime));else if(v.hasStartTime())E.startTime=v.startTime;else if(k.hasStartTime())E.startTime=k.startTime;if(k.hasFileTimestamps()||v.hasFileTimestamps()){E.setFileTimestamps(mergeMaps(k.fileTimestamps,v.fileTimestamps))}if(k.hasFileHashes()||v.hasFileHashes()){E.setFileHashes(mergeMaps(k.fileHashes,v.fileHashes))}if(k.hasFileTshs()||v.hasFileTshs()){E.setFileTshs(mergeMaps(k.fileTshs,v.fileTshs))}if(k.hasContextTimestamps()||v.hasContextTimestamps()){E.setContextTimestamps(mergeMaps(k.contextTimestamps,v.contextTimestamps))}if(k.hasContextHashes()||v.hasContextHashes()){E.setContextHashes(mergeMaps(k.contextHashes,v.contextHashes))}if(k.hasContextTshs()||v.hasContextTshs()){E.setContextTshs(mergeMaps(k.contextTshs,v.contextTshs))}if(k.hasMissingExistence()||v.hasMissingExistence()){E.setMissingExistence(mergeMaps(k.missingExistence,v.missingExistence))}if(k.hasManagedItemInfo()||v.hasManagedItemInfo()){E.setManagedItemInfo(mergeMaps(k.managedItemInfo,v.managedItemInfo))}if(k.hasManagedFiles()||v.hasManagedFiles()){E.setManagedFiles(mergeSets(k.managedFiles,v.managedFiles))}if(k.hasManagedContexts()||v.hasManagedContexts()){E.setManagedContexts(mergeSets(k.managedContexts,v.managedContexts))}if(k.hasManagedMissing()||v.hasManagedMissing()){E.setManagedMissing(mergeSets(k.managedMissing,v.managedMissing))}if(k.hasChildren()||v.hasChildren()){E.setChildren(mergeSets(k.children,v.children))}if(this._snapshotCache.get(k)===true&&this._snapshotCache.get(v)===true){this._snapshotCache.set(E,true)}return E}checkSnapshotValid(k,v){const E=this._snapshotCache.get(k);if(E!==undefined){this._statTestedSnapshotsCached++;if(typeof E==="boolean"){v(null,E)}else{E.push(v)}return}this._statTestedSnapshotsNotCached++;this._checkSnapshotValidNoCache(k,v)}_checkSnapshotValidNoCache(k,v){let E=undefined;if(k.hasStartTime()){E=k.startTime}let P=1;const jobDone=()=>{if(--P===0){this._snapshotCache.set(k,true);v(null,true)}};const invalid=()=>{if(P>0){P=-1e8;this._snapshotCache.set(k,false);v(null,false)}};const invalidWithError=(k,v)=>{if(this._remainingLogs>0){this._log(k,`error occurred: %s`,v)}invalid()};const checkHash=(k,v,E)=>{if(v!==E){if(this._remainingLogs>0){this._log(k,`hashes differ (%s != %s)`,v,E)}return false}return true};const checkExistence=(k,v,E)=>{if(!v!==!E){if(this._remainingLogs>0){this._log(k,v?"it didn't exist before":"it does no longer exist")}return false}return true};const checkFile=(k,v,P,R=true)=>{if(v===P)return true;if(!checkExistence(k,Boolean(v),Boolean(P)))return false;if(v){if(typeof E==="number"&&v.safeTime>E){if(R&&this._remainingLogs>0){this._log(k,`it may have changed (%d) after the start time of the snapshot (%d)`,v.safeTime,E)}return false}if(P.timestamp!==undefined&&v.timestamp!==P.timestamp){if(R&&this._remainingLogs>0){this._log(k,`timestamps differ (%d != %d)`,v.timestamp,P.timestamp)}return false}}return true};const checkContext=(k,v,P,R=true)=>{if(v===P)return true;if(!checkExistence(k,Boolean(v),Boolean(P)))return false;if(v){if(typeof E==="number"&&v.safeTime>E){if(R&&this._remainingLogs>0){this._log(k,`it may have changed (%d) after the start time of the snapshot (%d)`,v.safeTime,E)}return false}if(P.timestampHash!==undefined&&v.timestampHash!==P.timestampHash){if(R&&this._remainingLogs>0){this._log(k,`timestamps hashes differ (%s != %s)`,v.timestampHash,P.timestampHash)}return false}}return true};if(k.hasChildren()){const childCallback=(k,v)=>{if(k||!v)return invalid();else jobDone()};for(const v of k.children){const k=this._snapshotCache.get(v);if(k!==undefined){this._statTestedChildrenCached++;if(typeof k==="boolean"){if(k===false){invalid();return}}else{P++;k.push(childCallback)}}else{this._statTestedChildrenNotCached++;P++;this._checkSnapshotValidNoCache(v,childCallback)}}}if(k.hasFileTimestamps()){const{fileTimestamps:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){const v=this._fileTimestamps.get(k);if(v!==undefined){if(v!=="ignore"&&!checkFile(k,v,E)){invalid();return}}else{P++;this.fileTimestampQueue.add(k,((v,P)=>{if(v)return invalidWithError(k,v);if(!checkFile(k,P,E)){invalid()}else{jobDone()}}))}}}const processFileHashSnapshot=(k,v)=>{const E=this._fileHashes.get(k);if(E!==undefined){if(E!=="ignore"&&!checkHash(k,E,v)){invalid();return}}else{P++;this.fileHashQueue.add(k,((E,P)=>{if(E)return invalidWithError(k,E);if(!checkHash(k,P,v)){invalid()}else{jobDone()}}))}};if(k.hasFileHashes()){const{fileHashes:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){processFileHashSnapshot(k,E)}}if(k.hasFileTshs()){const{fileTshs:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){if(typeof E==="string"){processFileHashSnapshot(k,E)}else{const v=this._fileTimestamps.get(k);if(v!==undefined){if(v==="ignore"||!checkFile(k,v,E,false)){processFileHashSnapshot(k,E&&E.hash)}}else{P++;this.fileTimestampQueue.add(k,((v,P)=>{if(v)return invalidWithError(k,v);if(!checkFile(k,P,E,false)){processFileHashSnapshot(k,E&&E.hash)}jobDone()}))}}}}if(k.hasContextTimestamps()){const{contextTimestamps:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){const v=this._contextTimestamps.get(k);if(v==="ignore")continue;let R;if(v!==undefined&&(R=getResolvedTimestamp(v))!==undefined){if(!checkContext(k,R,E)){invalid();return}}else{P++;const callback=(v,P)=>{if(v)return invalidWithError(k,v);if(!checkContext(k,P,E)){invalid()}else{jobDone()}};if(v!==undefined){this._resolveContextTimestamp(v,callback)}else{this.getContextTimestamp(k,callback)}}}}const processContextHashSnapshot=(k,v)=>{const E=this._contextHashes.get(k);let R;if(E!==undefined&&(R=getResolvedHash(E))!==undefined){if(!checkHash(k,R,v)){invalid();return}}else{P++;const callback=(E,P)=>{if(E)return invalidWithError(k,E);if(!checkHash(k,P,v)){invalid()}else{jobDone()}};if(E!==undefined){this._resolveContextHash(E,callback)}else{this.getContextHash(k,callback)}}};if(k.hasContextHashes()){const{contextHashes:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){processContextHashSnapshot(k,E)}}if(k.hasContextTshs()){const{contextTshs:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){if(typeof E==="string"){processContextHashSnapshot(k,E)}else{const v=this._contextTimestamps.get(k);if(v==="ignore")continue;let R;if(v!==undefined&&(R=getResolvedTimestamp(v))!==undefined){if(!checkContext(k,R,E,false)){processContextHashSnapshot(k,E&&E.hash)}}else{P++;const callback=(v,P)=>{if(v)return invalidWithError(k,v);if(!checkContext(k,P,E,false)){processContextHashSnapshot(k,E&&E.hash)}jobDone()};if(v!==undefined){this._resolveContextTimestamp(v,callback)}else{this.getContextTimestamp(k,callback)}}}}}if(k.hasMissingExistence()){const{missingExistence:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){const v=this._fileTimestamps.get(k);if(v!==undefined){if(v!=="ignore"&&!checkExistence(k,Boolean(v),Boolean(E))){invalid();return}}else{P++;this.fileTimestampQueue.add(k,((v,P)=>{if(v)return invalidWithError(k,v);if(!checkExistence(k,Boolean(P),Boolean(E))){invalid()}else{jobDone()}}))}}}if(k.hasManagedItemInfo()){const{managedItemInfo:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){const v=this._managedItems.get(k);if(v!==undefined){if(!checkHash(k,v,E)){invalid();return}}else{P++;this.managedItemQueue.add(k,((v,P)=>{if(v)return invalidWithError(k,v);if(!checkHash(k,P,E)){invalid()}else{jobDone()}}))}}}jobDone();if(P>0){const E=[v];v=(k,v)=>{for(const P of E)P(k,v)};this._snapshotCache.set(k,E)}}_readFileTimestamp(k,v){this.fs.stat(k,((E,P)=>{if(E){if(E.code==="ENOENT"){this._fileTimestamps.set(k,null);this._cachedDeprecatedFileTimestamps=undefined;return v(null,null)}return v(E)}let R;if(P.isDirectory()){R={safeTime:0,timestamp:undefined}}else{const k=+P.mtime;if(k)applyMtime(k);R={safeTime:k?k+Ne:Infinity,timestamp:k}}this._fileTimestamps.set(k,R);this._cachedDeprecatedFileTimestamps=undefined;v(null,R)}))}_readFileHash(k,v){this.fs.readFile(k,((E,P)=>{if(E){if(E.code==="EISDIR"){this._fileHashes.set(k,"directory");return v(null,"directory")}if(E.code==="ENOENT"){this._fileHashes.set(k,null);return v(null,null)}if(E.code==="ERR_FS_FILE_TOO_LARGE"){this.logger.warn(`Ignoring ${k} for hashing as it's very large`);this._fileHashes.set(k,"too large");return v(null,"too large")}return v(E)}const R=le(this._hashFunction);R.update(P);const L=R.digest("hex");this._fileHashes.set(k,L);v(null,L)}))}_getFileTimestampAndHash(k,v){const continueWithHash=E=>{const P=this._fileTimestamps.get(k);if(P!==undefined){if(P!=="ignore"){const R={...P,hash:E};this._fileTshs.set(k,R);return v(null,R)}else{this._fileTshs.set(k,E);return v(null,E)}}else{this.fileTimestampQueue.add(k,((P,R)=>{if(P){return v(P)}const L={...R,hash:E};this._fileTshs.set(k,L);return v(null,L)}))}};const E=this._fileHashes.get(k);if(E!==undefined){continueWithHash(E)}else{this.fileHashQueue.add(k,((k,E)=>{if(k){return v(k)}continueWithHash(E)}))}}_readContext({path:k,fromImmutablePath:v,fromManagedItem:E,fromSymlink:P,fromFile:R,fromDirectory:N,reduce:q},ae){this.fs.readdir(k,((le,me)=>{if(le){if(le.code==="ENOENT"){return ae(null,null)}return ae(le)}const ye=me.map((k=>k.normalize("NFC"))).filter((k=>!/^\./.test(k))).sort();L.map(ye,((L,q)=>{const ae=pe(this.fs,k,L);for(const E of this.immutablePathsRegExps){if(E.test(k)){return q(null,v(k))}}for(const E of this.immutablePathsWithSlash){if(k.startsWith(E)){return q(null,v(k))}}for(const v of this.managedPathsRegExps){const P=v.exec(k);if(P){const v=getManagedItem(P[1],k);if(v){return this.managedItemQueue.add(v,((k,v)=>{if(k)return q(k);return q(null,E(v))}))}}}for(const v of this.managedPathsWithSlash){if(k.startsWith(v)){const k=getManagedItem(v,ae);if(k){return this.managedItemQueue.add(k,((k,v)=>{if(k)return q(k);return q(null,E(v))}))}}}_e(this.fs,ae,((k,v)=>{if(k)return q(k);if(typeof v==="string"){return P(ae,v,q)}if(v.isFile()){return R(ae,v,q)}if(v.isDirectory()){return N(ae,v,q)}q(null,null)}))}),((k,v)=>{if(k)return ae(k);const E=q(ye,v);ae(null,E)}))}))}_readContextTimestamp(k,v){this._readContext({path:k,fromImmutablePath:()=>null,fromManagedItem:k=>({safeTime:0,timestampHash:k}),fromSymlink:(k,v,E)=>{E(null,{timestampHash:v,symlinks:new Set([v])})},fromFile:(k,v,E)=>{const P=this._fileTimestamps.get(k);if(P!==undefined)return E(null,P==="ignore"?null:P);const R=+v.mtime;if(R)applyMtime(R);const L={safeTime:R?R+Ne:Infinity,timestamp:R};this._fileTimestamps.set(k,L);this._cachedDeprecatedFileTimestamps=undefined;E(null,L)},fromDirectory:(k,v,E)=>{this.contextTimestampQueue.increaseParallelism();this._getUnresolvedContextTimestamp(k,((k,v)=>{this.contextTimestampQueue.decreaseParallelism();E(k,v)}))},reduce:(k,v)=>{let E=undefined;const P=le(this._hashFunction);for(const v of k)P.update(v);let R=0;for(const k of v){if(!k){P.update("n");continue}if(k.timestamp){P.update("f");P.update(`${k.timestamp}`)}else if(k.timestampHash){P.update("d");P.update(`${k.timestampHash}`)}if(k.symlinks!==undefined){if(E===undefined)E=new Set;addAll(k.symlinks,E)}if(k.safeTime){R=Math.max(R,k.safeTime)}}const L=P.digest("hex");const N={safeTime:R,timestampHash:L};if(E)N.symlinks=E;return N}},((E,P)=>{if(E)return v(E);this._contextTimestamps.set(k,P);this._cachedDeprecatedContextTimestamps=undefined;v(null,P)}))}_resolveContextTimestamp(k,v){const E=[];let P=0;Me(k.symlinks,10,((k,v,R)=>{this._getUnresolvedContextTimestamp(k,((k,L)=>{if(k)return R(k);if(L&&L!=="ignore"){E.push(L.timestampHash);if(L.safeTime){P=Math.max(P,L.safeTime)}if(L.symlinks!==undefined){for(const k of L.symlinks)v(k)}}R()}))}),(R=>{if(R)return v(R);const L=le(this._hashFunction);L.update(k.timestampHash);if(k.safeTime){P=Math.max(P,k.safeTime)}E.sort();for(const k of E){L.update(k)}v(null,k.resolved={safeTime:P,timestampHash:L.digest("hex")})}))}_readContextHash(k,v){this._readContext({path:k,fromImmutablePath:()=>"",fromManagedItem:k=>k||"",fromSymlink:(k,v,E)=>{E(null,{hash:v,symlinks:new Set([v])})},fromFile:(k,v,E)=>this.getFileHash(k,((k,v)=>{E(k,v||"")})),fromDirectory:(k,v,E)=>{this.contextHashQueue.increaseParallelism();this._getUnresolvedContextHash(k,((k,v)=>{this.contextHashQueue.decreaseParallelism();E(k,v||"")}))},reduce:(k,v)=>{let E=undefined;const P=le(this._hashFunction);for(const v of k)P.update(v);for(const k of v){if(typeof k==="string"){P.update(k)}else{P.update(k.hash);if(k.symlinks){if(E===undefined)E=new Set;addAll(k.symlinks,E)}}}const R={hash:P.digest("hex")};if(E)R.symlinks=E;return R}},((E,P)=>{if(E)return v(E);this._contextHashes.set(k,P);return v(null,P)}))}_resolveContextHash(k,v){const E=[];Me(k.symlinks,10,((k,v,P)=>{this._getUnresolvedContextHash(k,((k,R)=>{if(k)return P(k);if(R){E.push(R.hash);if(R.symlinks!==undefined){for(const k of R.symlinks)v(k)}}P()}))}),(P=>{if(P)return v(P);const R=le(this._hashFunction);R.update(k.hash);E.sort();for(const k of E){R.update(k)}v(null,k.resolved=R.digest("hex"))}))}_readContextTimestampAndHash(k,v){const finalize=(E,P)=>{const R=E==="ignore"?P:{...E,...P};this._contextTshs.set(k,R);v(null,R)};const E=this._contextHashes.get(k);const P=this._contextTimestamps.get(k);if(E!==undefined){if(P!==undefined){finalize(P,E)}else{this.contextTimestampQueue.add(k,((k,P)=>{if(k)return v(k);finalize(P,E)}))}}else{if(P!==undefined){this.contextHashQueue.add(k,((k,E)=>{if(k)return v(k);finalize(P,E)}))}else{this._readContext({path:k,fromImmutablePath:()=>null,fromManagedItem:k=>({safeTime:0,timestampHash:k,hash:k||""}),fromSymlink:(k,v,E)=>{E(null,{timestampHash:v,hash:v,symlinks:new Set([v])})},fromFile:(k,v,E)=>{this._getFileTimestampAndHash(k,E)},fromDirectory:(k,v,E)=>{this.contextTshQueue.increaseParallelism();this.contextTshQueue.add(k,((k,v)=>{this.contextTshQueue.decreaseParallelism();E(k,v)}))},reduce:(k,v)=>{let E=undefined;const P=le(this._hashFunction);const R=le(this._hashFunction);for(const v of k){P.update(v);R.update(v)}let L=0;for(const k of v){if(!k){P.update("n");continue}if(typeof k==="string"){P.update("n");R.update(k);continue}if(k.timestamp){P.update("f");P.update(`${k.timestamp}`)}else if(k.timestampHash){P.update("d");P.update(`${k.timestampHash}`)}if(k.symlinks!==undefined){if(E===undefined)E=new Set;addAll(k.symlinks,E)}if(k.safeTime){L=Math.max(L,k.safeTime)}R.update(k.hash)}const N={safeTime:L,timestampHash:P.digest("hex"),hash:R.digest("hex")};if(E)N.symlinks=E;return N}},((E,P)=>{if(E)return v(E);this._contextTshs.set(k,P);return v(null,P)}))}}}_resolveContextTsh(k,v){const E=[];const P=[];let R=0;Me(k.symlinks,10,((k,v,L)=>{this._getUnresolvedContextTsh(k,((k,N)=>{if(k)return L(k);if(N){E.push(N.hash);if(N.timestampHash)P.push(N.timestampHash);if(N.safeTime){R=Math.max(R,N.safeTime)}if(N.symlinks!==undefined){for(const k of N.symlinks)v(k)}}L()}))}),(L=>{if(L)return v(L);const N=le(this._hashFunction);const q=le(this._hashFunction);N.update(k.hash);if(k.timestampHash)q.update(k.timestampHash);if(k.safeTime){R=Math.max(R,k.safeTime)}E.sort();for(const k of E){N.update(k)}P.sort();for(const k of P){q.update(k)}v(null,k.resolved={safeTime:R,timestampHash:q.digest("hex"),hash:N.digest("hex")})}))}_getManagedItemDirectoryInfo(k,v){this.fs.readdir(k,((E,P)=>{if(E){if(E.code==="ENOENT"||E.code==="ENOTDIR"){return v(null,Be)}return v(E)}const R=new Set(P.map((v=>pe(this.fs,k,v))));v(null,R)}))}_getManagedItemInfo(k,v){const E=me(this.fs,k);this.managedItemDirectoryQueue.add(E,((E,P)=>{if(E){return v(E)}if(!P.has(k)){this._managedItems.set(k,"*missing");return v(null,"*missing")}if(k.endsWith("node_modules")&&(k.endsWith("/node_modules")||k.endsWith("\\node_modules"))){this._managedItems.set(k,"*node_modules");return v(null,"*node_modules")}const R=pe(this.fs,k,"package.json");this.fs.readFile(R,((E,P)=>{if(E){if(E.code==="ENOENT"||E.code==="ENOTDIR"){this.fs.readdir(k,((E,P)=>{if(!E&&P.length===1&&P[0]==="node_modules"){this._managedItems.set(k,"*nested");return v(null,"*nested")}this.logger.warn(`Managed item ${k} isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)`);return v()}));return}return v(E)}let L;try{L=JSON.parse(P.toString("utf-8"))}catch(k){return v(k)}if(!L.name){this.logger.warn(`${R} doesn't contain a "name" property (see snapshot.managedPaths option)`);return v()}const N=`${L.name||""}@${L.version||""}`;this._managedItems.set(k,N);v(null,N)}))}))}getDeprecatedFileTimestamps(){if(this._cachedDeprecatedFileTimestamps!==undefined)return this._cachedDeprecatedFileTimestamps;const k=new Map;for(const[v,E]of this._fileTimestamps){if(E)k.set(v,typeof E==="object"?E.safeTime:null)}return this._cachedDeprecatedFileTimestamps=k}getDeprecatedContextTimestamps(){if(this._cachedDeprecatedContextTimestamps!==undefined)return this._cachedDeprecatedContextTimestamps;const k=new Map;for(const[v,E]of this._contextTimestamps){if(E)k.set(v,typeof E==="object"?E.safeTime:null)}return this._cachedDeprecatedContextTimestamps=k}}k.exports=FileSystemInfo;k.exports.Snapshot=Snapshot},17092:function(k,v,E){"use strict";const{getEntryRuntime:P,mergeRuntimeOwned:R}=E(1540);const L="FlagAllModulesAsUsedPlugin";class FlagAllModulesAsUsedPlugin{constructor(k){this.explanation=k}apply(k){k.hooks.compilation.tap(L,(k=>{const v=k.moduleGraph;k.hooks.optimizeDependencies.tap(L,(E=>{let L=undefined;for(const[v,{options:E}]of k.entries){L=R(L,P(k,v,E))}for(const k of E){const E=v.getExportsInfo(k);E.setUsedInUnknownWay(L);v.addExtraReason(k,this.explanation);if(k.factoryMeta===undefined){k.factoryMeta={}}k.factoryMeta.sideEffectFree=false}}))}))}}k.exports=FlagAllModulesAsUsedPlugin},13893:function(k,v,E){"use strict";const P=E(78175);const R=E(28226);const L="FlagDependencyExportsPlugin";const N=`webpack.${L}`;class FlagDependencyExportsPlugin{apply(k){k.hooks.compilation.tap(L,(k=>{const v=k.moduleGraph;const E=k.getCache(L);k.hooks.finishModules.tapAsync(L,((L,q)=>{const ae=k.getLogger(N);let le=0;let pe=0;let me=0;let ye=0;let _e=0;let Ie=0;const{moduleMemCaches:Me}=k;const Te=new R;ae.time("restore cached provided exports");P.each(L,((k,P)=>{const R=v.getExportsInfo(k);if(!k.buildMeta||!k.buildMeta.exportsType){if(R.otherExportsInfo.provided!==null){me++;R.setHasProvideInfo();R.setUnknownExportsProvided();return P()}}if(typeof k.buildInfo.hash!=="string"){ye++;Te.enqueue(k);R.setHasProvideInfo();return P()}const L=Me&&Me.get(k);const N=L&&L.get(this);if(N!==undefined){le++;R.restoreProvided(N);return P()}E.get(k.identifier(),k.buildInfo.hash,((v,E)=>{if(v)return P(v);if(E!==undefined){pe++;R.restoreProvided(E)}else{_e++;Te.enqueue(k);R.setHasProvideInfo()}P()}))}),(k=>{ae.timeEnd("restore cached provided exports");if(k)return q(k);const R=new Set;const L=new Map;let N;let je;const Ne=new Map;let Be=true;let qe=false;const processDependenciesBlock=k=>{for(const v of k.dependencies){processDependency(v)}for(const v of k.blocks){processDependenciesBlock(v)}};const processDependency=k=>{const E=k.getExports(v);if(!E)return;Ne.set(k,E)};const processExportsSpec=(k,E)=>{const P=E.exports;const R=E.canMangle;const q=E.from;const ae=E.priority;const le=E.terminalBinding||false;const pe=E.dependencies;if(E.hideExports){for(const v of E.hideExports){const E=je.getExportInfo(v);E.unsetTarget(k)}}if(P===true){if(je.setUnknownExportsProvided(R,E.excludeExports,q&&k,q,ae)){qe=true}}else if(Array.isArray(P)){const mergeExports=(E,P)=>{for(const pe of P){let P;let me=R;let ye=le;let _e=undefined;let Ie=q;let Me=undefined;let Te=ae;let je=false;if(typeof pe==="string"){P=pe}else{P=pe.name;if(pe.canMangle!==undefined)me=pe.canMangle;if(pe.export!==undefined)Me=pe.export;if(pe.exports!==undefined)_e=pe.exports;if(pe.from!==undefined)Ie=pe.from;if(pe.priority!==undefined)Te=pe.priority;if(pe.terminalBinding!==undefined)ye=pe.terminalBinding;if(pe.hidden!==undefined)je=pe.hidden}const Ne=E.getExportInfo(P);if(Ne.provided===false||Ne.provided===null){Ne.provided=true;qe=true}if(Ne.canMangleProvide!==false&&me===false){Ne.canMangleProvide=false;qe=true}if(ye&&!Ne.terminalBinding){Ne.terminalBinding=true;qe=true}if(_e){const k=Ne.createNestedExportsInfo();mergeExports(k,_e)}if(Ie&&(je?Ne.unsetTarget(k):Ne.setTarget(k,Ie,Me===undefined?[P]:Me,Te))){qe=true}const Be=Ne.getTarget(v);let Ue=undefined;if(Be){const k=v.getExportsInfo(Be.module);Ue=k.getNestedExportsInfo(Be.export);const E=L.get(Be.module);if(E===undefined){L.set(Be.module,new Set([N]))}else{E.add(N)}}if(Ne.exportsInfoOwned){if(Ne.exportsInfo.setRedirectNamedTo(Ue)){qe=true}}else if(Ne.exportsInfo!==Ue){Ne.exportsInfo=Ue;qe=true}}};mergeExports(je,P)}if(pe){Be=false;for(const k of pe){const v=L.get(k);if(v===undefined){L.set(k,new Set([N]))}else{v.add(N)}}}};const notifyDependencies=()=>{const k=L.get(N);if(k!==undefined){for(const v of k){Te.enqueue(v)}}};ae.time("figure out provided exports");while(Te.length>0){N=Te.dequeue();Ie++;je=v.getExportsInfo(N);Be=true;qe=false;Ne.clear();v.freeze();processDependenciesBlock(N);v.unfreeze();for(const[k,v]of Ne){processExportsSpec(k,v)}if(Be){R.add(N)}if(qe){notifyDependencies()}}ae.timeEnd("figure out provided exports");ae.log(`${Math.round(100*(ye+_e)/(le+pe+_e+ye+me))}% of exports of modules have been determined (${me} no declared exports, ${_e} not cached, ${ye} flagged uncacheable, ${pe} from cache, ${le} from mem cache, ${Ie-_e-ye} additional calculations due to dependencies)`);ae.time("store provided exports into cache");P.each(R,((k,P)=>{if(typeof k.buildInfo.hash!=="string"){return P()}const R=v.getExportsInfo(k).getRestoreProvidedData();const L=Me&&Me.get(k);if(L){L.set(this,R)}E.store(k.identifier(),k.buildInfo.hash,R,P)}),(k=>{ae.timeEnd("store provided exports into cache");q(k)}))}))}));const q=new WeakMap;k.hooks.rebuildModule.tap(L,(k=>{q.set(k,v.getExportsInfo(k).getRestoreProvidedData())}));k.hooks.finishRebuildingModule.tap(L,(k=>{v.getExportsInfo(k).restoreProvided(q.get(k))}))}))}}k.exports=FlagDependencyExportsPlugin},25984:function(k,v,E){"use strict";const P=E(16848);const{UsageState:R}=E(11172);const L=E(86267);const{STAGE_DEFAULT:N}=E(99134);const q=E(12970);const ae=E(19361);const{getEntryRuntime:le,mergeRuntimeOwned:pe}=E(1540);const{NO_EXPORTS_REFERENCED:me,EXPORTS_OBJECT_REFERENCED:ye}=P;const _e="FlagDependencyUsagePlugin";const Ie=`webpack.${_e}`;class FlagDependencyUsagePlugin{constructor(k){this.global=k}apply(k){k.hooks.compilation.tap(_e,(k=>{const v=k.moduleGraph;k.hooks.optimizeDependencies.tap({name:_e,stage:N},(E=>{if(k.moduleMemCaches){throw new Error("optimization.usedExports can't be used with cacheUnaffected as export usage is a global effect")}const P=k.getLogger(Ie);const N=new Map;const _e=new ae;const processReferencedModule=(k,E,P,L)=>{const q=v.getExportsInfo(k);if(E.length>0){if(!k.buildMeta||!k.buildMeta.exportsType){if(q.setUsedWithoutInfo(P)){_e.enqueue(k,P)}return}for(const v of E){let E;let L=true;if(Array.isArray(v)){E=v}else{E=v.name;L=v.canMangle!==false}if(E.length===0){if(q.setUsedInUnknownWay(P)){_e.enqueue(k,P)}}else{let v=q;for(let ae=0;aek===R.Unused),R.OnlyPropertiesUsed,P)){const E=v===q?k:N.get(v);if(E){_e.enqueue(E,P)}}v=E;continue}}if(le.setUsedConditionally((k=>k!==R.Used),R.Used,P)){const E=v===q?k:N.get(v);if(E){_e.enqueue(E,P)}}break}}}}else{if(!L&&k.factoryMeta!==undefined&&k.factoryMeta.sideEffectFree){return}if(q.setUsedForSideEffectsOnly(P)){_e.enqueue(k,P)}}};const processModule=(E,P,R)=>{const N=new Map;const ae=new q;ae.enqueue(E);for(;;){const E=ae.dequeue();if(E===undefined)break;for(const k of E.blocks){if(!this.global&&k.groupOptions&&k.groupOptions.entryOptions){processModule(k,k.groupOptions.entryOptions.runtime||undefined,true)}else{ae.enqueue(k)}}for(const R of E.dependencies){const E=v.getConnection(R);if(!E||!E.module){continue}const q=E.getActiveState(P);if(q===false)continue;const{module:ae}=E;if(q===L.TRANSITIVE_ONLY){processModule(ae,P,false);continue}const le=N.get(ae);if(le===ye){continue}const pe=k.getDependencyReferencedExports(R,P);if(le===undefined||le===me||pe===ye){N.set(ae,pe)}else if(le!==undefined&&pe===me){continue}else{let k;if(Array.isArray(le)){k=new Map;for(const v of le){if(Array.isArray(v)){k.set(v.join("\n"),v)}else{k.set(v.name.join("\n"),v)}}N.set(ae,k)}else{k=le}for(const v of pe){if(Array.isArray(v)){const E=v.join("\n");const P=k.get(E);if(P===undefined){k.set(E,v)}}else{const E=v.name.join("\n");const P=k.get(E);if(P===undefined||Array.isArray(P)){k.set(E,v)}else{k.set(E,{name:v.name,canMangle:v.canMangle&&P.canMangle})}}}}}}for(const[k,v]of N){if(Array.isArray(v)){processReferencedModule(k,v,P,R)}else{processReferencedModule(k,Array.from(v.values()),P,R)}}};P.time("initialize exports usage");for(const k of E){const E=v.getExportsInfo(k);N.set(E,k);E.setHasUseInfo()}P.timeEnd("initialize exports usage");P.time("trace exports usage in graph");const processEntryDependency=(k,E)=>{const P=v.getModule(k);if(P){processReferencedModule(P,me,E,true)}};let Me=undefined;for(const[v,{dependencies:E,includeDependencies:P,options:R}]of k.entries){const L=this.global?undefined:le(k,v,R);for(const k of E){processEntryDependency(k,L)}for(const k of P){processEntryDependency(k,L)}Me=pe(Me,L)}for(const v of k.globalEntry.dependencies){processEntryDependency(v,Me)}for(const v of k.globalEntry.includeDependencies){processEntryDependency(v,Me)}while(_e.length){const[k,v]=_e.dequeue();processModule(k,v,false)}P.timeEnd("trace exports usage in graph")}))}))}}k.exports=FlagDependencyUsagePlugin},91597:function(k,v,E){"use strict";class Generator{static byType(k){return new ByTypeGenerator(k)}getTypes(k){const v=E(60386);throw new v}getSize(k,v){const P=E(60386);throw new P}generate(k,{dependencyTemplates:v,runtimeTemplate:P,moduleGraph:R,type:L}){const N=E(60386);throw new N}getConcatenationBailoutReason(k,v){return`Module Concatenation is not implemented for ${this.constructor.name}`}updateHash(k,{module:v,runtime:E}){}}class ByTypeGenerator extends Generator{constructor(k){super();this.map=k;this._types=new Set(Object.keys(k))}getTypes(k){return this._types}getSize(k,v){const E=v||"javascript";const P=this.map[E];return P?P.getSize(k,E):0}generate(k,v){const E=v.type;const P=this.map[E];if(!P){throw new Error(`Generator.byType: no generator specified for ${E}`)}return P.generate(k,v)}}k.exports=Generator},18467:function(k,v){"use strict";const connectChunkGroupAndChunk=(k,v)=>{if(k.pushChunk(v)){v.addGroup(k)}};const connectChunkGroupParentAndChild=(k,v)=>{if(k.addChild(v)){v.addParent(k)}};v.connectChunkGroupAndChunk=connectChunkGroupAndChunk;v.connectChunkGroupParentAndChild=connectChunkGroupParentAndChild},36473:function(k,v,E){"use strict";const P=E(71572);k.exports=class HarmonyLinkingError extends P{constructor(k){super(k);this.name="HarmonyLinkingError";this.hideStack=true}}},82104:function(k,v,E){"use strict";const P=E(71572);class HookWebpackError extends P{constructor(k,v){super(k.message);this.name="HookWebpackError";this.hook=v;this.error=k;this.hideStack=true;this.details=`caused by plugins in ${v}\n${k.stack}`;this.stack+=`\n-- inner error --\n${k.stack}`}}k.exports=HookWebpackError;const makeWebpackError=(k,v)=>{if(k instanceof P)return k;return new HookWebpackError(k,v)};k.exports.makeWebpackError=makeWebpackError;const makeWebpackErrorCallback=(k,v)=>(E,R)=>{if(E){if(E instanceof P){k(E);return}k(new HookWebpackError(E,v));return}k(null,R)};k.exports.makeWebpackErrorCallback=makeWebpackErrorCallback;const tryRunOrWebpackError=(k,v)=>{let E;try{E=k()}catch(k){if(k instanceof P){throw k}throw new HookWebpackError(k,v)}return E};k.exports.tryRunOrWebpackError=tryRunOrWebpackError},29898:function(k,v,E){"use strict";const{SyncBailHook:P}=E(79846);const{RawSource:R}=E(51255);const L=E(38317);const N=E(27747);const q=E(95733);const ae=E(38224);const le=E(56727);const pe=E(71572);const me=E(60381);const ye=E(40867);const _e=E(83894);const Ie=E(77691);const Me=E(90563);const Te=E(55223);const je=E(81532);const{evaluateToIdentifier:Ne}=E(80784);const{find:Be,isSubset:qe}=E(59959);const Ue=E(71307);const{compareModulesById:Ge}=E(95648);const{getRuntimeKey:He,keyToRuntime:We,forEachRuntime:Qe,mergeRuntimeOwned:Je,subtractRuntime:Ve,intersectRuntime:Ke}=E(1540);const{JAVASCRIPT_MODULE_TYPE_AUTO:Ye,JAVASCRIPT_MODULE_TYPE_DYNAMIC:Xe,JAVASCRIPT_MODULE_TYPE_ESM:Ze,WEBPACK_MODULE_TYPE_RUNTIME:et}=E(93622);const tt=new WeakMap;const nt="HotModuleReplacementPlugin";class HotModuleReplacementPlugin{static getParserHooks(k){if(!(k instanceof je)){throw new TypeError("The 'parser' argument must be an instance of JavascriptParser")}let v=tt.get(k);if(v===undefined){v={hotAcceptCallback:new P(["expression","requests"]),hotAcceptWithoutCallback:new P(["expression","requests"])};tt.set(k,v)}return v}constructor(k){this.options=k||{}}apply(k){const{_backCompat:v}=k;if(k.options.output.strictModuleErrorHandling===undefined)k.options.output.strictModuleErrorHandling=true;const E=[le.module];const createAcceptHandler=(k,v)=>{const{hotAcceptCallback:P,hotAcceptWithoutCallback:R}=HotModuleReplacementPlugin.getParserHooks(k);return L=>{const N=k.state.module;const q=new me(`${N.moduleArgument}.hot.accept`,L.callee.range,E);q.loc=L.loc;N.addPresentationalDependency(q);N.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(L.arguments.length>=1){const E=k.evaluateExpression(L.arguments[0]);let q=[];let ae=[];if(E.isString()){q=[E]}else if(E.isArray()){q=E.items.filter((k=>k.isString()))}if(q.length>0){q.forEach(((k,E)=>{const P=k.string;const R=new v(P,k.range);R.optional=true;R.loc=Object.create(L.loc);R.loc.index=E;N.addDependency(R);ae.push(P)}));if(L.arguments.length>1){P.call(L.arguments[1],ae);for(let v=1;vP=>{const R=k.state.module;const L=new me(`${R.moduleArgument}.hot.decline`,P.callee.range,E);L.loc=P.loc;R.addPresentationalDependency(L);R.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(P.arguments.length===1){const E=k.evaluateExpression(P.arguments[0]);let L=[];if(E.isString()){L=[E]}else if(E.isArray()){L=E.items.filter((k=>k.isString()))}L.forEach(((k,E)=>{const L=new v(k.string,k.range);L.optional=true;L.loc=Object.create(P.loc);L.loc.index=E;R.addDependency(L)}))}return true};const createHMRExpressionHandler=k=>v=>{const P=k.state.module;const R=new me(`${P.moduleArgument}.hot`,v.range,E);R.loc=v.loc;P.addPresentationalDependency(R);P.buildInfo.moduleConcatenationBailout="Hot Module Replacement";return true};const applyModuleHot=k=>{k.hooks.evaluateIdentifier.for("module.hot").tap({name:nt,before:"NodeStuffPlugin"},(k=>Ne("module.hot","module",(()=>["hot"]),true)(k)));k.hooks.call.for("module.hot.accept").tap(nt,createAcceptHandler(k,Ie));k.hooks.call.for("module.hot.decline").tap(nt,createDeclineHandler(k,Me));k.hooks.expression.for("module.hot").tap(nt,createHMRExpressionHandler(k))};const applyImportMetaHot=k=>{k.hooks.evaluateIdentifier.for("import.meta.webpackHot").tap(nt,(k=>Ne("import.meta.webpackHot","import.meta",(()=>["webpackHot"]),true)(k)));k.hooks.call.for("import.meta.webpackHot.accept").tap(nt,createAcceptHandler(k,ye));k.hooks.call.for("import.meta.webpackHot.decline").tap(nt,createDeclineHandler(k,_e));k.hooks.expression.for("import.meta.webpackHot").tap(nt,createHMRExpressionHandler(k))};k.hooks.compilation.tap(nt,((E,{normalModuleFactory:P})=>{if(E.compiler!==k)return;E.dependencyFactories.set(Ie,P);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyFactories.set(Me,P);E.dependencyTemplates.set(Me,new Me.Template);E.dependencyFactories.set(ye,P);E.dependencyTemplates.set(ye,new ye.Template);E.dependencyFactories.set(_e,P);E.dependencyTemplates.set(_e,new _e.Template);let me=0;const je={};const Ne={};E.hooks.record.tap(nt,((k,v)=>{if(v.hash===k.hash)return;const E=k.chunkGraph;v.hash=k.hash;v.hotIndex=me;v.fullHashChunkModuleHashes=je;v.chunkModuleHashes=Ne;v.chunkHashes={};v.chunkRuntime={};for(const E of k.chunks){v.chunkHashes[E.id]=E.hash;v.chunkRuntime[E.id]=He(E.runtime)}v.chunkModuleIds={};for(const P of k.chunks){v.chunkModuleIds[P.id]=Array.from(E.getOrderedChunkModulesIterable(P,Ge(E)),(k=>E.getModuleId(k)))}}));const tt=new Ue;const st=new Ue;const rt=new Ue;E.hooks.fullHash.tap(nt,(k=>{const v=E.chunkGraph;const P=E.records;for(const k of E.chunks){const getModuleHash=P=>{if(E.codeGenerationResults.has(P,k.runtime)){return E.codeGenerationResults.getHash(P,k.runtime)}else{rt.add(P,k.runtime);return v.getModuleHash(P,k.runtime)}};const R=v.getChunkFullHashModulesSet(k);if(R!==undefined){for(const v of R){st.add(v,k)}}const L=v.getChunkModulesIterable(k);if(L!==undefined){if(P.chunkModuleHashes){if(R!==undefined){for(const v of L){const E=`${k.id}|${v.identifier()}`;const L=getModuleHash(v);if(R.has(v)){if(P.fullHashChunkModuleHashes[E]!==L){tt.add(v,k)}je[E]=L}else{if(P.chunkModuleHashes[E]!==L){tt.add(v,k)}Ne[E]=L}}}else{for(const v of L){const E=`${k.id}|${v.identifier()}`;const R=getModuleHash(v);if(P.chunkModuleHashes[E]!==R){tt.add(v,k)}Ne[E]=R}}}else{if(R!==undefined){for(const v of L){const E=`${k.id}|${v.identifier()}`;const P=getModuleHash(v);if(R.has(v)){je[E]=P}else{Ne[E]=P}}}else{for(const v of L){const E=`${k.id}|${v.identifier()}`;const P=getModuleHash(v);Ne[E]=P}}}}}me=P.hotIndex||0;if(tt.size>0)me++;k.update(`${me}`)}));E.hooks.processAssets.tap({name:nt,stage:N.PROCESS_ASSETS_STAGE_ADDITIONAL},(()=>{const k=E.chunkGraph;const P=E.records;if(P.hash===E.hash)return;if(!P.chunkModuleHashes||!P.chunkHashes||!P.chunkModuleIds){return}for(const[v,R]of st){const L=`${R.id}|${v.identifier()}`;const N=rt.has(v,R.runtime)?k.getModuleHash(v,R.runtime):E.codeGenerationResults.getHash(v,R.runtime);if(P.chunkModuleHashes[L]!==N){tt.add(v,R)}Ne[L]=N}const N=new Map;let ae;for(const k of Object.keys(P.chunkRuntime)){const v=We(P.chunkRuntime[k]);ae=Je(ae,v)}Qe(ae,(k=>{const{path:v,info:R}=E.getPathWithInfo(E.outputOptions.hotUpdateMainFilename,{hash:P.hash,runtime:k});N.set(k,{updatedChunkIds:new Set,removedChunkIds:new Set,removedModules:new Set,filename:v,assetInfo:R})}));if(N.size===0)return;const le=new Map;for(const v of E.modules){const E=k.getModuleId(v);le.set(E,v)}const me=new Set;for(const R of Object.keys(P.chunkHashes)){const pe=We(P.chunkRuntime[R]);const ye=[];for(const k of P.chunkModuleIds[R]){const v=le.get(k);if(v===undefined){me.add(k)}else{ye.push(v)}}let _e;let Ie;let Me;let Te;let je;let Ne;let qe;const Ue=Be(E.chunks,(k=>`${k.id}`===R));if(Ue){_e=Ue.id;Ne=Ke(Ue.runtime,ae);if(Ne===undefined)continue;Ie=k.getChunkModules(Ue).filter((k=>tt.has(k,Ue)));Me=Array.from(k.getChunkRuntimeModulesIterable(Ue)).filter((k=>tt.has(k,Ue)));const v=k.getChunkFullHashModulesIterable(Ue);Te=v&&Array.from(v).filter((k=>tt.has(k,Ue)));const E=k.getChunkDependentHashModulesIterable(Ue);je=E&&Array.from(E).filter((k=>tt.has(k,Ue)));qe=Ve(pe,Ne)}else{_e=`${+R}`===R?+R:R;qe=pe;Ne=pe}if(qe){Qe(qe,(k=>{N.get(k).removedChunkIds.add(_e)}));for(const v of ye){const L=`${R}|${v.identifier()}`;const q=P.chunkModuleHashes[L];const ae=k.getModuleRuntimes(v);if(pe===Ne&&ae.has(Ne)){const P=rt.has(v,Ne)?k.getModuleHash(v,Ne):E.codeGenerationResults.getHash(v,Ne);if(P!==q){if(v.type===et){Me=Me||[];Me.push(v)}else{Ie=Ie||[];Ie.push(v)}}}else{Qe(qe,(k=>{for(const v of ae){if(typeof v==="string"){if(v===k)return}else if(v!==undefined){if(v.has(k))return}}N.get(k).removedModules.add(v)}))}}}if(Ie&&Ie.length>0||Me&&Me.length>0){const R=new q;if(v)L.setChunkGraphForChunk(R,k);R.id=_e;R.runtime=Ne;if(Ue){for(const k of Ue.groupsIterable)R.addGroup(k)}k.attachModules(R,Ie||[]);k.attachRuntimeModules(R,Me||[]);if(Te){k.attachFullHashModules(R,Te)}if(je){k.attachDependentHashModules(R,je)}const ae=E.getRenderManifest({chunk:R,hash:P.hash,fullHash:P.hash,outputOptions:E.outputOptions,moduleTemplates:E.moduleTemplates,dependencyTemplates:E.dependencyTemplates,codeGenerationResults:E.codeGenerationResults,runtimeTemplate:E.runtimeTemplate,moduleGraph:E.moduleGraph,chunkGraph:k});for(const k of ae){let v;let P;if("filename"in k){v=k.filename;P=k.info}else{({path:v,info:P}=E.getPathWithInfo(k.filenameTemplate,k.pathOptions))}const R=k.render();E.additionalChunkAssets.push(v);E.emitAsset(v,R,{hotModuleReplacement:true,...P});if(Ue){Ue.files.add(v);E.hooks.chunkAsset.call(Ue,v)}}Qe(Ne,(k=>{N.get(k).updatedChunkIds.add(_e)}))}}const ye=Array.from(me);const _e=new Map;for(const{removedChunkIds:k,removedModules:v,updatedChunkIds:P,filename:R,assetInfo:L}of N.values()){const N=_e.get(R);if(N&&(!qe(N.removedChunkIds,k)||!qe(N.removedModules,v)||!qe(N.updatedChunkIds,P))){E.warnings.push(new pe(`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 v of k)N.removedChunkIds.add(v);for(const k of v)N.removedModules.add(k);for(const k of P)N.updatedChunkIds.add(k);continue}_e.set(R,{removedChunkIds:k,removedModules:v,updatedChunkIds:P,assetInfo:L})}for(const[v,{removedChunkIds:P,removedModules:L,updatedChunkIds:N,assetInfo:q}]of _e){const ae={c:Array.from(N),r:Array.from(P),m:L.size===0?ye:ye.concat(Array.from(L,(v=>k.getModuleId(v))))};const le=new R(JSON.stringify(ae));E.emitAsset(v,le,{hotModuleReplacement:true,...q})}}));E.hooks.additionalTreeRuntimeRequirements.tap(nt,((k,v)=>{v.add(le.hmrDownloadManifest);v.add(le.hmrDownloadUpdateHandlers);v.add(le.interceptModuleExecution);v.add(le.moduleCache);E.addRuntimeModule(k,new Te)}));P.hooks.parser.for(Ye).tap(nt,(k=>{applyModuleHot(k);applyImportMetaHot(k)}));P.hooks.parser.for(Xe).tap(nt,(k=>{applyModuleHot(k)}));P.hooks.parser.for(Ze).tap(nt,(k=>{applyImportMetaHot(k)}));ae.getCompilationHooks(E).loader.tap(nt,(k=>{k.hot=true}))}))}}k.exports=HotModuleReplacementPlugin},95733:function(k,v,E){"use strict";const P=E(8247);class HotUpdateChunk extends P{constructor(){super()}}k.exports=HotUpdateChunk},95224:function(k,v,E){"use strict";const P=E(66043);class IgnoreErrorModuleFactory extends P{constructor(k){super();this.normalModuleFactory=k}create(k,v){this.normalModuleFactory.create(k,((k,E)=>v(null,E)))}}k.exports=IgnoreErrorModuleFactory},69200:function(k,v,E){"use strict";const P=E(92198);const R=P(E(4552),(()=>E(19134)),{name:"Ignore Plugin",baseDataPath:"options"});class IgnorePlugin{constructor(k){R(k);this.options=k;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(k){if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(k.request,k.context)){return false}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(k.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(k.context)){return false}}else{return false}}}apply(k){k.hooks.normalModuleFactory.tap("IgnorePlugin",(k=>{k.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}));k.hooks.contextModuleFactory.tap("IgnorePlugin",(k=>{k.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}))}}k.exports=IgnorePlugin},21324:function(k){"use strict";class IgnoreWarningsPlugin{constructor(k){this._ignoreWarnings=k}apply(k){k.hooks.compilation.tap("IgnoreWarningsPlugin",(k=>{k.hooks.processWarnings.tap("IgnoreWarningsPlugin",(v=>v.filter((v=>!this._ignoreWarnings.some((E=>E(v,k)))))))}))}}k.exports=IgnoreWarningsPlugin},88113:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const R=E(58528);const extractFragmentIndex=(k,v)=>[k,v];const sortFragmentWithIndex=([k,v],[E,P])=>{const R=k.stage-E.stage;if(R!==0)return R;const L=k.position-E.position;if(L!==0)return L;return v-P};class InitFragment{constructor(k,v,E,P,R){this.content=k;this.stage=v;this.position=E;this.key=P;this.endContent=R}getContent(k){return this.content}getEndContent(k){return this.endContent}static addToSource(k,v,E){if(v.length>0){const R=v.map(extractFragmentIndex).sort(sortFragmentWithIndex);const L=new Map;for(const[k]of R){if(typeof k.mergeAll==="function"){if(!k.key){throw new Error(`InitFragment with mergeAll function must have a valid key: ${k.constructor.name}`)}const v=L.get(k.key);if(v===undefined){L.set(k.key,k)}else if(Array.isArray(v)){v.push(k)}else{L.set(k.key,[v,k])}continue}else if(typeof k.merge==="function"){const v=L.get(k.key);if(v!==undefined){L.set(k.key,k.merge(v));continue}}L.set(k.key||Symbol(),k)}const N=new P;const q=[];for(let k of L.values()){if(Array.isArray(k)){k=k[0].mergeAll(k)}N.add(k.getContent(E));const v=k.getEndContent(E);if(v){q.push(v)}}N.add(k);for(const k of q.reverse()){N.add(k)}return N}else{return k}}serialize(k){const{write:v}=k;v(this.content);v(this.stage);v(this.position);v(this.key);v(this.endContent)}deserialize(k){const{read:v}=k;this.content=v();this.stage=v();this.position=v();this.key=v();this.endContent=v()}}R(InitFragment,"webpack/lib/InitFragment");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;k.exports=InitFragment},44017:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class InvalidDependenciesModuleWarning extends P{constructor(k,v){const E=v?Array.from(v).sort():[];const P=E.map((k=>` * ${JSON.stringify(k)}`));super(`Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${P.slice(0,3).join("\n")}${P.length>3?"\n * and more ...":""}`);this.name="InvalidDependenciesModuleWarning";this.details=P.slice(3).join("\n");this.module=k}}R(InvalidDependenciesModuleWarning,"webpack/lib/InvalidDependenciesModuleWarning");k.exports=InvalidDependenciesModuleWarning},28027:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(88926);const q="JavascriptMetaInfoPlugin";class JavascriptMetaInfoPlugin{apply(k){k.hooks.compilation.tap(q,((k,{normalModuleFactory:v})=>{const handler=k=>{k.hooks.call.for("eval").tap(q,(()=>{k.state.module.buildInfo.moduleConcatenationBailout="eval()";k.state.module.buildInfo.usingEval=true;const v=N.getTopLevelSymbol(k.state);if(v){N.addUsage(k.state,null,v)}else{N.bailout(k.state)}}));k.hooks.finish.tap(q,(()=>{let v=k.state.module.buildInfo.topLevelDeclarations;if(v===undefined){v=k.state.module.buildInfo.topLevelDeclarations=new Set}for(const E of k.scope.definitions.asSet()){const P=k.getFreeInfoFromVariable(E);if(P===undefined){v.add(E)}}}))};v.hooks.parser.for(P).tap(q,handler);v.hooks.parser.for(R).tap(q,handler);v.hooks.parser.for(L).tap(q,handler)}))}}k.exports=JavascriptMetaInfoPlugin},98060:function(k,v,E){"use strict";const P=E(78175);const R=E(25248);const{someInIterable:L}=E(54480);const{compareModulesById:N}=E(95648);const{dirname:q,mkdirp:ae}=E(57825);class LibManifestPlugin{constructor(k){this.options=k}apply(k){k.hooks.emit.tapAsync("LibManifestPlugin",((v,E)=>{const le=v.moduleGraph;P.forEach(Array.from(v.chunks),((E,P)=>{if(!E.canBeInitial()){P();return}const pe=v.chunkGraph;const me=v.getPath(this.options.path,{chunk:E});const ye=this.options.name&&v.getPath(this.options.name,{chunk:E,contentHashType:"javascript"});const _e=Object.create(null);for(const v of pe.getOrderedChunkModulesIterable(E,N(pe))){if(this.options.entryOnly&&!L(le.getIncomingConnections(v),(k=>k.dependency instanceof R))){continue}const E=v.libIdent({context:this.options.context||k.options.context,associatedObjectForCache:k.root});if(E){const k=le.getExportsInfo(v);const P=k.getProvidedExports();const R={id:pe.getModuleId(v),buildMeta:v.buildMeta,exports:Array.isArray(P)?P:undefined};_e[E]=R}}const Ie={name:ye,type:this.options.type,content:_e};const Me=this.options.format?JSON.stringify(Ie,null,2):JSON.stringify(Ie);const Te=Buffer.from(Me,"utf8");ae(k.intermediateFileSystem,q(k.intermediateFileSystem,me),(v=>{if(v)return P(v);k.intermediateFileSystem.writeFile(me,Te,P)}))}),E)}))}}k.exports=LibManifestPlugin},9021:function(k,v,E){"use strict";const P=E(60234);class LibraryTemplatePlugin{constructor(k,v,E,P,R){this.library={type:v||"var",name:k,umdNamedDefine:E,auxiliaryComment:P,export:R}}apply(k){const{output:v}=k.options;v.library=this.library;new P(this.library.type).apply(k)}}k.exports=LibraryTemplatePlugin},69056:function(k,v,E){"use strict";const P=E(98612);const R=E(38224);const L=E(92198);const N=L(E(12072),(()=>E(27667)),{name:"Loader Options Plugin",baseDataPath:"options"});class LoaderOptionsPlugin{constructor(k={}){N(k);if(typeof k!=="object")k={};if(!k.test){const v={test:()=>true};k.test=v}this.options=k}apply(k){const v=this.options;k.hooks.compilation.tap("LoaderOptionsPlugin",(k=>{R.getCompilationHooks(k).loader.tap("LoaderOptionsPlugin",((k,E)=>{const R=E.resource;if(!R)return;const L=R.indexOf("?");if(P.matchObject(v,L<0?R:R.slice(0,L))){for(const E of Object.keys(v)){if(E==="include"||E==="exclude"||E==="test"){continue}k[E]=v[E]}}}))}))}}k.exports=LoaderOptionsPlugin},49429:function(k,v,E){"use strict";const P=E(38224);class LoaderTargetPlugin{constructor(k){this.target=k}apply(k){k.hooks.compilation.tap("LoaderTargetPlugin",(k=>{P.getCompilationHooks(k).loader.tap("LoaderTargetPlugin",(k=>{k.target=this.target}))}))}}k.exports=LoaderTargetPlugin},98954:function(k,v,E){"use strict";const{SyncWaterfallHook:P}=E(79846);const R=E(73837);const L=E(56727);const N=E(20631);const q=N((()=>E(89168)));const ae=N((()=>E(68511)));const le=N((()=>E(42159)));class MainTemplate{constructor(k,v){this._outputOptions=k||{};this.hooks=Object.freeze({renderManifest:{tap:R.deprecate(((k,E)=>{v.hooks.renderManifest.tap(k,((k,v)=>{if(!v.chunk.hasRuntime())return k;return E(k,v)}))}),"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:R.deprecate(((k,E)=>{q().getCompilationHooks(v).renderRequire.tap(k,E)}),"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:R.deprecate(((k,E)=>{q().getCompilationHooks(v).render.tap(k,((k,P)=>{if(P.chunkGraph.getNumberOfEntryModules(P.chunk)===0||!P.chunk.hasRuntime()){return k}return E(k,P.chunk,v.hash,v.moduleTemplates.javascript,v.dependencyTemplates)}))}),"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER")},renderWithEntry:{tap:R.deprecate(((k,E)=>{q().getCompilationHooks(v).render.tap(k,((k,P)=>{if(P.chunkGraph.getNumberOfEntryModules(P.chunk)===0||!P.chunk.hasRuntime()){return k}return E(k,P.chunk,v.hash)}))}),"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY")},assetPath:{tap:R.deprecate(((k,E)=>{v.hooks.assetPath.tap(k,E)}),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH"),call:R.deprecate(((k,E)=>v.getAssetPath(k,E)),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH")},hash:{tap:R.deprecate(((k,E)=>{v.hooks.fullHash.tap(k,E)}),"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH")},hashForChunk:{tap:R.deprecate(((k,E)=>{q().getCompilationHooks(v).chunkHash.tap(k,((k,v)=>{if(!k.hasRuntime())return;return E(v,k)}))}),"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHashPaths:{tap:R.deprecate((()=>{}),"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHash:{tap:R.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 P(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new P(["source","chunk","hash"]),requireExtensions:new P(["source","chunk","hash"]),requireEnsure:new P(["source","chunk","hash","chunkIdExpression"]),get jsonpScript(){const k=le().getCompilationHooks(v);return k.createScript},get linkPrefetch(){const k=ae().getCompilationHooks(v);return k.linkPrefetch},get linkPreload(){const k=ae().getCompilationHooks(v);return k.linkPreload}});this.renderCurrentHashCode=R.deprecate(((k,v)=>{if(v){return`${L.getFullHash} ? ${L.getFullHash}().slice(0, ${v}) : ${k.slice(0,v)}`}return`${L.getFullHash} ? ${L.getFullHash}() : ${k}`}),"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE");this.getPublicPath=R.deprecate((k=>v.getAssetPath(v.outputOptions.publicPath,k)),"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH");this.getAssetPath=R.deprecate(((k,E)=>v.getAssetPath(k,E)),"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH");this.getAssetPathWithInfo=R.deprecate(((k,E)=>v.getAssetPathWithInfo(k,E)),"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO")}}Object.defineProperty(MainTemplate.prototype,"requireFn",{get:R.deprecate((()=>L.require),`MainTemplate.requireFn is deprecated (use "${L.require}")`,"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN")});Object.defineProperty(MainTemplate.prototype,"outputOptions",{get:R.deprecate((function(){return this._outputOptions}),"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS")});k.exports=MainTemplate},88396:function(k,v,E){"use strict";const P=E(73837);const R=E(38317);const L=E(38706);const N=E(88223);const q=E(56727);const{first:ae}=E(59959);const{compareChunksById:le}=E(95648);const pe=E(58528);const me={};let ye=1e3;const _e=new Set(["unknown"]);const Ie=new Set(["javascript"]);const Me=P.deprecate(((k,v)=>k.needRebuild(v.fileSystemInfo.getDeprecatedFileTimestamps(),v.fileSystemInfo.getDeprecatedContextTimestamps())),"Module.needRebuild is deprecated in favor of Module.needBuild","DEP_WEBPACK_MODULE_NEED_REBUILD");class Module extends L{constructor(k,v=null,E=null){super();this.type=k;this.context=v;this.layer=E;this.needId=true;this.debugId=ye++;this.resolveOptions=me;this.factoryMeta=undefined;this.useSourceMap=false;this.useSimpleSourceMap=false;this._warnings=undefined;this._errors=undefined;this.buildMeta=undefined;this.buildInfo=undefined;this.presentationalDependencies=undefined;this.codeGenerationDependencies=undefined}get id(){return R.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").getModuleId(this)}set id(k){if(k===""){this.needId=false;return}R.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").setModuleId(this,k)}get hash(){return R.getChunkGraphForModule(this,"Module.hash","DEP_WEBPACK_MODULE_HASH").getModuleHash(this,undefined)}get renderedHash(){return R.getChunkGraphForModule(this,"Module.renderedHash","DEP_WEBPACK_MODULE_RENDERED_HASH").getRenderedModuleHash(this,undefined)}get profile(){return N.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").getProfile(this)}set profile(k){N.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").setProfile(this,k)}get index(){return N.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").getPreOrderIndex(this)}set index(k){N.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").setPreOrderIndex(this,k)}get index2(){return N.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").getPostOrderIndex(this)}set index2(k){N.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").setPostOrderIndex(this,k)}get depth(){return N.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").getDepth(this)}set depth(k){N.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").setDepth(this,k)}get issuer(){return N.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").getIssuer(this)}set issuer(k){N.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").setIssuer(this,k)}get usedExports(){return N.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").getUsedExports(this,undefined)}get optimizationBailout(){return N.getModuleGraphForModule(this,"Module.optimizationBailout","DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT").getOptimizationBailout(this)}get optional(){return this.isOptional(N.getModuleGraphForModule(this,"Module.optional","DEP_WEBPACK_MODULE_OPTIONAL"))}addChunk(k){const v=R.getChunkGraphForModule(this,"Module.addChunk","DEP_WEBPACK_MODULE_ADD_CHUNK");if(v.isModuleInChunk(this,k))return false;v.connectChunkAndModule(k,this);return true}removeChunk(k){return R.getChunkGraphForModule(this,"Module.removeChunk","DEP_WEBPACK_MODULE_REMOVE_CHUNK").disconnectChunkAndModule(k,this)}isInChunk(k){return R.getChunkGraphForModule(this,"Module.isInChunk","DEP_WEBPACK_MODULE_IS_IN_CHUNK").isModuleInChunk(this,k)}isEntryModule(){return R.getChunkGraphForModule(this,"Module.isEntryModule","DEP_WEBPACK_MODULE_IS_ENTRY_MODULE").isEntryModule(this)}getChunks(){return R.getChunkGraphForModule(this,"Module.getChunks","DEP_WEBPACK_MODULE_GET_CHUNKS").getModuleChunks(this)}getNumberOfChunks(){return R.getChunkGraphForModule(this,"Module.getNumberOfChunks","DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS").getNumberOfModuleChunks(this)}get chunksIterable(){return R.getChunkGraphForModule(this,"Module.chunksIterable","DEP_WEBPACK_MODULE_CHUNKS_ITERABLE").getOrderedModuleChunksIterable(this,le)}isProvided(k){return N.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").isExportProvided(this,k)}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}getExportsType(k,v){switch(this.buildMeta&&this.buildMeta.exportsType){case"flagged":return v?"default-with-named":"namespace";case"namespace":return"namespace";case"default":switch(this.buildMeta.defaultObject){case"redirect":return"default-with-named";case"redirect-warn":return v?"default-only":"default-with-named";default:return"default-only"}case"dynamic":{if(v)return"default-with-named";const handleDefault=()=>{switch(this.buildMeta.defaultObject){case"redirect":case"redirect-warn":return"default-with-named";default:return"default-only"}};const E=k.getReadOnlyExportInfo(this,"__esModule");if(E.provided===false){return handleDefault()}const P=E.getTarget(k);if(!P||!P.export||P.export.length!==1||P.export[0]!=="__esModule"){return"dynamic"}switch(P.module.buildMeta&&P.module.buildMeta.exportsType){case"flagged":case"namespace":return"namespace";case"default":return handleDefault();default:return"dynamic"}}default:return v?"default-with-named":"dynamic"}}addPresentationalDependency(k){if(this.presentationalDependencies===undefined){this.presentationalDependencies=[]}this.presentationalDependencies.push(k)}addCodeGenerationDependency(k){if(this.codeGenerationDependencies===undefined){this.codeGenerationDependencies=[]}this.codeGenerationDependencies.push(k)}clearDependenciesAndBlocks(){if(this.presentationalDependencies!==undefined){this.presentationalDependencies.length=0}if(this.codeGenerationDependencies!==undefined){this.codeGenerationDependencies.length=0}super.clearDependenciesAndBlocks()}addWarning(k){if(this._warnings===undefined){this._warnings=[]}this._warnings.push(k)}getWarnings(){return this._warnings}getNumberOfWarnings(){return this._warnings!==undefined?this._warnings.length:0}addError(k){if(this._errors===undefined){this._errors=[]}this._errors.push(k)}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(k){let v=false;for(const E of k.getIncomingConnections(this)){if(!E.dependency||!E.dependency.optional||!E.isTargetActive(undefined)){return false}v=true}return v}isAccessibleInChunk(k,v,E){for(const E of v.groupsIterable){if(!this.isAccessibleInChunkGroup(k,E))return false}return true}isAccessibleInChunkGroup(k,v,E){const P=new Set([v]);e:for(const R of P){for(const v of R.chunks){if(v!==E&&k.isModuleInChunk(this,v))continue e}if(v.isInitial())return false;for(const k of v.parentsIterable)P.add(k)}return true}hasReasonForChunk(k,v,E){for(const[P,R]of v.getIncomingConnectionsByOriginModule(this)){if(!R.some((v=>v.isTargetActive(k.runtime))))continue;for(const v of E.getModuleChunksIterable(P)){if(!this.isAccessibleInChunk(E,v,k))return true}}return false}hasReasons(k,v){for(const E of k.getIncomingConnections(this)){if(E.isTargetActive(v))return true}return false}toString(){return`Module[${this.debugId}: ${this.identifier()}]`}needBuild(k,v){v(null,!this.buildMeta||this.needRebuild===Module.prototype.needRebuild||Me(this,k))}needRebuild(k,v){return true}updateHash(k,v={chunkGraph:R.getChunkGraphForModule(this,"Module.updateHash","DEP_WEBPACK_MODULE_UPDATE_HASH"),runtime:undefined}){const{chunkGraph:E,runtime:P}=v;k.update(E.getModuleGraphHash(this,P));if(this.presentationalDependencies!==undefined){for(const E of this.presentationalDependencies){E.updateHash(k,v)}}super.updateHash(k,v)}invalidateBuild(){}identifier(){const k=E(60386);throw new k}readableIdentifier(k){const v=E(60386);throw new v}build(k,v,P,R,L){const N=E(60386);throw new N}getSourceTypes(){if(this.source===Module.prototype.source){return _e}else{return Ie}}source(k,v,P="javascript"){if(this.codeGeneration===Module.prototype.codeGeneration){const k=E(60386);throw new k}const L=R.getChunkGraphForModule(this,"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead","DEP_WEBPACK_MODULE_SOURCE");const N={dependencyTemplates:k,runtimeTemplate:v,moduleGraph:L.moduleGraph,chunkGraph:L,runtime:undefined,codeGenerationResults:undefined};const q=this.codeGeneration(N).sources;return P?q.get(P):q.get(ae(this.getSourceTypes()))}size(k){const v=E(60386);throw new v}libIdent(k){return null}nameForCondition(){return null}getConcatenationBailoutReason(k){return`Module Concatenation is not implemented for ${this.constructor.name}`}getSideEffectsConnectionState(k){return true}codeGeneration(k){const v=new Map;for(const E of this.getSourceTypes()){if(E!=="unknown"){v.set(E,this.source(k.dependencyTemplates,k.runtimeTemplate,E))}}return{sources:v,runtimeRequirements:new Set([q.module,q.exports,q.require])}}chunkCondition(k,v){return true}hasChunkCondition(){return this.chunkCondition!==Module.prototype.chunkCondition}updateCacheModule(k){this.type=k.type;this.layer=k.layer;this.context=k.context;this.factoryMeta=k.factoryMeta;this.resolveOptions=k.resolveOptions}getUnsafeCacheData(){return{factoryMeta:this.factoryMeta,resolveOptions:this.resolveOptions}}_restoreFromUnsafeCache(k,v){this.factoryMeta=k.factoryMeta;this.resolveOptions=k.resolveOptions}cleanupForCache(){this.factoryMeta=undefined;this.resolveOptions=undefined}originalSource(){return null}addCacheDependencies(k,v,E,P){}serialize(k){const{write:v}=k;v(this.type);v(this.layer);v(this.context);v(this.resolveOptions);v(this.factoryMeta);v(this.useSourceMap);v(this.useSimpleSourceMap);v(this._warnings!==undefined&&this._warnings.length===0?undefined:this._warnings);v(this._errors!==undefined&&this._errors.length===0?undefined:this._errors);v(this.buildMeta);v(this.buildInfo);v(this.presentationalDependencies);v(this.codeGenerationDependencies);super.serialize(k)}deserialize(k){const{read:v}=k;this.type=v();this.layer=v();this.context=v();this.resolveOptions=v();this.factoryMeta=v();this.useSourceMap=v();this.useSimpleSourceMap=v();this._warnings=v();this._errors=v();this.buildMeta=v();this.buildInfo=v();this.presentationalDependencies=v();this.codeGenerationDependencies=v();super.deserialize(k)}}pe(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:P.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:P.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(k){throw new Error("Module.used was refactored (use ModuleGraph.setUsedExports instead)")}});k.exports=Module},23804:function(k,v,E){"use strict";const{cutOffLoaderExecution:P}=E(53657);const R=E(71572);const L=E(58528);class ModuleBuildError extends R{constructor(k,{from:v=null}={}){let E="Module build failed";let R=undefined;if(v){E+=` (from ${v}):\n`}else{E+=": "}if(k!==null&&typeof k==="object"){if(typeof k.stack==="string"&&k.stack){const v=P(k.stack);if(!k.hideStack){E+=v}else{R=v;if(typeof k.message==="string"&&k.message){E+=k.message}else{E+=k}}}else if(typeof k.message==="string"&&k.message){E+=k.message}else{E+=String(k)}}else{E+=String(k)}super(E);this.name="ModuleBuildError";this.details=R;this.error=k}serialize(k){const{write:v}=k;v(this.error);super.serialize(k)}deserialize(k){const{read:v}=k;this.error=v();super.deserialize(k)}}L(ModuleBuildError,"webpack/lib/ModuleBuildError");k.exports=ModuleBuildError},36428:function(k,v,E){"use strict";const P=E(71572);class ModuleDependencyError extends P{constructor(k,v,E){super(v.message);this.name="ModuleDependencyError";this.details=v&&!v.hideStack?v.stack.split("\n").slice(1).join("\n"):undefined;this.module=k;this.loc=E;this.error=v;if(v&&v.hideStack){this.stack=v.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}k.exports=ModuleDependencyError},84018:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class ModuleDependencyWarning extends P{constructor(k,v,E){super(v?v.message:"");this.name="ModuleDependencyWarning";this.details=v&&!v.hideStack?v.stack.split("\n").slice(1).join("\n"):undefined;this.module=k;this.loc=E;this.error=v;if(v&&v.hideStack){this.stack=v.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}R(ModuleDependencyWarning,"webpack/lib/ModuleDependencyWarning");k.exports=ModuleDependencyWarning},47560:function(k,v,E){"use strict";const{cleanUp:P}=E(53657);const R=E(71572);const L=E(58528);class ModuleError extends R{constructor(k,{from:v=null}={}){let E="Module Error";if(v){E+=` (from ${v}):\n`}else{E+=": "}if(k&&typeof k==="object"&&k.message){E+=k.message}else if(k){E+=k}super(E);this.name="ModuleError";this.error=k;this.details=k&&typeof k==="object"&&k.stack?P(k.stack,this.message):undefined}serialize(k){const{write:v}=k;v(this.error);super.serialize(k)}deserialize(k){const{read:v}=k;this.error=v();super.deserialize(k)}}L(ModuleError,"webpack/lib/ModuleError");k.exports=ModuleError},66043:function(k,v,E){"use strict";class ModuleFactory{create(k,v){const P=E(60386);throw new P}}k.exports=ModuleFactory},98612:function(k,v,E){"use strict";const P=E(38224);const R=E(74012);const L=E(20631);const N=v;N.ALL_LOADERS_RESOURCE="[all-loaders][resource]";N.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;N.LOADERS_RESOURCE="[loaders][resource]";N.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;N.RESOURCE="[resource]";N.REGEXP_RESOURCE=/\[resource\]/gi;N.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";N.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;N.RESOURCE_PATH="[resource-path]";N.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;N.ALL_LOADERS="[all-loaders]";N.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;N.LOADERS="[loaders]";N.REGEXP_LOADERS=/\[loaders\]/gi;N.QUERY="[query]";N.REGEXP_QUERY=/\[query\]/gi;N.ID="[id]";N.REGEXP_ID=/\[id\]/gi;N.HASH="[hash]";N.REGEXP_HASH=/\[hash\]/gi;N.NAMESPACE="[namespace]";N.REGEXP_NAMESPACE=/\[namespace\]/gi;const getAfter=(k,v)=>()=>{const E=k();const P=E.indexOf(v);return P<0?"":E.slice(P)};const getBefore=(k,v)=>()=>{const E=k();const P=E.lastIndexOf(v);return P<0?"":E.slice(0,P)};const getHash=(k,v)=>()=>{const E=R(v);E.update(k());const P=E.digest("hex");return P.slice(0,4)};const asRegExp=k=>{if(typeof k==="string"){k=new RegExp("^"+k.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return k};const lazyObject=k=>{const v={};for(const E of Object.keys(k)){const P=k[E];Object.defineProperty(v,E,{get:()=>P(),set:k=>{Object.defineProperty(v,E,{value:k,enumerable:true,writable:true})},enumerable:true,configurable:true})}return v};const q=/\[\\*([\w-]+)\\*\]/gi;N.createFilename=(k="",v,{requestShortener:E,chunkGraph:R,hashFunction:ae="md4"})=>{const le={namespace:"",moduleFilenameTemplate:"",...typeof v==="object"?v:{moduleFilenameTemplate:v}};let pe;let me;let ye;let _e;let Ie;if(typeof k==="string"){Ie=L((()=>E.shorten(k)));ye=Ie;_e=()=>"";pe=()=>k.split("!").pop();me=getHash(ye,ae)}else{Ie=L((()=>k.readableIdentifier(E)));ye=L((()=>E.shorten(k.identifier())));_e=()=>R.getModuleId(k);pe=()=>k instanceof P?k.resource:k.identifier().split("!").pop();me=getHash(ye,ae)}const Me=L((()=>Ie().split("!").pop()));const Te=getBefore(Ie,"!");const je=getBefore(ye,"!");const Ne=getAfter(Me,"?");const resourcePath=()=>{const k=Ne().length;return k===0?Me():Me().slice(0,-k)};if(typeof le.moduleFilenameTemplate==="function"){return le.moduleFilenameTemplate(lazyObject({identifier:ye,shortIdentifier:Ie,resource:Me,resourcePath:L(resourcePath),absoluteResourcePath:L(pe),loaders:L(Te),allLoaders:L(je),query:L(Ne),moduleId:L(_e),hash:L(me),namespace:()=>le.namespace}))}const Be=new Map([["identifier",ye],["short-identifier",Ie],["resource",Me],["resource-path",resourcePath],["resourcepath",resourcePath],["absolute-resource-path",pe],["abs-resource-path",pe],["absoluteresource-path",pe],["absresource-path",pe],["absolute-resourcepath",pe],["abs-resourcepath",pe],["absoluteresourcepath",pe],["absresourcepath",pe],["all-loaders",je],["allloaders",je],["loaders",Te],["query",Ne],["id",_e],["hash",me],["namespace",()=>le.namespace]]);return le.moduleFilenameTemplate.replace(N.REGEXP_ALL_LOADERS_RESOURCE,"[identifier]").replace(N.REGEXP_LOADERS_RESOURCE,"[short-identifier]").replace(q,((k,v)=>{if(v.length+2===k.length){const k=Be.get(v.toLowerCase());if(k!==undefined){return k()}}else if(k.startsWith("[\\")&&k.endsWith("\\]")){return`[${k.slice(2,-2)}]`}return k}))};N.replaceDuplicates=(k,v,E)=>{const P=Object.create(null);const R=Object.create(null);k.forEach(((k,v)=>{P[k]=P[k]||[];P[k].push(v);R[k]=0}));if(E){Object.keys(P).forEach((k=>{P[k].sort(E)}))}return k.map(((k,L)=>{if(P[k].length>1){if(E&&P[k][0]===L)return k;return v(k,L,R[k]++)}else{return k}}))};N.matchPart=(k,v)=>{if(!v)return true;if(Array.isArray(v)){return v.map(asRegExp).some((v=>v.test(k)))}else{return asRegExp(v).test(k)}};N.matchObject=(k,v)=>{if(k.test){if(!N.matchPart(v,k.test)){return false}}if(k.include){if(!N.matchPart(v,k.include)){return false}}if(k.exclude){if(N.matchPart(v,k.exclude)){return false}}return true}},88223:function(k,v,E){"use strict";const P=E(73837);const R=E(11172);const L=E(86267);const N=E(46081);const q=E(69752);const ae=new Set;const getConnectionsByOriginModule=k=>{const v=new Map;let E=0;let P=undefined;for(const R of k){const{originModule:k}=R;if(E===k){P.push(R)}else{E=k;const L=v.get(k);if(L!==undefined){P=L;L.push(R)}else{const E=[R];P=E;v.set(k,E)}}}return v};const getConnectionsByModule=k=>{const v=new Map;let E=0;let P=undefined;for(const R of k){const{module:k}=R;if(E===k){P.push(R)}else{E=k;const L=v.get(k);if(L!==undefined){P=L;L.push(R)}else{const E=[R];P=E;v.set(k,E)}}}return v};class ModuleGraphModule{constructor(){this.incomingConnections=new N;this.outgoingConnections=undefined;this.issuer=undefined;this.optimizationBailout=[];this.exports=new R;this.preOrderIndex=null;this.postOrderIndex=null;this.depth=null;this.profile=undefined;this.async=false;this._unassignedConnections=undefined}}class ModuleGraph{constructor(){this._dependencyMap=new WeakMap;this._moduleMap=new Map;this._metaMap=new WeakMap;this._cache=undefined;this._moduleMemCaches=undefined;this._cacheStage=undefined}_getModuleGraphModule(k){let v=this._moduleMap.get(k);if(v===undefined){v=new ModuleGraphModule;this._moduleMap.set(k,v)}return v}setParents(k,v,E,P=-1){k._parentDependenciesBlockIndex=P;k._parentDependenciesBlock=v;k._parentModule=E}getParentModule(k){return k._parentModule}getParentBlock(k){return k._parentDependenciesBlock}getParentBlockIndex(k){return k._parentDependenciesBlockIndex}setResolvedModule(k,v,E){const P=new L(k,v,E,undefined,v.weak,v.getCondition(this));const R=this._getModuleGraphModule(E).incomingConnections;R.add(P);if(k){const v=this._getModuleGraphModule(k);if(v._unassignedConnections===undefined){v._unassignedConnections=[]}v._unassignedConnections.push(P);if(v.outgoingConnections===undefined){v.outgoingConnections=new N}v.outgoingConnections.add(P)}else{this._dependencyMap.set(v,P)}}updateModule(k,v){const E=this.getConnection(k);if(E.module===v)return;const P=E.clone();P.module=v;this._dependencyMap.set(k,P);E.setActive(false);const R=this._getModuleGraphModule(E.originModule);R.outgoingConnections.add(P);const L=this._getModuleGraphModule(v);L.incomingConnections.add(P)}removeConnection(k){const v=this.getConnection(k);const E=this._getModuleGraphModule(v.module);E.incomingConnections.delete(v);const P=this._getModuleGraphModule(v.originModule);P.outgoingConnections.delete(v);this._dependencyMap.set(k,null)}addExplanation(k,v){const E=this.getConnection(k);E.addExplanation(v)}cloneModuleAttributes(k,v){const E=this._getModuleGraphModule(k);const P=this._getModuleGraphModule(v);P.postOrderIndex=E.postOrderIndex;P.preOrderIndex=E.preOrderIndex;P.depth=E.depth;P.exports=E.exports;P.async=E.async}removeModuleAttributes(k){const v=this._getModuleGraphModule(k);v.postOrderIndex=null;v.preOrderIndex=null;v.depth=null;v.async=false}removeAllModuleAttributes(){for(const k of this._moduleMap.values()){k.postOrderIndex=null;k.preOrderIndex=null;k.depth=null;k.async=false}}moveModuleConnections(k,v,E){if(k===v)return;const P=this._getModuleGraphModule(k);const R=this._getModuleGraphModule(v);const L=P.outgoingConnections;if(L!==undefined){if(R.outgoingConnections===undefined){R.outgoingConnections=new N}const k=R.outgoingConnections;for(const P of L){if(E(P)){P.originModule=v;k.add(P);L.delete(P)}}}const q=P.incomingConnections;const ae=R.incomingConnections;for(const k of q){if(E(k)){k.module=v;ae.add(k);q.delete(k)}}}copyOutgoingModuleConnections(k,v,E){if(k===v)return;const P=this._getModuleGraphModule(k);const R=this._getModuleGraphModule(v);const L=P.outgoingConnections;if(L!==undefined){if(R.outgoingConnections===undefined){R.outgoingConnections=new N}const k=R.outgoingConnections;for(const P of L){if(E(P)){const E=P.clone();E.originModule=v;k.add(E);if(E.module!==undefined){const k=this._getModuleGraphModule(E.module);k.incomingConnections.add(E)}}}}}addExtraReason(k,v){const E=this._getModuleGraphModule(k).incomingConnections;E.add(new L(null,null,k,v))}getResolvedModule(k){const v=this.getConnection(k);return v!==undefined?v.resolvedModule:null}getConnection(k){const v=this._dependencyMap.get(k);if(v===undefined){const v=this.getParentModule(k);if(v!==undefined){const E=this._getModuleGraphModule(v);if(E._unassignedConnections&&E._unassignedConnections.length!==0){let v;for(const P of E._unassignedConnections){this._dependencyMap.set(P.dependency,P);if(P.dependency===k)v=P}E._unassignedConnections.length=0;if(v!==undefined){return v}}}this._dependencyMap.set(k,null);return undefined}return v===null?undefined:v}getModule(k){const v=this.getConnection(k);return v!==undefined?v.module:null}getOrigin(k){const v=this.getConnection(k);return v!==undefined?v.originModule:null}getResolvedOrigin(k){const v=this.getConnection(k);return v!==undefined?v.resolvedOriginModule:null}getIncomingConnections(k){const v=this._getModuleGraphModule(k).incomingConnections;return v}getOutgoingConnections(k){const v=this._getModuleGraphModule(k).outgoingConnections;return v===undefined?ae:v}getIncomingConnectionsByOriginModule(k){const v=this._getModuleGraphModule(k).incomingConnections;return v.getFromUnorderedCache(getConnectionsByOriginModule)}getOutgoingConnectionsByModule(k){const v=this._getModuleGraphModule(k).outgoingConnections;return v===undefined?undefined:v.getFromUnorderedCache(getConnectionsByModule)}getProfile(k){const v=this._getModuleGraphModule(k);return v.profile}setProfile(k,v){const E=this._getModuleGraphModule(k);E.profile=v}getIssuer(k){const v=this._getModuleGraphModule(k);return v.issuer}setIssuer(k,v){const E=this._getModuleGraphModule(k);E.issuer=v}setIssuerIfUnset(k,v){const E=this._getModuleGraphModule(k);if(E.issuer===undefined)E.issuer=v}getOptimizationBailout(k){const v=this._getModuleGraphModule(k);return v.optimizationBailout}getProvidedExports(k){const v=this._getModuleGraphModule(k);return v.exports.getProvidedExports()}isExportProvided(k,v){const E=this._getModuleGraphModule(k);const P=E.exports.isExportProvided(v);return P===undefined?null:P}getExportsInfo(k){const v=this._getModuleGraphModule(k);return v.exports}getExportInfo(k,v){const E=this._getModuleGraphModule(k);return E.exports.getExportInfo(v)}getReadOnlyExportInfo(k,v){const E=this._getModuleGraphModule(k);return E.exports.getReadOnlyExportInfo(v)}getUsedExports(k,v){const E=this._getModuleGraphModule(k);return E.exports.getUsedExports(v)}getPreOrderIndex(k){const v=this._getModuleGraphModule(k);return v.preOrderIndex}getPostOrderIndex(k){const v=this._getModuleGraphModule(k);return v.postOrderIndex}setPreOrderIndex(k,v){const E=this._getModuleGraphModule(k);E.preOrderIndex=v}setPreOrderIndexIfUnset(k,v){const E=this._getModuleGraphModule(k);if(E.preOrderIndex===null){E.preOrderIndex=v;return true}return false}setPostOrderIndex(k,v){const E=this._getModuleGraphModule(k);E.postOrderIndex=v}setPostOrderIndexIfUnset(k,v){const E=this._getModuleGraphModule(k);if(E.postOrderIndex===null){E.postOrderIndex=v;return true}return false}getDepth(k){const v=this._getModuleGraphModule(k);return v.depth}setDepth(k,v){const E=this._getModuleGraphModule(k);E.depth=v}setDepthIfLower(k,v){const E=this._getModuleGraphModule(k);if(E.depth===null||E.depth>v){E.depth=v;return true}return false}isAsync(k){const v=this._getModuleGraphModule(k);return v.async}setAsync(k){const v=this._getModuleGraphModule(k);v.async=true}getMeta(k){let v=this._metaMap.get(k);if(v===undefined){v=Object.create(null);this._metaMap.set(k,v)}return v}getMetaIfExisting(k){return this._metaMap.get(k)}freeze(k){this._cache=new q;this._cacheStage=k}unfreeze(){this._cache=undefined;this._cacheStage=undefined}cached(k,...v){if(this._cache===undefined)return k(this,...v);return this._cache.provide(k,...v,(()=>k(this,...v)))}setModuleMemCaches(k){this._moduleMemCaches=k}dependencyCacheProvide(k,...v){const E=v.pop();if(this._moduleMemCaches&&this._cacheStage){const P=this._moduleMemCaches.get(this.getParentModule(k));if(P!==undefined){return P.provide(k,this._cacheStage,...v,(()=>E(this,k,...v)))}}if(this._cache===undefined)return E(this,k,...v);return this._cache.provide(k,...v,(()=>E(this,k,...v)))}static getModuleGraphForModule(k,v,E){const R=pe.get(v);if(R)return R(k);const L=P.deprecate((k=>{const E=le.get(k);if(!E)throw new Error(v+"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)");return E}),v+": Use new ModuleGraph API",E);pe.set(v,L);return L(k)}static setModuleGraphForModule(k,v){le.set(k,v)}static clearModuleGraphForModule(k){le.delete(k)}}const le=new WeakMap;const pe=new Map;k.exports=ModuleGraph;k.exports.ModuleGraphConnection=L},86267:function(k){"use strict";const v=Symbol("transitive only");const E=Symbol("circular connection");const addConnectionStates=(k,E)=>{if(k===true||E===true)return true;if(k===false)return E;if(E===false)return k;if(k===v)return E;if(E===v)return k;return k};const intersectConnectionStates=(k,v)=>{if(k===false||v===false)return false;if(k===true)return v;if(v===true)return k;if(k===E)return v;if(v===E)return k;return k};class ModuleGraphConnection{constructor(k,v,E,P,R=false,L=undefined){this.originModule=k;this.resolvedOriginModule=k;this.dependency=v;this.resolvedModule=E;this.module=E;this.weak=R;this.conditional=!!L;this._active=L!==false;this.condition=L||undefined;this.explanations=undefined;if(P){this.explanations=new Set;this.explanations.add(P)}}clone(){const k=new ModuleGraphConnection(this.resolvedOriginModule,this.dependency,this.resolvedModule,undefined,this.weak,this.condition);k.originModule=this.originModule;k.module=this.module;k.conditional=this.conditional;k._active=this._active;if(this.explanations)k.explanations=new Set(this.explanations);return k}addCondition(k){if(this.conditional){const v=this.condition;this.condition=(E,P)=>intersectConnectionStates(v(E,P),k(E,P))}else if(this._active){this.conditional=true;this.condition=k}}addExplanation(k){if(this.explanations===undefined){this.explanations=new Set}this.explanations.add(k)}get explanation(){if(this.explanations===undefined)return"";return Array.from(this.explanations).join(" ")}get active(){throw new Error("Use getActiveState instead")}isActive(k){if(!this.conditional)return this._active;return this.condition(this,k)!==false}isTargetActive(k){if(!this.conditional)return this._active;return this.condition(this,k)===true}getActiveState(k){if(!this.conditional)return this._active;return this.condition(this,k)}setActive(k){this.conditional=false;this._active=k}set active(k){throw new Error("Use setActive instead")}}k.exports=ModuleGraphConnection;k.exports.addConnectionStates=addConnectionStates;k.exports.TRANSITIVE_ONLY=v;k.exports.CIRCULAR_CONNECTION=E},83139:function(k,v,E){"use strict";const P=E(71572);class ModuleHashingError extends P{constructor(k,v){super();this.name="ModuleHashingError";this.error=v;this.message=v.message;this.details=v.stack;this.module=k}}k.exports=ModuleHashingError},50444:function(k,v,E){"use strict";const{ConcatSource:P,RawSource:R,CachedSource:L}=E(51255);const{UsageState:N}=E(11172);const q=E(95041);const ae=E(89168);const joinIterableWithComma=k=>{let v="";let E=true;for(const P of k){if(E){E=false}else{v+=", "}v+=P}return v};const printExportsInfoToSource=(k,v,E,P,R,L=new Set)=>{const ae=E.otherExportsInfo;let le=0;const pe=[];for(const k of E.orderedExports){if(!L.has(k)){L.add(k);pe.push(k)}else{le++}}let me=false;if(!L.has(ae)){L.add(ae);me=true}else{le++}for(const E of pe){const N=E.getTarget(P);k.add(q.toComment(`${v}export ${JSON.stringify(E.name).slice(1,-1)} [${E.getProvidedInfo()}] [${E.getUsedInfo()}] [${E.getRenameInfo()}]${N?` -> ${N.module.readableIdentifier(R)}${N.export?` .${N.export.map((k=>JSON.stringify(k).slice(1,-1))).join(".")}`:""}`:""}`)+"\n");if(E.exportsInfo){printExportsInfoToSource(k,v+" ",E.exportsInfo,P,R,L)}}if(le){k.add(q.toComment(`${v}... (${le} already listed exports)`)+"\n")}if(me){const E=ae.getTarget(P);if(E||ae.provided!==false||ae.getUsed(undefined)!==N.Unused){const P=pe.length>0||le>0?"other exports":"exports";k.add(q.toComment(`${v}${P} [${ae.getProvidedInfo()}] [${ae.getUsedInfo()}]${E?` -> ${E.module.readableIdentifier(R)}`:""}`)+"\n")}}};const le=new WeakMap;class ModuleInfoHeaderPlugin{constructor(k=true){this._verbose=k}apply(k){const{_verbose:v}=this;k.hooks.compilation.tap("ModuleInfoHeaderPlugin",(k=>{const E=ae.getCompilationHooks(k);E.renderModulePackage.tap("ModuleInfoHeaderPlugin",((k,E,{chunk:N,chunkGraph:ae,moduleGraph:pe,runtimeTemplate:me})=>{const{requestShortener:ye}=me;let _e;let Ie=le.get(ye);if(Ie===undefined){le.set(ye,Ie=new WeakMap);Ie.set(E,_e={header:undefined,full:new WeakMap})}else{_e=Ie.get(E);if(_e===undefined){Ie.set(E,_e={header:undefined,full:new WeakMap})}else if(!v){const v=_e.full.get(k);if(v!==undefined)return v}}const Me=new P;let Te=_e.header;if(Te===undefined){const k=E.readableIdentifier(ye);const v=k.replace(/\*\//g,"*_/");const P="*".repeat(v.length);const L=`/*!****${P}****!*\\\n !*** ${v} ***!\n \\****${P}****/\n`;Te=new R(L);_e.header=Te}Me.add(Te);if(v){const v=E.buildMeta.exportsType;Me.add(q.toComment(v?`${v} exports`:"unknown exports (runtime-defined)")+"\n");if(v){const k=pe.getExportsInfo(E);printExportsInfoToSource(Me,"",k,pe,ye)}Me.add(q.toComment(`runtime requirements: ${joinIterableWithComma(ae.getModuleRuntimeRequirements(E,N.runtime))}`)+"\n");const P=pe.getOptimizationBailout(E);if(P){for(const k of P){let v;if(typeof k==="function"){v=k(ye)}else{v=k}Me.add(q.toComment(`${v}`)+"\n")}}Me.add(k);return Me}else{Me.add(k);const v=new L(Me);_e.full.set(k,v);return v}}));E.chunkHash.tap("ModuleInfoHeaderPlugin",((k,v)=>{v.update("ModuleInfoHeaderPlugin");v.update("1")}))}))}}k.exports=ModuleInfoHeaderPlugin},69734:function(k,v,E){"use strict";const P=E(71572);const R={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 P{constructor(k,v,E){let P=`Module not found: ${v.toString()}`;const L=v.message.match(/Can't resolve '([^']+)'/);if(L){const k=L[1];const v=R[k];if(v){const E=v.indexOf("/");const R=E>0?v.slice(0,E):v;P+="\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";P+="If you want to include a polyfill, you need to:\n"+`\t- add a fallback 'resolve.fallback: { "${k}": require.resolve("${v}") }'\n`+`\t- install '${R}'\n`;P+="If you don't want to include a polyfill, you can use an empty module like this:\n"+`\tresolve.fallback: { "${k}": false }`}}super(P);this.name="ModuleNotFoundError";this.details=v.details;this.module=k;this.error=v;this.loc=E}}k.exports=ModuleNotFoundError},63591:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);const L=Buffer.from([0,97,115,109]);class ModuleParseError extends P{constructor(k,v,E,P){let R="Module parse failed: "+(v&&v.message);let N=undefined;if((Buffer.isBuffer(k)&&k.slice(0,4).equals(L)||typeof k==="string"&&/^\0asm/.test(k))&&!P.startsWith("webassembly")){R+="\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.";R+="\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.";R+="\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).";R+="\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(!E){R+="\nYou may need an appropriate loader to handle this file type."}else if(E.length>=1){R+=`\nFile was processed with these loaders:${E.map((k=>`\n * ${k}`)).join("")}`;R+="\nYou may need an additional loader to handle the result of these loaders."}else{R+="\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(v&&v.loc&&typeof v.loc==="object"&&typeof v.loc.line==="number"){var q=v.loc.line;if(Buffer.isBuffer(k)||/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(k)){R+="\n(Source code omitted for this binary file)"}else{const v=k.split(/\r?\n/);const E=Math.max(0,q-3);const P=v.slice(E,q-1);const L=v[q-1];const N=v.slice(q,q+2);R+=P.map((k=>`\n| ${k}`)).join("")+`\n> ${L}`+N.map((k=>`\n| ${k}`)).join("")}N={start:v.loc}}else if(v&&v.stack){R+="\n"+v.stack}super(R);this.name="ModuleParseError";this.loc=N;this.error=v}serialize(k){const{write:v}=k;v(this.error);super.serialize(k)}deserialize(k){const{read:v}=k;this.error=v();super.deserialize(k)}}R(ModuleParseError,"webpack/lib/ModuleParseError");k.exports=ModuleParseError},52200:function(k){"use strict";class ModuleProfile{constructor(){this.startTime=Date.now();this.factoryStartTime=0;this.factoryEndTime=0;this.factory=0;this.factoryParallelismFactor=0;this.restoringStartTime=0;this.restoringEndTime=0;this.restoring=0;this.restoringParallelismFactor=0;this.integrationStartTime=0;this.integrationEndTime=0;this.integration=0;this.integrationParallelismFactor=0;this.buildingStartTime=0;this.buildingEndTime=0;this.building=0;this.buildingParallelismFactor=0;this.storingStartTime=0;this.storingEndTime=0;this.storing=0;this.storingParallelismFactor=0;this.additionalFactoryTimes=undefined;this.additionalFactories=0;this.additionalFactoriesParallelismFactor=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(k){k.additionalFactories=this.factory;(k.additionalFactoryTimes=k.additionalFactoryTimes||[]).push({start:this.factoryStartTime,end:this.factoryEndTime})}}k.exports=ModuleProfile},48575:function(k,v,E){"use strict";const P=E(71572);class ModuleRestoreError extends P{constructor(k,v){let E="Module restore failed: ";let P=undefined;if(v!==null&&typeof v==="object"){if(typeof v.stack==="string"&&v.stack){const k=v.stack;E+=k}else if(typeof v.message==="string"&&v.message){E+=v.message}else{E+=v}}else{E+=String(v)}super(E);this.name="ModuleRestoreError";this.details=P;this.module=k;this.error=v}}k.exports=ModuleRestoreError},57177:function(k,v,E){"use strict";const P=E(71572);class ModuleStoreError extends P{constructor(k,v){let E="Module storing failed: ";let P=undefined;if(v!==null&&typeof v==="object"){if(typeof v.stack==="string"&&v.stack){const k=v.stack;E+=k}else if(typeof v.message==="string"&&v.message){E+=v.message}else{E+=v}}else{E+=String(v)}super(E);this.name="ModuleStoreError";this.details=P;this.module=k;this.error=v}}k.exports=ModuleStoreError},3304:function(k,v,E){"use strict";const P=E(73837);const R=E(20631);const L=R((()=>E(89168)));class ModuleTemplate{constructor(k,v){this._runtimeTemplate=k;this.type="javascript";this.hooks=Object.freeze({content:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).renderModuleContent.tap(k,((k,v,P)=>E(k,v,P,P.dependencyTemplates)))}),"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_CONTENT")},module:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).renderModuleContent.tap(k,((k,v,P)=>E(k,v,P,P.dependencyTemplates)))}),"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_MODULE")},render:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).renderModuleContainer.tap(k,((k,v,P)=>E(k,v,P,P.dependencyTemplates)))}),"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)","DEP_MODULE_TEMPLATE_RENDER")},package:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).renderModulePackage.tap(k,((k,v,P)=>E(k,v,P,P.dependencyTemplates)))}),"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)","DEP_MODULE_TEMPLATE_PACKAGE")},hash:{tap:P.deprecate(((k,E)=>{v.hooks.fullHash.tap(k,E)}),"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_MODULE_TEMPLATE_HASH")}})}}Object.defineProperty(ModuleTemplate.prototype,"runtimeTemplate",{get:P.deprecate((function(){return this._runtimeTemplate}),"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});k.exports=ModuleTemplate},93622:function(k,v){"use strict";const E="javascript/auto";const P="javascript/dynamic";const R="javascript/esm";const L="json";const N="webassembly/async";const q="webassembly/sync";const ae="css";const le="css/global";const pe="css/module";const me="asset";const ye="asset/inline";const _e="asset/resource";const Ie="asset/source";const Me="asset/raw-data-url";const Te="runtime";const je="fallback-module";const Ne="remote-module";const Be="provide-module";const qe="consume-shared-module";const Ue="lazy-compilation-proxy";v.ASSET_MODULE_TYPE=me;v.ASSET_MODULE_TYPE_RAW_DATA_URL=Me;v.ASSET_MODULE_TYPE_SOURCE=Ie;v.ASSET_MODULE_TYPE_RESOURCE=_e;v.ASSET_MODULE_TYPE_INLINE=ye;v.JAVASCRIPT_MODULE_TYPE_AUTO=E;v.JAVASCRIPT_MODULE_TYPE_DYNAMIC=P;v.JAVASCRIPT_MODULE_TYPE_ESM=R;v.JSON_MODULE_TYPE=L;v.WEBASSEMBLY_MODULE_TYPE_ASYNC=N;v.WEBASSEMBLY_MODULE_TYPE_SYNC=q;v.CSS_MODULE_TYPE=ae;v.CSS_MODULE_TYPE_GLOBAL=le;v.CSS_MODULE_TYPE_MODULE=pe;v.WEBPACK_MODULE_TYPE_RUNTIME=Te;v.WEBPACK_MODULE_TYPE_FALLBACK=je;v.WEBPACK_MODULE_TYPE_REMOTE=Ne;v.WEBPACK_MODULE_TYPE_PROVIDE=Be;v.WEBPACK_MODULE_TYPE_CONSUME_SHARED_MODULE=qe;v.WEBPACK_MODULE_TYPE_LAZY_COMPILATION_PROXY=Ue},95801:function(k,v,E){"use strict";const{cleanUp:P}=E(53657);const R=E(71572);const L=E(58528);class ModuleWarning extends R{constructor(k,{from:v=null}={}){let E="Module Warning";if(v){E+=` (from ${v}):\n`}else{E+=": "}if(k&&typeof k==="object"&&k.message){E+=k.message}else if(k){E+=String(k)}super(E);this.name="ModuleWarning";this.warning=k;this.details=k&&typeof k==="object"&&k.stack?P(k.stack,this.message):undefined}serialize(k){const{write:v}=k;v(this.warning);super.serialize(k)}deserialize(k){const{read:v}=k;this.warning=v();super.deserialize(k)}}L(ModuleWarning,"webpack/lib/ModuleWarning");k.exports=ModuleWarning},47575:function(k,v,E){"use strict";const P=E(78175);const{SyncHook:R,MultiHook:L}=E(79846);const N=E(4539);const q=E(14976);const ae=E(73463);const le=E(12970);k.exports=class MultiCompiler{constructor(k,v){if(!Array.isArray(k)){k=Object.keys(k).map((v=>{k[v].name=v;return k[v]}))}this.hooks=Object.freeze({done:new R(["stats"]),invalid:new L(k.map((k=>k.hooks.invalid))),run:new L(k.map((k=>k.hooks.run))),watchClose:new R([]),watchRun:new L(k.map((k=>k.hooks.watchRun))),infrastructureLog:new L(k.map((k=>k.hooks.infrastructureLog)))});this.compilers=k;this._options={parallelism:v.parallelism||Infinity};this.dependencies=new WeakMap;this.running=false;const E=this.compilers.map((()=>null));let P=0;for(let k=0;k{if(!L){L=true;P++}E[R]=k;if(P===this.compilers.length){this.hooks.done.call(new q(E))}}));v.hooks.invalid.tap("MultiCompiler",(()=>{if(L){L=false;P--}}))}}get options(){return Object.assign(this.compilers.map((k=>k.options)),this._options)}get outputPath(){let k=this.compilers[0].outputPath;for(const v of this.compilers){while(v.outputPath.indexOf(k)!==0&&/[/\\]/.test(k)){k=k.replace(/[/\\][^/\\]*$/,"")}}if(!k&&this.compilers[0].outputPath[0]==="/")return"/";return k}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(k){for(const v of this.compilers){v.inputFileSystem=k}}set outputFileSystem(k){for(const v of this.compilers){v.outputFileSystem=k}}set watchFileSystem(k){for(const v of this.compilers){v.watchFileSystem=k}}set intermediateFileSystem(k){for(const v of this.compilers){v.intermediateFileSystem=k}}getInfrastructureLogger(k){return this.compilers[0].getInfrastructureLogger(k)}setDependencies(k,v){this.dependencies.set(k,v)}validateDependencies(k){const v=new Set;const E=[];const targetFound=k=>{for(const E of v){if(E.target===k){return true}}return false};const sortEdges=(k,v)=>k.source.name.localeCompare(v.source.name)||k.target.name.localeCompare(v.target.name);for(const k of this.compilers){const P=this.dependencies.get(k);if(P){for(const R of P){const P=this.compilers.find((k=>k.name===R));if(!P){E.push(R)}else{v.add({source:k,target:P})}}}}const P=E.map((k=>`Compiler dependency \`${k}\` not found.`));const R=this.compilers.filter((k=>!targetFound(k)));while(R.length>0){const k=R.pop();for(const E of v){if(E.source===k){v.delete(E);const k=E.target;if(!targetFound(k)){R.push(k)}}}}if(v.size>0){const k=Array.from(v).sort(sortEdges).map((k=>`${k.source.name} -> ${k.target.name}`));k.unshift("Circular dependency found in compiler dependencies.");P.unshift(k.join("\n"))}if(P.length>0){const v=P.join("\n");k(new Error(v));return false}return true}runWithDependencies(k,v,E){const R=new Set;let L=k;const isDependencyFulfilled=k=>R.has(k);const getReadyCompilers=()=>{let k=[];let v=L;L=[];for(const E of v){const v=this.dependencies.get(E);const P=!v||v.every(isDependencyFulfilled);if(P){k.push(E)}else{L.push(E)}}return k};const runCompilers=k=>{if(L.length===0)return k();P.map(getReadyCompilers(),((k,E)=>{v(k,(v=>{if(v)return E(v);R.add(k.name);runCompilers(E)}))}),k)};runCompilers(E)}_runGraph(k,v,E){const R=this.compilers.map((k=>({compiler:k,setupResult:undefined,result:undefined,state:"blocked",children:[],parents:[]})));const L=new Map;for(const k of R)L.set(k.compiler.name,k);for(const k of R){const v=this.dependencies.get(k.compiler);if(!v)continue;for(const E of v){const v=L.get(E);k.parents.push(v);v.children.push(k)}}const N=new le;for(const k of R){if(k.parents.length===0){k.state="queued";N.enqueue(k)}}let ae=false;let pe=0;const me=this._options.parallelism;const nodeDone=(k,v,L)=>{if(ae)return;if(v){ae=true;return P.each(R,((k,v)=>{if(k.compiler.watching){k.compiler.watching.close(v)}else{v()}}),(()=>E(v)))}k.result=L;pe--;if(k.state==="running"){k.state="done";for(const v of k.children){if(v.state==="blocked")N.enqueue(v)}}else if(k.state==="running-outdated"){k.state="blocked";N.enqueue(k)}processQueue()};const nodeInvalidFromParent=k=>{if(k.state==="done"){k.state="blocked"}else if(k.state==="running"){k.state="running-outdated"}for(const v of k.children){nodeInvalidFromParent(v)}};const nodeInvalid=k=>{if(k.state==="done"){k.state="pending"}else if(k.state==="running"){k.state="running-outdated"}for(const v of k.children){nodeInvalidFromParent(v)}};const nodeChange=k=>{nodeInvalid(k);if(k.state==="pending"){k.state="blocked"}if(k.state==="blocked"){N.enqueue(k);processQueue()}};const ye=[];R.forEach(((v,E)=>{ye.push(v.setupResult=k(v.compiler,E,nodeDone.bind(null,v),(()=>v.state!=="starting"&&v.state!=="running"),(()=>nodeChange(v)),(()=>nodeInvalid(v))))}));let _e=true;const processQueue=()=>{if(_e)return;_e=true;process.nextTick(processQueueWorker)};const processQueueWorker=()=>{while(pe0&&!ae){const k=N.dequeue();if(k.state==="queued"||k.state==="blocked"&&k.parents.every((k=>k.state==="done"))){pe++;k.state="starting";v(k.compiler,k.setupResult,nodeDone.bind(null,k));k.state="running"}}_e=false;if(!ae&&pe===0&&R.every((k=>k.state==="done"))){const k=[];for(const v of R){const E=v.result;if(E){v.result=undefined;k.push(E)}}if(k.length>0){E(null,new q(k))}}};processQueueWorker();return ye}watch(k,v){if(this.running){return v(new N)}this.running=true;if(this.validateDependencies(v)){const E=this._runGraph(((v,E,P,R,L,N)=>{const q=v.watch(Array.isArray(k)?k[E]:k,P);if(q){q._onInvalid=N;q._onChange=L;q._isBlocked=R}return q}),((k,v,E)=>{if(k.watching!==v)return;if(!v.running)v.invalidate()}),v);return new ae(E,this)}return new ae([],this)}run(k){if(this.running){return k(new N)}this.running=true;if(this.validateDependencies(k)){this._runGraph((()=>{}),((k,v,E)=>k.run(E)),((v,E)=>{this.running=false;if(k!==undefined){return k(v,E)}}))}}purgeInputFileSystem(){for(const k of this.compilers){if(k.inputFileSystem&&k.inputFileSystem.purge){k.inputFileSystem.purge()}}}close(k){P.each(this.compilers,((k,v)=>{k.close(v)}),k)}}},14976:function(k,v,E){"use strict";const P=E(65315);const indent=(k,v)=>{const E=k.replace(/\n([^\n])/g,"\n"+v+"$1");return v+E};class MultiStats{constructor(k){this.stats=k}get hash(){return this.stats.map((k=>k.hash)).join("")}hasErrors(){return this.stats.some((k=>k.hasErrors()))}hasWarnings(){return this.stats.some((k=>k.hasWarnings()))}_createChildOptions(k,v){if(!k){k={}}const{children:E=undefined,...P}=typeof k==="string"?{preset:k}:k;const R=this.stats.map(((k,R)=>{const L=Array.isArray(E)?E[R]:E;return k.compilation.createStatsOptions({...P,...typeof L==="string"?{preset:L}:L&&typeof L==="object"?L:undefined},v)}));return{version:R.every((k=>k.version)),hash:R.every((k=>k.hash)),errorsCount:R.every((k=>k.errorsCount)),warningsCount:R.every((k=>k.warningsCount)),errors:R.every((k=>k.errors)),warnings:R.every((k=>k.warnings)),children:R}}toJson(k){k=this._createChildOptions(k,{forToString:false});const v={};v.children=this.stats.map(((v,E)=>{const R=v.toJson(k.children[E]);const L=v.compilation.name;const N=L&&P.makePathsRelative(k.context,L,v.compilation.compiler.root);R.name=N;return R}));if(k.version){v.version=v.children[0].version}if(k.hash){v.hash=v.children.map((k=>k.hash)).join("")}const mapError=(k,v)=>({...v,compilerPath:v.compilerPath?`${k.name}.${v.compilerPath}`:k.name});if(k.errors){v.errors=[];for(const k of v.children){for(const E of k.errors){v.errors.push(mapError(k,E))}}}if(k.warnings){v.warnings=[];for(const k of v.children){for(const E of k.warnings){v.warnings.push(mapError(k,E))}}}if(k.errorsCount){v.errorsCount=0;for(const k of v.children){v.errorsCount+=k.errorsCount}}if(k.warningsCount){v.warningsCount=0;for(const k of v.children){v.warningsCount+=k.warningsCount}}return v}toString(k){k=this._createChildOptions(k,{forToString:true});const v=this.stats.map(((v,E)=>{const R=v.toString(k.children[E]);const L=v.compilation.name;const N=L&&P.makePathsRelative(k.context,L,v.compilation.compiler.root).replace(/\|/g," ");if(!R)return R;return N?`${N}:\n${indent(R," ")}`:R}));return v.filter(Boolean).join("\n\n")}}k.exports=MultiStats},73463:function(k,v,E){"use strict";const P=E(78175);class MultiWatching{constructor(k,v){this.watchings=k;this.compiler=v}invalidate(k){if(k){P.each(this.watchings,((k,v)=>k.invalidate(v)),k)}else{for(const k of this.watchings){k.invalidate()}}}suspend(){for(const k of this.watchings){k.suspend()}}resume(){for(const k of this.watchings){k.resume()}}close(k){P.forEach(this.watchings,((k,v)=>{k.close(v)}),(v=>{this.compiler.hooks.watchClose.call();if(typeof k==="function"){this.compiler.running=false;k(v)}}))}}k.exports=MultiWatching},75018:function(k){"use strict";class NoEmitOnErrorsPlugin{apply(k){k.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",(k=>{if(k.getStats().hasErrors())return false}));k.hooks.compilation.tap("NoEmitOnErrorsPlugin",(k=>{k.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",(()=>{if(k.getStats().hasErrors())return false}))}))}}k.exports=NoEmitOnErrorsPlugin},2940:function(k,v,E){"use strict";const P=E(71572);k.exports=class NoModeWarning extends P{constructor(){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n"+"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/"}}},86770:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class NodeStuffInWebError extends P{constructor(k,v,E){super(`${JSON.stringify(v)} has been used, it will be undefined in next major version.\n${E}`);this.name="NodeStuffInWebError";this.loc=k}}R(NodeStuffInWebError,"webpack/lib/NodeStuffInWebError");k.exports=NodeStuffInWebError},12661:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R}=E(93622);const L=E(86770);const N=E(56727);const q=E(11602);const ae=E(60381);const{evaluateToString:le,expressionIsUnsupported:pe}=E(80784);const{relative:me}=E(57825);const{parseResource:ye}=E(65315);const _e="NodeStuffPlugin";class NodeStuffPlugin{constructor(k){this.options=k}apply(k){const v=this.options;k.hooks.compilation.tap(_e,((E,{normalModuleFactory:Ie})=>{const handler=(E,P)=>{if(P.node===false)return;let R=v;if(P.node){R={...R,...P.node}}if(R.global!==false){const k=R.global==="warn";E.hooks.expression.for("global").tap(_e,(v=>{const P=new ae(N.global,v.range,[N.global]);P.loc=v.loc;E.state.module.addPresentationalDependency(P);if(k){E.state.module.addWarning(new L(P.loc,"global","The global namespace object is a Node.js feature and isn't available in browsers."))}}));E.hooks.rename.for("global").tap(_e,(k=>{const v=new ae(N.global,k.range,[N.global]);v.loc=k.loc;E.state.module.addPresentationalDependency(v);return false}))}const setModuleConstant=(k,v,P)=>{E.hooks.expression.for(k).tap(_e,(R=>{const N=new q(JSON.stringify(v(E.state.module)),R.range,k);N.loc=R.loc;E.state.module.addPresentationalDependency(N);if(P){E.state.module.addWarning(new L(N.loc,k,P))}return true}))};const setConstant=(k,v,E)=>setModuleConstant(k,(()=>v),E);const Ie=k.context;if(R.__filename){switch(R.__filename){case"mock":setConstant("__filename","/index.js");break;case"warn-mock":setConstant("__filename","/index.js","__filename is a Node.js feature and isn't available in browsers.");break;case true:setModuleConstant("__filename",(v=>me(k.inputFileSystem,Ie,v.resource)));break}E.hooks.evaluateIdentifier.for("__filename").tap(_e,(k=>{if(!E.state.module)return;const v=ye(E.state.module.resource);return le(v.path)(k)}))}if(R.__dirname){switch(R.__dirname){case"mock":setConstant("__dirname","/");break;case"warn-mock":setConstant("__dirname","/","__dirname is a Node.js feature and isn't available in browsers.");break;case true:setModuleConstant("__dirname",(v=>me(k.inputFileSystem,Ie,v.context)));break}E.hooks.evaluateIdentifier.for("__dirname").tap(_e,(k=>{if(!E.state.module)return;return le(E.state.module.context)(k)}))}E.hooks.expression.for("require.extensions").tap(_e,pe(E,"require.extensions is not supported by webpack. Use a loader instead."))};Ie.hooks.parser.for(P).tap(_e,handler);Ie.hooks.parser.for(R).tap(_e,handler)}))}}k.exports=NodeStuffPlugin},38224:function(k,v,E){"use strict";const P=E(54650);const{getContext:R,runLoaders:L}=E(22955);const N=E(63477);const{HookMap:q,SyncHook:ae,AsyncSeriesBailHook:le}=E(79846);const{CachedSource:pe,OriginalSource:me,RawSource:ye,SourceMapSource:_e}=E(51255);const Ie=E(27747);const Me=E(82104);const Te=E(88396);const je=E(23804);const Ne=E(47560);const Be=E(86267);const qe=E(63591);const{JAVASCRIPT_MODULE_TYPE_AUTO:Ue}=E(93622);const Ge=E(95801);const He=E(56727);const We=E(57975);const Qe=E(71572);const Je=E(1811);const Ve=E(12359);const{isSubset:Ke}=E(59959);const{getScheme:Ye}=E(78296);const{compareLocations:Xe,concatComparators:Ze,compareSelect:et,keepOriginalOrder:tt}=E(95648);const nt=E(74012);const{createFakeHook:st}=E(61883);const{join:rt}=E(57825);const{contextify:ot,absolutify:it,makePathsRelative:at}=E(65315);const ct=E(58528);const lt=E(20631);const ut=lt((()=>E(44017)));const pt=lt((()=>E(38476).validate));const dt=/^([a-zA-Z]:\\|\\\\|\/)/;const contextifySourceUrl=(k,v,E)=>{if(v.startsWith("webpack://"))return v;return`webpack://${at(k,v,E)}`};const contextifySourceMap=(k,v,E)=>{if(!Array.isArray(v.sources))return v;const{sourceRoot:P}=v;const R=!P?k=>k:P.endsWith("/")?k=>k.startsWith("/")?`${P.slice(0,-1)}${k}`:`${P}${k}`:k=>k.startsWith("/")?`${P}${k}`:`${P}/${k}`;const L=v.sources.map((v=>contextifySourceUrl(k,R(v),E)));return{...v,file:"x",sourceRoot:undefined,sources:L}};const asString=k=>{if(Buffer.isBuffer(k)){return k.toString("utf-8")}return k};const asBuffer=k=>{if(!Buffer.isBuffer(k)){return Buffer.from(k,"utf-8")}return k};class NonErrorEmittedError extends Qe{constructor(k){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+k}}ct(NonErrorEmittedError,"webpack/lib/NormalModule","NonErrorEmittedError");const ft=new WeakMap;class NormalModule extends Te{static getCompilationHooks(k){if(!(k instanceof Ie)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=ft.get(k);if(v===undefined){v={loader:new ae(["loaderContext","module"]),beforeLoaders:new ae(["loaders","module","loaderContext"]),beforeParse:new ae(["module"]),beforeSnapshot:new ae(["module"]),readResourceForScheme:new q((k=>{const E=v.readResource.for(k);return st({tap:(k,v)=>E.tap(k,(k=>v(k.resource,k._module))),tapAsync:(k,v)=>E.tapAsync(k,((k,E)=>v(k.resource,k._module,E))),tapPromise:(k,v)=>E.tapPromise(k,(k=>v(k.resource,k._module)))})})),readResource:new q((()=>new le(["loaderContext"]))),needBuild:new le(["module","context"])};ft.set(k,v)}return v}constructor({layer:k,type:v,request:E,userRequest:P,rawRequest:L,loaders:N,resource:q,resourceResolveData:ae,context:le,matchResource:pe,parser:me,parserOptions:ye,generator:_e,generatorOptions:Ie,resolveOptions:Me}){super(v,le||R(q),k);this.request=E;this.userRequest=P;this.rawRequest=L;this.binary=/^(asset|webassembly)\b/.test(v);this.parser=me;this.parserOptions=ye;this.generator=_e;this.generatorOptions=Ie;this.resource=q;this.resourceResolveData=ae;this.matchResource=pe;this.loaders=N;if(Me!==undefined){this.resolveOptions=Me}this.error=null;this._source=null;this._sourceSizes=undefined;this._sourceTypes=undefined;this._lastSuccessfulBuildMeta={};this._forceBuild=true;this._isEvaluatingSideEffects=false;this._addedSideEffectsBailout=undefined;this._codeGeneratorData=new Map}identifier(){if(this.layer===null){if(this.type===Ue){return this.request}else{return`${this.type}|${this.request}`}}else{return`${this.type}|${this.request}|${this.layer}`}}readableIdentifier(k){return k.shorten(this.userRequest)}libIdent(k){let v=ot(k.context,this.userRequest,k.associatedObjectForCache);if(this.layer)v=`(${this.layer})/${v}`;return v}nameForCondition(){const k=this.matchResource||this.resource;const v=k.indexOf("?");if(v>=0)return k.slice(0,v);return k}updateCacheModule(k){super.updateCacheModule(k);const v=k;this.binary=v.binary;this.request=v.request;this.userRequest=v.userRequest;this.rawRequest=v.rawRequest;this.parser=v.parser;this.parserOptions=v.parserOptions;this.generator=v.generator;this.generatorOptions=v.generatorOptions;this.resource=v.resource;this.resourceResolveData=v.resourceResolveData;this.context=v.context;this.matchResource=v.matchResource;this.loaders=v.loaders}cleanupForCache(){if(this.buildInfo){if(this._sourceTypes===undefined)this.getSourceTypes();for(const k of this._sourceTypes){this.size(k)}}super.cleanupForCache();this.parser=undefined;this.parserOptions=undefined;this.generator=undefined;this.generatorOptions=undefined}getUnsafeCacheData(){const k=super.getUnsafeCacheData();k.parserOptions=this.parserOptions;k.generatorOptions=this.generatorOptions;return k}restoreFromUnsafeCache(k,v){this._restoreFromUnsafeCache(k,v)}_restoreFromUnsafeCache(k,v){super._restoreFromUnsafeCache(k,v);this.parserOptions=k.parserOptions;this.parser=v.getParser(this.type,this.parserOptions);this.generatorOptions=k.generatorOptions;this.generator=v.getGenerator(this.type,this.generatorOptions)}createSourceForAsset(k,v,E,P,R){if(P){if(typeof P==="string"&&(this.useSourceMap||this.useSimpleSourceMap)){return new me(E,contextifySourceUrl(k,P,R))}if(this.useSourceMap){return new _e(E,v,contextifySourceMap(k,P,R))}}return new ye(E)}_createLoaderContext(k,v,E,R,L){const{requestShortener:q}=E.runtimeTemplate;const getCurrentLoaderName=()=>{const k=this.getCurrentLoader(_e);if(!k)return"(not in loader scope)";return q.shorten(k.loader)};const getResolveContext=()=>({fileDependencies:{add:k=>_e.addDependency(k)},contextDependencies:{add:k=>_e.addContextDependency(k)},missingDependencies:{add:k=>_e.addMissingDependency(k)}});const ae=lt((()=>it.bindCache(E.compiler.root)));const le=lt((()=>it.bindContextCache(this.context,E.compiler.root)));const pe=lt((()=>ot.bindCache(E.compiler.root)));const me=lt((()=>ot.bindContextCache(this.context,E.compiler.root)));const ye={absolutify:(k,v)=>k===this.context?le()(v):ae()(k,v),contextify:(k,v)=>k===this.context?me()(v):pe()(k,v),createHash:k=>nt(k||E.outputOptions.hashFunction)};const _e={version:2,getOptions:k=>{const v=this.getCurrentLoader(_e);let{options:E}=v;if(typeof E==="string"){if(E.startsWith("{")&&E.endsWith("}")){try{E=P(E)}catch(k){throw new Error(`Cannot parse string options: ${k.message}`)}}else{E=N.parse(E,"&","=",{maxKeys:0})}}if(E===null||E===undefined){E={}}if(k){let v="Loader";let P="options";let R;if(k.title&&(R=/^(.+) (.+)$/.exec(k.title))){[,v,P]=R}pt()(k,E,{name:v,baseDataPath:P})}return E},emitWarning:k=>{if(!(k instanceof Error)){k=new NonErrorEmittedError(k)}this.addWarning(new Ge(k,{from:getCurrentLoaderName()}))},emitError:k=>{if(!(k instanceof Error)){k=new NonErrorEmittedError(k)}this.addError(new Ne(k,{from:getCurrentLoaderName()}))},getLogger:k=>{const v=this.getCurrentLoader(_e);return E.getLogger((()=>[v&&v.loader,k,this.identifier()].filter(Boolean).join("|")))},resolve(v,E,P){k.resolve({},v,E,getResolveContext(),P)},getResolve(v){const E=v?k.withOptions(v):k;return(k,v,P)=>{if(P){E.resolve({},k,v,getResolveContext(),P)}else{return new Promise(((P,R)=>{E.resolve({},k,v,getResolveContext(),((k,v)=>{if(k)R(k);else P(v)}))}))}}},emitFile:(k,P,R,L)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[k]=this.createSourceForAsset(v.context,k,P,R,E.compiler.root);this.buildInfo.assetsInfo.set(k,L)},addBuildDependency:k=>{if(this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new Ve}this.buildInfo.buildDependencies.add(k)},utils:ye,rootContext:v.context,webpack:true,sourceMap:!!this.useSourceMap,mode:v.mode||"production",_module:this,_compilation:E,_compiler:E.compiler,fs:R};Object.assign(_e,v.loader);L.loader.call(_e,this);return _e}getCurrentLoader(k,v=k.loaderIndex){if(this.loaders&&this.loaders.length&&v=0&&this.loaders[v]){return this.loaders[v]}return null}createSource(k,v,E,P){if(Buffer.isBuffer(v)){return new ye(v)}if(!this.identifier){return new ye(v)}const R=this.identifier();if(this.useSourceMap&&E){return new _e(v,contextifySourceUrl(k,R,P),contextifySourceMap(k,E,P))}if(this.useSourceMap||this.useSimpleSourceMap){return new me(v,contextifySourceUrl(k,R,P))}return new ye(v)}_doBuild(k,v,E,P,R,N){const q=this._createLoaderContext(E,k,v,P,R);const processResult=(E,P)=>{if(E){if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}const k=this.getCurrentLoader(q);const P=new je(E,{from:k&&v.runtimeTemplate.requestShortener.shorten(k.loader)});return N(P)}const R=P[0];const L=P.length>=1?P[1]:null;const ae=P.length>=2?P[2]:null;if(!Buffer.isBuffer(R)&&typeof R!=="string"){const k=this.getCurrentLoader(q,0);const E=new Error(`Final loader (${k?v.runtimeTemplate.requestShortener.shorten(k.loader):"unknown"}) didn't return a Buffer or String`);const P=new je(E);return N(P)}this._source=this.createSource(k.context,this.binary?asBuffer(R):asString(R),L,v.compiler.root);if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._ast=typeof ae==="object"&&ae!==null&&ae.webpackAST!==undefined?ae.webpackAST:null;return N()};this.buildInfo.fileDependencies=new Ve;this.buildInfo.contextDependencies=new Ve;this.buildInfo.missingDependencies=new Ve;this.buildInfo.cacheable=true;try{R.beforeLoaders.call(this.loaders,this,q)}catch(k){processResult(k);return}if(this.loaders.length>0){this.buildInfo.buildDependencies=new Ve}L({resource:this.resource,loaders:this.loaders,context:q,processResource:(k,v,E)=>{const P=k.resource;const L=Ye(P);R.readResource.for(L).callAsync(k,((k,v)=>{if(k)return E(k);if(typeof v!=="string"&&!v){return E(new We(L,P))}return E(null,v)}))}},((k,v)=>{q._compilation=q._compiler=q._module=q.fs=undefined;if(!v){this.buildInfo.cacheable=false;return processResult(k||new Error("No result from loader-runner processing"),null)}this.buildInfo.fileDependencies.addAll(v.fileDependencies);this.buildInfo.contextDependencies.addAll(v.contextDependencies);this.buildInfo.missingDependencies.addAll(v.missingDependencies);for(const k of this.loaders){this.buildInfo.buildDependencies.add(k.loader)}this.buildInfo.cacheable=this.buildInfo.cacheable&&v.cacheable;processResult(k,v.result)}))}markModuleAsErrored(k){this.buildMeta={...this._lastSuccessfulBuildMeta};this.error=k;this.addError(k)}applyNoParseRule(k,v){if(typeof k==="string"){return v.startsWith(k)}if(typeof k==="function"){return k(v)}return k.test(v)}shouldPreventParsing(k,v){if(!k){return false}if(!Array.isArray(k)){return this.applyNoParseRule(k,v)}for(let E=0;E{if(E){this.markModuleAsErrored(E);this._initBuildHash(v);return R()}const handleParseError=E=>{const P=this._source.source();const L=this.loaders.map((E=>ot(k.context,E.loader,v.compiler.root)));const N=new qe(P,E,L,this.type);this.markModuleAsErrored(N);this._initBuildHash(v);return R()};const handleParseResult=k=>{this.dependencies.sort(Ze(et((k=>k.loc),Xe),tt(this.dependencies)));this._initBuildHash(v);this._lastSuccessfulBuildMeta=this.buildMeta;return handleBuildDone()};const handleBuildDone=()=>{try{N.beforeSnapshot.call(this)}catch(k){this.markModuleAsErrored(k);return R()}const k=v.options.snapshot.module;if(!this.buildInfo.cacheable||!k){return R()}let E=undefined;const checkDependencies=k=>{for(const P of k){if(!dt.test(P)){if(E===undefined)E=new Set;E.add(P);k.delete(P);try{const E=P.replace(/[\\/]?\*.*$/,"");const R=rt(v.fileSystemInfo.fs,this.context,E);if(R!==P&&dt.test(R)){(E!==P?this.buildInfo.contextDependencies:k).add(R)}}catch(k){}}}};checkDependencies(this.buildInfo.fileDependencies);checkDependencies(this.buildInfo.missingDependencies);checkDependencies(this.buildInfo.contextDependencies);if(E!==undefined){const k=ut();this.addWarning(new k(this,E))}v.fileSystemInfo.createSnapshot(L,this.buildInfo.fileDependencies,this.buildInfo.contextDependencies,this.buildInfo.missingDependencies,k,((k,v)=>{if(k){this.markModuleAsErrored(k);return}this.buildInfo.fileDependencies=undefined;this.buildInfo.contextDependencies=undefined;this.buildInfo.missingDependencies=undefined;this.buildInfo.snapshot=v;return R()}))};try{N.beforeParse.call(this)}catch(E){this.markModuleAsErrored(E);this._initBuildHash(v);return R()}const P=k.module&&k.module.noParse;if(this.shouldPreventParsing(P,this.request)){this.buildInfo.parsed=false;this._initBuildHash(v);return handleBuildDone()}let q;try{const E=this._source.source();q=this.parser.parse(this._ast||E,{source:E,current:this,module:this,compilation:v,options:k})}catch(k){handleParseError(k);return}handleParseResult(q)}))}getConcatenationBailoutReason(k){return this.generator.getConcatenationBailoutReason(this,k)}getSideEffectsConnectionState(k){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 Be.CIRCULAR_CONNECTION;this._isEvaluatingSideEffects=true;let v=false;for(const E of this.dependencies){const P=E.getModuleEvaluationSideEffectsState(k);if(P===true){if(this._addedSideEffectsBailout===undefined?(this._addedSideEffectsBailout=new WeakSet,true):!this._addedSideEffectsBailout.has(k)){this._addedSideEffectsBailout.add(k);k.getOptimizationBailout(this).push((()=>`Dependency (${E.type}) with side effects at ${Je(E.loc)}`))}this._isEvaluatingSideEffects=false;return true}else if(P!==Be.CIRCULAR_CONNECTION){v=Be.addConnectionStates(v,P)}}this._isEvaluatingSideEffects=false;return v}else{return true}}getSourceTypes(){if(this._sourceTypes===undefined){this._sourceTypes=this.generator.getTypes(this)}return this._sourceTypes}codeGeneration({dependencyTemplates:k,runtimeTemplate:v,moduleGraph:E,chunkGraph:P,runtime:R,concatenationScope:L,codeGenerationResults:N,sourceTypes:q}){const ae=new Set;if(!this.buildInfo.parsed){ae.add(He.module);ae.add(He.exports);ae.add(He.thisAsExports)}const getData=()=>this._codeGeneratorData;const le=new Map;for(const me of q||P.getModuleSourceTypes(this)){const q=this.error?new ye("throw new Error("+JSON.stringify(this.error.message)+");"):this.generator.generate(this,{dependencyTemplates:k,runtimeTemplate:v,moduleGraph:E,chunkGraph:P,runtimeRequirements:ae,runtime:R,concatenationScope:L,codeGenerationResults:N,getData:getData,type:me});if(q){le.set(me,new pe(q))}}const me={sources:le,runtimeRequirements:ae,data:this._codeGeneratorData};return me}originalSource(){return this._source}invalidateBuild(){this._forceBuild=true}needBuild(k,v){const{fileSystemInfo:E,compilation:P,valueCacheVersions:R}=k;if(this._forceBuild)return v(null,true);if(this.error)return v(null,true);if(!this.buildInfo.cacheable)return v(null,true);if(!this.buildInfo.snapshot)return v(null,true);const L=this.buildInfo.valueDependencies;if(L){if(!R)return v(null,true);for(const[k,E]of L){if(E===undefined)return v(null,true);const P=R.get(k);if(E!==P&&(typeof E==="string"||typeof P==="string"||P===undefined||!Ke(E,P))){return v(null,true)}}}E.checkSnapshotValid(this.buildInfo.snapshot,((E,R)=>{if(E)return v(E);if(!R)return v(null,true);const L=NormalModule.getCompilationHooks(P);L.needBuild.callAsync(this,k,((k,E)=>{if(k){return v(Me.makeWebpackError(k,"NormalModule.getCompilationHooks().needBuild"))}v(null,!!E)}))}))}size(k){const v=this._sourceSizes===undefined?undefined:this._sourceSizes.get(k);if(v!==undefined){return v}const E=Math.max(1,this.generator.getSize(this,k));if(this._sourceSizes===undefined){this._sourceSizes=new Map}this._sourceSizes.set(k,E);return E}addCacheDependencies(k,v,E,P){const{snapshot:R,buildDependencies:L}=this.buildInfo;if(R){k.addAll(R.getFileIterable());v.addAll(R.getContextIterable());E.addAll(R.getMissingIterable())}else{const{fileDependencies:P,contextDependencies:R,missingDependencies:L}=this.buildInfo;if(P!==undefined)k.addAll(P);if(R!==undefined)v.addAll(R);if(L!==undefined)E.addAll(L)}if(L!==undefined){P.addAll(L)}}updateHash(k,v){k.update(this.buildInfo.hash);this.generator.updateHash(k,{module:this,...v});super.updateHash(k,v)}serialize(k){const{write:v}=k;v(this._source);v(this.error);v(this._lastSuccessfulBuildMeta);v(this._forceBuild);v(this._codeGeneratorData);super.serialize(k)}static deserialize(k){const v=new NormalModule({layer:null,type:"",resource:"",context:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null});v.deserialize(k);return v}deserialize(k){const{read:v}=k;this._source=v();this.error=v();this._lastSuccessfulBuildMeta=v();this._forceBuild=v();this._codeGeneratorData=v();super.deserialize(k)}}ct(NormalModule,"webpack/lib/NormalModule");k.exports=NormalModule},14062:function(k,v,E){"use strict";const{getContext:P}=E(22955);const R=E(78175);const{AsyncSeriesBailHook:L,SyncWaterfallHook:N,SyncBailHook:q,SyncHook:ae,HookMap:le}=E(79846);const pe=E(38317);const me=E(88396);const ye=E(66043);const _e=E(88223);const{JAVASCRIPT_MODULE_TYPE_AUTO:Ie}=E(93622);const Me=E(38224);const Te=E(4345);const je=E(559);const Ne=E(73799);const Be=E(87536);const qe=E(53998);const Ue=E(12359);const{getScheme:Ge}=E(78296);const{cachedCleverMerge:He,cachedSetProperty:We}=E(99454);const{join:Qe}=E(57825);const{parseResource:Je,parseResourceWithoutFragment:Ve}=E(65315);const Ke={};const Ye={};const Xe={};const Ze=[];const et=/^([^!]+)!=!/;const tt=/^[^.]/;const loaderToIdent=k=>{if(!k.options){return k.loader}if(typeof k.options==="string"){return k.loader+"?"+k.options}if(typeof k.options!=="object"){throw new Error("loader options must be string or object")}if(k.ident){return k.loader+"??"+k.ident}return k.loader+"?"+JSON.stringify(k.options)};const stringifyLoadersAndResource=(k,v)=>{let E="";for(const v of k){E+=loaderToIdent(v)+"!"}return E+v};const needCalls=(k,v)=>E=>{if(--k===0){return v(E)}if(E&&k>0){k=NaN;return v(E)}};const mergeGlobalOptions=(k,v,E)=>{const P=v.split("/");let R;let L="";for(const v of P){L=L?`${L}/${v}`:v;const E=k[L];if(typeof E==="object"){if(R===undefined){R=E}else{R=He(R,E)}}}if(R===undefined){return E}else{return He(R,E)}};const deprecationChangedHookMessage=(k,v)=>{const E=v.taps.map((k=>k.name)).join(", ");return`NormalModuleFactory.${k} (${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 nt=new Be([new je("test","resource"),new je("scheme"),new je("mimetype"),new je("dependency"),new je("include","resource"),new je("exclude","resource",true),new je("resource"),new je("resourceQuery"),new je("resourceFragment"),new je("realResource"),new je("issuer"),new je("compiler"),new je("issuerLayer"),new Ne("assert","assertions"),new Ne("descriptionData"),new Te("type"),new Te("sideEffects"),new Te("parser"),new Te("resolve"),new Te("generator"),new Te("layer"),new qe]);class NormalModuleFactory extends ye{constructor({context:k,fs:v,resolverFactory:E,options:R,associatedObjectForCache:pe,layers:ye=false}){super();this.hooks=Object.freeze({resolve:new L(["resolveData"]),resolveForScheme:new le((()=>new L(["resourceData","resolveData"]))),resolveInScheme:new le((()=>new L(["resourceData","resolveData"]))),factorize:new L(["resolveData"]),beforeResolve:new L(["resolveData"]),afterResolve:new L(["resolveData"]),createModule:new L(["createData","resolveData"]),module:new N(["module","createData","resolveData"]),createParser:new le((()=>new q(["parserOptions"]))),parser:new le((()=>new ae(["parser","parserOptions"]))),createGenerator:new le((()=>new q(["generatorOptions"]))),generator:new le((()=>new ae(["generator","generatorOptions"]))),createModuleClass:new le((()=>new q(["createData","resolveData"])))});this.resolverFactory=E;this.ruleSet=nt.compile([{rules:R.defaultRules},{rules:R.rules}]);this.context=k||"";this.fs=v;this._globalParserOptions=R.parser;this._globalGeneratorOptions=R.generator;this.parserCache=new Map;this.generatorCache=new Map;this._restoredUnsafeCacheEntries=new Set;const _e=Je.bindCache(pe);const Te=Ve.bindCache(pe);this._parseResourceWithoutFragment=Te;this.hooks.factorize.tapAsync({name:"NormalModuleFactory",stage:100},((k,v)=>{this.hooks.resolve.callAsync(k,((E,P)=>{if(E)return v(E);if(P===false)return v();if(P instanceof me)return v(null,P);if(typeof P==="object")throw new Error(deprecationChangedHookMessage("resolve",this.hooks.resolve)+" Returning a Module object will result in this module used as result.");this.hooks.afterResolve.callAsync(k,((E,P)=>{if(E)return v(E);if(typeof P==="object")throw new Error(deprecationChangedHookMessage("afterResolve",this.hooks.afterResolve));if(P===false)return v();const R=k.createData;this.hooks.createModule.callAsync(R,k,((E,P)=>{if(!P){if(!k.request){return v(new Error("Empty dependency (no request)"))}P=this.hooks.createModuleClass.for(R.settings.type).call(R,k);if(!P){P=new Me(R)}}P=this.hooks.module.call(P,R,k);return v(null,P)}))}))}))}));this.hooks.resolve.tapAsync({name:"NormalModuleFactory",stage:100},((k,v)=>{const{contextInfo:E,context:R,dependencies:L,dependencyType:N,request:q,assertions:ae,resolveOptions:le,fileDependencies:pe,missingDependencies:me,contextDependencies:Me}=k;const je=this.getResolver("loader");let Ne=undefined;let Be;let qe;let Ue=false;let Je=false;let Ve=false;const Ye=Ge(R);let Xe=Ge(q);if(!Xe){let k=q;const v=et.exec(q);if(v){let E=v[1];if(E.charCodeAt(0)===46){const k=E.charCodeAt(1);if(k===47||k===46&&E.charCodeAt(2)===47){E=Qe(this.fs,R,E)}}Ne={resource:E,..._e(E)};k=q.slice(v[0].length)}Xe=Ge(k);if(!Xe&&!Ye){const v=k.charCodeAt(0);const E=k.charCodeAt(1);Ue=v===45&&E===33;Je=Ue||v===33;Ve=v===33&&E===33;const P=k.slice(Ue||Ve?2:Je?1:0).split(/!+/);Be=P.pop();qe=P.map((k=>{const{path:v,query:E}=Te(k);return{loader:v,options:E?E.slice(1):undefined}}));Xe=Ge(Be)}else{Be=k;qe=Ze}}else{Be=q;qe=Ze}const tt={fileDependencies:pe,missingDependencies:me,contextDependencies:Me};let nt;let st;const rt=needCalls(2,(le=>{if(le)return v(le);try{for(const k of st){if(typeof k.options==="string"&&k.options[0]==="?"){const v=k.options.slice(1);if(v==="[[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.")}k.options=this.ruleSet.references.get(v);if(k.options===undefined){throw new Error("Invalid ident is provided by referenced loader")}k.ident=v}}}catch(k){return v(k)}if(!nt){return v(null,L[0].createIgnoredModule(R))}const pe=(Ne!==undefined?`${Ne.resource}!=!`:"")+stringifyLoadersAndResource(st,nt.resource);const me={};const _e=[];const Me=[];const Te=[];let Be;let qe;if(Ne&&typeof(Be=Ne.resource)==="string"&&(qe=/\.webpack\[([^\]]+)\]$/.exec(Be))){me.type=qe[1];Ne.resource=Ne.resource.slice(0,-me.type.length-10)}else{me.type=Ie;const k=Ne||nt;const v=this.ruleSet.exec({resource:k.path,realResource:nt.path,resourceQuery:k.query,resourceFragment:k.fragment,scheme:Xe,assertions:ae,mimetype:Ne?"":nt.data.mimetype||"",dependency:N,descriptionData:Ne?undefined:nt.data.descriptionFileData,issuer:E.issuer,compiler:E.compiler,issuerLayer:E.issuerLayer||""});for(const k of v){if(k.type==="type"&&Ve){continue}if(k.type==="use"){if(!Je&&!Ve){Me.push(k.value)}}else if(k.type==="use-post"){if(!Ve){_e.push(k.value)}}else if(k.type==="use-pre"){if(!Ue&&!Ve){Te.push(k.value)}}else if(typeof k.value==="object"&&k.value!==null&&typeof me[k.type]==="object"&&me[k.type]!==null){me[k.type]=He(me[k.type],k.value)}else{me[k.type]=k.value}}}let Ge,We,Qe;const Ke=needCalls(3,(R=>{if(R){return v(R)}const L=Ge;if(Ne===undefined){for(const k of st)L.push(k);for(const k of We)L.push(k)}else{for(const k of We)L.push(k);for(const k of st)L.push(k)}for(const k of Qe)L.push(k);let N=me.type;const ae=me.resolve;const le=me.layer;if(le!==undefined&&!ye){return v(new Error("'Rule.layer' is only allowed when 'experiments.layers' is enabled"))}try{Object.assign(k.createData,{layer:le===undefined?E.issuerLayer||null:le,request:stringifyLoadersAndResource(L,nt.resource),userRequest:pe,rawRequest:q,loaders:L,resource:nt.resource,context:nt.context||P(nt.resource),matchResource:Ne?Ne.resource:undefined,resourceResolveData:nt.data,settings:me,type:N,parser:this.getParser(N,me.parser),parserOptions:me.parser,generator:this.getGenerator(N,me.generator),generatorOptions:me.generator,resolveOptions:ae})}catch(k){return v(k)}v()}));this.resolveRequestArray(E,this.context,_e,je,tt,((k,v)=>{Ge=v;Ke(k)}));this.resolveRequestArray(E,this.context,Me,je,tt,((k,v)=>{We=v;Ke(k)}));this.resolveRequestArray(E,this.context,Te,je,tt,((k,v)=>{Qe=v;Ke(k)}))}));this.resolveRequestArray(E,Ye?this.context:R,qe,je,tt,((k,v)=>{if(k)return rt(k);st=v;rt()}));const defaultResolve=k=>{if(/^($|\?)/.test(Be)){nt={resource:Be,data:{},..._e(Be)};rt()}else{const v=this.getResolver("normal",N?We(le||Ke,"dependencyType",N):le);this.resolveResource(E,k,Be,v,tt,((k,v,E)=>{if(k)return rt(k);if(v!==false){nt={resource:v,data:E,..._e(v)}}rt()}))}};if(Xe){nt={resource:Be,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveForScheme.for(Xe).callAsync(nt,k,(k=>{if(k)return rt(k);rt()}))}else if(Ye){nt={resource:Be,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveInScheme.for(Ye).callAsync(nt,k,((k,v)=>{if(k)return rt(k);if(!v)return defaultResolve(this.context);rt()}))}else defaultResolve(R)}))}cleanupForCache(){for(const k of this._restoredUnsafeCacheEntries){pe.clearChunkGraphForModule(k);_e.clearModuleGraphForModule(k);k.cleanupForCache()}}create(k,v){const E=k.dependencies;const P=k.context||this.context;const R=k.resolveOptions||Ke;const L=E[0];const N=L.request;const q=L.assertions;const ae=k.contextInfo;const le=new Ue;const pe=new Ue;const me=new Ue;const ye=E.length>0&&E[0].category||"";const _e={contextInfo:ae,resolveOptions:R,context:P,request:N,assertions:q,dependencies:E,dependencyType:ye,fileDependencies:le,missingDependencies:pe,contextDependencies:me,createData:{},cacheable:true};this.hooks.beforeResolve.callAsync(_e,((k,E)=>{if(k){return v(k,{fileDependencies:le,missingDependencies:pe,contextDependencies:me,cacheable:false})}if(E===false){return v(null,{fileDependencies:le,missingDependencies:pe,contextDependencies:me,cacheable:_e.cacheable})}if(typeof E==="object")throw new Error(deprecationChangedHookMessage("beforeResolve",this.hooks.beforeResolve));this.hooks.factorize.callAsync(_e,((k,E)=>{if(k){return v(k,{fileDependencies:le,missingDependencies:pe,contextDependencies:me,cacheable:false})}const P={module:E,fileDependencies:le,missingDependencies:pe,contextDependencies:me,cacheable:_e.cacheable};v(null,P)}))}))}resolveResource(k,v,E,P,R,L){P.resolve(k,v,E,R,((N,q,ae)=>{if(N){return this._resolveResourceErrorHints(N,k,v,E,P,R,((k,v)=>{if(k){N.message+=`\nA fatal error happened during resolving additional hints for this error: ${k.message}`;N.stack+=`\n\nA fatal error happened during resolving additional hints for this error:\n${k.stack}`;return L(N)}if(v&&v.length>0){N.message+=`\n${v.join("\n\n")}`}let E=false;const R=Array.from(P.options.extensions);const q=R.map((k=>{if(tt.test(k)){E=true;return`.${k}`}return k}));if(E){N.message+=`\nDid you miss the leading dot in 'resolve.extensions'? Did you mean '${JSON.stringify(q)}' instead of '${JSON.stringify(R)}'?`}L(N)}))}L(N,q,ae)}))}_resolveResourceErrorHints(k,v,E,P,L,N,q){R.parallel([k=>{if(!L.options.fullySpecified)return k();L.withOptions({fullySpecified:false}).resolve(v,E,P,N,((v,E)=>{if(!v&&E){const v=Je(E).path.replace(/^.*[\\/]/,"");return k(null,`Did you mean '${v}'?\nBREAKING CHANGE: The request '${P}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, 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.`)}k()}))},k=>{if(!L.options.enforceExtension)return k();L.withOptions({enforceExtension:false,extensions:[]}).resolve(v,E,P,N,((v,E)=>{if(!v&&E){let v="";const E=/(\.[^.]+)(\?|$)/.exec(P);if(E){const k=P.replace(/(\.[^.]+)(\?|$)/,"$2");if(L.options.extensions.has(E[1])){v=`Did you mean '${k}'?`}else{v=`Did you mean '${k}'? Also note that '${E[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?`}}else{v=`Did you mean to omit the extension or to remove 'resolve.enforceExtension'?`}return k(null,`The request '${P}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${v}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?`)}k()}))},k=>{if(/^\.\.?\//.test(P)||L.options.preferRelative){return k()}L.resolve(v,E,`./${P}`,N,((v,E)=>{if(v||!E)return k();const R=L.options.modules.map((k=>Array.isArray(k)?k.join(", "):k)).join(", ");k(null,`Did you mean './${P}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${R}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.`)}))}],((k,v)=>{if(k)return q(k);q(null,v.filter(Boolean))}))}resolveRequestArray(k,v,E,P,L,N){if(E.length===0)return N(null,E);R.map(E,((E,R)=>{P.resolve(k,v,E.loader,L,((N,q,ae)=>{if(N&&/^[^/]*$/.test(E.loader)&&!/-loader$/.test(E.loader)){return P.resolve(k,v,E.loader+"-loader",L,(k=>{if(!k){N.message=N.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${E.loader}-loader' instead of '${E.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}R(N)}))}if(N)return R(N);const le=this._parseResourceWithoutFragment(q);const pe=/\.mjs$/i.test(le.path)?"module":/\.cjs$/i.test(le.path)?"commonjs":ae.descriptionFileData===undefined?undefined:ae.descriptionFileData.type;const me={loader:le.path,type:pe,options:E.options===undefined?le.query?le.query.slice(1):undefined:E.options,ident:E.options===undefined?undefined:E.ident};return R(null,me)}))}),N)}getParser(k,v=Ye){let E=this.parserCache.get(k);if(E===undefined){E=new WeakMap;this.parserCache.set(k,E)}let P=E.get(v);if(P===undefined){P=this.createParser(k,v);E.set(v,P)}return P}createParser(k,v={}){v=mergeGlobalOptions(this._globalParserOptions,k,v);const E=this.hooks.createParser.for(k).call(v);if(!E){throw new Error(`No parser registered for ${k}`)}this.hooks.parser.for(k).call(E,v);return E}getGenerator(k,v=Xe){let E=this.generatorCache.get(k);if(E===undefined){E=new WeakMap;this.generatorCache.set(k,E)}let P=E.get(v);if(P===undefined){P=this.createGenerator(k,v);E.set(v,P)}return P}createGenerator(k,v={}){v=mergeGlobalOptions(this._globalGeneratorOptions,k,v);const E=this.hooks.createGenerator.for(k).call(v);if(!E){throw new Error(`No generator registered for ${k}`)}this.hooks.generator.for(k).call(E,v);return E}getResolver(k,v){return this.resolverFactory.get(k,v)}}k.exports=NormalModuleFactory},35548:function(k,v,E){"use strict";const{join:P,dirname:R}=E(57825);class NormalModuleReplacementPlugin{constructor(k,v){this.resourceRegExp=k;this.newResource=v}apply(k){const v=this.resourceRegExp;const E=this.newResource;k.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",(L=>{L.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",(k=>{if(v.test(k.request)){if(typeof E==="function"){E(k)}else{k.request=E}}}));L.hooks.afterResolve.tap("NormalModuleReplacementPlugin",(L=>{const N=L.createData;if(v.test(N.resource)){if(typeof E==="function"){E(L)}else{const v=k.inputFileSystem;if(E.startsWith("/")||E.length>1&&E[1]===":"){N.resource=E}else{N.resource=P(v,R(v,N.resource),E)}}}}))}))}}k.exports=NormalModuleReplacementPlugin},99134:function(k,v){"use strict";v.STAGE_BASIC=-10;v.STAGE_DEFAULT=0;v.STAGE_ADVANCED=10},64593:function(k){"use strict";class OptionsApply{process(k,v){}}k.exports=OptionsApply},17381:function(k,v,E){"use strict";class Parser{parse(k,v){const P=E(60386);throw new P}}k.exports=Parser},93380:function(k,v,E){"use strict";const P=E(85992);class PrefetchPlugin{constructor(k,v){if(v){this.context=k;this.request=v}else{this.context=null;this.request=k}}apply(k){k.hooks.compilation.tap("PrefetchPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(P,v)}));k.hooks.make.tapAsync("PrefetchPlugin",((v,E)=>{v.addModuleChain(this.context||k.context,new P(this.request),(k=>{E(k)}))}))}}k.exports=PrefetchPlugin},6535:function(k,v,E){"use strict";const P=E(2170);const R=E(47575);const L=E(38224);const N=E(92198);const{contextify:q}=E(65315);const ae=N(E(53912),(()=>E(13689)),{name:"Progress Plugin",baseDataPath:"options"});const median3=(k,v,E)=>k+v+E-Math.max(k,v,E)-Math.min(k,v,E);const createDefaultHandler=(k,v)=>{const E=[];const defaultHandler=(P,R,...L)=>{if(k){if(P===0){E.length=0}const k=[R,...L];const N=k.map((k=>k.replace(/\d+\/\d+ /g,"")));const q=Date.now();const ae=Math.max(N.length,E.length);for(let k=ae;k>=0;k--){const P=k0){P=E[k-1].value+" > "+P}const N=`${" | ".repeat(k)}${L} ms ${P}`;const q=L;{if(q>1e4){v.error(N)}else if(q>1e3){v.warn(N)}else if(q>10){v.info(N)}else if(q>5){v.log(N)}else{v.debug(N)}}}if(P===undefined){E.length=k}else{R.value=P;R.time=q;E.length=k+1}}}else{E[k]={value:P,time:q}}}}v.status(`${Math.floor(P*100)}%`,R,...L);if(P===1||!R&&L.length===0)v.status()};return defaultHandler};const le=new WeakMap;class ProgressPlugin{static getReporter(k){return le.get(k)}constructor(k={}){if(typeof k==="function"){k={handler:k}}ae(k);k={...ProgressPlugin.defaultOptions,...k};this.profile=k.profile;this.handler=k.handler;this.modulesCount=k.modulesCount;this.dependenciesCount=k.dependenciesCount;this.showEntries=k.entries;this.showModules=k.modules;this.showDependencies=k.dependencies;this.showActiveModules=k.activeModules;this.percentBy=k.percentBy}apply(k){const v=this.handler||createDefaultHandler(this.profile,k.getInfrastructureLogger("webpack.Progress"));if(k instanceof R){this._applyOnMultiCompiler(k,v)}else if(k instanceof P){this._applyOnCompiler(k,v)}}_applyOnMultiCompiler(k,v){const E=k.compilers.map((()=>[0]));k.compilers.forEach(((k,P)=>{new ProgressPlugin(((k,R,...L)=>{E[P]=[k,R,...L];let N=0;for(const[k]of E)N+=k;v(N/E.length,`[${P}] ${R}`,...L)})).apply(k)}))}_applyOnCompiler(k,v){const E=this.showEntries;const P=this.showModules;const R=this.showDependencies;const L=this.showActiveModules;let N="";let ae="";let pe=0;let me=0;let ye=0;let _e=0;let Ie=0;let Me=1;let Te=0;let je=0;let Ne=0;const Be=new Set;let qe=0;const updateThrottled=()=>{if(qe+500{const le=[];const Ue=Te/Math.max(pe||this.modulesCount||1,_e);const Ge=Ne/Math.max(ye||this.dependenciesCount||1,Me);const He=je/Math.max(me||1,Ie);let We;switch(this.percentBy){case"entries":We=Ge;break;case"dependencies":We=He;break;case"modules":We=Ue;break;default:We=median3(Ue,Ge,He)}const Qe=.1+We*.55;if(ae){le.push(`import loader ${q(k.context,ae,k.root)}`)}else{const k=[];if(E){k.push(`${Ne}/${Me} entries`)}if(R){k.push(`${je}/${Ie} dependencies`)}if(P){k.push(`${Te}/${_e} modules`)}if(L){k.push(`${Be.size} active`)}if(k.length>0){le.push(k.join(" "))}if(L){le.push(N)}}v(Qe,"building",...le);qe=Date.now()};const factorizeAdd=()=>{Ie++;if(Ie<50||Ie%100===0)updateThrottled()};const factorizeDone=()=>{je++;if(je<50||je%100===0)updateThrottled()};const moduleAdd=()=>{_e++;if(_e<50||_e%100===0)updateThrottled()};const moduleBuild=k=>{const v=k.identifier();if(v){Be.add(v);N=v;update()}};const entryAdd=(k,v)=>{Me++;if(Me<5||Me%10===0)updateThrottled()};const moduleDone=k=>{Te++;if(L){const v=k.identifier();if(v){Be.delete(v);if(N===v){N="";for(const k of Be){N=k}update();return}}}if(Te<50||Te%100===0)updateThrottled()};const entryDone=(k,v)=>{Ne++;update()};const Ue=k.getCache("ProgressPlugin").getItemCache("counts",null);let Ge;k.hooks.beforeCompile.tap("ProgressPlugin",(()=>{if(!Ge){Ge=Ue.getPromise().then((k=>{if(k){pe=pe||k.modulesCount;me=me||k.dependenciesCount}return k}),(k=>{}))}}));k.hooks.afterCompile.tapPromise("ProgressPlugin",(k=>{if(k.compiler.isChild())return Promise.resolve();return Ge.then((async k=>{if(!k||k.modulesCount!==_e||k.dependenciesCount!==Ie){await Ue.storePromise({modulesCount:_e,dependenciesCount:Ie})}}))}));k.hooks.compilation.tap("ProgressPlugin",(E=>{if(E.compiler.isChild())return;pe=_e;ye=Me;me=Ie;_e=Ie=Me=0;Te=je=Ne=0;E.factorizeQueue.hooks.added.tap("ProgressPlugin",factorizeAdd);E.factorizeQueue.hooks.result.tap("ProgressPlugin",factorizeDone);E.addModuleQueue.hooks.added.tap("ProgressPlugin",moduleAdd);E.processDependenciesQueue.hooks.result.tap("ProgressPlugin",moduleDone);if(L){E.hooks.buildModule.tap("ProgressPlugin",moduleBuild)}E.hooks.addEntry.tap("ProgressPlugin",entryAdd);E.hooks.failedEntry.tap("ProgressPlugin",entryDone);E.hooks.succeedEntry.tap("ProgressPlugin",entryDone);if(false){}const P={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 R=Object.keys(P).length;Object.keys(P).forEach(((L,N)=>{const q=P[L];const ae=N/R*.25+.7;E.hooks[L].intercept({name:"ProgressPlugin",call(){v(ae,"sealing",q)},done(){le.set(k,undefined);v(ae,"sealing",q)},result(){v(ae,"sealing",q)},error(){v(ae,"sealing",q)},tap(k){le.set(E.compiler,((E,...P)=>{v(ae,"sealing",q,k.name,...P)}));v(ae,"sealing",q,k.name)}})}))}));k.hooks.make.intercept({name:"ProgressPlugin",call(){v(.1,"building")},done(){v(.65,"building")}});const interceptHook=(E,P,R,L)=>{E.intercept({name:"ProgressPlugin",call(){v(P,R,L)},done(){le.set(k,undefined);v(P,R,L)},result(){v(P,R,L)},error(){v(P,R,L)},tap(E){le.set(k,((k,...N)=>{v(P,R,L,E.name,...N)}));v(P,R,L,E.name)}})};k.cache.hooks.endIdle.intercept({name:"ProgressPlugin",call(){v(0,"")}});interceptHook(k.cache.hooks.endIdle,.01,"cache","end idle");k.hooks.beforeRun.intercept({name:"ProgressPlugin",call(){v(0,"")}});interceptHook(k.hooks.beforeRun,.01,"setup","before run");interceptHook(k.hooks.run,.02,"setup","run");interceptHook(k.hooks.watchRun,.03,"setup","watch run");interceptHook(k.hooks.normalModuleFactory,.04,"setup","normal module factory");interceptHook(k.hooks.contextModuleFactory,.05,"setup","context module factory");interceptHook(k.hooks.beforeCompile,.06,"setup","before compile");interceptHook(k.hooks.compile,.07,"setup","compile");interceptHook(k.hooks.thisCompilation,.08,"setup","compilation");interceptHook(k.hooks.compilation,.09,"setup","compilation");interceptHook(k.hooks.finishMake,.69,"building","finish");interceptHook(k.hooks.emit,.95,"emitting","emit");interceptHook(k.hooks.afterEmit,.98,"emitting","after emit");interceptHook(k.hooks.done,.99,"done","plugins");k.hooks.done.intercept({name:"ProgressPlugin",done(){v(.99,"")}});interceptHook(k.cache.hooks.storeBuildDependencies,.99,"cache","store build dependencies");interceptHook(k.cache.hooks.shutdown,.99,"cache","shutdown");interceptHook(k.cache.hooks.beginIdle,.99,"cache","begin idle");interceptHook(k.hooks.watchClose,.99,"end","closing watch compilation");k.cache.hooks.beginIdle.intercept({name:"ProgressPlugin",done(){v(1,"")}});k.cache.hooks.shutdown.intercept({name:"ProgressPlugin",done(){v(1,"")}})}}ProgressPlugin.defaultOptions={profile:false,modulesCount:5e3,dependenciesCount:1e4,modules:true,dependencies:true,activeModules:false,entries:true};ProgressPlugin.createDefaultHandler=createDefaultHandler;k.exports=ProgressPlugin},73238:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(60381);const q=E(17779);const{approve:ae}=E(80784);const le="ProvidePlugin";class ProvidePlugin{constructor(k){this.definitions=k}apply(k){const v=this.definitions;k.hooks.compilation.tap(le,((k,{normalModuleFactory:E})=>{k.dependencyTemplates.set(N,new N.Template);k.dependencyFactories.set(q,E);k.dependencyTemplates.set(q,new q.Template);const handler=(k,E)=>{Object.keys(v).forEach((E=>{const P=[].concat(v[E]);const R=E.split(".");if(R.length>0){R.slice(1).forEach(((v,E)=>{const P=R.slice(0,E+1).join(".");k.hooks.canRename.for(P).tap(le,ae)}))}k.hooks.expression.for(E).tap(le,(v=>{const R=E.includes(".")?`__webpack_provided_${E.replace(/\./g,"_dot_")}`:E;const L=new q(P[0],R,P.slice(1),v.range);L.loc=v.loc;k.state.module.addDependency(L);return true}));k.hooks.call.for(E).tap(le,(v=>{const R=E.includes(".")?`__webpack_provided_${E.replace(/\./g,"_dot_")}`:E;const L=new q(P[0],R,P.slice(1),v.callee.range);L.loc=v.callee.loc;k.state.module.addDependency(L);k.walkExpressions(v.arguments);return true}))}))};E.hooks.parser.for(P).tap(le,handler);E.hooks.parser.for(R).tap(le,handler);E.hooks.parser.for(L).tap(le,handler)}))}}k.exports=ProvidePlugin},91169:function(k,v,E){"use strict";const{OriginalSource:P,RawSource:R}=E(51255);const L=E(88396);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:N}=E(93622);const q=E(58528);const ae=new Set(["javascript"]);class RawModule extends L{constructor(k,v,E,P){super(N,null);this.sourceStr=k;this.identifierStr=v||this.sourceStr;this.readableIdentifierStr=E||this.identifierStr;this.runtimeRequirements=P||null}getSourceTypes(){return ae}identifier(){return this.identifierStr}size(k){return Math.max(1,this.sourceStr.length)}readableIdentifier(k){return k.shorten(this.readableIdentifierStr)}needBuild(k,v){return v(null,!this.buildMeta)}build(k,v,E,P,R){this.buildMeta={};this.buildInfo={cacheable:true};R()}codeGeneration(k){const v=new Map;if(this.useSourceMap||this.useSimpleSourceMap){v.set("javascript",new P(this.sourceStr,this.identifier()))}else{v.set("javascript",new R(this.sourceStr))}return{sources:v,runtimeRequirements:this.runtimeRequirements}}updateHash(k,v){k.update(this.sourceStr);super.updateHash(k,v)}serialize(k){const{write:v}=k;v(this.sourceStr);v(this.identifierStr);v(this.readableIdentifierStr);v(this.runtimeRequirements);super.serialize(k)}deserialize(k){const{read:v}=k;this.sourceStr=v();this.identifierStr=v();this.readableIdentifierStr=v();this.runtimeRequirements=v();super.deserialize(k)}}q(RawModule,"webpack/lib/RawModule");k.exports=RawModule},3437:function(k,v,E){"use strict";const{compareNumbers:P}=E(95648);const R=E(65315);class RecordIdsPlugin{constructor(k){this.options=k||{}}apply(k){const v=this.options.portableIds;const E=R.makePathsRelative.bindContextCache(k.context,k.root);const getModuleIdentifier=k=>{if(v){return E(k.identifier())}return k.identifier()};k.hooks.compilation.tap("RecordIdsPlugin",(k=>{k.hooks.recordModules.tap("RecordIdsPlugin",((v,E)=>{const R=k.chunkGraph;if(!E.modules)E.modules={};if(!E.modules.byIdentifier)E.modules.byIdentifier={};const L=new Set;for(const k of v){const v=R.getModuleId(k);if(typeof v!=="number")continue;const P=getModuleIdentifier(k);E.modules.byIdentifier[P]=v;L.add(v)}E.modules.usedIds=Array.from(L).sort(P)}));k.hooks.reviveModules.tap("RecordIdsPlugin",((v,E)=>{if(!E.modules)return;if(E.modules.byIdentifier){const P=k.chunkGraph;const R=new Set;for(const k of v){const v=P.getModuleId(k);if(v!==null)continue;const L=getModuleIdentifier(k);const N=E.modules.byIdentifier[L];if(N===undefined)continue;if(R.has(N))continue;R.add(N);P.setModuleId(k,N)}}if(Array.isArray(E.modules.usedIds)){k.usedModuleIds=new Set(E.modules.usedIds)}}));const getChunkSources=k=>{const v=[];for(const E of k.groupsIterable){const P=E.chunks.indexOf(k);if(E.name){v.push(`${P} ${E.name}`)}else{for(const k of E.origins){if(k.module){if(k.request){v.push(`${P} ${getModuleIdentifier(k.module)} ${k.request}`)}else if(typeof k.loc==="string"){v.push(`${P} ${getModuleIdentifier(k.module)} ${k.loc}`)}else if(k.loc&&typeof k.loc==="object"&&"start"in k.loc){v.push(`${P} ${getModuleIdentifier(k.module)} ${JSON.stringify(k.loc.start)}`)}}}}}return v};k.hooks.recordChunks.tap("RecordIdsPlugin",((k,v)=>{if(!v.chunks)v.chunks={};if(!v.chunks.byName)v.chunks.byName={};if(!v.chunks.bySource)v.chunks.bySource={};const E=new Set;for(const P of k){if(typeof P.id!=="number")continue;const k=P.name;if(k)v.chunks.byName[k]=P.id;const R=getChunkSources(P);for(const k of R){v.chunks.bySource[k]=P.id}E.add(P.id)}v.chunks.usedIds=Array.from(E).sort(P)}));k.hooks.reviveChunks.tap("RecordIdsPlugin",((v,E)=>{if(!E.chunks)return;const P=new Set;if(E.chunks.byName){for(const k of v){if(k.id!==null)continue;if(!k.name)continue;const v=E.chunks.byName[k.name];if(v===undefined)continue;if(P.has(v))continue;P.add(v);k.id=v;k.ids=[v]}}if(E.chunks.bySource){for(const k of v){if(k.id!==null)continue;const v=getChunkSources(k);for(const R of v){const v=E.chunks.bySource[R];if(v===undefined)continue;if(P.has(v))continue;P.add(v);k.id=v;k.ids=[v];break}}}if(Array.isArray(E.chunks.usedIds)){k.usedChunkIds=new Set(E.chunks.usedIds)}}))}))}}k.exports=RecordIdsPlugin},91227:function(k,v,E){"use strict";const{contextify:P}=E(65315);class RequestShortener{constructor(k,v){this.contextify=P.bindContextCache(k,v)}shorten(k){if(!k){return k}return this.contextify(k)}}k.exports=RequestShortener},97679:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R}=E(93622);const L=E(56727);const N=E(60381);const{toConstantDependency:q}=E(80784);const ae="RequireJsStuffPlugin";k.exports=class RequireJsStuffPlugin{apply(k){k.hooks.compilation.tap(ae,((k,{normalModuleFactory:v})=>{k.dependencyTemplates.set(N,new N.Template);const handler=(k,v)=>{if(v.requireJs===undefined||!v.requireJs){return}k.hooks.call.for("require.config").tap(ae,q(k,"undefined"));k.hooks.call.for("requirejs.config").tap(ae,q(k,"undefined"));k.hooks.expression.for("require.version").tap(ae,q(k,JSON.stringify("0.0.0")));k.hooks.expression.for("requirejs.onError").tap(ae,q(k,L.uncaughtErrorHandler,[L.uncaughtErrorHandler]))};v.hooks.parser.for(P).tap(ae,handler);v.hooks.parser.for(R).tap(ae,handler)}))}}},51660:function(k,v,E){"use strict";const P=E(90006).ResolverFactory;const{HookMap:R,SyncHook:L,SyncWaterfallHook:N}=E(79846);const{cachedCleverMerge:q,removeOperations:ae,resolveByProperty:le}=E(99454);const pe={};const convertToResolveOptions=k=>{const{dependencyType:v,plugins:E,...P}=k;const R={...P,plugins:E&&E.filter((k=>k!=="..."))};if(!R.fileSystem){throw new Error("fileSystem is missing in resolveOptions, but it's required for enhanced-resolve")}const L=R;return ae(le(L,"byDependency",v))};k.exports=class ResolverFactory{constructor(){this.hooks=Object.freeze({resolveOptions:new R((()=>new N(["resolveOptions"]))),resolver:new R((()=>new L(["resolver","resolveOptions","userResolveOptions"])))});this.cache=new Map}get(k,v=pe){let E=this.cache.get(k);if(!E){E={direct:new WeakMap,stringified:new Map};this.cache.set(k,E)}const P=E.direct.get(v);if(P){return P}const R=JSON.stringify(v);const L=E.stringified.get(R);if(L){E.direct.set(v,L);return L}const N=this._create(k,v);E.direct.set(v,N);E.stringified.set(R,N);return N}_create(k,v){const E={...v};const R=convertToResolveOptions(this.hooks.resolveOptions.for(k).call(v));const L=P.createResolver(R);if(!L){throw new Error("No resolver created")}const N=new WeakMap;L.withOptions=v=>{const P=N.get(v);if(P!==undefined)return P;const R=q(E,v);const L=this.get(k,R);N.set(v,L);return L};this.hooks.resolver.for(k).call(L,R,E);return L}}},56727:function(k,v){"use strict";v.require="__webpack_require__";v.requireScope="__webpack_require__.*";v.exports="__webpack_exports__";v.thisAsExports="top-level-this-exports";v.returnExportsFromRuntime="return-exports-from-runtime";v.module="module";v.moduleId="module.id";v.moduleLoaded="module.loaded";v.publicPath="__webpack_require__.p";v.entryModuleId="__webpack_require__.s";v.moduleCache="__webpack_require__.c";v.moduleFactories="__webpack_require__.m";v.moduleFactoriesAddOnly="__webpack_require__.m (add only)";v.ensureChunk="__webpack_require__.e";v.ensureChunkHandlers="__webpack_require__.f";v.ensureChunkIncludeEntries="__webpack_require__.f (include entries)";v.prefetchChunk="__webpack_require__.E";v.prefetchChunkHandlers="__webpack_require__.F";v.preloadChunk="__webpack_require__.G";v.preloadChunkHandlers="__webpack_require__.H";v.definePropertyGetters="__webpack_require__.d";v.makeNamespaceObject="__webpack_require__.r";v.createFakeNamespaceObject="__webpack_require__.t";v.compatGetDefaultExport="__webpack_require__.n";v.harmonyModuleDecorator="__webpack_require__.hmd";v.nodeModuleDecorator="__webpack_require__.nmd";v.getFullHash="__webpack_require__.h";v.wasmInstances="__webpack_require__.w";v.instantiateWasm="__webpack_require__.v";v.uncaughtErrorHandler="__webpack_require__.oe";v.scriptNonce="__webpack_require__.nc";v.loadScript="__webpack_require__.l";v.createScript="__webpack_require__.ts";v.createScriptUrl="__webpack_require__.tu";v.getTrustedTypesPolicy="__webpack_require__.tt";v.chunkName="__webpack_require__.cn";v.runtimeId="__webpack_require__.j";v.getChunkScriptFilename="__webpack_require__.u";v.getChunkCssFilename="__webpack_require__.k";v.hasCssModules="has css modules";v.getChunkUpdateScriptFilename="__webpack_require__.hu";v.getChunkUpdateCssFilename="__webpack_require__.hk";v.startup="__webpack_require__.x";v.startupNoDefault="__webpack_require__.x (no default handler)";v.startupOnlyAfter="__webpack_require__.x (only after)";v.startupOnlyBefore="__webpack_require__.x (only before)";v.chunkCallback="webpackChunk";v.startupEntrypoint="__webpack_require__.X";v.onChunksLoaded="__webpack_require__.O";v.externalInstallChunk="__webpack_require__.C";v.interceptModuleExecution="__webpack_require__.i";v.global="__webpack_require__.g";v.shareScopeMap="__webpack_require__.S";v.initializeSharing="__webpack_require__.I";v.currentRemoteGetScope="__webpack_require__.R";v.getUpdateManifestFilename="__webpack_require__.hmrF";v.hmrDownloadManifest="__webpack_require__.hmrM";v.hmrDownloadUpdateHandlers="__webpack_require__.hmrC";v.hmrModuleData="__webpack_require__.hmrD";v.hmrInvalidateModuleHandlers="__webpack_require__.hmrI";v.hmrRuntimeStatePrefix="__webpack_require__.hmrS";v.amdDefine="__webpack_require__.amdD";v.amdOptions="__webpack_require__.amdO";v.system="__webpack_require__.System";v.hasOwnProperty="__webpack_require__.o";v.systemContext="__webpack_require__.y";v.baseURI="__webpack_require__.b";v.relativeUrl="__webpack_require__.U";v.asyncModule="__webpack_require__.a"},27462:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(51255).OriginalSource;const L=E(88396);const{WEBPACK_MODULE_TYPE_RUNTIME:N}=E(93622);const q=new Set([N]);class RuntimeModule extends L{constructor(k,v=0){super(N);this.name=k;this.stage=v;this.buildMeta={};this.buildInfo={};this.compilation=undefined;this.chunk=undefined;this.chunkGraph=undefined;this.fullHash=false;this.dependentHash=false;this._cachedGeneratedCode=undefined}attach(k,v,E=k.chunkGraph){this.compilation=k;this.chunk=v;this.chunkGraph=E}identifier(){return`webpack/runtime/${this.name}`}readableIdentifier(k){return`webpack/runtime/${this.name}`}needBuild(k,v){return v(null,false)}build(k,v,E,P,R){R()}updateHash(k,v){k.update(this.name);k.update(`${this.stage}`);try{if(this.fullHash||this.dependentHash){k.update(this.generate())}else{k.update(this.getGeneratedCode())}}catch(v){k.update(v.message)}super.updateHash(k,v)}getSourceTypes(){return q}codeGeneration(k){const v=new Map;const E=this.getGeneratedCode();if(E){v.set(N,this.useSourceMap||this.useSimpleSourceMap?new R(E,this.identifier()):new P(E))}return{sources:v,runtimeRequirements:null}}size(k){try{const k=this.getGeneratedCode();return k?k.length:0}catch(k){return 0}}generate(){const k=E(60386);throw new k}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;k.exports=RuntimeModule},10734:function(k,v,E){"use strict";const P=E(56727);const{getChunkFilenameTemplate:R}=E(76395);const L=E(84985);const N=E(89168);const q=E(43120);const ae=E(30982);const le=E(95308);const pe=E(75916);const me=E(9518);const ye=E(23466);const _e=E(39358);const Ie=E(16797);const Me=E(71662);const Te=E(33442);const je=E(10582);const Ne=E(21794);const Be=E(66537);const qe=E(75013);const Ue=E(43840);const Ge=E(42159);const He=E(22016);const We=E(17800);const Qe=E(10887);const Je=E(67415);const Ve=E(96272);const Ke=E(8062);const Ye=E(34108);const Xe=E(6717);const Ze=E(96181);const et=[P.chunkName,P.runtimeId,P.compatGetDefaultExport,P.createFakeNamespaceObject,P.createScript,P.createScriptUrl,P.getTrustedTypesPolicy,P.definePropertyGetters,P.ensureChunk,P.entryModuleId,P.getFullHash,P.global,P.makeNamespaceObject,P.moduleCache,P.moduleFactories,P.moduleFactoriesAddOnly,P.interceptModuleExecution,P.publicPath,P.baseURI,P.relativeUrl,P.scriptNonce,P.uncaughtErrorHandler,P.asyncModule,P.wasmInstances,P.instantiateWasm,P.shareScopeMap,P.initializeSharing,P.loadScript,P.systemContext,P.onChunksLoaded];const tt={[P.moduleLoaded]:[P.module],[P.moduleId]:[P.module]};const nt={[P.definePropertyGetters]:[P.hasOwnProperty],[P.compatGetDefaultExport]:[P.definePropertyGetters],[P.createFakeNamespaceObject]:[P.definePropertyGetters,P.makeNamespaceObject,P.require],[P.initializeSharing]:[P.shareScopeMap],[P.shareScopeMap]:[P.hasOwnProperty]};class RuntimePlugin{apply(k){k.hooks.compilation.tap("RuntimePlugin",(k=>{const v=k.outputOptions.chunkLoading;const isChunkLoadingDisabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.chunkLoading!==undefined?E.chunkLoading:v;return P===false};k.dependencyTemplates.set(L,new L.Template);for(const v of et){k.hooks.runtimeRequirementInModule.for(v).tap("RuntimePlugin",((k,v)=>{v.add(P.requireScope)}));k.hooks.runtimeRequirementInTree.for(v).tap("RuntimePlugin",((k,v)=>{v.add(P.requireScope)}))}for(const v of Object.keys(nt)){const E=nt[v];k.hooks.runtimeRequirementInTree.for(v).tap("RuntimePlugin",((k,v)=>{for(const k of E)v.add(k)}))}for(const v of Object.keys(tt)){const E=tt[v];k.hooks.runtimeRequirementInModule.for(v).tap("RuntimePlugin",((k,v)=>{for(const k of E)v.add(k)}))}k.hooks.runtimeRequirementInTree.for(P.definePropertyGetters).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new Me);return true}));k.hooks.runtimeRequirementInTree.for(P.makeNamespaceObject).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new He);return true}));k.hooks.runtimeRequirementInTree.for(P.createFakeNamespaceObject).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new ye);return true}));k.hooks.runtimeRequirementInTree.for(P.hasOwnProperty).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new Ue);return true}));k.hooks.runtimeRequirementInTree.for(P.compatGetDefaultExport).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new pe);return true}));k.hooks.runtimeRequirementInTree.for(P.runtimeId).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new Ke);return true}));k.hooks.runtimeRequirementInTree.for(P.publicPath).tap("RuntimePlugin",((v,E)=>{const{outputOptions:R}=k;const{publicPath:L,scriptType:N}=R;const q=v.getEntryOptions();const le=q&&q.publicPath!==undefined?q.publicPath:L;if(le==="auto"){const R=new ae;if(N!=="module")E.add(P.global);k.addRuntimeModule(v,R)}else{const E=new Je(le);if(typeof le!=="string"||/\[(full)?hash\]/.test(le)){E.fullHash=true}k.addRuntimeModule(v,E)}return true}));k.hooks.runtimeRequirementInTree.for(P.global).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new qe);return true}));k.hooks.runtimeRequirementInTree.for(P.asyncModule).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new q);return true}));k.hooks.runtimeRequirementInTree.for(P.systemContext).tap("RuntimePlugin",(v=>{const{outputOptions:E}=k;const{library:P}=E;const R=v.getEntryOptions();const L=R&&R.library!==undefined?R.library.type:P.type;if(L==="system"){k.addRuntimeModule(v,new Ye)}return true}));k.hooks.runtimeRequirementInTree.for(P.getChunkScriptFilename).tap("RuntimePlugin",((v,E)=>{if(typeof k.outputOptions.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(k.outputOptions.chunkFilename)){E.add(P.getFullHash)}k.addRuntimeModule(v,new je("javascript","javascript",P.getChunkScriptFilename,(v=>v.filenameTemplate||(v.canBeInitial()?k.outputOptions.filename:k.outputOptions.chunkFilename)),false));return true}));k.hooks.runtimeRequirementInTree.for(P.getChunkCssFilename).tap("RuntimePlugin",((v,E)=>{if(typeof k.outputOptions.cssChunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(k.outputOptions.cssChunkFilename)){E.add(P.getFullHash)}k.addRuntimeModule(v,new je("css","css",P.getChunkCssFilename,(v=>R(v,k.outputOptions)),E.has(P.hmrDownloadUpdateHandlers)));return true}));k.hooks.runtimeRequirementInTree.for(P.getChunkUpdateScriptFilename).tap("RuntimePlugin",((v,E)=>{if(/\[(full)?hash(:\d+)?\]/.test(k.outputOptions.hotUpdateChunkFilename))E.add(P.getFullHash);k.addRuntimeModule(v,new je("javascript","javascript update",P.getChunkUpdateScriptFilename,(v=>k.outputOptions.hotUpdateChunkFilename),true));return true}));k.hooks.runtimeRequirementInTree.for(P.getUpdateManifestFilename).tap("RuntimePlugin",((v,E)=>{if(/\[(full)?hash(:\d+)?\]/.test(k.outputOptions.hotUpdateMainFilename)){E.add(P.getFullHash)}k.addRuntimeModule(v,new Ne("update manifest",P.getUpdateManifestFilename,k.outputOptions.hotUpdateMainFilename));return true}));k.hooks.runtimeRequirementInTree.for(P.ensureChunk).tap("RuntimePlugin",((v,E)=>{const R=v.hasAsyncChunks();if(R){E.add(P.ensureChunkHandlers)}k.addRuntimeModule(v,new Te(E));return true}));k.hooks.runtimeRequirementInTree.for(P.ensureChunkIncludeEntries).tap("RuntimePlugin",((k,v)=>{v.add(P.ensureChunkHandlers)}));k.hooks.runtimeRequirementInTree.for(P.shareScopeMap).tap("RuntimePlugin",((v,E)=>{k.addRuntimeModule(v,new Xe);return true}));k.hooks.runtimeRequirementInTree.for(P.loadScript).tap("RuntimePlugin",((v,E)=>{const R=!!k.outputOptions.trustedTypes;if(R){E.add(P.createScriptUrl)}k.addRuntimeModule(v,new Ge(R));return true}));k.hooks.runtimeRequirementInTree.for(P.createScript).tap("RuntimePlugin",((v,E)=>{if(k.outputOptions.trustedTypes){E.add(P.getTrustedTypesPolicy)}k.addRuntimeModule(v,new _e);return true}));k.hooks.runtimeRequirementInTree.for(P.createScriptUrl).tap("RuntimePlugin",((v,E)=>{if(k.outputOptions.trustedTypes){E.add(P.getTrustedTypesPolicy)}k.addRuntimeModule(v,new Ie);return true}));k.hooks.runtimeRequirementInTree.for(P.getTrustedTypesPolicy).tap("RuntimePlugin",((v,E)=>{k.addRuntimeModule(v,new Be(E));return true}));k.hooks.runtimeRequirementInTree.for(P.relativeUrl).tap("RuntimePlugin",((v,E)=>{k.addRuntimeModule(v,new Ve);return true}));k.hooks.runtimeRequirementInTree.for(P.onChunksLoaded).tap("RuntimePlugin",((v,E)=>{k.addRuntimeModule(v,new Qe);return true}));k.hooks.runtimeRequirementInTree.for(P.baseURI).tap("RuntimePlugin",(v=>{if(isChunkLoadingDisabledForChunk(v)){k.addRuntimeModule(v,new le);return true}}));k.hooks.runtimeRequirementInTree.for(P.scriptNonce).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new We);return true}));k.hooks.additionalTreeRuntimeRequirements.tap("RuntimePlugin",((v,E)=>{const{mainTemplate:P}=k;if(P.hooks.bootstrap.isUsed()||P.hooks.localVars.isUsed()||P.hooks.requireEnsure.isUsed()||P.hooks.requireExtensions.isUsed()){k.addRuntimeModule(v,new me)}}));N.getCompilationHooks(k).chunkHash.tap("RuntimePlugin",((k,v,{chunkGraph:E})=>{const P=new Ze;for(const v of E.getChunkRuntimeModulesIterable(k)){P.add(E.getModuleHash(v,k.runtime))}P.updateHash(v)}))}))}}k.exports=RuntimePlugin},89240:function(k,v,E){"use strict";const P=E(88113);const R=E(56727);const L=E(95041);const{equals:N}=E(68863);const q=E(21751);const ae=E(10720);const{forEachRuntime:le,subtractRuntime:pe}=E(1540);const noModuleIdErrorMessage=(k,v)=>`Module ${k.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${Array.from(v.getModuleChunksIterable(k),(k=>k.name||k.id||k.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(v.moduleGraph.getIncomingConnections(k),(k=>`\n - ${k.originModule&&k.originModule.identifier()} ${k.dependency&&k.dependency.type} ${k.explanations&&Array.from(k.explanations).join(", ")||""}`)).join("")}`;function getGlobalObject(k){if(!k)return k;const v=k.trim();if(v.match(/^[_\p{L}][_0-9\p{L}]*$/iu)||v.match(/^([_\p{L}][_0-9\p{L}]*)?\(.*\)$/iu))return v;return`Object(${v})`}class RuntimeTemplate{constructor(k,v,E){this.compilation=k;this.outputOptions=v||{};this.requestShortener=E;this.globalObject=getGlobalObject(v.globalObject);this.contentHashReplacement="X".repeat(v.hashDigestLength)}isIIFE(){return this.outputOptions.iife}isModule(){return this.outputOptions.module}supportsConst(){return this.outputOptions.environment.const}supportsArrowFunction(){return this.outputOptions.environment.arrowFunction}supportsOptionalChaining(){return this.outputOptions.environment.optionalChaining}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 this.outputOptions.environment.templateLiteral}returningFunction(k,v=""){return this.supportsArrowFunction()?`(${v}) => (${k})`:`function(${v}) { return ${k}; }`}basicFunction(k,v){return this.supportsArrowFunction()?`(${k}) => {\n${L.indent(v)}\n}`:`function(${k}) {\n${L.indent(v)}\n}`}concatenation(...k){const v=k.length;if(v===2)return this._es5Concatenation(k);if(v===0)return'""';if(v===1){return typeof k[0]==="string"?JSON.stringify(k[0]):`"" + ${k[0].expr}`}if(!this.supportTemplateLiteral())return this._es5Concatenation(k);let E=0;let P=0;let R=false;for(const v of k){const k=typeof v!=="string";if(k){E+=3;P+=R?1:4}R=k}if(R)P-=3;if(typeof k[0]!=="string"&&typeof k[1]==="string")P-=3;if(P<=E)return this._es5Concatenation(k);return`\`${k.map((k=>typeof k==="string"?k:`\${${k.expr}}`)).join("")}\``}_es5Concatenation(k){const v=k.map((k=>typeof k==="string"?JSON.stringify(k):k.expr)).join(" + ");return typeof k[0]!=="string"&&typeof k[1]!=="string"?`"" + ${v}`:v}expressionFunction(k,v=""){return this.supportsArrowFunction()?`(${v}) => (${k})`:`function(${v}) { ${k}; }`}emptyFunction(){return this.supportsArrowFunction()?"x => {}":"function() {}"}destructureArray(k,v){return this.supportsDestructuring()?`var [${k.join(", ")}] = ${v};`:L.asString(k.map(((k,E)=>`var ${k} = ${v}[${E}];`)))}destructureObject(k,v){return this.supportsDestructuring()?`var {${k.join(", ")}} = ${v};`:L.asString(k.map((k=>`var ${k} = ${v}${ae([k])};`)))}iife(k,v){return`(${this.basicFunction(k,v)})()`}forEach(k,v,E){return this.supportsForOf()?`for(const ${k} of ${v}) {\n${L.indent(E)}\n}`:`${v}.forEach(function(${k}) {\n${L.indent(E)}\n});`}comment({request:k,chunkName:v,chunkReason:E,message:P,exportName:R}){let N;if(this.outputOptions.pathinfo){N=[P,k,v,E].filter(Boolean).map((k=>this.requestShortener.shorten(k))).join(" | ")}else{N=[P,v,E].filter(Boolean).map((k=>this.requestShortener.shorten(k))).join(" | ")}if(!N)return"";if(this.outputOptions.pathinfo){return L.toComment(N)+" "}else{return L.toNormalComment(N)+" "}}throwMissingModuleErrorBlock({request:k}){const v=`Cannot find module '${k}'`;return`var e = new Error(${JSON.stringify(v)}); e.code = 'MODULE_NOT_FOUND'; throw e;`}throwMissingModuleErrorFunction({request:k}){return`function webpackMissingModule() { ${this.throwMissingModuleErrorBlock({request:k})} }`}missingModule({request:k}){return`Object(${this.throwMissingModuleErrorFunction({request:k})}())`}missingModuleStatement({request:k}){return`${this.missingModule({request:k})};\n`}missingModulePromise({request:k}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:k})})`}weakError({module:k,chunkGraph:v,request:E,idExpr:P,type:R}){const N=v.getModuleId(k);const q=N===null?JSON.stringify("Module is not available (weak dependency)"):P?`"Module '" + ${P} + "' is not available (weak dependency)"`:JSON.stringify(`Module '${N}' is not available (weak dependency)`);const ae=E?L.toNormalComment(E)+" ":"";const le=`var e = new Error(${q}); `+ae+"e.code = 'MODULE_NOT_FOUND'; throw e;";switch(R){case"statements":return le;case"promise":return`Promise.resolve().then(${this.basicFunction("",le)})`;case"expression":return this.iife("",le)}}moduleId({module:k,chunkGraph:v,request:E,weak:P}){if(!k){return this.missingModule({request:E})}const R=v.getModuleId(k);if(R===null){if(P){return"null /* weak dependency, without id */"}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(k,v)}`)}return`${this.comment({request:E})}${JSON.stringify(R)}`}moduleRaw({module:k,chunkGraph:v,request:E,weak:P,runtimeRequirements:L}){if(!k){return this.missingModule({request:E})}const N=v.getModuleId(k);if(N===null){if(P){return this.weakError({module:k,chunkGraph:v,request:E,type:"expression"})}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(k,v)}`)}L.add(R.require);return`${R.require}(${this.moduleId({module:k,chunkGraph:v,request:E,weak:P})})`}moduleExports({module:k,chunkGraph:v,request:E,weak:P,runtimeRequirements:R}){return this.moduleRaw({module:k,chunkGraph:v,request:E,weak:P,runtimeRequirements:R})}moduleNamespace({module:k,chunkGraph:v,request:E,strict:P,weak:L,runtimeRequirements:N}){if(!k){return this.missingModule({request:E})}if(v.getModuleId(k)===null){if(L){return this.weakError({module:k,chunkGraph:v,request:E,type:"expression"})}throw new Error(`RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage(k,v)}`)}const q=this.moduleId({module:k,chunkGraph:v,request:E,weak:L});const ae=k.getExportsType(v.moduleGraph,P);switch(ae){case"namespace":return this.moduleRaw({module:k,chunkGraph:v,request:E,weak:L,runtimeRequirements:N});case"default-with-named":N.add(R.createFakeNamespaceObject);return`${R.createFakeNamespaceObject}(${q}, 3)`;case"default-only":N.add(R.createFakeNamespaceObject);return`${R.createFakeNamespaceObject}(${q}, 1)`;case"dynamic":N.add(R.createFakeNamespaceObject);return`${R.createFakeNamespaceObject}(${q}, 7)`}}moduleNamespacePromise({chunkGraph:k,block:v,module:E,request:P,message:L,strict:N,weak:q,runtimeRequirements:ae}){if(!E){return this.missingModulePromise({request:P})}const le=k.getModuleId(E);if(le===null){if(q){return this.weakError({module:E,chunkGraph:k,request:P,type:"promise"})}throw new Error(`RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage(E,k)}`)}const pe=this.blockPromise({chunkGraph:k,block:v,message:L,runtimeRequirements:ae});let me;let ye=JSON.stringify(k.getModuleId(E));const _e=this.comment({request:P});let Ie="";if(q){if(ye.length>8){Ie+=`var id = ${ye}; `;ye="id"}ae.add(R.moduleFactories);Ie+=`if(!${R.moduleFactories}[${ye}]) { ${this.weakError({module:E,chunkGraph:k,request:P,idExpr:ye,type:"statements"})} } `}const Me=this.moduleId({module:E,chunkGraph:k,request:P,weak:q});const Te=E.getExportsType(k.moduleGraph,N);let je=16;switch(Te){case"namespace":if(Ie){const v=this.moduleRaw({module:E,chunkGraph:k,request:P,weak:q,runtimeRequirements:ae});me=`.then(${this.basicFunction("",`${Ie}return ${v};`)})`}else{ae.add(R.require);me=`.then(${R.require}.bind(${R.require}, ${_e}${ye}))`}break;case"dynamic":je|=4;case"default-with-named":je|=2;case"default-only":ae.add(R.createFakeNamespaceObject);if(k.moduleGraph.isAsync(E)){if(Ie){const v=this.moduleRaw({module:E,chunkGraph:k,request:P,weak:q,runtimeRequirements:ae});me=`.then(${this.basicFunction("",`${Ie}return ${v};`)})`}else{ae.add(R.require);me=`.then(${R.require}.bind(${R.require}, ${_e}${ye}))`}me+=`.then(${this.returningFunction(`${R.createFakeNamespaceObject}(m, ${je})`,"m")})`}else{je|=1;if(Ie){const k=`${R.createFakeNamespaceObject}(${Me}, ${je})`;me=`.then(${this.basicFunction("",`${Ie}return ${k};`)})`}else{me=`.then(${R.createFakeNamespaceObject}.bind(${R.require}, ${_e}${ye}, ${je}))`}}break}return`${pe||"Promise.resolve()"}${me}`}runtimeConditionExpression({chunkGraph:k,runtimeCondition:v,runtime:E,runtimeRequirements:P}){if(v===undefined)return"true";if(typeof v==="boolean")return`${v}`;const L=new Set;le(v,(v=>L.add(`${k.getRuntimeId(v)}`)));const N=new Set;le(pe(E,v),(v=>N.add(`${k.getRuntimeId(v)}`)));P.add(R.runtimeId);return q.fromLists(Array.from(L),Array.from(N))(R.runtimeId)}importStatement({update:k,module:v,chunkGraph:E,request:P,importVar:L,originModule:N,weak:q,runtimeRequirements:ae}){if(!v){return[this.missingModuleStatement({request:P}),""]}if(E.getModuleId(v)===null){if(q){return[this.weakError({module:v,chunkGraph:E,request:P,type:"statements"}),""]}throw new Error(`RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage(v,E)}`)}const le=this.moduleId({module:v,chunkGraph:E,request:P,weak:q});const pe=k?"":"var ";const me=v.getExportsType(E.moduleGraph,N.buildMeta.strictHarmonyModule);ae.add(R.require);const ye=`/* harmony import */ ${pe}${L} = ${R.require}(${le});\n`;if(me==="dynamic"){ae.add(R.compatGetDefaultExport);return[ye,`/* harmony import */ ${pe}${L}_default = /*#__PURE__*/${R.compatGetDefaultExport}(${L});\n`]}return[ye,""]}exportFromImport({moduleGraph:k,module:v,request:E,exportName:q,originModule:le,asiSafe:pe,isCall:me,callContext:ye,defaultInterop:_e,importVar:Ie,initFragments:Me,runtime:Te,runtimeRequirements:je}){if(!v){return this.missingModule({request:E})}if(!Array.isArray(q)){q=q?[q]:[]}const Ne=v.getExportsType(k,le.buildMeta.strictHarmonyModule);if(_e){if(q.length>0&&q[0]==="default"){switch(Ne){case"dynamic":if(me){return`${Ie}_default()${ae(q,1)}`}else{return pe?`(${Ie}_default()${ae(q,1)})`:pe===false?`;(${Ie}_default()${ae(q,1)})`:`${Ie}_default.a${ae(q,1)}`}case"default-only":case"default-with-named":q=q.slice(1);break}}else if(q.length>0){if(Ne==="default-only"){return"/* non-default import from non-esm module */undefined"+ae(q,1)}else if(Ne!=="namespace"&&q[0]==="__esModule"){return"/* __esModule */true"}}else if(Ne==="default-only"||Ne==="default-with-named"){je.add(R.createFakeNamespaceObject);Me.push(new P(`var ${Ie}_namespace_cache;\n`,P.STAGE_CONSTANTS,-1,`${Ie}_namespace_cache`));return`/*#__PURE__*/ ${pe?"":pe===false?";":"Object"}(${Ie}_namespace_cache || (${Ie}_namespace_cache = ${R.createFakeNamespaceObject}(${Ie}${Ne==="default-only"?"":", 2"})))`}}if(q.length>0){const E=k.getExportsInfo(v);const P=E.getUsedName(q,Te);if(!P){const k=L.toNormalComment(`unused export ${ae(q)}`);return`${k} undefined`}const R=N(P,q)?"":L.toNormalComment(ae(q))+" ";const le=`${Ie}${R}${ae(P)}`;if(me&&ye===false){return pe?`(0,${le})`:pe===false?`;(0,${le})`:`/*#__PURE__*/Object(${le})`}return le}else{return Ie}}blockPromise({block:k,message:v,chunkGraph:E,runtimeRequirements:P}){if(!k){const k=this.comment({message:v});return`Promise.resolve(${k.trim()})`}const L=E.getBlockChunkGroup(k);if(!L||L.chunks.length===0){const k=this.comment({message:v});return`Promise.resolve(${k.trim()})`}const N=L.chunks.filter((k=>!k.hasRuntime()&&k.id!==null));const q=this.comment({message:v,chunkName:k.chunkName});if(N.length===1){const k=JSON.stringify(N[0].id);P.add(R.ensureChunk);return`${R.ensureChunk}(${q}${k})`}else if(N.length>0){P.add(R.ensureChunk);const requireChunkId=k=>`${R.ensureChunk}(${JSON.stringify(k.id)})`;return`Promise.all(${q.trim()}[${N.map(requireChunkId).join(", ")}])`}else{return`Promise.resolve(${q.trim()})`}}asyncModuleFactory({block:k,chunkGraph:v,runtimeRequirements:E,request:P}){const R=k.dependencies[0];const L=v.moduleGraph.getModule(R);const N=this.blockPromise({block:k,message:"",chunkGraph:v,runtimeRequirements:E});const q=this.returningFunction(this.moduleRaw({module:L,chunkGraph:v,request:P,runtimeRequirements:E}));return this.returningFunction(N.startsWith("Promise.resolve(")?`${q}`:`${N}.then(${this.returningFunction(q)})`)}syncModuleFactory({dependency:k,chunkGraph:v,runtimeRequirements:E,request:P}){const R=v.moduleGraph.getModule(k);const L=this.returningFunction(this.moduleRaw({module:R,chunkGraph:v,request:P,runtimeRequirements:E}));return this.returningFunction(L)}defineEsModuleFlagStatement({exportsArgument:k,runtimeRequirements:v}){v.add(R.makeNamespaceObject);v.add(R.exports);return`${R.makeNamespaceObject}(${k});\n`}assetUrl({publicPath:k,runtime:v,module:E,codeGenerationResults:P}){if(!E){return"data:,"}const R=P.get(E,v);const{data:L}=R;const N=L.get("url");if(N)return N.toString();const q=L.get("filename");return k+q}}k.exports=RuntimeTemplate},15844:function(k){"use strict";class SelfModuleFactory{constructor(k){this.moduleGraph=k}create(k,v){const E=this.moduleGraph.getParentModule(k.dependencies[0]);v(null,{module:E})}}k.exports=SelfModuleFactory},48640:function(k,v,E){"use strict";k.exports=E(17570)},3386:function(k,v){"use strict";v.formatSize=k=>{if(typeof k!=="number"||Number.isNaN(k)===true){return"unknown size"}if(k<=0){return"0 bytes"}const v=["bytes","KiB","MiB","GiB"];const E=Math.floor(Math.log(k)/Math.log(1024));return`${+(k/Math.pow(1024,E)).toPrecision(3)} ${v[E]}`}},10518:function(k,v,E){"use strict";const P=E(89168);class SourceMapDevToolModuleOptionsPlugin{constructor(k){this.options=k}apply(k){const v=this.options;if(v.module!==false){k.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(k=>{k.useSourceMap=true}));k.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(k=>{k.useSourceMap=true}))}else{k.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(k=>{k.useSimpleSourceMap=true}));k.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(k=>{k.useSimpleSourceMap=true}))}P.getCompilationHooks(k).useSourceMap.tap("SourceMapDevToolModuleOptionsPlugin",(()=>true))}}k.exports=SourceMapDevToolModuleOptionsPlugin},83814:function(k,v,E){"use strict";const P=E(78175);const{ConcatSource:R,RawSource:L}=E(51255);const N=E(27747);const q=E(98612);const ae=E(6535);const le=E(10518);const pe=E(92198);const me=E(74012);const{relative:ye,dirname:_e}=E(57825);const{makePathsAbsolute:Ie}=E(65315);const Me=pe(E(49623),(()=>E(45441)),{name:"SourceMap DevTool Plugin",baseDataPath:"options"});const Te=/[-[\]\\/{}()*+?.^$|]/g;const je=/\[contenthash(:\w+)?\]/;const Ne=/\.((c|m)?js|css)($|\?)/i;const Be=/\.css($|\?)/i;const qe=/\[map\]/g;const Ue=/\[url\]/g;const Ge=/^\n\/\/(.*)$/;const resetRegexpState=k=>{k.lastIndex=-1};const quoteMeta=k=>k.replace(Te,"\\$&");const getTaskForFile=(k,v,E,P,R,L)=>{let N;let q;if(v.sourceAndMap){const k=v.sourceAndMap(P);q=k.map;N=k.source}else{q=v.map(P);N=v.source()}if(!q||typeof N!=="string")return;const ae=R.options.context;const le=R.compiler.root;const pe=Ie.bindContextCache(ae,le);const me=q.sources.map((k=>{if(!k.startsWith("webpack://"))return k;k=pe(k.slice(10));const v=R.findModule(k);return v||k}));return{file:k,asset:v,source:N,assetInfo:E,sourceMap:q,modules:me,cacheItem:L}};class SourceMapDevToolPlugin{constructor(k={}){Me(k);this.sourceMapFilename=k.filename;this.sourceMappingURLComment=k.append===false?false:k.append||"\n//# source"+"MappingURL=[url]";this.moduleFilenameTemplate=k.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=k.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=k.namespace||"";this.options=k}apply(k){const v=k.outputFileSystem;const E=this.sourceMapFilename;const pe=this.sourceMappingURLComment;const Ie=this.moduleFilenameTemplate;const Me=this.namespace;const Te=this.fallbackModuleFilenameTemplate;const He=k.requestShortener;const We=this.options;We.test=We.test||Ne;const Qe=q.matchObject.bind(undefined,We);k.hooks.compilation.tap("SourceMapDevToolPlugin",(k=>{new le(We).apply(k);k.hooks.processAssets.tapAsync({name:"SourceMapDevToolPlugin",stage:N.PROCESS_ASSETS_STAGE_DEV_TOOLING,additionalAssets:true},((N,le)=>{const Ne=k.chunkGraph;const Je=k.getCache("SourceMapDevToolPlugin");const Ve=new Map;const Ke=ae.getReporter(k.compiler)||(()=>{});const Ye=new Map;for(const v of k.chunks){for(const k of v.files){Ye.set(k,v)}for(const k of v.auxiliaryFiles){Ye.set(k,v)}}const Xe=[];for(const k of Object.keys(N)){if(Qe(k)){Xe.push(k)}}Ke(0);const Ze=[];let et=0;P.each(Xe,((v,E)=>{const P=k.getAsset(v);if(P.info.related&&P.info.related.sourceMap){et++;return E()}const R=Je.getItemCache(v,Je.mergeEtags(Je.getLazyHashedEtag(P.source),Me));R.get(((L,N)=>{if(L){return E(L)}if(N){const{assets:P,assetsInfo:R}=N;for(const E of Object.keys(P)){if(E===v){k.updateAsset(E,P[E],R[E])}else{k.emitAsset(E,P[E],R[E])}if(E!==v){const k=Ye.get(v);if(k!==undefined)k.auxiliaryFiles.add(E)}}Ke(.5*++et/Xe.length,v,"restored cached SourceMap");return E()}Ke(.5*et/Xe.length,v,"generate SourceMap");const ae=getTaskForFile(v,P.source,P.info,{module:We.module,columns:We.columns},k,R);if(ae){const v=ae.modules;for(let E=0;E{if(N){return le(N)}Ke(.5,"resolve sources");const ae=new Set(Ve.values());const Ie=new Set;const Qe=Array.from(Ve.keys()).sort(((k,v)=>{const E=typeof k==="string"?k:k.identifier();const P=typeof v==="string"?v:v.identifier();return E.length-P.length}));for(let v=0;v{const q=Object.create(null);const ae=Object.create(null);const le=P.file;const Ie=Ye.get(le);const Me=P.sourceMap;const Te=P.source;const Ne=P.modules;Ke(.5+.5*Je/Ze.length,le,"attach SourceMap");const He=Ne.map((k=>Ve.get(k)));Me.sources=He;if(We.noSources){Me.sourcesContent=undefined}Me.sourceRoot=We.sourceRoot||"";Me.file=le;const Qe=E&&je.test(E);resetRegexpState(je);if(Qe&&P.assetInfo.contenthash){const k=P.assetInfo.contenthash;let v;if(Array.isArray(k)){v=k.map(quoteMeta).join("|")}else{v=quoteMeta(k)}Me.file=Me.file.replace(new RegExp(v,"g"),(k=>"x".repeat(k.length)))}let Xe=pe;let et=Be.test(le);resetRegexpState(Be);if(Xe!==false&&typeof Xe!=="function"&&et){Xe=Xe.replace(Ge,"\n/*$1*/")}const tt=JSON.stringify(Me);if(E){let P=le;const N=Qe&&me(k.outputOptions.hashFunction).update(tt).digest("hex");const pe={chunk:Ie,filename:We.fileContext?ye(v,`/${We.fileContext}`,`/${P}`):P,contentHash:N};const{path:Me,info:je}=k.getPathWithInfo(E,pe);const Ne=We.publicPath?We.publicPath+Me:ye(v,_e(v,`/${le}`),`/${Me}`);let Be=new L(Te);if(Xe!==false){Be=new R(Be,k.getPath(Xe,Object.assign({url:Ne},pe)))}const qe={related:{sourceMap:Me}};q[le]=Be;ae[le]=qe;k.updateAsset(le,Be,qe);const Ue=new L(tt);const Ge={...je,development:true};q[Me]=Ue;ae[Me]=Ge;k.emitAsset(Me,Ue,Ge);if(Ie!==undefined)Ie.auxiliaryFiles.add(Me)}else{if(Xe===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}if(typeof Xe==="function"){throw new Error("SourceMapDevToolPlugin: append can't be a function when no filename is provided")}const v=new R(new L(Te),Xe.replace(qe,(()=>tt)).replace(Ue,(()=>`data:application/json;charset=utf-8;base64,${Buffer.from(tt,"utf-8").toString("base64")}`)));q[le]=v;ae[le]=undefined;k.updateAsset(le,v)}P.cacheItem.store({assets:q,assetsInfo:ae},(k=>{Ke(.5+.5*++Je/Ze.length,P.file,"attached SourceMap");if(k){return N(k)}N()}))}),(k=>{Ke(1);le(k)}))}))}))}))}}k.exports=SourceMapDevToolPlugin},26288:function(k){"use strict";class Stats{constructor(k){this.compilation=k}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((k=>k.getStats().hasWarnings()))}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some((k=>k.getStats().hasErrors()))}toJson(k){k=this.compilation.createStatsOptions(k,{forToString:false});const v=this.compilation.createStatsFactory(k);return v.create("compilation",this.compilation,{compilation:this.compilation})}toString(k){k=this.compilation.createStatsOptions(k,{forToString:true});const v=this.compilation.createStatsFactory(k);const E=this.compilation.createStatsPrinter(k);const P=v.create("compilation",this.compilation,{compilation:this.compilation});const R=E.print("compilation",P);return R===undefined?"":R}}k.exports=Stats},95041:function(k,v,E){"use strict";const{ConcatSource:P,PrefixSource:R}=E(51255);const{WEBPACK_MODULE_TYPE_RUNTIME:L}=E(93622);const N=E(56727);const q="a".charCodeAt(0);const ae="A".charCodeAt(0);const le="z".charCodeAt(0)-q+1;const pe=le*2+2;const me=pe+10;const ye=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const _e=/^\t/gm;const Ie=/\r?\n/g;const Me=/^([^a-zA-Z$_])/;const Te=/[^a-zA-Z0-9$]+/g;const je=/\*\//g;const Ne=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const Be=/^-|-$/g;class Template{static getFunctionContent(k){return k.toString().replace(ye,"").replace(_e,"").replace(Ie,"\n")}static toIdentifier(k){if(typeof k!=="string")return"";return k.replace(Me,"_$1").replace(Te,"_")}static toComment(k){if(!k)return"";return`/*! ${k.replace(je,"* /")} */`}static toNormalComment(k){if(!k)return"";return`/* ${k.replace(je,"* /")} */`}static toPath(k){if(typeof k!=="string")return"";return k.replace(Ne,"-").replace(Be,"")}static numberToIdentifier(k){if(k>=pe){return Template.numberToIdentifier(k%pe)+Template.numberToIdentifierContinuation(Math.floor(k/pe))}if(k=me){return Template.numberToIdentifierContinuation(k%me)+Template.numberToIdentifierContinuation(Math.floor(k/me))}if(kk)E=k}if(E<16+(""+E).length){E=0}let P=-1;for(const v of k){P+=`${v.id}`.length+2}const R=E===0?v:16+`${E}`.length+v;return R({id:L.getModuleId(k),source:E(k)||"false"})));const ae=Template.getModulesArrayBounds(q);if(ae){const k=ae[0];const v=ae[1];if(k!==0){N.add(`Array(${k}).concat(`)}N.add("[\n");const E=new Map;for(const k of q){E.set(k.id,k)}for(let P=k;P<=v;P++){const v=E.get(P);if(P!==k){N.add(",\n")}N.add(`/* ${P} */`);if(v){N.add("\n");N.add(v.source)}}N.add("\n"+R+"]");if(k!==0){N.add(")")}}else{N.add("{\n");for(let k=0;k {\n");E.add(new R("\t",N));E.add("\n})();\n\n")}else{E.add("!function() {\n");E.add(new R("\t",N));E.add("\n}();\n\n")}}}return E}static renderChunkRuntimeModules(k,v){return new R("/******/ ",new P(`function(${N.require}) { // webpackRuntimeModules\n`,this.renderRuntimeModules(k,v),"}\n"))}}k.exports=Template;k.exports.NUMBER_OF_IDENTIFIER_START_CHARS=pe;k.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS=me},39294:function(k,v,E){"use strict";const P=E(24230);const{basename:R,extname:L}=E(71017);const N=E(73837);const q=E(8247);const ae=E(88396);const{parseResource:le}=E(65315);const pe=/\[\\*([\w:]+)\\*\]/gi;const prepareId=k=>{if(typeof k!=="string")return k;if(/^"\s\+*.*\+\s*"$/.test(k)){const v=/^"\s\+*\s*(.*)\s*\+\s*"$/.exec(k);return`" + (${v[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`}return k.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};const hashLength=(k,v,E,P)=>{const fn=(R,L,N)=>{let q;const ae=L&&parseInt(L,10);if(ae&&v){q=v(ae)}else{const v=k(R,L,N);q=ae?v.slice(0,ae):v}if(E){E.immutable=true;if(Array.isArray(E[P])){E[P]=[...E[P],q]}else if(E[P]){E[P]=[E[P],q]}else{E[P]=q}}return q};return fn};const replacer=(k,v)=>{const fn=(E,P,R)=>{if(typeof k==="function"){k=k()}if(k===null||k===undefined){if(!v){throw new Error(`Path variable ${E} not implemented in this context: ${R}`)}return""}else{return`${k}`}};return fn};const me=new Map;const ye=(()=>()=>{})();const deprecated=(k,v,E)=>{let P=me.get(v);if(P===undefined){P=N.deprecate(ye,v,E);me.set(v,P)}return(...v)=>{P();return k(...v)}};const replacePathVariables=(k,v,E)=>{const N=v.chunkGraph;const me=new Map;if(typeof v.filename==="string"){let k=v.filename.match(/^data:([^;,]+)/);if(k){const v=P.extension(k[1]);const E=replacer("",true);me.set("file",E);me.set("query",E);me.set("fragment",E);me.set("path",E);me.set("base",E);me.set("name",E);me.set("ext",replacer(v?`.${v}`:"",true));me.set("filebase",deprecated(E,"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}else{const{path:k,query:E,fragment:P}=le(v.filename);const N=L(k);const q=R(k);const ae=q.slice(0,q.length-N.length);const pe=k.slice(0,k.length-q.length);me.set("file",replacer(k));me.set("query",replacer(E,true));me.set("fragment",replacer(P,true));me.set("path",replacer(pe,true));me.set("base",replacer(q));me.set("name",replacer(ae));me.set("ext",replacer(N,true));me.set("filebase",deprecated(replacer(q),"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}}if(v.hash){const k=hashLength(replacer(v.hash),v.hashWithLength,E,"fullhash");me.set("fullhash",k);me.set("hash",deprecated(k,"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH"))}if(v.chunk){const k=v.chunk;const P=v.contentHashType;const R=replacer(k.id);const L=replacer(k.name||k.id);const N=hashLength(replacer(k instanceof q?k.renderedHash:k.hash),"hashWithLength"in k?k.hashWithLength:undefined,E,"chunkhash");const ae=hashLength(replacer(v.contentHash||P&&k.contentHash&&k.contentHash[P]),v.contentHashWithLength||("contentHashWithLength"in k&&k.contentHashWithLength?k.contentHashWithLength[P]:undefined),E,"contenthash");me.set("id",R);me.set("name",L);me.set("chunkhash",N);me.set("contenthash",ae)}if(v.module){const k=v.module;const P=replacer((()=>prepareId(k instanceof ae?N.getModuleId(k):k.id)));const R=hashLength(replacer((()=>k instanceof ae?N.getRenderedModuleHash(k,v.runtime):k.hash)),"hashWithLength"in k?k.hashWithLength:undefined,E,"modulehash");const L=hashLength(replacer(v.contentHash),undefined,E,"contenthash");me.set("id",P);me.set("modulehash",R);me.set("contenthash",L);me.set("hash",v.contentHash?L:R);me.set("moduleid",deprecated(P,"[moduleid] is now [id]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID"))}if(v.url){me.set("url",replacer(v.url))}if(typeof v.runtime==="string"){me.set("runtime",replacer((()=>prepareId(v.runtime))))}else{me.set("runtime",replacer("_"))}if(typeof k==="function"){k=k(v,E)}k=k.replace(pe,((v,E)=>{if(E.length+2===v.length){const P=/^(\w+)(?::(\w+))?$/.exec(E);if(!P)return v;const[,R,L]=P;const N=me.get(R);if(N!==undefined){return N(v,L,k)}}else if(v.startsWith("[\\")&&v.endsWith("\\]")){return`[${v.slice(2,-2)}]`}return v}));return k};const _e="TemplatedPathPlugin";class TemplatedPathPlugin{apply(k){k.hooks.compilation.tap(_e,(k=>{k.hooks.assetPath.tap(_e,replacePathVariables)}))}}k.exports=TemplatedPathPlugin},57975:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class UnhandledSchemeError extends P{constructor(k,v){super(`Reading from "${v}" is not handled by plugins (Unhandled scheme).`+'\nWebpack supports "data:" and "file:" URIs by default.'+`\nYou may need an additional plugin to handle "${k}:" URIs.`);this.file=v;this.name="UnhandledSchemeError"}}R(UnhandledSchemeError,"webpack/lib/UnhandledSchemeError","UnhandledSchemeError");k.exports=UnhandledSchemeError},9415:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class UnsupportedFeatureWarning extends P{constructor(k,v){super(k);this.name="UnsupportedFeatureWarning";this.loc=v;this.hideStack=true}}R(UnsupportedFeatureWarning,"webpack/lib/UnsupportedFeatureWarning");k.exports=UnsupportedFeatureWarning},10862:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(60381);const q="UseStrictPlugin";class UseStrictPlugin{apply(k){k.hooks.compilation.tap(q,((k,{normalModuleFactory:v})=>{const handler=k=>{k.hooks.program.tap(q,(v=>{const E=v.body[0];if(E&&E.type==="ExpressionStatement"&&E.expression.type==="Literal"&&E.expression.value==="use strict"){const v=new N("",E.range);v.loc=E.loc;k.state.module.addPresentationalDependency(v);k.state.module.buildInfo.strict=true}}))};v.hooks.parser.for(P).tap(q,handler);v.hooks.parser.for(R).tap(q,handler);v.hooks.parser.for(L).tap(q,handler)}))}}k.exports=UseStrictPlugin},7326:function(k,v,E){"use strict";const P=E(94046);class WarnCaseSensitiveModulesPlugin{apply(k){k.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",(k=>{k.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",(()=>{const v=new Map;for(const E of k.modules){const k=E.identifier();if(E.resourceResolveData!==undefined&&E.resourceResolveData.encodedContent!==undefined){continue}const P=k.toLowerCase();let R=v.get(P);if(R===undefined){R=new Map;v.set(P,R)}R.set(k,E)}for(const E of v){const v=E[1];if(v.size>1){k.warnings.push(new P(v.values(),k.moduleGraph))}}}))}))}}k.exports=WarnCaseSensitiveModulesPlugin},80025:function(k,v,E){"use strict";const P=E(71572);class WarnDeprecatedOptionPlugin{constructor(k,v,E){this.option=k;this.value=v;this.suggestion=E}apply(k){k.hooks.thisCompilation.tap("WarnDeprecatedOptionPlugin",(k=>{k.warnings.push(new DeprecatedOptionWarning(this.option,this.value,this.suggestion))}))}}class DeprecatedOptionWarning extends P{constructor(k,v,E){super();this.name="DeprecatedOptionWarning";this.message="configuration\n"+`The value '${v}' for option '${k}' is deprecated. `+`Use '${E}' instead.`}}k.exports=WarnDeprecatedOptionPlugin},41744:function(k,v,E){"use strict";const P=E(2940);class WarnNoModeSetPlugin{apply(k){k.hooks.thisCompilation.tap("WarnNoModeSetPlugin",(k=>{k.warnings.push(new P)}))}}k.exports=WarnNoModeSetPlugin},38849:function(k,v,E){"use strict";const{groupBy:P}=E(68863);const R=E(92198);const L=R(E(24318),(()=>E(41084)),{name:"Watch Ignore Plugin",baseDataPath:"options"});const N="ignore";class IgnoringWatchFileSystem{constructor(k,v){this.wfs=k;this.paths=v}watch(k,v,E,R,L,q,ae){k=Array.from(k);v=Array.from(v);const ignored=k=>this.paths.some((v=>v instanceof RegExp?v.test(k):k.indexOf(v)===0));const[le,pe]=P(k,ignored);const[me,ye]=P(v,ignored);const _e=this.wfs.watch(pe,ye,E,R,L,((k,v,E,P,R)=>{if(k)return q(k);for(const k of le){v.set(k,N)}for(const k of me){E.set(k,N)}q(k,v,E,P,R)}),ae);return{close:()=>_e.close(),pause:()=>_e.pause(),getContextTimeInfoEntries:()=>{const k=_e.getContextTimeInfoEntries();for(const v of me){k.set(v,N)}return k},getFileTimeInfoEntries:()=>{const k=_e.getFileTimeInfoEntries();for(const v of le){k.set(v,N)}return k},getInfo:_e.getInfo&&(()=>{const k=_e.getInfo();const{fileTimeInfoEntries:v,contextTimeInfoEntries:E}=k;for(const k of le){v.set(k,N)}for(const k of me){E.set(k,N)}return k})}}}class WatchIgnorePlugin{constructor(k){L(k);this.paths=k.paths}apply(k){k.hooks.afterEnvironment.tap("WatchIgnorePlugin",(()=>{k.watchFileSystem=new IgnoringWatchFileSystem(k.watchFileSystem,this.paths)}))}}k.exports=WatchIgnorePlugin},50526:function(k,v,E){"use strict";const P=E(26288);class Watching{constructor(k,v,E){this.startTime=null;this.invalid=false;this.handler=E;this.callbacks=[];this._closeCallbacks=undefined;this.closed=false;this.suspended=false;this.blocked=false;this._isBlocked=()=>false;this._onChange=()=>{};this._onInvalid=()=>{};if(typeof v==="number"){this.watchOptions={aggregateTimeout:v}}else if(v&&typeof v==="object"){this.watchOptions={...v}}else{this.watchOptions={}}if(typeof this.watchOptions.aggregateTimeout!=="number"){this.watchOptions.aggregateTimeout=20}this.compiler=k;this.running=false;this._initial=true;this._invalidReported=true;this._needRecords=true;this.watcher=undefined;this.pausedWatcher=undefined;this._collectedChangedFiles=undefined;this._collectedRemovedFiles=undefined;this._done=this._done.bind(this);process.nextTick((()=>{if(this._initial)this._invalidate()}))}_mergeWithCollected(k,v){if(!k)return;if(!this._collectedChangedFiles){this._collectedChangedFiles=new Set(k);this._collectedRemovedFiles=new Set(v)}else{for(const v of k){this._collectedChangedFiles.add(v);this._collectedRemovedFiles.delete(v)}for(const k of v){this._collectedChangedFiles.delete(k);this._collectedRemovedFiles.add(k)}}}_go(k,v,E,R){this._initial=false;if(this.startTime===null)this.startTime=Date.now();this.running=true;if(this.watcher){this.pausedWatcher=this.watcher;this.lastWatcherStartTime=Date.now();this.watcher.pause();this.watcher=null}else if(!this.lastWatcherStartTime){this.lastWatcherStartTime=Date.now()}this.compiler.fsStartTime=Date.now();if(E&&R&&k&&v){this._mergeWithCollected(E,R);this.compiler.fileTimestamps=k;this.compiler.contextTimestamps=v}else if(this.pausedWatcher){if(this.pausedWatcher.getInfo){const{changes:k,removals:v,fileTimeInfoEntries:E,contextTimeInfoEntries:P}=this.pausedWatcher.getInfo();this._mergeWithCollected(k,v);this.compiler.fileTimestamps=E;this.compiler.contextTimestamps=P}else{this._mergeWithCollected(this.pausedWatcher.getAggregatedChanges&&this.pausedWatcher.getAggregatedChanges(),this.pausedWatcher.getAggregatedRemovals&&this.pausedWatcher.getAggregatedRemovals());this.compiler.fileTimestamps=this.pausedWatcher.getFileTimeInfoEntries();this.compiler.contextTimestamps=this.pausedWatcher.getContextTimeInfoEntries()}}this.compiler.modifiedFiles=this._collectedChangedFiles;this._collectedChangedFiles=undefined;this.compiler.removedFiles=this._collectedRemovedFiles;this._collectedRemovedFiles=undefined;const run=()=>{if(this.compiler.idle){return this.compiler.cache.endIdle((k=>{if(k)return this._done(k);this.compiler.idle=false;run()}))}if(this._needRecords){return this.compiler.readRecords((k=>{if(k)return this._done(k);this._needRecords=false;run()}))}this.invalid=false;this._invalidReported=false;this.compiler.hooks.watchRun.callAsync(this.compiler,(k=>{if(k)return this._done(k);const onCompiled=(k,v)=>{if(k)return this._done(k,v);if(this.invalid)return this._done(null,v);if(this.compiler.hooks.shouldEmit.call(v)===false){return this._done(null,v)}process.nextTick((()=>{const k=v.getLogger("webpack.Compiler");k.time("emitAssets");this.compiler.emitAssets(v,(E=>{k.timeEnd("emitAssets");if(E)return this._done(E,v);if(this.invalid)return this._done(null,v);k.time("emitRecords");this.compiler.emitRecords((E=>{k.timeEnd("emitRecords");if(E)return this._done(E,v);if(v.hooks.needAdditionalPass.call()){v.needAdditionalPass=true;v.startTime=this.startTime;v.endTime=Date.now();k.time("done hook");const E=new P(v);this.compiler.hooks.done.callAsync(E,(E=>{k.timeEnd("done hook");if(E)return this._done(E,v);this.compiler.hooks.additionalPass.callAsync((k=>{if(k)return this._done(k,v);this.compiler.compile(onCompiled)}))}));return}return this._done(null,v)}))}))}))};this.compiler.compile(onCompiled)}))};run()}_getStats(k){const v=new P(k);return v}_done(k,v){this.running=false;const E=v&&v.getLogger("webpack.Watching");let R=null;const handleError=(k,v)=>{this.compiler.hooks.failed.call(k);this.compiler.cache.beginIdle();this.compiler.idle=true;this.handler(k,R);if(!v){v=this.callbacks;this.callbacks=[]}for(const E of v)E(k)};if(this.invalid&&!this.suspended&&!this.blocked&&!(this._isBlocked()&&(this.blocked=true))){if(v){E.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(v.buildDependencies,(k=>{E.timeEnd("storeBuildDependencies");if(k)return handleError(k);this._go()}))}else{this._go()}return}if(v){v.startTime=this.startTime;v.endTime=Date.now();R=new P(v)}this.startTime=null;if(k)return handleError(k);const L=this.callbacks;this.callbacks=[];E.time("done hook");this.compiler.hooks.done.callAsync(R,(k=>{E.timeEnd("done hook");if(k)return handleError(k,L);this.handler(null,R);E.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(v.buildDependencies,(k=>{E.timeEnd("storeBuildDependencies");if(k)return handleError(k,L);E.time("beginIdle");this.compiler.cache.beginIdle();this.compiler.idle=true;E.timeEnd("beginIdle");process.nextTick((()=>{if(!this.closed){this.watch(v.fileDependencies,v.contextDependencies,v.missingDependencies)}}));for(const k of L)k(null);this.compiler.hooks.afterDone.call(R)}))}))}watch(k,v,E){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(k,v,E,this.lastWatcherStartTime,this.watchOptions,((k,v,E,P,R)=>{if(k){this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;return this.handler(k)}this._invalidate(v,E,P,R);this._onChange()}),((k,v)=>{if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(k,v)}this._onInvalid()}))}invalidate(k){if(k){this.callbacks.push(k)}if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(null,Date.now())}this._onChange();this._invalidate()}_invalidate(k,v,E,P){if(this.suspended||this._isBlocked()&&(this.blocked=true)){this._mergeWithCollected(E,P);return}if(this.running){this._mergeWithCollected(E,P);this.invalid=true}else{this._go(k,v,E,P)}}suspend(){this.suspended=true}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}close(k){if(this._closeCallbacks){if(k){this._closeCallbacks.push(k)}return}const finalCallback=(k,v)=>{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;this.compiler.fsStartTime=undefined;const shutdown=k=>{this.compiler.hooks.watchClose.call();const v=this._closeCallbacks;this._closeCallbacks=undefined;for(const E of v)E(k)};if(v){const E=v.getLogger("webpack.Watching");E.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(v.buildDependencies,(v=>{E.timeEnd("storeBuildDependencies");shutdown(k||v)}))}else{shutdown(k)}};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}this._closeCallbacks=[];if(k){this._closeCallbacks.push(k)}if(this.running){this.invalid=true;this._done=finalCallback}else{finalCallback()}}}k.exports=Watching},71572:function(k,v,E){"use strict";const P=E(73837).inspect.custom;const R=E(58528);class WebpackError extends Error{constructor(k){super(k);this.details=undefined;this.module=undefined;this.loc=undefined;this.hideStack=undefined;this.chunk=undefined;this.file=undefined}[P](){return this.stack+(this.details?`\n${this.details}`:"")}serialize({write:k}){k(this.name);k(this.message);k(this.stack);k(this.details);k(this.loc);k(this.hideStack)}deserialize({read:k}){this.name=k();this.message=k();this.stack=k();this.details=k();this.loc=k();this.hideStack=k()}}R(WebpackError,"webpack/lib/WebpackError");k.exports=WebpackError},55095:function(k,v,E){"use strict";const P=E(95224);const{JAVASCRIPT_MODULE_TYPE_AUTO:R,JAVASCRIPT_MODULE_TYPE_DYNAMIC:L,JAVASCRIPT_MODULE_TYPE_ESM:N}=E(93622);const q=E(83143);const{toConstantDependency:ae}=E(80784);const le="WebpackIsIncludedPlugin";class WebpackIsIncludedPlugin{apply(k){k.hooks.compilation.tap(le,((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(q,new P(v));k.dependencyTemplates.set(q,new q.Template);const handler=k=>{k.hooks.call.for("__webpack_is_included__").tap(le,(v=>{if(v.type!=="CallExpression"||v.arguments.length!==1||v.arguments[0].type==="SpreadElement")return;const E=k.evaluateExpression(v.arguments[0]);if(!E.isString())return;const P=new q(E.string,v.range);P.loc=v.loc;k.state.module.addDependency(P);return true}));k.hooks.typeof.for("__webpack_is_included__").tap(le,ae(k,JSON.stringify("function")))};v.hooks.parser.for(R).tap(le,handler);v.hooks.parser.for(L).tap(le,handler);v.hooks.parser.for(N).tap(le,handler)}))}}k.exports=WebpackIsIncludedPlugin},27826:function(k,v,E){"use strict";const P=E(64593);const R=E(43722);const L=E(89168);const N=E(7671);const q=E(37247);const ae=E(26591);const le=E(3437);const pe=E(10734);const me=E(99494);const ye=E(8305);const _e=E(11512);const Ie=E(25889);const Me=E(55095);const Te=E(39294);const je=E(10862);const Ne=E(7326);const Be=E(82599);const qe=E(28730);const Ue=E(6247);const Ge=E(45575);const He=E(64476);const We=E(96090);const Qe=E(31615);const Je=E(3970);const Ve=E(63733);const Ke=E(69286);const Ye=E(34949);const Xe=E(80250);const Ze=E(3674);const et=E(50703);const tt=E(95918);const nt=E(53877);const st=E(28027);const rt=E(57686);const ot=E(8808);const it=E(81363);const{cleverMerge:at}=E(99454);class WebpackOptionsApply extends P{constructor(){super()}process(k,v){v.outputPath=k.output.path;v.recordsInputPath=k.recordsInputPath||null;v.recordsOutputPath=k.recordsOutputPath||null;v.name=k.name;if(k.externals){const P=E(53757);new P(k.externalsType,k.externals).apply(v)}if(k.externalsPresets.node){const k=E(56976);(new k).apply(v)}if(k.externalsPresets.electronMain){const k=E(27558);new k("main").apply(v)}if(k.externalsPresets.electronPreload){const k=E(27558);new k("preload").apply(v)}if(k.externalsPresets.electronRenderer){const k=E(27558);new k("renderer").apply(v)}if(k.externalsPresets.electron&&!k.externalsPresets.electronMain&&!k.externalsPresets.electronPreload&&!k.externalsPresets.electronRenderer){const k=E(27558);(new k).apply(v)}if(k.externalsPresets.nwjs){const k=E(53757);new k("node-commonjs","nw.gui").apply(v)}if(k.externalsPresets.webAsync){const P=E(53757);new P("import",(({request:v,dependencyType:E},P)=>{if(E==="url"){if(/^(\/\/|https?:\/\/|#)/.test(v))return P(null,`asset ${v}`)}else if(k.experiments.css&&E==="css-import"){if(/^(\/\/|https?:\/\/|#)/.test(v))return P(null,`css-import ${v}`)}else if(k.experiments.css&&/^(\/\/|https?:\/\/|std:)/.test(v)){if(/^\.css(\?|$)/.test(v))return P(null,`css-import ${v}`);return P(null,`import ${v}`)}P()})).apply(v)}else if(k.externalsPresets.web){const P=E(53757);new P("module",(({request:v,dependencyType:E},P)=>{if(E==="url"){if(/^(\/\/|https?:\/\/|#)/.test(v))return P(null,`asset ${v}`)}else if(k.experiments.css&&E==="css-import"){if(/^(\/\/|https?:\/\/|#)/.test(v))return P(null,`css-import ${v}`)}else if(/^(\/\/|https?:\/\/|std:)/.test(v)){if(k.experiments.css&&/^\.css((\?)|$)/.test(v))return P(null,`css-import ${v}`);return P(null,`module ${v}`)}P()})).apply(v)}else if(k.externalsPresets.node){if(k.experiments.css){const k=E(53757);new k("module",(({request:k,dependencyType:v},E)=>{if(v==="url"){if(/^(\/\/|https?:\/\/|#)/.test(k))return E(null,`asset ${k}`)}else if(v==="css-import"){if(/^(\/\/|https?:\/\/|#)/.test(k))return E(null,`css-import ${k}`)}else if(/^(\/\/|https?:\/\/|std:)/.test(k)){if(/^\.css(\?|$)/.test(k))return E(null,`css-import ${k}`);return E(null,`module ${k}`)}E()})).apply(v)}}(new q).apply(v);if(typeof k.output.chunkFormat==="string"){switch(k.output.chunkFormat){case"array-push":{const k=E(39799);(new k).apply(v);break}case"commonjs":{const k=E(45542);(new k).apply(v);break}case"module":{const k=E(14504);(new k).apply(v);break}default:throw new Error("Unsupported chunk format '"+k.output.chunkFormat+"'.")}}if(k.output.enabledChunkLoadingTypes.length>0){for(const P of k.output.enabledChunkLoadingTypes){const k=E(73126);new k(P).apply(v)}}if(k.output.enabledWasmLoadingTypes.length>0){for(const P of k.output.enabledWasmLoadingTypes){const k=E(50792);new k(P).apply(v)}}if(k.output.enabledLibraryTypes.length>0){for(const P of k.output.enabledLibraryTypes){const k=E(60234);new k(P).apply(v)}}if(k.output.pathinfo){const P=E(50444);new P(k.output.pathinfo!==true).apply(v)}if(k.output.clean){const P=E(69155);new P(k.output.clean===true?{}:k.output.clean).apply(v)}if(k.devtool){if(k.devtool.includes("source-map")){const P=k.devtool.includes("hidden");const R=k.devtool.includes("inline");const L=k.devtool.includes("eval");const N=k.devtool.includes("cheap");const q=k.devtool.includes("module");const ae=k.devtool.includes("nosources");const le=L?E(21234):E(83814);new le({filename:R?null:k.output.sourceMapFilename,moduleFilenameTemplate:k.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:k.output.devtoolFallbackModuleFilenameTemplate,append:P?false:undefined,module:q?true:N?false:true,columns:N?false:true,noSources:ae,namespace:k.output.devtoolNamespace}).apply(v)}else if(k.devtool.includes("eval")){const P=E(87543);new P({moduleFilenameTemplate:k.output.devtoolModuleFilenameTemplate,namespace:k.output.devtoolNamespace}).apply(v)}}(new L).apply(v);(new N).apply(v);(new R).apply(v);if(!k.experiments.outputModule){if(k.output.module){throw new Error("'output.module: true' is only allowed when 'experiments.outputModule' is enabled")}if(k.output.enabledLibraryTypes.includes("module")){throw new Error("library type \"module\" is only allowed when 'experiments.outputModule' is enabled")}if(k.externalsType==="module"){throw new Error("'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled")}}if(k.experiments.syncWebAssembly){const P=E(3843);new P({mangleImports:k.optimization.mangleWasmImports}).apply(v)}if(k.experiments.asyncWebAssembly){const P=E(70006);new P({mangleImports:k.optimization.mangleWasmImports}).apply(v)}if(k.experiments.css){const P=E(76395);new P(k.experiments.css).apply(v)}if(k.experiments.lazyCompilation){const P=E(93239);const R=typeof k.experiments.lazyCompilation==="object"?k.experiments.lazyCompilation:null;new P({backend:typeof R.backend==="function"?R.backend:E(75218)({...R.backend,client:R.backend&&R.backend.client||k.externalsPresets.node?E.ab+"lazy-compilation-node.js":E.ab+"lazy-compilation-web.js"}),entries:!R||R.entries!==false,imports:!R||R.imports!==false,test:R&&R.test||undefined}).apply(v)}if(k.experiments.buildHttp){const P=E(73500);const R=k.experiments.buildHttp;new P(R).apply(v)}(new ae).apply(v);v.hooks.entryOption.call(k.context,k.entry);(new pe).apply(v);(new nt).apply(v);(new Be).apply(v);(new qe).apply(v);(new ye).apply(v);new He({topLevelAwait:k.experiments.topLevelAwait}).apply(v);if(k.amd!==false){const P=E(80471);const R=E(97679);new P(k.amd||{}).apply(v);(new R).apply(v)}(new Ge).apply(v);new Ve({}).apply(v);if(k.node!==false){const P=E(12661);new P(k.node).apply(v)}new me({module:k.output.module}).apply(v);(new Ie).apply(v);(new Me).apply(v);(new _e).apply(v);(new je).apply(v);(new Xe).apply(v);(new Ye).apply(v);(new Ke).apply(v);(new Je).apply(v);(new We).apply(v);(new Ze).apply(v);(new Qe).apply(v);(new et).apply(v);new tt(k.output.workerChunkLoading,k.output.workerWasmLoading,k.output.module,k.output.workerPublicPath).apply(v);(new rt).apply(v);(new ot).apply(v);(new it).apply(v);(new st).apply(v);if(typeof k.mode!=="string"){const k=E(41744);(new k).apply(v)}const P=E(4945);(new P).apply(v);if(k.optimization.removeAvailableModules){const k=E(21352);(new k).apply(v)}if(k.optimization.removeEmptyChunks){const k=E(37238);(new k).apply(v)}if(k.optimization.mergeDuplicateChunks){const k=E(79008);(new k).apply(v)}if(k.optimization.flagIncludedChunks){const k=E(63511);(new k).apply(v)}if(k.optimization.sideEffects){const P=E(57214);new P(k.optimization.sideEffects===true).apply(v)}if(k.optimization.providedExports){const k=E(13893);(new k).apply(v)}if(k.optimization.usedExports){const P=E(25984);new P(k.optimization.usedExports==="global").apply(v)}if(k.optimization.innerGraph){const k=E(31911);(new k).apply(v)}if(k.optimization.mangleExports){const P=E(45287);new P(k.optimization.mangleExports!=="size").apply(v)}if(k.optimization.concatenateModules){const k=E(30899);(new k).apply(v)}if(k.optimization.splitChunks){const P=E(30829);new P(k.optimization.splitChunks).apply(v)}if(k.optimization.runtimeChunk){const P=E(89921);new P(k.optimization.runtimeChunk).apply(v)}if(!k.optimization.emitOnErrors){const k=E(75018);(new k).apply(v)}if(k.optimization.realContentHash){const P=E(71183);new P({hashFunction:k.output.hashFunction,hashDigest:k.output.hashDigest}).apply(v)}if(k.optimization.checkWasmTypes){const k=E(6754);(new k).apply(v)}const ct=k.optimization.moduleIds;if(ct){switch(ct){case"natural":{const k=E(98122);(new k).apply(v);break}case"named":{const k=E(64908);(new k).apply(v);break}case"hashed":{const P=E(80025);const R=E(81973);new P("optimization.moduleIds","hashed","deterministic").apply(v);new R({hashFunction:k.output.hashFunction}).apply(v);break}case"deterministic":{const k=E(40288);(new k).apply(v);break}case"size":{const k=E(40654);new k({prioritiseInitial:true}).apply(v);break}default:throw new Error(`webpack bug: moduleIds: ${ct} is not implemented`)}}const lt=k.optimization.chunkIds;if(lt){switch(lt){case"natural":{const k=E(76914);(new k).apply(v);break}case"named":{const k=E(38372);(new k).apply(v);break}case"deterministic":{const k=E(89002);(new k).apply(v);break}case"size":{const k=E(12976);new k({prioritiseInitial:true}).apply(v);break}case"total-size":{const k=E(12976);new k({prioritiseInitial:false}).apply(v);break}default:throw new Error(`webpack bug: chunkIds: ${lt} is not implemented`)}}if(k.optimization.nodeEnv){const P=E(91602);new P({"process.env.NODE_ENV":JSON.stringify(k.optimization.nodeEnv)}).apply(v)}if(k.optimization.minimize){for(const E of k.optimization.minimizer){if(typeof E==="function"){E.call(v,v)}else if(E!=="..."){E.apply(v)}}}if(k.performance){const P=E(338);new P(k.performance).apply(v)}(new Te).apply(v);new le({portableIds:k.optimization.portableRecords}).apply(v);(new Ne).apply(v);const ut=E(79438);new ut(k.snapshot.managedPaths,k.snapshot.immutablePaths).apply(v);if(k.cache&&typeof k.cache==="object"){const P=k.cache;switch(P.type){case"memory":{if(isFinite(P.maxGenerations)){const k=E(17882);new k({maxGenerations:P.maxGenerations}).apply(v)}else{const k=E(66494);(new k).apply(v)}if(P.cacheUnaffected){if(!k.experiments.cacheUnaffected){throw new Error("'cache.cacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}v.moduleMemCaches=new Map}break}case"filesystem":{const R=E(26876);for(const k in P.buildDependencies){const E=P.buildDependencies[k];new R(E).apply(v)}if(!isFinite(P.maxMemoryGenerations)){const k=E(66494);(new k).apply(v)}else if(P.maxMemoryGenerations!==0){const k=E(17882);new k({maxGenerations:P.maxMemoryGenerations}).apply(v)}if(P.memoryCacheUnaffected){if(!k.experiments.cacheUnaffected){throw new Error("'cache.memoryCacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}v.moduleMemCaches=new Map}switch(P.store){case"pack":{const R=E(87251);const L=E(30124);new R(new L({compiler:v,fs:v.intermediateFileSystem,context:k.context,cacheLocation:P.cacheLocation,version:P.version,logger:v.getInfrastructureLogger("webpack.cache.PackFileCacheStrategy"),snapshot:k.snapshot,maxAge:P.maxAge,profile:P.profile,allowCollectingMemory:P.allowCollectingMemory,compression:P.compression,readonly:P.readonly}),P.idleTimeout,P.idleTimeoutForInitialStore,P.idleTimeoutAfterLargeChanges).apply(v);break}default:throw new Error("Unhandled value for cache.store")}break}default:throw new Error(`Unknown cache type ${P.type}`)}}(new Ue).apply(v);if(k.ignoreWarnings&&k.ignoreWarnings.length>0){const P=E(21324);new P(k.ignoreWarnings).apply(v)}v.hooks.afterPlugins.call(v);if(!v.inputFileSystem){throw new Error("No input filesystem provided")}v.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",(E=>{E=at(k.resolve,E);E.fileSystem=v.inputFileSystem;return E}));v.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",(E=>{E=at(k.resolve,E);E.fileSystem=v.inputFileSystem;E.resolveToContext=true;return E}));v.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",(E=>{E=at(k.resolveLoader,E);E.fileSystem=v.inputFileSystem;return E}));v.hooks.afterResolvers.call(v);return k}}k.exports=WebpackOptionsApply},21247:function(k,v,E){"use strict";const{applyWebpackOptionsDefaults:P}=E(25801);const{getNormalizedWebpackOptions:R}=E(47339);class WebpackOptionsDefaulter{process(k){k=R(k);P(k);return k}}k.exports=WebpackOptionsDefaulter},38200:function(k,v,E){"use strict";const P=E(24230);const R=E(71017);const{RawSource:L}=E(51255);const N=E(91213);const q=E(91597);const{ASSET_MODULE_TYPE:ae}=E(93622);const le=E(56727);const pe=E(74012);const{makePathsRelative:me}=E(65315);const ye=E(64119);const mergeMaybeArrays=(k,v)=>{const E=new Set;if(Array.isArray(k))for(const v of k)E.add(v);else E.add(k);if(Array.isArray(v))for(const k of v)E.add(k);else E.add(v);return Array.from(E)};const mergeAssetInfo=(k,v)=>{const E={...k,...v};for(const P of Object.keys(k)){if(P in v){if(k[P]===v[P])continue;switch(P){case"fullhash":case"chunkhash":case"modulehash":case"contenthash":E[P]=mergeMaybeArrays(k[P],v[P]);break;case"immutable":case"development":case"hotModuleReplacement":case"javascriptModule":E[P]=k[P]||v[P];break;case"related":E[P]=mergeRelatedInfo(k[P],v[P]);break;default:throw new Error(`Can't handle conflicting asset info for ${P}`)}}}return E};const mergeRelatedInfo=(k,v)=>{const E={...k,...v};for(const P of Object.keys(k)){if(P in v){if(k[P]===v[P])continue;E[P]=mergeMaybeArrays(k[P],v[P])}}return E};const encodeDataUri=(k,v)=>{let E;switch(k){case"base64":{E=v.buffer().toString("base64");break}case false:{const k=v.source();if(typeof k!=="string"){E=k.toString("utf-8")}E=encodeURIComponent(E).replace(/[!'()*]/g,(k=>"%"+k.codePointAt(0).toString(16)));break}default:throw new Error(`Unsupported encoding '${k}'`)}return E};const decodeDataUriContent=(k,v)=>{const E=k==="base64";if(E){return Buffer.from(v,"base64")}try{return Buffer.from(decodeURIComponent(v),"ascii")}catch(k){return Buffer.from(v,"ascii")}};const _e=new Set(["javascript"]);const Ie=new Set(["javascript",ae]);const Me="base64";class AssetGenerator extends q{constructor(k,v,E,P,R){super();this.dataUrlOptions=k;this.filename=v;this.publicPath=E;this.outputPath=P;this.emit=R}getSourceFileName(k,v){return me(v.compilation.compiler.context,k.matchResource||k.resource,v.compilation.compiler.root).replace(/^\.\//,"")}getConcatenationBailoutReason(k,v){return undefined}getMimeType(k){if(typeof this.dataUrlOptions==="function"){throw new Error("This method must not be called when dataUrlOptions is a function")}let v=this.dataUrlOptions.mimetype;if(v===undefined){const E=R.extname(k.nameForCondition());if(k.resourceResolveData&&k.resourceResolveData.mimetype!==undefined){v=k.resourceResolveData.mimetype+k.resourceResolveData.parameters}else if(E){v=P.lookup(E);if(typeof v!=="string"){throw new Error("DataUrl can't be generated automatically, "+`because there is no mimetype for "${E}" in mimetype database. `+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}}}if(typeof v!=="string"){throw new Error("DataUrl can't be generated automatically. "+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}return v}generate(k,{runtime:v,concatenationScope:E,chunkGraph:P,runtimeTemplate:q,runtimeRequirements:me,type:_e,getData:Ie}){switch(_e){case ae:return k.originalSource();default:{let ae;const _e=k.originalSource();if(k.buildInfo.dataUrl){let v;if(typeof this.dataUrlOptions==="function"){v=this.dataUrlOptions.call(null,_e.source(),{filename:k.matchResource||k.resource,module:k})}else{let E=this.dataUrlOptions.encoding;if(E===undefined){if(k.resourceResolveData&&k.resourceResolveData.encoding!==undefined){E=k.resourceResolveData.encoding}}if(E===undefined){E=Me}const P=this.getMimeType(k);let R;if(k.resourceResolveData&&k.resourceResolveData.encoding===E&&decodeDataUriContent(k.resourceResolveData.encoding,k.resourceResolveData.encodedContent).equals(_e.buffer())){R=k.resourceResolveData.encodedContent}else{R=encodeDataUri(E,_e)}v=`data:${P}${E?`;${E}`:""},${R}`}const E=Ie();E.set("url",Buffer.from(v));ae=JSON.stringify(v)}else{const E=this.filename||q.outputOptions.assetModuleFilename;const L=pe(q.outputOptions.hashFunction);if(q.outputOptions.hashSalt){L.update(q.outputOptions.hashSalt)}L.update(_e.buffer());const N=L.digest(q.outputOptions.hashDigest);const Me=ye(N,q.outputOptions.hashDigestLength);k.buildInfo.fullContentHash=N;const Te=this.getSourceFileName(k,q);let{path:je,info:Ne}=q.compilation.getAssetPathWithInfo(E,{module:k,runtime:v,filename:Te,chunkGraph:P,contentHash:Me});let Be;if(this.publicPath!==undefined){const{path:E,info:R}=q.compilation.getAssetPathWithInfo(this.publicPath,{module:k,runtime:v,filename:Te,chunkGraph:P,contentHash:Me});Ne=mergeAssetInfo(Ne,R);Be=JSON.stringify(E+je)}else{me.add(le.publicPath);Be=q.concatenation({expr:le.publicPath},je)}Ne={sourceFilename:Te,...Ne};if(this.outputPath){const{path:E,info:L}=q.compilation.getAssetPathWithInfo(this.outputPath,{module:k,runtime:v,filename:Te,chunkGraph:P,contentHash:Me});Ne=mergeAssetInfo(Ne,L);je=R.posix.join(E,je)}k.buildInfo.filename=je;k.buildInfo.assetInfo=Ne;if(Ie){const k=Ie();k.set("fullContentHash",N);k.set("filename",je);k.set("assetInfo",Ne)}ae=Be}if(E){E.registerNamespaceExport(N.NAMESPACE_OBJECT_EXPORT);return new L(`${q.supportsConst()?"const":"var"} ${N.NAMESPACE_OBJECT_EXPORT} = ${ae};`)}else{me.add(le.module);return new L(`${le.module}.exports = ${ae};`)}}}}getTypes(k){if(k.buildInfo&&k.buildInfo.dataUrl||this.emit===false){return _e}else{return Ie}}getSize(k,v){switch(v){case ae:{const v=k.originalSource();if(!v){return 0}return v.size()}default:if(k.buildInfo&&k.buildInfo.dataUrl){const v=k.originalSource();if(!v){return 0}return v.size()*1.34+36}else{return 42}}}updateHash(k,{module:v,runtime:E,runtimeTemplate:P,chunkGraph:R}){if(v.buildInfo.dataUrl){k.update("data-url");if(typeof this.dataUrlOptions==="function"){const v=this.dataUrlOptions.ident;if(v)k.update(v)}else{if(this.dataUrlOptions.encoding&&this.dataUrlOptions.encoding!==Me){k.update(this.dataUrlOptions.encoding)}if(this.dataUrlOptions.mimetype)k.update(this.dataUrlOptions.mimetype)}}else{k.update("resource");const L={module:v,runtime:E,filename:this.getSourceFileName(v,P),chunkGraph:R,contentHash:P.contentHashReplacement};if(typeof this.publicPath==="function"){k.update("path");const v={};k.update(this.publicPath(L,v));k.update(JSON.stringify(v))}else if(this.publicPath){k.update("path");k.update(this.publicPath)}else{k.update("no-path")}const N=this.filename||P.outputOptions.assetModuleFilename;const{path:q,info:ae}=P.compilation.getAssetPathWithInfo(N,L);k.update(q);k.update(JSON.stringify(ae))}}}k.exports=AssetGenerator},43722:function(k,v,E){"use strict";const{ASSET_MODULE_TYPE_RESOURCE:P,ASSET_MODULE_TYPE_INLINE:R,ASSET_MODULE_TYPE:L,ASSET_MODULE_TYPE_SOURCE:N}=E(93622);const{cleverMerge:q}=E(99454);const{compareModulesByIdentifier:ae}=E(95648);const le=E(92198);const pe=E(20631);const getSchema=k=>{const{definitions:v}=E(98625);return{definitions:v,oneOf:[{$ref:`#/definitions/${k}`}]}};const me={name:"Asset Modules Plugin",baseDataPath:"generator"};const ye={asset:le(E(38070),(()=>getSchema("AssetGeneratorOptions")),me),"asset/resource":le(E(77964),(()=>getSchema("AssetResourceGeneratorOptions")),me),"asset/inline":le(E(62853),(()=>getSchema("AssetInlineGeneratorOptions")),me)};const _e=le(E(60578),(()=>getSchema("AssetParserOptions")),{name:"Asset Modules Plugin",baseDataPath:"parser"});const Ie=pe((()=>E(38200)));const Me=pe((()=>E(47930)));const Te=pe((()=>E(51073)));const je=pe((()=>E(15140)));const Ne=L;const Be="AssetModulesPlugin";class AssetModulesPlugin{apply(k){k.hooks.compilation.tap(Be,((v,{normalModuleFactory:E})=>{E.hooks.createParser.for(L).tap(Be,(v=>{_e(v);v=q(k.options.module.parser.asset,v);let E=v.dataUrlCondition;if(!E||typeof E==="object"){E={maxSize:8096,...E}}const P=Me();return new P(E)}));E.hooks.createParser.for(R).tap(Be,(k=>{const v=Me();return new v(true)}));E.hooks.createParser.for(P).tap(Be,(k=>{const v=Me();return new v(false)}));E.hooks.createParser.for(N).tap(Be,(k=>{const v=Te();return new v}));for(const k of[L,R,P]){E.hooks.createGenerator.for(k).tap(Be,(v=>{ye[k](v);let E=undefined;if(k!==P){E=v.dataUrl;if(!E||typeof E==="object"){E={encoding:undefined,mimetype:undefined,...E}}}let L=undefined;let N=undefined;let q=undefined;if(k!==R){L=v.filename;N=v.publicPath;q=v.outputPath}const ae=Ie();return new ae(E,L,N,q,v.emit!==false)}))}E.hooks.createGenerator.for(N).tap(Be,(()=>{const k=je();return new k}));v.hooks.renderManifest.tap(Be,((k,E)=>{const{chunkGraph:P}=v;const{chunk:R,codeGenerationResults:N}=E;const q=P.getOrderedChunkModulesIterableBySourceType(R,L,ae);if(q){for(const v of q){try{const E=N.get(v,R.runtime);k.push({render:()=>E.sources.get(Ne),filename:v.buildInfo.filename||E.data.get("filename"),info:v.buildInfo.assetInfo||E.data.get("assetInfo"),auxiliary:true,identifier:`assetModule${P.getModuleId(v)}`,hash:v.buildInfo.fullContentHash||E.data.get("fullContentHash")})}catch(k){k.message+=`\nduring rendering of asset ${v.identifier()}`;throw k}}}return k}));v.hooks.prepareModuleExecution.tap("AssetModulesPlugin",((k,v)=>{const{codeGenerationResult:E}=k;const P=E.sources.get(L);if(P===undefined)return;v.assets.set(E.data.get("filename"),{source:P,info:E.data.get("assetInfo")})}))}))}}k.exports=AssetModulesPlugin},47930:function(k,v,E){"use strict";const P=E(17381);class AssetParser extends P{constructor(k){super();this.dataUrlCondition=k}parse(k,v){if(typeof k==="object"&&!Buffer.isBuffer(k)){throw new Error("AssetParser doesn't accept preparsed AST")}v.module.buildInfo.strict=true;v.module.buildMeta.exportsType="default";v.module.buildMeta.defaultObject=false;if(typeof this.dataUrlCondition==="function"){v.module.buildInfo.dataUrl=this.dataUrlCondition(k,{filename:v.module.matchResource||v.module.resource,module:v.module})}else if(typeof this.dataUrlCondition==="boolean"){v.module.buildInfo.dataUrl=this.dataUrlCondition}else if(this.dataUrlCondition&&typeof this.dataUrlCondition==="object"){v.module.buildInfo.dataUrl=Buffer.byteLength(k)<=this.dataUrlCondition.maxSize}else{throw new Error("Unexpected dataUrlCondition type")}return v}}k.exports=AssetParser},15140:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(91213);const L=E(91597);const N=E(56727);const q=new Set(["javascript"]);class AssetSourceGenerator extends L{generate(k,{concatenationScope:v,chunkGraph:E,runtimeTemplate:L,runtimeRequirements:q}){const ae=k.originalSource();if(!ae){return new P("")}const le=ae.source();let pe;if(typeof le==="string"){pe=le}else{pe=le.toString("utf-8")}let me;if(v){v.registerNamespaceExport(R.NAMESPACE_OBJECT_EXPORT);me=`${L.supportsConst()?"const":"var"} ${R.NAMESPACE_OBJECT_EXPORT} = ${JSON.stringify(pe)};`}else{q.add(N.module);me=`${N.module}.exports = ${JSON.stringify(pe)};`}return new P(me)}getConcatenationBailoutReason(k,v){return undefined}getTypes(k){return q}getSize(k,v){const E=k.originalSource();if(!E){return 0}return E.size()+12}}k.exports=AssetSourceGenerator},51073:function(k,v,E){"use strict";const P=E(17381);class AssetSourceParser extends P{parse(k,v){if(typeof k==="object"&&!Buffer.isBuffer(k)){throw new Error("AssetSourceParser doesn't accept preparsed AST")}const{module:E}=v;E.buildInfo.strict=true;E.buildMeta.exportsType="default";v.module.buildMeta.defaultObject=false;return v}}k.exports=AssetSourceParser},26619:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(88396);const{ASSET_MODULE_TYPE_RAW_DATA_URL:L}=E(93622);const N=E(56727);const q=E(58528);const ae=new Set(["javascript"]);class RawDataUrlModule extends R{constructor(k,v,E){super(L,null);this.url=k;this.urlBuffer=k?Buffer.from(k):undefined;this.identifierStr=v||this.url;this.readableIdentifierStr=E||this.identifierStr}getSourceTypes(){return ae}identifier(){return this.identifierStr}size(k){if(this.url===undefined)this.url=this.urlBuffer.toString();return Math.max(1,this.url.length)}readableIdentifier(k){return k.shorten(this.readableIdentifierStr)}needBuild(k,v){return v(null,!this.buildMeta)}build(k,v,E,P,R){this.buildMeta={};this.buildInfo={cacheable:true};R()}codeGeneration(k){if(this.url===undefined)this.url=this.urlBuffer.toString();const v=new Map;v.set("javascript",new P(`module.exports = ${JSON.stringify(this.url)};`));const E=new Map;E.set("url",this.urlBuffer);const R=new Set;R.add(N.module);return{sources:v,runtimeRequirements:R,data:E}}updateHash(k,v){k.update(this.urlBuffer);super.updateHash(k,v)}serialize(k){const{write:v}=k;v(this.urlBuffer);v(this.identifierStr);v(this.readableIdentifierStr);super.serialize(k)}deserialize(k){const{read:v}=k;this.urlBuffer=v();this.identifierStr=v();this.readableIdentifierStr=v();super.deserialize(k)}}q(RawDataUrlModule,"webpack/lib/asset/RawDataUrlModule");k.exports=RawDataUrlModule},55770:function(k,v,E){"use strict";const P=E(88113);const R=E(56727);const L=E(95041);class AwaitDependenciesInitFragment extends P{constructor(k){super(undefined,P.STAGE_ASYNC_DEPENDENCIES,0,"await-dependencies");this.promises=k}merge(k){const v=new Set(k.promises);for(const k of this.promises){v.add(k)}return new AwaitDependenciesInitFragment(v)}getContent({runtimeRequirements:k}){k.add(R.module);const v=this.promises;if(v.size===0){return""}if(v.size===1){for(const k of v){return L.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${k}]);`,`${k} = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];`,""])}}const E=Array.from(v).join(", ");return L.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${E}]);`,`([${E}] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);`,""])}}k.exports=AwaitDependenciesInitFragment},53877:function(k,v,E){"use strict";const P=E(69184);class InferAsyncModulesPlugin{apply(k){k.hooks.compilation.tap("InferAsyncModulesPlugin",(k=>{const{moduleGraph:v}=k;k.hooks.finishModules.tap("InferAsyncModulesPlugin",(k=>{const E=new Set;for(const v of k){if(v.buildMeta&&v.buildMeta.async){E.add(v)}}for(const k of E){v.setAsync(k);for(const[R,L]of v.getIncomingConnectionsByOriginModule(k)){if(L.some((k=>k.dependency instanceof P&&k.isTargetActive(undefined)))){E.add(R)}}}}))}))}}k.exports=InferAsyncModulesPlugin},82551:function(k,v,E){"use strict";const P=E(51641);const{connectChunkGroupParentAndChild:R}=E(18467);const L=E(86267);const{getEntryRuntime:N,mergeRuntime:q}=E(1540);const ae=new Set;ae.plus=ae;const bySetSize=(k,v)=>v.size+v.plus.size-k.size-k.plus.size;const extractBlockModules=(k,v,E,P)=>{let R;let N;const q=[];const ae=[k];while(ae.length>0){const k=ae.pop();const v=[];q.push(v);P.set(k,v);for(const v of k.blocks){ae.push(v)}}for(const L of v.getOutgoingConnections(k)){const k=L.dependency;if(!k)continue;const q=L.module;if(!q)continue;if(L.weak)continue;const ae=L.getActiveState(E);if(ae===false)continue;const le=v.getParentBlock(k);let pe=v.getParentBlockIndex(k);if(pe<0){pe=le.dependencies.indexOf(k)}if(R!==le){N=P.get(R=le)}const me=pe<<2;N[me]=q;N[me+1]=ae}for(const k of q){if(k.length===0)continue;let v;let E=0;e:for(let P=0;P30){v=new Map;for(let P=0;P{const{moduleGraph:me,chunkGraph:ye,moduleMemCaches:_e}=v;const Ie=new Map;let Me=false;let Te;const getBlockModules=(v,E)=>{if(Me!==E){Te=Ie.get(E);if(Te===undefined){Te=new Map;Ie.set(E,Te)}}let P=Te.get(v);if(P!==undefined)return P;const R=v.getRootBlock();const L=_e&&_e.get(R);if(L!==undefined){const P=L.provide("bundleChunkGraph.blockModules",E,(()=>{k.time("visitModules: prepare");const v=new Map;extractBlockModules(R,me,E,v);k.timeAggregate("visitModules: prepare");return v}));for(const[k,v]of P)Te.set(k,v);return P.get(v)}else{k.time("visitModules: prepare");extractBlockModules(R,me,E,Te);P=Te.get(v);k.timeAggregate("visitModules: prepare");return P}};let je=0;let Ne=0;let Be=0;let qe=0;let Ue=0;let Ge=0;let He=0;let We=0;let Qe=0;let Je=0;let Ve=0;let Ke=0;let Ye=0;let Xe=0;let Ze=0;let et=0;const tt=new Map;const nt=new Map;const st=new Map;const rt=0;const ot=1;const it=2;const at=3;const ct=4;const lt=5;let ut=[];const pt=new Map;const dt=new Set;for(const[k,P]of E){const E=N(v,k.name,k.options);const L={chunkGroup:k,runtime:E,minAvailableModules:undefined,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0,chunkLoading:k.options.chunkLoading!==undefined?k.options.chunkLoading!==false:v.outputOptions.chunkLoading!==false,asyncChunks:k.options.asyncChunks!==undefined?k.options.asyncChunks:v.outputOptions.asyncChunks!==false};k.index=Xe++;if(k.getNumberOfParents()>0){const k=new Set;for(const v of P){k.add(v)}L.skippedItems=k;dt.add(L)}else{L.minAvailableModules=ae;const v=k.getEntrypointChunk();for(const E of P){ut.push({action:ot,block:E,module:E,chunk:v,chunkGroup:k,chunkGroupInfo:L})}}R.set(k,L);if(k.name){nt.set(k.name,L)}}for(const k of dt){const{chunkGroup:v}=k;k.availableSources=new Set;for(const E of v.parentsIterable){const v=R.get(E);k.availableSources.add(v);if(v.availableChildren===undefined){v.availableChildren=new Set}v.availableChildren.add(k)}}ut.reverse();const ft=new Set;const ht=new Set;let mt=[];const gt=[];const yt=[];const bt=[];let xt;let kt;let vt;let wt;let At;const iteratorBlock=k=>{let E=tt.get(k);let N;let q;const le=k.groupOptions&&k.groupOptions.entryOptions;if(E===undefined){const me=k.groupOptions&&k.groupOptions.name||k.chunkName;if(le){E=st.get(me);if(!E){q=v.addAsyncEntrypoint(le,xt,k.loc,k.request);q.index=Xe++;E={chunkGroup:q,runtime:q.options.runtime||q.name,minAvailableModules:ae,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0,chunkLoading:le.chunkLoading!==undefined?le.chunkLoading!==false:At.chunkLoading,asyncChunks:le.asyncChunks!==undefined?le.asyncChunks:At.asyncChunks};R.set(q,E);ye.connectBlockAndChunkGroup(k,q);if(me){st.set(me,E)}}else{q=E.chunkGroup;q.addOrigin(xt,k.loc,k.request);ye.connectBlockAndChunkGroup(k,q)}mt.push({action:ct,block:k,module:xt,chunk:q.chunks[0],chunkGroup:q,chunkGroupInfo:E})}else if(!At.asyncChunks||!At.chunkLoading){ut.push({action:at,block:k,module:xt,chunk:kt,chunkGroup:vt,chunkGroupInfo:At})}else{E=me&&nt.get(me);if(!E){N=v.addChunkInGroup(k.groupOptions||k.chunkName,xt,k.loc,k.request);N.index=Xe++;E={chunkGroup:N,runtime:At.runtime,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0,chunkLoading:At.chunkLoading,asyncChunks:At.asyncChunks};pe.add(N);R.set(N,E);if(me){nt.set(me,E)}}else{N=E.chunkGroup;if(N.isInitial()){v.errors.push(new P(me,xt,k.loc));N=vt}else{N.addOptions(k.groupOptions)}N.addOrigin(xt,k.loc,k.request)}L.set(k,[])}tt.set(k,E)}else if(le){q=E.chunkGroup}else{N=E.chunkGroup}if(N!==undefined){L.get(k).push({originChunkGroupInfo:At,chunkGroup:N});let v=pt.get(At);if(v===undefined){v=new Set;pt.set(At,v)}v.add(E);mt.push({action:at,block:k,module:xt,chunk:N.chunks[0],chunkGroup:N,chunkGroupInfo:E})}else if(q!==undefined){At.chunkGroup.addAsyncEntrypoint(q)}};const processBlock=k=>{Ne++;const v=getBlockModules(k,At.runtime);if(v!==undefined){const{minAvailableModules:k}=At;for(let E=0;E0){let{skippedModuleConnections:k}=At;if(k===undefined){At.skippedModuleConnections=k=new Set}for(let v=gt.length-1;v>=0;v--){k.add(gt[v])}gt.length=0}if(yt.length>0){let{skippedItems:k}=At;if(k===undefined){At.skippedItems=k=new Set}for(let v=yt.length-1;v>=0;v--){k.add(yt[v])}yt.length=0}if(bt.length>0){for(let k=bt.length-1;k>=0;k--){ut.push(bt[k])}bt.length=0}}for(const v of k.blocks){iteratorBlock(v)}if(k.blocks.length>0&&xt!==k){le.add(k)}};const processEntryBlock=k=>{Ne++;const v=getBlockModules(k,At.runtime);if(v!==undefined){for(let k=0;k0){for(let k=bt.length-1;k>=0;k--){ut.push(bt[k])}bt.length=0}}for(const v of k.blocks){iteratorBlock(v)}if(k.blocks.length>0&&xt!==k){le.add(k)}};const processQueue=()=>{while(ut.length){je++;const k=ut.pop();xt=k.module;wt=k.block;kt=k.chunk;vt=k.chunkGroup;At=k.chunkGroupInfo;switch(k.action){case rt:ye.connectChunkAndEntryModule(kt,xt,vt);case ot:{if(ye.isModuleInChunk(xt,kt)){break}ye.connectChunkAndModule(kt,xt)}case it:{const v=vt.getModulePreOrderIndex(xt);if(v===undefined){vt.setModulePreOrderIndex(xt,At.preOrderIndex++)}if(me.setPreOrderIndexIfUnset(xt,Ze)){Ze++}k.action=lt;ut.push(k)}case at:{processBlock(wt);break}case ct:{processEntryBlock(wt);break}case lt:{const k=vt.getModulePostOrderIndex(xt);if(k===undefined){vt.setModulePostOrderIndex(xt,At.postOrderIndex++)}if(me.setPostOrderIndexIfUnset(xt,et)){et++}break}}}};const calculateResultingAvailableModules=k=>{if(k.resultingAvailableModules)return k.resultingAvailableModules;const v=k.minAvailableModules;let E;if(v.size>v.plus.size){E=new Set;for(const k of v.plus)v.add(k);v.plus=ae;E.plus=v;k.minAvailableModulesOwned=false}else{E=new Set(v);E.plus=v.plus}for(const v of k.chunkGroup.chunks){for(const k of ye.getChunkModulesIterable(v)){E.add(k)}}return k.resultingAvailableModules=E};const processConnectQueue=()=>{for(const[k,v]of pt){if(k.children===undefined){k.children=v}else{for(const E of v){k.children.add(E)}}const E=calculateResultingAvailableModules(k);const P=k.runtime;for(const k of v){k.availableModulesToBeMerged.push(E);ht.add(k);const v=k.runtime;const R=q(v,P);if(v!==R){k.runtime=R;ft.add(k)}}Be+=v.size}pt.clear()};const processChunkGroupsForMerging=()=>{qe+=ht.size;for(const k of ht){const v=k.availableModulesToBeMerged;let E=k.minAvailableModules;Ue+=v.length;if(v.length>1){v.sort(bySetSize)}let P=false;e:for(const R of v){if(E===undefined){E=R;k.minAvailableModules=E;k.minAvailableModulesOwned=false;P=true}else{if(k.minAvailableModulesOwned){if(E.plus===R.plus){for(const k of E){if(!R.has(k)){E.delete(k);P=true}}}else{for(const k of E){if(!R.has(k)&&!R.plus.has(k)){E.delete(k);P=true}}for(const k of E.plus){if(!R.has(k)&&!R.plus.has(k)){const v=E.plus[Symbol.iterator]();let L;while(!(L=v.next()).done){const v=L.value;if(v===k)break;E.add(v)}while(!(L=v.next()).done){const k=L.value;if(R.has(k)||R.plus.has(k)){E.add(k)}}E.plus=ae;P=true;continue e}}}}else if(E.plus===R.plus){if(R.size{for(const k of dt){for(const v of k.availableSources){if(!v.minAvailableModules){dt.delete(k);break}}}for(const k of dt){const v=new Set;v.plus=ae;const mergeSet=k=>{if(k.size>v.plus.size){for(const k of v.plus)v.add(k);v.plus=k}else{for(const E of k)v.add(E)}};for(const v of k.availableSources){const k=calculateResultingAvailableModules(v);mergeSet(k);mergeSet(k.plus)}k.minAvailableModules=v;k.minAvailableModulesOwned=false;k.resultingAvailableModules=undefined;ft.add(k)}dt.clear()};const processOutdatedChunkGroupInfo=()=>{Ke+=ft.size;for(const k of ft){if(k.skippedItems!==undefined){const{minAvailableModules:v}=k;for(const E of k.skippedItems){if(!v.has(E)&&!v.plus.has(E)){ut.push({action:ot,block:E,module:E,chunk:k.chunkGroup.chunks[0],chunkGroup:k.chunkGroup,chunkGroupInfo:k});k.skippedItems.delete(E)}}}if(k.skippedModuleConnections!==undefined){const{minAvailableModules:v}=k;for(const E of k.skippedModuleConnections){const[P,R]=E;if(R===false)continue;if(R===true){k.skippedModuleConnections.delete(E)}if(R===true&&(v.has(P)||v.plus.has(P))){k.skippedItems.add(P);continue}ut.push({action:R===true?ot:at,block:P,module:P,chunk:k.chunkGroup.chunks[0],chunkGroup:k.chunkGroup,chunkGroupInfo:k})}}if(k.children!==undefined){Ye+=k.children.size;for(const v of k.children){let E=pt.get(k);if(E===undefined){E=new Set;pt.set(k,E)}E.add(v)}}if(k.availableChildren!==undefined){for(const v of k.availableChildren){dt.add(v)}}}ft.clear()};while(ut.length||pt.size){k.time("visitModules: visiting");processQueue();k.timeAggregateEnd("visitModules: prepare");k.timeEnd("visitModules: visiting");if(dt.size>0){k.time("visitModules: combine available modules");processChunkGroupsForCombining();k.timeEnd("visitModules: combine available modules")}if(pt.size>0){k.time("visitModules: calculating available modules");processConnectQueue();k.timeEnd("visitModules: calculating available modules");if(ht.size>0){k.time("visitModules: merging available modules");processChunkGroupsForMerging();k.timeEnd("visitModules: merging available modules")}}if(ft.size>0){k.time("visitModules: check modules for revisit");processOutdatedChunkGroupInfo();k.timeEnd("visitModules: check modules for revisit")}if(ut.length===0){const k=ut;ut=mt.reverse();mt=k}}k.log(`${je} queue items processed (${Ne} blocks)`);k.log(`${Be} chunk groups connected`);k.log(`${qe} chunk groups processed for merging (${Ue} module sets, ${Ge} forked, ${He} + ${We} modules forked, ${Qe} + ${Je} modules merged into fork, ${Ve} resulting modules)`);k.log(`${Ke} chunk group info updated (${Ye} already connected chunk groups reconnected)`)};const connectChunkGroups=(k,v,E,P)=>{const{chunkGraph:L}=k;const areModulesAvailable=(k,v)=>{for(const E of k.chunks){for(const k of L.getChunkModulesIterable(E)){if(!v.has(k)&&!v.plus.has(k))return false}}return true};for(const[k,P]of E){if(!v.has(k)&&P.every((({chunkGroup:k,originChunkGroupInfo:v})=>areModulesAvailable(k,v.resultingAvailableModules)))){continue}for(let v=0;v{const{chunkGraph:E}=k;for(const P of v){if(P.getNumberOfParents()===0){for(const v of P.chunks){k.chunks.delete(v);E.disconnectChunk(v)}E.disconnectChunkGroup(P);P.remove()}}};const buildChunkGraph=(k,v)=>{const E=k.getLogger("webpack.buildChunkGraph");const P=new Map;const R=new Set;const L=new Map;const N=new Set;E.time("visitModules");visitModules(E,k,v,L,P,N,R);E.timeEnd("visitModules");E.time("connectChunkGroups");connectChunkGroups(k,N,P,L);E.timeEnd("connectChunkGroups");for(const[k,v]of L){for(const E of k.chunks)E.runtime=q(E.runtime,v.runtime)}E.time("cleanup");cleanupUnconnectedGroups(k,R);E.timeEnd("cleanup")};k.exports=buildChunkGraph},26876:function(k){"use strict";class AddBuildDependenciesPlugin{constructor(k){this.buildDependencies=new Set(k)}apply(k){k.hooks.compilation.tap("AddBuildDependenciesPlugin",(k=>{k.buildDependencies.addAll(this.buildDependencies)}))}}k.exports=AddBuildDependenciesPlugin},79438:function(k){"use strict";class AddManagedPathsPlugin{constructor(k,v){this.managedPaths=new Set(k);this.immutablePaths=new Set(v)}apply(k){for(const v of this.managedPaths){k.managedPaths.add(v)}for(const v of this.immutablePaths){k.immutablePaths.add(v)}}}k.exports=AddManagedPathsPlugin},87251:function(k,v,E){"use strict";const P=E(89802);const R=E(6535);const L=Symbol();class IdleFileCachePlugin{constructor(k,v,E,P){this.strategy=k;this.idleTimeout=v;this.idleTimeoutForInitialStore=E;this.idleTimeoutAfterLargeChanges=P}apply(k){let v=this.strategy;const E=this.idleTimeout;const N=Math.min(E,this.idleTimeoutForInitialStore);const q=this.idleTimeoutAfterLargeChanges;const ae=Promise.resolve();let le=0;let pe=0;let me=0;const ye=new Map;k.cache.hooks.store.tap({name:"IdleFileCachePlugin",stage:P.STAGE_DISK},((k,E,P)=>{ye.set(k,(()=>v.store(k,E,P)))}));k.cache.hooks.get.tapPromise({name:"IdleFileCachePlugin",stage:P.STAGE_DISK},((k,E,P)=>{const restore=()=>v.restore(k,E).then((R=>{if(R===undefined){P.push(((P,R)=>{if(P!==undefined){ye.set(k,(()=>v.store(k,E,P)))}R()}))}else{return R}}));const R=ye.get(k);if(R!==undefined){ye.delete(k);return R().then(restore)}return restore()}));k.cache.hooks.storeBuildDependencies.tap({name:"IdleFileCachePlugin",stage:P.STAGE_DISK},(k=>{ye.set(L,(()=>v.storeBuildDependencies(k)))}));k.cache.hooks.shutdown.tapPromise({name:"IdleFileCachePlugin",stage:P.STAGE_DISK},(()=>{if(Te){clearTimeout(Te);Te=undefined}Ie=false;const E=R.getReporter(k);const P=Array.from(ye.values());if(E)E(0,"process pending cache items");const L=P.map((k=>k()));ye.clear();L.push(_e);const N=Promise.all(L);_e=N.then((()=>v.afterAllStored()));if(E){_e=_e.then((()=>{E(1,`stored`)}))}return _e.then((()=>{if(v.clear)v.clear()}))}));let _e=ae;let Ie=false;let Me=true;const processIdleTasks=()=>{if(Ie){const E=Date.now();if(ye.size>0){const k=[_e];const v=E+100;let P=100;for(const[E,R]of ye){ye.delete(E);k.push(R());if(P--<=0||Date.now()>v)break}_e=Promise.all(k);_e.then((()=>{pe+=Date.now()-E;Te=setTimeout(processIdleTasks,0);Te.unref()}));return}_e=_e.then((async()=>{await v.afterAllStored();pe+=Date.now()-E;me=Math.max(me,pe)*.9+pe*.1;pe=0;le=0})).catch((v=>{const E=k.getInfrastructureLogger("IdleFileCachePlugin");E.warn(`Background tasks during idle failed: ${v.message}`);E.debug(v.stack)}));Me=false}};let Te=undefined;k.cache.hooks.beginIdle.tap({name:"IdleFileCachePlugin",stage:P.STAGE_DISK},(()=>{const v=le>me*2;if(Me&&N{Te=undefined;Ie=true;ae.then(processIdleTasks)}),Math.min(Me?N:Infinity,v?q:Infinity,E));Te.unref()}));k.cache.hooks.endIdle.tap({name:"IdleFileCachePlugin",stage:P.STAGE_DISK},(()=>{if(Te){clearTimeout(Te);Te=undefined}Ie=false}));k.hooks.done.tap("IdleFileCachePlugin",(k=>{le*=.9;le+=k.endTime-k.startTime}))}}k.exports=IdleFileCachePlugin},66494:function(k,v,E){"use strict";const P=E(89802);class MemoryCachePlugin{apply(k){const v=new Map;k.cache.hooks.store.tap({name:"MemoryCachePlugin",stage:P.STAGE_MEMORY},((k,E,P)=>{v.set(k,{etag:E,data:P})}));k.cache.hooks.get.tap({name:"MemoryCachePlugin",stage:P.STAGE_MEMORY},((k,E,P)=>{const R=v.get(k);if(R===null){return null}else if(R!==undefined){return R.etag===E?R.data:null}P.push(((P,R)=>{if(P===undefined){v.set(k,null)}else{v.set(k,{etag:E,data:P})}return R()}))}));k.cache.hooks.shutdown.tap({name:"MemoryCachePlugin",stage:P.STAGE_MEMORY},(()=>{v.clear()}))}}k.exports=MemoryCachePlugin},17882:function(k,v,E){"use strict";const P=E(89802);class MemoryWithGcCachePlugin{constructor({maxGenerations:k}){this._maxGenerations=k}apply(k){const v=this._maxGenerations;const E=new Map;const R=new Map;let L=0;let N=0;const q=k.getInfrastructureLogger("MemoryWithGcCachePlugin");k.hooks.afterDone.tap("MemoryWithGcCachePlugin",(()=>{L++;let k=0;let P;for(const[v,N]of R){if(N.until>L)break;R.delete(v);if(E.get(v)===undefined){E.delete(v);k++;P=v}}if(k>0||R.size>0){q.log(`${E.size-R.size} active entries, ${R.size} recently unused cached entries${k>0?`, ${k} old unused cache entries removed e. g. ${P}`:""}`)}let ae=E.size/v|0;let le=N>=E.size?0:N;N=le+ae;for(const[k,P]of E){if(le!==0){le--;continue}if(P!==undefined){E.set(k,undefined);R.delete(k);R.set(k,{entry:P,until:L+v});if(ae--===0)break}}}));k.cache.hooks.store.tap({name:"MemoryWithGcCachePlugin",stage:P.STAGE_MEMORY},((k,v,P)=>{E.set(k,{etag:v,data:P})}));k.cache.hooks.get.tap({name:"MemoryWithGcCachePlugin",stage:P.STAGE_MEMORY},((k,v,P)=>{const L=E.get(k);if(L===null){return null}else if(L!==undefined){return L.etag===v?L.data:null}const N=R.get(k);if(N!==undefined){const P=N.entry;if(P===null){R.delete(k);E.set(k,P);return null}else{if(P.etag!==v)return null;R.delete(k);E.set(k,P);return P.data}}P.push(((P,R)=>{if(P===undefined){E.set(k,null)}else{E.set(k,{etag:v,data:P})}return R()}))}));k.cache.hooks.shutdown.tap({name:"MemoryWithGcCachePlugin",stage:P.STAGE_MEMORY},(()=>{E.clear();R.clear()}))}}k.exports=MemoryWithGcCachePlugin},30124:function(k,v,E){"use strict";const P=E(18144);const R=E(6535);const{formatSize:L}=E(3386);const N=E(5505);const q=E(12359);const ae=E(58528);const le=E(20631);const{createFileSerializer:pe,NOT_SERIALIZABLE:me}=E(52456);class PackContainer{constructor(k,v,E,P,R,L){this.data=k;this.version=v;this.buildSnapshot=E;this.buildDependencies=P;this.resolveResults=R;this.resolveBuildDependenciesSnapshot=L}serialize({write:k,writeLazy:v}){k(this.version);k(this.buildSnapshot);k(this.buildDependencies);k(this.resolveResults);k(this.resolveBuildDependenciesSnapshot);v(this.data)}deserialize({read:k}){this.version=k();this.buildSnapshot=k();this.buildDependencies=k();this.resolveResults=k();this.resolveBuildDependenciesSnapshot=k();this.data=k()}}ae(PackContainer,"webpack/lib/cache/PackFileCacheStrategy","PackContainer");const ye=1024*1024;const _e=10;const Ie=100;const Me=5e4;const Te=1*60*1e3;class PackItemInfo{constructor(k,v,E){this.identifier=k;this.etag=v;this.location=-1;this.lastAccess=Date.now();this.freshValue=E}}class Pack{constructor(k,v){this.itemInfo=new Map;this.requests=[];this.requestsTimeout=undefined;this.freshContent=new Map;this.content=[];this.invalid=false;this.logger=k;this.maxAge=v}_addRequest(k){this.requests.push(k);if(this.requestsTimeout===undefined){this.requestsTimeout=setTimeout((()=>{this.requests.push(undefined);this.requestsTimeout=undefined}),Te);if(this.requestsTimeout.unref)this.requestsTimeout.unref()}}stopCapturingRequests(){if(this.requestsTimeout!==undefined){clearTimeout(this.requestsTimeout);this.requestsTimeout=undefined}}get(k,v){const E=this.itemInfo.get(k);this._addRequest(k);if(E===undefined){return undefined}if(E.etag!==v)return null;E.lastAccess=Date.now();const P=E.location;if(P===-1){return E.freshValue}else{if(!this.content[P]){return undefined}return this.content[P].get(k)}}set(k,v,E){if(!this.invalid){this.invalid=true;this.logger.log(`Pack got invalid because of write to: ${k}`)}const P=this.itemInfo.get(k);if(P===undefined){const P=new PackItemInfo(k,v,E);this.itemInfo.set(k,P);this._addRequest(k);this.freshContent.set(k,P)}else{const R=P.location;if(R>=0){this._addRequest(k);this.freshContent.set(k,P);const v=this.content[R];v.delete(k);if(v.items.size===0){this.content[R]=undefined;this.logger.debug("Pack %d got empty and is removed",R)}}P.freshValue=E;P.lastAccess=Date.now();P.etag=v;P.location=-1}}getContentStats(){let k=0;let v=0;for(const E of this.content){if(E!==undefined){k++;const P=E.getSize();if(P>0){v+=P}}}return{count:k,size:v}}_findLocation(){let k;for(k=0;kthis.maxAge){this.itemInfo.delete(N);k.delete(N);v.delete(N);P++;R=N}else{q.location=E}}if(P>0){this.logger.log("Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s",P,E,k.size,R)}}_persistFreshContent(){const k=this.freshContent.size;if(k>0){const v=Math.ceil(k/Me);const E=Math.ceil(k/v);const P=[];let R=0;let L=false;const createNextPack=()=>{const k=this._findLocation();this.content[k]=null;const v={items:new Set,map:new Map,loc:k};P.push(v);return v};let N=createNextPack();if(this.requestsTimeout!==undefined)clearTimeout(this.requestsTimeout);for(const k of this.requests){if(k===undefined){if(L){L=false}else if(N.items.size>=Ie){R=0;N=createNextPack()}continue}const v=this.freshContent.get(k);if(v===undefined)continue;N.items.add(k);N.map.set(k,v.freshValue);v.location=N.loc;v.freshValue=undefined;this.freshContent.delete(k);if(++R>E){R=0;N=createNextPack();L=true}}this.requests.length=0;for(const k of P){this.content[k.loc]=new PackContent(k.items,new Set(k.items),new PackContentItems(k.map))}this.logger.log(`${k} fresh items in cache put into pack ${P.length>1?P.map((k=>`${k.loc} (${k.items.size} items)`)).join(", "):P[0].loc}`)}}_optimizeSmallContent(){const k=[];let v=0;const E=[];let P=0;for(let R=0;Rye)continue;if(L.used.size>0){k.push(R);v+=N}else{E.push(R);P+=N}}let R;if(k.length>=_e||v>ye){R=k}else if(E.length>=_e||P>ye){R=E}else return;const L=[];for(const k of R){L.push(this.content[k]);this.content[k]=undefined}const N=new Set;const q=new Set;const ae=[];for(const k of L){for(const v of k.items){N.add(v)}for(const v of k.used){q.add(v)}ae.push((async v=>{await k.unpack("it should be merged with other small pack contents");for(const[E,P]of k.content){v.set(E,P)}}))}const pe=this._findLocation();this._gcAndUpdateLocation(N,q,pe);if(N.size>0){this.content[pe]=new PackContent(N,q,le((async()=>{const k=new Map;await Promise.all(ae.map((v=>v(k))));return new PackContentItems(k)})));this.logger.log("Merged %d small files with %d cache items into pack %d",L.length,N.size,pe)}}_optimizeUnusedContent(){for(let k=0;k0&&P0){this.content[P]=new PackContent(E,new Set(E),(async()=>{await v.unpack("it should be splitted into used and unused items");const k=new Map;for(const P of E){k.set(P,v.content.get(P))}return new PackContentItems(k)}))}const R=new Set(v.items);const L=new Set;for(const k of E){R.delete(k)}const N=this._findLocation();this._gcAndUpdateLocation(R,L,N);if(R.size>0){this.content[N]=new PackContent(R,L,(async()=>{await v.unpack("it should be splitted into used and unused items");const k=new Map;for(const E of R){k.set(E,v.content.get(E))}return new PackContentItems(k)}))}this.logger.log("Split pack %d into pack %d with %d used items and pack %d with %d unused items",k,P,E.size,N,R.size);return}}}_gcOldestContent(){let k=undefined;for(const v of this.itemInfo.values()){if(k===undefined||v.lastAccessthis.maxAge){const v=k.location;if(v<0)return;const E=this.content[v];const P=new Set(E.items);const R=new Set(E.used);this._gcAndUpdateLocation(P,R,v);this.content[v]=P.size>0?new PackContent(P,R,(async()=>{await E.unpack("it contains old items that should be garbage collected");const k=new Map;for(const v of P){k.set(v,E.content.get(v))}return new PackContentItems(k)})):undefined}}serialize({write:k,writeSeparate:v}){this._persistFreshContent();this._optimizeSmallContent();this._optimizeUnusedContent();this._gcOldestContent();for(const v of this.itemInfo.keys()){k(v)}k(null);for(const v of this.itemInfo.values()){k(v.etag)}for(const v of this.itemInfo.values()){k(v.lastAccess)}for(let E=0;Ev(k,{name:`${E}`})))}else{k(undefined)}}k(null)}deserialize({read:k,logger:v}){this.logger=v;{const v=[];let E=k();while(E!==null){v.push(E);E=k()}this.itemInfo.clear();const P=v.map((k=>{const v=new PackItemInfo(k,undefined,undefined);this.itemInfo.set(k,v);return v}));for(const v of P){v.etag=k()}for(const v of P){v.lastAccess=k()}}this.content.length=0;let E=k();while(E!==null){if(E===undefined){this.content.push(E)}else{const P=this.content.length;const R=k();this.content.push(new PackContent(E,new Set,R,v,`${this.content.length}`));for(const k of E){this.itemInfo.get(k).location=P}}E=k()}}}ae(Pack,"webpack/lib/cache/PackFileCacheStrategy","Pack");class PackContentItems{constructor(k){this.map=k}serialize({write:k,snapshot:v,rollback:E,logger:P,profile:R}){if(R){k(false);for(const[R,L]of this.map){const N=v();try{k(R);const v=process.hrtime();k(L);const E=process.hrtime(v);const N=E[0]*1e3+E[1]/1e6;if(N>1){if(N>500)P.error(`Serialization of '${R}': ${N} ms`);else if(N>50)P.warn(`Serialization of '${R}': ${N} ms`);else if(N>10)P.info(`Serialization of '${R}': ${N} ms`);else if(N>5)P.log(`Serialization of '${R}': ${N} ms`);else P.debug(`Serialization of '${R}': ${N} ms`)}}catch(k){E(N);if(k===me)continue;const v="Skipped not serializable cache item";if(k.message.includes("ModuleBuildError")){P.log(`${v} (in build error): ${k.message}`);P.debug(`${v} '${R}' (in build error): ${k.stack}`)}else{P.warn(`${v}: ${k.message}`);P.debug(`${v} '${R}': ${k.stack}`)}}}k(null);return}const L=v();try{k(true);k(this.map)}catch(R){E(L);k(false);for(const[R,L]of this.map){const N=v();try{k(R);k(L)}catch(k){E(N);if(k===me)continue;P.warn(`Skipped not serializable cache item '${R}': ${k.message}`);P.debug(k.stack)}}k(null)}}deserialize({read:k,logger:v,profile:E}){if(k()){this.map=k()}else if(E){const E=new Map;let P=k();while(P!==null){const R=process.hrtime();const L=k();const N=process.hrtime(R);const q=N[0]*1e3+N[1]/1e6;if(q>1){if(q>100)v.error(`Deserialization of '${P}': ${q} ms`);else if(q>20)v.warn(`Deserialization of '${P}': ${q} ms`);else if(q>5)v.info(`Deserialization of '${P}': ${q} ms`);else if(q>2)v.log(`Deserialization of '${P}': ${q} ms`);else v.debug(`Deserialization of '${P}': ${q} ms`)}E.set(P,L);P=k()}this.map=E}else{const v=new Map;let E=k();while(E!==null){v.set(E,k());E=k()}this.map=v}}}ae(PackContentItems,"webpack/lib/cache/PackFileCacheStrategy","PackContentItems");class PackContent{constructor(k,v,E,P,R){this.items=k;this.lazy=typeof E==="function"?E:undefined;this.content=typeof E==="function"?undefined:E.map;this.outdated=false;this.used=v;this.logger=P;this.lazyName=R}get(k){this.used.add(k);if(this.content){return this.content.get(k)}const{lazyName:v}=this;let E;if(v){this.lazyName=undefined;E=`restore cache content ${v} (${L(this.getSize())})`;this.logger.log(`starting to restore cache content ${v} (${L(this.getSize())}) because of request to: ${k}`);this.logger.time(E)}const P=this.lazy();if("then"in P){return P.then((v=>{const P=v.map;if(E){this.logger.timeEnd(E)}this.content=P;this.lazy=N.unMemoizeLazy(this.lazy);return P.get(k)}))}else{const v=P.map;if(E){this.logger.timeEnd(E)}this.content=v;this.lazy=N.unMemoizeLazy(this.lazy);return v.get(k)}}unpack(k){if(this.content)return;if(this.lazy){const{lazyName:v}=this;let E;if(v){this.lazyName=undefined;E=`unpack cache content ${v} (${L(this.getSize())})`;this.logger.log(`starting to unpack cache content ${v} (${L(this.getSize())}) because ${k}`);this.logger.time(E)}const P=this.lazy();if("then"in P){return P.then((k=>{if(E){this.logger.timeEnd(E)}this.content=k.map}))}else{if(E){this.logger.timeEnd(E)}this.content=P.map}}}getSize(){if(!this.lazy)return-1;const k=this.lazy.options;if(!k)return-1;const v=k.size;if(typeof v!=="number")return-1;return v}delete(k){this.items.delete(k);this.used.delete(k);this.outdated=true}writeLazy(k){if(!this.outdated&&this.lazy){k(this.lazy);return}if(!this.outdated&&this.content){const v=new Map(this.content);this.lazy=N.unMemoizeLazy(k((()=>new PackContentItems(v))));return}if(this.content){const v=new Map;for(const k of this.items){v.set(k,this.content.get(k))}this.outdated=false;this.content=v;this.lazy=N.unMemoizeLazy(k((()=>new PackContentItems(v))));return}const{lazyName:v}=this;let E;if(v){this.lazyName=undefined;E=`unpack cache content ${v} (${L(this.getSize())})`;this.logger.log(`starting to unpack cache content ${v} (${L(this.getSize())}) because it's outdated and need to be serialized`);this.logger.time(E)}const P=this.lazy();this.outdated=false;if("then"in P){this.lazy=k((()=>P.then((k=>{if(E){this.logger.timeEnd(E)}const v=k.map;const P=new Map;for(const k of this.items){P.set(k,v.get(k))}this.content=P;this.lazy=N.unMemoizeLazy(this.lazy);return new PackContentItems(P)}))))}else{if(E){this.logger.timeEnd(E)}const v=P.map;const R=new Map;for(const k of this.items){R.set(k,v.get(k))}this.content=R;this.lazy=k((()=>new PackContentItems(R)))}}}const allowCollectingMemory=k=>{const v=k.buffer.byteLength-k.byteLength;if(v>8192&&(v>1048576||v>k.byteLength)){return Buffer.from(k)}return k};class PackFileCacheStrategy{constructor({compiler:k,fs:v,context:E,cacheLocation:R,version:L,logger:N,snapshot:ae,maxAge:le,profile:me,allowCollectingMemory:ye,compression:_e,readonly:Ie}){this.fileSerializer=pe(v,k.options.output.hashFunction);this.fileSystemInfo=new P(v,{managedPaths:ae.managedPaths,immutablePaths:ae.immutablePaths,logger:N.getChildLogger("webpack.FileSystemInfo"),hashFunction:k.options.output.hashFunction});this.compiler=k;this.context=E;this.cacheLocation=R;this.version=L;this.logger=N;this.maxAge=le;this.profile=me;this.readonly=Ie;this.allowCollectingMemory=ye;this.compression=_e;this._extension=_e==="brotli"?".pack.br":_e==="gzip"?".pack.gz":".pack";this.snapshot=ae;this.buildDependencies=new Set;this.newBuildDependencies=new q;this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=this._openPack();this.storePromise=Promise.resolve()}_getPack(){if(this.packPromise===undefined){this.packPromise=this.storePromise.then((()=>this._openPack()))}return this.packPromise}_openPack(){const{logger:k,profile:v,cacheLocation:E,version:P}=this;let R;let L;let N;let q;let ae;k.time("restore cache container");return this.fileSerializer.deserialize(null,{filename:`${E}/index${this._extension}`,extension:`${this._extension}`,logger:k,profile:v,retainedBuffer:this.allowCollectingMemory?allowCollectingMemory:undefined}).catch((v=>{if(v.code!=="ENOENT"){k.warn(`Restoring pack failed from ${E}${this._extension}: ${v}`);k.debug(v.stack)}else{k.debug(`No pack exists at ${E}${this._extension}: ${v}`)}return undefined})).then((v=>{k.timeEnd("restore cache container");if(!v)return undefined;if(!(v instanceof PackContainer)){k.warn(`Restored pack from ${E}${this._extension}, but contained content is unexpected.`,v);return undefined}if(v.version!==P){k.log(`Restored pack from ${E}${this._extension}, but version doesn't match.`);return undefined}k.time("check build dependencies");return Promise.all([new Promise(((P,L)=>{this.fileSystemInfo.checkSnapshotValid(v.buildSnapshot,((L,N)=>{if(L){k.log(`Restored pack from ${E}${this._extension}, but checking snapshot of build dependencies errored: ${L}.`);k.debug(L.stack);return P(false)}if(!N){k.log(`Restored pack from ${E}${this._extension}, but build dependencies have changed.`);return P(false)}R=v.buildSnapshot;return P(true)}))})),new Promise(((P,R)=>{this.fileSystemInfo.checkSnapshotValid(v.resolveBuildDependenciesSnapshot,((R,le)=>{if(R){k.log(`Restored pack from ${E}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${R}.`);k.debug(R.stack);return P(false)}if(le){q=v.resolveBuildDependenciesSnapshot;L=v.buildDependencies;ae=v.resolveResults;return P(true)}k.log("resolving of build dependencies is invalid, will re-resolve build dependencies");this.fileSystemInfo.checkResolveResultsValid(v.resolveResults,((R,L)=>{if(R){k.log(`Restored pack from ${E}${this._extension}, but resolving of build dependencies errored: ${R}.`);k.debug(R.stack);return P(false)}if(L){N=v.buildDependencies;ae=v.resolveResults;return P(true)}k.log(`Restored pack from ${E}${this._extension}, but build dependencies resolve to different locations.`);return P(false)}))}))}))]).catch((v=>{k.timeEnd("check build dependencies");throw v})).then((([E,P])=>{k.timeEnd("check build dependencies");if(E&&P){k.time("restore cache content metadata");const E=v.data();k.timeEnd("restore cache content metadata");return E}return undefined}))})).then((v=>{if(v){v.maxAge=this.maxAge;this.buildSnapshot=R;if(L)this.buildDependencies=L;if(N)this.newBuildDependencies.addAll(N);this.resolveResults=ae;this.resolveBuildDependenciesSnapshot=q;return v}return new Pack(k,this.maxAge)})).catch((v=>{this.logger.warn(`Restoring pack from ${E}${this._extension} failed: ${v}`);this.logger.debug(v.stack);return new Pack(k,this.maxAge)}))}store(k,v,E){if(this.readonly)return Promise.resolve();return this._getPack().then((P=>{P.set(k,v===null?null:v.toString(),E)}))}restore(k,v){return this._getPack().then((E=>E.get(k,v===null?null:v.toString()))).catch((v=>{if(v&&v.code!=="ENOENT"){this.logger.warn(`Restoring failed for ${k} from pack: ${v}`);this.logger.debug(v.stack)}}))}storeBuildDependencies(k){if(this.readonly)return;this.newBuildDependencies.addAll(k)}afterAllStored(){const k=this.packPromise;if(k===undefined)return Promise.resolve();const v=R.getReporter(this.compiler);return this.storePromise=k.then((k=>{k.stopCapturingRequests();if(!k.invalid)return;this.packPromise=undefined;this.logger.log(`Storing pack...`);let E;const P=new Set;for(const k of this.newBuildDependencies){if(!this.buildDependencies.has(k)){P.add(k)}}if(P.size>0||!this.buildSnapshot){if(v)v(.5,"resolve build dependencies");this.logger.debug(`Capturing build dependencies... (${Array.from(P).join(", ")})`);E=new Promise(((k,E)=>{this.logger.time("resolve build dependencies");this.fileSystemInfo.resolveBuildDependencies(this.context,P,((P,R)=>{this.logger.timeEnd("resolve build dependencies");if(P)return E(P);this.logger.time("snapshot build dependencies");const{files:L,directories:N,missing:q,resolveResults:ae,resolveDependencies:le}=R;if(this.resolveResults){for(const[k,v]of ae){this.resolveResults.set(k,v)}}else{this.resolveResults=ae}if(v){v(.6,"snapshot build dependencies","resolving")}this.fileSystemInfo.createSnapshot(undefined,le.files,le.directories,le.missing,this.snapshot.resolveBuildDependencies,((P,R)=>{if(P){this.logger.timeEnd("snapshot build dependencies");return E(P)}if(!R){this.logger.timeEnd("snapshot build dependencies");return E(new Error("Unable to snapshot resolve dependencies"))}if(this.resolveBuildDependenciesSnapshot){this.resolveBuildDependenciesSnapshot=this.fileSystemInfo.mergeSnapshots(this.resolveBuildDependenciesSnapshot,R)}else{this.resolveBuildDependenciesSnapshot=R}if(v){v(.7,"snapshot build dependencies","modules")}this.fileSystemInfo.createSnapshot(undefined,L,N,q,this.snapshot.buildDependencies,((v,P)=>{this.logger.timeEnd("snapshot build dependencies");if(v)return E(v);if(!P){return E(new Error("Unable to snapshot build dependencies"))}this.logger.debug("Captured build dependencies");if(this.buildSnapshot){this.buildSnapshot=this.fileSystemInfo.mergeSnapshots(this.buildSnapshot,P)}else{this.buildSnapshot=P}k()}))}))}))}))}else{E=Promise.resolve()}return E.then((()=>{if(v)v(.8,"serialize pack");this.logger.time(`store pack`);const E=new Set(this.buildDependencies);for(const k of P){E.add(k)}const R=new PackContainer(k,this.version,this.buildSnapshot,E,this.resolveResults,this.resolveBuildDependenciesSnapshot);return this.fileSerializer.serialize(R,{filename:`${this.cacheLocation}/index${this._extension}`,extension:`${this._extension}`,logger:this.logger,profile:this.profile}).then((()=>{for(const k of P){this.buildDependencies.add(k)}this.newBuildDependencies.clear();this.logger.timeEnd(`store pack`);const v=k.getContentStats();this.logger.log("Stored pack (%d items, %d files, %d MiB)",k.itemInfo.size,v.count,Math.round(v.size/1024/1024))})).catch((k=>{this.logger.timeEnd(`store pack`);this.logger.warn(`Caching failed for pack: ${k}`);this.logger.debug(k.stack)}))}))})).catch((k=>{this.logger.warn(`Caching failed for pack: ${k}`);this.logger.debug(k.stack)}))}clear(){this.fileSystemInfo.clear();this.buildDependencies.clear();this.newBuildDependencies.clear();this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=undefined}}k.exports=PackFileCacheStrategy},6247:function(k,v,E){"use strict";const P=E(12359);const R=E(58528);class CacheEntry{constructor(k,v){this.result=k;this.snapshot=v}serialize({write:k}){k(this.result);k(this.snapshot)}deserialize({read:k}){this.result=k();this.snapshot=k()}}R(CacheEntry,"webpack/lib/cache/ResolverCachePlugin");const addAllToSet=(k,v)=>{if(k instanceof P){k.addAll(v)}else{for(const E of v){k.add(E)}}};const objectToString=(k,v)=>{let E="";for(const P in k){if(v&&P==="context")continue;const R=k[P];if(typeof R==="object"&&R!==null){E+=`|${P}=[${objectToString(R,false)}|]`}else{E+=`|${P}=|${R}`}}return E};class ResolverCachePlugin{apply(k){const v=k.getCache("ResolverCachePlugin");let E;let R;let L=0;let N=0;let q=0;let ae=0;k.hooks.thisCompilation.tap("ResolverCachePlugin",(k=>{R=k.options.snapshot.resolve;E=k.fileSystemInfo;k.hooks.finishModules.tap("ResolverCachePlugin",(()=>{if(L+N>0){const v=k.getLogger("webpack.ResolverCachePlugin");v.log(`${Math.round(100*L/(L+N))}% really resolved (${L} real resolves with ${q} cached but invalid, ${N} cached valid, ${ae} concurrent)`);L=0;N=0;q=0;ae=0}}))}));const doRealResolve=(k,v,N,q,ae)=>{L++;const le={_ResolverCachePluginCacheMiss:true,...q};const pe={...N,stack:new Set,missingDependencies:new P,fileDependencies:new P,contextDependencies:new P};let me;let ye=false;if(typeof pe.yield==="function"){me=[];ye=true;pe.yield=k=>me.push(k)}const propagate=k=>{if(N[k]){addAllToSet(N[k],pe[k])}};const _e=Date.now();v.doResolve(v.hooks.resolve,le,"Cache miss",pe,((v,P)=>{propagate("fileDependencies");propagate("contextDependencies");propagate("missingDependencies");if(v)return ae(v);const L=pe.fileDependencies;const N=pe.contextDependencies;const q=pe.missingDependencies;E.createSnapshot(_e,L,N,q,R,((v,E)=>{if(v)return ae(v);const R=ye?me:P;if(ye&&P)me.push(P);if(!E){if(R)return ae(null,R);return ae()}k.store(new CacheEntry(R,E),(k=>{if(k)return ae(k);if(R)return ae(null,R);ae()}))}))}))};k.resolverFactory.hooks.resolver.intercept({factory(k,P){const R=new Map;const L=new Map;P.tap("ResolverCachePlugin",((P,ae,le)=>{if(ae.cache!==true)return;const pe=objectToString(le,false);const me=ae.cacheWithContext!==undefined?ae.cacheWithContext:false;P.hooks.resolve.tapAsync({name:"ResolverCachePlugin",stage:-100},((ae,le,ye)=>{if(ae._ResolverCachePluginCacheMiss||!E){return ye()}const _e=typeof le.yield==="function";const Ie=`${k}${_e?"|yield":"|default"}${pe}${objectToString(ae,!me)}`;if(_e){const k=L.get(Ie);if(k){k[0].push(ye);k[1].push(le.yield);return}}else{const k=R.get(Ie);if(k){k.push(ye);return}}const Me=v.getItemCache(Ie,null);let Te,je;const Ne=_e?(k,v)=>{if(Te===undefined){if(k){ye(k)}else{if(v)for(const k of v)le.yield(k);ye(null,null)}je=undefined;Te=false}else{if(k){for(const v of Te)v(k)}else{for(let k=0;k{if(Te===undefined){ye(k,v);Te=false}else{for(const E of Te){E(k,v)}R.delete(Ie);Te=false}};const processCacheResult=(k,v)=>{if(k)return Ne(k);if(v){const{snapshot:k,result:R}=v;E.checkSnapshotValid(k,((v,E)=>{if(v||!E){q++;return doRealResolve(Me,P,le,ae,Ne)}N++;if(le.missingDependencies){addAllToSet(le.missingDependencies,k.getMissingIterable())}if(le.fileDependencies){addAllToSet(le.fileDependencies,k.getFileIterable())}if(le.contextDependencies){addAllToSet(le.contextDependencies,k.getContextIterable())}Ne(null,R)}))}else{doRealResolve(Me,P,le,ae,Ne)}};Me.get(processCacheResult);if(_e&&Te===undefined){Te=[ye];je=[le.yield];L.set(Ie,[Te,je])}else if(Te===undefined){Te=[ye];R.set(Ie,Te)}}))}));return P}})}}k.exports=ResolverCachePlugin},76222:function(k,v,E){"use strict";const P=E(74012);class LazyHashedEtag{constructor(k,v="md4"){this._obj=k;this._hash=undefined;this._hashFunction=v}toString(){if(this._hash===undefined){const k=P(this._hashFunction);this._obj.updateHash(k);this._hash=k.digest("base64")}return this._hash}}const R=new Map;const L=new WeakMap;const getter=(k,v="md4")=>{let E;if(typeof v==="string"){E=R.get(v);if(E===undefined){const P=new LazyHashedEtag(k,v);E=new WeakMap;E.set(k,P);R.set(v,E);return P}}else{E=L.get(v);if(E===undefined){const P=new LazyHashedEtag(k,v);E=new WeakMap;E.set(k,P);L.set(v,E);return P}}const P=E.get(k);if(P!==undefined)return P;const N=new LazyHashedEtag(k,v);E.set(k,N);return N};k.exports=getter},87045:function(k){"use strict";class MergedEtag{constructor(k,v){this.a=k;this.b=v}toString(){return`${this.a.toString()}|${this.b.toString()}`}}const v=new WeakMap;const E=new WeakMap;const mergeEtags=(k,P)=>{if(typeof k==="string"){if(typeof P==="string"){return`${k}|${P}`}else{const v=P;P=k;k=v}}else{if(typeof P!=="string"){let E=v.get(k);if(E===undefined){v.set(k,E=new WeakMap)}const R=E.get(P);if(R===undefined){const v=new MergedEtag(k,P);E.set(P,v);return v}else{return R}}}let R=E.get(k);if(R===undefined){E.set(k,R=new Map)}const L=R.get(P);if(L===undefined){const v=new MergedEtag(k,P);R.set(P,v);return v}else{return L}};k.exports=mergeEtags},20069:function(k,v,E){"use strict";const P=E(71017);const R=E(98625);const getArguments=(k=R)=>{const v={};const pathToArgumentName=k=>k.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 getSchemaPart=v=>{const E=v.split("/");let P=k;for(let k=1;k{for(const{schema:v}of k){if(v.cli){if(v.cli.helper)continue;if(v.cli.description)return v.cli.description}if(v.description)return v.description}};const getNegatedDescription=k=>{for(const{schema:v}of k){if(v.cli){if(v.cli.helper)continue;if(v.cli.negatedDescription)return v.cli.negatedDescription}}};const getResetDescription=k=>{for(const{schema:v}of k){if(v.cli){if(v.cli.helper)continue;if(v.cli.resetDescription)return v.cli.resetDescription}}};const schemaToArgumentConfig=k=>{if(k.enum){return{type:"enum",values:k.enum}}switch(k.type){case"number":return{type:"number"};case"string":return{type:k.absolutePath?"path":"string"};case"boolean":return{type:"boolean"}}if(k.instanceof==="RegExp"){return{type:"RegExp"}}return undefined};const addResetFlag=k=>{const E=k[0].path;const P=pathToArgumentName(`${E}.reset`);const R=getResetDescription(k)||`Clear all items provided in '${E}' configuration. ${getDescription(k)}`;v[P]={configs:[{type:"reset",multiple:false,description:R,path:E}],description:undefined,simpleType:undefined,multiple:undefined}};const addFlag=(k,E)=>{const P=schemaToArgumentConfig(k[0].schema);if(!P)return 0;const R=getNegatedDescription(k);const L=pathToArgumentName(k[0].path);const N={...P,multiple:E,description:getDescription(k),path:k[0].path};if(R){N.negatedDescription=R}if(!v[L]){v[L]={configs:[],description:undefined,simpleType:undefined,multiple:undefined}}if(v[L].configs.some((k=>JSON.stringify(k)===JSON.stringify(N)))){return 0}if(v[L].configs.some((k=>k.type===N.type&&k.multiple!==E))){if(E){throw new Error(`Conflicting schema for ${k[0].path} with ${N.type} type (array type must be before single item type)`)}return 0}v[L].configs.push(N);return 1};const traverse=(k,v="",E=[],P=null)=>{while(k.$ref){k=getSchemaPart(k.$ref)}const R=E.filter((({schema:v})=>v===k));if(R.length>=2||R.some((({path:k})=>k===v))){return 0}if(k.cli&&k.cli.exclude)return 0;const L=[{schema:k,path:v},...E];let N=0;N+=addFlag(L,!!P);if(k.type==="object"){if(k.properties){for(const E of Object.keys(k.properties)){N+=traverse(k.properties[E],v?`${v}.${E}`:E,L,P)}}return N}if(k.type==="array"){if(P){return 0}if(Array.isArray(k.items)){let E=0;for(const P of k.items){N+=traverse(P,`${v}.${E}`,L,v)}return N}N+=traverse(k.items,`${v}[]`,L,v);if(N>0){addResetFlag(L);N++}return N}const q=k.oneOf||k.anyOf||k.allOf;if(q){const k=q;for(let E=0;E{if(!k)return v;if(!v)return k;if(k.includes(v))return k;return`${k} ${v}`}),undefined);E.simpleType=E.configs.reduce(((k,v)=>{let E="string";switch(v.type){case"number":E="number";break;case"reset":case"boolean":E="boolean";break;case"enum":if(v.values.every((k=>typeof k==="boolean")))E="boolean";if(v.values.every((k=>typeof k==="number")))E="number";break}if(k===undefined)return E;return k===E?k:"string"}),undefined);E.multiple=E.configs.some((k=>k.multiple))}return v};const L=new WeakMap;const getObjectAndProperty=(k,v,E=0)=>{if(!v)return{value:k};const P=v.split(".");let R=P.pop();let N=k;let q=0;for(const k of P){const v=k.endsWith("[]");const R=v?k.slice(0,-2):k;let ae=N[R];if(v){if(ae===undefined){ae={};N[R]=[...Array.from({length:E}),ae];L.set(N[R],E+1)}else if(!Array.isArray(ae)){return{problem:{type:"unexpected-non-array-in-path",path:P.slice(0,q).join(".")}}}else{let k=L.get(ae)||0;while(k<=E){ae.push(undefined);k++}L.set(ae,k);const v=ae.length-k+E;if(ae[v]===undefined){ae[v]={}}else if(ae[v]===null||typeof ae[v]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:P.slice(0,q).join(".")}}}ae=ae[v]}}else{if(ae===undefined){ae=N[R]={}}else if(ae===null||typeof ae!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:P.slice(0,q).join(".")}}}}N=ae;q++}let ae=N[R];if(R.endsWith("[]")){const k=R.slice(0,-2);const P=N[k];if(P===undefined){N[k]=[...Array.from({length:E}),undefined];L.set(N[k],E+1);return{object:N[k],property:E,value:undefined}}else if(!Array.isArray(P)){N[k]=[P,...Array.from({length:E}),undefined];L.set(N[k],E+1);return{object:N[k],property:E+1,value:undefined}}else{let k=L.get(P)||0;while(k<=E){P.push(undefined);k++}L.set(P,k);const R=P.length-k+E;if(P[R]===undefined){P[R]={}}else if(P[R]===null||typeof P[R]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:v}}}return{object:P,property:R,value:P[R]}}}return{object:N,property:R,value:ae}};const setValue=(k,v,E,P)=>{const{problem:R,object:L,property:N}=getObjectAndProperty(k,v,P);if(R)return R;L[N]=E;return null};const processArgumentConfig=(k,v,E,P)=>{if(P!==undefined&&!k.multiple){return{type:"multiple-values-unexpected",path:k.path}}const R=parseValueForArgumentConfig(k,E);if(R===undefined){return{type:"invalid-value",path:k.path,expected:getExpectedValue(k)}}const L=setValue(v,k.path,R,P);if(L)return L;return null};const getExpectedValue=k=>{switch(k.type){default:return k.type;case"boolean":return"true | false";case"RegExp":return"regular expression (example: /ab?c*/)";case"enum":return k.values.map((k=>`${k}`)).join(" | ");case"reset":return"true (will reset the previous value to an empty array)"}};const parseValueForArgumentConfig=(k,v)=>{switch(k.type){case"string":if(typeof v==="string"){return v}break;case"path":if(typeof v==="string"){return P.resolve(v)}break;case"number":if(typeof v==="number")return v;if(typeof v==="string"&&/^[+-]?\d*(\.\d*)[eE]\d+$/){const k=+v;if(!isNaN(k))return k}break;case"boolean":if(typeof v==="boolean")return v;if(v==="true")return true;if(v==="false")return false;break;case"RegExp":if(v instanceof RegExp)return v;if(typeof v==="string"){const k=/^\/(.*)\/([yugi]*)$/.exec(v);if(k&&!/[^\\]\//.test(k[1]))return new RegExp(k[1],k[2])}break;case"enum":if(k.values.includes(v))return v;for(const E of k.values){if(`${E}`===v)return E}break;case"reset":if(v===true)return[];break}};const processArguments=(k,v,E)=>{const P=[];for(const R of Object.keys(E)){const L=k[R];if(!L){P.push({type:"unknown-argument",path:"",argument:R});continue}const processValue=(k,E)=>{const N=[];for(const P of L.configs){const L=processArgumentConfig(P,v,k,E);if(!L){return}N.push({...L,argument:R,value:k,index:E})}P.push(...N)};let N=E[R];if(Array.isArray(N)){for(let k=0;k{if(!k){return{}}if(R.isAbsolute(k)){const[,v,E]=L.exec(k)||[];return{configPath:v,env:E}}const E=P.findConfig(v);if(E&&Object.keys(E).includes(k)){return{env:k}}return{query:k}};const load=(k,v)=>{const{configPath:E,env:R,query:L}=parse(k,v);const N=L?L:E?P.loadConfig({config:E,env:R}):P.loadConfig({path:v,env:R});if(!N)return;return P(N)};const resolve=k=>{const rawChecker=v=>k.every((k=>{const[E,P]=k.split(" ");if(!E)return false;const R=v[E];if(!R)return false;const[L,N]=P==="TP"?[Infinity,Infinity]:P.split(".");if(typeof R==="number"){return+L>=R}return R[0]===+L?+N>=R[1]:+L>R[0]}));const v=k.some((k=>/^node /.test(k)));const E=k.some((k=>/^(?!node)/.test(k)));const P=!E?false:v?null:true;const R=!v?false:E?null:true;const L=rawChecker({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:[12,17]});return{const:rawChecker({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:rawChecker({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:rawChecker({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:rawChecker({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:rawChecker({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:rawChecker({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:[12,17]}),dynamicImport:L,dynamicImportInWorker:L&&!v,globalThis:rawChecker({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}),optionalChaining:rawChecker({chrome:80,and_chr:80,edge:80,firefox:74,and_ff:79,opera:67,op_mob:64,safari:[13,1],ios_saf:[13,4],samsung:13,android:80,node:14}),templateLiteral:rawChecker({chrome:41,and_chr:41,edge:13,firefox:34,and_ff:34,opera:29,op_mob:64,safari:[9,1],ios_saf:9,samsung:4,android:41,and_qq:[10,4],baidu:[7,12],and_uc:[12,12],kaios:[2,5],node:4}),browser:P,electron:false,node:R,nwjs:false,web:P,webworker:false,document:P,fetchWasm:P,global:R,importScripts:false,importScriptsInWorker:true,nodeBuiltins:R,require:R}};k.exports={resolve:resolve,load:load}},25801:function(k,v,E){"use strict";const P=E(57147);const R=E(71017);const{JAVASCRIPT_MODULE_TYPE_AUTO:L,JSON_MODULE_TYPE:N,WEBASSEMBLY_MODULE_TYPE_ASYNC:q,JAVASCRIPT_MODULE_TYPE_ESM:ae,JAVASCRIPT_MODULE_TYPE_DYNAMIC:le,WEBASSEMBLY_MODULE_TYPE_SYNC:pe,ASSET_MODULE_TYPE:me,CSS_MODULE_TYPE:ye}=E(93622);const _e=E(95041);const{cleverMerge:Ie}=E(99454);const{getTargetsProperties:Me,getTargetProperties:Te,getDefaultTarget:je}=E(30391);const Ne=/[\\/]node_modules[\\/]/i;const D=(k,v,E)=>{if(k[v]===undefined){k[v]=E}};const F=(k,v,E)=>{if(k[v]===undefined){k[v]=E()}};const A=(k,v,E)=>{const P=k[v];if(P===undefined){k[v]=E()}else if(Array.isArray(P)){let R=undefined;for(let L=0;L{F(k,"context",(()=>process.cwd()));applyInfrastructureLoggingDefaults(k.infrastructureLogging)};const applyWebpackOptionsDefaults=k=>{F(k,"context",(()=>process.cwd()));F(k,"target",(()=>je(k.context)));const{mode:v,name:P,target:R}=k;let L=R===false?false:typeof R==="string"?Te(R,k.context):Me(R,k.context);const N=v==="development";const q=v==="production"||!v;if(typeof k.entry!=="function"){for(const v of Object.keys(k.entry)){F(k.entry[v],"import",(()=>["./src"]))}}F(k,"devtool",(()=>N?"eval":false));D(k,"watch",false);D(k,"profile",false);D(k,"parallelism",100);D(k,"recordsInputPath",false);D(k,"recordsOutputPath",false);applyExperimentsDefaults(k.experiments,{production:q,development:N,targetProperties:L});const ae=k.experiments.futureDefaults;F(k,"cache",(()=>N?{type:"memory"}:false));applyCacheDefaults(k.cache,{name:P||"default",mode:v||"production",development:N,cacheUnaffected:k.experiments.cacheUnaffected});const le=!!k.cache;applySnapshotDefaults(k.snapshot,{production:q,futureDefaults:ae});applyModuleDefaults(k.module,{cache:le,syncWebAssembly:k.experiments.syncWebAssembly,asyncWebAssembly:k.experiments.asyncWebAssembly,css:k.experiments.css,futureDefaults:ae,isNode:L&&L.node===true});applyOutputDefaults(k.output,{context:k.context,targetProperties:L,isAffectedByBrowserslist:R===undefined||typeof R==="string"&&R.startsWith("browserslist")||Array.isArray(R)&&R.some((k=>k.startsWith("browserslist"))),outputModule:k.experiments.outputModule,development:N,entry:k.entry,module:k.module,futureDefaults:ae});applyExternalsPresetsDefaults(k.externalsPresets,{targetProperties:L,buildHttp:!!k.experiments.buildHttp});applyLoaderDefaults(k.loader,{targetProperties:L,environment:k.output.environment});F(k,"externalsType",(()=>{const v=E(98625).definitions.ExternalsType["enum"];return k.output.library&&v.includes(k.output.library.type)?k.output.library.type:k.output.module?"module":"var"}));applyNodeDefaults(k.node,{futureDefaults:k.experiments.futureDefaults,targetProperties:L});F(k,"performance",(()=>q&&L&&(L.browser||L.browser===null)?{}:false));applyPerformanceDefaults(k.performance,{production:q});applyOptimizationDefaults(k.optimization,{development:N,production:q,css:k.experiments.css,records:!!(k.recordsInputPath||k.recordsOutputPath)});k.resolve=Ie(getResolveDefaults({cache:le,context:k.context,targetProperties:L,mode:k.mode}),k.resolve);k.resolveLoader=Ie(getResolveLoaderDefaults({cache:le}),k.resolveLoader)};const applyExperimentsDefaults=(k,{production:v,development:E,targetProperties:P})=>{D(k,"futureDefaults",false);D(k,"backCompat",!k.futureDefaults);D(k,"syncWebAssembly",false);D(k,"asyncWebAssembly",k.futureDefaults);D(k,"outputModule",false);D(k,"layers",false);D(k,"lazyCompilation",undefined);D(k,"buildHttp",undefined);D(k,"cacheUnaffected",k.futureDefaults);F(k,"css",(()=>k.futureDefaults?{}:undefined));let R=true;if(typeof k.topLevelAwait==="boolean"){R=k.topLevelAwait}D(k,"topLevelAwait",R);if(typeof k.buildHttp==="object"){D(k.buildHttp,"frozen",v);D(k.buildHttp,"upgrade",false)}if(typeof k.css==="object"){D(k.css,"exportsOnly",!P||!P.document)}};const applyCacheDefaults=(k,{name:v,mode:E,development:L,cacheUnaffected:N})=>{if(k===false)return;switch(k.type){case"filesystem":F(k,"name",(()=>v+"-"+E));D(k,"version","");F(k,"cacheDirectory",(()=>{const k=process.cwd();let v=k;for(;;){try{if(P.statSync(R.join(v,"package.json")).isFile())break}catch(k){}const k=R.dirname(v);if(v===k){v=undefined;break}v=k}if(!v){return R.resolve(k,".cache/webpack")}else if(process.versions.pnp==="1"){return R.resolve(v,".pnp/.cache/webpack")}else if(process.versions.pnp==="3"){return R.resolve(v,".yarn/.cache/webpack")}else{return R.resolve(v,"node_modules/.cache/webpack")}}));F(k,"cacheLocation",(()=>R.resolve(k.cacheDirectory,k.name)));D(k,"hashAlgorithm","md4");D(k,"store","pack");D(k,"compression",false);D(k,"profile",false);D(k,"idleTimeout",6e4);D(k,"idleTimeoutForInitialStore",5e3);D(k,"idleTimeoutAfterLargeChanges",1e3);D(k,"maxMemoryGenerations",L?5:Infinity);D(k,"maxAge",1e3*60*60*24*60);D(k,"allowCollectingMemory",L);D(k,"memoryCacheUnaffected",L&&N);D(k,"readonly",false);D(k.buildDependencies,"defaultWebpack",[R.resolve(__dirname,"..")+R.sep]);break;case"memory":D(k,"maxGenerations",Infinity);D(k,"cacheUnaffected",L&&N);break}};const applySnapshotDefaults=(k,{production:v,futureDefaults:E})=>{if(E){F(k,"managedPaths",(()=>process.versions.pnp==="3"?[/^(.+?(?:[\\/]\.yarn[\\/]unplugged[\\/][^\\/]+)?[\\/]node_modules[\\/])/]:[/^(.+?[\\/]node_modules[\\/])/]));F(k,"immutablePaths",(()=>process.versions.pnp==="3"?[/^(.+?[\\/]cache[\\/][^\\/]+\.zip[\\/]node_modules[\\/])/]:[]))}else{A(k,"managedPaths",(()=>{if(process.versions.pnp==="3"){const k=/^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(28978);if(k){return[R.resolve(k[1],"unplugged")]}}else{const k=/^(.+?[\\/]node_modules[\\/])/.exec(28978);if(k){return[k[1]]}}return[]}));A(k,"immutablePaths",(()=>{if(process.versions.pnp==="1"){const k=/^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec(28978);if(k){return[k[1]]}}else if(process.versions.pnp==="3"){const k=/^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(28978);if(k){return[k[1]]}}return[]}))}F(k,"resolveBuildDependencies",(()=>({timestamp:true,hash:true})));F(k,"buildDependencies",(()=>({timestamp:true,hash:true})));F(k,"module",(()=>v?{timestamp:true,hash:true}:{timestamp:true}));F(k,"resolve",(()=>v?{timestamp:true,hash:true}:{timestamp:true}))};const applyJavascriptParserOptionsDefaults=(k,{futureDefaults:v,isNode:E})=>{D(k,"unknownContextRequest",".");D(k,"unknownContextRegExp",false);D(k,"unknownContextRecursive",true);D(k,"unknownContextCritical",true);D(k,"exprContextRequest",".");D(k,"exprContextRegExp",false);D(k,"exprContextRecursive",true);D(k,"exprContextCritical",true);D(k,"wrappedContextRegExp",/.*/);D(k,"wrappedContextRecursive",true);D(k,"wrappedContextCritical",false);D(k,"strictThisContextOnImports",false);D(k,"importMeta",true);D(k,"dynamicImportMode","lazy");D(k,"dynamicImportPrefetch",false);D(k,"dynamicImportPreload",false);D(k,"createRequire",E);if(v)D(k,"exportsPresence","error")};const applyModuleDefaults=(k,{cache:v,syncWebAssembly:E,asyncWebAssembly:P,css:R,futureDefaults:_e,isNode:Ie})=>{if(v){D(k,"unsafeCache",(k=>{const v=k.nameForCondition();return v&&Ne.test(v)}))}else{D(k,"unsafeCache",false)}F(k.parser,me,(()=>({})));F(k.parser.asset,"dataUrlCondition",(()=>({})));if(typeof k.parser.asset.dataUrlCondition==="object"){D(k.parser.asset.dataUrlCondition,"maxSize",8096)}F(k.parser,"javascript",(()=>({})));applyJavascriptParserOptionsDefaults(k.parser.javascript,{futureDefaults:_e,isNode:Ie});A(k,"defaultRules",(()=>{const k={type:ae,resolve:{byDependency:{esm:{fullySpecified:true}}}};const v={type:le};const me=[{mimetype:"application/node",type:L},{test:/\.json$/i,type:N},{mimetype:"application/json",type:N},{test:/\.mjs$/i,...k},{test:/\.js$/i,descriptionData:{type:"module"},...k},{test:/\.cjs$/i,...v},{test:/\.js$/i,descriptionData:{type:"commonjs"},...v},{mimetype:{or:["text/javascript","application/javascript"]},...k}];if(P){const k={type:q,rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};me.push({test:/\.wasm$/i,...k});me.push({mimetype:"application/wasm",...k})}else if(E){const k={type:pe,rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};me.push({test:/\.wasm$/i,...k});me.push({mimetype:"application/wasm",...k})}if(R){const k={type:ye,resolve:{fullySpecified:true,preferRelative:true}};const v={type:"css/module",resolve:{fullySpecified:true}};me.push({test:/\.css$/i,oneOf:[{test:/\.module\.css$/i,...v},{...k}]});me.push({mimetype:"text/css+module",...v});me.push({mimetype:"text/css",...k})}me.push({dependency:"url",oneOf:[{scheme:/^data$/,type:"asset/inline"},{type:"asset/resource"}]},{assert:{type:"json"},type:N});return me}))};const applyOutputDefaults=(k,{context:v,targetProperties:E,isAffectedByBrowserslist:L,outputModule:N,development:q,entry:ae,module:le,futureDefaults:pe})=>{const getLibraryName=k=>{const v=typeof k==="object"&&k&&!Array.isArray(k)&&"type"in k?k.name:k;if(Array.isArray(v)){return v.join(".")}else if(typeof v==="object"){return getLibraryName(v.root)}else if(typeof v==="string"){return v}return""};F(k,"uniqueName",(()=>{const E=getLibraryName(k.library).replace(/^\[(\\*[\w:]+\\*)\](\.)|(\.)\[(\\*[\w:]+\\*)\](?=\.|$)|\[(\\*[\w:]+\\*)\]/g,((k,v,E,P,R,L)=>{const N=v||R||L;return N.startsWith("\\")&&N.endsWith("\\")?`${P||""}[${N.slice(1,-1)}]${E||""}`:""}));if(E)return E;const L=R.resolve(v,"package.json");try{const k=JSON.parse(P.readFileSync(L,"utf-8"));return k.name||""}catch(k){if(k.code!=="ENOENT"){k.message+=`\nwhile determining default 'output.uniqueName' from 'name' in ${L}`;throw k}return""}}));F(k,"module",(()=>!!N));D(k,"filename",k.module?"[name].mjs":"[name].js");F(k,"iife",(()=>!k.module));D(k,"importFunctionName","import");D(k,"importMetaName","import.meta");F(k,"chunkFilename",(()=>{const v=k.filename;if(typeof v!=="function"){const k=v.includes("[name]");const E=v.includes("[id]");const P=v.includes("[chunkhash]");const R=v.includes("[contenthash]");if(P||R||k||E)return v;return v.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return k.module?"[id].mjs":"[id].js"}));F(k,"cssFilename",(()=>{const v=k.filename;if(typeof v!=="function"){return v.replace(/\.[mc]?js(\?|$)/,".css$1")}return"[id].css"}));F(k,"cssChunkFilename",(()=>{const v=k.chunkFilename;if(typeof v!=="function"){return v.replace(/\.[mc]?js(\?|$)/,".css$1")}return"[id].css"}));D(k,"assetModuleFilename","[hash][ext][query]");D(k,"webassemblyModuleFilename","[hash].module.wasm");D(k,"compareBeforeEmit",true);D(k,"charset",true);F(k,"hotUpdateGlobal",(()=>_e.toIdentifier("webpackHotUpdate"+_e.toIdentifier(k.uniqueName))));F(k,"chunkLoadingGlobal",(()=>_e.toIdentifier("webpackChunk"+_e.toIdentifier(k.uniqueName))));F(k,"globalObject",(()=>{if(E){if(E.global)return"global";if(E.globalThis)return"globalThis"}return"self"}));F(k,"chunkFormat",(()=>{if(E){const v=L?"Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly.":"Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly.";if(k.module){if(E.dynamicImport)return"module";if(E.document)return"array-push";throw new Error("For the selected environment is no default ESM chunk format available:\n"+"ESM exports can be chosen when 'import()' is available.\n"+"JSONP Array push can be chosen when 'document' is available.\n"+v)}else{if(E.document)return"array-push";if(E.require)return"commonjs";if(E.nodeBuiltins)return"commonjs";if(E.importScripts)return"array-push";throw new Error("For the selected environment is no default script chunk format available:\n"+"JSONP Array push can be chosen when 'document' or 'importScripts' is available.\n"+"CommonJs exports can be chosen when 'require' or node builtins are available.\n"+v)}}throw new Error("Chunk format can't be selected by default when no target is specified")}));D(k,"asyncChunks",true);F(k,"chunkLoading",(()=>{if(E){switch(k.chunkFormat){case"array-push":if(E.document)return"jsonp";if(E.importScripts)return"import-scripts";break;case"commonjs":if(E.require)return"require";if(E.nodeBuiltins)return"async-node";break;case"module":if(E.dynamicImport)return"import";break}if(E.require===null||E.nodeBuiltins===null||E.document===null||E.importScripts===null){return"universal"}}return false}));F(k,"workerChunkLoading",(()=>{if(E){switch(k.chunkFormat){case"array-push":if(E.importScriptsInWorker)return"import-scripts";break;case"commonjs":if(E.require)return"require";if(E.nodeBuiltins)return"async-node";break;case"module":if(E.dynamicImportInWorker)return"import";break}if(E.require===null||E.nodeBuiltins===null||E.importScriptsInWorker===null){return"universal"}}return false}));F(k,"wasmLoading",(()=>{if(E){if(E.fetchWasm)return"fetch";if(E.nodeBuiltins)return k.module?"async-node-module":"async-node";if(E.nodeBuiltins===null||E.fetchWasm===null){return"universal"}}return false}));F(k,"workerWasmLoading",(()=>k.wasmLoading));F(k,"devtoolNamespace",(()=>k.uniqueName));if(k.library){F(k.library,"type",(()=>k.module?"module":"var"))}F(k,"path",(()=>R.join(process.cwd(),"dist")));F(k,"pathinfo",(()=>q));D(k,"sourceMapFilename","[file].map[query]");D(k,"hotUpdateChunkFilename",`[id].[fullhash].hot-update.${k.module?"mjs":"js"}`);D(k,"hotUpdateMainFilename","[runtime].[fullhash].hot-update.json");D(k,"crossOriginLoading",false);F(k,"scriptType",(()=>k.module?"module":false));D(k,"publicPath",E&&(E.document||E.importScripts)||k.scriptType==="module"?"auto":"");D(k,"workerPublicPath","");D(k,"chunkLoadTimeout",12e4);D(k,"hashFunction",pe?"xxhash64":"md4");D(k,"hashDigest","hex");D(k,"hashDigestLength",pe?16:20);D(k,"strictModuleExceptionHandling",false);const me=k.environment;const optimistic=k=>k||k===undefined;const conditionallyOptimistic=(k,v)=>k===undefined&&v||k;F(me,"globalThis",(()=>E&&E.globalThis));F(me,"bigIntLiteral",(()=>E&&E.bigIntLiteral));F(me,"const",(()=>E&&optimistic(E.const)));F(me,"arrowFunction",(()=>E&&optimistic(E.arrowFunction)));F(me,"forOf",(()=>E&&optimistic(E.forOf)));F(me,"destructuring",(()=>E&&optimistic(E.destructuring)));F(me,"optionalChaining",(()=>E&&optimistic(E.optionalChaining)));F(me,"templateLiteral",(()=>E&&optimistic(E.templateLiteral)));F(me,"dynamicImport",(()=>conditionallyOptimistic(E&&E.dynamicImport,k.module)));F(me,"dynamicImportInWorker",(()=>conditionallyOptimistic(E&&E.dynamicImportInWorker,k.module)));F(me,"module",(()=>conditionallyOptimistic(E&&E.module,k.module)));const{trustedTypes:ye}=k;if(ye){F(ye,"policyName",(()=>k.uniqueName.replace(/[^a-zA-Z0-9\-#=_/@.%]+/g,"_")||"webpack"));D(ye,"onPolicyCreationFailure","stop")}const forEachEntry=k=>{for(const v of Object.keys(ae)){k(ae[v])}};A(k,"enabledLibraryTypes",(()=>{const v=[];if(k.library){v.push(k.library.type)}forEachEntry((k=>{if(k.library){v.push(k.library.type)}}));return v}));A(k,"enabledChunkLoadingTypes",(()=>{const v=new Set;if(k.chunkLoading){v.add(k.chunkLoading)}if(k.workerChunkLoading){v.add(k.workerChunkLoading)}forEachEntry((k=>{if(k.chunkLoading){v.add(k.chunkLoading)}}));return Array.from(v)}));A(k,"enabledWasmLoadingTypes",(()=>{const v=new Set;if(k.wasmLoading){v.add(k.wasmLoading)}if(k.workerWasmLoading){v.add(k.workerWasmLoading)}forEachEntry((k=>{if(k.wasmLoading){v.add(k.wasmLoading)}}));return Array.from(v)}))};const applyExternalsPresetsDefaults=(k,{targetProperties:v,buildHttp:E})=>{D(k,"web",!E&&v&&v.web);D(k,"node",v&&v.node);D(k,"nwjs",v&&v.nwjs);D(k,"electron",v&&v.electron);D(k,"electronMain",v&&v.electron&&v.electronMain);D(k,"electronPreload",v&&v.electron&&v.electronPreload);D(k,"electronRenderer",v&&v.electron&&v.electronRenderer)};const applyLoaderDefaults=(k,{targetProperties:v,environment:E})=>{F(k,"target",(()=>{if(v){if(v.electron){if(v.electronMain)return"electron-main";if(v.electronPreload)return"electron-preload";if(v.electronRenderer)return"electron-renderer";return"electron"}if(v.nwjs)return"nwjs";if(v.node)return"node";if(v.web)return"web"}}));D(k,"environment",E)};const applyNodeDefaults=(k,{futureDefaults:v,targetProperties:E})=>{if(k===false)return;F(k,"global",(()=>{if(E&&E.global)return false;return v?"warn":true}));F(k,"__filename",(()=>{if(E&&E.node)return"eval-only";return v?"warn-mock":"mock"}));F(k,"__dirname",(()=>{if(E&&E.node)return"eval-only";return v?"warn-mock":"mock"}))};const applyPerformanceDefaults=(k,{production:v})=>{if(k===false)return;D(k,"maxAssetSize",25e4);D(k,"maxEntrypointSize",25e4);F(k,"hints",(()=>v?"warning":false))};const applyOptimizationDefaults=(k,{production:v,development:P,css:R,records:L})=>{D(k,"removeAvailableModules",false);D(k,"removeEmptyChunks",true);D(k,"mergeDuplicateChunks",true);D(k,"flagIncludedChunks",v);F(k,"moduleIds",(()=>{if(v)return"deterministic";if(P)return"named";return"natural"}));F(k,"chunkIds",(()=>{if(v)return"deterministic";if(P)return"named";return"natural"}));F(k,"sideEffects",(()=>v?true:"flag"));D(k,"providedExports",true);D(k,"usedExports",v);D(k,"innerGraph",v);D(k,"mangleExports",v);D(k,"concatenateModules",v);D(k,"runtimeChunk",false);D(k,"emitOnErrors",!v);D(k,"checkWasmTypes",v);D(k,"mangleWasmImports",false);D(k,"portableRecords",L);D(k,"realContentHash",v);D(k,"minimize",v);A(k,"minimizer",(()=>[{apply:k=>{const v=E(55302);new v({terserOptions:{compress:{passes:2}}}).apply(k)}}]));F(k,"nodeEnv",(()=>{if(v)return"production";if(P)return"development";return false}));const{splitChunks:N}=k;if(N){A(N,"defaultSizeTypes",(()=>R?["javascript","css","unknown"]:["javascript","unknown"]));D(N,"hidePathInfo",v);D(N,"chunks","async");D(N,"usedExports",k.usedExports===true);D(N,"minChunks",1);F(N,"minSize",(()=>v?2e4:1e4));F(N,"minRemainingSize",(()=>P?0:undefined));F(N,"enforceSizeThreshold",(()=>v?5e4:3e4));F(N,"maxAsyncRequests",(()=>v?30:Infinity));F(N,"maxInitialRequests",(()=>v?30:Infinity));D(N,"automaticNameDelimiter","-");const E=N.cacheGroups;F(E,"default",(()=>({idHint:"",reuseExistingChunk:true,minChunks:2,priority:-20})));F(E,"defaultVendors",(()=>({idHint:"vendors",reuseExistingChunk:true,test:Ne,priority:-10})))}};const getResolveDefaults=({cache:k,context:v,targetProperties:E,mode:P})=>{const R=["webpack"];R.push(P==="development"?"development":"production");if(E){if(E.webworker)R.push("worker");if(E.node)R.push("node");if(E.web)R.push("browser");if(E.electron)R.push("electron");if(E.nwjs)R.push("nwjs")}const L=[".js",".json",".wasm"];const N=E;const q=N&&N.web&&(!N.node||N.electron&&N.electronRenderer);const cjsDeps=()=>({aliasFields:q?["browser"]:[],mainFields:q?["browser","module","..."]:["module","..."],conditionNames:["require","module","..."],extensions:[...L]});const esmDeps=()=>({aliasFields:q?["browser"]:[],mainFields:q?["browser","module","..."]:["module","..."],conditionNames:["import","module","..."],extensions:[...L]});const ae={cache:k,modules:["node_modules"],conditionNames:R,mainFiles:["index"],extensions:[],aliasFields:[],exportsFields:["exports"],roots:[v],mainFields:["main"],byDependency:{wasm:esmDeps(),esm:esmDeps(),loaderImport:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()}};return ae};const getResolveLoaderDefaults=({cache:k})=>{const v={cache:k,conditionNames:["loader","require","node"],exportsFields:["exports"],mainFields:["loader","main"],extensions:[".js"],mainFiles:["index"]};return v};const applyInfrastructureLoggingDefaults=k=>{F(k,"stream",(()=>process.stderr));const v=k.stream.isTTY&&process.env.TERM!=="dumb";D(k,"level","info");D(k,"debug",false);D(k,"colors",v);D(k,"appendOnly",!v)};v.applyWebpackOptionsBaseDefaults=applyWebpackOptionsBaseDefaults;v.applyWebpackOptionsDefaults=applyWebpackOptionsDefaults},47339:function(k,v,E){"use strict";const P=E(73837);const R=P.deprecate(((k,v)=>{if(v!==undefined&&!k===!v){throw new Error("Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.")}return!k}),"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors","DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS");const nestedConfig=(k,v)=>k===undefined?v({}):v(k);const cloneObject=k=>({...k});const optionalNestedConfig=(k,v)=>k===undefined?undefined:v(k);const nestedArray=(k,v)=>Array.isArray(k)?v(k):v([]);const optionalNestedArray=(k,v)=>Array.isArray(k)?v(k):undefined;const keyedNestedConfig=(k,v,E)=>{const P=k===undefined?{}:Object.keys(k).reduce(((P,R)=>(P[R]=(E&&R in E?E[R]:v)(k[R]),P)),{});if(E){for(const k of Object.keys(E)){if(!(k in P)){P[k]=E[k]({})}}}return P};const getNormalizedWebpackOptions=k=>({amd:k.amd,bail:k.bail,cache:optionalNestedConfig(k.cache,(k=>{if(k===false)return false;if(k===true){return{type:"memory",maxGenerations:undefined}}switch(k.type){case"filesystem":return{type:"filesystem",allowCollectingMemory:k.allowCollectingMemory,maxMemoryGenerations:k.maxMemoryGenerations,maxAge:k.maxAge,profile:k.profile,buildDependencies:cloneObject(k.buildDependencies),cacheDirectory:k.cacheDirectory,cacheLocation:k.cacheLocation,hashAlgorithm:k.hashAlgorithm,compression:k.compression,idleTimeout:k.idleTimeout,idleTimeoutForInitialStore:k.idleTimeoutForInitialStore,idleTimeoutAfterLargeChanges:k.idleTimeoutAfterLargeChanges,name:k.name,store:k.store,version:k.version,readonly:k.readonly};case undefined:case"memory":return{type:"memory",maxGenerations:k.maxGenerations};default:throw new Error(`Not implemented cache.type ${k.type}`)}})),context:k.context,dependencies:k.dependencies,devServer:optionalNestedConfig(k.devServer,(k=>({...k}))),devtool:k.devtool,entry:k.entry===undefined?{main:{}}:typeof k.entry==="function"?(k=>()=>Promise.resolve().then(k).then(getNormalizedEntryStatic))(k.entry):getNormalizedEntryStatic(k.entry),experiments:nestedConfig(k.experiments,(k=>({...k,buildHttp:optionalNestedConfig(k.buildHttp,(k=>Array.isArray(k)?{allowedUris:k}:k)),lazyCompilation:optionalNestedConfig(k.lazyCompilation,(k=>k===true?{}:k)),css:optionalNestedConfig(k.css,(k=>k===true?{}:k))}))),externals:k.externals,externalsPresets:cloneObject(k.externalsPresets),externalsType:k.externalsType,ignoreWarnings:k.ignoreWarnings?k.ignoreWarnings.map((k=>{if(typeof k==="function")return k;const v=k instanceof RegExp?{message:k}:k;return(k,{requestShortener:E})=>{if(!v.message&&!v.module&&!v.file)return false;if(v.message&&!v.message.test(k.message)){return false}if(v.module&&(!k.module||!v.module.test(k.module.readableIdentifier(E)))){return false}if(v.file&&(!k.file||!v.file.test(k.file))){return false}return true}})):undefined,infrastructureLogging:cloneObject(k.infrastructureLogging),loader:cloneObject(k.loader),mode:k.mode,module:nestedConfig(k.module,(k=>({noParse:k.noParse,unsafeCache:k.unsafeCache,parser:keyedNestedConfig(k.parser,cloneObject,{javascript:v=>({unknownContextRequest:k.unknownContextRequest,unknownContextRegExp:k.unknownContextRegExp,unknownContextRecursive:k.unknownContextRecursive,unknownContextCritical:k.unknownContextCritical,exprContextRequest:k.exprContextRequest,exprContextRegExp:k.exprContextRegExp,exprContextRecursive:k.exprContextRecursive,exprContextCritical:k.exprContextCritical,wrappedContextRegExp:k.wrappedContextRegExp,wrappedContextRecursive:k.wrappedContextRecursive,wrappedContextCritical:k.wrappedContextCritical,strictExportPresence:k.strictExportPresence,strictThisContextOnImports:k.strictThisContextOnImports,...v})}),generator:cloneObject(k.generator),defaultRules:optionalNestedArray(k.defaultRules,(k=>[...k])),rules:nestedArray(k.rules,(k=>[...k]))}))),name:k.name,node:nestedConfig(k.node,(k=>k&&{...k})),optimization:nestedConfig(k.optimization,(k=>({...k,runtimeChunk:getNormalizedOptimizationRuntimeChunk(k.runtimeChunk),splitChunks:nestedConfig(k.splitChunks,(k=>k&&{...k,defaultSizeTypes:k.defaultSizeTypes?[...k.defaultSizeTypes]:["..."],cacheGroups:cloneObject(k.cacheGroups)})),emitOnErrors:k.noEmitOnErrors!==undefined?R(k.noEmitOnErrors,k.emitOnErrors):k.emitOnErrors}))),output:nestedConfig(k.output,(k=>{const{library:v}=k;const E=v;const P=typeof v==="object"&&v&&!Array.isArray(v)&&"type"in v?v:E||k.libraryTarget?{name:E}:undefined;const R={assetModuleFilename:k.assetModuleFilename,asyncChunks:k.asyncChunks,charset:k.charset,chunkFilename:k.chunkFilename,chunkFormat:k.chunkFormat,chunkLoading:k.chunkLoading,chunkLoadingGlobal:k.chunkLoadingGlobal,chunkLoadTimeout:k.chunkLoadTimeout,cssFilename:k.cssFilename,cssChunkFilename:k.cssChunkFilename,clean:k.clean,compareBeforeEmit:k.compareBeforeEmit,crossOriginLoading:k.crossOriginLoading,devtoolFallbackModuleFilenameTemplate:k.devtoolFallbackModuleFilenameTemplate,devtoolModuleFilenameTemplate:k.devtoolModuleFilenameTemplate,devtoolNamespace:k.devtoolNamespace,environment:cloneObject(k.environment),enabledChunkLoadingTypes:k.enabledChunkLoadingTypes?[...k.enabledChunkLoadingTypes]:["..."],enabledLibraryTypes:k.enabledLibraryTypes?[...k.enabledLibraryTypes]:["..."],enabledWasmLoadingTypes:k.enabledWasmLoadingTypes?[...k.enabledWasmLoadingTypes]:["..."],filename:k.filename,globalObject:k.globalObject,hashDigest:k.hashDigest,hashDigestLength:k.hashDigestLength,hashFunction:k.hashFunction,hashSalt:k.hashSalt,hotUpdateChunkFilename:k.hotUpdateChunkFilename,hotUpdateGlobal:k.hotUpdateGlobal,hotUpdateMainFilename:k.hotUpdateMainFilename,ignoreBrowserWarnings:k.ignoreBrowserWarnings,iife:k.iife,importFunctionName:k.importFunctionName,importMetaName:k.importMetaName,scriptType:k.scriptType,library:P&&{type:k.libraryTarget!==undefined?k.libraryTarget:P.type,auxiliaryComment:k.auxiliaryComment!==undefined?k.auxiliaryComment:P.auxiliaryComment,amdContainer:k.amdContainer!==undefined?k.amdContainer:P.amdContainer,export:k.libraryExport!==undefined?k.libraryExport:P.export,name:P.name,umdNamedDefine:k.umdNamedDefine!==undefined?k.umdNamedDefine:P.umdNamedDefine},module:k.module,path:k.path,pathinfo:k.pathinfo,publicPath:k.publicPath,sourceMapFilename:k.sourceMapFilename,sourcePrefix:k.sourcePrefix,strictModuleExceptionHandling:k.strictModuleExceptionHandling,trustedTypes:optionalNestedConfig(k.trustedTypes,(k=>{if(k===true)return{};if(typeof k==="string")return{policyName:k};return{...k}})),uniqueName:k.uniqueName,wasmLoading:k.wasmLoading,webassemblyModuleFilename:k.webassemblyModuleFilename,workerPublicPath:k.workerPublicPath,workerChunkLoading:k.workerChunkLoading,workerWasmLoading:k.workerWasmLoading};return R})),parallelism:k.parallelism,performance:optionalNestedConfig(k.performance,(k=>{if(k===false)return false;return{...k}})),plugins:nestedArray(k.plugins,(k=>[...k])),profile:k.profile,recordsInputPath:k.recordsInputPath!==undefined?k.recordsInputPath:k.recordsPath,recordsOutputPath:k.recordsOutputPath!==undefined?k.recordsOutputPath:k.recordsPath,resolve:nestedConfig(k.resolve,(k=>({...k,byDependency:keyedNestedConfig(k.byDependency,cloneObject)}))),resolveLoader:cloneObject(k.resolveLoader),snapshot:nestedConfig(k.snapshot,(k=>({resolveBuildDependencies:optionalNestedConfig(k.resolveBuildDependencies,(k=>({timestamp:k.timestamp,hash:k.hash}))),buildDependencies:optionalNestedConfig(k.buildDependencies,(k=>({timestamp:k.timestamp,hash:k.hash}))),resolve:optionalNestedConfig(k.resolve,(k=>({timestamp:k.timestamp,hash:k.hash}))),module:optionalNestedConfig(k.module,(k=>({timestamp:k.timestamp,hash:k.hash}))),immutablePaths:optionalNestedArray(k.immutablePaths,(k=>[...k])),managedPaths:optionalNestedArray(k.managedPaths,(k=>[...k]))}))),stats:nestedConfig(k.stats,(k=>{if(k===false){return{preset:"none"}}if(k===true){return{preset:"normal"}}if(typeof k==="string"){return{preset:k}}return{...k}})),target:k.target,watch:k.watch,watchOptions:cloneObject(k.watchOptions)});const getNormalizedEntryStatic=k=>{if(typeof k==="string"){return{main:{import:[k]}}}if(Array.isArray(k)){return{main:{import:k}}}const v={};for(const E of Object.keys(k)){const P=k[E];if(typeof P==="string"){v[E]={import:[P]}}else if(Array.isArray(P)){v[E]={import:P}}else{v[E]={import:P.import&&(Array.isArray(P.import)?P.import:[P.import]),filename:P.filename,layer:P.layer,runtime:P.runtime,baseUri:P.baseUri,publicPath:P.publicPath,chunkLoading:P.chunkLoading,asyncChunks:P.asyncChunks,wasmLoading:P.wasmLoading,dependOn:P.dependOn&&(Array.isArray(P.dependOn)?P.dependOn:[P.dependOn]),library:P.library}}}return v};const getNormalizedOptimizationRuntimeChunk=k=>{if(k===undefined)return undefined;if(k===false)return false;if(k==="single"){return{name:()=>"runtime"}}if(k===true||k==="multiple"){return{name:k=>`runtime~${k.name}`}}const{name:v}=k;return{name:typeof v==="function"?v:()=>v}};v.getNormalizedWebpackOptions=getNormalizedWebpackOptions},30391:function(k,v,E){"use strict";const P=E(20631);const R=P((()=>E(6305)));const getDefaultTarget=k=>{const v=R().load(null,k);return v?"browserslist":"web"};const versionDependent=(k,v)=>{if(!k){return()=>undefined}const E=+k;const P=v?+v:0;return(k,v=0)=>E>k||E===k&&P>=v};const L=[["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(?::(.+))?$/,(k,v)=>{const E=R();const P=E.load(k?k.trim():null,v);if(!P){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 E.resolve(P)}],["web","Web browser.",/^web$/,()=>({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$/,()=>({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+))?)?$/,(k,v,E)=>{const P=versionDependent(v,E);return{node:true,electron:false,nwjs:false,web:false,webworker:false,browser:false,require:!k,nodeBuiltins:true,global:true,document:false,fetchWasm:false,importScripts:false,importScriptsInWorker:false,globalThis:P(12),const:P(6),templateLiteral:P(4),optionalChaining:P(14),arrowFunction:P(6),forOf:P(5),destructuring:P(6),bigIntLiteral:P(10,4),dynamicImport:P(12,17),dynamicImportInWorker:v?false:undefined,module:P(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)$/,(k,v,E)=>{const P=versionDependent(k,v);return{node:true,electron:true,web:E!=="main",webworker:false,browser:false,nwjs:false,electronMain:E==="main",electronPreload:E==="preload",electronRenderer:E==="renderer",global:true,nodeBuiltins:true,require:true,document:E==="renderer",fetchWasm:E==="renderer",importScripts:false,importScriptsInWorker:true,globalThis:P(5),const:P(1,1),templateLiteral:P(1,1),optionalChaining:P(8),arrowFunction:P(1,1),forOf:P(0,36),destructuring:P(1,1),bigIntLiteral:P(4),dynamicImport:P(11),dynamicImportInWorker:k?false:undefined,module:P(11)}}],["nwjs[X[.Y]] / node-webkit[X[.Y]]","NW.js in version X.Y.",/^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/,(k,v)=>{const E=versionDependent(k,v);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:E(0,43),const:E(0,15),templateLiteral:E(0,13),optionalChaining:E(0,44),arrowFunction:E(0,15),forOf:E(0,13),destructuring:E(0,15),bigIntLiteral:E(0,32),dynamicImport:E(0,43),dynamicImportInWorker:k?false:undefined,module:E(0,43)}}],["esX","EcmaScript in this version. Examples: es2020, es5.",/^es(\d+)$/,k=>{let v=+k;if(v<1e3)v=v+2009;return{const:v>=2015,templateLiteral:v>=2015,optionalChaining:v>=2020,arrowFunction:v>=2015,forOf:v>=2015,destructuring:v>=2015,module:v>=2015,globalThis:v>=2020,bigIntLiteral:v>=2020,dynamicImport:v>=2020,dynamicImportInWorker:v>=2020}}]];const getTargetProperties=(k,v)=>{for(const[,,E,P]of L){const R=E.exec(k);if(R){const[,...k]=R;const E=P(...k,v);if(E)return E}}throw new Error(`Unknown target '${k}'. The following targets are supported:\n${L.map((([k,v])=>`* ${k}: ${v}`)).join("\n")}`)};const mergeTargetProperties=k=>{const v=new Set;for(const E of k){for(const k of Object.keys(E)){v.add(k)}}const E={};for(const P of v){let v=false;let R=false;for(const E of k){const k=E[P];switch(k){case true:v=true;break;case false:R=true;break}}if(v||R)E[P]=R&&v?null:v?true:false}return E};const getTargetsProperties=(k,v)=>mergeTargetProperties(k.map((k=>getTargetProperties(k,v))));v.getDefaultTarget=getDefaultTarget;v.getTargetProperties=getTargetProperties;v.getTargetsProperties=getTargetsProperties},22886:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);class ContainerEntryDependency extends P{constructor(k,v,E){super();this.name=k;this.exposes=v;this.shareScope=E}getResourceIdentifier(){return`container-entry-${this.name}`}get type(){return"container entry"}get category(){return"esm"}}R(ContainerEntryDependency,"webpack/lib/container/ContainerEntryDependency");k.exports=ContainerEntryDependency},4268:function(k,v,E){"use strict";const{OriginalSource:P,RawSource:R}=E(51255);const L=E(75081);const N=E(88396);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:q}=E(93622);const ae=E(56727);const le=E(95041);const pe=E(93414);const me=E(58528);const ye=E(85455);const _e=new Set(["javascript"]);class ContainerEntryModule extends N{constructor(k,v,E){super(q,null);this._name=k;this._exposes=v;this._shareScope=E}getSourceTypes(){return _e}identifier(){return`container entry (${this._shareScope}) ${JSON.stringify(this._exposes)}`}readableIdentifier(k){return`container entry`}libIdent(k){return`${this.layer?`(${this.layer})/`:""}webpack/container/entry/${this._name}`}needBuild(k,v){return v(null,!this.buildMeta)}build(k,v,E,P,R){this.buildMeta={};this.buildInfo={strict:true,topLevelDeclarations:new Set(["moduleMap","get","init"])};this.buildMeta.exportsType="namespace";this.clearDependenciesAndBlocks();for(const[k,v]of this._exposes){const E=new L({name:v.name},{name:k},v.import[v.import.length-1]);let P=0;for(const R of v.import){const v=new ye(k,R);v.loc={name:k,index:P++};E.addDependency(v)}this.addBlock(E)}this.addDependency(new pe(["get","init"],false));R()}codeGeneration({moduleGraph:k,chunkGraph:v,runtimeTemplate:E}){const L=new Map;const N=new Set([ae.definePropertyGetters,ae.hasOwnProperty,ae.exports]);const q=[];for(const P of this.blocks){const{dependencies:R}=P;const L=R.map((v=>{const E=v;return{name:E.exposedName,module:k.getModule(E),request:E.userRequest}}));let ae;if(L.some((k=>!k.module))){ae=E.throwMissingModuleErrorBlock({request:L.map((k=>k.request)).join(", ")})}else{ae=`return ${E.blockPromise({block:P,message:"",chunkGraph:v,runtimeRequirements:N})}.then(${E.returningFunction(E.returningFunction(`(${L.map((({module:k,request:P})=>E.moduleRaw({module:k,chunkGraph:v,request:P,weak:false,runtimeRequirements:N}))).join(", ")})`))});`}q.push(`${JSON.stringify(L[0].name)}: ${E.basicFunction("",ae)}`)}const pe=le.asString([`var moduleMap = {`,le.indent(q.join(",\n")),"};",`var get = ${E.basicFunction("module, getScope",[`${ae.currentRemoteGetScope} = getScope;`,"getScope = (",le.indent([`${ae.hasOwnProperty}(moduleMap, module)`,le.indent(["? moduleMap[module]()",`: Promise.resolve().then(${E.basicFunction("","throw new Error('Module \"' + module + '\" does not exist in container.');")})`])]),");",`${ae.currentRemoteGetScope} = undefined;`,"return getScope;"])};`,`var init = ${E.basicFunction("shareScope, initScope",[`if (!${ae.shareScopeMap}) return;`,`var name = ${JSON.stringify(this._shareScope)}`,`var oldScope = ${ae.shareScopeMap}[name];`,`if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`,`${ae.shareScopeMap}[name] = shareScope;`,`return ${ae.initializeSharing}(name, initScope);`])};`,"","// This exports getters to disallow modifications",`${ae.definePropertyGetters}(exports, {`,le.indent([`get: ${E.returningFunction("get")},`,`init: ${E.returningFunction("init")}`]),"});"]);L.set("javascript",this.useSourceMap||this.useSimpleSourceMap?new P(pe,"webpack/container-entry"):new R(pe));return{sources:L,runtimeRequirements:N}}size(k){return 42}serialize(k){const{write:v}=k;v(this._name);v(this._exposes);v(this._shareScope);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new ContainerEntryModule(v(),v(),v());E.deserialize(k);return E}}me(ContainerEntryModule,"webpack/lib/container/ContainerEntryModule");k.exports=ContainerEntryModule},70929:function(k,v,E){"use strict";const P=E(66043);const R=E(4268);k.exports=class ContainerEntryModuleFactory extends P{create({dependencies:[k]},v){const E=k;v(null,{module:new R(E.name,E.exposes,E.shareScope)})}}},85455:function(k,v,E){"use strict";const P=E(77373);const R=E(58528);class ContainerExposedDependency extends P{constructor(k,v){super(v);this.exposedName=k}get type(){return"container exposed"}get category(){return"esm"}getResourceIdentifier(){return`exposed dependency ${this.exposedName}=${this.request}`}serialize(k){k.write(this.exposedName);super.serialize(k)}deserialize(k){this.exposedName=k.read();super.deserialize(k)}}R(ContainerExposedDependency,"webpack/lib/container/ContainerExposedDependency");k.exports=ContainerExposedDependency},59826:function(k,v,E){"use strict";const P=E(92198);const R=E(22886);const L=E(70929);const N=E(85455);const{parseOptions:q}=E(34869);const ae=P(E(50807),(()=>E(97253)),{name:"Container Plugin",baseDataPath:"options"});const le="ContainerPlugin";class ContainerPlugin{constructor(k){ae(k);this._options={name:k.name,shareScope:k.shareScope||"default",library:k.library||{type:"var",name:k.name},runtime:k.runtime,filename:k.filename||undefined,exposes:q(k.exposes,(k=>({import:Array.isArray(k)?k:[k],name:undefined})),(k=>({import:Array.isArray(k.import)?k.import:[k.import],name:k.name||undefined})))}}apply(k){const{name:v,exposes:E,shareScope:P,filename:q,library:ae,runtime:pe}=this._options;if(!k.options.output.enabledLibraryTypes.includes(ae.type)){k.options.output.enabledLibraryTypes.push(ae.type)}k.hooks.make.tapAsync(le,((k,L)=>{const N=new R(v,E,P);N.loc={name:v};k.addEntry(k.options.context,N,{name:v,filename:q,runtime:pe,library:ae},(k=>{if(k)return L(k);L()}))}));k.hooks.thisCompilation.tap(le,((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(R,new L);k.dependencyFactories.set(N,v)}))}}k.exports=ContainerPlugin},10223:function(k,v,E){"use strict";const P=E(53757);const R=E(56727);const L=E(92198);const N=E(52030);const q=E(37119);const ae=E(85961);const le=E(39878);const pe=E(63142);const me=E(51691);const{parseOptions:ye}=E(34869);const _e=L(E(19152),(()=>E(52899)),{name:"Container Reference Plugin",baseDataPath:"options"});const Ie="/".charCodeAt(0);class ContainerReferencePlugin{constructor(k){_e(k);this._remoteType=k.remoteType;this._remotes=ye(k.remotes,(v=>({external:Array.isArray(v)?v:[v],shareScope:k.shareScope||"default"})),(v=>({external:Array.isArray(v.external)?v.external:[v.external],shareScope:v.shareScope||k.shareScope||"default"})))}apply(k){const{_remotes:v,_remoteType:E}=this;const L={};for(const[k,E]of v){let v=0;for(const P of E.external){if(P.startsWith("internal "))continue;L[`webpack/container/reference/${k}${v?`/fallback-${v}`:""}`]=P;v++}}new P(E,L).apply(k);k.hooks.compilation.tap("ContainerReferencePlugin",((k,{normalModuleFactory:E})=>{k.dependencyFactories.set(me,E);k.dependencyFactories.set(q,E);k.dependencyFactories.set(N,new ae);E.hooks.factorize.tap("ContainerReferencePlugin",(k=>{if(!k.request.includes("!")){for(const[E,P]of v){if(k.request.startsWith(`${E}`)&&(k.request.length===E.length||k.request.charCodeAt(E.length)===Ie)){return new le(k.request,P.external.map(((k,v)=>k.startsWith("internal ")?k.slice(9):`webpack/container/reference/${E}${v?`/fallback-${v}`:""}`)),`.${k.request.slice(E.length)}`,P.shareScope)}}}}));k.hooks.runtimeRequirementInTree.for(R.ensureChunkHandlers).tap("ContainerReferencePlugin",((v,E)=>{E.add(R.module);E.add(R.moduleFactoriesAddOnly);E.add(R.hasOwnProperty);E.add(R.initializeSharing);E.add(R.shareScopeMap);k.addRuntimeModule(v,new pe)}))}))}}k.exports=ContainerReferencePlugin},52030:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);class FallbackDependency extends P{constructor(k){super();this.requests=k}getResourceIdentifier(){return`fallback ${this.requests.join(" ")}`}get type(){return"fallback"}get category(){return"esm"}serialize(k){const{write:v}=k;v(this.requests);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new FallbackDependency(v());E.deserialize(k);return E}}R(FallbackDependency,"webpack/lib/container/FallbackDependency");k.exports=FallbackDependency},37119:function(k,v,E){"use strict";const P=E(77373);const R=E(58528);class FallbackItemDependency extends P{constructor(k){super(k)}get type(){return"fallback item"}get category(){return"esm"}}R(FallbackItemDependency,"webpack/lib/container/FallbackItemDependency");k.exports=FallbackItemDependency},7583:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(88396);const{WEBPACK_MODULE_TYPE_FALLBACK:L}=E(93622);const N=E(56727);const q=E(95041);const ae=E(58528);const le=E(37119);const pe=new Set(["javascript"]);const me=new Set([N.module]);class FallbackModule extends R{constructor(k){super(L);this.requests=k;this._identifier=`fallback ${this.requests.join(" ")}`}identifier(){return this._identifier}readableIdentifier(k){return this._identifier}libIdent(k){return`${this.layer?`(${this.layer})/`:""}webpack/container/fallback/${this.requests[0]}/and ${this.requests.length-1} more`}chunkCondition(k,{chunkGraph:v}){return v.getNumberOfEntryModules(k)>0}needBuild(k,v){v(null,!this.buildInfo)}build(k,v,E,P,R){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const k of this.requests)this.addDependency(new le(k));R()}size(k){return this.requests.length*5+42}getSourceTypes(){return pe}codeGeneration({runtimeTemplate:k,moduleGraph:v,chunkGraph:E}){const R=this.dependencies.map((k=>E.getModuleId(v.getModule(k))));const L=q.asString([`var ids = ${JSON.stringify(R)};`,"var error, result, i = 0;",`var loop = ${k.basicFunction("next",["while(i < ids.length) {",q.indent([`try { next = ${N.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 = ${k.basicFunction("result",["if(result) return result;","return loop();"])};`,`var handleError = ${k.basicFunction("e",["error = e;","return loop();"])};`,"module.exports = loop();"]);const ae=new Map;ae.set("javascript",new P(L));return{sources:ae,runtimeRequirements:me}}serialize(k){const{write:v}=k;v(this.requests);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new FallbackModule(v());E.deserialize(k);return E}}ae(FallbackModule,"webpack/lib/container/FallbackModule");k.exports=FallbackModule},85961:function(k,v,E){"use strict";const P=E(66043);const R=E(7583);k.exports=class FallbackModuleFactory extends P{create({dependencies:[k]},v){const E=k;v(null,{module:new R(E.requests)})}}},71863:function(k,v,E){"use strict";const P=E(50153);const R=E(38084);const L=E(92198);const N=E(59826);const q=E(10223);const ae=L(E(13038),(()=>E(80707)),{name:"Module Federation Plugin",baseDataPath:"options"});class ModuleFederationPlugin{constructor(k){ae(k);this._options=k}apply(k){const{_options:v}=this;const E=v.library||{type:"var",name:v.name};const L=v.remoteType||(v.library&&P(v.library.type)?v.library.type:"script");if(E&&!k.options.output.enabledLibraryTypes.includes(E.type)){k.options.output.enabledLibraryTypes.push(E.type)}k.hooks.afterPlugins.tap("ModuleFederationPlugin",(()=>{if(v.exposes&&(Array.isArray(v.exposes)?v.exposes.length>0:Object.keys(v.exposes).length>0)){new N({name:v.name,library:E,filename:v.filename,runtime:v.runtime,shareScope:v.shareScope,exposes:v.exposes}).apply(k)}if(v.remotes&&(Array.isArray(v.remotes)?v.remotes.length>0:Object.keys(v.remotes).length>0)){new q({remoteType:L,shareScope:v.shareScope,remotes:v.remotes}).apply(k)}if(v.shared){new R({shared:v.shared,shareScope:v.shareScope}).apply(k)}}))}}k.exports=ModuleFederationPlugin},39878:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(88396);const{WEBPACK_MODULE_TYPE_REMOTE:L}=E(93622);const N=E(56727);const q=E(58528);const ae=E(52030);const le=E(51691);const pe=new Set(["remote","share-init"]);const me=new Set([N.module]);class RemoteModule extends R{constructor(k,v,E,P){super(L);this.request=k;this.externalRequests=v;this.internalRequest=E;this.shareScope=P;this._identifier=`remote (${P}) ${this.externalRequests.join(" ")} ${this.internalRequest}`}identifier(){return this._identifier}readableIdentifier(k){return`remote ${this.request}`}libIdent(k){return`${this.layer?`(${this.layer})/`:""}webpack/container/remote/${this.request}`}needBuild(k,v){v(null,!this.buildInfo)}build(k,v,E,P,R){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();if(this.externalRequests.length===1){this.addDependency(new le(this.externalRequests[0]))}else{this.addDependency(new ae(this.externalRequests))}R()}size(k){return 6}getSourceTypes(){return pe}nameForCondition(){return this.request}codeGeneration({runtimeTemplate:k,moduleGraph:v,chunkGraph:E}){const R=v.getModule(this.dependencies[0]);const L=R&&E.getModuleId(R);const N=new Map;N.set("remote",new P(""));const q=new Map;q.set("share-init",[{shareScope:this.shareScope,initStage:20,init:L===undefined?"":`initExternal(${JSON.stringify(L)});`}]);return{sources:N,data:q,runtimeRequirements:me}}serialize(k){const{write:v}=k;v(this.request);v(this.externalRequests);v(this.internalRequest);v(this.shareScope);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new RemoteModule(v(),v(),v(),v());E.deserialize(k);return E}}q(RemoteModule,"webpack/lib/container/RemoteModule");k.exports=RemoteModule},63142:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class RemoteRuntimeModule extends R{constructor(){super("remotes loading")}generate(){const{compilation:k,chunkGraph:v}=this;const{runtimeTemplate:E,moduleGraph:R}=k;const N={};const q={};for(const k of this.chunk.getAllAsyncChunks()){const E=v.getChunkModulesIterableBySourceType(k,"remote");if(!E)continue;const P=N[k.id]=[];for(const k of E){const E=k;const L=E.internalRequest;const N=v.getModuleId(E);const ae=E.shareScope;const le=E.dependencies[0];const pe=R.getModule(le);const me=pe&&v.getModuleId(pe);P.push(N);q[N]=[ae,L,me]}}return L.asString([`var chunkMapping = ${JSON.stringify(N,null,"\t")};`,`var idToExternalAndNameMapping = ${JSON.stringify(q,null,"\t")};`,`${P.ensureChunkHandlers}.remotes = ${E.basicFunction("chunkId, promises",[`if(${P.hasOwnProperty}(chunkMapping, chunkId)) {`,L.indent([`chunkMapping[chunkId].forEach(${E.basicFunction("id",[`var getScope = ${P.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")',L.indent(`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`),`${P.moduleFactories}[id] = ${E.basicFunction("",["throw error;"])}`,"data.p = 0;"])};`,`var handleFunction = ${E.basicFunction("fn, arg1, arg2, d, next, first",["try {",L.indent(["var promise = fn(arg1, arg2);","if(promise && promise.then) {",L.indent([`var p = promise.then(${E.returningFunction("next(result, d)","result")}, onError);`,`if(first) promises.push(data.p = p); else return p;`]),"} else {",L.indent(["return next(promise, d, first);"]),"}"]),"} catch(error) {",L.indent(["onError(error);"]),"}"])}`,`var onExternal = ${E.returningFunction(`external ? handleFunction(${P.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;",`${P.moduleFactories}[id] = ${E.basicFunction("module",["module.exports = factory();"])}`])};`,`handleFunction(${P.require}, data[2], 0, 0, onExternal, 1);`])});`]),"}"])}`])}}k.exports=RemoteRuntimeModule},51691:function(k,v,E){"use strict";const P=E(77373);const R=E(58528);class RemoteToExternalDependency extends P{constructor(k){super(k)}get type(){return"remote to external"}get category(){return"esm"}}R(RemoteToExternalDependency,"webpack/lib/container/RemoteToExternalDependency");k.exports=RemoteToExternalDependency},34869:function(k,v){"use strict";const process=(k,v,E,P)=>{const array=k=>{for(const E of k){if(typeof E==="string"){P(E,v(E,E))}else if(E&&typeof E==="object"){object(E)}else{throw new Error("Unexpected options format")}}};const object=k=>{for(const[R,L]of Object.entries(k)){if(typeof L==="string"||Array.isArray(L)){P(R,v(L,R))}else{P(R,E(L,R))}}};if(!k){return}else if(Array.isArray(k)){array(k)}else if(typeof k==="object"){object(k)}else{throw new Error("Unexpected options format")}};const parseOptions=(k,v,E)=>{const P=[];process(k,v,E,((k,v)=>{P.push([k,v])}));return P};const scope=(k,v)=>{const E={};process(v,(k=>k),(k=>k),((v,P)=>{E[v.startsWith("./")?`${k}${v.slice(1)}`:`${k}/${v}`]=P}));return E};v.parseOptions=parseOptions;v.scope=scope},97766:function(k,v,E){"use strict";const{ReplaceSource:P,RawSource:R,ConcatSource:L}=E(51255);const{UsageState:N}=E(11172);const q=E(91597);const ae=E(56727);const le=E(95041);const pe=new Set(["javascript"]);class CssExportsGenerator extends q{constructor(){super()}generate(k,v){const E=new P(new R(""));const q=[];const pe=new Map;v.runtimeRequirements.add(ae.module);const me=new Set;const ye={runtimeTemplate:v.runtimeTemplate,dependencyTemplates:v.dependencyTemplates,moduleGraph:v.moduleGraph,chunkGraph:v.chunkGraph,module:k,runtime:v.runtime,runtimeRequirements:me,concatenationScope:v.concatenationScope,codeGenerationResults:v.codeGenerationResults,initFragments:q,cssExports:pe};const handleDependency=k=>{const P=k.constructor;const R=v.dependencyTemplates.get(P);if(!R){throw new Error("No template for dependency: "+k.constructor.name)}R.apply(k,E,ye)};k.dependencies.forEach(handleDependency);if(v.concatenationScope){const k=new L;const E=new Set;for(const[P,R]of pe){let L=le.toIdentifier(P);let N=0;while(E.has(L)){L=le.toIdentifier(P+N)}E.add(L);v.concatenationScope.registerExport(P,L);k.add(`${v.runtimeTemplate.supportsConst?"const":"var"} ${L} = ${JSON.stringify(R)};\n`)}return k}else{const E=v.moduleGraph.getExportsInfo(k).otherExportsInfo.getUsed(v.runtime)!==N.Unused;if(E){v.runtimeRequirements.add(ae.makeNamespaceObject)}return new R(`${E?`${ae.makeNamespaceObject}(`:""}${k.moduleArgument}.exports = {\n${Array.from(pe,(([k,v])=>`\t${JSON.stringify(k)}: ${JSON.stringify(v)}`)).join(",\n")}\n}${E?")":""};`)}}getTypes(k){return pe}getSize(k,v){return 42}updateHash(k,{module:v}){}}k.exports=CssExportsGenerator},65956:function(k,v,E){"use strict";const{ReplaceSource:P}=E(51255);const R=E(91597);const L=E(88113);const N=E(56727);const q=new Set(["css"]);class CssGenerator extends R{constructor(){super()}generate(k,v){const E=k.originalSource();const R=new P(E);const q=[];const ae=new Map;v.runtimeRequirements.add(N.hasCssModules);const le={runtimeTemplate:v.runtimeTemplate,dependencyTemplates:v.dependencyTemplates,moduleGraph:v.moduleGraph,chunkGraph:v.chunkGraph,module:k,runtime:v.runtime,runtimeRequirements:v.runtimeRequirements,concatenationScope:v.concatenationScope,codeGenerationResults:v.codeGenerationResults,initFragments:q,cssExports:ae};const handleDependency=k=>{const E=k.constructor;const P=v.dependencyTemplates.get(E);if(!P){throw new Error("No template for dependency: "+k.constructor.name)}P.apply(k,R,le)};k.dependencies.forEach(handleDependency);if(k.presentationalDependencies!==undefined)k.presentationalDependencies.forEach(handleDependency);if(ae.size>0){const k=v.getData();k.set("css-exports",ae)}return L.addToSource(R,q,v)}getTypes(k){return q}getSize(k,v){const E=k.originalSource();if(!E){return 0}return E.size()}updateHash(k,{module:v}){}}k.exports=CssGenerator},3483:function(k,v,E){"use strict";const{SyncWaterfallHook:P}=E(79846);const R=E(27747);const L=E(56727);const N=E(27462);const q=E(95041);const ae=E(21751);const{chunkHasCss:le}=E(76395);const pe=new WeakMap;class CssLoadingRuntimeModule extends N{static getCompilationHooks(k){if(!(k instanceof R)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=pe.get(k);if(v===undefined){v={createStylesheet:new P(["source","chunk"])};pe.set(k,v)}return v}constructor(k){super("css loading",10);this._runtimeRequirements=k}generate(){const{compilation:k,chunk:v,_runtimeRequirements:E}=this;const{chunkGraph:P,runtimeTemplate:R,outputOptions:{crossOriginLoading:N,uniqueName:pe,chunkLoadTimeout:me}}=k;const ye=L.ensureChunkHandlers;const _e=P.getChunkConditionMap(v,((k,v)=>!!v.getChunkModulesIterableBySourceType(k,"css")));const Ie=ae(_e);const Me=E.has(L.ensureChunkHandlers)&&Ie!==false;const Te=E.has(L.hmrDownloadUpdateHandlers);const je=new Set;const Ne=new Set;for(const k of v.getAllInitialChunks()){(le(k,P)?je:Ne).add(k.id)}if(!Me&&!Te&&je.size===0){return null}const{createStylesheet:Be}=CssLoadingRuntimeModule.getCompilationHooks(k);const qe=Te?`${L.hmrRuntimeStatePrefix}_css`:undefined;const Ue=q.asString(["link = document.createElement('link');",pe?'link.setAttribute("data-webpack", uniqueName + ":" + key);':"","link.setAttribute(loadingAttribute, 1);",'link.rel = "stylesheet";',"link.href = url;",N?N==="use-credentials"?'link.crossOrigin = "use-credentials";':q.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",q.indent(`link.crossOrigin = ${JSON.stringify(N)};`),"}"]):""]);const cc=k=>k.charCodeAt(0);return q.asString(["// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${qe?`${qe} = ${qe} || `:""}{${Array.from(Ne,(k=>`${JSON.stringify(k)}:0`)).join(",")}};`,"",pe?`var uniqueName = ${JSON.stringify(R.outputOptions.uniqueName)};`:"// data-webpack is not used as build has no uniqueName",`var loadCssChunkData = ${R.basicFunction("target, link, chunkId",[`var data, token = "", token2, exports = {}, exportsWithId = [], exportsWithDashes = [], ${Te?"moduleIds = [], ":""}i = 0, cc = 1;`,"try { if(!link) link = loadStylesheet(chunkId); data = link.sheet.cssRules; data = data[data.length - 1].style; } catch(e) { data = getComputedStyle(document.head); }",`data = data.getPropertyValue(${pe?R.concatenation("--webpack-",{expr:"uniqueName"},"-",{expr:"chunkId"}):R.concatenation("--webpack-",{expr:"chunkId"})});`,"if(!data) return [];","for(; cc; i++) {",q.indent(["cc = data.charCodeAt(i);",`if(cc == ${cc("(")}) { token2 = token; token = ""; }`,`else if(cc == ${cc(")")}) { exports[token2.replace(/^_/, "")] = token.replace(/^_/, ""); token = ""; }`,`else if(cc == ${cc("/")} || cc == ${cc("%")}) { token = token.replace(/^_/, ""); exports[token] = token; exportsWithId.push(token); if(cc == ${cc("%")}) exportsWithDashes.push(token); token = ""; }`,`else if(!cc || cc == ${cc(",")}) { token = token.replace(/^_/, ""); exportsWithId.forEach(${R.expressionFunction(`exports[x] = ${pe?R.concatenation({expr:"uniqueName"},"-",{expr:"token"},"-",{expr:"exports[x]"}):R.concatenation({expr:"token"},"-",{expr:"exports[x]"})}`,"x")}); exportsWithDashes.forEach(${R.expressionFunction(`exports[x] = "--" + exports[x]`,"x")}); ${L.makeNamespaceObject}(exports); target[token] = (${R.basicFunction("exports, module",`module.exports = exports;`)}).bind(null, exports); ${Te?"moduleIds.push(token); ":""}token = ""; exports = {}; exportsWithId.length = 0; }`,`else if(cc == ${cc("\\")}) { token += data[++i] }`,`else { token += data[i]; }`]),"}",`${Te?`if(target == ${L.moduleFactories}) `:""}installedChunks[chunkId] = 0;`,Te?"return moduleIds;":""])}`,'var loadingAttribute = "data-webpack-loading";',`var loadStylesheet = ${R.basicFunction("chunkId, url, done"+(Te?", hmr":""),['var link, needAttach, key = "chunk-" + chunkId;',Te?"if(!hmr) {":"",'var links = document.getElementsByTagName("link");',"for(var i = 0; i < links.length; i++) {",q.indent(["var l = links[i];",`if(l.rel == "stylesheet" && (${Te?'l.href.startsWith(url) || l.getAttribute("href").startsWith(url)':'l.href == url || l.getAttribute("href") == url'}${pe?' || l.getAttribute("data-webpack") == uniqueName + ":" + key':""})) { link = l; break; }`]),"}","if(!done) return link;",Te?"}":"","if(!link) {",q.indent(["needAttach = true;",Be.call(Ue,this.chunk)]),"}",`var onLinkComplete = ${R.basicFunction("prev, event",q.asString(["link.onerror = link.onload = null;","link.removeAttribute(loadingAttribute);","clearTimeout(timeout);",'if(event && event.type != "load") link.parentNode.removeChild(link)',"done(event);","if(prev) return prev(event);"]))};`,"if(link.getAttribute(loadingAttribute)) {",q.indent([`var timeout = setTimeout(onLinkComplete.bind(null, undefined, { type: 'timeout', target: link }), ${me});`,"link.onerror = onLinkComplete.bind(null, link.onerror);","link.onload = onLinkComplete.bind(null, link.onload);"]),"} else onLinkComplete(undefined, { type: 'load', target: link });",Te?"hmr ? document.head.insertBefore(link, hmr) :":"","needAttach && document.head.appendChild(link);","return link;"])};`,je.size>2?`${JSON.stringify(Array.from(je))}.forEach(loadCssChunkData.bind(null, ${L.moduleFactories}, 0));`:je.size>0?`${Array.from(je,(k=>`loadCssChunkData(${L.moduleFactories}, 0, ${JSON.stringify(k)});`)).join("")}`:"// no initial css","",Me?q.asString([`${ye}.css = ${R.basicFunction("chunkId, promises",["// css chunk loading",`var installedChunkData = ${L.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',q.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",q.indent(["promises.push(installedChunkData[2]);"]),"} else {",q.indent([Ie===true?"if(true) { // all chunks have CSS":`if(${Ie("chunkId")}) {`,q.indent(["// setup Promise in chunk cache",`var promise = new Promise(${R.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${L.publicPath} + ${L.getChunkCssFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${R.basicFunction("event",[`if(${L.hasOwnProperty}(installedChunks, chunkId)) {`,q.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",q.indent(['if(event.type !== "load") {',q.indent(["var errorType = event && event.type;","var realSrc = event && event.target && event.target.src;","error.message = 'Loading css chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","installedChunkData[1](error);"]),"} else {",q.indent([`loadCssChunkData(${L.moduleFactories}, link, chunkId);`,"installedChunkData[0]();"]),"}"]),"}"]),"}"])};`,"var link = loadStylesheet(chunkId, url, loadingEnded);"]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"])};`]):"// no chunk loading","",Te?q.asString(["var oldTags = [];","var newTags = [];",`var applyHandler = ${R.basicFunction("options",[`return { dispose: ${R.basicFunction("",[])}, apply: ${R.basicFunction("",["var moduleIds = [];",`newTags.forEach(${R.expressionFunction("info[1].sheet.disabled = false","info")});`,"while(oldTags.length) {",q.indent(["var oldTag = oldTags.pop();","if(oldTag.parentNode) oldTag.parentNode.removeChild(oldTag);"]),"}","while(newTags.length) {",q.indent([`var info = newTags.pop();`,`var chunkModuleIds = loadCssChunkData(${L.moduleFactories}, info[1], info[0]);`,`chunkModuleIds.forEach(${R.expressionFunction("moduleIds.push(id)","id")});`]),"}","return moduleIds;"])} };`])}`,`var cssTextKey = ${R.returningFunction(`Array.from(link.sheet.cssRules, ${R.returningFunction("r.cssText","r")}).join()`,"link")}`,`${L.hmrDownloadUpdateHandlers}.css = ${R.basicFunction("chunkIds, removedChunks, removedModules, promises, applyHandlers, updatedModulesList",["applyHandlers.push(applyHandler);",`chunkIds.forEach(${R.basicFunction("chunkId",[`var filename = ${L.getChunkCssFilename}(chunkId);`,`var url = ${L.publicPath} + filename;`,"var oldTag = loadStylesheet(chunkId, url);","if(!oldTag) return;",`promises.push(new Promise(${R.basicFunction("resolve, reject",[`var link = loadStylesheet(chunkId, url + (url.indexOf("?") < 0 ? "?" : "&") + "hmr=" + Date.now(), ${R.basicFunction("event",['if(event.type !== "load") {',q.indent(["var errorType = event && event.type;","var realSrc = event && event.target && event.target.src;","error.message = 'Loading css hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"]),"} else {",q.indent(["try { if(cssTextKey(oldTag) == cssTextKey(link)) { if(link.parentNode) link.parentNode.removeChild(link); return resolve(); } } catch(e) {}","var factories = {};","loadCssChunkData(factories, link, chunkId);",`Object.keys(factories).forEach(${R.expressionFunction("updatedModulesList.push(id)","id")})`,"link.sheet.disabled = true;","oldTags.push(oldTag);","newTags.push([chunkId, link]);","resolve();"]),"}"])}, oldTag);`])}));`])});`])}`]):"// no hmr"])}}k.exports=CssLoadingRuntimeModule},76395:function(k,v,E){"use strict";const{ConcatSource:P,PrefixSource:R}=E(51255);const L=E(51585);const N=E(95733);const{CSS_MODULE_TYPE:q,CSS_MODULE_TYPE_GLOBAL:ae,CSS_MODULE_TYPE_MODULE:le}=E(93622);const pe=E(56727);const me=E(15844);const ye=E(71572);const _e=E(55101);const Ie=E(38490);const Me=E(27746);const Te=E(58943);const je=E(97006);const Ne=E(93414);const{compareModulesByIdentifier:Be}=E(95648);const qe=E(92198);const Ue=E(74012);const Ge=E(20631);const He=E(64119);const We=E(97766);const Qe=E(65956);const Je=E(29605);const Ve=Ge((()=>E(3483)));const getSchema=k=>{const{definitions:v}=E(98625);return{definitions:v,oneOf:[{$ref:`#/definitions/${k}`}]}};const Ke=qe(E(87816),(()=>getSchema("CssGeneratorOptions")),{name:"Css Modules Plugin",baseDataPath:"parser"});const Ye=qe(E(32706),(()=>getSchema("CssParserOptions")),{name:"Css Modules Plugin",baseDataPath:"parser"});const escapeCss=(k,v)=>{const E=`${k}`.replace(/[^a-zA-Z0-9_\u0081-\uffff-]/g,(k=>`\\${k}`));return!v&&/^(?!--)[0-9_-]/.test(E)?`_${E}`:E};const Xe="CssModulesPlugin";class CssModulesPlugin{constructor({exportsOnly:k=false}){this._exportsOnly=k}apply(k){k.hooks.compilation.tap(Xe,((k,{normalModuleFactory:v})=>{const E=new me(k.moduleGraph);k.dependencyFactories.set(je,v);k.dependencyTemplates.set(je,new je.Template);k.dependencyTemplates.set(Me,new Me.Template);k.dependencyFactories.set(Te,E);k.dependencyTemplates.set(Te,new Te.Template);k.dependencyTemplates.set(_e,new _e.Template);k.dependencyFactories.set(Ie,v);k.dependencyTemplates.set(Ie,new Ie.Template);k.dependencyTemplates.set(Ne,new Ne.Template);for(const E of[q,ae,le]){v.hooks.createParser.for(E).tap(Xe,(k=>{Ye(k);switch(E){case q:return new Je;case ae:return new Je({allowModeSwitch:false});case le:return new Je({defaultMode:"local"})}}));v.hooks.createGenerator.for(E).tap(Xe,(k=>{Ke(k);return this._exportsOnly?new We:new Qe}));v.hooks.createModuleClass.for(E).tap(Xe,((v,E)=>{if(E.dependencies.length>0){const P=E.dependencies[0];if(P instanceof Ie){const E=k.moduleGraph.getParentModule(P);if(E instanceof L){let k;if(E.cssLayer!==null&&E.cssLayer!==undefined||E.supports||E.media){if(!k){k=[]}k.push([E.cssLayer,E.supports,E.media])}if(E.inheritance){if(!k){k=[]}k.push(...E.inheritance)}return new L({...v,cssLayer:P.layer,supports:P.supports,media:P.media,inheritance:k})}return new L({...v,cssLayer:P.layer,supports:P.supports,media:P.media})}}return new L(v)}))}const P=new WeakMap;k.hooks.afterCodeGeneration.tap("CssModulesPlugin",(()=>{const{chunkGraph:v}=k;for(const E of k.chunks){if(CssModulesPlugin.chunkHasCss(E,v)){P.set(E,this.getOrderedChunkCssModules(E,v,k))}}}));k.hooks.contentHash.tap("CssModulesPlugin",(v=>{const{chunkGraph:E,outputOptions:{hashSalt:R,hashDigest:L,hashDigestLength:N,hashFunction:q}}=k;const ae=P.get(v);if(ae===undefined)return;const le=Ue(q);if(R)le.update(R);for(const k of ae){le.update(E.getModuleHash(k,v.runtime))}const pe=le.digest(L);v.contentHash.css=He(pe,N)}));k.hooks.renderManifest.tap(Xe,((v,E)=>{const{chunkGraph:R}=k;const{hash:L,chunk:q,codeGenerationResults:ae}=E;if(q instanceof N)return v;const le=P.get(q);if(le!==undefined){v.push({render:()=>this.renderChunk({chunk:q,chunkGraph:R,codeGenerationResults:ae,uniqueName:k.outputOptions.uniqueName,modules:le}),filenameTemplate:CssModulesPlugin.getChunkFilenameTemplate(q,k.outputOptions),pathOptions:{hash:L,runtime:q.runtime,chunk:q,contentHashType:"css"},identifier:`css${q.id}`,hash:q.contentHash.css})}return v}));const R=k.outputOptions.chunkLoading;const isEnabledForChunk=k=>{const v=k.getEntryOptions();const E=v&&v.chunkLoading!==undefined?v.chunkLoading:R;return E==="jsonp"};const ye=new WeakSet;const handler=(v,E)=>{if(ye.has(v))return;ye.add(v);if(!isEnabledForChunk(v))return;E.add(pe.publicPath);E.add(pe.getChunkCssFilename);E.add(pe.hasOwnProperty);E.add(pe.moduleFactoriesAddOnly);E.add(pe.makeNamespaceObject);const P=Ve();k.addRuntimeModule(v,new P(E))};k.hooks.runtimeRequirementInTree.for(pe.hasCssModules).tap(Xe,handler);k.hooks.runtimeRequirementInTree.for(pe.ensureChunkHandlers).tap(Xe,handler);k.hooks.runtimeRequirementInTree.for(pe.hmrDownloadUpdateHandlers).tap(Xe,handler)}))}getModulesInOrder(k,v,E){if(!v)return[];const P=[...v];const R=Array.from(k.groupsIterable,(k=>{const v=P.map((v=>({module:v,index:k.getModulePostOrderIndex(v)}))).filter((k=>k.index!==undefined)).sort(((k,v)=>v.index-k.index)).map((k=>k.module));return{list:v,set:new Set(v)}}));if(R.length===1)return R[0].list.reverse();const compareModuleLists=({list:k},{list:v})=>{if(k.length===0){return v.length===0?0:1}else{if(v.length===0)return-1;return Be(k[k.length-1],v[v.length-1])}};R.sort(compareModuleLists);const L=[];for(;;){const v=new Set;const P=R[0].list;if(P.length===0){break}let N=P[P.length-1];let q=undefined;e:for(;;){for(const{list:k,set:E}of R){if(k.length===0)continue;const P=k[k.length-1];if(P===N)continue;if(!E.has(N))continue;v.add(N);if(v.has(P)){q=P;continue}N=P;q=false;continue e}break}if(q){if(E){E.warnings.push(new ye(`chunk ${k.name||k.id}\nConflicting order between ${q.readableIdentifier(E.requestShortener)} and ${N.readableIdentifier(E.requestShortener)}`))}N=q}L.push(N);for(const{list:k,set:v}of R){const E=k[k.length-1];if(E===N)k.pop();else if(q&&v.has(N)){const v=k.indexOf(N);if(v>=0)k.splice(v,1)}}R.sort(compareModuleLists)}return L}getOrderedChunkCssModules(k,v,E){return[...this.getModulesInOrder(k,v.getOrderedChunkModulesIterableBySourceType(k,"css-import",Be),E),...this.getModulesInOrder(k,v.getOrderedChunkModulesIterableBySourceType(k,"css",Be),E)]}renderChunk({uniqueName:k,chunk:v,chunkGraph:E,codeGenerationResults:L,modules:N}){const q=new P;const ae=[];for(const le of N){try{const N=L.get(le,v.runtime);let pe=N.sources.get("css")||N.sources.get("css-import");let me=[[le.cssLayer,le.supports,le.media]];if(le.inheritance){me.push(...le.inheritance)}for(let k=0;k{const P=`${k?k+"-":""}${_e}-${v}`;return E===P?`${escapeCss(v)}/`:E==="--"+P?`${escapeCss(v)}%`:`${escapeCss(v)}(${escapeCss(E)})`})).join(""):""}${escapeCss(_e)}`)}catch(k){k.message+=`\nduring rendering of css ${le.identifier()}`;throw k}}q.add(`head{--webpack-${escapeCss((k?k+"-":"")+v.id,true)}:${ae.join(",")};}`);return q}static getChunkFilenameTemplate(k,v){if(k.cssFilenameTemplate){return k.cssFilenameTemplate}else if(k.canBeInitial()){return v.cssFilename}else{return v.cssChunkFilename}}static chunkHasCss(k,v){return!!v.getChunkModulesIterableBySourceType(k,"css")||!!v.getChunkModulesIterableBySourceType(k,"css-import")}}k.exports=CssModulesPlugin},29605:function(k,v,E){"use strict";const P=E(84018);const R=E(17381);const L=E(71572);const N=E(60381);const q=E(55101);const ae=E(38490);const le=E(27746);const pe=E(58943);const me=E(97006);const ye=E(93414);const _e=E(54753);const Ie="{".charCodeAt(0);const Me="}".charCodeAt(0);const Te=":".charCodeAt(0);const je="/".charCodeAt(0);const Ne=";".charCodeAt(0);const Be=/\\[\n\r\f]/g;const qe=/(^[ \t\n\r\f]*|[ \t\n\r\f]*$)/g;const Ue=/\\([0-9a-fA-F]{1,6}[ \t\n\r\f]?|[\s\S])/g;const Ge=/^(-\w+-)?image-set$/i;const He=/^@(-\w+-)?keyframes$/;const We=/^(-\w+-)?animation(-name)?$/i;const normalizeUrl=(k,v)=>{if(v){k=k.replace(Be,"")}k=k.replace(qe,"").replace(Ue,(k=>{if(k.length>2){return String.fromCharCode(parseInt(k.slice(1).trim(),16))}else{return k[1]}}));if(/^data:/i.test(k)){return k}if(k.includes("%")){try{k=decodeURIComponent(k)}catch(k){}}return k};class LocConverter{constructor(k){this._input=k;this.line=1;this.column=0;this.pos=0}get(k){if(this.pos!==k){if(this.pos0&&(E=v.lastIndexOf("\n",E-1))!==-1)this.line++}}else{let v=this._input.lastIndexOf("\n",this.pos);while(v>=k){this.line--;v=v>0?this._input.lastIndexOf("\n",v-1):-1}this.column=k-v}this.pos=k}return this}}const Qe=0;const Je=1;const Ve=2;const Ke=3;const Ye=4;class CssParser extends R{constructor({allowModeSwitch:k=true,defaultMode:v="global"}={}){super();this.allowModeSwitch=k;this.defaultMode=v}_emitWarning(k,v,E,R,N){const{line:q,column:ae}=E.get(R);const{line:le,column:pe}=E.get(N);k.current.addWarning(new P(k.module,new L(v),{start:{line:q,column:ae},end:{line:le,column:pe}}))}parse(k,v){if(Buffer.isBuffer(k)){k=k.toString("utf-8")}else if(typeof k==="object"){throw new Error("webpackAst is unexpected for the CssParser")}if(k[0]==="\ufeff"){k=k.slice(1)}const E=v.module;const P=new LocConverter(k);const R=new Set;let L=Qe;let Be=0;let qe=true;let Ue=undefined;let Xe=undefined;let Ze=[];let et=undefined;let tt=false;let nt=true;const isNextNestedSyntax=(k,v)=>{v=_e.eatWhitespaceAndComments(k,v);if(k[v]==="}"){return false}const E=_e.isIdentStartCodePoint(k.charCodeAt(v));return!E};const isLocalMode=()=>Ue==="local"||this.defaultMode==="local"&&Ue===undefined;const eatUntil=k=>{const v=Array.from({length:k.length},((v,E)=>k.charCodeAt(E)));const E=Array.from({length:v.reduce(((k,v)=>Math.max(k,v)),0)+1},(()=>false));v.forEach((k=>E[k]=true));return(k,v)=>{for(;;){const P=k.charCodeAt(v);if(P{let P="";for(;;){if(k.charCodeAt(v)===je){const E=_e.eatComments(k,v);if(v!==E){v=E;if(v===k.length)break}else{P+="/";v++;if(v===k.length)break}}const R=E(k,v);if(v!==R){P+=k.slice(v,R);v=R}else{break}if(v===k.length)break}return[v,P.trimEnd()]};const st=eatUntil(":};/");const rt=eatUntil("};/");const parseExports=(k,R)=>{R=_e.eatWhitespaceAndComments(k,R);const L=k.charCodeAt(R);if(L!==Ie){this._emitWarning(v,`Unexpected '${k[R]}' at ${R} during parsing of ':export' (expected '{')`,P,R,R);return R}R++;R=_e.eatWhitespaceAndComments(k,R);for(;;){if(k.charCodeAt(R)===Me)break;R=_e.eatWhitespaceAndComments(k,R);if(R===k.length)return R;let L=R;let N;[R,N]=eatText(k,R,st);if(R===k.length)return R;if(k.charCodeAt(R)!==Te){this._emitWarning(v,`Unexpected '${k[R]}' at ${R} during parsing of export name in ':export' (expected ':')`,P,L,R);return R}R++;if(R===k.length)return R;R=_e.eatWhitespaceAndComments(k,R);if(R===k.length)return R;let ae;[R,ae]=eatText(k,R,rt);if(R===k.length)return R;const le=k.charCodeAt(R);if(le===Ne){R++;if(R===k.length)return R;R=_e.eatWhitespaceAndComments(k,R);if(R===k.length)return R}else if(le!==Me){this._emitWarning(v,`Unexpected '${k[R]}' at ${R} during parsing of export value in ':export' (expected ';' or '}')`,P,L,R);return R}const pe=new q(N,ae);const{line:me,column:ye}=P.get(L);const{line:Ie,column:je}=P.get(R);pe.setLoc(me,ye,Ie,je);E.addDependency(pe)}R++;if(R===k.length)return R;R=_e.eatWhiteLine(k,R);return R};const ot=eatUntil(":{};");const processLocalDeclaration=(k,v,L)=>{Ue=undefined;v=_e.eatWhitespaceAndComments(k,v);const N=v;const[q,ae]=eatText(k,v,ot);if(k.charCodeAt(q)!==Te)return L;v=q+1;if(ae.startsWith("--")){const{line:k,column:v}=P.get(N);const{line:L,column:pe}=P.get(q);const me=ae.slice(2);const ye=new le(me,[N,q],"--");ye.setLoc(k,v,L,pe);E.addDependency(ye);R.add(me)}else if(!ae.startsWith("--")&&We.test(ae)){tt=true}return v};const processDeclarationValueDone=k=>{if(tt&&Xe){const{line:v,column:R}=P.get(Xe[0]);const{line:L,column:N}=P.get(Xe[1]);const q=k.slice(Xe[0],Xe[1]);const ae=new pe(q,Xe);ae.setLoc(v,R,L,N);E.addDependency(ae);Xe=undefined}};const it=eatUntil("{};/");const at=eatUntil(",)};/");_e(k,{isSelector:()=>nt,url:(k,R,N,q,ae)=>{let le=normalizeUrl(k.slice(q,ae),false);switch(L){case Ve:{if(et.inSupports){break}if(et.url){this._emitWarning(v,`Duplicate of 'url(...)' in '${k.slice(et.start,N)}'`,P,R,N);break}et.url=le;et.urlStart=R;et.urlEnd=N;break}case Ye:case Ke:{break}case Je:{if(le.length===0){break}const k=new me(le,[R,N],"url");const{line:v,column:L}=P.get(R);const{line:q,column:ae}=P.get(N);k.setLoc(v,L,q,ae);E.addDependency(k);E.addCodeGenerationDependency(k);break}}return N},string:(k,R,N)=>{switch(L){case Ve:{const E=Ze[Ze.length-1]&&Ze[Ze.length-1][0]==="url";if(et.inSupports||!E&&et.url){break}if(E&&et.url){this._emitWarning(v,`Duplicate of 'url(...)' in '${k.slice(et.start,N)}'`,P,R,N);break}et.url=normalizeUrl(k.slice(R+1,N-1),true);if(!E){et.urlStart=R;et.urlEnd=N}break}case Je:{const v=Ze[Ze.length-1];if(v&&(v[0].replace(/\\/g,"").toLowerCase()==="url"||Ge.test(v[0].replace(/\\/g,"")))){let L=normalizeUrl(k.slice(R+1,N-1),true);if(L.length===0){break}const q=v[0].replace(/\\/g,"").toLowerCase()==="url";const ae=new me(L,[R,N],q?"string":"url");const{line:le,column:pe}=P.get(R);const{line:ye,column:_e}=P.get(N);ae.setLoc(le,pe,ye,_e);E.addDependency(ae);E.addCodeGenerationDependency(ae)}}}return N},atKeyword:(k,N,q)=>{const ae=k.slice(N,q).toLowerCase();if(ae==="@namespace"){L=Ye;this._emitWarning(v,"'@namespace' is not supported in bundled CSS",P,N,q);return q}else if(ae==="@import"){if(!qe){L=Ke;this._emitWarning(v,"Any '@import' rules must precede all other rules",P,N,q);return q}L=Ve;et={start:N}}else if(this.allowModeSwitch&&He.test(ae)){let R=q;R=_e.eatWhitespaceAndComments(k,R);if(R===k.length)return R;const[L,ae]=eatText(k,R,it);if(L===k.length)return L;if(k.charCodeAt(L)!==Ie){this._emitWarning(v,`Unexpected '${k[L]}' at ${L} during parsing of @keyframes (expected '{')`,P,N,q);return L}const{line:pe,column:me}=P.get(R);const{line:ye,column:Me}=P.get(L);const Te=new le(ae,[R,L]);Te.setLoc(pe,me,ye,Me);E.addDependency(Te);R=L;return R+1}else if(this.allowModeSwitch&&ae==="@property"){let L=q;L=_e.eatWhitespaceAndComments(k,L);if(L===k.length)return L;const ae=L;const[pe,me]=eatText(k,L,it);if(pe===k.length)return pe;if(!me.startsWith("--"))return pe;if(k.charCodeAt(pe)!==Ie){this._emitWarning(v,`Unexpected '${k[pe]}' at ${pe} during parsing of @property (expected '{')`,P,N,q);return pe}const{line:ye,column:Me}=P.get(L);const{line:Te,column:je}=P.get(pe);const Ne=me.slice(2);const Be=new le(Ne,[ae,pe],"--");Be.setLoc(ye,Me,Te,je);E.addDependency(Be);R.add(Ne);L=pe;return L+1}else if(ae==="@media"||ae==="@supports"||ae==="@layer"||ae==="@container"){Ue=isLocalMode()?"local":"global";nt=true;return q}else if(this.allowModeSwitch){Ue="global";nt=false}return q},semicolon:(k,R,q)=>{switch(L){case Ve:{const{start:R}=et;if(et.url===undefined){this._emitWarning(v,`Expected URL in '${k.slice(R,q)}'`,P,R,q);et=undefined;L=Qe;return q}if(et.urlStart>et.layerStart||et.urlStart>et.supportsStart){this._emitWarning(v,`An URL in '${k.slice(R,q)}' should be before 'layer(...)' or 'supports(...)'`,P,R,q);et=undefined;L=Qe;return q}if(et.layerStart>et.supportsStart){this._emitWarning(v,`The 'layer(...)' in '${k.slice(R,q)}' should be before 'supports(...)'`,P,R,q);et=undefined;L=Qe;return q}const le=q;q=_e.eatWhiteLine(k,q+1);const{line:pe,column:me}=P.get(R);const{line:ye,column:Ie}=P.get(q);const Me=et.supportsEnd||et.layerEnd||et.urlEnd||R;const Te=_e.eatWhitespaceAndComments(k,Me);if(Te!==le-1){et.media=k.slice(Me,le-1).trim()}const je=et.url.trim();if(je.length===0){const k=new N("",[R,q]);E.addPresentationalDependency(k);k.setLoc(pe,me,ye,Ie)}else{const k=new ae(je,[R,q],et.layer,et.supports,et.media&&et.media.length>0?et.media:undefined);k.setLoc(pe,me,ye,Ie);E.addDependency(k)}et=undefined;L=Qe;break}case Ke:case Ye:{L=Qe;break}case Je:{if(this.allowModeSwitch){processDeclarationValueDone(k);tt=false;nt=isNextNestedSyntax(k,q)}break}}return q},leftCurlyBracket:(k,v,E)=>{switch(L){case Qe:{qe=false;L=Je;Be=1;if(this.allowModeSwitch){nt=isNextNestedSyntax(k,E)}break}case Je:{Be++;if(this.allowModeSwitch){nt=isNextNestedSyntax(k,E)}break}}return E},rightCurlyBracket:(k,v,E)=>{switch(L){case Je:{if(isLocalMode()){processDeclarationValueDone(k);tt=false}if(--Be===0){L=Qe;if(this.allowModeSwitch){nt=true;Ue=undefined}}else if(this.allowModeSwitch){nt=isNextNestedSyntax(k,E)}break}}return E},identifier:(k,v,E)=>{switch(L){case Je:{if(isLocalMode()){if(tt&&Ze.length===0){Xe=[v,E]}else{return processLocalDeclaration(k,v,E)}}break}case Ve:{if(k.slice(v,E).toLowerCase()==="layer"){et.layer="";et.layerStart=v;et.layerEnd=E}break}}return E},class:(k,v,R)=>{if(isLocalMode()){const L=k.slice(v+1,R);const N=new le(L,[v+1,R]);const{line:q,column:ae}=P.get(v);const{line:pe,column:me}=P.get(R);N.setLoc(q,ae,pe,me);E.addDependency(N)}return R},id:(k,v,R)=>{if(isLocalMode()){const L=k.slice(v+1,R);const N=new le(L,[v+1,R]);const{line:q,column:ae}=P.get(v);const{line:pe,column:me}=P.get(R);N.setLoc(q,ae,pe,me);E.addDependency(N)}return R},function:(k,v,N)=>{let q=k.slice(v,N-1);Ze.push([q,v,N]);if(L===Ve&&q.toLowerCase()==="supports"){et.inSupports=true}if(isLocalMode()){q=q.toLowerCase();if(tt&&Ze.length===1){Xe=undefined}if(q==="var"){let v=_e.eatWhitespaceAndComments(k,N);if(v===k.length)return v;const[L,q]=eatText(k,v,at);if(!q.startsWith("--"))return N;const{line:ae,column:le}=P.get(v);const{line:me,column:ye}=P.get(L);const Ie=new pe(q.slice(2),[v,L],"--",R);Ie.setLoc(ae,le,me,ye);E.addDependency(Ie);return L}}return N},leftParenthesis:(k,v,E)=>{Ze.push(["(",v,E]);return E},rightParenthesis:(k,v,P)=>{const R=Ze[Ze.length-1];const q=Ze.pop();if(this.allowModeSwitch&&q&&(q[0]===":local"||q[0]===":global")){Ue=Ze[Ze.length-1]?Ze[Ze.length-1][0]:undefined;const k=new N("",[v,P]);E.addPresentationalDependency(k);return P}switch(L){case Ve:{if(R&&R[0]==="url"&&!et.inSupports){et.urlStart=R[1];et.urlEnd=P}else if(R&&R[0].toLowerCase()==="layer"&&!et.inSupports){et.layer=k.slice(R[2],P-1).trim();et.layerStart=R[1];et.layerEnd=P}else if(R&&R[0].toLowerCase()==="supports"){et.supports=k.slice(R[2],P-1).trim();et.supportsStart=R[1];et.supportsEnd=P;et.inSupports=false}break}}return P},pseudoClass:(k,v,P)=>{if(this.allowModeSwitch){const R=k.slice(v,P).toLowerCase();if(R===":global"){Ue="global";P=_e.eatWhitespace(k,P);const R=new N("",[v,P]);E.addPresentationalDependency(R);return P}else if(R===":local"){Ue="local";P=_e.eatWhitespace(k,P);const R=new N("",[v,P]);E.addPresentationalDependency(R);return P}switch(L){case Qe:{if(R===":export"){const R=parseExports(k,P);const L=new N("",[v,R]);E.addPresentationalDependency(L);return R}break}}}return P},pseudoFunction:(k,v,P)=>{let R=k.slice(v,P-1);Ze.push([R,v,P]);if(this.allowModeSwitch){R=R.toLowerCase();if(R===":global"){Ue="global";const k=new N("",[v,P]);E.addPresentationalDependency(k)}else if(R===":local"){Ue="local";const k=new N("",[v,P]);E.addPresentationalDependency(k)}}return P},comma:(k,v,E)=>{if(this.allowModeSwitch){Ue=undefined;switch(L){case Je:{if(isLocalMode()){processDeclarationValueDone(k)}break}}}return E}});E.buildInfo.strict=true;E.buildMeta.exportsType="namespace";E.addDependency(new ye([],true));return v}}k.exports=CssParser},54753:function(k){"use strict";const v="\n".charCodeAt(0);const E="\r".charCodeAt(0);const P="\f".charCodeAt(0);const R="\t".charCodeAt(0);const L=" ".charCodeAt(0);const N="/".charCodeAt(0);const q="\\".charCodeAt(0);const ae="*".charCodeAt(0);const le="(".charCodeAt(0);const pe=")".charCodeAt(0);const me="{".charCodeAt(0);const ye="}".charCodeAt(0);const _e="[".charCodeAt(0);const Ie="]".charCodeAt(0);const Me='"'.charCodeAt(0);const Te="'".charCodeAt(0);const je=".".charCodeAt(0);const Ne=":".charCodeAt(0);const Be=";".charCodeAt(0);const qe=",".charCodeAt(0);const Ue="%".charCodeAt(0);const Ge="@".charCodeAt(0);const He="_".charCodeAt(0);const We="a".charCodeAt(0);const Qe="u".charCodeAt(0);const Je="e".charCodeAt(0);const Ve="z".charCodeAt(0);const Ke="A".charCodeAt(0);const Ye="E".charCodeAt(0);const Xe="U".charCodeAt(0);const Ze="Z".charCodeAt(0);const et="0".charCodeAt(0);const tt="9".charCodeAt(0);const nt="#".charCodeAt(0);const st="+".charCodeAt(0);const rt="-".charCodeAt(0);const ot="<".charCodeAt(0);const it=">".charCodeAt(0);const _isNewLine=k=>k===v||k===E||k===P;const consumeSpace=(k,v,E)=>{let P;do{v++;P=k.charCodeAt(v)}while(_isWhiteSpace(P));return v};const _isNewline=k=>k===v||k===E||k===P;const _isSpace=k=>k===R||k===L;const _isWhiteSpace=k=>_isNewline(k)||_isSpace(k);const isIdentStartCodePoint=k=>k>=We&&k<=Ve||k>=Ke&&k<=Ze||k===He||k>=128;const consumeDelimToken=(k,v,E)=>v+1;const consumeComments=(k,v,E)=>{if(k.charCodeAt(v)===N&&k.charCodeAt(v+1)===ae){v+=1;while(v(v,E,P)=>{const R=E;E=_consumeString(v,E,k);if(P.string!==undefined){E=P.string(v,R,E)}return E};const _consumeString=(k,v,E)=>{v++;for(;;){if(v===k.length)return v;const P=k.charCodeAt(v);if(P===E)return v+1;if(_isNewLine(P)){return v}if(P===q){v++;if(v===k.length)return v;v++}else{v++}}};const _isIdentifierStartCode=k=>k===He||k>=We&&k<=Ve||k>=Ke&&k<=Ze||k>128;const _isTwoCodePointsAreValidEscape=(k,v)=>{if(k!==q)return false;if(_isNewLine(v))return false;return true};const _isDigit=k=>k>=et&&k<=tt;const _startsIdentifier=(k,v)=>{const E=k.charCodeAt(v);if(E===rt){if(v===k.length)return false;const E=k.charCodeAt(v+1);if(E===rt)return true;if(E===q){const E=k.charCodeAt(v+2);return!_isNewLine(E)}return _isIdentifierStartCode(E)}if(E===q){const E=k.charCodeAt(v+1);return!_isNewLine(E)}return _isIdentifierStartCode(E)};const consumeNumberSign=(k,v,E)=>{const P=v;v++;if(v===k.length)return v;if(E.isSelector(k,v)&&_startsIdentifier(k,v)){v=_consumeIdentifier(k,v,E);if(E.id!==undefined){return E.id(k,P,v)}}return v};const consumeMinus=(k,v,E)=>{const P=v;v++;if(v===k.length)return v;const R=k.charCodeAt(v);if(R===je||_isDigit(R)){return consumeNumericToken(k,v,E)}else if(R===rt){v++;if(v===k.length)return v;const R=k.charCodeAt(v);if(R===it){return v+1}else{v=_consumeIdentifier(k,v,E);if(E.identifier!==undefined){return E.identifier(k,P,v)}}}else if(R===q){if(v+1===k.length)return v;const R=k.charCodeAt(v+1);if(_isNewLine(R))return v;v=_consumeIdentifier(k,v,E);if(E.identifier!==undefined){return E.identifier(k,P,v)}}else if(_isIdentifierStartCode(R)){v=consumeOtherIdentifier(k,v-1,E)}return v};const consumeDot=(k,v,E)=>{const P=v;v++;if(v===k.length)return v;const R=k.charCodeAt(v);if(_isDigit(R))return consumeNumericToken(k,v-2,E);if(!E.isSelector(k,v)||!_startsIdentifier(k,v))return v;v=_consumeIdentifier(k,v,E);if(E.class!==undefined)return E.class(k,P,v);return v};const consumeNumericToken=(k,v,E)=>{v=_consumeNumber(k,v,E);if(v===k.length)return v;if(_startsIdentifier(k,v))return _consumeIdentifier(k,v,E);const P=k.charCodeAt(v);if(P===Ue)return v+1;return v};const consumeOtherIdentifier=(k,v,E)=>{const P=v;v=_consumeIdentifier(k,v,E);if(v!==k.length&&k.charCodeAt(v)===le){v++;if(E.function!==undefined){return E.function(k,P,v)}}else{if(E.identifier!==undefined){return E.identifier(k,P,v)}}return v};const consumePotentialUrl=(k,v,E)=>{const P=v;v=_consumeIdentifier(k,v,E);const R=v+1;if(v===P+3&&k.slice(P,R).toLowerCase()==="url("){v++;let L=k.charCodeAt(v);while(_isWhiteSpace(L)){v++;if(v===k.length)return v;L=k.charCodeAt(v)}if(L===Me||L===Te){if(E.function!==undefined){return E.function(k,P,R)}return R}else{const R=v;let N;for(;;){if(L===q){v++;if(v===k.length)return v;v++}else if(_isWhiteSpace(L)){N=v;do{v++;if(v===k.length)return v;L=k.charCodeAt(v)}while(_isWhiteSpace(L));if(L!==pe)return v;v++;if(E.url!==undefined){return E.url(k,P,v,R,N)}return v}else if(L===pe){N=v;v++;if(E.url!==undefined){return E.url(k,P,v,R,N)}return v}else if(L===le){return v}else{v++}if(v===k.length)return v;L=k.charCodeAt(v)}}}else{if(E.identifier!==undefined){return E.identifier(k,P,v)}return v}};const consumePotentialPseudo=(k,v,E)=>{const P=v;v++;if(!E.isSelector(k,v)||!_startsIdentifier(k,v))return v;v=_consumeIdentifier(k,v,E);let R=k.charCodeAt(v);if(R===le){v++;if(E.pseudoFunction!==undefined){return E.pseudoFunction(k,P,v)}return v}if(E.pseudoClass!==undefined){return E.pseudoClass(k,P,v)}return v};const consumeLeftParenthesis=(k,v,E)=>{v++;if(E.leftParenthesis!==undefined){return E.leftParenthesis(k,v-1,v)}return v};const consumeRightParenthesis=(k,v,E)=>{v++;if(E.rightParenthesis!==undefined){return E.rightParenthesis(k,v-1,v)}return v};const consumeLeftCurlyBracket=(k,v,E)=>{v++;if(E.leftCurlyBracket!==undefined){return E.leftCurlyBracket(k,v-1,v)}return v};const consumeRightCurlyBracket=(k,v,E)=>{v++;if(E.rightCurlyBracket!==undefined){return E.rightCurlyBracket(k,v-1,v)}return v};const consumeSemicolon=(k,v,E)=>{v++;if(E.semicolon!==undefined){return E.semicolon(k,v-1,v)}return v};const consumeComma=(k,v,E)=>{v++;if(E.comma!==undefined){return E.comma(k,v-1,v)}return v};const _consumeIdentifier=(k,v)=>{for(;;){const E=k.charCodeAt(v);if(E===q){v++;if(v===k.length)return v;v++}else if(_isIdentifierStartCode(E)||_isDigit(E)||E===rt){v++}else{return v}}};const _consumeNumber=(k,v)=>{v++;if(v===k.length)return v;let E=k.charCodeAt(v);while(_isDigit(E)){v++;if(v===k.length)return v;E=k.charCodeAt(v)}if(E===je&&v+1!==k.length){const P=k.charCodeAt(v+1);if(_isDigit(P)){v+=2;E=k.charCodeAt(v);while(_isDigit(E)){v++;if(v===k.length)return v;E=k.charCodeAt(v)}}}if(E===Je||E===Ye){if(v+1!==k.length){const E=k.charCodeAt(v+2);if(_isDigit(E)){v+=2}else if((E===rt||E===st)&&v+2!==k.length){const E=k.charCodeAt(v+2);if(_isDigit(E)){v+=3}else{return v}}else{return v}}}else{return v}E=k.charCodeAt(v);while(_isDigit(E)){v++;if(v===k.length)return v;E=k.charCodeAt(v)}return v};const consumeLessThan=(k,v,E)=>{if(k.slice(v+1,v+4)==="!--")return v+4;return v+1};const consumeAt=(k,v,E)=>{const P=v;v++;if(v===k.length)return v;if(_startsIdentifier(k,v)){v=_consumeIdentifier(k,v,E);if(E.atKeyword!==undefined){v=E.atKeyword(k,P,v)}}return v};const consumeReverseSolidus=(k,v,E)=>{const P=v;v++;if(v===k.length)return v;if(_isTwoCodePointsAreValidEscape(k.charCodeAt(P),k.charCodeAt(v))){return consumeOtherIdentifier(k,v-1,E)}return v};const at=Array.from({length:128},((k,N)=>{switch(N){case v:case E:case P:case R:case L:return consumeSpace;case Me:return consumeString(N);case nt:return consumeNumberSign;case Te:return consumeString(N);case le:return consumeLeftParenthesis;case pe:return consumeRightParenthesis;case st:return consumeNumericToken;case qe:return consumeComma;case rt:return consumeMinus;case je:return consumeDot;case Ne:return consumePotentialPseudo;case Be:return consumeSemicolon;case ot:return consumeLessThan;case Ge:return consumeAt;case _e:return consumeDelimToken;case q:return consumeReverseSolidus;case Ie:return consumeDelimToken;case me:return consumeLeftCurlyBracket;case ye:return consumeRightCurlyBracket;case Qe:case Xe:return consumePotentialUrl;default:if(_isDigit(N))return consumeNumericToken;if(isIdentStartCodePoint(N)){return consumeOtherIdentifier}return consumeDelimToken}}));k.exports=(k,v)=>{let E=0;while(E{for(;;){let E=v;v=consumeComments(k,v,{});if(E===v){break}}return v};k.exports.eatWhitespace=(k,v)=>{while(_isWhiteSpace(k.charCodeAt(v))){v++}return v};k.exports.eatWhitespaceAndComments=(k,v)=>{for(;;){let E=v;v=consumeComments(k,v,{});while(_isWhiteSpace(k.charCodeAt(v))){v++}if(E===v){break}}return v};k.exports.eatWhiteLine=(k,P)=>{for(;;){const R=k.charCodeAt(P);if(_isSpace(R)){P++;continue}if(_isNewLine(R))P++;if(R===E&&k.charCodeAt(P+1)===v)P++;break}return P}},85865:function(k,v,E){"use strict";const{Tracer:P}=E(86853);const{JAVASCRIPT_MODULE_TYPE_AUTO:R,JAVASCRIPT_MODULE_TYPE_DYNAMIC:L,JAVASCRIPT_MODULE_TYPE_ESM:N,WEBASSEMBLY_MODULE_TYPE_ASYNC:q,WEBASSEMBLY_MODULE_TYPE_SYNC:ae,JSON_MODULE_TYPE:le}=E(93622);const pe=E(92198);const{dirname:me,mkdirpSync:ye}=E(57825);const _e=pe(E(63114),(()=>E(5877)),{name:"Profiling Plugin",baseDataPath:"options"});let Ie=undefined;try{Ie=E(31405)}catch(k){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(k){this.session=undefined;this.inspector=k;this._startTime=0}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new Ie.Session;this.session.connect()}catch(k){this.session=undefined;return Promise.resolve()}const k=process.hrtime();this._startTime=k[0]*1e6+Math.round(k[1]/1e3);return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(k,v){if(this.hasSession()){return new Promise(((E,P)=>this.session.post(k,v,((k,v)=>{if(k!==null){P(k)}else{E(v)}}))))}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop").then((({profile:k})=>{const v=process.hrtime();const E=v[0]*1e6+Math.round(v[1]/1e3);if(k.startTimeE){const v=k.endTime-k.startTime;const P=E-this._startTime;const R=Math.max(0,P-v);k.startTime=this._startTime+R/2;k.endTime=E-R/2}return{profile:k}}))}}const createTrace=(k,v)=>{const E=new P;const R=new Profiler(Ie);if(/\/|\\/.test(v)){const E=me(k,v);ye(k,E)}const L=k.createWriteStream(v);let N=0;E.pipe(L);E.instantEvent({name:"TracingStartedInPage",id:++N,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});E.instantEvent({name:"TracingStartedInBrowser",id:++N,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:E,counter:N,profiler:R,end:k=>{E.push("]");L.on("close",(()=>{k()}));E.push(null)}}};const Me="ProfilingPlugin";class ProfilingPlugin{constructor(k={}){_e(k);this.outputPath=k.outputPath||"events.json"}apply(k){const v=createTrace(k.intermediateFileSystem,this.outputPath);v.profiler.startProfiling();Object.keys(k.hooks).forEach((E=>{const P=k.hooks[E];if(P){P.intercept(makeInterceptorFor("Compiler",v)(E))}}));Object.keys(k.resolverFactory.hooks).forEach((E=>{const P=k.resolverFactory.hooks[E];if(P){P.intercept(makeInterceptorFor("Resolver",v)(E))}}));k.hooks.compilation.tap(Me,((k,{normalModuleFactory:E,contextModuleFactory:P})=>{interceptAllHooksFor(k,v,"Compilation");interceptAllHooksFor(E,v,"Normal Module Factory");interceptAllHooksFor(P,v,"Context Module Factory");interceptAllParserHooks(E,v);interceptAllJavascriptModulesPluginHooks(k,v)}));k.hooks.done.tapAsync({name:Me,stage:Infinity},((E,P)=>{if(k.watchMode)return P();v.profiler.stopProfiling().then((k=>{if(k===undefined){v.profiler.destroy();v.end(P);return}const E=k.profile.startTime;const R=k.profile.endTime;v.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++v.counter,cat:["toplevel"],ts:E,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});v.trace.completeEvent({name:"EvaluateScript",id:++v.counter,cat:["devtools.timeline"],ts:E,dur:R-E,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});v.trace.instantEvent({name:"CpuProfile",id:++v.counter,cat:["disabled-by-default-devtools.timeline"],ts:R,args:{data:{cpuProfile:k.profile}}});v.profiler.destroy();v.end(P)}))}))}}const interceptAllHooksFor=(k,v,E)=>{if(Reflect.has(k,"hooks")){Object.keys(k.hooks).forEach((P=>{const R=k.hooks[P];if(R&&!R._fakeHook){R.intercept(makeInterceptorFor(E,v)(P))}}))}};const interceptAllParserHooks=(k,v)=>{const E=[R,L,N,le,q,ae];E.forEach((E=>{k.hooks.parser.for(E).tap(Me,((k,E)=>{interceptAllHooksFor(k,v,"Parser")}))}))};const interceptAllJavascriptModulesPluginHooks=(k,v)=>{interceptAllHooksFor({hooks:E(89168).getCompilationHooks(k)},v,"JavascriptModulesPlugin")};const makeInterceptorFor=(k,v)=>k=>({register:E=>{const{name:P,type:R,fn:L}=E;const N=P===Me?L:makeNewProfiledTapFn(k,v,{name:P,type:R,fn:L});return{...E,fn:N}}});const makeNewProfiledTapFn=(k,v,{name:E,type:P,fn:R})=>{const L=["blink.user_timing"];switch(P){case"promise":return(...k)=>{const P=++v.counter;v.trace.begin({name:E,id:P,cat:L});const N=R(...k);return N.then((k=>{v.trace.end({name:E,id:P,cat:L});return k}))};case"async":return(...k)=>{const P=++v.counter;v.trace.begin({name:E,id:P,cat:L});const N=k.pop();R(...k,((...k)=>{v.trace.end({name:E,id:P,cat:L});N(...k)}))};case"sync":return(...k)=>{const P=++v.counter;if(E===Me){return R(...k)}v.trace.begin({name:E,id:P,cat:L});let N;try{N=R(...k)}catch(k){v.trace.end({name:E,id:P,cat:L});throw k}v.trace.end({name:E,id:P,cat:L});return N};default:break}};k.exports=ProfilingPlugin;k.exports.Profiler=Profiler},43804:function(k,v,E){"use strict";const P=E(56727);const R=E(58528);const L=E(53139);const N={f:{definition:"var __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, ${P.require}, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[P.require,P.exports,P.module]},o:{definition:"",content:"!(module.exports = #)",requests:[P.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, ${P.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:[P.require,P.exports,P.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:[P.exports,P.module]},ao:{definition:"",content:"!(#, module.exports = #)",requests:[P.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:[P.exports,P.module]},lf:{definition:"var XXX, XXXmodule;",content:`!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, ${P.require}, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))`,requests:[P.require,P.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, ${P.require}, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))`,requests:[P.require,P.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 L{constructor(k,v,E,P,R){super();this.range=k;this.arrayRange=v;this.functionRange=E;this.objectRange=P;this.namedModule=R;this.localModule=null}get type(){return"amd define"}serialize(k){const{write:v}=k;v(this.range);v(this.arrayRange);v(this.functionRange);v(this.objectRange);v(this.namedModule);v(this.localModule);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.arrayRange=v();this.functionRange=v();this.objectRange=v();this.namedModule=v();this.localModule=v();super.deserialize(k)}}R(AMDDefineDependency,"webpack/lib/dependencies/AMDDefineDependency");AMDDefineDependency.Template=class AMDDefineDependencyTemplate extends L.Template{apply(k,v,{runtimeRequirements:E}){const P=k;const R=this.branch(P);const{definition:L,content:q,requests:ae}=N[R];for(const k of ae){E.add(k)}this.replace(P,v,L,q)}localModuleVar(k){return k.localModule&&k.localModule.used&&k.localModule.variableName()}branch(k){const v=this.localModuleVar(k)?"l":"";const E=k.arrayRange?"a":"";const P=k.objectRange?"o":"";const R=k.functionRange?"f":"";return v+E+P+R}replace(k,v,E,P){const R=this.localModuleVar(k);if(R){P=P.replace(/XXX/g,R.replace(/\$/g,"$$$$"));E=E.replace(/XXX/g,R.replace(/\$/g,"$$$$"))}if(k.namedModule){P=P.replace(/YYY/g,JSON.stringify(k.namedModule))}const L=P.split("#");if(E)v.insert(0,E);let N=k.range[0];if(k.arrayRange){v.replace(N,k.arrayRange[0]-1,L.shift());N=k.arrayRange[1]}if(k.objectRange){v.replace(N,k.objectRange[0]-1,L.shift());N=k.objectRange[1]}else if(k.functionRange){v.replace(N,k.functionRange[0]-1,L.shift());N=k.functionRange[1]}v.replace(N,k.range[1]-1,L.shift());if(L.length>0)throw new Error("Implementation error")}};k.exports=AMDDefineDependency},87655:function(k,v,E){"use strict";const P=E(56727);const R=E(43804);const L=E(78326);const N=E(54220);const q=E(80760);const ae=E(60381);const le=E(25012);const pe=E(71203);const me=E(41808);const{addLocalModule:ye,getLocalModule:_e}=E(18363);const isBoundFunctionExpression=k=>{if(k.type!=="CallExpression")return false;if(k.callee.type!=="MemberExpression")return false;if(k.callee.computed)return false;if(k.callee.object.type!=="FunctionExpression")return false;if(k.callee.property.type!=="Identifier")return false;if(k.callee.property.name!=="bind")return false;return true};const isUnboundFunctionExpression=k=>{if(k.type==="FunctionExpression")return true;if(k.type==="ArrowFunctionExpression")return true;return false};const isCallable=k=>{if(isUnboundFunctionExpression(k))return true;if(isBoundFunctionExpression(k))return true;return false};class AMDDefineDependencyParserPlugin{constructor(k){this.options=k}apply(k){k.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,k))}processArray(k,v,E,R,L){if(E.isArray()){E.items.forEach(((E,P)=>{if(E.isString()&&["require","module","exports"].includes(E.string))R[P]=E.string;const N=this.processItem(k,v,E,L);if(N===undefined){this.processContext(k,v,E)}}));return true}else if(E.isConstArray()){const L=[];E.array.forEach(((E,N)=>{let q;let ae;if(E==="require"){R[N]=E;q=P.require}else if(["exports","module"].includes(E)){R[N]=E;q=E}else if(ae=_e(k.state,E)){ae.flagUsed();q=new me(ae,undefined,false);q.loc=v.loc;k.state.module.addPresentationalDependency(q)}else{q=this.newRequireItemDependency(E);q.loc=v.loc;q.optional=!!k.scope.inTry;k.state.current.addDependency(q)}L.push(q)}));const N=this.newRequireArrayDependency(L,E.range);N.loc=v.loc;N.optional=!!k.scope.inTry;k.state.module.addPresentationalDependency(N);return true}}processItem(k,v,E,R){if(E.isConditional()){E.options.forEach((E=>{const P=this.processItem(k,v,E);if(P===undefined){this.processContext(k,v,E)}}));return true}else if(E.isString()){let L,N;if(E.string==="require"){L=new ae(P.require,E.range,[P.require])}else if(E.string==="exports"){L=new ae("exports",E.range,[P.exports])}else if(E.string==="module"){L=new ae("module",E.range,[P.module])}else if(N=_e(k.state,E.string,R)){N.flagUsed();L=new me(N,E.range,false)}else{L=this.newRequireItemDependency(E.string,E.range);L.optional=!!k.scope.inTry;k.state.current.addDependency(L);return true}L.loc=v.loc;k.state.module.addPresentationalDependency(L);return true}}processContext(k,v,E){const P=le.create(N,E.range,E,v,this.options,{category:"amd"},k);if(!P)return;P.loc=v.loc;P.optional=!!k.scope.inTry;k.state.current.addDependency(P);return true}processCallDefine(k,v){let E,P,R,L;switch(v.arguments.length){case 1:if(isCallable(v.arguments[0])){P=v.arguments[0]}else if(v.arguments[0].type==="ObjectExpression"){R=v.arguments[0]}else{R=P=v.arguments[0]}break;case 2:if(v.arguments[0].type==="Literal"){L=v.arguments[0].value;if(isCallable(v.arguments[1])){P=v.arguments[1]}else if(v.arguments[1].type==="ObjectExpression"){R=v.arguments[1]}else{R=P=v.arguments[1]}}else{E=v.arguments[0];if(isCallable(v.arguments[1])){P=v.arguments[1]}else if(v.arguments[1].type==="ObjectExpression"){R=v.arguments[1]}else{R=P=v.arguments[1]}}break;case 3:L=v.arguments[0].value;E=v.arguments[1];if(isCallable(v.arguments[2])){P=v.arguments[2]}else if(v.arguments[2].type==="ObjectExpression"){R=v.arguments[2]}else{R=P=v.arguments[2]}break;default:return}pe.bailout(k.state);let N=null;let q=0;if(P){if(isUnboundFunctionExpression(P)){N=P.params}else if(isBoundFunctionExpression(P)){N=P.callee.object.params;q=P.arguments.length-1;if(q<0){q=0}}}let ae=new Map;if(E){const P={};const R=k.evaluateExpression(E);const le=this.processArray(k,v,R,P,L);if(!le)return;if(N){N=N.slice(q).filter(((v,E)=>{if(P[E]){ae.set(v.name,k.getVariableInfo(P[E]));return false}return true}))}}else{const v=["require","exports","module"];if(N){N=N.slice(q).filter(((E,P)=>{if(v[P]){ae.set(E.name,k.getVariableInfo(v[P]));return false}return true}))}}let le;if(P&&isUnboundFunctionExpression(P)){le=k.scope.inTry;k.inScope(N,(()=>{for(const[v,E]of ae){k.setVariable(v,E)}k.scope.inTry=le;if(P.body.type==="BlockStatement"){k.detectMode(P.body.body);const v=k.prevStatement;k.preWalkStatement(P.body);k.prevStatement=v;k.walkStatement(P.body)}else{k.walkExpression(P.body)}}))}else if(P&&isBoundFunctionExpression(P)){le=k.scope.inTry;k.inScope(P.callee.object.params.filter((k=>!["require","module","exports"].includes(k.name))),(()=>{for(const[v,E]of ae){k.setVariable(v,E)}k.scope.inTry=le;if(P.callee.object.body.type==="BlockStatement"){k.detectMode(P.callee.object.body.body);const v=k.prevStatement;k.preWalkStatement(P.callee.object.body);k.prevStatement=v;k.walkStatement(P.callee.object.body)}else{k.walkExpression(P.callee.object.body)}}));if(P.arguments){k.walkExpressions(P.arguments)}}else if(P||R){k.walkExpression(P||R)}const me=this.newDefineDependency(v.range,E?E.range:null,P?P.range:null,R?R.range:null,L?L:null);me.loc=v.loc;if(L){me.localModule=ye(k.state,L)}k.state.module.addPresentationalDependency(me);return true}newDefineDependency(k,v,E,P,L){return new R(k,v,E,P,L)}newRequireArrayDependency(k,v){return new L(k,v)}newRequireItemDependency(k,v){return new q(k,v)}}k.exports=AMDDefineDependencyParserPlugin},80471:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R}=E(93622);const L=E(56727);const{approve:N,evaluateToIdentifier:q,evaluateToString:ae,toConstantDependency:le}=E(80784);const pe=E(43804);const me=E(87655);const ye=E(78326);const _e=E(54220);const Ie=E(45746);const Me=E(83138);const Te=E(80760);const{AMDDefineRuntimeModule:je,AMDOptionsRuntimeModule:Ne}=E(60814);const Be=E(60381);const qe=E(41808);const Ue=E(63639);const Ge="AMDPlugin";class AMDPlugin{constructor(k){this.amdOptions=k}apply(k){const v=this.amdOptions;k.hooks.compilation.tap(Ge,((k,{contextModuleFactory:E,normalModuleFactory:He})=>{k.dependencyTemplates.set(Me,new Me.Template);k.dependencyFactories.set(Te,He);k.dependencyTemplates.set(Te,new Te.Template);k.dependencyTemplates.set(ye,new ye.Template);k.dependencyFactories.set(_e,E);k.dependencyTemplates.set(_e,new _e.Template);k.dependencyTemplates.set(pe,new pe.Template);k.dependencyTemplates.set(Ue,new Ue.Template);k.dependencyTemplates.set(qe,new qe.Template);k.hooks.runtimeRequirementInModule.for(L.amdDefine).tap(Ge,((k,v)=>{v.add(L.require)}));k.hooks.runtimeRequirementInModule.for(L.amdOptions).tap(Ge,((k,v)=>{v.add(L.requireScope)}));k.hooks.runtimeRequirementInTree.for(L.amdDefine).tap(Ge,((v,E)=>{k.addRuntimeModule(v,new je)}));k.hooks.runtimeRequirementInTree.for(L.amdOptions).tap(Ge,((E,P)=>{k.addRuntimeModule(E,new Ne(v))}));const handler=(k,v)=>{if(v.amd!==undefined&&!v.amd)return;const tapOptionsHooks=(v,E,P)=>{k.hooks.expression.for(v).tap(Ge,le(k,L.amdOptions,[L.amdOptions]));k.hooks.evaluateIdentifier.for(v).tap(Ge,q(v,E,P,true));k.hooks.evaluateTypeof.for(v).tap(Ge,ae("object"));k.hooks.typeof.for(v).tap(Ge,le(k,JSON.stringify("object")))};new Ie(v).apply(k);new me(v).apply(k);tapOptionsHooks("define.amd","define",(()=>"amd"));tapOptionsHooks("require.amd","require",(()=>["amd"]));tapOptionsHooks("__webpack_amd_options__","__webpack_amd_options__",(()=>[]));k.hooks.expression.for("define").tap(Ge,(v=>{const E=new Be(L.amdDefine,v.range,[L.amdDefine]);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}));k.hooks.typeof.for("define").tap(Ge,le(k,JSON.stringify("function")));k.hooks.evaluateTypeof.for("define").tap(Ge,ae("function"));k.hooks.canRename.for("define").tap(Ge,N);k.hooks.rename.for("define").tap(Ge,(v=>{const E=new Be(L.amdDefine,v.range,[L.amdDefine]);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return false}));k.hooks.typeof.for("require").tap(Ge,le(k,JSON.stringify("function")));k.hooks.evaluateTypeof.for("require").tap(Ge,ae("function"))};He.hooks.parser.for(P).tap(Ge,handler);He.hooks.parser.for(R).tap(Ge,handler)}))}}k.exports=AMDPlugin},78326:function(k,v,E){"use strict";const P=E(30601);const R=E(58528);const L=E(53139);class AMDRequireArrayDependency extends L{constructor(k,v){super();this.depsArray=k;this.range=v}get type(){return"amd require array"}get category(){return"amd"}serialize(k){const{write:v}=k;v(this.depsArray);v(this.range);super.serialize(k)}deserialize(k){const{read:v}=k;this.depsArray=v();this.range=v();super.deserialize(k)}}R(AMDRequireArrayDependency,"webpack/lib/dependencies/AMDRequireArrayDependency");AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate extends P{apply(k,v,E){const P=k;const R=this.getContent(P,E);v.replace(P.range[0],P.range[1]-1,R)}getContent(k,v){const E=k.depsArray.map((k=>this.contentForDependency(k,v)));return`[${E.join(", ")}]`}contentForDependency(k,{runtimeTemplate:v,moduleGraph:E,chunkGraph:P,runtimeRequirements:R}){if(typeof k==="string"){return k}if(k.localModule){return k.localModule.variableName()}else{return v.moduleExports({module:E.getModule(k),chunkGraph:P,request:k.request,runtimeRequirements:R})}}};k.exports=AMDRequireArrayDependency},54220:function(k,v,E){"use strict";const P=E(58528);const R=E(51395);class AMDRequireContextDependency extends R{constructor(k,v,E){super(k);this.range=v;this.valueRange=E}get type(){return"amd require context"}get category(){return"amd"}serialize(k){const{write:v}=k;v(this.range);v(this.valueRange);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.valueRange=v();super.deserialize(k)}}P(AMDRequireContextDependency,"webpack/lib/dependencies/AMDRequireContextDependency");AMDRequireContextDependency.Template=E(64077);k.exports=AMDRequireContextDependency},39892:function(k,v,E){"use strict";const P=E(75081);const R=E(58528);class AMDRequireDependenciesBlock extends P{constructor(k,v){super(null,k,v)}}R(AMDRequireDependenciesBlock,"webpack/lib/dependencies/AMDRequireDependenciesBlock");k.exports=AMDRequireDependenciesBlock},45746:function(k,v,E){"use strict";const P=E(56727);const R=E(9415);const L=E(78326);const N=E(54220);const q=E(39892);const ae=E(83138);const le=E(80760);const pe=E(60381);const me=E(25012);const ye=E(41808);const{getLocalModule:_e}=E(18363);const Ie=E(63639);const Me=E(21271);class AMDRequireDependenciesBlockParserPlugin{constructor(k){this.options=k}processFunctionArgument(k,v){let E=true;const P=Me(v);if(P){k.inScope(P.fn.params.filter((k=>!["require","module","exports"].includes(k.name))),(()=>{if(P.fn.body.type==="BlockStatement"){k.walkStatement(P.fn.body)}else{k.walkExpression(P.fn.body)}}));k.walkExpressions(P.expressions);if(P.needThis===false){E=false}}else{k.walkExpression(v)}return E}apply(k){k.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,k))}processArray(k,v,E){if(E.isArray()){for(const P of E.items){const E=this.processItem(k,v,P);if(E===undefined){this.processContext(k,v,P)}}return true}else if(E.isConstArray()){const R=[];for(const L of E.array){let E,N;if(L==="require"){E=P.require}else if(["exports","module"].includes(L)){E=L}else if(N=_e(k.state,L)){N.flagUsed();E=new ye(N,undefined,false);E.loc=v.loc;k.state.module.addPresentationalDependency(E)}else{E=this.newRequireItemDependency(L);E.loc=v.loc;E.optional=!!k.scope.inTry;k.state.current.addDependency(E)}R.push(E)}const L=this.newRequireArrayDependency(R,E.range);L.loc=v.loc;L.optional=!!k.scope.inTry;k.state.module.addPresentationalDependency(L);return true}}processItem(k,v,E){if(E.isConditional()){for(const P of E.options){const E=this.processItem(k,v,P);if(E===undefined){this.processContext(k,v,P)}}return true}else if(E.isString()){let R,L;if(E.string==="require"){R=new pe(P.require,E.string,[P.require])}else if(E.string==="module"){R=new pe(k.state.module.buildInfo.moduleArgument,E.range,[P.module])}else if(E.string==="exports"){R=new pe(k.state.module.buildInfo.exportsArgument,E.range,[P.exports])}else if(L=_e(k.state,E.string)){L.flagUsed();R=new ye(L,E.range,false)}else{R=this.newRequireItemDependency(E.string,E.range);R.loc=v.loc;R.optional=!!k.scope.inTry;k.state.current.addDependency(R);return true}R.loc=v.loc;k.state.module.addPresentationalDependency(R);return true}}processContext(k,v,E){const P=me.create(N,E.range,E,v,this.options,{category:"amd"},k);if(!P)return;P.loc=v.loc;P.optional=!!k.scope.inTry;k.state.current.addDependency(P);return true}processArrayForRequestString(k){if(k.isArray()){const v=k.items.map((k=>this.processItemForRequestString(k)));if(v.every(Boolean))return v.join(" ")}else if(k.isConstArray()){return k.array.join(" ")}}processItemForRequestString(k){if(k.isConditional()){const v=k.options.map((k=>this.processItemForRequestString(k)));if(v.every(Boolean))return v.join("|")}else if(k.isString()){return k.string}}processCallRequire(k,v){let E;let P;let L;let N;const q=k.state.current;if(v.arguments.length>=1){E=k.evaluateExpression(v.arguments[0]);P=this.newRequireDependenciesBlock(v.loc,this.processArrayForRequestString(E));L=this.newRequireDependency(v.range,E.range,v.arguments.length>1?v.arguments[1].range:null,v.arguments.length>2?v.arguments[2].range:null);L.loc=v.loc;P.addDependency(L);k.state.current=P}if(v.arguments.length===1){k.inScope([],(()=>{N=this.processArray(k,v,E)}));k.state.current=q;if(!N)return;k.state.current.addBlock(P);return true}if(v.arguments.length===2||v.arguments.length===3){try{k.inScope([],(()=>{N=this.processArray(k,v,E)}));if(!N){const E=new Ie("unsupported",v.range);q.addPresentationalDependency(E);if(k.state.module){k.state.module.addError(new R("Cannot statically analyse 'require(…, …)' in line "+v.loc.start.line,v.loc))}P=null;return true}L.functionBindThis=this.processFunctionArgument(k,v.arguments[1]);if(v.arguments.length===3){L.errorCallbackBindThis=this.processFunctionArgument(k,v.arguments[2])}}finally{k.state.current=q;if(P)k.state.current.addBlock(P)}return true}}newRequireDependenciesBlock(k,v){return new q(k,v)}newRequireDependency(k,v,E,P){return new ae(k,v,E,P)}newRequireItemDependency(k,v){return new le(k,v)}newRequireArrayDependency(k,v){return new L(k,v)}}k.exports=AMDRequireDependenciesBlockParserPlugin},83138:function(k,v,E){"use strict";const P=E(56727);const R=E(58528);const L=E(53139);class AMDRequireDependency extends L{constructor(k,v,E,P){super();this.outerRange=k;this.arrayRange=v;this.functionRange=E;this.errorCallbackRange=P;this.functionBindThis=false;this.errorCallbackBindThis=false}get category(){return"amd"}serialize(k){const{write:v}=k;v(this.outerRange);v(this.arrayRange);v(this.functionRange);v(this.errorCallbackRange);v(this.functionBindThis);v(this.errorCallbackBindThis);super.serialize(k)}deserialize(k){const{read:v}=k;this.outerRange=v();this.arrayRange=v();this.functionRange=v();this.errorCallbackRange=v();this.functionBindThis=v();this.errorCallbackBindThis=v();super.deserialize(k)}}R(AMDRequireDependency,"webpack/lib/dependencies/AMDRequireDependency");AMDRequireDependency.Template=class AMDRequireDependencyTemplate extends L.Template{apply(k,v,{runtimeTemplate:E,moduleGraph:R,chunkGraph:L,runtimeRequirements:N}){const q=k;const ae=R.getParentBlock(q);const le=E.blockPromise({chunkGraph:L,block:ae,message:"AMD require",runtimeRequirements:N});if(q.arrayRange&&!q.functionRange){const k=`${le}.then(function() {`;const E=`;})['catch'](${P.uncaughtErrorHandler})`;N.add(P.uncaughtErrorHandler);v.replace(q.outerRange[0],q.arrayRange[0]-1,k);v.replace(q.arrayRange[1],q.outerRange[1]-1,E);return}if(q.functionRange&&!q.arrayRange){const k=`${le}.then((`;const E=`).bind(exports, ${P.require}, exports, module))['catch'](${P.uncaughtErrorHandler})`;N.add(P.uncaughtErrorHandler);v.replace(q.outerRange[0],q.functionRange[0]-1,k);v.replace(q.functionRange[1],q.outerRange[1]-1,E);return}if(q.arrayRange&&q.functionRange&&q.errorCallbackRange){const k=`${le}.then(function() { `;const E=`}${q.functionBindThis?".bind(this)":""})['catch'](`;const P=`${q.errorCallbackBindThis?".bind(this)":""})`;v.replace(q.outerRange[0],q.arrayRange[0]-1,k);v.insert(q.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");v.replace(q.arrayRange[1],q.functionRange[0]-1,"; (");v.insert(q.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");v.replace(q.functionRange[1],q.errorCallbackRange[0]-1,E);v.replace(q.errorCallbackRange[1],q.outerRange[1]-1,P);return}if(q.arrayRange&&q.functionRange){const k=`${le}.then(function() { `;const E=`}${q.functionBindThis?".bind(this)":""})['catch'](${P.uncaughtErrorHandler})`;N.add(P.uncaughtErrorHandler);v.replace(q.outerRange[0],q.arrayRange[0]-1,k);v.insert(q.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");v.replace(q.arrayRange[1],q.functionRange[0]-1,"; (");v.insert(q.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");v.replace(q.functionRange[1],q.outerRange[1]-1,E)}}};k.exports=AMDRequireDependency},80760:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(29729);class AMDRequireItemDependency extends R{constructor(k,v){super(k);this.range=v}get type(){return"amd require"}get category(){return"amd"}}P(AMDRequireItemDependency,"webpack/lib/dependencies/AMDRequireItemDependency");AMDRequireItemDependency.Template=L;k.exports=AMDRequireItemDependency},60814:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class AMDDefineRuntimeModule extends R{constructor(){super("amd define")}generate(){return L.asString([`${P.amdDefine} = function () {`,L.indent("throw new Error('define cannot be used indirect');"),"};"])}}class AMDOptionsRuntimeModule extends R{constructor(k){super("amd options");this.options=k}generate(){return L.asString([`${P.amdOptions} = ${JSON.stringify(this.options)};`])}}v.AMDDefineRuntimeModule=AMDDefineRuntimeModule;v.AMDOptionsRuntimeModule=AMDOptionsRuntimeModule},11602:function(k,v,E){"use strict";const P=E(30601);const R=E(88113);const L=E(58528);const N=E(53139);class CachedConstDependency extends N{constructor(k,v,E){super();this.expression=k;this.range=v;this.identifier=E;this._hashUpdate=undefined}updateHash(k,v){if(this._hashUpdate===undefined)this._hashUpdate=""+this.identifier+this.range+this.expression;k.update(this._hashUpdate)}serialize(k){const{write:v}=k;v(this.expression);v(this.range);v(this.identifier);super.serialize(k)}deserialize(k){const{read:v}=k;this.expression=v();this.range=v();this.identifier=v();super.deserialize(k)}}L(CachedConstDependency,"webpack/lib/dependencies/CachedConstDependency");CachedConstDependency.Template=class CachedConstDependencyTemplate extends P{apply(k,v,{runtimeTemplate:E,dependencyTemplates:P,initFragments:L}){const N=k;L.push(new R(`var ${N.identifier} = ${N.expression};\n`,R.STAGE_CONSTANTS,0,`const ${N.identifier}`));if(typeof N.range==="number"){v.insert(N.range,N.identifier);return}v.replace(N.range[0],N.range[1]-1,N.identifier)}};k.exports=CachedConstDependency},73892:function(k,v,E){"use strict";const P=E(56727);v.handleDependencyBase=(k,v,E)=>{let R=undefined;let L;switch(k){case"exports":E.add(P.exports);R=v.exportsArgument;L="expression";break;case"module.exports":E.add(P.module);R=`${v.moduleArgument}.exports`;L="expression";break;case"this":E.add(P.thisAsExports);R="this";L="expression";break;case"Object.defineProperty(exports)":E.add(P.exports);R=v.exportsArgument;L="Object.defineProperty";break;case"Object.defineProperty(module.exports)":E.add(P.module);R=`${v.moduleArgument}.exports`;L="Object.defineProperty";break;case"Object.defineProperty(this)":E.add(P.thisAsExports);R="this";L="Object.defineProperty";break;default:throw new Error(`Unsupported base ${k}`)}return[L,R]}},21542:function(k,v,E){"use strict";const P=E(16848);const{UsageState:R}=E(11172);const L=E(95041);const{equals:N}=E(68863);const q=E(58528);const ae=E(10720);const{handleDependencyBase:le}=E(73892);const pe=E(77373);const me=E(49798);const ye=Symbol("CommonJsExportRequireDependency.ids");const _e={};class CommonJsExportRequireDependency extends pe{constructor(k,v,E,P,R,L,N){super(R);this.range=k;this.valueRange=v;this.base=E;this.names=P;this.ids=L;this.resultUsed=N;this.asiSafe=undefined}get type(){return"cjs export require"}couldAffectReferencingModule(){return P.TRANSITIVE}getIds(k){return k.getMeta(this)[ye]||this.ids}setIds(k,v){k.getMeta(this)[ye]=v}getReferencedExports(k,v){const E=this.getIds(k);const getFullResult=()=>{if(E.length===0){return P.EXPORTS_OBJECT_REFERENCED}else{return[{name:E,canMangle:false}]}};if(this.resultUsed)return getFullResult();let L=k.getExportsInfo(k.getParentModule(this));for(const k of this.names){const E=L.getReadOnlyExportInfo(k);const N=E.getUsed(v);if(N===R.Unused)return P.NO_EXPORTS_REFERENCED;if(N!==R.OnlyPropertiesUsed)return getFullResult();L=E.exportsInfo;if(!L)return getFullResult()}if(L.otherExportsInfo.getUsed(v)!==R.Unused){return getFullResult()}const N=[];for(const k of L.orderedExports){me(v,N,E.concat(k.name),k,false)}return N.map((k=>({name:k,canMangle:false})))}getExports(k){const v=this.getIds(k);if(this.names.length===1){const E=this.names[0];const P=k.getConnection(this);if(!P)return;return{exports:[{name:E,from:P,export:v.length===0?null:v,canMangle:!(E in _e)&&false}],dependencies:[P.module]}}else if(this.names.length>0){const k=this.names[0];return{exports:[{name:k,canMangle:!(k in _e)&&false}],dependencies:undefined}}else{const E=k.getConnection(this);if(!E)return;const P=this.getStarReexports(k,undefined,E.module);if(P){return{exports:Array.from(P.exports,(k=>({name:k,from:E,export:v.concat(k),canMangle:!(k in _e)&&false}))),dependencies:[E.module]}}else{return{exports:true,from:v.length===0?E:undefined,canMangle:false,dependencies:[E.module]}}}}getStarReexports(k,v,E=k.getModule(this)){let P=k.getExportsInfo(E);const L=this.getIds(k);if(L.length>0)P=P.getNestedExportsInfo(L);let N=k.getExportsInfo(k.getParentModule(this));if(this.names.length>0)N=N.getNestedExportsInfo(this.names);const q=P&&P.otherExportsInfo.provided===false;const ae=N&&N.otherExportsInfo.getUsed(v)===R.Unused;if(!q&&!ae){return}const le=E.getExportsType(k,false)==="namespace";const pe=new Set;const me=new Set;if(ae){for(const k of N.orderedExports){const E=k.name;if(k.getUsed(v)===R.Unused)continue;if(E==="__esModule"&&le){pe.add(E)}else if(P){const k=P.getReadOnlyExportInfo(E);if(k.provided===false)continue;pe.add(E);if(k.provided===true)continue;me.add(E)}else{pe.add(E);me.add(E)}}}else if(q){for(const k of P.orderedExports){const E=k.name;if(k.provided===false)continue;if(N){const k=N.getReadOnlyExportInfo(E);if(k.getUsed(v)===R.Unused)continue}pe.add(E);if(k.provided===true)continue;me.add(E)}if(le){pe.add("__esModule");me.delete("__esModule")}}return{exports:pe,checked:me}}serialize(k){const{write:v}=k;v(this.asiSafe);v(this.range);v(this.valueRange);v(this.base);v(this.names);v(this.ids);v(this.resultUsed);super.serialize(k)}deserialize(k){const{read:v}=k;this.asiSafe=v();this.range=v();this.valueRange=v();this.base=v();this.names=v();this.ids=v();this.resultUsed=v();super.deserialize(k)}}q(CommonJsExportRequireDependency,"webpack/lib/dependencies/CommonJsExportRequireDependency");CommonJsExportRequireDependency.Template=class CommonJsExportRequireDependencyTemplate extends pe.Template{apply(k,v,{module:E,runtimeTemplate:P,chunkGraph:R,moduleGraph:q,runtimeRequirements:pe,runtime:me}){const ye=k;const _e=q.getExportsInfo(E).getUsedName(ye.names,me);const[Ie,Me]=le(ye.base,E,pe);const Te=q.getModule(ye);let je=P.moduleExports({module:Te,chunkGraph:R,request:ye.request,weak:ye.weak,runtimeRequirements:pe});if(Te){const k=ye.getIds(q);const v=q.getExportsInfo(Te).getUsedName(k,me);if(v){const E=N(v,k)?"":L.toNormalComment(ae(k))+" ";je+=`${E}${ae(v)}`}}switch(Ie){case"expression":v.replace(ye.range[0],ye.range[1]-1,_e?`${Me}${ae(_e)} = ${je}`:`/* unused reexport */ ${je}`);return;case"Object.defineProperty":throw new Error("TODO");default:throw new Error("Unexpected type")}}};k.exports=CommonJsExportRequireDependency},57771:function(k,v,E){"use strict";const P=E(88113);const R=E(58528);const L=E(10720);const{handleDependencyBase:N}=E(73892);const q=E(53139);const ae={};class CommonJsExportsDependency extends q{constructor(k,v,E,P){super();this.range=k;this.valueRange=v;this.base=E;this.names=P}get type(){return"cjs exports"}getExports(k){const v=this.names[0];return{exports:[{name:v,canMangle:!(v in ae)}],dependencies:undefined}}serialize(k){const{write:v}=k;v(this.range);v(this.valueRange);v(this.base);v(this.names);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.valueRange=v();this.base=v();this.names=v();super.deserialize(k)}}R(CommonJsExportsDependency,"webpack/lib/dependencies/CommonJsExportsDependency");CommonJsExportsDependency.Template=class CommonJsExportsDependencyTemplate extends q.Template{apply(k,v,{module:E,moduleGraph:R,initFragments:q,runtimeRequirements:ae,runtime:le}){const pe=k;const me=R.getExportsInfo(E).getUsedName(pe.names,le);const[ye,_e]=N(pe.base,E,ae);switch(ye){case"expression":if(!me){q.push(new P("var __webpack_unused_export__;\n",P.STAGE_CONSTANTS,0,"__webpack_unused_export__"));v.replace(pe.range[0],pe.range[1]-1,"__webpack_unused_export__");return}v.replace(pe.range[0],pe.range[1]-1,`${_e}${L(me)}`);return;case"Object.defineProperty":if(!me){q.push(new P("var __webpack_unused_export__;\n",P.STAGE_CONSTANTS,0,"__webpack_unused_export__"));v.replace(pe.range[0],pe.valueRange[0]-1,"__webpack_unused_export__ = (");v.replace(pe.valueRange[1],pe.range[1]-1,")");return}v.replace(pe.range[0],pe.valueRange[0]-1,`Object.defineProperty(${_e}${L(me.slice(0,-1))}, ${JSON.stringify(me[me.length-1])}, (`);v.replace(pe.valueRange[1],pe.range[1]-1,"))");return}}};k.exports=CommonJsExportsDependency},416:function(k,v,E){"use strict";const P=E(56727);const R=E(1811);const{evaluateToString:L}=E(80784);const N=E(10720);const q=E(21542);const ae=E(57771);const le=E(23343);const pe=E(71203);const me=E(71803);const ye=E(10699);const getValueOfPropertyDescription=k=>{if(k.type!=="ObjectExpression")return;for(const v of k.properties){if(v.computed)continue;const k=v.key;if(k.type!=="Identifier"||k.name!=="value")continue;return v.value}};const isTruthyLiteral=k=>{switch(k.type){case"Literal":return!!k.value;case"UnaryExpression":if(k.operator==="!")return isFalsyLiteral(k.argument)}return false};const isFalsyLiteral=k=>{switch(k.type){case"Literal":return!k.value;case"UnaryExpression":if(k.operator==="!")return isTruthyLiteral(k.argument)}return false};const parseRequireCall=(k,v)=>{const E=[];while(v.type==="MemberExpression"){if(v.object.type==="Super")return;if(!v.property)return;const k=v.property;if(v.computed){if(k.type!=="Literal")return;E.push(`${k.value}`)}else{if(k.type!=="Identifier")return;E.push(k.name)}v=v.object}if(v.type!=="CallExpression"||v.arguments.length!==1)return;const P=v.callee;if(P.type!=="Identifier"||k.getVariableInfo(P.name)!=="require"){return}const R=v.arguments[0];if(R.type==="SpreadElement")return;const L=k.evaluateExpression(R);return{argument:L,ids:E.reverse()}};class CommonJsExportsParserPlugin{constructor(k){this.moduleGraph=k}apply(k){const enableStructuredExports=()=>{pe.enable(k.state)};const checkNamespace=(v,E,P)=>{if(!pe.isEnabled(k.state))return;if(E.length>0&&E[0]==="__esModule"){if(P&&isTruthyLiteral(P)&&v){pe.setFlagged(k.state)}else{pe.setDynamic(k.state)}}};const bailout=v=>{pe.bailout(k.state);if(v)bailoutHint(v)};const bailoutHint=v=>{this.moduleGraph.getOptimizationBailout(k.state.module).push(`CommonJS bailout: ${v}`)};k.hooks.evaluateTypeof.for("module").tap("CommonJsExportsParserPlugin",L("object"));k.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",L("object"));const handleAssignExport=(v,E,P)=>{if(me.isEnabled(k.state))return;const R=parseRequireCall(k,v.right);if(R&&R.argument.isString()&&(P.length===0||P[0]!=="__esModule")){enableStructuredExports();if(P.length===0)pe.setDynamic(k.state);const L=new q(v.range,null,E,P,R.argument.string,R.ids,!k.isStatementLevelExpression(v));L.loc=v.loc;L.optional=!!k.scope.inTry;k.state.module.addDependency(L);return true}if(P.length===0)return;enableStructuredExports();const L=P;checkNamespace(k.statementPath.length===1&&k.isStatementLevelExpression(v),L,v.right);const N=new ae(v.left.range,null,E,L);N.loc=v.loc;k.state.module.addDependency(N);k.walkExpression(v.right);return true};k.hooks.assignMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((k,v)=>handleAssignExport(k,"exports",v)));k.hooks.assignMemberChain.for("this").tap("CommonJsExportsParserPlugin",((v,E)=>{if(!k.scope.topLevelScope)return;return handleAssignExport(v,"this",E)}));k.hooks.assignMemberChain.for("module").tap("CommonJsExportsParserPlugin",((k,v)=>{if(v[0]!=="exports")return;return handleAssignExport(k,"module.exports",v.slice(1))}));k.hooks.call.for("Object.defineProperty").tap("CommonJsExportsParserPlugin",(v=>{const E=v;if(!k.isStatementLevelExpression(E))return;if(E.arguments.length!==3)return;if(E.arguments[0].type==="SpreadElement")return;if(E.arguments[1].type==="SpreadElement")return;if(E.arguments[2].type==="SpreadElement")return;const P=k.evaluateExpression(E.arguments[0]);if(!P.isIdentifier())return;if(P.identifier!=="exports"&&P.identifier!=="module.exports"&&(P.identifier!=="this"||!k.scope.topLevelScope)){return}const R=k.evaluateExpression(E.arguments[1]);const L=R.asString();if(typeof L!=="string")return;enableStructuredExports();const N=E.arguments[2];checkNamespace(k.statementPath.length===1,[L],getValueOfPropertyDescription(N));const q=new ae(E.range,E.arguments[2].range,`Object.defineProperty(${P.identifier})`,[L]);q.loc=E.loc;k.state.module.addDependency(q);k.walkExpression(E.arguments[2]);return true}));const handleAccessExport=(v,E,P,L=undefined)=>{if(me.isEnabled(k.state))return;if(P.length===0){bailout(`${E} is used directly at ${R(v.loc)}`)}if(L&&P.length===1){bailoutHint(`${E}${N(P)}(...) prevents optimization as ${E} is passed as call context at ${R(v.loc)}`)}const q=new le(v.range,E,P,!!L);q.loc=v.loc;k.state.module.addDependency(q);if(L){k.walkExpressions(L.arguments)}return true};k.hooks.callMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((k,v)=>handleAccessExport(k.callee,"exports",v,k)));k.hooks.expressionMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((k,v)=>handleAccessExport(k,"exports",v)));k.hooks.expression.for("exports").tap("CommonJsExportsParserPlugin",(k=>handleAccessExport(k,"exports",[])));k.hooks.callMemberChain.for("module").tap("CommonJsExportsParserPlugin",((k,v)=>{if(v[0]!=="exports")return;return handleAccessExport(k.callee,"module.exports",v.slice(1),k)}));k.hooks.expressionMemberChain.for("module").tap("CommonJsExportsParserPlugin",((k,v)=>{if(v[0]!=="exports")return;return handleAccessExport(k,"module.exports",v.slice(1))}));k.hooks.expression.for("module.exports").tap("CommonJsExportsParserPlugin",(k=>handleAccessExport(k,"module.exports",[])));k.hooks.callMemberChain.for("this").tap("CommonJsExportsParserPlugin",((v,E)=>{if(!k.scope.topLevelScope)return;return handleAccessExport(v.callee,"this",E,v)}));k.hooks.expressionMemberChain.for("this").tap("CommonJsExportsParserPlugin",((v,E)=>{if(!k.scope.topLevelScope)return;return handleAccessExport(v,"this",E)}));k.hooks.expression.for("this").tap("CommonJsExportsParserPlugin",(v=>{if(!k.scope.topLevelScope)return;return handleAccessExport(v,"this",[])}));k.hooks.expression.for("module").tap("CommonJsPlugin",(v=>{bailout();const E=me.isEnabled(k.state);const R=new ye(E?P.harmonyModuleDecorator:P.nodeModuleDecorator,!E);R.loc=v.loc;k.state.module.addDependency(R);return true}))}}k.exports=CommonJsExportsParserPlugin},73946:function(k,v,E){"use strict";const P=E(95041);const{equals:R}=E(68863);const L=E(58528);const N=E(10720);const q=E(77373);class CommonJsFullRequireDependency extends q{constructor(k,v,E){super(k);this.range=v;this.names=E;this.call=false;this.asiSafe=undefined}getReferencedExports(k,v){if(this.call){const v=k.getModule(this);if(!v||v.getExportsType(k,false)!=="namespace"){return[this.names.slice(0,-1)]}}return[this.names]}serialize(k){const{write:v}=k;v(this.names);v(this.call);v(this.asiSafe);super.serialize(k)}deserialize(k){const{read:v}=k;this.names=v();this.call=v();this.asiSafe=v();super.deserialize(k)}get type(){return"cjs full require"}get category(){return"commonjs"}}CommonJsFullRequireDependency.Template=class CommonJsFullRequireDependencyTemplate extends q.Template{apply(k,v,{module:E,runtimeTemplate:L,moduleGraph:q,chunkGraph:ae,runtimeRequirements:le,runtime:pe,initFragments:me}){const ye=k;if(!ye.range)return;const _e=q.getModule(ye);let Ie=L.moduleExports({module:_e,chunkGraph:ae,request:ye.request,weak:ye.weak,runtimeRequirements:le});if(_e){const k=ye.names;const v=q.getExportsInfo(_e).getUsedName(k,pe);if(v){const E=R(v,k)?"":P.toNormalComment(N(k))+" ";const L=`${E}${N(v)}`;Ie=ye.asiSafe===true?`(${Ie}${L})`:`${Ie}${L}`}}v.replace(ye.range[0],ye.range[1]-1,Ie)}};L(CommonJsFullRequireDependency,"webpack/lib/dependencies/CommonJsFullRequireDependency");k.exports=CommonJsFullRequireDependency},17042:function(k,v,E){"use strict";const{fileURLToPath:P}=E(57310);const R=E(68160);const L=E(56727);const N=E(9415);const q=E(71572);const ae=E(70037);const{evaluateToIdentifier:le,evaluateToString:pe,expressionIsUnsupported:me,toConstantDependency:ye}=E(80784);const _e=E(73946);const Ie=E(5103);const Me=E(41655);const Te=E(60381);const je=E(25012);const Ne=E(41808);const{getLocalModule:Be}=E(18363);const qe=E(72330);const Ue=E(12204);const Ge=E(29961);const He=E(53765);const We=Symbol("createRequire");const Qe=Symbol("createRequire()");class CommonJsImportsParserPlugin{constructor(k){this.options=k}apply(k){const v=this.options;const getContext=()=>{if(k.currentTagData){const{context:v}=k.currentTagData;return v}};const tapRequireExpression=(v,E)=>{k.hooks.typeof.for(v).tap("CommonJsImportsParserPlugin",ye(k,JSON.stringify("function")));k.hooks.evaluateTypeof.for(v).tap("CommonJsImportsParserPlugin",pe("function"));k.hooks.evaluateIdentifier.for(v).tap("CommonJsImportsParserPlugin",le(v,"require",E,true))};const tapRequireExpressionTag=v=>{k.hooks.typeof.for(v).tap("CommonJsImportsParserPlugin",ye(k,JSON.stringify("function")));k.hooks.evaluateTypeof.for(v).tap("CommonJsImportsParserPlugin",pe("function"))};tapRequireExpression("require",(()=>[]));tapRequireExpression("require.resolve",(()=>["resolve"]));tapRequireExpression("require.resolveWeak",(()=>["resolveWeak"]));k.hooks.assign.for("require").tap("CommonJsImportsParserPlugin",(v=>{const E=new Te("var require;",0);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}));k.hooks.expression.for("require.main").tap("CommonJsImportsParserPlugin",me(k,"require.main is not supported by webpack."));k.hooks.call.for("require.main.require").tap("CommonJsImportsParserPlugin",me(k,"require.main.require is not supported by webpack."));k.hooks.expression.for("module.parent.require").tap("CommonJsImportsParserPlugin",me(k,"module.parent.require is not supported by webpack."));k.hooks.call.for("module.parent.require").tap("CommonJsImportsParserPlugin",me(k,"module.parent.require is not supported by webpack."));const defineUndefined=v=>{const E=new Te("undefined",v.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return false};k.hooks.canRename.for("require").tap("CommonJsImportsParserPlugin",(()=>true));k.hooks.rename.for("require").tap("CommonJsImportsParserPlugin",defineUndefined);const E=ye(k,L.moduleCache,[L.moduleCache,L.moduleId,L.moduleLoaded]);k.hooks.expression.for("require.cache").tap("CommonJsImportsParserPlugin",E);const requireAsExpressionHandler=E=>{const P=new Ie({request:v.unknownContextRequest,recursive:v.unknownContextRecursive,regExp:v.unknownContextRegExp,mode:"sync"},E.range,undefined,k.scope.inShorthand,getContext());P.critical=v.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";P.loc=E.loc;P.optional=!!k.scope.inTry;k.state.current.addDependency(P);return true};k.hooks.expression.for("require").tap("CommonJsImportsParserPlugin",requireAsExpressionHandler);const processRequireItem=(v,E)=>{if(E.isString()){const P=new Me(E.string,E.range,getContext());P.loc=v.loc;P.optional=!!k.scope.inTry;k.state.current.addDependency(P);return true}};const processRequireContext=(E,P)=>{const R=je.create(Ie,E.range,P,E,v,{category:"commonjs"},k,undefined,getContext());if(!R)return;R.loc=E.loc;R.optional=!!k.scope.inTry;k.state.current.addDependency(R);return true};const createRequireHandler=E=>P=>{if(v.commonjsMagicComments){const{options:v,errors:E}=k.parseCommentOptions(P.range);if(E){for(const v of E){const{comment:E}=v;k.state.module.addWarning(new R(`Compilation error while processing magic comment(-s): /*${E.value}*/: ${v.message}`,E.loc))}}if(v){if(v.webpackIgnore!==undefined){if(typeof v.webpackIgnore!=="boolean"){k.state.module.addWarning(new N(`\`webpackIgnore\` expected a boolean, but received: ${v.webpackIgnore}.`,P.loc))}else{if(v.webpackIgnore){return true}}}}}if(P.arguments.length!==1)return;let L;const q=k.evaluateExpression(P.arguments[0]);if(q.isConditional()){let v=false;for(const k of q.options){const E=processRequireItem(P,k);if(E===undefined){v=true}}if(!v){const v=new qe(P.callee.range);v.loc=P.loc;k.state.module.addPresentationalDependency(v);return true}}if(q.isString()&&(L=Be(k.state,q.string))){L.flagUsed();const v=new Ne(L,P.range,E);v.loc=P.loc;k.state.module.addPresentationalDependency(v);return true}else{const v=processRequireItem(P,q);if(v===undefined){processRequireContext(P,q)}else{const v=new qe(P.callee.range);v.loc=P.loc;k.state.module.addPresentationalDependency(v)}return true}};k.hooks.call.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));k.hooks.new.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));k.hooks.call.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));k.hooks.new.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));const chainHandler=(v,E,P,R)=>{if(P.arguments.length!==1)return;const L=k.evaluateExpression(P.arguments[0]);if(L.isString()&&!Be(k.state,L.string)){const E=new _e(L.string,v.range,R);E.asiSafe=!k.isAsiPosition(v.range[0]);E.optional=!!k.scope.inTry;E.loc=v.loc;k.state.current.addDependency(E);return true}};const callChainHandler=(v,E,P,R)=>{if(P.arguments.length!==1)return;const L=k.evaluateExpression(P.arguments[0]);if(L.isString()&&!Be(k.state,L.string)){const E=new _e(L.string,v.callee.range,R);E.call=true;E.asiSafe=!k.isAsiPosition(v.range[0]);E.optional=!!k.scope.inTry;E.loc=v.callee.loc;k.state.current.addDependency(E);k.walkExpressions(v.arguments);return true}};k.hooks.memberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",chainHandler);k.hooks.memberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",chainHandler);k.hooks.callMemberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",callChainHandler);k.hooks.callMemberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",callChainHandler);const processResolve=(v,E)=>{if(v.arguments.length!==1)return;const P=k.evaluateExpression(v.arguments[0]);if(P.isConditional()){for(const k of P.options){const P=processResolveItem(v,k,E);if(P===undefined){processResolveContext(v,k,E)}}const R=new He(v.callee.range);R.loc=v.loc;k.state.module.addPresentationalDependency(R);return true}else{const R=processResolveItem(v,P,E);if(R===undefined){processResolveContext(v,P,E)}const L=new He(v.callee.range);L.loc=v.loc;k.state.module.addPresentationalDependency(L);return true}};const processResolveItem=(v,E,P)=>{if(E.isString()){const R=new Ge(E.string,E.range,getContext());R.loc=v.loc;R.optional=!!k.scope.inTry;R.weak=P;k.state.current.addDependency(R);return true}};const processResolveContext=(E,P,R)=>{const L=je.create(Ue,P.range,P,E,v,{category:"commonjs",mode:R?"weak":"sync"},k,getContext());if(!L)return;L.loc=E.loc;L.optional=!!k.scope.inTry;k.state.current.addDependency(L);return true};k.hooks.call.for("require.resolve").tap("CommonJsImportsParserPlugin",(k=>processResolve(k,false)));k.hooks.call.for("require.resolveWeak").tap("CommonJsImportsParserPlugin",(k=>processResolve(k,true)));if(!v.createRequire)return;let Je=[];let Ve;if(v.createRequire===true){Je=["module","node:module"];Ve="createRequire"}else{let k;const E=/^(.*) from (.*)$/.exec(v.createRequire);if(E){[,Ve,k]=E}if(!Ve||!k){const k=new q(`Parsing javascript parser option "createRequire" failed, got ${JSON.stringify(v.createRequire)}`);k.details='Expected string in format "createRequire from module", where "createRequire" is specifier name and "module" name of the module';throw k}}tapRequireExpressionTag(Qe);tapRequireExpressionTag(We);k.hooks.evaluateCallExpression.for(We).tap("CommonJsImportsParserPlugin",(v=>{const E=parseCreateRequireArguments(v);if(E===undefined)return;const P=k.evaluatedVariable({tag:Qe,data:{context:E},next:undefined});return(new ae).setIdentifier(P,P,(()=>[])).setSideEffects(false).setRange(v.range)}));k.hooks.unhandledExpressionMemberChain.for(Qe).tap("CommonJsImportsParserPlugin",((v,E)=>me(k,`createRequire().${E.join(".")} is not supported by webpack.`)(v)));k.hooks.canRename.for(Qe).tap("CommonJsImportsParserPlugin",(()=>true));k.hooks.canRename.for(We).tap("CommonJsImportsParserPlugin",(()=>true));k.hooks.rename.for(We).tap("CommonJsImportsParserPlugin",defineUndefined);k.hooks.expression.for(Qe).tap("CommonJsImportsParserPlugin",requireAsExpressionHandler);k.hooks.call.for(Qe).tap("CommonJsImportsParserPlugin",createRequireHandler(false));const parseCreateRequireArguments=v=>{const E=v.arguments;if(E.length!==1){const E=new q("module.createRequire supports only one argument.");E.loc=v.loc;k.state.module.addWarning(E);return}const R=E[0];const L=k.evaluateExpression(R);if(!L.isString()){const v=new q("module.createRequire failed parsing argument.");v.loc=R.loc;k.state.module.addWarning(v);return}const N=L.string.startsWith("file://")?P(L.string):L.string;return N.slice(0,N.lastIndexOf(N.startsWith("/")?"/":"\\"))};k.hooks.import.tap({name:"CommonJsImportsParserPlugin",stage:-10},((v,E)=>{if(!Je.includes(E)||v.specifiers.length!==1||v.specifiers[0].type!=="ImportSpecifier"||v.specifiers[0].imported.type!=="Identifier"||v.specifiers[0].imported.name!==Ve)return;const P=new Te(k.isAsiPosition(v.range[0])?";":"",v.range);P.loc=v.loc;k.state.module.addPresentationalDependency(P);k.unsetAsiPosition(v.range[1]);return true}));k.hooks.importSpecifier.tap({name:"CommonJsImportsParserPlugin",stage:-10},((v,E,P,R)=>{if(!Je.includes(E)||P!==Ve)return;k.tagVariable(R,We);return true}));k.hooks.preDeclarator.tap("CommonJsImportsParserPlugin",(v=>{if(v.id.type!=="Identifier"||!v.init||v.init.type!=="CallExpression"||v.init.callee.type!=="Identifier")return;const E=k.getVariableInfo(v.init.callee.name);if(E&&E.tagInfo&&E.tagInfo.tag===We){const E=parseCreateRequireArguments(v.init);if(E===undefined)return;k.tagVariable(v.id.name,Qe,{name:v.id.name,context:E});return true}}));k.hooks.memberChainOfCallMemberChain.for(We).tap("CommonJsImportsParserPlugin",((k,v,P,R)=>{if(v.length!==0||R.length!==1||R[0]!=="cache")return;const L=parseCreateRequireArguments(P);if(L===undefined)return;return E(k)}));k.hooks.callMemberChainOfCallMemberChain.for(We).tap("CommonJsImportsParserPlugin",((k,v,E,P)=>{if(v.length!==0||P.length!==1||P[0]!=="resolve")return;return processResolve(k,false)}));k.hooks.expressionMemberChain.for(Qe).tap("CommonJsImportsParserPlugin",((k,v)=>{if(v.length===1&&v[0]==="cache"){return E(k)}}));k.hooks.callMemberChain.for(Qe).tap("CommonJsImportsParserPlugin",((k,v)=>{if(v.length===1&&v[0]==="resolve"){return processResolve(k,false)}}));k.hooks.call.for(We).tap("CommonJsImportsParserPlugin",(v=>{const E=new Te("/* createRequire() */ undefined",v.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}))}}k.exports=CommonJsImportsParserPlugin},45575:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(15844);const N=E(95041);const q=E(57771);const ae=E(73946);const le=E(5103);const pe=E(41655);const me=E(23343);const ye=E(10699);const _e=E(72330);const Ie=E(12204);const Me=E(29961);const Te=E(53765);const je=E(84985);const Ne=E(416);const Be=E(17042);const{JAVASCRIPT_MODULE_TYPE_AUTO:qe,JAVASCRIPT_MODULE_TYPE_DYNAMIC:Ue}=E(93622);const{evaluateToIdentifier:Ge,toConstantDependency:He}=E(80784);const We=E(21542);const Qe="CommonJsPlugin";class CommonJsPlugin{apply(k){k.hooks.compilation.tap(Qe,((k,{contextModuleFactory:v,normalModuleFactory:E})=>{k.dependencyFactories.set(pe,E);k.dependencyTemplates.set(pe,new pe.Template);k.dependencyFactories.set(ae,E);k.dependencyTemplates.set(ae,new ae.Template);k.dependencyFactories.set(le,v);k.dependencyTemplates.set(le,new le.Template);k.dependencyFactories.set(Me,E);k.dependencyTemplates.set(Me,new Me.Template);k.dependencyFactories.set(Ie,v);k.dependencyTemplates.set(Ie,new Ie.Template);k.dependencyTemplates.set(Te,new Te.Template);k.dependencyTemplates.set(_e,new _e.Template);k.dependencyTemplates.set(q,new q.Template);k.dependencyFactories.set(We,E);k.dependencyTemplates.set(We,new We.Template);const R=new L(k.moduleGraph);k.dependencyFactories.set(me,R);k.dependencyTemplates.set(me,new me.Template);k.dependencyFactories.set(ye,R);k.dependencyTemplates.set(ye,new ye.Template);k.hooks.runtimeRequirementInModule.for(P.harmonyModuleDecorator).tap(Qe,((k,v)=>{v.add(P.module);v.add(P.requireScope)}));k.hooks.runtimeRequirementInModule.for(P.nodeModuleDecorator).tap(Qe,((k,v)=>{v.add(P.module);v.add(P.requireScope)}));k.hooks.runtimeRequirementInTree.for(P.harmonyModuleDecorator).tap(Qe,((v,E)=>{k.addRuntimeModule(v,new HarmonyModuleDecoratorRuntimeModule)}));k.hooks.runtimeRequirementInTree.for(P.nodeModuleDecorator).tap(Qe,((v,E)=>{k.addRuntimeModule(v,new NodeModuleDecoratorRuntimeModule)}));const handler=(v,E)=>{if(E.commonjs!==undefined&&!E.commonjs)return;v.hooks.typeof.for("module").tap(Qe,He(v,JSON.stringify("object")));v.hooks.expression.for("require.main").tap(Qe,He(v,`${P.moduleCache}[${P.entryModuleId}]`,[P.moduleCache,P.entryModuleId]));v.hooks.expression.for(P.moduleLoaded).tap(Qe,(k=>{v.state.module.buildInfo.moduleConcatenationBailout=P.moduleLoaded;const E=new je([P.moduleLoaded]);E.loc=k.loc;v.state.module.addPresentationalDependency(E);return true}));v.hooks.expression.for(P.moduleId).tap(Qe,(k=>{v.state.module.buildInfo.moduleConcatenationBailout=P.moduleId;const E=new je([P.moduleId]);E.loc=k.loc;v.state.module.addPresentationalDependency(E);return true}));v.hooks.evaluateIdentifier.for("module.hot").tap(Qe,Ge("module.hot","module",(()=>["hot"]),null));new Be(E).apply(v);new Ne(k.moduleGraph).apply(v)};E.hooks.parser.for(qe).tap(Qe,handler);E.hooks.parser.for(Ue).tap(Qe,handler)}))}}class HarmonyModuleDecoratorRuntimeModule extends R{constructor(){super("harmony module decorator")}generate(){const{runtimeTemplate:k}=this.compilation;return N.asString([`${P.harmonyModuleDecorator} = ${k.basicFunction("module",["module = Object.create(module);","if (!module.children) module.children = [];","Object.defineProperty(module, 'exports', {",N.indent(["enumerable: true,",`set: ${k.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 R{constructor(){super("node module decorator")}generate(){const{runtimeTemplate:k}=this.compilation;return N.asString([`${P.nodeModuleDecorator} = ${k.basicFunction("module",["module.paths = [];","if (!module.children) module.children = [];","return module;"])};`])}}k.exports=CommonJsPlugin},5103:function(k,v,E){"use strict";const P=E(58528);const R=E(51395);const L=E(64077);class CommonJsRequireContextDependency extends R{constructor(k,v,E,P,R){super(k,R);this.range=v;this.valueRange=E;this.inShorthand=P}get type(){return"cjs require context"}serialize(k){const{write:v}=k;v(this.range);v(this.valueRange);v(this.inShorthand);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.valueRange=v();this.inShorthand=v();super.deserialize(k)}}P(CommonJsRequireContextDependency,"webpack/lib/dependencies/CommonJsRequireContextDependency");CommonJsRequireContextDependency.Template=L;k.exports=CommonJsRequireContextDependency},41655:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(3312);class CommonJsRequireDependency extends R{constructor(k,v,E){super(k);this.range=v;this._context=E}get type(){return"cjs require"}get category(){return"commonjs"}}CommonJsRequireDependency.Template=L;P(CommonJsRequireDependency,"webpack/lib/dependencies/CommonJsRequireDependency");k.exports=CommonJsRequireDependency},23343:function(k,v,E){"use strict";const P=E(56727);const{equals:R}=E(68863);const L=E(58528);const N=E(10720);const q=E(53139);class CommonJsSelfReferenceDependency extends q{constructor(k,v,E,P){super();this.range=k;this.base=v;this.names=E;this.call=P}get type(){return"cjs self exports reference"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(k,v){return[this.call?this.names.slice(0,-1):this.names]}serialize(k){const{write:v}=k;v(this.range);v(this.base);v(this.names);v(this.call);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.base=v();this.names=v();this.call=v();super.deserialize(k)}}L(CommonJsSelfReferenceDependency,"webpack/lib/dependencies/CommonJsSelfReferenceDependency");CommonJsSelfReferenceDependency.Template=class CommonJsSelfReferenceDependencyTemplate extends q.Template{apply(k,v,{module:E,moduleGraph:L,runtime:q,runtimeRequirements:ae}){const le=k;let pe;if(le.names.length===0){pe=le.names}else{pe=L.getExportsInfo(E).getUsedName(le.names,q)}if(!pe){throw new Error("Self-reference dependency has unused export name: This should not happen")}let me=undefined;switch(le.base){case"exports":ae.add(P.exports);me=E.exportsArgument;break;case"module.exports":ae.add(P.module);me=`${E.moduleArgument}.exports`;break;case"this":ae.add(P.thisAsExports);me="this";break;default:throw new Error(`Unsupported base ${le.base}`)}if(me===le.base&&R(pe,le.names)){return}v.replace(le.range[0],le.range[1]-1,`${me}${N(pe)}`)}};k.exports=CommonJsSelfReferenceDependency},60381:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class ConstDependency extends R{constructor(k,v,E){super();this.expression=k;this.range=v;this.runtimeRequirements=E?new Set(E):null;this._hashUpdate=undefined}updateHash(k,v){if(this._hashUpdate===undefined){let k=""+this.range+"|"+this.expression;if(this.runtimeRequirements){for(const v of this.runtimeRequirements){k+="|";k+=v}}this._hashUpdate=k}k.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(k){return false}serialize(k){const{write:v}=k;v(this.expression);v(this.range);v(this.runtimeRequirements);super.serialize(k)}deserialize(k){const{read:v}=k;this.expression=v();this.range=v();this.runtimeRequirements=v();super.deserialize(k)}}P(ConstDependency,"webpack/lib/dependencies/ConstDependency");ConstDependency.Template=class ConstDependencyTemplate extends R.Template{apply(k,v,E){const P=k;if(P.runtimeRequirements){for(const k of P.runtimeRequirements){E.runtimeRequirements.add(k)}}if(typeof P.range==="number"){v.insert(P.range,P.expression);return}v.replace(P.range[0],P.range[1]-1,P.expression)}};k.exports=ConstDependency},51395:function(k,v,E){"use strict";const P=E(16848);const R=E(30601);const L=E(58528);const N=E(20631);const q=N((()=>E(43418)));const regExpToString=k=>k?k+"":"";class ContextDependency extends P{constructor(k,v){super();this.options=k;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.inShorthand=undefined;this.replaces=undefined;this._requestContext=v}getContext(){return this._requestContext}get category(){return"commonjs"}couldAffectReferencingModule(){return true}getResourceIdentifier(){return`context${this._requestContext||""}|ctx request${this.options.request} ${this.options.recursive} `+`${regExpToString(this.options.regExp)} ${regExpToString(this.options.include)} ${regExpToString(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(k){let v=super.getWarnings(k);if(this.critical){if(!v)v=[];const k=q();v.push(new k(this.critical))}if(this.hadGlobalOrStickyRegExp){if(!v)v=[];const k=q();v.push(new k("Contexts can't use RegExps with the 'g' or 'y' flags."))}return v}serialize(k){const{write:v}=k;v(this.options);v(this.userRequest);v(this.critical);v(this.hadGlobalOrStickyRegExp);v(this.request);v(this._requestContext);v(this.range);v(this.valueRange);v(this.prepend);v(this.replaces);super.serialize(k)}deserialize(k){const{read:v}=k;this.options=v();this.userRequest=v();this.critical=v();this.hadGlobalOrStickyRegExp=v();this.request=v();this._requestContext=v();this.range=v();this.valueRange=v();this.prepend=v();this.replaces=v();super.deserialize(k)}}L(ContextDependency,"webpack/lib/dependencies/ContextDependency");ContextDependency.Template=R;k.exports=ContextDependency},25012:function(k,v,E){"use strict";const{parseResource:P}=E(65315);const quoteMeta=k=>k.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const splitContextFromPrefix=k=>{const v=k.lastIndexOf("/");let E=".";if(v>=0){E=k.slice(0,v);k=`.${k.slice(v)}`}return{context:E,prefix:k}};v.create=(k,v,E,R,L,N,q,...ae)=>{if(E.isTemplateString()){let le=E.quasis[0].string;let pe=E.quasis.length>1?E.quasis[E.quasis.length-1].string:"";const me=E.range;const{context:ye,prefix:_e}=splitContextFromPrefix(le);const{path:Ie,query:Me,fragment:Te}=P(pe,q);const je=E.quasis.slice(1,E.quasis.length-1);const Ne=L.wrappedContextRegExp.source+je.map((k=>quoteMeta(k.string)+L.wrappedContextRegExp.source)).join("");const Be=new RegExp(`^${quoteMeta(_e)}${Ne}${quoteMeta(Ie)}$`);const qe=new k({request:ye+Me+Te,recursive:L.wrappedContextRecursive,regExp:Be,mode:"sync",...N},v,me,...ae);qe.loc=R.loc;const Ue=[];E.parts.forEach(((k,v)=>{if(v%2===0){let P=k.range;let R=k.string;if(E.templateStringKind==="cooked"){R=JSON.stringify(R);R=R.slice(1,R.length-1)}if(v===0){R=_e;P=[E.range[0],k.range[1]];R=(E.templateStringKind==="cooked"?"`":"String.raw`")+R}else if(v===E.parts.length-1){R=Ie;P=[k.range[0],E.range[1]];R=R+"`"}else if(k.expression&&k.expression.type==="TemplateElement"&&k.expression.value.raw===R){return}Ue.push({range:P,value:R})}else{q.walkExpression(k.expression)}}));qe.replaces=Ue;qe.critical=L.wrappedContextCritical&&"a part of the request of a dependency is an expression";return qe}else if(E.isWrapped()&&(E.prefix&&E.prefix.isString()||E.postfix&&E.postfix.isString())){let le=E.prefix&&E.prefix.isString()?E.prefix.string:"";let pe=E.postfix&&E.postfix.isString()?E.postfix.string:"";const me=E.prefix&&E.prefix.isString()?E.prefix.range:null;const ye=E.postfix&&E.postfix.isString()?E.postfix.range:null;const _e=E.range;const{context:Ie,prefix:Me}=splitContextFromPrefix(le);const{path:Te,query:je,fragment:Ne}=P(pe,q);const Be=new RegExp(`^${quoteMeta(Me)}${L.wrappedContextRegExp.source}${quoteMeta(Te)}$`);const qe=new k({request:Ie+je+Ne,recursive:L.wrappedContextRecursive,regExp:Be,mode:"sync",...N},v,_e,...ae);qe.loc=R.loc;const Ue=[];if(me){Ue.push({range:me,value:JSON.stringify(Me)})}if(ye){Ue.push({range:ye,value:JSON.stringify(Te)})}qe.replaces=Ue;qe.critical=L.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(q&&E.wrappedInnerExpressions){for(const k of E.wrappedInnerExpressions){if(k.expression)q.walkExpression(k.expression)}}return qe}else{const P=new k({request:L.exprContextRequest,recursive:L.exprContextRecursive,regExp:L.exprContextRegExp,mode:"sync",...N},v,E.range,...ae);P.loc=R.loc;P.critical=L.exprContextCritical&&"the request of a dependency is an expression";q.walkExpression(E.expression);return P}}},16213:function(k,v,E){"use strict";const P=E(51395);class ContextDependencyTemplateAsId extends P.Template{apply(k,v,{runtimeTemplate:E,moduleGraph:P,chunkGraph:R,runtimeRequirements:L}){const N=k;const q=E.moduleExports({module:P.getModule(N),chunkGraph:R,request:N.request,weak:N.weak,runtimeRequirements:L});if(P.getModule(N)){if(N.valueRange){if(Array.isArray(N.replaces)){for(let k=0;k({name:k,canMangle:false}))):P.EXPORTS_OBJECT_REFERENCED}serialize(k){const{write:v}=k;v(this._typePrefix);v(this._category);v(this.referencedExports);super.serialize(k)}deserialize(k){const{read:v}=k;this._typePrefix=v();this._category=v();this.referencedExports=v();super.deserialize(k)}}R(ContextElementDependency,"webpack/lib/dependencies/ContextElementDependency");k.exports=ContextElementDependency},98857:function(k,v,E){"use strict";const P=E(56727);const R=E(58528);const L=E(53139);class CreateScriptUrlDependency extends L{constructor(k){super();this.range=k}get type(){return"create script url"}serialize(k){const{write:v}=k;v(this.range);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();super.deserialize(k)}}CreateScriptUrlDependency.Template=class CreateScriptUrlDependencyTemplate extends L.Template{apply(k,v,{runtimeRequirements:E}){const R=k;E.add(P.createScriptUrl);v.insert(R.range[0],`${P.createScriptUrl}(`);v.insert(R.range[1],")")}};R(CreateScriptUrlDependency,"webpack/lib/dependencies/CreateScriptUrlDependency");k.exports=CreateScriptUrlDependency},43418:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class CriticalDependencyWarning extends P{constructor(k){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+k}}R(CriticalDependencyWarning,"webpack/lib/dependencies/CriticalDependencyWarning");k.exports=CriticalDependencyWarning},55101:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class CssExportDependency extends R{constructor(k,v){super();this.name=k;this.value=v}get type(){return"css :export"}getExports(k){const v=this.name;return{exports:[{name:v,canMangle:true}],dependencies:undefined}}serialize(k){const{write:v}=k;v(this.name);v(this.value);super.serialize(k)}deserialize(k){const{read:v}=k;this.name=v();this.value=v();super.deserialize(k)}}CssExportDependency.Template=class CssExportDependencyTemplate extends R.Template{apply(k,v,{cssExports:E}){const P=k;E.set(P.name,P.value)}};P(CssExportDependency,"webpack/lib/dependencies/CssExportDependency");k.exports=CssExportDependency},38490:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);class CssImportDependency extends R{constructor(k,v,E,P,R){super(k);this.range=v;this.layer=E;this.supports=P;this.media=R}get type(){return"css @import"}get category(){return"css-import"}getResourceIdentifier(){let k=`context${this._context||""}|module${this.request}`;if(this.layer){k+=`|layer${this.layer}`}if(this.supports){k+=`|supports${this.supports}`}if(this.media){k+=`|media${this.media}`}return k}createIgnoredModule(k){return null}serialize(k){const{write:v}=k;v(this.layer);v(this.supports);v(this.media);super.serialize(k)}deserialize(k){const{read:v}=k;this.layer=v();this.supports=v();this.media=v();super.deserialize(k)}}CssImportDependency.Template=class CssImportDependencyTemplate extends R.Template{apply(k,v,E){const P=k;v.replace(P.range[0],P.range[1]-1,"")}};P(CssImportDependency,"webpack/lib/dependencies/CssImportDependency");k.exports=CssImportDependency},27746:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class CssLocalIdentifierDependency extends R{constructor(k,v,E=""){super();this.name=k;this.range=v;this.prefix=E}get type(){return"css local identifier"}getExports(k){const v=this.name;return{exports:[{name:v,canMangle:true}],dependencies:undefined}}serialize(k){const{write:v}=k;v(this.name);v(this.range);v(this.prefix);super.serialize(k)}deserialize(k){const{read:v}=k;this.name=v();this.range=v();this.prefix=v();super.deserialize(k)}}const escapeCssIdentifier=(k,v)=>{const E=`${k}`.replace(/[^a-zA-Z0-9_\u0081-\uffff-]/g,(k=>`\\${k}`));return!v&&/^(?!--)[0-9-]/.test(E)?`_${E}`:E};CssLocalIdentifierDependency.Template=class CssLocalIdentifierDependencyTemplate extends R.Template{apply(k,v,{module:E,moduleGraph:P,chunkGraph:R,runtime:L,runtimeTemplate:N,cssExports:q}){const ae=k;const le=P.getExportInfo(E,ae.name).getUsedName(ae.name,L);const pe=R.getModuleId(E);const me=ae.prefix+(N.outputOptions.uniqueName?N.outputOptions.uniqueName+"-":"")+(le?pe+"-"+le:"-");v.replace(ae.range[0],ae.range[1]-1,escapeCssIdentifier(me,ae.prefix));if(le)q.set(le,me)}};P(CssLocalIdentifierDependency,"webpack/lib/dependencies/CssLocalIdentifierDependency");k.exports=CssLocalIdentifierDependency},58943:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);const L=E(27746);class CssSelfLocalIdentifierDependency extends L{constructor(k,v,E="",P=undefined){super(k,v,E);this.declaredSet=P}get type(){return"css self local identifier"}get category(){return"self"}getResourceIdentifier(){return`self`}getExports(k){if(this.declaredSet&&!this.declaredSet.has(this.name))return;return super.getExports(k)}getReferencedExports(k,v){if(this.declaredSet&&!this.declaredSet.has(this.name))return P.NO_EXPORTS_REFERENCED;return[[this.name]]}serialize(k){const{write:v}=k;v(this.declaredSet);super.serialize(k)}deserialize(k){const{read:v}=k;this.declaredSet=v();super.deserialize(k)}}CssSelfLocalIdentifierDependency.Template=class CssSelfLocalIdentifierDependencyTemplate extends L.Template{apply(k,v,E){const P=k;if(P.declaredSet&&!P.declaredSet.has(P.name))return;super.apply(k,v,E)}};R(CssSelfLocalIdentifierDependency,"webpack/lib/dependencies/CssSelfLocalIdentifierDependency");k.exports=CssSelfLocalIdentifierDependency},97006:function(k,v,E){"use strict";const P=E(58528);const R=E(20631);const L=E(77373);const N=R((()=>E(26619)));class CssUrlDependency extends L{constructor(k,v,E){super(k);this.range=v;this.urlType=E}get type(){return"css url()"}get category(){return"url"}createIgnoredModule(k){const v=N();return new v("data:,",`ignored-asset`,`(ignored asset)`)}serialize(k){const{write:v}=k;v(this.urlType);super.serialize(k)}deserialize(k){const{read:v}=k;this.urlType=v();super.deserialize(k)}}const cssEscapeString=k=>{let v=0;let E=0;let P=0;for(let R=0;R`\\${k}`))}else if(E<=P){return`"${k.replace(/[\n"\\]/g,(k=>`\\${k}`))}"`}else{return`'${k.replace(/[\n'\\]/g,(k=>`\\${k}`))}'`}};CssUrlDependency.Template=class CssUrlDependencyTemplate extends L.Template{apply(k,v,{moduleGraph:E,runtimeTemplate:P,codeGenerationResults:R}){const L=k;let N;switch(L.urlType){case"string":N=cssEscapeString(P.assetUrl({publicPath:"",module:E.getModule(L),codeGenerationResults:R}));break;case"url":N=`url(${cssEscapeString(P.assetUrl({publicPath:"",module:E.getModule(L),codeGenerationResults:R}))})`;break}v.replace(L.range[0],L.range[1]-1,N)}};P(CssUrlDependency,"webpack/lib/dependencies/CssUrlDependency");k.exports=CssUrlDependency},47788:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);class DelegatedSourceDependency extends R{constructor(k){super(k)}get type(){return"delegated source"}get category(){return"esm"}}P(DelegatedSourceDependency,"webpack/lib/dependencies/DelegatedSourceDependency");k.exports=DelegatedSourceDependency},50478:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);class DllEntryDependency extends P{constructor(k,v){super();this.dependencies=k;this.name=v}get type(){return"dll entry"}serialize(k){const{write:v}=k;v(this.dependencies);v(this.name);super.serialize(k)}deserialize(k){const{read:v}=k;this.dependencies=v();this.name=v();super.deserialize(k)}}R(DllEntryDependency,"webpack/lib/dependencies/DllEntryDependency");k.exports=DllEntryDependency},71203:function(k,v){"use strict";const E=new WeakMap;v.bailout=k=>{const v=E.get(k);E.set(k,false);if(v===true){k.module.buildMeta.exportsType=undefined;k.module.buildMeta.defaultObject=false}};v.enable=k=>{const v=E.get(k);if(v===false)return;E.set(k,true);if(v!==true){k.module.buildMeta.exportsType="default";k.module.buildMeta.defaultObject="redirect"}};v.setFlagged=k=>{const v=E.get(k);if(v!==true)return;const P=k.module.buildMeta;if(P.exportsType==="dynamic")return;P.exportsType="flagged"};v.setDynamic=k=>{const v=E.get(k);if(v!==true)return;k.module.buildMeta.exportsType="dynamic"};v.isEnabled=k=>{const v=E.get(k);return v===true}},25248:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);class EntryDependency extends R{constructor(k){super(k)}get type(){return"entry"}get category(){return"esm"}}P(EntryDependency,"webpack/lib/dependencies/EntryDependency");k.exports=EntryDependency},70762:function(k,v,E){"use strict";const{UsageState:P}=E(11172);const R=E(58528);const L=E(53139);const getProperty=(k,v,E,R,L)=>{if(!E){switch(R){case"usedExports":{const E=k.getExportsInfo(v).getUsedExports(L);if(typeof E==="boolean"||E===undefined||E===null){return E}return Array.from(E).sort()}}}switch(R){case"canMangle":{const P=k.getExportsInfo(v);const R=P.getExportInfo(E);if(R)return R.canMangle;return P.otherExportsInfo.canMangle}case"used":return k.getExportsInfo(v).getUsed(E,L)!==P.Unused;case"useInfo":{const R=k.getExportsInfo(v).getUsed(E,L);switch(R){case P.Used:case P.OnlyPropertiesUsed:return true;case P.Unused:return false;case P.NoInfo:return undefined;case P.Unknown:return null;default:throw new Error(`Unexpected UsageState ${R}`)}}case"provideInfo":return k.getExportsInfo(v).isExportProvided(E)}return undefined};class ExportsInfoDependency extends L{constructor(k,v,E){super();this.range=k;this.exportName=v;this.property=E}serialize(k){const{write:v}=k;v(this.range);v(this.exportName);v(this.property);super.serialize(k)}static deserialize(k){const v=new ExportsInfoDependency(k.read(),k.read(),k.read());v.deserialize(k);return v}}R(ExportsInfoDependency,"webpack/lib/dependencies/ExportsInfoDependency");ExportsInfoDependency.Template=class ExportsInfoDependencyTemplate extends L.Template{apply(k,v,{module:E,moduleGraph:P,runtime:R}){const L=k;const N=getProperty(P,E,L.exportName,L.property,R);v.replace(L.range[0],L.range[1]-1,N===undefined?"undefined":JSON.stringify(N))}};k.exports=ExportsInfoDependency},95077:function(k,v,E){"use strict";const P=E(95041);const R=E(58528);const L=E(69184);const N=E(53139);class HarmonyAcceptDependency extends N{constructor(k,v,E){super();this.range=k;this.dependencies=v;this.hasCallback=E}get type(){return"accepted harmony modules"}serialize(k){const{write:v}=k;v(this.range);v(this.dependencies);v(this.hasCallback);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.dependencies=v();this.hasCallback=v();super.deserialize(k)}}R(HarmonyAcceptDependency,"webpack/lib/dependencies/HarmonyAcceptDependency");HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate extends N.Template{apply(k,v,E){const R=k;const{module:N,runtime:q,runtimeRequirements:ae,runtimeTemplate:le,moduleGraph:pe,chunkGraph:me}=E;const ye=R.dependencies.map((k=>{const v=pe.getModule(k);return{dependency:k,runtimeCondition:v?L.Template.getImportEmittedRuntime(N,v):false}})).filter((({runtimeCondition:k})=>k!==false)).map((({dependency:k,runtimeCondition:v})=>{const R=le.runtimeConditionExpression({chunkGraph:me,runtime:q,runtimeCondition:v,runtimeRequirements:ae});const L=k.getImportStatement(true,E);const N=L[0]+L[1];if(R!=="true"){return`if (${R}) {\n${P.indent(N)}\n}\n`}return N})).join("");if(R.hasCallback){if(le.supportsArrowFunction()){v.insert(R.range[0],`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${ye}(`);v.insert(R.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }")}else{v.insert(R.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${ye}(`);v.insert(R.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)")}return}const _e=le.supportsArrowFunction();v.insert(R.range[1]-.5,`, ${_e?"() =>":"function()"} { ${ye} }`)}};k.exports=HarmonyAcceptDependency},46325:function(k,v,E){"use strict";const P=E(58528);const R=E(69184);const L=E(53139);class HarmonyAcceptImportDependency extends R{constructor(k){super(k,NaN);this.weak=true}get type(){return"harmony accept"}}P(HarmonyAcceptImportDependency,"webpack/lib/dependencies/HarmonyAcceptImportDependency");HarmonyAcceptImportDependency.Template=L.Template;k.exports=HarmonyAcceptImportDependency},2075:function(k,v,E){"use strict";const{UsageState:P}=E(11172);const R=E(88113);const L=E(56727);const N=E(58528);const q=E(53139);class HarmonyCompatibilityDependency extends q{get type(){return"harmony export header"}}N(HarmonyCompatibilityDependency,"webpack/lib/dependencies/HarmonyCompatibilityDependency");HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate extends q.Template{apply(k,v,{module:E,runtimeTemplate:N,moduleGraph:q,initFragments:ae,runtimeRequirements:le,runtime:pe,concatenationScope:me}){if(me)return;const ye=q.getExportsInfo(E);if(ye.getReadOnlyExportInfo("__esModule").getUsed(pe)!==P.Unused){const k=N.defineEsModuleFlagStatement({exportsArgument:E.exportsArgument,runtimeRequirements:le});ae.push(new R(k,R.STAGE_HARMONY_EXPORTS,0,"harmony compatibility"))}if(q.isAsync(E)){le.add(L.module);le.add(L.asyncModule);ae.push(new R(N.supportsArrowFunction()?`${L.asyncModule}(${E.moduleArgument}, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {\n`:`${L.asyncModule}(${E.moduleArgument}, async function (__webpack_handle_async_dependencies__, __webpack_async_result__) { try {\n`,R.STAGE_ASYNC_BOUNDARY,0,undefined,`\n__webpack_async_result__();\n} catch(e) { __webpack_async_result__(e); } }${E.buildMeta.async?", 1":""});`))}}};k.exports=HarmonyCompatibilityDependency},23144:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_ESM:P}=E(93622);const R=E(71203);const L=E(2075);const N=E(71803);k.exports=class HarmonyDetectionParserPlugin{constructor(k){const{topLevelAwait:v=false}=k||{};this.topLevelAwait=v}apply(k){k.hooks.program.tap("HarmonyDetectionParserPlugin",(v=>{const E=k.state.module.type===P;const q=E||v.body.some((k=>k.type==="ImportDeclaration"||k.type==="ExportDefaultDeclaration"||k.type==="ExportNamedDeclaration"||k.type==="ExportAllDeclaration"));if(q){const v=k.state.module;const P=new L;P.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};v.addPresentationalDependency(P);R.bailout(k.state);N.enable(k.state,E);k.scope.isStrict=true}}));k.hooks.topLevelAwait.tap("HarmonyDetectionParserPlugin",(()=>{const v=k.state.module;if(!this.topLevelAwait){throw new Error("The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)")}if(!N.isEnabled(k.state)){throw new Error("Top-level-await is only supported in EcmaScript Modules")}v.buildMeta.async=true}));const skipInHarmony=()=>{if(N.isEnabled(k.state)){return true}};const nullInHarmony=()=>{if(N.isEnabled(k.state)){return null}};const v=["define","exports"];for(const E of v){k.hooks.evaluateTypeof.for(E).tap("HarmonyDetectionParserPlugin",nullInHarmony);k.hooks.typeof.for(E).tap("HarmonyDetectionParserPlugin",skipInHarmony);k.hooks.evaluate.for(E).tap("HarmonyDetectionParserPlugin",nullInHarmony);k.hooks.expression.for(E).tap("HarmonyDetectionParserPlugin",skipInHarmony);k.hooks.call.for(E).tap("HarmonyDetectionParserPlugin",skipInHarmony)}}}},5107:function(k,v,E){"use strict";const P=E(58528);const R=E(56390);class HarmonyEvaluatedImportSpecifierDependency extends R{constructor(k,v,E,P,R,L,N){super(k,v,E,P,R,false,L,[]);this.operator=N}get type(){return`evaluated X ${this.operator} harmony import specifier`}serialize(k){super.serialize(k);const{write:v}=k;v(this.operator)}deserialize(k){super.deserialize(k);const{read:v}=k;this.operator=v()}}P(HarmonyEvaluatedImportSpecifierDependency,"webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency");HarmonyEvaluatedImportSpecifierDependency.Template=class HarmonyEvaluatedImportSpecifierDependencyTemplate extends R.Template{apply(k,v,E){const P=k;const{module:R,moduleGraph:L,runtime:N}=E;const q=L.getConnection(P);if(q&&!q.isTargetActive(N))return;const ae=L.getExportsInfo(q.module);const le=P.getIds(L);let pe;const me=q.module.getExportsType(L,R.buildMeta.strictHarmonyModule);switch(me){case"default-with-named":{if(le[0]==="default"){pe=le.length===1||ae.isExportProvided(le.slice(1))}else{pe=ae.isExportProvided(le)}break}case"namespace":{if(le[0]==="__esModule"){pe=le.length===1||undefined}else{pe=ae.isExportProvided(le)}break}case"dynamic":{if(le[0]!=="default"){pe=ae.isExportProvided(le)}break}}if(typeof pe==="boolean"){v.replace(P.range[0],P.range[1]-1,` ${pe}`)}else{const k=ae.getUsedName(le,N);const R=this._getCodeForIds(P,v,E,le.slice(0,-1));v.replace(P.range[0],P.range[1]-1,`${k?JSON.stringify(k[k.length-1]):'""'} in ${R}`)}}};k.exports=HarmonyEvaluatedImportSpecifierDependency},33866:function(k,v,E){"use strict";const P=E(88926);const R=E(60381);const L=E(33579);const N=E(66057);const q=E(44827);const ae=E(95040);const{ExportPresenceModes:le}=E(69184);const{harmonySpecifierTag:pe,getAssertions:me}=E(57737);const ye=E(59398);const{HarmonyStarExportsList:_e}=q;k.exports=class HarmonyExportDependencyParserPlugin{constructor(k){this.exportPresenceMode=k.reexportExportsPresence!==undefined?le.fromUserOption(k.reexportExportsPresence):k.exportsPresence!==undefined?le.fromUserOption(k.exportsPresence):k.strictExportPresence?le.ERROR:le.AUTO}apply(k){const{exportPresenceMode:v}=this;k.hooks.export.tap("HarmonyExportDependencyParserPlugin",(v=>{const E=new N(v.declaration&&v.declaration.range,v.range);E.loc=Object.create(v.loc);E.loc.index=-1;k.state.module.addPresentationalDependency(E);return true}));k.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",((v,E)=>{k.state.lastHarmonyImportOrder=(k.state.lastHarmonyImportOrder||0)+1;const P=new R("",v.range);P.loc=Object.create(v.loc);P.loc.index=-1;k.state.module.addPresentationalDependency(P);const L=new ye(E,k.state.lastHarmonyImportOrder,me(v));L.loc=Object.create(v.loc);L.loc.index=-1;k.state.current.addDependency(L);return true}));k.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",((v,E)=>{const R=E.type==="FunctionDeclaration";const N=k.getComments([v.range[0],E.range[0]]);const q=new L(E.range,v.range,N.map((k=>{switch(k.type){case"Block":return`/*${k.value}*/`;case"Line":return`//${k.value}\n`}return""})).join(""),E.type.endsWith("Declaration")&&E.id?E.id.name:R?{id:E.id?E.id.name:undefined,range:[E.range[0],E.params.length>0?E.params[0].range[0]:E.body.range[0]],prefix:`${E.async?"async ":""}function${E.generator?"*":""} `,suffix:`(${E.params.length>0?"":") "}`}:undefined);q.loc=Object.create(v.loc);q.loc.index=-1;k.state.current.addDependency(q);P.addVariableUsage(k,E.type.endsWith("Declaration")&&E.id?E.id.name:"*default*","default");return true}));k.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",((E,R,L,N)=>{const le=k.getTagData(R,pe);let me;const ye=k.state.harmonyNamedExports=k.state.harmonyNamedExports||new Set;ye.add(L);P.addVariableUsage(k,R,L);if(le){me=new q(le.source,le.sourceOrder,le.ids,L,ye,null,v,null,le.assertions)}else{me=new ae(R,L)}me.loc=Object.create(E.loc);me.loc.index=N;k.state.current.addDependency(me);return true}));k.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",((E,P,R,L,N)=>{const ae=k.state.harmonyNamedExports=k.state.harmonyNamedExports||new Set;let le=null;if(L){ae.add(L)}else{le=k.state.harmonyStarExports=k.state.harmonyStarExports||new _e}const pe=new q(P,k.state.lastHarmonyImportOrder,R?[R]:[],L,ae,le&&le.slice(),v,le);if(le){le.push(pe)}pe.loc=Object.create(E.loc);pe.loc.index=N;k.state.current.addDependency(pe);return true}))}}},33579:function(k,v,E){"use strict";const P=E(91213);const R=E(56727);const L=E(58528);const N=E(10720);const q=E(89661);const ae=E(53139);class HarmonyExportExpressionDependency extends ae{constructor(k,v,E,P){super();this.range=k;this.rangeStatement=v;this.prefix=E;this.declarationId=P}get type(){return"harmony export expression"}getExports(k){return{exports:["default"],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(k){return false}serialize(k){const{write:v}=k;v(this.range);v(this.rangeStatement);v(this.prefix);v(this.declarationId);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.rangeStatement=v();this.prefix=v();this.declarationId=v();super.deserialize(k)}}L(HarmonyExportExpressionDependency,"webpack/lib/dependencies/HarmonyExportExpressionDependency");HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate extends ae.Template{apply(k,v,{module:E,moduleGraph:L,runtimeTemplate:ae,runtimeRequirements:le,initFragments:pe,runtime:me,concatenationScope:ye}){const _e=k;const{declarationId:Ie}=_e;const Me=E.exportsArgument;if(Ie){let k;if(typeof Ie==="string"){k=Ie}else{k=P.DEFAULT_EXPORT;v.replace(Ie.range[0],Ie.range[1]-1,`${Ie.prefix}${k}${Ie.suffix}`)}if(ye){ye.registerExport("default",k)}else{const v=L.getExportsInfo(E).getUsedName("default",me);if(v){const E=new Map;E.set(v,`/* export default binding */ ${k}`);pe.push(new q(Me,E))}}v.replace(_e.rangeStatement[0],_e.range[0]-1,`/* harmony default export */ ${_e.prefix}`)}else{let k;const Ie=P.DEFAULT_EXPORT;if(ae.supportsConst()){k=`/* harmony default export */ const ${Ie} = `;if(ye){ye.registerExport("default",Ie)}else{const v=L.getExportsInfo(E).getUsedName("default",me);if(v){le.add(R.exports);const k=new Map;k.set(v,Ie);pe.push(new q(Me,k))}else{k=`/* unused harmony default export */ var ${Ie} = `}}}else if(ye){k=`/* harmony default export */ var ${Ie} = `;ye.registerExport("default",Ie)}else{const v=L.getExportsInfo(E).getUsedName("default",me);if(v){le.add(R.exports);k=`/* harmony default export */ ${Me}${N(typeof v==="string"?[v]:v)} = `}else{k=`/* unused harmony default export */ var ${Ie} = `}}if(_e.range){v.replace(_e.rangeStatement[0],_e.range[0]-1,k+"("+_e.prefix);v.replace(_e.range[1],_e.rangeStatement[1]-.5,");");return}v.replace(_e.rangeStatement[0],_e.rangeStatement[1]-1,k)}}};k.exports=HarmonyExportExpressionDependency},66057:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class HarmonyExportHeaderDependency extends R{constructor(k,v){super();this.range=k;this.rangeStatement=v}get type(){return"harmony export header"}serialize(k){const{write:v}=k;v(this.range);v(this.rangeStatement);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.rangeStatement=v();super.deserialize(k)}}P(HarmonyExportHeaderDependency,"webpack/lib/dependencies/HarmonyExportHeaderDependency");HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate extends R.Template{apply(k,v,E){const P=k;const R="";const L=P.range?P.range[0]-1:P.rangeStatement[1]-1;v.replace(P.rangeStatement[0],L,R)}};k.exports=HarmonyExportHeaderDependency},44827:function(k,v,E){"use strict";const P=E(16848);const{UsageState:R}=E(11172);const L=E(36473);const N=E(88113);const q=E(56727);const ae=E(95041);const{countIterable:le}=E(54480);const{first:pe,combine:me}=E(59959);const ye=E(58528);const _e=E(10720);const{propertyName:Ie}=E(72627);const{getRuntimeKey:Me,keyToRuntime:Te}=E(1540);const je=E(89661);const Ne=E(69184);const Be=E(49798);const{ExportPresenceModes:qe}=Ne;const Ue=Symbol("HarmonyExportImportedSpecifierDependency.ids");class NormalReexportItem{constructor(k,v,E,P,R){this.name=k;this.ids=v;this.exportInfo=E;this.checked=P;this.hidden=R}}class ExportMode{constructor(k){this.type=k;this.items=null;this.name=null;this.partialNamespaceExportInfo=null;this.ignored=null;this.hidden=null;this.userRequest=null;this.fakeType=0}}const determineExportAssignments=(k,v,E)=>{const P=new Set;const R=[];if(E){v=v.concat(E)}for(const E of v){const v=R.length;R[v]=P.size;const L=k.getModule(E);if(L){const E=k.getExportsInfo(L);for(const k of E.exports){if(k.provided===true&&k.name!=="default"&&!P.has(k.name)){P.add(k.name);R[v]=P.size}}}}R.push(P.size);return{names:Array.from(P),dependencyIndices:R}};const findDependencyForName=({names:k,dependencyIndices:v},E,P)=>{const R=P[Symbol.iterator]();const L=v[Symbol.iterator]();let N=R.next();let q=L.next();if(q.done)return;for(let v=0;v=q.value){N=R.next();q=L.next();if(q.done)return}if(k[v]===E)return N.value}return undefined};const getMode=(k,v,E)=>{const P=k.getModule(v);if(!P){const k=new ExportMode("missing");k.userRequest=v.userRequest;return k}const L=v.name;const N=Te(E);const q=k.getParentModule(v);const ae=k.getExportsInfo(q);if(L?ae.getUsed(L,N)===R.Unused:ae.isUsed(N)===false){const k=new ExportMode("unused");k.name=L||"*";return k}const le=P.getExportsType(k,q.buildMeta.strictHarmonyModule);const pe=v.getIds(k);if(L&&pe.length>0&&pe[0]==="default"){switch(le){case"dynamic":{const k=new ExportMode("reexport-dynamic-default");k.name=L;return k}case"default-only":case"default-with-named":{const k=ae.getReadOnlyExportInfo(L);const v=new ExportMode("reexport-named-default");v.name=L;v.partialNamespaceExportInfo=k;return v}}}if(L){let k;const v=ae.getReadOnlyExportInfo(L);if(pe.length>0){switch(le){case"default-only":k=new ExportMode("reexport-undefined");k.name=L;break;default:k=new ExportMode("normal-reexport");k.items=[new NormalReexportItem(L,pe,v,false,false)];break}}else{switch(le){case"default-only":k=new ExportMode("reexport-fake-namespace-object");k.name=L;k.partialNamespaceExportInfo=v;k.fakeType=0;break;case"default-with-named":k=new ExportMode("reexport-fake-namespace-object");k.name=L;k.partialNamespaceExportInfo=v;k.fakeType=2;break;case"dynamic":default:k=new ExportMode("reexport-namespace-object");k.name=L;k.partialNamespaceExportInfo=v}}return k}const{ignoredExports:me,exports:ye,checked:_e,hidden:Ie}=v.getStarReexports(k,N,ae,P);if(!ye){const k=new ExportMode("dynamic-reexport");k.ignored=me;k.hidden=Ie;return k}if(ye.size===0){const k=new ExportMode("empty-star");k.hidden=Ie;return k}const Me=new ExportMode("normal-reexport");Me.items=Array.from(ye,(k=>new NormalReexportItem(k,[k],ae.getReadOnlyExportInfo(k),_e.has(k),false)));if(Ie!==undefined){for(const k of Ie){Me.items.push(new NormalReexportItem(k,[k],ae.getReadOnlyExportInfo(k),false,true))}}return Me};class HarmonyExportImportedSpecifierDependency extends Ne{constructor(k,v,E,P,R,L,N,q,ae){super(k,v,ae);this.ids=E;this.name=P;this.activeExports=R;this.otherStarExports=L;this.exportPresenceMode=N;this.allStarExports=q}couldAffectReferencingModule(){return P.TRANSITIVE}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(k){return k.getMeta(this)[Ue]||this.ids}setIds(k,v){k.getMeta(this)[Ue]=v}getMode(k,v){return k.dependencyCacheProvide(this,Me(v),getMode)}getStarReexports(k,v,E=k.getExportsInfo(k.getParentModule(this)),P=k.getModule(this)){const L=k.getExportsInfo(P);const N=L.otherExportsInfo.provided===false;const q=E.otherExportsInfo.getUsed(v)===R.Unused;const ae=new Set(["default",...this.activeExports]);let le=undefined;const pe=this._discoverActiveExportsFromOtherStarExports(k);if(pe!==undefined){le=new Set;for(let k=0;k{const P=this.getMode(k,E);return P.type!=="unused"&&P.type!=="empty-star"}}getModuleEvaluationSideEffectsState(k){return false}getReferencedExports(k,v){const E=this.getMode(k,v);switch(E.type){case"missing":case"unused":case"empty-star":case"reexport-undefined":return P.NO_EXPORTS_REFERENCED;case"reexport-dynamic-default":return P.EXPORTS_OBJECT_REFERENCED;case"reexport-named-default":{if(!E.partialNamespaceExportInfo)return P.EXPORTS_OBJECT_REFERENCED;const k=[];Be(v,k,[],E.partialNamespaceExportInfo);return k}case"reexport-namespace-object":case"reexport-fake-namespace-object":{if(!E.partialNamespaceExportInfo)return P.EXPORTS_OBJECT_REFERENCED;const k=[];Be(v,k,[],E.partialNamespaceExportInfo,E.type==="reexport-fake-namespace-object");return k}case"dynamic-reexport":return P.EXPORTS_OBJECT_REFERENCED;case"normal-reexport":{const k=[];for(const{ids:P,exportInfo:R,hidden:L}of E.items){if(L)continue;Be(v,k,P,R,false)}return k}default:throw new Error(`Unknown mode ${E.type}`)}}_discoverActiveExportsFromOtherStarExports(k){if(!this.otherStarExports)return undefined;const v="length"in this.otherStarExports?this.otherStarExports.length:le(this.otherStarExports);if(v===0)return undefined;if(this.allStarExports){const{names:E,dependencyIndices:P}=k.cached(determineExportAssignments,this.allStarExports.dependencies);return{names:E,namesSlice:P[v-1],dependencyIndices:P,dependencyIndex:v}}const{names:E,dependencyIndices:P}=k.cached(determineExportAssignments,this.otherStarExports,this);return{names:E,namesSlice:P[v-1],dependencyIndices:P,dependencyIndex:v}}getExports(k){const v=this.getMode(k,undefined);switch(v.type){case"missing":return undefined;case"dynamic-reexport":{const E=k.getConnection(this);return{exports:true,from:E,canMangle:false,excludeExports:v.hidden?me(v.ignored,v.hidden):v.ignored,hideExports:v.hidden,dependencies:[E.module]}}case"empty-star":return{exports:[],hideExports:v.hidden,dependencies:[k.getModule(this)]};case"normal-reexport":{const E=k.getConnection(this);return{exports:Array.from(v.items,(k=>({name:k.name,from:E,export:k.ids,hidden:k.hidden}))),priority:1,dependencies:[E.module]}}case"reexport-dynamic-default":{{const E=k.getConnection(this);return{exports:[{name:v.name,from:E,export:["default"]}],priority:1,dependencies:[E.module]}}}case"reexport-undefined":return{exports:[v.name],dependencies:[k.getModule(this)]};case"reexport-fake-namespace-object":{const E=k.getConnection(this);return{exports:[{name:v.name,from:E,export:null,exports:[{name:"default",canMangle:false,from:E,export:null}]}],priority:1,dependencies:[E.module]}}case"reexport-namespace-object":{const E=k.getConnection(this);return{exports:[{name:v.name,from:E,export:null}],priority:1,dependencies:[E.module]}}case"reexport-named-default":{const E=k.getConnection(this);return{exports:[{name:v.name,from:E,export:["default"]}],priority:1,dependencies:[E.module]}}default:throw new Error(`Unknown mode ${v.type}`)}}_getEffectiveExportPresenceLevel(k){if(this.exportPresenceMode!==qe.AUTO)return this.exportPresenceMode;return k.getParentModule(this).buildMeta.strictHarmonyModule?qe.ERROR:qe.WARN}getWarnings(k){const v=this._getEffectiveExportPresenceLevel(k);if(v===qe.WARN){return this._getErrors(k)}return null}getErrors(k){const v=this._getEffectiveExportPresenceLevel(k);if(v===qe.ERROR){return this._getErrors(k)}return null}_getErrors(k){const v=this.getIds(k);let E=this.getLinkingErrors(k,v,`(reexported as '${this.name}')`);if(v.length===0&&this.name===null){const v=this._discoverActiveExportsFromOtherStarExports(k);if(v&&v.namesSlice>0){const P=new Set(v.names.slice(v.namesSlice,v.dependencyIndices[v.dependencyIndex]));const R=k.getModule(this);if(R){const N=k.getExportsInfo(R);const q=new Map;for(const E of N.orderedExports){if(E.provided!==true)continue;if(E.name==="default")continue;if(this.activeExports.has(E.name))continue;if(P.has(E.name))continue;const L=findDependencyForName(v,E.name,this.allStarExports?this.allStarExports.dependencies:[...this.otherStarExports,this]);if(!L)continue;const N=E.getTerminalBinding(k);if(!N)continue;const ae=k.getModule(L);if(ae===R)continue;const le=k.getExportInfo(ae,E.name);const pe=le.getTerminalBinding(k);if(!pe)continue;if(N===pe)continue;const me=q.get(L.request);if(me===undefined){q.set(L.request,[E.name])}else{me.push(E.name)}}for(const[k,v]of q){if(!E)E=[];E.push(new L(`The requested module '${this.request}' contains conflicting star exports for the ${v.length>1?"names":"name"} ${v.map((k=>`'${k}'`)).join(", ")} with the previous requested module '${k}'`))}}}}return E}serialize(k){const{write:v,setCircularReference:E}=k;E(this);v(this.ids);v(this.name);v(this.activeExports);v(this.otherStarExports);v(this.exportPresenceMode);v(this.allStarExports);super.serialize(k)}deserialize(k){const{read:v,setCircularReference:E}=k;E(this);this.ids=v();this.name=v();this.activeExports=v();this.otherStarExports=v();this.exportPresenceMode=v();this.allStarExports=v();super.deserialize(k)}}ye(HarmonyExportImportedSpecifierDependency,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency");k.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends Ne.Template{apply(k,v,E){const{moduleGraph:P,runtime:R,concatenationScope:L}=E;const N=k;const q=N.getMode(P,R);if(L){switch(q.type){case"reexport-undefined":L.registerRawExport(q.name,"/* reexport non-default export from non-harmony */ undefined")}return}if(q.type!=="unused"&&q.type!=="empty-star"){super.apply(k,v,E);this._addExportFragments(E.initFragments,N,q,E.module,P,R,E.runtimeTemplate,E.runtimeRequirements)}}_addExportFragments(k,v,E,P,R,L,le,ye){const _e=R.getModule(v);const Ie=v.getImportVar(R);switch(E.type){case"missing":case"empty-star":k.push(new N("/* empty/unused harmony star reexport */\n",N.STAGE_HARMONY_EXPORTS,1));break;case"unused":k.push(new N(`${ae.toNormalComment(`unused harmony reexport ${E.name}`)}\n`,N.STAGE_HARMONY_EXPORTS,1));break;case"reexport-dynamic-default":k.push(this.getReexportFragment(P,"reexport default from dynamic",R.getExportsInfo(P).getUsedName(E.name,L),Ie,null,ye));break;case"reexport-fake-namespace-object":k.push(...this.getReexportFakeNamespaceObjectFragments(P,R.getExportsInfo(P).getUsedName(E.name,L),Ie,E.fakeType,ye));break;case"reexport-undefined":k.push(this.getReexportFragment(P,"reexport non-default export from non-harmony",R.getExportsInfo(P).getUsedName(E.name,L),"undefined","",ye));break;case"reexport-named-default":k.push(this.getReexportFragment(P,"reexport default export from named module",R.getExportsInfo(P).getUsedName(E.name,L),Ie,"",ye));break;case"reexport-namespace-object":k.push(this.getReexportFragment(P,"reexport module object",R.getExportsInfo(P).getUsedName(E.name,L),Ie,"",ye));break;case"normal-reexport":for(const{name:q,ids:ae,checked:le,hidden:pe}of E.items){if(pe)continue;if(le){k.push(new N("/* harmony reexport (checked) */ "+this.getConditionalReexportStatement(P,q,Ie,ae,ye),R.isAsync(_e)?N.STAGE_ASYNC_HARMONY_IMPORTS:N.STAGE_HARMONY_IMPORTS,v.sourceOrder))}else{k.push(this.getReexportFragment(P,"reexport safe",R.getExportsInfo(P).getUsedName(q,L),Ie,R.getExportsInfo(_e).getUsedName(ae,L),ye))}}break;case"dynamic-reexport":{const L=E.hidden?me(E.ignored,E.hidden):E.ignored;const ae=le.supportsConst()&&le.supportsArrowFunction();let Me="/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n"+`/* harmony reexport (unknown) */ for(${ae?"const":"var"} __WEBPACK_IMPORT_KEY__ in ${Ie}) `;if(L.size>1){Me+="if("+JSON.stringify(Array.from(L))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else if(L.size===1){Me+=`if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(pe(L))}) `}Me+=`__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;if(ae){Me+=`() => ${Ie}[__WEBPACK_IMPORT_KEY__]`}else{Me+=`function(key) { return ${Ie}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`}ye.add(q.exports);ye.add(q.definePropertyGetters);const Te=P.exportsArgument;k.push(new N(`${Me}\n/* harmony reexport (unknown) */ ${q.definePropertyGetters}(${Te}, __WEBPACK_REEXPORT_OBJECT__);\n`,R.isAsync(_e)?N.STAGE_ASYNC_HARMONY_IMPORTS:N.STAGE_HARMONY_IMPORTS,v.sourceOrder));break}default:throw new Error(`Unknown mode ${E.type}`)}}getReexportFragment(k,v,E,P,R,L){const N=this.getReturnValue(P,R);L.add(q.exports);L.add(q.definePropertyGetters);const ae=new Map;ae.set(E,`/* ${v} */ ${N}`);return new je(k.exportsArgument,ae)}getReexportFakeNamespaceObjectFragments(k,v,E,P,R){R.add(q.exports);R.add(q.definePropertyGetters);R.add(q.createFakeNamespaceObject);const L=new Map;L.set(v,`/* reexport fake namespace object from non-harmony */ ${E}_namespace_cache || (${E}_namespace_cache = ${q.createFakeNamespaceObject}(${E}${P?`, ${P}`:""}))`);return[new N(`var ${E}_namespace_cache;\n`,N.STAGE_CONSTANTS,-1,`${E}_namespace_cache`),new je(k.exportsArgument,L)]}getConditionalReexportStatement(k,v,E,P,R){if(P===false){return"/* unused export */\n"}const L=k.exportsArgument;const N=this.getReturnValue(E,P);R.add(q.exports);R.add(q.definePropertyGetters);R.add(q.hasOwnProperty);return`if(${q.hasOwnProperty}(${E}, ${JSON.stringify(P[0])})) ${q.definePropertyGetters}(${L}, { ${Ie(v)}: function() { return ${N}; } });\n`}getReturnValue(k,v){if(v===null){return`${k}_default.a`}if(v===""){return k}if(v===false){return"/* unused export */ undefined"}return`${k}${_e(v)}`}};class HarmonyStarExportsList{constructor(){this.dependencies=[]}push(k){this.dependencies.push(k)}slice(){return this.dependencies.slice()}serialize({write:k,setCircularReference:v}){v(this);k(this.dependencies)}deserialize({read:k,setCircularReference:v}){v(this);this.dependencies=k()}}ye(HarmonyStarExportsList,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency","HarmonyStarExportsList");k.exports.HarmonyStarExportsList=HarmonyStarExportsList},89661:function(k,v,E){"use strict";const P=E(88113);const R=E(56727);const{first:L}=E(59959);const{propertyName:N}=E(72627);const joinIterableWithComma=k=>{let v="";let E=true;for(const P of k){if(E){E=false}else{v+=", "}v+=P}return v};const q=new Map;const ae=new Set;class HarmonyExportInitFragment extends P{constructor(k,v=q,E=ae){super(undefined,P.STAGE_HARMONY_EXPORTS,1,"harmony-exports");this.exportsArgument=k;this.exportMap=v;this.unusedExports=E}mergeAll(k){let v;let E=false;let P;let R=false;for(const L of k){if(L.exportMap.size!==0){if(v===undefined){v=L.exportMap;E=false}else{if(!E){v=new Map(v);E=true}for(const[k,E]of L.exportMap){if(!v.has(k))v.set(k,E)}}}if(L.unusedExports.size!==0){if(P===undefined){P=L.unusedExports;R=false}else{if(!R){P=new Set(P);R=true}for(const k of L.unusedExports){P.add(k)}}}}return new HarmonyExportInitFragment(this.exportsArgument,v,P)}merge(k){let v;if(this.exportMap.size===0){v=k.exportMap}else if(k.exportMap.size===0){v=this.exportMap}else{v=new Map(k.exportMap);for(const[k,E]of this.exportMap){if(!v.has(k))v.set(k,E)}}let E;if(this.unusedExports.size===0){E=k.unusedExports}else if(k.unusedExports.size===0){E=this.unusedExports}else{E=new Set(k.unusedExports);for(const k of this.unusedExports){E.add(k)}}return new HarmonyExportInitFragment(this.exportsArgument,v,E)}getContent({runtimeTemplate:k,runtimeRequirements:v}){v.add(R.exports);v.add(R.definePropertyGetters);const E=this.unusedExports.size>1?`/* unused harmony exports ${joinIterableWithComma(this.unusedExports)} */\n`:this.unusedExports.size>0?`/* unused harmony export ${L(this.unusedExports)} */\n`:"";const P=[];const q=Array.from(this.exportMap).sort((([k],[v])=>k0?`/* harmony export */ ${R.definePropertyGetters}(${this.exportsArgument}, {${P.join(",")}\n/* harmony export */ });\n`:"";return`${ae}${E}`}}k.exports=HarmonyExportInitFragment},95040:function(k,v,E){"use strict";const P=E(58528);const R=E(89661);const L=E(53139);class HarmonyExportSpecifierDependency extends L{constructor(k,v){super();this.id=k;this.name=v}get type(){return"harmony export specifier"}getExports(k){return{exports:[this.name],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(k){return false}serialize(k){const{write:v}=k;v(this.id);v(this.name);super.serialize(k)}deserialize(k){const{read:v}=k;this.id=v();this.name=v();super.deserialize(k)}}P(HarmonyExportSpecifierDependency,"webpack/lib/dependencies/HarmonyExportSpecifierDependency");HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate extends L.Template{apply(k,v,{module:E,moduleGraph:P,initFragments:L,runtime:N,concatenationScope:q}){const ae=k;if(q){q.registerExport(ae.name,ae.id);return}const le=P.getExportsInfo(E).getUsedName(ae.name,N);if(!le){const k=new Set;k.add(ae.name||"namespace");L.push(new R(E.exportsArgument,undefined,k));return}const pe=new Map;pe.set(le,`/* binding */ ${ae.id}`);L.push(new R(E.exportsArgument,pe,undefined))}};k.exports=HarmonyExportSpecifierDependency},71803:function(k,v,E){"use strict";const P=E(56727);const R=new WeakMap;v.enable=(k,v)=>{const E=R.get(k);if(E===false)return;R.set(k,true);if(E!==true){k.module.buildMeta.exportsType="namespace";k.module.buildInfo.strict=true;k.module.buildInfo.exportsArgument=P.exports;if(v){k.module.buildMeta.strictHarmonyModule=true;k.module.buildInfo.moduleArgument="__webpack_module__"}}};v.isEnabled=k=>{const v=R.get(k);return v===true}},69184:function(k,v,E){"use strict";const P=E(33769);const R=E(16848);const L=E(36473);const N=E(88113);const q=E(95041);const ae=E(55770);const{filterRuntime:le,mergeRuntime:pe}=E(1540);const me=E(77373);const ye={NONE:0,WARN:1,AUTO:2,ERROR:3,fromUserOption(k){switch(k){case"error":return ye.ERROR;case"warn":return ye.WARN;case"auto":return ye.AUTO;case false:return ye.NONE;default:throw new Error(`Invalid export presence value ${k}`)}}};class HarmonyImportDependency extends me{constructor(k,v,E){super(k);this.sourceOrder=v;this.assertions=E}get category(){return"esm"}getReferencedExports(k,v){return R.NO_EXPORTS_REFERENCED}getImportVar(k){const v=k.getParentModule(this);const E=k.getMeta(v);let P=E.importVarMap;if(!P)E.importVarMap=P=new Map;let R=P.get(k.getModule(this));if(R)return R;R=`${q.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${P.size}__`;P.set(k.getModule(this),R);return R}getImportStatement(k,{runtimeTemplate:v,module:E,moduleGraph:P,chunkGraph:R,runtimeRequirements:L}){return v.importStatement({update:k,module:P.getModule(this),chunkGraph:R,importVar:this.getImportVar(P),request:this.request,originModule:E,runtimeRequirements:L})}getLinkingErrors(k,v,E){const P=k.getModule(this);if(!P||P.getNumberOfErrors()>0){return}const R=k.getParentModule(this);const N=P.getExportsType(k,R.buildMeta.strictHarmonyModule);if(N==="namespace"||N==="default-with-named"){if(v.length===0){return}if((N!=="default-with-named"||v[0]!=="default")&&k.isExportProvided(P,v)===false){let R=0;let N=k.getExportsInfo(P);while(R`'${k}'`)).join(".")} ${E} was not found in '${this.userRequest}'${P}`)]}N=P.getNestedExportsInfo()}return[new L(`export ${v.map((k=>`'${k}'`)).join(".")} ${E} was not found in '${this.userRequest}'`)]}}switch(N){case"default-only":if(v.length>0&&v[0]!=="default"){return[new L(`Can't import the named export ${v.map((k=>`'${k}'`)).join(".")} ${E} from default-exporting module (only default export is available)`)]}break;case"default-with-named":if(v.length>0&&v[0]!=="default"&&P.buildMeta.defaultObject==="redirect-warn"){return[new L(`Should not import the named export ${v.map((k=>`'${k}'`)).join(".")} ${E} from default-exporting module (only default export is available soon)`)]}break}}serialize(k){const{write:v}=k;v(this.sourceOrder);v(this.assertions);super.serialize(k)}deserialize(k){const{read:v}=k;this.sourceOrder=v();this.assertions=v();super.deserialize(k)}}k.exports=HarmonyImportDependency;const _e=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate extends me.Template{apply(k,v,E){const R=k;const{module:L,chunkGraph:q,moduleGraph:me,runtime:ye}=E;const Ie=me.getConnection(R);if(Ie&&!Ie.isTargetActive(ye))return;const Me=Ie&&Ie.module;if(Ie&&Ie.weak&&Me&&q.getModuleId(Me)===null){return}const Te=Me?Me.identifier():R.request;const je=`harmony import ${Te}`;const Ne=R.weak?false:Ie?le(ye,(k=>Ie.isTargetActive(k))):true;if(L&&Me){let k=_e.get(L);if(k===undefined){k=new WeakMap;_e.set(L,k)}let v=Ne;const E=k.get(Me)||false;if(E!==false&&v!==true){if(v===false||E===true){v=E}else{v=pe(E,v)}}k.set(Me,v)}const Be=R.getImportStatement(false,E);if(Me&&E.moduleGraph.isAsync(Me)){E.initFragments.push(new P(Be[0],N.STAGE_HARMONY_IMPORTS,R.sourceOrder,je,Ne));E.initFragments.push(new ae(new Set([R.getImportVar(E.moduleGraph)])));E.initFragments.push(new P(Be[1],N.STAGE_ASYNC_HARMONY_IMPORTS,R.sourceOrder,je+" compat",Ne))}else{E.initFragments.push(new P(Be[0]+Be[1],N.STAGE_HARMONY_IMPORTS,R.sourceOrder,je,Ne))}}static getImportEmittedRuntime(k,v){const E=_e.get(k);if(E===undefined)return false;return E.get(v)||false}};k.exports.ExportPresenceModes=ye},57737:function(k,v,E){"use strict";const P=E(29898);const R=E(88926);const L=E(60381);const N=E(95077);const q=E(46325);const ae=E(5107);const le=E(71803);const{ExportPresenceModes:pe}=E(69184);const me=E(59398);const ye=E(56390);const _e=Symbol("harmony import");function getAssertions(k){const v=k.assertions;if(v===undefined){return undefined}const E={};for(const k of v){const v=k.key.type==="Identifier"?k.key.name:k.key.value;E[v]=k.value.value}return E}k.exports=class HarmonyImportDependencyParserPlugin{constructor(k){this.exportPresenceMode=k.importExportsPresence!==undefined?pe.fromUserOption(k.importExportsPresence):k.exportsPresence!==undefined?pe.fromUserOption(k.exportsPresence):k.strictExportPresence?pe.ERROR:pe.AUTO;this.strictThisContextOnImports=k.strictThisContextOnImports}apply(k){const{exportPresenceMode:v}=this;function getNonOptionalPart(k,v){let E=0;while(E{const E=v;if(k.isVariableDefined(E.name)||k.getTagData(E.name,_e)){return true}}));k.hooks.import.tap("HarmonyImportDependencyParserPlugin",((v,E)=>{k.state.lastHarmonyImportOrder=(k.state.lastHarmonyImportOrder||0)+1;const P=new L(k.isAsiPosition(v.range[0])?";":"",v.range);P.loc=v.loc;k.state.module.addPresentationalDependency(P);k.unsetAsiPosition(v.range[1]);const R=getAssertions(v);const N=new me(E,k.state.lastHarmonyImportOrder,R);N.loc=v.loc;k.state.module.addDependency(N);return true}));k.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",((v,E,P,R)=>{const L=P===null?[]:[P];k.tagVariable(R,_e,{name:R,source:E,ids:L,sourceOrder:k.state.lastHarmonyImportOrder,assertions:getAssertions(v)});return true}));k.hooks.binaryExpression.tap("HarmonyImportDependencyParserPlugin",(v=>{if(v.operator!=="in")return;const E=k.evaluateExpression(v.left);if(E.couldHaveSideEffects())return;const P=E.asString();if(!P)return;const L=k.evaluateExpression(v.right);if(!L.isIdentifier())return;const N=L.rootInfo;if(typeof N==="string"||!N||!N.tagInfo||N.tagInfo.tag!==_e)return;const q=N.tagInfo.data;const le=L.getMembers();const pe=new ae(q.source,q.sourceOrder,q.ids.concat(le).concat([P]),q.name,v.range,q.assertions,"in");pe.directImport=le.length===0;pe.asiSafe=!k.isAsiPosition(v.range[0]);pe.loc=v.loc;k.state.module.addDependency(pe);R.onUsage(k.state,(k=>pe.usedByExports=k));return true}));k.hooks.expression.for(_e).tap("HarmonyImportDependencyParserPlugin",(E=>{const P=k.currentTagData;const L=new ye(P.source,P.sourceOrder,P.ids,P.name,E.range,v,P.assertions,[]);L.referencedPropertiesInDestructuring=k.destructuringAssignmentPropertiesFor(E);L.shorthand=k.scope.inShorthand;L.directImport=true;L.asiSafe=!k.isAsiPosition(E.range[0]);L.loc=E.loc;k.state.module.addDependency(L);R.onUsage(k.state,(k=>L.usedByExports=k));return true}));k.hooks.expressionMemberChain.for(_e).tap("HarmonyImportDependencyParserPlugin",((E,P,L,N)=>{const q=k.currentTagData;const ae=getNonOptionalPart(P,L);const le=N.slice(0,N.length-(P.length-ae.length));const pe=ae!==P?getNonOptionalMemberChain(E,P.length-ae.length):E;const me=q.ids.concat(ae);const _e=new ye(q.source,q.sourceOrder,me,q.name,pe.range,v,q.assertions,le);_e.referencedPropertiesInDestructuring=k.destructuringAssignmentPropertiesFor(pe);_e.asiSafe=!k.isAsiPosition(pe.range[0]);_e.loc=pe.loc;k.state.module.addDependency(_e);R.onUsage(k.state,(k=>_e.usedByExports=k));return true}));k.hooks.callMemberChain.for(_e).tap("HarmonyImportDependencyParserPlugin",((E,P,L,N)=>{const{arguments:q,callee:ae}=E;const le=k.currentTagData;const pe=getNonOptionalPart(P,L);const me=N.slice(0,N.length-(P.length-pe.length));const _e=pe!==P?getNonOptionalMemberChain(ae,P.length-pe.length):ae;const Ie=le.ids.concat(pe);const Me=new ye(le.source,le.sourceOrder,Ie,le.name,_e.range,v,le.assertions,me);Me.directImport=P.length===0;Me.call=true;Me.asiSafe=!k.isAsiPosition(_e.range[0]);Me.namespaceObjectAsContext=P.length>0&&this.strictThisContextOnImports;Me.loc=_e.loc;k.state.module.addDependency(Me);if(q)k.walkExpressions(q);R.onUsage(k.state,(k=>Me.usedByExports=k));return true}));const{hotAcceptCallback:E,hotAcceptWithoutCallback:pe}=P.getParserHooks(k);E.tap("HarmonyImportDependencyParserPlugin",((v,E)=>{if(!le.isEnabled(k.state)){return}const P=E.map((E=>{const P=new q(E);P.loc=v.loc;k.state.module.addDependency(P);return P}));if(P.length>0){const E=new N(v.range,P,true);E.loc=v.loc;k.state.module.addDependency(E)}}));pe.tap("HarmonyImportDependencyParserPlugin",((v,E)=>{if(!le.isEnabled(k.state)){return}const P=E.map((E=>{const P=new q(E);P.loc=v.loc;k.state.module.addDependency(P);return P}));if(P.length>0){const E=new N(v.range,P,false);E.loc=v.loc;k.state.module.addDependency(E)}}))}};k.exports.harmonySpecifierTag=_e;k.exports.getAssertions=getAssertions},59398:function(k,v,E){"use strict";const P=E(58528);const R=E(69184);class HarmonyImportSideEffectDependency extends R{constructor(k,v,E){super(k,v,E)}get type(){return"harmony side effect evaluation"}getCondition(k){return v=>{const E=v.resolvedModule;if(!E)return true;return E.getSideEffectsConnectionState(k)}}getModuleEvaluationSideEffectsState(k){const v=k.getModule(this);if(!v)return true;return v.getSideEffectsConnectionState(k)}}P(HarmonyImportSideEffectDependency,"webpack/lib/dependencies/HarmonyImportSideEffectDependency");HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends R.Template{apply(k,v,E){const{moduleGraph:P,concatenationScope:R}=E;if(R){const v=P.getModule(k);if(R.isModuleInScope(v)){return}}super.apply(k,v,E)}};k.exports=HarmonyImportSideEffectDependency},56390:function(k,v,E){"use strict";const P=E(16848);const{getDependencyUsedByExportsCondition:R}=E(88926);const L=E(58528);const N=E(10720);const q=E(69184);const ae=Symbol("HarmonyImportSpecifierDependency.ids");const{ExportPresenceModes:le}=q;class HarmonyImportSpecifierDependency extends q{constructor(k,v,E,P,R,L,N,q){super(k,v,N);this.ids=E;this.name=P;this.range=R;this.idRanges=q;this.exportPresenceMode=L;this.namespaceObjectAsContext=false;this.call=undefined;this.directImport=undefined;this.shorthand=undefined;this.asiSafe=undefined;this.usedByExports=undefined;this.referencedPropertiesInDestructuring=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(k){const v=k.getMetaIfExisting(this);if(v===undefined)return this.ids;const E=v[ae];return E!==undefined?E:this.ids}setIds(k,v){k.getMeta(this)[ae]=v}getCondition(k){return R(this,this.usedByExports,k)}getModuleEvaluationSideEffectsState(k){return false}getReferencedExports(k,v){let E=this.getIds(k);if(E.length===0)return this._getReferencedExportsInDestructuring();let R=this.namespaceObjectAsContext;if(E[0]==="default"){const v=k.getParentModule(this);const L=k.getModule(this);switch(L.getExportsType(k,v.buildMeta.strictHarmonyModule)){case"default-only":case"default-with-named":if(E.length===1)return this._getReferencedExportsInDestructuring();E=E.slice(1);R=true;break;case"dynamic":return P.EXPORTS_OBJECT_REFERENCED}}if(this.call&&!this.directImport&&(R||E.length>1)){if(E.length===1)return P.EXPORTS_OBJECT_REFERENCED;E=E.slice(0,-1)}return this._getReferencedExportsInDestructuring(E)}_getReferencedExportsInDestructuring(k){if(this.referencedPropertiesInDestructuring){const v=[];for(const E of this.referencedPropertiesInDestructuring){v.push({name:k?k.concat([E]):[E],canMangle:false})}return v}else{return k?[k]:P.EXPORTS_OBJECT_REFERENCED}}_getEffectiveExportPresenceLevel(k){if(this.exportPresenceMode!==le.AUTO)return this.exportPresenceMode;return k.getParentModule(this).buildMeta.strictHarmonyModule?le.ERROR:le.WARN}getWarnings(k){const v=this._getEffectiveExportPresenceLevel(k);if(v===le.WARN){return this._getErrors(k)}return null}getErrors(k){const v=this._getEffectiveExportPresenceLevel(k);if(v===le.ERROR){return this._getErrors(k)}return null}_getErrors(k){const v=this.getIds(k);return this.getLinkingErrors(k,v,`(imported as '${this.name}')`)}getNumberOfIdOccurrences(){return 0}serialize(k){const{write:v}=k;v(this.ids);v(this.name);v(this.range);v(this.idRanges);v(this.exportPresenceMode);v(this.namespaceObjectAsContext);v(this.call);v(this.directImport);v(this.shorthand);v(this.asiSafe);v(this.usedByExports);v(this.referencedPropertiesInDestructuring);super.serialize(k)}deserialize(k){const{read:v}=k;this.ids=v();this.name=v();this.range=v();this.idRanges=v();this.exportPresenceMode=v();this.namespaceObjectAsContext=v();this.call=v();this.directImport=v();this.shorthand=v();this.asiSafe=v();this.usedByExports=v();this.referencedPropertiesInDestructuring=v();super.deserialize(k)}}L(HarmonyImportSpecifierDependency,"webpack/lib/dependencies/HarmonyImportSpecifierDependency");HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends q.Template{apply(k,v,E){const P=k;const{moduleGraph:R,runtime:L}=E;const N=R.getConnection(P);if(N&&!N.isTargetActive(L))return;const q=P.getIds(R);let ae=this._trimIdsToThoseImported(q,R,P);let[le,pe]=P.range;if(ae.length!==q.length){const k=P.idRanges===undefined?-1:P.idRanges.length+(ae.length-q.length);if(k<0||k>=P.idRanges.length){ae=q}else{[le,pe]=P.idRanges[k]}}const me=this._getCodeForIds(P,v,E,ae);if(P.shorthand){v.insert(pe,`: ${me}`)}else{v.replace(le,pe-1,me)}}_trimIdsToThoseImported(k,v,E){let P=[];const R=v.getExportsInfo(v.getModule(E));let L=R;for(let v=0;v{k.dependencyTemplates.set(L,new L.Template);k.dependencyFactories.set(me,v);k.dependencyTemplates.set(me,new me.Template);k.dependencyFactories.set(ye,v);k.dependencyTemplates.set(ye,new ye.Template);k.dependencyFactories.set(N,v);k.dependencyTemplates.set(N,new N.Template);k.dependencyTemplates.set(ae,new ae.Template);k.dependencyTemplates.set(q,new q.Template);k.dependencyTemplates.set(pe,new pe.Template);k.dependencyFactories.set(le,v);k.dependencyTemplates.set(le,new le.Template);k.dependencyTemplates.set(P,new P.Template);k.dependencyFactories.set(R,v);k.dependencyTemplates.set(R,new R.Template);const handler=(k,v)=>{if(v.harmony!==undefined&&!v.harmony)return;new Me(this.options).apply(k);new je(v).apply(k);new Te(v).apply(k);(new Ne).apply(k)};v.hooks.parser.for(_e).tap(Be,handler);v.hooks.parser.for(Ie).tap(Be,handler)}))}}k.exports=HarmonyModulesPlugin},37848:function(k,v,E){"use strict";const P=E(60381);const R=E(71803);class HarmonyTopLevelThisParserPlugin{apply(k){k.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",(v=>{if(!k.scope.topLevelScope)return;if(R.isEnabled(k.state)){const E=new P("undefined",v.range,null);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return this}}))}}k.exports=HarmonyTopLevelThisParserPlugin},94722:function(k,v,E){"use strict";const P=E(58528);const R=E(51395);const L=E(64077);class ImportContextDependency extends R{constructor(k,v,E){super(k);this.range=v;this.valueRange=E}get type(){return`import() context ${this.options.mode}`}get category(){return"esm"}serialize(k){const{write:v}=k;v(this.valueRange);super.serialize(k)}deserialize(k){const{read:v}=k;this.valueRange=v();super.deserialize(k)}}P(ImportContextDependency,"webpack/lib/dependencies/ImportContextDependency");ImportContextDependency.Template=L;k.exports=ImportContextDependency},75516:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);const L=E(77373);class ImportDependency extends L{constructor(k,v,E){super(k);this.range=v;this.referencedExports=E}get type(){return"import()"}get category(){return"esm"}getReferencedExports(k,v){return this.referencedExports?this.referencedExports.map((k=>({name:k,canMangle:false}))):P.EXPORTS_OBJECT_REFERENCED}serialize(k){k.write(this.range);k.write(this.referencedExports);super.serialize(k)}deserialize(k){this.range=k.read();this.referencedExports=k.read();super.deserialize(k)}}R(ImportDependency,"webpack/lib/dependencies/ImportDependency");ImportDependency.Template=class ImportDependencyTemplate extends L.Template{apply(k,v,{runtimeTemplate:E,module:P,moduleGraph:R,chunkGraph:L,runtimeRequirements:N}){const q=k;const ae=R.getParentBlock(q);const le=E.moduleNamespacePromise({chunkGraph:L,block:ae,module:R.getModule(q),request:q.request,strict:P.buildMeta.strictHarmonyModule,message:"import()",runtimeRequirements:N});v.replace(q.range[0],q.range[1]-1,le)}};k.exports=ImportDependency},72073:function(k,v,E){"use strict";const P=E(58528);const R=E(75516);class ImportEagerDependency extends R{constructor(k,v,E){super(k,v,E)}get type(){return"import() eager"}get category(){return"esm"}}P(ImportEagerDependency,"webpack/lib/dependencies/ImportEagerDependency");ImportEagerDependency.Template=class ImportEagerDependencyTemplate extends R.Template{apply(k,v,{runtimeTemplate:E,module:P,moduleGraph:R,chunkGraph:L,runtimeRequirements:N}){const q=k;const ae=E.moduleNamespacePromise({chunkGraph:L,module:R.getModule(q),request:q.request,strict:P.buildMeta.strictHarmonyModule,message:"import() eager",runtimeRequirements:N});v.replace(q.range[0],q.range[1]-1,ae)}};k.exports=ImportEagerDependency},91194:function(k,v,E){"use strict";const P=E(58528);const R=E(51395);const L=E(29729);class ImportMetaContextDependency extends R{constructor(k,v){super(k);this.range=v}get category(){return"esm"}get type(){return`import.meta.webpackContext ${this.options.mode}`}}P(ImportMetaContextDependency,"webpack/lib/dependencies/ImportMetaContextDependency");ImportMetaContextDependency.Template=L;k.exports=ImportMetaContextDependency},28394:function(k,v,E){"use strict";const P=E(71572);const{evaluateToIdentifier:R}=E(80784);const L=E(91194);function createPropertyParseError(k,v){return createError(`Parsing import.meta.webpackContext options failed. Unknown value for property ${JSON.stringify(k.key.name)}, expected type ${v}.`,k.value.loc)}function createError(k,v){const E=new P(k);E.name="ImportMetaContextError";E.loc=v;return E}k.exports=class ImportMetaContextDependencyParserPlugin{apply(k){k.hooks.evaluateIdentifier.for("import.meta.webpackContext").tap("ImportMetaContextDependencyParserPlugin",(k=>R("import.meta.webpackContext","import.meta",(()=>["webpackContext"]),true)(k)));k.hooks.call.for("import.meta.webpackContext").tap("ImportMetaContextDependencyParserPlugin",(v=>{if(v.arguments.length<1||v.arguments.length>2)return;const[E,P]=v.arguments;if(P&&P.type!=="ObjectExpression")return;const R=k.evaluateExpression(E);if(!R.isString())return;const N=R.string;const q=[];let ae=/^\.\/.*$/;let le=true;let pe="sync";let me;let ye;const _e={};let Ie;let Me;if(P){for(const v of P.properties){if(v.type!=="Property"||v.key.type!=="Identifier"){q.push(createError("Parsing import.meta.webpackContext options failed.",P.loc));break}switch(v.key.name){case"regExp":{const E=k.evaluateExpression(v.value);if(!E.isRegExp()){q.push(createPropertyParseError(v,"RegExp"))}else{ae=E.regExp}break}case"include":{const E=k.evaluateExpression(v.value);if(!E.isRegExp()){q.push(createPropertyParseError(v,"RegExp"))}else{me=E.regExp}break}case"exclude":{const E=k.evaluateExpression(v.value);if(!E.isRegExp()){q.push(createPropertyParseError(v,"RegExp"))}else{ye=E.regExp}break}case"mode":{const E=k.evaluateExpression(v.value);if(!E.isString()){q.push(createPropertyParseError(v,"string"))}else{pe=E.string}break}case"chunkName":{const E=k.evaluateExpression(v.value);if(!E.isString()){q.push(createPropertyParseError(v,"string"))}else{Ie=E.string}break}case"exports":{const E=k.evaluateExpression(v.value);if(E.isString()){Me=[[E.string]]}else if(E.isArray()){const k=E.items;if(k.every((k=>{if(!k.isArray())return false;const v=k.items;return v.every((k=>k.isString()))}))){Me=[];for(const v of k){const k=[];for(const E of v.items){k.push(E.string)}Me.push(k)}}else{q.push(createPropertyParseError(v,"string|string[][]"))}}else{q.push(createPropertyParseError(v,"string|string[][]"))}break}case"prefetch":{const E=k.evaluateExpression(v.value);if(E.isBoolean()){_e.prefetchOrder=0}else if(E.isNumber()){_e.prefetchOrder=E.number}else{q.push(createPropertyParseError(v,"boolean|number"))}break}case"preload":{const E=k.evaluateExpression(v.value);if(E.isBoolean()){_e.preloadOrder=0}else if(E.isNumber()){_e.preloadOrder=E.number}else{q.push(createPropertyParseError(v,"boolean|number"))}break}case"recursive":{const E=k.evaluateExpression(v.value);if(!E.isBoolean()){q.push(createPropertyParseError(v,"boolean"))}else{le=E.bool}break}default:q.push(createError(`Parsing import.meta.webpackContext options failed. Unknown property ${JSON.stringify(v.key.name)}.`,P.loc))}}}if(q.length){for(const v of q)k.state.current.addError(v);return}const Te=new L({request:N,include:me,exclude:ye,recursive:le,regExp:ae,groupOptions:_e,chunkName:Ie,referencedExports:Me,mode:pe,category:"esm"},v.range);Te.loc=v.loc;Te.optional=!!k.scope.inTry;k.state.current.addDependency(Te);return true}))}}},96090:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_ESM:R}=E(93622);const L=E(16624);const N=E(91194);const q=E(28394);const ae="ImportMetaContextPlugin";class ImportMetaContextPlugin{apply(k){k.hooks.compilation.tap(ae,((k,{contextModuleFactory:v,normalModuleFactory:E})=>{k.dependencyFactories.set(N,v);k.dependencyTemplates.set(N,new N.Template);k.dependencyFactories.set(L,E);const handler=(k,v)=>{if(v.importMetaContext!==undefined&&!v.importMetaContext)return;(new q).apply(k)};E.hooks.parser.for(P).tap(ae,handler);E.hooks.parser.for(R).tap(ae,handler)}))}}k.exports=ImportMetaContextPlugin},40867:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(3312);class ImportMetaHotAcceptDependency extends R{constructor(k,v){super(k);this.range=v;this.weak=true}get type(){return"import.meta.webpackHot.accept"}get category(){return"esm"}}P(ImportMetaHotAcceptDependency,"webpack/lib/dependencies/ImportMetaHotAcceptDependency");ImportMetaHotAcceptDependency.Template=L;k.exports=ImportMetaHotAcceptDependency},83894:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(3312);class ImportMetaHotDeclineDependency extends R{constructor(k,v){super(k);this.range=v;this.weak=true}get type(){return"import.meta.webpackHot.decline"}get category(){return"esm"}}P(ImportMetaHotDeclineDependency,"webpack/lib/dependencies/ImportMetaHotDeclineDependency");ImportMetaHotDeclineDependency.Template=L;k.exports=ImportMetaHotDeclineDependency},31615:function(k,v,E){"use strict";const{pathToFileURL:P}=E(57310);const R=E(84018);const{JAVASCRIPT_MODULE_TYPE_AUTO:L,JAVASCRIPT_MODULE_TYPE_ESM:N}=E(93622);const q=E(95041);const ae=E(70037);const{evaluateToIdentifier:le,toConstantDependency:pe,evaluateToString:me,evaluateToNumber:ye}=E(80784);const _e=E(20631);const Ie=E(10720);const Me=E(60381);const Te=_e((()=>E(43418)));const je="ImportMetaPlugin";class ImportMetaPlugin{apply(k){k.hooks.compilation.tap(je,((k,{normalModuleFactory:v})=>{const getUrl=k=>P(k.resource).toString();const parserHandler=(v,{importMeta:P})=>{if(P===false){const{importMetaName:E}=k.outputOptions;if(E==="import.meta")return;v.hooks.expression.for("import.meta").tap(je,(k=>{const P=new Me(E,k.range);P.loc=k.loc;v.state.module.addPresentationalDependency(P);return true}));return}const L=parseInt(E(35479).i8,10);const importMetaUrl=()=>JSON.stringify(getUrl(v.state.module));const importMetaWebpackVersion=()=>JSON.stringify(L);const importMetaUnknownProperty=k=>`${q.toNormalComment("unsupported import.meta."+k.join("."))} undefined${Ie(k,1)}`;v.hooks.typeof.for("import.meta").tap(je,pe(v,JSON.stringify("object")));v.hooks.expression.for("import.meta").tap(je,(k=>{const E=v.destructuringAssignmentPropertiesFor(k);if(!E){const E=Te();v.state.module.addWarning(new R(v.state.module,new E("Accessing import.meta directly is unsupported (only property access or destructuring is supported)"),k.loc));const P=new Me(`${v.isAsiPosition(k.range[0])?";":""}({})`,k.range);P.loc=k.loc;v.state.module.addPresentationalDependency(P);return true}let P="";for(const k of E){switch(k){case"url":P+=`url: ${importMetaUrl()},`;break;case"webpack":P+=`webpack: ${importMetaWebpackVersion()},`;break;default:P+=`[${JSON.stringify(k)}]: ${importMetaUnknownProperty([k])},`;break}}const L=new Me(`({${P}})`,k.range);L.loc=k.loc;v.state.module.addPresentationalDependency(L);return true}));v.hooks.evaluateTypeof.for("import.meta").tap(je,me("object"));v.hooks.evaluateIdentifier.for("import.meta").tap(je,le("import.meta","import.meta",(()=>[]),true));v.hooks.typeof.for("import.meta.url").tap(je,pe(v,JSON.stringify("string")));v.hooks.expression.for("import.meta.url").tap(je,(k=>{const E=new Me(importMetaUrl(),k.range);E.loc=k.loc;v.state.module.addPresentationalDependency(E);return true}));v.hooks.evaluateTypeof.for("import.meta.url").tap(je,me("string"));v.hooks.evaluateIdentifier.for("import.meta.url").tap(je,(k=>(new ae).setString(getUrl(v.state.module)).setRange(k.range)));v.hooks.typeof.for("import.meta.webpack").tap(je,pe(v,JSON.stringify("number")));v.hooks.expression.for("import.meta.webpack").tap(je,pe(v,importMetaWebpackVersion()));v.hooks.evaluateTypeof.for("import.meta.webpack").tap(je,me("number"));v.hooks.evaluateIdentifier.for("import.meta.webpack").tap(je,ye(L));v.hooks.unhandledExpressionMemberChain.for("import.meta").tap(je,((k,E)=>{const P=new Me(importMetaUnknownProperty(E),k.range);P.loc=k.loc;v.state.module.addPresentationalDependency(P);return true}));v.hooks.evaluate.for("MemberExpression").tap(je,(k=>{const v=k;if(v.object.type==="MetaProperty"&&v.object.meta.name==="import"&&v.object.property.name==="meta"&&v.property.type===(v.computed?"Literal":"Identifier")){return(new ae).setUndefined().setRange(v.range)}}))};v.hooks.parser.for(L).tap(je,parserHandler);v.hooks.parser.for(N).tap(je,parserHandler)}))}}k.exports=ImportMetaPlugin},89825:function(k,v,E){"use strict";const P=E(75081);const R=E(68160);const L=E(9415);const N=E(25012);const q=E(94722);const ae=E(75516);const le=E(72073);const pe=E(82591);class ImportParserPlugin{constructor(k){this.options=k}apply(k){const exportsFromEnumerable=k=>Array.from(k,(k=>[k]));k.hooks.importCall.tap("ImportParserPlugin",(v=>{const E=k.evaluateExpression(v.source);let me=null;let ye=this.options.dynamicImportMode;let _e=null;let Ie=null;let Me=null;const Te={};const{dynamicImportPreload:je,dynamicImportPrefetch:Ne}=this.options;if(je!==undefined&&je!==false)Te.preloadOrder=je===true?0:je;if(Ne!==undefined&&Ne!==false)Te.prefetchOrder=Ne===true?0:Ne;const{options:Be,errors:qe}=k.parseCommentOptions(v.range);if(qe){for(const v of qe){const{comment:E}=v;k.state.module.addWarning(new R(`Compilation error while processing magic comment(-s): /*${E.value}*/: ${v.message}`,E.loc))}}if(Be){if(Be.webpackIgnore!==undefined){if(typeof Be.webpackIgnore!=="boolean"){k.state.module.addWarning(new L(`\`webpackIgnore\` expected a boolean, but received: ${Be.webpackIgnore}.`,v.loc))}else{if(Be.webpackIgnore){return false}}}if(Be.webpackChunkName!==undefined){if(typeof Be.webpackChunkName!=="string"){k.state.module.addWarning(new L(`\`webpackChunkName\` expected a string, but received: ${Be.webpackChunkName}.`,v.loc))}else{me=Be.webpackChunkName}}if(Be.webpackMode!==undefined){if(typeof Be.webpackMode!=="string"){k.state.module.addWarning(new L(`\`webpackMode\` expected a string, but received: ${Be.webpackMode}.`,v.loc))}else{ye=Be.webpackMode}}if(Be.webpackPrefetch!==undefined){if(Be.webpackPrefetch===true){Te.prefetchOrder=0}else if(typeof Be.webpackPrefetch==="number"){Te.prefetchOrder=Be.webpackPrefetch}else{k.state.module.addWarning(new L(`\`webpackPrefetch\` expected true or a number, but received: ${Be.webpackPrefetch}.`,v.loc))}}if(Be.webpackPreload!==undefined){if(Be.webpackPreload===true){Te.preloadOrder=0}else if(typeof Be.webpackPreload==="number"){Te.preloadOrder=Be.webpackPreload}else{k.state.module.addWarning(new L(`\`webpackPreload\` expected true or a number, but received: ${Be.webpackPreload}.`,v.loc))}}if(Be.webpackInclude!==undefined){if(!Be.webpackInclude||!(Be.webpackInclude instanceof RegExp)){k.state.module.addWarning(new L(`\`webpackInclude\` expected a regular expression, but received: ${Be.webpackInclude}.`,v.loc))}else{_e=Be.webpackInclude}}if(Be.webpackExclude!==undefined){if(!Be.webpackExclude||!(Be.webpackExclude instanceof RegExp)){k.state.module.addWarning(new L(`\`webpackExclude\` expected a regular expression, but received: ${Be.webpackExclude}.`,v.loc))}else{Ie=Be.webpackExclude}}if(Be.webpackExports!==undefined){if(!(typeof Be.webpackExports==="string"||Array.isArray(Be.webpackExports)&&Be.webpackExports.every((k=>typeof k==="string")))){k.state.module.addWarning(new L(`\`webpackExports\` expected a string or an array of strings, but received: ${Be.webpackExports}.`,v.loc))}else{if(typeof Be.webpackExports==="string"){Me=[[Be.webpackExports]]}else{Me=exportsFromEnumerable(Be.webpackExports)}}}}if(ye!=="lazy"&&ye!=="lazy-once"&&ye!=="eager"&&ye!=="weak"){k.state.module.addWarning(new L(`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${ye}.`,v.loc));ye="lazy"}const Ue=k.destructuringAssignmentPropertiesFor(v);if(Ue){if(Me){k.state.module.addWarning(new L(`\`webpackExports\` could not be used with destructuring assignment.`,v.loc))}Me=exportsFromEnumerable(Ue)}if(E.isString()){if(ye==="eager"){const P=new le(E.string,v.range,Me);k.state.current.addDependency(P)}else if(ye==="weak"){const P=new pe(E.string,v.range,Me);k.state.current.addDependency(P)}else{const R=new P({...Te,name:me},v.loc,E.string);const L=new ae(E.string,v.range,Me);L.loc=v.loc;R.addDependency(L);k.state.current.addBlock(R)}return true}else{if(ye==="weak"){ye="async-weak"}const P=N.create(q,v.range,E,v,this.options,{chunkName:me,groupOptions:Te,include:_e,exclude:Ie,mode:ye,namespaceObject:k.state.module.buildMeta.strictHarmonyModule?"strict":true,typePrefix:"import()",category:"esm",referencedExports:Me},k);if(!P)return;P.loc=v.loc;P.optional=!!k.scope.inTry;k.state.current.addDependency(P);return true}}))}}k.exports=ImportParserPlugin},3970:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(94722);const q=E(75516);const ae=E(72073);const le=E(89825);const pe=E(82591);const me="ImportPlugin";class ImportPlugin{apply(k){k.hooks.compilation.tap(me,((k,{contextModuleFactory:v,normalModuleFactory:E})=>{k.dependencyFactories.set(q,E);k.dependencyTemplates.set(q,new q.Template);k.dependencyFactories.set(ae,E);k.dependencyTemplates.set(ae,new ae.Template);k.dependencyFactories.set(pe,E);k.dependencyTemplates.set(pe,new pe.Template);k.dependencyFactories.set(N,v);k.dependencyTemplates.set(N,new N.Template);const handler=(k,v)=>{if(v.import!==undefined&&!v.import)return;new le(v).apply(k)};E.hooks.parser.for(P).tap(me,handler);E.hooks.parser.for(R).tap(me,handler);E.hooks.parser.for(L).tap(me,handler)}))}}k.exports=ImportPlugin},82591:function(k,v,E){"use strict";const P=E(58528);const R=E(75516);class ImportWeakDependency extends R{constructor(k,v,E){super(k,v,E);this.weak=true}get type(){return"import() weak"}}P(ImportWeakDependency,"webpack/lib/dependencies/ImportWeakDependency");ImportWeakDependency.Template=class ImportDependencyTemplate extends R.Template{apply(k,v,{runtimeTemplate:E,module:P,moduleGraph:R,chunkGraph:L,runtimeRequirements:N}){const q=k;const ae=E.moduleNamespacePromise({chunkGraph:L,module:R.getModule(q),request:q.request,strict:P.buildMeta.strictHarmonyModule,message:"import() weak",weak:true,runtimeRequirements:N});v.replace(q.range[0],q.range[1]-1,ae)}};k.exports=ImportWeakDependency},19179:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);const getExportsFromData=k=>{if(k&&typeof k==="object"){if(Array.isArray(k)){return k.length<100?k.map(((k,v)=>({name:`${v}`,canMangle:true,exports:getExportsFromData(k)}))):undefined}else{const v=[];for(const E of Object.keys(k)){v.push({name:E,canMangle:true,exports:getExportsFromData(k[E])})}return v}}return undefined};class JsonExportsDependency extends R{constructor(k){super();this.data=k}get type(){return"json exports"}getExports(k){return{exports:getExportsFromData(this.data&&this.data.get()),dependencies:undefined}}updateHash(k,v){this.data.updateHash(k)}serialize(k){const{write:v}=k;v(this.data);super.serialize(k)}deserialize(k){const{read:v}=k;this.data=v();super.deserialize(k)}}P(JsonExportsDependency,"webpack/lib/dependencies/JsonExportsDependency");k.exports=JsonExportsDependency},74611:function(k,v,E){"use strict";const P=E(77373);class LoaderDependency extends P{constructor(k){super(k)}get type(){return"loader"}get category(){return"loader"}getCondition(k){return false}}k.exports=LoaderDependency},89056:function(k,v,E){"use strict";const P=E(77373);class LoaderImportDependency extends P{constructor(k){super(k);this.weak=true}get type(){return"loader import"}get category(){return"loaderImport"}getCondition(k){return false}}k.exports=LoaderImportDependency},63733:function(k,v,E){"use strict";const P=E(38224);const R=E(12359);const L=E(74611);const N=E(89056);class LoaderPlugin{constructor(k={}){}apply(k){k.hooks.compilation.tap("LoaderPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(L,v);k.dependencyFactories.set(N,v)}));k.hooks.compilation.tap("LoaderPlugin",(k=>{const v=k.moduleGraph;P.getCompilationHooks(k).loader.tap("LoaderPlugin",(E=>{E.loadModule=(P,N)=>{const q=new L(P);q.loc={name:P};const ae=k.dependencyFactories.get(q.constructor);if(ae===undefined){return N(new Error(`No module factory available for dependency type: ${q.constructor.name}`))}k.buildQueue.increaseParallelism();k.handleModuleCreation({factory:ae,dependencies:[q],originModule:E._module,context:E.context,recursive:false},(P=>{k.buildQueue.decreaseParallelism();if(P){return N(P)}const L=v.getModule(q);if(!L){return N(new Error("Cannot load the module"))}if(L.getNumberOfErrors()>0){return N(new Error("The loaded module contains errors"))}const ae=L.originalSource();if(!ae){return N(new Error("The module created for a LoaderDependency must have an original source"))}let le,pe;if(ae.sourceAndMap){const k=ae.sourceAndMap();pe=k.map;le=k.source}else{pe=ae.map();le=ae.source()}const me=new R;const ye=new R;const _e=new R;const Ie=new R;L.addCacheDependencies(me,ye,_e,Ie);for(const k of me){E.addDependency(k)}for(const k of ye){E.addContextDependency(k)}for(const k of _e){E.addMissingDependency(k)}for(const k of Ie){E.addBuildDependency(k)}return N(null,le,pe,L)}))};const importModule=(P,R,L)=>{const q=new N(P);q.loc={name:P};const ae=k.dependencyFactories.get(q.constructor);if(ae===undefined){return L(new Error(`No module factory available for dependency type: ${q.constructor.name}`))}k.buildQueue.increaseParallelism();k.handleModuleCreation({factory:ae,dependencies:[q],originModule:E._module,contextInfo:{issuerLayer:R.layer},context:E.context,connectOrigin:false},(P=>{k.buildQueue.decreaseParallelism();if(P){return L(P)}const N=v.getModule(q);if(!N){return L(new Error("Cannot load the module"))}k.executeModule(N,{entryOptions:{baseUri:R.baseUri,publicPath:R.publicPath}},((k,v)=>{if(k)return L(k);for(const k of v.fileDependencies){E.addDependency(k)}for(const k of v.contextDependencies){E.addContextDependency(k)}for(const k of v.missingDependencies){E.addMissingDependency(k)}for(const k of v.buildDependencies){E.addBuildDependency(k)}if(v.cacheable===false)E.cacheable(false);for(const[k,{source:P,info:R}]of v.assets){const{buildInfo:v}=E._module;if(!v.assets){v.assets=Object.create(null);v.assetsInfo=new Map}v.assets[k]=P;v.assetsInfo.set(k,R)}L(null,v.exports)}))}))};E.importModule=(k,v,E)=>{if(!E){return new Promise(((E,P)=>{importModule(k,v||{},((k,v)=>{if(k)P(k);else E(v)}))}))}return importModule(k,v||{},E)}}))}))}}k.exports=LoaderPlugin},53377:function(k,v,E){"use strict";const P=E(58528);class LocalModule{constructor(k,v){this.name=k;this.idx=v;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}serialize(k){const{write:v}=k;v(this.name);v(this.idx);v(this.used)}deserialize(k){const{read:v}=k;this.name=v();this.idx=v();this.used=v()}}P(LocalModule,"webpack/lib/dependencies/LocalModule");k.exports=LocalModule},41808:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class LocalModuleDependency extends R{constructor(k,v,E){super();this.localModule=k;this.range=v;this.callNew=E}serialize(k){const{write:v}=k;v(this.localModule);v(this.range);v(this.callNew);super.serialize(k)}deserialize(k){const{read:v}=k;this.localModule=v();this.range=v();this.callNew=v();super.deserialize(k)}}P(LocalModuleDependency,"webpack/lib/dependencies/LocalModuleDependency");LocalModuleDependency.Template=class LocalModuleDependencyTemplate extends R.Template{apply(k,v,E){const P=k;if(!P.range)return;const R=P.callNew?`new (function () { return ${P.localModule.variableName()}; })()`:P.localModule.variableName();v.replace(P.range[0],P.range[1]-1,R)}};k.exports=LocalModuleDependency},18363:function(k,v,E){"use strict";const P=E(53377);const lookup=(k,v)=>{if(v.charAt(0)!==".")return v;var E=k.split("/");var P=v.split("/");E.pop();for(let k=0;k{if(!k.localModules){k.localModules=[]}const E=new P(v,k.localModules.length);k.localModules.push(E);return E};v.getLocalModule=(k,v,E)=>{if(!k.localModules)return null;if(E){v=lookup(E,v)}for(let E=0;EE(91169)));class ModuleDependency extends P{constructor(k){super();this.request=k;this.userRequest=k;this.range=undefined;this.assertions=undefined;this._context=undefined}getContext(){return this._context}getResourceIdentifier(){let k=`context${this._context||""}|module${this.request}`;if(this.assertions!==undefined){k+=JSON.stringify(this.assertions)}return k}couldAffectReferencingModule(){return true}createIgnoredModule(k){const v=N();return new v("/* (ignored) */",`ignored|${k}|${this.request}`,`${this.request} (ignored)`)}serialize(k){const{write:v}=k;v(this.request);v(this.userRequest);v(this._context);v(this.range);super.serialize(k)}deserialize(k){const{read:v}=k;this.request=v();this.userRequest=v();this._context=v();this.range=v();super.deserialize(k)}}ModuleDependency.Template=R;k.exports=ModuleDependency},3312:function(k,v,E){"use strict";const P=E(77373);class ModuleDependencyTemplateAsId extends P.Template{apply(k,v,{runtimeTemplate:E,moduleGraph:P,chunkGraph:R}){const L=k;if(!L.range)return;const N=E.moduleId({module:P.getModule(L),chunkGraph:R,request:L.request,weak:L.weak});v.replace(L.range[0],L.range[1]-1,N)}}k.exports=ModuleDependencyTemplateAsId},29729:function(k,v,E){"use strict";const P=E(77373);class ModuleDependencyTemplateAsRequireId extends P.Template{apply(k,v,{runtimeTemplate:E,moduleGraph:P,chunkGraph:R,runtimeRequirements:L}){const N=k;if(!N.range)return;const q=E.moduleExports({module:P.getModule(N),chunkGraph:R,request:N.request,weak:N.weak,runtimeRequirements:L});v.replace(N.range[0],N.range[1]-1,q)}}k.exports=ModuleDependencyTemplateAsRequireId},77691:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(3312);class ModuleHotAcceptDependency extends R{constructor(k,v){super(k);this.range=v;this.weak=true}get type(){return"module.hot.accept"}get category(){return"commonjs"}}P(ModuleHotAcceptDependency,"webpack/lib/dependencies/ModuleHotAcceptDependency");ModuleHotAcceptDependency.Template=L;k.exports=ModuleHotAcceptDependency},90563:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(3312);class ModuleHotDeclineDependency extends R{constructor(k,v){super(k);this.range=v;this.weak=true}get type(){return"module.hot.decline"}get category(){return"commonjs"}}P(ModuleHotDeclineDependency,"webpack/lib/dependencies/ModuleHotDeclineDependency");ModuleHotDeclineDependency.Template=L;k.exports=ModuleHotDeclineDependency},53139:function(k,v,E){"use strict";const P=E(16848);const R=E(30601);class NullDependency extends P{get type(){return"null"}couldAffectReferencingModule(){return false}}NullDependency.Template=class NullDependencyTemplate extends R{apply(k,v,E){}};k.exports=NullDependency},85992:function(k,v,E){"use strict";const P=E(77373);class PrefetchDependency extends P{constructor(k){super(k)}get type(){return"prefetch"}get category(){return"esm"}}k.exports=PrefetchDependency},17779:function(k,v,E){"use strict";const P=E(16848);const R=E(88113);const L=E(58528);const N=E(77373);const pathToString=k=>k!==null&&k.length>0?k.map((k=>`[${JSON.stringify(k)}]`)).join(""):"";class ProvidedDependency extends N{constructor(k,v,E,P){super(k);this.identifier=v;this.ids=E;this.range=P;this._hashUpdate=undefined}get type(){return"provided"}get category(){return"esm"}getReferencedExports(k,v){let E=this.ids;if(E.length===0)return P.EXPORTS_OBJECT_REFERENCED;return[E]}updateHash(k,v){if(this._hashUpdate===undefined){this._hashUpdate=this.identifier+(this.ids?this.ids.join(","):"")}k.update(this._hashUpdate)}serialize(k){const{write:v}=k;v(this.identifier);v(this.ids);super.serialize(k)}deserialize(k){const{read:v}=k;this.identifier=v();this.ids=v();super.deserialize(k)}}L(ProvidedDependency,"webpack/lib/dependencies/ProvidedDependency");class ProvidedDependencyTemplate extends N.Template{apply(k,v,{runtime:E,runtimeTemplate:P,moduleGraph:L,chunkGraph:N,initFragments:q,runtimeRequirements:ae}){const le=k;const pe=L.getConnection(le);const me=L.getExportsInfo(pe.module);const ye=me.getUsedName(le.ids,E);q.push(new R(`/* provided dependency */ var ${le.identifier} = ${P.moduleExports({module:L.getModule(le),chunkGraph:N,request:le.request,runtimeRequirements:ae})}${pathToString(ye)};\n`,R.STAGE_PROVIDES,1,`provided ${le.identifier}`));v.replace(le.range[0],le.range[1]-1,le.identifier)}}ProvidedDependency.Template=ProvidedDependencyTemplate;k.exports=ProvidedDependency},19308:function(k,v,E){"use strict";const{UsageState:P}=E(11172);const R=E(58528);const{filterRuntime:L}=E(1540);const N=E(53139);class PureExpressionDependency extends N{constructor(k){super();this.range=k;this.usedByExports=false;this._hashUpdate=undefined}updateHash(k,v){if(this._hashUpdate===undefined){this._hashUpdate=this.range+""}k.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(k){return false}serialize(k){const{write:v}=k;v(this.range);v(this.usedByExports);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.usedByExports=v();super.deserialize(k)}}R(PureExpressionDependency,"webpack/lib/dependencies/PureExpressionDependency");PureExpressionDependency.Template=class PureExpressionDependencyTemplate extends N.Template{apply(k,v,{chunkGraph:E,moduleGraph:R,runtime:N,runtimeTemplate:q,runtimeRequirements:ae}){const le=k;const pe=le.usedByExports;if(pe!==false){const k=R.getParentModule(le);const me=R.getExportsInfo(k);const ye=L(N,(k=>{for(const v of pe){if(me.getUsed(v,k)!==P.Unused){return true}}return false}));if(ye===true)return;if(ye!==false){const k=q.runtimeConditionExpression({chunkGraph:E,runtime:N,runtimeCondition:ye,runtimeRequirements:ae});v.insert(le.range[0],`(/* runtime-dependent pure expression or super */ ${k} ? (`);v.insert(le.range[1],") : null)");return}}v.insert(le.range[0],`(/* unused pure expression or super */ null && (`);v.insert(le.range[1],"))")}};k.exports=PureExpressionDependency},71038:function(k,v,E){"use strict";const P=E(58528);const R=E(51395);const L=E(29729);class RequireContextDependency extends R{constructor(k,v){super(k);this.range=v}get type(){return"require.context"}}P(RequireContextDependency,"webpack/lib/dependencies/RequireContextDependency");RequireContextDependency.Template=L;k.exports=RequireContextDependency},52635:function(k,v,E){"use strict";const P=E(71038);k.exports=class RequireContextDependencyParserPlugin{apply(k){k.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",(v=>{let E=/^\.\/.*$/;let R=true;let L="sync";switch(v.arguments.length){case 4:{const E=k.evaluateExpression(v.arguments[3]);if(!E.isString())return;L=E.string}case 3:{const P=k.evaluateExpression(v.arguments[2]);if(!P.isRegExp())return;E=P.regExp}case 2:{const E=k.evaluateExpression(v.arguments[1]);if(!E.isBoolean())return;R=E.bool}case 1:{const N=k.evaluateExpression(v.arguments[0]);if(!N.isString())return;const q=new P({request:N.string,recursive:R,regExp:E,mode:L,category:"commonjs"},v.range);q.loc=v.loc;q.optional=!!k.scope.inTry;k.state.current.addDependency(q);return true}}}))}}},69286:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R}=E(93622);const{cachedSetProperty:L}=E(99454);const N=E(16624);const q=E(71038);const ae=E(52635);const le={};const pe="RequireContextPlugin";class RequireContextPlugin{apply(k){k.hooks.compilation.tap(pe,((v,{contextModuleFactory:E,normalModuleFactory:me})=>{v.dependencyFactories.set(q,E);v.dependencyTemplates.set(q,new q.Template);v.dependencyFactories.set(N,me);const handler=(k,v)=>{if(v.requireContext!==undefined&&!v.requireContext)return;(new ae).apply(k)};me.hooks.parser.for(P).tap(pe,handler);me.hooks.parser.for(R).tap(pe,handler);E.hooks.alternativeRequests.tap(pe,((v,E)=>{if(v.length===0)return v;const P=k.resolverFactory.get("normal",L(E.resolveOptions||le,"dependencyType",E.category)).options;let R;if(!P.fullySpecified){R=[];for(const k of v){const{request:v,context:E}=k;for(const k of P.extensions){if(v.endsWith(k)){R.push({context:E,request:v.slice(0,-k.length)})}}if(!P.enforceExtension){R.push(k)}}v=R;R=[];for(const k of v){const{request:v,context:E}=k;for(const k of P.mainFiles){if(v.endsWith(`/${k}`)){R.push({context:E,request:v.slice(0,-k.length)});R.push({context:E,request:v.slice(0,-k.length-1)})}}R.push(k)}v=R}R=[];for(const k of v){let v=false;for(const E of P.modules){if(Array.isArray(E)){for(const P of E){if(k.request.startsWith(`./${P}/`)){R.push({context:k.context,request:k.request.slice(P.length+3)});v=true}}}else{const v=E.replace(/\\/g,"/");const P=k.context.replace(/\\/g,"/")+k.request.slice(1);if(P.startsWith(v)){R.push({context:k.context,request:P.slice(v.length+1)})}}}if(!v){R.push(k)}}return R}))}))}}k.exports=RequireContextPlugin},34385:function(k,v,E){"use strict";const P=E(75081);const R=E(58528);class RequireEnsureDependenciesBlock extends P{constructor(k,v){super(k,v,null)}}R(RequireEnsureDependenciesBlock,"webpack/lib/dependencies/RequireEnsureDependenciesBlock");k.exports=RequireEnsureDependenciesBlock},14016:function(k,v,E){"use strict";const P=E(34385);const R=E(42780);const L=E(47785);const N=E(21271);k.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(k){k.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",(v=>{let E=null;let q=null;let ae=null;switch(v.arguments.length){case 4:{const P=k.evaluateExpression(v.arguments[3]);if(!P.isString())return;E=P.string}case 3:{q=v.arguments[2];ae=N(q);if(!ae&&!E){const P=k.evaluateExpression(v.arguments[2]);if(!P.isString())return;E=P.string}}case 2:{const le=k.evaluateExpression(v.arguments[0]);const pe=le.isArray()?le.items:[le];const me=v.arguments[1];const ye=N(me);if(ye){k.walkExpressions(ye.expressions)}if(ae){k.walkExpressions(ae.expressions)}const _e=new P(E,v.loc);const Ie=v.arguments.length===4||!E&&v.arguments.length===3;const Me=new R(v.range,v.arguments[1].range,Ie&&v.arguments[2].range);Me.loc=v.loc;_e.addDependency(Me);const Te=k.state.current;k.state.current=_e;try{let E=false;k.inScope([],(()=>{for(const k of pe){if(k.isString()){const E=new L(k.string);E.loc=k.loc||v.loc;_e.addDependency(E)}else{E=true}}}));if(E){return}if(ye){if(ye.fn.body.type==="BlockStatement"){k.walkStatement(ye.fn.body)}else{k.walkExpression(ye.fn.body)}}Te.addBlock(_e)}finally{k.state.current=Te}if(!ye){k.walkExpression(me)}if(ae){if(ae.fn.body.type==="BlockStatement"){k.walkStatement(ae.fn.body)}else{k.walkExpression(ae.fn.body)}}else if(q){k.walkExpression(q)}return true}}}))}}},42780:function(k,v,E){"use strict";const P=E(56727);const R=E(58528);const L=E(53139);class RequireEnsureDependency extends L{constructor(k,v,E){super();this.range=k;this.contentRange=v;this.errorHandlerRange=E}get type(){return"require.ensure"}serialize(k){const{write:v}=k;v(this.range);v(this.contentRange);v(this.errorHandlerRange);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.contentRange=v();this.errorHandlerRange=v();super.deserialize(k)}}R(RequireEnsureDependency,"webpack/lib/dependencies/RequireEnsureDependency");RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate extends L.Template{apply(k,v,{runtimeTemplate:E,moduleGraph:R,chunkGraph:L,runtimeRequirements:N}){const q=k;const ae=R.getParentBlock(q);const le=E.blockPromise({chunkGraph:L,block:ae,message:"require.ensure",runtimeRequirements:N});const pe=q.range;const me=q.contentRange;const ye=q.errorHandlerRange;v.replace(pe[0],me[0]-1,`${le}.then((`);if(ye){v.replace(me[1],ye[0]-1,`).bind(null, ${P.require}))['catch'](`);v.replace(ye[1],pe[1]-1,")")}else{v.replace(me[1],pe[1]-1,`).bind(null, ${P.require}))['catch'](${P.uncaughtErrorHandler})`)}}};k.exports=RequireEnsureDependency},47785:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(53139);class RequireEnsureItemDependency extends R{constructor(k){super(k)}get type(){return"require.ensure item"}get category(){return"commonjs"}}P(RequireEnsureItemDependency,"webpack/lib/dependencies/RequireEnsureItemDependency");RequireEnsureItemDependency.Template=L.Template;k.exports=RequireEnsureItemDependency},34949:function(k,v,E){"use strict";const P=E(42780);const R=E(47785);const L=E(14016);const{JAVASCRIPT_MODULE_TYPE_AUTO:N,JAVASCRIPT_MODULE_TYPE_DYNAMIC:q}=E(93622);const{evaluateToString:ae,toConstantDependency:le}=E(80784);const pe="RequireEnsurePlugin";class RequireEnsurePlugin{apply(k){k.hooks.compilation.tap(pe,((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(R,v);k.dependencyTemplates.set(R,new R.Template);k.dependencyTemplates.set(P,new P.Template);const handler=(k,v)=>{if(v.requireEnsure!==undefined&&!v.requireEnsure)return;(new L).apply(k);k.hooks.evaluateTypeof.for("require.ensure").tap(pe,ae("function"));k.hooks.typeof.for("require.ensure").tap(pe,le(k,JSON.stringify("function")))};v.hooks.parser.for(N).tap(pe,handler);v.hooks.parser.for(q).tap(pe,handler)}))}}k.exports=RequireEnsurePlugin},72330:function(k,v,E){"use strict";const P=E(56727);const R=E(58528);const L=E(53139);class RequireHeaderDependency extends L{constructor(k){super();if(!Array.isArray(k))throw new Error("range must be valid");this.range=k}serialize(k){const{write:v}=k;v(this.range);super.serialize(k)}static deserialize(k){const v=new RequireHeaderDependency(k.read());v.deserialize(k);return v}}R(RequireHeaderDependency,"webpack/lib/dependencies/RequireHeaderDependency");RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate extends L.Template{apply(k,v,{runtimeRequirements:E}){const R=k;E.add(P.require);v.replace(R.range[0],R.range[1]-1,P.require)}};k.exports=RequireHeaderDependency},72846:function(k,v,E){"use strict";const P=E(16848);const R=E(95041);const L=E(58528);const N=E(77373);class RequireIncludeDependency extends N{constructor(k,v){super(k);this.range=v}getReferencedExports(k,v){return P.NO_EXPORTS_REFERENCED}get type(){return"require.include"}get category(){return"commonjs"}}L(RequireIncludeDependency,"webpack/lib/dependencies/RequireIncludeDependency");RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate extends N.Template{apply(k,v,{runtimeTemplate:E}){const P=k;const L=E.outputOptions.pathinfo?R.toComment(`require.include ${E.requestShortener.shorten(P.request)}`):"";v.replace(P.range[0],P.range[1]-1,`undefined${L}`)}};k.exports=RequireIncludeDependency},97229:function(k,v,E){"use strict";const P=E(71572);const{evaluateToString:R,toConstantDependency:L}=E(80784);const N=E(58528);const q=E(72846);k.exports=class RequireIncludeDependencyParserPlugin{constructor(k){this.warn=k}apply(k){const{warn:v}=this;k.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",(E=>{if(E.arguments.length!==1)return;const P=k.evaluateExpression(E.arguments[0]);if(!P.isString())return;if(v){k.state.module.addWarning(new RequireIncludeDeprecationWarning(E.loc))}const R=new q(P.string,E.range);R.loc=E.loc;k.state.current.addDependency(R);return true}));k.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",(E=>{if(v){k.state.module.addWarning(new RequireIncludeDeprecationWarning(E.loc))}return R("function")(E)}));k.hooks.typeof.for("require.include").tap("RequireIncludePlugin",(E=>{if(v){k.state.module.addWarning(new RequireIncludeDeprecationWarning(E.loc))}return L(k,JSON.stringify("function"))(E)}))}};class RequireIncludeDeprecationWarning extends P{constructor(k){super("require.include() is deprecated and will be removed soon.");this.name="RequireIncludeDeprecationWarning";this.loc=k}}N(RequireIncludeDeprecationWarning,"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin","RequireIncludeDeprecationWarning")},80250:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R}=E(93622);const L=E(72846);const N=E(97229);const q="RequireIncludePlugin";class RequireIncludePlugin{apply(k){k.hooks.compilation.tap(q,((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(L,v);k.dependencyTemplates.set(L,new L.Template);const handler=(k,v)=>{if(v.requireInclude===false)return;const E=v.requireInclude===undefined;new N(E).apply(k)};v.hooks.parser.for(P).tap(q,handler);v.hooks.parser.for(R).tap(q,handler)}))}}k.exports=RequireIncludePlugin},12204:function(k,v,E){"use strict";const P=E(58528);const R=E(51395);const L=E(16213);class RequireResolveContextDependency extends R{constructor(k,v,E,P){super(k,P);this.range=v;this.valueRange=E}get type(){return"amd require context"}serialize(k){const{write:v}=k;v(this.range);v(this.valueRange);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.valueRange=v();super.deserialize(k)}}P(RequireResolveContextDependency,"webpack/lib/dependencies/RequireResolveContextDependency");RequireResolveContextDependency.Template=L;k.exports=RequireResolveContextDependency},29961:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);const L=E(77373);const N=E(3312);class RequireResolveDependency extends L{constructor(k,v,E){super(k);this.range=v;this._context=E}get type(){return"require.resolve"}get category(){return"commonjs"}getReferencedExports(k,v){return P.NO_EXPORTS_REFERENCED}}R(RequireResolveDependency,"webpack/lib/dependencies/RequireResolveDependency");RequireResolveDependency.Template=N;k.exports=RequireResolveDependency},53765:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class RequireResolveHeaderDependency extends R{constructor(k){super();if(!Array.isArray(k))throw new Error("range must be valid");this.range=k}serialize(k){const{write:v}=k;v(this.range);super.serialize(k)}static deserialize(k){const v=new RequireResolveHeaderDependency(k.read());v.deserialize(k);return v}}P(RequireResolveHeaderDependency,"webpack/lib/dependencies/RequireResolveHeaderDependency");RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate extends R.Template{apply(k,v,E){const P=k;v.replace(P.range[0],P.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(k,v,E){E.replace(v.range[0],v.range[1]-1,"/*require.resolve*/")}};k.exports=RequireResolveHeaderDependency},84985:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class RuntimeRequirementsDependency extends R{constructor(k){super();this.runtimeRequirements=new Set(k);this._hashUpdate=undefined}updateHash(k,v){if(this._hashUpdate===undefined){this._hashUpdate=Array.from(this.runtimeRequirements).join()+""}k.update(this._hashUpdate)}serialize(k){const{write:v}=k;v(this.runtimeRequirements);super.serialize(k)}deserialize(k){const{read:v}=k;this.runtimeRequirements=v();super.deserialize(k)}}P(RuntimeRequirementsDependency,"webpack/lib/dependencies/RuntimeRequirementsDependency");RuntimeRequirementsDependency.Template=class RuntimeRequirementsDependencyTemplate extends R.Template{apply(k,v,{runtimeRequirements:E}){const P=k;for(const k of P.runtimeRequirements){E.add(k)}}};k.exports=RuntimeRequirementsDependency},93414:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class StaticExportsDependency extends R{constructor(k,v){super();this.exports=k;this.canMangle=v}get type(){return"static exports"}getExports(k){return{exports:this.exports,canMangle:this.canMangle,dependencies:undefined}}serialize(k){const{write:v}=k;v(this.exports);v(this.canMangle);super.serialize(k)}deserialize(k){const{read:v}=k;this.exports=v();this.canMangle=v();super.deserialize(k)}}P(StaticExportsDependency,"webpack/lib/dependencies/StaticExportsDependency");k.exports=StaticExportsDependency},3674:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R}=E(93622);const L=E(56727);const N=E(71572);const{evaluateToString:q,expressionIsUnsupported:ae,toConstantDependency:le}=E(80784);const pe=E(58528);const me=E(60381);const ye=E(92464);const _e="SystemPlugin";class SystemPlugin{apply(k){k.hooks.compilation.tap(_e,((k,{normalModuleFactory:v})=>{k.hooks.runtimeRequirementInModule.for(L.system).tap(_e,((k,v)=>{v.add(L.requireScope)}));k.hooks.runtimeRequirementInTree.for(L.system).tap(_e,((v,E)=>{k.addRuntimeModule(v,new ye)}));const handler=(k,v)=>{if(v.system===undefined||!v.system){return}const setNotSupported=v=>{k.hooks.evaluateTypeof.for(v).tap(_e,q("undefined"));k.hooks.expression.for(v).tap(_e,ae(k,v+" is not supported by webpack."))};k.hooks.typeof.for("System.import").tap(_e,le(k,JSON.stringify("function")));k.hooks.evaluateTypeof.for("System.import").tap(_e,q("function"));k.hooks.typeof.for("System").tap(_e,le(k,JSON.stringify("object")));k.hooks.evaluateTypeof.for("System").tap(_e,q("object"));setNotSupported("System.set");setNotSupported("System.get");setNotSupported("System.register");k.hooks.expression.for("System").tap(_e,(v=>{const E=new me(L.system,v.range,[L.system]);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}));k.hooks.call.for("System.import").tap(_e,(v=>{k.state.module.addWarning(new SystemImportDeprecationWarning(v.loc));return k.hooks.importCall.call({type:"ImportExpression",source:v.arguments[0],loc:v.loc,range:v.range})}))};v.hooks.parser.for(P).tap(_e,handler);v.hooks.parser.for(R).tap(_e,handler)}))}}class SystemImportDeprecationWarning extends N{constructor(k){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=k}}pe(SystemImportDeprecationWarning,"webpack/lib/dependencies/SystemPlugin","SystemImportDeprecationWarning");k.exports=SystemPlugin;k.exports.SystemImportDeprecationWarning=SystemImportDeprecationWarning},92464:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class SystemRuntimeModule extends R{constructor(){super("system")}generate(){return L.asString([`${P.system} = {`,L.indent(["import: function () {",L.indent("throw new Error('System.import cannot be used indirectly');"),"}"]),"};"])}}k.exports=SystemRuntimeModule},65961:function(k,v,E){"use strict";const P=E(56727);const{getDependencyUsedByExportsCondition:R}=E(88926);const L=E(58528);const N=E(20631);const q=E(77373);const ae=N((()=>E(26619)));class URLDependency extends q{constructor(k,v,E,P){super(k);this.range=v;this.outerRange=E;this.relative=P||false;this.usedByExports=undefined}get type(){return"new URL()"}get category(){return"url"}getCondition(k){return R(this,this.usedByExports,k)}createIgnoredModule(k){const v=ae();return new v("data:,",`ignored-asset`,`(ignored asset)`)}serialize(k){const{write:v}=k;v(this.outerRange);v(this.relative);v(this.usedByExports);super.serialize(k)}deserialize(k){const{read:v}=k;this.outerRange=v();this.relative=v();this.usedByExports=v();super.deserialize(k)}}URLDependency.Template=class URLDependencyTemplate extends q.Template{apply(k,v,E){const{chunkGraph:R,moduleGraph:L,runtimeRequirements:N,runtimeTemplate:q,runtime:ae}=E;const le=k;const pe=L.getConnection(le);if(pe&&!pe.isTargetActive(ae)){v.replace(le.outerRange[0],le.outerRange[1]-1,"/* unused asset import */ undefined");return}N.add(P.require);if(le.relative){N.add(P.relativeUrl);v.replace(le.outerRange[0],le.outerRange[1]-1,`/* asset import */ new ${P.relativeUrl}(${q.moduleRaw({chunkGraph:R,module:L.getModule(le),request:le.request,runtimeRequirements:N,weak:false})})`)}else{N.add(P.baseURI);v.replace(le.range[0],le.range[1]-1,`/* asset import */ ${q.moduleRaw({chunkGraph:R,module:L.getModule(le),request:le.request,runtimeRequirements:N,weak:false})}, ${P.baseURI}`)}}};L(URLDependency,"webpack/lib/dependencies/URLDependency");k.exports=URLDependency},50703:function(k,v,E){"use strict";const{pathToFileURL:P}=E(57310);const{JAVASCRIPT_MODULE_TYPE_AUTO:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(70037);const{approve:q}=E(80784);const ae=E(88926);const le=E(65961);const pe="URLPlugin";class URLPlugin{apply(k){k.hooks.compilation.tap(pe,((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(le,v);k.dependencyTemplates.set(le,new le.Template);const getUrl=k=>P(k.resource);const parserCallback=(k,v)=>{if(v.url===false)return;const E=v.url==="relative";const getUrlRequest=v=>{if(v.arguments.length!==2)return;const[E,P]=v.arguments;if(P.type!=="MemberExpression"||E.type==="SpreadElement")return;const R=k.extractMemberExpressionChain(P);if(R.members.length!==1||R.object.type!=="MetaProperty"||R.object.meta.name!=="import"||R.object.property.name!=="meta"||R.members[0]!=="url")return;return k.evaluateExpression(E).asString()};k.hooks.canRename.for("URL").tap(pe,q);k.hooks.evaluateNewExpression.for("URL").tap(pe,(v=>{const E=getUrlRequest(v);if(!E)return;const P=new URL(E,getUrl(k.state.module));return(new N).setString(P.toString()).setRange(v.range)}));k.hooks.new.for("URL").tap(pe,(v=>{const P=v;const R=getUrlRequest(P);if(!R)return;const[L,N]=P.arguments;const q=new le(R,[L.range[0],N.range[1]],P.range,E);q.loc=P.loc;k.state.current.addDependency(q);ae.onUsage(k.state,(k=>q.usedByExports=k));return true}));k.hooks.isPure.for("NewExpression").tap(pe,(v=>{const E=v;const{callee:P}=E;if(P.type!=="Identifier")return;const R=k.getFreeInfoFromVariable(P.name);if(!R||R.name!=="URL")return;const L=getUrlRequest(E);if(L)return true}))};v.hooks.parser.for(R).tap(pe,parserCallback);v.hooks.parser.for(L).tap(pe,parserCallback)}))}}k.exports=URLPlugin},63639:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class UnsupportedDependency extends R{constructor(k,v){super();this.request=k;this.range=v}serialize(k){const{write:v}=k;v(this.request);v(this.range);super.serialize(k)}deserialize(k){const{read:v}=k;this.request=v();this.range=v();super.deserialize(k)}}P(UnsupportedDependency,"webpack/lib/dependencies/UnsupportedDependency");UnsupportedDependency.Template=class UnsupportedDependencyTemplate extends R.Template{apply(k,v,{runtimeTemplate:E}){const P=k;v.replace(P.range[0],P.range[1],E.missingModule({request:P.request}))}};k.exports=UnsupportedDependency},74476:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);const L=E(77373);class WebAssemblyExportImportedDependency extends L{constructor(k,v,E,P){super(v);this.exportName=k;this.name=E;this.valueType=P}couldAffectReferencingModule(){return P.TRANSITIVE}getReferencedExports(k,v){return[[this.name]]}get type(){return"wasm export import"}get category(){return"wasm"}serialize(k){const{write:v}=k;v(this.exportName);v(this.name);v(this.valueType);super.serialize(k)}deserialize(k){const{read:v}=k;this.exportName=v();this.name=v();this.valueType=v();super.deserialize(k)}}R(WebAssemblyExportImportedDependency,"webpack/lib/dependencies/WebAssemblyExportImportedDependency");k.exports=WebAssemblyExportImportedDependency},22734:function(k,v,E){"use strict";const P=E(58528);const R=E(42626);const L=E(77373);class WebAssemblyImportDependency extends L{constructor(k,v,E,P){super(k);this.name=v;this.description=E;this.onlyDirectImport=P}get type(){return"wasm import"}get category(){return"wasm"}getReferencedExports(k,v){return[[this.name]]}getErrors(k){const v=k.getModule(this);if(this.onlyDirectImport&&v&&!v.type.startsWith("webassembly")){return[new R(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}serialize(k){const{write:v}=k;v(this.name);v(this.description);v(this.onlyDirectImport);super.serialize(k)}deserialize(k){const{read:v}=k;this.name=v();this.description=v();this.onlyDirectImport=v();super.deserialize(k)}}P(WebAssemblyImportDependency,"webpack/lib/dependencies/WebAssemblyImportDependency");k.exports=WebAssemblyImportDependency},83143:function(k,v,E){"use strict";const P=E(16848);const R=E(95041);const L=E(58528);const N=E(77373);class WebpackIsIncludedDependency extends N{constructor(k,v){super(k);this.weak=true;this.range=v}getReferencedExports(k,v){return P.NO_EXPORTS_REFERENCED}get type(){return"__webpack_is_included__"}}L(WebpackIsIncludedDependency,"webpack/lib/dependencies/WebpackIsIncludedDependency");WebpackIsIncludedDependency.Template=class WebpackIsIncludedDependencyTemplate extends N.Template{apply(k,v,{runtimeTemplate:E,chunkGraph:P,moduleGraph:L}){const N=k;const q=L.getConnection(N);const ae=q?P.getNumberOfModuleChunks(q.module)>0:false;const le=E.outputOptions.pathinfo?R.toComment(`__webpack_is_included__ ${E.requestShortener.shorten(N.request)}`):"";v.replace(N.range[0],N.range[1]-1,`${le}${JSON.stringify(ae)}`)}};k.exports=WebpackIsIncludedDependency},15200:function(k,v,E){"use strict";const P=E(16848);const R=E(56727);const L=E(58528);const N=E(77373);class WorkerDependency extends N{constructor(k,v,E){super(k);this.range=v;this.options=E;this._hashUpdate=undefined}getReferencedExports(k,v){return P.NO_EXPORTS_REFERENCED}get type(){return"new Worker()"}get category(){return"worker"}updateHash(k,v){if(this._hashUpdate===undefined){this._hashUpdate=JSON.stringify(this.options)}k.update(this._hashUpdate)}serialize(k){const{write:v}=k;v(this.options);super.serialize(k)}deserialize(k){const{read:v}=k;this.options=v();super.deserialize(k)}}WorkerDependency.Template=class WorkerDependencyTemplate extends N.Template{apply(k,v,E){const{chunkGraph:P,moduleGraph:L,runtimeRequirements:N}=E;const q=k;const ae=L.getParentBlock(k);const le=P.getBlockChunkGroup(ae);const pe=le.getEntrypointChunk();const me=q.options.publicPath?`"${q.options.publicPath}"`:R.publicPath;N.add(R.publicPath);N.add(R.baseURI);N.add(R.getChunkScriptFilename);v.replace(q.range[0],q.range[1]-1,`/* worker import */ ${me} + ${R.getChunkScriptFilename}(${JSON.stringify(pe.id)}), ${R.baseURI}`)}};L(WorkerDependency,"webpack/lib/dependencies/WorkerDependency");k.exports=WorkerDependency},95918:function(k,v,E){"use strict";const{pathToFileURL:P}=E(57310);const R=E(75081);const L=E(68160);const{JAVASCRIPT_MODULE_TYPE_AUTO:N,JAVASCRIPT_MODULE_TYPE_ESM:q}=E(93622);const ae=E(9415);const le=E(73126);const{equals:pe}=E(68863);const me=E(74012);const{contextify:ye}=E(65315);const _e=E(50792);const Ie=E(60381);const Me=E(98857);const{harmonySpecifierTag:Te}=E(57737);const je=E(15200);const getUrl=k=>P(k.resource).toString();const Ne=Symbol("worker specifier tag");const Be=["Worker","SharedWorker","navigator.serviceWorker.register()","Worker from worker_threads"];const qe=new WeakMap;const Ue="WorkerPlugin";class WorkerPlugin{constructor(k,v,E,P){this._chunkLoading=k;this._wasmLoading=v;this._module=E;this._workerPublicPath=P}apply(k){if(this._chunkLoading){new le(this._chunkLoading).apply(k)}if(this._wasmLoading){new _e(this._wasmLoading).apply(k)}const v=ye.bindContextCache(k.context,k.root);k.hooks.thisCompilation.tap(Ue,((k,{normalModuleFactory:E})=>{k.dependencyFactories.set(je,E);k.dependencyTemplates.set(je,new je.Template);k.dependencyTemplates.set(Me,new Me.Template);const parseModuleUrl=(k,v)=>{if(v.type!=="NewExpression"||v.callee.type==="Super"||v.arguments.length!==2)return;const[E,P]=v.arguments;if(E.type==="SpreadElement")return;if(P.type==="SpreadElement")return;const R=k.evaluateExpression(v.callee);if(!R.isIdentifier()||R.identifier!=="URL")return;const L=k.evaluateExpression(P);if(!L.isString()||!L.string.startsWith("file://")||L.string!==getUrl(k.state.module)){return}const N=k.evaluateExpression(E);return[N,[E.range[0],P.range[1]]]};const parseObjectExpression=(k,v)=>{const E={};const P={};const R=[];let L=false;for(const N of v.properties){if(N.type==="SpreadElement"){L=true}else if(N.type==="Property"&&!N.method&&!N.computed&&N.key.type==="Identifier"){P[N.key.name]=N.value;if(!N.shorthand&&!N.value.type.endsWith("Pattern")){const v=k.evaluateExpression(N.value);if(v.isCompileTimeValue())E[N.key.name]=v.asCompileTimeValue()}}else{R.push(N)}}const N=v.properties.length>0?"comma":"single";const q=v.properties[v.properties.length-1].range[1];return{expressions:P,otherElements:R,values:E,spread:L,insertType:N,insertLocation:q}};const parserPlugin=(E,P)=>{if(P.worker===false)return;const N=!Array.isArray(P.worker)?["..."]:P.worker;const handleNewWorker=P=>{if(P.arguments.length===0||P.arguments.length>2)return;const[N,q]=P.arguments;if(N.type==="SpreadElement")return;if(q&&q.type==="SpreadElement")return;const le=parseModuleUrl(E,N);if(!le)return;const[pe,ye]=le;if(!pe.isString())return;const{expressions:_e,otherElements:Te,values:Ne,spread:Be,insertType:Ue,insertLocation:Ge}=q&&q.type==="ObjectExpression"?parseObjectExpression(E,q):{expressions:{},otherElements:[],values:{},spread:false,insertType:q?"spread":"argument",insertLocation:q?q.range:N.range[1]};const{options:He,errors:We}=E.parseCommentOptions(P.range);if(We){for(const k of We){const{comment:v}=k;E.state.module.addWarning(new L(`Compilation error while processing magic comment(-s): /*${v.value}*/: ${k.message}`,v.loc))}}let Qe={};if(He){if(He.webpackIgnore!==undefined){if(typeof He.webpackIgnore!=="boolean"){E.state.module.addWarning(new ae(`\`webpackIgnore\` expected a boolean, but received: ${He.webpackIgnore}.`,P.loc))}else{if(He.webpackIgnore){return false}}}if(He.webpackEntryOptions!==undefined){if(typeof He.webpackEntryOptions!=="object"||He.webpackEntryOptions===null){E.state.module.addWarning(new ae(`\`webpackEntryOptions\` expected a object, but received: ${He.webpackEntryOptions}.`,P.loc))}else{Object.assign(Qe,He.webpackEntryOptions)}}if(He.webpackChunkName!==undefined){if(typeof He.webpackChunkName!=="string"){E.state.module.addWarning(new ae(`\`webpackChunkName\` expected a string, but received: ${He.webpackChunkName}.`,P.loc))}else{Qe.name=He.webpackChunkName}}}if(!Object.prototype.hasOwnProperty.call(Qe,"name")&&Ne&&typeof Ne.name==="string"){Qe.name=Ne.name}if(Qe.runtime===undefined){let P=qe.get(E.state)||0;qe.set(E.state,P+1);let R=`${v(E.state.module.identifier())}|${P}`;const L=me(k.outputOptions.hashFunction);L.update(R);const N=L.digest(k.outputOptions.hashDigest);Qe.runtime=N.slice(0,k.outputOptions.hashDigestLength)}const Je=new R({name:Qe.name,entryOptions:{chunkLoading:this._chunkLoading,wasmLoading:this._wasmLoading,...Qe}});Je.loc=P.loc;const Ve=new je(pe.string,ye,{publicPath:this._workerPublicPath});Ve.loc=P.loc;Je.addDependency(Ve);E.state.module.addBlock(Je);if(k.outputOptions.trustedTypes){const k=new Me(P.arguments[0].range);k.loc=P.loc;E.state.module.addDependency(k)}if(_e.type){const k=_e.type;if(Ne.type!==false){const v=new Ie(this._module?'"module"':"undefined",k.range);v.loc=k.loc;E.state.module.addPresentationalDependency(v);_e.type=undefined}}else if(Ue==="comma"){if(this._module||Be){const k=new Ie(`, type: ${this._module?'"module"':"undefined"}`,Ge);k.loc=P.loc;E.state.module.addPresentationalDependency(k)}}else if(Ue==="spread"){const k=new Ie("Object.assign({}, ",Ge[0]);const v=new Ie(`, { type: ${this._module?'"module"':"undefined"} })`,Ge[1]);k.loc=P.loc;v.loc=P.loc;E.state.module.addPresentationalDependency(k);E.state.module.addPresentationalDependency(v)}else if(Ue==="argument"){if(this._module){const k=new Ie(', { type: "module" }',Ge);k.loc=P.loc;E.state.module.addPresentationalDependency(k)}}E.walkExpression(P.callee);for(const k of Object.keys(_e)){if(_e[k])E.walkExpression(_e[k])}for(const k of Te){E.walkProperty(k)}if(Ue==="spread"){E.walkExpression(q)}return true};const processItem=k=>{if(k.startsWith("*")&&k.includes(".")&&k.endsWith("()")){const v=k.indexOf(".");const P=k.slice(1,v);const R=k.slice(v+1,-2);E.hooks.pattern.for(P).tap(Ue,(k=>{E.tagVariable(k.name,Ne);return true}));E.hooks.callMemberChain.for(Ne).tap(Ue,((k,v)=>{if(R!==v.join(".")){return}return handleNewWorker(k)}))}else if(k.endsWith("()")){E.hooks.call.for(k.slice(0,-2)).tap(Ue,handleNewWorker)}else{const v=/^(.+?)(\(\))?\s+from\s+(.+)$/.exec(k);if(v){const k=v[1].split(".");const P=v[2];const R=v[3];(P?E.hooks.call:E.hooks.new).for(Te).tap(Ue,(v=>{const P=E.currentTagData;if(!P||P.source!==R||!pe(P.ids,k)){return}return handleNewWorker(v)}))}else{E.hooks.new.for(k).tap(Ue,handleNewWorker)}}};for(const k of N){if(k==="..."){Be.forEach(processItem)}else processItem(k)}};E.hooks.parser.for(N).tap(Ue,parserPlugin);E.hooks.parser.for(q).tap(Ue,parserPlugin)}))}}k.exports=WorkerPlugin},21271:function(k){"use strict";k.exports=k=>{if(k.type==="FunctionExpression"||k.type==="ArrowFunctionExpression"){return{fn:k,expressions:[],needThis:false}}if(k.type==="CallExpression"&&k.callee.type==="MemberExpression"&&k.callee.object.type==="FunctionExpression"&&k.callee.property.type==="Identifier"&&k.callee.property.name==="bind"&&k.arguments.length===1){return{fn:k.callee.object,expressions:[k.arguments[0]],needThis:undefined}}if(k.type==="CallExpression"&&k.callee.type==="FunctionExpression"&&k.callee.body.type==="BlockStatement"&&k.arguments.length===1&&k.arguments[0].type==="ThisExpression"&&k.callee.body.body&&k.callee.body.body.length===1&&k.callee.body.body[0].type==="ReturnStatement"&&k.callee.body.body[0].argument&&k.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:k.callee.body.body[0].argument,expressions:[],needThis:true}}}},49798:function(k,v,E){"use strict";const{UsageState:P}=E(11172);const processExportInfo=(k,v,E,R,L=false,N=new Set)=>{if(!R){v.push(E);return}const q=R.getUsed(k);if(q===P.Unused)return;if(N.has(R)){v.push(E);return}N.add(R);if(q!==P.OnlyPropertiesUsed||!R.exportsInfo||R.exportsInfo.otherExportsInfo.getUsed(k)!==P.Unused){N.delete(R);v.push(E);return}const ae=R.exportsInfo;for(const P of ae.orderedExports){processExportInfo(k,v,L&&P.name==="default"?E:E.concat(P.name),P,false,N)}N.delete(R)};k.exports=processExportInfo},27558:function(k,v,E){"use strict";const P=E(53757);class ElectronTargetPlugin{constructor(k){this._context=k}apply(k){new P("node-commonjs",["clipboard","crash-reporter","electron","ipc","native-image","original-fs","screen","shell"]).apply(k);switch(this._context){case"main":new P("node-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(k);break;case"preload":case"renderer":new P("node-commonjs",["desktop-capturer","ipc-renderer","remote","web-frame"]).apply(k);break}}}k.exports=ElectronTargetPlugin},10408:function(k,v,E){"use strict";const P=E(71572);class BuildCycleError extends P{constructor(k){super("There is a circular build dependency, which makes it impossible to create this module");this.name="BuildCycleError";this.module=k}}k.exports=BuildCycleError},25427:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class ExportWebpackRequireRuntimeModule extends R{constructor(){super("export webpack runtime",R.STAGE_ATTACH)}shouldIsolate(){return false}generate(){return`export default ${P.require};`}}k.exports=ExportWebpackRequireRuntimeModule},14504:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const{RuntimeGlobals:R}=E(94308);const L=E(95733);const N=E(95041);const{getAllChunks:q}=E(72130);const{chunkHasJs:ae,getCompilationHooks:le,getChunkFilenameTemplate:pe}=E(89168);const{updateHashForEntryStartup:me}=E(73777);class ModuleChunkFormatPlugin{apply(k){k.hooks.thisCompilation.tap("ModuleChunkFormatPlugin",(k=>{k.hooks.additionalChunkRuntimeRequirements.tap("ModuleChunkFormatPlugin",((v,E)=>{if(v.hasRuntime())return;if(k.chunkGraph.getNumberOfEntryModules(v)>0){E.add(R.require);E.add(R.startupEntrypoint);E.add(R.externalInstallChunk)}}));const v=le(k);v.renderChunk.tap("ModuleChunkFormatPlugin",((E,le)=>{const{chunk:me,chunkGraph:ye,runtimeTemplate:_e}=le;const Ie=me instanceof L?me:null;const Me=new P;if(Ie){throw new Error("HMR is not implemented for module chunk format yet")}else{Me.add(`export const id = ${JSON.stringify(me.id)};\n`);Me.add(`export const ids = ${JSON.stringify(me.ids)};\n`);Me.add(`export const modules = `);Me.add(E);Me.add(`;\n`);const L=ye.getChunkRuntimeModulesInOrder(me);if(L.length>0){Me.add("export const runtime =\n");Me.add(N.renderChunkRuntimeModules(L,le))}const Ie=Array.from(ye.getChunkEntryModulesWithChunkGroupIterable(me));if(Ie.length>0){const E=Ie[0][1].getRuntimeChunk();const L=k.getPath(pe(me,k.outputOptions),{chunk:me,contentHashType:"javascript"}).split("/");L.pop();const getRelativePath=v=>{const E=L.slice();const P=k.getPath(pe(v,k.outputOptions),{chunk:v,contentHashType:"javascript"}).split("/");while(E.length>0&&P.length>0&&E[0]===P[0]){E.shift();P.shift()}return(E.length>0?"../".repeat(E.length):"./")+P.join("/")};const N=new P;N.add(Me);N.add(";\n\n// load runtime\n");N.add(`import ${R.require} from ${JSON.stringify(getRelativePath(E))};\n`);const Te=new P;Te.add(`var __webpack_exec__ = ${_e.returningFunction(`${R.require}(${R.entryModuleId} = moduleId)`,"moduleId")}\n`);const je=new Set;let Ne=0;for(let k=0;k{if(k.hasRuntime())return;v.update("ModuleChunkFormatPlugin");v.update("1");const R=Array.from(E.getChunkEntryModulesWithChunkGroupIterable(k));me(v,E,R,k)}))}))}}k.exports=ModuleChunkFormatPlugin},21879:function(k,v,E){"use strict";const P=E(56727);const R=E(25427);const L=E(68748);class ModuleChunkLoadingPlugin{apply(k){k.hooks.thisCompilation.tap("ModuleChunkLoadingPlugin",(k=>{const v=k.outputOptions.chunkLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.chunkLoading!==undefined?E.chunkLoading:v;return P==="import"};const E=new WeakSet;const handler=(v,R)=>{if(E.has(v))return;E.add(v);if(!isEnabledForChunk(v))return;R.add(P.moduleFactoriesAddOnly);R.add(P.hasOwnProperty);k.addRuntimeModule(v,new L(R))};k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.baseURI).tap("ModuleChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.externalInstallChunk).tap("ModuleChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.onChunksLoaded).tap("ModuleChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.externalInstallChunk).tap("ModuleChunkLoadingPlugin",((v,E)=>{if(!isEnabledForChunk(v))return;k.addRuntimeModule(v,new R)}));k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.getChunkScriptFilename)}))}))}}k.exports=ModuleChunkLoadingPlugin},68748:function(k,v,E){"use strict";const{SyncWaterfallHook:P}=E(79846);const R=E(27747);const L=E(56727);const N=E(27462);const q=E(95041);const{getChunkFilenameTemplate:ae,chunkHasJs:le}=E(89168);const{getInitialChunkIds:pe}=E(73777);const me=E(21751);const{getUndoPath:ye}=E(65315);const _e=new WeakMap;class ModuleChunkLoadingRuntimeModule extends N{static getCompilationHooks(k){if(!(k instanceof R)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=_e.get(k);if(v===undefined){v={linkPreload:new P(["source","chunk"]),linkPrefetch:new P(["source","chunk"])};_e.set(k,v)}return v}constructor(k){super("import chunk loading",N.STAGE_ATTACH);this._runtimeRequirements=k}_generateBaseUri(k,v){const E=k.getEntryOptions();if(E&&E.baseUri){return`${L.baseURI} = ${JSON.stringify(E.baseUri)};`}const P=this.compilation;const{outputOptions:{importMetaName:R}}=P;return`${L.baseURI} = new URL(${JSON.stringify(v)}, ${R}.url);`}generate(){const k=this.compilation;const v=this.chunkGraph;const E=this.chunk;const{runtimeTemplate:P,outputOptions:{importFunctionName:R}}=k;const N=L.ensureChunkHandlers;const _e=this._runtimeRequirements.has(L.baseURI);const Ie=this._runtimeRequirements.has(L.externalInstallChunk);const Me=this._runtimeRequirements.has(L.ensureChunkHandlers);const Te=this._runtimeRequirements.has(L.onChunksLoaded);const je=this._runtimeRequirements.has(L.hmrDownloadUpdateHandlers);const Ne=v.getChunkConditionMap(E,le);const Be=me(Ne);const qe=pe(E,v,le);const Ue=k.getPath(ae(E,k.outputOptions),{chunk:E,contentHashType:"javascript"});const Ge=ye(Ue,k.outputOptions.path,true);const He=je?`${L.hmrRuntimeStatePrefix}_module`:undefined;return q.asString([_e?this._generateBaseUri(E,Ge):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${He?`${He} = ${He} || `:""}{`,q.indent(Array.from(qe,(k=>`${JSON.stringify(k)}: 0`)).join(",\n")),"};","",Me||Ie?`var installChunk = ${P.basicFunction("data",[P.destructureObject(["ids","modules","runtime"],"data"),'// add "modules" to the modules object,','// then flag all "ids" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in modules) {",q.indent([`if(${L.hasOwnProperty}(modules, moduleId)) {`,q.indent(`${L.moduleFactories}[moduleId] = modules[moduleId];`),"}"]),"}",`if(runtime) runtime(${L.require});`,"for(;i < ids.length; i++) {",q.indent(["chunkId = ids[i];",`if(${L.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,q.indent("installedChunks[chunkId][0]();"),"}","installedChunks[ids[i]] = 0;"]),"}",Te?`${L.onChunksLoaded}();`:""])}`:"// no install chunk","",Me?q.asString([`${N}.j = ${P.basicFunction("chunkId, promises",Be!==false?q.indent(["// import() chunk loading for javascript",`var installedChunkData = ${L.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',q.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",q.indent(["promises.push(installedChunkData[1]);"]),"} else {",q.indent([Be===true?"if(true) { // all chunks have JS":`if(${Be("chunkId")}) {`,q.indent(["// setup Promise in chunk cache",`var promise = ${R}(${JSON.stringify(Ge)} + ${L.getChunkScriptFilename}(chunkId)).then(installChunk, ${P.basicFunction("e",["if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;","throw e;"])});`,`var promise = Promise.race([promise, new Promise(${P.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve]`,"resolve")})])`,`promises.push(installedChunkData[1] = promise);`]),Be===true?"}":"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):q.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Ie?q.asString([`${L.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Te?`${L.onChunksLoaded}.j = ${P.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded"])}}k.exports=ModuleChunkLoadingRuntimeModule},1811:function(k){"use strict";const formatPosition=k=>{if(k&&typeof k==="object"){if("line"in k&&"column"in k){return`${k.line}:${k.column}`}else if("line"in k){return`${k.line}:?`}}return""};const formatLocation=k=>{if(k&&typeof k==="object"){if("start"in k&&k.start&&"end"in k&&k.end){if(typeof k.start==="object"&&typeof k.start.line==="number"&&typeof k.end==="object"&&typeof k.end.line==="number"&&typeof k.end.column==="number"&&k.start.line===k.end.line){return`${formatPosition(k.start)}-${k.end.column}`}else if(typeof k.start==="object"&&typeof k.start.line==="number"&&typeof k.start.column!=="number"&&typeof k.end==="object"&&typeof k.end.line==="number"&&typeof k.end.column!=="number"){return`${k.start.line}-${k.end.line}`}else{return`${formatPosition(k.start)}-${formatPosition(k.end)}`}}if("start"in k&&k.start){return formatPosition(k.start)}if("name"in k&&"index"in k){return`${k.name}[${k.index}]`}if("name"in k){return k.name}}return""};k.exports=formatLocation},55223:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class HotModuleReplacementRuntimeModule extends R{constructor(){super("hot module replacement",R.STAGE_BASIC)}generate(){return L.getFunctionContent(require("./HotModuleReplacement.runtime.js")).replace(/\$getFullHash\$/g,P.getFullHash).replace(/\$interceptModuleExecution\$/g,P.interceptModuleExecution).replace(/\$moduleCache\$/g,P.moduleCache).replace(/\$hmrModuleData\$/g,P.hmrModuleData).replace(/\$hmrDownloadManifest\$/g,P.hmrDownloadManifest).replace(/\$hmrInvalidateModuleHandlers\$/g,P.hmrInvalidateModuleHandlers).replace(/\$hmrDownloadUpdateHandlers\$/g,P.hmrDownloadUpdateHandlers)}}k.exports=HotModuleReplacementRuntimeModule},93239:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(75081);const L=E(16848);const N=E(88396);const q=E(66043);const{WEBPACK_MODULE_TYPE_LAZY_COMPILATION_PROXY:ae}=E(93622);const le=E(56727);const pe=E(95041);const me=E(41655);const{registerNotSerializable:ye}=E(52456);const _e=new Set(["import.meta.webpackHot.accept","import.meta.webpackHot.decline","module.hot.accept","module.hot.decline"]);const checkTest=(k,v)=>{if(k===undefined)return true;if(typeof k==="function"){return k(v)}if(typeof k==="string"){const E=v.nameForCondition();return E&&E.startsWith(k)}if(k instanceof RegExp){const E=v.nameForCondition();return E&&k.test(E)}return false};const Ie=new Set(["javascript"]);class LazyCompilationDependency extends L{constructor(k){super();this.proxyModule=k}get category(){return"esm"}get type(){return"lazy import()"}getResourceIdentifier(){return this.proxyModule.originalModule.identifier()}}ye(LazyCompilationDependency);class LazyCompilationProxyModule extends N{constructor(k,v,E,P,R,L){super(ae,k,v.layer);this.originalModule=v;this.request=E;this.client=P;this.data=R;this.active=L}identifier(){return`${ae}|${this.originalModule.identifier()}`}readableIdentifier(k){return`${ae} ${this.originalModule.readableIdentifier(k)}`}updateCacheModule(k){super.updateCacheModule(k);const v=k;this.originalModule=v.originalModule;this.request=v.request;this.client=v.client;this.data=v.data;this.active=v.active}libIdent(k){return`${this.originalModule.libIdent(k)}!${ae}`}needBuild(k,v){v(null,!this.buildInfo||this.buildInfo.active!==this.active)}build(k,v,E,P,L){this.buildInfo={active:this.active};this.buildMeta={};this.clearDependenciesAndBlocks();const N=new me(this.client);this.addDependency(N);if(this.active){const k=new LazyCompilationDependency(this);const v=new R({});v.addDependency(k);this.addBlock(v)}L()}getSourceTypes(){return Ie}size(k){return 200}codeGeneration({runtimeTemplate:k,chunkGraph:v,moduleGraph:E}){const R=new Map;const L=new Set;L.add(le.module);const N=this.dependencies[0];const q=E.getModule(N);const ae=this.blocks[0];const me=pe.asString([`var client = ${k.moduleExports({module:q,chunkGraph:v,request:N.userRequest,runtimeRequirements:L})}`,`var data = ${JSON.stringify(this.data)};`]);const ye=pe.asString([`var dispose = client.keepAlive({ data: data, active: ${JSON.stringify(!!ae)}, module: module, onError: onError });`]);let _e;if(ae){const P=ae.dependencies[0];const R=E.getModule(P);_e=pe.asString([me,`module.exports = ${k.moduleNamespacePromise({chunkGraph:v,block:ae,module:R,request:this.request,strict:false,message:"import()",runtimeRequirements:L})};`,"if (module.hot) {",pe.indent(["module.hot.accept();",`module.hot.accept(${JSON.stringify(v.getModuleId(R))}, function() { module.hot.invalidate(); });`,"module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);"]),"}","function onError() { /* ignore */ }",ye])}else{_e=pe.asString([me,"var resolveSelf, onError;",`module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`,"if (module.hot) {",pe.indent(["module.hot.accept();","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);","module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });"]),"}",ye])}R.set("javascript",new P(_e));return{sources:R,runtimeRequirements:L}}updateHash(k,v){super.updateHash(k,v);k.update(this.active?"active":"");k.update(JSON.stringify(this.data))}}ye(LazyCompilationProxyModule);class LazyCompilationDependencyFactory extends q{constructor(k){super();this._factory=k}create(k,v){const E=k.dependencies[0];v(null,{module:E.proxyModule.originalModule})}}class LazyCompilationPlugin{constructor({backend:k,entries:v,imports:E,test:P}){this.backend=k;this.entries=v;this.imports=E;this.test=P}apply(k){let v;k.hooks.beforeCompile.tapAsync("LazyCompilationPlugin",((E,P)=>{if(v!==undefined)return P();const R=this.backend(k,((k,E)=>{if(k)return P(k);v=E;P()}));if(R&&R.then){R.then((k=>{v=k;P()}),P)}}));k.hooks.thisCompilation.tap("LazyCompilationPlugin",((E,{normalModuleFactory:P})=>{P.hooks.module.tap("LazyCompilationPlugin",((P,R,L)=>{if(L.dependencies.every((k=>_e.has(k.type)))){const k=L.dependencies[0];const v=E.moduleGraph.getParentModule(k);const P=v.blocks.some((v=>v.dependencies.some((v=>v.type==="import()"&&v.request===k.request))));if(!P)return}else if(!L.dependencies.every((k=>_e.has(k.type)||this.imports&&(k.type==="import()"||k.type==="import() context element")||this.entries&&k.type==="entry")))return;if(/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client|webpack-hot-middleware[/\\]client/.test(L.request)||!checkTest(this.test,P))return;const N=v.module(P);if(!N)return;const{client:q,data:ae,active:le}=N;return new LazyCompilationProxyModule(k.context,P,L.request,q,ae,le)}));E.dependencyFactories.set(LazyCompilationDependency,new LazyCompilationDependencyFactory)}));k.hooks.shutdown.tapAsync("LazyCompilationPlugin",(k=>{v.dispose(k)}))}}k.exports=LazyCompilationPlugin},75218:function(k,v,E){"use strict";k.exports=k=>(v,P)=>{const R=v.getInfrastructureLogger("LazyCompilationBackend");const L=new Map;const N="/lazy-compilation-using-";const q=k.protocol==="https"||typeof k.server==="object"&&("key"in k.server||"pfx"in k.server);const ae=typeof k.server==="function"?k.server:(()=>{const v=q?E(95687):E(13685);return v.createServer.bind(v,k.server)})();const le=typeof k.listen==="function"?k.listen:v=>{let E=k.listen;if(typeof E==="object"&&!("port"in E))E={...E,port:undefined};v.listen(E)};const pe=k.protocol||(q?"https":"http");const requestListener=(k,E)=>{const P=k.url.slice(N.length).split("@");k.socket.on("close",(()=>{setTimeout((()=>{for(const k of P){const v=L.get(k)||0;L.set(k,v-1);if(v===1){R.log(`${k} is no longer in use. Next compilation will skip this module.`)}}}),12e4)}));k.socket.setNoDelay(true);E.writeHead(200,{"content-type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*"});E.write("\n");let q=false;for(const k of P){const v=L.get(k)||0;L.set(k,v+1);if(v===0){R.log(`${k} is now in use and will be compiled.`);q=true}}if(q&&v.watching)v.watching.invalidate()};const me=ae();me.on("request",requestListener);let ye=false;const _e=new Set;me.on("connection",(k=>{_e.add(k);k.on("close",(()=>{_e.delete(k)}));if(ye)k.destroy()}));me.on("clientError",(k=>{if(k.message!=="Server is disposing")R.warn(k)}));me.on("listening",(v=>{if(v)return P(v);const E=me.address();if(typeof E==="string")throw new Error("addr must not be a string");const q=E.address==="::"||E.address==="0.0.0.0"?`${pe}://localhost:${E.port}`:E.family==="IPv6"?`${pe}://[${E.address}]:${E.port}`:`${pe}://${E.address}:${E.port}`;R.log(`Server-Sent-Events server for lazy compilation open at ${q}.`);P(null,{dispose(k){ye=true;me.off("request",requestListener);me.close((v=>{k(v)}));for(const k of _e){k.destroy(new Error("Server is disposing"))}},module(v){const E=`${encodeURIComponent(v.identifier().replace(/\\/g,"/").replace(/@/g,"_")).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g,decodeURIComponent)}`;const P=L.get(E)>0;return{client:`${k.client}?${encodeURIComponent(q+N)}`,data:E,active:P}}})}));le(me)}},1904:function(k,v,E){"use strict";const{find:P}=E(59959);const{compareModulesByPreOrderIndexOrIdentifier:R,compareModulesByPostOrderIndexOrIdentifier:L}=E(95648);class ChunkModuleIdRangePlugin{constructor(k){this.options=k}apply(k){const v=this.options;k.hooks.compilation.tap("ChunkModuleIdRangePlugin",(k=>{const E=k.moduleGraph;k.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",(N=>{const q=k.chunkGraph;const ae=P(k.chunks,(k=>k.name===v.name));if(!ae){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${v.name}"' was not found`)}let le;if(v.order){let k;switch(v.order){case"index":case"preOrderIndex":k=R(E);break;case"index2":case"postOrderIndex":k=L(E);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}le=q.getOrderedChunkModules(ae,k)}else{le=Array.from(N).filter((k=>q.isModuleInChunk(k,ae))).sort(R(E))}let pe=v.start||0;for(let k=0;kv.end)break}}))}))}}k.exports=ChunkModuleIdRangePlugin},89002:function(k,v,E){"use strict";const{compareChunksNatural:P}=E(95648);const{getFullChunkName:R,getUsedChunkIds:L,assignDeterministicIds:N}=E(88667);class DeterministicChunkIdsPlugin{constructor(k={}){this.options=k}apply(k){k.hooks.compilation.tap("DeterministicChunkIdsPlugin",(v=>{v.hooks.chunkIds.tap("DeterministicChunkIdsPlugin",(E=>{const q=v.chunkGraph;const ae=this.options.context?this.options.context:k.context;const le=this.options.maxLength||3;const pe=P(q);const me=L(v);N(Array.from(E).filter((k=>k.id===null)),(v=>R(v,q,ae,k.root)),pe,((k,v)=>{const E=me.size;me.add(`${v}`);if(E===me.size)return false;k.id=v;k.ids=[v];return true}),[Math.pow(10,le)],10,me.size)}))}))}}k.exports=DeterministicChunkIdsPlugin},40288:function(k,v,E){"use strict";const{compareModulesByPreOrderIndexOrIdentifier:P}=E(95648);const{getUsedModuleIdsAndModules:R,getFullModuleName:L,assignDeterministicIds:N}=E(88667);class DeterministicModuleIdsPlugin{constructor(k={}){this.options=k}apply(k){k.hooks.compilation.tap("DeterministicModuleIdsPlugin",(v=>{v.hooks.moduleIds.tap("DeterministicModuleIdsPlugin",(()=>{const E=v.chunkGraph;const q=this.options.context?this.options.context:k.context;const ae=this.options.maxLength||3;const le=this.options.failOnConflict||false;const pe=this.options.fixedLength||false;const me=this.options.salt||0;let ye=0;const[_e,Ie]=R(v,this.options.test);N(Ie,(v=>L(v,q,k.root)),le?()=>0:P(v.moduleGraph),((k,v)=>{const P=_e.size;_e.add(`${v}`);if(P===_e.size){ye++;return false}E.setModuleId(k,v);return true}),[Math.pow(10,ae)],pe?0:10,_e.size,me);if(le&&ye)throw new Error(`Assigning deterministic module ids has lead to ${ye} conflict${ye>1?"s":""}.\nIncrease the 'maxLength' to increase the id space and make conflicts less likely (recommended when there are many conflicts or application is expected to grow), or add an 'salt' number to try another hash starting value in the same id space (recommended when there is only a single conflict).`)}))}))}}k.exports=DeterministicModuleIdsPlugin},81973:function(k,v,E){"use strict";const{compareModulesByPreOrderIndexOrIdentifier:P}=E(95648);const R=E(92198);const L=E(74012);const{getUsedModuleIdsAndModules:N,getFullModuleName:q}=E(88667);const ae=R(E(9543),(()=>E(23884)),{name:"Hashed Module Ids Plugin",baseDataPath:"options"});class HashedModuleIdsPlugin{constructor(k={}){ae(k);this.options={context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4,...k}}apply(k){const v=this.options;k.hooks.compilation.tap("HashedModuleIdsPlugin",(E=>{E.hooks.moduleIds.tap("HashedModuleIdsPlugin",(()=>{const R=E.chunkGraph;const ae=this.options.context?this.options.context:k.context;const[le,pe]=N(E);const me=pe.sort(P(E.moduleGraph));for(const E of me){const P=q(E,ae,k.root);const N=L(v.hashFunction);N.update(P||"");const pe=N.digest(v.hashDigest);let me=v.hashDigestLength;while(le.has(pe.slice(0,me)))me++;const ye=pe.slice(0,me);R.setModuleId(E,ye);le.add(ye)}}))}))}}k.exports=HashedModuleIdsPlugin},88667:function(k,v,E){"use strict";const P=E(74012);const{makePathsRelative:R}=E(65315);const L=E(30747);const getHash=(k,v,E)=>{const R=P(E);R.update(k);const L=R.digest("hex");return L.slice(0,v)};const avoidNumber=k=>{if(k.length>21)return k;const v=k.charCodeAt(0);if(v<49){if(v!==45)return k}else if(v>57){return k}if(k===+k+""){return`_${k}`}return k};const requestToId=k=>k.replace(/^(\.\.?\/)+/,"").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_");v.requestToId=requestToId;const shortenLongString=(k,v,E)=>{if(k.length<100)return k;return k.slice(0,100-6-v.length)+v+getHash(k,6,E)};const getShortModuleName=(k,v,E)=>{const P=k.libIdent({context:v,associatedObjectForCache:E});if(P)return avoidNumber(P);const L=k.nameForCondition();if(L)return avoidNumber(R(v,L,E));return""};v.getShortModuleName=getShortModuleName;const getLongModuleName=(k,v,E,P,R)=>{const L=getFullModuleName(v,E,R);return`${k}?${getHash(L,4,P)}`};v.getLongModuleName=getLongModuleName;const getFullModuleName=(k,v,E)=>R(v,k.identifier(),E);v.getFullModuleName=getFullModuleName;const getShortChunkName=(k,v,E,P,R,L)=>{const N=v.getChunkRootModules(k);const q=N.map((k=>requestToId(getShortModuleName(k,E,L))));k.idNameHints.sort();const ae=Array.from(k.idNameHints).concat(q).filter(Boolean).join(P);return shortenLongString(ae,P,R)};v.getShortChunkName=getShortChunkName;const getLongChunkName=(k,v,E,P,R,L)=>{const N=v.getChunkRootModules(k);const q=N.map((k=>requestToId(getShortModuleName(k,E,L))));const ae=N.map((k=>requestToId(getLongModuleName("",k,E,R,L))));k.idNameHints.sort();const le=Array.from(k.idNameHints).concat(q,ae).filter(Boolean).join(P);return shortenLongString(le,P,R)};v.getLongChunkName=getLongChunkName;const getFullChunkName=(k,v,E,P)=>{if(k.name)return k.name;const L=v.getChunkRootModules(k);const N=L.map((k=>R(E,k.identifier(),P)));return N.join()};v.getFullChunkName=getFullChunkName;const addToMapOfItems=(k,v,E)=>{let P=k.get(v);if(P===undefined){P=[];k.set(v,P)}P.push(E)};const getUsedModuleIdsAndModules=(k,v)=>{const E=k.chunkGraph;const P=[];const R=new Set;if(k.usedModuleIds){for(const v of k.usedModuleIds){R.add(v+"")}}for(const L of k.modules){if(!L.needId)continue;const k=E.getModuleId(L);if(k!==null){R.add(k+"")}else{if((!v||v(L))&&E.getNumberOfModuleChunks(L)!==0){P.push(L)}}}return[R,P]};v.getUsedModuleIdsAndModules=getUsedModuleIdsAndModules;const getUsedChunkIds=k=>{const v=new Set;if(k.usedChunkIds){for(const E of k.usedChunkIds){v.add(E+"")}}for(const E of k.chunks){const k=E.id;if(k!==null){v.add(k+"")}}return v};v.getUsedChunkIds=getUsedChunkIds;const assignNames=(k,v,E,P,R,L)=>{const N=new Map;for(const E of k){const k=v(E);addToMapOfItems(N,k,E)}const q=new Map;for(const[k,v]of N){if(v.length>1||!k){for(const P of v){const v=E(P,k);addToMapOfItems(q,v,P)}}else{addToMapOfItems(q,k,v[0])}}const ae=[];for(const[k,v]of q){if(!k){for(const k of v){ae.push(k)}}else if(v.length===1&&!R.has(k)){L(v[0],k);R.add(k)}else{v.sort(P);let E=0;for(const P of v){while(q.has(k+E)&&R.has(k+E))E++;L(P,k+E);R.add(k+E);E++}}}ae.sort(P);return ae};v.assignNames=assignNames;const assignDeterministicIds=(k,v,E,P,R=[10],N=10,q=0,ae=0)=>{k.sort(E);const le=Math.min(k.length*20+q,Number.MAX_SAFE_INTEGER);let pe=0;let me=R[pe];while(me{const P=E.chunkGraph;let R=0;let L;if(k.size>0){L=v=>{if(P.getModuleId(v)===null){while(k.has(R+""))R++;P.setModuleId(v,R++)}}}else{L=k=>{if(P.getModuleId(k)===null){P.setModuleId(k,R++)}}}for(const k of v){L(k)}};v.assignAscendingModuleIds=assignAscendingModuleIds;const assignAscendingChunkIds=(k,v)=>{const E=getUsedChunkIds(v);let P=0;if(E.size>0){for(const v of k){if(v.id===null){while(E.has(P+""))P++;v.id=P;v.ids=[P];P++}}}else{for(const v of k){if(v.id===null){v.id=P;v.ids=[P];P++}}}};v.assignAscendingChunkIds=assignAscendingChunkIds},38372:function(k,v,E){"use strict";const{compareChunksNatural:P}=E(95648);const{getShortChunkName:R,getLongChunkName:L,assignNames:N,getUsedChunkIds:q,assignAscendingChunkIds:ae}=E(88667);class NamedChunkIdsPlugin{constructor(k){this.delimiter=k&&k.delimiter||"-";this.context=k&&k.context}apply(k){k.hooks.compilation.tap("NamedChunkIdsPlugin",(v=>{const E=v.outputOptions.hashFunction;v.hooks.chunkIds.tap("NamedChunkIdsPlugin",(le=>{const pe=v.chunkGraph;const me=this.context?this.context:k.context;const ye=this.delimiter;const _e=N(Array.from(le).filter((k=>{if(k.name){k.id=k.name;k.ids=[k.name]}return k.id===null})),(v=>R(v,pe,me,ye,E,k.root)),(v=>L(v,pe,me,ye,E,k.root)),P(pe),q(v),((k,v)=>{k.id=v;k.ids=[v]}));if(_e.length>0){ae(_e,v)}}))}))}}k.exports=NamedChunkIdsPlugin},64908:function(k,v,E){"use strict";const{compareModulesByIdentifier:P}=E(95648);const{getShortModuleName:R,getLongModuleName:L,assignNames:N,getUsedModuleIdsAndModules:q,assignAscendingModuleIds:ae}=E(88667);class NamedModuleIdsPlugin{constructor(k={}){this.options=k}apply(k){const{root:v}=k;k.hooks.compilation.tap("NamedModuleIdsPlugin",(E=>{const le=E.outputOptions.hashFunction;E.hooks.moduleIds.tap("NamedModuleIdsPlugin",(()=>{const pe=E.chunkGraph;const me=this.options.context?this.options.context:k.context;const[ye,_e]=q(E);const Ie=N(_e,(k=>R(k,me,v)),((k,E)=>L(E,k,me,le,v)),P,ye,((k,v)=>pe.setModuleId(k,v)));if(Ie.length>0){ae(ye,Ie,E)}}))}))}}k.exports=NamedModuleIdsPlugin},76914:function(k,v,E){"use strict";const{compareChunksNatural:P}=E(95648);const{assignAscendingChunkIds:R}=E(88667);class NaturalChunkIdsPlugin{apply(k){k.hooks.compilation.tap("NaturalChunkIdsPlugin",(k=>{k.hooks.chunkIds.tap("NaturalChunkIdsPlugin",(v=>{const E=k.chunkGraph;const L=P(E);const N=Array.from(v).sort(L);R(N,k)}))}))}}k.exports=NaturalChunkIdsPlugin},98122:function(k,v,E){"use strict";const{compareModulesByPreOrderIndexOrIdentifier:P}=E(95648);const{assignAscendingModuleIds:R,getUsedModuleIdsAndModules:L}=E(88667);class NaturalModuleIdsPlugin{apply(k){k.hooks.compilation.tap("NaturalModuleIdsPlugin",(k=>{k.hooks.moduleIds.tap("NaturalModuleIdsPlugin",(v=>{const[E,N]=L(k);N.sort(P(k.moduleGraph));R(E,N,k)}))}))}}k.exports=NaturalModuleIdsPlugin},12976:function(k,v,E){"use strict";const{compareChunksNatural:P}=E(95648);const R=E(92198);const{assignAscendingChunkIds:L}=E(88667);const N=R(E(59169),(()=>E(41565)),{name:"Occurrence Order Chunk Ids Plugin",baseDataPath:"options"});class OccurrenceChunkIdsPlugin{constructor(k={}){N(k);this.options=k}apply(k){const v=this.options.prioritiseInitial;k.hooks.compilation.tap("OccurrenceChunkIdsPlugin",(k=>{k.hooks.chunkIds.tap("OccurrenceChunkIdsPlugin",(E=>{const R=k.chunkGraph;const N=new Map;const q=P(R);for(const k of E){let v=0;for(const E of k.groupsIterable){for(const k of E.parentsIterable){if(k.isInitial())v++}}N.set(k,v)}const ae=Array.from(E).sort(((k,E)=>{if(v){const v=N.get(k);const P=N.get(E);if(v>P)return-1;if(vR)return-1;if(PE(71967)),{name:"Occurrence Order Module Ids Plugin",baseDataPath:"options"});class OccurrenceModuleIdsPlugin{constructor(k={}){q(k);this.options=k}apply(k){const v=this.options.prioritiseInitial;k.hooks.compilation.tap("OccurrenceModuleIdsPlugin",(k=>{const E=k.moduleGraph;k.hooks.moduleIds.tap("OccurrenceModuleIdsPlugin",(()=>{const R=k.chunkGraph;const[q,ae]=N(k);const le=new Map;const pe=new Map;const me=new Map;const ye=new Map;for(const k of ae){let v=0;let E=0;for(const P of R.getModuleChunksIterable(k)){if(P.canBeInitial())v++;if(R.isEntryModuleInChunk(k,P))E++}me.set(k,v);ye.set(k,E)}const countOccursInEntry=k=>{let v=0;for(const[P,R]of E.getIncomingConnectionsByOriginModule(k)){if(!P)continue;if(!R.some((k=>k.isTargetActive(undefined))))continue;v+=me.get(P)||0}return v};const countOccurs=k=>{let v=0;for(const[P,L]of E.getIncomingConnectionsByOriginModule(k)){if(!P)continue;const k=R.getNumberOfModuleChunks(P);for(const E of L){if(!E.isTargetActive(undefined))continue;if(!E.dependency)continue;const P=E.dependency.getNumberOfIdOccurrences();if(P===0)continue;v+=P*k}}return v};if(v){for(const k of ae){const v=countOccursInEntry(k)+me.get(k)+ye.get(k);le.set(k,v)}}for(const k of ae){const v=countOccurs(k)+R.getNumberOfModuleChunks(k)+ye.get(k);pe.set(k,v)}const _e=P(k.moduleGraph);ae.sort(((k,E)=>{if(v){const v=le.get(k);const P=le.get(E);if(v>P)return-1;if(vR)return-1;if(Ptrue);const R=!P||P==="merge"||P==="update";this._read=R||P==="read";this._write=R||P==="create";this._prune=P==="update"}apply(k){let v;let E=false;if(this._read){k.hooks.readRecords.tapAsync(L,(P=>{const R=k.intermediateFileSystem;R.readFile(this._path,((k,R)=>{if(k){if(k.code!=="ENOENT"){return P(k)}return P()}const L=JSON.parse(R.toString());v=new Map;for(const k of Object.keys(L)){v.set(k,L[k])}E=false;return P()}))}))}if(this._write){k.hooks.emitRecords.tapAsync(L,(P=>{if(!v||!E)return P();const R={};const L=Array.from(v).sort((([k],[v])=>k{const q=k.root;const ae=this._context||k.context;if(this._read){N.hooks.reviveModules.tap(L,((k,E)=>{if(!v)return;const{chunkGraph:L}=N;const[le,pe]=R(N,this._test);for(const k of pe){const E=k.libIdent({context:ae,associatedObjectForCache:q});if(!E)continue;const R=v.get(E);const pe=`${R}`;if(le.has(pe)){const v=new P(`SyncModuleIdsPlugin: Unable to restore id '${R}' from '${this._path}' as it's already used.`);v.module=k;N.errors.push(v)}L.setModuleId(k,R);le.add(pe)}}))}if(this._write){N.hooks.recordModules.tap(L,(k=>{const{chunkGraph:P}=N;let R=v;if(!R){R=v=new Map}else if(this._prune){v=new Map}for(const L of k){if(this._test(L)){const k=L.libIdent({context:ae,associatedObjectForCache:q});if(!k)continue;const N=P.getModuleId(L);if(N===null)continue;const le=R.get(k);if(le!==N){E=true}else if(v===R){continue}v.set(k,N)}}if(v.size!==R.size)E=true}))}}))}}k.exports=SyncModuleIdsPlugin},94308:function(k,v,E){"use strict";const P=E(73837);const R=E(20631);const lazyFunction=k=>{const v=R(k);const f=(...k)=>v()(...k);return f};const mergeExports=(k,v)=>{const E=Object.getOwnPropertyDescriptors(v);for(const v of Object.keys(E)){const P=E[v];if(P.get){const E=P.get;Object.defineProperty(k,v,{configurable:false,enumerable:true,get:R(E)})}else if(typeof P.value==="object"){Object.defineProperty(k,v,{configurable:false,enumerable:true,writable:false,value:mergeExports({},P.value)})}else{throw new Error("Exposed values must be either a getter or an nested object")}}return Object.freeze(k)};const L=lazyFunction((()=>E(10463)));k.exports=mergeExports(L,{get webpack(){return E(10463)},get validate(){const k=E(38537);const v=R((()=>{const k=E(11458);const v=E(98625);return E=>k(v,E)}));return E=>{if(!k(E))v()(E)}},get validateSchema(){const k=E(11458);return k},get version(){return E(35479).i8},get cli(){return E(20069)},get AutomaticPrefetchPlugin(){return E(75250)},get AsyncDependenciesBlock(){return E(75081)},get BannerPlugin(){return E(13991)},get Cache(){return E(89802)},get Chunk(){return E(8247)},get ChunkGraph(){return E(38317)},get CleanPlugin(){return E(69155)},get Compilation(){return E(27747)},get Compiler(){return E(2170)},get ConcatenationScope(){return E(91213)},get ContextExclusionPlugin(){return E(41454)},get ContextReplacementPlugin(){return E(98047)},get DefinePlugin(){return E(91602)},get DelegatedPlugin(){return E(27064)},get Dependency(){return E(16848)},get DllPlugin(){return E(97765)},get DllReferencePlugin(){return E(95619)},get DynamicEntryPlugin(){return E(54602)},get EntryOptionPlugin(){return E(26591)},get EntryPlugin(){return E(17570)},get EnvironmentPlugin(){return E(32149)},get EvalDevToolModulePlugin(){return E(87543)},get EvalSourceMapDevToolPlugin(){return E(21234)},get ExternalModule(){return E(10849)},get ExternalsPlugin(){return E(53757)},get Generator(){return E(91597)},get HotUpdateChunk(){return E(95733)},get HotModuleReplacementPlugin(){return E(29898)},get IgnorePlugin(){return E(69200)},get JavascriptModulesPlugin(){return P.deprecate((()=>E(89168)),"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin","DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN")()},get LibManifestPlugin(){return E(98060)},get LibraryTemplatePlugin(){return P.deprecate((()=>E(9021)),"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 E(69056)},get LoaderTargetPlugin(){return E(49429)},get Module(){return E(88396)},get ModuleFilenameHelpers(){return E(98612)},get ModuleGraph(){return E(88223)},get ModuleGraphConnection(){return E(86267)},get NoEmitOnErrorsPlugin(){return E(75018)},get NormalModule(){return E(38224)},get NormalModuleReplacementPlugin(){return E(35548)},get MultiCompiler(){return E(47575)},get Parser(){return E(17381)},get PrefetchPlugin(){return E(93380)},get ProgressPlugin(){return E(6535)},get ProvidePlugin(){return E(73238)},get RuntimeGlobals(){return E(56727)},get RuntimeModule(){return E(27462)},get SingleEntryPlugin(){return P.deprecate((()=>E(17570)),"SingleEntryPlugin was renamed to EntryPlugin","DEP_WEBPACK_SINGLE_ENTRY_PLUGIN")()},get SourceMapDevToolPlugin(){return E(83814)},get Stats(){return E(26288)},get Template(){return E(95041)},get UsageState(){return E(11172).UsageState},get WatchIgnorePlugin(){return E(38849)},get WebpackError(){return E(71572)},get WebpackOptionsApply(){return E(27826)},get WebpackOptionsDefaulter(){return P.deprecate((()=>E(21247)),"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults","DEP_WEBPACK_OPTIONS_DEFAULTER")()},get WebpackOptionsValidationError(){return E(38476).ValidationError},get ValidationError(){return E(38476).ValidationError},cache:{get MemoryCachePlugin(){return E(66494)}},config:{get getNormalizedWebpackOptions(){return E(47339).getNormalizedWebpackOptions},get applyWebpackOptionsDefaults(){return E(25801).applyWebpackOptionsDefaults}},dependencies:{get ModuleDependency(){return E(77373)},get HarmonyImportDependency(){return E(69184)},get ConstDependency(){return E(60381)},get NullDependency(){return E(53139)}},ids:{get ChunkModuleIdRangePlugin(){return E(1904)},get NaturalModuleIdsPlugin(){return E(98122)},get OccurrenceModuleIdsPlugin(){return E(40654)},get NamedModuleIdsPlugin(){return E(64908)},get DeterministicChunkIdsPlugin(){return E(89002)},get DeterministicModuleIdsPlugin(){return E(40288)},get NamedChunkIdsPlugin(){return E(38372)},get OccurrenceChunkIdsPlugin(){return E(12976)},get HashedModuleIdsPlugin(){return E(81973)}},javascript:{get EnableChunkLoadingPlugin(){return E(73126)},get JavascriptModulesPlugin(){return E(89168)},get JavascriptParser(){return E(81532)}},optimize:{get AggressiveMergingPlugin(){return E(3952)},get AggressiveSplittingPlugin(){return P.deprecate((()=>E(21684)),"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin","DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN")()},get InnerGraph(){return E(88926)},get LimitChunkCountPlugin(){return E(17452)},get MinChunkSizePlugin(){return E(25971)},get ModuleConcatenationPlugin(){return E(30899)},get RealContentHashPlugin(){return E(71183)},get RuntimeChunkPlugin(){return E(89921)},get SideEffectsFlagPlugin(){return E(57214)},get SplitChunksPlugin(){return E(30829)}},runtime:{get GetChunkFilenameRuntimeModule(){return E(10582)},get LoadScriptRuntimeModule(){return E(42159)}},prefetch:{get ChunkPrefetchPreloadPlugin(){return E(37247)}},web:{get FetchCompileAsyncWasmPlugin(){return E(52576)},get FetchCompileWasmPlugin(){return E(99900)},get JsonpChunkLoadingRuntimeModule(){return E(97810)},get JsonpTemplatePlugin(){return E(68511)}},webworker:{get WebWorkerTemplatePlugin(){return E(20514)}},node:{get NodeEnvironmentPlugin(){return E(74983)},get NodeSourcePlugin(){return E(44513)},get NodeTargetPlugin(){return E(56976)},get NodeTemplatePlugin(){return E(74578)},get ReadFileCompileWasmPlugin(){return E(63506)}},electron:{get ElectronTargetPlugin(){return E(27558)}},wasm:{get AsyncWebAssemblyModulesPlugin(){return E(70006)},get EnableWasmLoadingPlugin(){return E(50792)}},library:{get AbstractLibraryPlugin(){return E(15893)},get EnableLibraryPlugin(){return E(60234)}},container:{get ContainerPlugin(){return E(59826)},get ContainerReferencePlugin(){return E(10223)},get ModuleFederationPlugin(){return E(71863)},get scope(){return E(34869).scope}},sharing:{get ConsumeSharedPlugin(){return E(73485)},get ProvideSharedPlugin(){return E(70610)},get SharePlugin(){return E(38084)},get scope(){return E(34869).scope}},debug:{get ProfilingPlugin(){return E(85865)}},util:{get createHash(){return E(74012)},get comparators(){return E(95648)},get runtime(){return E(1540)},get serialization(){return E(52456)},get cleverMerge(){return E(99454).cachedCleverMerge},get LazySet(){return E(12359)}},get sources(){return E(51255)},experiments:{schemes:{get HttpUriPlugin(){return E(73500)}},ids:{get SyncModuleIdsPlugin(){return E(84441)}}}})},39799:function(k,v,E){"use strict";const{ConcatSource:P,PrefixSource:R,RawSource:L}=E(51255);const{RuntimeGlobals:N}=E(94308);const q=E(95733);const ae=E(95041);const{getCompilationHooks:le}=E(89168);const{generateEntryStartup:pe,updateHashForEntryStartup:me}=E(73777);class ArrayPushCallbackChunkFormatPlugin{apply(k){k.hooks.thisCompilation.tap("ArrayPushCallbackChunkFormatPlugin",(k=>{k.hooks.additionalChunkRuntimeRequirements.tap("ArrayPushCallbackChunkFormatPlugin",((k,v,{chunkGraph:E})=>{if(k.hasRuntime())return;if(E.getNumberOfEntryModules(k)>0){v.add(N.onChunksLoaded);v.add(N.require)}v.add(N.chunkCallback)}));const v=le(k);v.renderChunk.tap("ArrayPushCallbackChunkFormatPlugin",((E,le)=>{const{chunk:me,chunkGraph:ye,runtimeTemplate:_e}=le;const Ie=me instanceof q?me:null;const Me=_e.globalObject;const Te=new P;const je=ye.getChunkRuntimeModulesInOrder(me);if(Ie){const k=_e.outputOptions.hotUpdateGlobal;Te.add(`${Me}[${JSON.stringify(k)}](`);Te.add(`${JSON.stringify(me.id)},`);Te.add(E);if(je.length>0){Te.add(",\n");const k=ae.renderChunkRuntimeModules(je,le);Te.add(k)}Te.add(")")}else{const q=_e.outputOptions.chunkLoadingGlobal;Te.add(`(${Me}[${JSON.stringify(q)}] = ${Me}[${JSON.stringify(q)}] || []).push([`);Te.add(`${JSON.stringify(me.ids)},`);Te.add(E);const Ie=Array.from(ye.getChunkEntryModulesWithChunkGroupIterable(me));if(je.length>0||Ie.length>0){const E=new P((_e.supportsArrowFunction()?`${N.require} =>`:`function(${N.require})`)+" { // webpackRuntimeModules\n");if(je.length>0){E.add(ae.renderRuntimeModules(je,{...le,codeGenerationResults:k.codeGenerationResults}))}if(Ie.length>0){const k=new L(pe(ye,_e,Ie,me,true));E.add(v.renderStartup.call(k,Ie[Ie.length-1][0],{...le,inlined:false}));if(ye.getChunkRuntimeRequirements(me).has(N.returnExportsFromRuntime)){E.add(`return ${N.exports};\n`)}}E.add("}\n");Te.add(",\n");Te.add(new R("/******/ ",E))}Te.add("])")}return Te}));v.chunkHash.tap("ArrayPushCallbackChunkFormatPlugin",((k,v,{chunkGraph:E,runtimeTemplate:P})=>{if(k.hasRuntime())return;v.update(`ArrayPushCallbackChunkFormatPlugin1${P.outputOptions.chunkLoadingGlobal}${P.outputOptions.hotUpdateGlobal}${P.globalObject}`);const R=Array.from(E.getChunkEntryModulesWithChunkGroupIterable(k));me(v,E,R,k)}))}))}}k.exports=ArrayPushCallbackChunkFormatPlugin},70037:function(k){"use strict";const v=0;const E=1;const P=2;const R=3;const L=4;const N=5;const q=6;const ae=7;const le=8;const pe=9;const me=10;const ye=11;const _e=12;const Ie=13;class BasicEvaluatedExpression{constructor(){this.type=v;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.getMembersOptionals=undefined;this.getMemberRanges=undefined;this.expression=undefined}isUnknown(){return this.type===v}isNull(){return this.type===P}isUndefined(){return this.type===E}isString(){return this.type===R}isNumber(){return this.type===L}isBigInt(){return this.type===Ie}isBoolean(){return this.type===N}isRegExp(){return this.type===q}isConditional(){return this.type===ae}isArray(){return this.type===le}isConstArray(){return this.type===pe}isIdentifier(){return this.type===me}isWrapped(){return this.type===ye}isTemplateString(){return this.type===_e}isPrimitiveType(){switch(this.type){case E:case P:case R:case L:case N:case Ie:case ye:case _e:return true;case q:case le:case pe:return false;default:return undefined}}isCompileTimeValue(){switch(this.type){case E:case P:case R:case L:case N:case q:case pe:case Ie:return true;default:return false}}asCompileTimeValue(){switch(this.type){case E:return undefined;case P:return null;case R:return this.string;case L:return this.number;case N:return this.bool;case q:return this.regExp;case pe:return this.array;case Ie: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 k=this.asString();if(typeof k==="string")return k!==""}return undefined}asNullish(){const k=this.isNullish();if(k===true||this.isNull()||this.isUndefined())return true;if(k===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 k=[];for(const v of this.items){const E=v.asString();if(E===undefined)return undefined;k.push(E)}return`${k}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let k="";for(const v of this.parts){const E=v.asString();if(E===undefined)return undefined;k+=E}return k}return undefined}setString(k){this.type=R;this.string=k;this.sideEffects=false;return this}setUndefined(){this.type=E;this.sideEffects=false;return this}setNull(){this.type=P;this.sideEffects=false;return this}setNumber(k){this.type=L;this.number=k;this.sideEffects=false;return this}setBigInt(k){this.type=Ie;this.bigint=k;this.sideEffects=false;return this}setBoolean(k){this.type=N;this.bool=k;this.sideEffects=false;return this}setRegExp(k){this.type=q;this.regExp=k;this.sideEffects=false;return this}setIdentifier(k,v,E,P,R){this.type=me;this.identifier=k;this.rootInfo=v;this.getMembers=E;this.getMembersOptionals=P;this.getMemberRanges=R;this.sideEffects=true;return this}setWrapped(k,v,E){this.type=ye;this.prefix=k;this.postfix=v;this.wrappedInnerExpressions=E;this.sideEffects=true;return this}setOptions(k){this.type=ae;this.options=k;this.sideEffects=true;return this}addOptions(k){if(!this.options){this.type=ae;this.options=[];this.sideEffects=true}for(const v of k){this.options.push(v)}return this}setItems(k){this.type=le;this.items=k;this.sideEffects=k.some((k=>k.couldHaveSideEffects()));return this}setArray(k){this.type=pe;this.array=k;this.sideEffects=false;return this}setTemplateString(k,v,E){this.type=_e;this.quasis=k;this.parts=v;this.templateStringKind=E;this.sideEffects=v.some((k=>k.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(k){this.nullish=k;if(k)return this.setFalsy();return this}setRange(k){this.range=k;return this}setSideEffects(k=true){this.sideEffects=k;return this}setExpression(k){this.expression=k;return this}}BasicEvaluatedExpression.isValidRegExpFlags=k=>{const v=k.length;if(v===0)return true;if(v>4)return false;let E=0;for(let P=0;P{const R=new Set([k]);const L=new Set;for(const k of R){for(const P of k.chunks){if(P===v)continue;if(P===E)continue;L.add(P)}for(const v of k.parentsIterable){if(v instanceof P)R.add(v)}}return L};v.getAllChunks=getAllChunks},45542:function(k,v,E){"use strict";const{ConcatSource:P,RawSource:R}=E(51255);const L=E(56727);const N=E(95041);const{getChunkFilenameTemplate:q,getCompilationHooks:ae}=E(89168);const{generateEntryStartup:le,updateHashForEntryStartup:pe}=E(73777);class CommonJsChunkFormatPlugin{apply(k){k.hooks.thisCompilation.tap("CommonJsChunkFormatPlugin",(k=>{k.hooks.additionalChunkRuntimeRequirements.tap("CommonJsChunkLoadingPlugin",((k,v,{chunkGraph:E})=>{if(k.hasRuntime())return;if(E.getNumberOfEntryModules(k)>0){v.add(L.require);v.add(L.startupEntrypoint);v.add(L.externalInstallChunk)}}));const v=ae(k);v.renderChunk.tap("CommonJsChunkFormatPlugin",((E,ae)=>{const{chunk:pe,chunkGraph:me,runtimeTemplate:ye}=ae;const _e=new P;_e.add(`exports.id = ${JSON.stringify(pe.id)};\n`);_e.add(`exports.ids = ${JSON.stringify(pe.ids)};\n`);_e.add(`exports.modules = `);_e.add(E);_e.add(";\n");const Ie=me.getChunkRuntimeModulesInOrder(pe);if(Ie.length>0){_e.add("exports.runtime =\n");_e.add(N.renderChunkRuntimeModules(Ie,ae))}const Me=Array.from(me.getChunkEntryModulesWithChunkGroupIterable(pe));if(Me.length>0){const E=Me[0][1].getRuntimeChunk();const N=k.getPath(q(pe,k.outputOptions),{chunk:pe,contentHashType:"javascript"}).split("/");const Ie=k.getPath(q(E,k.outputOptions),{chunk:E,contentHashType:"javascript"}).split("/");N.pop();while(N.length>0&&Ie.length>0&&N[0]===Ie[0]){N.shift();Ie.shift()}const Te=(N.length>0?"../".repeat(N.length):"./")+Ie.join("/");const je=new P;je.add(`(${ye.supportsArrowFunction()?"() => ":"function() "}{\n`);je.add("var exports = {};\n");je.add(_e);je.add(";\n\n// load runtime\n");je.add(`var ${L.require} = require(${JSON.stringify(Te)});\n`);je.add(`${L.externalInstallChunk}(exports);\n`);const Ne=new R(le(me,ye,Me,pe,false));je.add(v.renderStartup.call(Ne,Me[Me.length-1][0],{...ae,inlined:false}));je.add("\n})()");return je}return _e}));v.chunkHash.tap("CommonJsChunkFormatPlugin",((k,v,{chunkGraph:E})=>{if(k.hasRuntime())return;v.update("CommonJsChunkFormatPlugin");v.update("1");const P=Array.from(E.getChunkEntryModulesWithChunkGroupIterable(k));pe(v,E,P,k)}))}))}}k.exports=CommonJsChunkFormatPlugin},73126:function(k,v,E){"use strict";const P=new WeakMap;const getEnabledTypes=k=>{let v=P.get(k);if(v===undefined){v=new Set;P.set(k,v)}return v};class EnableChunkLoadingPlugin{constructor(k){this.type=k}static setEnabled(k,v){getEnabledTypes(k).add(v)}static checkEnabled(k,v){if(!getEnabledTypes(k).has(v)){throw new Error(`Chunk loading type "${v}" 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 chunk loading types to "output.enabledChunkLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(k)).join(", "))}}apply(k){const{type:v}=this;const P=getEnabledTypes(k);if(P.has(v))return;P.add(v);if(typeof v==="string"){switch(v){case"jsonp":{const v=E(58746);(new v).apply(k);break}case"import-scripts":{const v=E(9366);(new v).apply(k);break}case"require":{const v=E(16574);new v({asyncChunkLoading:false}).apply(k);break}case"async-node":{const v=E(16574);new v({asyncChunkLoading:true}).apply(k);break}case"import":{const v=E(21879);(new v).apply(k);break}case"universal":throw new Error("Universal Chunk Loading is not implemented yet");default:throw new Error(`Unsupported chunk loading type ${v}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}k.exports=EnableChunkLoadingPlugin},2166:function(k,v,E){"use strict";const P=E(73837);const{RawSource:R,ReplaceSource:L}=E(51255);const N=E(91597);const q=E(88113);const ae=E(2075);const le=P.deprecate(((k,v,E)=>k.getInitFragments(v,E)),"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)","DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS");const pe=new Set(["javascript"]);class JavascriptGenerator extends N{getTypes(k){return pe}getSize(k,v){const E=k.originalSource();if(!E){return 39}return E.size()}getConcatenationBailoutReason(k,v){if(!k.buildMeta||k.buildMeta.exportsType!=="namespace"||k.presentationalDependencies===undefined||!k.presentationalDependencies.some((k=>k instanceof ae))){return"Module is not an ECMAScript module"}if(k.buildInfo&&k.buildInfo.moduleConcatenationBailout){return`Module uses ${k.buildInfo.moduleConcatenationBailout}`}}generate(k,v){const E=k.originalSource();if(!E){return new R("throw new Error('No source available');")}const P=new L(E);const N=[];this.sourceModule(k,N,P,v);return q.addToSource(P,N,v)}sourceModule(k,v,E,P){for(const R of k.dependencies){this.sourceDependency(k,R,v,E,P)}if(k.presentationalDependencies!==undefined){for(const R of k.presentationalDependencies){this.sourceDependency(k,R,v,E,P)}}for(const R of k.blocks){this.sourceBlock(k,R,v,E,P)}}sourceBlock(k,v,E,P,R){for(const L of v.dependencies){this.sourceDependency(k,L,E,P,R)}for(const L of v.blocks){this.sourceBlock(k,L,E,P,R)}}sourceDependency(k,v,E,P,R){const L=v.constructor;const N=R.dependencyTemplates.get(L);if(!N){throw new Error("No template for dependency: "+v.constructor.name)}const q={runtimeTemplate:R.runtimeTemplate,dependencyTemplates:R.dependencyTemplates,moduleGraph:R.moduleGraph,chunkGraph:R.chunkGraph,module:k,runtime:R.runtime,runtimeRequirements:R.runtimeRequirements,concatenationScope:R.concatenationScope,codeGenerationResults:R.codeGenerationResults,initFragments:E};N.apply(v,P,q);if("getInitFragments"in N){const k=le(N,v,q);if(k){for(const v of k){E.push(v)}}}}}k.exports=JavascriptGenerator},89168:function(k,v,E){"use strict";const{SyncWaterfallHook:P,SyncHook:R,SyncBailHook:L}=E(79846);const N=E(26144);const{ConcatSource:q,OriginalSource:ae,PrefixSource:le,RawSource:pe,CachedSource:me}=E(51255);const ye=E(27747);const{tryRunOrWebpackError:_e}=E(82104);const Ie=E(95733);const Me=E(88113);const{JAVASCRIPT_MODULE_TYPE_AUTO:Te,JAVASCRIPT_MODULE_TYPE_DYNAMIC:je,JAVASCRIPT_MODULE_TYPE_ESM:Ne,WEBPACK_MODULE_TYPE_RUNTIME:Be}=E(93622);const qe=E(56727);const Ue=E(95041);const{last:Ge,someInIterable:He}=E(54480);const We=E(96181);const{compareModulesByIdentifier:Qe}=E(95648);const Je=E(74012);const Ve=E(64119);const{intersectRuntime:Ke}=E(1540);const Ye=E(2166);const Xe=E(81532);const chunkHasJs=(k,v)=>{if(v.getNumberOfEntryModules(k)>0)return true;return v.getChunkModulesIterableBySourceType(k,"javascript")?true:false};const printGeneratedCodeForStack=(k,v)=>{const E=v.split("\n");const P=`${E.length}`.length;return`\n\nGenerated code for ${k.identifier()}\n${E.map(((k,v,E)=>{const R=`${v+1}`;return`${" ".repeat(P-R.length)}${R} | ${k}`})).join("\n")}`};const Ze=new WeakMap;const et="JavascriptModulesPlugin";class JavascriptModulesPlugin{static getCompilationHooks(k){if(!(k instanceof ye)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=Ze.get(k);if(v===undefined){v={renderModuleContent:new P(["source","module","renderContext"]),renderModuleContainer:new P(["source","module","renderContext"]),renderModulePackage:new P(["source","module","renderContext"]),render:new P(["source","renderContext"]),renderContent:new P(["source","renderContext"]),renderStartup:new P(["source","module","startupRenderContext"]),renderChunk:new P(["source","renderContext"]),renderMain:new P(["source","renderContext"]),renderRequire:new P(["code","renderContext"]),inlineInRuntimeBailout:new L(["module","renderContext"]),embedInRuntimeBailout:new L(["module","renderContext"]),strictRuntimeBailout:new L(["renderContext"]),chunkHash:new R(["chunk","hash","context"]),useSourceMap:new L(["chunk","renderContext"])};Ze.set(k,v)}return v}constructor(k={}){this.options=k;this._moduleFactoryCache=new WeakMap}apply(k){k.hooks.compilation.tap(et,((k,{normalModuleFactory:v})=>{const E=JavascriptModulesPlugin.getCompilationHooks(k);v.hooks.createParser.for(Te).tap(et,(k=>new Xe("auto")));v.hooks.createParser.for(je).tap(et,(k=>new Xe("script")));v.hooks.createParser.for(Ne).tap(et,(k=>new Xe("module")));v.hooks.createGenerator.for(Te).tap(et,(()=>new Ye));v.hooks.createGenerator.for(je).tap(et,(()=>new Ye));v.hooks.createGenerator.for(Ne).tap(et,(()=>new Ye));k.hooks.renderManifest.tap(et,((v,P)=>{const{hash:R,chunk:L,chunkGraph:N,moduleGraph:q,runtimeTemplate:ae,dependencyTemplates:le,outputOptions:pe,codeGenerationResults:me}=P;const ye=L instanceof Ie?L:null;let _e;const Me=JavascriptModulesPlugin.getChunkFilenameTemplate(L,pe);if(ye){_e=()=>this.renderChunk({chunk:L,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:q,chunkGraph:N,codeGenerationResults:me,strictMode:ae.isModule()},E)}else if(L.hasRuntime()){_e=()=>this.renderMain({hash:R,chunk:L,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:q,chunkGraph:N,codeGenerationResults:me,strictMode:ae.isModule()},E,k)}else{if(!chunkHasJs(L,N)){return v}_e=()=>this.renderChunk({chunk:L,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:q,chunkGraph:N,codeGenerationResults:me,strictMode:ae.isModule()},E)}v.push({render:_e,filenameTemplate:Me,pathOptions:{hash:R,runtime:L.runtime,chunk:L,contentHashType:"javascript"},info:{javascriptModule:k.runtimeTemplate.isModule()},identifier:ye?`hotupdatechunk${L.id}`:`chunk${L.id}`,hash:L.contentHash.javascript});return v}));k.hooks.chunkHash.tap(et,((k,v,P)=>{E.chunkHash.call(k,v,P);if(k.hasRuntime()){this.updateHashWithBootstrap(v,{hash:"0000",chunk:k,codeGenerationResults:P.codeGenerationResults,chunkGraph:P.chunkGraph,moduleGraph:P.moduleGraph,runtimeTemplate:P.runtimeTemplate},E)}}));k.hooks.contentHash.tap(et,(v=>{const{chunkGraph:P,codeGenerationResults:R,moduleGraph:L,runtimeTemplate:N,outputOptions:{hashSalt:q,hashDigest:ae,hashDigestLength:le,hashFunction:pe}}=k;const me=Je(pe);if(q)me.update(q);if(v.hasRuntime()){this.updateHashWithBootstrap(me,{hash:"0000",chunk:v,codeGenerationResults:R,chunkGraph:k.chunkGraph,moduleGraph:k.moduleGraph,runtimeTemplate:k.runtimeTemplate},E)}else{me.update(`${v.id} `);me.update(v.ids?v.ids.join(","):"")}E.chunkHash.call(v,me,{chunkGraph:P,codeGenerationResults:R,moduleGraph:L,runtimeTemplate:N});const ye=P.getChunkModulesIterableBySourceType(v,"javascript");if(ye){const k=new We;for(const E of ye){k.add(P.getModuleHash(E,v.runtime))}k.updateHash(me)}const _e=P.getChunkModulesIterableBySourceType(v,Be);if(_e){const k=new We;for(const E of _e){k.add(P.getModuleHash(E,v.runtime))}k.updateHash(me)}const Ie=me.digest(ae);v.contentHash.javascript=Ve(Ie,le)}));k.hooks.additionalTreeRuntimeRequirements.tap(et,((k,v,{chunkGraph:E})=>{if(!v.has(qe.startupNoDefault)&&E.hasChunkEntryDependentChunks(k)){v.add(qe.onChunksLoaded);v.add(qe.require)}}));k.hooks.executeModule.tap(et,((k,v)=>{const E=k.codeGenerationResult.sources.get("javascript");if(E===undefined)return;const{module:P,moduleObject:R}=k;const L=E.source();const q=N.runInThisContext(`(function(${P.moduleArgument}, ${P.exportsArgument}, ${qe.require}) {\n${L}\n/**/})`,{filename:P.identifier(),lineOffset:-1});try{q.call(R.exports,R,R.exports,v.__webpack_require__)}catch(v){v.stack+=printGeneratedCodeForStack(k.module,L);throw v}}));k.hooks.executeModule.tap(et,((k,v)=>{const E=k.codeGenerationResult.sources.get("runtime");if(E===undefined)return;let P=E.source();if(typeof P!=="string")P=P.toString();const R=N.runInThisContext(`(function(${qe.require}) {\n${P}\n/**/})`,{filename:k.module.identifier(),lineOffset:-1});try{R.call(null,v.__webpack_require__)}catch(v){v.stack+=printGeneratedCodeForStack(k.module,P);throw v}}))}))}static getChunkFilenameTemplate(k,v){if(k.filenameTemplate){return k.filenameTemplate}else if(k instanceof Ie){return v.hotUpdateChunkFilename}else if(k.canBeInitial()){return v.filename}else{return v.chunkFilename}}renderModule(k,v,E,P){const{chunk:R,chunkGraph:L,runtimeTemplate:N,codeGenerationResults:ae,strictMode:le}=v;try{const pe=ae.get(k,R.runtime);const ye=pe.sources.get("javascript");if(!ye)return null;if(pe.data!==undefined){const k=pe.data.get("chunkInitFragments");if(k){for(const E of k)v.chunkInitFragments.push(E)}}const Ie=_e((()=>E.renderModuleContent.call(ye,k,v)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent");let Me;if(P){const P=L.getModuleRuntimeRequirements(k,R.runtime);const ae=P.has(qe.module);const pe=P.has(qe.exports);const ye=P.has(qe.require)||P.has(qe.requireScope);const Te=P.has(qe.thisAsExports);const je=k.buildInfo.strict&&!le;const Ne=this._moduleFactoryCache.get(Ie);let Be;if(Ne&&Ne.needModule===ae&&Ne.needExports===pe&&Ne.needRequire===ye&&Ne.needThisAsExports===Te&&Ne.needStrict===je){Be=Ne.source}else{const v=new q;const E=[];if(pe||ye||ae)E.push(ae?k.moduleArgument:"__unused_webpack_"+k.moduleArgument);if(pe||ye)E.push(pe?k.exportsArgument:"__unused_webpack_"+k.exportsArgument);if(ye)E.push(qe.require);if(!Te&&N.supportsArrowFunction()){v.add("/***/ (("+E.join(", ")+") => {\n\n")}else{v.add("/***/ (function("+E.join(", ")+") {\n\n")}if(je){v.add('"use strict";\n')}v.add(Ie);v.add("\n\n/***/ })");Be=new me(v);this._moduleFactoryCache.set(Ie,{source:Be,needModule:ae,needExports:pe,needRequire:ye,needThisAsExports:Te,needStrict:je})}Me=_e((()=>E.renderModuleContainer.call(Be,k,v)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer")}else{Me=Ie}return _e((()=>E.renderModulePackage.call(Me,k,v)),"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage")}catch(v){v.module=k;throw v}}renderChunk(k,v){const{chunk:E,chunkGraph:P}=k;const R=P.getOrderedChunkModulesIterableBySourceType(E,"javascript",Qe);const L=R?Array.from(R):[];let N;let ae=k.strictMode;if(!ae&&L.every((k=>k.buildInfo.strict))){const E=v.strictRuntimeBailout.call(k);N=E?`// runtime can't be in strict mode because ${E}.\n`:'"use strict";\n';if(!E)ae=true}const le={...k,chunkInitFragments:[],strictMode:ae};const me=Ue.renderChunkModules(le,L,(k=>this.renderModule(k,le,v,true)))||new pe("{}");let ye=_e((()=>v.renderChunk.call(me,le)),"JavascriptModulesPlugin.getCompilationHooks().renderChunk");ye=_e((()=>v.renderContent.call(ye,le)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!ye){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}ye=Me.addToSource(ye,le.chunkInitFragments,le);ye=_e((()=>v.render.call(ye,le)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!ye){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}E.rendered=true;return N?new q(N,ye,";"):k.runtimeTemplate.isModule()?ye:new q(ye,";")}renderMain(k,v,E){const{chunk:P,chunkGraph:R,runtimeTemplate:L}=k;const N=R.getTreeRuntimeRequirements(P);const me=L.isIIFE();const ye=this.renderBootstrap(k,v);const Ie=v.useSourceMap.call(P,k);const Te=Array.from(R.getOrderedChunkModulesIterableBySourceType(P,"javascript",Qe)||[]);const je=R.getNumberOfEntryModules(P)>0;let Ne;if(ye.allowInlineStartup&&je){Ne=new Set(R.getChunkEntryModulesIterable(P))}let Be=new q;let He;if(me){if(L.supportsArrowFunction()){Be.add("/******/ (() => { // webpackBootstrap\n")}else{Be.add("/******/ (function() { // webpackBootstrap\n")}He="/******/ \t"}else{He="/******/ "}let We=k.strictMode;if(!We&&Te.every((k=>k.buildInfo.strict))){const E=v.strictRuntimeBailout.call(k);if(E){Be.add(He+`// runtime can't be in strict mode because ${E}.\n`)}else{We=true;Be.add(He+'"use strict";\n')}}const Je={...k,chunkInitFragments:[],strictMode:We};const Ve=Ue.renderChunkModules(Je,Ne?Te.filter((k=>!Ne.has(k))):Te,(k=>this.renderModule(k,Je,v,true)),He);if(Ve||N.has(qe.moduleFactories)||N.has(qe.moduleFactoriesAddOnly)||N.has(qe.require)){Be.add(He+"var __webpack_modules__ = (");Be.add(Ve||"{}");Be.add(");\n");Be.add("/************************************************************************/\n")}if(ye.header.length>0){const k=Ue.asString(ye.header)+"\n";Be.add(new le(He,Ie?new ae(k,"webpack/bootstrap"):new pe(k)));Be.add("/************************************************************************/\n")}const Ke=k.chunkGraph.getChunkRuntimeModulesInOrder(P);if(Ke.length>0){Be.add(new le(He,Ue.renderRuntimeModules(Ke,Je)));Be.add("/************************************************************************/\n");for(const k of Ke){E.codeGeneratedModules.add(k)}}if(Ne){if(ye.beforeStartup.length>0){const k=Ue.asString(ye.beforeStartup)+"\n";Be.add(new le(He,Ie?new ae(k,"webpack/before-startup"):new pe(k)))}const E=Ge(Ne);const me=new q;me.add(`var ${qe.exports} = {};\n`);for(const N of Ne){const q=this.renderModule(N,Je,v,false);if(q){const ae=!We&&N.buildInfo.strict;const le=R.getModuleRuntimeRequirements(N,P.runtime);const pe=le.has(qe.exports);const ye=pe&&N.exportsArgument===qe.exports;let _e=ae?"it need to be in strict mode.":Ne.size>1?"it need to be isolated against other entry modules.":Ve?"it need to be isolated against other modules in the chunk.":pe&&!ye?`it uses a non-standard name for the exports (${N.exportsArgument}).`:v.embedInRuntimeBailout.call(N,k);let Ie;if(_e!==undefined){me.add(`// This entry need to be wrapped in an IIFE because ${_e}\n`);const k=L.supportsArrowFunction();if(k){me.add("(() => {\n");Ie="\n})();\n\n"}else{me.add("!function() {\n");Ie="\n}();\n"}if(ae)me.add('"use strict";\n')}else{Ie="\n"}if(pe){if(N!==E)me.add(`var ${N.exportsArgument} = {};\n`);else if(N.exportsArgument!==qe.exports)me.add(`var ${N.exportsArgument} = ${qe.exports};\n`)}me.add(q);me.add(Ie)}}if(N.has(qe.onChunksLoaded)){me.add(`${qe.exports} = ${qe.onChunksLoaded}(${qe.exports});\n`)}Be.add(v.renderStartup.call(me,E,{...k,inlined:true}));if(ye.afterStartup.length>0){const k=Ue.asString(ye.afterStartup)+"\n";Be.add(new le(He,Ie?new ae(k,"webpack/after-startup"):new pe(k)))}}else{const E=Ge(R.getChunkEntryModulesIterable(P));const L=Ie?(k,v)=>new ae(Ue.asString(k),v):k=>new pe(Ue.asString(k));Be.add(new le(He,new q(L(ye.beforeStartup,"webpack/before-startup"),"\n",v.renderStartup.call(L(ye.startup.concat(""),"webpack/startup"),E,{...k,inlined:false}),L(ye.afterStartup,"webpack/after-startup"),"\n")))}if(je&&N.has(qe.returnExportsFromRuntime)){Be.add(`${He}return ${qe.exports};\n`)}if(me){Be.add("/******/ })()\n")}let Ye=_e((()=>v.renderMain.call(Be,k)),"JavascriptModulesPlugin.getCompilationHooks().renderMain");if(!Ye){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something")}Ye=_e((()=>v.renderContent.call(Ye,k)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Ye){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Ye=Me.addToSource(Ye,Je.chunkInitFragments,Je);Ye=_e((()=>v.render.call(Ye,k)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Ye){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}P.rendered=true;return me?new q(Ye,";"):Ye}updateHashWithBootstrap(k,v,E){const P=this.renderBootstrap(v,E);for(const v of Object.keys(P)){k.update(v);if(Array.isArray(P[v])){for(const E of P[v]){k.update(E)}}else{k.update(JSON.stringify(P[v]))}}}renderBootstrap(k,v){const{chunkGraph:E,codeGenerationResults:P,moduleGraph:R,chunk:L,runtimeTemplate:N}=k;const q=E.getTreeRuntimeRequirements(L);const ae=q.has(qe.require);const le=q.has(qe.moduleCache);const pe=q.has(qe.moduleFactories);const me=q.has(qe.module);const ye=q.has(qe.requireScope);const _e=q.has(qe.interceptModuleExecution);const Ie=ae||_e||me;const Me={header:[],beforeStartup:[],startup:[],afterStartup:[],allowInlineStartup:true};let{header:Te,startup:je,beforeStartup:Ne,afterStartup:Be}=Me;if(Me.allowInlineStartup&&pe){je.push("// module factories are used so entry inlining is disabled");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&le){je.push("// module cache are used so entry inlining is disabled");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&_e){je.push("// module execution is intercepted so entry inlining is disabled");Me.allowInlineStartup=false}if(Ie||le){Te.push("// The module cache");Te.push("var __webpack_module_cache__ = {};");Te.push("")}if(Ie){Te.push("// The require function");Te.push(`function ${qe.require}(moduleId) {`);Te.push(Ue.indent(this.renderRequire(k,v)));Te.push("}");Te.push("")}else if(q.has(qe.requireScope)){Te.push("// The require scope");Te.push(`var ${qe.require} = {};`);Te.push("")}if(pe||q.has(qe.moduleFactoriesAddOnly)){Te.push("// expose the modules object (__webpack_modules__)");Te.push(`${qe.moduleFactories} = __webpack_modules__;`);Te.push("")}if(le){Te.push("// expose the module cache");Te.push(`${qe.moduleCache} = __webpack_module_cache__;`);Te.push("")}if(_e){Te.push("// expose the module execution interceptor");Te.push(`${qe.interceptModuleExecution} = [];`);Te.push("")}if(!q.has(qe.startupNoDefault)){if(E.getNumberOfEntryModules(L)>0){const q=[];const ae=E.getTreeRuntimeRequirements(L);q.push("// Load entry module and return exports");let le=E.getNumberOfEntryModules(L);for(const[pe,me]of E.getChunkEntryModulesWithChunkGroupIterable(L)){const _e=me.chunks.filter((k=>k!==L));if(Me.allowInlineStartup&&_e.length>0){q.push("// This entry module depends on other loaded chunks and execution need to be delayed");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&He(R.getIncomingConnectionsByOriginModule(pe),(([k,v])=>k&&v.some((k=>k.isTargetActive(L.runtime)))&&He(E.getModuleRuntimes(k),(k=>Ke(k,L.runtime)!==undefined))))){q.push("// This entry module is referenced by other modules so it can't be inlined");Me.allowInlineStartup=false}let Te;if(P.has(pe,L.runtime)){const k=P.get(pe,L.runtime);Te=k.data}if(Me.allowInlineStartup&&(!Te||!Te.get("topLevelDeclarations"))&&(!pe.buildInfo||!pe.buildInfo.topLevelDeclarations)){q.push("// This entry module doesn't tell about it's top-level declarations so it can't be inlined");Me.allowInlineStartup=false}if(Me.allowInlineStartup){const E=v.inlineInRuntimeBailout.call(pe,k);if(E!==undefined){q.push(`// This entry module can't be inlined because ${E}`);Me.allowInlineStartup=false}}le--;const je=E.getModuleId(pe);const Ne=E.getModuleRuntimeRequirements(pe,L.runtime);let Be=JSON.stringify(je);if(ae.has(qe.entryModuleId)){Be=`${qe.entryModuleId} = ${Be}`}if(Me.allowInlineStartup&&Ne.has(qe.module)){Me.allowInlineStartup=false;q.push("// This entry module used 'module' so it can't be inlined")}if(_e.length>0){q.push(`${le===0?`var ${qe.exports} = `:""}${qe.onChunksLoaded}(undefined, ${JSON.stringify(_e.map((k=>k.id)))}, ${N.returningFunction(`${qe.require}(${Be})`)})`)}else if(Ie){q.push(`${le===0?`var ${qe.exports} = `:""}${qe.require}(${Be});`)}else{if(le===0)q.push(`var ${qe.exports} = {};`);if(ye){q.push(`__webpack_modules__[${Be}](0, ${le===0?qe.exports:"{}"}, ${qe.require});`)}else if(Ne.has(qe.exports)){q.push(`__webpack_modules__[${Be}](0, ${le===0?qe.exports:"{}"});`)}else{q.push(`__webpack_modules__[${Be}]();`)}}}if(ae.has(qe.onChunksLoaded)){q.push(`${qe.exports} = ${qe.onChunksLoaded}(${qe.exports});`)}if(ae.has(qe.startup)||ae.has(qe.startupOnlyBefore)&&ae.has(qe.startupOnlyAfter)){Me.allowInlineStartup=false;Te.push("// the startup function");Te.push(`${qe.startup} = ${N.basicFunction("",[...q,`return ${qe.exports};`])};`);Te.push("");je.push("// run startup");je.push(`var ${qe.exports} = ${qe.startup}();`)}else if(ae.has(qe.startupOnlyBefore)){Te.push("// the startup function");Te.push(`${qe.startup} = ${N.emptyFunction()};`);Ne.push("// run runtime startup");Ne.push(`${qe.startup}();`);je.push("// startup");je.push(Ue.asString(q))}else if(ae.has(qe.startupOnlyAfter)){Te.push("// the startup function");Te.push(`${qe.startup} = ${N.emptyFunction()};`);je.push("// startup");je.push(Ue.asString(q));Be.push("// run runtime startup");Be.push(`${qe.startup}();`)}else{je.push("// startup");je.push(Ue.asString(q))}}else if(q.has(qe.startup)||q.has(qe.startupOnlyBefore)||q.has(qe.startupOnlyAfter)){Te.push("// the startup function","// It's empty as no entry modules are in this chunk",`${qe.startup} = ${N.emptyFunction()};`,"")}}else if(q.has(qe.startup)||q.has(qe.startupOnlyBefore)||q.has(qe.startupOnlyAfter)){Me.allowInlineStartup=false;Te.push("// the startup function","// It's empty as some runtime module handles the default behavior",`${qe.startup} = ${N.emptyFunction()};`);je.push("// run startup");je.push(`var ${qe.exports} = ${qe.startup}();`)}return Me}renderRequire(k,v){const{chunk:E,chunkGraph:P,runtimeTemplate:{outputOptions:R}}=k;const L=P.getTreeRuntimeRequirements(E);const N=L.has(qe.interceptModuleExecution)?Ue.asString([`var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: ${qe.require} };`,`${qe.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,"module = execOptions.module;","execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"]):L.has(qe.thisAsExports)?Ue.asString([`__webpack_modules__[moduleId].call(module.exports, module, module.exports, ${qe.require});`]):Ue.asString([`__webpack_modules__[moduleId](module, module.exports, ${qe.require});`]);const q=L.has(qe.moduleId);const ae=L.has(qe.moduleLoaded);const le=Ue.asString(["// Check if module is in cache","var cachedModule = __webpack_module_cache__[moduleId];","if (cachedModule !== undefined) {",R.strictModuleErrorHandling?Ue.indent(["if (cachedModule.error !== undefined) throw cachedModule.error;","return cachedModule.exports;"]):Ue.indent("return cachedModule.exports;"),"}","// Create a new module (and put it into the cache)","var module = __webpack_module_cache__[moduleId] = {",Ue.indent([q?"id: moduleId,":"// no module.id needed",ae?"loaded: false,":"// no module.loaded needed","exports: {}"]),"};","",R.strictModuleExceptionHandling?Ue.asString(["// Execute the module function","var threw = true;","try {",Ue.indent([N,"threw = false;"]),"} finally {",Ue.indent(["if(threw) delete __webpack_module_cache__[moduleId];"]),"}"]):R.strictModuleErrorHandling?Ue.asString(["// Execute the module function","try {",Ue.indent(N),"} catch(e) {",Ue.indent(["module.error = e;","throw e;"]),"}"]):Ue.asString(["// Execute the module function",N]),ae?Ue.asString(["","// Flag the module as loaded",`${qe.moduleLoaded} = true;`,""]):"","// Return the exports of the module","return module.exports;"]);return _e((()=>v.renderRequire.call(le,k)),"JavascriptModulesPlugin.getCompilationHooks().renderRequire")}}k.exports=JavascriptModulesPlugin;k.exports.chunkHasJs=chunkHasJs},81532:function(k,v,E){"use strict";const{Parser:P}=E(31988);const{importAssertions:R}=E(46348);const{SyncBailHook:L,HookMap:N}=E(79846);const q=E(26144);const ae=E(17381);const le=E(25728);const pe=E(43759);const me=E(20631);const ye=E(70037);const _e=[];const Ie=1;const Me=2;const Te=3;const je=P.extend(R);class VariableInfo{constructor(k,v,E){this.declaredScope=k;this.freeName=v;this.tagInfo=E}}const joinRanges=(k,v)=>{if(!v)return k;if(!k)return v;return[k[0],v[1]]};const objectAndMembersToName=(k,v)=>{let E=k;for(let k=v.length-1;k>=0;k--){E=E+"."+v[k]}return E};const getRootName=k=>{switch(k.type){case"Identifier":return k.name;case"ThisExpression":return"this";case"MetaProperty":return`${k.meta.name}.${k.property.name}`;default:return undefined}};const Ne={ranges:true,locations:true,ecmaVersion:"latest",sourceType:"module",allowHashBang:true,onComment:null};const Be=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const qe={options:null,errors:null};class JavascriptParser extends ae{constructor(k="auto"){super();this.hooks=Object.freeze({evaluateTypeof:new N((()=>new L(["expression"]))),evaluate:new N((()=>new L(["expression"]))),evaluateIdentifier:new N((()=>new L(["expression"]))),evaluateDefinedIdentifier:new N((()=>new L(["expression"]))),evaluateNewExpression:new N((()=>new L(["expression"]))),evaluateCallExpression:new N((()=>new L(["expression"]))),evaluateCallExpressionMember:new N((()=>new L(["expression","param"]))),isPure:new N((()=>new L(["expression","commentsStartPosition"]))),preStatement:new L(["statement"]),blockPreStatement:new L(["declaration"]),statement:new L(["statement"]),statementIf:new L(["statement"]),classExtendsExpression:new L(["expression","classDefinition"]),classBodyElement:new L(["element","classDefinition"]),classBodyValue:new L(["expression","element","classDefinition"]),label:new N((()=>new L(["statement"]))),import:new L(["statement","source"]),importSpecifier:new L(["statement","source","exportName","identifierName"]),export:new L(["statement"]),exportImport:new L(["statement","source"]),exportDeclaration:new L(["statement","declaration"]),exportExpression:new L(["statement","declaration"]),exportSpecifier:new L(["statement","identifierName","exportName","index"]),exportImportSpecifier:new L(["statement","source","identifierName","exportName","index"]),preDeclarator:new L(["declarator","statement"]),declarator:new L(["declarator","statement"]),varDeclaration:new N((()=>new L(["declaration"]))),varDeclarationLet:new N((()=>new L(["declaration"]))),varDeclarationConst:new N((()=>new L(["declaration"]))),varDeclarationVar:new N((()=>new L(["declaration"]))),pattern:new N((()=>new L(["pattern"]))),canRename:new N((()=>new L(["initExpression"]))),rename:new N((()=>new L(["initExpression"]))),assign:new N((()=>new L(["expression"]))),assignMemberChain:new N((()=>new L(["expression","members"]))),typeof:new N((()=>new L(["expression"]))),importCall:new L(["expression"]),topLevelAwait:new L(["expression"]),call:new N((()=>new L(["expression"]))),callMemberChain:new N((()=>new L(["expression","members","membersOptionals","memberRanges"]))),memberChainOfCallMemberChain:new N((()=>new L(["expression","calleeMembers","callExpression","members"]))),callMemberChainOfCallMemberChain:new N((()=>new L(["expression","calleeMembers","innerCallExpression","members"]))),optionalChaining:new L(["optionalChaining"]),new:new N((()=>new L(["expression"]))),binaryExpression:new L(["binaryExpression"]),expression:new N((()=>new L(["expression"]))),expressionMemberChain:new N((()=>new L(["expression","members","membersOptionals","memberRanges"]))),unhandledExpressionMemberChain:new N((()=>new L(["expression","members"]))),expressionConditionalOperator:new L(["expression"]),expressionLogicalOperator:new L(["expression"]),program:new L(["ast","comments"]),finish:new L(["ast","comments"])});this.sourceType=k;this.scope=undefined;this.state=undefined;this.comments=undefined;this.semicolons=undefined;this.statementPath=undefined;this.prevStatement=undefined;this.destructuringAssignmentProperties=undefined;this.currentTagData=undefined;this._initializeEvaluating()}_initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("JavascriptParser",(k=>{const v=k;switch(typeof v.value){case"number":return(new ye).setNumber(v.value).setRange(v.range);case"bigint":return(new ye).setBigInt(v.value).setRange(v.range);case"string":return(new ye).setString(v.value).setRange(v.range);case"boolean":return(new ye).setBoolean(v.value).setRange(v.range)}if(v.value===null){return(new ye).setNull().setRange(v.range)}if(v.value instanceof RegExp){return(new ye).setRegExp(v.value).setRange(v.range)}}));this.hooks.evaluate.for("NewExpression").tap("JavascriptParser",(k=>{const v=k;const E=v.callee;if(E.type!=="Identifier")return;if(E.name!=="RegExp"){return this.callHooksForName(this.hooks.evaluateNewExpression,E.name,v)}else if(v.arguments.length>2||this.getVariableInfo("RegExp")!=="RegExp")return;let P,R;const L=v.arguments[0];if(L){if(L.type==="SpreadElement")return;const k=this.evaluateExpression(L);if(!k)return;P=k.asString();if(!P)return}else{return(new ye).setRegExp(new RegExp("")).setRange(v.range)}const N=v.arguments[1];if(N){if(N.type==="SpreadElement")return;const k=this.evaluateExpression(N);if(!k)return;if(!k.isUndefined()){R=k.asString();if(R===undefined||!ye.isValidRegExpFlags(R))return}}return(new ye).setRegExp(R?new RegExp(P,R):new RegExp(P)).setRange(v.range)}));this.hooks.evaluate.for("LogicalExpression").tap("JavascriptParser",(k=>{const v=k;const E=this.evaluateExpression(v.left);let P=false;let R;if(v.operator==="&&"){const k=E.asBool();if(k===false)return E.setRange(v.range);P=k===true;R=false}else if(v.operator==="||"){const k=E.asBool();if(k===true)return E.setRange(v.range);P=k===false;R=true}else if(v.operator==="??"){const k=E.asNullish();if(k===false)return E.setRange(v.range);if(k!==true)return;P=true}else return;const L=this.evaluateExpression(v.right);if(P){if(E.couldHaveSideEffects())L.setSideEffects();return L.setRange(v.range)}const N=L.asBool();if(R===true&&N===true){return(new ye).setRange(v.range).setTruthy()}else if(R===false&&N===false){return(new ye).setRange(v.range).setFalsy()}}));const valueAsExpression=(k,v,E)=>{switch(typeof k){case"boolean":return(new ye).setBoolean(k).setSideEffects(E).setRange(v.range);case"number":return(new ye).setNumber(k).setSideEffects(E).setRange(v.range);case"bigint":return(new ye).setBigInt(k).setSideEffects(E).setRange(v.range);case"string":return(new ye).setString(k).setSideEffects(E).setRange(v.range)}};this.hooks.evaluate.for("BinaryExpression").tap("JavascriptParser",(k=>{const v=k;const handleConstOperation=k=>{const E=this.evaluateExpression(v.left);if(!E.isCompileTimeValue())return;const P=this.evaluateExpression(v.right);if(!P.isCompileTimeValue())return;const R=k(E.asCompileTimeValue(),P.asCompileTimeValue());return valueAsExpression(R,v,E.couldHaveSideEffects()||P.couldHaveSideEffects())};const isAlwaysDifferent=(k,v)=>k===true&&v===false||k===false&&v===true;const handleTemplateStringCompare=(k,v,E,P)=>{const getPrefix=k=>{let v="";for(const E of k){const k=E.asString();if(k!==undefined)v+=k;else break}return v};const getSuffix=k=>{let v="";for(let E=k.length-1;E>=0;E--){const P=k[E].asString();if(P!==undefined)v=P+v;else break}return v};const R=getPrefix(k.parts);const L=getPrefix(v.parts);const N=getSuffix(k.parts);const q=getSuffix(v.parts);const ae=Math.min(R.length,L.length);const le=Math.min(N.length,q.length);const pe=ae>0&&R.slice(0,ae)!==L.slice(0,ae);const me=le>0&&N.slice(-le)!==q.slice(-le);if(pe||me){return E.setBoolean(!P).setSideEffects(k.couldHaveSideEffects()||v.couldHaveSideEffects())}};const handleStrictEqualityComparison=k=>{const E=this.evaluateExpression(v.left);const P=this.evaluateExpression(v.right);const R=new ye;R.setRange(v.range);const L=E.isCompileTimeValue();const N=P.isCompileTimeValue();if(L&&N){return R.setBoolean(k===(E.asCompileTimeValue()===P.asCompileTimeValue())).setSideEffects(E.couldHaveSideEffects()||P.couldHaveSideEffects())}if(E.isArray()&&P.isArray()){return R.setBoolean(!k).setSideEffects(E.couldHaveSideEffects()||P.couldHaveSideEffects())}if(E.isTemplateString()&&P.isTemplateString()){return handleTemplateStringCompare(E,P,R,k)}const q=E.isPrimitiveType();const ae=P.isPrimitiveType();if(q===false&&(L||ae===true)||ae===false&&(N||q===true)||isAlwaysDifferent(E.asBool(),P.asBool())||isAlwaysDifferent(E.asNullish(),P.asNullish())){return R.setBoolean(!k).setSideEffects(E.couldHaveSideEffects()||P.couldHaveSideEffects())}};const handleAbstractEqualityComparison=k=>{const E=this.evaluateExpression(v.left);const P=this.evaluateExpression(v.right);const R=new ye;R.setRange(v.range);const L=E.isCompileTimeValue();const N=P.isCompileTimeValue();if(L&&N){return R.setBoolean(k===(E.asCompileTimeValue()==P.asCompileTimeValue())).setSideEffects(E.couldHaveSideEffects()||P.couldHaveSideEffects())}if(E.isArray()&&P.isArray()){return R.setBoolean(!k).setSideEffects(E.couldHaveSideEffects()||P.couldHaveSideEffects())}if(E.isTemplateString()&&P.isTemplateString()){return handleTemplateStringCompare(E,P,R,k)}};if(v.operator==="+"){const k=this.evaluateExpression(v.left);const E=this.evaluateExpression(v.right);const P=new ye;if(k.isString()){if(E.isString()){P.setString(k.string+E.string)}else if(E.isNumber()){P.setString(k.string+E.number)}else if(E.isWrapped()&&E.prefix&&E.prefix.isString()){P.setWrapped((new ye).setString(k.string+E.prefix.string).setRange(joinRanges(k.range,E.prefix.range)),E.postfix,E.wrappedInnerExpressions)}else if(E.isWrapped()){P.setWrapped(k,E.postfix,E.wrappedInnerExpressions)}else{P.setWrapped(k,null,[E])}}else if(k.isNumber()){if(E.isString()){P.setString(k.number+E.string)}else if(E.isNumber()){P.setNumber(k.number+E.number)}else{return}}else if(k.isBigInt()){if(E.isBigInt()){P.setBigInt(k.bigint+E.bigint)}}else if(k.isWrapped()){if(k.postfix&&k.postfix.isString()&&E.isString()){P.setWrapped(k.prefix,(new ye).setString(k.postfix.string+E.string).setRange(joinRanges(k.postfix.range,E.range)),k.wrappedInnerExpressions)}else if(k.postfix&&k.postfix.isString()&&E.isNumber()){P.setWrapped(k.prefix,(new ye).setString(k.postfix.string+E.number).setRange(joinRanges(k.postfix.range,E.range)),k.wrappedInnerExpressions)}else if(E.isString()){P.setWrapped(k.prefix,E,k.wrappedInnerExpressions)}else if(E.isNumber()){P.setWrapped(k.prefix,(new ye).setString(E.number+"").setRange(E.range),k.wrappedInnerExpressions)}else if(E.isWrapped()){P.setWrapped(k.prefix,E.postfix,k.wrappedInnerExpressions&&E.wrappedInnerExpressions&&k.wrappedInnerExpressions.concat(k.postfix?[k.postfix]:[]).concat(E.prefix?[E.prefix]:[]).concat(E.wrappedInnerExpressions))}else{P.setWrapped(k.prefix,null,k.wrappedInnerExpressions&&k.wrappedInnerExpressions.concat(k.postfix?[k.postfix,E]:[E]))}}else{if(E.isString()){P.setWrapped(null,E,[k])}else if(E.isWrapped()){P.setWrapped(null,E.postfix,E.wrappedInnerExpressions&&(E.prefix?[k,E.prefix]:[k]).concat(E.wrappedInnerExpressions))}else{return}}if(k.couldHaveSideEffects()||E.couldHaveSideEffects())P.setSideEffects();P.setRange(v.range);return P}else if(v.operator==="-"){return handleConstOperation(((k,v)=>k-v))}else if(v.operator==="*"){return handleConstOperation(((k,v)=>k*v))}else if(v.operator==="/"){return handleConstOperation(((k,v)=>k/v))}else if(v.operator==="**"){return handleConstOperation(((k,v)=>k**v))}else if(v.operator==="==="){return handleStrictEqualityComparison(true)}else if(v.operator==="=="){return handleAbstractEqualityComparison(true)}else if(v.operator==="!=="){return handleStrictEqualityComparison(false)}else if(v.operator==="!="){return handleAbstractEqualityComparison(false)}else if(v.operator==="&"){return handleConstOperation(((k,v)=>k&v))}else if(v.operator==="|"){return handleConstOperation(((k,v)=>k|v))}else if(v.operator==="^"){return handleConstOperation(((k,v)=>k^v))}else if(v.operator===">>>"){return handleConstOperation(((k,v)=>k>>>v))}else if(v.operator===">>"){return handleConstOperation(((k,v)=>k>>v))}else if(v.operator==="<<"){return handleConstOperation(((k,v)=>k<k"){return handleConstOperation(((k,v)=>k>v))}else if(v.operator==="<="){return handleConstOperation(((k,v)=>k<=v))}else if(v.operator===">="){return handleConstOperation(((k,v)=>k>=v))}}));this.hooks.evaluate.for("UnaryExpression").tap("JavascriptParser",(k=>{const v=k;const handleConstOperation=k=>{const E=this.evaluateExpression(v.argument);if(!E.isCompileTimeValue())return;const P=k(E.asCompileTimeValue());return valueAsExpression(P,v,E.couldHaveSideEffects())};if(v.operator==="typeof"){switch(v.argument.type){case"Identifier":{const k=this.callHooksForName(this.hooks.evaluateTypeof,v.argument.name,v);if(k!==undefined)return k;break}case"MetaProperty":{const k=this.callHooksForName(this.hooks.evaluateTypeof,getRootName(v.argument),v);if(k!==undefined)return k;break}case"MemberExpression":{const k=this.callHooksForExpression(this.hooks.evaluateTypeof,v.argument,v);if(k!==undefined)return k;break}case"ChainExpression":{const k=this.callHooksForExpression(this.hooks.evaluateTypeof,v.argument.expression,v);if(k!==undefined)return k;break}case"FunctionExpression":{return(new ye).setString("function").setRange(v.range)}}const k=this.evaluateExpression(v.argument);if(k.isUnknown())return;if(k.isString()){return(new ye).setString("string").setRange(v.range)}if(k.isWrapped()){return(new ye).setString("string").setSideEffects().setRange(v.range)}if(k.isUndefined()){return(new ye).setString("undefined").setRange(v.range)}if(k.isNumber()){return(new ye).setString("number").setRange(v.range)}if(k.isBigInt()){return(new ye).setString("bigint").setRange(v.range)}if(k.isBoolean()){return(new ye).setString("boolean").setRange(v.range)}if(k.isConstArray()||k.isRegExp()||k.isNull()){return(new ye).setString("object").setRange(v.range)}if(k.isArray()){return(new ye).setString("object").setSideEffects(k.couldHaveSideEffects()).setRange(v.range)}}else if(v.operator==="!"){const k=this.evaluateExpression(v.argument);const E=k.asBool();if(typeof E!=="boolean")return;return(new ye).setBoolean(!E).setSideEffects(k.couldHaveSideEffects()).setRange(v.range)}else if(v.operator==="~"){return handleConstOperation((k=>~k))}else if(v.operator==="+"){return handleConstOperation((k=>+k))}else if(v.operator==="-"){return handleConstOperation((k=>-k))}}));this.hooks.evaluateTypeof.for("undefined").tap("JavascriptParser",(k=>(new ye).setString("undefined").setRange(k.range)));this.hooks.evaluate.for("Identifier").tap("JavascriptParser",(k=>{if(k.name==="undefined"){return(new ye).setUndefined().setRange(k.range)}}));const tapEvaluateWithVariableInfo=(k,v)=>{let E=undefined;let P=undefined;this.hooks.evaluate.for(k).tap("JavascriptParser",(k=>{const R=k;const L=v(k);if(L!==undefined){return this.callHooksForInfoWithFallback(this.hooks.evaluateIdentifier,L.name,(k=>{E=R;P=L}),(k=>{const v=this.hooks.evaluateDefinedIdentifier.get(k);if(v!==undefined){return v.call(R)}}),R)}}));this.hooks.evaluate.for(k).tap({name:"JavascriptParser",stage:100},(k=>{const R=E===k?P:v(k);if(R!==undefined){return(new ye).setIdentifier(R.name,R.rootInfo,R.getMembers,R.getMembersOptionals,R.getMemberRanges).setRange(k.range)}}));this.hooks.finish.tap("JavascriptParser",(()=>{E=P=undefined}))};tapEvaluateWithVariableInfo("Identifier",(k=>{const v=this.getVariableInfo(k.name);if(typeof v==="string"||v instanceof VariableInfo&&typeof v.freeName==="string"){return{name:v,rootInfo:v,getMembers:()=>[],getMembersOptionals:()=>[],getMemberRanges:()=>[]}}}));tapEvaluateWithVariableInfo("ThisExpression",(k=>{const v=this.getVariableInfo("this");if(typeof v==="string"||v instanceof VariableInfo&&typeof v.freeName==="string"){return{name:v,rootInfo:v,getMembers:()=>[],getMembersOptionals:()=>[],getMemberRanges:()=>[]}}}));this.hooks.evaluate.for("MetaProperty").tap("JavascriptParser",(k=>{const v=k;return this.callHooksForName(this.hooks.evaluateIdentifier,getRootName(k),v)}));tapEvaluateWithVariableInfo("MemberExpression",(k=>this.getMemberExpressionInfo(k,Me)));this.hooks.evaluate.for("CallExpression").tap("JavascriptParser",(k=>{const v=k;if(v.callee.type==="MemberExpression"&&v.callee.property.type===(v.callee.computed?"Literal":"Identifier")){const k=this.evaluateExpression(v.callee.object);const E=v.callee.property.type==="Literal"?`${v.callee.property.value}`:v.callee.property.name;const P=this.hooks.evaluateCallExpressionMember.get(E);if(P!==undefined){return P.call(v,k)}}else if(v.callee.type==="Identifier"){return this.callHooksForName(this.hooks.evaluateCallExpression,v.callee.name,v)}}));this.hooks.evaluateCallExpressionMember.for("indexOf").tap("JavascriptParser",((k,v)=>{if(!v.isString())return;if(k.arguments.length===0)return;const[E,P]=k.arguments;if(E.type==="SpreadElement")return;const R=this.evaluateExpression(E);if(!R.isString())return;const L=R.string;let N;if(P){if(P.type==="SpreadElement")return;const k=this.evaluateExpression(P);if(!k.isNumber())return;N=v.string.indexOf(L,k.number)}else{N=v.string.indexOf(L)}return(new ye).setNumber(N).setSideEffects(v.couldHaveSideEffects()).setRange(k.range)}));this.hooks.evaluateCallExpressionMember.for("replace").tap("JavascriptParser",((k,v)=>{if(!v.isString())return;if(k.arguments.length!==2)return;if(k.arguments[0].type==="SpreadElement")return;if(k.arguments[1].type==="SpreadElement")return;let E=this.evaluateExpression(k.arguments[0]);let P=this.evaluateExpression(k.arguments[1]);if(!E.isString()&&!E.isRegExp())return;const R=E.regExp||E.string;if(!P.isString())return;const L=P.string;return(new ye).setString(v.string.replace(R,L)).setSideEffects(v.couldHaveSideEffects()).setRange(k.range)}));["substr","substring","slice"].forEach((k=>{this.hooks.evaluateCallExpressionMember.for(k).tap("JavascriptParser",((v,E)=>{if(!E.isString())return;let P;let R,L=E.string;switch(v.arguments.length){case 1:if(v.arguments[0].type==="SpreadElement")return;P=this.evaluateExpression(v.arguments[0]);if(!P.isNumber())return;R=L[k](P.number);break;case 2:{if(v.arguments[0].type==="SpreadElement")return;if(v.arguments[1].type==="SpreadElement")return;P=this.evaluateExpression(v.arguments[0]);const E=this.evaluateExpression(v.arguments[1]);if(!P.isNumber())return;if(!E.isNumber())return;R=L[k](P.number,E.number);break}default:return}return(new ye).setString(R).setSideEffects(E.couldHaveSideEffects()).setRange(v.range)}))}));const getSimplifiedTemplateResult=(k,v)=>{const E=[];const P=[];for(let R=0;R0){const k=P[P.length-1];const E=this.evaluateExpression(v.expressions[R-1]);const q=E.asString();if(typeof q==="string"&&!E.couldHaveSideEffects()){k.setString(k.string+q+N);k.setRange([k.range[0],L.range[1]]);k.setExpression(undefined);continue}P.push(E)}const q=(new ye).setString(N).setRange(L.range).setExpression(L);E.push(q);P.push(q)}return{quasis:E,parts:P}};this.hooks.evaluate.for("TemplateLiteral").tap("JavascriptParser",(k=>{const v=k;const{quasis:E,parts:P}=getSimplifiedTemplateResult("cooked",v);if(P.length===1){return P[0].setRange(v.range)}return(new ye).setTemplateString(E,P,"cooked").setRange(v.range)}));this.hooks.evaluate.for("TaggedTemplateExpression").tap("JavascriptParser",(k=>{const v=k;const E=this.evaluateExpression(v.tag);if(E.isIdentifier()&&E.identifier==="String.raw"){const{quasis:k,parts:E}=getSimplifiedTemplateResult("raw",v.quasi);return(new ye).setTemplateString(k,E,"raw").setRange(v.range)}}));this.hooks.evaluateCallExpressionMember.for("concat").tap("JavascriptParser",((k,v)=>{if(!v.isString()&&!v.isWrapped())return;let E=null;let P=false;const R=[];for(let v=k.arguments.length-1;v>=0;v--){const L=k.arguments[v];if(L.type==="SpreadElement")return;const N=this.evaluateExpression(L);if(P||!N.isString()&&!N.isNumber()){P=true;R.push(N);continue}const q=N.isString()?N.string:""+N.number;const ae=q+(E?E.string:"");const le=[N.range[0],(E||N).range[1]];E=(new ye).setString(ae).setSideEffects(E&&E.couldHaveSideEffects()||N.couldHaveSideEffects()).setRange(le)}if(P){const P=v.isString()?v:v.prefix;const L=v.isWrapped()&&v.wrappedInnerExpressions?v.wrappedInnerExpressions.concat(R.reverse()):R.reverse();return(new ye).setWrapped(P,E,L).setRange(k.range)}else if(v.isWrapped()){const P=E||v.postfix;const L=v.wrappedInnerExpressions?v.wrappedInnerExpressions.concat(R.reverse()):R.reverse();return(new ye).setWrapped(v.prefix,P,L).setRange(k.range)}else{const P=v.string+(E?E.string:"");return(new ye).setString(P).setSideEffects(E&&E.couldHaveSideEffects()||v.couldHaveSideEffects()).setRange(k.range)}}));this.hooks.evaluateCallExpressionMember.for("split").tap("JavascriptParser",((k,v)=>{if(!v.isString())return;if(k.arguments.length!==1)return;if(k.arguments[0].type==="SpreadElement")return;let E;const P=this.evaluateExpression(k.arguments[0]);if(P.isString()){E=v.string.split(P.string)}else if(P.isRegExp()){E=v.string.split(P.regExp)}else{return}return(new ye).setArray(E).setSideEffects(v.couldHaveSideEffects()).setRange(k.range)}));this.hooks.evaluate.for("ConditionalExpression").tap("JavascriptParser",(k=>{const v=k;const E=this.evaluateExpression(v.test);const P=E.asBool();let R;if(P===undefined){const k=this.evaluateExpression(v.consequent);const E=this.evaluateExpression(v.alternate);R=new ye;if(k.isConditional()){R.setOptions(k.options)}else{R.setOptions([k])}if(E.isConditional()){R.addOptions(E.options)}else{R.addOptions([E])}}else{R=this.evaluateExpression(P?v.consequent:v.alternate);if(E.couldHaveSideEffects())R.setSideEffects()}R.setRange(v.range);return R}));this.hooks.evaluate.for("ArrayExpression").tap("JavascriptParser",(k=>{const v=k;const E=v.elements.map((k=>k!==null&&k.type!=="SpreadElement"&&this.evaluateExpression(k)));if(!E.every(Boolean))return;return(new ye).setItems(E).setRange(v.range)}));this.hooks.evaluate.for("ChainExpression").tap("JavascriptParser",(k=>{const v=k;const E=[];let P=v.expression;while(P.type==="MemberExpression"||P.type==="CallExpression"){if(P.type==="MemberExpression"){if(P.optional){E.push(P.object)}P=P.object}else{if(P.optional){E.push(P.callee)}P=P.callee}}while(E.length>0){const v=E.pop();const P=this.evaluateExpression(v);if(P.asNullish()){return P.setRange(k.range)}}return this.evaluateExpression(v.expression)}))}destructuringAssignmentPropertiesFor(k){if(!this.destructuringAssignmentProperties)return undefined;return this.destructuringAssignmentProperties.get(k)}getRenameIdentifier(k){const v=this.evaluateExpression(k);if(v.isIdentifier()){return v.identifier}}walkClass(k){if(k.superClass){if(!this.hooks.classExtendsExpression.call(k.superClass,k)){this.walkExpression(k.superClass)}}if(k.body&&k.body.type==="ClassBody"){const v=[];if(k.id){v.push(k.id)}this.inClassScope(true,v,(()=>{for(const v of k.body.body){if(!this.hooks.classBodyElement.call(v,k)){if(v.computed&&v.key){this.walkExpression(v.key)}if(v.value){if(!this.hooks.classBodyValue.call(v.value,v,k)){const k=this.scope.topLevelScope;this.scope.topLevelScope=false;this.walkExpression(v.value);this.scope.topLevelScope=k}}else if(v.type==="StaticBlock"){const k=this.scope.topLevelScope;this.scope.topLevelScope=false;this.walkBlockStatement(v);this.scope.topLevelScope=k}}}}))}}preWalkStatements(k){for(let v=0,E=k.length;v{const v=k.body;const E=this.prevStatement;this.blockPreWalkStatements(v);this.prevStatement=E;this.walkStatements(v)}))}walkExpressionStatement(k){this.walkExpression(k.expression)}preWalkIfStatement(k){this.preWalkStatement(k.consequent);if(k.alternate){this.preWalkStatement(k.alternate)}}walkIfStatement(k){const v=this.hooks.statementIf.call(k);if(v===undefined){this.walkExpression(k.test);this.walkNestedStatement(k.consequent);if(k.alternate){this.walkNestedStatement(k.alternate)}}else{if(v){this.walkNestedStatement(k.consequent)}else if(k.alternate){this.walkNestedStatement(k.alternate)}}}preWalkLabeledStatement(k){this.preWalkStatement(k.body)}walkLabeledStatement(k){const v=this.hooks.label.get(k.label.name);if(v!==undefined){const E=v.call(k);if(E===true)return}this.walkNestedStatement(k.body)}preWalkWithStatement(k){this.preWalkStatement(k.body)}walkWithStatement(k){this.walkExpression(k.object);this.walkNestedStatement(k.body)}preWalkSwitchStatement(k){this.preWalkSwitchCases(k.cases)}walkSwitchStatement(k){this.walkExpression(k.discriminant);this.walkSwitchCases(k.cases)}walkTerminatingStatement(k){if(k.argument)this.walkExpression(k.argument)}walkReturnStatement(k){this.walkTerminatingStatement(k)}walkThrowStatement(k){this.walkTerminatingStatement(k)}preWalkTryStatement(k){this.preWalkStatement(k.block);if(k.handler)this.preWalkCatchClause(k.handler);if(k.finalizer)this.preWalkStatement(k.finalizer)}walkTryStatement(k){if(this.scope.inTry){this.walkStatement(k.block)}else{this.scope.inTry=true;this.walkStatement(k.block);this.scope.inTry=false}if(k.handler)this.walkCatchClause(k.handler);if(k.finalizer)this.walkStatement(k.finalizer)}preWalkWhileStatement(k){this.preWalkStatement(k.body)}walkWhileStatement(k){this.walkExpression(k.test);this.walkNestedStatement(k.body)}preWalkDoWhileStatement(k){this.preWalkStatement(k.body)}walkDoWhileStatement(k){this.walkNestedStatement(k.body);this.walkExpression(k.test)}preWalkForStatement(k){if(k.init){if(k.init.type==="VariableDeclaration"){this.preWalkStatement(k.init)}}this.preWalkStatement(k.body)}walkForStatement(k){this.inBlockScope((()=>{if(k.init){if(k.init.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(k.init);this.prevStatement=undefined;this.walkStatement(k.init)}else{this.walkExpression(k.init)}}if(k.test){this.walkExpression(k.test)}if(k.update){this.walkExpression(k.update)}const v=k.body;if(v.type==="BlockStatement"){const k=this.prevStatement;this.blockPreWalkStatements(v.body);this.prevStatement=k;this.walkStatements(v.body)}else{this.walkNestedStatement(v)}}))}preWalkForInStatement(k){if(k.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(k.left)}this.preWalkStatement(k.body)}walkForInStatement(k){this.inBlockScope((()=>{if(k.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(k.left);this.walkVariableDeclaration(k.left)}else{this.walkPattern(k.left)}this.walkExpression(k.right);const v=k.body;if(v.type==="BlockStatement"){const k=this.prevStatement;this.blockPreWalkStatements(v.body);this.prevStatement=k;this.walkStatements(v.body)}else{this.walkNestedStatement(v)}}))}preWalkForOfStatement(k){if(k.await&&this.scope.topLevelScope===true){this.hooks.topLevelAwait.call(k)}if(k.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(k.left)}this.preWalkStatement(k.body)}walkForOfStatement(k){this.inBlockScope((()=>{if(k.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(k.left);this.walkVariableDeclaration(k.left)}else{this.walkPattern(k.left)}this.walkExpression(k.right);const v=k.body;if(v.type==="BlockStatement"){const k=this.prevStatement;this.blockPreWalkStatements(v.body);this.prevStatement=k;this.walkStatements(v.body)}else{this.walkNestedStatement(v)}}))}preWalkFunctionDeclaration(k){if(k.id){this.defineVariable(k.id.name)}}walkFunctionDeclaration(k){const v=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,k.params,(()=>{for(const v of k.params){this.walkPattern(v)}if(k.body.type==="BlockStatement"){this.detectMode(k.body.body);const v=this.prevStatement;this.preWalkStatement(k.body);this.prevStatement=v;this.walkStatement(k.body)}else{this.walkExpression(k.body)}}));this.scope.topLevelScope=v}blockPreWalkExpressionStatement(k){const v=k.expression;switch(v.type){case"AssignmentExpression":this.preWalkAssignmentExpression(v)}}preWalkAssignmentExpression(k){if(k.left.type!=="ObjectPattern"||!this.destructuringAssignmentProperties)return;const v=this._preWalkObjectPattern(k.left);if(!v)return;if(this.destructuringAssignmentProperties.has(k)){const E=this.destructuringAssignmentProperties.get(k);this.destructuringAssignmentProperties.delete(k);for(const k of E)v.add(k)}this.destructuringAssignmentProperties.set(k.right.type==="AwaitExpression"?k.right.argument:k.right,v);if(k.right.type==="AssignmentExpression"){this.preWalkAssignmentExpression(k.right)}}blockPreWalkImportDeclaration(k){const v=k.source.value;this.hooks.import.call(k,v);for(const E of k.specifiers){const P=E.local.name;switch(E.type){case"ImportDefaultSpecifier":if(!this.hooks.importSpecifier.call(k,v,"default",P)){this.defineVariable(P)}break;case"ImportSpecifier":if(!this.hooks.importSpecifier.call(k,v,E.imported.name||E.imported.value,P)){this.defineVariable(P)}break;case"ImportNamespaceSpecifier":if(!this.hooks.importSpecifier.call(k,v,null,P)){this.defineVariable(P)}break;default:this.defineVariable(P)}}}enterDeclaration(k,v){switch(k.type){case"VariableDeclaration":for(const E of k.declarations){switch(E.type){case"VariableDeclarator":{this.enterPattern(E.id,v);break}}}break;case"FunctionDeclaration":this.enterPattern(k.id,v);break;case"ClassDeclaration":this.enterPattern(k.id,v);break}}blockPreWalkExportNamedDeclaration(k){let v;if(k.source){v=k.source.value;this.hooks.exportImport.call(k,v)}else{this.hooks.export.call(k)}if(k.declaration){if(!this.hooks.exportDeclaration.call(k,k.declaration)){const v=this.prevStatement;this.preWalkStatement(k.declaration);this.prevStatement=v;this.blockPreWalkStatement(k.declaration);let E=0;this.enterDeclaration(k.declaration,(v=>{this.hooks.exportSpecifier.call(k,v,v,E++)}))}}if(k.specifiers){for(let E=0;E{let P=v.get(k);if(P===undefined||!P.call(E)){P=this.hooks.varDeclaration.get(k);if(P===undefined||!P.call(E)){this.defineVariable(k)}}}))}break}}}}_preWalkObjectPattern(k){const v=new Set;const E=k.properties;for(let k=0;k{const v=k.length;for(let E=0;E0){const k=this.prevStatement;this.blockPreWalkStatements(v.consequent);this.prevStatement=k}}for(let E=0;E0){this.walkStatements(v.consequent)}}}))}preWalkCatchClause(k){this.preWalkStatement(k.body)}walkCatchClause(k){this.inBlockScope((()=>{if(k.param!==null){this.enterPattern(k.param,(k=>{this.defineVariable(k)}));this.walkPattern(k.param)}const v=this.prevStatement;this.blockPreWalkStatement(k.body);this.prevStatement=v;this.walkStatement(k.body)}))}walkPattern(k){switch(k.type){case"ArrayPattern":this.walkArrayPattern(k);break;case"AssignmentPattern":this.walkAssignmentPattern(k);break;case"MemberExpression":this.walkMemberExpression(k);break;case"ObjectPattern":this.walkObjectPattern(k);break;case"RestElement":this.walkRestElement(k);break}}walkAssignmentPattern(k){this.walkExpression(k.right);this.walkPattern(k.left)}walkObjectPattern(k){for(let v=0,E=k.properties.length;v{for(const v of k.params){this.walkPattern(v)}if(k.body.type==="BlockStatement"){this.detectMode(k.body.body);const v=this.prevStatement;this.preWalkStatement(k.body);this.prevStatement=v;this.walkStatement(k.body)}else{this.walkExpression(k.body)}}));this.scope.topLevelScope=v}walkArrowFunctionExpression(k){const v=this.scope.topLevelScope;this.scope.topLevelScope=v?"arrow":false;this.inFunctionScope(false,k.params,(()=>{for(const v of k.params){this.walkPattern(v)}if(k.body.type==="BlockStatement"){this.detectMode(k.body.body);const v=this.prevStatement;this.preWalkStatement(k.body);this.prevStatement=v;this.walkStatement(k.body)}else{this.walkExpression(k.body)}}));this.scope.topLevelScope=v}walkSequenceExpression(k){if(!k.expressions)return;const v=this.statementPath[this.statementPath.length-1];if(v===k||v.type==="ExpressionStatement"&&v.expression===k){const v=this.statementPath.pop();for(const v of k.expressions){this.statementPath.push(v);this.walkExpression(v);this.statementPath.pop()}this.statementPath.push(v)}else{this.walkExpressions(k.expressions)}}walkUpdateExpression(k){this.walkExpression(k.argument)}walkUnaryExpression(k){if(k.operator==="typeof"){const v=this.callHooksForExpression(this.hooks.typeof,k.argument,k);if(v===true)return;if(k.argument.type==="ChainExpression"){const v=this.callHooksForExpression(this.hooks.typeof,k.argument.expression,k);if(v===true)return}}this.walkExpression(k.argument)}walkLeftRightExpression(k){this.walkExpression(k.left);this.walkExpression(k.right)}walkBinaryExpression(k){if(this.hooks.binaryExpression.call(k)===undefined){this.walkLeftRightExpression(k)}}walkLogicalExpression(k){const v=this.hooks.expressionLogicalOperator.call(k);if(v===undefined){this.walkLeftRightExpression(k)}else{if(v){this.walkExpression(k.right)}}}walkAssignmentExpression(k){if(k.left.type==="Identifier"){const v=this.getRenameIdentifier(k.right);if(v){if(this.callHooksForInfo(this.hooks.canRename,v,k.right)){if(!this.callHooksForInfo(this.hooks.rename,v,k.right)){this.setVariable(k.left.name,typeof v==="string"?this.getVariableInfo(v):v)}return}}this.walkExpression(k.right);this.enterPattern(k.left,((v,E)=>{if(!this.callHooksForName(this.hooks.assign,v,k)){this.walkExpression(k.left)}}));return}if(k.left.type.endsWith("Pattern")){this.walkExpression(k.right);this.enterPattern(k.left,((v,E)=>{if(!this.callHooksForName(this.hooks.assign,v,k)){this.defineVariable(v)}}));this.walkPattern(k.left)}else if(k.left.type==="MemberExpression"){const v=this.getMemberExpressionInfo(k.left,Me);if(v){if(this.callHooksForInfo(this.hooks.assignMemberChain,v.rootInfo,k,v.getMembers())){return}}this.walkExpression(k.right);this.walkExpression(k.left)}else{this.walkExpression(k.right);this.walkExpression(k.left)}}walkConditionalExpression(k){const v=this.hooks.expressionConditionalOperator.call(k);if(v===undefined){this.walkExpression(k.test);this.walkExpression(k.consequent);if(k.alternate){this.walkExpression(k.alternate)}}else{if(v){this.walkExpression(k.consequent)}else if(k.alternate){this.walkExpression(k.alternate)}}}walkNewExpression(k){const v=this.callHooksForExpression(this.hooks.new,k.callee,k);if(v===true)return;this.walkExpression(k.callee);if(k.arguments){this.walkExpressions(k.arguments)}}walkYieldExpression(k){if(k.argument){this.walkExpression(k.argument)}}walkTemplateLiteral(k){if(k.expressions){this.walkExpressions(k.expressions)}}walkTaggedTemplateExpression(k){if(k.tag){this.walkExpression(k.tag)}if(k.quasi&&k.quasi.expressions){this.walkExpressions(k.quasi.expressions)}}walkClassExpression(k){this.walkClass(k)}walkChainExpression(k){const v=this.hooks.optionalChaining.call(k);if(v===undefined){if(k.expression.type==="CallExpression"){this.walkCallExpression(k.expression)}else{this.walkMemberExpression(k.expression)}}}_walkIIFE(k,v,E){const getVarInfo=k=>{const v=this.getRenameIdentifier(k);if(v){if(this.callHooksForInfo(this.hooks.canRename,v,k)){if(!this.callHooksForInfo(this.hooks.rename,v,k)){return typeof v==="string"?this.getVariableInfo(v):v}}}this.walkExpression(k)};const{params:P,type:R}=k;const L=R==="ArrowFunctionExpression";const N=E?getVarInfo(E):null;const q=v.map(getVarInfo);const ae=this.scope.topLevelScope;this.scope.topLevelScope=ae&&L?"arrow":false;const le=P.filter(((k,v)=>!q[v]));if(k.id){le.push(k.id.name)}this.inFunctionScope(true,le,(()=>{if(N&&!L){this.setVariable("this",N)}for(let k=0;kk.params.every((k=>k.type==="Identifier"));if(k.callee.type==="MemberExpression"&&k.callee.object.type.endsWith("FunctionExpression")&&!k.callee.computed&&(k.callee.property.name==="call"||k.callee.property.name==="bind")&&k.arguments.length>0&&isSimpleFunction(k.callee.object)){this._walkIIFE(k.callee.object,k.arguments.slice(1),k.arguments[0])}else if(k.callee.type.endsWith("FunctionExpression")&&isSimpleFunction(k.callee)){this._walkIIFE(k.callee,k.arguments,null)}else{if(k.callee.type==="MemberExpression"){const v=this.getMemberExpressionInfo(k.callee,Ie);if(v&&v.type==="call"){const E=this.callHooksForInfo(this.hooks.callMemberChainOfCallMemberChain,v.rootInfo,k,v.getCalleeMembers(),v.call,v.getMembers());if(E===true)return}}const v=this.evaluateExpression(k.callee);if(v.isIdentifier()){const E=this.callHooksForInfo(this.hooks.callMemberChain,v.rootInfo,k,v.getMembers(),v.getMembersOptionals?v.getMembersOptionals():v.getMembers().map((()=>false)),v.getMemberRanges?v.getMemberRanges():[]);if(E===true)return;const P=this.callHooksForInfo(this.hooks.call,v.identifier,k);if(P===true)return}if(k.callee){if(k.callee.type==="MemberExpression"){this.walkExpression(k.callee.object);if(k.callee.computed===true)this.walkExpression(k.callee.property)}else{this.walkExpression(k.callee)}}if(k.arguments)this.walkExpressions(k.arguments)}}walkMemberExpression(k){const v=this.getMemberExpressionInfo(k,Te);if(v){switch(v.type){case"expression":{const E=this.callHooksForInfo(this.hooks.expression,v.name,k);if(E===true)return;const P=v.getMembers();const R=v.getMembersOptionals();const L=v.getMemberRanges();const N=this.callHooksForInfo(this.hooks.expressionMemberChain,v.rootInfo,k,P,R,L);if(N===true)return;this.walkMemberExpressionWithExpressionName(k,v.name,v.rootInfo,P.slice(),(()=>this.callHooksForInfo(this.hooks.unhandledExpressionMemberChain,v.rootInfo,k,P)));return}case"call":{const E=this.callHooksForInfo(this.hooks.memberChainOfCallMemberChain,v.rootInfo,k,v.getCalleeMembers(),v.call,v.getMembers());if(E===true)return;this.walkExpression(v.call);return}}}this.walkExpression(k.object);if(k.computed===true)this.walkExpression(k.property)}walkMemberExpressionWithExpressionName(k,v,E,P,R){if(k.object.type==="MemberExpression"){const L=k.property.name||`${k.property.value}`;v=v.slice(0,-L.length-1);P.pop();const N=this.callHooksForInfo(this.hooks.expression,v,k.object);if(N===true)return;this.walkMemberExpressionWithExpressionName(k.object,v,E,P,R)}else if(!R||!R()){this.walkExpression(k.object)}if(k.computed===true)this.walkExpression(k.property)}walkThisExpression(k){this.callHooksForName(this.hooks.expression,"this",k)}walkIdentifier(k){this.callHooksForName(this.hooks.expression,k.name,k)}walkMetaProperty(k){this.hooks.expression.for(getRootName(k)).call(k)}callHooksForExpression(k,v,...E){return this.callHooksForExpressionWithFallback(k,v,undefined,undefined,...E)}callHooksForExpressionWithFallback(k,v,E,P,...R){const L=this.getMemberExpressionInfo(v,Me);if(L!==undefined){const v=L.getMembers();return this.callHooksForInfoWithFallback(k,v.length===0?L.rootInfo:L.name,E&&(k=>E(k,L.rootInfo,L.getMembers)),P&&(()=>P(L.name)),...R)}}callHooksForName(k,v,...E){return this.callHooksForNameWithFallback(k,v,undefined,undefined,...E)}callHooksForInfo(k,v,...E){return this.callHooksForInfoWithFallback(k,v,undefined,undefined,...E)}callHooksForInfoWithFallback(k,v,E,P,...R){let L;if(typeof v==="string"){L=v}else{if(!(v instanceof VariableInfo)){if(P!==undefined){return P()}return}let E=v.tagInfo;while(E!==undefined){const v=k.get(E.tag);if(v!==undefined){this.currentTagData=E.data;const k=v.call(...R);this.currentTagData=undefined;if(k!==undefined)return k}E=E.next}if(v.freeName===true){if(P!==undefined){return P()}return}L=v.freeName}const N=k.get(L);if(N!==undefined){const k=N.call(...R);if(k!==undefined)return k}if(E!==undefined){return E(L)}}callHooksForNameWithFallback(k,v,E,P,...R){return this.callHooksForInfoWithFallback(k,this.getVariableInfo(v),E,P,...R)}inScope(k,v){const E=this.scope;this.scope={topLevelScope:E.topLevelScope,inTry:false,inShorthand:false,isStrict:E.isStrict,isAsmJs:E.isAsmJs,definitions:E.definitions.createChild()};this.undefineVariable("this");this.enterPatterns(k,((k,v)=>{this.defineVariable(k)}));v();this.scope=E}inClassScope(k,v,E){const P=this.scope;this.scope={topLevelScope:P.topLevelScope,inTry:false,inShorthand:false,isStrict:P.isStrict,isAsmJs:P.isAsmJs,definitions:P.definitions.createChild()};if(k){this.undefineVariable("this")}this.enterPatterns(v,((k,v)=>{this.defineVariable(k)}));E();this.scope=P}inFunctionScope(k,v,E){const P=this.scope;this.scope={topLevelScope:P.topLevelScope,inTry:false,inShorthand:false,isStrict:P.isStrict,isAsmJs:P.isAsmJs,definitions:P.definitions.createChild()};if(k){this.undefineVariable("this")}this.enterPatterns(v,((k,v)=>{this.defineVariable(k)}));E();this.scope=P}inBlockScope(k){const v=this.scope;this.scope={topLevelScope:v.topLevelScope,inTry:v.inTry,inShorthand:false,isStrict:v.isStrict,isAsmJs:v.isAsmJs,definitions:v.definitions.createChild()};k();this.scope=v}detectMode(k){const v=k.length>=1&&k[0].type==="ExpressionStatement"&&k[0].expression.type==="Literal";if(v&&k[0].expression.value==="use strict"){this.scope.isStrict=true}if(v&&k[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(k,v){for(const E of k){if(typeof E!=="string"){this.enterPattern(E,v)}else if(E){v(E)}}}enterPattern(k,v){if(!k)return;switch(k.type){case"ArrayPattern":this.enterArrayPattern(k,v);break;case"AssignmentPattern":this.enterAssignmentPattern(k,v);break;case"Identifier":this.enterIdentifier(k,v);break;case"ObjectPattern":this.enterObjectPattern(k,v);break;case"RestElement":this.enterRestElement(k,v);break;case"Property":if(k.shorthand&&k.value.type==="Identifier"){this.scope.inShorthand=k.value.name;this.enterIdentifier(k.value,v);this.scope.inShorthand=false}else{this.enterPattern(k.value,v)}break}}enterIdentifier(k,v){if(!this.callHooksForName(this.hooks.pattern,k.name,k)){v(k.name,k)}}enterObjectPattern(k,v){for(let E=0,P=k.properties.length;ER.add(k)})}const L=this.scope;const N=this.state;const q=this.comments;const ae=this.semicolons;const pe=this.statementPath;const me=this.prevStatement;this.scope={topLevelScope:true,inTry:false,inShorthand:false,isStrict:false,isAsmJs:false,definitions:new le};this.state=v;this.comments=P;this.semicolons=R;this.statementPath=[];this.prevStatement=undefined;if(this.hooks.program.call(E,P)===undefined){this.destructuringAssignmentProperties=new WeakMap;this.detectMode(E.body);this.preWalkStatements(E.body);this.prevStatement=undefined;this.blockPreWalkStatements(E.body);this.prevStatement=undefined;this.walkStatements(E.body);this.destructuringAssignmentProperties=undefined}this.hooks.finish.call(E,P);this.scope=L;this.state=N;this.comments=q;this.semicolons=ae;this.statementPath=pe;this.prevStatement=me;return v}evaluate(k){const v=JavascriptParser._parse("("+k+")",{sourceType:this.sourceType,locations:false});if(v.body.length!==1||v.body[0].type!=="ExpressionStatement"){throw new Error("evaluate: Source is not a expression")}return this.evaluateExpression(v.body[0].expression)}isPure(k,v){if(!k)return true;const E=this.hooks.isPure.for(k.type).call(k,v);if(typeof E==="boolean")return E;switch(k.type){case"ClassDeclaration":case"ClassExpression":{if(k.body.type!=="ClassBody")return false;if(k.superClass&&!this.isPure(k.superClass,k.range[0])){return false}const v=k.body.body;return v.every((k=>{if(k.computed&&k.key&&!this.isPure(k.key,k.range[0])){return false}if(k.static&&k.value&&!this.isPure(k.value,k.key?k.key.range[1]:k.range[0])){return false}if(k.type==="StaticBlock"){return false}return true}))}case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ThisExpression":case"Literal":case"TemplateLiteral":case"Identifier":case"PrivateIdentifier":return true;case"VariableDeclaration":return k.declarations.every((k=>this.isPure(k.init,k.range[0])));case"ConditionalExpression":return this.isPure(k.test,v)&&this.isPure(k.consequent,k.test.range[1])&&this.isPure(k.alternate,k.consequent.range[1]);case"LogicalExpression":return this.isPure(k.left,v)&&this.isPure(k.right,k.left.range[1]);case"SequenceExpression":return k.expressions.every((k=>{const E=this.isPure(k,v);v=k.range[1];return E}));case"CallExpression":{const E=k.range[0]-v>12&&this.getComments([v,k.range[0]]).some((k=>k.type==="Block"&&/^\s*(#|@)__PURE__\s*$/.test(k.value)));if(!E)return false;v=k.callee.range[1];return k.arguments.every((k=>{if(k.type==="SpreadElement")return false;const E=this.isPure(k,v);v=k.range[1];return E}))}}const P=this.evaluateExpression(k);return!P.couldHaveSideEffects()}getComments(k){const[v,E]=k;const compare=(k,v)=>k.range[0]-v;let P=pe.ge(this.comments,v,compare);let R=[];while(this.comments[P]&&this.comments[P].range[1]<=E){R.push(this.comments[P]);P++}return R}isAsiPosition(k){const v=this.statementPath[this.statementPath.length-1];if(v===undefined)throw new Error("Not in statement");return v.range[1]===k&&this.semicolons.has(k)||v.range[0]===k&&this.prevStatement!==undefined&&this.semicolons.has(this.prevStatement.range[1])}unsetAsiPosition(k){this.semicolons.delete(k)}isStatementLevelExpression(k){const v=this.statementPath[this.statementPath.length-1];return k===v||v.type==="ExpressionStatement"&&v.expression===k}getTagData(k,v){const E=this.scope.definitions.get(k);if(E instanceof VariableInfo){let k=E.tagInfo;while(k!==undefined){if(k.tag===v)return k.data;k=k.next}}}tagVariable(k,v,E){const P=this.scope.definitions.get(k);let R;if(P===undefined){R=new VariableInfo(this.scope,k,{tag:v,data:E,next:undefined})}else if(P instanceof VariableInfo){R=new VariableInfo(P.declaredScope,P.freeName,{tag:v,data:E,next:P.tagInfo})}else{R=new VariableInfo(P,true,{tag:v,data:E,next:undefined})}this.scope.definitions.set(k,R)}defineVariable(k){const v=this.scope.definitions.get(k);if(v instanceof VariableInfo&&v.declaredScope===this.scope)return;this.scope.definitions.set(k,this.scope)}undefineVariable(k){this.scope.definitions.delete(k)}isVariableDefined(k){const v=this.scope.definitions.get(k);if(v===undefined)return false;if(v instanceof VariableInfo){return v.freeName===true}return true}getVariableInfo(k){const v=this.scope.definitions.get(k);if(v===undefined){return k}else{return v}}setVariable(k,v){if(typeof v==="string"){if(v===k){this.scope.definitions.delete(k)}else{this.scope.definitions.set(k,new VariableInfo(this.scope,v,undefined))}}else{this.scope.definitions.set(k,v)}}evaluatedVariable(k){return new VariableInfo(this.scope,undefined,k)}parseCommentOptions(k){const v=this.getComments(k);if(v.length===0){return qe}let E={};let P=[];for(const k of v){const{value:v}=k;if(v&&Be.test(v)){try{for(let[k,P]of Object.entries(q.runInNewContext(`(function(){return {${v}};})()`))){if(typeof P==="object"&&P!==null){if(P.constructor.name==="RegExp")P=new RegExp(P);else P=JSON.parse(JSON.stringify(P))}E[k]=P}}catch(v){const E=new Error(String(v.message));E.stack=String(v.stack);Object.assign(E,{comment:k});P.push(E)}}}return{options:E,errors:P}}extractMemberExpressionChain(k){let v=k;const E=[];const P=[];const R=[];while(v.type==="MemberExpression"){if(v.computed){if(v.property.type!=="Literal")break;E.push(`${v.property.value}`);R.push(v.object.range)}else{if(v.property.type!=="Identifier")break;E.push(v.property.name);R.push(v.object.range)}P.push(v.optional);v=v.object}return{members:E,membersOptionals:P,memberRanges:R,object:v}}getFreeInfoFromVariable(k){const v=this.getVariableInfo(k);let E;if(v instanceof VariableInfo){E=v.freeName;if(typeof E!=="string")return undefined}else if(typeof v!=="string"){return undefined}else{E=v}return{info:v,name:E}}getMemberExpressionInfo(k,v){const{object:E,members:P,membersOptionals:R,memberRanges:L}=this.extractMemberExpressionChain(k);switch(E.type){case"CallExpression":{if((v&Ie)===0)return undefined;let k=E.callee;let N=_e;if(k.type==="MemberExpression"){({object:k,members:N}=this.extractMemberExpressionChain(k))}const q=getRootName(k);if(!q)return undefined;const ae=this.getFreeInfoFromVariable(q);if(!ae)return undefined;const{info:le,name:pe}=ae;const ye=objectAndMembersToName(pe,N);return{type:"call",call:E,calleeName:ye,rootInfo:le,getCalleeMembers:me((()=>N.reverse())),name:objectAndMembersToName(`${ye}()`,P),getMembers:me((()=>P.reverse())),getMembersOptionals:me((()=>R.reverse())),getMemberRanges:me((()=>L.reverse()))}}case"Identifier":case"MetaProperty":case"ThisExpression":{if((v&Me)===0)return undefined;const k=getRootName(E);if(!k)return undefined;const N=this.getFreeInfoFromVariable(k);if(!N)return undefined;const{info:q,name:ae}=N;return{type:"expression",name:objectAndMembersToName(ae,P),rootInfo:q,getMembers:me((()=>P.reverse())),getMembersOptionals:me((()=>R.reverse())),getMemberRanges:me((()=>L.reverse()))}}}}getNameForExpression(k){return this.getMemberExpressionInfo(k,Me)}static _parse(k,v){const E=v?v.sourceType:"module";const P={...Ne,allowReturnOutsideFunction:E==="script",...v,sourceType:E==="auto"?"module":E};let R;let L;let N=false;try{R=je.parse(k,P)}catch(k){L=k;N=true}if(N&&E==="auto"){P.sourceType="script";if(!("allowReturnOutsideFunction"in v)){P.allowReturnOutsideFunction=true}if(Array.isArray(P.onComment)){P.onComment.length=0}try{R=je.parse(k,P);N=false}catch(k){}}if(N){throw L}return R}}k.exports=JavascriptParser;k.exports.ALLOWED_MEMBER_TYPES_ALL=Te;k.exports.ALLOWED_MEMBER_TYPES_EXPRESSION=Me;k.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION=Ie},80784:function(k,v,E){"use strict";const P=E(9415);const R=E(60381);const L=E(70037);v.toConstantDependency=(k,v,E)=>function constDependency(P){const L=new R(v,P.range,E);L.loc=P.loc;k.state.module.addPresentationalDependency(L);return true};v.evaluateToString=k=>function stringExpression(v){return(new L).setString(k).setRange(v.range)};v.evaluateToNumber=k=>function stringExpression(v){return(new L).setNumber(k).setRange(v.range)};v.evaluateToBoolean=k=>function booleanExpression(v){return(new L).setBoolean(k).setRange(v.range)};v.evaluateToIdentifier=(k,v,E,P)=>function identifierExpression(R){let N=(new L).setIdentifier(k,v,E).setSideEffects(false).setRange(R.range);switch(P){case true:N.setTruthy();break;case null:N.setNullish(true);break;case false:N.setFalsy();break}return N};v.expressionIsUnsupported=(k,v)=>function unsupportedExpression(E){const L=new R("(void 0)",E.range,null);L.loc=E.loc;k.state.module.addPresentationalDependency(L);if(!k.state.module)return;k.state.module.addWarning(new P(v,E.loc));return true};v.skipTraversal=()=>true;v.approve=()=>true},73777:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const{isSubset:L}=E(59959);const{getAllChunks:N}=E(72130);const q=`var ${P.exports} = `;v.generateEntryStartup=(k,v,E,ae,le)=>{const pe=[`var __webpack_exec__ = ${v.returningFunction(`${P.require}(${P.entryModuleId} = moduleId)`,"moduleId")}`];const runModule=k=>`__webpack_exec__(${JSON.stringify(k)})`;const outputCombination=(k,E,R)=>{if(k.size===0){pe.push(`${R?q:""}(${E.map(runModule).join(", ")});`)}else{const L=v.returningFunction(E.map(runModule).join(", "));pe.push(`${R&&!le?q:""}${le?P.onChunksLoaded:P.startupEntrypoint}(0, ${JSON.stringify(Array.from(k,(k=>k.id)))}, ${L});`);if(R&&le){pe.push(`${q}${P.onChunksLoaded}();`)}}};let me=undefined;let ye=undefined;for(const[v,P]of E){const E=P.getRuntimeChunk();const R=k.getModuleId(v);const q=N(P,ae,E);if(me&&me.size===q.size&&L(me,q)){ye.push(R)}else{if(me){outputCombination(me,ye)}me=q;ye=[R]}}if(me){outputCombination(me,ye,true)}pe.push("");return R.asString(pe)};v.updateHashForEntryStartup=(k,v,E,P)=>{for(const[R,L]of E){const E=L.getRuntimeChunk();const q=v.getModuleId(R);k.update(`${q}`);for(const v of N(L,P,E))k.update(`${v.id}`)}};v.getInitialChunkIds=(k,v,E)=>{const P=new Set(k.ids);for(const R of k.getAllInitialChunks()){if(R===k||E(R,v))continue;for(const k of R.ids)P.add(k)}return P}},15114:function(k,v,E){"use strict";const{register:P}=E(52456);class JsonData{constructor(k){this._buffer=undefined;this._data=undefined;if(Buffer.isBuffer(k)){this._buffer=k}else{this._data=k}}get(){if(this._data===undefined&&this._buffer!==undefined){this._data=JSON.parse(this._buffer.toString())}return this._data}updateHash(k){if(this._buffer===undefined&&this._data!==undefined){this._buffer=Buffer.from(JSON.stringify(this._data))}if(this._buffer)k.update(this._buffer)}}P(JsonData,"webpack/lib/json/JsonData",null,{serialize(k,{write:v}){if(k._buffer===undefined&&k._data!==undefined){k._buffer=Buffer.from(JSON.stringify(k._data))}v(k._buffer)},deserialize({read:k}){return new JsonData(k())}});k.exports=JsonData},44734:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(91213);const{UsageState:L}=E(11172);const N=E(91597);const q=E(56727);const stringifySafe=k=>{const v=JSON.stringify(k);if(!v){return undefined}return v.replace(/\u2028|\u2029/g,(k=>k==="\u2029"?"\\u2029":"\\u2028"))};const createObjectForExportsInfo=(k,v,E)=>{if(v.otherExportsInfo.getUsed(E)!==L.Unused)return k;const P=Array.isArray(k);const R=P?[]:{};for(const P of Object.keys(k)){const N=v.getReadOnlyExportInfo(P);const q=N.getUsed(E);if(q===L.Unused)continue;let ae;if(q===L.OnlyPropertiesUsed&&N.exportsInfo){ae=createObjectForExportsInfo(k[P],N.exportsInfo,E)}else{ae=k[P]}const le=N.getUsedName(P,E);R[le]=ae}if(P){let P=v.getReadOnlyExportInfo("length").getUsed(E)!==L.Unused?k.length:undefined;let N=0;for(let k=0;k20&&typeof ye==="object"?`JSON.parse('${_e.replace(/[\\']/g,"\\$&")}')`:_e;let Me;if(le){Me=`${E.supportsConst()?"const":"var"} ${R.NAMESPACE_OBJECT_EXPORT} = ${Ie};`;le.registerNamespaceExport(R.NAMESPACE_OBJECT_EXPORT)}else{N.add(q.module);Me=`${k.moduleArgument}.exports = ${Ie};`}return new P(Me)}}k.exports=JsonGenerator},7671:function(k,v,E){"use strict";const{JSON_MODULE_TYPE:P}=E(93622);const R=E(92198);const L=E(44734);const N=E(61117);const q=R(E(57583),(()=>E(40013)),{name:"Json Modules Plugin",baseDataPath:"parser"});const ae="JsonModulesPlugin";class JsonModulesPlugin{apply(k){k.hooks.compilation.tap(ae,((k,{normalModuleFactory:v})=>{v.hooks.createParser.for(P).tap(ae,(k=>{q(k);return new N(k)}));v.hooks.createGenerator.for(P).tap(ae,(()=>new L))}))}}k.exports=JsonModulesPlugin},61117:function(k,v,E){"use strict";const P=E(17381);const R=E(19179);const L=E(20631);const N=E(15114);const q=L((()=>E(54650)));class JsonParser extends P{constructor(k){super();this.options=k||{}}parse(k,v){if(Buffer.isBuffer(k)){k=k.toString("utf-8")}const E=typeof this.options.parse==="function"?this.options.parse:q();let P;try{P=typeof k==="object"?k:E(k[0]==="\ufeff"?k.slice(1):k)}catch(k){throw new Error(`Cannot parse JSON: ${k.message}`)}const L=new N(P);const ae=v.module.buildInfo;ae.jsonData=L;ae.strict=true;const le=v.module.buildMeta;le.exportsType="default";le.defaultObject=typeof P==="object"?"redirect-warn":false;v.module.addDependency(new R(L));return v}}k.exports=JsonParser},15893:function(k,v,E){"use strict";const P=E(56727);const R=E(89168);const L="Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.";class AbstractLibraryPlugin{constructor({pluginName:k,type:v}){this._pluginName=k;this._type=v;this._parseCache=new WeakMap}apply(k){const{_pluginName:v}=this;k.hooks.thisCompilation.tap(v,(k=>{k.hooks.finishModules.tap({name:v,stage:10},(()=>{for(const[v,{dependencies:E,options:{library:P}}]of k.entries){const R=this._parseOptionsCached(P!==undefined?P:k.outputOptions.library);if(R!==false){const P=E[E.length-1];if(P){const E=k.moduleGraph.getModule(P);if(E){this.finishEntryModule(E,v,{options:R,compilation:k,chunkGraph:k.chunkGraph})}}}}}));const getOptionsForChunk=v=>{if(k.chunkGraph.getNumberOfEntryModules(v)===0)return false;const E=v.getEntryOptions();const P=E&&E.library;return this._parseOptionsCached(P!==undefined?P:k.outputOptions.library)};if(this.render!==AbstractLibraryPlugin.prototype.render||this.runtimeRequirements!==AbstractLibraryPlugin.prototype.runtimeRequirements){k.hooks.additionalChunkRuntimeRequirements.tap(v,((v,E,{chunkGraph:P})=>{const R=getOptionsForChunk(v);if(R!==false){this.runtimeRequirements(v,E,{options:R,compilation:k,chunkGraph:P})}}))}const E=R.getCompilationHooks(k);if(this.render!==AbstractLibraryPlugin.prototype.render){E.render.tap(v,((v,E)=>{const P=getOptionsForChunk(E.chunk);if(P===false)return v;return this.render(v,E,{options:P,compilation:k,chunkGraph:k.chunkGraph})}))}if(this.embedInRuntimeBailout!==AbstractLibraryPlugin.prototype.embedInRuntimeBailout){E.embedInRuntimeBailout.tap(v,((v,E)=>{const P=getOptionsForChunk(E.chunk);if(P===false)return;return this.embedInRuntimeBailout(v,E,{options:P,compilation:k,chunkGraph:k.chunkGraph})}))}if(this.strictRuntimeBailout!==AbstractLibraryPlugin.prototype.strictRuntimeBailout){E.strictRuntimeBailout.tap(v,(v=>{const E=getOptionsForChunk(v.chunk);if(E===false)return;return this.strictRuntimeBailout(v,{options:E,compilation:k,chunkGraph:k.chunkGraph})}))}if(this.renderStartup!==AbstractLibraryPlugin.prototype.renderStartup){E.renderStartup.tap(v,((v,E,P)=>{const R=getOptionsForChunk(P.chunk);if(R===false)return v;return this.renderStartup(v,E,P,{options:R,compilation:k,chunkGraph:k.chunkGraph})}))}E.chunkHash.tap(v,((v,E,P)=>{const R=getOptionsForChunk(v);if(R===false)return;this.chunkHash(v,E,P,{options:R,compilation:k,chunkGraph:k.chunkGraph})}))}))}_parseOptionsCached(k){if(!k)return false;if(k.type!==this._type)return false;const v=this._parseCache.get(k);if(v!==undefined)return v;const E=this.parseOptions(k);this._parseCache.set(k,E);return E}parseOptions(k){const v=E(60386);throw new v}finishEntryModule(k,v,E){}embedInRuntimeBailout(k,v,E){return undefined}strictRuntimeBailout(k,v){return undefined}runtimeRequirements(k,v,E){if(this.render!==AbstractLibraryPlugin.prototype.render)v.add(P.returnExportsFromRuntime)}render(k,v,E){return k}renderStartup(k,v,E,P){return k}chunkHash(k,v,E,P){const R=this._parseOptionsCached(P.compilation.outputOptions.library);v.update(this._pluginName);v.update(JSON.stringify(R))}}AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE=L;k.exports=AbstractLibraryPlugin},54035:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const R=E(10849);const L=E(95041);const N=E(15893);class AmdLibraryPlugin extends N{constructor(k){super({pluginName:"AmdLibraryPlugin",type:k.type});this.requireAsWrapper=k.requireAsWrapper}parseOptions(k){const{name:v,amdContainer:E}=k;if(this.requireAsWrapper){if(v){throw new Error(`AMD library name must be unset. ${N.COMMON_LIBRARY_NAME_MESSAGE}`)}}else{if(v&&typeof v!=="string"){throw new Error(`AMD library name must be a simple string or unset. ${N.COMMON_LIBRARY_NAME_MESSAGE}`)}}return{name:v,amdContainer:E}}render(k,{chunkGraph:v,chunk:E,runtimeTemplate:N},{options:q,compilation:ae}){const le=N.supportsArrowFunction();const pe=v.getChunkModules(E).filter((k=>k instanceof R));const me=pe;const ye=JSON.stringify(me.map((k=>typeof k.request==="object"&&!Array.isArray(k.request)?k.request.amd:k.request)));const _e=me.map((k=>`__WEBPACK_EXTERNAL_MODULE_${L.toIdentifier(`${v.getModuleId(k)}`)}__`)).join(", ");const Ie=N.isIIFE();const Me=(le?`(${_e}) => {`:`function(${_e}) {`)+(Ie||!E.hasRuntime()?" return ":"\n");const Te=Ie?";\n}":"\n}";let je="";if(q.amdContainer){je=`${q.amdContainer}.`}if(this.requireAsWrapper){return new P(`${je}require(${ye}, ${Me}`,k,`${Te});`)}else if(q.name){const v=ae.getPath(q.name,{chunk:E});return new P(`${je}define(${JSON.stringify(v)}, ${ye}, ${Me}`,k,`${Te});`)}else if(_e){return new P(`${je}define(${ye}, ${Me}`,k,`${Te});`)}else{return new P(`${je}define(${Me}`,k,`${Te});`)}}chunkHash(k,v,E,{options:P,compilation:R}){v.update("AmdLibraryPlugin");if(this.requireAsWrapper){v.update("requireAsWrapper")}else if(P.name){v.update("named");const E=R.getPath(P.name,{chunk:k});v.update(E)}else if(P.amdContainer){v.update("amdContainer");v.update(P.amdContainer)}}}k.exports=AmdLibraryPlugin},56768:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const{UsageState:R}=E(11172);const L=E(56727);const N=E(95041);const q=E(10720);const{getEntryRuntime:ae}=E(1540);const le=E(15893);const pe=/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;const me=/^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu;const isNameValid=k=>!pe.test(k)&&me.test(k);const accessWithInit=(k,v,E=false)=>{const P=k[0];if(k.length===1&&!E)return P;let R=v>0?P:`(${P} = typeof ${P} === "undefined" ? {} : ${P})`;let L=1;let N;if(v>L){N=k.slice(1,v);L=v;R+=q(N)}else{N=[]}const ae=E?k.length:k.length-1;for(;LE.getPath(k,{chunk:v})))}render(k,{chunk:v},{options:E,compilation:R}){const L=this._getResolvedFullName(E,v,R);if(this.declare){const v=L[0];if(!isNameValid(v)){throw new Error(`Library name base (${v}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${N.toIdentifier(v)}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${le.COMMON_LIBRARY_NAME_MESSAGE}`)}k=new P(`${this.declare} ${v};\n`,k)}return k}embedInRuntimeBailout(k,{chunk:v,codeGenerationResults:E},{options:P,compilation:R}){const{data:L}=E.get(k,v.runtime);const N=L&&L.get("topLevelDeclarations")||k.buildInfo&&k.buildInfo.topLevelDeclarations;if(!N)return"it doesn't tell about top level declarations.";const q=this._getResolvedFullName(P,v,R);const ae=q[0];if(N.has(ae))return`it declares '${ae}' on top-level, which conflicts with the current library output.`}strictRuntimeBailout({chunk:k},{options:v,compilation:E}){if(this.declare||this.prefix==="global"||this.prefix.length>0||!v.name){return}return"a global variable is assign and maybe created"}renderStartup(k,v,{moduleGraph:E,chunk:R},{options:N,compilation:ae}){const le=this._getResolvedFullName(N,R,ae);const pe=this.unnamed==="static";const me=N.export?q(Array.isArray(N.export)?N.export:[N.export]):"";const ye=new P(k);if(pe){const k=E.getExportsInfo(v);const P=accessWithInit(le,this._getPrefix(ae).length,true);for(const v of k.orderedExports){if(!v.provided)continue;const k=q([v.name]);ye.add(`${P}${k} = ${L.exports}${me}${k};\n`)}ye.add(`Object.defineProperty(${P}, "__esModule", { value: true });\n`)}else if(N.name?this.named==="copy":this.unnamed==="copy"){ye.add(`var __webpack_export_target__ = ${accessWithInit(le,this._getPrefix(ae).length,true)};\n`);let k=L.exports;if(me){ye.add(`var __webpack_exports_export__ = ${L.exports}${me};\n`);k="__webpack_exports_export__"}ye.add(`for(var i in ${k}) __webpack_export_target__[i] = ${k}[i];\n`);ye.add(`if(${k}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n`)}else{ye.add(`${accessWithInit(le,this._getPrefix(ae).length,false)} = ${L.exports}${me};\n`)}return ye}runtimeRequirements(k,v,E){}chunkHash(k,v,E,{options:P,compilation:R}){v.update("AssignLibraryPlugin");const L=this._getResolvedFullName(P,k,R);if(P.name?this.named==="copy":this.unnamed==="copy"){v.update("copy")}if(this.declare){v.update(this.declare)}v.update(L.join("."));if(P.export){v.update(`${P.export}`)}}}k.exports=AssignLibraryPlugin},60234:function(k,v,E){"use strict";const P=new WeakMap;const getEnabledTypes=k=>{let v=P.get(k);if(v===undefined){v=new Set;P.set(k,v)}return v};class EnableLibraryPlugin{constructor(k){this.type=k}static setEnabled(k,v){getEnabledTypes(k).add(v)}static checkEnabled(k,v){if(!getEnabledTypes(k).has(v)){throw new Error(`Library type "${v}" 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". '+"These types are enabled: "+Array.from(getEnabledTypes(k)).join(", "))}}apply(k){const{type:v}=this;const P=getEnabledTypes(k);if(P.has(v))return;P.add(v);if(typeof v==="string"){const enableExportProperty=()=>{const P=E(73849);new P({type:v,nsObjectUsed:v!=="module"}).apply(k)};switch(v){case"var":{const P=E(56768);new P({type:v,prefix:[],declare:"var",unnamed:"error"}).apply(k);break}case"assign-properties":{const P=E(56768);new P({type:v,prefix:[],declare:false,unnamed:"error",named:"copy"}).apply(k);break}case"assign":{const P=E(56768);new P({type:v,prefix:[],declare:false,unnamed:"error"}).apply(k);break}case"this":{const P=E(56768);new P({type:v,prefix:["this"],declare:false,unnamed:"copy"}).apply(k);break}case"window":{const P=E(56768);new P({type:v,prefix:["window"],declare:false,unnamed:"copy"}).apply(k);break}case"self":{const P=E(56768);new P({type:v,prefix:["self"],declare:false,unnamed:"copy"}).apply(k);break}case"global":{const P=E(56768);new P({type:v,prefix:"global",declare:false,unnamed:"copy"}).apply(k);break}case"commonjs":{const P=E(56768);new P({type:v,prefix:["exports"],declare:false,unnamed:"copy"}).apply(k);break}case"commonjs-static":{const P=E(56768);new P({type:v,prefix:["exports"],declare:false,unnamed:"static"}).apply(k);break}case"commonjs2":case"commonjs-module":{const P=E(56768);new P({type:v,prefix:["module","exports"],declare:false,unnamed:"assign"}).apply(k);break}case"amd":case"amd-require":{enableExportProperty();const P=E(54035);new P({type:v,requireAsWrapper:v==="amd-require"}).apply(k);break}case"umd":case"umd2":{enableExportProperty();const P=E(52594);new P({type:v,optionalAmdExternalAsGlobal:v==="umd2"}).apply(k);break}case"system":{enableExportProperty();const P=E(51327);new P({type:v}).apply(k);break}case"jsonp":{enableExportProperty();const P=E(94206);new P({type:v}).apply(k);break}case"module":{enableExportProperty();const P=E(65587);new P({type:v}).apply(k);break}default:throw new Error(`Unsupported library type ${v}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}k.exports=EnableLibraryPlugin},73849:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const{UsageState:R}=E(11172);const L=E(56727);const N=E(10720);const{getEntryRuntime:q}=E(1540);const ae=E(15893);class ExportPropertyLibraryPlugin extends ae{constructor({type:k,nsObjectUsed:v}){super({pluginName:"ExportPropertyLibraryPlugin",type:k});this.nsObjectUsed=v}parseOptions(k){return{export:k.export}}finishEntryModule(k,v,{options:E,compilation:P,compilation:{moduleGraph:L}}){const N=q(P,v);if(E.export){const v=L.getExportInfo(k,Array.isArray(E.export)?E.export[0]:E.export);v.setUsed(R.Used,N);v.canMangleUse=false}else{const v=L.getExportsInfo(k);if(this.nsObjectUsed){v.setUsedInUnknownWay(N)}else{v.setAllKnownExportsUsed(N)}}L.addExtraReason(k,"used as library export")}runtimeRequirements(k,v,E){}renderStartup(k,v,E,{options:R}){if(!R.export)return k;const q=`${L.exports} = ${L.exports}${N(Array.isArray(R.export)?R.export:[R.export])};\n`;return new P(k,q)}}k.exports=ExportPropertyLibraryPlugin},94206:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const R=E(15893);class JsonpLibraryPlugin extends R{constructor(k){super({pluginName:"JsonpLibraryPlugin",type:k.type})}parseOptions(k){const{name:v}=k;if(typeof v!=="string"){throw new Error(`Jsonp library name must be a simple string. ${R.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:v}}render(k,{chunk:v},{options:E,compilation:R}){const L=R.getPath(E.name,{chunk:v});return new P(`${L}(`,k,")")}chunkHash(k,v,E,{options:P,compilation:R}){v.update("JsonpLibraryPlugin");v.update(R.getPath(P.name,{chunk:k}))}}k.exports=JsonpLibraryPlugin},65587:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const R=E(56727);const L=E(95041);const N=E(10720);const q=E(15893);class ModuleLibraryPlugin extends q{constructor(k){super({pluginName:"ModuleLibraryPlugin",type:k.type})}parseOptions(k){const{name:v}=k;if(v){throw new Error(`Library name must be unset. ${q.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:v}}renderStartup(k,v,{moduleGraph:E,chunk:q},{options:ae,compilation:le}){const pe=new P(k);const me=E.getExportsInfo(v);const ye=[];const _e=E.isAsync(v);if(_e){pe.add(`${R.exports} = await ${R.exports};\n`)}for(const k of me.orderedExports){if(!k.provided)continue;const v=`${R.exports}${L.toIdentifier(k.name)}`;pe.add(`var ${v} = ${R.exports}${N([k.getUsedName(k.name,q.runtime)])};\n`);ye.push(`${v} as ${k.name}`)}if(ye.length>0){pe.add(`export { ${ye.join(", ")} };\n`)}return pe}}k.exports=ModuleLibraryPlugin},51327:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const{UsageState:R}=E(11172);const L=E(10849);const N=E(95041);const q=E(10720);const ae=E(15893);class SystemLibraryPlugin extends ae{constructor(k){super({pluginName:"SystemLibraryPlugin",type:k.type})}parseOptions(k){const{name:v}=k;if(v&&typeof v!=="string"){throw new Error(`System.js library name must be a simple string or unset. ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:v}}render(k,{chunkGraph:v,moduleGraph:E,chunk:ae},{options:le,compilation:pe}){const me=v.getChunkModules(ae).filter((k=>k instanceof L&&k.externalType==="system"));const ye=me;const _e=le.name?`${JSON.stringify(pe.getPath(le.name,{chunk:ae}))}, `:"";const Ie=JSON.stringify(ye.map((k=>typeof k.request==="object"&&!Array.isArray(k.request)?k.request.amd:k.request)));const Me="__WEBPACK_DYNAMIC_EXPORT__";const Te=ye.map((k=>`__WEBPACK_EXTERNAL_MODULE_${N.toIdentifier(`${v.getModuleId(k)}`)}__`));const je=Te.map((k=>`var ${k} = {};`)).join("\n");const Ne=[];const Be=Te.length===0?"":N.asString(["setters: [",N.indent(ye.map(((k,v)=>{const P=Te[v];const L=E.getExportsInfo(k);const le=L.otherExportsInfo.getUsed(ae.runtime)===R.Unused;const pe=[];const me=[];for(const k of L.orderedExports){const v=k.getUsedName(undefined,ae.runtime);if(v){if(le||v!==k.name){pe.push(`${P}${q([v])} = module${q([k.name])};`);me.push(k.name)}}else{me.push(k.name)}}if(!le){if(!Array.isArray(k.request)||k.request.length===1){Ne.push(`Object.defineProperty(${P}, "__esModule", { value: true });`)}if(me.length>0){const k=`${P}handledNames`;Ne.push(`var ${k} = ${JSON.stringify(me)};`);pe.push(N.asString(["Object.keys(module).forEach(function(key) {",N.indent([`if(${k}.indexOf(key) >= 0)`,N.indent(`${P}[key] = module[key];`)]),"});"]))}else{pe.push(N.asString(["Object.keys(module).forEach(function(key) {",N.indent([`${P}[key] = module[key];`]),"});"]))}}if(pe.length===0)return"function() {}";return N.asString(["function(module) {",N.indent(pe),"}"])})).join(",\n")),"],"]);return new P(N.asString([`System.register(${_e}${Ie}, function(${Me}, __system_context__) {`,N.indent([je,N.asString(Ne),"return {",N.indent([Be,"execute: function() {",N.indent(`${Me}(`)])]),""]),k,N.asString(["",N.indent([N.indent([N.indent([");"]),"}"]),"};"]),"})"]))}chunkHash(k,v,E,{options:P,compilation:R}){v.update("SystemLibraryPlugin");if(P.name){v.update(R.getPath(P.name,{chunk:k}))}}}k.exports=SystemLibraryPlugin},52594:function(k,v,E){"use strict";const{ConcatSource:P,OriginalSource:R}=E(51255);const L=E(10849);const N=E(95041);const q=E(15893);const accessorToObjectAccess=k=>k.map((k=>`[${JSON.stringify(k)}]`)).join("");const accessorAccess=(k,v,E=", ")=>{const P=Array.isArray(v)?v:[v];return P.map(((v,E)=>{const R=k?k+accessorToObjectAccess(P.slice(0,E+1)):P[0]+accessorToObjectAccess(P.slice(1,E+1));if(E===P.length-1)return R;if(E===0&&k===undefined)return`${R} = typeof ${R} === "object" ? ${R} : {}`;return`${R} = ${R} || {}`})).join(E)};class UmdLibraryPlugin extends q{constructor(k){super({pluginName:"UmdLibraryPlugin",type:k.type});this.optionalAmdExternalAsGlobal=k.optionalAmdExternalAsGlobal}parseOptions(k){let v;let E;if(typeof k.name==="object"&&!Array.isArray(k.name)){v=k.name.root||k.name.amd||k.name.commonjs;E=k.name}else{v=k.name;const P=Array.isArray(v)?v[0]:v;E={commonjs:P,root:k.name,amd:P}}return{name:v,names:E,auxiliaryComment:k.auxiliaryComment,namedDefine:k.umdNamedDefine}}render(k,{chunkGraph:v,runtimeTemplate:E,chunk:q,moduleGraph:ae},{options:le,compilation:pe}){const me=v.getChunkModules(q).filter((k=>k instanceof L&&(k.externalType==="umd"||k.externalType==="umd2")));let ye=me;const _e=[];let Ie=[];if(this.optionalAmdExternalAsGlobal){for(const k of ye){if(k.isOptional(ae)){_e.push(k)}else{Ie.push(k)}}ye=Ie.concat(_e)}else{Ie=ye}const replaceKeys=k=>pe.getPath(k,{chunk:q});const externalsDepsArray=k=>`[${replaceKeys(k.map((k=>JSON.stringify(typeof k.request==="object"?k.request.amd:k.request))).join(", "))}]`;const externalsRootArray=k=>replaceKeys(k.map((k=>{let v=k.request;if(typeof v==="object")v=v.root;return`root${accessorToObjectAccess([].concat(v))}`})).join(", "));const externalsRequireArray=k=>replaceKeys(ye.map((v=>{let E;let P=v.request;if(typeof P==="object"){P=P[k]}if(P===undefined){throw new Error("Missing external configuration for type:"+k)}if(Array.isArray(P)){E=`require(${JSON.stringify(P[0])})${accessorToObjectAccess(P.slice(1))}`}else{E=`require(${JSON.stringify(P)})`}if(v.isOptional(ae)){E=`(function webpackLoadOptionalExternalModule() { try { return ${E}; } catch(e) {} }())`}return E})).join(", "));const externalsArguments=k=>k.map((k=>`__WEBPACK_EXTERNAL_MODULE_${N.toIdentifier(`${v.getModuleId(k)}`)}__`)).join(", ");const libraryName=k=>JSON.stringify(replaceKeys([].concat(k).pop()));let Me;if(_e.length>0){const k=externalsArguments(Ie);const v=Ie.length>0?externalsArguments(Ie)+", "+externalsRootArray(_e):externalsRootArray(_e);Me=`function webpackLoadOptionalExternalModuleAmd(${k}) {\n`+`\t\t\treturn factory(${v});\n`+"\t\t}"}else{Me="factory"}const{auxiliaryComment:Te,namedDefine:je,names:Ne}=le;const getAuxiliaryComment=k=>{if(Te){if(typeof Te==="string")return"\t//"+Te+"\n";if(Te[k])return"\t//"+Te[k]+"\n"}return""};return new P(new R("(function webpackUniversalModuleDefinition(root, factory) {\n"+getAuxiliaryComment("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+externalsRequireArray("commonjs2")+");\n"+getAuxiliaryComment("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(Ie.length>0?Ne.amd&&je===true?"\t\tdefine("+libraryName(Ne.amd)+", "+externalsDepsArray(Ie)+", "+Me+");\n":"\t\tdefine("+externalsDepsArray(Ie)+", "+Me+");\n":Ne.amd&&je===true?"\t\tdefine("+libraryName(Ne.amd)+", [], "+Me+");\n":"\t\tdefine([], "+Me+");\n")+(Ne.root||Ne.commonjs?getAuxiliaryComment("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+libraryName(Ne.commonjs||Ne.root)+"] = factory("+externalsRequireArray("commonjs")+");\n"+getAuxiliaryComment("root")+"\telse\n"+"\t\t"+replaceKeys(accessorAccess("root",Ne.root||Ne.commonjs))+" = factory("+externalsRootArray(ye)+");\n":"\telse {\n"+(ye.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+externalsRequireArray("commonjs")+") : factory("+externalsRootArray(ye)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${E.outputOptions.globalObject}, ${E.supportsArrowFunction()?`(${externalsArguments(ye)}) =>`:`function(${externalsArguments(ye)})`} {\nreturn `,"webpack/universalModuleDefinition"),k,";\n})")}}k.exports=UmdLibraryPlugin},13905:function(k,v){"use strict";const E=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"});v.LogType=E;const P=Symbol("webpack logger raw log method");const R=Symbol("webpack logger times");const L=Symbol("webpack logger aggregated times");class WebpackLogger{constructor(k,v){this[P]=k;this.getChildLogger=v}error(...k){this[P](E.error,k)}warn(...k){this[P](E.warn,k)}info(...k){this[P](E.info,k)}log(...k){this[P](E.log,k)}debug(...k){this[P](E.debug,k)}assert(k,...v){if(!k){this[P](E.error,v)}}trace(){this[P](E.trace,["Trace"])}clear(){this[P](E.clear)}status(...k){this[P](E.status,k)}group(...k){this[P](E.group,k)}groupCollapsed(...k){this[P](E.groupCollapsed,k)}groupEnd(...k){this[P](E.groupEnd,k)}profile(k){this[P](E.profile,[k])}profileEnd(k){this[P](E.profileEnd,[k])}time(k){this[R]=this[R]||new Map;this[R].set(k,process.hrtime())}timeLog(k){const v=this[R]&&this[R].get(k);if(!v){throw new Error(`No such label '${k}' for WebpackLogger.timeLog()`)}const L=process.hrtime(v);this[P](E.time,[k,...L])}timeEnd(k){const v=this[R]&&this[R].get(k);if(!v){throw new Error(`No such label '${k}' for WebpackLogger.timeEnd()`)}const L=process.hrtime(v);this[R].delete(k);this[P](E.time,[k,...L])}timeAggregate(k){const v=this[R]&&this[R].get(k);if(!v){throw new Error(`No such label '${k}' for WebpackLogger.timeAggregate()`)}const E=process.hrtime(v);this[R].delete(k);this[L]=this[L]||new Map;const P=this[L].get(k);if(P!==undefined){if(E[1]+P[1]>1e9){E[0]+=P[0]+1;E[1]=E[1]-1e9+P[1]}else{E[0]+=P[0];E[1]+=P[1]}}this[L].set(k,E)}timeAggregateEnd(k){if(this[L]===undefined)return;const v=this[L].get(k);if(v===undefined)return;this[L].delete(k);this[P](E.time,[k,...v])}}v.Logger=WebpackLogger},41748:function(k,v,E){"use strict";const{LogType:P}=E(13905);const filterToFunction=k=>{if(typeof k==="string"){const v=new RegExp(`[\\\\/]${k.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return k=>v.test(k)}if(k&&typeof k==="object"&&typeof k.test==="function"){return v=>k.test(v)}if(typeof k==="function"){return k}if(typeof k==="boolean"){return()=>k}};const R={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};k.exports=({level:k="info",debug:v=false,console:E})=>{const L=typeof v==="boolean"?[()=>v]:[].concat(v).map(filterToFunction);const N=R[`${k}`]||0;const logger=(k,v,q)=>{const labeledArgs=()=>{if(Array.isArray(q)){if(q.length>0&&typeof q[0]==="string"){return[`[${k}] ${q[0]}`,...q.slice(1)]}else{return[`[${k}]`,...q]}}else{return[]}};const ae=L.some((v=>v(k)));switch(v){case P.debug:if(!ae)return;if(typeof E.debug==="function"){E.debug(...labeledArgs())}else{E.log(...labeledArgs())}break;case P.log:if(!ae&&N>R.log)return;E.log(...labeledArgs());break;case P.info:if(!ae&&N>R.info)return;E.info(...labeledArgs());break;case P.warn:if(!ae&&N>R.warn)return;E.warn(...labeledArgs());break;case P.error:if(!ae&&N>R.error)return;E.error(...labeledArgs());break;case P.trace:if(!ae)return;E.trace();break;case P.groupCollapsed:if(!ae&&N>R.log)return;if(!ae&&N>R.verbose){if(typeof E.groupCollapsed==="function"){E.groupCollapsed(...labeledArgs())}else{E.log(...labeledArgs())}break}case P.group:if(!ae&&N>R.log)return;if(typeof E.group==="function"){E.group(...labeledArgs())}else{E.log(...labeledArgs())}break;case P.groupEnd:if(!ae&&N>R.log)return;if(typeof E.groupEnd==="function"){E.groupEnd()}break;case P.time:{if(!ae&&N>R.log)return;const v=q[1]*1e3+q[2]/1e6;const P=`[${k}] ${q[0]}: ${v} ms`;if(typeof E.logTime==="function"){E.logTime(P)}else{E.log(P)}break}case P.profile:if(typeof E.profile==="function"){E.profile(...labeledArgs())}break;case P.profileEnd:if(typeof E.profileEnd==="function"){E.profileEnd(...labeledArgs())}break;case P.clear:if(!ae&&N>R.log)return;if(typeof E.clear==="function"){E.clear()}break;case P.status:if(!ae&&N>R.info)return;if(typeof E.status==="function"){if(q.length===0){E.status()}else{E.status(...labeledArgs())}}else{if(q.length!==0){E.info(...labeledArgs())}}break;default:throw new Error(`Unexpected LogType ${v}`)}};return logger}},64755:function(k){"use strict";const arraySum=k=>{let v=0;for(const E of k)v+=E;return v};const truncateArgs=(k,v)=>{const E=k.map((k=>`${k}`.length));const P=v-E.length+1;if(P>0&&k.length===1){if(P>=k[0].length){return k}else if(P>3){return["..."+k[0].slice(-P+3)]}else{return[k[0].slice(-P)]}}if(PMath.min(k,6))))){if(k.length>1)return truncateArgs(k.slice(0,k.length-1),v);return[]}let R=arraySum(E);if(R<=P)return k;while(R>P){const k=Math.max(...E);const v=E.filter((v=>v!==k));const L=v.length>0?Math.max(...v):0;const N=k-L;let q=E.length-v.length;let ae=R-P;for(let v=0;v{const P=`${k}`;const R=E[v];if(P.length===R){return P}else if(R>5){return"..."+P.slice(-R+3)}else if(R>0){return P.slice(-R)}else{return""}}))};k.exports=truncateArgs},16574:function(k,v,E){"use strict";const P=E(56727);const R=E(31626);class CommonJsChunkLoadingPlugin{constructor(k={}){this._asyncChunkLoading=k.asyncChunkLoading}apply(k){const v=this._asyncChunkLoading?E(92172):E(14461);const L=this._asyncChunkLoading?"async-node":"require";new R({chunkLoading:L,asyncChunkLoading:this._asyncChunkLoading}).apply(k);k.hooks.thisCompilation.tap("CommonJsChunkLoadingPlugin",(k=>{const E=k.outputOptions.chunkLoading;const isEnabledForChunk=k=>{const v=k.getEntryOptions();const P=v&&v.chunkLoading!==undefined?v.chunkLoading:E;return P===L};const R=new WeakSet;const handler=(E,L)=>{if(R.has(E))return;R.add(E);if(!isEnabledForChunk(E))return;L.add(P.moduleFactoriesAddOnly);L.add(P.hasOwnProperty);k.addRuntimeModule(E,new v(L))};k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.baseURI).tap("CommonJsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.externalInstallChunk).tap("CommonJsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.onChunksLoaded).tap("CommonJsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.getChunkScriptFilename)}));k.hooks.runtimeRequirementInTree.for(P.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.getChunkUpdateScriptFilename);v.add(P.moduleCache);v.add(P.hmrModuleData);v.add(P.moduleFactoriesAddOnly)}));k.hooks.runtimeRequirementInTree.for(P.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.getUpdateManifestFilename)}))}))}}k.exports=CommonJsChunkLoadingPlugin},74983:function(k,v,E){"use strict";const P=E(75943);const R=E(56450);const L=E(41748);const N=E(60432);const q=E(73362);class NodeEnvironmentPlugin{constructor(k){this.options=k}apply(k){const{infrastructureLogging:v}=this.options;k.infrastructureLogger=L({level:v.level||"info",debug:v.debug||false,console:v.console||q({colors:v.colors,appendOnly:v.appendOnly,stream:v.stream})});k.inputFileSystem=new P(R,6e4);const E=k.inputFileSystem;k.outputFileSystem=R;k.intermediateFileSystem=R;k.watchFileSystem=new N(k.inputFileSystem);k.hooks.beforeRun.tap("NodeEnvironmentPlugin",(k=>{if(k.inputFileSystem===E){k.fsStartTime=Date.now();E.purge()}}))}}k.exports=NodeEnvironmentPlugin},44513:function(k){"use strict";class NodeSourcePlugin{apply(k){}}k.exports=NodeSourcePlugin},56976:function(k,v,E){"use strict";const P=E(53757);const R=["assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","inspector/promises","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","readline/promises","repl","stream","stream/consumers","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib",/^node:/,"pnpapi"];class NodeTargetPlugin{apply(k){new P("node-commonjs",R).apply(k)}}k.exports=NodeTargetPlugin},74578:function(k,v,E){"use strict";const P=E(45542);const R=E(73126);class NodeTemplatePlugin{constructor(k={}){this._options=k}apply(k){const v=this._options.asyncChunkLoading?"async-node":"require";k.options.output.chunkLoading=v;(new P).apply(k);new R(v).apply(k)}}k.exports=NodeTemplatePlugin},60432:function(k,v,E){"use strict";const P=E(73837);const R=E(28978);class NodeWatchFileSystem{constructor(k){this.inputFileSystem=k;this.watcherOptions={aggregateTimeout:0};this.watcher=new R(this.watcherOptions)}watch(k,v,E,L,N,q,ae){if(!k||typeof k[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'files'")}if(!v||typeof v[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'directories'")}if(!E||typeof E[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'missing'")}if(typeof q!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof L!=="number"&&L){throw new Error("Invalid arguments: 'startTime'")}if(typeof N!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof ae!=="function"&&ae){throw new Error("Invalid arguments: 'callbackUndelayed'")}const le=this.watcher;this.watcher=new R(N);if(ae){this.watcher.once("change",ae)}const fetchTimeInfo=()=>{const k=new Map;const v=new Map;if(this.watcher){this.watcher.collectTimeInfoEntries(k,v)}return{fileTimeInfoEntries:k,contextTimeInfoEntries:v}};this.watcher.once("aggregated",((k,v)=>{this.watcher.pause();if(this.inputFileSystem&&this.inputFileSystem.purge){const E=this.inputFileSystem;for(const v of k){E.purge(v)}for(const k of v){E.purge(k)}}const{fileTimeInfoEntries:E,contextTimeInfoEntries:P}=fetchTimeInfo();q(null,E,P,k,v)}));this.watcher.watch({files:k,directories:v,missing:E,startTime:L});if(le){le.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getAggregatedRemovals:P.deprecate((()=>{const k=this.watcher&&this.watcher.aggregatedRemovals;if(k&&this.inputFileSystem&&this.inputFileSystem.purge){const v=this.inputFileSystem;for(const E of k){v.purge(E)}}return k}),"Watcher.getAggregatedRemovals is deprecated in favor of Watcher.getInfo since that's more performant.","DEP_WEBPACK_WATCHER_GET_AGGREGATED_REMOVALS"),getAggregatedChanges:P.deprecate((()=>{const k=this.watcher&&this.watcher.aggregatedChanges;if(k&&this.inputFileSystem&&this.inputFileSystem.purge){const v=this.inputFileSystem;for(const E of k){v.purge(E)}}return k}),"Watcher.getAggregatedChanges is deprecated in favor of Watcher.getInfo since that's more performant.","DEP_WEBPACK_WATCHER_GET_AGGREGATED_CHANGES"),getFileTimeInfoEntries:P.deprecate((()=>fetchTimeInfo().fileTimeInfoEntries),"Watcher.getFileTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.","DEP_WEBPACK_WATCHER_FILE_TIME_INFO_ENTRIES"),getContextTimeInfoEntries:P.deprecate((()=>fetchTimeInfo().contextTimeInfoEntries),"Watcher.getContextTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.","DEP_WEBPACK_WATCHER_CONTEXT_TIME_INFO_ENTRIES"),getInfo:()=>{const k=this.watcher&&this.watcher.aggregatedRemovals;const v=this.watcher&&this.watcher.aggregatedChanges;if(this.inputFileSystem&&this.inputFileSystem.purge){const E=this.inputFileSystem;if(k){for(const v of k){E.purge(v)}}if(v){for(const k of v){E.purge(k)}}}const{fileTimeInfoEntries:E,contextTimeInfoEntries:P}=fetchTimeInfo();return{changes:v,removals:k,fileTimeInfoEntries:E,contextTimeInfoEntries:P}}}}}k.exports=NodeWatchFileSystem},92172:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{chunkHasJs:N,getChunkFilenameTemplate:q}=E(89168);const{getInitialChunkIds:ae}=E(73777);const le=E(21751);const{getUndoPath:pe}=E(65315);class ReadFileChunkLoadingRuntimeModule extends R{constructor(k){super("readFile chunk loading",R.STAGE_ATTACH);this.runtimeRequirements=k}_generateBaseUri(k,v){const E=k.getEntryOptions();if(E&&E.baseUri){return`${P.baseURI} = ${JSON.stringify(E.baseUri)};`}return`${P.baseURI} = require("url").pathToFileURL(${v?`__dirname + ${JSON.stringify("/"+v)}`:"__filename"});`}generate(){const{chunkGraph:k,chunk:v}=this;const{runtimeTemplate:E}=this.compilation;const R=P.ensureChunkHandlers;const me=this.runtimeRequirements.has(P.baseURI);const ye=this.runtimeRequirements.has(P.externalInstallChunk);const _e=this.runtimeRequirements.has(P.onChunksLoaded);const Ie=this.runtimeRequirements.has(P.ensureChunkHandlers);const Me=this.runtimeRequirements.has(P.hmrDownloadUpdateHandlers);const Te=this.runtimeRequirements.has(P.hmrDownloadManifest);const je=k.getChunkConditionMap(v,N);const Ne=le(je);const Be=ae(v,k,N);const qe=this.compilation.getPath(q(v,this.compilation.outputOptions),{chunk:v,contentHashType:"javascript"});const Ue=pe(qe,this.compilation.outputOptions.path,false);const Ge=Me?`${P.hmrRuntimeStatePrefix}_readFileVm`:undefined;return L.asString([me?this._generateBaseUri(v,Ue):"// no baseURI","","// object to store loaded chunks",'// "0" means "already loaded", Promise means loading',`var installedChunks = ${Ge?`${Ge} = ${Ge} || `:""}{`,L.indent(Array.from(Be,(k=>`${JSON.stringify(k)}: 0`)).join(",\n")),"};","",_e?`${P.onChunksLoaded}.readFileVm = ${E.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Ie||ye?`var installChunk = ${E.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",L.indent([`if(${P.hasOwnProperty}(moreModules, moduleId)) {`,L.indent([`${P.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(${P.require});`,"for(var i = 0; i < chunkIds.length; i++) {",L.indent(["if(installedChunks[chunkIds[i]]) {",L.indent(["installedChunks[chunkIds[i]][0]();"]),"}","installedChunks[chunkIds[i]] = 0;"]),"}",_e?`${P.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ie?L.asString(["// ReadFile + VM.run chunk loading for javascript",`${R}.readFileVm = function(chunkId, promises) {`,Ne!==false?L.indent(["","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',L.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",L.indent(["promises.push(installedChunkData[2]);"]),"} else {",L.indent([Ne===true?"if(true) { // all chunks have JS":`if(${Ne("chunkId")}) {`,L.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",L.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];",`var filename = require('path').join(__dirname, ${JSON.stringify(Ue)} + ${P.getChunkScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",L.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);"]),Ne===true?"}":"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):L.indent(["installedChunks[chunkId] = 0;"]),"};"]):"// no chunk loading","",ye?L.asString([`module.exports = ${P.require};`,`${P.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Me?L.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",L.indent(["return new Promise(function(resolve, reject) {",L.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(Ue)} + ${P.getChunkUpdateScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",L.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) {",L.indent([`if(${P.hasOwnProperty}(updatedModules, moduleId)) {`,L.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","resolve();"]),"});"]),"});"]),"}","",L.getFunctionContent(require("./JavascriptHotModuleReplacement.runtime.js")).replace(/\$key\$/g,"readFileVm").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,P.moduleCache).replace(/\$moduleFactories\$/g,P.moduleFactories).replace(/\$ensureChunkHandlers\$/g,P.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,P.hasOwnProperty).replace(/\$hmrModuleData\$/g,P.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,P.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,P.hmrInvalidateModuleHandlers)]):"// no HMR","",Te?L.asString([`${P.hmrDownloadManifest} = function() {`,L.indent(["return new Promise(function(resolve, reject) {",L.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(Ue)} + ${P.getUpdateManifestFilename}());`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",L.indent(["if(err) {",L.indent(['if(err.code === "ENOENT") return resolve();',"return reject(err);"]),"}","try { resolve(JSON.parse(content)); }","catch(e) { reject(e); }"]),"});"]),"});"]),"}"]):"// no HMR manifest"])}}k.exports=ReadFileChunkLoadingRuntimeModule},39842:function(k,v,E){"use strict";const{WEBASSEMBLY_MODULE_TYPE_ASYNC:P}=E(93622);const R=E(56727);const L=E(95041);const N=E(99393);class ReadFileCompileAsyncWasmPlugin{constructor({type:k="async-node",import:v=false}={}){this._type=k;this._import=v}apply(k){k.hooks.thisCompilation.tap("ReadFileCompileAsyncWasmPlugin",(k=>{const v=k.outputOptions.wasmLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.wasmLoading!==undefined?E.wasmLoading:v;return P===this._type};const{importMetaName:E}=k.outputOptions;const q=this._import?k=>L.asString(["Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {",L.indent([`readFile(new URL(${k}, ${E}.url), (err, buffer) => {`,L.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",L.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"}))"]):k=>L.asString(["new Promise(function (resolve, reject) {",L.indent(["try {",L.indent(["var { readFile } = require('fs');","var { join } = require('path');","",`readFile(join(__dirname, ${k}), function(err, buffer){`,L.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",L.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);k.hooks.runtimeRequirementInTree.for(R.instantiateWasm).tap("ReadFileCompileAsyncWasmPlugin",((v,E)=>{if(!isEnabledForChunk(v))return;const L=k.chunkGraph;if(!L.hasModuleInGraph(v,(k=>k.type===P))){return}E.add(R.publicPath);k.addRuntimeModule(v,new N({generateLoadBinaryCode:q,supportsStreaming:false}))}))}))}}k.exports=ReadFileCompileAsyncWasmPlugin},63506:function(k,v,E){"use strict";const{WEBASSEMBLY_MODULE_TYPE_SYNC:P}=E(93622);const R=E(56727);const L=E(95041);const N=E(68403);class ReadFileCompileWasmPlugin{constructor(k={}){this.options=k}apply(k){k.hooks.thisCompilation.tap("ReadFileCompileWasmPlugin",(k=>{const v=k.outputOptions.wasmLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.wasmLoading!==undefined?E.wasmLoading:v;return P==="async-node"};const generateLoadBinaryCode=k=>L.asString(["new Promise(function (resolve, reject) {",L.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",L.indent([`readFile(join(__dirname, ${k}), function(err, buffer){`,L.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",L.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);k.hooks.runtimeRequirementInTree.for(R.ensureChunkHandlers).tap("ReadFileCompileWasmPlugin",((v,E)=>{if(!isEnabledForChunk(v))return;const L=k.chunkGraph;if(!L.hasModuleInGraph(v,(k=>k.type===P))){return}E.add(R.moduleCache);k.addRuntimeModule(v,new N({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:false,mangleImports:this.options.mangleImports,runtimeRequirements:E}))}))}))}}k.exports=ReadFileCompileWasmPlugin},14461:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{chunkHasJs:N,getChunkFilenameTemplate:q}=E(89168);const{getInitialChunkIds:ae}=E(73777);const le=E(21751);const{getUndoPath:pe}=E(65315);class RequireChunkLoadingRuntimeModule extends R{constructor(k){super("require chunk loading",R.STAGE_ATTACH);this.runtimeRequirements=k}_generateBaseUri(k,v){const E=k.getEntryOptions();if(E&&E.baseUri){return`${P.baseURI} = ${JSON.stringify(E.baseUri)};`}return`${P.baseURI} = require("url").pathToFileURL(${v!=="./"?`__dirname + ${JSON.stringify("/"+v)}`:"__filename"});`}generate(){const{chunkGraph:k,chunk:v}=this;const{runtimeTemplate:E}=this.compilation;const R=P.ensureChunkHandlers;const me=this.runtimeRequirements.has(P.baseURI);const ye=this.runtimeRequirements.has(P.externalInstallChunk);const _e=this.runtimeRequirements.has(P.onChunksLoaded);const Ie=this.runtimeRequirements.has(P.ensureChunkHandlers);const Me=this.runtimeRequirements.has(P.hmrDownloadUpdateHandlers);const Te=this.runtimeRequirements.has(P.hmrDownloadManifest);const je=k.getChunkConditionMap(v,N);const Ne=le(je);const Be=ae(v,k,N);const qe=this.compilation.getPath(q(v,this.compilation.outputOptions),{chunk:v,contentHashType:"javascript"});const Ue=pe(qe,this.compilation.outputOptions.path,true);const Ge=Me?`${P.hmrRuntimeStatePrefix}_require`:undefined;return L.asString([me?this._generateBaseUri(v,Ue):"// no baseURI","","// object to store loaded chunks",'// "1" means "loaded", otherwise not loaded yet',`var installedChunks = ${Ge?`${Ge} = ${Ge} || `:""}{`,L.indent(Array.from(Be,(k=>`${JSON.stringify(k)}: 1`)).join(",\n")),"};","",_e?`${P.onChunksLoaded}.require = ${E.returningFunction("installedChunks[chunkId]","chunkId")};`:"// no on chunks loaded","",Ie||ye?`var installChunk = ${E.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",L.indent([`if(${P.hasOwnProperty}(moreModules, moduleId)) {`,L.indent([`${P.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(${P.require});`,"for(var i = 0; i < chunkIds.length; i++)",L.indent("installedChunks[chunkIds[i]] = 1;"),_e?`${P.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ie?L.asString(["// require() chunk loading for javascript",`${R}.require = ${E.basicFunction("chunkId, promises",Ne!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",L.indent([Ne===true?"if(true) { // all chunks have JS":`if(${Ne("chunkId")}) {`,L.indent([`installChunk(require(${JSON.stringify(Ue)} + ${P.getChunkScriptFilename}(chunkId)));`]),"} else installedChunks[chunkId] = 1;",""]),"}"]:"installedChunks[chunkId] = 1;")};`]):"// no chunk loading","",ye?L.asString([`module.exports = ${P.require};`,`${P.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Me?L.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",L.indent([`var update = require(${JSON.stringify(Ue)} + ${P.getChunkUpdateScriptFilename}(chunkId));`,"var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",L.indent([`if(${P.hasOwnProperty}(updatedModules, moduleId)) {`,L.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);"]),"}","",L.getFunctionContent(require("./JavascriptHotModuleReplacement.runtime.js")).replace(/\$key\$/g,"require").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,P.moduleCache).replace(/\$moduleFactories\$/g,P.moduleFactories).replace(/\$ensureChunkHandlers\$/g,P.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,P.hasOwnProperty).replace(/\$hmrModuleData\$/g,P.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,P.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,P.hmrInvalidateModuleHandlers)]):"// no HMR","",Te?L.asString([`${P.hmrDownloadManifest} = function() {`,L.indent(["return Promise.resolve().then(function() {",L.indent([`return require(${JSON.stringify(Ue)} + ${P.getUpdateManifestFilename}());`]),"})['catch'](function(err) { if(err.code !== 'MODULE_NOT_FOUND') throw err; });"]),"}"]):"// no HMR manifest"])}}k.exports=RequireChunkLoadingRuntimeModule},73362:function(k,v,E){"use strict";const P=E(73837);const R=E(64755);k.exports=({colors:k,appendOnly:v,stream:E})=>{let L=undefined;let N=false;let q="";let ae=0;const indent=(v,E,P,R)=>{if(v==="")return v;E=q+E;if(k){return E+P+v.replace(/\n/g,R+"\n"+E+P)+R}else{return E+v.replace(/\n/g,"\n"+E)}};const clearStatusMessage=()=>{if(N){E.write("\r");N=false}};const writeStatusMessage=()=>{if(!L)return;const k=E.columns||40;const v=R(L,k-1);const P=v.join(" ");const q=`${P}`;E.write(`\r${q}`);N=true};const writeColored=(k,v,R)=>(...L)=>{if(ae>0)return;clearStatusMessage();const N=indent(P.format(...L),k,v,R);E.write(N+"\n");writeStatusMessage()};const le=writeColored("<-> ","","");const pe=writeColored("<+> ","","");return{log:writeColored(" ","",""),debug:writeColored(" ","",""),trace:writeColored(" ","",""),info:writeColored(" ","",""),warn:writeColored(" ","",""),error:writeColored(" ","",""),logTime:writeColored(" ","",""),group:(...k)=>{le(...k);if(ae>0){ae++}else{q+=" "}},groupCollapsed:(...k)=>{pe(...k);ae++},groupEnd:()=>{if(ae>0)ae--;else if(q.length>=2)q=q.slice(0,q.length-2)},profile:console.profile&&(k=>console.profile(k)),profileEnd:console.profileEnd&&(k=>console.profileEnd(k)),clear:!v&&console.clear&&(()=>{clearStatusMessage();console.clear();writeStatusMessage()}),status:v?writeColored(" ","",""):(k,...v)=>{v=v.filter(Boolean);if(k===undefined&&v.length===0){clearStatusMessage();L=undefined}else if(typeof k==="string"&&k.startsWith("[webpack.Progress] ")){L=[k.slice(19),...v];writeStatusMessage()}else if(k==="[webpack.Progress]"){L=[...v];writeStatusMessage()}else{L=[k,...v];writeStatusMessage()}}}}},3952:function(k,v,E){"use strict";const{STAGE_ADVANCED:P}=E(99134);class AggressiveMergingPlugin{constructor(k){if(k!==undefined&&typeof k!=="object"||Array.isArray(k)){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=k||{}}apply(k){const v=this.options;const E=v.minSizeReduce||1.5;k.hooks.thisCompilation.tap("AggressiveMergingPlugin",(k=>{k.hooks.optimizeChunks.tap({name:"AggressiveMergingPlugin",stage:P},(v=>{const P=k.chunkGraph;let R=[];for(const k of v){if(k.canBeInitial())continue;for(const E of v){if(E.canBeInitial())continue;if(E===k)break;if(!P.canChunksBeIntegrated(k,E)){continue}const v=P.getChunkSize(E,{chunkOverhead:0});const L=P.getChunkSize(k,{chunkOverhead:0});const N=P.getIntegratedChunksSize(E,k,{chunkOverhead:0});const q=(v+L)/N;R.push({a:k,b:E,improvement:q})}}R.sort(((k,v)=>v.improvement-k.improvement));const L=R[0];if(!L)return;if(L.improvementE(20443)),{name:"Aggressive Splitting Plugin",baseDataPath:"options"});const moveModuleBetween=(k,v,E)=>P=>{k.disconnectChunkAndModule(v,P);k.connectChunkAndModule(E,P)};const isNotAEntryModule=(k,v)=>E=>!k.isEntryModuleInChunk(E,v);const pe=new WeakSet;class AggressiveSplittingPlugin{constructor(k={}){le(k);this.options=k;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(k){return pe.has(k)}apply(k){k.hooks.thisCompilation.tap("AggressiveSplittingPlugin",(v=>{let E=false;let q;let le;let me;v.hooks.optimize.tap("AggressiveSplittingPlugin",(()=>{q=[];le=new Set;me=new Map}));v.hooks.optimizeChunks.tap({name:"AggressiveSplittingPlugin",stage:P},(E=>{const P=v.chunkGraph;const pe=new Map;const ye=new Map;const _e=ae.makePathsRelative.bindContextCache(k.context,k.root);for(const k of v.modules){const v=_e(k.identifier());pe.set(v,k);ye.set(k,v)}const Ie=new Set;for(const k of E){Ie.add(k.id)}const Me=v.records&&v.records.aggressiveSplits||[];const Te=q?Me.concat(q):Me;const je=this.options.minSize;const Ne=this.options.maxSize;const applySplit=k=>{if(k.id!==undefined&&Ie.has(k.id)){return false}const E=k.modules.map((k=>pe.get(k)));if(!E.every(Boolean))return false;let L=0;for(const k of E)L+=k.size();if(L!==k.size)return false;const N=R(E.map((k=>new Set(P.getModuleChunksIterable(k)))));if(N.size===0)return false;if(N.size===1&&P.getNumberOfChunkModules(Array.from(N)[0])===E.length){const v=Array.from(N)[0];if(le.has(v))return false;le.add(v);me.set(v,k);return true}const q=v.addChunk();q.chunkReason="aggressive splitted";for(const k of N){E.forEach(moveModuleBetween(P,k,q));k.split(q);k.name=null}le.add(q);me.set(q,k);if(k.id!==null&&k.id!==undefined){q.id=k.id;q.ids=[k.id]}return true};let Be=false;for(let k=0;k{const E=P.getChunkModulesSize(v)-P.getChunkModulesSize(k);if(E)return E;const R=P.getNumberOfChunkModules(k)-P.getNumberOfChunkModules(v);if(R)return R;return qe(k,v)}));for(const k of Ue){if(le.has(k))continue;const v=P.getChunkModulesSize(k);if(v>Ne&&P.getNumberOfChunkModules(k)>1){const v=P.getOrderedChunkModules(k,L).filter(isNotAEntryModule(P,k));const E=[];let R=0;for(let k=0;kNe&&R>=je){break}R=L;E.push(P)}if(E.length===0)continue;const N={modules:E.map((k=>ye.get(k))).sort(),size:R};if(applySplit(N)){q=(q||[]).concat(N);Be=true}}}if(Be)return true}));v.hooks.recordHash.tap("AggressiveSplittingPlugin",(k=>{const P=new Set;const R=new Set;for(const k of v.chunks){const v=me.get(k);if(v!==undefined){if(v.hash&&k.hash!==v.hash){R.add(v)}}}if(R.size>0){k.aggressiveSplits=k.aggressiveSplits.filter((k=>!R.has(k)));E=true}else{for(const k of v.chunks){const v=me.get(k);if(v!==undefined){v.hash=k.hash;v.id=k.id;P.add(v);pe.add(k)}}const L=v.records&&v.records.aggressiveSplits;if(L){for(const k of L){if(!R.has(k))P.add(k)}}k.aggressiveSplits=Array.from(P);E=false}}));v.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",(()=>{if(E){E=false;return true}}))}))}}k.exports=AggressiveSplittingPlugin},94978:function(k,v,E){"use strict";const P=E(12836);const R=E(48648);const{CachedSource:L,ConcatSource:N,ReplaceSource:q}=E(51255);const ae=E(91213);const{UsageState:le}=E(11172);const pe=E(88396);const{JAVASCRIPT_MODULE_TYPE_ESM:me}=E(93622);const ye=E(56727);const _e=E(95041);const Ie=E(69184);const Me=E(81532);const{equals:Te}=E(68863);const je=E(12359);const{concatComparators:Ne}=E(95648);const Be=E(74012);const{makePathsRelative:qe}=E(65315);const Ue=E(58528);const Ge=E(10720);const{propertyName:He}=E(72627);const{filterRuntime:We,intersectRuntime:Qe,mergeRuntimeCondition:Je,mergeRuntimeConditionNonFalse:Ve,runtimeConditionToString:Ke,subtractRuntimeCondition:Ye}=E(1540);const Xe=R;if(!Xe.prototype.PropertyDefinition){Xe.prototype.PropertyDefinition=Xe.prototype.Property}const Ze=new Set([ae.DEFAULT_EXPORT,ae.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,require,define","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 createComparator=(k,v)=>(E,P)=>v(E[k],P[k]);const compareNumbers=(k,v)=>{if(isNaN(k)){if(!isNaN(v)){return 1}}else{if(isNaN(v)){return-1}if(k!==v){return k{let v="";let E=true;for(const P of k){if(E){E=false}else{v+=", "}v+=P}return v};const getFinalBinding=(k,v,E,P,R,L,N,q,ae,le,pe,me=new Set)=>{const ye=v.module.getExportsType(k,le);if(E.length===0){switch(ye){case"default-only":v.interopNamespaceObject2Used=true;return{info:v,rawName:v.interopNamespaceObject2Name,ids:E,exportName:E};case"default-with-named":v.interopNamespaceObjectUsed=true;return{info:v,rawName:v.interopNamespaceObjectName,ids:E,exportName:E};case"namespace":case"dynamic":break;default:throw new Error(`Unexpected exportsType ${ye}`)}}else{switch(ye){case"namespace":break;case"default-with-named":switch(E[0]){case"default":E=E.slice(1);break;case"__esModule":return{info:v,rawName:"/* __esModule */true",ids:E.slice(1),exportName:E}}break;case"default-only":{const k=E[0];if(k==="__esModule"){return{info:v,rawName:"/* __esModule */true",ids:E.slice(1),exportName:E}}E=E.slice(1);if(k!=="default"){return{info:v,rawName:"/* non-default import from default-exporting module */undefined",ids:E,exportName:E}}break}case"dynamic":switch(E[0]){case"default":{E=E.slice(1);v.interopDefaultAccessUsed=true;const k=ae?`${v.interopDefaultAccessName}()`:pe?`(${v.interopDefaultAccessName}())`:pe===false?`;(${v.interopDefaultAccessName}())`:`${v.interopDefaultAccessName}.a`;return{info:v,rawName:k,ids:E,exportName:E}}case"__esModule":return{info:v,rawName:"/* __esModule */true",ids:E.slice(1),exportName:E}}break;default:throw new Error(`Unexpected exportsType ${ye}`)}}if(E.length===0){switch(v.type){case"concatenated":q.add(v);return{info:v,rawName:v.namespaceObjectName,ids:E,exportName:E};case"external":return{info:v,rawName:v.name,ids:E,exportName:E}}}const Ie=k.getExportsInfo(v.module);const Me=Ie.getExportInfo(E[0]);if(me.has(Me)){return{info:v,rawName:"/* circular reexport */ Object(function x() { x() }())",ids:[],exportName:E}}me.add(Me);switch(v.type){case"concatenated":{const le=E[0];if(Me.provided===false){q.add(v);return{info:v,rawName:v.namespaceObjectName,ids:E,exportName:E}}const ye=v.exportMap&&v.exportMap.get(le);if(ye){const k=Ie.getUsedName(E,R);if(!k){return{info:v,rawName:"/* unused export */ undefined",ids:E.slice(1),exportName:E}}return{info:v,name:ye,ids:k.slice(1),exportName:E}}const _e=v.rawExportMap&&v.rawExportMap.get(le);if(_e){return{info:v,rawName:_e,ids:E.slice(1),exportName:E}}const Te=Me.findTarget(k,(k=>P.has(k)));if(Te===false){throw new Error(`Target module of reexport from '${v.module.readableIdentifier(L)}' is not part of the concatenation (export '${le}')\nModules in the concatenation:\n${Array.from(P,(([k,v])=>` * ${v.type} ${k.readableIdentifier(L)}`)).join("\n")}`)}if(Te){const le=P.get(Te.module);return getFinalBinding(k,le,Te.export?[...Te.export,...E.slice(1)]:E.slice(1),P,R,L,N,q,ae,v.module.buildMeta.strictHarmonyModule,pe,me)}if(v.namespaceExportSymbol){const k=Ie.getUsedName(E,R);return{info:v,rawName:v.namespaceObjectName,ids:k,exportName:E}}throw new Error(`Cannot get final name for export '${E.join(".")}' of ${v.module.readableIdentifier(L)}`)}case"external":{const k=Ie.getUsedName(E,R);if(!k){return{info:v,rawName:"/* unused export */ undefined",ids:E.slice(1),exportName:E}}const P=Te(k,E)?"":_e.toNormalComment(`${E.join(".")}`);return{info:v,rawName:v.name+P,ids:k,exportName:E}}}};const getFinalName=(k,v,E,P,R,L,N,q,ae,le,pe,me)=>{const ye=getFinalBinding(k,v,E,P,R,L,N,q,ae,pe,me);{const{ids:k,comment:v}=ye;let E;let P;if("rawName"in ye){E=`${ye.rawName}${v||""}${Ge(k)}`;P=k.length>0}else{const{info:R,name:N}=ye;const q=R.internalNames.get(N);if(!q){throw new Error(`The export "${N}" in "${R.module.readableIdentifier(L)}" has no internal name (existing names: ${Array.from(R.internalNames,(([k,v])=>`${k}: ${v}`)).join(", ")||"none"})`)}E=`${q}${v||""}${Ge(k)}`;P=k.length>1}if(P&&ae&&le===false){return me?`(0,${E})`:me===false?`;(0,${E})`:`/*#__PURE__*/Object(${E})`}return E}};const addScopeSymbols=(k,v,E,P)=>{let R=k;while(R){if(E.has(R))break;if(P.has(R))break;E.add(R);for(const k of R.variables){v.add(k.name)}R=R.upper}};const getAllReferences=k=>{let v=k.references;const E=new Set(k.identifiers);for(const P of k.scope.childScopes){for(const k of P.variables){if(k.identifiers.some((k=>E.has(k)))){v=v.concat(k.references);break}}}return v};const getPathInAst=(k,v)=>{if(k===v){return[]}const E=v.range;const enterNode=k=>{if(!k)return undefined;const P=k.range;if(P){if(P[0]<=E[0]&&P[1]>=E[1]){const E=getPathInAst(k,v);if(E){E.push(k);return E}}}return undefined};if(Array.isArray(k)){for(let v=0;v!(k instanceof Ie)||!this._modules.has(v.moduleGraph.getModule(k))))){this.dependencies.push(E)}for(const v of k.blocks){this.blocks.push(v)}const E=k.getWarnings();if(E!==undefined){for(const k of E){this.addWarning(k)}}const P=k.getErrors();if(P!==undefined){for(const k of P){this.addError(k)}}if(k.buildInfo.topLevelDeclarations){const v=this.buildInfo.topLevelDeclarations;if(v!==undefined){for(const E of k.buildInfo.topLevelDeclarations){v.add(E)}}}else{this.buildInfo.topLevelDeclarations=undefined}if(k.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,k.buildInfo.assets)}if(k.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[v,E]of k.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(v,E)}}}R()}size(k){let v=0;for(const E of this._modules){v+=E.size(k)}return v}_createConcatenationList(k,v,E,P){const R=[];const L=new Map;const getConcatenatedImports=v=>{let R=Array.from(P.getOutgoingConnections(v));if(v===k){for(const k of P.getOutgoingConnections(this))R.push(k)}const L=R.filter((k=>{if(!(k.dependency instanceof Ie))return false;return k&&k.resolvedOriginModule===v&&k.module&&k.isTargetActive(E)})).map((k=>{const v=k.dependency;return{connection:k,sourceOrder:v.sourceOrder,rangeStart:v.range&&v.range[0]}}));L.sort(Ne(et,tt));const N=new Map;for(const{connection:k}of L){const v=We(E,(v=>k.isTargetActive(v)));if(v===false)continue;const P=k.module;const R=N.get(P);if(R===undefined){N.set(P,{connection:k,runtimeCondition:v});continue}R.runtimeCondition=Ve(R.runtimeCondition,v,E)}return N.values()};const enterModule=(k,P)=>{const N=k.module;if(!N)return;const q=L.get(N);if(q===true){return}if(v.has(N)){L.set(N,true);if(P!==true){throw new Error(`Cannot runtime-conditional concatenate a module (${N.identifier()} in ${this.rootModule.identifier()}, ${Ke(P)}). This should not happen.`)}const v=getConcatenatedImports(N);for(const{connection:k,runtimeCondition:E}of v)enterModule(k,E);R.push({type:"concatenated",module:k.module,runtimeCondition:P})}else{if(q!==undefined){const v=Ye(P,q,E);if(v===false)return;P=v;L.set(k.module,Ve(q,P,E))}else{L.set(k.module,P)}if(R.length>0){const v=R[R.length-1];if(v.type==="external"&&v.module===k.module){v.runtimeCondition=Je(v.runtimeCondition,P,E);return}}R.push({type:"external",get module(){return k.module},runtimeCondition:P})}};L.set(k,true);const N=getConcatenatedImports(k);for(const{connection:k,runtimeCondition:v}of N)enterModule(k,v);R.push({type:"concatenated",module:k,runtimeCondition:true});return R}static _createIdentifier(k,v,E,P="md4"){const R=qe.bindContextCache(k.context,E);let L=[];for(const k of v){L.push(R(k.identifier()))}L.sort();const N=Be(P);N.update(L.join(" "));return k.identifier()+"|"+N.digest("hex")}addCacheDependencies(k,v,E,P){for(const R of this._modules){R.addCacheDependencies(k,v,E,P)}}codeGeneration({dependencyTemplates:k,runtimeTemplate:v,moduleGraph:E,chunkGraph:P,runtime:R,codeGenerationResults:q}){const pe=new Set;const me=Qe(R,this._runtime);const _e=v.requestShortener;const[Ie,Me]=this._getModulesWithInfo(E,me);const Te=new Set;for(const R of Me.values()){this._analyseModule(Me,R,k,v,E,P,me,q)}const je=new Set(Ze);const Ne=new Set;const Be=new Map;const getUsedNamesInScopeInfo=(k,v)=>{const E=`${k}-${v}`;let P=Be.get(E);if(P===undefined){P={usedNames:new Set,alreadyCheckedScopes:new Set};Be.set(E,P)}return P};const qe=new Set;for(const k of Ie){if(k.type==="concatenated"){if(k.moduleScope){qe.add(k.moduleScope)}const P=new WeakMap;const getSuperClassExpressions=k=>{const v=P.get(k);if(v!==undefined)return v;const E=[];for(const v of k.childScopes){if(v.type!=="class")continue;const k=v.block;if((k.type==="ClassDeclaration"||k.type==="ClassExpression")&&k.superClass){E.push({range:k.superClass.range,variables:v.variables})}}P.set(k,E);return E};if(k.globalScope){for(const P of k.globalScope.through){const R=P.identifier.name;if(ae.isModuleReference(R)){const L=ae.matchModuleReference(R);if(!L)continue;const N=Ie[L.index];if(N.type==="reference")throw new Error("Module reference can't point to a reference");const q=getFinalBinding(E,N,L.ids,Me,me,_e,v,Te,false,k.module.buildMeta.strictHarmonyModule,true);if(!q.ids)continue;const{usedNames:le,alreadyCheckedScopes:pe}=getUsedNamesInScopeInfo(q.info.module.identifier(),"name"in q?q.name:"");for(const k of getSuperClassExpressions(P.from)){if(k.range[0]<=P.identifier.range[0]&&k.range[1]>=P.identifier.range[1]){for(const v of k.variables){le.add(v.name)}}}addScopeSymbols(P.from,le,pe,qe)}else{je.add(R)}}}}}for(const k of Me.values()){const{usedNames:v}=getUsedNamesInScopeInfo(k.module.identifier(),"");switch(k.type){case"concatenated":{for(const v of k.moduleScope.variables){const E=v.name;const{usedNames:P,alreadyCheckedScopes:R}=getUsedNamesInScopeInfo(k.module.identifier(),E);if(je.has(E)||P.has(E)){const L=getAllReferences(v);for(const k of L){addScopeSymbols(k.from,P,R,qe)}const N=this.findNewName(E,je,P,k.module.readableIdentifier(_e));je.add(N);k.internalNames.set(E,N);Ne.add(N);const q=k.source;const ae=new Set(L.map((k=>k.identifier)).concat(v.identifiers));for(const v of ae){const E=v.range;const P=getPathInAst(k.ast,v);if(P&&P.length>1){const k=P[1].type==="AssignmentPattern"&&P[1].left===P[0]?P[2]:P[1];if(k.type==="Property"&&k.shorthand){q.insert(E[1],`: ${N}`);continue}}q.replace(E[0],E[1]-1,N)}}else{je.add(E);k.internalNames.set(E,E);Ne.add(E)}}let E;if(k.namespaceExportSymbol){E=k.internalNames.get(k.namespaceExportSymbol)}else{E=this.findNewName("namespaceObject",je,v,k.module.readableIdentifier(_e));je.add(E)}k.namespaceObjectName=E;Ne.add(E);break}case"external":{const E=this.findNewName("",je,v,k.module.readableIdentifier(_e));je.add(E);k.name=E;Ne.add(E);break}}if(k.module.buildMeta.exportsType!=="namespace"){const E=this.findNewName("namespaceObject",je,v,k.module.readableIdentifier(_e));je.add(E);k.interopNamespaceObjectName=E;Ne.add(E)}if(k.module.buildMeta.exportsType==="default"&&k.module.buildMeta.defaultObject!=="redirect"){const E=this.findNewName("namespaceObject2",je,v,k.module.readableIdentifier(_e));je.add(E);k.interopNamespaceObject2Name=E;Ne.add(E)}if(k.module.buildMeta.exportsType==="dynamic"||!k.module.buildMeta.exportsType){const E=this.findNewName("default",je,v,k.module.readableIdentifier(_e));je.add(E);k.interopDefaultAccessName=E;Ne.add(E)}}for(const k of Me.values()){if(k.type==="concatenated"){for(const P of k.globalScope.through){const R=P.identifier.name;const L=ae.matchModuleReference(R);if(L){const R=Ie[L.index];if(R.type==="reference")throw new Error("Module reference can't point to a reference");const N=getFinalName(E,R,L.ids,Me,me,_e,v,Te,L.call,!L.directImport,k.module.buildMeta.strictHarmonyModule,L.asiSafe);const q=P.identifier.range;const ae=k.source;ae.replace(q[0],q[1]+1,N)}}}}const Ue=new Map;const Ge=new Set;const We=Me.get(this.rootModule);const Je=We.module.buildMeta.strictHarmonyModule;const Ve=E.getExportsInfo(We.module);for(const k of Ve.orderedExports){const P=k.name;if(k.provided===false)continue;const R=k.getUsedName(undefined,me);if(!R){Ge.add(P);continue}Ue.set(R,(L=>{try{const R=getFinalName(E,We,[P],Me,me,L,v,Te,false,false,Je,true);return`/* ${k.isReexport()?"reexport":"binding"} */ ${R}`}catch(k){k.message+=`\nwhile generating the root export '${P}' (used name: '${R}')`;throw k}}))}const Ke=new N;if(E.getExportsInfo(this).otherExportsInfo.getUsed(me)!==le.Unused){Ke.add(`// ESM COMPAT FLAG\n`);Ke.add(v.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument,runtimeRequirements:pe}))}if(Ue.size>0){pe.add(ye.exports);pe.add(ye.definePropertyGetters);const k=[];for(const[E,P]of Ue){k.push(`\n ${He(E)}: ${v.returningFunction(P(_e))}`)}Ke.add(`\n// EXPORTS\n`);Ke.add(`${ye.definePropertyGetters}(${this.exportsArgument}, {${k.join(",")}\n});\n`)}if(Ge.size>0){Ke.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(Ge)}\n`)}const Ye=new Map;for(const k of Te){if(k.namespaceExportSymbol)continue;const P=[];const R=E.getExportsInfo(k.module);for(const L of R.orderedExports){if(L.provided===false)continue;const R=L.getUsedName(undefined,me);if(R){const N=getFinalName(E,k,[L.name],Me,me,_e,v,Te,false,undefined,k.module.buildMeta.strictHarmonyModule,true);P.push(`\n ${He(R)}: ${v.returningFunction(N)}`)}}const L=k.namespaceObjectName;const N=P.length>0?`${ye.definePropertyGetters}(${L}, {${P.join(",")}\n});\n`:"";if(P.length>0)pe.add(ye.definePropertyGetters);Ye.set(k,`\n// NAMESPACE OBJECT: ${k.module.readableIdentifier(_e)}\nvar ${L} = {};\n${ye.makeNamespaceObject}(${L});\n${N}`);pe.add(ye.makeNamespaceObject)}for(const k of Ie){if(k.type==="concatenated"){const v=Ye.get(k);if(!v)continue;Ke.add(v)}}const Xe=[];for(const k of Ie){let E;let R=false;const L=k.type==="reference"?k.target:k;switch(L.type){case"concatenated":{Ke.add(`\n;// CONCATENATED MODULE: ${L.module.readableIdentifier(_e)}\n`);Ke.add(L.source);if(L.chunkInitFragments){for(const k of L.chunkInitFragments)Xe.push(k)}if(L.runtimeRequirements){for(const k of L.runtimeRequirements){pe.add(k)}}E=L.namespaceObjectName;break}case"external":{Ke.add(`\n// EXTERNAL MODULE: ${L.module.readableIdentifier(_e)}\n`);pe.add(ye.require);const{runtimeCondition:N}=k;const q=v.runtimeConditionExpression({chunkGraph:P,runtimeCondition:N,runtime:me,runtimeRequirements:pe});if(q!=="true"){R=true;Ke.add(`if (${q}) {\n`)}Ke.add(`var ${L.name} = ${ye.require}(${JSON.stringify(P.getModuleId(L.module))});`);E=L.name;break}default:throw new Error(`Unsupported concatenation entry type ${L.type}`)}if(L.interopNamespaceObjectUsed){pe.add(ye.createFakeNamespaceObject);Ke.add(`\nvar ${L.interopNamespaceObjectName} = /*#__PURE__*/${ye.createFakeNamespaceObject}(${E}, 2);`)}if(L.interopNamespaceObject2Used){pe.add(ye.createFakeNamespaceObject);Ke.add(`\nvar ${L.interopNamespaceObject2Name} = /*#__PURE__*/${ye.createFakeNamespaceObject}(${E});`)}if(L.interopDefaultAccessUsed){pe.add(ye.compatGetDefaultExport);Ke.add(`\nvar ${L.interopDefaultAccessName} = /*#__PURE__*/${ye.compatGetDefaultExport}(${E});`)}if(R){Ke.add("\n}")}}const et=new Map;if(Xe.length>0)et.set("chunkInitFragments",Xe);et.set("topLevelDeclarations",Ne);const tt={sources:new Map([["javascript",new L(Ke)]]),data:et,runtimeRequirements:pe};return tt}_analyseModule(k,v,E,R,L,N,le,pe){if(v.type==="concatenated"){const me=v.module;try{const ye=new ae(k,v);const _e=me.codeGeneration({dependencyTemplates:E,runtimeTemplate:R,moduleGraph:L,chunkGraph:N,runtime:le,concatenationScope:ye,codeGenerationResults:pe,sourceTypes:nt});const Ie=_e.sources.get("javascript");const Te=_e.data;const je=Te&&Te.get("chunkInitFragments");const Ne=Ie.source().toString();let Be;try{Be=Me._parse(Ne,{sourceType:"module"})}catch(k){if(k.loc&&typeof k.loc==="object"&&typeof k.loc.line==="number"){const v=k.loc.line;const E=Ne.split("\n");k.message+="\n| "+E.slice(Math.max(0,v-3),v+2).join("\n| ")}throw k}const qe=P.analyze(Be,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const Ue=qe.acquire(Be);const Ge=Ue.childScopes[0];const He=new q(Ie);v.runtimeRequirements=_e.runtimeRequirements;v.ast=Be;v.internalSource=Ie;v.source=He;v.chunkInitFragments=je;v.globalScope=Ue;v.moduleScope=Ge}catch(k){k.message+=`\nwhile analyzing module ${me.identifier()} for concatenation`;throw k}}}_getModulesWithInfo(k,v){const E=this._createConcatenationList(this.rootModule,this._modules,v,k);const P=new Map;const R=E.map(((k,v)=>{let E=P.get(k.module);if(E===undefined){switch(k.type){case"concatenated":E={type:"concatenated",module:k.module,index:v,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":E={type:"external",module:k.module,runtimeCondition:k.runtimeCondition,index:v,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;default:throw new Error(`Unsupported concatenation entry type ${k.type}`)}P.set(E.module,E);return E}else{const v={type:"reference",runtimeCondition:k.runtimeCondition,target:E};return v}}));return[R,P]}findNewName(k,v,E,P){let R=k;if(R===ae.DEFAULT_EXPORT){R=""}if(R===ae.NAMESPACE_OBJECT_EXPORT){R="namespaceObject"}P=P.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const L=P.split("/");while(L.length){R=L.pop()+(R?"_"+R:"");const k=_e.toIdentifier(R);if(!v.has(k)&&(!E||!E.has(k)))return k}let N=0;let q=_e.toIdentifier(`${R}_${N}`);while(v.has(q)||E&&E.has(q)){N++;q=_e.toIdentifier(`${R}_${N}`)}return q}updateHash(k,v){const{chunkGraph:E,runtime:P}=v;for(const R of this._createConcatenationList(this.rootModule,this._modules,Qe(P,this._runtime),E.moduleGraph)){switch(R.type){case"concatenated":R.module.updateHash(k,v);break;case"external":k.update(`${E.getModuleId(R.module)}`);break}}super.updateHash(k,v)}static deserialize(k){const v=new ConcatenatedModule({identifier:undefined,rootModule:undefined,modules:undefined,runtime:undefined});v.deserialize(k);return v}}Ue(ConcatenatedModule,"webpack/lib/optimize/ConcatenatedModule");k.exports=ConcatenatedModule},4945:function(k,v,E){"use strict";const{STAGE_BASIC:P}=E(99134);class EnsureChunkConditionsPlugin{apply(k){k.hooks.compilation.tap("EnsureChunkConditionsPlugin",(k=>{const handler=v=>{const E=k.chunkGraph;const P=new Set;const R=new Set;for(const v of k.modules){if(!v.hasChunkCondition())continue;for(const L of E.getModuleChunksIterable(v)){if(!v.chunkCondition(L,k)){P.add(L);for(const k of L.groupsIterable){R.add(k)}}}if(P.size===0)continue;const L=new Set;e:for(const E of R){for(const P of E.chunks){if(v.chunkCondition(P,k)){L.add(P);continue e}}if(E.isInitial()){throw new Error("Cannot fullfil chunk condition of "+v.identifier())}for(const k of E.parentsIterable){R.add(k)}}for(const k of P){E.disconnectChunkAndModule(k,v)}for(const k of L){E.connectChunkAndModule(k,v)}P.clear();R.clear()}};k.hooks.optimizeChunks.tap({name:"EnsureChunkConditionsPlugin",stage:P},handler)}))}}k.exports=EnsureChunkConditionsPlugin},63511:function(k){"use strict";class FlagIncludedChunksPlugin{apply(k){k.hooks.compilation.tap("FlagIncludedChunksPlugin",(k=>{k.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",(v=>{const E=k.chunkGraph;const P=new WeakMap;const R=k.modules.size;const L=1/Math.pow(1/R,1/31);const N=Array.from({length:31},((k,v)=>Math.pow(L,v)|0));let q=0;for(const v of k.modules){let k=30;while(q%N[k]!==0){k--}P.set(v,1<E.getNumberOfModuleChunks(v))R=v}e:for(const L of E.getModuleChunksIterable(R)){if(k===L)continue;const R=E.getNumberOfChunkModules(L);if(R===0)continue;if(P>R)continue;const N=ae.get(L);if((N&v)!==v)continue;for(const v of E.getChunkModulesIterable(k)){if(!E.isModuleInChunk(v,L))continue e}L.ids.push(k.id)}}}))}))}}k.exports=FlagIncludedChunksPlugin},88926:function(k,v,E){"use strict";const{UsageState:P}=E(11172);const R=new WeakMap;const L=Symbol("top level symbol");function getState(k){return R.get(k)}v.bailout=k=>{R.set(k,false)};v.enable=k=>{const v=R.get(k);if(v===false){return}R.set(k,{innerGraph:new Map,currentTopLevelSymbol:undefined,usageCallbackMap:new Map})};v.isEnabled=k=>{const v=R.get(k);return!!v};v.addUsage=(k,v,E)=>{const P=getState(k);if(P){const{innerGraph:k}=P;const R=k.get(v);if(E===true){k.set(v,true)}else if(R===undefined){k.set(v,new Set([E]))}else if(R!==true){R.add(E)}}};v.addVariableUsage=(k,E,P)=>{const R=k.getTagData(E,L)||v.tagTopLevelSymbol(k,E);if(R){v.addUsage(k.state,R,P)}};v.inferDependencyUsage=k=>{const v=getState(k);if(!v){return}const{innerGraph:E,usageCallbackMap:P}=v;const R=new Map;const L=new Set(E.keys());while(L.size>0){for(const k of L){let v=new Set;let P=true;const N=E.get(k);let q=R.get(k);if(q===undefined){q=new Set;R.set(k,q)}if(N!==true&&N!==undefined){for(const k of N){q.add(k)}for(const R of N){if(typeof R==="string"){v.add(R)}else{const L=E.get(R);if(L===true){v=true;break}if(L!==undefined){for(const E of L){if(E===k)continue;if(q.has(E))continue;v.add(E);if(typeof E!=="string"){P=false}}}}}if(v===true){E.set(k,true)}else if(v.size===0){E.set(k,undefined)}else{E.set(k,v)}}if(P){L.delete(k);if(k===null){const k=E.get(null);if(k){for(const[v,P]of E){if(v!==null&&P!==true){if(k===true){E.set(v,true)}else{const R=new Set(P);for(const v of k){R.add(v)}E.set(v,R)}}}}}}}}for(const[k,v]of P){const P=E.get(k);for(const k of v){k(P===undefined?false:P)}}};v.onUsage=(k,v)=>{const E=getState(k);if(E){const{usageCallbackMap:k,currentTopLevelSymbol:P}=E;if(P){let E=k.get(P);if(E===undefined){E=new Set;k.set(P,E)}E.add(v)}else{v(true)}}else{v(undefined)}};v.setTopLevelSymbol=(k,v)=>{const E=getState(k);if(E){E.currentTopLevelSymbol=v}};v.getTopLevelSymbol=k=>{const v=getState(k);if(v){return v.currentTopLevelSymbol}};v.tagTopLevelSymbol=(k,v)=>{const E=getState(k.state);if(!E)return;k.defineVariable(v);const P=k.getTagData(v,L);if(P){return P}const R=new TopLevelSymbol(v);k.tagVariable(v,L,R);return R};v.isDependencyUsedByExports=(k,v,E,R)=>{if(v===false)return false;if(v!==true&&v!==undefined){const L=E.getParentModule(k);const N=E.getExportsInfo(L);let q=false;for(const k of v){if(N.getUsed(k,R)!==P.Unused)q=true}if(!q)return false}return true};v.getDependencyUsedByExportsCondition=(k,v,E)=>{if(v===false)return false;if(v!==true&&v!==undefined){const R=E.getParentModule(k);const L=E.getExportsInfo(R);return(k,E)=>{for(const k of v){if(L.getUsed(k,E)!==P.Unused)return true}return false}}return null};class TopLevelSymbol{constructor(k){this.name=k}}v.TopLevelSymbol=TopLevelSymbol;v.topLevelSymbolTag=L},31911:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_ESM:R}=E(93622);const L=E(19308);const N=E(88926);const{topLevelSymbolTag:q}=N;const ae="InnerGraphPlugin";class InnerGraphPlugin{apply(k){k.hooks.compilation.tap(ae,((k,{normalModuleFactory:v})=>{const E=k.getLogger("webpack.InnerGraphPlugin");k.dependencyTemplates.set(L,new L.Template);const handler=(k,v)=>{const onUsageSuper=v=>{N.onUsage(k.state,(E=>{switch(E){case undefined:case true:return;default:{const P=new L(v.range);P.loc=v.loc;P.usedByExports=E;k.state.module.addDependency(P);break}}}))};k.hooks.program.tap(ae,(()=>{N.enable(k.state)}));k.hooks.finish.tap(ae,(()=>{if(!N.isEnabled(k.state))return;E.time("infer dependency usage");N.inferDependencyUsage(k.state);E.timeAggregate("infer dependency usage")}));const P=new WeakMap;const R=new WeakMap;const le=new WeakMap;const pe=new WeakMap;const me=new WeakSet;k.hooks.preStatement.tap(ae,(v=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true){if(v.type==="FunctionDeclaration"){const E=v.id?v.id.name:"*default*";const R=N.tagTopLevelSymbol(k,E);P.set(v,R);return true}}}));k.hooks.blockPreStatement.tap(ae,(v=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true){if(v.type==="ClassDeclaration"&&k.isPure(v,v.range[0])){const E=v.id?v.id.name:"*default*";const P=N.tagTopLevelSymbol(k,E);le.set(v,P);return true}if(v.type==="ExportDefaultDeclaration"){const E="*default*";const L=N.tagTopLevelSymbol(k,E);const q=v.declaration;if((q.type==="ClassExpression"||q.type==="ClassDeclaration")&&k.isPure(q,q.range[0])){le.set(q,L)}else if(k.isPure(q,v.range[0])){P.set(v,L);if(!q.type.endsWith("FunctionExpression")&&!q.type.endsWith("Declaration")&&q.type!=="Literal"){R.set(v,q)}}}}}));k.hooks.preDeclarator.tap(ae,((v,E)=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true&&v.init&&v.id.type==="Identifier"){const E=v.id.name;if(v.init.type==="ClassExpression"&&k.isPure(v.init,v.id.range[1])){const P=N.tagTopLevelSymbol(k,E);le.set(v.init,P)}else if(k.isPure(v.init,v.id.range[1])){const P=N.tagTopLevelSymbol(k,E);pe.set(v,P);if(!v.init.type.endsWith("FunctionExpression")&&v.init.type!=="Literal"){me.add(v)}return true}}}));k.hooks.statement.tap(ae,(v=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true){N.setTopLevelSymbol(k.state,undefined);const E=P.get(v);if(E){N.setTopLevelSymbol(k.state,E);const P=R.get(v);if(P){N.onUsage(k.state,(E=>{switch(E){case undefined:case true:return;default:{const R=new L(P.range);R.loc=v.loc;R.usedByExports=E;k.state.module.addDependency(R);break}}}))}}}}));k.hooks.classExtendsExpression.tap(ae,((v,E)=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true){const P=le.get(E);if(P&&k.isPure(v,E.id?E.id.range[1]:E.range[0])){N.setTopLevelSymbol(k.state,P);onUsageSuper(v)}}}));k.hooks.classBodyElement.tap(ae,((v,E)=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true){const v=le.get(E);if(v){N.setTopLevelSymbol(k.state,undefined)}}}));k.hooks.classBodyValue.tap(ae,((v,E,P)=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true){const R=le.get(P);if(R){if(!E.static||k.isPure(v,E.key?E.key.range[1]:E.range[0])){N.setTopLevelSymbol(k.state,R);if(E.type!=="MethodDefinition"&&E.static){N.onUsage(k.state,(E=>{switch(E){case undefined:case true:return;default:{const P=new L(v.range);P.loc=v.loc;P.usedByExports=E;k.state.module.addDependency(P);break}}}))}}else{N.setTopLevelSymbol(k.state,undefined)}}}}));k.hooks.declarator.tap(ae,((v,E)=>{if(!N.isEnabled(k.state))return;const P=pe.get(v);if(P){N.setTopLevelSymbol(k.state,P);if(me.has(v)){if(v.init.type==="ClassExpression"){if(v.init.superClass){onUsageSuper(v.init.superClass)}}else{N.onUsage(k.state,(E=>{switch(E){case undefined:case true:return;default:{const P=new L(v.init.range);P.loc=v.loc;P.usedByExports=E;k.state.module.addDependency(P);break}}}))}}k.walkExpression(v.init);N.setTopLevelSymbol(k.state,undefined);return true}}));k.hooks.expression.for(q).tap(ae,(()=>{const v=k.currentTagData;const E=N.getTopLevelSymbol(k.state);N.addUsage(k.state,v,E||true)}));k.hooks.assign.for(q).tap(ae,(v=>{if(!N.isEnabled(k.state))return;if(v.operator==="=")return true}))};v.hooks.parser.for(P).tap(ae,handler);v.hooks.parser.for(R).tap(ae,handler);k.hooks.finishModules.tap(ae,(()=>{E.timeAggregateEnd("infer dependency usage")}))}))}}k.exports=InnerGraphPlugin},17452:function(k,v,E){"use strict";const{STAGE_ADVANCED:P}=E(99134);const R=E(50680);const{compareChunks:L}=E(95648);const N=E(92198);const q=N(E(39559),(()=>E(30355)),{name:"Limit Chunk Count Plugin",baseDataPath:"options"});const addToSetMap=(k,v,E)=>{const P=k.get(v);if(P===undefined){k.set(v,new Set([E]))}else{P.add(E)}};class LimitChunkCountPlugin{constructor(k){q(k);this.options=k}apply(k){const v=this.options;k.hooks.compilation.tap("LimitChunkCountPlugin",(k=>{k.hooks.optimizeChunks.tap({name:"LimitChunkCountPlugin",stage:P},(E=>{const P=k.chunkGraph;const N=v.maxChunks;if(!N)return;if(N<1)return;if(k.chunks.size<=N)return;let q=k.chunks.size-N;const ae=L(P);const le=Array.from(E).sort(ae);const pe=new R((k=>k.sizeDiff),((k,v)=>v-k),(k=>k.integratedSize),((k,v)=>k-v),(k=>k.bIdx-k.aIdx),((k,v)=>k-v),((k,v)=>k.bIdx-v.bIdx));const me=new Map;le.forEach(((k,E)=>{for(let R=0;R0){const k=new Set(R.groupsIterable);for(const v of L.groupsIterable){k.add(v)}for(const v of k){for(const k of ye){if(k!==R&&k!==L&&k.isInGroup(v)){q--;if(q<=0)break e;ye.add(R);ye.add(L);continue e}}for(const E of v.parentsIterable){k.add(E)}}}if(P.canChunksBeIntegrated(R,L)){P.integrateChunks(R,L);k.chunks.delete(L);ye.add(R);_e=true;q--;if(q<=0)break;for(const k of me.get(R)){if(k.deleted)continue;k.deleted=true;pe.delete(k)}for(const k of me.get(L)){if(k.deleted)continue;if(k.a===L){if(!P.canChunksBeIntegrated(R,k.b)){k.deleted=true;pe.delete(k);continue}const E=P.getIntegratedChunksSize(R,k.b,v);const L=pe.startUpdate(k);k.a=R;k.integratedSize=E;k.aSize=N;k.sizeDiff=k.bSize+N-E;L()}else if(k.b===L){if(!P.canChunksBeIntegrated(k.a,R)){k.deleted=true;pe.delete(k);continue}const E=P.getIntegratedChunksSize(k.a,R,v);const L=pe.startUpdate(k);k.b=R;k.integratedSize=E;k.bSize=N;k.sizeDiff=N+k.aSize-E;L()}}me.set(R,me.get(L));me.delete(L)}}if(_e)return true}))}))}}k.exports=LimitChunkCountPlugin},45287:function(k,v,E){"use strict";const{UsageState:P}=E(11172);const{numberToIdentifier:R,NUMBER_OF_IDENTIFIER_START_CHARS:L,NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:N}=E(95041);const{assignDeterministicIds:q}=E(88667);const{compareSelect:ae,compareStringsNumeric:le}=E(95648);const canMangle=k=>{if(k.otherExportsInfo.getUsed(undefined)!==P.Unused)return false;let v=false;for(const E of k.exports){if(E.canMangle===true){v=true}}return v};const pe=ae((k=>k.name),le);const mangleExportsInfo=(k,v,E)=>{if(!canMangle(v))return;const ae=new Set;const le=[];let me=!E;if(!me&&k){for(const k of v.ownedExports){if(k.provided!==false){me=true;break}}}for(const E of v.ownedExports){const v=E.name;if(!E.hasUsedName()){if(E.canMangle!==true||v.length===1&&/^[a-zA-Z0-9_$]/.test(v)||k&&v.length===2&&/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(v)||me&&E.provided!==true){E.setUsedName(v);ae.add(v)}else{le.push(E)}}if(E.exportsInfoOwned){const v=E.getUsed(undefined);if(v===P.OnlyPropertiesUsed||v===P.Unused){mangleExportsInfo(k,E.exportsInfo,false)}}}if(k){q(le,(k=>k.name),pe,((k,v)=>{const E=R(v);const P=ae.size;ae.add(E);if(P===ae.size)return false;k.setUsedName(E);return true}),[L,L*N],N,ae.size)}else{const k=[];const v=[];for(const E of le){if(E.getUsed(undefined)===P.Unused){v.push(E)}else{k.push(E)}}k.sort(pe);v.sort(pe);let E=0;for(const P of[k,v]){for(const k of P){let v;do{v=R(E++)}while(ae.has(v));k.setUsedName(v)}}}};class MangleExportsPlugin{constructor(k){this._deterministic=k}apply(k){const{_deterministic:v}=this;k.hooks.compilation.tap("MangleExportsPlugin",(k=>{const E=k.moduleGraph;k.hooks.optimizeCodeGeneration.tap("MangleExportsPlugin",(P=>{if(k.moduleMemCaches){throw new Error("optimization.mangleExports can't be used with cacheUnaffected as export mangling is a global effect")}for(const k of P){const P=k.buildMeta&&k.buildMeta.exportsType==="namespace";const R=E.getExportsInfo(k);mangleExportsInfo(v,R,P)}}))}))}}k.exports=MangleExportsPlugin},79008:function(k,v,E){"use strict";const{STAGE_BASIC:P}=E(99134);const{runtimeEqual:R}=E(1540);class MergeDuplicateChunksPlugin{apply(k){k.hooks.compilation.tap("MergeDuplicateChunksPlugin",(k=>{k.hooks.optimizeChunks.tap({name:"MergeDuplicateChunksPlugin",stage:P},(v=>{const{chunkGraph:E,moduleGraph:P}=k;const L=new Set;for(const N of v){let v;for(const k of E.getChunkModulesIterable(N)){if(v===undefined){for(const P of E.getModuleChunksIterable(k)){if(P!==N&&E.getNumberOfChunkModules(N)===E.getNumberOfChunkModules(P)&&!L.has(P)){if(v===undefined){v=new Set}v.add(P)}}if(v===undefined)break}else{for(const P of v){if(!E.isModuleInChunk(k,P)){v.delete(P)}}if(v.size===0)break}}if(v!==undefined&&v.size>0){e:for(const L of v){if(L.hasRuntime()!==N.hasRuntime())continue;if(E.getNumberOfEntryModules(N)>0)continue;if(E.getNumberOfEntryModules(L)>0)continue;if(!R(N.runtime,L.runtime)){for(const k of E.getChunkModulesIterable(N)){const v=P.getExportsInfo(k);if(!v.isEquallyUsed(N.runtime,L.runtime)){continue e}}}if(E.canChunksBeIntegrated(N,L)){E.integrateChunks(N,L);k.chunks.delete(L)}}}L.add(N)}}))}))}}k.exports=MergeDuplicateChunksPlugin},25971:function(k,v,E){"use strict";const{STAGE_ADVANCED:P}=E(99134);const R=E(92198);const L=R(E(30666),(()=>E(78782)),{name:"Min Chunk Size Plugin",baseDataPath:"options"});class MinChunkSizePlugin{constructor(k){L(k);this.options=k}apply(k){const v=this.options;const E=v.minChunkSize;k.hooks.compilation.tap("MinChunkSizePlugin",(k=>{k.hooks.optimizeChunks.tap({name:"MinChunkSizePlugin",stage:P},(P=>{const R=k.chunkGraph;const L={chunkOverhead:1,entryChunkMultiplicator:1};const N=new Map;const q=[];const ae=[];const le=[];for(const k of P){if(R.getChunkSize(k,L){const E=N.get(k[0]);const P=N.get(k[1]);const L=R.getIntegratedChunksSize(k[0],k[1],v);const q=[E+P-L,L,k[0],k[1]];return q})).sort(((k,v)=>{const E=v[0]-k[0];if(E!==0)return E;return k[1]-v[1]}));if(pe.length===0)return;const me=pe[0];R.integrateChunks(me[2],me[3]);k.chunks.delete(me[3]);return true}))}))}}k.exports=MinChunkSizePlugin},47490:function(k,v,E){"use strict";const P=E(3386);const R=E(71572);class MinMaxSizeWarning extends R{constructor(k,v,E){let R="Fallback cache group";if(k){R=k.length>1?`Cache groups ${k.sort().join(", ")}`:`Cache group ${k[0]}`}super(`SplitChunksPlugin\n`+`${R}\n`+`Configured minSize (${P.formatSize(v)}) is `+`bigger than maxSize (${P.formatSize(E)}).\n`+"This seem to be a invalid optimization.splitChunks configuration.")}}k.exports=MinMaxSizeWarning},30899:function(k,v,E){"use strict";const P=E(78175);const R=E(38317);const L=E(88223);const{STAGE_DEFAULT:N}=E(99134);const q=E(69184);const{compareModulesByIdentifier:ae}=E(95648);const{intersectRuntime:le,mergeRuntimeOwned:pe,filterRuntime:me,runtimeToString:ye,mergeRuntime:_e}=E(1540);const Ie=E(94978);const formatBailoutReason=k=>"ModuleConcatenation bailout: "+k;class ModuleConcatenationPlugin{constructor(k){if(typeof k!=="object")k={};this.options=k}apply(k){const{_backCompat:v}=k;k.hooks.compilation.tap("ModuleConcatenationPlugin",(E=>{if(E.moduleMemCaches){throw new Error("optimization.concatenateModules can't be used with cacheUnaffected as module concatenation is a global effect")}const ae=E.moduleGraph;const le=new Map;const setBailoutReason=(k,v)=>{setInnerBailoutReason(k,v);ae.getOptimizationBailout(k).push(typeof v==="function"?k=>formatBailoutReason(v(k)):formatBailoutReason(v))};const setInnerBailoutReason=(k,v)=>{le.set(k,v)};const getInnerBailoutReason=(k,v)=>{const E=le.get(k);if(typeof E==="function")return E(v);return E};const formatBailoutWarning=(k,v)=>E=>{if(typeof v==="function"){return formatBailoutReason(`Cannot concat with ${k.readableIdentifier(E)}: ${v(E)}`)}const P=getInnerBailoutReason(k,E);const R=P?`: ${P}`:"";if(k===v){return formatBailoutReason(`Cannot concat with ${k.readableIdentifier(E)}${R}`)}else{return formatBailoutReason(`Cannot concat with ${k.readableIdentifier(E)} because of ${v.readableIdentifier(E)}${R}`)}};E.hooks.optimizeChunkModules.tapAsync({name:"ModuleConcatenationPlugin",stage:N},((N,ae,le)=>{const ye=E.getLogger("webpack.ModuleConcatenationPlugin");const{chunkGraph:_e,moduleGraph:Me}=E;const Te=[];const je=new Set;const Ne={chunkGraph:_e,moduleGraph:Me};ye.time("select relevant modules");for(const k of ae){let v=true;let E=true;const P=k.getConcatenationBailoutReason(Ne);if(P){setBailoutReason(k,P);continue}if(Me.isAsync(k)){setBailoutReason(k,`Module is async`);continue}if(!k.buildInfo.strict){setBailoutReason(k,`Module is not in strict mode`);continue}if(_e.getNumberOfModuleChunks(k)===0){setBailoutReason(k,"Module is not in any chunk");continue}const R=Me.getExportsInfo(k);const L=R.getRelevantExports(undefined);const N=L.filter((k=>k.isReexport()&&!k.getTarget(Me)));if(N.length>0){setBailoutReason(k,`Reexports in this module do not have a static target (${Array.from(N,(k=>`${k.name||"other exports"}: ${k.getUsedInfo()}`)).join(", ")})`);continue}const q=L.filter((k=>k.provided!==true));if(q.length>0){setBailoutReason(k,`List of module exports is dynamic (${Array.from(q,(k=>`${k.name||"other exports"}: ${k.getProvidedInfo()} and ${k.getUsedInfo()}`)).join(", ")})`);v=false}if(_e.isEntryModule(k)){setInnerBailoutReason(k,"Module is an entry point");E=false}if(v)Te.push(k);if(E)je.add(k)}ye.timeEnd("select relevant modules");ye.debug(`${Te.length} potential root modules, ${je.size} potential inner modules`);ye.time("sort relevant modules");Te.sort(((k,v)=>Me.getDepth(k)-Me.getDepth(v)));ye.timeEnd("sort relevant modules");const Be={cached:0,alreadyInConfig:0,invalidModule:0,incorrectChunks:0,incorrectDependency:0,incorrectModuleDependency:0,incorrectChunksOfImporter:0,incorrectRuntimeCondition:0,importerFailed:0,added:0};let qe=0;let Ue=0;let Ge=0;ye.time("find modules to concatenate");const He=[];const We=new Set;for(const k of Te){if(We.has(k))continue;let v=undefined;for(const E of _e.getModuleRuntimes(k)){v=pe(v,E)}const P=Me.getExportsInfo(k);const R=me(v,(k=>P.isModuleUsed(k)));const L=R===true?v:R===false?undefined:R;const N=new ConcatConfiguration(k,L);const q=new Map;const ae=new Set;for(const v of this._getImports(E,k,L)){ae.add(v)}for(const k of ae){const P=new Set;const R=this._tryToAdd(E,N,k,v,L,je,P,q,_e,true,Be);if(R){q.set(k,R);N.addWarning(k,R)}else{for(const k of P){ae.add(k)}}}qe+=ae.size;if(!N.isEmpty()){const k=N.getModules();Ue+=k.size;He.push(N);for(const v of k){if(v!==N.rootModule){We.add(v)}}}else{Ge++;const v=Me.getOptimizationBailout(k);for(const k of N.getWarningsSorted()){v.push(formatBailoutWarning(k[0],k[1]))}}}ye.timeEnd("find modules to concatenate");ye.debug(`${He.length} successful concat configurations (avg size: ${Ue/He.length}), ${Ge} bailed out completely`);ye.debug(`${qe} candidates were considered for adding (${Be.cached} cached failure, ${Be.alreadyInConfig} already in config, ${Be.invalidModule} invalid module, ${Be.incorrectChunks} incorrect chunks, ${Be.incorrectDependency} incorrect dependency, ${Be.incorrectChunksOfImporter} incorrect chunks of importer, ${Be.incorrectModuleDependency} incorrect module dependency, ${Be.incorrectRuntimeCondition} incorrect runtime condition, ${Be.importerFailed} importer failed, ${Be.added} added)`);ye.time(`sort concat configurations`);He.sort(((k,v)=>v.modules.size-k.modules.size));ye.timeEnd(`sort concat configurations`);const Qe=new Set;ye.time("create concatenated modules");P.each(He,((P,N)=>{const ae=P.rootModule;if(Qe.has(ae))return N();const le=P.getModules();for(const k of le){Qe.add(k)}let pe=Ie.create(ae,le,P.runtime,k.root,E.outputOptions.hashFunction);const build=()=>{pe.build(k.options,E,null,null,(k=>{if(k){if(!k.module){k.module=pe}return N(k)}integrate()}))};const integrate=()=>{if(v){R.setChunkGraphForModule(pe,_e);L.setModuleGraphForModule(pe,Me)}for(const k of P.getWarningsSorted()){Me.getOptimizationBailout(pe).push(formatBailoutWarning(k[0],k[1]))}Me.cloneModuleAttributes(ae,pe);for(const k of le){if(E.builtModules.has(k)){E.builtModules.add(pe)}if(k!==ae){Me.copyOutgoingModuleConnections(k,pe,(v=>v.originModule===k&&!(v.dependency instanceof q&&le.has(v.module))));for(const v of _e.getModuleChunksIterable(ae)){const E=_e.getChunkModuleSourceTypes(v,k);if(E.size===1){_e.disconnectChunkAndModule(v,k)}else{const P=new Set(E);P.delete("javascript");_e.setChunkModuleSourceTypes(v,k,P)}}}}E.modules.delete(ae);R.clearChunkGraphForModule(ae);L.clearModuleGraphForModule(ae);_e.replaceModule(ae,pe);Me.moveModuleConnections(ae,pe,(k=>{const v=k.module===ae?k.originModule:k.module;const E=k.dependency instanceof q&&le.has(v);return!E}));E.modules.add(pe);N()};build()}),(k=>{ye.timeEnd("create concatenated modules");process.nextTick(le.bind(null,k))}))}))}))}_getImports(k,v,E){const P=k.moduleGraph;const R=new Set;for(const L of v.dependencies){if(!(L instanceof q))continue;const N=P.getConnection(L);if(!N||!N.module||!N.isTargetActive(E)){continue}const ae=k.getDependencyReferencedExports(L,undefined);if(ae.every((k=>Array.isArray(k)?k.length>0:k.name.length>0))||Array.isArray(P.getProvidedExports(v))){R.add(N.module)}}return R}_tryToAdd(k,v,E,P,R,L,N,Ie,Me,Te,je){const Ne=Ie.get(E);if(Ne){je.cached++;return Ne}if(v.has(E)){je.alreadyInConfig++;return null}if(!L.has(E)){je.invalidModule++;Ie.set(E,E);return E}const Be=Array.from(Me.getModuleChunksIterable(v.rootModule)).filter((k=>!Me.isModuleInChunk(E,k)));if(Be.length>0){const problem=k=>{const v=Array.from(new Set(Be.map((k=>k.name||"unnamed chunk(s)")))).sort();const P=Array.from(new Set(Array.from(Me.getModuleChunksIterable(E)).map((k=>k.name||"unnamed chunk(s)")))).sort();return`Module ${E.readableIdentifier(k)} is not in the same chunk(s) (expected in chunk(s) ${v.join(", ")}, module is in chunk(s) ${P.join(", ")})`};je.incorrectChunks++;Ie.set(E,problem);return problem}const qe=k.moduleGraph;const Ue=qe.getIncomingConnectionsByOriginModule(E);const Ge=Ue.get(null)||Ue.get(undefined);if(Ge){const k=Ge.filter((k=>k.isActive(P)));if(k.length>0){const problem=v=>{const P=new Set(k.map((k=>k.explanation)).filter(Boolean));const R=Array.from(P).sort();return`Module ${E.readableIdentifier(v)} is referenced ${R.length>0?`by: ${R.join(", ")}`:"in an unsupported way"}`};je.incorrectDependency++;Ie.set(E,problem);return problem}}const He=new Map;for(const[k,v]of Ue){if(k){if(Me.getNumberOfModuleChunks(k)===0)continue;let E=undefined;for(const v of Me.getModuleRuntimes(k)){E=pe(E,v)}if(!le(P,E))continue;const R=v.filter((k=>k.isActive(P)));if(R.length>0)He.set(k,R)}}const We=Array.from(He.keys());const Qe=We.filter((k=>{for(const E of Me.getModuleChunksIterable(v.rootModule)){if(!Me.isModuleInChunk(k,E)){return true}}return false}));if(Qe.length>0){const problem=k=>{const v=Qe.map((v=>v.readableIdentifier(k))).sort();return`Module ${E.readableIdentifier(k)} is referenced from different chunks by these modules: ${v.join(", ")}`};je.incorrectChunksOfImporter++;Ie.set(E,problem);return problem}const Je=new Map;for(const[k,v]of He){const E=v.filter((k=>!k.dependency||!(k.dependency instanceof q)));if(E.length>0)Je.set(k,v)}if(Je.size>0){const problem=k=>{const v=Array.from(Je).map((([v,E])=>`${v.readableIdentifier(k)} (referenced with ${Array.from(new Set(E.map((k=>k.dependency&&k.dependency.type)).filter(Boolean))).sort().join(", ")})`)).sort();return`Module ${E.readableIdentifier(k)} is referenced from these modules with unsupported syntax: ${v.join(", ")}`};je.incorrectModuleDependency++;Ie.set(E,problem);return problem}if(P!==undefined&&typeof P!=="string"){const k=[];e:for(const[v,E]of He){let R=false;for(const k of E){const v=me(P,(v=>k.isTargetActive(v)));if(v===false)continue;if(v===true)continue e;if(R!==false){R=_e(R,v)}else{R=v}}if(R!==false){k.push({originModule:v,runtimeCondition:R})}}if(k.length>0){const problem=v=>`Module ${E.readableIdentifier(v)} is runtime-dependent referenced by these modules: ${Array.from(k,(({originModule:k,runtimeCondition:E})=>`${k.readableIdentifier(v)} (expected runtime ${ye(P)}, module is only referenced in ${ye(E)})`)).join(", ")}`;je.incorrectRuntimeCondition++;Ie.set(E,problem);return problem}}let Ve;if(Te){Ve=v.snapshot()}v.add(E);We.sort(ae);for(const q of We){const ae=this._tryToAdd(k,v,q,P,R,L,N,Ie,Me,false,je);if(ae){if(Ve!==undefined)v.rollback(Ve);je.importerFailed++;Ie.set(E,ae);return ae}}for(const v of this._getImports(k,E,P)){N.add(v)}je.added++;return null}}class ConcatConfiguration{constructor(k,v){this.rootModule=k;this.runtime=v;this.modules=new Set;this.modules.add(k);this.warnings=new Map}add(k){this.modules.add(k)}has(k){return this.modules.has(k)}isEmpty(){return this.modules.size===1}addWarning(k,v){this.warnings.set(k,v)}getWarningsSorted(){return new Map(Array.from(this.warnings).sort(((k,v)=>{const E=k[0].identifier();const P=v[0].identifier();if(EP)return 1;return 0})))}getModules(){return this.modules}snapshot(){return this.modules.size}rollback(k){const v=this.modules;for(const E of v){if(k===0){v.delete(E)}else{k--}}}}k.exports=ModuleConcatenationPlugin},71183:function(k,v,E){"use strict";const{SyncBailHook:P}=E(79846);const{RawSource:R,CachedSource:L,CompatSource:N}=E(51255);const q=E(27747);const ae=E(71572);const{compareSelect:le,compareStrings:pe}=E(95648);const me=E(74012);const ye=new Set;const addToList=(k,v)=>{if(Array.isArray(k)){for(const E of k){v.add(E)}}else if(k){v.add(k)}};const mapAndDeduplicateBuffers=(k,v)=>{const E=[];e:for(const P of k){const k=v(P);for(const v of E){if(k.equals(v))continue e}E.push(k)}return E};const quoteMeta=k=>k.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const _e=new WeakMap;const toCachedSource=k=>{if(k instanceof L){return k}const v=_e.get(k);if(v!==undefined)return v;const E=new L(N.from(k));_e.set(k,E);return E};const Ie=new WeakMap;class RealContentHashPlugin{static getCompilationHooks(k){if(!(k instanceof q)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=Ie.get(k);if(v===undefined){v={updateHash:new P(["content","oldHash"])};Ie.set(k,v)}return v}constructor({hashFunction:k,hashDigest:v}){this._hashFunction=k;this._hashDigest=v}apply(k){k.hooks.compilation.tap("RealContentHashPlugin",(k=>{const v=k.getCache("RealContentHashPlugin|analyse");const E=k.getCache("RealContentHashPlugin|generate");const P=RealContentHashPlugin.getCompilationHooks(k);k.hooks.processAssets.tapPromise({name:"RealContentHashPlugin",stage:q.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH},(async()=>{const L=k.getAssets();const N=[];const q=new Map;for(const{source:k,info:v,name:E}of L){const P=toCachedSource(k);const R=P.source();const L=new Set;addToList(v.contenthash,L);const ae={name:E,info:v,source:P,newSource:undefined,newSourceWithoutOwn:undefined,content:R,ownHashes:undefined,contentComputePromise:undefined,contentComputeWithoutOwnPromise:undefined,referencedHashes:undefined,hashes:L};N.push(ae);for(const k of L){const v=q.get(k);if(v===undefined){q.set(k,[ae])}else{v.push(ae)}}}if(q.size===0)return;const _e=new RegExp(Array.from(q.keys(),quoteMeta).join("|"),"g");await Promise.all(N.map((async k=>{const{name:E,source:P,content:R,hashes:L}=k;if(Buffer.isBuffer(R)){k.referencedHashes=ye;k.ownHashes=ye;return}const N=v.mergeEtags(v.getLazyHashedEtag(P),Array.from(L).join("|"));[k.referencedHashes,k.ownHashes]=await v.providePromise(E,N,(()=>{const k=new Set;let v=new Set;const E=R.match(_e);if(E){for(const P of E){if(L.has(P)){v.add(P);continue}k.add(P)}}return[k,v]}))})));const getDependencies=v=>{const E=q.get(v);if(!E){const E=N.filter((k=>k.referencedHashes.has(v)));const P=new ae(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${v}) 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${E.map((k=>{const E=new RegExp(`.{0,20}${quoteMeta(v)}.{0,20}`).exec(k.content);return` - ${k.name}: ...${E?E[0]:"???"}...`})).join("\n")}`);k.errors.push(P);return undefined}const P=new Set;for(const{referencedHashes:k,ownHashes:R}of E){if(!R.has(v)){for(const k of R){P.add(k)}}for(const v of k){P.add(v)}}return P};const hashInfo=k=>{const v=q.get(k);return`${k} (${Array.from(v,(k=>k.name))})`};const Ie=new Set;for(const k of q.keys()){const add=(k,v)=>{const E=getDependencies(k);if(!E)return;v.add(k);for(const k of E){if(Ie.has(k))continue;if(v.has(k)){throw new Error(`Circular hash dependency ${Array.from(v,hashInfo).join(" -> ")} -> ${hashInfo(k)}`)}add(k,v)}Ie.add(k);v.delete(k)};if(Ie.has(k))continue;add(k,new Set)}const Me=new Map;const getEtag=k=>E.mergeEtags(E.getLazyHashedEtag(k.source),Array.from(k.referencedHashes,(k=>Me.get(k))).join("|"));const computeNewContent=k=>{if(k.contentComputePromise)return k.contentComputePromise;return k.contentComputePromise=(async()=>{if(k.ownHashes.size>0||Array.from(k.referencedHashes).some((k=>Me.get(k)!==k))){const v=k.name;const P=getEtag(k);k.newSource=await E.providePromise(v,P,(()=>{const v=k.content.replace(_e,(k=>Me.get(k)));return new R(v)}))}})()};const computeNewContentWithoutOwn=k=>{if(k.contentComputeWithoutOwnPromise)return k.contentComputeWithoutOwnPromise;return k.contentComputeWithoutOwnPromise=(async()=>{if(k.ownHashes.size>0||Array.from(k.referencedHashes).some((k=>Me.get(k)!==k))){const v=k.name+"|without-own";const P=getEtag(k);k.newSourceWithoutOwn=await E.providePromise(v,P,(()=>{const v=k.content.replace(_e,(v=>{if(k.ownHashes.has(v)){return""}return Me.get(v)}));return new R(v)}))}})()};const Te=le((k=>k.name),pe);for(const v of Ie){const E=q.get(v);E.sort(Te);await Promise.all(E.map((k=>k.ownHashes.has(v)?computeNewContentWithoutOwn(k):computeNewContent(k))));const R=mapAndDeduplicateBuffers(E,(k=>{if(k.ownHashes.has(v)){return k.newSourceWithoutOwn?k.newSourceWithoutOwn.buffer():k.source.buffer()}else{return k.newSource?k.newSource.buffer():k.source.buffer()}}));let L=P.updateHash.call(R,v);if(!L){const E=me(this._hashFunction);if(k.outputOptions.hashSalt){E.update(k.outputOptions.hashSalt)}for(const k of R){E.update(k)}const P=E.digest(this._hashDigest);L=P.slice(0,v.length)}Me.set(v,L)}await Promise.all(N.map((async v=>{await computeNewContent(v);const E=v.name.replace(_e,(k=>Me.get(k)));const P={};const R=v.info.contenthash;P.contenthash=Array.isArray(R)?R.map((k=>Me.get(k))):Me.get(R);if(v.newSource!==undefined){k.updateAsset(v.name,v.newSource,P)}else{k.updateAsset(v.name,v.source,P)}if(v.name!==E){k.renameAsset(v.name,E)}})))}))}))}}k.exports=RealContentHashPlugin},37238:function(k,v,E){"use strict";const{STAGE_BASIC:P,STAGE_ADVANCED:R}=E(99134);class RemoveEmptyChunksPlugin{apply(k){k.hooks.compilation.tap("RemoveEmptyChunksPlugin",(k=>{const handler=v=>{const E=k.chunkGraph;for(const P of v){if(E.getNumberOfChunkModules(P)===0&&!P.hasRuntime()&&E.getNumberOfEntryModules(P)===0){k.chunkGraph.disconnectChunk(P);k.chunks.delete(P)}}};k.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:P},handler);k.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:R},handler)}))}}k.exports=RemoveEmptyChunksPlugin},21352:function(k,v,E){"use strict";const{STAGE_BASIC:P}=E(99134);const R=E(28226);const{intersect:L}=E(59959);class RemoveParentModulesPlugin{apply(k){k.hooks.compilation.tap("RemoveParentModulesPlugin",(k=>{const handler=(v,E)=>{const P=k.chunkGraph;const N=new R;const q=new WeakMap;for(const v of k.entrypoints.values()){q.set(v,new Set);for(const k of v.childrenIterable){N.enqueue(k)}}for(const v of k.asyncEntrypoints){q.set(v,new Set);for(const k of v.childrenIterable){N.enqueue(k)}}while(N.length>0){const k=N.dequeue();let v=q.get(k);let E=false;for(const R of k.parentsIterable){const L=q.get(R);if(L!==undefined){if(v===undefined){v=new Set(L);for(const k of R.chunks){for(const E of P.getChunkModulesIterable(k)){v.add(E)}}q.set(k,v);E=true}else{for(const k of v){if(!P.isModuleInChunkGroup(k,R)&&!L.has(k)){v.delete(k);E=true}}}}}if(E){for(const v of k.childrenIterable){N.enqueue(v)}}}for(const k of v){const v=Array.from(k.groupsIterable,(k=>q.get(k)));if(v.some((k=>k===undefined)))continue;const E=v.length===1?v[0]:L(v);const R=P.getNumberOfChunkModules(k);const N=new Set;if(R`runtime~${k.name}`,...k}}apply(k){k.hooks.thisCompilation.tap("RuntimeChunkPlugin",(k=>{k.hooks.addEntry.tap("RuntimeChunkPlugin",((v,{name:E})=>{if(E===undefined)return;const P=k.entries.get(E);if(P.options.runtime===undefined&&!P.options.dependOn){let k=this.options.name;if(typeof k==="function"){k=k({name:E})}P.options.runtime=k}}))}))}}k.exports=RuntimeChunkPlugin},57214:function(k,v,E){"use strict";const P=E(21660);const{JAVASCRIPT_MODULE_TYPE_AUTO:R,JAVASCRIPT_MODULE_TYPE_ESM:L,JAVASCRIPT_MODULE_TYPE_DYNAMIC:N}=E(93622);const{STAGE_DEFAULT:q}=E(99134);const ae=E(44827);const le=E(56390);const pe=E(1811);const me=new WeakMap;const globToRegexp=(k,v)=>{const E=v.get(k);if(E!==undefined)return E;if(!k.includes("/")){k=`**/${k}`}const R=P(k,{globstar:true,extended:true});const L=R.source;const N=new RegExp("^(\\./)?"+L.slice(1));v.set(k,N);return N};const ye="SideEffectsFlagPlugin";class SideEffectsFlagPlugin{constructor(k=true){this._analyseSource=k}apply(k){let v=me.get(k.root);if(v===undefined){v=new Map;me.set(k.root,v)}k.hooks.compilation.tap(ye,((k,{normalModuleFactory:E})=>{const P=k.moduleGraph;E.hooks.module.tap(ye,((k,E)=>{const P=E.resourceResolveData;if(P&&P.descriptionFileData&&P.relativePath){const E=P.descriptionFileData.sideEffects;if(E!==undefined){if(k.factoryMeta===undefined){k.factoryMeta={}}const R=SideEffectsFlagPlugin.moduleHasSideEffects(P.relativePath,E,v);k.factoryMeta.sideEffectFree=!R}}return k}));E.hooks.module.tap(ye,((k,v)=>{if(typeof v.settings.sideEffects==="boolean"){if(k.factoryMeta===undefined){k.factoryMeta={}}k.factoryMeta.sideEffectFree=!v.settings.sideEffects}return k}));if(this._analyseSource){const parserHandler=k=>{let v;k.hooks.program.tap(ye,(()=>{v=undefined}));k.hooks.statement.tap({name:ye,stage:-100},(E=>{if(v)return;if(k.scope.topLevelScope!==true)return;switch(E.type){case"ExpressionStatement":if(!k.isPure(E.expression,E.range[0])){v=E}break;case"IfStatement":case"WhileStatement":case"DoWhileStatement":if(!k.isPure(E.test,E.range[0])){v=E}break;case"ForStatement":if(!k.isPure(E.init,E.range[0])||!k.isPure(E.test,E.init?E.init.range[1]:E.range[0])||!k.isPure(E.update,E.test?E.test.range[1]:E.init?E.init.range[1]:E.range[0])){v=E}break;case"SwitchStatement":if(!k.isPure(E.discriminant,E.range[0])){v=E}break;case"VariableDeclaration":case"ClassDeclaration":case"FunctionDeclaration":if(!k.isPure(E,E.range[0])){v=E}break;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":if(!k.isPure(E.declaration,E.range[0])){v=E}break;case"LabeledStatement":case"BlockStatement":break;case"EmptyStatement":break;case"ExportAllDeclaration":case"ImportDeclaration":break;default:v=E;break}}));k.hooks.finish.tap(ye,(()=>{if(v===undefined){k.state.module.buildMeta.sideEffectFree=true}else{const{loc:E,type:R}=v;P.getOptimizationBailout(k.state.module).push((()=>`Statement (${R}) with side effects in source code at ${pe(E)}`))}}))};for(const k of[R,L,N]){E.hooks.parser.for(k).tap(ye,parserHandler)}}k.hooks.optimizeDependencies.tap({name:ye,stage:q},(v=>{const E=k.getLogger("webpack.SideEffectsFlagPlugin");E.time("update dependencies");for(const k of v){if(k.getSideEffectsConnectionState(P)===false){const v=P.getExportsInfo(k);for(const E of P.getIncomingConnections(k)){const k=E.dependency;let R;if((R=k instanceof ae)||k instanceof le&&!k.namespaceObjectAsContext){if(R&&k.name){const v=P.getExportInfo(E.originModule,k.name);v.moveTarget(P,(({module:k})=>k.getSideEffectsConnectionState(P)===false),(({module:v,export:E})=>{P.updateModule(k,v);P.addExplanation(k,"(skipped side-effect-free modules)");const R=k.getIds(P);k.setIds(P,E?[...E,...R.slice(1)]:R.slice(1));return P.getConnection(k)}));continue}const L=k.getIds(P);if(L.length>0){const E=v.getExportInfo(L[0]);const R=E.getTarget(P,(({module:k})=>k.getSideEffectsConnectionState(P)===false));if(!R)continue;P.updateModule(k,R.module);P.addExplanation(k,"(skipped side-effect-free modules)");k.setIds(P,R.export?[...R.export,...L.slice(1)]:L.slice(1))}}}}}E.timeEnd("update dependencies")}))}))}static moduleHasSideEffects(k,v,E){switch(typeof v){case"undefined":return true;case"boolean":return v;case"string":return globToRegexp(v,E).test(k);case"object":return v.some((v=>SideEffectsFlagPlugin.moduleHasSideEffects(k,v,E)))}}}k.exports=SideEffectsFlagPlugin},30829:function(k,v,E){"use strict";const P=E(8247);const{STAGE_ADVANCED:R}=E(99134);const L=E(71572);const{requestToId:N}=E(88667);const{isSubset:q}=E(59959);const ae=E(46081);const{compareModulesByIdentifier:le,compareIterables:pe}=E(95648);const me=E(74012);const ye=E(12271);const{makePathsRelative:_e}=E(65315);const Ie=E(20631);const Me=E(47490);const defaultGetName=()=>{};const Te=ye;const je=new WeakMap;const hashFilename=(k,v)=>{const E=me(v.hashFunction).update(k).digest(v.hashDigest);return E.slice(0,8)};const getRequests=k=>{let v=0;for(const E of k.groupsIterable){v=Math.max(v,E.chunks.length)}return v};const mapObject=(k,v)=>{const E=Object.create(null);for(const P of Object.keys(k)){E[P]=v(k[P],P)}return E};const isOverlap=(k,v)=>{for(const E of k){if(v.has(E))return true}return false};const Ne=pe(le);const compareEntries=(k,v)=>{const E=k.cacheGroup.priority-v.cacheGroup.priority;if(E)return E;const P=k.chunks.size-v.chunks.size;if(P)return P;const R=totalSize(k.sizes)*(k.chunks.size-1);const L=totalSize(v.sizes)*(v.chunks.size-1);const N=R-L;if(N)return N;const q=v.cacheGroupIndex-k.cacheGroupIndex;if(q)return q;const ae=k.modules;const le=v.modules;const pe=ae.size-le.size;if(pe)return pe;ae.sort();le.sort();return Ne(ae,le)};const INITIAL_CHUNK_FILTER=k=>k.canBeInitial();const ASYNC_CHUNK_FILTER=k=>!k.canBeInitial();const ALL_CHUNK_FILTER=k=>true;const normalizeSizes=(k,v)=>{if(typeof k==="number"){const E={};for(const P of v)E[P]=k;return E}else if(typeof k==="object"&&k!==null){return{...k}}else{return{}}};const mergeSizes=(...k)=>{let v={};for(let E=k.length-1;E>=0;E--){v=Object.assign(v,k[E])}return v};const hasNonZeroSizes=k=>{for(const v of Object.keys(k)){if(k[v]>0)return true}return false};const combineSizes=(k,v,E)=>{const P=new Set(Object.keys(k));const R=new Set(Object.keys(v));const L={};for(const N of P){if(R.has(N)){L[N]=E(k[N],v[N])}else{L[N]=k[N]}}for(const k of R){if(!P.has(k)){L[k]=v[k]}}return L};const checkMinSize=(k,v)=>{for(const E of Object.keys(v)){const P=k[E];if(P===undefined||P===0)continue;if(P{for(const P of Object.keys(v)){const R=k[P];if(R===undefined||R===0)continue;if(R*E{let E;for(const P of Object.keys(v)){const R=k[P];if(R===undefined||R===0)continue;if(R{let v=0;for(const E of Object.keys(k)){v+=k[E]}return v};const normalizeName=k=>{if(typeof k==="string"){return()=>k}if(typeof k==="function"){return k}};const normalizeChunksFilter=k=>{if(k==="initial"){return INITIAL_CHUNK_FILTER}if(k==="async"){return ASYNC_CHUNK_FILTER}if(k==="all"){return ALL_CHUNK_FILTER}if(k instanceof RegExp){return v=>v.name?k.test(v.name):false}if(typeof k==="function"){return k}};const normalizeCacheGroups=(k,v)=>{if(typeof k==="function"){return k}if(typeof k==="object"&&k!==null){const E=[];for(const P of Object.keys(k)){const R=k[P];if(R===false){continue}if(typeof R==="string"||R instanceof RegExp){const k=createCacheGroupSource({},P,v);E.push(((v,E,P)=>{if(checkTest(R,v,E)){P.push(k)}}))}else if(typeof R==="function"){const k=new WeakMap;E.push(((E,L,N)=>{const q=R(E);if(q){const E=Array.isArray(q)?q:[q];for(const R of E){const E=k.get(R);if(E!==undefined){N.push(E)}else{const E=createCacheGroupSource(R,P,v);k.set(R,E);N.push(E)}}}}))}else{const k=createCacheGroupSource(R,P,v);E.push(((v,E,P)=>{if(checkTest(R.test,v,E)&&checkModuleType(R.type,v)&&checkModuleLayer(R.layer,v)){P.push(k)}}))}}const fn=(k,v)=>{let P=[];for(const R of E){R(k,v,P)}return P};return fn}return()=>null};const checkTest=(k,v,E)=>{if(k===undefined)return true;if(typeof k==="function"){return k(v,E)}if(typeof k==="boolean")return k;if(typeof k==="string"){const E=v.nameForCondition();return E&&E.startsWith(k)}if(k instanceof RegExp){const E=v.nameForCondition();return E&&k.test(E)}return false};const checkModuleType=(k,v)=>{if(k===undefined)return true;if(typeof k==="function"){return k(v.type)}if(typeof k==="string"){const E=v.type;return k===E}if(k instanceof RegExp){const E=v.type;return k.test(E)}return false};const checkModuleLayer=(k,v)=>{if(k===undefined)return true;if(typeof k==="function"){return k(v.layer)}if(typeof k==="string"){const E=v.layer;return k===""?!E:E&&E.startsWith(k)}if(k instanceof RegExp){const E=v.layer;return k.test(E)}return false};const createCacheGroupSource=(k,v,E)=>{const P=normalizeSizes(k.minSize,E);const R=normalizeSizes(k.minSizeReduction,E);const L=normalizeSizes(k.maxSize,E);return{key:v,priority:k.priority,getName:normalizeName(k.name),chunksFilter:normalizeChunksFilter(k.chunks),enforce:k.enforce,minSize:P,minSizeReduction:R,minRemainingSize:mergeSizes(normalizeSizes(k.minRemainingSize,E),P),enforceSizeThreshold:normalizeSizes(k.enforceSizeThreshold,E),maxAsyncSize:mergeSizes(normalizeSizes(k.maxAsyncSize,E),L),maxInitialSize:mergeSizes(normalizeSizes(k.maxInitialSize,E),L),minChunks:k.minChunks,maxAsyncRequests:k.maxAsyncRequests,maxInitialRequests:k.maxInitialRequests,filename:k.filename,idHint:k.idHint,automaticNameDelimiter:k.automaticNameDelimiter,reuseExistingChunk:k.reuseExistingChunk,usedExports:k.usedExports}};k.exports=class SplitChunksPlugin{constructor(k={}){const v=k.defaultSizeTypes||["javascript","unknown"];const E=k.fallbackCacheGroup||{};const P=normalizeSizes(k.minSize,v);const R=normalizeSizes(k.minSizeReduction,v);const L=normalizeSizes(k.maxSize,v);this.options={chunksFilter:normalizeChunksFilter(k.chunks||"all"),defaultSizeTypes:v,minSize:P,minSizeReduction:R,minRemainingSize:mergeSizes(normalizeSizes(k.minRemainingSize,v),P),enforceSizeThreshold:normalizeSizes(k.enforceSizeThreshold,v),maxAsyncSize:mergeSizes(normalizeSizes(k.maxAsyncSize,v),L),maxInitialSize:mergeSizes(normalizeSizes(k.maxInitialSize,v),L),minChunks:k.minChunks||1,maxAsyncRequests:k.maxAsyncRequests||1,maxInitialRequests:k.maxInitialRequests||1,hidePathInfo:k.hidePathInfo||false,filename:k.filename||undefined,getCacheGroups:normalizeCacheGroups(k.cacheGroups,v),getName:k.name?normalizeName(k.name):defaultGetName,automaticNameDelimiter:k.automaticNameDelimiter,usedExports:k.usedExports,fallbackCacheGroup:{chunksFilter:normalizeChunksFilter(E.chunks||k.chunks||"all"),minSize:mergeSizes(normalizeSizes(E.minSize,v),P),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,v),normalizeSizes(E.maxSize,v),normalizeSizes(k.maxAsyncSize,v),normalizeSizes(k.maxSize,v)),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,v),normalizeSizes(E.maxSize,v),normalizeSizes(k.maxInitialSize,v),normalizeSizes(k.maxSize,v)),automaticNameDelimiter:E.automaticNameDelimiter||k.automaticNameDelimiter||"~"}};this._cacheGroupCache=new WeakMap}_getCacheGroup(k){const v=this._cacheGroupCache.get(k);if(v!==undefined)return v;const E=mergeSizes(k.minSize,k.enforce?undefined:this.options.minSize);const P=mergeSizes(k.minSizeReduction,k.enforce?undefined:this.options.minSizeReduction);const R=mergeSizes(k.minRemainingSize,k.enforce?undefined:this.options.minRemainingSize);const L=mergeSizes(k.enforceSizeThreshold,k.enforce?undefined:this.options.enforceSizeThreshold);const N={key:k.key,priority:k.priority||0,chunksFilter:k.chunksFilter||this.options.chunksFilter,minSize:E,minSizeReduction:P,minRemainingSize:R,enforceSizeThreshold:L,maxAsyncSize:mergeSizes(k.maxAsyncSize,k.enforce?undefined:this.options.maxAsyncSize),maxInitialSize:mergeSizes(k.maxInitialSize,k.enforce?undefined:this.options.maxInitialSize),minChunks:k.minChunks!==undefined?k.minChunks:k.enforce?1:this.options.minChunks,maxAsyncRequests:k.maxAsyncRequests!==undefined?k.maxAsyncRequests:k.enforce?Infinity:this.options.maxAsyncRequests,maxInitialRequests:k.maxInitialRequests!==undefined?k.maxInitialRequests:k.enforce?Infinity:this.options.maxInitialRequests,getName:k.getName!==undefined?k.getName:this.options.getName,usedExports:k.usedExports!==undefined?k.usedExports:this.options.usedExports,filename:k.filename!==undefined?k.filename:this.options.filename,automaticNameDelimiter:k.automaticNameDelimiter!==undefined?k.automaticNameDelimiter:this.options.automaticNameDelimiter,idHint:k.idHint!==undefined?k.idHint:k.key,reuseExistingChunk:k.reuseExistingChunk||false,_validateSize:hasNonZeroSizes(E),_validateRemainingSize:hasNonZeroSizes(R),_minSizeForMaxSize:mergeSizes(k.minSize,this.options.minSize),_conditionalEnforce:hasNonZeroSizes(L)};this._cacheGroupCache.set(k,N);return N}apply(k){const v=_e.bindContextCache(k.context,k.root);k.hooks.thisCompilation.tap("SplitChunksPlugin",(k=>{const E=k.getLogger("webpack.SplitChunksPlugin");let pe=false;k.hooks.unseal.tap("SplitChunksPlugin",(()=>{pe=false}));k.hooks.optimizeChunks.tap({name:"SplitChunksPlugin",stage:R},(R=>{if(pe)return;pe=true;E.time("prepare");const me=k.chunkGraph;const ye=k.moduleGraph;const _e=new Map;const Ne=BigInt("0");const Be=BigInt("1");const qe=Be<{const v=k[Symbol.iterator]();let E=v.next();if(E.done)return Ne;const P=E.value;E=v.next();if(E.done)return P;let R=_e.get(P)|_e.get(E.value);while(!(E=v.next()).done){const k=_e.get(E.value);R=R^k}return R};const keyToString=k=>{if(typeof k==="bigint")return k.toString(16);return _e.get(k).toString(16)};const Ge=Ie((()=>{const v=new Map;const E=new Set;for(const P of k.modules){const k=me.getModuleChunksIterable(P);const R=getKey(k);if(typeof R==="bigint"){if(!v.has(R)){v.set(R,new Set(k))}}else{E.add(R)}}return{chunkSetsInGraph:v,singleChunkSets:E}}));const groupChunksByExports=k=>{const v=ye.getExportsInfo(k);const E=new Map;for(const P of me.getModuleChunksIterable(k)){const k=v.getUsageKey(P.runtime);const R=E.get(k);if(R!==undefined){R.push(P)}else{E.set(k,[P])}}return E.values()};const He=new Map;const We=Ie((()=>{const v=new Map;const E=new Set;for(const P of k.modules){const k=Array.from(groupChunksByExports(P));He.set(P,k);for(const P of k){if(P.length===1){E.add(P[0])}else{const k=getKey(P);if(!v.has(k)){v.set(k,new Set(P))}}}}return{chunkSetsInGraph:v,singleChunkSets:E}}));const groupChunkSetsByCount=k=>{const v=new Map;for(const E of k){const k=E.size;let P=v.get(k);if(P===undefined){P=[];v.set(k,P)}P.push(E)}return v};const Qe=Ie((()=>groupChunkSetsByCount(Ge().chunkSetsInGraph.values())));const Je=Ie((()=>groupChunkSetsByCount(We().chunkSetsInGraph.values())));const createGetCombinations=(k,v,E)=>{const R=new Map;return L=>{const N=R.get(L);if(N!==undefined)return N;if(L instanceof P){const k=[L];R.set(L,k);return k}const ae=k.get(L);const le=[ae];for(const[k,v]of E){if(k{const{chunkSetsInGraph:k,singleChunkSets:v}=Ge();return createGetCombinations(k,v,Qe())}));const getCombinations=k=>Ve()(k);const Ke=Ie((()=>{const{chunkSetsInGraph:k,singleChunkSets:v}=We();return createGetCombinations(k,v,Je())}));const getExportsCombinations=k=>Ke()(k);const Ye=new WeakMap;const getSelectedChunks=(k,v)=>{let E=Ye.get(k);if(E===undefined){E=new WeakMap;Ye.set(k,E)}let R=E.get(v);if(R===undefined){const L=[];if(k instanceof P){if(v(k))L.push(k)}else{for(const E of k){if(v(E))L.push(E)}}R={chunks:L,key:getKey(L)};E.set(v,R)}return R};const Xe=new Map;const Ze=new Set;const et=new Map;const addModuleToChunksInfoMap=(v,E,P,R,N)=>{if(P.length{const k=me.getModuleChunksIterable(v);const E=getKey(k);return getCombinations(E)}));const R=Ie((()=>{We();const k=new Set;const E=He.get(v);for(const v of E){const E=getKey(v);for(const v of getExportsCombinations(E))k.add(v)}return k}));let L=0;for(const N of k){const k=this._getCacheGroup(N);const q=k.usedExports?R():E();for(const E of q){const R=E instanceof P?1:E.size;if(R{for(const E of k.modules){const P=E.getSourceTypes();if(v.some((k=>P.has(k)))){k.modules.delete(E);for(const v of P){k.sizes[v]-=E.size(v)}}}};const removeMinSizeViolatingModules=k=>{if(!k.cacheGroup._validateSize)return false;const v=getViolatingMinSizes(k.sizes,k.cacheGroup.minSize);if(v===undefined)return false;removeModulesWithSourceType(k,v);return k.modules.size===0};for(const[k,v]of et){if(removeMinSizeViolatingModules(v)){et.delete(k)}else if(!checkMinSizeReduction(v.sizes,v.cacheGroup.minSizeReduction,v.chunks.size)){et.delete(k)}}const nt=new Map;while(et.size>0){let v;let E;for(const k of et){const P=k[0];const R=k[1];if(E===undefined||compareEntries(E,R)<0){E=R;v=P}}const P=E;et.delete(v);let R=P.name;let L;let N=false;let q=false;if(R){const v=k.namedChunks.get(R);if(v!==undefined){L=v;const k=P.chunks.size;P.chunks.delete(L);N=P.chunks.size!==k}}else if(P.cacheGroup.reuseExistingChunk){e:for(const k of P.chunks){if(me.getNumberOfChunkModules(k)!==P.modules.size){continue}if(P.chunks.size>1&&me.getNumberOfEntryModules(k)>0){continue}for(const v of P.modules){if(!me.isModuleInChunk(v,k)){continue e}}if(!L||!L.name){L=k}else if(k.name&&k.name.length=v){le.delete(k)}}}e:for(const k of le){for(const v of P.modules){if(me.isModuleInChunk(v,k))continue e}le.delete(k)}if(le.size=P.cacheGroup.minChunks){const k=Array.from(le);for(const v of P.modules){addModuleToChunksInfoMap(P.cacheGroup,P.cacheGroupIndex,k,getKey(le),v)}}continue}if(!ae&&P.cacheGroup._validateRemainingSize&&le.size===1){const[k]=le;let E=Object.create(null);for(const v of me.getChunkModulesIterable(k)){if(!P.modules.has(v)){for(const k of v.getSourceTypes()){E[k]=(E[k]||0)+v.size(k)}}}const R=getViolatingMinSizes(E,P.cacheGroup.minRemainingSize);if(R!==undefined){const k=P.modules.size;removeModulesWithSourceType(P,R);if(P.modules.size>0&&P.modules.size!==k){et.set(v,P)}continue}}if(L===undefined){L=k.addChunk(R)}for(const k of le){k.split(L)}L.chunkReason=(L.chunkReason?L.chunkReason+", ":"")+(q?"reused as split chunk":"split chunk");if(P.cacheGroup.key){L.chunkReason+=` (cache group: ${P.cacheGroup.key})`}if(R){L.chunkReason+=` (name: ${R})`}if(P.cacheGroup.filename){L.filenameTemplate=P.cacheGroup.filename}if(P.cacheGroup.idHint){L.idNameHints.add(P.cacheGroup.idHint)}if(!q){for(const v of P.modules){if(!v.chunkCondition(L,k))continue;me.connectChunkAndModule(L,v);for(const k of le){me.disconnectChunkAndModule(k,v)}}}else{for(const k of P.modules){for(const v of le){me.disconnectChunkAndModule(v,k)}}}if(Object.keys(P.cacheGroup.maxAsyncSize).length>0||Object.keys(P.cacheGroup.maxInitialSize).length>0){const k=nt.get(L);nt.set(L,{minSize:k?combineSizes(k.minSize,P.cacheGroup._minSizeForMaxSize,Math.max):P.cacheGroup.minSize,maxAsyncSize:k?combineSizes(k.maxAsyncSize,P.cacheGroup.maxAsyncSize,Math.min):P.cacheGroup.maxAsyncSize,maxInitialSize:k?combineSizes(k.maxInitialSize,P.cacheGroup.maxInitialSize,Math.min):P.cacheGroup.maxInitialSize,automaticNameDelimiter:P.cacheGroup.automaticNameDelimiter,keys:k?k.keys.concat(P.cacheGroup.key):[P.cacheGroup.key]})}for(const[k,v]of et){if(isOverlap(v.chunks,le)){let E=false;for(const k of P.modules){if(v.modules.has(k)){v.modules.delete(k);for(const E of k.getSourceTypes()){v.sizes[E]-=k.size(E)}E=true}}if(E){if(v.modules.size===0){et.delete(k);continue}if(removeMinSizeViolatingModules(v)||!checkMinSizeReduction(v.sizes,v.cacheGroup.minSizeReduction,v.chunks.size)){et.delete(k);continue}}}}}E.timeEnd("queue");E.time("maxSize");const st=new Set;const{outputOptions:rt}=k;const{fallbackCacheGroup:ot}=this.options;for(const E of Array.from(k.chunks)){const P=nt.get(E);const{minSize:R,maxAsyncSize:L,maxInitialSize:q,automaticNameDelimiter:ae}=P||ot;if(!P&&!ot.chunksFilter(E))continue;let le;if(E.isOnlyInitial()){le=q}else if(E.canBeInitial()){le=combineSizes(L,q,Math.min)}else{le=L}if(Object.keys(le).length===0){continue}for(const v of Object.keys(le)){const E=le[v];const L=R[v];if(typeof L==="number"&&L>E){const v=P&&P.keys;const R=`${v&&v.join()} ${L} ${E}`;if(!st.has(R)){st.add(R);k.warnings.push(new Me(v,L,E))}}}const pe=Te({minSize:R,maxSize:mapObject(le,((k,v)=>{const E=R[v];return typeof E==="number"?Math.max(k,E):k})),items:me.getChunkModulesIterable(E),getKey(k){const E=je.get(k);if(E!==undefined)return E;const P=v(k.identifier());const R=k.nameForCondition&&k.nameForCondition();const L=R?v(R):P.replace(/^.*!|\?[^?!]*$/g,"");const q=L+ae+hashFilename(P,rt);const le=N(q);je.set(k,le);return le},getSize(k){const v=Object.create(null);for(const E of k.getSourceTypes()){v[E]=k.size(E)}return v}});if(pe.length<=1){continue}for(let v=0;v100){L=L.slice(0,100)+ae+hashFilename(L,rt)}if(v!==pe.length-1){const v=k.addChunk(L);E.split(v);v.chunkReason=E.chunkReason;for(const R of P.items){if(!R.chunkCondition(v,k)){continue}me.connectChunkAndModule(v,R);me.disconnectChunkAndModule(E,R)}}else{E.name=L}}}E.timeEnd("maxSize")}))}))}}},63601:function(k,v,E){"use strict";const{formatSize:P}=E(3386);const R=E(71572);k.exports=class AssetsOverSizeLimitWarning extends R{constructor(k,v){const E=k.map((k=>`\n ${k.name} (${P(k.size)})`)).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${P(v)}).\nThis can impact web performance.\nAssets: ${E}`);this.name="AssetsOverSizeLimitWarning";this.assets=k}}},1260:function(k,v,E){"use strict";const{formatSize:P}=E(3386);const R=E(71572);k.exports=class EntrypointsOverSizeLimitWarning extends R{constructor(k,v){const E=k.map((k=>`\n ${k.name} (${P(k.size)})\n${k.files.map((k=>` ${k}`)).join("\n")}`)).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${P(v)}). This can impact web performance.\nEntrypoints:${E}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=k}}},38234:function(k,v,E){"use strict";const P=E(71572);k.exports=class NoAsyncChunksWarning extends P{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"}}},338:function(k,v,E){"use strict";const{find:P}=E(59959);const R=E(63601);const L=E(1260);const N=E(38234);const q=new WeakSet;const excludeSourceMap=(k,v,E)=>!E.development;k.exports=class SizeLimitsPlugin{constructor(k){this.hints=k.hints;this.maxAssetSize=k.maxAssetSize;this.maxEntrypointSize=k.maxEntrypointSize;this.assetFilter=k.assetFilter}static isOverSizeLimit(k){return q.has(k)}apply(k){const v=this.maxEntrypointSize;const E=this.maxAssetSize;const ae=this.hints;const le=this.assetFilter||excludeSourceMap;k.hooks.afterEmit.tap("SizeLimitsPlugin",(k=>{const pe=[];const getEntrypointSize=v=>{let E=0;for(const P of v.getFiles()){const v=k.getAsset(P);if(v&&le(v.name,v.source,v.info)&&v.source){E+=v.info.size||v.source.size()}}return E};const me=[];for(const{name:v,source:P,info:R}of k.getAssets()){if(!le(v,P,R)||!P){continue}const k=R.size||P.size();if(k>E){me.push({name:v,size:k});q.add(P)}}const fileFilter=v=>{const E=k.getAsset(v);return E&&le(E.name,E.source,E.info)};const ye=[];for(const[E,P]of k.entrypoints){const k=getEntrypointSize(P);if(k>v){ye.push({name:E,size:k,files:P.getFiles().filter(fileFilter)});q.add(P)}}if(ae){if(me.length>0){pe.push(new R(me,E))}if(ye.length>0){pe.push(new L(ye,v))}if(pe.length>0){const v=P(k.chunks,(k=>!k.canBeInitial()));if(!v){pe.push(new N)}if(ae==="error"){k.errors.push(...pe)}else{k.warnings.push(...pe)}}}}))}}},64764:function(k,v,E){"use strict";const P=E(27462);const R=E(95041);class ChunkPrefetchFunctionRuntimeModule extends P{constructor(k,v,E){super(`chunk ${k} function`);this.childType=k;this.runtimeFunction=v;this.runtimeHandlers=E}generate(){const{runtimeFunction:k,runtimeHandlers:v}=this;const{runtimeTemplate:E}=this.compilation;return R.asString([`${v} = {};`,`${k} = ${E.basicFunction("chunkId",[`Object.keys(${v}).map(${E.basicFunction("key",`${v}[key](chunkId);`)});`])}`])}}k.exports=ChunkPrefetchFunctionRuntimeModule},37247:function(k,v,E){"use strict";const P=E(56727);const R=E(64764);const L=E(18175);const N=E(66594);const q=E(68931);class ChunkPrefetchPreloadPlugin{apply(k){k.hooks.compilation.tap("ChunkPrefetchPreloadPlugin",(k=>{k.hooks.additionalChunkRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((v,E,{chunkGraph:R})=>{if(R.getNumberOfEntryModules(v)===0)return;const N=v.getChildrenOfTypeInOrder(R,"prefetchOrder");if(N){E.add(P.prefetchChunk);E.add(P.onChunksLoaded);k.addRuntimeModule(v,new L(N))}}));k.hooks.additionalTreeRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((v,E,{chunkGraph:R})=>{const L=v.getChildIdsByOrdersMap(R,false);if(L.prefetch){E.add(P.prefetchChunk);k.addRuntimeModule(v,new N(L.prefetch))}if(L.preload){E.add(P.preloadChunk);k.addRuntimeModule(v,new q(L.preload))}}));k.hooks.runtimeRequirementInTree.for(P.prefetchChunk).tap("ChunkPrefetchPreloadPlugin",((v,E)=>{k.addRuntimeModule(v,new R("prefetch",P.prefetchChunk,P.prefetchChunkHandlers));E.add(P.prefetchChunkHandlers)}));k.hooks.runtimeRequirementInTree.for(P.preloadChunk).tap("ChunkPrefetchPreloadPlugin",((v,E)=>{k.addRuntimeModule(v,new R("preload",P.preloadChunk,P.preloadChunkHandlers));E.add(P.preloadChunkHandlers)}))}))}}k.exports=ChunkPrefetchPreloadPlugin},18175:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class ChunkPrefetchStartupRuntimeModule extends R{constructor(k){super("startup prefetch",R.STAGE_TRIGGER);this.startupChunks=k}generate(){const{startupChunks:k,chunk:v}=this;const{runtimeTemplate:E}=this.compilation;return L.asString(k.map((({onChunks:k,chunks:R})=>`${P.onChunksLoaded}(0, ${JSON.stringify(k.filter((k=>k===v)).map((k=>k.id)))}, ${E.basicFunction("",R.size<3?Array.from(R,(k=>`${P.prefetchChunk}(${JSON.stringify(k.id)});`)):`${JSON.stringify(Array.from(R,(k=>k.id)))}.map(${P.prefetchChunk});`)}, 5);`)))}}k.exports=ChunkPrefetchStartupRuntimeModule},66594:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class ChunkPrefetchTriggerRuntimeModule extends R{constructor(k){super(`chunk prefetch trigger`,R.STAGE_TRIGGER);this.chunkMap=k}generate(){const{chunkMap:k}=this;const{runtimeTemplate:v}=this.compilation;const E=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${P.prefetchChunk});`];return L.asString([L.asString([`var chunkToChildrenMap = ${JSON.stringify(k,null,"\t")};`,`${P.ensureChunkHandlers}.prefetch = ${v.expressionFunction(`Promise.all(promises).then(${v.basicFunction("",E)})`,"chunkId, promises")};`])])}}k.exports=ChunkPrefetchTriggerRuntimeModule},68931:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class ChunkPreloadTriggerRuntimeModule extends R{constructor(k){super(`chunk preload trigger`,R.STAGE_TRIGGER);this.chunkMap=k}generate(){const{chunkMap:k}=this;const{runtimeTemplate:v}=this.compilation;const E=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${P.preloadChunk});`];return L.asString([L.asString([`var chunkToChildrenMap = ${JSON.stringify(k,null,"\t")};`,`${P.ensureChunkHandlers}.preload = ${v.basicFunction("chunkId",E)};`])])}}k.exports=ChunkPreloadTriggerRuntimeModule},4345:function(k){"use strict";class BasicEffectRulePlugin{constructor(k,v){this.ruleProperty=k;this.effectType=v||k}apply(k){k.hooks.rule.tap("BasicEffectRulePlugin",((k,v,E,P,R)=>{if(E.has(this.ruleProperty)){E.delete(this.ruleProperty);const k=v[this.ruleProperty];P.effects.push({type:this.effectType,value:k})}}))}}k.exports=BasicEffectRulePlugin},559:function(k){"use strict";class BasicMatcherRulePlugin{constructor(k,v,E){this.ruleProperty=k;this.dataProperty=v||k;this.invert=E||false}apply(k){k.hooks.rule.tap("BasicMatcherRulePlugin",((v,E,P,R)=>{if(P.has(this.ruleProperty)){P.delete(this.ruleProperty);const L=E[this.ruleProperty];const N=k.compileCondition(`${v}.${this.ruleProperty}`,L);const q=N.fn;R.conditions.push({property:this.dataProperty,matchWhenEmpty:this.invert?!N.matchWhenEmpty:N.matchWhenEmpty,fn:this.invert?k=>!q(k):q})}}))}}k.exports=BasicMatcherRulePlugin},73799:function(k){"use strict";class ObjectMatcherRulePlugin{constructor(k,v){this.ruleProperty=k;this.dataProperty=v||k}apply(k){const{ruleProperty:v,dataProperty:E}=this;k.hooks.rule.tap("ObjectMatcherRulePlugin",((P,R,L,N)=>{if(L.has(v)){L.delete(v);const q=R[v];for(const R of Object.keys(q)){const L=R.split(".");const ae=k.compileCondition(`${P}.${v}.${R}`,q[R]);N.conditions.push({property:[E,...L],matchWhenEmpty:ae.matchWhenEmpty,fn:ae.fn})}}}))}}k.exports=ObjectMatcherRulePlugin},87536:function(k,v,E){"use strict";const{SyncHook:P}=E(79846);class RuleSetCompiler{constructor(k){this.hooks=Object.freeze({rule:new P(["path","rule","unhandledProperties","compiledRule","references"])});if(k){for(const v of k){v.apply(this)}}}compile(k){const v=new Map;const E=this.compileRules("ruleSet",k,v);const execRule=(k,v,E)=>{for(const E of v.conditions){const v=E.property;if(Array.isArray(v)){let P=k;for(const k of v){if(P&&typeof P==="object"&&Object.prototype.hasOwnProperty.call(P,k)){P=P[k]}else{P=undefined;break}}if(P!==undefined){if(!E.fn(P))return false;continue}}else if(v in k){const P=k[v];if(P!==undefined){if(!E.fn(P))return false;continue}}if(!E.matchWhenEmpty){return false}}for(const P of v.effects){if(typeof P==="function"){const v=P(k);for(const k of v){E.push(k)}}else{E.push(P)}}if(v.rules){for(const P of v.rules){execRule(k,P,E)}}if(v.oneOf){for(const P of v.oneOf){if(execRule(k,P,E)){break}}}return true};return{references:v,exec:k=>{const v=[];for(const P of E){execRule(k,P,v)}return v}}}compileRules(k,v,E){return v.map(((v,P)=>this.compileRule(`${k}[${P}]`,v,E)))}compileRule(k,v,E){const P=new Set(Object.keys(v).filter((k=>v[k]!==undefined)));const R={conditions:[],effects:[],rules:undefined,oneOf:undefined};this.hooks.rule.call(k,v,P,R,E);if(P.has("rules")){P.delete("rules");const L=v.rules;if(!Array.isArray(L))throw this.error(k,L,"Rule.rules must be an array of rules");R.rules=this.compileRules(`${k}.rules`,L,E)}if(P.has("oneOf")){P.delete("oneOf");const L=v.oneOf;if(!Array.isArray(L))throw this.error(k,L,"Rule.oneOf must be an array of rules");R.oneOf=this.compileRules(`${k}.oneOf`,L,E)}if(P.size>0){throw this.error(k,v,`Properties ${Array.from(P).join(", ")} are unknown`)}return R}compileCondition(k,v){if(v===""){return{matchWhenEmpty:true,fn:k=>k===""}}if(!v){throw this.error(k,v,"Expected condition but got falsy value")}if(typeof v==="string"){return{matchWhenEmpty:v.length===0,fn:k=>typeof k==="string"&&k.startsWith(v)}}if(typeof v==="function"){try{return{matchWhenEmpty:v(""),fn:v}}catch(E){throw this.error(k,v,"Evaluation of condition function threw error")}}if(v instanceof RegExp){return{matchWhenEmpty:v.test(""),fn:k=>typeof k==="string"&&v.test(k)}}if(Array.isArray(v)){const E=v.map(((v,E)=>this.compileCondition(`${k}[${E}]`,v)));return this.combineConditionsOr(E)}if(typeof v!=="object"){throw this.error(k,v,`Unexpected ${typeof v} when condition was expected`)}const E=[];for(const P of Object.keys(v)){const R=v[P];switch(P){case"or":if(R){if(!Array.isArray(R)){throw this.error(`${k}.or`,v.and,"Expected array of conditions")}E.push(this.compileCondition(`${k}.or`,R))}break;case"and":if(R){if(!Array.isArray(R)){throw this.error(`${k}.and`,v.and,"Expected array of conditions")}let P=0;for(const v of R){E.push(this.compileCondition(`${k}.and[${P}]`,v));P++}}break;case"not":if(R){const v=this.compileCondition(`${k}.not`,R);const P=v.fn;E.push({matchWhenEmpty:!v.matchWhenEmpty,fn:k=>!P(k)})}break;default:throw this.error(`${k}.${P}`,v[P],`Unexpected property ${P} in condition`)}}if(E.length===0){throw this.error(k,v,"Expected condition, but got empty thing")}return this.combineConditionsAnd(E)}combineConditionsOr(k){if(k.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(k.length===1){return k[0]}else{return{matchWhenEmpty:k.some((k=>k.matchWhenEmpty)),fn:v=>k.some((k=>k.fn(v)))}}}combineConditionsAnd(k){if(k.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(k.length===1){return k[0]}else{return{matchWhenEmpty:k.every((k=>k.matchWhenEmpty)),fn:v=>k.every((k=>k.fn(v)))}}}error(k,v,E){return new Error(`Compiling RuleSet failed: ${E} (at ${k}: ${v})`)}}k.exports=RuleSetCompiler},53998:function(k,v,E){"use strict";const P=E(73837);class UseEffectRulePlugin{apply(k){k.hooks.rule.tap("UseEffectRulePlugin",((v,E,R,L,N)=>{const conflictWith=(P,L)=>{if(R.has(P)){throw k.error(`${v}.${P}`,E[P],`A Rule must not have a '${P}' property when it has a '${L}' property`)}};if(R.has("use")){R.delete("use");R.delete("enforce");conflictWith("loader","use");conflictWith("options","use");const k=E.use;const q=E.enforce;const ae=q?`use-${q}`:"use";const useToEffect=(k,v,E)=>{if(typeof E==="function"){return v=>useToEffectsWithoutIdent(k,E(v))}else{return useToEffectRaw(k,v,E)}};const useToEffectRaw=(k,v,E)=>{if(typeof E==="string"){return{type:ae,value:{loader:E,options:undefined,ident:undefined}}}else{const R=E.loader;const L=E.options;let ae=E.ident;if(L&&typeof L==="object"){if(!ae)ae=v;N.set(ae,L)}if(typeof L==="string"){P.deprecate((()=>{}),`Using a string as loader options is deprecated (${k}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}return{type:q?`use-${q}`:"use",value:{loader:R,options:L,ident:ae}}}};const useToEffectsWithoutIdent=(k,v)=>{if(Array.isArray(v)){return v.map(((v,E)=>useToEffectRaw(`${k}[${E}]`,"[[missing ident]]",v)))}return[useToEffectRaw(k,"[[missing ident]]",v)]};const useToEffects=(k,v)=>{if(Array.isArray(v)){return v.map(((v,E)=>{const P=`${k}[${E}]`;return useToEffect(P,P,v)}))}return[useToEffect(k,k,v)]};if(typeof k==="function"){L.effects.push((E=>useToEffectsWithoutIdent(`${v}.use`,k(E))))}else{for(const E of useToEffects(`${v}.use`,k)){L.effects.push(E)}}}if(R.has("loader")){R.delete("loader");R.delete("options");R.delete("enforce");const q=E.loader;const ae=E.options;const le=E.enforce;if(q.includes("!")){throw k.error(`${v}.loader`,q,"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays")}if(q.includes("?")){throw k.error(`${v}.loader`,q,"Query arguments on 'loader' has been removed in favor of the 'options' property")}if(typeof ae==="string"){P.deprecate((()=>{}),`Using a string as loader options is deprecated (${v}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}const pe=ae&&typeof ae==="object"?v:undefined;N.set(pe,ae);L.effects.push({type:le?`use-${le}`:"use",value:{loader:q,options:ae,ident:pe}})}}))}useItemToEffects(k,v){}}k.exports=UseEffectRulePlugin},43120:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class AsyncModuleRuntimeModule extends L{constructor(){super("async module")}generate(){const{runtimeTemplate:k}=this.compilation;const v=P.asyncModule;return R.asString(['var webpackQueues = typeof Symbol === "function" ? Symbol("webpack queues") : "__webpack_queues__";',`var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "${P.exports}";`,'var webpackError = typeof Symbol === "function" ? Symbol("webpack error") : "__webpack_error__";',`var resolveQueue = ${k.basicFunction("queue",["if(queue && !queue.d) {",R.indent(["queue.d = 1;",`queue.forEach(${k.expressionFunction("fn.r--","fn")});`,`queue.forEach(${k.expressionFunction("fn.r-- ? fn.r++ : fn()","fn")});`]),"}"])}`,`var wrapDeps = ${k.returningFunction(`deps.map(${k.basicFunction("dep",['if(dep !== null && typeof dep === "object") {',R.indent(["if(dep[webpackQueues]) return dep;","if(dep.then) {",R.indent(["var queue = [];","queue.d = 0;",`dep.then(${k.basicFunction("r",["obj[webpackExports] = r;","resolveQueue(queue);"])}, ${k.basicFunction("e",["obj[webpackError] = e;","resolveQueue(queue);"])});`,"var obj = {};",`obj[webpackQueues] = ${k.expressionFunction(`fn(queue)`,"fn")};`,"return obj;"]),"}"]),"}","var ret = {};",`ret[webpackQueues] = ${k.emptyFunction()};`,"ret[webpackExports] = dep;","return ret;"])})`,"deps")};`,`${v} = ${k.basicFunction("module, body, hasAwait",["var queue;","hasAwait && ((queue = []).d = 1);","var depQueues = new Set();","var exports = module.exports;","var currentDeps;","var outerResolve;","var reject;",`var promise = new Promise(${k.basicFunction("resolve, rej",["reject = rej;","outerResolve = resolve;"])});`,"promise[webpackExports] = exports;",`promise[webpackQueues] = ${k.expressionFunction(`queue && fn(queue), depQueues.forEach(fn), promise["catch"](${k.emptyFunction()})`,"fn")};`,"module.exports = promise;",`body(${k.basicFunction("deps",["currentDeps = wrapDeps(deps);","var fn;",`var getResult = ${k.returningFunction(`currentDeps.map(${k.basicFunction("d",["if(d[webpackError]) throw d[webpackError];","return d[webpackExports];"])})`)}`,`var promise = new Promise(${k.basicFunction("resolve",[`fn = ${k.expressionFunction("resolve(getResult)","")};`,"fn.r = 0;",`var fnQueue = ${k.expressionFunction("q !== queue && !depQueues.has(q) && (depQueues.add(q), q && !q.d && (fn.r++, q.push(fn)))","q")};`,`currentDeps.map(${k.expressionFunction("dep[webpackQueues](fnQueue)","dep")});`])});`,"return fn.r ? promise : getResult();"])}, ${k.expressionFunction("(err ? reject(promise[webpackError] = err) : outerResolve(exports)), resolveQueue(queue)","err")});`,"queue && (queue.d = 0);"])};`])}}k.exports=AsyncModuleRuntimeModule},30982:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const N=E(89168);const{getUndoPath:q}=E(65315);class AutoPublicPathRuntimeModule extends R{constructor(){super("publicPath",R.STAGE_BASIC)}generate(){const{compilation:k}=this;const{scriptType:v,importMetaName:E,path:R}=k.outputOptions;const ae=k.getPath(N.getChunkFilenameTemplate(this.chunk,k.outputOptions),{chunk:this.chunk,contentHashType:"javascript"});const le=q(ae,R,false);return L.asString(["var scriptUrl;",v==="module"?`if (typeof ${E}.url === "string") scriptUrl = ${E}.url`:L.asString([`if (${P.global}.importScripts) scriptUrl = ${P.global}.location + "";`,`var document = ${P.global}.document;`,"if (!scriptUrl && document) {",L.indent([`if (document.currentScript)`,L.indent(`scriptUrl = document.currentScript.src;`),"if (!scriptUrl) {",L.indent(['var scripts = document.getElementsByTagName("script");',"if(scripts.length) {",L.indent(["var i = scripts.length - 1;","while (i > -1 && !scriptUrl) scriptUrl = scripts[i--].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(/\\/[^\\/]+$/, "/");',!le?`${P.publicPath} = scriptUrl;`:`${P.publicPath} = scriptUrl + ${JSON.stringify(le)};`])}}k.exports=AutoPublicPathRuntimeModule},95308:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class BaseUriRuntimeModule extends R{constructor(){super("base uri",R.STAGE_ATTACH)}generate(){const{chunk:k}=this;const v=k.getEntryOptions();return`${P.baseURI} = ${v.baseUri===undefined?"undefined":JSON.stringify(v.baseUri)};`}}k.exports=BaseUriRuntimeModule},32861:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class ChunkNameRuntimeModule extends R{constructor(k){super("chunkName");this.chunkName=k}generate(){return`${P.chunkName} = ${JSON.stringify(this.chunkName)};`}}k.exports=ChunkNameRuntimeModule},75916:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class CompatGetDefaultExportRuntimeModule extends L{constructor(){super("compat get default export")}generate(){const{runtimeTemplate:k}=this.compilation;const v=P.compatGetDefaultExport;return R.asString(["// getDefaultExport function for compatibility with non-harmony modules",`${v} = ${k.basicFunction("module",["var getter = module && module.__esModule ?",R.indent([`${k.returningFunction("module['default']")} :`,`${k.returningFunction("module")};`]),`${P.definePropertyGetters}(getter, { a: getter });`,"return getter;"])};`])}}k.exports=CompatGetDefaultExportRuntimeModule},9518:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class CompatRuntimeModule extends R{constructor(){super("compat",R.STAGE_ATTACH);this.fullHash=true}generate(){const{chunkGraph:k,chunk:v,compilation:E}=this;const{runtimeTemplate:R,mainTemplate:L,moduleTemplates:N,dependencyTemplates:q}=E;const ae=L.hooks.bootstrap.call("",v,E.hash||"XXXX",N.javascript,q);const le=L.hooks.localVars.call("",v,E.hash||"XXXX");const pe=L.hooks.requireExtensions.call("",v,E.hash||"XXXX");const me=k.getTreeRuntimeRequirements(v);let ye="";if(me.has(P.ensureChunk)){const k=L.hooks.requireEnsure.call("",v,E.hash||"XXXX","chunkId");if(k){ye=`${P.ensureChunkHandlers}.compat = ${R.basicFunction("chunkId, promises",k)};`}}return[ae,le,ye,pe].filter(Boolean).join("\n")}shouldIsolate(){return false}}k.exports=CompatRuntimeModule},23466:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class CreateFakeNamespaceObjectRuntimeModule extends L{constructor(){super("create fake namespace object")}generate(){const{runtimeTemplate:k}=this.compilation;const v=P.createFakeNamespaceObject;return R.asString([`var getProto = Object.getPrototypeOf ? ${k.returningFunction("Object.getPrototypeOf(obj)","obj")} : ${k.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",`${v} = function(value, mode) {`,R.indent([`if(mode & 1) value = this(value);`,`if(mode & 8) return value;`,"if(typeof value === 'object' && value) {",R.indent(["if((mode & 4) && value.__esModule) return value;","if((mode & 16) && typeof value.then === 'function') return value;"]),"}","var ns = Object.create(null);",`${P.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)) {",R.indent([`Object.getOwnPropertyNames(current).forEach(${k.expressionFunction(`def[key] = ${k.returningFunction("value[key]","")}`,"key")});`]),"}",`def['default'] = ${k.returningFunction("value","")};`,`${P.definePropertyGetters}(ns, def);`,"return ns;"]),"};"])}}k.exports=CreateFakeNamespaceObjectRuntimeModule},39358:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class CreateScriptRuntimeModule extends L{constructor(){super("trusted types script")}generate(){const{compilation:k}=this;const{runtimeTemplate:v,outputOptions:E}=k;const{trustedTypes:L}=E;const N=P.createScript;return R.asString(`${N} = ${v.returningFunction(L?`${P.getTrustedTypesPolicy}().createScript(script)`:"script","script")};`)}}k.exports=CreateScriptRuntimeModule},16797:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class CreateScriptUrlRuntimeModule extends L{constructor(){super("trusted types script url")}generate(){const{compilation:k}=this;const{runtimeTemplate:v,outputOptions:E}=k;const{trustedTypes:L}=E;const N=P.createScriptUrl;return R.asString(`${N} = ${v.returningFunction(L?`${P.getTrustedTypesPolicy}().createScriptURL(url)`:"url","url")};`)}}k.exports=CreateScriptUrlRuntimeModule},71662:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class DefinePropertyGettersRuntimeModule extends L{constructor(){super("define property getters")}generate(){const{runtimeTemplate:k}=this.compilation;const v=P.definePropertyGetters;return R.asString(["// define getter functions for harmony exports",`${v} = ${k.basicFunction("exports, definition",[`for(var key in definition) {`,R.indent([`if(${P.hasOwnProperty}(definition, key) && !${P.hasOwnProperty}(exports, key)) {`,R.indent(["Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });"]),"}"]),"}"])};`])}}k.exports=DefinePropertyGettersRuntimeModule},33442:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class EnsureChunkRuntimeModule extends R{constructor(k){super("ensure chunk");this.runtimeRequirements=k}generate(){const{runtimeTemplate:k}=this.compilation;if(this.runtimeRequirements.has(P.ensureChunkHandlers)){const v=P.ensureChunkHandlers;return L.asString([`${v} = {};`,"// This file contains only the entry chunk.","// The chunk loading function for additional chunks",`${P.ensureChunk} = ${k.basicFunction("chunkId",[`return Promise.all(Object.keys(${v}).reduce(${k.basicFunction("promises, key",[`${v}[key](chunkId, promises);`,"return promises;"])}, []));`])};`])}else{return L.asString(["// The chunk loading function for additional chunks","// Since all referenced chunks are already included","// in this file, this function is empty here.",`${P.ensureChunk} = ${k.returningFunction("Promise.resolve()")};`])}}}k.exports=EnsureChunkRuntimeModule},10582:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{first:N}=E(59959);class GetChunkFilenameRuntimeModule extends R{constructor(k,v,E,P,R){super(`get ${v} chunk filename`);this.contentType=k;this.global=E;this.getFilenameForChunk=P;this.allChunks=R;this.dependentHash=true}generate(){const{global:k,chunk:v,chunkGraph:E,contentType:R,getFilenameForChunk:q,allChunks:ae,compilation:le}=this;const{runtimeTemplate:pe}=le;const me=new Map;let ye=0;let _e;const addChunk=k=>{const v=q(k);if(v){let E=me.get(v);if(E===undefined){me.set(v,E=new Set)}E.add(k);if(typeof v==="string"){if(E.size{const unquotedStringify=v=>{const E=`${v}`;if(E.length>=5&&E===`${k.id}`){return'" + chunkId + "'}const P=JSON.stringify(E);return P.slice(1,P.length-1)};const unquotedStringifyWithLength=k=>v=>unquotedStringify(`${k}`.slice(0,v));const E=typeof v==="function"?JSON.stringify(v({chunk:k,contentHashType:R})):JSON.stringify(v);const L=le.getPath(E,{hash:`" + ${P.getFullHash}() + "`,hashWithLength:k=>`" + ${P.getFullHash}().slice(0, ${k}) + "`,chunk:{id:unquotedStringify(k.id),hash:unquotedStringify(k.renderedHash),hashWithLength:unquotedStringifyWithLength(k.renderedHash),name:unquotedStringify(k.name||k.id),contentHash:{[R]:unquotedStringify(k.contentHash[R])},contentHashWithLength:{[R]:unquotedStringifyWithLength(k.contentHash[R])}},contentHashType:R});let N=Me.get(L);if(N===undefined){Me.set(L,N=new Set)}N.add(k.id)};for(const[k,v]of me){if(k!==_e){for(const E of v)addStaticUrl(E,k)}else{for(const k of v)Te.add(k)}}const createMap=k=>{const v={};let E=false;let P;let R=0;for(const L of Te){const N=k(L);if(N===L.id){E=true}else{v[L.id]=N;P=L.id;R++}}if(R===0)return"chunkId";if(R===1){return E?`(chunkId === ${JSON.stringify(P)} ? ${JSON.stringify(v[P])} : chunkId)`:JSON.stringify(v[P])}return E?`(${JSON.stringify(v)}[chunkId] || chunkId)`:`${JSON.stringify(v)}[chunkId]`};const mapExpr=k=>`" + ${createMap(k)} + "`;const mapExprWithLength=k=>v=>`" + ${createMap((E=>`${k(E)}`.slice(0,v)))} + "`;const je=_e&&le.getPath(JSON.stringify(_e),{hash:`" + ${P.getFullHash}() + "`,hashWithLength:k=>`" + ${P.getFullHash}().slice(0, ${k}) + "`,chunk:{id:`" + chunkId + "`,hash:mapExpr((k=>k.renderedHash)),hashWithLength:mapExprWithLength((k=>k.renderedHash)),name:mapExpr((k=>k.name||k.id)),contentHash:{[R]:mapExpr((k=>k.contentHash[R]))},contentHashWithLength:{[R]:mapExprWithLength((k=>k.contentHash[R]))}},contentHashType:R});return L.asString([`// This function allow to reference ${Ie.join(" and ")}`,`${k} = ${pe.basicFunction("chunkId",Me.size>0?["// return url for filenames not based on template",L.asString(Array.from(Me,(([k,v])=>{const E=v.size===1?`chunkId === ${JSON.stringify(N(v))}`:`{${Array.from(v,(k=>`${JSON.stringify(k)}:1`)).join(",")}}[chunkId]`;return`if (${E}) return ${k};`}))),"// return url for filenames based on template",`return ${je};`]:["// return url for filenames based on template",`return ${je};`])};`])}}k.exports=GetChunkFilenameRuntimeModule},5e3:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class GetFullHashRuntimeModule extends R{constructor(){super("getFullHash");this.fullHash=true}generate(){const{runtimeTemplate:k}=this.compilation;return`${P.getFullHash} = ${k.returningFunction(JSON.stringify(this.compilation.hash||"XXXX"))}`}}k.exports=GetFullHashRuntimeModule},21794:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class GetMainFilenameRuntimeModule extends R{constructor(k,v,E){super(`get ${k} filename`);this.global=v;this.filename=E}generate(){const{global:k,filename:v,compilation:E,chunk:R}=this;const{runtimeTemplate:N}=E;const q=E.getPath(JSON.stringify(v),{hash:`" + ${P.getFullHash}() + "`,hashWithLength:k=>`" + ${P.getFullHash}().slice(0, ${k}) + "`,chunk:R,runtime:R.runtime});return L.asString([`${k} = ${N.returningFunction(q)};`])}}k.exports=GetMainFilenameRuntimeModule},66537:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class GetTrustedTypesPolicyRuntimeModule extends L{constructor(k){super("trusted types policy");this.runtimeRequirements=k}generate(){const{compilation:k}=this;const{runtimeTemplate:v,outputOptions:E}=k;const{trustedTypes:L}=E;const N=P.getTrustedTypesPolicy;const q=L?L.onPolicyCreationFailure==="continue":false;return R.asString(["var policy;",`${N} = ${v.basicFunction("",["// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.","if (policy === undefined) {",R.indent(["policy = {",R.indent([...this.runtimeRequirements.has(P.createScript)?[`createScript: ${v.returningFunction("script","script")}`]:[],...this.runtimeRequirements.has(P.createScriptUrl)?[`createScriptURL: ${v.returningFunction("url","url")}`]:[]].join(",\n")),"};",...L?['if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) {',R.indent([...q?["try {"]:[],...[`policy = trustedTypes.createPolicy(${JSON.stringify(L.policyName)}, policy);`].map((k=>q?R.indent(k):k)),...q?["} catch (e) {",R.indent([`console.warn('Could not create trusted-types policy ${JSON.stringify(L.policyName)}');`]),"}"]:[]]),"}"]:[]]),"}","return policy;"])};`])}}k.exports=GetTrustedTypesPolicyRuntimeModule},75013:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class GlobalRuntimeModule extends R{constructor(){super("global")}generate(){return L.asString([`${P.global} = (function() {`,L.indent(["if (typeof globalThis === 'object') return globalThis;","try {",L.indent("return this || new Function('return this')();"),"} catch (e) {",L.indent("if (typeof window === 'object') return window;"),"}"]),"})();"])}}k.exports=GlobalRuntimeModule},43840:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class HasOwnPropertyRuntimeModule extends R{constructor(){super("hasOwnProperty shorthand")}generate(){const{runtimeTemplate:k}=this.compilation;return L.asString([`${P.hasOwnProperty} = ${k.returningFunction("Object.prototype.hasOwnProperty.call(obj, prop)","obj, prop")}`])}}k.exports=HasOwnPropertyRuntimeModule},25945:function(k,v,E){"use strict";const P=E(27462);class HelperRuntimeModule extends P{constructor(k){super(k)}}k.exports=HelperRuntimeModule},42159:function(k,v,E){"use strict";const{SyncWaterfallHook:P}=E(79846);const R=E(27747);const L=E(56727);const N=E(95041);const q=E(25945);const ae=new WeakMap;class LoadScriptRuntimeModule extends q{static getCompilationHooks(k){if(!(k instanceof R)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=ae.get(k);if(v===undefined){v={createScript:new P(["source","chunk"])};ae.set(k,v)}return v}constructor(k){super("load script");this._withCreateScriptUrl=k}generate(){const{compilation:k}=this;const{runtimeTemplate:v,outputOptions:E}=k;const{scriptType:P,chunkLoadTimeout:R,crossOriginLoading:q,uniqueName:ae,charset:le}=E;const pe=L.loadScript;const{createScript:me}=LoadScriptRuntimeModule.getCompilationHooks(k);const ye=N.asString(["script = document.createElement('script');",P?`script.type = ${JSON.stringify(P)};`:"",le?"script.charset = 'utf-8';":"",`script.timeout = ${R/1e3};`,`if (${L.scriptNonce}) {`,N.indent(`script.setAttribute("nonce", ${L.scriptNonce});`),"}",ae?'script.setAttribute("data-webpack", dataWebpackPrefix + key);':"",`script.src = ${this._withCreateScriptUrl?`${L.createScriptUrl}(url)`:"url"};`,q?q==="use-credentials"?'script.crossOrigin = "use-credentials";':N.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",N.indent(`script.crossOrigin = ${JSON.stringify(q)};`),"}"]):""]);return N.asString(["var inProgress = {};",ae?`var dataWebpackPrefix = ${JSON.stringify(ae+":")};`:"// data-webpack is not used as build has no uniqueName","// loadScript function to load a script via script tag",`${pe} = ${v.basicFunction("url, done, key, chunkId",["if(inProgress[url]) { inProgress[url].push(done); return; }","var script, needAttach;","if(key !== undefined) {",N.indent(['var scripts = document.getElementsByTagName("script");',"for(var i = 0; i < scripts.length; i++) {",N.indent(["var s = scripts[i];",`if(s.getAttribute("src") == url${ae?' || s.getAttribute("data-webpack") == dataWebpackPrefix + key':""}) { script = s; break; }`]),"}"]),"}","if(!script) {",N.indent(["needAttach = true;",me.call(ye,this.chunk)]),"}","inProgress[url] = [done];","var onScriptComplete = "+v.basicFunction("prev, event",N.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(${v.returningFunction("fn(event)","fn")});`,"if(prev) return prev(event);"])),`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${R});`,"script.onerror = onScriptComplete.bind(null, script.onerror);","script.onload = onScriptComplete.bind(null, script.onload);","needAttach && document.head.appendChild(script);"])};`])}}k.exports=LoadScriptRuntimeModule},22016:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class MakeNamespaceObjectRuntimeModule extends L{constructor(){super("make namespace object")}generate(){const{runtimeTemplate:k}=this.compilation;const v=P.makeNamespaceObject;return R.asString(["// define __esModule on exports",`${v} = ${k.basicFunction("exports",["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",R.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"])};`])}}k.exports=MakeNamespaceObjectRuntimeModule},17800:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class NonceRuntimeModule extends R{constructor(){super("nonce",R.STAGE_ATTACH)}generate(){return`${P.scriptNonce} = undefined;`}}k.exports=NonceRuntimeModule},10887:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class OnChunksLoadedRuntimeModule extends R{constructor(){super("chunk loaded")}generate(){const{compilation:k}=this;const{runtimeTemplate:v}=k;return L.asString(["var deferred = [];",`${P.onChunksLoaded} = ${v.basicFunction("result, chunkIds, fn, priority",["if(chunkIds) {",L.indent(["priority = priority || 0;","for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];","deferred[i] = [chunkIds, fn, priority];","return;"]),"}","var notFulfilled = Infinity;","for (var i = 0; i < deferred.length; i++) {",L.indent([v.destructureArray(["chunkIds","fn","priority"],"deferred[i]"),"var fulfilled = true;","for (var j = 0; j < chunkIds.length; j++) {",L.indent([`if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${P.onChunksLoaded}).every(${v.returningFunction(`${P.onChunksLoaded}[key](chunkIds[j])`,"key")})) {`,L.indent(["chunkIds.splice(j--, 1);"]),"} else {",L.indent(["fulfilled = false;","if(priority < notFulfilled) notFulfilled = priority;"]),"}"]),"}","if(fulfilled) {",L.indent(["deferred.splice(i--, 1)","var r = fn();","if (r !== undefined) result = r;"]),"}"]),"}","return result;"])};`])}}k.exports=OnChunksLoadedRuntimeModule},67415:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class PublicPathRuntimeModule extends R{constructor(k){super("publicPath",R.STAGE_BASIC);this.publicPath=k}generate(){const{compilation:k,publicPath:v}=this;return`${P.publicPath} = ${JSON.stringify(k.getPath(v||"",{hash:k.hash||"XXXX"}))};`}}k.exports=PublicPathRuntimeModule},96272:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class RelativeUrlRuntimeModule extends L{constructor(){super("relative url")}generate(){const{runtimeTemplate:k}=this.compilation;return R.asString([`${P.relativeUrl} = function RelativeURL(url) {`,R.indent(['var realUrl = new URL(url, "x:/");',"var values = {};","for (var key in realUrl) values[key] = realUrl[key];","values.href = url;",'values.pathname = url.replace(/[?#].*/, "");','values.origin = values.protocol = "";',`values.toString = values.toJSON = ${k.returningFunction("url")};`,"for (var key in values) Object.defineProperty(this, key, { enumerable: true, configurable: true, value: values[key] });"]),"};",`${P.relativeUrl}.prototype = URL.prototype;`])}}k.exports=RelativeUrlRuntimeModule},8062:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class RuntimeIdRuntimeModule extends R{constructor(){super("runtimeId")}generate(){const{chunkGraph:k,chunk:v}=this;const E=v.runtime;if(typeof E!=="string")throw new Error("RuntimeIdRuntimeModule must be in a single runtime");const R=k.getRuntimeId(E);return`${P.runtimeId} = ${JSON.stringify(R)};`}}k.exports=RuntimeIdRuntimeModule},31626:function(k,v,E){"use strict";const P=E(56727);const R=E(1433);const L=E(5989);class StartupChunkDependenciesPlugin{constructor(k){this.chunkLoading=k.chunkLoading;this.asyncChunkLoading=typeof k.asyncChunkLoading==="boolean"?k.asyncChunkLoading:true}apply(k){k.hooks.thisCompilation.tap("StartupChunkDependenciesPlugin",(k=>{const v=k.outputOptions.chunkLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.chunkLoading!==undefined?E.chunkLoading:v;return P===this.chunkLoading};k.hooks.additionalTreeRuntimeRequirements.tap("StartupChunkDependenciesPlugin",((v,E,{chunkGraph:L})=>{if(!isEnabledForChunk(v))return;if(L.hasChunkEntryDependentChunks(v)){E.add(P.startup);E.add(P.ensureChunk);E.add(P.ensureChunkIncludeEntries);k.addRuntimeModule(v,new R(this.asyncChunkLoading))}}));k.hooks.runtimeRequirementInTree.for(P.startupEntrypoint).tap("StartupChunkDependenciesPlugin",((v,E)=>{if(!isEnabledForChunk(v))return;E.add(P.require);E.add(P.ensureChunk);E.add(P.ensureChunkIncludeEntries);k.addRuntimeModule(v,new L(this.asyncChunkLoading))}))}))}}k.exports=StartupChunkDependenciesPlugin},1433:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class StartupChunkDependenciesRuntimeModule extends R{constructor(k){super("startup chunk dependencies",R.STAGE_TRIGGER);this.asyncChunkLoading=k}generate(){const{chunkGraph:k,chunk:v,compilation:E}=this;const{runtimeTemplate:R}=E;const N=Array.from(k.getChunkEntryDependentChunksIterable(v)).map((k=>k.id));return L.asString([`var next = ${P.startup};`,`${P.startup} = ${R.basicFunction("",!this.asyncChunkLoading?N.map((k=>`${P.ensureChunk}(${JSON.stringify(k)});`)).concat("return next();"):N.length===1?`return ${P.ensureChunk}(${JSON.stringify(N[0])}).then(next);`:N.length>2?[`return Promise.all(${JSON.stringify(N)}.map(${P.ensureChunk}, ${P.require})).then(next);`]:["return Promise.all([",L.indent(N.map((k=>`${P.ensureChunk}(${JSON.stringify(k)})`)).join(",\n")),"]).then(next);"])};`])}}k.exports=StartupChunkDependenciesRuntimeModule},5989:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class StartupEntrypointRuntimeModule extends R{constructor(k){super("startup entrypoint");this.asyncChunkLoading=k}generate(){const{compilation:k}=this;const{runtimeTemplate:v}=k;return`${P.startupEntrypoint} = ${v.basicFunction("result, chunkIds, fn",["// arguments: chunkIds, moduleId are deprecated","var moduleId = chunkIds;",`if(!fn) chunkIds = result, fn = ${v.returningFunction(`${P.require}(${P.entryModuleId} = moduleId)`)};`,...this.asyncChunkLoading?[`return Promise.all(chunkIds.map(${P.ensureChunk}, ${P.require})).then(${v.basicFunction("",["var r = fn();","return r === undefined ? result : r;"])})`]:[`chunkIds.map(${P.ensureChunk}, ${P.require})`,"var r = fn();","return r === undefined ? result : r;"]])}`}}k.exports=StartupEntrypointRuntimeModule},34108:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class SystemContextRuntimeModule extends R{constructor(){super("__system_context__")}generate(){return`${P.systemContext} = __system_context__;`}}k.exports=SystemContextRuntimeModule},82599:function(k,v,E){"use strict";const P=E(38224);const R=/^data:([^;,]+)?((?:;[^;,]+)*?)(?:;(base64))?,(.*)$/i;const decodeDataURI=k=>{const v=R.exec(k);if(!v)return null;const E=v[3];const P=v[4];if(E){return Buffer.from(P,"base64")}try{return Buffer.from(decodeURIComponent(P),"ascii")}catch(k){return Buffer.from(P,"ascii")}};class DataUriPlugin{apply(k){k.hooks.compilation.tap("DataUriPlugin",((k,{normalModuleFactory:v})=>{v.hooks.resolveForScheme.for("data").tap("DataUriPlugin",(k=>{const v=R.exec(k.resource);if(v){k.data.mimetype=v[1]||"";k.data.parameters=v[2]||"";k.data.encoding=v[3]||false;k.data.encodedContent=v[4]||""}}));P.getCompilationHooks(k).readResourceForScheme.for("data").tap("DataUriPlugin",(k=>decodeDataURI(k)))}))}}k.exports=DataUriPlugin},28730:function(k,v,E){"use strict";const{URL:P,fileURLToPath:R}=E(57310);const{NormalModule:L}=E(94308);class FileUriPlugin{apply(k){k.hooks.compilation.tap("FileUriPlugin",((k,{normalModuleFactory:v})=>{v.hooks.resolveForScheme.for("file").tap("FileUriPlugin",(k=>{const v=new P(k.resource);const E=R(v);const L=v.search;const N=v.hash;k.path=E;k.query=L;k.fragment=N;k.resource=E+L+N;return true}));const E=L.getCompilationHooks(k);E.readResource.for(undefined).tapAsync("FileUriPlugin",((k,v)=>{const{resourcePath:E}=k;k.addDependency(E);k.fs.readFile(E,v)}))}))}}k.exports=FileUriPlugin},73500:function(k,v,E){"use strict";const P=E(82361);const{extname:R,basename:L}=E(71017);const{URL:N}=E(57310);const{createGunzip:q,createBrotliDecompress:ae,createInflate:le}=E(59796);const pe=E(38224);const me=E(92198);const ye=E(74012);const{mkdirp:_e,dirname:Ie,join:Me}=E(57825);const Te=E(20631);const je=Te((()=>E(13685)));const Ne=Te((()=>E(95687)));const proxyFetch=(k,v)=>(E,R,L)=>{const q=new P;const doRequest=v=>k.get(E,{...R,...v&&{socket:v}},L).on("error",q.emit.bind(q,"error"));if(v){const{hostname:k,port:P}=new N(v);je().request({host:k,port:P,method:"CONNECT",path:E.host}).on("connect",((k,v)=>{if(k.statusCode===200){doRequest(v)}})).on("error",(k=>{q.emit("error",new Error(`Failed to connect to proxy server "${v}": ${k.message}`))})).end()}else{doRequest()}return q};let Be=undefined;const qe=me(E(95892),(()=>E(72789)),{name:"Http Uri Plugin",baseDataPath:"options"});const toSafePath=k=>k.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g,"").replace(/[^a-zA-Z0-9._-]+/g,"_");const computeIntegrity=k=>{const v=ye("sha512");v.update(k);const E="sha512-"+v.digest("base64");return E};const verifyIntegrity=(k,v)=>{if(v==="ignore")return true;return computeIntegrity(k)===v};const parseKeyValuePairs=k=>{const v={};for(const E of k.split(",")){const k=E.indexOf("=");if(k>=0){const P=E.slice(0,k).trim();const R=E.slice(k+1).trim();v[P]=R}else{const k=E.trim();if(!k)continue;v[k]=k}}return v};const parseCacheControl=(k,v)=>{let E=true;let P=true;let R=0;if(k){const L=parseKeyValuePairs(k);if(L["no-cache"])E=P=false;if(L["max-age"]&&!isNaN(+L["max-age"])){R=v+ +L["max-age"]*1e3}if(L["must-revalidate"])R=0}return{storeLock:P,storeCache:E,validUntil:R}};const areLockfileEntriesEqual=(k,v)=>k.resolved===v.resolved&&k.integrity===v.integrity&&k.contentType===v.contentType;const entryToString=k=>`resolved: ${k.resolved}, integrity: ${k.integrity}, contentType: ${k.contentType}`;class Lockfile{constructor(){this.version=1;this.entries=new Map}static parse(k){const v=JSON.parse(k);if(v.version!==1)throw new Error(`Unsupported lockfile version ${v.version}`);const E=new Lockfile;for(const k of Object.keys(v)){if(k==="version")continue;const P=v[k];E.entries.set(k,typeof P==="string"?P:{resolved:k,...P})}return E}toString(){let k="{\n";const v=Array.from(this.entries).sort((([k],[v])=>k{let v=false;let E=undefined;let P=undefined;let R=undefined;return L=>{if(v){if(P!==undefined)return L(null,P);if(E!==undefined)return L(E);if(R===undefined)R=[L];else R.push(L);return}v=true;k(((k,v)=>{if(k)E=k;else P=v;const N=R;R=undefined;L(k,v);if(N!==undefined)for(const E of N)E(k,v)}))}};const cachedWithKey=(k,v=k)=>{const E=new Map;const resultFn=(v,P)=>{const R=E.get(v);if(R!==undefined){if(R.result!==undefined)return P(null,R.result);if(R.error!==undefined)return P(R.error);if(R.callbacks===undefined)R.callbacks=[P];else R.callbacks.push(P);return}const L={result:undefined,error:undefined,callbacks:undefined};E.set(v,L);k(v,((k,v)=>{if(k)L.error=k;else L.result=v;const E=L.callbacks;L.callbacks=undefined;P(k,v);if(E!==undefined)for(const P of E)P(k,v)}))};resultFn.force=(k,P)=>{const R=E.get(k);if(R!==undefined&&R.force){if(R.result!==undefined)return P(null,R.result);if(R.error!==undefined)return P(R.error);if(R.callbacks===undefined)R.callbacks=[P];else R.callbacks.push(P);return}const L={result:undefined,error:undefined,callbacks:undefined,force:true};E.set(k,L);v(k,((k,v)=>{if(k)L.error=k;else L.result=v;const E=L.callbacks;L.callbacks=undefined;P(k,v);if(E!==undefined)for(const P of E)P(k,v)}))};return resultFn};class HttpUriPlugin{constructor(k){qe(k);this._lockfileLocation=k.lockfileLocation;this._cacheLocation=k.cacheLocation;this._upgrade=k.upgrade;this._frozen=k.frozen;this._allowedUris=k.allowedUris;this._proxy=k.proxy}apply(k){const v=this._proxy||process.env["http_proxy"]||process.env["HTTP_PROXY"];const E=[{scheme:"http",fetch:proxyFetch(je(),v)},{scheme:"https",fetch:proxyFetch(Ne(),v)}];let P;k.hooks.compilation.tap("HttpUriPlugin",((v,{normalModuleFactory:me})=>{const Te=k.intermediateFileSystem;const je=v.inputFileSystem;const Ne=v.getCache("webpack.HttpUriPlugin");const qe=v.getLogger("webpack.HttpUriPlugin");const Ue=this._lockfileLocation||Me(Te,k.context,k.name?`${toSafePath(k.name)}.webpack.lock`:"webpack.lock");const Ge=this._cacheLocation!==undefined?this._cacheLocation:Ue+".data";const He=this._upgrade||false;const We=this._frozen||false;const Qe="sha512";const Je="hex";const Ve=20;const Ke=this._allowedUris;let Ye=false;const Xe=new Map;const getCacheKey=k=>{const v=Xe.get(k);if(v!==undefined)return v;const E=_getCacheKey(k);Xe.set(k,E);return E};const _getCacheKey=k=>{const v=new N(k);const E=toSafePath(v.origin);const P=toSafePath(v.pathname);const L=toSafePath(v.search);let q=R(P);if(q.length>20)q="";const ae=q?P.slice(0,-q.length):P;const le=ye(Qe);le.update(k);const pe=le.digest(Je).slice(0,Ve);return`${E.slice(-50)}/${`${ae}${L?`_${L}`:""}`.slice(0,150)}_${pe}${q}`};const Ze=cachedWithoutKey((E=>{const readLockfile=()=>{Te.readFile(Ue,((R,L)=>{if(R&&R.code!=="ENOENT"){v.missingDependencies.add(Ue);return E(R)}v.fileDependencies.add(Ue);v.fileSystemInfo.createSnapshot(k.fsStartTime,L?[Ue]:[],[],L?[]:[Ue],{timestamp:true},((k,v)=>{if(k)return E(k);const R=L?Lockfile.parse(L.toString("utf-8")):new Lockfile;P={lockfile:R,snapshot:v};E(null,R)}))}))};if(P){v.fileSystemInfo.checkSnapshotValid(P.snapshot,((k,v)=>{if(k)return E(k);if(!v)return readLockfile();E(null,P.lockfile)}))}else{readLockfile()}}));let et=undefined;const storeLockEntry=(k,v,E)=>{const P=k.entries.get(v);if(et===undefined)et=new Map;et.set(v,E);k.entries.set(v,E);if(!P){qe.log(`${v} added to lockfile`)}else if(typeof P==="string"){if(typeof E==="string"){qe.log(`${v} updated in lockfile: ${P} -> ${E}`)}else{qe.log(`${v} updated in lockfile: ${P} -> ${E.resolved}`)}}else if(typeof E==="string"){qe.log(`${v} updated in lockfile: ${P.resolved} -> ${E}`)}else if(P.resolved!==E.resolved){qe.log(`${v} updated in lockfile: ${P.resolved} -> ${E.resolved}`)}else if(P.integrity!==E.integrity){qe.log(`${v} updated in lockfile: content changed`)}else if(P.contentType!==E.contentType){qe.log(`${v} updated in lockfile: ${P.contentType} -> ${E.contentType}`)}else{qe.log(`${v} updated in lockfile`)}};const storeResult=(k,v,E,P)=>{if(E.storeLock){storeLockEntry(k,v,E.entry);if(!Ge||!E.content)return P(null,E);const R=getCacheKey(E.entry.resolved);const L=Me(Te,Ge,R);_e(Te,Ie(Te,L),(k=>{if(k)return P(k);Te.writeFile(L,E.content,(k=>{if(k)return P(k);P(null,E)}))}))}else{storeLockEntry(k,v,"no-cache");P(null,E)}};for(const{scheme:k,fetch:P}of E){const resolveContent=(k,v,P)=>{const handleResult=(R,L)=>{if(R)return P(R);if("location"in L){return resolveContent(L.location,v,((k,v)=>{if(k)return P(k);P(null,{entry:v.entry,content:v.content,storeLock:v.storeLock&&L.storeLock})}))}else{if(!L.fresh&&v&&L.entry.integrity!==v&&!verifyIntegrity(L.content,v)){return E.force(k,handleResult)}return P(null,{entry:L.entry,content:L.content,storeLock:L.storeLock})}};E(k,handleResult)};const fetchContentRaw=(k,v,E)=>{const R=Date.now();P(new N(k),{headers:{"accept-encoding":"gzip, deflate, br","user-agent":"webpack","if-none-match":v?v.etag||null:null}},(P=>{const L=P.headers["etag"];const pe=P.headers["location"];const me=P.headers["cache-control"];const{storeLock:ye,storeCache:_e,validUntil:Ie}=parseCacheControl(me,R);const finishWith=v=>{if("location"in v){qe.debug(`GET ${k} [${P.statusCode}] -> ${v.location}`)}else{qe.debug(`GET ${k} [${P.statusCode}] ${Math.ceil(v.content.length/1024)} kB${!ye?" no-cache":""}`)}const R={...v,fresh:true,storeLock:ye,storeCache:_e,validUntil:Ie,etag:L};if(!_e){qe.log(`${k} can't be stored in cache, due to Cache-Control header: ${me}`);return E(null,R)}Ne.store(k,null,{...R,fresh:false},(v=>{if(v){qe.warn(`${k} can't be stored in cache: ${v.message}`);qe.debug(v.stack)}E(null,R)}))};if(P.statusCode===304){if(v.validUntil=301&&P.statusCode<=308){const R={location:new N(pe,k).href};if(!v||!("location"in v)||v.location!==R.location||v.validUntil{Te.push(k)}));Be.on("end",(()=>{if(!P.complete){qe.log(`GET ${k} [${P.statusCode}] (terminated)`);return E(new Error(`${k} request was terminated`))}const v=Buffer.concat(Te);if(P.statusCode!==200){qe.log(`GET ${k} [${P.statusCode}]`);return E(new Error(`${k} request status code = ${P.statusCode}\n${v.toString("utf-8")}`))}const R=computeIntegrity(v);const L={resolved:k,integrity:R,contentType:Me};finishWith({entry:L,content:v})}))})).on("error",(v=>{qe.log(`GET ${k} (error)`);v.message+=`\nwhile fetching ${k}`;E(v)}))};const E=cachedWithKey(((k,v)=>{Ne.get(k,null,((E,P)=>{if(E)return v(E);if(P){const k=P.validUntil>=Date.now();if(k)return v(null,P)}fetchContentRaw(k,P,v)}))}),((k,v)=>fetchContentRaw(k,undefined,v)));const isAllowed=k=>{for(const v of Ke){if(typeof v==="string"){if(k.startsWith(v))return true}else if(typeof v==="function"){if(v(k))return true}else{if(v.test(k))return true}}return false};const R=cachedWithKey(((k,v)=>{if(!isAllowed(k)){return v(new Error(`${k} doesn't match the allowedUris policy. These URIs are allowed:\n${Ke.map((k=>` - ${k}`)).join("\n")}`))}Ze(((E,P)=>{if(E)return v(E);const R=P.entries.get(k);if(!R){if(We){return v(new Error(`${k} has no lockfile entry and lockfile is frozen`))}resolveContent(k,null,((E,R)=>{if(E)return v(E);storeResult(P,k,R,v)}));return}if(typeof R==="string"){const E=R;resolveContent(k,null,((R,L)=>{if(R)return v(R);if(!L.storeLock||E==="ignore")return v(null,L);if(We){return v(new Error(`${k} used to have ${E} lockfile entry and has content now, but lockfile is frozen`))}if(!He){return v(new Error(`${k} used to have ${E} lockfile entry and has content now.\nThis should be reflected in the lockfile, so this lockfile entry must be upgraded, but upgrading is not enabled.\nRemove this line from the lockfile to force upgrading.`))}storeResult(P,k,L,v)}));return}let L=R;const doFetch=E=>{resolveContent(k,L.integrity,((R,N)=>{if(R){if(E){qe.warn(`Upgrade request to ${k} failed: ${R.message}`);qe.debug(R.stack);return v(null,{entry:L,content:E})}return v(R)}if(!N.storeLock){if(We){return v(new Error(`${k} has a lockfile entry and is no-cache now, but lockfile is frozen\nLockfile: ${entryToString(L)}`))}storeResult(P,k,N,v);return}if(!areLockfileEntriesEqual(N.entry,L)){if(We){return v(new Error(`${k} has an outdated lockfile entry, but lockfile is frozen\nLockfile: ${entryToString(L)}\nExpected: ${entryToString(N.entry)}`))}storeResult(P,k,N,v);return}if(!E&&Ge){if(We){return v(new Error(`${k} is missing content in the lockfile cache, but lockfile is frozen\nLockfile: ${entryToString(L)}`))}storeResult(P,k,N,v);return}return v(null,N)}))};if(Ge){const E=getCacheKey(L.resolved);const R=Me(Te,Ge,E);je.readFile(R,((E,N)=>{const q=N;if(E){if(E.code==="ENOENT")return doFetch();return v(E)}const continueWithCachedContent=k=>{if(!He){return v(null,{entry:L,content:q})}return doFetch(q)};if(!verifyIntegrity(q,L.integrity)){let E;let N=false;try{E=Buffer.from(q.toString("utf-8").replace(/\r\n/g,"\n"));N=verifyIntegrity(E,L.integrity)}catch(k){}if(N){if(!Ye){const k=`Incorrect end of line sequence was detected in the lockfile cache.\nThe lockfile cache is protected by integrity checks, so any external modification will lead to a corrupted lockfile cache.\nWhen using git make sure to configure .gitattributes correctly for the lockfile cache:\n **/*webpack.lock.data/** -text\nThis will avoid that the end of line sequence is changed by git on Windows.`;if(We){qe.error(k)}else{qe.warn(k);qe.info("Lockfile cache will be automatically fixed now, but when lockfile is frozen this would result in an error.")}Ye=true}if(!We){qe.log(`${R} fixed end of line sequence (\\r\\n instead of \\n).`);Te.writeFile(R,E,(k=>{if(k)return v(k);continueWithCachedContent(E)}));return}}if(We){return v(new Error(`${L.resolved} integrity mismatch, expected content with integrity ${L.integrity} but got ${computeIntegrity(q)}.\nLockfile corrupted (${N?"end of line sequence was unexpectedly changed":"incorrectly merged? changed by other tools?"}).\nRun build with un-frozen lockfile to automatically fix lockfile.`))}else{L={...L,integrity:computeIntegrity(q)};storeLockEntry(P,k,L)}}continueWithCachedContent(N)}))}else{doFetch()}}))}));const respondWithUrlModule=(k,v,E)=>{R(k.href,((P,R)=>{if(P)return E(P);v.resource=k.href;v.path=k.origin+k.pathname;v.query=k.search;v.fragment=k.hash;v.context=new N(".",R.entry.resolved).href.slice(0,-1);v.data.mimetype=R.entry.contentType;E(null,true)}))};me.hooks.resolveForScheme.for(k).tapAsync("HttpUriPlugin",((k,v,E)=>{respondWithUrlModule(new N(k.resource),k,E)}));me.hooks.resolveInScheme.for(k).tapAsync("HttpUriPlugin",((k,v,E)=>{if(v.dependencyType!=="url"&&!/^\.{0,2}\//.test(k.resource)){return E()}respondWithUrlModule(new N(k.resource,v.context+"/"),k,E)}));const L=pe.getCompilationHooks(v);L.readResourceForScheme.for(k).tapAsync("HttpUriPlugin",((k,v,E)=>R(k,((k,P)=>{if(k)return E(k);v.buildInfo.resourceIntegrity=P.entry.integrity;E(null,P.content)}))));L.needBuild.tapAsync("HttpUriPlugin",((v,E,P)=>{if(v.resource&&v.resource.startsWith(`${k}://`)){R(v.resource,((k,E)=>{if(k)return P(k);if(E.entry.integrity!==v.buildInfo.resourceIntegrity){return P(null,true)}P()}))}else{return P()}}))}v.hooks.finishModules.tapAsync("HttpUriPlugin",((k,v)=>{if(!et)return v();const E=R(Ue);const P=Me(Te,Ie(Te,Ue),`.${L(Ue,E)}.${Math.random()*1e4|0}${E}`);const writeDone=()=>{const k=Be.shift();if(k){k()}else{Be=undefined}};const runWrite=()=>{Te.readFile(Ue,((k,E)=>{if(k&&k.code!=="ENOENT"){writeDone();return v(k)}const R=E?Lockfile.parse(E.toString("utf-8")):new Lockfile;for(const[k,v]of et){R.entries.set(k,v)}Te.writeFile(P,R.toString(),(k=>{if(k){writeDone();return Te.unlink(P,(()=>v(k)))}Te.rename(P,Ue,(k=>{if(k){writeDone();return Te.unlink(P,(()=>v(k)))}writeDone();v()}))}))}))};if(Be){Be.push(runWrite)}else{Be=[];runWrite()}}))}))}}k.exports=HttpUriPlugin},73184:function(k){"use strict";class ArraySerializer{serialize(k,v){v.write(k.length);for(const E of k)v.write(E)}deserialize(k){const v=k.read();const E=[];for(let P=0;P{if(k===(k|0)){if(k<=127&&k>=-128)return 0;if(k<=2147483647&&k>=-2147483648)return 1}return 2};const identifyBigInt=k=>{if(k<=BigInt(127)&&k>=BigInt(-128))return 0;if(k<=BigInt(2147483647)&&k>=BigInt(-2147483648))return 1;return 2};class BinaryMiddleware extends R{serialize(k,v){return this._serialize(k,v)}_serializeLazy(k,v){return R.serializeLazy(k,(k=>this._serialize(k,v)))}_serialize(k,v,E={allocationSize:1024,increaseCounter:0,leftOverBuffer:null}){let P=null;let Ve=[];let Ke=E?E.leftOverBuffer:null;E.leftOverBuffer=null;let Ye=0;if(Ke===null){Ke=Buffer.allocUnsafe(E.allocationSize)}const allocate=k=>{if(Ke!==null){if(Ke.length-Ye>=k)return;flush()}if(P&&P.length>=k){Ke=P;P=null}else{Ke=Buffer.allocUnsafe(Math.max(k,E.allocationSize));if(!(E.increaseCounter=(E.increaseCounter+1)%4)&&E.allocationSize<16777216){E.allocationSize=E.allocationSize<<1}}};const flush=()=>{if(Ke!==null){if(Ye>0){Ve.push(Buffer.from(Ke.buffer,Ke.byteOffset,Ye))}if(!P||P.length{Ke.writeUInt8(k,Ye++)};const writeU32=k=>{Ke.writeUInt32LE(k,Ye);Ye+=4};const rt=[];const measureStart=()=>{rt.push(Ve.length,Ye)};const measureEnd=()=>{const k=rt.pop();const v=rt.pop();let E=Ye-k;for(let k=v;k0&&(k=N[N.length-1])!==0){const E=4294967295-k;if(E>=v.length){N[N.length-1]+=v.length}else{N.push(v.length-E);N[N.length-2]=4294967295}}else{N.push(v.length)}}allocate(5+N.length*4);writeU8(L);writeU32(N.length);for(const k of N){writeU32(k)}flush();for(const v of k){Ve.push(v)}break}case"string":{const k=Buffer.byteLength(ot);if(k>=128||k!==ot.length){allocate(k+Xe+et);writeU8(Ue);writeU32(k);Ke.write(ot,Ye);Ye+=k}else if(k>=70){allocate(k+Xe);writeU8(Je|k);Ke.write(ot,Ye,"latin1");Ye+=k}else{allocate(k+Xe);writeU8(Je|k);for(let v=0;v=0&&ot<=BigInt(10)){allocate(Xe+Ze);writeU8(Be);writeU8(Number(ot));break}switch(v){case 0:{let v=1;allocate(Xe+Ze*v);writeU8(Be|v-1);while(v>0){Ke.writeInt8(Number(k[rt]),Ye);Ye+=Ze;v--;rt++}rt--;break}case 1:{let v=1;allocate(Xe+et*v);writeU8(qe|v-1);while(v>0){Ke.writeInt32LE(Number(k[rt]),Ye);Ye+=et;v--;rt++}rt--;break}default:{const k=ot.toString();const v=Buffer.byteLength(k);allocate(v+Xe+et);writeU8(Ne);writeU32(v);Ke.write(k,Ye);Ye+=v;break}}break}case"number":{const v=identifyNumber(ot);if(v===0&&ot>=0&&ot<=10){allocate(Ze);writeU8(ot);break}let E=1;for(;E<32&&rt+E0){Ke.writeInt8(k[rt],Ye);Ye+=Ze;E--;rt++}break;case 1:allocate(Xe+et*E);writeU8(We|E-1);while(E>0){Ke.writeInt32LE(k[rt],Ye);Ye+=et;E--;rt++}break;case 2:allocate(Xe+tt*E);writeU8(Qe|E-1);while(E>0){Ke.writeDoubleLE(k[rt],Ye);Ye+=tt;E--;rt++}break}rt--;break}case"boolean":{let v=ot===true?1:0;const E=[];let P=1;let R;for(R=1;R<4294967295&&rt+Rthis._deserialize(k,v))),this,undefined,k)}_deserializeLazy(k,v){return R.deserializeLazy(k,(k=>this._deserialize(k,v)))}_deserialize(k,v){let E=0;let P=k[0];let R=Buffer.isBuffer(P);let Xe=0;const nt=v.retainedBuffer||(k=>k);const checkOverflow=()=>{if(Xe>=P.length){Xe=0;E++;P=ER&&k+Xe<=P.length;const ensureBuffer=()=>{if(!R){throw new Error(P===null?"Unexpected end of stream":"Unexpected lazy element in stream")}};const read=v=>{ensureBuffer();const L=P.length-Xe;if(L{ensureBuffer();const v=P.length-Xe;if(v{ensureBuffer();const k=P.readUInt8(Xe);Xe+=Ze;checkOverflow();return k};const readU32=()=>read(et).readUInt32LE(0);const readBits=(k,v)=>{let E=1;while(v!==0){rt.push((k&E)!==0);E=E<<1;v--}};const st=Array.from({length:256}).map(((st,ot)=>{switch(ot){case L:return()=>{const L=readU32();const N=Array.from({length:L}).map((()=>readU32()));const q=[];for(let v of N){if(v===0){if(typeof P!=="function"){throw new Error("Unexpected non-lazy element in stream")}q.push(P);E++;P=E0)}}rt.push(this._createLazyDeserialized(q,v))};case Ge:return()=>{const k=readU32();rt.push(nt(read(k)))};case N:return()=>rt.push(true);case q:return()=>rt.push(false);case me:return()=>rt.push(null,null,null);case pe:return()=>rt.push(null,null);case le:return()=>rt.push(null);case Te:return()=>rt.push(null,true);case je:return()=>rt.push(null,false);case Ie:return()=>{if(R){rt.push(null,P.readInt8(Xe));Xe+=Ze;checkOverflow()}else{rt.push(null,read(Ze).readInt8(0))}};case Me:return()=>{rt.push(null);if(isInCurrentBuffer(et)){rt.push(P.readInt32LE(Xe));Xe+=et;checkOverflow()}else{rt.push(read(et).readInt32LE(0))}};case ye:return()=>{const k=readU8()+4;for(let v=0;v{const k=readU32()+260;for(let v=0;v{const k=readU8();if((k&240)===0){readBits(k,3)}else if((k&224)===0){readBits(k,4)}else if((k&192)===0){readBits(k,5)}else if((k&128)===0){readBits(k,6)}else if(k!==255){let v=(k&127)+7;while(v>8){readBits(readU8(),8);v-=8}readBits(readU8(),v)}else{let k=readU32();while(k>8){readBits(readU8(),8);k-=8}readBits(readU8(),k)}};case Ue:return()=>{const k=readU32();if(isInCurrentBuffer(k)&&Xe+k<2147483647){rt.push(P.toString(undefined,Xe,Xe+k));Xe+=k;checkOverflow()}else{rt.push(read(k).toString())}};case Je:return()=>rt.push("");case Je|1:return()=>{if(R&&Xe<2147483646){rt.push(P.toString("latin1",Xe,Xe+1));Xe++;checkOverflow()}else{rt.push(read(1).toString("latin1"))}};case He:return()=>{if(R){rt.push(P.readInt8(Xe));Xe++;checkOverflow()}else{rt.push(read(1).readInt8(0))}};case Be:{const k=1;return()=>{const v=Ze*k;if(isInCurrentBuffer(v)){for(let v=0;v{const v=et*k;if(isInCurrentBuffer(v)){for(let v=0;v{const k=readU32();if(isInCurrentBuffer(k)&&Xe+k<2147483647){const v=P.toString(undefined,Xe,Xe+k);rt.push(BigInt(v));Xe+=k;checkOverflow()}else{const v=read(k).toString();rt.push(BigInt(v))}}}default:if(ot<=10){return()=>rt.push(ot)}else if((ot&Je)===Je){const k=ot&Ye;return()=>{if(isInCurrentBuffer(k)&&Xe+k<2147483647){rt.push(P.toString("latin1",Xe,Xe+k));Xe+=k;checkOverflow()}else{rt.push(read(k).toString("latin1"))}}}else if((ot&Ve)===Qe){const k=(ot&Ke)+1;return()=>{const v=tt*k;if(isInCurrentBuffer(v)){for(let v=0;v{const v=et*k;if(isInCurrentBuffer(v)){for(let v=0;v{const v=Ze*k;if(isInCurrentBuffer(v)){for(let v=0;v{throw new Error(`Unexpected header byte 0x${ot.toString(16)}`)}}}}));let rt=[];while(P!==null){if(typeof P==="function"){rt.push(this._deserializeLazy(P,v));E++;P=E{const E=pe(v);for(const v of k)E.update(v);return E.digest("hex")};const Be=100*1024*1024;const qe=100*1024*1024;const Ue=Buffer.prototype.writeBigUInt64LE?(k,v,E)=>{k.writeBigUInt64LE(BigInt(v),E)}:(k,v,E)=>{const P=v%4294967296;const R=(v-P)/4294967296;k.writeUInt32LE(P,E);k.writeUInt32LE(R,E+4)};const Ge=Buffer.prototype.readBigUInt64LE?(k,v)=>Number(k.readBigUInt64LE(v)):(k,v)=>{const E=k.readUInt32LE(v);const P=k.readUInt32LE(v+4);return P*4294967296+E};const serialize=async(k,v,E,P,R="md4")=>{const L=[];const N=new WeakMap;let q=undefined;for(const E of await v){if(typeof E==="function"){if(!Me.isLazy(E))throw new Error("Unexpected function");if(!Me.isLazy(E,k)){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}q=undefined;const v=Me.getLazySerializedValue(E);if(v){if(typeof v==="function"){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}else{L.push(v)}}else{const v=E();if(v){const q=Me.getLazyOptions(E);L.push(serialize(k,v,q&&q.name||true,P,R).then((k=>{E.options.size=k.size;N.set(k,E);return k})))}else{throw new Error("Unexpected falsy value returned by lazy value function")}}}else if(E){if(q){q.push(E)}else{q=[E];L.push(q)}}else{throw new Error("Unexpected falsy value in items array")}}const ae=[];const le=(await Promise.all(L)).map((k=>{if(Array.isArray(k)||Buffer.isBuffer(k))return k;ae.push(k.backgroundJob);const v=k.name;const E=Buffer.from(v);const P=Buffer.allocUnsafe(8+E.length);Ue(P,k.size,0);E.copy(P,8,0);const R=N.get(k);Me.setLazySerializedValue(R,P);return P}));const pe=[];for(const k of le){if(Array.isArray(k)){let v=0;for(const E of k)v+=E.length;while(v>2147483647){pe.push(2147483647);v-=2147483647}pe.push(v)}else if(k){pe.push(-k.length)}else{throw new Error("Unexpected falsy value in resolved data "+k)}}const me=Buffer.allocUnsafe(8+pe.length*4);me.writeUInt32LE(Te,0);me.writeUInt32LE(pe.length,4);for(let k=0;k{const P=await E(v);if(P.length===0)throw new Error("Empty file "+v);let R=0;let L=P[0];let N=L.length;let q=0;if(N===0)throw new Error("Empty file "+v);const nextContent=()=>{R++;L=P[R];N=L.length;q=0};const ensureData=k=>{if(q===N){nextContent()}while(N-qE){ae.push(P[k].slice(0,E));P[k]=P[k].slice(E);E=0;break}else{ae.push(P[k]);R=k;E-=v}}if(E>0)throw new Error("Unexpected end of data");L=Buffer.concat(ae,k);N=k;q=0}};const readUInt32LE=()=>{ensureData(4);const k=L.readUInt32LE(q);q+=4;return k};const readInt32LE=()=>{ensureData(4);const k=L.readInt32LE(q);q+=4;return k};const readSlice=k=>{ensureData(k);if(q===0&&N===k){const v=L;if(R+1=0;if(me&&v){pe[pe.length-1]+=k}else{pe.push(k);me=v}}const ye=[];for(let v of pe){if(v<0){const P=readSlice(-v);const R=Number(Ge(P,0));const L=P.slice(8);const N=L.toString();ye.push(Me.createLazy(Ie((()=>deserialize(k,N,E))),k,{name:N,size:R},P))}else{if(q===N){nextContent()}else if(q!==0){if(v<=N-q){ye.push(Buffer.from(L.buffer,L.byteOffset+q,v));q+=v;v=0}else{const k=N-q;ye.push(Buffer.from(L.buffer,L.byteOffset+q,k));v-=k;q=N}}else{if(v>=N){ye.push(L);v-=N;q=N}else{ye.push(Buffer.from(L.buffer,L.byteOffset,v));q+=v;v=0}}while(v>0){nextContent();if(v>=N){ye.push(L);v-=N;q=N}else{ye.push(Buffer.from(L.buffer,L.byteOffset,v));q+=v;v=0}}}}return ye};class FileMiddleware extends Me{constructor(k,v="md4"){super();this.fs=k;this._hashFunction=v}serialize(k,v){const{filename:E,extension:P=""}=v;return new Promise(((v,N)=>{_e(this.fs,me(this.fs,E),(ae=>{if(ae)return N(ae);const pe=new Set;const writeFile=async(k,v,N)=>{const ae=k?ye(this.fs,E,`../${k}${P}`):E;await new Promise(((k,E)=>{let P=this.fs.createWriteStream(ae+"_");let pe;if(ae.endsWith(".gz")){pe=q({chunkSize:Be,level:le.Z_BEST_SPEED})}else if(ae.endsWith(".br")){pe=L({chunkSize:Be,params:{[le.BROTLI_PARAM_MODE]:le.BROTLI_MODE_TEXT,[le.BROTLI_PARAM_QUALITY]:2,[le.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]:true,[le.BROTLI_PARAM_SIZE_HINT]:N}})}if(pe){R(pe,P,E);P=pe;P.on("finish",(()=>k()))}else{P.on("error",(k=>E(k)));P.on("finish",(()=>k()))}const me=[];for(const k of v){if(k.length{if(k)return;if(_e===ye){P.end();return}let v=_e;let E=me[v++].length;while(vje)break;v++}while(_e{await k;await new Promise((k=>this.fs.rename(E,E+".old",(v=>{k()}))));await Promise.all(Array.from(pe,(k=>new Promise(((v,E)=>{this.fs.rename(k+"_",k,(k=>{if(k)return E(k);v()}))})))));await new Promise((k=>{this.fs.rename(E+"_",E,(v=>{if(v)return N(v);k()}))}));return true})))}))}))}deserialize(k,v){const{filename:E,extension:R=""}=v;const readFile=k=>new Promise(((v,L)=>{const q=k?ye(this.fs,E,`../${k}${R}`):E;this.fs.stat(q,((k,E)=>{if(k){L(k);return}let R=E.size;let le;let pe;const me=[];let ye;if(q.endsWith(".gz")){ye=ae({chunkSize:qe})}else if(q.endsWith(".br")){ye=N({chunkSize:qe})}if(ye){let k,E;v(Promise.all([new Promise(((v,P)=>{k=v;E=P})),new Promise(((k,v)=>{ye.on("data",(k=>me.push(k)));ye.on("end",(()=>k()));ye.on("error",(k=>v(k)))}))]).then((()=>me)));v=k;L=E}this.fs.open(q,"r",((k,E)=>{if(k){L(k);return}const read=()=>{if(le===undefined){le=Buffer.allocUnsafeSlow(Math.min(P.MAX_LENGTH,R,ye?qe:Infinity));pe=0}let k=le;let N=pe;let q=le.length-pe;if(N>2147483647){k=le.slice(N);N=0}if(q>2147483647){q=2147483647}this.fs.read(E,k,N,q,null,((k,P)=>{if(k){this.fs.close(E,(()=>{L(k)}));return}pe+=P;R-=P;if(pe===le.length){if(ye){ye.write(le)}else{me.push(le)}le=undefined;if(R===0){if(ye){ye.end()}this.fs.close(E,(k=>{if(k){L(k);return}v(me)}));return}}read()}))};read()}))}))}));return deserialize(this,false,readFile)}}k.exports=FileMiddleware},61681:function(k){"use strict";class MapObjectSerializer{serialize(k,v){v.write(k.size);for(const E of k.keys()){v.write(E)}for(const E of k.values()){v.write(E)}}deserialize(k){let v=k.read();const E=new Map;const P=[];for(let E=0;E{let E=0;for(const P of k){if(E++>=v){k.delete(P)}}};const setMapSize=(k,v)=>{let E=0;for(const P of k.keys()){if(E++>=v){k.delete(P)}}};const toHash=(k,v)=>{const E=P(v);E.update(k);return E.digest("latin1")};const _e=null;const Ie=null;const Me=true;const Te=false;const je=2;const Ne=new Map;const Be=new Map;const qe=new Set;const Ue={};const Ge=new Map;Ge.set(Object,new le);Ge.set(Array,new R);Ge.set(null,new ae);Ge.set(Map,new q);Ge.set(Set,new ye);Ge.set(Date,new L);Ge.set(RegExp,new pe);Ge.set(Error,new N(Error));Ge.set(EvalError,new N(EvalError));Ge.set(RangeError,new N(RangeError));Ge.set(ReferenceError,new N(ReferenceError));Ge.set(SyntaxError,new N(SyntaxError));Ge.set(TypeError,new N(TypeError));if(v.constructor!==Object){const k=v.constructor;const E=k.constructor;for(const[k,v]of Array.from(Ge)){if(k){const P=new E(`return ${k.name};`)();Ge.set(P,v)}}}{let k=1;for(const[v,E]of Ge){Ne.set(v,{request:"",name:k++,serializer:E})}}for(const{request:k,name:v,serializer:E}of Ne.values()){Be.set(`${k}/${v}`,E)}const He=new Map;class ObjectMiddleware extends me{constructor(k,v="md4"){super();this.extendContext=k;this._hashFunction=v}static registerLoader(k,v){He.set(k,v)}static register(k,v,E,P){const R=v+"/"+E;if(Ne.has(k)){throw new Error(`ObjectMiddleware.register: serializer for ${k.name} is already registered`)}if(Be.has(R)){throw new Error(`ObjectMiddleware.register: serializer for ${R} is already registered`)}Ne.set(k,{request:v,name:E,serializer:P});Be.set(R,P)}static registerNotSerializable(k){if(Ne.has(k)){throw new Error(`ObjectMiddleware.registerNotSerializable: serializer for ${k.name} is already registered`)}Ne.set(k,Ue)}static getSerializerFor(k){const v=Object.getPrototypeOf(k);let E;if(v===null){E=null}else{E=v.constructor;if(!E){throw new Error("Serialization of objects with prototype without valid constructor property not possible")}}const P=Ne.get(E);if(!P)throw new Error(`No serializer registered for ${E.name}`);if(P===Ue)throw Ue;return P}static getDeserializerFor(k,v){const E=k+"/"+v;const P=Be.get(E);if(P===undefined){throw new Error(`No deserializer registered for ${E}`)}return P}static _getDeserializerForWithoutError(k,v){const E=k+"/"+v;const P=Be.get(E);return P}serialize(k,v){let E=[je];let P=0;let R=new Map;const addReferenceable=k=>{R.set(k,P++)};let L=new Map;const dedupeBuffer=k=>{const v=k.length;const E=L.get(v);if(E===undefined){L.set(v,k);return k}if(Buffer.isBuffer(E)){if(v<32){if(k.equals(E)){return E}L.set(v,[E,k]);return k}else{const P=toHash(E,this._hashFunction);const R=new Map;R.set(P,E);L.set(v,R);const N=toHash(k,this._hashFunction);if(P===N){return E}return k}}else if(Array.isArray(E)){if(E.length<16){for(const v of E){if(k.equals(v)){return v}}E.push(k);return k}else{const P=new Map;const R=toHash(k,this._hashFunction);let N;for(const k of E){const v=toHash(k,this._hashFunction);P.set(v,k);if(N===undefined&&v===R)N=k}L.set(v,P);if(N===undefined){P.set(R,k);return k}else{return N}}}else{const v=toHash(k,this._hashFunction);const P=E.get(v);if(P!==undefined){return P}E.set(v,k);return k}};let N=0;let q=new Map;const ae=new Set;const stackToString=k=>{const v=Array.from(ae);v.push(k);return v.map((k=>{if(typeof k==="string"){if(k.length>100){return`String ${JSON.stringify(k.slice(0,100)).slice(0,-1)}..."`}return`String ${JSON.stringify(k)}`}try{const{request:v,name:E}=ObjectMiddleware.getSerializerFor(k);if(v){return`${v}${E?`.${E}`:""}`}}catch(k){}if(typeof k==="object"&&k!==null){if(k.constructor){if(k.constructor===Object)return`Object { ${Object.keys(k).join(", ")} }`;if(k.constructor===Map)return`Map { ${k.size} items }`;if(k.constructor===Array)return`Array { ${k.length} items }`;if(k.constructor===Set)return`Set { ${k.size} items }`;if(k.constructor===RegExp)return k.toString();return`${k.constructor.name}`}return`Object [null prototype] { ${Object.keys(k).join(", ")} }`}if(typeof k==="bigint"){return`BigInt ${k}n`}try{return`${k}`}catch(k){return`(${k.message})`}})).join(" -> ")};let le;let pe={write(k,v){try{process(k)}catch(v){if(v!==Ue){if(le===undefined)le=new WeakSet;if(!le.has(v)){v.message+=`\nwhile serializing ${stackToString(k)}`;le.add(v)}}throw v}},setCircularReference(k){addReferenceable(k)},snapshot(){return{length:E.length,cycleStackSize:ae.size,referenceableSize:R.size,currentPos:P,objectTypeLookupSize:q.size,currentPosTypeLookup:N}},rollback(k){E.length=k.length;setSetSize(ae,k.cycleStackSize);setMapSize(R,k.referenceableSize);P=k.currentPos;setMapSize(q,k.objectTypeLookupSize);N=k.currentPosTypeLookup},...v};this.extendContext(pe);const process=k=>{if(Buffer.isBuffer(k)){const v=R.get(k);if(v!==undefined){E.push(_e,v-P);return}const L=dedupeBuffer(k);if(L!==k){const v=R.get(L);if(v!==undefined){R.set(k,v);E.push(_e,v-P);return}k=L}addReferenceable(k);E.push(k)}else if(k===_e){E.push(_e,Ie)}else if(typeof k==="object"){const v=R.get(k);if(v!==undefined){E.push(_e,v-P);return}if(ae.has(k)){throw new Error(`This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.`)}const{request:L,name:le,serializer:me}=ObjectMiddleware.getSerializerFor(k);const ye=`${L}/${le}`;const Ie=q.get(ye);if(Ie===undefined){q.set(ye,N++);E.push(_e,L,le)}else{E.push(_e,N-Ie)}ae.add(k);try{me.serialize(k,pe)}finally{ae.delete(k)}E.push(_e,Me);addReferenceable(k)}else if(typeof k==="string"){if(k.length>1){const v=R.get(k);if(v!==undefined){E.push(_e,v-P);return}addReferenceable(k)}if(k.length>102400&&v.logger){v.logger.warn(`Serializing big strings (${Math.round(k.length/1024)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`)}E.push(k)}else if(typeof k==="function"){if(!me.isLazy(k))throw new Error("Unexpected function "+k);const P=me.getLazySerializedValue(k);if(P!==undefined){if(typeof P==="function"){E.push(P)}else{throw new Error("Not implemented")}}else if(me.isLazy(k,this)){throw new Error("Not implemented")}else{const P=me.serializeLazy(k,(k=>this.serialize([k],v)));me.setLazySerializedValue(k,P);E.push(P)}}else if(k===undefined){E.push(_e,Te)}else{E.push(k)}};try{for(const v of k){process(v)}return E}catch(k){if(k===Ue)return null;throw k}finally{k=E=R=L=q=pe=undefined}}deserialize(k,v){let E=0;const read=()=>{if(E>=k.length)throw new Error("Unexpected end of stream");return k[E++]};if(read()!==je)throw new Error("Version mismatch, serializer changed");let P=0;let R=[];const addReferenceable=k=>{R.push(k);P++};let L=0;let N=[];let q=[];let ae={read(){return decodeValue()},setCircularReference(k){addReferenceable(k)},...v};this.extendContext(ae);const decodeValue=()=>{const k=read();if(k===_e){const k=read();if(k===Ie){return _e}else if(k===Te){return undefined}else if(k===Me){throw new Error(`Unexpected end of object at position ${E-1}`)}else{const v=k;let q;if(typeof v==="number"){if(v<0){return R[P+v]}q=N[L-v]}else{if(typeof v!=="string"){throw new Error(`Unexpected type (${typeof v}) of request `+`at position ${E-1}`)}const k=read();q=ObjectMiddleware._getDeserializerForWithoutError(v,k);if(q===undefined){if(v&&!qe.has(v)){let k=false;for(const[E,P]of He){if(E.test(v)){if(P(v)){k=true;break}}}if(!k){require(v)}qe.add(v)}q=ObjectMiddleware.getDeserializerFor(v,k)}N.push(q);L++}try{const k=q.deserialize(ae);const v=read();if(v!==_e){throw new Error("Expected end of object")}const E=read();if(E!==Me){throw new Error("Expected end of object")}addReferenceable(k);return k}catch(k){let v;for(const k of Ne){if(k[1].serializer===q){v=k;break}}const E=!v?"unknown":!v[1].request?v[0].name:v[1].name?`${v[1].request} ${v[1].name}`:v[1].request;k.message+=`\n(during deserialization of ${E})`;throw k}}}else if(typeof k==="string"){if(k.length>1){addReferenceable(k)}return k}else if(Buffer.isBuffer(k)){addReferenceable(k);return k}else if(typeof k==="function"){return me.deserializeLazy(k,(k=>this.deserialize(k,v)[0]))}else{return k}};try{while(E{let P=v.get(E);if(P===undefined){P=new ObjectStructure;v.set(E,P)}let R=P;for(const v of k){R=R.key(v)}return R.getKeys(k)};class PlainObjectSerializer{serialize(k,v){const E=Object.keys(k);if(E.length>128){v.write(E);for(const P of E){v.write(k[P])}}else if(E.length>1){v.write(getCachedKeys(E,v.write));for(const P of E){v.write(k[P])}}else if(E.length===1){const P=E[0];v.write(P);v.write(k[P])}else{v.write(null)}}deserialize(k){const v=k.read();const E={};if(Array.isArray(v)){for(const P of v){E[P]=k.read()}}else if(v!==null){E[v]=k.read()}return E}}k.exports=PlainObjectSerializer},50986:function(k){"use strict";class RegExpObjectSerializer{serialize(k,v){v.write(k.source);v.write(k.flags)}deserialize(k){return new RegExp(k.read(),k.read())}}k.exports=RegExpObjectSerializer},90827:function(k){"use strict";class Serializer{constructor(k,v){this.serializeMiddlewares=k.slice();this.deserializeMiddlewares=k.slice().reverse();this.context=v}serialize(k,v){const E={...v,...this.context};let P=k;for(const k of this.serializeMiddlewares){if(P&&typeof P.then==="function"){P=P.then((v=>v&&k.serialize(v,E)))}else if(P){try{P=k.serialize(P,E)}catch(k){P=Promise.reject(k)}}else break}return P}deserialize(k,v){const E={...v,...this.context};let P=k;for(const k of this.deserializeMiddlewares){if(P&&typeof P.then==="function"){P=P.then((v=>k.deserialize(v,E)))}else{P=k.deserialize(P,E)}}return P}}k.exports=Serializer},5505:function(k,v,E){"use strict";const P=E(20631);const R=Symbol("lazy serialization target");const L=Symbol("lazy serialization data");class SerializerMiddleware{serialize(k,v){const P=E(60386);throw new P}deserialize(k,v){const P=E(60386);throw new P}static createLazy(k,v,E={},P){if(SerializerMiddleware.isLazy(k,v))return k;const N=typeof k==="function"?k:()=>k;N[R]=v;N.options=E;N[L]=P;return N}static isLazy(k,v){if(typeof k!=="function")return false;const E=k[R];return v?E===v:!!E}static getLazyOptions(k){if(typeof k!=="function")return undefined;return k.options}static getLazySerializedValue(k){if(typeof k!=="function")return undefined;return k[L]}static setLazySerializedValue(k,v){k[L]=v}static serializeLazy(k,v){const E=P((()=>{const E=k();if(E&&typeof E.then==="function"){return E.then((k=>k&&v(k)))}return v(E)}));E[R]=k[R];E.options=k.options;k[L]=E;return E}static deserializeLazy(k,v){const E=P((()=>{const E=k();if(E&&typeof E.then==="function"){return E.then((k=>v(k)))}return v(E)}));E[R]=k[R];E.options=k.options;E[L]=k;return E}static unMemoizeLazy(k){if(!SerializerMiddleware.isLazy(k))return k;const fn=()=>{throw new Error("A lazy value that has been unmemorized can't be called again")};fn[L]=SerializerMiddleware.unMemoizeLazy(k[L]);fn[R]=k[R];fn.options=k.options;return fn}}k.exports=SerializerMiddleware},73618:function(k){"use strict";class SetObjectSerializer{serialize(k,v){v.write(k.size);for(const E of k){v.write(E)}}deserialize(k){let v=k.read();const E=new Set;for(let P=0;PE(61334)),{name:"Consume Shared Plugin",baseDataPath:"options"});const Be={dependencyType:"esm"};const qe="ConsumeSharedPlugin";class ConsumeSharedPlugin{constructor(k){if(typeof k!=="string"){Ne(k)}this._consumes=N(k.consumes,((v,E)=>{if(Array.isArray(v))throw new Error("Unexpected array in options");let P=v===E||!Me(v)?{import:E,shareScope:k.shareScope||"default",shareKey:E,requiredVersion:undefined,packageName:undefined,strictVersion:false,singleton:false,eager:false}:{import:E,shareScope:k.shareScope||"default",shareKey:E,requiredVersion:le(v),strictVersion:true,packageName:undefined,singleton:false,eager:false};return P}),((v,E)=>({import:v.import===false?undefined:v.import||E,shareScope:v.shareScope||k.shareScope||"default",shareKey:v.shareKey||E,requiredVersion:typeof v.requiredVersion==="string"?le(v.requiredVersion):v.requiredVersion,strictVersion:typeof v.strictVersion==="boolean"?v.strictVersion:v.import!==false&&!v.singleton,packageName:v.packageName,singleton:!!v.singleton,eager:!!v.eager})))}apply(k){k.hooks.thisCompilation.tap(qe,((v,{normalModuleFactory:E})=>{v.dependencyFactories.set(pe,E);let N,ae,Me;const Ne=Ie(v,this._consumes).then((({resolved:k,unresolved:v,prefixed:E})=>{ae=k;N=v;Me=E}));const Ue=v.resolverFactory.get("normal",Be);const createConsumeSharedModule=(E,R,N)=>{const requiredVersionWarning=k=>{const E=new L(`No required version specified and unable to automatically determine one. ${k}`);E.file=`shared module ${R}`;v.warnings.push(E)};const ae=N.import&&/^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(N.import);return Promise.all([new Promise((L=>{if(!N.import)return L();const le={fileDependencies:new q,contextDependencies:new q,missingDependencies:new q};Ue.resolve({},ae?k.context:E,N.import,le,((k,E)=>{v.contextDependencies.addAll(le.contextDependencies);v.fileDependencies.addAll(le.fileDependencies);v.missingDependencies.addAll(le.missingDependencies);if(k){v.errors.push(new P(null,k,{name:`resolving fallback for shared module ${R}`}));return L()}L(E)}))})),new Promise((k=>{if(N.requiredVersion!==undefined)return k(N.requiredVersion);let P=N.packageName;if(P===undefined){if(/^(\/|[A-Za-z]:|\\\\)/.test(R)){return k()}const v=/^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec(R);if(!v){requiredVersionWarning("Unable to extract the package name from request.");return k()}P=v[0]}Te(v.inputFileSystem,E,["package.json"],((v,R)=>{if(v){requiredVersionWarning(`Unable to read description file: ${v}`);return k()}const{data:L,path:N}=R;if(!L){requiredVersionWarning(`Unable to find description file in ${E}.`);return k()}if(L.name===P){return k()}const q=je(L,P);if(typeof q!=="string"){requiredVersionWarning(`Unable to find required version for "${P}" in description file (${N}). It need to be in dependencies, devDependencies or peerDependencies.`);return k()}k(le(q))}))}))]).then((([v,P])=>new me(ae?k.context:E,{...N,importResolved:v,import:v?N.import:undefined,requiredVersion:P})))};E.hooks.factorize.tapPromise(qe,(({context:k,request:v,dependencies:E})=>Ne.then((()=>{if(E[0]instanceof pe||E[0]instanceof _e){return}const P=N.get(v);if(P!==undefined){return createConsumeSharedModule(k,v,P)}for(const[E,P]of Me){if(v.startsWith(E)){const R=v.slice(E.length);return createConsumeSharedModule(k,v,{...P,import:P.import?P.import+R:undefined,shareKey:P.shareKey+R})}}}))));E.hooks.createModule.tapPromise(qe,(({resource:k},{context:v,dependencies:E})=>{if(E[0]instanceof pe||E[0]instanceof _e){return Promise.resolve()}const P=ae.get(k);if(P!==undefined){return createConsumeSharedModule(v,k,P)}return Promise.resolve()}));v.hooks.additionalTreeRuntimeRequirements.tap(qe,((k,E)=>{E.add(R.module);E.add(R.moduleCache);E.add(R.moduleFactoriesAddOnly);E.add(R.shareScopeMap);E.add(R.initializeSharing);E.add(R.hasOwnProperty);v.addRuntimeModule(k,new ye(E))}))}))}}k.exports=ConsumeSharedPlugin},91847:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{parseVersionRuntimeCode:N,versionLtRuntimeCode:q,rangeToStringRuntimeCode:ae,satisfyRuntimeCode:le}=E(51542);class ConsumeSharedRuntimeModule extends R{constructor(k){super("consumes",R.STAGE_ATTACH);this._runtimeRequirements=k}generate(){const{compilation:k,chunkGraph:v}=this;const{runtimeTemplate:E,codeGenerationResults:R}=k;const pe={};const me=new Map;const ye=[];const addModules=(k,E,P)=>{for(const L of k){const k=L;const N=v.getModuleId(k);P.push(N);me.set(N,R.getSource(k,E.runtime,"consume-shared"))}};for(const k of this.chunk.getAllAsyncChunks()){const E=v.getChunkModulesIterableBySourceType(k,"consume-shared");if(!E)continue;addModules(E,k,pe[k.id]=[])}for(const k of this.chunk.getAllInitialChunks()){const E=v.getChunkModulesIterableBySourceType(k,"consume-shared");if(!E)continue;addModules(E,k,ye)}if(me.size===0)return null;return L.asString([N(E),q(E),ae(E),le(E),`var ensureExistence = ${E.basicFunction("scopeName, key",[`var scope = ${P.shareScopeMap}[scopeName];`,`if(!scope || !${P.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("scope, key, version, requiredVersion",[`return "Unsatisfied version " + version + " from " + (version && scope[key][version].from) + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`])};`,`var getSingleton = ${E.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","return get(scope[key][version]);"])};`,`var getSingletonVersion = ${E.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) warn(getInvalidSingletonVersionMessage(scope, 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(scope, 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 warn = ${this.compilation.options.output.ignoreBrowserWarnings?E.basicFunction("",""):E.basicFunction("msg",['if (typeof console !== "undefined" && console.warn) console.warn(msg);'])};`,`var warnInvalidVersion = ${E.basicFunction("scope, scopeName, key, requiredVersion",["warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));"])};`,`var get = ${E.basicFunction("entry",["entry.loaded = 1;","return entry.get()"])};`,`var init = ${E.returningFunction(L.asString(["function(scopeName, a, b, c) {",L.indent([`var promise = ${P.initializeSharing}(scopeName);`,`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${P.shareScopeMap}[scopeName], a, b, c));`,`return fn(scopeName, ${P.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 && ${P.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 loadSingleton = /*#__PURE__*/ init(${E.basicFunction("scopeName, scope, key",["ensureExistence(scopeName, key);","return getSingleton(scope, scopeName, 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 || !${P.hasOwnProperty}(scope, key)) return fallback();`,"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonFallback = /*#__PURE__*/ init(${E.basicFunction("scopeName, scope, key, fallback",[`if(!scope || !${P.hasOwnProperty}(scope, key)) return fallback();`,"return getSingleton(scope, scopeName, key);"])});`,`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${E.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${P.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 && ${P.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 || !${P.hasOwnProperty}(scope, key)) return fallback();`,"return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,"var installedModules = {};","var moduleToHandlerMapping = {",L.indent(Array.from(me,(([k,v])=>`${JSON.stringify(k)}: ${v.source()}`)).join(",\n")),"};",ye.length>0?L.asString([`var initialConsumes = ${JSON.stringify(ye)};`,`initialConsumes.forEach(${E.basicFunction("id",[`${P.moduleFactories}[id] = ${E.basicFunction("module",["// Handle case when module is used sync","installedModules[id] = 0;",`delete ${P.moduleCache}[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(P.ensureChunkHandlers)?L.asString([`var chunkMapping = ${JSON.stringify(pe,null,"\t")};`,`${P.ensureChunkHandlers}.consumes = ${E.basicFunction("chunkId, promises",[`if(${P.hasOwnProperty}(chunkMapping, chunkId)) {`,L.indent([`chunkMapping[chunkId].forEach(${E.basicFunction("id",[`if(${P.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,`var onFactory = ${E.basicFunction("factory",["installedModules[id] = 0;",`${P.moduleFactories}[id] = ${E.basicFunction("module",[`delete ${P.moduleCache}[id];`,"module.exports = factory();"])}`])};`,`var onError = ${E.basicFunction("error",["delete installedModules[id];",`${P.moduleFactories}[id] = ${E.basicFunction("module",[`delete ${P.moduleCache}[id];`,"throw error;"])}`])};`,"try {",L.indent(["var promise = moduleToHandlerMapping[id]();","if(promise.then) {",L.indent("promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));"),"} else onFactory(promise);"]),"} catch(e) { onError(e); }"])});`]),"}"])}`]):"// no chunk loading of consumes"])}}k.exports=ConsumeSharedRuntimeModule},27150:function(k,v,E){"use strict";const P=E(77373);const R=E(58528);class ProvideForSharedDependency extends P{constructor(k){super(k)}get type(){return"provide module for shared"}get category(){return"esm"}}R(ProvideForSharedDependency,"webpack/lib/sharing/ProvideForSharedDependency");k.exports=ProvideForSharedDependency},49637:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);class ProvideSharedDependency extends P{constructor(k,v,E,P,R){super();this.shareScope=k;this.name=v;this.version=E;this.request=P;this.eager=R}get type(){return"provide shared module"}getResourceIdentifier(){return`provide module (${this.shareScope}) ${this.request} as ${this.name} @ ${this.version}${this.eager?" (eager)":""}`}serialize(k){k.write(this.shareScope);k.write(this.name);k.write(this.request);k.write(this.version);k.write(this.eager);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new ProvideSharedDependency(v(),v(),v(),v(),v());this.shareScope=k.read();E.deserialize(k);return E}}R(ProvideSharedDependency,"webpack/lib/sharing/ProvideSharedDependency");k.exports=ProvideSharedDependency},31100:function(k,v,E){"use strict";const P=E(75081);const R=E(88396);const{WEBPACK_MODULE_TYPE_PROVIDE:L}=E(93622);const N=E(56727);const q=E(58528);const ae=E(27150);const le=new Set(["share-init"]);class ProvideSharedModule extends R{constructor(k,v,E,P,R){super(L);this._shareScope=k;this._name=v;this._version=E;this._request=P;this._eager=R}identifier(){return`provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`}readableIdentifier(k){return`provide shared module (${this._shareScope}) ${this._name}@${this._version} = ${k.shorten(this._request)}`}libIdent(k){return`${this.layer?`(${this.layer})/`:""}webpack/sharing/provide/${this._shareScope}/${this._name}`}needBuild(k,v){v(null,!this.buildInfo)}build(k,v,E,R,L){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();const N=new ae(this._request);if(this._eager){this.addDependency(N)}else{const k=new P({});k.addDependency(N);this.addBlock(k)}L()}size(k){return 42}getSourceTypes(){return le}codeGeneration({runtimeTemplate:k,moduleGraph:v,chunkGraph:E}){const P=new Set([N.initializeSharing]);const R=`register(${JSON.stringify(this._name)}, ${JSON.stringify(this._version||"0")}, ${this._eager?k.syncModuleFactory({dependency:this.dependencies[0],chunkGraph:E,request:this._request,runtimeRequirements:P}):k.asyncModuleFactory({block:this.blocks[0],chunkGraph:E,request:this._request,runtimeRequirements:P})}${this._eager?", 1":""});`;const L=new Map;const q=new Map;q.set("share-init",[{shareScope:this._shareScope,initStage:10,init:R}]);return{sources:L,data:q,runtimeRequirements:P}}serialize(k){const{write:v}=k;v(this._shareScope);v(this._name);v(this._version);v(this._request);v(this._eager);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new ProvideSharedModule(v(),v(),v(),v(),v());E.deserialize(k);return E}}q(ProvideSharedModule,"webpack/lib/sharing/ProvideSharedModule");k.exports=ProvideSharedModule},85579:function(k,v,E){"use strict";const P=E(66043);const R=E(31100);class ProvideSharedModuleFactory extends P{create(k,v){const E=k.dependencies[0];v(null,{module:new R(E.shareScope,E.name,E.version,E.request,E.eager)})}}k.exports=ProvideSharedModuleFactory},70610:function(k,v,E){"use strict";const P=E(71572);const{parseOptions:R}=E(34869);const L=E(92198);const N=E(27150);const q=E(49637);const ae=E(85579);const le=L(E(82285),(()=>E(15958)),{name:"Provide Shared Plugin",baseDataPath:"options"});class ProvideSharedPlugin{constructor(k){le(k);this._provides=R(k.provides,(v=>{if(Array.isArray(v))throw new Error("Unexpected array of provides");const E={shareKey:v,version:undefined,shareScope:k.shareScope||"default",eager:false};return E}),(v=>({shareKey:v.shareKey,version:v.version,shareScope:v.shareScope||k.shareScope||"default",eager:!!v.eager})));this._provides.sort((([k],[v])=>{if(k{const R=new Map;const L=new Map;const N=new Map;for(const[k,v]of this._provides){if(/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(k)){R.set(k,{config:v,version:v.version})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(k)){R.set(k,{config:v,version:v.version})}else if(k.endsWith("/")){N.set(k,v)}else{L.set(k,v)}}v.set(k,R);const provideSharedModule=(v,E,L,N)=>{let q=E.version;if(q===undefined){let E="";if(!N){E=`No resolve data provided from resolver.`}else{const k=N.descriptionFileData;if(!k){E="No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config."}else if(!k.version){E=`No version in description file (usually package.json). Add version to description file ${N.descriptionFilePath}, or manually specify version in shared config.`}else{q=k.version}}if(!q){const R=new P(`No version specified and unable to automatically determine one. ${E}`);R.file=`shared module ${v} -> ${L}`;k.warnings.push(R)}}R.set(L,{config:E,version:q})};E.hooks.module.tap("ProvideSharedPlugin",((k,{resource:v,resourceResolveData:E},P)=>{if(R.has(v)){return k}const{request:q}=P;{const k=L.get(q);if(k!==undefined){provideSharedModule(q,k,v,E);P.cacheable=false}}for(const[k,R]of N){if(q.startsWith(k)){const L=q.slice(k.length);provideSharedModule(v,{...R,shareKey:R.shareKey+L},v,E);P.cacheable=false}}return k}))}));k.hooks.finishMake.tapPromise("ProvideSharedPlugin",(E=>{const P=v.get(E);if(!P)return Promise.resolve();return Promise.all(Array.from(P,(([v,{config:P,version:R}])=>new Promise(((L,N)=>{E.addInclude(k.context,new q(P.shareScope,P.shareKey,R||false,v,P.eager),{name:undefined},(k=>{if(k)return N(k);L()}))}))))).then((()=>{}))}));k.hooks.compilation.tap("ProvideSharedPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(N,v);k.dependencyFactories.set(q,new ae)}))}}k.exports=ProvideSharedPlugin},38084:function(k,v,E){"use strict";const{parseOptions:P}=E(34869);const R=E(73485);const L=E(70610);const{isRequiredVersion:N}=E(54068);class SharePlugin{constructor(k){const v=P(k.shared,((k,v)=>{if(typeof k!=="string")throw new Error("Unexpected array in shared");const E=k===v||!N(k)?{import:k}:{import:v,requiredVersion:k};return E}),(k=>k));const E=v.map((([k,v])=>({[k]:{import:v.import,shareKey:v.shareKey||k,shareScope:v.shareScope,requiredVersion:v.requiredVersion,strictVersion:v.strictVersion,singleton:v.singleton,packageName:v.packageName,eager:v.eager}})));const R=v.filter((([,k])=>k.import!==false)).map((([k,v])=>({[v.import||k]:{shareKey:v.shareKey||k,shareScope:v.shareScope,version:v.version,eager:v.eager}})));this._shareScope=k.shareScope;this._consumes=E;this._provides=R}apply(k){new R({shareScope:this._shareScope,consumes:this._consumes}).apply(k);new L({shareScope:this._shareScope,provides:this._provides}).apply(k)}}k.exports=SharePlugin},6717:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{compareModulesByIdentifier:N,compareStrings:q}=E(95648);class ShareRuntimeModule extends R{constructor(){super("sharing")}generate(){const{compilation:k,chunkGraph:v}=this;const{runtimeTemplate:E,codeGenerationResults:R,outputOptions:{uniqueName:ae}}=k;const le=new Map;for(const k of this.chunk.getAllReferencedChunks()){const E=v.getOrderedChunkModulesIterableBySourceType(k,"share-init",N);if(!E)continue;for(const v of E){const E=R.getData(v,k.runtime,"share-init");if(!E)continue;for(const k of E){const{shareScope:v,initStage:E,init:P}=k;let R=le.get(v);if(R===undefined){le.set(v,R=new Map)}let L=R.get(E||0);if(L===undefined){R.set(E||0,L=new Set)}L.add(P)}}}return L.asString([`${P.shareScopeMap} = {};`,"var initPromises = {};","var initTokens = {};",`${P.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(!${P.hasOwnProperty}(${P.shareScopeMap}, name)) ${P.shareScopeMap}[name] = {};`,"// runs all init snippets from all modules reachable",`var scope = ${P.shareScopeMap}[name];`,`var warn = ${this.compilation.options.output.ignoreBrowserWarnings?E.basicFunction("",""):E.basicFunction("msg",['if (typeof console !== "undefined" && console.warn) console.warn(msg);'])};`,`var uniqueName = ${JSON.stringify(ae||undefined)};`,`var register = ${E.basicFunction("name, version, factory, eager",["var versions = scope[name] = scope[name] || {};","var activeVersion = versions[version];","if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };"])};`,`var initExternal = ${E.basicFunction("id",[`var handleError = ${E.expressionFunction('warn("Initialization of sharing external failed: " + err)',"err")};`,"try {",L.indent([`var module = ${P.require}(id);`,"if(!module) return;",`var initFn = ${E.returningFunction(`module && module.init && module.init(${P.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(le).sort((([k],[v])=>q(k,v))).map((([k,v])=>L.indent([`case ${JSON.stringify(k)}: {`,L.indent(Array.from(v).sort((([k],[v])=>k-v)).map((([,k])=>L.asString(Array.from(k))))),"}","break;"]))),"}","if(!promises.length) return initPromises[name] = 1;",`return initPromises[name] = Promise.all(promises).then(${E.returningFunction("initPromises[name] = 1")});`])};`])}}k.exports=ShareRuntimeModule},466:function(k,v,E){"use strict";const P=E(69734);const R=E(12359);const L={dependencyType:"esm"};v.resolveMatchedConfigs=(k,v)=>{const E=new Map;const N=new Map;const q=new Map;const ae={fileDependencies:new R,contextDependencies:new R,missingDependencies:new R};const le=k.resolverFactory.get("normal",L);const pe=k.compiler.context;return Promise.all(v.map((([v,R])=>{if(/^\.\.?(\/|$)/.test(v)){return new Promise((L=>{le.resolve({},pe,v,ae,((N,q)=>{if(N||q===false){N=N||new Error(`Can't resolve ${v}`);k.errors.push(new P(null,N,{name:`shared module ${v}`}));return L()}E.set(q,R);L()}))}))}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(v)){E.set(v,R)}else if(v.endsWith("/")){q.set(v,R)}else{N.set(v,R)}}))).then((()=>{k.contextDependencies.addAll(ae.contextDependencies);k.fileDependencies.addAll(ae.fileDependencies);k.missingDependencies.addAll(ae.missingDependencies);return{resolved:E,unresolved:N,prefixed:q}}))}},54068:function(k,v,E){"use strict";const{join:P,dirname:R,readJson:L}=E(57825);const N=/^[^/@:.\s][^/@:\s]*\/[^@:\s]*[^/@:\s]#\S+/;const q=/^(github|gitlab|bitbucket|gist):\/?[^/.]+\/?/i;const ae=/^((git\+)?(ssh|https?|file)|git|github|gitlab|bitbucket|gist):$/i;const le=/^((git\+)?(ssh|https?|file)|git):\/\//i;const pe=/#(?:semver:)?(.+)/;const me=/^(?:[^/.]+(\.[^/]+)+|localhost)$/;const ye=/([^/@#:.]+(?:\.[^/@#:.]+)+|localhost):([^#/0-9]+)/;const _e=/^([^/@#:.]+(?:\.[^/@#:.]+)+)/;const Ie=/^([\d^=v<>~]|[*xX]$)/;const Me=["github:","gitlab:","bitbucket:","gist:","file:"];const Te="git+ssh://";const je={"github.com":(k,v)=>{let[,E,P,R,L]=k.split("/",5);if(R&&R!=="tree"){return}if(!R){L=v}else{L="#"+L}if(P&&P.endsWith(".git")){P=P.slice(0,-4)}if(!E||!P){return}return L},"gitlab.com":(k,v)=>{const E=k.slice(1);if(E.includes("/-/")||E.includes("/archive.tar.gz")){return}const P=E.split("/");let R=P.pop();if(R.endsWith(".git")){R=R.slice(0,-4)}const L=P.join("/");if(!L||!R){return}return v},"bitbucket.org":(k,v)=>{let[,E,P,R]=k.split("/",4);if(["get"].includes(R)){return}if(P&&P.endsWith(".git")){P=P.slice(0,-4)}if(!E||!P){return}return v},"gist.github.com":(k,v)=>{let[,E,P,R]=k.split("/",4);if(R==="raw"){return}if(!P){if(!E){return}P=E;E=null}if(P.endsWith(".git")){P=P.slice(0,-4)}return v}};function getCommithash(k){let{hostname:v,pathname:E,hash:P}=k;v=v.replace(/^www\./,"");try{P=decodeURIComponent(P)}catch(k){}if(je[v]){return je[v](E,P)||""}return P}function correctUrl(k){return k.replace(ye,"$1/$2")}function correctProtocol(k){if(q.test(k)){return k}if(!le.test(k)){return`${Te}${k}`}return k}function getVersionFromHash(k){const v=k.match(pe);return v&&v[1]||""}function canBeDecoded(k){try{decodeURIComponent(k)}catch(k){return false}return true}function getGitUrlVersion(k){let v=k;if(N.test(k)){k="github:"+k}else{k=correctProtocol(k)}k=correctUrl(k);let E;try{E=new URL(k)}catch(k){}if(!E){return""}const{protocol:P,hostname:R,pathname:L,username:q,password:le}=E;if(!ae.test(P)){return""}if(!L||!canBeDecoded(L)){return""}if(_e.test(v)&&!q&&!le){return""}if(!Me.includes(P.toLowerCase())){if(!me.test(R)){return""}const k=getCommithash(E);return getVersionFromHash(k)||k}return getVersionFromHash(k)}function isRequiredVersion(k){return Ie.test(k)}v.isRequiredVersion=isRequiredVersion;function normalizeVersion(k){k=k&&k.trim()||"";if(isRequiredVersion(k)){return k}return getGitUrlVersion(k.toLowerCase())}v.normalizeVersion=normalizeVersion;const getDescriptionFile=(k,v,E,N)=>{let q=0;const tryLoadCurrent=()=>{if(q>=E.length){const P=R(k,v);if(!P||P===v)return N();return getDescriptionFile(k,P,E,N)}const ae=P(k,v,E[q]);L(k,ae,((k,v)=>{if(k){if("code"in k&&k.code==="ENOENT"){q++;return tryLoadCurrent()}return N(k)}if(!v||typeof v!=="object"||Array.isArray(v)){return N(new Error(`Description file ${ae} is not an object`))}N(null,{data:v,path:ae})}))};tryLoadCurrent()};v.getDescriptionFile=getDescriptionFile;v.getRequiredVersionFromDescriptionFile=(k,v)=>{if(k.optionalDependencies&&typeof k.optionalDependencies==="object"&&v in k.optionalDependencies){return normalizeVersion(k.optionalDependencies[v])}if(k.dependencies&&typeof k.dependencies==="object"&&v in k.dependencies){return normalizeVersion(k.dependencies[v])}if(k.peerDependencies&&typeof k.peerDependencies==="object"&&v in k.peerDependencies){return normalizeVersion(k.peerDependencies[v])}if(k.devDependencies&&typeof k.devDependencies==="object"&&v in k.devDependencies){return normalizeVersion(k.devDependencies[v])}}},57686:function(k,v,E){"use strict";const P=E(73837);const{WEBPACK_MODULE_TYPE_RUNTIME:R}=E(93622);const L=E(77373);const N=E(1811);const{LogType:q}=E(13905);const ae=E(21684);const le=E(338);const{countIterable:pe}=E(54480);const{compareLocations:me,compareChunksById:ye,compareNumbers:_e,compareIds:Ie,concatComparators:Me,compareSelect:Te,compareModulesByIdentifier:je}=E(95648);const{makePathsRelative:Ne,parseResource:Be}=E(65315);const uniqueArray=(k,v)=>{const E=new Set;for(const P of k){for(const k of v(P)){E.add(k)}}return Array.from(E)};const uniqueOrderedArray=(k,v,E)=>uniqueArray(k,v).sort(E);const mapObject=(k,v)=>{const E=Object.create(null);for(const P of Object.keys(k)){E[P]=v(k[P],P)}return E};const countWithChildren=(k,v)=>{let E=v(k,"").length;for(const P of k.children){E+=countWithChildren(P,((k,E)=>v(k,`.children[].compilation${E}`)))}return E};const qe={_:(k,v,E,{requestShortener:P})=>{if(typeof v==="string"){k.message=v}else{if(v.chunk){k.chunkName=v.chunk.name;k.chunkEntry=v.chunk.hasRuntime();k.chunkInitial=v.chunk.canBeInitial()}if(v.file){k.file=v.file}if(v.module){k.moduleIdentifier=v.module.identifier();k.moduleName=v.module.readableIdentifier(P)}if(v.loc){k.loc=N(v.loc)}k.message=v.message}},ids:(k,v,{compilation:{chunkGraph:E}})=>{if(typeof v!=="string"){if(v.chunk){k.chunkId=v.chunk.id}if(v.module){k.moduleId=E.getModuleId(v.module)}}},moduleTrace:(k,v,E,P,R)=>{if(typeof v!=="string"&&v.module){const{type:P,compilation:{moduleGraph:L}}=E;const N=new Set;const q=[];let ae=v.module;while(ae){if(N.has(ae))break;N.add(ae);const k=L.getIssuer(ae);if(!k)break;q.push({origin:k,module:ae});ae=k}k.moduleTrace=R.create(`${P}.moduleTrace`,q,E)}},errorDetails:(k,v,{type:E,compilation:P,cachedGetErrors:R,cachedGetWarnings:L},{errorDetails:N})=>{if(typeof v!=="string"&&(N===true||E.endsWith(".error")&&R(P).length<3)){k.details=v.details}},errorStack:(k,v)=>{if(typeof v!=="string"){k.stack=v.stack}}};const Ue={compilation:{_:(k,v,P,R)=>{if(!P.makePathsRelative){P.makePathsRelative=Ne.bindContextCache(v.compiler.context,v.compiler.root)}if(!P.cachedGetErrors){const k=new WeakMap;P.cachedGetErrors=v=>k.get(v)||(E=>(k.set(v,E),E))(v.getErrors())}if(!P.cachedGetWarnings){const k=new WeakMap;P.cachedGetWarnings=v=>k.get(v)||(E=>(k.set(v,E),E))(v.getWarnings())}if(v.name){k.name=v.name}if(v.needAdditionalPass){k.needAdditionalPass=true}const{logging:L,loggingDebug:N,loggingTrace:ae}=R;if(L||N&&N.length>0){const P=E(73837);k.logging={};let le;let pe=false;switch(L){default:le=new Set;break;case"error":le=new Set([q.error]);break;case"warn":le=new Set([q.error,q.warn]);break;case"info":le=new Set([q.error,q.warn,q.info]);break;case"log":le=new Set([q.error,q.warn,q.info,q.log,q.group,q.groupEnd,q.groupCollapsed,q.clear]);break;case"verbose":le=new Set([q.error,q.warn,q.info,q.log,q.group,q.groupEnd,q.groupCollapsed,q.profile,q.profileEnd,q.time,q.status,q.clear]);pe=true;break}const me=Ne.bindContextCache(R.context,v.compiler.root);let ye=0;for(const[E,R]of v.logging){const v=N.some((k=>k(E)));if(L===false&&!v)continue;const _e=[];const Ie=[];let Me=Ie;let Te=0;for(const k of R){let E=k.type;if(!v&&!le.has(E))continue;if(E===q.groupCollapsed&&(v||pe))E=q.group;if(ye===0){Te++}if(E===q.groupEnd){_e.pop();if(_e.length>0){Me=_e[_e.length-1].children}else{Me=Ie}if(ye>0)ye--;continue}let R=undefined;if(k.type===q.time){R=`${k.args[0]}: ${k.args[1]*1e3+k.args[2]/1e6} ms`}else if(k.args&&k.args.length>0){R=P.format(k.args[0],...k.args.slice(1))}const L={...k,type:E,message:R,trace:ae?k.trace:undefined,children:E===q.group||E===q.groupCollapsed?[]:undefined};Me.push(L);if(L.children){_e.push(L);Me=L.children;if(ye>0){ye++}else if(E===q.groupCollapsed){ye=1}}}let je=me(E).replace(/\|/g," ");if(je in k.logging){let v=1;while(`${je}#${v}`in k.logging){v++}je=`${je}#${v}`}k.logging[je]={entries:Ie,filteredEntries:R.length-Te,debug:v}}}},hash:(k,v)=>{k.hash=v.hash},version:k=>{k.version=E(35479).i8},env:(k,v,E,{_env:P})=>{k.env=P},timings:(k,v)=>{k.time=v.endTime-v.startTime},builtAt:(k,v)=>{k.builtAt=v.endTime},publicPath:(k,v)=>{k.publicPath=v.getPath(v.outputOptions.publicPath)},outputPath:(k,v)=>{k.outputPath=v.outputOptions.path},assets:(k,v,E,P,R)=>{const{type:L}=E;const N=new Map;const q=new Map;for(const k of v.chunks){for(const v of k.files){let E=N.get(v);if(E===undefined){E=[];N.set(v,E)}E.push(k)}for(const v of k.auxiliaryFiles){let E=q.get(v);if(E===undefined){E=[];q.set(v,E)}E.push(k)}}const ae=new Map;const le=new Set;for(const k of v.getAssets()){const v={...k,type:"asset",related:undefined};le.add(v);ae.set(k.name,v)}for(const k of ae.values()){const v=k.info.related;if(!v)continue;for(const E of Object.keys(v)){const P=v[E];const R=Array.isArray(P)?P:[P];for(const v of R){const P=ae.get(v);if(!P)continue;le.delete(P);P.type=E;k.related=k.related||[];k.related.push(P)}}}k.assetsByChunkName={};for(const[v,E]of N){for(const P of E){const E=P.name;if(!E)continue;if(!Object.prototype.hasOwnProperty.call(k.assetsByChunkName,E)){k.assetsByChunkName[E]=[]}k.assetsByChunkName[E].push(v)}}const pe=R.create(`${L}.assets`,Array.from(le),{...E,compilationFileToChunks:N,compilationAuxiliaryFileToChunks:q});const me=spaceLimited(pe,P.assetsSpace);k.assets=me.children;k.filteredAssets=me.filteredChildren},chunks:(k,v,E,P,R)=>{const{type:L}=E;k.chunks=R.create(`${L}.chunks`,Array.from(v.chunks),E)},modules:(k,v,E,P,R)=>{const{type:L}=E;const N=Array.from(v.modules);const q=R.create(`${L}.modules`,N,E);const ae=spaceLimited(q,P.modulesSpace);k.modules=ae.children;k.filteredModules=ae.filteredChildren},entrypoints:(k,v,E,{entrypoints:P,chunkGroups:R,chunkGroupAuxiliary:L,chunkGroupChildren:N},q)=>{const{type:ae}=E;const le=Array.from(v.entrypoints,(([k,v])=>({name:k,chunkGroup:v})));if(P==="auto"&&!R){if(le.length>5)return;if(!N&&le.every((({chunkGroup:k})=>{if(k.chunks.length!==1)return false;const v=k.chunks[0];return v.files.size===1&&(!L||v.auxiliaryFiles.size===0)}))){return}}k.entrypoints=q.create(`${ae}.entrypoints`,le,E)},chunkGroups:(k,v,E,P,R)=>{const{type:L}=E;const N=Array.from(v.namedChunkGroups,(([k,v])=>({name:k,chunkGroup:v})));k.namedChunkGroups=R.create(`${L}.namedChunkGroups`,N,E)},errors:(k,v,E,P,R)=>{const{type:L,cachedGetErrors:N}=E;const q=N(v);const ae=R.create(`${L}.errors`,N(v),E);let le=0;if(P.errorDetails==="auto"&&q.length>=3){le=q.map((k=>typeof k!=="string"&&k.details)).filter(Boolean).length}if(P.errorDetails===true||!Number.isFinite(P.errorsSpace)){k.errors=ae;if(le)k.filteredErrorDetailsCount=le;return}const[pe,me]=errorsSpaceLimit(ae,P.errorsSpace);k.filteredErrorDetailsCount=le+me;k.errors=pe},errorsCount:(k,v,{cachedGetErrors:E})=>{k.errorsCount=countWithChildren(v,(k=>E(k)))},warnings:(k,v,E,P,R)=>{const{type:L,cachedGetWarnings:N}=E;const q=R.create(`${L}.warnings`,N(v),E);let ae=0;if(P.errorDetails==="auto"){ae=N(v).map((k=>typeof k!=="string"&&k.details)).filter(Boolean).length}if(P.errorDetails===true||!Number.isFinite(P.warningsSpace)){k.warnings=q;if(ae)k.filteredWarningDetailsCount=ae;return}const[le,pe]=errorsSpaceLimit(q,P.warningsSpace);k.filteredWarningDetailsCount=ae+pe;k.warnings=le},warningsCount:(k,v,E,{warningsFilter:P},R)=>{const{type:L,cachedGetWarnings:N}=E;k.warningsCount=countWithChildren(v,((k,v)=>{if(!P&&P.length===0)return N(k);return R.create(`${L}${v}.warnings`,N(k),E).filter((k=>{const v=Object.keys(k).map((v=>`${k[v]}`)).join("\n");return!P.some((E=>E(k,v)))}))}))},children:(k,v,E,P,R)=>{const{type:L}=E;k.children=R.create(`${L}.children`,v.children,E)}},asset:{_:(k,v,E,P,R)=>{const{compilation:L}=E;k.type=v.type;k.name=v.name;k.size=v.source.size();k.emitted=L.emittedAssets.has(v.name);k.comparedForEmit=L.comparedForEmitAssets.has(v.name);const N=!k.emitted&&!k.comparedForEmit;k.cached=N;k.info=v.info;if(!N||P.cachedAssets){Object.assign(k,R.create(`${E.type}$visible`,v,E))}}},asset$visible:{_:(k,v,{compilation:E,compilationFileToChunks:P,compilationAuxiliaryFileToChunks:R})=>{const L=P.get(v.name)||[];const N=R.get(v.name)||[];k.chunkNames=uniqueOrderedArray(L,(k=>k.name?[k.name]:[]),Ie);k.chunkIdHints=uniqueOrderedArray(L,(k=>Array.from(k.idNameHints)),Ie);k.auxiliaryChunkNames=uniqueOrderedArray(N,(k=>k.name?[k.name]:[]),Ie);k.auxiliaryChunkIdHints=uniqueOrderedArray(N,(k=>Array.from(k.idNameHints)),Ie);k.filteredRelated=v.related?v.related.length:undefined},relatedAssets:(k,v,E,P,R)=>{const{type:L}=E;k.related=R.create(`${L.slice(0,-8)}.related`,v.related,E);k.filteredRelated=v.related?v.related.length-k.related.length:undefined},ids:(k,v,{compilationFileToChunks:E,compilationAuxiliaryFileToChunks:P})=>{const R=E.get(v.name)||[];const L=P.get(v.name)||[];k.chunks=uniqueOrderedArray(R,(k=>k.ids),Ie);k.auxiliaryChunks=uniqueOrderedArray(L,(k=>k.ids),Ie)},performance:(k,v)=>{k.isOverSizeLimit=le.isOverSizeLimit(v.source)}},chunkGroup:{_:(k,{name:v,chunkGroup:E},{compilation:P,compilation:{moduleGraph:R,chunkGraph:L}},{ids:N,chunkGroupAuxiliary:q,chunkGroupChildren:ae,chunkGroupMaxAssets:le})=>{const pe=ae&&E.getChildrenByOrders(R,L);const toAsset=k=>{const v=P.getAsset(k);return{name:k,size:v?v.info.size:-1}};const sizeReducer=(k,{size:v})=>k+v;const me=uniqueArray(E.chunks,(k=>k.files)).map(toAsset);const ye=uniqueOrderedArray(E.chunks,(k=>k.auxiliaryFiles),Ie).map(toAsset);const _e=me.reduce(sizeReducer,0);const Me=ye.reduce(sizeReducer,0);const Te={name:v,chunks:N?E.chunks.map((k=>k.id)):undefined,assets:me.length<=le?me:undefined,filteredAssets:me.length<=le?0:me.length,assetsSize:_e,auxiliaryAssets:q&&ye.length<=le?ye:undefined,filteredAuxiliaryAssets:q&&ye.length<=le?0:ye.length,auxiliaryAssetsSize:Me,children:pe?mapObject(pe,(k=>k.map((k=>{const v=uniqueArray(k.chunks,(k=>k.files)).map(toAsset);const E=uniqueOrderedArray(k.chunks,(k=>k.auxiliaryFiles),Ie).map(toAsset);const P={name:k.name,chunks:N?k.chunks.map((k=>k.id)):undefined,assets:v.length<=le?v:undefined,filteredAssets:v.length<=le?0:v.length,auxiliaryAssets:q&&E.length<=le?E:undefined,filteredAuxiliaryAssets:q&&E.length<=le?0:E.length};return P})))):undefined,childAssets:pe?mapObject(pe,(k=>{const v=new Set;for(const E of k){for(const k of E.chunks){for(const E of k.files){v.add(E)}}}return Array.from(v)})):undefined};Object.assign(k,Te)},performance:(k,{chunkGroup:v})=>{k.isOverSizeLimit=le.isOverSizeLimit(v)}},module:{_:(k,v,E,P,R)=>{const{compilation:L,type:N}=E;const q=L.builtModules.has(v);const ae=L.codeGeneratedModules.has(v);const le=L.buildTimeExecutedModules.has(v);const pe={};for(const k of v.getSourceTypes()){pe[k]=v.size(k)}const me={type:"module",moduleType:v.type,layer:v.layer,size:v.size(),sizes:pe,built:q,codeGenerated:ae,buildTimeExecuted:le,cached:!q&&!ae};Object.assign(k,me);if(q||ae||P.cachedModules){Object.assign(k,R.create(`${N}$visible`,v,E))}}},module$visible:{_:(k,v,E,{requestShortener:P},R)=>{const{compilation:L,type:N,rootModules:q}=E;const{moduleGraph:ae}=L;const le=[];const me=ae.getIssuer(v);let ye=me;while(ye){le.push(ye);ye=ae.getIssuer(ye)}le.reverse();const _e=ae.getProfile(v);const Ie=v.getErrors();const Me=Ie!==undefined?pe(Ie):0;const Te=v.getWarnings();const je=Te!==undefined?pe(Te):0;const Ne={};for(const k of v.getSourceTypes()){Ne[k]=v.size(k)}const Be={identifier:v.identifier(),name:v.readableIdentifier(P),nameForCondition:v.nameForCondition(),index:ae.getPreOrderIndex(v),preOrderIndex:ae.getPreOrderIndex(v),index2:ae.getPostOrderIndex(v),postOrderIndex:ae.getPostOrderIndex(v),cacheable:v.buildInfo.cacheable,optional:v.isOptional(ae),orphan:!N.endsWith("module.modules[].module$visible")&&L.chunkGraph.getNumberOfModuleChunks(v)===0,dependent:q?!q.has(v):undefined,issuer:me&&me.identifier(),issuerName:me&&me.readableIdentifier(P),issuerPath:me&&R.create(`${N.slice(0,-8)}.issuerPath`,le,E),failed:Me>0,errors:Me,warnings:je};Object.assign(k,Be);if(_e){k.profile=R.create(`${N.slice(0,-8)}.profile`,_e,E)}},ids:(k,v,{compilation:{chunkGraph:E,moduleGraph:P}})=>{k.id=E.getModuleId(v);const R=P.getIssuer(v);k.issuerId=R&&E.getModuleId(R);k.chunks=Array.from(E.getOrderedModuleChunksIterable(v,ye),(k=>k.id))},moduleAssets:(k,v)=>{k.assets=v.buildInfo.assets?Object.keys(v.buildInfo.assets):[]},reasons:(k,v,E,P,R)=>{const{type:L,compilation:{moduleGraph:N}}=E;const q=R.create(`${L.slice(0,-8)}.reasons`,Array.from(N.getIncomingConnections(v)),E);const ae=spaceLimited(q,P.reasonsSpace);k.reasons=ae.children;k.filteredReasons=ae.filteredChildren},usedExports:(k,v,{runtime:E,compilation:{moduleGraph:P}})=>{const R=P.getUsedExports(v,E);if(R===null){k.usedExports=null}else if(typeof R==="boolean"){k.usedExports=R}else{k.usedExports=Array.from(R)}},providedExports:(k,v,{compilation:{moduleGraph:E}})=>{const P=E.getProvidedExports(v);k.providedExports=Array.isArray(P)?P:null},optimizationBailout:(k,v,{compilation:{moduleGraph:E}},{requestShortener:P})=>{k.optimizationBailout=E.getOptimizationBailout(v).map((k=>{if(typeof k==="function")return k(P);return k}))},depth:(k,v,{compilation:{moduleGraph:E}})=>{k.depth=E.getDepth(v)},nestedModules:(k,v,E,P,R)=>{const{type:L}=E;const N=v.modules;if(Array.isArray(N)){const v=R.create(`${L.slice(0,-8)}.modules`,N,E);const q=spaceLimited(v,P.nestedModulesSpace);k.modules=q.children;k.filteredModules=q.filteredChildren}},source:(k,v)=>{const E=v.originalSource();if(E){k.source=E.source()}}},profile:{_:(k,v)=>{const E={total:v.factory+v.restoring+v.integration+v.building+v.storing,resolving:v.factory,restoring:v.restoring,building:v.building,integration:v.integration,storing:v.storing,additionalResolving:v.additionalFactories,additionalIntegration:v.additionalIntegration,factory:v.factory,dependencies:v.additionalFactories};Object.assign(k,E)}},moduleIssuer:{_:(k,v,E,{requestShortener:P},R)=>{const{compilation:L,type:N}=E;const{moduleGraph:q}=L;const ae=q.getProfile(v);const le={identifier:v.identifier(),name:v.readableIdentifier(P)};Object.assign(k,le);if(ae){k.profile=R.create(`${N}.profile`,ae,E)}},ids:(k,v,{compilation:{chunkGraph:E}})=>{k.id=E.getModuleId(v)}},moduleReason:{_:(k,v,{runtime:E},{requestShortener:P})=>{const R=v.dependency;const q=R&&R instanceof L?R:undefined;const ae={moduleIdentifier:v.originModule?v.originModule.identifier():null,module:v.originModule?v.originModule.readableIdentifier(P):null,moduleName:v.originModule?v.originModule.readableIdentifier(P):null,resolvedModuleIdentifier:v.resolvedOriginModule?v.resolvedOriginModule.identifier():null,resolvedModule:v.resolvedOriginModule?v.resolvedOriginModule.readableIdentifier(P):null,type:v.dependency?v.dependency.type:null,active:v.isActive(E),explanation:v.explanation,userRequest:q&&q.userRequest||null};Object.assign(k,ae);if(v.dependency){const E=N(v.dependency.loc);if(E){k.loc=E}}},ids:(k,v,{compilation:{chunkGraph:E}})=>{k.moduleId=v.originModule?E.getModuleId(v.originModule):null;k.resolvedModuleId=v.resolvedOriginModule?E.getModuleId(v.resolvedOriginModule):null}},chunk:{_:(k,v,{makePathsRelative:E,compilation:{chunkGraph:P}})=>{const R=v.getChildIdsByOrders(P);const L={rendered:v.rendered,initial:v.canBeInitial(),entry:v.hasRuntime(),recorded:ae.wasChunkRecorded(v),reason:v.chunkReason,size:P.getChunkModulesSize(v),sizes:P.getChunkModulesSizes(v),names:v.name?[v.name]:[],idHints:Array.from(v.idNameHints),runtime:v.runtime===undefined?undefined:typeof v.runtime==="string"?[E(v.runtime)]:Array.from(v.runtime.sort(),E),files:Array.from(v.files),auxiliaryFiles:Array.from(v.auxiliaryFiles).sort(Ie),hash:v.renderedHash,childrenByOrder:R};Object.assign(k,L)},ids:(k,v)=>{k.id=v.id},chunkRelations:(k,v,{compilation:{chunkGraph:E}})=>{const P=new Set;const R=new Set;const L=new Set;for(const k of v.groupsIterable){for(const v of k.parentsIterable){for(const k of v.chunks){P.add(k.id)}}for(const v of k.childrenIterable){for(const k of v.chunks){R.add(k.id)}}for(const E of k.chunks){if(E!==v)L.add(E.id)}}k.siblings=Array.from(L).sort(Ie);k.parents=Array.from(P).sort(Ie);k.children=Array.from(R).sort(Ie)},chunkModules:(k,v,E,P,R)=>{const{type:L,compilation:{chunkGraph:N}}=E;const q=N.getChunkModules(v);const ae=R.create(`${L}.modules`,q,{...E,runtime:v.runtime,rootModules:new Set(N.getChunkRootModules(v))});const le=spaceLimited(ae,P.chunkModulesSpace);k.modules=le.children;k.filteredModules=le.filteredChildren},chunkOrigins:(k,v,E,P,R)=>{const{type:L,compilation:{chunkGraph:q}}=E;const ae=new Set;const le=[];for(const k of v.groupsIterable){le.push(...k.origins)}const pe=le.filter((k=>{const v=[k.module?q.getModuleId(k.module):undefined,N(k.loc),k.request].join();if(ae.has(v))return false;ae.add(v);return true}));k.origins=R.create(`${L}.origins`,pe,E)}},chunkOrigin:{_:(k,v,E,{requestShortener:P})=>{const R={module:v.module?v.module.identifier():"",moduleIdentifier:v.module?v.module.identifier():"",moduleName:v.module?v.module.readableIdentifier(P):"",loc:N(v.loc),request:v.request};Object.assign(k,R)},ids:(k,v,{compilation:{chunkGraph:E}})=>{k.moduleId=v.module?E.getModuleId(v.module):undefined}},error:qe,warning:qe,moduleTraceItem:{_:(k,{origin:v,module:E},P,{requestShortener:R},L)=>{const{type:N,compilation:{moduleGraph:q}}=P;k.originIdentifier=v.identifier();k.originName=v.readableIdentifier(R);k.moduleIdentifier=E.identifier();k.moduleName=E.readableIdentifier(R);const ae=Array.from(q.getIncomingConnections(E)).filter((k=>k.resolvedOriginModule===v&&k.dependency)).map((k=>k.dependency));k.dependencies=L.create(`${N}.dependencies`,Array.from(new Set(ae)),P)},ids:(k,{origin:v,module:E},{compilation:{chunkGraph:P}})=>{k.originId=P.getModuleId(v);k.moduleId=P.getModuleId(E)}},moduleTraceDependency:{_:(k,v)=>{k.loc=N(v.loc)}}};const Ge={"module.reasons":{"!orphanModules":(k,{compilation:{chunkGraph:v}})=>{if(k.originModule&&v.getNumberOfModuleChunks(k.originModule)===0){return false}}}};const He={"compilation.warnings":{warningsFilter:P.deprecate(((k,v,{warningsFilter:E})=>{const P=Object.keys(k).map((v=>`${k[v]}`)).join("\n");return!E.some((v=>v(k,P)))}),"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings","DEP_WEBPACK_STATS_WARNINGS_FILTER")}};const We={_:(k,{compilation:{moduleGraph:v}})=>{k.push(Te((k=>v.getDepth(k)),_e),Te((k=>v.getPreOrderIndex(k)),_e),Te((k=>k.identifier()),Ie))}};const Qe={"compilation.chunks":{_:k=>{k.push(Te((k=>k.id),Ie))}},"compilation.modules":We,"chunk.rootModules":We,"chunk.modules":We,"module.modules":We,"module.reasons":{_:(k,{compilation:{chunkGraph:v}})=>{k.push(Te((k=>k.originModule),je));k.push(Te((k=>k.resolvedOriginModule),je));k.push(Te((k=>k.dependency),Me(Te((k=>k.loc),me),Te((k=>k.type),Ie))))}},"chunk.origins":{_:(k,{compilation:{chunkGraph:v}})=>{k.push(Te((k=>k.module?v.getModuleId(k.module):undefined),Ie),Te((k=>N(k.loc)),Ie),Te((k=>k.request),Ie))}}};const getItemSize=k=>!k.children?1:k.filteredChildren?2+getTotalSize(k.children):1+getTotalSize(k.children);const getTotalSize=k=>{let v=0;for(const E of k){v+=getItemSize(E)}return v};const getTotalItems=k=>{let v=0;for(const E of k){if(!E.children&&!E.filteredChildren){v++}else{if(E.children)v+=getTotalItems(E.children);if(E.filteredChildren)v+=E.filteredChildren}}return v};const collapse=k=>{const v=[];for(const E of k){if(E.children){let k=E.filteredChildren||0;k+=getTotalItems(E.children);v.push({...E,children:undefined,filteredChildren:k})}else{v.push(E)}}return v};const spaceLimited=(k,v,E=false)=>{if(v<1){return{children:undefined,filteredChildren:getTotalItems(k)}}let P=undefined;let R=undefined;const L=[];const N=[];const q=[];let ae=0;for(const v of k){if(!v.children&&!v.filteredChildren){q.push(v)}else{L.push(v);const k=getItemSize(v);N.push(k);ae+=k}}if(ae+q.length<=v){P=L.length>0?L.concat(q):q}else if(L.length===0){const k=v-(E?0:1);R=q.length-k;q.length=k;P=q}else{const le=L.length+(E||q.length===0?0:1);if(le0){const v=Math.max(...N);if(v{let E=0;if(k.length+1>=v)return[k.map((k=>{if(typeof k==="string"||!k.details)return k;E++;return{...k,details:""}})),E];let P=k.length;let R=k;let L=0;for(;Lv){R=L>0?k.slice(0,L):[];const N=P-v+1;const q=k[L++];R.push({...q,details:q.details.split("\n").slice(0,-N).join("\n"),filteredDetails:N});E=k.length-L;for(;L{let E=0;for(const v of k){E+=v.size}return{size:E}};const moduleGroup=(k,v)=>{let E=0;const P={};for(const v of k){E+=v.size;for(const k of Object.keys(v.sizes)){P[k]=(P[k]||0)+v.sizes[k]}}return{size:E,sizes:P}};const reasonGroup=(k,v)=>{let E=false;for(const v of k){E=E||v.active}return{active:E}};const Je=/(\.[^.]+?)(?:\?|(?: \+ \d+ modules?)?$)/;const Ve=/(.+)[/\\][^/\\]+?(?:\?|(?: \+ \d+ modules?)?$)/;const Ke={_:(k,v,E)=>{const groupByFlag=(v,E)=>{k.push({getKeys:k=>k[v]?["1"]:undefined,getOptions:()=>({groupChildren:!E,force:E}),createGroup:(k,P,R)=>E?{type:"assets by status",[v]:!!k,filteredChildren:R.length,...assetGroup(P,R)}:{type:"assets by status",[v]:!!k,children:P,...assetGroup(P,R)}})};const{groupAssetsByEmitStatus:P,groupAssetsByPath:R,groupAssetsByExtension:L}=E;if(P){groupByFlag("emitted");groupByFlag("comparedForEmit");groupByFlag("isOverSizeLimit")}if(P||!E.cachedAssets){groupByFlag("cached",!E.cachedAssets)}if(R||L){k.push({getKeys:k=>{const v=L&&Je.exec(k.name);const E=v?v[1]:"";const P=R&&Ve.exec(k.name);const N=P?P[1].split(/[/\\]/):[];const q=[];if(R){q.push(".");if(E)q.push(N.length?`${N.join("/")}/*${E}`:`*${E}`);while(N.length>0){q.push(N.join("/")+"/");N.pop()}}else{if(E)q.push(`*${E}`)}return q},createGroup:(k,v,E)=>({type:R?"assets by path":"assets by extension",name:k,children:v,...assetGroup(v,E)})})}},groupAssetsByInfo:(k,v,E)=>{const groupByAssetInfoFlag=v=>{k.push({getKeys:k=>k.info&&k.info[v]?["1"]:undefined,createGroup:(k,E,P)=>({type:"assets by info",info:{[v]:!!k},children:E,...assetGroup(E,P)})})};groupByAssetInfoFlag("immutable");groupByAssetInfoFlag("development");groupByAssetInfoFlag("hotModuleReplacement")},groupAssetsByChunk:(k,v,E)=>{const groupByNames=v=>{k.push({getKeys:k=>k[v],createGroup:(k,E,P)=>({type:"assets by chunk",[v]:[k],children:E,...assetGroup(E,P)})})};groupByNames("chunkNames");groupByNames("auxiliaryChunkNames");groupByNames("chunkIdHints");groupByNames("auxiliaryChunkIdHints")},excludeAssets:(k,v,{excludeAssets:E})=>{k.push({getKeys:k=>{const v=k.name;const P=E.some((E=>E(v,k)));if(P)return["excluded"]},getOptions:()=>({groupChildren:false,force:true}),createGroup:(k,v,E)=>({type:"hidden assets",filteredChildren:E.length,...assetGroup(v,E)})})}};const MODULES_GROUPERS=k=>({_:(k,v,E)=>{const groupByFlag=(v,E,P)=>{k.push({getKeys:k=>k[v]?["1"]:undefined,getOptions:()=>({groupChildren:!P,force:P}),createGroup:(k,R,L)=>({type:E,[v]:!!k,...P?{filteredChildren:L.length}:{children:R},...moduleGroup(R,L)})})};const{groupModulesByCacheStatus:P,groupModulesByLayer:L,groupModulesByAttributes:N,groupModulesByType:q,groupModulesByPath:ae,groupModulesByExtension:le}=E;if(N){groupByFlag("errors","modules with errors");groupByFlag("warnings","modules with warnings");groupByFlag("assets","modules with assets");groupByFlag("optional","optional modules")}if(P){groupByFlag("cacheable","cacheable modules");groupByFlag("built","built modules");groupByFlag("codeGenerated","code generated modules")}if(P||!E.cachedModules){groupByFlag("cached","cached modules",!E.cachedModules)}if(N||!E.orphanModules){groupByFlag("orphan","orphan modules",!E.orphanModules)}if(N||!E.dependentModules){groupByFlag("dependent","dependent modules",!E.dependentModules)}if(q||!E.runtimeModules){k.push({getKeys:k=>{if(!k.moduleType)return;if(q){return[k.moduleType.split("/",1)[0]]}else if(k.moduleType===R){return[R]}},getOptions:k=>{const v=k===R&&!E.runtimeModules;return{groupChildren:!v,force:v}},createGroup:(k,v,P)=>{const L=k===R&&!E.runtimeModules;return{type:`${k} modules`,moduleType:k,...L?{filteredChildren:P.length}:{children:v},...moduleGroup(v,P)}}})}if(L){k.push({getKeys:k=>[k.layer],createGroup:(k,v,E)=>({type:"modules by layer",layer:k,children:v,...moduleGroup(v,E)})})}if(ae||le){k.push({getKeys:k=>{if(!k.name)return;const v=Be(k.name.split("!").pop()).path;const E=/^data:[^,;]+/.exec(v);if(E)return[E[0]];const P=le&&Je.exec(v);const R=P?P[1]:"";const L=ae&&Ve.exec(v);const N=L?L[1].split(/[/\\]/):[];const q=[];if(ae){if(R)q.push(N.length?`${N.join("/")}/*${R}`:`*${R}`);while(N.length>0){q.push(N.join("/")+"/");N.pop()}}else{if(R)q.push(`*${R}`)}return q},createGroup:(k,v,E)=>{const P=k.startsWith("data:");return{type:P?"modules by mime type":ae?"modules by path":"modules by extension",name:P?k.slice(5):k,children:v,...moduleGroup(v,E)}}})}},excludeModules:(v,E,{excludeModules:P})=>{v.push({getKeys:v=>{const E=v.name;if(E){const R=P.some((P=>P(E,v,k)));if(R)return["1"]}},getOptions:()=>({groupChildren:false,force:true}),createGroup:(k,v,E)=>({type:"hidden modules",filteredChildren:v.length,...moduleGroup(v,E)})})}});const Ye={"compilation.assets":Ke,"asset.related":Ke,"compilation.modules":MODULES_GROUPERS("module"),"chunk.modules":MODULES_GROUPERS("chunk"),"chunk.rootModules":MODULES_GROUPERS("root-of-chunk"),"module.modules":MODULES_GROUPERS("nested"),"module.reasons":{groupReasonsByOrigin:k=>{k.push({getKeys:k=>[k.module],createGroup:(k,v,E)=>({type:"from origin",module:k,children:v,...reasonGroup(v,E)})})}}};const normalizeFieldKey=k=>{if(k[0]==="!"){return k.slice(1)}return k};const sortOrderRegular=k=>{if(k[0]==="!"){return false}return true};const sortByField=k=>{if(!k){const noSort=(k,v)=>0;return noSort}const v=normalizeFieldKey(k);let E=Te((k=>k[v]),Ie);const P=sortOrderRegular(k);if(!P){const k=E;E=(v,E)=>k(E,v)}return E};const Xe={assetsSort:(k,v,{assetsSort:E})=>{k.push(sortByField(E))},_:k=>{k.push(Te((k=>k.name),Ie))}};const Ze={"compilation.chunks":{chunksSort:(k,v,{chunksSort:E})=>{k.push(sortByField(E))}},"compilation.modules":{modulesSort:(k,v,{modulesSort:E})=>{k.push(sortByField(E))}},"chunk.modules":{chunkModulesSort:(k,v,{chunkModulesSort:E})=>{k.push(sortByField(E))}},"module.modules":{nestedModulesSort:(k,v,{nestedModulesSort:E})=>{k.push(sortByField(E))}},"compilation.assets":Xe,"asset.related":Xe};const iterateConfig=(k,v,E)=>{for(const P of Object.keys(k)){const R=k[P];for(const k of Object.keys(R)){if(k!=="_"){if(k.startsWith("!")){if(v[k.slice(1)])continue}else{const E=v[k];if(E===false||E===undefined||Array.isArray(E)&&E.length===0)continue}}E(P,R[k])}}};const et={"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 mergeToObject=k=>{const v=Object.create(null);for(const E of k){v[E.name]=E}return v};const tt={"compilation.entrypoints":mergeToObject,"compilation.namedChunkGroups":mergeToObject};class DefaultStatsFactoryPlugin{apply(k){k.hooks.compilation.tap("DefaultStatsFactoryPlugin",(k=>{k.hooks.statsFactory.tap("DefaultStatsFactoryPlugin",((v,E,P)=>{iterateConfig(Ue,E,((k,P)=>{v.hooks.extract.for(k).tap("DefaultStatsFactoryPlugin",((k,R,L)=>P(k,R,L,E,v)))}));iterateConfig(Ge,E,((k,P)=>{v.hooks.filter.for(k).tap("DefaultStatsFactoryPlugin",((k,v,R,L)=>P(k,v,E,R,L)))}));iterateConfig(He,E,((k,P)=>{v.hooks.filterResults.for(k).tap("DefaultStatsFactoryPlugin",((k,v,R,L)=>P(k,v,E,R,L)))}));iterateConfig(Qe,E,((k,P)=>{v.hooks.sort.for(k).tap("DefaultStatsFactoryPlugin",((k,v)=>P(k,v,E)))}));iterateConfig(Ze,E,((k,P)=>{v.hooks.sortResults.for(k).tap("DefaultStatsFactoryPlugin",((k,v)=>P(k,v,E)))}));iterateConfig(Ye,E,((k,P)=>{v.hooks.groupResults.for(k).tap("DefaultStatsFactoryPlugin",((k,v)=>P(k,v,E)))}));for(const k of Object.keys(et)){const E=et[k];v.hooks.getItemName.for(k).tap("DefaultStatsFactoryPlugin",(()=>E))}for(const k of Object.keys(tt)){const E=tt[k];v.hooks.merge.for(k).tap("DefaultStatsFactoryPlugin",E)}if(E.children){if(Array.isArray(E.children)){v.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",((v,{_index:R})=>{if(RR))}}}))}))}}k.exports=DefaultStatsFactoryPlugin},8808:function(k,v,E){"use strict";const P=E(91227);const applyDefaults=(k,v)=>{for(const E of Object.keys(v)){if(typeof k[E]==="undefined"){k[E]=v[E]}}};const R={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,errorsSpace:Infinity,warningsSpace:Infinity,modulesSpace:Infinity,chunkModulesSpace:Infinity,assetsSpace:Infinity,reasonsSpace: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,errorsSpace:1e3,warningsSpace:1e3,modulesSpace:1e3,assetsSpace:1e3,reasonsSpace:1e3},minimal:{all:false,version:true,timings:true,modules:true,errorsSpace:0,warningsSpace:0,modulesSpace:0,assets:true,assetsSpace:0,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},"errors-only":{all:false,errors:true,errorsCount:true,errorsSpace:Infinity,moduleTrace:true,logging:"error"},"errors-warnings":{all:false,errors:true,errorsCount:true,errorsSpace:Infinity,warnings:true,warningsCount:true,warningsSpace:Infinity,logging:"warn"},summary:{all:false,version:true,errorsCount:true,warningsCount:true},none:{all:false}};const NORMAL_ON=({all:k})=>k!==false;const NORMAL_OFF=({all:k})=>k===true;const ON_FOR_TO_STRING=({all:k},{forToString:v})=>v?k!==false:k===true;const OFF_FOR_TO_STRING=({all:k},{forToString:v})=>v?k===true:k!==false;const AUTO_FOR_TO_STRING=({all:k},{forToString:v})=>{if(k===false)return false;if(k===true)return true;if(v)return"auto";return true};const L={context:(k,v,E)=>E.compiler.context,requestShortener:(k,v,E)=>E.compiler.context===k.context?E.requestShortener:new P(k.context,E.compiler.root),performance:NORMAL_ON,hash:OFF_FOR_TO_STRING,env:NORMAL_OFF,version:NORMAL_ON,timings:NORMAL_ON,builtAt:OFF_FOR_TO_STRING,assets:NORMAL_ON,entrypoints:AUTO_FOR_TO_STRING,chunkGroups:OFF_FOR_TO_STRING,chunkGroupAuxiliary:OFF_FOR_TO_STRING,chunkGroupChildren:OFF_FOR_TO_STRING,chunkGroupMaxAssets:(k,{forToString:v})=>v?5:Infinity,chunks:OFF_FOR_TO_STRING,chunkRelations:OFF_FOR_TO_STRING,chunkModules:({all:k,modules:v})=>{if(k===false)return false;if(k===true)return true;if(v)return false;return true},dependentModules:OFF_FOR_TO_STRING,chunkOrigins:OFF_FOR_TO_STRING,ids:OFF_FOR_TO_STRING,modules:({all:k,chunks:v,chunkModules:E},{forToString:P})=>{if(k===false)return false;if(k===true)return true;if(P&&v&&E)return false;return true},nestedModules:OFF_FOR_TO_STRING,groupModulesByType:ON_FOR_TO_STRING,groupModulesByCacheStatus:ON_FOR_TO_STRING,groupModulesByLayer:ON_FOR_TO_STRING,groupModulesByAttributes:ON_FOR_TO_STRING,groupModulesByPath:ON_FOR_TO_STRING,groupModulesByExtension:ON_FOR_TO_STRING,modulesSpace:(k,{forToString:v})=>v?15:Infinity,chunkModulesSpace:(k,{forToString:v})=>v?10:Infinity,nestedModulesSpace:(k,{forToString:v})=>v?10:Infinity,relatedAssets:OFF_FOR_TO_STRING,groupAssetsByEmitStatus:ON_FOR_TO_STRING,groupAssetsByInfo:ON_FOR_TO_STRING,groupAssetsByPath:ON_FOR_TO_STRING,groupAssetsByExtension:ON_FOR_TO_STRING,groupAssetsByChunk:ON_FOR_TO_STRING,assetsSpace:(k,{forToString:v})=>v?15:Infinity,orphanModules:OFF_FOR_TO_STRING,runtimeModules:({all:k,runtime:v},{forToString:E})=>v!==undefined?v:E?k===true:k!==false,cachedModules:({all:k,cached:v},{forToString:E})=>v!==undefined?v:E?k===true:k!==false,moduleAssets:OFF_FOR_TO_STRING,depth:OFF_FOR_TO_STRING,cachedAssets:OFF_FOR_TO_STRING,reasons:OFF_FOR_TO_STRING,reasonsSpace:(k,{forToString:v})=>v?15:Infinity,groupReasonsByOrigin:ON_FOR_TO_STRING,usedExports:OFF_FOR_TO_STRING,providedExports:OFF_FOR_TO_STRING,optimizationBailout:OFF_FOR_TO_STRING,children:OFF_FOR_TO_STRING,source:NORMAL_OFF,moduleTrace:NORMAL_ON,errors:NORMAL_ON,errorsCount:NORMAL_ON,errorDetails:AUTO_FOR_TO_STRING,errorStack:OFF_FOR_TO_STRING,warnings:NORMAL_ON,warningsCount:NORMAL_ON,publicPath:OFF_FOR_TO_STRING,logging:({all:k},{forToString:v})=>v&&k!==false?"info":false,loggingDebug:()=>[],loggingTrace:OFF_FOR_TO_STRING,excludeModules:()=>[],excludeAssets:()=>[],modulesSort:()=>"depth",chunkModulesSort:()=>"name",nestedModulesSort:()=>false,chunksSort:()=>false,assetsSort:()=>"!size",outputPath:OFF_FOR_TO_STRING,colors:()=>false};const normalizeFilter=k=>{if(typeof k==="string"){const v=new RegExp(`[\\\\/]${k.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return k=>v.test(k)}if(k&&typeof k==="object"&&typeof k.test==="function"){return v=>k.test(v)}if(typeof k==="function"){return k}if(typeof k==="boolean"){return()=>k}};const N={excludeModules:k=>{if(!Array.isArray(k)){k=k?[k]:[]}return k.map(normalizeFilter)},excludeAssets:k=>{if(!Array.isArray(k)){k=k?[k]:[]}return k.map(normalizeFilter)},warningsFilter:k=>{if(!Array.isArray(k)){k=k?[k]:[]}return k.map((k=>{if(typeof k==="string"){return(v,E)=>E.includes(k)}if(k instanceof RegExp){return(v,E)=>k.test(E)}if(typeof k==="function"){return k}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${k})`)}))},logging:k=>{if(k===true)k="log";return k},loggingDebug:k=>{if(!Array.isArray(k)){k=k?[k]:[]}return k.map(normalizeFilter)}};class DefaultStatsPresetPlugin{apply(k){k.hooks.compilation.tap("DefaultStatsPresetPlugin",(k=>{for(const v of Object.keys(R)){const E=R[v];k.hooks.statsPreset.for(v).tap("DefaultStatsPresetPlugin",((k,v)=>{applyDefaults(k,E)}))}k.hooks.statsNormalize.tap("DefaultStatsPresetPlugin",((v,E)=>{for(const P of Object.keys(L)){if(v[P]===undefined)v[P]=L[P](v,E,k)}for(const k of Object.keys(N)){v[k]=N[k](v[k])}}))}))}}k.exports=DefaultStatsPresetPlugin},81363:function(k,v,E){"use strict";const P=16;const R=80;const plural=(k,v,E)=>k===1?v:E;const printSizes=(k,{formatSize:v=(k=>`${k}`)})=>{const E=Object.keys(k);if(E.length>1){return E.map((E=>`${v(k[E])} (${E})`)).join(" ")}else if(E.length===1){return v(k[E[0]])}};const getResourceName=k=>{const v=/^data:[^,]+,/.exec(k);if(!v)return k;const E=v[0].length+P;if(k.length{const[,v,E]=/^(.*!)?([^!]*)$/.exec(k);if(E.length>R){const k=`${E.slice(0,Math.min(E.length-14,R))}...(truncated)`;return[v,getResourceName(k)]}return[v,getResourceName(E)]};const mapLines=(k,v)=>k.split("\n").map(v).join("\n");const twoDigit=k=>k>=10?`${k}`:`0${k}`;const isValidId=k=>typeof k==="number"||k;const moreCount=(k,v)=>k&&k.length>0?`+ ${v}`:`${v}`;const L={"compilation.summary!":(k,{type:v,bold:E,green:P,red:R,yellow:L,formatDateTime:N,formatTime:q,compilation:{name:ae,hash:le,version:pe,time:me,builtAt:ye,errorsCount:_e,warningsCount:Ie}})=>{const Me=v==="compilation.summary!";const Te=Ie>0?L(`${Ie} ${plural(Ie,"warning","warnings")}`):"";const je=_e>0?R(`${_e} ${plural(_e,"error","errors")}`):"";const Ne=Me&&me?` in ${q(me)}`:"";const Be=le?` (${le})`:"";const qe=Me&&ye?`${N(ye)}: `:"";const Ue=Me&&pe?`webpack ${pe}`:"";const Ge=Me&&ae?E(ae):ae?`Child ${E(ae)}`:Me?"":"Child";const He=Ge&&Ue?`${Ge} (${Ue})`:Ue||Ge||"webpack";let We;if(je&&Te){We=`compiled with ${je} and ${Te}`}else if(je){We=`compiled with ${je}`}else if(Te){We=`compiled with ${Te}`}else if(_e===0&&Ie===0){We=`compiled ${P("successfully")}`}else{We=`compiled`}if(qe||Ue||je||Te||_e===0&&Ie===0||Ne||Be)return`${qe}${He} ${We}${Ne}${Be}`},"compilation.filteredWarningDetailsCount":k=>k?`${k} ${plural(k,"warning has","warnings have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`:undefined,"compilation.filteredErrorDetailsCount":(k,{yellow:v})=>k?v(`${k} ${plural(k,"error has","errors have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`):undefined,"compilation.env":(k,{bold:v})=>k?`Environment (--env): ${v(JSON.stringify(k,null,2))}`:undefined,"compilation.publicPath":(k,{bold:v})=>`PublicPath: ${v(k||"(none)")}`,"compilation.entrypoints":(k,v,E)=>Array.isArray(k)?undefined:E.print(v.type,Object.values(k),{...v,chunkGroupKind:"Entrypoint"}),"compilation.namedChunkGroups":(k,v,E)=>{if(!Array.isArray(k)){const{compilation:{entrypoints:P}}=v;let R=Object.values(k);if(P){R=R.filter((k=>!Object.prototype.hasOwnProperty.call(P,k.name)))}return E.print(v.type,R,{...v,chunkGroupKind:"Chunk Group"})}},"compilation.assetsByChunkName":()=>"","compilation.filteredModules":(k,{compilation:{modules:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"module","modules")}`:undefined,"compilation.filteredAssets":(k,{compilation:{assets:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"asset","assets")}`:undefined,"compilation.logging":(k,v,E)=>Array.isArray(k)?undefined:E.print(v.type,Object.entries(k).map((([k,v])=>({...v,name:k}))),v),"compilation.warningsInChildren!":(k,{yellow:v,compilation:E})=>{if(!E.children&&E.warningsCount>0&&E.warnings){const k=E.warningsCount-E.warnings.length;if(k>0){return v(`${k} ${plural(k,"WARNING","WARNINGS")} in child compilations${E.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"compilation.errorsInChildren!":(k,{red:v,compilation:E})=>{if(!E.children&&E.errorsCount>0&&E.errors){const k=E.errorsCount-E.errors.length;if(k>0){return v(`${k} ${plural(k,"ERROR","ERRORS")} in child compilations${E.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"asset.type":k=>k,"asset.name":(k,{formatFilename:v,asset:{isOverSizeLimit:E}})=>v(k,E),"asset.size":(k,{asset:{isOverSizeLimit:v},yellow:E,green:P,formatSize:R})=>v?E(R(k)):R(k),"asset.emitted":(k,{green:v,formatFlag:E})=>k?v(E("emitted")):undefined,"asset.comparedForEmit":(k,{yellow:v,formatFlag:E})=>k?v(E("compared for emit")):undefined,"asset.cached":(k,{green:v,formatFlag:E})=>k?v(E("cached")):undefined,"asset.isOverSizeLimit":(k,{yellow:v,formatFlag:E})=>k?v(E("big")):undefined,"asset.info.immutable":(k,{green:v,formatFlag:E})=>k?v(E("immutable")):undefined,"asset.info.javascriptModule":(k,{formatFlag:v})=>k?v("javascript module"):undefined,"asset.info.sourceFilename":(k,{formatFlag:v})=>k?v(k===true?"from source file":`from: ${k}`):undefined,"asset.info.development":(k,{green:v,formatFlag:E})=>k?v(E("dev")):undefined,"asset.info.hotModuleReplacement":(k,{green:v,formatFlag:E})=>k?v(E("hmr")):undefined,"asset.separator!":()=>"\n","asset.filteredRelated":(k,{asset:{related:v}})=>k>0?`${moreCount(v,k)} related ${plural(k,"asset","assets")}`:undefined,"asset.filteredChildren":(k,{asset:{children:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"asset","assets")}`:undefined,assetChunk:(k,{formatChunkId:v})=>v(k),assetChunkName:k=>k,assetChunkIdHint:k=>k,"module.type":k=>k!=="module"?k:undefined,"module.id":(k,{formatModuleId:v})=>isValidId(k)?v(k):undefined,"module.name":(k,{bold:v})=>{const[E,P]=getModuleName(k);return`${E||""}${v(P||"")}`},"module.identifier":k=>undefined,"module.layer":(k,{formatLayer:v})=>k?v(k):undefined,"module.sizes":printSizes,"module.chunks[]":(k,{formatChunkId:v})=>v(k),"module.depth":(k,{formatFlag:v})=>k!==null?v(`depth ${k}`):undefined,"module.cacheable":(k,{formatFlag:v,red:E})=>k===false?E(v("not cacheable")):undefined,"module.orphan":(k,{formatFlag:v,yellow:E})=>k?E(v("orphan")):undefined,"module.runtime":(k,{formatFlag:v,yellow:E})=>k?E(v("runtime")):undefined,"module.optional":(k,{formatFlag:v,yellow:E})=>k?E(v("optional")):undefined,"module.dependent":(k,{formatFlag:v,cyan:E})=>k?E(v("dependent")):undefined,"module.built":(k,{formatFlag:v,yellow:E})=>k?E(v("built")):undefined,"module.codeGenerated":(k,{formatFlag:v,yellow:E})=>k?E(v("code generated")):undefined,"module.buildTimeExecuted":(k,{formatFlag:v,green:E})=>k?E(v("build time executed")):undefined,"module.cached":(k,{formatFlag:v,green:E})=>k?E(v("cached")):undefined,"module.assets":(k,{formatFlag:v,magenta:E})=>k&&k.length?E(v(`${k.length} ${plural(k.length,"asset","assets")}`)):undefined,"module.warnings":(k,{formatFlag:v,yellow:E})=>k===true?E(v("warnings")):k?E(v(`${k} ${plural(k,"warning","warnings")}`)):undefined,"module.errors":(k,{formatFlag:v,red:E})=>k===true?E(v("errors")):k?E(v(`${k} ${plural(k,"error","errors")}`)):undefined,"module.providedExports":(k,{formatFlag:v,cyan:E})=>{if(Array.isArray(k)){if(k.length===0)return E(v("no exports"));return E(v(`exports: ${k.join(", ")}`))}},"module.usedExports":(k,{formatFlag:v,cyan:E,module:P})=>{if(k!==true){if(k===null)return E(v("used exports unknown"));if(k===false)return E(v("module unused"));if(Array.isArray(k)){if(k.length===0)return E(v("no exports used"));const R=Array.isArray(P.providedExports)?P.providedExports.length:null;if(R!==null&&R===k.length){return E(v("all exports used"))}else{return E(v(`only some exports used: ${k.join(", ")}`))}}}},"module.optimizationBailout[]":(k,{yellow:v})=>v(k),"module.issuerPath":(k,{module:v})=>v.profile?undefined:"","module.profile":k=>undefined,"module.filteredModules":(k,{module:{modules:v}})=>k>0?`${moreCount(v,k)} nested ${plural(k,"module","modules")}`:undefined,"module.filteredReasons":(k,{module:{reasons:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"reason","reasons")}`:undefined,"module.filteredChildren":(k,{module:{children:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"module","modules")}`:undefined,"module.separator!":()=>"\n","moduleIssuer.id":(k,{formatModuleId:v})=>v(k),"moduleIssuer.profile.total":(k,{formatTime:v})=>v(k),"moduleReason.type":k=>k,"moduleReason.userRequest":(k,{cyan:v})=>v(getResourceName(k)),"moduleReason.moduleId":(k,{formatModuleId:v})=>isValidId(k)?v(k):undefined,"moduleReason.module":(k,{magenta:v})=>v(k),"moduleReason.loc":k=>k,"moduleReason.explanation":(k,{cyan:v})=>v(k),"moduleReason.active":(k,{formatFlag:v})=>k?undefined:v("inactive"),"moduleReason.resolvedModule":(k,{magenta:v})=>v(k),"moduleReason.filteredChildren":(k,{moduleReason:{children:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"reason","reasons")}`:undefined,"module.profile.total":(k,{formatTime:v})=>v(k),"module.profile.resolving":(k,{formatTime:v})=>`resolving: ${v(k)}`,"module.profile.restoring":(k,{formatTime:v})=>`restoring: ${v(k)}`,"module.profile.integration":(k,{formatTime:v})=>`integration: ${v(k)}`,"module.profile.building":(k,{formatTime:v})=>`building: ${v(k)}`,"module.profile.storing":(k,{formatTime:v})=>`storing: ${v(k)}`,"module.profile.additionalResolving":(k,{formatTime:v})=>k?`additional resolving: ${v(k)}`:undefined,"module.profile.additionalIntegration":(k,{formatTime:v})=>k?`additional integration: ${v(k)}`:undefined,"chunkGroup.kind!":(k,{chunkGroupKind:v})=>v,"chunkGroup.separator!":()=>"\n","chunkGroup.name":(k,{bold:v})=>v(k),"chunkGroup.isOverSizeLimit":(k,{formatFlag:v,yellow:E})=>k?E(v("big")):undefined,"chunkGroup.assetsSize":(k,{formatSize:v})=>k?v(k):undefined,"chunkGroup.auxiliaryAssetsSize":(k,{formatSize:v})=>k?`(${v(k)})`:undefined,"chunkGroup.filteredAssets":(k,{chunkGroup:{assets:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"asset","assets")}`:undefined,"chunkGroup.filteredAuxiliaryAssets":(k,{chunkGroup:{auxiliaryAssets:v}})=>k>0?`${moreCount(v,k)} auxiliary ${plural(k,"asset","assets")}`:undefined,"chunkGroup.is!":()=>"=","chunkGroupAsset.name":(k,{green:v})=>v(k),"chunkGroupAsset.size":(k,{formatSize:v,chunkGroup:E})=>E.assets.length>1||E.auxiliaryAssets&&E.auxiliaryAssets.length>0?v(k):undefined,"chunkGroup.children":(k,v,E)=>Array.isArray(k)?undefined:E.print(v.type,Object.keys(k).map((v=>({type:v,children:k[v]}))),v),"chunkGroupChildGroup.type":k=>`${k}:`,"chunkGroupChild.assets[]":(k,{formatFilename:v})=>v(k),"chunkGroupChild.chunks[]":(k,{formatChunkId:v})=>v(k),"chunkGroupChild.name":k=>k?`(name: ${k})`:undefined,"chunk.id":(k,{formatChunkId:v})=>v(k),"chunk.files[]":(k,{formatFilename:v})=>v(k),"chunk.names[]":k=>k,"chunk.idHints[]":k=>k,"chunk.runtime[]":k=>k,"chunk.sizes":(k,v)=>printSizes(k,v),"chunk.parents[]":(k,v)=>v.formatChunkId(k,"parent"),"chunk.siblings[]":(k,v)=>v.formatChunkId(k,"sibling"),"chunk.children[]":(k,v)=>v.formatChunkId(k,"child"),"chunk.childrenByOrder":(k,v,E)=>Array.isArray(k)?undefined:E.print(v.type,Object.keys(k).map((v=>({type:v,children:k[v]}))),v),"chunk.childrenByOrder[].type":k=>`${k}:`,"chunk.childrenByOrder[].children[]":(k,{formatChunkId:v})=>isValidId(k)?v(k):undefined,"chunk.entry":(k,{formatFlag:v,yellow:E})=>k?E(v("entry")):undefined,"chunk.initial":(k,{formatFlag:v,yellow:E})=>k?E(v("initial")):undefined,"chunk.rendered":(k,{formatFlag:v,green:E})=>k?E(v("rendered")):undefined,"chunk.recorded":(k,{formatFlag:v,green:E})=>k?E(v("recorded")):undefined,"chunk.reason":(k,{yellow:v})=>k?v(k):undefined,"chunk.filteredModules":(k,{chunk:{modules:v}})=>k>0?`${moreCount(v,k)} chunk ${plural(k,"module","modules")}`:undefined,"chunk.separator!":()=>"\n","chunkOrigin.request":k=>k,"chunkOrigin.moduleId":(k,{formatModuleId:v})=>isValidId(k)?v(k):undefined,"chunkOrigin.moduleName":(k,{bold:v})=>v(k),"chunkOrigin.loc":k=>k,"error.compilerPath":(k,{bold:v})=>k?v(`(${k})`):undefined,"error.chunkId":(k,{formatChunkId:v})=>isValidId(k)?v(k):undefined,"error.chunkEntry":(k,{formatFlag:v})=>k?v("entry"):undefined,"error.chunkInitial":(k,{formatFlag:v})=>k?v("initial"):undefined,"error.file":(k,{bold:v})=>v(k),"error.moduleName":(k,{bold:v})=>k.includes("!")?`${v(k.replace(/^(\s|\S)*!/,""))} (${k})`:`${v(k)}`,"error.loc":(k,{green:v})=>v(k),"error.message":(k,{bold:v,formatError:E})=>k.includes("[")?k:v(E(k)),"error.details":(k,{formatError:v})=>v(k),"error.filteredDetails":k=>k?`+ ${k} hidden lines`:undefined,"error.stack":k=>k,"error.moduleTrace":k=>undefined,"error.separator!":()=>"\n","loggingEntry(error).loggingEntry.message":(k,{red:v})=>mapLines(k,(k=>` ${v(k)}`)),"loggingEntry(warn).loggingEntry.message":(k,{yellow:v})=>mapLines(k,(k=>` ${v(k)}`)),"loggingEntry(info).loggingEntry.message":(k,{green:v})=>mapLines(k,(k=>` ${v(k)}`)),"loggingEntry(log).loggingEntry.message":(k,{bold:v})=>mapLines(k,(k=>` ${v(k)}`)),"loggingEntry(debug).loggingEntry.message":k=>mapLines(k,(k=>` ${k}`)),"loggingEntry(trace).loggingEntry.message":k=>mapLines(k,(k=>` ${k}`)),"loggingEntry(status).loggingEntry.message":(k,{magenta:v})=>mapLines(k,(k=>` ${v(k)}`)),"loggingEntry(profile).loggingEntry.message":(k,{magenta:v})=>mapLines(k,(k=>`

${v(k)}`)),"loggingEntry(profileEnd).loggingEntry.message":(k,{magenta:v})=>mapLines(k,(k=>`

${v(k)}`)),"loggingEntry(time).loggingEntry.message":(k,{magenta:v})=>mapLines(k,(k=>` ${v(k)}`)),"loggingEntry(group).loggingEntry.message":(k,{cyan:v})=>mapLines(k,(k=>`<-> ${v(k)}`)),"loggingEntry(groupCollapsed).loggingEntry.message":(k,{cyan:v})=>mapLines(k,(k=>`<+> ${v(k)}`)),"loggingEntry(clear).loggingEntry":()=>" -------","loggingEntry(groupCollapsed).loggingEntry.children":()=>"","loggingEntry.trace[]":k=>k?mapLines(k,(k=>`| ${k}`)):undefined,"moduleTraceItem.originName":k=>k,loggingGroup:k=>k.entries.length===0?"":undefined,"loggingGroup.debug":(k,{red:v})=>k?v("DEBUG"):undefined,"loggingGroup.name":(k,{bold:v})=>v(`LOG from ${k}`),"loggingGroup.separator!":()=>"\n","loggingGroup.filteredEntries":k=>k>0?`+ ${k} hidden lines`:undefined,"moduleTraceDependency.loc":k=>k};const N={"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","moduleReason.children[]":"moduleReason","module.issuerPath[]":"moduleIssuer","chunk.origins[]":"chunkOrigin","chunk.modules[]":"module","loggingGroup.entries[]":k=>`loggingEntry(${k.type}).loggingEntry`,"loggingEntry.children[]":k=>`loggingEntry(${k.type}).loggingEntry`,"error.moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const q=["compilerPath","chunkId","chunkEntry","chunkInitial","file","separator!","moduleName","loc","separator!","message","separator!","details","separator!","filteredDetails","separator!","stack","separator!","missing","separator!","moduleTrace"];const ae={compilation:["name","hash","version","time","builtAt","env","publicPath","assets","filteredAssets","entrypoints","namedChunkGroups","chunks","modules","filteredModules","children","logging","warnings","warningsInChildren!","filteredWarningDetailsCount","errors","errorsInChildren!","filteredErrorDetailsCount","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","layer","sizes","chunks","depth","cacheable","orphan","runtime","optional","dependent","built","codeGenerated","cached","assets","failed","warnings","errors","children","filteredChildren","providedExports","usedExports","optimizationBailout","reasons","filteredReasons","issuerPath","profile","modules","filteredModules"],moduleReason:["active","type","userRequest","moduleId","module","resolvedModule","loc","explanation","children","filteredChildren"],"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:q,warning:q,"chunk.childrenByOrder[]":["type","children"],loggingGroup:["debug","name","separator!","entries","separator!","filteredEntries"],loggingEntry:["message","trace","children"]};const itemsJoinOneLine=k=>k.filter(Boolean).join(" ");const itemsJoinOneLineBrackets=k=>k.length>0?`(${k.filter(Boolean).join(" ")})`:undefined;const itemsJoinMoreSpacing=k=>k.filter(Boolean).join("\n\n");const itemsJoinComma=k=>k.filter(Boolean).join(", ");const itemsJoinCommaBrackets=k=>k.length>0?`(${k.filter(Boolean).join(", ")})`:undefined;const itemsJoinCommaBracketsWithName=k=>v=>v.length>0?`(${k}: ${v.filter(Boolean).join(", ")})`:undefined;const le={"chunk.parents":itemsJoinOneLine,"chunk.siblings":itemsJoinOneLine,"chunk.children":itemsJoinOneLine,"chunk.names":itemsJoinCommaBrackets,"chunk.idHints":itemsJoinCommaBracketsWithName("id hint"),"chunk.runtime":itemsJoinCommaBracketsWithName("runtime"),"chunk.files":itemsJoinComma,"chunk.childrenByOrder":itemsJoinOneLine,"chunk.childrenByOrder[].children":itemsJoinOneLine,"chunkGroup.assets":itemsJoinOneLine,"chunkGroup.auxiliaryAssets":itemsJoinOneLineBrackets,"chunkGroupChildGroup.children":itemsJoinComma,"chunkGroupChild.assets":itemsJoinOneLine,"chunkGroupChild.auxiliaryAssets":itemsJoinOneLineBrackets,"asset.chunks":itemsJoinComma,"asset.auxiliaryChunks":itemsJoinCommaBrackets,"asset.chunkNames":itemsJoinCommaBracketsWithName("name"),"asset.auxiliaryChunkNames":itemsJoinCommaBracketsWithName("auxiliary name"),"asset.chunkIdHints":itemsJoinCommaBracketsWithName("id hint"),"asset.auxiliaryChunkIdHints":itemsJoinCommaBracketsWithName("auxiliary id hint"),"module.chunks":itemsJoinOneLine,"module.issuerPath":k=>k.filter(Boolean).map((k=>`${k} ->`)).join(" "),"compilation.errors":itemsJoinMoreSpacing,"compilation.warnings":itemsJoinMoreSpacing,"compilation.logging":itemsJoinMoreSpacing,"compilation.children":k=>indent(itemsJoinMoreSpacing(k)," "),"moduleTraceItem.dependencies":itemsJoinOneLine,"loggingEntry.children":k=>indent(k.filter(Boolean).join("\n")," ",false)};const joinOneLine=k=>k.map((k=>k.content)).filter(Boolean).join(" ");const joinInBrackets=k=>{const v=[];let E=0;for(const P of k){if(P.element==="separator!"){switch(E){case 0:case 1:E+=2;break;case 4:v.push(")");E=3;break}}if(!P.content)continue;switch(E){case 0:E=1;break;case 1:v.push(" ");break;case 2:v.push("(");E=4;break;case 3:v.push(" (");E=4;break;case 4:v.push(", ");break}v.push(P.content)}if(E===4)v.push(")");return v.join("")};const indent=(k,v,E)=>{const P=k.replace(/\n([^\n])/g,"\n"+v+"$1");if(E)return P;const R=k[0]==="\n"?"":v;return R+P};const joinExplicitNewLine=(k,v)=>{let E=true;let P=true;return k.map((k=>{if(!k||!k.content)return;let R=indent(k.content,P?"":v,!E);if(E){R=R.replace(/^\n+/,"")}if(!R)return;P=false;const L=E||R.startsWith("\n");E=R.endsWith("\n");return L?R:" "+R})).filter(Boolean).join("").trim()};const joinError=k=>(v,{red:E,yellow:P})=>`${k?E("ERROR"):P("WARNING")} in ${joinExplicitNewLine(v,"")}`;const pe={compilation:k=>{const v=[];let E=false;for(const P of k){if(!P.content)continue;const k=P.element==="warnings"||P.element==="filteredWarningDetailsCount"||P.element==="errors"||P.element==="filteredErrorDetailsCount"||P.element==="logging";if(v.length!==0){v.push(k||E?"\n\n":"\n")}v.push(P.content);E=k}if(E)v.push("\n");return v.join("")},asset:k=>joinExplicitNewLine(k.map((k=>{if((k.element==="related"||k.element==="children")&&k.content){return{...k,content:`\n${k.content}\n`}}return k}))," "),"asset.info":joinOneLine,module:(k,{module:v})=>{let E=false;return joinExplicitNewLine(k.map((k=>{switch(k.element){case"id":if(v.id===v.name){if(E)return false;if(k.content)E=true}break;case"name":if(E)return false;if(k.content)E=true;break;case"providedExports":case"usedExports":case"optimizationBailout":case"reasons":case"issuerPath":case"profile":case"children":case"modules":if(k.content){return{...k,content:`\n${k.content}\n`}}break}return k}))," ")},chunk:k=>{let v=false;return"chunk "+joinExplicitNewLine(k.filter((k=>{switch(k.element){case"entry":if(k.content)v=true;break;case"initial":if(v)return false;break}return true}))," ")},"chunk.childrenByOrder[]":k=>`(${joinOneLine(k)})`,chunkGroup:k=>joinExplicitNewLine(k," "),chunkGroupAsset:joinOneLine,chunkGroupChildGroup:joinOneLine,chunkGroupChild:joinOneLine,moduleReason:(k,{moduleReason:v})=>{let E=false;return joinExplicitNewLine(k.map((k=>{switch(k.element){case"moduleId":if(v.moduleId===v.module&&k.content)E=true;break;case"module":if(E)return false;break;case"resolvedModule":if(v.module===v.resolvedModule)return false;break;case"children":if(k.content){return{...k,content:`\n${k.content}\n`}}break}return k}))," ")},"module.profile":joinInBrackets,moduleIssuer:joinOneLine,chunkOrigin:k=>"> "+joinOneLine(k),"errors[].error":joinError(true),"warnings[].error":joinError(false),loggingGroup:k=>joinExplicitNewLine(k,"").trimEnd(),moduleTraceItem:k=>" @ "+joinOneLine(k),moduleTraceDependency:joinOneLine};const me={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const ye={formatChunkId:(k,{yellow:v},E)=>{switch(E){case"parent":return`<{${v(k)}}>`;case"sibling":return`={${v(k)}}=`;case"child":return`>{${v(k)}}<`;default:return`{${v(k)}}`}},formatModuleId:k=>`[${k}]`,formatFilename:(k,{green:v,yellow:E},P)=>(P?E:v)(k),formatFlag:k=>`[${k}]`,formatLayer:k=>`(in ${k})`,formatSize:E(3386).formatSize,formatDateTime:(k,{bold:v})=>{const E=new Date(k);const P=twoDigit;const R=`${E.getFullYear()}-${P(E.getMonth()+1)}-${P(E.getDate())}`;const L=`${P(E.getHours())}:${P(E.getMinutes())}:${P(E.getSeconds())}`;return`${R} ${v(L)}`},formatTime:(k,{timeReference:v,bold:E,green:P,yellow:R,red:L},N)=>{const q=" ms";if(v&&k!==v){const N=[v/2,v/4,v/8,v/16];if(k{if(k.includes("["))return k;const R=[{regExp:/(Did you mean .+)/g,format:v},{regExp:/(Set 'mode' option to 'development' or 'production')/g,format:v},{regExp:/(\(module has no exports\))/g,format:P},{regExp:/\(possible exports: (.+)\)/g,format:v},{regExp:/(?:^|\n)(.* doesn't exist)/g,format:P},{regExp:/('\w+' option has not been set)/g,format:P},{regExp:/(Emitted value instead of an instance of Error)/g,format:E},{regExp:/(Used? .+ instead)/gi,format:E},{regExp:/\b(deprecated|must|required)\b/g,format:E},{regExp:/\b(BREAKING CHANGE)\b/gi,format:P},{regExp:/\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi,format:P}];for(const{regExp:v,format:E}of R){k=k.replace(v,((k,v)=>k.replace(v,E(v))))}return k}};const _e={"module.modules":k=>indent(k,"| ")};const createOrder=(k,v)=>{const E=k.slice();const P=new Set(k);const R=new Set;k.length=0;for(const E of v){if(E.endsWith("!")||P.has(E)){k.push(E);R.add(E)}}for(const v of E){if(!R.has(v)){k.push(v)}}return k};class DefaultStatsPrinterPlugin{apply(k){k.hooks.compilation.tap("DefaultStatsPrinterPlugin",(k=>{k.hooks.statsPrinter.tap("DefaultStatsPrinterPlugin",((k,v,E)=>{k.hooks.print.for("compilation").tap("DefaultStatsPrinterPlugin",((k,E)=>{for(const k of Object.keys(me)){let P;if(v.colors){if(typeof v.colors==="object"&&typeof v.colors[k]==="string"){P=v.colors[k]}else{P=me[k]}}if(P){E[k]=k=>`${P}${typeof k==="string"?k.replace(/((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g,`$1${P}`):k}`}else{E[k]=k=>k}}for(const k of Object.keys(ye)){E[k]=(v,...P)=>ye[k](v,E,...P)}E.timeReference=k.time}));for(const v of Object.keys(L)){k.hooks.print.for(v).tap("DefaultStatsPrinterPlugin",((E,P)=>L[v](E,P,k)))}for(const v of Object.keys(ae)){const E=ae[v];k.hooks.sortElements.for(v).tap("DefaultStatsPrinterPlugin",((k,v)=>{createOrder(k,E)}))}for(const v of Object.keys(N)){const E=N[v];k.hooks.getItemName.for(v).tap("DefaultStatsPrinterPlugin",typeof E==="string"?()=>E:E)}for(const v of Object.keys(le)){const E=le[v];k.hooks.printItems.for(v).tap("DefaultStatsPrinterPlugin",E)}for(const v of Object.keys(pe)){const E=pe[v];k.hooks.printElements.for(v).tap("DefaultStatsPrinterPlugin",E)}for(const v of Object.keys(_e)){const E=_e[v];k.hooks.result.for(v).tap("DefaultStatsPrinterPlugin",E)}}))}))}}k.exports=DefaultStatsPrinterPlugin},12231:function(k,v,E){"use strict";const{HookMap:P,SyncBailHook:R,SyncWaterfallHook:L}=E(79846);const{concatComparators:N,keepOriginalOrder:q}=E(95648);const ae=E(53501);class StatsFactory{constructor(){this.hooks=Object.freeze({extract:new P((()=>new R(["object","data","context"]))),filter:new P((()=>new R(["item","context","index","unfilteredIndex"]))),sort:new P((()=>new R(["comparators","context"]))),filterSorted:new P((()=>new R(["item","context","index","unfilteredIndex"]))),groupResults:new P((()=>new R(["groupConfigs","context"]))),sortResults:new P((()=>new R(["comparators","context"]))),filterResults:new P((()=>new R(["item","context","index","unfilteredIndex"]))),merge:new P((()=>new R(["items","context"]))),result:new P((()=>new L(["result","context"]))),getItemName:new P((()=>new R(["item","context"]))),getItemFactory:new P((()=>new R(["item","context"])))});const k=this.hooks;this._caches={};for(const v of Object.keys(k)){this._caches[v]=new Map}this._inCreate=false}_getAllLevelHooks(k,v,E){const P=v.get(E);if(P!==undefined){return P}const R=[];const L=E.split(".");for(let v=0;v{for(const E of N){const P=R(E,k,v,q);if(P!==undefined){if(P)q++;return P}}q++;return true}))}create(k,v,E){if(this._inCreate){return this._create(k,v,E)}else{try{this._inCreate=true;return this._create(k,v,E)}finally{for(const k of Object.keys(this._caches))this._caches[k].clear();this._inCreate=false}}}_create(k,v,E){const P={...E,type:k,[k]:v};if(Array.isArray(v)){const E=this._forEachLevelFilter(this.hooks.filter,this._caches.filter,k,v,((k,v,E,R)=>k.call(v,P,E,R)),true);const R=[];this._forEachLevel(this.hooks.sort,this._caches.sort,k,(k=>k.call(R,P)));if(R.length>0){E.sort(N(...R,q(E)))}const L=this._forEachLevelFilter(this.hooks.filterSorted,this._caches.filterSorted,k,E,((k,v,E,R)=>k.call(v,P,E,R)),false);let le=L.map(((v,E)=>{const R={...P,_index:E};const L=this._forEachLevel(this.hooks.getItemName,this._caches.getItemName,`${k}[]`,(k=>k.call(v,R)));if(L)R[L]=v;const N=L?`${k}[].${L}`:`${k}[]`;const q=this._forEachLevel(this.hooks.getItemFactory,this._caches.getItemFactory,N,(k=>k.call(v,R)))||this;return q.create(N,v,R)}));const pe=[];this._forEachLevel(this.hooks.sortResults,this._caches.sortResults,k,(k=>k.call(pe,P)));if(pe.length>0){le.sort(N(...pe,q(le)))}const me=[];this._forEachLevel(this.hooks.groupResults,this._caches.groupResults,k,(k=>k.call(me,P)));if(me.length>0){le=ae(le,me)}const ye=this._forEachLevelFilter(this.hooks.filterResults,this._caches.filterResults,k,le,((k,v,E,R)=>k.call(v,P,E,R)),false);let _e=this._forEachLevel(this.hooks.merge,this._caches.merge,k,(k=>k.call(ye,P)));if(_e===undefined)_e=ye;return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,k,_e,((k,v)=>k.call(v,P)))}else{const E={};this._forEachLevel(this.hooks.extract,this._caches.extract,k,(k=>k.call(E,v,P)));return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,k,E,((k,v)=>k.call(v,P)))}}}k.exports=StatsFactory},54052:function(k,v,E){"use strict";const{HookMap:P,SyncWaterfallHook:R,SyncBailHook:L}=E(79846);class StatsPrinter{constructor(){this.hooks=Object.freeze({sortElements:new P((()=>new L(["elements","context"]))),printElements:new P((()=>new L(["printedElements","context"]))),sortItems:new P((()=>new L(["items","context"]))),getItemName:new P((()=>new L(["item","context"]))),printItems:new P((()=>new L(["printedItems","context"]))),print:new P((()=>new L(["object","context"]))),result:new P((()=>new R(["result","context"])))});this._levelHookCache=new Map;this._inPrint=false}_getAllLevelHooks(k,v){let E=this._levelHookCache.get(k);if(E===undefined){E=new Map;this._levelHookCache.set(k,E)}const P=E.get(v);if(P!==undefined){return P}const R=[];const L=v.split(".");for(let v=0;vk.call(v,P)));if(R===undefined){if(Array.isArray(v)){const E=v.slice();this._forEachLevel(this.hooks.sortItems,k,(k=>k.call(E,P)));const L=E.map(((v,E)=>{const R={...P,_index:E};const L=this._forEachLevel(this.hooks.getItemName,`${k}[]`,(k=>k.call(v,R)));if(L)R[L]=v;return this.print(L?`${k}[].${L}`:`${k}[]`,v,R)}));R=this._forEachLevel(this.hooks.printItems,k,(k=>k.call(L,P)));if(R===undefined){const k=L.filter(Boolean);if(k.length>0)R=k.join("\n")}}else if(v!==null&&typeof v==="object"){const E=Object.keys(v).filter((k=>v[k]!==undefined));this._forEachLevel(this.hooks.sortElements,k,(k=>k.call(E,P)));const L=E.map((E=>{const R=this.print(`${k}.${E}`,v[E],{...P,_parent:v,_element:E,[E]:v[E]});return{element:E,content:R}}));R=this._forEachLevel(this.hooks.printElements,k,(k=>k.call(L,P)));if(R===undefined){const k=L.map((k=>k.content)).filter(Boolean);if(k.length>0)R=k.join("\n")}}}return this._forEachLevelWaterfall(this.hooks.result,k,R,((k,v)=>k.call(v,P)))}}k.exports=StatsPrinter},68863:function(k,v){"use strict";v.equals=(k,v)=>{if(k.length!==v.length)return false;for(let E=0;Ek.reduce(((k,E)=>{k[v(E)?0:1].push(E);return k}),[[],[]])},12970:function(k){"use strict";class ArrayQueue{constructor(k){this._list=k?Array.from(k):[];this._listReversed=[]}get length(){return this._list.length+this._listReversed.length}clear(){this._list.length=0;this._listReversed.length=0}enqueue(k){this._list.push(k)}dequeue(){if(this._listReversed.length===0){if(this._list.length===0)return undefined;if(this._list.length===1)return this._list.pop();if(this._list.length<16)return this._list.shift();const k=this._listReversed;this._listReversed=this._list;this._listReversed.reverse();this._list=k}return this._listReversed.pop()}delete(k){const v=this._list.indexOf(k);if(v>=0){this._list.splice(v,1)}else{const v=this._listReversed.indexOf(k);if(v>=0)this._listReversed.splice(v,1)}}[Symbol.iterator](){let k=-1;let v=false;return{next:()=>{if(!v){k++;if(kk);this._entries=new Map;this._queued=new q;this._children=undefined;this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false;this._root=E?E._root:this;if(E){if(this._root._children===undefined){this._root._children=[this]}else{this._root._children.push(this)}}this.hooks={beforeAdd:new R(["item"]),added:new P(["item"]),beforeStart:new R(["item"]),started:new P(["item"]),result:new P(["item","error","result"])};this._ensureProcessing=this._ensureProcessing.bind(this)}add(k,v){if(this._stopped)return v(new N("Queue was stopped"));this.hooks.beforeAdd.callAsync(k,(E=>{if(E){v(L(E,`AsyncQueue(${this._name}).hooks.beforeAdd`));return}const P=this._getKey(k);const R=this._entries.get(P);if(R!==undefined){if(R.state===pe){if(me++>3){process.nextTick((()=>v(R.error,R.result)))}else{v(R.error,R.result)}me--}else if(R.callbacks===undefined){R.callbacks=[v]}else{R.callbacks.push(v)}return}const q=new AsyncQueueEntry(k,v);if(this._stopped){this.hooks.added.call(k);this._root._activeTasks++;process.nextTick((()=>this._handleResult(q,new N("Queue was stopped"))))}else{this._entries.set(P,q);this._queued.enqueue(q);const v=this._root;v._needProcessing=true;if(v._willEnsureProcessing===false){v._willEnsureProcessing=true;setImmediate(v._ensureProcessing)}this.hooks.added.call(k)}}))}invalidate(k){const v=this._getKey(k);const E=this._entries.get(v);this._entries.delete(v);if(E.state===ae){this._queued.delete(E)}}waitFor(k,v){const E=this._getKey(k);const P=this._entries.get(E);if(P===undefined){return v(new N("waitFor can only be called for an already started item"))}if(P.state===pe){process.nextTick((()=>v(P.error,P.result)))}else if(P.callbacks===undefined){P.callbacks=[v]}else{P.callbacks.push(v)}}stop(){this._stopped=true;const k=this._queued;this._queued=new q;const v=this._root;for(const E of k){this._entries.delete(this._getKey(E.item));v._activeTasks++;this._handleResult(E,new N("Queue was stopped"))}}increaseParallelism(){const k=this._root;k._parallelism++;if(k._willEnsureProcessing===false&&k._needProcessing){k._willEnsureProcessing=true;setImmediate(k._ensureProcessing)}}decreaseParallelism(){const k=this._root;k._parallelism--}isProcessing(k){const v=this._getKey(k);const E=this._entries.get(v);return E!==undefined&&E.state===le}isQueued(k){const v=this._getKey(k);const E=this._entries.get(v);return E!==undefined&&E.state===ae}isDone(k){const v=this._getKey(k);const E=this._entries.get(v);return E!==undefined&&E.state===pe}_ensureProcessing(){while(this._activeTasks0)return;if(this._children!==undefined){for(const k of this._children){while(this._activeTasks0)return}}if(!this._willEnsureProcessing)this._needProcessing=false}_startProcessing(k){this.hooks.beforeStart.callAsync(k.item,(v=>{if(v){this._handleResult(k,L(v,`AsyncQueue(${this._name}).hooks.beforeStart`));return}let E=false;try{this._processor(k.item,((v,P)=>{E=true;this._handleResult(k,v,P)}))}catch(v){if(E)throw v;this._handleResult(k,v,null)}this.hooks.started.call(k.item)}))}_handleResult(k,v,E){this.hooks.result.callAsync(k.item,v,E,(P=>{const R=P?L(P,`AsyncQueue(${this._name}).hooks.result`):v;const N=k.callback;const q=k.callbacks;k.state=pe;k.callback=undefined;k.callbacks=undefined;k.result=E;k.error=R;const ae=this._root;ae._activeTasks--;if(ae._willEnsureProcessing===false&&ae._needProcessing){ae._willEnsureProcessing=true;setImmediate(ae._ensureProcessing)}if(me++>3){process.nextTick((()=>{N(R,E);if(q!==undefined){for(const k of q){k(R,E)}}}))}else{N(R,E);if(q!==undefined){for(const k of q){k(R,E)}}}me--}))}clear(){this._entries.clear();this._queued.clear();this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false}}k.exports=AsyncQueue},40466:function(k,v,E){"use strict";class Hash{update(k,v){const P=E(60386);throw new P}digest(k){const v=E(60386);throw new v}}k.exports=Hash},54480:function(k,v){"use strict";const last=k=>{let v;for(const E of k)v=E;return v};const someInIterable=(k,v)=>{for(const E of k){if(v(E))return true}return false};const countIterable=k=>{let v=0;for(const E of k)v++;return v};v.last=last;v.someInIterable=someInIterable;v.countIterable=countIterable},50680:function(k,v,E){"use strict";const{first:P}=E(59959);const R=E(46081);class LazyBucketSortedSet{constructor(k,v,...E){this._getKey=k;this._innerArgs=E;this._leaf=E.length<=1;this._keys=new R(undefined,v);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(k){this.size++;this._unsortedItems.add(k)}_addInternal(k,v){let E=this._map.get(k);if(E===undefined){E=this._leaf?new R(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(k);this._map.set(k,E)}E.add(v)}delete(k){this.size--;if(this._unsortedItems.has(k)){this._unsortedItems.delete(k);return}const v=this._getKey(k);const E=this._map.get(v);E.delete(k);if(E.size===0){this._deleteKey(v)}}_deleteKey(k){this._keys.delete(k);this._map.delete(k)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const k of this._unsortedItems){const v=this._getKey(k);this._addInternal(v,k)}this._unsortedItems.clear()}this._keys.sort();const k=P(this._keys);const v=this._map.get(k);if(this._leaf){const E=v;E.sort();const R=P(E);E.delete(R);if(E.size===0){this._deleteKey(k)}return R}else{const E=v;const P=E.popFirst();if(E.size===0){this._deleteKey(k)}return P}}startUpdate(k){if(this._unsortedItems.has(k)){return v=>{if(v){this._unsortedItems.delete(k);this.size--;return}}}const v=this._getKey(k);if(this._leaf){const E=this._map.get(v);return P=>{if(P){this.size--;E.delete(k);if(E.size===0){this._deleteKey(v)}return}const R=this._getKey(k);if(v===R){E.add(k)}else{E.delete(k);if(E.size===0){this._deleteKey(v)}this._addInternal(R,k)}}}else{const E=this._map.get(v);const P=E.startUpdate(k);return R=>{if(R){this.size--;P(true);if(E.size===0){this._deleteKey(v)}return}const L=this._getKey(k);if(v===L){P()}else{P(true);if(E.size===0){this._deleteKey(v)}this._addInternal(L,k)}}}}_appendIterators(k){if(this._unsortedItems.size>0)k.push(this._unsortedItems[Symbol.iterator]());for(const v of this._keys){const E=this._map.get(v);if(this._leaf){const v=E;const P=v[Symbol.iterator]();k.push(P)}else{const v=E;v._appendIterators(k)}}}[Symbol.iterator](){const k=[];this._appendIterators(k);k.reverse();let v=k.pop();return{next:()=>{const E=v.next();if(E.done){if(k.length===0)return E;v=k.pop();return v.next()}return E}}}}k.exports=LazyBucketSortedSet},12359:function(k,v,E){"use strict";const P=E(58528);const merge=(k,v)=>{for(const E of v){for(const v of E){k.add(v)}}};const flatten=(k,v)=>{for(const E of v){if(E._set.size>0)k.add(E._set);if(E._needMerge){for(const v of E._toMerge){k.add(v)}flatten(k,E._toDeepMerge)}}};class LazySet{constructor(k){this._set=new Set(k);this._toMerge=new Set;this._toDeepMerge=[];this._needMerge=false;this._deopt=false}_flatten(){flatten(this._toMerge,this._toDeepMerge);this._toDeepMerge.length=0}_merge(){this._flatten();merge(this._set,this._toMerge);this._toMerge.clear();this._needMerge=false}_isEmpty(){return this._set.size===0&&this._toMerge.size===0&&this._toDeepMerge.length===0}get size(){if(this._needMerge)this._merge();return this._set.size}add(k){this._set.add(k);return this}addAll(k){if(this._deopt){const v=this._set;for(const E of k){v.add(E)}}else{if(k instanceof LazySet){if(k._isEmpty())return this;this._toDeepMerge.push(k);this._needMerge=true;if(this._toDeepMerge.length>1e5){this._flatten()}}else{this._toMerge.add(k);this._needMerge=true}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(k){if(this._needMerge)this._merge();return this._set.delete(k)}entries(){this._deopt=true;if(this._needMerge)this._merge();return this._set.entries()}forEach(k,v){this._deopt=true;if(this._needMerge)this._merge();this._set.forEach(k,v)}has(k){if(this._needMerge)this._merge();return this._set.has(k)}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:k}){if(this._needMerge)this._merge();k(this._set.size);for(const v of this._set)k(v)}static deserialize({read:k}){const v=k();const E=[];for(let P=0;P{const P=k.get(v);if(P!==undefined)return P;const R=E();k.set(v,R);return R}},99593:function(k,v,E){"use strict";const P=E(43759);class ParallelismFactorCalculator{constructor(){this._rangePoints=[];this._rangeCallbacks=[]}range(k,v,E){if(k===v)return E(1);this._rangePoints.push(k);this._rangePoints.push(v);this._rangeCallbacks.push(E)}calculate(){const k=Array.from(new Set(this._rangePoints)).sort(((k,v)=>k0));const E=[];for(let R=0;R{if(k.length===0)return new Set;if(k.length===1)return new Set(k[0]);let v=Infinity;let E=-1;for(let P=0;P{if(k.size{for(const E of k){if(v(E))return E}};const first=k=>{const v=k.values().next();return v.done?undefined:v.value};const combine=(k,v)=>{if(v.size===0)return k;if(k.size===0)return v;const E=new Set(k);for(const k of v)E.add(k);return E};v.intersect=intersect;v.isSubset=isSubset;v.find=find;v.first=first;v.combine=combine},46081:function(k){"use strict";const v=Symbol("not sorted");class SortableSet extends Set{constructor(k,E){super(k);this._sortFn=E;this._lastActiveSortFn=v;this._cache=undefined;this._cacheOrderIndependent=undefined}add(k){this._lastActiveSortFn=v;this._invalidateCache();this._invalidateOrderedCache();super.add(k);return this}delete(k){this._invalidateCache();this._invalidateOrderedCache();return super.delete(k)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(k){if(this.size<=1||k===this._lastActiveSortFn){return}const v=Array.from(this).sort(k);super.clear();for(let k=0;k0;v--){const E=this.stack[v-1];if(E.size>=k.size)break;this.stack[v]=E;this.stack[v-1]=k}}else{for(const[v,E]of k){this.map.set(v,E)}}}set(k,v){this.map.set(k,v)}delete(k){throw new Error("Items can't be deleted from a StackedCacheMap")}has(k){throw new Error("Checking StackedCacheMap.has before reading is inefficient, use StackedCacheMap.get and check for undefined")}get(k){for(const v of this.stack){const E=v.get(k);if(E!==undefined)return E}return this.map.get(k)}clear(){this.stack.length=0;this.map.clear()}get size(){let k=this.map.size;for(const v of this.stack){k+=v.size}return k}[Symbol.iterator](){const k=this.stack.map((k=>k[Symbol.iterator]()));let v=this.map[Symbol.iterator]();return{next(){let E=v.next();while(E.done&&k.length>0){v=k.pop();E=v.next()}return E}}}}k.exports=StackedCacheMap},25728:function(k){"use strict";const v=Symbol("tombstone");const E=Symbol("undefined");const extractPair=k=>{const P=k[0];const R=k[1];if(R===E||R===v){return[P,undefined]}else{return k}};class StackedMap{constructor(k){this.map=new Map;this.stack=k===undefined?[]:k.slice();this.stack.push(this.map)}set(k,v){this.map.set(k,v===undefined?E:v)}delete(k){if(this.stack.length>1){this.map.set(k,v)}else{this.map.delete(k)}}has(k){const E=this.map.get(k);if(E!==undefined){return E!==v}if(this.stack.length>1){for(let E=this.stack.length-2;E>=0;E--){const P=this.stack[E].get(k);if(P!==undefined){this.map.set(k,P);return P!==v}}this.map.set(k,v)}return false}get(k){const P=this.map.get(k);if(P!==undefined){return P===v||P===E?undefined:P}if(this.stack.length>1){for(let P=this.stack.length-2;P>=0;P--){const R=this.stack[P].get(k);if(R!==undefined){this.map.set(k,R);return R===v||R===E?undefined:R}}this.map.set(k,v)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const k of this.stack){for(const E of k){if(E[1]===v){this.map.delete(E[0])}else{this.map.set(E[0],E[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(),extractPair)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedMap(this.stack)}}k.exports=StackedMap},96181:function(k){"use strict";class StringXor{constructor(){this._value=undefined}add(k){const v=k.length;const E=this._value;if(E===undefined){const E=this._value=Buffer.allocUnsafe(v);for(let P=0;P0){this._iterator=this._set[Symbol.iterator]();const k=this._iterator.next().value;this._set.delete(...k);return k}return undefined}this._set.delete(...k.value);return k.value}}k.exports=TupleQueue},71307:function(k){"use strict";class TupleSet{constructor(k){this._map=new Map;this.size=0;if(k){for(const v of k){this.add(...v)}}}add(...k){let v=this._map;for(let E=0;E{const R=P.next();if(R.done){if(k.length===0)return false;v.pop();return next(k.pop())}const[L,N]=R.value;k.push(P);v.push(L);if(N instanceof Set){E=N[Symbol.iterator]();return true}else{return next(N[Symbol.iterator]())}};next(this._map[Symbol.iterator]());return{next(){while(E){const P=E.next();if(P.done){v.pop();if(!next(k.pop())){E=undefined}}else{return{done:false,value:v.concat(P.value)}}}return{done:true,value:undefined}}}}}k.exports=TupleSet},78296:function(k,v){"use strict";const E="\\".charCodeAt(0);const P="/".charCodeAt(0);const R="a".charCodeAt(0);const L="z".charCodeAt(0);const N="A".charCodeAt(0);const q="Z".charCodeAt(0);const ae="0".charCodeAt(0);const le="9".charCodeAt(0);const pe="+".charCodeAt(0);const me="-".charCodeAt(0);const ye=":".charCodeAt(0);const _e="#".charCodeAt(0);const Ie="?".charCodeAt(0);function getScheme(k){const v=k.charCodeAt(0);if((vL)&&(vq)){return undefined}let Me=1;let Te=k.charCodeAt(Me);while(Te>=R&&Te<=L||Te>=N&&Te<=q||Te>=ae&&Te<=le||Te===pe||Te===me){if(++Me===k.length)return undefined;Te=k.charCodeAt(Me)}if(Te!==ye)return undefined;if(Me===1){const v=Me+1typeof k==="object"&&k!==null;class WeakTupleMap{constructor(){this.f=0;this.v=undefined;this.m=undefined;this.w=undefined}set(...k){let v=this;for(let E=0;E{const L=["function ",k,"(a,l,h,",P.join(","),"){",R?"":"var i=",E?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];if(R){if(v.indexOf("c")<0){L.push(";if(x===y){return m}else if(x<=y){")}else{L.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){")}}else{L.push(";if(",v,"){i=m;")}if(E){L.push("l=m+1}else{h=m-1}")}else{L.push("h=m-1}else{l=m+1}")}L.push("}");if(R){L.push("return -1};")}else{L.push("return i};")}return L.join("")};const compileBoundsSearch=(k,v,E,P)=>{const R=compileSearch("A","x"+k+"y",v,["y"],P);const L=compileSearch("P","c(x,y)"+k+"0",v,["y","c"],P);const N="function dispatchBinarySearch";const q="(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch";const ae=[R,L,N,E,q,E];const le=ae.join("");const pe=new Function(le);return pe()};k.exports={ge:compileBoundsSearch(">=",false,"GE"),gt:compileBoundsSearch(">",false,"GT"),lt:compileBoundsSearch("<",true,"LT"),le:compileBoundsSearch("<=",true,"LE"),eq:compileBoundsSearch("-",true,"EQ",true)}},99454:function(k,v){"use strict";const E=new WeakMap;const P=new WeakMap;const R=Symbol("DELETE");const L=Symbol("cleverMerge dynamic info");const cachedCleverMerge=(k,v)=>{if(v===undefined)return k;if(k===undefined)return v;if(typeof v!=="object"||v===null)return v;if(typeof k!=="object"||k===null)return k;let P=E.get(k);if(P===undefined){P=new WeakMap;E.set(k,P)}const R=P.get(v);if(R!==undefined)return R;const L=_cleverMerge(k,v,true);P.set(v,L);return L};const cachedSetProperty=(k,v,E)=>{let R=P.get(k);if(R===undefined){R=new Map;P.set(k,R)}let L=R.get(v);if(L===undefined){L=new Map;R.set(v,L)}let N=L.get(E);if(N)return N;N={...k,[v]:E};L.set(E,N);return N};const N=new WeakMap;const cachedParseObject=k=>{const v=N.get(k);if(v!==undefined)return v;const E=parseObject(k);N.set(k,E);return E};const parseObject=k=>{const v=new Map;let E;const getInfo=k=>{const E=v.get(k);if(E!==undefined)return E;const P={base:undefined,byProperty:undefined,byValues:undefined};v.set(k,P);return P};for(const v of Object.keys(k)){if(v.startsWith("by")){const P=v;const R=k[P];if(typeof R==="object"){for(const k of Object.keys(R)){const v=R[k];for(const E of Object.keys(v)){const L=getInfo(E);if(L.byProperty===undefined){L.byProperty=P;L.byValues=new Map}else if(L.byProperty!==P){throw new Error(`${P} and ${L.byProperty} for a single property is not supported`)}L.byValues.set(k,v[E]);if(k==="default"){for(const k of Object.keys(R)){if(!L.byValues.has(k))L.byValues.set(k,undefined)}}}}}else if(typeof R==="function"){if(E===undefined){E={byProperty:v,fn:R}}else{throw new Error(`${v} and ${E.byProperty} when both are functions is not supported`)}}else{const E=getInfo(v);E.base=k[v]}}else{const E=getInfo(v);E.base=k[v]}}return{static:v,dynamic:E}};const serializeObject=(k,v)=>{const E={};for(const v of k.values()){if(v.byProperty!==undefined){const k=E[v.byProperty]=E[v.byProperty]||{};for(const E of v.byValues.keys()){k[E]=k[E]||{}}}}for(const[v,P]of k){if(P.base!==undefined){E[v]=P.base}if(P.byProperty!==undefined){const k=E[P.byProperty]=E[P.byProperty]||{};for(const E of Object.keys(k)){const R=getFromByValues(P.byValues,E);if(R!==undefined)k[E][v]=R}}}if(v!==undefined){E[v.byProperty]=v.fn}return E};const q=0;const ae=1;const le=2;const pe=3;const me=4;const getValueType=k=>{if(k===undefined){return q}else if(k===R){return me}else if(Array.isArray(k)){if(k.lastIndexOf("...")!==-1)return le;return ae}else if(typeof k==="object"&&k!==null&&(!k.constructor||k.constructor===Object)){return pe}return ae};const cleverMerge=(k,v)=>{if(v===undefined)return k;if(k===undefined)return v;if(typeof v!=="object"||v===null)return v;if(typeof k!=="object"||k===null)return k;return _cleverMerge(k,v,false)};const _cleverMerge=(k,v,E=false)=>{const P=E?cachedParseObject(k):parseObject(k);const{static:R,dynamic:N}=P;if(N!==undefined){let{byProperty:k,fn:R}=N;const q=R[L];if(q){v=E?cachedCleverMerge(q[1],v):cleverMerge(q[1],v);R=q[0]}const newFn=(...k)=>{const P=R(...k);return E?cachedCleverMerge(P,v):cleverMerge(P,v)};newFn[L]=[R,v];return serializeObject(P.static,{byProperty:k,fn:newFn})}const q=E?cachedParseObject(v):parseObject(v);const{static:ae,dynamic:le}=q;const pe=new Map;for(const[k,v]of R){const P=ae.get(k);const R=P!==undefined?mergeEntries(v,P,E):v;pe.set(k,R)}for(const[k,v]of ae){if(!R.has(k)){pe.set(k,v)}}return serializeObject(pe,le)};const mergeEntries=(k,v,E)=>{switch(getValueType(v.base)){case ae:case me:return v;case q:if(!k.byProperty){return{base:k.base,byProperty:v.byProperty,byValues:v.byValues}}else if(k.byProperty!==v.byProperty){throw new Error(`${k.byProperty} and ${v.byProperty} for a single property is not supported`)}else{const P=new Map(k.byValues);for(const[R,L]of v.byValues){const v=getFromByValues(k.byValues,R);P.set(R,mergeSingleValue(v,L,E))}return{base:k.base,byProperty:k.byProperty,byValues:P}}default:{if(!k.byProperty){return{base:mergeSingleValue(k.base,v.base,E),byProperty:v.byProperty,byValues:v.byValues}}let P;const R=new Map(k.byValues);for(const[k,P]of R){R.set(k,mergeSingleValue(P,v.base,E))}if(Array.from(k.byValues.values()).every((k=>{const v=getValueType(k);return v===ae||v===me}))){P=mergeSingleValue(k.base,v.base,E)}else{P=k.base;if(!R.has("default"))R.set("default",v.base)}if(!v.byProperty){return{base:P,byProperty:k.byProperty,byValues:R}}else if(k.byProperty!==v.byProperty){throw new Error(`${k.byProperty} and ${v.byProperty} for a single property is not supported`)}const L=new Map(R);for(const[k,P]of v.byValues){const v=getFromByValues(R,k);L.set(k,mergeSingleValue(v,P,E))}return{base:P,byProperty:k.byProperty,byValues:L}}}};const getFromByValues=(k,v)=>{if(v!=="default"&&k.has(v)){return k.get(v)}return k.get("default")};const mergeSingleValue=(k,v,E)=>{const P=getValueType(v);const R=getValueType(k);switch(P){case me:case ae:return v;case pe:{return R!==pe?v:E?cachedCleverMerge(k,v):cleverMerge(k,v)}case q:return k;case le:switch(R!==ae?R:Array.isArray(k)?le:pe){case q:return v;case me:return v.filter((k=>k!=="..."));case le:{const E=[];for(const P of v){if(P==="..."){for(const v of k){E.push(v)}}else{E.push(P)}}return E}case pe:return v.map((v=>v==="..."?k:v));default:throw new Error("Not implemented")}default:throw new Error("Not implemented")}};const removeOperations=k=>{const v={};for(const E of Object.keys(k)){const P=k[E];const R=getValueType(P);switch(R){case q:case me:break;case pe:v[E]=removeOperations(P);break;case le:v[E]=P.filter((k=>k!=="..."));break;default:v[E]=P;break}}return v};const resolveByProperty=(k,v,...E)=>{if(typeof k!=="object"||k===null||!(v in k)){return k}const{[v]:P,...R}=k;const L=R;const N=P;if(typeof N==="object"){const k=E[0];if(k in N){return cachedCleverMerge(L,N[k])}else if("default"in N){return cachedCleverMerge(L,N.default)}else{return L}}else if(typeof N==="function"){const k=N.apply(null,E);return cachedCleverMerge(L,resolveByProperty(k,v,...E))}};v.cachedSetProperty=cachedSetProperty;v.cachedCleverMerge=cachedCleverMerge;v.cleverMerge=cleverMerge;v.resolveByProperty=resolveByProperty;v.removeOperations=removeOperations;v.DELETE=R},95648:function(k,v,E){"use strict";const{compareRuntime:P}=E(1540);const createCachedParameterizedComparator=k=>{const v=new WeakMap;return E=>{const P=v.get(E);if(P!==undefined)return P;const R=k.bind(null,E);v.set(E,R);return R}};v.compareChunksById=(k,v)=>compareIds(k.id,v.id);v.compareModulesByIdentifier=(k,v)=>compareIds(k.identifier(),v.identifier());const compareModulesById=(k,v,E)=>compareIds(k.getModuleId(v),k.getModuleId(E));v.compareModulesById=createCachedParameterizedComparator(compareModulesById);const compareNumbers=(k,v)=>{if(typeof k!==typeof v){return typeof kv)return 1;return 0};v.compareNumbers=compareNumbers;const compareStringsNumeric=(k,v)=>{const E=k.split(/(\d+)/);const P=v.split(/(\d+)/);const R=Math.min(E.length,P.length);for(let k=0;kR.length){if(v.slice(0,R.length)>R)return 1;return-1}else if(R.length>v.length){if(R.slice(0,v.length)>v)return-1;return 1}else{if(vR)return 1}}else{const k=+v;const E=+R;if(kE)return 1}}if(P.lengthE.length)return-1;return 0};v.compareStringsNumeric=compareStringsNumeric;const compareModulesByPostOrderIndexOrIdentifier=(k,v,E)=>{const P=compareNumbers(k.getPostOrderIndex(v),k.getPostOrderIndex(E));if(P!==0)return P;return compareIds(v.identifier(),E.identifier())};v.compareModulesByPostOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPostOrderIndexOrIdentifier);const compareModulesByPreOrderIndexOrIdentifier=(k,v,E)=>{const P=compareNumbers(k.getPreOrderIndex(v),k.getPreOrderIndex(E));if(P!==0)return P;return compareIds(v.identifier(),E.identifier())};v.compareModulesByPreOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPreOrderIndexOrIdentifier);const compareModulesByIdOrIdentifier=(k,v,E)=>{const P=compareIds(k.getModuleId(v),k.getModuleId(E));if(P!==0)return P;return compareIds(v.identifier(),E.identifier())};v.compareModulesByIdOrIdentifier=createCachedParameterizedComparator(compareModulesByIdOrIdentifier);const compareChunks=(k,v,E)=>k.compareChunks(v,E);v.compareChunks=createCachedParameterizedComparator(compareChunks);const compareIds=(k,v)=>{if(typeof k!==typeof v){return typeof kv)return 1;return 0};v.compareIds=compareIds;const compareStrings=(k,v)=>{if(kv)return 1;return 0};v.compareStrings=compareStrings;const compareChunkGroupsByIndex=(k,v)=>k.index{if(E.length>0){const[P,...R]=E;return concatComparators(k,concatComparators(v,P,...R))}const P=R.get(k,v);if(P!==undefined)return P;const result=(E,P)=>{const R=k(E,P);if(R!==0)return R;return v(E,P)};R.set(k,v,result);return result};v.concatComparators=concatComparators;const L=new TwoKeyWeakMap;const compareSelect=(k,v)=>{const E=L.get(k,v);if(E!==undefined)return E;const result=(E,P)=>{const R=k(E);const L=k(P);if(R!==undefined&&R!==null){if(L!==undefined&&L!==null){return v(R,L)}return-1}else{if(L!==undefined&&L!==null){return 1}return 0}};L.set(k,v,result);return result};v.compareSelect=compareSelect;const N=new WeakMap;const compareIterables=k=>{const v=N.get(k);if(v!==undefined)return v;const result=(v,E)=>{const P=v[Symbol.iterator]();const R=E[Symbol.iterator]();while(true){const v=P.next();const E=R.next();if(v.done){return E.done?0:-1}else if(E.done){return 1}const L=k(v.value,E.value);if(L!==0)return L}};N.set(k,result);return result};v.compareIterables=compareIterables;v.keepOriginalOrder=k=>{const v=new Map;let E=0;for(const P of k){v.set(P,E++)}return(k,E)=>compareNumbers(v.get(k),v.get(E))};v.compareChunksNatural=k=>{const E=v.compareModulesById(k);const R=compareIterables(E);return concatComparators(compareSelect((k=>k.name),compareIds),compareSelect((k=>k.runtime),P),compareSelect((v=>k.getOrderedChunkModulesIterable(v,E)),R))};v.compareLocations=(k,v)=>{let E=typeof k==="object"&&k!==null;let P=typeof v==="object"&&v!==null;if(!E||!P){if(E)return 1;if(P)return-1;return 0}if("start"in k){if("start"in v){const E=k.start;const P=v.start;if(E.lineP.line)return 1;if(E.columnP.column)return 1}else return-1}else if("start"in v)return 1;if("name"in k){if("name"in v){if(k.namev.name)return 1}else return-1}else if("name"in v)return 1;if("index"in k){if("index"in v){if(k.indexv.index)return 1}else return-1}else if("index"in v)return 1;return 0}},21751:function(k){"use strict";const quoteMeta=k=>k.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const toSimpleString=k=>{if(`${+k}`===k){return k}return JSON.stringify(k)};const compileBooleanMatcher=k=>{const v=Object.keys(k).filter((v=>k[v]));const E=Object.keys(k).filter((v=>!k[v]));if(v.length===0)return false;if(E.length===0)return true;return compileBooleanMatcherFromLists(v,E)};const compileBooleanMatcherFromLists=(k,v)=>{if(k.length===0)return()=>"false";if(v.length===0)return()=>"true";if(k.length===1)return v=>`${toSimpleString(k[0])} == ${v}`;if(v.length===1)return k=>`${toSimpleString(v[0])} != ${k}`;const E=itemsToRegexp(k);const P=itemsToRegexp(v);if(E.length<=P.length){return k=>`/^${E}$/.test(${k})`}else{return k=>`!/^${P}$/.test(${k})`}};const popCommonItems=(k,v,E)=>{const P=new Map;for(const E of k){const k=v(E);if(k){let v=P.get(k);if(v===undefined){v=[];P.set(k,v)}v.push(E)}}const R=[];for(const v of P.values()){if(E(v)){for(const E of v){k.delete(E)}R.push(v)}}return R};const getCommonPrefix=k=>{let v=k[0];for(let E=1;E{let v=k[0];for(let E=1;E=0;k--,E--){if(P[k]!==v[E]){v=v.slice(E+1);break}}}return v};const itemsToRegexp=k=>{if(k.length===1){return quoteMeta(k[0])}const v=[];let E=0;for(const v of k){if(v.length===1){E++}}if(E===k.length){return`[${quoteMeta(k.sort().join(""))}]`}const P=new Set(k.sort());if(E>2){let k="";for(const v of P){if(v.length===1){k+=v;P.delete(v)}}v.push(`[${quoteMeta(k)}]`)}if(v.length===0&&P.size===2){const v=getCommonPrefix(k);const E=getCommonSuffix(k.map((k=>k.slice(v.length))));if(v.length>0||E.length>0){return`${quoteMeta(v)}${itemsToRegexp(k.map((k=>k.slice(v.length,-E.length||undefined))))}${quoteMeta(E)}`}}if(v.length===0&&P.size===2){const k=P[Symbol.iterator]();const v=k.next().value;const E=k.next().value;if(v.length>0&&E.length>0&&v.slice(-1)===E.slice(-1)){return`${itemsToRegexp([v.slice(0,-1),E.slice(0,-1)])}${quoteMeta(v.slice(-1))}`}}const R=popCommonItems(P,(k=>k.length>=1?k[0]:false),(k=>{if(k.length>=3)return true;if(k.length<=1)return false;return k[0][1]===k[1][1]}));for(const k of R){const E=getCommonPrefix(k);v.push(`${quoteMeta(E)}${itemsToRegexp(k.map((k=>k.slice(E.length))))}`)}const L=popCommonItems(P,(k=>k.length>=1?k.slice(-1):false),(k=>{if(k.length>=3)return true;if(k.length<=1)return false;return k[0].slice(-2)===k[1].slice(-2)}));for(const k of L){const E=getCommonSuffix(k);v.push(`${itemsToRegexp(k.map((k=>k.slice(0,-E.length))))}${quoteMeta(E)}`)}const N=v.concat(Array.from(P,quoteMeta));if(N.length===1)return N[0];return`(${N.join("|")})`};compileBooleanMatcher.fromLists=compileBooleanMatcherFromLists;compileBooleanMatcher.itemsToRegexp=itemsToRegexp;k.exports=compileBooleanMatcher},92198:function(k,v,E){"use strict";const P=E(20631);const R=P((()=>E(38476).validate));const createSchemaValidation=(k,v,L)=>{v=P(v);return P=>{if(k&&!k(P)){R()(v(),P,L);if(k){E(73837).deprecate((()=>{}),"webpack bug: Pre-compiled schema reports error while real schema is happy. This has performance drawbacks.","DEP_WEBPACK_PRE_COMPILED_SCHEMA_INVALID")()}}}};k.exports=createSchemaValidation},74012:function(k,v,E){"use strict";const P=E(40466);const R=2e3;const L={};class BulkUpdateDecorator extends P{constructor(k,v){super();this.hashKey=v;if(typeof k==="function"){this.hashFactory=k;this.hash=undefined}else{this.hashFactory=undefined;this.hash=k}this.buffer=""}update(k,v){if(v!==undefined||typeof k!=="string"||k.length>R){if(this.hash===undefined)this.hash=this.hashFactory();if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(k,v)}else{this.buffer+=k;if(this.buffer.length>R){if(this.hash===undefined)this.hash=this.hashFactory();this.hash.update(this.buffer);this.buffer=""}}return this}digest(k){let v;const E=this.buffer;if(this.hash===undefined){const P=`${this.hashKey}-${k}`;v=L[P];if(v===undefined){v=L[P]=new Map}const R=v.get(E);if(R!==undefined)return R;this.hash=this.hashFactory()}if(E.length>0){this.hash.update(E)}const P=this.hash.digest(k);const R=typeof P==="string"?P:P.toString();if(v!==undefined){v.set(E,R)}return R}}class DebugHash extends P{constructor(){super();this.string=""}update(k,v){if(typeof k!=="string")k=k.toString("utf-8");const E=Buffer.from("@webpack-debug-digest@").toString("hex");if(k.startsWith(E)){k=Buffer.from(k.slice(E.length),"hex").toString()}this.string+=`[${k}](${(new Error).stack.split("\n",3)[2]})\n`;return this}digest(k){return Buffer.from("@webpack-debug-digest@"+this.string).toString("hex")}}let N=undefined;let q=undefined;let ae=undefined;let le=undefined;k.exports=k=>{if(typeof k==="function"){return new BulkUpdateDecorator((()=>new k))}switch(k){case"debug":return new DebugHash;case"xxhash64":if(q===undefined){q=E(82747);if(le===undefined){le=E(96940)}}return new le(q());case"md4":if(ae===undefined){ae=E(6078);if(le===undefined){le=E(96940)}}return new le(ae());case"native-md4":if(N===undefined)N=E(6113);return new BulkUpdateDecorator((()=>N.createHash("md4")),"md4");default:if(N===undefined)N=E(6113);return new BulkUpdateDecorator((()=>N.createHash(k)),k)}}},61883:function(k,v,E){"use strict";const P=E(73837);const R=new Map;const createDeprecation=(k,v)=>{const E=R.get(k);if(E!==undefined)return E;const L=P.deprecate((()=>{}),k,"DEP_WEBPACK_DEPRECATION_"+v);R.set(k,L);return L};const L=["concat","entry","filter","find","findIndex","includes","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"];const N=["copyWithin","entries","fill","keys","pop","reverse","shift","splice","sort","unshift"];v.arrayToSetDeprecation=(k,v)=>{for(const E of L){if(k[E])continue;const P=createDeprecation(`${v} was changed from Array to Set (using Array method '${E}' is deprecated)`,"ARRAY_TO_SET");k[E]=function(){P();const k=Array.from(this);return Array.prototype[E].apply(k,arguments)}}const E=createDeprecation(`${v} was changed from Array to Set (using Array method 'push' is deprecated)`,"ARRAY_TO_SET_PUSH");const P=createDeprecation(`${v} was changed from Array to Set (using Array property 'length' is deprecated)`,"ARRAY_TO_SET_LENGTH");const R=createDeprecation(`${v} was changed from Array to Set (indexing Array is deprecated)`,"ARRAY_TO_SET_INDEXER");k.push=function(){E();for(const k of Array.from(arguments)){this.add(k)}return this.size};for(const E of N){if(k[E])continue;k[E]=()=>{throw new Error(`${v} was changed from Array to Set (using Array method '${E}' is not possible)`)}}const createIndexGetter=k=>{const fn=function(){R();let v=0;for(const E of this){if(v++===k)return E}return undefined};return fn};const defineIndexGetter=E=>{Object.defineProperty(k,E,{get:createIndexGetter(E),set(k){throw new Error(`${v} was changed from Array to Set (indexing Array with write is not possible)`)}})};defineIndexGetter(0);let q=1;Object.defineProperty(k,"length",{get(){P();const k=this.size;for(q;q{let E=false;class SetDeprecatedArray extends Set{constructor(P){super(P);if(!E){E=true;v.arrayToSetDeprecation(SetDeprecatedArray.prototype,k)}}}return SetDeprecatedArray};v.soonFrozenObjectDeprecation=(k,v,E,R="")=>{const L=`${v} will be frozen in future, all modifications are deprecated.${R&&`\n${R}`}`;return new Proxy(k,{set:P.deprecate(((k,v,E,P)=>Reflect.set(k,v,E,P)),L,E),defineProperty:P.deprecate(((k,v,E)=>Reflect.defineProperty(k,v,E)),L,E),deleteProperty:P.deprecate(((k,v)=>Reflect.deleteProperty(k,v)),L,E),setPrototypeOf:P.deprecate(((k,v)=>Reflect.setPrototypeOf(k,v)),L,E)})};const deprecateAllProperties=(k,v,E)=>{const R={};const L=Object.getOwnPropertyDescriptors(k);for(const k of Object.keys(L)){const N=L[k];if(typeof N.value==="function"){Object.defineProperty(R,k,{...N,value:P.deprecate(N.value,v,E)})}else if(N.get||N.set){Object.defineProperty(R,k,{...N,get:N.get&&P.deprecate(N.get,v,E),set:N.set&&P.deprecate(N.set,v,E)})}else{let L=N.value;Object.defineProperty(R,k,{configurable:N.configurable,enumerable:N.enumerable,get:P.deprecate((()=>L),v,E),set:N.writable?P.deprecate((k=>L=k),v,E):undefined})}}return R};v.deprecateAllProperties=deprecateAllProperties;v.createFakeHook=(k,v,E)=>{if(v&&E){k=deprecateAllProperties(k,v,E)}return Object.freeze(Object.assign(k,{_fakeHook:true}))}},12271:function(k){"use strict";const similarity=(k,v)=>{const E=Math.min(k.length,v.length);let P=0;for(let R=0;R{const P=Math.min(k.length,v.length);let R=0;while(R{for(const E of Object.keys(v)){k[E]=(k[E]||0)+v[E]}};const subtractSizeFrom=(k,v)=>{for(const E of Object.keys(v)){k[E]-=v[E]}};const sumSize=k=>{const v=Object.create(null);for(const E of k){addSizeTo(v,E.size)}return v};const isTooBig=(k,v)=>{for(const E of Object.keys(k)){const P=k[E];if(P===0)continue;const R=v[E];if(typeof R==="number"){if(P>R)return true}}return false};const isTooSmall=(k,v)=>{for(const E of Object.keys(k)){const P=k[E];if(P===0)continue;const R=v[E];if(typeof R==="number"){if(P{const E=new Set;for(const P of Object.keys(k)){const R=k[P];if(R===0)continue;const L=v[P];if(typeof L==="number"){if(R{let E=0;for(const P of Object.keys(k)){if(k[P]!==0&&v.has(P))E++}return E};const selectiveSizeSum=(k,v)=>{let E=0;for(const P of Object.keys(k)){if(k[P]!==0&&v.has(P))E+=k[P]}return E};class Node{constructor(k,v,E){this.item=k;this.key=v;this.size=E}}class Group{constructor(k,v,E){this.nodes=k;this.similarities=v;this.size=E||sumSize(k);this.key=undefined}popNodes(k){const v=[];const E=[];const P=[];let R;for(let L=0;L0){E.push(R===this.nodes[L-1]?this.similarities[L-1]:similarity(R.key,N.key))}v.push(N);R=N}}if(P.length===this.nodes.length)return undefined;this.nodes=v;this.similarities=E;this.size=sumSize(v);return P}}const getSimilarities=k=>{const v=[];let E=undefined;for(const P of k){if(E!==undefined){v.push(similarity(E.key,P.key))}E=P}return v};k.exports=({maxSize:k,minSize:v,items:E,getSize:P,getKey:R})=>{const L=[];const N=Array.from(E,(k=>new Node(k,R(k),P(k))));const q=[];N.sort(((k,v)=>{if(k.keyv.key)return 1;return 0}));for(const E of N){if(isTooBig(E.size,k)&&!isTooSmall(E.size,v)){L.push(new Group([E],[]))}else{q.push(E)}}if(q.length>0){const E=new Group(q,getSimilarities(q));const removeProblematicNodes=(k,E=k.size)=>{const P=getTooSmallTypes(E,v);if(P.size>0){const v=k.popNodes((k=>getNumberOfMatchingSizeTypes(k.size,P)>0));if(v===undefined)return false;const E=L.filter((k=>getNumberOfMatchingSizeTypes(k.size,P)>0));if(E.length>0){const k=E.reduce(((k,v)=>{const E=getNumberOfMatchingSizeTypes(k,P);const R=getNumberOfMatchingSizeTypes(v,P);if(E!==R)return EselectiveSizeSum(v.size,P))return v;return k}));for(const E of v)k.nodes.push(E);k.nodes.sort(((k,v)=>{if(k.keyv.key)return 1;return 0}))}else{L.push(new Group(v,null))}return true}else{return false}};if(E.nodes.length>0){const P=[E];while(P.length){const E=P.pop();if(!isTooBig(E.size,k)){L.push(E);continue}if(removeProblematicNodes(E)){P.push(E);continue}let R=1;let N=Object.create(null);addSizeTo(N,E.nodes[0].size);while(R=0&&isTooSmall(ae,v)){addSizeTo(ae,E.nodes[q].size);q--}if(R-1>q){let k;if(q{if(k.nodes[0].keyv.nodes[0].key)return 1;return 0}));const ae=new Set;for(let k=0;k({key:k.key,items:k.nodes.map((k=>k.item)),size:k.size})))}},21053:function(k){"use strict";k.exports=function extractUrlAndGlobal(k){const v=k.indexOf("@");if(v<=0||v===k.length-1){throw new Error(`Invalid request "${k}"`)}return[k.substring(v+1),k.substring(0,v)]}},34271:function(k){"use strict";const v=0;const E=1;const P=2;const R=3;const L=4;class Node{constructor(k){this.item=k;this.dependencies=new Set;this.marker=v;this.cycle=undefined;this.incoming=0}}class Cycle{constructor(){this.nodes=new Set}}k.exports=(k,N)=>{const q=new Map;for(const v of k){const k=new Node(v);q.set(v,k)}if(q.size<=1)return k;for(const k of q.values()){for(const v of N(k.item)){const E=q.get(v);if(E!==undefined){k.dependencies.add(E)}}}const ae=new Set;const le=new Set;for(const k of q.values()){if(k.marker===v){k.marker=E;const N=[{node:k,openEdges:Array.from(k.dependencies)}];while(N.length>0){const k=N[N.length-1];if(k.openEdges.length>0){const q=k.openEdges.pop();switch(q.marker){case v:N.push({node:q,openEdges:Array.from(q.dependencies)});q.marker=E;break;case E:{let k=q.cycle;if(!k){k=new Cycle;k.nodes.add(q);q.cycle=k}for(let v=N.length-1;N[v].node!==q;v--){const E=N[v].node;if(E.cycle){if(E.cycle!==k){for(const v of E.cycle.nodes){v.cycle=k;k.nodes.add(v)}}}else{E.cycle=k;k.nodes.add(E)}}break}case L:q.marker=P;ae.delete(q);break;case R:le.delete(q.cycle);q.marker=P;break}}else{N.pop();k.node.marker=P}}const q=k.cycle;if(q){for(const k of q.nodes){k.marker=R}le.add(q)}else{k.marker=L;ae.add(k)}}}for(const k of le){let v=0;const E=new Set;const P=k.nodes;for(const k of P){for(const R of k.dependencies){if(P.has(R)){R.incoming++;if(R.incomingv){E.clear();v=R.incoming}E.add(R)}}}for(const k of E){ae.add(k)}}if(ae.size>0){return Array.from(ae,(k=>k.item))}else{throw new Error("Implementation of findGraphRoots is broken")}}},57825:function(k,v,E){"use strict";const P=E(71017);const relative=(k,v,E)=>{if(k&&k.relative){return k.relative(v,E)}else if(P.posix.isAbsolute(v)){return P.posix.relative(v,E)}else if(P.win32.isAbsolute(v)){return P.win32.relative(v,E)}else{throw new Error(`${v} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`)}};v.relative=relative;const join=(k,v,E)=>{if(k&&k.join){return k.join(v,E)}else if(P.posix.isAbsolute(v)){return P.posix.join(v,E)}else if(P.win32.isAbsolute(v)){return P.win32.join(v,E)}else{throw new Error(`${v} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`)}};v.join=join;const dirname=(k,v)=>{if(k&&k.dirname){return k.dirname(v)}else if(P.posix.isAbsolute(v)){return P.posix.dirname(v)}else if(P.win32.isAbsolute(v)){return P.win32.dirname(v)}else{throw new Error(`${v} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`)}};v.dirname=dirname;const mkdirp=(k,v,E)=>{k.mkdir(v,(P=>{if(P){if(P.code==="ENOENT"){const R=dirname(k,v);if(R===v){E(P);return}mkdirp(k,R,(P=>{if(P){E(P);return}k.mkdir(v,(k=>{if(k){if(k.code==="EEXIST"){E();return}E(k);return}E()}))}));return}else if(P.code==="EEXIST"){E();return}E(P);return}E()}))};v.mkdirp=mkdirp;const mkdirpSync=(k,v)=>{try{k.mkdirSync(v)}catch(E){if(E){if(E.code==="ENOENT"){const P=dirname(k,v);if(P===v){throw E}mkdirpSync(k,P);k.mkdirSync(v);return}else if(E.code==="EEXIST"){return}throw E}}};v.mkdirpSync=mkdirpSync;const readJson=(k,v,E)=>{if("readJson"in k)return k.readJson(v,E);k.readFile(v,((k,v)=>{if(k)return E(k);let P;try{P=JSON.parse(v.toString("utf-8"))}catch(k){return E(k)}return E(null,P)}))};v.readJson=readJson;const lstatReadlinkAbsolute=(k,v,E)=>{let P=3;const doReadLink=()=>{k.readlink(v,((R,L)=>{if(R&&--P>0){return doStat()}if(R||!L)return doStat();const N=L.toString();E(null,join(k,dirname(k,v),N))}))};const doStat=()=>{if("lstat"in k){return k.lstat(v,((k,v)=>{if(k)return E(k);if(v.isSymbolicLink()){return doReadLink()}E(null,v)}))}else{return k.stat(v,E)}};if("lstat"in k)return doStat();doReadLink()};v.lstatReadlinkAbsolute=lstatReadlinkAbsolute},96940:function(k,v,E){"use strict";const P=E(40466);const R=E(87747).MAX_SHORT_STRING;class BatchedHash extends P{constructor(k){super();this.string=undefined;this.encoding=undefined;this.hash=k}update(k,v){if(this.string!==undefined){if(typeof k==="string"&&v===this.encoding&&this.string.length+k.lengthv){this._updateWithShortString(k.slice(0,v),E);k=k.slice(v)}this._updateWithShortString(k,E);return this}this._updateWithBuffer(k);return this}_updateWithShortString(k,v){const{exports:E,buffered:P,mem:R,chunkSize:L}=this;let N;if(k.length<70){if(!v||v==="utf-8"||v==="utf8"){N=P;for(let E=0;E>6|192;R[N+1]=P&63|128;N+=2}else{N+=R.write(k.slice(E),N,v);break}}}else if(v==="latin1"){N=P;for(let v=0;v0)R.copyWithin(0,k,N)}}_updateWithBuffer(k){const{exports:v,buffered:E,mem:P}=this;const R=k.length;if(E+R65536){let R=65536-E;k.copy(P,E,0,R);v.update(65536);const N=L-E-65536;while(R0)k.copy(P,0,R-N,R)}}digest(k){const{exports:v,buffered:E,mem:P,digestSize:R}=this;v.final(E);this.instancesPool.push(this);const L=P.toString("latin1",0,R);if(k==="hex")return L;if(k==="binary"||!k)return Buffer.from(L,"hex");return Buffer.from(L,"hex").toString(k)}}const create=(k,v,E,P)=>{if(v.length>0){const k=v.pop();k.reset();return k}else{return new WasmHash(new WebAssembly.Instance(k),v,E,P)}};k.exports=create;k.exports.MAX_SHORT_STRING=v},82747:function(k,v,E){"use strict";const P=E(87747);const R=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrIIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAFBIGoiASAASQ0ACyACJAAgAyQBIAQkAiAFJAMLqAYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEAgAiABNQIAQoeVr6+Ytt6bnn9+hUIXiULP1tO+0ser2UJ+Qvnz3fGZ9pmrFnwhAiABQQRqIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAkIdiCAChUL5893xmfaZqxZ+IgJCIIggAoUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL","base64"));k.exports=P.bind(null,R,[],32,16)},65315:function(k,v,E){"use strict";const P=E(71017);const R=/^[a-zA-Z]:[\\/]/;const L=/([|!])/;const N=/\\/g;const relativePathToRequest=k=>{if(k==="")return"./.";if(k==="..")return"../.";if(k.startsWith("../"))return k;return`./${k}`};const absoluteToRequest=(k,v)=>{if(v[0]==="/"){if(v.length>1&&v[v.length-1]==="/"){return v}const E=v.indexOf("?");let R=E===-1?v:v.slice(0,E);R=relativePathToRequest(P.posix.relative(k,R));return E===-1?R:R+v.slice(E)}if(R.test(v)){const E=v.indexOf("?");let L=E===-1?v:v.slice(0,E);L=P.win32.relative(k,L);if(!R.test(L)){L=relativePathToRequest(L.replace(N,"/"))}return E===-1?L:L+v.slice(E)}return v};const requestToAbsolute=(k,v)=>{if(v.startsWith("./")||v.startsWith("../"))return P.join(k,v);return v};const makeCacheable=k=>{const v=new WeakMap;const getCache=k=>{const E=v.get(k);if(E!==undefined)return E;const P=new Map;v.set(k,P);return P};const fn=(v,E)=>{if(!E)return k(v);const P=getCache(E);const R=P.get(v);if(R!==undefined)return R;const L=k(v);P.set(v,L);return L};fn.bindCache=v=>{const E=getCache(v);return v=>{const P=E.get(v);if(P!==undefined)return P;const R=k(v);E.set(v,R);return R}};return fn};const makeCacheableWithContext=k=>{const v=new WeakMap;const cachedFn=(E,P,R)=>{if(!R)return k(E,P);let L=v.get(R);if(L===undefined){L=new Map;v.set(R,L)}let N;let q=L.get(E);if(q===undefined){L.set(E,q=new Map)}else{N=q.get(P)}if(N!==undefined){return N}else{const v=k(E,P);q.set(P,v);return v}};cachedFn.bindCache=E=>{let P;if(E){P=v.get(E);if(P===undefined){P=new Map;v.set(E,P)}}else{P=new Map}const boundFn=(v,E)=>{let R;let L=P.get(v);if(L===undefined){P.set(v,L=new Map)}else{R=L.get(E)}if(R!==undefined){return R}else{const P=k(v,E);L.set(E,P);return P}};return boundFn};cachedFn.bindContextCache=(E,P)=>{let R;if(P){let k=v.get(P);if(k===undefined){k=new Map;v.set(P,k)}R=k.get(E);if(R===undefined){k.set(E,R=new Map)}}else{R=new Map}const boundFn=v=>{const P=R.get(v);if(P!==undefined){return P}else{const P=k(E,v);R.set(v,P);return P}};return boundFn};return cachedFn};const _makePathsRelative=(k,v)=>v.split(L).map((v=>absoluteToRequest(k,v))).join("");v.makePathsRelative=makeCacheableWithContext(_makePathsRelative);const _makePathsAbsolute=(k,v)=>v.split(L).map((v=>requestToAbsolute(k,v))).join("");v.makePathsAbsolute=makeCacheableWithContext(_makePathsAbsolute);const _contextify=(k,v)=>v.split("!").map((v=>absoluteToRequest(k,v))).join("!");const q=makeCacheableWithContext(_contextify);v.contextify=q;const _absolutify=(k,v)=>v.split("!").map((v=>requestToAbsolute(k,v))).join("!");const ae=makeCacheableWithContext(_absolutify);v.absolutify=ae;const le=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;const pe=/^((?:\0.|[^?\0])*)(\?.*)?$/;const _parseResource=k=>{const v=le.exec(k);return{resource:k,path:v[1].replace(/\0(.)/g,"$1"),query:v[2]?v[2].replace(/\0(.)/g,"$1"):"",fragment:v[3]||""}};v.parseResource=makeCacheable(_parseResource);const _parseResourceWithoutFragment=k=>{const v=pe.exec(k);return{resource:k,path:v[1].replace(/\0(.)/g,"$1"),query:v[2]?v[2].replace(/\0(.)/g,"$1"):""}};v.parseResourceWithoutFragment=makeCacheable(_parseResourceWithoutFragment);v.getUndoPath=(k,v,E)=>{let P=-1;let R="";v=v.replace(/[\\/]$/,"");for(const E of k.split(/[/\\]+/)){if(E===".."){if(P>-1){P--}else{const k=v.lastIndexOf("/");const E=v.lastIndexOf("\\");const P=k<0?E:E<0?k:Math.max(k,E);if(P<0)return v+"/";R=v.slice(P+1)+"/"+R;v=v.slice(0,P)}}else if(E!=="."){P++}}return P>0?`${"../".repeat(P)}${R}`:E?`./${R}`:R}},51455:function(k,v,E){"use strict";k.exports={AsyncDependenciesBlock:()=>E(75081),CommentCompilationWarning:()=>E(68160),ContextModule:()=>E(48630),"cache/PackFileCacheStrategy":()=>E(30124),"cache/ResolverCachePlugin":()=>E(6247),"container/ContainerEntryDependency":()=>E(22886),"container/ContainerEntryModule":()=>E(4268),"container/ContainerExposedDependency":()=>E(85455),"container/FallbackDependency":()=>E(52030),"container/FallbackItemDependency":()=>E(37119),"container/FallbackModule":()=>E(7583),"container/RemoteModule":()=>E(39878),"container/RemoteToExternalDependency":()=>E(51691),"dependencies/AMDDefineDependency":()=>E(43804),"dependencies/AMDRequireArrayDependency":()=>E(78326),"dependencies/AMDRequireContextDependency":()=>E(54220),"dependencies/AMDRequireDependenciesBlock":()=>E(39892),"dependencies/AMDRequireDependency":()=>E(83138),"dependencies/AMDRequireItemDependency":()=>E(80760),"dependencies/CachedConstDependency":()=>E(11602),"dependencies/CreateScriptUrlDependency":()=>E(98857),"dependencies/CommonJsRequireContextDependency":()=>E(5103),"dependencies/CommonJsExportRequireDependency":()=>E(21542),"dependencies/CommonJsExportsDependency":()=>E(57771),"dependencies/CommonJsFullRequireDependency":()=>E(73946),"dependencies/CommonJsRequireDependency":()=>E(41655),"dependencies/CommonJsSelfReferenceDependency":()=>E(23343),"dependencies/ConstDependency":()=>E(60381),"dependencies/ContextDependency":()=>E(51395),"dependencies/ContextElementDependency":()=>E(16624),"dependencies/CriticalDependencyWarning":()=>E(43418),"dependencies/CssImportDependency":()=>E(38490),"dependencies/CssLocalIdentifierDependency":()=>E(27746),"dependencies/CssSelfLocalIdentifierDependency":()=>E(58943),"dependencies/CssExportDependency":()=>E(55101),"dependencies/CssUrlDependency":()=>E(97006),"dependencies/DelegatedSourceDependency":()=>E(47788),"dependencies/DllEntryDependency":()=>E(50478),"dependencies/EntryDependency":()=>E(25248),"dependencies/ExportsInfoDependency":()=>E(70762),"dependencies/HarmonyAcceptDependency":()=>E(95077),"dependencies/HarmonyAcceptImportDependency":()=>E(46325),"dependencies/HarmonyCompatibilityDependency":()=>E(2075),"dependencies/HarmonyExportExpressionDependency":()=>E(33579),"dependencies/HarmonyExportHeaderDependency":()=>E(66057),"dependencies/HarmonyExportImportedSpecifierDependency":()=>E(44827),"dependencies/HarmonyExportSpecifierDependency":()=>E(95040),"dependencies/HarmonyImportSideEffectDependency":()=>E(59398),"dependencies/HarmonyImportSpecifierDependency":()=>E(56390),"dependencies/HarmonyEvaluatedImportSpecifierDependency":()=>E(5107),"dependencies/ImportContextDependency":()=>E(94722),"dependencies/ImportDependency":()=>E(75516),"dependencies/ImportEagerDependency":()=>E(72073),"dependencies/ImportWeakDependency":()=>E(82591),"dependencies/JsonExportsDependency":()=>E(19179),"dependencies/LocalModule":()=>E(53377),"dependencies/LocalModuleDependency":()=>E(41808),"dependencies/ModuleDecoratorDependency":()=>E(10699),"dependencies/ModuleHotAcceptDependency":()=>E(77691),"dependencies/ModuleHotDeclineDependency":()=>E(90563),"dependencies/ImportMetaHotAcceptDependency":()=>E(40867),"dependencies/ImportMetaHotDeclineDependency":()=>E(83894),"dependencies/ImportMetaContextDependency":()=>E(91194),"dependencies/ProvidedDependency":()=>E(17779),"dependencies/PureExpressionDependency":()=>E(19308),"dependencies/RequireContextDependency":()=>E(71038),"dependencies/RequireEnsureDependenciesBlock":()=>E(34385),"dependencies/RequireEnsureDependency":()=>E(42780),"dependencies/RequireEnsureItemDependency":()=>E(47785),"dependencies/RequireHeaderDependency":()=>E(72330),"dependencies/RequireIncludeDependency":()=>E(72846),"dependencies/RequireIncludeDependencyParserPlugin":()=>E(97229),"dependencies/RequireResolveContextDependency":()=>E(12204),"dependencies/RequireResolveDependency":()=>E(29961),"dependencies/RequireResolveHeaderDependency":()=>E(53765),"dependencies/RuntimeRequirementsDependency":()=>E(84985),"dependencies/StaticExportsDependency":()=>E(93414),"dependencies/SystemPlugin":()=>E(3674),"dependencies/UnsupportedDependency":()=>E(63639),"dependencies/URLDependency":()=>E(65961),"dependencies/WebAssemblyExportImportedDependency":()=>E(74476),"dependencies/WebAssemblyImportDependency":()=>E(22734),"dependencies/WebpackIsIncludedDependency":()=>E(83143),"dependencies/WorkerDependency":()=>E(15200),"json/JsonData":()=>E(15114),"optimize/ConcatenatedModule":()=>E(94978),DelegatedModule:()=>E(50901),DependenciesBlock:()=>E(38706),DllModule:()=>E(2168),ExternalModule:()=>E(10849),FileSystemInfo:()=>E(18144),InitFragment:()=>E(88113),InvalidDependenciesModuleWarning:()=>E(44017),Module:()=>E(88396),ModuleBuildError:()=>E(23804),ModuleDependencyWarning:()=>E(84018),ModuleError:()=>E(47560),ModuleGraph:()=>E(88223),ModuleParseError:()=>E(63591),ModuleWarning:()=>E(95801),NormalModule:()=>E(38224),CssModule:()=>E(51585),RawDataUrlModule:()=>E(26619),RawModule:()=>E(91169),"sharing/ConsumeSharedModule":()=>E(81860),"sharing/ConsumeSharedFallbackDependency":()=>E(18036),"sharing/ProvideSharedModule":()=>E(31100),"sharing/ProvideSharedDependency":()=>E(49637),"sharing/ProvideForSharedDependency":()=>E(27150),UnsupportedFeatureWarning:()=>E(9415),"util/LazySet":()=>E(12359),UnhandledSchemeError:()=>E(57975),NodeStuffInWebError:()=>E(86770),WebpackError:()=>E(71572),"util/registerExternalSerializer":()=>{}}},58528:function(k,v,E){"use strict";const{register:P}=E(52456);class ClassSerializer{constructor(k){this.Constructor=k}serialize(k,v){k.serialize(v)}deserialize(k){if(typeof this.Constructor.deserialize==="function"){return this.Constructor.deserialize(k)}const v=new this.Constructor;v.deserialize(k);return v}}k.exports=(k,v,E=null)=>{P(k,v,E,new ClassSerializer(k))}},20631:function(k){"use strict";const memoize=k=>{let v=false;let E=undefined;return()=>{if(v){return E}else{E=k();v=true;k=undefined;return E}}};k.exports=memoize},64119:function(k){"use strict";const v="a".charCodeAt(0);k.exports=(k,E)=>{if(E<1)return"";const P=k.slice(0,E);if(P.match(/[^\d]/))return P;return`${String.fromCharCode(v+parseInt(k[0],10)%6)}${P.slice(1)}`}},30747:function(k){"use strict";const v=2147483648;const E=v-1;const P=4;const R=[0,0,0,0,0];const L=[3,7,17,19];k.exports=(k,N)=>{R.fill(0);for(let v=0;v>1;R[1]=R[1]^R[R[1]%P]>>1;R[2]=R[2]^R[R[2]%P]>>1;R[3]=R[3]^R[R[3]%P]>>1}if(N<=E){return(R[0]+R[1]+R[2]+R[3])%N}else{const k=Math.floor(N/v);const P=R[0]+R[2]&E;const L=(R[0]+R[2])%k;return(L*v+P)%N}}},38254:function(k){"use strict";const processAsyncTree=(k,v,E,P)=>{const R=Array.from(k);if(R.length===0)return P();let L=0;let N=false;let q=true;const push=k=>{R.push(k);if(!q&&L{L--;if(k&&!N){N=true;P(k);return}if(!q){q=true;process.nextTick(processQueue)}};const processQueue=()=>{if(N)return;while(L0){L++;const k=R.pop();E(k,push,processorCallback)}q=false;if(R.length===0&&L===0&&!N){N=true;P()}};processQueue()};k.exports=processAsyncTree},10720:function(k,v,E){"use strict";const{SAFE_IDENTIFIER:P,RESERVED_IDENTIFIER:R}=E(72627);const propertyAccess=(k,v=0)=>{let E="";for(let L=v;L{if(v.test(k)&&!E.has(k)){return k}else{return JSON.stringify(k)}};k.exports={SAFE_IDENTIFIER:v,RESERVED_IDENTIFIER:E,propertyName:propertyName}},5618:function(k,v,E){"use strict";const{register:P}=E(52456);const R=E(31988).Position;const L=E(31988).SourceLocation;const N=E(94362).Z;const{CachedSource:q,ConcatSource:ae,OriginalSource:le,PrefixSource:pe,RawSource:me,ReplaceSource:ye,SourceMapSource:_e}=E(51255);const Ie="webpack/lib/util/registerExternalSerializer";P(q,Ie,"webpack-sources/CachedSource",new class CachedSourceSerializer{serialize(k,{write:v,writeLazy:E}){if(E){E(k.originalLazy())}else{v(k.original())}v(k.getCachedData())}deserialize({read:k}){const v=k();const E=k();return new q(v,E)}});P(me,Ie,"webpack-sources/RawSource",new class RawSourceSerializer{serialize(k,{write:v}){v(k.buffer());v(!k.isBuffer())}deserialize({read:k}){const v=k();const E=k();return new me(v,E)}});P(ae,Ie,"webpack-sources/ConcatSource",new class ConcatSourceSerializer{serialize(k,{write:v}){v(k.getChildren())}deserialize({read:k}){const v=new ae;v.addAllSkipOptimizing(k());return v}});P(pe,Ie,"webpack-sources/PrefixSource",new class PrefixSourceSerializer{serialize(k,{write:v}){v(k.getPrefix());v(k.original())}deserialize({read:k}){return new pe(k(),k())}});P(ye,Ie,"webpack-sources/ReplaceSource",new class ReplaceSourceSerializer{serialize(k,{write:v}){v(k.original());v(k.getName());const E=k.getReplacements();v(E.length);for(const k of E){v(k.start);v(k.end)}for(const k of E){v(k.content);v(k.name)}}deserialize({read:k}){const v=new ye(k(),k());const E=k();const P=[];for(let v=0;v{let P;let R;if(E){({dependOn:P,runtime:R}=E)}else{const E=k.entries.get(v);if(!E)return v;({dependOn:P,runtime:R}=E.options)}if(P){let E=undefined;const R=new Set(P);for(const v of R){const P=k.entries.get(v);if(!P)continue;const{dependOn:L,runtime:N}=P.options;if(L){for(const k of L){R.add(k)}}else{E=mergeRuntimeOwned(E,N||v)}}return E||v}else{return R||v}};v.forEachRuntime=(k,v,E=false)=>{if(k===undefined){v(undefined)}else if(typeof k==="string"){v(k)}else{if(E)k.sort();for(const E of k){v(E)}}};const getRuntimesKey=k=>{k.sort();return Array.from(k).join("\n")};const getRuntimeKey=k=>{if(k===undefined)return"*";if(typeof k==="string")return k;return k.getFromUnorderedCache(getRuntimesKey)};v.getRuntimeKey=getRuntimeKey;const keyToRuntime=k=>{if(k==="*")return undefined;const v=k.split("\n");if(v.length===1)return v[0];return new P(v)};v.keyToRuntime=keyToRuntime;const getRuntimesString=k=>{k.sort();return Array.from(k).join("+")};const runtimeToString=k=>{if(k===undefined)return"*";if(typeof k==="string")return k;return k.getFromUnorderedCache(getRuntimesString)};v.runtimeToString=runtimeToString;v.runtimeConditionToString=k=>{if(k===true)return"true";if(k===false)return"false";return runtimeToString(k)};const runtimeEqual=(k,v)=>{if(k===v){return true}else if(k===undefined||v===undefined||typeof k==="string"||typeof v==="string"){return false}else if(k.size!==v.size){return false}else{k.sort();v.sort();const E=k[Symbol.iterator]();const P=v[Symbol.iterator]();for(;;){const k=E.next();if(k.done)return true;const v=P.next();if(k.value!==v.value)return false}}};v.runtimeEqual=runtimeEqual;v.compareRuntime=(k,v)=>{if(k===v){return 0}else if(k===undefined){return-1}else if(v===undefined){return 1}else{const E=getRuntimeKey(k);const P=getRuntimeKey(v);if(EP)return 1;return 0}};const mergeRuntime=(k,v)=>{if(k===undefined){return v}else if(v===undefined){return k}else if(k===v){return k}else if(typeof k==="string"){if(typeof v==="string"){const E=new P;E.add(k);E.add(v);return E}else if(v.has(k)){return v}else{const E=new P(v);E.add(k);return E}}else{if(typeof v==="string"){if(k.has(v))return k;const E=new P(k);E.add(v);return E}else{const E=new P(k);for(const k of v)E.add(k);if(E.size===k.size)return k;return E}}};v.mergeRuntime=mergeRuntime;v.mergeRuntimeCondition=(k,v,E)=>{if(k===false)return v;if(v===false)return k;if(k===true||v===true)return true;const P=mergeRuntime(k,v);if(P===undefined)return undefined;if(typeof P==="string"){if(typeof E==="string"&&P===E)return true;return P}if(typeof E==="string"||E===undefined)return P;if(P.size===E.size)return true;return P};v.mergeRuntimeConditionNonFalse=(k,v,E)=>{if(k===true||v===true)return true;const P=mergeRuntime(k,v);if(P===undefined)return undefined;if(typeof P==="string"){if(typeof E==="string"&&P===E)return true;return P}if(typeof E==="string"||E===undefined)return P;if(P.size===E.size)return true;return P};const mergeRuntimeOwned=(k,v)=>{if(v===undefined){return k}else if(k===v){return k}else if(k===undefined){if(typeof v==="string"){return v}else{return new P(v)}}else if(typeof k==="string"){if(typeof v==="string"){const E=new P;E.add(k);E.add(v);return E}else{const E=new P(v);E.add(k);return E}}else{if(typeof v==="string"){k.add(v);return k}else{for(const E of v)k.add(E);return k}}};v.mergeRuntimeOwned=mergeRuntimeOwned;v.intersectRuntime=(k,v)=>{if(k===undefined){return v}else if(v===undefined){return k}else if(k===v){return k}else if(typeof k==="string"){if(typeof v==="string"){return undefined}else if(v.has(k)){return k}else{return undefined}}else{if(typeof v==="string"){if(k.has(v))return v;return undefined}else{const E=new P;for(const P of v){if(k.has(P))E.add(P)}if(E.size===0)return undefined;if(E.size===1)for(const k of E)return k;return E}}};const subtractRuntime=(k,v)=>{if(k===undefined){return undefined}else if(v===undefined){return k}else if(k===v){return undefined}else if(typeof k==="string"){if(typeof v==="string"){return k}else if(v.has(k)){return undefined}else{return k}}else{if(typeof v==="string"){if(!k.has(v))return k;if(k.size===2){for(const E of k){if(E!==v)return E}}const E=new P(k);E.delete(v)}else{const E=new P;for(const P of k){if(!v.has(P))E.add(P)}if(E.size===0)return undefined;if(E.size===1)for(const k of E)return k;return E}}};v.subtractRuntime=subtractRuntime;v.subtractRuntimeCondition=(k,v,E)=>{if(v===true)return false;if(v===false)return k;if(k===false)return false;const P=subtractRuntime(k===true?E:k,v);return P===undefined?false:P};v.filterRuntime=(k,v)=>{if(k===undefined)return v(undefined);if(typeof k==="string")return v(k);let E=false;let P=true;let R=undefined;for(const L of k){const k=v(L);if(k){E=true;R=mergeRuntimeOwned(R,L)}else{P=false}}if(!E)return false;if(P)return true;return R};class RuntimeSpecMap{constructor(k){this._mode=k?k._mode:0;this._singleRuntime=k?k._singleRuntime:undefined;this._singleValue=k?k._singleValue:undefined;this._map=k&&k._map?new Map(k._map):undefined}get(k){switch(this._mode){case 0:return undefined;case 1:return runtimeEqual(this._singleRuntime,k)?this._singleValue:undefined;default:return this._map.get(getRuntimeKey(k))}}has(k){switch(this._mode){case 0:return false;case 1:return runtimeEqual(this._singleRuntime,k);default:return this._map.has(getRuntimeKey(k))}}set(k,v){switch(this._mode){case 0:this._mode=1;this._singleRuntime=k;this._singleValue=v;break;case 1:if(runtimeEqual(this._singleRuntime,k)){this._singleValue=v;break}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;default:this._map.set(getRuntimeKey(k),v)}}provide(k,v){switch(this._mode){case 0:this._mode=1;this._singleRuntime=k;return this._singleValue=v();case 1:{if(runtimeEqual(this._singleRuntime,k)){return this._singleValue}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;const E=v();this._map.set(getRuntimeKey(k),E);return E}default:{const E=getRuntimeKey(k);const P=this._map.get(E);if(P!==undefined)return P;const R=v();this._map.set(E,R);return R}}}delete(k){switch(this._mode){case 0:return;case 1:if(runtimeEqual(this._singleRuntime,k)){this._mode=0;this._singleRuntime=undefined;this._singleValue=undefined}return;default:this._map.delete(getRuntimeKey(k))}}update(k,v){switch(this._mode){case 0:throw new Error("runtime passed to update must exist");case 1:{if(runtimeEqual(this._singleRuntime,k)){this._singleValue=v(this._singleValue);break}const E=v(undefined);if(E!==undefined){this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;this._map.set(getRuntimeKey(k),E)}break}default:{const E=getRuntimeKey(k);const P=this._map.get(E);const R=v(P);if(R!==P)this._map.set(E,R)}}}keys(){switch(this._mode){case 0:return[];case 1:return[this._singleRuntime];default:return Array.from(this._map.keys(),keyToRuntime)}}values(){switch(this._mode){case 0:return[][Symbol.iterator]();case 1:return[this._singleValue][Symbol.iterator]();default:return this._map.values()}}get size(){if(this._mode<=1)return this._mode;return this._map.size}}v.RuntimeSpecMap=RuntimeSpecMap;class RuntimeSpecSet{constructor(k){this._map=new Map;if(k){for(const v of k){this.add(v)}}}add(k){this._map.set(getRuntimeKey(k),k)}has(k){return this._map.has(getRuntimeKey(k))}[Symbol.iterator](){return this._map.values()}get size(){return this._map.size}}v.RuntimeSpecSet=RuntimeSpecSet},51542:function(k,v){"use strict";const parseVersion=k=>{var splitAndConvert=function(k){return k.split(".").map((function(k){return+k==k?+k:k}))};var v=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(k);var E=v[1]?splitAndConvert(v[1]):[];if(v[2]){E.length++;E.push.apply(E,splitAndConvert(v[2]))}if(v[3]){E.push([]);E.push.apply(E,splitAndConvert(v[3]))}return E};v.parseVersion=parseVersion;const versionLt=(k,v)=>{k=parseVersion(k);v=parseVersion(v);var E=0;for(;;){if(E>=k.length)return E=v.length)return R=="u";var L=v[E];var N=(typeof L)[0];if(R==N){if(R!="o"&&R!="u"&&P!=L){return P{const splitAndConvert=k=>k.split(".").map((k=>k!=="NaN"&&`${+k}`===k?+k:k));const parsePartial=k=>{const v=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(k);const E=v[1]?[0,...splitAndConvert(v[1])]:[0];if(v[2]){E.length++;E.push.apply(E,splitAndConvert(v[2]))}let P=E[E.length-1];while(E.length&&(P===undefined||/^[*xX]$/.test(P))){E.pop();P=E[E.length-1]}return E};const toFixed=k=>{if(k.length===1){return[0]}else if(k.length===2){return[1,...k.slice(1)]}else if(k.length===3){return[2,...k.slice(1)]}else{return[k.length,...k.slice(1)]}};const negate=k=>[-k[0]-1,...k.slice(1)];const parseSimple=k=>{const v=/^(\^|~|<=|<|>=|>|=|v|!)/.exec(k);const E=v?v[0]:"";const P=parsePartial(E.length?k.slice(E.length).trim():k.trim());switch(E){case"^":if(P.length>1&&P[1]===0){if(P.length>2&&P[2]===0){return[3,...P.slice(1)]}return[2,...P.slice(1)]}return[1,...P.slice(1)];case"~":return[2,...P.slice(1)];case">=":return P;case"=":case"v":case"":return toFixed(P);case"<":return negate(P);case">":{const k=toFixed(P);return[,k,0,P,2]}case"<=":return[,toFixed(P),negate(P),1];case"!":{const k=toFixed(P);return[,k,0]}default:throw new Error("Unexpected start value")}};const combine=(k,v)=>{if(k.length===1)return k[0];const E=[];for(const v of k.slice().reverse()){if(0 in v){E.push(v)}else{E.push(...v.slice(1))}}return[,...E,...k.slice(1).map((()=>v))]};const parseRange=k=>{const v=k.split(/\s+-\s+/);if(v.length===1){const v=k.trim().split(/(?<=[-0-9A-Za-z])\s+/g).map(parseSimple);return combine(v,2)}const E=parsePartial(v[0]);const P=parsePartial(v[1]);return[,toFixed(P),negate(P),1,E,2]};const parseLogicalOr=k=>{const v=k.split(/\s*\|\|\s*/).map(parseRange);return combine(v,1)};return parseLogicalOr(k)};const rangeToString=k=>{var v=k[0];var E="";if(k.length===1){return"*"}else if(v+.5){E+=v==0?">=":v==-1?"<":v==1?"^":v==2?"~":v>0?"=":"!=";var P=1;for(var R=1;R0?".":"")+(P=2,L)}return E}else{var q=[];for(var R=1;R{if(0 in k){v=parseVersion(v);var E=k[0];var P=E<0;if(P)E=-E-1;for(var R=0,L=1,N=true;;L++,R++){var q=L=v.length||(ae=v[R],(le=(typeof ae)[0])=="o")){if(!N)return true;if(q=="u")return L>E&&!P;return q==""!=P}if(le=="u"){if(!N||q!="u"){return false}}else if(N){if(q==le){if(L<=E){if(ae!=k[L]){return false}}else{if(P?ae>k[L]:ae{switch(typeof k){case"undefined":return"";case"object":if(Array.isArray(k)){let v="[";for(let E=0;E`var parseVersion = ${k.basicFunction("str",["// see webpack/lib/util/semver.js for original code",`var p=${k.supportsArrowFunction()?"p=>":"function(p)"}{return p.split(".").map((${k.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;`])}`;v.versionLtRuntimeCode=k=>`var versionLt = ${k.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 = ${k.basicFunction("range",["// see webpack/lib/util/semver.js for original code",'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a`var satisfy = ${k.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]:fE(94071)));const L=P((()=>E(67085)));const N=P((()=>E(90341)));const q=P((()=>E(90827)));const ae=P((()=>E(5505)));const le=P((()=>new(R())));const pe=P((()=>{E(5618);const k=E(51455);L().registerLoader(/^webpack\/lib\//,(v=>{const E=k[v.slice("webpack/lib/".length)];if(E){E()}else{console.warn(`${v} not found in internalSerializables`)}return true}))}));let me;k.exports={get register(){return L().register},get registerLoader(){return L().registerLoader},get registerNotSerializable(){return L().registerNotSerializable},get NOT_SERIALIZABLE(){return L().NOT_SERIALIZABLE},get MEASURE_START_OPERATION(){return R().MEASURE_START_OPERATION},get MEASURE_END_OPERATION(){return R().MEASURE_END_OPERATION},get buffersSerializer(){if(me!==undefined)return me;pe();const k=q();const v=le();const E=ae();const P=N();return me=new k([new P,new(L())((k=>{if(k.write){k.writeLazy=P=>{k.write(E.createLazy(P,v))}}}),"md4"),v])},createFileSerializer:(k,v)=>{pe();const P=q();const R=E(26607);const me=new R(k,v);const ye=le();const _e=ae();const Ie=N();return new P([new Ie,new(L())((k=>{if(k.write){k.writeLazy=v=>{k.write(_e.createLazy(v,ye))};k.writeSeparate=(v,E)=>{const P=_e.createLazy(v,me,E);k.write(P);return P}}}),v),ye,me])}}},53501:function(k){"use strict";const smartGrouping=(k,v)=>{const E=new Set;const P=new Map;for(const R of k){const k=new Set;for(let E=0;E{const v=k.size;for(const v of k){for(const k of v.groups){if(k.alreadyGrouped)continue;const E=k.items;if(E===undefined){k.items=new Set([v])}else{E.add(v)}}}const E=new Map;for(const k of P.values()){if(k.items){const v=k.items;k.items=undefined;E.set(k,{items:v,options:undefined,used:false})}}const R=[];for(;;){let P=undefined;let L=-1;let N=undefined;let q=undefined;for(const[R,ae]of E){const{items:E,used:le}=ae;let pe=ae.options;if(pe===undefined){const k=R.config;ae.options=pe=k.getOptions&&k.getOptions(R.name,Array.from(E,(({item:k})=>k)))||false}const me=pe&&pe.force;if(!me){if(q&&q.force)continue;if(le)continue;if(E.size<=1||v-E.size<=1){continue}}const ye=pe&&pe.targetGroupCount||4;let _e=me?E.size:Math.min(E.size,v*2/ye+k.size-E.size);if(_e>L||me&&(!q||!q.force)){P=R;L=_e;N=E;q=pe}}if(P===undefined){break}const ae=new Set(N);const le=q;const pe=!le||le.groupChildren!==false;for(const v of ae){k.delete(v);for(const k of v.groups){const P=E.get(k);if(P!==undefined){P.items.delete(v);if(P.items.size===0){E.delete(k)}else{P.options=undefined;if(pe){P.used=true}}}}}E.delete(P);const me=P.name;const ye=P.config;const _e=Array.from(ae,(({item:k})=>k));P.alreadyGrouped=true;const Ie=pe?runGrouping(ae):_e;P.alreadyGrouped=false;R.push(ye.createGroup(me,Ie,_e))}for(const{item:v}of k){R.push(v)}return R};return runGrouping(E)};k.exports=smartGrouping},71435:function(k,v){"use strict";const E=new WeakMap;const _isSourceEqual=(k,v)=>{let E=typeof k.buffer==="function"?k.buffer():k.source();let P=typeof v.buffer==="function"?v.buffer():v.source();if(E===P)return true;if(typeof E==="string"&&typeof P==="string")return false;if(!Buffer.isBuffer(E))E=Buffer.from(E,"utf-8");if(!Buffer.isBuffer(P))P=Buffer.from(P,"utf-8");return E.equals(P)};const isSourceEqual=(k,v)=>{if(k===v)return true;const P=E.get(k);if(P!==undefined){const k=P.get(v);if(k!==undefined)return k}const R=_isSourceEqual(k,v);if(P!==undefined){P.set(v,R)}else{const P=new WeakMap;P.set(v,R);E.set(k,P)}const L=E.get(v);if(L!==undefined){L.set(k,R)}else{const P=new WeakMap;P.set(k,R);E.set(v,P)}return R};v.isSourceEqual=isSourceEqual},11458:function(k,v,E){"use strict";const{validate:P}=E(38476);const R={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 L={concord:"BREAKING CHANGE: resolve.concord has been removed and is no longer available.",devtoolLineToLine:"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available."};const validateSchema=(k,v,E)=>{P(k,v,E||{name:"Webpack",postFormatter:(k,v)=>{const E=v.children;if(E&&E.some((k=>k.keyword==="absolutePath"&&k.dataPath===".output.filename"))){return`${k}\nPlease use output.path to specify absolute path and output.filename for the file name.`}if(E&&E.some((k=>k.keyword==="pattern"&&k.dataPath===".devtool"))){return`${k}\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(v.keyword==="additionalProperties"){const E=v.params;if(Object.prototype.hasOwnProperty.call(R,E.additionalProperty)){return`${k}\nDid you mean ${R[E.additionalProperty]}?`}if(Object.prototype.hasOwnProperty.call(L,E.additionalProperty)){return`${k}\n${L[E.additionalProperty]}?`}if(!v.dataPath){if(E.additionalProperty==="debug"){return`${k}\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(E.additionalProperty){return`${k}\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.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}}}return k}})};k.exports=validateSchema},99393:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class AsyncWasmLoadingRuntimeModule extends R{constructor({generateLoadBinaryCode:k,supportsStreaming:v}){super("wasm loading",R.STAGE_NORMAL);this.generateLoadBinaryCode=k;this.supportsStreaming=v}generate(){const{compilation:k,chunk:v}=this;const{outputOptions:E,runtimeTemplate:R}=k;const N=P.instantiateWasm;const q=k.getPath(JSON.stringify(E.webassemblyModuleFilename),{hash:`" + ${P.getFullHash}() + "`,hashWithLength:k=>`" + ${P.getFullHash}}().slice(0, ${k}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + wasmModuleHash + "`,hashWithLength(k){return`" + wasmModuleHash.slice(0, ${k}) + "`}},runtime:v.runtime});return`${N} = ${R.basicFunction("exports, wasmModuleId, wasmModuleHash, importsObj",[`var req = ${this.generateLoadBinaryCode(q)};`,this.supportsStreaming?L.asString(["if (typeof WebAssembly.instantiateStreaming === 'function') {",L.indent(["return WebAssembly.instantiateStreaming(req, importsObj)",L.indent([`.then(${R.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])]),"}"]):"// no support for streaming compilation","return req",L.indent([`.then(${R.returningFunction("x.arrayBuffer()","x")})`,`.then(${R.returningFunction("WebAssembly.instantiate(bytes, importsObj)","bytes")})`,`.then(${R.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])])};`}}k.exports=AsyncWasmLoadingRuntimeModule},67290:function(k,v,E){"use strict";const P=E(91597);const R=new Set(["webassembly"]);class AsyncWebAssemblyGenerator extends P{constructor(k){super();this.options=k}getTypes(k){return R}getSize(k,v){const E=k.originalSource();if(!E){return 0}return E.size()}generate(k,v){return k.originalSource()}}k.exports=AsyncWebAssemblyGenerator},16332:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(91597);const L=E(88113);const N=E(56727);const q=E(95041);const ae=E(22734);const le=new Set(["webassembly"]);class AsyncWebAssemblyJavascriptGenerator extends R{constructor(k){super();this.filenameTemplate=k}getTypes(k){return le}getSize(k,v){return 40+k.dependencies.length*10}generate(k,v){const{runtimeTemplate:E,chunkGraph:R,moduleGraph:le,runtimeRequirements:pe,runtime:me}=v;pe.add(N.module);pe.add(N.moduleId);pe.add(N.exports);pe.add(N.instantiateWasm);const ye=[];const _e=new Map;const Ie=new Map;for(const v of k.dependencies){if(v instanceof ae){const k=le.getModule(v);if(!_e.has(k)){_e.set(k,{request:v.request,importVar:`WEBPACK_IMPORTED_MODULE_${_e.size}`})}let E=Ie.get(v.request);if(E===undefined){E=[];Ie.set(v.request,E)}E.push(v)}}const Me=[];const Te=Array.from(_e,(([v,{request:P,importVar:L}])=>{if(le.isAsync(v)){Me.push(L)}return E.importStatement({update:false,module:v,chunkGraph:R,request:P,originModule:k,importVar:L,runtimeRequirements:pe})}));const je=Te.map((([k])=>k)).join("");const Ne=Te.map((([k,v])=>v)).join("");const Be=Array.from(Ie,(([v,P])=>{const R=P.map((P=>{const R=le.getModule(P);const L=_e.get(R).importVar;return`${JSON.stringify(P.name)}: ${E.exportFromImport({moduleGraph:le,module:R,request:v,exportName:P.name,originModule:k,asiSafe:true,isCall:false,callContext:false,defaultInterop:true,importVar:L,initFragments:ye,runtime:me,runtimeRequirements:pe})}`}));return q.asString([`${JSON.stringify(v)}: {`,q.indent(R.join(",\n")),"}"])}));const qe=Be.length>0?q.asString(["{",q.indent(Be.join(",\n")),"}"]):undefined;const Ue=`${N.instantiateWasm}(${k.exportsArgument}, ${k.moduleArgument}.id, ${JSON.stringify(R.getRenderedModuleHash(k,me))}`+(qe?`, ${qe})`:`)`);if(Me.length>0)pe.add(N.asyncModule);const Ge=new P(Me.length>0?q.asString([`var __webpack_instantiate__ = ${E.basicFunction(`[${Me.join(", ")}]`,`${Ne}return ${Ue};`)}`,`${N.asyncModule}(${k.moduleArgument}, async ${E.basicFunction("__webpack_handle_async_dependencies__, __webpack_async_result__",["try {",je,`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${Me.join(", ")}]);`,`var [${Me.join(", ")}] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__;`,`${Ne}await ${Ue};`,"__webpack_async_result__();","} catch(e) { __webpack_async_result__(e); }"])}, 1);`]):`${je}${Ne}module.exports = ${Ue};`);return L.addToSource(Ge,ye,v)}}k.exports=AsyncWebAssemblyJavascriptGenerator},70006:function(k,v,E){"use strict";const{SyncWaterfallHook:P}=E(79846);const R=E(27747);const L=E(91597);const{tryRunOrWebpackError:N}=E(82104);const{WEBASSEMBLY_MODULE_TYPE_ASYNC:q}=E(93622);const ae=E(22734);const{compareModulesByIdentifier:le}=E(95648);const pe=E(20631);const me=pe((()=>E(67290)));const ye=pe((()=>E(16332)));const _e=pe((()=>E(13115)));const Ie=new WeakMap;const Me="AsyncWebAssemblyModulesPlugin";class AsyncWebAssemblyModulesPlugin{static getCompilationHooks(k){if(!(k instanceof R)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=Ie.get(k);if(v===undefined){v={renderModuleContent:new P(["source","module","renderContext"])};Ie.set(k,v)}return v}constructor(k){this.options=k}apply(k){k.hooks.compilation.tap(Me,((k,{normalModuleFactory:v})=>{const E=AsyncWebAssemblyModulesPlugin.getCompilationHooks(k);k.dependencyFactories.set(ae,v);v.hooks.createParser.for(q).tap(Me,(()=>{const k=_e();return new k}));v.hooks.createGenerator.for(q).tap(Me,(()=>{const v=ye();const E=me();return L.byType({javascript:new v(k.outputOptions.webassemblyModuleFilename),webassembly:new E(this.options)})}));k.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((v,P)=>{const{moduleGraph:R,chunkGraph:L,runtimeTemplate:N}=k;const{chunk:ae,outputOptions:pe,dependencyTemplates:me,codeGenerationResults:ye}=P;for(const k of L.getOrderedChunkModulesIterable(ae,le)){if(k.type===q){const P=pe.webassemblyModuleFilename;v.push({render:()=>this.renderModule(k,{chunk:ae,dependencyTemplates:me,runtimeTemplate:N,moduleGraph:R,chunkGraph:L,codeGenerationResults:ye},E),filenameTemplate:P,pathOptions:{module:k,runtime:ae.runtime,chunkGraph:L},auxiliary:true,identifier:`webassemblyAsyncModule${L.getModuleId(k)}`,hash:L.getModuleHash(k,ae.runtime)})}}return v}))}))}renderModule(k,v,E){const{codeGenerationResults:P,chunk:R}=v;try{const L=P.getSource(k,R.runtime,"webassembly");return N((()=>E.renderModuleContent.call(L,k,v)),"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent")}catch(v){v.module=k;throw v}}}k.exports=AsyncWebAssemblyModulesPlugin},13115:function(k,v,E){"use strict";const P=E(26333);const{decode:R}=E(57480);const L=E(17381);const N=E(93414);const q=E(22734);const ae={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends L{constructor(k){super();this.hooks=Object.freeze({});this.options=k}parse(k,v){if(!Buffer.isBuffer(k)){throw new Error("WebAssemblyParser input must be a Buffer")}v.module.buildInfo.strict=true;v.module.buildMeta.exportsType="namespace";v.module.buildMeta.async=true;const E=R(k,ae);const L=E.body[0];const le=[];P.traverse(L,{ModuleExport({node:k}){le.push(k.name)},ModuleImport({node:k}){const E=new q(k.module,k.name,k.descr,false);v.module.addDependency(E)}});v.module.addDependency(new N(le,false));return v}}k.exports=WebAssemblyParser},42626:function(k,v,E){"use strict";const P=E(71572);k.exports=class UnsupportedWebAssemblyFeatureError extends P{constructor(k){super(k);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true}}},68403:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{compareModulesByIdentifier:N}=E(95648);const q=E(91702);const getAllWasmModules=(k,v,E)=>{const P=E.getAllAsyncChunks();const R=[];for(const k of P){for(const E of v.getOrderedChunkModulesIterable(k,N)){if(E.type.startsWith("webassembly")){R.push(E)}}}return R};const generateImportObject=(k,v,E,R,N)=>{const ae=k.moduleGraph;const le=new Map;const pe=[];const me=q.getUsedDependencies(ae,v,E);for(const v of me){const E=v.dependency;const q=ae.getModule(E);const me=E.name;const ye=q&&ae.getExportsInfo(q).getUsedName(me,N);const _e=E.description;const Ie=E.onlyDirectImport;const Me=v.module;const Te=v.name;if(Ie){const v=`m${le.size}`;le.set(v,k.getModuleId(q));pe.push({module:Me,name:Te,value:`${v}[${JSON.stringify(ye)}]`})}else{const v=_e.signature.params.map(((k,v)=>"p"+v+k.valtype));const E=`${P.moduleCache}[${JSON.stringify(k.getModuleId(q))}]`;const N=`${E}.exports`;const ae=`wasmImportedFuncCache${R.length}`;R.push(`var ${ae};`);pe.push({module:Me,name:Te,value:L.asString([(q.type.startsWith("webassembly")?`${E} ? ${N}[${JSON.stringify(ye)}] : `:"")+`function(${v}) {`,L.indent([`if(${ae} === undefined) ${ae} = ${N};`,`return ${ae}[${JSON.stringify(ye)}](${v});`]),"}"])})}}let ye;if(E){ye=["return {",L.indent([pe.map((k=>`${JSON.stringify(k.name)}: ${k.value}`)).join(",\n")]),"};"]}else{const k=new Map;for(const v of pe){let E=k.get(v.module);if(E===undefined){k.set(v.module,E=[])}E.push(v)}ye=["return {",L.indent([Array.from(k,(([k,v])=>L.asString([`${JSON.stringify(k)}: {`,L.indent([v.map((k=>`${JSON.stringify(k.name)}: ${k.value}`)).join(",\n")]),"}"]))).join(",\n")]),"};"]}const _e=JSON.stringify(k.getModuleId(v));if(le.size===1){const k=Array.from(le.values())[0];const v=`installedWasmModules[${JSON.stringify(k)}]`;const E=Array.from(le.keys())[0];return L.asString([`${_e}: function() {`,L.indent([`return promiseResolve().then(function() { return ${v}; }).then(function(${E}) {`,L.indent(ye),"});"]),"},"])}else if(le.size>0){const k=Array.from(le.values(),(k=>`installedWasmModules[${JSON.stringify(k)}]`)).join(", ");const v=Array.from(le.keys(),((k,v)=>`${k} = array[${v}]`)).join(", ");return L.asString([`${_e}: function() {`,L.indent([`return promiseResolve().then(function() { return Promise.all([${k}]); }).then(function(array) {`,L.indent([`var ${v};`,...ye]),"});"]),"},"])}else{return L.asString([`${_e}: function() {`,L.indent(ye),"},"])}};class WasmChunkLoadingRuntimeModule extends R{constructor({generateLoadBinaryCode:k,supportsStreaming:v,mangleImports:E,runtimeRequirements:P}){super("wasm chunk loading",R.STAGE_ATTACH);this.generateLoadBinaryCode=k;this.supportsStreaming=v;this.mangleImports=E;this._runtimeRequirements=P}generate(){const{chunkGraph:k,compilation:v,chunk:E,mangleImports:R}=this;const{moduleGraph:N,outputOptions:ae}=v;const le=P.ensureChunkHandlers;const pe=this._runtimeRequirements.has(P.hmrDownloadUpdateHandlers);const me=getAllWasmModules(N,k,E);const ye=[];const _e=me.map((v=>generateImportObject(k,v,this.mangleImports,ye,E.runtime)));const Ie=k.getChunkModuleIdMap(E,(k=>k.type.startsWith("webassembly")));const createImportObject=k=>R?`{ ${JSON.stringify(q.MANGLED_MODULE)}: ${k} }`:k;const Me=v.getPath(JSON.stringify(ae.webassemblyModuleFilename),{hash:`" + ${P.getFullHash}() + "`,hashWithLength:k=>`" + ${P.getFullHash}}().slice(0, ${k}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(k.getChunkModuleRenderedHashMap(E,(k=>k.type.startsWith("webassembly"))))}[chunkId][wasmModuleId] + "`,hashWithLength(v){return`" + ${JSON.stringify(k.getChunkModuleRenderedHashMap(E,(k=>k.type.startsWith("webassembly")),v))}[chunkId][wasmModuleId] + "`}},runtime:E.runtime});const Te=pe?`${P.hmrRuntimeStatePrefix}_wasm`:undefined;return L.asString(["// object to store loaded and loading wasm modules",`var installedWasmModules = ${Te?`${Te} = ${Te} || `:""}{};`,"","function promiseResolve() { return Promise.resolve(); }","",L.asString(ye),"var wasmImportObjects = {",L.indent(_e),"};","",`var wasmModuleMap = ${JSON.stringify(Ie,undefined,"\t")};`,"","// object with all WebAssembly.instance exports",`${P.wasmInstances} = {};`,"","// Fetch + compile chunk loading for webassembly",`${le}.wasm = function(chunkId, promises) {`,L.indent(["",`var wasmModules = wasmModuleMap[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId, idx) {",L.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",L.indent(["promises.push(installedWasmModuleData);"]),"else {",L.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(Me)};`,"var promise;",this.supportsStreaming?L.asString(["if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {",L.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",L.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",L.indent([`promise = WebAssembly.instantiateStreaming(req, ${createImportObject("importObject")});`])]):L.asString(["if(importObject && typeof importObject.then === 'function') {",L.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",L.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",L.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"])]),"} else {",L.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",L.indent([`return WebAssembly.instantiate(bytes, ${createImportObject("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",L.indent([`return ${P.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"]),"};"])}}k.exports=WasmChunkLoadingRuntimeModule},6754:function(k,v,E){"use strict";const P=E(1811);const R=E(42626);class WasmFinalizeExportsPlugin{apply(k){k.hooks.compilation.tap("WasmFinalizeExportsPlugin",(k=>{k.hooks.finishModules.tap("WasmFinalizeExportsPlugin",(v=>{for(const E of v){if(E.type.startsWith("webassembly")===true){const v=E.buildMeta.jsIncompatibleExports;if(v===undefined){continue}for(const L of k.moduleGraph.getIncomingConnections(E)){if(L.isTargetActive(undefined)&&L.originModule.type.startsWith("webassembly")===false){const N=k.getDependencyReferencedExports(L.dependency,undefined);for(const q of N){const N=Array.isArray(q)?q:q.name;if(N.length===0)continue;const ae=N[0];if(typeof ae==="object")continue;if(Object.prototype.hasOwnProperty.call(v,ae)){const N=new R(`Export "${ae}" with ${v[ae]} can only be used for direct wasm to wasm dependencies\n`+`It's used from ${L.originModule.readableIdentifier(k.requestShortener)} at ${P(L.dependency.loc)}.`);N.module=E;k.errors.push(N)}}}}}}}))}))}}k.exports=WasmFinalizeExportsPlugin},96157:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(91597);const L=E(91702);const N=E(26333);const{moduleContextFromModuleAST:q}=E(26333);const{editWithAST:ae,addWithAST:le}=E(12092);const{decode:pe}=E(57480);const me=E(74476);const compose=(...k)=>k.reduce(((k,v)=>E=>v(k(E))),(k=>k));const removeStartFunc=k=>v=>ae(k.ast,v,{Start(k){k.remove()}});const getImportedGlobals=k=>{const v=[];N.traverse(k,{ModuleImport({node:k}){if(N.isGlobalType(k.descr)){v.push(k)}}});return v};const getCountImportedFunc=k=>{let v=0;N.traverse(k,{ModuleImport({node:k}){if(N.isFuncImportDescr(k.descr)){v++}}});return v};const getNextTypeIndex=k=>{const v=N.getSectionMetadata(k,"type");if(v===undefined){return N.indexLiteral(0)}return N.indexLiteral(v.vectorOfSize.value)};const getNextFuncIndex=(k,v)=>{const E=N.getSectionMetadata(k,"func");if(E===undefined){return N.indexLiteral(0+v)}const P=E.vectorOfSize.value;return N.indexLiteral(P+v)};const createDefaultInitForGlobal=k=>{if(k.valtype[0]==="i"){return N.objectInstruction("const",k.valtype,[N.numberLiteralFromRaw(66)])}else if(k.valtype[0]==="f"){return N.objectInstruction("const",k.valtype,[N.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+k.valtype)}};const rewriteImportedGlobals=k=>v=>{const E=k.additionalInitCode;const P=[];v=ae(k.ast,v,{ModuleImport(k){if(N.isGlobalType(k.node.descr)){const v=k.node.descr;v.mutability="var";const E=[createDefaultInitForGlobal(v),N.instruction("end")];P.push(N.global(v,E));k.remove()}},Global(k){const{node:v}=k;const[R]=v.init;if(R.id==="get_global"){v.globalType.mutability="var";const k=R.args[0];v.init=[createDefaultInitForGlobal(v.globalType),N.instruction("end")];E.push(N.instruction("get_local",[k]),N.instruction("set_global",[N.indexLiteral(P.length)]))}P.push(v);k.remove()}});return le(k.ast,v,P)};const rewriteExportNames=({ast:k,moduleGraph:v,module:E,externalExports:P,runtime:R})=>L=>ae(k,L,{ModuleExport(k){const L=P.has(k.node.name);if(L){k.remove();return}const N=v.getExportsInfo(E).getUsedName(k.node.name,R);if(!N){k.remove();return}k.node.name=N}});const rewriteImports=({ast:k,usedDependencyMap:v})=>E=>ae(k,E,{ModuleImport(k){const E=v.get(k.node.module+":"+k.node.name);if(E!==undefined){k.node.module=E.module;k.node.name=E.name}}});const addInitFunction=({ast:k,initFuncId:v,startAtFuncOffset:E,importedGlobals:P,additionalInitCode:R,nextFuncIndex:L,nextTypeIndex:q})=>ae=>{const pe=P.map((k=>{const v=N.identifier(`${k.module}.${k.name}`);return N.funcParam(k.descr.valtype,v)}));const me=[];P.forEach(((k,v)=>{const E=[N.indexLiteral(v)];const P=[N.instruction("get_local",E),N.instruction("set_global",E)];me.push(...P)}));if(typeof E==="number"){me.push(N.callInstruction(N.numberLiteralFromRaw(E)))}for(const k of R){me.push(k)}me.push(N.instruction("end"));const ye=[];const _e=N.signature(pe,ye);const Ie=N.func(v,_e,me);const Me=N.typeInstruction(undefined,_e);const Te=N.indexInFuncSection(q);const je=N.moduleExport(v.value,N.moduleExportDescr("Func",L));return le(k,ae,[Ie,je,Te,Me])};const getUsedDependencyMap=(k,v,E)=>{const P=new Map;for(const R of L.getUsedDependencies(k,v,E)){const k=R.dependency;const v=k.request;const E=k.name;P.set(v+":"+E,R)}return P};const ye=new Set(["webassembly"]);class WebAssemblyGenerator extends R{constructor(k){super();this.options=k}getTypes(k){return ye}getSize(k,v){const E=k.originalSource();if(!E){return 0}return E.size()}generate(k,{moduleGraph:v,runtime:E}){const R=k.originalSource().source();const L=N.identifier("");const ae=pe(R,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const le=q(ae.body[0]);const ye=getImportedGlobals(ae);const _e=getCountImportedFunc(ae);const Ie=le.getStart();const Me=getNextFuncIndex(ae,_e);const Te=getNextTypeIndex(ae);const je=getUsedDependencyMap(v,k,this.options.mangleImports);const Ne=new Set(k.dependencies.filter((k=>k instanceof me)).map((k=>{const v=k;return v.exportName})));const Be=[];const qe=compose(rewriteExportNames({ast:ae,moduleGraph:v,module:k,externalExports:Ne,runtime:E}),removeStartFunc({ast:ae}),rewriteImportedGlobals({ast:ae,additionalInitCode:Be}),rewriteImports({ast:ae,usedDependencyMap:je}),addInitFunction({ast:ae,initFuncId:L,importedGlobals:ye,additionalInitCode:Be,startAtFuncOffset:Ie,nextFuncIndex:Me,nextTypeIndex:Te}));const Ue=qe(R);const Ge=Buffer.from(Ue);return new P(Ge)}}k.exports=WebAssemblyGenerator},83454:function(k,v,E){"use strict";const P=E(71572);const getInitialModuleChains=(k,v,E,P)=>{const R=[{head:k,message:k.readableIdentifier(P)}];const L=new Set;const N=new Set;const q=new Set;for(const k of R){const{head:ae,message:le}=k;let pe=true;const me=new Set;for(const k of v.getIncomingConnections(ae)){const v=k.originModule;if(v){if(!E.getModuleChunks(v).some((k=>k.canBeInitial())))continue;pe=false;if(me.has(v))continue;me.add(v);const L=v.readableIdentifier(P);const ae=k.explanation?` (${k.explanation})`:"";const ye=`${L}${ae} --\x3e ${le}`;if(q.has(v)){N.add(`... --\x3e ${ye}`);continue}q.add(v);R.push({head:v,message:ye})}else{pe=false;const v=k.explanation?`(${k.explanation}) --\x3e ${le}`:le;L.add(v)}}if(pe){L.add(le)}}for(const k of N){L.add(k)}return Array.from(L)};k.exports=class WebAssemblyInInitialChunkError extends P{constructor(k,v,E,P){const R=getInitialModuleChains(k,v,E,P);const L=`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${R.map((k=>`* ${k}`)).join("\n")}`;super(L);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=k}}},26106:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const{UsageState:R}=E(11172);const L=E(91597);const N=E(88113);const q=E(56727);const ae=E(95041);const le=E(77373);const pe=E(74476);const me=E(22734);const ye=new Set(["webassembly"]);class WebAssemblyJavascriptGenerator extends L{getTypes(k){return ye}getSize(k,v){return 95+k.dependencies.length*5}generate(k,v){const{runtimeTemplate:E,moduleGraph:L,chunkGraph:ye,runtimeRequirements:_e,runtime:Ie}=v;const Me=[];const Te=L.getExportsInfo(k);let je=false;const Ne=new Map;const Be=[];let qe=0;for(const v of k.dependencies){const P=v&&v instanceof le?v:undefined;if(L.getModule(v)){let R=Ne.get(L.getModule(v));if(R===undefined){Ne.set(L.getModule(v),R={importVar:`m${qe}`,index:qe,request:P&&P.userRequest||undefined,names:new Set,reexports:[]});qe++}if(v instanceof me){R.names.add(v.name);if(v.description.type==="GlobalType"){const P=v.name;const N=L.getModule(v);if(N){const q=L.getExportsInfo(N).getUsedName(P,Ie);if(q){Be.push(E.exportFromImport({moduleGraph:L,module:N,request:v.request,importVar:R.importVar,originModule:k,exportName:v.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Me,runtime:Ie,runtimeRequirements:_e}))}}}}if(v instanceof pe){R.names.add(v.name);const P=L.getExportsInfo(k).getUsedName(v.exportName,Ie);if(P){_e.add(q.exports);const N=`${k.exportsArgument}[${JSON.stringify(P)}]`;const le=ae.asString([`${N} = ${E.exportFromImport({moduleGraph:L,module:L.getModule(v),request:v.request,importVar:R.importVar,originModule:k,exportName:v.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Me,runtime:Ie,runtimeRequirements:_e})};`,`if(WebAssembly.Global) ${N} = `+`new WebAssembly.Global({ value: ${JSON.stringify(v.valueType)} }, ${N});`]);R.reexports.push(le);je=true}}}}const Ue=ae.asString(Array.from(Ne,(([k,{importVar:v,request:P,reexports:R}])=>{const L=E.importStatement({module:k,chunkGraph:ye,request:P,importVar:v,originModule:k,runtimeRequirements:_e});return L[0]+L[1]+R.join("\n")})));const Ge=Te.otherExportsInfo.getUsed(Ie)===R.Unused&&!je;_e.add(q.module);_e.add(q.moduleId);_e.add(q.wasmInstances);if(Te.otherExportsInfo.getUsed(Ie)!==R.Unused){_e.add(q.makeNamespaceObject);_e.add(q.exports)}if(!Ge){_e.add(q.exports)}const He=new P(['"use strict";',"// Instantiate WebAssembly module",`var wasmExports = ${q.wasmInstances}[${k.moduleArgument}.id];`,Te.otherExportsInfo.getUsed(Ie)!==R.Unused?`${q.makeNamespaceObject}(${k.exportsArgument});`:"","// export exports from WebAssembly module",Ge?`${k.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name) `+`${k.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",Ue,"","// exec wasm module",`wasmExports[""](${Be.join(", ")})`].join("\n"));return N.addToSource(He,Me,v)}}k.exports=WebAssemblyJavascriptGenerator},3843:function(k,v,E){"use strict";const P=E(91597);const{WEBASSEMBLY_MODULE_TYPE_SYNC:R}=E(93622);const L=E(74476);const N=E(22734);const{compareModulesByIdentifier:q}=E(95648);const ae=E(20631);const le=E(83454);const pe=ae((()=>E(96157)));const me=ae((()=>E(26106)));const ye=ae((()=>E(32799)));const _e="WebAssemblyModulesPlugin";class WebAssemblyModulesPlugin{constructor(k){this.options=k}apply(k){k.hooks.compilation.tap(_e,((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(N,v);k.dependencyFactories.set(L,v);v.hooks.createParser.for(R).tap(_e,(()=>{const k=ye();return new k}));v.hooks.createGenerator.for(R).tap(_e,(()=>{const k=me();const v=pe();return P.byType({javascript:new k,webassembly:new v(this.options)})}));k.hooks.renderManifest.tap(_e,((v,E)=>{const{chunkGraph:P}=k;const{chunk:L,outputOptions:N,codeGenerationResults:ae}=E;for(const k of P.getOrderedChunkModulesIterable(L,q)){if(k.type===R){const E=N.webassemblyModuleFilename;v.push({render:()=>ae.getSource(k,L.runtime,"webassembly"),filenameTemplate:E,pathOptions:{module:k,runtime:L.runtime,chunkGraph:P},auxiliary:true,identifier:`webassemblyModule${P.getModuleId(k)}`,hash:P.getModuleHash(k,L.runtime)})}}return v}));k.hooks.afterChunks.tap(_e,(()=>{const v=k.chunkGraph;const E=new Set;for(const P of k.chunks){if(P.canBeInitial()){for(const k of v.getChunkModulesIterable(P)){if(k.type===R){E.add(k)}}}}for(const v of E){k.errors.push(new le(v,k.moduleGraph,k.chunkGraph,k.requestShortener))}}))}))}}k.exports=WebAssemblyModulesPlugin},32799:function(k,v,E){"use strict";const P=E(26333);const{moduleContextFromModuleAST:R}=E(26333);const{decode:L}=E(57480);const N=E(17381);const q=E(93414);const ae=E(74476);const le=E(22734);const pe=new Set(["i32","i64","f32","f64"]);const getJsIncompatibleType=k=>{for(const v of k.params){if(!pe.has(v.valtype)){return`${v.valtype} as parameter`}}for(const v of k.results){if(!pe.has(v))return`${v} as result`}return null};const getJsIncompatibleTypeOfFuncSignature=k=>{for(const v of k.args){if(!pe.has(v)){return`${v} as parameter`}}for(const v of k.result){if(!pe.has(v))return`${v} as result`}return null};const me={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends N{constructor(k){super();this.hooks=Object.freeze({});this.options=k}parse(k,v){if(!Buffer.isBuffer(k)){throw new Error("WebAssemblyParser input must be a Buffer")}v.module.buildInfo.strict=true;v.module.buildMeta.exportsType="namespace";const E=L(k,me);const N=E.body[0];const ye=R(N);const _e=[];let Ie=v.module.buildMeta.jsIncompatibleExports=undefined;const Me=[];P.traverse(N,{ModuleExport({node:k}){const E=k.descr;if(E.exportType==="Func"){const P=E.id.value;const R=ye.getFunction(P);const L=getJsIncompatibleTypeOfFuncSignature(R);if(L){if(Ie===undefined){Ie=v.module.buildMeta.jsIncompatibleExports={}}Ie[k.name]=L}}_e.push(k.name);if(k.descr&&k.descr.exportType==="Global"){const E=Me[k.descr.id.value];if(E){const P=new ae(k.name,E.module,E.name,E.descr.valtype);v.module.addDependency(P)}}},Global({node:k}){const v=k.init[0];let E=null;if(v.id==="get_global"){const k=v.args[0].value;if(k{const N=[];let q=0;for(const ae of v.dependencies){if(ae instanceof R){if(ae.description.type==="GlobalType"||k.getModule(ae)===null){continue}const v=ae.name;if(E){N.push({dependency:ae,name:P.numberToIdentifier(q++),module:L})}else{N.push({dependency:ae,name:v,module:ae.request})}}}return N};v.getUsedDependencies=getUsedDependencies;v.MANGLED_MODULE=L},50792:function(k,v,E){"use strict";const P=new WeakMap;const getEnabledTypes=k=>{let v=P.get(k);if(v===undefined){v=new Set;P.set(k,v)}return v};class EnableWasmLoadingPlugin{constructor(k){this.type=k}static setEnabled(k,v){getEnabledTypes(k).add(v)}static checkEnabled(k,v){if(!getEnabledTypes(k).has(v)){throw new Error(`Library type "${v}" 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". '+"These types are enabled: "+Array.from(getEnabledTypes(k)).join(", "))}}apply(k){const{type:v}=this;const P=getEnabledTypes(k);if(P.has(v))return;P.add(v);if(typeof v==="string"){switch(v){case"fetch":{const v=E(99900);const P=E(52576);new v({mangleImports:k.options.optimization.mangleWasmImports}).apply(k);(new P).apply(k);break}case"async-node":{const P=E(63506);const R=E(39842);new P({mangleImports:k.options.optimization.mangleWasmImports}).apply(k);new R({type:v}).apply(k);break}case"async-node-module":{const P=E(39842);new P({type:v,import:true}).apply(k);break}case"universal":throw new Error("Universal WebAssembly Loading is not implemented yet");default:throw new Error(`Unsupported wasm loading type ${v}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}k.exports=EnableWasmLoadingPlugin},52576:function(k,v,E){"use strict";const{WEBASSEMBLY_MODULE_TYPE_ASYNC:P}=E(93622);const R=E(56727);const L=E(99393);class FetchCompileAsyncWasmPlugin{apply(k){k.hooks.thisCompilation.tap("FetchCompileAsyncWasmPlugin",(k=>{const v=k.outputOptions.wasmLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.wasmLoading!==undefined?E.wasmLoading:v;return P==="fetch"};const generateLoadBinaryCode=k=>`fetch(${R.publicPath} + ${k})`;k.hooks.runtimeRequirementInTree.for(R.instantiateWasm).tap("FetchCompileAsyncWasmPlugin",((v,E)=>{if(!isEnabledForChunk(v))return;const N=k.chunkGraph;if(!N.hasModuleInGraph(v,(k=>k.type===P))){return}E.add(R.publicPath);k.addRuntimeModule(v,new L({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true}))}))}))}}k.exports=FetchCompileAsyncWasmPlugin},99900:function(k,v,E){"use strict";const{WEBASSEMBLY_MODULE_TYPE_SYNC:P}=E(93622);const R=E(56727);const L=E(68403);const N="FetchCompileWasmPlugin";class FetchCompileWasmPlugin{constructor(k={}){this.options=k}apply(k){k.hooks.thisCompilation.tap(N,(k=>{const v=k.outputOptions.wasmLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.wasmLoading!==undefined?E.wasmLoading:v;return P==="fetch"};const generateLoadBinaryCode=k=>`fetch(${R.publicPath} + ${k})`;k.hooks.runtimeRequirementInTree.for(R.ensureChunkHandlers).tap(N,((v,E)=>{if(!isEnabledForChunk(v))return;const N=k.chunkGraph;if(!N.hasModuleInGraph(v,(k=>k.type===P))){return}E.add(R.moduleCache);E.add(R.publicPath);k.addRuntimeModule(v,new L({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true,mangleImports:this.options.mangleImports,runtimeRequirements:E}))}))}))}}k.exports=FetchCompileWasmPlugin},58746:function(k,v,E){"use strict";const P=E(56727);const R=E(97810);class JsonpChunkLoadingPlugin{apply(k){k.hooks.thisCompilation.tap("JsonpChunkLoadingPlugin",(k=>{const v=k.outputOptions.chunkLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.chunkLoading!==undefined?E.chunkLoading:v;return P==="jsonp"};const E=new WeakSet;const handler=(v,L)=>{if(E.has(v))return;E.add(v);if(!isEnabledForChunk(v))return;L.add(P.moduleFactoriesAddOnly);L.add(P.hasOwnProperty);k.addRuntimeModule(v,new R(L))};k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.baseURI).tap("JsonpChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.onChunksLoaded).tap("JsonpChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.publicPath);v.add(P.loadScript);v.add(P.getChunkScriptFilename)}));k.hooks.runtimeRequirementInTree.for(P.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.publicPath);v.add(P.loadScript);v.add(P.getChunkUpdateScriptFilename);v.add(P.moduleCache);v.add(P.hmrModuleData);v.add(P.moduleFactoriesAddOnly)}));k.hooks.runtimeRequirementInTree.for(P.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.publicPath);v.add(P.getUpdateManifestFilename)}))}))}}k.exports=JsonpChunkLoadingPlugin},97810:function(k,v,E){"use strict";const{SyncWaterfallHook:P}=E(79846);const R=E(27747);const L=E(56727);const N=E(27462);const q=E(95041);const ae=E(89168).chunkHasJs;const{getInitialChunkIds:le}=E(73777);const pe=E(21751);const me=new WeakMap;class JsonpChunkLoadingRuntimeModule extends N{static getCompilationHooks(k){if(!(k instanceof R)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=me.get(k);if(v===undefined){v={linkPreload:new P(["source","chunk"]),linkPrefetch:new P(["source","chunk"])};me.set(k,v)}return v}constructor(k){super("jsonp chunk loading",N.STAGE_ATTACH);this._runtimeRequirements=k}_generateBaseUri(k){const v=k.getEntryOptions();if(v&&v.baseUri){return`${L.baseURI} = ${JSON.stringify(v.baseUri)};`}else{return`${L.baseURI} = document.baseURI || self.location.href;`}}generate(){const{chunkGraph:k,compilation:v,chunk:E}=this;const{runtimeTemplate:P,outputOptions:{chunkLoadingGlobal:R,hotUpdateGlobal:N,crossOriginLoading:me,scriptType:ye}}=v;const _e=P.globalObject;const{linkPreload:Ie,linkPrefetch:Me}=JsonpChunkLoadingRuntimeModule.getCompilationHooks(v);const Te=L.ensureChunkHandlers;const je=this._runtimeRequirements.has(L.baseURI);const Ne=this._runtimeRequirements.has(L.ensureChunkHandlers);const Be=this._runtimeRequirements.has(L.chunkCallback);const qe=this._runtimeRequirements.has(L.onChunksLoaded);const Ue=this._runtimeRequirements.has(L.hmrDownloadUpdateHandlers);const Ge=this._runtimeRequirements.has(L.hmrDownloadManifest);const He=this._runtimeRequirements.has(L.prefetchChunkHandlers);const We=this._runtimeRequirements.has(L.preloadChunkHandlers);const Qe=`${_e}[${JSON.stringify(R)}]`;const Je=k.getChunkConditionMap(E,ae);const Ve=pe(Je);const Ke=le(E,k,ae);const Ye=Ue?`${L.hmrRuntimeStatePrefix}_jsonp`:undefined;return q.asString([je?this._generateBaseUri(E):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${Ye?`${Ye} = ${Ye} || `:""}{`,q.indent(Array.from(Ke,(k=>`${JSON.stringify(k)}: 0`)).join(",\n")),"};","",Ne?q.asString([`${Te}.j = ${P.basicFunction("chunkId, promises",Ve!==false?q.indent(["// JSONP chunk loading for javascript",`var installedChunkData = ${L.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',q.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",q.indent(["promises.push(installedChunkData[2]);"]),"} else {",q.indent([Ve===true?"if(true) { // all chunks have JS":`if(${Ve("chunkId")}) {`,q.indent(["// setup Promise in chunk cache",`var promise = new Promise(${P.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${L.publicPath} + ${L.getChunkScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${P.basicFunction("event",[`if(${L.hasOwnProperty}(installedChunks, chunkId)) {`,q.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",q.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);"]),"}"]),"}"])};`,`${L.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`]),Ve===true?"}":"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):q.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",He&&Ve!==false?`${L.prefetchChunkHandlers}.j = ${P.basicFunction("chunkId",[`if((!${L.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ve===true?"true":Ve("chunkId")}) {`,q.indent(["installedChunks[chunkId] = null;",Me.call(q.asString(["var link = document.createElement('link');",me?`link.crossOrigin = ${JSON.stringify(me)};`:"",`if (${L.scriptNonce}) {`,q.indent(`link.setAttribute("nonce", ${L.scriptNonce});`),"}",'link.rel = "prefetch";','link.as = "script";',`link.href = ${L.publicPath} + ${L.getChunkScriptFilename}(chunkId);`]),E),"document.head.appendChild(link);"]),"}"])};`:"// no prefetching","",We&&Ve!==false?`${L.preloadChunkHandlers}.j = ${P.basicFunction("chunkId",[`if((!${L.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ve===true?"true":Ve("chunkId")}) {`,q.indent(["installedChunks[chunkId] = null;",Ie.call(q.asString(["var link = document.createElement('link');",ye&&ye!=="module"?`link.type = ${JSON.stringify(ye)};`:"","link.charset = 'utf-8';",`if (${L.scriptNonce}) {`,q.indent(`link.setAttribute("nonce", ${L.scriptNonce});`),"}",ye==="module"?'link.rel = "modulepreload";':'link.rel = "preload";',ye==="module"?"":'link.as = "script";',`link.href = ${L.publicPath} + ${L.getChunkScriptFilename}(chunkId);`,me?me==="use-credentials"?'link.crossOrigin = "use-credentials";':q.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",q.indent(`link.crossOrigin = ${JSON.stringify(me)};`),"}"]):""]),E),"document.head.appendChild(link);"]),"}"])};`:"// no preloaded","",Ue?q.asString(["var currentUpdatedModulesList;","var waitingUpdateResolves = {};","function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["currentUpdatedModulesList = updatedModulesList;",`return new Promise(${P.basicFunction("resolve, reject",["waitingUpdateResolves[chunkId] = resolve;","// start update chunk loading",`var url = ${L.publicPath} + ${L.getChunkUpdateScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${P.basicFunction("event",["if(waitingUpdateResolves[chunkId]) {",q.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);"]),"}"])};`,`${L.loadScript}(url, loadingEnded);`])});`]),"}","",`${_e}[${JSON.stringify(N)}] = ${P.basicFunction("chunkId, moreModules, runtime",["for(var moduleId in moreModules) {",q.indent([`if(${L.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","if(waitingUpdateResolves[chunkId]) {",q.indent(["waitingUpdateResolves[chunkId]();","waitingUpdateResolves[chunkId] = undefined;"]),"}"])};`,"",q.getFunctionContent(require("./JavascriptHotModuleReplacement.runtime.js")).replace(/\$key\$/g,"jsonp").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,L.moduleCache).replace(/\$moduleFactories\$/g,L.moduleFactories).replace(/\$ensureChunkHandlers\$/g,L.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,L.hasOwnProperty).replace(/\$hmrModuleData\$/g,L.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,L.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,L.hmrInvalidateModuleHandlers)]):"// no HMR","",Ge?q.asString([`${L.hmrDownloadManifest} = ${P.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${L.publicPath} + ${L.getUpdateManifestFilename}()).then(${P.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","",qe?`${L.onChunksLoaded}.j = ${P.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Be||Ne?q.asString(["// install a JSONP callback for chunk loading",`var webpackJsonpCallback = ${P.basicFunction("parentChunkLoadingFunction, data",[P.destructureArray(["chunkIds","moreModules","runtime"],"data"),'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0;",`if(chunkIds.some(${P.returningFunction("installedChunks[id] !== 0","id")})) {`,q.indent(["for(moduleId in moreModules) {",q.indent([`if(${L.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(`${L.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}",`if(runtime) var result = runtime(${L.require});`]),"}","if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);","for(;i < chunkIds.length; i++) {",q.indent(["chunkId = chunkIds[i];",`if(${L.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,q.indent("installedChunks[chunkId][0]();"),"}","installedChunks[chunkId] = 0;"]),"}",qe?`return ${L.onChunksLoaded}(result);`:""])}`,"",`var chunkLoadingGlobal = ${Qe} = ${Qe} || [];`,"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));","chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"]):"// no jsonp function"])}}k.exports=JsonpChunkLoadingRuntimeModule},68511:function(k,v,E){"use strict";const P=E(39799);const R=E(73126);const L=E(97810);class JsonpTemplatePlugin{static getCompilationHooks(k){return L.getCompilationHooks(k)}apply(k){k.options.output.chunkLoading="jsonp";(new P).apply(k);new R("jsonp").apply(k)}}k.exports=JsonpTemplatePlugin},10463:function(k,v,E){"use strict";const P=E(73837);const R=E(38537);const L=E(98625);const N=E(2170);const q=E(47575);const ae=E(27826);const{applyWebpackOptionsDefaults:le,applyWebpackOptionsBaseDefaults:pe}=E(25801);const{getNormalizedWebpackOptions:me}=E(47339);const ye=E(74983);const _e=E(20631);const Ie=_e((()=>E(11458)));const createMultiCompiler=(k,v)=>{const E=k.map((k=>createCompiler(k)));const P=new q(E,v);for(const k of E){if(k.options.dependencies){P.setDependencies(k,k.options.dependencies)}}return P};const createCompiler=k=>{const v=me(k);pe(v);const E=new N(v.context,v);new ye({infrastructureLogging:v.infrastructureLogging}).apply(E);if(Array.isArray(v.plugins)){for(const k of v.plugins){if(typeof k==="function"){k.call(E,E)}else{k.apply(E)}}}le(v);E.hooks.environment.call();E.hooks.afterEnvironment.call();(new ae).process(v,E);E.hooks.initialize.call();return E};const asArray=k=>Array.isArray(k)?Array.from(k):[k];const webpack=(k,v)=>{const create=()=>{if(!asArray(k).every(R)){Ie()(L,k);P.deprecate((()=>{}),"webpack bug: Pre-compiled schema reports error while real schema is happy. This has performance drawbacks.","DEP_WEBPACK_PRE_COMPILED_SCHEMA_INVALID")()}let v;let E=false;let N;if(Array.isArray(k)){v=createMultiCompiler(k,k);E=k.some((k=>k.watch));N=k.map((k=>k.watchOptions||{}))}else{const P=k;v=createCompiler(P);E=P.watch;N=P.watchOptions||{}}return{compiler:v,watch:E,watchOptions:N}};if(v){try{const{compiler:k,watch:E,watchOptions:P}=create();if(E){k.watch(P,v)}else{k.run(((E,P)=>{k.close((k=>{v(E||k,P)}))}))}return k}catch(k){process.nextTick((()=>v(k)));return null}}else{const{compiler:k,watch:v}=create();if(v){P.deprecate((()=>{}),"A 'callback' argument needs 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 k}};k.exports=webpack},9366:function(k,v,E){"use strict";const P=E(56727);const R=E(31626);const L=E(77567);class ImportScriptsChunkLoadingPlugin{apply(k){new R({chunkLoading:"import-scripts",asyncChunkLoading:true}).apply(k);k.hooks.thisCompilation.tap("ImportScriptsChunkLoadingPlugin",(k=>{const v=k.outputOptions.chunkLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.chunkLoading!==undefined?E.chunkLoading:v;return P==="import-scripts"};const E=new WeakSet;const handler=(v,R)=>{if(E.has(v))return;E.add(v);if(!isEnabledForChunk(v))return;const N=!!k.outputOptions.trustedTypes;R.add(P.moduleFactoriesAddOnly);R.add(P.hasOwnProperty);if(N){R.add(P.createScriptUrl)}k.addRuntimeModule(v,new L(R,N))};k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.baseURI).tap("ImportScriptsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.publicPath);v.add(P.getChunkScriptFilename)}));k.hooks.runtimeRequirementInTree.for(P.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.publicPath);v.add(P.getChunkUpdateScriptFilename);v.add(P.moduleCache);v.add(P.hmrModuleData);v.add(P.moduleFactoriesAddOnly)}));k.hooks.runtimeRequirementInTree.for(P.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.publicPath);v.add(P.getUpdateManifestFilename)}))}))}}k.exports=ImportScriptsChunkLoadingPlugin},77567:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{getChunkFilenameTemplate:N,chunkHasJs:q}=E(89168);const{getInitialChunkIds:ae}=E(73777);const le=E(21751);const{getUndoPath:pe}=E(65315);class ImportScriptsChunkLoadingRuntimeModule extends R{constructor(k,v){super("importScripts chunk loading",R.STAGE_ATTACH);this.runtimeRequirements=k;this._withCreateScriptUrl=v}_generateBaseUri(k){const v=k.getEntryOptions();if(v&&v.baseUri){return`${P.baseURI} = ${JSON.stringify(v.baseUri)};`}const E=this.compilation.getPath(N(k,this.compilation.outputOptions),{chunk:k,contentHashType:"javascript"});const R=pe(E,this.compilation.outputOptions.path,false);return`${P.baseURI} = self.location + ${JSON.stringify(R?"/../"+R:"")};`}generate(){const{chunk:k,chunkGraph:v,compilation:{runtimeTemplate:E,outputOptions:{chunkLoadingGlobal:R,hotUpdateGlobal:N}},_withCreateScriptUrl:pe}=this;const me=E.globalObject;const ye=P.ensureChunkHandlers;const _e=this.runtimeRequirements.has(P.baseURI);const Ie=this.runtimeRequirements.has(P.ensureChunkHandlers);const Me=this.runtimeRequirements.has(P.hmrDownloadUpdateHandlers);const Te=this.runtimeRequirements.has(P.hmrDownloadManifest);const je=`${me}[${JSON.stringify(R)}]`;const Ne=le(v.getChunkConditionMap(k,q));const Be=ae(k,v,q);const qe=Me?`${P.hmrRuntimeStatePrefix}_importScripts`:undefined;return L.asString([_e?this._generateBaseUri(k):"// no baseURI","","// object to store loaded chunks",'// "1" means "already loaded"',`var installedChunks = ${qe?`${qe} = ${qe} || `:""}{`,L.indent(Array.from(Be,(k=>`${JSON.stringify(k)}: 1`)).join(",\n")),"};","",Ie?L.asString(["// importScripts chunk loading",`var installChunk = ${E.basicFunction("data",[E.destructureArray(["chunkIds","moreModules","runtime"],"data"),"for(var moduleId in moreModules) {",L.indent([`if(${P.hasOwnProperty}(moreModules, moduleId)) {`,L.indent(`${P.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}",`if(runtime) runtime(${P.require});`,"while(chunkIds.length)",L.indent("installedChunks[chunkIds.pop()] = 1;"),"parentChunkLoadingFunction(data);"])};`]):"// no chunk install function needed",Ie?L.asString([`${ye}.i = ${E.basicFunction("chunkId, promises",Ne!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",L.indent([Ne===true?"if(true) { // all chunks have JS":`if(${Ne("chunkId")}) {`,L.indent(`importScripts(${pe?`${P.createScriptUrl}(${P.publicPath} + ${P.getChunkScriptFilename}(chunkId))`:`${P.publicPath} + ${P.getChunkScriptFilename}(chunkId)`});`),"}"]),"}"]:"installedChunks[chunkId] = 1;")};`,"",`var chunkLoadingGlobal = ${je} = ${je} || [];`,"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);","chunkLoadingGlobal.push = installChunk;"]):"// no chunk loading","",Me?L.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",L.indent(["var success = false;",`${me}[${JSON.stringify(N)}] = ${E.basicFunction("_, moreModules, runtime",["for(var moduleId in moreModules) {",L.indent([`if(${P.hasOwnProperty}(moreModules, moduleId)) {`,L.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","success = true;"])};`,"// start update chunk loading",`importScripts(${pe?`${P.createScriptUrl}(${P.publicPath} + ${P.getChunkUpdateScriptFilename}(chunkId))`:`${P.publicPath} + ${P.getChunkUpdateScriptFilename}(chunkId)`});`,'if(!success) throw new Error("Loading update chunk failed for unknown reason");']),"}","",L.getFunctionContent(require("./JavascriptHotModuleReplacement.runtime.js")).replace(/\$key\$/g,"importScrips").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,P.moduleCache).replace(/\$moduleFactories\$/g,P.moduleFactories).replace(/\$ensureChunkHandlers\$/g,P.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,P.hasOwnProperty).replace(/\$hmrModuleData\$/g,P.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,P.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,P.hmrInvalidateModuleHandlers)]):"// no HMR","",Te?L.asString([`${P.hmrDownloadManifest} = ${E.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${P.publicPath} + ${P.getUpdateManifestFilename}()).then(${E.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"])}}k.exports=ImportScriptsChunkLoadingRuntimeModule},20514:function(k,v,E){"use strict";const P=E(39799);const R=E(73126);class WebWorkerTemplatePlugin{apply(k){k.options.output.chunkLoading="import-scripts";(new P).apply(k);new R("import-scripts").apply(k)}}k.exports=WebWorkerTemplatePlugin},38537:function(k){const v=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;k.exports=we,k.exports["default"]=we;const E={definitions:{Amd:{anyOf:[{enum:[!1]},{type:"object"}]},AmdContainer:{type:"string",minLength:1},AssetFilterItemTypes:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!1},{instanceof:"Function"}]},AssetFilterTypes:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/AssetFilterItemTypes"}]}},{$ref:"#/definitions/AssetFilterItemTypes"}]},AssetGeneratorDataUrl:{anyOf:[{$ref:"#/definitions/AssetGeneratorDataUrlOptions"},{$ref:"#/definitions/AssetGeneratorDataUrlFunction"}]},AssetGeneratorDataUrlFunction:{instanceof:"Function"},AssetGeneratorDataUrlOptions:{type:"object",additionalProperties:!1,properties:{encoding:{enum:[!1,"base64"]},mimetype:{type:"string"}}},AssetGeneratorOptions:{type:"object",additionalProperties:!1,properties:{dataUrl:{$ref:"#/definitions/AssetGeneratorDataUrl"},emit:{type:"boolean"},filename:{$ref:"#/definitions/FilenameTemplate"},outputPath:{$ref:"#/definitions/AssetModuleOutputPath"},publicPath:{$ref:"#/definitions/RawPublicPath"}}},AssetInlineGeneratorOptions:{type:"object",additionalProperties:!1,properties:{dataUrl:{$ref:"#/definitions/AssetGeneratorDataUrl"}}},AssetModuleFilename:{anyOf:[{type:"string",absolutePath:!1},{instanceof:"Function"}]},AssetModuleOutputPath:{anyOf:[{type:"string",absolutePath:!1},{instanceof:"Function"}]},AssetParserDataUrlFunction:{instanceof:"Function"},AssetParserDataUrlOptions:{type:"object",additionalProperties:!1,properties:{maxSize:{type:"number"}}},AssetParserOptions:{type:"object",additionalProperties:!1,properties:{dataUrlCondition:{anyOf:[{$ref:"#/definitions/AssetParserDataUrlOptions"},{$ref:"#/definitions/AssetParserDataUrlFunction"}]}}},AssetResourceGeneratorOptions:{type:"object",additionalProperties:!1,properties:{emit:{type:"boolean"},filename:{$ref:"#/definitions/FilenameTemplate"},outputPath:{$ref:"#/definitions/AssetModuleOutputPath"},publicPath:{$ref:"#/definitions/RawPublicPath"}}},AuxiliaryComment:{anyOf:[{type:"string"},{$ref:"#/definitions/LibraryCustomUmdCommentObject"}]},Bail:{type:"boolean"},CacheOptions:{anyOf:[{enum:[!0]},{$ref:"#/definitions/CacheOptionsNormalized"}]},CacheOptionsNormalized:{anyOf:[{enum:[!1]},{$ref:"#/definitions/MemoryCacheOptions"},{$ref:"#/definitions/FileCacheOptions"}]},Charset:{type:"boolean"},ChunkFilename:{oneOf:[{$ref:"#/definitions/FilenameTemplate"}]},ChunkFormat:{anyOf:[{enum:["array-push","commonjs","module",!1]},{type:"string"}]},ChunkLoadTimeout:{type:"number"},ChunkLoading:{anyOf:[{enum:[!1]},{$ref:"#/definitions/ChunkLoadingType"}]},ChunkLoadingGlobal:{type:"string"},ChunkLoadingType:{anyOf:[{enum:["jsonp","import-scripts","require","async-node","import"]},{type:"string"}]},Clean:{anyOf:[{type:"boolean"},{$ref:"#/definitions/CleanOptions"}]},CleanOptions:{type:"object",additionalProperties:!1,properties:{dry:{type:"boolean"},keep:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!1},{instanceof:"Function"}]}}},CompareBeforeEmit:{type:"boolean"},Context:{type:"string",absolutePath:!0},CrossOriginLoading:{enum:[!1,"anonymous","use-credentials"]},CssChunkFilename:{oneOf:[{$ref:"#/definitions/FilenameTemplate"}]},CssExperimentOptions:{type:"object",additionalProperties:!1,properties:{exportsOnly:{type:"boolean"}}},CssFilename:{oneOf:[{$ref:"#/definitions/FilenameTemplate"}]},CssGeneratorOptions:{type:"object",additionalProperties:!1,properties:{}},CssParserOptions:{type:"object",additionalProperties:!1,properties:{}},Dependencies:{type:"array",items:{type:"string"}},DevServer:{type:"object"},DevTool:{anyOf:[{enum:[!1,"eval"]},{type:"string",pattern:"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}]},DevtoolFallbackModuleFilenameTemplate:{anyOf:[{type:"string"},{instanceof:"Function"}]},DevtoolModuleFilenameTemplate:{anyOf:[{type:"string"},{instanceof:"Function"}]},DevtoolNamespace:{type:"string"},EmptyGeneratorOptions:{type:"object",additionalProperties:!1},EmptyParserOptions:{type:"object",additionalProperties:!1},EnabledChunkLoadingTypes:{type:"array",items:{$ref:"#/definitions/ChunkLoadingType"}},EnabledLibraryTypes:{type:"array",items:{$ref:"#/definitions/LibraryType"}},EnabledWasmLoadingTypes:{type:"array",items:{$ref:"#/definitions/WasmLoadingType"}},Entry:{anyOf:[{$ref:"#/definitions/EntryDynamic"},{$ref:"#/definitions/EntryStatic"}]},EntryDescription:{type:"object",additionalProperties:!1,properties:{asyncChunks:{type:"boolean"},baseUri:{type:"string"},chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},filename:{$ref:"#/definitions/EntryFilename"},import:{$ref:"#/definitions/EntryItem"},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}},required:["import"]},EntryDescriptionNormalized:{type:"object",additionalProperties:!1,properties:{asyncChunks:{type:"boolean"},baseUri:{type:"string"},chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},filename:{$ref:"#/definitions/Filename"},import:{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}}},EntryDynamic:{instanceof:"Function"},EntryDynamicNormalized:{instanceof:"Function"},EntryFilename:{oneOf:[{$ref:"#/definitions/FilenameTemplate"}]},EntryItem:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},EntryNormalized:{anyOf:[{$ref:"#/definitions/EntryDynamicNormalized"},{$ref:"#/definitions/EntryStaticNormalized"}]},EntryObject:{type:"object",additionalProperties:{anyOf:[{$ref:"#/definitions/EntryItem"},{$ref:"#/definitions/EntryDescription"}]}},EntryRuntime:{anyOf:[{enum:[!1]},{type:"string",minLength:1}]},EntryStatic:{anyOf:[{$ref:"#/definitions/EntryObject"},{$ref:"#/definitions/EntryUnnamed"}]},EntryStaticNormalized:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/EntryDescriptionNormalized"}]}},EntryUnnamed:{oneOf:[{$ref:"#/definitions/EntryItem"}]},Environment:{type:"object",additionalProperties:!1,properties:{arrowFunction:{type:"boolean"},bigIntLiteral:{type:"boolean"},const:{type:"boolean"},destructuring:{type:"boolean"},dynamicImport:{type:"boolean"},dynamicImportInWorker:{type:"boolean"},forOf:{type:"boolean"},globalThis:{type:"boolean"},module:{type:"boolean"},optionalChaining:{type:"boolean"},templateLiteral:{type:"boolean"}}},Experiments:{type:"object",additionalProperties:!1,properties:{asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},buildHttp:{anyOf:[{$ref:"#/definitions/HttpUriAllowedUris"},{$ref:"#/definitions/HttpUriOptions"}]},cacheUnaffected:{type:"boolean"},css:{anyOf:[{type:"boolean"},{$ref:"#/definitions/CssExperimentOptions"}]},futureDefaults:{type:"boolean"},layers:{type:"boolean"},lazyCompilation:{anyOf:[{type:"boolean"},{$ref:"#/definitions/LazyCompilationOptions"}]},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}}},ExperimentsCommon:{type:"object",additionalProperties:!1,properties:{asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},cacheUnaffected:{type:"boolean"},futureDefaults:{type:"boolean"},layers:{type:"boolean"},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}}},ExperimentsNormalized:{type:"object",additionalProperties:!1,properties:{asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},buildHttp:{oneOf:[{$ref:"#/definitions/HttpUriOptions"}]},cacheUnaffected:{type:"boolean"},css:{anyOf:[{enum:[!1]},{$ref:"#/definitions/CssExperimentOptions"}]},futureDefaults:{type:"boolean"},layers:{type:"boolean"},lazyCompilation:{anyOf:[{enum:[!1]},{$ref:"#/definitions/LazyCompilationOptions"}]},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}}},Extends:{anyOf:[{type:"array",items:{$ref:"#/definitions/ExtendsItem"}},{$ref:"#/definitions/ExtendsItem"}]},ExtendsItem:{type:"string"},ExternalItem:{anyOf:[{instanceof:"RegExp"},{type:"string"},{type:"object",additionalProperties:{$ref:"#/definitions/ExternalItemValue"},properties:{byLayer:{anyOf:[{type:"object",additionalProperties:{$ref:"#/definitions/ExternalItem"}},{instanceof:"Function"}]}}},{instanceof:"Function"}]},ExternalItemFunctionData:{type:"object",additionalProperties:!1,properties:{context:{type:"string"},contextInfo:{type:"object"},dependencyType:{type:"string"},getResolve:{instanceof:"Function"},request:{type:"string"}}},ExternalItemValue:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"boolean"},{type:"string"},{type:"object"}]},Externals:{anyOf:[{type:"array",items:{$ref:"#/definitions/ExternalItem"}},{$ref:"#/definitions/ExternalItem"}]},ExternalsPresets:{type:"object",additionalProperties:!1,properties:{electron:{type:"boolean"},electronMain:{type:"boolean"},electronPreload:{type:"boolean"},electronRenderer:{type:"boolean"},node:{type:"boolean"},nwjs:{type:"boolean"},web:{type:"boolean"},webAsync:{type:"boolean"}}},ExternalsType:{enum:["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},FileCacheOptions:{type:"object",additionalProperties:!1,properties:{allowCollectingMemory:{type:"boolean"},buildDependencies:{type:"object",additionalProperties:{type:"array",items:{type:"string",minLength:1}}},cacheDirectory:{type:"string",absolutePath:!0},cacheLocation:{type:"string",absolutePath:!0},compression:{enum:[!1,"gzip","brotli"]},hashAlgorithm:{type:"string"},idleTimeout:{type:"number",minimum:0},idleTimeoutAfterLargeChanges:{type:"number",minimum:0},idleTimeoutForInitialStore:{type:"number",minimum:0},immutablePaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},managedPaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},maxAge:{type:"number",minimum:0},maxMemoryGenerations:{type:"number",minimum:0},memoryCacheUnaffected:{type:"boolean"},name:{type:"string"},profile:{type:"boolean"},readonly:{type:"boolean"},store:{enum:["pack"]},type:{enum:["filesystem"]},version:{type:"string"}},required:["type"]},Filename:{oneOf:[{$ref:"#/definitions/FilenameTemplate"}]},FilenameTemplate:{anyOf:[{type:"string",absolutePath:!1,minLength:1},{instanceof:"Function"}]},FilterItemTypes:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!1},{instanceof:"Function"}]},FilterTypes:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/FilterItemTypes"}]}},{$ref:"#/definitions/FilterItemTypes"}]},GeneratorOptionsByModuleType:{type:"object",additionalProperties:{type:"object",additionalProperties:!0},properties:{asset:{$ref:"#/definitions/AssetGeneratorOptions"},"asset/inline":{$ref:"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{$ref:"#/definitions/AssetResourceGeneratorOptions"},javascript:{$ref:"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{$ref:"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{$ref:"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{$ref:"#/definitions/EmptyGeneratorOptions"}}},GlobalObject:{type:"string",minLength:1},HashDigest:{type:"string"},HashDigestLength:{type:"number",minimum:1},HashFunction:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},HashSalt:{type:"string",minLength:1},HotUpdateChunkFilename:{type:"string",absolutePath:!1},HotUpdateGlobal:{type:"string"},HotUpdateMainFilename:{type:"string",absolutePath:!1},HttpUriAllowedUris:{oneOf:[{$ref:"#/definitions/HttpUriOptionsAllowedUris"}]},HttpUriOptions:{type:"object",additionalProperties:!1,properties:{allowedUris:{$ref:"#/definitions/HttpUriOptionsAllowedUris"},cacheLocation:{anyOf:[{enum:[!1]},{type:"string",absolutePath:!0}]},frozen:{type:"boolean"},lockfileLocation:{type:"string",absolutePath:!0},proxy:{type:"string"},upgrade:{type:"boolean"}},required:["allowedUris"]},HttpUriOptionsAllowedUris:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",pattern:"^https?://"},{instanceof:"Function"}]}},IgnoreWarnings:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"object",additionalProperties:!1,properties:{file:{instanceof:"RegExp"},message:{instanceof:"RegExp"},module:{instanceof:"RegExp"}}},{instanceof:"Function"}]}},IgnoreWarningsNormalized:{type:"array",items:{instanceof:"Function"}},Iife:{type:"boolean"},ImportFunctionName:{type:"string"},ImportMetaName:{type:"string"},InfrastructureLogging:{type:"object",additionalProperties:!1,properties:{appendOnly:{type:"boolean"},colors:{type:"boolean"},console:{},debug:{anyOf:[{type:"boolean"},{$ref:"#/definitions/FilterTypes"}]},level:{enum:["none","error","warn","info","log","verbose"]},stream:{}}},JavascriptParserOptions:{type:"object",additionalProperties:!0,properties:{amd:{$ref:"#/definitions/Amd"},browserify:{type:"boolean"},commonjs:{type:"boolean"},commonjsMagicComments:{type:"boolean"},createRequire:{anyOf:[{type:"boolean"},{type:"string"}]},dynamicImportMode:{enum:["eager","weak","lazy","lazy-once"]},dynamicImportPrefetch:{anyOf:[{type:"number"},{type:"boolean"}]},dynamicImportPreload:{anyOf:[{type:"number"},{type:"boolean"}]},exportsPresence:{enum:["error","warn","auto",!1]},exprContextCritical:{type:"boolean"},exprContextRecursive:{type:"boolean"},exprContextRegExp:{anyOf:[{instanceof:"RegExp"},{type:"boolean"}]},exprContextRequest:{type:"string"},harmony:{type:"boolean"},import:{type:"boolean"},importExportsPresence:{enum:["error","warn","auto",!1]},importMeta:{type:"boolean"},importMetaContext:{type:"boolean"},node:{$ref:"#/definitions/Node"},reexportExportsPresence:{enum:["error","warn","auto",!1]},requireContext:{type:"boolean"},requireEnsure:{type:"boolean"},requireInclude:{type:"boolean"},requireJs:{type:"boolean"},strictExportPresence:{type:"boolean"},strictThisContextOnImports:{type:"boolean"},system:{type:"boolean"},unknownContextCritical:{type:"boolean"},unknownContextRecursive:{type:"boolean"},unknownContextRegExp:{anyOf:[{instanceof:"RegExp"},{type:"boolean"}]},unknownContextRequest:{type:"string"},url:{anyOf:[{enum:["relative"]},{type:"boolean"}]},worker:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"boolean"}]},wrappedContextCritical:{type:"boolean"},wrappedContextRecursive:{type:"boolean"},wrappedContextRegExp:{instanceof:"RegExp"}}},Layer:{anyOf:[{enum:[null]},{type:"string",minLength:1}]},LazyCompilationDefaultBackendOptions:{type:"object",additionalProperties:!1,properties:{client:{type:"string"},listen:{anyOf:[{type:"number"},{type:"object",additionalProperties:!0,properties:{host:{type:"string"},port:{type:"number"}}},{instanceof:"Function"}]},protocol:{enum:["http","https"]},server:{anyOf:[{type:"object",additionalProperties:!0,properties:{}},{instanceof:"Function"}]}}},LazyCompilationOptions:{type:"object",additionalProperties:!1,properties:{backend:{anyOf:[{instanceof:"Function"},{$ref:"#/definitions/LazyCompilationDefaultBackendOptions"}]},entries:{type:"boolean"},imports:{type:"boolean"},test:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]}}},Library:{anyOf:[{$ref:"#/definitions/LibraryName"},{$ref:"#/definitions/LibraryOptions"}]},LibraryCustomUmdCommentObject:{type:"object",additionalProperties:!1,properties:{amd:{type:"string"},commonjs:{type:"string"},commonjs2:{type:"string"},root:{type:"string"}}},LibraryCustomUmdObject:{type:"object",additionalProperties:!1,properties:{amd:{type:"string",minLength:1},commonjs:{type:"string",minLength:1},root:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]}}},LibraryExport:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]},LibraryName:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1},{type:"string",minLength:1},{$ref:"#/definitions/LibraryCustomUmdObject"}]},LibraryOptions:{type:"object",additionalProperties:!1,properties:{amdContainer:{$ref:"#/definitions/AmdContainer"},auxiliaryComment:{$ref:"#/definitions/AuxiliaryComment"},export:{$ref:"#/definitions/LibraryExport"},name:{$ref:"#/definitions/LibraryName"},type:{$ref:"#/definitions/LibraryType"},umdNamedDefine:{$ref:"#/definitions/UmdNamedDefine"}},required:["type"]},LibraryType:{anyOf:[{enum:["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","amd","amd-require","umd","umd2","jsonp","system"]},{type:"string"}]},Loader:{type:"object"},MemoryCacheOptions:{type:"object",additionalProperties:!1,properties:{cacheUnaffected:{type:"boolean"},maxGenerations:{type:"number",minimum:1},type:{enum:["memory"]}},required:["type"]},Mode:{enum:["development","production","none"]},ModuleFilterItemTypes:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!1},{instanceof:"Function"}]},ModuleFilterTypes:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/ModuleFilterItemTypes"}]}},{$ref:"#/definitions/ModuleFilterItemTypes"}]},ModuleOptions:{type:"object",additionalProperties:!1,properties:{defaultRules:{oneOf:[{$ref:"#/definitions/RuleSetRules"}]},exprContextCritical:{type:"boolean"},exprContextRecursive:{type:"boolean"},exprContextRegExp:{anyOf:[{instanceof:"RegExp"},{type:"boolean"}]},exprContextRequest:{type:"string"},generator:{$ref:"#/definitions/GeneratorOptionsByModuleType"},noParse:{$ref:"#/definitions/NoParse"},parser:{$ref:"#/definitions/ParserOptionsByModuleType"},rules:{oneOf:[{$ref:"#/definitions/RuleSetRules"}]},strictExportPresence:{type:"boolean"},strictThisContextOnImports:{type:"boolean"},unknownContextCritical:{type:"boolean"},unknownContextRecursive:{type:"boolean"},unknownContextRegExp:{anyOf:[{instanceof:"RegExp"},{type:"boolean"}]},unknownContextRequest:{type:"string"},unsafeCache:{anyOf:[{type:"boolean"},{instanceof:"Function"}]},wrappedContextCritical:{type:"boolean"},wrappedContextRecursive:{type:"boolean"},wrappedContextRegExp:{instanceof:"RegExp"}}},ModuleOptionsNormalized:{type:"object",additionalProperties:!1,properties:{defaultRules:{oneOf:[{$ref:"#/definitions/RuleSetRules"}]},generator:{$ref:"#/definitions/GeneratorOptionsByModuleType"},noParse:{$ref:"#/definitions/NoParse"},parser:{$ref:"#/definitions/ParserOptionsByModuleType"},rules:{oneOf:[{$ref:"#/definitions/RuleSetRules"}]},unsafeCache:{anyOf:[{type:"boolean"},{instanceof:"Function"}]}},required:["defaultRules","generator","parser","rules"]},Name:{type:"string"},NoParse:{anyOf:[{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0},{instanceof:"Function"}]},minItems:1},{instanceof:"RegExp"},{type:"string",absolutePath:!0},{instanceof:"Function"}]},Node:{anyOf:[{enum:[!1]},{$ref:"#/definitions/NodeOptions"}]},NodeOptions:{type:"object",additionalProperties:!1,properties:{__dirname:{enum:[!1,!0,"warn-mock","mock","eval-only"]},__filename:{enum:[!1,!0,"warn-mock","mock","eval-only"]},global:{enum:[!1,!0,"warn"]}}},Optimization:{type:"object",additionalProperties:!1,properties:{checkWasmTypes:{type:"boolean"},chunkIds:{enum:["natural","named","deterministic","size","total-size",!1]},concatenateModules:{type:"boolean"},emitOnErrors:{type:"boolean"},flagIncludedChunks:{type:"boolean"},innerGraph:{type:"boolean"},mangleExports:{anyOf:[{enum:["size","deterministic"]},{type:"boolean"}]},mangleWasmImports:{type:"boolean"},mergeDuplicateChunks:{type:"boolean"},minimize:{type:"boolean"},minimizer:{type:"array",items:{anyOf:[{enum:["..."]},{$ref:"#/definitions/WebpackPluginInstance"},{$ref:"#/definitions/WebpackPluginFunction"}]}},moduleIds:{enum:["natural","named","hashed","deterministic","size",!1]},noEmitOnErrors:{type:"boolean"},nodeEnv:{anyOf:[{enum:[!1]},{type:"string"}]},portableRecords:{type:"boolean"},providedExports:{type:"boolean"},realContentHash:{type:"boolean"},removeAvailableModules:{type:"boolean"},removeEmptyChunks:{type:"boolean"},runtimeChunk:{$ref:"#/definitions/OptimizationRuntimeChunk"},sideEffects:{anyOf:[{enum:["flag"]},{type:"boolean"}]},splitChunks:{anyOf:[{enum:[!1]},{$ref:"#/definitions/OptimizationSplitChunksOptions"}]},usedExports:{anyOf:[{enum:["global"]},{type:"boolean"}]}}},OptimizationRuntimeChunk:{anyOf:[{enum:["single","multiple"]},{type:"boolean"},{type:"object",additionalProperties:!1,properties:{name:{anyOf:[{type:"string"},{instanceof:"Function"}]}}}]},OptimizationRuntimeChunkNormalized:{anyOf:[{enum:[!1]},{type:"object",additionalProperties:!1,properties:{name:{instanceof:"Function"}}}]},OptimizationSplitChunksCacheGroup:{type:"object",additionalProperties:!1,properties:{automaticNameDelimiter:{type:"string",minLength:1},chunks:{anyOf:[{enum:["initial","async","all"]},{instanceof:"RegExp"},{instanceof:"Function"}]},enforce:{type:"boolean"},enforceSizeThreshold:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},filename:{anyOf:[{type:"string",absolutePath:!1,minLength:1},{instanceof:"Function"}]},idHint:{type:"string"},layer:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]},maxAsyncRequests:{type:"number",minimum:1},maxAsyncSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxInitialRequests:{type:"number",minimum:1},maxInitialSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minChunks:{type:"number",minimum:1},minRemainingSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSizeReduction:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},name:{anyOf:[{enum:[!1]},{type:"string"},{instanceof:"Function"}]},priority:{type:"number"},reuseExistingChunk:{type:"boolean"},test:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]},type:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]},usedExports:{type:"boolean"}}},OptimizationSplitChunksGetCacheGroups:{instanceof:"Function"},OptimizationSplitChunksOptions:{type:"object",additionalProperties:!1,properties:{automaticNameDelimiter:{type:"string",minLength:1},cacheGroups:{type:"object",additionalProperties:{anyOf:[{enum:[!1]},{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"},{$ref:"#/definitions/OptimizationSplitChunksCacheGroup"}]},not:{type:"object",additionalProperties:!0,properties:{test:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]}},required:["test"]}},chunks:{anyOf:[{enum:["initial","async","all"]},{instanceof:"RegExp"},{instanceof:"Function"}]},defaultSizeTypes:{type:"array",items:{type:"string"},minItems:1},enforceSizeThreshold:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},fallbackCacheGroup:{type:"object",additionalProperties:!1,properties:{automaticNameDelimiter:{type:"string",minLength:1},chunks:{anyOf:[{enum:["initial","async","all"]},{instanceof:"RegExp"},{instanceof:"Function"}]},maxAsyncSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxInitialSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSizeReduction:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]}}},filename:{anyOf:[{type:"string",absolutePath:!1,minLength:1},{instanceof:"Function"}]},hidePathInfo:{type:"boolean"},maxAsyncRequests:{type:"number",minimum:1},maxAsyncSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxInitialRequests:{type:"number",minimum:1},maxInitialSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minChunks:{type:"number",minimum:1},minRemainingSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSizeReduction:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},name:{anyOf:[{enum:[!1]},{type:"string"},{instanceof:"Function"}]},usedExports:{type:"boolean"}}},OptimizationSplitChunksSizes:{anyOf:[{type:"number",minimum:0},{type:"object",additionalProperties:{type:"number"}}]},Output:{type:"object",additionalProperties:!1,properties:{amdContainer:{oneOf:[{$ref:"#/definitions/AmdContainer"}]},assetModuleFilename:{$ref:"#/definitions/AssetModuleFilename"},asyncChunks:{type:"boolean"},auxiliaryComment:{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"},clean:{$ref:"#/definitions/Clean"},compareBeforeEmit:{$ref:"#/definitions/CompareBeforeEmit"},crossOriginLoading:{$ref:"#/definitions/CrossOriginLoading"},cssChunkFilename:{$ref:"#/definitions/CssChunkFilename"},cssFilename:{$ref:"#/definitions/CssFilename"},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"},ignoreBrowserWarnings:{type:"boolean"},iife:{$ref:"#/definitions/Iife"},importFunctionName:{$ref:"#/definitions/ImportFunctionName"},importMetaName:{$ref:"#/definitions/ImportMetaName"},library:{$ref:"#/definitions/Library"},libraryExport:{oneOf:[{$ref:"#/definitions/LibraryExport"}]},libraryTarget:{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"},strictModuleErrorHandling:{$ref:"#/definitions/StrictModuleErrorHandling"},strictModuleExceptionHandling:{$ref:"#/definitions/StrictModuleExceptionHandling"},trustedTypes:{anyOf:[{enum:[!0]},{type:"string",minLength:1},{$ref:"#/definitions/TrustedTypes"}]},umdNamedDefine:{oneOf:[{$ref:"#/definitions/UmdNamedDefine"}]},uniqueName:{$ref:"#/definitions/UniqueName"},wasmLoading:{$ref:"#/definitions/WasmLoading"},webassemblyModuleFilename:{$ref:"#/definitions/WebassemblyModuleFilename"},workerChunkLoading:{$ref:"#/definitions/ChunkLoading"},workerPublicPath:{$ref:"#/definitions/WorkerPublicPath"},workerWasmLoading:{$ref:"#/definitions/WasmLoading"}}},OutputModule:{type:"boolean"},OutputNormalized:{type:"object",additionalProperties:!1,properties:{assetModuleFilename:{$ref:"#/definitions/AssetModuleFilename"},asyncChunks:{type:"boolean"},charset:{$ref:"#/definitions/Charset"},chunkFilename:{$ref:"#/definitions/ChunkFilename"},chunkFormat:{$ref:"#/definitions/ChunkFormat"},chunkLoadTimeout:{$ref:"#/definitions/ChunkLoadTimeout"},chunkLoading:{$ref:"#/definitions/ChunkLoading"},chunkLoadingGlobal:{$ref:"#/definitions/ChunkLoadingGlobal"},clean:{$ref:"#/definitions/Clean"},compareBeforeEmit:{$ref:"#/definitions/CompareBeforeEmit"},crossOriginLoading:{$ref:"#/definitions/CrossOriginLoading"},cssChunkFilename:{$ref:"#/definitions/CssChunkFilename"},cssFilename:{$ref:"#/definitions/CssFilename"},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"},ignoreBrowserWarnings:{type:"boolean"},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"},strictModuleErrorHandling:{$ref:"#/definitions/StrictModuleErrorHandling"},strictModuleExceptionHandling:{$ref:"#/definitions/StrictModuleExceptionHandling"},trustedTypes:{$ref:"#/definitions/TrustedTypes"},uniqueName:{$ref:"#/definitions/UniqueName"},wasmLoading:{$ref:"#/definitions/WasmLoading"},webassemblyModuleFilename:{$ref:"#/definitions/WebassemblyModuleFilename"},workerChunkLoading:{$ref:"#/definitions/ChunkLoading"},workerPublicPath:{$ref:"#/definitions/WorkerPublicPath"},workerWasmLoading:{$ref:"#/definitions/WasmLoading"}}},Parallelism:{type:"number",minimum:1},ParserOptionsByModuleType:{type:"object",additionalProperties:{type:"object",additionalProperties:!0},properties:{asset:{$ref:"#/definitions/AssetParserOptions"},"asset/inline":{$ref:"#/definitions/EmptyParserOptions"},"asset/resource":{$ref:"#/definitions/EmptyParserOptions"},"asset/source":{$ref:"#/definitions/EmptyParserOptions"},javascript:{$ref:"#/definitions/JavascriptParserOptions"},"javascript/auto":{$ref:"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{$ref:"#/definitions/JavascriptParserOptions"},"javascript/esm":{$ref:"#/definitions/JavascriptParserOptions"}}},Path:{type:"string",absolutePath:!0},Pathinfo:{anyOf:[{enum:["verbose"]},{type:"boolean"}]},Performance:{anyOf:[{enum:[!1]},{$ref:"#/definitions/PerformanceOptions"}]},PerformanceOptions:{type:"object",additionalProperties:!1,properties:{assetFilter:{instanceof:"Function"},hints:{enum:[!1,"warning","error"]},maxAssetSize:{type:"number"},maxEntrypointSize:{type:"number"}}},Plugins:{type:"array",items:{anyOf:[{$ref:"#/definitions/WebpackPluginInstance"},{$ref:"#/definitions/WebpackPluginFunction"}]}},Profile:{type:"boolean"},PublicPath:{anyOf:[{enum:["auto"]},{$ref:"#/definitions/RawPublicPath"}]},RawPublicPath:{anyOf:[{type:"string"},{instanceof:"Function"}]},RecordsInputPath:{anyOf:[{enum:[!1]},{type:"string",absolutePath:!0}]},RecordsOutputPath:{anyOf:[{enum:[!1]},{type:"string",absolutePath:!0}]},RecordsPath:{anyOf:[{enum:[!1]},{type:"string",absolutePath:!0}]},Resolve:{oneOf:[{$ref:"#/definitions/ResolveOptions"}]},ResolveAlias:{anyOf:[{type:"array",items:{type:"object",additionalProperties:!1,properties:{alias:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{enum:[!1]},{type:"string",minLength:1}]},name:{type:"string"},onlyModule:{type:"boolean"}},required:["alias","name"]}},{type:"object",additionalProperties:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{enum:[!1]},{type:"string",minLength:1}]}}]},ResolveLoader:{oneOf:[{$ref:"#/definitions/ResolveOptions"}]},ResolveOptions:{type:"object",additionalProperties:!1,properties:{alias:{$ref:"#/definitions/ResolveAlias"},aliasFields:{type:"array",items:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]}},byDependency:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/ResolveOptions"}]}},cache:{type:"boolean"},cachePredicate:{instanceof:"Function"},cacheWithContext:{type:"boolean"},conditionNames:{type:"array",items:{type:"string"}},descriptionFiles:{type:"array",items:{type:"string",minLength:1}},enforceExtension:{type:"boolean"},exportsFields:{type:"array",items:{type:"string"}},extensionAlias:{type:"object",additionalProperties:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]}},extensions:{type:"array",items:{type:"string"}},fallback:{oneOf:[{$ref:"#/definitions/ResolveAlias"}]},fileSystem:{},fullySpecified:{type:"boolean"},importsFields:{type:"array",items:{type:"string"}},mainFields:{type:"array",items:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]}},mainFiles:{type:"array",items:{type:"string",minLength:1}},modules:{type:"array",items:{type:"string",minLength:1}},plugins:{type:"array",items:{anyOf:[{enum:["..."]},{$ref:"#/definitions/ResolvePluginInstance"}]}},preferAbsolute:{type:"boolean"},preferRelative:{type:"boolean"},resolver:{},restrictions:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},roots:{type:"array",items:{type:"string"}},symlinks:{type:"boolean"},unsafeCache:{anyOf:[{type:"boolean"},{type:"object",additionalProperties:!0}]},useSyncFileSystemCalls:{type:"boolean"}}},ResolvePluginInstance:{type:"object",additionalProperties:!0,properties:{apply:{instanceof:"Function"}},required:["apply"]},RuleSetCondition:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"},{$ref:"#/definitions/RuleSetLogicalConditions"},{$ref:"#/definitions/RuleSetConditions"}]},RuleSetConditionAbsolute:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0},{instanceof:"Function"},{$ref:"#/definitions/RuleSetLogicalConditionsAbsolute"},{$ref:"#/definitions/RuleSetConditionsAbsolute"}]},RuleSetConditionOrConditions:{anyOf:[{$ref:"#/definitions/RuleSetCondition"},{$ref:"#/definitions/RuleSetConditions"}]},RuleSetConditionOrConditionsAbsolute:{anyOf:[{$ref:"#/definitions/RuleSetConditionAbsolute"},{$ref:"#/definitions/RuleSetConditionsAbsolute"}]},RuleSetConditions:{type:"array",items:{oneOf:[{$ref:"#/definitions/RuleSetCondition"}]}},RuleSetConditionsAbsolute:{type:"array",items:{oneOf:[{$ref:"#/definitions/RuleSetConditionAbsolute"}]}},RuleSetLoader:{type:"string",minLength:1},RuleSetLoaderOptions:{anyOf:[{type:"string"},{type:"object"}]},RuleSetLogicalConditions:{type:"object",additionalProperties:!1,properties:{and:{oneOf:[{$ref:"#/definitions/RuleSetConditions"}]},not:{oneOf:[{$ref:"#/definitions/RuleSetCondition"}]},or:{oneOf:[{$ref:"#/definitions/RuleSetConditions"}]}}},RuleSetLogicalConditionsAbsolute:{type:"object",additionalProperties:!1,properties:{and:{oneOf:[{$ref:"#/definitions/RuleSetConditionsAbsolute"}]},not:{oneOf:[{$ref:"#/definitions/RuleSetConditionAbsolute"}]},or:{oneOf:[{$ref:"#/definitions/RuleSetConditionsAbsolute"}]}}},RuleSetRule:{type:"object",additionalProperties:!1,properties:{assert:{type:"object",additionalProperties:{$ref:"#/definitions/RuleSetConditionOrConditions"}},compiler:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},dependency:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},descriptionData:{type:"object",additionalProperties:{$ref:"#/definitions/RuleSetConditionOrConditions"}},enforce:{enum:["pre","post"]},exclude:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},generator:{type:"object"},include:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},issuer:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},issuerLayer:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},layer:{type:"string"},loader:{oneOf:[{$ref:"#/definitions/RuleSetLoader"}]},mimetype:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},oneOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/RuleSetRule"}]}},options:{oneOf:[{$ref:"#/definitions/RuleSetLoaderOptions"}]},parser:{type:"object",additionalProperties:!0},realResource:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},resolve:{type:"object",oneOf:[{$ref:"#/definitions/ResolveOptions"}]},resource:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},resourceFragment:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},resourceQuery:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},rules:{type:"array",items:{oneOf:[{$ref:"#/definitions/RuleSetRule"}]}},scheme:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},sideEffects:{type:"boolean"},test:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},type:{type:"string"},use:{oneOf:[{$ref:"#/definitions/RuleSetUse"}]}}},RuleSetRules:{type:"array",items:{anyOf:[{enum:["..."]},{$ref:"#/definitions/RuleSetRule"}]}},RuleSetUse:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/RuleSetUseItem"}]}},{instanceof:"Function"},{$ref:"#/definitions/RuleSetUseItem"}]},RuleSetUseItem:{anyOf:[{type:"object",additionalProperties:!1,properties:{ident:{type:"string"},loader:{oneOf:[{$ref:"#/definitions/RuleSetLoader"}]},options:{oneOf:[{$ref:"#/definitions/RuleSetLoaderOptions"}]}}},{instanceof:"Function"},{$ref:"#/definitions/RuleSetLoader"}]},ScriptType:{enum:[!1,"text/javascript","module"]},SnapshotOptions:{type:"object",additionalProperties:!1,properties:{buildDependencies:{type:"object",additionalProperties:!1,properties:{hash:{type:"boolean"},timestamp:{type:"boolean"}}},immutablePaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},managedPaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},module:{type:"object",additionalProperties:!1,properties:{hash:{type:"boolean"},timestamp:{type:"boolean"}}},resolve:{type:"object",additionalProperties:!1,properties:{hash:{type:"boolean"},timestamp:{type:"boolean"}}},resolveBuildDependencies:{type:"object",additionalProperties:!1,properties:{hash:{type:"boolean"},timestamp:{type:"boolean"}}}}},SourceMapFilename:{type:"string",absolutePath:!1},SourcePrefix:{type:"string"},StatsOptions:{type:"object",additionalProperties:!1,properties:{all:{type:"boolean"},assets:{type:"boolean"},assetsSort:{type:"string"},assetsSpace:{type:"number"},builtAt:{type:"boolean"},cached:{type:"boolean"},cachedAssets:{type:"boolean"},cachedModules:{type:"boolean"},children:{type:"boolean"},chunkGroupAuxiliary:{type:"boolean"},chunkGroupChildren:{type:"boolean"},chunkGroupMaxAssets:{type:"number"},chunkGroups:{type:"boolean"},chunkModules:{type:"boolean"},chunkModulesSpace:{type:"number"},chunkOrigins:{type:"boolean"},chunkRelations:{type:"boolean"},chunks:{type:"boolean"},chunksSort:{type:"string"},colors:{anyOf:[{type:"boolean"},{type:"object",additionalProperties:!1,properties:{bold:{type:"string"},cyan:{type:"string"},green:{type:"string"},magenta:{type:"string"},red:{type:"string"},yellow:{type:"string"}}}]},context:{type:"string",absolutePath:!0},dependentModules:{type:"boolean"},depth:{type:"boolean"},entrypoints:{anyOf:[{enum:["auto"]},{type:"boolean"}]},env:{type:"boolean"},errorDetails:{anyOf:[{enum:["auto"]},{type:"boolean"}]},errorStack:{type:"boolean"},errors:{type:"boolean"},errorsCount:{type:"boolean"},errorsSpace:{type:"number"},exclude:{anyOf:[{type:"boolean"},{$ref:"#/definitions/ModuleFilterTypes"}]},excludeAssets:{oneOf:[{$ref:"#/definitions/AssetFilterTypes"}]},excludeModules:{anyOf:[{type:"boolean"},{$ref:"#/definitions/ModuleFilterTypes"}]},groupAssetsByChunk:{type:"boolean"},groupAssetsByEmitStatus:{type:"boolean"},groupAssetsByExtension:{type:"boolean"},groupAssetsByInfo:{type:"boolean"},groupAssetsByPath:{type:"boolean"},groupModulesByAttributes:{type:"boolean"},groupModulesByCacheStatus:{type:"boolean"},groupModulesByExtension:{type:"boolean"},groupModulesByLayer:{type:"boolean"},groupModulesByPath:{type:"boolean"},groupModulesByType:{type:"boolean"},groupReasonsByOrigin:{type:"boolean"},hash:{type:"boolean"},ids:{type:"boolean"},logging:{anyOf:[{enum:["none","error","warn","info","log","verbose"]},{type:"boolean"}]},loggingDebug:{anyOf:[{type:"boolean"},{$ref:"#/definitions/FilterTypes"}]},loggingTrace:{type:"boolean"},moduleAssets:{type:"boolean"},moduleTrace:{type:"boolean"},modules:{type:"boolean"},modulesSort:{type:"string"},modulesSpace:{type:"number"},nestedModules:{type:"boolean"},nestedModulesSpace:{type:"number"},optimizationBailout:{type:"boolean"},orphanModules:{type:"boolean"},outputPath:{type:"boolean"},performance:{type:"boolean"},preset:{anyOf:[{type:"boolean"},{type:"string"}]},providedExports:{type:"boolean"},publicPath:{type:"boolean"},reasons:{type:"boolean"},reasonsSpace:{type:"number"},relatedAssets:{type:"boolean"},runtime:{type:"boolean"},runtimeModules:{type:"boolean"},source:{type:"boolean"},timings:{type:"boolean"},usedExports:{type:"boolean"},version:{type:"boolean"},warnings:{type:"boolean"},warningsCount:{type:"boolean"},warningsFilter:{oneOf:[{$ref:"#/definitions/WarningFilterTypes"}]},warningsSpace:{type:"number"}}},StatsValue:{anyOf:[{enum:["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{type:"boolean"},{$ref:"#/definitions/StatsOptions"}]},StrictModuleErrorHandling:{type:"boolean"},StrictModuleExceptionHandling:{type:"boolean"},Target:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1},{enum:[!1]},{type:"string",minLength:1}]},TrustedTypes:{type:"object",additionalProperties:!1,properties:{onPolicyCreationFailure:{enum:["continue","stop"]},policyName:{type:"string",minLength:1}}},UmdNamedDefine:{type:"boolean"},UniqueName:{type:"string",minLength:1},WarningFilterItemTypes:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!1},{instanceof:"Function"}]},WarningFilterTypes:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/WarningFilterItemTypes"}]}},{$ref:"#/definitions/WarningFilterItemTypes"}]},WasmLoading:{anyOf:[{enum:[!1]},{$ref:"#/definitions/WasmLoadingType"}]},WasmLoadingType:{anyOf:[{enum:["fetch-streaming","fetch","async-node"]},{type:"string"}]},Watch:{type:"boolean"},WatchOptions:{type:"object",additionalProperties:!1,properties:{aggregateTimeout:{type:"number"},followSymlinks:{type:"boolean"},ignored:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{instanceof:"RegExp"},{type:"string",minLength:1}]},poll:{anyOf:[{type:"number"},{type:"boolean"}]},stdin:{type:"boolean"}}},WebassemblyModuleFilename:{type:"string",absolutePath:!1},WebpackOptionsNormalized:{type:"object",additionalProperties:!1,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/ExperimentsNormalized"},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/ModuleOptionsNormalized"},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:{instanceof:"Function"},WebpackPluginInstance:{type:"object",additionalProperties:!0,properties:{apply:{instanceof:"Function"}},required:["apply"]},WorkerPublicPath:{type:"string"}},type:"object",additionalProperties:!1,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"},extends:{$ref:"#/definitions/Extends"},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"}}},P=Object.prototype.hasOwnProperty,R={type:"object",additionalProperties:!1,properties:{allowCollectingMemory:{type:"boolean"},buildDependencies:{type:"object",additionalProperties:{type:"array",items:{type:"string",minLength:1}}},cacheDirectory:{type:"string",absolutePath:!0},cacheLocation:{type:"string",absolutePath:!0},compression:{enum:[!1,"gzip","brotli"]},hashAlgorithm:{type:"string"},idleTimeout:{type:"number",minimum:0},idleTimeoutAfterLargeChanges:{type:"number",minimum:0},idleTimeoutForInitialStore:{type:"number",minimum:0},immutablePaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},managedPaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},maxAge:{type:"number",minimum:0},maxMemoryGenerations:{type:"number",minimum:0},memoryCacheUnaffected:{type:"boolean"},name:{type:"string"},profile:{type:"boolean"},readonly:{type:"boolean"},store:{enum:["pack"]},type:{enum:["filesystem"]},version:{type:"string"}},required:["type"]};function o(k,{instancePath:E="",parentData:L,parentDataProperty:N,rootData:q=k}={}){let ae=null,le=0;const pe=le;let me=!1;const ye=le;if(!1!==k){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}var _e=ye===le;if(me=me||_e,!me){const E=le;if(le==le)if(k&&"object"==typeof k&&!Array.isArray(k)){let v;if(void 0===k.type&&(v="type")){const k={params:{missingProperty:v}};null===ae?ae=[k]:ae.push(k),le++}else{const v=le;for(const v in k)if("cacheUnaffected"!==v&&"maxGenerations"!==v&&"type"!==v){const k={params:{additionalProperty:v}};null===ae?ae=[k]:ae.push(k),le++;break}if(v===le){if(void 0!==k.cacheUnaffected){const v=le;if("boolean"!=typeof k.cacheUnaffected){const k={params:{type:"boolean"}};null===ae?ae=[k]:ae.push(k),le++}var Ie=v===le}else Ie=!0;if(Ie){if(void 0!==k.maxGenerations){let v=k.maxGenerations;const E=le;if(le===E)if("number"==typeof v){if(v<1||isNaN(v)){const k={params:{comparison:">=",limit:1}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"number"}};null===ae?ae=[k]:ae.push(k),le++}Ie=E===le}else Ie=!0;if(Ie)if(void 0!==k.type){const v=le;if("memory"!==k.type){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}Ie=v===le}else Ie=!0}}}}else{const k={params:{type:"object"}};null===ae?ae=[k]:ae.push(k),le++}if(_e=E===le,me=me||_e,!me){const E=le;if(le==le)if(k&&"object"==typeof k&&!Array.isArray(k)){let E;if(void 0===k.type&&(E="type")){const k={params:{missingProperty:E}};null===ae?ae=[k]:ae.push(k),le++}else{const E=le;for(const v in k)if(!P.call(R.properties,v)){const k={params:{additionalProperty:v}};null===ae?ae=[k]:ae.push(k),le++;break}if(E===le){if(void 0!==k.allowCollectingMemory){const v=le;if("boolean"!=typeof k.allowCollectingMemory){const k={params:{type:"boolean"}};null===ae?ae=[k]:ae.push(k),le++}var Me=v===le}else Me=!0;if(Me){if(void 0!==k.buildDependencies){let v=k.buildDependencies;const E=le;if(le===E)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){let E=v[k];const P=le;if(le===P)if(Array.isArray(E)){const k=E.length;for(let v=0;v=",limit:0}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"number"}};null===ae?ae=[k]:ae.push(k),le++}Me=E===le}else Me=!0;if(Me){if(void 0!==k.idleTimeoutAfterLargeChanges){let v=k.idleTimeoutAfterLargeChanges;const E=le;if(le===E)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"number"}};null===ae?ae=[k]:ae.push(k),le++}Me=E===le}else Me=!0;if(Me){if(void 0!==k.idleTimeoutForInitialStore){let v=k.idleTimeoutForInitialStore;const E=le;if(le===E)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"number"}};null===ae?ae=[k]:ae.push(k),le++}Me=E===le}else Me=!0;if(Me){if(void 0!==k.immutablePaths){let E=k.immutablePaths;const P=le;if(le===P)if(Array.isArray(E)){const k=E.length;for(let P=0;P=",limit:0}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"number"}};null===ae?ae=[k]:ae.push(k),le++}Me=E===le}else Me=!0;if(Me){if(void 0!==k.maxMemoryGenerations){let v=k.maxMemoryGenerations;const E=le;if(le===E)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"number"}};null===ae?ae=[k]:ae.push(k),le++}Me=E===le}else Me=!0;if(Me){if(void 0!==k.memoryCacheUnaffected){const v=le;if("boolean"!=typeof k.memoryCacheUnaffected){const k={params:{type:"boolean"}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0;if(Me){if(void 0!==k.name){const v=le;if("string"!=typeof k.name){const k={params:{type:"string"}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0;if(Me){if(void 0!==k.profile){const v=le;if("boolean"!=typeof k.profile){const k={params:{type:"boolean"}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0;if(Me){if(void 0!==k.readonly){const v=le;if("boolean"!=typeof k.readonly){const k={params:{type:"boolean"}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0;if(Me){if(void 0!==k.store){const v=le;if("pack"!==k.store){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0;if(Me){if(void 0!==k.type){const v=le;if("filesystem"!==k.type){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0;if(Me)if(void 0!==k.version){const v=le;if("string"!=typeof k.version){const k={params:{type:"string"}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0}}}}}}}}}}}}}}}}}}}}}else{const k={params:{type:"object"}};null===ae?ae=[k]:ae.push(k),le++}_e=E===le,me=me||_e}}if(!me){const k={params:{}};return null===ae?ae=[k]:ae.push(k),le++,o.errors=ae,!1}return le=pe,null!==ae&&(pe?ae.length=pe:ae=null),o.errors=ae,0===le}function s(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if(!0!==k){const k={params:{}};null===L?L=[k]:L.push(k),N++}var pe=le===N;if(ae=ae||pe,!ae){const q=N;o(k,{instancePath:v,parentData:E,parentDataProperty:P,rootData:R})||(L=null===L?o.errors:L.concat(o.errors),N=L.length),pe=q===N,ae=ae||pe}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,s.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),s.errors=L,0===N}const L={type:"object",additionalProperties:!1,properties:{asyncChunks:{type:"boolean"},baseUri:{type:"string"},chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},filename:{$ref:"#/definitions/EntryFilename"},import:{$ref:"#/definitions/EntryItem"},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}},required:["import"]};function a(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if(!1!==k){const k={params:{}};null===L?L=[k]:L.push(k),N++}var pe=le===N;if(ae=ae||pe,!ae){const v=N,E=N;let P=!1;const R=N;if("jsonp"!==k&&"import-scripts"!==k&&"require"!==k&&"async-node"!==k&&"import"!==k){const k={params:{}};null===L?L=[k]:L.push(k),N++}var me=R===N;if(P=P||me,!P){const v=N;if("string"!=typeof k){const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}me=v===N,P=P||me}if(P)N=E,null!==L&&(E?L.length=E:L=null);else{const k={params:{}};null===L?L=[k]:L.push(k),N++}pe=v===N,ae=ae||pe}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,a.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),a.errors=L,0===N}function l(k,{instancePath:E="",parentData:P,parentDataProperty:R,rootData:L=k}={}){let N=null,q=0;const ae=q;let le=!1,pe=null;const me=q,ye=q;let _e=!1;const Ie=q;if(q===Ie)if("string"==typeof k){if(k.includes("!")||!1!==v.test(k)){const k={params:{}};null===N?N=[k]:N.push(k),q++}else if(k.length<1){const k={params:{}};null===N?N=[k]:N.push(k),q++}}else{const k={params:{type:"string"}};null===N?N=[k]:N.push(k),q++}var Me=Ie===q;if(_e=_e||Me,!_e){const v=q;if(!(k instanceof Function)){const k={params:{}};null===N?N=[k]:N.push(k),q++}Me=v===q,_e=_e||Me}if(_e)q=ye,null!==N&&(ye?N.length=ye:N=null);else{const k={params:{}};null===N?N=[k]:N.push(k),q++}if(me===q&&(le=!0,pe=0),!le){const k={params:{passingSchemas:pe}};return null===N?N=[k]:N.push(k),q++,l.errors=N,!1}return q=ae,null!==N&&(ae?N.length=ae:N=null),l.errors=N,0===q}function p(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if("string"!=typeof k){const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}var pe=le===N;if(ae=ae||pe,!ae){const v=N;if(N==N)if(k&&"object"==typeof k&&!Array.isArray(k)){const v=N;for(const v in k)if("amd"!==v&&"commonjs"!==v&&"commonjs2"!==v&&"root"!==v){const k={params:{additionalProperty:v}};null===L?L=[k]:L.push(k),N++;break}if(v===N){if(void 0!==k.amd){const v=N;if("string"!=typeof k.amd){const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}var me=v===N}else me=!0;if(me){if(void 0!==k.commonjs){const v=N;if("string"!=typeof k.commonjs){const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}me=v===N}else me=!0;if(me){if(void 0!==k.commonjs2){const v=N;if("string"!=typeof k.commonjs2){const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}me=v===N}else me=!0;if(me)if(void 0!==k.root){const v=N;if("string"!=typeof k.root){const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}me=v===N}else me=!0}}}}else{const k={params:{type:"object"}};null===L?L=[k]:L.push(k),N++}pe=v===N,ae=ae||pe}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,p.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),p.errors=L,0===N}function f(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if(N===le)if(Array.isArray(k))if(k.length<1){const k={params:{limit:1}};null===L?L=[k]:L.push(k),N++}else{const v=k.length;for(let E=0;E1){const P={};for(;E--;){let R=v[E];if("string"==typeof R){if("number"==typeof P[R]){k=P[R];const v={params:{i:E,j:k}};null===q?q=[v]:q.push(v),ae++;break}P[R]=E}}}}}else{const k={params:{type:"array"}};null===q?q=[k]:q.push(k),ae++}var me=L===ae;if(R=R||me,!R){const k=ae;if(ae===k)if("string"==typeof v){if(v.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}me=k===ae,R=R||me}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,m.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.filename){const E=ae;l(k.filename,{instancePath:v+"/filename",parentData:k,parentDataProperty:"filename",rootData:N})||(q=null===q?l.errors:q.concat(l.errors),ae=q.length),le=E===ae}else le=!0;if(le){if(void 0!==k.import){let v=k.import;const E=ae,P=ae;let R=!1;const L=ae;if(ae===L)if(Array.isArray(v))if(v.length<1){const k={params:{limit:1}};null===q?q=[k]:q.push(k),ae++}else{var ye=!0;const k=v.length;for(let E=0;E1){const P={};for(;E--;){let R=v[E];if("string"==typeof R){if("number"==typeof P[R]){k=P[R];const v={params:{i:E,j:k}};null===q?q=[v]:q.push(v),ae++;break}P[R]=E}}}}}else{const k={params:{type:"array"}};null===q?q=[k]:q.push(k),ae++}var _e=L===ae;if(R=R||_e,!R){const k=ae;if(ae===k)if("string"==typeof v){if(v.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}_e=k===ae,R=R||_e}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,m.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.layer){let v=k.layer;const E=ae,P=ae;let R=!1;const L=ae;if(null!==v){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var Ie=L===ae;if(R=R||Ie,!R){const k=ae;if(ae===k)if("string"==typeof v){if(v.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}Ie=k===ae,R=R||Ie}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,m.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.library){const E=ae;u(k.library,{instancePath:v+"/library",parentData:k,parentDataProperty:"library",rootData:N})||(q=null===q?u.errors:q.concat(u.errors),ae=q.length),le=E===ae}else le=!0;if(le){if(void 0!==k.publicPath){const E=ae;c(k.publicPath,{instancePath:v+"/publicPath",parentData:k,parentDataProperty:"publicPath",rootData:N})||(q=null===q?c.errors:q.concat(c.errors),ae=q.length),le=E===ae}else le=!0;if(le){if(void 0!==k.runtime){let v=k.runtime;const E=ae,P=ae;let R=!1;const L=ae;if(!1!==v){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var Me=L===ae;if(R=R||Me,!R){const k=ae;if(ae===k)if("string"==typeof v){if(v.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}Me=k===ae,R=R||Me}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,m.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le)if(void 0!==k.wasmLoading){const E=ae;y(k.wasmLoading,{instancePath:v+"/wasmLoading",parentData:k,parentDataProperty:"wasmLoading",rootData:N})||(q=null===q?y.errors:q.concat(y.errors),ae=q.length),le=E===ae}else le=!0}}}}}}}}}}}}}return m.errors=q,0===ae}function d(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;if(0===N){if(!k||"object"!=typeof k||Array.isArray(k))return d.errors=[{params:{type:"object"}}],!1;for(const E in k){let P=k[E];const pe=N,me=N;let ye=!1;const _e=N,Ie=N;let Me=!1;const Te=N;if(N===Te)if(Array.isArray(P))if(P.length<1){const k={params:{limit:1}};null===L?L=[k]:L.push(k),N++}else{var q=!0;const k=P.length;for(let v=0;v1){const E={};for(;v--;){let R=P[v];if("string"==typeof R){if("number"==typeof E[R]){k=E[R];const P={params:{i:v,j:k}};null===L?L=[P]:L.push(P),N++;break}E[R]=v}}}}}else{const k={params:{type:"array"}};null===L?L=[k]:L.push(k),N++}var ae=Te===N;if(Me=Me||ae,!Me){const k=N;if(N===k)if("string"==typeof P){if(P.length<1){const k={params:{}};null===L?L=[k]:L.push(k),N++}}else{const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}ae=k===N,Me=Me||ae}if(Me)N=Ie,null!==L&&(Ie?L.length=Ie:L=null);else{const k={params:{}};null===L?L=[k]:L.push(k),N++}var le=_e===N;if(ye=ye||le,!ye){const q=N;m(P,{instancePath:v+"/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:k,parentDataProperty:E,rootData:R})||(L=null===L?m.errors:L.concat(m.errors),N=L.length),le=q===N,ye=ye||le}if(!ye){const k={params:{}};return null===L?L=[k]:L.push(k),N++,d.errors=L,!1}if(N=me,null!==L&&(me?L.length=me:L=null),pe!==N)break}}return d.errors=L,0===N}function h(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1,le=null;const pe=N,me=N;let ye=!1;const _e=N;if(N===_e)if(Array.isArray(k))if(k.length<1){const k={params:{limit:1}};null===L?L=[k]:L.push(k),N++}else{var Ie=!0;const v=k.length;for(let E=0;E1){const P={};for(;E--;){let R=k[E];if("string"==typeof R){if("number"==typeof P[R]){v=P[R];const k={params:{i:E,j:v}};null===L?L=[k]:L.push(k),N++;break}P[R]=E}}}}}else{const k={params:{type:"array"}};null===L?L=[k]:L.push(k),N++}var Me=_e===N;if(ye=ye||Me,!ye){const v=N;if(N===v)if("string"==typeof k){if(k.length<1){const k={params:{}};null===L?L=[k]:L.push(k),N++}}else{const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}Me=v===N,ye=ye||Me}if(ye)N=me,null!==L&&(me?L.length=me:L=null);else{const k={params:{}};null===L?L=[k]:L.push(k),N++}if(pe===N&&(ae=!0,le=0),!ae){const k={params:{passingSchemas:le}};return null===L?L=[k]:L.push(k),N++,h.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),h.errors=L,0===N}function g(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;d(k,{instancePath:v,parentData:E,parentDataProperty:P,rootData:R})||(L=null===L?d.errors:L.concat(d.errors),N=L.length);var pe=le===N;if(ae=ae||pe,!ae){const q=N;h(k,{instancePath:v,parentData:E,parentDataProperty:P,rootData:R})||(L=null===L?h.errors:L.concat(h.errors),N=L.length),pe=q===N,ae=ae||pe}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,g.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),g.errors=L,0===N}function b(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if(!(k instanceof Function)){const k={params:{}};null===L?L=[k]:L.push(k),N++}var pe=le===N;if(ae=ae||pe,!ae){const q=N;g(k,{instancePath:v,parentData:E,parentDataProperty:P,rootData:R})||(L=null===L?g.errors:L.concat(g.errors),N=L.length),pe=q===N,ae=ae||pe}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,b.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),b.errors=L,0===N}const N={type:"object",additionalProperties:!1,properties:{asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},buildHttp:{anyOf:[{$ref:"#/definitions/HttpUriAllowedUris"},{$ref:"#/definitions/HttpUriOptions"}]},cacheUnaffected:{type:"boolean"},css:{anyOf:[{type:"boolean"},{$ref:"#/definitions/CssExperimentOptions"}]},futureDefaults:{type:"boolean"},layers:{type:"boolean"},lazyCompilation:{anyOf:[{type:"boolean"},{$ref:"#/definitions/LazyCompilationOptions"}]},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}}},q=new RegExp("^https?://","u");function D(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const ae=N;let le=!1,pe=null;const me=N;if(N==N)if(Array.isArray(k)){const v=k.length;for(let E=0;E=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var me=_e===ae;if(ye=ye||me,!ye){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}me=k===ae,ye=ye||me}if(ye)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.filename){let E=k.filename;const P=ae,R=ae;let L=!1;const N=ae;if(ae===N)if("string"==typeof E){if(E.includes("!")||!1!==v.test(E)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}else if(E.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}var ye=N===ae;if(L=L||ye,!L){const k=ae;if(!(E instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}ye=k===ae,L=L||ye}if(!L){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=R,null!==q&&(R?q.length=R:q=null),le=P===ae}else le=!0;if(le){if(void 0!==k.idHint){const v=ae;if("string"!=typeof k.idHint)return fe.errors=[{params:{type:"string"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.layer){let v=k.layer;const E=ae,P=ae;let R=!1;const L=ae;if(!(v instanceof RegExp)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var _e=L===ae;if(R=R||_e,!R){const k=ae;if("string"!=typeof v){const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}if(_e=k===ae,R=R||_e,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}_e=k===ae,R=R||_e}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.maxAsyncRequests){let v=k.maxAsyncRequests;const E=ae;if(ae===E){if("number"!=typeof v)return fe.errors=[{params:{type:"number"}}],!1;if(v<1||isNaN(v))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.maxAsyncSize){let v=k.maxAsyncSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Ie=ye===ae;if(me=me||Ie,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Ie=k===ae,me=me||Ie}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.maxInitialRequests){let v=k.maxInitialRequests;const E=ae;if(ae===E){if("number"!=typeof v)return fe.errors=[{params:{type:"number"}}],!1;if(v<1||isNaN(v))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.maxInitialSize){let v=k.maxInitialSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Me=ye===ae;if(me=me||Me,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Me=k===ae,me=me||Me}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.maxSize){let v=k.maxSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Te=ye===ae;if(me=me||Te,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Te=k===ae,me=me||Te}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.minChunks){let v=k.minChunks;const E=ae;if(ae===E){if("number"!=typeof v)return fe.errors=[{params:{type:"number"}}],!1;if(v<1||isNaN(v))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.minRemainingSize){let v=k.minRemainingSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var je=ye===ae;if(me=me||je,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}je=k===ae,me=me||je}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.minSize){let v=k.minSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Be=ye===ae;if(me=me||Be,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Be=k===ae,me=me||Be}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.minSizeReduction){let v=k.minSizeReduction;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var qe=ye===ae;if(me=me||qe,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}qe=k===ae,me=me||qe}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.name){let v=k.name;const E=ae,P=ae;let R=!1;const L=ae;if(!1!==v){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var Ue=L===ae;if(R=R||Ue,!R){const k=ae;if("string"!=typeof v){const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}if(Ue=k===ae,R=R||Ue,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}Ue=k===ae,R=R||Ue}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.priority){const v=ae;if("number"!=typeof k.priority)return fe.errors=[{params:{type:"number"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.reuseExistingChunk){const v=ae;if("boolean"!=typeof k.reuseExistingChunk)return fe.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.test){let v=k.test;const E=ae,P=ae;let R=!1;const L=ae;if(!(v instanceof RegExp)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var Ge=L===ae;if(R=R||Ge,!R){const k=ae;if("string"!=typeof v){const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}if(Ge=k===ae,R=R||Ge,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}Ge=k===ae,R=R||Ge}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.type){let v=k.type;const E=ae,P=ae;let R=!1;const L=ae;if(!(v instanceof RegExp)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var He=L===ae;if(R=R||He,!R){const k=ae;if("string"!=typeof v){const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}if(He=k===ae,R=R||He,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}He=k===ae,R=R||He}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le)if(void 0!==k.usedExports){const v=ae;if("boolean"!=typeof k.usedExports)return fe.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0}}}}}}}}}}}}}}}}}}}}}}}return fe.errors=q,0===ae}function ue(k,{instancePath:E="",parentData:R,parentDataProperty:L,rootData:N=k}={}){let q=null,ae=0;if(0===ae){if(!k||"object"!=typeof k||Array.isArray(k))return ue.errors=[{params:{type:"object"}}],!1;{const R=ae;for(const v in k)if(!P.call(je.properties,v))return ue.errors=[{params:{additionalProperty:v}}],!1;if(R===ae){if(void 0!==k.automaticNameDelimiter){let v=k.automaticNameDelimiter;const E=ae;if(ae===E){if("string"!=typeof v)return ue.errors=[{params:{type:"string"}}],!1;if(v.length<1)return ue.errors=[{params:{}}],!1}var le=E===ae}else le=!0;if(le){if(void 0!==k.cacheGroups){let v=k.cacheGroups;const P=ae,R=ae,L=ae;if(ae===L)if(v&&"object"==typeof v&&!Array.isArray(v)){let k;if(void 0===v.test&&(k="test")){const k={};null===q?q=[k]:q.push(k),ae++}else if(void 0!==v.test){let k=v.test;const E=ae;let P=!1;const R=ae;if(!(k instanceof RegExp)){const k={};null===q?q=[k]:q.push(k),ae++}var pe=R===ae;if(P=P||pe,!P){const v=ae;if("string"!=typeof k){const k={};null===q?q=[k]:q.push(k),ae++}if(pe=v===ae,P=P||pe,!P){const v=ae;if(!(k instanceof Function)){const k={};null===q?q=[k]:q.push(k),ae++}pe=v===ae,P=P||pe}}if(P)ae=E,null!==q&&(E?q.length=E:q=null);else{const k={};null===q?q=[k]:q.push(k),ae++}}}else{const k={};null===q?q=[k]:q.push(k),ae++}if(L===ae)return ue.errors=[{params:{}}],!1;if(ae=R,null!==q&&(R?q.length=R:q=null),ae===P){if(!v||"object"!=typeof v||Array.isArray(v))return ue.errors=[{params:{type:"object"}}],!1;for(const k in v){let P=v[k];const R=ae,L=ae;let le=!1;const pe=ae;if(!1!==P){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var me=pe===ae;if(le=le||me,!le){const R=ae;if(!(P instanceof RegExp)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(me=R===ae,le=le||me,!le){const R=ae;if("string"!=typeof P){const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}if(me=R===ae,le=le||me,!le){const R=ae;if(!(P instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(me=R===ae,le=le||me,!le){const R=ae;fe(P,{instancePath:E+"/cacheGroups/"+k.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:v,parentDataProperty:k,rootData:N})||(q=null===q?fe.errors:q.concat(fe.errors),ae=q.length),me=R===ae,le=le||me}}}}if(!le){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}if(ae=L,null!==q&&(L?q.length=L:q=null),R!==ae)break}}le=P===ae}else le=!0;if(le){if(void 0!==k.chunks){let v=k.chunks;const E=ae,P=ae;let R=!1;const L=ae;if("initial"!==v&&"async"!==v&&"all"!==v){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var ye=L===ae;if(R=R||ye,!R){const k=ae;if(!(v instanceof RegExp)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(ye=k===ae,R=R||ye,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}ye=k===ae,R=R||ye}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.defaultSizeTypes){let v=k.defaultSizeTypes;const E=ae;if(ae===E){if(!Array.isArray(v))return ue.errors=[{params:{type:"array"}}],!1;if(v.length<1)return ue.errors=[{params:{limit:1}}],!1;{const k=v.length;for(let E=0;E=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var _e=ye===ae;if(me=me||_e,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}_e=k===ae,me=me||_e}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.fallbackCacheGroup){let v=k.fallbackCacheGroup;const E=ae;if(ae===E){if(!v||"object"!=typeof v||Array.isArray(v))return ue.errors=[{params:{type:"object"}}],!1;{const k=ae;for(const k in v)if("automaticNameDelimiter"!==k&&"chunks"!==k&&"maxAsyncSize"!==k&&"maxInitialSize"!==k&&"maxSize"!==k&&"minSize"!==k&&"minSizeReduction"!==k)return ue.errors=[{params:{additionalProperty:k}}],!1;if(k===ae){if(void 0!==v.automaticNameDelimiter){let k=v.automaticNameDelimiter;const E=ae;if(ae===E){if("string"!=typeof k)return ue.errors=[{params:{type:"string"}}],!1;if(k.length<1)return ue.errors=[{params:{}}],!1}var Ie=E===ae}else Ie=!0;if(Ie){if(void 0!==v.chunks){let k=v.chunks;const E=ae,P=ae;let R=!1;const L=ae;if("initial"!==k&&"async"!==k&&"all"!==k){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var Me=L===ae;if(R=R||Me,!R){const v=ae;if(!(k instanceof RegExp)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(Me=v===ae,R=R||Me,!R){const v=ae;if(!(k instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}Me=v===ae,R=R||Me}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),Ie=E===ae}else Ie=!0;if(Ie){if(void 0!==v.maxAsyncSize){let k=v.maxAsyncSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,le=ae;let pe=!1;const me=ae;if(ae===me)if("number"==typeof k){if(k<0||isNaN(k)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Te=me===ae;if(pe=pe||Te,!pe){const v=ae;if(ae===v)if(k&&"object"==typeof k&&!Array.isArray(k))for(const v in k){const E=ae;if("number"!=typeof k[v]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Te=v===ae,pe=pe||Te}if(pe)ae=le,null!==q&&(le?q.length=le:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),Ie=E===ae}else Ie=!0;if(Ie){if(void 0!==v.maxInitialSize){let k=v.maxInitialSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,le=ae;let pe=!1;const me=ae;if(ae===me)if("number"==typeof k){if(k<0||isNaN(k)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Ne=me===ae;if(pe=pe||Ne,!pe){const v=ae;if(ae===v)if(k&&"object"==typeof k&&!Array.isArray(k))for(const v in k){const E=ae;if("number"!=typeof k[v]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Ne=v===ae,pe=pe||Ne}if(pe)ae=le,null!==q&&(le?q.length=le:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),Ie=E===ae}else Ie=!0;if(Ie){if(void 0!==v.maxSize){let k=v.maxSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,le=ae;let pe=!1;const me=ae;if(ae===me)if("number"==typeof k){if(k<0||isNaN(k)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Be=me===ae;if(pe=pe||Be,!pe){const v=ae;if(ae===v)if(k&&"object"==typeof k&&!Array.isArray(k))for(const v in k){const E=ae;if("number"!=typeof k[v]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Be=v===ae,pe=pe||Be}if(pe)ae=le,null!==q&&(le?q.length=le:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),Ie=E===ae}else Ie=!0;if(Ie){if(void 0!==v.minSize){let k=v.minSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,le=ae;let pe=!1;const me=ae;if(ae===me)if("number"==typeof k){if(k<0||isNaN(k)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var qe=me===ae;if(pe=pe||qe,!pe){const v=ae;if(ae===v)if(k&&"object"==typeof k&&!Array.isArray(k))for(const v in k){const E=ae;if("number"!=typeof k[v]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}qe=v===ae,pe=pe||qe}if(pe)ae=le,null!==q&&(le?q.length=le:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),Ie=E===ae}else Ie=!0;if(Ie)if(void 0!==v.minSizeReduction){let k=v.minSizeReduction;const E=ae,P=ae;let R=!1,L=null;const N=ae,le=ae;let pe=!1;const me=ae;if(ae===me)if("number"==typeof k){if(k<0||isNaN(k)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Ue=me===ae;if(pe=pe||Ue,!pe){const v=ae;if(ae===v)if(k&&"object"==typeof k&&!Array.isArray(k))for(const v in k){const E=ae;if("number"!=typeof k[v]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Ue=v===ae,pe=pe||Ue}if(pe)ae=le,null!==q&&(le?q.length=le:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),Ie=E===ae}else Ie=!0}}}}}}}}le=E===ae}else le=!0;if(le){if(void 0!==k.filename){let E=k.filename;const P=ae,R=ae;let L=!1;const N=ae;if(ae===N)if("string"==typeof E){if(E.includes("!")||!1!==v.test(E)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}else if(E.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}var Ge=N===ae;if(L=L||Ge,!L){const k=ae;if(!(E instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}Ge=k===ae,L=L||Ge}if(!L){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=R,null!==q&&(R?q.length=R:q=null),le=P===ae}else le=!0;if(le){if(void 0!==k.hidePathInfo){const v=ae;if("boolean"!=typeof k.hidePathInfo)return ue.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.maxAsyncRequests){let v=k.maxAsyncRequests;const E=ae;if(ae===E){if("number"!=typeof v)return ue.errors=[{params:{type:"number"}}],!1;if(v<1||isNaN(v))return ue.errors=[{params:{comparison:">=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.maxAsyncSize){let v=k.maxAsyncSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var He=ye===ae;if(me=me||He,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}He=k===ae,me=me||He}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.maxInitialRequests){let v=k.maxInitialRequests;const E=ae;if(ae===E){if("number"!=typeof v)return ue.errors=[{params:{type:"number"}}],!1;if(v<1||isNaN(v))return ue.errors=[{params:{comparison:">=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.maxInitialSize){let v=k.maxInitialSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var We=ye===ae;if(me=me||We,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}We=k===ae,me=me||We}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.maxSize){let v=k.maxSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Qe=ye===ae;if(me=me||Qe,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Qe=k===ae,me=me||Qe}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.minChunks){let v=k.minChunks;const E=ae;if(ae===E){if("number"!=typeof v)return ue.errors=[{params:{type:"number"}}],!1;if(v<1||isNaN(v))return ue.errors=[{params:{comparison:">=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.minRemainingSize){let v=k.minRemainingSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Je=ye===ae;if(me=me||Je,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Je=k===ae,me=me||Je}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.minSize){let v=k.minSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Ve=ye===ae;if(me=me||Ve,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Ve=k===ae,me=me||Ve}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.minSizeReduction){let v=k.minSizeReduction;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Ke=ye===ae;if(me=me||Ke,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Ke=k===ae,me=me||Ke}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.name){let v=k.name;const E=ae,P=ae;let R=!1;const L=ae;if(!1!==v){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var Ye=L===ae;if(R=R||Ye,!R){const k=ae;if("string"!=typeof v){const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}if(Ye=k===ae,R=R||Ye,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}Ye=k===ae,R=R||Ye}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le)if(void 0!==k.usedExports){const v=ae;if("boolean"!=typeof k.usedExports)return ue.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0}}}}}}}}}}}}}}}}}}}}return ue.errors=q,0===ae}function ce(k,{instancePath:v="",parentData:E,parentDataProperty:R,rootData:L=k}={}){let N=null,q=0;if(0===q){if(!k||"object"!=typeof k||Array.isArray(k))return ce.errors=[{params:{type:"object"}}],!1;{const E=q;for(const v in k)if(!P.call(Te.properties,v))return ce.errors=[{params:{additionalProperty:v}}],!1;if(E===q){if(void 0!==k.checkWasmTypes){const v=q;if("boolean"!=typeof k.checkWasmTypes)return ce.errors=[{params:{type:"boolean"}}],!1;var ae=v===q}else ae=!0;if(ae){if(void 0!==k.chunkIds){let v=k.chunkIds;const E=q;if("natural"!==v&&"named"!==v&&"deterministic"!==v&&"size"!==v&&"total-size"!==v&&!1!==v)return ce.errors=[{params:{}}],!1;ae=E===q}else ae=!0;if(ae){if(void 0!==k.concatenateModules){const v=q;if("boolean"!=typeof k.concatenateModules)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.emitOnErrors){const v=q;if("boolean"!=typeof k.emitOnErrors)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.flagIncludedChunks){const v=q;if("boolean"!=typeof k.flagIncludedChunks)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.innerGraph){const v=q;if("boolean"!=typeof k.innerGraph)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.mangleExports){let v=k.mangleExports;const E=q,P=q;let R=!1;const L=q;if("size"!==v&&"deterministic"!==v){const k={params:{}};null===N?N=[k]:N.push(k),q++}var le=L===q;if(R=R||le,!R){const k=q;if("boolean"!=typeof v){const k={params:{type:"boolean"}};null===N?N=[k]:N.push(k),q++}le=k===q,R=R||le}if(!R){const k={params:{}};return null===N?N=[k]:N.push(k),q++,ce.errors=N,!1}q=P,null!==N&&(P?N.length=P:N=null),ae=E===q}else ae=!0;if(ae){if(void 0!==k.mangleWasmImports){const v=q;if("boolean"!=typeof k.mangleWasmImports)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.mergeDuplicateChunks){const v=q;if("boolean"!=typeof k.mergeDuplicateChunks)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.minimize){const v=q;if("boolean"!=typeof k.minimize)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.minimizer){let v=k.minimizer;const E=q;if(q===E){if(!Array.isArray(v))return ce.errors=[{params:{type:"array"}}],!1;{const k=v.length;for(let E=0;E=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.hashFunction){let v=k.hashFunction;const E=ae,P=ae;let R=!1;const L=ae;if(ae===L)if("string"==typeof v){if(v.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}var Me=L===ae;if(R=R||Me,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}Me=k===ae,R=R||Me}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,Ae.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.hashSalt){let v=k.hashSalt;const E=ae;if(ae==ae){if("string"!=typeof v)return Ae.errors=[{params:{type:"string"}}],!1;if(v.length<1)return Ae.errors=[{params:{}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.hotUpdateChunkFilename){let E=k.hotUpdateChunkFilename;const P=ae;if(ae==ae){if("string"!=typeof E)return Ae.errors=[{params:{type:"string"}}],!1;if(E.includes("!")||!1!==v.test(E))return Ae.errors=[{params:{}}],!1}le=P===ae}else le=!0;if(le){if(void 0!==k.hotUpdateGlobal){const v=ae;if("string"!=typeof k.hotUpdateGlobal)return Ae.errors=[{params:{type:"string"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.hotUpdateMainFilename){let E=k.hotUpdateMainFilename;const P=ae;if(ae==ae){if("string"!=typeof E)return Ae.errors=[{params:{type:"string"}}],!1;if(E.includes("!")||!1!==v.test(E))return Ae.errors=[{params:{}}],!1}le=P===ae}else le=!0;if(le){if(void 0!==k.ignoreBrowserWarnings){const v=ae;if("boolean"!=typeof k.ignoreBrowserWarnings)return Ae.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.iife){const v=ae;if("boolean"!=typeof k.iife)return Ae.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.importFunctionName){const v=ae;if("string"!=typeof k.importFunctionName)return Ae.errors=[{params:{type:"string"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.importMetaName){const v=ae;if("string"!=typeof k.importMetaName)return Ae.errors=[{params:{type:"string"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.library){const v=ae;xe(k.library,{instancePath:E+"/library",parentData:k,parentDataProperty:"library",rootData:N})||(q=null===q?xe.errors:q.concat(xe.errors),ae=q.length),le=v===ae}else le=!0;if(le){if(void 0!==k.libraryExport){let v=k.libraryExport;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if(Array.isArray(v)){const k=v.length;for(let E=0;E=",limit:1}}],!1}me=E===le}else me=!0;if(me){if(void 0!==k.performance){const v=le;Ce(k.performance,{instancePath:R+"/performance",parentData:k,parentDataProperty:"performance",rootData:q})||(ae=null===ae?Ce.errors:ae.concat(Ce.errors),le=ae.length),me=v===le}else me=!0;if(me){if(void 0!==k.plugins){const v=le;ke(k.plugins,{instancePath:R+"/plugins",parentData:k,parentDataProperty:"plugins",rootData:q})||(ae=null===ae?ke.errors:ae.concat(ke.errors),le=ae.length),me=v===le}else me=!0;if(me){if(void 0!==k.profile){const v=le;if("boolean"!=typeof k.profile)return we.errors=[{params:{type:"boolean"}}],!1;me=v===le}else me=!0;if(me){if(void 0!==k.recordsInputPath){let E=k.recordsInputPath;const P=le,R=le;let L=!1;const N=le;if(!1!==E){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}var Te=N===le;if(L=L||Te,!L){const k=le;if(le===k)if("string"==typeof E){if(E.includes("!")||!0!==v.test(E)){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"string"}};null===ae?ae=[k]:ae.push(k),le++}Te=k===le,L=L||Te}if(!L){const k={params:{}};return null===ae?ae=[k]:ae.push(k),le++,we.errors=ae,!1}le=R,null!==ae&&(R?ae.length=R:ae=null),me=P===le}else me=!0;if(me){if(void 0!==k.recordsOutputPath){let E=k.recordsOutputPath;const P=le,R=le;let L=!1;const N=le;if(!1!==E){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}var je=N===le;if(L=L||je,!L){const k=le;if(le===k)if("string"==typeof E){if(E.includes("!")||!0!==v.test(E)){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"string"}};null===ae?ae=[k]:ae.push(k),le++}je=k===le,L=L||je}if(!L){const k={params:{}};return null===ae?ae=[k]:ae.push(k),le++,we.errors=ae,!1}le=R,null!==ae&&(R?ae.length=R:ae=null),me=P===le}else me=!0;if(me){if(void 0!==k.recordsPath){let E=k.recordsPath;const P=le,R=le;let L=!1;const N=le;if(!1!==E){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}var Ne=N===le;if(L=L||Ne,!L){const k=le;if(le===k)if("string"==typeof E){if(E.includes("!")||!0!==v.test(E)){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"string"}};null===ae?ae=[k]:ae.push(k),le++}Ne=k===le,L=L||Ne}if(!L){const k={params:{}};return null===ae?ae=[k]:ae.push(k),le++,we.errors=ae,!1}le=R,null!==ae&&(R?ae.length=R:ae=null),me=P===le}else me=!0;if(me){if(void 0!==k.resolve){const v=le;$e(k.resolve,{instancePath:R+"/resolve",parentData:k,parentDataProperty:"resolve",rootData:q})||(ae=null===ae?$e.errors:ae.concat($e.errors),le=ae.length),me=v===le}else me=!0;if(me){if(void 0!==k.resolveLoader){const v=le;Se(k.resolveLoader,{instancePath:R+"/resolveLoader",parentData:k,parentDataProperty:"resolveLoader",rootData:q})||(ae=null===ae?Se.errors:ae.concat(Se.errors),le=ae.length),me=v===le}else me=!0;if(me){if(void 0!==k.snapshot){let E=k.snapshot;const P=le;if(le==le){if(!E||"object"!=typeof E||Array.isArray(E))return we.errors=[{params:{type:"object"}}],!1;{const k=le;for(const k in E)if("buildDependencies"!==k&&"immutablePaths"!==k&&"managedPaths"!==k&&"module"!==k&&"resolve"!==k&&"resolveBuildDependencies"!==k)return we.errors=[{params:{additionalProperty:k}}],!1;if(k===le){if(void 0!==E.buildDependencies){let k=E.buildDependencies;const v=le;if(le===v){if(!k||"object"!=typeof k||Array.isArray(k))return we.errors=[{params:{type:"object"}}],!1;{const v=le;for(const v in k)if("hash"!==v&&"timestamp"!==v)return we.errors=[{params:{additionalProperty:v}}],!1;if(v===le){if(void 0!==k.hash){const v=le;if("boolean"!=typeof k.hash)return we.errors=[{params:{type:"boolean"}}],!1;var Be=v===le}else Be=!0;if(Be)if(void 0!==k.timestamp){const v=le;if("boolean"!=typeof k.timestamp)return we.errors=[{params:{type:"boolean"}}],!1;Be=v===le}else Be=!0}}}var qe=v===le}else qe=!0;if(qe){if(void 0!==E.immutablePaths){let k=E.immutablePaths;const P=le;if(le===P){if(!Array.isArray(k))return we.errors=[{params:{type:"array"}}],!1;{const E=k.length;for(let P=0;P=",limit:1}}],!1}ae=E===q}else ae=!0;if(ae)if(void 0!==k.hashFunction){let v=k.hashFunction;const E=q,P=q;let R=!1,L=null;const pe=q,me=q;let ye=!1;const _e=q;if(q===_e)if("string"==typeof v){if(v.length<1){const k={params:{}};null===N?N=[k]:N.push(k),q++}}else{const k={params:{type:"string"}};null===N?N=[k]:N.push(k),q++}var le=_e===q;if(ye=ye||le,!ye){const k=q;if(!(v instanceof Function)){const k={params:{}};null===N?N=[k]:N.push(k),q++}le=k===q,ye=ye||le}if(ye)q=me,null!==N&&(me?N.length=me:N=null);else{const k={params:{}};null===N?N=[k]:N.push(k),q++}if(pe===q&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===N?N=[k]:N.push(k),q++,e.errors=N,!1}q=P,null!==N&&(P?N.length=P:N=null),ae=E===q}else ae=!0}}}}}return e.errors=N,0===q}k.exports=e,k.exports["default"]=e},4552:function(k){"use strict";function e(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if(N===le)if(k&&"object"==typeof k&&!Array.isArray(k)){let v;if(void 0===k.resourceRegExp&&(v="resourceRegExp")){const k={params:{missingProperty:v}};null===L?L=[k]:L.push(k),N++}else{const v=N;for(const v in k)if("contextRegExp"!==v&&"resourceRegExp"!==v){const k={params:{additionalProperty:v}};null===L?L=[k]:L.push(k),N++;break}if(v===N){if(void 0!==k.contextRegExp){const v=N;if(!(k.contextRegExp instanceof RegExp)){const k={params:{}};null===L?L=[k]:L.push(k),N++}var pe=v===N}else pe=!0;if(pe)if(void 0!==k.resourceRegExp){const v=N;if(!(k.resourceRegExp instanceof RegExp)){const k={params:{}};null===L?L=[k]:L.push(k),N++}pe=v===N}else pe=!0}}}else{const k={params:{type:"object"}};null===L?L=[k]:L.push(k),N++}var me=le===N;if(ae=ae||me,!ae){const v=N;if(N===v)if(k&&"object"==typeof k&&!Array.isArray(k)){let v;if(void 0===k.checkResource&&(v="checkResource")){const k={params:{missingProperty:v}};null===L?L=[k]:L.push(k),N++}else{const v=N;for(const v in k)if("checkResource"!==v){const k={params:{additionalProperty:v}};null===L?L=[k]:L.push(k),N++;break}if(v===N&&void 0!==k.checkResource&&!(k.checkResource instanceof Function)){const k={params:{}};null===L?L=[k]:L.push(k),N++}}}else{const k={params:{type:"object"}};null===L?L=[k]:L.push(k),N++}me=v===N,ae=ae||me}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,e.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),e.errors=L,0===N}k.exports=e,k.exports["default"]=e},57583:function(k){"use strict";function r(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){if(!k||"object"!=typeof k||Array.isArray(k))return r.errors=[{params:{type:"object"}}],!1;{const v=0;for(const v in k)if("parse"!==v)return r.errors=[{params:{additionalProperty:v}}],!1;if(0===v&&void 0!==k.parse&&!(k.parse instanceof Function))return r.errors=[{params:{}}],!1}return r.errors=null,!0}k.exports=r,k.exports["default"]=r},12072:function(k){const v=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(k,{instancePath:E="",parentData:P,parentDataProperty:R,rootData:L=k}={}){if(!k||"object"!=typeof k||Array.isArray(k))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==k.debug){const v=0;if("boolean"!=typeof k.debug)return e.errors=[{params:{type:"boolean"}}],!1;var N=0===v}else N=!0;if(N){if(void 0!==k.minimize){const v=0;if("boolean"!=typeof k.minimize)return e.errors=[{params:{type:"boolean"}}],!1;N=0===v}else N=!0;if(N)if(void 0!==k.options){let E=k.options;const P=0;if(0===P){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==E.context){let k=E.context;if("string"!=typeof k)return e.errors=[{params:{type:"string"}}],!1;if(k.includes("!")||!0!==v.test(k))return e.errors=[{params:{}}],!1}}N=0===P}else N=!0}return e.errors=null,!0}k.exports=e,k.exports["default"]=e},53912:function(k){"use strict";k.exports=t,k.exports["default"]=t;const v={type:"object",additionalProperties:!1,properties:{activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}}},E=Object.prototype.hasOwnProperty;function n(k,{instancePath:P="",parentData:R,parentDataProperty:L,rootData:N=k}={}){let q=null,ae=0;if(0===ae){if(!k||"object"!=typeof k||Array.isArray(k))return n.errors=[{params:{type:"object"}}],!1;{const P=ae;for(const P in k)if(!E.call(v.properties,P))return n.errors=[{params:{additionalProperty:P}}],!1;if(P===ae){if(void 0!==k.activeModules){const v=ae;if("boolean"!=typeof k.activeModules)return n.errors=[{params:{type:"boolean"}}],!1;var le=v===ae}else le=!0;if(le){if(void 0!==k.dependencies){const v=ae;if("boolean"!=typeof k.dependencies)return n.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.dependenciesCount){const v=ae;if("number"!=typeof k.dependenciesCount)return n.errors=[{params:{type:"number"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.entries){const v=ae;if("boolean"!=typeof k.entries)return n.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.handler){const v=ae,E=ae;let P=!1,R=null;const L=ae;if(!(k.handler instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(L===ae&&(P=!0,R=0),!P){const k={params:{passingSchemas:R}};return null===q?q=[k]:q.push(k),ae++,n.errors=q,!1}ae=E,null!==q&&(E?q.length=E:q=null),le=v===ae}else le=!0;if(le){if(void 0!==k.modules){const v=ae;if("boolean"!=typeof k.modules)return n.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.modulesCount){const v=ae;if("number"!=typeof k.modulesCount)return n.errors=[{params:{type:"number"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.percentBy){let v=k.percentBy;const E=ae;if("entries"!==v&&"modules"!==v&&"dependencies"!==v&&null!==v)return n.errors=[{params:{}}],!1;le=E===ae}else le=!0;if(le)if(void 0!==k.profile){let v=k.profile;const E=ae;if(!0!==v&&!1!==v&&null!==v)return n.errors=[{params:{}}],!1;le=E===ae}else le=!0}}}}}}}}}}return n.errors=q,0===ae}function t(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;n(k,{instancePath:v,parentData:E,parentDataProperty:P,rootData:R})||(L=null===L?n.errors:L.concat(n.errors),N=L.length);var pe=le===N;if(ae=ae||pe,!ae){const v=N;if(!(k instanceof Function)){const k={params:{}};null===L?L=[k]:L.push(k),N++}pe=v===N,ae=ae||pe}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,t.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),t.errors=L,0===N}},49623:function(k){const v=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;k.exports=l,k.exports["default"]=l;const E={definitions:{rule:{anyOf:[{instanceof:"RegExp"},{type:"string",minLength:1}]},rules:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/rule"}]}},{$ref:"#/definitions/rule"}]}},type:"object",additionalProperties:!1,properties:{append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1},{instanceof:"Function"}]},columns:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}}},P=Object.prototype.hasOwnProperty;function s(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if(N===le)if(Array.isArray(k)){const v=k.length;for(let E=0;E=",limit:1}}],!1}L=0===E}else L=!0}}}}return r.errors=null,!0}k.exports=r,k.exports["default"]=r},30666:function(k){"use strict";function r(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){if(!k||"object"!=typeof k||Array.isArray(k))return r.errors=[{params:{type:"object"}}],!1;{let v;if(void 0===k.minChunkSize&&(v="minChunkSize"))return r.errors=[{params:{missingProperty:v}}],!1;{const v=0;for(const v in k)if("chunkOverhead"!==v&&"entryChunkMultiplicator"!==v&&"minChunkSize"!==v)return r.errors=[{params:{additionalProperty:v}}],!1;if(0===v){if(void 0!==k.chunkOverhead){const v=0;if("number"!=typeof k.chunkOverhead)return r.errors=[{params:{type:"number"}}],!1;var L=0===v}else L=!0;if(L){if(void 0!==k.entryChunkMultiplicator){const v=0;if("number"!=typeof k.entryChunkMultiplicator)return r.errors=[{params:{type:"number"}}],!1;L=0===v}else L=!0;if(L)if(void 0!==k.minChunkSize){const v=0;if("number"!=typeof k.minChunkSize)return r.errors=[{params:{type:"number"}}],!1;L=0===v}else L=!0}}}}return r.errors=null,!0}k.exports=r,k.exports["default"]=r},95892:function(k){const v=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;k.exports=n,k.exports["default"]=n;const E=new RegExp("^https?://","u");function e(k,{instancePath:P="",parentData:R,parentDataProperty:L,rootData:N=k}={}){let q=null,ae=0;if(0===ae){if(!k||"object"!=typeof k||Array.isArray(k))return e.errors=[{params:{type:"object"}}],!1;{let P;if(void 0===k.allowedUris&&(P="allowedUris"))return e.errors=[{params:{missingProperty:P}}],!1;{const P=ae;for(const v in k)if("allowedUris"!==v&&"cacheLocation"!==v&&"frozen"!==v&&"lockfileLocation"!==v&&"proxy"!==v&&"upgrade"!==v)return e.errors=[{params:{additionalProperty:v}}],!1;if(P===ae){if(void 0!==k.allowedUris){let v=k.allowedUris;const P=ae;if(ae==ae){if(!Array.isArray(v))return e.errors=[{params:{type:"array"}}],!1;{const k=v.length;for(let P=0;Pparse(k)));const L=k.length+1,N=(P.__heap_base.value||P.__heap_base)+4*L-P.memory.buffer.byteLength;N>0&&P.memory.grow(Math.ceil(N/65536));const q=P.sa(L-1);if((E?B:Q)(k,new Uint16Array(P.memory.buffer,q,L)),!P.parse())throw Object.assign(new Error(`Parse error ${v}:${k.slice(0,P.e()).split("\n").length}:${P.e()-k.lastIndexOf("\n",P.e()-1)}`),{idx:P.e()});const ae=[],le=[];for(;P.ri();){const v=P.is(),E=P.ie(),R=P.ai(),L=P.id(),N=P.ss(),q=P.se();let le;P.ip()&&(le=J(k.slice(-1===L?v-1:v,-1===L?E+1:E))),ae.push({n:le,s:v,e:E,ss:N,se:q,d:L,a:R})}for(;P.re();){const v=P.es(),E=P.ee(),R=P.els(),L=P.ele(),N=k.slice(v,E),q=N[0],ae=R<0?void 0:k.slice(R,L),pe=ae?ae[0]:"";le.push({s:v,e:E,ls:R,le:L,n:'"'===q||"'"===q?J(N):N,ln:'"'===pe||"'"===pe?J(ae):ae})}function J(k){try{return(0,eval)(k)}catch(k){}}return[ae,le,!!P.f()]}function Q(k,v){const E=k.length;let P=0;for(;P>>8}}function B(k,v){const E=k.length;let P=0;for(;Pk.charCodeAt(0))))).then(WebAssembly.instantiate).then((({exports:k})=>{P=k}));var L;v.init=R},13348:function(k){"use strict";k.exports={i8:"5.1.1"}},14730:function(k){"use strict";k.exports={version:"4.3.0"}},61752:function(k){"use strict";k.exports={i8:"4.3.0"}},66282:function(k){"use strict";k.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/captive+json":{"source":"iana","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/clr":{"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":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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/jscalendar+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},"application/mrb-publish+xml":{"source":"iana","compressible":true},"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/opc-nodeset+xml":{"source":"iana","compressible":true},"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.cyn":{"source":"iana","charset":"7-BIT"},"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/sarif+json":{"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/ubjson":{"compressible":false,"extensions":["ubj"]},"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,"extensions":["td"]},"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.interworking-data":{"source":"iana"},"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.cmoca-cmresource":{"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-cmtable":{"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":["key"]},"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.cryptomator.encrypted":{"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.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"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","extensions":["dbf"]},"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.slides":{"source":"iana"},"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.nebumind.line":{"source":"iana"},"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+cbor":{"source":"iana"},"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","extensions":["rar"]},"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.seis+json":{"source":"iana","compressible":true},"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.sycle+xml":{"source":"iana","compressible":true},"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.dpp":{"source":"iana"},"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},"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":["xsl","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","extensions":["amr"]},"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","opus"]},"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/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"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/tsvcis":{"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/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"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/ktx2":{"source":"iana","extensions":["ktx2"]},"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.pco.b16":{"source":"iana","extensions":["b16"]},"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/e57":{"source":"iana"},"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.sap.vds":{"source":"iana","extensions":["vds"]},"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/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"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/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"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/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"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.hans":{"source":"iana"},"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/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"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","extensions":["m4s"]},"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/scip":{"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}}')},35479:function(k){"use strict";k.exports={i8:"5.86.0"}},98625:function(k){"use strict";k.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"}]},"AmdContainer":{"description":"Add a container for define/require functions in the AMD module.","type":"string","minLength":1},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string. It can have a string as \'ident\' property which contributes to the module hash.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"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"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"outputPath":{"$ref":"#/definitions/AssetModuleOutputPath"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"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)"}]},"AssetModuleOutputPath":{"description":"Emit the asset in the specified folder relative to \'output.path\'. This should only be needed when custom \'publicPath\' is specified to match the folder structure there.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"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)"},"AssetParserDataUrlOptions":{"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"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"outputPath":{"$ref":"#/definitions/AssetModuleOutputPath"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"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":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), \'module\' (ESM), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs","module",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), \'import\' (ESM), \'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), \'import\' (ESM), \'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","import"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"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"]},"CssChunkFilename":{"description":"Specifies the filename template of non-initial output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"CssExperimentOptions":{"description":"Options for css handling.","type":"object","additionalProperties":false,"properties":{"exportsOnly":{"description":"Avoid generating and loading a stylesheet and only embed exports from css into output javascript files.","type":"boolean"}}},"CssFilename":{"description":"Specifies the filename template of output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"CssGeneratorOptions":{"description":"Generator options for css modules.","type":"object","additionalProperties":false,"properties":{}},"CssParserOptions":{"description":"Parser options for css modules.","type":"object","additionalProperties":false,"properties":{}},"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"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"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":{"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"baseUri":{"description":"Base uri for this entry.","type":"string"},"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/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"baseUri":{"description":"Base uri for this entry.","type":"string"},"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},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"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)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"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.","anyOf":[{"enum":[false]},{"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"},"dynamicImportInWorker":{"description":"The environment supports an async import() is available when creating a worker.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"globalThis":{"description":"The environment supports \'globalThis\'.","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"},"optionalChaining":{"description":"The environment supports optional chaining (\'obj?.a\' or \'obj?.()\').","type":"boolean"},"templateLiteral":{"description":"The environment supports template literals.","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","anyOf":[{"$ref":"#/definitions/HttpUriAllowedUris"},{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"css":{"description":"Enable css support.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CssExperimentOptions"}]},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/LazyCompilationOptions"}]},"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"}}},"ExperimentsCommon":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","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"}}},"ExperimentsNormalized":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"css":{"description":"Enable css support.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/CssExperimentOptions"}]},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/LazyCompilationOptions"}]},"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"}}},"Extends":{"description":"Extend configuration from another configuration (only works when using webpack-cli).","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExtendsItem"}},{"$ref":"#/definitions/ExtendsItem"}]},"ExtendsItem":{"description":"Path to the configuration to be extended (only works when using webpack-cli).","type":"string"},"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":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"dependencyType":{"description":"The category of the referencing dependencies.","type":"string"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"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"}]},"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","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"allowCollectingMemory":{"description":"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.","type":"boolean"},"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},"compression":{"description":"Compression type used for the cache files.","enum":[false,"gzip","brotli"]},"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.","type":"number","minimum":0},"idleTimeoutAfterLargeChanges":{"description":"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen.","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":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an 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":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"memoryCacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.","type":"boolean"},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"profile":{"description":"Track and log detailed timing information for individual cache items.","type":"boolean"},"readonly":{"description":"Enable/disable readonly mode.","type":"boolean"},"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 filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","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"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"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},"HttpUriAllowedUris":{"description":"List of allowed URIs for building http resources.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/HttpUriOptionsAllowedUris"}]},"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"proxy":{"description":"Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.","type":"string"},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}},"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":{"appendOnly":{"description":"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.","type":"boolean"},"colors":{"description":"Enables/Disables colorful output. This option is only used when no custom console is provided.","type":"boolean"},"console":{"description":"Custom console used for logging.","tsType":"Console"},"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"]},"stream":{"description":"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.","tsType":"NodeJS.WritableStream"}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"createRequire":{"description":"Enable/disable parsing \\"import { createRequire } from \\"module\\"\\" and evaluating createRequire().","anyOf":[{"type":"boolean"},{"type":"string"}]},"dynamicImportMode":{"description":"Specifies global mode for dynamic import.","enum":["eager","weak","lazy","lazy-once"]},"dynamicImportPrefetch":{"description":"Specifies global prefetch for dynamic import.","anyOf":[{"type":"number"},{"type":"boolean"}]},"dynamicImportPreload":{"description":"Specifies global preload for dynamic import.","anyOf":[{"type":"number"},{"type":"boolean"}]},"exportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\" and \\"export ... from ...\\".","enum":["error","warn","auto",false]},"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"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"importExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\".","enum":["error","warn","auto",false]},"importMeta":{"description":"Enable/disable evaluating import.meta.","type":"boolean"},"importMetaContext":{"description":"Enable/disable evaluating import.meta.webpackContext.","type":"boolean"},"node":{"$ref":"#/definitions/Node"},"reexportExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"export ... from ...\\". This might be useful to disable during the migration from \\"export ... from ...\\" to \\"export type ... from ...\\" when reexporting types in TypeScript.","enum":["error","warn","auto",false]},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Deprecated in favor of \\"exportsPresence\\". 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"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","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"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"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"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"LazyCompilationDefaultBackendOptions":{"description":"Options for the default backend.","type":"object","additionalProperties":false,"properties":{"client":{"description":"A custom client.","type":"string"},"listen":{"description":"Specifies where to listen to from the server.","anyOf":[{"description":"A port.","type":"number"},{"description":"Listen options.","type":"object","additionalProperties":true,"properties":{"host":{"description":"A host.","type":"string"},"port":{"description":"A port.","type":"number"}},"tsType":"import(\\"net\\").ListenOptions"},{"description":"A custom listen function.","instanceof":"Function","tsType":"((server: import(\\"net\\").Server) => void)"}]},"protocol":{"description":"Specifies the protocol the client should use to connect to the server.","enum":["http","https"]},"server":{"description":"Specifies how to create the server handling the EventSource requests.","anyOf":[{"description":"ServerOptions for the http or https createServer call.","type":"object","additionalProperties":true,"properties":{},"tsType":"(import(\\"https\\").ServerOptions | import(\\"http\\").ServerOptions)"},{"description":"A custom create server function.","instanceof":"Function","tsType":"(() => import(\\"net\\").Server)"}]}}},"LazyCompilationOptions":{"description":"Options for compiling entrypoints and import()s only when they are accessed.","type":"object","additionalProperties":false,"properties":{"backend":{"description":"Specifies the backend that should be used for handling client keep alive.","anyOf":[{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), callback: (err?: Error, api?: import(\\"../lib/hmr/LazyCompilationPlugin\\").BackendApi) => void) => void) | ((compiler: import(\'../lib/Compiler\')) => Promise))"},{"$ref":"#/definitions/LazyCompilationDefaultBackendOptions"}]},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}},"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},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"amdContainer":{"$ref":"#/definitions/AmdContainer"},"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\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'commonjs-static\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","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":{"cacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"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. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"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. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","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. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"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"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","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"}]},"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,"warn-mock","mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","enum":[false,true,"warn"]}}},"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":"RegExp","tsType":"RegExp"},{"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"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"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"}]},"minSizeReduction":{"description":"Minimum size reduction due to 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":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}},"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":"RegExp","tsType":"RegExp"},{"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"},"minItems":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},"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":"RegExp","tsType":"RegExp"},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"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"}]},"minSizeReduction":{"description":"Minimum size reduction due to 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"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","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":{"amdContainer":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AmdContainer"}]},"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"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"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"cssChunkFilename":{"$ref":"#/definitions/CssChunkFilename"},"cssFilename":{"$ref":"#/definitions/CssFilename"},"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"},"ignoreBrowserWarnings":{"description":"Ignore warnings in the browser.","type":"boolean"},"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"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks. \'output.uniqueName\' is used a default policy name. Passing a string sets a custom policy name.","anyOf":[{"enum":[true]},{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1},{"$ref":"#/definitions/TrustedTypes"}]},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerPublicPath":{"$ref":"#/definitions/WorkerPublicPath"},"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"},"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"cssChunkFilename":{"$ref":"#/definitions/CssChunkFilename"},"cssFilename":{"$ref":"#/definitions/CssFilename"},"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"},"ignoreBrowserWarnings":{"description":"Ignore warnings in the browser.","type":"boolean"},"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"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"$ref":"#/definitions/TrustedTypes"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerPublicPath":{"$ref":"#/definitions/WorkerPublicPath"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"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"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"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"}},"extensionAlias":{"description":"An object which maps extension to extension aliases.","type":"object","additionalProperties":{"description":"Extension alias.","anyOf":[{"description":"Multiple extensions.","type":"array","items":{"description":"Aliased extension.","type":"string","minLength":1}},{"description":"Aliased extension.","type":"string","minLength":1}]}},"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"}},"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"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"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.","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"},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditions"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditionsAbsolute"},{"$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"}]},"RuleSetLogicalConditions":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},"RuleSetLogicalConditionsAbsolute":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"assert":{"description":"Match on import assertions of the dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"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"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"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"}]}},"scheme":{"description":"Match module scheme.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"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":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an 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":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"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"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"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).","anyOf":[{"enum":["auto"]},{"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"},"errorsSpace":{"description":"Space to display errors (value is in number of lines).","type":"number"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"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"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"groupReasonsByOrigin":{"description":"Group reasons by their origin module.","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, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"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"},"reasonsSpace":{"description":"Space to display reasons (groups will be collapsed to fit this space).","type":"number"},"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/WarningFilterTypes"}]},"warningsSpace":{"description":"Space to display warnings (value is in number of lines).","type":"number"}}},"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"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","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}]},"TrustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks.","type":"object","additionalProperties":false,"properties":{"onPolicyCreationFailure":{"description":"If the call to `trustedTypes.createPolicy(...)` fails -- e.g., due to the policy name missing from the CSP `trusted-types` list, or it being a duplicate name, etc. -- controls whether to continue with loading in the hope that `require-trusted-types-for \'script\'` isn\'t enforced yet, versus fail immediately. Default behavior is \'stop\'.","enum":["continue","stop"]},"policyName":{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","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},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"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/ExperimentsNormalized"},"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/ModuleOptionsNormalized"},"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"]},"WorkerPublicPath":{"description":"Worker public path. Much like the public path, this sets the location where the worker script file is intended to be found. If not set, webpack will use the publicPath. Don\'t set this option unless your worker scripts are located at a different path from your other script files.","type":"string"}},"title":"WebpackOptions","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"},"extends":{"$ref":"#/definitions/Extends"},"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"}}}')},98156:function(k){"use strict";k.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"}]},"footer":{"description":"If true, banner will be placed at the end of the output.","type":"boolean"},"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"}]}')},10519:function(k){"use strict";k.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"]}')},18498:function(k){"use strict";k.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"]}]}')},23884:function(k){"use strict";k.exports=JSON.parse('{"definitions":{"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\')"}]}},"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.","oneOf":[{"$ref":"#/definitions/HashFunction"}]}}}')},19134:function(k){"use strict";k.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"}},"required":["resourceRegExp"]},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}},"required":["checkResource"]}]}')},40013:function(k){"use strict";k.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)"}}}')},27667:function(k){"use strict";k.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}}}}}')},13689:function(k){"use strict";k.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"}]}')},45441:function(k){"use strict";k.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},{"instanceof":"Function","tsType":"((pathData: import(\\"../../lib/Compilation\\").PathData, assetInfo?: import(\\"../../lib/Compilation\\").AssetInfo) => string)"}]},"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"}}}')},41084:function(k){"use strict";k.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"]}')},97253:function(k){"use strict";k.exports=JSON.parse('{"definitions":{"AmdContainer":{"description":"Add a container for define/require functions in the AMD module.","type":"string","minLength":1},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"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.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"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"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"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},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"amdContainer":{"$ref":"#/definitions/AmdContainer"},"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\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'commonjs-static\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","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},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}')},52899:function(k){"use strict";k.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","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"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"]}')},80707:function(k){"use strict";k.exports=JSON.parse('{"definitions":{"AmdContainer":{"description":"Add a container for define/require functions in the AMD module.","type":"string","minLength":1},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"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.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"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"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"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","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"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},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"amdContainer":{"$ref":"#/definitions/AmdContainer"},"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\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'commonjs-static\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","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"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}')},5877:function(k){"use strict";k.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}}}')},41565:function(k){"use strict";k.exports=JSON.parse('{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},71967:function(k){"use strict";k.exports=JSON.parse('{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},20443:function(k){"use strict";k.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"}}}')},30355:function(k){"use strict";k.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"]}')},78782:function(k){"use strict";k.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"]}')},72789:function(k){"use strict";k.exports=JSON.parse('{"definitions":{"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"proxy":{"description":"Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.","type":"string"},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}}},"title":"HttpUriPluginOptions","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]}')},61334:function(k){"use strict";k.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"]}')},15958:function(k){"use strict";k.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"]}')}};var v={};function __webpack_require__(E){var P=v[E];if(P!==undefined){return P.exports}var R=v[E]={exports:{}};var L=true;try{k[E].call(R.exports,R,R.exports,__webpack_require__);L=false}finally{if(L)delete v[E]}return R.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var E=__webpack_require__(83182);module.exports=E})(); \ No newline at end of file + var v + var E + var P + var R + var L + var N + var q + var ae + var le + var pe + var me + var ye + var _e + var Ie + var Me + var Te + var je + var Ne + var Be + var qe + var Ue + var Ge + ;(function (v) { + var E = + typeof global === 'object' + ? global + : typeof self === 'object' + ? self + : typeof this === 'object' + ? this + : {} + if (typeof define === 'function' && define.amd) { + define('tslib', ['exports'], function (k) { + v(createExporter(E, createExporter(k))) + }) + } else if (true && typeof k.exports === 'object') { + v(createExporter(E, createExporter(k.exports))) + } else { + v(createExporter(E)) + } + function createExporter(k, v) { + if (k !== E) { + if (typeof Object.create === 'function') { + Object.defineProperty(k, '__esModule', { value: true }) + } else { + k.__esModule = true + } + } + return function (E, P) { + return (k[E] = v ? v(E, P) : P) + } + } + })(function (k) { + var He = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (k, v) { + k.__proto__ = v + }) || + function (k, v) { + for (var E in v) if (v.hasOwnProperty(E)) k[E] = v[E] + } + v = function (k, v) { + He(k, v) + function __() { + this.constructor = k + } + k.prototype = + v === null + ? Object.create(v) + : ((__.prototype = v.prototype), new __()) + } + E = + Object.assign || + function (k) { + for (var v, E = 1, P = arguments.length; E < P; E++) { + v = arguments[E] + for (var R in v) + if (Object.prototype.hasOwnProperty.call(v, R)) k[R] = v[R] + } + return k + } + P = function (k, v) { + var E = {} + for (var P in k) + if (Object.prototype.hasOwnProperty.call(k, P) && v.indexOf(P) < 0) + E[P] = k[P] + if (k != null && typeof Object.getOwnPropertySymbols === 'function') + for ( + var R = 0, P = Object.getOwnPropertySymbols(k); + R < P.length; + R++ + ) { + if ( + v.indexOf(P[R]) < 0 && + Object.prototype.propertyIsEnumerable.call(k, P[R]) + ) + E[P[R]] = k[P[R]] + } + return E + } + R = function (k, v, E, P) { + var R = arguments.length, + L = + R < 3 + ? v + : P === null + ? (P = Object.getOwnPropertyDescriptor(v, E)) + : P, + N + if ( + typeof Reflect === 'object' && + typeof Reflect.decorate === 'function' + ) + L = Reflect.decorate(k, v, E, P) + else + for (var q = k.length - 1; q >= 0; q--) + if ((N = k[q])) + L = (R < 3 ? N(L) : R > 3 ? N(v, E, L) : N(v, E)) || L + return R > 3 && L && Object.defineProperty(v, E, L), L + } + L = function (k, v) { + return function (E, P) { + v(E, P, k) + } + } + N = function (k, v) { + if ( + typeof Reflect === 'object' && + typeof Reflect.metadata === 'function' + ) + return Reflect.metadata(k, v) + } + q = function (k, v, E, P) { + function adopt(k) { + return k instanceof E + ? k + : new E(function (v) { + v(k) + }) + } + return new (E || (E = Promise))(function (E, R) { + function fulfilled(k) { + try { + step(P.next(k)) + } catch (k) { + R(k) + } + } + function rejected(k) { + try { + step(P['throw'](k)) + } catch (k) { + R(k) + } + } + function step(k) { + k.done ? E(k.value) : adopt(k.value).then(fulfilled, rejected) + } + step((P = P.apply(k, v || [])).next()) + }) + } + ae = function (k, v) { + var E = { + label: 0, + sent: function () { + if (L[0] & 1) throw L[1] + return L[1] + }, + trys: [], + ops: [], + }, + P, + R, + L, + N + return ( + (N = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (N[Symbol.iterator] = function () { + return this + }), + N + ) + function verb(k) { + return function (v) { + return step([k, v]) + } + } + function step(N) { + if (P) throw new TypeError('Generator is already executing.') + while (E) + try { + if ( + ((P = 1), + R && + (L = + N[0] & 2 + ? R['return'] + : N[0] + ? R['throw'] || ((L = R['return']) && L.call(R), 0) + : R.next) && + !(L = L.call(R, N[1])).done) + ) + return L + if (((R = 0), L)) N = [N[0] & 2, L.value] + switch (N[0]) { + case 0: + case 1: + L = N + break + case 4: + E.label++ + return { value: N[1], done: false } + case 5: + E.label++ + R = N[1] + N = [0] + continue + case 7: + N = E.ops.pop() + E.trys.pop() + continue + default: + if ( + !((L = E.trys), (L = L.length > 0 && L[L.length - 1])) && + (N[0] === 6 || N[0] === 2) + ) { + E = 0 + continue + } + if (N[0] === 3 && (!L || (N[1] > L[0] && N[1] < L[3]))) { + E.label = N[1] + break + } + if (N[0] === 6 && E.label < L[1]) { + E.label = L[1] + L = N + break + } + if (L && E.label < L[2]) { + E.label = L[2] + E.ops.push(N) + break + } + if (L[2]) E.ops.pop() + E.trys.pop() + continue + } + N = v.call(k, E) + } catch (k) { + N = [6, k] + R = 0 + } finally { + P = L = 0 + } + if (N[0] & 5) throw N[1] + return { value: N[0] ? N[1] : void 0, done: true } + } + } + le = function (k, v) { + for (var E in k) if (!v.hasOwnProperty(E)) v[E] = k[E] + } + pe = function (k) { + var v = typeof Symbol === 'function' && Symbol.iterator, + E = v && k[v], + P = 0 + if (E) return E.call(k) + if (k && typeof k.length === 'number') + return { + next: function () { + if (k && P >= k.length) k = void 0 + return { value: k && k[P++], done: !k } + }, + } + throw new TypeError( + v ? 'Object is not iterable.' : 'Symbol.iterator is not defined.' + ) + } + me = function (k, v) { + var E = typeof Symbol === 'function' && k[Symbol.iterator] + if (!E) return k + var P = E.call(k), + R, + L = [], + N + try { + while ((v === void 0 || v-- > 0) && !(R = P.next()).done) + L.push(R.value) + } catch (k) { + N = { error: k } + } finally { + try { + if (R && !R.done && (E = P['return'])) E.call(P) + } finally { + if (N) throw N.error + } + } + return L + } + ye = function () { + for (var k = [], v = 0; v < arguments.length; v++) + k = k.concat(me(arguments[v])) + return k + } + _e = function () { + for (var k = 0, v = 0, E = arguments.length; v < E; v++) + k += arguments[v].length + for (var P = Array(k), R = 0, v = 0; v < E; v++) + for (var L = arguments[v], N = 0, q = L.length; N < q; N++, R++) + P[R] = L[N] + return P + } + Ie = function (k) { + return this instanceof Ie ? ((this.v = k), this) : new Ie(k) + } + Me = function (k, v, E) { + if (!Symbol.asyncIterator) + throw new TypeError('Symbol.asyncIterator is not defined.') + var P = E.apply(k, v || []), + R, + L = [] + return ( + (R = {}), + verb('next'), + verb('throw'), + verb('return'), + (R[Symbol.asyncIterator] = function () { + return this + }), + R + ) + function verb(k) { + if (P[k]) + R[k] = function (v) { + return new Promise(function (E, P) { + L.push([k, v, E, P]) > 1 || resume(k, v) + }) + } + } + function resume(k, v) { + try { + step(P[k](v)) + } catch (k) { + settle(L[0][3], k) + } + } + function step(k) { + k.value instanceof Ie + ? Promise.resolve(k.value.v).then(fulfill, reject) + : settle(L[0][2], k) + } + function fulfill(k) { + resume('next', k) + } + function reject(k) { + resume('throw', k) + } + function settle(k, v) { + if ((k(v), L.shift(), L.length)) resume(L[0][0], L[0][1]) + } + } + Te = function (k) { + var v, E + return ( + (v = {}), + verb('next'), + verb('throw', function (k) { + throw k + }), + verb('return'), + (v[Symbol.iterator] = function () { + return this + }), + v + ) + function verb(P, R) { + v[P] = k[P] + ? function (v) { + return (E = !E) + ? { value: Ie(k[P](v)), done: P === 'return' } + : R + ? R(v) + : v + } + : R + } + } + je = function (k) { + if (!Symbol.asyncIterator) + throw new TypeError('Symbol.asyncIterator is not defined.') + var v = k[Symbol.asyncIterator], + E + return v + ? v.call(k) + : ((k = typeof pe === 'function' ? pe(k) : k[Symbol.iterator]()), + (E = {}), + verb('next'), + verb('throw'), + verb('return'), + (E[Symbol.asyncIterator] = function () { + return this + }), + E) + function verb(v) { + E[v] = + k[v] && + function (E) { + return new Promise(function (P, R) { + ;(E = k[v](E)), settle(P, R, E.done, E.value) + }) + } + } + function settle(k, v, E, P) { + Promise.resolve(P).then(function (v) { + k({ value: v, done: E }) + }, v) + } + } + Ne = function (k, v) { + if (Object.defineProperty) { + Object.defineProperty(k, 'raw', { value: v }) + } else { + k.raw = v + } + return k + } + Be = function (k) { + if (k && k.__esModule) return k + var v = {} + if (k != null) + for (var E in k) if (Object.hasOwnProperty.call(k, E)) v[E] = k[E] + v['default'] = k + return v + } + qe = function (k) { + return k && k.__esModule ? k : { default: k } + } + Ue = function (k, v) { + if (!v.has(k)) { + throw new TypeError( + 'attempted to get private field on non-instance' + ) + } + return v.get(k) + } + Ge = function (k, v, E) { + if (!v.has(k)) { + throw new TypeError( + 'attempted to set private field on non-instance' + ) + } + v.set(k, E) + return E + } + k('__extends', v) + k('__assign', E) + k('__rest', P) + k('__decorate', R) + k('__param', L) + k('__metadata', N) + k('__awaiter', q) + k('__generator', ae) + k('__exportStar', le) + k('__values', pe) + k('__read', me) + k('__spread', ye) + k('__spreadArrays', _e) + k('__await', Ie) + k('__asyncGenerator', Me) + k('__asyncDelegator', Te) + k('__asyncValues', je) + k('__makeTemplateObject', Ne) + k('__importStar', Be) + k('__importDefault', qe) + k('__classPrivateFieldGet', Ue) + k('__classPrivateFieldSet', Ge) + }) + }, + 99494: function (k, v, E) { + 'use strict' + const P = E(88113) + const { + JAVASCRIPT_MODULE_TYPE_AUTO: R, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: L, + JAVASCRIPT_MODULE_TYPE_ESM: N, + } = E(93622) + const q = E(56727) + const ae = E(71572) + const le = E(60381) + const pe = E(70037) + const me = E(89168) + const { toConstantDependency: ye, evaluateToString: _e } = E(80784) + const Ie = E(32861) + const Me = E(5e3) + function getReplacements(k, v) { + return { + __webpack_require__: { + expr: q.require, + req: [q.require], + type: 'function', + assign: false, + }, + __webpack_public_path__: { + expr: q.publicPath, + req: [q.publicPath], + type: 'string', + assign: true, + }, + __webpack_base_uri__: { + expr: q.baseURI, + req: [q.baseURI], + type: 'string', + assign: true, + }, + __webpack_modules__: { + expr: q.moduleFactories, + req: [q.moduleFactories], + type: 'object', + assign: false, + }, + __webpack_chunk_load__: { + expr: q.ensureChunk, + req: [q.ensureChunk], + type: 'function', + assign: true, + }, + __non_webpack_require__: { + expr: k ? `__WEBPACK_EXTERNAL_createRequire(${v}.url)` : 'require', + req: null, + type: undefined, + assign: true, + }, + __webpack_nonce__: { + expr: q.scriptNonce, + req: [q.scriptNonce], + type: 'string', + assign: true, + }, + __webpack_hash__: { + expr: `${q.getFullHash}()`, + req: [q.getFullHash], + type: 'string', + assign: false, + }, + __webpack_chunkname__: { + expr: q.chunkName, + req: [q.chunkName], + type: 'string', + assign: false, + }, + __webpack_get_script_filename__: { + expr: q.getChunkScriptFilename, + req: [q.getChunkScriptFilename], + type: 'function', + assign: true, + }, + __webpack_runtime_id__: { + expr: q.runtimeId, + req: [q.runtimeId], + assign: false, + }, + 'require.onError': { + expr: q.uncaughtErrorHandler, + req: [q.uncaughtErrorHandler], + type: undefined, + assign: true, + }, + __system_context__: { + expr: q.systemContext, + req: [q.systemContext], + type: 'object', + assign: false, + }, + __webpack_share_scopes__: { + expr: q.shareScopeMap, + req: [q.shareScopeMap], + type: 'object', + assign: false, + }, + __webpack_init_sharing__: { + expr: q.initializeSharing, + req: [q.initializeSharing], + type: 'function', + assign: true, + }, + } + } + const Te = 'APIPlugin' + class APIPlugin { + constructor(k = {}) { + this.options = k + } + apply(k) { + k.hooks.compilation.tap(Te, (k, { normalModuleFactory: v }) => { + const { importMetaName: E } = k.outputOptions + const je = getReplacements(this.options.module, E) + k.dependencyTemplates.set(le, new le.Template()) + k.hooks.runtimeRequirementInTree.for(q.chunkName).tap(Te, (v) => { + k.addRuntimeModule(v, new Ie(v.name)) + return true + }) + k.hooks.runtimeRequirementInTree + .for(q.getFullHash) + .tap(Te, (v, E) => { + k.addRuntimeModule(v, new Me()) + return true + }) + const Ne = me.getCompilationHooks(k) + Ne.renderModuleContent.tap(Te, (k, v, E) => { + if (v.buildInfo.needCreateRequire) { + const k = [ + new P( + 'import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n', + P.STAGE_HARMONY_IMPORTS, + 0, + 'external module node-commonjs' + ), + ] + E.chunkInitFragments.push(...k) + } + return k + }) + const handler = (k) => { + Object.keys(je).forEach((v) => { + const E = je[v] + k.hooks.expression.for(v).tap(Te, (P) => { + const R = ye(k, E.expr, E.req) + if (v === '__non_webpack_require__' && this.options.module) { + k.state.module.buildInfo.needCreateRequire = true + } + return R(P) + }) + if (E.assign === false) { + k.hooks.assign.for(v).tap(Te, (k) => { + const E = new ae(`${v} must not be assigned`) + E.loc = k.loc + throw E + }) + } + if (E.type) { + k.hooks.evaluateTypeof.for(v).tap(Te, _e(E.type)) + } + }) + k.hooks.expression.for('__webpack_layer__').tap(Te, (v) => { + const E = new le(JSON.stringify(k.state.module.layer), v.range) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + return true + }) + k.hooks.evaluateIdentifier + .for('__webpack_layer__') + .tap(Te, (v) => + (k.state.module.layer === null + ? new pe().setNull() + : new pe().setString(k.state.module.layer) + ).setRange(v.range) + ) + k.hooks.evaluateTypeof + .for('__webpack_layer__') + .tap(Te, (v) => + new pe() + .setString( + k.state.module.layer === null ? 'object' : 'string' + ) + .setRange(v.range) + ) + k.hooks.expression.for('__webpack_module__.id').tap(Te, (v) => { + k.state.module.buildInfo.moduleConcatenationBailout = + '__webpack_module__.id' + const E = new le( + k.state.module.moduleArgument + '.id', + v.range, + [q.moduleId] + ) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + return true + }) + k.hooks.expression.for('__webpack_module__').tap(Te, (v) => { + k.state.module.buildInfo.moduleConcatenationBailout = + '__webpack_module__' + const E = new le(k.state.module.moduleArgument, v.range, [ + q.module, + ]) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + return true + }) + k.hooks.evaluateTypeof + .for('__webpack_module__') + .tap(Te, _e('object')) + } + v.hooks.parser.for(R).tap(Te, handler) + v.hooks.parser.for(L).tap(Te, handler) + v.hooks.parser.for(N).tap(Te, handler) + }) + } + } + k.exports = APIPlugin + }, + 60386: function (k, v, E) { + 'use strict' + const P = E(71572) + const R = /at ([a-zA-Z0-9_.]*)/ + function createMessage(k) { + return `Abstract method${k ? ' ' + k : ''}. Must be overridden.` + } + function Message() { + this.stack = undefined + Error.captureStackTrace(this) + const k = this.stack.split('\n')[3].match(R) + this.message = k && k[1] ? createMessage(k[1]) : createMessage() + } + class AbstractMethodError extends P { + constructor() { + super(new Message().message) + this.name = 'AbstractMethodError' + } + } + k.exports = AbstractMethodError + }, + 75081: function (k, v, E) { + 'use strict' + const P = E(38706) + const R = E(58528) + class AsyncDependenciesBlock extends P { + constructor(k, v, E) { + super() + if (typeof k === 'string') { + k = { name: k } + } else if (!k) { + k = { name: undefined } + } + this.groupOptions = k + this.loc = v + this.request = E + this._stringifiedGroupOptions = undefined + } + get chunkName() { + return this.groupOptions.name + } + set chunkName(k) { + if (this.groupOptions.name !== k) { + this.groupOptions.name = k + this._stringifiedGroupOptions = undefined + } + } + updateHash(k, v) { + const { chunkGraph: E } = v + if (this._stringifiedGroupOptions === undefined) { + this._stringifiedGroupOptions = JSON.stringify(this.groupOptions) + } + const P = E.getBlockChunkGroup(this) + k.update(`${this._stringifiedGroupOptions}${P ? P.id : ''}`) + super.updateHash(k, v) + } + serialize(k) { + const { write: v } = k + v(this.groupOptions) + v(this.loc) + v(this.request) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.groupOptions = v() + this.loc = v() + this.request = v() + super.deserialize(k) + } + } + R(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)" + ) + }, + }) + k.exports = AsyncDependenciesBlock + }, + 51641: function (k, v, E) { + 'use strict' + const P = E(71572) + class AsyncDependencyToInitialChunkError extends P { + constructor(k, v, E) { + super( + `It's not allowed to load an initial chunk on demand. The chunk name "${k}" is already used by an entrypoint.` + ) + this.name = 'AsyncDependencyToInitialChunkError' + this.module = v + this.loc = E + } + } + k.exports = AsyncDependencyToInitialChunkError + }, + 75250: function (k, v, E) { + 'use strict' + const P = E(78175) + const R = E(38224) + const L = E(85992) + class AutomaticPrefetchPlugin { + apply(k) { + k.hooks.compilation.tap( + 'AutomaticPrefetchPlugin', + (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(L, v) + } + ) + let v = null + k.hooks.afterCompile.tap('AutomaticPrefetchPlugin', (k) => { + v = [] + for (const E of k.modules) { + if (E instanceof R) { + v.push({ context: E.context, request: E.request }) + } + } + }) + k.hooks.make.tapAsync('AutomaticPrefetchPlugin', (E, R) => { + if (!v) return R() + P.forEach( + v, + (v, P) => { + E.addModuleChain( + v.context || k.context, + new L(`!!${v.request}`), + P + ) + }, + (k) => { + v = null + R(k) + } + ) + }) + } + } + k.exports = AutomaticPrefetchPlugin + }, + 13991: function (k, v, E) { + 'use strict' + const { ConcatSource: P } = E(51255) + const R = E(27747) + const L = E(98612) + const N = E(95041) + const q = E(92198) + const ae = q(E(85797), () => E(98156), { + name: 'Banner Plugin', + baseDataPath: 'options', + }) + const wrapComment = (k) => { + if (!k.includes('\n')) { + return N.toComment(k) + } + return `/*!\n * ${k + .replace(/\*\//g, '* /') + .split('\n') + .join('\n * ') + .replace(/\s+\n/g, '\n') + .trimEnd()}\n */` + } + class BannerPlugin { + constructor(k) { + if (typeof k === 'string' || typeof k === 'function') { + k = { banner: k } + } + ae(k) + this.options = k + const v = k.banner + if (typeof v === 'function') { + const k = v + this.banner = this.options.raw ? k : (v) => wrapComment(k(v)) + } else { + const k = this.options.raw ? v : wrapComment(v) + this.banner = () => k + } + } + apply(k) { + const v = this.options + const E = this.banner + const N = L.matchObject.bind(undefined, v) + const q = new WeakMap() + k.hooks.compilation.tap('BannerPlugin', (k) => { + k.hooks.processAssets.tap( + { name: 'BannerPlugin', stage: R.PROCESS_ASSETS_STAGE_ADDITIONS }, + () => { + for (const R of k.chunks) { + if (v.entryOnly && !R.canBeInitial()) { + continue + } + for (const L of R.files) { + if (!N(L)) { + continue + } + const ae = { chunk: R, filename: L } + const le = k.getPath(E, ae) + k.updateAsset(L, (k) => { + let E = q.get(k) + if (!E || E.comment !== le) { + const E = v.footer + ? new P(k, '\n', le) + : new P(le, '\n', k) + q.set(k, { source: E, comment: le }) + return E + } + return E.source + }) + } + } + } + ) + }) + } + } + k.exports = BannerPlugin + }, + 89802: function (k, v, E) { + 'use strict' + const { + AsyncParallelHook: P, + AsyncSeriesBailHook: R, + SyncHook: L, + } = E(79846) + const { makeWebpackError: N, makeWebpackErrorCallback: q } = E(82104) + const needCalls = (k, v) => (E) => { + if (--k === 0) { + return v(E) + } + if (E && k > 0) { + k = 0 + return v(E) + } + } + class Cache { + constructor() { + this.hooks = { + get: new R(['identifier', 'etag', 'gotHandlers']), + store: new P(['identifier', 'etag', 'data']), + storeBuildDependencies: new P(['dependencies']), + beginIdle: new L([]), + endIdle: new P([]), + shutdown: new P([]), + } + } + get(k, v, E) { + const P = [] + this.hooks.get.callAsync(k, v, P, (k, v) => { + if (k) { + E(N(k, 'Cache.hooks.get')) + return + } + if (v === null) { + v = undefined + } + if (P.length > 1) { + const k = needCalls(P.length, () => E(null, v)) + for (const E of P) { + E(v, k) + } + } else if (P.length === 1) { + P[0](v, () => E(null, v)) + } else { + E(null, v) + } + }) + } + store(k, v, E, P) { + this.hooks.store.callAsync(k, v, E, q(P, 'Cache.hooks.store')) + } + storeBuildDependencies(k, v) { + this.hooks.storeBuildDependencies.callAsync( + k, + q(v, 'Cache.hooks.storeBuildDependencies') + ) + } + beginIdle() { + this.hooks.beginIdle.call() + } + endIdle(k) { + this.hooks.endIdle.callAsync(q(k, 'Cache.hooks.endIdle')) + } + shutdown(k) { + this.hooks.shutdown.callAsync(q(k, 'Cache.hooks.shutdown')) + } + } + Cache.STAGE_MEMORY = -10 + Cache.STAGE_DEFAULT = 0 + Cache.STAGE_DISK = 10 + Cache.STAGE_NETWORK = 20 + k.exports = Cache + }, + 90580: function (k, v, E) { + 'use strict' + const { forEachBail: P } = E(90006) + const R = E(78175) + const L = E(76222) + const N = E(87045) + class MultiItemCache { + constructor(k) { + this._items = k + if (k.length === 1) return k[0] + } + get(k) { + P(this._items, (k, v) => k.get(v), k) + } + getPromise() { + const next = (k) => + this._items[k].getPromise().then((v) => { + if (v !== undefined) return v + if (++k < this._items.length) return next(k) + }) + return next(0) + } + store(k, v) { + R.each(this._items, (v, E) => v.store(k, E), v) + } + storePromise(k) { + return Promise.all(this._items.map((v) => v.storePromise(k))).then( + () => {} + ) + } + } + class ItemCacheFacade { + constructor(k, v, E) { + this._cache = k + this._name = v + this._etag = E + } + get(k) { + this._cache.get(this._name, this._etag, k) + } + getPromise() { + return new Promise((k, v) => { + this._cache.get(this._name, this._etag, (E, P) => { + if (E) { + v(E) + } else { + k(P) + } + }) + }) + } + store(k, v) { + this._cache.store(this._name, this._etag, k, v) + } + storePromise(k) { + return new Promise((v, E) => { + this._cache.store(this._name, this._etag, k, (k) => { + if (k) { + E(k) + } else { + v() + } + }) + }) + } + provide(k, v) { + this.get((E, P) => { + if (E) return v(E) + if (P !== undefined) return P + k((k, E) => { + if (k) return v(k) + this.store(E, (k) => { + if (k) return v(k) + v(null, E) + }) + }) + }) + } + async providePromise(k) { + const v = await this.getPromise() + if (v !== undefined) return v + const E = await k() + await this.storePromise(E) + return E + } + } + class CacheFacade { + constructor(k, v, E) { + this._cache = k + this._name = v + this._hashFunction = E + } + getChildCache(k) { + return new CacheFacade( + this._cache, + `${this._name}|${k}`, + this._hashFunction + ) + } + getItemCache(k, v) { + return new ItemCacheFacade(this._cache, `${this._name}|${k}`, v) + } + getLazyHashedEtag(k) { + return L(k, this._hashFunction) + } + mergeEtags(k, v) { + return N(k, v) + } + get(k, v, E) { + this._cache.get(`${this._name}|${k}`, v, E) + } + getPromise(k, v) { + return new Promise((E, P) => { + this._cache.get(`${this._name}|${k}`, v, (k, v) => { + if (k) { + P(k) + } else { + E(v) + } + }) + }) + } + store(k, v, E, P) { + this._cache.store(`${this._name}|${k}`, v, E, P) + } + storePromise(k, v, E) { + return new Promise((P, R) => { + this._cache.store(`${this._name}|${k}`, v, E, (k) => { + if (k) { + R(k) + } else { + P() + } + }) + }) + } + provide(k, v, E, P) { + this.get(k, v, (R, L) => { + if (R) return P(R) + if (L !== undefined) return L + E((E, R) => { + if (E) return P(E) + this.store(k, v, R, (k) => { + if (k) return P(k) + P(null, R) + }) + }) + }) + } + async providePromise(k, v, E) { + const P = await this.getPromise(k, v) + if (P !== undefined) return P + const R = await E() + await this.storePromise(k, v, R) + return R + } + } + k.exports = CacheFacade + k.exports.ItemCacheFacade = ItemCacheFacade + k.exports.MultiItemCache = MultiItemCache + }, + 94046: function (k, v, E) { + 'use strict' + const P = E(71572) + const sortModules = (k) => + k.sort((k, v) => { + const E = k.identifier() + const P = v.identifier() + if (E < P) return -1 + if (E > P) return 1 + return 0 + }) + const createModulesListMessage = (k, v) => + k + .map((k) => { + let E = `* ${k.identifier()}` + const P = Array.from( + v.getIncomingConnectionsByOriginModule(k).keys() + ).filter((k) => k) + if (P.length > 0) { + E += `\n Used by ${P.length} module(s), i. e.` + E += `\n ${P[0].identifier()}` + } + return E + }) + .join('\n') + class CaseSensitiveModulesWarning extends P { + constructor(k, v) { + const E = sortModules(Array.from(k)) + const P = createModulesListMessage(E, v) + 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${P}` + ) + this.name = 'CaseSensitiveModulesWarning' + this.module = E[0] + } + } + k.exports = CaseSensitiveModulesWarning + }, + 8247: function (k, v, E) { + 'use strict' + const P = E(38317) + const R = E(10969) + const { intersect: L } = E(59959) + const N = E(46081) + const q = E(96181) + const { + compareModulesByIdentifier: ae, + compareChunkGroupsByIndex: le, + compareModulesById: pe, + } = E(95648) + const { createArrayToSetDeprecationSet: me } = E(61883) + const { mergeRuntime: ye } = E(1540) + const _e = me('chunk.files') + let Ie = 1e3 + class Chunk { + constructor(k, v = true) { + this.id = null + this.ids = null + this.debugId = Ie++ + this.name = k + this.idNameHints = new N() + this.preventIntegration = false + this.filenameTemplate = undefined + this.cssFilenameTemplate = undefined + this._groups = new N(undefined, le) + this.runtime = undefined + this.files = v ? new _e() : new Set() + 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 k = Array.from( + P.getChunkGraphForChunk( + this, + 'Chunk.entryModule', + 'DEP_WEBPACK_CHUNK_ENTRY_MODULE' + ).getChunkEntryModulesIterable(this) + ) + if (k.length === 0) { + return undefined + } else if (k.length === 1) { + return k[0] + } else { + throw new Error( + 'Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)' + ) + } + } + hasEntryModule() { + return ( + P.getChunkGraphForChunk( + this, + 'Chunk.hasEntryModule', + 'DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE' + ).getNumberOfEntryModules(this) > 0 + ) + } + addModule(k) { + const v = P.getChunkGraphForChunk( + this, + 'Chunk.addModule', + 'DEP_WEBPACK_CHUNK_ADD_MODULE' + ) + if (v.isModuleInChunk(k, this)) return false + v.connectChunkAndModule(this, k) + return true + } + removeModule(k) { + P.getChunkGraphForChunk( + this, + 'Chunk.removeModule', + 'DEP_WEBPACK_CHUNK_REMOVE_MODULE' + ).disconnectChunkAndModule(this, k) + } + getNumberOfModules() { + return P.getChunkGraphForChunk( + this, + 'Chunk.getNumberOfModules', + 'DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES' + ).getNumberOfChunkModules(this) + } + get modulesIterable() { + const k = P.getChunkGraphForChunk( + this, + 'Chunk.modulesIterable', + 'DEP_WEBPACK_CHUNK_MODULES_ITERABLE' + ) + return k.getOrderedChunkModulesIterable(this, ae) + } + compareTo(k) { + const v = P.getChunkGraphForChunk( + this, + 'Chunk.compareTo', + 'DEP_WEBPACK_CHUNK_COMPARE_TO' + ) + return v.compareChunks(this, k) + } + containsModule(k) { + return P.getChunkGraphForChunk( + this, + 'Chunk.containsModule', + 'DEP_WEBPACK_CHUNK_CONTAINS_MODULE' + ).isModuleInChunk(k, this) + } + getModules() { + return P.getChunkGraphForChunk( + this, + 'Chunk.getModules', + 'DEP_WEBPACK_CHUNK_GET_MODULES' + ).getChunkModules(this) + } + remove() { + const k = P.getChunkGraphForChunk( + this, + 'Chunk.remove', + 'DEP_WEBPACK_CHUNK_REMOVE' + ) + k.disconnectChunk(this) + this.disconnectFromGroups() + } + moveModule(k, v) { + const E = P.getChunkGraphForChunk( + this, + 'Chunk.moveModule', + 'DEP_WEBPACK_CHUNK_MOVE_MODULE' + ) + E.disconnectChunkAndModule(this, k) + E.connectChunkAndModule(v, k) + } + integrate(k) { + const v = P.getChunkGraphForChunk( + this, + 'Chunk.integrate', + 'DEP_WEBPACK_CHUNK_INTEGRATE' + ) + if (v.canChunksBeIntegrated(this, k)) { + v.integrateChunks(this, k) + return true + } else { + return false + } + } + canBeIntegrated(k) { + const v = P.getChunkGraphForChunk( + this, + 'Chunk.canBeIntegrated', + 'DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED' + ) + return v.canChunksBeIntegrated(this, k) + } + isEmpty() { + const k = P.getChunkGraphForChunk( + this, + 'Chunk.isEmpty', + 'DEP_WEBPACK_CHUNK_IS_EMPTY' + ) + return k.getNumberOfChunkModules(this) === 0 + } + modulesSize() { + const k = P.getChunkGraphForChunk( + this, + 'Chunk.modulesSize', + 'DEP_WEBPACK_CHUNK_MODULES_SIZE' + ) + return k.getChunkModulesSize(this) + } + size(k = {}) { + const v = P.getChunkGraphForChunk( + this, + 'Chunk.size', + 'DEP_WEBPACK_CHUNK_SIZE' + ) + return v.getChunkSize(this, k) + } + integratedSize(k, v) { + const E = P.getChunkGraphForChunk( + this, + 'Chunk.integratedSize', + 'DEP_WEBPACK_CHUNK_INTEGRATED_SIZE' + ) + return E.getIntegratedChunksSize(this, k, v) + } + getChunkModuleMaps(k) { + const v = P.getChunkGraphForChunk( + this, + 'Chunk.getChunkModuleMaps', + 'DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS' + ) + const E = Object.create(null) + const R = Object.create(null) + for (const P of this.getAllAsyncChunks()) { + let L + for (const N of v.getOrderedChunkModulesIterable(P, pe(v))) { + if (k(N)) { + if (L === undefined) { + L = [] + E[P.id] = L + } + const k = v.getModuleId(N) + L.push(k) + R[k] = v.getRenderedModuleHash(N, undefined) + } + } + } + return { id: E, hash: R } + } + hasModuleInGraph(k, v) { + const E = P.getChunkGraphForChunk( + this, + 'Chunk.hasModuleInGraph', + 'DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH' + ) + return E.hasModuleInGraph(this, k, v) + } + getChunkMaps(k) { + const v = Object.create(null) + const E = Object.create(null) + const P = Object.create(null) + for (const R of this.getAllAsyncChunks()) { + const L = R.id + v[L] = k ? R.hash : R.renderedHash + for (const k of Object.keys(R.contentHash)) { + if (!E[k]) { + E[k] = Object.create(null) + } + E[k][L] = R.contentHash[k] + } + if (R.name) { + P[L] = R.name + } + } + return { hash: v, contentHash: E, name: P } + } + hasRuntime() { + for (const k of this._groups) { + if (k instanceof R && k.getRuntimeChunk() === this) { + return true + } + } + return false + } + canBeInitial() { + for (const k of this._groups) { + if (k.isInitial()) return true + } + return false + } + isOnlyInitial() { + if (this._groups.size <= 0) return false + for (const k of this._groups) { + if (!k.isInitial()) return false + } + return true + } + getEntryOptions() { + for (const k of this._groups) { + if (k instanceof R) { + return k.options + } + } + return undefined + } + addGroup(k) { + this._groups.add(k) + } + removeGroup(k) { + this._groups.delete(k) + } + isInGroup(k) { + return this._groups.has(k) + } + getNumberOfGroups() { + return this._groups.size + } + get groupsIterable() { + this._groups.sort() + return this._groups + } + disconnectFromGroups() { + for (const k of this._groups) { + k.removeChunk(this) + } + } + split(k) { + for (const v of this._groups) { + v.insertChunk(k, this) + k.addGroup(v) + } + for (const v of this.idNameHints) { + k.idNameHints.add(v) + } + k.runtime = ye(k.runtime, this.runtime) + } + updateHash(k, v) { + k.update( + `${this.id} ${this.ids ? this.ids.join() : ''} ${this.name || ''} ` + ) + const E = new q() + for (const k of v.getChunkModulesIterable(this)) { + E.add(v.getModuleHash(k, this.runtime)) + } + E.updateHash(k) + const P = v.getChunkEntryModulesWithChunkGroupIterable(this) + for (const [E, R] of P) { + k.update(`entry${v.getModuleId(E)}${R.id}`) + } + } + getAllAsyncChunks() { + const k = new Set() + const v = new Set() + const E = L(Array.from(this.groupsIterable, (k) => new Set(k.chunks))) + const P = new Set(this.groupsIterable) + for (const v of P) { + for (const E of v.childrenIterable) { + if (E instanceof R) { + P.add(E) + } else { + k.add(E) + } + } + } + for (const P of k) { + for (const k of P.chunks) { + if (!E.has(k)) { + v.add(k) + } + } + for (const v of P.childrenIterable) { + k.add(v) + } + } + return v + } + getAllInitialChunks() { + const k = new Set() + const v = new Set(this.groupsIterable) + for (const E of v) { + if (E.isInitial()) { + for (const v of E.chunks) k.add(v) + for (const k of E.childrenIterable) v.add(k) + } + } + return k + } + getAllReferencedChunks() { + const k = new Set(this.groupsIterable) + const v = new Set() + for (const E of k) { + for (const k of E.chunks) { + v.add(k) + } + for (const v of E.childrenIterable) { + k.add(v) + } + } + return v + } + getAllReferencedAsyncEntrypoints() { + const k = new Set(this.groupsIterable) + const v = new Set() + for (const E of k) { + for (const k of E.asyncEntrypointsIterable) { + v.add(k) + } + for (const v of E.childrenIterable) { + k.add(v) + } + } + return v + } + hasAsyncChunks() { + const k = new Set() + const v = L(Array.from(this.groupsIterable, (k) => new Set(k.chunks))) + for (const v of this.groupsIterable) { + for (const E of v.childrenIterable) { + k.add(E) + } + } + for (const E of k) { + for (const k of E.chunks) { + if (!v.has(k)) { + return true + } + } + for (const v of E.childrenIterable) { + k.add(v) + } + } + return false + } + getChildIdsByOrders(k, v) { + const E = new Map() + for (const k of this.groupsIterable) { + if (k.chunks[k.chunks.length - 1] === this) { + for (const v of k.childrenIterable) { + for (const k of Object.keys(v.options)) { + if (k.endsWith('Order')) { + const P = k.slice(0, k.length - 'Order'.length) + let R = E.get(P) + if (R === undefined) { + R = [] + E.set(P, R) + } + R.push({ order: v.options[k], group: v }) + } + } + } + } + } + const P = Object.create(null) + for (const [R, L] of E) { + L.sort((v, E) => { + const P = E.order - v.order + if (P !== 0) return P + return v.group.compareTo(k, E.group) + }) + const E = new Set() + for (const P of L) { + for (const R of P.group.chunks) { + if (v && !v(R, k)) continue + E.add(R.id) + } + } + if (E.size > 0) { + P[R] = Array.from(E) + } + } + return P + } + getChildrenOfTypeInOrder(k, v) { + const E = [] + for (const k of this.groupsIterable) { + for (const P of k.childrenIterable) { + const R = P.options[v] + if (R === undefined) continue + E.push({ order: R, group: k, childGroup: P }) + } + } + if (E.length === 0) return undefined + E.sort((v, E) => { + const P = E.order - v.order + if (P !== 0) return P + return v.group.compareTo(k, E.group) + }) + const P = [] + let R + for (const { group: k, childGroup: v } of E) { + if (R && R.onChunks === k.chunks) { + for (const k of v.chunks) { + R.chunks.add(k) + } + } else { + P.push((R = { onChunks: k.chunks, chunks: new Set(v.chunks) })) + } + } + return P + } + getChildIdsByOrdersMap(k, v, E) { + const P = Object.create(null) + const addChildIdsByOrdersToMap = (v) => { + const R = v.getChildIdsByOrders(k, E) + for (const k of Object.keys(R)) { + let E = P[k] + if (E === undefined) { + P[k] = E = Object.create(null) + } + E[v.id] = R[k] + } + } + if (v) { + const k = new Set() + for (const v of this.groupsIterable) { + for (const E of v.chunks) { + k.add(E) + } + } + for (const v of k) { + addChildIdsByOrdersToMap(v) + } + } + for (const k of this.getAllAsyncChunks()) { + addChildIdsByOrdersToMap(k) + } + return P + } + } + k.exports = Chunk + }, + 38317: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = E(10969) + const L = E(86267) + const { first: N } = E(59959) + const q = E(46081) + const { + compareModulesById: ae, + compareIterables: le, + compareModulesByIdentifier: pe, + concatComparators: me, + compareSelect: ye, + compareIds: _e, + } = E(95648) + const Ie = E(74012) + const Me = E(34271) + const { + RuntimeSpecMap: Te, + RuntimeSpecSet: je, + runtimeToString: Ne, + mergeRuntime: Be, + forEachRuntime: qe, + } = E(1540) + const Ue = new Set() + const Ge = BigInt(0) + const He = le(pe) + class ModuleHashInfo { + constructor(k, v) { + this.hash = k + this.renderedHash = v + } + } + const getArray = (k) => Array.from(k) + const getModuleRuntimes = (k) => { + const v = new je() + for (const E of k) { + v.add(E.runtime) + } + return v + } + const modulesBySourceType = (k) => (v) => { + const E = new Map() + for (const P of v) { + const v = (k && k.get(P)) || P.getSourceTypes() + for (const k of v) { + let v = E.get(k) + if (v === undefined) { + v = new q() + E.set(k, v) + } + v.add(P) + } + } + for (const [k, P] of E) { + if (P.size === v.size) { + E.set(k, v) + } + } + return E + } + const We = modulesBySourceType(undefined) + const Qe = new WeakMap() + const createOrderedArrayFunction = (k) => { + let v = Qe.get(k) + if (v !== undefined) return v + v = (v) => { + v.sortWith(k) + return Array.from(v) + } + Qe.set(k, v) + return v + } + const getModulesSize = (k) => { + let v = 0 + for (const E of k) { + for (const k of E.getSourceTypes()) { + v += E.size(k) + } + } + return v + } + const getModulesSizes = (k) => { + let v = Object.create(null) + for (const E of k) { + for (const k of E.getSourceTypes()) { + v[k] = (v[k] || 0) + E.size(k) + } + } + return v + } + const isAvailableChunk = (k, v) => { + const E = new Set(v.groupsIterable) + for (const v of E) { + if (k.isInGroup(v)) continue + if (v.isInitial()) return false + for (const k of v.parentsIterable) { + E.add(k) + } + } + return true + } + class ChunkGraphModule { + constructor() { + this.chunks = new q() + this.entryInChunks = undefined + this.runtimeInChunks = undefined + this.hashes = undefined + this.id = null + this.runtimeRequirements = undefined + this.graphHashes = undefined + this.graphHashesWithConnections = undefined + } + } + class ChunkGraphChunk { + constructor() { + this.modules = new q() + this.sourceTypesByModule = undefined + this.entryModules = new Map() + this.runtimeModules = new q() + this.fullHashModules = undefined + this.dependentHashModules = undefined + this.runtimeRequirements = undefined + this.runtimeRequirementsInTree = new Set() + this._modulesBySourceType = We + } + } + class ChunkGraph { + constructor(k, v = 'md4') { + this._modules = new WeakMap() + this._chunks = new WeakMap() + this._blockChunkGroups = new WeakMap() + this._runtimeIds = new Map() + this.moduleGraph = k + this._hashFunction = v + this._getGraphRoots = this._getGraphRoots.bind(this) + } + _getChunkGraphModule(k) { + let v = this._modules.get(k) + if (v === undefined) { + v = new ChunkGraphModule() + this._modules.set(k, v) + } + return v + } + _getChunkGraphChunk(k) { + let v = this._chunks.get(k) + if (v === undefined) { + v = new ChunkGraphChunk() + this._chunks.set(k, v) + } + return v + } + _getGraphRoots(k) { + const { moduleGraph: v } = this + return Array.from( + Me(k, (k) => { + const E = new Set() + const addDependencies = (k) => { + for (const P of v.getOutgoingConnections(k)) { + if (!P.module) continue + const k = P.getActiveState(undefined) + if (k === false) continue + if (k === L.TRANSITIVE_ONLY) { + addDependencies(P.module) + continue + } + E.add(P.module) + } + } + addDependencies(k) + return E + }) + ).sort(pe) + } + connectChunkAndModule(k, v) { + const E = this._getChunkGraphModule(v) + const P = this._getChunkGraphChunk(k) + E.chunks.add(k) + P.modules.add(v) + } + disconnectChunkAndModule(k, v) { + const E = this._getChunkGraphModule(v) + const P = this._getChunkGraphChunk(k) + P.modules.delete(v) + if (P.sourceTypesByModule) P.sourceTypesByModule.delete(v) + E.chunks.delete(k) + } + disconnectChunk(k) { + const v = this._getChunkGraphChunk(k) + for (const E of v.modules) { + const v = this._getChunkGraphModule(E) + v.chunks.delete(k) + } + v.modules.clear() + k.disconnectFromGroups() + ChunkGraph.clearChunkGraphForChunk(k) + } + attachModules(k, v) { + const E = this._getChunkGraphChunk(k) + for (const k of v) { + E.modules.add(k) + } + } + attachRuntimeModules(k, v) { + const E = this._getChunkGraphChunk(k) + for (const k of v) { + E.runtimeModules.add(k) + } + } + attachFullHashModules(k, v) { + const E = this._getChunkGraphChunk(k) + if (E.fullHashModules === undefined) E.fullHashModules = new Set() + for (const k of v) { + E.fullHashModules.add(k) + } + } + attachDependentHashModules(k, v) { + const E = this._getChunkGraphChunk(k) + if (E.dependentHashModules === undefined) + E.dependentHashModules = new Set() + for (const k of v) { + E.dependentHashModules.add(k) + } + } + replaceModule(k, v) { + const E = this._getChunkGraphModule(k) + const P = this._getChunkGraphModule(v) + for (const R of E.chunks) { + const E = this._getChunkGraphChunk(R) + E.modules.delete(k) + E.modules.add(v) + P.chunks.add(R) + } + E.chunks.clear() + if (E.entryInChunks !== undefined) { + if (P.entryInChunks === undefined) { + P.entryInChunks = new Set() + } + for (const R of E.entryInChunks) { + const E = this._getChunkGraphChunk(R) + const L = E.entryModules.get(k) + const N = new Map() + for (const [P, R] of E.entryModules) { + if (P === k) { + N.set(v, L) + } else { + N.set(P, R) + } + } + E.entryModules = N + P.entryInChunks.add(R) + } + E.entryInChunks = undefined + } + if (E.runtimeInChunks !== undefined) { + if (P.runtimeInChunks === undefined) { + P.runtimeInChunks = new Set() + } + for (const R of E.runtimeInChunks) { + const E = this._getChunkGraphChunk(R) + E.runtimeModules.delete(k) + E.runtimeModules.add(v) + P.runtimeInChunks.add(R) + if (E.fullHashModules !== undefined && E.fullHashModules.has(k)) { + E.fullHashModules.delete(k) + E.fullHashModules.add(v) + } + if ( + E.dependentHashModules !== undefined && + E.dependentHashModules.has(k) + ) { + E.dependentHashModules.delete(k) + E.dependentHashModules.add(v) + } + } + E.runtimeInChunks = undefined + } + } + isModuleInChunk(k, v) { + const E = this._getChunkGraphChunk(v) + return E.modules.has(k) + } + isModuleInChunkGroup(k, v) { + for (const E of v.chunks) { + if (this.isModuleInChunk(k, E)) return true + } + return false + } + isEntryModule(k) { + const v = this._getChunkGraphModule(k) + return v.entryInChunks !== undefined + } + getModuleChunksIterable(k) { + const v = this._getChunkGraphModule(k) + return v.chunks + } + getOrderedModuleChunksIterable(k, v) { + const E = this._getChunkGraphModule(k) + E.chunks.sortWith(v) + return E.chunks + } + getModuleChunks(k) { + const v = this._getChunkGraphModule(k) + return v.chunks.getFromCache(getArray) + } + getNumberOfModuleChunks(k) { + const v = this._getChunkGraphModule(k) + return v.chunks.size + } + getModuleRuntimes(k) { + const v = this._getChunkGraphModule(k) + return v.chunks.getFromUnorderedCache(getModuleRuntimes) + } + getNumberOfChunkModules(k) { + const v = this._getChunkGraphChunk(k) + return v.modules.size + } + getNumberOfChunkFullHashModules(k) { + const v = this._getChunkGraphChunk(k) + return v.fullHashModules === undefined ? 0 : v.fullHashModules.size + } + getChunkModulesIterable(k) { + const v = this._getChunkGraphChunk(k) + return v.modules + } + getChunkModulesIterableBySourceType(k, v) { + const E = this._getChunkGraphChunk(k) + const P = E.modules + .getFromUnorderedCache(E._modulesBySourceType) + .get(v) + return P + } + setChunkModuleSourceTypes(k, v, E) { + const P = this._getChunkGraphChunk(k) + if (P.sourceTypesByModule === undefined) { + P.sourceTypesByModule = new WeakMap() + } + P.sourceTypesByModule.set(v, E) + P._modulesBySourceType = modulesBySourceType(P.sourceTypesByModule) + } + getChunkModuleSourceTypes(k, v) { + const E = this._getChunkGraphChunk(k) + if (E.sourceTypesByModule === undefined) { + return v.getSourceTypes() + } + return E.sourceTypesByModule.get(v) || v.getSourceTypes() + } + getModuleSourceTypes(k) { + return this._getOverwrittenModuleSourceTypes(k) || k.getSourceTypes() + } + _getOverwrittenModuleSourceTypes(k) { + let v = false + let E + for (const P of this.getModuleChunksIterable(k)) { + const R = this._getChunkGraphChunk(P) + if (R.sourceTypesByModule === undefined) return + const L = R.sourceTypesByModule.get(k) + if (L === undefined) return + if (!E) { + E = L + continue + } else if (!v) { + for (const k of L) { + if (!v) { + if (!E.has(k)) { + v = true + E = new Set(E) + E.add(k) + } + } else { + E.add(k) + } + } + } else { + for (const k of L) E.add(k) + } + } + return E + } + getOrderedChunkModulesIterable(k, v) { + const E = this._getChunkGraphChunk(k) + E.modules.sortWith(v) + return E.modules + } + getOrderedChunkModulesIterableBySourceType(k, v, E) { + const P = this._getChunkGraphChunk(k) + const R = P.modules + .getFromUnorderedCache(P._modulesBySourceType) + .get(v) + if (R === undefined) return undefined + R.sortWith(E) + return R + } + getChunkModules(k) { + const v = this._getChunkGraphChunk(k) + return v.modules.getFromUnorderedCache(getArray) + } + getOrderedChunkModules(k, v) { + const E = this._getChunkGraphChunk(k) + const P = createOrderedArrayFunction(v) + return E.modules.getFromUnorderedCache(P) + } + getChunkModuleIdMap(k, v, E = false) { + const P = Object.create(null) + for (const R of E + ? k.getAllReferencedChunks() + : k.getAllAsyncChunks()) { + let k + for (const E of this.getOrderedChunkModulesIterable(R, ae(this))) { + if (v(E)) { + if (k === undefined) { + k = [] + P[R.id] = k + } + const v = this.getModuleId(E) + k.push(v) + } + } + } + return P + } + getChunkModuleRenderedHashMap(k, v, E = 0, P = false) { + const R = Object.create(null) + for (const L of P + ? k.getAllReferencedChunks() + : k.getAllAsyncChunks()) { + let k + for (const P of this.getOrderedChunkModulesIterable(L, ae(this))) { + if (v(P)) { + if (k === undefined) { + k = Object.create(null) + R[L.id] = k + } + const v = this.getModuleId(P) + const N = this.getRenderedModuleHash(P, L.runtime) + k[v] = E ? N.slice(0, E) : N + } + } + } + return R + } + getChunkConditionMap(k, v) { + const E = Object.create(null) + for (const P of k.getAllReferencedChunks()) { + E[P.id] = v(P, this) + } + return E + } + hasModuleInGraph(k, v, E) { + const P = new Set(k.groupsIterable) + const R = new Set() + for (const k of P) { + for (const P of k.chunks) { + if (!R.has(P)) { + R.add(P) + if (!E || E(P, this)) { + for (const k of this.getChunkModulesIterable(P)) { + if (v(k)) { + return true + } + } + } + } + } + for (const v of k.childrenIterable) { + P.add(v) + } + } + return false + } + compareChunks(k, v) { + const E = this._getChunkGraphChunk(k) + const P = this._getChunkGraphChunk(v) + if (E.modules.size > P.modules.size) return -1 + if (E.modules.size < P.modules.size) return 1 + E.modules.sortWith(pe) + P.modules.sortWith(pe) + return He(E.modules, P.modules) + } + getChunkModulesSize(k) { + const v = this._getChunkGraphChunk(k) + return v.modules.getFromUnorderedCache(getModulesSize) + } + getChunkModulesSizes(k) { + const v = this._getChunkGraphChunk(k) + return v.modules.getFromUnorderedCache(getModulesSizes) + } + getChunkRootModules(k) { + const v = this._getChunkGraphChunk(k) + return v.modules.getFromUnorderedCache(this._getGraphRoots) + } + getChunkSize(k, v = {}) { + const E = this._getChunkGraphChunk(k) + const P = E.modules.getFromUnorderedCache(getModulesSize) + const R = typeof v.chunkOverhead === 'number' ? v.chunkOverhead : 1e4 + const L = + typeof v.entryChunkMultiplicator === 'number' + ? v.entryChunkMultiplicator + : 10 + return R + P * (k.canBeInitial() ? L : 1) + } + getIntegratedChunksSize(k, v, E = {}) { + const P = this._getChunkGraphChunk(k) + const R = this._getChunkGraphChunk(v) + const L = new Set(P.modules) + for (const k of R.modules) L.add(k) + let N = getModulesSize(L) + const q = typeof E.chunkOverhead === 'number' ? E.chunkOverhead : 1e4 + const ae = + typeof E.entryChunkMultiplicator === 'number' + ? E.entryChunkMultiplicator + : 10 + return q + N * (k.canBeInitial() || v.canBeInitial() ? ae : 1) + } + canChunksBeIntegrated(k, v) { + if (k.preventIntegration || v.preventIntegration) { + return false + } + const E = k.hasRuntime() + const P = v.hasRuntime() + if (E !== P) { + if (E) { + return isAvailableChunk(k, v) + } else if (P) { + return isAvailableChunk(v, k) + } else { + return false + } + } + if ( + this.getNumberOfEntryModules(k) > 0 || + this.getNumberOfEntryModules(v) > 0 + ) { + return false + } + return true + } + integrateChunks(k, v) { + if (k.name && v.name) { + if ( + this.getNumberOfEntryModules(k) > 0 === + this.getNumberOfEntryModules(v) > 0 + ) { + if (k.name.length !== v.name.length) { + k.name = k.name.length < v.name.length ? k.name : v.name + } else { + k.name = k.name < v.name ? k.name : v.name + } + } else if (this.getNumberOfEntryModules(v) > 0) { + k.name = v.name + } + } else if (v.name) { + k.name = v.name + } + for (const E of v.idNameHints) { + k.idNameHints.add(E) + } + k.runtime = Be(k.runtime, v.runtime) + for (const E of this.getChunkModules(v)) { + this.disconnectChunkAndModule(v, E) + this.connectChunkAndModule(k, E) + } + for (const [E, P] of Array.from( + this.getChunkEntryModulesWithChunkGroupIterable(v) + )) { + this.disconnectChunkAndEntryModule(v, E) + this.connectChunkAndEntryModule(k, E, P) + } + for (const E of v.groupsIterable) { + E.replaceChunk(v, k) + k.addGroup(E) + v.removeGroup(E) + } + ChunkGraph.clearChunkGraphForChunk(v) + } + upgradeDependentToFullHashModules(k) { + const v = this._getChunkGraphChunk(k) + if (v.dependentHashModules === undefined) return + if (v.fullHashModules === undefined) { + v.fullHashModules = v.dependentHashModules + } else { + for (const k of v.dependentHashModules) { + v.fullHashModules.add(k) + } + v.dependentHashModules = undefined + } + } + isEntryModuleInChunk(k, v) { + const E = this._getChunkGraphChunk(v) + return E.entryModules.has(k) + } + connectChunkAndEntryModule(k, v, E) { + const P = this._getChunkGraphModule(v) + const R = this._getChunkGraphChunk(k) + if (P.entryInChunks === undefined) { + P.entryInChunks = new Set() + } + P.entryInChunks.add(k) + R.entryModules.set(v, E) + } + connectChunkAndRuntimeModule(k, v) { + const E = this._getChunkGraphModule(v) + const P = this._getChunkGraphChunk(k) + if (E.runtimeInChunks === undefined) { + E.runtimeInChunks = new Set() + } + E.runtimeInChunks.add(k) + P.runtimeModules.add(v) + } + addFullHashModuleToChunk(k, v) { + const E = this._getChunkGraphChunk(k) + if (E.fullHashModules === undefined) E.fullHashModules = new Set() + E.fullHashModules.add(v) + } + addDependentHashModuleToChunk(k, v) { + const E = this._getChunkGraphChunk(k) + if (E.dependentHashModules === undefined) + E.dependentHashModules = new Set() + E.dependentHashModules.add(v) + } + disconnectChunkAndEntryModule(k, v) { + const E = this._getChunkGraphModule(v) + const P = this._getChunkGraphChunk(k) + E.entryInChunks.delete(k) + if (E.entryInChunks.size === 0) { + E.entryInChunks = undefined + } + P.entryModules.delete(v) + } + disconnectChunkAndRuntimeModule(k, v) { + const E = this._getChunkGraphModule(v) + const P = this._getChunkGraphChunk(k) + E.runtimeInChunks.delete(k) + if (E.runtimeInChunks.size === 0) { + E.runtimeInChunks = undefined + } + P.runtimeModules.delete(v) + } + disconnectEntryModule(k) { + const v = this._getChunkGraphModule(k) + for (const E of v.entryInChunks) { + const v = this._getChunkGraphChunk(E) + v.entryModules.delete(k) + } + v.entryInChunks = undefined + } + disconnectEntries(k) { + const v = this._getChunkGraphChunk(k) + for (const E of v.entryModules.keys()) { + const v = this._getChunkGraphModule(E) + v.entryInChunks.delete(k) + if (v.entryInChunks.size === 0) { + v.entryInChunks = undefined + } + } + v.entryModules.clear() + } + getNumberOfEntryModules(k) { + const v = this._getChunkGraphChunk(k) + return v.entryModules.size + } + getNumberOfRuntimeModules(k) { + const v = this._getChunkGraphChunk(k) + return v.runtimeModules.size + } + getChunkEntryModulesIterable(k) { + const v = this._getChunkGraphChunk(k) + return v.entryModules.keys() + } + getChunkEntryDependentChunksIterable(k) { + const v = new Set() + for (const E of k.groupsIterable) { + if (E instanceof R) { + const P = E.getEntrypointChunk() + const R = this._getChunkGraphChunk(P) + for (const E of R.entryModules.values()) { + for (const R of E.chunks) { + if (R !== k && R !== P && !R.hasRuntime()) { + v.add(R) + } + } + } + } + } + return v + } + hasChunkEntryDependentChunks(k) { + const v = this._getChunkGraphChunk(k) + for (const E of v.entryModules.values()) { + for (const v of E.chunks) { + if (v !== k) { + return true + } + } + } + return false + } + getChunkRuntimeModulesIterable(k) { + const v = this._getChunkGraphChunk(k) + return v.runtimeModules + } + getChunkRuntimeModulesInOrder(k) { + const v = this._getChunkGraphChunk(k) + const E = Array.from(v.runtimeModules) + E.sort( + me( + ye((k) => k.stage, _e), + pe + ) + ) + return E + } + getChunkFullHashModulesIterable(k) { + const v = this._getChunkGraphChunk(k) + return v.fullHashModules + } + getChunkFullHashModulesSet(k) { + const v = this._getChunkGraphChunk(k) + return v.fullHashModules + } + getChunkDependentHashModulesIterable(k) { + const v = this._getChunkGraphChunk(k) + return v.dependentHashModules + } + getChunkEntryModulesWithChunkGroupIterable(k) { + const v = this._getChunkGraphChunk(k) + return v.entryModules + } + getBlockChunkGroup(k) { + return this._blockChunkGroups.get(k) + } + connectBlockAndChunkGroup(k, v) { + this._blockChunkGroups.set(k, v) + v.addBlock(k) + } + disconnectChunkGroup(k) { + for (const v of k.blocksIterable) { + this._blockChunkGroups.delete(v) + } + k._blocks.clear() + } + getModuleId(k) { + const v = this._getChunkGraphModule(k) + return v.id + } + setModuleId(k, v) { + const E = this._getChunkGraphModule(k) + E.id = v + } + getRuntimeId(k) { + return this._runtimeIds.get(k) + } + setRuntimeId(k, v) { + this._runtimeIds.set(k, v) + } + _getModuleHashInfo(k, v, E) { + if (!v) { + throw new Error( + `Module ${k.identifier()} has no hash info for runtime ${Ne( + E + )} (hashes not set at all)` + ) + } else if (E === undefined) { + const E = new Set(v.values()) + if (E.size !== 1) { + throw new Error( + `No unique hash info entry for unspecified runtime for ${k.identifier()} (existing runtimes: ${Array.from( + v.keys(), + (k) => Ne(k) + ).join( + ', ' + )}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").` + ) + } + return N(E) + } else { + const P = v.get(E) + if (!P) { + throw new Error( + `Module ${k.identifier()} has no hash info for runtime ${Ne( + E + )} (available runtimes ${Array.from(v.keys(), Ne).join(', ')})` + ) + } + return P + } + } + hasModuleHashes(k, v) { + const E = this._getChunkGraphModule(k) + const P = E.hashes + return P && P.has(v) + } + getModuleHash(k, v) { + const E = this._getChunkGraphModule(k) + const P = E.hashes + return this._getModuleHashInfo(k, P, v).hash + } + getRenderedModuleHash(k, v) { + const E = this._getChunkGraphModule(k) + const P = E.hashes + return this._getModuleHashInfo(k, P, v).renderedHash + } + setModuleHashes(k, v, E, P) { + const R = this._getChunkGraphModule(k) + if (R.hashes === undefined) { + R.hashes = new Te() + } + R.hashes.set(v, new ModuleHashInfo(E, P)) + } + addModuleRuntimeRequirements(k, v, E, P = true) { + const R = this._getChunkGraphModule(k) + const L = R.runtimeRequirements + if (L === undefined) { + const k = new Te() + k.set(v, P ? E : new Set(E)) + R.runtimeRequirements = k + return + } + L.update(v, (k) => { + if (k === undefined) { + return P ? E : new Set(E) + } else if (!P || k.size >= E.size) { + for (const v of E) k.add(v) + return k + } else { + for (const v of k) E.add(v) + return E + } + }) + } + addChunkRuntimeRequirements(k, v) { + const E = this._getChunkGraphChunk(k) + const P = E.runtimeRequirements + if (P === undefined) { + E.runtimeRequirements = v + } else if (P.size >= v.size) { + for (const k of v) P.add(k) + } else { + for (const k of P) v.add(k) + E.runtimeRequirements = v + } + } + addTreeRuntimeRequirements(k, v) { + const E = this._getChunkGraphChunk(k) + const P = E.runtimeRequirementsInTree + for (const k of v) P.add(k) + } + getModuleRuntimeRequirements(k, v) { + const E = this._getChunkGraphModule(k) + const P = E.runtimeRequirements && E.runtimeRequirements.get(v) + return P === undefined ? Ue : P + } + getChunkRuntimeRequirements(k) { + const v = this._getChunkGraphChunk(k) + const E = v.runtimeRequirements + return E === undefined ? Ue : E + } + getModuleGraphHash(k, v, E = true) { + const P = this._getChunkGraphModule(k) + return E + ? this._getModuleGraphHashWithConnections(P, k, v) + : this._getModuleGraphHashBigInt(P, k, v).toString(16) + } + getModuleGraphHashBigInt(k, v, E = true) { + const P = this._getChunkGraphModule(k) + return E + ? BigInt(`0x${this._getModuleGraphHashWithConnections(P, k, v)}`) + : this._getModuleGraphHashBigInt(P, k, v) + } + _getModuleGraphHashBigInt(k, v, E) { + if (k.graphHashes === undefined) { + k.graphHashes = new Te() + } + const P = k.graphHashes.provide(E, () => { + const P = Ie(this._hashFunction) + P.update(`${k.id}${this.moduleGraph.isAsync(v)}`) + const R = this._getOverwrittenModuleSourceTypes(v) + if (R !== undefined) { + for (const k of R) P.update(k) + } + this.moduleGraph.getExportsInfo(v).updateHash(P, E) + return BigInt(`0x${P.digest('hex')}`) + }) + return P + } + _getModuleGraphHashWithConnections(k, v, E) { + if (k.graphHashesWithConnections === undefined) { + k.graphHashesWithConnections = new Te() + } + const activeStateToString = (k) => { + if (k === false) return 'F' + if (k === true) return 'T' + if (k === L.TRANSITIVE_ONLY) return 'O' + throw new Error('Not implemented active state') + } + const P = v.buildMeta && v.buildMeta.strictHarmonyModule + return k.graphHashesWithConnections.provide(E, () => { + const R = this._getModuleGraphHashBigInt(k, v, E).toString(16) + const L = this.moduleGraph.getOutgoingConnections(v) + const q = new Set() + const ae = new Map() + const processConnection = (k, v) => { + const E = k.module + v += E.getExportsType(this.moduleGraph, P) + if (v === 'Tnamespace') q.add(E) + else { + const k = ae.get(v) + if (k === undefined) { + ae.set(v, E) + } else if (k instanceof Set) { + k.add(E) + } else if (k !== E) { + ae.set(v, new Set([k, E])) + } + } + } + if (E === undefined || typeof E === 'string') { + for (const k of L) { + const v = k.getActiveState(E) + if (v === false) continue + processConnection(k, v === true ? 'T' : 'O') + } + } else { + for (const k of L) { + const v = new Set() + let P = '' + qe( + E, + (E) => { + const R = k.getActiveState(E) + v.add(R) + P += activeStateToString(R) + E + }, + true + ) + if (v.size === 1) { + const k = N(v) + if (k === false) continue + P = activeStateToString(k) + } + processConnection(k, P) + } + } + if (q.size === 0 && ae.size === 0) return R + const le = + ae.size > 1 + ? Array.from(ae).sort(([k], [v]) => (k < v ? -1 : 1)) + : ae + const pe = Ie(this._hashFunction) + const addModuleToHash = (k) => { + pe.update( + this._getModuleGraphHashBigInt( + this._getChunkGraphModule(k), + k, + E + ).toString(16) + ) + } + const addModulesToHash = (k) => { + let v = Ge + for (const P of k) { + v = + v ^ + this._getModuleGraphHashBigInt( + this._getChunkGraphModule(P), + P, + E + ) + } + pe.update(v.toString(16)) + } + if (q.size === 1) addModuleToHash(q.values().next().value) + else if (q.size > 1) addModulesToHash(q) + for (const [k, v] of le) { + pe.update(k) + if (v instanceof Set) { + addModulesToHash(v) + } else { + addModuleToHash(v) + } + } + pe.update(R) + return pe.digest('hex') + }) + } + getTreeRuntimeRequirements(k) { + const v = this._getChunkGraphChunk(k) + return v.runtimeRequirementsInTree + } + static getChunkGraphForModule(k, v, E) { + const R = Ke.get(v) + if (R) return R(k) + const L = P.deprecate( + (k) => { + const E = Je.get(k) + if (!E) + throw new Error( + v + + ': There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)' + ) + return E + }, + v + ': Use new ChunkGraph API', + E + ) + Ke.set(v, L) + return L(k) + } + static setChunkGraphForModule(k, v) { + Je.set(k, v) + } + static clearChunkGraphForModule(k) { + Je.delete(k) + } + static getChunkGraphForChunk(k, v, E) { + const R = Ye.get(v) + if (R) return R(k) + const L = P.deprecate( + (k) => { + const E = Ve.get(k) + if (!E) + throw new Error( + v + + 'There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)' + ) + return E + }, + v + ': Use new ChunkGraph API', + E + ) + Ye.set(v, L) + return L(k) + } + static setChunkGraphForChunk(k, v) { + Ve.set(k, v) + } + static clearChunkGraphForChunk(k) { + Ve.delete(k) + } + } + const Je = new WeakMap() + const Ve = new WeakMap() + const Ke = new Map() + const Ye = new Map() + k.exports = ChunkGraph + }, + 28541: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = E(46081) + const { + compareLocations: L, + compareChunks: N, + compareIterables: q, + } = E(95648) + let ae = 5e3 + const getArray = (k) => Array.from(k) + const sortById = (k, v) => { + if (k.id < v.id) return -1 + if (v.id < k.id) return 1 + return 0 + } + const sortOrigin = (k, v) => { + const E = k.module ? k.module.identifier() : '' + const P = v.module ? v.module.identifier() : '' + if (E < P) return -1 + if (E > P) return 1 + return L(k.loc, v.loc) + } + class ChunkGroup { + constructor(k) { + if (typeof k === 'string') { + k = { name: k } + } else if (!k) { + k = { name: undefined } + } + this.groupDebugId = ae++ + this.options = k + this._children = new R(undefined, sortById) + this._parents = new R(undefined, sortById) + this._asyncEntrypoints = new R(undefined, sortById) + this._blocks = new R() + this.chunks = [] + this.origins = [] + this._modulePreOrderIndices = new Map() + this._modulePostOrderIndices = new Map() + this.index = undefined + } + addOptions(k) { + for (const v of Object.keys(k)) { + if (this.options[v] === undefined) { + this.options[v] = k[v] + } else if (this.options[v] !== k[v]) { + if (v.endsWith('Order')) { + this.options[v] = Math.max(this.options[v], k[v]) + } else { + throw new Error( + `ChunkGroup.addOptions: No option merge strategy for ${v}` + ) + } + } + } + } + get name() { + return this.options.name + } + set name(k) { + this.options.name = k + } + get debugId() { + return Array.from(this.chunks, (k) => k.debugId).join('+') + } + get id() { + return Array.from(this.chunks, (k) => k.id).join('+') + } + unshiftChunk(k) { + const v = this.chunks.indexOf(k) + if (v > 0) { + this.chunks.splice(v, 1) + this.chunks.unshift(k) + } else if (v < 0) { + this.chunks.unshift(k) + return true + } + return false + } + insertChunk(k, v) { + const E = this.chunks.indexOf(k) + const P = this.chunks.indexOf(v) + if (P < 0) { + throw new Error('before chunk not found') + } + if (E >= 0 && E > P) { + this.chunks.splice(E, 1) + this.chunks.splice(P, 0, k) + } else if (E < 0) { + this.chunks.splice(P, 0, k) + return true + } + return false + } + pushChunk(k) { + const v = this.chunks.indexOf(k) + if (v >= 0) { + return false + } + this.chunks.push(k) + return true + } + replaceChunk(k, v) { + const E = this.chunks.indexOf(k) + if (E < 0) return false + const P = this.chunks.indexOf(v) + if (P < 0) { + this.chunks[E] = v + return true + } + if (P < E) { + this.chunks.splice(E, 1) + return true + } else if (P !== E) { + this.chunks[E] = v + this.chunks.splice(P, 1) + return true + } + } + removeChunk(k) { + const v = this.chunks.indexOf(k) + if (v >= 0) { + this.chunks.splice(v, 1) + return true + } + return false + } + isInitial() { + return false + } + addChild(k) { + const v = this._children.size + this._children.add(k) + return v !== this._children.size + } + getChildren() { + return this._children.getFromCache(getArray) + } + getNumberOfChildren() { + return this._children.size + } + get childrenIterable() { + return this._children + } + removeChild(k) { + if (!this._children.has(k)) { + return false + } + this._children.delete(k) + k.removeParent(this) + return true + } + addParent(k) { + if (!this._parents.has(k)) { + this._parents.add(k) + return true + } + return false + } + getParents() { + return this._parents.getFromCache(getArray) + } + getNumberOfParents() { + return this._parents.size + } + hasParent(k) { + return this._parents.has(k) + } + get parentsIterable() { + return this._parents + } + removeParent(k) { + if (this._parents.delete(k)) { + k.removeChild(this) + return true + } + return false + } + addAsyncEntrypoint(k) { + const v = this._asyncEntrypoints.size + this._asyncEntrypoints.add(k) + return v !== this._asyncEntrypoints.size + } + get asyncEntrypointsIterable() { + return this._asyncEntrypoints + } + getBlocks() { + return this._blocks.getFromCache(getArray) + } + getNumberOfBlocks() { + return this._blocks.size + } + hasBlock(k) { + return this._blocks.has(k) + } + get blocksIterable() { + return this._blocks + } + addBlock(k) { + if (!this._blocks.has(k)) { + this._blocks.add(k) + return true + } + return false + } + addOrigin(k, v, E) { + this.origins.push({ module: k, loc: v, request: E }) + } + getFiles() { + const k = new Set() + for (const v of this.chunks) { + for (const E of v.files) { + k.add(E) + } + } + return Array.from(k) + } + remove() { + for (const k of this._parents) { + k._children.delete(this) + for (const v of this._children) { + v.addParent(k) + k.addChild(v) + } + } + for (const k of this._children) { + k._parents.delete(this) + } + for (const k of this.chunks) { + k.removeGroup(this) + } + } + sortItems() { + this.origins.sort(sortOrigin) + } + compareTo(k, v) { + if (this.chunks.length > v.chunks.length) return -1 + if (this.chunks.length < v.chunks.length) return 1 + return q(N(k))(this.chunks, v.chunks) + } + getChildrenByOrders(k, v) { + const E = new Map() + for (const k of this._children) { + for (const v of Object.keys(k.options)) { + if (v.endsWith('Order')) { + const P = v.slice(0, v.length - 'Order'.length) + let R = E.get(P) + if (R === undefined) { + E.set(P, (R = [])) + } + R.push({ order: k.options[v], group: k }) + } + } + } + const P = Object.create(null) + for (const [k, R] of E) { + R.sort((k, E) => { + const P = E.order - k.order + if (P !== 0) return P + return k.group.compareTo(v, E.group) + }) + P[k] = R.map((k) => k.group) + } + return P + } + setModulePreOrderIndex(k, v) { + this._modulePreOrderIndices.set(k, v) + } + getModulePreOrderIndex(k) { + return this._modulePreOrderIndices.get(k) + } + setModulePostOrderIndex(k, v) { + this._modulePostOrderIndices.set(k, v) + } + getModulePostOrderIndex(k) { + return this._modulePostOrderIndices.get(k) + } + checkConstraints() { + const k = this + for (const v of k._children) { + if (!v._parents.has(k)) { + throw new Error( + `checkConstraints: child missing parent ${k.debugId} -> ${v.debugId}` + ) + } + } + for (const v of k._parents) { + if (!v._children.has(k)) { + throw new Error( + `checkConstraints: parent missing child ${v.debugId} <- ${k.debugId}` + ) + } + } + } + } + ChunkGroup.prototype.getModuleIndex = P.deprecate( + ChunkGroup.prototype.getModulePreOrderIndex, + 'ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex', + 'DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX' + ) + ChunkGroup.prototype.getModuleIndex2 = P.deprecate( + ChunkGroup.prototype.getModulePostOrderIndex, + 'ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex', + 'DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2' + ) + k.exports = ChunkGroup + }, + 76496: function (k, v, E) { + 'use strict' + const P = E(71572) + class ChunkRenderError extends P { + constructor(k, v, E) { + super() + this.name = 'ChunkRenderError' + this.error = E + this.message = E.message + this.details = E.stack + this.file = v + this.chunk = k + } + } + k.exports = ChunkRenderError + }, + 97095: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = E(20631) + const L = R(() => E(89168)) + class ChunkTemplate { + constructor(k, v) { + this._outputOptions = k || {} + this.hooks = Object.freeze({ + renderManifest: { + tap: P.deprecate( + (k, E) => { + v.hooks.renderManifest.tap(k, (k, v) => { + if (v.chunk.hasRuntime()) return k + return E(k, v) + }) + }, + 'ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)', + 'DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST' + ), + }, + modules: { + tap: P.deprecate( + (k, E) => { + L() + .getCompilationHooks(v) + .renderChunk.tap(k, (k, P) => + E(k, v.moduleTemplates.javascript, P) + ) + }, + 'ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)', + 'DEP_WEBPACK_CHUNK_TEMPLATE_MODULES' + ), + }, + render: { + tap: P.deprecate( + (k, E) => { + L() + .getCompilationHooks(v) + .renderChunk.tap(k, (k, P) => + E(k, v.moduleTemplates.javascript, P) + ) + }, + 'ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)', + 'DEP_WEBPACK_CHUNK_TEMPLATE_RENDER' + ), + }, + renderWithEntry: { + tap: P.deprecate( + (k, E) => { + L() + .getCompilationHooks(v) + .render.tap(k, (k, v) => { + if ( + v.chunkGraph.getNumberOfEntryModules(v.chunk) === 0 || + v.chunk.hasRuntime() + ) { + return k + } + return E(k, v.chunk) + }) + }, + 'ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)', + 'DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY' + ), + }, + hash: { + tap: P.deprecate( + (k, E) => { + v.hooks.fullHash.tap(k, E) + }, + 'ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)', + 'DEP_WEBPACK_CHUNK_TEMPLATE_HASH' + ), + }, + hashForChunk: { + tap: P.deprecate( + (k, E) => { + L() + .getCompilationHooks(v) + .chunkHash.tap(k, (k, v, P) => { + if (k.hasRuntime()) return + E(v, k, P) + }) + }, + 'ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)', + 'DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK' + ), + }, + }) + } + } + Object.defineProperty(ChunkTemplate.prototype, 'outputOptions', { + get: P.deprecate( + function () { + return this._outputOptions + }, + 'ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)', + 'DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS' + ), + }) + k.exports = ChunkTemplate + }, + 69155: function (k, v, E) { + 'use strict' + const P = E(78175) + const { SyncBailHook: R } = E(79846) + const L = E(27747) + const N = E(92198) + const { join: q } = E(57825) + const ae = E(38254) + const le = N( + undefined, + () => { + const { definitions: k } = E(98625) + return { + definitions: k, + oneOf: [{ $ref: '#/definitions/CleanOptions' }], + } + }, + { name: 'Clean Plugin', baseDataPath: 'options' } + ) + const pe = 10 * 1e3 + const mergeAssets = (k, v) => { + for (const [E, P] of v) { + const v = k.get(E) + if (!v || P > v) k.set(E, P) + } + } + const getDiffToFs = (k, v, E, R) => { + const L = new Set() + for (const [k] of E) { + L.add(k.replace(/(^|\/)[^/]*$/, '')) + } + for (const k of L) { + L.add(k.replace(/(^|\/)[^/]*$/, '')) + } + const N = new Set() + P.forEachLimit( + L, + 10, + (P, R) => { + k.readdir(q(k, v, P), (k, v) => { + if (k) { + if (k.code === 'ENOENT') return R() + if (k.code === 'ENOTDIR') { + N.add(P) + return R() + } + return R(k) + } + for (const k of v) { + const v = k + const R = P ? `${P}/${v}` : v + if (!L.has(R) && !E.has(R)) { + N.add(R) + } + } + R() + }) + }, + (k) => { + if (k) return R(k) + R(null, N) + } + ) + } + const getDiffToOldAssets = (k, v) => { + const E = new Set() + const P = Date.now() + for (const [R, L] of v) { + if (L >= P) continue + if (!k.has(R)) E.add(R) + } + return E + } + const doStat = (k, v, E) => { + if ('lstat' in k) { + k.lstat(v, E) + } else { + k.stat(v, E) + } + } + const applyDiff = (k, v, E, P, R, L, N) => { + const log = (k) => { + if (E) { + P.info(k) + } else { + P.log(k) + } + } + const le = Array.from(R.keys(), (k) => ({ + type: 'check', + filename: k, + parent: undefined, + })) + const pe = new Map() + ae( + le, + 10, + ({ type: R, filename: N, parent: ae }, le, me) => { + const handleError = (k) => { + if (k.code === 'ENOENT') { + log(`${N} was removed during cleaning by something else`) + handleParent() + return me() + } + return me(k) + } + const handleParent = () => { + if (ae && --ae.remaining === 0) le(ae.job) + } + const ye = q(k, v, N) + switch (R) { + case 'check': + if (L(N)) { + pe.set(N, 0) + log(`${N} will be kept`) + return process.nextTick(me) + } + doStat(k, ye, (v, E) => { + if (v) return handleError(v) + if (!E.isDirectory()) { + le({ type: 'unlink', filename: N, parent: ae }) + return me() + } + k.readdir(ye, (k, v) => { + if (k) return handleError(k) + const E = { type: 'rmdir', filename: N, parent: ae } + if (v.length === 0) { + le(E) + } else { + const k = { remaining: v.length, job: E } + for (const E of v) { + const v = E + if (v.startsWith('.')) { + log( + `${N} will be kept (dot-files will never be removed)` + ) + continue + } + le({ type: 'check', filename: `${N}/${v}`, parent: k }) + } + } + return me() + }) + }) + break + case 'rmdir': + log(`${N} will be removed`) + if (E) { + handleParent() + return process.nextTick(me) + } + if (!k.rmdir) { + P.warn( + `${N} can't be removed because output file system doesn't support removing directories (rmdir)` + ) + return process.nextTick(me) + } + k.rmdir(ye, (k) => { + if (k) return handleError(k) + handleParent() + me() + }) + break + case 'unlink': + log(`${N} will be removed`) + if (E) { + handleParent() + return process.nextTick(me) + } + if (!k.unlink) { + P.warn( + `${N} can't be removed because output file system doesn't support removing files (rmdir)` + ) + return process.nextTick(me) + } + k.unlink(ye, (k) => { + if (k) return handleError(k) + handleParent() + me() + }) + break + } + }, + (k) => { + if (k) return N(k) + N(undefined, pe) + } + ) + } + const me = new WeakMap() + class CleanPlugin { + static getCompilationHooks(k) { + if (!(k instanceof L)) { + throw new TypeError( + "The 'compilation' argument must be an instance of Compilation" + ) + } + let v = me.get(k) + if (v === undefined) { + v = { keep: new R(['ignore']) } + me.set(k, v) + } + return v + } + constructor(k = {}) { + le(k) + this.options = { dry: false, ...k } + } + apply(k) { + const { dry: v, keep: E } = this.options + const P = + typeof E === 'function' + ? E + : typeof E === 'string' + ? (k) => k.startsWith(E) + : typeof E === 'object' && E.test + ? (k) => E.test(k) + : () => false + let R + k.hooks.emit.tapAsync({ name: 'CleanPlugin', stage: 100 }, (E, L) => { + const N = CleanPlugin.getCompilationHooks(E) + const q = E.getLogger('webpack.CleanPlugin') + const ae = k.outputFileSystem + if (!ae.readdir) { + return L( + new Error( + "CleanPlugin: Output filesystem doesn't support listing directories (readdir)" + ) + ) + } + const le = new Map() + const me = Date.now() + for (const k of Object.keys(E.assets)) { + if (/^[A-Za-z]:\\|^\/|^\\\\/.test(k)) continue + let v + let P = k.replace(/\\/g, '/') + do { + v = P + P = v.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g, '$1') + } while (P !== v) + if (v.startsWith('../')) continue + const R = E.assetsInfo.get(k) + if (R && R.hotModuleReplacement) { + le.set(v, me + pe) + } else { + le.set(v, 0) + } + } + const ye = E.getPath(k.outputPath, {}) + const isKept = (k) => { + const v = N.keep.call(k) + if (v !== undefined) return v + return P(k) + } + const diffCallback = (k, E) => { + if (k) { + R = undefined + L(k) + return + } + applyDiff(ae, ye, v, q, E, isKept, (k, v) => { + if (k) { + R = undefined + } else { + if (R) mergeAssets(le, R) + R = le + if (v) mergeAssets(R, v) + } + L(k) + }) + } + if (R) { + diffCallback(null, getDiffToOldAssets(le, R)) + } else { + getDiffToFs(ae, ye, le, diffCallback) + } + }) + } + } + k.exports = CleanPlugin + }, + 42179: function (k, v, E) { + 'use strict' + const P = E(71572) + class CodeGenerationError extends P { + constructor(k, v) { + super() + this.name = 'CodeGenerationError' + this.error = v + this.message = v.message + this.details = v.stack + this.module = k + } + } + k.exports = CodeGenerationError + }, + 12021: function (k, v, E) { + 'use strict' + const { getOrInsert: P } = E(47978) + const { first: R } = E(59959) + const L = E(74012) + const { runtimeToString: N, RuntimeSpecMap: q } = E(1540) + class CodeGenerationResults { + constructor(k = 'md4') { + this.map = new Map() + this._hashFunction = k + } + get(k, v) { + const E = this.map.get(k) + if (E === undefined) { + throw new Error( + `No code generation entry for ${k.identifier()} (existing entries: ${Array.from( + this.map.keys(), + (k) => k.identifier() + ).join(', ')})` + ) + } + if (v === undefined) { + if (E.size > 1) { + const v = new Set(E.values()) + if (v.size !== 1) { + throw new Error( + `No unique code generation entry for unspecified runtime for ${k.identifier()} (existing runtimes: ${Array.from( + E.keys(), + (k) => N(k) + ).join( + ', ' + )}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").` + ) + } + return R(v) + } + return E.values().next().value + } + const P = E.get(v) + if (P === undefined) { + throw new Error( + `No code generation entry for runtime ${N( + v + )} for ${k.identifier()} (existing runtimes: ${Array.from( + E.keys(), + (k) => N(k) + ).join(', ')})` + ) + } + return P + } + has(k, v) { + const E = this.map.get(k) + if (E === undefined) { + return false + } + if (v !== undefined) { + return E.has(v) + } else if (E.size > 1) { + const k = new Set(E.values()) + return k.size === 1 + } else { + return E.size === 1 + } + } + getSource(k, v, E) { + return this.get(k, v).sources.get(E) + } + getRuntimeRequirements(k, v) { + return this.get(k, v).runtimeRequirements + } + getData(k, v, E) { + const P = this.get(k, v).data + return P === undefined ? undefined : P.get(E) + } + getHash(k, v) { + const E = this.get(k, v) + if (E.hash !== undefined) return E.hash + const P = L(this._hashFunction) + for (const [k, v] of E.sources) { + P.update(k) + v.updateHash(P) + } + if (E.runtimeRequirements) { + for (const k of E.runtimeRequirements) P.update(k) + } + return (E.hash = P.digest('hex')) + } + add(k, v, E) { + const R = P(this.map, k, () => new q()) + R.set(v, E) + } + } + k.exports = CodeGenerationResults + }, + 68160: function (k, v, E) { + 'use strict' + const P = E(71572) + const R = E(58528) + class CommentCompilationWarning extends P { + constructor(k, v) { + super(k) + this.name = 'CommentCompilationWarning' + this.loc = v + } + } + R(CommentCompilationWarning, 'webpack/lib/CommentCompilationWarning') + k.exports = CommentCompilationWarning + }, + 8305: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, + JAVASCRIPT_MODULE_TYPE_ESM: L, + } = E(93622) + const N = E(56727) + const q = E(60381) + const ae = Symbol('nested webpack identifier') + const le = 'CompatibilityPlugin' + class CompatibilityPlugin { + apply(k) { + k.hooks.compilation.tap(le, (k, { normalModuleFactory: v }) => { + k.dependencyTemplates.set(q, new q.Template()) + v.hooks.parser.for(P).tap(le, (k, v) => { + if (v.browserify !== undefined && !v.browserify) return + k.hooks.call.for('require').tap(le, (v) => { + if (v.arguments.length !== 2) return + const E = k.evaluateExpression(v.arguments[1]) + if (!E.isBoolean()) return + if (E.asBool() !== true) return + const P = new q('require', v.callee.range) + P.loc = v.loc + if (k.state.current.dependencies.length > 0) { + const v = + k.state.current.dependencies[ + k.state.current.dependencies.length - 1 + ] + if ( + v.critical && + v.options && + v.options.request === '.' && + v.userRequest === '.' && + v.options.recursive + ) + k.state.current.dependencies.pop() + } + k.state.module.addPresentationalDependency(P) + return true + }) + }) + const handler = (k) => { + k.hooks.preStatement.tap(le, (v) => { + if ( + v.type === 'FunctionDeclaration' && + v.id && + v.id.name === N.require + ) { + const E = `__nested_webpack_require_${v.range[0]}__` + k.tagVariable(v.id.name, ae, { + name: E, + declaration: { + updated: false, + loc: v.id.loc, + range: v.id.range, + }, + }) + return true + } + }) + k.hooks.pattern.for(N.require).tap(le, (v) => { + const E = `__nested_webpack_require_${v.range[0]}__` + k.tagVariable(v.name, ae, { + name: E, + declaration: { updated: false, loc: v.loc, range: v.range }, + }) + return true + }) + k.hooks.pattern.for(N.exports).tap(le, (v) => { + k.tagVariable(v.name, ae, { + name: '__nested_webpack_exports__', + declaration: { updated: false, loc: v.loc, range: v.range }, + }) + return true + }) + k.hooks.expression.for(ae).tap(le, (v) => { + const { name: E, declaration: P } = k.currentTagData + if (!P.updated) { + const v = new q(E, P.range) + v.loc = P.loc + k.state.module.addPresentationalDependency(v) + P.updated = true + } + const R = new q(E, v.range) + R.loc = v.loc + k.state.module.addPresentationalDependency(R) + return true + }) + k.hooks.program.tap(le, (v, E) => { + if (E.length === 0) return + const P = E[0] + if (P.type === 'Line' && P.range[0] === 0) { + if (k.state.source.slice(0, 2).toString() !== '#!') return + const v = new q('//', 0) + v.loc = P.loc + k.state.module.addPresentationalDependency(v) + } + }) + } + v.hooks.parser.for(P).tap(le, handler) + v.hooks.parser.for(R).tap(le, handler) + v.hooks.parser.for(L).tap(le, handler) + }) + } + } + k.exports = CompatibilityPlugin + }, + 27747: function (k, v, E) { + 'use strict' + const P = E(78175) + const { + HookMap: R, + SyncHook: L, + SyncBailHook: N, + SyncWaterfallHook: q, + AsyncSeriesHook: ae, + AsyncSeriesBailHook: le, + AsyncParallelHook: pe, + } = E(79846) + const me = E(73837) + const { CachedSource: ye } = E(51255) + const { MultiItemCache: _e } = E(90580) + const Ie = E(8247) + const Me = E(38317) + const Te = E(28541) + const je = E(76496) + const Ne = E(97095) + const Be = E(42179) + const qe = E(12021) + const Ue = E(16848) + const Ge = E(3175) + const He = E(10969) + const We = E(53657) + const Qe = E(18144) + const { + connectChunkGroupAndChunk: Je, + connectChunkGroupParentAndChild: Ve, + } = E(18467) + const { makeWebpackError: Ke, tryRunOrWebpackError: Ye } = E(82104) + const Xe = E(98954) + const Ze = E(88396) + const et = E(36428) + const tt = E(84018) + const nt = E(88223) + const st = E(83139) + const rt = E(69734) + const ot = E(52200) + const it = E(48575) + const at = E(57177) + const ct = E(3304) + const { WEBPACK_MODULE_TYPE_RUNTIME: lt } = E(93622) + const ut = E(56727) + const pt = E(89240) + const dt = E(26288) + const ft = E(71572) + const ht = E(82551) + const mt = E(10408) + const { Logger: gt, LogType: yt } = E(13905) + const bt = E(12231) + const xt = E(54052) + const { equals: kt } = E(68863) + const vt = E(89262) + const wt = E(12359) + const { getOrInsert: At } = E(47978) + const Et = E(69752) + const { cachedCleverMerge: Ct } = E(99454) + const { + compareLocations: St, + concatComparators: _t, + compareSelect: It, + compareIds: Mt, + compareStringsNumeric: Pt, + compareModulesByIdentifier: Ot, + } = E(95648) + const Dt = E(74012) + const { + arrayToSetDeprecation: Rt, + soonFrozenObjectDeprecation: Tt, + createFakeHook: $t, + } = E(61883) + const Ft = E(38254) + const { getRuntimeKey: jt } = E(1540) + const { isSourceEqual: Lt } = E(71435) + const Nt = Object.freeze({}) + const Bt = 'esm' + const qt = me.deprecate( + (k) => E(38224).getCompilationHooks(k).loader, + 'Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader', + 'DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK' + ) + const defineRemovedModuleTemplates = (k) => { + Object.defineProperties(k, { + asset: { + enumerable: false, + configurable: false, + get: () => { + throw new ft('Compilation.moduleTemplates.asset has been removed') + }, + }, + webassembly: { + enumerable: false, + configurable: false, + get: () => { + throw new ft( + 'Compilation.moduleTemplates.webassembly has been removed' + ) + }, + }, + }) + k = undefined + } + const zt = It((k) => k.id, Mt) + const Ut = _t( + It((k) => k.name, Mt), + It((k) => k.fullHash, Mt) + ) + const Gt = It((k) => `${k.message}`, Pt) + const Ht = It((k) => (k.module && k.module.identifier()) || '', Pt) + const Wt = It((k) => k.loc, St) + const Qt = _t(Ht, Wt, Gt) + const Jt = new WeakMap() + const Vt = new WeakMap() + class Compilation { + constructor(k, v) { + this._backCompat = k._backCompat + const getNormalModuleLoader = () => qt(this) + const E = new ae(['assets']) + let P = new Set() + const popNewAssets = (k) => { + let v = undefined + for (const E of Object.keys(k)) { + if (P.has(E)) continue + if (v === undefined) { + v = Object.create(null) + } + v[E] = k[E] + P.add(E) + } + return v + } + E.intercept({ + name: 'Compilation', + call: () => { + P = new Set(Object.keys(this.assets)) + }, + register: (k) => { + const { type: v, name: E } = k + const { fn: P, additionalAssets: R, ...L } = k + const N = R === true ? P : R + const q = N ? new WeakSet() : undefined + switch (v) { + case 'sync': + if (N) { + this.hooks.processAdditionalAssets.tap(E, (k) => { + if (q.has(this.assets)) N(k) + }) + } + return { + ...L, + type: 'async', + fn: (k, v) => { + try { + P(k) + } catch (k) { + return v(k) + } + if (q !== undefined) q.add(this.assets) + const E = popNewAssets(k) + if (E !== undefined) { + this.hooks.processAdditionalAssets.callAsync(E, v) + return + } + v() + }, + } + case 'async': + if (N) { + this.hooks.processAdditionalAssets.tapAsync(E, (k, v) => { + if (q.has(this.assets)) return N(k, v) + v() + }) + } + return { + ...L, + fn: (k, v) => { + P(k, (E) => { + if (E) return v(E) + if (q !== undefined) q.add(this.assets) + const P = popNewAssets(k) + if (P !== undefined) { + this.hooks.processAdditionalAssets.callAsync(P, v) + return + } + v() + }) + }, + } + case 'promise': + if (N) { + this.hooks.processAdditionalAssets.tapPromise(E, (k) => { + if (q.has(this.assets)) return N(k) + return Promise.resolve() + }) + } + return { + ...L, + fn: (k) => { + const v = P(k) + if (!v || !v.then) return v + return v.then(() => { + if (q !== undefined) q.add(this.assets) + const v = popNewAssets(k) + if (v !== undefined) { + return this.hooks.processAdditionalAssets.promise(v) + } + }) + }, + } + } + }, + }) + const ye = new L(['assets']) + const createProcessAssetsHook = (k, v, P, R) => { + if (!this._backCompat && R) return undefined + const errorMessage = (v) => + `Can't automatically convert plugin using Compilation.hooks.${k} to Compilation.hooks.processAssets because ${v}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.` + const getOptions = (k) => { + if (typeof k === 'string') k = { name: k } + if (k.stage) { + throw new Error(errorMessage("it's using the 'stage' option")) + } + return { ...k, stage: v } + } + return $t( + { + name: k, + intercept(k) { + throw new Error(errorMessage("it's using 'intercept'")) + }, + tap: (k, v) => { + E.tap(getOptions(k), () => v(...P())) + }, + tapAsync: (k, v) => { + E.tapAsync(getOptions(k), (k, E) => v(...P(), E)) + }, + tapPromise: (k, v) => { + E.tapPromise(getOptions(k), () => v(...P())) + }, + }, + `${k} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`, + R + ) + } + this.hooks = Object.freeze({ + buildModule: new L(['module']), + rebuildModule: new L(['module']), + failedModule: new L(['module', 'error']), + succeedModule: new L(['module']), + stillValidModule: new L(['module']), + addEntry: new L(['entry', 'options']), + failedEntry: new L(['entry', 'options', 'error']), + succeedEntry: new L(['entry', 'options', 'module']), + dependencyReferencedExports: new q([ + 'referencedExports', + 'dependency', + 'runtime', + ]), + executeModule: new L(['options', 'context']), + prepareModuleExecution: new pe(['options', 'context']), + finishModules: new ae(['modules']), + finishRebuildingModule: new ae(['module']), + unseal: new L([]), + seal: new L([]), + beforeChunks: new L([]), + afterChunks: new L(['chunks']), + optimizeDependencies: new N(['modules']), + afterOptimizeDependencies: new L(['modules']), + optimize: new L([]), + optimizeModules: new N(['modules']), + afterOptimizeModules: new L(['modules']), + optimizeChunks: new N(['chunks', 'chunkGroups']), + afterOptimizeChunks: new L(['chunks', 'chunkGroups']), + optimizeTree: new ae(['chunks', 'modules']), + afterOptimizeTree: new L(['chunks', 'modules']), + optimizeChunkModules: new le(['chunks', 'modules']), + afterOptimizeChunkModules: new L(['chunks', 'modules']), + shouldRecord: new N([]), + additionalChunkRuntimeRequirements: new L([ + 'chunk', + 'runtimeRequirements', + 'context', + ]), + runtimeRequirementInChunk: new R( + () => new N(['chunk', 'runtimeRequirements', 'context']) + ), + additionalModuleRuntimeRequirements: new L([ + 'module', + 'runtimeRequirements', + 'context', + ]), + runtimeRequirementInModule: new R( + () => new N(['module', 'runtimeRequirements', 'context']) + ), + additionalTreeRuntimeRequirements: new L([ + 'chunk', + 'runtimeRequirements', + 'context', + ]), + runtimeRequirementInTree: new R( + () => new N(['chunk', 'runtimeRequirements', 'context']) + ), + runtimeModule: new L(['module', 'chunk']), + reviveModules: new L(['modules', 'records']), + beforeModuleIds: new L(['modules']), + moduleIds: new L(['modules']), + optimizeModuleIds: new L(['modules']), + afterOptimizeModuleIds: new L(['modules']), + reviveChunks: new L(['chunks', 'records']), + beforeChunkIds: new L(['chunks']), + chunkIds: new L(['chunks']), + optimizeChunkIds: new L(['chunks']), + afterOptimizeChunkIds: new L(['chunks']), + recordModules: new L(['modules', 'records']), + recordChunks: new L(['chunks', 'records']), + optimizeCodeGeneration: new L(['modules']), + beforeModuleHash: new L([]), + afterModuleHash: new L([]), + beforeCodeGeneration: new L([]), + afterCodeGeneration: new L([]), + beforeRuntimeRequirements: new L([]), + afterRuntimeRequirements: new L([]), + beforeHash: new L([]), + contentHash: new L(['chunk']), + afterHash: new L([]), + recordHash: new L(['records']), + record: new L(['compilation', 'records']), + beforeModuleAssets: new L([]), + shouldGenerateChunkAssets: new N([]), + beforeChunkAssets: new L([]), + additionalChunkAssets: createProcessAssetsHook( + 'additionalChunkAssets', + Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL, + () => [this.chunks], + 'DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS' + ), + additionalAssets: createProcessAssetsHook( + 'additionalAssets', + Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL, + () => [] + ), + optimizeChunkAssets: createProcessAssetsHook( + 'optimizeChunkAssets', + Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE, + () => [this.chunks], + 'DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS' + ), + afterOptimizeChunkAssets: createProcessAssetsHook( + 'afterOptimizeChunkAssets', + Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE + 1, + () => [this.chunks], + 'DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS' + ), + optimizeAssets: E, + afterOptimizeAssets: ye, + processAssets: E, + afterProcessAssets: ye, + processAdditionalAssets: new ae(['assets']), + needAdditionalSeal: new N([]), + afterSeal: new ae([]), + renderManifest: new q(['result', 'options']), + fullHash: new L(['hash']), + chunkHash: new L(['chunk', 'chunkHash', 'ChunkHashContext']), + moduleAsset: new L(['module', 'filename']), + chunkAsset: new L(['chunk', 'filename']), + assetPath: new q(['path', 'options', 'assetInfo']), + needAdditionalPass: new N([]), + childCompiler: new L([ + 'childCompiler', + 'compilerName', + 'compilerIndex', + ]), + log: new N(['origin', 'logEntry']), + processWarnings: new q(['warnings']), + processErrors: new q(['errors']), + statsPreset: new R(() => new L(['options', 'context'])), + statsNormalize: new L(['options', 'context']), + statsFactory: new L(['statsFactory', 'options']), + statsPrinter: new L(['statsPrinter', 'options']), + get normalModuleLoader() { + return getNormalModuleLoader() + }, + }) + this.name = undefined + this.startTime = undefined + this.endTime = undefined + this.compiler = k + this.resolverFactory = k.resolverFactory + this.inputFileSystem = k.inputFileSystem + this.fileSystemInfo = new Qe(this.inputFileSystem, { + managedPaths: k.managedPaths, + immutablePaths: k.immutablePaths, + logger: this.getLogger('webpack.FileSystemInfo'), + hashFunction: k.options.output.hashFunction, + }) + if (k.fileTimestamps) { + this.fileSystemInfo.addFileTimestamps(k.fileTimestamps, true) + } + if (k.contextTimestamps) { + this.fileSystemInfo.addContextTimestamps(k.contextTimestamps, true) + } + this.valueCacheVersions = new Map() + this.requestShortener = k.requestShortener + this.compilerPath = k.compilerPath + this.logger = this.getLogger('webpack.Compilation') + const _e = k.options + this.options = _e + this.outputOptions = _e && _e.output + this.bail = (_e && _e.bail) || false + this.profile = (_e && _e.profile) || false + this.params = v + this.mainTemplate = new Xe(this.outputOptions, this) + this.chunkTemplate = new Ne(this.outputOptions, this) + this.runtimeTemplate = new pt( + this, + this.outputOptions, + this.requestShortener + ) + this.moduleTemplates = { + javascript: new ct(this.runtimeTemplate, this), + } + defineRemovedModuleTemplates(this.moduleTemplates) + this.moduleMemCaches = undefined + this.moduleMemCaches2 = undefined + this.moduleGraph = new nt() + this.chunkGraph = undefined + this.codeGenerationResults = undefined + this.processDependenciesQueue = new vt({ + name: 'processDependencies', + parallelism: _e.parallelism || 100, + processor: this._processModuleDependencies.bind(this), + }) + this.addModuleQueue = new vt({ + name: 'addModule', + parent: this.processDependenciesQueue, + getKey: (k) => k.identifier(), + processor: this._addModule.bind(this), + }) + this.factorizeQueue = new vt({ + name: 'factorize', + parent: this.addModuleQueue, + processor: this._factorizeModule.bind(this), + }) + this.buildQueue = new vt({ + name: 'build', + parent: this.factorizeQueue, + processor: this._buildModule.bind(this), + }) + this.rebuildQueue = new vt({ + name: 'rebuild', + parallelism: _e.parallelism || 100, + processor: this._rebuildModule.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() + this.chunkGroups = [] + this.namedChunkGroups = new Map() + this.namedChunks = new Map() + this.modules = new Set() + if (this._backCompat) { + Rt(this.chunks, 'Compilation.chunks') + Rt(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 Ge(this.outputOptions.hashFunction) + this.childrenCounters = {} + this.usedChunkIds = null + this.usedModuleIds = null + this.needAdditionalPass = false + this._restoredUnsafeCacheModuleEntries = new Set() + this._restoredUnsafeCacheEntries = new Map() + this.builtModules = new WeakSet() + this.codeGeneratedModules = new WeakSet() + this.buildTimeExecutedModules = new WeakSet() + this._rebuildingModules = new Map() + this.emittedAssets = new Set() + this.comparedForEmitAssets = new Set() + this.fileDependencies = new wt() + this.contextDependencies = new wt() + this.missingDependencies = new wt() + this.buildDependencies = new wt() + this.compilationDependencies = { + add: me.deprecate( + (k) => this.fileDependencies.add(k), + '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' + ) + const Ie = _e.module.unsafeCache + this._unsafeCache = !!Ie + this._unsafeCachePredicate = + typeof Ie === 'function' ? Ie : () => true + } + getStats() { + return new dt(this) + } + createStatsOptions(k, v = {}) { + if (typeof k === 'boolean' || typeof k === 'string') { + k = { preset: k } + } + if (typeof k === 'object' && k !== null) { + const E = {} + for (const v in k) { + E[v] = k[v] + } + if (E.preset !== undefined) { + this.hooks.statsPreset.for(E.preset).call(E, v) + } + this.hooks.statsNormalize.call(E, v) + return E + } else { + const k = {} + this.hooks.statsNormalize.call(k, v) + return k + } + } + createStatsFactory(k) { + const v = new bt() + this.hooks.statsFactory.call(v, k) + return v + } + createStatsPrinter(k) { + const v = new xt() + this.hooks.statsPrinter.call(v, k) + return v + } + getCache(k) { + return this.compiler.getCache(k) + } + getLogger(k) { + if (!k) { + throw new TypeError( + 'Compilation.getLogger(name) called without a name' + ) + } + let v + return new gt( + (E, P) => { + if (typeof k === 'function') { + k = k() + if (!k) { + throw new TypeError( + 'Compilation.getLogger(name) called with a function not returning a name' + ) + } + } + let R + switch (E) { + case yt.warn: + case yt.error: + case yt.trace: + R = We.cutOffLoaderExecution(new Error('Trace').stack) + .split('\n') + .slice(3) + break + } + const L = { time: Date.now(), type: E, args: P, trace: R } + if (this.hooks.log.call(k, L) === undefined) { + if (L.type === yt.profileEnd) { + if (typeof console.profileEnd === 'function') { + console.profileEnd(`[${k}] ${L.args[0]}`) + } + } + if (v === undefined) { + v = this.logging.get(k) + if (v === undefined) { + v = [] + this.logging.set(k, v) + } + } + v.push(L) + if (L.type === yt.profile) { + if (typeof console.profile === 'function') { + console.profile(`[${k}] ${L.args[0]}`) + } + } + } + }, + (v) => { + if (typeof k === 'function') { + if (typeof v === 'function') { + return this.getLogger(() => { + if (typeof k === 'function') { + k = k() + if (!k) { + throw new TypeError( + 'Compilation.getLogger(name) called with a function not returning a name' + ) + } + } + if (typeof v === 'function') { + v = v() + if (!v) { + throw new TypeError( + 'Logger.getChildLogger(name) called with a function not returning a name' + ) + } + } + return `${k}/${v}` + }) + } else { + return this.getLogger(() => { + if (typeof k === 'function') { + k = k() + if (!k) { + throw new TypeError( + 'Compilation.getLogger(name) called with a function not returning a name' + ) + } + } + return `${k}/${v}` + }) + } + } else { + if (typeof v === 'function') { + return this.getLogger(() => { + if (typeof v === 'function') { + v = v() + if (!v) { + throw new TypeError( + 'Logger.getChildLogger(name) called with a function not returning a name' + ) + } + } + return `${k}/${v}` + }) + } else { + return this.getLogger(`${k}/${v}`) + } + } + } + ) + } + addModule(k, v) { + this.addModuleQueue.add(k, v) + } + _addModule(k, v) { + const E = k.identifier() + const P = this._modules.get(E) + if (P) { + return v(null, P) + } + const R = this.profile ? this.moduleGraph.getProfile(k) : undefined + if (R !== undefined) { + R.markRestoringStart() + } + this._modulesCache.get(E, null, (P, L) => { + if (P) return v(new it(k, P)) + if (R !== undefined) { + R.markRestoringEnd() + R.markIntegrationStart() + } + if (L) { + L.updateCacheModule(k) + k = L + } + this._modules.set(E, k) + this.modules.add(k) + if (this._backCompat) + nt.setModuleGraphForModule(k, this.moduleGraph) + if (R !== undefined) { + R.markIntegrationEnd() + } + v(null, k) + }) + } + getModule(k) { + const v = k.identifier() + return this._modules.get(v) + } + findModule(k) { + return this._modules.get(k) + } + buildModule(k, v) { + this.buildQueue.add(k, v) + } + _buildModule(k, v) { + const E = this.profile ? this.moduleGraph.getProfile(k) : undefined + if (E !== undefined) { + E.markBuildingStart() + } + k.needBuild( + { + compilation: this, + fileSystemInfo: this.fileSystemInfo, + valueCacheVersions: this.valueCacheVersions, + }, + (P, R) => { + if (P) return v(P) + if (!R) { + if (E !== undefined) { + E.markBuildingEnd() + } + this.hooks.stillValidModule.call(k) + return v() + } + this.hooks.buildModule.call(k) + this.builtModules.add(k) + k.build( + this.options, + this, + this.resolverFactory.get('normal', k.resolveOptions), + this.inputFileSystem, + (P) => { + if (E !== undefined) { + E.markBuildingEnd() + } + if (P) { + this.hooks.failedModule.call(k, P) + return v(P) + } + if (E !== undefined) { + E.markStoringStart() + } + this._modulesCache.store(k.identifier(), null, k, (P) => { + if (E !== undefined) { + E.markStoringEnd() + } + if (P) { + this.hooks.failedModule.call(k, P) + return v(new at(k, P)) + } + this.hooks.succeedModule.call(k) + return v() + }) + } + ) + } + ) + } + processModuleDependencies(k, v) { + this.processDependenciesQueue.add(k, v) + } + processModuleDependenciesNonRecursive(k) { + const processDependenciesBlock = (v) => { + if (v.dependencies) { + let E = 0 + for (const P of v.dependencies) { + this.moduleGraph.setParents(P, v, k, E++) + } + } + if (v.blocks) { + for (const k of v.blocks) processDependenciesBlock(k) + } + } + processDependenciesBlock(k) + } + _processModuleDependencies(k, v) { + const E = [] + let P + let R + let L + let N + let q + let ae + let le + let pe + let me = 1 + let ye = 1 + const onDependenciesSorted = (k) => { + if (k) return v(k) + if (E.length === 0 && ye === 1) { + return v() + } + this.processDependenciesQueue.increaseParallelism() + for (const k of E) { + ye++ + this.handleModuleCreation(k, (k) => { + if (k && this.bail) { + if (ye <= 0) return + ye = -1 + k.stack = k.stack + onTransitiveTasksFinished(k) + return + } + if (--ye === 0) onTransitiveTasksFinished() + }) + } + if (--ye === 0) onTransitiveTasksFinished() + } + const onTransitiveTasksFinished = (k) => { + if (k) return v(k) + this.processDependenciesQueue.decreaseParallelism() + return v() + } + const processDependency = (v, E) => { + this.moduleGraph.setParents(v, P, k, E) + if (this._unsafeCache) { + try { + const E = Jt.get(v) + if (E === null) return + if (E !== undefined) { + if (this._restoredUnsafeCacheModuleEntries.has(E)) { + this._handleExistingModuleFromUnsafeCache(k, v, E) + return + } + const P = E.identifier() + const R = this._restoredUnsafeCacheEntries.get(P) + if (R !== undefined) { + Jt.set(v, R) + this._handleExistingModuleFromUnsafeCache(k, v, R) + return + } + me++ + this._modulesCache.get(P, null, (R, L) => { + if (R) { + if (me <= 0) return + me = -1 + onDependenciesSorted(R) + return + } + try { + if (!this._restoredUnsafeCacheEntries.has(P)) { + const R = Vt.get(L) + if (R === undefined) { + processDependencyForResolving(v) + if (--me === 0) onDependenciesSorted() + return + } + if (L !== E) { + Jt.set(v, L) + } + L.restoreFromUnsafeCache( + R, + this.params.normalModuleFactory, + this.params + ) + this._restoredUnsafeCacheEntries.set(P, L) + this._restoredUnsafeCacheModuleEntries.add(L) + if (!this.modules.has(L)) { + ye++ + this._handleNewModuleFromUnsafeCache(k, v, L, (k) => { + if (k) { + if (ye <= 0) return + ye = -1 + onTransitiveTasksFinished(k) + } + if (--ye === 0) return onTransitiveTasksFinished() + }) + if (--me === 0) onDependenciesSorted() + return + } + } + if (E !== L) { + Jt.set(v, L) + } + this._handleExistingModuleFromUnsafeCache(k, v, L) + } catch (R) { + if (me <= 0) return + me = -1 + onDependenciesSorted(R) + return + } + if (--me === 0) onDependenciesSorted() + }) + return + } + } catch (k) { + console.error(k) + } + } + processDependencyForResolving(v) + } + const processDependencyForResolving = (v) => { + const P = v.getResourceIdentifier() + if (P !== undefined && P !== null) { + const me = v.category + const ye = v.constructor + if (L === ye) { + if (ae === me && le === P) { + pe.push(v) + return + } + } else { + const k = this.dependencyFactories.get(ye) + if (k === undefined) { + throw new Error( + `No module factory available for dependency type: ${ye.name}` + ) + } + if (N === k) { + L = ye + if (ae === me && le === P) { + pe.push(v) + return + } + } else { + if (N !== undefined) { + if (R === undefined) R = new Map() + R.set(N, q) + q = R.get(k) + if (q === undefined) { + q = new Map() + } + } else { + q = new Map() + } + L = ye + N = k + } + } + const _e = me === Bt ? P : `${me}${P}` + let Ie = q.get(_e) + if (Ie === undefined) { + q.set(_e, (Ie = [])) + E.push({ + factory: N, + dependencies: Ie, + context: v.getContext(), + originModule: k, + }) + } + Ie.push(v) + ae = me + le = P + pe = Ie + } + } + try { + const v = [k] + do { + const k = v.pop() + if (k.dependencies) { + P = k + let v = 0 + for (const E of k.dependencies) processDependency(E, v++) + } + if (k.blocks) { + for (const E of k.blocks) v.push(E) + } + } while (v.length !== 0) + } catch (k) { + return v(k) + } + if (--me === 0) onDependenciesSorted() + } + _handleNewModuleFromUnsafeCache(k, v, E, P) { + const R = this.moduleGraph + R.setResolvedModule(k, v, E) + R.setIssuerIfUnset(E, k !== undefined ? k : null) + this._modules.set(E.identifier(), E) + this.modules.add(E) + if (this._backCompat) nt.setModuleGraphForModule(E, this.moduleGraph) + this._handleModuleBuildAndDependencies(k, E, true, P) + } + _handleExistingModuleFromUnsafeCache(k, v, E) { + const P = this.moduleGraph + P.setResolvedModule(k, v, E) + } + handleModuleCreation( + { + factory: k, + dependencies: v, + originModule: E, + contextInfo: P, + context: R, + recursive: L = true, + connectOrigin: N = L, + }, + q + ) { + const ae = this.moduleGraph + const le = this.profile ? new ot() : undefined + this.factorizeModule( + { + currentProfile: le, + factory: k, + dependencies: v, + factoryResult: true, + originModule: E, + contextInfo: P, + context: R, + }, + (k, P) => { + const applyFactoryResultDependencies = () => { + const { + fileDependencies: k, + contextDependencies: v, + missingDependencies: E, + } = P + if (k) { + this.fileDependencies.addAll(k) + } + if (v) { + this.contextDependencies.addAll(v) + } + if (E) { + this.missingDependencies.addAll(E) + } + } + if (k) { + if (P) applyFactoryResultDependencies() + if (v.every((k) => k.optional)) { + this.warnings.push(k) + return q() + } else { + this.errors.push(k) + return q(k) + } + } + const R = P.module + if (!R) { + applyFactoryResultDependencies() + return q() + } + if (le !== undefined) { + ae.setProfile(R, le) + } + this.addModule(R, (k, pe) => { + if (k) { + applyFactoryResultDependencies() + if (!k.module) { + k.module = pe + } + this.errors.push(k) + return q(k) + } + if ( + this._unsafeCache && + P.cacheable !== false && + pe.restoreFromUnsafeCache && + this._unsafeCachePredicate(pe) + ) { + const k = pe + for (let P = 0; P < v.length; P++) { + const R = v[P] + ae.setResolvedModule(N ? E : null, R, k) + Jt.set(R, k) + } + if (!Vt.has(k)) { + Vt.set(k, k.getUnsafeCacheData()) + } + } else { + applyFactoryResultDependencies() + for (let k = 0; k < v.length; k++) { + const P = v[k] + ae.setResolvedModule(N ? E : null, P, pe) + } + } + ae.setIssuerIfUnset(pe, E !== undefined ? E : null) + if (pe !== R) { + if (le !== undefined) { + const k = ae.getProfile(pe) + if (k !== undefined) { + le.mergeInto(k) + } else { + ae.setProfile(pe, le) + } + } + } + this._handleModuleBuildAndDependencies(E, pe, L, q) + }) + } + ) + } + _handleModuleBuildAndDependencies(k, v, E, P) { + let R = undefined + if (!E && this.buildQueue.isProcessing(k)) { + R = this.creatingModuleDuringBuild.get(k) + if (R === undefined) { + R = new Set() + this.creatingModuleDuringBuild.set(k, R) + } + R.add(v) + const E = this.creatingModuleDuringBuild.get(v) + if (E !== undefined) { + const k = new Set(E) + for (const E of k) { + const R = this.creatingModuleDuringBuild.get(E) + if (R !== undefined) { + for (const E of R) { + if (E === v) { + return P(new mt(v)) + } + k.add(E) + } + } + } + } + } + this.buildModule(v, (k) => { + if (R !== undefined) { + R.delete(v) + } + if (k) { + if (!k.module) { + k.module = v + } + this.errors.push(k) + return P(k) + } + if (!E) { + this.processModuleDependenciesNonRecursive(v) + P(null, v) + return + } + if (this.processDependenciesQueue.isProcessing(v)) { + return P(null, v) + } + this.processModuleDependencies(v, (k) => { + if (k) { + return P(k) + } + P(null, v) + }) + }) + } + _factorizeModule( + { + currentProfile: k, + factory: v, + dependencies: E, + originModule: P, + factoryResult: R, + contextInfo: L, + context: N, + }, + q + ) { + if (k !== undefined) { + k.markFactoryStart() + } + v.create( + { + contextInfo: { + issuer: P ? P.nameForCondition() : '', + issuerLayer: P ? P.layer : null, + compiler: this.compiler.name, + ...L, + }, + resolveOptions: P ? P.resolveOptions : undefined, + context: N ? N : P ? P.context : this.compiler.context, + dependencies: E, + }, + (v, L) => { + if (L) { + if (L.module === undefined && L instanceof Ze) { + L = { module: L } + } + if (!R) { + const { + fileDependencies: k, + contextDependencies: v, + missingDependencies: E, + } = L + if (k) { + this.fileDependencies.addAll(k) + } + if (v) { + this.contextDependencies.addAll(v) + } + if (E) { + this.missingDependencies.addAll(E) + } + } + } + if (v) { + const k = new rt(P, v, E.map((k) => k.loc).filter(Boolean)[0]) + return q(k, R ? L : undefined) + } + if (!L) { + return q() + } + if (k !== undefined) { + k.markFactoryEnd() + } + q(null, R ? L : L.module) + } + ) + } + addModuleChain(k, v, E) { + return this.addModuleTree({ context: k, dependency: v }, E) + } + addModuleTree({ context: k, dependency: v, contextInfo: E }, P) { + if (typeof v !== 'object' || v === null || !v.constructor) { + return P(new ft("Parameter 'dependency' must be a Dependency")) + } + const R = v.constructor + const L = this.dependencyFactories.get(R) + if (!L) { + return P( + new ft( + `No dependency factory available for this dependency type: ${v.constructor.name}` + ) + ) + } + this.handleModuleCreation( + { + factory: L, + dependencies: [v], + originModule: null, + contextInfo: E, + context: k, + }, + (k, v) => { + if (k && this.bail) { + P(k) + this.buildQueue.stop() + this.rebuildQueue.stop() + this.processDependenciesQueue.stop() + this.factorizeQueue.stop() + } else if (!k && v) { + P(null, v) + } else { + P() + } + } + ) + } + addEntry(k, v, E, P) { + const R = typeof E === 'object' ? E : { name: E } + this._addEntryItem(k, v, 'dependencies', R, P) + } + addInclude(k, v, E, P) { + this._addEntryItem(k, v, 'includeDependencies', E, P) + } + _addEntryItem(k, v, E, P, R) { + const { name: L } = P + let N = L !== undefined ? this.entries.get(L) : this.globalEntry + if (N === undefined) { + N = { + dependencies: [], + includeDependencies: [], + options: { name: undefined, ...P }, + } + N[E].push(v) + this.entries.set(L, N) + } else { + N[E].push(v) + for (const k of Object.keys(P)) { + if (P[k] === undefined) continue + if (N.options[k] === P[k]) continue + if ( + Array.isArray(N.options[k]) && + Array.isArray(P[k]) && + kt(N.options[k], P[k]) + ) { + continue + } + if (N.options[k] === undefined) { + N.options[k] = P[k] + } else { + return R( + new ft( + `Conflicting entry option ${k} = ${N.options[k]} vs ${P[k]}` + ) + ) + } + } + } + this.hooks.addEntry.call(v, P) + this.addModuleTree( + { + context: k, + dependency: v, + contextInfo: N.options.layer + ? { issuerLayer: N.options.layer } + : undefined, + }, + (k, E) => { + if (k) { + this.hooks.failedEntry.call(v, P, k) + return R(k) + } + this.hooks.succeedEntry.call(v, P, E) + return R(null, E) + } + ) + } + rebuildModule(k, v) { + this.rebuildQueue.add(k, v) + } + _rebuildModule(k, v) { + this.hooks.rebuildModule.call(k) + const E = k.dependencies.slice() + const P = k.blocks.slice() + k.invalidateBuild() + this.buildQueue.invalidate(k) + this.buildModule(k, (R) => { + if (R) { + return this.hooks.finishRebuildingModule.callAsync(k, (k) => { + if (k) { + v(Ke(k, 'Compilation.hooks.finishRebuildingModule')) + return + } + v(R) + }) + } + this.processDependenciesQueue.invalidate(k) + this.moduleGraph.unfreeze() + this.processModuleDependencies(k, (R) => { + if (R) return v(R) + this.removeReasonsOfDependencyBlock(k, { + dependencies: E, + blocks: P, + }) + this.hooks.finishRebuildingModule.callAsync(k, (E) => { + if (E) { + v(Ke(E, 'Compilation.hooks.finishRebuildingModule')) + return + } + v(null, k) + }) + }) + }) + } + _computeAffectedModules(k) { + const v = this.compiler.moduleMemCaches + if (!v) return + if (!this.moduleMemCaches) { + this.moduleMemCaches = new Map() + this.moduleGraph.setModuleMemCaches(this.moduleMemCaches) + } + const { moduleGraph: E, moduleMemCaches: P } = this + const R = new Set() + const L = new Set() + let N = 0 + let q = 0 + let ae = 0 + let le = 0 + let pe = 0 + const computeReferences = (k) => { + let v = undefined + for (const P of E.getOutgoingConnections(k)) { + const k = P.dependency + const E = P.module + if (!k || !E || Jt.has(k)) continue + if (v === undefined) v = new WeakMap() + v.set(k, E) + } + return v + } + const compareReferences = (k, v) => { + if (v === undefined) return true + for (const P of E.getOutgoingConnections(k)) { + const k = P.dependency + if (!k) continue + const E = v.get(k) + if (E === undefined) continue + if (E !== P.module) return false + } + return true + } + const me = new Set(k) + for (const [k, E] of v) { + if (me.has(k)) { + const N = k.buildInfo + if (N) { + if (E.buildInfo !== N) { + const v = new Et() + P.set(k, v) + R.add(k) + E.buildInfo = N + E.references = computeReferences(k) + E.memCache = v + q++ + } else if (!compareReferences(k, E.references)) { + const v = new Et() + P.set(k, v) + R.add(k) + E.references = computeReferences(k) + E.memCache = v + le++ + } else { + P.set(k, E.memCache) + ae++ + } + } else { + L.add(k) + v.delete(k) + pe++ + } + me.delete(k) + } else { + v.delete(k) + } + } + for (const k of me) { + const E = k.buildInfo + if (E) { + const L = new Et() + v.set(k, { + buildInfo: E, + references: computeReferences(k), + memCache: L, + }) + P.set(k, L) + R.add(k) + N++ + } else { + L.add(k) + pe++ + } + } + const reduceAffectType = (k) => { + let v = false + for (const { dependency: E } of k) { + if (!E) continue + const k = E.couldAffectReferencingModule() + if (k === Ue.TRANSITIVE) return Ue.TRANSITIVE + if (k === false) continue + v = true + } + return v + } + const ye = new Set() + for (const k of L) { + for (const [v, P] of E.getIncomingConnectionsByOriginModule(k)) { + if (!v) continue + if (L.has(v)) continue + const k = reduceAffectType(P) + if (!k) continue + if (k === true) { + ye.add(v) + } else { + L.add(v) + } + } + } + for (const k of ye) L.add(k) + const _e = new Set() + for (const k of R) { + for (const [N, q] of E.getIncomingConnectionsByOriginModule(k)) { + if (!N) continue + if (L.has(N)) continue + if (R.has(N)) continue + const k = reduceAffectType(q) + if (!k) continue + if (k === true) { + _e.add(N) + } else { + R.add(N) + } + const E = new Et() + const ae = v.get(N) + ae.memCache = E + P.set(N, E) + } + } + for (const k of _e) R.add(k) + this.logger.log( + `${Math.round((100 * (R.size + L.size)) / this.modules.size)}% (${ + R.size + } affected + ${L.size} infected of ${ + this.modules.size + }) modules flagged as affected (${N} new modules, ${q} changed, ${le} references changed, ${ae} unchanged, ${pe} were not built)` + ) + } + _computeAffectedModulesWithChunkGraph() { + const { moduleMemCaches: k } = this + if (!k) return + const v = (this.moduleMemCaches2 = new Map()) + const { moduleGraph: E, chunkGraph: P } = this + const R = 'memCache2' + let L = 0 + let N = 0 + let q = 0 + const computeReferences = (k) => { + const v = P.getModuleId(k) + let R = undefined + let L = undefined + const N = E.getOutgoingConnectionsByModule(k) + if (N !== undefined) { + for (const k of N.keys()) { + if (!k) continue + if (R === undefined) R = new Map() + R.set(k, P.getModuleId(k)) + } + } + if (k.blocks.length > 0) { + L = [] + const v = Array.from(k.blocks) + for (const k of v) { + const E = P.getBlockChunkGroup(k) + if (E) { + for (const k of E.chunks) { + L.push(k.id) + } + } else { + L.push(null) + } + v.push.apply(v, k.blocks) + } + } + return { id: v, modules: R, blocks: L } + } + const compareReferences = (k, { id: v, modules: E, blocks: R }) => { + if (v !== P.getModuleId(k)) return false + if (E !== undefined) { + for (const [k, v] of E) { + if (P.getModuleId(k) !== v) return false + } + } + if (R !== undefined) { + const v = Array.from(k.blocks) + let E = 0 + for (const k of v) { + const L = P.getBlockChunkGroup(k) + if (L) { + for (const k of L.chunks) { + if (E >= R.length || R[E++] !== k.id) return false + } + } else { + if (E >= R.length || R[E++] !== null) return false + } + v.push.apply(v, k.blocks) + } + if (E !== R.length) return false + } + return true + } + for (const [E, P] of k) { + const k = P.get(R) + if (k === undefined) { + const k = new Et() + P.set(R, { references: computeReferences(E), memCache: k }) + v.set(E, k) + q++ + } else if (!compareReferences(E, k.references)) { + const P = new Et() + k.references = computeReferences(E) + k.memCache = P + v.set(E, P) + N++ + } else { + v.set(E, k.memCache) + L++ + } + } + this.logger.log( + `${Math.round( + (100 * N) / (q + N + L) + )}% modules flagged as affected by chunk graph (${q} new modules, ${N} changed, ${L} unchanged)` + ) + } + finish(k) { + this.factorizeQueue.clear() + if (this.profile) { + this.logger.time('finish module profiles') + const k = E(99593) + const v = new k() + const P = this.moduleGraph + const R = new Map() + for (const k of this.modules) { + const E = P.getProfile(k) + if (!E) continue + R.set(k, E) + v.range( + E.buildingStartTime, + E.buildingEndTime, + (k) => (E.buildingParallelismFactor = k) + ) + v.range( + E.factoryStartTime, + E.factoryEndTime, + (k) => (E.factoryParallelismFactor = k) + ) + v.range( + E.integrationStartTime, + E.integrationEndTime, + (k) => (E.integrationParallelismFactor = k) + ) + v.range( + E.storingStartTime, + E.storingEndTime, + (k) => (E.storingParallelismFactor = k) + ) + v.range( + E.restoringStartTime, + E.restoringEndTime, + (k) => (E.restoringParallelismFactor = k) + ) + if (E.additionalFactoryTimes) { + for (const { start: k, end: P } of E.additionalFactoryTimes) { + const R = (P - k) / E.additionalFactories + v.range( + k, + P, + (k) => (E.additionalFactoriesParallelismFactor += k * R) + ) + } + } + } + v.calculate() + const L = this.getLogger('webpack.Compilation.ModuleProfile') + const logByValue = (k, v) => { + if (k > 1e3) { + L.error(v) + } else if (k > 500) { + L.warn(v) + } else if (k > 200) { + L.info(v) + } else if (k > 30) { + L.log(v) + } else { + L.debug(v) + } + } + const logNormalSummary = (k, v, E) => { + let P = 0 + let L = 0 + for (const [N, q] of R) { + const R = E(q) + const ae = v(q) + if (ae === 0 || R === 0) continue + const le = ae / R + P += le + if (le <= 10) continue + logByValue( + le, + ` | ${Math.round(le)} ms${ + R >= 1.1 ? ` (parallelism ${Math.round(R * 10) / 10})` : '' + } ${k} > ${N.readableIdentifier(this.requestShortener)}` + ) + L = Math.max(L, le) + } + if (P <= 10) return + logByValue(Math.max(P / 10, L), `${Math.round(P)} ms ${k}`) + } + const logByLoadersSummary = (k, v, E) => { + const P = new Map() + for (const [k, v] of R) { + const E = At( + P, + k.type + '!' + k.identifier().replace(/(!|^)[^!]*$/, ''), + () => [] + ) + E.push({ module: k, profile: v }) + } + let L = 0 + let N = 0 + for (const [R, q] of P) { + let P = 0 + let ae = 0 + for (const { module: R, profile: L } of q) { + const N = E(L) + const q = v(L) + if (q === 0 || N === 0) continue + const le = q / N + P += le + if (le <= 10) continue + logByValue( + le, + ` | | ${Math.round(le)} ms${ + N >= 1.1 + ? ` (parallelism ${Math.round(N * 10) / 10})` + : '' + } ${k} > ${R.readableIdentifier(this.requestShortener)}` + ) + ae = Math.max(ae, le) + } + L += P + if (P <= 10) continue + const le = R.indexOf('!') + const pe = R.slice(le + 1) + const me = R.slice(0, le) + const ye = Math.max(P / 10, ae) + logByValue( + ye, + ` | ${Math.round(P)} ms ${k} > ${ + pe + ? `${ + q.length + } x ${me} with ${this.requestShortener.shorten(pe)}` + : `${q.length} x ${me}` + }` + ) + N = Math.max(N, ye) + } + if (L <= 10) return + logByValue(Math.max(L / 10, N), `${Math.round(L)} ms ${k}`) + } + logNormalSummary( + 'resolve to new modules', + (k) => k.factory, + (k) => k.factoryParallelismFactor + ) + logNormalSummary( + 'resolve to existing modules', + (k) => k.additionalFactories, + (k) => k.additionalFactoriesParallelismFactor + ) + logNormalSummary( + 'integrate modules', + (k) => k.restoring, + (k) => k.restoringParallelismFactor + ) + logByLoadersSummary( + 'build modules', + (k) => k.building, + (k) => k.buildingParallelismFactor + ) + logNormalSummary( + 'store modules', + (k) => k.storing, + (k) => k.storingParallelismFactor + ) + logNormalSummary( + 'restore modules', + (k) => k.restoring, + (k) => k.restoringParallelismFactor + ) + this.logger.timeEnd('finish module profiles') + } + this.logger.time('compute affected modules') + this._computeAffectedModules(this.modules) + this.logger.timeEnd('compute affected modules') + this.logger.time('finish modules') + const { modules: v, moduleMemCaches: P } = this + this.hooks.finishModules.callAsync(v, (E) => { + this.logger.timeEnd('finish modules') + if (E) return k(E) + this.moduleGraph.freeze('dependency errors') + this.logger.time('report dependency errors and warnings') + for (const k of v) { + const v = P && P.get(k) + if (v && v.get('noWarningsOrErrors')) continue + let E = this.reportDependencyErrorsAndWarnings(k, [k]) + const R = k.getErrors() + if (R !== undefined) { + for (const v of R) { + if (!v.module) { + v.module = k + } + this.errors.push(v) + E = true + } + } + const L = k.getWarnings() + if (L !== undefined) { + for (const v of L) { + if (!v.module) { + v.module = k + } + this.warnings.push(v) + E = true + } + } + if (!E && v) v.set('noWarningsOrErrors', true) + } + this.moduleGraph.unfreeze() + this.logger.timeEnd('report dependency errors and warnings') + k() + }) + } + 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() + this.moduleGraph.unfreeze() + this.moduleMemCaches2 = undefined + } + seal(k) { + const finalCallback = (v) => { + this.factorizeQueue.clear() + this.buildQueue.clear() + this.rebuildQueue.clear() + this.processDependenciesQueue.clear() + this.addModuleQueue.clear() + return k(v) + } + const v = new Me(this.moduleGraph, this.outputOptions.hashFunction) + this.chunkGraph = v + if (this._backCompat) { + for (const k of this.modules) { + Me.setChunkGraphForModule(k, v) + } + } + 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() + this.moduleGraph.freeze('seal') + const E = new Map() + for (const [ + k, + { dependencies: P, includeDependencies: R, options: L }, + ] of this.entries) { + const N = this.addChunk(k) + if (L.filename) { + N.filenameTemplate = L.filename + } + const q = new He(L) + if (!L.dependOn && !L.runtime) { + q.setRuntimeChunk(N) + } + q.setEntrypointChunk(N) + this.namedChunkGroups.set(k, q) + this.entrypoints.set(k, q) + this.chunkGroups.push(q) + Je(q, N) + const ae = new Set() + for (const R of [...this.globalEntry.dependencies, ...P]) { + q.addOrigin(null, { name: k }, R.request) + const P = this.moduleGraph.getModule(R) + if (P) { + v.connectChunkAndEntryModule(N, P, q) + ae.add(P) + const k = E.get(q) + if (k === undefined) { + E.set(q, [P]) + } else { + k.push(P) + } + } + } + this.assignDepths(ae) + const mapAndSort = (k) => + k + .map((k) => this.moduleGraph.getModule(k)) + .filter(Boolean) + .sort(Ot) + const le = [ + ...mapAndSort(this.globalEntry.includeDependencies), + ...mapAndSort(R), + ] + let pe = E.get(q) + if (pe === undefined) { + E.set(q, (pe = [])) + } + for (const k of le) { + this.assignDepth(k) + pe.push(k) + } + } + const P = new Set() + e: for (const [ + k, + { + options: { dependOn: v, runtime: E }, + }, + ] of this.entries) { + if (v && E) { + const v = new ft( + `Entrypoint '${k}' 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 E = this.entrypoints.get(k) + v.chunk = E.getEntrypointChunk() + this.errors.push(v) + } + if (v) { + const E = this.entrypoints.get(k) + const P = E.getEntrypointChunk().getAllReferencedChunks() + const R = [] + for (const L of v) { + const v = this.entrypoints.get(L) + if (!v) { + throw new Error( + `Entry ${k} depends on ${L}, but this entry was not found` + ) + } + if (P.has(v.getEntrypointChunk())) { + const v = new ft( + `Entrypoints '${k}' and '${L}' use 'dependOn' to depend on each other in a circular way.` + ) + const P = E.getEntrypointChunk() + v.chunk = P + this.errors.push(v) + E.setRuntimeChunk(P) + continue e + } + R.push(v) + } + for (const k of R) { + Ve(k, E) + } + } else if (E) { + const v = this.entrypoints.get(k) + let R = this.namedChunks.get(E) + if (R) { + if (!P.has(R)) { + const P = new ft( + `Entrypoint '${k}' has a 'runtime' option which points to another entrypoint named '${E}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify( + E + )}' instead to allow using entrypoint '${k}' within the runtime of entrypoint '${E}'? For this '${E}' must always be loaded when '${k}' is used.\nOr do you want to use the entrypoints '${k}' and '${E}' 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 R = v.getEntrypointChunk() + P.chunk = R + this.errors.push(P) + v.setRuntimeChunk(R) + continue + } + } else { + R = this.addChunk(E) + R.preventIntegration = true + P.add(R) + } + v.unshiftChunk(R) + R.addGroup(v) + v.setRuntimeChunk(R) + } + } + ht(this, E) + 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, (v) => { + if (v) { + return finalCallback(Ke(v, 'Compilation.hooks.optimizeTree')) + } + this.hooks.afterOptimizeTree.call(this.chunks, this.modules) + this.hooks.optimizeChunkModules.callAsync( + this.chunks, + this.modules, + (v) => { + if (v) { + return finalCallback( + Ke(v, 'Compilation.hooks.optimizeChunkModules') + ) + } + this.hooks.afterOptimizeChunkModules.call( + this.chunks, + this.modules + ) + const E = 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.logger.time('compute affected modules with chunk graph') + this._computeAffectedModulesWithChunkGraph() + this.logger.timeEnd('compute affected modules with chunk graph') + this.sortItemsWithChunkIds() + if (E) { + 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((v) => { + if (v) { + return finalCallback(v) + } + 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() + const P = this.createHash() + this.hooks.afterHash.call() + this.logger.timeEnd('hashing') + this._runCodeGenerationJobs(P, (v) => { + if (v) { + return finalCallback(v) + } + if (E) { + 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 cont = () => { + this.logger.time('process assets') + this.hooks.processAssets.callAsync(this.assets, (v) => { + if (v) { + return finalCallback( + Ke(v, 'Compilation.hooks.processAssets') + ) + } + this.hooks.afterProcessAssets.call(this.assets) + this.logger.timeEnd('process assets') + this.assets = this._backCompat + ? Tt( + 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_*.` + ) + : Object.freeze(this.assets) + this.summarizeDependencies() + if (E) { + this.hooks.record.call(this, this.records) + } + if (this.hooks.needAdditionalSeal.call()) { + this.unseal() + return this.seal(k) + } + return this.hooks.afterSeal.callAsync((k) => { + if (k) { + return finalCallback( + Ke(k, 'Compilation.hooks.afterSeal') + ) + } + this.fileSystemInfo.logStatistics() + finalCallback() + }) + }) + } + this.logger.time('create chunk assets') + if (this.hooks.shouldGenerateChunkAssets.call() !== false) { + this.hooks.beforeChunkAssets.call() + this.createChunkAssets((k) => { + this.logger.timeEnd('create chunk assets') + if (k) { + return finalCallback(k) + } + cont() + }) + } else { + this.logger.timeEnd('create chunk assets') + cont() + } + }) + }) + } + ) + }) + } + reportDependencyErrorsAndWarnings(k, v) { + let E = false + for (let P = 0; P < v.length; P++) { + const R = v[P] + const L = R.dependencies + for (let v = 0; v < L.length; v++) { + const P = L[v] + const R = P.getWarnings(this.moduleGraph) + if (R) { + for (let v = 0; v < R.length; v++) { + const L = R[v] + const N = new tt(k, L, P.loc) + this.warnings.push(N) + E = true + } + } + const N = P.getErrors(this.moduleGraph) + if (N) { + for (let v = 0; v < N.length; v++) { + const R = N[v] + const L = new et(k, R, P.loc) + this.errors.push(L) + E = true + } + } + } + if (this.reportDependencyErrorsAndWarnings(k, R.blocks)) E = true + } + return E + } + codeGeneration(k) { + const { chunkGraph: v } = this + this.codeGenerationResults = new qe(this.outputOptions.hashFunction) + const E = [] + for (const k of this.modules) { + const P = v.getModuleRuntimes(k) + if (P.size === 1) { + for (const R of P) { + const P = v.getModuleHash(k, R) + E.push({ module: k, hash: P, runtime: R, runtimes: [R] }) + } + } else if (P.size > 1) { + const R = new Map() + for (const L of P) { + const P = v.getModuleHash(k, L) + const N = R.get(P) + if (N === undefined) { + const v = { module: k, hash: P, runtime: L, runtimes: [L] } + E.push(v) + R.set(P, v) + } else { + N.runtimes.push(L) + } + } + } + } + this._runCodeGenerationJobs(E, k) + } + _runCodeGenerationJobs(k, v) { + if (k.length === 0) { + return v() + } + let E = 0 + let R = 0 + const { + chunkGraph: L, + moduleGraph: N, + dependencyTemplates: q, + runtimeTemplate: ae, + } = this + const le = this.codeGenerationResults + const pe = [] + let me = undefined + const runIteration = () => { + let ye = [] + let _e = new Set() + P.eachLimit( + k, + this.options.parallelism, + (k, v) => { + const { module: P } = k + const { codeGenerationDependencies: Ie } = P + if (Ie !== undefined) { + if ( + me === undefined || + Ie.some((k) => { + const v = N.getModule(k) + return me.has(v) + }) + ) { + ye.push(k) + _e.add(P) + return v() + } + } + const { hash: Me, runtime: Te, runtimes: je } = k + this._codeGenerationModule( + P, + Te, + je, + Me, + q, + L, + N, + ae, + pe, + le, + (k, P) => { + if (P) R++ + else E++ + v(k) + } + ) + }, + (P) => { + if (P) return v(P) + if (ye.length > 0) { + if (ye.length === k.length) { + return v( + new Error( + `Unable to make progress during code generation because of circular code generation dependency: ${Array.from( + _e, + (k) => k.identifier() + ).join(', ')}` + ) + ) + } + k = ye + ye = [] + me = _e + _e = new Set() + return runIteration() + } + if (pe.length > 0) { + pe.sort(It((k) => k.module, Ot)) + for (const k of pe) { + this.errors.push(k) + } + } + this.logger.log( + `${Math.round( + (100 * R) / (R + E) + )}% code generated (${R} generated, ${E} from cache)` + ) + v() + } + ) + } + runIteration() + } + _codeGenerationModule(k, v, E, P, R, L, N, q, ae, le, pe) { + let me = false + const ye = new _e( + E.map((v) => + this._codeGenerationCache.getItemCache( + `${k.identifier()}|${jt(v)}`, + `${P}|${R.getHash()}` + ) + ) + ) + ye.get((P, _e) => { + if (P) return pe(P) + let Ie + if (!_e) { + try { + me = true + this.codeGeneratedModules.add(k) + Ie = k.codeGeneration({ + chunkGraph: L, + moduleGraph: N, + dependencyTemplates: R, + runtimeTemplate: q, + runtime: v, + codeGenerationResults: le, + compilation: this, + }) + } catch (P) { + ae.push(new Be(k, P)) + Ie = _e = { sources: new Map(), runtimeRequirements: null } + } + } else { + Ie = _e + } + for (const v of E) { + le.add(k, v, Ie) + } + if (!_e) { + ye.store(Ie, (k) => pe(k, me)) + } else { + pe(null, me) + } + }) + } + _getChunkGraphEntries() { + const k = new Set() + for (const v of this.entrypoints.values()) { + const E = v.getRuntimeChunk() + if (E) k.add(E) + } + for (const v of this.asyncEntrypoints) { + const E = v.getRuntimeChunk() + if (E) k.add(E) + } + return k + } + processRuntimeRequirements({ + chunkGraph: k = this.chunkGraph, + modules: v = this.modules, + chunks: E = this.chunks, + codeGenerationResults: P = this.codeGenerationResults, + chunkGraphEntries: R = this._getChunkGraphEntries(), + } = {}) { + const L = { chunkGraph: k, codeGenerationResults: P } + const { moduleMemCaches2: N } = this + this.logger.time('runtime requirements.modules') + const q = this.hooks.additionalModuleRuntimeRequirements + const ae = this.hooks.runtimeRequirementInModule + for (const E of v) { + if (k.getNumberOfModuleChunks(E) > 0) { + const v = N && N.get(E) + for (const R of k.getModuleRuntimes(E)) { + if (v) { + const P = v.get(`moduleRuntimeRequirements-${jt(R)}`) + if (P !== undefined) { + if (P !== null) { + k.addModuleRuntimeRequirements(E, R, P, false) + } + continue + } + } + let N + const le = P.getRuntimeRequirements(E, R) + if (le && le.size > 0) { + N = new Set(le) + } else if (q.isUsed()) { + N = new Set() + } else { + if (v) { + v.set(`moduleRuntimeRequirements-${jt(R)}`, null) + } + continue + } + q.call(E, N, L) + for (const k of N) { + const v = ae.get(k) + if (v !== undefined) v.call(E, N, L) + } + if (N.size === 0) { + if (v) { + v.set(`moduleRuntimeRequirements-${jt(R)}`, null) + } + } else { + if (v) { + v.set(`moduleRuntimeRequirements-${jt(R)}`, N) + k.addModuleRuntimeRequirements(E, R, N, false) + } else { + k.addModuleRuntimeRequirements(E, R, N) + } + } + } + } + } + this.logger.timeEnd('runtime requirements.modules') + this.logger.time('runtime requirements.chunks') + for (const v of E) { + const E = new Set() + for (const P of k.getChunkModulesIterable(v)) { + const R = k.getModuleRuntimeRequirements(P, v.runtime) + for (const k of R) E.add(k) + } + this.hooks.additionalChunkRuntimeRequirements.call(v, E, L) + for (const k of E) { + this.hooks.runtimeRequirementInChunk.for(k).call(v, E, L) + } + k.addChunkRuntimeRequirements(v, E) + } + this.logger.timeEnd('runtime requirements.chunks') + this.logger.time('runtime requirements.entries') + for (const v of R) { + const E = new Set() + for (const P of v.getAllReferencedChunks()) { + const v = k.getChunkRuntimeRequirements(P) + for (const k of v) E.add(k) + } + this.hooks.additionalTreeRuntimeRequirements.call(v, E, L) + for (const k of E) { + this.hooks.runtimeRequirementInTree.for(k).call(v, E, L) + } + k.addTreeRuntimeRequirements(v, E) + } + this.logger.timeEnd('runtime requirements.entries') + } + addRuntimeModule(k, v, E = this.chunkGraph) { + if (this._backCompat) nt.setModuleGraphForModule(v, this.moduleGraph) + this.modules.add(v) + this._modules.set(v.identifier(), v) + E.connectChunkAndModule(k, v) + E.connectChunkAndRuntimeModule(k, v) + if (v.fullHash) { + E.addFullHashModuleToChunk(k, v) + } else if (v.dependentHash) { + E.addDependentHashModuleToChunk(k, v) + } + v.attach(this, k, E) + const P = this.moduleGraph.getExportsInfo(v) + P.setHasProvideInfo() + if (typeof k.runtime === 'string') { + P.setUsedForSideEffectsOnly(k.runtime) + } else if (k.runtime === undefined) { + P.setUsedForSideEffectsOnly(undefined) + } else { + for (const v of k.runtime) { + P.setUsedForSideEffectsOnly(v) + } + } + E.addModuleRuntimeRequirements( + v, + k.runtime, + new Set([ut.requireScope]) + ) + E.setModuleId(v, '') + this.hooks.runtimeModule.call(v, k) + } + addChunkInGroup(k, v, E, P) { + if (typeof k === 'string') { + k = { name: k } + } + const R = k.name + if (R) { + const L = this.namedChunkGroups.get(R) + if (L !== undefined) { + L.addOptions(k) + if (v) { + L.addOrigin(v, E, P) + } + return L + } + } + const L = new Te(k) + if (v) L.addOrigin(v, E, P) + const N = this.addChunk(R) + Je(L, N) + this.chunkGroups.push(L) + if (R) { + this.namedChunkGroups.set(R, L) + } + return L + } + addAsyncEntrypoint(k, v, E, P) { + const R = k.name + if (R) { + const k = this.namedChunkGroups.get(R) + if (k instanceof He) { + if (k !== undefined) { + if (v) { + k.addOrigin(v, E, P) + } + return k + } + } else if (k) { + throw new Error( + `Cannot add an async entrypoint with the name '${R}', because there is already an chunk group with this name` + ) + } + } + const L = this.addChunk(R) + if (k.filename) { + L.filenameTemplate = k.filename + } + const N = new He(k, false) + N.setRuntimeChunk(L) + N.setEntrypointChunk(L) + if (R) { + this.namedChunkGroups.set(R, N) + } + this.chunkGroups.push(N) + this.asyncEntrypoints.push(N) + Je(N, L) + if (v) { + N.addOrigin(v, E, P) + } + return N + } + addChunk(k) { + if (k) { + const v = this.namedChunks.get(k) + if (v !== undefined) { + return v + } + } + const v = new Ie(k, this._backCompat) + this.chunks.add(v) + if (this._backCompat) Me.setChunkGraphForChunk(v, this.chunkGraph) + if (k) { + this.namedChunks.set(k, v) + } + return v + } + assignDepth(k) { + const v = this.moduleGraph + const E = new Set([k]) + let P + v.setDepth(k, 0) + const processModule = (k) => { + if (!v.setDepthIfLower(k, P)) return + E.add(k) + } + for (k of E) { + E.delete(k) + P = v.getDepth(k) + 1 + for (const E of v.getOutgoingConnections(k)) { + const k = E.module + if (k) { + processModule(k) + } + } + } + } + assignDepths(k) { + const v = this.moduleGraph + const E = new Set(k) + E.add(1) + let P = 0 + let R = 0 + for (const k of E) { + R++ + if (typeof k === 'number') { + P = k + if (E.size === R) return + E.add(P + 1) + } else { + v.setDepth(k, P) + for (const { module: P } of v.getOutgoingConnections(k)) { + if (P) { + E.add(P) + } + } + } + } + } + getDependencyReferencedExports(k, v) { + const E = k.getReferencedExports(this.moduleGraph, v) + return this.hooks.dependencyReferencedExports.call(E, k, v) + } + removeReasonsOfDependencyBlock(k, v) { + if (v.blocks) { + for (const E of v.blocks) { + this.removeReasonsOfDependencyBlock(k, E) + } + } + if (v.dependencies) { + for (const k of v.dependencies) { + const v = this.moduleGraph.getModule(k) + if (v) { + this.moduleGraph.removeConnection(k) + if (this.chunkGraph) { + for (const k of this.chunkGraph.getModuleChunks(v)) { + this.patchChunksAfterReasonRemoval(v, k) + } + } + } + } + } + } + patchChunksAfterReasonRemoval(k, v) { + if (!k.hasReasons(this.moduleGraph, v.runtime)) { + this.removeReasonsOfDependencyBlock(k, k) + } + if (!k.hasReasonForChunk(v, this.moduleGraph, this.chunkGraph)) { + if (this.chunkGraph.isModuleInChunk(k, v)) { + this.chunkGraph.disconnectChunkAndModule(v, k) + this.removeChunkFromDependencies(k, v) + } + } + } + removeChunkFromDependencies(k, v) { + const iteratorDependency = (k) => { + const E = this.moduleGraph.getModule(k) + if (!E) { + return + } + this.patchChunksAfterReasonRemoval(E, v) + } + const E = k.blocks + for (let v = 0; v < E.length; v++) { + const P = E[v] + const R = this.chunkGraph.getBlockChunkGroup(P) + const L = R.chunks + for (let v = 0; v < L.length; v++) { + const E = L[v] + R.removeChunk(E) + this.removeChunkFromDependencies(k, E) + } + } + if (k.dependencies) { + for (const v of k.dependencies) iteratorDependency(v) + } + } + assignRuntimeIds() { + const { chunkGraph: k } = this + const processEntrypoint = (v) => { + const E = v.options.runtime || v.name + const P = v.getRuntimeChunk() + k.setRuntimeId(E, P.id) + } + for (const k of this.entrypoints.values()) { + processEntrypoint(k) + } + for (const k of this.asyncEntrypoints) { + processEntrypoint(k) + } + } + sortItemsWithChunkIds() { + for (const k of this.chunkGroups) { + k.sortItems() + } + this.errors.sort(Qt) + this.warnings.sort(Qt) + this.children.sort(Ut) + } + summarizeDependencies() { + for (let k = 0; k < this.children.length; k++) { + const v = this.children[k] + this.fileDependencies.addAll(v.fileDependencies) + this.contextDependencies.addAll(v.contextDependencies) + this.missingDependencies.addAll(v.missingDependencies) + this.buildDependencies.addAll(v.buildDependencies) + } + for (const k of this.modules) { + k.addCacheDependencies( + this.fileDependencies, + this.contextDependencies, + this.missingDependencies, + this.buildDependencies + ) + } + } + createModuleHashes() { + let k = 0 + let v = 0 + const { + chunkGraph: E, + runtimeTemplate: P, + moduleMemCaches2: R, + } = this + const { + hashFunction: L, + hashDigest: N, + hashDigestLength: q, + } = this.outputOptions + const ae = [] + for (const le of this.modules) { + const pe = R && R.get(le) + for (const R of E.getModuleRuntimes(le)) { + if (pe) { + const k = pe.get(`moduleHash-${jt(R)}`) + if (k !== undefined) { + E.setModuleHashes(le, R, k, k.slice(0, q)) + v++ + continue + } + } + k++ + const me = this._createModuleHash(le, E, R, L, P, N, q, ae) + if (pe) { + pe.set(`moduleHash-${jt(R)}`, me) + } + } + } + if (ae.length > 0) { + ae.sort(It((k) => k.module, Ot)) + for (const k of ae) { + this.errors.push(k) + } + } + this.logger.log( + `${k} modules hashed, ${v} from cache (${ + Math.round((100 * (k + v)) / this.modules.size) / 100 + } variants per module in average)` + ) + } + _createModuleHash(k, v, E, P, R, L, N, q) { + let ae + try { + const N = Dt(P) + k.updateHash(N, { chunkGraph: v, runtime: E, runtimeTemplate: R }) + ae = N.digest(L) + } catch (v) { + q.push(new st(k, v)) + ae = 'XXXXXX' + } + v.setModuleHashes(k, E, ae, ae.slice(0, N)) + return ae + } + createHash() { + this.logger.time('hashing: initialize hash') + const k = this.chunkGraph + const v = this.runtimeTemplate + const E = this.outputOptions + const P = E.hashFunction + const R = E.hashDigest + const L = E.hashDigestLength + const N = Dt(P) + if (E.hashSalt) { + N.update(E.hashSalt) + } + this.logger.timeEnd('hashing: initialize hash') + if (this.children.length > 0) { + this.logger.time('hashing: hash child compilations') + for (const k of this.children) { + N.update(k.hash) + } + this.logger.timeEnd('hashing: hash child compilations') + } + if (this.warnings.length > 0) { + this.logger.time('hashing: hash warnings') + for (const k of this.warnings) { + N.update(`${k.message}`) + } + this.logger.timeEnd('hashing: hash warnings') + } + if (this.errors.length > 0) { + this.logger.time('hashing: hash errors') + for (const k of this.errors) { + N.update(`${k.message}`) + } + this.logger.timeEnd('hashing: hash errors') + } + this.logger.time('hashing: sort chunks') + const q = [] + const ae = [] + for (const k of this.chunks) { + if (k.hasRuntime()) { + q.push(k) + } else { + ae.push(k) + } + } + q.sort(zt) + ae.sort(zt) + const le = new Map() + for (const k of q) { + le.set(k, { chunk: k, referencedBy: [], remaining: 0 }) + } + let pe = 0 + for (const k of le.values()) { + for (const v of new Set( + Array.from(k.chunk.getAllReferencedAsyncEntrypoints()).map( + (k) => k.chunks[k.chunks.length - 1] + ) + )) { + const E = le.get(v) + E.referencedBy.push(k) + k.remaining++ + pe++ + } + } + const me = [] + for (const k of le.values()) { + if (k.remaining === 0) { + me.push(k.chunk) + } + } + if (pe > 0) { + const v = [] + for (const E of me) { + const P = k.getNumberOfChunkFullHashModules(E) !== 0 + const R = le.get(E) + for (const E of R.referencedBy) { + if (P) { + k.upgradeDependentToFullHashModules(E.chunk) + } + pe-- + if (--E.remaining === 0) { + v.push(E.chunk) + } + } + if (v.length > 0) { + v.sort(zt) + for (const k of v) me.push(k) + v.length = 0 + } + } + } + if (pe > 0) { + let k = [] + for (const v of le.values()) { + if (v.remaining !== 0) { + k.push(v) + } + } + k.sort(It((k) => k.chunk, zt)) + const v = new ft( + `Circular dependency between chunks with runtime (${Array.from( + k, + (k) => k.chunk.name || k.chunk.id + ).join( + ', ' + )})\nThis prevents using hashes of each other and should be avoided.` + ) + v.chunk = k[0].chunk + this.warnings.push(v) + for (const v of k) me.push(v.chunk) + } + this.logger.timeEnd('hashing: sort chunks') + const ye = new Set() + const _e = [] + const Ie = new Map() + const Me = [] + const processChunk = (q) => { + this.logger.time('hashing: hash runtime modules') + const ae = q.runtime + for (const E of k.getChunkModulesIterable(q)) { + if (!k.hasModuleHashes(E, ae)) { + const N = this._createModuleHash(E, k, ae, P, v, R, L, Me) + let q = Ie.get(N) + if (q) { + const k = q.get(E) + if (k) { + k.runtimes.push(ae) + continue + } + } else { + q = new Map() + Ie.set(N, q) + } + const le = { module: E, hash: N, runtime: ae, runtimes: [ae] } + q.set(E, le) + _e.push(le) + } + } + this.logger.timeAggregate('hashing: hash runtime modules') + try { + this.logger.time('hashing: hash chunks') + const v = Dt(P) + if (E.hashSalt) { + v.update(E.hashSalt) + } + q.updateHash(v, k) + this.hooks.chunkHash.call(q, v, { + chunkGraph: k, + codeGenerationResults: this.codeGenerationResults, + moduleGraph: this.moduleGraph, + runtimeTemplate: this.runtimeTemplate, + }) + const ae = v.digest(R) + N.update(ae) + q.hash = ae + q.renderedHash = q.hash.slice(0, L) + const le = k.getChunkFullHashModulesIterable(q) + if (le) { + ye.add(q) + } else { + this.hooks.contentHash.call(q) + } + } catch (k) { + this.errors.push(new je(q, '', k)) + } + this.logger.timeAggregate('hashing: hash chunks') + } + ae.forEach(processChunk) + for (const k of me) processChunk(k) + if (Me.length > 0) { + Me.sort(It((k) => k.module, Ot)) + for (const k of Me) { + this.errors.push(k) + } + } + this.logger.timeAggregateEnd('hashing: hash runtime modules') + this.logger.timeAggregateEnd('hashing: hash chunks') + this.logger.time('hashing: hash digest') + this.hooks.fullHash.call(N) + this.fullHash = N.digest(R) + this.hash = this.fullHash.slice(0, L) + this.logger.timeEnd('hashing: hash digest') + this.logger.time('hashing: process full hash modules') + for (const E of ye) { + for (const N of k.getChunkFullHashModulesIterable(E)) { + const q = Dt(P) + N.updateHash(q, { + chunkGraph: k, + runtime: E.runtime, + runtimeTemplate: v, + }) + const ae = q.digest(R) + const le = k.getModuleHash(N, E.runtime) + k.setModuleHashes(N, E.runtime, ae, ae.slice(0, L)) + Ie.get(le).get(N).hash = ae + } + const N = Dt(P) + N.update(E.hash) + N.update(this.hash) + const q = N.digest(R) + E.hash = q + E.renderedHash = E.hash.slice(0, L) + this.hooks.contentHash.call(E) + } + this.logger.timeEnd('hashing: process full hash modules') + return _e + } + emitAsset(k, v, E = {}) { + if (this.assets[k]) { + if (!Lt(this.assets[k], v)) { + this.errors.push( + new ft( + `Conflict: Multiple assets emit different content to the same filename ${k}${ + E.sourceFilename + ? `. Original source ${E.sourceFilename}` + : '' + }` + ) + ) + this.assets[k] = v + this._setAssetInfo(k, E) + return + } + const P = this.assetsInfo.get(k) + const R = Object.assign({}, P, E) + this._setAssetInfo(k, R, P) + return + } + this.assets[k] = v + this._setAssetInfo(k, E, undefined) + } + _setAssetInfo(k, v, E = this.assetsInfo.get(k)) { + if (v === undefined) { + this.assetsInfo.delete(k) + } else { + this.assetsInfo.set(k, v) + } + const P = E && E.related + const R = v && v.related + if (P) { + for (const v of Object.keys(P)) { + const remove = (E) => { + const P = this._assetsRelatedIn.get(E) + if (P === undefined) return + const R = P.get(v) + if (R === undefined) return + R.delete(k) + if (R.size !== 0) return + P.delete(v) + if (P.size === 0) this._assetsRelatedIn.delete(E) + } + const E = P[v] + if (Array.isArray(E)) { + E.forEach(remove) + } else if (E) { + remove(E) + } + } + } + if (R) { + for (const v of Object.keys(R)) { + const add = (E) => { + let P = this._assetsRelatedIn.get(E) + if (P === undefined) { + this._assetsRelatedIn.set(E, (P = new Map())) + } + let R = P.get(v) + if (R === undefined) { + P.set(v, (R = new Set())) + } + R.add(k) + } + const E = R[v] + if (Array.isArray(E)) { + E.forEach(add) + } else if (E) { + add(E) + } + } + } + } + updateAsset(k, v, E = undefined) { + if (!this.assets[k]) { + throw new Error( + `Called Compilation.updateAsset for not existing filename ${k}` + ) + } + if (typeof v === 'function') { + this.assets[k] = v(this.assets[k]) + } else { + this.assets[k] = v + } + if (E !== undefined) { + const v = this.assetsInfo.get(k) || Nt + if (typeof E === 'function') { + this._setAssetInfo(k, E(v), v) + } else { + this._setAssetInfo(k, Ct(v, E), v) + } + } + } + renameAsset(k, v) { + const E = this.assets[k] + if (!E) { + throw new Error( + `Called Compilation.renameAsset for not existing filename ${k}` + ) + } + if (this.assets[v]) { + if (!Lt(this.assets[k], E)) { + this.errors.push( + new ft( + `Conflict: Called Compilation.renameAsset for already existing filename ${v} with different content` + ) + ) + } + } + const P = this.assetsInfo.get(k) + const R = this._assetsRelatedIn.get(k) + if (R) { + for (const [E, P] of R) { + for (const R of P) { + const P = this.assetsInfo.get(R) + if (!P) continue + const L = P.related + if (!L) continue + const N = L[E] + let q + if (Array.isArray(N)) { + q = N.map((E) => (E === k ? v : E)) + } else if (N === k) { + q = v + } else continue + this.assetsInfo.set(R, { ...P, related: { ...L, [E]: q } }) + } + } + } + this._setAssetInfo(k, undefined, P) + this._setAssetInfo(v, P) + delete this.assets[k] + this.assets[v] = E + for (const E of this.chunks) { + { + const P = E.files.size + E.files.delete(k) + if (P !== E.files.size) { + E.files.add(v) + } + } + { + const P = E.auxiliaryFiles.size + E.auxiliaryFiles.delete(k) + if (P !== E.auxiliaryFiles.size) { + E.auxiliaryFiles.add(v) + } + } + } + } + deleteAsset(k) { + if (!this.assets[k]) { + return + } + delete this.assets[k] + const v = this.assetsInfo.get(k) + this._setAssetInfo(k, undefined, v) + const E = v && v.related + if (E) { + for (const k of Object.keys(E)) { + const checkUsedAndDelete = (k) => { + if (!this._assetsRelatedIn.has(k)) { + this.deleteAsset(k) + } + } + const v = E[k] + if (Array.isArray(v)) { + v.forEach(checkUsedAndDelete) + } else if (v) { + checkUsedAndDelete(v) + } + } + } + for (const v of this.chunks) { + v.files.delete(k) + v.auxiliaryFiles.delete(k) + } + } + getAssets() { + const k = [] + for (const v of Object.keys(this.assets)) { + if (Object.prototype.hasOwnProperty.call(this.assets, v)) { + k.push({ + name: v, + source: this.assets[v], + info: this.assetsInfo.get(v) || Nt, + }) + } + } + return k + } + getAsset(k) { + if (!Object.prototype.hasOwnProperty.call(this.assets, k)) + return undefined + return { + name: k, + source: this.assets[k], + info: this.assetsInfo.get(k) || Nt, + } + } + clearAssets() { + for (const k of this.chunks) { + k.files.clear() + k.auxiliaryFiles.clear() + } + } + createModuleAssets() { + const { chunkGraph: k } = this + for (const v of this.modules) { + if (v.buildInfo.assets) { + const E = v.buildInfo.assetsInfo + for (const P of Object.keys(v.buildInfo.assets)) { + const R = this.getPath(P, { + chunkGraph: this.chunkGraph, + module: v, + }) + for (const E of k.getModuleChunksIterable(v)) { + E.auxiliaryFiles.add(R) + } + this.emitAsset( + R, + v.buildInfo.assets[P], + E ? E.get(P) : undefined + ) + this.hooks.moduleAsset.call(v, R) + } + } + } + } + getRenderManifest(k) { + return this.hooks.renderManifest.call([], k) + } + createChunkAssets(k) { + const v = this.outputOptions + const E = new WeakMap() + const R = new Map() + P.forEachLimit( + this.chunks, + 15, + (k, L) => { + let N + try { + N = this.getRenderManifest({ + chunk: k, + hash: this.hash, + fullHash: this.fullHash, + outputOptions: v, + codeGenerationResults: this.codeGenerationResults, + moduleTemplates: this.moduleTemplates, + dependencyTemplates: this.dependencyTemplates, + chunkGraph: this.chunkGraph, + moduleGraph: this.moduleGraph, + runtimeTemplate: this.runtimeTemplate, + }) + } catch (v) { + this.errors.push(new je(k, '', v)) + return L() + } + P.forEach( + N, + (v, P) => { + const L = v.identifier + const N = v.hash + const q = this._assetsCache.getItemCache(L, N) + q.get((L, ae) => { + let le + let pe + let me + let _e = true + const errorAndCallback = (v) => { + const E = + pe || + (typeof pe === 'string' + ? pe + : typeof le === 'string' + ? le + : '') + this.errors.push(new je(k, E, v)) + _e = false + return P() + } + try { + if ('filename' in v) { + pe = v.filename + me = v.info + } else { + le = v.filenameTemplate + const k = this.getPathWithInfo(le, v.pathOptions) + pe = k.path + me = v.info ? { ...k.info, ...v.info } : k.info + } + if (L) { + return errorAndCallback(L) + } + let Ie = ae + const Me = R.get(pe) + if (Me !== undefined) { + if (Me.hash !== N) { + _e = false + return P( + new ft( + `Conflict: Multiple chunks emit assets to the same filename ${pe}` + + ` (chunks ${Me.chunk.id} and ${k.id})` + ) + ) + } else { + Ie = Me.source + } + } else if (!Ie) { + Ie = v.render() + if (!(Ie instanceof ye)) { + const k = E.get(Ie) + if (k) { + Ie = k + } else { + const k = new ye(Ie) + E.set(Ie, k) + Ie = k + } + } + } + this.emitAsset(pe, Ie, me) + if (v.auxiliary) { + k.auxiliaryFiles.add(pe) + } else { + k.files.add(pe) + } + this.hooks.chunkAsset.call(k, pe) + R.set(pe, { hash: N, source: Ie, chunk: k }) + if (Ie !== ae) { + q.store(Ie, (k) => { + if (k) return errorAndCallback(k) + _e = false + return P() + }) + } else { + _e = false + P() + } + } catch (L) { + if (!_e) throw L + errorAndCallback(L) + } + }) + }, + L + ) + }, + k + ) + } + getPath(k, v = {}) { + if (!v.hash) { + v = { hash: this.hash, ...v } + } + return this.getAssetPath(k, v) + } + getPathWithInfo(k, v = {}) { + if (!v.hash) { + v = { hash: this.hash, ...v } + } + return this.getAssetPathWithInfo(k, v) + } + getAssetPath(k, v) { + return this.hooks.assetPath.call( + typeof k === 'function' ? k(v) : k, + v, + undefined + ) + } + getAssetPathWithInfo(k, v) { + const E = {} + const P = this.hooks.assetPath.call( + typeof k === 'function' ? k(v, E) : k, + v, + E + ) + return { path: P, info: E } + } + getWarnings() { + return this.hooks.processWarnings.call(this.warnings) + } + getErrors() { + return this.hooks.processErrors.call(this.errors) + } + createChildCompiler(k, v, E) { + const P = this.childrenCounters[k] || 0 + this.childrenCounters[k] = P + 1 + return this.compiler.createChildCompiler(this, k, P, v, E) + } + executeModule(k, v, E) { + const R = new Set([k]) + Ft( + R, + 10, + (k, v, E) => { + this.buildQueue.waitFor(k, (P) => { + if (P) return E(P) + this.processDependenciesQueue.waitFor(k, (P) => { + if (P) return E(P) + for (const { + module: E, + } of this.moduleGraph.getOutgoingConnections(k)) { + const k = R.size + R.add(E) + if (R.size !== k) v(E) + } + E() + }) + }) + }, + (L) => { + if (L) return E(L) + const N = new Me( + this.moduleGraph, + this.outputOptions.hashFunction + ) + const q = 'build time' + const { + hashFunction: ae, + hashDigest: le, + hashDigestLength: pe, + } = this.outputOptions + const me = this.runtimeTemplate + const ye = new Ie('build time chunk', this._backCompat) + ye.id = ye.name + ye.ids = [ye.id] + ye.runtime = q + const _e = new He({ + runtime: q, + chunkLoading: false, + ...v.entryOptions, + }) + N.connectChunkAndEntryModule(ye, k, _e) + Je(_e, ye) + _e.setRuntimeChunk(ye) + _e.setEntrypointChunk(ye) + const Te = new Set([ye]) + for (const k of R) { + const v = k.identifier() + N.setModuleId(k, v) + N.connectChunkAndModule(ye, k) + } + const je = [] + for (const k of R) { + this._createModuleHash(k, N, q, ae, me, le, pe, je) + } + const Ne = new qe(this.outputOptions.hashFunction) + const codeGen = (k, v) => { + this._codeGenerationModule( + k, + q, + [q], + N.getModuleHash(k, q), + this.dependencyTemplates, + N, + this.moduleGraph, + me, + je, + Ne, + (k, E) => { + v(k) + } + ) + } + const reportErrors = () => { + if (je.length > 0) { + je.sort(It((k) => k.module, Ot)) + for (const k of je) { + this.errors.push(k) + } + je.length = 0 + } + } + P.eachLimit(R, 10, codeGen, (v) => { + if (v) return E(v) + reportErrors() + const L = this.chunkGraph + this.chunkGraph = N + this.processRuntimeRequirements({ + chunkGraph: N, + modules: R, + chunks: Te, + codeGenerationResults: Ne, + chunkGraphEntries: Te, + }) + this.chunkGraph = L + const _e = N.getChunkRuntimeModulesIterable(ye) + for (const k of _e) { + R.add(k) + this._createModuleHash(k, N, q, ae, me, le, pe) + } + P.eachLimit(_e, 10, codeGen, (v) => { + if (v) return E(v) + reportErrors() + const L = new Map() + const ae = new Map() + const le = new wt() + const pe = new wt() + const me = new wt() + const _e = new wt() + const Ie = new Map() + let Me = true + const Te = { + assets: Ie, + __webpack_require__: undefined, + chunk: ye, + chunkGraph: N, + } + P.eachLimit( + R, + 10, + (k, v) => { + const E = Ne.get(k, q) + const P = { + module: k, + codeGenerationResult: E, + preparedInfo: undefined, + moduleObject: undefined, + } + L.set(k, P) + ae.set(k.identifier(), P) + k.addCacheDependencies(le, pe, me, _e) + if (k.buildInfo.cacheable === false) { + Me = false + } + if (k.buildInfo && k.buildInfo.assets) { + const { assets: v, assetsInfo: E } = k.buildInfo + for (const k of Object.keys(v)) { + Ie.set(k, { + source: v[k], + info: E ? E.get(k) : undefined, + }) + } + } + this.hooks.prepareModuleExecution.callAsync(P, Te, v) + }, + (v) => { + if (v) return E(v) + let P + try { + const { + strictModuleErrorHandling: v, + strictModuleExceptionHandling: E, + } = this.outputOptions + const __nested_webpack_require_153754__ = (k) => { + const v = q[k] + if (v !== undefined) { + if (v.error) throw v.error + return v.exports + } + const E = ae.get(k) + return __webpack_require_module__(E, k) + } + const R = (__nested_webpack_require_153754__[ + ut.interceptModuleExecution.replace( + `${ut.require}.`, + '' + ) + ] = []) + const q = (__nested_webpack_require_153754__[ + ut.moduleCache.replace(`${ut.require}.`, '') + ] = {}) + Te.__webpack_require__ = + __nested_webpack_require_153754__ + const __webpack_require_module__ = (k, P) => { + var L = { + id: P, + module: { + id: P, + exports: {}, + loaded: false, + error: undefined, + }, + require: __nested_webpack_require_153754__, + } + R.forEach((k) => k(L)) + const N = k.module + this.buildTimeExecutedModules.add(N) + const ae = L.module + k.moduleObject = ae + try { + if (P) q[P] = ae + Ye( + () => this.hooks.executeModule.call(k, Te), + 'Compilation.hooks.executeModule' + ) + ae.loaded = true + return ae.exports + } catch (k) { + if (E) { + if (P) delete q[P] + } else if (v) { + ae.error = k + } + if (!k.module) k.module = N + throw k + } + } + for (const k of N.getChunkRuntimeModulesInOrder(ye)) { + __webpack_require_module__(L.get(k)) + } + P = __nested_webpack_require_153754__(k.identifier()) + } catch (v) { + const P = new ft( + `Execution of module code from module graph (${k.readableIdentifier( + this.requestShortener + )}) failed: ${v.message}` + ) + P.stack = v.stack + P.module = v.module + return E(P) + } + E(null, { + exports: P, + assets: Ie, + cacheable: Me, + fileDependencies: le, + contextDependencies: pe, + missingDependencies: me, + buildDependencies: _e, + }) + } + ) + }) + }) + } + ) + } + checkConstraints() { + const k = this.chunkGraph + const v = new Set() + for (const E of this.modules) { + if (E.type === lt) continue + const P = k.getModuleId(E) + if (P === null) continue + if (v.has(P)) { + throw new Error(`checkConstraints: duplicate module id ${P}`) + } + v.add(P) + } + for (const v of this.chunks) { + for (const E of k.getChunkModulesIterable(v)) { + if (!this.modules.has(E)) { + throw new Error( + 'checkConstraints: module in chunk but not in compilation ' + + ` ${v.debugId} ${E.debugId}` + ) + } + } + for (const E of k.getChunkEntryModulesIterable(v)) { + if (!this.modules.has(E)) { + throw new Error( + 'checkConstraints: entry module in chunk but not in compilation ' + + ` ${v.debugId} ${E.debugId}` + ) + } + } + } + for (const k of this.chunkGroups) { + k.checkConstraints() + } + } + } + Compilation.prototype.factorizeModule = function (k, v) { + this.factorizeQueue.add(k, v) + } + const Kt = Compilation.prototype + Object.defineProperty(Kt, 'modifyHash', { + writable: false, + enumerable: false, + configurable: false, + value: () => { + throw new Error( + 'Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash' + ) + }, + }) + Object.defineProperty(Kt, 'cache', { + enumerable: false, + configurable: false, + get: me.deprecate( + function () { + return this.compiler.cache + }, + 'Compilation.cache was removed in favor of Compilation.getCache()', + 'DEP_WEBPACK_COMPILATION_CACHE' + ), + set: me.deprecate( + (k) => {}, + '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 + k.exports = Compilation + }, + 2170: function (k, v, E) { + 'use strict' + const P = E(54650) + const R = E(78175) + const { + SyncHook: L, + SyncBailHook: N, + AsyncParallelHook: q, + AsyncSeriesHook: ae, + } = E(79846) + const { SizeOnlySource: le } = E(51255) + const pe = E(94308) + const me = E(89802) + const ye = E(90580) + const _e = E(38317) + const Ie = E(27747) + const Me = E(4539) + const Te = E(20467) + const je = E(88223) + const Ne = E(14062) + const Be = E(91227) + const qe = E(51660) + const Ue = E(26288) + const Ge = E(50526) + const He = E(71572) + const { Logger: We } = E(13905) + const { join: Qe, dirname: Je, mkdirp: Ve } = E(57825) + const { makePathsRelative: Ke } = E(65315) + const { isSourceEqual: Ye } = E(71435) + const isSorted = (k) => { + for (let v = 1; v < k.length; v++) { + if (k[v - 1] > k[v]) return false + } + return true + } + const sortObject = (k, v) => { + const E = {} + for (const P of v.sort()) { + E[P] = k[P] + } + return E + } + const includesHash = (k, v) => { + if (!v) return false + if (Array.isArray(v)) { + return v.some((v) => k.includes(v)) + } else { + return k.includes(v) + } + } + class Compiler { + constructor(k, v = {}) { + this.hooks = Object.freeze({ + initialize: new L([]), + shouldEmit: new N(['compilation']), + done: new ae(['stats']), + afterDone: new L(['stats']), + additionalPass: new ae([]), + beforeRun: new ae(['compiler']), + run: new ae(['compiler']), + emit: new ae(['compilation']), + assetEmitted: new ae(['file', 'info']), + afterEmit: new ae(['compilation']), + thisCompilation: new L(['compilation', 'params']), + compilation: new L(['compilation', 'params']), + normalModuleFactory: new L(['normalModuleFactory']), + contextModuleFactory: new L(['contextModuleFactory']), + beforeCompile: new ae(['params']), + compile: new L(['params']), + make: new q(['compilation']), + finishMake: new ae(['compilation']), + afterCompile: new ae(['compilation']), + readRecords: new ae([]), + emitRecords: new ae([]), + watchRun: new ae(['compiler']), + failed: new L(['error']), + invalid: new L(['filename', 'changeTime']), + watchClose: new L([]), + shutdown: new ae([]), + infrastructureLog: new N(['origin', 'type', 'args']), + environment: new L([]), + afterEnvironment: new L([]), + afterPlugins: new L(['compiler']), + afterResolvers: new L(['compiler']), + entryOption: new N(['context', 'entry']), + }) + this.webpack = pe + 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.fsStartTime = undefined + this.resolverFactory = new qe() + this.infrastructureLogger = undefined + this.options = v + this.context = k + this.requestShortener = new Be(k, this.root) + this.cache = new me() + this.moduleMemCaches = undefined + this.compilerPath = '' + this.running = false + this.idle = false + this.watchMode = false + this._backCompat = this.options.experiments.backCompat !== false + this._lastCompilation = undefined + this._lastNormalModuleFactory = undefined + this._assetEmittingSourceCache = new WeakMap() + this._assetEmittingWrittenFiles = new Map() + this._assetEmittingPreviousFiles = new Set() + } + getCache(k) { + return new ye( + this.cache, + `${this.compilerPath}${k}`, + this.options.output.hashFunction + ) + } + getInfrastructureLogger(k) { + if (!k) { + throw new TypeError( + 'Compiler.getInfrastructureLogger(name) called without a name' + ) + } + return new We( + (v, E) => { + if (typeof k === 'function') { + k = k() + if (!k) { + throw new TypeError( + 'Compiler.getInfrastructureLogger(name) called with a function not returning a name' + ) + } + } + if (this.hooks.infrastructureLog.call(k, v, E) === undefined) { + if (this.infrastructureLogger !== undefined) { + this.infrastructureLogger(k, v, E) + } + } + }, + (v) => { + if (typeof k === 'function') { + if (typeof v === 'function') { + return this.getInfrastructureLogger(() => { + if (typeof k === 'function') { + k = k() + if (!k) { + throw new TypeError( + 'Compiler.getInfrastructureLogger(name) called with a function not returning a name' + ) + } + } + if (typeof v === 'function') { + v = v() + if (!v) { + throw new TypeError( + 'Logger.getChildLogger(name) called with a function not returning a name' + ) + } + } + return `${k}/${v}` + }) + } else { + return this.getInfrastructureLogger(() => { + if (typeof k === 'function') { + k = k() + if (!k) { + throw new TypeError( + 'Compiler.getInfrastructureLogger(name) called with a function not returning a name' + ) + } + } + return `${k}/${v}` + }) + } + } else { + if (typeof v === 'function') { + return this.getInfrastructureLogger(() => { + if (typeof v === 'function') { + v = v() + if (!v) { + throw new TypeError( + 'Logger.getChildLogger(name) called with a function not returning a name' + ) + } + } + return `${k}/${v}` + }) + } else { + return this.getInfrastructureLogger(`${k}/${v}`) + } + } + } + ) + } + _cleanupLastCompilation() { + if (this._lastCompilation !== undefined) { + for (const k of this._lastCompilation.modules) { + _e.clearChunkGraphForModule(k) + je.clearModuleGraphForModule(k) + k.cleanupForCache() + } + for (const k of this._lastCompilation.chunks) { + _e.clearChunkGraphForChunk(k) + } + this._lastCompilation = undefined + } + } + _cleanupLastNormalModuleFactory() { + if (this._lastNormalModuleFactory !== undefined) { + this._lastNormalModuleFactory.cleanupForCache() + this._lastNormalModuleFactory = undefined + } + } + watch(k, v) { + if (this.running) { + return v(new Me()) + } + this.running = true + this.watchMode = true + this.watching = new Ge(this, k, v) + return this.watching + } + run(k) { + if (this.running) { + return k(new Me()) + } + let v + const finalCallback = (E, P) => { + if (v) v.time('beginIdle') + this.idle = true + this.cache.beginIdle() + this.idle = true + if (v) v.timeEnd('beginIdle') + this.running = false + if (E) { + this.hooks.failed.call(E) + } + if (k !== undefined) k(E, P) + this.hooks.afterDone.call(P) + } + const E = Date.now() + this.running = true + const onCompiled = (k, P) => { + if (k) return finalCallback(k) + if (this.hooks.shouldEmit.call(P) === false) { + P.startTime = E + P.endTime = Date.now() + const k = new Ue(P) + this.hooks.done.callAsync(k, (v) => { + if (v) return finalCallback(v) + return finalCallback(null, k) + }) + return + } + process.nextTick(() => { + v = P.getLogger('webpack.Compiler') + v.time('emitAssets') + this.emitAssets(P, (k) => { + v.timeEnd('emitAssets') + if (k) return finalCallback(k) + if (P.hooks.needAdditionalPass.call()) { + P.needAdditionalPass = true + P.startTime = E + P.endTime = Date.now() + v.time('done hook') + const k = new Ue(P) + this.hooks.done.callAsync(k, (k) => { + v.timeEnd('done hook') + if (k) return finalCallback(k) + this.hooks.additionalPass.callAsync((k) => { + if (k) return finalCallback(k) + this.compile(onCompiled) + }) + }) + return + } + v.time('emitRecords') + this.emitRecords((k) => { + v.timeEnd('emitRecords') + if (k) return finalCallback(k) + P.startTime = E + P.endTime = Date.now() + v.time('done hook') + const R = new Ue(P) + this.hooks.done.callAsync(R, (k) => { + v.timeEnd('done hook') + if (k) return finalCallback(k) + this.cache.storeBuildDependencies( + P.buildDependencies, + (k) => { + if (k) return finalCallback(k) + return finalCallback(null, R) + } + ) + }) + }) + }) + }) + } + const run = () => { + this.hooks.beforeRun.callAsync(this, (k) => { + if (k) return finalCallback(k) + this.hooks.run.callAsync(this, (k) => { + if (k) return finalCallback(k) + this.readRecords((k) => { + if (k) return finalCallback(k) + this.compile(onCompiled) + }) + }) + }) + } + if (this.idle) { + this.cache.endIdle((k) => { + if (k) return finalCallback(k) + this.idle = false + run() + }) + } else { + run() + } + } + runAsChild(k) { + const v = Date.now() + const finalCallback = (v, E, P) => { + try { + k(v, E, P) + } catch (k) { + const v = new He(`compiler.runAsChild callback error: ${k}`) + v.details = k.stack + this.parentCompilation.errors.push(v) + } + } + this.compile((k, E) => { + if (k) return finalCallback(k) + this.parentCompilation.children.push(E) + for (const { name: k, source: v, info: P } of E.getAssets()) { + this.parentCompilation.emitAsset(k, v, P) + } + const P = [] + for (const k of E.entrypoints.values()) { + P.push(...k.chunks) + } + E.startTime = v + E.endTime = Date.now() + return finalCallback(null, P, E) + }) + } + purgeInputFileSystem() { + if (this.inputFileSystem && this.inputFileSystem.purge) { + this.inputFileSystem.purge() + } + } + emitAssets(k, v) { + let E + const emitFiles = (P) => { + if (P) return v(P) + const L = k.getAssets() + k.assets = { ...k.assets } + const N = new Map() + const q = new Set() + R.forEachLimit( + L, + 15, + ({ name: v, source: P, info: R }, L) => { + let ae = v + let pe = R.immutable + const me = ae.indexOf('?') + if (me >= 0) { + ae = ae.slice(0, me) + pe = + pe && + (includesHash(ae, R.contenthash) || + includesHash(ae, R.chunkhash) || + includesHash(ae, R.modulehash) || + includesHash(ae, R.fullhash)) + } + const writeOut = (R) => { + if (R) return L(R) + const me = Qe(this.outputFileSystem, E, ae) + q.add(me) + const ye = this._assetEmittingWrittenFiles.get(me) + let _e = this._assetEmittingSourceCache.get(P) + if (_e === undefined) { + _e = { sizeOnlySource: undefined, writtenTo: new Map() } + this._assetEmittingSourceCache.set(P, _e) + } + let Ie + const checkSimilarFile = () => { + const k = me.toLowerCase() + Ie = N.get(k) + if (Ie !== undefined) { + const { path: k, source: E } = Ie + if (Ye(E, P)) { + if (Ie.size !== undefined) { + updateWithReplacementSource(Ie.size) + } else { + if (!Ie.waiting) Ie.waiting = [] + Ie.waiting.push({ file: v, cacheEntry: _e }) + } + alreadyWritten() + } else { + const E = new He( + `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${me}\n${k}` + ) + E.file = v + L(E) + } + return true + } else { + N.set( + k, + (Ie = { + path: me, + source: P, + size: undefined, + waiting: undefined, + }) + ) + return false + } + } + const getContent = () => { + if (typeof P.buffer === 'function') { + return P.buffer() + } else { + const k = P.source() + if (Buffer.isBuffer(k)) { + return k + } else { + return Buffer.from(k, 'utf8') + } + } + } + const alreadyWritten = () => { + if (ye === undefined) { + const k = 1 + this._assetEmittingWrittenFiles.set(me, k) + _e.writtenTo.set(me, k) + } else { + _e.writtenTo.set(me, ye) + } + L() + } + const doWrite = (R) => { + this.outputFileSystem.writeFile(me, R, (N) => { + if (N) return L(N) + k.emittedAssets.add(v) + const q = ye === undefined ? 1 : ye + 1 + _e.writtenTo.set(me, q) + this._assetEmittingWrittenFiles.set(me, q) + this.hooks.assetEmitted.callAsync( + v, + { + content: R, + source: P, + outputPath: E, + compilation: k, + targetPath: me, + }, + L + ) + }) + } + const updateWithReplacementSource = (k) => { + updateFileWithReplacementSource(v, _e, k) + Ie.size = k + if (Ie.waiting !== undefined) { + for (const { file: v, cacheEntry: E } of Ie.waiting) { + updateFileWithReplacementSource(v, E, k) + } + } + } + const updateFileWithReplacementSource = (v, E, P) => { + if (!E.sizeOnlySource) { + E.sizeOnlySource = new le(P) + } + k.updateAsset(v, E.sizeOnlySource, { size: P }) + } + const processExistingFile = (E) => { + if (pe) { + updateWithReplacementSource(E.size) + return alreadyWritten() + } + const P = getContent() + updateWithReplacementSource(P.length) + if (P.length === E.size) { + k.comparedForEmitAssets.add(v) + return this.outputFileSystem.readFile(me, (k, v) => { + if (k || !P.equals(v)) { + return doWrite(P) + } else { + return alreadyWritten() + } + }) + } + return doWrite(P) + } + const processMissingFile = () => { + const k = getContent() + updateWithReplacementSource(k.length) + return doWrite(k) + } + if (ye !== undefined) { + const E = _e.writtenTo.get(me) + if (E === ye) { + if (this._assetEmittingPreviousFiles.has(me)) { + k.updateAsset(v, _e.sizeOnlySource, { + size: _e.sizeOnlySource.size(), + }) + return L() + } else { + pe = true + } + } else if (!pe) { + if (checkSimilarFile()) return + return processMissingFile() + } + } + if (checkSimilarFile()) return + if (this.options.output.compareBeforeEmit) { + this.outputFileSystem.stat(me, (k, v) => { + const E = !k && v.isFile() + if (E) { + processExistingFile(v) + } else { + processMissingFile() + } + }) + } else { + processMissingFile() + } + } + if (ae.match(/\/|\\/)) { + const k = this.outputFileSystem + const v = Je(k, Qe(k, E, ae)) + Ve(k, v, writeOut) + } else { + writeOut() + } + }, + (E) => { + N.clear() + if (E) { + this._assetEmittingPreviousFiles.clear() + return v(E) + } + this._assetEmittingPreviousFiles = q + this.hooks.afterEmit.callAsync(k, (k) => { + if (k) return v(k) + return v() + }) + } + ) + } + this.hooks.emit.callAsync(k, (P) => { + if (P) return v(P) + E = k.getPath(this.outputPath, {}) + Ve(this.outputFileSystem, E, emitFiles) + }) + } + emitRecords(k) { + if (this.hooks.emitRecords.isUsed()) { + if (this.recordsOutputPath) { + R.parallel( + [ + (k) => this.hooks.emitRecords.callAsync(k), + this._emitRecords.bind(this), + ], + (v) => k(v) + ) + } else { + this.hooks.emitRecords.callAsync(k) + } + } else { + if (this.recordsOutputPath) { + this._emitRecords(k) + } else { + k() + } + } + } + _emitRecords(k) { + const writeFile = () => { + this.outputFileSystem.writeFile( + this.recordsOutputPath, + JSON.stringify( + this.records, + (k, v) => { + if ( + typeof v === 'object' && + v !== null && + !Array.isArray(v) + ) { + const k = Object.keys(v) + if (!isSorted(k)) { + return sortObject(v, k) + } + } + return v + }, + 2 + ), + k + ) + } + const v = Je(this.outputFileSystem, this.recordsOutputPath) + if (!v) { + return writeFile() + } + Ve(this.outputFileSystem, v, (v) => { + if (v) return k(v) + writeFile() + }) + } + readRecords(k) { + if (this.hooks.readRecords.isUsed()) { + if (this.recordsInputPath) { + R.parallel( + [ + (k) => this.hooks.readRecords.callAsync(k), + this._readRecords.bind(this), + ], + (v) => k(v) + ) + } else { + this.records = {} + this.hooks.readRecords.callAsync(k) + } + } else { + if (this.recordsInputPath) { + this._readRecords(k) + } else { + this.records = {} + k() + } + } + } + _readRecords(k) { + if (!this.recordsInputPath) { + this.records = {} + return k() + } + this.inputFileSystem.stat(this.recordsInputPath, (v) => { + if (v) return k() + this.inputFileSystem.readFile(this.recordsInputPath, (v, E) => { + if (v) return k(v) + try { + this.records = P(E.toString('utf-8')) + } catch (v) { + return k(new Error(`Cannot parse records: ${v.message}`)) + } + return k() + }) + }) + } + createChildCompiler(k, v, E, P, R) { + const L = new Compiler(this.context, { + ...this.options, + output: { ...this.options.output, ...P }, + }) + L.name = v + L.outputPath = this.outputPath + L.inputFileSystem = this.inputFileSystem + L.outputFileSystem = null + L.resolverFactory = this.resolverFactory + L.modifiedFiles = this.modifiedFiles + L.removedFiles = this.removedFiles + L.fileTimestamps = this.fileTimestamps + L.contextTimestamps = this.contextTimestamps + L.fsStartTime = this.fsStartTime + L.cache = this.cache + L.compilerPath = `${this.compilerPath}${v}|${E}|` + L._backCompat = this._backCompat + const N = Ke(this.context, v, this.root) + if (!this.records[N]) { + this.records[N] = [] + } + if (this.records[N][E]) { + L.records = this.records[N][E] + } else { + this.records[N].push((L.records = {})) + } + L.parentCompilation = k + L.root = this.root + if (Array.isArray(R)) { + for (const k of R) { + k.apply(L) + } + } + for (const k in this.hooks) { + if ( + ![ + 'make', + 'compile', + 'emit', + 'afterEmit', + 'invalid', + 'done', + 'thisCompilation', + ].includes(k) + ) { + if (L.hooks[k]) { + L.hooks[k].taps = this.hooks[k].taps.slice() + } + } + } + k.hooks.childCompiler.call(L, v, E) + return L + } + isChild() { + return !!this.parentCompilation + } + createCompilation(k) { + this._cleanupLastCompilation() + return (this._lastCompilation = new Ie(this, k)) + } + newCompilation(k) { + const v = this.createCompilation(k) + v.name = this.name + v.records = this.records + this.hooks.thisCompilation.call(v, k) + this.hooks.compilation.call(v, k) + return v + } + createNormalModuleFactory() { + this._cleanupLastNormalModuleFactory() + const k = new Ne({ + context: this.options.context, + fs: this.inputFileSystem, + resolverFactory: this.resolverFactory, + options: this.options.module, + associatedObjectForCache: this.root, + layers: this.options.experiments.layers, + }) + this._lastNormalModuleFactory = k + this.hooks.normalModuleFactory.call(k) + return k + } + createContextModuleFactory() { + const k = new Te(this.resolverFactory) + this.hooks.contextModuleFactory.call(k) + return k + } + newCompilationParams() { + const k = { + normalModuleFactory: this.createNormalModuleFactory(), + contextModuleFactory: this.createContextModuleFactory(), + } + return k + } + compile(k) { + const v = this.newCompilationParams() + this.hooks.beforeCompile.callAsync(v, (E) => { + if (E) return k(E) + this.hooks.compile.call(v) + const P = this.newCompilation(v) + const R = P.getLogger('webpack.Compiler') + R.time('make hook') + this.hooks.make.callAsync(P, (v) => { + R.timeEnd('make hook') + if (v) return k(v) + R.time('finish make hook') + this.hooks.finishMake.callAsync(P, (v) => { + R.timeEnd('finish make hook') + if (v) return k(v) + process.nextTick(() => { + R.time('finish compilation') + P.finish((v) => { + R.timeEnd('finish compilation') + if (v) return k(v) + R.time('seal compilation') + P.seal((v) => { + R.timeEnd('seal compilation') + if (v) return k(v) + R.time('afterCompile hook') + this.hooks.afterCompile.callAsync(P, (v) => { + R.timeEnd('afterCompile hook') + if (v) return k(v) + return k(null, P) + }) + }) + }) + }) + }) + }) + }) + } + close(k) { + if (this.watching) { + this.watching.close((v) => { + this.close(k) + }) + return + } + this.hooks.shutdown.callAsync((v) => { + if (v) return k(v) + this._lastCompilation = undefined + this._lastNormalModuleFactory = undefined + this.cache.shutdown(k) + }) + } + } + k.exports = Compiler + }, + 91213: function (k) { + 'use strict' + const v = + /^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/ + const E = '__WEBPACK_DEFAULT_EXPORT__' + const P = '__WEBPACK_NAMESPACE_OBJECT__' + class ConcatenationScope { + constructor(k, v) { + this._currentModule = v + if (Array.isArray(k)) { + const v = new Map() + for (const E of k) { + v.set(E.module, E) + } + k = v + } + this._modulesMap = k + } + isModuleInScope(k) { + return this._modulesMap.has(k) + } + registerExport(k, v) { + if (!this._currentModule.exportMap) { + this._currentModule.exportMap = new Map() + } + if (!this._currentModule.exportMap.has(k)) { + this._currentModule.exportMap.set(k, v) + } + } + registerRawExport(k, v) { + if (!this._currentModule.rawExportMap) { + this._currentModule.rawExportMap = new Map() + } + if (!this._currentModule.rawExportMap.has(k)) { + this._currentModule.rawExportMap.set(k, v) + } + } + registerNamespaceExport(k) { + this._currentModule.namespaceExportSymbol = k + } + createModuleReference( + k, + { + ids: v = undefined, + call: E = false, + directImport: P = false, + asiSafe: R = false, + } + ) { + const L = this._modulesMap.get(k) + const N = E ? '_call' : '' + const q = P ? '_directImport' : '' + const ae = R ? '_asiSafe1' : R === false ? '_asiSafe0' : '' + const le = v + ? Buffer.from(JSON.stringify(v), 'utf-8').toString('hex') + : 'ns' + return `__WEBPACK_MODULE_REFERENCE__${L.index}_${le}${N}${q}${ae}__._` + } + static isModuleReference(k) { + return v.test(k) + } + static matchModuleReference(k) { + const E = v.exec(k) + if (!E) return null + const P = +E[1] + const R = E[5] + return { + index: P, + ids: + E[2] === 'ns' + ? [] + : JSON.parse(Buffer.from(E[2], 'hex').toString('utf-8')), + call: !!E[3], + directImport: !!E[4], + asiSafe: R ? R === '1' : undefined, + } + } + } + ConcatenationScope.DEFAULT_EXPORT = E + ConcatenationScope.NAMESPACE_OBJECT_EXPORT = P + k.exports = ConcatenationScope + }, + 4539: function (k, v, E) { + 'use strict' + const P = E(71572) + k.exports = class ConcurrentCompilationError extends P { + constructor() { + super() + this.name = 'ConcurrentCompilationError' + this.message = + 'You ran Webpack twice. Each instance only supports a single concurrent compilation at a time.' + } + } + }, + 33769: function (k, v, E) { + 'use strict' + const { ConcatSource: P, PrefixSource: R } = E(51255) + const L = E(88113) + const N = E(95041) + const { mergeRuntime: q } = E(1540) + const wrapInCondition = (k, v) => { + if (typeof v === 'string') { + return N.asString([`if (${k}) {`, N.indent(v), '}', '']) + } else { + return new P(`if (${k}) {\n`, new R('\t', v), '}\n') + } + } + class ConditionalInitFragment extends L { + constructor(k, v, E, P, R = true, L) { + super(k, v, E, P, L) + this.runtimeCondition = R + } + getContent(k) { + if (this.runtimeCondition === false || !this.content) return '' + if (this.runtimeCondition === true) return this.content + const v = k.runtimeTemplate.runtimeConditionExpression({ + chunkGraph: k.chunkGraph, + runtimeRequirements: k.runtimeRequirements, + runtime: k.runtime, + runtimeCondition: this.runtimeCondition, + }) + if (v === 'true') return this.content + return wrapInCondition(v, this.content) + } + getEndContent(k) { + if (this.runtimeCondition === false || !this.endContent) return '' + if (this.runtimeCondition === true) return this.endContent + const v = k.runtimeTemplate.runtimeConditionExpression({ + chunkGraph: k.chunkGraph, + runtimeRequirements: k.runtimeRequirements, + runtime: k.runtime, + runtimeCondition: this.runtimeCondition, + }) + if (v === 'true') return this.endContent + return wrapInCondition(v, this.endContent) + } + merge(k) { + if (this.runtimeCondition === true) return this + if (k.runtimeCondition === true) return k + if (this.runtimeCondition === false) return k + if (k.runtimeCondition === false) return this + const v = q(this.runtimeCondition, k.runtimeCondition) + return new ConditionalInitFragment( + this.content, + this.stage, + this.position, + this.key, + v, + this.endContent + ) + } + } + k.exports = ConditionalInitFragment + }, + 11512: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, + JAVASCRIPT_MODULE_TYPE_ESM: L, + } = E(93622) + const N = E(11602) + const q = E(60381) + const { evaluateToString: ae } = E(80784) + const { parseResource: le } = E(65315) + const collectDeclaration = (k, v) => { + const E = [v] + while (E.length > 0) { + const v = E.pop() + switch (v.type) { + case 'Identifier': + k.add(v.name) + break + case 'ArrayPattern': + for (const k of v.elements) { + if (k) { + E.push(k) + } + } + break + case 'AssignmentPattern': + E.push(v.left) + break + case 'ObjectPattern': + for (const k of v.properties) { + E.push(k.value) + } + break + case 'RestElement': + E.push(v.argument) + break + } + } + } + const getHoistedDeclarations = (k, v) => { + const E = new Set() + const P = [k] + while (P.length > 0) { + const k = P.pop() + if (!k) continue + switch (k.type) { + case 'BlockStatement': + for (const v of k.body) { + P.push(v) + } + break + case 'IfStatement': + P.push(k.consequent) + P.push(k.alternate) + break + case 'ForStatement': + P.push(k.init) + P.push(k.body) + break + case 'ForInStatement': + case 'ForOfStatement': + P.push(k.left) + P.push(k.body) + break + case 'DoWhileStatement': + case 'WhileStatement': + case 'LabeledStatement': + P.push(k.body) + break + case 'SwitchStatement': + for (const v of k.cases) { + for (const k of v.consequent) { + P.push(k) + } + } + break + case 'TryStatement': + P.push(k.block) + if (k.handler) { + P.push(k.handler.body) + } + P.push(k.finalizer) + break + case 'FunctionDeclaration': + if (v) { + collectDeclaration(E, k.id) + } + break + case 'VariableDeclaration': + if (k.kind === 'var') { + for (const v of k.declarations) { + collectDeclaration(E, v.id) + } + } + break + } + } + return Array.from(E) + } + const pe = 'ConstPlugin' + class ConstPlugin { + apply(k) { + const v = le.bindCache(k.root) + k.hooks.compilation.tap(pe, (k, { normalModuleFactory: E }) => { + k.dependencyTemplates.set(q, new q.Template()) + k.dependencyTemplates.set(N, new N.Template()) + const handler = (k) => { + k.hooks.statementIf.tap(pe, (v) => { + if (k.scope.isAsmJs) return + const E = k.evaluateExpression(v.test) + const P = E.asBool() + if (typeof P === 'boolean') { + if (!E.couldHaveSideEffects()) { + const R = new q(`${P}`, E.range) + R.loc = v.loc + k.state.module.addPresentationalDependency(R) + } else { + k.walkExpression(v.test) + } + const R = P ? v.alternate : v.consequent + if (R) { + let v + if (k.scope.isStrict) { + v = getHoistedDeclarations(R, false) + } else { + v = getHoistedDeclarations(R, true) + } + let E + if (v.length > 0) { + E = `{ var ${v.join(', ')}; }` + } else { + E = '{}' + } + const P = new q(E, R.range) + P.loc = R.loc + k.state.module.addPresentationalDependency(P) + } + return P + } + }) + k.hooks.expressionConditionalOperator.tap(pe, (v) => { + if (k.scope.isAsmJs) return + const E = k.evaluateExpression(v.test) + const P = E.asBool() + if (typeof P === 'boolean') { + if (!E.couldHaveSideEffects()) { + const R = new q(` ${P}`, E.range) + R.loc = v.loc + k.state.module.addPresentationalDependency(R) + } else { + k.walkExpression(v.test) + } + const R = P ? v.alternate : v.consequent + const L = new q('0', R.range) + L.loc = R.loc + k.state.module.addPresentationalDependency(L) + return P + } + }) + k.hooks.expressionLogicalOperator.tap(pe, (v) => { + if (k.scope.isAsmJs) return + if (v.operator === '&&' || v.operator === '||') { + const E = k.evaluateExpression(v.left) + const P = E.asBool() + if (typeof P === 'boolean') { + const R = + (v.operator === '&&' && P) || (v.operator === '||' && !P) + if (!E.couldHaveSideEffects() && (E.isBoolean() || R)) { + const R = new q(` ${P}`, E.range) + R.loc = v.loc + k.state.module.addPresentationalDependency(R) + } else { + k.walkExpression(v.left) + } + if (!R) { + const E = new q('0', v.right.range) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + } + return R + } + } else if (v.operator === '??') { + const E = k.evaluateExpression(v.left) + const P = E.asNullish() + if (typeof P === 'boolean') { + if (!E.couldHaveSideEffects() && P) { + const P = new q(' null', E.range) + P.loc = v.loc + k.state.module.addPresentationalDependency(P) + } else { + const E = new q('0', v.right.range) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + k.walkExpression(v.left) + } + return P + } + } + }) + k.hooks.optionalChaining.tap(pe, (v) => { + const E = [] + let P = v.expression + while ( + P.type === 'MemberExpression' || + P.type === 'CallExpression' + ) { + if (P.type === 'MemberExpression') { + if (P.optional) { + E.push(P.object) + } + P = P.object + } else { + if (P.optional) { + E.push(P.callee) + } + P = P.callee + } + } + while (E.length) { + const P = E.pop() + const R = k.evaluateExpression(P) + if (R.asNullish()) { + const E = new q(' undefined', v.range) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + return true + } + } + }) + k.hooks.evaluateIdentifier.for('__resourceQuery').tap(pe, (E) => { + if (k.scope.isAsmJs) return + if (!k.state.module) return + return ae(v(k.state.module.resource).query)(E) + }) + k.hooks.expression.for('__resourceQuery').tap(pe, (E) => { + if (k.scope.isAsmJs) return + if (!k.state.module) return + const P = new N( + JSON.stringify(v(k.state.module.resource).query), + E.range, + '__resourceQuery' + ) + P.loc = E.loc + k.state.module.addPresentationalDependency(P) + return true + }) + k.hooks.evaluateIdentifier + .for('__resourceFragment') + .tap(pe, (E) => { + if (k.scope.isAsmJs) return + if (!k.state.module) return + return ae(v(k.state.module.resource).fragment)(E) + }) + k.hooks.expression.for('__resourceFragment').tap(pe, (E) => { + if (k.scope.isAsmJs) return + if (!k.state.module) return + const P = new N( + JSON.stringify(v(k.state.module.resource).fragment), + E.range, + '__resourceFragment' + ) + P.loc = E.loc + k.state.module.addPresentationalDependency(P) + return true + }) + } + E.hooks.parser.for(P).tap(pe, handler) + E.hooks.parser.for(R).tap(pe, handler) + E.hooks.parser.for(L).tap(pe, handler) + }) + } + } + k.exports = ConstPlugin + }, + 41454: function (k) { + 'use strict' + class ContextExclusionPlugin { + constructor(k) { + this.negativeMatcher = k + } + apply(k) { + k.hooks.contextModuleFactory.tap('ContextExclusionPlugin', (k) => { + k.hooks.contextModuleFiles.tap('ContextExclusionPlugin', (k) => + k.filter((k) => !this.negativeMatcher.test(k)) + ) + }) + } + } + k.exports = ContextExclusionPlugin + }, + 48630: function (k, v, E) { + 'use strict' + const { OriginalSource: P, RawSource: R } = E(51255) + const L = E(75081) + const { makeWebpackError: N } = E(82104) + const q = E(88396) + const { JAVASCRIPT_MODULE_TYPE_DYNAMIC: ae } = E(93622) + const le = E(56727) + const pe = E(95041) + const me = E(71572) + const { + compareLocations: ye, + concatComparators: _e, + compareSelect: Ie, + keepOriginalOrder: Me, + compareModulesById: Te, + } = E(95648) + const { + contextify: je, + parseResource: Ne, + makePathsRelative: Be, + } = E(65315) + const qe = E(58528) + const Ue = { timestamp: true } + const Ge = new Set(['javascript']) + class ContextModule extends q { + constructor(k, v) { + if (!v || typeof v.resource === 'string') { + const k = Ne(v ? v.resource : '') + const E = k.path + const P = (v && v.resourceQuery) || k.query + const R = (v && v.resourceFragment) || k.fragment + const L = v && v.layer + super(ae, E, L) + this.options = { + ...v, + resource: E, + resourceQuery: P, + resourceFragment: R, + } + } else { + super(ae, undefined, v.layer) + this.options = { + ...v, + resource: v.resource, + resourceQuery: v.resourceQuery || '', + resourceFragment: v.resourceFragment || '', + } + } + this.resolveDependencies = k + if (v && v.resolveOptions !== undefined) { + this.resolveOptions = v.resolveOptions + } + if (v && typeof v.mode !== 'string') { + throw new Error('options.mode is a required option') + } + this._identifier = this._createIdentifier() + this._forceBuild = true + } + getSourceTypes() { + return Ge + } + updateCacheModule(k) { + const v = k + this.resolveDependencies = v.resolveDependencies + this.options = v.options + } + cleanupForCache() { + super.cleanupForCache() + this.resolveDependencies = undefined + } + _prettyRegExp(k, v = true) { + const E = (k + '').replace(/!/g, '%21').replace(/\|/g, '%7C') + return v ? E.substring(1, E.length - 1) : E + } + _createIdentifier() { + let k = + this.context || + (typeof this.options.resource === 'string' || + this.options.resource === false + ? `${this.options.resource}` + : this.options.resource.join('|')) + if (this.options.resourceQuery) { + k += `|${this.options.resourceQuery}` + } + if (this.options.resourceFragment) { + k += `|${this.options.resourceFragment}` + } + if (this.options.mode) { + k += `|${this.options.mode}` + } + if (!this.options.recursive) { + k += '|nonrecursive' + } + if (this.options.addon) { + k += `|${this.options.addon}` + } + if (this.options.regExp) { + k += `|${this._prettyRegExp(this.options.regExp, false)}` + } + if (this.options.include) { + k += `|include: ${this._prettyRegExp(this.options.include, false)}` + } + if (this.options.exclude) { + k += `|exclude: ${this._prettyRegExp(this.options.exclude, false)}` + } + if (this.options.referencedExports) { + k += `|referencedExports: ${JSON.stringify( + this.options.referencedExports + )}` + } + if (this.options.chunkName) { + k += `|chunkName: ${this.options.chunkName}` + } + if (this.options.groupOptions) { + k += `|groupOptions: ${JSON.stringify(this.options.groupOptions)}` + } + if (this.options.namespaceObject === 'strict') { + k += '|strict namespace object' + } else if (this.options.namespaceObject) { + k += '|namespace object' + } + return k + } + identifier() { + return this._identifier + } + readableIdentifier(k) { + let v + if (this.context) { + v = k.shorten(this.context) + '/' + } else if ( + typeof this.options.resource === 'string' || + this.options.resource === false + ) { + v = k.shorten(`${this.options.resource}`) + '/' + } else { + v = this.options.resource.map((v) => k.shorten(v) + '/').join(' ') + } + if (this.options.resourceQuery) { + v += ` ${this.options.resourceQuery}` + } + if (this.options.mode) { + v += ` ${this.options.mode}` + } + if (!this.options.recursive) { + v += ' nonrecursive' + } + if (this.options.addon) { + v += ` ${k.shorten(this.options.addon)}` + } + if (this.options.regExp) { + v += ` ${this._prettyRegExp(this.options.regExp)}` + } + if (this.options.include) { + v += ` include: ${this._prettyRegExp(this.options.include)}` + } + if (this.options.exclude) { + v += ` exclude: ${this._prettyRegExp(this.options.exclude)}` + } + if (this.options.referencedExports) { + v += ` referencedExports: ${this.options.referencedExports + .map((k) => k.join('.')) + .join(', ')}` + } + if (this.options.chunkName) { + v += ` chunkName: ${this.options.chunkName}` + } + if (this.options.groupOptions) { + const k = this.options.groupOptions + for (const E of Object.keys(k)) { + v += ` ${E}: ${k[E]}` + } + } + if (this.options.namespaceObject === 'strict') { + v += ' strict namespace object' + } else if (this.options.namespaceObject) { + v += ' namespace object' + } + return v + } + libIdent(k) { + let v + if (this.context) { + v = je(k.context, this.context, k.associatedObjectForCache) + } else if (typeof this.options.resource === 'string') { + v = je(k.context, this.options.resource, k.associatedObjectForCache) + } else if (this.options.resource === false) { + v = 'false' + } else { + v = this.options.resource + .map((v) => je(k.context, v, k.associatedObjectForCache)) + .join(' ') + } + if (this.layer) v = `(${this.layer})/${v}` + if (this.options.mode) { + v += ` ${this.options.mode}` + } + if (this.options.recursive) { + v += ' recursive' + } + if (this.options.addon) { + v += ` ${je( + k.context, + this.options.addon, + k.associatedObjectForCache + )}` + } + if (this.options.regExp) { + v += ` ${this._prettyRegExp(this.options.regExp)}` + } + if (this.options.include) { + v += ` include: ${this._prettyRegExp(this.options.include)}` + } + if (this.options.exclude) { + v += ` exclude: ${this._prettyRegExp(this.options.exclude)}` + } + if (this.options.referencedExports) { + v += ` referencedExports: ${this.options.referencedExports + .map((k) => k.join('.')) + .join(', ')}` + } + return v + } + invalidateBuild() { + this._forceBuild = true + } + needBuild({ fileSystemInfo: k }, v) { + if (this._forceBuild) return v(null, true) + if (!this.buildInfo.snapshot) + return v(null, Boolean(this.context || this.options.resource)) + k.checkSnapshotValid(this.buildInfo.snapshot, (k, E) => { + v(k, !E) + }) + } + build(k, v, E, P, R) { + this._forceBuild = false + this.buildMeta = { + exportsType: 'default', + defaultObject: 'redirect-warn', + } + this.buildInfo = { snapshot: undefined } + this.dependencies.length = 0 + this.blocks.length = 0 + const q = Date.now() + this.resolveDependencies(P, this.options, (k, E) => { + if (k) { + return R(N(k, 'ContextModule.resolveDependencies')) + } + if (!E) { + R() + return + } + for (const k of E) { + k.loc = { name: k.userRequest } + k.request = this.options.addon + k.request + } + E.sort( + _e( + Ie((k) => k.loc, ye), + Me(this.dependencies) + ) + ) + if (this.options.mode === 'sync' || this.options.mode === 'eager') { + this.dependencies = E + } else if (this.options.mode === 'lazy-once') { + if (E.length > 0) { + const k = new L({ + ...this.options.groupOptions, + name: this.options.chunkName, + }) + for (const v of E) { + k.addDependency(v) + } + this.addBlock(k) + } + } else if ( + this.options.mode === 'weak' || + this.options.mode === 'async-weak' + ) { + for (const k of E) { + k.weak = true + } + this.dependencies = E + } else if (this.options.mode === 'lazy') { + let k = 0 + for (const v of E) { + let E = this.options.chunkName + if (E) { + if (!/\[(index|request)\]/.test(E)) { + E += '[index]' + } + E = E.replace(/\[index\]/g, `${k++}`) + E = E.replace(/\[request\]/g, pe.toPath(v.userRequest)) + } + const P = new L( + { ...this.options.groupOptions, name: E }, + v.loc, + v.userRequest + ) + P.addDependency(v) + this.addBlock(P) + } + } else { + R(new me(`Unsupported mode "${this.options.mode}" in context`)) + return + } + if (!this.context && !this.options.resource) return R() + v.fileSystemInfo.createSnapshot( + q, + null, + this.context + ? [this.context] + : typeof this.options.resource === 'string' + ? [this.options.resource] + : this.options.resource, + null, + Ue, + (k, v) => { + if (k) return R(k) + this.buildInfo.snapshot = v + R() + } + ) + }) + } + addCacheDependencies(k, v, E, P) { + if (this.context) { + v.add(this.context) + } else if (typeof this.options.resource === 'string') { + v.add(this.options.resource) + } else if (this.options.resource === false) { + return + } else { + for (const k of this.options.resource) v.add(k) + } + } + getUserRequestMap(k, v) { + const E = v.moduleGraph + const P = k + .filter((k) => E.getModule(k)) + .sort((k, v) => { + if (k.userRequest === v.userRequest) { + return 0 + } + return k.userRequest < v.userRequest ? -1 : 1 + }) + const R = Object.create(null) + for (const k of P) { + const P = E.getModule(k) + R[k.userRequest] = v.getModuleId(P) + } + return R + } + getFakeMap(k, v) { + if (!this.options.namespaceObject) { + return 9 + } + const E = v.moduleGraph + let P = 0 + const R = Te(v) + const L = k + .map((k) => E.getModule(k)) + .filter(Boolean) + .sort(R) + const N = Object.create(null) + for (const k of L) { + const R = k.getExportsType( + E, + this.options.namespaceObject === 'strict' + ) + const L = v.getModuleId(k) + switch (R) { + case 'namespace': + N[L] = 9 + P |= 1 + break + case 'dynamic': + N[L] = 7 + P |= 2 + break + case 'default-only': + N[L] = 1 + P |= 4 + break + case 'default-with-named': + N[L] = 3 + P |= 8 + break + default: + throw new Error(`Unexpected exports type ${R}`) + } + } + if (P === 1) { + return 9 + } + if (P === 2) { + return 7 + } + if (P === 4) { + return 1 + } + if (P === 8) { + return 3 + } + if (P === 0) { + return 9 + } + return N + } + getFakeMapInitStatement(k) { + return typeof k === 'object' + ? `var fakeMap = ${JSON.stringify(k, null, '\t')};` + : '' + } + getReturn(k, v) { + if (k === 9) { + return `${le.require}(id)` + } + return `${le.createFakeNamespaceObject}(id, ${k}${v ? ' | 16' : ''})` + } + getReturnModuleObjectSource(k, v, E = 'fakeMap[id]') { + if (typeof k === 'number') { + return `return ${this.getReturn(k, v)};` + } + return `return ${le.createFakeNamespaceObject}(id, ${E}${ + v ? ' | 16' : '' + })` + } + getSyncSource(k, v, E) { + const P = this.getUserRequestMap(k, E) + const R = this.getFakeMap(k, E) + const L = this.getReturnModuleObjectSource(R) + return `var map = ${JSON.stringify( + P, + null, + '\t' + )};\n${this.getFakeMapInitStatement( + R + )}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${L}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ + le.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( + v + )};` + } + getWeakSyncSource(k, v, E) { + const P = this.getUserRequestMap(k, E) + const R = this.getFakeMap(k, E) + const L = this.getReturnModuleObjectSource(R) + return `var map = ${JSON.stringify( + P, + null, + '\t' + )};\n${this.getFakeMapInitStatement( + R + )}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${ + le.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${L}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ + le.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( + v + )};\nmodule.exports = webpackContext;` + } + getAsyncWeakSource(k, v, { chunkGraph: E, runtimeTemplate: P }) { + const R = P.supportsArrowFunction() + const L = this.getUserRequestMap(k, E) + const N = this.getFakeMap(k, E) + const q = this.getReturnModuleObjectSource(N, true) + return `var map = ${JSON.stringify( + L, + null, + '\t' + )};\n${this.getFakeMapInitStatement( + N + )}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ + R ? 'id =>' : 'function(id)' + } {\n\t\tif(!${ + le.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${q}\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(${ + R ? '() =>' : 'function()' + } {\n\t\tif(!${ + le.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 = ${P.returningFunction( + 'Object.keys(map)' + )};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify( + v + )};\nmodule.exports = webpackAsyncContext;` + } + getEagerSource(k, v, { chunkGraph: E, runtimeTemplate: P }) { + const R = P.supportsArrowFunction() + const L = this.getUserRequestMap(k, E) + const N = this.getFakeMap(k, E) + const q = + N !== 9 + ? `${ + R ? 'id =>' : 'function(id)' + } {\n\t\t${this.getReturnModuleObjectSource(N)}\n\t}` + : le.require + return `var map = ${JSON.stringify( + L, + null, + '\t' + )};\n${this.getFakeMapInitStatement( + N + )}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${q});\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(${ + R ? '() =>' : 'function()' + } {\n\t\tif(!${ + le.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 = ${P.returningFunction( + 'Object.keys(map)' + )};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify( + v + )};\nmodule.exports = webpackAsyncContext;` + } + getLazyOnceSource(k, v, E, { runtimeTemplate: P, chunkGraph: R }) { + const L = P.blockPromise({ + chunkGraph: R, + block: k, + message: 'lazy-once context', + runtimeRequirements: new Set(), + }) + const N = P.supportsArrowFunction() + const q = this.getUserRequestMap(v, R) + const ae = this.getFakeMap(v, R) + const pe = + ae !== 9 + ? `${ + N ? 'id =>' : 'function(id)' + } {\n\t\t${this.getReturnModuleObjectSource(ae, true)};\n\t}` + : le.require + return `var map = ${JSON.stringify( + q, + null, + '\t' + )};\n${this.getFakeMapInitStatement( + ae + )}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${pe});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${L}.then(${ + N ? '() =>' : 'function()' + } {\n\t\tif(!${ + le.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 = ${P.returningFunction( + 'Object.keys(map)' + )};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify( + E + )};\nmodule.exports = webpackAsyncContext;` + } + getLazySource(k, v, { chunkGraph: E, runtimeTemplate: P }) { + const R = E.moduleGraph + const L = P.supportsArrowFunction() + let N = false + let q = true + const ae = this.getFakeMap( + k.map((k) => k.dependencies[0]), + E + ) + const pe = typeof ae === 'object' + const me = k + .map((k) => { + const v = k.dependencies[0] + return { + dependency: v, + module: R.getModule(v), + block: k, + userRequest: v.userRequest, + chunks: undefined, + } + }) + .filter((k) => k.module) + for (const k of me) { + const v = E.getBlockChunkGroup(k.block) + const P = (v && v.chunks) || [] + k.chunks = P + if (P.length > 0) { + q = false + } + if (P.length !== 1) { + N = true + } + } + const ye = q && !pe + const _e = me.sort((k, v) => { + if (k.userRequest === v.userRequest) return 0 + return k.userRequest < v.userRequest ? -1 : 1 + }) + const Ie = Object.create(null) + for (const k of _e) { + const v = E.getModuleId(k.module) + if (ye) { + Ie[k.userRequest] = v + } else { + const E = [v] + if (pe) { + E.push(ae[v]) + } + Ie[k.userRequest] = E.concat(k.chunks.map((k) => k.id)) + } + } + const Me = pe ? 2 : 1 + const Te = q + ? 'Promise.resolve()' + : N + ? `Promise.all(ids.slice(${Me}).map(${le.ensureChunk}))` + : `${le.ensureChunk}(ids[${Me}])` + const je = this.getReturnModuleObjectSource( + ae, + true, + ye ? 'invalid' : 'ids[1]' + ) + const Ne = + Te === 'Promise.resolve()' + ? `\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${ + L ? '() =>' : 'function()' + } {\n\t\tif(!${ + le.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${ + ye ? 'var id = map[req];' : 'var ids = map[req], id = ids[0];' + }\n\t\t${je}\n\t});\n}` + : `function webpackAsyncContext(req) {\n\tif(!${ + le.hasOwnProperty + }(map, req)) {\n\t\treturn Promise.resolve().then(${ + L ? '() =>' : '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 ${Te}.then(${ + L ? '() =>' : 'function()' + } {\n\t\t${je}\n\t});\n}` + return `var map = ${JSON.stringify( + Ie, + null, + '\t' + )};\n${Ne}\nwebpackAsyncContext.keys = ${P.returningFunction( + 'Object.keys(map)' + )};\nwebpackAsyncContext.id = ${JSON.stringify( + v + )};\nmodule.exports = webpackAsyncContext;` + } + getSourceForEmptyContext(k, v) { + 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 = ${v.returningFunction( + '[]' + )};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify( + k + )};\nmodule.exports = webpackEmptyContext;` + } + getSourceForEmptyAsyncContext(k, v) { + const E = v.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(${ + E ? '() =>' : '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 = ${v.returningFunction( + '[]' + )};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify( + k + )};\nmodule.exports = webpackEmptyAsyncContext;` + } + getSourceString(k, { runtimeTemplate: v, chunkGraph: E }) { + const P = E.getModuleId(this) + if (k === 'lazy') { + if (this.blocks && this.blocks.length > 0) { + return this.getLazySource(this.blocks, P, { + runtimeTemplate: v, + chunkGraph: E, + }) + } + return this.getSourceForEmptyAsyncContext(P, v) + } + if (k === 'eager') { + if (this.dependencies && this.dependencies.length > 0) { + return this.getEagerSource(this.dependencies, P, { + chunkGraph: E, + runtimeTemplate: v, + }) + } + return this.getSourceForEmptyAsyncContext(P, v) + } + if (k === 'lazy-once') { + const k = this.blocks[0] + if (k) { + return this.getLazyOnceSource(k, k.dependencies, P, { + runtimeTemplate: v, + chunkGraph: E, + }) + } + return this.getSourceForEmptyAsyncContext(P, v) + } + if (k === 'async-weak') { + if (this.dependencies && this.dependencies.length > 0) { + return this.getAsyncWeakSource(this.dependencies, P, { + chunkGraph: E, + runtimeTemplate: v, + }) + } + return this.getSourceForEmptyAsyncContext(P, v) + } + if (k === 'weak') { + if (this.dependencies && this.dependencies.length > 0) { + return this.getWeakSyncSource(this.dependencies, P, E) + } + } + if (this.dependencies && this.dependencies.length > 0) { + return this.getSyncSource(this.dependencies, P, E) + } + return this.getSourceForEmptyContext(P, v) + } + getSource(k, v) { + if (this.useSourceMap || this.useSimpleSourceMap) { + return new P( + k, + `webpack://${Be( + (v && v.compiler.context) || '', + this.identifier(), + v && v.compiler.root + )}` + ) + } + return new R(k) + } + codeGeneration(k) { + const { chunkGraph: v, compilation: E } = k + const P = new Map() + P.set( + 'javascript', + this.getSource(this.getSourceString(this.options.mode, k), E) + ) + const R = new Set() + const L = + this.dependencies.length > 0 ? this.dependencies.slice() : [] + for (const k of this.blocks) for (const v of k.dependencies) L.push(v) + R.add(le.module) + R.add(le.hasOwnProperty) + if (L.length > 0) { + const k = this.options.mode + R.add(le.require) + if (k === 'weak') { + R.add(le.moduleFactories) + } else if (k === 'async-weak') { + R.add(le.moduleFactories) + R.add(le.ensureChunk) + } else if (k === 'lazy' || k === 'lazy-once') { + R.add(le.ensureChunk) + } + if (this.getFakeMap(L, v) !== 9) { + R.add(le.createFakeNamespaceObject) + } + } + return { sources: P, runtimeRequirements: R } + } + size(k) { + let v = 160 + for (const k of this.dependencies) { + const E = k + v += 5 + E.userRequest.length + } + return v + } + serialize(k) { + const { write: v } = k + v(this._identifier) + v(this._forceBuild) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this._identifier = v() + this._forceBuild = v() + super.deserialize(k) + } + } + qe(ContextModule, 'webpack/lib/ContextModule') + k.exports = ContextModule + }, + 20467: function (k, v, E) { + 'use strict' + const P = E(78175) + const { AsyncSeriesWaterfallHook: R, SyncWaterfallHook: L } = E(79846) + const N = E(48630) + const q = E(66043) + const ae = E(16624) + const le = E(12359) + const { cachedSetProperty: pe } = E(99454) + const { createFakeHook: me } = E(61883) + const { join: ye } = E(57825) + const _e = {} + k.exports = class ContextModuleFactory extends q { + constructor(k) { + super() + const v = new R(['modules', 'options']) + this.hooks = Object.freeze({ + beforeResolve: new R(['data']), + afterResolve: new R(['data']), + contextModuleFiles: new L(['files']), + alternatives: me( + { + name: 'alternatives', + intercept: (k) => { + throw new Error( + 'Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead' + ) + }, + tap: (k, E) => { + v.tap(k, E) + }, + tapAsync: (k, E) => { + v.tapAsync(k, (k, v, P) => E(k, P)) + }, + tapPromise: (k, E) => { + v.tapPromise(k, E) + }, + }, + 'ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.', + 'DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES' + ), + alternativeRequests: v, + }) + this.resolverFactory = k + } + create(k, v) { + const E = k.context + const R = k.dependencies + const L = k.resolveOptions + const q = R[0] + const ae = new le() + const me = new le() + const ye = new le() + this.hooks.beforeResolve.callAsync( + { + context: E, + dependencies: R, + layer: k.contextInfo.issuerLayer, + resolveOptions: L, + fileDependencies: ae, + missingDependencies: me, + contextDependencies: ye, + ...q.options, + }, + (k, E) => { + if (k) { + return v(k, { + fileDependencies: ae, + missingDependencies: me, + contextDependencies: ye, + }) + } + if (!E) { + return v(null, { + fileDependencies: ae, + missingDependencies: me, + contextDependencies: ye, + }) + } + const L = E.context + const q = E.request + const le = E.resolveOptions + let Ie, + Me, + Te = '' + const je = q.lastIndexOf('!') + if (je >= 0) { + let k = q.slice(0, je + 1) + let v + for (v = 0; v < k.length && k[v] === '!'; v++) { + Te += '!' + } + k = k.slice(v).replace(/!+$/, '').replace(/!!+/g, '!') + if (k === '') { + Ie = [] + } else { + Ie = k.split('!') + } + Me = q.slice(je + 1) + } else { + Ie = [] + Me = q + } + const Ne = this.resolverFactory.get( + 'context', + R.length > 0 + ? pe(le || _e, 'dependencyType', R[0].category) + : le + ) + const Be = this.resolverFactory.get('loader') + P.parallel( + [ + (k) => { + const v = [] + const yield_ = (k) => v.push(k) + Ne.resolve( + {}, + L, + Me, + { + fileDependencies: ae, + missingDependencies: me, + contextDependencies: ye, + yield: yield_, + }, + (E) => { + if (E) return k(E) + k(null, v) + } + ) + }, + (k) => { + P.map( + Ie, + (k, v) => { + Be.resolve( + {}, + L, + k, + { + fileDependencies: ae, + missingDependencies: me, + contextDependencies: ye, + }, + (k, E) => { + if (k) return v(k) + v(null, E) + } + ) + }, + k + ) + }, + ], + (k, P) => { + if (k) { + return v(k, { + fileDependencies: ae, + missingDependencies: me, + contextDependencies: ye, + }) + } + let [R, L] = P + if (R.length > 1) { + const k = R[0] + R = R.filter((k) => k.path) + if (R.length === 0) R.push(k) + } + this.hooks.afterResolve.callAsync( + { + addon: Te + L.join('!') + (L.length > 0 ? '!' : ''), + resource: R.length > 1 ? R.map((k) => k.path) : R[0].path, + resolveDependencies: this.resolveDependencies.bind(this), + resourceQuery: R[0].query, + resourceFragment: R[0].fragment, + ...E, + }, + (k, E) => { + if (k) { + return v(k, { + fileDependencies: ae, + missingDependencies: me, + contextDependencies: ye, + }) + } + if (!E) { + return v(null, { + fileDependencies: ae, + missingDependencies: me, + contextDependencies: ye, + }) + } + return v(null, { + module: new N(E.resolveDependencies, E), + fileDependencies: ae, + missingDependencies: me, + contextDependencies: ye, + }) + } + ) + } + ) + } + ) + } + resolveDependencies(k, v, E) { + const R = this + const { + resource: L, + resourceQuery: N, + resourceFragment: q, + recursive: le, + regExp: pe, + include: me, + exclude: _e, + referencedExports: Ie, + category: Me, + typePrefix: Te, + } = v + if (!pe || !L) return E(null, []) + const addDirectoryChecked = (v, E, P, R) => { + k.realpath(E, (k, L) => { + if (k) return R(k) + if (P.has(L)) return R(null, []) + let N + addDirectory( + v, + E, + (k, E, R) => { + if (N === undefined) { + N = new Set(P) + N.add(L) + } + addDirectoryChecked(v, E, N, R) + }, + R + ) + }) + } + const addDirectory = (E, L, je, Ne) => { + k.readdir(L, (Be, qe) => { + if (Be) return Ne(Be) + const Ue = R.hooks.contextModuleFiles.call( + qe.map((k) => k.normalize('NFC')) + ) + if (!Ue || Ue.length === 0) return Ne(null, []) + P.map( + Ue.filter((k) => k.indexOf('.') !== 0), + (P, R) => { + const Ne = ye(k, L, P) + if (!_e || !Ne.match(_e)) { + k.stat(Ne, (k, P) => { + if (k) { + if (k.code === 'ENOENT') { + return R() + } else { + return R(k) + } + } + if (P.isDirectory()) { + if (!le) return R() + je(E, Ne, R) + } else if (P.isFile() && (!me || Ne.match(me))) { + const k = { + context: E, + request: '.' + Ne.slice(E.length).replace(/\\/g, '/'), + } + this.hooks.alternativeRequests.callAsync( + [k], + v, + (k, v) => { + if (k) return R(k) + v = v + .filter((k) => pe.test(k.request)) + .map((k) => { + const v = new ae( + `${k.request}${N}${q}`, + k.request, + Te, + Me, + Ie, + k.context + ) + v.optional = true + return v + }) + R(null, v) + } + ) + } else { + R() + } + }) + } else { + R() + } + }, + (k, v) => { + if (k) return Ne(k) + if (!v) return Ne(null, []) + const E = [] + for (const k of v) { + if (k) E.push(...k) + } + Ne(null, E) + } + ) + }) + } + const addSubDirectory = (k, v, E) => + addDirectory(k, v, addSubDirectory, E) + const visitResource = (v, E) => { + if (typeof k.realpath === 'function') { + addDirectoryChecked(v, v, new Set(), E) + } else { + addDirectory(v, v, addSubDirectory, E) + } + } + if (typeof L === 'string') { + visitResource(L, E) + } else { + P.map(L, visitResource, (k, v) => { + if (k) return E(k) + const P = new Set() + const R = [] + for (let k = 0; k < v.length; k++) { + const E = v[k] + for (const k of E) { + if (P.has(k.userRequest)) continue + R.push(k) + P.add(k.userRequest) + } + } + E(null, R) + }) + } + } + } + }, + 98047: function (k, v, E) { + 'use strict' + const P = E(16624) + const { join: R } = E(57825) + class ContextReplacementPlugin { + constructor(k, v, E, P) { + this.resourceRegExp = k + if (typeof v === 'function') { + this.newContentCallback = v + } else if (typeof v === 'string' && typeof E === 'object') { + this.newContentResource = v + this.newContentCreateContextMap = (k, v) => { + v(null, E) + } + } else if (typeof v === 'string' && typeof E === 'function') { + this.newContentResource = v + this.newContentCreateContextMap = E + } else { + if (typeof v !== 'string') { + P = E + E = v + v = undefined + } + if (typeof E !== 'boolean') { + P = E + E = undefined + } + this.newContentResource = v + this.newContentRecursive = E + this.newContentRegExp = P + } + } + apply(k) { + const v = this.resourceRegExp + const E = this.newContentCallback + const P = this.newContentResource + const L = this.newContentRecursive + const N = this.newContentRegExp + const q = this.newContentCreateContextMap + k.hooks.contextModuleFactory.tap('ContextReplacementPlugin', (ae) => { + ae.hooks.beforeResolve.tap('ContextReplacementPlugin', (k) => { + if (!k) return + if (v.test(k.request)) { + if (P !== undefined) { + k.request = P + } + if (L !== undefined) { + k.recursive = L + } + if (N !== undefined) { + k.regExp = N + } + if (typeof E === 'function') { + E(k) + } else { + for (const v of k.dependencies) { + if (v.critical) v.critical = false + } + } + } + return k + }) + ae.hooks.afterResolve.tap('ContextReplacementPlugin', (ae) => { + if (!ae) return + if (v.test(ae.resource)) { + if (P !== undefined) { + if (P.startsWith('/') || (P.length > 1 && P[1] === ':')) { + ae.resource = P + } else { + ae.resource = R(k.inputFileSystem, ae.resource, P) + } + } + if (L !== undefined) { + ae.recursive = L + } + if (N !== undefined) { + ae.regExp = N + } + if (typeof q === 'function') { + ae.resolveDependencies = + createResolveDependenciesFromContextMap(q) + } + if (typeof E === 'function') { + const v = ae.resource + E(ae) + if ( + ae.resource !== v && + !ae.resource.startsWith('/') && + (ae.resource.length <= 1 || ae.resource[1] !== ':') + ) { + ae.resource = R(k.inputFileSystem, v, ae.resource) + } + } else { + for (const k of ae.dependencies) { + if (k.critical) k.critical = false + } + } + } + return ae + }) + }) + } + } + const createResolveDependenciesFromContextMap = (k) => { + const resolveDependenciesFromContextMap = (v, E, R) => { + k(v, (k, v) => { + if (k) return R(k) + const L = Object.keys(v).map( + (k) => + new P( + v[k] + E.resourceQuery + E.resourceFragment, + k, + E.category, + E.referencedExports + ) + ) + R(null, L) + }) + } + return resolveDependenciesFromContextMap + } + k.exports = ContextReplacementPlugin + }, + 51585: function (k, v, E) { + 'use strict' + const P = E(38224) + const R = E(58528) + class CssModule extends P { + constructor(k) { + super(k) + this.cssLayer = k.cssLayer + this.supports = k.supports + this.media = k.media + this.inheritance = k.inheritance + } + identifier() { + let k = super.identifier() + if (this.cssLayer) { + k += `|${this.cssLayer}` + } + if (this.supports) { + k += `|${this.supports}` + } + if (this.media) { + k += `|${this.media}` + } + if (this.inheritance) { + const v = this.inheritance.map( + (k, v) => + `inheritance_${v}|${k[0] || ''}|${k[1] || ''}|${k[2] || ''}` + ) + k += `|${v.join('|')}` + } + return k + } + readableIdentifier(k) { + const v = super.readableIdentifier(k) + let E = `css ${v}` + if (this.cssLayer) { + E += ` (layer: ${this.cssLayer})` + } + if (this.supports) { + E += ` (supports: ${this.supports})` + } + if (this.media) { + E += ` (media: ${this.media})` + } + return E + } + updateCacheModule(k) { + super.updateCacheModule(k) + const v = k + this.cssLayer = v.cssLayer + this.supports = v.supports + this.media = v.media + this.inheritance = v.inheritance + } + serialize(k) { + const { write: v } = k + v(this.cssLayer) + v(this.supports) + v(this.media) + v(this.inheritance) + super.serialize(k) + } + static deserialize(k) { + const v = new CssModule({ + layer: null, + type: '', + resource: '', + context: '', + request: null, + userRequest: null, + rawRequest: null, + loaders: null, + matchResource: null, + parser: null, + parserOptions: null, + generator: null, + generatorOptions: null, + resolveOptions: null, + cssLayer: null, + supports: null, + media: null, + inheritance: null, + }) + v.deserialize(k) + return v + } + deserialize(k) { + const { read: v } = k + this.cssLayer = v() + this.supports = v() + this.media = v() + this.inheritance = v() + super.deserialize(k) + } + } + R(CssModule, 'webpack/lib/CssModule') + k.exports = CssModule + }, + 91602: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_ESM: R, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: L, + } = E(93622) + const N = E(56727) + const q = E(71572) + const ae = E(60381) + const le = E(70037) + const { evaluateToString: pe, toConstantDependency: me } = E(80784) + const ye = E(74012) + class RuntimeValue { + constructor(k, v) { + this.fn = k + if (Array.isArray(v)) { + v = { fileDependencies: v } + } + this.options = v || {} + } + get fileDependencies() { + return this.options === true ? true : this.options.fileDependencies + } + exec(k, v, E) { + const P = k.state.module.buildInfo + if (this.options === true) { + P.cacheable = false + } else { + if (this.options.fileDependencies) { + for (const k of this.options.fileDependencies) { + P.fileDependencies.add(k) + } + } + if (this.options.contextDependencies) { + for (const k of this.options.contextDependencies) { + P.contextDependencies.add(k) + } + } + if (this.options.missingDependencies) { + for (const k of this.options.missingDependencies) { + P.missingDependencies.add(k) + } + } + if (this.options.buildDependencies) { + for (const k of this.options.buildDependencies) { + P.buildDependencies.add(k) + } + } + } + return this.fn({ + module: k.state.module, + key: E, + get version() { + return v.get(Ie + E) + }, + }) + } + getCacheVersion() { + return this.options === true + ? undefined + : (typeof this.options.version === 'function' + ? this.options.version() + : this.options.version) || 'unset' + } + } + const stringifyObj = (k, v, E, P, R, L, N, q) => { + let ae + let le = Array.isArray(k) + if (le) { + ae = `[${k.map((k) => toCode(k, v, E, P, R, L, null)).join(',')}]` + } else { + let P = Object.keys(k) + if (q) { + if (q.size === 0) P = [] + else P = P.filter((k) => q.has(k)) + } + ae = `{${P.map((P) => { + const N = k[P] + return JSON.stringify(P) + ':' + toCode(N, v, E, P, R, L, null) + }).join(',')}}` + } + switch (N) { + case null: + return ae + case true: + return le ? ae : `(${ae})` + case false: + return le ? `;${ae}` : `;(${ae})` + default: + return `/*#__PURE__*/Object(${ae})` + } + } + const toCode = (k, v, E, P, R, L, N, q) => { + const transformToCode = () => { + if (k === null) { + return 'null' + } + if (k === undefined) { + return 'undefined' + } + if (Object.is(k, -0)) { + return '-0' + } + if (k instanceof RuntimeValue) { + return toCode(k.exec(v, E, P), v, E, P, R, L, N) + } + if (k instanceof RegExp && k.toString) { + return k.toString() + } + if (typeof k === 'function' && k.toString) { + return '(' + k.toString() + ')' + } + if (typeof k === 'object') { + return stringifyObj(k, v, E, P, R, L, N, q) + } + if (typeof k === 'bigint') { + return R.supportsBigIntLiteral() ? `${k}n` : `BigInt("${k}")` + } + return k + '' + } + const ae = transformToCode() + L.log(`Replaced "${P}" with "${ae}"`) + return ae + } + const toCacheVersion = (k) => { + if (k === null) { + return 'null' + } + if (k === undefined) { + return 'undefined' + } + if (Object.is(k, -0)) { + return '-0' + } + if (k instanceof RuntimeValue) { + return k.getCacheVersion() + } + if (k instanceof RegExp && k.toString) { + return k.toString() + } + if (typeof k === 'function' && k.toString) { + return '(' + k.toString() + ')' + } + if (typeof k === 'object') { + const v = Object.keys(k).map((v) => ({ + key: v, + value: toCacheVersion(k[v]), + })) + if (v.some(({ value: k }) => k === undefined)) return undefined + return `{${v.map(({ key: k, value: v }) => `${k}: ${v}`).join(', ')}}` + } + if (typeof k === 'bigint') { + return `${k}n` + } + return k + '' + } + const _e = 'DefinePlugin' + const Ie = `webpack/${_e} ` + const Me = `webpack/${_e}_hash` + const Te = /^typeof\s+/ + const je = /__webpack_require__\s*(!?\.)/ + const Ne = /__webpack_require__/ + class DefinePlugin { + constructor(k) { + this.definitions = k + } + static runtimeValue(k, v) { + return new RuntimeValue(k, v) + } + apply(k) { + const v = this.definitions + k.hooks.compilation.tap(_e, (k, { normalModuleFactory: E }) => { + const Be = k.getLogger('webpack.DefinePlugin') + k.dependencyTemplates.set(ae, new ae.Template()) + const { runtimeTemplate: qe } = k + const Ue = ye(k.outputOptions.hashFunction) + Ue.update(k.valueCacheVersions.get(Me) || '') + const handler = (E) => { + const P = k.valueCacheVersions.get(Me) + E.hooks.program.tap(_e, () => { + const { buildInfo: k } = E.state.module + if (!k.valueDependencies) k.valueDependencies = new Map() + k.valueDependencies.set(Me, P) + }) + const addValueDependency = (v) => { + const { buildInfo: P } = E.state.module + P.valueDependencies.set( + Ie + v, + k.valueCacheVersions.get(Ie + v) + ) + } + const withValueDependency = + (k, v) => + (...E) => { + addValueDependency(k) + return v(...E) + } + const walkDefinitions = (k, v) => { + Object.keys(k).forEach((E) => { + const P = k[E] + if ( + P && + typeof P === 'object' && + !(P instanceof RuntimeValue) && + !(P instanceof RegExp) + ) { + walkDefinitions(P, v + E + '.') + applyObjectDefine(v + E, P) + return + } + applyDefineKey(v, E) + applyDefine(v + E, P) + }) + } + const applyDefineKey = (k, v) => { + const P = v.split('.') + P.slice(1).forEach((R, L) => { + const N = k + P.slice(0, L + 1).join('.') + E.hooks.canRename.for(N).tap(_e, () => { + addValueDependency(v) + return true + }) + }) + } + const applyDefine = (v, P) => { + const R = v + const L = Te.test(v) + if (L) v = v.replace(Te, '') + let q = false + let ae = false + if (!L) { + E.hooks.canRename.for(v).tap(_e, () => { + addValueDependency(R) + return true + }) + E.hooks.evaluateIdentifier.for(v).tap(_e, (L) => { + if (q) return + addValueDependency(R) + q = true + const N = E.evaluate( + toCode(P, E, k.valueCacheVersions, v, qe, Be, null) + ) + q = false + N.setRange(L.range) + return N + }) + E.hooks.expression.for(v).tap(_e, (v) => { + addValueDependency(R) + let L = toCode( + P, + E, + k.valueCacheVersions, + R, + qe, + Be, + !E.isAsiPosition(v.range[0]), + E.destructuringAssignmentPropertiesFor(v) + ) + if (E.scope.inShorthand) { + L = E.scope.inShorthand + ':' + L + } + if (je.test(L)) { + return me(E, L, [N.require])(v) + } else if (Ne.test(L)) { + return me(E, L, [N.requireScope])(v) + } else { + return me(E, L)(v) + } + }) + } + E.hooks.evaluateTypeof.for(v).tap(_e, (v) => { + if (ae) return + ae = true + addValueDependency(R) + const N = toCode(P, E, k.valueCacheVersions, R, qe, Be, null) + const q = L ? N : 'typeof (' + N + ')' + const le = E.evaluate(q) + ae = false + le.setRange(v.range) + return le + }) + E.hooks.typeof.for(v).tap(_e, (v) => { + addValueDependency(R) + const N = toCode(P, E, k.valueCacheVersions, R, qe, Be, null) + const q = L ? N : 'typeof (' + N + ')' + const ae = E.evaluate(q) + if (!ae.isString()) return + return me(E, JSON.stringify(ae.string)).bind(E)(v) + }) + } + const applyObjectDefine = (v, P) => { + E.hooks.canRename.for(v).tap(_e, () => { + addValueDependency(v) + return true + }) + E.hooks.evaluateIdentifier.for(v).tap(_e, (k) => { + addValueDependency(v) + return new le() + .setTruthy() + .setSideEffects(false) + .setRange(k.range) + }) + E.hooks.evaluateTypeof + .for(v) + .tap(_e, withValueDependency(v, pe('object'))) + E.hooks.expression.for(v).tap(_e, (R) => { + addValueDependency(v) + let L = stringifyObj( + P, + E, + k.valueCacheVersions, + v, + qe, + Be, + !E.isAsiPosition(R.range[0]), + E.destructuringAssignmentPropertiesFor(R) + ) + if (E.scope.inShorthand) { + L = E.scope.inShorthand + ':' + L + } + if (je.test(L)) { + return me(E, L, [N.require])(R) + } else if (Ne.test(L)) { + return me(E, L, [N.requireScope])(R) + } else { + return me(E, L)(R) + } + }) + E.hooks.typeof + .for(v) + .tap( + _e, + withValueDependency(v, me(E, JSON.stringify('object'))) + ) + } + walkDefinitions(v, '') + } + E.hooks.parser.for(P).tap(_e, handler) + E.hooks.parser.for(L).tap(_e, handler) + E.hooks.parser.for(R).tap(_e, handler) + const walkDefinitionsForValues = (v, E) => { + Object.keys(v).forEach((P) => { + const R = v[P] + const L = toCacheVersion(R) + const N = Ie + E + P + Ue.update('|' + E + P) + const ae = k.valueCacheVersions.get(N) + if (ae === undefined) { + k.valueCacheVersions.set(N, L) + } else if (ae !== L) { + const v = new q(`${_e}\nConflicting values for '${E + P}'`) + v.details = `'${ae}' !== '${L}'` + v.hideStack = true + k.warnings.push(v) + } + if ( + R && + typeof R === 'object' && + !(R instanceof RuntimeValue) && + !(R instanceof RegExp) + ) { + walkDefinitionsForValues(R, E + P + '.') + } + }) + } + walkDefinitionsForValues(v, '') + k.valueCacheVersions.set(Me, Ue.digest('hex').slice(0, 8)) + }) + } + } + k.exports = DefinePlugin + }, + 50901: function (k, v, E) { + 'use strict' + const { OriginalSource: P, RawSource: R } = E(51255) + const L = E(88396) + const { JAVASCRIPT_MODULE_TYPE_DYNAMIC: N } = E(93622) + const q = E(56727) + const ae = E(47788) + const le = E(93414) + const pe = E(58528) + const me = new Set(['javascript']) + const ye = new Set([q.module, q.require]) + class DelegatedModule extends L { + constructor(k, v, E, P, R) { + super(N, null) + this.sourceRequest = k + this.request = v.id + this.delegationType = E + this.userRequest = P + this.originalRequest = R + this.delegateData = v + this.delegatedSourceDependency = undefined + } + getSourceTypes() { + return me + } + libIdent(k) { + return typeof this.originalRequest === 'string' + ? this.originalRequest + : this.originalRequest.libIdent(k) + } + identifier() { + return `delegated ${JSON.stringify(this.request)} from ${ + this.sourceRequest + }` + } + readableIdentifier(k) { + return `delegated ${this.userRequest} from ${this.sourceRequest}` + } + needBuild(k, v) { + return v(null, !this.buildMeta) + } + build(k, v, E, P, R) { + this.buildMeta = { ...this.delegateData.buildMeta } + this.buildInfo = {} + this.dependencies.length = 0 + this.delegatedSourceDependency = new ae(this.sourceRequest) + this.addDependency(this.delegatedSourceDependency) + this.addDependency(new le(this.delegateData.exports || true, false)) + R() + } + codeGeneration({ runtimeTemplate: k, moduleGraph: v, chunkGraph: E }) { + const L = this.dependencies[0] + const N = v.getModule(L) + let q + if (!N) { + q = k.throwMissingModuleErrorBlock({ request: this.sourceRequest }) + } else { + q = `module.exports = (${k.moduleExports({ + module: N, + chunkGraph: E, + request: L.request, + runtimeRequirements: new Set(), + })})` + switch (this.delegationType) { + case 'require': + q += `(${JSON.stringify(this.request)})` + break + case 'object': + q += `[${JSON.stringify(this.request)}]` + break + } + q += ';' + } + const ae = new Map() + if (this.useSourceMap || this.useSimpleSourceMap) { + ae.set('javascript', new P(q, this.identifier())) + } else { + ae.set('javascript', new R(q)) + } + return { sources: ae, runtimeRequirements: ye } + } + size(k) { + return 42 + } + updateHash(k, v) { + k.update(this.delegationType) + k.update(JSON.stringify(this.request)) + super.updateHash(k, v) + } + serialize(k) { + const { write: v } = k + v(this.sourceRequest) + v(this.delegateData) + v(this.delegationType) + v(this.userRequest) + v(this.originalRequest) + super.serialize(k) + } + static deserialize(k) { + const { read: v } = k + const E = new DelegatedModule(v(), v(), v(), v(), v()) + E.deserialize(k) + return E + } + updateCacheModule(k) { + super.updateCacheModule(k) + const v = k + this.delegationType = v.delegationType + this.userRequest = v.userRequest + this.originalRequest = v.originalRequest + this.delegateData = v.delegateData + } + cleanupForCache() { + super.cleanupForCache() + this.delegateData = undefined + } + } + pe(DelegatedModule, 'webpack/lib/DelegatedModule') + k.exports = DelegatedModule + }, + 42126: function (k, v, E) { + 'use strict' + const P = E(50901) + class DelegatedModuleFactoryPlugin { + constructor(k) { + this.options = k + k.type = k.type || 'require' + k.extensions = k.extensions || ['', '.js', '.json', '.wasm'] + } + apply(k) { + const v = this.options.scope + if (v) { + k.hooks.factorize.tapAsync( + 'DelegatedModuleFactoryPlugin', + (k, E) => { + const [R] = k.dependencies + const { request: L } = R + if (L && L.startsWith(`${v}/`)) { + const k = '.' + L.slice(v.length) + let R + if (k in this.options.content) { + R = this.options.content[k] + return E( + null, + new P(this.options.source, R, this.options.type, k, L) + ) + } + for (let v = 0; v < this.options.extensions.length; v++) { + const N = this.options.extensions[v] + const q = k + N + if (q in this.options.content) { + R = this.options.content[q] + return E( + null, + new P( + this.options.source, + R, + this.options.type, + q, + L + N + ) + ) + } + } + } + return E() + } + ) + } else { + k.hooks.module.tap('DelegatedModuleFactoryPlugin', (k) => { + const v = k.libIdent(this.options) + if (v) { + if (v in this.options.content) { + const E = this.options.content[v] + return new P(this.options.source, E, this.options.type, v, k) + } + } + return k + }) + } + } + } + k.exports = DelegatedModuleFactoryPlugin + }, + 27064: function (k, v, E) { + 'use strict' + const P = E(42126) + const R = E(47788) + class DelegatedPlugin { + constructor(k) { + this.options = k + } + apply(k) { + k.hooks.compilation.tap( + 'DelegatedPlugin', + (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(R, v) + } + ) + k.hooks.compile.tap( + 'DelegatedPlugin', + ({ normalModuleFactory: v }) => { + new P({ + associatedObjectForCache: k.root, + ...this.options, + }).apply(v) + } + ) + } + } + k.exports = DelegatedPlugin + }, + 38706: function (k, v, E) { + 'use strict' + const P = E(58528) + class DependenciesBlock { + constructor() { + this.dependencies = [] + this.blocks = [] + this.parent = undefined + } + getRootBlock() { + let k = this + while (k.parent) k = k.parent + return k + } + addBlock(k) { + this.blocks.push(k) + k.parent = this + } + addDependency(k) { + this.dependencies.push(k) + } + removeDependency(k) { + const v = this.dependencies.indexOf(k) + if (v >= 0) { + this.dependencies.splice(v, 1) + } + } + clearDependenciesAndBlocks() { + this.dependencies.length = 0 + this.blocks.length = 0 + } + updateHash(k, v) { + for (const E of this.dependencies) { + E.updateHash(k, v) + } + for (const E of this.blocks) { + E.updateHash(k, v) + } + } + serialize({ write: k }) { + k(this.dependencies) + k(this.blocks) + } + deserialize({ read: k }) { + this.dependencies = k() + this.blocks = k() + for (const k of this.blocks) { + k.parent = this + } + } + } + P(DependenciesBlock, 'webpack/lib/DependenciesBlock') + k.exports = DependenciesBlock + }, + 16848: function (k, v, E) { + 'use strict' + const P = E(20631) + const R = Symbol('transitive') + const L = P(() => { + const k = E(91169) + return new k('/* (ignored) */', `ignored`, `(ignored)`) + }) + class Dependency { + constructor() { + this._parentModule = undefined + this._parentDependenciesBlock = undefined + this._parentDependenciesBlockIndex = -1 + this.weak = false + this.optional = false + this._locSL = 0 + this._locSC = 0 + this._locEL = 0 + this._locEC = 0 + this._locI = undefined + this._locN = undefined + this._loc = undefined + } + get type() { + return 'unknown' + } + get category() { + return 'unknown' + } + get loc() { + if (this._loc !== undefined) return this._loc + const k = {} + if (this._locSL > 0) { + k.start = { line: this._locSL, column: this._locSC } + } + if (this._locEL > 0) { + k.end = { line: this._locEL, column: this._locEC } + } + if (this._locN !== undefined) { + k.name = this._locN + } + if (this._locI !== undefined) { + k.index = this._locI + } + return (this._loc = k) + } + set loc(k) { + if ('start' in k && typeof k.start === 'object') { + this._locSL = k.start.line || 0 + this._locSC = k.start.column || 0 + } else { + this._locSL = 0 + this._locSC = 0 + } + if ('end' in k && typeof k.end === 'object') { + this._locEL = k.end.line || 0 + this._locEC = k.end.column || 0 + } else { + this._locEL = 0 + this._locEC = 0 + } + if ('index' in k) { + this._locI = k.index + } else { + this._locI = undefined + } + if ('name' in k) { + this._locN = k.name + } else { + this._locN = undefined + } + this._loc = k + } + setLoc(k, v, E, P) { + this._locSL = k + this._locSC = v + this._locEL = E + this._locEC = P + this._locI = undefined + this._locN = undefined + this._loc = undefined + } + getContext() { + return undefined + } + getResourceIdentifier() { + return null + } + couldAffectReferencingModule() { + return R + } + getReference(k) { + throw new Error( + 'Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active' + ) + } + getReferencedExports(k, v) { + return Dependency.EXPORTS_OBJECT_REFERENCED + } + getCondition(k) { + return null + } + getExports(k) { + return undefined + } + getWarnings(k) { + return null + } + getErrors(k) { + return null + } + updateHash(k, v) {} + getNumberOfIdOccurrences() { + return 1 + } + getModuleEvaluationSideEffectsState(k) { + return true + } + createIgnoredModule(k) { + return L() + } + serialize({ write: k }) { + k(this.weak) + k(this.optional) + k(this._locSL) + k(this._locSC) + k(this._locEL) + k(this._locEC) + k(this._locI) + k(this._locN) + } + deserialize({ read: k }) { + this.weak = k() + this.optional = k() + this._locSL = k() + this._locSC = k() + this._locEL = k() + this._locEC = k() + this._locI = k() + this._locN = k() + } + } + 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)' + ) + }, + }) + Dependency.TRANSITIVE = R + k.exports = Dependency + }, + 30601: function (k, v, E) { + 'use strict' + class DependencyTemplate { + apply(k, v, P) { + const R = E(60386) + throw new R() + } + } + k.exports = DependencyTemplate + }, + 3175: function (k, v, E) { + 'use strict' + const P = E(74012) + class DependencyTemplates { + constructor(k = 'md4') { + this._map = new Map() + this._hash = '31d6cfe0d16ae931b73c59d7e0c089c0' + this._hashFunction = k + } + get(k) { + return this._map.get(k) + } + set(k, v) { + this._map.set(k, v) + } + updateHash(k) { + const v = P(this._hashFunction) + v.update(`${this._hash}${k}`) + this._hash = v.digest('hex') + } + getHash() { + return this._hash + } + clone() { + const k = new DependencyTemplates(this._hashFunction) + k._map = new Map(this._map) + k._hash = this._hash + return k + } + } + k.exports = DependencyTemplates + }, + 8958: function (k, v, E) { + 'use strict' + const P = E(20821) + const R = E(50478) + const L = E(25248) + class DllEntryPlugin { + constructor(k, v, E) { + this.context = k + this.entries = v + this.options = E + } + apply(k) { + k.hooks.compilation.tap( + 'DllEntryPlugin', + (k, { normalModuleFactory: v }) => { + const E = new P() + k.dependencyFactories.set(R, E) + k.dependencyFactories.set(L, v) + } + ) + k.hooks.make.tapAsync('DllEntryPlugin', (k, v) => { + k.addEntry( + this.context, + new R( + this.entries.map((k, v) => { + const E = new L(k) + E.loc = { name: this.options.name, index: v } + return E + }), + this.options.name + ), + this.options, + v + ) + }) + } + } + k.exports = DllEntryPlugin + }, + 2168: function (k, v, E) { + 'use strict' + const { RawSource: P } = E(51255) + const R = E(88396) + const { JAVASCRIPT_MODULE_TYPE_DYNAMIC: L } = E(93622) + const N = E(56727) + const q = E(58528) + const ae = new Set(['javascript']) + const le = new Set([N.require, N.module]) + class DllModule extends R { + constructor(k, v, E) { + super(L, k) + this.dependencies = v + this.name = E + } + getSourceTypes() { + return ae + } + identifier() { + return `dll ${this.name}` + } + readableIdentifier(k) { + return `dll ${this.name}` + } + build(k, v, E, P, R) { + this.buildMeta = {} + this.buildInfo = {} + return R() + } + codeGeneration(k) { + const v = new Map() + v.set('javascript', new P(`module.exports = ${N.require};`)) + return { sources: v, runtimeRequirements: le } + } + needBuild(k, v) { + return v(null, !this.buildMeta) + } + size(k) { + return 12 + } + updateHash(k, v) { + k.update(`dll module${this.name || ''}`) + super.updateHash(k, v) + } + serialize(k) { + k.write(this.name) + super.serialize(k) + } + deserialize(k) { + this.name = k.read() + super.deserialize(k) + } + updateCacheModule(k) { + super.updateCacheModule(k) + this.dependencies = k.dependencies + } + cleanupForCache() { + super.cleanupForCache() + this.dependencies = undefined + } + } + q(DllModule, 'webpack/lib/DllModule') + k.exports = DllModule + }, + 20821: function (k, v, E) { + 'use strict' + const P = E(2168) + const R = E(66043) + class DllModuleFactory extends R { + constructor() { + super() + this.hooks = Object.freeze({}) + } + create(k, v) { + const E = k.dependencies[0] + v(null, { module: new P(k.context, E.dependencies, E.name) }) + } + } + k.exports = DllModuleFactory + }, + 97765: function (k, v, E) { + 'use strict' + const P = E(8958) + const R = E(17092) + const L = E(98060) + const N = E(92198) + const q = N(E(79339), () => E(10519), { + name: 'Dll Plugin', + baseDataPath: 'options', + }) + class DllPlugin { + constructor(k) { + q(k) + this.options = { ...k, entryOnly: k.entryOnly !== false } + } + apply(k) { + k.hooks.entryOption.tap('DllPlugin', (v, E) => { + if (typeof E !== 'function') { + for (const R of Object.keys(E)) { + const L = { name: R, filename: E.filename } + new P(v, E[R].import, L).apply(k) + } + } else { + throw new Error( + "DllPlugin doesn't support dynamic entry (function) yet" + ) + } + return true + }) + new L(this.options).apply(k) + if (!this.options.entryOnly) { + new R('DllPlugin').apply(k) + } + } + } + k.exports = DllPlugin + }, + 95619: function (k, v, E) { + 'use strict' + const P = E(54650) + const R = E(42126) + const L = E(37368) + const N = E(71572) + const q = E(47788) + const ae = E(92198) + const le = E(65315).makePathsRelative + const pe = ae(E(70959), () => E(18498), { + name: 'Dll Reference Plugin', + baseDataPath: 'options', + }) + class DllReferencePlugin { + constructor(k) { + pe(k) + this.options = k + this._compilationData = new WeakMap() + } + apply(k) { + k.hooks.compilation.tap( + 'DllReferencePlugin', + (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(q, v) + } + ) + k.hooks.beforeCompile.tapAsync('DllReferencePlugin', (v, E) => { + if ('manifest' in this.options) { + const R = this.options.manifest + if (typeof R === 'string') { + k.inputFileSystem.readFile(R, (L, N) => { + if (L) return E(L) + const q = { path: R, data: undefined, error: undefined } + try { + q.data = P(N.toString('utf-8')) + } catch (v) { + const E = le(k.options.context, R, k.root) + q.error = new DllManifestError(E, v.message) + } + this._compilationData.set(v, q) + return E() + }) + return + } + } + return E() + }) + k.hooks.compile.tap('DllReferencePlugin', (v) => { + let E = this.options.name + let P = this.options.sourceType + let N = 'content' in this.options ? this.options.content : undefined + if ('manifest' in this.options) { + let k = this.options.manifest + let R + if (typeof k === 'string') { + const k = this._compilationData.get(v) + if (k.error) { + return + } + R = k.data + } else { + R = k + } + if (R) { + if (!E) E = R.name + if (!P) P = R.type + if (!N) N = R.content + } + } + const q = {} + const ae = 'dll-reference ' + E + q[ae] = E + const le = v.normalModuleFactory + new L(P || 'var', q).apply(le) + new R({ + source: ae, + type: this.options.type, + scope: this.options.scope, + context: this.options.context || k.options.context, + content: N, + extensions: this.options.extensions, + associatedObjectForCache: k.root, + }).apply(le) + }) + k.hooks.compilation.tap('DllReferencePlugin', (k, v) => { + if ('manifest' in this.options) { + let E = this.options.manifest + if (typeof E === 'string') { + const P = this._compilationData.get(v) + if (P.error) { + k.errors.push(P.error) + } + k.fileDependencies.add(E) + } + } + }) + } + } + class DllManifestError extends N { + constructor(k, v) { + super() + this.name = 'DllManifestError' + this.message = `Dll manifest ${k}\n${v}` + } + } + k.exports = DllReferencePlugin + }, + 54602: function (k, v, E) { + 'use strict' + const P = E(26591) + const R = E(17570) + const L = E(25248) + class DynamicEntryPlugin { + constructor(k, v) { + this.context = k + this.entry = v + } + apply(k) { + k.hooks.compilation.tap( + 'DynamicEntryPlugin', + (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(L, v) + } + ) + k.hooks.make.tapPromise('DynamicEntryPlugin', (v, E) => + Promise.resolve(this.entry()) + .then((E) => { + const L = [] + for (const N of Object.keys(E)) { + const q = E[N] + const ae = P.entryDescriptionToOptions(k, N, q) + for (const k of q.import) { + L.push( + new Promise((E, P) => { + v.addEntry( + this.context, + R.createDependency(k, ae), + ae, + (k) => { + if (k) return P(k) + E() + } + ) + }) + ) + } + } + return Promise.all(L) + }) + .then((k) => {}) + ) + } + } + k.exports = DynamicEntryPlugin + }, + 26591: function (k, v, E) { + 'use strict' + class EntryOptionPlugin { + apply(k) { + k.hooks.entryOption.tap('EntryOptionPlugin', (v, E) => { + EntryOptionPlugin.applyEntryOption(k, v, E) + return true + }) + } + static applyEntryOption(k, v, P) { + if (typeof P === 'function') { + const R = E(54602) + new R(v, P).apply(k) + } else { + const R = E(17570) + for (const E of Object.keys(P)) { + const L = P[E] + const N = EntryOptionPlugin.entryDescriptionToOptions(k, E, L) + for (const E of L.import) { + new R(v, E, N).apply(k) + } + } + } + } + static entryDescriptionToOptions(k, v, P) { + const R = { + name: v, + filename: P.filename, + runtime: P.runtime, + layer: P.layer, + dependOn: P.dependOn, + baseUri: P.baseUri, + publicPath: P.publicPath, + chunkLoading: P.chunkLoading, + asyncChunks: P.asyncChunks, + wasmLoading: P.wasmLoading, + library: P.library, + } + if (P.layer !== undefined && !k.options.experiments.layers) { + throw new Error( + "'entryOptions.layer' is only allowed when 'experiments.layers' is enabled" + ) + } + if (P.chunkLoading) { + const v = E(73126) + v.checkEnabled(k, P.chunkLoading) + } + if (P.wasmLoading) { + const v = E(50792) + v.checkEnabled(k, P.wasmLoading) + } + if (P.library) { + const v = E(60234) + v.checkEnabled(k, P.library.type) + } + return R + } + } + k.exports = EntryOptionPlugin + }, + 17570: function (k, v, E) { + 'use strict' + const P = E(25248) + class EntryPlugin { + constructor(k, v, E) { + this.context = k + this.entry = v + this.options = E || '' + } + apply(k) { + k.hooks.compilation.tap( + 'EntryPlugin', + (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(P, v) + } + ) + const { entry: v, options: E, context: R } = this + const L = EntryPlugin.createDependency(v, E) + k.hooks.make.tapAsync('EntryPlugin', (k, v) => { + k.addEntry(R, L, E, (k) => { + v(k) + }) + }) + } + static createDependency(k, v) { + const E = new P(k) + E.loc = { name: typeof v === 'object' ? v.name : v } + return E + } + } + k.exports = EntryPlugin + }, + 10969: function (k, v, E) { + 'use strict' + const P = E(28541) + class Entrypoint extends P { + constructor(k, v = true) { + if (typeof k === 'string') { + k = { name: k } + } + super({ name: k.name }) + this.options = k + this._runtimeChunk = undefined + this._entrypointChunk = undefined + this._initial = v + } + isInitial() { + return this._initial + } + setRuntimeChunk(k) { + this._runtimeChunk = k + } + getRuntimeChunk() { + if (this._runtimeChunk) return this._runtimeChunk + for (const k of this.parentsIterable) { + if (k instanceof Entrypoint) return k.getRuntimeChunk() + } + return null + } + setEntrypointChunk(k) { + this._entrypointChunk = k + } + getEntrypointChunk() { + return this._entrypointChunk + } + replaceChunk(k, v) { + if (this._runtimeChunk === k) this._runtimeChunk = v + if (this._entrypointChunk === k) this._entrypointChunk = v + return super.replaceChunk(k, v) + } + } + k.exports = Entrypoint + }, + 32149: function (k, v, E) { + 'use strict' + const P = E(91602) + const R = E(71572) + class EnvironmentPlugin { + constructor(...k) { + if (k.length === 1 && Array.isArray(k[0])) { + this.keys = k[0] + this.defaultValues = {} + } else if (k.length === 1 && k[0] && typeof k[0] === 'object') { + this.keys = Object.keys(k[0]) + this.defaultValues = k[0] + } else { + this.keys = k + this.defaultValues = {} + } + } + apply(k) { + const v = {} + for (const E of this.keys) { + const P = + process.env[E] !== undefined + ? process.env[E] + : this.defaultValues[E] + if (P === undefined) { + k.hooks.thisCompilation.tap('EnvironmentPlugin', (k) => { + const v = new R( + `EnvironmentPlugin - ${E} 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.' + ) + v.name = 'EnvVariableNotDefinedError' + k.errors.push(v) + }) + } + v[`process.env.${E}`] = + P === undefined ? 'undefined' : JSON.stringify(P) + } + new P(v).apply(k) + } + } + k.exports = EnvironmentPlugin + }, + 53657: function (k, v) { + 'use strict' + const E = 'LOADER_EXECUTION' + const P = 'WEBPACK_OPTIONS' + const cutOffByFlag = (k, v) => { + const E = k.split('\n') + for (let k = 0; k < E.length; k++) { + if (E[k].includes(v)) { + E.length = k + } + } + return E.join('\n') + } + const cutOffLoaderExecution = (k) => cutOffByFlag(k, E) + const cutOffWebpackOptions = (k) => cutOffByFlag(k, P) + const cutOffMultilineMessage = (k, v) => { + const E = k.split('\n') + const P = v.split('\n') + const R = [] + E.forEach((k, v) => { + if (!k.includes(P[v])) R.push(k) + }) + return R.join('\n') + } + const cutOffMessage = (k, v) => { + const E = k.indexOf('\n') + if (E === -1) { + return k === v ? '' : k + } else { + const P = k.slice(0, E) + return P === v ? k.slice(E + 1) : k + } + } + const cleanUp = (k, v) => { + k = cutOffLoaderExecution(k) + k = cutOffMessage(k, v) + return k + } + const cleanUpWebpackOptions = (k, v) => { + k = cutOffWebpackOptions(k) + k = cutOffMultilineMessage(k, v) + return k + } + v.cutOffByFlag = cutOffByFlag + v.cutOffLoaderExecution = cutOffLoaderExecution + v.cutOffWebpackOptions = cutOffWebpackOptions + v.cutOffMultilineMessage = cutOffMultilineMessage + v.cutOffMessage = cutOffMessage + v.cleanUp = cleanUp + v.cleanUpWebpackOptions = cleanUpWebpackOptions + }, + 87543: function (k, v, E) { + 'use strict' + const { ConcatSource: P, RawSource: R } = E(51255) + const L = E(10849) + const N = E(98612) + const q = E(56727) + const ae = E(89168) + const le = new WeakMap() + const pe = new R( + `/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is 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(k) { + this.namespace = k.namespace || '' + this.sourceUrlComment = k.sourceUrlComment || '\n//# sourceURL=[url]' + this.moduleFilenameTemplate = + k.moduleFilenameTemplate || + 'webpack://[namespace]/[resourcePath]?[loaders]' + } + apply(k) { + k.hooks.compilation.tap('EvalDevToolModulePlugin', (k) => { + const v = ae.getCompilationHooks(k) + v.renderModuleContent.tap( + 'EvalDevToolModulePlugin', + (v, E, { runtimeTemplate: P, chunkGraph: ae }) => { + const pe = le.get(v) + if (pe !== undefined) return pe + if (E instanceof L) { + le.set(v, v) + return v + } + const me = v.source() + const ye = N.createFilename( + E, + { + moduleFilenameTemplate: this.moduleFilenameTemplate, + namespace: this.namespace, + }, + { + requestShortener: P.requestShortener, + chunkGraph: ae, + hashFunction: k.outputOptions.hashFunction, + } + ) + const _e = + '\n' + + this.sourceUrlComment.replace( + /\[url\]/g, + encodeURI(ye) + .replace(/%2F/g, '/') + .replace(/%20/g, '_') + .replace(/%5E/g, '^') + .replace(/%5C/g, '\\') + .replace(/^\//, '') + ) + const Ie = new R( + `eval(${ + k.outputOptions.trustedTypes + ? `${q.createScript}(${JSON.stringify(me + _e)})` + : JSON.stringify(me + _e) + });` + ) + le.set(v, Ie) + return Ie + } + ) + v.inlineInRuntimeBailout.tap( + 'EvalDevToolModulePlugin', + () => 'the eval devtool is used.' + ) + v.render.tap('EvalDevToolModulePlugin', (k) => new P(pe, k)) + v.chunkHash.tap('EvalDevToolModulePlugin', (k, v) => { + v.update('EvalDevToolModulePlugin') + v.update('2') + }) + if (k.outputOptions.trustedTypes) { + k.hooks.additionalModuleRuntimeRequirements.tap( + 'EvalDevToolModulePlugin', + (k, v, E) => { + v.add(q.createScript) + } + ) + } + }) + } + } + k.exports = EvalDevToolModulePlugin + }, + 21234: function (k, v, E) { + 'use strict' + const { ConcatSource: P, RawSource: R } = E(51255) + const L = E(98612) + const N = E(38224) + const q = E(56727) + const ae = E(10518) + const le = E(89168) + const pe = E(94978) + const { makePathsAbsolute: me } = E(65315) + const ye = new WeakMap() + const _e = new R( + `/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is 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(k) { + let v + if (typeof k === 'string') { + v = { append: k } + } else { + v = k + } + this.sourceMapComment = + v.append && typeof v.append !== 'function' + ? v.append + : '//# sourceURL=[module]\n//# sourceMappingURL=[url]' + this.moduleFilenameTemplate = + v.moduleFilenameTemplate || + 'webpack://[namespace]/[resource-path]?[hash]' + this.namespace = v.namespace || '' + this.options = v + } + apply(k) { + const v = this.options + k.hooks.compilation.tap('EvalSourceMapDevToolPlugin', (E) => { + const Ie = le.getCompilationHooks(E) + new ae(v).apply(E) + const Me = L.matchObject.bind(L, v) + Ie.renderModuleContent.tap( + 'EvalSourceMapDevToolPlugin', + (P, ae, { runtimeTemplate: le, chunkGraph: _e }) => { + const Ie = ye.get(P) + if (Ie !== undefined) { + return Ie + } + const result = (k) => { + ye.set(P, k) + return k + } + if (ae instanceof N) { + const k = ae + if (!Me(k.resource)) { + return result(P) + } + } else if (ae instanceof pe) { + const k = ae + if (k.rootModule instanceof N) { + const v = k.rootModule + if (!Me(v.resource)) { + return result(P) + } + } else { + return result(P) + } + } else { + return result(P) + } + let Te + let je + if (P.sourceAndMap) { + const k = P.sourceAndMap(v) + Te = k.map + je = k.source + } else { + Te = P.map(v) + je = P.source() + } + if (!Te) { + return result(P) + } + Te = { ...Te } + const Ne = k.options.context + const Be = k.root + const qe = Te.sources.map((k) => { + if (!k.startsWith('webpack://')) return k + k = me(Ne, k.slice(10), Be) + const v = E.findModule(k) + return v || k + }) + let Ue = qe.map((k) => + L.createFilename( + k, + { + moduleFilenameTemplate: this.moduleFilenameTemplate, + namespace: this.namespace, + }, + { + requestShortener: le.requestShortener, + chunkGraph: _e, + hashFunction: E.outputOptions.hashFunction, + } + ) + ) + Ue = L.replaceDuplicates(Ue, (k, v, E) => { + for (let v = 0; v < E; v++) k += '*' + return k + }) + Te.sources = Ue + if (v.noSources) { + Te.sourcesContent = undefined + } + Te.sourceRoot = v.sourceRoot || '' + const Ge = _e.getModuleId(ae) + Te.file = typeof Ge === 'number' ? `${Ge}.js` : Ge + const He = + this.sourceMapComment.replace( + /\[url\]/g, + `data:application/json;charset=utf-8;base64,${Buffer.from( + JSON.stringify(Te), + 'utf8' + ).toString('base64')}` + ) + `\n//# sourceURL=webpack-internal:///${Ge}\n` + return result( + new R( + `eval(${ + E.outputOptions.trustedTypes + ? `${q.createScript}(${JSON.stringify(je + He)})` + : JSON.stringify(je + He) + });` + ) + ) + } + ) + Ie.inlineInRuntimeBailout.tap( + 'EvalDevToolModulePlugin', + () => 'the eval-source-map devtool is used.' + ) + Ie.render.tap('EvalSourceMapDevToolPlugin', (k) => new P(_e, k)) + Ie.chunkHash.tap('EvalSourceMapDevToolPlugin', (k, v) => { + v.update('EvalSourceMapDevToolPlugin') + v.update('2') + }) + if (E.outputOptions.trustedTypes) { + E.hooks.additionalModuleRuntimeRequirements.tap( + 'EvalSourceMapDevToolPlugin', + (k, v, E) => { + v.add(q.createScript) + } + ) + } + }) + } + } + k.exports = EvalSourceMapDevToolPlugin + }, + 11172: function (k, v, E) { + 'use strict' + const { equals: P } = E(68863) + const R = E(46081) + const L = E(58528) + const { forEachRuntime: N } = E(1540) + const q = Object.freeze({ + Unused: 0, + OnlyPropertiesUsed: 1, + NoInfo: 2, + Unknown: 3, + Used: 4, + }) + const RETURNS_TRUE = () => true + const ae = Symbol('circular target') + class RestoreProvidedData { + constructor(k, v, E, P) { + this.exports = k + this.otherProvided = v + this.otherCanMangleProvide = E + this.otherTerminalBinding = P + } + serialize({ write: k }) { + k(this.exports) + k(this.otherProvided) + k(this.otherCanMangleProvide) + k(this.otherTerminalBinding) + } + static deserialize({ read: k }) { + return new RestoreProvidedData(k(), k(), k(), k()) + } + } + L(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 k = new Map(this._redirectTo._exports) + for (const [v, E] of this._exports) { + k.set(v, E) + } + return k.values() + } + return this._exports.values() + } + get orderedExports() { + if (!this._exportsAreOrdered) { + this._sortExports() + } + if (this._redirectTo !== undefined) { + const k = new Map( + Array.from(this._redirectTo.orderedExports, (k) => [k.name, k]) + ) + for (const [v, E] of this._exports) { + k.set(v, E) + } + this._sortExportsMap(k) + return k.values() + } + return this._exports.values() + } + get otherExportsInfo() { + if (this._redirectTo !== undefined) + return this._redirectTo.otherExportsInfo + return this._otherExportsInfo + } + _sortExportsMap(k) { + if (k.size > 1) { + const v = [] + for (const E of k.values()) { + v.push(E.name) + } + v.sort() + let E = 0 + for (const P of k.values()) { + const k = v[E] + if (P.name !== k) break + E++ + } + for (; E < v.length; E++) { + const P = v[E] + const R = k.get(P) + k.delete(P) + k.set(P, R) + } + } + } + _sortExports() { + this._sortExportsMap(this._exports) + this._exportsAreOrdered = true + } + setRedirectNamedTo(k) { + if (this._redirectTo === k) return false + this._redirectTo = k + return true + } + setHasProvideInfo() { + for (const k of this._exports.values()) { + if (k.provided === undefined) { + k.provided = false + } + if (k.canMangleProvide === undefined) { + k.canMangleProvide = true + } + } + if (this._redirectTo !== undefined) { + this._redirectTo.setHasProvideInfo() + } else { + if (this._otherExportsInfo.provided === undefined) { + this._otherExportsInfo.provided = false + } + if (this._otherExportsInfo.canMangleProvide === undefined) { + this._otherExportsInfo.canMangleProvide = true + } + } + } + setHasUseInfo() { + for (const k of this._exports.values()) { + k.setHasUseInfo() + } + this._sideEffectsOnlyInfo.setHasUseInfo() + if (this._redirectTo !== undefined) { + this._redirectTo.setHasUseInfo() + } else { + this._otherExportsInfo.setHasUseInfo() + if (this._otherExportsInfo.canMangleUse === undefined) { + this._otherExportsInfo.canMangleUse = true + } + } + } + getOwnExportInfo(k) { + const v = this._exports.get(k) + if (v !== undefined) return v + const E = new ExportInfo(k, this._otherExportsInfo) + this._exports.set(k, E) + this._exportsAreOrdered = false + return E + } + getExportInfo(k) { + const v = this._exports.get(k) + if (v !== undefined) return v + if (this._redirectTo !== undefined) + return this._redirectTo.getExportInfo(k) + const E = new ExportInfo(k, this._otherExportsInfo) + this._exports.set(k, E) + this._exportsAreOrdered = false + return E + } + getReadOnlyExportInfo(k) { + const v = this._exports.get(k) + if (v !== undefined) return v + if (this._redirectTo !== undefined) + return this._redirectTo.getReadOnlyExportInfo(k) + return this._otherExportsInfo + } + getReadOnlyExportInfoRecursive(k) { + const v = this.getReadOnlyExportInfo(k[0]) + if (k.length === 1) return v + if (!v.exportsInfo) return undefined + return v.exportsInfo.getReadOnlyExportInfoRecursive(k.slice(1)) + } + getNestedExportsInfo(k) { + if (Array.isArray(k) && k.length > 0) { + const v = this.getReadOnlyExportInfo(k[0]) + if (!v.exportsInfo) return undefined + return v.exportsInfo.getNestedExportsInfo(k.slice(1)) + } + return this + } + setUnknownExportsProvided(k, v, E, P, R) { + let L = false + if (v) { + for (const k of v) { + this.getExportInfo(k) + } + } + for (const R of this._exports.values()) { + if (!k && R.canMangleProvide !== false) { + R.canMangleProvide = false + L = true + } + if (v && v.has(R.name)) continue + if (R.provided !== true && R.provided !== null) { + R.provided = null + L = true + } + if (E) { + R.setTarget(E, P, [R.name], -1) + } + } + if (this._redirectTo !== undefined) { + if (this._redirectTo.setUnknownExportsProvided(k, v, E, P, R)) { + L = true + } + } else { + if ( + this._otherExportsInfo.provided !== true && + this._otherExportsInfo.provided !== null + ) { + this._otherExportsInfo.provided = null + L = true + } + if (!k && this._otherExportsInfo.canMangleProvide !== false) { + this._otherExportsInfo.canMangleProvide = false + L = true + } + if (E) { + this._otherExportsInfo.setTarget(E, P, undefined, R) + } + } + return L + } + setUsedInUnknownWay(k) { + let v = false + for (const E of this._exports.values()) { + if (E.setUsedInUnknownWay(k)) { + v = true + } + } + if (this._redirectTo !== undefined) { + if (this._redirectTo.setUsedInUnknownWay(k)) { + v = true + } + } else { + if ( + this._otherExportsInfo.setUsedConditionally( + (k) => k < q.Unknown, + q.Unknown, + k + ) + ) { + v = true + } + if (this._otherExportsInfo.canMangleUse !== false) { + this._otherExportsInfo.canMangleUse = false + v = true + } + } + return v + } + setUsedWithoutInfo(k) { + let v = false + for (const E of this._exports.values()) { + if (E.setUsedWithoutInfo(k)) { + v = true + } + } + if (this._redirectTo !== undefined) { + if (this._redirectTo.setUsedWithoutInfo(k)) { + v = true + } + } else { + if (this._otherExportsInfo.setUsed(q.NoInfo, k)) { + v = true + } + if (this._otherExportsInfo.canMangleUse !== false) { + this._otherExportsInfo.canMangleUse = false + v = true + } + } + return v + } + setAllKnownExportsUsed(k) { + let v = false + for (const E of this._exports.values()) { + if (!E.provided) continue + if (E.setUsed(q.Used, k)) { + v = true + } + } + return v + } + setUsedForSideEffectsOnly(k) { + return this._sideEffectsOnlyInfo.setUsedConditionally( + (k) => k === q.Unused, + q.Used, + k + ) + } + isUsed(k) { + if (this._redirectTo !== undefined) { + if (this._redirectTo.isUsed(k)) { + return true + } + } else { + if (this._otherExportsInfo.getUsed(k) !== q.Unused) { + return true + } + } + for (const v of this._exports.values()) { + if (v.getUsed(k) !== q.Unused) { + return true + } + } + return false + } + isModuleUsed(k) { + if (this.isUsed(k)) return true + if (this._sideEffectsOnlyInfo.getUsed(k) !== q.Unused) return true + return false + } + getUsedExports(k) { + if (!this._redirectTo !== undefined) { + switch (this._otherExportsInfo.getUsed(k)) { + case q.NoInfo: + return null + case q.Unknown: + case q.OnlyPropertiesUsed: + case q.Used: + return true + } + } + const v = [] + if (!this._exportsAreOrdered) this._sortExports() + for (const E of this._exports.values()) { + switch (E.getUsed(k)) { + case q.NoInfo: + return null + case q.Unknown: + return true + case q.OnlyPropertiesUsed: + case q.Used: + v.push(E.name) + } + } + if (this._redirectTo !== undefined) { + const E = this._redirectTo.getUsedExports(k) + if (E === null) return null + if (E === true) return true + if (E !== false) { + for (const k of E) { + v.push(k) + } + } + } + if (v.length === 0) { + switch (this._sideEffectsOnlyInfo.getUsed(k)) { + case q.NoInfo: + return null + case q.Unused: + return false + } + } + return new R(v) + } + getProvidedExports() { + if (!this._redirectTo !== undefined) { + switch (this._otherExportsInfo.provided) { + case undefined: + return null + case null: + return true + case true: + return true + } + } + const k = [] + if (!this._exportsAreOrdered) this._sortExports() + for (const v of this._exports.values()) { + switch (v.provided) { + case undefined: + return null + case null: + return true + case true: + k.push(v.name) + } + } + if (this._redirectTo !== undefined) { + const v = this._redirectTo.getProvidedExports() + if (v === null) return null + if (v === true) return true + for (const E of v) { + if (!k.includes(E)) { + k.push(E) + } + } + } + return k + } + getRelevantExports(k) { + const v = [] + for (const E of this._exports.values()) { + const P = E.getUsed(k) + if (P === q.Unused) continue + if (E.provided === false) continue + v.push(E) + } + if (this._redirectTo !== undefined) { + for (const E of this._redirectTo.getRelevantExports(k)) { + if (!this._exports.has(E.name)) v.push(E) + } + } + if ( + this._otherExportsInfo.provided !== false && + this._otherExportsInfo.getUsed(k) !== q.Unused + ) { + v.push(this._otherExportsInfo) + } + return v + } + isExportProvided(k) { + if (Array.isArray(k)) { + const v = this.getReadOnlyExportInfo(k[0]) + if (v.exportsInfo && k.length > 1) { + return v.exportsInfo.isExportProvided(k.slice(1)) + } + return v.provided ? k.length === 1 || undefined : v.provided + } + const v = this.getReadOnlyExportInfo(k) + return v.provided + } + getUsageKey(k) { + const v = [] + if (this._redirectTo !== undefined) { + v.push(this._redirectTo.getUsageKey(k)) + } else { + v.push(this._otherExportsInfo.getUsed(k)) + } + v.push(this._sideEffectsOnlyInfo.getUsed(k)) + for (const E of this.orderedOwnedExports) { + v.push(E.getUsed(k)) + } + return v.join('|') + } + isEquallyUsed(k, v) { + if (this._redirectTo !== undefined) { + if (!this._redirectTo.isEquallyUsed(k, v)) return false + } else { + if ( + this._otherExportsInfo.getUsed(k) !== + this._otherExportsInfo.getUsed(v) + ) { + return false + } + } + if ( + this._sideEffectsOnlyInfo.getUsed(k) !== + this._sideEffectsOnlyInfo.getUsed(v) + ) { + return false + } + for (const E of this.ownedExports) { + if (E.getUsed(k) !== E.getUsed(v)) return false + } + return true + } + getUsed(k, v) { + if (Array.isArray(k)) { + if (k.length === 0) return this.otherExportsInfo.getUsed(v) + let E = this.getReadOnlyExportInfo(k[0]) + if (E.exportsInfo && k.length > 1) { + return E.exportsInfo.getUsed(k.slice(1), v) + } + return E.getUsed(v) + } + let E = this.getReadOnlyExportInfo(k) + return E.getUsed(v) + } + getUsedName(k, v) { + if (Array.isArray(k)) { + if (k.length === 0) { + if (!this.isUsed(v)) return false + return k + } + let E = this.getReadOnlyExportInfo(k[0]) + const P = E.getUsedName(k[0], v) + if (P === false) return false + const R = P === k[0] && k.length === 1 ? k : [P] + if (k.length === 1) { + return R + } + if (E.exportsInfo && E.getUsed(v) === q.OnlyPropertiesUsed) { + const P = E.exportsInfo.getUsedName(k.slice(1), v) + if (!P) return false + return R.concat(P) + } else { + return R.concat(k.slice(1)) + } + } else { + let E = this.getReadOnlyExportInfo(k) + const P = E.getUsedName(k, v) + return P + } + } + updateHash(k, v) { + this._updateHash(k, v, new Set()) + } + _updateHash(k, v, E) { + const P = new Set(E) + P.add(this) + for (const E of this.orderedExports) { + if (E.hasInfo(this._otherExportsInfo, v)) { + E._updateHash(k, v, P) + } + } + this._sideEffectsOnlyInfo._updateHash(k, v, P) + this._otherExportsInfo._updateHash(k, v, P) + if (this._redirectTo !== undefined) { + this._redirectTo._updateHash(k, v, P) + } + } + getRestoreProvidedData() { + const k = this._otherExportsInfo.provided + const v = this._otherExportsInfo.canMangleProvide + const E = this._otherExportsInfo.terminalBinding + const P = [] + for (const R of this.orderedExports) { + if ( + R.provided !== k || + R.canMangleProvide !== v || + R.terminalBinding !== E || + R.exportsInfoOwned + ) { + P.push({ + name: R.name, + provided: R.provided, + canMangleProvide: R.canMangleProvide, + terminalBinding: R.terminalBinding, + exportsInfo: R.exportsInfoOwned + ? R.exportsInfo.getRestoreProvidedData() + : undefined, + }) + } + } + return new RestoreProvidedData(P, k, v, E) + } + restoreProvided({ + otherProvided: k, + otherCanMangleProvide: v, + otherTerminalBinding: E, + exports: P, + }) { + let R = true + for (const P of this._exports.values()) { + R = false + P.provided = k + P.canMangleProvide = v + P.terminalBinding = E + } + this._otherExportsInfo.provided = k + this._otherExportsInfo.canMangleProvide = v + this._otherExportsInfo.terminalBinding = E + for (const k of P) { + const v = this.getExportInfo(k.name) + v.provided = k.provided + v.canMangleProvide = k.canMangleProvide + v.terminalBinding = k.terminalBinding + if (k.exportsInfo) { + const E = v.createNestedExportsInfo() + E.restoreProvided(k.exportsInfo) + } + } + if (R) this._exportsAreOrdered = true + } + } + class ExportInfo { + constructor(k, v) { + this.name = k + this._usedName = v ? v._usedName : null + this._globalUsed = v ? v._globalUsed : undefined + this._usedInRuntime = + v && v._usedInRuntime ? new Map(v._usedInRuntime) : undefined + this._hasUseInRuntimeInfo = v ? v._hasUseInRuntimeInfo : false + this.provided = v ? v.provided : undefined + this.terminalBinding = v ? v.terminalBinding : false + this.canMangleProvide = v ? v.canMangleProvide : undefined + this.canMangleUse = v ? v.canMangleUse : undefined + this.exportsInfoOwned = false + this.exportsInfo = undefined + this._target = undefined + if (v && v._target) { + this._target = new Map() + for (const [E, P] of v._target) { + this._target.set(E, { + connection: P.connection, + export: P.export || [k], + priority: P.priority, + }) + } + } + this._maxTarget = undefined + } + get used() { + throw new Error('REMOVED') + } + get usedName() { + throw new Error('REMOVED') + } + set used(k) { + throw new Error('REMOVED') + } + set usedName(k) { + 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(k) { + let v = false + if (this.setUsedConditionally((k) => k < q.Unknown, q.Unknown, k)) { + v = true + } + if (this.canMangleUse !== false) { + this.canMangleUse = false + v = true + } + return v + } + setUsedWithoutInfo(k) { + let v = false + if (this.setUsed(q.NoInfo, k)) { + v = true + } + if (this.canMangleUse !== false) { + this.canMangleUse = false + v = true + } + return v + } + setHasUseInfo() { + if (!this._hasUseInRuntimeInfo) { + this._hasUseInRuntimeInfo = true + } + if (this.canMangleUse === undefined) { + this.canMangleUse = true + } + if (this.exportsInfoOwned) { + this.exportsInfo.setHasUseInfo() + } + } + setUsedConditionally(k, v, E) { + if (E === undefined) { + if (this._globalUsed === undefined) { + this._globalUsed = v + return true + } else { + if (this._globalUsed !== v && k(this._globalUsed)) { + this._globalUsed = v + return true + } + } + } else if (this._usedInRuntime === undefined) { + if (v !== q.Unused && k(q.Unused)) { + this._usedInRuntime = new Map() + N(E, (k) => this._usedInRuntime.set(k, v)) + return true + } + } else { + let P = false + N(E, (E) => { + let R = this._usedInRuntime.get(E) + if (R === undefined) R = q.Unused + if (v !== R && k(R)) { + if (v === q.Unused) { + this._usedInRuntime.delete(E) + } else { + this._usedInRuntime.set(E, v) + } + P = true + } + }) + if (P) { + if (this._usedInRuntime.size === 0) + this._usedInRuntime = undefined + return true + } + } + return false + } + setUsed(k, v) { + if (v === undefined) { + if (this._globalUsed !== k) { + this._globalUsed = k + return true + } + } else if (this._usedInRuntime === undefined) { + if (k !== q.Unused) { + this._usedInRuntime = new Map() + N(v, (v) => this._usedInRuntime.set(v, k)) + return true + } + } else { + let E = false + N(v, (v) => { + let P = this._usedInRuntime.get(v) + if (P === undefined) P = q.Unused + if (k !== P) { + if (k === q.Unused) { + this._usedInRuntime.delete(v) + } else { + this._usedInRuntime.set(v, k) + } + E = true + } + }) + if (E) { + if (this._usedInRuntime.size === 0) + this._usedInRuntime = undefined + return true + } + } + return false + } + unsetTarget(k) { + if (!this._target) return false + if (this._target.delete(k)) { + this._maxTarget = undefined + return true + } + return false + } + setTarget(k, v, E, R = 0) { + if (E) E = [...E] + if (!this._target) { + this._target = new Map() + this._target.set(k, { connection: v, export: E, priority: R }) + return true + } + const L = this._target.get(k) + if (!L) { + if (L === null && !v) return false + this._target.set(k, { connection: v, export: E, priority: R }) + this._maxTarget = undefined + return true + } + if ( + L.connection !== v || + L.priority !== R || + (E ? !L.export || !P(L.export, E) : L.export) + ) { + L.connection = v + L.export = E + L.priority = R + this._maxTarget = undefined + return true + } + return false + } + getUsed(k) { + if (!this._hasUseInRuntimeInfo) return q.NoInfo + if (this._globalUsed !== undefined) return this._globalUsed + if (this._usedInRuntime === undefined) { + return q.Unused + } else if (typeof k === 'string') { + const v = this._usedInRuntime.get(k) + return v === undefined ? q.Unused : v + } else if (k === undefined) { + let k = q.Unused + for (const v of this._usedInRuntime.values()) { + if (v === q.Used) { + return q.Used + } + if (k < v) k = v + } + return k + } else { + let v = q.Unused + for (const E of k) { + const k = this._usedInRuntime.get(E) + if (k !== undefined) { + if (k === q.Used) { + return q.Used + } + if (v < k) v = k + } + } + return v + } + } + getUsedName(k, v) { + if (this._hasUseInRuntimeInfo) { + if (this._globalUsed !== undefined) { + if (this._globalUsed === q.Unused) return false + } else { + if (this._usedInRuntime === undefined) return false + if (typeof v === 'string') { + if (!this._usedInRuntime.has(v)) { + return false + } + } else if (v !== undefined) { + if (Array.from(v).every((k) => !this._usedInRuntime.has(k))) { + return false + } + } + } + } + if (this._usedName !== null) return this._usedName + return this.name || k + } + hasUsedName() { + return this._usedName !== null + } + setUsedName(k) { + this._usedName = k + } + getTerminalBinding(k, v = RETURNS_TRUE) { + if (this.terminalBinding) return this + const E = this.getTarget(k, v) + if (!E) return undefined + const P = k.getExportsInfo(E.module) + if (!E.export) return P + return P.getReadOnlyExportInfoRecursive(E.export) + } + isReexport() { + return !this.terminalBinding && this._target && this._target.size > 0 + } + _getMaxTarget() { + if (this._maxTarget !== undefined) return this._maxTarget + if (this._target.size <= 1) return (this._maxTarget = this._target) + let k = -Infinity + let v = Infinity + for (const { priority: E } of this._target.values()) { + if (k < E) k = E + if (v > E) v = E + } + if (k === v) return (this._maxTarget = this._target) + const E = new Map() + for (const [v, P] of this._target) { + if (k === P.priority) { + E.set(v, P) + } + } + this._maxTarget = E + return E + } + findTarget(k, v) { + return this._findTarget(k, v, new Set()) + } + _findTarget(k, v, E) { + if (!this._target || this._target.size === 0) return undefined + let P = this._getMaxTarget().values().next().value + if (!P) return undefined + let R = { module: P.connection.module, export: P.export } + for (;;) { + if (v(R.module)) return R + const P = k.getExportsInfo(R.module) + const L = P.getExportInfo(R.export[0]) + if (E.has(L)) return null + const N = L._findTarget(k, v, E) + if (!N) return false + if (R.export.length === 1) { + R = N + } else { + R = { + module: N.module, + export: N.export + ? N.export.concat(R.export.slice(1)) + : R.export.slice(1), + } + } + } + } + getTarget(k, v = RETURNS_TRUE) { + const E = this._getTarget(k, v, undefined) + if (E === ae) return undefined + return E + } + _getTarget(k, v, E) { + const resolveTarget = (E, P) => { + if (!E) return null + if (!E.export) { + return { + module: E.connection.module, + connection: E.connection, + export: undefined, + } + } + let R = { + module: E.connection.module, + connection: E.connection, + export: E.export, + } + if (!v(R)) return R + let L = false + for (;;) { + const E = k.getExportsInfo(R.module) + const N = E.getExportInfo(R.export[0]) + if (!N) return R + if (P.has(N)) return ae + const q = N._getTarget(k, v, P) + if (q === ae) return ae + if (!q) return R + if (R.export.length === 1) { + R = q + if (!R.export) return R + } else { + R = { + module: q.module, + connection: q.connection, + export: q.export + ? q.export.concat(R.export.slice(1)) + : R.export.slice(1), + } + } + if (!v(R)) return R + if (!L) { + P = new Set(P) + L = true + } + P.add(N) + } + } + if (!this._target || this._target.size === 0) return undefined + if (E && E.has(this)) return ae + const R = new Set(E) + R.add(this) + const L = this._getMaxTarget().values() + const N = resolveTarget(L.next().value, R) + if (N === ae) return ae + if (N === null) return undefined + let q = L.next() + while (!q.done) { + const k = resolveTarget(q.value, R) + if (k === ae) return ae + if (k === null) return undefined + if (k.module !== N.module) return undefined + if (!k.export !== !N.export) return undefined + if (N.export && !P(k.export, N.export)) return undefined + q = L.next() + } + return N + } + moveTarget(k, v, E) { + const P = this._getTarget(k, v, undefined) + if (P === ae) return undefined + if (!P) return undefined + const R = this._getMaxTarget().values().next().value + if (R.connection === P.connection && R.export === P.export) { + return undefined + } + this._target.clear() + this._target.set(undefined, { + connection: E ? E(P) : P.connection, + export: P.export, + priority: 0, + }) + return P + } + createNestedExportsInfo() { + if (this.exportsInfoOwned) return this.exportsInfo + this.exportsInfoOwned = true + const k = this.exportsInfo + this.exportsInfo = new ExportsInfo() + this.exportsInfo.setHasProvideInfo() + if (k) { + this.exportsInfo.setRedirectNamedTo(k) + } + return this.exportsInfo + } + getNestedExportsInfo() { + return this.exportsInfo + } + hasInfo(k, v) { + return ( + (this._usedName && this._usedName !== this.name) || + this.provided || + this.terminalBinding || + this.getUsed(v) !== k.getUsed(v) + ) + } + updateHash(k, v) { + this._updateHash(k, v, new Set()) + } + _updateHash(k, v, E) { + k.update( + `${this._usedName || this.name}${this.getUsed(v)}${this.provided}${ + this.terminalBinding + }` + ) + if (this.exportsInfo && !E.has(this.exportsInfo)) { + this.exportsInfo._updateHash(k, v, E) + } + } + getUsedInfo() { + if (this._globalUsed !== undefined) { + switch (this._globalUsed) { + case q.Unused: + return 'unused' + case q.NoInfo: + return 'no usage info' + case q.Unknown: + return 'maybe used (runtime-defined)' + case q.Used: + return 'used' + case q.OnlyPropertiesUsed: + return 'only properties used' + } + } else if (this._usedInRuntime !== undefined) { + const k = new Map() + for (const [v, E] of this._usedInRuntime) { + const P = k.get(E) + if (P !== undefined) P.push(v) + else k.set(E, [v]) + } + const v = Array.from(k, ([k, v]) => { + switch (k) { + case q.NoInfo: + return `no usage info in ${v.join(', ')}` + case q.Unknown: + return `maybe used in ${v.join(', ')} (runtime-defined)` + case q.Used: + return `used in ${v.join(', ')}` + case q.OnlyPropertiesUsed: + return `only properties used in ${v.join(', ')}` + } + }) + if (v.length > 0) { + return v.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}` + ) + } + } + k.exports = ExportsInfo + k.exports.ExportInfo = ExportInfo + k.exports.UsageState = q + }, + 25889: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, + JAVASCRIPT_MODULE_TYPE_ESM: L, + } = E(93622) + const N = E(60381) + const q = E(70762) + const ae = 'ExportsInfoApiPlugin' + class ExportsInfoApiPlugin { + apply(k) { + k.hooks.compilation.tap(ae, (k, { normalModuleFactory: v }) => { + k.dependencyTemplates.set(q, new q.Template()) + const handler = (k) => { + k.hooks.expressionMemberChain + .for('__webpack_exports_info__') + .tap(ae, (v, E) => { + const P = + E.length >= 2 + ? new q(v.range, E.slice(0, -1), E[E.length - 1]) + : new q(v.range, null, E[0]) + P.loc = v.loc + k.state.module.addDependency(P) + return true + }) + k.hooks.expression + .for('__webpack_exports_info__') + .tap(ae, (v) => { + const E = new N('true', v.range) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + return true + }) + } + v.hooks.parser.for(P).tap(ae, handler) + v.hooks.parser.for(R).tap(ae, handler) + v.hooks.parser.for(L).tap(ae, handler) + }) + } + } + k.exports = ExportsInfoApiPlugin + }, + 10849: function (k, v, E) { + 'use strict' + const { OriginalSource: P, RawSource: R } = E(51255) + const L = E(91213) + const { UsageState: N } = E(11172) + const q = E(88113) + const ae = E(88396) + const { JAVASCRIPT_MODULE_TYPE_DYNAMIC: le } = E(93622) + const pe = E(56727) + const me = E(95041) + const ye = E(93414) + const _e = E(74012) + const Ie = E(21053) + const Me = E(58528) + const Te = E(10720) + const { register: je } = E(52456) + const Ne = new Set(['javascript']) + const Be = new Set(['css-import']) + const qe = new Set([pe.module]) + const Ue = new Set([pe.loadScript]) + const Ge = new Set([pe.definePropertyGetters]) + const He = new Set([]) + const getSourceForGlobalVariableExternal = (k, v) => { + if (!Array.isArray(k)) { + k = [k] + } + const E = k.map((k) => `[${JSON.stringify(k)}]`).join('') + return { iife: v === 'this', expression: `${v}${E}` } + } + const getSourceForCommonJsExternal = (k) => { + if (!Array.isArray(k)) { + return { expression: `require(${JSON.stringify(k)})` } + } + const v = k[0] + return { expression: `require(${JSON.stringify(v)})${Te(k, 1)}` } + } + const getSourceForCommonJsExternalInNodeModule = (k, v) => { + const E = [ + new q( + 'import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n', + q.STAGE_HARMONY_IMPORTS, + 0, + 'external module node-commonjs' + ), + ] + if (!Array.isArray(k)) { + return { + chunkInitFragments: E, + expression: `__WEBPACK_EXTERNAL_createRequire(${v}.url)(${JSON.stringify( + k + )})`, + } + } + const P = k[0] + return { + chunkInitFragments: E, + expression: `__WEBPACK_EXTERNAL_createRequire(${v}.url)(${JSON.stringify( + P + )})${Te(k, 1)}`, + } + } + const getSourceForImportExternal = (k, v) => { + const E = v.outputOptions.importFunctionName + if (!v.supportsDynamicImport() && E === 'import') { + throw new Error( + "The target environment doesn't support 'import()' so it's not possible to use external type 'import'" + ) + } + if (!Array.isArray(k)) { + return { expression: `${E}(${JSON.stringify(k)});` } + } + if (k.length === 1) { + return { expression: `${E}(${JSON.stringify(k[0])});` } + } + const P = k[0] + return { + expression: `${E}(${JSON.stringify(P)}).then(${v.returningFunction( + `module${Te(k, 1)}`, + 'module' + )});`, + } + } + class ModuleExternalInitFragment extends q { + constructor(k, v, E = 'md4') { + if (v === undefined) { + v = me.toIdentifier(k) + if (v !== k) { + v += `_${_e(E).update(k).digest('hex').slice(0, 8)}` + } + } + const P = `__WEBPACK_EXTERNAL_MODULE_${v}__` + super( + `import * as ${P} from ${JSON.stringify(k)};\n`, + q.STAGE_HARMONY_IMPORTS, + 0, + `external module import ${v}` + ) + this._ident = v + this._identifier = P + this._request = k + } + getNamespaceIdentifier() { + return this._identifier + } + } + je( + ModuleExternalInitFragment, + 'webpack/lib/ExternalModule', + 'ModuleExternalInitFragment', + { + serialize(k, { write: v }) { + v(k._request) + v(k._ident) + }, + deserialize({ read: k }) { + return new ModuleExternalInitFragment(k(), k()) + }, + } + ) + const generateModuleRemapping = (k, v, E) => { + if (v.otherExportsInfo.getUsed(E) === N.Unused) { + const P = [] + for (const R of v.orderedExports) { + const v = R.getUsedName(R.name, E) + if (!v) continue + const L = R.getNestedExportsInfo() + if (L) { + const E = generateModuleRemapping(`${k}${Te([R.name])}`, L) + if (E) { + P.push(`[${JSON.stringify(v)}]: y(${E})`) + continue + } + } + P.push(`[${JSON.stringify(v)}]: () => ${k}${Te([R.name])}`) + } + return `x({ ${P.join(', ')} })` + } + } + const getSourceForModuleExternal = (k, v, E, P) => { + if (!Array.isArray(k)) k = [k] + const R = new ModuleExternalInitFragment(k[0], undefined, P) + const L = `${R.getNamespaceIdentifier()}${Te(k, 1)}` + const N = generateModuleRemapping(L, v, E) + let q = N || L + return { + expression: q, + init: `var x = y => { var x = {}; ${pe.definePropertyGetters}(x, y); return x; }\nvar y = x => () => x`, + runtimeRequirements: N ? Ge : undefined, + chunkInitFragments: [R], + } + } + const getSourceForScriptExternal = (k, v) => { + if (typeof k === 'string') { + k = Ie(k) + } + const E = k[0] + const P = k[1] + return { + init: 'var __webpack_error__ = new Error();', + expression: `new Promise(${v.basicFunction('resolve, reject', [ + `if(typeof ${P} !== "undefined") return resolve();`, + `${pe.loadScript}(${JSON.stringify(E)}, ${v.basicFunction('event', [ + `if(typeof ${P} !== "undefined") return resolve();`, + "var errorType = event && (event.type === 'load' ? 'missing' : event.type);", + 'var realSrc = event && event.target && event.target.src;', + "__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';", + "__webpack_error__.name = 'ScriptExternalLoadError';", + '__webpack_error__.type = errorType;', + '__webpack_error__.request = realSrc;', + 'reject(__webpack_error__);', + ])}, ${JSON.stringify(P)});`, + ])}).then(${v.returningFunction(`${P}${Te(k, 2)}`)})`, + runtimeRequirements: Ue, + } + } + const checkExternalVariable = (k, v, E) => + `if(typeof ${k} === 'undefined') { ${E.throwMissingModuleErrorBlock({ + request: v, + })} }\n` + const getSourceForAmdOrUmdExternal = (k, v, E, P) => { + const R = `__WEBPACK_EXTERNAL_MODULE_${me.toIdentifier(`${k}`)}__` + return { + init: v + ? checkExternalVariable(R, Array.isArray(E) ? E.join('.') : E, P) + : undefined, + expression: R, + } + } + const getSourceForDefaultCase = (k, v, E) => { + if (!Array.isArray(v)) { + v = [v] + } + const P = v[0] + const R = Te(v, 1) + return { + init: k ? checkExternalVariable(P, v.join('.'), E) : undefined, + expression: `${P}${R}`, + } + } + class ExternalModule extends ae { + constructor(k, v, E) { + super(le, null) + this.request = k + this.externalType = v + this.userRequest = E + } + getSourceTypes() { + return this.externalType === 'css-import' ? Be : Ne + } + libIdent(k) { + return this.userRequest + } + chunkCondition(k, { chunkGraph: v }) { + return this.externalType === 'css-import' + ? true + : v.getNumberOfEntryModules(k) > 0 + } + identifier() { + return `external ${this.externalType} ${JSON.stringify(this.request)}` + } + readableIdentifier(k) { + return 'external ' + JSON.stringify(this.request) + } + needBuild(k, v) { + return v(null, !this.buildMeta) + } + build(k, v, E, P, R) { + this.buildMeta = { async: false, exportsType: undefined } + this.buildInfo = { + strict: true, + topLevelDeclarations: new Set(), + module: v.outputOptions.module, + } + const { request: L, externalType: N } = + this._getRequestAndExternalType() + this.buildMeta.exportsType = 'dynamic' + let q = false + this.clearDependenciesAndBlocks() + switch (N) { + case 'this': + this.buildInfo.strict = false + break + case 'system': + if (!Array.isArray(L) || L.length === 1) { + this.buildMeta.exportsType = 'namespace' + q = true + } + break + case 'module': + if (this.buildInfo.module) { + if (!Array.isArray(L) || L.length === 1) { + this.buildMeta.exportsType = 'namespace' + q = true + } + } else { + this.buildMeta.async = true + if (!Array.isArray(L) || L.length === 1) { + this.buildMeta.exportsType = 'namespace' + q = false + } + } + break + case 'script': + case 'promise': + this.buildMeta.async = true + break + case 'import': + this.buildMeta.async = true + if (!Array.isArray(L) || L.length === 1) { + this.buildMeta.exportsType = 'namespace' + q = false + } + break + } + this.addDependency(new ye(true, q)) + R() + } + restoreFromUnsafeCache(k, v) { + this._restoreFromUnsafeCache(k, v) + } + getConcatenationBailoutReason({ moduleGraph: k }) { + 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 + } + _getRequestAndExternalType() { + let { request: k, externalType: v } = this + if (typeof k === 'object' && !Array.isArray(k)) k = k[v] + return { request: k, externalType: v } + } + _getSourceData(k, v, E, P, R, L) { + switch (v) { + case 'this': + case 'window': + case 'self': + return getSourceForGlobalVariableExternal(k, this.externalType) + case 'global': + return getSourceForGlobalVariableExternal(k, E.globalObject) + case 'commonjs': + case 'commonjs2': + case 'commonjs-module': + case 'commonjs-static': + return getSourceForCommonJsExternal(k) + case 'node-commonjs': + return this.buildInfo.module + ? getSourceForCommonJsExternalInNodeModule( + k, + E.outputOptions.importMetaName + ) + : getSourceForCommonJsExternal(k) + case 'amd': + case 'amd-require': + case 'umd': + case 'umd2': + case 'system': + case 'jsonp': { + const v = R.getModuleId(this) + return getSourceForAmdOrUmdExternal( + v !== null ? v : this.identifier(), + this.isOptional(P), + k, + E + ) + } + case 'import': + return getSourceForImportExternal(k, E) + case 'script': + return getSourceForScriptExternal(k, E) + case 'module': { + if (!this.buildInfo.module) { + if (!E.supportsDynamicImport()) { + throw new Error( + "The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script" + + (E.supportsEcmaScriptModuleSyntax() + ? "\nDid you mean to build a EcmaScript Module ('output.module: true')?" + : '') + ) + } + return getSourceForImportExternal(k, E) + } + if (!E.supportsEcmaScriptModuleSyntax()) { + throw new Error( + "The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'" + ) + } + return getSourceForModuleExternal( + k, + P.getExportsInfo(this), + L, + E.outputOptions.hashFunction + ) + } + case 'var': + case 'promise': + case 'const': + case 'let': + case 'assign': + default: + return getSourceForDefaultCase(this.isOptional(P), k, E) + } + } + codeGeneration({ + runtimeTemplate: k, + moduleGraph: v, + chunkGraph: E, + runtime: N, + concatenationScope: q, + }) { + const { request: ae, externalType: le } = + this._getRequestAndExternalType() + switch (le) { + case 'asset': { + const k = new Map() + k.set( + 'javascript', + new R(`module.exports = ${JSON.stringify(ae)};`) + ) + const v = new Map() + v.set('url', ae) + return { sources: k, runtimeRequirements: qe, data: v } + } + case 'css-import': { + const k = new Map() + k.set('css-import', new R(`@import url(${JSON.stringify(ae)});`)) + return { sources: k, runtimeRequirements: He } + } + default: { + const me = this._getSourceData(ae, le, k, v, E, N) + let ye = me.expression + if (me.iife) ye = `(function() { return ${ye}; }())` + if (q) { + ye = `${k.supportsConst() ? 'const' : 'var'} ${ + L.NAMESPACE_OBJECT_EXPORT + } = ${ye};` + q.registerNamespaceExport(L.NAMESPACE_OBJECT_EXPORT) + } else { + ye = `module.exports = ${ye};` + } + if (me.init) ye = `${me.init}\n${ye}` + let _e = undefined + if (me.chunkInitFragments) { + _e = new Map() + _e.set('chunkInitFragments', me.chunkInitFragments) + } + const Ie = new Map() + if (this.useSourceMap || this.useSimpleSourceMap) { + Ie.set('javascript', new P(ye, this.identifier())) + } else { + Ie.set('javascript', new R(ye)) + } + let Me = me.runtimeRequirements + if (!q) { + if (!Me) { + Me = qe + } else { + const k = new Set(Me) + k.add(pe.module) + Me = k + } + } + return { sources: Ie, runtimeRequirements: Me || He, data: _e } + } + } + } + size(k) { + return 42 + } + updateHash(k, v) { + const { chunkGraph: E } = v + k.update( + `${this.externalType}${JSON.stringify( + this.request + )}${this.isOptional(E.moduleGraph)}` + ) + super.updateHash(k, v) + } + serialize(k) { + const { write: v } = k + v(this.request) + v(this.externalType) + v(this.userRequest) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.request = v() + this.externalType = v() + this.userRequest = v() + super.deserialize(k) + } + } + Me(ExternalModule, 'webpack/lib/ExternalModule') + k.exports = ExternalModule + }, + 37368: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = E(10849) + const { resolveByProperty: L, cachedSetProperty: N } = E(99454) + const q = /^[a-z0-9-]+ / + const ae = {} + const le = P.deprecate( + (k, v, E, P) => { + k.call(null, v, E, P) + }, + 'The externals-function should be defined like ({context, request}, cb) => { ... }', + 'DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS' + ) + const pe = new WeakMap() + const resolveLayer = (k, v) => { + let E = pe.get(k) + if (E === undefined) { + E = new Map() + pe.set(k, E) + } else { + const k = E.get(v) + if (k !== undefined) return k + } + const P = L(k, 'byLayer', v) + E.set(v, P) + return P + } + class ExternalModuleFactoryPlugin { + constructor(k, v) { + this.type = k + this.externals = v + } + apply(k) { + const v = this.type + k.hooks.factorize.tapAsync('ExternalModuleFactoryPlugin', (E, P) => { + const L = E.context + const pe = E.contextInfo + const me = E.dependencies[0] + const ye = E.dependencyType + const handleExternal = (k, E, P) => { + if (k === false) { + return P() + } + let L + if (k === true) { + L = me.request + } else { + L = k + } + if (E === undefined) { + if (typeof L === 'string' && q.test(L)) { + const k = L.indexOf(' ') + E = L.slice(0, k) + L = L.slice(k + 1) + } else if (Array.isArray(L) && L.length > 0 && q.test(L[0])) { + const k = L[0] + const v = k.indexOf(' ') + E = k.slice(0, v) + L = [k.slice(v + 1), ...L.slice(1)] + } + } + P(null, new R(L, E || v, me.request)) + } + const handleExternals = (v, P) => { + if (typeof v === 'string') { + if (v === me.request) { + return handleExternal(me.request, undefined, P) + } + } else if (Array.isArray(v)) { + let k = 0 + const next = () => { + let E + const handleExternalsAndCallback = (k, v) => { + if (k) return P(k) + if (!v) { + if (E) { + E = false + return + } + return next() + } + P(null, v) + } + do { + E = true + if (k >= v.length) return P() + handleExternals(v[k++], handleExternalsAndCallback) + } while (!E) + E = false + } + next() + return + } else if (v instanceof RegExp) { + if (v.test(me.request)) { + return handleExternal(me.request, undefined, P) + } + } else if (typeof v === 'function') { + const cb = (k, v, E) => { + if (k) return P(k) + if (v !== undefined) { + handleExternal(v, E, P) + } else { + P() + } + } + if (v.length === 3) { + le(v, L, me.request, cb) + } else { + const P = v( + { + context: L, + request: me.request, + dependencyType: ye, + contextInfo: pe, + getResolve: (v) => (P, R, L) => { + const q = { + fileDependencies: E.fileDependencies, + missingDependencies: E.missingDependencies, + contextDependencies: E.contextDependencies, + } + let le = k.getResolver( + 'normal', + ye + ? N(E.resolveOptions || ae, 'dependencyType', ye) + : E.resolveOptions + ) + if (v) le = le.withOptions(v) + if (L) { + le.resolve({}, P, R, q, L) + } else { + return new Promise((k, v) => { + le.resolve({}, P, R, q, (E, P) => { + if (E) v(E) + else k(P) + }) + }) + } + }, + }, + cb + ) + if (P && P.then) P.then((k) => cb(null, k), cb) + } + return + } else if (typeof v === 'object') { + const k = resolveLayer(v, pe.issuerLayer) + if (Object.prototype.hasOwnProperty.call(k, me.request)) { + return handleExternal(k[me.request], undefined, P) + } + } + P() + } + handleExternals(this.externals, P) + }) + } + } + k.exports = ExternalModuleFactoryPlugin + }, + 53757: function (k, v, E) { + 'use strict' + const P = E(37368) + class ExternalsPlugin { + constructor(k, v) { + this.type = k + this.externals = v + } + apply(k) { + k.hooks.compile.tap( + 'ExternalsPlugin', + ({ normalModuleFactory: k }) => { + new P(this.type, this.externals).apply(k) + } + ) + } + } + k.exports = ExternalsPlugin + }, + 18144: function (k, v, E) { + 'use strict' + const { create: P } = E(90006) + const R = E(98188) + const L = E(78175) + const { isAbsolute: N } = E(71017) + const q = E(89262) + const ae = E(11333) + const le = E(74012) + const { + join: pe, + dirname: me, + relative: ye, + lstatReadlinkAbsolute: _e, + } = E(57825) + const Ie = E(58528) + const Me = E(38254) + const Te = +process.versions.modules >= 83 + const je = new Set(R.builtinModules) + let Ne = 2e3 + const Be = new Set() + const qe = 0 + const Ue = 1 + const Ge = 2 + const He = 3 + const We = 4 + const Qe = 5 + const Je = 6 + const Ve = 7 + const Ke = 8 + const Ye = 9 + const Xe = Symbol('invalid') + const Ze = new Set().keys().next() + class SnapshotIterator { + constructor(k) { + this.next = k + } + } + class SnapshotIterable { + constructor(k, v) { + this.snapshot = k + this.getMaps = v + } + [Symbol.iterator]() { + let k = 0 + let v + let E + let P + let R + let L + return new SnapshotIterator(() => { + for (;;) { + switch (k) { + case 0: + R = this.snapshot + E = this.getMaps + P = E(R) + k = 1 + case 1: + if (P.length > 0) { + const E = P.pop() + if (E !== undefined) { + v = E.keys() + k = 2 + } else { + break + } + } else { + k = 3 + break + } + case 2: { + const E = v.next() + if (!E.done) return E + k = 1 + break + } + case 3: { + const v = R.children + if (v !== undefined) { + if (v.size === 1) { + for (const k of v) R = k + P = E(R) + k = 1 + break + } + if (L === undefined) L = [] + for (const k of v) { + L.push(k) + } + } + if (L !== undefined && L.length > 0) { + R = L.pop() + P = E(R) + k = 1 + break + } else { + k = 4 + } + } + case 4: + return Ze + } + } + }) + } + } + class Snapshot { + constructor() { + this._flags = 0 + this._cachedFileIterable = undefined + this._cachedContextIterable = undefined + this._cachedMissingIterable = undefined + 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(k) { + this._flags = this._flags | 1 + this.startTime = k + } + setMergedStartTime(k, v) { + if (k) { + if (v.hasStartTime()) { + this.setStartTime(Math.min(k, v.startTime)) + } else { + this.setStartTime(k) + } + } else { + if (v.hasStartTime()) this.setStartTime(v.startTime) + } + } + hasFileTimestamps() { + return (this._flags & 2) !== 0 + } + setFileTimestamps(k) { + this._flags = this._flags | 2 + this.fileTimestamps = k + } + hasFileHashes() { + return (this._flags & 4) !== 0 + } + setFileHashes(k) { + this._flags = this._flags | 4 + this.fileHashes = k + } + hasFileTshs() { + return (this._flags & 8) !== 0 + } + setFileTshs(k) { + this._flags = this._flags | 8 + this.fileTshs = k + } + hasContextTimestamps() { + return (this._flags & 16) !== 0 + } + setContextTimestamps(k) { + this._flags = this._flags | 16 + this.contextTimestamps = k + } + hasContextHashes() { + return (this._flags & 32) !== 0 + } + setContextHashes(k) { + this._flags = this._flags | 32 + this.contextHashes = k + } + hasContextTshs() { + return (this._flags & 64) !== 0 + } + setContextTshs(k) { + this._flags = this._flags | 64 + this.contextTshs = k + } + hasMissingExistence() { + return (this._flags & 128) !== 0 + } + setMissingExistence(k) { + this._flags = this._flags | 128 + this.missingExistence = k + } + hasManagedItemInfo() { + return (this._flags & 256) !== 0 + } + setManagedItemInfo(k) { + this._flags = this._flags | 256 + this.managedItemInfo = k + } + hasManagedFiles() { + return (this._flags & 512) !== 0 + } + setManagedFiles(k) { + this._flags = this._flags | 512 + this.managedFiles = k + } + hasManagedContexts() { + return (this._flags & 1024) !== 0 + } + setManagedContexts(k) { + this._flags = this._flags | 1024 + this.managedContexts = k + } + hasManagedMissing() { + return (this._flags & 2048) !== 0 + } + setManagedMissing(k) { + this._flags = this._flags | 2048 + this.managedMissing = k + } + hasChildren() { + return (this._flags & 4096) !== 0 + } + setChildren(k) { + this._flags = this._flags | 4096 + this.children = k + } + addChild(k) { + if (!this.hasChildren()) { + this.setChildren(new Set()) + } + this.children.add(k) + } + serialize({ write: k }) { + k(this._flags) + if (this.hasStartTime()) k(this.startTime) + if (this.hasFileTimestamps()) k(this.fileTimestamps) + if (this.hasFileHashes()) k(this.fileHashes) + if (this.hasFileTshs()) k(this.fileTshs) + if (this.hasContextTimestamps()) k(this.contextTimestamps) + if (this.hasContextHashes()) k(this.contextHashes) + if (this.hasContextTshs()) k(this.contextTshs) + if (this.hasMissingExistence()) k(this.missingExistence) + if (this.hasManagedItemInfo()) k(this.managedItemInfo) + if (this.hasManagedFiles()) k(this.managedFiles) + if (this.hasManagedContexts()) k(this.managedContexts) + if (this.hasManagedMissing()) k(this.managedMissing) + if (this.hasChildren()) k(this.children) + } + deserialize({ read: k }) { + this._flags = k() + if (this.hasStartTime()) this.startTime = k() + if (this.hasFileTimestamps()) this.fileTimestamps = k() + if (this.hasFileHashes()) this.fileHashes = k() + if (this.hasFileTshs()) this.fileTshs = k() + if (this.hasContextTimestamps()) this.contextTimestamps = k() + if (this.hasContextHashes()) this.contextHashes = k() + if (this.hasContextTshs()) this.contextTshs = k() + if (this.hasMissingExistence()) this.missingExistence = k() + if (this.hasManagedItemInfo()) this.managedItemInfo = k() + if (this.hasManagedFiles()) this.managedFiles = k() + if (this.hasManagedContexts()) this.managedContexts = k() + if (this.hasManagedMissing()) this.managedMissing = k() + if (this.hasChildren()) this.children = k() + } + _createIterable(k) { + return new SnapshotIterable(this, k) + } + getFileIterable() { + if (this._cachedFileIterable === undefined) { + this._cachedFileIterable = this._createIterable((k) => [ + k.fileTimestamps, + k.fileHashes, + k.fileTshs, + k.managedFiles, + ]) + } + return this._cachedFileIterable + } + getContextIterable() { + if (this._cachedContextIterable === undefined) { + this._cachedContextIterable = this._createIterable((k) => [ + k.contextTimestamps, + k.contextHashes, + k.contextTshs, + k.managedContexts, + ]) + } + return this._cachedContextIterable + } + getMissingIterable() { + if (this._cachedMissingIterable === undefined) { + this._cachedMissingIterable = this._createIterable((k) => [ + k.missingExistence, + k.managedMissing, + ]) + } + return this._cachedMissingIterable + } + } + Ie(Snapshot, 'webpack/lib/FileSystemInfo', 'Snapshot') + const et = 3 + class SnapshotOptimization { + constructor(k, v, E, P = true, R = false) { + this._has = k + this._get = v + this._set = E + this._useStartTime = P + this._isSet = R + this._map = new Map() + this._statItemsShared = 0 + this._statItemsUnshared = 0 + this._statSharedSnapshots = 0 + this._statReusedSharedSnapshots = 0 + } + getStatisticMessage() { + const k = this._statItemsShared + this._statItemsUnshared + if (k === 0) return undefined + return `${ + this._statItemsShared && + Math.round((this._statItemsShared * 100) / k) + }% (${this._statItemsShared}/${k}) entries shared via ${ + this._statSharedSnapshots + } shared snapshots (${ + this._statReusedSharedSnapshots + this._statSharedSnapshots + } times referenced)` + } + clear() { + this._map.clear() + this._statItemsShared = 0 + this._statItemsUnshared = 0 + this._statSharedSnapshots = 0 + this._statReusedSharedSnapshots = 0 + } + optimize(k, v) { + const increaseSharedAndStoreOptimizationEntry = (k) => { + if (k.children !== undefined) { + k.children.forEach(increaseSharedAndStoreOptimizationEntry) + } + k.shared++ + storeOptimizationEntry(k) + } + const storeOptimizationEntry = (k) => { + for (const E of k.snapshotContent) { + const P = this._map.get(E) + if (P.shared < k.shared) { + this._map.set(E, k) + } + v.delete(E) + } + } + let E = undefined + const P = v.size + const R = new Set() + for (const P of v) { + const v = this._map.get(P) + if (v === undefined) { + if (E === undefined) { + E = { + snapshot: k, + shared: 0, + snapshotContent: undefined, + children: undefined, + } + } + this._map.set(P, E) + continue + } else { + R.add(v) + } + } + e: for (const E of R) { + const P = E.snapshot + if (E.shared > 0) { + if ( + this._useStartTime && + k.startTime && + (!P.startTime || P.startTime > k.startTime) + ) { + continue + } + const R = new Set() + const L = E.snapshotContent + const N = this._get(P) + for (const k of L) { + if (!v.has(k)) { + if (!N.has(k)) { + continue e + } + R.add(k) + continue + } + } + if (R.size === 0) { + k.addChild(P) + increaseSharedAndStoreOptimizationEntry(E) + this._statReusedSharedSnapshots++ + } else { + const v = L.size - R.size + if (v < et) { + continue e + } + let q + if (this._isSet) { + q = new Set() + for (const k of N) { + if (R.has(k)) continue + q.add(k) + N.delete(k) + } + } else { + q = new Map() + const k = N + for (const [v, E] of k) { + if (R.has(v)) continue + q.set(v, E) + N.delete(v) + } + } + const ae = new Snapshot() + if (this._useStartTime) { + ae.setMergedStartTime(k.startTime, P) + } + this._set(ae, q) + k.addChild(ae) + P.addChild(ae) + const le = { + snapshot: ae, + shared: E.shared + 1, + snapshotContent: new Set(q.keys()), + children: undefined, + } + if (E.children === undefined) E.children = new Set() + E.children.add(le) + storeOptimizationEntry(le) + this._statSharedSnapshots++ + } + } else { + const E = this._get(P) + if (E === undefined) { + continue e + } + let R + if (this._isSet) { + R = new Set() + const k = E + if (v.size < k.size) { + for (const E of v) { + if (k.has(E)) R.add(E) + } + } else { + for (const E of k) { + if (v.has(E)) R.add(E) + } + } + } else { + R = new Map() + const k = E + for (const E of v) { + const v = k.get(E) + if (v === undefined) continue + R.set(E, v) + } + } + if (R.size < et) { + continue e + } + const L = new Snapshot() + if (this._useStartTime) { + L.setMergedStartTime(k.startTime, P) + } + this._set(L, R) + k.addChild(L) + P.addChild(L) + for (const k of R.keys()) E.delete(k) + const N = R.size + this._statItemsUnshared -= N + this._statItemsShared += N + storeOptimizationEntry({ + snapshot: L, + shared: 2, + snapshotContent: new Set(R.keys()), + children: undefined, + }) + this._statSharedSnapshots++ + } + } + const L = v.size + this._statItemsUnshared += L + this._statItemsShared += P - L + } + } + const parseString = (k) => { + if (k[0] === "'") k = `"${k.slice(1, -1).replace(/"/g, '\\"')}"` + return JSON.parse(k) + } + const applyMtime = (k) => { + if (Ne > 1 && k % 2 !== 0) Ne = 1 + else if (Ne > 10 && k % 20 !== 0) Ne = 10 + else if (Ne > 100 && k % 200 !== 0) Ne = 100 + else if (Ne > 1e3 && k % 2e3 !== 0) Ne = 1e3 + } + const mergeMaps = (k, v) => { + if (!v || v.size === 0) return k + if (!k || k.size === 0) return v + const E = new Map(k) + for (const [k, P] of v) { + E.set(k, P) + } + return E + } + const mergeSets = (k, v) => { + if (!v || v.size === 0) return k + if (!k || k.size === 0) return v + const E = new Set(k) + for (const k of v) { + E.add(k) + } + return E + } + const getManagedItem = (k, v) => { + let E = k.length + let P = 1 + let R = true + e: while (E < v.length) { + switch (v.charCodeAt(E)) { + case 47: + case 92: + if (--P === 0) break e + R = true + break + case 46: + if (R) return null + break + case 64: + if (!R) return null + P++ + break + default: + R = false + break + } + E++ + } + if (E === v.length) P-- + if (P !== 0) return null + if ( + v.length >= E + 13 && + v.charCodeAt(E + 1) === 110 && + v.charCodeAt(E + 2) === 111 && + v.charCodeAt(E + 3) === 100 && + v.charCodeAt(E + 4) === 101 && + v.charCodeAt(E + 5) === 95 && + v.charCodeAt(E + 6) === 109 && + v.charCodeAt(E + 7) === 111 && + v.charCodeAt(E + 8) === 100 && + v.charCodeAt(E + 9) === 117 && + v.charCodeAt(E + 10) === 108 && + v.charCodeAt(E + 11) === 101 && + v.charCodeAt(E + 12) === 115 + ) { + if (v.length === E + 13) { + return v + } + const k = v.charCodeAt(E + 13) + if (k === 47 || k === 92) { + return getManagedItem(v.slice(0, E + 14), v) + } + } + return v.slice(0, E) + } + const getResolvedTimestamp = (k) => { + if (k === null) return null + if (k.resolved !== undefined) return k.resolved + return k.symlinks === undefined ? k : undefined + } + const getResolvedHash = (k) => { + if (k === null) return null + if (k.resolved !== undefined) return k.resolved + return k.symlinks === undefined ? k.hash : undefined + } + const addAll = (k, v) => { + for (const E of k) v.add(E) + } + class FileSystemInfo { + constructor( + k, + { + managedPaths: v = [], + immutablePaths: E = [], + logger: P, + hashFunction: R = 'md4', + } = {} + ) { + this.fs = k + this.logger = P + this._remainingLogs = P ? 40 : 0 + this._loggedPaths = P ? new Set() : undefined + this._hashFunction = R + this._snapshotCache = new WeakMap() + this._fileTimestampsOptimization = new SnapshotOptimization( + (k) => k.hasFileTimestamps(), + (k) => k.fileTimestamps, + (k, v) => k.setFileTimestamps(v) + ) + this._fileHashesOptimization = new SnapshotOptimization( + (k) => k.hasFileHashes(), + (k) => k.fileHashes, + (k, v) => k.setFileHashes(v), + false + ) + this._fileTshsOptimization = new SnapshotOptimization( + (k) => k.hasFileTshs(), + (k) => k.fileTshs, + (k, v) => k.setFileTshs(v) + ) + this._contextTimestampsOptimization = new SnapshotOptimization( + (k) => k.hasContextTimestamps(), + (k) => k.contextTimestamps, + (k, v) => k.setContextTimestamps(v) + ) + this._contextHashesOptimization = new SnapshotOptimization( + (k) => k.hasContextHashes(), + (k) => k.contextHashes, + (k, v) => k.setContextHashes(v), + false + ) + this._contextTshsOptimization = new SnapshotOptimization( + (k) => k.hasContextTshs(), + (k) => k.contextTshs, + (k, v) => k.setContextTshs(v) + ) + this._missingExistenceOptimization = new SnapshotOptimization( + (k) => k.hasMissingExistence(), + (k) => k.missingExistence, + (k, v) => k.setMissingExistence(v), + false + ) + this._managedItemInfoOptimization = new SnapshotOptimization( + (k) => k.hasManagedItemInfo(), + (k) => k.managedItemInfo, + (k, v) => k.setManagedItemInfo(v), + false + ) + this._managedFilesOptimization = new SnapshotOptimization( + (k) => k.hasManagedFiles(), + (k) => k.managedFiles, + (k, v) => k.setManagedFiles(v), + false, + true + ) + this._managedContextsOptimization = new SnapshotOptimization( + (k) => k.hasManagedContexts(), + (k) => k.managedContexts, + (k, v) => k.setManagedContexts(v), + false, + true + ) + this._managedMissingOptimization = new SnapshotOptimization( + (k) => k.hasManagedMissing(), + (k) => k.managedMissing, + (k, v) => k.setManagedMissing(v), + false, + true + ) + this._fileTimestamps = new ae() + this._fileHashes = new Map() + this._fileTshs = new Map() + this._contextTimestamps = new ae() + this._contextHashes = new Map() + this._contextTshs = new Map() + this._managedItems = new Map() + this.fileTimestampQueue = new q({ + name: 'file timestamp', + parallelism: 30, + processor: this._readFileTimestamp.bind(this), + }) + this.fileHashQueue = new q({ + name: 'file hash', + parallelism: 10, + processor: this._readFileHash.bind(this), + }) + this.contextTimestampQueue = new q({ + name: 'context timestamp', + parallelism: 2, + processor: this._readContextTimestamp.bind(this), + }) + this.contextHashQueue = new q({ + name: 'context hash', + parallelism: 2, + processor: this._readContextHash.bind(this), + }) + this.contextTshQueue = new q({ + name: 'context hash and timestamp', + parallelism: 2, + processor: this._readContextTimestampAndHash.bind(this), + }) + this.managedItemQueue = new q({ + name: 'managed item info', + parallelism: 10, + processor: this._getManagedItemInfo.bind(this), + }) + this.managedItemDirectoryQueue = new q({ + name: 'managed item directory info', + parallelism: 10, + processor: this._getManagedItemDirectoryInfo.bind(this), + }) + this.managedPaths = Array.from(v) + this.managedPathsWithSlash = this.managedPaths + .filter((k) => typeof k === 'string') + .map((v) => pe(k, v, '_').slice(0, -1)) + this.managedPathsRegExps = this.managedPaths.filter( + (k) => typeof k !== 'string' + ) + this.immutablePaths = Array.from(E) + this.immutablePathsWithSlash = this.immutablePaths + .filter((k) => typeof k === 'string') + .map((v) => pe(k, v, '_').slice(0, -1)) + this.immutablePathsRegExps = this.immutablePaths.filter( + (k) => typeof k !== 'string' + ) + this._cachedDeprecatedFileTimestamps = undefined + this._cachedDeprecatedContextTimestamps = undefined + this._warnAboutExperimentalEsmTracking = false + this._statCreatedSnapshots = 0 + this._statTestedSnapshotsCached = 0 + this._statTestedSnapshotsNotCached = 0 + this._statTestedChildrenCached = 0 + this._statTestedChildrenNotCached = 0 + this._statTestedEntries = 0 + } + logStatistics() { + const logWhenMessage = (k, v) => { + if (v) { + this.logger.log(`${k}: ${v}`) + } + } + 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` + ) + logWhenMessage( + `File timestamp snapshot optimization`, + this._fileTimestampsOptimization.getStatisticMessage() + ) + logWhenMessage( + `File hash snapshot optimization`, + this._fileHashesOptimization.getStatisticMessage() + ) + logWhenMessage( + `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` + ) + logWhenMessage( + `Directory timestamp snapshot optimization`, + this._contextTimestampsOptimization.getStatisticMessage() + ) + logWhenMessage( + `Directory hash snapshot optimization`, + this._contextHashesOptimization.getStatisticMessage() + ) + logWhenMessage( + `Directory timestamp hash combination snapshot optimization`, + this._contextTshsOptimization.getStatisticMessage() + ) + logWhenMessage( + `Missing items snapshot optimization`, + this._missingExistenceOptimization.getStatisticMessage() + ) + this.logger.log( + `Managed items info in cache: ${this._managedItems.size} items` + ) + logWhenMessage( + `Managed items snapshot optimization`, + this._managedItemInfoOptimization.getStatisticMessage() + ) + logWhenMessage( + `Managed files snapshot optimization`, + this._managedFilesOptimization.getStatisticMessage() + ) + logWhenMessage( + `Managed contexts snapshot optimization`, + this._managedContextsOptimization.getStatisticMessage() + ) + logWhenMessage( + `Managed missing snapshot optimization`, + this._managedMissingOptimization.getStatisticMessage() + ) + } + _log(k, v, ...E) { + const P = k + v + if (this._loggedPaths.has(P)) return + this._loggedPaths.add(P) + this.logger.debug(`${k} invalidated because ${v}`, ...E) + if (--this._remainingLogs === 0) { + this.logger.debug( + 'Logging limit has been reached and no further logging will be emitted by FileSystemInfo' + ) + } + } + clear() { + this._remainingLogs = this.logger ? 40 : 0 + if (this._loggedPaths !== undefined) this._loggedPaths.clear() + this._snapshotCache = new WeakMap() + this._fileTimestampsOptimization.clear() + this._fileHashesOptimization.clear() + this._fileTshsOptimization.clear() + this._contextTimestampsOptimization.clear() + this._contextHashesOptimization.clear() + this._contextTshsOptimization.clear() + this._missingExistenceOptimization.clear() + this._managedItemInfoOptimization.clear() + this._managedFilesOptimization.clear() + this._managedContextsOptimization.clear() + this._managedMissingOptimization.clear() + this._fileTimestamps.clear() + this._fileHashes.clear() + this._fileTshs.clear() + this._contextTimestamps.clear() + this._contextHashes.clear() + this._contextTshs.clear() + this._managedItems.clear() + this._managedItems.clear() + this._cachedDeprecatedFileTimestamps = undefined + this._cachedDeprecatedContextTimestamps = undefined + this._statCreatedSnapshots = 0 + this._statTestedSnapshotsCached = 0 + this._statTestedSnapshotsNotCached = 0 + this._statTestedChildrenCached = 0 + this._statTestedChildrenNotCached = 0 + this._statTestedEntries = 0 + } + addFileTimestamps(k, v) { + this._fileTimestamps.addAll(k, v) + this._cachedDeprecatedFileTimestamps = undefined + } + addContextTimestamps(k, v) { + this._contextTimestamps.addAll(k, v) + this._cachedDeprecatedContextTimestamps = undefined + } + getFileTimestamp(k, v) { + const E = this._fileTimestamps.get(k) + if (E !== undefined) return v(null, E) + this.fileTimestampQueue.add(k, v) + } + getContextTimestamp(k, v) { + const E = this._contextTimestamps.get(k) + if (E !== undefined) { + if (E === 'ignore') return v(null, 'ignore') + const k = getResolvedTimestamp(E) + if (k !== undefined) return v(null, k) + return this._resolveContextTimestamp(E, v) + } + this.contextTimestampQueue.add(k, (k, E) => { + if (k) return v(k) + const P = getResolvedTimestamp(E) + if (P !== undefined) return v(null, P) + this._resolveContextTimestamp(E, v) + }) + } + _getUnresolvedContextTimestamp(k, v) { + const E = this._contextTimestamps.get(k) + if (E !== undefined) return v(null, E) + this.contextTimestampQueue.add(k, v) + } + getFileHash(k, v) { + const E = this._fileHashes.get(k) + if (E !== undefined) return v(null, E) + this.fileHashQueue.add(k, v) + } + getContextHash(k, v) { + const E = this._contextHashes.get(k) + if (E !== undefined) { + const k = getResolvedHash(E) + if (k !== undefined) return v(null, k) + return this._resolveContextHash(E, v) + } + this.contextHashQueue.add(k, (k, E) => { + if (k) return v(k) + const P = getResolvedHash(E) + if (P !== undefined) return v(null, P) + this._resolveContextHash(E, v) + }) + } + _getUnresolvedContextHash(k, v) { + const E = this._contextHashes.get(k) + if (E !== undefined) return v(null, E) + this.contextHashQueue.add(k, v) + } + getContextTsh(k, v) { + const E = this._contextTshs.get(k) + if (E !== undefined) { + const k = getResolvedTimestamp(E) + if (k !== undefined) return v(null, k) + return this._resolveContextTsh(E, v) + } + this.contextTshQueue.add(k, (k, E) => { + if (k) return v(k) + const P = getResolvedTimestamp(E) + if (P !== undefined) return v(null, P) + this._resolveContextTsh(E, v) + }) + } + _getUnresolvedContextTsh(k, v) { + const E = this._contextTshs.get(k) + if (E !== undefined) return v(null, E) + this.contextTshQueue.add(k, v) + } + _createBuildDependenciesResolvers() { + const k = P({ + resolveToContext: true, + exportsFields: [], + fileSystem: this.fs, + }) + const v = P({ + extensions: ['.js', '.json', '.node'], + conditionNames: ['require', 'node'], + exportsFields: ['exports'], + fileSystem: this.fs, + }) + const E = P({ + extensions: ['.js', '.json', '.node'], + conditionNames: ['require', 'node'], + exportsFields: [], + fileSystem: this.fs, + }) + const R = P({ + extensions: ['.js', '.json', '.node'], + fullySpecified: true, + conditionNames: ['import', 'node'], + exportsFields: ['exports'], + fileSystem: this.fs, + }) + return { + resolveContext: k, + resolveEsm: R, + resolveCjs: v, + resolveCjsAsChild: E, + } + } + resolveBuildDependencies(k, v, P) { + const { + resolveContext: R, + resolveEsm: L, + resolveCjs: q, + resolveCjsAsChild: ae, + } = this._createBuildDependenciesResolvers() + const le = new Set() + const _e = new Set() + const Ie = new Set() + const Ne = new Set() + const Be = new Set() + const Xe = new Set() + const Ze = new Set() + const et = new Set() + const tt = new Map() + const nt = new Set() + const st = { + fileDependencies: Xe, + contextDependencies: Ze, + missingDependencies: et, + } + const expectedToString = (k) => (k ? ` (expected ${k})` : '') + const jobToString = (k) => { + switch (k.type) { + case qe: + return `resolve commonjs ${k.path}${expectedToString( + k.expected + )}` + case Ue: + return `resolve esm ${k.path}${expectedToString(k.expected)}` + case Ge: + return `resolve directory ${k.path}` + case He: + return `resolve commonjs file ${k.path}${expectedToString( + k.expected + )}` + case Qe: + return `resolve esm file ${k.path}${expectedToString( + k.expected + )}` + case Je: + return `directory ${k.path}` + case Ve: + return `file ${k.path}` + case Ke: + return `directory dependencies ${k.path}` + case Ye: + return `file dependencies ${k.path}` + } + return `unknown ${k.type} ${k.path}` + } + const pathToString = (k) => { + let v = ` at ${jobToString(k)}` + k = k.issuer + while (k !== undefined) { + v += `\n at ${jobToString(k)}` + k = k.issuer + } + return v + } + Me( + Array.from(v, (v) => ({ + type: qe, + context: k, + path: v, + expected: undefined, + issuer: undefined, + })), + 20, + (k, v, P) => { + const { type: Me, context: Be, path: Ze, expected: rt } = k + const resolveDirectory = (E) => { + const L = `d\n${Be}\n${E}` + if (tt.has(L)) { + return P() + } + tt.set(L, undefined) + R(Be, E, st, (R, N, q) => { + if (R) { + if (rt === false) { + tt.set(L, false) + return P() + } + nt.add(L) + R.message += `\nwhile resolving '${E}' in ${Be} to a directory` + return P(R) + } + const ae = q.path + tt.set(L, ae) + v({ + type: Je, + context: undefined, + path: ae, + expected: undefined, + issuer: k, + }) + P() + }) + } + const resolveFile = (E, R, L) => { + const N = `${R}\n${Be}\n${E}` + if (tt.has(N)) { + return P() + } + tt.set(N, undefined) + L(Be, E, st, (R, L, q) => { + if (typeof rt === 'string') { + if (!R && q && q.path === rt) { + tt.set(N, q.path) + } else { + nt.add(N) + this.logger.warn( + `Resolving '${E}' in ${Be} for build dependencies doesn't lead to expected result '${rt}', but to '${ + R || (q && q.path) + }' instead. Resolving dependencies are ignored for this path.\n${pathToString( + k + )}` + ) + } + } else { + if (R) { + if (rt === false) { + tt.set(N, false) + return P() + } + nt.add(N) + R.message += `\nwhile resolving '${E}' in ${Be} as file\n${pathToString( + k + )}` + return P(R) + } + const L = q.path + tt.set(N, L) + v({ + type: Ve, + context: undefined, + path: L, + expected: undefined, + issuer: k, + }) + } + P() + }) + } + switch (Me) { + case qe: { + const k = /[\\/]$/.test(Ze) + if (k) { + resolveDirectory(Ze.slice(0, Ze.length - 1)) + } else { + resolveFile(Ze, 'f', q) + } + break + } + case Ue: { + const k = /[\\/]$/.test(Ze) + if (k) { + resolveDirectory(Ze.slice(0, Ze.length - 1)) + } else { + resolveFile(Ze) + } + break + } + case Ge: { + resolveDirectory(Ze) + break + } + case He: { + resolveFile(Ze, 'f', q) + break + } + case We: { + resolveFile(Ze, 'c', ae) + break + } + case Qe: { + resolveFile(Ze, 'e', L) + break + } + case Ve: { + if (le.has(Ze)) { + P() + break + } + le.add(Ze) + this.fs.realpath(Ze, (E, R) => { + if (E) return P(E) + const L = R + if (L !== Ze) { + _e.add(Ze) + Xe.add(Ze) + if (le.has(L)) return P() + le.add(L) + } + v({ + type: Ye, + context: undefined, + path: L, + expected: undefined, + issuer: k, + }) + P() + }) + break + } + case Je: { + if (Ie.has(Ze)) { + P() + break + } + Ie.add(Ze) + this.fs.realpath(Ze, (E, R) => { + if (E) return P(E) + const L = R + if (L !== Ze) { + Ne.add(Ze) + Xe.add(Ze) + if (Ie.has(L)) return P() + Ie.add(L) + } + v({ + type: Ke, + context: undefined, + path: L, + expected: undefined, + issuer: k, + }) + P() + }) + break + } + case Ye: { + if ( + /\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test(Ze) + ) { + process.nextTick(P) + break + } + const R = require.cache[Ze] + if (R && Array.isArray(R.children)) { + e: for (const E of R.children) { + let P = E.filename + if (P) { + v({ + type: Ve, + context: undefined, + path: P, + expected: undefined, + issuer: k, + }) + const L = me(this.fs, Ze) + for (const N of R.paths) { + if (P.startsWith(N)) { + let R = P.slice(N.length + 1) + const q = /^(@[^\\/]+[\\/])[^\\/]+/.exec(R) + if (q) { + v({ + type: Ve, + context: undefined, + path: + N + + P[N.length] + + q[0] + + P[N.length] + + 'package.json', + expected: false, + issuer: k, + }) + } + let ae = R.replace(/\\/g, '/') + if (ae.endsWith('.js')) ae = ae.slice(0, -3) + v({ + type: We, + context: L, + path: ae, + expected: E.filename, + issuer: k, + }) + continue e + } + } + let q = ye(this.fs, L, P) + if (q.endsWith('.js')) q = q.slice(0, -3) + q = q.replace(/\\/g, '/') + if (!q.startsWith('../') && !N(q)) { + q = `./${q}` + } + v({ + type: He, + context: L, + path: q, + expected: E.filename, + issuer: k, + }) + } + } + } else if (Te && /\.m?js$/.test(Ze)) { + if (!this._warnAboutExperimentalEsmTracking) { + this.logger.log( + "Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n" + + 'Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n' + + 'As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.' + ) + this._warnAboutExperimentalEsmTracking = true + } + const R = E(97998) + R.init.then(() => { + this.fs.readFile(Ze, (E, L) => { + if (E) return P(E) + try { + const E = me(this.fs, Ze) + const P = L.toString() + const [N] = R.parse(P) + for (const R of N) { + try { + let L + if (R.d === -1) { + L = parseString(P.substring(R.s - 1, R.e + 1)) + } else if (R.d > -1) { + let k = P.substring(R.s, R.e).trim() + L = parseString(k) + } else { + continue + } + if (L.startsWith('node:')) continue + if (je.has(L)) continue + v({ + type: Qe, + context: E, + path: L, + expected: undefined, + issuer: k, + }) + } catch (v) { + this.logger.warn( + `Parsing of ${Ze} for build dependencies failed at 'import(${P.substring( + R.s, + R.e + )})'.\n` + + 'Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.' + ) + this.logger.debug(pathToString(k)) + this.logger.debug(v.stack) + } + } + } catch (v) { + this.logger.warn( + `Parsing of ${Ze} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..` + ) + this.logger.debug(pathToString(k)) + this.logger.debug(v.stack) + } + process.nextTick(P) + }) + }, P) + break + } else { + this.logger.log( + `Assuming ${Ze} has no dependencies as we were unable to assign it to any module system.` + ) + this.logger.debug(pathToString(k)) + } + process.nextTick(P) + break + } + case Ke: { + const E = + /(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec( + Ze + ) + const R = E ? E[1] : Ze + const L = pe(this.fs, R, 'package.json') + this.fs.readFile(L, (E, N) => { + if (E) { + if (E.code === 'ENOENT') { + et.add(L) + const E = me(this.fs, R) + if (E !== R) { + v({ + type: Ke, + context: undefined, + path: E, + expected: undefined, + issuer: k, + }) + } + P() + return + } + return P(E) + } + Xe.add(L) + let q + try { + q = JSON.parse(N.toString('utf-8')) + } catch (k) { + return P(k) + } + const ae = q.dependencies + const le = q.optionalDependencies + const pe = new Set() + const ye = new Set() + if (typeof ae === 'object' && ae) { + for (const k of Object.keys(ae)) { + pe.add(k) + } + } + if (typeof le === 'object' && le) { + for (const k of Object.keys(le)) { + pe.add(k) + ye.add(k) + } + } + for (const E of pe) { + v({ + type: Ge, + context: R, + path: E, + expected: !ye.has(E), + issuer: k, + }) + } + P() + }) + break + } + } + }, + (k) => { + if (k) return P(k) + for (const k of _e) le.delete(k) + for (const k of Ne) Ie.delete(k) + for (const k of nt) tt.delete(k) + P(null, { + files: le, + directories: Ie, + missing: Be, + resolveResults: tt, + resolveDependencies: { + files: Xe, + directories: Ze, + missing: et, + }, + }) + } + ) + } + checkResolveResultsValid(k, v) { + const { + resolveCjs: E, + resolveCjsAsChild: P, + resolveEsm: R, + resolveContext: N, + } = this._createBuildDependenciesResolvers() + L.eachLimit( + k, + 20, + ([k, v], L) => { + const [q, ae, le] = k.split('\n') + switch (q) { + case 'd': + N(ae, le, {}, (k, E, P) => { + if (v === false) return L(k ? undefined : Xe) + if (k) return L(k) + const R = P.path + if (R !== v) return L(Xe) + L() + }) + break + case 'f': + E(ae, le, {}, (k, E, P) => { + if (v === false) return L(k ? undefined : Xe) + if (k) return L(k) + const R = P.path + if (R !== v) return L(Xe) + L() + }) + break + case 'c': + P(ae, le, {}, (k, E, P) => { + if (v === false) return L(k ? undefined : Xe) + if (k) return L(k) + const R = P.path + if (R !== v) return L(Xe) + L() + }) + break + case 'e': + R(ae, le, {}, (k, E, P) => { + if (v === false) return L(k ? undefined : Xe) + if (k) return L(k) + const R = P.path + if (R !== v) return L(Xe) + L() + }) + break + default: + L(new Error('Unexpected type in resolve result key')) + break + } + }, + (k) => { + if (k === Xe) { + return v(null, false) + } + if (k) { + return v(k) + } + return v(null, true) + } + ) + } + createSnapshot(k, v, E, P, R, L) { + const N = new Map() + const q = new Map() + const ae = new Map() + const le = new Map() + const me = new Map() + const ye = new Map() + const _e = new Map() + const Ie = new Map() + const Me = new Set() + const Te = new Set() + const je = new Set() + const Ne = new Set() + const Be = new Snapshot() + if (k) Be.setStartTime(k) + const qe = new Set() + const Ue = R && R.hash ? (R.timestamp ? 3 : 2) : 1 + let Ge = 1 + const jobDone = () => { + if (--Ge === 0) { + if (N.size !== 0) { + Be.setFileTimestamps(N) + } + if (q.size !== 0) { + Be.setFileHashes(q) + } + if (ae.size !== 0) { + Be.setFileTshs(ae) + } + if (le.size !== 0) { + Be.setContextTimestamps(le) + } + if (me.size !== 0) { + Be.setContextHashes(me) + } + if (ye.size !== 0) { + Be.setContextTshs(ye) + } + if (_e.size !== 0) { + Be.setMissingExistence(_e) + } + if (Ie.size !== 0) { + Be.setManagedItemInfo(Ie) + } + this._managedFilesOptimization.optimize(Be, Me) + if (Me.size !== 0) { + Be.setManagedFiles(Me) + } + this._managedContextsOptimization.optimize(Be, Te) + if (Te.size !== 0) { + Be.setManagedContexts(Te) + } + this._managedMissingOptimization.optimize(Be, je) + if (je.size !== 0) { + Be.setManagedMissing(je) + } + if (Ne.size !== 0) { + Be.setChildren(Ne) + } + this._snapshotCache.set(Be, true) + this._statCreatedSnapshots++ + L(null, Be) + } + } + const jobError = () => { + if (Ge > 0) { + Ge = -1e8 + L(null, null) + } + } + const checkManaged = (k, v) => { + for (const E of this.immutablePathsRegExps) { + if (E.test(k)) { + v.add(k) + return true + } + } + for (const E of this.immutablePathsWithSlash) { + if (k.startsWith(E)) { + v.add(k) + return true + } + } + for (const E of this.managedPathsRegExps) { + const P = E.exec(k) + if (P) { + const E = getManagedItem(P[1], k) + if (E) { + qe.add(E) + v.add(k) + return true + } + } + } + for (const E of this.managedPathsWithSlash) { + if (k.startsWith(E)) { + const P = getManagedItem(E, k) + if (P) { + qe.add(P) + v.add(k) + return true + } + } + } + return false + } + const captureNonManaged = (k, v) => { + const E = new Set() + for (const P of k) { + if (!checkManaged(P, v)) E.add(P) + } + return E + } + const processCapturedFiles = (k) => { + switch (Ue) { + case 3: + this._fileTshsOptimization.optimize(Be, k) + for (const v of k) { + const k = this._fileTshs.get(v) + if (k !== undefined) { + ae.set(v, k) + } else { + Ge++ + this._getFileTimestampAndHash(v, (k, E) => { + if (k) { + if (this.logger) { + this.logger.debug( + `Error snapshotting file timestamp hash combination of ${v}: ${k.stack}` + ) + } + jobError() + } else { + ae.set(v, E) + jobDone() + } + }) + } + } + break + case 2: + this._fileHashesOptimization.optimize(Be, k) + for (const v of k) { + const k = this._fileHashes.get(v) + if (k !== undefined) { + q.set(v, k) + } else { + Ge++ + this.fileHashQueue.add(v, (k, E) => { + if (k) { + if (this.logger) { + this.logger.debug( + `Error snapshotting file hash of ${v}: ${k.stack}` + ) + } + jobError() + } else { + q.set(v, E) + jobDone() + } + }) + } + } + break + case 1: + this._fileTimestampsOptimization.optimize(Be, k) + for (const v of k) { + const k = this._fileTimestamps.get(v) + if (k !== undefined) { + if (k !== 'ignore') { + N.set(v, k) + } + } else { + Ge++ + this.fileTimestampQueue.add(v, (k, E) => { + if (k) { + if (this.logger) { + this.logger.debug( + `Error snapshotting file timestamp of ${v}: ${k.stack}` + ) + } + jobError() + } else { + N.set(v, E) + jobDone() + } + }) + } + } + break + } + } + if (v) { + processCapturedFiles(captureNonManaged(v, Me)) + } + const processCapturedDirectories = (k) => { + switch (Ue) { + case 3: + this._contextTshsOptimization.optimize(Be, k) + for (const v of k) { + const k = this._contextTshs.get(v) + let E + if ( + k !== undefined && + (E = getResolvedTimestamp(k)) !== undefined + ) { + ye.set(v, E) + } else { + Ge++ + const callback = (k, E) => { + if (k) { + if (this.logger) { + this.logger.debug( + `Error snapshotting context timestamp hash combination of ${v}: ${k.stack}` + ) + } + jobError() + } else { + ye.set(v, E) + jobDone() + } + } + if (k !== undefined) { + this._resolveContextTsh(k, callback) + } else { + this.getContextTsh(v, callback) + } + } + } + break + case 2: + this._contextHashesOptimization.optimize(Be, k) + for (const v of k) { + const k = this._contextHashes.get(v) + let E + if ( + k !== undefined && + (E = getResolvedHash(k)) !== undefined + ) { + me.set(v, E) + } else { + Ge++ + const callback = (k, E) => { + if (k) { + if (this.logger) { + this.logger.debug( + `Error snapshotting context hash of ${v}: ${k.stack}` + ) + } + jobError() + } else { + me.set(v, E) + jobDone() + } + } + if (k !== undefined) { + this._resolveContextHash(k, callback) + } else { + this.getContextHash(v, callback) + } + } + } + break + case 1: + this._contextTimestampsOptimization.optimize(Be, k) + for (const v of k) { + const k = this._contextTimestamps.get(v) + if (k === 'ignore') continue + let E + if ( + k !== undefined && + (E = getResolvedTimestamp(k)) !== undefined + ) { + le.set(v, E) + } else { + Ge++ + const callback = (k, E) => { + if (k) { + if (this.logger) { + this.logger.debug( + `Error snapshotting context timestamp of ${v}: ${k.stack}` + ) + } + jobError() + } else { + le.set(v, E) + jobDone() + } + } + if (k !== undefined) { + this._resolveContextTimestamp(k, callback) + } else { + this.getContextTimestamp(v, callback) + } + } + } + break + } + } + if (E) { + processCapturedDirectories(captureNonManaged(E, Te)) + } + const processCapturedMissing = (k) => { + this._missingExistenceOptimization.optimize(Be, k) + for (const v of k) { + const k = this._fileTimestamps.get(v) + if (k !== undefined) { + if (k !== 'ignore') { + _e.set(v, Boolean(k)) + } + } else { + Ge++ + this.fileTimestampQueue.add(v, (k, E) => { + if (k) { + if (this.logger) { + this.logger.debug( + `Error snapshotting missing timestamp of ${v}: ${k.stack}` + ) + } + jobError() + } else { + _e.set(v, Boolean(E)) + jobDone() + } + }) + } + } + } + if (P) { + processCapturedMissing(captureNonManaged(P, je)) + } + this._managedItemInfoOptimization.optimize(Be, qe) + for (const k of qe) { + const v = this._managedItems.get(k) + if (v !== undefined) { + if (!v.startsWith('*')) { + Me.add(pe(this.fs, k, 'package.json')) + } else if (v === '*nested') { + je.add(pe(this.fs, k, 'package.json')) + } + Ie.set(k, v) + } else { + Ge++ + this.managedItemQueue.add(k, (E, P) => { + if (E) { + if (this.logger) { + this.logger.debug( + `Error snapshotting managed item ${k}: ${E.stack}` + ) + } + jobError() + } else if (P) { + if (!P.startsWith('*')) { + Me.add(pe(this.fs, k, 'package.json')) + } else if (v === '*nested') { + je.add(pe(this.fs, k, 'package.json')) + } + Ie.set(k, P) + jobDone() + } else { + const process = (v, E) => { + if (v.size === 0) return + const P = new Set() + for (const E of v) { + if (E.startsWith(k)) P.add(E) + } + if (P.size > 0) E(P) + } + process(Me, processCapturedFiles) + process(Te, processCapturedDirectories) + process(je, processCapturedMissing) + jobDone() + } + }) + } + } + jobDone() + } + mergeSnapshots(k, v) { + const E = new Snapshot() + if (k.hasStartTime() && v.hasStartTime()) + E.setStartTime(Math.min(k.startTime, v.startTime)) + else if (v.hasStartTime()) E.startTime = v.startTime + else if (k.hasStartTime()) E.startTime = k.startTime + if (k.hasFileTimestamps() || v.hasFileTimestamps()) { + E.setFileTimestamps(mergeMaps(k.fileTimestamps, v.fileTimestamps)) + } + if (k.hasFileHashes() || v.hasFileHashes()) { + E.setFileHashes(mergeMaps(k.fileHashes, v.fileHashes)) + } + if (k.hasFileTshs() || v.hasFileTshs()) { + E.setFileTshs(mergeMaps(k.fileTshs, v.fileTshs)) + } + if (k.hasContextTimestamps() || v.hasContextTimestamps()) { + E.setContextTimestamps( + mergeMaps(k.contextTimestamps, v.contextTimestamps) + ) + } + if (k.hasContextHashes() || v.hasContextHashes()) { + E.setContextHashes(mergeMaps(k.contextHashes, v.contextHashes)) + } + if (k.hasContextTshs() || v.hasContextTshs()) { + E.setContextTshs(mergeMaps(k.contextTshs, v.contextTshs)) + } + if (k.hasMissingExistence() || v.hasMissingExistence()) { + E.setMissingExistence( + mergeMaps(k.missingExistence, v.missingExistence) + ) + } + if (k.hasManagedItemInfo() || v.hasManagedItemInfo()) { + E.setManagedItemInfo( + mergeMaps(k.managedItemInfo, v.managedItemInfo) + ) + } + if (k.hasManagedFiles() || v.hasManagedFiles()) { + E.setManagedFiles(mergeSets(k.managedFiles, v.managedFiles)) + } + if (k.hasManagedContexts() || v.hasManagedContexts()) { + E.setManagedContexts( + mergeSets(k.managedContexts, v.managedContexts) + ) + } + if (k.hasManagedMissing() || v.hasManagedMissing()) { + E.setManagedMissing(mergeSets(k.managedMissing, v.managedMissing)) + } + if (k.hasChildren() || v.hasChildren()) { + E.setChildren(mergeSets(k.children, v.children)) + } + if ( + this._snapshotCache.get(k) === true && + this._snapshotCache.get(v) === true + ) { + this._snapshotCache.set(E, true) + } + return E + } + checkSnapshotValid(k, v) { + const E = this._snapshotCache.get(k) + if (E !== undefined) { + this._statTestedSnapshotsCached++ + if (typeof E === 'boolean') { + v(null, E) + } else { + E.push(v) + } + return + } + this._statTestedSnapshotsNotCached++ + this._checkSnapshotValidNoCache(k, v) + } + _checkSnapshotValidNoCache(k, v) { + let E = undefined + if (k.hasStartTime()) { + E = k.startTime + } + let P = 1 + const jobDone = () => { + if (--P === 0) { + this._snapshotCache.set(k, true) + v(null, true) + } + } + const invalid = () => { + if (P > 0) { + P = -1e8 + this._snapshotCache.set(k, false) + v(null, false) + } + } + const invalidWithError = (k, v) => { + if (this._remainingLogs > 0) { + this._log(k, `error occurred: %s`, v) + } + invalid() + } + const checkHash = (k, v, E) => { + if (v !== E) { + if (this._remainingLogs > 0) { + this._log(k, `hashes differ (%s != %s)`, v, E) + } + return false + } + return true + } + const checkExistence = (k, v, E) => { + if (!v !== !E) { + if (this._remainingLogs > 0) { + this._log( + k, + v ? "it didn't exist before" : 'it does no longer exist' + ) + } + return false + } + return true + } + const checkFile = (k, v, P, R = true) => { + if (v === P) return true + if (!checkExistence(k, Boolean(v), Boolean(P))) return false + if (v) { + if (typeof E === 'number' && v.safeTime > E) { + if (R && this._remainingLogs > 0) { + this._log( + k, + `it may have changed (%d) after the start time of the snapshot (%d)`, + v.safeTime, + E + ) + } + return false + } + if (P.timestamp !== undefined && v.timestamp !== P.timestamp) { + if (R && this._remainingLogs > 0) { + this._log( + k, + `timestamps differ (%d != %d)`, + v.timestamp, + P.timestamp + ) + } + return false + } + } + return true + } + const checkContext = (k, v, P, R = true) => { + if (v === P) return true + if (!checkExistence(k, Boolean(v), Boolean(P))) return false + if (v) { + if (typeof E === 'number' && v.safeTime > E) { + if (R && this._remainingLogs > 0) { + this._log( + k, + `it may have changed (%d) after the start time of the snapshot (%d)`, + v.safeTime, + E + ) + } + return false + } + if ( + P.timestampHash !== undefined && + v.timestampHash !== P.timestampHash + ) { + if (R && this._remainingLogs > 0) { + this._log( + k, + `timestamps hashes differ (%s != %s)`, + v.timestampHash, + P.timestampHash + ) + } + return false + } + } + return true + } + if (k.hasChildren()) { + const childCallback = (k, v) => { + if (k || !v) return invalid() + else jobDone() + } + for (const v of k.children) { + const k = this._snapshotCache.get(v) + if (k !== undefined) { + this._statTestedChildrenCached++ + if (typeof k === 'boolean') { + if (k === false) { + invalid() + return + } + } else { + P++ + k.push(childCallback) + } + } else { + this._statTestedChildrenNotCached++ + P++ + this._checkSnapshotValidNoCache(v, childCallback) + } + } + } + if (k.hasFileTimestamps()) { + const { fileTimestamps: v } = k + this._statTestedEntries += v.size + for (const [k, E] of v) { + const v = this._fileTimestamps.get(k) + if (v !== undefined) { + if (v !== 'ignore' && !checkFile(k, v, E)) { + invalid() + return + } + } else { + P++ + this.fileTimestampQueue.add(k, (v, P) => { + if (v) return invalidWithError(k, v) + if (!checkFile(k, P, E)) { + invalid() + } else { + jobDone() + } + }) + } + } + } + const processFileHashSnapshot = (k, v) => { + const E = this._fileHashes.get(k) + if (E !== undefined) { + if (E !== 'ignore' && !checkHash(k, E, v)) { + invalid() + return + } + } else { + P++ + this.fileHashQueue.add(k, (E, P) => { + if (E) return invalidWithError(k, E) + if (!checkHash(k, P, v)) { + invalid() + } else { + jobDone() + } + }) + } + } + if (k.hasFileHashes()) { + const { fileHashes: v } = k + this._statTestedEntries += v.size + for (const [k, E] of v) { + processFileHashSnapshot(k, E) + } + } + if (k.hasFileTshs()) { + const { fileTshs: v } = k + this._statTestedEntries += v.size + for (const [k, E] of v) { + if (typeof E === 'string') { + processFileHashSnapshot(k, E) + } else { + const v = this._fileTimestamps.get(k) + if (v !== undefined) { + if (v === 'ignore' || !checkFile(k, v, E, false)) { + processFileHashSnapshot(k, E && E.hash) + } + } else { + P++ + this.fileTimestampQueue.add(k, (v, P) => { + if (v) return invalidWithError(k, v) + if (!checkFile(k, P, E, false)) { + processFileHashSnapshot(k, E && E.hash) + } + jobDone() + }) + } + } + } + } + if (k.hasContextTimestamps()) { + const { contextTimestamps: v } = k + this._statTestedEntries += v.size + for (const [k, E] of v) { + const v = this._contextTimestamps.get(k) + if (v === 'ignore') continue + let R + if ( + v !== undefined && + (R = getResolvedTimestamp(v)) !== undefined + ) { + if (!checkContext(k, R, E)) { + invalid() + return + } + } else { + P++ + const callback = (v, P) => { + if (v) return invalidWithError(k, v) + if (!checkContext(k, P, E)) { + invalid() + } else { + jobDone() + } + } + if (v !== undefined) { + this._resolveContextTimestamp(v, callback) + } else { + this.getContextTimestamp(k, callback) + } + } + } + } + const processContextHashSnapshot = (k, v) => { + const E = this._contextHashes.get(k) + let R + if (E !== undefined && (R = getResolvedHash(E)) !== undefined) { + if (!checkHash(k, R, v)) { + invalid() + return + } + } else { + P++ + const callback = (E, P) => { + if (E) return invalidWithError(k, E) + if (!checkHash(k, P, v)) { + invalid() + } else { + jobDone() + } + } + if (E !== undefined) { + this._resolveContextHash(E, callback) + } else { + this.getContextHash(k, callback) + } + } + } + if (k.hasContextHashes()) { + const { contextHashes: v } = k + this._statTestedEntries += v.size + for (const [k, E] of v) { + processContextHashSnapshot(k, E) + } + } + if (k.hasContextTshs()) { + const { contextTshs: v } = k + this._statTestedEntries += v.size + for (const [k, E] of v) { + if (typeof E === 'string') { + processContextHashSnapshot(k, E) + } else { + const v = this._contextTimestamps.get(k) + if (v === 'ignore') continue + let R + if ( + v !== undefined && + (R = getResolvedTimestamp(v)) !== undefined + ) { + if (!checkContext(k, R, E, false)) { + processContextHashSnapshot(k, E && E.hash) + } + } else { + P++ + const callback = (v, P) => { + if (v) return invalidWithError(k, v) + if (!checkContext(k, P, E, false)) { + processContextHashSnapshot(k, E && E.hash) + } + jobDone() + } + if (v !== undefined) { + this._resolveContextTimestamp(v, callback) + } else { + this.getContextTimestamp(k, callback) + } + } + } + } + } + if (k.hasMissingExistence()) { + const { missingExistence: v } = k + this._statTestedEntries += v.size + for (const [k, E] of v) { + const v = this._fileTimestamps.get(k) + if (v !== undefined) { + if ( + v !== 'ignore' && + !checkExistence(k, Boolean(v), Boolean(E)) + ) { + invalid() + return + } + } else { + P++ + this.fileTimestampQueue.add(k, (v, P) => { + if (v) return invalidWithError(k, v) + if (!checkExistence(k, Boolean(P), Boolean(E))) { + invalid() + } else { + jobDone() + } + }) + } + } + } + if (k.hasManagedItemInfo()) { + const { managedItemInfo: v } = k + this._statTestedEntries += v.size + for (const [k, E] of v) { + const v = this._managedItems.get(k) + if (v !== undefined) { + if (!checkHash(k, v, E)) { + invalid() + return + } + } else { + P++ + this.managedItemQueue.add(k, (v, P) => { + if (v) return invalidWithError(k, v) + if (!checkHash(k, P, E)) { + invalid() + } else { + jobDone() + } + }) + } + } + } + jobDone() + if (P > 0) { + const E = [v] + v = (k, v) => { + for (const P of E) P(k, v) + } + this._snapshotCache.set(k, E) + } + } + _readFileTimestamp(k, v) { + this.fs.stat(k, (E, P) => { + if (E) { + if (E.code === 'ENOENT') { + this._fileTimestamps.set(k, null) + this._cachedDeprecatedFileTimestamps = undefined + return v(null, null) + } + return v(E) + } + let R + if (P.isDirectory()) { + R = { safeTime: 0, timestamp: undefined } + } else { + const k = +P.mtime + if (k) applyMtime(k) + R = { safeTime: k ? k + Ne : Infinity, timestamp: k } + } + this._fileTimestamps.set(k, R) + this._cachedDeprecatedFileTimestamps = undefined + v(null, R) + }) + } + _readFileHash(k, v) { + this.fs.readFile(k, (E, P) => { + if (E) { + if (E.code === 'EISDIR') { + this._fileHashes.set(k, 'directory') + return v(null, 'directory') + } + if (E.code === 'ENOENT') { + this._fileHashes.set(k, null) + return v(null, null) + } + if (E.code === 'ERR_FS_FILE_TOO_LARGE') { + this.logger.warn(`Ignoring ${k} for hashing as it's very large`) + this._fileHashes.set(k, 'too large') + return v(null, 'too large') + } + return v(E) + } + const R = le(this._hashFunction) + R.update(P) + const L = R.digest('hex') + this._fileHashes.set(k, L) + v(null, L) + }) + } + _getFileTimestampAndHash(k, v) { + const continueWithHash = (E) => { + const P = this._fileTimestamps.get(k) + if (P !== undefined) { + if (P !== 'ignore') { + const R = { ...P, hash: E } + this._fileTshs.set(k, R) + return v(null, R) + } else { + this._fileTshs.set(k, E) + return v(null, E) + } + } else { + this.fileTimestampQueue.add(k, (P, R) => { + if (P) { + return v(P) + } + const L = { ...R, hash: E } + this._fileTshs.set(k, L) + return v(null, L) + }) + } + } + const E = this._fileHashes.get(k) + if (E !== undefined) { + continueWithHash(E) + } else { + this.fileHashQueue.add(k, (k, E) => { + if (k) { + return v(k) + } + continueWithHash(E) + }) + } + } + _readContext( + { + path: k, + fromImmutablePath: v, + fromManagedItem: E, + fromSymlink: P, + fromFile: R, + fromDirectory: N, + reduce: q, + }, + ae + ) { + this.fs.readdir(k, (le, me) => { + if (le) { + if (le.code === 'ENOENT') { + return ae(null, null) + } + return ae(le) + } + const ye = me + .map((k) => k.normalize('NFC')) + .filter((k) => !/^\./.test(k)) + .sort() + L.map( + ye, + (L, q) => { + const ae = pe(this.fs, k, L) + for (const E of this.immutablePathsRegExps) { + if (E.test(k)) { + return q(null, v(k)) + } + } + for (const E of this.immutablePathsWithSlash) { + if (k.startsWith(E)) { + return q(null, v(k)) + } + } + for (const v of this.managedPathsRegExps) { + const P = v.exec(k) + if (P) { + const v = getManagedItem(P[1], k) + if (v) { + return this.managedItemQueue.add(v, (k, v) => { + if (k) return q(k) + return q(null, E(v)) + }) + } + } + } + for (const v of this.managedPathsWithSlash) { + if (k.startsWith(v)) { + const k = getManagedItem(v, ae) + if (k) { + return this.managedItemQueue.add(k, (k, v) => { + if (k) return q(k) + return q(null, E(v)) + }) + } + } + } + _e(this.fs, ae, (k, v) => { + if (k) return q(k) + if (typeof v === 'string') { + return P(ae, v, q) + } + if (v.isFile()) { + return R(ae, v, q) + } + if (v.isDirectory()) { + return N(ae, v, q) + } + q(null, null) + }) + }, + (k, v) => { + if (k) return ae(k) + const E = q(ye, v) + ae(null, E) + } + ) + }) + } + _readContextTimestamp(k, v) { + this._readContext( + { + path: k, + fromImmutablePath: () => null, + fromManagedItem: (k) => ({ safeTime: 0, timestampHash: k }), + fromSymlink: (k, v, E) => { + E(null, { timestampHash: v, symlinks: new Set([v]) }) + }, + fromFile: (k, v, E) => { + const P = this._fileTimestamps.get(k) + if (P !== undefined) return E(null, P === 'ignore' ? null : P) + const R = +v.mtime + if (R) applyMtime(R) + const L = { safeTime: R ? R + Ne : Infinity, timestamp: R } + this._fileTimestamps.set(k, L) + this._cachedDeprecatedFileTimestamps = undefined + E(null, L) + }, + fromDirectory: (k, v, E) => { + this.contextTimestampQueue.increaseParallelism() + this._getUnresolvedContextTimestamp(k, (k, v) => { + this.contextTimestampQueue.decreaseParallelism() + E(k, v) + }) + }, + reduce: (k, v) => { + let E = undefined + const P = le(this._hashFunction) + for (const v of k) P.update(v) + let R = 0 + for (const k of v) { + if (!k) { + P.update('n') + continue + } + if (k.timestamp) { + P.update('f') + P.update(`${k.timestamp}`) + } else if (k.timestampHash) { + P.update('d') + P.update(`${k.timestampHash}`) + } + if (k.symlinks !== undefined) { + if (E === undefined) E = new Set() + addAll(k.symlinks, E) + } + if (k.safeTime) { + R = Math.max(R, k.safeTime) + } + } + const L = P.digest('hex') + const N = { safeTime: R, timestampHash: L } + if (E) N.symlinks = E + return N + }, + }, + (E, P) => { + if (E) return v(E) + this._contextTimestamps.set(k, P) + this._cachedDeprecatedContextTimestamps = undefined + v(null, P) + } + ) + } + _resolveContextTimestamp(k, v) { + const E = [] + let P = 0 + Me( + k.symlinks, + 10, + (k, v, R) => { + this._getUnresolvedContextTimestamp(k, (k, L) => { + if (k) return R(k) + if (L && L !== 'ignore') { + E.push(L.timestampHash) + if (L.safeTime) { + P = Math.max(P, L.safeTime) + } + if (L.symlinks !== undefined) { + for (const k of L.symlinks) v(k) + } + } + R() + }) + }, + (R) => { + if (R) return v(R) + const L = le(this._hashFunction) + L.update(k.timestampHash) + if (k.safeTime) { + P = Math.max(P, k.safeTime) + } + E.sort() + for (const k of E) { + L.update(k) + } + v( + null, + (k.resolved = { safeTime: P, timestampHash: L.digest('hex') }) + ) + } + ) + } + _readContextHash(k, v) { + this._readContext( + { + path: k, + fromImmutablePath: () => '', + fromManagedItem: (k) => k || '', + fromSymlink: (k, v, E) => { + E(null, { hash: v, symlinks: new Set([v]) }) + }, + fromFile: (k, v, E) => + this.getFileHash(k, (k, v) => { + E(k, v || '') + }), + fromDirectory: (k, v, E) => { + this.contextHashQueue.increaseParallelism() + this._getUnresolvedContextHash(k, (k, v) => { + this.contextHashQueue.decreaseParallelism() + E(k, v || '') + }) + }, + reduce: (k, v) => { + let E = undefined + const P = le(this._hashFunction) + for (const v of k) P.update(v) + for (const k of v) { + if (typeof k === 'string') { + P.update(k) + } else { + P.update(k.hash) + if (k.symlinks) { + if (E === undefined) E = new Set() + addAll(k.symlinks, E) + } + } + } + const R = { hash: P.digest('hex') } + if (E) R.symlinks = E + return R + }, + }, + (E, P) => { + if (E) return v(E) + this._contextHashes.set(k, P) + return v(null, P) + } + ) + } + _resolveContextHash(k, v) { + const E = [] + Me( + k.symlinks, + 10, + (k, v, P) => { + this._getUnresolvedContextHash(k, (k, R) => { + if (k) return P(k) + if (R) { + E.push(R.hash) + if (R.symlinks !== undefined) { + for (const k of R.symlinks) v(k) + } + } + P() + }) + }, + (P) => { + if (P) return v(P) + const R = le(this._hashFunction) + R.update(k.hash) + E.sort() + for (const k of E) { + R.update(k) + } + v(null, (k.resolved = R.digest('hex'))) + } + ) + } + _readContextTimestampAndHash(k, v) { + const finalize = (E, P) => { + const R = E === 'ignore' ? P : { ...E, ...P } + this._contextTshs.set(k, R) + v(null, R) + } + const E = this._contextHashes.get(k) + const P = this._contextTimestamps.get(k) + if (E !== undefined) { + if (P !== undefined) { + finalize(P, E) + } else { + this.contextTimestampQueue.add(k, (k, P) => { + if (k) return v(k) + finalize(P, E) + }) + } + } else { + if (P !== undefined) { + this.contextHashQueue.add(k, (k, E) => { + if (k) return v(k) + finalize(P, E) + }) + } else { + this._readContext( + { + path: k, + fromImmutablePath: () => null, + fromManagedItem: (k) => ({ + safeTime: 0, + timestampHash: k, + hash: k || '', + }), + fromSymlink: (k, v, E) => { + E(null, { + timestampHash: v, + hash: v, + symlinks: new Set([v]), + }) + }, + fromFile: (k, v, E) => { + this._getFileTimestampAndHash(k, E) + }, + fromDirectory: (k, v, E) => { + this.contextTshQueue.increaseParallelism() + this.contextTshQueue.add(k, (k, v) => { + this.contextTshQueue.decreaseParallelism() + E(k, v) + }) + }, + reduce: (k, v) => { + let E = undefined + const P = le(this._hashFunction) + const R = le(this._hashFunction) + for (const v of k) { + P.update(v) + R.update(v) + } + let L = 0 + for (const k of v) { + if (!k) { + P.update('n') + continue + } + if (typeof k === 'string') { + P.update('n') + R.update(k) + continue + } + if (k.timestamp) { + P.update('f') + P.update(`${k.timestamp}`) + } else if (k.timestampHash) { + P.update('d') + P.update(`${k.timestampHash}`) + } + if (k.symlinks !== undefined) { + if (E === undefined) E = new Set() + addAll(k.symlinks, E) + } + if (k.safeTime) { + L = Math.max(L, k.safeTime) + } + R.update(k.hash) + } + const N = { + safeTime: L, + timestampHash: P.digest('hex'), + hash: R.digest('hex'), + } + if (E) N.symlinks = E + return N + }, + }, + (E, P) => { + if (E) return v(E) + this._contextTshs.set(k, P) + return v(null, P) + } + ) + } + } + } + _resolveContextTsh(k, v) { + const E = [] + const P = [] + let R = 0 + Me( + k.symlinks, + 10, + (k, v, L) => { + this._getUnresolvedContextTsh(k, (k, N) => { + if (k) return L(k) + if (N) { + E.push(N.hash) + if (N.timestampHash) P.push(N.timestampHash) + if (N.safeTime) { + R = Math.max(R, N.safeTime) + } + if (N.symlinks !== undefined) { + for (const k of N.symlinks) v(k) + } + } + L() + }) + }, + (L) => { + if (L) return v(L) + const N = le(this._hashFunction) + const q = le(this._hashFunction) + N.update(k.hash) + if (k.timestampHash) q.update(k.timestampHash) + if (k.safeTime) { + R = Math.max(R, k.safeTime) + } + E.sort() + for (const k of E) { + N.update(k) + } + P.sort() + for (const k of P) { + q.update(k) + } + v( + null, + (k.resolved = { + safeTime: R, + timestampHash: q.digest('hex'), + hash: N.digest('hex'), + }) + ) + } + ) + } + _getManagedItemDirectoryInfo(k, v) { + this.fs.readdir(k, (E, P) => { + if (E) { + if (E.code === 'ENOENT' || E.code === 'ENOTDIR') { + return v(null, Be) + } + return v(E) + } + const R = new Set(P.map((v) => pe(this.fs, k, v))) + v(null, R) + }) + } + _getManagedItemInfo(k, v) { + const E = me(this.fs, k) + this.managedItemDirectoryQueue.add(E, (E, P) => { + if (E) { + return v(E) + } + if (!P.has(k)) { + this._managedItems.set(k, '*missing') + return v(null, '*missing') + } + if ( + k.endsWith('node_modules') && + (k.endsWith('/node_modules') || k.endsWith('\\node_modules')) + ) { + this._managedItems.set(k, '*node_modules') + return v(null, '*node_modules') + } + const R = pe(this.fs, k, 'package.json') + this.fs.readFile(R, (E, P) => { + if (E) { + if (E.code === 'ENOENT' || E.code === 'ENOTDIR') { + this.fs.readdir(k, (E, P) => { + if (!E && P.length === 1 && P[0] === 'node_modules') { + this._managedItems.set(k, '*nested') + return v(null, '*nested') + } + this.logger.warn( + `Managed item ${k} isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)` + ) + return v() + }) + return + } + return v(E) + } + let L + try { + L = JSON.parse(P.toString('utf-8')) + } catch (k) { + return v(k) + } + if (!L.name) { + this.logger.warn( + `${R} doesn't contain a "name" property (see snapshot.managedPaths option)` + ) + return v() + } + const N = `${L.name || ''}@${L.version || ''}` + this._managedItems.set(k, N) + v(null, N) + }) + }) + } + getDeprecatedFileTimestamps() { + if (this._cachedDeprecatedFileTimestamps !== undefined) + return this._cachedDeprecatedFileTimestamps + const k = new Map() + for (const [v, E] of this._fileTimestamps) { + if (E) k.set(v, typeof E === 'object' ? E.safeTime : null) + } + return (this._cachedDeprecatedFileTimestamps = k) + } + getDeprecatedContextTimestamps() { + if (this._cachedDeprecatedContextTimestamps !== undefined) + return this._cachedDeprecatedContextTimestamps + const k = new Map() + for (const [v, E] of this._contextTimestamps) { + if (E) k.set(v, typeof E === 'object' ? E.safeTime : null) + } + return (this._cachedDeprecatedContextTimestamps = k) + } + } + k.exports = FileSystemInfo + k.exports.Snapshot = Snapshot + }, + 17092: function (k, v, E) { + 'use strict' + const { getEntryRuntime: P, mergeRuntimeOwned: R } = E(1540) + const L = 'FlagAllModulesAsUsedPlugin' + class FlagAllModulesAsUsedPlugin { + constructor(k) { + this.explanation = k + } + apply(k) { + k.hooks.compilation.tap(L, (k) => { + const v = k.moduleGraph + k.hooks.optimizeDependencies.tap(L, (E) => { + let L = undefined + for (const [v, { options: E }] of k.entries) { + L = R(L, P(k, v, E)) + } + for (const k of E) { + const E = v.getExportsInfo(k) + E.setUsedInUnknownWay(L) + v.addExtraReason(k, this.explanation) + if (k.factoryMeta === undefined) { + k.factoryMeta = {} + } + k.factoryMeta.sideEffectFree = false + } + }) + }) + } + } + k.exports = FlagAllModulesAsUsedPlugin + }, + 13893: function (k, v, E) { + 'use strict' + const P = E(78175) + const R = E(28226) + const L = 'FlagDependencyExportsPlugin' + const N = `webpack.${L}` + class FlagDependencyExportsPlugin { + apply(k) { + k.hooks.compilation.tap(L, (k) => { + const v = k.moduleGraph + const E = k.getCache(L) + k.hooks.finishModules.tapAsync(L, (L, q) => { + const ae = k.getLogger(N) + let le = 0 + let pe = 0 + let me = 0 + let ye = 0 + let _e = 0 + let Ie = 0 + const { moduleMemCaches: Me } = k + const Te = new R() + ae.time('restore cached provided exports') + P.each( + L, + (k, P) => { + const R = v.getExportsInfo(k) + if (!k.buildMeta || !k.buildMeta.exportsType) { + if (R.otherExportsInfo.provided !== null) { + me++ + R.setHasProvideInfo() + R.setUnknownExportsProvided() + return P() + } + } + if (typeof k.buildInfo.hash !== 'string') { + ye++ + Te.enqueue(k) + R.setHasProvideInfo() + return P() + } + const L = Me && Me.get(k) + const N = L && L.get(this) + if (N !== undefined) { + le++ + R.restoreProvided(N) + return P() + } + E.get(k.identifier(), k.buildInfo.hash, (v, E) => { + if (v) return P(v) + if (E !== undefined) { + pe++ + R.restoreProvided(E) + } else { + _e++ + Te.enqueue(k) + R.setHasProvideInfo() + } + P() + }) + }, + (k) => { + ae.timeEnd('restore cached provided exports') + if (k) return q(k) + const R = new Set() + const L = new Map() + let N + let je + const Ne = new Map() + let Be = true + let qe = false + const processDependenciesBlock = (k) => { + for (const v of k.dependencies) { + processDependency(v) + } + for (const v of k.blocks) { + processDependenciesBlock(v) + } + } + const processDependency = (k) => { + const E = k.getExports(v) + if (!E) return + Ne.set(k, E) + } + const processExportsSpec = (k, E) => { + const P = E.exports + const R = E.canMangle + const q = E.from + const ae = E.priority + const le = E.terminalBinding || false + const pe = E.dependencies + if (E.hideExports) { + for (const v of E.hideExports) { + const E = je.getExportInfo(v) + E.unsetTarget(k) + } + } + if (P === true) { + if ( + je.setUnknownExportsProvided( + R, + E.excludeExports, + q && k, + q, + ae + ) + ) { + qe = true + } + } else if (Array.isArray(P)) { + const mergeExports = (E, P) => { + for (const pe of P) { + let P + let me = R + let ye = le + let _e = undefined + let Ie = q + let Me = undefined + let Te = ae + let je = false + if (typeof pe === 'string') { + P = pe + } else { + P = pe.name + if (pe.canMangle !== undefined) me = pe.canMangle + if (pe.export !== undefined) Me = pe.export + if (pe.exports !== undefined) _e = pe.exports + if (pe.from !== undefined) Ie = pe.from + if (pe.priority !== undefined) Te = pe.priority + if (pe.terminalBinding !== undefined) + ye = pe.terminalBinding + if (pe.hidden !== undefined) je = pe.hidden + } + const Ne = E.getExportInfo(P) + if (Ne.provided === false || Ne.provided === null) { + Ne.provided = true + qe = true + } + if (Ne.canMangleProvide !== false && me === false) { + Ne.canMangleProvide = false + qe = true + } + if (ye && !Ne.terminalBinding) { + Ne.terminalBinding = true + qe = true + } + if (_e) { + const k = Ne.createNestedExportsInfo() + mergeExports(k, _e) + } + if ( + Ie && + (je + ? Ne.unsetTarget(k) + : Ne.setTarget( + k, + Ie, + Me === undefined ? [P] : Me, + Te + )) + ) { + qe = true + } + const Be = Ne.getTarget(v) + let Ue = undefined + if (Be) { + const k = v.getExportsInfo(Be.module) + Ue = k.getNestedExportsInfo(Be.export) + const E = L.get(Be.module) + if (E === undefined) { + L.set(Be.module, new Set([N])) + } else { + E.add(N) + } + } + if (Ne.exportsInfoOwned) { + if (Ne.exportsInfo.setRedirectNamedTo(Ue)) { + qe = true + } + } else if (Ne.exportsInfo !== Ue) { + Ne.exportsInfo = Ue + qe = true + } + } + } + mergeExports(je, P) + } + if (pe) { + Be = false + for (const k of pe) { + const v = L.get(k) + if (v === undefined) { + L.set(k, new Set([N])) + } else { + v.add(N) + } + } + } + } + const notifyDependencies = () => { + const k = L.get(N) + if (k !== undefined) { + for (const v of k) { + Te.enqueue(v) + } + } + } + ae.time('figure out provided exports') + while (Te.length > 0) { + N = Te.dequeue() + Ie++ + je = v.getExportsInfo(N) + Be = true + qe = false + Ne.clear() + v.freeze() + processDependenciesBlock(N) + v.unfreeze() + for (const [k, v] of Ne) { + processExportsSpec(k, v) + } + if (Be) { + R.add(N) + } + if (qe) { + notifyDependencies() + } + } + ae.timeEnd('figure out provided exports') + ae.log( + `${Math.round( + (100 * (ye + _e)) / (le + pe + _e + ye + me) + )}% of exports of modules have been determined (${me} no declared exports, ${_e} not cached, ${ye} flagged uncacheable, ${pe} from cache, ${le} from mem cache, ${ + Ie - _e - ye + } additional calculations due to dependencies)` + ) + ae.time('store provided exports into cache') + P.each( + R, + (k, P) => { + if (typeof k.buildInfo.hash !== 'string') { + return P() + } + const R = v.getExportsInfo(k).getRestoreProvidedData() + const L = Me && Me.get(k) + if (L) { + L.set(this, R) + } + E.store(k.identifier(), k.buildInfo.hash, R, P) + }, + (k) => { + ae.timeEnd('store provided exports into cache') + q(k) + } + ) + } + ) + }) + const q = new WeakMap() + k.hooks.rebuildModule.tap(L, (k) => { + q.set(k, v.getExportsInfo(k).getRestoreProvidedData()) + }) + k.hooks.finishRebuildingModule.tap(L, (k) => { + v.getExportsInfo(k).restoreProvided(q.get(k)) + }) + }) + } + } + k.exports = FlagDependencyExportsPlugin + }, + 25984: function (k, v, E) { + 'use strict' + const P = E(16848) + const { UsageState: R } = E(11172) + const L = E(86267) + const { STAGE_DEFAULT: N } = E(99134) + const q = E(12970) + const ae = E(19361) + const { getEntryRuntime: le, mergeRuntimeOwned: pe } = E(1540) + const { NO_EXPORTS_REFERENCED: me, EXPORTS_OBJECT_REFERENCED: ye } = P + const _e = 'FlagDependencyUsagePlugin' + const Ie = `webpack.${_e}` + class FlagDependencyUsagePlugin { + constructor(k) { + this.global = k + } + apply(k) { + k.hooks.compilation.tap(_e, (k) => { + const v = k.moduleGraph + k.hooks.optimizeDependencies.tap({ name: _e, stage: N }, (E) => { + if (k.moduleMemCaches) { + throw new Error( + "optimization.usedExports can't be used with cacheUnaffected as export usage is a global effect" + ) + } + const P = k.getLogger(Ie) + const N = new Map() + const _e = new ae() + const processReferencedModule = (k, E, P, L) => { + const q = v.getExportsInfo(k) + if (E.length > 0) { + if (!k.buildMeta || !k.buildMeta.exportsType) { + if (q.setUsedWithoutInfo(P)) { + _e.enqueue(k, P) + } + return + } + for (const v of E) { + let E + let L = true + if (Array.isArray(v)) { + E = v + } else { + E = v.name + L = v.canMangle !== false + } + if (E.length === 0) { + if (q.setUsedInUnknownWay(P)) { + _e.enqueue(k, P) + } + } else { + let v = q + for (let ae = 0; ae < E.length; ae++) { + const le = v.getExportInfo(E[ae]) + if (L === false) { + le.canMangleUse = false + } + const pe = ae === E.length - 1 + if (!pe) { + const E = le.getNestedExportsInfo() + if (E) { + if ( + le.setUsedConditionally( + (k) => k === R.Unused, + R.OnlyPropertiesUsed, + P + ) + ) { + const E = v === q ? k : N.get(v) + if (E) { + _e.enqueue(E, P) + } + } + v = E + continue + } + } + if ( + le.setUsedConditionally( + (k) => k !== R.Used, + R.Used, + P + ) + ) { + const E = v === q ? k : N.get(v) + if (E) { + _e.enqueue(E, P) + } + } + break + } + } + } + } else { + if ( + !L && + k.factoryMeta !== undefined && + k.factoryMeta.sideEffectFree + ) { + return + } + if (q.setUsedForSideEffectsOnly(P)) { + _e.enqueue(k, P) + } + } + } + const processModule = (E, P, R) => { + const N = new Map() + const ae = new q() + ae.enqueue(E) + for (;;) { + const E = ae.dequeue() + if (E === undefined) break + for (const k of E.blocks) { + if ( + !this.global && + k.groupOptions && + k.groupOptions.entryOptions + ) { + processModule( + k, + k.groupOptions.entryOptions.runtime || undefined, + true + ) + } else { + ae.enqueue(k) + } + } + for (const R of E.dependencies) { + const E = v.getConnection(R) + if (!E || !E.module) { + continue + } + const q = E.getActiveState(P) + if (q === false) continue + const { module: ae } = E + if (q === L.TRANSITIVE_ONLY) { + processModule(ae, P, false) + continue + } + const le = N.get(ae) + if (le === ye) { + continue + } + const pe = k.getDependencyReferencedExports(R, P) + if (le === undefined || le === me || pe === ye) { + N.set(ae, pe) + } else if (le !== undefined && pe === me) { + continue + } else { + let k + if (Array.isArray(le)) { + k = new Map() + for (const v of le) { + if (Array.isArray(v)) { + k.set(v.join('\n'), v) + } else { + k.set(v.name.join('\n'), v) + } + } + N.set(ae, k) + } else { + k = le + } + for (const v of pe) { + if (Array.isArray(v)) { + const E = v.join('\n') + const P = k.get(E) + if (P === undefined) { + k.set(E, v) + } + } else { + const E = v.name.join('\n') + const P = k.get(E) + if (P === undefined || Array.isArray(P)) { + k.set(E, v) + } else { + k.set(E, { + name: v.name, + canMangle: v.canMangle && P.canMangle, + }) + } + } + } + } + } + } + for (const [k, v] of N) { + if (Array.isArray(v)) { + processReferencedModule(k, v, P, R) + } else { + processReferencedModule(k, Array.from(v.values()), P, R) + } + } + } + P.time('initialize exports usage') + for (const k of E) { + const E = v.getExportsInfo(k) + N.set(E, k) + E.setHasUseInfo() + } + P.timeEnd('initialize exports usage') + P.time('trace exports usage in graph') + const processEntryDependency = (k, E) => { + const P = v.getModule(k) + if (P) { + processReferencedModule(P, me, E, true) + } + } + let Me = undefined + for (const [ + v, + { dependencies: E, includeDependencies: P, options: R }, + ] of k.entries) { + const L = this.global ? undefined : le(k, v, R) + for (const k of E) { + processEntryDependency(k, L) + } + for (const k of P) { + processEntryDependency(k, L) + } + Me = pe(Me, L) + } + for (const v of k.globalEntry.dependencies) { + processEntryDependency(v, Me) + } + for (const v of k.globalEntry.includeDependencies) { + processEntryDependency(v, Me) + } + while (_e.length) { + const [k, v] = _e.dequeue() + processModule(k, v, false) + } + P.timeEnd('trace exports usage in graph') + }) + }) + } + } + k.exports = FlagDependencyUsagePlugin + }, + 91597: function (k, v, E) { + 'use strict' + class Generator { + static byType(k) { + return new ByTypeGenerator(k) + } + getTypes(k) { + const v = E(60386) + throw new v() + } + getSize(k, v) { + const P = E(60386) + throw new P() + } + generate( + k, + { + dependencyTemplates: v, + runtimeTemplate: P, + moduleGraph: R, + type: L, + } + ) { + const N = E(60386) + throw new N() + } + getConcatenationBailoutReason(k, v) { + return `Module Concatenation is not implemented for ${this.constructor.name}` + } + updateHash(k, { module: v, runtime: E }) {} + } + class ByTypeGenerator extends Generator { + constructor(k) { + super() + this.map = k + this._types = new Set(Object.keys(k)) + } + getTypes(k) { + return this._types + } + getSize(k, v) { + const E = v || 'javascript' + const P = this.map[E] + return P ? P.getSize(k, E) : 0 + } + generate(k, v) { + const E = v.type + const P = this.map[E] + if (!P) { + throw new Error(`Generator.byType: no generator specified for ${E}`) + } + return P.generate(k, v) + } + } + k.exports = Generator + }, + 18467: function (k, v) { + 'use strict' + const connectChunkGroupAndChunk = (k, v) => { + if (k.pushChunk(v)) { + v.addGroup(k) + } + } + const connectChunkGroupParentAndChild = (k, v) => { + if (k.addChild(v)) { + v.addParent(k) + } + } + v.connectChunkGroupAndChunk = connectChunkGroupAndChunk + v.connectChunkGroupParentAndChild = connectChunkGroupParentAndChild + }, + 36473: function (k, v, E) { + 'use strict' + const P = E(71572) + k.exports = class HarmonyLinkingError extends P { + constructor(k) { + super(k) + this.name = 'HarmonyLinkingError' + this.hideStack = true + } + } + }, + 82104: function (k, v, E) { + 'use strict' + const P = E(71572) + class HookWebpackError extends P { + constructor(k, v) { + super(k.message) + this.name = 'HookWebpackError' + this.hook = v + this.error = k + this.hideStack = true + this.details = `caused by plugins in ${v}\n${k.stack}` + this.stack += `\n-- inner error --\n${k.stack}` + } + } + k.exports = HookWebpackError + const makeWebpackError = (k, v) => { + if (k instanceof P) return k + return new HookWebpackError(k, v) + } + k.exports.makeWebpackError = makeWebpackError + const makeWebpackErrorCallback = (k, v) => (E, R) => { + if (E) { + if (E instanceof P) { + k(E) + return + } + k(new HookWebpackError(E, v)) + return + } + k(null, R) + } + k.exports.makeWebpackErrorCallback = makeWebpackErrorCallback + const tryRunOrWebpackError = (k, v) => { + let E + try { + E = k() + } catch (k) { + if (k instanceof P) { + throw k + } + throw new HookWebpackError(k, v) + } + return E + } + k.exports.tryRunOrWebpackError = tryRunOrWebpackError + }, + 29898: function (k, v, E) { + 'use strict' + const { SyncBailHook: P } = E(79846) + const { RawSource: R } = E(51255) + const L = E(38317) + const N = E(27747) + const q = E(95733) + const ae = E(38224) + const le = E(56727) + const pe = E(71572) + const me = E(60381) + const ye = E(40867) + const _e = E(83894) + const Ie = E(77691) + const Me = E(90563) + const Te = E(55223) + const je = E(81532) + const { evaluateToIdentifier: Ne } = E(80784) + const { find: Be, isSubset: qe } = E(59959) + const Ue = E(71307) + const { compareModulesById: Ge } = E(95648) + const { + getRuntimeKey: He, + keyToRuntime: We, + forEachRuntime: Qe, + mergeRuntimeOwned: Je, + subtractRuntime: Ve, + intersectRuntime: Ke, + } = E(1540) + const { + JAVASCRIPT_MODULE_TYPE_AUTO: Ye, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: Xe, + JAVASCRIPT_MODULE_TYPE_ESM: Ze, + WEBPACK_MODULE_TYPE_RUNTIME: et, + } = E(93622) + const tt = new WeakMap() + const nt = 'HotModuleReplacementPlugin' + class HotModuleReplacementPlugin { + static getParserHooks(k) { + if (!(k instanceof je)) { + throw new TypeError( + "The 'parser' argument must be an instance of JavascriptParser" + ) + } + let v = tt.get(k) + if (v === undefined) { + v = { + hotAcceptCallback: new P(['expression', 'requests']), + hotAcceptWithoutCallback: new P(['expression', 'requests']), + } + tt.set(k, v) + } + return v + } + constructor(k) { + this.options = k || {} + } + apply(k) { + const { _backCompat: v } = k + if (k.options.output.strictModuleErrorHandling === undefined) + k.options.output.strictModuleErrorHandling = true + const E = [le.module] + const createAcceptHandler = (k, v) => { + const { hotAcceptCallback: P, hotAcceptWithoutCallback: R } = + HotModuleReplacementPlugin.getParserHooks(k) + return (L) => { + const N = k.state.module + const q = new me( + `${N.moduleArgument}.hot.accept`, + L.callee.range, + E + ) + q.loc = L.loc + N.addPresentationalDependency(q) + N.buildInfo.moduleConcatenationBailout = 'Hot Module Replacement' + if (L.arguments.length >= 1) { + const E = k.evaluateExpression(L.arguments[0]) + let q = [] + let ae = [] + if (E.isString()) { + q = [E] + } else if (E.isArray()) { + q = E.items.filter((k) => k.isString()) + } + if (q.length > 0) { + q.forEach((k, E) => { + const P = k.string + const R = new v(P, k.range) + R.optional = true + R.loc = Object.create(L.loc) + R.loc.index = E + N.addDependency(R) + ae.push(P) + }) + if (L.arguments.length > 1) { + P.call(L.arguments[1], ae) + for (let v = 1; v < L.arguments.length; v++) { + k.walkExpression(L.arguments[v]) + } + return true + } else { + R.call(L, ae) + return true + } + } + } + k.walkExpressions(L.arguments) + return true + } + } + const createDeclineHandler = (k, v) => (P) => { + const R = k.state.module + const L = new me( + `${R.moduleArgument}.hot.decline`, + P.callee.range, + E + ) + L.loc = P.loc + R.addPresentationalDependency(L) + R.buildInfo.moduleConcatenationBailout = 'Hot Module Replacement' + if (P.arguments.length === 1) { + const E = k.evaluateExpression(P.arguments[0]) + let L = [] + if (E.isString()) { + L = [E] + } else if (E.isArray()) { + L = E.items.filter((k) => k.isString()) + } + L.forEach((k, E) => { + const L = new v(k.string, k.range) + L.optional = true + L.loc = Object.create(P.loc) + L.loc.index = E + R.addDependency(L) + }) + } + return true + } + const createHMRExpressionHandler = (k) => (v) => { + const P = k.state.module + const R = new me(`${P.moduleArgument}.hot`, v.range, E) + R.loc = v.loc + P.addPresentationalDependency(R) + P.buildInfo.moduleConcatenationBailout = 'Hot Module Replacement' + return true + } + const applyModuleHot = (k) => { + k.hooks.evaluateIdentifier + .for('module.hot') + .tap({ name: nt, before: 'NodeStuffPlugin' }, (k) => + Ne('module.hot', 'module', () => ['hot'], true)(k) + ) + k.hooks.call + .for('module.hot.accept') + .tap(nt, createAcceptHandler(k, Ie)) + k.hooks.call + .for('module.hot.decline') + .tap(nt, createDeclineHandler(k, Me)) + k.hooks.expression + .for('module.hot') + .tap(nt, createHMRExpressionHandler(k)) + } + const applyImportMetaHot = (k) => { + k.hooks.evaluateIdentifier + .for('import.meta.webpackHot') + .tap(nt, (k) => + Ne( + 'import.meta.webpackHot', + 'import.meta', + () => ['webpackHot'], + true + )(k) + ) + k.hooks.call + .for('import.meta.webpackHot.accept') + .tap(nt, createAcceptHandler(k, ye)) + k.hooks.call + .for('import.meta.webpackHot.decline') + .tap(nt, createDeclineHandler(k, _e)) + k.hooks.expression + .for('import.meta.webpackHot') + .tap(nt, createHMRExpressionHandler(k)) + } + k.hooks.compilation.tap(nt, (E, { normalModuleFactory: P }) => { + if (E.compiler !== k) return + E.dependencyFactories.set(Ie, P) + E.dependencyTemplates.set(Ie, new Ie.Template()) + E.dependencyFactories.set(Me, P) + E.dependencyTemplates.set(Me, new Me.Template()) + E.dependencyFactories.set(ye, P) + E.dependencyTemplates.set(ye, new ye.Template()) + E.dependencyFactories.set(_e, P) + E.dependencyTemplates.set(_e, new _e.Template()) + let me = 0 + const je = {} + const Ne = {} + E.hooks.record.tap(nt, (k, v) => { + if (v.hash === k.hash) return + const E = k.chunkGraph + v.hash = k.hash + v.hotIndex = me + v.fullHashChunkModuleHashes = je + v.chunkModuleHashes = Ne + v.chunkHashes = {} + v.chunkRuntime = {} + for (const E of k.chunks) { + v.chunkHashes[E.id] = E.hash + v.chunkRuntime[E.id] = He(E.runtime) + } + v.chunkModuleIds = {} + for (const P of k.chunks) { + v.chunkModuleIds[P.id] = Array.from( + E.getOrderedChunkModulesIterable(P, Ge(E)), + (k) => E.getModuleId(k) + ) + } + }) + const tt = new Ue() + const st = new Ue() + const rt = new Ue() + E.hooks.fullHash.tap(nt, (k) => { + const v = E.chunkGraph + const P = E.records + for (const k of E.chunks) { + const getModuleHash = (P) => { + if (E.codeGenerationResults.has(P, k.runtime)) { + return E.codeGenerationResults.getHash(P, k.runtime) + } else { + rt.add(P, k.runtime) + return v.getModuleHash(P, k.runtime) + } + } + const R = v.getChunkFullHashModulesSet(k) + if (R !== undefined) { + for (const v of R) { + st.add(v, k) + } + } + const L = v.getChunkModulesIterable(k) + if (L !== undefined) { + if (P.chunkModuleHashes) { + if (R !== undefined) { + for (const v of L) { + const E = `${k.id}|${v.identifier()}` + const L = getModuleHash(v) + if (R.has(v)) { + if (P.fullHashChunkModuleHashes[E] !== L) { + tt.add(v, k) + } + je[E] = L + } else { + if (P.chunkModuleHashes[E] !== L) { + tt.add(v, k) + } + Ne[E] = L + } + } + } else { + for (const v of L) { + const E = `${k.id}|${v.identifier()}` + const R = getModuleHash(v) + if (P.chunkModuleHashes[E] !== R) { + tt.add(v, k) + } + Ne[E] = R + } + } + } else { + if (R !== undefined) { + for (const v of L) { + const E = `${k.id}|${v.identifier()}` + const P = getModuleHash(v) + if (R.has(v)) { + je[E] = P + } else { + Ne[E] = P + } + } + } else { + for (const v of L) { + const E = `${k.id}|${v.identifier()}` + const P = getModuleHash(v) + Ne[E] = P + } + } + } + } + } + me = P.hotIndex || 0 + if (tt.size > 0) me++ + k.update(`${me}`) + }) + E.hooks.processAssets.tap( + { name: nt, stage: N.PROCESS_ASSETS_STAGE_ADDITIONAL }, + () => { + const k = E.chunkGraph + const P = E.records + if (P.hash === E.hash) return + if ( + !P.chunkModuleHashes || + !P.chunkHashes || + !P.chunkModuleIds + ) { + return + } + for (const [v, R] of st) { + const L = `${R.id}|${v.identifier()}` + const N = rt.has(v, R.runtime) + ? k.getModuleHash(v, R.runtime) + : E.codeGenerationResults.getHash(v, R.runtime) + if (P.chunkModuleHashes[L] !== N) { + tt.add(v, R) + } + Ne[L] = N + } + const N = new Map() + let ae + for (const k of Object.keys(P.chunkRuntime)) { + const v = We(P.chunkRuntime[k]) + ae = Je(ae, v) + } + Qe(ae, (k) => { + const { path: v, info: R } = E.getPathWithInfo( + E.outputOptions.hotUpdateMainFilename, + { hash: P.hash, runtime: k } + ) + N.set(k, { + updatedChunkIds: new Set(), + removedChunkIds: new Set(), + removedModules: new Set(), + filename: v, + assetInfo: R, + }) + }) + if (N.size === 0) return + const le = new Map() + for (const v of E.modules) { + const E = k.getModuleId(v) + le.set(E, v) + } + const me = new Set() + for (const R of Object.keys(P.chunkHashes)) { + const pe = We(P.chunkRuntime[R]) + const ye = [] + for (const k of P.chunkModuleIds[R]) { + const v = le.get(k) + if (v === undefined) { + me.add(k) + } else { + ye.push(v) + } + } + let _e + let Ie + let Me + let Te + let je + let Ne + let qe + const Ue = Be(E.chunks, (k) => `${k.id}` === R) + if (Ue) { + _e = Ue.id + Ne = Ke(Ue.runtime, ae) + if (Ne === undefined) continue + Ie = k.getChunkModules(Ue).filter((k) => tt.has(k, Ue)) + Me = Array.from( + k.getChunkRuntimeModulesIterable(Ue) + ).filter((k) => tt.has(k, Ue)) + const v = k.getChunkFullHashModulesIterable(Ue) + Te = v && Array.from(v).filter((k) => tt.has(k, Ue)) + const E = k.getChunkDependentHashModulesIterable(Ue) + je = E && Array.from(E).filter((k) => tt.has(k, Ue)) + qe = Ve(pe, Ne) + } else { + _e = `${+R}` === R ? +R : R + qe = pe + Ne = pe + } + if (qe) { + Qe(qe, (k) => { + N.get(k).removedChunkIds.add(_e) + }) + for (const v of ye) { + const L = `${R}|${v.identifier()}` + const q = P.chunkModuleHashes[L] + const ae = k.getModuleRuntimes(v) + if (pe === Ne && ae.has(Ne)) { + const P = rt.has(v, Ne) + ? k.getModuleHash(v, Ne) + : E.codeGenerationResults.getHash(v, Ne) + if (P !== q) { + if (v.type === et) { + Me = Me || [] + Me.push(v) + } else { + Ie = Ie || [] + Ie.push(v) + } + } + } else { + Qe(qe, (k) => { + for (const v of ae) { + if (typeof v === 'string') { + if (v === k) return + } else if (v !== undefined) { + if (v.has(k)) return + } + } + N.get(k).removedModules.add(v) + }) + } + } + } + if ((Ie && Ie.length > 0) || (Me && Me.length > 0)) { + const R = new q() + if (v) L.setChunkGraphForChunk(R, k) + R.id = _e + R.runtime = Ne + if (Ue) { + for (const k of Ue.groupsIterable) R.addGroup(k) + } + k.attachModules(R, Ie || []) + k.attachRuntimeModules(R, Me || []) + if (Te) { + k.attachFullHashModules(R, Te) + } + if (je) { + k.attachDependentHashModules(R, je) + } + const ae = E.getRenderManifest({ + chunk: R, + hash: P.hash, + fullHash: P.hash, + outputOptions: E.outputOptions, + moduleTemplates: E.moduleTemplates, + dependencyTemplates: E.dependencyTemplates, + codeGenerationResults: E.codeGenerationResults, + runtimeTemplate: E.runtimeTemplate, + moduleGraph: E.moduleGraph, + chunkGraph: k, + }) + for (const k of ae) { + let v + let P + if ('filename' in k) { + v = k.filename + P = k.info + } else { + ;({ path: v, info: P } = E.getPathWithInfo( + k.filenameTemplate, + k.pathOptions + )) + } + const R = k.render() + E.additionalChunkAssets.push(v) + E.emitAsset(v, R, { hotModuleReplacement: true, ...P }) + if (Ue) { + Ue.files.add(v) + E.hooks.chunkAsset.call(Ue, v) + } + } + Qe(Ne, (k) => { + N.get(k).updatedChunkIds.add(_e) + }) + } + } + const ye = Array.from(me) + const _e = new Map() + for (const { + removedChunkIds: k, + removedModules: v, + updatedChunkIds: P, + filename: R, + assetInfo: L, + } of N.values()) { + const N = _e.get(R) + if ( + N && + (!qe(N.removedChunkIds, k) || + !qe(N.removedModules, v) || + !qe(N.updatedChunkIds, P)) + ) { + E.warnings.push( + new pe( + `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 v of k) N.removedChunkIds.add(v) + for (const k of v) N.removedModules.add(k) + for (const k of P) N.updatedChunkIds.add(k) + continue + } + _e.set(R, { + removedChunkIds: k, + removedModules: v, + updatedChunkIds: P, + assetInfo: L, + }) + } + for (const [ + v, + { + removedChunkIds: P, + removedModules: L, + updatedChunkIds: N, + assetInfo: q, + }, + ] of _e) { + const ae = { + c: Array.from(N), + r: Array.from(P), + m: + L.size === 0 + ? ye + : ye.concat(Array.from(L, (v) => k.getModuleId(v))), + } + const le = new R(JSON.stringify(ae)) + E.emitAsset(v, le, { hotModuleReplacement: true, ...q }) + } + } + ) + E.hooks.additionalTreeRuntimeRequirements.tap(nt, (k, v) => { + v.add(le.hmrDownloadManifest) + v.add(le.hmrDownloadUpdateHandlers) + v.add(le.interceptModuleExecution) + v.add(le.moduleCache) + E.addRuntimeModule(k, new Te()) + }) + P.hooks.parser.for(Ye).tap(nt, (k) => { + applyModuleHot(k) + applyImportMetaHot(k) + }) + P.hooks.parser.for(Xe).tap(nt, (k) => { + applyModuleHot(k) + }) + P.hooks.parser.for(Ze).tap(nt, (k) => { + applyImportMetaHot(k) + }) + ae.getCompilationHooks(E).loader.tap(nt, (k) => { + k.hot = true + }) + }) + } + } + k.exports = HotModuleReplacementPlugin + }, + 95733: function (k, v, E) { + 'use strict' + const P = E(8247) + class HotUpdateChunk extends P { + constructor() { + super() + } + } + k.exports = HotUpdateChunk + }, + 95224: function (k, v, E) { + 'use strict' + const P = E(66043) + class IgnoreErrorModuleFactory extends P { + constructor(k) { + super() + this.normalModuleFactory = k + } + create(k, v) { + this.normalModuleFactory.create(k, (k, E) => v(null, E)) + } + } + k.exports = IgnoreErrorModuleFactory + }, + 69200: function (k, v, E) { + 'use strict' + const P = E(92198) + const R = P(E(4552), () => E(19134), { + name: 'Ignore Plugin', + baseDataPath: 'options', + }) + class IgnorePlugin { + constructor(k) { + R(k) + this.options = k + this.checkIgnore = this.checkIgnore.bind(this) + } + checkIgnore(k) { + if ( + 'checkResource' in this.options && + this.options.checkResource && + this.options.checkResource(k.request, k.context) + ) { + return false + } + if ( + 'resourceRegExp' in this.options && + this.options.resourceRegExp && + this.options.resourceRegExp.test(k.request) + ) { + if ('contextRegExp' in this.options && this.options.contextRegExp) { + if (this.options.contextRegExp.test(k.context)) { + return false + } + } else { + return false + } + } + } + apply(k) { + k.hooks.normalModuleFactory.tap('IgnorePlugin', (k) => { + k.hooks.beforeResolve.tap('IgnorePlugin', this.checkIgnore) + }) + k.hooks.contextModuleFactory.tap('IgnorePlugin', (k) => { + k.hooks.beforeResolve.tap('IgnorePlugin', this.checkIgnore) + }) + } + } + k.exports = IgnorePlugin + }, + 21324: function (k) { + 'use strict' + class IgnoreWarningsPlugin { + constructor(k) { + this._ignoreWarnings = k + } + apply(k) { + k.hooks.compilation.tap('IgnoreWarningsPlugin', (k) => { + k.hooks.processWarnings.tap('IgnoreWarningsPlugin', (v) => + v.filter((v) => !this._ignoreWarnings.some((E) => E(v, k))) + ) + }) + } + } + k.exports = IgnoreWarningsPlugin + }, + 88113: function (k, v, E) { + 'use strict' + const { ConcatSource: P } = E(51255) + const R = E(58528) + const extractFragmentIndex = (k, v) => [k, v] + const sortFragmentWithIndex = ([k, v], [E, P]) => { + const R = k.stage - E.stage + if (R !== 0) return R + const L = k.position - E.position + if (L !== 0) return L + return v - P + } + class InitFragment { + constructor(k, v, E, P, R) { + this.content = k + this.stage = v + this.position = E + this.key = P + this.endContent = R + } + getContent(k) { + return this.content + } + getEndContent(k) { + return this.endContent + } + static addToSource(k, v, E) { + if (v.length > 0) { + const R = v.map(extractFragmentIndex).sort(sortFragmentWithIndex) + const L = new Map() + for (const [k] of R) { + if (typeof k.mergeAll === 'function') { + if (!k.key) { + throw new Error( + `InitFragment with mergeAll function must have a valid key: ${k.constructor.name}` + ) + } + const v = L.get(k.key) + if (v === undefined) { + L.set(k.key, k) + } else if (Array.isArray(v)) { + v.push(k) + } else { + L.set(k.key, [v, k]) + } + continue + } else if (typeof k.merge === 'function') { + const v = L.get(k.key) + if (v !== undefined) { + L.set(k.key, k.merge(v)) + continue + } + } + L.set(k.key || Symbol(), k) + } + const N = new P() + const q = [] + for (let k of L.values()) { + if (Array.isArray(k)) { + k = k[0].mergeAll(k) + } + N.add(k.getContent(E)) + const v = k.getEndContent(E) + if (v) { + q.push(v) + } + } + N.add(k) + for (const k of q.reverse()) { + N.add(k) + } + return N + } else { + return k + } + } + serialize(k) { + const { write: v } = k + v(this.content) + v(this.stage) + v(this.position) + v(this.key) + v(this.endContent) + } + deserialize(k) { + const { read: v } = k + this.content = v() + this.stage = v() + this.position = v() + this.key = v() + this.endContent = v() + } + } + R(InitFragment, 'webpack/lib/InitFragment') + 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 + k.exports = InitFragment + }, + 44017: function (k, v, E) { + 'use strict' + const P = E(71572) + const R = E(58528) + class InvalidDependenciesModuleWarning extends P { + constructor(k, v) { + const E = v ? Array.from(v).sort() : [] + const P = E.map((k) => ` * ${JSON.stringify(k)}`) + super( + `Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${P.slice( + 0, + 3 + ).join('\n')}${P.length > 3 ? '\n * and more ...' : ''}` + ) + this.name = 'InvalidDependenciesModuleWarning' + this.details = P.slice(3).join('\n') + this.module = k + } + } + R( + InvalidDependenciesModuleWarning, + 'webpack/lib/InvalidDependenciesModuleWarning' + ) + k.exports = InvalidDependenciesModuleWarning + }, + 28027: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, + JAVASCRIPT_MODULE_TYPE_ESM: L, + } = E(93622) + const N = E(88926) + const q = 'JavascriptMetaInfoPlugin' + class JavascriptMetaInfoPlugin { + apply(k) { + k.hooks.compilation.tap(q, (k, { normalModuleFactory: v }) => { + const handler = (k) => { + k.hooks.call.for('eval').tap(q, () => { + k.state.module.buildInfo.moduleConcatenationBailout = 'eval()' + k.state.module.buildInfo.usingEval = true + const v = N.getTopLevelSymbol(k.state) + if (v) { + N.addUsage(k.state, null, v) + } else { + N.bailout(k.state) + } + }) + k.hooks.finish.tap(q, () => { + let v = k.state.module.buildInfo.topLevelDeclarations + if (v === undefined) { + v = k.state.module.buildInfo.topLevelDeclarations = new Set() + } + for (const E of k.scope.definitions.asSet()) { + const P = k.getFreeInfoFromVariable(E) + if (P === undefined) { + v.add(E) + } + } + }) + } + v.hooks.parser.for(P).tap(q, handler) + v.hooks.parser.for(R).tap(q, handler) + v.hooks.parser.for(L).tap(q, handler) + }) + } + } + k.exports = JavascriptMetaInfoPlugin + }, + 98060: function (k, v, E) { + 'use strict' + const P = E(78175) + const R = E(25248) + const { someInIterable: L } = E(54480) + const { compareModulesById: N } = E(95648) + const { dirname: q, mkdirp: ae } = E(57825) + class LibManifestPlugin { + constructor(k) { + this.options = k + } + apply(k) { + k.hooks.emit.tapAsync('LibManifestPlugin', (v, E) => { + const le = v.moduleGraph + P.forEach( + Array.from(v.chunks), + (E, P) => { + if (!E.canBeInitial()) { + P() + return + } + const pe = v.chunkGraph + const me = v.getPath(this.options.path, { chunk: E }) + const ye = + this.options.name && + v.getPath(this.options.name, { + chunk: E, + contentHashType: 'javascript', + }) + const _e = Object.create(null) + for (const v of pe.getOrderedChunkModulesIterable(E, N(pe))) { + if ( + this.options.entryOnly && + !L( + le.getIncomingConnections(v), + (k) => k.dependency instanceof R + ) + ) { + continue + } + const E = v.libIdent({ + context: this.options.context || k.options.context, + associatedObjectForCache: k.root, + }) + if (E) { + const k = le.getExportsInfo(v) + const P = k.getProvidedExports() + const R = { + id: pe.getModuleId(v), + buildMeta: v.buildMeta, + exports: Array.isArray(P) ? P : undefined, + } + _e[E] = R + } + } + const Ie = { name: ye, type: this.options.type, content: _e } + const Me = this.options.format + ? JSON.stringify(Ie, null, 2) + : JSON.stringify(Ie) + const Te = Buffer.from(Me, 'utf8') + ae( + k.intermediateFileSystem, + q(k.intermediateFileSystem, me), + (v) => { + if (v) return P(v) + k.intermediateFileSystem.writeFile(me, Te, P) + } + ) + }, + E + ) + }) + } + } + k.exports = LibManifestPlugin + }, + 9021: function (k, v, E) { + 'use strict' + const P = E(60234) + class LibraryTemplatePlugin { + constructor(k, v, E, P, R) { + this.library = { + type: v || 'var', + name: k, + umdNamedDefine: E, + auxiliaryComment: P, + export: R, + } + } + apply(k) { + const { output: v } = k.options + v.library = this.library + new P(this.library.type).apply(k) + } + } + k.exports = LibraryTemplatePlugin + }, + 69056: function (k, v, E) { + 'use strict' + const P = E(98612) + const R = E(38224) + const L = E(92198) + const N = L(E(12072), () => E(27667), { + name: 'Loader Options Plugin', + baseDataPath: 'options', + }) + class LoaderOptionsPlugin { + constructor(k = {}) { + N(k) + if (typeof k !== 'object') k = {} + if (!k.test) { + const v = { test: () => true } + k.test = v + } + this.options = k + } + apply(k) { + const v = this.options + k.hooks.compilation.tap('LoaderOptionsPlugin', (k) => { + R.getCompilationHooks(k).loader.tap( + 'LoaderOptionsPlugin', + (k, E) => { + const R = E.resource + if (!R) return + const L = R.indexOf('?') + if (P.matchObject(v, L < 0 ? R : R.slice(0, L))) { + for (const E of Object.keys(v)) { + if (E === 'include' || E === 'exclude' || E === 'test') { + continue + } + k[E] = v[E] + } + } + } + ) + }) + } + } + k.exports = LoaderOptionsPlugin + }, + 49429: function (k, v, E) { + 'use strict' + const P = E(38224) + class LoaderTargetPlugin { + constructor(k) { + this.target = k + } + apply(k) { + k.hooks.compilation.tap('LoaderTargetPlugin', (k) => { + P.getCompilationHooks(k).loader.tap('LoaderTargetPlugin', (k) => { + k.target = this.target + }) + }) + } + } + k.exports = LoaderTargetPlugin + }, + 98954: function (k, v, E) { + 'use strict' + const { SyncWaterfallHook: P } = E(79846) + const R = E(73837) + const L = E(56727) + const N = E(20631) + const q = N(() => E(89168)) + const ae = N(() => E(68511)) + const le = N(() => E(42159)) + class MainTemplate { + constructor(k, v) { + this._outputOptions = k || {} + this.hooks = Object.freeze({ + renderManifest: { + tap: R.deprecate( + (k, E) => { + v.hooks.renderManifest.tap(k, (k, v) => { + if (!v.chunk.hasRuntime()) return k + return E(k, v) + }) + }, + '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: R.deprecate( + (k, E) => { + q().getCompilationHooks(v).renderRequire.tap(k, E) + }, + '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: R.deprecate( + (k, E) => { + q() + .getCompilationHooks(v) + .render.tap(k, (k, P) => { + if ( + P.chunkGraph.getNumberOfEntryModules(P.chunk) === 0 || + !P.chunk.hasRuntime() + ) { + return k + } + return E( + k, + P.chunk, + v.hash, + v.moduleTemplates.javascript, + v.dependencyTemplates + ) + }) + }, + 'MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)', + 'DEP_WEBPACK_MAIN_TEMPLATE_RENDER' + ), + }, + renderWithEntry: { + tap: R.deprecate( + (k, E) => { + q() + .getCompilationHooks(v) + .render.tap(k, (k, P) => { + if ( + P.chunkGraph.getNumberOfEntryModules(P.chunk) === 0 || + !P.chunk.hasRuntime() + ) { + return k + } + return E(k, P.chunk, v.hash) + }) + }, + 'MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)', + 'DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY' + ), + }, + assetPath: { + tap: R.deprecate( + (k, E) => { + v.hooks.assetPath.tap(k, E) + }, + 'MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)', + 'DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH' + ), + call: R.deprecate( + (k, E) => v.getAssetPath(k, E), + 'MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)', + 'DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH' + ), + }, + hash: { + tap: R.deprecate( + (k, E) => { + v.hooks.fullHash.tap(k, E) + }, + 'MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)', + 'DEP_WEBPACK_MAIN_TEMPLATE_HASH' + ), + }, + hashForChunk: { + tap: R.deprecate( + (k, E) => { + q() + .getCompilationHooks(v) + .chunkHash.tap(k, (k, v) => { + if (!k.hasRuntime()) return + return E(v, k) + }) + }, + 'MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)', + 'DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK' + ), + }, + globalHashPaths: { + tap: R.deprecate( + () => {}, + "MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)", + 'DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK' + ), + }, + globalHash: { + tap: R.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 P([ + 'source', + 'chunk', + 'hash', + 'moduleTemplate', + 'dependencyTemplates', + ]), + localVars: new P(['source', 'chunk', 'hash']), + requireExtensions: new P(['source', 'chunk', 'hash']), + requireEnsure: new P([ + 'source', + 'chunk', + 'hash', + 'chunkIdExpression', + ]), + get jsonpScript() { + const k = le().getCompilationHooks(v) + return k.createScript + }, + get linkPrefetch() { + const k = ae().getCompilationHooks(v) + return k.linkPrefetch + }, + get linkPreload() { + const k = ae().getCompilationHooks(v) + return k.linkPreload + }, + }) + this.renderCurrentHashCode = R.deprecate( + (k, v) => { + if (v) { + return `${L.getFullHash} ? ${ + L.getFullHash + }().slice(0, ${v}) : ${k.slice(0, v)}` + } + return `${L.getFullHash} ? ${L.getFullHash}() : ${k}` + }, + 'MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)', + 'DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE' + ) + this.getPublicPath = R.deprecate( + (k) => v.getAssetPath(v.outputOptions.publicPath, k), + 'MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)', + 'DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH' + ) + this.getAssetPath = R.deprecate( + (k, E) => v.getAssetPath(k, E), + 'MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)', + 'DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH' + ) + this.getAssetPathWithInfo = R.deprecate( + (k, E) => v.getAssetPathWithInfo(k, E), + 'MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)', + 'DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO' + ) + } + } + Object.defineProperty(MainTemplate.prototype, 'requireFn', { + get: R.deprecate( + () => L.require, + `MainTemplate.requireFn is deprecated (use "${L.require}")`, + 'DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN' + ), + }) + Object.defineProperty(MainTemplate.prototype, 'outputOptions', { + get: R.deprecate( + function () { + return this._outputOptions + }, + 'MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)', + 'DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS' + ), + }) + k.exports = MainTemplate + }, + 88396: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = E(38317) + const L = E(38706) + const N = E(88223) + const q = E(56727) + const { first: ae } = E(59959) + const { compareChunksById: le } = E(95648) + const pe = E(58528) + const me = {} + let ye = 1e3 + const _e = new Set(['unknown']) + const Ie = new Set(['javascript']) + const Me = P.deprecate( + (k, v) => + k.needRebuild( + v.fileSystemInfo.getDeprecatedFileTimestamps(), + v.fileSystemInfo.getDeprecatedContextTimestamps() + ), + 'Module.needRebuild is deprecated in favor of Module.needBuild', + 'DEP_WEBPACK_MODULE_NEED_REBUILD' + ) + class Module extends L { + constructor(k, v = null, E = null) { + super() + this.type = k + this.context = v + this.layer = E + this.needId = true + this.debugId = ye++ + this.resolveOptions = me + this.factoryMeta = undefined + this.useSourceMap = false + this.useSimpleSourceMap = false + this._warnings = undefined + this._errors = undefined + this.buildMeta = undefined + this.buildInfo = undefined + this.presentationalDependencies = undefined + this.codeGenerationDependencies = undefined + } + get id() { + return R.getChunkGraphForModule( + this, + 'Module.id', + 'DEP_WEBPACK_MODULE_ID' + ).getModuleId(this) + } + set id(k) { + if (k === '') { + this.needId = false + return + } + R.getChunkGraphForModule( + this, + 'Module.id', + 'DEP_WEBPACK_MODULE_ID' + ).setModuleId(this, k) + } + get hash() { + return R.getChunkGraphForModule( + this, + 'Module.hash', + 'DEP_WEBPACK_MODULE_HASH' + ).getModuleHash(this, undefined) + } + get renderedHash() { + return R.getChunkGraphForModule( + this, + 'Module.renderedHash', + 'DEP_WEBPACK_MODULE_RENDERED_HASH' + ).getRenderedModuleHash(this, undefined) + } + get profile() { + return N.getModuleGraphForModule( + this, + 'Module.profile', + 'DEP_WEBPACK_MODULE_PROFILE' + ).getProfile(this) + } + set profile(k) { + N.getModuleGraphForModule( + this, + 'Module.profile', + 'DEP_WEBPACK_MODULE_PROFILE' + ).setProfile(this, k) + } + get index() { + return N.getModuleGraphForModule( + this, + 'Module.index', + 'DEP_WEBPACK_MODULE_INDEX' + ).getPreOrderIndex(this) + } + set index(k) { + N.getModuleGraphForModule( + this, + 'Module.index', + 'DEP_WEBPACK_MODULE_INDEX' + ).setPreOrderIndex(this, k) + } + get index2() { + return N.getModuleGraphForModule( + this, + 'Module.index2', + 'DEP_WEBPACK_MODULE_INDEX2' + ).getPostOrderIndex(this) + } + set index2(k) { + N.getModuleGraphForModule( + this, + 'Module.index2', + 'DEP_WEBPACK_MODULE_INDEX2' + ).setPostOrderIndex(this, k) + } + get depth() { + return N.getModuleGraphForModule( + this, + 'Module.depth', + 'DEP_WEBPACK_MODULE_DEPTH' + ).getDepth(this) + } + set depth(k) { + N.getModuleGraphForModule( + this, + 'Module.depth', + 'DEP_WEBPACK_MODULE_DEPTH' + ).setDepth(this, k) + } + get issuer() { + return N.getModuleGraphForModule( + this, + 'Module.issuer', + 'DEP_WEBPACK_MODULE_ISSUER' + ).getIssuer(this) + } + set issuer(k) { + N.getModuleGraphForModule( + this, + 'Module.issuer', + 'DEP_WEBPACK_MODULE_ISSUER' + ).setIssuer(this, k) + } + get usedExports() { + return N.getModuleGraphForModule( + this, + 'Module.usedExports', + 'DEP_WEBPACK_MODULE_USED_EXPORTS' + ).getUsedExports(this, undefined) + } + get optimizationBailout() { + return N.getModuleGraphForModule( + this, + 'Module.optimizationBailout', + 'DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT' + ).getOptimizationBailout(this) + } + get optional() { + return this.isOptional( + N.getModuleGraphForModule( + this, + 'Module.optional', + 'DEP_WEBPACK_MODULE_OPTIONAL' + ) + ) + } + addChunk(k) { + const v = R.getChunkGraphForModule( + this, + 'Module.addChunk', + 'DEP_WEBPACK_MODULE_ADD_CHUNK' + ) + if (v.isModuleInChunk(this, k)) return false + v.connectChunkAndModule(k, this) + return true + } + removeChunk(k) { + return R.getChunkGraphForModule( + this, + 'Module.removeChunk', + 'DEP_WEBPACK_MODULE_REMOVE_CHUNK' + ).disconnectChunkAndModule(k, this) + } + isInChunk(k) { + return R.getChunkGraphForModule( + this, + 'Module.isInChunk', + 'DEP_WEBPACK_MODULE_IS_IN_CHUNK' + ).isModuleInChunk(this, k) + } + isEntryModule() { + return R.getChunkGraphForModule( + this, + 'Module.isEntryModule', + 'DEP_WEBPACK_MODULE_IS_ENTRY_MODULE' + ).isEntryModule(this) + } + getChunks() { + return R.getChunkGraphForModule( + this, + 'Module.getChunks', + 'DEP_WEBPACK_MODULE_GET_CHUNKS' + ).getModuleChunks(this) + } + getNumberOfChunks() { + return R.getChunkGraphForModule( + this, + 'Module.getNumberOfChunks', + 'DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS' + ).getNumberOfModuleChunks(this) + } + get chunksIterable() { + return R.getChunkGraphForModule( + this, + 'Module.chunksIterable', + 'DEP_WEBPACK_MODULE_CHUNKS_ITERABLE' + ).getOrderedModuleChunksIterable(this, le) + } + isProvided(k) { + return N.getModuleGraphForModule( + this, + 'Module.usedExports', + 'DEP_WEBPACK_MODULE_USED_EXPORTS' + ).isExportProvided(this, k) + } + get exportsArgument() { + return (this.buildInfo && this.buildInfo.exportsArgument) || 'exports' + } + get moduleArgument() { + return (this.buildInfo && this.buildInfo.moduleArgument) || 'module' + } + getExportsType(k, v) { + switch (this.buildMeta && this.buildMeta.exportsType) { + case 'flagged': + return v ? 'default-with-named' : 'namespace' + case 'namespace': + return 'namespace' + case 'default': + switch (this.buildMeta.defaultObject) { + case 'redirect': + return 'default-with-named' + case 'redirect-warn': + return v ? 'default-only' : 'default-with-named' + default: + return 'default-only' + } + case 'dynamic': { + if (v) return 'default-with-named' + const handleDefault = () => { + switch (this.buildMeta.defaultObject) { + case 'redirect': + case 'redirect-warn': + return 'default-with-named' + default: + return 'default-only' + } + } + const E = k.getReadOnlyExportInfo(this, '__esModule') + if (E.provided === false) { + return handleDefault() + } + const P = E.getTarget(k) + if ( + !P || + !P.export || + P.export.length !== 1 || + P.export[0] !== '__esModule' + ) { + return 'dynamic' + } + switch (P.module.buildMeta && P.module.buildMeta.exportsType) { + case 'flagged': + case 'namespace': + return 'namespace' + case 'default': + return handleDefault() + default: + return 'dynamic' + } + } + default: + return v ? 'default-with-named' : 'dynamic' + } + } + addPresentationalDependency(k) { + if (this.presentationalDependencies === undefined) { + this.presentationalDependencies = [] + } + this.presentationalDependencies.push(k) + } + addCodeGenerationDependency(k) { + if (this.codeGenerationDependencies === undefined) { + this.codeGenerationDependencies = [] + } + this.codeGenerationDependencies.push(k) + } + clearDependenciesAndBlocks() { + if (this.presentationalDependencies !== undefined) { + this.presentationalDependencies.length = 0 + } + if (this.codeGenerationDependencies !== undefined) { + this.codeGenerationDependencies.length = 0 + } + super.clearDependenciesAndBlocks() + } + addWarning(k) { + if (this._warnings === undefined) { + this._warnings = [] + } + this._warnings.push(k) + } + getWarnings() { + return this._warnings + } + getNumberOfWarnings() { + return this._warnings !== undefined ? this._warnings.length : 0 + } + addError(k) { + if (this._errors === undefined) { + this._errors = [] + } + this._errors.push(k) + } + 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(k) { + let v = false + for (const E of k.getIncomingConnections(this)) { + if ( + !E.dependency || + !E.dependency.optional || + !E.isTargetActive(undefined) + ) { + return false + } + v = true + } + return v + } + isAccessibleInChunk(k, v, E) { + for (const E of v.groupsIterable) { + if (!this.isAccessibleInChunkGroup(k, E)) return false + } + return true + } + isAccessibleInChunkGroup(k, v, E) { + const P = new Set([v]) + e: for (const R of P) { + for (const v of R.chunks) { + if (v !== E && k.isModuleInChunk(this, v)) continue e + } + if (v.isInitial()) return false + for (const k of v.parentsIterable) P.add(k) + } + return true + } + hasReasonForChunk(k, v, E) { + for (const [P, R] of v.getIncomingConnectionsByOriginModule(this)) { + if (!R.some((v) => v.isTargetActive(k.runtime))) continue + for (const v of E.getModuleChunksIterable(P)) { + if (!this.isAccessibleInChunk(E, v, k)) return true + } + } + return false + } + hasReasons(k, v) { + for (const E of k.getIncomingConnections(this)) { + if (E.isTargetActive(v)) return true + } + return false + } + toString() { + return `Module[${this.debugId}: ${this.identifier()}]` + } + needBuild(k, v) { + v( + null, + !this.buildMeta || + this.needRebuild === Module.prototype.needRebuild || + Me(this, k) + ) + } + needRebuild(k, v) { + return true + } + updateHash( + k, + v = { + chunkGraph: R.getChunkGraphForModule( + this, + 'Module.updateHash', + 'DEP_WEBPACK_MODULE_UPDATE_HASH' + ), + runtime: undefined, + } + ) { + const { chunkGraph: E, runtime: P } = v + k.update(E.getModuleGraphHash(this, P)) + if (this.presentationalDependencies !== undefined) { + for (const E of this.presentationalDependencies) { + E.updateHash(k, v) + } + } + super.updateHash(k, v) + } + invalidateBuild() {} + identifier() { + const k = E(60386) + throw new k() + } + readableIdentifier(k) { + const v = E(60386) + throw new v() + } + build(k, v, P, R, L) { + const N = E(60386) + throw new N() + } + getSourceTypes() { + if (this.source === Module.prototype.source) { + return _e + } else { + return Ie + } + } + source(k, v, P = 'javascript') { + if (this.codeGeneration === Module.prototype.codeGeneration) { + const k = E(60386) + throw new k() + } + const L = R.getChunkGraphForModule( + this, + 'Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead', + 'DEP_WEBPACK_MODULE_SOURCE' + ) + const N = { + dependencyTemplates: k, + runtimeTemplate: v, + moduleGraph: L.moduleGraph, + chunkGraph: L, + runtime: undefined, + codeGenerationResults: undefined, + } + const q = this.codeGeneration(N).sources + return P ? q.get(P) : q.get(ae(this.getSourceTypes())) + } + size(k) { + const v = E(60386) + throw new v() + } + libIdent(k) { + return null + } + nameForCondition() { + return null + } + getConcatenationBailoutReason(k) { + return `Module Concatenation is not implemented for ${this.constructor.name}` + } + getSideEffectsConnectionState(k) { + return true + } + codeGeneration(k) { + const v = new Map() + for (const E of this.getSourceTypes()) { + if (E !== 'unknown') { + v.set(E, this.source(k.dependencyTemplates, k.runtimeTemplate, E)) + } + } + return { + sources: v, + runtimeRequirements: new Set([q.module, q.exports, q.require]), + } + } + chunkCondition(k, v) { + return true + } + hasChunkCondition() { + return this.chunkCondition !== Module.prototype.chunkCondition + } + updateCacheModule(k) { + this.type = k.type + this.layer = k.layer + this.context = k.context + this.factoryMeta = k.factoryMeta + this.resolveOptions = k.resolveOptions + } + getUnsafeCacheData() { + return { + factoryMeta: this.factoryMeta, + resolveOptions: this.resolveOptions, + } + } + _restoreFromUnsafeCache(k, v) { + this.factoryMeta = k.factoryMeta + this.resolveOptions = k.resolveOptions + } + cleanupForCache() { + this.factoryMeta = undefined + this.resolveOptions = undefined + } + originalSource() { + return null + } + addCacheDependencies(k, v, E, P) {} + serialize(k) { + const { write: v } = k + v(this.type) + v(this.layer) + v(this.context) + v(this.resolveOptions) + v(this.factoryMeta) + v(this.useSourceMap) + v(this.useSimpleSourceMap) + v( + this._warnings !== undefined && this._warnings.length === 0 + ? undefined + : this._warnings + ) + v( + this._errors !== undefined && this._errors.length === 0 + ? undefined + : this._errors + ) + v(this.buildMeta) + v(this.buildInfo) + v(this.presentationalDependencies) + v(this.codeGenerationDependencies) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.type = v() + this.layer = v() + this.context = v() + this.resolveOptions = v() + this.factoryMeta = v() + this.useSourceMap = v() + this.useSimpleSourceMap = v() + this._warnings = v() + this._errors = v() + this.buildMeta = v() + this.buildInfo = v() + this.presentationalDependencies = v() + this.codeGenerationDependencies = v() + super.deserialize(k) + } + } + pe(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: P.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: P.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(k) { + throw new Error( + 'Module.used was refactored (use ModuleGraph.setUsedExports instead)' + ) + }, + }) + k.exports = Module + }, + 23804: function (k, v, E) { + 'use strict' + const { cutOffLoaderExecution: P } = E(53657) + const R = E(71572) + const L = E(58528) + class ModuleBuildError extends R { + constructor(k, { from: v = null } = {}) { + let E = 'Module build failed' + let R = undefined + if (v) { + E += ` (from ${v}):\n` + } else { + E += ': ' + } + if (k !== null && typeof k === 'object') { + if (typeof k.stack === 'string' && k.stack) { + const v = P(k.stack) + if (!k.hideStack) { + E += v + } else { + R = v + if (typeof k.message === 'string' && k.message) { + E += k.message + } else { + E += k + } + } + } else if (typeof k.message === 'string' && k.message) { + E += k.message + } else { + E += String(k) + } + } else { + E += String(k) + } + super(E) + this.name = 'ModuleBuildError' + this.details = R + this.error = k + } + serialize(k) { + const { write: v } = k + v(this.error) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.error = v() + super.deserialize(k) + } + } + L(ModuleBuildError, 'webpack/lib/ModuleBuildError') + k.exports = ModuleBuildError + }, + 36428: function (k, v, E) { + 'use strict' + const P = E(71572) + class ModuleDependencyError extends P { + constructor(k, v, E) { + super(v.message) + this.name = 'ModuleDependencyError' + this.details = + v && !v.hideStack + ? v.stack.split('\n').slice(1).join('\n') + : undefined + this.module = k + this.loc = E + this.error = v + if (v && v.hideStack) { + this.stack = + v.stack.split('\n').slice(1).join('\n') + '\n\n' + this.stack + } + } + } + k.exports = ModuleDependencyError + }, + 84018: function (k, v, E) { + 'use strict' + const P = E(71572) + const R = E(58528) + class ModuleDependencyWarning extends P { + constructor(k, v, E) { + super(v ? v.message : '') + this.name = 'ModuleDependencyWarning' + this.details = + v && !v.hideStack + ? v.stack.split('\n').slice(1).join('\n') + : undefined + this.module = k + this.loc = E + this.error = v + if (v && v.hideStack) { + this.stack = + v.stack.split('\n').slice(1).join('\n') + '\n\n' + this.stack + } + } + } + R(ModuleDependencyWarning, 'webpack/lib/ModuleDependencyWarning') + k.exports = ModuleDependencyWarning + }, + 47560: function (k, v, E) { + 'use strict' + const { cleanUp: P } = E(53657) + const R = E(71572) + const L = E(58528) + class ModuleError extends R { + constructor(k, { from: v = null } = {}) { + let E = 'Module Error' + if (v) { + E += ` (from ${v}):\n` + } else { + E += ': ' + } + if (k && typeof k === 'object' && k.message) { + E += k.message + } else if (k) { + E += k + } + super(E) + this.name = 'ModuleError' + this.error = k + this.details = + k && typeof k === 'object' && k.stack + ? P(k.stack, this.message) + : undefined + } + serialize(k) { + const { write: v } = k + v(this.error) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.error = v() + super.deserialize(k) + } + } + L(ModuleError, 'webpack/lib/ModuleError') + k.exports = ModuleError + }, + 66043: function (k, v, E) { + 'use strict' + class ModuleFactory { + create(k, v) { + const P = E(60386) + throw new P() + } + } + k.exports = ModuleFactory + }, + 98612: function (k, v, E) { + 'use strict' + const P = E(38224) + const R = E(74012) + const L = E(20631) + const N = v + N.ALL_LOADERS_RESOURCE = '[all-loaders][resource]' + N.REGEXP_ALL_LOADERS_RESOURCE = /\[all-?loaders\]\[resource\]/gi + N.LOADERS_RESOURCE = '[loaders][resource]' + N.REGEXP_LOADERS_RESOURCE = /\[loaders\]\[resource\]/gi + N.RESOURCE = '[resource]' + N.REGEXP_RESOURCE = /\[resource\]/gi + N.ABSOLUTE_RESOURCE_PATH = '[absolute-resource-path]' + N.REGEXP_ABSOLUTE_RESOURCE_PATH = /\[abs(olute)?-?resource-?path\]/gi + N.RESOURCE_PATH = '[resource-path]' + N.REGEXP_RESOURCE_PATH = /\[resource-?path\]/gi + N.ALL_LOADERS = '[all-loaders]' + N.REGEXP_ALL_LOADERS = /\[all-?loaders\]/gi + N.LOADERS = '[loaders]' + N.REGEXP_LOADERS = /\[loaders\]/gi + N.QUERY = '[query]' + N.REGEXP_QUERY = /\[query\]/gi + N.ID = '[id]' + N.REGEXP_ID = /\[id\]/gi + N.HASH = '[hash]' + N.REGEXP_HASH = /\[hash\]/gi + N.NAMESPACE = '[namespace]' + N.REGEXP_NAMESPACE = /\[namespace\]/gi + const getAfter = (k, v) => () => { + const E = k() + const P = E.indexOf(v) + return P < 0 ? '' : E.slice(P) + } + const getBefore = (k, v) => () => { + const E = k() + const P = E.lastIndexOf(v) + return P < 0 ? '' : E.slice(0, P) + } + const getHash = (k, v) => () => { + const E = R(v) + E.update(k()) + const P = E.digest('hex') + return P.slice(0, 4) + } + const asRegExp = (k) => { + if (typeof k === 'string') { + k = new RegExp('^' + k.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&')) + } + return k + } + const lazyObject = (k) => { + const v = {} + for (const E of Object.keys(k)) { + const P = k[E] + Object.defineProperty(v, E, { + get: () => P(), + set: (k) => { + Object.defineProperty(v, E, { + value: k, + enumerable: true, + writable: true, + }) + }, + enumerable: true, + configurable: true, + }) + } + return v + } + const q = /\[\\*([\w-]+)\\*\]/gi + N.createFilename = ( + k = '', + v, + { requestShortener: E, chunkGraph: R, hashFunction: ae = 'md4' } + ) => { + const le = { + namespace: '', + moduleFilenameTemplate: '', + ...(typeof v === 'object' ? v : { moduleFilenameTemplate: v }), + } + let pe + let me + let ye + let _e + let Ie + if (typeof k === 'string') { + Ie = L(() => E.shorten(k)) + ye = Ie + _e = () => '' + pe = () => k.split('!').pop() + me = getHash(ye, ae) + } else { + Ie = L(() => k.readableIdentifier(E)) + ye = L(() => E.shorten(k.identifier())) + _e = () => R.getModuleId(k) + pe = () => + k instanceof P ? k.resource : k.identifier().split('!').pop() + me = getHash(ye, ae) + } + const Me = L(() => Ie().split('!').pop()) + const Te = getBefore(Ie, '!') + const je = getBefore(ye, '!') + const Ne = getAfter(Me, '?') + const resourcePath = () => { + const k = Ne().length + return k === 0 ? Me() : Me().slice(0, -k) + } + if (typeof le.moduleFilenameTemplate === 'function') { + return le.moduleFilenameTemplate( + lazyObject({ + identifier: ye, + shortIdentifier: Ie, + resource: Me, + resourcePath: L(resourcePath), + absoluteResourcePath: L(pe), + loaders: L(Te), + allLoaders: L(je), + query: L(Ne), + moduleId: L(_e), + hash: L(me), + namespace: () => le.namespace, + }) + ) + } + const Be = new Map([ + ['identifier', ye], + ['short-identifier', Ie], + ['resource', Me], + ['resource-path', resourcePath], + ['resourcepath', resourcePath], + ['absolute-resource-path', pe], + ['abs-resource-path', pe], + ['absoluteresource-path', pe], + ['absresource-path', pe], + ['absolute-resourcepath', pe], + ['abs-resourcepath', pe], + ['absoluteresourcepath', pe], + ['absresourcepath', pe], + ['all-loaders', je], + ['allloaders', je], + ['loaders', Te], + ['query', Ne], + ['id', _e], + ['hash', me], + ['namespace', () => le.namespace], + ]) + return le.moduleFilenameTemplate + .replace(N.REGEXP_ALL_LOADERS_RESOURCE, '[identifier]') + .replace(N.REGEXP_LOADERS_RESOURCE, '[short-identifier]') + .replace(q, (k, v) => { + if (v.length + 2 === k.length) { + const k = Be.get(v.toLowerCase()) + if (k !== undefined) { + return k() + } + } else if (k.startsWith('[\\') && k.endsWith('\\]')) { + return `[${k.slice(2, -2)}]` + } + return k + }) + } + N.replaceDuplicates = (k, v, E) => { + const P = Object.create(null) + const R = Object.create(null) + k.forEach((k, v) => { + P[k] = P[k] || [] + P[k].push(v) + R[k] = 0 + }) + if (E) { + Object.keys(P).forEach((k) => { + P[k].sort(E) + }) + } + return k.map((k, L) => { + if (P[k].length > 1) { + if (E && P[k][0] === L) return k + return v(k, L, R[k]++) + } else { + return k + } + }) + } + N.matchPart = (k, v) => { + if (!v) return true + if (Array.isArray(v)) { + return v.map(asRegExp).some((v) => v.test(k)) + } else { + return asRegExp(v).test(k) + } + } + N.matchObject = (k, v) => { + if (k.test) { + if (!N.matchPart(v, k.test)) { + return false + } + } + if (k.include) { + if (!N.matchPart(v, k.include)) { + return false + } + } + if (k.exclude) { + if (N.matchPart(v, k.exclude)) { + return false + } + } + return true + } + }, + 88223: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = E(11172) + const L = E(86267) + const N = E(46081) + const q = E(69752) + const ae = new Set() + const getConnectionsByOriginModule = (k) => { + const v = new Map() + let E = 0 + let P = undefined + for (const R of k) { + const { originModule: k } = R + if (E === k) { + P.push(R) + } else { + E = k + const L = v.get(k) + if (L !== undefined) { + P = L + L.push(R) + } else { + const E = [R] + P = E + v.set(k, E) + } + } + } + return v + } + const getConnectionsByModule = (k) => { + const v = new Map() + let E = 0 + let P = undefined + for (const R of k) { + const { module: k } = R + if (E === k) { + P.push(R) + } else { + E = k + const L = v.get(k) + if (L !== undefined) { + P = L + L.push(R) + } else { + const E = [R] + P = E + v.set(k, E) + } + } + } + return v + } + class ModuleGraphModule { + constructor() { + this.incomingConnections = new N() + this.outgoingConnections = undefined + this.issuer = undefined + this.optimizationBailout = [] + this.exports = new R() + this.preOrderIndex = null + this.postOrderIndex = null + this.depth = null + this.profile = undefined + this.async = false + this._unassignedConnections = undefined + } + } + class ModuleGraph { + constructor() { + this._dependencyMap = new WeakMap() + this._moduleMap = new Map() + this._metaMap = new WeakMap() + this._cache = undefined + this._moduleMemCaches = undefined + this._cacheStage = undefined + } + _getModuleGraphModule(k) { + let v = this._moduleMap.get(k) + if (v === undefined) { + v = new ModuleGraphModule() + this._moduleMap.set(k, v) + } + return v + } + setParents(k, v, E, P = -1) { + k._parentDependenciesBlockIndex = P + k._parentDependenciesBlock = v + k._parentModule = E + } + getParentModule(k) { + return k._parentModule + } + getParentBlock(k) { + return k._parentDependenciesBlock + } + getParentBlockIndex(k) { + return k._parentDependenciesBlockIndex + } + setResolvedModule(k, v, E) { + const P = new L(k, v, E, undefined, v.weak, v.getCondition(this)) + const R = this._getModuleGraphModule(E).incomingConnections + R.add(P) + if (k) { + const v = this._getModuleGraphModule(k) + if (v._unassignedConnections === undefined) { + v._unassignedConnections = [] + } + v._unassignedConnections.push(P) + if (v.outgoingConnections === undefined) { + v.outgoingConnections = new N() + } + v.outgoingConnections.add(P) + } else { + this._dependencyMap.set(v, P) + } + } + updateModule(k, v) { + const E = this.getConnection(k) + if (E.module === v) return + const P = E.clone() + P.module = v + this._dependencyMap.set(k, P) + E.setActive(false) + const R = this._getModuleGraphModule(E.originModule) + R.outgoingConnections.add(P) + const L = this._getModuleGraphModule(v) + L.incomingConnections.add(P) + } + removeConnection(k) { + const v = this.getConnection(k) + const E = this._getModuleGraphModule(v.module) + E.incomingConnections.delete(v) + const P = this._getModuleGraphModule(v.originModule) + P.outgoingConnections.delete(v) + this._dependencyMap.set(k, null) + } + addExplanation(k, v) { + const E = this.getConnection(k) + E.addExplanation(v) + } + cloneModuleAttributes(k, v) { + const E = this._getModuleGraphModule(k) + const P = this._getModuleGraphModule(v) + P.postOrderIndex = E.postOrderIndex + P.preOrderIndex = E.preOrderIndex + P.depth = E.depth + P.exports = E.exports + P.async = E.async + } + removeModuleAttributes(k) { + const v = this._getModuleGraphModule(k) + v.postOrderIndex = null + v.preOrderIndex = null + v.depth = null + v.async = false + } + removeAllModuleAttributes() { + for (const k of this._moduleMap.values()) { + k.postOrderIndex = null + k.preOrderIndex = null + k.depth = null + k.async = false + } + } + moveModuleConnections(k, v, E) { + if (k === v) return + const P = this._getModuleGraphModule(k) + const R = this._getModuleGraphModule(v) + const L = P.outgoingConnections + if (L !== undefined) { + if (R.outgoingConnections === undefined) { + R.outgoingConnections = new N() + } + const k = R.outgoingConnections + for (const P of L) { + if (E(P)) { + P.originModule = v + k.add(P) + L.delete(P) + } + } + } + const q = P.incomingConnections + const ae = R.incomingConnections + for (const k of q) { + if (E(k)) { + k.module = v + ae.add(k) + q.delete(k) + } + } + } + copyOutgoingModuleConnections(k, v, E) { + if (k === v) return + const P = this._getModuleGraphModule(k) + const R = this._getModuleGraphModule(v) + const L = P.outgoingConnections + if (L !== undefined) { + if (R.outgoingConnections === undefined) { + R.outgoingConnections = new N() + } + const k = R.outgoingConnections + for (const P of L) { + if (E(P)) { + const E = P.clone() + E.originModule = v + k.add(E) + if (E.module !== undefined) { + const k = this._getModuleGraphModule(E.module) + k.incomingConnections.add(E) + } + } + } + } + } + addExtraReason(k, v) { + const E = this._getModuleGraphModule(k).incomingConnections + E.add(new L(null, null, k, v)) + } + getResolvedModule(k) { + const v = this.getConnection(k) + return v !== undefined ? v.resolvedModule : null + } + getConnection(k) { + const v = this._dependencyMap.get(k) + if (v === undefined) { + const v = this.getParentModule(k) + if (v !== undefined) { + const E = this._getModuleGraphModule(v) + if ( + E._unassignedConnections && + E._unassignedConnections.length !== 0 + ) { + let v + for (const P of E._unassignedConnections) { + this._dependencyMap.set(P.dependency, P) + if (P.dependency === k) v = P + } + E._unassignedConnections.length = 0 + if (v !== undefined) { + return v + } + } + } + this._dependencyMap.set(k, null) + return undefined + } + return v === null ? undefined : v + } + getModule(k) { + const v = this.getConnection(k) + return v !== undefined ? v.module : null + } + getOrigin(k) { + const v = this.getConnection(k) + return v !== undefined ? v.originModule : null + } + getResolvedOrigin(k) { + const v = this.getConnection(k) + return v !== undefined ? v.resolvedOriginModule : null + } + getIncomingConnections(k) { + const v = this._getModuleGraphModule(k).incomingConnections + return v + } + getOutgoingConnections(k) { + const v = this._getModuleGraphModule(k).outgoingConnections + return v === undefined ? ae : v + } + getIncomingConnectionsByOriginModule(k) { + const v = this._getModuleGraphModule(k).incomingConnections + return v.getFromUnorderedCache(getConnectionsByOriginModule) + } + getOutgoingConnectionsByModule(k) { + const v = this._getModuleGraphModule(k).outgoingConnections + return v === undefined + ? undefined + : v.getFromUnorderedCache(getConnectionsByModule) + } + getProfile(k) { + const v = this._getModuleGraphModule(k) + return v.profile + } + setProfile(k, v) { + const E = this._getModuleGraphModule(k) + E.profile = v + } + getIssuer(k) { + const v = this._getModuleGraphModule(k) + return v.issuer + } + setIssuer(k, v) { + const E = this._getModuleGraphModule(k) + E.issuer = v + } + setIssuerIfUnset(k, v) { + const E = this._getModuleGraphModule(k) + if (E.issuer === undefined) E.issuer = v + } + getOptimizationBailout(k) { + const v = this._getModuleGraphModule(k) + return v.optimizationBailout + } + getProvidedExports(k) { + const v = this._getModuleGraphModule(k) + return v.exports.getProvidedExports() + } + isExportProvided(k, v) { + const E = this._getModuleGraphModule(k) + const P = E.exports.isExportProvided(v) + return P === undefined ? null : P + } + getExportsInfo(k) { + const v = this._getModuleGraphModule(k) + return v.exports + } + getExportInfo(k, v) { + const E = this._getModuleGraphModule(k) + return E.exports.getExportInfo(v) + } + getReadOnlyExportInfo(k, v) { + const E = this._getModuleGraphModule(k) + return E.exports.getReadOnlyExportInfo(v) + } + getUsedExports(k, v) { + const E = this._getModuleGraphModule(k) + return E.exports.getUsedExports(v) + } + getPreOrderIndex(k) { + const v = this._getModuleGraphModule(k) + return v.preOrderIndex + } + getPostOrderIndex(k) { + const v = this._getModuleGraphModule(k) + return v.postOrderIndex + } + setPreOrderIndex(k, v) { + const E = this._getModuleGraphModule(k) + E.preOrderIndex = v + } + setPreOrderIndexIfUnset(k, v) { + const E = this._getModuleGraphModule(k) + if (E.preOrderIndex === null) { + E.preOrderIndex = v + return true + } + return false + } + setPostOrderIndex(k, v) { + const E = this._getModuleGraphModule(k) + E.postOrderIndex = v + } + setPostOrderIndexIfUnset(k, v) { + const E = this._getModuleGraphModule(k) + if (E.postOrderIndex === null) { + E.postOrderIndex = v + return true + } + return false + } + getDepth(k) { + const v = this._getModuleGraphModule(k) + return v.depth + } + setDepth(k, v) { + const E = this._getModuleGraphModule(k) + E.depth = v + } + setDepthIfLower(k, v) { + const E = this._getModuleGraphModule(k) + if (E.depth === null || E.depth > v) { + E.depth = v + return true + } + return false + } + isAsync(k) { + const v = this._getModuleGraphModule(k) + return v.async + } + setAsync(k) { + const v = this._getModuleGraphModule(k) + v.async = true + } + getMeta(k) { + let v = this._metaMap.get(k) + if (v === undefined) { + v = Object.create(null) + this._metaMap.set(k, v) + } + return v + } + getMetaIfExisting(k) { + return this._metaMap.get(k) + } + freeze(k) { + this._cache = new q() + this._cacheStage = k + } + unfreeze() { + this._cache = undefined + this._cacheStage = undefined + } + cached(k, ...v) { + if (this._cache === undefined) return k(this, ...v) + return this._cache.provide(k, ...v, () => k(this, ...v)) + } + setModuleMemCaches(k) { + this._moduleMemCaches = k + } + dependencyCacheProvide(k, ...v) { + const E = v.pop() + if (this._moduleMemCaches && this._cacheStage) { + const P = this._moduleMemCaches.get(this.getParentModule(k)) + if (P !== undefined) { + return P.provide(k, this._cacheStage, ...v, () => + E(this, k, ...v) + ) + } + } + if (this._cache === undefined) return E(this, k, ...v) + return this._cache.provide(k, ...v, () => E(this, k, ...v)) + } + static getModuleGraphForModule(k, v, E) { + const R = pe.get(v) + if (R) return R(k) + const L = P.deprecate( + (k) => { + const E = le.get(k) + if (!E) + throw new Error( + v + + 'There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)' + ) + return E + }, + v + ': Use new ModuleGraph API', + E + ) + pe.set(v, L) + return L(k) + } + static setModuleGraphForModule(k, v) { + le.set(k, v) + } + static clearModuleGraphForModule(k) { + le.delete(k) + } + } + const le = new WeakMap() + const pe = new Map() + k.exports = ModuleGraph + k.exports.ModuleGraphConnection = L + }, + 86267: function (k) { + 'use strict' + const v = Symbol('transitive only') + const E = Symbol('circular connection') + const addConnectionStates = (k, E) => { + if (k === true || E === true) return true + if (k === false) return E + if (E === false) return k + if (k === v) return E + if (E === v) return k + return k + } + const intersectConnectionStates = (k, v) => { + if (k === false || v === false) return false + if (k === true) return v + if (v === true) return k + if (k === E) return v + if (v === E) return k + return k + } + class ModuleGraphConnection { + constructor(k, v, E, P, R = false, L = undefined) { + this.originModule = k + this.resolvedOriginModule = k + this.dependency = v + this.resolvedModule = E + this.module = E + this.weak = R + this.conditional = !!L + this._active = L !== false + this.condition = L || undefined + this.explanations = undefined + if (P) { + this.explanations = new Set() + this.explanations.add(P) + } + } + clone() { + const k = new ModuleGraphConnection( + this.resolvedOriginModule, + this.dependency, + this.resolvedModule, + undefined, + this.weak, + this.condition + ) + k.originModule = this.originModule + k.module = this.module + k.conditional = this.conditional + k._active = this._active + if (this.explanations) k.explanations = new Set(this.explanations) + return k + } + addCondition(k) { + if (this.conditional) { + const v = this.condition + this.condition = (E, P) => + intersectConnectionStates(v(E, P), k(E, P)) + } else if (this._active) { + this.conditional = true + this.condition = k + } + } + addExplanation(k) { + if (this.explanations === undefined) { + this.explanations = new Set() + } + this.explanations.add(k) + } + get explanation() { + if (this.explanations === undefined) return '' + return Array.from(this.explanations).join(' ') + } + get active() { + throw new Error('Use getActiveState instead') + } + isActive(k) { + if (!this.conditional) return this._active + return this.condition(this, k) !== false + } + isTargetActive(k) { + if (!this.conditional) return this._active + return this.condition(this, k) === true + } + getActiveState(k) { + if (!this.conditional) return this._active + return this.condition(this, k) + } + setActive(k) { + this.conditional = false + this._active = k + } + set active(k) { + throw new Error('Use setActive instead') + } + } + k.exports = ModuleGraphConnection + k.exports.addConnectionStates = addConnectionStates + k.exports.TRANSITIVE_ONLY = v + k.exports.CIRCULAR_CONNECTION = E + }, + 83139: function (k, v, E) { + 'use strict' + const P = E(71572) + class ModuleHashingError extends P { + constructor(k, v) { + super() + this.name = 'ModuleHashingError' + this.error = v + this.message = v.message + this.details = v.stack + this.module = k + } + } + k.exports = ModuleHashingError + }, + 50444: function (k, v, E) { + 'use strict' + const { ConcatSource: P, RawSource: R, CachedSource: L } = E(51255) + const { UsageState: N } = E(11172) + const q = E(95041) + const ae = E(89168) + const joinIterableWithComma = (k) => { + let v = '' + let E = true + for (const P of k) { + if (E) { + E = false + } else { + v += ', ' + } + v += P + } + return v + } + const printExportsInfoToSource = (k, v, E, P, R, L = new Set()) => { + const ae = E.otherExportsInfo + let le = 0 + const pe = [] + for (const k of E.orderedExports) { + if (!L.has(k)) { + L.add(k) + pe.push(k) + } else { + le++ + } + } + let me = false + if (!L.has(ae)) { + L.add(ae) + me = true + } else { + le++ + } + for (const E of pe) { + const N = E.getTarget(P) + k.add( + q.toComment( + `${v}export ${JSON.stringify(E.name).slice( + 1, + -1 + )} [${E.getProvidedInfo()}] [${E.getUsedInfo()}] [${E.getRenameInfo()}]${ + N + ? ` -> ${N.module.readableIdentifier(R)}${ + N.export + ? ` .${N.export + .map((k) => JSON.stringify(k).slice(1, -1)) + .join('.')}` + : '' + }` + : '' + }` + ) + '\n' + ) + if (E.exportsInfo) { + printExportsInfoToSource(k, v + ' ', E.exportsInfo, P, R, L) + } + } + if (le) { + k.add(q.toComment(`${v}... (${le} already listed exports)`) + '\n') + } + if (me) { + const E = ae.getTarget(P) + if ( + E || + ae.provided !== false || + ae.getUsed(undefined) !== N.Unused + ) { + const P = pe.length > 0 || le > 0 ? 'other exports' : 'exports' + k.add( + q.toComment( + `${v}${P} [${ae.getProvidedInfo()}] [${ae.getUsedInfo()}]${ + E ? ` -> ${E.module.readableIdentifier(R)}` : '' + }` + ) + '\n' + ) + } + } + } + const le = new WeakMap() + class ModuleInfoHeaderPlugin { + constructor(k = true) { + this._verbose = k + } + apply(k) { + const { _verbose: v } = this + k.hooks.compilation.tap('ModuleInfoHeaderPlugin', (k) => { + const E = ae.getCompilationHooks(k) + E.renderModulePackage.tap( + 'ModuleInfoHeaderPlugin', + ( + k, + E, + { + chunk: N, + chunkGraph: ae, + moduleGraph: pe, + runtimeTemplate: me, + } + ) => { + const { requestShortener: ye } = me + let _e + let Ie = le.get(ye) + if (Ie === undefined) { + le.set(ye, (Ie = new WeakMap())) + Ie.set(E, (_e = { header: undefined, full: new WeakMap() })) + } else { + _e = Ie.get(E) + if (_e === undefined) { + Ie.set(E, (_e = { header: undefined, full: new WeakMap() })) + } else if (!v) { + const v = _e.full.get(k) + if (v !== undefined) return v + } + } + const Me = new P() + let Te = _e.header + if (Te === undefined) { + const k = E.readableIdentifier(ye) + const v = k.replace(/\*\//g, '*_/') + const P = '*'.repeat(v.length) + const L = `/*!****${P}****!*\\\n !*** ${v} ***!\n \\****${P}****/\n` + Te = new R(L) + _e.header = Te + } + Me.add(Te) + if (v) { + const v = E.buildMeta.exportsType + Me.add( + q.toComment( + v ? `${v} exports` : 'unknown exports (runtime-defined)' + ) + '\n' + ) + if (v) { + const k = pe.getExportsInfo(E) + printExportsInfoToSource(Me, '', k, pe, ye) + } + Me.add( + q.toComment( + `runtime requirements: ${joinIterableWithComma( + ae.getModuleRuntimeRequirements(E, N.runtime) + )}` + ) + '\n' + ) + const P = pe.getOptimizationBailout(E) + if (P) { + for (const k of P) { + let v + if (typeof k === 'function') { + v = k(ye) + } else { + v = k + } + Me.add(q.toComment(`${v}`) + '\n') + } + } + Me.add(k) + return Me + } else { + Me.add(k) + const v = new L(Me) + _e.full.set(k, v) + return v + } + } + ) + E.chunkHash.tap('ModuleInfoHeaderPlugin', (k, v) => { + v.update('ModuleInfoHeaderPlugin') + v.update('1') + }) + }) + } + } + k.exports = ModuleInfoHeaderPlugin + }, + 69734: function (k, v, E) { + 'use strict' + const P = E(71572) + const R = { + 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 P { + constructor(k, v, E) { + let P = `Module not found: ${v.toString()}` + const L = v.message.match(/Can't resolve '([^']+)'/) + if (L) { + const k = L[1] + const v = R[k] + if (v) { + const E = v.indexOf('/') + const R = E > 0 ? v.slice(0, E) : v + P += + '\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' + P += + 'If you want to include a polyfill, you need to:\n' + + `\t- add a fallback 'resolve.fallback: { "${k}": require.resolve("${v}") }'\n` + + `\t- install '${R}'\n` + P += + "If you don't want to include a polyfill, you can use an empty module like this:\n" + + `\tresolve.fallback: { "${k}": false }` + } + } + super(P) + this.name = 'ModuleNotFoundError' + this.details = v.details + this.module = k + this.error = v + this.loc = E + } + } + k.exports = ModuleNotFoundError + }, + 63591: function (k, v, E) { + 'use strict' + const P = E(71572) + const R = E(58528) + const L = Buffer.from([0, 97, 115, 109]) + class ModuleParseError extends P { + constructor(k, v, E, P) { + let R = 'Module parse failed: ' + (v && v.message) + let N = undefined + if ( + ((Buffer.isBuffer(k) && k.slice(0, 4).equals(L)) || + (typeof k === 'string' && /^\0asm/.test(k))) && + !P.startsWith('webassembly') + ) { + R += + '\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.' + R += + '\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.' + R += + "\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)." + R += + "\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 (!E) { + R += + '\nYou may need an appropriate loader to handle this file type.' + } else if (E.length >= 1) { + R += `\nFile was processed with these loaders:${E.map( + (k) => `\n * ${k}` + ).join('')}` + R += + '\nYou may need an additional loader to handle the result of these loaders.' + } else { + R += + '\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 ( + v && + v.loc && + typeof v.loc === 'object' && + typeof v.loc.line === 'number' + ) { + var q = v.loc.line + if ( + Buffer.isBuffer(k) || + /[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(k) + ) { + R += '\n(Source code omitted for this binary file)' + } else { + const v = k.split(/\r?\n/) + const E = Math.max(0, q - 3) + const P = v.slice(E, q - 1) + const L = v[q - 1] + const N = v.slice(q, q + 2) + R += + P.map((k) => `\n| ${k}`).join('') + + `\n> ${L}` + + N.map((k) => `\n| ${k}`).join('') + } + N = { start: v.loc } + } else if (v && v.stack) { + R += '\n' + v.stack + } + super(R) + this.name = 'ModuleParseError' + this.loc = N + this.error = v + } + serialize(k) { + const { write: v } = k + v(this.error) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.error = v() + super.deserialize(k) + } + } + R(ModuleParseError, 'webpack/lib/ModuleParseError') + k.exports = ModuleParseError + }, + 52200: function (k) { + 'use strict' + class ModuleProfile { + constructor() { + this.startTime = Date.now() + this.factoryStartTime = 0 + this.factoryEndTime = 0 + this.factory = 0 + this.factoryParallelismFactor = 0 + this.restoringStartTime = 0 + this.restoringEndTime = 0 + this.restoring = 0 + this.restoringParallelismFactor = 0 + this.integrationStartTime = 0 + this.integrationEndTime = 0 + this.integration = 0 + this.integrationParallelismFactor = 0 + this.buildingStartTime = 0 + this.buildingEndTime = 0 + this.building = 0 + this.buildingParallelismFactor = 0 + this.storingStartTime = 0 + this.storingEndTime = 0 + this.storing = 0 + this.storingParallelismFactor = 0 + this.additionalFactoryTimes = undefined + this.additionalFactories = 0 + this.additionalFactoriesParallelismFactor = 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(k) { + k.additionalFactories = this.factory + ;(k.additionalFactoryTimes = k.additionalFactoryTimes || []).push({ + start: this.factoryStartTime, + end: this.factoryEndTime, + }) + } + } + k.exports = ModuleProfile + }, + 48575: function (k, v, E) { + 'use strict' + const P = E(71572) + class ModuleRestoreError extends P { + constructor(k, v) { + let E = 'Module restore failed: ' + let P = undefined + if (v !== null && typeof v === 'object') { + if (typeof v.stack === 'string' && v.stack) { + const k = v.stack + E += k + } else if (typeof v.message === 'string' && v.message) { + E += v.message + } else { + E += v + } + } else { + E += String(v) + } + super(E) + this.name = 'ModuleRestoreError' + this.details = P + this.module = k + this.error = v + } + } + k.exports = ModuleRestoreError + }, + 57177: function (k, v, E) { + 'use strict' + const P = E(71572) + class ModuleStoreError extends P { + constructor(k, v) { + let E = 'Module storing failed: ' + let P = undefined + if (v !== null && typeof v === 'object') { + if (typeof v.stack === 'string' && v.stack) { + const k = v.stack + E += k + } else if (typeof v.message === 'string' && v.message) { + E += v.message + } else { + E += v + } + } else { + E += String(v) + } + super(E) + this.name = 'ModuleStoreError' + this.details = P + this.module = k + this.error = v + } + } + k.exports = ModuleStoreError + }, + 3304: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = E(20631) + const L = R(() => E(89168)) + class ModuleTemplate { + constructor(k, v) { + this._runtimeTemplate = k + this.type = 'javascript' + this.hooks = Object.freeze({ + content: { + tap: P.deprecate( + (k, E) => { + L() + .getCompilationHooks(v) + .renderModuleContent.tap(k, (k, v, P) => + E(k, v, P, P.dependencyTemplates) + ) + }, + 'ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)', + 'DEP_MODULE_TEMPLATE_CONTENT' + ), + }, + module: { + tap: P.deprecate( + (k, E) => { + L() + .getCompilationHooks(v) + .renderModuleContent.tap(k, (k, v, P) => + E(k, v, P, P.dependencyTemplates) + ) + }, + 'ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)', + 'DEP_MODULE_TEMPLATE_MODULE' + ), + }, + render: { + tap: P.deprecate( + (k, E) => { + L() + .getCompilationHooks(v) + .renderModuleContainer.tap(k, (k, v, P) => + E(k, v, P, P.dependencyTemplates) + ) + }, + 'ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)', + 'DEP_MODULE_TEMPLATE_RENDER' + ), + }, + package: { + tap: P.deprecate( + (k, E) => { + L() + .getCompilationHooks(v) + .renderModulePackage.tap(k, (k, v, P) => + E(k, v, P, P.dependencyTemplates) + ) + }, + 'ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)', + 'DEP_MODULE_TEMPLATE_PACKAGE' + ), + }, + hash: { + tap: P.deprecate( + (k, E) => { + v.hooks.fullHash.tap(k, E) + }, + 'ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)', + 'DEP_MODULE_TEMPLATE_HASH' + ), + }, + }) + } + } + Object.defineProperty(ModuleTemplate.prototype, 'runtimeTemplate', { + get: P.deprecate( + function () { + return this._runtimeTemplate + }, + 'ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)', + 'DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS' + ), + }) + k.exports = ModuleTemplate + }, + 93622: function (k, v) { + 'use strict' + const E = 'javascript/auto' + const P = 'javascript/dynamic' + const R = 'javascript/esm' + const L = 'json' + const N = 'webassembly/async' + const q = 'webassembly/sync' + const ae = 'css' + const le = 'css/global' + const pe = 'css/module' + const me = 'asset' + const ye = 'asset/inline' + const _e = 'asset/resource' + const Ie = 'asset/source' + const Me = 'asset/raw-data-url' + const Te = 'runtime' + const je = 'fallback-module' + const Ne = 'remote-module' + const Be = 'provide-module' + const qe = 'consume-shared-module' + const Ue = 'lazy-compilation-proxy' + v.ASSET_MODULE_TYPE = me + v.ASSET_MODULE_TYPE_RAW_DATA_URL = Me + v.ASSET_MODULE_TYPE_SOURCE = Ie + v.ASSET_MODULE_TYPE_RESOURCE = _e + v.ASSET_MODULE_TYPE_INLINE = ye + v.JAVASCRIPT_MODULE_TYPE_AUTO = E + v.JAVASCRIPT_MODULE_TYPE_DYNAMIC = P + v.JAVASCRIPT_MODULE_TYPE_ESM = R + v.JSON_MODULE_TYPE = L + v.WEBASSEMBLY_MODULE_TYPE_ASYNC = N + v.WEBASSEMBLY_MODULE_TYPE_SYNC = q + v.CSS_MODULE_TYPE = ae + v.CSS_MODULE_TYPE_GLOBAL = le + v.CSS_MODULE_TYPE_MODULE = pe + v.WEBPACK_MODULE_TYPE_RUNTIME = Te + v.WEBPACK_MODULE_TYPE_FALLBACK = je + v.WEBPACK_MODULE_TYPE_REMOTE = Ne + v.WEBPACK_MODULE_TYPE_PROVIDE = Be + v.WEBPACK_MODULE_TYPE_CONSUME_SHARED_MODULE = qe + v.WEBPACK_MODULE_TYPE_LAZY_COMPILATION_PROXY = Ue + }, + 95801: function (k, v, E) { + 'use strict' + const { cleanUp: P } = E(53657) + const R = E(71572) + const L = E(58528) + class ModuleWarning extends R { + constructor(k, { from: v = null } = {}) { + let E = 'Module Warning' + if (v) { + E += ` (from ${v}):\n` + } else { + E += ': ' + } + if (k && typeof k === 'object' && k.message) { + E += k.message + } else if (k) { + E += String(k) + } + super(E) + this.name = 'ModuleWarning' + this.warning = k + this.details = + k && typeof k === 'object' && k.stack + ? P(k.stack, this.message) + : undefined + } + serialize(k) { + const { write: v } = k + v(this.warning) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.warning = v() + super.deserialize(k) + } + } + L(ModuleWarning, 'webpack/lib/ModuleWarning') + k.exports = ModuleWarning + }, + 47575: function (k, v, E) { + 'use strict' + const P = E(78175) + const { SyncHook: R, MultiHook: L } = E(79846) + const N = E(4539) + const q = E(14976) + const ae = E(73463) + const le = E(12970) + k.exports = class MultiCompiler { + constructor(k, v) { + if (!Array.isArray(k)) { + k = Object.keys(k).map((v) => { + k[v].name = v + return k[v] + }) + } + this.hooks = Object.freeze({ + done: new R(['stats']), + invalid: new L(k.map((k) => k.hooks.invalid)), + run: new L(k.map((k) => k.hooks.run)), + watchClose: new R([]), + watchRun: new L(k.map((k) => k.hooks.watchRun)), + infrastructureLog: new L(k.map((k) => k.hooks.infrastructureLog)), + }) + this.compilers = k + this._options = { parallelism: v.parallelism || Infinity } + this.dependencies = new WeakMap() + this.running = false + const E = this.compilers.map(() => null) + let P = 0 + for (let k = 0; k < this.compilers.length; k++) { + const v = this.compilers[k] + const R = k + let L = false + v.hooks.done.tap('MultiCompiler', (k) => { + if (!L) { + L = true + P++ + } + E[R] = k + if (P === this.compilers.length) { + this.hooks.done.call(new q(E)) + } + }) + v.hooks.invalid.tap('MultiCompiler', () => { + if (L) { + L = false + P-- + } + }) + } + } + get options() { + return Object.assign( + this.compilers.map((k) => k.options), + this._options + ) + } + get outputPath() { + let k = this.compilers[0].outputPath + for (const v of this.compilers) { + while (v.outputPath.indexOf(k) !== 0 && /[/\\]/.test(k)) { + k = k.replace(/[/\\][^/\\]*$/, '') + } + } + if (!k && this.compilers[0].outputPath[0] === '/') return '/' + return k + } + 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(k) { + for (const v of this.compilers) { + v.inputFileSystem = k + } + } + set outputFileSystem(k) { + for (const v of this.compilers) { + v.outputFileSystem = k + } + } + set watchFileSystem(k) { + for (const v of this.compilers) { + v.watchFileSystem = k + } + } + set intermediateFileSystem(k) { + for (const v of this.compilers) { + v.intermediateFileSystem = k + } + } + getInfrastructureLogger(k) { + return this.compilers[0].getInfrastructureLogger(k) + } + setDependencies(k, v) { + this.dependencies.set(k, v) + } + validateDependencies(k) { + const v = new Set() + const E = [] + const targetFound = (k) => { + for (const E of v) { + if (E.target === k) { + return true + } + } + return false + } + const sortEdges = (k, v) => + k.source.name.localeCompare(v.source.name) || + k.target.name.localeCompare(v.target.name) + for (const k of this.compilers) { + const P = this.dependencies.get(k) + if (P) { + for (const R of P) { + const P = this.compilers.find((k) => k.name === R) + if (!P) { + E.push(R) + } else { + v.add({ source: k, target: P }) + } + } + } + } + const P = E.map((k) => `Compiler dependency \`${k}\` not found.`) + const R = this.compilers.filter((k) => !targetFound(k)) + while (R.length > 0) { + const k = R.pop() + for (const E of v) { + if (E.source === k) { + v.delete(E) + const k = E.target + if (!targetFound(k)) { + R.push(k) + } + } + } + } + if (v.size > 0) { + const k = Array.from(v) + .sort(sortEdges) + .map((k) => `${k.source.name} -> ${k.target.name}`) + k.unshift('Circular dependency found in compiler dependencies.') + P.unshift(k.join('\n')) + } + if (P.length > 0) { + const v = P.join('\n') + k(new Error(v)) + return false + } + return true + } + runWithDependencies(k, v, E) { + const R = new Set() + let L = k + const isDependencyFulfilled = (k) => R.has(k) + const getReadyCompilers = () => { + let k = [] + let v = L + L = [] + for (const E of v) { + const v = this.dependencies.get(E) + const P = !v || v.every(isDependencyFulfilled) + if (P) { + k.push(E) + } else { + L.push(E) + } + } + return k + } + const runCompilers = (k) => { + if (L.length === 0) return k() + P.map( + getReadyCompilers(), + (k, E) => { + v(k, (v) => { + if (v) return E(v) + R.add(k.name) + runCompilers(E) + }) + }, + k + ) + } + runCompilers(E) + } + _runGraph(k, v, E) { + const R = this.compilers.map((k) => ({ + compiler: k, + setupResult: undefined, + result: undefined, + state: 'blocked', + children: [], + parents: [], + })) + const L = new Map() + for (const k of R) L.set(k.compiler.name, k) + for (const k of R) { + const v = this.dependencies.get(k.compiler) + if (!v) continue + for (const E of v) { + const v = L.get(E) + k.parents.push(v) + v.children.push(k) + } + } + const N = new le() + for (const k of R) { + if (k.parents.length === 0) { + k.state = 'queued' + N.enqueue(k) + } + } + let ae = false + let pe = 0 + const me = this._options.parallelism + const nodeDone = (k, v, L) => { + if (ae) return + if (v) { + ae = true + return P.each( + R, + (k, v) => { + if (k.compiler.watching) { + k.compiler.watching.close(v) + } else { + v() + } + }, + () => E(v) + ) + } + k.result = L + pe-- + if (k.state === 'running') { + k.state = 'done' + for (const v of k.children) { + if (v.state === 'blocked') N.enqueue(v) + } + } else if (k.state === 'running-outdated') { + k.state = 'blocked' + N.enqueue(k) + } + processQueue() + } + const nodeInvalidFromParent = (k) => { + if (k.state === 'done') { + k.state = 'blocked' + } else if (k.state === 'running') { + k.state = 'running-outdated' + } + for (const v of k.children) { + nodeInvalidFromParent(v) + } + } + const nodeInvalid = (k) => { + if (k.state === 'done') { + k.state = 'pending' + } else if (k.state === 'running') { + k.state = 'running-outdated' + } + for (const v of k.children) { + nodeInvalidFromParent(v) + } + } + const nodeChange = (k) => { + nodeInvalid(k) + if (k.state === 'pending') { + k.state = 'blocked' + } + if (k.state === 'blocked') { + N.enqueue(k) + processQueue() + } + } + const ye = [] + R.forEach((v, E) => { + ye.push( + (v.setupResult = k( + v.compiler, + E, + nodeDone.bind(null, v), + () => v.state !== 'starting' && v.state !== 'running', + () => nodeChange(v), + () => nodeInvalid(v) + )) + ) + }) + let _e = true + const processQueue = () => { + if (_e) return + _e = true + process.nextTick(processQueueWorker) + } + const processQueueWorker = () => { + while (pe < me && N.length > 0 && !ae) { + const k = N.dequeue() + if ( + k.state === 'queued' || + (k.state === 'blocked' && + k.parents.every((k) => k.state === 'done')) + ) { + pe++ + k.state = 'starting' + v(k.compiler, k.setupResult, nodeDone.bind(null, k)) + k.state = 'running' + } + } + _e = false + if (!ae && pe === 0 && R.every((k) => k.state === 'done')) { + const k = [] + for (const v of R) { + const E = v.result + if (E) { + v.result = undefined + k.push(E) + } + } + if (k.length > 0) { + E(null, new q(k)) + } + } + } + processQueueWorker() + return ye + } + watch(k, v) { + if (this.running) { + return v(new N()) + } + this.running = true + if (this.validateDependencies(v)) { + const E = this._runGraph( + (v, E, P, R, L, N) => { + const q = v.watch(Array.isArray(k) ? k[E] : k, P) + if (q) { + q._onInvalid = N + q._onChange = L + q._isBlocked = R + } + return q + }, + (k, v, E) => { + if (k.watching !== v) return + if (!v.running) v.invalidate() + }, + v + ) + return new ae(E, this) + } + return new ae([], this) + } + run(k) { + if (this.running) { + return k(new N()) + } + this.running = true + if (this.validateDependencies(k)) { + this._runGraph( + () => {}, + (k, v, E) => k.run(E), + (v, E) => { + this.running = false + if (k !== undefined) { + return k(v, E) + } + } + ) + } + } + purgeInputFileSystem() { + for (const k of this.compilers) { + if (k.inputFileSystem && k.inputFileSystem.purge) { + k.inputFileSystem.purge() + } + } + } + close(k) { + P.each( + this.compilers, + (k, v) => { + k.close(v) + }, + k + ) + } + } + }, + 14976: function (k, v, E) { + 'use strict' + const P = E(65315) + const indent = (k, v) => { + const E = k.replace(/\n([^\n])/g, '\n' + v + '$1') + return v + E + } + class MultiStats { + constructor(k) { + this.stats = k + } + get hash() { + return this.stats.map((k) => k.hash).join('') + } + hasErrors() { + return this.stats.some((k) => k.hasErrors()) + } + hasWarnings() { + return this.stats.some((k) => k.hasWarnings()) + } + _createChildOptions(k, v) { + if (!k) { + k = {} + } + const { children: E = undefined, ...P } = + typeof k === 'string' ? { preset: k } : k + const R = this.stats.map((k, R) => { + const L = Array.isArray(E) ? E[R] : E + return k.compilation.createStatsOptions( + { + ...P, + ...(typeof L === 'string' + ? { preset: L } + : L && typeof L === 'object' + ? L + : undefined), + }, + v + ) + }) + return { + version: R.every((k) => k.version), + hash: R.every((k) => k.hash), + errorsCount: R.every((k) => k.errorsCount), + warningsCount: R.every((k) => k.warningsCount), + errors: R.every((k) => k.errors), + warnings: R.every((k) => k.warnings), + children: R, + } + } + toJson(k) { + k = this._createChildOptions(k, { forToString: false }) + const v = {} + v.children = this.stats.map((v, E) => { + const R = v.toJson(k.children[E]) + const L = v.compilation.name + const N = + L && + P.makePathsRelative(k.context, L, v.compilation.compiler.root) + R.name = N + return R + }) + if (k.version) { + v.version = v.children[0].version + } + if (k.hash) { + v.hash = v.children.map((k) => k.hash).join('') + } + const mapError = (k, v) => ({ + ...v, + compilerPath: v.compilerPath + ? `${k.name}.${v.compilerPath}` + : k.name, + }) + if (k.errors) { + v.errors = [] + for (const k of v.children) { + for (const E of k.errors) { + v.errors.push(mapError(k, E)) + } + } + } + if (k.warnings) { + v.warnings = [] + for (const k of v.children) { + for (const E of k.warnings) { + v.warnings.push(mapError(k, E)) + } + } + } + if (k.errorsCount) { + v.errorsCount = 0 + for (const k of v.children) { + v.errorsCount += k.errorsCount + } + } + if (k.warningsCount) { + v.warningsCount = 0 + for (const k of v.children) { + v.warningsCount += k.warningsCount + } + } + return v + } + toString(k) { + k = this._createChildOptions(k, { forToString: true }) + const v = this.stats.map((v, E) => { + const R = v.toString(k.children[E]) + const L = v.compilation.name + const N = + L && + P.makePathsRelative( + k.context, + L, + v.compilation.compiler.root + ).replace(/\|/g, ' ') + if (!R) return R + return N ? `${N}:\n${indent(R, ' ')}` : R + }) + return v.filter(Boolean).join('\n\n') + } + } + k.exports = MultiStats + }, + 73463: function (k, v, E) { + 'use strict' + const P = E(78175) + class MultiWatching { + constructor(k, v) { + this.watchings = k + this.compiler = v + } + invalidate(k) { + if (k) { + P.each(this.watchings, (k, v) => k.invalidate(v), k) + } else { + for (const k of this.watchings) { + k.invalidate() + } + } + } + suspend() { + for (const k of this.watchings) { + k.suspend() + } + } + resume() { + for (const k of this.watchings) { + k.resume() + } + } + close(k) { + P.forEach( + this.watchings, + (k, v) => { + k.close(v) + }, + (v) => { + this.compiler.hooks.watchClose.call() + if (typeof k === 'function') { + this.compiler.running = false + k(v) + } + } + ) + } + } + k.exports = MultiWatching + }, + 75018: function (k) { + 'use strict' + class NoEmitOnErrorsPlugin { + apply(k) { + k.hooks.shouldEmit.tap('NoEmitOnErrorsPlugin', (k) => { + if (k.getStats().hasErrors()) return false + }) + k.hooks.compilation.tap('NoEmitOnErrorsPlugin', (k) => { + k.hooks.shouldRecord.tap('NoEmitOnErrorsPlugin', () => { + if (k.getStats().hasErrors()) return false + }) + }) + } + } + k.exports = NoEmitOnErrorsPlugin + }, + 2940: function (k, v, E) { + 'use strict' + const P = E(71572) + k.exports = class NoModeWarning extends P { + constructor() { + super() + this.name = 'NoModeWarning' + this.message = + 'configuration\n' + + "The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n" + + "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/' + } + } + }, + 86770: function (k, v, E) { + 'use strict' + const P = E(71572) + const R = E(58528) + class NodeStuffInWebError extends P { + constructor(k, v, E) { + super( + `${JSON.stringify( + v + )} has been used, it will be undefined in next major version.\n${E}` + ) + this.name = 'NodeStuffInWebError' + this.loc = k + } + } + R(NodeStuffInWebError, 'webpack/lib/NodeStuffInWebError') + k.exports = NodeStuffInWebError + }, + 12661: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, + } = E(93622) + const L = E(86770) + const N = E(56727) + const q = E(11602) + const ae = E(60381) + const { evaluateToString: le, expressionIsUnsupported: pe } = E(80784) + const { relative: me } = E(57825) + const { parseResource: ye } = E(65315) + const _e = 'NodeStuffPlugin' + class NodeStuffPlugin { + constructor(k) { + this.options = k + } + apply(k) { + const v = this.options + k.hooks.compilation.tap(_e, (E, { normalModuleFactory: Ie }) => { + const handler = (E, P) => { + if (P.node === false) return + let R = v + if (P.node) { + R = { ...R, ...P.node } + } + if (R.global !== false) { + const k = R.global === 'warn' + E.hooks.expression.for('global').tap(_e, (v) => { + const P = new ae(N.global, v.range, [N.global]) + P.loc = v.loc + E.state.module.addPresentationalDependency(P) + if (k) { + E.state.module.addWarning( + new L( + P.loc, + 'global', + "The global namespace object is a Node.js feature and isn't available in browsers." + ) + ) + } + }) + E.hooks.rename.for('global').tap(_e, (k) => { + const v = new ae(N.global, k.range, [N.global]) + v.loc = k.loc + E.state.module.addPresentationalDependency(v) + return false + }) + } + const setModuleConstant = (k, v, P) => { + E.hooks.expression.for(k).tap(_e, (R) => { + const N = new q(JSON.stringify(v(E.state.module)), R.range, k) + N.loc = R.loc + E.state.module.addPresentationalDependency(N) + if (P) { + E.state.module.addWarning(new L(N.loc, k, P)) + } + return true + }) + } + const setConstant = (k, v, E) => setModuleConstant(k, () => v, E) + const Ie = k.context + if (R.__filename) { + switch (R.__filename) { + case 'mock': + setConstant('__filename', '/index.js') + break + case 'warn-mock': + setConstant( + '__filename', + '/index.js', + "__filename is a Node.js feature and isn't available in browsers." + ) + break + case true: + setModuleConstant('__filename', (v) => + me(k.inputFileSystem, Ie, v.resource) + ) + break + } + E.hooks.evaluateIdentifier.for('__filename').tap(_e, (k) => { + if (!E.state.module) return + const v = ye(E.state.module.resource) + return le(v.path)(k) + }) + } + if (R.__dirname) { + switch (R.__dirname) { + case 'mock': + setConstant('__dirname', '/') + break + case 'warn-mock': + setConstant( + '__dirname', + '/', + "__dirname is a Node.js feature and isn't available in browsers." + ) + break + case true: + setModuleConstant('__dirname', (v) => + me(k.inputFileSystem, Ie, v.context) + ) + break + } + E.hooks.evaluateIdentifier.for('__dirname').tap(_e, (k) => { + if (!E.state.module) return + return le(E.state.module.context)(k) + }) + } + E.hooks.expression + .for('require.extensions') + .tap( + _e, + pe( + E, + 'require.extensions is not supported by webpack. Use a loader instead.' + ) + ) + } + Ie.hooks.parser.for(P).tap(_e, handler) + Ie.hooks.parser.for(R).tap(_e, handler) + }) + } + } + k.exports = NodeStuffPlugin + }, + 38224: function (k, v, E) { + 'use strict' + const P = E(54650) + const { getContext: R, runLoaders: L } = E(22955) + const N = E(63477) + const { HookMap: q, SyncHook: ae, AsyncSeriesBailHook: le } = E(79846) + const { + CachedSource: pe, + OriginalSource: me, + RawSource: ye, + SourceMapSource: _e, + } = E(51255) + const Ie = E(27747) + const Me = E(82104) + const Te = E(88396) + const je = E(23804) + const Ne = E(47560) + const Be = E(86267) + const qe = E(63591) + const { JAVASCRIPT_MODULE_TYPE_AUTO: Ue } = E(93622) + const Ge = E(95801) + const He = E(56727) + const We = E(57975) + const Qe = E(71572) + const Je = E(1811) + const Ve = E(12359) + const { isSubset: Ke } = E(59959) + const { getScheme: Ye } = E(78296) + const { + compareLocations: Xe, + concatComparators: Ze, + compareSelect: et, + keepOriginalOrder: tt, + } = E(95648) + const nt = E(74012) + const { createFakeHook: st } = E(61883) + const { join: rt } = E(57825) + const { contextify: ot, absolutify: it, makePathsRelative: at } = E(65315) + const ct = E(58528) + const lt = E(20631) + const ut = lt(() => E(44017)) + const pt = lt(() => E(38476).validate) + const dt = /^([a-zA-Z]:\\|\\\\|\/)/ + const contextifySourceUrl = (k, v, E) => { + if (v.startsWith('webpack://')) return v + return `webpack://${at(k, v, E)}` + } + const contextifySourceMap = (k, v, E) => { + if (!Array.isArray(v.sources)) return v + const { sourceRoot: P } = v + const R = !P + ? (k) => k + : P.endsWith('/') + ? (k) => (k.startsWith('/') ? `${P.slice(0, -1)}${k}` : `${P}${k}`) + : (k) => (k.startsWith('/') ? `${P}${k}` : `${P}/${k}`) + const L = v.sources.map((v) => contextifySourceUrl(k, R(v), E)) + return { ...v, file: 'x', sourceRoot: undefined, sources: L } + } + const asString = (k) => { + if (Buffer.isBuffer(k)) { + return k.toString('utf-8') + } + return k + } + const asBuffer = (k) => { + if (!Buffer.isBuffer(k)) { + return Buffer.from(k, 'utf-8') + } + return k + } + class NonErrorEmittedError extends Qe { + constructor(k) { + super() + this.name = 'NonErrorEmittedError' + this.message = '(Emitted value instead of an instance of Error) ' + k + } + } + ct( + NonErrorEmittedError, + 'webpack/lib/NormalModule', + 'NonErrorEmittedError' + ) + const ft = new WeakMap() + class NormalModule extends Te { + static getCompilationHooks(k) { + if (!(k instanceof Ie)) { + throw new TypeError( + "The 'compilation' argument must be an instance of Compilation" + ) + } + let v = ft.get(k) + if (v === undefined) { + v = { + loader: new ae(['loaderContext', 'module']), + beforeLoaders: new ae(['loaders', 'module', 'loaderContext']), + beforeParse: new ae(['module']), + beforeSnapshot: new ae(['module']), + readResourceForScheme: new q((k) => { + const E = v.readResource.for(k) + return st({ + tap: (k, v) => E.tap(k, (k) => v(k.resource, k._module)), + tapAsync: (k, v) => + E.tapAsync(k, (k, E) => v(k.resource, k._module, E)), + tapPromise: (k, v) => + E.tapPromise(k, (k) => v(k.resource, k._module)), + }) + }), + readResource: new q(() => new le(['loaderContext'])), + needBuild: new le(['module', 'context']), + } + ft.set(k, v) + } + return v + } + constructor({ + layer: k, + type: v, + request: E, + userRequest: P, + rawRequest: L, + loaders: N, + resource: q, + resourceResolveData: ae, + context: le, + matchResource: pe, + parser: me, + parserOptions: ye, + generator: _e, + generatorOptions: Ie, + resolveOptions: Me, + }) { + super(v, le || R(q), k) + this.request = E + this.userRequest = P + this.rawRequest = L + this.binary = /^(asset|webassembly)\b/.test(v) + this.parser = me + this.parserOptions = ye + this.generator = _e + this.generatorOptions = Ie + this.resource = q + this.resourceResolveData = ae + this.matchResource = pe + this.loaders = N + if (Me !== undefined) { + this.resolveOptions = Me + } + this.error = null + this._source = null + this._sourceSizes = undefined + this._sourceTypes = undefined + this._lastSuccessfulBuildMeta = {} + this._forceBuild = true + this._isEvaluatingSideEffects = false + this._addedSideEffectsBailout = undefined + this._codeGeneratorData = new Map() + } + identifier() { + if (this.layer === null) { + if (this.type === Ue) { + return this.request + } else { + return `${this.type}|${this.request}` + } + } else { + return `${this.type}|${this.request}|${this.layer}` + } + } + readableIdentifier(k) { + return k.shorten(this.userRequest) + } + libIdent(k) { + let v = ot(k.context, this.userRequest, k.associatedObjectForCache) + if (this.layer) v = `(${this.layer})/${v}` + return v + } + nameForCondition() { + const k = this.matchResource || this.resource + const v = k.indexOf('?') + if (v >= 0) return k.slice(0, v) + return k + } + updateCacheModule(k) { + super.updateCacheModule(k) + const v = k + this.binary = v.binary + this.request = v.request + this.userRequest = v.userRequest + this.rawRequest = v.rawRequest + this.parser = v.parser + this.parserOptions = v.parserOptions + this.generator = v.generator + this.generatorOptions = v.generatorOptions + this.resource = v.resource + this.resourceResolveData = v.resourceResolveData + this.context = v.context + this.matchResource = v.matchResource + this.loaders = v.loaders + } + cleanupForCache() { + if (this.buildInfo) { + if (this._sourceTypes === undefined) this.getSourceTypes() + for (const k of this._sourceTypes) { + this.size(k) + } + } + super.cleanupForCache() + this.parser = undefined + this.parserOptions = undefined + this.generator = undefined + this.generatorOptions = undefined + } + getUnsafeCacheData() { + const k = super.getUnsafeCacheData() + k.parserOptions = this.parserOptions + k.generatorOptions = this.generatorOptions + return k + } + restoreFromUnsafeCache(k, v) { + this._restoreFromUnsafeCache(k, v) + } + _restoreFromUnsafeCache(k, v) { + super._restoreFromUnsafeCache(k, v) + this.parserOptions = k.parserOptions + this.parser = v.getParser(this.type, this.parserOptions) + this.generatorOptions = k.generatorOptions + this.generator = v.getGenerator(this.type, this.generatorOptions) + } + createSourceForAsset(k, v, E, P, R) { + if (P) { + if ( + typeof P === 'string' && + (this.useSourceMap || this.useSimpleSourceMap) + ) { + return new me(E, contextifySourceUrl(k, P, R)) + } + if (this.useSourceMap) { + return new _e(E, v, contextifySourceMap(k, P, R)) + } + } + return new ye(E) + } + _createLoaderContext(k, v, E, R, L) { + const { requestShortener: q } = E.runtimeTemplate + const getCurrentLoaderName = () => { + const k = this.getCurrentLoader(_e) + if (!k) return '(not in loader scope)' + return q.shorten(k.loader) + } + const getResolveContext = () => ({ + fileDependencies: { add: (k) => _e.addDependency(k) }, + contextDependencies: { add: (k) => _e.addContextDependency(k) }, + missingDependencies: { add: (k) => _e.addMissingDependency(k) }, + }) + const ae = lt(() => it.bindCache(E.compiler.root)) + const le = lt(() => + it.bindContextCache(this.context, E.compiler.root) + ) + const pe = lt(() => ot.bindCache(E.compiler.root)) + const me = lt(() => + ot.bindContextCache(this.context, E.compiler.root) + ) + const ye = { + absolutify: (k, v) => (k === this.context ? le()(v) : ae()(k, v)), + contextify: (k, v) => (k === this.context ? me()(v) : pe()(k, v)), + createHash: (k) => nt(k || E.outputOptions.hashFunction), + } + const _e = { + version: 2, + getOptions: (k) => { + const v = this.getCurrentLoader(_e) + let { options: E } = v + if (typeof E === 'string') { + if (E.startsWith('{') && E.endsWith('}')) { + try { + E = P(E) + } catch (k) { + throw new Error(`Cannot parse string options: ${k.message}`) + } + } else { + E = N.parse(E, '&', '=', { maxKeys: 0 }) + } + } + if (E === null || E === undefined) { + E = {} + } + if (k) { + let v = 'Loader' + let P = 'options' + let R + if (k.title && (R = /^(.+) (.+)$/.exec(k.title))) { + ;[, v, P] = R + } + pt()(k, E, { name: v, baseDataPath: P }) + } + return E + }, + emitWarning: (k) => { + if (!(k instanceof Error)) { + k = new NonErrorEmittedError(k) + } + this.addWarning(new Ge(k, { from: getCurrentLoaderName() })) + }, + emitError: (k) => { + if (!(k instanceof Error)) { + k = new NonErrorEmittedError(k) + } + this.addError(new Ne(k, { from: getCurrentLoaderName() })) + }, + getLogger: (k) => { + const v = this.getCurrentLoader(_e) + return E.getLogger(() => + [v && v.loader, k, this.identifier()].filter(Boolean).join('|') + ) + }, + resolve(v, E, P) { + k.resolve({}, v, E, getResolveContext(), P) + }, + getResolve(v) { + const E = v ? k.withOptions(v) : k + return (k, v, P) => { + if (P) { + E.resolve({}, k, v, getResolveContext(), P) + } else { + return new Promise((P, R) => { + E.resolve({}, k, v, getResolveContext(), (k, v) => { + if (k) R(k) + else P(v) + }) + }) + } + } + }, + emitFile: (k, P, R, L) => { + if (!this.buildInfo.assets) { + this.buildInfo.assets = Object.create(null) + this.buildInfo.assetsInfo = new Map() + } + this.buildInfo.assets[k] = this.createSourceForAsset( + v.context, + k, + P, + R, + E.compiler.root + ) + this.buildInfo.assetsInfo.set(k, L) + }, + addBuildDependency: (k) => { + if (this.buildInfo.buildDependencies === undefined) { + this.buildInfo.buildDependencies = new Ve() + } + this.buildInfo.buildDependencies.add(k) + }, + utils: ye, + rootContext: v.context, + webpack: true, + sourceMap: !!this.useSourceMap, + mode: v.mode || 'production', + _module: this, + _compilation: E, + _compiler: E.compiler, + fs: R, + } + Object.assign(_e, v.loader) + L.loader.call(_e, this) + return _e + } + getCurrentLoader(k, v = k.loaderIndex) { + if ( + this.loaders && + this.loaders.length && + v < this.loaders.length && + v >= 0 && + this.loaders[v] + ) { + return this.loaders[v] + } + return null + } + createSource(k, v, E, P) { + if (Buffer.isBuffer(v)) { + return new ye(v) + } + if (!this.identifier) { + return new ye(v) + } + const R = this.identifier() + if (this.useSourceMap && E) { + return new _e( + v, + contextifySourceUrl(k, R, P), + contextifySourceMap(k, E, P) + ) + } + if (this.useSourceMap || this.useSimpleSourceMap) { + return new me(v, contextifySourceUrl(k, R, P)) + } + return new ye(v) + } + _doBuild(k, v, E, P, R, N) { + const q = this._createLoaderContext(E, k, v, P, R) + const processResult = (E, P) => { + if (E) { + if (!(E instanceof Error)) { + E = new NonErrorEmittedError(E) + } + const k = this.getCurrentLoader(q) + const P = new je(E, { + from: k && v.runtimeTemplate.requestShortener.shorten(k.loader), + }) + return N(P) + } + const R = P[0] + const L = P.length >= 1 ? P[1] : null + const ae = P.length >= 2 ? P[2] : null + if (!Buffer.isBuffer(R) && typeof R !== 'string') { + const k = this.getCurrentLoader(q, 0) + const E = new Error( + `Final loader (${ + k + ? v.runtimeTemplate.requestShortener.shorten(k.loader) + : 'unknown' + }) didn't return a Buffer or String` + ) + const P = new je(E) + return N(P) + } + this._source = this.createSource( + k.context, + this.binary ? asBuffer(R) : asString(R), + L, + v.compiler.root + ) + if (this._sourceSizes !== undefined) this._sourceSizes.clear() + this._ast = + typeof ae === 'object' && + ae !== null && + ae.webpackAST !== undefined + ? ae.webpackAST + : null + return N() + } + this.buildInfo.fileDependencies = new Ve() + this.buildInfo.contextDependencies = new Ve() + this.buildInfo.missingDependencies = new Ve() + this.buildInfo.cacheable = true + try { + R.beforeLoaders.call(this.loaders, this, q) + } catch (k) { + processResult(k) + return + } + if (this.loaders.length > 0) { + this.buildInfo.buildDependencies = new Ve() + } + L( + { + resource: this.resource, + loaders: this.loaders, + context: q, + processResource: (k, v, E) => { + const P = k.resource + const L = Ye(P) + R.readResource.for(L).callAsync(k, (k, v) => { + if (k) return E(k) + if (typeof v !== 'string' && !v) { + return E(new We(L, P)) + } + return E(null, v) + }) + }, + }, + (k, v) => { + q._compilation = q._compiler = q._module = q.fs = undefined + if (!v) { + this.buildInfo.cacheable = false + return processResult( + k || new Error('No result from loader-runner processing'), + null + ) + } + this.buildInfo.fileDependencies.addAll(v.fileDependencies) + this.buildInfo.contextDependencies.addAll(v.contextDependencies) + this.buildInfo.missingDependencies.addAll(v.missingDependencies) + for (const k of this.loaders) { + this.buildInfo.buildDependencies.add(k.loader) + } + this.buildInfo.cacheable = this.buildInfo.cacheable && v.cacheable + processResult(k, v.result) + } + ) + } + markModuleAsErrored(k) { + this.buildMeta = { ...this._lastSuccessfulBuildMeta } + this.error = k + this.addError(k) + } + applyNoParseRule(k, v) { + if (typeof k === 'string') { + return v.startsWith(k) + } + if (typeof k === 'function') { + return k(v) + } + return k.test(v) + } + shouldPreventParsing(k, v) { + if (!k) { + return false + } + if (!Array.isArray(k)) { + return this.applyNoParseRule(k, v) + } + for (let E = 0; E < k.length; E++) { + const P = k[E] + if (this.applyNoParseRule(P, v)) { + return true + } + } + return false + } + _initBuildHash(k) { + const v = nt(k.outputOptions.hashFunction) + if (this._source) { + v.update('source') + this._source.updateHash(v) + } + v.update('meta') + v.update(JSON.stringify(this.buildMeta)) + this.buildInfo.hash = v.digest('hex') + } + build(k, v, E, P, R) { + this._forceBuild = false + this._source = null + if (this._sourceSizes !== undefined) this._sourceSizes.clear() + this._sourceTypes = undefined + this._ast = null + this.error = null + this.clearWarningsAndErrors() + this.clearDependenciesAndBlocks() + this.buildMeta = {} + this.buildInfo = { + cacheable: false, + parsed: true, + fileDependencies: undefined, + contextDependencies: undefined, + missingDependencies: undefined, + buildDependencies: undefined, + valueDependencies: undefined, + hash: undefined, + assets: undefined, + assetsInfo: undefined, + } + const L = v.compiler.fsStartTime || Date.now() + const N = NormalModule.getCompilationHooks(v) + return this._doBuild(k, v, E, P, N, (E) => { + if (E) { + this.markModuleAsErrored(E) + this._initBuildHash(v) + return R() + } + const handleParseError = (E) => { + const P = this._source.source() + const L = this.loaders.map((E) => + ot(k.context, E.loader, v.compiler.root) + ) + const N = new qe(P, E, L, this.type) + this.markModuleAsErrored(N) + this._initBuildHash(v) + return R() + } + const handleParseResult = (k) => { + this.dependencies.sort( + Ze( + et((k) => k.loc, Xe), + tt(this.dependencies) + ) + ) + this._initBuildHash(v) + this._lastSuccessfulBuildMeta = this.buildMeta + return handleBuildDone() + } + const handleBuildDone = () => { + try { + N.beforeSnapshot.call(this) + } catch (k) { + this.markModuleAsErrored(k) + return R() + } + const k = v.options.snapshot.module + if (!this.buildInfo.cacheable || !k) { + return R() + } + let E = undefined + const checkDependencies = (k) => { + for (const P of k) { + if (!dt.test(P)) { + if (E === undefined) E = new Set() + E.add(P) + k.delete(P) + try { + const E = P.replace(/[\\/]?\*.*$/, '') + const R = rt(v.fileSystemInfo.fs, this.context, E) + if (R !== P && dt.test(R)) { + ;(E !== P ? this.buildInfo.contextDependencies : k).add( + R + ) + } + } catch (k) {} + } + } + } + checkDependencies(this.buildInfo.fileDependencies) + checkDependencies(this.buildInfo.missingDependencies) + checkDependencies(this.buildInfo.contextDependencies) + if (E !== undefined) { + const k = ut() + this.addWarning(new k(this, E)) + } + v.fileSystemInfo.createSnapshot( + L, + this.buildInfo.fileDependencies, + this.buildInfo.contextDependencies, + this.buildInfo.missingDependencies, + k, + (k, v) => { + if (k) { + this.markModuleAsErrored(k) + return + } + this.buildInfo.fileDependencies = undefined + this.buildInfo.contextDependencies = undefined + this.buildInfo.missingDependencies = undefined + this.buildInfo.snapshot = v + return R() + } + ) + } + try { + N.beforeParse.call(this) + } catch (E) { + this.markModuleAsErrored(E) + this._initBuildHash(v) + return R() + } + const P = k.module && k.module.noParse + if (this.shouldPreventParsing(P, this.request)) { + this.buildInfo.parsed = false + this._initBuildHash(v) + return handleBuildDone() + } + let q + try { + const E = this._source.source() + q = this.parser.parse(this._ast || E, { + source: E, + current: this, + module: this, + compilation: v, + options: k, + }) + } catch (k) { + handleParseError(k) + return + } + handleParseResult(q) + }) + } + getConcatenationBailoutReason(k) { + return this.generator.getConcatenationBailoutReason(this, k) + } + getSideEffectsConnectionState(k) { + 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 Be.CIRCULAR_CONNECTION + this._isEvaluatingSideEffects = true + let v = false + for (const E of this.dependencies) { + const P = E.getModuleEvaluationSideEffectsState(k) + if (P === true) { + if ( + this._addedSideEffectsBailout === undefined + ? ((this._addedSideEffectsBailout = new WeakSet()), true) + : !this._addedSideEffectsBailout.has(k) + ) { + this._addedSideEffectsBailout.add(k) + k.getOptimizationBailout(this).push( + () => + `Dependency (${E.type}) with side effects at ${Je(E.loc)}` + ) + } + this._isEvaluatingSideEffects = false + return true + } else if (P !== Be.CIRCULAR_CONNECTION) { + v = Be.addConnectionStates(v, P) + } + } + this._isEvaluatingSideEffects = false + return v + } else { + return true + } + } + getSourceTypes() { + if (this._sourceTypes === undefined) { + this._sourceTypes = this.generator.getTypes(this) + } + return this._sourceTypes + } + codeGeneration({ + dependencyTemplates: k, + runtimeTemplate: v, + moduleGraph: E, + chunkGraph: P, + runtime: R, + concatenationScope: L, + codeGenerationResults: N, + sourceTypes: q, + }) { + const ae = new Set() + if (!this.buildInfo.parsed) { + ae.add(He.module) + ae.add(He.exports) + ae.add(He.thisAsExports) + } + const getData = () => this._codeGeneratorData + const le = new Map() + for (const me of q || P.getModuleSourceTypes(this)) { + const q = this.error + ? new ye( + 'throw new Error(' + JSON.stringify(this.error.message) + ');' + ) + : this.generator.generate(this, { + dependencyTemplates: k, + runtimeTemplate: v, + moduleGraph: E, + chunkGraph: P, + runtimeRequirements: ae, + runtime: R, + concatenationScope: L, + codeGenerationResults: N, + getData: getData, + type: me, + }) + if (q) { + le.set(me, new pe(q)) + } + } + const me = { + sources: le, + runtimeRequirements: ae, + data: this._codeGeneratorData, + } + return me + } + originalSource() { + return this._source + } + invalidateBuild() { + this._forceBuild = true + } + needBuild(k, v) { + const { fileSystemInfo: E, compilation: P, valueCacheVersions: R } = k + if (this._forceBuild) return v(null, true) + if (this.error) return v(null, true) + if (!this.buildInfo.cacheable) return v(null, true) + if (!this.buildInfo.snapshot) return v(null, true) + const L = this.buildInfo.valueDependencies + if (L) { + if (!R) return v(null, true) + for (const [k, E] of L) { + if (E === undefined) return v(null, true) + const P = R.get(k) + if ( + E !== P && + (typeof E === 'string' || + typeof P === 'string' || + P === undefined || + !Ke(E, P)) + ) { + return v(null, true) + } + } + } + E.checkSnapshotValid(this.buildInfo.snapshot, (E, R) => { + if (E) return v(E) + if (!R) return v(null, true) + const L = NormalModule.getCompilationHooks(P) + L.needBuild.callAsync(this, k, (k, E) => { + if (k) { + return v( + Me.makeWebpackError( + k, + 'NormalModule.getCompilationHooks().needBuild' + ) + ) + } + v(null, !!E) + }) + }) + } + size(k) { + const v = + this._sourceSizes === undefined + ? undefined + : this._sourceSizes.get(k) + if (v !== undefined) { + return v + } + const E = Math.max(1, this.generator.getSize(this, k)) + if (this._sourceSizes === undefined) { + this._sourceSizes = new Map() + } + this._sourceSizes.set(k, E) + return E + } + addCacheDependencies(k, v, E, P) { + const { snapshot: R, buildDependencies: L } = this.buildInfo + if (R) { + k.addAll(R.getFileIterable()) + v.addAll(R.getContextIterable()) + E.addAll(R.getMissingIterable()) + } else { + const { + fileDependencies: P, + contextDependencies: R, + missingDependencies: L, + } = this.buildInfo + if (P !== undefined) k.addAll(P) + if (R !== undefined) v.addAll(R) + if (L !== undefined) E.addAll(L) + } + if (L !== undefined) { + P.addAll(L) + } + } + updateHash(k, v) { + k.update(this.buildInfo.hash) + this.generator.updateHash(k, { module: this, ...v }) + super.updateHash(k, v) + } + serialize(k) { + const { write: v } = k + v(this._source) + v(this.error) + v(this._lastSuccessfulBuildMeta) + v(this._forceBuild) + v(this._codeGeneratorData) + super.serialize(k) + } + static deserialize(k) { + const v = new NormalModule({ + layer: null, + type: '', + resource: '', + context: '', + request: null, + userRequest: null, + rawRequest: null, + loaders: null, + matchResource: null, + parser: null, + parserOptions: null, + generator: null, + generatorOptions: null, + resolveOptions: null, + }) + v.deserialize(k) + return v + } + deserialize(k) { + const { read: v } = k + this._source = v() + this.error = v() + this._lastSuccessfulBuildMeta = v() + this._forceBuild = v() + this._codeGeneratorData = v() + super.deserialize(k) + } + } + ct(NormalModule, 'webpack/lib/NormalModule') + k.exports = NormalModule + }, + 14062: function (k, v, E) { + 'use strict' + const { getContext: P } = E(22955) + const R = E(78175) + const { + AsyncSeriesBailHook: L, + SyncWaterfallHook: N, + SyncBailHook: q, + SyncHook: ae, + HookMap: le, + } = E(79846) + const pe = E(38317) + const me = E(88396) + const ye = E(66043) + const _e = E(88223) + const { JAVASCRIPT_MODULE_TYPE_AUTO: Ie } = E(93622) + const Me = E(38224) + const Te = E(4345) + const je = E(559) + const Ne = E(73799) + const Be = E(87536) + const qe = E(53998) + const Ue = E(12359) + const { getScheme: Ge } = E(78296) + const { cachedCleverMerge: He, cachedSetProperty: We } = E(99454) + const { join: Qe } = E(57825) + const { parseResource: Je, parseResourceWithoutFragment: Ve } = E(65315) + const Ke = {} + const Ye = {} + const Xe = {} + const Ze = [] + const et = /^([^!]+)!=!/ + const tt = /^[^.]/ + const loaderToIdent = (k) => { + if (!k.options) { + return k.loader + } + if (typeof k.options === 'string') { + return k.loader + '?' + k.options + } + if (typeof k.options !== 'object') { + throw new Error('loader options must be string or object') + } + if (k.ident) { + return k.loader + '??' + k.ident + } + return k.loader + '?' + JSON.stringify(k.options) + } + const stringifyLoadersAndResource = (k, v) => { + let E = '' + for (const v of k) { + E += loaderToIdent(v) + '!' + } + return E + v + } + const needCalls = (k, v) => (E) => { + if (--k === 0) { + return v(E) + } + if (E && k > 0) { + k = NaN + return v(E) + } + } + const mergeGlobalOptions = (k, v, E) => { + const P = v.split('/') + let R + let L = '' + for (const v of P) { + L = L ? `${L}/${v}` : v + const E = k[L] + if (typeof E === 'object') { + if (R === undefined) { + R = E + } else { + R = He(R, E) + } + } + } + if (R === undefined) { + return E + } else { + return He(R, E) + } + } + const deprecationChangedHookMessage = (k, v) => { + const E = v.taps.map((k) => k.name).join(', ') + return ( + `NormalModuleFactory.${k} (${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 nt = new Be([ + new je('test', 'resource'), + new je('scheme'), + new je('mimetype'), + new je('dependency'), + new je('include', 'resource'), + new je('exclude', 'resource', true), + new je('resource'), + new je('resourceQuery'), + new je('resourceFragment'), + new je('realResource'), + new je('issuer'), + new je('compiler'), + new je('issuerLayer'), + new Ne('assert', 'assertions'), + new Ne('descriptionData'), + new Te('type'), + new Te('sideEffects'), + new Te('parser'), + new Te('resolve'), + new Te('generator'), + new Te('layer'), + new qe(), + ]) + class NormalModuleFactory extends ye { + constructor({ + context: k, + fs: v, + resolverFactory: E, + options: R, + associatedObjectForCache: pe, + layers: ye = false, + }) { + super() + this.hooks = Object.freeze({ + resolve: new L(['resolveData']), + resolveForScheme: new le( + () => new L(['resourceData', 'resolveData']) + ), + resolveInScheme: new le( + () => new L(['resourceData', 'resolveData']) + ), + factorize: new L(['resolveData']), + beforeResolve: new L(['resolveData']), + afterResolve: new L(['resolveData']), + createModule: new L(['createData', 'resolveData']), + module: new N(['module', 'createData', 'resolveData']), + createParser: new le(() => new q(['parserOptions'])), + parser: new le(() => new ae(['parser', 'parserOptions'])), + createGenerator: new le(() => new q(['generatorOptions'])), + generator: new le(() => new ae(['generator', 'generatorOptions'])), + createModuleClass: new le( + () => new q(['createData', 'resolveData']) + ), + }) + this.resolverFactory = E + this.ruleSet = nt.compile([ + { rules: R.defaultRules }, + { rules: R.rules }, + ]) + this.context = k || '' + this.fs = v + this._globalParserOptions = R.parser + this._globalGeneratorOptions = R.generator + this.parserCache = new Map() + this.generatorCache = new Map() + this._restoredUnsafeCacheEntries = new Set() + const _e = Je.bindCache(pe) + const Te = Ve.bindCache(pe) + this._parseResourceWithoutFragment = Te + this.hooks.factorize.tapAsync( + { name: 'NormalModuleFactory', stage: 100 }, + (k, v) => { + this.hooks.resolve.callAsync(k, (E, P) => { + if (E) return v(E) + if (P === false) return v() + if (P instanceof me) return v(null, P) + if (typeof P === 'object') + throw new Error( + deprecationChangedHookMessage( + 'resolve', + this.hooks.resolve + ) + + ' Returning a Module object will result in this module used as result.' + ) + this.hooks.afterResolve.callAsync(k, (E, P) => { + if (E) return v(E) + if (typeof P === 'object') + throw new Error( + deprecationChangedHookMessage( + 'afterResolve', + this.hooks.afterResolve + ) + ) + if (P === false) return v() + const R = k.createData + this.hooks.createModule.callAsync(R, k, (E, P) => { + if (!P) { + if (!k.request) { + return v(new Error('Empty dependency (no request)')) + } + P = this.hooks.createModuleClass + .for(R.settings.type) + .call(R, k) + if (!P) { + P = new Me(R) + } + } + P = this.hooks.module.call(P, R, k) + return v(null, P) + }) + }) + }) + } + ) + this.hooks.resolve.tapAsync( + { name: 'NormalModuleFactory', stage: 100 }, + (k, v) => { + const { + contextInfo: E, + context: R, + dependencies: L, + dependencyType: N, + request: q, + assertions: ae, + resolveOptions: le, + fileDependencies: pe, + missingDependencies: me, + contextDependencies: Me, + } = k + const je = this.getResolver('loader') + let Ne = undefined + let Be + let qe + let Ue = false + let Je = false + let Ve = false + const Ye = Ge(R) + let Xe = Ge(q) + if (!Xe) { + let k = q + const v = et.exec(q) + if (v) { + let E = v[1] + if (E.charCodeAt(0) === 46) { + const k = E.charCodeAt(1) + if (k === 47 || (k === 46 && E.charCodeAt(2) === 47)) { + E = Qe(this.fs, R, E) + } + } + Ne = { resource: E, ..._e(E) } + k = q.slice(v[0].length) + } + Xe = Ge(k) + if (!Xe && !Ye) { + const v = k.charCodeAt(0) + const E = k.charCodeAt(1) + Ue = v === 45 && E === 33 + Je = Ue || v === 33 + Ve = v === 33 && E === 33 + const P = k.slice(Ue || Ve ? 2 : Je ? 1 : 0).split(/!+/) + Be = P.pop() + qe = P.map((k) => { + const { path: v, query: E } = Te(k) + return { loader: v, options: E ? E.slice(1) : undefined } + }) + Xe = Ge(Be) + } else { + Be = k + qe = Ze + } + } else { + Be = q + qe = Ze + } + const tt = { + fileDependencies: pe, + missingDependencies: me, + contextDependencies: Me, + } + let nt + let st + const rt = needCalls(2, (le) => { + if (le) return v(le) + try { + for (const k of st) { + if (typeof k.options === 'string' && k.options[0] === '?') { + const v = k.options.slice(1) + if (v === '[[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." + ) + } + k.options = this.ruleSet.references.get(v) + if (k.options === undefined) { + throw new Error( + 'Invalid ident is provided by referenced loader' + ) + } + k.ident = v + } + } + } catch (k) { + return v(k) + } + if (!nt) { + return v(null, L[0].createIgnoredModule(R)) + } + const pe = + (Ne !== undefined ? `${Ne.resource}!=!` : '') + + stringifyLoadersAndResource(st, nt.resource) + const me = {} + const _e = [] + const Me = [] + const Te = [] + let Be + let qe + if ( + Ne && + typeof (Be = Ne.resource) === 'string' && + (qe = /\.webpack\[([^\]]+)\]$/.exec(Be)) + ) { + me.type = qe[1] + Ne.resource = Ne.resource.slice(0, -me.type.length - 10) + } else { + me.type = Ie + const k = Ne || nt + const v = this.ruleSet.exec({ + resource: k.path, + realResource: nt.path, + resourceQuery: k.query, + resourceFragment: k.fragment, + scheme: Xe, + assertions: ae, + mimetype: Ne ? '' : nt.data.mimetype || '', + dependency: N, + descriptionData: Ne + ? undefined + : nt.data.descriptionFileData, + issuer: E.issuer, + compiler: E.compiler, + issuerLayer: E.issuerLayer || '', + }) + for (const k of v) { + if (k.type === 'type' && Ve) { + continue + } + if (k.type === 'use') { + if (!Je && !Ve) { + Me.push(k.value) + } + } else if (k.type === 'use-post') { + if (!Ve) { + _e.push(k.value) + } + } else if (k.type === 'use-pre') { + if (!Ue && !Ve) { + Te.push(k.value) + } + } else if ( + typeof k.value === 'object' && + k.value !== null && + typeof me[k.type] === 'object' && + me[k.type] !== null + ) { + me[k.type] = He(me[k.type], k.value) + } else { + me[k.type] = k.value + } + } + } + let Ge, We, Qe + const Ke = needCalls(3, (R) => { + if (R) { + return v(R) + } + const L = Ge + if (Ne === undefined) { + for (const k of st) L.push(k) + for (const k of We) L.push(k) + } else { + for (const k of We) L.push(k) + for (const k of st) L.push(k) + } + for (const k of Qe) L.push(k) + let N = me.type + const ae = me.resolve + const le = me.layer + if (le !== undefined && !ye) { + return v( + new Error( + "'Rule.layer' is only allowed when 'experiments.layers' is enabled" + ) + ) + } + try { + Object.assign(k.createData, { + layer: le === undefined ? E.issuerLayer || null : le, + request: stringifyLoadersAndResource(L, nt.resource), + userRequest: pe, + rawRequest: q, + loaders: L, + resource: nt.resource, + context: nt.context || P(nt.resource), + matchResource: Ne ? Ne.resource : undefined, + resourceResolveData: nt.data, + settings: me, + type: N, + parser: this.getParser(N, me.parser), + parserOptions: me.parser, + generator: this.getGenerator(N, me.generator), + generatorOptions: me.generator, + resolveOptions: ae, + }) + } catch (k) { + return v(k) + } + v() + }) + this.resolveRequestArray( + E, + this.context, + _e, + je, + tt, + (k, v) => { + Ge = v + Ke(k) + } + ) + this.resolveRequestArray( + E, + this.context, + Me, + je, + tt, + (k, v) => { + We = v + Ke(k) + } + ) + this.resolveRequestArray( + E, + this.context, + Te, + je, + tt, + (k, v) => { + Qe = v + Ke(k) + } + ) + }) + this.resolveRequestArray( + E, + Ye ? this.context : R, + qe, + je, + tt, + (k, v) => { + if (k) return rt(k) + st = v + rt() + } + ) + const defaultResolve = (k) => { + if (/^($|\?)/.test(Be)) { + nt = { resource: Be, data: {}, ..._e(Be) } + rt() + } else { + const v = this.getResolver( + 'normal', + N ? We(le || Ke, 'dependencyType', N) : le + ) + this.resolveResource(E, k, Be, v, tt, (k, v, E) => { + if (k) return rt(k) + if (v !== false) { + nt = { resource: v, data: E, ..._e(v) } + } + rt() + }) + } + } + if (Xe) { + nt = { + resource: Be, + data: {}, + path: undefined, + query: undefined, + fragment: undefined, + context: undefined, + } + this.hooks.resolveForScheme.for(Xe).callAsync(nt, k, (k) => { + if (k) return rt(k) + rt() + }) + } else if (Ye) { + nt = { + resource: Be, + data: {}, + path: undefined, + query: undefined, + fragment: undefined, + context: undefined, + } + this.hooks.resolveInScheme.for(Ye).callAsync(nt, k, (k, v) => { + if (k) return rt(k) + if (!v) return defaultResolve(this.context) + rt() + }) + } else defaultResolve(R) + } + ) + } + cleanupForCache() { + for (const k of this._restoredUnsafeCacheEntries) { + pe.clearChunkGraphForModule(k) + _e.clearModuleGraphForModule(k) + k.cleanupForCache() + } + } + create(k, v) { + const E = k.dependencies + const P = k.context || this.context + const R = k.resolveOptions || Ke + const L = E[0] + const N = L.request + const q = L.assertions + const ae = k.contextInfo + const le = new Ue() + const pe = new Ue() + const me = new Ue() + const ye = (E.length > 0 && E[0].category) || '' + const _e = { + contextInfo: ae, + resolveOptions: R, + context: P, + request: N, + assertions: q, + dependencies: E, + dependencyType: ye, + fileDependencies: le, + missingDependencies: pe, + contextDependencies: me, + createData: {}, + cacheable: true, + } + this.hooks.beforeResolve.callAsync(_e, (k, E) => { + if (k) { + return v(k, { + fileDependencies: le, + missingDependencies: pe, + contextDependencies: me, + cacheable: false, + }) + } + if (E === false) { + return v(null, { + fileDependencies: le, + missingDependencies: pe, + contextDependencies: me, + cacheable: _e.cacheable, + }) + } + if (typeof E === 'object') + throw new Error( + deprecationChangedHookMessage( + 'beforeResolve', + this.hooks.beforeResolve + ) + ) + this.hooks.factorize.callAsync(_e, (k, E) => { + if (k) { + return v(k, { + fileDependencies: le, + missingDependencies: pe, + contextDependencies: me, + cacheable: false, + }) + } + const P = { + module: E, + fileDependencies: le, + missingDependencies: pe, + contextDependencies: me, + cacheable: _e.cacheable, + } + v(null, P) + }) + }) + } + resolveResource(k, v, E, P, R, L) { + P.resolve(k, v, E, R, (N, q, ae) => { + if (N) { + return this._resolveResourceErrorHints( + N, + k, + v, + E, + P, + R, + (k, v) => { + if (k) { + N.message += `\nA fatal error happened during resolving additional hints for this error: ${k.message}` + N.stack += `\n\nA fatal error happened during resolving additional hints for this error:\n${k.stack}` + return L(N) + } + if (v && v.length > 0) { + N.message += `\n${v.join('\n\n')}` + } + let E = false + const R = Array.from(P.options.extensions) + const q = R.map((k) => { + if (tt.test(k)) { + E = true + return `.${k}` + } + return k + }) + if (E) { + N.message += `\nDid you miss the leading dot in 'resolve.extensions'? Did you mean '${JSON.stringify( + q + )}' instead of '${JSON.stringify(R)}'?` + } + L(N) + } + ) + } + L(N, q, ae) + }) + } + _resolveResourceErrorHints(k, v, E, P, L, N, q) { + R.parallel( + [ + (k) => { + if (!L.options.fullySpecified) return k() + L.withOptions({ fullySpecified: false }).resolve( + v, + E, + P, + N, + (v, E) => { + if (!v && E) { + const v = Je(E).path.replace(/^.*[\\/]/, '') + return k( + null, + `Did you mean '${v}'?\nBREAKING CHANGE: The request '${P}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, 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.` + ) + } + k() + } + ) + }, + (k) => { + if (!L.options.enforceExtension) return k() + L.withOptions({ + enforceExtension: false, + extensions: [], + }).resolve(v, E, P, N, (v, E) => { + if (!v && E) { + let v = '' + const E = /(\.[^.]+)(\?|$)/.exec(P) + if (E) { + const k = P.replace(/(\.[^.]+)(\?|$)/, '$2') + if (L.options.extensions.has(E[1])) { + v = `Did you mean '${k}'?` + } else { + v = `Did you mean '${k}'? Also note that '${E[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?` + } + } else { + v = `Did you mean to omit the extension or to remove 'resolve.enforceExtension'?` + } + return k( + null, + `The request '${P}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${v}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?` + ) + } + k() + }) + }, + (k) => { + if (/^\.\.?\//.test(P) || L.options.preferRelative) { + return k() + } + L.resolve(v, E, `./${P}`, N, (v, E) => { + if (v || !E) return k() + const R = L.options.modules + .map((k) => (Array.isArray(k) ? k.join(', ') : k)) + .join(', ') + k( + null, + `Did you mean './${P}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${R}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.` + ) + }) + }, + ], + (k, v) => { + if (k) return q(k) + q(null, v.filter(Boolean)) + } + ) + } + resolveRequestArray(k, v, E, P, L, N) { + if (E.length === 0) return N(null, E) + R.map( + E, + (E, R) => { + P.resolve(k, v, E.loader, L, (N, q, ae) => { + if ( + N && + /^[^/]*$/.test(E.loader) && + !/-loader$/.test(E.loader) + ) { + return P.resolve(k, v, E.loader + '-loader', L, (k) => { + if (!k) { + N.message = + N.message + + '\n' + + "BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n" + + ` You need to specify '${E.loader}-loader' instead of '${E.loader}',\n` + + ' see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed' + } + R(N) + }) + } + if (N) return R(N) + const le = this._parseResourceWithoutFragment(q) + const pe = /\.mjs$/i.test(le.path) + ? 'module' + : /\.cjs$/i.test(le.path) + ? 'commonjs' + : ae.descriptionFileData === undefined + ? undefined + : ae.descriptionFileData.type + const me = { + loader: le.path, + type: pe, + options: + E.options === undefined + ? le.query + ? le.query.slice(1) + : undefined + : E.options, + ident: E.options === undefined ? undefined : E.ident, + } + return R(null, me) + }) + }, + N + ) + } + getParser(k, v = Ye) { + let E = this.parserCache.get(k) + if (E === undefined) { + E = new WeakMap() + this.parserCache.set(k, E) + } + let P = E.get(v) + if (P === undefined) { + P = this.createParser(k, v) + E.set(v, P) + } + return P + } + createParser(k, v = {}) { + v = mergeGlobalOptions(this._globalParserOptions, k, v) + const E = this.hooks.createParser.for(k).call(v) + if (!E) { + throw new Error(`No parser registered for ${k}`) + } + this.hooks.parser.for(k).call(E, v) + return E + } + getGenerator(k, v = Xe) { + let E = this.generatorCache.get(k) + if (E === undefined) { + E = new WeakMap() + this.generatorCache.set(k, E) + } + let P = E.get(v) + if (P === undefined) { + P = this.createGenerator(k, v) + E.set(v, P) + } + return P + } + createGenerator(k, v = {}) { + v = mergeGlobalOptions(this._globalGeneratorOptions, k, v) + const E = this.hooks.createGenerator.for(k).call(v) + if (!E) { + throw new Error(`No generator registered for ${k}`) + } + this.hooks.generator.for(k).call(E, v) + return E + } + getResolver(k, v) { + return this.resolverFactory.get(k, v) + } + } + k.exports = NormalModuleFactory + }, + 35548: function (k, v, E) { + 'use strict' + const { join: P, dirname: R } = E(57825) + class NormalModuleReplacementPlugin { + constructor(k, v) { + this.resourceRegExp = k + this.newResource = v + } + apply(k) { + const v = this.resourceRegExp + const E = this.newResource + k.hooks.normalModuleFactory.tap( + 'NormalModuleReplacementPlugin', + (L) => { + L.hooks.beforeResolve.tap( + 'NormalModuleReplacementPlugin', + (k) => { + if (v.test(k.request)) { + if (typeof E === 'function') { + E(k) + } else { + k.request = E + } + } + } + ) + L.hooks.afterResolve.tap('NormalModuleReplacementPlugin', (L) => { + const N = L.createData + if (v.test(N.resource)) { + if (typeof E === 'function') { + E(L) + } else { + const v = k.inputFileSystem + if (E.startsWith('/') || (E.length > 1 && E[1] === ':')) { + N.resource = E + } else { + N.resource = P(v, R(v, N.resource), E) + } + } + } + }) + } + ) + } + } + k.exports = NormalModuleReplacementPlugin + }, + 99134: function (k, v) { + 'use strict' + v.STAGE_BASIC = -10 + v.STAGE_DEFAULT = 0 + v.STAGE_ADVANCED = 10 + }, + 64593: function (k) { + 'use strict' + class OptionsApply { + process(k, v) {} + } + k.exports = OptionsApply + }, + 17381: function (k, v, E) { + 'use strict' + class Parser { + parse(k, v) { + const P = E(60386) + throw new P() + } + } + k.exports = Parser + }, + 93380: function (k, v, E) { + 'use strict' + const P = E(85992) + class PrefetchPlugin { + constructor(k, v) { + if (v) { + this.context = k + this.request = v + } else { + this.context = null + this.request = k + } + } + apply(k) { + k.hooks.compilation.tap( + 'PrefetchPlugin', + (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(P, v) + } + ) + k.hooks.make.tapAsync('PrefetchPlugin', (v, E) => { + v.addModuleChain( + this.context || k.context, + new P(this.request), + (k) => { + E(k) + } + ) + }) + } + } + k.exports = PrefetchPlugin + }, + 6535: function (k, v, E) { + 'use strict' + const P = E(2170) + const R = E(47575) + const L = E(38224) + const N = E(92198) + const { contextify: q } = E(65315) + const ae = N(E(53912), () => E(13689), { + name: 'Progress Plugin', + baseDataPath: 'options', + }) + const median3 = (k, v, E) => + k + v + E - Math.max(k, v, E) - Math.min(k, v, E) + const createDefaultHandler = (k, v) => { + const E = [] + const defaultHandler = (P, R, ...L) => { + if (k) { + if (P === 0) { + E.length = 0 + } + const k = [R, ...L] + const N = k.map((k) => k.replace(/\d+\/\d+ /g, '')) + const q = Date.now() + const ae = Math.max(N.length, E.length) + for (let k = ae; k >= 0; k--) { + const P = k < N.length ? N[k] : undefined + const R = k < E.length ? E[k] : undefined + if (R) { + if (P !== R.value) { + const L = q - R.time + if (R.value) { + let P = R.value + if (k > 0) { + P = E[k - 1].value + ' > ' + P + } + const N = `${' | '.repeat(k)}${L} ms ${P}` + const q = L + { + if (q > 1e4) { + v.error(N) + } else if (q > 1e3) { + v.warn(N) + } else if (q > 10) { + v.info(N) + } else if (q > 5) { + v.log(N) + } else { + v.debug(N) + } + } + } + if (P === undefined) { + E.length = k + } else { + R.value = P + R.time = q + E.length = k + 1 + } + } + } else { + E[k] = { value: P, time: q } + } + } + } + v.status(`${Math.floor(P * 100)}%`, R, ...L) + if (P === 1 || (!R && L.length === 0)) v.status() + } + return defaultHandler + } + const le = new WeakMap() + class ProgressPlugin { + static getReporter(k) { + return le.get(k) + } + constructor(k = {}) { + if (typeof k === 'function') { + k = { handler: k } + } + ae(k) + k = { ...ProgressPlugin.defaultOptions, ...k } + this.profile = k.profile + this.handler = k.handler + this.modulesCount = k.modulesCount + this.dependenciesCount = k.dependenciesCount + this.showEntries = k.entries + this.showModules = k.modules + this.showDependencies = k.dependencies + this.showActiveModules = k.activeModules + this.percentBy = k.percentBy + } + apply(k) { + const v = + this.handler || + createDefaultHandler( + this.profile, + k.getInfrastructureLogger('webpack.Progress') + ) + if (k instanceof R) { + this._applyOnMultiCompiler(k, v) + } else if (k instanceof P) { + this._applyOnCompiler(k, v) + } + } + _applyOnMultiCompiler(k, v) { + const E = k.compilers.map(() => [0]) + k.compilers.forEach((k, P) => { + new ProgressPlugin((k, R, ...L) => { + E[P] = [k, R, ...L] + let N = 0 + for (const [k] of E) N += k + v(N / E.length, `[${P}] ${R}`, ...L) + }).apply(k) + }) + } + _applyOnCompiler(k, v) { + const E = this.showEntries + const P = this.showModules + const R = this.showDependencies + const L = this.showActiveModules + let N = '' + let ae = '' + let pe = 0 + let me = 0 + let ye = 0 + let _e = 0 + let Ie = 0 + let Me = 1 + let Te = 0 + let je = 0 + let Ne = 0 + const Be = new Set() + let qe = 0 + const updateThrottled = () => { + if (qe + 500 < Date.now()) update() + } + const update = () => { + const le = [] + const Ue = Te / Math.max(pe || this.modulesCount || 1, _e) + const Ge = Ne / Math.max(ye || this.dependenciesCount || 1, Me) + const He = je / Math.max(me || 1, Ie) + let We + switch (this.percentBy) { + case 'entries': + We = Ge + break + case 'dependencies': + We = He + break + case 'modules': + We = Ue + break + default: + We = median3(Ue, Ge, He) + } + const Qe = 0.1 + We * 0.55 + if (ae) { + le.push(`import loader ${q(k.context, ae, k.root)}`) + } else { + const k = [] + if (E) { + k.push(`${Ne}/${Me} entries`) + } + if (R) { + k.push(`${je}/${Ie} dependencies`) + } + if (P) { + k.push(`${Te}/${_e} modules`) + } + if (L) { + k.push(`${Be.size} active`) + } + if (k.length > 0) { + le.push(k.join(' ')) + } + if (L) { + le.push(N) + } + } + v(Qe, 'building', ...le) + qe = Date.now() + } + const factorizeAdd = () => { + Ie++ + if (Ie < 50 || Ie % 100 === 0) updateThrottled() + } + const factorizeDone = () => { + je++ + if (je < 50 || je % 100 === 0) updateThrottled() + } + const moduleAdd = () => { + _e++ + if (_e < 50 || _e % 100 === 0) updateThrottled() + } + const moduleBuild = (k) => { + const v = k.identifier() + if (v) { + Be.add(v) + N = v + update() + } + } + const entryAdd = (k, v) => { + Me++ + if (Me < 5 || Me % 10 === 0) updateThrottled() + } + const moduleDone = (k) => { + Te++ + if (L) { + const v = k.identifier() + if (v) { + Be.delete(v) + if (N === v) { + N = '' + for (const k of Be) { + N = k + } + update() + return + } + } + } + if (Te < 50 || Te % 100 === 0) updateThrottled() + } + const entryDone = (k, v) => { + Ne++ + update() + } + const Ue = k.getCache('ProgressPlugin').getItemCache('counts', null) + let Ge + k.hooks.beforeCompile.tap('ProgressPlugin', () => { + if (!Ge) { + Ge = Ue.getPromise().then( + (k) => { + if (k) { + pe = pe || k.modulesCount + me = me || k.dependenciesCount + } + return k + }, + (k) => {} + ) + } + }) + k.hooks.afterCompile.tapPromise('ProgressPlugin', (k) => { + if (k.compiler.isChild()) return Promise.resolve() + return Ge.then(async (k) => { + if (!k || k.modulesCount !== _e || k.dependenciesCount !== Ie) { + await Ue.storePromise({ + modulesCount: _e, + dependenciesCount: Ie, + }) + } + }) + }) + k.hooks.compilation.tap('ProgressPlugin', (E) => { + if (E.compiler.isChild()) return + pe = _e + ye = Me + me = Ie + _e = Ie = Me = 0 + Te = je = Ne = 0 + E.factorizeQueue.hooks.added.tap('ProgressPlugin', factorizeAdd) + E.factorizeQueue.hooks.result.tap('ProgressPlugin', factorizeDone) + E.addModuleQueue.hooks.added.tap('ProgressPlugin', moduleAdd) + E.processDependenciesQueue.hooks.result.tap( + 'ProgressPlugin', + moduleDone + ) + if (L) { + E.hooks.buildModule.tap('ProgressPlugin', moduleBuild) + } + E.hooks.addEntry.tap('ProgressPlugin', entryAdd) + E.hooks.failedEntry.tap('ProgressPlugin', entryDone) + E.hooks.succeedEntry.tap('ProgressPlugin', entryDone) + if (false) { + } + const P = { + 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 R = Object.keys(P).length + Object.keys(P).forEach((L, N) => { + const q = P[L] + const ae = (N / R) * 0.25 + 0.7 + E.hooks[L].intercept({ + name: 'ProgressPlugin', + call() { + v(ae, 'sealing', q) + }, + done() { + le.set(k, undefined) + v(ae, 'sealing', q) + }, + result() { + v(ae, 'sealing', q) + }, + error() { + v(ae, 'sealing', q) + }, + tap(k) { + le.set(E.compiler, (E, ...P) => { + v(ae, 'sealing', q, k.name, ...P) + }) + v(ae, 'sealing', q, k.name) + }, + }) + }) + }) + k.hooks.make.intercept({ + name: 'ProgressPlugin', + call() { + v(0.1, 'building') + }, + done() { + v(0.65, 'building') + }, + }) + const interceptHook = (E, P, R, L) => { + E.intercept({ + name: 'ProgressPlugin', + call() { + v(P, R, L) + }, + done() { + le.set(k, undefined) + v(P, R, L) + }, + result() { + v(P, R, L) + }, + error() { + v(P, R, L) + }, + tap(E) { + le.set(k, (k, ...N) => { + v(P, R, L, E.name, ...N) + }) + v(P, R, L, E.name) + }, + }) + } + k.cache.hooks.endIdle.intercept({ + name: 'ProgressPlugin', + call() { + v(0, '') + }, + }) + interceptHook(k.cache.hooks.endIdle, 0.01, 'cache', 'end idle') + k.hooks.beforeRun.intercept({ + name: 'ProgressPlugin', + call() { + v(0, '') + }, + }) + interceptHook(k.hooks.beforeRun, 0.01, 'setup', 'before run') + interceptHook(k.hooks.run, 0.02, 'setup', 'run') + interceptHook(k.hooks.watchRun, 0.03, 'setup', 'watch run') + interceptHook( + k.hooks.normalModuleFactory, + 0.04, + 'setup', + 'normal module factory' + ) + interceptHook( + k.hooks.contextModuleFactory, + 0.05, + 'setup', + 'context module factory' + ) + interceptHook(k.hooks.beforeCompile, 0.06, 'setup', 'before compile') + interceptHook(k.hooks.compile, 0.07, 'setup', 'compile') + interceptHook(k.hooks.thisCompilation, 0.08, 'setup', 'compilation') + interceptHook(k.hooks.compilation, 0.09, 'setup', 'compilation') + interceptHook(k.hooks.finishMake, 0.69, 'building', 'finish') + interceptHook(k.hooks.emit, 0.95, 'emitting', 'emit') + interceptHook(k.hooks.afterEmit, 0.98, 'emitting', 'after emit') + interceptHook(k.hooks.done, 0.99, 'done', 'plugins') + k.hooks.done.intercept({ + name: 'ProgressPlugin', + done() { + v(0.99, '') + }, + }) + interceptHook( + k.cache.hooks.storeBuildDependencies, + 0.99, + 'cache', + 'store build dependencies' + ) + interceptHook(k.cache.hooks.shutdown, 0.99, 'cache', 'shutdown') + interceptHook(k.cache.hooks.beginIdle, 0.99, 'cache', 'begin idle') + interceptHook( + k.hooks.watchClose, + 0.99, + 'end', + 'closing watch compilation' + ) + k.cache.hooks.beginIdle.intercept({ + name: 'ProgressPlugin', + done() { + v(1, '') + }, + }) + k.cache.hooks.shutdown.intercept({ + name: 'ProgressPlugin', + done() { + v(1, '') + }, + }) + } + } + ProgressPlugin.defaultOptions = { + profile: false, + modulesCount: 5e3, + dependenciesCount: 1e4, + modules: true, + dependencies: true, + activeModules: false, + entries: true, + } + ProgressPlugin.createDefaultHandler = createDefaultHandler + k.exports = ProgressPlugin + }, + 73238: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, + JAVASCRIPT_MODULE_TYPE_ESM: L, + } = E(93622) + const N = E(60381) + const q = E(17779) + const { approve: ae } = E(80784) + const le = 'ProvidePlugin' + class ProvidePlugin { + constructor(k) { + this.definitions = k + } + apply(k) { + const v = this.definitions + k.hooks.compilation.tap(le, (k, { normalModuleFactory: E }) => { + k.dependencyTemplates.set(N, new N.Template()) + k.dependencyFactories.set(q, E) + k.dependencyTemplates.set(q, new q.Template()) + const handler = (k, E) => { + Object.keys(v).forEach((E) => { + const P = [].concat(v[E]) + const R = E.split('.') + if (R.length > 0) { + R.slice(1).forEach((v, E) => { + const P = R.slice(0, E + 1).join('.') + k.hooks.canRename.for(P).tap(le, ae) + }) + } + k.hooks.expression.for(E).tap(le, (v) => { + const R = E.includes('.') + ? `__webpack_provided_${E.replace(/\./g, '_dot_')}` + : E + const L = new q(P[0], R, P.slice(1), v.range) + L.loc = v.loc + k.state.module.addDependency(L) + return true + }) + k.hooks.call.for(E).tap(le, (v) => { + const R = E.includes('.') + ? `__webpack_provided_${E.replace(/\./g, '_dot_')}` + : E + const L = new q(P[0], R, P.slice(1), v.callee.range) + L.loc = v.callee.loc + k.state.module.addDependency(L) + k.walkExpressions(v.arguments) + return true + }) + }) + } + E.hooks.parser.for(P).tap(le, handler) + E.hooks.parser.for(R).tap(le, handler) + E.hooks.parser.for(L).tap(le, handler) + }) + } + } + k.exports = ProvidePlugin + }, + 91169: function (k, v, E) { + 'use strict' + const { OriginalSource: P, RawSource: R } = E(51255) + const L = E(88396) + const { JAVASCRIPT_MODULE_TYPE_DYNAMIC: N } = E(93622) + const q = E(58528) + const ae = new Set(['javascript']) + class RawModule extends L { + constructor(k, v, E, P) { + super(N, null) + this.sourceStr = k + this.identifierStr = v || this.sourceStr + this.readableIdentifierStr = E || this.identifierStr + this.runtimeRequirements = P || null + } + getSourceTypes() { + return ae + } + identifier() { + return this.identifierStr + } + size(k) { + return Math.max(1, this.sourceStr.length) + } + readableIdentifier(k) { + return k.shorten(this.readableIdentifierStr) + } + needBuild(k, v) { + return v(null, !this.buildMeta) + } + build(k, v, E, P, R) { + this.buildMeta = {} + this.buildInfo = { cacheable: true } + R() + } + codeGeneration(k) { + const v = new Map() + if (this.useSourceMap || this.useSimpleSourceMap) { + v.set('javascript', new P(this.sourceStr, this.identifier())) + } else { + v.set('javascript', new R(this.sourceStr)) + } + return { sources: v, runtimeRequirements: this.runtimeRequirements } + } + updateHash(k, v) { + k.update(this.sourceStr) + super.updateHash(k, v) + } + serialize(k) { + const { write: v } = k + v(this.sourceStr) + v(this.identifierStr) + v(this.readableIdentifierStr) + v(this.runtimeRequirements) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.sourceStr = v() + this.identifierStr = v() + this.readableIdentifierStr = v() + this.runtimeRequirements = v() + super.deserialize(k) + } + } + q(RawModule, 'webpack/lib/RawModule') + k.exports = RawModule + }, + 3437: function (k, v, E) { + 'use strict' + const { compareNumbers: P } = E(95648) + const R = E(65315) + class RecordIdsPlugin { + constructor(k) { + this.options = k || {} + } + apply(k) { + const v = this.options.portableIds + const E = R.makePathsRelative.bindContextCache(k.context, k.root) + const getModuleIdentifier = (k) => { + if (v) { + return E(k.identifier()) + } + return k.identifier() + } + k.hooks.compilation.tap('RecordIdsPlugin', (k) => { + k.hooks.recordModules.tap('RecordIdsPlugin', (v, E) => { + const R = k.chunkGraph + if (!E.modules) E.modules = {} + if (!E.modules.byIdentifier) E.modules.byIdentifier = {} + const L = new Set() + for (const k of v) { + const v = R.getModuleId(k) + if (typeof v !== 'number') continue + const P = getModuleIdentifier(k) + E.modules.byIdentifier[P] = v + L.add(v) + } + E.modules.usedIds = Array.from(L).sort(P) + }) + k.hooks.reviveModules.tap('RecordIdsPlugin', (v, E) => { + if (!E.modules) return + if (E.modules.byIdentifier) { + const P = k.chunkGraph + const R = new Set() + for (const k of v) { + const v = P.getModuleId(k) + if (v !== null) continue + const L = getModuleIdentifier(k) + const N = E.modules.byIdentifier[L] + if (N === undefined) continue + if (R.has(N)) continue + R.add(N) + P.setModuleId(k, N) + } + } + if (Array.isArray(E.modules.usedIds)) { + k.usedModuleIds = new Set(E.modules.usedIds) + } + }) + const getChunkSources = (k) => { + const v = [] + for (const E of k.groupsIterable) { + const P = E.chunks.indexOf(k) + if (E.name) { + v.push(`${P} ${E.name}`) + } else { + for (const k of E.origins) { + if (k.module) { + if (k.request) { + v.push( + `${P} ${getModuleIdentifier(k.module)} ${k.request}` + ) + } else if (typeof k.loc === 'string') { + v.push(`${P} ${getModuleIdentifier(k.module)} ${k.loc}`) + } else if ( + k.loc && + typeof k.loc === 'object' && + 'start' in k.loc + ) { + v.push( + `${P} ${getModuleIdentifier( + k.module + )} ${JSON.stringify(k.loc.start)}` + ) + } + } + } + } + } + return v + } + k.hooks.recordChunks.tap('RecordIdsPlugin', (k, v) => { + if (!v.chunks) v.chunks = {} + if (!v.chunks.byName) v.chunks.byName = {} + if (!v.chunks.bySource) v.chunks.bySource = {} + const E = new Set() + for (const P of k) { + if (typeof P.id !== 'number') continue + const k = P.name + if (k) v.chunks.byName[k] = P.id + const R = getChunkSources(P) + for (const k of R) { + v.chunks.bySource[k] = P.id + } + E.add(P.id) + } + v.chunks.usedIds = Array.from(E).sort(P) + }) + k.hooks.reviveChunks.tap('RecordIdsPlugin', (v, E) => { + if (!E.chunks) return + const P = new Set() + if (E.chunks.byName) { + for (const k of v) { + if (k.id !== null) continue + if (!k.name) continue + const v = E.chunks.byName[k.name] + if (v === undefined) continue + if (P.has(v)) continue + P.add(v) + k.id = v + k.ids = [v] + } + } + if (E.chunks.bySource) { + for (const k of v) { + if (k.id !== null) continue + const v = getChunkSources(k) + for (const R of v) { + const v = E.chunks.bySource[R] + if (v === undefined) continue + if (P.has(v)) continue + P.add(v) + k.id = v + k.ids = [v] + break + } + } + } + if (Array.isArray(E.chunks.usedIds)) { + k.usedChunkIds = new Set(E.chunks.usedIds) + } + }) + }) + } + } + k.exports = RecordIdsPlugin + }, + 91227: function (k, v, E) { + 'use strict' + const { contextify: P } = E(65315) + class RequestShortener { + constructor(k, v) { + this.contextify = P.bindContextCache(k, v) + } + shorten(k) { + if (!k) { + return k + } + return this.contextify(k) + } + } + k.exports = RequestShortener + }, + 97679: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, + } = E(93622) + const L = E(56727) + const N = E(60381) + const { toConstantDependency: q } = E(80784) + const ae = 'RequireJsStuffPlugin' + k.exports = class RequireJsStuffPlugin { + apply(k) { + k.hooks.compilation.tap(ae, (k, { normalModuleFactory: v }) => { + k.dependencyTemplates.set(N, new N.Template()) + const handler = (k, v) => { + if (v.requireJs === undefined || !v.requireJs) { + return + } + k.hooks.call.for('require.config').tap(ae, q(k, 'undefined')) + k.hooks.call.for('requirejs.config').tap(ae, q(k, 'undefined')) + k.hooks.expression + .for('require.version') + .tap(ae, q(k, JSON.stringify('0.0.0'))) + k.hooks.expression + .for('requirejs.onError') + .tap(ae, q(k, L.uncaughtErrorHandler, [L.uncaughtErrorHandler])) + } + v.hooks.parser.for(P).tap(ae, handler) + v.hooks.parser.for(R).tap(ae, handler) + }) + } + } + }, + 51660: function (k, v, E) { + 'use strict' + const P = E(90006).ResolverFactory + const { HookMap: R, SyncHook: L, SyncWaterfallHook: N } = E(79846) + const { + cachedCleverMerge: q, + removeOperations: ae, + resolveByProperty: le, + } = E(99454) + const pe = {} + const convertToResolveOptions = (k) => { + const { dependencyType: v, plugins: E, ...P } = k + const R = { ...P, plugins: E && E.filter((k) => k !== '...') } + if (!R.fileSystem) { + throw new Error( + "fileSystem is missing in resolveOptions, but it's required for enhanced-resolve" + ) + } + const L = R + return ae(le(L, 'byDependency', v)) + } + k.exports = class ResolverFactory { + constructor() { + this.hooks = Object.freeze({ + resolveOptions: new R(() => new N(['resolveOptions'])), + resolver: new R( + () => new L(['resolver', 'resolveOptions', 'userResolveOptions']) + ), + }) + this.cache = new Map() + } + get(k, v = pe) { + let E = this.cache.get(k) + if (!E) { + E = { direct: new WeakMap(), stringified: new Map() } + this.cache.set(k, E) + } + const P = E.direct.get(v) + if (P) { + return P + } + const R = JSON.stringify(v) + const L = E.stringified.get(R) + if (L) { + E.direct.set(v, L) + return L + } + const N = this._create(k, v) + E.direct.set(v, N) + E.stringified.set(R, N) + return N + } + _create(k, v) { + const E = { ...v } + const R = convertToResolveOptions( + this.hooks.resolveOptions.for(k).call(v) + ) + const L = P.createResolver(R) + if (!L) { + throw new Error('No resolver created') + } + const N = new WeakMap() + L.withOptions = (v) => { + const P = N.get(v) + if (P !== undefined) return P + const R = q(E, v) + const L = this.get(k, R) + N.set(v, L) + return L + } + this.hooks.resolver.for(k).call(L, R, E) + return L + } + } + }, + 56727: function (k, v) { + 'use strict' + v.require = '__webpack_require__' + v.requireScope = '__webpack_require__.*' + v.exports = '__webpack_exports__' + v.thisAsExports = 'top-level-this-exports' + v.returnExportsFromRuntime = 'return-exports-from-runtime' + v.module = 'module' + v.moduleId = 'module.id' + v.moduleLoaded = 'module.loaded' + v.publicPath = '__webpack_require__.p' + v.entryModuleId = '__webpack_require__.s' + v.moduleCache = '__webpack_require__.c' + v.moduleFactories = '__webpack_require__.m' + v.moduleFactoriesAddOnly = '__webpack_require__.m (add only)' + v.ensureChunk = '__webpack_require__.e' + v.ensureChunkHandlers = '__webpack_require__.f' + v.ensureChunkIncludeEntries = '__webpack_require__.f (include entries)' + v.prefetchChunk = '__webpack_require__.E' + v.prefetchChunkHandlers = '__webpack_require__.F' + v.preloadChunk = '__webpack_require__.G' + v.preloadChunkHandlers = '__webpack_require__.H' + v.definePropertyGetters = '__webpack_require__.d' + v.makeNamespaceObject = '__webpack_require__.r' + v.createFakeNamespaceObject = '__webpack_require__.t' + v.compatGetDefaultExport = '__webpack_require__.n' + v.harmonyModuleDecorator = '__webpack_require__.hmd' + v.nodeModuleDecorator = '__webpack_require__.nmd' + v.getFullHash = '__webpack_require__.h' + v.wasmInstances = '__webpack_require__.w' + v.instantiateWasm = '__webpack_require__.v' + v.uncaughtErrorHandler = '__webpack_require__.oe' + v.scriptNonce = '__webpack_require__.nc' + v.loadScript = '__webpack_require__.l' + v.createScript = '__webpack_require__.ts' + v.createScriptUrl = '__webpack_require__.tu' + v.getTrustedTypesPolicy = '__webpack_require__.tt' + v.chunkName = '__webpack_require__.cn' + v.runtimeId = '__webpack_require__.j' + v.getChunkScriptFilename = '__webpack_require__.u' + v.getChunkCssFilename = '__webpack_require__.k' + v.hasCssModules = 'has css modules' + v.getChunkUpdateScriptFilename = '__webpack_require__.hu' + v.getChunkUpdateCssFilename = '__webpack_require__.hk' + v.startup = '__webpack_require__.x' + v.startupNoDefault = '__webpack_require__.x (no default handler)' + v.startupOnlyAfter = '__webpack_require__.x (only after)' + v.startupOnlyBefore = '__webpack_require__.x (only before)' + v.chunkCallback = 'webpackChunk' + v.startupEntrypoint = '__webpack_require__.X' + v.onChunksLoaded = '__webpack_require__.O' + v.externalInstallChunk = '__webpack_require__.C' + v.interceptModuleExecution = '__webpack_require__.i' + v.global = '__webpack_require__.g' + v.shareScopeMap = '__webpack_require__.S' + v.initializeSharing = '__webpack_require__.I' + v.currentRemoteGetScope = '__webpack_require__.R' + v.getUpdateManifestFilename = '__webpack_require__.hmrF' + v.hmrDownloadManifest = '__webpack_require__.hmrM' + v.hmrDownloadUpdateHandlers = '__webpack_require__.hmrC' + v.hmrModuleData = '__webpack_require__.hmrD' + v.hmrInvalidateModuleHandlers = '__webpack_require__.hmrI' + v.hmrRuntimeStatePrefix = '__webpack_require__.hmrS' + v.amdDefine = '__webpack_require__.amdD' + v.amdOptions = '__webpack_require__.amdO' + v.system = '__webpack_require__.System' + v.hasOwnProperty = '__webpack_require__.o' + v.systemContext = '__webpack_require__.y' + v.baseURI = '__webpack_require__.b' + v.relativeUrl = '__webpack_require__.U' + v.asyncModule = '__webpack_require__.a' + }, + 27462: function (k, v, E) { + 'use strict' + const { RawSource: P } = E(51255) + const R = E(51255).OriginalSource + const L = E(88396) + const { WEBPACK_MODULE_TYPE_RUNTIME: N } = E(93622) + const q = new Set([N]) + class RuntimeModule extends L { + constructor(k, v = 0) { + super(N) + this.name = k + this.stage = v + this.buildMeta = {} + this.buildInfo = {} + this.compilation = undefined + this.chunk = undefined + this.chunkGraph = undefined + this.fullHash = false + this.dependentHash = false + this._cachedGeneratedCode = undefined + } + attach(k, v, E = k.chunkGraph) { + this.compilation = k + this.chunk = v + this.chunkGraph = E + } + identifier() { + return `webpack/runtime/${this.name}` + } + readableIdentifier(k) { + return `webpack/runtime/${this.name}` + } + needBuild(k, v) { + return v(null, false) + } + build(k, v, E, P, R) { + R() + } + updateHash(k, v) { + k.update(this.name) + k.update(`${this.stage}`) + try { + if (this.fullHash || this.dependentHash) { + k.update(this.generate()) + } else { + k.update(this.getGeneratedCode()) + } + } catch (v) { + k.update(v.message) + } + super.updateHash(k, v) + } + getSourceTypes() { + return q + } + codeGeneration(k) { + const v = new Map() + const E = this.getGeneratedCode() + if (E) { + v.set( + N, + this.useSourceMap || this.useSimpleSourceMap + ? new R(E, this.identifier()) + : new P(E) + ) + } + return { sources: v, runtimeRequirements: null } + } + size(k) { + try { + const k = this.getGeneratedCode() + return k ? k.length : 0 + } catch (k) { + return 0 + } + } + generate() { + const k = E(60386) + throw new k() + } + 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 + k.exports = RuntimeModule + }, + 10734: function (k, v, E) { + 'use strict' + const P = E(56727) + const { getChunkFilenameTemplate: R } = E(76395) + const L = E(84985) + const N = E(89168) + const q = E(43120) + const ae = E(30982) + const le = E(95308) + const pe = E(75916) + const me = E(9518) + const ye = E(23466) + const _e = E(39358) + const Ie = E(16797) + const Me = E(71662) + const Te = E(33442) + const je = E(10582) + const Ne = E(21794) + const Be = E(66537) + const qe = E(75013) + const Ue = E(43840) + const Ge = E(42159) + const He = E(22016) + const We = E(17800) + const Qe = E(10887) + const Je = E(67415) + const Ve = E(96272) + const Ke = E(8062) + const Ye = E(34108) + const Xe = E(6717) + const Ze = E(96181) + const et = [ + P.chunkName, + P.runtimeId, + P.compatGetDefaultExport, + P.createFakeNamespaceObject, + P.createScript, + P.createScriptUrl, + P.getTrustedTypesPolicy, + P.definePropertyGetters, + P.ensureChunk, + P.entryModuleId, + P.getFullHash, + P.global, + P.makeNamespaceObject, + P.moduleCache, + P.moduleFactories, + P.moduleFactoriesAddOnly, + P.interceptModuleExecution, + P.publicPath, + P.baseURI, + P.relativeUrl, + P.scriptNonce, + P.uncaughtErrorHandler, + P.asyncModule, + P.wasmInstances, + P.instantiateWasm, + P.shareScopeMap, + P.initializeSharing, + P.loadScript, + P.systemContext, + P.onChunksLoaded, + ] + const tt = { [P.moduleLoaded]: [P.module], [P.moduleId]: [P.module] } + const nt = { + [P.definePropertyGetters]: [P.hasOwnProperty], + [P.compatGetDefaultExport]: [P.definePropertyGetters], + [P.createFakeNamespaceObject]: [ + P.definePropertyGetters, + P.makeNamespaceObject, + P.require, + ], + [P.initializeSharing]: [P.shareScopeMap], + [P.shareScopeMap]: [P.hasOwnProperty], + } + class RuntimePlugin { + apply(k) { + k.hooks.compilation.tap('RuntimePlugin', (k) => { + const v = k.outputOptions.chunkLoading + const isChunkLoadingDisabledForChunk = (k) => { + const E = k.getEntryOptions() + const P = E && E.chunkLoading !== undefined ? E.chunkLoading : v + return P === false + } + k.dependencyTemplates.set(L, new L.Template()) + for (const v of et) { + k.hooks.runtimeRequirementInModule + .for(v) + .tap('RuntimePlugin', (k, v) => { + v.add(P.requireScope) + }) + k.hooks.runtimeRequirementInTree + .for(v) + .tap('RuntimePlugin', (k, v) => { + v.add(P.requireScope) + }) + } + for (const v of Object.keys(nt)) { + const E = nt[v] + k.hooks.runtimeRequirementInTree + .for(v) + .tap('RuntimePlugin', (k, v) => { + for (const k of E) v.add(k) + }) + } + for (const v of Object.keys(tt)) { + const E = tt[v] + k.hooks.runtimeRequirementInModule + .for(v) + .tap('RuntimePlugin', (k, v) => { + for (const k of E) v.add(k) + }) + } + k.hooks.runtimeRequirementInTree + .for(P.definePropertyGetters) + .tap('RuntimePlugin', (v) => { + k.addRuntimeModule(v, new Me()) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.makeNamespaceObject) + .tap('RuntimePlugin', (v) => { + k.addRuntimeModule(v, new He()) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.createFakeNamespaceObject) + .tap('RuntimePlugin', (v) => { + k.addRuntimeModule(v, new ye()) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.hasOwnProperty) + .tap('RuntimePlugin', (v) => { + k.addRuntimeModule(v, new Ue()) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.compatGetDefaultExport) + .tap('RuntimePlugin', (v) => { + k.addRuntimeModule(v, new pe()) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.runtimeId) + .tap('RuntimePlugin', (v) => { + k.addRuntimeModule(v, new Ke()) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.publicPath) + .tap('RuntimePlugin', (v, E) => { + const { outputOptions: R } = k + const { publicPath: L, scriptType: N } = R + const q = v.getEntryOptions() + const le = q && q.publicPath !== undefined ? q.publicPath : L + if (le === 'auto') { + const R = new ae() + if (N !== 'module') E.add(P.global) + k.addRuntimeModule(v, R) + } else { + const E = new Je(le) + if (typeof le !== 'string' || /\[(full)?hash\]/.test(le)) { + E.fullHash = true + } + k.addRuntimeModule(v, E) + } + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.global) + .tap('RuntimePlugin', (v) => { + k.addRuntimeModule(v, new qe()) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.asyncModule) + .tap('RuntimePlugin', (v) => { + k.addRuntimeModule(v, new q()) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.systemContext) + .tap('RuntimePlugin', (v) => { + const { outputOptions: E } = k + const { library: P } = E + const R = v.getEntryOptions() + const L = R && R.library !== undefined ? R.library.type : P.type + if (L === 'system') { + k.addRuntimeModule(v, new Ye()) + } + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.getChunkScriptFilename) + .tap('RuntimePlugin', (v, E) => { + if ( + typeof k.outputOptions.chunkFilename === 'string' && + /\[(full)?hash(:\d+)?\]/.test(k.outputOptions.chunkFilename) + ) { + E.add(P.getFullHash) + } + k.addRuntimeModule( + v, + new je( + 'javascript', + 'javascript', + P.getChunkScriptFilename, + (v) => + v.filenameTemplate || + (v.canBeInitial() + ? k.outputOptions.filename + : k.outputOptions.chunkFilename), + false + ) + ) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.getChunkCssFilename) + .tap('RuntimePlugin', (v, E) => { + if ( + typeof k.outputOptions.cssChunkFilename === 'string' && + /\[(full)?hash(:\d+)?\]/.test( + k.outputOptions.cssChunkFilename + ) + ) { + E.add(P.getFullHash) + } + k.addRuntimeModule( + v, + new je( + 'css', + 'css', + P.getChunkCssFilename, + (v) => R(v, k.outputOptions), + E.has(P.hmrDownloadUpdateHandlers) + ) + ) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.getChunkUpdateScriptFilename) + .tap('RuntimePlugin', (v, E) => { + if ( + /\[(full)?hash(:\d+)?\]/.test( + k.outputOptions.hotUpdateChunkFilename + ) + ) + E.add(P.getFullHash) + k.addRuntimeModule( + v, + new je( + 'javascript', + 'javascript update', + P.getChunkUpdateScriptFilename, + (v) => k.outputOptions.hotUpdateChunkFilename, + true + ) + ) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.getUpdateManifestFilename) + .tap('RuntimePlugin', (v, E) => { + if ( + /\[(full)?hash(:\d+)?\]/.test( + k.outputOptions.hotUpdateMainFilename + ) + ) { + E.add(P.getFullHash) + } + k.addRuntimeModule( + v, + new Ne( + 'update manifest', + P.getUpdateManifestFilename, + k.outputOptions.hotUpdateMainFilename + ) + ) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.ensureChunk) + .tap('RuntimePlugin', (v, E) => { + const R = v.hasAsyncChunks() + if (R) { + E.add(P.ensureChunkHandlers) + } + k.addRuntimeModule(v, new Te(E)) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.ensureChunkIncludeEntries) + .tap('RuntimePlugin', (k, v) => { + v.add(P.ensureChunkHandlers) + }) + k.hooks.runtimeRequirementInTree + .for(P.shareScopeMap) + .tap('RuntimePlugin', (v, E) => { + k.addRuntimeModule(v, new Xe()) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.loadScript) + .tap('RuntimePlugin', (v, E) => { + const R = !!k.outputOptions.trustedTypes + if (R) { + E.add(P.createScriptUrl) + } + k.addRuntimeModule(v, new Ge(R)) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.createScript) + .tap('RuntimePlugin', (v, E) => { + if (k.outputOptions.trustedTypes) { + E.add(P.getTrustedTypesPolicy) + } + k.addRuntimeModule(v, new _e()) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.createScriptUrl) + .tap('RuntimePlugin', (v, E) => { + if (k.outputOptions.trustedTypes) { + E.add(P.getTrustedTypesPolicy) + } + k.addRuntimeModule(v, new Ie()) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.getTrustedTypesPolicy) + .tap('RuntimePlugin', (v, E) => { + k.addRuntimeModule(v, new Be(E)) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.relativeUrl) + .tap('RuntimePlugin', (v, E) => { + k.addRuntimeModule(v, new Ve()) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.onChunksLoaded) + .tap('RuntimePlugin', (v, E) => { + k.addRuntimeModule(v, new Qe()) + return true + }) + k.hooks.runtimeRequirementInTree + .for(P.baseURI) + .tap('RuntimePlugin', (v) => { + if (isChunkLoadingDisabledForChunk(v)) { + k.addRuntimeModule(v, new le()) + return true + } + }) + k.hooks.runtimeRequirementInTree + .for(P.scriptNonce) + .tap('RuntimePlugin', (v) => { + k.addRuntimeModule(v, new We()) + return true + }) + k.hooks.additionalTreeRuntimeRequirements.tap( + 'RuntimePlugin', + (v, E) => { + const { mainTemplate: P } = k + if ( + P.hooks.bootstrap.isUsed() || + P.hooks.localVars.isUsed() || + P.hooks.requireEnsure.isUsed() || + P.hooks.requireExtensions.isUsed() + ) { + k.addRuntimeModule(v, new me()) + } + } + ) + N.getCompilationHooks(k).chunkHash.tap( + 'RuntimePlugin', + (k, v, { chunkGraph: E }) => { + const P = new Ze() + for (const v of E.getChunkRuntimeModulesIterable(k)) { + P.add(E.getModuleHash(v, k.runtime)) + } + P.updateHash(v) + } + ) + }) + } + } + k.exports = RuntimePlugin + }, + 89240: function (k, v, E) { + 'use strict' + const P = E(88113) + const R = E(56727) + const L = E(95041) + const { equals: N } = E(68863) + const q = E(21751) + const ae = E(10720) + const { forEachRuntime: le, subtractRuntime: pe } = E(1540) + const noModuleIdErrorMessage = (k, v) => + `Module ${k.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${ + Array.from( + v.getModuleChunksIterable(k), + (k) => k.name || k.id || k.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( + v.moduleGraph.getIncomingConnections(k), + (k) => + `\n - ${k.originModule && k.originModule.identifier()} ${ + k.dependency && k.dependency.type + } ${ + (k.explanations && Array.from(k.explanations).join(', ')) || '' + }` + ).join('')}` + function getGlobalObject(k) { + if (!k) return k + const v = k.trim() + if ( + v.match(/^[_\p{L}][_0-9\p{L}]*$/iu) || + v.match(/^([_\p{L}][_0-9\p{L}]*)?\(.*\)$/iu) + ) + return v + return `Object(${v})` + } + class RuntimeTemplate { + constructor(k, v, E) { + this.compilation = k + this.outputOptions = v || {} + this.requestShortener = E + this.globalObject = getGlobalObject(v.globalObject) + this.contentHashReplacement = 'X'.repeat(v.hashDigestLength) + } + isIIFE() { + return this.outputOptions.iife + } + isModule() { + return this.outputOptions.module + } + supportsConst() { + return this.outputOptions.environment.const + } + supportsArrowFunction() { + return this.outputOptions.environment.arrowFunction + } + supportsOptionalChaining() { + return this.outputOptions.environment.optionalChaining + } + 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 this.outputOptions.environment.templateLiteral + } + returningFunction(k, v = '') { + return this.supportsArrowFunction() + ? `(${v}) => (${k})` + : `function(${v}) { return ${k}; }` + } + basicFunction(k, v) { + return this.supportsArrowFunction() + ? `(${k}) => {\n${L.indent(v)}\n}` + : `function(${k}) {\n${L.indent(v)}\n}` + } + concatenation(...k) { + const v = k.length + if (v === 2) return this._es5Concatenation(k) + if (v === 0) return '""' + if (v === 1) { + return typeof k[0] === 'string' + ? JSON.stringify(k[0]) + : `"" + ${k[0].expr}` + } + if (!this.supportTemplateLiteral()) return this._es5Concatenation(k) + let E = 0 + let P = 0 + let R = false + for (const v of k) { + const k = typeof v !== 'string' + if (k) { + E += 3 + P += R ? 1 : 4 + } + R = k + } + if (R) P -= 3 + if (typeof k[0] !== 'string' && typeof k[1] === 'string') P -= 3 + if (P <= E) return this._es5Concatenation(k) + return `\`${k + .map((k) => (typeof k === 'string' ? k : `\${${k.expr}}`)) + .join('')}\`` + } + _es5Concatenation(k) { + const v = k + .map((k) => (typeof k === 'string' ? JSON.stringify(k) : k.expr)) + .join(' + ') + return typeof k[0] !== 'string' && typeof k[1] !== 'string' + ? `"" + ${v}` + : v + } + expressionFunction(k, v = '') { + return this.supportsArrowFunction() + ? `(${v}) => (${k})` + : `function(${v}) { ${k}; }` + } + emptyFunction() { + return this.supportsArrowFunction() ? 'x => {}' : 'function() {}' + } + destructureArray(k, v) { + return this.supportsDestructuring() + ? `var [${k.join(', ')}] = ${v};` + : L.asString(k.map((k, E) => `var ${k} = ${v}[${E}];`)) + } + destructureObject(k, v) { + return this.supportsDestructuring() + ? `var {${k.join(', ')}} = ${v};` + : L.asString(k.map((k) => `var ${k} = ${v}${ae([k])};`)) + } + iife(k, v) { + return `(${this.basicFunction(k, v)})()` + } + forEach(k, v, E) { + return this.supportsForOf() + ? `for(const ${k} of ${v}) {\n${L.indent(E)}\n}` + : `${v}.forEach(function(${k}) {\n${L.indent(E)}\n});` + } + comment({ + request: k, + chunkName: v, + chunkReason: E, + message: P, + exportName: R, + }) { + let N + if (this.outputOptions.pathinfo) { + N = [P, k, v, E] + .filter(Boolean) + .map((k) => this.requestShortener.shorten(k)) + .join(' | ') + } else { + N = [P, v, E] + .filter(Boolean) + .map((k) => this.requestShortener.shorten(k)) + .join(' | ') + } + if (!N) return '' + if (this.outputOptions.pathinfo) { + return L.toComment(N) + ' ' + } else { + return L.toNormalComment(N) + ' ' + } + } + throwMissingModuleErrorBlock({ request: k }) { + const v = `Cannot find module '${k}'` + return `var e = new Error(${JSON.stringify( + v + )}); e.code = 'MODULE_NOT_FOUND'; throw e;` + } + throwMissingModuleErrorFunction({ request: k }) { + return `function webpackMissingModule() { ${this.throwMissingModuleErrorBlock( + { request: k } + )} }` + } + missingModule({ request: k }) { + return `Object(${this.throwMissingModuleErrorFunction({ + request: k, + })}())` + } + missingModuleStatement({ request: k }) { + return `${this.missingModule({ request: k })};\n` + } + missingModulePromise({ request: k }) { + return `Promise.resolve().then(${this.throwMissingModuleErrorFunction( + { request: k } + )})` + } + weakError({ + module: k, + chunkGraph: v, + request: E, + idExpr: P, + type: R, + }) { + const N = v.getModuleId(k) + const q = + N === null + ? JSON.stringify('Module is not available (weak dependency)') + : P + ? `"Module '" + ${P} + "' is not available (weak dependency)"` + : JSON.stringify( + `Module '${N}' is not available (weak dependency)` + ) + const ae = E ? L.toNormalComment(E) + ' ' : '' + const le = + `var e = new Error(${q}); ` + + ae + + "e.code = 'MODULE_NOT_FOUND'; throw e;" + switch (R) { + case 'statements': + return le + case 'promise': + return `Promise.resolve().then(${this.basicFunction('', le)})` + case 'expression': + return this.iife('', le) + } + } + moduleId({ module: k, chunkGraph: v, request: E, weak: P }) { + if (!k) { + return this.missingModule({ request: E }) + } + const R = v.getModuleId(k) + if (R === null) { + if (P) { + return 'null /* weak dependency, without id */' + } + throw new Error( + `RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(k, v)}` + ) + } + return `${this.comment({ request: E })}${JSON.stringify(R)}` + } + moduleRaw({ + module: k, + chunkGraph: v, + request: E, + weak: P, + runtimeRequirements: L, + }) { + if (!k) { + return this.missingModule({ request: E }) + } + const N = v.getModuleId(k) + if (N === null) { + if (P) { + return this.weakError({ + module: k, + chunkGraph: v, + request: E, + type: 'expression', + }) + } + throw new Error( + `RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(k, v)}` + ) + } + L.add(R.require) + return `${R.require}(${this.moduleId({ + module: k, + chunkGraph: v, + request: E, + weak: P, + })})` + } + moduleExports({ + module: k, + chunkGraph: v, + request: E, + weak: P, + runtimeRequirements: R, + }) { + return this.moduleRaw({ + module: k, + chunkGraph: v, + request: E, + weak: P, + runtimeRequirements: R, + }) + } + moduleNamespace({ + module: k, + chunkGraph: v, + request: E, + strict: P, + weak: L, + runtimeRequirements: N, + }) { + if (!k) { + return this.missingModule({ request: E }) + } + if (v.getModuleId(k) === null) { + if (L) { + return this.weakError({ + module: k, + chunkGraph: v, + request: E, + type: 'expression', + }) + } + throw new Error( + `RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage( + k, + v + )}` + ) + } + const q = this.moduleId({ + module: k, + chunkGraph: v, + request: E, + weak: L, + }) + const ae = k.getExportsType(v.moduleGraph, P) + switch (ae) { + case 'namespace': + return this.moduleRaw({ + module: k, + chunkGraph: v, + request: E, + weak: L, + runtimeRequirements: N, + }) + case 'default-with-named': + N.add(R.createFakeNamespaceObject) + return `${R.createFakeNamespaceObject}(${q}, 3)` + case 'default-only': + N.add(R.createFakeNamespaceObject) + return `${R.createFakeNamespaceObject}(${q}, 1)` + case 'dynamic': + N.add(R.createFakeNamespaceObject) + return `${R.createFakeNamespaceObject}(${q}, 7)` + } + } + moduleNamespacePromise({ + chunkGraph: k, + block: v, + module: E, + request: P, + message: L, + strict: N, + weak: q, + runtimeRequirements: ae, + }) { + if (!E) { + return this.missingModulePromise({ request: P }) + } + const le = k.getModuleId(E) + if (le === null) { + if (q) { + return this.weakError({ + module: E, + chunkGraph: k, + request: P, + type: 'promise', + }) + } + throw new Error( + `RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage( + E, + k + )}` + ) + } + const pe = this.blockPromise({ + chunkGraph: k, + block: v, + message: L, + runtimeRequirements: ae, + }) + let me + let ye = JSON.stringify(k.getModuleId(E)) + const _e = this.comment({ request: P }) + let Ie = '' + if (q) { + if (ye.length > 8) { + Ie += `var id = ${ye}; ` + ye = 'id' + } + ae.add(R.moduleFactories) + Ie += `if(!${R.moduleFactories}[${ye}]) { ${this.weakError({ + module: E, + chunkGraph: k, + request: P, + idExpr: ye, + type: 'statements', + })} } ` + } + const Me = this.moduleId({ + module: E, + chunkGraph: k, + request: P, + weak: q, + }) + const Te = E.getExportsType(k.moduleGraph, N) + let je = 16 + switch (Te) { + case 'namespace': + if (Ie) { + const v = this.moduleRaw({ + module: E, + chunkGraph: k, + request: P, + weak: q, + runtimeRequirements: ae, + }) + me = `.then(${this.basicFunction('', `${Ie}return ${v};`)})` + } else { + ae.add(R.require) + me = `.then(${R.require}.bind(${R.require}, ${_e}${ye}))` + } + break + case 'dynamic': + je |= 4 + case 'default-with-named': + je |= 2 + case 'default-only': + ae.add(R.createFakeNamespaceObject) + if (k.moduleGraph.isAsync(E)) { + if (Ie) { + const v = this.moduleRaw({ + module: E, + chunkGraph: k, + request: P, + weak: q, + runtimeRequirements: ae, + }) + me = `.then(${this.basicFunction('', `${Ie}return ${v};`)})` + } else { + ae.add(R.require) + me = `.then(${R.require}.bind(${R.require}, ${_e}${ye}))` + } + me += `.then(${this.returningFunction( + `${R.createFakeNamespaceObject}(m, ${je})`, + 'm' + )})` + } else { + je |= 1 + if (Ie) { + const k = `${R.createFakeNamespaceObject}(${Me}, ${je})` + me = `.then(${this.basicFunction('', `${Ie}return ${k};`)})` + } else { + me = `.then(${R.createFakeNamespaceObject}.bind(${R.require}, ${_e}${ye}, ${je}))` + } + } + break + } + return `${pe || 'Promise.resolve()'}${me}` + } + runtimeConditionExpression({ + chunkGraph: k, + runtimeCondition: v, + runtime: E, + runtimeRequirements: P, + }) { + if (v === undefined) return 'true' + if (typeof v === 'boolean') return `${v}` + const L = new Set() + le(v, (v) => L.add(`${k.getRuntimeId(v)}`)) + const N = new Set() + le(pe(E, v), (v) => N.add(`${k.getRuntimeId(v)}`)) + P.add(R.runtimeId) + return q.fromLists(Array.from(L), Array.from(N))(R.runtimeId) + } + importStatement({ + update: k, + module: v, + chunkGraph: E, + request: P, + importVar: L, + originModule: N, + weak: q, + runtimeRequirements: ae, + }) { + if (!v) { + return [this.missingModuleStatement({ request: P }), ''] + } + if (E.getModuleId(v) === null) { + if (q) { + return [ + this.weakError({ + module: v, + chunkGraph: E, + request: P, + type: 'statements', + }), + '', + ] + } + throw new Error( + `RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage( + v, + E + )}` + ) + } + const le = this.moduleId({ + module: v, + chunkGraph: E, + request: P, + weak: q, + }) + const pe = k ? '' : 'var ' + const me = v.getExportsType( + E.moduleGraph, + N.buildMeta.strictHarmonyModule + ) + ae.add(R.require) + const ye = `/* harmony import */ ${pe}${L} = ${R.require}(${le});\n` + if (me === 'dynamic') { + ae.add(R.compatGetDefaultExport) + return [ + ye, + `/* harmony import */ ${pe}${L}_default = /*#__PURE__*/${R.compatGetDefaultExport}(${L});\n`, + ] + } + return [ye, ''] + } + exportFromImport({ + moduleGraph: k, + module: v, + request: E, + exportName: q, + originModule: le, + asiSafe: pe, + isCall: me, + callContext: ye, + defaultInterop: _e, + importVar: Ie, + initFragments: Me, + runtime: Te, + runtimeRequirements: je, + }) { + if (!v) { + return this.missingModule({ request: E }) + } + if (!Array.isArray(q)) { + q = q ? [q] : [] + } + const Ne = v.getExportsType(k, le.buildMeta.strictHarmonyModule) + if (_e) { + if (q.length > 0 && q[0] === 'default') { + switch (Ne) { + case 'dynamic': + if (me) { + return `${Ie}_default()${ae(q, 1)}` + } else { + return pe + ? `(${Ie}_default()${ae(q, 1)})` + : pe === false + ? `;(${Ie}_default()${ae(q, 1)})` + : `${Ie}_default.a${ae(q, 1)}` + } + case 'default-only': + case 'default-with-named': + q = q.slice(1) + break + } + } else if (q.length > 0) { + if (Ne === 'default-only') { + return ( + '/* non-default import from non-esm module */undefined' + + ae(q, 1) + ) + } else if (Ne !== 'namespace' && q[0] === '__esModule') { + return '/* __esModule */true' + } + } else if (Ne === 'default-only' || Ne === 'default-with-named') { + je.add(R.createFakeNamespaceObject) + Me.push( + new P( + `var ${Ie}_namespace_cache;\n`, + P.STAGE_CONSTANTS, + -1, + `${Ie}_namespace_cache` + ) + ) + return `/*#__PURE__*/ ${ + pe ? '' : pe === false ? ';' : 'Object' + }(${Ie}_namespace_cache || (${Ie}_namespace_cache = ${ + R.createFakeNamespaceObject + }(${Ie}${Ne === 'default-only' ? '' : ', 2'})))` + } + } + if (q.length > 0) { + const E = k.getExportsInfo(v) + const P = E.getUsedName(q, Te) + if (!P) { + const k = L.toNormalComment(`unused export ${ae(q)}`) + return `${k} undefined` + } + const R = N(P, q) ? '' : L.toNormalComment(ae(q)) + ' ' + const le = `${Ie}${R}${ae(P)}` + if (me && ye === false) { + return pe + ? `(0,${le})` + : pe === false + ? `;(0,${le})` + : `/*#__PURE__*/Object(${le})` + } + return le + } else { + return Ie + } + } + blockPromise({ + block: k, + message: v, + chunkGraph: E, + runtimeRequirements: P, + }) { + if (!k) { + const k = this.comment({ message: v }) + return `Promise.resolve(${k.trim()})` + } + const L = E.getBlockChunkGroup(k) + if (!L || L.chunks.length === 0) { + const k = this.comment({ message: v }) + return `Promise.resolve(${k.trim()})` + } + const N = L.chunks.filter((k) => !k.hasRuntime() && k.id !== null) + const q = this.comment({ message: v, chunkName: k.chunkName }) + if (N.length === 1) { + const k = JSON.stringify(N[0].id) + P.add(R.ensureChunk) + return `${R.ensureChunk}(${q}${k})` + } else if (N.length > 0) { + P.add(R.ensureChunk) + const requireChunkId = (k) => + `${R.ensureChunk}(${JSON.stringify(k.id)})` + return `Promise.all(${q.trim()}[${N.map(requireChunkId).join( + ', ' + )}])` + } else { + return `Promise.resolve(${q.trim()})` + } + } + asyncModuleFactory({ + block: k, + chunkGraph: v, + runtimeRequirements: E, + request: P, + }) { + const R = k.dependencies[0] + const L = v.moduleGraph.getModule(R) + const N = this.blockPromise({ + block: k, + message: '', + chunkGraph: v, + runtimeRequirements: E, + }) + const q = this.returningFunction( + this.moduleRaw({ + module: L, + chunkGraph: v, + request: P, + runtimeRequirements: E, + }) + ) + return this.returningFunction( + N.startsWith('Promise.resolve(') + ? `${q}` + : `${N}.then(${this.returningFunction(q)})` + ) + } + syncModuleFactory({ + dependency: k, + chunkGraph: v, + runtimeRequirements: E, + request: P, + }) { + const R = v.moduleGraph.getModule(k) + const L = this.returningFunction( + this.moduleRaw({ + module: R, + chunkGraph: v, + request: P, + runtimeRequirements: E, + }) + ) + return this.returningFunction(L) + } + defineEsModuleFlagStatement({ + exportsArgument: k, + runtimeRequirements: v, + }) { + v.add(R.makeNamespaceObject) + v.add(R.exports) + return `${R.makeNamespaceObject}(${k});\n` + } + assetUrl({ + publicPath: k, + runtime: v, + module: E, + codeGenerationResults: P, + }) { + if (!E) { + return 'data:,' + } + const R = P.get(E, v) + const { data: L } = R + const N = L.get('url') + if (N) return N.toString() + const q = L.get('filename') + return k + q + } + } + k.exports = RuntimeTemplate + }, + 15844: function (k) { + 'use strict' + class SelfModuleFactory { + constructor(k) { + this.moduleGraph = k + } + create(k, v) { + const E = this.moduleGraph.getParentModule(k.dependencies[0]) + v(null, { module: E }) + } + } + k.exports = SelfModuleFactory + }, + 48640: function (k, v, E) { + 'use strict' + k.exports = E(17570) + }, + 3386: function (k, v) { + 'use strict' + v.formatSize = (k) => { + if (typeof k !== 'number' || Number.isNaN(k) === true) { + return 'unknown size' + } + if (k <= 0) { + return '0 bytes' + } + const v = ['bytes', 'KiB', 'MiB', 'GiB'] + const E = Math.floor(Math.log(k) / Math.log(1024)) + return `${+(k / Math.pow(1024, E)).toPrecision(3)} ${v[E]}` + } + }, + 10518: function (k, v, E) { + 'use strict' + const P = E(89168) + class SourceMapDevToolModuleOptionsPlugin { + constructor(k) { + this.options = k + } + apply(k) { + const v = this.options + if (v.module !== false) { + k.hooks.buildModule.tap( + 'SourceMapDevToolModuleOptionsPlugin', + (k) => { + k.useSourceMap = true + } + ) + k.hooks.runtimeModule.tap( + 'SourceMapDevToolModuleOptionsPlugin', + (k) => { + k.useSourceMap = true + } + ) + } else { + k.hooks.buildModule.tap( + 'SourceMapDevToolModuleOptionsPlugin', + (k) => { + k.useSimpleSourceMap = true + } + ) + k.hooks.runtimeModule.tap( + 'SourceMapDevToolModuleOptionsPlugin', + (k) => { + k.useSimpleSourceMap = true + } + ) + } + P.getCompilationHooks(k).useSourceMap.tap( + 'SourceMapDevToolModuleOptionsPlugin', + () => true + ) + } + } + k.exports = SourceMapDevToolModuleOptionsPlugin + }, + 83814: function (k, v, E) { + 'use strict' + const P = E(78175) + const { ConcatSource: R, RawSource: L } = E(51255) + const N = E(27747) + const q = E(98612) + const ae = E(6535) + const le = E(10518) + const pe = E(92198) + const me = E(74012) + const { relative: ye, dirname: _e } = E(57825) + const { makePathsAbsolute: Ie } = E(65315) + const Me = pe(E(49623), () => E(45441), { + name: 'SourceMap DevTool Plugin', + baseDataPath: 'options', + }) + const Te = /[-[\]\\/{}()*+?.^$|]/g + const je = /\[contenthash(:\w+)?\]/ + const Ne = /\.((c|m)?js|css)($|\?)/i + const Be = /\.css($|\?)/i + const qe = /\[map\]/g + const Ue = /\[url\]/g + const Ge = /^\n\/\/(.*)$/ + const resetRegexpState = (k) => { + k.lastIndex = -1 + } + const quoteMeta = (k) => k.replace(Te, '\\$&') + const getTaskForFile = (k, v, E, P, R, L) => { + let N + let q + if (v.sourceAndMap) { + const k = v.sourceAndMap(P) + q = k.map + N = k.source + } else { + q = v.map(P) + N = v.source() + } + if (!q || typeof N !== 'string') return + const ae = R.options.context + const le = R.compiler.root + const pe = Ie.bindContextCache(ae, le) + const me = q.sources.map((k) => { + if (!k.startsWith('webpack://')) return k + k = pe(k.slice(10)) + const v = R.findModule(k) + return v || k + }) + return { + file: k, + asset: v, + source: N, + assetInfo: E, + sourceMap: q, + modules: me, + cacheItem: L, + } + } + class SourceMapDevToolPlugin { + constructor(k = {}) { + Me(k) + this.sourceMapFilename = k.filename + this.sourceMappingURLComment = + k.append === false + ? false + : k.append || '\n//# source' + 'MappingURL=[url]' + this.moduleFilenameTemplate = + k.moduleFilenameTemplate || 'webpack://[namespace]/[resourcePath]' + this.fallbackModuleFilenameTemplate = + k.fallbackModuleFilenameTemplate || + 'webpack://[namespace]/[resourcePath]?[hash]' + this.namespace = k.namespace || '' + this.options = k + } + apply(k) { + const v = k.outputFileSystem + const E = this.sourceMapFilename + const pe = this.sourceMappingURLComment + const Ie = this.moduleFilenameTemplate + const Me = this.namespace + const Te = this.fallbackModuleFilenameTemplate + const He = k.requestShortener + const We = this.options + We.test = We.test || Ne + const Qe = q.matchObject.bind(undefined, We) + k.hooks.compilation.tap('SourceMapDevToolPlugin', (k) => { + new le(We).apply(k) + k.hooks.processAssets.tapAsync( + { + name: 'SourceMapDevToolPlugin', + stage: N.PROCESS_ASSETS_STAGE_DEV_TOOLING, + additionalAssets: true, + }, + (N, le) => { + const Ne = k.chunkGraph + const Je = k.getCache('SourceMapDevToolPlugin') + const Ve = new Map() + const Ke = ae.getReporter(k.compiler) || (() => {}) + const Ye = new Map() + for (const v of k.chunks) { + for (const k of v.files) { + Ye.set(k, v) + } + for (const k of v.auxiliaryFiles) { + Ye.set(k, v) + } + } + const Xe = [] + for (const k of Object.keys(N)) { + if (Qe(k)) { + Xe.push(k) + } + } + Ke(0) + const Ze = [] + let et = 0 + P.each( + Xe, + (v, E) => { + const P = k.getAsset(v) + if (P.info.related && P.info.related.sourceMap) { + et++ + return E() + } + const R = Je.getItemCache( + v, + Je.mergeEtags(Je.getLazyHashedEtag(P.source), Me) + ) + R.get((L, N) => { + if (L) { + return E(L) + } + if (N) { + const { assets: P, assetsInfo: R } = N + for (const E of Object.keys(P)) { + if (E === v) { + k.updateAsset(E, P[E], R[E]) + } else { + k.emitAsset(E, P[E], R[E]) + } + if (E !== v) { + const k = Ye.get(v) + if (k !== undefined) k.auxiliaryFiles.add(E) + } + } + Ke( + (0.5 * ++et) / Xe.length, + v, + 'restored cached SourceMap' + ) + return E() + } + Ke((0.5 * et) / Xe.length, v, 'generate SourceMap') + const ae = getTaskForFile( + v, + P.source, + P.info, + { module: We.module, columns: We.columns }, + k, + R + ) + if (ae) { + const v = ae.modules + for (let E = 0; E < v.length; E++) { + const P = v[E] + if (!Ve.get(P)) { + Ve.set( + P, + q.createFilename( + P, + { moduleFilenameTemplate: Ie, namespace: Me }, + { + requestShortener: He, + chunkGraph: Ne, + hashFunction: k.outputOptions.hashFunction, + } + ) + ) + } + } + Ze.push(ae) + } + Ke((0.5 * ++et) / Xe.length, v, 'generated SourceMap') + E() + }) + }, + (N) => { + if (N) { + return le(N) + } + Ke(0.5, 'resolve sources') + const ae = new Set(Ve.values()) + const Ie = new Set() + const Qe = Array.from(Ve.keys()).sort((k, v) => { + const E = typeof k === 'string' ? k : k.identifier() + const P = typeof v === 'string' ? v : v.identifier() + return E.length - P.length + }) + for (let v = 0; v < Qe.length; v++) { + const E = Qe[v] + let P = Ve.get(E) + let R = Ie.has(P) + if (!R) { + Ie.add(P) + continue + } + P = q.createFilename( + E, + { moduleFilenameTemplate: Te, namespace: Me }, + { + requestShortener: He, + chunkGraph: Ne, + hashFunction: k.outputOptions.hashFunction, + } + ) + R = ae.has(P) + if (!R) { + Ve.set(E, P) + ae.add(P) + continue + } + while (R) { + P += '*' + R = ae.has(P) + } + Ve.set(E, P) + ae.add(P) + } + let Je = 0 + P.each( + Ze, + (P, N) => { + const q = Object.create(null) + const ae = Object.create(null) + const le = P.file + const Ie = Ye.get(le) + const Me = P.sourceMap + const Te = P.source + const Ne = P.modules + Ke(0.5 + (0.5 * Je) / Ze.length, le, 'attach SourceMap') + const He = Ne.map((k) => Ve.get(k)) + Me.sources = He + if (We.noSources) { + Me.sourcesContent = undefined + } + Me.sourceRoot = We.sourceRoot || '' + Me.file = le + const Qe = E && je.test(E) + resetRegexpState(je) + if (Qe && P.assetInfo.contenthash) { + const k = P.assetInfo.contenthash + let v + if (Array.isArray(k)) { + v = k.map(quoteMeta).join('|') + } else { + v = quoteMeta(k) + } + Me.file = Me.file.replace(new RegExp(v, 'g'), (k) => + 'x'.repeat(k.length) + ) + } + let Xe = pe + let et = Be.test(le) + resetRegexpState(Be) + if (Xe !== false && typeof Xe !== 'function' && et) { + Xe = Xe.replace(Ge, '\n/*$1*/') + } + const tt = JSON.stringify(Me) + if (E) { + let P = le + const N = + Qe && + me(k.outputOptions.hashFunction) + .update(tt) + .digest('hex') + const pe = { + chunk: Ie, + filename: We.fileContext + ? ye(v, `/${We.fileContext}`, `/${P}`) + : P, + contentHash: N, + } + const { path: Me, info: je } = k.getPathWithInfo( + E, + pe + ) + const Ne = We.publicPath + ? We.publicPath + Me + : ye(v, _e(v, `/${le}`), `/${Me}`) + let Be = new L(Te) + if (Xe !== false) { + Be = new R( + Be, + k.getPath(Xe, Object.assign({ url: Ne }, pe)) + ) + } + const qe = { related: { sourceMap: Me } } + q[le] = Be + ae[le] = qe + k.updateAsset(le, Be, qe) + const Ue = new L(tt) + const Ge = { ...je, development: true } + q[Me] = Ue + ae[Me] = Ge + k.emitAsset(Me, Ue, Ge) + if (Ie !== undefined) Ie.auxiliaryFiles.add(Me) + } else { + if (Xe === false) { + throw new Error( + "SourceMapDevToolPlugin: append can't be false when no filename is provided" + ) + } + if (typeof Xe === 'function') { + throw new Error( + "SourceMapDevToolPlugin: append can't be a function when no filename is provided" + ) + } + const v = new R( + new L(Te), + Xe.replace(qe, () => tt).replace( + Ue, + () => + `data:application/json;charset=utf-8;base64,${Buffer.from( + tt, + 'utf-8' + ).toString('base64')}` + ) + ) + q[le] = v + ae[le] = undefined + k.updateAsset(le, v) + } + P.cacheItem.store( + { assets: q, assetsInfo: ae }, + (k) => { + Ke( + 0.5 + (0.5 * ++Je) / Ze.length, + P.file, + 'attached SourceMap' + ) + if (k) { + return N(k) + } + N() + } + ) + }, + (k) => { + Ke(1) + le(k) + } + ) + } + ) + } + ) + }) + } + } + k.exports = SourceMapDevToolPlugin + }, + 26288: function (k) { + 'use strict' + class Stats { + constructor(k) { + this.compilation = k + } + 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((k) => k.getStats().hasWarnings()) + ) + } + hasErrors() { + return ( + this.compilation.errors.length > 0 || + this.compilation.children.some((k) => k.getStats().hasErrors()) + ) + } + toJson(k) { + k = this.compilation.createStatsOptions(k, { forToString: false }) + const v = this.compilation.createStatsFactory(k) + return v.create('compilation', this.compilation, { + compilation: this.compilation, + }) + } + toString(k) { + k = this.compilation.createStatsOptions(k, { forToString: true }) + const v = this.compilation.createStatsFactory(k) + const E = this.compilation.createStatsPrinter(k) + const P = v.create('compilation', this.compilation, { + compilation: this.compilation, + }) + const R = E.print('compilation', P) + return R === undefined ? '' : R + } + } + k.exports = Stats + }, + 95041: function (k, v, E) { + 'use strict' + const { ConcatSource: P, PrefixSource: R } = E(51255) + const { WEBPACK_MODULE_TYPE_RUNTIME: L } = E(93622) + const N = E(56727) + const q = 'a'.charCodeAt(0) + const ae = 'A'.charCodeAt(0) + const le = 'z'.charCodeAt(0) - q + 1 + const pe = le * 2 + 2 + const me = pe + 10 + const ye = /^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g + const _e = /^\t/gm + const Ie = /\r?\n/g + const Me = /^([^a-zA-Z$_])/ + const Te = /[^a-zA-Z0-9$]+/g + const je = /\*\//g + const Ne = /[^a-zA-Z0-9_!§$()=\-^°]+/g + const Be = /^-|-$/g + class Template { + static getFunctionContent(k) { + return k.toString().replace(ye, '').replace(_e, '').replace(Ie, '\n') + } + static toIdentifier(k) { + if (typeof k !== 'string') return '' + return k.replace(Me, '_$1').replace(Te, '_') + } + static toComment(k) { + if (!k) return '' + return `/*! ${k.replace(je, '* /')} */` + } + static toNormalComment(k) { + if (!k) return '' + return `/* ${k.replace(je, '* /')} */` + } + static toPath(k) { + if (typeof k !== 'string') return '' + return k.replace(Ne, '-').replace(Be, '') + } + static numberToIdentifier(k) { + if (k >= pe) { + return ( + Template.numberToIdentifier(k % pe) + + Template.numberToIdentifierContinuation(Math.floor(k / pe)) + ) + } + if (k < le) { + return String.fromCharCode(q + k) + } + k -= le + if (k < le) { + return String.fromCharCode(ae + k) + } + if (k === le) return '_' + return '$' + } + static numberToIdentifierContinuation(k) { + if (k >= me) { + return ( + Template.numberToIdentifierContinuation(k % me) + + Template.numberToIdentifierContinuation(Math.floor(k / me)) + ) + } + if (k < le) { + return String.fromCharCode(q + k) + } + k -= le + if (k < le) { + return String.fromCharCode(ae + k) + } + k -= le + if (k < 10) { + return `${k}` + } + if (k === 10) return '_' + return '$' + } + static indent(k) { + if (Array.isArray(k)) { + return k.map(Template.indent).join('\n') + } else { + const v = k.trimEnd() + if (!v) return '' + const E = v[0] === '\n' ? '' : '\t' + return E + v.replace(/\n([^\n])/g, '\n\t$1') + } + } + static prefix(k, v) { + const E = Template.asString(k).trim() + if (!E) return '' + const P = E[0] === '\n' ? '' : v + return P + E.replace(/\n([^\n])/g, '\n' + v + '$1') + } + static asString(k) { + if (Array.isArray(k)) { + return k.join('\n') + } + return k + } + static getModulesArrayBounds(k) { + let v = -Infinity + let E = Infinity + for (const P of k) { + const k = P.id + if (typeof k !== 'number') return false + if (v < k) v = k + if (E > k) E = k + } + if (E < 16 + ('' + E).length) { + E = 0 + } + let P = -1 + for (const v of k) { + P += `${v.id}`.length + 2 + } + const R = E === 0 ? v : 16 + `${E}`.length + v + return R < P ? [E, v] : false + } + static renderChunkModules(k, v, E, R = '') { + const { chunkGraph: L } = k + var N = new P() + if (v.length === 0) { + return null + } + const q = v.map((k) => ({ + id: L.getModuleId(k), + source: E(k) || 'false', + })) + const ae = Template.getModulesArrayBounds(q) + if (ae) { + const k = ae[0] + const v = ae[1] + if (k !== 0) { + N.add(`Array(${k}).concat(`) + } + N.add('[\n') + const E = new Map() + for (const k of q) { + E.set(k.id, k) + } + for (let P = k; P <= v; P++) { + const v = E.get(P) + if (P !== k) { + N.add(',\n') + } + N.add(`/* ${P} */`) + if (v) { + N.add('\n') + N.add(v.source) + } + } + N.add('\n' + R + ']') + if (k !== 0) { + N.add(')') + } + } else { + N.add('{\n') + for (let k = 0; k < q.length; k++) { + const v = q[k] + if (k !== 0) { + N.add(',\n') + } + N.add(`\n/***/ ${JSON.stringify(v.id)}:\n`) + N.add(v.source) + } + N.add(`\n\n${R}}`) + } + return N + } + static renderRuntimeModules(k, v) { + const E = new P() + for (const P of k) { + const k = v.codeGenerationResults + let N + if (k) { + N = k.getSource(P, v.chunk.runtime, L) + } else { + const E = P.codeGeneration({ + chunkGraph: v.chunkGraph, + dependencyTemplates: v.dependencyTemplates, + moduleGraph: v.moduleGraph, + runtimeTemplate: v.runtimeTemplate, + runtime: v.chunk.runtime, + codeGenerationResults: k, + }) + if (!E) continue + N = E.sources.get('runtime') + } + if (N) { + E.add(Template.toNormalComment(P.identifier()) + '\n') + if (!P.shouldIsolate()) { + E.add(N) + E.add('\n\n') + } else if (v.runtimeTemplate.supportsArrowFunction()) { + E.add('(() => {\n') + E.add(new R('\t', N)) + E.add('\n})();\n\n') + } else { + E.add('!function() {\n') + E.add(new R('\t', N)) + E.add('\n}();\n\n') + } + } + } + return E + } + static renderChunkRuntimeModules(k, v) { + return new R( + '/******/ ', + new P( + `function(${N.require}) { // webpackRuntimeModules\n`, + this.renderRuntimeModules(k, v), + '}\n' + ) + ) + } + } + k.exports = Template + k.exports.NUMBER_OF_IDENTIFIER_START_CHARS = pe + k.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS = me + }, + 39294: function (k, v, E) { + 'use strict' + const P = E(24230) + const { basename: R, extname: L } = E(71017) + const N = E(73837) + const q = E(8247) + const ae = E(88396) + const { parseResource: le } = E(65315) + const pe = /\[\\*([\w:]+)\\*\]/gi + const prepareId = (k) => { + if (typeof k !== 'string') return k + if (/^"\s\+*.*\+\s*"$/.test(k)) { + const v = /^"\s\+*\s*(.*)\s*\+\s*"$/.exec(k) + return `" + (${v[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "` + } + return k.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, '_') + } + const hashLength = (k, v, E, P) => { + const fn = (R, L, N) => { + let q + const ae = L && parseInt(L, 10) + if (ae && v) { + q = v(ae) + } else { + const v = k(R, L, N) + q = ae ? v.slice(0, ae) : v + } + if (E) { + E.immutable = true + if (Array.isArray(E[P])) { + E[P] = [...E[P], q] + } else if (E[P]) { + E[P] = [E[P], q] + } else { + E[P] = q + } + } + return q + } + return fn + } + const replacer = (k, v) => { + const fn = (E, P, R) => { + if (typeof k === 'function') { + k = k() + } + if (k === null || k === undefined) { + if (!v) { + throw new Error( + `Path variable ${E} not implemented in this context: ${R}` + ) + } + return '' + } else { + return `${k}` + } + } + return fn + } + const me = new Map() + const ye = (() => () => {})() + const deprecated = (k, v, E) => { + let P = me.get(v) + if (P === undefined) { + P = N.deprecate(ye, v, E) + me.set(v, P) + } + return (...v) => { + P() + return k(...v) + } + } + const replacePathVariables = (k, v, E) => { + const N = v.chunkGraph + const me = new Map() + if (typeof v.filename === 'string') { + let k = v.filename.match(/^data:([^;,]+)/) + if (k) { + const v = P.extension(k[1]) + const E = replacer('', true) + me.set('file', E) + me.set('query', E) + me.set('fragment', E) + me.set('path', E) + me.set('base', E) + me.set('name', E) + me.set('ext', replacer(v ? `.${v}` : '', true)) + me.set( + 'filebase', + deprecated( + E, + '[filebase] is now [base]', + 'DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME' + ) + ) + } else { + const { path: k, query: E, fragment: P } = le(v.filename) + const N = L(k) + const q = R(k) + const ae = q.slice(0, q.length - N.length) + const pe = k.slice(0, k.length - q.length) + me.set('file', replacer(k)) + me.set('query', replacer(E, true)) + me.set('fragment', replacer(P, true)) + me.set('path', replacer(pe, true)) + me.set('base', replacer(q)) + me.set('name', replacer(ae)) + me.set('ext', replacer(N, true)) + me.set( + 'filebase', + deprecated( + replacer(q), + '[filebase] is now [base]', + 'DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME' + ) + ) + } + } + if (v.hash) { + const k = hashLength( + replacer(v.hash), + v.hashWithLength, + E, + 'fullhash' + ) + me.set('fullhash', k) + me.set( + 'hash', + deprecated( + k, + '[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)', + 'DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH' + ) + ) + } + if (v.chunk) { + const k = v.chunk + const P = v.contentHashType + const R = replacer(k.id) + const L = replacer(k.name || k.id) + const N = hashLength( + replacer(k instanceof q ? k.renderedHash : k.hash), + 'hashWithLength' in k ? k.hashWithLength : undefined, + E, + 'chunkhash' + ) + const ae = hashLength( + replacer(v.contentHash || (P && k.contentHash && k.contentHash[P])), + v.contentHashWithLength || + ('contentHashWithLength' in k && k.contentHashWithLength + ? k.contentHashWithLength[P] + : undefined), + E, + 'contenthash' + ) + me.set('id', R) + me.set('name', L) + me.set('chunkhash', N) + me.set('contenthash', ae) + } + if (v.module) { + const k = v.module + const P = replacer(() => + prepareId(k instanceof ae ? N.getModuleId(k) : k.id) + ) + const R = hashLength( + replacer(() => + k instanceof ae ? N.getRenderedModuleHash(k, v.runtime) : k.hash + ), + 'hashWithLength' in k ? k.hashWithLength : undefined, + E, + 'modulehash' + ) + const L = hashLength( + replacer(v.contentHash), + undefined, + E, + 'contenthash' + ) + me.set('id', P) + me.set('modulehash', R) + me.set('contenthash', L) + me.set('hash', v.contentHash ? L : R) + me.set( + 'moduleid', + deprecated( + P, + '[moduleid] is now [id]', + 'DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID' + ) + ) + } + if (v.url) { + me.set('url', replacer(v.url)) + } + if (typeof v.runtime === 'string') { + me.set( + 'runtime', + replacer(() => prepareId(v.runtime)) + ) + } else { + me.set('runtime', replacer('_')) + } + if (typeof k === 'function') { + k = k(v, E) + } + k = k.replace(pe, (v, E) => { + if (E.length + 2 === v.length) { + const P = /^(\w+)(?::(\w+))?$/.exec(E) + if (!P) return v + const [, R, L] = P + const N = me.get(R) + if (N !== undefined) { + return N(v, L, k) + } + } else if (v.startsWith('[\\') && v.endsWith('\\]')) { + return `[${v.slice(2, -2)}]` + } + return v + }) + return k + } + const _e = 'TemplatedPathPlugin' + class TemplatedPathPlugin { + apply(k) { + k.hooks.compilation.tap(_e, (k) => { + k.hooks.assetPath.tap(_e, replacePathVariables) + }) + } + } + k.exports = TemplatedPathPlugin + }, + 57975: function (k, v, E) { + 'use strict' + const P = E(71572) + const R = E(58528) + class UnhandledSchemeError extends P { + constructor(k, v) { + super( + `Reading from "${v}" is not handled by plugins (Unhandled scheme).` + + '\nWebpack supports "data:" and "file:" URIs by default.' + + `\nYou may need an additional plugin to handle "${k}:" URIs.` + ) + this.file = v + this.name = 'UnhandledSchemeError' + } + } + R( + UnhandledSchemeError, + 'webpack/lib/UnhandledSchemeError', + 'UnhandledSchemeError' + ) + k.exports = UnhandledSchemeError + }, + 9415: function (k, v, E) { + 'use strict' + const P = E(71572) + const R = E(58528) + class UnsupportedFeatureWarning extends P { + constructor(k, v) { + super(k) + this.name = 'UnsupportedFeatureWarning' + this.loc = v + this.hideStack = true + } + } + R(UnsupportedFeatureWarning, 'webpack/lib/UnsupportedFeatureWarning') + k.exports = UnsupportedFeatureWarning + }, + 10862: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, + JAVASCRIPT_MODULE_TYPE_ESM: L, + } = E(93622) + const N = E(60381) + const q = 'UseStrictPlugin' + class UseStrictPlugin { + apply(k) { + k.hooks.compilation.tap(q, (k, { normalModuleFactory: v }) => { + const handler = (k) => { + k.hooks.program.tap(q, (v) => { + const E = v.body[0] + if ( + E && + E.type === 'ExpressionStatement' && + E.expression.type === 'Literal' && + E.expression.value === 'use strict' + ) { + const v = new N('', E.range) + v.loc = E.loc + k.state.module.addPresentationalDependency(v) + k.state.module.buildInfo.strict = true + } + }) + } + v.hooks.parser.for(P).tap(q, handler) + v.hooks.parser.for(R).tap(q, handler) + v.hooks.parser.for(L).tap(q, handler) + }) + } + } + k.exports = UseStrictPlugin + }, + 7326: function (k, v, E) { + 'use strict' + const P = E(94046) + class WarnCaseSensitiveModulesPlugin { + apply(k) { + k.hooks.compilation.tap('WarnCaseSensitiveModulesPlugin', (k) => { + k.hooks.seal.tap('WarnCaseSensitiveModulesPlugin', () => { + const v = new Map() + for (const E of k.modules) { + const k = E.identifier() + if ( + E.resourceResolveData !== undefined && + E.resourceResolveData.encodedContent !== undefined + ) { + continue + } + const P = k.toLowerCase() + let R = v.get(P) + if (R === undefined) { + R = new Map() + v.set(P, R) + } + R.set(k, E) + } + for (const E of v) { + const v = E[1] + if (v.size > 1) { + k.warnings.push(new P(v.values(), k.moduleGraph)) + } + } + }) + }) + } + } + k.exports = WarnCaseSensitiveModulesPlugin + }, + 80025: function (k, v, E) { + 'use strict' + const P = E(71572) + class WarnDeprecatedOptionPlugin { + constructor(k, v, E) { + this.option = k + this.value = v + this.suggestion = E + } + apply(k) { + k.hooks.thisCompilation.tap('WarnDeprecatedOptionPlugin', (k) => { + k.warnings.push( + new DeprecatedOptionWarning( + this.option, + this.value, + this.suggestion + ) + ) + }) + } + } + class DeprecatedOptionWarning extends P { + constructor(k, v, E) { + super() + this.name = 'DeprecatedOptionWarning' + this.message = + 'configuration\n' + + `The value '${v}' for option '${k}' is deprecated. ` + + `Use '${E}' instead.` + } + } + k.exports = WarnDeprecatedOptionPlugin + }, + 41744: function (k, v, E) { + 'use strict' + const P = E(2940) + class WarnNoModeSetPlugin { + apply(k) { + k.hooks.thisCompilation.tap('WarnNoModeSetPlugin', (k) => { + k.warnings.push(new P()) + }) + } + } + k.exports = WarnNoModeSetPlugin + }, + 38849: function (k, v, E) { + 'use strict' + const { groupBy: P } = E(68863) + const R = E(92198) + const L = R(E(24318), () => E(41084), { + name: 'Watch Ignore Plugin', + baseDataPath: 'options', + }) + const N = 'ignore' + class IgnoringWatchFileSystem { + constructor(k, v) { + this.wfs = k + this.paths = v + } + watch(k, v, E, R, L, q, ae) { + k = Array.from(k) + v = Array.from(v) + const ignored = (k) => + this.paths.some((v) => + v instanceof RegExp ? v.test(k) : k.indexOf(v) === 0 + ) + const [le, pe] = P(k, ignored) + const [me, ye] = P(v, ignored) + const _e = this.wfs.watch( + pe, + ye, + E, + R, + L, + (k, v, E, P, R) => { + if (k) return q(k) + for (const k of le) { + v.set(k, N) + } + for (const k of me) { + E.set(k, N) + } + q(k, v, E, P, R) + }, + ae + ) + return { + close: () => _e.close(), + pause: () => _e.pause(), + getContextTimeInfoEntries: () => { + const k = _e.getContextTimeInfoEntries() + for (const v of me) { + k.set(v, N) + } + return k + }, + getFileTimeInfoEntries: () => { + const k = _e.getFileTimeInfoEntries() + for (const v of le) { + k.set(v, N) + } + return k + }, + getInfo: + _e.getInfo && + (() => { + const k = _e.getInfo() + const { fileTimeInfoEntries: v, contextTimeInfoEntries: E } = k + for (const k of le) { + v.set(k, N) + } + for (const k of me) { + E.set(k, N) + } + return k + }), + } + } + } + class WatchIgnorePlugin { + constructor(k) { + L(k) + this.paths = k.paths + } + apply(k) { + k.hooks.afterEnvironment.tap('WatchIgnorePlugin', () => { + k.watchFileSystem = new IgnoringWatchFileSystem( + k.watchFileSystem, + this.paths + ) + }) + } + } + k.exports = WatchIgnorePlugin + }, + 50526: function (k, v, E) { + 'use strict' + const P = E(26288) + class Watching { + constructor(k, v, E) { + this.startTime = null + this.invalid = false + this.handler = E + this.callbacks = [] + this._closeCallbacks = undefined + this.closed = false + this.suspended = false + this.blocked = false + this._isBlocked = () => false + this._onChange = () => {} + this._onInvalid = () => {} + if (typeof v === 'number') { + this.watchOptions = { aggregateTimeout: v } + } else if (v && typeof v === 'object') { + this.watchOptions = { ...v } + } else { + this.watchOptions = {} + } + if (typeof this.watchOptions.aggregateTimeout !== 'number') { + this.watchOptions.aggregateTimeout = 20 + } + this.compiler = k + this.running = false + this._initial = true + this._invalidReported = true + this._needRecords = true + this.watcher = undefined + this.pausedWatcher = undefined + this._collectedChangedFiles = undefined + this._collectedRemovedFiles = undefined + this._done = this._done.bind(this) + process.nextTick(() => { + if (this._initial) this._invalidate() + }) + } + _mergeWithCollected(k, v) { + if (!k) return + if (!this._collectedChangedFiles) { + this._collectedChangedFiles = new Set(k) + this._collectedRemovedFiles = new Set(v) + } else { + for (const v of k) { + this._collectedChangedFiles.add(v) + this._collectedRemovedFiles.delete(v) + } + for (const k of v) { + this._collectedChangedFiles.delete(k) + this._collectedRemovedFiles.add(k) + } + } + } + _go(k, v, E, R) { + this._initial = false + if (this.startTime === null) this.startTime = Date.now() + this.running = true + if (this.watcher) { + this.pausedWatcher = this.watcher + this.lastWatcherStartTime = Date.now() + this.watcher.pause() + this.watcher = null + } else if (!this.lastWatcherStartTime) { + this.lastWatcherStartTime = Date.now() + } + this.compiler.fsStartTime = Date.now() + if (E && R && k && v) { + this._mergeWithCollected(E, R) + this.compiler.fileTimestamps = k + this.compiler.contextTimestamps = v + } else if (this.pausedWatcher) { + if (this.pausedWatcher.getInfo) { + const { + changes: k, + removals: v, + fileTimeInfoEntries: E, + contextTimeInfoEntries: P, + } = this.pausedWatcher.getInfo() + this._mergeWithCollected(k, v) + this.compiler.fileTimestamps = E + this.compiler.contextTimestamps = P + } else { + this._mergeWithCollected( + this.pausedWatcher.getAggregatedChanges && + this.pausedWatcher.getAggregatedChanges(), + this.pausedWatcher.getAggregatedRemovals && + this.pausedWatcher.getAggregatedRemovals() + ) + this.compiler.fileTimestamps = + this.pausedWatcher.getFileTimeInfoEntries() + this.compiler.contextTimestamps = + this.pausedWatcher.getContextTimeInfoEntries() + } + } + this.compiler.modifiedFiles = this._collectedChangedFiles + this._collectedChangedFiles = undefined + this.compiler.removedFiles = this._collectedRemovedFiles + this._collectedRemovedFiles = undefined + const run = () => { + if (this.compiler.idle) { + return this.compiler.cache.endIdle((k) => { + if (k) return this._done(k) + this.compiler.idle = false + run() + }) + } + if (this._needRecords) { + return this.compiler.readRecords((k) => { + if (k) return this._done(k) + this._needRecords = false + run() + }) + } + this.invalid = false + this._invalidReported = false + this.compiler.hooks.watchRun.callAsync(this.compiler, (k) => { + if (k) return this._done(k) + const onCompiled = (k, v) => { + if (k) return this._done(k, v) + if (this.invalid) return this._done(null, v) + if (this.compiler.hooks.shouldEmit.call(v) === false) { + return this._done(null, v) + } + process.nextTick(() => { + const k = v.getLogger('webpack.Compiler') + k.time('emitAssets') + this.compiler.emitAssets(v, (E) => { + k.timeEnd('emitAssets') + if (E) return this._done(E, v) + if (this.invalid) return this._done(null, v) + k.time('emitRecords') + this.compiler.emitRecords((E) => { + k.timeEnd('emitRecords') + if (E) return this._done(E, v) + if (v.hooks.needAdditionalPass.call()) { + v.needAdditionalPass = true + v.startTime = this.startTime + v.endTime = Date.now() + k.time('done hook') + const E = new P(v) + this.compiler.hooks.done.callAsync(E, (E) => { + k.timeEnd('done hook') + if (E) return this._done(E, v) + this.compiler.hooks.additionalPass.callAsync((k) => { + if (k) return this._done(k, v) + this.compiler.compile(onCompiled) + }) + }) + return + } + return this._done(null, v) + }) + }) + }) + } + this.compiler.compile(onCompiled) + }) + } + run() + } + _getStats(k) { + const v = new P(k) + return v + } + _done(k, v) { + this.running = false + const E = v && v.getLogger('webpack.Watching') + let R = null + const handleError = (k, v) => { + this.compiler.hooks.failed.call(k) + this.compiler.cache.beginIdle() + this.compiler.idle = true + this.handler(k, R) + if (!v) { + v = this.callbacks + this.callbacks = [] + } + for (const E of v) E(k) + } + if ( + this.invalid && + !this.suspended && + !this.blocked && + !(this._isBlocked() && (this.blocked = true)) + ) { + if (v) { + E.time('storeBuildDependencies') + this.compiler.cache.storeBuildDependencies( + v.buildDependencies, + (k) => { + E.timeEnd('storeBuildDependencies') + if (k) return handleError(k) + this._go() + } + ) + } else { + this._go() + } + return + } + if (v) { + v.startTime = this.startTime + v.endTime = Date.now() + R = new P(v) + } + this.startTime = null + if (k) return handleError(k) + const L = this.callbacks + this.callbacks = [] + E.time('done hook') + this.compiler.hooks.done.callAsync(R, (k) => { + E.timeEnd('done hook') + if (k) return handleError(k, L) + this.handler(null, R) + E.time('storeBuildDependencies') + this.compiler.cache.storeBuildDependencies( + v.buildDependencies, + (k) => { + E.timeEnd('storeBuildDependencies') + if (k) return handleError(k, L) + E.time('beginIdle') + this.compiler.cache.beginIdle() + this.compiler.idle = true + E.timeEnd('beginIdle') + process.nextTick(() => { + if (!this.closed) { + this.watch( + v.fileDependencies, + v.contextDependencies, + v.missingDependencies + ) + } + }) + for (const k of L) k(null) + this.compiler.hooks.afterDone.call(R) + } + ) + }) + } + watch(k, v, E) { + this.pausedWatcher = null + this.watcher = this.compiler.watchFileSystem.watch( + k, + v, + E, + this.lastWatcherStartTime, + this.watchOptions, + (k, v, E, P, R) => { + if (k) { + this.compiler.modifiedFiles = undefined + this.compiler.removedFiles = undefined + this.compiler.fileTimestamps = undefined + this.compiler.contextTimestamps = undefined + this.compiler.fsStartTime = undefined + return this.handler(k) + } + this._invalidate(v, E, P, R) + this._onChange() + }, + (k, v) => { + if (!this._invalidReported) { + this._invalidReported = true + this.compiler.hooks.invalid.call(k, v) + } + this._onInvalid() + } + ) + } + invalidate(k) { + if (k) { + this.callbacks.push(k) + } + if (!this._invalidReported) { + this._invalidReported = true + this.compiler.hooks.invalid.call(null, Date.now()) + } + this._onChange() + this._invalidate() + } + _invalidate(k, v, E, P) { + if (this.suspended || (this._isBlocked() && (this.blocked = true))) { + this._mergeWithCollected(E, P) + return + } + if (this.running) { + this._mergeWithCollected(E, P) + this.invalid = true + } else { + this._go(k, v, E, P) + } + } + suspend() { + this.suspended = true + } + resume() { + if (this.suspended) { + this.suspended = false + this._invalidate() + } + } + close(k) { + if (this._closeCallbacks) { + if (k) { + this._closeCallbacks.push(k) + } + return + } + const finalCallback = (k, v) => { + 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 + this.compiler.fsStartTime = undefined + const shutdown = (k) => { + this.compiler.hooks.watchClose.call() + const v = this._closeCallbacks + this._closeCallbacks = undefined + for (const E of v) E(k) + } + if (v) { + const E = v.getLogger('webpack.Watching') + E.time('storeBuildDependencies') + this.compiler.cache.storeBuildDependencies( + v.buildDependencies, + (v) => { + E.timeEnd('storeBuildDependencies') + shutdown(k || v) + } + ) + } else { + shutdown(k) + } + } + this.closed = true + if (this.watcher) { + this.watcher.close() + this.watcher = null + } + if (this.pausedWatcher) { + this.pausedWatcher.close() + this.pausedWatcher = null + } + this._closeCallbacks = [] + if (k) { + this._closeCallbacks.push(k) + } + if (this.running) { + this.invalid = true + this._done = finalCallback + } else { + finalCallback() + } + } + } + k.exports = Watching + }, + 71572: function (k, v, E) { + 'use strict' + const P = E(73837).inspect.custom + const R = E(58528) + class WebpackError extends Error { + constructor(k) { + super(k) + this.details = undefined + this.module = undefined + this.loc = undefined + this.hideStack = undefined + this.chunk = undefined + this.file = undefined + } + [P]() { + return this.stack + (this.details ? `\n${this.details}` : '') + } + serialize({ write: k }) { + k(this.name) + k(this.message) + k(this.stack) + k(this.details) + k(this.loc) + k(this.hideStack) + } + deserialize({ read: k }) { + this.name = k() + this.message = k() + this.stack = k() + this.details = k() + this.loc = k() + this.hideStack = k() + } + } + R(WebpackError, 'webpack/lib/WebpackError') + k.exports = WebpackError + }, + 55095: function (k, v, E) { + 'use strict' + const P = E(95224) + const { + JAVASCRIPT_MODULE_TYPE_AUTO: R, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: L, + JAVASCRIPT_MODULE_TYPE_ESM: N, + } = E(93622) + const q = E(83143) + const { toConstantDependency: ae } = E(80784) + const le = 'WebpackIsIncludedPlugin' + class WebpackIsIncludedPlugin { + apply(k) { + k.hooks.compilation.tap(le, (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(q, new P(v)) + k.dependencyTemplates.set(q, new q.Template()) + const handler = (k) => { + k.hooks.call.for('__webpack_is_included__').tap(le, (v) => { + if ( + v.type !== 'CallExpression' || + v.arguments.length !== 1 || + v.arguments[0].type === 'SpreadElement' + ) + return + const E = k.evaluateExpression(v.arguments[0]) + if (!E.isString()) return + const P = new q(E.string, v.range) + P.loc = v.loc + k.state.module.addDependency(P) + return true + }) + k.hooks.typeof + .for('__webpack_is_included__') + .tap(le, ae(k, JSON.stringify('function'))) + } + v.hooks.parser.for(R).tap(le, handler) + v.hooks.parser.for(L).tap(le, handler) + v.hooks.parser.for(N).tap(le, handler) + }) + } + } + k.exports = WebpackIsIncludedPlugin + }, + 27826: function (k, v, E) { + 'use strict' + const P = E(64593) + const R = E(43722) + const L = E(89168) + const N = E(7671) + const q = E(37247) + const ae = E(26591) + const le = E(3437) + const pe = E(10734) + const me = E(99494) + const ye = E(8305) + const _e = E(11512) + const Ie = E(25889) + const Me = E(55095) + const Te = E(39294) + const je = E(10862) + const Ne = E(7326) + const Be = E(82599) + const qe = E(28730) + const Ue = E(6247) + const Ge = E(45575) + const He = E(64476) + const We = E(96090) + const Qe = E(31615) + const Je = E(3970) + const Ve = E(63733) + const Ke = E(69286) + const Ye = E(34949) + const Xe = E(80250) + const Ze = E(3674) + const et = E(50703) + const tt = E(95918) + const nt = E(53877) + const st = E(28027) + const rt = E(57686) + const ot = E(8808) + const it = E(81363) + const { cleverMerge: at } = E(99454) + class WebpackOptionsApply extends P { + constructor() { + super() + } + process(k, v) { + v.outputPath = k.output.path + v.recordsInputPath = k.recordsInputPath || null + v.recordsOutputPath = k.recordsOutputPath || null + v.name = k.name + if (k.externals) { + const P = E(53757) + new P(k.externalsType, k.externals).apply(v) + } + if (k.externalsPresets.node) { + const k = E(56976) + new k().apply(v) + } + if (k.externalsPresets.electronMain) { + const k = E(27558) + new k('main').apply(v) + } + if (k.externalsPresets.electronPreload) { + const k = E(27558) + new k('preload').apply(v) + } + if (k.externalsPresets.electronRenderer) { + const k = E(27558) + new k('renderer').apply(v) + } + if ( + k.externalsPresets.electron && + !k.externalsPresets.electronMain && + !k.externalsPresets.electronPreload && + !k.externalsPresets.electronRenderer + ) { + const k = E(27558) + new k().apply(v) + } + if (k.externalsPresets.nwjs) { + const k = E(53757) + new k('node-commonjs', 'nw.gui').apply(v) + } + if (k.externalsPresets.webAsync) { + const P = E(53757) + new P('import', ({ request: v, dependencyType: E }, P) => { + if (E === 'url') { + if (/^(\/\/|https?:\/\/|#)/.test(v)) + return P(null, `asset ${v}`) + } else if (k.experiments.css && E === 'css-import') { + if (/^(\/\/|https?:\/\/|#)/.test(v)) + return P(null, `css-import ${v}`) + } else if ( + k.experiments.css && + /^(\/\/|https?:\/\/|std:)/.test(v) + ) { + if (/^\.css(\?|$)/.test(v)) return P(null, `css-import ${v}`) + return P(null, `import ${v}`) + } + P() + }).apply(v) + } else if (k.externalsPresets.web) { + const P = E(53757) + new P('module', ({ request: v, dependencyType: E }, P) => { + if (E === 'url') { + if (/^(\/\/|https?:\/\/|#)/.test(v)) + return P(null, `asset ${v}`) + } else if (k.experiments.css && E === 'css-import') { + if (/^(\/\/|https?:\/\/|#)/.test(v)) + return P(null, `css-import ${v}`) + } else if (/^(\/\/|https?:\/\/|std:)/.test(v)) { + if (k.experiments.css && /^\.css((\?)|$)/.test(v)) + return P(null, `css-import ${v}`) + return P(null, `module ${v}`) + } + P() + }).apply(v) + } else if (k.externalsPresets.node) { + if (k.experiments.css) { + const k = E(53757) + new k('module', ({ request: k, dependencyType: v }, E) => { + if (v === 'url') { + if (/^(\/\/|https?:\/\/|#)/.test(k)) + return E(null, `asset ${k}`) + } else if (v === 'css-import') { + if (/^(\/\/|https?:\/\/|#)/.test(k)) + return E(null, `css-import ${k}`) + } else if (/^(\/\/|https?:\/\/|std:)/.test(k)) { + if (/^\.css(\?|$)/.test(k)) return E(null, `css-import ${k}`) + return E(null, `module ${k}`) + } + E() + }).apply(v) + } + } + new q().apply(v) + if (typeof k.output.chunkFormat === 'string') { + switch (k.output.chunkFormat) { + case 'array-push': { + const k = E(39799) + new k().apply(v) + break + } + case 'commonjs': { + const k = E(45542) + new k().apply(v) + break + } + case 'module': { + const k = E(14504) + new k().apply(v) + break + } + default: + throw new Error( + "Unsupported chunk format '" + k.output.chunkFormat + "'." + ) + } + } + if (k.output.enabledChunkLoadingTypes.length > 0) { + for (const P of k.output.enabledChunkLoadingTypes) { + const k = E(73126) + new k(P).apply(v) + } + } + if (k.output.enabledWasmLoadingTypes.length > 0) { + for (const P of k.output.enabledWasmLoadingTypes) { + const k = E(50792) + new k(P).apply(v) + } + } + if (k.output.enabledLibraryTypes.length > 0) { + for (const P of k.output.enabledLibraryTypes) { + const k = E(60234) + new k(P).apply(v) + } + } + if (k.output.pathinfo) { + const P = E(50444) + new P(k.output.pathinfo !== true).apply(v) + } + if (k.output.clean) { + const P = E(69155) + new P(k.output.clean === true ? {} : k.output.clean).apply(v) + } + if (k.devtool) { + if (k.devtool.includes('source-map')) { + const P = k.devtool.includes('hidden') + const R = k.devtool.includes('inline') + const L = k.devtool.includes('eval') + const N = k.devtool.includes('cheap') + const q = k.devtool.includes('module') + const ae = k.devtool.includes('nosources') + const le = L ? E(21234) : E(83814) + new le({ + filename: R ? null : k.output.sourceMapFilename, + moduleFilenameTemplate: k.output.devtoolModuleFilenameTemplate, + fallbackModuleFilenameTemplate: + k.output.devtoolFallbackModuleFilenameTemplate, + append: P ? false : undefined, + module: q ? true : N ? false : true, + columns: N ? false : true, + noSources: ae, + namespace: k.output.devtoolNamespace, + }).apply(v) + } else if (k.devtool.includes('eval')) { + const P = E(87543) + new P({ + moduleFilenameTemplate: k.output.devtoolModuleFilenameTemplate, + namespace: k.output.devtoolNamespace, + }).apply(v) + } + } + new L().apply(v) + new N().apply(v) + new R().apply(v) + if (!k.experiments.outputModule) { + if (k.output.module) { + throw new Error( + "'output.module: true' is only allowed when 'experiments.outputModule' is enabled" + ) + } + if (k.output.enabledLibraryTypes.includes('module')) { + throw new Error( + 'library type "module" is only allowed when \'experiments.outputModule\' is enabled' + ) + } + if (k.externalsType === 'module') { + throw new Error( + "'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled" + ) + } + } + if (k.experiments.syncWebAssembly) { + const P = E(3843) + new P({ mangleImports: k.optimization.mangleWasmImports }).apply(v) + } + if (k.experiments.asyncWebAssembly) { + const P = E(70006) + new P({ mangleImports: k.optimization.mangleWasmImports }).apply(v) + } + if (k.experiments.css) { + const P = E(76395) + new P(k.experiments.css).apply(v) + } + if (k.experiments.lazyCompilation) { + const P = E(93239) + const R = + typeof k.experiments.lazyCompilation === 'object' + ? k.experiments.lazyCompilation + : null + new P({ + backend: + typeof R.backend === 'function' + ? R.backend + : E(75218)({ + ...R.backend, + client: + (R.backend && R.backend.client) || + k.externalsPresets.node + ? E.ab + 'lazy-compilation-node.js' + : E.ab + 'lazy-compilation-web.js', + }), + entries: !R || R.entries !== false, + imports: !R || R.imports !== false, + test: (R && R.test) || undefined, + }).apply(v) + } + if (k.experiments.buildHttp) { + const P = E(73500) + const R = k.experiments.buildHttp + new P(R).apply(v) + } + new ae().apply(v) + v.hooks.entryOption.call(k.context, k.entry) + new pe().apply(v) + new nt().apply(v) + new Be().apply(v) + new qe().apply(v) + new ye().apply(v) + new He({ topLevelAwait: k.experiments.topLevelAwait }).apply(v) + if (k.amd !== false) { + const P = E(80471) + const R = E(97679) + new P(k.amd || {}).apply(v) + new R().apply(v) + } + new Ge().apply(v) + new Ve({}).apply(v) + if (k.node !== false) { + const P = E(12661) + new P(k.node).apply(v) + } + new me({ module: k.output.module }).apply(v) + new Ie().apply(v) + new Me().apply(v) + new _e().apply(v) + new je().apply(v) + new Xe().apply(v) + new Ye().apply(v) + new Ke().apply(v) + new Je().apply(v) + new We().apply(v) + new Ze().apply(v) + new Qe().apply(v) + new et().apply(v) + new tt( + k.output.workerChunkLoading, + k.output.workerWasmLoading, + k.output.module, + k.output.workerPublicPath + ).apply(v) + new rt().apply(v) + new ot().apply(v) + new it().apply(v) + new st().apply(v) + if (typeof k.mode !== 'string') { + const k = E(41744) + new k().apply(v) + } + const P = E(4945) + new P().apply(v) + if (k.optimization.removeAvailableModules) { + const k = E(21352) + new k().apply(v) + } + if (k.optimization.removeEmptyChunks) { + const k = E(37238) + new k().apply(v) + } + if (k.optimization.mergeDuplicateChunks) { + const k = E(79008) + new k().apply(v) + } + if (k.optimization.flagIncludedChunks) { + const k = E(63511) + new k().apply(v) + } + if (k.optimization.sideEffects) { + const P = E(57214) + new P(k.optimization.sideEffects === true).apply(v) + } + if (k.optimization.providedExports) { + const k = E(13893) + new k().apply(v) + } + if (k.optimization.usedExports) { + const P = E(25984) + new P(k.optimization.usedExports === 'global').apply(v) + } + if (k.optimization.innerGraph) { + const k = E(31911) + new k().apply(v) + } + if (k.optimization.mangleExports) { + const P = E(45287) + new P(k.optimization.mangleExports !== 'size').apply(v) + } + if (k.optimization.concatenateModules) { + const k = E(30899) + new k().apply(v) + } + if (k.optimization.splitChunks) { + const P = E(30829) + new P(k.optimization.splitChunks).apply(v) + } + if (k.optimization.runtimeChunk) { + const P = E(89921) + new P(k.optimization.runtimeChunk).apply(v) + } + if (!k.optimization.emitOnErrors) { + const k = E(75018) + new k().apply(v) + } + if (k.optimization.realContentHash) { + const P = E(71183) + new P({ + hashFunction: k.output.hashFunction, + hashDigest: k.output.hashDigest, + }).apply(v) + } + if (k.optimization.checkWasmTypes) { + const k = E(6754) + new k().apply(v) + } + const ct = k.optimization.moduleIds + if (ct) { + switch (ct) { + case 'natural': { + const k = E(98122) + new k().apply(v) + break + } + case 'named': { + const k = E(64908) + new k().apply(v) + break + } + case 'hashed': { + const P = E(80025) + const R = E(81973) + new P( + 'optimization.moduleIds', + 'hashed', + 'deterministic' + ).apply(v) + new R({ hashFunction: k.output.hashFunction }).apply(v) + break + } + case 'deterministic': { + const k = E(40288) + new k().apply(v) + break + } + case 'size': { + const k = E(40654) + new k({ prioritiseInitial: true }).apply(v) + break + } + default: + throw new Error( + `webpack bug: moduleIds: ${ct} is not implemented` + ) + } + } + const lt = k.optimization.chunkIds + if (lt) { + switch (lt) { + case 'natural': { + const k = E(76914) + new k().apply(v) + break + } + case 'named': { + const k = E(38372) + new k().apply(v) + break + } + case 'deterministic': { + const k = E(89002) + new k().apply(v) + break + } + case 'size': { + const k = E(12976) + new k({ prioritiseInitial: true }).apply(v) + break + } + case 'total-size': { + const k = E(12976) + new k({ prioritiseInitial: false }).apply(v) + break + } + default: + throw new Error( + `webpack bug: chunkIds: ${lt} is not implemented` + ) + } + } + if (k.optimization.nodeEnv) { + const P = E(91602) + new P({ + 'process.env.NODE_ENV': JSON.stringify(k.optimization.nodeEnv), + }).apply(v) + } + if (k.optimization.minimize) { + for (const E of k.optimization.minimizer) { + if (typeof E === 'function') { + E.call(v, v) + } else if (E !== '...') { + E.apply(v) + } + } + } + if (k.performance) { + const P = E(338) + new P(k.performance).apply(v) + } + new Te().apply(v) + new le({ portableIds: k.optimization.portableRecords }).apply(v) + new Ne().apply(v) + const ut = E(79438) + new ut(k.snapshot.managedPaths, k.snapshot.immutablePaths).apply(v) + if (k.cache && typeof k.cache === 'object') { + const P = k.cache + switch (P.type) { + case 'memory': { + if (isFinite(P.maxGenerations)) { + const k = E(17882) + new k({ maxGenerations: P.maxGenerations }).apply(v) + } else { + const k = E(66494) + new k().apply(v) + } + if (P.cacheUnaffected) { + if (!k.experiments.cacheUnaffected) { + throw new Error( + "'cache.cacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled" + ) + } + v.moduleMemCaches = new Map() + } + break + } + case 'filesystem': { + const R = E(26876) + for (const k in P.buildDependencies) { + const E = P.buildDependencies[k] + new R(E).apply(v) + } + if (!isFinite(P.maxMemoryGenerations)) { + const k = E(66494) + new k().apply(v) + } else if (P.maxMemoryGenerations !== 0) { + const k = E(17882) + new k({ maxGenerations: P.maxMemoryGenerations }).apply(v) + } + if (P.memoryCacheUnaffected) { + if (!k.experiments.cacheUnaffected) { + throw new Error( + "'cache.memoryCacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled" + ) + } + v.moduleMemCaches = new Map() + } + switch (P.store) { + case 'pack': { + const R = E(87251) + const L = E(30124) + new R( + new L({ + compiler: v, + fs: v.intermediateFileSystem, + context: k.context, + cacheLocation: P.cacheLocation, + version: P.version, + logger: v.getInfrastructureLogger( + 'webpack.cache.PackFileCacheStrategy' + ), + snapshot: k.snapshot, + maxAge: P.maxAge, + profile: P.profile, + allowCollectingMemory: P.allowCollectingMemory, + compression: P.compression, + readonly: P.readonly, + }), + P.idleTimeout, + P.idleTimeoutForInitialStore, + P.idleTimeoutAfterLargeChanges + ).apply(v) + break + } + default: + throw new Error('Unhandled value for cache.store') + } + break + } + default: + throw new Error(`Unknown cache type ${P.type}`) + } + } + new Ue().apply(v) + if (k.ignoreWarnings && k.ignoreWarnings.length > 0) { + const P = E(21324) + new P(k.ignoreWarnings).apply(v) + } + v.hooks.afterPlugins.call(v) + if (!v.inputFileSystem) { + throw new Error('No input filesystem provided') + } + v.resolverFactory.hooks.resolveOptions + .for('normal') + .tap('WebpackOptionsApply', (E) => { + E = at(k.resolve, E) + E.fileSystem = v.inputFileSystem + return E + }) + v.resolverFactory.hooks.resolveOptions + .for('context') + .tap('WebpackOptionsApply', (E) => { + E = at(k.resolve, E) + E.fileSystem = v.inputFileSystem + E.resolveToContext = true + return E + }) + v.resolverFactory.hooks.resolveOptions + .for('loader') + .tap('WebpackOptionsApply', (E) => { + E = at(k.resolveLoader, E) + E.fileSystem = v.inputFileSystem + return E + }) + v.hooks.afterResolvers.call(v) + return k + } + } + k.exports = WebpackOptionsApply + }, + 21247: function (k, v, E) { + 'use strict' + const { applyWebpackOptionsDefaults: P } = E(25801) + const { getNormalizedWebpackOptions: R } = E(47339) + class WebpackOptionsDefaulter { + process(k) { + k = R(k) + P(k) + return k + } + } + k.exports = WebpackOptionsDefaulter + }, + 38200: function (k, v, E) { + 'use strict' + const P = E(24230) + const R = E(71017) + const { RawSource: L } = E(51255) + const N = E(91213) + const q = E(91597) + const { ASSET_MODULE_TYPE: ae } = E(93622) + const le = E(56727) + const pe = E(74012) + const { makePathsRelative: me } = E(65315) + const ye = E(64119) + const mergeMaybeArrays = (k, v) => { + const E = new Set() + if (Array.isArray(k)) for (const v of k) E.add(v) + else E.add(k) + if (Array.isArray(v)) for (const k of v) E.add(k) + else E.add(v) + return Array.from(E) + } + const mergeAssetInfo = (k, v) => { + const E = { ...k, ...v } + for (const P of Object.keys(k)) { + if (P in v) { + if (k[P] === v[P]) continue + switch (P) { + case 'fullhash': + case 'chunkhash': + case 'modulehash': + case 'contenthash': + E[P] = mergeMaybeArrays(k[P], v[P]) + break + case 'immutable': + case 'development': + case 'hotModuleReplacement': + case 'javascriptModule': + E[P] = k[P] || v[P] + break + case 'related': + E[P] = mergeRelatedInfo(k[P], v[P]) + break + default: + throw new Error(`Can't handle conflicting asset info for ${P}`) + } + } + } + return E + } + const mergeRelatedInfo = (k, v) => { + const E = { ...k, ...v } + for (const P of Object.keys(k)) { + if (P in v) { + if (k[P] === v[P]) continue + E[P] = mergeMaybeArrays(k[P], v[P]) + } + } + return E + } + const encodeDataUri = (k, v) => { + let E + switch (k) { + case 'base64': { + E = v.buffer().toString('base64') + break + } + case false: { + const k = v.source() + if (typeof k !== 'string') { + E = k.toString('utf-8') + } + E = encodeURIComponent(E).replace( + /[!'()*]/g, + (k) => '%' + k.codePointAt(0).toString(16) + ) + break + } + default: + throw new Error(`Unsupported encoding '${k}'`) + } + return E + } + const decodeDataUriContent = (k, v) => { + const E = k === 'base64' + if (E) { + return Buffer.from(v, 'base64') + } + try { + return Buffer.from(decodeURIComponent(v), 'ascii') + } catch (k) { + return Buffer.from(v, 'ascii') + } + } + const _e = new Set(['javascript']) + const Ie = new Set(['javascript', ae]) + const Me = 'base64' + class AssetGenerator extends q { + constructor(k, v, E, P, R) { + super() + this.dataUrlOptions = k + this.filename = v + this.publicPath = E + this.outputPath = P + this.emit = R + } + getSourceFileName(k, v) { + return me( + v.compilation.compiler.context, + k.matchResource || k.resource, + v.compilation.compiler.root + ).replace(/^\.\//, '') + } + getConcatenationBailoutReason(k, v) { + return undefined + } + getMimeType(k) { + if (typeof this.dataUrlOptions === 'function') { + throw new Error( + 'This method must not be called when dataUrlOptions is a function' + ) + } + let v = this.dataUrlOptions.mimetype + if (v === undefined) { + const E = R.extname(k.nameForCondition()) + if ( + k.resourceResolveData && + k.resourceResolveData.mimetype !== undefined + ) { + v = + k.resourceResolveData.mimetype + + k.resourceResolveData.parameters + } else if (E) { + v = P.lookup(E) + if (typeof v !== 'string') { + throw new Error( + "DataUrl can't be generated automatically, " + + `because there is no mimetype for "${E}" in mimetype database. ` + + 'Either pass a mimetype via "generator.mimetype" or ' + + 'use type: "asset/resource" to create a resource file instead of a DataUrl' + ) + } + } + } + if (typeof v !== 'string') { + throw new Error( + "DataUrl can't be generated automatically. " + + 'Either pass a mimetype via "generator.mimetype" or ' + + 'use type: "asset/resource" to create a resource file instead of a DataUrl' + ) + } + return v + } + generate( + k, + { + runtime: v, + concatenationScope: E, + chunkGraph: P, + runtimeTemplate: q, + runtimeRequirements: me, + type: _e, + getData: Ie, + } + ) { + switch (_e) { + case ae: + return k.originalSource() + default: { + let ae + const _e = k.originalSource() + if (k.buildInfo.dataUrl) { + let v + if (typeof this.dataUrlOptions === 'function') { + v = this.dataUrlOptions.call(null, _e.source(), { + filename: k.matchResource || k.resource, + module: k, + }) + } else { + let E = this.dataUrlOptions.encoding + if (E === undefined) { + if ( + k.resourceResolveData && + k.resourceResolveData.encoding !== undefined + ) { + E = k.resourceResolveData.encoding + } + } + if (E === undefined) { + E = Me + } + const P = this.getMimeType(k) + let R + if ( + k.resourceResolveData && + k.resourceResolveData.encoding === E && + decodeDataUriContent( + k.resourceResolveData.encoding, + k.resourceResolveData.encodedContent + ).equals(_e.buffer()) + ) { + R = k.resourceResolveData.encodedContent + } else { + R = encodeDataUri(E, _e) + } + v = `data:${P}${E ? `;${E}` : ''},${R}` + } + const E = Ie() + E.set('url', Buffer.from(v)) + ae = JSON.stringify(v) + } else { + const E = this.filename || q.outputOptions.assetModuleFilename + const L = pe(q.outputOptions.hashFunction) + if (q.outputOptions.hashSalt) { + L.update(q.outputOptions.hashSalt) + } + L.update(_e.buffer()) + const N = L.digest(q.outputOptions.hashDigest) + const Me = ye(N, q.outputOptions.hashDigestLength) + k.buildInfo.fullContentHash = N + const Te = this.getSourceFileName(k, q) + let { path: je, info: Ne } = q.compilation.getAssetPathWithInfo( + E, + { + module: k, + runtime: v, + filename: Te, + chunkGraph: P, + contentHash: Me, + } + ) + let Be + if (this.publicPath !== undefined) { + const { path: E, info: R } = + q.compilation.getAssetPathWithInfo(this.publicPath, { + module: k, + runtime: v, + filename: Te, + chunkGraph: P, + contentHash: Me, + }) + Ne = mergeAssetInfo(Ne, R) + Be = JSON.stringify(E + je) + } else { + me.add(le.publicPath) + Be = q.concatenation({ expr: le.publicPath }, je) + } + Ne = { sourceFilename: Te, ...Ne } + if (this.outputPath) { + const { path: E, info: L } = + q.compilation.getAssetPathWithInfo(this.outputPath, { + module: k, + runtime: v, + filename: Te, + chunkGraph: P, + contentHash: Me, + }) + Ne = mergeAssetInfo(Ne, L) + je = R.posix.join(E, je) + } + k.buildInfo.filename = je + k.buildInfo.assetInfo = Ne + if (Ie) { + const k = Ie() + k.set('fullContentHash', N) + k.set('filename', je) + k.set('assetInfo', Ne) + } + ae = Be + } + if (E) { + E.registerNamespaceExport(N.NAMESPACE_OBJECT_EXPORT) + return new L( + `${q.supportsConst() ? 'const' : 'var'} ${ + N.NAMESPACE_OBJECT_EXPORT + } = ${ae};` + ) + } else { + me.add(le.module) + return new L(`${le.module}.exports = ${ae};`) + } + } + } + } + getTypes(k) { + if ((k.buildInfo && k.buildInfo.dataUrl) || this.emit === false) { + return _e + } else { + return Ie + } + } + getSize(k, v) { + switch (v) { + case ae: { + const v = k.originalSource() + if (!v) { + return 0 + } + return v.size() + } + default: + if (k.buildInfo && k.buildInfo.dataUrl) { + const v = k.originalSource() + if (!v) { + return 0 + } + return v.size() * 1.34 + 36 + } else { + return 42 + } + } + } + updateHash( + k, + { module: v, runtime: E, runtimeTemplate: P, chunkGraph: R } + ) { + if (v.buildInfo.dataUrl) { + k.update('data-url') + if (typeof this.dataUrlOptions === 'function') { + const v = this.dataUrlOptions.ident + if (v) k.update(v) + } else { + if ( + this.dataUrlOptions.encoding && + this.dataUrlOptions.encoding !== Me + ) { + k.update(this.dataUrlOptions.encoding) + } + if (this.dataUrlOptions.mimetype) + k.update(this.dataUrlOptions.mimetype) + } + } else { + k.update('resource') + const L = { + module: v, + runtime: E, + filename: this.getSourceFileName(v, P), + chunkGraph: R, + contentHash: P.contentHashReplacement, + } + if (typeof this.publicPath === 'function') { + k.update('path') + const v = {} + k.update(this.publicPath(L, v)) + k.update(JSON.stringify(v)) + } else if (this.publicPath) { + k.update('path') + k.update(this.publicPath) + } else { + k.update('no-path') + } + const N = this.filename || P.outputOptions.assetModuleFilename + const { path: q, info: ae } = P.compilation.getAssetPathWithInfo( + N, + L + ) + k.update(q) + k.update(JSON.stringify(ae)) + } + } + } + k.exports = AssetGenerator + }, + 43722: function (k, v, E) { + 'use strict' + const { + ASSET_MODULE_TYPE_RESOURCE: P, + ASSET_MODULE_TYPE_INLINE: R, + ASSET_MODULE_TYPE: L, + ASSET_MODULE_TYPE_SOURCE: N, + } = E(93622) + const { cleverMerge: q } = E(99454) + const { compareModulesByIdentifier: ae } = E(95648) + const le = E(92198) + const pe = E(20631) + const getSchema = (k) => { + const { definitions: v } = E(98625) + return { definitions: v, oneOf: [{ $ref: `#/definitions/${k}` }] } + } + const me = { name: 'Asset Modules Plugin', baseDataPath: 'generator' } + const ye = { + asset: le(E(38070), () => getSchema('AssetGeneratorOptions'), me), + 'asset/resource': le( + E(77964), + () => getSchema('AssetResourceGeneratorOptions'), + me + ), + 'asset/inline': le( + E(62853), + () => getSchema('AssetInlineGeneratorOptions'), + me + ), + } + const _e = le(E(60578), () => getSchema('AssetParserOptions'), { + name: 'Asset Modules Plugin', + baseDataPath: 'parser', + }) + const Ie = pe(() => E(38200)) + const Me = pe(() => E(47930)) + const Te = pe(() => E(51073)) + const je = pe(() => E(15140)) + const Ne = L + const Be = 'AssetModulesPlugin' + class AssetModulesPlugin { + apply(k) { + k.hooks.compilation.tap(Be, (v, { normalModuleFactory: E }) => { + E.hooks.createParser.for(L).tap(Be, (v) => { + _e(v) + v = q(k.options.module.parser.asset, v) + let E = v.dataUrlCondition + if (!E || typeof E === 'object') { + E = { maxSize: 8096, ...E } + } + const P = Me() + return new P(E) + }) + E.hooks.createParser.for(R).tap(Be, (k) => { + const v = Me() + return new v(true) + }) + E.hooks.createParser.for(P).tap(Be, (k) => { + const v = Me() + return new v(false) + }) + E.hooks.createParser.for(N).tap(Be, (k) => { + const v = Te() + return new v() + }) + for (const k of [L, R, P]) { + E.hooks.createGenerator.for(k).tap(Be, (v) => { + ye[k](v) + let E = undefined + if (k !== P) { + E = v.dataUrl + if (!E || typeof E === 'object') { + E = { encoding: undefined, mimetype: undefined, ...E } + } + } + let L = undefined + let N = undefined + let q = undefined + if (k !== R) { + L = v.filename + N = v.publicPath + q = v.outputPath + } + const ae = Ie() + return new ae(E, L, N, q, v.emit !== false) + }) + } + E.hooks.createGenerator.for(N).tap(Be, () => { + const k = je() + return new k() + }) + v.hooks.renderManifest.tap(Be, (k, E) => { + const { chunkGraph: P } = v + const { chunk: R, codeGenerationResults: N } = E + const q = P.getOrderedChunkModulesIterableBySourceType(R, L, ae) + if (q) { + for (const v of q) { + try { + const E = N.get(v, R.runtime) + k.push({ + render: () => E.sources.get(Ne), + filename: v.buildInfo.filename || E.data.get('filename'), + info: v.buildInfo.assetInfo || E.data.get('assetInfo'), + auxiliary: true, + identifier: `assetModule${P.getModuleId(v)}`, + hash: + v.buildInfo.fullContentHash || + E.data.get('fullContentHash'), + }) + } catch (k) { + k.message += `\nduring rendering of asset ${v.identifier()}` + throw k + } + } + } + return k + }) + v.hooks.prepareModuleExecution.tap('AssetModulesPlugin', (k, v) => { + const { codeGenerationResult: E } = k + const P = E.sources.get(L) + if (P === undefined) return + v.assets.set(E.data.get('filename'), { + source: P, + info: E.data.get('assetInfo'), + }) + }) + }) + } + } + k.exports = AssetModulesPlugin + }, + 47930: function (k, v, E) { + 'use strict' + const P = E(17381) + class AssetParser extends P { + constructor(k) { + super() + this.dataUrlCondition = k + } + parse(k, v) { + if (typeof k === 'object' && !Buffer.isBuffer(k)) { + throw new Error("AssetParser doesn't accept preparsed AST") + } + v.module.buildInfo.strict = true + v.module.buildMeta.exportsType = 'default' + v.module.buildMeta.defaultObject = false + if (typeof this.dataUrlCondition === 'function') { + v.module.buildInfo.dataUrl = this.dataUrlCondition(k, { + filename: v.module.matchResource || v.module.resource, + module: v.module, + }) + } else if (typeof this.dataUrlCondition === 'boolean') { + v.module.buildInfo.dataUrl = this.dataUrlCondition + } else if ( + this.dataUrlCondition && + typeof this.dataUrlCondition === 'object' + ) { + v.module.buildInfo.dataUrl = + Buffer.byteLength(k) <= this.dataUrlCondition.maxSize + } else { + throw new Error('Unexpected dataUrlCondition type') + } + return v + } + } + k.exports = AssetParser + }, + 15140: function (k, v, E) { + 'use strict' + const { RawSource: P } = E(51255) + const R = E(91213) + const L = E(91597) + const N = E(56727) + const q = new Set(['javascript']) + class AssetSourceGenerator extends L { + generate( + k, + { + concatenationScope: v, + chunkGraph: E, + runtimeTemplate: L, + runtimeRequirements: q, + } + ) { + const ae = k.originalSource() + if (!ae) { + return new P('') + } + const le = ae.source() + let pe + if (typeof le === 'string') { + pe = le + } else { + pe = le.toString('utf-8') + } + let me + if (v) { + v.registerNamespaceExport(R.NAMESPACE_OBJECT_EXPORT) + me = `${L.supportsConst() ? 'const' : 'var'} ${ + R.NAMESPACE_OBJECT_EXPORT + } = ${JSON.stringify(pe)};` + } else { + q.add(N.module) + me = `${N.module}.exports = ${JSON.stringify(pe)};` + } + return new P(me) + } + getConcatenationBailoutReason(k, v) { + return undefined + } + getTypes(k) { + return q + } + getSize(k, v) { + const E = k.originalSource() + if (!E) { + return 0 + } + return E.size() + 12 + } + } + k.exports = AssetSourceGenerator + }, + 51073: function (k, v, E) { + 'use strict' + const P = E(17381) + class AssetSourceParser extends P { + parse(k, v) { + if (typeof k === 'object' && !Buffer.isBuffer(k)) { + throw new Error("AssetSourceParser doesn't accept preparsed AST") + } + const { module: E } = v + E.buildInfo.strict = true + E.buildMeta.exportsType = 'default' + v.module.buildMeta.defaultObject = false + return v + } + } + k.exports = AssetSourceParser + }, + 26619: function (k, v, E) { + 'use strict' + const { RawSource: P } = E(51255) + const R = E(88396) + const { ASSET_MODULE_TYPE_RAW_DATA_URL: L } = E(93622) + const N = E(56727) + const q = E(58528) + const ae = new Set(['javascript']) + class RawDataUrlModule extends R { + constructor(k, v, E) { + super(L, null) + this.url = k + this.urlBuffer = k ? Buffer.from(k) : undefined + this.identifierStr = v || this.url + this.readableIdentifierStr = E || this.identifierStr + } + getSourceTypes() { + return ae + } + identifier() { + return this.identifierStr + } + size(k) { + if (this.url === undefined) this.url = this.urlBuffer.toString() + return Math.max(1, this.url.length) + } + readableIdentifier(k) { + return k.shorten(this.readableIdentifierStr) + } + needBuild(k, v) { + return v(null, !this.buildMeta) + } + build(k, v, E, P, R) { + this.buildMeta = {} + this.buildInfo = { cacheable: true } + R() + } + codeGeneration(k) { + if (this.url === undefined) this.url = this.urlBuffer.toString() + const v = new Map() + v.set( + 'javascript', + new P(`module.exports = ${JSON.stringify(this.url)};`) + ) + const E = new Map() + E.set('url', this.urlBuffer) + const R = new Set() + R.add(N.module) + return { sources: v, runtimeRequirements: R, data: E } + } + updateHash(k, v) { + k.update(this.urlBuffer) + super.updateHash(k, v) + } + serialize(k) { + const { write: v } = k + v(this.urlBuffer) + v(this.identifierStr) + v(this.readableIdentifierStr) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.urlBuffer = v() + this.identifierStr = v() + this.readableIdentifierStr = v() + super.deserialize(k) + } + } + q(RawDataUrlModule, 'webpack/lib/asset/RawDataUrlModule') + k.exports = RawDataUrlModule + }, + 55770: function (k, v, E) { + 'use strict' + const P = E(88113) + const R = E(56727) + const L = E(95041) + class AwaitDependenciesInitFragment extends P { + constructor(k) { + super(undefined, P.STAGE_ASYNC_DEPENDENCIES, 0, 'await-dependencies') + this.promises = k + } + merge(k) { + const v = new Set(k.promises) + for (const k of this.promises) { + v.add(k) + } + return new AwaitDependenciesInitFragment(v) + } + getContent({ runtimeRequirements: k }) { + k.add(R.module) + const v = this.promises + if (v.size === 0) { + return '' + } + if (v.size === 1) { + for (const k of v) { + return L.asString([ + `var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${k}]);`, + `${k} = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];`, + '', + ]) + } + } + const E = Array.from(v).join(', ') + return L.asString([ + `var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${E}]);`, + `([${E}] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);`, + '', + ]) + } + } + k.exports = AwaitDependenciesInitFragment + }, + 53877: function (k, v, E) { + 'use strict' + const P = E(69184) + class InferAsyncModulesPlugin { + apply(k) { + k.hooks.compilation.tap('InferAsyncModulesPlugin', (k) => { + const { moduleGraph: v } = k + k.hooks.finishModules.tap('InferAsyncModulesPlugin', (k) => { + const E = new Set() + for (const v of k) { + if (v.buildMeta && v.buildMeta.async) { + E.add(v) + } + } + for (const k of E) { + v.setAsync(k) + for (const [R, L] of v.getIncomingConnectionsByOriginModule( + k + )) { + if ( + L.some( + (k) => + k.dependency instanceof P && k.isTargetActive(undefined) + ) + ) { + E.add(R) + } + } + } + }) + }) + } + } + k.exports = InferAsyncModulesPlugin + }, + 82551: function (k, v, E) { + 'use strict' + const P = E(51641) + const { connectChunkGroupParentAndChild: R } = E(18467) + const L = E(86267) + const { getEntryRuntime: N, mergeRuntime: q } = E(1540) + const ae = new Set() + ae.plus = ae + const bySetSize = (k, v) => v.size + v.plus.size - k.size - k.plus.size + const extractBlockModules = (k, v, E, P) => { + let R + let N + const q = [] + const ae = [k] + while (ae.length > 0) { + const k = ae.pop() + const v = [] + q.push(v) + P.set(k, v) + for (const v of k.blocks) { + ae.push(v) + } + } + for (const L of v.getOutgoingConnections(k)) { + const k = L.dependency + if (!k) continue + const q = L.module + if (!q) continue + if (L.weak) continue + const ae = L.getActiveState(E) + if (ae === false) continue + const le = v.getParentBlock(k) + let pe = v.getParentBlockIndex(k) + if (pe < 0) { + pe = le.dependencies.indexOf(k) + } + if (R !== le) { + N = P.get((R = le)) + } + const me = pe << 2 + N[me] = q + N[me + 1] = ae + } + for (const k of q) { + if (k.length === 0) continue + let v + let E = 0 + e: for (let P = 0; P < k.length; P += 2) { + const R = k[P] + if (R === undefined) continue + const N = k[P + 1] + if (v === undefined) { + let P = 0 + for (; P < E; P += 2) { + if (k[P] === R) { + const v = k[P + 1] + if (v === true) continue e + k[P + 1] = L.addConnectionStates(v, N) + } + } + k[E] = R + E++ + k[E] = N + E++ + if (E > 30) { + v = new Map() + for (let P = 0; P < E; P += 2) { + v.set(k[P], P + 1) + } + } + } else { + const P = v.get(R) + if (P !== undefined) { + const v = k[P] + if (v === true) continue e + k[P] = L.addConnectionStates(v, N) + } else { + k[E] = R + E++ + k[E] = N + v.set(R, E) + E++ + } + } + } + k.length = E + } + } + const visitModules = (k, v, E, R, L, le, pe) => { + const { moduleGraph: me, chunkGraph: ye, moduleMemCaches: _e } = v + const Ie = new Map() + let Me = false + let Te + const getBlockModules = (v, E) => { + if (Me !== E) { + Te = Ie.get(E) + if (Te === undefined) { + Te = new Map() + Ie.set(E, Te) + } + } + let P = Te.get(v) + if (P !== undefined) return P + const R = v.getRootBlock() + const L = _e && _e.get(R) + if (L !== undefined) { + const P = L.provide('bundleChunkGraph.blockModules', E, () => { + k.time('visitModules: prepare') + const v = new Map() + extractBlockModules(R, me, E, v) + k.timeAggregate('visitModules: prepare') + return v + }) + for (const [k, v] of P) Te.set(k, v) + return P.get(v) + } else { + k.time('visitModules: prepare') + extractBlockModules(R, me, E, Te) + P = Te.get(v) + k.timeAggregate('visitModules: prepare') + return P + } + } + let je = 0 + let Ne = 0 + let Be = 0 + let qe = 0 + let Ue = 0 + let Ge = 0 + let He = 0 + let We = 0 + let Qe = 0 + let Je = 0 + let Ve = 0 + let Ke = 0 + let Ye = 0 + let Xe = 0 + let Ze = 0 + let et = 0 + const tt = new Map() + const nt = new Map() + const st = new Map() + const rt = 0 + const ot = 1 + const it = 2 + const at = 3 + const ct = 4 + const lt = 5 + let ut = [] + const pt = new Map() + const dt = new Set() + for (const [k, P] of E) { + const E = N(v, k.name, k.options) + const L = { + chunkGroup: k, + runtime: E, + minAvailableModules: undefined, + minAvailableModulesOwned: false, + availableModulesToBeMerged: [], + skippedItems: undefined, + resultingAvailableModules: undefined, + children: undefined, + availableSources: undefined, + availableChildren: undefined, + preOrderIndex: 0, + postOrderIndex: 0, + chunkLoading: + k.options.chunkLoading !== undefined + ? k.options.chunkLoading !== false + : v.outputOptions.chunkLoading !== false, + asyncChunks: + k.options.asyncChunks !== undefined + ? k.options.asyncChunks + : v.outputOptions.asyncChunks !== false, + } + k.index = Xe++ + if (k.getNumberOfParents() > 0) { + const k = new Set() + for (const v of P) { + k.add(v) + } + L.skippedItems = k + dt.add(L) + } else { + L.minAvailableModules = ae + const v = k.getEntrypointChunk() + for (const E of P) { + ut.push({ + action: ot, + block: E, + module: E, + chunk: v, + chunkGroup: k, + chunkGroupInfo: L, + }) + } + } + R.set(k, L) + if (k.name) { + nt.set(k.name, L) + } + } + for (const k of dt) { + const { chunkGroup: v } = k + k.availableSources = new Set() + for (const E of v.parentsIterable) { + const v = R.get(E) + k.availableSources.add(v) + if (v.availableChildren === undefined) { + v.availableChildren = new Set() + } + v.availableChildren.add(k) + } + } + ut.reverse() + const ft = new Set() + const ht = new Set() + let mt = [] + const gt = [] + const yt = [] + const bt = [] + let xt + let kt + let vt + let wt + let At + const iteratorBlock = (k) => { + let E = tt.get(k) + let N + let q + const le = k.groupOptions && k.groupOptions.entryOptions + if (E === undefined) { + const me = (k.groupOptions && k.groupOptions.name) || k.chunkName + if (le) { + E = st.get(me) + if (!E) { + q = v.addAsyncEntrypoint(le, xt, k.loc, k.request) + q.index = Xe++ + E = { + chunkGroup: q, + runtime: q.options.runtime || q.name, + minAvailableModules: ae, + minAvailableModulesOwned: false, + availableModulesToBeMerged: [], + skippedItems: undefined, + resultingAvailableModules: undefined, + children: undefined, + availableSources: undefined, + availableChildren: undefined, + preOrderIndex: 0, + postOrderIndex: 0, + chunkLoading: + le.chunkLoading !== undefined + ? le.chunkLoading !== false + : At.chunkLoading, + asyncChunks: + le.asyncChunks !== undefined + ? le.asyncChunks + : At.asyncChunks, + } + R.set(q, E) + ye.connectBlockAndChunkGroup(k, q) + if (me) { + st.set(me, E) + } + } else { + q = E.chunkGroup + q.addOrigin(xt, k.loc, k.request) + ye.connectBlockAndChunkGroup(k, q) + } + mt.push({ + action: ct, + block: k, + module: xt, + chunk: q.chunks[0], + chunkGroup: q, + chunkGroupInfo: E, + }) + } else if (!At.asyncChunks || !At.chunkLoading) { + ut.push({ + action: at, + block: k, + module: xt, + chunk: kt, + chunkGroup: vt, + chunkGroupInfo: At, + }) + } else { + E = me && nt.get(me) + if (!E) { + N = v.addChunkInGroup( + k.groupOptions || k.chunkName, + xt, + k.loc, + k.request + ) + N.index = Xe++ + E = { + chunkGroup: N, + runtime: At.runtime, + minAvailableModules: undefined, + minAvailableModulesOwned: undefined, + availableModulesToBeMerged: [], + skippedItems: undefined, + resultingAvailableModules: undefined, + children: undefined, + availableSources: undefined, + availableChildren: undefined, + preOrderIndex: 0, + postOrderIndex: 0, + chunkLoading: At.chunkLoading, + asyncChunks: At.asyncChunks, + } + pe.add(N) + R.set(N, E) + if (me) { + nt.set(me, E) + } + } else { + N = E.chunkGroup + if (N.isInitial()) { + v.errors.push(new P(me, xt, k.loc)) + N = vt + } else { + N.addOptions(k.groupOptions) + } + N.addOrigin(xt, k.loc, k.request) + } + L.set(k, []) + } + tt.set(k, E) + } else if (le) { + q = E.chunkGroup + } else { + N = E.chunkGroup + } + if (N !== undefined) { + L.get(k).push({ originChunkGroupInfo: At, chunkGroup: N }) + let v = pt.get(At) + if (v === undefined) { + v = new Set() + pt.set(At, v) + } + v.add(E) + mt.push({ + action: at, + block: k, + module: xt, + chunk: N.chunks[0], + chunkGroup: N, + chunkGroupInfo: E, + }) + } else if (q !== undefined) { + At.chunkGroup.addAsyncEntrypoint(q) + } + } + const processBlock = (k) => { + Ne++ + const v = getBlockModules(k, At.runtime) + if (v !== undefined) { + const { minAvailableModules: k } = At + for (let E = 0; E < v.length; E += 2) { + const P = v[E] + if (ye.isModuleInChunk(P, kt)) { + continue + } + const R = v[E + 1] + if (R !== true) { + gt.push([P, R]) + if (R === false) continue + } + if (R === true && (k.has(P) || k.plus.has(P))) { + yt.push(P) + continue + } + bt.push({ + action: R === true ? ot : at, + block: P, + module: P, + chunk: kt, + chunkGroup: vt, + chunkGroupInfo: At, + }) + } + if (gt.length > 0) { + let { skippedModuleConnections: k } = At + if (k === undefined) { + At.skippedModuleConnections = k = new Set() + } + for (let v = gt.length - 1; v >= 0; v--) { + k.add(gt[v]) + } + gt.length = 0 + } + if (yt.length > 0) { + let { skippedItems: k } = At + if (k === undefined) { + At.skippedItems = k = new Set() + } + for (let v = yt.length - 1; v >= 0; v--) { + k.add(yt[v]) + } + yt.length = 0 + } + if (bt.length > 0) { + for (let k = bt.length - 1; k >= 0; k--) { + ut.push(bt[k]) + } + bt.length = 0 + } + } + for (const v of k.blocks) { + iteratorBlock(v) + } + if (k.blocks.length > 0 && xt !== k) { + le.add(k) + } + } + const processEntryBlock = (k) => { + Ne++ + const v = getBlockModules(k, At.runtime) + if (v !== undefined) { + for (let k = 0; k < v.length; k += 2) { + const E = v[k] + const P = v[k + 1] + bt.push({ + action: P === true ? rt : at, + block: E, + module: E, + chunk: kt, + chunkGroup: vt, + chunkGroupInfo: At, + }) + } + if (bt.length > 0) { + for (let k = bt.length - 1; k >= 0; k--) { + ut.push(bt[k]) + } + bt.length = 0 + } + } + for (const v of k.blocks) { + iteratorBlock(v) + } + if (k.blocks.length > 0 && xt !== k) { + le.add(k) + } + } + const processQueue = () => { + while (ut.length) { + je++ + const k = ut.pop() + xt = k.module + wt = k.block + kt = k.chunk + vt = k.chunkGroup + At = k.chunkGroupInfo + switch (k.action) { + case rt: + ye.connectChunkAndEntryModule(kt, xt, vt) + case ot: { + if (ye.isModuleInChunk(xt, kt)) { + break + } + ye.connectChunkAndModule(kt, xt) + } + case it: { + const v = vt.getModulePreOrderIndex(xt) + if (v === undefined) { + vt.setModulePreOrderIndex(xt, At.preOrderIndex++) + } + if (me.setPreOrderIndexIfUnset(xt, Ze)) { + Ze++ + } + k.action = lt + ut.push(k) + } + case at: { + processBlock(wt) + break + } + case ct: { + processEntryBlock(wt) + break + } + case lt: { + const k = vt.getModulePostOrderIndex(xt) + if (k === undefined) { + vt.setModulePostOrderIndex(xt, At.postOrderIndex++) + } + if (me.setPostOrderIndexIfUnset(xt, et)) { + et++ + } + break + } + } + } + } + const calculateResultingAvailableModules = (k) => { + if (k.resultingAvailableModules) return k.resultingAvailableModules + const v = k.minAvailableModules + let E + if (v.size > v.plus.size) { + E = new Set() + for (const k of v.plus) v.add(k) + v.plus = ae + E.plus = v + k.minAvailableModulesOwned = false + } else { + E = new Set(v) + E.plus = v.plus + } + for (const v of k.chunkGroup.chunks) { + for (const k of ye.getChunkModulesIterable(v)) { + E.add(k) + } + } + return (k.resultingAvailableModules = E) + } + const processConnectQueue = () => { + for (const [k, v] of pt) { + if (k.children === undefined) { + k.children = v + } else { + for (const E of v) { + k.children.add(E) + } + } + const E = calculateResultingAvailableModules(k) + const P = k.runtime + for (const k of v) { + k.availableModulesToBeMerged.push(E) + ht.add(k) + const v = k.runtime + const R = q(v, P) + if (v !== R) { + k.runtime = R + ft.add(k) + } + } + Be += v.size + } + pt.clear() + } + const processChunkGroupsForMerging = () => { + qe += ht.size + for (const k of ht) { + const v = k.availableModulesToBeMerged + let E = k.minAvailableModules + Ue += v.length + if (v.length > 1) { + v.sort(bySetSize) + } + let P = false + e: for (const R of v) { + if (E === undefined) { + E = R + k.minAvailableModules = E + k.minAvailableModulesOwned = false + P = true + } else { + if (k.minAvailableModulesOwned) { + if (E.plus === R.plus) { + for (const k of E) { + if (!R.has(k)) { + E.delete(k) + P = true + } + } + } else { + for (const k of E) { + if (!R.has(k) && !R.plus.has(k)) { + E.delete(k) + P = true + } + } + for (const k of E.plus) { + if (!R.has(k) && !R.plus.has(k)) { + const v = E.plus[Symbol.iterator]() + let L + while (!(L = v.next()).done) { + const v = L.value + if (v === k) break + E.add(v) + } + while (!(L = v.next()).done) { + const k = L.value + if (R.has(k) || R.plus.has(k)) { + E.add(k) + } + } + E.plus = ae + P = true + continue e + } + } + } + } else if (E.plus === R.plus) { + if (R.size < E.size) { + Ge++ + He += R.size + Qe += E.size + const v = new Set() + v.plus = R.plus + for (const k of R) { + if (E.has(k)) { + v.add(k) + } + } + Ve += v.size + E = v + k.minAvailableModulesOwned = true + k.minAvailableModules = v + P = true + continue e + } + for (const v of E) { + if (!R.has(v)) { + Ge++ + He += E.size + Qe += R.size + const L = new Set() + L.plus = R.plus + const N = E[Symbol.iterator]() + let q + while (!(q = N.next()).done) { + const k = q.value + if (k === v) break + L.add(k) + } + while (!(q = N.next()).done) { + const k = q.value + if (R.has(k)) { + L.add(k) + } + } + Ve += L.size + E = L + k.minAvailableModulesOwned = true + k.minAvailableModules = L + P = true + continue e + } + } + } else { + for (const v of E) { + if (!R.has(v) && !R.plus.has(v)) { + Ge++ + He += E.size + We += E.plus.size + Qe += R.size + Je += R.plus.size + const L = new Set() + L.plus = ae + const N = E[Symbol.iterator]() + let q + while (!(q = N.next()).done) { + const k = q.value + if (k === v) break + L.add(k) + } + while (!(q = N.next()).done) { + const k = q.value + if (R.has(k) || R.plus.has(k)) { + L.add(k) + } + } + for (const k of E.plus) { + if (R.has(k) || R.plus.has(k)) { + L.add(k) + } + } + Ve += L.size + E = L + k.minAvailableModulesOwned = true + k.minAvailableModules = L + P = true + continue e + } + } + for (const v of E.plus) { + if (!R.has(v) && !R.plus.has(v)) { + Ge++ + He += E.size + We += E.plus.size + Qe += R.size + Je += R.plus.size + const L = new Set(E) + L.plus = ae + const N = E.plus[Symbol.iterator]() + let q + while (!(q = N.next()).done) { + const k = q.value + if (k === v) break + L.add(k) + } + while (!(q = N.next()).done) { + const k = q.value + if (R.has(k) || R.plus.has(k)) { + L.add(k) + } + } + Ve += L.size + E = L + k.minAvailableModulesOwned = true + k.minAvailableModules = L + P = true + continue e + } + } + } + } + } + v.length = 0 + if (P) { + k.resultingAvailableModules = undefined + ft.add(k) + } + } + ht.clear() + } + const processChunkGroupsForCombining = () => { + for (const k of dt) { + for (const v of k.availableSources) { + if (!v.minAvailableModules) { + dt.delete(k) + break + } + } + } + for (const k of dt) { + const v = new Set() + v.plus = ae + const mergeSet = (k) => { + if (k.size > v.plus.size) { + for (const k of v.plus) v.add(k) + v.plus = k + } else { + for (const E of k) v.add(E) + } + } + for (const v of k.availableSources) { + const k = calculateResultingAvailableModules(v) + mergeSet(k) + mergeSet(k.plus) + } + k.minAvailableModules = v + k.minAvailableModulesOwned = false + k.resultingAvailableModules = undefined + ft.add(k) + } + dt.clear() + } + const processOutdatedChunkGroupInfo = () => { + Ke += ft.size + for (const k of ft) { + if (k.skippedItems !== undefined) { + const { minAvailableModules: v } = k + for (const E of k.skippedItems) { + if (!v.has(E) && !v.plus.has(E)) { + ut.push({ + action: ot, + block: E, + module: E, + chunk: k.chunkGroup.chunks[0], + chunkGroup: k.chunkGroup, + chunkGroupInfo: k, + }) + k.skippedItems.delete(E) + } + } + } + if (k.skippedModuleConnections !== undefined) { + const { minAvailableModules: v } = k + for (const E of k.skippedModuleConnections) { + const [P, R] = E + if (R === false) continue + if (R === true) { + k.skippedModuleConnections.delete(E) + } + if (R === true && (v.has(P) || v.plus.has(P))) { + k.skippedItems.add(P) + continue + } + ut.push({ + action: R === true ? ot : at, + block: P, + module: P, + chunk: k.chunkGroup.chunks[0], + chunkGroup: k.chunkGroup, + chunkGroupInfo: k, + }) + } + } + if (k.children !== undefined) { + Ye += k.children.size + for (const v of k.children) { + let E = pt.get(k) + if (E === undefined) { + E = new Set() + pt.set(k, E) + } + E.add(v) + } + } + if (k.availableChildren !== undefined) { + for (const v of k.availableChildren) { + dt.add(v) + } + } + } + ft.clear() + } + while (ut.length || pt.size) { + k.time('visitModules: visiting') + processQueue() + k.timeAggregateEnd('visitModules: prepare') + k.timeEnd('visitModules: visiting') + if (dt.size > 0) { + k.time('visitModules: combine available modules') + processChunkGroupsForCombining() + k.timeEnd('visitModules: combine available modules') + } + if (pt.size > 0) { + k.time('visitModules: calculating available modules') + processConnectQueue() + k.timeEnd('visitModules: calculating available modules') + if (ht.size > 0) { + k.time('visitModules: merging available modules') + processChunkGroupsForMerging() + k.timeEnd('visitModules: merging available modules') + } + } + if (ft.size > 0) { + k.time('visitModules: check modules for revisit') + processOutdatedChunkGroupInfo() + k.timeEnd('visitModules: check modules for revisit') + } + if (ut.length === 0) { + const k = ut + ut = mt.reverse() + mt = k + } + } + k.log(`${je} queue items processed (${Ne} blocks)`) + k.log(`${Be} chunk groups connected`) + k.log( + `${qe} chunk groups processed for merging (${Ue} module sets, ${Ge} forked, ${He} + ${We} modules forked, ${Qe} + ${Je} modules merged into fork, ${Ve} resulting modules)` + ) + k.log( + `${Ke} chunk group info updated (${Ye} already connected chunk groups reconnected)` + ) + } + const connectChunkGroups = (k, v, E, P) => { + const { chunkGraph: L } = k + const areModulesAvailable = (k, v) => { + for (const E of k.chunks) { + for (const k of L.getChunkModulesIterable(E)) { + if (!v.has(k) && !v.plus.has(k)) return false + } + } + return true + } + for (const [k, P] of E) { + if ( + !v.has(k) && + P.every(({ chunkGroup: k, originChunkGroupInfo: v }) => + areModulesAvailable(k, v.resultingAvailableModules) + ) + ) { + continue + } + for (let v = 0; v < P.length; v++) { + const { chunkGroup: E, originChunkGroupInfo: N } = P[v] + L.connectBlockAndChunkGroup(k, E) + R(N.chunkGroup, E) + } + } + } + const cleanupUnconnectedGroups = (k, v) => { + const { chunkGraph: E } = k + for (const P of v) { + if (P.getNumberOfParents() === 0) { + for (const v of P.chunks) { + k.chunks.delete(v) + E.disconnectChunk(v) + } + E.disconnectChunkGroup(P) + P.remove() + } + } + } + const buildChunkGraph = (k, v) => { + const E = k.getLogger('webpack.buildChunkGraph') + const P = new Map() + const R = new Set() + const L = new Map() + const N = new Set() + E.time('visitModules') + visitModules(E, k, v, L, P, N, R) + E.timeEnd('visitModules') + E.time('connectChunkGroups') + connectChunkGroups(k, N, P, L) + E.timeEnd('connectChunkGroups') + for (const [k, v] of L) { + for (const E of k.chunks) E.runtime = q(E.runtime, v.runtime) + } + E.time('cleanup') + cleanupUnconnectedGroups(k, R) + E.timeEnd('cleanup') + } + k.exports = buildChunkGraph + }, + 26876: function (k) { + 'use strict' + class AddBuildDependenciesPlugin { + constructor(k) { + this.buildDependencies = new Set(k) + } + apply(k) { + k.hooks.compilation.tap('AddBuildDependenciesPlugin', (k) => { + k.buildDependencies.addAll(this.buildDependencies) + }) + } + } + k.exports = AddBuildDependenciesPlugin + }, + 79438: function (k) { + 'use strict' + class AddManagedPathsPlugin { + constructor(k, v) { + this.managedPaths = new Set(k) + this.immutablePaths = new Set(v) + } + apply(k) { + for (const v of this.managedPaths) { + k.managedPaths.add(v) + } + for (const v of this.immutablePaths) { + k.immutablePaths.add(v) + } + } + } + k.exports = AddManagedPathsPlugin + }, + 87251: function (k, v, E) { + 'use strict' + const P = E(89802) + const R = E(6535) + const L = Symbol() + class IdleFileCachePlugin { + constructor(k, v, E, P) { + this.strategy = k + this.idleTimeout = v + this.idleTimeoutForInitialStore = E + this.idleTimeoutAfterLargeChanges = P + } + apply(k) { + let v = this.strategy + const E = this.idleTimeout + const N = Math.min(E, this.idleTimeoutForInitialStore) + const q = this.idleTimeoutAfterLargeChanges + const ae = Promise.resolve() + let le = 0 + let pe = 0 + let me = 0 + const ye = new Map() + k.cache.hooks.store.tap( + { name: 'IdleFileCachePlugin', stage: P.STAGE_DISK }, + (k, E, P) => { + ye.set(k, () => v.store(k, E, P)) + } + ) + k.cache.hooks.get.tapPromise( + { name: 'IdleFileCachePlugin', stage: P.STAGE_DISK }, + (k, E, P) => { + const restore = () => + v.restore(k, E).then((R) => { + if (R === undefined) { + P.push((P, R) => { + if (P !== undefined) { + ye.set(k, () => v.store(k, E, P)) + } + R() + }) + } else { + return R + } + }) + const R = ye.get(k) + if (R !== undefined) { + ye.delete(k) + return R().then(restore) + } + return restore() + } + ) + k.cache.hooks.storeBuildDependencies.tap( + { name: 'IdleFileCachePlugin', stage: P.STAGE_DISK }, + (k) => { + ye.set(L, () => v.storeBuildDependencies(k)) + } + ) + k.cache.hooks.shutdown.tapPromise( + { name: 'IdleFileCachePlugin', stage: P.STAGE_DISK }, + () => { + if (Te) { + clearTimeout(Te) + Te = undefined + } + Ie = false + const E = R.getReporter(k) + const P = Array.from(ye.values()) + if (E) E(0, 'process pending cache items') + const L = P.map((k) => k()) + ye.clear() + L.push(_e) + const N = Promise.all(L) + _e = N.then(() => v.afterAllStored()) + if (E) { + _e = _e.then(() => { + E(1, `stored`) + }) + } + return _e.then(() => { + if (v.clear) v.clear() + }) + } + ) + let _e = ae + let Ie = false + let Me = true + const processIdleTasks = () => { + if (Ie) { + const E = Date.now() + if (ye.size > 0) { + const k = [_e] + const v = E + 100 + let P = 100 + for (const [E, R] of ye) { + ye.delete(E) + k.push(R()) + if (P-- <= 0 || Date.now() > v) break + } + _e = Promise.all(k) + _e.then(() => { + pe += Date.now() - E + Te = setTimeout(processIdleTasks, 0) + Te.unref() + }) + return + } + _e = _e + .then(async () => { + await v.afterAllStored() + pe += Date.now() - E + me = Math.max(me, pe) * 0.9 + pe * 0.1 + pe = 0 + le = 0 + }) + .catch((v) => { + const E = k.getInfrastructureLogger('IdleFileCachePlugin') + E.warn(`Background tasks during idle failed: ${v.message}`) + E.debug(v.stack) + }) + Me = false + } + } + let Te = undefined + k.cache.hooks.beginIdle.tap( + { name: 'IdleFileCachePlugin', stage: P.STAGE_DISK }, + () => { + const v = le > me * 2 + if (Me && N < E) { + k.getInfrastructureLogger('IdleFileCachePlugin').log( + `Initial cache was generated and cache will be persisted in ${ + N / 1e3 + }s.` + ) + } else if (v && q < E) { + k.getInfrastructureLogger('IdleFileCachePlugin').log( + `Spend ${Math.round(le) / 1e3}s in build and ${ + Math.round(me) / 1e3 + }s in average in cache store. This is considered as large change and cache will be persisted in ${ + q / 1e3 + }s.` + ) + } + Te = setTimeout(() => { + Te = undefined + Ie = true + ae.then(processIdleTasks) + }, Math.min(Me ? N : Infinity, v ? q : Infinity, E)) + Te.unref() + } + ) + k.cache.hooks.endIdle.tap( + { name: 'IdleFileCachePlugin', stage: P.STAGE_DISK }, + () => { + if (Te) { + clearTimeout(Te) + Te = undefined + } + Ie = false + } + ) + k.hooks.done.tap('IdleFileCachePlugin', (k) => { + le *= 0.9 + le += k.endTime - k.startTime + }) + } + } + k.exports = IdleFileCachePlugin + }, + 66494: function (k, v, E) { + 'use strict' + const P = E(89802) + class MemoryCachePlugin { + apply(k) { + const v = new Map() + k.cache.hooks.store.tap( + { name: 'MemoryCachePlugin', stage: P.STAGE_MEMORY }, + (k, E, P) => { + v.set(k, { etag: E, data: P }) + } + ) + k.cache.hooks.get.tap( + { name: 'MemoryCachePlugin', stage: P.STAGE_MEMORY }, + (k, E, P) => { + const R = v.get(k) + if (R === null) { + return null + } else if (R !== undefined) { + return R.etag === E ? R.data : null + } + P.push((P, R) => { + if (P === undefined) { + v.set(k, null) + } else { + v.set(k, { etag: E, data: P }) + } + return R() + }) + } + ) + k.cache.hooks.shutdown.tap( + { name: 'MemoryCachePlugin', stage: P.STAGE_MEMORY }, + () => { + v.clear() + } + ) + } + } + k.exports = MemoryCachePlugin + }, + 17882: function (k, v, E) { + 'use strict' + const P = E(89802) + class MemoryWithGcCachePlugin { + constructor({ maxGenerations: k }) { + this._maxGenerations = k + } + apply(k) { + const v = this._maxGenerations + const E = new Map() + const R = new Map() + let L = 0 + let N = 0 + const q = k.getInfrastructureLogger('MemoryWithGcCachePlugin') + k.hooks.afterDone.tap('MemoryWithGcCachePlugin', () => { + L++ + let k = 0 + let P + for (const [v, N] of R) { + if (N.until > L) break + R.delete(v) + if (E.get(v) === undefined) { + E.delete(v) + k++ + P = v + } + } + if (k > 0 || R.size > 0) { + q.log( + `${E.size - R.size} active entries, ${ + R.size + } recently unused cached entries${ + k > 0 + ? `, ${k} old unused cache entries removed e. g. ${P}` + : '' + }` + ) + } + let ae = (E.size / v) | 0 + let le = N >= E.size ? 0 : N + N = le + ae + for (const [k, P] of E) { + if (le !== 0) { + le-- + continue + } + if (P !== undefined) { + E.set(k, undefined) + R.delete(k) + R.set(k, { entry: P, until: L + v }) + if (ae-- === 0) break + } + } + }) + k.cache.hooks.store.tap( + { name: 'MemoryWithGcCachePlugin', stage: P.STAGE_MEMORY }, + (k, v, P) => { + E.set(k, { etag: v, data: P }) + } + ) + k.cache.hooks.get.tap( + { name: 'MemoryWithGcCachePlugin', stage: P.STAGE_MEMORY }, + (k, v, P) => { + const L = E.get(k) + if (L === null) { + return null + } else if (L !== undefined) { + return L.etag === v ? L.data : null + } + const N = R.get(k) + if (N !== undefined) { + const P = N.entry + if (P === null) { + R.delete(k) + E.set(k, P) + return null + } else { + if (P.etag !== v) return null + R.delete(k) + E.set(k, P) + return P.data + } + } + P.push((P, R) => { + if (P === undefined) { + E.set(k, null) + } else { + E.set(k, { etag: v, data: P }) + } + return R() + }) + } + ) + k.cache.hooks.shutdown.tap( + { name: 'MemoryWithGcCachePlugin', stage: P.STAGE_MEMORY }, + () => { + E.clear() + R.clear() + } + ) + } + } + k.exports = MemoryWithGcCachePlugin + }, + 30124: function (k, v, E) { + 'use strict' + const P = E(18144) + const R = E(6535) + const { formatSize: L } = E(3386) + const N = E(5505) + const q = E(12359) + const ae = E(58528) + const le = E(20631) + const { createFileSerializer: pe, NOT_SERIALIZABLE: me } = E(52456) + class PackContainer { + constructor(k, v, E, P, R, L) { + this.data = k + this.version = v + this.buildSnapshot = E + this.buildDependencies = P + this.resolveResults = R + this.resolveBuildDependenciesSnapshot = L + } + serialize({ write: k, writeLazy: v }) { + k(this.version) + k(this.buildSnapshot) + k(this.buildDependencies) + k(this.resolveResults) + k(this.resolveBuildDependenciesSnapshot) + v(this.data) + } + deserialize({ read: k }) { + this.version = k() + this.buildSnapshot = k() + this.buildDependencies = k() + this.resolveResults = k() + this.resolveBuildDependenciesSnapshot = k() + this.data = k() + } + } + ae( + PackContainer, + 'webpack/lib/cache/PackFileCacheStrategy', + 'PackContainer' + ) + const ye = 1024 * 1024 + const _e = 10 + const Ie = 100 + const Me = 5e4 + const Te = 1 * 60 * 1e3 + class PackItemInfo { + constructor(k, v, E) { + this.identifier = k + this.etag = v + this.location = -1 + this.lastAccess = Date.now() + this.freshValue = E + } + } + class Pack { + constructor(k, v) { + this.itemInfo = new Map() + this.requests = [] + this.requestsTimeout = undefined + this.freshContent = new Map() + this.content = [] + this.invalid = false + this.logger = k + this.maxAge = v + } + _addRequest(k) { + this.requests.push(k) + if (this.requestsTimeout === undefined) { + this.requestsTimeout = setTimeout(() => { + this.requests.push(undefined) + this.requestsTimeout = undefined + }, Te) + if (this.requestsTimeout.unref) this.requestsTimeout.unref() + } + } + stopCapturingRequests() { + if (this.requestsTimeout !== undefined) { + clearTimeout(this.requestsTimeout) + this.requestsTimeout = undefined + } + } + get(k, v) { + const E = this.itemInfo.get(k) + this._addRequest(k) + if (E === undefined) { + return undefined + } + if (E.etag !== v) return null + E.lastAccess = Date.now() + const P = E.location + if (P === -1) { + return E.freshValue + } else { + if (!this.content[P]) { + return undefined + } + return this.content[P].get(k) + } + } + set(k, v, E) { + if (!this.invalid) { + this.invalid = true + this.logger.log(`Pack got invalid because of write to: ${k}`) + } + const P = this.itemInfo.get(k) + if (P === undefined) { + const P = new PackItemInfo(k, v, E) + this.itemInfo.set(k, P) + this._addRequest(k) + this.freshContent.set(k, P) + } else { + const R = P.location + if (R >= 0) { + this._addRequest(k) + this.freshContent.set(k, P) + const v = this.content[R] + v.delete(k) + if (v.items.size === 0) { + this.content[R] = undefined + this.logger.debug('Pack %d got empty and is removed', R) + } + } + P.freshValue = E + P.lastAccess = Date.now() + P.etag = v + P.location = -1 + } + } + getContentStats() { + let k = 0 + let v = 0 + for (const E of this.content) { + if (E !== undefined) { + k++ + const P = E.getSize() + if (P > 0) { + v += P + } + } + } + return { count: k, size: v } + } + _findLocation() { + let k + for ( + k = 0; + k < this.content.length && this.content[k] !== undefined; + k++ + ); + return k + } + _gcAndUpdateLocation(k, v, E) { + let P = 0 + let R + const L = Date.now() + for (const N of k) { + const q = this.itemInfo.get(N) + if (L - q.lastAccess > this.maxAge) { + this.itemInfo.delete(N) + k.delete(N) + v.delete(N) + P++ + R = N + } else { + q.location = E + } + } + if (P > 0) { + this.logger.log( + 'Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s', + P, + E, + k.size, + R + ) + } + } + _persistFreshContent() { + const k = this.freshContent.size + if (k > 0) { + const v = Math.ceil(k / Me) + const E = Math.ceil(k / v) + const P = [] + let R = 0 + let L = false + const createNextPack = () => { + const k = this._findLocation() + this.content[k] = null + const v = { items: new Set(), map: new Map(), loc: k } + P.push(v) + return v + } + let N = createNextPack() + if (this.requestsTimeout !== undefined) + clearTimeout(this.requestsTimeout) + for (const k of this.requests) { + if (k === undefined) { + if (L) { + L = false + } else if (N.items.size >= Ie) { + R = 0 + N = createNextPack() + } + continue + } + const v = this.freshContent.get(k) + if (v === undefined) continue + N.items.add(k) + N.map.set(k, v.freshValue) + v.location = N.loc + v.freshValue = undefined + this.freshContent.delete(k) + if (++R > E) { + R = 0 + N = createNextPack() + L = true + } + } + this.requests.length = 0 + for (const k of P) { + this.content[k.loc] = new PackContent( + k.items, + new Set(k.items), + new PackContentItems(k.map) + ) + } + this.logger.log( + `${k} fresh items in cache put into pack ${ + P.length > 1 + ? P.map((k) => `${k.loc} (${k.items.size} items)`).join(', ') + : P[0].loc + }` + ) + } + } + _optimizeSmallContent() { + const k = [] + let v = 0 + const E = [] + let P = 0 + for (let R = 0; R < this.content.length; R++) { + const L = this.content[R] + if (L === undefined) continue + if (L.outdated) continue + const N = L.getSize() + if (N < 0 || N > ye) continue + if (L.used.size > 0) { + k.push(R) + v += N + } else { + E.push(R) + P += N + } + } + let R + if (k.length >= _e || v > ye) { + R = k + } else if (E.length >= _e || P > ye) { + R = E + } else return + const L = [] + for (const k of R) { + L.push(this.content[k]) + this.content[k] = undefined + } + const N = new Set() + const q = new Set() + const ae = [] + for (const k of L) { + for (const v of k.items) { + N.add(v) + } + for (const v of k.used) { + q.add(v) + } + ae.push(async (v) => { + await k.unpack( + 'it should be merged with other small pack contents' + ) + for (const [E, P] of k.content) { + v.set(E, P) + } + }) + } + const pe = this._findLocation() + this._gcAndUpdateLocation(N, q, pe) + if (N.size > 0) { + this.content[pe] = new PackContent( + N, + q, + le(async () => { + const k = new Map() + await Promise.all(ae.map((v) => v(k))) + return new PackContentItems(k) + }) + ) + this.logger.log( + 'Merged %d small files with %d cache items into pack %d', + L.length, + N.size, + pe + ) + } + } + _optimizeUnusedContent() { + for (let k = 0; k < this.content.length; k++) { + const v = this.content[k] + if (v === undefined) continue + const E = v.getSize() + if (E < ye) continue + const P = v.used.size + const R = v.items.size + if (P > 0 && P < R) { + this.content[k] = undefined + const E = new Set(v.used) + const P = this._findLocation() + this._gcAndUpdateLocation(E, E, P) + if (E.size > 0) { + this.content[P] = new PackContent(E, new Set(E), async () => { + await v.unpack( + 'it should be splitted into used and unused items' + ) + const k = new Map() + for (const P of E) { + k.set(P, v.content.get(P)) + } + return new PackContentItems(k) + }) + } + const R = new Set(v.items) + const L = new Set() + for (const k of E) { + R.delete(k) + } + const N = this._findLocation() + this._gcAndUpdateLocation(R, L, N) + if (R.size > 0) { + this.content[N] = new PackContent(R, L, async () => { + await v.unpack( + 'it should be splitted into used and unused items' + ) + const k = new Map() + for (const E of R) { + k.set(E, v.content.get(E)) + } + return new PackContentItems(k) + }) + } + this.logger.log( + 'Split pack %d into pack %d with %d used items and pack %d with %d unused items', + k, + P, + E.size, + N, + R.size + ) + return + } + } + } + _gcOldestContent() { + let k = undefined + for (const v of this.itemInfo.values()) { + if (k === undefined || v.lastAccess < k.lastAccess) { + k = v + } + } + if (Date.now() - k.lastAccess > this.maxAge) { + const v = k.location + if (v < 0) return + const E = this.content[v] + const P = new Set(E.items) + const R = new Set(E.used) + this._gcAndUpdateLocation(P, R, v) + this.content[v] = + P.size > 0 + ? new PackContent(P, R, async () => { + await E.unpack( + 'it contains old items that should be garbage collected' + ) + const k = new Map() + for (const v of P) { + k.set(v, E.content.get(v)) + } + return new PackContentItems(k) + }) + : undefined + } + } + serialize({ write: k, writeSeparate: v }) { + this._persistFreshContent() + this._optimizeSmallContent() + this._optimizeUnusedContent() + this._gcOldestContent() + for (const v of this.itemInfo.keys()) { + k(v) + } + k(null) + for (const v of this.itemInfo.values()) { + k(v.etag) + } + for (const v of this.itemInfo.values()) { + k(v.lastAccess) + } + for (let E = 0; E < this.content.length; E++) { + const P = this.content[E] + if (P !== undefined) { + k(P.items) + P.writeLazy((k) => v(k, { name: `${E}` })) + } else { + k(undefined) + } + } + k(null) + } + deserialize({ read: k, logger: v }) { + this.logger = v + { + const v = [] + let E = k() + while (E !== null) { + v.push(E) + E = k() + } + this.itemInfo.clear() + const P = v.map((k) => { + const v = new PackItemInfo(k, undefined, undefined) + this.itemInfo.set(k, v) + return v + }) + for (const v of P) { + v.etag = k() + } + for (const v of P) { + v.lastAccess = k() + } + } + this.content.length = 0 + let E = k() + while (E !== null) { + if (E === undefined) { + this.content.push(E) + } else { + const P = this.content.length + const R = k() + this.content.push( + new PackContent(E, new Set(), R, v, `${this.content.length}`) + ) + for (const k of E) { + this.itemInfo.get(k).location = P + } + } + E = k() + } + } + } + ae(Pack, 'webpack/lib/cache/PackFileCacheStrategy', 'Pack') + class PackContentItems { + constructor(k) { + this.map = k + } + serialize({ + write: k, + snapshot: v, + rollback: E, + logger: P, + profile: R, + }) { + if (R) { + k(false) + for (const [R, L] of this.map) { + const N = v() + try { + k(R) + const v = process.hrtime() + k(L) + const E = process.hrtime(v) + const N = E[0] * 1e3 + E[1] / 1e6 + if (N > 1) { + if (N > 500) P.error(`Serialization of '${R}': ${N} ms`) + else if (N > 50) P.warn(`Serialization of '${R}': ${N} ms`) + else if (N > 10) P.info(`Serialization of '${R}': ${N} ms`) + else if (N > 5) P.log(`Serialization of '${R}': ${N} ms`) + else P.debug(`Serialization of '${R}': ${N} ms`) + } + } catch (k) { + E(N) + if (k === me) continue + const v = 'Skipped not serializable cache item' + if (k.message.includes('ModuleBuildError')) { + P.log(`${v} (in build error): ${k.message}`) + P.debug(`${v} '${R}' (in build error): ${k.stack}`) + } else { + P.warn(`${v}: ${k.message}`) + P.debug(`${v} '${R}': ${k.stack}`) + } + } + } + k(null) + return + } + const L = v() + try { + k(true) + k(this.map) + } catch (R) { + E(L) + k(false) + for (const [R, L] of this.map) { + const N = v() + try { + k(R) + k(L) + } catch (k) { + E(N) + if (k === me) continue + P.warn( + `Skipped not serializable cache item '${R}': ${k.message}` + ) + P.debug(k.stack) + } + } + k(null) + } + } + deserialize({ read: k, logger: v, profile: E }) { + if (k()) { + this.map = k() + } else if (E) { + const E = new Map() + let P = k() + while (P !== null) { + const R = process.hrtime() + const L = k() + const N = process.hrtime(R) + const q = N[0] * 1e3 + N[1] / 1e6 + if (q > 1) { + if (q > 100) v.error(`Deserialization of '${P}': ${q} ms`) + else if (q > 20) v.warn(`Deserialization of '${P}': ${q} ms`) + else if (q > 5) v.info(`Deserialization of '${P}': ${q} ms`) + else if (q > 2) v.log(`Deserialization of '${P}': ${q} ms`) + else v.debug(`Deserialization of '${P}': ${q} ms`) + } + E.set(P, L) + P = k() + } + this.map = E + } else { + const v = new Map() + let E = k() + while (E !== null) { + v.set(E, k()) + E = k() + } + this.map = v + } + } + } + ae( + PackContentItems, + 'webpack/lib/cache/PackFileCacheStrategy', + 'PackContentItems' + ) + class PackContent { + constructor(k, v, E, P, R) { + this.items = k + this.lazy = typeof E === 'function' ? E : undefined + this.content = typeof E === 'function' ? undefined : E.map + this.outdated = false + this.used = v + this.logger = P + this.lazyName = R + } + get(k) { + this.used.add(k) + if (this.content) { + return this.content.get(k) + } + const { lazyName: v } = this + let E + if (v) { + this.lazyName = undefined + E = `restore cache content ${v} (${L(this.getSize())})` + this.logger.log( + `starting to restore cache content ${v} (${L( + this.getSize() + )}) because of request to: ${k}` + ) + this.logger.time(E) + } + const P = this.lazy() + if ('then' in P) { + return P.then((v) => { + const P = v.map + if (E) { + this.logger.timeEnd(E) + } + this.content = P + this.lazy = N.unMemoizeLazy(this.lazy) + return P.get(k) + }) + } else { + const v = P.map + if (E) { + this.logger.timeEnd(E) + } + this.content = v + this.lazy = N.unMemoizeLazy(this.lazy) + return v.get(k) + } + } + unpack(k) { + if (this.content) return + if (this.lazy) { + const { lazyName: v } = this + let E + if (v) { + this.lazyName = undefined + E = `unpack cache content ${v} (${L(this.getSize())})` + this.logger.log( + `starting to unpack cache content ${v} (${L( + this.getSize() + )}) because ${k}` + ) + this.logger.time(E) + } + const P = this.lazy() + if ('then' in P) { + return P.then((k) => { + if (E) { + this.logger.timeEnd(E) + } + this.content = k.map + }) + } else { + if (E) { + this.logger.timeEnd(E) + } + this.content = P.map + } + } + } + getSize() { + if (!this.lazy) return -1 + const k = this.lazy.options + if (!k) return -1 + const v = k.size + if (typeof v !== 'number') return -1 + return v + } + delete(k) { + this.items.delete(k) + this.used.delete(k) + this.outdated = true + } + writeLazy(k) { + if (!this.outdated && this.lazy) { + k(this.lazy) + return + } + if (!this.outdated && this.content) { + const v = new Map(this.content) + this.lazy = N.unMemoizeLazy(k(() => new PackContentItems(v))) + return + } + if (this.content) { + const v = new Map() + for (const k of this.items) { + v.set(k, this.content.get(k)) + } + this.outdated = false + this.content = v + this.lazy = N.unMemoizeLazy(k(() => new PackContentItems(v))) + return + } + const { lazyName: v } = this + let E + if (v) { + this.lazyName = undefined + E = `unpack cache content ${v} (${L(this.getSize())})` + this.logger.log( + `starting to unpack cache content ${v} (${L( + this.getSize() + )}) because it's outdated and need to be serialized` + ) + this.logger.time(E) + } + const P = this.lazy() + this.outdated = false + if ('then' in P) { + this.lazy = k(() => + P.then((k) => { + if (E) { + this.logger.timeEnd(E) + } + const v = k.map + const P = new Map() + for (const k of this.items) { + P.set(k, v.get(k)) + } + this.content = P + this.lazy = N.unMemoizeLazy(this.lazy) + return new PackContentItems(P) + }) + ) + } else { + if (E) { + this.logger.timeEnd(E) + } + const v = P.map + const R = new Map() + for (const k of this.items) { + R.set(k, v.get(k)) + } + this.content = R + this.lazy = k(() => new PackContentItems(R)) + } + } + } + const allowCollectingMemory = (k) => { + const v = k.buffer.byteLength - k.byteLength + if (v > 8192 && (v > 1048576 || v > k.byteLength)) { + return Buffer.from(k) + } + return k + } + class PackFileCacheStrategy { + constructor({ + compiler: k, + fs: v, + context: E, + cacheLocation: R, + version: L, + logger: N, + snapshot: ae, + maxAge: le, + profile: me, + allowCollectingMemory: ye, + compression: _e, + readonly: Ie, + }) { + this.fileSerializer = pe(v, k.options.output.hashFunction) + this.fileSystemInfo = new P(v, { + managedPaths: ae.managedPaths, + immutablePaths: ae.immutablePaths, + logger: N.getChildLogger('webpack.FileSystemInfo'), + hashFunction: k.options.output.hashFunction, + }) + this.compiler = k + this.context = E + this.cacheLocation = R + this.version = L + this.logger = N + this.maxAge = le + this.profile = me + this.readonly = Ie + this.allowCollectingMemory = ye + this.compression = _e + this._extension = + _e === 'brotli' ? '.pack.br' : _e === 'gzip' ? '.pack.gz' : '.pack' + this.snapshot = ae + this.buildDependencies = new Set() + this.newBuildDependencies = new q() + this.resolveBuildDependenciesSnapshot = undefined + this.resolveResults = undefined + this.buildSnapshot = undefined + this.packPromise = this._openPack() + this.storePromise = Promise.resolve() + } + _getPack() { + if (this.packPromise === undefined) { + this.packPromise = this.storePromise.then(() => this._openPack()) + } + return this.packPromise + } + _openPack() { + const { logger: k, profile: v, cacheLocation: E, version: P } = this + let R + let L + let N + let q + let ae + k.time('restore cache container') + return this.fileSerializer + .deserialize(null, { + filename: `${E}/index${this._extension}`, + extension: `${this._extension}`, + logger: k, + profile: v, + retainedBuffer: this.allowCollectingMemory + ? allowCollectingMemory + : undefined, + }) + .catch((v) => { + if (v.code !== 'ENOENT') { + k.warn( + `Restoring pack failed from ${E}${this._extension}: ${v}` + ) + k.debug(v.stack) + } else { + k.debug(`No pack exists at ${E}${this._extension}: ${v}`) + } + return undefined + }) + .then((v) => { + k.timeEnd('restore cache container') + if (!v) return undefined + if (!(v instanceof PackContainer)) { + k.warn( + `Restored pack from ${E}${this._extension}, but contained content is unexpected.`, + v + ) + return undefined + } + if (v.version !== P) { + k.log( + `Restored pack from ${E}${this._extension}, but version doesn't match.` + ) + return undefined + } + k.time('check build dependencies') + return Promise.all([ + new Promise((P, L) => { + this.fileSystemInfo.checkSnapshotValid( + v.buildSnapshot, + (L, N) => { + if (L) { + k.log( + `Restored pack from ${E}${this._extension}, but checking snapshot of build dependencies errored: ${L}.` + ) + k.debug(L.stack) + return P(false) + } + if (!N) { + k.log( + `Restored pack from ${E}${this._extension}, but build dependencies have changed.` + ) + return P(false) + } + R = v.buildSnapshot + return P(true) + } + ) + }), + new Promise((P, R) => { + this.fileSystemInfo.checkSnapshotValid( + v.resolveBuildDependenciesSnapshot, + (R, le) => { + if (R) { + k.log( + `Restored pack from ${E}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${R}.` + ) + k.debug(R.stack) + return P(false) + } + if (le) { + q = v.resolveBuildDependenciesSnapshot + L = v.buildDependencies + ae = v.resolveResults + return P(true) + } + k.log( + 'resolving of build dependencies is invalid, will re-resolve build dependencies' + ) + this.fileSystemInfo.checkResolveResultsValid( + v.resolveResults, + (R, L) => { + if (R) { + k.log( + `Restored pack from ${E}${this._extension}, but resolving of build dependencies errored: ${R}.` + ) + k.debug(R.stack) + return P(false) + } + if (L) { + N = v.buildDependencies + ae = v.resolveResults + return P(true) + } + k.log( + `Restored pack from ${E}${this._extension}, but build dependencies resolve to different locations.` + ) + return P(false) + } + ) + } + ) + }), + ]) + .catch((v) => { + k.timeEnd('check build dependencies') + throw v + }) + .then(([E, P]) => { + k.timeEnd('check build dependencies') + if (E && P) { + k.time('restore cache content metadata') + const E = v.data() + k.timeEnd('restore cache content metadata') + return E + } + return undefined + }) + }) + .then((v) => { + if (v) { + v.maxAge = this.maxAge + this.buildSnapshot = R + if (L) this.buildDependencies = L + if (N) this.newBuildDependencies.addAll(N) + this.resolveResults = ae + this.resolveBuildDependenciesSnapshot = q + return v + } + return new Pack(k, this.maxAge) + }) + .catch((v) => { + this.logger.warn( + `Restoring pack from ${E}${this._extension} failed: ${v}` + ) + this.logger.debug(v.stack) + return new Pack(k, this.maxAge) + }) + } + store(k, v, E) { + if (this.readonly) return Promise.resolve() + return this._getPack().then((P) => { + P.set(k, v === null ? null : v.toString(), E) + }) + } + restore(k, v) { + return this._getPack() + .then((E) => E.get(k, v === null ? null : v.toString())) + .catch((v) => { + if (v && v.code !== 'ENOENT') { + this.logger.warn(`Restoring failed for ${k} from pack: ${v}`) + this.logger.debug(v.stack) + } + }) + } + storeBuildDependencies(k) { + if (this.readonly) return + this.newBuildDependencies.addAll(k) + } + afterAllStored() { + const k = this.packPromise + if (k === undefined) return Promise.resolve() + const v = R.getReporter(this.compiler) + return (this.storePromise = k + .then((k) => { + k.stopCapturingRequests() + if (!k.invalid) return + this.packPromise = undefined + this.logger.log(`Storing pack...`) + let E + const P = new Set() + for (const k of this.newBuildDependencies) { + if (!this.buildDependencies.has(k)) { + P.add(k) + } + } + if (P.size > 0 || !this.buildSnapshot) { + if (v) v(0.5, 'resolve build dependencies') + this.logger.debug( + `Capturing build dependencies... (${Array.from(P).join( + ', ' + )})` + ) + E = new Promise((k, E) => { + this.logger.time('resolve build dependencies') + this.fileSystemInfo.resolveBuildDependencies( + this.context, + P, + (P, R) => { + this.logger.timeEnd('resolve build dependencies') + if (P) return E(P) + this.logger.time('snapshot build dependencies') + const { + files: L, + directories: N, + missing: q, + resolveResults: ae, + resolveDependencies: le, + } = R + if (this.resolveResults) { + for (const [k, v] of ae) { + this.resolveResults.set(k, v) + } + } else { + this.resolveResults = ae + } + if (v) { + v(0.6, 'snapshot build dependencies', 'resolving') + } + this.fileSystemInfo.createSnapshot( + undefined, + le.files, + le.directories, + le.missing, + this.snapshot.resolveBuildDependencies, + (P, R) => { + if (P) { + this.logger.timeEnd('snapshot build dependencies') + return E(P) + } + if (!R) { + this.logger.timeEnd('snapshot build dependencies') + return E( + new Error( + 'Unable to snapshot resolve dependencies' + ) + ) + } + if (this.resolveBuildDependenciesSnapshot) { + this.resolveBuildDependenciesSnapshot = + this.fileSystemInfo.mergeSnapshots( + this.resolveBuildDependenciesSnapshot, + R + ) + } else { + this.resolveBuildDependenciesSnapshot = R + } + if (v) { + v(0.7, 'snapshot build dependencies', 'modules') + } + this.fileSystemInfo.createSnapshot( + undefined, + L, + N, + q, + this.snapshot.buildDependencies, + (v, P) => { + this.logger.timeEnd('snapshot build dependencies') + if (v) return E(v) + if (!P) { + return E( + new Error( + 'Unable to snapshot build dependencies' + ) + ) + } + this.logger.debug('Captured build dependencies') + if (this.buildSnapshot) { + this.buildSnapshot = + this.fileSystemInfo.mergeSnapshots( + this.buildSnapshot, + P + ) + } else { + this.buildSnapshot = P + } + k() + } + ) + } + ) + } + ) + }) + } else { + E = Promise.resolve() + } + return E.then(() => { + if (v) v(0.8, 'serialize pack') + this.logger.time(`store pack`) + const E = new Set(this.buildDependencies) + for (const k of P) { + E.add(k) + } + const R = new PackContainer( + k, + this.version, + this.buildSnapshot, + E, + this.resolveResults, + this.resolveBuildDependenciesSnapshot + ) + return this.fileSerializer + .serialize(R, { + filename: `${this.cacheLocation}/index${this._extension}`, + extension: `${this._extension}`, + logger: this.logger, + profile: this.profile, + }) + .then(() => { + for (const k of P) { + this.buildDependencies.add(k) + } + this.newBuildDependencies.clear() + this.logger.timeEnd(`store pack`) + const v = k.getContentStats() + this.logger.log( + 'Stored pack (%d items, %d files, %d MiB)', + k.itemInfo.size, + v.count, + Math.round(v.size / 1024 / 1024) + ) + }) + .catch((k) => { + this.logger.timeEnd(`store pack`) + this.logger.warn(`Caching failed for pack: ${k}`) + this.logger.debug(k.stack) + }) + }) + }) + .catch((k) => { + this.logger.warn(`Caching failed for pack: ${k}`) + this.logger.debug(k.stack) + })) + } + clear() { + this.fileSystemInfo.clear() + this.buildDependencies.clear() + this.newBuildDependencies.clear() + this.resolveBuildDependenciesSnapshot = undefined + this.resolveResults = undefined + this.buildSnapshot = undefined + this.packPromise = undefined + } + } + k.exports = PackFileCacheStrategy + }, + 6247: function (k, v, E) { + 'use strict' + const P = E(12359) + const R = E(58528) + class CacheEntry { + constructor(k, v) { + this.result = k + this.snapshot = v + } + serialize({ write: k }) { + k(this.result) + k(this.snapshot) + } + deserialize({ read: k }) { + this.result = k() + this.snapshot = k() + } + } + R(CacheEntry, 'webpack/lib/cache/ResolverCachePlugin') + const addAllToSet = (k, v) => { + if (k instanceof P) { + k.addAll(v) + } else { + for (const E of v) { + k.add(E) + } + } + } + const objectToString = (k, v) => { + let E = '' + for (const P in k) { + if (v && P === 'context') continue + const R = k[P] + if (typeof R === 'object' && R !== null) { + E += `|${P}=[${objectToString(R, false)}|]` + } else { + E += `|${P}=|${R}` + } + } + return E + } + class ResolverCachePlugin { + apply(k) { + const v = k.getCache('ResolverCachePlugin') + let E + let R + let L = 0 + let N = 0 + let q = 0 + let ae = 0 + k.hooks.thisCompilation.tap('ResolverCachePlugin', (k) => { + R = k.options.snapshot.resolve + E = k.fileSystemInfo + k.hooks.finishModules.tap('ResolverCachePlugin', () => { + if (L + N > 0) { + const v = k.getLogger('webpack.ResolverCachePlugin') + v.log( + `${Math.round( + (100 * L) / (L + N) + )}% really resolved (${L} real resolves with ${q} cached but invalid, ${N} cached valid, ${ae} concurrent)` + ) + L = 0 + N = 0 + q = 0 + ae = 0 + } + }) + }) + const doRealResolve = (k, v, N, q, ae) => { + L++ + const le = { _ResolverCachePluginCacheMiss: true, ...q } + const pe = { + ...N, + stack: new Set(), + missingDependencies: new P(), + fileDependencies: new P(), + contextDependencies: new P(), + } + let me + let ye = false + if (typeof pe.yield === 'function') { + me = [] + ye = true + pe.yield = (k) => me.push(k) + } + const propagate = (k) => { + if (N[k]) { + addAllToSet(N[k], pe[k]) + } + } + const _e = Date.now() + v.doResolve(v.hooks.resolve, le, 'Cache miss', pe, (v, P) => { + propagate('fileDependencies') + propagate('contextDependencies') + propagate('missingDependencies') + if (v) return ae(v) + const L = pe.fileDependencies + const N = pe.contextDependencies + const q = pe.missingDependencies + E.createSnapshot(_e, L, N, q, R, (v, E) => { + if (v) return ae(v) + const R = ye ? me : P + if (ye && P) me.push(P) + if (!E) { + if (R) return ae(null, R) + return ae() + } + k.store(new CacheEntry(R, E), (k) => { + if (k) return ae(k) + if (R) return ae(null, R) + ae() + }) + }) + }) + } + k.resolverFactory.hooks.resolver.intercept({ + factory(k, P) { + const R = new Map() + const L = new Map() + P.tap('ResolverCachePlugin', (P, ae, le) => { + if (ae.cache !== true) return + const pe = objectToString(le, false) + const me = + ae.cacheWithContext !== undefined + ? ae.cacheWithContext + : false + P.hooks.resolve.tapAsync( + { name: 'ResolverCachePlugin', stage: -100 }, + (ae, le, ye) => { + if (ae._ResolverCachePluginCacheMiss || !E) { + return ye() + } + const _e = typeof le.yield === 'function' + const Ie = `${k}${ + _e ? '|yield' : '|default' + }${pe}${objectToString(ae, !me)}` + if (_e) { + const k = L.get(Ie) + if (k) { + k[0].push(ye) + k[1].push(le.yield) + return + } + } else { + const k = R.get(Ie) + if (k) { + k.push(ye) + return + } + } + const Me = v.getItemCache(Ie, null) + let Te, je + const Ne = _e + ? (k, v) => { + if (Te === undefined) { + if (k) { + ye(k) + } else { + if (v) for (const k of v) le.yield(k) + ye(null, null) + } + je = undefined + Te = false + } else { + if (k) { + for (const v of Te) v(k) + } else { + for (let k = 0; k < Te.length; k++) { + const E = Te[k] + const P = je[k] + if (v) for (const k of v) P(k) + E(null, null) + } + } + L.delete(Ie) + je = undefined + Te = false + } + } + : (k, v) => { + if (Te === undefined) { + ye(k, v) + Te = false + } else { + for (const E of Te) { + E(k, v) + } + R.delete(Ie) + Te = false + } + } + const processCacheResult = (k, v) => { + if (k) return Ne(k) + if (v) { + const { snapshot: k, result: R } = v + E.checkSnapshotValid(k, (v, E) => { + if (v || !E) { + q++ + return doRealResolve(Me, P, le, ae, Ne) + } + N++ + if (le.missingDependencies) { + addAllToSet( + le.missingDependencies, + k.getMissingIterable() + ) + } + if (le.fileDependencies) { + addAllToSet( + le.fileDependencies, + k.getFileIterable() + ) + } + if (le.contextDependencies) { + addAllToSet( + le.contextDependencies, + k.getContextIterable() + ) + } + Ne(null, R) + }) + } else { + doRealResolve(Me, P, le, ae, Ne) + } + } + Me.get(processCacheResult) + if (_e && Te === undefined) { + Te = [ye] + je = [le.yield] + L.set(Ie, [Te, je]) + } else if (Te === undefined) { + Te = [ye] + R.set(Ie, Te) + } + } + ) + }) + return P + }, + }) + } + } + k.exports = ResolverCachePlugin + }, + 76222: function (k, v, E) { + 'use strict' + const P = E(74012) + class LazyHashedEtag { + constructor(k, v = 'md4') { + this._obj = k + this._hash = undefined + this._hashFunction = v + } + toString() { + if (this._hash === undefined) { + const k = P(this._hashFunction) + this._obj.updateHash(k) + this._hash = k.digest('base64') + } + return this._hash + } + } + const R = new Map() + const L = new WeakMap() + const getter = (k, v = 'md4') => { + let E + if (typeof v === 'string') { + E = R.get(v) + if (E === undefined) { + const P = new LazyHashedEtag(k, v) + E = new WeakMap() + E.set(k, P) + R.set(v, E) + return P + } + } else { + E = L.get(v) + if (E === undefined) { + const P = new LazyHashedEtag(k, v) + E = new WeakMap() + E.set(k, P) + L.set(v, E) + return P + } + } + const P = E.get(k) + if (P !== undefined) return P + const N = new LazyHashedEtag(k, v) + E.set(k, N) + return N + } + k.exports = getter + }, + 87045: function (k) { + 'use strict' + class MergedEtag { + constructor(k, v) { + this.a = k + this.b = v + } + toString() { + return `${this.a.toString()}|${this.b.toString()}` + } + } + const v = new WeakMap() + const E = new WeakMap() + const mergeEtags = (k, P) => { + if (typeof k === 'string') { + if (typeof P === 'string') { + return `${k}|${P}` + } else { + const v = P + P = k + k = v + } + } else { + if (typeof P !== 'string') { + let E = v.get(k) + if (E === undefined) { + v.set(k, (E = new WeakMap())) + } + const R = E.get(P) + if (R === undefined) { + const v = new MergedEtag(k, P) + E.set(P, v) + return v + } else { + return R + } + } + } + let R = E.get(k) + if (R === undefined) { + E.set(k, (R = new Map())) + } + const L = R.get(P) + if (L === undefined) { + const v = new MergedEtag(k, P) + R.set(P, v) + return v + } else { + return L + } + } + k.exports = mergeEtags + }, + 20069: function (k, v, E) { + 'use strict' + const P = E(71017) + const R = E(98625) + const getArguments = (k = R) => { + const v = {} + const pathToArgumentName = (k) => + k + .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 getSchemaPart = (v) => { + const E = v.split('/') + let P = k + for (let k = 1; k < E.length; k++) { + const v = P[E[k]] + if (!v) { + break + } + P = v + } + return P + } + const getDescription = (k) => { + for (const { schema: v } of k) { + if (v.cli) { + if (v.cli.helper) continue + if (v.cli.description) return v.cli.description + } + if (v.description) return v.description + } + } + const getNegatedDescription = (k) => { + for (const { schema: v } of k) { + if (v.cli) { + if (v.cli.helper) continue + if (v.cli.negatedDescription) return v.cli.negatedDescription + } + } + } + const getResetDescription = (k) => { + for (const { schema: v } of k) { + if (v.cli) { + if (v.cli.helper) continue + if (v.cli.resetDescription) return v.cli.resetDescription + } + } + } + const schemaToArgumentConfig = (k) => { + if (k.enum) { + return { type: 'enum', values: k.enum } + } + switch (k.type) { + case 'number': + return { type: 'number' } + case 'string': + return { type: k.absolutePath ? 'path' : 'string' } + case 'boolean': + return { type: 'boolean' } + } + if (k.instanceof === 'RegExp') { + return { type: 'RegExp' } + } + return undefined + } + const addResetFlag = (k) => { + const E = k[0].path + const P = pathToArgumentName(`${E}.reset`) + const R = + getResetDescription(k) || + `Clear all items provided in '${E}' configuration. ${getDescription( + k + )}` + v[P] = { + configs: [ + { type: 'reset', multiple: false, description: R, path: E }, + ], + description: undefined, + simpleType: undefined, + multiple: undefined, + } + } + const addFlag = (k, E) => { + const P = schemaToArgumentConfig(k[0].schema) + if (!P) return 0 + const R = getNegatedDescription(k) + const L = pathToArgumentName(k[0].path) + const N = { + ...P, + multiple: E, + description: getDescription(k), + path: k[0].path, + } + if (R) { + N.negatedDescription = R + } + if (!v[L]) { + v[L] = { + configs: [], + description: undefined, + simpleType: undefined, + multiple: undefined, + } + } + if ( + v[L].configs.some((k) => JSON.stringify(k) === JSON.stringify(N)) + ) { + return 0 + } + if (v[L].configs.some((k) => k.type === N.type && k.multiple !== E)) { + if (E) { + throw new Error( + `Conflicting schema for ${k[0].path} with ${N.type} type (array type must be before single item type)` + ) + } + return 0 + } + v[L].configs.push(N) + return 1 + } + const traverse = (k, v = '', E = [], P = null) => { + while (k.$ref) { + k = getSchemaPart(k.$ref) + } + const R = E.filter(({ schema: v }) => v === k) + if (R.length >= 2 || R.some(({ path: k }) => k === v)) { + return 0 + } + if (k.cli && k.cli.exclude) return 0 + const L = [{ schema: k, path: v }, ...E] + let N = 0 + N += addFlag(L, !!P) + if (k.type === 'object') { + if (k.properties) { + for (const E of Object.keys(k.properties)) { + N += traverse(k.properties[E], v ? `${v}.${E}` : E, L, P) + } + } + return N + } + if (k.type === 'array') { + if (P) { + return 0 + } + if (Array.isArray(k.items)) { + let E = 0 + for (const P of k.items) { + N += traverse(P, `${v}.${E}`, L, v) + } + return N + } + N += traverse(k.items, `${v}[]`, L, v) + if (N > 0) { + addResetFlag(L) + N++ + } + return N + } + const q = k.oneOf || k.anyOf || k.allOf + if (q) { + const k = q + for (let E = 0; E < k.length; E++) { + N += traverse(k[E], v, L, P) + } + return N + } + return N + } + traverse(k) + for (const k of Object.keys(v)) { + const E = v[k] + E.description = E.configs.reduce((k, { description: v }) => { + if (!k) return v + if (!v) return k + if (k.includes(v)) return k + return `${k} ${v}` + }, undefined) + E.simpleType = E.configs.reduce((k, v) => { + let E = 'string' + switch (v.type) { + case 'number': + E = 'number' + break + case 'reset': + case 'boolean': + E = 'boolean' + break + case 'enum': + if (v.values.every((k) => typeof k === 'boolean')) E = 'boolean' + if (v.values.every((k) => typeof k === 'number')) E = 'number' + break + } + if (k === undefined) return E + return k === E ? k : 'string' + }, undefined) + E.multiple = E.configs.some((k) => k.multiple) + } + return v + } + const L = new WeakMap() + const getObjectAndProperty = (k, v, E = 0) => { + if (!v) return { value: k } + const P = v.split('.') + let R = P.pop() + let N = k + let q = 0 + for (const k of P) { + const v = k.endsWith('[]') + const R = v ? k.slice(0, -2) : k + let ae = N[R] + if (v) { + if (ae === undefined) { + ae = {} + N[R] = [...Array.from({ length: E }), ae] + L.set(N[R], E + 1) + } else if (!Array.isArray(ae)) { + return { + problem: { + type: 'unexpected-non-array-in-path', + path: P.slice(0, q).join('.'), + }, + } + } else { + let k = L.get(ae) || 0 + while (k <= E) { + ae.push(undefined) + k++ + } + L.set(ae, k) + const v = ae.length - k + E + if (ae[v] === undefined) { + ae[v] = {} + } else if (ae[v] === null || typeof ae[v] !== 'object') { + return { + problem: { + type: 'unexpected-non-object-in-path', + path: P.slice(0, q).join('.'), + }, + } + } + ae = ae[v] + } + } else { + if (ae === undefined) { + ae = N[R] = {} + } else if (ae === null || typeof ae !== 'object') { + return { + problem: { + type: 'unexpected-non-object-in-path', + path: P.slice(0, q).join('.'), + }, + } + } + } + N = ae + q++ + } + let ae = N[R] + if (R.endsWith('[]')) { + const k = R.slice(0, -2) + const P = N[k] + if (P === undefined) { + N[k] = [...Array.from({ length: E }), undefined] + L.set(N[k], E + 1) + return { object: N[k], property: E, value: undefined } + } else if (!Array.isArray(P)) { + N[k] = [P, ...Array.from({ length: E }), undefined] + L.set(N[k], E + 1) + return { object: N[k], property: E + 1, value: undefined } + } else { + let k = L.get(P) || 0 + while (k <= E) { + P.push(undefined) + k++ + } + L.set(P, k) + const R = P.length - k + E + if (P[R] === undefined) { + P[R] = {} + } else if (P[R] === null || typeof P[R] !== 'object') { + return { + problem: { type: 'unexpected-non-object-in-path', path: v }, + } + } + return { object: P, property: R, value: P[R] } + } + } + return { object: N, property: R, value: ae } + } + const setValue = (k, v, E, P) => { + const { + problem: R, + object: L, + property: N, + } = getObjectAndProperty(k, v, P) + if (R) return R + L[N] = E + return null + } + const processArgumentConfig = (k, v, E, P) => { + if (P !== undefined && !k.multiple) { + return { type: 'multiple-values-unexpected', path: k.path } + } + const R = parseValueForArgumentConfig(k, E) + if (R === undefined) { + return { + type: 'invalid-value', + path: k.path, + expected: getExpectedValue(k), + } + } + const L = setValue(v, k.path, R, P) + if (L) return L + return null + } + const getExpectedValue = (k) => { + switch (k.type) { + default: + return k.type + case 'boolean': + return 'true | false' + case 'RegExp': + return 'regular expression (example: /ab?c*/)' + case 'enum': + return k.values.map((k) => `${k}`).join(' | ') + case 'reset': + return 'true (will reset the previous value to an empty array)' + } + } + const parseValueForArgumentConfig = (k, v) => { + switch (k.type) { + case 'string': + if (typeof v === 'string') { + return v + } + break + case 'path': + if (typeof v === 'string') { + return P.resolve(v) + } + break + case 'number': + if (typeof v === 'number') return v + if (typeof v === 'string' && /^[+-]?\d*(\.\d*)[eE]\d+$/) { + const k = +v + if (!isNaN(k)) return k + } + break + case 'boolean': + if (typeof v === 'boolean') return v + if (v === 'true') return true + if (v === 'false') return false + break + case 'RegExp': + if (v instanceof RegExp) return v + if (typeof v === 'string') { + const k = /^\/(.*)\/([yugi]*)$/.exec(v) + if (k && !/[^\\]\//.test(k[1])) return new RegExp(k[1], k[2]) + } + break + case 'enum': + if (k.values.includes(v)) return v + for (const E of k.values) { + if (`${E}` === v) return E + } + break + case 'reset': + if (v === true) return [] + break + } + } + const processArguments = (k, v, E) => { + const P = [] + for (const R of Object.keys(E)) { + const L = k[R] + if (!L) { + P.push({ type: 'unknown-argument', path: '', argument: R }) + continue + } + const processValue = (k, E) => { + const N = [] + for (const P of L.configs) { + const L = processArgumentConfig(P, v, k, E) + if (!L) { + return + } + N.push({ ...L, argument: R, value: k, index: E }) + } + P.push(...N) + } + let N = E[R] + if (Array.isArray(N)) { + for (let k = 0; k < N.length; k++) { + processValue(N[k], k) + } + } else { + processValue(N, undefined) + } + } + if (P.length === 0) return null + return P + } + v.getArguments = getArguments + v.processArguments = processArguments + }, + 6305: function (k, v, E) { + 'use strict' + const P = E(14907) + const R = E(71017) + const L = /^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i + const parse = (k, v) => { + if (!k) { + return {} + } + if (R.isAbsolute(k)) { + const [, v, E] = L.exec(k) || [] + return { configPath: v, env: E } + } + const E = P.findConfig(v) + if (E && Object.keys(E).includes(k)) { + return { env: k } + } + return { query: k } + } + const load = (k, v) => { + const { configPath: E, env: R, query: L } = parse(k, v) + const N = L + ? L + : E + ? P.loadConfig({ config: E, env: R }) + : P.loadConfig({ path: v, env: R }) + if (!N) return + return P(N) + } + const resolve = (k) => { + const rawChecker = (v) => + k.every((k) => { + const [E, P] = k.split(' ') + if (!E) return false + const R = v[E] + if (!R) return false + const [L, N] = P === 'TP' ? [Infinity, Infinity] : P.split('.') + if (typeof R === 'number') { + return +L >= R + } + return R[0] === +L ? +N >= R[1] : +L > R[0] + }) + const v = k.some((k) => /^node /.test(k)) + const E = k.some((k) => /^(?!node)/.test(k)) + const P = !E ? false : v ? null : true + const R = !v ? false : E ? null : true + const L = rawChecker({ + 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: [12, 17], + }) + return { + const: rawChecker({ + 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: rawChecker({ + 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: rawChecker({ + 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: rawChecker({ + 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: rawChecker({ + 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: rawChecker({ + 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: [12, 17], + }), + dynamicImport: L, + dynamicImportInWorker: L && !v, + globalThis: rawChecker({ + 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, + }), + optionalChaining: rawChecker({ + chrome: 80, + and_chr: 80, + edge: 80, + firefox: 74, + and_ff: 79, + opera: 67, + op_mob: 64, + safari: [13, 1], + ios_saf: [13, 4], + samsung: 13, + android: 80, + node: 14, + }), + templateLiteral: rawChecker({ + chrome: 41, + and_chr: 41, + edge: 13, + firefox: 34, + and_ff: 34, + opera: 29, + op_mob: 64, + safari: [9, 1], + ios_saf: 9, + samsung: 4, + android: 41, + and_qq: [10, 4], + baidu: [7, 12], + and_uc: [12, 12], + kaios: [2, 5], + node: 4, + }), + browser: P, + electron: false, + node: R, + nwjs: false, + web: P, + webworker: false, + document: P, + fetchWasm: P, + global: R, + importScripts: false, + importScriptsInWorker: true, + nodeBuiltins: R, + require: R, + } + } + k.exports = { resolve: resolve, load: load } + }, + 25801: function (k, v, E) { + 'use strict' + const P = E(57147) + const R = E(71017) + const { + JAVASCRIPT_MODULE_TYPE_AUTO: L, + JSON_MODULE_TYPE: N, + WEBASSEMBLY_MODULE_TYPE_ASYNC: q, + JAVASCRIPT_MODULE_TYPE_ESM: ae, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: le, + WEBASSEMBLY_MODULE_TYPE_SYNC: pe, + ASSET_MODULE_TYPE: me, + CSS_MODULE_TYPE: ye, + } = E(93622) + const _e = E(95041) + const { cleverMerge: Ie } = E(99454) + const { + getTargetsProperties: Me, + getTargetProperties: Te, + getDefaultTarget: je, + } = E(30391) + const Ne = /[\\/]node_modules[\\/]/i + const D = (k, v, E) => { + if (k[v] === undefined) { + k[v] = E + } + } + const F = (k, v, E) => { + if (k[v] === undefined) { + k[v] = E() + } + } + const A = (k, v, E) => { + const P = k[v] + if (P === undefined) { + k[v] = E() + } else if (Array.isArray(P)) { + let R = undefined + for (let L = 0; L < P.length; L++) { + const N = P[L] + if (N === '...') { + if (R === undefined) { + R = P.slice(0, L) + k[v] = R + } + const N = E() + if (N !== undefined) { + for (const k of N) { + R.push(k) + } + } + } else if (R !== undefined) { + R.push(N) + } + } + } + } + const applyWebpackOptionsBaseDefaults = (k) => { + F(k, 'context', () => process.cwd()) + applyInfrastructureLoggingDefaults(k.infrastructureLogging) + } + const applyWebpackOptionsDefaults = (k) => { + F(k, 'context', () => process.cwd()) + F(k, 'target', () => je(k.context)) + const { mode: v, name: P, target: R } = k + let L = + R === false + ? false + : typeof R === 'string' + ? Te(R, k.context) + : Me(R, k.context) + const N = v === 'development' + const q = v === 'production' || !v + if (typeof k.entry !== 'function') { + for (const v of Object.keys(k.entry)) { + F(k.entry[v], 'import', () => ['./src']) + } + } + F(k, 'devtool', () => (N ? 'eval' : false)) + D(k, 'watch', false) + D(k, 'profile', false) + D(k, 'parallelism', 100) + D(k, 'recordsInputPath', false) + D(k, 'recordsOutputPath', false) + applyExperimentsDefaults(k.experiments, { + production: q, + development: N, + targetProperties: L, + }) + const ae = k.experiments.futureDefaults + F(k, 'cache', () => (N ? { type: 'memory' } : false)) + applyCacheDefaults(k.cache, { + name: P || 'default', + mode: v || 'production', + development: N, + cacheUnaffected: k.experiments.cacheUnaffected, + }) + const le = !!k.cache + applySnapshotDefaults(k.snapshot, { production: q, futureDefaults: ae }) + applyModuleDefaults(k.module, { + cache: le, + syncWebAssembly: k.experiments.syncWebAssembly, + asyncWebAssembly: k.experiments.asyncWebAssembly, + css: k.experiments.css, + futureDefaults: ae, + isNode: L && L.node === true, + }) + applyOutputDefaults(k.output, { + context: k.context, + targetProperties: L, + isAffectedByBrowserslist: + R === undefined || + (typeof R === 'string' && R.startsWith('browserslist')) || + (Array.isArray(R) && R.some((k) => k.startsWith('browserslist'))), + outputModule: k.experiments.outputModule, + development: N, + entry: k.entry, + module: k.module, + futureDefaults: ae, + }) + applyExternalsPresetsDefaults(k.externalsPresets, { + targetProperties: L, + buildHttp: !!k.experiments.buildHttp, + }) + applyLoaderDefaults(k.loader, { + targetProperties: L, + environment: k.output.environment, + }) + F(k, 'externalsType', () => { + const v = E(98625).definitions.ExternalsType['enum'] + return k.output.library && v.includes(k.output.library.type) + ? k.output.library.type + : k.output.module + ? 'module' + : 'var' + }) + applyNodeDefaults(k.node, { + futureDefaults: k.experiments.futureDefaults, + targetProperties: L, + }) + F(k, 'performance', () => + q && L && (L.browser || L.browser === null) ? {} : false + ) + applyPerformanceDefaults(k.performance, { production: q }) + applyOptimizationDefaults(k.optimization, { + development: N, + production: q, + css: k.experiments.css, + records: !!(k.recordsInputPath || k.recordsOutputPath), + }) + k.resolve = Ie( + getResolveDefaults({ + cache: le, + context: k.context, + targetProperties: L, + mode: k.mode, + }), + k.resolve + ) + k.resolveLoader = Ie( + getResolveLoaderDefaults({ cache: le }), + k.resolveLoader + ) + } + const applyExperimentsDefaults = ( + k, + { production: v, development: E, targetProperties: P } + ) => { + D(k, 'futureDefaults', false) + D(k, 'backCompat', !k.futureDefaults) + D(k, 'syncWebAssembly', false) + D(k, 'asyncWebAssembly', k.futureDefaults) + D(k, 'outputModule', false) + D(k, 'layers', false) + D(k, 'lazyCompilation', undefined) + D(k, 'buildHttp', undefined) + D(k, 'cacheUnaffected', k.futureDefaults) + F(k, 'css', () => (k.futureDefaults ? {} : undefined)) + let R = true + if (typeof k.topLevelAwait === 'boolean') { + R = k.topLevelAwait + } + D(k, 'topLevelAwait', R) + if (typeof k.buildHttp === 'object') { + D(k.buildHttp, 'frozen', v) + D(k.buildHttp, 'upgrade', false) + } + if (typeof k.css === 'object') { + D(k.css, 'exportsOnly', !P || !P.document) + } + } + const applyCacheDefaults = ( + k, + { name: v, mode: E, development: L, cacheUnaffected: N } + ) => { + if (k === false) return + switch (k.type) { + case 'filesystem': + F(k, 'name', () => v + '-' + E) + D(k, 'version', '') + F(k, 'cacheDirectory', () => { + const k = process.cwd() + let v = k + for (;;) { + try { + if (P.statSync(R.join(v, 'package.json')).isFile()) break + } catch (k) {} + const k = R.dirname(v) + if (v === k) { + v = undefined + break + } + v = k + } + if (!v) { + return R.resolve(k, '.cache/webpack') + } else if (process.versions.pnp === '1') { + return R.resolve(v, '.pnp/.cache/webpack') + } else if (process.versions.pnp === '3') { + return R.resolve(v, '.yarn/.cache/webpack') + } else { + return R.resolve(v, 'node_modules/.cache/webpack') + } + }) + F(k, 'cacheLocation', () => R.resolve(k.cacheDirectory, k.name)) + D(k, 'hashAlgorithm', 'md4') + D(k, 'store', 'pack') + D(k, 'compression', false) + D(k, 'profile', false) + D(k, 'idleTimeout', 6e4) + D(k, 'idleTimeoutForInitialStore', 5e3) + D(k, 'idleTimeoutAfterLargeChanges', 1e3) + D(k, 'maxMemoryGenerations', L ? 5 : Infinity) + D(k, 'maxAge', 1e3 * 60 * 60 * 24 * 60) + D(k, 'allowCollectingMemory', L) + D(k, 'memoryCacheUnaffected', L && N) + D(k, 'readonly', false) + D(k.buildDependencies, 'defaultWebpack', [ + R.resolve(__dirname, '..') + R.sep, + ]) + break + case 'memory': + D(k, 'maxGenerations', Infinity) + D(k, 'cacheUnaffected', L && N) + break + } + } + const applySnapshotDefaults = ( + k, + { production: v, futureDefaults: E } + ) => { + if (E) { + F(k, 'managedPaths', () => + process.versions.pnp === '3' + ? [ + /^(.+?(?:[\\/]\.yarn[\\/]unplugged[\\/][^\\/]+)?[\\/]node_modules[\\/])/, + ] + : [/^(.+?[\\/]node_modules[\\/])/] + ) + F(k, 'immutablePaths', () => + process.versions.pnp === '3' + ? [/^(.+?[\\/]cache[\\/][^\\/]+\.zip[\\/]node_modules[\\/])/] + : [] + ) + } else { + A(k, 'managedPaths', () => { + if (process.versions.pnp === '3') { + const k = + /^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec( + 28978 + ) + if (k) { + return [R.resolve(k[1], 'unplugged')] + } + } else { + const k = /^(.+?[\\/]node_modules[\\/])/.exec(28978) + if (k) { + return [k[1]] + } + } + return [] + }) + A(k, 'immutablePaths', () => { + if (process.versions.pnp === '1') { + const k = + /^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec( + 28978 + ) + if (k) { + return [k[1]] + } + } else if (process.versions.pnp === '3') { + const k = + /^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec( + 28978 + ) + if (k) { + return [k[1]] + } + } + return [] + }) + } + F(k, 'resolveBuildDependencies', () => ({ + timestamp: true, + hash: true, + })) + F(k, 'buildDependencies', () => ({ timestamp: true, hash: true })) + F(k, 'module', () => + v ? { timestamp: true, hash: true } : { timestamp: true } + ) + F(k, 'resolve', () => + v ? { timestamp: true, hash: true } : { timestamp: true } + ) + } + const applyJavascriptParserOptionsDefaults = ( + k, + { futureDefaults: v, isNode: E } + ) => { + D(k, 'unknownContextRequest', '.') + D(k, 'unknownContextRegExp', false) + D(k, 'unknownContextRecursive', true) + D(k, 'unknownContextCritical', true) + D(k, 'exprContextRequest', '.') + D(k, 'exprContextRegExp', false) + D(k, 'exprContextRecursive', true) + D(k, 'exprContextCritical', true) + D(k, 'wrappedContextRegExp', /.*/) + D(k, 'wrappedContextRecursive', true) + D(k, 'wrappedContextCritical', false) + D(k, 'strictThisContextOnImports', false) + D(k, 'importMeta', true) + D(k, 'dynamicImportMode', 'lazy') + D(k, 'dynamicImportPrefetch', false) + D(k, 'dynamicImportPreload', false) + D(k, 'createRequire', E) + if (v) D(k, 'exportsPresence', 'error') + } + const applyModuleDefaults = ( + k, + { + cache: v, + syncWebAssembly: E, + asyncWebAssembly: P, + css: R, + futureDefaults: _e, + isNode: Ie, + } + ) => { + if (v) { + D(k, 'unsafeCache', (k) => { + const v = k.nameForCondition() + return v && Ne.test(v) + }) + } else { + D(k, 'unsafeCache', false) + } + F(k.parser, me, () => ({})) + F(k.parser.asset, 'dataUrlCondition', () => ({})) + if (typeof k.parser.asset.dataUrlCondition === 'object') { + D(k.parser.asset.dataUrlCondition, 'maxSize', 8096) + } + F(k.parser, 'javascript', () => ({})) + applyJavascriptParserOptionsDefaults(k.parser.javascript, { + futureDefaults: _e, + isNode: Ie, + }) + A(k, 'defaultRules', () => { + const k = { + type: ae, + resolve: { byDependency: { esm: { fullySpecified: true } } }, + } + const v = { type: le } + const me = [ + { mimetype: 'application/node', type: L }, + { test: /\.json$/i, type: N }, + { mimetype: 'application/json', type: N }, + { test: /\.mjs$/i, ...k }, + { test: /\.js$/i, descriptionData: { type: 'module' }, ...k }, + { test: /\.cjs$/i, ...v }, + { test: /\.js$/i, descriptionData: { type: 'commonjs' }, ...v }, + { + mimetype: { or: ['text/javascript', 'application/javascript'] }, + ...k, + }, + ] + if (P) { + const k = { + type: q, + rules: [ + { + descriptionData: { type: 'module' }, + resolve: { fullySpecified: true }, + }, + ], + } + me.push({ test: /\.wasm$/i, ...k }) + me.push({ mimetype: 'application/wasm', ...k }) + } else if (E) { + const k = { + type: pe, + rules: [ + { + descriptionData: { type: 'module' }, + resolve: { fullySpecified: true }, + }, + ], + } + me.push({ test: /\.wasm$/i, ...k }) + me.push({ mimetype: 'application/wasm', ...k }) + } + if (R) { + const k = { + type: ye, + resolve: { fullySpecified: true, preferRelative: true }, + } + const v = { type: 'css/module', resolve: { fullySpecified: true } } + me.push({ + test: /\.css$/i, + oneOf: [{ test: /\.module\.css$/i, ...v }, { ...k }], + }) + me.push({ mimetype: 'text/css+module', ...v }) + me.push({ mimetype: 'text/css', ...k }) + } + me.push( + { + dependency: 'url', + oneOf: [ + { scheme: /^data$/, type: 'asset/inline' }, + { type: 'asset/resource' }, + ], + }, + { assert: { type: 'json' }, type: N } + ) + return me + }) + } + const applyOutputDefaults = ( + k, + { + context: v, + targetProperties: E, + isAffectedByBrowserslist: L, + outputModule: N, + development: q, + entry: ae, + module: le, + futureDefaults: pe, + } + ) => { + const getLibraryName = (k) => { + const v = + typeof k === 'object' && k && !Array.isArray(k) && 'type' in k + ? k.name + : k + if (Array.isArray(v)) { + return v.join('.') + } else if (typeof v === 'object') { + return getLibraryName(v.root) + } else if (typeof v === 'string') { + return v + } + return '' + } + F(k, 'uniqueName', () => { + const E = getLibraryName(k.library).replace( + /^\[(\\*[\w:]+\\*)\](\.)|(\.)\[(\\*[\w:]+\\*)\](?=\.|$)|\[(\\*[\w:]+\\*)\]/g, + (k, v, E, P, R, L) => { + const N = v || R || L + return N.startsWith('\\') && N.endsWith('\\') + ? `${P || ''}[${N.slice(1, -1)}]${E || ''}` + : '' + } + ) + if (E) return E + const L = R.resolve(v, 'package.json') + try { + const k = JSON.parse(P.readFileSync(L, 'utf-8')) + return k.name || '' + } catch (k) { + if (k.code !== 'ENOENT') { + k.message += `\nwhile determining default 'output.uniqueName' from 'name' in ${L}` + throw k + } + return '' + } + }) + F(k, 'module', () => !!N) + D(k, 'filename', k.module ? '[name].mjs' : '[name].js') + F(k, 'iife', () => !k.module) + D(k, 'importFunctionName', 'import') + D(k, 'importMetaName', 'import.meta') + F(k, 'chunkFilename', () => { + const v = k.filename + if (typeof v !== 'function') { + const k = v.includes('[name]') + const E = v.includes('[id]') + const P = v.includes('[chunkhash]') + const R = v.includes('[contenthash]') + if (P || R || k || E) return v + return v.replace(/(^|\/)([^/]*(?:\?|$))/, '$1[id].$2') + } + return k.module ? '[id].mjs' : '[id].js' + }) + F(k, 'cssFilename', () => { + const v = k.filename + if (typeof v !== 'function') { + return v.replace(/\.[mc]?js(\?|$)/, '.css$1') + } + return '[id].css' + }) + F(k, 'cssChunkFilename', () => { + const v = k.chunkFilename + if (typeof v !== 'function') { + return v.replace(/\.[mc]?js(\?|$)/, '.css$1') + } + return '[id].css' + }) + D(k, 'assetModuleFilename', '[hash][ext][query]') + D(k, 'webassemblyModuleFilename', '[hash].module.wasm') + D(k, 'compareBeforeEmit', true) + D(k, 'charset', true) + F(k, 'hotUpdateGlobal', () => + _e.toIdentifier('webpackHotUpdate' + _e.toIdentifier(k.uniqueName)) + ) + F(k, 'chunkLoadingGlobal', () => + _e.toIdentifier('webpackChunk' + _e.toIdentifier(k.uniqueName)) + ) + F(k, 'globalObject', () => { + if (E) { + if (E.global) return 'global' + if (E.globalThis) return 'globalThis' + } + return 'self' + }) + F(k, 'chunkFormat', () => { + if (E) { + const v = L + ? "Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly." + : "Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly." + if (k.module) { + if (E.dynamicImport) return 'module' + if (E.document) return 'array-push' + throw new Error( + 'For the selected environment is no default ESM chunk format available:\n' + + "ESM exports can be chosen when 'import()' is available.\n" + + "JSONP Array push can be chosen when 'document' is available.\n" + + v + ) + } else { + if (E.document) return 'array-push' + if (E.require) return 'commonjs' + if (E.nodeBuiltins) return 'commonjs' + if (E.importScripts) return 'array-push' + throw new Error( + 'For the selected environment is no default script chunk format available:\n' + + "JSONP Array push can be chosen when 'document' or 'importScripts' is available.\n" + + "CommonJs exports can be chosen when 'require' or node builtins are available.\n" + + v + ) + } + } + throw new Error( + "Chunk format can't be selected by default when no target is specified" + ) + }) + D(k, 'asyncChunks', true) + F(k, 'chunkLoading', () => { + if (E) { + switch (k.chunkFormat) { + case 'array-push': + if (E.document) return 'jsonp' + if (E.importScripts) return 'import-scripts' + break + case 'commonjs': + if (E.require) return 'require' + if (E.nodeBuiltins) return 'async-node' + break + case 'module': + if (E.dynamicImport) return 'import' + break + } + if ( + E.require === null || + E.nodeBuiltins === null || + E.document === null || + E.importScripts === null + ) { + return 'universal' + } + } + return false + }) + F(k, 'workerChunkLoading', () => { + if (E) { + switch (k.chunkFormat) { + case 'array-push': + if (E.importScriptsInWorker) return 'import-scripts' + break + case 'commonjs': + if (E.require) return 'require' + if (E.nodeBuiltins) return 'async-node' + break + case 'module': + if (E.dynamicImportInWorker) return 'import' + break + } + if ( + E.require === null || + E.nodeBuiltins === null || + E.importScriptsInWorker === null + ) { + return 'universal' + } + } + return false + }) + F(k, 'wasmLoading', () => { + if (E) { + if (E.fetchWasm) return 'fetch' + if (E.nodeBuiltins) + return k.module ? 'async-node-module' : 'async-node' + if (E.nodeBuiltins === null || E.fetchWasm === null) { + return 'universal' + } + } + return false + }) + F(k, 'workerWasmLoading', () => k.wasmLoading) + F(k, 'devtoolNamespace', () => k.uniqueName) + if (k.library) { + F(k.library, 'type', () => (k.module ? 'module' : 'var')) + } + F(k, 'path', () => R.join(process.cwd(), 'dist')) + F(k, 'pathinfo', () => q) + D(k, 'sourceMapFilename', '[file].map[query]') + D( + k, + 'hotUpdateChunkFilename', + `[id].[fullhash].hot-update.${k.module ? 'mjs' : 'js'}` + ) + D(k, 'hotUpdateMainFilename', '[runtime].[fullhash].hot-update.json') + D(k, 'crossOriginLoading', false) + F(k, 'scriptType', () => (k.module ? 'module' : false)) + D( + k, + 'publicPath', + (E && (E.document || E.importScripts)) || k.scriptType === 'module' + ? 'auto' + : '' + ) + D(k, 'workerPublicPath', '') + D(k, 'chunkLoadTimeout', 12e4) + D(k, 'hashFunction', pe ? 'xxhash64' : 'md4') + D(k, 'hashDigest', 'hex') + D(k, 'hashDigestLength', pe ? 16 : 20) + D(k, 'strictModuleExceptionHandling', false) + const me = k.environment + const optimistic = (k) => k || k === undefined + const conditionallyOptimistic = (k, v) => (k === undefined && v) || k + F(me, 'globalThis', () => E && E.globalThis) + F(me, 'bigIntLiteral', () => E && E.bigIntLiteral) + F(me, 'const', () => E && optimistic(E.const)) + F(me, 'arrowFunction', () => E && optimistic(E.arrowFunction)) + F(me, 'forOf', () => E && optimistic(E.forOf)) + F(me, 'destructuring', () => E && optimistic(E.destructuring)) + F(me, 'optionalChaining', () => E && optimistic(E.optionalChaining)) + F(me, 'templateLiteral', () => E && optimistic(E.templateLiteral)) + F(me, 'dynamicImport', () => + conditionallyOptimistic(E && E.dynamicImport, k.module) + ) + F(me, 'dynamicImportInWorker', () => + conditionallyOptimistic(E && E.dynamicImportInWorker, k.module) + ) + F(me, 'module', () => conditionallyOptimistic(E && E.module, k.module)) + const { trustedTypes: ye } = k + if (ye) { + F( + ye, + 'policyName', + () => + k.uniqueName.replace(/[^a-zA-Z0-9\-#=_/@.%]+/g, '_') || 'webpack' + ) + D(ye, 'onPolicyCreationFailure', 'stop') + } + const forEachEntry = (k) => { + for (const v of Object.keys(ae)) { + k(ae[v]) + } + } + A(k, 'enabledLibraryTypes', () => { + const v = [] + if (k.library) { + v.push(k.library.type) + } + forEachEntry((k) => { + if (k.library) { + v.push(k.library.type) + } + }) + return v + }) + A(k, 'enabledChunkLoadingTypes', () => { + const v = new Set() + if (k.chunkLoading) { + v.add(k.chunkLoading) + } + if (k.workerChunkLoading) { + v.add(k.workerChunkLoading) + } + forEachEntry((k) => { + if (k.chunkLoading) { + v.add(k.chunkLoading) + } + }) + return Array.from(v) + }) + A(k, 'enabledWasmLoadingTypes', () => { + const v = new Set() + if (k.wasmLoading) { + v.add(k.wasmLoading) + } + if (k.workerWasmLoading) { + v.add(k.workerWasmLoading) + } + forEachEntry((k) => { + if (k.wasmLoading) { + v.add(k.wasmLoading) + } + }) + return Array.from(v) + }) + } + const applyExternalsPresetsDefaults = ( + k, + { targetProperties: v, buildHttp: E } + ) => { + D(k, 'web', !E && v && v.web) + D(k, 'node', v && v.node) + D(k, 'nwjs', v && v.nwjs) + D(k, 'electron', v && v.electron) + D(k, 'electronMain', v && v.electron && v.electronMain) + D(k, 'electronPreload', v && v.electron && v.electronPreload) + D(k, 'electronRenderer', v && v.electron && v.electronRenderer) + } + const applyLoaderDefaults = ( + k, + { targetProperties: v, environment: E } + ) => { + F(k, 'target', () => { + if (v) { + if (v.electron) { + if (v.electronMain) return 'electron-main' + if (v.electronPreload) return 'electron-preload' + if (v.electronRenderer) return 'electron-renderer' + return 'electron' + } + if (v.nwjs) return 'nwjs' + if (v.node) return 'node' + if (v.web) return 'web' + } + }) + D(k, 'environment', E) + } + const applyNodeDefaults = ( + k, + { futureDefaults: v, targetProperties: E } + ) => { + if (k === false) return + F(k, 'global', () => { + if (E && E.global) return false + return v ? 'warn' : true + }) + F(k, '__filename', () => { + if (E && E.node) return 'eval-only' + return v ? 'warn-mock' : 'mock' + }) + F(k, '__dirname', () => { + if (E && E.node) return 'eval-only' + return v ? 'warn-mock' : 'mock' + }) + } + const applyPerformanceDefaults = (k, { production: v }) => { + if (k === false) return + D(k, 'maxAssetSize', 25e4) + D(k, 'maxEntrypointSize', 25e4) + F(k, 'hints', () => (v ? 'warning' : false)) + } + const applyOptimizationDefaults = ( + k, + { production: v, development: P, css: R, records: L } + ) => { + D(k, 'removeAvailableModules', false) + D(k, 'removeEmptyChunks', true) + D(k, 'mergeDuplicateChunks', true) + D(k, 'flagIncludedChunks', v) + F(k, 'moduleIds', () => { + if (v) return 'deterministic' + if (P) return 'named' + return 'natural' + }) + F(k, 'chunkIds', () => { + if (v) return 'deterministic' + if (P) return 'named' + return 'natural' + }) + F(k, 'sideEffects', () => (v ? true : 'flag')) + D(k, 'providedExports', true) + D(k, 'usedExports', v) + D(k, 'innerGraph', v) + D(k, 'mangleExports', v) + D(k, 'concatenateModules', v) + D(k, 'runtimeChunk', false) + D(k, 'emitOnErrors', !v) + D(k, 'checkWasmTypes', v) + D(k, 'mangleWasmImports', false) + D(k, 'portableRecords', L) + D(k, 'realContentHash', v) + D(k, 'minimize', v) + A(k, 'minimizer', () => [ + { + apply: (k) => { + const v = E(55302) + new v({ terserOptions: { compress: { passes: 2 } } }).apply(k) + }, + }, + ]) + F(k, 'nodeEnv', () => { + if (v) return 'production' + if (P) return 'development' + return false + }) + const { splitChunks: N } = k + if (N) { + A(N, 'defaultSizeTypes', () => + R ? ['javascript', 'css', 'unknown'] : ['javascript', 'unknown'] + ) + D(N, 'hidePathInfo', v) + D(N, 'chunks', 'async') + D(N, 'usedExports', k.usedExports === true) + D(N, 'minChunks', 1) + F(N, 'minSize', () => (v ? 2e4 : 1e4)) + F(N, 'minRemainingSize', () => (P ? 0 : undefined)) + F(N, 'enforceSizeThreshold', () => (v ? 5e4 : 3e4)) + F(N, 'maxAsyncRequests', () => (v ? 30 : Infinity)) + F(N, 'maxInitialRequests', () => (v ? 30 : Infinity)) + D(N, 'automaticNameDelimiter', '-') + const E = N.cacheGroups + F(E, 'default', () => ({ + idHint: '', + reuseExistingChunk: true, + minChunks: 2, + priority: -20, + })) + F(E, 'defaultVendors', () => ({ + idHint: 'vendors', + reuseExistingChunk: true, + test: Ne, + priority: -10, + })) + } + } + const getResolveDefaults = ({ + cache: k, + context: v, + targetProperties: E, + mode: P, + }) => { + const R = ['webpack'] + R.push(P === 'development' ? 'development' : 'production') + if (E) { + if (E.webworker) R.push('worker') + if (E.node) R.push('node') + if (E.web) R.push('browser') + if (E.electron) R.push('electron') + if (E.nwjs) R.push('nwjs') + } + const L = ['.js', '.json', '.wasm'] + const N = E + const q = N && N.web && (!N.node || (N.electron && N.electronRenderer)) + const cjsDeps = () => ({ + aliasFields: q ? ['browser'] : [], + mainFields: q ? ['browser', 'module', '...'] : ['module', '...'], + conditionNames: ['require', 'module', '...'], + extensions: [...L], + }) + const esmDeps = () => ({ + aliasFields: q ? ['browser'] : [], + mainFields: q ? ['browser', 'module', '...'] : ['module', '...'], + conditionNames: ['import', 'module', '...'], + extensions: [...L], + }) + const ae = { + cache: k, + modules: ['node_modules'], + conditionNames: R, + mainFiles: ['index'], + extensions: [], + aliasFields: [], + exportsFields: ['exports'], + roots: [v], + mainFields: ['main'], + byDependency: { + wasm: esmDeps(), + esm: esmDeps(), + loaderImport: esmDeps(), + url: { preferRelative: true }, + worker: { ...esmDeps(), preferRelative: true }, + commonjs: cjsDeps(), + amd: cjsDeps(), + loader: cjsDeps(), + unknown: cjsDeps(), + undefined: cjsDeps(), + }, + } + return ae + } + const getResolveLoaderDefaults = ({ cache: k }) => { + const v = { + cache: k, + conditionNames: ['loader', 'require', 'node'], + exportsFields: ['exports'], + mainFields: ['loader', 'main'], + extensions: ['.js'], + mainFiles: ['index'], + } + return v + } + const applyInfrastructureLoggingDefaults = (k) => { + F(k, 'stream', () => process.stderr) + const v = k.stream.isTTY && process.env.TERM !== 'dumb' + D(k, 'level', 'info') + D(k, 'debug', false) + D(k, 'colors', v) + D(k, 'appendOnly', !v) + } + v.applyWebpackOptionsBaseDefaults = applyWebpackOptionsBaseDefaults + v.applyWebpackOptionsDefaults = applyWebpackOptionsDefaults + }, + 47339: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = P.deprecate( + (k, v) => { + if (v !== undefined && !k === !v) { + throw new Error( + "Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config." + ) + } + return !k + }, + 'optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors', + 'DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS' + ) + const nestedConfig = (k, v) => (k === undefined ? v({}) : v(k)) + const cloneObject = (k) => ({ ...k }) + const optionalNestedConfig = (k, v) => + k === undefined ? undefined : v(k) + const nestedArray = (k, v) => (Array.isArray(k) ? v(k) : v([])) + const optionalNestedArray = (k, v) => + Array.isArray(k) ? v(k) : undefined + const keyedNestedConfig = (k, v, E) => { + const P = + k === undefined + ? {} + : Object.keys(k).reduce( + (P, R) => ((P[R] = (E && R in E ? E[R] : v)(k[R])), P), + {} + ) + if (E) { + for (const k of Object.keys(E)) { + if (!(k in P)) { + P[k] = E[k]({}) + } + } + } + return P + } + const getNormalizedWebpackOptions = (k) => ({ + amd: k.amd, + bail: k.bail, + cache: optionalNestedConfig(k.cache, (k) => { + if (k === false) return false + if (k === true) { + return { type: 'memory', maxGenerations: undefined } + } + switch (k.type) { + case 'filesystem': + return { + type: 'filesystem', + allowCollectingMemory: k.allowCollectingMemory, + maxMemoryGenerations: k.maxMemoryGenerations, + maxAge: k.maxAge, + profile: k.profile, + buildDependencies: cloneObject(k.buildDependencies), + cacheDirectory: k.cacheDirectory, + cacheLocation: k.cacheLocation, + hashAlgorithm: k.hashAlgorithm, + compression: k.compression, + idleTimeout: k.idleTimeout, + idleTimeoutForInitialStore: k.idleTimeoutForInitialStore, + idleTimeoutAfterLargeChanges: k.idleTimeoutAfterLargeChanges, + name: k.name, + store: k.store, + version: k.version, + readonly: k.readonly, + } + case undefined: + case 'memory': + return { type: 'memory', maxGenerations: k.maxGenerations } + default: + throw new Error(`Not implemented cache.type ${k.type}`) + } + }), + context: k.context, + dependencies: k.dependencies, + devServer: optionalNestedConfig(k.devServer, (k) => ({ ...k })), + devtool: k.devtool, + entry: + k.entry === undefined + ? { main: {} } + : typeof k.entry === 'function' + ? ( + (k) => () => + Promise.resolve().then(k).then(getNormalizedEntryStatic) + )(k.entry) + : getNormalizedEntryStatic(k.entry), + experiments: nestedConfig(k.experiments, (k) => ({ + ...k, + buildHttp: optionalNestedConfig(k.buildHttp, (k) => + Array.isArray(k) ? { allowedUris: k } : k + ), + lazyCompilation: optionalNestedConfig(k.lazyCompilation, (k) => + k === true ? {} : k + ), + css: optionalNestedConfig(k.css, (k) => (k === true ? {} : k)), + })), + externals: k.externals, + externalsPresets: cloneObject(k.externalsPresets), + externalsType: k.externalsType, + ignoreWarnings: k.ignoreWarnings + ? k.ignoreWarnings.map((k) => { + if (typeof k === 'function') return k + const v = k instanceof RegExp ? { message: k } : k + return (k, { requestShortener: E }) => { + if (!v.message && !v.module && !v.file) return false + if (v.message && !v.message.test(k.message)) { + return false + } + if ( + v.module && + (!k.module || !v.module.test(k.module.readableIdentifier(E))) + ) { + return false + } + if (v.file && (!k.file || !v.file.test(k.file))) { + return false + } + return true + } + }) + : undefined, + infrastructureLogging: cloneObject(k.infrastructureLogging), + loader: cloneObject(k.loader), + mode: k.mode, + module: nestedConfig(k.module, (k) => ({ + noParse: k.noParse, + unsafeCache: k.unsafeCache, + parser: keyedNestedConfig(k.parser, cloneObject, { + javascript: (v) => ({ + unknownContextRequest: k.unknownContextRequest, + unknownContextRegExp: k.unknownContextRegExp, + unknownContextRecursive: k.unknownContextRecursive, + unknownContextCritical: k.unknownContextCritical, + exprContextRequest: k.exprContextRequest, + exprContextRegExp: k.exprContextRegExp, + exprContextRecursive: k.exprContextRecursive, + exprContextCritical: k.exprContextCritical, + wrappedContextRegExp: k.wrappedContextRegExp, + wrappedContextRecursive: k.wrappedContextRecursive, + wrappedContextCritical: k.wrappedContextCritical, + strictExportPresence: k.strictExportPresence, + strictThisContextOnImports: k.strictThisContextOnImports, + ...v, + }), + }), + generator: cloneObject(k.generator), + defaultRules: optionalNestedArray(k.defaultRules, (k) => [...k]), + rules: nestedArray(k.rules, (k) => [...k]), + })), + name: k.name, + node: nestedConfig(k.node, (k) => k && { ...k }), + optimization: nestedConfig(k.optimization, (k) => ({ + ...k, + runtimeChunk: getNormalizedOptimizationRuntimeChunk(k.runtimeChunk), + splitChunks: nestedConfig( + k.splitChunks, + (k) => + k && { + ...k, + defaultSizeTypes: k.defaultSizeTypes + ? [...k.defaultSizeTypes] + : ['...'], + cacheGroups: cloneObject(k.cacheGroups), + } + ), + emitOnErrors: + k.noEmitOnErrors !== undefined + ? R(k.noEmitOnErrors, k.emitOnErrors) + : k.emitOnErrors, + })), + output: nestedConfig(k.output, (k) => { + const { library: v } = k + const E = v + const P = + typeof v === 'object' && v && !Array.isArray(v) && 'type' in v + ? v + : E || k.libraryTarget + ? { name: E } + : undefined + const R = { + assetModuleFilename: k.assetModuleFilename, + asyncChunks: k.asyncChunks, + charset: k.charset, + chunkFilename: k.chunkFilename, + chunkFormat: k.chunkFormat, + chunkLoading: k.chunkLoading, + chunkLoadingGlobal: k.chunkLoadingGlobal, + chunkLoadTimeout: k.chunkLoadTimeout, + cssFilename: k.cssFilename, + cssChunkFilename: k.cssChunkFilename, + clean: k.clean, + compareBeforeEmit: k.compareBeforeEmit, + crossOriginLoading: k.crossOriginLoading, + devtoolFallbackModuleFilenameTemplate: + k.devtoolFallbackModuleFilenameTemplate, + devtoolModuleFilenameTemplate: k.devtoolModuleFilenameTemplate, + devtoolNamespace: k.devtoolNamespace, + environment: cloneObject(k.environment), + enabledChunkLoadingTypes: k.enabledChunkLoadingTypes + ? [...k.enabledChunkLoadingTypes] + : ['...'], + enabledLibraryTypes: k.enabledLibraryTypes + ? [...k.enabledLibraryTypes] + : ['...'], + enabledWasmLoadingTypes: k.enabledWasmLoadingTypes + ? [...k.enabledWasmLoadingTypes] + : ['...'], + filename: k.filename, + globalObject: k.globalObject, + hashDigest: k.hashDigest, + hashDigestLength: k.hashDigestLength, + hashFunction: k.hashFunction, + hashSalt: k.hashSalt, + hotUpdateChunkFilename: k.hotUpdateChunkFilename, + hotUpdateGlobal: k.hotUpdateGlobal, + hotUpdateMainFilename: k.hotUpdateMainFilename, + ignoreBrowserWarnings: k.ignoreBrowserWarnings, + iife: k.iife, + importFunctionName: k.importFunctionName, + importMetaName: k.importMetaName, + scriptType: k.scriptType, + library: P && { + type: k.libraryTarget !== undefined ? k.libraryTarget : P.type, + auxiliaryComment: + k.auxiliaryComment !== undefined + ? k.auxiliaryComment + : P.auxiliaryComment, + amdContainer: + k.amdContainer !== undefined ? k.amdContainer : P.amdContainer, + export: + k.libraryExport !== undefined ? k.libraryExport : P.export, + name: P.name, + umdNamedDefine: + k.umdNamedDefine !== undefined + ? k.umdNamedDefine + : P.umdNamedDefine, + }, + module: k.module, + path: k.path, + pathinfo: k.pathinfo, + publicPath: k.publicPath, + sourceMapFilename: k.sourceMapFilename, + sourcePrefix: k.sourcePrefix, + strictModuleExceptionHandling: k.strictModuleExceptionHandling, + trustedTypes: optionalNestedConfig(k.trustedTypes, (k) => { + if (k === true) return {} + if (typeof k === 'string') return { policyName: k } + return { ...k } + }), + uniqueName: k.uniqueName, + wasmLoading: k.wasmLoading, + webassemblyModuleFilename: k.webassemblyModuleFilename, + workerPublicPath: k.workerPublicPath, + workerChunkLoading: k.workerChunkLoading, + workerWasmLoading: k.workerWasmLoading, + } + return R + }), + parallelism: k.parallelism, + performance: optionalNestedConfig(k.performance, (k) => { + if (k === false) return false + return { ...k } + }), + plugins: nestedArray(k.plugins, (k) => [...k]), + profile: k.profile, + recordsInputPath: + k.recordsInputPath !== undefined ? k.recordsInputPath : k.recordsPath, + recordsOutputPath: + k.recordsOutputPath !== undefined + ? k.recordsOutputPath + : k.recordsPath, + resolve: nestedConfig(k.resolve, (k) => ({ + ...k, + byDependency: keyedNestedConfig(k.byDependency, cloneObject), + })), + resolveLoader: cloneObject(k.resolveLoader), + snapshot: nestedConfig(k.snapshot, (k) => ({ + resolveBuildDependencies: optionalNestedConfig( + k.resolveBuildDependencies, + (k) => ({ timestamp: k.timestamp, hash: k.hash }) + ), + buildDependencies: optionalNestedConfig(k.buildDependencies, (k) => ({ + timestamp: k.timestamp, + hash: k.hash, + })), + resolve: optionalNestedConfig(k.resolve, (k) => ({ + timestamp: k.timestamp, + hash: k.hash, + })), + module: optionalNestedConfig(k.module, (k) => ({ + timestamp: k.timestamp, + hash: k.hash, + })), + immutablePaths: optionalNestedArray(k.immutablePaths, (k) => [...k]), + managedPaths: optionalNestedArray(k.managedPaths, (k) => [...k]), + })), + stats: nestedConfig(k.stats, (k) => { + if (k === false) { + return { preset: 'none' } + } + if (k === true) { + return { preset: 'normal' } + } + if (typeof k === 'string') { + return { preset: k } + } + return { ...k } + }), + target: k.target, + watch: k.watch, + watchOptions: cloneObject(k.watchOptions), + }) + const getNormalizedEntryStatic = (k) => { + if (typeof k === 'string') { + return { main: { import: [k] } } + } + if (Array.isArray(k)) { + return { main: { import: k } } + } + const v = {} + for (const E of Object.keys(k)) { + const P = k[E] + if (typeof P === 'string') { + v[E] = { import: [P] } + } else if (Array.isArray(P)) { + v[E] = { import: P } + } else { + v[E] = { + import: + P.import && (Array.isArray(P.import) ? P.import : [P.import]), + filename: P.filename, + layer: P.layer, + runtime: P.runtime, + baseUri: P.baseUri, + publicPath: P.publicPath, + chunkLoading: P.chunkLoading, + asyncChunks: P.asyncChunks, + wasmLoading: P.wasmLoading, + dependOn: + P.dependOn && + (Array.isArray(P.dependOn) ? P.dependOn : [P.dependOn]), + library: P.library, + } + } + } + return v + } + const getNormalizedOptimizationRuntimeChunk = (k) => { + if (k === undefined) return undefined + if (k === false) return false + if (k === 'single') { + return { name: () => 'runtime' } + } + if (k === true || k === 'multiple') { + return { name: (k) => `runtime~${k.name}` } + } + const { name: v } = k + return { name: typeof v === 'function' ? v : () => v } + } + v.getNormalizedWebpackOptions = getNormalizedWebpackOptions + }, + 30391: function (k, v, E) { + 'use strict' + const P = E(20631) + const R = P(() => E(6305)) + const getDefaultTarget = (k) => { + const v = R().load(null, k) + return v ? 'browserslist' : 'web' + } + const versionDependent = (k, v) => { + if (!k) { + return () => undefined + } + const E = +k + const P = v ? +v : 0 + return (k, v = 0) => E > k || (E === k && P >= v) + } + const L = [ + [ + '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(?::(.+))?$/, + (k, v) => { + const E = R() + const P = E.load(k ? k.trim() : null, v) + if (!P) { + 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 E.resolve(P) + }, + ], + [ + 'web', + 'Web browser.', + /^web$/, + () => ({ + 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$/, + () => ({ + 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+))?)?$/, + (k, v, E) => { + const P = versionDependent(v, E) + return { + node: true, + electron: false, + nwjs: false, + web: false, + webworker: false, + browser: false, + require: !k, + nodeBuiltins: true, + global: true, + document: false, + fetchWasm: false, + importScripts: false, + importScriptsInWorker: false, + globalThis: P(12), + const: P(6), + templateLiteral: P(4), + optionalChaining: P(14), + arrowFunction: P(6), + forOf: P(5), + destructuring: P(6), + bigIntLiteral: P(10, 4), + dynamicImport: P(12, 17), + dynamicImportInWorker: v ? false : undefined, + module: P(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)$/, + (k, v, E) => { + const P = versionDependent(k, v) + return { + node: true, + electron: true, + web: E !== 'main', + webworker: false, + browser: false, + nwjs: false, + electronMain: E === 'main', + electronPreload: E === 'preload', + electronRenderer: E === 'renderer', + global: true, + nodeBuiltins: true, + require: true, + document: E === 'renderer', + fetchWasm: E === 'renderer', + importScripts: false, + importScriptsInWorker: true, + globalThis: P(5), + const: P(1, 1), + templateLiteral: P(1, 1), + optionalChaining: P(8), + arrowFunction: P(1, 1), + forOf: P(0, 36), + destructuring: P(1, 1), + bigIntLiteral: P(4), + dynamicImport: P(11), + dynamicImportInWorker: k ? false : undefined, + module: P(11), + } + }, + ], + [ + 'nwjs[X[.Y]] / node-webkit[X[.Y]]', + 'NW.js in version X.Y.', + /^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/, + (k, v) => { + const E = versionDependent(k, v) + 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: E(0, 43), + const: E(0, 15), + templateLiteral: E(0, 13), + optionalChaining: E(0, 44), + arrowFunction: E(0, 15), + forOf: E(0, 13), + destructuring: E(0, 15), + bigIntLiteral: E(0, 32), + dynamicImport: E(0, 43), + dynamicImportInWorker: k ? false : undefined, + module: E(0, 43), + } + }, + ], + [ + 'esX', + 'EcmaScript in this version. Examples: es2020, es5.', + /^es(\d+)$/, + (k) => { + let v = +k + if (v < 1e3) v = v + 2009 + return { + const: v >= 2015, + templateLiteral: v >= 2015, + optionalChaining: v >= 2020, + arrowFunction: v >= 2015, + forOf: v >= 2015, + destructuring: v >= 2015, + module: v >= 2015, + globalThis: v >= 2020, + bigIntLiteral: v >= 2020, + dynamicImport: v >= 2020, + dynamicImportInWorker: v >= 2020, + } + }, + ], + ] + const getTargetProperties = (k, v) => { + for (const [, , E, P] of L) { + const R = E.exec(k) + if (R) { + const [, ...k] = R + const E = P(...k, v) + if (E) return E + } + } + throw new Error( + `Unknown target '${k}'. The following targets are supported:\n${L.map( + ([k, v]) => `* ${k}: ${v}` + ).join('\n')}` + ) + } + const mergeTargetProperties = (k) => { + const v = new Set() + for (const E of k) { + for (const k of Object.keys(E)) { + v.add(k) + } + } + const E = {} + for (const P of v) { + let v = false + let R = false + for (const E of k) { + const k = E[P] + switch (k) { + case true: + v = true + break + case false: + R = true + break + } + } + if (v || R) E[P] = R && v ? null : v ? true : false + } + return E + } + const getTargetsProperties = (k, v) => + mergeTargetProperties(k.map((k) => getTargetProperties(k, v))) + v.getDefaultTarget = getDefaultTarget + v.getTargetProperties = getTargetProperties + v.getTargetsProperties = getTargetsProperties + }, + 22886: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(58528) + class ContainerEntryDependency extends P { + constructor(k, v, E) { + super() + this.name = k + this.exposes = v + this.shareScope = E + } + getResourceIdentifier() { + return `container-entry-${this.name}` + } + get type() { + return 'container entry' + } + get category() { + return 'esm' + } + } + R( + ContainerEntryDependency, + 'webpack/lib/container/ContainerEntryDependency' + ) + k.exports = ContainerEntryDependency + }, + 4268: function (k, v, E) { + 'use strict' + const { OriginalSource: P, RawSource: R } = E(51255) + const L = E(75081) + const N = E(88396) + const { JAVASCRIPT_MODULE_TYPE_DYNAMIC: q } = E(93622) + const ae = E(56727) + const le = E(95041) + const pe = E(93414) + const me = E(58528) + const ye = E(85455) + const _e = new Set(['javascript']) + class ContainerEntryModule extends N { + constructor(k, v, E) { + super(q, null) + this._name = k + this._exposes = v + this._shareScope = E + } + getSourceTypes() { + return _e + } + identifier() { + return `container entry (${this._shareScope}) ${JSON.stringify( + this._exposes + )}` + } + readableIdentifier(k) { + return `container entry` + } + libIdent(k) { + return `${ + this.layer ? `(${this.layer})/` : '' + }webpack/container/entry/${this._name}` + } + needBuild(k, v) { + return v(null, !this.buildMeta) + } + build(k, v, E, P, R) { + this.buildMeta = {} + this.buildInfo = { + strict: true, + topLevelDeclarations: new Set(['moduleMap', 'get', 'init']), + } + this.buildMeta.exportsType = 'namespace' + this.clearDependenciesAndBlocks() + for (const [k, v] of this._exposes) { + const E = new L( + { name: v.name }, + { name: k }, + v.import[v.import.length - 1] + ) + let P = 0 + for (const R of v.import) { + const v = new ye(k, R) + v.loc = { name: k, index: P++ } + E.addDependency(v) + } + this.addBlock(E) + } + this.addDependency(new pe(['get', 'init'], false)) + R() + } + codeGeneration({ moduleGraph: k, chunkGraph: v, runtimeTemplate: E }) { + const L = new Map() + const N = new Set([ + ae.definePropertyGetters, + ae.hasOwnProperty, + ae.exports, + ]) + const q = [] + for (const P of this.blocks) { + const { dependencies: R } = P + const L = R.map((v) => { + const E = v + return { + name: E.exposedName, + module: k.getModule(E), + request: E.userRequest, + } + }) + let ae + if (L.some((k) => !k.module)) { + ae = E.throwMissingModuleErrorBlock({ + request: L.map((k) => k.request).join(', '), + }) + } else { + ae = `return ${E.blockPromise({ + block: P, + message: '', + chunkGraph: v, + runtimeRequirements: N, + })}.then(${E.returningFunction( + E.returningFunction( + `(${L.map(({ module: k, request: P }) => + E.moduleRaw({ + module: k, + chunkGraph: v, + request: P, + weak: false, + runtimeRequirements: N, + }) + ).join(', ')})` + ) + )});` + } + q.push(`${JSON.stringify(L[0].name)}: ${E.basicFunction('', ae)}`) + } + const pe = le.asString([ + `var moduleMap = {`, + le.indent(q.join(',\n')), + '};', + `var get = ${E.basicFunction('module, getScope', [ + `${ae.currentRemoteGetScope} = getScope;`, + 'getScope = (', + le.indent([ + `${ae.hasOwnProperty}(moduleMap, module)`, + le.indent([ + '? moduleMap[module]()', + `: Promise.resolve().then(${E.basicFunction( + '', + "throw new Error('Module \"' + module + '\" does not exist in container.');" + )})`, + ]), + ]), + ');', + `${ae.currentRemoteGetScope} = undefined;`, + 'return getScope;', + ])};`, + `var init = ${E.basicFunction('shareScope, initScope', [ + `if (!${ae.shareScopeMap}) return;`, + `var name = ${JSON.stringify(this._shareScope)}`, + `var oldScope = ${ae.shareScopeMap}[name];`, + `if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`, + `${ae.shareScopeMap}[name] = shareScope;`, + `return ${ae.initializeSharing}(name, initScope);`, + ])};`, + '', + '// This exports getters to disallow modifications', + `${ae.definePropertyGetters}(exports, {`, + le.indent([ + `get: ${E.returningFunction('get')},`, + `init: ${E.returningFunction('init')}`, + ]), + '});', + ]) + L.set( + 'javascript', + this.useSourceMap || this.useSimpleSourceMap + ? new P(pe, 'webpack/container-entry') + : new R(pe) + ) + return { sources: L, runtimeRequirements: N } + } + size(k) { + return 42 + } + serialize(k) { + const { write: v } = k + v(this._name) + v(this._exposes) + v(this._shareScope) + super.serialize(k) + } + static deserialize(k) { + const { read: v } = k + const E = new ContainerEntryModule(v(), v(), v()) + E.deserialize(k) + return E + } + } + me(ContainerEntryModule, 'webpack/lib/container/ContainerEntryModule') + k.exports = ContainerEntryModule + }, + 70929: function (k, v, E) { + 'use strict' + const P = E(66043) + const R = E(4268) + k.exports = class ContainerEntryModuleFactory extends P { + create({ dependencies: [k] }, v) { + const E = k + v(null, { module: new R(E.name, E.exposes, E.shareScope) }) + } + } + }, + 85455: function (k, v, E) { + 'use strict' + const P = E(77373) + const R = E(58528) + class ContainerExposedDependency extends P { + constructor(k, v) { + super(v) + this.exposedName = k + } + get type() { + return 'container exposed' + } + get category() { + return 'esm' + } + getResourceIdentifier() { + return `exposed dependency ${this.exposedName}=${this.request}` + } + serialize(k) { + k.write(this.exposedName) + super.serialize(k) + } + deserialize(k) { + this.exposedName = k.read() + super.deserialize(k) + } + } + R( + ContainerExposedDependency, + 'webpack/lib/container/ContainerExposedDependency' + ) + k.exports = ContainerExposedDependency + }, + 59826: function (k, v, E) { + 'use strict' + const P = E(92198) + const R = E(22886) + const L = E(70929) + const N = E(85455) + const { parseOptions: q } = E(34869) + const ae = P(E(50807), () => E(97253), { + name: 'Container Plugin', + baseDataPath: 'options', + }) + const le = 'ContainerPlugin' + class ContainerPlugin { + constructor(k) { + ae(k) + this._options = { + name: k.name, + shareScope: k.shareScope || 'default', + library: k.library || { type: 'var', name: k.name }, + runtime: k.runtime, + filename: k.filename || undefined, + exposes: q( + k.exposes, + (k) => ({ import: Array.isArray(k) ? k : [k], name: undefined }), + (k) => ({ + import: Array.isArray(k.import) ? k.import : [k.import], + name: k.name || undefined, + }) + ), + } + } + apply(k) { + const { + name: v, + exposes: E, + shareScope: P, + filename: q, + library: ae, + runtime: pe, + } = this._options + if (!k.options.output.enabledLibraryTypes.includes(ae.type)) { + k.options.output.enabledLibraryTypes.push(ae.type) + } + k.hooks.make.tapAsync(le, (k, L) => { + const N = new R(v, E, P) + N.loc = { name: v } + k.addEntry( + k.options.context, + N, + { name: v, filename: q, runtime: pe, library: ae }, + (k) => { + if (k) return L(k) + L() + } + ) + }) + k.hooks.thisCompilation.tap(le, (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(R, new L()) + k.dependencyFactories.set(N, v) + }) + } + } + k.exports = ContainerPlugin + }, + 10223: function (k, v, E) { + 'use strict' + const P = E(53757) + const R = E(56727) + const L = E(92198) + const N = E(52030) + const q = E(37119) + const ae = E(85961) + const le = E(39878) + const pe = E(63142) + const me = E(51691) + const { parseOptions: ye } = E(34869) + const _e = L(E(19152), () => E(52899), { + name: 'Container Reference Plugin', + baseDataPath: 'options', + }) + const Ie = '/'.charCodeAt(0) + class ContainerReferencePlugin { + constructor(k) { + _e(k) + this._remoteType = k.remoteType + this._remotes = ye( + k.remotes, + (v) => ({ + external: Array.isArray(v) ? v : [v], + shareScope: k.shareScope || 'default', + }), + (v) => ({ + external: Array.isArray(v.external) ? v.external : [v.external], + shareScope: v.shareScope || k.shareScope || 'default', + }) + ) + } + apply(k) { + const { _remotes: v, _remoteType: E } = this + const L = {} + for (const [k, E] of v) { + let v = 0 + for (const P of E.external) { + if (P.startsWith('internal ')) continue + L[ + `webpack/container/reference/${k}${v ? `/fallback-${v}` : ''}` + ] = P + v++ + } + } + new P(E, L).apply(k) + k.hooks.compilation.tap( + 'ContainerReferencePlugin', + (k, { normalModuleFactory: E }) => { + k.dependencyFactories.set(me, E) + k.dependencyFactories.set(q, E) + k.dependencyFactories.set(N, new ae()) + E.hooks.factorize.tap('ContainerReferencePlugin', (k) => { + if (!k.request.includes('!')) { + for (const [E, P] of v) { + if ( + k.request.startsWith(`${E}`) && + (k.request.length === E.length || + k.request.charCodeAt(E.length) === Ie) + ) { + return new le( + k.request, + P.external.map((k, v) => + k.startsWith('internal ') + ? k.slice(9) + : `webpack/container/reference/${E}${ + v ? `/fallback-${v}` : '' + }` + ), + `.${k.request.slice(E.length)}`, + P.shareScope + ) + } + } + } + }) + k.hooks.runtimeRequirementInTree + .for(R.ensureChunkHandlers) + .tap('ContainerReferencePlugin', (v, E) => { + E.add(R.module) + E.add(R.moduleFactoriesAddOnly) + E.add(R.hasOwnProperty) + E.add(R.initializeSharing) + E.add(R.shareScopeMap) + k.addRuntimeModule(v, new pe()) + }) + } + ) + } + } + k.exports = ContainerReferencePlugin + }, + 52030: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(58528) + class FallbackDependency extends P { + constructor(k) { + super() + this.requests = k + } + getResourceIdentifier() { + return `fallback ${this.requests.join(' ')}` + } + get type() { + return 'fallback' + } + get category() { + return 'esm' + } + serialize(k) { + const { write: v } = k + v(this.requests) + super.serialize(k) + } + static deserialize(k) { + const { read: v } = k + const E = new FallbackDependency(v()) + E.deserialize(k) + return E + } + } + R(FallbackDependency, 'webpack/lib/container/FallbackDependency') + k.exports = FallbackDependency + }, + 37119: function (k, v, E) { + 'use strict' + const P = E(77373) + const R = E(58528) + class FallbackItemDependency extends P { + constructor(k) { + super(k) + } + get type() { + return 'fallback item' + } + get category() { + return 'esm' + } + } + R(FallbackItemDependency, 'webpack/lib/container/FallbackItemDependency') + k.exports = FallbackItemDependency + }, + 7583: function (k, v, E) { + 'use strict' + const { RawSource: P } = E(51255) + const R = E(88396) + const { WEBPACK_MODULE_TYPE_FALLBACK: L } = E(93622) + const N = E(56727) + const q = E(95041) + const ae = E(58528) + const le = E(37119) + const pe = new Set(['javascript']) + const me = new Set([N.module]) + class FallbackModule extends R { + constructor(k) { + super(L) + this.requests = k + this._identifier = `fallback ${this.requests.join(' ')}` + } + identifier() { + return this._identifier + } + readableIdentifier(k) { + return this._identifier + } + libIdent(k) { + return `${ + this.layer ? `(${this.layer})/` : '' + }webpack/container/fallback/${this.requests[0]}/and ${ + this.requests.length - 1 + } more` + } + chunkCondition(k, { chunkGraph: v }) { + return v.getNumberOfEntryModules(k) > 0 + } + needBuild(k, v) { + v(null, !this.buildInfo) + } + build(k, v, E, P, R) { + this.buildMeta = {} + this.buildInfo = { strict: true } + this.clearDependenciesAndBlocks() + for (const k of this.requests) this.addDependency(new le(k)) + R() + } + size(k) { + return this.requests.length * 5 + 42 + } + getSourceTypes() { + return pe + } + codeGeneration({ runtimeTemplate: k, moduleGraph: v, chunkGraph: E }) { + const R = this.dependencies.map((k) => E.getModuleId(v.getModule(k))) + const L = q.asString([ + `var ids = ${JSON.stringify(R)};`, + 'var error, result, i = 0;', + `var loop = ${k.basicFunction('next', [ + 'while(i < ids.length) {', + q.indent([ + `try { next = ${N.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 = ${k.basicFunction('result', [ + 'if(result) return result;', + 'return loop();', + ])};`, + `var handleError = ${k.basicFunction('e', [ + 'error = e;', + 'return loop();', + ])};`, + 'module.exports = loop();', + ]) + const ae = new Map() + ae.set('javascript', new P(L)) + return { sources: ae, runtimeRequirements: me } + } + serialize(k) { + const { write: v } = k + v(this.requests) + super.serialize(k) + } + static deserialize(k) { + const { read: v } = k + const E = new FallbackModule(v()) + E.deserialize(k) + return E + } + } + ae(FallbackModule, 'webpack/lib/container/FallbackModule') + k.exports = FallbackModule + }, + 85961: function (k, v, E) { + 'use strict' + const P = E(66043) + const R = E(7583) + k.exports = class FallbackModuleFactory extends P { + create({ dependencies: [k] }, v) { + const E = k + v(null, { module: new R(E.requests) }) + } + } + }, + 71863: function (k, v, E) { + 'use strict' + const P = E(50153) + const R = E(38084) + const L = E(92198) + const N = E(59826) + const q = E(10223) + const ae = L(E(13038), () => E(80707), { + name: 'Module Federation Plugin', + baseDataPath: 'options', + }) + class ModuleFederationPlugin { + constructor(k) { + ae(k) + this._options = k + } + apply(k) { + const { _options: v } = this + const E = v.library || { type: 'var', name: v.name } + const L = + v.remoteType || + (v.library && P(v.library.type) ? v.library.type : 'script') + if (E && !k.options.output.enabledLibraryTypes.includes(E.type)) { + k.options.output.enabledLibraryTypes.push(E.type) + } + k.hooks.afterPlugins.tap('ModuleFederationPlugin', () => { + if ( + v.exposes && + (Array.isArray(v.exposes) + ? v.exposes.length > 0 + : Object.keys(v.exposes).length > 0) + ) { + new N({ + name: v.name, + library: E, + filename: v.filename, + runtime: v.runtime, + shareScope: v.shareScope, + exposes: v.exposes, + }).apply(k) + } + if ( + v.remotes && + (Array.isArray(v.remotes) + ? v.remotes.length > 0 + : Object.keys(v.remotes).length > 0) + ) { + new q({ + remoteType: L, + shareScope: v.shareScope, + remotes: v.remotes, + }).apply(k) + } + if (v.shared) { + new R({ shared: v.shared, shareScope: v.shareScope }).apply(k) + } + }) + } + } + k.exports = ModuleFederationPlugin + }, + 39878: function (k, v, E) { + 'use strict' + const { RawSource: P } = E(51255) + const R = E(88396) + const { WEBPACK_MODULE_TYPE_REMOTE: L } = E(93622) + const N = E(56727) + const q = E(58528) + const ae = E(52030) + const le = E(51691) + const pe = new Set(['remote', 'share-init']) + const me = new Set([N.module]) + class RemoteModule extends R { + constructor(k, v, E, P) { + super(L) + this.request = k + this.externalRequests = v + this.internalRequest = E + this.shareScope = P + this._identifier = `remote (${P}) ${this.externalRequests.join( + ' ' + )} ${this.internalRequest}` + } + identifier() { + return this._identifier + } + readableIdentifier(k) { + return `remote ${this.request}` + } + libIdent(k) { + return `${ + this.layer ? `(${this.layer})/` : '' + }webpack/container/remote/${this.request}` + } + needBuild(k, v) { + v(null, !this.buildInfo) + } + build(k, v, E, P, R) { + this.buildMeta = {} + this.buildInfo = { strict: true } + this.clearDependenciesAndBlocks() + if (this.externalRequests.length === 1) { + this.addDependency(new le(this.externalRequests[0])) + } else { + this.addDependency(new ae(this.externalRequests)) + } + R() + } + size(k) { + return 6 + } + getSourceTypes() { + return pe + } + nameForCondition() { + return this.request + } + codeGeneration({ runtimeTemplate: k, moduleGraph: v, chunkGraph: E }) { + const R = v.getModule(this.dependencies[0]) + const L = R && E.getModuleId(R) + const N = new Map() + N.set('remote', new P('')) + const q = new Map() + q.set('share-init', [ + { + shareScope: this.shareScope, + initStage: 20, + init: + L === undefined ? '' : `initExternal(${JSON.stringify(L)});`, + }, + ]) + return { sources: N, data: q, runtimeRequirements: me } + } + serialize(k) { + const { write: v } = k + v(this.request) + v(this.externalRequests) + v(this.internalRequest) + v(this.shareScope) + super.serialize(k) + } + static deserialize(k) { + const { read: v } = k + const E = new RemoteModule(v(), v(), v(), v()) + E.deserialize(k) + return E + } + } + q(RemoteModule, 'webpack/lib/container/RemoteModule') + k.exports = RemoteModule + }, + 63142: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class RemoteRuntimeModule extends R { + constructor() { + super('remotes loading') + } + generate() { + const { compilation: k, chunkGraph: v } = this + const { runtimeTemplate: E, moduleGraph: R } = k + const N = {} + const q = {} + for (const k of this.chunk.getAllAsyncChunks()) { + const E = v.getChunkModulesIterableBySourceType(k, 'remote') + if (!E) continue + const P = (N[k.id] = []) + for (const k of E) { + const E = k + const L = E.internalRequest + const N = v.getModuleId(E) + const ae = E.shareScope + const le = E.dependencies[0] + const pe = R.getModule(le) + const me = pe && v.getModuleId(pe) + P.push(N) + q[N] = [ae, L, me] + } + } + return L.asString([ + `var chunkMapping = ${JSON.stringify(N, null, '\t')};`, + `var idToExternalAndNameMapping = ${JSON.stringify( + q, + null, + '\t' + )};`, + `${P.ensureChunkHandlers}.remotes = ${E.basicFunction( + 'chunkId, promises', + [ + `if(${P.hasOwnProperty}(chunkMapping, chunkId)) {`, + L.indent([ + `chunkMapping[chunkId].forEach(${E.basicFunction('id', [ + `var getScope = ${P.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")', + L.indent( + `error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];` + ), + `${P.moduleFactories}[id] = ${E.basicFunction('', [ + 'throw error;', + ])}`, + 'data.p = 0;', + ])};`, + `var handleFunction = ${E.basicFunction( + 'fn, arg1, arg2, d, next, first', + [ + 'try {', + L.indent([ + 'var promise = fn(arg1, arg2);', + 'if(promise && promise.then) {', + L.indent([ + `var p = promise.then(${E.returningFunction( + 'next(result, d)', + 'result' + )}, onError);`, + `if(first) promises.push(data.p = p); else return p;`, + ]), + '} else {', + L.indent(['return next(promise, d, first);']), + '}', + ]), + '} catch(error) {', + L.indent(['onError(error);']), + '}', + ] + )}`, + `var onExternal = ${E.returningFunction( + `external ? handleFunction(${P.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;', + `${P.moduleFactories}[id] = ${E.basicFunction('module', [ + 'module.exports = factory();', + ])}`, + ])};`, + `handleFunction(${P.require}, data[2], 0, 0, onExternal, 1);`, + ])});`, + ]), + '}', + ] + )}`, + ]) + } + } + k.exports = RemoteRuntimeModule + }, + 51691: function (k, v, E) { + 'use strict' + const P = E(77373) + const R = E(58528) + class RemoteToExternalDependency extends P { + constructor(k) { + super(k) + } + get type() { + return 'remote to external' + } + get category() { + return 'esm' + } + } + R( + RemoteToExternalDependency, + 'webpack/lib/container/RemoteToExternalDependency' + ) + k.exports = RemoteToExternalDependency + }, + 34869: function (k, v) { + 'use strict' + const process = (k, v, E, P) => { + const array = (k) => { + for (const E of k) { + if (typeof E === 'string') { + P(E, v(E, E)) + } else if (E && typeof E === 'object') { + object(E) + } else { + throw new Error('Unexpected options format') + } + } + } + const object = (k) => { + for (const [R, L] of Object.entries(k)) { + if (typeof L === 'string' || Array.isArray(L)) { + P(R, v(L, R)) + } else { + P(R, E(L, R)) + } + } + } + if (!k) { + return + } else if (Array.isArray(k)) { + array(k) + } else if (typeof k === 'object') { + object(k) + } else { + throw new Error('Unexpected options format') + } + } + const parseOptions = (k, v, E) => { + const P = [] + process(k, v, E, (k, v) => { + P.push([k, v]) + }) + return P + } + const scope = (k, v) => { + const E = {} + process( + v, + (k) => k, + (k) => k, + (v, P) => { + E[v.startsWith('./') ? `${k}${v.slice(1)}` : `${k}/${v}`] = P + } + ) + return E + } + v.parseOptions = parseOptions + v.scope = scope + }, + 97766: function (k, v, E) { + 'use strict' + const { ReplaceSource: P, RawSource: R, ConcatSource: L } = E(51255) + const { UsageState: N } = E(11172) + const q = E(91597) + const ae = E(56727) + const le = E(95041) + const pe = new Set(['javascript']) + class CssExportsGenerator extends q { + constructor() { + super() + } + generate(k, v) { + const E = new P(new R('')) + const q = [] + const pe = new Map() + v.runtimeRequirements.add(ae.module) + const me = new Set() + const ye = { + runtimeTemplate: v.runtimeTemplate, + dependencyTemplates: v.dependencyTemplates, + moduleGraph: v.moduleGraph, + chunkGraph: v.chunkGraph, + module: k, + runtime: v.runtime, + runtimeRequirements: me, + concatenationScope: v.concatenationScope, + codeGenerationResults: v.codeGenerationResults, + initFragments: q, + cssExports: pe, + } + const handleDependency = (k) => { + const P = k.constructor + const R = v.dependencyTemplates.get(P) + if (!R) { + throw new Error( + 'No template for dependency: ' + k.constructor.name + ) + } + R.apply(k, E, ye) + } + k.dependencies.forEach(handleDependency) + if (v.concatenationScope) { + const k = new L() + const E = new Set() + for (const [P, R] of pe) { + let L = le.toIdentifier(P) + let N = 0 + while (E.has(L)) { + L = le.toIdentifier(P + N) + } + E.add(L) + v.concatenationScope.registerExport(P, L) + k.add( + `${ + v.runtimeTemplate.supportsConst ? 'const' : 'var' + } ${L} = ${JSON.stringify(R)};\n` + ) + } + return k + } else { + const E = + v.moduleGraph + .getExportsInfo(k) + .otherExportsInfo.getUsed(v.runtime) !== N.Unused + if (E) { + v.runtimeRequirements.add(ae.makeNamespaceObject) + } + return new R( + `${E ? `${ae.makeNamespaceObject}(` : ''}${ + k.moduleArgument + }.exports = {\n${Array.from( + pe, + ([k, v]) => `\t${JSON.stringify(k)}: ${JSON.stringify(v)}` + ).join(',\n')}\n}${E ? ')' : ''};` + ) + } + } + getTypes(k) { + return pe + } + getSize(k, v) { + return 42 + } + updateHash(k, { module: v }) {} + } + k.exports = CssExportsGenerator + }, + 65956: function (k, v, E) { + 'use strict' + const { ReplaceSource: P } = E(51255) + const R = E(91597) + const L = E(88113) + const N = E(56727) + const q = new Set(['css']) + class CssGenerator extends R { + constructor() { + super() + } + generate(k, v) { + const E = k.originalSource() + const R = new P(E) + const q = [] + const ae = new Map() + v.runtimeRequirements.add(N.hasCssModules) + const le = { + runtimeTemplate: v.runtimeTemplate, + dependencyTemplates: v.dependencyTemplates, + moduleGraph: v.moduleGraph, + chunkGraph: v.chunkGraph, + module: k, + runtime: v.runtime, + runtimeRequirements: v.runtimeRequirements, + concatenationScope: v.concatenationScope, + codeGenerationResults: v.codeGenerationResults, + initFragments: q, + cssExports: ae, + } + const handleDependency = (k) => { + const E = k.constructor + const P = v.dependencyTemplates.get(E) + if (!P) { + throw new Error( + 'No template for dependency: ' + k.constructor.name + ) + } + P.apply(k, R, le) + } + k.dependencies.forEach(handleDependency) + if (k.presentationalDependencies !== undefined) + k.presentationalDependencies.forEach(handleDependency) + if (ae.size > 0) { + const k = v.getData() + k.set('css-exports', ae) + } + return L.addToSource(R, q, v) + } + getTypes(k) { + return q + } + getSize(k, v) { + const E = k.originalSource() + if (!E) { + return 0 + } + return E.size() + } + updateHash(k, { module: v }) {} + } + k.exports = CssGenerator + }, + 3483: function (k, v, E) { + 'use strict' + const { SyncWaterfallHook: P } = E(79846) + const R = E(27747) + const L = E(56727) + const N = E(27462) + const q = E(95041) + const ae = E(21751) + const { chunkHasCss: le } = E(76395) + const pe = new WeakMap() + class CssLoadingRuntimeModule extends N { + static getCompilationHooks(k) { + if (!(k instanceof R)) { + throw new TypeError( + "The 'compilation' argument must be an instance of Compilation" + ) + } + let v = pe.get(k) + if (v === undefined) { + v = { createStylesheet: new P(['source', 'chunk']) } + pe.set(k, v) + } + return v + } + constructor(k) { + super('css loading', 10) + this._runtimeRequirements = k + } + generate() { + const { compilation: k, chunk: v, _runtimeRequirements: E } = this + const { + chunkGraph: P, + runtimeTemplate: R, + outputOptions: { + crossOriginLoading: N, + uniqueName: pe, + chunkLoadTimeout: me, + }, + } = k + const ye = L.ensureChunkHandlers + const _e = P.getChunkConditionMap( + v, + (k, v) => !!v.getChunkModulesIterableBySourceType(k, 'css') + ) + const Ie = ae(_e) + const Me = E.has(L.ensureChunkHandlers) && Ie !== false + const Te = E.has(L.hmrDownloadUpdateHandlers) + const je = new Set() + const Ne = new Set() + for (const k of v.getAllInitialChunks()) { + ;(le(k, P) ? je : Ne).add(k.id) + } + if (!Me && !Te && je.size === 0) { + return null + } + const { createStylesheet: Be } = + CssLoadingRuntimeModule.getCompilationHooks(k) + const qe = Te ? `${L.hmrRuntimeStatePrefix}_css` : undefined + const Ue = q.asString([ + "link = document.createElement('link');", + pe + ? 'link.setAttribute("data-webpack", uniqueName + ":" + key);' + : '', + 'link.setAttribute(loadingAttribute, 1);', + 'link.rel = "stylesheet";', + 'link.href = url;', + N + ? N === 'use-credentials' + ? 'link.crossOrigin = "use-credentials";' + : q.asString([ + "if (link.href.indexOf(window.location.origin + '/') !== 0) {", + q.indent(`link.crossOrigin = ${JSON.stringify(N)};`), + '}', + ]) + : '', + ]) + const cc = (k) => k.charCodeAt(0) + return q.asString([ + '// object to store loaded and loading chunks', + '// undefined = chunk not loaded, null = chunk preloaded/prefetched', + '// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded', + `var installedChunks = ${ + qe ? `${qe} = ${qe} || ` : '' + }{${Array.from(Ne, (k) => `${JSON.stringify(k)}:0`).join(',')}};`, + '', + pe + ? `var uniqueName = ${JSON.stringify( + R.outputOptions.uniqueName + )};` + : '// data-webpack is not used as build has no uniqueName', + `var loadCssChunkData = ${R.basicFunction('target, link, chunkId', [ + `var data, token = "", token2, exports = {}, exportsWithId = [], exportsWithDashes = [], ${ + Te ? 'moduleIds = [], ' : '' + }i = 0, cc = 1;`, + 'try { if(!link) link = loadStylesheet(chunkId); data = link.sheet.cssRules; data = data[data.length - 1].style; } catch(e) { data = getComputedStyle(document.head); }', + `data = data.getPropertyValue(${ + pe + ? R.concatenation('--webpack-', { expr: 'uniqueName' }, '-', { + expr: 'chunkId', + }) + : R.concatenation('--webpack-', { expr: 'chunkId' }) + });`, + 'if(!data) return [];', + 'for(; cc; i++) {', + q.indent([ + 'cc = data.charCodeAt(i);', + `if(cc == ${cc('(')}) { token2 = token; token = ""; }`, + `else if(cc == ${cc( + ')' + )}) { exports[token2.replace(/^_/, "")] = token.replace(/^_/, ""); token = ""; }`, + `else if(cc == ${cc('/')} || cc == ${cc( + '%' + )}) { token = token.replace(/^_/, ""); exports[token] = token; exportsWithId.push(token); if(cc == ${cc( + '%' + )}) exportsWithDashes.push(token); token = ""; }`, + `else if(!cc || cc == ${cc( + ',' + )}) { token = token.replace(/^_/, ""); exportsWithId.forEach(${R.expressionFunction( + `exports[x] = ${ + pe + ? R.concatenation( + { expr: 'uniqueName' }, + '-', + { expr: 'token' }, + '-', + { expr: 'exports[x]' } + ) + : R.concatenation({ expr: 'token' }, '-', { + expr: 'exports[x]', + }) + }`, + 'x' + )}); exportsWithDashes.forEach(${R.expressionFunction( + `exports[x] = "--" + exports[x]`, + 'x' + )}); ${ + L.makeNamespaceObject + }(exports); target[token] = (${R.basicFunction( + 'exports, module', + `module.exports = exports;` + )}).bind(null, exports); ${ + Te ? 'moduleIds.push(token); ' : '' + }token = ""; exports = {}; exportsWithId.length = 0; }`, + `else if(cc == ${cc('\\')}) { token += data[++i] }`, + `else { token += data[i]; }`, + ]), + '}', + `${ + Te ? `if(target == ${L.moduleFactories}) ` : '' + }installedChunks[chunkId] = 0;`, + Te ? 'return moduleIds;' : '', + ])}`, + 'var loadingAttribute = "data-webpack-loading";', + `var loadStylesheet = ${R.basicFunction( + 'chunkId, url, done' + (Te ? ', hmr' : ''), + [ + 'var link, needAttach, key = "chunk-" + chunkId;', + Te ? 'if(!hmr) {' : '', + 'var links = document.getElementsByTagName("link");', + 'for(var i = 0; i < links.length; i++) {', + q.indent([ + 'var l = links[i];', + `if(l.rel == "stylesheet" && (${ + Te + ? 'l.href.startsWith(url) || l.getAttribute("href").startsWith(url)' + : 'l.href == url || l.getAttribute("href") == url' + }${ + pe + ? ' || l.getAttribute("data-webpack") == uniqueName + ":" + key' + : '' + })) { link = l; break; }`, + ]), + '}', + 'if(!done) return link;', + Te ? '}' : '', + 'if(!link) {', + q.indent(['needAttach = true;', Be.call(Ue, this.chunk)]), + '}', + `var onLinkComplete = ${R.basicFunction( + 'prev, event', + q.asString([ + 'link.onerror = link.onload = null;', + 'link.removeAttribute(loadingAttribute);', + 'clearTimeout(timeout);', + 'if(event && event.type != "load") link.parentNode.removeChild(link)', + 'done(event);', + 'if(prev) return prev(event);', + ]) + )};`, + 'if(link.getAttribute(loadingAttribute)) {', + q.indent([ + `var timeout = setTimeout(onLinkComplete.bind(null, undefined, { type: 'timeout', target: link }), ${me});`, + 'link.onerror = onLinkComplete.bind(null, link.onerror);', + 'link.onload = onLinkComplete.bind(null, link.onload);', + ]), + "} else onLinkComplete(undefined, { type: 'load', target: link });", + Te ? 'hmr ? document.head.insertBefore(link, hmr) :' : '', + 'needAttach && document.head.appendChild(link);', + 'return link;', + ] + )};`, + je.size > 2 + ? `${JSON.stringify( + Array.from(je) + )}.forEach(loadCssChunkData.bind(null, ${ + L.moduleFactories + }, 0));` + : je.size > 0 + ? `${Array.from( + je, + (k) => + `loadCssChunkData(${L.moduleFactories}, 0, ${JSON.stringify( + k + )});` + ).join('')}` + : '// no initial css', + '', + Me + ? q.asString([ + `${ye}.css = ${R.basicFunction('chunkId, promises', [ + '// css chunk loading', + `var installedChunkData = ${L.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`, + 'if(installedChunkData !== 0) { // 0 means "already installed".', + q.indent([ + '', + '// a Promise means "currently loading".', + 'if(installedChunkData) {', + q.indent(['promises.push(installedChunkData[2]);']), + '} else {', + q.indent([ + Ie === true + ? 'if(true) { // all chunks have CSS' + : `if(${Ie('chunkId')}) {`, + q.indent([ + '// setup Promise in chunk cache', + `var promise = new Promise(${R.expressionFunction( + `installedChunkData = installedChunks[chunkId] = [resolve, reject]`, + 'resolve, reject' + )});`, + 'promises.push(installedChunkData[2] = promise);', + '', + '// start chunk loading', + `var url = ${L.publicPath} + ${L.getChunkCssFilename}(chunkId);`, + '// create error before stack unwound to get useful stacktrace later', + 'var error = new Error();', + `var loadingEnded = ${R.basicFunction('event', [ + `if(${L.hasOwnProperty}(installedChunks, chunkId)) {`, + q.indent([ + 'installedChunkData = installedChunks[chunkId];', + 'if(installedChunkData !== 0) installedChunks[chunkId] = undefined;', + 'if(installedChunkData) {', + q.indent([ + 'if(event.type !== "load") {', + q.indent([ + 'var errorType = event && event.type;', + 'var realSrc = event && event.target && event.target.src;', + "error.message = 'Loading css chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';", + "error.name = 'ChunkLoadError';", + 'error.type = errorType;', + 'error.request = realSrc;', + 'installedChunkData[1](error);', + ]), + '} else {', + q.indent([ + `loadCssChunkData(${L.moduleFactories}, link, chunkId);`, + 'installedChunkData[0]();', + ]), + '}', + ]), + '}', + ]), + '}', + ])};`, + 'var link = loadStylesheet(chunkId, url, loadingEnded);', + ]), + '} else installedChunks[chunkId] = 0;', + ]), + '}', + ]), + '}', + ])};`, + ]) + : '// no chunk loading', + '', + Te + ? q.asString([ + 'var oldTags = [];', + 'var newTags = [];', + `var applyHandler = ${R.basicFunction('options', [ + `return { dispose: ${R.basicFunction( + '', + [] + )}, apply: ${R.basicFunction('', [ + 'var moduleIds = [];', + `newTags.forEach(${R.expressionFunction( + 'info[1].sheet.disabled = false', + 'info' + )});`, + 'while(oldTags.length) {', + q.indent([ + 'var oldTag = oldTags.pop();', + 'if(oldTag.parentNode) oldTag.parentNode.removeChild(oldTag);', + ]), + '}', + 'while(newTags.length) {', + q.indent([ + `var info = newTags.pop();`, + `var chunkModuleIds = loadCssChunkData(${L.moduleFactories}, info[1], info[0]);`, + `chunkModuleIds.forEach(${R.expressionFunction( + 'moduleIds.push(id)', + 'id' + )});`, + ]), + '}', + 'return moduleIds;', + ])} };`, + ])}`, + `var cssTextKey = ${R.returningFunction( + `Array.from(link.sheet.cssRules, ${R.returningFunction( + 'r.cssText', + 'r' + )}).join()`, + 'link' + )}`, + `${L.hmrDownloadUpdateHandlers}.css = ${R.basicFunction( + 'chunkIds, removedChunks, removedModules, promises, applyHandlers, updatedModulesList', + [ + 'applyHandlers.push(applyHandler);', + `chunkIds.forEach(${R.basicFunction('chunkId', [ + `var filename = ${L.getChunkCssFilename}(chunkId);`, + `var url = ${L.publicPath} + filename;`, + 'var oldTag = loadStylesheet(chunkId, url);', + 'if(!oldTag) return;', + `promises.push(new Promise(${R.basicFunction( + 'resolve, reject', + [ + `var link = loadStylesheet(chunkId, url + (url.indexOf("?") < 0 ? "?" : "&") + "hmr=" + Date.now(), ${R.basicFunction( + 'event', + [ + 'if(event.type !== "load") {', + q.indent([ + 'var errorType = event && event.type;', + 'var realSrc = event && event.target && event.target.src;', + "error.message = 'Loading css hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';", + "error.name = 'ChunkLoadError';", + 'error.type = errorType;', + 'error.request = realSrc;', + 'reject(error);', + ]), + '} else {', + q.indent([ + 'try { if(cssTextKey(oldTag) == cssTextKey(link)) { if(link.parentNode) link.parentNode.removeChild(link); return resolve(); } } catch(e) {}', + 'var factories = {};', + 'loadCssChunkData(factories, link, chunkId);', + `Object.keys(factories).forEach(${R.expressionFunction( + 'updatedModulesList.push(id)', + 'id' + )})`, + 'link.sheet.disabled = true;', + 'oldTags.push(oldTag);', + 'newTags.push([chunkId, link]);', + 'resolve();', + ]), + '}', + ] + )}, oldTag);`, + ] + )}));`, + ])});`, + ] + )}`, + ]) + : '// no hmr', + ]) + } + } + k.exports = CssLoadingRuntimeModule + }, + 76395: function (k, v, E) { + 'use strict' + const { ConcatSource: P, PrefixSource: R } = E(51255) + const L = E(51585) + const N = E(95733) + const { + CSS_MODULE_TYPE: q, + CSS_MODULE_TYPE_GLOBAL: ae, + CSS_MODULE_TYPE_MODULE: le, + } = E(93622) + const pe = E(56727) + const me = E(15844) + const ye = E(71572) + const _e = E(55101) + const Ie = E(38490) + const Me = E(27746) + const Te = E(58943) + const je = E(97006) + const Ne = E(93414) + const { compareModulesByIdentifier: Be } = E(95648) + const qe = E(92198) + const Ue = E(74012) + const Ge = E(20631) + const He = E(64119) + const We = E(97766) + const Qe = E(65956) + const Je = E(29605) + const Ve = Ge(() => E(3483)) + const getSchema = (k) => { + const { definitions: v } = E(98625) + return { definitions: v, oneOf: [{ $ref: `#/definitions/${k}` }] } + } + const Ke = qe(E(87816), () => getSchema('CssGeneratorOptions'), { + name: 'Css Modules Plugin', + baseDataPath: 'parser', + }) + const Ye = qe(E(32706), () => getSchema('CssParserOptions'), { + name: 'Css Modules Plugin', + baseDataPath: 'parser', + }) + const escapeCss = (k, v) => { + const E = `${k}`.replace( + /[^a-zA-Z0-9_\u0081-\uffff-]/g, + (k) => `\\${k}` + ) + return !v && /^(?!--)[0-9_-]/.test(E) ? `_${E}` : E + } + const Xe = 'CssModulesPlugin' + class CssModulesPlugin { + constructor({ exportsOnly: k = false }) { + this._exportsOnly = k + } + apply(k) { + k.hooks.compilation.tap(Xe, (k, { normalModuleFactory: v }) => { + const E = new me(k.moduleGraph) + k.dependencyFactories.set(je, v) + k.dependencyTemplates.set(je, new je.Template()) + k.dependencyTemplates.set(Me, new Me.Template()) + k.dependencyFactories.set(Te, E) + k.dependencyTemplates.set(Te, new Te.Template()) + k.dependencyTemplates.set(_e, new _e.Template()) + k.dependencyFactories.set(Ie, v) + k.dependencyTemplates.set(Ie, new Ie.Template()) + k.dependencyTemplates.set(Ne, new Ne.Template()) + for (const E of [q, ae, le]) { + v.hooks.createParser.for(E).tap(Xe, (k) => { + Ye(k) + switch (E) { + case q: + return new Je() + case ae: + return new Je({ allowModeSwitch: false }) + case le: + return new Je({ defaultMode: 'local' }) + } + }) + v.hooks.createGenerator.for(E).tap(Xe, (k) => { + Ke(k) + return this._exportsOnly ? new We() : new Qe() + }) + v.hooks.createModuleClass.for(E).tap(Xe, (v, E) => { + if (E.dependencies.length > 0) { + const P = E.dependencies[0] + if (P instanceof Ie) { + const E = k.moduleGraph.getParentModule(P) + if (E instanceof L) { + let k + if ( + (E.cssLayer !== null && E.cssLayer !== undefined) || + E.supports || + E.media + ) { + if (!k) { + k = [] + } + k.push([E.cssLayer, E.supports, E.media]) + } + if (E.inheritance) { + if (!k) { + k = [] + } + k.push(...E.inheritance) + } + return new L({ + ...v, + cssLayer: P.layer, + supports: P.supports, + media: P.media, + inheritance: k, + }) + } + return new L({ + ...v, + cssLayer: P.layer, + supports: P.supports, + media: P.media, + }) + } + } + return new L(v) + }) + } + const P = new WeakMap() + k.hooks.afterCodeGeneration.tap('CssModulesPlugin', () => { + const { chunkGraph: v } = k + for (const E of k.chunks) { + if (CssModulesPlugin.chunkHasCss(E, v)) { + P.set(E, this.getOrderedChunkCssModules(E, v, k)) + } + } + }) + k.hooks.contentHash.tap('CssModulesPlugin', (v) => { + const { + chunkGraph: E, + outputOptions: { + hashSalt: R, + hashDigest: L, + hashDigestLength: N, + hashFunction: q, + }, + } = k + const ae = P.get(v) + if (ae === undefined) return + const le = Ue(q) + if (R) le.update(R) + for (const k of ae) { + le.update(E.getModuleHash(k, v.runtime)) + } + const pe = le.digest(L) + v.contentHash.css = He(pe, N) + }) + k.hooks.renderManifest.tap(Xe, (v, E) => { + const { chunkGraph: R } = k + const { hash: L, chunk: q, codeGenerationResults: ae } = E + if (q instanceof N) return v + const le = P.get(q) + if (le !== undefined) { + v.push({ + render: () => + this.renderChunk({ + chunk: q, + chunkGraph: R, + codeGenerationResults: ae, + uniqueName: k.outputOptions.uniqueName, + modules: le, + }), + filenameTemplate: CssModulesPlugin.getChunkFilenameTemplate( + q, + k.outputOptions + ), + pathOptions: { + hash: L, + runtime: q.runtime, + chunk: q, + contentHashType: 'css', + }, + identifier: `css${q.id}`, + hash: q.contentHash.css, + }) + } + return v + }) + const R = k.outputOptions.chunkLoading + const isEnabledForChunk = (k) => { + const v = k.getEntryOptions() + const E = v && v.chunkLoading !== undefined ? v.chunkLoading : R + return E === 'jsonp' + } + const ye = new WeakSet() + const handler = (v, E) => { + if (ye.has(v)) return + ye.add(v) + if (!isEnabledForChunk(v)) return + E.add(pe.publicPath) + E.add(pe.getChunkCssFilename) + E.add(pe.hasOwnProperty) + E.add(pe.moduleFactoriesAddOnly) + E.add(pe.makeNamespaceObject) + const P = Ve() + k.addRuntimeModule(v, new P(E)) + } + k.hooks.runtimeRequirementInTree + .for(pe.hasCssModules) + .tap(Xe, handler) + k.hooks.runtimeRequirementInTree + .for(pe.ensureChunkHandlers) + .tap(Xe, handler) + k.hooks.runtimeRequirementInTree + .for(pe.hmrDownloadUpdateHandlers) + .tap(Xe, handler) + }) + } + getModulesInOrder(k, v, E) { + if (!v) return [] + const P = [...v] + const R = Array.from(k.groupsIterable, (k) => { + const v = P.map((v) => ({ + module: v, + index: k.getModulePostOrderIndex(v), + })) + .filter((k) => k.index !== undefined) + .sort((k, v) => v.index - k.index) + .map((k) => k.module) + return { list: v, set: new Set(v) } + }) + if (R.length === 1) return R[0].list.reverse() + const compareModuleLists = ({ list: k }, { list: v }) => { + if (k.length === 0) { + return v.length === 0 ? 0 : 1 + } else { + if (v.length === 0) return -1 + return Be(k[k.length - 1], v[v.length - 1]) + } + } + R.sort(compareModuleLists) + const L = [] + for (;;) { + const v = new Set() + const P = R[0].list + if (P.length === 0) { + break + } + let N = P[P.length - 1] + let q = undefined + e: for (;;) { + for (const { list: k, set: E } of R) { + if (k.length === 0) continue + const P = k[k.length - 1] + if (P === N) continue + if (!E.has(N)) continue + v.add(N) + if (v.has(P)) { + q = P + continue + } + N = P + q = false + continue e + } + break + } + if (q) { + if (E) { + E.warnings.push( + new ye( + `chunk ${ + k.name || k.id + }\nConflicting order between ${q.readableIdentifier( + E.requestShortener + )} and ${N.readableIdentifier(E.requestShortener)}` + ) + ) + } + N = q + } + L.push(N) + for (const { list: k, set: v } of R) { + const E = k[k.length - 1] + if (E === N) k.pop() + else if (q && v.has(N)) { + const v = k.indexOf(N) + if (v >= 0) k.splice(v, 1) + } + } + R.sort(compareModuleLists) + } + return L + } + getOrderedChunkCssModules(k, v, E) { + return [ + ...this.getModulesInOrder( + k, + v.getOrderedChunkModulesIterableBySourceType(k, 'css-import', Be), + E + ), + ...this.getModulesInOrder( + k, + v.getOrderedChunkModulesIterableBySourceType(k, 'css', Be), + E + ), + ] + } + renderChunk({ + uniqueName: k, + chunk: v, + chunkGraph: E, + codeGenerationResults: L, + modules: N, + }) { + const q = new P() + const ae = [] + for (const le of N) { + try { + const N = L.get(le, v.runtime) + let pe = N.sources.get('css') || N.sources.get('css-import') + let me = [[le.cssLayer, le.supports, le.media]] + if (le.inheritance) { + me.push(...le.inheritance) + } + for (let k = 0; k < me.length; k++) { + const v = me[k][0] + const E = me[k][1] + const L = me[k][2] + if (L) { + pe = new P(`@media ${L} {\n`, new R('\t', pe), '}\n') + } + if (E) { + pe = new P(`@supports (${E}) {\n`, new R('\t', pe), '}\n') + } + if (v !== undefined && v !== null) { + pe = new P( + `@layer${v ? ` ${v}` : ''} {\n`, + new R('\t', pe), + '}\n' + ) + } + } + if (pe) { + q.add(pe) + q.add('\n') + } + const ye = N.data && N.data.get('css-exports') + let _e = E.getModuleId(le) + '' + if (typeof _e === 'string') { + _e = _e.replace(/\\/g, '/') + } + ae.push( + `${ + ye + ? Array.from(ye, ([v, E]) => { + const P = `${k ? k + '-' : ''}${_e}-${v}` + return E === P + ? `${escapeCss(v)}/` + : E === '--' + P + ? `${escapeCss(v)}%` + : `${escapeCss(v)}(${escapeCss(E)})` + }).join('') + : '' + }${escapeCss(_e)}` + ) + } catch (k) { + k.message += `\nduring rendering of css ${le.identifier()}` + throw k + } + } + q.add( + `head{--webpack-${escapeCss( + (k ? k + '-' : '') + v.id, + true + )}:${ae.join(',')};}` + ) + return q + } + static getChunkFilenameTemplate(k, v) { + if (k.cssFilenameTemplate) { + return k.cssFilenameTemplate + } else if (k.canBeInitial()) { + return v.cssFilename + } else { + return v.cssChunkFilename + } + } + static chunkHasCss(k, v) { + return ( + !!v.getChunkModulesIterableBySourceType(k, 'css') || + !!v.getChunkModulesIterableBySourceType(k, 'css-import') + ) + } + } + k.exports = CssModulesPlugin + }, + 29605: function (k, v, E) { + 'use strict' + const P = E(84018) + const R = E(17381) + const L = E(71572) + const N = E(60381) + const q = E(55101) + const ae = E(38490) + const le = E(27746) + const pe = E(58943) + const me = E(97006) + const ye = E(93414) + const _e = E(54753) + const Ie = '{'.charCodeAt(0) + const Me = '}'.charCodeAt(0) + const Te = ':'.charCodeAt(0) + const je = '/'.charCodeAt(0) + const Ne = ';'.charCodeAt(0) + const Be = /\\[\n\r\f]/g + const qe = /(^[ \t\n\r\f]*|[ \t\n\r\f]*$)/g + const Ue = /\\([0-9a-fA-F]{1,6}[ \t\n\r\f]?|[\s\S])/g + const Ge = /^(-\w+-)?image-set$/i + const He = /^@(-\w+-)?keyframes$/ + const We = /^(-\w+-)?animation(-name)?$/i + const normalizeUrl = (k, v) => { + if (v) { + k = k.replace(Be, '') + } + k = k.replace(qe, '').replace(Ue, (k) => { + if (k.length > 2) { + return String.fromCharCode(parseInt(k.slice(1).trim(), 16)) + } else { + return k[1] + } + }) + if (/^data:/i.test(k)) { + return k + } + if (k.includes('%')) { + try { + k = decodeURIComponent(k) + } catch (k) {} + } + return k + } + class LocConverter { + constructor(k) { + this._input = k + this.line = 1 + this.column = 0 + this.pos = 0 + } + get(k) { + if (this.pos !== k) { + if (this.pos < k) { + const v = this._input.slice(this.pos, k) + let E = v.lastIndexOf('\n') + if (E === -1) { + this.column += v.length + } else { + this.column = v.length - E - 1 + this.line++ + while (E > 0 && (E = v.lastIndexOf('\n', E - 1)) !== -1) + this.line++ + } + } else { + let v = this._input.lastIndexOf('\n', this.pos) + while (v >= k) { + this.line-- + v = v > 0 ? this._input.lastIndexOf('\n', v - 1) : -1 + } + this.column = k - v + } + this.pos = k + } + return this + } + } + const Qe = 0 + const Je = 1 + const Ve = 2 + const Ke = 3 + const Ye = 4 + class CssParser extends R { + constructor({ + allowModeSwitch: k = true, + defaultMode: v = 'global', + } = {}) { + super() + this.allowModeSwitch = k + this.defaultMode = v + } + _emitWarning(k, v, E, R, N) { + const { line: q, column: ae } = E.get(R) + const { line: le, column: pe } = E.get(N) + k.current.addWarning( + new P(k.module, new L(v), { + start: { line: q, column: ae }, + end: { line: le, column: pe }, + }) + ) + } + parse(k, v) { + if (Buffer.isBuffer(k)) { + k = k.toString('utf-8') + } else if (typeof k === 'object') { + throw new Error('webpackAst is unexpected for the CssParser') + } + if (k[0] === '\ufeff') { + k = k.slice(1) + } + const E = v.module + const P = new LocConverter(k) + const R = new Set() + let L = Qe + let Be = 0 + let qe = true + let Ue = undefined + let Xe = undefined + let Ze = [] + let et = undefined + let tt = false + let nt = true + const isNextNestedSyntax = (k, v) => { + v = _e.eatWhitespaceAndComments(k, v) + if (k[v] === '}') { + return false + } + const E = _e.isIdentStartCodePoint(k.charCodeAt(v)) + return !E + } + const isLocalMode = () => + Ue === 'local' || (this.defaultMode === 'local' && Ue === undefined) + const eatUntil = (k) => { + const v = Array.from({ length: k.length }, (v, E) => + k.charCodeAt(E) + ) + const E = Array.from( + { length: v.reduce((k, v) => Math.max(k, v), 0) + 1 }, + () => false + ) + v.forEach((k) => (E[k] = true)) + return (k, v) => { + for (;;) { + const P = k.charCodeAt(v) + if (P < E.length && E[P]) { + return v + } + v++ + if (v === k.length) return v + } + } + } + const eatText = (k, v, E) => { + let P = '' + for (;;) { + if (k.charCodeAt(v) === je) { + const E = _e.eatComments(k, v) + if (v !== E) { + v = E + if (v === k.length) break + } else { + P += '/' + v++ + if (v === k.length) break + } + } + const R = E(k, v) + if (v !== R) { + P += k.slice(v, R) + v = R + } else { + break + } + if (v === k.length) break + } + return [v, P.trimEnd()] + } + const st = eatUntil(':};/') + const rt = eatUntil('};/') + const parseExports = (k, R) => { + R = _e.eatWhitespaceAndComments(k, R) + const L = k.charCodeAt(R) + if (L !== Ie) { + this._emitWarning( + v, + `Unexpected '${k[R]}' at ${R} during parsing of ':export' (expected '{')`, + P, + R, + R + ) + return R + } + R++ + R = _e.eatWhitespaceAndComments(k, R) + for (;;) { + if (k.charCodeAt(R) === Me) break + R = _e.eatWhitespaceAndComments(k, R) + if (R === k.length) return R + let L = R + let N + ;[R, N] = eatText(k, R, st) + if (R === k.length) return R + if (k.charCodeAt(R) !== Te) { + this._emitWarning( + v, + `Unexpected '${k[R]}' at ${R} during parsing of export name in ':export' (expected ':')`, + P, + L, + R + ) + return R + } + R++ + if (R === k.length) return R + R = _e.eatWhitespaceAndComments(k, R) + if (R === k.length) return R + let ae + ;[R, ae] = eatText(k, R, rt) + if (R === k.length) return R + const le = k.charCodeAt(R) + if (le === Ne) { + R++ + if (R === k.length) return R + R = _e.eatWhitespaceAndComments(k, R) + if (R === k.length) return R + } else if (le !== Me) { + this._emitWarning( + v, + `Unexpected '${k[R]}' at ${R} during parsing of export value in ':export' (expected ';' or '}')`, + P, + L, + R + ) + return R + } + const pe = new q(N, ae) + const { line: me, column: ye } = P.get(L) + const { line: Ie, column: je } = P.get(R) + pe.setLoc(me, ye, Ie, je) + E.addDependency(pe) + } + R++ + if (R === k.length) return R + R = _e.eatWhiteLine(k, R) + return R + } + const ot = eatUntil(':{};') + const processLocalDeclaration = (k, v, L) => { + Ue = undefined + v = _e.eatWhitespaceAndComments(k, v) + const N = v + const [q, ae] = eatText(k, v, ot) + if (k.charCodeAt(q) !== Te) return L + v = q + 1 + if (ae.startsWith('--')) { + const { line: k, column: v } = P.get(N) + const { line: L, column: pe } = P.get(q) + const me = ae.slice(2) + const ye = new le(me, [N, q], '--') + ye.setLoc(k, v, L, pe) + E.addDependency(ye) + R.add(me) + } else if (!ae.startsWith('--') && We.test(ae)) { + tt = true + } + return v + } + const processDeclarationValueDone = (k) => { + if (tt && Xe) { + const { line: v, column: R } = P.get(Xe[0]) + const { line: L, column: N } = P.get(Xe[1]) + const q = k.slice(Xe[0], Xe[1]) + const ae = new pe(q, Xe) + ae.setLoc(v, R, L, N) + E.addDependency(ae) + Xe = undefined + } + } + const it = eatUntil('{};/') + const at = eatUntil(',)};/') + _e(k, { + isSelector: () => nt, + url: (k, R, N, q, ae) => { + let le = normalizeUrl(k.slice(q, ae), false) + switch (L) { + case Ve: { + if (et.inSupports) { + break + } + if (et.url) { + this._emitWarning( + v, + `Duplicate of 'url(...)' in '${k.slice(et.start, N)}'`, + P, + R, + N + ) + break + } + et.url = le + et.urlStart = R + et.urlEnd = N + break + } + case Ye: + case Ke: { + break + } + case Je: { + if (le.length === 0) { + break + } + const k = new me(le, [R, N], 'url') + const { line: v, column: L } = P.get(R) + const { line: q, column: ae } = P.get(N) + k.setLoc(v, L, q, ae) + E.addDependency(k) + E.addCodeGenerationDependency(k) + break + } + } + return N + }, + string: (k, R, N) => { + switch (L) { + case Ve: { + const E = Ze[Ze.length - 1] && Ze[Ze.length - 1][0] === 'url' + if (et.inSupports || (!E && et.url)) { + break + } + if (E && et.url) { + this._emitWarning( + v, + `Duplicate of 'url(...)' in '${k.slice(et.start, N)}'`, + P, + R, + N + ) + break + } + et.url = normalizeUrl(k.slice(R + 1, N - 1), true) + if (!E) { + et.urlStart = R + et.urlEnd = N + } + break + } + case Je: { + const v = Ze[Ze.length - 1] + if ( + v && + (v[0].replace(/\\/g, '').toLowerCase() === 'url' || + Ge.test(v[0].replace(/\\/g, ''))) + ) { + let L = normalizeUrl(k.slice(R + 1, N - 1), true) + if (L.length === 0) { + break + } + const q = v[0].replace(/\\/g, '').toLowerCase() === 'url' + const ae = new me(L, [R, N], q ? 'string' : 'url') + const { line: le, column: pe } = P.get(R) + const { line: ye, column: _e } = P.get(N) + ae.setLoc(le, pe, ye, _e) + E.addDependency(ae) + E.addCodeGenerationDependency(ae) + } + } + } + return N + }, + atKeyword: (k, N, q) => { + const ae = k.slice(N, q).toLowerCase() + if (ae === '@namespace') { + L = Ye + this._emitWarning( + v, + "'@namespace' is not supported in bundled CSS", + P, + N, + q + ) + return q + } else if (ae === '@import') { + if (!qe) { + L = Ke + this._emitWarning( + v, + "Any '@import' rules must precede all other rules", + P, + N, + q + ) + return q + } + L = Ve + et = { start: N } + } else if (this.allowModeSwitch && He.test(ae)) { + let R = q + R = _e.eatWhitespaceAndComments(k, R) + if (R === k.length) return R + const [L, ae] = eatText(k, R, it) + if (L === k.length) return L + if (k.charCodeAt(L) !== Ie) { + this._emitWarning( + v, + `Unexpected '${k[L]}' at ${L} during parsing of @keyframes (expected '{')`, + P, + N, + q + ) + return L + } + const { line: pe, column: me } = P.get(R) + const { line: ye, column: Me } = P.get(L) + const Te = new le(ae, [R, L]) + Te.setLoc(pe, me, ye, Me) + E.addDependency(Te) + R = L + return R + 1 + } else if (this.allowModeSwitch && ae === '@property') { + let L = q + L = _e.eatWhitespaceAndComments(k, L) + if (L === k.length) return L + const ae = L + const [pe, me] = eatText(k, L, it) + if (pe === k.length) return pe + if (!me.startsWith('--')) return pe + if (k.charCodeAt(pe) !== Ie) { + this._emitWarning( + v, + `Unexpected '${k[pe]}' at ${pe} during parsing of @property (expected '{')`, + P, + N, + q + ) + return pe + } + const { line: ye, column: Me } = P.get(L) + const { line: Te, column: je } = P.get(pe) + const Ne = me.slice(2) + const Be = new le(Ne, [ae, pe], '--') + Be.setLoc(ye, Me, Te, je) + E.addDependency(Be) + R.add(Ne) + L = pe + return L + 1 + } else if ( + ae === '@media' || + ae === '@supports' || + ae === '@layer' || + ae === '@container' + ) { + Ue = isLocalMode() ? 'local' : 'global' + nt = true + return q + } else if (this.allowModeSwitch) { + Ue = 'global' + nt = false + } + return q + }, + semicolon: (k, R, q) => { + switch (L) { + case Ve: { + const { start: R } = et + if (et.url === undefined) { + this._emitWarning( + v, + `Expected URL in '${k.slice(R, q)}'`, + P, + R, + q + ) + et = undefined + L = Qe + return q + } + if ( + et.urlStart > et.layerStart || + et.urlStart > et.supportsStart + ) { + this._emitWarning( + v, + `An URL in '${k.slice( + R, + q + )}' should be before 'layer(...)' or 'supports(...)'`, + P, + R, + q + ) + et = undefined + L = Qe + return q + } + if (et.layerStart > et.supportsStart) { + this._emitWarning( + v, + `The 'layer(...)' in '${k.slice( + R, + q + )}' should be before 'supports(...)'`, + P, + R, + q + ) + et = undefined + L = Qe + return q + } + const le = q + q = _e.eatWhiteLine(k, q + 1) + const { line: pe, column: me } = P.get(R) + const { line: ye, column: Ie } = P.get(q) + const Me = et.supportsEnd || et.layerEnd || et.urlEnd || R + const Te = _e.eatWhitespaceAndComments(k, Me) + if (Te !== le - 1) { + et.media = k.slice(Me, le - 1).trim() + } + const je = et.url.trim() + if (je.length === 0) { + const k = new N('', [R, q]) + E.addPresentationalDependency(k) + k.setLoc(pe, me, ye, Ie) + } else { + const k = new ae( + je, + [R, q], + et.layer, + et.supports, + et.media && et.media.length > 0 ? et.media : undefined + ) + k.setLoc(pe, me, ye, Ie) + E.addDependency(k) + } + et = undefined + L = Qe + break + } + case Ke: + case Ye: { + L = Qe + break + } + case Je: { + if (this.allowModeSwitch) { + processDeclarationValueDone(k) + tt = false + nt = isNextNestedSyntax(k, q) + } + break + } + } + return q + }, + leftCurlyBracket: (k, v, E) => { + switch (L) { + case Qe: { + qe = false + L = Je + Be = 1 + if (this.allowModeSwitch) { + nt = isNextNestedSyntax(k, E) + } + break + } + case Je: { + Be++ + if (this.allowModeSwitch) { + nt = isNextNestedSyntax(k, E) + } + break + } + } + return E + }, + rightCurlyBracket: (k, v, E) => { + switch (L) { + case Je: { + if (isLocalMode()) { + processDeclarationValueDone(k) + tt = false + } + if (--Be === 0) { + L = Qe + if (this.allowModeSwitch) { + nt = true + Ue = undefined + } + } else if (this.allowModeSwitch) { + nt = isNextNestedSyntax(k, E) + } + break + } + } + return E + }, + identifier: (k, v, E) => { + switch (L) { + case Je: { + if (isLocalMode()) { + if (tt && Ze.length === 0) { + Xe = [v, E] + } else { + return processLocalDeclaration(k, v, E) + } + } + break + } + case Ve: { + if (k.slice(v, E).toLowerCase() === 'layer') { + et.layer = '' + et.layerStart = v + et.layerEnd = E + } + break + } + } + return E + }, + class: (k, v, R) => { + if (isLocalMode()) { + const L = k.slice(v + 1, R) + const N = new le(L, [v + 1, R]) + const { line: q, column: ae } = P.get(v) + const { line: pe, column: me } = P.get(R) + N.setLoc(q, ae, pe, me) + E.addDependency(N) + } + return R + }, + id: (k, v, R) => { + if (isLocalMode()) { + const L = k.slice(v + 1, R) + const N = new le(L, [v + 1, R]) + const { line: q, column: ae } = P.get(v) + const { line: pe, column: me } = P.get(R) + N.setLoc(q, ae, pe, me) + E.addDependency(N) + } + return R + }, + function: (k, v, N) => { + let q = k.slice(v, N - 1) + Ze.push([q, v, N]) + if (L === Ve && q.toLowerCase() === 'supports') { + et.inSupports = true + } + if (isLocalMode()) { + q = q.toLowerCase() + if (tt && Ze.length === 1) { + Xe = undefined + } + if (q === 'var') { + let v = _e.eatWhitespaceAndComments(k, N) + if (v === k.length) return v + const [L, q] = eatText(k, v, at) + if (!q.startsWith('--')) return N + const { line: ae, column: le } = P.get(v) + const { line: me, column: ye } = P.get(L) + const Ie = new pe(q.slice(2), [v, L], '--', R) + Ie.setLoc(ae, le, me, ye) + E.addDependency(Ie) + return L + } + } + return N + }, + leftParenthesis: (k, v, E) => { + Ze.push(['(', v, E]) + return E + }, + rightParenthesis: (k, v, P) => { + const R = Ze[Ze.length - 1] + const q = Ze.pop() + if ( + this.allowModeSwitch && + q && + (q[0] === ':local' || q[0] === ':global') + ) { + Ue = Ze[Ze.length - 1] ? Ze[Ze.length - 1][0] : undefined + const k = new N('', [v, P]) + E.addPresentationalDependency(k) + return P + } + switch (L) { + case Ve: { + if (R && R[0] === 'url' && !et.inSupports) { + et.urlStart = R[1] + et.urlEnd = P + } else if ( + R && + R[0].toLowerCase() === 'layer' && + !et.inSupports + ) { + et.layer = k.slice(R[2], P - 1).trim() + et.layerStart = R[1] + et.layerEnd = P + } else if (R && R[0].toLowerCase() === 'supports') { + et.supports = k.slice(R[2], P - 1).trim() + et.supportsStart = R[1] + et.supportsEnd = P + et.inSupports = false + } + break + } + } + return P + }, + pseudoClass: (k, v, P) => { + if (this.allowModeSwitch) { + const R = k.slice(v, P).toLowerCase() + if (R === ':global') { + Ue = 'global' + P = _e.eatWhitespace(k, P) + const R = new N('', [v, P]) + E.addPresentationalDependency(R) + return P + } else if (R === ':local') { + Ue = 'local' + P = _e.eatWhitespace(k, P) + const R = new N('', [v, P]) + E.addPresentationalDependency(R) + return P + } + switch (L) { + case Qe: { + if (R === ':export') { + const R = parseExports(k, P) + const L = new N('', [v, R]) + E.addPresentationalDependency(L) + return R + } + break + } + } + } + return P + }, + pseudoFunction: (k, v, P) => { + let R = k.slice(v, P - 1) + Ze.push([R, v, P]) + if (this.allowModeSwitch) { + R = R.toLowerCase() + if (R === ':global') { + Ue = 'global' + const k = new N('', [v, P]) + E.addPresentationalDependency(k) + } else if (R === ':local') { + Ue = 'local' + const k = new N('', [v, P]) + E.addPresentationalDependency(k) + } + } + return P + }, + comma: (k, v, E) => { + if (this.allowModeSwitch) { + Ue = undefined + switch (L) { + case Je: { + if (isLocalMode()) { + processDeclarationValueDone(k) + } + break + } + } + } + return E + }, + }) + E.buildInfo.strict = true + E.buildMeta.exportsType = 'namespace' + E.addDependency(new ye([], true)) + return v + } + } + k.exports = CssParser + }, + 54753: function (k) { + 'use strict' + const v = '\n'.charCodeAt(0) + const E = '\r'.charCodeAt(0) + const P = '\f'.charCodeAt(0) + const R = '\t'.charCodeAt(0) + const L = ' '.charCodeAt(0) + const N = '/'.charCodeAt(0) + const q = '\\'.charCodeAt(0) + const ae = '*'.charCodeAt(0) + const le = '('.charCodeAt(0) + const pe = ')'.charCodeAt(0) + const me = '{'.charCodeAt(0) + const ye = '}'.charCodeAt(0) + const _e = '['.charCodeAt(0) + const Ie = ']'.charCodeAt(0) + const Me = '"'.charCodeAt(0) + const Te = "'".charCodeAt(0) + const je = '.'.charCodeAt(0) + const Ne = ':'.charCodeAt(0) + const Be = ';'.charCodeAt(0) + const qe = ','.charCodeAt(0) + const Ue = '%'.charCodeAt(0) + const Ge = '@'.charCodeAt(0) + const He = '_'.charCodeAt(0) + const We = 'a'.charCodeAt(0) + const Qe = 'u'.charCodeAt(0) + const Je = 'e'.charCodeAt(0) + const Ve = 'z'.charCodeAt(0) + const Ke = 'A'.charCodeAt(0) + const Ye = 'E'.charCodeAt(0) + const Xe = 'U'.charCodeAt(0) + const Ze = 'Z'.charCodeAt(0) + const et = '0'.charCodeAt(0) + const tt = '9'.charCodeAt(0) + const nt = '#'.charCodeAt(0) + const st = '+'.charCodeAt(0) + const rt = '-'.charCodeAt(0) + const ot = '<'.charCodeAt(0) + const it = '>'.charCodeAt(0) + const _isNewLine = (k) => k === v || k === E || k === P + const consumeSpace = (k, v, E) => { + let P + do { + v++ + P = k.charCodeAt(v) + } while (_isWhiteSpace(P)) + return v + } + const _isNewline = (k) => k === v || k === E || k === P + const _isSpace = (k) => k === R || k === L + const _isWhiteSpace = (k) => _isNewline(k) || _isSpace(k) + const isIdentStartCodePoint = (k) => + (k >= We && k <= Ve) || (k >= Ke && k <= Ze) || k === He || k >= 128 + const consumeDelimToken = (k, v, E) => v + 1 + const consumeComments = (k, v, E) => { + if (k.charCodeAt(v) === N && k.charCodeAt(v + 1) === ae) { + v += 1 + while (v < k.length) { + if (k.charCodeAt(v) === ae && k.charCodeAt(v + 1) === N) { + v += 2 + break + } + v++ + } + } + return v + } + const consumeString = (k) => (v, E, P) => { + const R = E + E = _consumeString(v, E, k) + if (P.string !== undefined) { + E = P.string(v, R, E) + } + return E + } + const _consumeString = (k, v, E) => { + v++ + for (;;) { + if (v === k.length) return v + const P = k.charCodeAt(v) + if (P === E) return v + 1 + if (_isNewLine(P)) { + return v + } + if (P === q) { + v++ + if (v === k.length) return v + v++ + } else { + v++ + } + } + } + const _isIdentifierStartCode = (k) => + k === He || (k >= We && k <= Ve) || (k >= Ke && k <= Ze) || k > 128 + const _isTwoCodePointsAreValidEscape = (k, v) => { + if (k !== q) return false + if (_isNewLine(v)) return false + return true + } + const _isDigit = (k) => k >= et && k <= tt + const _startsIdentifier = (k, v) => { + const E = k.charCodeAt(v) + if (E === rt) { + if (v === k.length) return false + const E = k.charCodeAt(v + 1) + if (E === rt) return true + if (E === q) { + const E = k.charCodeAt(v + 2) + return !_isNewLine(E) + } + return _isIdentifierStartCode(E) + } + if (E === q) { + const E = k.charCodeAt(v + 1) + return !_isNewLine(E) + } + return _isIdentifierStartCode(E) + } + const consumeNumberSign = (k, v, E) => { + const P = v + v++ + if (v === k.length) return v + if (E.isSelector(k, v) && _startsIdentifier(k, v)) { + v = _consumeIdentifier(k, v, E) + if (E.id !== undefined) { + return E.id(k, P, v) + } + } + return v + } + const consumeMinus = (k, v, E) => { + const P = v + v++ + if (v === k.length) return v + const R = k.charCodeAt(v) + if (R === je || _isDigit(R)) { + return consumeNumericToken(k, v, E) + } else if (R === rt) { + v++ + if (v === k.length) return v + const R = k.charCodeAt(v) + if (R === it) { + return v + 1 + } else { + v = _consumeIdentifier(k, v, E) + if (E.identifier !== undefined) { + return E.identifier(k, P, v) + } + } + } else if (R === q) { + if (v + 1 === k.length) return v + const R = k.charCodeAt(v + 1) + if (_isNewLine(R)) return v + v = _consumeIdentifier(k, v, E) + if (E.identifier !== undefined) { + return E.identifier(k, P, v) + } + } else if (_isIdentifierStartCode(R)) { + v = consumeOtherIdentifier(k, v - 1, E) + } + return v + } + const consumeDot = (k, v, E) => { + const P = v + v++ + if (v === k.length) return v + const R = k.charCodeAt(v) + if (_isDigit(R)) return consumeNumericToken(k, v - 2, E) + if (!E.isSelector(k, v) || !_startsIdentifier(k, v)) return v + v = _consumeIdentifier(k, v, E) + if (E.class !== undefined) return E.class(k, P, v) + return v + } + const consumeNumericToken = (k, v, E) => { + v = _consumeNumber(k, v, E) + if (v === k.length) return v + if (_startsIdentifier(k, v)) return _consumeIdentifier(k, v, E) + const P = k.charCodeAt(v) + if (P === Ue) return v + 1 + return v + } + const consumeOtherIdentifier = (k, v, E) => { + const P = v + v = _consumeIdentifier(k, v, E) + if (v !== k.length && k.charCodeAt(v) === le) { + v++ + if (E.function !== undefined) { + return E.function(k, P, v) + } + } else { + if (E.identifier !== undefined) { + return E.identifier(k, P, v) + } + } + return v + } + const consumePotentialUrl = (k, v, E) => { + const P = v + v = _consumeIdentifier(k, v, E) + const R = v + 1 + if (v === P + 3 && k.slice(P, R).toLowerCase() === 'url(') { + v++ + let L = k.charCodeAt(v) + while (_isWhiteSpace(L)) { + v++ + if (v === k.length) return v + L = k.charCodeAt(v) + } + if (L === Me || L === Te) { + if (E.function !== undefined) { + return E.function(k, P, R) + } + return R + } else { + const R = v + let N + for (;;) { + if (L === q) { + v++ + if (v === k.length) return v + v++ + } else if (_isWhiteSpace(L)) { + N = v + do { + v++ + if (v === k.length) return v + L = k.charCodeAt(v) + } while (_isWhiteSpace(L)) + if (L !== pe) return v + v++ + if (E.url !== undefined) { + return E.url(k, P, v, R, N) + } + return v + } else if (L === pe) { + N = v + v++ + if (E.url !== undefined) { + return E.url(k, P, v, R, N) + } + return v + } else if (L === le) { + return v + } else { + v++ + } + if (v === k.length) return v + L = k.charCodeAt(v) + } + } + } else { + if (E.identifier !== undefined) { + return E.identifier(k, P, v) + } + return v + } + } + const consumePotentialPseudo = (k, v, E) => { + const P = v + v++ + if (!E.isSelector(k, v) || !_startsIdentifier(k, v)) return v + v = _consumeIdentifier(k, v, E) + let R = k.charCodeAt(v) + if (R === le) { + v++ + if (E.pseudoFunction !== undefined) { + return E.pseudoFunction(k, P, v) + } + return v + } + if (E.pseudoClass !== undefined) { + return E.pseudoClass(k, P, v) + } + return v + } + const consumeLeftParenthesis = (k, v, E) => { + v++ + if (E.leftParenthesis !== undefined) { + return E.leftParenthesis(k, v - 1, v) + } + return v + } + const consumeRightParenthesis = (k, v, E) => { + v++ + if (E.rightParenthesis !== undefined) { + return E.rightParenthesis(k, v - 1, v) + } + return v + } + const consumeLeftCurlyBracket = (k, v, E) => { + v++ + if (E.leftCurlyBracket !== undefined) { + return E.leftCurlyBracket(k, v - 1, v) + } + return v + } + const consumeRightCurlyBracket = (k, v, E) => { + v++ + if (E.rightCurlyBracket !== undefined) { + return E.rightCurlyBracket(k, v - 1, v) + } + return v + } + const consumeSemicolon = (k, v, E) => { + v++ + if (E.semicolon !== undefined) { + return E.semicolon(k, v - 1, v) + } + return v + } + const consumeComma = (k, v, E) => { + v++ + if (E.comma !== undefined) { + return E.comma(k, v - 1, v) + } + return v + } + const _consumeIdentifier = (k, v) => { + for (;;) { + const E = k.charCodeAt(v) + if (E === q) { + v++ + if (v === k.length) return v + v++ + } else if (_isIdentifierStartCode(E) || _isDigit(E) || E === rt) { + v++ + } else { + return v + } + } + } + const _consumeNumber = (k, v) => { + v++ + if (v === k.length) return v + let E = k.charCodeAt(v) + while (_isDigit(E)) { + v++ + if (v === k.length) return v + E = k.charCodeAt(v) + } + if (E === je && v + 1 !== k.length) { + const P = k.charCodeAt(v + 1) + if (_isDigit(P)) { + v += 2 + E = k.charCodeAt(v) + while (_isDigit(E)) { + v++ + if (v === k.length) return v + E = k.charCodeAt(v) + } + } + } + if (E === Je || E === Ye) { + if (v + 1 !== k.length) { + const E = k.charCodeAt(v + 2) + if (_isDigit(E)) { + v += 2 + } else if ((E === rt || E === st) && v + 2 !== k.length) { + const E = k.charCodeAt(v + 2) + if (_isDigit(E)) { + v += 3 + } else { + return v + } + } else { + return v + } + } + } else { + return v + } + E = k.charCodeAt(v) + while (_isDigit(E)) { + v++ + if (v === k.length) return v + E = k.charCodeAt(v) + } + return v + } + const consumeLessThan = (k, v, E) => { + if (k.slice(v + 1, v + 4) === '!--') return v + 4 + return v + 1 + } + const consumeAt = (k, v, E) => { + const P = v + v++ + if (v === k.length) return v + if (_startsIdentifier(k, v)) { + v = _consumeIdentifier(k, v, E) + if (E.atKeyword !== undefined) { + v = E.atKeyword(k, P, v) + } + } + return v + } + const consumeReverseSolidus = (k, v, E) => { + const P = v + v++ + if (v === k.length) return v + if (_isTwoCodePointsAreValidEscape(k.charCodeAt(P), k.charCodeAt(v))) { + return consumeOtherIdentifier(k, v - 1, E) + } + return v + } + const at = Array.from({ length: 128 }, (k, N) => { + switch (N) { + case v: + case E: + case P: + case R: + case L: + return consumeSpace + case Me: + return consumeString(N) + case nt: + return consumeNumberSign + case Te: + return consumeString(N) + case le: + return consumeLeftParenthesis + case pe: + return consumeRightParenthesis + case st: + return consumeNumericToken + case qe: + return consumeComma + case rt: + return consumeMinus + case je: + return consumeDot + case Ne: + return consumePotentialPseudo + case Be: + return consumeSemicolon + case ot: + return consumeLessThan + case Ge: + return consumeAt + case _e: + return consumeDelimToken + case q: + return consumeReverseSolidus + case Ie: + return consumeDelimToken + case me: + return consumeLeftCurlyBracket + case ye: + return consumeRightCurlyBracket + case Qe: + case Xe: + return consumePotentialUrl + default: + if (_isDigit(N)) return consumeNumericToken + if (isIdentStartCodePoint(N)) { + return consumeOtherIdentifier + } + return consumeDelimToken + } + }) + k.exports = (k, v) => { + let E = 0 + while (E < k.length) { + E = consumeComments(k, E, v) + const P = k.charCodeAt(E) + if (P < 128) { + E = at[P](k, E, v) + } else { + E++ + } + } + } + k.exports.isIdentStartCodePoint = isIdentStartCodePoint + k.exports.eatComments = (k, v) => { + for (;;) { + let E = v + v = consumeComments(k, v, {}) + if (E === v) { + break + } + } + return v + } + k.exports.eatWhitespace = (k, v) => { + while (_isWhiteSpace(k.charCodeAt(v))) { + v++ + } + return v + } + k.exports.eatWhitespaceAndComments = (k, v) => { + for (;;) { + let E = v + v = consumeComments(k, v, {}) + while (_isWhiteSpace(k.charCodeAt(v))) { + v++ + } + if (E === v) { + break + } + } + return v + } + k.exports.eatWhiteLine = (k, P) => { + for (;;) { + const R = k.charCodeAt(P) + if (_isSpace(R)) { + P++ + continue + } + if (_isNewLine(R)) P++ + if (R === E && k.charCodeAt(P + 1) === v) P++ + break + } + return P + } + }, + 85865: function (k, v, E) { + 'use strict' + const { Tracer: P } = E(86853) + const { + JAVASCRIPT_MODULE_TYPE_AUTO: R, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: L, + JAVASCRIPT_MODULE_TYPE_ESM: N, + WEBASSEMBLY_MODULE_TYPE_ASYNC: q, + WEBASSEMBLY_MODULE_TYPE_SYNC: ae, + JSON_MODULE_TYPE: le, + } = E(93622) + const pe = E(92198) + const { dirname: me, mkdirpSync: ye } = E(57825) + const _e = pe(E(63114), () => E(5877), { + name: 'Profiling Plugin', + baseDataPath: 'options', + }) + let Ie = undefined + try { + Ie = E(31405) + } catch (k) { + console.log('Unable to CPU profile in < node 8.0') + } + class Profiler { + constructor(k) { + this.session = undefined + this.inspector = k + this._startTime = 0 + } + hasSession() { + return this.session !== undefined + } + startProfiling() { + if (this.inspector === undefined) { + return Promise.resolve() + } + try { + this.session = new Ie.Session() + this.session.connect() + } catch (k) { + this.session = undefined + return Promise.resolve() + } + const k = process.hrtime() + this._startTime = k[0] * 1e6 + Math.round(k[1] / 1e3) + return Promise.all([ + this.sendCommand('Profiler.setSamplingInterval', { interval: 100 }), + this.sendCommand('Profiler.enable'), + this.sendCommand('Profiler.start'), + ]) + } + sendCommand(k, v) { + if (this.hasSession()) { + return new Promise((E, P) => + this.session.post(k, v, (k, v) => { + if (k !== null) { + P(k) + } else { + E(v) + } + }) + ) + } else { + return Promise.resolve() + } + } + destroy() { + if (this.hasSession()) { + this.session.disconnect() + } + return Promise.resolve() + } + stopProfiling() { + return this.sendCommand('Profiler.stop').then(({ profile: k }) => { + const v = process.hrtime() + const E = v[0] * 1e6 + Math.round(v[1] / 1e3) + if (k.startTime < this._startTime || k.endTime > E) { + const v = k.endTime - k.startTime + const P = E - this._startTime + const R = Math.max(0, P - v) + k.startTime = this._startTime + R / 2 + k.endTime = E - R / 2 + } + return { profile: k } + }) + } + } + const createTrace = (k, v) => { + const E = new P() + const R = new Profiler(Ie) + if (/\/|\\/.test(v)) { + const E = me(k, v) + ye(k, E) + } + const L = k.createWriteStream(v) + let N = 0 + E.pipe(L) + E.instantEvent({ + name: 'TracingStartedInPage', + id: ++N, + cat: ['disabled-by-default-devtools.timeline'], + args: { + data: { + sessionId: '-1', + page: '0xfff', + frames: [{ frame: '0xfff', url: 'webpack', name: '' }], + }, + }, + }) + E.instantEvent({ + name: 'TracingStartedInBrowser', + id: ++N, + cat: ['disabled-by-default-devtools.timeline'], + args: { data: { sessionId: '-1' } }, + }) + return { + trace: E, + counter: N, + profiler: R, + end: (k) => { + E.push(']') + L.on('close', () => { + k() + }) + E.push(null) + }, + } + } + const Me = 'ProfilingPlugin' + class ProfilingPlugin { + constructor(k = {}) { + _e(k) + this.outputPath = k.outputPath || 'events.json' + } + apply(k) { + const v = createTrace(k.intermediateFileSystem, this.outputPath) + v.profiler.startProfiling() + Object.keys(k.hooks).forEach((E) => { + const P = k.hooks[E] + if (P) { + P.intercept(makeInterceptorFor('Compiler', v)(E)) + } + }) + Object.keys(k.resolverFactory.hooks).forEach((E) => { + const P = k.resolverFactory.hooks[E] + if (P) { + P.intercept(makeInterceptorFor('Resolver', v)(E)) + } + }) + k.hooks.compilation.tap( + Me, + (k, { normalModuleFactory: E, contextModuleFactory: P }) => { + interceptAllHooksFor(k, v, 'Compilation') + interceptAllHooksFor(E, v, 'Normal Module Factory') + interceptAllHooksFor(P, v, 'Context Module Factory') + interceptAllParserHooks(E, v) + interceptAllJavascriptModulesPluginHooks(k, v) + } + ) + k.hooks.done.tapAsync({ name: Me, stage: Infinity }, (E, P) => { + if (k.watchMode) return P() + v.profiler.stopProfiling().then((k) => { + if (k === undefined) { + v.profiler.destroy() + v.end(P) + return + } + const E = k.profile.startTime + const R = k.profile.endTime + v.trace.completeEvent({ + name: 'TaskQueueManager::ProcessTaskFromWorkQueue', + id: ++v.counter, + cat: ['toplevel'], + ts: E, + args: { + src_file: '../../ipc/ipc_moji_bootstrap.cc', + src_func: 'Accept', + }, + }) + v.trace.completeEvent({ + name: 'EvaluateScript', + id: ++v.counter, + cat: ['devtools.timeline'], + ts: E, + dur: R - E, + args: { + data: { + url: 'webpack', + lineNumber: 1, + columnNumber: 1, + frame: '0xFFF', + }, + }, + }) + v.trace.instantEvent({ + name: 'CpuProfile', + id: ++v.counter, + cat: ['disabled-by-default-devtools.timeline'], + ts: R, + args: { data: { cpuProfile: k.profile } }, + }) + v.profiler.destroy() + v.end(P) + }) + }) + } + } + const interceptAllHooksFor = (k, v, E) => { + if (Reflect.has(k, 'hooks')) { + Object.keys(k.hooks).forEach((P) => { + const R = k.hooks[P] + if (R && !R._fakeHook) { + R.intercept(makeInterceptorFor(E, v)(P)) + } + }) + } + } + const interceptAllParserHooks = (k, v) => { + const E = [R, L, N, le, q, ae] + E.forEach((E) => { + k.hooks.parser.for(E).tap(Me, (k, E) => { + interceptAllHooksFor(k, v, 'Parser') + }) + }) + } + const interceptAllJavascriptModulesPluginHooks = (k, v) => { + interceptAllHooksFor( + { hooks: E(89168).getCompilationHooks(k) }, + v, + 'JavascriptModulesPlugin' + ) + } + const makeInterceptorFor = (k, v) => (k) => ({ + register: (E) => { + const { name: P, type: R, fn: L } = E + const N = + P === Me + ? L + : makeNewProfiledTapFn(k, v, { name: P, type: R, fn: L }) + return { ...E, fn: N } + }, + }) + const makeNewProfiledTapFn = (k, v, { name: E, type: P, fn: R }) => { + const L = ['blink.user_timing'] + switch (P) { + case 'promise': + return (...k) => { + const P = ++v.counter + v.trace.begin({ name: E, id: P, cat: L }) + const N = R(...k) + return N.then((k) => { + v.trace.end({ name: E, id: P, cat: L }) + return k + }) + } + case 'async': + return (...k) => { + const P = ++v.counter + v.trace.begin({ name: E, id: P, cat: L }) + const N = k.pop() + R(...k, (...k) => { + v.trace.end({ name: E, id: P, cat: L }) + N(...k) + }) + } + case 'sync': + return (...k) => { + const P = ++v.counter + if (E === Me) { + return R(...k) + } + v.trace.begin({ name: E, id: P, cat: L }) + let N + try { + N = R(...k) + } catch (k) { + v.trace.end({ name: E, id: P, cat: L }) + throw k + } + v.trace.end({ name: E, id: P, cat: L }) + return N + } + default: + break + } + } + k.exports = ProfilingPlugin + k.exports.Profiler = Profiler + }, + 43804: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(58528) + const L = E(53139) + const N = { + f: { + definition: 'var __WEBPACK_AMD_DEFINE_RESULT__;', + content: `!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, ${P.require}, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`, + requests: [P.require, P.exports, P.module], + }, + o: { + definition: '', + content: '!(module.exports = #)', + requests: [P.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, ${P.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: [P.require, P.exports, P.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: [P.exports, P.module], + }, + ao: { + definition: '', + content: '!(#, module.exports = #)', + requests: [P.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: [P.exports, P.module], + }, + lf: { + definition: 'var XXX, XXXmodule;', + content: `!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, ${P.require}, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))`, + requests: [P.require, P.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, ${P.require}, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))`, + requests: [P.require, P.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 L { + constructor(k, v, E, P, R) { + super() + this.range = k + this.arrayRange = v + this.functionRange = E + this.objectRange = P + this.namedModule = R + this.localModule = null + } + get type() { + return 'amd define' + } + serialize(k) { + const { write: v } = k + v(this.range) + v(this.arrayRange) + v(this.functionRange) + v(this.objectRange) + v(this.namedModule) + v(this.localModule) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.range = v() + this.arrayRange = v() + this.functionRange = v() + this.objectRange = v() + this.namedModule = v() + this.localModule = v() + super.deserialize(k) + } + } + R(AMDDefineDependency, 'webpack/lib/dependencies/AMDDefineDependency') + AMDDefineDependency.Template = class AMDDefineDependencyTemplate extends ( + L.Template + ) { + apply(k, v, { runtimeRequirements: E }) { + const P = k + const R = this.branch(P) + const { definition: L, content: q, requests: ae } = N[R] + for (const k of ae) { + E.add(k) + } + this.replace(P, v, L, q) + } + localModuleVar(k) { + return ( + k.localModule && k.localModule.used && k.localModule.variableName() + ) + } + branch(k) { + const v = this.localModuleVar(k) ? 'l' : '' + const E = k.arrayRange ? 'a' : '' + const P = k.objectRange ? 'o' : '' + const R = k.functionRange ? 'f' : '' + return v + E + P + R + } + replace(k, v, E, P) { + const R = this.localModuleVar(k) + if (R) { + P = P.replace(/XXX/g, R.replace(/\$/g, '$$$$')) + E = E.replace(/XXX/g, R.replace(/\$/g, '$$$$')) + } + if (k.namedModule) { + P = P.replace(/YYY/g, JSON.stringify(k.namedModule)) + } + const L = P.split('#') + if (E) v.insert(0, E) + let N = k.range[0] + if (k.arrayRange) { + v.replace(N, k.arrayRange[0] - 1, L.shift()) + N = k.arrayRange[1] + } + if (k.objectRange) { + v.replace(N, k.objectRange[0] - 1, L.shift()) + N = k.objectRange[1] + } else if (k.functionRange) { + v.replace(N, k.functionRange[0] - 1, L.shift()) + N = k.functionRange[1] + } + v.replace(N, k.range[1] - 1, L.shift()) + if (L.length > 0) throw new Error('Implementation error') + } + } + k.exports = AMDDefineDependency + }, + 87655: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(43804) + const L = E(78326) + const N = E(54220) + const q = E(80760) + const ae = E(60381) + const le = E(25012) + const pe = E(71203) + const me = E(41808) + const { addLocalModule: ye, getLocalModule: _e } = E(18363) + const isBoundFunctionExpression = (k) => { + if (k.type !== 'CallExpression') return false + if (k.callee.type !== 'MemberExpression') return false + if (k.callee.computed) return false + if (k.callee.object.type !== 'FunctionExpression') return false + if (k.callee.property.type !== 'Identifier') return false + if (k.callee.property.name !== 'bind') return false + return true + } + const isUnboundFunctionExpression = (k) => { + if (k.type === 'FunctionExpression') return true + if (k.type === 'ArrowFunctionExpression') return true + return false + } + const isCallable = (k) => { + if (isUnboundFunctionExpression(k)) return true + if (isBoundFunctionExpression(k)) return true + return false + } + class AMDDefineDependencyParserPlugin { + constructor(k) { + this.options = k + } + apply(k) { + k.hooks.call + .for('define') + .tap( + 'AMDDefineDependencyParserPlugin', + this.processCallDefine.bind(this, k) + ) + } + processArray(k, v, E, R, L) { + if (E.isArray()) { + E.items.forEach((E, P) => { + if ( + E.isString() && + ['require', 'module', 'exports'].includes(E.string) + ) + R[P] = E.string + const N = this.processItem(k, v, E, L) + if (N === undefined) { + this.processContext(k, v, E) + } + }) + return true + } else if (E.isConstArray()) { + const L = [] + E.array.forEach((E, N) => { + let q + let ae + if (E === 'require') { + R[N] = E + q = P.require + } else if (['exports', 'module'].includes(E)) { + R[N] = E + q = E + } else if ((ae = _e(k.state, E))) { + ae.flagUsed() + q = new me(ae, undefined, false) + q.loc = v.loc + k.state.module.addPresentationalDependency(q) + } else { + q = this.newRequireItemDependency(E) + q.loc = v.loc + q.optional = !!k.scope.inTry + k.state.current.addDependency(q) + } + L.push(q) + }) + const N = this.newRequireArrayDependency(L, E.range) + N.loc = v.loc + N.optional = !!k.scope.inTry + k.state.module.addPresentationalDependency(N) + return true + } + } + processItem(k, v, E, R) { + if (E.isConditional()) { + E.options.forEach((E) => { + const P = this.processItem(k, v, E) + if (P === undefined) { + this.processContext(k, v, E) + } + }) + return true + } else if (E.isString()) { + let L, N + if (E.string === 'require') { + L = new ae(P.require, E.range, [P.require]) + } else if (E.string === 'exports') { + L = new ae('exports', E.range, [P.exports]) + } else if (E.string === 'module') { + L = new ae('module', E.range, [P.module]) + } else if ((N = _e(k.state, E.string, R))) { + N.flagUsed() + L = new me(N, E.range, false) + } else { + L = this.newRequireItemDependency(E.string, E.range) + L.optional = !!k.scope.inTry + k.state.current.addDependency(L) + return true + } + L.loc = v.loc + k.state.module.addPresentationalDependency(L) + return true + } + } + processContext(k, v, E) { + const P = le.create( + N, + E.range, + E, + v, + this.options, + { category: 'amd' }, + k + ) + if (!P) return + P.loc = v.loc + P.optional = !!k.scope.inTry + k.state.current.addDependency(P) + return true + } + processCallDefine(k, v) { + let E, P, R, L + switch (v.arguments.length) { + case 1: + if (isCallable(v.arguments[0])) { + P = v.arguments[0] + } else if (v.arguments[0].type === 'ObjectExpression') { + R = v.arguments[0] + } else { + R = P = v.arguments[0] + } + break + case 2: + if (v.arguments[0].type === 'Literal') { + L = v.arguments[0].value + if (isCallable(v.arguments[1])) { + P = v.arguments[1] + } else if (v.arguments[1].type === 'ObjectExpression') { + R = v.arguments[1] + } else { + R = P = v.arguments[1] + } + } else { + E = v.arguments[0] + if (isCallable(v.arguments[1])) { + P = v.arguments[1] + } else if (v.arguments[1].type === 'ObjectExpression') { + R = v.arguments[1] + } else { + R = P = v.arguments[1] + } + } + break + case 3: + L = v.arguments[0].value + E = v.arguments[1] + if (isCallable(v.arguments[2])) { + P = v.arguments[2] + } else if (v.arguments[2].type === 'ObjectExpression') { + R = v.arguments[2] + } else { + R = P = v.arguments[2] + } + break + default: + return + } + pe.bailout(k.state) + let N = null + let q = 0 + if (P) { + if (isUnboundFunctionExpression(P)) { + N = P.params + } else if (isBoundFunctionExpression(P)) { + N = P.callee.object.params + q = P.arguments.length - 1 + if (q < 0) { + q = 0 + } + } + } + let ae = new Map() + if (E) { + const P = {} + const R = k.evaluateExpression(E) + const le = this.processArray(k, v, R, P, L) + if (!le) return + if (N) { + N = N.slice(q).filter((v, E) => { + if (P[E]) { + ae.set(v.name, k.getVariableInfo(P[E])) + return false + } + return true + }) + } + } else { + const v = ['require', 'exports', 'module'] + if (N) { + N = N.slice(q).filter((E, P) => { + if (v[P]) { + ae.set(E.name, k.getVariableInfo(v[P])) + return false + } + return true + }) + } + } + let le + if (P && isUnboundFunctionExpression(P)) { + le = k.scope.inTry + k.inScope(N, () => { + for (const [v, E] of ae) { + k.setVariable(v, E) + } + k.scope.inTry = le + if (P.body.type === 'BlockStatement') { + k.detectMode(P.body.body) + const v = k.prevStatement + k.preWalkStatement(P.body) + k.prevStatement = v + k.walkStatement(P.body) + } else { + k.walkExpression(P.body) + } + }) + } else if (P && isBoundFunctionExpression(P)) { + le = k.scope.inTry + k.inScope( + P.callee.object.params.filter( + (k) => !['require', 'module', 'exports'].includes(k.name) + ), + () => { + for (const [v, E] of ae) { + k.setVariable(v, E) + } + k.scope.inTry = le + if (P.callee.object.body.type === 'BlockStatement') { + k.detectMode(P.callee.object.body.body) + const v = k.prevStatement + k.preWalkStatement(P.callee.object.body) + k.prevStatement = v + k.walkStatement(P.callee.object.body) + } else { + k.walkExpression(P.callee.object.body) + } + } + ) + if (P.arguments) { + k.walkExpressions(P.arguments) + } + } else if (P || R) { + k.walkExpression(P || R) + } + const me = this.newDefineDependency( + v.range, + E ? E.range : null, + P ? P.range : null, + R ? R.range : null, + L ? L : null + ) + me.loc = v.loc + if (L) { + me.localModule = ye(k.state, L) + } + k.state.module.addPresentationalDependency(me) + return true + } + newDefineDependency(k, v, E, P, L) { + return new R(k, v, E, P, L) + } + newRequireArrayDependency(k, v) { + return new L(k, v) + } + newRequireItemDependency(k, v) { + return new q(k, v) + } + } + k.exports = AMDDefineDependencyParserPlugin + }, + 80471: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, + } = E(93622) + const L = E(56727) + const { + approve: N, + evaluateToIdentifier: q, + evaluateToString: ae, + toConstantDependency: le, + } = E(80784) + const pe = E(43804) + const me = E(87655) + const ye = E(78326) + const _e = E(54220) + const Ie = E(45746) + const Me = E(83138) + const Te = E(80760) + const { AMDDefineRuntimeModule: je, AMDOptionsRuntimeModule: Ne } = + E(60814) + const Be = E(60381) + const qe = E(41808) + const Ue = E(63639) + const Ge = 'AMDPlugin' + class AMDPlugin { + constructor(k) { + this.amdOptions = k + } + apply(k) { + const v = this.amdOptions + k.hooks.compilation.tap( + Ge, + (k, { contextModuleFactory: E, normalModuleFactory: He }) => { + k.dependencyTemplates.set(Me, new Me.Template()) + k.dependencyFactories.set(Te, He) + k.dependencyTemplates.set(Te, new Te.Template()) + k.dependencyTemplates.set(ye, new ye.Template()) + k.dependencyFactories.set(_e, E) + k.dependencyTemplates.set(_e, new _e.Template()) + k.dependencyTemplates.set(pe, new pe.Template()) + k.dependencyTemplates.set(Ue, new Ue.Template()) + k.dependencyTemplates.set(qe, new qe.Template()) + k.hooks.runtimeRequirementInModule + .for(L.amdDefine) + .tap(Ge, (k, v) => { + v.add(L.require) + }) + k.hooks.runtimeRequirementInModule + .for(L.amdOptions) + .tap(Ge, (k, v) => { + v.add(L.requireScope) + }) + k.hooks.runtimeRequirementInTree + .for(L.amdDefine) + .tap(Ge, (v, E) => { + k.addRuntimeModule(v, new je()) + }) + k.hooks.runtimeRequirementInTree + .for(L.amdOptions) + .tap(Ge, (E, P) => { + k.addRuntimeModule(E, new Ne(v)) + }) + const handler = (k, v) => { + if (v.amd !== undefined && !v.amd) return + const tapOptionsHooks = (v, E, P) => { + k.hooks.expression + .for(v) + .tap(Ge, le(k, L.amdOptions, [L.amdOptions])) + k.hooks.evaluateIdentifier.for(v).tap(Ge, q(v, E, P, true)) + k.hooks.evaluateTypeof.for(v).tap(Ge, ae('object')) + k.hooks.typeof.for(v).tap(Ge, le(k, JSON.stringify('object'))) + } + new Ie(v).apply(k) + new me(v).apply(k) + tapOptionsHooks('define.amd', 'define', () => 'amd') + tapOptionsHooks('require.amd', 'require', () => ['amd']) + tapOptionsHooks( + '__webpack_amd_options__', + '__webpack_amd_options__', + () => [] + ) + k.hooks.expression.for('define').tap(Ge, (v) => { + const E = new Be(L.amdDefine, v.range, [L.amdDefine]) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + return true + }) + k.hooks.typeof + .for('define') + .tap(Ge, le(k, JSON.stringify('function'))) + k.hooks.evaluateTypeof.for('define').tap(Ge, ae('function')) + k.hooks.canRename.for('define').tap(Ge, N) + k.hooks.rename.for('define').tap(Ge, (v) => { + const E = new Be(L.amdDefine, v.range, [L.amdDefine]) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + return false + }) + k.hooks.typeof + .for('require') + .tap(Ge, le(k, JSON.stringify('function'))) + k.hooks.evaluateTypeof.for('require').tap(Ge, ae('function')) + } + He.hooks.parser.for(P).tap(Ge, handler) + He.hooks.parser.for(R).tap(Ge, handler) + } + ) + } + } + k.exports = AMDPlugin + }, + 78326: function (k, v, E) { + 'use strict' + const P = E(30601) + const R = E(58528) + const L = E(53139) + class AMDRequireArrayDependency extends L { + constructor(k, v) { + super() + this.depsArray = k + this.range = v + } + get type() { + return 'amd require array' + } + get category() { + return 'amd' + } + serialize(k) { + const { write: v } = k + v(this.depsArray) + v(this.range) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.depsArray = v() + this.range = v() + super.deserialize(k) + } + } + R( + AMDRequireArrayDependency, + 'webpack/lib/dependencies/AMDRequireArrayDependency' + ) + AMDRequireArrayDependency.Template = class AMDRequireArrayDependencyTemplate extends ( + P + ) { + apply(k, v, E) { + const P = k + const R = this.getContent(P, E) + v.replace(P.range[0], P.range[1] - 1, R) + } + getContent(k, v) { + const E = k.depsArray.map((k) => this.contentForDependency(k, v)) + return `[${E.join(', ')}]` + } + contentForDependency( + k, + { + runtimeTemplate: v, + moduleGraph: E, + chunkGraph: P, + runtimeRequirements: R, + } + ) { + if (typeof k === 'string') { + return k + } + if (k.localModule) { + return k.localModule.variableName() + } else { + return v.moduleExports({ + module: E.getModule(k), + chunkGraph: P, + request: k.request, + runtimeRequirements: R, + }) + } + } + } + k.exports = AMDRequireArrayDependency + }, + 54220: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(51395) + class AMDRequireContextDependency extends R { + constructor(k, v, E) { + super(k) + this.range = v + this.valueRange = E + } + get type() { + return 'amd require context' + } + get category() { + return 'amd' + } + serialize(k) { + const { write: v } = k + v(this.range) + v(this.valueRange) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.range = v() + this.valueRange = v() + super.deserialize(k) + } + } + P( + AMDRequireContextDependency, + 'webpack/lib/dependencies/AMDRequireContextDependency' + ) + AMDRequireContextDependency.Template = E(64077) + k.exports = AMDRequireContextDependency + }, + 39892: function (k, v, E) { + 'use strict' + const P = E(75081) + const R = E(58528) + class AMDRequireDependenciesBlock extends P { + constructor(k, v) { + super(null, k, v) + } + } + R( + AMDRequireDependenciesBlock, + 'webpack/lib/dependencies/AMDRequireDependenciesBlock' + ) + k.exports = AMDRequireDependenciesBlock + }, + 45746: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(9415) + const L = E(78326) + const N = E(54220) + const q = E(39892) + const ae = E(83138) + const le = E(80760) + const pe = E(60381) + const me = E(25012) + const ye = E(41808) + const { getLocalModule: _e } = E(18363) + const Ie = E(63639) + const Me = E(21271) + class AMDRequireDependenciesBlockParserPlugin { + constructor(k) { + this.options = k + } + processFunctionArgument(k, v) { + let E = true + const P = Me(v) + if (P) { + k.inScope( + P.fn.params.filter( + (k) => !['require', 'module', 'exports'].includes(k.name) + ), + () => { + if (P.fn.body.type === 'BlockStatement') { + k.walkStatement(P.fn.body) + } else { + k.walkExpression(P.fn.body) + } + } + ) + k.walkExpressions(P.expressions) + if (P.needThis === false) { + E = false + } + } else { + k.walkExpression(v) + } + return E + } + apply(k) { + k.hooks.call + .for('require') + .tap( + 'AMDRequireDependenciesBlockParserPlugin', + this.processCallRequire.bind(this, k) + ) + } + processArray(k, v, E) { + if (E.isArray()) { + for (const P of E.items) { + const E = this.processItem(k, v, P) + if (E === undefined) { + this.processContext(k, v, P) + } + } + return true + } else if (E.isConstArray()) { + const R = [] + for (const L of E.array) { + let E, N + if (L === 'require') { + E = P.require + } else if (['exports', 'module'].includes(L)) { + E = L + } else if ((N = _e(k.state, L))) { + N.flagUsed() + E = new ye(N, undefined, false) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + } else { + E = this.newRequireItemDependency(L) + E.loc = v.loc + E.optional = !!k.scope.inTry + k.state.current.addDependency(E) + } + R.push(E) + } + const L = this.newRequireArrayDependency(R, E.range) + L.loc = v.loc + L.optional = !!k.scope.inTry + k.state.module.addPresentationalDependency(L) + return true + } + } + processItem(k, v, E) { + if (E.isConditional()) { + for (const P of E.options) { + const E = this.processItem(k, v, P) + if (E === undefined) { + this.processContext(k, v, P) + } + } + return true + } else if (E.isString()) { + let R, L + if (E.string === 'require') { + R = new pe(P.require, E.string, [P.require]) + } else if (E.string === 'module') { + R = new pe(k.state.module.buildInfo.moduleArgument, E.range, [ + P.module, + ]) + } else if (E.string === 'exports') { + R = new pe(k.state.module.buildInfo.exportsArgument, E.range, [ + P.exports, + ]) + } else if ((L = _e(k.state, E.string))) { + L.flagUsed() + R = new ye(L, E.range, false) + } else { + R = this.newRequireItemDependency(E.string, E.range) + R.loc = v.loc + R.optional = !!k.scope.inTry + k.state.current.addDependency(R) + return true + } + R.loc = v.loc + k.state.module.addPresentationalDependency(R) + return true + } + } + processContext(k, v, E) { + const P = me.create( + N, + E.range, + E, + v, + this.options, + { category: 'amd' }, + k + ) + if (!P) return + P.loc = v.loc + P.optional = !!k.scope.inTry + k.state.current.addDependency(P) + return true + } + processArrayForRequestString(k) { + if (k.isArray()) { + const v = k.items.map((k) => this.processItemForRequestString(k)) + if (v.every(Boolean)) return v.join(' ') + } else if (k.isConstArray()) { + return k.array.join(' ') + } + } + processItemForRequestString(k) { + if (k.isConditional()) { + const v = k.options.map((k) => this.processItemForRequestString(k)) + if (v.every(Boolean)) return v.join('|') + } else if (k.isString()) { + return k.string + } + } + processCallRequire(k, v) { + let E + let P + let L + let N + const q = k.state.current + if (v.arguments.length >= 1) { + E = k.evaluateExpression(v.arguments[0]) + P = this.newRequireDependenciesBlock( + v.loc, + this.processArrayForRequestString(E) + ) + L = this.newRequireDependency( + v.range, + E.range, + v.arguments.length > 1 ? v.arguments[1].range : null, + v.arguments.length > 2 ? v.arguments[2].range : null + ) + L.loc = v.loc + P.addDependency(L) + k.state.current = P + } + if (v.arguments.length === 1) { + k.inScope([], () => { + N = this.processArray(k, v, E) + }) + k.state.current = q + if (!N) return + k.state.current.addBlock(P) + return true + } + if (v.arguments.length === 2 || v.arguments.length === 3) { + try { + k.inScope([], () => { + N = this.processArray(k, v, E) + }) + if (!N) { + const E = new Ie('unsupported', v.range) + q.addPresentationalDependency(E) + if (k.state.module) { + k.state.module.addError( + new R( + "Cannot statically analyse 'require(…, …)' in line " + + v.loc.start.line, + v.loc + ) + ) + } + P = null + return true + } + L.functionBindThis = this.processFunctionArgument( + k, + v.arguments[1] + ) + if (v.arguments.length === 3) { + L.errorCallbackBindThis = this.processFunctionArgument( + k, + v.arguments[2] + ) + } + } finally { + k.state.current = q + if (P) k.state.current.addBlock(P) + } + return true + } + } + newRequireDependenciesBlock(k, v) { + return new q(k, v) + } + newRequireDependency(k, v, E, P) { + return new ae(k, v, E, P) + } + newRequireItemDependency(k, v) { + return new le(k, v) + } + newRequireArrayDependency(k, v) { + return new L(k, v) + } + } + k.exports = AMDRequireDependenciesBlockParserPlugin + }, + 83138: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(58528) + const L = E(53139) + class AMDRequireDependency extends L { + constructor(k, v, E, P) { + super() + this.outerRange = k + this.arrayRange = v + this.functionRange = E + this.errorCallbackRange = P + this.functionBindThis = false + this.errorCallbackBindThis = false + } + get category() { + return 'amd' + } + serialize(k) { + const { write: v } = k + v(this.outerRange) + v(this.arrayRange) + v(this.functionRange) + v(this.errorCallbackRange) + v(this.functionBindThis) + v(this.errorCallbackBindThis) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.outerRange = v() + this.arrayRange = v() + this.functionRange = v() + this.errorCallbackRange = v() + this.functionBindThis = v() + this.errorCallbackBindThis = v() + super.deserialize(k) + } + } + R(AMDRequireDependency, 'webpack/lib/dependencies/AMDRequireDependency') + AMDRequireDependency.Template = class AMDRequireDependencyTemplate extends ( + L.Template + ) { + apply( + k, + v, + { + runtimeTemplate: E, + moduleGraph: R, + chunkGraph: L, + runtimeRequirements: N, + } + ) { + const q = k + const ae = R.getParentBlock(q) + const le = E.blockPromise({ + chunkGraph: L, + block: ae, + message: 'AMD require', + runtimeRequirements: N, + }) + if (q.arrayRange && !q.functionRange) { + const k = `${le}.then(function() {` + const E = `;})['catch'](${P.uncaughtErrorHandler})` + N.add(P.uncaughtErrorHandler) + v.replace(q.outerRange[0], q.arrayRange[0] - 1, k) + v.replace(q.arrayRange[1], q.outerRange[1] - 1, E) + return + } + if (q.functionRange && !q.arrayRange) { + const k = `${le}.then((` + const E = `).bind(exports, ${P.require}, exports, module))['catch'](${P.uncaughtErrorHandler})` + N.add(P.uncaughtErrorHandler) + v.replace(q.outerRange[0], q.functionRange[0] - 1, k) + v.replace(q.functionRange[1], q.outerRange[1] - 1, E) + return + } + if (q.arrayRange && q.functionRange && q.errorCallbackRange) { + const k = `${le}.then(function() { ` + const E = `}${q.functionBindThis ? '.bind(this)' : ''})['catch'](` + const P = `${q.errorCallbackBindThis ? '.bind(this)' : ''})` + v.replace(q.outerRange[0], q.arrayRange[0] - 1, k) + v.insert(q.arrayRange[0], 'var __WEBPACK_AMD_REQUIRE_ARRAY__ = ') + v.replace(q.arrayRange[1], q.functionRange[0] - 1, '; (') + v.insert( + q.functionRange[1], + ').apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);' + ) + v.replace(q.functionRange[1], q.errorCallbackRange[0] - 1, E) + v.replace(q.errorCallbackRange[1], q.outerRange[1] - 1, P) + return + } + if (q.arrayRange && q.functionRange) { + const k = `${le}.then(function() { ` + const E = `}${q.functionBindThis ? '.bind(this)' : ''})['catch'](${ + P.uncaughtErrorHandler + })` + N.add(P.uncaughtErrorHandler) + v.replace(q.outerRange[0], q.arrayRange[0] - 1, k) + v.insert(q.arrayRange[0], 'var __WEBPACK_AMD_REQUIRE_ARRAY__ = ') + v.replace(q.arrayRange[1], q.functionRange[0] - 1, '; (') + v.insert( + q.functionRange[1], + ').apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);' + ) + v.replace(q.functionRange[1], q.outerRange[1] - 1, E) + } + } + } + k.exports = AMDRequireDependency + }, + 80760: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(77373) + const L = E(29729) + class AMDRequireItemDependency extends R { + constructor(k, v) { + super(k) + this.range = v + } + get type() { + return 'amd require' + } + get category() { + return 'amd' + } + } + P( + AMDRequireItemDependency, + 'webpack/lib/dependencies/AMDRequireItemDependency' + ) + AMDRequireItemDependency.Template = L + k.exports = AMDRequireItemDependency + }, + 60814: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class AMDDefineRuntimeModule extends R { + constructor() { + super('amd define') + } + generate() { + return L.asString([ + `${P.amdDefine} = function () {`, + L.indent("throw new Error('define cannot be used indirect');"), + '};', + ]) + } + } + class AMDOptionsRuntimeModule extends R { + constructor(k) { + super('amd options') + this.options = k + } + generate() { + return L.asString([ + `${P.amdOptions} = ${JSON.stringify(this.options)};`, + ]) + } + } + v.AMDDefineRuntimeModule = AMDDefineRuntimeModule + v.AMDOptionsRuntimeModule = AMDOptionsRuntimeModule + }, + 11602: function (k, v, E) { + 'use strict' + const P = E(30601) + const R = E(88113) + const L = E(58528) + const N = E(53139) + class CachedConstDependency extends N { + constructor(k, v, E) { + super() + this.expression = k + this.range = v + this.identifier = E + this._hashUpdate = undefined + } + updateHash(k, v) { + if (this._hashUpdate === undefined) + this._hashUpdate = + '' + this.identifier + this.range + this.expression + k.update(this._hashUpdate) + } + serialize(k) { + const { write: v } = k + v(this.expression) + v(this.range) + v(this.identifier) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.expression = v() + this.range = v() + this.identifier = v() + super.deserialize(k) + } + } + L(CachedConstDependency, 'webpack/lib/dependencies/CachedConstDependency') + CachedConstDependency.Template = class CachedConstDependencyTemplate extends ( + P + ) { + apply( + k, + v, + { runtimeTemplate: E, dependencyTemplates: P, initFragments: L } + ) { + const N = k + L.push( + new R( + `var ${N.identifier} = ${N.expression};\n`, + R.STAGE_CONSTANTS, + 0, + `const ${N.identifier}` + ) + ) + if (typeof N.range === 'number') { + v.insert(N.range, N.identifier) + return + } + v.replace(N.range[0], N.range[1] - 1, N.identifier) + } + } + k.exports = CachedConstDependency + }, + 73892: function (k, v, E) { + 'use strict' + const P = E(56727) + v.handleDependencyBase = (k, v, E) => { + let R = undefined + let L + switch (k) { + case 'exports': + E.add(P.exports) + R = v.exportsArgument + L = 'expression' + break + case 'module.exports': + E.add(P.module) + R = `${v.moduleArgument}.exports` + L = 'expression' + break + case 'this': + E.add(P.thisAsExports) + R = 'this' + L = 'expression' + break + case 'Object.defineProperty(exports)': + E.add(P.exports) + R = v.exportsArgument + L = 'Object.defineProperty' + break + case 'Object.defineProperty(module.exports)': + E.add(P.module) + R = `${v.moduleArgument}.exports` + L = 'Object.defineProperty' + break + case 'Object.defineProperty(this)': + E.add(P.thisAsExports) + R = 'this' + L = 'Object.defineProperty' + break + default: + throw new Error(`Unsupported base ${k}`) + } + return [L, R] + } + }, + 21542: function (k, v, E) { + 'use strict' + const P = E(16848) + const { UsageState: R } = E(11172) + const L = E(95041) + const { equals: N } = E(68863) + const q = E(58528) + const ae = E(10720) + const { handleDependencyBase: le } = E(73892) + const pe = E(77373) + const me = E(49798) + const ye = Symbol('CommonJsExportRequireDependency.ids') + const _e = {} + class CommonJsExportRequireDependency extends pe { + constructor(k, v, E, P, R, L, N) { + super(R) + this.range = k + this.valueRange = v + this.base = E + this.names = P + this.ids = L + this.resultUsed = N + this.asiSafe = undefined + } + get type() { + return 'cjs export require' + } + couldAffectReferencingModule() { + return P.TRANSITIVE + } + getIds(k) { + return k.getMeta(this)[ye] || this.ids + } + setIds(k, v) { + k.getMeta(this)[ye] = v + } + getReferencedExports(k, v) { + const E = this.getIds(k) + const getFullResult = () => { + if (E.length === 0) { + return P.EXPORTS_OBJECT_REFERENCED + } else { + return [{ name: E, canMangle: false }] + } + } + if (this.resultUsed) return getFullResult() + let L = k.getExportsInfo(k.getParentModule(this)) + for (const k of this.names) { + const E = L.getReadOnlyExportInfo(k) + const N = E.getUsed(v) + if (N === R.Unused) return P.NO_EXPORTS_REFERENCED + if (N !== R.OnlyPropertiesUsed) return getFullResult() + L = E.exportsInfo + if (!L) return getFullResult() + } + if (L.otherExportsInfo.getUsed(v) !== R.Unused) { + return getFullResult() + } + const N = [] + for (const k of L.orderedExports) { + me(v, N, E.concat(k.name), k, false) + } + return N.map((k) => ({ name: k, canMangle: false })) + } + getExports(k) { + const v = this.getIds(k) + if (this.names.length === 1) { + const E = this.names[0] + const P = k.getConnection(this) + if (!P) return + return { + exports: [ + { + name: E, + from: P, + export: v.length === 0 ? null : v, + canMangle: !(E in _e) && false, + }, + ], + dependencies: [P.module], + } + } else if (this.names.length > 0) { + const k = this.names[0] + return { + exports: [{ name: k, canMangle: !(k in _e) && false }], + dependencies: undefined, + } + } else { + const E = k.getConnection(this) + if (!E) return + const P = this.getStarReexports(k, undefined, E.module) + if (P) { + return { + exports: Array.from(P.exports, (k) => ({ + name: k, + from: E, + export: v.concat(k), + canMangle: !(k in _e) && false, + })), + dependencies: [E.module], + } + } else { + return { + exports: true, + from: v.length === 0 ? E : undefined, + canMangle: false, + dependencies: [E.module], + } + } + } + } + getStarReexports(k, v, E = k.getModule(this)) { + let P = k.getExportsInfo(E) + const L = this.getIds(k) + if (L.length > 0) P = P.getNestedExportsInfo(L) + let N = k.getExportsInfo(k.getParentModule(this)) + if (this.names.length > 0) N = N.getNestedExportsInfo(this.names) + const q = P && P.otherExportsInfo.provided === false + const ae = N && N.otherExportsInfo.getUsed(v) === R.Unused + if (!q && !ae) { + return + } + const le = E.getExportsType(k, false) === 'namespace' + const pe = new Set() + const me = new Set() + if (ae) { + for (const k of N.orderedExports) { + const E = k.name + if (k.getUsed(v) === R.Unused) continue + if (E === '__esModule' && le) { + pe.add(E) + } else if (P) { + const k = P.getReadOnlyExportInfo(E) + if (k.provided === false) continue + pe.add(E) + if (k.provided === true) continue + me.add(E) + } else { + pe.add(E) + me.add(E) + } + } + } else if (q) { + for (const k of P.orderedExports) { + const E = k.name + if (k.provided === false) continue + if (N) { + const k = N.getReadOnlyExportInfo(E) + if (k.getUsed(v) === R.Unused) continue + } + pe.add(E) + if (k.provided === true) continue + me.add(E) + } + if (le) { + pe.add('__esModule') + me.delete('__esModule') + } + } + return { exports: pe, checked: me } + } + serialize(k) { + const { write: v } = k + v(this.asiSafe) + v(this.range) + v(this.valueRange) + v(this.base) + v(this.names) + v(this.ids) + v(this.resultUsed) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.asiSafe = v() + this.range = v() + this.valueRange = v() + this.base = v() + this.names = v() + this.ids = v() + this.resultUsed = v() + super.deserialize(k) + } + } + q( + CommonJsExportRequireDependency, + 'webpack/lib/dependencies/CommonJsExportRequireDependency' + ) + CommonJsExportRequireDependency.Template = class CommonJsExportRequireDependencyTemplate extends ( + pe.Template + ) { + apply( + k, + v, + { + module: E, + runtimeTemplate: P, + chunkGraph: R, + moduleGraph: q, + runtimeRequirements: pe, + runtime: me, + } + ) { + const ye = k + const _e = q.getExportsInfo(E).getUsedName(ye.names, me) + const [Ie, Me] = le(ye.base, E, pe) + const Te = q.getModule(ye) + let je = P.moduleExports({ + module: Te, + chunkGraph: R, + request: ye.request, + weak: ye.weak, + runtimeRequirements: pe, + }) + if (Te) { + const k = ye.getIds(q) + const v = q.getExportsInfo(Te).getUsedName(k, me) + if (v) { + const E = N(v, k) ? '' : L.toNormalComment(ae(k)) + ' ' + je += `${E}${ae(v)}` + } + } + switch (Ie) { + case 'expression': + v.replace( + ye.range[0], + ye.range[1] - 1, + _e ? `${Me}${ae(_e)} = ${je}` : `/* unused reexport */ ${je}` + ) + return + case 'Object.defineProperty': + throw new Error('TODO') + default: + throw new Error('Unexpected type') + } + } + } + k.exports = CommonJsExportRequireDependency + }, + 57771: function (k, v, E) { + 'use strict' + const P = E(88113) + const R = E(58528) + const L = E(10720) + const { handleDependencyBase: N } = E(73892) + const q = E(53139) + const ae = {} + class CommonJsExportsDependency extends q { + constructor(k, v, E, P) { + super() + this.range = k + this.valueRange = v + this.base = E + this.names = P + } + get type() { + return 'cjs exports' + } + getExports(k) { + const v = this.names[0] + return { + exports: [{ name: v, canMangle: !(v in ae) }], + dependencies: undefined, + } + } + serialize(k) { + const { write: v } = k + v(this.range) + v(this.valueRange) + v(this.base) + v(this.names) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.range = v() + this.valueRange = v() + this.base = v() + this.names = v() + super.deserialize(k) + } + } + R( + CommonJsExportsDependency, + 'webpack/lib/dependencies/CommonJsExportsDependency' + ) + CommonJsExportsDependency.Template = class CommonJsExportsDependencyTemplate extends ( + q.Template + ) { + apply( + k, + v, + { + module: E, + moduleGraph: R, + initFragments: q, + runtimeRequirements: ae, + runtime: le, + } + ) { + const pe = k + const me = R.getExportsInfo(E).getUsedName(pe.names, le) + const [ye, _e] = N(pe.base, E, ae) + switch (ye) { + case 'expression': + if (!me) { + q.push( + new P( + 'var __webpack_unused_export__;\n', + P.STAGE_CONSTANTS, + 0, + '__webpack_unused_export__' + ) + ) + v.replace( + pe.range[0], + pe.range[1] - 1, + '__webpack_unused_export__' + ) + return + } + v.replace(pe.range[0], pe.range[1] - 1, `${_e}${L(me)}`) + return + case 'Object.defineProperty': + if (!me) { + q.push( + new P( + 'var __webpack_unused_export__;\n', + P.STAGE_CONSTANTS, + 0, + '__webpack_unused_export__' + ) + ) + v.replace( + pe.range[0], + pe.valueRange[0] - 1, + '__webpack_unused_export__ = (' + ) + v.replace(pe.valueRange[1], pe.range[1] - 1, ')') + return + } + v.replace( + pe.range[0], + pe.valueRange[0] - 1, + `Object.defineProperty(${_e}${L( + me.slice(0, -1) + )}, ${JSON.stringify(me[me.length - 1])}, (` + ) + v.replace(pe.valueRange[1], pe.range[1] - 1, '))') + return + } + } + } + k.exports = CommonJsExportsDependency + }, + 416: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(1811) + const { evaluateToString: L } = E(80784) + const N = E(10720) + const q = E(21542) + const ae = E(57771) + const le = E(23343) + const pe = E(71203) + const me = E(71803) + const ye = E(10699) + const getValueOfPropertyDescription = (k) => { + if (k.type !== 'ObjectExpression') return + for (const v of k.properties) { + if (v.computed) continue + const k = v.key + if (k.type !== 'Identifier' || k.name !== 'value') continue + return v.value + } + } + const isTruthyLiteral = (k) => { + switch (k.type) { + case 'Literal': + return !!k.value + case 'UnaryExpression': + if (k.operator === '!') return isFalsyLiteral(k.argument) + } + return false + } + const isFalsyLiteral = (k) => { + switch (k.type) { + case 'Literal': + return !k.value + case 'UnaryExpression': + if (k.operator === '!') return isTruthyLiteral(k.argument) + } + return false + } + const parseRequireCall = (k, v) => { + const E = [] + while (v.type === 'MemberExpression') { + if (v.object.type === 'Super') return + if (!v.property) return + const k = v.property + if (v.computed) { + if (k.type !== 'Literal') return + E.push(`${k.value}`) + } else { + if (k.type !== 'Identifier') return + E.push(k.name) + } + v = v.object + } + if (v.type !== 'CallExpression' || v.arguments.length !== 1) return + const P = v.callee + if ( + P.type !== 'Identifier' || + k.getVariableInfo(P.name) !== 'require' + ) { + return + } + const R = v.arguments[0] + if (R.type === 'SpreadElement') return + const L = k.evaluateExpression(R) + return { argument: L, ids: E.reverse() } + } + class CommonJsExportsParserPlugin { + constructor(k) { + this.moduleGraph = k + } + apply(k) { + const enableStructuredExports = () => { + pe.enable(k.state) + } + const checkNamespace = (v, E, P) => { + if (!pe.isEnabled(k.state)) return + if (E.length > 0 && E[0] === '__esModule') { + if (P && isTruthyLiteral(P) && v) { + pe.setFlagged(k.state) + } else { + pe.setDynamic(k.state) + } + } + } + const bailout = (v) => { + pe.bailout(k.state) + if (v) bailoutHint(v) + } + const bailoutHint = (v) => { + this.moduleGraph + .getOptimizationBailout(k.state.module) + .push(`CommonJS bailout: ${v}`) + } + k.hooks.evaluateTypeof + .for('module') + .tap('CommonJsExportsParserPlugin', L('object')) + k.hooks.evaluateTypeof + .for('exports') + .tap('CommonJsPlugin', L('object')) + const handleAssignExport = (v, E, P) => { + if (me.isEnabled(k.state)) return + const R = parseRequireCall(k, v.right) + if ( + R && + R.argument.isString() && + (P.length === 0 || P[0] !== '__esModule') + ) { + enableStructuredExports() + if (P.length === 0) pe.setDynamic(k.state) + const L = new q( + v.range, + null, + E, + P, + R.argument.string, + R.ids, + !k.isStatementLevelExpression(v) + ) + L.loc = v.loc + L.optional = !!k.scope.inTry + k.state.module.addDependency(L) + return true + } + if (P.length === 0) return + enableStructuredExports() + const L = P + checkNamespace( + k.statementPath.length === 1 && k.isStatementLevelExpression(v), + L, + v.right + ) + const N = new ae(v.left.range, null, E, L) + N.loc = v.loc + k.state.module.addDependency(N) + k.walkExpression(v.right) + return true + } + k.hooks.assignMemberChain + .for('exports') + .tap('CommonJsExportsParserPlugin', (k, v) => + handleAssignExport(k, 'exports', v) + ) + k.hooks.assignMemberChain + .for('this') + .tap('CommonJsExportsParserPlugin', (v, E) => { + if (!k.scope.topLevelScope) return + return handleAssignExport(v, 'this', E) + }) + k.hooks.assignMemberChain + .for('module') + .tap('CommonJsExportsParserPlugin', (k, v) => { + if (v[0] !== 'exports') return + return handleAssignExport(k, 'module.exports', v.slice(1)) + }) + k.hooks.call + .for('Object.defineProperty') + .tap('CommonJsExportsParserPlugin', (v) => { + const E = v + if (!k.isStatementLevelExpression(E)) return + if (E.arguments.length !== 3) return + if (E.arguments[0].type === 'SpreadElement') return + if (E.arguments[1].type === 'SpreadElement') return + if (E.arguments[2].type === 'SpreadElement') return + const P = k.evaluateExpression(E.arguments[0]) + if (!P.isIdentifier()) return + if ( + P.identifier !== 'exports' && + P.identifier !== 'module.exports' && + (P.identifier !== 'this' || !k.scope.topLevelScope) + ) { + return + } + const R = k.evaluateExpression(E.arguments[1]) + const L = R.asString() + if (typeof L !== 'string') return + enableStructuredExports() + const N = E.arguments[2] + checkNamespace( + k.statementPath.length === 1, + [L], + getValueOfPropertyDescription(N) + ) + const q = new ae( + E.range, + E.arguments[2].range, + `Object.defineProperty(${P.identifier})`, + [L] + ) + q.loc = E.loc + k.state.module.addDependency(q) + k.walkExpression(E.arguments[2]) + return true + }) + const handleAccessExport = (v, E, P, L = undefined) => { + if (me.isEnabled(k.state)) return + if (P.length === 0) { + bailout(`${E} is used directly at ${R(v.loc)}`) + } + if (L && P.length === 1) { + bailoutHint( + `${E}${N( + P + )}(...) prevents optimization as ${E} is passed as call context at ${R( + v.loc + )}` + ) + } + const q = new le(v.range, E, P, !!L) + q.loc = v.loc + k.state.module.addDependency(q) + if (L) { + k.walkExpressions(L.arguments) + } + return true + } + k.hooks.callMemberChain + .for('exports') + .tap('CommonJsExportsParserPlugin', (k, v) => + handleAccessExport(k.callee, 'exports', v, k) + ) + k.hooks.expressionMemberChain + .for('exports') + .tap('CommonJsExportsParserPlugin', (k, v) => + handleAccessExport(k, 'exports', v) + ) + k.hooks.expression + .for('exports') + .tap('CommonJsExportsParserPlugin', (k) => + handleAccessExport(k, 'exports', []) + ) + k.hooks.callMemberChain + .for('module') + .tap('CommonJsExportsParserPlugin', (k, v) => { + if (v[0] !== 'exports') return + return handleAccessExport( + k.callee, + 'module.exports', + v.slice(1), + k + ) + }) + k.hooks.expressionMemberChain + .for('module') + .tap('CommonJsExportsParserPlugin', (k, v) => { + if (v[0] !== 'exports') return + return handleAccessExport(k, 'module.exports', v.slice(1)) + }) + k.hooks.expression + .for('module.exports') + .tap('CommonJsExportsParserPlugin', (k) => + handleAccessExport(k, 'module.exports', []) + ) + k.hooks.callMemberChain + .for('this') + .tap('CommonJsExportsParserPlugin', (v, E) => { + if (!k.scope.topLevelScope) return + return handleAccessExport(v.callee, 'this', E, v) + }) + k.hooks.expressionMemberChain + .for('this') + .tap('CommonJsExportsParserPlugin', (v, E) => { + if (!k.scope.topLevelScope) return + return handleAccessExport(v, 'this', E) + }) + k.hooks.expression + .for('this') + .tap('CommonJsExportsParserPlugin', (v) => { + if (!k.scope.topLevelScope) return + return handleAccessExport(v, 'this', []) + }) + k.hooks.expression.for('module').tap('CommonJsPlugin', (v) => { + bailout() + const E = me.isEnabled(k.state) + const R = new ye( + E ? P.harmonyModuleDecorator : P.nodeModuleDecorator, + !E + ) + R.loc = v.loc + k.state.module.addDependency(R) + return true + }) + } + } + k.exports = CommonJsExportsParserPlugin + }, + 73946: function (k, v, E) { + 'use strict' + const P = E(95041) + const { equals: R } = E(68863) + const L = E(58528) + const N = E(10720) + const q = E(77373) + class CommonJsFullRequireDependency extends q { + constructor(k, v, E) { + super(k) + this.range = v + this.names = E + this.call = false + this.asiSafe = undefined + } + getReferencedExports(k, v) { + if (this.call) { + const v = k.getModule(this) + if (!v || v.getExportsType(k, false) !== 'namespace') { + return [this.names.slice(0, -1)] + } + } + return [this.names] + } + serialize(k) { + const { write: v } = k + v(this.names) + v(this.call) + v(this.asiSafe) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.names = v() + this.call = v() + this.asiSafe = v() + super.deserialize(k) + } + get type() { + return 'cjs full require' + } + get category() { + return 'commonjs' + } + } + CommonJsFullRequireDependency.Template = class CommonJsFullRequireDependencyTemplate extends ( + q.Template + ) { + apply( + k, + v, + { + module: E, + runtimeTemplate: L, + moduleGraph: q, + chunkGraph: ae, + runtimeRequirements: le, + runtime: pe, + initFragments: me, + } + ) { + const ye = k + if (!ye.range) return + const _e = q.getModule(ye) + let Ie = L.moduleExports({ + module: _e, + chunkGraph: ae, + request: ye.request, + weak: ye.weak, + runtimeRequirements: le, + }) + if (_e) { + const k = ye.names + const v = q.getExportsInfo(_e).getUsedName(k, pe) + if (v) { + const E = R(v, k) ? '' : P.toNormalComment(N(k)) + ' ' + const L = `${E}${N(v)}` + Ie = ye.asiSafe === true ? `(${Ie}${L})` : `${Ie}${L}` + } + } + v.replace(ye.range[0], ye.range[1] - 1, Ie) + } + } + L( + CommonJsFullRequireDependency, + 'webpack/lib/dependencies/CommonJsFullRequireDependency' + ) + k.exports = CommonJsFullRequireDependency + }, + 17042: function (k, v, E) { + 'use strict' + const { fileURLToPath: P } = E(57310) + const R = E(68160) + const L = E(56727) + const N = E(9415) + const q = E(71572) + const ae = E(70037) + const { + evaluateToIdentifier: le, + evaluateToString: pe, + expressionIsUnsupported: me, + toConstantDependency: ye, + } = E(80784) + const _e = E(73946) + const Ie = E(5103) + const Me = E(41655) + const Te = E(60381) + const je = E(25012) + const Ne = E(41808) + const { getLocalModule: Be } = E(18363) + const qe = E(72330) + const Ue = E(12204) + const Ge = E(29961) + const He = E(53765) + const We = Symbol('createRequire') + const Qe = Symbol('createRequire()') + class CommonJsImportsParserPlugin { + constructor(k) { + this.options = k + } + apply(k) { + const v = this.options + const getContext = () => { + if (k.currentTagData) { + const { context: v } = k.currentTagData + return v + } + } + const tapRequireExpression = (v, E) => { + k.hooks.typeof + .for(v) + .tap( + 'CommonJsImportsParserPlugin', + ye(k, JSON.stringify('function')) + ) + k.hooks.evaluateTypeof + .for(v) + .tap('CommonJsImportsParserPlugin', pe('function')) + k.hooks.evaluateIdentifier + .for(v) + .tap('CommonJsImportsParserPlugin', le(v, 'require', E, true)) + } + const tapRequireExpressionTag = (v) => { + k.hooks.typeof + .for(v) + .tap( + 'CommonJsImportsParserPlugin', + ye(k, JSON.stringify('function')) + ) + k.hooks.evaluateTypeof + .for(v) + .tap('CommonJsImportsParserPlugin', pe('function')) + } + tapRequireExpression('require', () => []) + tapRequireExpression('require.resolve', () => ['resolve']) + tapRequireExpression('require.resolveWeak', () => ['resolveWeak']) + k.hooks.assign + .for('require') + .tap('CommonJsImportsParserPlugin', (v) => { + const E = new Te('var require;', 0) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + return true + }) + k.hooks.expression + .for('require.main') + .tap( + 'CommonJsImportsParserPlugin', + me(k, 'require.main is not supported by webpack.') + ) + k.hooks.call + .for('require.main.require') + .tap( + 'CommonJsImportsParserPlugin', + me(k, 'require.main.require is not supported by webpack.') + ) + k.hooks.expression + .for('module.parent.require') + .tap( + 'CommonJsImportsParserPlugin', + me(k, 'module.parent.require is not supported by webpack.') + ) + k.hooks.call + .for('module.parent.require') + .tap( + 'CommonJsImportsParserPlugin', + me(k, 'module.parent.require is not supported by webpack.') + ) + const defineUndefined = (v) => { + const E = new Te('undefined', v.range) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + return false + } + k.hooks.canRename + .for('require') + .tap('CommonJsImportsParserPlugin', () => true) + k.hooks.rename + .for('require') + .tap('CommonJsImportsParserPlugin', defineUndefined) + const E = ye(k, L.moduleCache, [ + L.moduleCache, + L.moduleId, + L.moduleLoaded, + ]) + k.hooks.expression + .for('require.cache') + .tap('CommonJsImportsParserPlugin', E) + const requireAsExpressionHandler = (E) => { + const P = new Ie( + { + request: v.unknownContextRequest, + recursive: v.unknownContextRecursive, + regExp: v.unknownContextRegExp, + mode: 'sync', + }, + E.range, + undefined, + k.scope.inShorthand, + getContext() + ) + P.critical = + v.unknownContextCritical && + 'require function is used in a way in which dependencies cannot be statically extracted' + P.loc = E.loc + P.optional = !!k.scope.inTry + k.state.current.addDependency(P) + return true + } + k.hooks.expression + .for('require') + .tap('CommonJsImportsParserPlugin', requireAsExpressionHandler) + const processRequireItem = (v, E) => { + if (E.isString()) { + const P = new Me(E.string, E.range, getContext()) + P.loc = v.loc + P.optional = !!k.scope.inTry + k.state.current.addDependency(P) + return true + } + } + const processRequireContext = (E, P) => { + const R = je.create( + Ie, + E.range, + P, + E, + v, + { category: 'commonjs' }, + k, + undefined, + getContext() + ) + if (!R) return + R.loc = E.loc + R.optional = !!k.scope.inTry + k.state.current.addDependency(R) + return true + } + const createRequireHandler = (E) => (P) => { + if (v.commonjsMagicComments) { + const { options: v, errors: E } = k.parseCommentOptions(P.range) + if (E) { + for (const v of E) { + const { comment: E } = v + k.state.module.addWarning( + new R( + `Compilation error while processing magic comment(-s): /*${E.value}*/: ${v.message}`, + E.loc + ) + ) + } + } + if (v) { + if (v.webpackIgnore !== undefined) { + if (typeof v.webpackIgnore !== 'boolean') { + k.state.module.addWarning( + new N( + `\`webpackIgnore\` expected a boolean, but received: ${v.webpackIgnore}.`, + P.loc + ) + ) + } else { + if (v.webpackIgnore) { + return true + } + } + } + } + } + if (P.arguments.length !== 1) return + let L + const q = k.evaluateExpression(P.arguments[0]) + if (q.isConditional()) { + let v = false + for (const k of q.options) { + const E = processRequireItem(P, k) + if (E === undefined) { + v = true + } + } + if (!v) { + const v = new qe(P.callee.range) + v.loc = P.loc + k.state.module.addPresentationalDependency(v) + return true + } + } + if (q.isString() && (L = Be(k.state, q.string))) { + L.flagUsed() + const v = new Ne(L, P.range, E) + v.loc = P.loc + k.state.module.addPresentationalDependency(v) + return true + } else { + const v = processRequireItem(P, q) + if (v === undefined) { + processRequireContext(P, q) + } else { + const v = new qe(P.callee.range) + v.loc = P.loc + k.state.module.addPresentationalDependency(v) + } + return true + } + } + k.hooks.call + .for('require') + .tap('CommonJsImportsParserPlugin', createRequireHandler(false)) + k.hooks.new + .for('require') + .tap('CommonJsImportsParserPlugin', createRequireHandler(true)) + k.hooks.call + .for('module.require') + .tap('CommonJsImportsParserPlugin', createRequireHandler(false)) + k.hooks.new + .for('module.require') + .tap('CommonJsImportsParserPlugin', createRequireHandler(true)) + const chainHandler = (v, E, P, R) => { + if (P.arguments.length !== 1) return + const L = k.evaluateExpression(P.arguments[0]) + if (L.isString() && !Be(k.state, L.string)) { + const E = new _e(L.string, v.range, R) + E.asiSafe = !k.isAsiPosition(v.range[0]) + E.optional = !!k.scope.inTry + E.loc = v.loc + k.state.current.addDependency(E) + return true + } + } + const callChainHandler = (v, E, P, R) => { + if (P.arguments.length !== 1) return + const L = k.evaluateExpression(P.arguments[0]) + if (L.isString() && !Be(k.state, L.string)) { + const E = new _e(L.string, v.callee.range, R) + E.call = true + E.asiSafe = !k.isAsiPosition(v.range[0]) + E.optional = !!k.scope.inTry + E.loc = v.callee.loc + k.state.current.addDependency(E) + k.walkExpressions(v.arguments) + return true + } + } + k.hooks.memberChainOfCallMemberChain + .for('require') + .tap('CommonJsImportsParserPlugin', chainHandler) + k.hooks.memberChainOfCallMemberChain + .for('module.require') + .tap('CommonJsImportsParserPlugin', chainHandler) + k.hooks.callMemberChainOfCallMemberChain + .for('require') + .tap('CommonJsImportsParserPlugin', callChainHandler) + k.hooks.callMemberChainOfCallMemberChain + .for('module.require') + .tap('CommonJsImportsParserPlugin', callChainHandler) + const processResolve = (v, E) => { + if (v.arguments.length !== 1) return + const P = k.evaluateExpression(v.arguments[0]) + if (P.isConditional()) { + for (const k of P.options) { + const P = processResolveItem(v, k, E) + if (P === undefined) { + processResolveContext(v, k, E) + } + } + const R = new He(v.callee.range) + R.loc = v.loc + k.state.module.addPresentationalDependency(R) + return true + } else { + const R = processResolveItem(v, P, E) + if (R === undefined) { + processResolveContext(v, P, E) + } + const L = new He(v.callee.range) + L.loc = v.loc + k.state.module.addPresentationalDependency(L) + return true + } + } + const processResolveItem = (v, E, P) => { + if (E.isString()) { + const R = new Ge(E.string, E.range, getContext()) + R.loc = v.loc + R.optional = !!k.scope.inTry + R.weak = P + k.state.current.addDependency(R) + return true + } + } + const processResolveContext = (E, P, R) => { + const L = je.create( + Ue, + P.range, + P, + E, + v, + { category: 'commonjs', mode: R ? 'weak' : 'sync' }, + k, + getContext() + ) + if (!L) return + L.loc = E.loc + L.optional = !!k.scope.inTry + k.state.current.addDependency(L) + return true + } + k.hooks.call + .for('require.resolve') + .tap('CommonJsImportsParserPlugin', (k) => processResolve(k, false)) + k.hooks.call + .for('require.resolveWeak') + .tap('CommonJsImportsParserPlugin', (k) => processResolve(k, true)) + if (!v.createRequire) return + let Je = [] + let Ve + if (v.createRequire === true) { + Je = ['module', 'node:module'] + Ve = 'createRequire' + } else { + let k + const E = /^(.*) from (.*)$/.exec(v.createRequire) + if (E) { + ;[, Ve, k] = E + } + if (!Ve || !k) { + const k = new q( + `Parsing javascript parser option "createRequire" failed, got ${JSON.stringify( + v.createRequire + )}` + ) + k.details = + 'Expected string in format "createRequire from module", where "createRequire" is specifier name and "module" name of the module' + throw k + } + } + tapRequireExpressionTag(Qe) + tapRequireExpressionTag(We) + k.hooks.evaluateCallExpression + .for(We) + .tap('CommonJsImportsParserPlugin', (v) => { + const E = parseCreateRequireArguments(v) + if (E === undefined) return + const P = k.evaluatedVariable({ + tag: Qe, + data: { context: E }, + next: undefined, + }) + return new ae() + .setIdentifier(P, P, () => []) + .setSideEffects(false) + .setRange(v.range) + }) + k.hooks.unhandledExpressionMemberChain + .for(Qe) + .tap('CommonJsImportsParserPlugin', (v, E) => + me( + k, + `createRequire().${E.join('.')} is not supported by webpack.` + )(v) + ) + k.hooks.canRename + .for(Qe) + .tap('CommonJsImportsParserPlugin', () => true) + k.hooks.canRename + .for(We) + .tap('CommonJsImportsParserPlugin', () => true) + k.hooks.rename + .for(We) + .tap('CommonJsImportsParserPlugin', defineUndefined) + k.hooks.expression + .for(Qe) + .tap('CommonJsImportsParserPlugin', requireAsExpressionHandler) + k.hooks.call + .for(Qe) + .tap('CommonJsImportsParserPlugin', createRequireHandler(false)) + const parseCreateRequireArguments = (v) => { + const E = v.arguments + if (E.length !== 1) { + const E = new q( + 'module.createRequire supports only one argument.' + ) + E.loc = v.loc + k.state.module.addWarning(E) + return + } + const R = E[0] + const L = k.evaluateExpression(R) + if (!L.isString()) { + const v = new q('module.createRequire failed parsing argument.') + v.loc = R.loc + k.state.module.addWarning(v) + return + } + const N = L.string.startsWith('file://') ? P(L.string) : L.string + return N.slice(0, N.lastIndexOf(N.startsWith('/') ? '/' : '\\')) + } + k.hooks.import.tap( + { name: 'CommonJsImportsParserPlugin', stage: -10 }, + (v, E) => { + if ( + !Je.includes(E) || + v.specifiers.length !== 1 || + v.specifiers[0].type !== 'ImportSpecifier' || + v.specifiers[0].imported.type !== 'Identifier' || + v.specifiers[0].imported.name !== Ve + ) + return + const P = new Te(k.isAsiPosition(v.range[0]) ? ';' : '', v.range) + P.loc = v.loc + k.state.module.addPresentationalDependency(P) + k.unsetAsiPosition(v.range[1]) + return true + } + ) + k.hooks.importSpecifier.tap( + { name: 'CommonJsImportsParserPlugin', stage: -10 }, + (v, E, P, R) => { + if (!Je.includes(E) || P !== Ve) return + k.tagVariable(R, We) + return true + } + ) + k.hooks.preDeclarator.tap('CommonJsImportsParserPlugin', (v) => { + if ( + v.id.type !== 'Identifier' || + !v.init || + v.init.type !== 'CallExpression' || + v.init.callee.type !== 'Identifier' + ) + return + const E = k.getVariableInfo(v.init.callee.name) + if (E && E.tagInfo && E.tagInfo.tag === We) { + const E = parseCreateRequireArguments(v.init) + if (E === undefined) return + k.tagVariable(v.id.name, Qe, { name: v.id.name, context: E }) + return true + } + }) + k.hooks.memberChainOfCallMemberChain + .for(We) + .tap('CommonJsImportsParserPlugin', (k, v, P, R) => { + if (v.length !== 0 || R.length !== 1 || R[0] !== 'cache') return + const L = parseCreateRequireArguments(P) + if (L === undefined) return + return E(k) + }) + k.hooks.callMemberChainOfCallMemberChain + .for(We) + .tap('CommonJsImportsParserPlugin', (k, v, E, P) => { + if (v.length !== 0 || P.length !== 1 || P[0] !== 'resolve') return + return processResolve(k, false) + }) + k.hooks.expressionMemberChain + .for(Qe) + .tap('CommonJsImportsParserPlugin', (k, v) => { + if (v.length === 1 && v[0] === 'cache') { + return E(k) + } + }) + k.hooks.callMemberChain + .for(Qe) + .tap('CommonJsImportsParserPlugin', (k, v) => { + if (v.length === 1 && v[0] === 'resolve') { + return processResolve(k, false) + } + }) + k.hooks.call.for(We).tap('CommonJsImportsParserPlugin', (v) => { + const E = new Te('/* createRequire() */ undefined', v.range) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + return true + }) + } + } + k.exports = CommonJsImportsParserPlugin + }, + 45575: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(15844) + const N = E(95041) + const q = E(57771) + const ae = E(73946) + const le = E(5103) + const pe = E(41655) + const me = E(23343) + const ye = E(10699) + const _e = E(72330) + const Ie = E(12204) + const Me = E(29961) + const Te = E(53765) + const je = E(84985) + const Ne = E(416) + const Be = E(17042) + const { + JAVASCRIPT_MODULE_TYPE_AUTO: qe, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: Ue, + } = E(93622) + const { evaluateToIdentifier: Ge, toConstantDependency: He } = E(80784) + const We = E(21542) + const Qe = 'CommonJsPlugin' + class CommonJsPlugin { + apply(k) { + k.hooks.compilation.tap( + Qe, + (k, { contextModuleFactory: v, normalModuleFactory: E }) => { + k.dependencyFactories.set(pe, E) + k.dependencyTemplates.set(pe, new pe.Template()) + k.dependencyFactories.set(ae, E) + k.dependencyTemplates.set(ae, new ae.Template()) + k.dependencyFactories.set(le, v) + k.dependencyTemplates.set(le, new le.Template()) + k.dependencyFactories.set(Me, E) + k.dependencyTemplates.set(Me, new Me.Template()) + k.dependencyFactories.set(Ie, v) + k.dependencyTemplates.set(Ie, new Ie.Template()) + k.dependencyTemplates.set(Te, new Te.Template()) + k.dependencyTemplates.set(_e, new _e.Template()) + k.dependencyTemplates.set(q, new q.Template()) + k.dependencyFactories.set(We, E) + k.dependencyTemplates.set(We, new We.Template()) + const R = new L(k.moduleGraph) + k.dependencyFactories.set(me, R) + k.dependencyTemplates.set(me, new me.Template()) + k.dependencyFactories.set(ye, R) + k.dependencyTemplates.set(ye, new ye.Template()) + k.hooks.runtimeRequirementInModule + .for(P.harmonyModuleDecorator) + .tap(Qe, (k, v) => { + v.add(P.module) + v.add(P.requireScope) + }) + k.hooks.runtimeRequirementInModule + .for(P.nodeModuleDecorator) + .tap(Qe, (k, v) => { + v.add(P.module) + v.add(P.requireScope) + }) + k.hooks.runtimeRequirementInTree + .for(P.harmonyModuleDecorator) + .tap(Qe, (v, E) => { + k.addRuntimeModule( + v, + new HarmonyModuleDecoratorRuntimeModule() + ) + }) + k.hooks.runtimeRequirementInTree + .for(P.nodeModuleDecorator) + .tap(Qe, (v, E) => { + k.addRuntimeModule(v, new NodeModuleDecoratorRuntimeModule()) + }) + const handler = (v, E) => { + if (E.commonjs !== undefined && !E.commonjs) return + v.hooks.typeof + .for('module') + .tap(Qe, He(v, JSON.stringify('object'))) + v.hooks.expression + .for('require.main') + .tap( + Qe, + He(v, `${P.moduleCache}[${P.entryModuleId}]`, [ + P.moduleCache, + P.entryModuleId, + ]) + ) + v.hooks.expression.for(P.moduleLoaded).tap(Qe, (k) => { + v.state.module.buildInfo.moduleConcatenationBailout = + P.moduleLoaded + const E = new je([P.moduleLoaded]) + E.loc = k.loc + v.state.module.addPresentationalDependency(E) + return true + }) + v.hooks.expression.for(P.moduleId).tap(Qe, (k) => { + v.state.module.buildInfo.moduleConcatenationBailout = + P.moduleId + const E = new je([P.moduleId]) + E.loc = k.loc + v.state.module.addPresentationalDependency(E) + return true + }) + v.hooks.evaluateIdentifier.for('module.hot').tap( + Qe, + Ge('module.hot', 'module', () => ['hot'], null) + ) + new Be(E).apply(v) + new Ne(k.moduleGraph).apply(v) + } + E.hooks.parser.for(qe).tap(Qe, handler) + E.hooks.parser.for(Ue).tap(Qe, handler) + } + ) + } + } + class HarmonyModuleDecoratorRuntimeModule extends R { + constructor() { + super('harmony module decorator') + } + generate() { + const { runtimeTemplate: k } = this.compilation + return N.asString([ + `${P.harmonyModuleDecorator} = ${k.basicFunction('module', [ + 'module = Object.create(module);', + 'if (!module.children) module.children = [];', + "Object.defineProperty(module, 'exports', {", + N.indent([ + 'enumerable: true,', + `set: ${k.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 R { + constructor() { + super('node module decorator') + } + generate() { + const { runtimeTemplate: k } = this.compilation + return N.asString([ + `${P.nodeModuleDecorator} = ${k.basicFunction('module', [ + 'module.paths = [];', + 'if (!module.children) module.children = [];', + 'return module;', + ])};`, + ]) + } + } + k.exports = CommonJsPlugin + }, + 5103: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(51395) + const L = E(64077) + class CommonJsRequireContextDependency extends R { + constructor(k, v, E, P, R) { + super(k, R) + this.range = v + this.valueRange = E + this.inShorthand = P + } + get type() { + return 'cjs require context' + } + serialize(k) { + const { write: v } = k + v(this.range) + v(this.valueRange) + v(this.inShorthand) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.range = v() + this.valueRange = v() + this.inShorthand = v() + super.deserialize(k) + } + } + P( + CommonJsRequireContextDependency, + 'webpack/lib/dependencies/CommonJsRequireContextDependency' + ) + CommonJsRequireContextDependency.Template = L + k.exports = CommonJsRequireContextDependency + }, + 41655: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(77373) + const L = E(3312) + class CommonJsRequireDependency extends R { + constructor(k, v, E) { + super(k) + this.range = v + this._context = E + } + get type() { + return 'cjs require' + } + get category() { + return 'commonjs' + } + } + CommonJsRequireDependency.Template = L + P( + CommonJsRequireDependency, + 'webpack/lib/dependencies/CommonJsRequireDependency' + ) + k.exports = CommonJsRequireDependency + }, + 23343: function (k, v, E) { + 'use strict' + const P = E(56727) + const { equals: R } = E(68863) + const L = E(58528) + const N = E(10720) + const q = E(53139) + class CommonJsSelfReferenceDependency extends q { + constructor(k, v, E, P) { + super() + this.range = k + this.base = v + this.names = E + this.call = P + } + get type() { + return 'cjs self exports reference' + } + get category() { + return 'self' + } + getResourceIdentifier() { + return `self` + } + getReferencedExports(k, v) { + return [this.call ? this.names.slice(0, -1) : this.names] + } + serialize(k) { + const { write: v } = k + v(this.range) + v(this.base) + v(this.names) + v(this.call) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.range = v() + this.base = v() + this.names = v() + this.call = v() + super.deserialize(k) + } + } + L( + CommonJsSelfReferenceDependency, + 'webpack/lib/dependencies/CommonJsSelfReferenceDependency' + ) + CommonJsSelfReferenceDependency.Template = class CommonJsSelfReferenceDependencyTemplate extends ( + q.Template + ) { + apply( + k, + v, + { module: E, moduleGraph: L, runtime: q, runtimeRequirements: ae } + ) { + const le = k + let pe + if (le.names.length === 0) { + pe = le.names + } else { + pe = L.getExportsInfo(E).getUsedName(le.names, q) + } + if (!pe) { + throw new Error( + 'Self-reference dependency has unused export name: This should not happen' + ) + } + let me = undefined + switch (le.base) { + case 'exports': + ae.add(P.exports) + me = E.exportsArgument + break + case 'module.exports': + ae.add(P.module) + me = `${E.moduleArgument}.exports` + break + case 'this': + ae.add(P.thisAsExports) + me = 'this' + break + default: + throw new Error(`Unsupported base ${le.base}`) + } + if (me === le.base && R(pe, le.names)) { + return + } + v.replace(le.range[0], le.range[1] - 1, `${me}${N(pe)}`) + } + } + k.exports = CommonJsSelfReferenceDependency + }, + 60381: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(53139) + class ConstDependency extends R { + constructor(k, v, E) { + super() + this.expression = k + this.range = v + this.runtimeRequirements = E ? new Set(E) : null + this._hashUpdate = undefined + } + updateHash(k, v) { + if (this._hashUpdate === undefined) { + let k = '' + this.range + '|' + this.expression + if (this.runtimeRequirements) { + for (const v of this.runtimeRequirements) { + k += '|' + k += v + } + } + this._hashUpdate = k + } + k.update(this._hashUpdate) + } + getModuleEvaluationSideEffectsState(k) { + return false + } + serialize(k) { + const { write: v } = k + v(this.expression) + v(this.range) + v(this.runtimeRequirements) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.expression = v() + this.range = v() + this.runtimeRequirements = v() + super.deserialize(k) + } + } + P(ConstDependency, 'webpack/lib/dependencies/ConstDependency') + ConstDependency.Template = class ConstDependencyTemplate extends ( + R.Template + ) { + apply(k, v, E) { + const P = k + if (P.runtimeRequirements) { + for (const k of P.runtimeRequirements) { + E.runtimeRequirements.add(k) + } + } + if (typeof P.range === 'number') { + v.insert(P.range, P.expression) + return + } + v.replace(P.range[0], P.range[1] - 1, P.expression) + } + } + k.exports = ConstDependency + }, + 51395: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(30601) + const L = E(58528) + const N = E(20631) + const q = N(() => E(43418)) + const regExpToString = (k) => (k ? k + '' : '') + class ContextDependency extends P { + constructor(k, v) { + super() + this.options = k + 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.inShorthand = undefined + this.replaces = undefined + this._requestContext = v + } + getContext() { + return this._requestContext + } + get category() { + return 'commonjs' + } + couldAffectReferencingModule() { + return true + } + getResourceIdentifier() { + return ( + `context${this._requestContext || ''}|ctx request${ + this.options.request + } ${this.options.recursive} ` + + `${regExpToString(this.options.regExp)} ${regExpToString( + this.options.include + )} ${regExpToString(this.options.exclude)} ` + + `${this.options.mode} ${this.options.chunkName} ` + + `${JSON.stringify(this.options.groupOptions)}` + ) + } + getWarnings(k) { + let v = super.getWarnings(k) + if (this.critical) { + if (!v) v = [] + const k = q() + v.push(new k(this.critical)) + } + if (this.hadGlobalOrStickyRegExp) { + if (!v) v = [] + const k = q() + v.push( + new k("Contexts can't use RegExps with the 'g' or 'y' flags.") + ) + } + return v + } + serialize(k) { + const { write: v } = k + v(this.options) + v(this.userRequest) + v(this.critical) + v(this.hadGlobalOrStickyRegExp) + v(this.request) + v(this._requestContext) + v(this.range) + v(this.valueRange) + v(this.prepend) + v(this.replaces) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.options = v() + this.userRequest = v() + this.critical = v() + this.hadGlobalOrStickyRegExp = v() + this.request = v() + this._requestContext = v() + this.range = v() + this.valueRange = v() + this.prepend = v() + this.replaces = v() + super.deserialize(k) + } + } + L(ContextDependency, 'webpack/lib/dependencies/ContextDependency') + ContextDependency.Template = R + k.exports = ContextDependency + }, + 25012: function (k, v, E) { + 'use strict' + const { parseResource: P } = E(65315) + const quoteMeta = (k) => k.replace(/[-[\]\\/{}()*+?.^$|]/g, '\\$&') + const splitContextFromPrefix = (k) => { + const v = k.lastIndexOf('/') + let E = '.' + if (v >= 0) { + E = k.slice(0, v) + k = `.${k.slice(v)}` + } + return { context: E, prefix: k } + } + v.create = (k, v, E, R, L, N, q, ...ae) => { + if (E.isTemplateString()) { + let le = E.quasis[0].string + let pe = + E.quasis.length > 1 ? E.quasis[E.quasis.length - 1].string : '' + const me = E.range + const { context: ye, prefix: _e } = splitContextFromPrefix(le) + const { path: Ie, query: Me, fragment: Te } = P(pe, q) + const je = E.quasis.slice(1, E.quasis.length - 1) + const Ne = + L.wrappedContextRegExp.source + + je + .map((k) => quoteMeta(k.string) + L.wrappedContextRegExp.source) + .join('') + const Be = new RegExp(`^${quoteMeta(_e)}${Ne}${quoteMeta(Ie)}$`) + const qe = new k( + { + request: ye + Me + Te, + recursive: L.wrappedContextRecursive, + regExp: Be, + mode: 'sync', + ...N, + }, + v, + me, + ...ae + ) + qe.loc = R.loc + const Ue = [] + E.parts.forEach((k, v) => { + if (v % 2 === 0) { + let P = k.range + let R = k.string + if (E.templateStringKind === 'cooked') { + R = JSON.stringify(R) + R = R.slice(1, R.length - 1) + } + if (v === 0) { + R = _e + P = [E.range[0], k.range[1]] + R = + (E.templateStringKind === 'cooked' ? '`' : 'String.raw`') + R + } else if (v === E.parts.length - 1) { + R = Ie + P = [k.range[0], E.range[1]] + R = R + '`' + } else if ( + k.expression && + k.expression.type === 'TemplateElement' && + k.expression.value.raw === R + ) { + return + } + Ue.push({ range: P, value: R }) + } else { + q.walkExpression(k.expression) + } + }) + qe.replaces = Ue + qe.critical = + L.wrappedContextCritical && + 'a part of the request of a dependency is an expression' + return qe + } else if ( + E.isWrapped() && + ((E.prefix && E.prefix.isString()) || + (E.postfix && E.postfix.isString())) + ) { + let le = E.prefix && E.prefix.isString() ? E.prefix.string : '' + let pe = E.postfix && E.postfix.isString() ? E.postfix.string : '' + const me = E.prefix && E.prefix.isString() ? E.prefix.range : null + const ye = E.postfix && E.postfix.isString() ? E.postfix.range : null + const _e = E.range + const { context: Ie, prefix: Me } = splitContextFromPrefix(le) + const { path: Te, query: je, fragment: Ne } = P(pe, q) + const Be = new RegExp( + `^${quoteMeta(Me)}${L.wrappedContextRegExp.source}${quoteMeta(Te)}$` + ) + const qe = new k( + { + request: Ie + je + Ne, + recursive: L.wrappedContextRecursive, + regExp: Be, + mode: 'sync', + ...N, + }, + v, + _e, + ...ae + ) + qe.loc = R.loc + const Ue = [] + if (me) { + Ue.push({ range: me, value: JSON.stringify(Me) }) + } + if (ye) { + Ue.push({ range: ye, value: JSON.stringify(Te) }) + } + qe.replaces = Ue + qe.critical = + L.wrappedContextCritical && + 'a part of the request of a dependency is an expression' + if (q && E.wrappedInnerExpressions) { + for (const k of E.wrappedInnerExpressions) { + if (k.expression) q.walkExpression(k.expression) + } + } + return qe + } else { + const P = new k( + { + request: L.exprContextRequest, + recursive: L.exprContextRecursive, + regExp: L.exprContextRegExp, + mode: 'sync', + ...N, + }, + v, + E.range, + ...ae + ) + P.loc = R.loc + P.critical = + L.exprContextCritical && + 'the request of a dependency is an expression' + q.walkExpression(E.expression) + return P + } + } + }, + 16213: function (k, v, E) { + 'use strict' + const P = E(51395) + class ContextDependencyTemplateAsId extends P.Template { + apply( + k, + v, + { + runtimeTemplate: E, + moduleGraph: P, + chunkGraph: R, + runtimeRequirements: L, + } + ) { + const N = k + const q = E.moduleExports({ + module: P.getModule(N), + chunkGraph: R, + request: N.request, + weak: N.weak, + runtimeRequirements: L, + }) + if (P.getModule(N)) { + if (N.valueRange) { + if (Array.isArray(N.replaces)) { + for (let k = 0; k < N.replaces.length; k++) { + const E = N.replaces[k] + v.replace(E.range[0], E.range[1] - 1, E.value) + } + } + v.replace(N.valueRange[1], N.range[1] - 1, ')') + v.replace(N.range[0], N.valueRange[0] - 1, `${q}.resolve(`) + } else { + v.replace(N.range[0], N.range[1] - 1, `${q}.resolve`) + } + } else { + v.replace(N.range[0], N.range[1] - 1, q) + } + } + } + k.exports = ContextDependencyTemplateAsId + }, + 64077: function (k, v, E) { + 'use strict' + const P = E(51395) + class ContextDependencyTemplateAsRequireCall extends P.Template { + apply( + k, + v, + { + runtimeTemplate: E, + moduleGraph: P, + chunkGraph: R, + runtimeRequirements: L, + } + ) { + const N = k + let q = E.moduleExports({ + module: P.getModule(N), + chunkGraph: R, + request: N.request, + runtimeRequirements: L, + }) + if (N.inShorthand) { + q = `${N.inShorthand}: ${q}` + } + if (P.getModule(N)) { + if (N.valueRange) { + if (Array.isArray(N.replaces)) { + for (let k = 0; k < N.replaces.length; k++) { + const E = N.replaces[k] + v.replace(E.range[0], E.range[1] - 1, E.value) + } + } + v.replace(N.valueRange[1], N.range[1] - 1, ')') + v.replace(N.range[0], N.valueRange[0] - 1, `${q}(`) + } else { + v.replace(N.range[0], N.range[1] - 1, q) + } + } else { + v.replace(N.range[0], N.range[1] - 1, q) + } + } + } + k.exports = ContextDependencyTemplateAsRequireCall + }, + 16624: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(58528) + const L = E(77373) + class ContextElementDependency extends L { + constructor(k, v, E, P, R, L) { + super(k) + this.referencedExports = R + this._typePrefix = E + this._category = P + this._context = L || undefined + if (v) { + this.userRequest = v + } + } + get type() { + if (this._typePrefix) { + return `${this._typePrefix} context element` + } + return 'context element' + } + get category() { + return this._category + } + getReferencedExports(k, v) { + return this.referencedExports + ? this.referencedExports.map((k) => ({ name: k, canMangle: false })) + : P.EXPORTS_OBJECT_REFERENCED + } + serialize(k) { + const { write: v } = k + v(this._typePrefix) + v(this._category) + v(this.referencedExports) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this._typePrefix = v() + this._category = v() + this.referencedExports = v() + super.deserialize(k) + } + } + R( + ContextElementDependency, + 'webpack/lib/dependencies/ContextElementDependency' + ) + k.exports = ContextElementDependency + }, + 98857: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(58528) + const L = E(53139) + class CreateScriptUrlDependency extends L { + constructor(k) { + super() + this.range = k + } + get type() { + return 'create script url' + } + serialize(k) { + const { write: v } = k + v(this.range) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.range = v() + super.deserialize(k) + } + } + CreateScriptUrlDependency.Template = class CreateScriptUrlDependencyTemplate extends ( + L.Template + ) { + apply(k, v, { runtimeRequirements: E }) { + const R = k + E.add(P.createScriptUrl) + v.insert(R.range[0], `${P.createScriptUrl}(`) + v.insert(R.range[1], ')') + } + } + R( + CreateScriptUrlDependency, + 'webpack/lib/dependencies/CreateScriptUrlDependency' + ) + k.exports = CreateScriptUrlDependency + }, + 43418: function (k, v, E) { + 'use strict' + const P = E(71572) + const R = E(58528) + class CriticalDependencyWarning extends P { + constructor(k) { + super() + this.name = 'CriticalDependencyWarning' + this.message = 'Critical dependency: ' + k + } + } + R( + CriticalDependencyWarning, + 'webpack/lib/dependencies/CriticalDependencyWarning' + ) + k.exports = CriticalDependencyWarning + }, + 55101: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(53139) + class CssExportDependency extends R { + constructor(k, v) { + super() + this.name = k + this.value = v + } + get type() { + return 'css :export' + } + getExports(k) { + const v = this.name + return { + exports: [{ name: v, canMangle: true }], + dependencies: undefined, + } + } + serialize(k) { + const { write: v } = k + v(this.name) + v(this.value) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.name = v() + this.value = v() + super.deserialize(k) + } + } + CssExportDependency.Template = class CssExportDependencyTemplate extends ( + R.Template + ) { + apply(k, v, { cssExports: E }) { + const P = k + E.set(P.name, P.value) + } + } + P(CssExportDependency, 'webpack/lib/dependencies/CssExportDependency') + k.exports = CssExportDependency + }, + 38490: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(77373) + class CssImportDependency extends R { + constructor(k, v, E, P, R) { + super(k) + this.range = v + this.layer = E + this.supports = P + this.media = R + } + get type() { + return 'css @import' + } + get category() { + return 'css-import' + } + getResourceIdentifier() { + let k = `context${this._context || ''}|module${this.request}` + if (this.layer) { + k += `|layer${this.layer}` + } + if (this.supports) { + k += `|supports${this.supports}` + } + if (this.media) { + k += `|media${this.media}` + } + return k + } + createIgnoredModule(k) { + return null + } + serialize(k) { + const { write: v } = k + v(this.layer) + v(this.supports) + v(this.media) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.layer = v() + this.supports = v() + this.media = v() + super.deserialize(k) + } + } + CssImportDependency.Template = class CssImportDependencyTemplate extends ( + R.Template + ) { + apply(k, v, E) { + const P = k + v.replace(P.range[0], P.range[1] - 1, '') + } + } + P(CssImportDependency, 'webpack/lib/dependencies/CssImportDependency') + k.exports = CssImportDependency + }, + 27746: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(53139) + class CssLocalIdentifierDependency extends R { + constructor(k, v, E = '') { + super() + this.name = k + this.range = v + this.prefix = E + } + get type() { + return 'css local identifier' + } + getExports(k) { + const v = this.name + return { + exports: [{ name: v, canMangle: true }], + dependencies: undefined, + } + } + serialize(k) { + const { write: v } = k + v(this.name) + v(this.range) + v(this.prefix) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.name = v() + this.range = v() + this.prefix = v() + super.deserialize(k) + } + } + const escapeCssIdentifier = (k, v) => { + const E = `${k}`.replace( + /[^a-zA-Z0-9_\u0081-\uffff-]/g, + (k) => `\\${k}` + ) + return !v && /^(?!--)[0-9-]/.test(E) ? `_${E}` : E + } + CssLocalIdentifierDependency.Template = class CssLocalIdentifierDependencyTemplate extends ( + R.Template + ) { + apply( + k, + v, + { + module: E, + moduleGraph: P, + chunkGraph: R, + runtime: L, + runtimeTemplate: N, + cssExports: q, + } + ) { + const ae = k + const le = P.getExportInfo(E, ae.name).getUsedName(ae.name, L) + const pe = R.getModuleId(E) + const me = + ae.prefix + + (N.outputOptions.uniqueName + ? N.outputOptions.uniqueName + '-' + : '') + + (le ? pe + '-' + le : '-') + v.replace( + ae.range[0], + ae.range[1] - 1, + escapeCssIdentifier(me, ae.prefix) + ) + if (le) q.set(le, me) + } + } + P( + CssLocalIdentifierDependency, + 'webpack/lib/dependencies/CssLocalIdentifierDependency' + ) + k.exports = CssLocalIdentifierDependency + }, + 58943: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(58528) + const L = E(27746) + class CssSelfLocalIdentifierDependency extends L { + constructor(k, v, E = '', P = undefined) { + super(k, v, E) + this.declaredSet = P + } + get type() { + return 'css self local identifier' + } + get category() { + return 'self' + } + getResourceIdentifier() { + return `self` + } + getExports(k) { + if (this.declaredSet && !this.declaredSet.has(this.name)) return + return super.getExports(k) + } + getReferencedExports(k, v) { + if (this.declaredSet && !this.declaredSet.has(this.name)) + return P.NO_EXPORTS_REFERENCED + return [[this.name]] + } + serialize(k) { + const { write: v } = k + v(this.declaredSet) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.declaredSet = v() + super.deserialize(k) + } + } + CssSelfLocalIdentifierDependency.Template = class CssSelfLocalIdentifierDependencyTemplate extends ( + L.Template + ) { + apply(k, v, E) { + const P = k + if (P.declaredSet && !P.declaredSet.has(P.name)) return + super.apply(k, v, E) + } + } + R( + CssSelfLocalIdentifierDependency, + 'webpack/lib/dependencies/CssSelfLocalIdentifierDependency' + ) + k.exports = CssSelfLocalIdentifierDependency + }, + 97006: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(20631) + const L = E(77373) + const N = R(() => E(26619)) + class CssUrlDependency extends L { + constructor(k, v, E) { + super(k) + this.range = v + this.urlType = E + } + get type() { + return 'css url()' + } + get category() { + return 'url' + } + createIgnoredModule(k) { + const v = N() + return new v('data:,', `ignored-asset`, `(ignored asset)`) + } + serialize(k) { + const { write: v } = k + v(this.urlType) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.urlType = v() + super.deserialize(k) + } + } + const cssEscapeString = (k) => { + let v = 0 + let E = 0 + let P = 0 + for (let R = 0; R < k.length; R++) { + const L = k.charCodeAt(R) + switch (L) { + case 9: + case 10: + case 32: + case 40: + case 41: + v++ + break + case 34: + E++ + break + case 39: + P++ + break + } + } + if (v < 2) { + return k.replace(/[\n\t ()'"\\]/g, (k) => `\\${k}`) + } else if (E <= P) { + return `"${k.replace(/[\n"\\]/g, (k) => `\\${k}`)}"` + } else { + return `'${k.replace(/[\n'\\]/g, (k) => `\\${k}`)}'` + } + } + CssUrlDependency.Template = class CssUrlDependencyTemplate extends ( + L.Template + ) { + apply( + k, + v, + { moduleGraph: E, runtimeTemplate: P, codeGenerationResults: R } + ) { + const L = k + let N + switch (L.urlType) { + case 'string': + N = cssEscapeString( + P.assetUrl({ + publicPath: '', + module: E.getModule(L), + codeGenerationResults: R, + }) + ) + break + case 'url': + N = `url(${cssEscapeString( + P.assetUrl({ + publicPath: '', + module: E.getModule(L), + codeGenerationResults: R, + }) + )})` + break + } + v.replace(L.range[0], L.range[1] - 1, N) + } + } + P(CssUrlDependency, 'webpack/lib/dependencies/CssUrlDependency') + k.exports = CssUrlDependency + }, + 47788: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(77373) + class DelegatedSourceDependency extends R { + constructor(k) { + super(k) + } + get type() { + return 'delegated source' + } + get category() { + return 'esm' + } + } + P( + DelegatedSourceDependency, + 'webpack/lib/dependencies/DelegatedSourceDependency' + ) + k.exports = DelegatedSourceDependency + }, + 50478: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(58528) + class DllEntryDependency extends P { + constructor(k, v) { + super() + this.dependencies = k + this.name = v + } + get type() { + return 'dll entry' + } + serialize(k) { + const { write: v } = k + v(this.dependencies) + v(this.name) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.dependencies = v() + this.name = v() + super.deserialize(k) + } + } + R(DllEntryDependency, 'webpack/lib/dependencies/DllEntryDependency') + k.exports = DllEntryDependency + }, + 71203: function (k, v) { + 'use strict' + const E = new WeakMap() + v.bailout = (k) => { + const v = E.get(k) + E.set(k, false) + if (v === true) { + k.module.buildMeta.exportsType = undefined + k.module.buildMeta.defaultObject = false + } + } + v.enable = (k) => { + const v = E.get(k) + if (v === false) return + E.set(k, true) + if (v !== true) { + k.module.buildMeta.exportsType = 'default' + k.module.buildMeta.defaultObject = 'redirect' + } + } + v.setFlagged = (k) => { + const v = E.get(k) + if (v !== true) return + const P = k.module.buildMeta + if (P.exportsType === 'dynamic') return + P.exportsType = 'flagged' + } + v.setDynamic = (k) => { + const v = E.get(k) + if (v !== true) return + k.module.buildMeta.exportsType = 'dynamic' + } + v.isEnabled = (k) => { + const v = E.get(k) + return v === true + } + }, + 25248: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(77373) + class EntryDependency extends R { + constructor(k) { + super(k) + } + get type() { + return 'entry' + } + get category() { + return 'esm' + } + } + P(EntryDependency, 'webpack/lib/dependencies/EntryDependency') + k.exports = EntryDependency + }, + 70762: function (k, v, E) { + 'use strict' + const { UsageState: P } = E(11172) + const R = E(58528) + const L = E(53139) + const getProperty = (k, v, E, R, L) => { + if (!E) { + switch (R) { + case 'usedExports': { + const E = k.getExportsInfo(v).getUsedExports(L) + if (typeof E === 'boolean' || E === undefined || E === null) { + return E + } + return Array.from(E).sort() + } + } + } + switch (R) { + case 'canMangle': { + const P = k.getExportsInfo(v) + const R = P.getExportInfo(E) + if (R) return R.canMangle + return P.otherExportsInfo.canMangle + } + case 'used': + return k.getExportsInfo(v).getUsed(E, L) !== P.Unused + case 'useInfo': { + const R = k.getExportsInfo(v).getUsed(E, L) + switch (R) { + case P.Used: + case P.OnlyPropertiesUsed: + return true + case P.Unused: + return false + case P.NoInfo: + return undefined + case P.Unknown: + return null + default: + throw new Error(`Unexpected UsageState ${R}`) + } + } + case 'provideInfo': + return k.getExportsInfo(v).isExportProvided(E) + } + return undefined + } + class ExportsInfoDependency extends L { + constructor(k, v, E) { + super() + this.range = k + this.exportName = v + this.property = E + } + serialize(k) { + const { write: v } = k + v(this.range) + v(this.exportName) + v(this.property) + super.serialize(k) + } + static deserialize(k) { + const v = new ExportsInfoDependency(k.read(), k.read(), k.read()) + v.deserialize(k) + return v + } + } + R(ExportsInfoDependency, 'webpack/lib/dependencies/ExportsInfoDependency') + ExportsInfoDependency.Template = class ExportsInfoDependencyTemplate extends ( + L.Template + ) { + apply(k, v, { module: E, moduleGraph: P, runtime: R }) { + const L = k + const N = getProperty(P, E, L.exportName, L.property, R) + v.replace( + L.range[0], + L.range[1] - 1, + N === undefined ? 'undefined' : JSON.stringify(N) + ) + } + } + k.exports = ExportsInfoDependency + }, + 95077: function (k, v, E) { + 'use strict' + const P = E(95041) + const R = E(58528) + const L = E(69184) + const N = E(53139) + class HarmonyAcceptDependency extends N { + constructor(k, v, E) { + super() + this.range = k + this.dependencies = v + this.hasCallback = E + } + get type() { + return 'accepted harmony modules' + } + serialize(k) { + const { write: v } = k + v(this.range) + v(this.dependencies) + v(this.hasCallback) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.range = v() + this.dependencies = v() + this.hasCallback = v() + super.deserialize(k) + } + } + R( + HarmonyAcceptDependency, + 'webpack/lib/dependencies/HarmonyAcceptDependency' + ) + HarmonyAcceptDependency.Template = class HarmonyAcceptDependencyTemplate extends ( + N.Template + ) { + apply(k, v, E) { + const R = k + const { + module: N, + runtime: q, + runtimeRequirements: ae, + runtimeTemplate: le, + moduleGraph: pe, + chunkGraph: me, + } = E + const ye = R.dependencies + .map((k) => { + const v = pe.getModule(k) + return { + dependency: k, + runtimeCondition: v + ? L.Template.getImportEmittedRuntime(N, v) + : false, + } + }) + .filter(({ runtimeCondition: k }) => k !== false) + .map(({ dependency: k, runtimeCondition: v }) => { + const R = le.runtimeConditionExpression({ + chunkGraph: me, + runtime: q, + runtimeCondition: v, + runtimeRequirements: ae, + }) + const L = k.getImportStatement(true, E) + const N = L[0] + L[1] + if (R !== 'true') { + return `if (${R}) {\n${P.indent(N)}\n}\n` + } + return N + }) + .join('') + if (R.hasCallback) { + if (le.supportsArrowFunction()) { + v.insert( + R.range[0], + `__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${ye}(` + ) + v.insert(R.range[1], ')(__WEBPACK_OUTDATED_DEPENDENCIES__); }') + } else { + v.insert( + R.range[0], + `function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${ye}(` + ) + v.insert( + R.range[1], + ')(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)' + ) + } + return + } + const _e = le.supportsArrowFunction() + v.insert( + R.range[1] - 0.5, + `, ${_e ? '() =>' : 'function()'} { ${ye} }` + ) + } + } + k.exports = HarmonyAcceptDependency + }, + 46325: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(69184) + const L = E(53139) + class HarmonyAcceptImportDependency extends R { + constructor(k) { + super(k, NaN) + this.weak = true + } + get type() { + return 'harmony accept' + } + } + P( + HarmonyAcceptImportDependency, + 'webpack/lib/dependencies/HarmonyAcceptImportDependency' + ) + HarmonyAcceptImportDependency.Template = L.Template + k.exports = HarmonyAcceptImportDependency + }, + 2075: function (k, v, E) { + 'use strict' + const { UsageState: P } = E(11172) + const R = E(88113) + const L = E(56727) + const N = E(58528) + const q = E(53139) + class HarmonyCompatibilityDependency extends q { + get type() { + return 'harmony export header' + } + } + N( + HarmonyCompatibilityDependency, + 'webpack/lib/dependencies/HarmonyCompatibilityDependency' + ) + HarmonyCompatibilityDependency.Template = class HarmonyExportDependencyTemplate extends ( + q.Template + ) { + apply( + k, + v, + { + module: E, + runtimeTemplate: N, + moduleGraph: q, + initFragments: ae, + runtimeRequirements: le, + runtime: pe, + concatenationScope: me, + } + ) { + if (me) return + const ye = q.getExportsInfo(E) + if (ye.getReadOnlyExportInfo('__esModule').getUsed(pe) !== P.Unused) { + const k = N.defineEsModuleFlagStatement({ + exportsArgument: E.exportsArgument, + runtimeRequirements: le, + }) + ae.push( + new R(k, R.STAGE_HARMONY_EXPORTS, 0, 'harmony compatibility') + ) + } + if (q.isAsync(E)) { + le.add(L.module) + le.add(L.asyncModule) + ae.push( + new R( + N.supportsArrowFunction() + ? `${L.asyncModule}(${E.moduleArgument}, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {\n` + : `${L.asyncModule}(${E.moduleArgument}, async function (__webpack_handle_async_dependencies__, __webpack_async_result__) { try {\n`, + R.STAGE_ASYNC_BOUNDARY, + 0, + undefined, + `\n__webpack_async_result__();\n} catch(e) { __webpack_async_result__(e); } }${ + E.buildMeta.async ? ', 1' : '' + });` + ) + ) + } + } + } + k.exports = HarmonyCompatibilityDependency + }, + 23144: function (k, v, E) { + 'use strict' + const { JAVASCRIPT_MODULE_TYPE_ESM: P } = E(93622) + const R = E(71203) + const L = E(2075) + const N = E(71803) + k.exports = class HarmonyDetectionParserPlugin { + constructor(k) { + const { topLevelAwait: v = false } = k || {} + this.topLevelAwait = v + } + apply(k) { + k.hooks.program.tap('HarmonyDetectionParserPlugin', (v) => { + const E = k.state.module.type === P + const q = + E || + v.body.some( + (k) => + k.type === 'ImportDeclaration' || + k.type === 'ExportDefaultDeclaration' || + k.type === 'ExportNamedDeclaration' || + k.type === 'ExportAllDeclaration' + ) + if (q) { + const v = k.state.module + const P = new L() + P.loc = { + start: { line: -1, column: 0 }, + end: { line: -1, column: 0 }, + index: -3, + } + v.addPresentationalDependency(P) + R.bailout(k.state) + N.enable(k.state, E) + k.scope.isStrict = true + } + }) + k.hooks.topLevelAwait.tap('HarmonyDetectionParserPlugin', () => { + const v = k.state.module + if (!this.topLevelAwait) { + throw new Error( + 'The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)' + ) + } + if (!N.isEnabled(k.state)) { + throw new Error( + 'Top-level-await is only supported in EcmaScript Modules' + ) + } + v.buildMeta.async = true + }) + const skipInHarmony = () => { + if (N.isEnabled(k.state)) { + return true + } + } + const nullInHarmony = () => { + if (N.isEnabled(k.state)) { + return null + } + } + const v = ['define', 'exports'] + for (const E of v) { + k.hooks.evaluateTypeof + .for(E) + .tap('HarmonyDetectionParserPlugin', nullInHarmony) + k.hooks.typeof + .for(E) + .tap('HarmonyDetectionParserPlugin', skipInHarmony) + k.hooks.evaluate + .for(E) + .tap('HarmonyDetectionParserPlugin', nullInHarmony) + k.hooks.expression + .for(E) + .tap('HarmonyDetectionParserPlugin', skipInHarmony) + k.hooks.call + .for(E) + .tap('HarmonyDetectionParserPlugin', skipInHarmony) + } + } + } + }, + 5107: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(56390) + class HarmonyEvaluatedImportSpecifierDependency extends R { + constructor(k, v, E, P, R, L, N) { + super(k, v, E, P, R, false, L, []) + this.operator = N + } + get type() { + return `evaluated X ${this.operator} harmony import specifier` + } + serialize(k) { + super.serialize(k) + const { write: v } = k + v(this.operator) + } + deserialize(k) { + super.deserialize(k) + const { read: v } = k + this.operator = v() + } + } + P( + HarmonyEvaluatedImportSpecifierDependency, + 'webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency' + ) + HarmonyEvaluatedImportSpecifierDependency.Template = class HarmonyEvaluatedImportSpecifierDependencyTemplate extends ( + R.Template + ) { + apply(k, v, E) { + const P = k + const { module: R, moduleGraph: L, runtime: N } = E + const q = L.getConnection(P) + if (q && !q.isTargetActive(N)) return + const ae = L.getExportsInfo(q.module) + const le = P.getIds(L) + let pe + const me = q.module.getExportsType(L, R.buildMeta.strictHarmonyModule) + switch (me) { + case 'default-with-named': { + if (le[0] === 'default') { + pe = le.length === 1 || ae.isExportProvided(le.slice(1)) + } else { + pe = ae.isExportProvided(le) + } + break + } + case 'namespace': { + if (le[0] === '__esModule') { + pe = le.length === 1 || undefined + } else { + pe = ae.isExportProvided(le) + } + break + } + case 'dynamic': { + if (le[0] !== 'default') { + pe = ae.isExportProvided(le) + } + break + } + } + if (typeof pe === 'boolean') { + v.replace(P.range[0], P.range[1] - 1, ` ${pe}`) + } else { + const k = ae.getUsedName(le, N) + const R = this._getCodeForIds(P, v, E, le.slice(0, -1)) + v.replace( + P.range[0], + P.range[1] - 1, + `${k ? JSON.stringify(k[k.length - 1]) : '""'} in ${R}` + ) + } + } + } + k.exports = HarmonyEvaluatedImportSpecifierDependency + }, + 33866: function (k, v, E) { + 'use strict' + const P = E(88926) + const R = E(60381) + const L = E(33579) + const N = E(66057) + const q = E(44827) + const ae = E(95040) + const { ExportPresenceModes: le } = E(69184) + const { harmonySpecifierTag: pe, getAssertions: me } = E(57737) + const ye = E(59398) + const { HarmonyStarExportsList: _e } = q + k.exports = class HarmonyExportDependencyParserPlugin { + constructor(k) { + this.exportPresenceMode = + k.reexportExportsPresence !== undefined + ? le.fromUserOption(k.reexportExportsPresence) + : k.exportsPresence !== undefined + ? le.fromUserOption(k.exportsPresence) + : k.strictExportPresence + ? le.ERROR + : le.AUTO + } + apply(k) { + const { exportPresenceMode: v } = this + k.hooks.export.tap('HarmonyExportDependencyParserPlugin', (v) => { + const E = new N(v.declaration && v.declaration.range, v.range) + E.loc = Object.create(v.loc) + E.loc.index = -1 + k.state.module.addPresentationalDependency(E) + return true + }) + k.hooks.exportImport.tap( + 'HarmonyExportDependencyParserPlugin', + (v, E) => { + k.state.lastHarmonyImportOrder = + (k.state.lastHarmonyImportOrder || 0) + 1 + const P = new R('', v.range) + P.loc = Object.create(v.loc) + P.loc.index = -1 + k.state.module.addPresentationalDependency(P) + const L = new ye(E, k.state.lastHarmonyImportOrder, me(v)) + L.loc = Object.create(v.loc) + L.loc.index = -1 + k.state.current.addDependency(L) + return true + } + ) + k.hooks.exportExpression.tap( + 'HarmonyExportDependencyParserPlugin', + (v, E) => { + const R = E.type === 'FunctionDeclaration' + const N = k.getComments([v.range[0], E.range[0]]) + const q = new L( + E.range, + v.range, + N.map((k) => { + switch (k.type) { + case 'Block': + return `/*${k.value}*/` + case 'Line': + return `//${k.value}\n` + } + return '' + }).join(''), + E.type.endsWith('Declaration') && E.id + ? E.id.name + : R + ? { + id: E.id ? E.id.name : undefined, + range: [ + E.range[0], + E.params.length > 0 + ? E.params[0].range[0] + : E.body.range[0], + ], + prefix: `${E.async ? 'async ' : ''}function${ + E.generator ? '*' : '' + } `, + suffix: `(${E.params.length > 0 ? '' : ') '}`, + } + : undefined + ) + q.loc = Object.create(v.loc) + q.loc.index = -1 + k.state.current.addDependency(q) + P.addVariableUsage( + k, + E.type.endsWith('Declaration') && E.id + ? E.id.name + : '*default*', + 'default' + ) + return true + } + ) + k.hooks.exportSpecifier.tap( + 'HarmonyExportDependencyParserPlugin', + (E, R, L, N) => { + const le = k.getTagData(R, pe) + let me + const ye = (k.state.harmonyNamedExports = + k.state.harmonyNamedExports || new Set()) + ye.add(L) + P.addVariableUsage(k, R, L) + if (le) { + me = new q( + le.source, + le.sourceOrder, + le.ids, + L, + ye, + null, + v, + null, + le.assertions + ) + } else { + me = new ae(R, L) + } + me.loc = Object.create(E.loc) + me.loc.index = N + k.state.current.addDependency(me) + return true + } + ) + k.hooks.exportImportSpecifier.tap( + 'HarmonyExportDependencyParserPlugin', + (E, P, R, L, N) => { + const ae = (k.state.harmonyNamedExports = + k.state.harmonyNamedExports || new Set()) + let le = null + if (L) { + ae.add(L) + } else { + le = k.state.harmonyStarExports = + k.state.harmonyStarExports || new _e() + } + const pe = new q( + P, + k.state.lastHarmonyImportOrder, + R ? [R] : [], + L, + ae, + le && le.slice(), + v, + le + ) + if (le) { + le.push(pe) + } + pe.loc = Object.create(E.loc) + pe.loc.index = N + k.state.current.addDependency(pe) + return true + } + ) + } + } + }, + 33579: function (k, v, E) { + 'use strict' + const P = E(91213) + const R = E(56727) + const L = E(58528) + const N = E(10720) + const q = E(89661) + const ae = E(53139) + class HarmonyExportExpressionDependency extends ae { + constructor(k, v, E, P) { + super() + this.range = k + this.rangeStatement = v + this.prefix = E + this.declarationId = P + } + get type() { + return 'harmony export expression' + } + getExports(k) { + return { + exports: ['default'], + priority: 1, + terminalBinding: true, + dependencies: undefined, + } + } + getModuleEvaluationSideEffectsState(k) { + return false + } + serialize(k) { + const { write: v } = k + v(this.range) + v(this.rangeStatement) + v(this.prefix) + v(this.declarationId) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.range = v() + this.rangeStatement = v() + this.prefix = v() + this.declarationId = v() + super.deserialize(k) + } + } + L( + HarmonyExportExpressionDependency, + 'webpack/lib/dependencies/HarmonyExportExpressionDependency' + ) + HarmonyExportExpressionDependency.Template = class HarmonyExportDependencyTemplate extends ( + ae.Template + ) { + apply( + k, + v, + { + module: E, + moduleGraph: L, + runtimeTemplate: ae, + runtimeRequirements: le, + initFragments: pe, + runtime: me, + concatenationScope: ye, + } + ) { + const _e = k + const { declarationId: Ie } = _e + const Me = E.exportsArgument + if (Ie) { + let k + if (typeof Ie === 'string') { + k = Ie + } else { + k = P.DEFAULT_EXPORT + v.replace( + Ie.range[0], + Ie.range[1] - 1, + `${Ie.prefix}${k}${Ie.suffix}` + ) + } + if (ye) { + ye.registerExport('default', k) + } else { + const v = L.getExportsInfo(E).getUsedName('default', me) + if (v) { + const E = new Map() + E.set(v, `/* export default binding */ ${k}`) + pe.push(new q(Me, E)) + } + } + v.replace( + _e.rangeStatement[0], + _e.range[0] - 1, + `/* harmony default export */ ${_e.prefix}` + ) + } else { + let k + const Ie = P.DEFAULT_EXPORT + if (ae.supportsConst()) { + k = `/* harmony default export */ const ${Ie} = ` + if (ye) { + ye.registerExport('default', Ie) + } else { + const v = L.getExportsInfo(E).getUsedName('default', me) + if (v) { + le.add(R.exports) + const k = new Map() + k.set(v, Ie) + pe.push(new q(Me, k)) + } else { + k = `/* unused harmony default export */ var ${Ie} = ` + } + } + } else if (ye) { + k = `/* harmony default export */ var ${Ie} = ` + ye.registerExport('default', Ie) + } else { + const v = L.getExportsInfo(E).getUsedName('default', me) + if (v) { + le.add(R.exports) + k = `/* harmony default export */ ${Me}${N( + typeof v === 'string' ? [v] : v + )} = ` + } else { + k = `/* unused harmony default export */ var ${Ie} = ` + } + } + if (_e.range) { + v.replace( + _e.rangeStatement[0], + _e.range[0] - 1, + k + '(' + _e.prefix + ) + v.replace(_e.range[1], _e.rangeStatement[1] - 0.5, ');') + return + } + v.replace(_e.rangeStatement[0], _e.rangeStatement[1] - 1, k) + } + } + } + k.exports = HarmonyExportExpressionDependency + }, + 66057: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(53139) + class HarmonyExportHeaderDependency extends R { + constructor(k, v) { + super() + this.range = k + this.rangeStatement = v + } + get type() { + return 'harmony export header' + } + serialize(k) { + const { write: v } = k + v(this.range) + v(this.rangeStatement) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.range = v() + this.rangeStatement = v() + super.deserialize(k) + } + } + P( + HarmonyExportHeaderDependency, + 'webpack/lib/dependencies/HarmonyExportHeaderDependency' + ) + HarmonyExportHeaderDependency.Template = class HarmonyExportDependencyTemplate extends ( + R.Template + ) { + apply(k, v, E) { + const P = k + const R = '' + const L = P.range ? P.range[0] - 1 : P.rangeStatement[1] - 1 + v.replace(P.rangeStatement[0], L, R) + } + } + k.exports = HarmonyExportHeaderDependency + }, + 44827: function (k, v, E) { + 'use strict' + const P = E(16848) + const { UsageState: R } = E(11172) + const L = E(36473) + const N = E(88113) + const q = E(56727) + const ae = E(95041) + const { countIterable: le } = E(54480) + const { first: pe, combine: me } = E(59959) + const ye = E(58528) + const _e = E(10720) + const { propertyName: Ie } = E(72627) + const { getRuntimeKey: Me, keyToRuntime: Te } = E(1540) + const je = E(89661) + const Ne = E(69184) + const Be = E(49798) + const { ExportPresenceModes: qe } = Ne + const Ue = Symbol('HarmonyExportImportedSpecifierDependency.ids') + class NormalReexportItem { + constructor(k, v, E, P, R) { + this.name = k + this.ids = v + this.exportInfo = E + this.checked = P + this.hidden = R + } + } + class ExportMode { + constructor(k) { + this.type = k + this.items = null + this.name = null + this.partialNamespaceExportInfo = null + this.ignored = null + this.hidden = null + this.userRequest = null + this.fakeType = 0 + } + } + const determineExportAssignments = (k, v, E) => { + const P = new Set() + const R = [] + if (E) { + v = v.concat(E) + } + for (const E of v) { + const v = R.length + R[v] = P.size + const L = k.getModule(E) + if (L) { + const E = k.getExportsInfo(L) + for (const k of E.exports) { + if ( + k.provided === true && + k.name !== 'default' && + !P.has(k.name) + ) { + P.add(k.name) + R[v] = P.size + } + } + } + } + R.push(P.size) + return { names: Array.from(P), dependencyIndices: R } + } + const findDependencyForName = ( + { names: k, dependencyIndices: v }, + E, + P + ) => { + const R = P[Symbol.iterator]() + const L = v[Symbol.iterator]() + let N = R.next() + let q = L.next() + if (q.done) return + for (let v = 0; v < k.length; v++) { + while (v >= q.value) { + N = R.next() + q = L.next() + if (q.done) return + } + if (k[v] === E) return N.value + } + return undefined + } + const getMode = (k, v, E) => { + const P = k.getModule(v) + if (!P) { + const k = new ExportMode('missing') + k.userRequest = v.userRequest + return k + } + const L = v.name + const N = Te(E) + const q = k.getParentModule(v) + const ae = k.getExportsInfo(q) + if (L ? ae.getUsed(L, N) === R.Unused : ae.isUsed(N) === false) { + const k = new ExportMode('unused') + k.name = L || '*' + return k + } + const le = P.getExportsType(k, q.buildMeta.strictHarmonyModule) + const pe = v.getIds(k) + if (L && pe.length > 0 && pe[0] === 'default') { + switch (le) { + case 'dynamic': { + const k = new ExportMode('reexport-dynamic-default') + k.name = L + return k + } + case 'default-only': + case 'default-with-named': { + const k = ae.getReadOnlyExportInfo(L) + const v = new ExportMode('reexport-named-default') + v.name = L + v.partialNamespaceExportInfo = k + return v + } + } + } + if (L) { + let k + const v = ae.getReadOnlyExportInfo(L) + if (pe.length > 0) { + switch (le) { + case 'default-only': + k = new ExportMode('reexport-undefined') + k.name = L + break + default: + k = new ExportMode('normal-reexport') + k.items = [new NormalReexportItem(L, pe, v, false, false)] + break + } + } else { + switch (le) { + case 'default-only': + k = new ExportMode('reexport-fake-namespace-object') + k.name = L + k.partialNamespaceExportInfo = v + k.fakeType = 0 + break + case 'default-with-named': + k = new ExportMode('reexport-fake-namespace-object') + k.name = L + k.partialNamespaceExportInfo = v + k.fakeType = 2 + break + case 'dynamic': + default: + k = new ExportMode('reexport-namespace-object') + k.name = L + k.partialNamespaceExportInfo = v + } + } + return k + } + const { + ignoredExports: me, + exports: ye, + checked: _e, + hidden: Ie, + } = v.getStarReexports(k, N, ae, P) + if (!ye) { + const k = new ExportMode('dynamic-reexport') + k.ignored = me + k.hidden = Ie + return k + } + if (ye.size === 0) { + const k = new ExportMode('empty-star') + k.hidden = Ie + return k + } + const Me = new ExportMode('normal-reexport') + Me.items = Array.from( + ye, + (k) => + new NormalReexportItem( + k, + [k], + ae.getReadOnlyExportInfo(k), + _e.has(k), + false + ) + ) + if (Ie !== undefined) { + for (const k of Ie) { + Me.items.push( + new NormalReexportItem( + k, + [k], + ae.getReadOnlyExportInfo(k), + false, + true + ) + ) + } + } + return Me + } + class HarmonyExportImportedSpecifierDependency extends Ne { + constructor(k, v, E, P, R, L, N, q, ae) { + super(k, v, ae) + this.ids = E + this.name = P + this.activeExports = R + this.otherStarExports = L + this.exportPresenceMode = N + this.allStarExports = q + } + couldAffectReferencingModule() { + return P.TRANSITIVE + } + 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(k) { + return k.getMeta(this)[Ue] || this.ids + } + setIds(k, v) { + k.getMeta(this)[Ue] = v + } + getMode(k, v) { + return k.dependencyCacheProvide(this, Me(v), getMode) + } + getStarReexports( + k, + v, + E = k.getExportsInfo(k.getParentModule(this)), + P = k.getModule(this) + ) { + const L = k.getExportsInfo(P) + const N = L.otherExportsInfo.provided === false + const q = E.otherExportsInfo.getUsed(v) === R.Unused + const ae = new Set(['default', ...this.activeExports]) + let le = undefined + const pe = this._discoverActiveExportsFromOtherStarExports(k) + if (pe !== undefined) { + le = new Set() + for (let k = 0; k < pe.namesSlice; k++) { + le.add(pe.names[k]) + } + for (const k of ae) le.delete(k) + } + if (!N && !q) { + return { ignoredExports: ae, hidden: le } + } + const me = new Set() + const ye = new Set() + const _e = le !== undefined ? new Set() : undefined + if (q) { + for (const k of E.orderedExports) { + const E = k.name + if (ae.has(E)) continue + if (k.getUsed(v) === R.Unused) continue + const P = L.getReadOnlyExportInfo(E) + if (P.provided === false) continue + if (le !== undefined && le.has(E)) { + _e.add(E) + continue + } + me.add(E) + if (P.provided === true) continue + ye.add(E) + } + } else if (N) { + for (const k of L.orderedExports) { + const P = k.name + if (ae.has(P)) continue + if (k.provided === false) continue + const L = E.getReadOnlyExportInfo(P) + if (L.getUsed(v) === R.Unused) continue + if (le !== undefined && le.has(P)) { + _e.add(P) + continue + } + me.add(P) + if (k.provided === true) continue + ye.add(P) + } + } + return { ignoredExports: ae, exports: me, checked: ye, hidden: _e } + } + getCondition(k) { + return (v, E) => { + const P = this.getMode(k, E) + return P.type !== 'unused' && P.type !== 'empty-star' + } + } + getModuleEvaluationSideEffectsState(k) { + return false + } + getReferencedExports(k, v) { + const E = this.getMode(k, v) + switch (E.type) { + case 'missing': + case 'unused': + case 'empty-star': + case 'reexport-undefined': + return P.NO_EXPORTS_REFERENCED + case 'reexport-dynamic-default': + return P.EXPORTS_OBJECT_REFERENCED + case 'reexport-named-default': { + if (!E.partialNamespaceExportInfo) + return P.EXPORTS_OBJECT_REFERENCED + const k = [] + Be(v, k, [], E.partialNamespaceExportInfo) + return k + } + case 'reexport-namespace-object': + case 'reexport-fake-namespace-object': { + if (!E.partialNamespaceExportInfo) + return P.EXPORTS_OBJECT_REFERENCED + const k = [] + Be( + v, + k, + [], + E.partialNamespaceExportInfo, + E.type === 'reexport-fake-namespace-object' + ) + return k + } + case 'dynamic-reexport': + return P.EXPORTS_OBJECT_REFERENCED + case 'normal-reexport': { + const k = [] + for (const { ids: P, exportInfo: R, hidden: L } of E.items) { + if (L) continue + Be(v, k, P, R, false) + } + return k + } + default: + throw new Error(`Unknown mode ${E.type}`) + } + } + _discoverActiveExportsFromOtherStarExports(k) { + if (!this.otherStarExports) return undefined + const v = + 'length' in this.otherStarExports + ? this.otherStarExports.length + : le(this.otherStarExports) + if (v === 0) return undefined + if (this.allStarExports) { + const { names: E, dependencyIndices: P } = k.cached( + determineExportAssignments, + this.allStarExports.dependencies + ) + return { + names: E, + namesSlice: P[v - 1], + dependencyIndices: P, + dependencyIndex: v, + } + } + const { names: E, dependencyIndices: P } = k.cached( + determineExportAssignments, + this.otherStarExports, + this + ) + return { + names: E, + namesSlice: P[v - 1], + dependencyIndices: P, + dependencyIndex: v, + } + } + getExports(k) { + const v = this.getMode(k, undefined) + switch (v.type) { + case 'missing': + return undefined + case 'dynamic-reexport': { + const E = k.getConnection(this) + return { + exports: true, + from: E, + canMangle: false, + excludeExports: v.hidden ? me(v.ignored, v.hidden) : v.ignored, + hideExports: v.hidden, + dependencies: [E.module], + } + } + case 'empty-star': + return { + exports: [], + hideExports: v.hidden, + dependencies: [k.getModule(this)], + } + case 'normal-reexport': { + const E = k.getConnection(this) + return { + exports: Array.from(v.items, (k) => ({ + name: k.name, + from: E, + export: k.ids, + hidden: k.hidden, + })), + priority: 1, + dependencies: [E.module], + } + } + case 'reexport-dynamic-default': { + { + const E = k.getConnection(this) + return { + exports: [{ name: v.name, from: E, export: ['default'] }], + priority: 1, + dependencies: [E.module], + } + } + } + case 'reexport-undefined': + return { exports: [v.name], dependencies: [k.getModule(this)] } + case 'reexport-fake-namespace-object': { + const E = k.getConnection(this) + return { + exports: [ + { + name: v.name, + from: E, + export: null, + exports: [ + { + name: 'default', + canMangle: false, + from: E, + export: null, + }, + ], + }, + ], + priority: 1, + dependencies: [E.module], + } + } + case 'reexport-namespace-object': { + const E = k.getConnection(this) + return { + exports: [{ name: v.name, from: E, export: null }], + priority: 1, + dependencies: [E.module], + } + } + case 'reexport-named-default': { + const E = k.getConnection(this) + return { + exports: [{ name: v.name, from: E, export: ['default'] }], + priority: 1, + dependencies: [E.module], + } + } + default: + throw new Error(`Unknown mode ${v.type}`) + } + } + _getEffectiveExportPresenceLevel(k) { + if (this.exportPresenceMode !== qe.AUTO) + return this.exportPresenceMode + return k.getParentModule(this).buildMeta.strictHarmonyModule + ? qe.ERROR + : qe.WARN + } + getWarnings(k) { + const v = this._getEffectiveExportPresenceLevel(k) + if (v === qe.WARN) { + return this._getErrors(k) + } + return null + } + getErrors(k) { + const v = this._getEffectiveExportPresenceLevel(k) + if (v === qe.ERROR) { + return this._getErrors(k) + } + return null + } + _getErrors(k) { + const v = this.getIds(k) + let E = this.getLinkingErrors(k, v, `(reexported as '${this.name}')`) + if (v.length === 0 && this.name === null) { + const v = this._discoverActiveExportsFromOtherStarExports(k) + if (v && v.namesSlice > 0) { + const P = new Set( + v.names.slice( + v.namesSlice, + v.dependencyIndices[v.dependencyIndex] + ) + ) + const R = k.getModule(this) + if (R) { + const N = k.getExportsInfo(R) + const q = new Map() + for (const E of N.orderedExports) { + if (E.provided !== true) continue + if (E.name === 'default') continue + if (this.activeExports.has(E.name)) continue + if (P.has(E.name)) continue + const L = findDependencyForName( + v, + E.name, + this.allStarExports + ? this.allStarExports.dependencies + : [...this.otherStarExports, this] + ) + if (!L) continue + const N = E.getTerminalBinding(k) + if (!N) continue + const ae = k.getModule(L) + if (ae === R) continue + const le = k.getExportInfo(ae, E.name) + const pe = le.getTerminalBinding(k) + if (!pe) continue + if (N === pe) continue + const me = q.get(L.request) + if (me === undefined) { + q.set(L.request, [E.name]) + } else { + me.push(E.name) + } + } + for (const [k, v] of q) { + if (!E) E = [] + E.push( + new L( + `The requested module '${ + this.request + }' contains conflicting star exports for the ${ + v.length > 1 ? 'names' : 'name' + } ${v + .map((k) => `'${k}'`) + .join(', ')} with the previous requested module '${k}'` + ) + ) + } + } + } + } + return E + } + serialize(k) { + const { write: v, setCircularReference: E } = k + E(this) + v(this.ids) + v(this.name) + v(this.activeExports) + v(this.otherStarExports) + v(this.exportPresenceMode) + v(this.allStarExports) + super.serialize(k) + } + deserialize(k) { + const { read: v, setCircularReference: E } = k + E(this) + this.ids = v() + this.name = v() + this.activeExports = v() + this.otherStarExports = v() + this.exportPresenceMode = v() + this.allStarExports = v() + super.deserialize(k) + } + } + ye( + HarmonyExportImportedSpecifierDependency, + 'webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency' + ) + k.exports = HarmonyExportImportedSpecifierDependency + HarmonyExportImportedSpecifierDependency.Template = class HarmonyExportImportedSpecifierDependencyTemplate extends ( + Ne.Template + ) { + apply(k, v, E) { + const { moduleGraph: P, runtime: R, concatenationScope: L } = E + const N = k + const q = N.getMode(P, R) + if (L) { + switch (q.type) { + case 'reexport-undefined': + L.registerRawExport( + q.name, + '/* reexport non-default export from non-harmony */ undefined' + ) + } + return + } + if (q.type !== 'unused' && q.type !== 'empty-star') { + super.apply(k, v, E) + this._addExportFragments( + E.initFragments, + N, + q, + E.module, + P, + R, + E.runtimeTemplate, + E.runtimeRequirements + ) + } + } + _addExportFragments(k, v, E, P, R, L, le, ye) { + const _e = R.getModule(v) + const Ie = v.getImportVar(R) + switch (E.type) { + case 'missing': + case 'empty-star': + k.push( + new N( + '/* empty/unused harmony star reexport */\n', + N.STAGE_HARMONY_EXPORTS, + 1 + ) + ) + break + case 'unused': + k.push( + new N( + `${ae.toNormalComment( + `unused harmony reexport ${E.name}` + )}\n`, + N.STAGE_HARMONY_EXPORTS, + 1 + ) + ) + break + case 'reexport-dynamic-default': + k.push( + this.getReexportFragment( + P, + 'reexport default from dynamic', + R.getExportsInfo(P).getUsedName(E.name, L), + Ie, + null, + ye + ) + ) + break + case 'reexport-fake-namespace-object': + k.push( + ...this.getReexportFakeNamespaceObjectFragments( + P, + R.getExportsInfo(P).getUsedName(E.name, L), + Ie, + E.fakeType, + ye + ) + ) + break + case 'reexport-undefined': + k.push( + this.getReexportFragment( + P, + 'reexport non-default export from non-harmony', + R.getExportsInfo(P).getUsedName(E.name, L), + 'undefined', + '', + ye + ) + ) + break + case 'reexport-named-default': + k.push( + this.getReexportFragment( + P, + 'reexport default export from named module', + R.getExportsInfo(P).getUsedName(E.name, L), + Ie, + '', + ye + ) + ) + break + case 'reexport-namespace-object': + k.push( + this.getReexportFragment( + P, + 'reexport module object', + R.getExportsInfo(P).getUsedName(E.name, L), + Ie, + '', + ye + ) + ) + break + case 'normal-reexport': + for (const { + name: q, + ids: ae, + checked: le, + hidden: pe, + } of E.items) { + if (pe) continue + if (le) { + k.push( + new N( + '/* harmony reexport (checked) */ ' + + this.getConditionalReexportStatement(P, q, Ie, ae, ye), + R.isAsync(_e) + ? N.STAGE_ASYNC_HARMONY_IMPORTS + : N.STAGE_HARMONY_IMPORTS, + v.sourceOrder + ) + ) + } else { + k.push( + this.getReexportFragment( + P, + 'reexport safe', + R.getExportsInfo(P).getUsedName(q, L), + Ie, + R.getExportsInfo(_e).getUsedName(ae, L), + ye + ) + ) + } + } + break + case 'dynamic-reexport': { + const L = E.hidden ? me(E.ignored, E.hidden) : E.ignored + const ae = le.supportsConst() && le.supportsArrowFunction() + let Me = + '/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n' + + `/* harmony reexport (unknown) */ for(${ + ae ? 'const' : 'var' + } __WEBPACK_IMPORT_KEY__ in ${Ie}) ` + if (L.size > 1) { + Me += + 'if(' + + JSON.stringify(Array.from(L)) + + '.indexOf(__WEBPACK_IMPORT_KEY__) < 0) ' + } else if (L.size === 1) { + Me += `if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(pe(L))}) ` + } + Me += `__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = ` + if (ae) { + Me += `() => ${Ie}[__WEBPACK_IMPORT_KEY__]` + } else { + Me += `function(key) { return ${Ie}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)` + } + ye.add(q.exports) + ye.add(q.definePropertyGetters) + const Te = P.exportsArgument + k.push( + new N( + `${Me}\n/* harmony reexport (unknown) */ ${q.definePropertyGetters}(${Te}, __WEBPACK_REEXPORT_OBJECT__);\n`, + R.isAsync(_e) + ? N.STAGE_ASYNC_HARMONY_IMPORTS + : N.STAGE_HARMONY_IMPORTS, + v.sourceOrder + ) + ) + break + } + default: + throw new Error(`Unknown mode ${E.type}`) + } + } + getReexportFragment(k, v, E, P, R, L) { + const N = this.getReturnValue(P, R) + L.add(q.exports) + L.add(q.definePropertyGetters) + const ae = new Map() + ae.set(E, `/* ${v} */ ${N}`) + return new je(k.exportsArgument, ae) + } + getReexportFakeNamespaceObjectFragments(k, v, E, P, R) { + R.add(q.exports) + R.add(q.definePropertyGetters) + R.add(q.createFakeNamespaceObject) + const L = new Map() + L.set( + v, + `/* reexport fake namespace object from non-harmony */ ${E}_namespace_cache || (${E}_namespace_cache = ${ + q.createFakeNamespaceObject + }(${E}${P ? `, ${P}` : ''}))` + ) + return [ + new N( + `var ${E}_namespace_cache;\n`, + N.STAGE_CONSTANTS, + -1, + `${E}_namespace_cache` + ), + new je(k.exportsArgument, L), + ] + } + getConditionalReexportStatement(k, v, E, P, R) { + if (P === false) { + return '/* unused export */\n' + } + const L = k.exportsArgument + const N = this.getReturnValue(E, P) + R.add(q.exports) + R.add(q.definePropertyGetters) + R.add(q.hasOwnProperty) + return `if(${q.hasOwnProperty}(${E}, ${JSON.stringify(P[0])})) ${ + q.definePropertyGetters + }(${L}, { ${Ie(v)}: function() { return ${N}; } });\n` + } + getReturnValue(k, v) { + if (v === null) { + return `${k}_default.a` + } + if (v === '') { + return k + } + if (v === false) { + return '/* unused export */ undefined' + } + return `${k}${_e(v)}` + } + } + class HarmonyStarExportsList { + constructor() { + this.dependencies = [] + } + push(k) { + this.dependencies.push(k) + } + slice() { + return this.dependencies.slice() + } + serialize({ write: k, setCircularReference: v }) { + v(this) + k(this.dependencies) + } + deserialize({ read: k, setCircularReference: v }) { + v(this) + this.dependencies = k() + } + } + ye( + HarmonyStarExportsList, + 'webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency', + 'HarmonyStarExportsList' + ) + k.exports.HarmonyStarExportsList = HarmonyStarExportsList + }, + 89661: function (k, v, E) { + 'use strict' + const P = E(88113) + const R = E(56727) + const { first: L } = E(59959) + const { propertyName: N } = E(72627) + const joinIterableWithComma = (k) => { + let v = '' + let E = true + for (const P of k) { + if (E) { + E = false + } else { + v += ', ' + } + v += P + } + return v + } + const q = new Map() + const ae = new Set() + class HarmonyExportInitFragment extends P { + constructor(k, v = q, E = ae) { + super(undefined, P.STAGE_HARMONY_EXPORTS, 1, 'harmony-exports') + this.exportsArgument = k + this.exportMap = v + this.unusedExports = E + } + mergeAll(k) { + let v + let E = false + let P + let R = false + for (const L of k) { + if (L.exportMap.size !== 0) { + if (v === undefined) { + v = L.exportMap + E = false + } else { + if (!E) { + v = new Map(v) + E = true + } + for (const [k, E] of L.exportMap) { + if (!v.has(k)) v.set(k, E) + } + } + } + if (L.unusedExports.size !== 0) { + if (P === undefined) { + P = L.unusedExports + R = false + } else { + if (!R) { + P = new Set(P) + R = true + } + for (const k of L.unusedExports) { + P.add(k) + } + } + } + } + return new HarmonyExportInitFragment(this.exportsArgument, v, P) + } + merge(k) { + let v + if (this.exportMap.size === 0) { + v = k.exportMap + } else if (k.exportMap.size === 0) { + v = this.exportMap + } else { + v = new Map(k.exportMap) + for (const [k, E] of this.exportMap) { + if (!v.has(k)) v.set(k, E) + } + } + let E + if (this.unusedExports.size === 0) { + E = k.unusedExports + } else if (k.unusedExports.size === 0) { + E = this.unusedExports + } else { + E = new Set(k.unusedExports) + for (const k of this.unusedExports) { + E.add(k) + } + } + return new HarmonyExportInitFragment(this.exportsArgument, v, E) + } + getContent({ runtimeTemplate: k, runtimeRequirements: v }) { + v.add(R.exports) + v.add(R.definePropertyGetters) + const E = + this.unusedExports.size > 1 + ? `/* unused harmony exports ${joinIterableWithComma( + this.unusedExports + )} */\n` + : this.unusedExports.size > 0 + ? `/* unused harmony export ${L(this.unusedExports)} */\n` + : '' + const P = [] + const q = Array.from(this.exportMap).sort(([k], [v]) => + k < v ? -1 : 1 + ) + for (const [v, E] of q) { + P.push( + `\n/* harmony export */ ${N(v)}: ${k.returningFunction(E)}` + ) + } + const ae = + this.exportMap.size > 0 + ? `/* harmony export */ ${R.definePropertyGetters}(${ + this.exportsArgument + }, {${P.join(',')}\n/* harmony export */ });\n` + : '' + return `${ae}${E}` + } + } + k.exports = HarmonyExportInitFragment + }, + 95040: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(89661) + const L = E(53139) + class HarmonyExportSpecifierDependency extends L { + constructor(k, v) { + super() + this.id = k + this.name = v + } + get type() { + return 'harmony export specifier' + } + getExports(k) { + return { + exports: [this.name], + priority: 1, + terminalBinding: true, + dependencies: undefined, + } + } + getModuleEvaluationSideEffectsState(k) { + return false + } + serialize(k) { + const { write: v } = k + v(this.id) + v(this.name) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.id = v() + this.name = v() + super.deserialize(k) + } + } + P( + HarmonyExportSpecifierDependency, + 'webpack/lib/dependencies/HarmonyExportSpecifierDependency' + ) + HarmonyExportSpecifierDependency.Template = class HarmonyExportSpecifierDependencyTemplate extends ( + L.Template + ) { + apply( + k, + v, + { + module: E, + moduleGraph: P, + initFragments: L, + runtime: N, + concatenationScope: q, + } + ) { + const ae = k + if (q) { + q.registerExport(ae.name, ae.id) + return + } + const le = P.getExportsInfo(E).getUsedName(ae.name, N) + if (!le) { + const k = new Set() + k.add(ae.name || 'namespace') + L.push(new R(E.exportsArgument, undefined, k)) + return + } + const pe = new Map() + pe.set(le, `/* binding */ ${ae.id}`) + L.push(new R(E.exportsArgument, pe, undefined)) + } + } + k.exports = HarmonyExportSpecifierDependency + }, + 71803: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = new WeakMap() + v.enable = (k, v) => { + const E = R.get(k) + if (E === false) return + R.set(k, true) + if (E !== true) { + k.module.buildMeta.exportsType = 'namespace' + k.module.buildInfo.strict = true + k.module.buildInfo.exportsArgument = P.exports + if (v) { + k.module.buildMeta.strictHarmonyModule = true + k.module.buildInfo.moduleArgument = '__webpack_module__' + } + } + } + v.isEnabled = (k) => { + const v = R.get(k) + return v === true + } + }, + 69184: function (k, v, E) { + 'use strict' + const P = E(33769) + const R = E(16848) + const L = E(36473) + const N = E(88113) + const q = E(95041) + const ae = E(55770) + const { filterRuntime: le, mergeRuntime: pe } = E(1540) + const me = E(77373) + const ye = { + NONE: 0, + WARN: 1, + AUTO: 2, + ERROR: 3, + fromUserOption(k) { + switch (k) { + case 'error': + return ye.ERROR + case 'warn': + return ye.WARN + case 'auto': + return ye.AUTO + case false: + return ye.NONE + default: + throw new Error(`Invalid export presence value ${k}`) + } + }, + } + class HarmonyImportDependency extends me { + constructor(k, v, E) { + super(k) + this.sourceOrder = v + this.assertions = E + } + get category() { + return 'esm' + } + getReferencedExports(k, v) { + return R.NO_EXPORTS_REFERENCED + } + getImportVar(k) { + const v = k.getParentModule(this) + const E = k.getMeta(v) + let P = E.importVarMap + if (!P) E.importVarMap = P = new Map() + let R = P.get(k.getModule(this)) + if (R) return R + R = `${q.toIdentifier( + `${this.userRequest}` + )}__WEBPACK_IMPORTED_MODULE_${P.size}__` + P.set(k.getModule(this), R) + return R + } + getImportStatement( + k, + { + runtimeTemplate: v, + module: E, + moduleGraph: P, + chunkGraph: R, + runtimeRequirements: L, + } + ) { + return v.importStatement({ + update: k, + module: P.getModule(this), + chunkGraph: R, + importVar: this.getImportVar(P), + request: this.request, + originModule: E, + runtimeRequirements: L, + }) + } + getLinkingErrors(k, v, E) { + const P = k.getModule(this) + if (!P || P.getNumberOfErrors() > 0) { + return + } + const R = k.getParentModule(this) + const N = P.getExportsType(k, R.buildMeta.strictHarmonyModule) + if (N === 'namespace' || N === 'default-with-named') { + if (v.length === 0) { + return + } + if ( + (N !== 'default-with-named' || v[0] !== 'default') && + k.isExportProvided(P, v) === false + ) { + let R = 0 + let N = k.getExportsInfo(P) + while (R < v.length && N) { + const k = v[R++] + const P = N.getReadOnlyExportInfo(k) + if (P.provided === false) { + const k = N.getProvidedExports() + const P = !Array.isArray(k) + ? ' (possible exports unknown)' + : k.length === 0 + ? ' (module has no exports)' + : ` (possible exports: ${k.join(', ')})` + return [ + new L( + `export ${v + .slice(0, R) + .map((k) => `'${k}'`) + .join('.')} ${E} was not found in '${ + this.userRequest + }'${P}` + ), + ] + } + N = P.getNestedExportsInfo() + } + return [ + new L( + `export ${v + .map((k) => `'${k}'`) + .join('.')} ${E} was not found in '${this.userRequest}'` + ), + ] + } + } + switch (N) { + case 'default-only': + if (v.length > 0 && v[0] !== 'default') { + return [ + new L( + `Can't import the named export ${v + .map((k) => `'${k}'`) + .join( + '.' + )} ${E} from default-exporting module (only default export is available)` + ), + ] + } + break + case 'default-with-named': + if ( + v.length > 0 && + v[0] !== 'default' && + P.buildMeta.defaultObject === 'redirect-warn' + ) { + return [ + new L( + `Should not import the named export ${v + .map((k) => `'${k}'`) + .join( + '.' + )} ${E} from default-exporting module (only default export is available soon)` + ), + ] + } + break + } + } + serialize(k) { + const { write: v } = k + v(this.sourceOrder) + v(this.assertions) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.sourceOrder = v() + this.assertions = v() + super.deserialize(k) + } + } + k.exports = HarmonyImportDependency + const _e = new WeakMap() + HarmonyImportDependency.Template = class HarmonyImportDependencyTemplate extends ( + me.Template + ) { + apply(k, v, E) { + const R = k + const { module: L, chunkGraph: q, moduleGraph: me, runtime: ye } = E + const Ie = me.getConnection(R) + if (Ie && !Ie.isTargetActive(ye)) return + const Me = Ie && Ie.module + if (Ie && Ie.weak && Me && q.getModuleId(Me) === null) { + return + } + const Te = Me ? Me.identifier() : R.request + const je = `harmony import ${Te}` + const Ne = R.weak + ? false + : Ie + ? le(ye, (k) => Ie.isTargetActive(k)) + : true + if (L && Me) { + let k = _e.get(L) + if (k === undefined) { + k = new WeakMap() + _e.set(L, k) + } + let v = Ne + const E = k.get(Me) || false + if (E !== false && v !== true) { + if (v === false || E === true) { + v = E + } else { + v = pe(E, v) + } + } + k.set(Me, v) + } + const Be = R.getImportStatement(false, E) + if (Me && E.moduleGraph.isAsync(Me)) { + E.initFragments.push( + new P(Be[0], N.STAGE_HARMONY_IMPORTS, R.sourceOrder, je, Ne) + ) + E.initFragments.push( + new ae(new Set([R.getImportVar(E.moduleGraph)])) + ) + E.initFragments.push( + new P( + Be[1], + N.STAGE_ASYNC_HARMONY_IMPORTS, + R.sourceOrder, + je + ' compat', + Ne + ) + ) + } else { + E.initFragments.push( + new P( + Be[0] + Be[1], + N.STAGE_HARMONY_IMPORTS, + R.sourceOrder, + je, + Ne + ) + ) + } + } + static getImportEmittedRuntime(k, v) { + const E = _e.get(k) + if (E === undefined) return false + return E.get(v) || false + } + } + k.exports.ExportPresenceModes = ye + }, + 57737: function (k, v, E) { + 'use strict' + const P = E(29898) + const R = E(88926) + const L = E(60381) + const N = E(95077) + const q = E(46325) + const ae = E(5107) + const le = E(71803) + const { ExportPresenceModes: pe } = E(69184) + const me = E(59398) + const ye = E(56390) + const _e = Symbol('harmony import') + function getAssertions(k) { + const v = k.assertions + if (v === undefined) { + return undefined + } + const E = {} + for (const k of v) { + const v = k.key.type === 'Identifier' ? k.key.name : k.key.value + E[v] = k.value.value + } + return E + } + k.exports = class HarmonyImportDependencyParserPlugin { + constructor(k) { + this.exportPresenceMode = + k.importExportsPresence !== undefined + ? pe.fromUserOption(k.importExportsPresence) + : k.exportsPresence !== undefined + ? pe.fromUserOption(k.exportsPresence) + : k.strictExportPresence + ? pe.ERROR + : pe.AUTO + this.strictThisContextOnImports = k.strictThisContextOnImports + } + apply(k) { + const { exportPresenceMode: v } = this + function getNonOptionalPart(k, v) { + let E = 0 + while (E < k.length && v[E] === false) E++ + return E !== k.length ? k.slice(0, E) : k + } + function getNonOptionalMemberChain(k, v) { + while (v--) k = k.object + return k + } + k.hooks.isPure + .for('Identifier') + .tap('HarmonyImportDependencyParserPlugin', (v) => { + const E = v + if (k.isVariableDefined(E.name) || k.getTagData(E.name, _e)) { + return true + } + }) + k.hooks.import.tap('HarmonyImportDependencyParserPlugin', (v, E) => { + k.state.lastHarmonyImportOrder = + (k.state.lastHarmonyImportOrder || 0) + 1 + const P = new L(k.isAsiPosition(v.range[0]) ? ';' : '', v.range) + P.loc = v.loc + k.state.module.addPresentationalDependency(P) + k.unsetAsiPosition(v.range[1]) + const R = getAssertions(v) + const N = new me(E, k.state.lastHarmonyImportOrder, R) + N.loc = v.loc + k.state.module.addDependency(N) + return true + }) + k.hooks.importSpecifier.tap( + 'HarmonyImportDependencyParserPlugin', + (v, E, P, R) => { + const L = P === null ? [] : [P] + k.tagVariable(R, _e, { + name: R, + source: E, + ids: L, + sourceOrder: k.state.lastHarmonyImportOrder, + assertions: getAssertions(v), + }) + return true + } + ) + k.hooks.binaryExpression.tap( + 'HarmonyImportDependencyParserPlugin', + (v) => { + if (v.operator !== 'in') return + const E = k.evaluateExpression(v.left) + if (E.couldHaveSideEffects()) return + const P = E.asString() + if (!P) return + const L = k.evaluateExpression(v.right) + if (!L.isIdentifier()) return + const N = L.rootInfo + if ( + typeof N === 'string' || + !N || + !N.tagInfo || + N.tagInfo.tag !== _e + ) + return + const q = N.tagInfo.data + const le = L.getMembers() + const pe = new ae( + q.source, + q.sourceOrder, + q.ids.concat(le).concat([P]), + q.name, + v.range, + q.assertions, + 'in' + ) + pe.directImport = le.length === 0 + pe.asiSafe = !k.isAsiPosition(v.range[0]) + pe.loc = v.loc + k.state.module.addDependency(pe) + R.onUsage(k.state, (k) => (pe.usedByExports = k)) + return true + } + ) + k.hooks.expression + .for(_e) + .tap('HarmonyImportDependencyParserPlugin', (E) => { + const P = k.currentTagData + const L = new ye( + P.source, + P.sourceOrder, + P.ids, + P.name, + E.range, + v, + P.assertions, + [] + ) + L.referencedPropertiesInDestructuring = + k.destructuringAssignmentPropertiesFor(E) + L.shorthand = k.scope.inShorthand + L.directImport = true + L.asiSafe = !k.isAsiPosition(E.range[0]) + L.loc = E.loc + k.state.module.addDependency(L) + R.onUsage(k.state, (k) => (L.usedByExports = k)) + return true + }) + k.hooks.expressionMemberChain + .for(_e) + .tap('HarmonyImportDependencyParserPlugin', (E, P, L, N) => { + const q = k.currentTagData + const ae = getNonOptionalPart(P, L) + const le = N.slice(0, N.length - (P.length - ae.length)) + const pe = + ae !== P + ? getNonOptionalMemberChain(E, P.length - ae.length) + : E + const me = q.ids.concat(ae) + const _e = new ye( + q.source, + q.sourceOrder, + me, + q.name, + pe.range, + v, + q.assertions, + le + ) + _e.referencedPropertiesInDestructuring = + k.destructuringAssignmentPropertiesFor(pe) + _e.asiSafe = !k.isAsiPosition(pe.range[0]) + _e.loc = pe.loc + k.state.module.addDependency(_e) + R.onUsage(k.state, (k) => (_e.usedByExports = k)) + return true + }) + k.hooks.callMemberChain + .for(_e) + .tap('HarmonyImportDependencyParserPlugin', (E, P, L, N) => { + const { arguments: q, callee: ae } = E + const le = k.currentTagData + const pe = getNonOptionalPart(P, L) + const me = N.slice(0, N.length - (P.length - pe.length)) + const _e = + pe !== P + ? getNonOptionalMemberChain(ae, P.length - pe.length) + : ae + const Ie = le.ids.concat(pe) + const Me = new ye( + le.source, + le.sourceOrder, + Ie, + le.name, + _e.range, + v, + le.assertions, + me + ) + Me.directImport = P.length === 0 + Me.call = true + Me.asiSafe = !k.isAsiPosition(_e.range[0]) + Me.namespaceObjectAsContext = + P.length > 0 && this.strictThisContextOnImports + Me.loc = _e.loc + k.state.module.addDependency(Me) + if (q) k.walkExpressions(q) + R.onUsage(k.state, (k) => (Me.usedByExports = k)) + return true + }) + const { hotAcceptCallback: E, hotAcceptWithoutCallback: pe } = + P.getParserHooks(k) + E.tap('HarmonyImportDependencyParserPlugin', (v, E) => { + if (!le.isEnabled(k.state)) { + return + } + const P = E.map((E) => { + const P = new q(E) + P.loc = v.loc + k.state.module.addDependency(P) + return P + }) + if (P.length > 0) { + const E = new N(v.range, P, true) + E.loc = v.loc + k.state.module.addDependency(E) + } + }) + pe.tap('HarmonyImportDependencyParserPlugin', (v, E) => { + if (!le.isEnabled(k.state)) { + return + } + const P = E.map((E) => { + const P = new q(E) + P.loc = v.loc + k.state.module.addDependency(P) + return P + }) + if (P.length > 0) { + const E = new N(v.range, P, false) + E.loc = v.loc + k.state.module.addDependency(E) + } + }) + } + } + k.exports.harmonySpecifierTag = _e + k.exports.getAssertions = getAssertions + }, + 59398: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(69184) + class HarmonyImportSideEffectDependency extends R { + constructor(k, v, E) { + super(k, v, E) + } + get type() { + return 'harmony side effect evaluation' + } + getCondition(k) { + return (v) => { + const E = v.resolvedModule + if (!E) return true + return E.getSideEffectsConnectionState(k) + } + } + getModuleEvaluationSideEffectsState(k) { + const v = k.getModule(this) + if (!v) return true + return v.getSideEffectsConnectionState(k) + } + } + P( + HarmonyImportSideEffectDependency, + 'webpack/lib/dependencies/HarmonyImportSideEffectDependency' + ) + HarmonyImportSideEffectDependency.Template = class HarmonyImportSideEffectDependencyTemplate extends ( + R.Template + ) { + apply(k, v, E) { + const { moduleGraph: P, concatenationScope: R } = E + if (R) { + const v = P.getModule(k) + if (R.isModuleInScope(v)) { + return + } + } + super.apply(k, v, E) + } + } + k.exports = HarmonyImportSideEffectDependency + }, + 56390: function (k, v, E) { + 'use strict' + const P = E(16848) + const { getDependencyUsedByExportsCondition: R } = E(88926) + const L = E(58528) + const N = E(10720) + const q = E(69184) + const ae = Symbol('HarmonyImportSpecifierDependency.ids') + const { ExportPresenceModes: le } = q + class HarmonyImportSpecifierDependency extends q { + constructor(k, v, E, P, R, L, N, q) { + super(k, v, N) + this.ids = E + this.name = P + this.range = R + this.idRanges = q + this.exportPresenceMode = L + this.namespaceObjectAsContext = false + this.call = undefined + this.directImport = undefined + this.shorthand = undefined + this.asiSafe = undefined + this.usedByExports = undefined + this.referencedPropertiesInDestructuring = 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(k) { + const v = k.getMetaIfExisting(this) + if (v === undefined) return this.ids + const E = v[ae] + return E !== undefined ? E : this.ids + } + setIds(k, v) { + k.getMeta(this)[ae] = v + } + getCondition(k) { + return R(this, this.usedByExports, k) + } + getModuleEvaluationSideEffectsState(k) { + return false + } + getReferencedExports(k, v) { + let E = this.getIds(k) + if (E.length === 0) return this._getReferencedExportsInDestructuring() + let R = this.namespaceObjectAsContext + if (E[0] === 'default') { + const v = k.getParentModule(this) + const L = k.getModule(this) + switch (L.getExportsType(k, v.buildMeta.strictHarmonyModule)) { + case 'default-only': + case 'default-with-named': + if (E.length === 1) + return this._getReferencedExportsInDestructuring() + E = E.slice(1) + R = true + break + case 'dynamic': + return P.EXPORTS_OBJECT_REFERENCED + } + } + if (this.call && !this.directImport && (R || E.length > 1)) { + if (E.length === 1) return P.EXPORTS_OBJECT_REFERENCED + E = E.slice(0, -1) + } + return this._getReferencedExportsInDestructuring(E) + } + _getReferencedExportsInDestructuring(k) { + if (this.referencedPropertiesInDestructuring) { + const v = [] + for (const E of this.referencedPropertiesInDestructuring) { + v.push({ name: k ? k.concat([E]) : [E], canMangle: false }) + } + return v + } else { + return k ? [k] : P.EXPORTS_OBJECT_REFERENCED + } + } + _getEffectiveExportPresenceLevel(k) { + if (this.exportPresenceMode !== le.AUTO) + return this.exportPresenceMode + return k.getParentModule(this).buildMeta.strictHarmonyModule + ? le.ERROR + : le.WARN + } + getWarnings(k) { + const v = this._getEffectiveExportPresenceLevel(k) + if (v === le.WARN) { + return this._getErrors(k) + } + return null + } + getErrors(k) { + const v = this._getEffectiveExportPresenceLevel(k) + if (v === le.ERROR) { + return this._getErrors(k) + } + return null + } + _getErrors(k) { + const v = this.getIds(k) + return this.getLinkingErrors(k, v, `(imported as '${this.name}')`) + } + getNumberOfIdOccurrences() { + return 0 + } + serialize(k) { + const { write: v } = k + v(this.ids) + v(this.name) + v(this.range) + v(this.idRanges) + v(this.exportPresenceMode) + v(this.namespaceObjectAsContext) + v(this.call) + v(this.directImport) + v(this.shorthand) + v(this.asiSafe) + v(this.usedByExports) + v(this.referencedPropertiesInDestructuring) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.ids = v() + this.name = v() + this.range = v() + this.idRanges = v() + this.exportPresenceMode = v() + this.namespaceObjectAsContext = v() + this.call = v() + this.directImport = v() + this.shorthand = v() + this.asiSafe = v() + this.usedByExports = v() + this.referencedPropertiesInDestructuring = v() + super.deserialize(k) + } + } + L( + HarmonyImportSpecifierDependency, + 'webpack/lib/dependencies/HarmonyImportSpecifierDependency' + ) + HarmonyImportSpecifierDependency.Template = class HarmonyImportSpecifierDependencyTemplate extends ( + q.Template + ) { + apply(k, v, E) { + const P = k + const { moduleGraph: R, runtime: L } = E + const N = R.getConnection(P) + if (N && !N.isTargetActive(L)) return + const q = P.getIds(R) + let ae = this._trimIdsToThoseImported(q, R, P) + let [le, pe] = P.range + if (ae.length !== q.length) { + const k = + P.idRanges === undefined + ? -1 + : P.idRanges.length + (ae.length - q.length) + if (k < 0 || k >= P.idRanges.length) { + ae = q + } else { + ;[le, pe] = P.idRanges[k] + } + } + const me = this._getCodeForIds(P, v, E, ae) + if (P.shorthand) { + v.insert(pe, `: ${me}`) + } else { + v.replace(le, pe - 1, me) + } + } + _trimIdsToThoseImported(k, v, E) { + let P = [] + const R = v.getExportsInfo(v.getModule(E)) + let L = R + for (let v = 0; v < k.length; v++) { + if (v === 0 && k[v] === 'default') { + continue + } + const E = L.getExportInfo(k[v]) + if (E.provided === false) { + P = k.slice(0, v) + break + } + const R = E.getNestedExportsInfo() + if (!R) { + P = k.slice(0, v + 1) + break + } + L = R + } + return P.length ? P : k + } + _getCodeForIds(k, v, E, P) { + const { + moduleGraph: R, + module: L, + runtime: q, + concatenationScope: ae, + } = E + const le = R.getConnection(k) + let pe + if (le && ae && ae.isModuleInScope(le.module)) { + if (P.length === 0) { + pe = ae.createModuleReference(le.module, { asiSafe: k.asiSafe }) + } else if (k.namespaceObjectAsContext && P.length === 1) { + pe = + ae.createModuleReference(le.module, { asiSafe: k.asiSafe }) + + N(P) + } else { + pe = ae.createModuleReference(le.module, { + ids: P, + call: k.call, + directImport: k.directImport, + asiSafe: k.asiSafe, + }) + } + } else { + super.apply(k, v, E) + const { + runtimeTemplate: N, + initFragments: ae, + runtimeRequirements: le, + } = E + pe = N.exportFromImport({ + moduleGraph: R, + module: R.getModule(k), + request: k.request, + exportName: P, + originModule: L, + asiSafe: k.shorthand ? true : k.asiSafe, + isCall: k.call, + callContext: !k.directImport, + defaultInterop: true, + importVar: k.getImportVar(R), + initFragments: ae, + runtime: q, + runtimeRequirements: le, + }) + } + return pe + } + } + k.exports = HarmonyImportSpecifierDependency + }, + 64476: function (k, v, E) { + 'use strict' + const P = E(95077) + const R = E(46325) + const L = E(2075) + const N = E(5107) + const q = E(33579) + const ae = E(66057) + const le = E(44827) + const pe = E(95040) + const me = E(59398) + const ye = E(56390) + const { + JAVASCRIPT_MODULE_TYPE_AUTO: _e, + JAVASCRIPT_MODULE_TYPE_ESM: Ie, + } = E(93622) + const Me = E(23144) + const Te = E(33866) + const je = E(57737) + const Ne = E(37848) + const Be = 'HarmonyModulesPlugin' + class HarmonyModulesPlugin { + constructor(k) { + this.options = k + } + apply(k) { + k.hooks.compilation.tap(Be, (k, { normalModuleFactory: v }) => { + k.dependencyTemplates.set(L, new L.Template()) + k.dependencyFactories.set(me, v) + k.dependencyTemplates.set(me, new me.Template()) + k.dependencyFactories.set(ye, v) + k.dependencyTemplates.set(ye, new ye.Template()) + k.dependencyFactories.set(N, v) + k.dependencyTemplates.set(N, new N.Template()) + k.dependencyTemplates.set(ae, new ae.Template()) + k.dependencyTemplates.set(q, new q.Template()) + k.dependencyTemplates.set(pe, new pe.Template()) + k.dependencyFactories.set(le, v) + k.dependencyTemplates.set(le, new le.Template()) + k.dependencyTemplates.set(P, new P.Template()) + k.dependencyFactories.set(R, v) + k.dependencyTemplates.set(R, new R.Template()) + const handler = (k, v) => { + if (v.harmony !== undefined && !v.harmony) return + new Me(this.options).apply(k) + new je(v).apply(k) + new Te(v).apply(k) + new Ne().apply(k) + } + v.hooks.parser.for(_e).tap(Be, handler) + v.hooks.parser.for(Ie).tap(Be, handler) + }) + } + } + k.exports = HarmonyModulesPlugin + }, + 37848: function (k, v, E) { + 'use strict' + const P = E(60381) + const R = E(71803) + class HarmonyTopLevelThisParserPlugin { + apply(k) { + k.hooks.expression + .for('this') + .tap('HarmonyTopLevelThisParserPlugin', (v) => { + if (!k.scope.topLevelScope) return + if (R.isEnabled(k.state)) { + const E = new P('undefined', v.range, null) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + return this + } + }) + } + } + k.exports = HarmonyTopLevelThisParserPlugin + }, + 94722: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(51395) + const L = E(64077) + class ImportContextDependency extends R { + constructor(k, v, E) { + super(k) + this.range = v + this.valueRange = E + } + get type() { + return `import() context ${this.options.mode}` + } + get category() { + return 'esm' + } + serialize(k) { + const { write: v } = k + v(this.valueRange) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.valueRange = v() + super.deserialize(k) + } + } + P( + ImportContextDependency, + 'webpack/lib/dependencies/ImportContextDependency' + ) + ImportContextDependency.Template = L + k.exports = ImportContextDependency + }, + 75516: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(58528) + const L = E(77373) + class ImportDependency extends L { + constructor(k, v, E) { + super(k) + this.range = v + this.referencedExports = E + } + get type() { + return 'import()' + } + get category() { + return 'esm' + } + getReferencedExports(k, v) { + return this.referencedExports + ? this.referencedExports.map((k) => ({ name: k, canMangle: false })) + : P.EXPORTS_OBJECT_REFERENCED + } + serialize(k) { + k.write(this.range) + k.write(this.referencedExports) + super.serialize(k) + } + deserialize(k) { + this.range = k.read() + this.referencedExports = k.read() + super.deserialize(k) + } + } + R(ImportDependency, 'webpack/lib/dependencies/ImportDependency') + ImportDependency.Template = class ImportDependencyTemplate extends ( + L.Template + ) { + apply( + k, + v, + { + runtimeTemplate: E, + module: P, + moduleGraph: R, + chunkGraph: L, + runtimeRequirements: N, + } + ) { + const q = k + const ae = R.getParentBlock(q) + const le = E.moduleNamespacePromise({ + chunkGraph: L, + block: ae, + module: R.getModule(q), + request: q.request, + strict: P.buildMeta.strictHarmonyModule, + message: 'import()', + runtimeRequirements: N, + }) + v.replace(q.range[0], q.range[1] - 1, le) + } + } + k.exports = ImportDependency + }, + 72073: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(75516) + class ImportEagerDependency extends R { + constructor(k, v, E) { + super(k, v, E) + } + get type() { + return 'import() eager' + } + get category() { + return 'esm' + } + } + P(ImportEagerDependency, 'webpack/lib/dependencies/ImportEagerDependency') + ImportEagerDependency.Template = class ImportEagerDependencyTemplate extends ( + R.Template + ) { + apply( + k, + v, + { + runtimeTemplate: E, + module: P, + moduleGraph: R, + chunkGraph: L, + runtimeRequirements: N, + } + ) { + const q = k + const ae = E.moduleNamespacePromise({ + chunkGraph: L, + module: R.getModule(q), + request: q.request, + strict: P.buildMeta.strictHarmonyModule, + message: 'import() eager', + runtimeRequirements: N, + }) + v.replace(q.range[0], q.range[1] - 1, ae) + } + } + k.exports = ImportEagerDependency + }, + 91194: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(51395) + const L = E(29729) + class ImportMetaContextDependency extends R { + constructor(k, v) { + super(k) + this.range = v + } + get category() { + return 'esm' + } + get type() { + return `import.meta.webpackContext ${this.options.mode}` + } + } + P( + ImportMetaContextDependency, + 'webpack/lib/dependencies/ImportMetaContextDependency' + ) + ImportMetaContextDependency.Template = L + k.exports = ImportMetaContextDependency + }, + 28394: function (k, v, E) { + 'use strict' + const P = E(71572) + const { evaluateToIdentifier: R } = E(80784) + const L = E(91194) + function createPropertyParseError(k, v) { + return createError( + `Parsing import.meta.webpackContext options failed. Unknown value for property ${JSON.stringify( + k.key.name + )}, expected type ${v}.`, + k.value.loc + ) + } + function createError(k, v) { + const E = new P(k) + E.name = 'ImportMetaContextError' + E.loc = v + return E + } + k.exports = class ImportMetaContextDependencyParserPlugin { + apply(k) { + k.hooks.evaluateIdentifier + .for('import.meta.webpackContext') + .tap('ImportMetaContextDependencyParserPlugin', (k) => + R( + 'import.meta.webpackContext', + 'import.meta', + () => ['webpackContext'], + true + )(k) + ) + k.hooks.call + .for('import.meta.webpackContext') + .tap('ImportMetaContextDependencyParserPlugin', (v) => { + if (v.arguments.length < 1 || v.arguments.length > 2) return + const [E, P] = v.arguments + if (P && P.type !== 'ObjectExpression') return + const R = k.evaluateExpression(E) + if (!R.isString()) return + const N = R.string + const q = [] + let ae = /^\.\/.*$/ + let le = true + let pe = 'sync' + let me + let ye + const _e = {} + let Ie + let Me + if (P) { + for (const v of P.properties) { + if (v.type !== 'Property' || v.key.type !== 'Identifier') { + q.push( + createError( + 'Parsing import.meta.webpackContext options failed.', + P.loc + ) + ) + break + } + switch (v.key.name) { + case 'regExp': { + const E = k.evaluateExpression(v.value) + if (!E.isRegExp()) { + q.push(createPropertyParseError(v, 'RegExp')) + } else { + ae = E.regExp + } + break + } + case 'include': { + const E = k.evaluateExpression(v.value) + if (!E.isRegExp()) { + q.push(createPropertyParseError(v, 'RegExp')) + } else { + me = E.regExp + } + break + } + case 'exclude': { + const E = k.evaluateExpression(v.value) + if (!E.isRegExp()) { + q.push(createPropertyParseError(v, 'RegExp')) + } else { + ye = E.regExp + } + break + } + case 'mode': { + const E = k.evaluateExpression(v.value) + if (!E.isString()) { + q.push(createPropertyParseError(v, 'string')) + } else { + pe = E.string + } + break + } + case 'chunkName': { + const E = k.evaluateExpression(v.value) + if (!E.isString()) { + q.push(createPropertyParseError(v, 'string')) + } else { + Ie = E.string + } + break + } + case 'exports': { + const E = k.evaluateExpression(v.value) + if (E.isString()) { + Me = [[E.string]] + } else if (E.isArray()) { + const k = E.items + if ( + k.every((k) => { + if (!k.isArray()) return false + const v = k.items + return v.every((k) => k.isString()) + }) + ) { + Me = [] + for (const v of k) { + const k = [] + for (const E of v.items) { + k.push(E.string) + } + Me.push(k) + } + } else { + q.push( + createPropertyParseError(v, 'string|string[][]') + ) + } + } else { + q.push(createPropertyParseError(v, 'string|string[][]')) + } + break + } + case 'prefetch': { + const E = k.evaluateExpression(v.value) + if (E.isBoolean()) { + _e.prefetchOrder = 0 + } else if (E.isNumber()) { + _e.prefetchOrder = E.number + } else { + q.push(createPropertyParseError(v, 'boolean|number')) + } + break + } + case 'preload': { + const E = k.evaluateExpression(v.value) + if (E.isBoolean()) { + _e.preloadOrder = 0 + } else if (E.isNumber()) { + _e.preloadOrder = E.number + } else { + q.push(createPropertyParseError(v, 'boolean|number')) + } + break + } + case 'recursive': { + const E = k.evaluateExpression(v.value) + if (!E.isBoolean()) { + q.push(createPropertyParseError(v, 'boolean')) + } else { + le = E.bool + } + break + } + default: + q.push( + createError( + `Parsing import.meta.webpackContext options failed. Unknown property ${JSON.stringify( + v.key.name + )}.`, + P.loc + ) + ) + } + } + } + if (q.length) { + for (const v of q) k.state.current.addError(v) + return + } + const Te = new L( + { + request: N, + include: me, + exclude: ye, + recursive: le, + regExp: ae, + groupOptions: _e, + chunkName: Ie, + referencedExports: Me, + mode: pe, + category: 'esm', + }, + v.range + ) + Te.loc = v.loc + Te.optional = !!k.scope.inTry + k.state.current.addDependency(Te) + return true + }) + } + } + }, + 96090: function (k, v, E) { + 'use strict' + const { JAVASCRIPT_MODULE_TYPE_AUTO: P, JAVASCRIPT_MODULE_TYPE_ESM: R } = + E(93622) + const L = E(16624) + const N = E(91194) + const q = E(28394) + const ae = 'ImportMetaContextPlugin' + class ImportMetaContextPlugin { + apply(k) { + k.hooks.compilation.tap( + ae, + (k, { contextModuleFactory: v, normalModuleFactory: E }) => { + k.dependencyFactories.set(N, v) + k.dependencyTemplates.set(N, new N.Template()) + k.dependencyFactories.set(L, E) + const handler = (k, v) => { + if (v.importMetaContext !== undefined && !v.importMetaContext) + return + new q().apply(k) + } + E.hooks.parser.for(P).tap(ae, handler) + E.hooks.parser.for(R).tap(ae, handler) + } + ) + } + } + k.exports = ImportMetaContextPlugin + }, + 40867: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(77373) + const L = E(3312) + class ImportMetaHotAcceptDependency extends R { + constructor(k, v) { + super(k) + this.range = v + this.weak = true + } + get type() { + return 'import.meta.webpackHot.accept' + } + get category() { + return 'esm' + } + } + P( + ImportMetaHotAcceptDependency, + 'webpack/lib/dependencies/ImportMetaHotAcceptDependency' + ) + ImportMetaHotAcceptDependency.Template = L + k.exports = ImportMetaHotAcceptDependency + }, + 83894: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(77373) + const L = E(3312) + class ImportMetaHotDeclineDependency extends R { + constructor(k, v) { + super(k) + this.range = v + this.weak = true + } + get type() { + return 'import.meta.webpackHot.decline' + } + get category() { + return 'esm' + } + } + P( + ImportMetaHotDeclineDependency, + 'webpack/lib/dependencies/ImportMetaHotDeclineDependency' + ) + ImportMetaHotDeclineDependency.Template = L + k.exports = ImportMetaHotDeclineDependency + }, + 31615: function (k, v, E) { + 'use strict' + const { pathToFileURL: P } = E(57310) + const R = E(84018) + const { JAVASCRIPT_MODULE_TYPE_AUTO: L, JAVASCRIPT_MODULE_TYPE_ESM: N } = + E(93622) + const q = E(95041) + const ae = E(70037) + const { + evaluateToIdentifier: le, + toConstantDependency: pe, + evaluateToString: me, + evaluateToNumber: ye, + } = E(80784) + const _e = E(20631) + const Ie = E(10720) + const Me = E(60381) + const Te = _e(() => E(43418)) + const je = 'ImportMetaPlugin' + class ImportMetaPlugin { + apply(k) { + k.hooks.compilation.tap(je, (k, { normalModuleFactory: v }) => { + const getUrl = (k) => P(k.resource).toString() + const parserHandler = (v, { importMeta: P }) => { + if (P === false) { + const { importMetaName: E } = k.outputOptions + if (E === 'import.meta') return + v.hooks.expression.for('import.meta').tap(je, (k) => { + const P = new Me(E, k.range) + P.loc = k.loc + v.state.module.addPresentationalDependency(P) + return true + }) + return + } + const L = parseInt(E(35479).i8, 10) + const importMetaUrl = () => JSON.stringify(getUrl(v.state.module)) + const importMetaWebpackVersion = () => JSON.stringify(L) + const importMetaUnknownProperty = (k) => + `${q.toNormalComment( + 'unsupported import.meta.' + k.join('.') + )} undefined${Ie(k, 1)}` + v.hooks.typeof + .for('import.meta') + .tap(je, pe(v, JSON.stringify('object'))) + v.hooks.expression.for('import.meta').tap(je, (k) => { + const E = v.destructuringAssignmentPropertiesFor(k) + if (!E) { + const E = Te() + v.state.module.addWarning( + new R( + v.state.module, + new E( + 'Accessing import.meta directly is unsupported (only property access or destructuring is supported)' + ), + k.loc + ) + ) + const P = new Me( + `${v.isAsiPosition(k.range[0]) ? ';' : ''}({})`, + k.range + ) + P.loc = k.loc + v.state.module.addPresentationalDependency(P) + return true + } + let P = '' + for (const k of E) { + switch (k) { + case 'url': + P += `url: ${importMetaUrl()},` + break + case 'webpack': + P += `webpack: ${importMetaWebpackVersion()},` + break + default: + P += `[${JSON.stringify(k)}]: ${importMetaUnknownProperty( + [k] + )},` + break + } + } + const L = new Me(`({${P}})`, k.range) + L.loc = k.loc + v.state.module.addPresentationalDependency(L) + return true + }) + v.hooks.evaluateTypeof.for('import.meta').tap(je, me('object')) + v.hooks.evaluateIdentifier.for('import.meta').tap( + je, + le('import.meta', 'import.meta', () => [], true) + ) + v.hooks.typeof + .for('import.meta.url') + .tap(je, pe(v, JSON.stringify('string'))) + v.hooks.expression.for('import.meta.url').tap(je, (k) => { + const E = new Me(importMetaUrl(), k.range) + E.loc = k.loc + v.state.module.addPresentationalDependency(E) + return true + }) + v.hooks.evaluateTypeof + .for('import.meta.url') + .tap(je, me('string')) + v.hooks.evaluateIdentifier + .for('import.meta.url') + .tap(je, (k) => + new ae().setString(getUrl(v.state.module)).setRange(k.range) + ) + v.hooks.typeof + .for('import.meta.webpack') + .tap(je, pe(v, JSON.stringify('number'))) + v.hooks.expression + .for('import.meta.webpack') + .tap(je, pe(v, importMetaWebpackVersion())) + v.hooks.evaluateTypeof + .for('import.meta.webpack') + .tap(je, me('number')) + v.hooks.evaluateIdentifier + .for('import.meta.webpack') + .tap(je, ye(L)) + v.hooks.unhandledExpressionMemberChain + .for('import.meta') + .tap(je, (k, E) => { + const P = new Me(importMetaUnknownProperty(E), k.range) + P.loc = k.loc + v.state.module.addPresentationalDependency(P) + return true + }) + v.hooks.evaluate.for('MemberExpression').tap(je, (k) => { + const v = k + if ( + v.object.type === 'MetaProperty' && + v.object.meta.name === 'import' && + v.object.property.name === 'meta' && + v.property.type === (v.computed ? 'Literal' : 'Identifier') + ) { + return new ae().setUndefined().setRange(v.range) + } + }) + } + v.hooks.parser.for(L).tap(je, parserHandler) + v.hooks.parser.for(N).tap(je, parserHandler) + }) + } + } + k.exports = ImportMetaPlugin + }, + 89825: function (k, v, E) { + 'use strict' + const P = E(75081) + const R = E(68160) + const L = E(9415) + const N = E(25012) + const q = E(94722) + const ae = E(75516) + const le = E(72073) + const pe = E(82591) + class ImportParserPlugin { + constructor(k) { + this.options = k + } + apply(k) { + const exportsFromEnumerable = (k) => Array.from(k, (k) => [k]) + k.hooks.importCall.tap('ImportParserPlugin', (v) => { + const E = k.evaluateExpression(v.source) + let me = null + let ye = this.options.dynamicImportMode + let _e = null + let Ie = null + let Me = null + const Te = {} + const { dynamicImportPreload: je, dynamicImportPrefetch: Ne } = + this.options + if (je !== undefined && je !== false) + Te.preloadOrder = je === true ? 0 : je + if (Ne !== undefined && Ne !== false) + Te.prefetchOrder = Ne === true ? 0 : Ne + const { options: Be, errors: qe } = k.parseCommentOptions(v.range) + if (qe) { + for (const v of qe) { + const { comment: E } = v + k.state.module.addWarning( + new R( + `Compilation error while processing magic comment(-s): /*${E.value}*/: ${v.message}`, + E.loc + ) + ) + } + } + if (Be) { + if (Be.webpackIgnore !== undefined) { + if (typeof Be.webpackIgnore !== 'boolean') { + k.state.module.addWarning( + new L( + `\`webpackIgnore\` expected a boolean, but received: ${Be.webpackIgnore}.`, + v.loc + ) + ) + } else { + if (Be.webpackIgnore) { + return false + } + } + } + if (Be.webpackChunkName !== undefined) { + if (typeof Be.webpackChunkName !== 'string') { + k.state.module.addWarning( + new L( + `\`webpackChunkName\` expected a string, but received: ${Be.webpackChunkName}.`, + v.loc + ) + ) + } else { + me = Be.webpackChunkName + } + } + if (Be.webpackMode !== undefined) { + if (typeof Be.webpackMode !== 'string') { + k.state.module.addWarning( + new L( + `\`webpackMode\` expected a string, but received: ${Be.webpackMode}.`, + v.loc + ) + ) + } else { + ye = Be.webpackMode + } + } + if (Be.webpackPrefetch !== undefined) { + if (Be.webpackPrefetch === true) { + Te.prefetchOrder = 0 + } else if (typeof Be.webpackPrefetch === 'number') { + Te.prefetchOrder = Be.webpackPrefetch + } else { + k.state.module.addWarning( + new L( + `\`webpackPrefetch\` expected true or a number, but received: ${Be.webpackPrefetch}.`, + v.loc + ) + ) + } + } + if (Be.webpackPreload !== undefined) { + if (Be.webpackPreload === true) { + Te.preloadOrder = 0 + } else if (typeof Be.webpackPreload === 'number') { + Te.preloadOrder = Be.webpackPreload + } else { + k.state.module.addWarning( + new L( + `\`webpackPreload\` expected true or a number, but received: ${Be.webpackPreload}.`, + v.loc + ) + ) + } + } + if (Be.webpackInclude !== undefined) { + if ( + !Be.webpackInclude || + !(Be.webpackInclude instanceof RegExp) + ) { + k.state.module.addWarning( + new L( + `\`webpackInclude\` expected a regular expression, but received: ${Be.webpackInclude}.`, + v.loc + ) + ) + } else { + _e = Be.webpackInclude + } + } + if (Be.webpackExclude !== undefined) { + if ( + !Be.webpackExclude || + !(Be.webpackExclude instanceof RegExp) + ) { + k.state.module.addWarning( + new L( + `\`webpackExclude\` expected a regular expression, but received: ${Be.webpackExclude}.`, + v.loc + ) + ) + } else { + Ie = Be.webpackExclude + } + } + if (Be.webpackExports !== undefined) { + if ( + !( + typeof Be.webpackExports === 'string' || + (Array.isArray(Be.webpackExports) && + Be.webpackExports.every((k) => typeof k === 'string')) + ) + ) { + k.state.module.addWarning( + new L( + `\`webpackExports\` expected a string or an array of strings, but received: ${Be.webpackExports}.`, + v.loc + ) + ) + } else { + if (typeof Be.webpackExports === 'string') { + Me = [[Be.webpackExports]] + } else { + Me = exportsFromEnumerable(Be.webpackExports) + } + } + } + } + if ( + ye !== 'lazy' && + ye !== 'lazy-once' && + ye !== 'eager' && + ye !== 'weak' + ) { + k.state.module.addWarning( + new L( + `\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${ye}.`, + v.loc + ) + ) + ye = 'lazy' + } + const Ue = k.destructuringAssignmentPropertiesFor(v) + if (Ue) { + if (Me) { + k.state.module.addWarning( + new L( + `\`webpackExports\` could not be used with destructuring assignment.`, + v.loc + ) + ) + } + Me = exportsFromEnumerable(Ue) + } + if (E.isString()) { + if (ye === 'eager') { + const P = new le(E.string, v.range, Me) + k.state.current.addDependency(P) + } else if (ye === 'weak') { + const P = new pe(E.string, v.range, Me) + k.state.current.addDependency(P) + } else { + const R = new P({ ...Te, name: me }, v.loc, E.string) + const L = new ae(E.string, v.range, Me) + L.loc = v.loc + R.addDependency(L) + k.state.current.addBlock(R) + } + return true + } else { + if (ye === 'weak') { + ye = 'async-weak' + } + const P = N.create( + q, + v.range, + E, + v, + this.options, + { + chunkName: me, + groupOptions: Te, + include: _e, + exclude: Ie, + mode: ye, + namespaceObject: k.state.module.buildMeta.strictHarmonyModule + ? 'strict' + : true, + typePrefix: 'import()', + category: 'esm', + referencedExports: Me, + }, + k + ) + if (!P) return + P.loc = v.loc + P.optional = !!k.scope.inTry + k.state.current.addDependency(P) + return true + } + }) + } + } + k.exports = ImportParserPlugin + }, + 3970: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, + JAVASCRIPT_MODULE_TYPE_ESM: L, + } = E(93622) + const N = E(94722) + const q = E(75516) + const ae = E(72073) + const le = E(89825) + const pe = E(82591) + const me = 'ImportPlugin' + class ImportPlugin { + apply(k) { + k.hooks.compilation.tap( + me, + (k, { contextModuleFactory: v, normalModuleFactory: E }) => { + k.dependencyFactories.set(q, E) + k.dependencyTemplates.set(q, new q.Template()) + k.dependencyFactories.set(ae, E) + k.dependencyTemplates.set(ae, new ae.Template()) + k.dependencyFactories.set(pe, E) + k.dependencyTemplates.set(pe, new pe.Template()) + k.dependencyFactories.set(N, v) + k.dependencyTemplates.set(N, new N.Template()) + const handler = (k, v) => { + if (v.import !== undefined && !v.import) return + new le(v).apply(k) + } + E.hooks.parser.for(P).tap(me, handler) + E.hooks.parser.for(R).tap(me, handler) + E.hooks.parser.for(L).tap(me, handler) + } + ) + } + } + k.exports = ImportPlugin + }, + 82591: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(75516) + class ImportWeakDependency extends R { + constructor(k, v, E) { + super(k, v, E) + this.weak = true + } + get type() { + return 'import() weak' + } + } + P(ImportWeakDependency, 'webpack/lib/dependencies/ImportWeakDependency') + ImportWeakDependency.Template = class ImportDependencyTemplate extends ( + R.Template + ) { + apply( + k, + v, + { + runtimeTemplate: E, + module: P, + moduleGraph: R, + chunkGraph: L, + runtimeRequirements: N, + } + ) { + const q = k + const ae = E.moduleNamespacePromise({ + chunkGraph: L, + module: R.getModule(q), + request: q.request, + strict: P.buildMeta.strictHarmonyModule, + message: 'import() weak', + weak: true, + runtimeRequirements: N, + }) + v.replace(q.range[0], q.range[1] - 1, ae) + } + } + k.exports = ImportWeakDependency + }, + 19179: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(53139) + const getExportsFromData = (k) => { + if (k && typeof k === 'object') { + if (Array.isArray(k)) { + return k.length < 100 + ? k.map((k, v) => ({ + name: `${v}`, + canMangle: true, + exports: getExportsFromData(k), + })) + : undefined + } else { + const v = [] + for (const E of Object.keys(k)) { + v.push({ + name: E, + canMangle: true, + exports: getExportsFromData(k[E]), + }) + } + return v + } + } + return undefined + } + class JsonExportsDependency extends R { + constructor(k) { + super() + this.data = k + } + get type() { + return 'json exports' + } + getExports(k) { + return { + exports: getExportsFromData(this.data && this.data.get()), + dependencies: undefined, + } + } + updateHash(k, v) { + this.data.updateHash(k) + } + serialize(k) { + const { write: v } = k + v(this.data) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.data = v() + super.deserialize(k) + } + } + P(JsonExportsDependency, 'webpack/lib/dependencies/JsonExportsDependency') + k.exports = JsonExportsDependency + }, + 74611: function (k, v, E) { + 'use strict' + const P = E(77373) + class LoaderDependency extends P { + constructor(k) { + super(k) + } + get type() { + return 'loader' + } + get category() { + return 'loader' + } + getCondition(k) { + return false + } + } + k.exports = LoaderDependency + }, + 89056: function (k, v, E) { + 'use strict' + const P = E(77373) + class LoaderImportDependency extends P { + constructor(k) { + super(k) + this.weak = true + } + get type() { + return 'loader import' + } + get category() { + return 'loaderImport' + } + getCondition(k) { + return false + } + } + k.exports = LoaderImportDependency + }, + 63733: function (k, v, E) { + 'use strict' + const P = E(38224) + const R = E(12359) + const L = E(74611) + const N = E(89056) + class LoaderPlugin { + constructor(k = {}) {} + apply(k) { + k.hooks.compilation.tap( + 'LoaderPlugin', + (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(L, v) + k.dependencyFactories.set(N, v) + } + ) + k.hooks.compilation.tap('LoaderPlugin', (k) => { + const v = k.moduleGraph + P.getCompilationHooks(k).loader.tap('LoaderPlugin', (E) => { + E.loadModule = (P, N) => { + const q = new L(P) + q.loc = { name: P } + const ae = k.dependencyFactories.get(q.constructor) + if (ae === undefined) { + return N( + new Error( + `No module factory available for dependency type: ${q.constructor.name}` + ) + ) + } + k.buildQueue.increaseParallelism() + k.handleModuleCreation( + { + factory: ae, + dependencies: [q], + originModule: E._module, + context: E.context, + recursive: false, + }, + (P) => { + k.buildQueue.decreaseParallelism() + if (P) { + return N(P) + } + const L = v.getModule(q) + if (!L) { + return N(new Error('Cannot load the module')) + } + if (L.getNumberOfErrors() > 0) { + return N(new Error('The loaded module contains errors')) + } + const ae = L.originalSource() + if (!ae) { + return N( + new Error( + 'The module created for a LoaderDependency must have an original source' + ) + ) + } + let le, pe + if (ae.sourceAndMap) { + const k = ae.sourceAndMap() + pe = k.map + le = k.source + } else { + pe = ae.map() + le = ae.source() + } + const me = new R() + const ye = new R() + const _e = new R() + const Ie = new R() + L.addCacheDependencies(me, ye, _e, Ie) + for (const k of me) { + E.addDependency(k) + } + for (const k of ye) { + E.addContextDependency(k) + } + for (const k of _e) { + E.addMissingDependency(k) + } + for (const k of Ie) { + E.addBuildDependency(k) + } + return N(null, le, pe, L) + } + ) + } + const importModule = (P, R, L) => { + const q = new N(P) + q.loc = { name: P } + const ae = k.dependencyFactories.get(q.constructor) + if (ae === undefined) { + return L( + new Error( + `No module factory available for dependency type: ${q.constructor.name}` + ) + ) + } + k.buildQueue.increaseParallelism() + k.handleModuleCreation( + { + factory: ae, + dependencies: [q], + originModule: E._module, + contextInfo: { issuerLayer: R.layer }, + context: E.context, + connectOrigin: false, + }, + (P) => { + k.buildQueue.decreaseParallelism() + if (P) { + return L(P) + } + const N = v.getModule(q) + if (!N) { + return L(new Error('Cannot load the module')) + } + k.executeModule( + N, + { + entryOptions: { + baseUri: R.baseUri, + publicPath: R.publicPath, + }, + }, + (k, v) => { + if (k) return L(k) + for (const k of v.fileDependencies) { + E.addDependency(k) + } + for (const k of v.contextDependencies) { + E.addContextDependency(k) + } + for (const k of v.missingDependencies) { + E.addMissingDependency(k) + } + for (const k of v.buildDependencies) { + E.addBuildDependency(k) + } + if (v.cacheable === false) E.cacheable(false) + for (const [k, { source: P, info: R }] of v.assets) { + const { buildInfo: v } = E._module + if (!v.assets) { + v.assets = Object.create(null) + v.assetsInfo = new Map() + } + v.assets[k] = P + v.assetsInfo.set(k, R) + } + L(null, v.exports) + } + ) + } + ) + } + E.importModule = (k, v, E) => { + if (!E) { + return new Promise((E, P) => { + importModule(k, v || {}, (k, v) => { + if (k) P(k) + else E(v) + }) + }) + } + return importModule(k, v || {}, E) + } + }) + }) + } + } + k.exports = LoaderPlugin + }, + 53377: function (k, v, E) { + 'use strict' + const P = E(58528) + class LocalModule { + constructor(k, v) { + this.name = k + this.idx = v + this.used = false + } + flagUsed() { + this.used = true + } + variableName() { + return '__WEBPACK_LOCAL_MODULE_' + this.idx + '__' + } + serialize(k) { + const { write: v } = k + v(this.name) + v(this.idx) + v(this.used) + } + deserialize(k) { + const { read: v } = k + this.name = v() + this.idx = v() + this.used = v() + } + } + P(LocalModule, 'webpack/lib/dependencies/LocalModule') + k.exports = LocalModule + }, + 41808: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(53139) + class LocalModuleDependency extends R { + constructor(k, v, E) { + super() + this.localModule = k + this.range = v + this.callNew = E + } + serialize(k) { + const { write: v } = k + v(this.localModule) + v(this.range) + v(this.callNew) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.localModule = v() + this.range = v() + this.callNew = v() + super.deserialize(k) + } + } + P(LocalModuleDependency, 'webpack/lib/dependencies/LocalModuleDependency') + LocalModuleDependency.Template = class LocalModuleDependencyTemplate extends ( + R.Template + ) { + apply(k, v, E) { + const P = k + if (!P.range) return + const R = P.callNew + ? `new (function () { return ${P.localModule.variableName()}; })()` + : P.localModule.variableName() + v.replace(P.range[0], P.range[1] - 1, R) + } + } + k.exports = LocalModuleDependency + }, + 18363: function (k, v, E) { + 'use strict' + const P = E(53377) + const lookup = (k, v) => { + if (v.charAt(0) !== '.') return v + var E = k.split('/') + var P = v.split('/') + E.pop() + for (let k = 0; k < P.length; k++) { + const v = P[k] + if (v === '..') { + E.pop() + } else if (v !== '.') { + E.push(v) + } + } + return E.join('/') + } + v.addLocalModule = (k, v) => { + if (!k.localModules) { + k.localModules = [] + } + const E = new P(v, k.localModules.length) + k.localModules.push(E) + return E + } + v.getLocalModule = (k, v, E) => { + if (!k.localModules) return null + if (E) { + v = lookup(E, v) + } + for (let E = 0; E < k.localModules.length; E++) { + if (k.localModules[E].name === v) { + return k.localModules[E] + } + } + return null + } + }, + 10699: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(88113) + const L = E(56727) + const N = E(58528) + const q = E(53139) + class ModuleDecoratorDependency extends q { + constructor(k, v) { + super() + this.decorator = k + this.allowExportsAccess = v + this._hashUpdate = undefined + } + get type() { + return 'module decorator' + } + get category() { + return 'self' + } + getResourceIdentifier() { + return `self` + } + getReferencedExports(k, v) { + return this.allowExportsAccess + ? P.EXPORTS_OBJECT_REFERENCED + : P.NO_EXPORTS_REFERENCED + } + updateHash(k, v) { + if (this._hashUpdate === undefined) { + this._hashUpdate = `${this.decorator}${this.allowExportsAccess}` + } + k.update(this._hashUpdate) + } + serialize(k) { + const { write: v } = k + v(this.decorator) + v(this.allowExportsAccess) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.decorator = v() + this.allowExportsAccess = v() + super.deserialize(k) + } + } + N( + ModuleDecoratorDependency, + 'webpack/lib/dependencies/ModuleDecoratorDependency' + ) + ModuleDecoratorDependency.Template = class ModuleDecoratorDependencyTemplate extends ( + q.Template + ) { + apply( + k, + v, + { module: E, chunkGraph: P, initFragments: N, runtimeRequirements: q } + ) { + const ae = k + q.add(L.moduleLoaded) + q.add(L.moduleId) + q.add(L.module) + q.add(ae.decorator) + N.push( + new R( + `/* module decorator */ ${E.moduleArgument} = ${ae.decorator}(${E.moduleArgument});\n`, + R.STAGE_PROVIDES, + 0, + `module decorator ${P.getModuleId(E)}` + ) + ) + } + } + k.exports = ModuleDecoratorDependency + }, + 77373: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(30601) + const L = E(20631) + const N = L(() => E(91169)) + class ModuleDependency extends P { + constructor(k) { + super() + this.request = k + this.userRequest = k + this.range = undefined + this.assertions = undefined + this._context = undefined + } + getContext() { + return this._context + } + getResourceIdentifier() { + let k = `context${this._context || ''}|module${this.request}` + if (this.assertions !== undefined) { + k += JSON.stringify(this.assertions) + } + return k + } + couldAffectReferencingModule() { + return true + } + createIgnoredModule(k) { + const v = N() + return new v( + '/* (ignored) */', + `ignored|${k}|${this.request}`, + `${this.request} (ignored)` + ) + } + serialize(k) { + const { write: v } = k + v(this.request) + v(this.userRequest) + v(this._context) + v(this.range) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.request = v() + this.userRequest = v() + this._context = v() + this.range = v() + super.deserialize(k) + } + } + ModuleDependency.Template = R + k.exports = ModuleDependency + }, + 3312: function (k, v, E) { + 'use strict' + const P = E(77373) + class ModuleDependencyTemplateAsId extends P.Template { + apply(k, v, { runtimeTemplate: E, moduleGraph: P, chunkGraph: R }) { + const L = k + if (!L.range) return + const N = E.moduleId({ + module: P.getModule(L), + chunkGraph: R, + request: L.request, + weak: L.weak, + }) + v.replace(L.range[0], L.range[1] - 1, N) + } + } + k.exports = ModuleDependencyTemplateAsId + }, + 29729: function (k, v, E) { + 'use strict' + const P = E(77373) + class ModuleDependencyTemplateAsRequireId extends P.Template { + apply( + k, + v, + { + runtimeTemplate: E, + moduleGraph: P, + chunkGraph: R, + runtimeRequirements: L, + } + ) { + const N = k + if (!N.range) return + const q = E.moduleExports({ + module: P.getModule(N), + chunkGraph: R, + request: N.request, + weak: N.weak, + runtimeRequirements: L, + }) + v.replace(N.range[0], N.range[1] - 1, q) + } + } + k.exports = ModuleDependencyTemplateAsRequireId + }, + 77691: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(77373) + const L = E(3312) + class ModuleHotAcceptDependency extends R { + constructor(k, v) { + super(k) + this.range = v + this.weak = true + } + get type() { + return 'module.hot.accept' + } + get category() { + return 'commonjs' + } + } + P( + ModuleHotAcceptDependency, + 'webpack/lib/dependencies/ModuleHotAcceptDependency' + ) + ModuleHotAcceptDependency.Template = L + k.exports = ModuleHotAcceptDependency + }, + 90563: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(77373) + const L = E(3312) + class ModuleHotDeclineDependency extends R { + constructor(k, v) { + super(k) + this.range = v + this.weak = true + } + get type() { + return 'module.hot.decline' + } + get category() { + return 'commonjs' + } + } + P( + ModuleHotDeclineDependency, + 'webpack/lib/dependencies/ModuleHotDeclineDependency' + ) + ModuleHotDeclineDependency.Template = L + k.exports = ModuleHotDeclineDependency + }, + 53139: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(30601) + class NullDependency extends P { + get type() { + return 'null' + } + couldAffectReferencingModule() { + return false + } + } + NullDependency.Template = class NullDependencyTemplate extends R { + apply(k, v, E) {} + } + k.exports = NullDependency + }, + 85992: function (k, v, E) { + 'use strict' + const P = E(77373) + class PrefetchDependency extends P { + constructor(k) { + super(k) + } + get type() { + return 'prefetch' + } + get category() { + return 'esm' + } + } + k.exports = PrefetchDependency + }, + 17779: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(88113) + const L = E(58528) + const N = E(77373) + const pathToString = (k) => + k !== null && k.length > 0 + ? k.map((k) => `[${JSON.stringify(k)}]`).join('') + : '' + class ProvidedDependency extends N { + constructor(k, v, E, P) { + super(k) + this.identifier = v + this.ids = E + this.range = P + this._hashUpdate = undefined + } + get type() { + return 'provided' + } + get category() { + return 'esm' + } + getReferencedExports(k, v) { + let E = this.ids + if (E.length === 0) return P.EXPORTS_OBJECT_REFERENCED + return [E] + } + updateHash(k, v) { + if (this._hashUpdate === undefined) { + this._hashUpdate = + this.identifier + (this.ids ? this.ids.join(',') : '') + } + k.update(this._hashUpdate) + } + serialize(k) { + const { write: v } = k + v(this.identifier) + v(this.ids) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.identifier = v() + this.ids = v() + super.deserialize(k) + } + } + L(ProvidedDependency, 'webpack/lib/dependencies/ProvidedDependency') + class ProvidedDependencyTemplate extends N.Template { + apply( + k, + v, + { + runtime: E, + runtimeTemplate: P, + moduleGraph: L, + chunkGraph: N, + initFragments: q, + runtimeRequirements: ae, + } + ) { + const le = k + const pe = L.getConnection(le) + const me = L.getExportsInfo(pe.module) + const ye = me.getUsedName(le.ids, E) + q.push( + new R( + `/* provided dependency */ var ${ + le.identifier + } = ${P.moduleExports({ + module: L.getModule(le), + chunkGraph: N, + request: le.request, + runtimeRequirements: ae, + })}${pathToString(ye)};\n`, + R.STAGE_PROVIDES, + 1, + `provided ${le.identifier}` + ) + ) + v.replace(le.range[0], le.range[1] - 1, le.identifier) + } + } + ProvidedDependency.Template = ProvidedDependencyTemplate + k.exports = ProvidedDependency + }, + 19308: function (k, v, E) { + 'use strict' + const { UsageState: P } = E(11172) + const R = E(58528) + const { filterRuntime: L } = E(1540) + const N = E(53139) + class PureExpressionDependency extends N { + constructor(k) { + super() + this.range = k + this.usedByExports = false + this._hashUpdate = undefined + } + updateHash(k, v) { + if (this._hashUpdate === undefined) { + this._hashUpdate = this.range + '' + } + k.update(this._hashUpdate) + } + getModuleEvaluationSideEffectsState(k) { + return false + } + serialize(k) { + const { write: v } = k + v(this.range) + v(this.usedByExports) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.range = v() + this.usedByExports = v() + super.deserialize(k) + } + } + R( + PureExpressionDependency, + 'webpack/lib/dependencies/PureExpressionDependency' + ) + PureExpressionDependency.Template = class PureExpressionDependencyTemplate extends ( + N.Template + ) { + apply( + k, + v, + { + chunkGraph: E, + moduleGraph: R, + runtime: N, + runtimeTemplate: q, + runtimeRequirements: ae, + } + ) { + const le = k + const pe = le.usedByExports + if (pe !== false) { + const k = R.getParentModule(le) + const me = R.getExportsInfo(k) + const ye = L(N, (k) => { + for (const v of pe) { + if (me.getUsed(v, k) !== P.Unused) { + return true + } + } + return false + }) + if (ye === true) return + if (ye !== false) { + const k = q.runtimeConditionExpression({ + chunkGraph: E, + runtime: N, + runtimeCondition: ye, + runtimeRequirements: ae, + }) + v.insert( + le.range[0], + `(/* runtime-dependent pure expression or super */ ${k} ? (` + ) + v.insert(le.range[1], ') : null)') + return + } + } + v.insert( + le.range[0], + `(/* unused pure expression or super */ null && (` + ) + v.insert(le.range[1], '))') + } + } + k.exports = PureExpressionDependency + }, + 71038: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(51395) + const L = E(29729) + class RequireContextDependency extends R { + constructor(k, v) { + super(k) + this.range = v + } + get type() { + return 'require.context' + } + } + P( + RequireContextDependency, + 'webpack/lib/dependencies/RequireContextDependency' + ) + RequireContextDependency.Template = L + k.exports = RequireContextDependency + }, + 52635: function (k, v, E) { + 'use strict' + const P = E(71038) + k.exports = class RequireContextDependencyParserPlugin { + apply(k) { + k.hooks.call + .for('require.context') + .tap('RequireContextDependencyParserPlugin', (v) => { + let E = /^\.\/.*$/ + let R = true + let L = 'sync' + switch (v.arguments.length) { + case 4: { + const E = k.evaluateExpression(v.arguments[3]) + if (!E.isString()) return + L = E.string + } + case 3: { + const P = k.evaluateExpression(v.arguments[2]) + if (!P.isRegExp()) return + E = P.regExp + } + case 2: { + const E = k.evaluateExpression(v.arguments[1]) + if (!E.isBoolean()) return + R = E.bool + } + case 1: { + const N = k.evaluateExpression(v.arguments[0]) + if (!N.isString()) return + const q = new P( + { + request: N.string, + recursive: R, + regExp: E, + mode: L, + category: 'commonjs', + }, + v.range + ) + q.loc = v.loc + q.optional = !!k.scope.inTry + k.state.current.addDependency(q) + return true + } + } + }) + } + } + }, + 69286: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, + } = E(93622) + const { cachedSetProperty: L } = E(99454) + const N = E(16624) + const q = E(71038) + const ae = E(52635) + const le = {} + const pe = 'RequireContextPlugin' + class RequireContextPlugin { + apply(k) { + k.hooks.compilation.tap( + pe, + (v, { contextModuleFactory: E, normalModuleFactory: me }) => { + v.dependencyFactories.set(q, E) + v.dependencyTemplates.set(q, new q.Template()) + v.dependencyFactories.set(N, me) + const handler = (k, v) => { + if (v.requireContext !== undefined && !v.requireContext) return + new ae().apply(k) + } + me.hooks.parser.for(P).tap(pe, handler) + me.hooks.parser.for(R).tap(pe, handler) + E.hooks.alternativeRequests.tap(pe, (v, E) => { + if (v.length === 0) return v + const P = k.resolverFactory.get( + 'normal', + L(E.resolveOptions || le, 'dependencyType', E.category) + ).options + let R + if (!P.fullySpecified) { + R = [] + for (const k of v) { + const { request: v, context: E } = k + for (const k of P.extensions) { + if (v.endsWith(k)) { + R.push({ context: E, request: v.slice(0, -k.length) }) + } + } + if (!P.enforceExtension) { + R.push(k) + } + } + v = R + R = [] + for (const k of v) { + const { request: v, context: E } = k + for (const k of P.mainFiles) { + if (v.endsWith(`/${k}`)) { + R.push({ context: E, request: v.slice(0, -k.length) }) + R.push({ + context: E, + request: v.slice(0, -k.length - 1), + }) + } + } + R.push(k) + } + v = R + } + R = [] + for (const k of v) { + let v = false + for (const E of P.modules) { + if (Array.isArray(E)) { + for (const P of E) { + if (k.request.startsWith(`./${P}/`)) { + R.push({ + context: k.context, + request: k.request.slice(P.length + 3), + }) + v = true + } + } + } else { + const v = E.replace(/\\/g, '/') + const P = + k.context.replace(/\\/g, '/') + k.request.slice(1) + if (P.startsWith(v)) { + R.push({ + context: k.context, + request: P.slice(v.length + 1), + }) + } + } + } + if (!v) { + R.push(k) + } + } + return R + }) + } + ) + } + } + k.exports = RequireContextPlugin + }, + 34385: function (k, v, E) { + 'use strict' + const P = E(75081) + const R = E(58528) + class RequireEnsureDependenciesBlock extends P { + constructor(k, v) { + super(k, v, null) + } + } + R( + RequireEnsureDependenciesBlock, + 'webpack/lib/dependencies/RequireEnsureDependenciesBlock' + ) + k.exports = RequireEnsureDependenciesBlock + }, + 14016: function (k, v, E) { + 'use strict' + const P = E(34385) + const R = E(42780) + const L = E(47785) + const N = E(21271) + k.exports = class RequireEnsureDependenciesBlockParserPlugin { + apply(k) { + k.hooks.call + .for('require.ensure') + .tap('RequireEnsureDependenciesBlockParserPlugin', (v) => { + let E = null + let q = null + let ae = null + switch (v.arguments.length) { + case 4: { + const P = k.evaluateExpression(v.arguments[3]) + if (!P.isString()) return + E = P.string + } + case 3: { + q = v.arguments[2] + ae = N(q) + if (!ae && !E) { + const P = k.evaluateExpression(v.arguments[2]) + if (!P.isString()) return + E = P.string + } + } + case 2: { + const le = k.evaluateExpression(v.arguments[0]) + const pe = le.isArray() ? le.items : [le] + const me = v.arguments[1] + const ye = N(me) + if (ye) { + k.walkExpressions(ye.expressions) + } + if (ae) { + k.walkExpressions(ae.expressions) + } + const _e = new P(E, v.loc) + const Ie = + v.arguments.length === 4 || (!E && v.arguments.length === 3) + const Me = new R( + v.range, + v.arguments[1].range, + Ie && v.arguments[2].range + ) + Me.loc = v.loc + _e.addDependency(Me) + const Te = k.state.current + k.state.current = _e + try { + let E = false + k.inScope([], () => { + for (const k of pe) { + if (k.isString()) { + const E = new L(k.string) + E.loc = k.loc || v.loc + _e.addDependency(E) + } else { + E = true + } + } + }) + if (E) { + return + } + if (ye) { + if (ye.fn.body.type === 'BlockStatement') { + k.walkStatement(ye.fn.body) + } else { + k.walkExpression(ye.fn.body) + } + } + Te.addBlock(_e) + } finally { + k.state.current = Te + } + if (!ye) { + k.walkExpression(me) + } + if (ae) { + if (ae.fn.body.type === 'BlockStatement') { + k.walkStatement(ae.fn.body) + } else { + k.walkExpression(ae.fn.body) + } + } else if (q) { + k.walkExpression(q) + } + return true + } + } + }) + } + } + }, + 42780: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(58528) + const L = E(53139) + class RequireEnsureDependency extends L { + constructor(k, v, E) { + super() + this.range = k + this.contentRange = v + this.errorHandlerRange = E + } + get type() { + return 'require.ensure' + } + serialize(k) { + const { write: v } = k + v(this.range) + v(this.contentRange) + v(this.errorHandlerRange) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.range = v() + this.contentRange = v() + this.errorHandlerRange = v() + super.deserialize(k) + } + } + R( + RequireEnsureDependency, + 'webpack/lib/dependencies/RequireEnsureDependency' + ) + RequireEnsureDependency.Template = class RequireEnsureDependencyTemplate extends ( + L.Template + ) { + apply( + k, + v, + { + runtimeTemplate: E, + moduleGraph: R, + chunkGraph: L, + runtimeRequirements: N, + } + ) { + const q = k + const ae = R.getParentBlock(q) + const le = E.blockPromise({ + chunkGraph: L, + block: ae, + message: 'require.ensure', + runtimeRequirements: N, + }) + const pe = q.range + const me = q.contentRange + const ye = q.errorHandlerRange + v.replace(pe[0], me[0] - 1, `${le}.then((`) + if (ye) { + v.replace(me[1], ye[0] - 1, `).bind(null, ${P.require}))['catch'](`) + v.replace(ye[1], pe[1] - 1, ')') + } else { + v.replace( + me[1], + pe[1] - 1, + `).bind(null, ${P.require}))['catch'](${P.uncaughtErrorHandler})` + ) + } + } + } + k.exports = RequireEnsureDependency + }, + 47785: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(77373) + const L = E(53139) + class RequireEnsureItemDependency extends R { + constructor(k) { + super(k) + } + get type() { + return 'require.ensure item' + } + get category() { + return 'commonjs' + } + } + P( + RequireEnsureItemDependency, + 'webpack/lib/dependencies/RequireEnsureItemDependency' + ) + RequireEnsureItemDependency.Template = L.Template + k.exports = RequireEnsureItemDependency + }, + 34949: function (k, v, E) { + 'use strict' + const P = E(42780) + const R = E(47785) + const L = E(14016) + const { + JAVASCRIPT_MODULE_TYPE_AUTO: N, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: q, + } = E(93622) + const { evaluateToString: ae, toConstantDependency: le } = E(80784) + const pe = 'RequireEnsurePlugin' + class RequireEnsurePlugin { + apply(k) { + k.hooks.compilation.tap(pe, (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(R, v) + k.dependencyTemplates.set(R, new R.Template()) + k.dependencyTemplates.set(P, new P.Template()) + const handler = (k, v) => { + if (v.requireEnsure !== undefined && !v.requireEnsure) return + new L().apply(k) + k.hooks.evaluateTypeof + .for('require.ensure') + .tap(pe, ae('function')) + k.hooks.typeof + .for('require.ensure') + .tap(pe, le(k, JSON.stringify('function'))) + } + v.hooks.parser.for(N).tap(pe, handler) + v.hooks.parser.for(q).tap(pe, handler) + }) + } + } + k.exports = RequireEnsurePlugin + }, + 72330: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(58528) + const L = E(53139) + class RequireHeaderDependency extends L { + constructor(k) { + super() + if (!Array.isArray(k)) throw new Error('range must be valid') + this.range = k + } + serialize(k) { + const { write: v } = k + v(this.range) + super.serialize(k) + } + static deserialize(k) { + const v = new RequireHeaderDependency(k.read()) + v.deserialize(k) + return v + } + } + R( + RequireHeaderDependency, + 'webpack/lib/dependencies/RequireHeaderDependency' + ) + RequireHeaderDependency.Template = class RequireHeaderDependencyTemplate extends ( + L.Template + ) { + apply(k, v, { runtimeRequirements: E }) { + const R = k + E.add(P.require) + v.replace(R.range[0], R.range[1] - 1, P.require) + } + } + k.exports = RequireHeaderDependency + }, + 72846: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(95041) + const L = E(58528) + const N = E(77373) + class RequireIncludeDependency extends N { + constructor(k, v) { + super(k) + this.range = v + } + getReferencedExports(k, v) { + return P.NO_EXPORTS_REFERENCED + } + get type() { + return 'require.include' + } + get category() { + return 'commonjs' + } + } + L( + RequireIncludeDependency, + 'webpack/lib/dependencies/RequireIncludeDependency' + ) + RequireIncludeDependency.Template = class RequireIncludeDependencyTemplate extends ( + N.Template + ) { + apply(k, v, { runtimeTemplate: E }) { + const P = k + const L = E.outputOptions.pathinfo + ? R.toComment( + `require.include ${E.requestShortener.shorten(P.request)}` + ) + : '' + v.replace(P.range[0], P.range[1] - 1, `undefined${L}`) + } + } + k.exports = RequireIncludeDependency + }, + 97229: function (k, v, E) { + 'use strict' + const P = E(71572) + const { evaluateToString: R, toConstantDependency: L } = E(80784) + const N = E(58528) + const q = E(72846) + k.exports = class RequireIncludeDependencyParserPlugin { + constructor(k) { + this.warn = k + } + apply(k) { + const { warn: v } = this + k.hooks.call + .for('require.include') + .tap('RequireIncludeDependencyParserPlugin', (E) => { + if (E.arguments.length !== 1) return + const P = k.evaluateExpression(E.arguments[0]) + if (!P.isString()) return + if (v) { + k.state.module.addWarning( + new RequireIncludeDeprecationWarning(E.loc) + ) + } + const R = new q(P.string, E.range) + R.loc = E.loc + k.state.current.addDependency(R) + return true + }) + k.hooks.evaluateTypeof + .for('require.include') + .tap('RequireIncludePlugin', (E) => { + if (v) { + k.state.module.addWarning( + new RequireIncludeDeprecationWarning(E.loc) + ) + } + return R('function')(E) + }) + k.hooks.typeof + .for('require.include') + .tap('RequireIncludePlugin', (E) => { + if (v) { + k.state.module.addWarning( + new RequireIncludeDeprecationWarning(E.loc) + ) + } + return L(k, JSON.stringify('function'))(E) + }) + } + } + class RequireIncludeDeprecationWarning extends P { + constructor(k) { + super('require.include() is deprecated and will be removed soon.') + this.name = 'RequireIncludeDeprecationWarning' + this.loc = k + } + } + N( + RequireIncludeDeprecationWarning, + 'webpack/lib/dependencies/RequireIncludeDependencyParserPlugin', + 'RequireIncludeDeprecationWarning' + ) + }, + 80250: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, + } = E(93622) + const L = E(72846) + const N = E(97229) + const q = 'RequireIncludePlugin' + class RequireIncludePlugin { + apply(k) { + k.hooks.compilation.tap(q, (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(L, v) + k.dependencyTemplates.set(L, new L.Template()) + const handler = (k, v) => { + if (v.requireInclude === false) return + const E = v.requireInclude === undefined + new N(E).apply(k) + } + v.hooks.parser.for(P).tap(q, handler) + v.hooks.parser.for(R).tap(q, handler) + }) + } + } + k.exports = RequireIncludePlugin + }, + 12204: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(51395) + const L = E(16213) + class RequireResolveContextDependency extends R { + constructor(k, v, E, P) { + super(k, P) + this.range = v + this.valueRange = E + } + get type() { + return 'amd require context' + } + serialize(k) { + const { write: v } = k + v(this.range) + v(this.valueRange) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.range = v() + this.valueRange = v() + super.deserialize(k) + } + } + P( + RequireResolveContextDependency, + 'webpack/lib/dependencies/RequireResolveContextDependency' + ) + RequireResolveContextDependency.Template = L + k.exports = RequireResolveContextDependency + }, + 29961: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(58528) + const L = E(77373) + const N = E(3312) + class RequireResolveDependency extends L { + constructor(k, v, E) { + super(k) + this.range = v + this._context = E + } + get type() { + return 'require.resolve' + } + get category() { + return 'commonjs' + } + getReferencedExports(k, v) { + return P.NO_EXPORTS_REFERENCED + } + } + R( + RequireResolveDependency, + 'webpack/lib/dependencies/RequireResolveDependency' + ) + RequireResolveDependency.Template = N + k.exports = RequireResolveDependency + }, + 53765: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(53139) + class RequireResolveHeaderDependency extends R { + constructor(k) { + super() + if (!Array.isArray(k)) throw new Error('range must be valid') + this.range = k + } + serialize(k) { + const { write: v } = k + v(this.range) + super.serialize(k) + } + static deserialize(k) { + const v = new RequireResolveHeaderDependency(k.read()) + v.deserialize(k) + return v + } + } + P( + RequireResolveHeaderDependency, + 'webpack/lib/dependencies/RequireResolveHeaderDependency' + ) + RequireResolveHeaderDependency.Template = class RequireResolveHeaderDependencyTemplate extends ( + R.Template + ) { + apply(k, v, E) { + const P = k + v.replace(P.range[0], P.range[1] - 1, '/*require.resolve*/') + } + applyAsTemplateArgument(k, v, E) { + E.replace(v.range[0], v.range[1] - 1, '/*require.resolve*/') + } + } + k.exports = RequireResolveHeaderDependency + }, + 84985: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(53139) + class RuntimeRequirementsDependency extends R { + constructor(k) { + super() + this.runtimeRequirements = new Set(k) + this._hashUpdate = undefined + } + updateHash(k, v) { + if (this._hashUpdate === undefined) { + this._hashUpdate = Array.from(this.runtimeRequirements).join() + '' + } + k.update(this._hashUpdate) + } + serialize(k) { + const { write: v } = k + v(this.runtimeRequirements) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.runtimeRequirements = v() + super.deserialize(k) + } + } + P( + RuntimeRequirementsDependency, + 'webpack/lib/dependencies/RuntimeRequirementsDependency' + ) + RuntimeRequirementsDependency.Template = class RuntimeRequirementsDependencyTemplate extends ( + R.Template + ) { + apply(k, v, { runtimeRequirements: E }) { + const P = k + for (const k of P.runtimeRequirements) { + E.add(k) + } + } + } + k.exports = RuntimeRequirementsDependency + }, + 93414: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(53139) + class StaticExportsDependency extends R { + constructor(k, v) { + super() + this.exports = k + this.canMangle = v + } + get type() { + return 'static exports' + } + getExports(k) { + return { + exports: this.exports, + canMangle: this.canMangle, + dependencies: undefined, + } + } + serialize(k) { + const { write: v } = k + v(this.exports) + v(this.canMangle) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.exports = v() + this.canMangle = v() + super.deserialize(k) + } + } + P( + StaticExportsDependency, + 'webpack/lib/dependencies/StaticExportsDependency' + ) + k.exports = StaticExportsDependency + }, + 3674: function (k, v, E) { + 'use strict' + const { + JAVASCRIPT_MODULE_TYPE_AUTO: P, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, + } = E(93622) + const L = E(56727) + const N = E(71572) + const { + evaluateToString: q, + expressionIsUnsupported: ae, + toConstantDependency: le, + } = E(80784) + const pe = E(58528) + const me = E(60381) + const ye = E(92464) + const _e = 'SystemPlugin' + class SystemPlugin { + apply(k) { + k.hooks.compilation.tap(_e, (k, { normalModuleFactory: v }) => { + k.hooks.runtimeRequirementInModule.for(L.system).tap(_e, (k, v) => { + v.add(L.requireScope) + }) + k.hooks.runtimeRequirementInTree.for(L.system).tap(_e, (v, E) => { + k.addRuntimeModule(v, new ye()) + }) + const handler = (k, v) => { + if (v.system === undefined || !v.system) { + return + } + const setNotSupported = (v) => { + k.hooks.evaluateTypeof.for(v).tap(_e, q('undefined')) + k.hooks.expression + .for(v) + .tap(_e, ae(k, v + ' is not supported by webpack.')) + } + k.hooks.typeof + .for('System.import') + .tap(_e, le(k, JSON.stringify('function'))) + k.hooks.evaluateTypeof.for('System.import').tap(_e, q('function')) + k.hooks.typeof + .for('System') + .tap(_e, le(k, JSON.stringify('object'))) + k.hooks.evaluateTypeof.for('System').tap(_e, q('object')) + setNotSupported('System.set') + setNotSupported('System.get') + setNotSupported('System.register') + k.hooks.expression.for('System').tap(_e, (v) => { + const E = new me(L.system, v.range, [L.system]) + E.loc = v.loc + k.state.module.addPresentationalDependency(E) + return true + }) + k.hooks.call.for('System.import').tap(_e, (v) => { + k.state.module.addWarning( + new SystemImportDeprecationWarning(v.loc) + ) + return k.hooks.importCall.call({ + type: 'ImportExpression', + source: v.arguments[0], + loc: v.loc, + range: v.range, + }) + }) + } + v.hooks.parser.for(P).tap(_e, handler) + v.hooks.parser.for(R).tap(_e, handler) + }) + } + } + class SystemImportDeprecationWarning extends N { + constructor(k) { + 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 = k + } + } + pe( + SystemImportDeprecationWarning, + 'webpack/lib/dependencies/SystemPlugin', + 'SystemImportDeprecationWarning' + ) + k.exports = SystemPlugin + k.exports.SystemImportDeprecationWarning = SystemImportDeprecationWarning + }, + 92464: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class SystemRuntimeModule extends R { + constructor() { + super('system') + } + generate() { + return L.asString([ + `${P.system} = {`, + L.indent([ + 'import: function () {', + L.indent( + "throw new Error('System.import cannot be used indirectly');" + ), + '}', + ]), + '};', + ]) + } + } + k.exports = SystemRuntimeModule + }, + 65961: function (k, v, E) { + 'use strict' + const P = E(56727) + const { getDependencyUsedByExportsCondition: R } = E(88926) + const L = E(58528) + const N = E(20631) + const q = E(77373) + const ae = N(() => E(26619)) + class URLDependency extends q { + constructor(k, v, E, P) { + super(k) + this.range = v + this.outerRange = E + this.relative = P || false + this.usedByExports = undefined + } + get type() { + return 'new URL()' + } + get category() { + return 'url' + } + getCondition(k) { + return R(this, this.usedByExports, k) + } + createIgnoredModule(k) { + const v = ae() + return new v('data:,', `ignored-asset`, `(ignored asset)`) + } + serialize(k) { + const { write: v } = k + v(this.outerRange) + v(this.relative) + v(this.usedByExports) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.outerRange = v() + this.relative = v() + this.usedByExports = v() + super.deserialize(k) + } + } + URLDependency.Template = class URLDependencyTemplate extends q.Template { + apply(k, v, E) { + const { + chunkGraph: R, + moduleGraph: L, + runtimeRequirements: N, + runtimeTemplate: q, + runtime: ae, + } = E + const le = k + const pe = L.getConnection(le) + if (pe && !pe.isTargetActive(ae)) { + v.replace( + le.outerRange[0], + le.outerRange[1] - 1, + '/* unused asset import */ undefined' + ) + return + } + N.add(P.require) + if (le.relative) { + N.add(P.relativeUrl) + v.replace( + le.outerRange[0], + le.outerRange[1] - 1, + `/* asset import */ new ${P.relativeUrl}(${q.moduleRaw({ + chunkGraph: R, + module: L.getModule(le), + request: le.request, + runtimeRequirements: N, + weak: false, + })})` + ) + } else { + N.add(P.baseURI) + v.replace( + le.range[0], + le.range[1] - 1, + `/* asset import */ ${q.moduleRaw({ + chunkGraph: R, + module: L.getModule(le), + request: le.request, + runtimeRequirements: N, + weak: false, + })}, ${P.baseURI}` + ) + } + } + } + L(URLDependency, 'webpack/lib/dependencies/URLDependency') + k.exports = URLDependency + }, + 50703: function (k, v, E) { + 'use strict' + const { pathToFileURL: P } = E(57310) + const { JAVASCRIPT_MODULE_TYPE_AUTO: R, JAVASCRIPT_MODULE_TYPE_ESM: L } = + E(93622) + const N = E(70037) + const { approve: q } = E(80784) + const ae = E(88926) + const le = E(65961) + const pe = 'URLPlugin' + class URLPlugin { + apply(k) { + k.hooks.compilation.tap(pe, (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(le, v) + k.dependencyTemplates.set(le, new le.Template()) + const getUrl = (k) => P(k.resource) + const parserCallback = (k, v) => { + if (v.url === false) return + const E = v.url === 'relative' + const getUrlRequest = (v) => { + if (v.arguments.length !== 2) return + const [E, P] = v.arguments + if (P.type !== 'MemberExpression' || E.type === 'SpreadElement') + return + const R = k.extractMemberExpressionChain(P) + if ( + R.members.length !== 1 || + R.object.type !== 'MetaProperty' || + R.object.meta.name !== 'import' || + R.object.property.name !== 'meta' || + R.members[0] !== 'url' + ) + return + return k.evaluateExpression(E).asString() + } + k.hooks.canRename.for('URL').tap(pe, q) + k.hooks.evaluateNewExpression.for('URL').tap(pe, (v) => { + const E = getUrlRequest(v) + if (!E) return + const P = new URL(E, getUrl(k.state.module)) + return new N().setString(P.toString()).setRange(v.range) + }) + k.hooks.new.for('URL').tap(pe, (v) => { + const P = v + const R = getUrlRequest(P) + if (!R) return + const [L, N] = P.arguments + const q = new le(R, [L.range[0], N.range[1]], P.range, E) + q.loc = P.loc + k.state.current.addDependency(q) + ae.onUsage(k.state, (k) => (q.usedByExports = k)) + return true + }) + k.hooks.isPure.for('NewExpression').tap(pe, (v) => { + const E = v + const { callee: P } = E + if (P.type !== 'Identifier') return + const R = k.getFreeInfoFromVariable(P.name) + if (!R || R.name !== 'URL') return + const L = getUrlRequest(E) + if (L) return true + }) + } + v.hooks.parser.for(R).tap(pe, parserCallback) + v.hooks.parser.for(L).tap(pe, parserCallback) + }) + } + } + k.exports = URLPlugin + }, + 63639: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(53139) + class UnsupportedDependency extends R { + constructor(k, v) { + super() + this.request = k + this.range = v + } + serialize(k) { + const { write: v } = k + v(this.request) + v(this.range) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.request = v() + this.range = v() + super.deserialize(k) + } + } + P(UnsupportedDependency, 'webpack/lib/dependencies/UnsupportedDependency') + UnsupportedDependency.Template = class UnsupportedDependencyTemplate extends ( + R.Template + ) { + apply(k, v, { runtimeTemplate: E }) { + const P = k + v.replace( + P.range[0], + P.range[1], + E.missingModule({ request: P.request }) + ) + } + } + k.exports = UnsupportedDependency + }, + 74476: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(58528) + const L = E(77373) + class WebAssemblyExportImportedDependency extends L { + constructor(k, v, E, P) { + super(v) + this.exportName = k + this.name = E + this.valueType = P + } + couldAffectReferencingModule() { + return P.TRANSITIVE + } + getReferencedExports(k, v) { + return [[this.name]] + } + get type() { + return 'wasm export import' + } + get category() { + return 'wasm' + } + serialize(k) { + const { write: v } = k + v(this.exportName) + v(this.name) + v(this.valueType) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.exportName = v() + this.name = v() + this.valueType = v() + super.deserialize(k) + } + } + R( + WebAssemblyExportImportedDependency, + 'webpack/lib/dependencies/WebAssemblyExportImportedDependency' + ) + k.exports = WebAssemblyExportImportedDependency + }, + 22734: function (k, v, E) { + 'use strict' + const P = E(58528) + const R = E(42626) + const L = E(77373) + class WebAssemblyImportDependency extends L { + constructor(k, v, E, P) { + super(k) + this.name = v + this.description = E + this.onlyDirectImport = P + } + get type() { + return 'wasm import' + } + get category() { + return 'wasm' + } + getReferencedExports(k, v) { + return [[this.name]] + } + getErrors(k) { + const v = k.getModule(this) + if (this.onlyDirectImport && v && !v.type.startsWith('webassembly')) { + return [ + new R( + `Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies` + ), + ] + } + } + serialize(k) { + const { write: v } = k + v(this.name) + v(this.description) + v(this.onlyDirectImport) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.name = v() + this.description = v() + this.onlyDirectImport = v() + super.deserialize(k) + } + } + P( + WebAssemblyImportDependency, + 'webpack/lib/dependencies/WebAssemblyImportDependency' + ) + k.exports = WebAssemblyImportDependency + }, + 83143: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(95041) + const L = E(58528) + const N = E(77373) + class WebpackIsIncludedDependency extends N { + constructor(k, v) { + super(k) + this.weak = true + this.range = v + } + getReferencedExports(k, v) { + return P.NO_EXPORTS_REFERENCED + } + get type() { + return '__webpack_is_included__' + } + } + L( + WebpackIsIncludedDependency, + 'webpack/lib/dependencies/WebpackIsIncludedDependency' + ) + WebpackIsIncludedDependency.Template = class WebpackIsIncludedDependencyTemplate extends ( + N.Template + ) { + apply(k, v, { runtimeTemplate: E, chunkGraph: P, moduleGraph: L }) { + const N = k + const q = L.getConnection(N) + const ae = q ? P.getNumberOfModuleChunks(q.module) > 0 : false + const le = E.outputOptions.pathinfo + ? R.toComment( + `__webpack_is_included__ ${E.requestShortener.shorten( + N.request + )}` + ) + : '' + v.replace(N.range[0], N.range[1] - 1, `${le}${JSON.stringify(ae)}`) + } + } + k.exports = WebpackIsIncludedDependency + }, + 15200: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(56727) + const L = E(58528) + const N = E(77373) + class WorkerDependency extends N { + constructor(k, v, E) { + super(k) + this.range = v + this.options = E + this._hashUpdate = undefined + } + getReferencedExports(k, v) { + return P.NO_EXPORTS_REFERENCED + } + get type() { + return 'new Worker()' + } + get category() { + return 'worker' + } + updateHash(k, v) { + if (this._hashUpdate === undefined) { + this._hashUpdate = JSON.stringify(this.options) + } + k.update(this._hashUpdate) + } + serialize(k) { + const { write: v } = k + v(this.options) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.options = v() + super.deserialize(k) + } + } + WorkerDependency.Template = class WorkerDependencyTemplate extends ( + N.Template + ) { + apply(k, v, E) { + const { chunkGraph: P, moduleGraph: L, runtimeRequirements: N } = E + const q = k + const ae = L.getParentBlock(k) + const le = P.getBlockChunkGroup(ae) + const pe = le.getEntrypointChunk() + const me = q.options.publicPath + ? `"${q.options.publicPath}"` + : R.publicPath + N.add(R.publicPath) + N.add(R.baseURI) + N.add(R.getChunkScriptFilename) + v.replace( + q.range[0], + q.range[1] - 1, + `/* worker import */ ${me} + ${ + R.getChunkScriptFilename + }(${JSON.stringify(pe.id)}), ${R.baseURI}` + ) + } + } + L(WorkerDependency, 'webpack/lib/dependencies/WorkerDependency') + k.exports = WorkerDependency + }, + 95918: function (k, v, E) { + 'use strict' + const { pathToFileURL: P } = E(57310) + const R = E(75081) + const L = E(68160) + const { JAVASCRIPT_MODULE_TYPE_AUTO: N, JAVASCRIPT_MODULE_TYPE_ESM: q } = + E(93622) + const ae = E(9415) + const le = E(73126) + const { equals: pe } = E(68863) + const me = E(74012) + const { contextify: ye } = E(65315) + const _e = E(50792) + const Ie = E(60381) + const Me = E(98857) + const { harmonySpecifierTag: Te } = E(57737) + const je = E(15200) + const getUrl = (k) => P(k.resource).toString() + const Ne = Symbol('worker specifier tag') + const Be = [ + 'Worker', + 'SharedWorker', + 'navigator.serviceWorker.register()', + 'Worker from worker_threads', + ] + const qe = new WeakMap() + const Ue = 'WorkerPlugin' + class WorkerPlugin { + constructor(k, v, E, P) { + this._chunkLoading = k + this._wasmLoading = v + this._module = E + this._workerPublicPath = P + } + apply(k) { + if (this._chunkLoading) { + new le(this._chunkLoading).apply(k) + } + if (this._wasmLoading) { + new _e(this._wasmLoading).apply(k) + } + const v = ye.bindContextCache(k.context, k.root) + k.hooks.thisCompilation.tap(Ue, (k, { normalModuleFactory: E }) => { + k.dependencyFactories.set(je, E) + k.dependencyTemplates.set(je, new je.Template()) + k.dependencyTemplates.set(Me, new Me.Template()) + const parseModuleUrl = (k, v) => { + if ( + v.type !== 'NewExpression' || + v.callee.type === 'Super' || + v.arguments.length !== 2 + ) + return + const [E, P] = v.arguments + if (E.type === 'SpreadElement') return + if (P.type === 'SpreadElement') return + const R = k.evaluateExpression(v.callee) + if (!R.isIdentifier() || R.identifier !== 'URL') return + const L = k.evaluateExpression(P) + if ( + !L.isString() || + !L.string.startsWith('file://') || + L.string !== getUrl(k.state.module) + ) { + return + } + const N = k.evaluateExpression(E) + return [N, [E.range[0], P.range[1]]] + } + const parseObjectExpression = (k, v) => { + const E = {} + const P = {} + const R = [] + let L = false + for (const N of v.properties) { + if (N.type === 'SpreadElement') { + L = true + } else if ( + N.type === 'Property' && + !N.method && + !N.computed && + N.key.type === 'Identifier' + ) { + P[N.key.name] = N.value + if (!N.shorthand && !N.value.type.endsWith('Pattern')) { + const v = k.evaluateExpression(N.value) + if (v.isCompileTimeValue()) + E[N.key.name] = v.asCompileTimeValue() + } + } else { + R.push(N) + } + } + const N = v.properties.length > 0 ? 'comma' : 'single' + const q = v.properties[v.properties.length - 1].range[1] + return { + expressions: P, + otherElements: R, + values: E, + spread: L, + insertType: N, + insertLocation: q, + } + } + const parserPlugin = (E, P) => { + if (P.worker === false) return + const N = !Array.isArray(P.worker) ? ['...'] : P.worker + const handleNewWorker = (P) => { + if (P.arguments.length === 0 || P.arguments.length > 2) return + const [N, q] = P.arguments + if (N.type === 'SpreadElement') return + if (q && q.type === 'SpreadElement') return + const le = parseModuleUrl(E, N) + if (!le) return + const [pe, ye] = le + if (!pe.isString()) return + const { + expressions: _e, + otherElements: Te, + values: Ne, + spread: Be, + insertType: Ue, + insertLocation: Ge, + } = q && q.type === 'ObjectExpression' + ? parseObjectExpression(E, q) + : { + expressions: {}, + otherElements: [], + values: {}, + spread: false, + insertType: q ? 'spread' : 'argument', + insertLocation: q ? q.range : N.range[1], + } + const { options: He, errors: We } = E.parseCommentOptions( + P.range + ) + if (We) { + for (const k of We) { + const { comment: v } = k + E.state.module.addWarning( + new L( + `Compilation error while processing magic comment(-s): /*${v.value}*/: ${k.message}`, + v.loc + ) + ) + } + } + let Qe = {} + if (He) { + if (He.webpackIgnore !== undefined) { + if (typeof He.webpackIgnore !== 'boolean') { + E.state.module.addWarning( + new ae( + `\`webpackIgnore\` expected a boolean, but received: ${He.webpackIgnore}.`, + P.loc + ) + ) + } else { + if (He.webpackIgnore) { + return false + } + } + } + if (He.webpackEntryOptions !== undefined) { + if ( + typeof He.webpackEntryOptions !== 'object' || + He.webpackEntryOptions === null + ) { + E.state.module.addWarning( + new ae( + `\`webpackEntryOptions\` expected a object, but received: ${He.webpackEntryOptions}.`, + P.loc + ) + ) + } else { + Object.assign(Qe, He.webpackEntryOptions) + } + } + if (He.webpackChunkName !== undefined) { + if (typeof He.webpackChunkName !== 'string') { + E.state.module.addWarning( + new ae( + `\`webpackChunkName\` expected a string, but received: ${He.webpackChunkName}.`, + P.loc + ) + ) + } else { + Qe.name = He.webpackChunkName + } + } + } + if ( + !Object.prototype.hasOwnProperty.call(Qe, 'name') && + Ne && + typeof Ne.name === 'string' + ) { + Qe.name = Ne.name + } + if (Qe.runtime === undefined) { + let P = qe.get(E.state) || 0 + qe.set(E.state, P + 1) + let R = `${v(E.state.module.identifier())}|${P}` + const L = me(k.outputOptions.hashFunction) + L.update(R) + const N = L.digest(k.outputOptions.hashDigest) + Qe.runtime = N.slice(0, k.outputOptions.hashDigestLength) + } + const Je = new R({ + name: Qe.name, + entryOptions: { + chunkLoading: this._chunkLoading, + wasmLoading: this._wasmLoading, + ...Qe, + }, + }) + Je.loc = P.loc + const Ve = new je(pe.string, ye, { + publicPath: this._workerPublicPath, + }) + Ve.loc = P.loc + Je.addDependency(Ve) + E.state.module.addBlock(Je) + if (k.outputOptions.trustedTypes) { + const k = new Me(P.arguments[0].range) + k.loc = P.loc + E.state.module.addDependency(k) + } + if (_e.type) { + const k = _e.type + if (Ne.type !== false) { + const v = new Ie( + this._module ? '"module"' : 'undefined', + k.range + ) + v.loc = k.loc + E.state.module.addPresentationalDependency(v) + _e.type = undefined + } + } else if (Ue === 'comma') { + if (this._module || Be) { + const k = new Ie( + `, type: ${this._module ? '"module"' : 'undefined'}`, + Ge + ) + k.loc = P.loc + E.state.module.addPresentationalDependency(k) + } + } else if (Ue === 'spread') { + const k = new Ie('Object.assign({}, ', Ge[0]) + const v = new Ie( + `, { type: ${this._module ? '"module"' : 'undefined'} })`, + Ge[1] + ) + k.loc = P.loc + v.loc = P.loc + E.state.module.addPresentationalDependency(k) + E.state.module.addPresentationalDependency(v) + } else if (Ue === 'argument') { + if (this._module) { + const k = new Ie(', { type: "module" }', Ge) + k.loc = P.loc + E.state.module.addPresentationalDependency(k) + } + } + E.walkExpression(P.callee) + for (const k of Object.keys(_e)) { + if (_e[k]) E.walkExpression(_e[k]) + } + for (const k of Te) { + E.walkProperty(k) + } + if (Ue === 'spread') { + E.walkExpression(q) + } + return true + } + const processItem = (k) => { + if (k.startsWith('*') && k.includes('.') && k.endsWith('()')) { + const v = k.indexOf('.') + const P = k.slice(1, v) + const R = k.slice(v + 1, -2) + E.hooks.pattern.for(P).tap(Ue, (k) => { + E.tagVariable(k.name, Ne) + return true + }) + E.hooks.callMemberChain.for(Ne).tap(Ue, (k, v) => { + if (R !== v.join('.')) { + return + } + return handleNewWorker(k) + }) + } else if (k.endsWith('()')) { + E.hooks.call.for(k.slice(0, -2)).tap(Ue, handleNewWorker) + } else { + const v = /^(.+?)(\(\))?\s+from\s+(.+)$/.exec(k) + if (v) { + const k = v[1].split('.') + const P = v[2] + const R = v[3] + ;(P ? E.hooks.call : E.hooks.new).for(Te).tap(Ue, (v) => { + const P = E.currentTagData + if (!P || P.source !== R || !pe(P.ids, k)) { + return + } + return handleNewWorker(v) + }) + } else { + E.hooks.new.for(k).tap(Ue, handleNewWorker) + } + } + } + for (const k of N) { + if (k === '...') { + Be.forEach(processItem) + } else processItem(k) + } + } + E.hooks.parser.for(N).tap(Ue, parserPlugin) + E.hooks.parser.for(q).tap(Ue, parserPlugin) + }) + } + } + k.exports = WorkerPlugin + }, + 21271: function (k) { + 'use strict' + k.exports = (k) => { + if ( + k.type === 'FunctionExpression' || + k.type === 'ArrowFunctionExpression' + ) { + return { fn: k, expressions: [], needThis: false } + } + if ( + k.type === 'CallExpression' && + k.callee.type === 'MemberExpression' && + k.callee.object.type === 'FunctionExpression' && + k.callee.property.type === 'Identifier' && + k.callee.property.name === 'bind' && + k.arguments.length === 1 + ) { + return { + fn: k.callee.object, + expressions: [k.arguments[0]], + needThis: undefined, + } + } + if ( + k.type === 'CallExpression' && + k.callee.type === 'FunctionExpression' && + k.callee.body.type === 'BlockStatement' && + k.arguments.length === 1 && + k.arguments[0].type === 'ThisExpression' && + k.callee.body.body && + k.callee.body.body.length === 1 && + k.callee.body.body[0].type === 'ReturnStatement' && + k.callee.body.body[0].argument && + k.callee.body.body[0].argument.type === 'FunctionExpression' + ) { + return { + fn: k.callee.body.body[0].argument, + expressions: [], + needThis: true, + } + } + } + }, + 49798: function (k, v, E) { + 'use strict' + const { UsageState: P } = E(11172) + const processExportInfo = (k, v, E, R, L = false, N = new Set()) => { + if (!R) { + v.push(E) + return + } + const q = R.getUsed(k) + if (q === P.Unused) return + if (N.has(R)) { + v.push(E) + return + } + N.add(R) + if ( + q !== P.OnlyPropertiesUsed || + !R.exportsInfo || + R.exportsInfo.otherExportsInfo.getUsed(k) !== P.Unused + ) { + N.delete(R) + v.push(E) + return + } + const ae = R.exportsInfo + for (const P of ae.orderedExports) { + processExportInfo( + k, + v, + L && P.name === 'default' ? E : E.concat(P.name), + P, + false, + N + ) + } + N.delete(R) + } + k.exports = processExportInfo + }, + 27558: function (k, v, E) { + 'use strict' + const P = E(53757) + class ElectronTargetPlugin { + constructor(k) { + this._context = k + } + apply(k) { + new P('node-commonjs', [ + 'clipboard', + 'crash-reporter', + 'electron', + 'ipc', + 'native-image', + 'original-fs', + 'screen', + 'shell', + ]).apply(k) + switch (this._context) { + case 'main': + new P('node-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(k) + break + case 'preload': + case 'renderer': + new P('node-commonjs', [ + 'desktop-capturer', + 'ipc-renderer', + 'remote', + 'web-frame', + ]).apply(k) + break + } + } + } + k.exports = ElectronTargetPlugin + }, + 10408: function (k, v, E) { + 'use strict' + const P = E(71572) + class BuildCycleError extends P { + constructor(k) { + super( + 'There is a circular build dependency, which makes it impossible to create this module' + ) + this.name = 'BuildCycleError' + this.module = k + } + } + k.exports = BuildCycleError + }, + 25427: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + class ExportWebpackRequireRuntimeModule extends R { + constructor() { + super('export webpack runtime', R.STAGE_ATTACH) + } + shouldIsolate() { + return false + } + generate() { + return `export default ${P.require};` + } + } + k.exports = ExportWebpackRequireRuntimeModule + }, + 14504: function (k, v, E) { + 'use strict' + const { ConcatSource: P } = E(51255) + const { RuntimeGlobals: R } = E(94308) + const L = E(95733) + const N = E(95041) + const { getAllChunks: q } = E(72130) + const { + chunkHasJs: ae, + getCompilationHooks: le, + getChunkFilenameTemplate: pe, + } = E(89168) + const { updateHashForEntryStartup: me } = E(73777) + class ModuleChunkFormatPlugin { + apply(k) { + k.hooks.thisCompilation.tap('ModuleChunkFormatPlugin', (k) => { + k.hooks.additionalChunkRuntimeRequirements.tap( + 'ModuleChunkFormatPlugin', + (v, E) => { + if (v.hasRuntime()) return + if (k.chunkGraph.getNumberOfEntryModules(v) > 0) { + E.add(R.require) + E.add(R.startupEntrypoint) + E.add(R.externalInstallChunk) + } + } + ) + const v = le(k) + v.renderChunk.tap('ModuleChunkFormatPlugin', (E, le) => { + const { chunk: me, chunkGraph: ye, runtimeTemplate: _e } = le + const Ie = me instanceof L ? me : null + const Me = new P() + if (Ie) { + throw new Error( + 'HMR is not implemented for module chunk format yet' + ) + } else { + Me.add(`export const id = ${JSON.stringify(me.id)};\n`) + Me.add(`export const ids = ${JSON.stringify(me.ids)};\n`) + Me.add(`export const modules = `) + Me.add(E) + Me.add(`;\n`) + const L = ye.getChunkRuntimeModulesInOrder(me) + if (L.length > 0) { + Me.add('export const runtime =\n') + Me.add(N.renderChunkRuntimeModules(L, le)) + } + const Ie = Array.from( + ye.getChunkEntryModulesWithChunkGroupIterable(me) + ) + if (Ie.length > 0) { + const E = Ie[0][1].getRuntimeChunk() + const L = k + .getPath(pe(me, k.outputOptions), { + chunk: me, + contentHashType: 'javascript', + }) + .split('/') + L.pop() + const getRelativePath = (v) => { + const E = L.slice() + const P = k + .getPath(pe(v, k.outputOptions), { + chunk: v, + contentHashType: 'javascript', + }) + .split('/') + while (E.length > 0 && P.length > 0 && E[0] === P[0]) { + E.shift() + P.shift() + } + return ( + (E.length > 0 ? '../'.repeat(E.length) : './') + + P.join('/') + ) + } + const N = new P() + N.add(Me) + N.add(';\n\n// load runtime\n') + N.add( + `import ${R.require} from ${JSON.stringify( + getRelativePath(E) + )};\n` + ) + const Te = new P() + Te.add( + `var __webpack_exec__ = ${_e.returningFunction( + `${R.require}(${R.entryModuleId} = moduleId)`, + 'moduleId' + )}\n` + ) + const je = new Set() + let Ne = 0 + for (let k = 0; k < Ie.length; k++) { + const [v, P] = Ie[k] + const L = k + 1 === Ie.length + const N = ye.getModuleId(v) + const le = q(P, E, undefined) + for (const k of le) { + if (je.has(k) || !ae(k, ye)) continue + je.add(k) + Te.add( + `import * as __webpack_chunk_${Ne}__ from ${JSON.stringify( + getRelativePath(k) + )};\n` + ) + Te.add( + `${R.externalInstallChunk}(__webpack_chunk_${Ne}__);\n` + ) + Ne++ + } + Te.add( + `${ + L ? `var ${R.exports} = ` : '' + }__webpack_exec__(${JSON.stringify(N)});\n` + ) + } + N.add( + v.renderStartup.call(Te, Ie[Ie.length - 1][0], { + ...le, + inlined: false, + }) + ) + return N + } + } + return Me + }) + v.chunkHash.tap( + 'ModuleChunkFormatPlugin', + (k, v, { chunkGraph: E, runtimeTemplate: P }) => { + if (k.hasRuntime()) return + v.update('ModuleChunkFormatPlugin') + v.update('1') + const R = Array.from( + E.getChunkEntryModulesWithChunkGroupIterable(k) + ) + me(v, E, R, k) + } + ) + }) + } + } + k.exports = ModuleChunkFormatPlugin + }, + 21879: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(25427) + const L = E(68748) + class ModuleChunkLoadingPlugin { + apply(k) { + k.hooks.thisCompilation.tap('ModuleChunkLoadingPlugin', (k) => { + const v = k.outputOptions.chunkLoading + const isEnabledForChunk = (k) => { + const E = k.getEntryOptions() + const P = E && E.chunkLoading !== undefined ? E.chunkLoading : v + return P === 'import' + } + const E = new WeakSet() + const handler = (v, R) => { + if (E.has(v)) return + E.add(v) + if (!isEnabledForChunk(v)) return + R.add(P.moduleFactoriesAddOnly) + R.add(P.hasOwnProperty) + k.addRuntimeModule(v, new L(R)) + } + k.hooks.runtimeRequirementInTree + .for(P.ensureChunkHandlers) + .tap('ModuleChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.baseURI) + .tap('ModuleChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.externalInstallChunk) + .tap('ModuleChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.onChunksLoaded) + .tap('ModuleChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.externalInstallChunk) + .tap('ModuleChunkLoadingPlugin', (v, E) => { + if (!isEnabledForChunk(v)) return + k.addRuntimeModule(v, new R()) + }) + k.hooks.runtimeRequirementInTree + .for(P.ensureChunkHandlers) + .tap('ModuleChunkLoadingPlugin', (k, v) => { + if (!isEnabledForChunk(k)) return + v.add(P.getChunkScriptFilename) + }) + }) + } + } + k.exports = ModuleChunkLoadingPlugin + }, + 68748: function (k, v, E) { + 'use strict' + const { SyncWaterfallHook: P } = E(79846) + const R = E(27747) + const L = E(56727) + const N = E(27462) + const q = E(95041) + const { getChunkFilenameTemplate: ae, chunkHasJs: le } = E(89168) + const { getInitialChunkIds: pe } = E(73777) + const me = E(21751) + const { getUndoPath: ye } = E(65315) + const _e = new WeakMap() + class ModuleChunkLoadingRuntimeModule extends N { + static getCompilationHooks(k) { + if (!(k instanceof R)) { + throw new TypeError( + "The 'compilation' argument must be an instance of Compilation" + ) + } + let v = _e.get(k) + if (v === undefined) { + v = { + linkPreload: new P(['source', 'chunk']), + linkPrefetch: new P(['source', 'chunk']), + } + _e.set(k, v) + } + return v + } + constructor(k) { + super('import chunk loading', N.STAGE_ATTACH) + this._runtimeRequirements = k + } + _generateBaseUri(k, v) { + const E = k.getEntryOptions() + if (E && E.baseUri) { + return `${L.baseURI} = ${JSON.stringify(E.baseUri)};` + } + const P = this.compilation + const { + outputOptions: { importMetaName: R }, + } = P + return `${L.baseURI} = new URL(${JSON.stringify(v)}, ${R}.url);` + } + generate() { + const k = this.compilation + const v = this.chunkGraph + const E = this.chunk + const { + runtimeTemplate: P, + outputOptions: { importFunctionName: R }, + } = k + const N = L.ensureChunkHandlers + const _e = this._runtimeRequirements.has(L.baseURI) + const Ie = this._runtimeRequirements.has(L.externalInstallChunk) + const Me = this._runtimeRequirements.has(L.ensureChunkHandlers) + const Te = this._runtimeRequirements.has(L.onChunksLoaded) + const je = this._runtimeRequirements.has(L.hmrDownloadUpdateHandlers) + const Ne = v.getChunkConditionMap(E, le) + const Be = me(Ne) + const qe = pe(E, v, le) + const Ue = k.getPath(ae(E, k.outputOptions), { + chunk: E, + contentHashType: 'javascript', + }) + const Ge = ye(Ue, k.outputOptions.path, true) + const He = je ? `${L.hmrRuntimeStatePrefix}_module` : undefined + return q.asString([ + _e ? this._generateBaseUri(E, Ge) : '// no baseURI', + '', + '// object to store loaded and loading chunks', + '// undefined = chunk not loaded, null = chunk preloaded/prefetched', + '// [resolve, Promise] = chunk loading, 0 = chunk loaded', + `var installedChunks = ${He ? `${He} = ${He} || ` : ''}{`, + q.indent( + Array.from(qe, (k) => `${JSON.stringify(k)}: 0`).join(',\n') + ), + '};', + '', + Me || Ie + ? `var installChunk = ${P.basicFunction('data', [ + P.destructureObject(['ids', 'modules', 'runtime'], 'data'), + '// add "modules" to the modules object,', + '// then flag all "ids" as loaded and fire callback', + 'var moduleId, chunkId, i = 0;', + 'for(moduleId in modules) {', + q.indent([ + `if(${L.hasOwnProperty}(modules, moduleId)) {`, + q.indent( + `${L.moduleFactories}[moduleId] = modules[moduleId];` + ), + '}', + ]), + '}', + `if(runtime) runtime(${L.require});`, + 'for(;i < ids.length; i++) {', + q.indent([ + 'chunkId = ids[i];', + `if(${L.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`, + q.indent('installedChunks[chunkId][0]();'), + '}', + 'installedChunks[ids[i]] = 0;', + ]), + '}', + Te ? `${L.onChunksLoaded}();` : '', + ])}` + : '// no install chunk', + '', + Me + ? q.asString([ + `${N}.j = ${P.basicFunction( + 'chunkId, promises', + Be !== false + ? q.indent([ + '// import() chunk loading for javascript', + `var installedChunkData = ${L.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`, + 'if(installedChunkData !== 0) { // 0 means "already installed".', + q.indent([ + '', + '// a Promise means "currently loading".', + 'if(installedChunkData) {', + q.indent(['promises.push(installedChunkData[1]);']), + '} else {', + q.indent([ + Be === true + ? 'if(true) { // all chunks have JS' + : `if(${Be('chunkId')}) {`, + q.indent([ + '// setup Promise in chunk cache', + `var promise = ${R}(${JSON.stringify(Ge)} + ${ + L.getChunkScriptFilename + }(chunkId)).then(installChunk, ${P.basicFunction( + 'e', + [ + 'if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;', + 'throw e;', + ] + )});`, + `var promise = Promise.race([promise, new Promise(${P.expressionFunction( + `installedChunkData = installedChunks[chunkId] = [resolve]`, + 'resolve' + )})])`, + `promises.push(installedChunkData[1] = promise);`, + ]), + Be === true + ? '}' + : '} else installedChunks[chunkId] = 0;', + ]), + '}', + ]), + '}', + ]) + : q.indent(['installedChunks[chunkId] = 0;']) + )};`, + ]) + : '// no chunk on demand loading', + '', + Ie + ? q.asString([`${L.externalInstallChunk} = installChunk;`]) + : '// no external install chunk', + '', + Te + ? `${L.onChunksLoaded}.j = ${P.returningFunction( + 'installedChunks[chunkId] === 0', + 'chunkId' + )};` + : '// no on chunks loaded', + ]) + } + } + k.exports = ModuleChunkLoadingRuntimeModule + }, + 1811: function (k) { + 'use strict' + const formatPosition = (k) => { + if (k && typeof k === 'object') { + if ('line' in k && 'column' in k) { + return `${k.line}:${k.column}` + } else if ('line' in k) { + return `${k.line}:?` + } + } + return '' + } + const formatLocation = (k) => { + if (k && typeof k === 'object') { + if ('start' in k && k.start && 'end' in k && k.end) { + if ( + typeof k.start === 'object' && + typeof k.start.line === 'number' && + typeof k.end === 'object' && + typeof k.end.line === 'number' && + typeof k.end.column === 'number' && + k.start.line === k.end.line + ) { + return `${formatPosition(k.start)}-${k.end.column}` + } else if ( + typeof k.start === 'object' && + typeof k.start.line === 'number' && + typeof k.start.column !== 'number' && + typeof k.end === 'object' && + typeof k.end.line === 'number' && + typeof k.end.column !== 'number' + ) { + return `${k.start.line}-${k.end.line}` + } else { + return `${formatPosition(k.start)}-${formatPosition(k.end)}` + } + } + if ('start' in k && k.start) { + return formatPosition(k.start) + } + if ('name' in k && 'index' in k) { + return `${k.name}[${k.index}]` + } + if ('name' in k) { + return k.name + } + } + return '' + } + k.exports = formatLocation + }, + 55223: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class HotModuleReplacementRuntimeModule extends R { + constructor() { + super('hot module replacement', R.STAGE_BASIC) + } + generate() { + return L.getFunctionContent( + require('./HotModuleReplacement.runtime.js') + ) + .replace(/\$getFullHash\$/g, P.getFullHash) + .replace( + /\$interceptModuleExecution\$/g, + P.interceptModuleExecution + ) + .replace(/\$moduleCache\$/g, P.moduleCache) + .replace(/\$hmrModuleData\$/g, P.hmrModuleData) + .replace(/\$hmrDownloadManifest\$/g, P.hmrDownloadManifest) + .replace( + /\$hmrInvalidateModuleHandlers\$/g, + P.hmrInvalidateModuleHandlers + ) + .replace( + /\$hmrDownloadUpdateHandlers\$/g, + P.hmrDownloadUpdateHandlers + ) + } + } + k.exports = HotModuleReplacementRuntimeModule + }, + 93239: function (k, v, E) { + 'use strict' + const { RawSource: P } = E(51255) + const R = E(75081) + const L = E(16848) + const N = E(88396) + const q = E(66043) + const { WEBPACK_MODULE_TYPE_LAZY_COMPILATION_PROXY: ae } = E(93622) + const le = E(56727) + const pe = E(95041) + const me = E(41655) + const { registerNotSerializable: ye } = E(52456) + const _e = new Set([ + 'import.meta.webpackHot.accept', + 'import.meta.webpackHot.decline', + 'module.hot.accept', + 'module.hot.decline', + ]) + const checkTest = (k, v) => { + if (k === undefined) return true + if (typeof k === 'function') { + return k(v) + } + if (typeof k === 'string') { + const E = v.nameForCondition() + return E && E.startsWith(k) + } + if (k instanceof RegExp) { + const E = v.nameForCondition() + return E && k.test(E) + } + return false + } + const Ie = new Set(['javascript']) + class LazyCompilationDependency extends L { + constructor(k) { + super() + this.proxyModule = k + } + get category() { + return 'esm' + } + get type() { + return 'lazy import()' + } + getResourceIdentifier() { + return this.proxyModule.originalModule.identifier() + } + } + ye(LazyCompilationDependency) + class LazyCompilationProxyModule extends N { + constructor(k, v, E, P, R, L) { + super(ae, k, v.layer) + this.originalModule = v + this.request = E + this.client = P + this.data = R + this.active = L + } + identifier() { + return `${ae}|${this.originalModule.identifier()}` + } + readableIdentifier(k) { + return `${ae} ${this.originalModule.readableIdentifier(k)}` + } + updateCacheModule(k) { + super.updateCacheModule(k) + const v = k + this.originalModule = v.originalModule + this.request = v.request + this.client = v.client + this.data = v.data + this.active = v.active + } + libIdent(k) { + return `${this.originalModule.libIdent(k)}!${ae}` + } + needBuild(k, v) { + v(null, !this.buildInfo || this.buildInfo.active !== this.active) + } + build(k, v, E, P, L) { + this.buildInfo = { active: this.active } + this.buildMeta = {} + this.clearDependenciesAndBlocks() + const N = new me(this.client) + this.addDependency(N) + if (this.active) { + const k = new LazyCompilationDependency(this) + const v = new R({}) + v.addDependency(k) + this.addBlock(v) + } + L() + } + getSourceTypes() { + return Ie + } + size(k) { + return 200 + } + codeGeneration({ runtimeTemplate: k, chunkGraph: v, moduleGraph: E }) { + const R = new Map() + const L = new Set() + L.add(le.module) + const N = this.dependencies[0] + const q = E.getModule(N) + const ae = this.blocks[0] + const me = pe.asString([ + `var client = ${k.moduleExports({ + module: q, + chunkGraph: v, + request: N.userRequest, + runtimeRequirements: L, + })}`, + `var data = ${JSON.stringify(this.data)};`, + ]) + const ye = pe.asString([ + `var dispose = client.keepAlive({ data: data, active: ${JSON.stringify( + !!ae + )}, module: module, onError: onError });`, + ]) + let _e + if (ae) { + const P = ae.dependencies[0] + const R = E.getModule(P) + _e = pe.asString([ + me, + `module.exports = ${k.moduleNamespacePromise({ + chunkGraph: v, + block: ae, + module: R, + request: this.request, + strict: false, + message: 'import()', + runtimeRequirements: L, + })};`, + 'if (module.hot) {', + pe.indent([ + 'module.hot.accept();', + `module.hot.accept(${JSON.stringify( + v.getModuleId(R) + )}, function() { module.hot.invalidate(); });`, + 'module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });', + 'if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);', + ]), + '}', + 'function onError() { /* ignore */ }', + ye, + ]) + } else { + _e = pe.asString([ + me, + 'var resolveSelf, onError;', + `module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`, + 'if (module.hot) {', + pe.indent([ + 'module.hot.accept();', + 'if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);', + 'module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });', + ]), + '}', + ye, + ]) + } + R.set('javascript', new P(_e)) + return { sources: R, runtimeRequirements: L } + } + updateHash(k, v) { + super.updateHash(k, v) + k.update(this.active ? 'active' : '') + k.update(JSON.stringify(this.data)) + } + } + ye(LazyCompilationProxyModule) + class LazyCompilationDependencyFactory extends q { + constructor(k) { + super() + this._factory = k + } + create(k, v) { + const E = k.dependencies[0] + v(null, { module: E.proxyModule.originalModule }) + } + } + class LazyCompilationPlugin { + constructor({ backend: k, entries: v, imports: E, test: P }) { + this.backend = k + this.entries = v + this.imports = E + this.test = P + } + apply(k) { + let v + k.hooks.beforeCompile.tapAsync('LazyCompilationPlugin', (E, P) => { + if (v !== undefined) return P() + const R = this.backend(k, (k, E) => { + if (k) return P(k) + v = E + P() + }) + if (R && R.then) { + R.then((k) => { + v = k + P() + }, P) + } + }) + k.hooks.thisCompilation.tap( + 'LazyCompilationPlugin', + (E, { normalModuleFactory: P }) => { + P.hooks.module.tap('LazyCompilationPlugin', (P, R, L) => { + if (L.dependencies.every((k) => _e.has(k.type))) { + const k = L.dependencies[0] + const v = E.moduleGraph.getParentModule(k) + const P = v.blocks.some((v) => + v.dependencies.some( + (v) => v.type === 'import()' && v.request === k.request + ) + ) + if (!P) return + } else if ( + !L.dependencies.every( + (k) => + _e.has(k.type) || + (this.imports && + (k.type === 'import()' || + k.type === 'import() context element')) || + (this.entries && k.type === 'entry') + ) + ) + return + if ( + /webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client|webpack-hot-middleware[/\\]client/.test( + L.request + ) || + !checkTest(this.test, P) + ) + return + const N = v.module(P) + if (!N) return + const { client: q, data: ae, active: le } = N + return new LazyCompilationProxyModule( + k.context, + P, + L.request, + q, + ae, + le + ) + }) + E.dependencyFactories.set( + LazyCompilationDependency, + new LazyCompilationDependencyFactory() + ) + } + ) + k.hooks.shutdown.tapAsync('LazyCompilationPlugin', (k) => { + v.dispose(k) + }) + } + } + k.exports = LazyCompilationPlugin + }, + 75218: function (k, v, E) { + 'use strict' + k.exports = (k) => (v, P) => { + const R = v.getInfrastructureLogger('LazyCompilationBackend') + const L = new Map() + const N = '/lazy-compilation-using-' + const q = + k.protocol === 'https' || + (typeof k.server === 'object' && + ('key' in k.server || 'pfx' in k.server)) + const ae = + typeof k.server === 'function' + ? k.server + : (() => { + const v = q ? E(95687) : E(13685) + return v.createServer.bind(v, k.server) + })() + const le = + typeof k.listen === 'function' + ? k.listen + : (v) => { + let E = k.listen + if (typeof E === 'object' && !('port' in E)) + E = { ...E, port: undefined } + v.listen(E) + } + const pe = k.protocol || (q ? 'https' : 'http') + const requestListener = (k, E) => { + const P = k.url.slice(N.length).split('@') + k.socket.on('close', () => { + setTimeout(() => { + for (const k of P) { + const v = L.get(k) || 0 + L.set(k, v - 1) + if (v === 1) { + R.log( + `${k} is no longer in use. Next compilation will skip this module.` + ) + } + } + }, 12e4) + }) + k.socket.setNoDelay(true) + E.writeHead(200, { + 'content-type': 'text/event-stream', + 'Access-Control-Allow-Origin': '*', + 'Access-Control-Allow-Methods': '*', + 'Access-Control-Allow-Headers': '*', + }) + E.write('\n') + let q = false + for (const k of P) { + const v = L.get(k) || 0 + L.set(k, v + 1) + if (v === 0) { + R.log(`${k} is now in use and will be compiled.`) + q = true + } + } + if (q && v.watching) v.watching.invalidate() + } + const me = ae() + me.on('request', requestListener) + let ye = false + const _e = new Set() + me.on('connection', (k) => { + _e.add(k) + k.on('close', () => { + _e.delete(k) + }) + if (ye) k.destroy() + }) + me.on('clientError', (k) => { + if (k.message !== 'Server is disposing') R.warn(k) + }) + me.on('listening', (v) => { + if (v) return P(v) + const E = me.address() + if (typeof E === 'string') + throw new Error('addr must not be a string') + const q = + E.address === '::' || E.address === '0.0.0.0' + ? `${pe}://localhost:${E.port}` + : E.family === 'IPv6' + ? `${pe}://[${E.address}]:${E.port}` + : `${pe}://${E.address}:${E.port}` + R.log(`Server-Sent-Events server for lazy compilation open at ${q}.`) + P(null, { + dispose(k) { + ye = true + me.off('request', requestListener) + me.close((v) => { + k(v) + }) + for (const k of _e) { + k.destroy(new Error('Server is disposing')) + } + }, + module(v) { + const E = `${encodeURIComponent( + v.identifier().replace(/\\/g, '/').replace(/@/g, '_') + ).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g, decodeURIComponent)}` + const P = L.get(E) > 0 + return { + client: `${k.client}?${encodeURIComponent(q + N)}`, + data: E, + active: P, + } + }, + }) + }) + le(me) + } + }, + 1904: function (k, v, E) { + 'use strict' + const { find: P } = E(59959) + const { + compareModulesByPreOrderIndexOrIdentifier: R, + compareModulesByPostOrderIndexOrIdentifier: L, + } = E(95648) + class ChunkModuleIdRangePlugin { + constructor(k) { + this.options = k + } + apply(k) { + const v = this.options + k.hooks.compilation.tap('ChunkModuleIdRangePlugin', (k) => { + const E = k.moduleGraph + k.hooks.moduleIds.tap('ChunkModuleIdRangePlugin', (N) => { + const q = k.chunkGraph + const ae = P(k.chunks, (k) => k.name === v.name) + if (!ae) { + throw new Error( + `ChunkModuleIdRangePlugin: Chunk with name '${v.name}"' was not found` + ) + } + let le + if (v.order) { + let k + switch (v.order) { + case 'index': + case 'preOrderIndex': + k = R(E) + break + case 'index2': + case 'postOrderIndex': + k = L(E) + break + default: + throw new Error( + 'ChunkModuleIdRangePlugin: unexpected value of order' + ) + } + le = q.getOrderedChunkModules(ae, k) + } else { + le = Array.from(N) + .filter((k) => q.isModuleInChunk(k, ae)) + .sort(R(E)) + } + let pe = v.start || 0 + for (let k = 0; k < le.length; k++) { + const E = le[k] + if (E.needId && q.getModuleId(E) === null) { + q.setModuleId(E, pe++) + } + if (v.end && pe > v.end) break + } + }) + }) + } + } + k.exports = ChunkModuleIdRangePlugin + }, + 89002: function (k, v, E) { + 'use strict' + const { compareChunksNatural: P } = E(95648) + const { + getFullChunkName: R, + getUsedChunkIds: L, + assignDeterministicIds: N, + } = E(88667) + class DeterministicChunkIdsPlugin { + constructor(k = {}) { + this.options = k + } + apply(k) { + k.hooks.compilation.tap('DeterministicChunkIdsPlugin', (v) => { + v.hooks.chunkIds.tap('DeterministicChunkIdsPlugin', (E) => { + const q = v.chunkGraph + const ae = this.options.context ? this.options.context : k.context + const le = this.options.maxLength || 3 + const pe = P(q) + const me = L(v) + N( + Array.from(E).filter((k) => k.id === null), + (v) => R(v, q, ae, k.root), + pe, + (k, v) => { + const E = me.size + me.add(`${v}`) + if (E === me.size) return false + k.id = v + k.ids = [v] + return true + }, + [Math.pow(10, le)], + 10, + me.size + ) + }) + }) + } + } + k.exports = DeterministicChunkIdsPlugin + }, + 40288: function (k, v, E) { + 'use strict' + const { compareModulesByPreOrderIndexOrIdentifier: P } = E(95648) + const { + getUsedModuleIdsAndModules: R, + getFullModuleName: L, + assignDeterministicIds: N, + } = E(88667) + class DeterministicModuleIdsPlugin { + constructor(k = {}) { + this.options = k + } + apply(k) { + k.hooks.compilation.tap('DeterministicModuleIdsPlugin', (v) => { + v.hooks.moduleIds.tap('DeterministicModuleIdsPlugin', () => { + const E = v.chunkGraph + const q = this.options.context ? this.options.context : k.context + const ae = this.options.maxLength || 3 + const le = this.options.failOnConflict || false + const pe = this.options.fixedLength || false + const me = this.options.salt || 0 + let ye = 0 + const [_e, Ie] = R(v, this.options.test) + N( + Ie, + (v) => L(v, q, k.root), + le ? () => 0 : P(v.moduleGraph), + (k, v) => { + const P = _e.size + _e.add(`${v}`) + if (P === _e.size) { + ye++ + return false + } + E.setModuleId(k, v) + return true + }, + [Math.pow(10, ae)], + pe ? 0 : 10, + _e.size, + me + ) + if (le && ye) + throw new Error( + `Assigning deterministic module ids has lead to ${ye} conflict${ + ye > 1 ? 's' : '' + }.\nIncrease the 'maxLength' to increase the id space and make conflicts less likely (recommended when there are many conflicts or application is expected to grow), or add an 'salt' number to try another hash starting value in the same id space (recommended when there is only a single conflict).` + ) + }) + }) + } + } + k.exports = DeterministicModuleIdsPlugin + }, + 81973: function (k, v, E) { + 'use strict' + const { compareModulesByPreOrderIndexOrIdentifier: P } = E(95648) + const R = E(92198) + const L = E(74012) + const { getUsedModuleIdsAndModules: N, getFullModuleName: q } = E(88667) + const ae = R(E(9543), () => E(23884), { + name: 'Hashed Module Ids Plugin', + baseDataPath: 'options', + }) + class HashedModuleIdsPlugin { + constructor(k = {}) { + ae(k) + this.options = { + context: null, + hashFunction: 'md4', + hashDigest: 'base64', + hashDigestLength: 4, + ...k, + } + } + apply(k) { + const v = this.options + k.hooks.compilation.tap('HashedModuleIdsPlugin', (E) => { + E.hooks.moduleIds.tap('HashedModuleIdsPlugin', () => { + const R = E.chunkGraph + const ae = this.options.context ? this.options.context : k.context + const [le, pe] = N(E) + const me = pe.sort(P(E.moduleGraph)) + for (const E of me) { + const P = q(E, ae, k.root) + const N = L(v.hashFunction) + N.update(P || '') + const pe = N.digest(v.hashDigest) + let me = v.hashDigestLength + while (le.has(pe.slice(0, me))) me++ + const ye = pe.slice(0, me) + R.setModuleId(E, ye) + le.add(ye) + } + }) + }) + } + } + k.exports = HashedModuleIdsPlugin + }, + 88667: function (k, v, E) { + 'use strict' + const P = E(74012) + const { makePathsRelative: R } = E(65315) + const L = E(30747) + const getHash = (k, v, E) => { + const R = P(E) + R.update(k) + const L = R.digest('hex') + return L.slice(0, v) + } + const avoidNumber = (k) => { + if (k.length > 21) return k + const v = k.charCodeAt(0) + if (v < 49) { + if (v !== 45) return k + } else if (v > 57) { + return k + } + if (k === +k + '') { + return `_${k}` + } + return k + } + const requestToId = (k) => + k.replace(/^(\.\.?\/)+/, '').replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, '_') + v.requestToId = requestToId + const shortenLongString = (k, v, E) => { + if (k.length < 100) return k + return k.slice(0, 100 - 6 - v.length) + v + getHash(k, 6, E) + } + const getShortModuleName = (k, v, E) => { + const P = k.libIdent({ context: v, associatedObjectForCache: E }) + if (P) return avoidNumber(P) + const L = k.nameForCondition() + if (L) return avoidNumber(R(v, L, E)) + return '' + } + v.getShortModuleName = getShortModuleName + const getLongModuleName = (k, v, E, P, R) => { + const L = getFullModuleName(v, E, R) + return `${k}?${getHash(L, 4, P)}` + } + v.getLongModuleName = getLongModuleName + const getFullModuleName = (k, v, E) => R(v, k.identifier(), E) + v.getFullModuleName = getFullModuleName + const getShortChunkName = (k, v, E, P, R, L) => { + const N = v.getChunkRootModules(k) + const q = N.map((k) => requestToId(getShortModuleName(k, E, L))) + k.idNameHints.sort() + const ae = Array.from(k.idNameHints).concat(q).filter(Boolean).join(P) + return shortenLongString(ae, P, R) + } + v.getShortChunkName = getShortChunkName + const getLongChunkName = (k, v, E, P, R, L) => { + const N = v.getChunkRootModules(k) + const q = N.map((k) => requestToId(getShortModuleName(k, E, L))) + const ae = N.map((k) => requestToId(getLongModuleName('', k, E, R, L))) + k.idNameHints.sort() + const le = Array.from(k.idNameHints) + .concat(q, ae) + .filter(Boolean) + .join(P) + return shortenLongString(le, P, R) + } + v.getLongChunkName = getLongChunkName + const getFullChunkName = (k, v, E, P) => { + if (k.name) return k.name + const L = v.getChunkRootModules(k) + const N = L.map((k) => R(E, k.identifier(), P)) + return N.join() + } + v.getFullChunkName = getFullChunkName + const addToMapOfItems = (k, v, E) => { + let P = k.get(v) + if (P === undefined) { + P = [] + k.set(v, P) + } + P.push(E) + } + const getUsedModuleIdsAndModules = (k, v) => { + const E = k.chunkGraph + const P = [] + const R = new Set() + if (k.usedModuleIds) { + for (const v of k.usedModuleIds) { + R.add(v + '') + } + } + for (const L of k.modules) { + if (!L.needId) continue + const k = E.getModuleId(L) + if (k !== null) { + R.add(k + '') + } else { + if ((!v || v(L)) && E.getNumberOfModuleChunks(L) !== 0) { + P.push(L) + } + } + } + return [R, P] + } + v.getUsedModuleIdsAndModules = getUsedModuleIdsAndModules + const getUsedChunkIds = (k) => { + const v = new Set() + if (k.usedChunkIds) { + for (const E of k.usedChunkIds) { + v.add(E + '') + } + } + for (const E of k.chunks) { + const k = E.id + if (k !== null) { + v.add(k + '') + } + } + return v + } + v.getUsedChunkIds = getUsedChunkIds + const assignNames = (k, v, E, P, R, L) => { + const N = new Map() + for (const E of k) { + const k = v(E) + addToMapOfItems(N, k, E) + } + const q = new Map() + for (const [k, v] of N) { + if (v.length > 1 || !k) { + for (const P of v) { + const v = E(P, k) + addToMapOfItems(q, v, P) + } + } else { + addToMapOfItems(q, k, v[0]) + } + } + const ae = [] + for (const [k, v] of q) { + if (!k) { + for (const k of v) { + ae.push(k) + } + } else if (v.length === 1 && !R.has(k)) { + L(v[0], k) + R.add(k) + } else { + v.sort(P) + let E = 0 + for (const P of v) { + while (q.has(k + E) && R.has(k + E)) E++ + L(P, k + E) + R.add(k + E) + E++ + } + } + } + ae.sort(P) + return ae + } + v.assignNames = assignNames + const assignDeterministicIds = ( + k, + v, + E, + P, + R = [10], + N = 10, + q = 0, + ae = 0 + ) => { + k.sort(E) + const le = Math.min(k.length * 20 + q, Number.MAX_SAFE_INTEGER) + let pe = 0 + let me = R[pe] + while (me < le) { + pe++ + if (pe < R.length) { + me = Math.min(R[pe], Number.MAX_SAFE_INTEGER) + } else if (N) { + me = Math.min(me * N, Number.MAX_SAFE_INTEGER) + } else { + break + } + } + for (const E of k) { + const k = v(E) + let R + let N = ae + do { + R = L(k + N++, me) + } while (!P(E, R)) + } + } + v.assignDeterministicIds = assignDeterministicIds + const assignAscendingModuleIds = (k, v, E) => { + const P = E.chunkGraph + let R = 0 + let L + if (k.size > 0) { + L = (v) => { + if (P.getModuleId(v) === null) { + while (k.has(R + '')) R++ + P.setModuleId(v, R++) + } + } + } else { + L = (k) => { + if (P.getModuleId(k) === null) { + P.setModuleId(k, R++) + } + } + } + for (const k of v) { + L(k) + } + } + v.assignAscendingModuleIds = assignAscendingModuleIds + const assignAscendingChunkIds = (k, v) => { + const E = getUsedChunkIds(v) + let P = 0 + if (E.size > 0) { + for (const v of k) { + if (v.id === null) { + while (E.has(P + '')) P++ + v.id = P + v.ids = [P] + P++ + } + } + } else { + for (const v of k) { + if (v.id === null) { + v.id = P + v.ids = [P] + P++ + } + } + } + } + v.assignAscendingChunkIds = assignAscendingChunkIds + }, + 38372: function (k, v, E) { + 'use strict' + const { compareChunksNatural: P } = E(95648) + const { + getShortChunkName: R, + getLongChunkName: L, + assignNames: N, + getUsedChunkIds: q, + assignAscendingChunkIds: ae, + } = E(88667) + class NamedChunkIdsPlugin { + constructor(k) { + this.delimiter = (k && k.delimiter) || '-' + this.context = k && k.context + } + apply(k) { + k.hooks.compilation.tap('NamedChunkIdsPlugin', (v) => { + const E = v.outputOptions.hashFunction + v.hooks.chunkIds.tap('NamedChunkIdsPlugin', (le) => { + const pe = v.chunkGraph + const me = this.context ? this.context : k.context + const ye = this.delimiter + const _e = N( + Array.from(le).filter((k) => { + if (k.name) { + k.id = k.name + k.ids = [k.name] + } + return k.id === null + }), + (v) => R(v, pe, me, ye, E, k.root), + (v) => L(v, pe, me, ye, E, k.root), + P(pe), + q(v), + (k, v) => { + k.id = v + k.ids = [v] + } + ) + if (_e.length > 0) { + ae(_e, v) + } + }) + }) + } + } + k.exports = NamedChunkIdsPlugin + }, + 64908: function (k, v, E) { + 'use strict' + const { compareModulesByIdentifier: P } = E(95648) + const { + getShortModuleName: R, + getLongModuleName: L, + assignNames: N, + getUsedModuleIdsAndModules: q, + assignAscendingModuleIds: ae, + } = E(88667) + class NamedModuleIdsPlugin { + constructor(k = {}) { + this.options = k + } + apply(k) { + const { root: v } = k + k.hooks.compilation.tap('NamedModuleIdsPlugin', (E) => { + const le = E.outputOptions.hashFunction + E.hooks.moduleIds.tap('NamedModuleIdsPlugin', () => { + const pe = E.chunkGraph + const me = this.options.context ? this.options.context : k.context + const [ye, _e] = q(E) + const Ie = N( + _e, + (k) => R(k, me, v), + (k, E) => L(E, k, me, le, v), + P, + ye, + (k, v) => pe.setModuleId(k, v) + ) + if (Ie.length > 0) { + ae(ye, Ie, E) + } + }) + }) + } + } + k.exports = NamedModuleIdsPlugin + }, + 76914: function (k, v, E) { + 'use strict' + const { compareChunksNatural: P } = E(95648) + const { assignAscendingChunkIds: R } = E(88667) + class NaturalChunkIdsPlugin { + apply(k) { + k.hooks.compilation.tap('NaturalChunkIdsPlugin', (k) => { + k.hooks.chunkIds.tap('NaturalChunkIdsPlugin', (v) => { + const E = k.chunkGraph + const L = P(E) + const N = Array.from(v).sort(L) + R(N, k) + }) + }) + } + } + k.exports = NaturalChunkIdsPlugin + }, + 98122: function (k, v, E) { + 'use strict' + const { compareModulesByPreOrderIndexOrIdentifier: P } = E(95648) + const { assignAscendingModuleIds: R, getUsedModuleIdsAndModules: L } = + E(88667) + class NaturalModuleIdsPlugin { + apply(k) { + k.hooks.compilation.tap('NaturalModuleIdsPlugin', (k) => { + k.hooks.moduleIds.tap('NaturalModuleIdsPlugin', (v) => { + const [E, N] = L(k) + N.sort(P(k.moduleGraph)) + R(E, N, k) + }) + }) + } + } + k.exports = NaturalModuleIdsPlugin + }, + 12976: function (k, v, E) { + 'use strict' + const { compareChunksNatural: P } = E(95648) + const R = E(92198) + const { assignAscendingChunkIds: L } = E(88667) + const N = R(E(59169), () => E(41565), { + name: 'Occurrence Order Chunk Ids Plugin', + baseDataPath: 'options', + }) + class OccurrenceChunkIdsPlugin { + constructor(k = {}) { + N(k) + this.options = k + } + apply(k) { + const v = this.options.prioritiseInitial + k.hooks.compilation.tap('OccurrenceChunkIdsPlugin', (k) => { + k.hooks.chunkIds.tap('OccurrenceChunkIdsPlugin', (E) => { + const R = k.chunkGraph + const N = new Map() + const q = P(R) + for (const k of E) { + let v = 0 + for (const E of k.groupsIterable) { + for (const k of E.parentsIterable) { + if (k.isInitial()) v++ + } + } + N.set(k, v) + } + const ae = Array.from(E).sort((k, E) => { + if (v) { + const v = N.get(k) + const P = N.get(E) + if (v > P) return -1 + if (v < P) return 1 + } + const P = k.getNumberOfGroups() + const R = E.getNumberOfGroups() + if (P > R) return -1 + if (P < R) return 1 + return q(k, E) + }) + L(ae, k) + }) + }) + } + } + k.exports = OccurrenceChunkIdsPlugin + }, + 40654: function (k, v, E) { + 'use strict' + const { compareModulesByPreOrderIndexOrIdentifier: P } = E(95648) + const R = E(92198) + const { assignAscendingModuleIds: L, getUsedModuleIdsAndModules: N } = + E(88667) + const q = R(E(98550), () => E(71967), { + name: 'Occurrence Order Module Ids Plugin', + baseDataPath: 'options', + }) + class OccurrenceModuleIdsPlugin { + constructor(k = {}) { + q(k) + this.options = k + } + apply(k) { + const v = this.options.prioritiseInitial + k.hooks.compilation.tap('OccurrenceModuleIdsPlugin', (k) => { + const E = k.moduleGraph + k.hooks.moduleIds.tap('OccurrenceModuleIdsPlugin', () => { + const R = k.chunkGraph + const [q, ae] = N(k) + const le = new Map() + const pe = new Map() + const me = new Map() + const ye = new Map() + for (const k of ae) { + let v = 0 + let E = 0 + for (const P of R.getModuleChunksIterable(k)) { + if (P.canBeInitial()) v++ + if (R.isEntryModuleInChunk(k, P)) E++ + } + me.set(k, v) + ye.set(k, E) + } + const countOccursInEntry = (k) => { + let v = 0 + for (const [P, R] of E.getIncomingConnectionsByOriginModule( + k + )) { + if (!P) continue + if (!R.some((k) => k.isTargetActive(undefined))) continue + v += me.get(P) || 0 + } + return v + } + const countOccurs = (k) => { + let v = 0 + for (const [P, L] of E.getIncomingConnectionsByOriginModule( + k + )) { + if (!P) continue + const k = R.getNumberOfModuleChunks(P) + for (const E of L) { + if (!E.isTargetActive(undefined)) continue + if (!E.dependency) continue + const P = E.dependency.getNumberOfIdOccurrences() + if (P === 0) continue + v += P * k + } + } + return v + } + if (v) { + for (const k of ae) { + const v = countOccursInEntry(k) + me.get(k) + ye.get(k) + le.set(k, v) + } + } + for (const k of ae) { + const v = + countOccurs(k) + R.getNumberOfModuleChunks(k) + ye.get(k) + pe.set(k, v) + } + const _e = P(k.moduleGraph) + ae.sort((k, E) => { + if (v) { + const v = le.get(k) + const P = le.get(E) + if (v > P) return -1 + if (v < P) return 1 + } + const P = pe.get(k) + const R = pe.get(E) + if (P > R) return -1 + if (P < R) return 1 + return _e(k, E) + }) + L(q, ae, k) + }) + }) + } + } + k.exports = OccurrenceModuleIdsPlugin + }, + 84441: function (k, v, E) { + 'use strict' + const { WebpackError: P } = E(94308) + const { getUsedModuleIdsAndModules: R } = E(88667) + const L = 'SyncModuleIdsPlugin' + class SyncModuleIdsPlugin { + constructor({ path: k, context: v, test: E, mode: P }) { + this._path = k + this._context = v + this._test = E || (() => true) + const R = !P || P === 'merge' || P === 'update' + this._read = R || P === 'read' + this._write = R || P === 'create' + this._prune = P === 'update' + } + apply(k) { + let v + let E = false + if (this._read) { + k.hooks.readRecords.tapAsync(L, (P) => { + const R = k.intermediateFileSystem + R.readFile(this._path, (k, R) => { + if (k) { + if (k.code !== 'ENOENT') { + return P(k) + } + return P() + } + const L = JSON.parse(R.toString()) + v = new Map() + for (const k of Object.keys(L)) { + v.set(k, L[k]) + } + E = false + return P() + }) + }) + } + if (this._write) { + k.hooks.emitRecords.tapAsync(L, (P) => { + if (!v || !E) return P() + const R = {} + const L = Array.from(v).sort(([k], [v]) => (k < v ? -1 : 1)) + for (const [k, v] of L) { + R[k] = v + } + const N = k.intermediateFileSystem + N.writeFile(this._path, JSON.stringify(R), P) + }) + } + k.hooks.thisCompilation.tap(L, (N) => { + const q = k.root + const ae = this._context || k.context + if (this._read) { + N.hooks.reviveModules.tap(L, (k, E) => { + if (!v) return + const { chunkGraph: L } = N + const [le, pe] = R(N, this._test) + for (const k of pe) { + const E = k.libIdent({ + context: ae, + associatedObjectForCache: q, + }) + if (!E) continue + const R = v.get(E) + const pe = `${R}` + if (le.has(pe)) { + const v = new P( + `SyncModuleIdsPlugin: Unable to restore id '${R}' from '${this._path}' as it's already used.` + ) + v.module = k + N.errors.push(v) + } + L.setModuleId(k, R) + le.add(pe) + } + }) + } + if (this._write) { + N.hooks.recordModules.tap(L, (k) => { + const { chunkGraph: P } = N + let R = v + if (!R) { + R = v = new Map() + } else if (this._prune) { + v = new Map() + } + for (const L of k) { + if (this._test(L)) { + const k = L.libIdent({ + context: ae, + associatedObjectForCache: q, + }) + if (!k) continue + const N = P.getModuleId(L) + if (N === null) continue + const le = R.get(k) + if (le !== N) { + E = true + } else if (v === R) { + continue + } + v.set(k, N) + } + } + if (v.size !== R.size) E = true + }) + } + }) + } + } + k.exports = SyncModuleIdsPlugin + }, + 94308: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = E(20631) + const lazyFunction = (k) => { + const v = R(k) + const f = (...k) => v()(...k) + return f + } + const mergeExports = (k, v) => { + const E = Object.getOwnPropertyDescriptors(v) + for (const v of Object.keys(E)) { + const P = E[v] + if (P.get) { + const E = P.get + Object.defineProperty(k, v, { + configurable: false, + enumerable: true, + get: R(E), + }) + } else if (typeof P.value === 'object') { + Object.defineProperty(k, v, { + configurable: false, + enumerable: true, + writable: false, + value: mergeExports({}, P.value), + }) + } else { + throw new Error( + 'Exposed values must be either a getter or an nested object' + ) + } + } + return Object.freeze(k) + } + const L = lazyFunction(() => E(10463)) + k.exports = mergeExports(L, { + get webpack() { + return E(10463) + }, + get validate() { + const k = E(38537) + const v = R(() => { + const k = E(11458) + const v = E(98625) + return (E) => k(v, E) + }) + return (E) => { + if (!k(E)) v()(E) + } + }, + get validateSchema() { + const k = E(11458) + return k + }, + get version() { + return E(35479).i8 + }, + get cli() { + return E(20069) + }, + get AutomaticPrefetchPlugin() { + return E(75250) + }, + get AsyncDependenciesBlock() { + return E(75081) + }, + get BannerPlugin() { + return E(13991) + }, + get Cache() { + return E(89802) + }, + get Chunk() { + return E(8247) + }, + get ChunkGraph() { + return E(38317) + }, + get CleanPlugin() { + return E(69155) + }, + get Compilation() { + return E(27747) + }, + get Compiler() { + return E(2170) + }, + get ConcatenationScope() { + return E(91213) + }, + get ContextExclusionPlugin() { + return E(41454) + }, + get ContextReplacementPlugin() { + return E(98047) + }, + get DefinePlugin() { + return E(91602) + }, + get DelegatedPlugin() { + return E(27064) + }, + get Dependency() { + return E(16848) + }, + get DllPlugin() { + return E(97765) + }, + get DllReferencePlugin() { + return E(95619) + }, + get DynamicEntryPlugin() { + return E(54602) + }, + get EntryOptionPlugin() { + return E(26591) + }, + get EntryPlugin() { + return E(17570) + }, + get EnvironmentPlugin() { + return E(32149) + }, + get EvalDevToolModulePlugin() { + return E(87543) + }, + get EvalSourceMapDevToolPlugin() { + return E(21234) + }, + get ExternalModule() { + return E(10849) + }, + get ExternalsPlugin() { + return E(53757) + }, + get Generator() { + return E(91597) + }, + get HotUpdateChunk() { + return E(95733) + }, + get HotModuleReplacementPlugin() { + return E(29898) + }, + get IgnorePlugin() { + return E(69200) + }, + get JavascriptModulesPlugin() { + return P.deprecate( + () => E(89168), + 'webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin', + 'DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN' + )() + }, + get LibManifestPlugin() { + return E(98060) + }, + get LibraryTemplatePlugin() { + return P.deprecate( + () => E(9021), + '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 E(69056) + }, + get LoaderTargetPlugin() { + return E(49429) + }, + get Module() { + return E(88396) + }, + get ModuleFilenameHelpers() { + return E(98612) + }, + get ModuleGraph() { + return E(88223) + }, + get ModuleGraphConnection() { + return E(86267) + }, + get NoEmitOnErrorsPlugin() { + return E(75018) + }, + get NormalModule() { + return E(38224) + }, + get NormalModuleReplacementPlugin() { + return E(35548) + }, + get MultiCompiler() { + return E(47575) + }, + get Parser() { + return E(17381) + }, + get PrefetchPlugin() { + return E(93380) + }, + get ProgressPlugin() { + return E(6535) + }, + get ProvidePlugin() { + return E(73238) + }, + get RuntimeGlobals() { + return E(56727) + }, + get RuntimeModule() { + return E(27462) + }, + get SingleEntryPlugin() { + return P.deprecate( + () => E(17570), + 'SingleEntryPlugin was renamed to EntryPlugin', + 'DEP_WEBPACK_SINGLE_ENTRY_PLUGIN' + )() + }, + get SourceMapDevToolPlugin() { + return E(83814) + }, + get Stats() { + return E(26288) + }, + get Template() { + return E(95041) + }, + get UsageState() { + return E(11172).UsageState + }, + get WatchIgnorePlugin() { + return E(38849) + }, + get WebpackError() { + return E(71572) + }, + get WebpackOptionsApply() { + return E(27826) + }, + get WebpackOptionsDefaulter() { + return P.deprecate( + () => E(21247), + 'webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults', + 'DEP_WEBPACK_OPTIONS_DEFAULTER' + )() + }, + get WebpackOptionsValidationError() { + return E(38476).ValidationError + }, + get ValidationError() { + return E(38476).ValidationError + }, + cache: { + get MemoryCachePlugin() { + return E(66494) + }, + }, + config: { + get getNormalizedWebpackOptions() { + return E(47339).getNormalizedWebpackOptions + }, + get applyWebpackOptionsDefaults() { + return E(25801).applyWebpackOptionsDefaults + }, + }, + dependencies: { + get ModuleDependency() { + return E(77373) + }, + get HarmonyImportDependency() { + return E(69184) + }, + get ConstDependency() { + return E(60381) + }, + get NullDependency() { + return E(53139) + }, + }, + ids: { + get ChunkModuleIdRangePlugin() { + return E(1904) + }, + get NaturalModuleIdsPlugin() { + return E(98122) + }, + get OccurrenceModuleIdsPlugin() { + return E(40654) + }, + get NamedModuleIdsPlugin() { + return E(64908) + }, + get DeterministicChunkIdsPlugin() { + return E(89002) + }, + get DeterministicModuleIdsPlugin() { + return E(40288) + }, + get NamedChunkIdsPlugin() { + return E(38372) + }, + get OccurrenceChunkIdsPlugin() { + return E(12976) + }, + get HashedModuleIdsPlugin() { + return E(81973) + }, + }, + javascript: { + get EnableChunkLoadingPlugin() { + return E(73126) + }, + get JavascriptModulesPlugin() { + return E(89168) + }, + get JavascriptParser() { + return E(81532) + }, + }, + optimize: { + get AggressiveMergingPlugin() { + return E(3952) + }, + get AggressiveSplittingPlugin() { + return P.deprecate( + () => E(21684), + 'AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin', + 'DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN' + )() + }, + get InnerGraph() { + return E(88926) + }, + get LimitChunkCountPlugin() { + return E(17452) + }, + get MinChunkSizePlugin() { + return E(25971) + }, + get ModuleConcatenationPlugin() { + return E(30899) + }, + get RealContentHashPlugin() { + return E(71183) + }, + get RuntimeChunkPlugin() { + return E(89921) + }, + get SideEffectsFlagPlugin() { + return E(57214) + }, + get SplitChunksPlugin() { + return E(30829) + }, + }, + runtime: { + get GetChunkFilenameRuntimeModule() { + return E(10582) + }, + get LoadScriptRuntimeModule() { + return E(42159) + }, + }, + prefetch: { + get ChunkPrefetchPreloadPlugin() { + return E(37247) + }, + }, + web: { + get FetchCompileAsyncWasmPlugin() { + return E(52576) + }, + get FetchCompileWasmPlugin() { + return E(99900) + }, + get JsonpChunkLoadingRuntimeModule() { + return E(97810) + }, + get JsonpTemplatePlugin() { + return E(68511) + }, + }, + webworker: { + get WebWorkerTemplatePlugin() { + return E(20514) + }, + }, + node: { + get NodeEnvironmentPlugin() { + return E(74983) + }, + get NodeSourcePlugin() { + return E(44513) + }, + get NodeTargetPlugin() { + return E(56976) + }, + get NodeTemplatePlugin() { + return E(74578) + }, + get ReadFileCompileWasmPlugin() { + return E(63506) + }, + }, + electron: { + get ElectronTargetPlugin() { + return E(27558) + }, + }, + wasm: { + get AsyncWebAssemblyModulesPlugin() { + return E(70006) + }, + get EnableWasmLoadingPlugin() { + return E(50792) + }, + }, + library: { + get AbstractLibraryPlugin() { + return E(15893) + }, + get EnableLibraryPlugin() { + return E(60234) + }, + }, + container: { + get ContainerPlugin() { + return E(59826) + }, + get ContainerReferencePlugin() { + return E(10223) + }, + get ModuleFederationPlugin() { + return E(71863) + }, + get scope() { + return E(34869).scope + }, + }, + sharing: { + get ConsumeSharedPlugin() { + return E(73485) + }, + get ProvideSharedPlugin() { + return E(70610) + }, + get SharePlugin() { + return E(38084) + }, + get scope() { + return E(34869).scope + }, + }, + debug: { + get ProfilingPlugin() { + return E(85865) + }, + }, + util: { + get createHash() { + return E(74012) + }, + get comparators() { + return E(95648) + }, + get runtime() { + return E(1540) + }, + get serialization() { + return E(52456) + }, + get cleverMerge() { + return E(99454).cachedCleverMerge + }, + get LazySet() { + return E(12359) + }, + }, + get sources() { + return E(51255) + }, + experiments: { + schemes: { + get HttpUriPlugin() { + return E(73500) + }, + }, + ids: { + get SyncModuleIdsPlugin() { + return E(84441) + }, + }, + }, + }) + }, + 39799: function (k, v, E) { + 'use strict' + const { ConcatSource: P, PrefixSource: R, RawSource: L } = E(51255) + const { RuntimeGlobals: N } = E(94308) + const q = E(95733) + const ae = E(95041) + const { getCompilationHooks: le } = E(89168) + const { generateEntryStartup: pe, updateHashForEntryStartup: me } = + E(73777) + class ArrayPushCallbackChunkFormatPlugin { + apply(k) { + k.hooks.thisCompilation.tap( + 'ArrayPushCallbackChunkFormatPlugin', + (k) => { + k.hooks.additionalChunkRuntimeRequirements.tap( + 'ArrayPushCallbackChunkFormatPlugin', + (k, v, { chunkGraph: E }) => { + if (k.hasRuntime()) return + if (E.getNumberOfEntryModules(k) > 0) { + v.add(N.onChunksLoaded) + v.add(N.require) + } + v.add(N.chunkCallback) + } + ) + const v = le(k) + v.renderChunk.tap( + 'ArrayPushCallbackChunkFormatPlugin', + (E, le) => { + const { chunk: me, chunkGraph: ye, runtimeTemplate: _e } = le + const Ie = me instanceof q ? me : null + const Me = _e.globalObject + const Te = new P() + const je = ye.getChunkRuntimeModulesInOrder(me) + if (Ie) { + const k = _e.outputOptions.hotUpdateGlobal + Te.add(`${Me}[${JSON.stringify(k)}](`) + Te.add(`${JSON.stringify(me.id)},`) + Te.add(E) + if (je.length > 0) { + Te.add(',\n') + const k = ae.renderChunkRuntimeModules(je, le) + Te.add(k) + } + Te.add(')') + } else { + const q = _e.outputOptions.chunkLoadingGlobal + Te.add( + `(${Me}[${JSON.stringify(q)}] = ${Me}[${JSON.stringify( + q + )}] || []).push([` + ) + Te.add(`${JSON.stringify(me.ids)},`) + Te.add(E) + const Ie = Array.from( + ye.getChunkEntryModulesWithChunkGroupIterable(me) + ) + if (je.length > 0 || Ie.length > 0) { + const E = new P( + (_e.supportsArrowFunction() + ? `${N.require} =>` + : `function(${N.require})`) + + ' { // webpackRuntimeModules\n' + ) + if (je.length > 0) { + E.add( + ae.renderRuntimeModules(je, { + ...le, + codeGenerationResults: k.codeGenerationResults, + }) + ) + } + if (Ie.length > 0) { + const k = new L(pe(ye, _e, Ie, me, true)) + E.add( + v.renderStartup.call(k, Ie[Ie.length - 1][0], { + ...le, + inlined: false, + }) + ) + if ( + ye + .getChunkRuntimeRequirements(me) + .has(N.returnExportsFromRuntime) + ) { + E.add(`return ${N.exports};\n`) + } + } + E.add('}\n') + Te.add(',\n') + Te.add(new R('/******/ ', E)) + } + Te.add('])') + } + return Te + } + ) + v.chunkHash.tap( + 'ArrayPushCallbackChunkFormatPlugin', + (k, v, { chunkGraph: E, runtimeTemplate: P }) => { + if (k.hasRuntime()) return + v.update( + `ArrayPushCallbackChunkFormatPlugin1${P.outputOptions.chunkLoadingGlobal}${P.outputOptions.hotUpdateGlobal}${P.globalObject}` + ) + const R = Array.from( + E.getChunkEntryModulesWithChunkGroupIterable(k) + ) + me(v, E, R, k) + } + ) + } + ) + } + } + k.exports = ArrayPushCallbackChunkFormatPlugin + }, + 70037: function (k) { + 'use strict' + const v = 0 + const E = 1 + const P = 2 + const R = 3 + const L = 4 + const N = 5 + const q = 6 + const ae = 7 + const le = 8 + const pe = 9 + const me = 10 + const ye = 11 + const _e = 12 + const Ie = 13 + class BasicEvaluatedExpression { + constructor() { + this.type = v + 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.getMembersOptionals = undefined + this.getMemberRanges = undefined + this.expression = undefined + } + isUnknown() { + return this.type === v + } + isNull() { + return this.type === P + } + isUndefined() { + return this.type === E + } + isString() { + return this.type === R + } + isNumber() { + return this.type === L + } + isBigInt() { + return this.type === Ie + } + isBoolean() { + return this.type === N + } + isRegExp() { + return this.type === q + } + isConditional() { + return this.type === ae + } + isArray() { + return this.type === le + } + isConstArray() { + return this.type === pe + } + isIdentifier() { + return this.type === me + } + isWrapped() { + return this.type === ye + } + isTemplateString() { + return this.type === _e + } + isPrimitiveType() { + switch (this.type) { + case E: + case P: + case R: + case L: + case N: + case Ie: + case ye: + case _e: + return true + case q: + case le: + case pe: + return false + default: + return undefined + } + } + isCompileTimeValue() { + switch (this.type) { + case E: + case P: + case R: + case L: + case N: + case q: + case pe: + case Ie: + return true + default: + return false + } + } + asCompileTimeValue() { + switch (this.type) { + case E: + return undefined + case P: + return null + case R: + return this.string + case L: + return this.number + case N: + return this.bool + case q: + return this.regExp + case pe: + return this.array + case Ie: + 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 k = this.asString() + if (typeof k === 'string') return k !== '' + } + return undefined + } + asNullish() { + const k = this.isNullish() + if (k === true || this.isNull() || this.isUndefined()) return true + if (k === 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 k = [] + for (const v of this.items) { + const E = v.asString() + if (E === undefined) return undefined + k.push(E) + } + return `${k}` + } + if (this.isConstArray()) return `${this.array}` + if (this.isTemplateString()) { + let k = '' + for (const v of this.parts) { + const E = v.asString() + if (E === undefined) return undefined + k += E + } + return k + } + return undefined + } + setString(k) { + this.type = R + this.string = k + this.sideEffects = false + return this + } + setUndefined() { + this.type = E + this.sideEffects = false + return this + } + setNull() { + this.type = P + this.sideEffects = false + return this + } + setNumber(k) { + this.type = L + this.number = k + this.sideEffects = false + return this + } + setBigInt(k) { + this.type = Ie + this.bigint = k + this.sideEffects = false + return this + } + setBoolean(k) { + this.type = N + this.bool = k + this.sideEffects = false + return this + } + setRegExp(k) { + this.type = q + this.regExp = k + this.sideEffects = false + return this + } + setIdentifier(k, v, E, P, R) { + this.type = me + this.identifier = k + this.rootInfo = v + this.getMembers = E + this.getMembersOptionals = P + this.getMemberRanges = R + this.sideEffects = true + return this + } + setWrapped(k, v, E) { + this.type = ye + this.prefix = k + this.postfix = v + this.wrappedInnerExpressions = E + this.sideEffects = true + return this + } + setOptions(k) { + this.type = ae + this.options = k + this.sideEffects = true + return this + } + addOptions(k) { + if (!this.options) { + this.type = ae + this.options = [] + this.sideEffects = true + } + for (const v of k) { + this.options.push(v) + } + return this + } + setItems(k) { + this.type = le + this.items = k + this.sideEffects = k.some((k) => k.couldHaveSideEffects()) + return this + } + setArray(k) { + this.type = pe + this.array = k + this.sideEffects = false + return this + } + setTemplateString(k, v, E) { + this.type = _e + this.quasis = k + this.parts = v + this.templateStringKind = E + this.sideEffects = v.some((k) => k.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(k) { + this.nullish = k + if (k) return this.setFalsy() + return this + } + setRange(k) { + this.range = k + return this + } + setSideEffects(k = true) { + this.sideEffects = k + return this + } + setExpression(k) { + this.expression = k + return this + } + } + BasicEvaluatedExpression.isValidRegExpFlags = (k) => { + const v = k.length + if (v === 0) return true + if (v > 4) return false + let E = 0 + for (let P = 0; P < v; P++) + switch (k.charCodeAt(P)) { + case 103: + if (E & 8) return false + E |= 8 + break + case 105: + if (E & 4) return false + E |= 4 + break + case 109: + if (E & 2) return false + E |= 2 + break + case 121: + if (E & 1) return false + E |= 1 + break + default: + return false + } + return true + } + k.exports = BasicEvaluatedExpression + }, + 72130: function (k, v, E) { + 'use strict' + const P = E(10969) + const getAllChunks = (k, v, E) => { + const R = new Set([k]) + const L = new Set() + for (const k of R) { + for (const P of k.chunks) { + if (P === v) continue + if (P === E) continue + L.add(P) + } + for (const v of k.parentsIterable) { + if (v instanceof P) R.add(v) + } + } + return L + } + v.getAllChunks = getAllChunks + }, + 45542: function (k, v, E) { + 'use strict' + const { ConcatSource: P, RawSource: R } = E(51255) + const L = E(56727) + const N = E(95041) + const { getChunkFilenameTemplate: q, getCompilationHooks: ae } = E(89168) + const { generateEntryStartup: le, updateHashForEntryStartup: pe } = + E(73777) + class CommonJsChunkFormatPlugin { + apply(k) { + k.hooks.thisCompilation.tap('CommonJsChunkFormatPlugin', (k) => { + k.hooks.additionalChunkRuntimeRequirements.tap( + 'CommonJsChunkLoadingPlugin', + (k, v, { chunkGraph: E }) => { + if (k.hasRuntime()) return + if (E.getNumberOfEntryModules(k) > 0) { + v.add(L.require) + v.add(L.startupEntrypoint) + v.add(L.externalInstallChunk) + } + } + ) + const v = ae(k) + v.renderChunk.tap('CommonJsChunkFormatPlugin', (E, ae) => { + const { chunk: pe, chunkGraph: me, runtimeTemplate: ye } = ae + const _e = new P() + _e.add(`exports.id = ${JSON.stringify(pe.id)};\n`) + _e.add(`exports.ids = ${JSON.stringify(pe.ids)};\n`) + _e.add(`exports.modules = `) + _e.add(E) + _e.add(';\n') + const Ie = me.getChunkRuntimeModulesInOrder(pe) + if (Ie.length > 0) { + _e.add('exports.runtime =\n') + _e.add(N.renderChunkRuntimeModules(Ie, ae)) + } + const Me = Array.from( + me.getChunkEntryModulesWithChunkGroupIterable(pe) + ) + if (Me.length > 0) { + const E = Me[0][1].getRuntimeChunk() + const N = k + .getPath(q(pe, k.outputOptions), { + chunk: pe, + contentHashType: 'javascript', + }) + .split('/') + const Ie = k + .getPath(q(E, k.outputOptions), { + chunk: E, + contentHashType: 'javascript', + }) + .split('/') + N.pop() + while (N.length > 0 && Ie.length > 0 && N[0] === Ie[0]) { + N.shift() + Ie.shift() + } + const Te = + (N.length > 0 ? '../'.repeat(N.length) : './') + Ie.join('/') + const je = new P() + je.add( + `(${ye.supportsArrowFunction() ? '() => ' : 'function() '}{\n` + ) + je.add('var exports = {};\n') + je.add(_e) + je.add(';\n\n// load runtime\n') + je.add(`var ${L.require} = require(${JSON.stringify(Te)});\n`) + je.add(`${L.externalInstallChunk}(exports);\n`) + const Ne = new R(le(me, ye, Me, pe, false)) + je.add( + v.renderStartup.call(Ne, Me[Me.length - 1][0], { + ...ae, + inlined: false, + }) + ) + je.add('\n})()') + return je + } + return _e + }) + v.chunkHash.tap( + 'CommonJsChunkFormatPlugin', + (k, v, { chunkGraph: E }) => { + if (k.hasRuntime()) return + v.update('CommonJsChunkFormatPlugin') + v.update('1') + const P = Array.from( + E.getChunkEntryModulesWithChunkGroupIterable(k) + ) + pe(v, E, P, k) + } + ) + }) + } + } + k.exports = CommonJsChunkFormatPlugin + }, + 73126: function (k, v, E) { + 'use strict' + const P = new WeakMap() + const getEnabledTypes = (k) => { + let v = P.get(k) + if (v === undefined) { + v = new Set() + P.set(k, v) + } + return v + } + class EnableChunkLoadingPlugin { + constructor(k) { + this.type = k + } + static setEnabled(k, v) { + getEnabledTypes(k).add(v) + } + static checkEnabled(k, v) { + if (!getEnabledTypes(k).has(v)) { + throw new Error( + `Chunk loading type "${v}" 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 chunk loading types to "output.enabledChunkLoadingTypes". ' + + 'These types are enabled: ' + + Array.from(getEnabledTypes(k)).join(', ') + ) + } + } + apply(k) { + const { type: v } = this + const P = getEnabledTypes(k) + if (P.has(v)) return + P.add(v) + if (typeof v === 'string') { + switch (v) { + case 'jsonp': { + const v = E(58746) + new v().apply(k) + break + } + case 'import-scripts': { + const v = E(9366) + new v().apply(k) + break + } + case 'require': { + const v = E(16574) + new v({ asyncChunkLoading: false }).apply(k) + break + } + case 'async-node': { + const v = E(16574) + new v({ asyncChunkLoading: true }).apply(k) + break + } + case 'import': { + const v = E(21879) + new v().apply(k) + break + } + case 'universal': + throw new Error( + 'Universal Chunk Loading is not implemented yet' + ) + default: + throw new Error( + `Unsupported chunk loading type ${v}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.` + ) + } + } else { + } + } + } + k.exports = EnableChunkLoadingPlugin + }, + 2166: function (k, v, E) { + 'use strict' + const P = E(73837) + const { RawSource: R, ReplaceSource: L } = E(51255) + const N = E(91597) + const q = E(88113) + const ae = E(2075) + const le = P.deprecate( + (k, v, E) => k.getInitFragments(v, E), + 'DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)', + 'DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS' + ) + const pe = new Set(['javascript']) + class JavascriptGenerator extends N { + getTypes(k) { + return pe + } + getSize(k, v) { + const E = k.originalSource() + if (!E) { + return 39 + } + return E.size() + } + getConcatenationBailoutReason(k, v) { + if ( + !k.buildMeta || + k.buildMeta.exportsType !== 'namespace' || + k.presentationalDependencies === undefined || + !k.presentationalDependencies.some((k) => k instanceof ae) + ) { + return 'Module is not an ECMAScript module' + } + if (k.buildInfo && k.buildInfo.moduleConcatenationBailout) { + return `Module uses ${k.buildInfo.moduleConcatenationBailout}` + } + } + generate(k, v) { + const E = k.originalSource() + if (!E) { + return new R("throw new Error('No source available');") + } + const P = new L(E) + const N = [] + this.sourceModule(k, N, P, v) + return q.addToSource(P, N, v) + } + sourceModule(k, v, E, P) { + for (const R of k.dependencies) { + this.sourceDependency(k, R, v, E, P) + } + if (k.presentationalDependencies !== undefined) { + for (const R of k.presentationalDependencies) { + this.sourceDependency(k, R, v, E, P) + } + } + for (const R of k.blocks) { + this.sourceBlock(k, R, v, E, P) + } + } + sourceBlock(k, v, E, P, R) { + for (const L of v.dependencies) { + this.sourceDependency(k, L, E, P, R) + } + for (const L of v.blocks) { + this.sourceBlock(k, L, E, P, R) + } + } + sourceDependency(k, v, E, P, R) { + const L = v.constructor + const N = R.dependencyTemplates.get(L) + if (!N) { + throw new Error('No template for dependency: ' + v.constructor.name) + } + const q = { + runtimeTemplate: R.runtimeTemplate, + dependencyTemplates: R.dependencyTemplates, + moduleGraph: R.moduleGraph, + chunkGraph: R.chunkGraph, + module: k, + runtime: R.runtime, + runtimeRequirements: R.runtimeRequirements, + concatenationScope: R.concatenationScope, + codeGenerationResults: R.codeGenerationResults, + initFragments: E, + } + N.apply(v, P, q) + if ('getInitFragments' in N) { + const k = le(N, v, q) + if (k) { + for (const v of k) { + E.push(v) + } + } + } + } + } + k.exports = JavascriptGenerator + }, + 89168: function (k, v, E) { + 'use strict' + const { SyncWaterfallHook: P, SyncHook: R, SyncBailHook: L } = E(79846) + const N = E(26144) + const { + ConcatSource: q, + OriginalSource: ae, + PrefixSource: le, + RawSource: pe, + CachedSource: me, + } = E(51255) + const ye = E(27747) + const { tryRunOrWebpackError: _e } = E(82104) + const Ie = E(95733) + const Me = E(88113) + const { + JAVASCRIPT_MODULE_TYPE_AUTO: Te, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: je, + JAVASCRIPT_MODULE_TYPE_ESM: Ne, + WEBPACK_MODULE_TYPE_RUNTIME: Be, + } = E(93622) + const qe = E(56727) + const Ue = E(95041) + const { last: Ge, someInIterable: He } = E(54480) + const We = E(96181) + const { compareModulesByIdentifier: Qe } = E(95648) + const Je = E(74012) + const Ve = E(64119) + const { intersectRuntime: Ke } = E(1540) + const Ye = E(2166) + const Xe = E(81532) + const chunkHasJs = (k, v) => { + if (v.getNumberOfEntryModules(k) > 0) return true + return v.getChunkModulesIterableBySourceType(k, 'javascript') + ? true + : false + } + const printGeneratedCodeForStack = (k, v) => { + const E = v.split('\n') + const P = `${E.length}`.length + return `\n\nGenerated code for ${k.identifier()}\n${E.map((k, v, E) => { + const R = `${v + 1}` + return `${' '.repeat(P - R.length)}${R} | ${k}` + }).join('\n')}` + } + const Ze = new WeakMap() + const et = 'JavascriptModulesPlugin' + class JavascriptModulesPlugin { + static getCompilationHooks(k) { + if (!(k instanceof ye)) { + throw new TypeError( + "The 'compilation' argument must be an instance of Compilation" + ) + } + let v = Ze.get(k) + if (v === undefined) { + v = { + renderModuleContent: new P(['source', 'module', 'renderContext']), + renderModuleContainer: new P([ + 'source', + 'module', + 'renderContext', + ]), + renderModulePackage: new P(['source', 'module', 'renderContext']), + render: new P(['source', 'renderContext']), + renderContent: new P(['source', 'renderContext']), + renderStartup: new P([ + 'source', + 'module', + 'startupRenderContext', + ]), + renderChunk: new P(['source', 'renderContext']), + renderMain: new P(['source', 'renderContext']), + renderRequire: new P(['code', 'renderContext']), + inlineInRuntimeBailout: new L(['module', 'renderContext']), + embedInRuntimeBailout: new L(['module', 'renderContext']), + strictRuntimeBailout: new L(['renderContext']), + chunkHash: new R(['chunk', 'hash', 'context']), + useSourceMap: new L(['chunk', 'renderContext']), + } + Ze.set(k, v) + } + return v + } + constructor(k = {}) { + this.options = k + this._moduleFactoryCache = new WeakMap() + } + apply(k) { + k.hooks.compilation.tap(et, (k, { normalModuleFactory: v }) => { + const E = JavascriptModulesPlugin.getCompilationHooks(k) + v.hooks.createParser.for(Te).tap(et, (k) => new Xe('auto')) + v.hooks.createParser.for(je).tap(et, (k) => new Xe('script')) + v.hooks.createParser.for(Ne).tap(et, (k) => new Xe('module')) + v.hooks.createGenerator.for(Te).tap(et, () => new Ye()) + v.hooks.createGenerator.for(je).tap(et, () => new Ye()) + v.hooks.createGenerator.for(Ne).tap(et, () => new Ye()) + k.hooks.renderManifest.tap(et, (v, P) => { + const { + hash: R, + chunk: L, + chunkGraph: N, + moduleGraph: q, + runtimeTemplate: ae, + dependencyTemplates: le, + outputOptions: pe, + codeGenerationResults: me, + } = P + const ye = L instanceof Ie ? L : null + let _e + const Me = JavascriptModulesPlugin.getChunkFilenameTemplate(L, pe) + if (ye) { + _e = () => + this.renderChunk( + { + chunk: L, + dependencyTemplates: le, + runtimeTemplate: ae, + moduleGraph: q, + chunkGraph: N, + codeGenerationResults: me, + strictMode: ae.isModule(), + }, + E + ) + } else if (L.hasRuntime()) { + _e = () => + this.renderMain( + { + hash: R, + chunk: L, + dependencyTemplates: le, + runtimeTemplate: ae, + moduleGraph: q, + chunkGraph: N, + codeGenerationResults: me, + strictMode: ae.isModule(), + }, + E, + k + ) + } else { + if (!chunkHasJs(L, N)) { + return v + } + _e = () => + this.renderChunk( + { + chunk: L, + dependencyTemplates: le, + runtimeTemplate: ae, + moduleGraph: q, + chunkGraph: N, + codeGenerationResults: me, + strictMode: ae.isModule(), + }, + E + ) + } + v.push({ + render: _e, + filenameTemplate: Me, + pathOptions: { + hash: R, + runtime: L.runtime, + chunk: L, + contentHashType: 'javascript', + }, + info: { javascriptModule: k.runtimeTemplate.isModule() }, + identifier: ye ? `hotupdatechunk${L.id}` : `chunk${L.id}`, + hash: L.contentHash.javascript, + }) + return v + }) + k.hooks.chunkHash.tap(et, (k, v, P) => { + E.chunkHash.call(k, v, P) + if (k.hasRuntime()) { + this.updateHashWithBootstrap( + v, + { + hash: '0000', + chunk: k, + codeGenerationResults: P.codeGenerationResults, + chunkGraph: P.chunkGraph, + moduleGraph: P.moduleGraph, + runtimeTemplate: P.runtimeTemplate, + }, + E + ) + } + }) + k.hooks.contentHash.tap(et, (v) => { + const { + chunkGraph: P, + codeGenerationResults: R, + moduleGraph: L, + runtimeTemplate: N, + outputOptions: { + hashSalt: q, + hashDigest: ae, + hashDigestLength: le, + hashFunction: pe, + }, + } = k + const me = Je(pe) + if (q) me.update(q) + if (v.hasRuntime()) { + this.updateHashWithBootstrap( + me, + { + hash: '0000', + chunk: v, + codeGenerationResults: R, + chunkGraph: k.chunkGraph, + moduleGraph: k.moduleGraph, + runtimeTemplate: k.runtimeTemplate, + }, + E + ) + } else { + me.update(`${v.id} `) + me.update(v.ids ? v.ids.join(',') : '') + } + E.chunkHash.call(v, me, { + chunkGraph: P, + codeGenerationResults: R, + moduleGraph: L, + runtimeTemplate: N, + }) + const ye = P.getChunkModulesIterableBySourceType(v, 'javascript') + if (ye) { + const k = new We() + for (const E of ye) { + k.add(P.getModuleHash(E, v.runtime)) + } + k.updateHash(me) + } + const _e = P.getChunkModulesIterableBySourceType(v, Be) + if (_e) { + const k = new We() + for (const E of _e) { + k.add(P.getModuleHash(E, v.runtime)) + } + k.updateHash(me) + } + const Ie = me.digest(ae) + v.contentHash.javascript = Ve(Ie, le) + }) + k.hooks.additionalTreeRuntimeRequirements.tap( + et, + (k, v, { chunkGraph: E }) => { + if ( + !v.has(qe.startupNoDefault) && + E.hasChunkEntryDependentChunks(k) + ) { + v.add(qe.onChunksLoaded) + v.add(qe.require) + } + } + ) + k.hooks.executeModule.tap(et, (k, v) => { + const E = k.codeGenerationResult.sources.get('javascript') + if (E === undefined) return + const { module: P, moduleObject: R } = k + const L = E.source() + const q = N.runInThisContext( + `(function(${P.moduleArgument}, ${P.exportsArgument}, ${qe.require}) {\n${L}\n/**/})`, + { filename: P.identifier(), lineOffset: -1 } + ) + try { + q.call(R.exports, R, R.exports, v.__webpack_require__) + } catch (v) { + v.stack += printGeneratedCodeForStack(k.module, L) + throw v + } + }) + k.hooks.executeModule.tap(et, (k, v) => { + const E = k.codeGenerationResult.sources.get('runtime') + if (E === undefined) return + let P = E.source() + if (typeof P !== 'string') P = P.toString() + const R = N.runInThisContext( + `(function(${qe.require}) {\n${P}\n/**/})`, + { filename: k.module.identifier(), lineOffset: -1 } + ) + try { + R.call(null, v.__webpack_require__) + } catch (v) { + v.stack += printGeneratedCodeForStack(k.module, P) + throw v + } + }) + }) + } + static getChunkFilenameTemplate(k, v) { + if (k.filenameTemplate) { + return k.filenameTemplate + } else if (k instanceof Ie) { + return v.hotUpdateChunkFilename + } else if (k.canBeInitial()) { + return v.filename + } else { + return v.chunkFilename + } + } + renderModule(k, v, E, P) { + const { + chunk: R, + chunkGraph: L, + runtimeTemplate: N, + codeGenerationResults: ae, + strictMode: le, + } = v + try { + const pe = ae.get(k, R.runtime) + const ye = pe.sources.get('javascript') + if (!ye) return null + if (pe.data !== undefined) { + const k = pe.data.get('chunkInitFragments') + if (k) { + for (const E of k) v.chunkInitFragments.push(E) + } + } + const Ie = _e( + () => E.renderModuleContent.call(ye, k, v), + 'JavascriptModulesPlugin.getCompilationHooks().renderModuleContent' + ) + let Me + if (P) { + const P = L.getModuleRuntimeRequirements(k, R.runtime) + const ae = P.has(qe.module) + const pe = P.has(qe.exports) + const ye = P.has(qe.require) || P.has(qe.requireScope) + const Te = P.has(qe.thisAsExports) + const je = k.buildInfo.strict && !le + const Ne = this._moduleFactoryCache.get(Ie) + let Be + if ( + Ne && + Ne.needModule === ae && + Ne.needExports === pe && + Ne.needRequire === ye && + Ne.needThisAsExports === Te && + Ne.needStrict === je + ) { + Be = Ne.source + } else { + const v = new q() + const E = [] + if (pe || ye || ae) + E.push( + ae + ? k.moduleArgument + : '__unused_webpack_' + k.moduleArgument + ) + if (pe || ye) + E.push( + pe + ? k.exportsArgument + : '__unused_webpack_' + k.exportsArgument + ) + if (ye) E.push(qe.require) + if (!Te && N.supportsArrowFunction()) { + v.add('/***/ ((' + E.join(', ') + ') => {\n\n') + } else { + v.add('/***/ (function(' + E.join(', ') + ') {\n\n') + } + if (je) { + v.add('"use strict";\n') + } + v.add(Ie) + v.add('\n\n/***/ })') + Be = new me(v) + this._moduleFactoryCache.set(Ie, { + source: Be, + needModule: ae, + needExports: pe, + needRequire: ye, + needThisAsExports: Te, + needStrict: je, + }) + } + Me = _e( + () => E.renderModuleContainer.call(Be, k, v), + 'JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer' + ) + } else { + Me = Ie + } + return _e( + () => E.renderModulePackage.call(Me, k, v), + 'JavascriptModulesPlugin.getCompilationHooks().renderModulePackage' + ) + } catch (v) { + v.module = k + throw v + } + } + renderChunk(k, v) { + const { chunk: E, chunkGraph: P } = k + const R = P.getOrderedChunkModulesIterableBySourceType( + E, + 'javascript', + Qe + ) + const L = R ? Array.from(R) : [] + let N + let ae = k.strictMode + if (!ae && L.every((k) => k.buildInfo.strict)) { + const E = v.strictRuntimeBailout.call(k) + N = E + ? `// runtime can't be in strict mode because ${E}.\n` + : '"use strict";\n' + if (!E) ae = true + } + const le = { ...k, chunkInitFragments: [], strictMode: ae } + const me = + Ue.renderChunkModules(le, L, (k) => + this.renderModule(k, le, v, true) + ) || new pe('{}') + let ye = _e( + () => v.renderChunk.call(me, le), + 'JavascriptModulesPlugin.getCompilationHooks().renderChunk' + ) + ye = _e( + () => v.renderContent.call(ye, le), + 'JavascriptModulesPlugin.getCompilationHooks().renderContent' + ) + if (!ye) { + throw new Error( + 'JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something' + ) + } + ye = Me.addToSource(ye, le.chunkInitFragments, le) + ye = _e( + () => v.render.call(ye, le), + 'JavascriptModulesPlugin.getCompilationHooks().render' + ) + if (!ye) { + throw new Error( + 'JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something' + ) + } + E.rendered = true + return N + ? new q(N, ye, ';') + : k.runtimeTemplate.isModule() + ? ye + : new q(ye, ';') + } + renderMain(k, v, E) { + const { chunk: P, chunkGraph: R, runtimeTemplate: L } = k + const N = R.getTreeRuntimeRequirements(P) + const me = L.isIIFE() + const ye = this.renderBootstrap(k, v) + const Ie = v.useSourceMap.call(P, k) + const Te = Array.from( + R.getOrderedChunkModulesIterableBySourceType(P, 'javascript', Qe) || + [] + ) + const je = R.getNumberOfEntryModules(P) > 0 + let Ne + if (ye.allowInlineStartup && je) { + Ne = new Set(R.getChunkEntryModulesIterable(P)) + } + let Be = new q() + let He + if (me) { + if (L.supportsArrowFunction()) { + Be.add('/******/ (() => { // webpackBootstrap\n') + } else { + Be.add('/******/ (function() { // webpackBootstrap\n') + } + He = '/******/ \t' + } else { + He = '/******/ ' + } + let We = k.strictMode + if (!We && Te.every((k) => k.buildInfo.strict)) { + const E = v.strictRuntimeBailout.call(k) + if (E) { + Be.add(He + `// runtime can't be in strict mode because ${E}.\n`) + } else { + We = true + Be.add(He + '"use strict";\n') + } + } + const Je = { ...k, chunkInitFragments: [], strictMode: We } + const Ve = Ue.renderChunkModules( + Je, + Ne ? Te.filter((k) => !Ne.has(k)) : Te, + (k) => this.renderModule(k, Je, v, true), + He + ) + if ( + Ve || + N.has(qe.moduleFactories) || + N.has(qe.moduleFactoriesAddOnly) || + N.has(qe.require) + ) { + Be.add(He + 'var __webpack_modules__ = (') + Be.add(Ve || '{}') + Be.add(');\n') + Be.add( + '/************************************************************************/\n' + ) + } + if (ye.header.length > 0) { + const k = Ue.asString(ye.header) + '\n' + Be.add(new le(He, Ie ? new ae(k, 'webpack/bootstrap') : new pe(k))) + Be.add( + '/************************************************************************/\n' + ) + } + const Ke = k.chunkGraph.getChunkRuntimeModulesInOrder(P) + if (Ke.length > 0) { + Be.add(new le(He, Ue.renderRuntimeModules(Ke, Je))) + Be.add( + '/************************************************************************/\n' + ) + for (const k of Ke) { + E.codeGeneratedModules.add(k) + } + } + if (Ne) { + if (ye.beforeStartup.length > 0) { + const k = Ue.asString(ye.beforeStartup) + '\n' + Be.add( + new le(He, Ie ? new ae(k, 'webpack/before-startup') : new pe(k)) + ) + } + const E = Ge(Ne) + const me = new q() + me.add(`var ${qe.exports} = {};\n`) + for (const N of Ne) { + const q = this.renderModule(N, Je, v, false) + if (q) { + const ae = !We && N.buildInfo.strict + const le = R.getModuleRuntimeRequirements(N, P.runtime) + const pe = le.has(qe.exports) + const ye = pe && N.exportsArgument === qe.exports + let _e = ae + ? 'it need to be in strict mode.' + : Ne.size > 1 + ? 'it need to be isolated against other entry modules.' + : Ve + ? 'it need to be isolated against other modules in the chunk.' + : pe && !ye + ? `it uses a non-standard name for the exports (${N.exportsArgument}).` + : v.embedInRuntimeBailout.call(N, k) + let Ie + if (_e !== undefined) { + me.add( + `// This entry need to be wrapped in an IIFE because ${_e}\n` + ) + const k = L.supportsArrowFunction() + if (k) { + me.add('(() => {\n') + Ie = '\n})();\n\n' + } else { + me.add('!function() {\n') + Ie = '\n}();\n' + } + if (ae) me.add('"use strict";\n') + } else { + Ie = '\n' + } + if (pe) { + if (N !== E) me.add(`var ${N.exportsArgument} = {};\n`) + else if (N.exportsArgument !== qe.exports) + me.add(`var ${N.exportsArgument} = ${qe.exports};\n`) + } + me.add(q) + me.add(Ie) + } + } + if (N.has(qe.onChunksLoaded)) { + me.add(`${qe.exports} = ${qe.onChunksLoaded}(${qe.exports});\n`) + } + Be.add(v.renderStartup.call(me, E, { ...k, inlined: true })) + if (ye.afterStartup.length > 0) { + const k = Ue.asString(ye.afterStartup) + '\n' + Be.add( + new le(He, Ie ? new ae(k, 'webpack/after-startup') : new pe(k)) + ) + } + } else { + const E = Ge(R.getChunkEntryModulesIterable(P)) + const L = Ie + ? (k, v) => new ae(Ue.asString(k), v) + : (k) => new pe(Ue.asString(k)) + Be.add( + new le( + He, + new q( + L(ye.beforeStartup, 'webpack/before-startup'), + '\n', + v.renderStartup.call( + L(ye.startup.concat(''), 'webpack/startup'), + E, + { ...k, inlined: false } + ), + L(ye.afterStartup, 'webpack/after-startup'), + '\n' + ) + ) + ) + } + if (je && N.has(qe.returnExportsFromRuntime)) { + Be.add(`${He}return ${qe.exports};\n`) + } + if (me) { + Be.add('/******/ })()\n') + } + let Ye = _e( + () => v.renderMain.call(Be, k), + 'JavascriptModulesPlugin.getCompilationHooks().renderMain' + ) + if (!Ye) { + throw new Error( + 'JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something' + ) + } + Ye = _e( + () => v.renderContent.call(Ye, k), + 'JavascriptModulesPlugin.getCompilationHooks().renderContent' + ) + if (!Ye) { + throw new Error( + 'JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something' + ) + } + Ye = Me.addToSource(Ye, Je.chunkInitFragments, Je) + Ye = _e( + () => v.render.call(Ye, k), + 'JavascriptModulesPlugin.getCompilationHooks().render' + ) + if (!Ye) { + throw new Error( + 'JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something' + ) + } + P.rendered = true + return me ? new q(Ye, ';') : Ye + } + updateHashWithBootstrap(k, v, E) { + const P = this.renderBootstrap(v, E) + for (const v of Object.keys(P)) { + k.update(v) + if (Array.isArray(P[v])) { + for (const E of P[v]) { + k.update(E) + } + } else { + k.update(JSON.stringify(P[v])) + } + } + } + renderBootstrap(k, v) { + const { + chunkGraph: E, + codeGenerationResults: P, + moduleGraph: R, + chunk: L, + runtimeTemplate: N, + } = k + const q = E.getTreeRuntimeRequirements(L) + const ae = q.has(qe.require) + const le = q.has(qe.moduleCache) + const pe = q.has(qe.moduleFactories) + const me = q.has(qe.module) + const ye = q.has(qe.requireScope) + const _e = q.has(qe.interceptModuleExecution) + const Ie = ae || _e || me + const Me = { + header: [], + beforeStartup: [], + startup: [], + afterStartup: [], + allowInlineStartup: true, + } + let { + header: Te, + startup: je, + beforeStartup: Ne, + afterStartup: Be, + } = Me + if (Me.allowInlineStartup && pe) { + je.push( + '// module factories are used so entry inlining is disabled' + ) + Me.allowInlineStartup = false + } + if (Me.allowInlineStartup && le) { + je.push('// module cache are used so entry inlining is disabled') + Me.allowInlineStartup = false + } + if (Me.allowInlineStartup && _e) { + je.push( + '// module execution is intercepted so entry inlining is disabled' + ) + Me.allowInlineStartup = false + } + if (Ie || le) { + Te.push('// The module cache') + Te.push('var __webpack_module_cache__ = {};') + Te.push('') + } + if (Ie) { + Te.push('// The require function') + Te.push(`function ${qe.require}(moduleId) {`) + Te.push(Ue.indent(this.renderRequire(k, v))) + Te.push('}') + Te.push('') + } else if (q.has(qe.requireScope)) { + Te.push('// The require scope') + Te.push(`var ${qe.require} = {};`) + Te.push('') + } + if (pe || q.has(qe.moduleFactoriesAddOnly)) { + Te.push('// expose the modules object (__webpack_modules__)') + Te.push(`${qe.moduleFactories} = __webpack_modules__;`) + Te.push('') + } + if (le) { + Te.push('// expose the module cache') + Te.push(`${qe.moduleCache} = __webpack_module_cache__;`) + Te.push('') + } + if (_e) { + Te.push('// expose the module execution interceptor') + Te.push(`${qe.interceptModuleExecution} = [];`) + Te.push('') + } + if (!q.has(qe.startupNoDefault)) { + if (E.getNumberOfEntryModules(L) > 0) { + const q = [] + const ae = E.getTreeRuntimeRequirements(L) + q.push('// Load entry module and return exports') + let le = E.getNumberOfEntryModules(L) + for (const [ + pe, + me, + ] of E.getChunkEntryModulesWithChunkGroupIterable(L)) { + const _e = me.chunks.filter((k) => k !== L) + if (Me.allowInlineStartup && _e.length > 0) { + q.push( + '// This entry module depends on other loaded chunks and execution need to be delayed' + ) + Me.allowInlineStartup = false + } + if ( + Me.allowInlineStartup && + He( + R.getIncomingConnectionsByOriginModule(pe), + ([k, v]) => + k && + v.some((k) => k.isTargetActive(L.runtime)) && + He( + E.getModuleRuntimes(k), + (k) => Ke(k, L.runtime) !== undefined + ) + ) + ) { + q.push( + "// This entry module is referenced by other modules so it can't be inlined" + ) + Me.allowInlineStartup = false + } + let Te + if (P.has(pe, L.runtime)) { + const k = P.get(pe, L.runtime) + Te = k.data + } + if ( + Me.allowInlineStartup && + (!Te || !Te.get('topLevelDeclarations')) && + (!pe.buildInfo || !pe.buildInfo.topLevelDeclarations) + ) { + q.push( + "// This entry module doesn't tell about it's top-level declarations so it can't be inlined" + ) + Me.allowInlineStartup = false + } + if (Me.allowInlineStartup) { + const E = v.inlineInRuntimeBailout.call(pe, k) + if (E !== undefined) { + q.push(`// This entry module can't be inlined because ${E}`) + Me.allowInlineStartup = false + } + } + le-- + const je = E.getModuleId(pe) + const Ne = E.getModuleRuntimeRequirements(pe, L.runtime) + let Be = JSON.stringify(je) + if (ae.has(qe.entryModuleId)) { + Be = `${qe.entryModuleId} = ${Be}` + } + if (Me.allowInlineStartup && Ne.has(qe.module)) { + Me.allowInlineStartup = false + q.push( + "// This entry module used 'module' so it can't be inlined" + ) + } + if (_e.length > 0) { + q.push( + `${le === 0 ? `var ${qe.exports} = ` : ''}${ + qe.onChunksLoaded + }(undefined, ${JSON.stringify( + _e.map((k) => k.id) + )}, ${N.returningFunction(`${qe.require}(${Be})`)})` + ) + } else if (Ie) { + q.push( + `${le === 0 ? `var ${qe.exports} = ` : ''}${ + qe.require + }(${Be});` + ) + } else { + if (le === 0) q.push(`var ${qe.exports} = {};`) + if (ye) { + q.push( + `__webpack_modules__[${Be}](0, ${ + le === 0 ? qe.exports : '{}' + }, ${qe.require});` + ) + } else if (Ne.has(qe.exports)) { + q.push( + `__webpack_modules__[${Be}](0, ${ + le === 0 ? qe.exports : '{}' + });` + ) + } else { + q.push(`__webpack_modules__[${Be}]();`) + } + } + } + if (ae.has(qe.onChunksLoaded)) { + q.push(`${qe.exports} = ${qe.onChunksLoaded}(${qe.exports});`) + } + if ( + ae.has(qe.startup) || + (ae.has(qe.startupOnlyBefore) && ae.has(qe.startupOnlyAfter)) + ) { + Me.allowInlineStartup = false + Te.push('// the startup function') + Te.push( + `${qe.startup} = ${N.basicFunction('', [ + ...q, + `return ${qe.exports};`, + ])};` + ) + Te.push('') + je.push('// run startup') + je.push(`var ${qe.exports} = ${qe.startup}();`) + } else if (ae.has(qe.startupOnlyBefore)) { + Te.push('// the startup function') + Te.push(`${qe.startup} = ${N.emptyFunction()};`) + Ne.push('// run runtime startup') + Ne.push(`${qe.startup}();`) + je.push('// startup') + je.push(Ue.asString(q)) + } else if (ae.has(qe.startupOnlyAfter)) { + Te.push('// the startup function') + Te.push(`${qe.startup} = ${N.emptyFunction()};`) + je.push('// startup') + je.push(Ue.asString(q)) + Be.push('// run runtime startup') + Be.push(`${qe.startup}();`) + } else { + je.push('// startup') + je.push(Ue.asString(q)) + } + } else if ( + q.has(qe.startup) || + q.has(qe.startupOnlyBefore) || + q.has(qe.startupOnlyAfter) + ) { + Te.push( + '// the startup function', + "// It's empty as no entry modules are in this chunk", + `${qe.startup} = ${N.emptyFunction()};`, + '' + ) + } + } else if ( + q.has(qe.startup) || + q.has(qe.startupOnlyBefore) || + q.has(qe.startupOnlyAfter) + ) { + Me.allowInlineStartup = false + Te.push( + '// the startup function', + "// It's empty as some runtime module handles the default behavior", + `${qe.startup} = ${N.emptyFunction()};` + ) + je.push('// run startup') + je.push(`var ${qe.exports} = ${qe.startup}();`) + } + return Me + } + renderRequire(k, v) { + const { + chunk: E, + chunkGraph: P, + runtimeTemplate: { outputOptions: R }, + } = k + const L = P.getTreeRuntimeRequirements(E) + const N = L.has(qe.interceptModuleExecution) + ? Ue.asString([ + `var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: ${qe.require} };`, + `${qe.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`, + 'module = execOptions.module;', + 'execOptions.factory.call(module.exports, module, module.exports, execOptions.require);', + ]) + : L.has(qe.thisAsExports) + ? Ue.asString([ + `__webpack_modules__[moduleId].call(module.exports, module, module.exports, ${qe.require});`, + ]) + : Ue.asString([ + `__webpack_modules__[moduleId](module, module.exports, ${qe.require});`, + ]) + const q = L.has(qe.moduleId) + const ae = L.has(qe.moduleLoaded) + const le = Ue.asString([ + '// Check if module is in cache', + 'var cachedModule = __webpack_module_cache__[moduleId];', + 'if (cachedModule !== undefined) {', + R.strictModuleErrorHandling + ? Ue.indent([ + 'if (cachedModule.error !== undefined) throw cachedModule.error;', + 'return cachedModule.exports;', + ]) + : Ue.indent('return cachedModule.exports;'), + '}', + '// Create a new module (and put it into the cache)', + 'var module = __webpack_module_cache__[moduleId] = {', + Ue.indent([ + q ? 'id: moduleId,' : '// no module.id needed', + ae ? 'loaded: false,' : '// no module.loaded needed', + 'exports: {}', + ]), + '};', + '', + R.strictModuleExceptionHandling + ? Ue.asString([ + '// Execute the module function', + 'var threw = true;', + 'try {', + Ue.indent([N, 'threw = false;']), + '} finally {', + Ue.indent([ + 'if(threw) delete __webpack_module_cache__[moduleId];', + ]), + '}', + ]) + : R.strictModuleErrorHandling + ? Ue.asString([ + '// Execute the module function', + 'try {', + Ue.indent(N), + '} catch(e) {', + Ue.indent(['module.error = e;', 'throw e;']), + '}', + ]) + : Ue.asString(['// Execute the module function', N]), + ae + ? Ue.asString([ + '', + '// Flag the module as loaded', + `${qe.moduleLoaded} = true;`, + '', + ]) + : '', + '// Return the exports of the module', + 'return module.exports;', + ]) + return _e( + () => v.renderRequire.call(le, k), + 'JavascriptModulesPlugin.getCompilationHooks().renderRequire' + ) + } + } + k.exports = JavascriptModulesPlugin + k.exports.chunkHasJs = chunkHasJs + }, + 81532: function (k, v, E) { + 'use strict' + const { Parser: P } = E(31988) + const { importAssertions: R } = E(46348) + const { SyncBailHook: L, HookMap: N } = E(79846) + const q = E(26144) + const ae = E(17381) + const le = E(25728) + const pe = E(43759) + const me = E(20631) + const ye = E(70037) + const _e = [] + const Ie = 1 + const Me = 2 + const Te = 3 + const je = P.extend(R) + class VariableInfo { + constructor(k, v, E) { + this.declaredScope = k + this.freeName = v + this.tagInfo = E + } + } + const joinRanges = (k, v) => { + if (!v) return k + if (!k) return v + return [k[0], v[1]] + } + const objectAndMembersToName = (k, v) => { + let E = k + for (let k = v.length - 1; k >= 0; k--) { + E = E + '.' + v[k] + } + return E + } + const getRootName = (k) => { + switch (k.type) { + case 'Identifier': + return k.name + case 'ThisExpression': + return 'this' + case 'MetaProperty': + return `${k.meta.name}.${k.property.name}` + default: + return undefined + } + } + const Ne = { + ranges: true, + locations: true, + ecmaVersion: 'latest', + sourceType: 'module', + allowHashBang: true, + onComment: null, + } + const Be = new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/) + const qe = { options: null, errors: null } + class JavascriptParser extends ae { + constructor(k = 'auto') { + super() + this.hooks = Object.freeze({ + evaluateTypeof: new N(() => new L(['expression'])), + evaluate: new N(() => new L(['expression'])), + evaluateIdentifier: new N(() => new L(['expression'])), + evaluateDefinedIdentifier: new N(() => new L(['expression'])), + evaluateNewExpression: new N(() => new L(['expression'])), + evaluateCallExpression: new N(() => new L(['expression'])), + evaluateCallExpressionMember: new N( + () => new L(['expression', 'param']) + ), + isPure: new N(() => new L(['expression', 'commentsStartPosition'])), + preStatement: new L(['statement']), + blockPreStatement: new L(['declaration']), + statement: new L(['statement']), + statementIf: new L(['statement']), + classExtendsExpression: new L(['expression', 'classDefinition']), + classBodyElement: new L(['element', 'classDefinition']), + classBodyValue: new L(['expression', 'element', 'classDefinition']), + label: new N(() => new L(['statement'])), + import: new L(['statement', 'source']), + importSpecifier: new L([ + 'statement', + 'source', + 'exportName', + 'identifierName', + ]), + export: new L(['statement']), + exportImport: new L(['statement', 'source']), + exportDeclaration: new L(['statement', 'declaration']), + exportExpression: new L(['statement', 'declaration']), + exportSpecifier: new L([ + 'statement', + 'identifierName', + 'exportName', + 'index', + ]), + exportImportSpecifier: new L([ + 'statement', + 'source', + 'identifierName', + 'exportName', + 'index', + ]), + preDeclarator: new L(['declarator', 'statement']), + declarator: new L(['declarator', 'statement']), + varDeclaration: new N(() => new L(['declaration'])), + varDeclarationLet: new N(() => new L(['declaration'])), + varDeclarationConst: new N(() => new L(['declaration'])), + varDeclarationVar: new N(() => new L(['declaration'])), + pattern: new N(() => new L(['pattern'])), + canRename: new N(() => new L(['initExpression'])), + rename: new N(() => new L(['initExpression'])), + assign: new N(() => new L(['expression'])), + assignMemberChain: new N(() => new L(['expression', 'members'])), + typeof: new N(() => new L(['expression'])), + importCall: new L(['expression']), + topLevelAwait: new L(['expression']), + call: new N(() => new L(['expression'])), + callMemberChain: new N( + () => + new L([ + 'expression', + 'members', + 'membersOptionals', + 'memberRanges', + ]) + ), + memberChainOfCallMemberChain: new N( + () => + new L([ + 'expression', + 'calleeMembers', + 'callExpression', + 'members', + ]) + ), + callMemberChainOfCallMemberChain: new N( + () => + new L([ + 'expression', + 'calleeMembers', + 'innerCallExpression', + 'members', + ]) + ), + optionalChaining: new L(['optionalChaining']), + new: new N(() => new L(['expression'])), + binaryExpression: new L(['binaryExpression']), + expression: new N(() => new L(['expression'])), + expressionMemberChain: new N( + () => + new L([ + 'expression', + 'members', + 'membersOptionals', + 'memberRanges', + ]) + ), + unhandledExpressionMemberChain: new N( + () => new L(['expression', 'members']) + ), + expressionConditionalOperator: new L(['expression']), + expressionLogicalOperator: new L(['expression']), + program: new L(['ast', 'comments']), + finish: new L(['ast', 'comments']), + }) + this.sourceType = k + this.scope = undefined + this.state = undefined + this.comments = undefined + this.semicolons = undefined + this.statementPath = undefined + this.prevStatement = undefined + this.destructuringAssignmentProperties = undefined + this.currentTagData = undefined + this._initializeEvaluating() + } + _initializeEvaluating() { + this.hooks.evaluate.for('Literal').tap('JavascriptParser', (k) => { + const v = k + switch (typeof v.value) { + case 'number': + return new ye().setNumber(v.value).setRange(v.range) + case 'bigint': + return new ye().setBigInt(v.value).setRange(v.range) + case 'string': + return new ye().setString(v.value).setRange(v.range) + case 'boolean': + return new ye().setBoolean(v.value).setRange(v.range) + } + if (v.value === null) { + return new ye().setNull().setRange(v.range) + } + if (v.value instanceof RegExp) { + return new ye().setRegExp(v.value).setRange(v.range) + } + }) + this.hooks.evaluate + .for('NewExpression') + .tap('JavascriptParser', (k) => { + const v = k + const E = v.callee + if (E.type !== 'Identifier') return + if (E.name !== 'RegExp') { + return this.callHooksForName( + this.hooks.evaluateNewExpression, + E.name, + v + ) + } else if ( + v.arguments.length > 2 || + this.getVariableInfo('RegExp') !== 'RegExp' + ) + return + let P, R + const L = v.arguments[0] + if (L) { + if (L.type === 'SpreadElement') return + const k = this.evaluateExpression(L) + if (!k) return + P = k.asString() + if (!P) return + } else { + return new ye().setRegExp(new RegExp('')).setRange(v.range) + } + const N = v.arguments[1] + if (N) { + if (N.type === 'SpreadElement') return + const k = this.evaluateExpression(N) + if (!k) return + if (!k.isUndefined()) { + R = k.asString() + if (R === undefined || !ye.isValidRegExpFlags(R)) return + } + } + return new ye() + .setRegExp(R ? new RegExp(P, R) : new RegExp(P)) + .setRange(v.range) + }) + this.hooks.evaluate + .for('LogicalExpression') + .tap('JavascriptParser', (k) => { + const v = k + const E = this.evaluateExpression(v.left) + let P = false + let R + if (v.operator === '&&') { + const k = E.asBool() + if (k === false) return E.setRange(v.range) + P = k === true + R = false + } else if (v.operator === '||') { + const k = E.asBool() + if (k === true) return E.setRange(v.range) + P = k === false + R = true + } else if (v.operator === '??') { + const k = E.asNullish() + if (k === false) return E.setRange(v.range) + if (k !== true) return + P = true + } else return + const L = this.evaluateExpression(v.right) + if (P) { + if (E.couldHaveSideEffects()) L.setSideEffects() + return L.setRange(v.range) + } + const N = L.asBool() + if (R === true && N === true) { + return new ye().setRange(v.range).setTruthy() + } else if (R === false && N === false) { + return new ye().setRange(v.range).setFalsy() + } + }) + const valueAsExpression = (k, v, E) => { + switch (typeof k) { + case 'boolean': + return new ye() + .setBoolean(k) + .setSideEffects(E) + .setRange(v.range) + case 'number': + return new ye().setNumber(k).setSideEffects(E).setRange(v.range) + case 'bigint': + return new ye().setBigInt(k).setSideEffects(E).setRange(v.range) + case 'string': + return new ye().setString(k).setSideEffects(E).setRange(v.range) + } + } + this.hooks.evaluate + .for('BinaryExpression') + .tap('JavascriptParser', (k) => { + const v = k + const handleConstOperation = (k) => { + const E = this.evaluateExpression(v.left) + if (!E.isCompileTimeValue()) return + const P = this.evaluateExpression(v.right) + if (!P.isCompileTimeValue()) return + const R = k(E.asCompileTimeValue(), P.asCompileTimeValue()) + return valueAsExpression( + R, + v, + E.couldHaveSideEffects() || P.couldHaveSideEffects() + ) + } + const isAlwaysDifferent = (k, v) => + (k === true && v === false) || (k === false && v === true) + const handleTemplateStringCompare = (k, v, E, P) => { + const getPrefix = (k) => { + let v = '' + for (const E of k) { + const k = E.asString() + if (k !== undefined) v += k + else break + } + return v + } + const getSuffix = (k) => { + let v = '' + for (let E = k.length - 1; E >= 0; E--) { + const P = k[E].asString() + if (P !== undefined) v = P + v + else break + } + return v + } + const R = getPrefix(k.parts) + const L = getPrefix(v.parts) + const N = getSuffix(k.parts) + const q = getSuffix(v.parts) + const ae = Math.min(R.length, L.length) + const le = Math.min(N.length, q.length) + const pe = ae > 0 && R.slice(0, ae) !== L.slice(0, ae) + const me = le > 0 && N.slice(-le) !== q.slice(-le) + if (pe || me) { + return E.setBoolean(!P).setSideEffects( + k.couldHaveSideEffects() || v.couldHaveSideEffects() + ) + } + } + const handleStrictEqualityComparison = (k) => { + const E = this.evaluateExpression(v.left) + const P = this.evaluateExpression(v.right) + const R = new ye() + R.setRange(v.range) + const L = E.isCompileTimeValue() + const N = P.isCompileTimeValue() + if (L && N) { + return R.setBoolean( + k === (E.asCompileTimeValue() === P.asCompileTimeValue()) + ).setSideEffects( + E.couldHaveSideEffects() || P.couldHaveSideEffects() + ) + } + if (E.isArray() && P.isArray()) { + return R.setBoolean(!k).setSideEffects( + E.couldHaveSideEffects() || P.couldHaveSideEffects() + ) + } + if (E.isTemplateString() && P.isTemplateString()) { + return handleTemplateStringCompare(E, P, R, k) + } + const q = E.isPrimitiveType() + const ae = P.isPrimitiveType() + if ( + (q === false && (L || ae === true)) || + (ae === false && (N || q === true)) || + isAlwaysDifferent(E.asBool(), P.asBool()) || + isAlwaysDifferent(E.asNullish(), P.asNullish()) + ) { + return R.setBoolean(!k).setSideEffects( + E.couldHaveSideEffects() || P.couldHaveSideEffects() + ) + } + } + const handleAbstractEqualityComparison = (k) => { + const E = this.evaluateExpression(v.left) + const P = this.evaluateExpression(v.right) + const R = new ye() + R.setRange(v.range) + const L = E.isCompileTimeValue() + const N = P.isCompileTimeValue() + if (L && N) { + return R.setBoolean( + k === (E.asCompileTimeValue() == P.asCompileTimeValue()) + ).setSideEffects( + E.couldHaveSideEffects() || P.couldHaveSideEffects() + ) + } + if (E.isArray() && P.isArray()) { + return R.setBoolean(!k).setSideEffects( + E.couldHaveSideEffects() || P.couldHaveSideEffects() + ) + } + if (E.isTemplateString() && P.isTemplateString()) { + return handleTemplateStringCompare(E, P, R, k) + } + } + if (v.operator === '+') { + const k = this.evaluateExpression(v.left) + const E = this.evaluateExpression(v.right) + const P = new ye() + if (k.isString()) { + if (E.isString()) { + P.setString(k.string + E.string) + } else if (E.isNumber()) { + P.setString(k.string + E.number) + } else if (E.isWrapped() && E.prefix && E.prefix.isString()) { + P.setWrapped( + new ye() + .setString(k.string + E.prefix.string) + .setRange(joinRanges(k.range, E.prefix.range)), + E.postfix, + E.wrappedInnerExpressions + ) + } else if (E.isWrapped()) { + P.setWrapped(k, E.postfix, E.wrappedInnerExpressions) + } else { + P.setWrapped(k, null, [E]) + } + } else if (k.isNumber()) { + if (E.isString()) { + P.setString(k.number + E.string) + } else if (E.isNumber()) { + P.setNumber(k.number + E.number) + } else { + return + } + } else if (k.isBigInt()) { + if (E.isBigInt()) { + P.setBigInt(k.bigint + E.bigint) + } + } else if (k.isWrapped()) { + if (k.postfix && k.postfix.isString() && E.isString()) { + P.setWrapped( + k.prefix, + new ye() + .setString(k.postfix.string + E.string) + .setRange(joinRanges(k.postfix.range, E.range)), + k.wrappedInnerExpressions + ) + } else if ( + k.postfix && + k.postfix.isString() && + E.isNumber() + ) { + P.setWrapped( + k.prefix, + new ye() + .setString(k.postfix.string + E.number) + .setRange(joinRanges(k.postfix.range, E.range)), + k.wrappedInnerExpressions + ) + } else if (E.isString()) { + P.setWrapped(k.prefix, E, k.wrappedInnerExpressions) + } else if (E.isNumber()) { + P.setWrapped( + k.prefix, + new ye().setString(E.number + '').setRange(E.range), + k.wrappedInnerExpressions + ) + } else if (E.isWrapped()) { + P.setWrapped( + k.prefix, + E.postfix, + k.wrappedInnerExpressions && + E.wrappedInnerExpressions && + k.wrappedInnerExpressions + .concat(k.postfix ? [k.postfix] : []) + .concat(E.prefix ? [E.prefix] : []) + .concat(E.wrappedInnerExpressions) + ) + } else { + P.setWrapped( + k.prefix, + null, + k.wrappedInnerExpressions && + k.wrappedInnerExpressions.concat( + k.postfix ? [k.postfix, E] : [E] + ) + ) + } + } else { + if (E.isString()) { + P.setWrapped(null, E, [k]) + } else if (E.isWrapped()) { + P.setWrapped( + null, + E.postfix, + E.wrappedInnerExpressions && + (E.prefix ? [k, E.prefix] : [k]).concat( + E.wrappedInnerExpressions + ) + ) + } else { + return + } + } + if (k.couldHaveSideEffects() || E.couldHaveSideEffects()) + P.setSideEffects() + P.setRange(v.range) + return P + } else if (v.operator === '-') { + return handleConstOperation((k, v) => k - v) + } else if (v.operator === '*') { + return handleConstOperation((k, v) => k * v) + } else if (v.operator === '/') { + return handleConstOperation((k, v) => k / v) + } else if (v.operator === '**') { + return handleConstOperation((k, v) => k ** v) + } else if (v.operator === '===') { + return handleStrictEqualityComparison(true) + } else if (v.operator === '==') { + return handleAbstractEqualityComparison(true) + } else if (v.operator === '!==') { + return handleStrictEqualityComparison(false) + } else if (v.operator === '!=') { + return handleAbstractEqualityComparison(false) + } else if (v.operator === '&') { + return handleConstOperation((k, v) => k & v) + } else if (v.operator === '|') { + return handleConstOperation((k, v) => k | v) + } else if (v.operator === '^') { + return handleConstOperation((k, v) => k ^ v) + } else if (v.operator === '>>>') { + return handleConstOperation((k, v) => k >>> v) + } else if (v.operator === '>>') { + return handleConstOperation((k, v) => k >> v) + } else if (v.operator === '<<') { + return handleConstOperation((k, v) => k << v) + } else if (v.operator === '<') { + return handleConstOperation((k, v) => k < v) + } else if (v.operator === '>') { + return handleConstOperation((k, v) => k > v) + } else if (v.operator === '<=') { + return handleConstOperation((k, v) => k <= v) + } else if (v.operator === '>=') { + return handleConstOperation((k, v) => k >= v) + } + }) + this.hooks.evaluate + .for('UnaryExpression') + .tap('JavascriptParser', (k) => { + const v = k + const handleConstOperation = (k) => { + const E = this.evaluateExpression(v.argument) + if (!E.isCompileTimeValue()) return + const P = k(E.asCompileTimeValue()) + return valueAsExpression(P, v, E.couldHaveSideEffects()) + } + if (v.operator === 'typeof') { + switch (v.argument.type) { + case 'Identifier': { + const k = this.callHooksForName( + this.hooks.evaluateTypeof, + v.argument.name, + v + ) + if (k !== undefined) return k + break + } + case 'MetaProperty': { + const k = this.callHooksForName( + this.hooks.evaluateTypeof, + getRootName(v.argument), + v + ) + if (k !== undefined) return k + break + } + case 'MemberExpression': { + const k = this.callHooksForExpression( + this.hooks.evaluateTypeof, + v.argument, + v + ) + if (k !== undefined) return k + break + } + case 'ChainExpression': { + const k = this.callHooksForExpression( + this.hooks.evaluateTypeof, + v.argument.expression, + v + ) + if (k !== undefined) return k + break + } + case 'FunctionExpression': { + return new ye().setString('function').setRange(v.range) + } + } + const k = this.evaluateExpression(v.argument) + if (k.isUnknown()) return + if (k.isString()) { + return new ye().setString('string').setRange(v.range) + } + if (k.isWrapped()) { + return new ye() + .setString('string') + .setSideEffects() + .setRange(v.range) + } + if (k.isUndefined()) { + return new ye().setString('undefined').setRange(v.range) + } + if (k.isNumber()) { + return new ye().setString('number').setRange(v.range) + } + if (k.isBigInt()) { + return new ye().setString('bigint').setRange(v.range) + } + if (k.isBoolean()) { + return new ye().setString('boolean').setRange(v.range) + } + if (k.isConstArray() || k.isRegExp() || k.isNull()) { + return new ye().setString('object').setRange(v.range) + } + if (k.isArray()) { + return new ye() + .setString('object') + .setSideEffects(k.couldHaveSideEffects()) + .setRange(v.range) + } + } else if (v.operator === '!') { + const k = this.evaluateExpression(v.argument) + const E = k.asBool() + if (typeof E !== 'boolean') return + return new ye() + .setBoolean(!E) + .setSideEffects(k.couldHaveSideEffects()) + .setRange(v.range) + } else if (v.operator === '~') { + return handleConstOperation((k) => ~k) + } else if (v.operator === '+') { + return handleConstOperation((k) => +k) + } else if (v.operator === '-') { + return handleConstOperation((k) => -k) + } + }) + this.hooks.evaluateTypeof + .for('undefined') + .tap('JavascriptParser', (k) => + new ye().setString('undefined').setRange(k.range) + ) + this.hooks.evaluate.for('Identifier').tap('JavascriptParser', (k) => { + if (k.name === 'undefined') { + return new ye().setUndefined().setRange(k.range) + } + }) + const tapEvaluateWithVariableInfo = (k, v) => { + let E = undefined + let P = undefined + this.hooks.evaluate.for(k).tap('JavascriptParser', (k) => { + const R = k + const L = v(k) + if (L !== undefined) { + return this.callHooksForInfoWithFallback( + this.hooks.evaluateIdentifier, + L.name, + (k) => { + E = R + P = L + }, + (k) => { + const v = this.hooks.evaluateDefinedIdentifier.get(k) + if (v !== undefined) { + return v.call(R) + } + }, + R + ) + } + }) + this.hooks.evaluate + .for(k) + .tap({ name: 'JavascriptParser', stage: 100 }, (k) => { + const R = E === k ? P : v(k) + if (R !== undefined) { + return new ye() + .setIdentifier( + R.name, + R.rootInfo, + R.getMembers, + R.getMembersOptionals, + R.getMemberRanges + ) + .setRange(k.range) + } + }) + this.hooks.finish.tap('JavascriptParser', () => { + E = P = undefined + }) + } + tapEvaluateWithVariableInfo('Identifier', (k) => { + const v = this.getVariableInfo(k.name) + if ( + typeof v === 'string' || + (v instanceof VariableInfo && typeof v.freeName === 'string') + ) { + return { + name: v, + rootInfo: v, + getMembers: () => [], + getMembersOptionals: () => [], + getMemberRanges: () => [], + } + } + }) + tapEvaluateWithVariableInfo('ThisExpression', (k) => { + const v = this.getVariableInfo('this') + if ( + typeof v === 'string' || + (v instanceof VariableInfo && typeof v.freeName === 'string') + ) { + return { + name: v, + rootInfo: v, + getMembers: () => [], + getMembersOptionals: () => [], + getMemberRanges: () => [], + } + } + }) + this.hooks.evaluate + .for('MetaProperty') + .tap('JavascriptParser', (k) => { + const v = k + return this.callHooksForName( + this.hooks.evaluateIdentifier, + getRootName(k), + v + ) + }) + tapEvaluateWithVariableInfo('MemberExpression', (k) => + this.getMemberExpressionInfo(k, Me) + ) + this.hooks.evaluate + .for('CallExpression') + .tap('JavascriptParser', (k) => { + const v = k + if ( + v.callee.type === 'MemberExpression' && + v.callee.property.type === + (v.callee.computed ? 'Literal' : 'Identifier') + ) { + const k = this.evaluateExpression(v.callee.object) + const E = + v.callee.property.type === 'Literal' + ? `${v.callee.property.value}` + : v.callee.property.name + const P = this.hooks.evaluateCallExpressionMember.get(E) + if (P !== undefined) { + return P.call(v, k) + } + } else if (v.callee.type === 'Identifier') { + return this.callHooksForName( + this.hooks.evaluateCallExpression, + v.callee.name, + v + ) + } + }) + this.hooks.evaluateCallExpressionMember + .for('indexOf') + .tap('JavascriptParser', (k, v) => { + if (!v.isString()) return + if (k.arguments.length === 0) return + const [E, P] = k.arguments + if (E.type === 'SpreadElement') return + const R = this.evaluateExpression(E) + if (!R.isString()) return + const L = R.string + let N + if (P) { + if (P.type === 'SpreadElement') return + const k = this.evaluateExpression(P) + if (!k.isNumber()) return + N = v.string.indexOf(L, k.number) + } else { + N = v.string.indexOf(L) + } + return new ye() + .setNumber(N) + .setSideEffects(v.couldHaveSideEffects()) + .setRange(k.range) + }) + this.hooks.evaluateCallExpressionMember + .for('replace') + .tap('JavascriptParser', (k, v) => { + if (!v.isString()) return + if (k.arguments.length !== 2) return + if (k.arguments[0].type === 'SpreadElement') return + if (k.arguments[1].type === 'SpreadElement') return + let E = this.evaluateExpression(k.arguments[0]) + let P = this.evaluateExpression(k.arguments[1]) + if (!E.isString() && !E.isRegExp()) return + const R = E.regExp || E.string + if (!P.isString()) return + const L = P.string + return new ye() + .setString(v.string.replace(R, L)) + .setSideEffects(v.couldHaveSideEffects()) + .setRange(k.range) + }) + ;['substr', 'substring', 'slice'].forEach((k) => { + this.hooks.evaluateCallExpressionMember + .for(k) + .tap('JavascriptParser', (v, E) => { + if (!E.isString()) return + let P + let R, + L = E.string + switch (v.arguments.length) { + case 1: + if (v.arguments[0].type === 'SpreadElement') return + P = this.evaluateExpression(v.arguments[0]) + if (!P.isNumber()) return + R = L[k](P.number) + break + case 2: { + if (v.arguments[0].type === 'SpreadElement') return + if (v.arguments[1].type === 'SpreadElement') return + P = this.evaluateExpression(v.arguments[0]) + const E = this.evaluateExpression(v.arguments[1]) + if (!P.isNumber()) return + if (!E.isNumber()) return + R = L[k](P.number, E.number) + break + } + default: + return + } + return new ye() + .setString(R) + .setSideEffects(E.couldHaveSideEffects()) + .setRange(v.range) + }) + }) + const getSimplifiedTemplateResult = (k, v) => { + const E = [] + const P = [] + for (let R = 0; R < v.quasis.length; R++) { + const L = v.quasis[R] + const N = L.value[k] + if (R > 0) { + const k = P[P.length - 1] + const E = this.evaluateExpression(v.expressions[R - 1]) + const q = E.asString() + if (typeof q === 'string' && !E.couldHaveSideEffects()) { + k.setString(k.string + q + N) + k.setRange([k.range[0], L.range[1]]) + k.setExpression(undefined) + continue + } + P.push(E) + } + const q = new ye().setString(N).setRange(L.range).setExpression(L) + E.push(q) + P.push(q) + } + return { quasis: E, parts: P } + } + this.hooks.evaluate + .for('TemplateLiteral') + .tap('JavascriptParser', (k) => { + const v = k + const { quasis: E, parts: P } = getSimplifiedTemplateResult( + 'cooked', + v + ) + if (P.length === 1) { + return P[0].setRange(v.range) + } + return new ye() + .setTemplateString(E, P, 'cooked') + .setRange(v.range) + }) + this.hooks.evaluate + .for('TaggedTemplateExpression') + .tap('JavascriptParser', (k) => { + const v = k + const E = this.evaluateExpression(v.tag) + if (E.isIdentifier() && E.identifier === 'String.raw') { + const { quasis: k, parts: E } = getSimplifiedTemplateResult( + 'raw', + v.quasi + ) + return new ye().setTemplateString(k, E, 'raw').setRange(v.range) + } + }) + this.hooks.evaluateCallExpressionMember + .for('concat') + .tap('JavascriptParser', (k, v) => { + if (!v.isString() && !v.isWrapped()) return + let E = null + let P = false + const R = [] + for (let v = k.arguments.length - 1; v >= 0; v--) { + const L = k.arguments[v] + if (L.type === 'SpreadElement') return + const N = this.evaluateExpression(L) + if (P || (!N.isString() && !N.isNumber())) { + P = true + R.push(N) + continue + } + const q = N.isString() ? N.string : '' + N.number + const ae = q + (E ? E.string : '') + const le = [N.range[0], (E || N).range[1]] + E = new ye() + .setString(ae) + .setSideEffects( + (E && E.couldHaveSideEffects()) || N.couldHaveSideEffects() + ) + .setRange(le) + } + if (P) { + const P = v.isString() ? v : v.prefix + const L = + v.isWrapped() && v.wrappedInnerExpressions + ? v.wrappedInnerExpressions.concat(R.reverse()) + : R.reverse() + return new ye().setWrapped(P, E, L).setRange(k.range) + } else if (v.isWrapped()) { + const P = E || v.postfix + const L = v.wrappedInnerExpressions + ? v.wrappedInnerExpressions.concat(R.reverse()) + : R.reverse() + return new ye().setWrapped(v.prefix, P, L).setRange(k.range) + } else { + const P = v.string + (E ? E.string : '') + return new ye() + .setString(P) + .setSideEffects( + (E && E.couldHaveSideEffects()) || v.couldHaveSideEffects() + ) + .setRange(k.range) + } + }) + this.hooks.evaluateCallExpressionMember + .for('split') + .tap('JavascriptParser', (k, v) => { + if (!v.isString()) return + if (k.arguments.length !== 1) return + if (k.arguments[0].type === 'SpreadElement') return + let E + const P = this.evaluateExpression(k.arguments[0]) + if (P.isString()) { + E = v.string.split(P.string) + } else if (P.isRegExp()) { + E = v.string.split(P.regExp) + } else { + return + } + return new ye() + .setArray(E) + .setSideEffects(v.couldHaveSideEffects()) + .setRange(k.range) + }) + this.hooks.evaluate + .for('ConditionalExpression') + .tap('JavascriptParser', (k) => { + const v = k + const E = this.evaluateExpression(v.test) + const P = E.asBool() + let R + if (P === undefined) { + const k = this.evaluateExpression(v.consequent) + const E = this.evaluateExpression(v.alternate) + R = new ye() + if (k.isConditional()) { + R.setOptions(k.options) + } else { + R.setOptions([k]) + } + if (E.isConditional()) { + R.addOptions(E.options) + } else { + R.addOptions([E]) + } + } else { + R = this.evaluateExpression(P ? v.consequent : v.alternate) + if (E.couldHaveSideEffects()) R.setSideEffects() + } + R.setRange(v.range) + return R + }) + this.hooks.evaluate + .for('ArrayExpression') + .tap('JavascriptParser', (k) => { + const v = k + const E = v.elements.map( + (k) => + k !== null && + k.type !== 'SpreadElement' && + this.evaluateExpression(k) + ) + if (!E.every(Boolean)) return + return new ye().setItems(E).setRange(v.range) + }) + this.hooks.evaluate + .for('ChainExpression') + .tap('JavascriptParser', (k) => { + const v = k + const E = [] + let P = v.expression + while ( + P.type === 'MemberExpression' || + P.type === 'CallExpression' + ) { + if (P.type === 'MemberExpression') { + if (P.optional) { + E.push(P.object) + } + P = P.object + } else { + if (P.optional) { + E.push(P.callee) + } + P = P.callee + } + } + while (E.length > 0) { + const v = E.pop() + const P = this.evaluateExpression(v) + if (P.asNullish()) { + return P.setRange(k.range) + } + } + return this.evaluateExpression(v.expression) + }) + } + destructuringAssignmentPropertiesFor(k) { + if (!this.destructuringAssignmentProperties) return undefined + return this.destructuringAssignmentProperties.get(k) + } + getRenameIdentifier(k) { + const v = this.evaluateExpression(k) + if (v.isIdentifier()) { + return v.identifier + } + } + walkClass(k) { + if (k.superClass) { + if (!this.hooks.classExtendsExpression.call(k.superClass, k)) { + this.walkExpression(k.superClass) + } + } + if (k.body && k.body.type === 'ClassBody') { + const v = [] + if (k.id) { + v.push(k.id) + } + this.inClassScope(true, v, () => { + for (const v of k.body.body) { + if (!this.hooks.classBodyElement.call(v, k)) { + if (v.computed && v.key) { + this.walkExpression(v.key) + } + if (v.value) { + if (!this.hooks.classBodyValue.call(v.value, v, k)) { + const k = this.scope.topLevelScope + this.scope.topLevelScope = false + this.walkExpression(v.value) + this.scope.topLevelScope = k + } + } else if (v.type === 'StaticBlock') { + const k = this.scope.topLevelScope + this.scope.topLevelScope = false + this.walkBlockStatement(v) + this.scope.topLevelScope = k + } + } + } + }) + } + } + preWalkStatements(k) { + for (let v = 0, E = k.length; v < E; v++) { + const E = k[v] + this.preWalkStatement(E) + } + } + blockPreWalkStatements(k) { + for (let v = 0, E = k.length; v < E; v++) { + const E = k[v] + this.blockPreWalkStatement(E) + } + } + walkStatements(k) { + for (let v = 0, E = k.length; v < E; v++) { + const E = k[v] + this.walkStatement(E) + } + } + preWalkStatement(k) { + this.statementPath.push(k) + if (this.hooks.preStatement.call(k)) { + this.prevStatement = this.statementPath.pop() + return + } + switch (k.type) { + case 'BlockStatement': + this.preWalkBlockStatement(k) + break + case 'DoWhileStatement': + this.preWalkDoWhileStatement(k) + break + case 'ForInStatement': + this.preWalkForInStatement(k) + break + case 'ForOfStatement': + this.preWalkForOfStatement(k) + break + case 'ForStatement': + this.preWalkForStatement(k) + break + case 'FunctionDeclaration': + this.preWalkFunctionDeclaration(k) + break + case 'IfStatement': + this.preWalkIfStatement(k) + break + case 'LabeledStatement': + this.preWalkLabeledStatement(k) + break + case 'SwitchStatement': + this.preWalkSwitchStatement(k) + break + case 'TryStatement': + this.preWalkTryStatement(k) + break + case 'VariableDeclaration': + this.preWalkVariableDeclaration(k) + break + case 'WhileStatement': + this.preWalkWhileStatement(k) + break + case 'WithStatement': + this.preWalkWithStatement(k) + break + } + this.prevStatement = this.statementPath.pop() + } + blockPreWalkStatement(k) { + this.statementPath.push(k) + if (this.hooks.blockPreStatement.call(k)) { + this.prevStatement = this.statementPath.pop() + return + } + switch (k.type) { + case 'ImportDeclaration': + this.blockPreWalkImportDeclaration(k) + break + case 'ExportAllDeclaration': + this.blockPreWalkExportAllDeclaration(k) + break + case 'ExportDefaultDeclaration': + this.blockPreWalkExportDefaultDeclaration(k) + break + case 'ExportNamedDeclaration': + this.blockPreWalkExportNamedDeclaration(k) + break + case 'VariableDeclaration': + this.blockPreWalkVariableDeclaration(k) + break + case 'ClassDeclaration': + this.blockPreWalkClassDeclaration(k) + break + case 'ExpressionStatement': + this.blockPreWalkExpressionStatement(k) + } + this.prevStatement = this.statementPath.pop() + } + walkStatement(k) { + this.statementPath.push(k) + if (this.hooks.statement.call(k) !== undefined) { + this.prevStatement = this.statementPath.pop() + return + } + switch (k.type) { + case 'BlockStatement': + this.walkBlockStatement(k) + break + case 'ClassDeclaration': + this.walkClassDeclaration(k) + break + case 'DoWhileStatement': + this.walkDoWhileStatement(k) + break + case 'ExportDefaultDeclaration': + this.walkExportDefaultDeclaration(k) + break + case 'ExportNamedDeclaration': + this.walkExportNamedDeclaration(k) + break + case 'ExpressionStatement': + this.walkExpressionStatement(k) + break + case 'ForInStatement': + this.walkForInStatement(k) + break + case 'ForOfStatement': + this.walkForOfStatement(k) + break + case 'ForStatement': + this.walkForStatement(k) + break + case 'FunctionDeclaration': + this.walkFunctionDeclaration(k) + break + case 'IfStatement': + this.walkIfStatement(k) + break + case 'LabeledStatement': + this.walkLabeledStatement(k) + break + case 'ReturnStatement': + this.walkReturnStatement(k) + break + case 'SwitchStatement': + this.walkSwitchStatement(k) + break + case 'ThrowStatement': + this.walkThrowStatement(k) + break + case 'TryStatement': + this.walkTryStatement(k) + break + case 'VariableDeclaration': + this.walkVariableDeclaration(k) + break + case 'WhileStatement': + this.walkWhileStatement(k) + break + case 'WithStatement': + this.walkWithStatement(k) + break + } + this.prevStatement = this.statementPath.pop() + } + walkNestedStatement(k) { + this.prevStatement = undefined + this.walkStatement(k) + } + preWalkBlockStatement(k) { + this.preWalkStatements(k.body) + } + walkBlockStatement(k) { + this.inBlockScope(() => { + const v = k.body + const E = this.prevStatement + this.blockPreWalkStatements(v) + this.prevStatement = E + this.walkStatements(v) + }) + } + walkExpressionStatement(k) { + this.walkExpression(k.expression) + } + preWalkIfStatement(k) { + this.preWalkStatement(k.consequent) + if (k.alternate) { + this.preWalkStatement(k.alternate) + } + } + walkIfStatement(k) { + const v = this.hooks.statementIf.call(k) + if (v === undefined) { + this.walkExpression(k.test) + this.walkNestedStatement(k.consequent) + if (k.alternate) { + this.walkNestedStatement(k.alternate) + } + } else { + if (v) { + this.walkNestedStatement(k.consequent) + } else if (k.alternate) { + this.walkNestedStatement(k.alternate) + } + } + } + preWalkLabeledStatement(k) { + this.preWalkStatement(k.body) + } + walkLabeledStatement(k) { + const v = this.hooks.label.get(k.label.name) + if (v !== undefined) { + const E = v.call(k) + if (E === true) return + } + this.walkNestedStatement(k.body) + } + preWalkWithStatement(k) { + this.preWalkStatement(k.body) + } + walkWithStatement(k) { + this.walkExpression(k.object) + this.walkNestedStatement(k.body) + } + preWalkSwitchStatement(k) { + this.preWalkSwitchCases(k.cases) + } + walkSwitchStatement(k) { + this.walkExpression(k.discriminant) + this.walkSwitchCases(k.cases) + } + walkTerminatingStatement(k) { + if (k.argument) this.walkExpression(k.argument) + } + walkReturnStatement(k) { + this.walkTerminatingStatement(k) + } + walkThrowStatement(k) { + this.walkTerminatingStatement(k) + } + preWalkTryStatement(k) { + this.preWalkStatement(k.block) + if (k.handler) this.preWalkCatchClause(k.handler) + if (k.finalizer) this.preWalkStatement(k.finalizer) + } + walkTryStatement(k) { + if (this.scope.inTry) { + this.walkStatement(k.block) + } else { + this.scope.inTry = true + this.walkStatement(k.block) + this.scope.inTry = false + } + if (k.handler) this.walkCatchClause(k.handler) + if (k.finalizer) this.walkStatement(k.finalizer) + } + preWalkWhileStatement(k) { + this.preWalkStatement(k.body) + } + walkWhileStatement(k) { + this.walkExpression(k.test) + this.walkNestedStatement(k.body) + } + preWalkDoWhileStatement(k) { + this.preWalkStatement(k.body) + } + walkDoWhileStatement(k) { + this.walkNestedStatement(k.body) + this.walkExpression(k.test) + } + preWalkForStatement(k) { + if (k.init) { + if (k.init.type === 'VariableDeclaration') { + this.preWalkStatement(k.init) + } + } + this.preWalkStatement(k.body) + } + walkForStatement(k) { + this.inBlockScope(() => { + if (k.init) { + if (k.init.type === 'VariableDeclaration') { + this.blockPreWalkVariableDeclaration(k.init) + this.prevStatement = undefined + this.walkStatement(k.init) + } else { + this.walkExpression(k.init) + } + } + if (k.test) { + this.walkExpression(k.test) + } + if (k.update) { + this.walkExpression(k.update) + } + const v = k.body + if (v.type === 'BlockStatement') { + const k = this.prevStatement + this.blockPreWalkStatements(v.body) + this.prevStatement = k + this.walkStatements(v.body) + } else { + this.walkNestedStatement(v) + } + }) + } + preWalkForInStatement(k) { + if (k.left.type === 'VariableDeclaration') { + this.preWalkVariableDeclaration(k.left) + } + this.preWalkStatement(k.body) + } + walkForInStatement(k) { + this.inBlockScope(() => { + if (k.left.type === 'VariableDeclaration') { + this.blockPreWalkVariableDeclaration(k.left) + this.walkVariableDeclaration(k.left) + } else { + this.walkPattern(k.left) + } + this.walkExpression(k.right) + const v = k.body + if (v.type === 'BlockStatement') { + const k = this.prevStatement + this.blockPreWalkStatements(v.body) + this.prevStatement = k + this.walkStatements(v.body) + } else { + this.walkNestedStatement(v) + } + }) + } + preWalkForOfStatement(k) { + if (k.await && this.scope.topLevelScope === true) { + this.hooks.topLevelAwait.call(k) + } + if (k.left.type === 'VariableDeclaration') { + this.preWalkVariableDeclaration(k.left) + } + this.preWalkStatement(k.body) + } + walkForOfStatement(k) { + this.inBlockScope(() => { + if (k.left.type === 'VariableDeclaration') { + this.blockPreWalkVariableDeclaration(k.left) + this.walkVariableDeclaration(k.left) + } else { + this.walkPattern(k.left) + } + this.walkExpression(k.right) + const v = k.body + if (v.type === 'BlockStatement') { + const k = this.prevStatement + this.blockPreWalkStatements(v.body) + this.prevStatement = k + this.walkStatements(v.body) + } else { + this.walkNestedStatement(v) + } + }) + } + preWalkFunctionDeclaration(k) { + if (k.id) { + this.defineVariable(k.id.name) + } + } + walkFunctionDeclaration(k) { + const v = this.scope.topLevelScope + this.scope.topLevelScope = false + this.inFunctionScope(true, k.params, () => { + for (const v of k.params) { + this.walkPattern(v) + } + if (k.body.type === 'BlockStatement') { + this.detectMode(k.body.body) + const v = this.prevStatement + this.preWalkStatement(k.body) + this.prevStatement = v + this.walkStatement(k.body) + } else { + this.walkExpression(k.body) + } + }) + this.scope.topLevelScope = v + } + blockPreWalkExpressionStatement(k) { + const v = k.expression + switch (v.type) { + case 'AssignmentExpression': + this.preWalkAssignmentExpression(v) + } + } + preWalkAssignmentExpression(k) { + if ( + k.left.type !== 'ObjectPattern' || + !this.destructuringAssignmentProperties + ) + return + const v = this._preWalkObjectPattern(k.left) + if (!v) return + if (this.destructuringAssignmentProperties.has(k)) { + const E = this.destructuringAssignmentProperties.get(k) + this.destructuringAssignmentProperties.delete(k) + for (const k of E) v.add(k) + } + this.destructuringAssignmentProperties.set( + k.right.type === 'AwaitExpression' ? k.right.argument : k.right, + v + ) + if (k.right.type === 'AssignmentExpression') { + this.preWalkAssignmentExpression(k.right) + } + } + blockPreWalkImportDeclaration(k) { + const v = k.source.value + this.hooks.import.call(k, v) + for (const E of k.specifiers) { + const P = E.local.name + switch (E.type) { + case 'ImportDefaultSpecifier': + if (!this.hooks.importSpecifier.call(k, v, 'default', P)) { + this.defineVariable(P) + } + break + case 'ImportSpecifier': + if ( + !this.hooks.importSpecifier.call( + k, + v, + E.imported.name || E.imported.value, + P + ) + ) { + this.defineVariable(P) + } + break + case 'ImportNamespaceSpecifier': + if (!this.hooks.importSpecifier.call(k, v, null, P)) { + this.defineVariable(P) + } + break + default: + this.defineVariable(P) + } + } + } + enterDeclaration(k, v) { + switch (k.type) { + case 'VariableDeclaration': + for (const E of k.declarations) { + switch (E.type) { + case 'VariableDeclarator': { + this.enterPattern(E.id, v) + break + } + } + } + break + case 'FunctionDeclaration': + this.enterPattern(k.id, v) + break + case 'ClassDeclaration': + this.enterPattern(k.id, v) + break + } + } + blockPreWalkExportNamedDeclaration(k) { + let v + if (k.source) { + v = k.source.value + this.hooks.exportImport.call(k, v) + } else { + this.hooks.export.call(k) + } + if (k.declaration) { + if (!this.hooks.exportDeclaration.call(k, k.declaration)) { + const v = this.prevStatement + this.preWalkStatement(k.declaration) + this.prevStatement = v + this.blockPreWalkStatement(k.declaration) + let E = 0 + this.enterDeclaration(k.declaration, (v) => { + this.hooks.exportSpecifier.call(k, v, v, E++) + }) + } + } + if (k.specifiers) { + for (let E = 0; E < k.specifiers.length; E++) { + const P = k.specifiers[E] + switch (P.type) { + case 'ExportSpecifier': { + const R = P.exported.name || P.exported.value + if (v) { + this.hooks.exportImportSpecifier.call( + k, + v, + P.local.name, + R, + E + ) + } else { + this.hooks.exportSpecifier.call(k, P.local.name, R, E) + } + break + } + } + } + } + } + walkExportNamedDeclaration(k) { + if (k.declaration) { + this.walkStatement(k.declaration) + } + } + blockPreWalkExportDefaultDeclaration(k) { + const v = this.prevStatement + this.preWalkStatement(k.declaration) + this.prevStatement = v + this.blockPreWalkStatement(k.declaration) + if ( + k.declaration.id && + k.declaration.type !== 'FunctionExpression' && + k.declaration.type !== 'ClassExpression' + ) { + this.hooks.exportSpecifier.call( + k, + k.declaration.id.name, + 'default', + undefined + ) + } + } + walkExportDefaultDeclaration(k) { + this.hooks.export.call(k) + if ( + k.declaration.id && + k.declaration.type !== 'FunctionExpression' && + k.declaration.type !== 'ClassExpression' + ) { + if (!this.hooks.exportDeclaration.call(k, k.declaration)) { + this.walkStatement(k.declaration) + } + } else { + if ( + k.declaration.type === 'FunctionDeclaration' || + k.declaration.type === 'ClassDeclaration' + ) { + this.walkStatement(k.declaration) + } else { + this.walkExpression(k.declaration) + } + if (!this.hooks.exportExpression.call(k, k.declaration)) { + this.hooks.exportSpecifier.call( + k, + k.declaration, + 'default', + undefined + ) + } + } + } + blockPreWalkExportAllDeclaration(k) { + const v = k.source.value + const E = k.exported ? k.exported.name : null + this.hooks.exportImport.call(k, v) + this.hooks.exportImportSpecifier.call(k, v, null, E, 0) + } + preWalkVariableDeclaration(k) { + if (k.kind !== 'var') return + this._preWalkVariableDeclaration(k, this.hooks.varDeclarationVar) + } + blockPreWalkVariableDeclaration(k) { + if (k.kind === 'var') return + const v = + k.kind === 'const' + ? this.hooks.varDeclarationConst + : this.hooks.varDeclarationLet + this._preWalkVariableDeclaration(k, v) + } + _preWalkVariableDeclaration(k, v) { + for (const E of k.declarations) { + switch (E.type) { + case 'VariableDeclarator': { + this.preWalkVariableDeclarator(E) + if (!this.hooks.preDeclarator.call(E, k)) { + this.enterPattern(E.id, (k, E) => { + let P = v.get(k) + if (P === undefined || !P.call(E)) { + P = this.hooks.varDeclaration.get(k) + if (P === undefined || !P.call(E)) { + this.defineVariable(k) + } + } + }) + } + break + } + } + } + } + _preWalkObjectPattern(k) { + const v = new Set() + const E = k.properties + for (let k = 0; k < E.length; k++) { + const P = E[k] + if (P.type !== 'Property') return + const R = P.key + if (R.type === 'Identifier') { + v.add(R.name) + } else { + const k = this.evaluateExpression(R) + const E = k.asString() + if (E) { + v.add(E) + } else { + return + } + } + } + return v + } + preWalkVariableDeclarator(k) { + if ( + !k.init || + k.id.type !== 'ObjectPattern' || + !this.destructuringAssignmentProperties + ) + return + const v = this._preWalkObjectPattern(k.id) + if (!v) return + this.destructuringAssignmentProperties.set( + k.init.type === 'AwaitExpression' ? k.init.argument : k.init, + v + ) + if (k.init.type === 'AssignmentExpression') { + this.preWalkAssignmentExpression(k.init) + } + } + walkVariableDeclaration(k) { + for (const v of k.declarations) { + switch (v.type) { + case 'VariableDeclarator': { + const E = v.init && this.getRenameIdentifier(v.init) + if (E && v.id.type === 'Identifier') { + const k = this.hooks.canRename.get(E) + if (k !== undefined && k.call(v.init)) { + const k = this.hooks.rename.get(E) + if (k === undefined || !k.call(v.init)) { + this.setVariable(v.id.name, E) + } + break + } + } + if (!this.hooks.declarator.call(v, k)) { + this.walkPattern(v.id) + if (v.init) this.walkExpression(v.init) + } + break + } + } + } + } + blockPreWalkClassDeclaration(k) { + if (k.id) { + this.defineVariable(k.id.name) + } + } + walkClassDeclaration(k) { + this.walkClass(k) + } + preWalkSwitchCases(k) { + for (let v = 0, E = k.length; v < E; v++) { + const E = k[v] + this.preWalkStatements(E.consequent) + } + } + walkSwitchCases(k) { + this.inBlockScope(() => { + const v = k.length + for (let E = 0; E < v; E++) { + const v = k[E] + if (v.consequent.length > 0) { + const k = this.prevStatement + this.blockPreWalkStatements(v.consequent) + this.prevStatement = k + } + } + for (let E = 0; E < v; E++) { + const v = k[E] + if (v.test) { + this.walkExpression(v.test) + } + if (v.consequent.length > 0) { + this.walkStatements(v.consequent) + } + } + }) + } + preWalkCatchClause(k) { + this.preWalkStatement(k.body) + } + walkCatchClause(k) { + this.inBlockScope(() => { + if (k.param !== null) { + this.enterPattern(k.param, (k) => { + this.defineVariable(k) + }) + this.walkPattern(k.param) + } + const v = this.prevStatement + this.blockPreWalkStatement(k.body) + this.prevStatement = v + this.walkStatement(k.body) + }) + } + walkPattern(k) { + switch (k.type) { + case 'ArrayPattern': + this.walkArrayPattern(k) + break + case 'AssignmentPattern': + this.walkAssignmentPattern(k) + break + case 'MemberExpression': + this.walkMemberExpression(k) + break + case 'ObjectPattern': + this.walkObjectPattern(k) + break + case 'RestElement': + this.walkRestElement(k) + break + } + } + walkAssignmentPattern(k) { + this.walkExpression(k.right) + this.walkPattern(k.left) + } + walkObjectPattern(k) { + for (let v = 0, E = k.properties.length; v < E; v++) { + const E = k.properties[v] + if (E) { + if (E.computed) this.walkExpression(E.key) + if (E.value) this.walkPattern(E.value) + } + } + } + walkArrayPattern(k) { + for (let v = 0, E = k.elements.length; v < E; v++) { + const E = k.elements[v] + if (E) this.walkPattern(E) + } + } + walkRestElement(k) { + this.walkPattern(k.argument) + } + walkExpressions(k) { + for (const v of k) { + if (v) { + this.walkExpression(v) + } + } + } + walkExpression(k) { + switch (k.type) { + case 'ArrayExpression': + this.walkArrayExpression(k) + break + case 'ArrowFunctionExpression': + this.walkArrowFunctionExpression(k) + break + case 'AssignmentExpression': + this.walkAssignmentExpression(k) + break + case 'AwaitExpression': + this.walkAwaitExpression(k) + break + case 'BinaryExpression': + this.walkBinaryExpression(k) + break + case 'CallExpression': + this.walkCallExpression(k) + break + case 'ChainExpression': + this.walkChainExpression(k) + break + case 'ClassExpression': + this.walkClassExpression(k) + break + case 'ConditionalExpression': + this.walkConditionalExpression(k) + break + case 'FunctionExpression': + this.walkFunctionExpression(k) + break + case 'Identifier': + this.walkIdentifier(k) + break + case 'ImportExpression': + this.walkImportExpression(k) + break + case 'LogicalExpression': + this.walkLogicalExpression(k) + break + case 'MetaProperty': + this.walkMetaProperty(k) + break + case 'MemberExpression': + this.walkMemberExpression(k) + break + case 'NewExpression': + this.walkNewExpression(k) + break + case 'ObjectExpression': + this.walkObjectExpression(k) + break + case 'SequenceExpression': + this.walkSequenceExpression(k) + break + case 'SpreadElement': + this.walkSpreadElement(k) + break + case 'TaggedTemplateExpression': + this.walkTaggedTemplateExpression(k) + break + case 'TemplateLiteral': + this.walkTemplateLiteral(k) + break + case 'ThisExpression': + this.walkThisExpression(k) + break + case 'UnaryExpression': + this.walkUnaryExpression(k) + break + case 'UpdateExpression': + this.walkUpdateExpression(k) + break + case 'YieldExpression': + this.walkYieldExpression(k) + break + } + } + walkAwaitExpression(k) { + if (this.scope.topLevelScope === true) + this.hooks.topLevelAwait.call(k) + this.walkExpression(k.argument) + } + walkArrayExpression(k) { + if (k.elements) { + this.walkExpressions(k.elements) + } + } + walkSpreadElement(k) { + if (k.argument) { + this.walkExpression(k.argument) + } + } + walkObjectExpression(k) { + for (let v = 0, E = k.properties.length; v < E; v++) { + const E = k.properties[v] + this.walkProperty(E) + } + } + walkProperty(k) { + if (k.type === 'SpreadElement') { + this.walkExpression(k.argument) + return + } + if (k.computed) { + this.walkExpression(k.key) + } + if (k.shorthand && k.value && k.value.type === 'Identifier') { + this.scope.inShorthand = k.value.name + this.walkIdentifier(k.value) + this.scope.inShorthand = false + } else { + this.walkExpression(k.value) + } + } + walkFunctionExpression(k) { + const v = this.scope.topLevelScope + this.scope.topLevelScope = false + const E = [...k.params] + if (k.id) { + E.push(k.id) + } + this.inFunctionScope(true, E, () => { + for (const v of k.params) { + this.walkPattern(v) + } + if (k.body.type === 'BlockStatement') { + this.detectMode(k.body.body) + const v = this.prevStatement + this.preWalkStatement(k.body) + this.prevStatement = v + this.walkStatement(k.body) + } else { + this.walkExpression(k.body) + } + }) + this.scope.topLevelScope = v + } + walkArrowFunctionExpression(k) { + const v = this.scope.topLevelScope + this.scope.topLevelScope = v ? 'arrow' : false + this.inFunctionScope(false, k.params, () => { + for (const v of k.params) { + this.walkPattern(v) + } + if (k.body.type === 'BlockStatement') { + this.detectMode(k.body.body) + const v = this.prevStatement + this.preWalkStatement(k.body) + this.prevStatement = v + this.walkStatement(k.body) + } else { + this.walkExpression(k.body) + } + }) + this.scope.topLevelScope = v + } + walkSequenceExpression(k) { + if (!k.expressions) return + const v = this.statementPath[this.statementPath.length - 1] + if ( + v === k || + (v.type === 'ExpressionStatement' && v.expression === k) + ) { + const v = this.statementPath.pop() + for (const v of k.expressions) { + this.statementPath.push(v) + this.walkExpression(v) + this.statementPath.pop() + } + this.statementPath.push(v) + } else { + this.walkExpressions(k.expressions) + } + } + walkUpdateExpression(k) { + this.walkExpression(k.argument) + } + walkUnaryExpression(k) { + if (k.operator === 'typeof') { + const v = this.callHooksForExpression( + this.hooks.typeof, + k.argument, + k + ) + if (v === true) return + if (k.argument.type === 'ChainExpression') { + const v = this.callHooksForExpression( + this.hooks.typeof, + k.argument.expression, + k + ) + if (v === true) return + } + } + this.walkExpression(k.argument) + } + walkLeftRightExpression(k) { + this.walkExpression(k.left) + this.walkExpression(k.right) + } + walkBinaryExpression(k) { + if (this.hooks.binaryExpression.call(k) === undefined) { + this.walkLeftRightExpression(k) + } + } + walkLogicalExpression(k) { + const v = this.hooks.expressionLogicalOperator.call(k) + if (v === undefined) { + this.walkLeftRightExpression(k) + } else { + if (v) { + this.walkExpression(k.right) + } + } + } + walkAssignmentExpression(k) { + if (k.left.type === 'Identifier') { + const v = this.getRenameIdentifier(k.right) + if (v) { + if (this.callHooksForInfo(this.hooks.canRename, v, k.right)) { + if (!this.callHooksForInfo(this.hooks.rename, v, k.right)) { + this.setVariable( + k.left.name, + typeof v === 'string' ? this.getVariableInfo(v) : v + ) + } + return + } + } + this.walkExpression(k.right) + this.enterPattern(k.left, (v, E) => { + if (!this.callHooksForName(this.hooks.assign, v, k)) { + this.walkExpression(k.left) + } + }) + return + } + if (k.left.type.endsWith('Pattern')) { + this.walkExpression(k.right) + this.enterPattern(k.left, (v, E) => { + if (!this.callHooksForName(this.hooks.assign, v, k)) { + this.defineVariable(v) + } + }) + this.walkPattern(k.left) + } else if (k.left.type === 'MemberExpression') { + const v = this.getMemberExpressionInfo(k.left, Me) + if (v) { + if ( + this.callHooksForInfo( + this.hooks.assignMemberChain, + v.rootInfo, + k, + v.getMembers() + ) + ) { + return + } + } + this.walkExpression(k.right) + this.walkExpression(k.left) + } else { + this.walkExpression(k.right) + this.walkExpression(k.left) + } + } + walkConditionalExpression(k) { + const v = this.hooks.expressionConditionalOperator.call(k) + if (v === undefined) { + this.walkExpression(k.test) + this.walkExpression(k.consequent) + if (k.alternate) { + this.walkExpression(k.alternate) + } + } else { + if (v) { + this.walkExpression(k.consequent) + } else if (k.alternate) { + this.walkExpression(k.alternate) + } + } + } + walkNewExpression(k) { + const v = this.callHooksForExpression(this.hooks.new, k.callee, k) + if (v === true) return + this.walkExpression(k.callee) + if (k.arguments) { + this.walkExpressions(k.arguments) + } + } + walkYieldExpression(k) { + if (k.argument) { + this.walkExpression(k.argument) + } + } + walkTemplateLiteral(k) { + if (k.expressions) { + this.walkExpressions(k.expressions) + } + } + walkTaggedTemplateExpression(k) { + if (k.tag) { + this.walkExpression(k.tag) + } + if (k.quasi && k.quasi.expressions) { + this.walkExpressions(k.quasi.expressions) + } + } + walkClassExpression(k) { + this.walkClass(k) + } + walkChainExpression(k) { + const v = this.hooks.optionalChaining.call(k) + if (v === undefined) { + if (k.expression.type === 'CallExpression') { + this.walkCallExpression(k.expression) + } else { + this.walkMemberExpression(k.expression) + } + } + } + _walkIIFE(k, v, E) { + const getVarInfo = (k) => { + const v = this.getRenameIdentifier(k) + if (v) { + if (this.callHooksForInfo(this.hooks.canRename, v, k)) { + if (!this.callHooksForInfo(this.hooks.rename, v, k)) { + return typeof v === 'string' ? this.getVariableInfo(v) : v + } + } + } + this.walkExpression(k) + } + const { params: P, type: R } = k + const L = R === 'ArrowFunctionExpression' + const N = E ? getVarInfo(E) : null + const q = v.map(getVarInfo) + const ae = this.scope.topLevelScope + this.scope.topLevelScope = ae && L ? 'arrow' : false + const le = P.filter((k, v) => !q[v]) + if (k.id) { + le.push(k.id.name) + } + this.inFunctionScope(true, le, () => { + if (N && !L) { + this.setVariable('this', N) + } + for (let k = 0; k < q.length; k++) { + const v = q[k] + if (!v) continue + if (!P[k] || P[k].type !== 'Identifier') continue + this.setVariable(P[k].name, v) + } + if (k.body.type === 'BlockStatement') { + this.detectMode(k.body.body) + const v = this.prevStatement + this.preWalkStatement(k.body) + this.prevStatement = v + this.walkStatement(k.body) + } else { + this.walkExpression(k.body) + } + }) + this.scope.topLevelScope = ae + } + walkImportExpression(k) { + let v = this.hooks.importCall.call(k) + if (v === true) return + this.walkExpression(k.source) + } + walkCallExpression(k) { + const isSimpleFunction = (k) => + k.params.every((k) => k.type === 'Identifier') + if ( + k.callee.type === 'MemberExpression' && + k.callee.object.type.endsWith('FunctionExpression') && + !k.callee.computed && + (k.callee.property.name === 'call' || + k.callee.property.name === 'bind') && + k.arguments.length > 0 && + isSimpleFunction(k.callee.object) + ) { + this._walkIIFE( + k.callee.object, + k.arguments.slice(1), + k.arguments[0] + ) + } else if ( + k.callee.type.endsWith('FunctionExpression') && + isSimpleFunction(k.callee) + ) { + this._walkIIFE(k.callee, k.arguments, null) + } else { + if (k.callee.type === 'MemberExpression') { + const v = this.getMemberExpressionInfo(k.callee, Ie) + if (v && v.type === 'call') { + const E = this.callHooksForInfo( + this.hooks.callMemberChainOfCallMemberChain, + v.rootInfo, + k, + v.getCalleeMembers(), + v.call, + v.getMembers() + ) + if (E === true) return + } + } + const v = this.evaluateExpression(k.callee) + if (v.isIdentifier()) { + const E = this.callHooksForInfo( + this.hooks.callMemberChain, + v.rootInfo, + k, + v.getMembers(), + v.getMembersOptionals + ? v.getMembersOptionals() + : v.getMembers().map(() => false), + v.getMemberRanges ? v.getMemberRanges() : [] + ) + if (E === true) return + const P = this.callHooksForInfo(this.hooks.call, v.identifier, k) + if (P === true) return + } + if (k.callee) { + if (k.callee.type === 'MemberExpression') { + this.walkExpression(k.callee.object) + if (k.callee.computed === true) + this.walkExpression(k.callee.property) + } else { + this.walkExpression(k.callee) + } + } + if (k.arguments) this.walkExpressions(k.arguments) + } + } + walkMemberExpression(k) { + const v = this.getMemberExpressionInfo(k, Te) + if (v) { + switch (v.type) { + case 'expression': { + const E = this.callHooksForInfo( + this.hooks.expression, + v.name, + k + ) + if (E === true) return + const P = v.getMembers() + const R = v.getMembersOptionals() + const L = v.getMemberRanges() + const N = this.callHooksForInfo( + this.hooks.expressionMemberChain, + v.rootInfo, + k, + P, + R, + L + ) + if (N === true) return + this.walkMemberExpressionWithExpressionName( + k, + v.name, + v.rootInfo, + P.slice(), + () => + this.callHooksForInfo( + this.hooks.unhandledExpressionMemberChain, + v.rootInfo, + k, + P + ) + ) + return + } + case 'call': { + const E = this.callHooksForInfo( + this.hooks.memberChainOfCallMemberChain, + v.rootInfo, + k, + v.getCalleeMembers(), + v.call, + v.getMembers() + ) + if (E === true) return + this.walkExpression(v.call) + return + } + } + } + this.walkExpression(k.object) + if (k.computed === true) this.walkExpression(k.property) + } + walkMemberExpressionWithExpressionName(k, v, E, P, R) { + if (k.object.type === 'MemberExpression') { + const L = k.property.name || `${k.property.value}` + v = v.slice(0, -L.length - 1) + P.pop() + const N = this.callHooksForInfo(this.hooks.expression, v, k.object) + if (N === true) return + this.walkMemberExpressionWithExpressionName(k.object, v, E, P, R) + } else if (!R || !R()) { + this.walkExpression(k.object) + } + if (k.computed === true) this.walkExpression(k.property) + } + walkThisExpression(k) { + this.callHooksForName(this.hooks.expression, 'this', k) + } + walkIdentifier(k) { + this.callHooksForName(this.hooks.expression, k.name, k) + } + walkMetaProperty(k) { + this.hooks.expression.for(getRootName(k)).call(k) + } + callHooksForExpression(k, v, ...E) { + return this.callHooksForExpressionWithFallback( + k, + v, + undefined, + undefined, + ...E + ) + } + callHooksForExpressionWithFallback(k, v, E, P, ...R) { + const L = this.getMemberExpressionInfo(v, Me) + if (L !== undefined) { + const v = L.getMembers() + return this.callHooksForInfoWithFallback( + k, + v.length === 0 ? L.rootInfo : L.name, + E && ((k) => E(k, L.rootInfo, L.getMembers)), + P && (() => P(L.name)), + ...R + ) + } + } + callHooksForName(k, v, ...E) { + return this.callHooksForNameWithFallback( + k, + v, + undefined, + undefined, + ...E + ) + } + callHooksForInfo(k, v, ...E) { + return this.callHooksForInfoWithFallback( + k, + v, + undefined, + undefined, + ...E + ) + } + callHooksForInfoWithFallback(k, v, E, P, ...R) { + let L + if (typeof v === 'string') { + L = v + } else { + if (!(v instanceof VariableInfo)) { + if (P !== undefined) { + return P() + } + return + } + let E = v.tagInfo + while (E !== undefined) { + const v = k.get(E.tag) + if (v !== undefined) { + this.currentTagData = E.data + const k = v.call(...R) + this.currentTagData = undefined + if (k !== undefined) return k + } + E = E.next + } + if (v.freeName === true) { + if (P !== undefined) { + return P() + } + return + } + L = v.freeName + } + const N = k.get(L) + if (N !== undefined) { + const k = N.call(...R) + if (k !== undefined) return k + } + if (E !== undefined) { + return E(L) + } + } + callHooksForNameWithFallback(k, v, E, P, ...R) { + return this.callHooksForInfoWithFallback( + k, + this.getVariableInfo(v), + E, + P, + ...R + ) + } + inScope(k, v) { + const E = this.scope + this.scope = { + topLevelScope: E.topLevelScope, + inTry: false, + inShorthand: false, + isStrict: E.isStrict, + isAsmJs: E.isAsmJs, + definitions: E.definitions.createChild(), + } + this.undefineVariable('this') + this.enterPatterns(k, (k, v) => { + this.defineVariable(k) + }) + v() + this.scope = E + } + inClassScope(k, v, E) { + const P = this.scope + this.scope = { + topLevelScope: P.topLevelScope, + inTry: false, + inShorthand: false, + isStrict: P.isStrict, + isAsmJs: P.isAsmJs, + definitions: P.definitions.createChild(), + } + if (k) { + this.undefineVariable('this') + } + this.enterPatterns(v, (k, v) => { + this.defineVariable(k) + }) + E() + this.scope = P + } + inFunctionScope(k, v, E) { + const P = this.scope + this.scope = { + topLevelScope: P.topLevelScope, + inTry: false, + inShorthand: false, + isStrict: P.isStrict, + isAsmJs: P.isAsmJs, + definitions: P.definitions.createChild(), + } + if (k) { + this.undefineVariable('this') + } + this.enterPatterns(v, (k, v) => { + this.defineVariable(k) + }) + E() + this.scope = P + } + inBlockScope(k) { + const v = this.scope + this.scope = { + topLevelScope: v.topLevelScope, + inTry: v.inTry, + inShorthand: false, + isStrict: v.isStrict, + isAsmJs: v.isAsmJs, + definitions: v.definitions.createChild(), + } + k() + this.scope = v + } + detectMode(k) { + const v = + k.length >= 1 && + k[0].type === 'ExpressionStatement' && + k[0].expression.type === 'Literal' + if (v && k[0].expression.value === 'use strict') { + this.scope.isStrict = true + } + if (v && k[0].expression.value === 'use asm') { + this.scope.isAsmJs = true + } + } + enterPatterns(k, v) { + for (const E of k) { + if (typeof E !== 'string') { + this.enterPattern(E, v) + } else if (E) { + v(E) + } + } + } + enterPattern(k, v) { + if (!k) return + switch (k.type) { + case 'ArrayPattern': + this.enterArrayPattern(k, v) + break + case 'AssignmentPattern': + this.enterAssignmentPattern(k, v) + break + case 'Identifier': + this.enterIdentifier(k, v) + break + case 'ObjectPattern': + this.enterObjectPattern(k, v) + break + case 'RestElement': + this.enterRestElement(k, v) + break + case 'Property': + if (k.shorthand && k.value.type === 'Identifier') { + this.scope.inShorthand = k.value.name + this.enterIdentifier(k.value, v) + this.scope.inShorthand = false + } else { + this.enterPattern(k.value, v) + } + break + } + } + enterIdentifier(k, v) { + if (!this.callHooksForName(this.hooks.pattern, k.name, k)) { + v(k.name, k) + } + } + enterObjectPattern(k, v) { + for (let E = 0, P = k.properties.length; E < P; E++) { + const P = k.properties[E] + this.enterPattern(P, v) + } + } + enterArrayPattern(k, v) { + for (let E = 0, P = k.elements.length; E < P; E++) { + const P = k.elements[E] + this.enterPattern(P, v) + } + } + enterRestElement(k, v) { + this.enterPattern(k.argument, v) + } + enterAssignmentPattern(k, v) { + this.enterPattern(k.left, v) + } + evaluateExpression(k) { + try { + const v = this.hooks.evaluate.get(k.type) + if (v !== undefined) { + const E = v.call(k) + if (E !== undefined && E !== null) { + E.setExpression(k) + return E + } + } + } catch (k) { + console.warn(k) + } + return new ye().setRange(k.range).setExpression(k) + } + parseString(k) { + switch (k.type) { + case 'BinaryExpression': + if (k.operator === '+') { + return this.parseString(k.left) + this.parseString(k.right) + } + break + case 'Literal': + return k.value + '' + } + throw new Error(k.type + ' is not supported as parameter for require') + } + parseCalculatedString(k) { + switch (k.type) { + case 'BinaryExpression': + if (k.operator === '+') { + const v = this.parseCalculatedString(k.left) + const E = this.parseCalculatedString(k.right) + if (v.code) { + return { + range: v.range, + value: v.value, + code: true, + conditional: false, + } + } else if (E.code) { + return { + range: [v.range[0], E.range ? E.range[1] : v.range[1]], + value: v.value + E.value, + code: true, + conditional: false, + } + } else { + return { + range: [v.range[0], E.range[1]], + value: v.value + E.value, + code: false, + conditional: false, + } + } + } + break + case 'ConditionalExpression': { + const v = this.parseCalculatedString(k.consequent) + const E = this.parseCalculatedString(k.alternate) + const P = [] + if (v.conditional) { + P.push(...v.conditional) + } else if (!v.code) { + P.push(v) + } else { + break + } + if (E.conditional) { + P.push(...E.conditional) + } else if (!E.code) { + P.push(E) + } else { + break + } + return { range: undefined, value: '', code: true, conditional: P } + } + case 'Literal': + return { + range: k.range, + value: k.value + '', + code: false, + conditional: false, + } + } + return { range: undefined, value: '', code: true, conditional: false } + } + parse(k, v) { + let E + let P + const R = new Set() + if (k === null) { + throw new Error('source must not be null') + } + if (Buffer.isBuffer(k)) { + k = k.toString('utf-8') + } + if (typeof k === 'object') { + E = k + P = k.comments + } else { + P = [] + E = JavascriptParser._parse(k, { + sourceType: this.sourceType, + onComment: P, + onInsertedSemicolon: (k) => R.add(k), + }) + } + const L = this.scope + const N = this.state + const q = this.comments + const ae = this.semicolons + const pe = this.statementPath + const me = this.prevStatement + this.scope = { + topLevelScope: true, + inTry: false, + inShorthand: false, + isStrict: false, + isAsmJs: false, + definitions: new le(), + } + this.state = v + this.comments = P + this.semicolons = R + this.statementPath = [] + this.prevStatement = undefined + if (this.hooks.program.call(E, P) === undefined) { + this.destructuringAssignmentProperties = new WeakMap() + this.detectMode(E.body) + this.preWalkStatements(E.body) + this.prevStatement = undefined + this.blockPreWalkStatements(E.body) + this.prevStatement = undefined + this.walkStatements(E.body) + this.destructuringAssignmentProperties = undefined + } + this.hooks.finish.call(E, P) + this.scope = L + this.state = N + this.comments = q + this.semicolons = ae + this.statementPath = pe + this.prevStatement = me + return v + } + evaluate(k) { + const v = JavascriptParser._parse('(' + k + ')', { + sourceType: this.sourceType, + locations: false, + }) + if (v.body.length !== 1 || v.body[0].type !== 'ExpressionStatement') { + throw new Error('evaluate: Source is not a expression') + } + return this.evaluateExpression(v.body[0].expression) + } + isPure(k, v) { + if (!k) return true + const E = this.hooks.isPure.for(k.type).call(k, v) + if (typeof E === 'boolean') return E + switch (k.type) { + case 'ClassDeclaration': + case 'ClassExpression': { + if (k.body.type !== 'ClassBody') return false + if (k.superClass && !this.isPure(k.superClass, k.range[0])) { + return false + } + const v = k.body.body + return v.every((k) => { + if (k.computed && k.key && !this.isPure(k.key, k.range[0])) { + return false + } + if ( + k.static && + k.value && + !this.isPure(k.value, k.key ? k.key.range[1] : k.range[0]) + ) { + return false + } + if (k.type === 'StaticBlock') { + return false + } + return true + }) + } + case 'FunctionDeclaration': + case 'FunctionExpression': + case 'ArrowFunctionExpression': + case 'ThisExpression': + case 'Literal': + case 'TemplateLiteral': + case 'Identifier': + case 'PrivateIdentifier': + return true + case 'VariableDeclaration': + return k.declarations.every((k) => + this.isPure(k.init, k.range[0]) + ) + case 'ConditionalExpression': + return ( + this.isPure(k.test, v) && + this.isPure(k.consequent, k.test.range[1]) && + this.isPure(k.alternate, k.consequent.range[1]) + ) + case 'LogicalExpression': + return ( + this.isPure(k.left, v) && this.isPure(k.right, k.left.range[1]) + ) + case 'SequenceExpression': + return k.expressions.every((k) => { + const E = this.isPure(k, v) + v = k.range[1] + return E + }) + case 'CallExpression': { + const E = + k.range[0] - v > 12 && + this.getComments([v, k.range[0]]).some( + (k) => + k.type === 'Block' && /^\s*(#|@)__PURE__\s*$/.test(k.value) + ) + if (!E) return false + v = k.callee.range[1] + return k.arguments.every((k) => { + if (k.type === 'SpreadElement') return false + const E = this.isPure(k, v) + v = k.range[1] + return E + }) + } + } + const P = this.evaluateExpression(k) + return !P.couldHaveSideEffects() + } + getComments(k) { + const [v, E] = k + const compare = (k, v) => k.range[0] - v + let P = pe.ge(this.comments, v, compare) + let R = [] + while (this.comments[P] && this.comments[P].range[1] <= E) { + R.push(this.comments[P]) + P++ + } + return R + } + isAsiPosition(k) { + const v = this.statementPath[this.statementPath.length - 1] + if (v === undefined) throw new Error('Not in statement') + return ( + (v.range[1] === k && this.semicolons.has(k)) || + (v.range[0] === k && + this.prevStatement !== undefined && + this.semicolons.has(this.prevStatement.range[1])) + ) + } + unsetAsiPosition(k) { + this.semicolons.delete(k) + } + isStatementLevelExpression(k) { + const v = this.statementPath[this.statementPath.length - 1] + return ( + k === v || (v.type === 'ExpressionStatement' && v.expression === k) + ) + } + getTagData(k, v) { + const E = this.scope.definitions.get(k) + if (E instanceof VariableInfo) { + let k = E.tagInfo + while (k !== undefined) { + if (k.tag === v) return k.data + k = k.next + } + } + } + tagVariable(k, v, E) { + const P = this.scope.definitions.get(k) + let R + if (P === undefined) { + R = new VariableInfo(this.scope, k, { + tag: v, + data: E, + next: undefined, + }) + } else if (P instanceof VariableInfo) { + R = new VariableInfo(P.declaredScope, P.freeName, { + tag: v, + data: E, + next: P.tagInfo, + }) + } else { + R = new VariableInfo(P, true, { tag: v, data: E, next: undefined }) + } + this.scope.definitions.set(k, R) + } + defineVariable(k) { + const v = this.scope.definitions.get(k) + if (v instanceof VariableInfo && v.declaredScope === this.scope) + return + this.scope.definitions.set(k, this.scope) + } + undefineVariable(k) { + this.scope.definitions.delete(k) + } + isVariableDefined(k) { + const v = this.scope.definitions.get(k) + if (v === undefined) return false + if (v instanceof VariableInfo) { + return v.freeName === true + } + return true + } + getVariableInfo(k) { + const v = this.scope.definitions.get(k) + if (v === undefined) { + return k + } else { + return v + } + } + setVariable(k, v) { + if (typeof v === 'string') { + if (v === k) { + this.scope.definitions.delete(k) + } else { + this.scope.definitions.set( + k, + new VariableInfo(this.scope, v, undefined) + ) + } + } else { + this.scope.definitions.set(k, v) + } + } + evaluatedVariable(k) { + return new VariableInfo(this.scope, undefined, k) + } + parseCommentOptions(k) { + const v = this.getComments(k) + if (v.length === 0) { + return qe + } + let E = {} + let P = [] + for (const k of v) { + const { value: v } = k + if (v && Be.test(v)) { + try { + for (let [k, P] of Object.entries( + q.runInNewContext(`(function(){return {${v}};})()`) + )) { + if (typeof P === 'object' && P !== null) { + if (P.constructor.name === 'RegExp') P = new RegExp(P) + else P = JSON.parse(JSON.stringify(P)) + } + E[k] = P + } + } catch (v) { + const E = new Error(String(v.message)) + E.stack = String(v.stack) + Object.assign(E, { comment: k }) + P.push(E) + } + } + } + return { options: E, errors: P } + } + extractMemberExpressionChain(k) { + let v = k + const E = [] + const P = [] + const R = [] + while (v.type === 'MemberExpression') { + if (v.computed) { + if (v.property.type !== 'Literal') break + E.push(`${v.property.value}`) + R.push(v.object.range) + } else { + if (v.property.type !== 'Identifier') break + E.push(v.property.name) + R.push(v.object.range) + } + P.push(v.optional) + v = v.object + } + return { members: E, membersOptionals: P, memberRanges: R, object: v } + } + getFreeInfoFromVariable(k) { + const v = this.getVariableInfo(k) + let E + if (v instanceof VariableInfo) { + E = v.freeName + if (typeof E !== 'string') return undefined + } else if (typeof v !== 'string') { + return undefined + } else { + E = v + } + return { info: v, name: E } + } + getMemberExpressionInfo(k, v) { + const { + object: E, + members: P, + membersOptionals: R, + memberRanges: L, + } = this.extractMemberExpressionChain(k) + switch (E.type) { + case 'CallExpression': { + if ((v & Ie) === 0) return undefined + let k = E.callee + let N = _e + if (k.type === 'MemberExpression') { + ;({ object: k, members: N } = + this.extractMemberExpressionChain(k)) + } + const q = getRootName(k) + if (!q) return undefined + const ae = this.getFreeInfoFromVariable(q) + if (!ae) return undefined + const { info: le, name: pe } = ae + const ye = objectAndMembersToName(pe, N) + return { + type: 'call', + call: E, + calleeName: ye, + rootInfo: le, + getCalleeMembers: me(() => N.reverse()), + name: objectAndMembersToName(`${ye}()`, P), + getMembers: me(() => P.reverse()), + getMembersOptionals: me(() => R.reverse()), + getMemberRanges: me(() => L.reverse()), + } + } + case 'Identifier': + case 'MetaProperty': + case 'ThisExpression': { + if ((v & Me) === 0) return undefined + const k = getRootName(E) + if (!k) return undefined + const N = this.getFreeInfoFromVariable(k) + if (!N) return undefined + const { info: q, name: ae } = N + return { + type: 'expression', + name: objectAndMembersToName(ae, P), + rootInfo: q, + getMembers: me(() => P.reverse()), + getMembersOptionals: me(() => R.reverse()), + getMemberRanges: me(() => L.reverse()), + } + } + } + } + getNameForExpression(k) { + return this.getMemberExpressionInfo(k, Me) + } + static _parse(k, v) { + const E = v ? v.sourceType : 'module' + const P = { + ...Ne, + allowReturnOutsideFunction: E === 'script', + ...v, + sourceType: E === 'auto' ? 'module' : E, + } + let R + let L + let N = false + try { + R = je.parse(k, P) + } catch (k) { + L = k + N = true + } + if (N && E === 'auto') { + P.sourceType = 'script' + if (!('allowReturnOutsideFunction' in v)) { + P.allowReturnOutsideFunction = true + } + if (Array.isArray(P.onComment)) { + P.onComment.length = 0 + } + try { + R = je.parse(k, P) + N = false + } catch (k) {} + } + if (N) { + throw L + } + return R + } + } + k.exports = JavascriptParser + k.exports.ALLOWED_MEMBER_TYPES_ALL = Te + k.exports.ALLOWED_MEMBER_TYPES_EXPRESSION = Me + k.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION = Ie + }, + 80784: function (k, v, E) { + 'use strict' + const P = E(9415) + const R = E(60381) + const L = E(70037) + v.toConstantDependency = (k, v, E) => + function constDependency(P) { + const L = new R(v, P.range, E) + L.loc = P.loc + k.state.module.addPresentationalDependency(L) + return true + } + v.evaluateToString = (k) => + function stringExpression(v) { + return new L().setString(k).setRange(v.range) + } + v.evaluateToNumber = (k) => + function stringExpression(v) { + return new L().setNumber(k).setRange(v.range) + } + v.evaluateToBoolean = (k) => + function booleanExpression(v) { + return new L().setBoolean(k).setRange(v.range) + } + v.evaluateToIdentifier = (k, v, E, P) => + function identifierExpression(R) { + let N = new L() + .setIdentifier(k, v, E) + .setSideEffects(false) + .setRange(R.range) + switch (P) { + case true: + N.setTruthy() + break + case null: + N.setNullish(true) + break + case false: + N.setFalsy() + break + } + return N + } + v.expressionIsUnsupported = (k, v) => + function unsupportedExpression(E) { + const L = new R('(void 0)', E.range, null) + L.loc = E.loc + k.state.module.addPresentationalDependency(L) + if (!k.state.module) return + k.state.module.addWarning(new P(v, E.loc)) + return true + } + v.skipTraversal = () => true + v.approve = () => true + }, + 73777: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(95041) + const { isSubset: L } = E(59959) + const { getAllChunks: N } = E(72130) + const q = `var ${P.exports} = ` + v.generateEntryStartup = (k, v, E, ae, le) => { + const pe = [ + `var __webpack_exec__ = ${v.returningFunction( + `${P.require}(${P.entryModuleId} = moduleId)`, + 'moduleId' + )}`, + ] + const runModule = (k) => `__webpack_exec__(${JSON.stringify(k)})` + const outputCombination = (k, E, R) => { + if (k.size === 0) { + pe.push(`${R ? q : ''}(${E.map(runModule).join(', ')});`) + } else { + const L = v.returningFunction(E.map(runModule).join(', ')) + pe.push( + `${R && !le ? q : ''}${ + le ? P.onChunksLoaded : P.startupEntrypoint + }(0, ${JSON.stringify(Array.from(k, (k) => k.id))}, ${L});` + ) + if (R && le) { + pe.push(`${q}${P.onChunksLoaded}();`) + } + } + } + let me = undefined + let ye = undefined + for (const [v, P] of E) { + const E = P.getRuntimeChunk() + const R = k.getModuleId(v) + const q = N(P, ae, E) + if (me && me.size === q.size && L(me, q)) { + ye.push(R) + } else { + if (me) { + outputCombination(me, ye) + } + me = q + ye = [R] + } + } + if (me) { + outputCombination(me, ye, true) + } + pe.push('') + return R.asString(pe) + } + v.updateHashForEntryStartup = (k, v, E, P) => { + for (const [R, L] of E) { + const E = L.getRuntimeChunk() + const q = v.getModuleId(R) + k.update(`${q}`) + for (const v of N(L, P, E)) k.update(`${v.id}`) + } + } + v.getInitialChunkIds = (k, v, E) => { + const P = new Set(k.ids) + for (const R of k.getAllInitialChunks()) { + if (R === k || E(R, v)) continue + for (const k of R.ids) P.add(k) + } + return P + } + }, + 15114: function (k, v, E) { + 'use strict' + const { register: P } = E(52456) + class JsonData { + constructor(k) { + this._buffer = undefined + this._data = undefined + if (Buffer.isBuffer(k)) { + this._buffer = k + } else { + this._data = k + } + } + get() { + if (this._data === undefined && this._buffer !== undefined) { + this._data = JSON.parse(this._buffer.toString()) + } + return this._data + } + updateHash(k) { + if (this._buffer === undefined && this._data !== undefined) { + this._buffer = Buffer.from(JSON.stringify(this._data)) + } + if (this._buffer) k.update(this._buffer) + } + } + P(JsonData, 'webpack/lib/json/JsonData', null, { + serialize(k, { write: v }) { + if (k._buffer === undefined && k._data !== undefined) { + k._buffer = Buffer.from(JSON.stringify(k._data)) + } + v(k._buffer) + }, + deserialize({ read: k }) { + return new JsonData(k()) + }, + }) + k.exports = JsonData + }, + 44734: function (k, v, E) { + 'use strict' + const { RawSource: P } = E(51255) + const R = E(91213) + const { UsageState: L } = E(11172) + const N = E(91597) + const q = E(56727) + const stringifySafe = (k) => { + const v = JSON.stringify(k) + if (!v) { + return undefined + } + return v.replace(/\u2028|\u2029/g, (k) => + k === '\u2029' ? '\\u2029' : '\\u2028' + ) + } + const createObjectForExportsInfo = (k, v, E) => { + if (v.otherExportsInfo.getUsed(E) !== L.Unused) return k + const P = Array.isArray(k) + const R = P ? [] : {} + for (const P of Object.keys(k)) { + const N = v.getReadOnlyExportInfo(P) + const q = N.getUsed(E) + if (q === L.Unused) continue + let ae + if (q === L.OnlyPropertiesUsed && N.exportsInfo) { + ae = createObjectForExportsInfo(k[P], N.exportsInfo, E) + } else { + ae = k[P] + } + const le = N.getUsedName(P, E) + R[le] = ae + } + if (P) { + let P = + v.getReadOnlyExportInfo('length').getUsed(E) !== L.Unused + ? k.length + : undefined + let N = 0 + for (let k = 0; k < R.length; k++) { + if (R[k] === undefined) { + N -= 2 + } else { + N += `${k}`.length + 3 + } + } + if (P !== undefined) { + N += `${P}`.length + 8 - (P - R.length) * 2 + } + if (N < 0) + return Object.assign(P === undefined ? {} : { length: P }, R) + const q = P !== undefined ? Math.max(P, R.length) : R.length + for (let k = 0; k < q; k++) { + if (R[k] === undefined) { + R[k] = 0 + } + } + } + return R + } + const ae = new Set(['javascript']) + class JsonGenerator extends N { + getTypes(k) { + return ae + } + getSize(k, v) { + const E = + k.buildInfo && k.buildInfo.jsonData && k.buildInfo.jsonData.get() + if (!E) return 0 + return stringifySafe(E).length + 10 + } + getConcatenationBailoutReason(k, v) { + return undefined + } + generate( + k, + { + moduleGraph: v, + runtimeTemplate: E, + runtimeRequirements: N, + runtime: ae, + concatenationScope: le, + } + ) { + const pe = + k.buildInfo && k.buildInfo.jsonData && k.buildInfo.jsonData.get() + if (pe === undefined) { + return new P(E.missingModuleStatement({ request: k.rawRequest })) + } + const me = v.getExportsInfo(k) + let ye = + typeof pe === 'object' && + pe && + me.otherExportsInfo.getUsed(ae) === L.Unused + ? createObjectForExportsInfo(pe, me, ae) + : pe + const _e = stringifySafe(ye) + const Ie = + _e.length > 20 && typeof ye === 'object' + ? `JSON.parse('${_e.replace(/[\\']/g, '\\$&')}')` + : _e + let Me + if (le) { + Me = `${E.supportsConst() ? 'const' : 'var'} ${ + R.NAMESPACE_OBJECT_EXPORT + } = ${Ie};` + le.registerNamespaceExport(R.NAMESPACE_OBJECT_EXPORT) + } else { + N.add(q.module) + Me = `${k.moduleArgument}.exports = ${Ie};` + } + return new P(Me) + } + } + k.exports = JsonGenerator + }, + 7671: function (k, v, E) { + 'use strict' + const { JSON_MODULE_TYPE: P } = E(93622) + const R = E(92198) + const L = E(44734) + const N = E(61117) + const q = R(E(57583), () => E(40013), { + name: 'Json Modules Plugin', + baseDataPath: 'parser', + }) + const ae = 'JsonModulesPlugin' + class JsonModulesPlugin { + apply(k) { + k.hooks.compilation.tap(ae, (k, { normalModuleFactory: v }) => { + v.hooks.createParser.for(P).tap(ae, (k) => { + q(k) + return new N(k) + }) + v.hooks.createGenerator.for(P).tap(ae, () => new L()) + }) + } + } + k.exports = JsonModulesPlugin + }, + 61117: function (k, v, E) { + 'use strict' + const P = E(17381) + const R = E(19179) + const L = E(20631) + const N = E(15114) + const q = L(() => E(54650)) + class JsonParser extends P { + constructor(k) { + super() + this.options = k || {} + } + parse(k, v) { + if (Buffer.isBuffer(k)) { + k = k.toString('utf-8') + } + const E = + typeof this.options.parse === 'function' ? this.options.parse : q() + let P + try { + P = + typeof k === 'object' ? k : E(k[0] === '\ufeff' ? k.slice(1) : k) + } catch (k) { + throw new Error(`Cannot parse JSON: ${k.message}`) + } + const L = new N(P) + const ae = v.module.buildInfo + ae.jsonData = L + ae.strict = true + const le = v.module.buildMeta + le.exportsType = 'default' + le.defaultObject = typeof P === 'object' ? 'redirect-warn' : false + v.module.addDependency(new R(L)) + return v + } + } + k.exports = JsonParser + }, + 15893: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(89168) + const L = + "Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'." + class AbstractLibraryPlugin { + constructor({ pluginName: k, type: v }) { + this._pluginName = k + this._type = v + this._parseCache = new WeakMap() + } + apply(k) { + const { _pluginName: v } = this + k.hooks.thisCompilation.tap(v, (k) => { + k.hooks.finishModules.tap({ name: v, stage: 10 }, () => { + for (const [ + v, + { + dependencies: E, + options: { library: P }, + }, + ] of k.entries) { + const R = this._parseOptionsCached( + P !== undefined ? P : k.outputOptions.library + ) + if (R !== false) { + const P = E[E.length - 1] + if (P) { + const E = k.moduleGraph.getModule(P) + if (E) { + this.finishEntryModule(E, v, { + options: R, + compilation: k, + chunkGraph: k.chunkGraph, + }) + } + } + } + } + }) + const getOptionsForChunk = (v) => { + if (k.chunkGraph.getNumberOfEntryModules(v) === 0) return false + const E = v.getEntryOptions() + const P = E && E.library + return this._parseOptionsCached( + P !== undefined ? P : k.outputOptions.library + ) + } + if ( + this.render !== AbstractLibraryPlugin.prototype.render || + this.runtimeRequirements !== + AbstractLibraryPlugin.prototype.runtimeRequirements + ) { + k.hooks.additionalChunkRuntimeRequirements.tap( + v, + (v, E, { chunkGraph: P }) => { + const R = getOptionsForChunk(v) + if (R !== false) { + this.runtimeRequirements(v, E, { + options: R, + compilation: k, + chunkGraph: P, + }) + } + } + ) + } + const E = R.getCompilationHooks(k) + if (this.render !== AbstractLibraryPlugin.prototype.render) { + E.render.tap(v, (v, E) => { + const P = getOptionsForChunk(E.chunk) + if (P === false) return v + return this.render(v, E, { + options: P, + compilation: k, + chunkGraph: k.chunkGraph, + }) + }) + } + if ( + this.embedInRuntimeBailout !== + AbstractLibraryPlugin.prototype.embedInRuntimeBailout + ) { + E.embedInRuntimeBailout.tap(v, (v, E) => { + const P = getOptionsForChunk(E.chunk) + if (P === false) return + return this.embedInRuntimeBailout(v, E, { + options: P, + compilation: k, + chunkGraph: k.chunkGraph, + }) + }) + } + if ( + this.strictRuntimeBailout !== + AbstractLibraryPlugin.prototype.strictRuntimeBailout + ) { + E.strictRuntimeBailout.tap(v, (v) => { + const E = getOptionsForChunk(v.chunk) + if (E === false) return + return this.strictRuntimeBailout(v, { + options: E, + compilation: k, + chunkGraph: k.chunkGraph, + }) + }) + } + if ( + this.renderStartup !== + AbstractLibraryPlugin.prototype.renderStartup + ) { + E.renderStartup.tap(v, (v, E, P) => { + const R = getOptionsForChunk(P.chunk) + if (R === false) return v + return this.renderStartup(v, E, P, { + options: R, + compilation: k, + chunkGraph: k.chunkGraph, + }) + }) + } + E.chunkHash.tap(v, (v, E, P) => { + const R = getOptionsForChunk(v) + if (R === false) return + this.chunkHash(v, E, P, { + options: R, + compilation: k, + chunkGraph: k.chunkGraph, + }) + }) + }) + } + _parseOptionsCached(k) { + if (!k) return false + if (k.type !== this._type) return false + const v = this._parseCache.get(k) + if (v !== undefined) return v + const E = this.parseOptions(k) + this._parseCache.set(k, E) + return E + } + parseOptions(k) { + const v = E(60386) + throw new v() + } + finishEntryModule(k, v, E) {} + embedInRuntimeBailout(k, v, E) { + return undefined + } + strictRuntimeBailout(k, v) { + return undefined + } + runtimeRequirements(k, v, E) { + if (this.render !== AbstractLibraryPlugin.prototype.render) + v.add(P.returnExportsFromRuntime) + } + render(k, v, E) { + return k + } + renderStartup(k, v, E, P) { + return k + } + chunkHash(k, v, E, P) { + const R = this._parseOptionsCached( + P.compilation.outputOptions.library + ) + v.update(this._pluginName) + v.update(JSON.stringify(R)) + } + } + AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE = L + k.exports = AbstractLibraryPlugin + }, + 54035: function (k, v, E) { + 'use strict' + const { ConcatSource: P } = E(51255) + const R = E(10849) + const L = E(95041) + const N = E(15893) + class AmdLibraryPlugin extends N { + constructor(k) { + super({ pluginName: 'AmdLibraryPlugin', type: k.type }) + this.requireAsWrapper = k.requireAsWrapper + } + parseOptions(k) { + const { name: v, amdContainer: E } = k + if (this.requireAsWrapper) { + if (v) { + throw new Error( + `AMD library name must be unset. ${N.COMMON_LIBRARY_NAME_MESSAGE}` + ) + } + } else { + if (v && typeof v !== 'string') { + throw new Error( + `AMD library name must be a simple string or unset. ${N.COMMON_LIBRARY_NAME_MESSAGE}` + ) + } + } + return { name: v, amdContainer: E } + } + render( + k, + { chunkGraph: v, chunk: E, runtimeTemplate: N }, + { options: q, compilation: ae } + ) { + const le = N.supportsArrowFunction() + const pe = v.getChunkModules(E).filter((k) => k instanceof R) + const me = pe + const ye = JSON.stringify( + me.map((k) => + typeof k.request === 'object' && !Array.isArray(k.request) + ? k.request.amd + : k.request + ) + ) + const _e = me + .map( + (k) => + `__WEBPACK_EXTERNAL_MODULE_${L.toIdentifier( + `${v.getModuleId(k)}` + )}__` + ) + .join(', ') + const Ie = N.isIIFE() + const Me = + (le ? `(${_e}) => {` : `function(${_e}) {`) + + (Ie || !E.hasRuntime() ? ' return ' : '\n') + const Te = Ie ? ';\n}' : '\n}' + let je = '' + if (q.amdContainer) { + je = `${q.amdContainer}.` + } + if (this.requireAsWrapper) { + return new P(`${je}require(${ye}, ${Me}`, k, `${Te});`) + } else if (q.name) { + const v = ae.getPath(q.name, { chunk: E }) + return new P( + `${je}define(${JSON.stringify(v)}, ${ye}, ${Me}`, + k, + `${Te});` + ) + } else if (_e) { + return new P(`${je}define(${ye}, ${Me}`, k, `${Te});`) + } else { + return new P(`${je}define(${Me}`, k, `${Te});`) + } + } + chunkHash(k, v, E, { options: P, compilation: R }) { + v.update('AmdLibraryPlugin') + if (this.requireAsWrapper) { + v.update('requireAsWrapper') + } else if (P.name) { + v.update('named') + const E = R.getPath(P.name, { chunk: k }) + v.update(E) + } else if (P.amdContainer) { + v.update('amdContainer') + v.update(P.amdContainer) + } + } + } + k.exports = AmdLibraryPlugin + }, + 56768: function (k, v, E) { + 'use strict' + const { ConcatSource: P } = E(51255) + const { UsageState: R } = E(11172) + const L = E(56727) + const N = E(95041) + const q = E(10720) + const { getEntryRuntime: ae } = E(1540) + const le = E(15893) + const pe = + /^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/ + const me = /^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu + const isNameValid = (k) => !pe.test(k) && me.test(k) + const accessWithInit = (k, v, E = false) => { + const P = k[0] + if (k.length === 1 && !E) return P + let R = v > 0 ? P : `(${P} = typeof ${P} === "undefined" ? {} : ${P})` + let L = 1 + let N + if (v > L) { + N = k.slice(1, v) + L = v + R += q(N) + } else { + N = [] + } + const ae = E ? k.length : k.length - 1 + for (; L < ae; L++) { + const v = k[L] + N.push(v) + R = `(${R}${q([v])} = ${P}${q(N)} || {})` + } + if (L < k.length) R = `${R}${q([k[k.length - 1]])}` + return R + } + class AssignLibraryPlugin extends le { + constructor(k) { + super({ pluginName: 'AssignLibraryPlugin', type: k.type }) + this.prefix = k.prefix + this.declare = k.declare + this.unnamed = k.unnamed + this.named = k.named || 'assign' + } + parseOptions(k) { + const { name: v } = k + if (this.unnamed === 'error') { + if (typeof v !== 'string' && !Array.isArray(v)) { + throw new Error( + `Library name must be a string or string array. ${le.COMMON_LIBRARY_NAME_MESSAGE}` + ) + } + } else { + if (v && typeof v !== 'string' && !Array.isArray(v)) { + throw new Error( + `Library name must be a string, string array or unset. ${le.COMMON_LIBRARY_NAME_MESSAGE}` + ) + } + } + return { name: v, export: k.export } + } + finishEntryModule( + k, + v, + { options: E, compilation: P, compilation: { moduleGraph: L } } + ) { + const N = ae(P, v) + if (E.export) { + const v = L.getExportInfo( + k, + Array.isArray(E.export) ? E.export[0] : E.export + ) + v.setUsed(R.Used, N) + v.canMangleUse = false + } else { + const v = L.getExportsInfo(k) + v.setUsedInUnknownWay(N) + } + L.addExtraReason(k, 'used as library export') + } + _getPrefix(k) { + return this.prefix === 'global' + ? [k.runtimeTemplate.globalObject] + : this.prefix + } + _getResolvedFullName(k, v, E) { + const P = this._getPrefix(E) + const R = k.name ? P.concat(k.name) : P + return R.map((k) => E.getPath(k, { chunk: v })) + } + render(k, { chunk: v }, { options: E, compilation: R }) { + const L = this._getResolvedFullName(E, v, R) + if (this.declare) { + const v = L[0] + if (!isNameValid(v)) { + throw new Error( + `Library name base (${v}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${N.toIdentifier( + v + )}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${ + le.COMMON_LIBRARY_NAME_MESSAGE + }` + ) + } + k = new P(`${this.declare} ${v};\n`, k) + } + return k + } + embedInRuntimeBailout( + k, + { chunk: v, codeGenerationResults: E }, + { options: P, compilation: R } + ) { + const { data: L } = E.get(k, v.runtime) + const N = + (L && L.get('topLevelDeclarations')) || + (k.buildInfo && k.buildInfo.topLevelDeclarations) + if (!N) return "it doesn't tell about top level declarations." + const q = this._getResolvedFullName(P, v, R) + const ae = q[0] + if (N.has(ae)) + return `it declares '${ae}' on top-level, which conflicts with the current library output.` + } + strictRuntimeBailout({ chunk: k }, { options: v, compilation: E }) { + if ( + this.declare || + this.prefix === 'global' || + this.prefix.length > 0 || + !v.name + ) { + return + } + return 'a global variable is assign and maybe created' + } + renderStartup( + k, + v, + { moduleGraph: E, chunk: R }, + { options: N, compilation: ae } + ) { + const le = this._getResolvedFullName(N, R, ae) + const pe = this.unnamed === 'static' + const me = N.export + ? q(Array.isArray(N.export) ? N.export : [N.export]) + : '' + const ye = new P(k) + if (pe) { + const k = E.getExportsInfo(v) + const P = accessWithInit(le, this._getPrefix(ae).length, true) + for (const v of k.orderedExports) { + if (!v.provided) continue + const k = q([v.name]) + ye.add(`${P}${k} = ${L.exports}${me}${k};\n`) + } + ye.add( + `Object.defineProperty(${P}, "__esModule", { value: true });\n` + ) + } else if (N.name ? this.named === 'copy' : this.unnamed === 'copy') { + ye.add( + `var __webpack_export_target__ = ${accessWithInit( + le, + this._getPrefix(ae).length, + true + )};\n` + ) + let k = L.exports + if (me) { + ye.add(`var __webpack_exports_export__ = ${L.exports}${me};\n`) + k = '__webpack_exports_export__' + } + ye.add( + `for(var i in ${k}) __webpack_export_target__[i] = ${k}[i];\n` + ) + ye.add( + `if(${k}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n` + ) + } else { + ye.add( + `${accessWithInit(le, this._getPrefix(ae).length, false)} = ${ + L.exports + }${me};\n` + ) + } + return ye + } + runtimeRequirements(k, v, E) {} + chunkHash(k, v, E, { options: P, compilation: R }) { + v.update('AssignLibraryPlugin') + const L = this._getResolvedFullName(P, k, R) + if (P.name ? this.named === 'copy' : this.unnamed === 'copy') { + v.update('copy') + } + if (this.declare) { + v.update(this.declare) + } + v.update(L.join('.')) + if (P.export) { + v.update(`${P.export}`) + } + } + } + k.exports = AssignLibraryPlugin + }, + 60234: function (k, v, E) { + 'use strict' + const P = new WeakMap() + const getEnabledTypes = (k) => { + let v = P.get(k) + if (v === undefined) { + v = new Set() + P.set(k, v) + } + return v + } + class EnableLibraryPlugin { + constructor(k) { + this.type = k + } + static setEnabled(k, v) { + getEnabledTypes(k).add(v) + } + static checkEnabled(k, v) { + if (!getEnabledTypes(k).has(v)) { + throw new Error( + `Library type "${v}" 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". ' + + 'These types are enabled: ' + + Array.from(getEnabledTypes(k)).join(', ') + ) + } + } + apply(k) { + const { type: v } = this + const P = getEnabledTypes(k) + if (P.has(v)) return + P.add(v) + if (typeof v === 'string') { + const enableExportProperty = () => { + const P = E(73849) + new P({ type: v, nsObjectUsed: v !== 'module' }).apply(k) + } + switch (v) { + case 'var': { + const P = E(56768) + new P({ + type: v, + prefix: [], + declare: 'var', + unnamed: 'error', + }).apply(k) + break + } + case 'assign-properties': { + const P = E(56768) + new P({ + type: v, + prefix: [], + declare: false, + unnamed: 'error', + named: 'copy', + }).apply(k) + break + } + case 'assign': { + const P = E(56768) + new P({ + type: v, + prefix: [], + declare: false, + unnamed: 'error', + }).apply(k) + break + } + case 'this': { + const P = E(56768) + new P({ + type: v, + prefix: ['this'], + declare: false, + unnamed: 'copy', + }).apply(k) + break + } + case 'window': { + const P = E(56768) + new P({ + type: v, + prefix: ['window'], + declare: false, + unnamed: 'copy', + }).apply(k) + break + } + case 'self': { + const P = E(56768) + new P({ + type: v, + prefix: ['self'], + declare: false, + unnamed: 'copy', + }).apply(k) + break + } + case 'global': { + const P = E(56768) + new P({ + type: v, + prefix: 'global', + declare: false, + unnamed: 'copy', + }).apply(k) + break + } + case 'commonjs': { + const P = E(56768) + new P({ + type: v, + prefix: ['exports'], + declare: false, + unnamed: 'copy', + }).apply(k) + break + } + case 'commonjs-static': { + const P = E(56768) + new P({ + type: v, + prefix: ['exports'], + declare: false, + unnamed: 'static', + }).apply(k) + break + } + case 'commonjs2': + case 'commonjs-module': { + const P = E(56768) + new P({ + type: v, + prefix: ['module', 'exports'], + declare: false, + unnamed: 'assign', + }).apply(k) + break + } + case 'amd': + case 'amd-require': { + enableExportProperty() + const P = E(54035) + new P({ type: v, requireAsWrapper: v === 'amd-require' }).apply( + k + ) + break + } + case 'umd': + case 'umd2': { + enableExportProperty() + const P = E(52594) + new P({ + type: v, + optionalAmdExternalAsGlobal: v === 'umd2', + }).apply(k) + break + } + case 'system': { + enableExportProperty() + const P = E(51327) + new P({ type: v }).apply(k) + break + } + case 'jsonp': { + enableExportProperty() + const P = E(94206) + new P({ type: v }).apply(k) + break + } + case 'module': { + enableExportProperty() + const P = E(65587) + new P({ type: v }).apply(k) + break + } + default: + throw new Error( + `Unsupported library type ${v}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.` + ) + } + } else { + } + } + } + k.exports = EnableLibraryPlugin + }, + 73849: function (k, v, E) { + 'use strict' + const { ConcatSource: P } = E(51255) + const { UsageState: R } = E(11172) + const L = E(56727) + const N = E(10720) + const { getEntryRuntime: q } = E(1540) + const ae = E(15893) + class ExportPropertyLibraryPlugin extends ae { + constructor({ type: k, nsObjectUsed: v }) { + super({ pluginName: 'ExportPropertyLibraryPlugin', type: k }) + this.nsObjectUsed = v + } + parseOptions(k) { + return { export: k.export } + } + finishEntryModule( + k, + v, + { options: E, compilation: P, compilation: { moduleGraph: L } } + ) { + const N = q(P, v) + if (E.export) { + const v = L.getExportInfo( + k, + Array.isArray(E.export) ? E.export[0] : E.export + ) + v.setUsed(R.Used, N) + v.canMangleUse = false + } else { + const v = L.getExportsInfo(k) + if (this.nsObjectUsed) { + v.setUsedInUnknownWay(N) + } else { + v.setAllKnownExportsUsed(N) + } + } + L.addExtraReason(k, 'used as library export') + } + runtimeRequirements(k, v, E) {} + renderStartup(k, v, E, { options: R }) { + if (!R.export) return k + const q = `${L.exports} = ${L.exports}${N( + Array.isArray(R.export) ? R.export : [R.export] + )};\n` + return new P(k, q) + } + } + k.exports = ExportPropertyLibraryPlugin + }, + 94206: function (k, v, E) { + 'use strict' + const { ConcatSource: P } = E(51255) + const R = E(15893) + class JsonpLibraryPlugin extends R { + constructor(k) { + super({ pluginName: 'JsonpLibraryPlugin', type: k.type }) + } + parseOptions(k) { + const { name: v } = k + if (typeof v !== 'string') { + throw new Error( + `Jsonp library name must be a simple string. ${R.COMMON_LIBRARY_NAME_MESSAGE}` + ) + } + return { name: v } + } + render(k, { chunk: v }, { options: E, compilation: R }) { + const L = R.getPath(E.name, { chunk: v }) + return new P(`${L}(`, k, ')') + } + chunkHash(k, v, E, { options: P, compilation: R }) { + v.update('JsonpLibraryPlugin') + v.update(R.getPath(P.name, { chunk: k })) + } + } + k.exports = JsonpLibraryPlugin + }, + 65587: function (k, v, E) { + 'use strict' + const { ConcatSource: P } = E(51255) + const R = E(56727) + const L = E(95041) + const N = E(10720) + const q = E(15893) + class ModuleLibraryPlugin extends q { + constructor(k) { + super({ pluginName: 'ModuleLibraryPlugin', type: k.type }) + } + parseOptions(k) { + const { name: v } = k + if (v) { + throw new Error( + `Library name must be unset. ${q.COMMON_LIBRARY_NAME_MESSAGE}` + ) + } + return { name: v } + } + renderStartup( + k, + v, + { moduleGraph: E, chunk: q }, + { options: ae, compilation: le } + ) { + const pe = new P(k) + const me = E.getExportsInfo(v) + const ye = [] + const _e = E.isAsync(v) + if (_e) { + pe.add(`${R.exports} = await ${R.exports};\n`) + } + for (const k of me.orderedExports) { + if (!k.provided) continue + const v = `${R.exports}${L.toIdentifier(k.name)}` + pe.add( + `var ${v} = ${R.exports}${N([ + k.getUsedName(k.name, q.runtime), + ])};\n` + ) + ye.push(`${v} as ${k.name}`) + } + if (ye.length > 0) { + pe.add(`export { ${ye.join(', ')} };\n`) + } + return pe + } + } + k.exports = ModuleLibraryPlugin + }, + 51327: function (k, v, E) { + 'use strict' + const { ConcatSource: P } = E(51255) + const { UsageState: R } = E(11172) + const L = E(10849) + const N = E(95041) + const q = E(10720) + const ae = E(15893) + class SystemLibraryPlugin extends ae { + constructor(k) { + super({ pluginName: 'SystemLibraryPlugin', type: k.type }) + } + parseOptions(k) { + const { name: v } = k + if (v && typeof v !== 'string') { + throw new Error( + `System.js library name must be a simple string or unset. ${ae.COMMON_LIBRARY_NAME_MESSAGE}` + ) + } + return { name: v } + } + render( + k, + { chunkGraph: v, moduleGraph: E, chunk: ae }, + { options: le, compilation: pe } + ) { + const me = v + .getChunkModules(ae) + .filter((k) => k instanceof L && k.externalType === 'system') + const ye = me + const _e = le.name + ? `${JSON.stringify(pe.getPath(le.name, { chunk: ae }))}, ` + : '' + const Ie = JSON.stringify( + ye.map((k) => + typeof k.request === 'object' && !Array.isArray(k.request) + ? k.request.amd + : k.request + ) + ) + const Me = '__WEBPACK_DYNAMIC_EXPORT__' + const Te = ye.map( + (k) => + `__WEBPACK_EXTERNAL_MODULE_${N.toIdentifier( + `${v.getModuleId(k)}` + )}__` + ) + const je = Te.map((k) => `var ${k} = {};`).join('\n') + const Ne = [] + const Be = + Te.length === 0 + ? '' + : N.asString([ + 'setters: [', + N.indent( + ye + .map((k, v) => { + const P = Te[v] + const L = E.getExportsInfo(k) + const le = + L.otherExportsInfo.getUsed(ae.runtime) === R.Unused + const pe = [] + const me = [] + for (const k of L.orderedExports) { + const v = k.getUsedName(undefined, ae.runtime) + if (v) { + if (le || v !== k.name) { + pe.push(`${P}${q([v])} = module${q([k.name])};`) + me.push(k.name) + } + } else { + me.push(k.name) + } + } + if (!le) { + if ( + !Array.isArray(k.request) || + k.request.length === 1 + ) { + Ne.push( + `Object.defineProperty(${P}, "__esModule", { value: true });` + ) + } + if (me.length > 0) { + const k = `${P}handledNames` + Ne.push(`var ${k} = ${JSON.stringify(me)};`) + pe.push( + N.asString([ + 'Object.keys(module).forEach(function(key) {', + N.indent([ + `if(${k}.indexOf(key) >= 0)`, + N.indent(`${P}[key] = module[key];`), + ]), + '});', + ]) + ) + } else { + pe.push( + N.asString([ + 'Object.keys(module).forEach(function(key) {', + N.indent([`${P}[key] = module[key];`]), + '});', + ]) + ) + } + } + if (pe.length === 0) return 'function() {}' + return N.asString([ + 'function(module) {', + N.indent(pe), + '}', + ]) + }) + .join(',\n') + ), + '],', + ]) + return new P( + N.asString([ + `System.register(${_e}${Ie}, function(${Me}, __system_context__) {`, + N.indent([ + je, + N.asString(Ne), + 'return {', + N.indent([Be, 'execute: function() {', N.indent(`${Me}(`)]), + ]), + '', + ]), + k, + N.asString([ + '', + N.indent([N.indent([N.indent([');']), '}']), '};']), + '})', + ]) + ) + } + chunkHash(k, v, E, { options: P, compilation: R }) { + v.update('SystemLibraryPlugin') + if (P.name) { + v.update(R.getPath(P.name, { chunk: k })) + } + } + } + k.exports = SystemLibraryPlugin + }, + 52594: function (k, v, E) { + 'use strict' + const { ConcatSource: P, OriginalSource: R } = E(51255) + const L = E(10849) + const N = E(95041) + const q = E(15893) + const accessorToObjectAccess = (k) => + k.map((k) => `[${JSON.stringify(k)}]`).join('') + const accessorAccess = (k, v, E = ', ') => { + const P = Array.isArray(v) ? v : [v] + return P.map((v, E) => { + const R = k + ? k + accessorToObjectAccess(P.slice(0, E + 1)) + : P[0] + accessorToObjectAccess(P.slice(1, E + 1)) + if (E === P.length - 1) return R + if (E === 0 && k === undefined) + return `${R} = typeof ${R} === "object" ? ${R} : {}` + return `${R} = ${R} || {}` + }).join(E) + } + class UmdLibraryPlugin extends q { + constructor(k) { + super({ pluginName: 'UmdLibraryPlugin', type: k.type }) + this.optionalAmdExternalAsGlobal = k.optionalAmdExternalAsGlobal + } + parseOptions(k) { + let v + let E + if (typeof k.name === 'object' && !Array.isArray(k.name)) { + v = k.name.root || k.name.amd || k.name.commonjs + E = k.name + } else { + v = k.name + const P = Array.isArray(v) ? v[0] : v + E = { commonjs: P, root: k.name, amd: P } + } + return { + name: v, + names: E, + auxiliaryComment: k.auxiliaryComment, + namedDefine: k.umdNamedDefine, + } + } + render( + k, + { chunkGraph: v, runtimeTemplate: E, chunk: q, moduleGraph: ae }, + { options: le, compilation: pe } + ) { + const me = v + .getChunkModules(q) + .filter( + (k) => + k instanceof L && + (k.externalType === 'umd' || k.externalType === 'umd2') + ) + let ye = me + const _e = [] + let Ie = [] + if (this.optionalAmdExternalAsGlobal) { + for (const k of ye) { + if (k.isOptional(ae)) { + _e.push(k) + } else { + Ie.push(k) + } + } + ye = Ie.concat(_e) + } else { + Ie = ye + } + const replaceKeys = (k) => pe.getPath(k, { chunk: q }) + const externalsDepsArray = (k) => + `[${replaceKeys( + k + .map((k) => + JSON.stringify( + typeof k.request === 'object' ? k.request.amd : k.request + ) + ) + .join(', ') + )}]` + const externalsRootArray = (k) => + replaceKeys( + k + .map((k) => { + let v = k.request + if (typeof v === 'object') v = v.root + return `root${accessorToObjectAccess([].concat(v))}` + }) + .join(', ') + ) + const externalsRequireArray = (k) => + replaceKeys( + ye + .map((v) => { + let E + let P = v.request + if (typeof P === 'object') { + P = P[k] + } + if (P === undefined) { + throw new Error( + 'Missing external configuration for type:' + k + ) + } + if (Array.isArray(P)) { + E = `require(${JSON.stringify( + P[0] + )})${accessorToObjectAccess(P.slice(1))}` + } else { + E = `require(${JSON.stringify(P)})` + } + if (v.isOptional(ae)) { + E = `(function webpackLoadOptionalExternalModule() { try { return ${E}; } catch(e) {} }())` + } + return E + }) + .join(', ') + ) + const externalsArguments = (k) => + k + .map( + (k) => + `__WEBPACK_EXTERNAL_MODULE_${N.toIdentifier( + `${v.getModuleId(k)}` + )}__` + ) + .join(', ') + const libraryName = (k) => + JSON.stringify(replaceKeys([].concat(k).pop())) + let Me + if (_e.length > 0) { + const k = externalsArguments(Ie) + const v = + Ie.length > 0 + ? externalsArguments(Ie) + ', ' + externalsRootArray(_e) + : externalsRootArray(_e) + Me = + `function webpackLoadOptionalExternalModuleAmd(${k}) {\n` + + `\t\t\treturn factory(${v});\n` + + '\t\t}' + } else { + Me = 'factory' + } + const { auxiliaryComment: Te, namedDefine: je, names: Ne } = le + const getAuxiliaryComment = (k) => { + if (Te) { + if (typeof Te === 'string') return '\t//' + Te + '\n' + if (Te[k]) return '\t//' + Te[k] + '\n' + } + return '' + } + return new P( + new R( + '(function webpackUniversalModuleDefinition(root, factory) {\n' + + getAuxiliaryComment('commonjs2') + + "\tif(typeof exports === 'object' && typeof module === 'object')\n" + + '\t\tmodule.exports = factory(' + + externalsRequireArray('commonjs2') + + ');\n' + + getAuxiliaryComment('amd') + + "\telse if(typeof define === 'function' && define.amd)\n" + + (Ie.length > 0 + ? Ne.amd && je === true + ? '\t\tdefine(' + + libraryName(Ne.amd) + + ', ' + + externalsDepsArray(Ie) + + ', ' + + Me + + ');\n' + : '\t\tdefine(' + + externalsDepsArray(Ie) + + ', ' + + Me + + ');\n' + : Ne.amd && je === true + ? '\t\tdefine(' + libraryName(Ne.amd) + ', [], ' + Me + ');\n' + : '\t\tdefine([], ' + Me + ');\n') + + (Ne.root || Ne.commonjs + ? getAuxiliaryComment('commonjs') + + "\telse if(typeof exports === 'object')\n" + + '\t\texports[' + + libraryName(Ne.commonjs || Ne.root) + + '] = factory(' + + externalsRequireArray('commonjs') + + ');\n' + + getAuxiliaryComment('root') + + '\telse\n' + + '\t\t' + + replaceKeys( + accessorAccess('root', Ne.root || Ne.commonjs) + ) + + ' = factory(' + + externalsRootArray(ye) + + ');\n' + : '\telse {\n' + + (ye.length > 0 + ? "\t\tvar a = typeof exports === 'object' ? factory(" + + externalsRequireArray('commonjs') + + ') : factory(' + + externalsRootArray(ye) + + ');\n' + : '\t\tvar a = factory();\n') + + "\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n" + + '\t}\n') + + `})(${E.outputOptions.globalObject}, ${ + E.supportsArrowFunction() + ? `(${externalsArguments(ye)}) =>` + : `function(${externalsArguments(ye)})` + } {\nreturn `, + 'webpack/universalModuleDefinition' + ), + k, + ';\n})' + ) + } + } + k.exports = UmdLibraryPlugin + }, + 13905: function (k, v) { + 'use strict' + const E = 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', + }) + v.LogType = E + const P = Symbol('webpack logger raw log method') + const R = Symbol('webpack logger times') + const L = Symbol('webpack logger aggregated times') + class WebpackLogger { + constructor(k, v) { + this[P] = k + this.getChildLogger = v + } + error(...k) { + this[P](E.error, k) + } + warn(...k) { + this[P](E.warn, k) + } + info(...k) { + this[P](E.info, k) + } + log(...k) { + this[P](E.log, k) + } + debug(...k) { + this[P](E.debug, k) + } + assert(k, ...v) { + if (!k) { + this[P](E.error, v) + } + } + trace() { + this[P](E.trace, ['Trace']) + } + clear() { + this[P](E.clear) + } + status(...k) { + this[P](E.status, k) + } + group(...k) { + this[P](E.group, k) + } + groupCollapsed(...k) { + this[P](E.groupCollapsed, k) + } + groupEnd(...k) { + this[P](E.groupEnd, k) + } + profile(k) { + this[P](E.profile, [k]) + } + profileEnd(k) { + this[P](E.profileEnd, [k]) + } + time(k) { + this[R] = this[R] || new Map() + this[R].set(k, process.hrtime()) + } + timeLog(k) { + const v = this[R] && this[R].get(k) + if (!v) { + throw new Error(`No such label '${k}' for WebpackLogger.timeLog()`) + } + const L = process.hrtime(v) + this[P](E.time, [k, ...L]) + } + timeEnd(k) { + const v = this[R] && this[R].get(k) + if (!v) { + throw new Error(`No such label '${k}' for WebpackLogger.timeEnd()`) + } + const L = process.hrtime(v) + this[R].delete(k) + this[P](E.time, [k, ...L]) + } + timeAggregate(k) { + const v = this[R] && this[R].get(k) + if (!v) { + throw new Error( + `No such label '${k}' for WebpackLogger.timeAggregate()` + ) + } + const E = process.hrtime(v) + this[R].delete(k) + this[L] = this[L] || new Map() + const P = this[L].get(k) + if (P !== undefined) { + if (E[1] + P[1] > 1e9) { + E[0] += P[0] + 1 + E[1] = E[1] - 1e9 + P[1] + } else { + E[0] += P[0] + E[1] += P[1] + } + } + this[L].set(k, E) + } + timeAggregateEnd(k) { + if (this[L] === undefined) return + const v = this[L].get(k) + if (v === undefined) return + this[L].delete(k) + this[P](E.time, [k, ...v]) + } + } + v.Logger = WebpackLogger + }, + 41748: function (k, v, E) { + 'use strict' + const { LogType: P } = E(13905) + const filterToFunction = (k) => { + if (typeof k === 'string') { + const v = new RegExp( + `[\\\\/]${k.replace( + /[-[\]{}()*+?.\\^$|]/g, + '\\$&' + )}([\\\\/]|$|!|\\?)` + ) + return (k) => v.test(k) + } + if (k && typeof k === 'object' && typeof k.test === 'function') { + return (v) => k.test(v) + } + if (typeof k === 'function') { + return k + } + if (typeof k === 'boolean') { + return () => k + } + } + const R = { + none: 6, + false: 6, + error: 5, + warn: 4, + info: 3, + log: 2, + true: 2, + verbose: 1, + } + k.exports = ({ level: k = 'info', debug: v = false, console: E }) => { + const L = + typeof v === 'boolean' + ? [() => v] + : [].concat(v).map(filterToFunction) + const N = R[`${k}`] || 0 + const logger = (k, v, q) => { + const labeledArgs = () => { + if (Array.isArray(q)) { + if (q.length > 0 && typeof q[0] === 'string') { + return [`[${k}] ${q[0]}`, ...q.slice(1)] + } else { + return [`[${k}]`, ...q] + } + } else { + return [] + } + } + const ae = L.some((v) => v(k)) + switch (v) { + case P.debug: + if (!ae) return + if (typeof E.debug === 'function') { + E.debug(...labeledArgs()) + } else { + E.log(...labeledArgs()) + } + break + case P.log: + if (!ae && N > R.log) return + E.log(...labeledArgs()) + break + case P.info: + if (!ae && N > R.info) return + E.info(...labeledArgs()) + break + case P.warn: + if (!ae && N > R.warn) return + E.warn(...labeledArgs()) + break + case P.error: + if (!ae && N > R.error) return + E.error(...labeledArgs()) + break + case P.trace: + if (!ae) return + E.trace() + break + case P.groupCollapsed: + if (!ae && N > R.log) return + if (!ae && N > R.verbose) { + if (typeof E.groupCollapsed === 'function') { + E.groupCollapsed(...labeledArgs()) + } else { + E.log(...labeledArgs()) + } + break + } + case P.group: + if (!ae && N > R.log) return + if (typeof E.group === 'function') { + E.group(...labeledArgs()) + } else { + E.log(...labeledArgs()) + } + break + case P.groupEnd: + if (!ae && N > R.log) return + if (typeof E.groupEnd === 'function') { + E.groupEnd() + } + break + case P.time: { + if (!ae && N > R.log) return + const v = q[1] * 1e3 + q[2] / 1e6 + const P = `[${k}] ${q[0]}: ${v} ms` + if (typeof E.logTime === 'function') { + E.logTime(P) + } else { + E.log(P) + } + break + } + case P.profile: + if (typeof E.profile === 'function') { + E.profile(...labeledArgs()) + } + break + case P.profileEnd: + if (typeof E.profileEnd === 'function') { + E.profileEnd(...labeledArgs()) + } + break + case P.clear: + if (!ae && N > R.log) return + if (typeof E.clear === 'function') { + E.clear() + } + break + case P.status: + if (!ae && N > R.info) return + if (typeof E.status === 'function') { + if (q.length === 0) { + E.status() + } else { + E.status(...labeledArgs()) + } + } else { + if (q.length !== 0) { + E.info(...labeledArgs()) + } + } + break + default: + throw new Error(`Unexpected LogType ${v}`) + } + } + return logger + } + }, + 64755: function (k) { + 'use strict' + const arraySum = (k) => { + let v = 0 + for (const E of k) v += E + return v + } + const truncateArgs = (k, v) => { + const E = k.map((k) => `${k}`.length) + const P = v - E.length + 1 + if (P > 0 && k.length === 1) { + if (P >= k[0].length) { + return k + } else if (P > 3) { + return ['...' + k[0].slice(-P + 3)] + } else { + return [k[0].slice(-P)] + } + } + if (P < arraySum(E.map((k) => Math.min(k, 6)))) { + if (k.length > 1) return truncateArgs(k.slice(0, k.length - 1), v) + return [] + } + let R = arraySum(E) + if (R <= P) return k + while (R > P) { + const k = Math.max(...E) + const v = E.filter((v) => v !== k) + const L = v.length > 0 ? Math.max(...v) : 0 + const N = k - L + let q = E.length - v.length + let ae = R - P + for (let v = 0; v < E.length; v++) { + if (E[v] === k) { + const k = Math.min(Math.floor(ae / q), N) + E[v] -= k + R -= k + ae -= k + q-- + } + } + } + return k.map((k, v) => { + const P = `${k}` + const R = E[v] + if (P.length === R) { + return P + } else if (R > 5) { + return '...' + P.slice(-R + 3) + } else if (R > 0) { + return P.slice(-R) + } else { + return '' + } + }) + } + k.exports = truncateArgs + }, + 16574: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(31626) + class CommonJsChunkLoadingPlugin { + constructor(k = {}) { + this._asyncChunkLoading = k.asyncChunkLoading + } + apply(k) { + const v = this._asyncChunkLoading ? E(92172) : E(14461) + const L = this._asyncChunkLoading ? 'async-node' : 'require' + new R({ + chunkLoading: L, + asyncChunkLoading: this._asyncChunkLoading, + }).apply(k) + k.hooks.thisCompilation.tap('CommonJsChunkLoadingPlugin', (k) => { + const E = k.outputOptions.chunkLoading + const isEnabledForChunk = (k) => { + const v = k.getEntryOptions() + const P = v && v.chunkLoading !== undefined ? v.chunkLoading : E + return P === L + } + const R = new WeakSet() + const handler = (E, L) => { + if (R.has(E)) return + R.add(E) + if (!isEnabledForChunk(E)) return + L.add(P.moduleFactoriesAddOnly) + L.add(P.hasOwnProperty) + k.addRuntimeModule(E, new v(L)) + } + k.hooks.runtimeRequirementInTree + .for(P.ensureChunkHandlers) + .tap('CommonJsChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.hmrDownloadUpdateHandlers) + .tap('CommonJsChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.hmrDownloadManifest) + .tap('CommonJsChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.baseURI) + .tap('CommonJsChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.externalInstallChunk) + .tap('CommonJsChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.onChunksLoaded) + .tap('CommonJsChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.ensureChunkHandlers) + .tap('CommonJsChunkLoadingPlugin', (k, v) => { + if (!isEnabledForChunk(k)) return + v.add(P.getChunkScriptFilename) + }) + k.hooks.runtimeRequirementInTree + .for(P.hmrDownloadUpdateHandlers) + .tap('CommonJsChunkLoadingPlugin', (k, v) => { + if (!isEnabledForChunk(k)) return + v.add(P.getChunkUpdateScriptFilename) + v.add(P.moduleCache) + v.add(P.hmrModuleData) + v.add(P.moduleFactoriesAddOnly) + }) + k.hooks.runtimeRequirementInTree + .for(P.hmrDownloadManifest) + .tap('CommonJsChunkLoadingPlugin', (k, v) => { + if (!isEnabledForChunk(k)) return + v.add(P.getUpdateManifestFilename) + }) + }) + } + } + k.exports = CommonJsChunkLoadingPlugin + }, + 74983: function (k, v, E) { + 'use strict' + const P = E(75943) + const R = E(56450) + const L = E(41748) + const N = E(60432) + const q = E(73362) + class NodeEnvironmentPlugin { + constructor(k) { + this.options = k + } + apply(k) { + const { infrastructureLogging: v } = this.options + k.infrastructureLogger = L({ + level: v.level || 'info', + debug: v.debug || false, + console: + v.console || + q({ + colors: v.colors, + appendOnly: v.appendOnly, + stream: v.stream, + }), + }) + k.inputFileSystem = new P(R, 6e4) + const E = k.inputFileSystem + k.outputFileSystem = R + k.intermediateFileSystem = R + k.watchFileSystem = new N(k.inputFileSystem) + k.hooks.beforeRun.tap('NodeEnvironmentPlugin', (k) => { + if (k.inputFileSystem === E) { + k.fsStartTime = Date.now() + E.purge() + } + }) + } + } + k.exports = NodeEnvironmentPlugin + }, + 44513: function (k) { + 'use strict' + class NodeSourcePlugin { + apply(k) {} + } + k.exports = NodeSourcePlugin + }, + 56976: function (k, v, E) { + 'use strict' + const P = E(53757) + const R = [ + 'assert', + 'assert/strict', + 'async_hooks', + 'buffer', + 'child_process', + 'cluster', + 'console', + 'constants', + 'crypto', + 'dgram', + 'diagnostics_channel', + 'dns', + 'dns/promises', + 'domain', + 'events', + 'fs', + 'fs/promises', + 'http', + 'http2', + 'https', + 'inspector', + 'inspector/promises', + 'module', + 'net', + 'os', + 'path', + 'path/posix', + 'path/win32', + 'perf_hooks', + 'process', + 'punycode', + 'querystring', + 'readline', + 'readline/promises', + 'repl', + 'stream', + 'stream/consumers', + 'stream/promises', + 'stream/web', + 'string_decoder', + 'sys', + 'timers', + 'timers/promises', + 'tls', + 'trace_events', + 'tty', + 'url', + 'util', + 'util/types', + 'v8', + 'vm', + 'wasi', + 'worker_threads', + 'zlib', + /^node:/, + 'pnpapi', + ] + class NodeTargetPlugin { + apply(k) { + new P('node-commonjs', R).apply(k) + } + } + k.exports = NodeTargetPlugin + }, + 74578: function (k, v, E) { + 'use strict' + const P = E(45542) + const R = E(73126) + class NodeTemplatePlugin { + constructor(k = {}) { + this._options = k + } + apply(k) { + const v = this._options.asyncChunkLoading ? 'async-node' : 'require' + k.options.output.chunkLoading = v + new P().apply(k) + new R(v).apply(k) + } + } + k.exports = NodeTemplatePlugin + }, + 60432: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = E(28978) + class NodeWatchFileSystem { + constructor(k) { + this.inputFileSystem = k + this.watcherOptions = { aggregateTimeout: 0 } + this.watcher = new R(this.watcherOptions) + } + watch(k, v, E, L, N, q, ae) { + if (!k || typeof k[Symbol.iterator] !== 'function') { + throw new Error("Invalid arguments: 'files'") + } + if (!v || typeof v[Symbol.iterator] !== 'function') { + throw new Error("Invalid arguments: 'directories'") + } + if (!E || typeof E[Symbol.iterator] !== 'function') { + throw new Error("Invalid arguments: 'missing'") + } + if (typeof q !== 'function') { + throw new Error("Invalid arguments: 'callback'") + } + if (typeof L !== 'number' && L) { + throw new Error("Invalid arguments: 'startTime'") + } + if (typeof N !== 'object') { + throw new Error("Invalid arguments: 'options'") + } + if (typeof ae !== 'function' && ae) { + throw new Error("Invalid arguments: 'callbackUndelayed'") + } + const le = this.watcher + this.watcher = new R(N) + if (ae) { + this.watcher.once('change', ae) + } + const fetchTimeInfo = () => { + const k = new Map() + const v = new Map() + if (this.watcher) { + this.watcher.collectTimeInfoEntries(k, v) + } + return { fileTimeInfoEntries: k, contextTimeInfoEntries: v } + } + this.watcher.once('aggregated', (k, v) => { + this.watcher.pause() + if (this.inputFileSystem && this.inputFileSystem.purge) { + const E = this.inputFileSystem + for (const v of k) { + E.purge(v) + } + for (const k of v) { + E.purge(k) + } + } + const { fileTimeInfoEntries: E, contextTimeInfoEntries: P } = + fetchTimeInfo() + q(null, E, P, k, v) + }) + this.watcher.watch({ + files: k, + directories: v, + missing: E, + startTime: L, + }) + if (le) { + le.close() + } + return { + close: () => { + if (this.watcher) { + this.watcher.close() + this.watcher = null + } + }, + pause: () => { + if (this.watcher) { + this.watcher.pause() + } + }, + getAggregatedRemovals: P.deprecate( + () => { + const k = this.watcher && this.watcher.aggregatedRemovals + if (k && this.inputFileSystem && this.inputFileSystem.purge) { + const v = this.inputFileSystem + for (const E of k) { + v.purge(E) + } + } + return k + }, + "Watcher.getAggregatedRemovals is deprecated in favor of Watcher.getInfo since that's more performant.", + 'DEP_WEBPACK_WATCHER_GET_AGGREGATED_REMOVALS' + ), + getAggregatedChanges: P.deprecate( + () => { + const k = this.watcher && this.watcher.aggregatedChanges + if (k && this.inputFileSystem && this.inputFileSystem.purge) { + const v = this.inputFileSystem + for (const E of k) { + v.purge(E) + } + } + return k + }, + "Watcher.getAggregatedChanges is deprecated in favor of Watcher.getInfo since that's more performant.", + 'DEP_WEBPACK_WATCHER_GET_AGGREGATED_CHANGES' + ), + getFileTimeInfoEntries: P.deprecate( + () => fetchTimeInfo().fileTimeInfoEntries, + "Watcher.getFileTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.", + 'DEP_WEBPACK_WATCHER_FILE_TIME_INFO_ENTRIES' + ), + getContextTimeInfoEntries: P.deprecate( + () => fetchTimeInfo().contextTimeInfoEntries, + "Watcher.getContextTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.", + 'DEP_WEBPACK_WATCHER_CONTEXT_TIME_INFO_ENTRIES' + ), + getInfo: () => { + const k = this.watcher && this.watcher.aggregatedRemovals + const v = this.watcher && this.watcher.aggregatedChanges + if (this.inputFileSystem && this.inputFileSystem.purge) { + const E = this.inputFileSystem + if (k) { + for (const v of k) { + E.purge(v) + } + } + if (v) { + for (const k of v) { + E.purge(k) + } + } + } + const { fileTimeInfoEntries: E, contextTimeInfoEntries: P } = + fetchTimeInfo() + return { + changes: v, + removals: k, + fileTimeInfoEntries: E, + contextTimeInfoEntries: P, + } + }, + } + } + } + k.exports = NodeWatchFileSystem + }, + 92172: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + const { chunkHasJs: N, getChunkFilenameTemplate: q } = E(89168) + const { getInitialChunkIds: ae } = E(73777) + const le = E(21751) + const { getUndoPath: pe } = E(65315) + class ReadFileChunkLoadingRuntimeModule extends R { + constructor(k) { + super('readFile chunk loading', R.STAGE_ATTACH) + this.runtimeRequirements = k + } + _generateBaseUri(k, v) { + const E = k.getEntryOptions() + if (E && E.baseUri) { + return `${P.baseURI} = ${JSON.stringify(E.baseUri)};` + } + return `${P.baseURI} = require("url").pathToFileURL(${ + v ? `__dirname + ${JSON.stringify('/' + v)}` : '__filename' + });` + } + generate() { + const { chunkGraph: k, chunk: v } = this + const { runtimeTemplate: E } = this.compilation + const R = P.ensureChunkHandlers + const me = this.runtimeRequirements.has(P.baseURI) + const ye = this.runtimeRequirements.has(P.externalInstallChunk) + const _e = this.runtimeRequirements.has(P.onChunksLoaded) + const Ie = this.runtimeRequirements.has(P.ensureChunkHandlers) + const Me = this.runtimeRequirements.has(P.hmrDownloadUpdateHandlers) + const Te = this.runtimeRequirements.has(P.hmrDownloadManifest) + const je = k.getChunkConditionMap(v, N) + const Ne = le(je) + const Be = ae(v, k, N) + const qe = this.compilation.getPath( + q(v, this.compilation.outputOptions), + { chunk: v, contentHashType: 'javascript' } + ) + const Ue = pe(qe, this.compilation.outputOptions.path, false) + const Ge = Me ? `${P.hmrRuntimeStatePrefix}_readFileVm` : undefined + return L.asString([ + me ? this._generateBaseUri(v, Ue) : '// no baseURI', + '', + '// object to store loaded chunks', + '// "0" means "already loaded", Promise means loading', + `var installedChunks = ${Ge ? `${Ge} = ${Ge} || ` : ''}{`, + L.indent( + Array.from(Be, (k) => `${JSON.stringify(k)}: 0`).join(',\n') + ), + '};', + '', + _e + ? `${P.onChunksLoaded}.readFileVm = ${E.returningFunction( + 'installedChunks[chunkId] === 0', + 'chunkId' + )};` + : '// no on chunks loaded', + '', + Ie || ye + ? `var installChunk = ${E.basicFunction('chunk', [ + 'var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;', + 'for(var moduleId in moreModules) {', + L.indent([ + `if(${P.hasOwnProperty}(moreModules, moduleId)) {`, + L.indent([ + `${P.moduleFactories}[moduleId] = moreModules[moduleId];`, + ]), + '}', + ]), + '}', + `if(runtime) runtime(${P.require});`, + 'for(var i = 0; i < chunkIds.length; i++) {', + L.indent([ + 'if(installedChunks[chunkIds[i]]) {', + L.indent(['installedChunks[chunkIds[i]][0]();']), + '}', + 'installedChunks[chunkIds[i]] = 0;', + ]), + '}', + _e ? `${P.onChunksLoaded}();` : '', + ])};` + : '// no chunk install function needed', + '', + Ie + ? L.asString([ + '// ReadFile + VM.run chunk loading for javascript', + `${R}.readFileVm = function(chunkId, promises) {`, + Ne !== false + ? L.indent([ + '', + 'var installedChunkData = installedChunks[chunkId];', + 'if(installedChunkData !== 0) { // 0 means "already installed".', + L.indent([ + '// array of [resolve, reject, promise] means "currently loading"', + 'if(installedChunkData) {', + L.indent(['promises.push(installedChunkData[2]);']), + '} else {', + L.indent([ + Ne === true + ? 'if(true) { // all chunks have JS' + : `if(${Ne('chunkId')}) {`, + L.indent([ + '// load the chunk and return promise to it', + 'var promise = new Promise(function(resolve, reject) {', + L.indent([ + 'installedChunkData = installedChunks[chunkId] = [resolve, reject];', + `var filename = require('path').join(__dirname, ${JSON.stringify( + Ue + )} + ${P.getChunkScriptFilename}(chunkId));`, + "require('fs').readFile(filename, 'utf-8', function(err, content) {", + L.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);', + ]), + Ne === true + ? '}' + : '} else installedChunks[chunkId] = 0;', + ]), + '}', + ]), + '}', + ]) + : L.indent(['installedChunks[chunkId] = 0;']), + '};', + ]) + : '// no chunk loading', + '', + ye + ? L.asString([ + `module.exports = ${P.require};`, + `${P.externalInstallChunk} = installChunk;`, + ]) + : '// no external install chunk', + '', + Me + ? L.asString([ + 'function loadUpdateChunk(chunkId, updatedModulesList) {', + L.indent([ + 'return new Promise(function(resolve, reject) {', + L.indent([ + `var filename = require('path').join(__dirname, ${JSON.stringify( + Ue + )} + ${P.getChunkUpdateScriptFilename}(chunkId));`, + "require('fs').readFile(filename, 'utf-8', function(err, content) {", + L.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) {', + L.indent([ + `if(${P.hasOwnProperty}(updatedModules, moduleId)) {`, + L.indent([ + `currentUpdate[moduleId] = updatedModules[moduleId];`, + 'if(updatedModulesList) updatedModulesList.push(moduleId);', + ]), + '}', + ]), + '}', + 'if(runtime) currentUpdateRuntime.push(runtime);', + 'resolve();', + ]), + '});', + ]), + '});', + ]), + '}', + '', + L.getFunctionContent( + require('./JavascriptHotModuleReplacement.runtime.js') + ) + .replace(/\$key\$/g, 'readFileVm') + .replace(/\$installedChunks\$/g, 'installedChunks') + .replace(/\$loadUpdateChunk\$/g, 'loadUpdateChunk') + .replace(/\$moduleCache\$/g, P.moduleCache) + .replace(/\$moduleFactories\$/g, P.moduleFactories) + .replace(/\$ensureChunkHandlers\$/g, P.ensureChunkHandlers) + .replace(/\$hasOwnProperty\$/g, P.hasOwnProperty) + .replace(/\$hmrModuleData\$/g, P.hmrModuleData) + .replace( + /\$hmrDownloadUpdateHandlers\$/g, + P.hmrDownloadUpdateHandlers + ) + .replace( + /\$hmrInvalidateModuleHandlers\$/g, + P.hmrInvalidateModuleHandlers + ), + ]) + : '// no HMR', + '', + Te + ? L.asString([ + `${P.hmrDownloadManifest} = function() {`, + L.indent([ + 'return new Promise(function(resolve, reject) {', + L.indent([ + `var filename = require('path').join(__dirname, ${JSON.stringify( + Ue + )} + ${P.getUpdateManifestFilename}());`, + "require('fs').readFile(filename, 'utf-8', function(err, content) {", + L.indent([ + 'if(err) {', + L.indent([ + 'if(err.code === "ENOENT") return resolve();', + 'return reject(err);', + ]), + '}', + 'try { resolve(JSON.parse(content)); }', + 'catch(e) { reject(e); }', + ]), + '});', + ]), + '});', + ]), + '}', + ]) + : '// no HMR manifest', + ]) + } + } + k.exports = ReadFileChunkLoadingRuntimeModule + }, + 39842: function (k, v, E) { + 'use strict' + const { WEBASSEMBLY_MODULE_TYPE_ASYNC: P } = E(93622) + const R = E(56727) + const L = E(95041) + const N = E(99393) + class ReadFileCompileAsyncWasmPlugin { + constructor({ type: k = 'async-node', import: v = false } = {}) { + this._type = k + this._import = v + } + apply(k) { + k.hooks.thisCompilation.tap('ReadFileCompileAsyncWasmPlugin', (k) => { + const v = k.outputOptions.wasmLoading + const isEnabledForChunk = (k) => { + const E = k.getEntryOptions() + const P = E && E.wasmLoading !== undefined ? E.wasmLoading : v + return P === this._type + } + const { importMetaName: E } = k.outputOptions + const q = this._import + ? (k) => + L.asString([ + "Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {", + L.indent([ + `readFile(new URL(${k}, ${E}.url), (err, buffer) => {`, + L.indent([ + 'if (err) return reject(err);', + '', + '// Fake fetch response', + 'resolve({', + L.indent(['arrayBuffer() { return buffer; }']), + '});', + ]), + '});', + ]), + '}))', + ]) + : (k) => + L.asString([ + 'new Promise(function (resolve, reject) {', + L.indent([ + 'try {', + L.indent([ + "var { readFile } = require('fs');", + "var { join } = require('path');", + '', + `readFile(join(__dirname, ${k}), function(err, buffer){`, + L.indent([ + 'if (err) return reject(err);', + '', + '// Fake fetch response', + 'resolve({', + L.indent(['arrayBuffer() { return buffer; }']), + '});', + ]), + '});', + ]), + '} catch (err) { reject(err); }', + ]), + '})', + ]) + k.hooks.runtimeRequirementInTree + .for(R.instantiateWasm) + .tap('ReadFileCompileAsyncWasmPlugin', (v, E) => { + if (!isEnabledForChunk(v)) return + const L = k.chunkGraph + if (!L.hasModuleInGraph(v, (k) => k.type === P)) { + return + } + E.add(R.publicPath) + k.addRuntimeModule( + v, + new N({ generateLoadBinaryCode: q, supportsStreaming: false }) + ) + }) + }) + } + } + k.exports = ReadFileCompileAsyncWasmPlugin + }, + 63506: function (k, v, E) { + 'use strict' + const { WEBASSEMBLY_MODULE_TYPE_SYNC: P } = E(93622) + const R = E(56727) + const L = E(95041) + const N = E(68403) + class ReadFileCompileWasmPlugin { + constructor(k = {}) { + this.options = k + } + apply(k) { + k.hooks.thisCompilation.tap('ReadFileCompileWasmPlugin', (k) => { + const v = k.outputOptions.wasmLoading + const isEnabledForChunk = (k) => { + const E = k.getEntryOptions() + const P = E && E.wasmLoading !== undefined ? E.wasmLoading : v + return P === 'async-node' + } + const generateLoadBinaryCode = (k) => + L.asString([ + 'new Promise(function (resolve, reject) {', + L.indent([ + "var { readFile } = require('fs');", + "var { join } = require('path');", + '', + 'try {', + L.indent([ + `readFile(join(__dirname, ${k}), function(err, buffer){`, + L.indent([ + 'if (err) return reject(err);', + '', + '// Fake fetch response', + 'resolve({', + L.indent(['arrayBuffer() { return buffer; }']), + '});', + ]), + '});', + ]), + '} catch (err) { reject(err); }', + ]), + '})', + ]) + k.hooks.runtimeRequirementInTree + .for(R.ensureChunkHandlers) + .tap('ReadFileCompileWasmPlugin', (v, E) => { + if (!isEnabledForChunk(v)) return + const L = k.chunkGraph + if (!L.hasModuleInGraph(v, (k) => k.type === P)) { + return + } + E.add(R.moduleCache) + k.addRuntimeModule( + v, + new N({ + generateLoadBinaryCode: generateLoadBinaryCode, + supportsStreaming: false, + mangleImports: this.options.mangleImports, + runtimeRequirements: E, + }) + ) + }) + }) + } + } + k.exports = ReadFileCompileWasmPlugin + }, + 14461: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + const { chunkHasJs: N, getChunkFilenameTemplate: q } = E(89168) + const { getInitialChunkIds: ae } = E(73777) + const le = E(21751) + const { getUndoPath: pe } = E(65315) + class RequireChunkLoadingRuntimeModule extends R { + constructor(k) { + super('require chunk loading', R.STAGE_ATTACH) + this.runtimeRequirements = k + } + _generateBaseUri(k, v) { + const E = k.getEntryOptions() + if (E && E.baseUri) { + return `${P.baseURI} = ${JSON.stringify(E.baseUri)};` + } + return `${P.baseURI} = require("url").pathToFileURL(${ + v !== './' ? `__dirname + ${JSON.stringify('/' + v)}` : '__filename' + });` + } + generate() { + const { chunkGraph: k, chunk: v } = this + const { runtimeTemplate: E } = this.compilation + const R = P.ensureChunkHandlers + const me = this.runtimeRequirements.has(P.baseURI) + const ye = this.runtimeRequirements.has(P.externalInstallChunk) + const _e = this.runtimeRequirements.has(P.onChunksLoaded) + const Ie = this.runtimeRequirements.has(P.ensureChunkHandlers) + const Me = this.runtimeRequirements.has(P.hmrDownloadUpdateHandlers) + const Te = this.runtimeRequirements.has(P.hmrDownloadManifest) + const je = k.getChunkConditionMap(v, N) + const Ne = le(je) + const Be = ae(v, k, N) + const qe = this.compilation.getPath( + q(v, this.compilation.outputOptions), + { chunk: v, contentHashType: 'javascript' } + ) + const Ue = pe(qe, this.compilation.outputOptions.path, true) + const Ge = Me ? `${P.hmrRuntimeStatePrefix}_require` : undefined + return L.asString([ + me ? this._generateBaseUri(v, Ue) : '// no baseURI', + '', + '// object to store loaded chunks', + '// "1" means "loaded", otherwise not loaded yet', + `var installedChunks = ${Ge ? `${Ge} = ${Ge} || ` : ''}{`, + L.indent( + Array.from(Be, (k) => `${JSON.stringify(k)}: 1`).join(',\n') + ), + '};', + '', + _e + ? `${P.onChunksLoaded}.require = ${E.returningFunction( + 'installedChunks[chunkId]', + 'chunkId' + )};` + : '// no on chunks loaded', + '', + Ie || ye + ? `var installChunk = ${E.basicFunction('chunk', [ + 'var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;', + 'for(var moduleId in moreModules) {', + L.indent([ + `if(${P.hasOwnProperty}(moreModules, moduleId)) {`, + L.indent([ + `${P.moduleFactories}[moduleId] = moreModules[moduleId];`, + ]), + '}', + ]), + '}', + `if(runtime) runtime(${P.require});`, + 'for(var i = 0; i < chunkIds.length; i++)', + L.indent('installedChunks[chunkIds[i]] = 1;'), + _e ? `${P.onChunksLoaded}();` : '', + ])};` + : '// no chunk install function needed', + '', + Ie + ? L.asString([ + '// require() chunk loading for javascript', + `${R}.require = ${E.basicFunction( + 'chunkId, promises', + Ne !== false + ? [ + '// "1" is the signal for "already loaded"', + 'if(!installedChunks[chunkId]) {', + L.indent([ + Ne === true + ? 'if(true) { // all chunks have JS' + : `if(${Ne('chunkId')}) {`, + L.indent([ + `installChunk(require(${JSON.stringify(Ue)} + ${ + P.getChunkScriptFilename + }(chunkId)));`, + ]), + '} else installedChunks[chunkId] = 1;', + '', + ]), + '}', + ] + : 'installedChunks[chunkId] = 1;' + )};`, + ]) + : '// no chunk loading', + '', + ye + ? L.asString([ + `module.exports = ${P.require};`, + `${P.externalInstallChunk} = installChunk;`, + ]) + : '// no external install chunk', + '', + Me + ? L.asString([ + 'function loadUpdateChunk(chunkId, updatedModulesList) {', + L.indent([ + `var update = require(${JSON.stringify(Ue)} + ${ + P.getChunkUpdateScriptFilename + }(chunkId));`, + 'var updatedModules = update.modules;', + 'var runtime = update.runtime;', + 'for(var moduleId in updatedModules) {', + L.indent([ + `if(${P.hasOwnProperty}(updatedModules, moduleId)) {`, + L.indent([ + `currentUpdate[moduleId] = updatedModules[moduleId];`, + 'if(updatedModulesList) updatedModulesList.push(moduleId);', + ]), + '}', + ]), + '}', + 'if(runtime) currentUpdateRuntime.push(runtime);', + ]), + '}', + '', + L.getFunctionContent( + require('./JavascriptHotModuleReplacement.runtime.js') + ) + .replace(/\$key\$/g, 'require') + .replace(/\$installedChunks\$/g, 'installedChunks') + .replace(/\$loadUpdateChunk\$/g, 'loadUpdateChunk') + .replace(/\$moduleCache\$/g, P.moduleCache) + .replace(/\$moduleFactories\$/g, P.moduleFactories) + .replace(/\$ensureChunkHandlers\$/g, P.ensureChunkHandlers) + .replace(/\$hasOwnProperty\$/g, P.hasOwnProperty) + .replace(/\$hmrModuleData\$/g, P.hmrModuleData) + .replace( + /\$hmrDownloadUpdateHandlers\$/g, + P.hmrDownloadUpdateHandlers + ) + .replace( + /\$hmrInvalidateModuleHandlers\$/g, + P.hmrInvalidateModuleHandlers + ), + ]) + : '// no HMR', + '', + Te + ? L.asString([ + `${P.hmrDownloadManifest} = function() {`, + L.indent([ + 'return Promise.resolve().then(function() {', + L.indent([ + `return require(${JSON.stringify(Ue)} + ${ + P.getUpdateManifestFilename + }());`, + ]), + "})['catch'](function(err) { if(err.code !== 'MODULE_NOT_FOUND') throw err; });", + ]), + '}', + ]) + : '// no HMR manifest', + ]) + } + } + k.exports = RequireChunkLoadingRuntimeModule + }, + 73362: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = E(64755) + k.exports = ({ colors: k, appendOnly: v, stream: E }) => { + let L = undefined + let N = false + let q = '' + let ae = 0 + const indent = (v, E, P, R) => { + if (v === '') return v + E = q + E + if (k) { + return E + P + v.replace(/\n/g, R + '\n' + E + P) + R + } else { + return E + v.replace(/\n/g, '\n' + E) + } + } + const clearStatusMessage = () => { + if (N) { + E.write('\r') + N = false + } + } + const writeStatusMessage = () => { + if (!L) return + const k = E.columns || 40 + const v = R(L, k - 1) + const P = v.join(' ') + const q = `${P}` + E.write(`\r${q}`) + N = true + } + const writeColored = + (k, v, R) => + (...L) => { + if (ae > 0) return + clearStatusMessage() + const N = indent(P.format(...L), k, v, R) + E.write(N + '\n') + writeStatusMessage() + } + const le = writeColored('<-> ', '', '') + const pe = writeColored('<+> ', '', '') + return { + log: writeColored(' ', '', ''), + debug: writeColored(' ', '', ''), + trace: writeColored(' ', '', ''), + info: writeColored(' ', '', ''), + warn: writeColored(' ', '', ''), + error: writeColored(' ', '', ''), + logTime: writeColored(' ', '', ''), + group: (...k) => { + le(...k) + if (ae > 0) { + ae++ + } else { + q += ' ' + } + }, + groupCollapsed: (...k) => { + pe(...k) + ae++ + }, + groupEnd: () => { + if (ae > 0) ae-- + else if (q.length >= 2) q = q.slice(0, q.length - 2) + }, + profile: console.profile && ((k) => console.profile(k)), + profileEnd: console.profileEnd && ((k) => console.profileEnd(k)), + clear: + !v && + console.clear && + (() => { + clearStatusMessage() + console.clear() + writeStatusMessage() + }), + status: v + ? writeColored(' ', '', '') + : (k, ...v) => { + v = v.filter(Boolean) + if (k === undefined && v.length === 0) { + clearStatusMessage() + L = undefined + } else if ( + typeof k === 'string' && + k.startsWith('[webpack.Progress] ') + ) { + L = [k.slice(19), ...v] + writeStatusMessage() + } else if (k === '[webpack.Progress]') { + L = [...v] + writeStatusMessage() + } else { + L = [k, ...v] + writeStatusMessage() + } + }, + } + } + }, + 3952: function (k, v, E) { + 'use strict' + const { STAGE_ADVANCED: P } = E(99134) + class AggressiveMergingPlugin { + constructor(k) { + if ((k !== undefined && typeof k !== 'object') || Array.isArray(k)) { + 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 = k || {} + } + apply(k) { + const v = this.options + const E = v.minSizeReduce || 1.5 + k.hooks.thisCompilation.tap('AggressiveMergingPlugin', (k) => { + k.hooks.optimizeChunks.tap( + { name: 'AggressiveMergingPlugin', stage: P }, + (v) => { + const P = k.chunkGraph + let R = [] + for (const k of v) { + if (k.canBeInitial()) continue + for (const E of v) { + if (E.canBeInitial()) continue + if (E === k) break + if (!P.canChunksBeIntegrated(k, E)) { + continue + } + const v = P.getChunkSize(E, { chunkOverhead: 0 }) + const L = P.getChunkSize(k, { chunkOverhead: 0 }) + const N = P.getIntegratedChunksSize(E, k, { + chunkOverhead: 0, + }) + const q = (v + L) / N + R.push({ a: k, b: E, improvement: q }) + } + } + R.sort((k, v) => v.improvement - k.improvement) + const L = R[0] + if (!L) return + if (L.improvement < E) return + P.integrateChunks(L.b, L.a) + k.chunks.delete(L.a) + return true + } + ) + }) + } + } + k.exports = AggressiveMergingPlugin + }, + 21684: function (k, v, E) { + 'use strict' + const { STAGE_ADVANCED: P } = E(99134) + const { intersect: R } = E(59959) + const { compareModulesByIdentifier: L, compareChunks: N } = E(95648) + const q = E(92198) + const ae = E(65315) + const le = q(E(70971), () => E(20443), { + name: 'Aggressive Splitting Plugin', + baseDataPath: 'options', + }) + const moveModuleBetween = (k, v, E) => (P) => { + k.disconnectChunkAndModule(v, P) + k.connectChunkAndModule(E, P) + } + const isNotAEntryModule = (k, v) => (E) => !k.isEntryModuleInChunk(E, v) + const pe = new WeakSet() + class AggressiveSplittingPlugin { + constructor(k = {}) { + le(k) + this.options = k + 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(k) { + return pe.has(k) + } + apply(k) { + k.hooks.thisCompilation.tap('AggressiveSplittingPlugin', (v) => { + let E = false + let q + let le + let me + v.hooks.optimize.tap('AggressiveSplittingPlugin', () => { + q = [] + le = new Set() + me = new Map() + }) + v.hooks.optimizeChunks.tap( + { name: 'AggressiveSplittingPlugin', stage: P }, + (E) => { + const P = v.chunkGraph + const pe = new Map() + const ye = new Map() + const _e = ae.makePathsRelative.bindContextCache( + k.context, + k.root + ) + for (const k of v.modules) { + const v = _e(k.identifier()) + pe.set(v, k) + ye.set(k, v) + } + const Ie = new Set() + for (const k of E) { + Ie.add(k.id) + } + const Me = (v.records && v.records.aggressiveSplits) || [] + const Te = q ? Me.concat(q) : Me + const je = this.options.minSize + const Ne = this.options.maxSize + const applySplit = (k) => { + if (k.id !== undefined && Ie.has(k.id)) { + return false + } + const E = k.modules.map((k) => pe.get(k)) + if (!E.every(Boolean)) return false + let L = 0 + for (const k of E) L += k.size() + if (L !== k.size) return false + const N = R( + E.map((k) => new Set(P.getModuleChunksIterable(k))) + ) + if (N.size === 0) return false + if ( + N.size === 1 && + P.getNumberOfChunkModules(Array.from(N)[0]) === E.length + ) { + const v = Array.from(N)[0] + if (le.has(v)) return false + le.add(v) + me.set(v, k) + return true + } + const q = v.addChunk() + q.chunkReason = 'aggressive splitted' + for (const k of N) { + E.forEach(moveModuleBetween(P, k, q)) + k.split(q) + k.name = null + } + le.add(q) + me.set(q, k) + if (k.id !== null && k.id !== undefined) { + q.id = k.id + q.ids = [k.id] + } + return true + } + let Be = false + for (let k = 0; k < Te.length; k++) { + const v = Te[k] + if (applySplit(v)) Be = true + } + const qe = N(P) + const Ue = Array.from(E).sort((k, v) => { + const E = P.getChunkModulesSize(v) - P.getChunkModulesSize(k) + if (E) return E + const R = + P.getNumberOfChunkModules(k) - P.getNumberOfChunkModules(v) + if (R) return R + return qe(k, v) + }) + for (const k of Ue) { + if (le.has(k)) continue + const v = P.getChunkModulesSize(k) + if (v > Ne && P.getNumberOfChunkModules(k) > 1) { + const v = P.getOrderedChunkModules(k, L).filter( + isNotAEntryModule(P, k) + ) + const E = [] + let R = 0 + for (let k = 0; k < v.length; k++) { + const P = v[k] + const L = R + P.size() + if (L > Ne && R >= je) { + break + } + R = L + E.push(P) + } + if (E.length === 0) continue + const N = { + modules: E.map((k) => ye.get(k)).sort(), + size: R, + } + if (applySplit(N)) { + q = (q || []).concat(N) + Be = true + } + } + } + if (Be) return true + } + ) + v.hooks.recordHash.tap('AggressiveSplittingPlugin', (k) => { + const P = new Set() + const R = new Set() + for (const k of v.chunks) { + const v = me.get(k) + if (v !== undefined) { + if (v.hash && k.hash !== v.hash) { + R.add(v) + } + } + } + if (R.size > 0) { + k.aggressiveSplits = k.aggressiveSplits.filter((k) => !R.has(k)) + E = true + } else { + for (const k of v.chunks) { + const v = me.get(k) + if (v !== undefined) { + v.hash = k.hash + v.id = k.id + P.add(v) + pe.add(k) + } + } + const L = v.records && v.records.aggressiveSplits + if (L) { + for (const k of L) { + if (!R.has(k)) P.add(k) + } + } + k.aggressiveSplits = Array.from(P) + E = false + } + }) + v.hooks.needAdditionalSeal.tap('AggressiveSplittingPlugin', () => { + if (E) { + E = false + return true + } + }) + }) + } + } + k.exports = AggressiveSplittingPlugin + }, + 94978: function (k, v, E) { + 'use strict' + const P = E(12836) + const R = E(48648) + const { CachedSource: L, ConcatSource: N, ReplaceSource: q } = E(51255) + const ae = E(91213) + const { UsageState: le } = E(11172) + const pe = E(88396) + const { JAVASCRIPT_MODULE_TYPE_ESM: me } = E(93622) + const ye = E(56727) + const _e = E(95041) + const Ie = E(69184) + const Me = E(81532) + const { equals: Te } = E(68863) + const je = E(12359) + const { concatComparators: Ne } = E(95648) + const Be = E(74012) + const { makePathsRelative: qe } = E(65315) + const Ue = E(58528) + const Ge = E(10720) + const { propertyName: He } = E(72627) + const { + filterRuntime: We, + intersectRuntime: Qe, + mergeRuntimeCondition: Je, + mergeRuntimeConditionNonFalse: Ve, + runtimeConditionToString: Ke, + subtractRuntimeCondition: Ye, + } = E(1540) + const Xe = R + if (!Xe.prototype.PropertyDefinition) { + Xe.prototype.PropertyDefinition = Xe.prototype.Property + } + const Ze = new Set( + [ + ae.DEFAULT_EXPORT, + ae.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,require,define', + '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 createComparator = (k, v) => (E, P) => v(E[k], P[k]) + const compareNumbers = (k, v) => { + if (isNaN(k)) { + if (!isNaN(v)) { + return 1 + } + } else { + if (isNaN(v)) { + return -1 + } + if (k !== v) { + return k < v ? -1 : 1 + } + } + return 0 + } + const et = createComparator('sourceOrder', compareNumbers) + const tt = createComparator('rangeStart', compareNumbers) + const joinIterableWithComma = (k) => { + let v = '' + let E = true + for (const P of k) { + if (E) { + E = false + } else { + v += ', ' + } + v += P + } + return v + } + const getFinalBinding = ( + k, + v, + E, + P, + R, + L, + N, + q, + ae, + le, + pe, + me = new Set() + ) => { + const ye = v.module.getExportsType(k, le) + if (E.length === 0) { + switch (ye) { + case 'default-only': + v.interopNamespaceObject2Used = true + return { + info: v, + rawName: v.interopNamespaceObject2Name, + ids: E, + exportName: E, + } + case 'default-with-named': + v.interopNamespaceObjectUsed = true + return { + info: v, + rawName: v.interopNamespaceObjectName, + ids: E, + exportName: E, + } + case 'namespace': + case 'dynamic': + break + default: + throw new Error(`Unexpected exportsType ${ye}`) + } + } else { + switch (ye) { + case 'namespace': + break + case 'default-with-named': + switch (E[0]) { + case 'default': + E = E.slice(1) + break + case '__esModule': + return { + info: v, + rawName: '/* __esModule */true', + ids: E.slice(1), + exportName: E, + } + } + break + case 'default-only': { + const k = E[0] + if (k === '__esModule') { + return { + info: v, + rawName: '/* __esModule */true', + ids: E.slice(1), + exportName: E, + } + } + E = E.slice(1) + if (k !== 'default') { + return { + info: v, + rawName: + '/* non-default import from default-exporting module */undefined', + ids: E, + exportName: E, + } + } + break + } + case 'dynamic': + switch (E[0]) { + case 'default': { + E = E.slice(1) + v.interopDefaultAccessUsed = true + const k = ae + ? `${v.interopDefaultAccessName}()` + : pe + ? `(${v.interopDefaultAccessName}())` + : pe === false + ? `;(${v.interopDefaultAccessName}())` + : `${v.interopDefaultAccessName}.a` + return { info: v, rawName: k, ids: E, exportName: E } + } + case '__esModule': + return { + info: v, + rawName: '/* __esModule */true', + ids: E.slice(1), + exportName: E, + } + } + break + default: + throw new Error(`Unexpected exportsType ${ye}`) + } + } + if (E.length === 0) { + switch (v.type) { + case 'concatenated': + q.add(v) + return { + info: v, + rawName: v.namespaceObjectName, + ids: E, + exportName: E, + } + case 'external': + return { info: v, rawName: v.name, ids: E, exportName: E } + } + } + const Ie = k.getExportsInfo(v.module) + const Me = Ie.getExportInfo(E[0]) + if (me.has(Me)) { + return { + info: v, + rawName: '/* circular reexport */ Object(function x() { x() }())', + ids: [], + exportName: E, + } + } + me.add(Me) + switch (v.type) { + case 'concatenated': { + const le = E[0] + if (Me.provided === false) { + q.add(v) + return { + info: v, + rawName: v.namespaceObjectName, + ids: E, + exportName: E, + } + } + const ye = v.exportMap && v.exportMap.get(le) + if (ye) { + const k = Ie.getUsedName(E, R) + if (!k) { + return { + info: v, + rawName: '/* unused export */ undefined', + ids: E.slice(1), + exportName: E, + } + } + return { info: v, name: ye, ids: k.slice(1), exportName: E } + } + const _e = v.rawExportMap && v.rawExportMap.get(le) + if (_e) { + return { info: v, rawName: _e, ids: E.slice(1), exportName: E } + } + const Te = Me.findTarget(k, (k) => P.has(k)) + if (Te === false) { + throw new Error( + `Target module of reexport from '${v.module.readableIdentifier( + L + )}' is not part of the concatenation (export '${le}')\nModules in the concatenation:\n${Array.from( + P, + ([k, v]) => ` * ${v.type} ${k.readableIdentifier(L)}` + ).join('\n')}` + ) + } + if (Te) { + const le = P.get(Te.module) + return getFinalBinding( + k, + le, + Te.export ? [...Te.export, ...E.slice(1)] : E.slice(1), + P, + R, + L, + N, + q, + ae, + v.module.buildMeta.strictHarmonyModule, + pe, + me + ) + } + if (v.namespaceExportSymbol) { + const k = Ie.getUsedName(E, R) + return { + info: v, + rawName: v.namespaceObjectName, + ids: k, + exportName: E, + } + } + throw new Error( + `Cannot get final name for export '${E.join( + '.' + )}' of ${v.module.readableIdentifier(L)}` + ) + } + case 'external': { + const k = Ie.getUsedName(E, R) + if (!k) { + return { + info: v, + rawName: '/* unused export */ undefined', + ids: E.slice(1), + exportName: E, + } + } + const P = Te(k, E) ? '' : _e.toNormalComment(`${E.join('.')}`) + return { info: v, rawName: v.name + P, ids: k, exportName: E } + } + } + } + const getFinalName = (k, v, E, P, R, L, N, q, ae, le, pe, me) => { + const ye = getFinalBinding(k, v, E, P, R, L, N, q, ae, pe, me) + { + const { ids: k, comment: v } = ye + let E + let P + if ('rawName' in ye) { + E = `${ye.rawName}${v || ''}${Ge(k)}` + P = k.length > 0 + } else { + const { info: R, name: N } = ye + const q = R.internalNames.get(N) + if (!q) { + throw new Error( + `The export "${N}" in "${R.module.readableIdentifier( + L + )}" has no internal name (existing names: ${ + Array.from(R.internalNames, ([k, v]) => `${k}: ${v}`).join( + ', ' + ) || 'none' + })` + ) + } + E = `${q}${v || ''}${Ge(k)}` + P = k.length > 1 + } + if (P && ae && le === false) { + return me + ? `(0,${E})` + : me === false + ? `;(0,${E})` + : `/*#__PURE__*/Object(${E})` + } + return E + } + } + const addScopeSymbols = (k, v, E, P) => { + let R = k + while (R) { + if (E.has(R)) break + if (P.has(R)) break + E.add(R) + for (const k of R.variables) { + v.add(k.name) + } + R = R.upper + } + } + const getAllReferences = (k) => { + let v = k.references + const E = new Set(k.identifiers) + for (const P of k.scope.childScopes) { + for (const k of P.variables) { + if (k.identifiers.some((k) => E.has(k))) { + v = v.concat(k.references) + break + } + } + } + return v + } + const getPathInAst = (k, v) => { + if (k === v) { + return [] + } + const E = v.range + const enterNode = (k) => { + if (!k) return undefined + const P = k.range + if (P) { + if (P[0] <= E[0] && P[1] >= E[1]) { + const E = getPathInAst(k, v) + if (E) { + E.push(k) + return E + } + } + } + return undefined + } + if (Array.isArray(k)) { + for (let v = 0; v < k.length; v++) { + const E = enterNode(k[v]) + if (E !== undefined) return E + } + } else if (k && typeof k === 'object') { + const E = Object.keys(k) + for (let P = 0; P < E.length; P++) { + const R = k[E[P]] + if (Array.isArray(R)) { + const k = getPathInAst(R, v) + if (k !== undefined) return k + } else if (R && typeof R === 'object') { + const k = enterNode(R) + if (k !== undefined) return k + } + } + } + } + const nt = new Set(['javascript']) + class ConcatenatedModule extends pe { + static create(k, v, E, P, R = 'md4') { + const L = ConcatenatedModule._createIdentifier(k, v, P, R) + return new ConcatenatedModule({ + identifier: L, + rootModule: k, + modules: v, + runtime: E, + }) + } + constructor({ identifier: k, rootModule: v, modules: E, runtime: P }) { + super(me, null, v && v.layer) + this._identifier = k + this.rootModule = v + this._modules = E + this._runtime = P + this.factoryMeta = v && v.factoryMeta + } + updateCacheModule(k) { + throw new Error('Must not be called') + } + getSourceTypes() { + return nt + } + get modules() { + return Array.from(this._modules) + } + identifier() { + return this._identifier + } + readableIdentifier(k) { + return ( + this.rootModule.readableIdentifier(k) + + ` + ${this._modules.size - 1} modules` + ) + } + libIdent(k) { + return this.rootModule.libIdent(k) + } + nameForCondition() { + return this.rootModule.nameForCondition() + } + getSideEffectsConnectionState(k) { + return this.rootModule.getSideEffectsConnectionState(k) + } + build(k, v, E, P, R) { + const { rootModule: L } = this + this.buildInfo = { + strict: true, + cacheable: true, + moduleArgument: L.buildInfo.moduleArgument, + exportsArgument: L.buildInfo.exportsArgument, + fileDependencies: new je(), + contextDependencies: new je(), + missingDependencies: new je(), + topLevelDeclarations: new Set(), + assets: undefined, + } + this.buildMeta = L.buildMeta + this.clearDependenciesAndBlocks() + this.clearWarningsAndErrors() + for (const k of this._modules) { + if (!k.buildInfo.cacheable) { + this.buildInfo.cacheable = false + } + for (const E of k.dependencies.filter( + (k) => + !(k instanceof Ie) || + !this._modules.has(v.moduleGraph.getModule(k)) + )) { + this.dependencies.push(E) + } + for (const v of k.blocks) { + this.blocks.push(v) + } + const E = k.getWarnings() + if (E !== undefined) { + for (const k of E) { + this.addWarning(k) + } + } + const P = k.getErrors() + if (P !== undefined) { + for (const k of P) { + this.addError(k) + } + } + if (k.buildInfo.topLevelDeclarations) { + const v = this.buildInfo.topLevelDeclarations + if (v !== undefined) { + for (const E of k.buildInfo.topLevelDeclarations) { + v.add(E) + } + } + } else { + this.buildInfo.topLevelDeclarations = undefined + } + if (k.buildInfo.assets) { + if (this.buildInfo.assets === undefined) { + this.buildInfo.assets = Object.create(null) + } + Object.assign(this.buildInfo.assets, k.buildInfo.assets) + } + if (k.buildInfo.assetsInfo) { + if (this.buildInfo.assetsInfo === undefined) { + this.buildInfo.assetsInfo = new Map() + } + for (const [v, E] of k.buildInfo.assetsInfo) { + this.buildInfo.assetsInfo.set(v, E) + } + } + } + R() + } + size(k) { + let v = 0 + for (const E of this._modules) { + v += E.size(k) + } + return v + } + _createConcatenationList(k, v, E, P) { + const R = [] + const L = new Map() + const getConcatenatedImports = (v) => { + let R = Array.from(P.getOutgoingConnections(v)) + if (v === k) { + for (const k of P.getOutgoingConnections(this)) R.push(k) + } + const L = R.filter((k) => { + if (!(k.dependency instanceof Ie)) return false + return ( + k && + k.resolvedOriginModule === v && + k.module && + k.isTargetActive(E) + ) + }).map((k) => { + const v = k.dependency + return { + connection: k, + sourceOrder: v.sourceOrder, + rangeStart: v.range && v.range[0], + } + }) + L.sort(Ne(et, tt)) + const N = new Map() + for (const { connection: k } of L) { + const v = We(E, (v) => k.isTargetActive(v)) + if (v === false) continue + const P = k.module + const R = N.get(P) + if (R === undefined) { + N.set(P, { connection: k, runtimeCondition: v }) + continue + } + R.runtimeCondition = Ve(R.runtimeCondition, v, E) + } + return N.values() + } + const enterModule = (k, P) => { + const N = k.module + if (!N) return + const q = L.get(N) + if (q === true) { + return + } + if (v.has(N)) { + L.set(N, true) + if (P !== true) { + throw new Error( + `Cannot runtime-conditional concatenate a module (${N.identifier()} in ${this.rootModule.identifier()}, ${Ke( + P + )}). This should not happen.` + ) + } + const v = getConcatenatedImports(N) + for (const { connection: k, runtimeCondition: E } of v) + enterModule(k, E) + R.push({ + type: 'concatenated', + module: k.module, + runtimeCondition: P, + }) + } else { + if (q !== undefined) { + const v = Ye(P, q, E) + if (v === false) return + P = v + L.set(k.module, Ve(q, P, E)) + } else { + L.set(k.module, P) + } + if (R.length > 0) { + const v = R[R.length - 1] + if (v.type === 'external' && v.module === k.module) { + v.runtimeCondition = Je(v.runtimeCondition, P, E) + return + } + } + R.push({ + type: 'external', + get module() { + return k.module + }, + runtimeCondition: P, + }) + } + } + L.set(k, true) + const N = getConcatenatedImports(k) + for (const { connection: k, runtimeCondition: v } of N) + enterModule(k, v) + R.push({ type: 'concatenated', module: k, runtimeCondition: true }) + return R + } + static _createIdentifier(k, v, E, P = 'md4') { + const R = qe.bindContextCache(k.context, E) + let L = [] + for (const k of v) { + L.push(R(k.identifier())) + } + L.sort() + const N = Be(P) + N.update(L.join(' ')) + return k.identifier() + '|' + N.digest('hex') + } + addCacheDependencies(k, v, E, P) { + for (const R of this._modules) { + R.addCacheDependencies(k, v, E, P) + } + } + codeGeneration({ + dependencyTemplates: k, + runtimeTemplate: v, + moduleGraph: E, + chunkGraph: P, + runtime: R, + codeGenerationResults: q, + }) { + const pe = new Set() + const me = Qe(R, this._runtime) + const _e = v.requestShortener + const [Ie, Me] = this._getModulesWithInfo(E, me) + const Te = new Set() + for (const R of Me.values()) { + this._analyseModule(Me, R, k, v, E, P, me, q) + } + const je = new Set(Ze) + const Ne = new Set() + const Be = new Map() + const getUsedNamesInScopeInfo = (k, v) => { + const E = `${k}-${v}` + let P = Be.get(E) + if (P === undefined) { + P = { usedNames: new Set(), alreadyCheckedScopes: new Set() } + Be.set(E, P) + } + return P + } + const qe = new Set() + for (const k of Ie) { + if (k.type === 'concatenated') { + if (k.moduleScope) { + qe.add(k.moduleScope) + } + const P = new WeakMap() + const getSuperClassExpressions = (k) => { + const v = P.get(k) + if (v !== undefined) return v + const E = [] + for (const v of k.childScopes) { + if (v.type !== 'class') continue + const k = v.block + if ( + (k.type === 'ClassDeclaration' || + k.type === 'ClassExpression') && + k.superClass + ) { + E.push({ + range: k.superClass.range, + variables: v.variables, + }) + } + } + P.set(k, E) + return E + } + if (k.globalScope) { + for (const P of k.globalScope.through) { + const R = P.identifier.name + if (ae.isModuleReference(R)) { + const L = ae.matchModuleReference(R) + if (!L) continue + const N = Ie[L.index] + if (N.type === 'reference') + throw new Error( + "Module reference can't point to a reference" + ) + const q = getFinalBinding( + E, + N, + L.ids, + Me, + me, + _e, + v, + Te, + false, + k.module.buildMeta.strictHarmonyModule, + true + ) + if (!q.ids) continue + const { usedNames: le, alreadyCheckedScopes: pe } = + getUsedNamesInScopeInfo( + q.info.module.identifier(), + 'name' in q ? q.name : '' + ) + for (const k of getSuperClassExpressions(P.from)) { + if ( + k.range[0] <= P.identifier.range[0] && + k.range[1] >= P.identifier.range[1] + ) { + for (const v of k.variables) { + le.add(v.name) + } + } + } + addScopeSymbols(P.from, le, pe, qe) + } else { + je.add(R) + } + } + } + } + } + for (const k of Me.values()) { + const { usedNames: v } = getUsedNamesInScopeInfo( + k.module.identifier(), + '' + ) + switch (k.type) { + case 'concatenated': { + for (const v of k.moduleScope.variables) { + const E = v.name + const { usedNames: P, alreadyCheckedScopes: R } = + getUsedNamesInScopeInfo(k.module.identifier(), E) + if (je.has(E) || P.has(E)) { + const L = getAllReferences(v) + for (const k of L) { + addScopeSymbols(k.from, P, R, qe) + } + const N = this.findNewName( + E, + je, + P, + k.module.readableIdentifier(_e) + ) + je.add(N) + k.internalNames.set(E, N) + Ne.add(N) + const q = k.source + const ae = new Set( + L.map((k) => k.identifier).concat(v.identifiers) + ) + for (const v of ae) { + const E = v.range + const P = getPathInAst(k.ast, v) + if (P && P.length > 1) { + const k = + P[1].type === 'AssignmentPattern' && + P[1].left === P[0] + ? P[2] + : P[1] + if (k.type === 'Property' && k.shorthand) { + q.insert(E[1], `: ${N}`) + continue + } + } + q.replace(E[0], E[1] - 1, N) + } + } else { + je.add(E) + k.internalNames.set(E, E) + Ne.add(E) + } + } + let E + if (k.namespaceExportSymbol) { + E = k.internalNames.get(k.namespaceExportSymbol) + } else { + E = this.findNewName( + 'namespaceObject', + je, + v, + k.module.readableIdentifier(_e) + ) + je.add(E) + } + k.namespaceObjectName = E + Ne.add(E) + break + } + case 'external': { + const E = this.findNewName( + '', + je, + v, + k.module.readableIdentifier(_e) + ) + je.add(E) + k.name = E + Ne.add(E) + break + } + } + if (k.module.buildMeta.exportsType !== 'namespace') { + const E = this.findNewName( + 'namespaceObject', + je, + v, + k.module.readableIdentifier(_e) + ) + je.add(E) + k.interopNamespaceObjectName = E + Ne.add(E) + } + if ( + k.module.buildMeta.exportsType === 'default' && + k.module.buildMeta.defaultObject !== 'redirect' + ) { + const E = this.findNewName( + 'namespaceObject2', + je, + v, + k.module.readableIdentifier(_e) + ) + je.add(E) + k.interopNamespaceObject2Name = E + Ne.add(E) + } + if ( + k.module.buildMeta.exportsType === 'dynamic' || + !k.module.buildMeta.exportsType + ) { + const E = this.findNewName( + 'default', + je, + v, + k.module.readableIdentifier(_e) + ) + je.add(E) + k.interopDefaultAccessName = E + Ne.add(E) + } + } + for (const k of Me.values()) { + if (k.type === 'concatenated') { + for (const P of k.globalScope.through) { + const R = P.identifier.name + const L = ae.matchModuleReference(R) + if (L) { + const R = Ie[L.index] + if (R.type === 'reference') + throw new Error( + "Module reference can't point to a reference" + ) + const N = getFinalName( + E, + R, + L.ids, + Me, + me, + _e, + v, + Te, + L.call, + !L.directImport, + k.module.buildMeta.strictHarmonyModule, + L.asiSafe + ) + const q = P.identifier.range + const ae = k.source + ae.replace(q[0], q[1] + 1, N) + } + } + } + } + const Ue = new Map() + const Ge = new Set() + const We = Me.get(this.rootModule) + const Je = We.module.buildMeta.strictHarmonyModule + const Ve = E.getExportsInfo(We.module) + for (const k of Ve.orderedExports) { + const P = k.name + if (k.provided === false) continue + const R = k.getUsedName(undefined, me) + if (!R) { + Ge.add(P) + continue + } + Ue.set(R, (L) => { + try { + const R = getFinalName( + E, + We, + [P], + Me, + me, + L, + v, + Te, + false, + false, + Je, + true + ) + return `/* ${k.isReexport() ? 'reexport' : 'binding'} */ ${R}` + } catch (k) { + k.message += `\nwhile generating the root export '${P}' (used name: '${R}')` + throw k + } + }) + } + const Ke = new N() + if ( + E.getExportsInfo(this).otherExportsInfo.getUsed(me) !== le.Unused + ) { + Ke.add(`// ESM COMPAT FLAG\n`) + Ke.add( + v.defineEsModuleFlagStatement({ + exportsArgument: this.exportsArgument, + runtimeRequirements: pe, + }) + ) + } + if (Ue.size > 0) { + pe.add(ye.exports) + pe.add(ye.definePropertyGetters) + const k = [] + for (const [E, P] of Ue) { + k.push(`\n ${He(E)}: ${v.returningFunction(P(_e))}`) + } + Ke.add(`\n// EXPORTS\n`) + Ke.add( + `${ye.definePropertyGetters}(${this.exportsArgument}, {${k.join( + ',' + )}\n});\n` + ) + } + if (Ge.size > 0) { + Ke.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(Ge)}\n`) + } + const Ye = new Map() + for (const k of Te) { + if (k.namespaceExportSymbol) continue + const P = [] + const R = E.getExportsInfo(k.module) + for (const L of R.orderedExports) { + if (L.provided === false) continue + const R = L.getUsedName(undefined, me) + if (R) { + const N = getFinalName( + E, + k, + [L.name], + Me, + me, + _e, + v, + Te, + false, + undefined, + k.module.buildMeta.strictHarmonyModule, + true + ) + P.push(`\n ${He(R)}: ${v.returningFunction(N)}`) + } + } + const L = k.namespaceObjectName + const N = + P.length > 0 + ? `${ye.definePropertyGetters}(${L}, {${P.join(',')}\n});\n` + : '' + if (P.length > 0) pe.add(ye.definePropertyGetters) + Ye.set( + k, + `\n// NAMESPACE OBJECT: ${k.module.readableIdentifier( + _e + )}\nvar ${L} = {};\n${ye.makeNamespaceObject}(${L});\n${N}` + ) + pe.add(ye.makeNamespaceObject) + } + for (const k of Ie) { + if (k.type === 'concatenated') { + const v = Ye.get(k) + if (!v) continue + Ke.add(v) + } + } + const Xe = [] + for (const k of Ie) { + let E + let R = false + const L = k.type === 'reference' ? k.target : k + switch (L.type) { + case 'concatenated': { + Ke.add( + `\n;// CONCATENATED MODULE: ${L.module.readableIdentifier( + _e + )}\n` + ) + Ke.add(L.source) + if (L.chunkInitFragments) { + for (const k of L.chunkInitFragments) Xe.push(k) + } + if (L.runtimeRequirements) { + for (const k of L.runtimeRequirements) { + pe.add(k) + } + } + E = L.namespaceObjectName + break + } + case 'external': { + Ke.add( + `\n// EXTERNAL MODULE: ${L.module.readableIdentifier(_e)}\n` + ) + pe.add(ye.require) + const { runtimeCondition: N } = k + const q = v.runtimeConditionExpression({ + chunkGraph: P, + runtimeCondition: N, + runtime: me, + runtimeRequirements: pe, + }) + if (q !== 'true') { + R = true + Ke.add(`if (${q}) {\n`) + } + Ke.add( + `var ${L.name} = ${ye.require}(${JSON.stringify( + P.getModuleId(L.module) + )});` + ) + E = L.name + break + } + default: + throw new Error( + `Unsupported concatenation entry type ${L.type}` + ) + } + if (L.interopNamespaceObjectUsed) { + pe.add(ye.createFakeNamespaceObject) + Ke.add( + `\nvar ${L.interopNamespaceObjectName} = /*#__PURE__*/${ye.createFakeNamespaceObject}(${E}, 2);` + ) + } + if (L.interopNamespaceObject2Used) { + pe.add(ye.createFakeNamespaceObject) + Ke.add( + `\nvar ${L.interopNamespaceObject2Name} = /*#__PURE__*/${ye.createFakeNamespaceObject}(${E});` + ) + } + if (L.interopDefaultAccessUsed) { + pe.add(ye.compatGetDefaultExport) + Ke.add( + `\nvar ${L.interopDefaultAccessName} = /*#__PURE__*/${ye.compatGetDefaultExport}(${E});` + ) + } + if (R) { + Ke.add('\n}') + } + } + const et = new Map() + if (Xe.length > 0) et.set('chunkInitFragments', Xe) + et.set('topLevelDeclarations', Ne) + const tt = { + sources: new Map([['javascript', new L(Ke)]]), + data: et, + runtimeRequirements: pe, + } + return tt + } + _analyseModule(k, v, E, R, L, N, le, pe) { + if (v.type === 'concatenated') { + const me = v.module + try { + const ye = new ae(k, v) + const _e = me.codeGeneration({ + dependencyTemplates: E, + runtimeTemplate: R, + moduleGraph: L, + chunkGraph: N, + runtime: le, + concatenationScope: ye, + codeGenerationResults: pe, + sourceTypes: nt, + }) + const Ie = _e.sources.get('javascript') + const Te = _e.data + const je = Te && Te.get('chunkInitFragments') + const Ne = Ie.source().toString() + let Be + try { + Be = Me._parse(Ne, { sourceType: 'module' }) + } catch (k) { + if ( + k.loc && + typeof k.loc === 'object' && + typeof k.loc.line === 'number' + ) { + const v = k.loc.line + const E = Ne.split('\n') + k.message += + '\n| ' + E.slice(Math.max(0, v - 3), v + 2).join('\n| ') + } + throw k + } + const qe = P.analyze(Be, { + ecmaVersion: 6, + sourceType: 'module', + optimistic: true, + ignoreEval: true, + impliedStrict: true, + }) + const Ue = qe.acquire(Be) + const Ge = Ue.childScopes[0] + const He = new q(Ie) + v.runtimeRequirements = _e.runtimeRequirements + v.ast = Be + v.internalSource = Ie + v.source = He + v.chunkInitFragments = je + v.globalScope = Ue + v.moduleScope = Ge + } catch (k) { + k.message += `\nwhile analyzing module ${me.identifier()} for concatenation` + throw k + } + } + } + _getModulesWithInfo(k, v) { + const E = this._createConcatenationList( + this.rootModule, + this._modules, + v, + k + ) + const P = new Map() + const R = E.map((k, v) => { + let E = P.get(k.module) + if (E === undefined) { + switch (k.type) { + case 'concatenated': + E = { + type: 'concatenated', + module: k.module, + index: v, + 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': + E = { + type: 'external', + module: k.module, + runtimeCondition: k.runtimeCondition, + index: v, + name: undefined, + interopNamespaceObjectUsed: false, + interopNamespaceObjectName: undefined, + interopNamespaceObject2Used: false, + interopNamespaceObject2Name: undefined, + interopDefaultAccessUsed: false, + interopDefaultAccessName: undefined, + } + break + default: + throw new Error( + `Unsupported concatenation entry type ${k.type}` + ) + } + P.set(E.module, E) + return E + } else { + const v = { + type: 'reference', + runtimeCondition: k.runtimeCondition, + target: E, + } + return v + } + }) + return [R, P] + } + findNewName(k, v, E, P) { + let R = k + if (R === ae.DEFAULT_EXPORT) { + R = '' + } + if (R === ae.NAMESPACE_OBJECT_EXPORT) { + R = 'namespaceObject' + } + P = P.replace( + /\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g, + '' + ) + const L = P.split('/') + while (L.length) { + R = L.pop() + (R ? '_' + R : '') + const k = _e.toIdentifier(R) + if (!v.has(k) && (!E || !E.has(k))) return k + } + let N = 0 + let q = _e.toIdentifier(`${R}_${N}`) + while (v.has(q) || (E && E.has(q))) { + N++ + q = _e.toIdentifier(`${R}_${N}`) + } + return q + } + updateHash(k, v) { + const { chunkGraph: E, runtime: P } = v + for (const R of this._createConcatenationList( + this.rootModule, + this._modules, + Qe(P, this._runtime), + E.moduleGraph + )) { + switch (R.type) { + case 'concatenated': + R.module.updateHash(k, v) + break + case 'external': + k.update(`${E.getModuleId(R.module)}`) + break + } + } + super.updateHash(k, v) + } + static deserialize(k) { + const v = new ConcatenatedModule({ + identifier: undefined, + rootModule: undefined, + modules: undefined, + runtime: undefined, + }) + v.deserialize(k) + return v + } + } + Ue(ConcatenatedModule, 'webpack/lib/optimize/ConcatenatedModule') + k.exports = ConcatenatedModule + }, + 4945: function (k, v, E) { + 'use strict' + const { STAGE_BASIC: P } = E(99134) + class EnsureChunkConditionsPlugin { + apply(k) { + k.hooks.compilation.tap('EnsureChunkConditionsPlugin', (k) => { + const handler = (v) => { + const E = k.chunkGraph + const P = new Set() + const R = new Set() + for (const v of k.modules) { + if (!v.hasChunkCondition()) continue + for (const L of E.getModuleChunksIterable(v)) { + if (!v.chunkCondition(L, k)) { + P.add(L) + for (const k of L.groupsIterable) { + R.add(k) + } + } + } + if (P.size === 0) continue + const L = new Set() + e: for (const E of R) { + for (const P of E.chunks) { + if (v.chunkCondition(P, k)) { + L.add(P) + continue e + } + } + if (E.isInitial()) { + throw new Error( + 'Cannot fullfil chunk condition of ' + v.identifier() + ) + } + for (const k of E.parentsIterable) { + R.add(k) + } + } + for (const k of P) { + E.disconnectChunkAndModule(k, v) + } + for (const k of L) { + E.connectChunkAndModule(k, v) + } + P.clear() + R.clear() + } + } + k.hooks.optimizeChunks.tap( + { name: 'EnsureChunkConditionsPlugin', stage: P }, + handler + ) + }) + } + } + k.exports = EnsureChunkConditionsPlugin + }, + 63511: function (k) { + 'use strict' + class FlagIncludedChunksPlugin { + apply(k) { + k.hooks.compilation.tap('FlagIncludedChunksPlugin', (k) => { + k.hooks.optimizeChunkIds.tap('FlagIncludedChunksPlugin', (v) => { + const E = k.chunkGraph + const P = new WeakMap() + const R = k.modules.size + const L = 1 / Math.pow(1 / R, 1 / 31) + const N = Array.from({ length: 31 }, (k, v) => Math.pow(L, v) | 0) + let q = 0 + for (const v of k.modules) { + let k = 30 + while (q % N[k] !== 0) { + k-- + } + P.set(v, 1 << k) + q++ + } + const ae = new WeakMap() + for (const k of v) { + let v = 0 + for (const R of E.getChunkModulesIterable(k)) { + v |= P.get(R) + } + ae.set(k, v) + } + for (const k of v) { + const v = ae.get(k) + const P = E.getNumberOfChunkModules(k) + if (P === 0) continue + let R = undefined + for (const v of E.getChunkModulesIterable(k)) { + if ( + R === undefined || + E.getNumberOfModuleChunks(R) > E.getNumberOfModuleChunks(v) + ) + R = v + } + e: for (const L of E.getModuleChunksIterable(R)) { + if (k === L) continue + const R = E.getNumberOfChunkModules(L) + if (R === 0) continue + if (P > R) continue + const N = ae.get(L) + if ((N & v) !== v) continue + for (const v of E.getChunkModulesIterable(k)) { + if (!E.isModuleInChunk(v, L)) continue e + } + L.ids.push(k.id) + } + } + }) + }) + } + } + k.exports = FlagIncludedChunksPlugin + }, + 88926: function (k, v, E) { + 'use strict' + const { UsageState: P } = E(11172) + const R = new WeakMap() + const L = Symbol('top level symbol') + function getState(k) { + return R.get(k) + } + v.bailout = (k) => { + R.set(k, false) + } + v.enable = (k) => { + const v = R.get(k) + if (v === false) { + return + } + R.set(k, { + innerGraph: new Map(), + currentTopLevelSymbol: undefined, + usageCallbackMap: new Map(), + }) + } + v.isEnabled = (k) => { + const v = R.get(k) + return !!v + } + v.addUsage = (k, v, E) => { + const P = getState(k) + if (P) { + const { innerGraph: k } = P + const R = k.get(v) + if (E === true) { + k.set(v, true) + } else if (R === undefined) { + k.set(v, new Set([E])) + } else if (R !== true) { + R.add(E) + } + } + } + v.addVariableUsage = (k, E, P) => { + const R = k.getTagData(E, L) || v.tagTopLevelSymbol(k, E) + if (R) { + v.addUsage(k.state, R, P) + } + } + v.inferDependencyUsage = (k) => { + const v = getState(k) + if (!v) { + return + } + const { innerGraph: E, usageCallbackMap: P } = v + const R = new Map() + const L = new Set(E.keys()) + while (L.size > 0) { + for (const k of L) { + let v = new Set() + let P = true + const N = E.get(k) + let q = R.get(k) + if (q === undefined) { + q = new Set() + R.set(k, q) + } + if (N !== true && N !== undefined) { + for (const k of N) { + q.add(k) + } + for (const R of N) { + if (typeof R === 'string') { + v.add(R) + } else { + const L = E.get(R) + if (L === true) { + v = true + break + } + if (L !== undefined) { + for (const E of L) { + if (E === k) continue + if (q.has(E)) continue + v.add(E) + if (typeof E !== 'string') { + P = false + } + } + } + } + } + if (v === true) { + E.set(k, true) + } else if (v.size === 0) { + E.set(k, undefined) + } else { + E.set(k, v) + } + } + if (P) { + L.delete(k) + if (k === null) { + const k = E.get(null) + if (k) { + for (const [v, P] of E) { + if (v !== null && P !== true) { + if (k === true) { + E.set(v, true) + } else { + const R = new Set(P) + for (const v of k) { + R.add(v) + } + E.set(v, R) + } + } + } + } + } + } + } + } + for (const [k, v] of P) { + const P = E.get(k) + for (const k of v) { + k(P === undefined ? false : P) + } + } + } + v.onUsage = (k, v) => { + const E = getState(k) + if (E) { + const { usageCallbackMap: k, currentTopLevelSymbol: P } = E + if (P) { + let E = k.get(P) + if (E === undefined) { + E = new Set() + k.set(P, E) + } + E.add(v) + } else { + v(true) + } + } else { + v(undefined) + } + } + v.setTopLevelSymbol = (k, v) => { + const E = getState(k) + if (E) { + E.currentTopLevelSymbol = v + } + } + v.getTopLevelSymbol = (k) => { + const v = getState(k) + if (v) { + return v.currentTopLevelSymbol + } + } + v.tagTopLevelSymbol = (k, v) => { + const E = getState(k.state) + if (!E) return + k.defineVariable(v) + const P = k.getTagData(v, L) + if (P) { + return P + } + const R = new TopLevelSymbol(v) + k.tagVariable(v, L, R) + return R + } + v.isDependencyUsedByExports = (k, v, E, R) => { + if (v === false) return false + if (v !== true && v !== undefined) { + const L = E.getParentModule(k) + const N = E.getExportsInfo(L) + let q = false + for (const k of v) { + if (N.getUsed(k, R) !== P.Unused) q = true + } + if (!q) return false + } + return true + } + v.getDependencyUsedByExportsCondition = (k, v, E) => { + if (v === false) return false + if (v !== true && v !== undefined) { + const R = E.getParentModule(k) + const L = E.getExportsInfo(R) + return (k, E) => { + for (const k of v) { + if (L.getUsed(k, E) !== P.Unused) return true + } + return false + } + } + return null + } + class TopLevelSymbol { + constructor(k) { + this.name = k + } + } + v.TopLevelSymbol = TopLevelSymbol + v.topLevelSymbolTag = L + }, + 31911: function (k, v, E) { + 'use strict' + const { JAVASCRIPT_MODULE_TYPE_AUTO: P, JAVASCRIPT_MODULE_TYPE_ESM: R } = + E(93622) + const L = E(19308) + const N = E(88926) + const { topLevelSymbolTag: q } = N + const ae = 'InnerGraphPlugin' + class InnerGraphPlugin { + apply(k) { + k.hooks.compilation.tap(ae, (k, { normalModuleFactory: v }) => { + const E = k.getLogger('webpack.InnerGraphPlugin') + k.dependencyTemplates.set(L, new L.Template()) + const handler = (k, v) => { + const onUsageSuper = (v) => { + N.onUsage(k.state, (E) => { + switch (E) { + case undefined: + case true: + return + default: { + const P = new L(v.range) + P.loc = v.loc + P.usedByExports = E + k.state.module.addDependency(P) + break + } + } + }) + } + k.hooks.program.tap(ae, () => { + N.enable(k.state) + }) + k.hooks.finish.tap(ae, () => { + if (!N.isEnabled(k.state)) return + E.time('infer dependency usage') + N.inferDependencyUsage(k.state) + E.timeAggregate('infer dependency usage') + }) + const P = new WeakMap() + const R = new WeakMap() + const le = new WeakMap() + const pe = new WeakMap() + const me = new WeakSet() + k.hooks.preStatement.tap(ae, (v) => { + if (!N.isEnabled(k.state)) return + if (k.scope.topLevelScope === true) { + if (v.type === 'FunctionDeclaration') { + const E = v.id ? v.id.name : '*default*' + const R = N.tagTopLevelSymbol(k, E) + P.set(v, R) + return true + } + } + }) + k.hooks.blockPreStatement.tap(ae, (v) => { + if (!N.isEnabled(k.state)) return + if (k.scope.topLevelScope === true) { + if ( + v.type === 'ClassDeclaration' && + k.isPure(v, v.range[0]) + ) { + const E = v.id ? v.id.name : '*default*' + const P = N.tagTopLevelSymbol(k, E) + le.set(v, P) + return true + } + if (v.type === 'ExportDefaultDeclaration') { + const E = '*default*' + const L = N.tagTopLevelSymbol(k, E) + const q = v.declaration + if ( + (q.type === 'ClassExpression' || + q.type === 'ClassDeclaration') && + k.isPure(q, q.range[0]) + ) { + le.set(q, L) + } else if (k.isPure(q, v.range[0])) { + P.set(v, L) + if ( + !q.type.endsWith('FunctionExpression') && + !q.type.endsWith('Declaration') && + q.type !== 'Literal' + ) { + R.set(v, q) + } + } + } + } + }) + k.hooks.preDeclarator.tap(ae, (v, E) => { + if (!N.isEnabled(k.state)) return + if ( + k.scope.topLevelScope === true && + v.init && + v.id.type === 'Identifier' + ) { + const E = v.id.name + if ( + v.init.type === 'ClassExpression' && + k.isPure(v.init, v.id.range[1]) + ) { + const P = N.tagTopLevelSymbol(k, E) + le.set(v.init, P) + } else if (k.isPure(v.init, v.id.range[1])) { + const P = N.tagTopLevelSymbol(k, E) + pe.set(v, P) + if ( + !v.init.type.endsWith('FunctionExpression') && + v.init.type !== 'Literal' + ) { + me.add(v) + } + return true + } + } + }) + k.hooks.statement.tap(ae, (v) => { + if (!N.isEnabled(k.state)) return + if (k.scope.topLevelScope === true) { + N.setTopLevelSymbol(k.state, undefined) + const E = P.get(v) + if (E) { + N.setTopLevelSymbol(k.state, E) + const P = R.get(v) + if (P) { + N.onUsage(k.state, (E) => { + switch (E) { + case undefined: + case true: + return + default: { + const R = new L(P.range) + R.loc = v.loc + R.usedByExports = E + k.state.module.addDependency(R) + break + } + } + }) + } + } + } + }) + k.hooks.classExtendsExpression.tap(ae, (v, E) => { + if (!N.isEnabled(k.state)) return + if (k.scope.topLevelScope === true) { + const P = le.get(E) + if (P && k.isPure(v, E.id ? E.id.range[1] : E.range[0])) { + N.setTopLevelSymbol(k.state, P) + onUsageSuper(v) + } + } + }) + k.hooks.classBodyElement.tap(ae, (v, E) => { + if (!N.isEnabled(k.state)) return + if (k.scope.topLevelScope === true) { + const v = le.get(E) + if (v) { + N.setTopLevelSymbol(k.state, undefined) + } + } + }) + k.hooks.classBodyValue.tap(ae, (v, E, P) => { + if (!N.isEnabled(k.state)) return + if (k.scope.topLevelScope === true) { + const R = le.get(P) + if (R) { + if ( + !E.static || + k.isPure(v, E.key ? E.key.range[1] : E.range[0]) + ) { + N.setTopLevelSymbol(k.state, R) + if (E.type !== 'MethodDefinition' && E.static) { + N.onUsage(k.state, (E) => { + switch (E) { + case undefined: + case true: + return + default: { + const P = new L(v.range) + P.loc = v.loc + P.usedByExports = E + k.state.module.addDependency(P) + break + } + } + }) + } + } else { + N.setTopLevelSymbol(k.state, undefined) + } + } + } + }) + k.hooks.declarator.tap(ae, (v, E) => { + if (!N.isEnabled(k.state)) return + const P = pe.get(v) + if (P) { + N.setTopLevelSymbol(k.state, P) + if (me.has(v)) { + if (v.init.type === 'ClassExpression') { + if (v.init.superClass) { + onUsageSuper(v.init.superClass) + } + } else { + N.onUsage(k.state, (E) => { + switch (E) { + case undefined: + case true: + return + default: { + const P = new L(v.init.range) + P.loc = v.loc + P.usedByExports = E + k.state.module.addDependency(P) + break + } + } + }) + } + } + k.walkExpression(v.init) + N.setTopLevelSymbol(k.state, undefined) + return true + } + }) + k.hooks.expression.for(q).tap(ae, () => { + const v = k.currentTagData + const E = N.getTopLevelSymbol(k.state) + N.addUsage(k.state, v, E || true) + }) + k.hooks.assign.for(q).tap(ae, (v) => { + if (!N.isEnabled(k.state)) return + if (v.operator === '=') return true + }) + } + v.hooks.parser.for(P).tap(ae, handler) + v.hooks.parser.for(R).tap(ae, handler) + k.hooks.finishModules.tap(ae, () => { + E.timeAggregateEnd('infer dependency usage') + }) + }) + } + } + k.exports = InnerGraphPlugin + }, + 17452: function (k, v, E) { + 'use strict' + const { STAGE_ADVANCED: P } = E(99134) + const R = E(50680) + const { compareChunks: L } = E(95648) + const N = E(92198) + const q = N(E(39559), () => E(30355), { + name: 'Limit Chunk Count Plugin', + baseDataPath: 'options', + }) + const addToSetMap = (k, v, E) => { + const P = k.get(v) + if (P === undefined) { + k.set(v, new Set([E])) + } else { + P.add(E) + } + } + class LimitChunkCountPlugin { + constructor(k) { + q(k) + this.options = k + } + apply(k) { + const v = this.options + k.hooks.compilation.tap('LimitChunkCountPlugin', (k) => { + k.hooks.optimizeChunks.tap( + { name: 'LimitChunkCountPlugin', stage: P }, + (E) => { + const P = k.chunkGraph + const N = v.maxChunks + if (!N) return + if (N < 1) return + if (k.chunks.size <= N) return + let q = k.chunks.size - N + const ae = L(P) + const le = Array.from(E).sort(ae) + const pe = new R( + (k) => k.sizeDiff, + (k, v) => v - k, + (k) => k.integratedSize, + (k, v) => k - v, + (k) => k.bIdx - k.aIdx, + (k, v) => k - v, + (k, v) => k.bIdx - v.bIdx + ) + const me = new Map() + le.forEach((k, E) => { + for (let R = 0; R < E; R++) { + const L = le[R] + if (!P.canChunksBeIntegrated(L, k)) continue + const N = P.getIntegratedChunksSize(L, k, v) + const q = P.getChunkSize(L, v) + const ae = P.getChunkSize(k, v) + const ye = { + deleted: false, + sizeDiff: q + ae - N, + integratedSize: N, + a: L, + b: k, + aIdx: R, + bIdx: E, + aSize: q, + bSize: ae, + } + pe.add(ye) + addToSetMap(me, L, ye) + addToSetMap(me, k, ye) + } + return pe + }) + const ye = new Set() + let _e = false + e: while (true) { + const E = pe.popFirst() + if (E === undefined) break + E.deleted = true + const { a: R, b: L, integratedSize: N } = E + if (ye.size > 0) { + const k = new Set(R.groupsIterable) + for (const v of L.groupsIterable) { + k.add(v) + } + for (const v of k) { + for (const k of ye) { + if (k !== R && k !== L && k.isInGroup(v)) { + q-- + if (q <= 0) break e + ye.add(R) + ye.add(L) + continue e + } + } + for (const E of v.parentsIterable) { + k.add(E) + } + } + } + if (P.canChunksBeIntegrated(R, L)) { + P.integrateChunks(R, L) + k.chunks.delete(L) + ye.add(R) + _e = true + q-- + if (q <= 0) break + for (const k of me.get(R)) { + if (k.deleted) continue + k.deleted = true + pe.delete(k) + } + for (const k of me.get(L)) { + if (k.deleted) continue + if (k.a === L) { + if (!P.canChunksBeIntegrated(R, k.b)) { + k.deleted = true + pe.delete(k) + continue + } + const E = P.getIntegratedChunksSize(R, k.b, v) + const L = pe.startUpdate(k) + k.a = R + k.integratedSize = E + k.aSize = N + k.sizeDiff = k.bSize + N - E + L() + } else if (k.b === L) { + if (!P.canChunksBeIntegrated(k.a, R)) { + k.deleted = true + pe.delete(k) + continue + } + const E = P.getIntegratedChunksSize(k.a, R, v) + const L = pe.startUpdate(k) + k.b = R + k.integratedSize = E + k.bSize = N + k.sizeDiff = N + k.aSize - E + L() + } + } + me.set(R, me.get(L)) + me.delete(L) + } + } + if (_e) return true + } + ) + }) + } + } + k.exports = LimitChunkCountPlugin + }, + 45287: function (k, v, E) { + 'use strict' + const { UsageState: P } = E(11172) + const { + numberToIdentifier: R, + NUMBER_OF_IDENTIFIER_START_CHARS: L, + NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS: N, + } = E(95041) + const { assignDeterministicIds: q } = E(88667) + const { compareSelect: ae, compareStringsNumeric: le } = E(95648) + const canMangle = (k) => { + if (k.otherExportsInfo.getUsed(undefined) !== P.Unused) return false + let v = false + for (const E of k.exports) { + if (E.canMangle === true) { + v = true + } + } + return v + } + const pe = ae((k) => k.name, le) + const mangleExportsInfo = (k, v, E) => { + if (!canMangle(v)) return + const ae = new Set() + const le = [] + let me = !E + if (!me && k) { + for (const k of v.ownedExports) { + if (k.provided !== false) { + me = true + break + } + } + } + for (const E of v.ownedExports) { + const v = E.name + if (!E.hasUsedName()) { + if ( + E.canMangle !== true || + (v.length === 1 && /^[a-zA-Z0-9_$]/.test(v)) || + (k && + v.length === 2 && + /^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(v)) || + (me && E.provided !== true) + ) { + E.setUsedName(v) + ae.add(v) + } else { + le.push(E) + } + } + if (E.exportsInfoOwned) { + const v = E.getUsed(undefined) + if (v === P.OnlyPropertiesUsed || v === P.Unused) { + mangleExportsInfo(k, E.exportsInfo, false) + } + } + } + if (k) { + q( + le, + (k) => k.name, + pe, + (k, v) => { + const E = R(v) + const P = ae.size + ae.add(E) + if (P === ae.size) return false + k.setUsedName(E) + return true + }, + [L, L * N], + N, + ae.size + ) + } else { + const k = [] + const v = [] + for (const E of le) { + if (E.getUsed(undefined) === P.Unused) { + v.push(E) + } else { + k.push(E) + } + } + k.sort(pe) + v.sort(pe) + let E = 0 + for (const P of [k, v]) { + for (const k of P) { + let v + do { + v = R(E++) + } while (ae.has(v)) + k.setUsedName(v) + } + } + } + } + class MangleExportsPlugin { + constructor(k) { + this._deterministic = k + } + apply(k) { + const { _deterministic: v } = this + k.hooks.compilation.tap('MangleExportsPlugin', (k) => { + const E = k.moduleGraph + k.hooks.optimizeCodeGeneration.tap('MangleExportsPlugin', (P) => { + if (k.moduleMemCaches) { + throw new Error( + "optimization.mangleExports can't be used with cacheUnaffected as export mangling is a global effect" + ) + } + for (const k of P) { + const P = k.buildMeta && k.buildMeta.exportsType === 'namespace' + const R = E.getExportsInfo(k) + mangleExportsInfo(v, R, P) + } + }) + }) + } + } + k.exports = MangleExportsPlugin + }, + 79008: function (k, v, E) { + 'use strict' + const { STAGE_BASIC: P } = E(99134) + const { runtimeEqual: R } = E(1540) + class MergeDuplicateChunksPlugin { + apply(k) { + k.hooks.compilation.tap('MergeDuplicateChunksPlugin', (k) => { + k.hooks.optimizeChunks.tap( + { name: 'MergeDuplicateChunksPlugin', stage: P }, + (v) => { + const { chunkGraph: E, moduleGraph: P } = k + const L = new Set() + for (const N of v) { + let v + for (const k of E.getChunkModulesIterable(N)) { + if (v === undefined) { + for (const P of E.getModuleChunksIterable(k)) { + if ( + P !== N && + E.getNumberOfChunkModules(N) === + E.getNumberOfChunkModules(P) && + !L.has(P) + ) { + if (v === undefined) { + v = new Set() + } + v.add(P) + } + } + if (v === undefined) break + } else { + for (const P of v) { + if (!E.isModuleInChunk(k, P)) { + v.delete(P) + } + } + if (v.size === 0) break + } + } + if (v !== undefined && v.size > 0) { + e: for (const L of v) { + if (L.hasRuntime() !== N.hasRuntime()) continue + if (E.getNumberOfEntryModules(N) > 0) continue + if (E.getNumberOfEntryModules(L) > 0) continue + if (!R(N.runtime, L.runtime)) { + for (const k of E.getChunkModulesIterable(N)) { + const v = P.getExportsInfo(k) + if (!v.isEquallyUsed(N.runtime, L.runtime)) { + continue e + } + } + } + if (E.canChunksBeIntegrated(N, L)) { + E.integrateChunks(N, L) + k.chunks.delete(L) + } + } + } + L.add(N) + } + } + ) + }) + } + } + k.exports = MergeDuplicateChunksPlugin + }, + 25971: function (k, v, E) { + 'use strict' + const { STAGE_ADVANCED: P } = E(99134) + const R = E(92198) + const L = R(E(30666), () => E(78782), { + name: 'Min Chunk Size Plugin', + baseDataPath: 'options', + }) + class MinChunkSizePlugin { + constructor(k) { + L(k) + this.options = k + } + apply(k) { + const v = this.options + const E = v.minChunkSize + k.hooks.compilation.tap('MinChunkSizePlugin', (k) => { + k.hooks.optimizeChunks.tap( + { name: 'MinChunkSizePlugin', stage: P }, + (P) => { + const R = k.chunkGraph + const L = { chunkOverhead: 1, entryChunkMultiplicator: 1 } + const N = new Map() + const q = [] + const ae = [] + const le = [] + for (const k of P) { + if (R.getChunkSize(k, L) < E) { + ae.push(k) + for (const v of le) { + if (R.canChunksBeIntegrated(v, k)) q.push([v, k]) + } + } else { + for (const v of ae) { + if (R.canChunksBeIntegrated(v, k)) q.push([v, k]) + } + } + N.set(k, R.getChunkSize(k, v)) + le.push(k) + } + const pe = q + .map((k) => { + const E = N.get(k[0]) + const P = N.get(k[1]) + const L = R.getIntegratedChunksSize(k[0], k[1], v) + const q = [E + P - L, L, k[0], k[1]] + return q + }) + .sort((k, v) => { + const E = v[0] - k[0] + if (E !== 0) return E + return k[1] - v[1] + }) + if (pe.length === 0) return + const me = pe[0] + R.integrateChunks(me[2], me[3]) + k.chunks.delete(me[3]) + return true + } + ) + }) + } + } + k.exports = MinChunkSizePlugin + }, + 47490: function (k, v, E) { + 'use strict' + const P = E(3386) + const R = E(71572) + class MinMaxSizeWarning extends R { + constructor(k, v, E) { + let R = 'Fallback cache group' + if (k) { + R = + k.length > 1 + ? `Cache groups ${k.sort().join(', ')}` + : `Cache group ${k[0]}` + } + super( + `SplitChunksPlugin\n` + + `${R}\n` + + `Configured minSize (${P.formatSize(v)}) is ` + + `bigger than maxSize (${P.formatSize(E)}).\n` + + 'This seem to be a invalid optimization.splitChunks configuration.' + ) + } + } + k.exports = MinMaxSizeWarning + }, + 30899: function (k, v, E) { + 'use strict' + const P = E(78175) + const R = E(38317) + const L = E(88223) + const { STAGE_DEFAULT: N } = E(99134) + const q = E(69184) + const { compareModulesByIdentifier: ae } = E(95648) + const { + intersectRuntime: le, + mergeRuntimeOwned: pe, + filterRuntime: me, + runtimeToString: ye, + mergeRuntime: _e, + } = E(1540) + const Ie = E(94978) + const formatBailoutReason = (k) => 'ModuleConcatenation bailout: ' + k + class ModuleConcatenationPlugin { + constructor(k) { + if (typeof k !== 'object') k = {} + this.options = k + } + apply(k) { + const { _backCompat: v } = k + k.hooks.compilation.tap('ModuleConcatenationPlugin', (E) => { + if (E.moduleMemCaches) { + throw new Error( + "optimization.concatenateModules can't be used with cacheUnaffected as module concatenation is a global effect" + ) + } + const ae = E.moduleGraph + const le = new Map() + const setBailoutReason = (k, v) => { + setInnerBailoutReason(k, v) + ae.getOptimizationBailout(k).push( + typeof v === 'function' + ? (k) => formatBailoutReason(v(k)) + : formatBailoutReason(v) + ) + } + const setInnerBailoutReason = (k, v) => { + le.set(k, v) + } + const getInnerBailoutReason = (k, v) => { + const E = le.get(k) + if (typeof E === 'function') return E(v) + return E + } + const formatBailoutWarning = (k, v) => (E) => { + if (typeof v === 'function') { + return formatBailoutReason( + `Cannot concat with ${k.readableIdentifier(E)}: ${v(E)}` + ) + } + const P = getInnerBailoutReason(k, E) + const R = P ? `: ${P}` : '' + if (k === v) { + return formatBailoutReason( + `Cannot concat with ${k.readableIdentifier(E)}${R}` + ) + } else { + return formatBailoutReason( + `Cannot concat with ${k.readableIdentifier( + E + )} because of ${v.readableIdentifier(E)}${R}` + ) + } + } + E.hooks.optimizeChunkModules.tapAsync( + { name: 'ModuleConcatenationPlugin', stage: N }, + (N, ae, le) => { + const ye = E.getLogger('webpack.ModuleConcatenationPlugin') + const { chunkGraph: _e, moduleGraph: Me } = E + const Te = [] + const je = new Set() + const Ne = { chunkGraph: _e, moduleGraph: Me } + ye.time('select relevant modules') + for (const k of ae) { + let v = true + let E = true + const P = k.getConcatenationBailoutReason(Ne) + if (P) { + setBailoutReason(k, P) + continue + } + if (Me.isAsync(k)) { + setBailoutReason(k, `Module is async`) + continue + } + if (!k.buildInfo.strict) { + setBailoutReason(k, `Module is not in strict mode`) + continue + } + if (_e.getNumberOfModuleChunks(k) === 0) { + setBailoutReason(k, 'Module is not in any chunk') + continue + } + const R = Me.getExportsInfo(k) + const L = R.getRelevantExports(undefined) + const N = L.filter((k) => k.isReexport() && !k.getTarget(Me)) + if (N.length > 0) { + setBailoutReason( + k, + `Reexports in this module do not have a static target (${Array.from( + N, + (k) => + `${k.name || 'other exports'}: ${k.getUsedInfo()}` + ).join(', ')})` + ) + continue + } + const q = L.filter((k) => k.provided !== true) + if (q.length > 0) { + setBailoutReason( + k, + `List of module exports is dynamic (${Array.from( + q, + (k) => + `${ + k.name || 'other exports' + }: ${k.getProvidedInfo()} and ${k.getUsedInfo()}` + ).join(', ')})` + ) + v = false + } + if (_e.isEntryModule(k)) { + setInnerBailoutReason(k, 'Module is an entry point') + E = false + } + if (v) Te.push(k) + if (E) je.add(k) + } + ye.timeEnd('select relevant modules') + ye.debug( + `${Te.length} potential root modules, ${je.size} potential inner modules` + ) + ye.time('sort relevant modules') + Te.sort((k, v) => Me.getDepth(k) - Me.getDepth(v)) + ye.timeEnd('sort relevant modules') + const Be = { + cached: 0, + alreadyInConfig: 0, + invalidModule: 0, + incorrectChunks: 0, + incorrectDependency: 0, + incorrectModuleDependency: 0, + incorrectChunksOfImporter: 0, + incorrectRuntimeCondition: 0, + importerFailed: 0, + added: 0, + } + let qe = 0 + let Ue = 0 + let Ge = 0 + ye.time('find modules to concatenate') + const He = [] + const We = new Set() + for (const k of Te) { + if (We.has(k)) continue + let v = undefined + for (const E of _e.getModuleRuntimes(k)) { + v = pe(v, E) + } + const P = Me.getExportsInfo(k) + const R = me(v, (k) => P.isModuleUsed(k)) + const L = R === true ? v : R === false ? undefined : R + const N = new ConcatConfiguration(k, L) + const q = new Map() + const ae = new Set() + for (const v of this._getImports(E, k, L)) { + ae.add(v) + } + for (const k of ae) { + const P = new Set() + const R = this._tryToAdd( + E, + N, + k, + v, + L, + je, + P, + q, + _e, + true, + Be + ) + if (R) { + q.set(k, R) + N.addWarning(k, R) + } else { + for (const k of P) { + ae.add(k) + } + } + } + qe += ae.size + if (!N.isEmpty()) { + const k = N.getModules() + Ue += k.size + He.push(N) + for (const v of k) { + if (v !== N.rootModule) { + We.add(v) + } + } + } else { + Ge++ + const v = Me.getOptimizationBailout(k) + for (const k of N.getWarningsSorted()) { + v.push(formatBailoutWarning(k[0], k[1])) + } + } + } + ye.timeEnd('find modules to concatenate') + ye.debug( + `${He.length} successful concat configurations (avg size: ${ + Ue / He.length + }), ${Ge} bailed out completely` + ) + ye.debug( + `${qe} candidates were considered for adding (${Be.cached} cached failure, ${Be.alreadyInConfig} already in config, ${Be.invalidModule} invalid module, ${Be.incorrectChunks} incorrect chunks, ${Be.incorrectDependency} incorrect dependency, ${Be.incorrectChunksOfImporter} incorrect chunks of importer, ${Be.incorrectModuleDependency} incorrect module dependency, ${Be.incorrectRuntimeCondition} incorrect runtime condition, ${Be.importerFailed} importer failed, ${Be.added} added)` + ) + ye.time(`sort concat configurations`) + He.sort((k, v) => v.modules.size - k.modules.size) + ye.timeEnd(`sort concat configurations`) + const Qe = new Set() + ye.time('create concatenated modules') + P.each( + He, + (P, N) => { + const ae = P.rootModule + if (Qe.has(ae)) return N() + const le = P.getModules() + for (const k of le) { + Qe.add(k) + } + let pe = Ie.create( + ae, + le, + P.runtime, + k.root, + E.outputOptions.hashFunction + ) + const build = () => { + pe.build(k.options, E, null, null, (k) => { + if (k) { + if (!k.module) { + k.module = pe + } + return N(k) + } + integrate() + }) + } + const integrate = () => { + if (v) { + R.setChunkGraphForModule(pe, _e) + L.setModuleGraphForModule(pe, Me) + } + for (const k of P.getWarningsSorted()) { + Me.getOptimizationBailout(pe).push( + formatBailoutWarning(k[0], k[1]) + ) + } + Me.cloneModuleAttributes(ae, pe) + for (const k of le) { + if (E.builtModules.has(k)) { + E.builtModules.add(pe) + } + if (k !== ae) { + Me.copyOutgoingModuleConnections( + k, + pe, + (v) => + v.originModule === k && + !(v.dependency instanceof q && le.has(v.module)) + ) + for (const v of _e.getModuleChunksIterable(ae)) { + const E = _e.getChunkModuleSourceTypes(v, k) + if (E.size === 1) { + _e.disconnectChunkAndModule(v, k) + } else { + const P = new Set(E) + P.delete('javascript') + _e.setChunkModuleSourceTypes(v, k, P) + } + } + } + } + E.modules.delete(ae) + R.clearChunkGraphForModule(ae) + L.clearModuleGraphForModule(ae) + _e.replaceModule(ae, pe) + Me.moveModuleConnections(ae, pe, (k) => { + const v = k.module === ae ? k.originModule : k.module + const E = k.dependency instanceof q && le.has(v) + return !E + }) + E.modules.add(pe) + N() + } + build() + }, + (k) => { + ye.timeEnd('create concatenated modules') + process.nextTick(le.bind(null, k)) + } + ) + } + ) + }) + } + _getImports(k, v, E) { + const P = k.moduleGraph + const R = new Set() + for (const L of v.dependencies) { + if (!(L instanceof q)) continue + const N = P.getConnection(L) + if (!N || !N.module || !N.isTargetActive(E)) { + continue + } + const ae = k.getDependencyReferencedExports(L, undefined) + if ( + ae.every((k) => + Array.isArray(k) ? k.length > 0 : k.name.length > 0 + ) || + Array.isArray(P.getProvidedExports(v)) + ) { + R.add(N.module) + } + } + return R + } + _tryToAdd(k, v, E, P, R, L, N, Ie, Me, Te, je) { + const Ne = Ie.get(E) + if (Ne) { + je.cached++ + return Ne + } + if (v.has(E)) { + je.alreadyInConfig++ + return null + } + if (!L.has(E)) { + je.invalidModule++ + Ie.set(E, E) + return E + } + const Be = Array.from( + Me.getModuleChunksIterable(v.rootModule) + ).filter((k) => !Me.isModuleInChunk(E, k)) + if (Be.length > 0) { + const problem = (k) => { + const v = Array.from( + new Set(Be.map((k) => k.name || 'unnamed chunk(s)')) + ).sort() + const P = Array.from( + new Set( + Array.from(Me.getModuleChunksIterable(E)).map( + (k) => k.name || 'unnamed chunk(s)' + ) + ) + ).sort() + return `Module ${E.readableIdentifier( + k + )} is not in the same chunk(s) (expected in chunk(s) ${v.join( + ', ' + )}, module is in chunk(s) ${P.join(', ')})` + } + je.incorrectChunks++ + Ie.set(E, problem) + return problem + } + const qe = k.moduleGraph + const Ue = qe.getIncomingConnectionsByOriginModule(E) + const Ge = Ue.get(null) || Ue.get(undefined) + if (Ge) { + const k = Ge.filter((k) => k.isActive(P)) + if (k.length > 0) { + const problem = (v) => { + const P = new Set(k.map((k) => k.explanation).filter(Boolean)) + const R = Array.from(P).sort() + return `Module ${E.readableIdentifier(v)} is referenced ${ + R.length > 0 ? `by: ${R.join(', ')}` : 'in an unsupported way' + }` + } + je.incorrectDependency++ + Ie.set(E, problem) + return problem + } + } + const He = new Map() + for (const [k, v] of Ue) { + if (k) { + if (Me.getNumberOfModuleChunks(k) === 0) continue + let E = undefined + for (const v of Me.getModuleRuntimes(k)) { + E = pe(E, v) + } + if (!le(P, E)) continue + const R = v.filter((k) => k.isActive(P)) + if (R.length > 0) He.set(k, R) + } + } + const We = Array.from(He.keys()) + const Qe = We.filter((k) => { + for (const E of Me.getModuleChunksIterable(v.rootModule)) { + if (!Me.isModuleInChunk(k, E)) { + return true + } + } + return false + }) + if (Qe.length > 0) { + const problem = (k) => { + const v = Qe.map((v) => v.readableIdentifier(k)).sort() + return `Module ${E.readableIdentifier( + k + )} is referenced from different chunks by these modules: ${v.join( + ', ' + )}` + } + je.incorrectChunksOfImporter++ + Ie.set(E, problem) + return problem + } + const Je = new Map() + for (const [k, v] of He) { + const E = v.filter( + (k) => !k.dependency || !(k.dependency instanceof q) + ) + if (E.length > 0) Je.set(k, v) + } + if (Je.size > 0) { + const problem = (k) => { + const v = Array.from(Je) + .map( + ([v, E]) => + `${v.readableIdentifier(k)} (referenced with ${Array.from( + new Set( + E.map((k) => k.dependency && k.dependency.type).filter( + Boolean + ) + ) + ) + .sort() + .join(', ')})` + ) + .sort() + return `Module ${E.readableIdentifier( + k + )} is referenced from these modules with unsupported syntax: ${v.join( + ', ' + )}` + } + je.incorrectModuleDependency++ + Ie.set(E, problem) + return problem + } + if (P !== undefined && typeof P !== 'string') { + const k = [] + e: for (const [v, E] of He) { + let R = false + for (const k of E) { + const v = me(P, (v) => k.isTargetActive(v)) + if (v === false) continue + if (v === true) continue e + if (R !== false) { + R = _e(R, v) + } else { + R = v + } + } + if (R !== false) { + k.push({ originModule: v, runtimeCondition: R }) + } + } + if (k.length > 0) { + const problem = (v) => + `Module ${E.readableIdentifier( + v + )} is runtime-dependent referenced by these modules: ${Array.from( + k, + ({ originModule: k, runtimeCondition: E }) => + `${k.readableIdentifier(v)} (expected runtime ${ye( + P + )}, module is only referenced in ${ye(E)})` + ).join(', ')}` + je.incorrectRuntimeCondition++ + Ie.set(E, problem) + return problem + } + } + let Ve + if (Te) { + Ve = v.snapshot() + } + v.add(E) + We.sort(ae) + for (const q of We) { + const ae = this._tryToAdd(k, v, q, P, R, L, N, Ie, Me, false, je) + if (ae) { + if (Ve !== undefined) v.rollback(Ve) + je.importerFailed++ + Ie.set(E, ae) + return ae + } + } + for (const v of this._getImports(k, E, P)) { + N.add(v) + } + je.added++ + return null + } + } + class ConcatConfiguration { + constructor(k, v) { + this.rootModule = k + this.runtime = v + this.modules = new Set() + this.modules.add(k) + this.warnings = new Map() + } + add(k) { + this.modules.add(k) + } + has(k) { + return this.modules.has(k) + } + isEmpty() { + return this.modules.size === 1 + } + addWarning(k, v) { + this.warnings.set(k, v) + } + getWarningsSorted() { + return new Map( + Array.from(this.warnings).sort((k, v) => { + const E = k[0].identifier() + const P = v[0].identifier() + if (E < P) return -1 + if (E > P) return 1 + return 0 + }) + ) + } + getModules() { + return this.modules + } + snapshot() { + return this.modules.size + } + rollback(k) { + const v = this.modules + for (const E of v) { + if (k === 0) { + v.delete(E) + } else { + k-- + } + } + } + } + k.exports = ModuleConcatenationPlugin + }, + 71183: function (k, v, E) { + 'use strict' + const { SyncBailHook: P } = E(79846) + const { RawSource: R, CachedSource: L, CompatSource: N } = E(51255) + const q = E(27747) + const ae = E(71572) + const { compareSelect: le, compareStrings: pe } = E(95648) + const me = E(74012) + const ye = new Set() + const addToList = (k, v) => { + if (Array.isArray(k)) { + for (const E of k) { + v.add(E) + } + } else if (k) { + v.add(k) + } + } + const mapAndDeduplicateBuffers = (k, v) => { + const E = [] + e: for (const P of k) { + const k = v(P) + for (const v of E) { + if (k.equals(v)) continue e + } + E.push(k) + } + return E + } + const quoteMeta = (k) => k.replace(/[-[\]\\/{}()*+?.^$|]/g, '\\$&') + const _e = new WeakMap() + const toCachedSource = (k) => { + if (k instanceof L) { + return k + } + const v = _e.get(k) + if (v !== undefined) return v + const E = new L(N.from(k)) + _e.set(k, E) + return E + } + const Ie = new WeakMap() + class RealContentHashPlugin { + static getCompilationHooks(k) { + if (!(k instanceof q)) { + throw new TypeError( + "The 'compilation' argument must be an instance of Compilation" + ) + } + let v = Ie.get(k) + if (v === undefined) { + v = { updateHash: new P(['content', 'oldHash']) } + Ie.set(k, v) + } + return v + } + constructor({ hashFunction: k, hashDigest: v }) { + this._hashFunction = k + this._hashDigest = v + } + apply(k) { + k.hooks.compilation.tap('RealContentHashPlugin', (k) => { + const v = k.getCache('RealContentHashPlugin|analyse') + const E = k.getCache('RealContentHashPlugin|generate') + const P = RealContentHashPlugin.getCompilationHooks(k) + k.hooks.processAssets.tapPromise( + { + name: 'RealContentHashPlugin', + stage: q.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH, + }, + async () => { + const L = k.getAssets() + const N = [] + const q = new Map() + for (const { source: k, info: v, name: E } of L) { + const P = toCachedSource(k) + const R = P.source() + const L = new Set() + addToList(v.contenthash, L) + const ae = { + name: E, + info: v, + source: P, + newSource: undefined, + newSourceWithoutOwn: undefined, + content: R, + ownHashes: undefined, + contentComputePromise: undefined, + contentComputeWithoutOwnPromise: undefined, + referencedHashes: undefined, + hashes: L, + } + N.push(ae) + for (const k of L) { + const v = q.get(k) + if (v === undefined) { + q.set(k, [ae]) + } else { + v.push(ae) + } + } + } + if (q.size === 0) return + const _e = new RegExp( + Array.from(q.keys(), quoteMeta).join('|'), + 'g' + ) + await Promise.all( + N.map(async (k) => { + const { name: E, source: P, content: R, hashes: L } = k + if (Buffer.isBuffer(R)) { + k.referencedHashes = ye + k.ownHashes = ye + return + } + const N = v.mergeEtags( + v.getLazyHashedEtag(P), + Array.from(L).join('|') + ) + ;[k.referencedHashes, k.ownHashes] = await v.providePromise( + E, + N, + () => { + const k = new Set() + let v = new Set() + const E = R.match(_e) + if (E) { + for (const P of E) { + if (L.has(P)) { + v.add(P) + continue + } + k.add(P) + } + } + return [k, v] + } + ) + }) + ) + const getDependencies = (v) => { + const E = q.get(v) + if (!E) { + const E = N.filter((k) => k.referencedHashes.has(v)) + const P = new ae( + `RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${v}) 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${E.map( + (k) => { + const E = new RegExp( + `.{0,20}${quoteMeta(v)}.{0,20}` + ).exec(k.content) + return ` - ${k.name}: ...${E ? E[0] : '???'}...` + } + ).join('\n')}` + ) + k.errors.push(P) + return undefined + } + const P = new Set() + for (const { referencedHashes: k, ownHashes: R } of E) { + if (!R.has(v)) { + for (const k of R) { + P.add(k) + } + } + for (const v of k) { + P.add(v) + } + } + return P + } + const hashInfo = (k) => { + const v = q.get(k) + return `${k} (${Array.from(v, (k) => k.name)})` + } + const Ie = new Set() + for (const k of q.keys()) { + const add = (k, v) => { + const E = getDependencies(k) + if (!E) return + v.add(k) + for (const k of E) { + if (Ie.has(k)) continue + if (v.has(k)) { + throw new Error( + `Circular hash dependency ${Array.from( + v, + hashInfo + ).join(' -> ')} -> ${hashInfo(k)}` + ) + } + add(k, v) + } + Ie.add(k) + v.delete(k) + } + if (Ie.has(k)) continue + add(k, new Set()) + } + const Me = new Map() + const getEtag = (k) => + E.mergeEtags( + E.getLazyHashedEtag(k.source), + Array.from(k.referencedHashes, (k) => Me.get(k)).join('|') + ) + const computeNewContent = (k) => { + if (k.contentComputePromise) return k.contentComputePromise + return (k.contentComputePromise = (async () => { + if ( + k.ownHashes.size > 0 || + Array.from(k.referencedHashes).some( + (k) => Me.get(k) !== k + ) + ) { + const v = k.name + const P = getEtag(k) + k.newSource = await E.providePromise(v, P, () => { + const v = k.content.replace(_e, (k) => Me.get(k)) + return new R(v) + }) + } + })()) + } + const computeNewContentWithoutOwn = (k) => { + if (k.contentComputeWithoutOwnPromise) + return k.contentComputeWithoutOwnPromise + return (k.contentComputeWithoutOwnPromise = (async () => { + if ( + k.ownHashes.size > 0 || + Array.from(k.referencedHashes).some( + (k) => Me.get(k) !== k + ) + ) { + const v = k.name + '|without-own' + const P = getEtag(k) + k.newSourceWithoutOwn = await E.providePromise( + v, + P, + () => { + const v = k.content.replace(_e, (v) => { + if (k.ownHashes.has(v)) { + return '' + } + return Me.get(v) + }) + return new R(v) + } + ) + } + })()) + } + const Te = le((k) => k.name, pe) + for (const v of Ie) { + const E = q.get(v) + E.sort(Te) + await Promise.all( + E.map((k) => + k.ownHashes.has(v) + ? computeNewContentWithoutOwn(k) + : computeNewContent(k) + ) + ) + const R = mapAndDeduplicateBuffers(E, (k) => { + if (k.ownHashes.has(v)) { + return k.newSourceWithoutOwn + ? k.newSourceWithoutOwn.buffer() + : k.source.buffer() + } else { + return k.newSource + ? k.newSource.buffer() + : k.source.buffer() + } + }) + let L = P.updateHash.call(R, v) + if (!L) { + const E = me(this._hashFunction) + if (k.outputOptions.hashSalt) { + E.update(k.outputOptions.hashSalt) + } + for (const k of R) { + E.update(k) + } + const P = E.digest(this._hashDigest) + L = P.slice(0, v.length) + } + Me.set(v, L) + } + await Promise.all( + N.map(async (v) => { + await computeNewContent(v) + const E = v.name.replace(_e, (k) => Me.get(k)) + const P = {} + const R = v.info.contenthash + P.contenthash = Array.isArray(R) + ? R.map((k) => Me.get(k)) + : Me.get(R) + if (v.newSource !== undefined) { + k.updateAsset(v.name, v.newSource, P) + } else { + k.updateAsset(v.name, v.source, P) + } + if (v.name !== E) { + k.renameAsset(v.name, E) + } + }) + ) + } + ) + }) + } + } + k.exports = RealContentHashPlugin + }, + 37238: function (k, v, E) { + 'use strict' + const { STAGE_BASIC: P, STAGE_ADVANCED: R } = E(99134) + class RemoveEmptyChunksPlugin { + apply(k) { + k.hooks.compilation.tap('RemoveEmptyChunksPlugin', (k) => { + const handler = (v) => { + const E = k.chunkGraph + for (const P of v) { + if ( + E.getNumberOfChunkModules(P) === 0 && + !P.hasRuntime() && + E.getNumberOfEntryModules(P) === 0 + ) { + k.chunkGraph.disconnectChunk(P) + k.chunks.delete(P) + } + } + } + k.hooks.optimizeChunks.tap( + { name: 'RemoveEmptyChunksPlugin', stage: P }, + handler + ) + k.hooks.optimizeChunks.tap( + { name: 'RemoveEmptyChunksPlugin', stage: R }, + handler + ) + }) + } + } + k.exports = RemoveEmptyChunksPlugin + }, + 21352: function (k, v, E) { + 'use strict' + const { STAGE_BASIC: P } = E(99134) + const R = E(28226) + const { intersect: L } = E(59959) + class RemoveParentModulesPlugin { + apply(k) { + k.hooks.compilation.tap('RemoveParentModulesPlugin', (k) => { + const handler = (v, E) => { + const P = k.chunkGraph + const N = new R() + const q = new WeakMap() + for (const v of k.entrypoints.values()) { + q.set(v, new Set()) + for (const k of v.childrenIterable) { + N.enqueue(k) + } + } + for (const v of k.asyncEntrypoints) { + q.set(v, new Set()) + for (const k of v.childrenIterable) { + N.enqueue(k) + } + } + while (N.length > 0) { + const k = N.dequeue() + let v = q.get(k) + let E = false + for (const R of k.parentsIterable) { + const L = q.get(R) + if (L !== undefined) { + if (v === undefined) { + v = new Set(L) + for (const k of R.chunks) { + for (const E of P.getChunkModulesIterable(k)) { + v.add(E) + } + } + q.set(k, v) + E = true + } else { + for (const k of v) { + if (!P.isModuleInChunkGroup(k, R) && !L.has(k)) { + v.delete(k) + E = true + } + } + } + } + } + if (E) { + for (const v of k.childrenIterable) { + N.enqueue(v) + } + } + } + for (const k of v) { + const v = Array.from(k.groupsIterable, (k) => q.get(k)) + if (v.some((k) => k === undefined)) continue + const E = v.length === 1 ? v[0] : L(v) + const R = P.getNumberOfChunkModules(k) + const N = new Set() + if (R < E.size) { + for (const v of P.getChunkModulesIterable(k)) { + if (E.has(v)) { + N.add(v) + } + } + } else { + for (const v of E) { + if (P.isModuleInChunk(v, k)) { + N.add(v) + } + } + } + for (const v of N) { + P.disconnectChunkAndModule(k, v) + } + } + } + k.hooks.optimizeChunks.tap( + { name: 'RemoveParentModulesPlugin', stage: P }, + handler + ) + }) + } + } + k.exports = RemoveParentModulesPlugin + }, + 89921: function (k) { + 'use strict' + class RuntimeChunkPlugin { + constructor(k) { + this.options = { name: (k) => `runtime~${k.name}`, ...k } + } + apply(k) { + k.hooks.thisCompilation.tap('RuntimeChunkPlugin', (k) => { + k.hooks.addEntry.tap('RuntimeChunkPlugin', (v, { name: E }) => { + if (E === undefined) return + const P = k.entries.get(E) + if (P.options.runtime === undefined && !P.options.dependOn) { + let k = this.options.name + if (typeof k === 'function') { + k = k({ name: E }) + } + P.options.runtime = k + } + }) + }) + } + } + k.exports = RuntimeChunkPlugin + }, + 57214: function (k, v, E) { + 'use strict' + const P = E(21660) + const { + JAVASCRIPT_MODULE_TYPE_AUTO: R, + JAVASCRIPT_MODULE_TYPE_ESM: L, + JAVASCRIPT_MODULE_TYPE_DYNAMIC: N, + } = E(93622) + const { STAGE_DEFAULT: q } = E(99134) + const ae = E(44827) + const le = E(56390) + const pe = E(1811) + const me = new WeakMap() + const globToRegexp = (k, v) => { + const E = v.get(k) + if (E !== undefined) return E + if (!k.includes('/')) { + k = `**/${k}` + } + const R = P(k, { globstar: true, extended: true }) + const L = R.source + const N = new RegExp('^(\\./)?' + L.slice(1)) + v.set(k, N) + return N + } + const ye = 'SideEffectsFlagPlugin' + class SideEffectsFlagPlugin { + constructor(k = true) { + this._analyseSource = k + } + apply(k) { + let v = me.get(k.root) + if (v === undefined) { + v = new Map() + me.set(k.root, v) + } + k.hooks.compilation.tap(ye, (k, { normalModuleFactory: E }) => { + const P = k.moduleGraph + E.hooks.module.tap(ye, (k, E) => { + const P = E.resourceResolveData + if (P && P.descriptionFileData && P.relativePath) { + const E = P.descriptionFileData.sideEffects + if (E !== undefined) { + if (k.factoryMeta === undefined) { + k.factoryMeta = {} + } + const R = SideEffectsFlagPlugin.moduleHasSideEffects( + P.relativePath, + E, + v + ) + k.factoryMeta.sideEffectFree = !R + } + } + return k + }) + E.hooks.module.tap(ye, (k, v) => { + if (typeof v.settings.sideEffects === 'boolean') { + if (k.factoryMeta === undefined) { + k.factoryMeta = {} + } + k.factoryMeta.sideEffectFree = !v.settings.sideEffects + } + return k + }) + if (this._analyseSource) { + const parserHandler = (k) => { + let v + k.hooks.program.tap(ye, () => { + v = undefined + }) + k.hooks.statement.tap({ name: ye, stage: -100 }, (E) => { + if (v) return + if (k.scope.topLevelScope !== true) return + switch (E.type) { + case 'ExpressionStatement': + if (!k.isPure(E.expression, E.range[0])) { + v = E + } + break + case 'IfStatement': + case 'WhileStatement': + case 'DoWhileStatement': + if (!k.isPure(E.test, E.range[0])) { + v = E + } + break + case 'ForStatement': + if ( + !k.isPure(E.init, E.range[0]) || + !k.isPure( + E.test, + E.init ? E.init.range[1] : E.range[0] + ) || + !k.isPure( + E.update, + E.test + ? E.test.range[1] + : E.init + ? E.init.range[1] + : E.range[0] + ) + ) { + v = E + } + break + case 'SwitchStatement': + if (!k.isPure(E.discriminant, E.range[0])) { + v = E + } + break + case 'VariableDeclaration': + case 'ClassDeclaration': + case 'FunctionDeclaration': + if (!k.isPure(E, E.range[0])) { + v = E + } + break + case 'ExportNamedDeclaration': + case 'ExportDefaultDeclaration': + if (!k.isPure(E.declaration, E.range[0])) { + v = E + } + break + case 'LabeledStatement': + case 'BlockStatement': + break + case 'EmptyStatement': + break + case 'ExportAllDeclaration': + case 'ImportDeclaration': + break + default: + v = E + break + } + }) + k.hooks.finish.tap(ye, () => { + if (v === undefined) { + k.state.module.buildMeta.sideEffectFree = true + } else { + const { loc: E, type: R } = v + P.getOptimizationBailout(k.state.module).push( + () => + `Statement (${R}) with side effects in source code at ${pe( + E + )}` + ) + } + }) + } + for (const k of [R, L, N]) { + E.hooks.parser.for(k).tap(ye, parserHandler) + } + } + k.hooks.optimizeDependencies.tap({ name: ye, stage: q }, (v) => { + const E = k.getLogger('webpack.SideEffectsFlagPlugin') + E.time('update dependencies') + for (const k of v) { + if (k.getSideEffectsConnectionState(P) === false) { + const v = P.getExportsInfo(k) + for (const E of P.getIncomingConnections(k)) { + const k = E.dependency + let R + if ( + (R = k instanceof ae) || + (k instanceof le && !k.namespaceObjectAsContext) + ) { + if (R && k.name) { + const v = P.getExportInfo(E.originModule, k.name) + v.moveTarget( + P, + ({ module: k }) => + k.getSideEffectsConnectionState(P) === false, + ({ module: v, export: E }) => { + P.updateModule(k, v) + P.addExplanation( + k, + '(skipped side-effect-free modules)' + ) + const R = k.getIds(P) + k.setIds(P, E ? [...E, ...R.slice(1)] : R.slice(1)) + return P.getConnection(k) + } + ) + continue + } + const L = k.getIds(P) + if (L.length > 0) { + const E = v.getExportInfo(L[0]) + const R = E.getTarget( + P, + ({ module: k }) => + k.getSideEffectsConnectionState(P) === false + ) + if (!R) continue + P.updateModule(k, R.module) + P.addExplanation( + k, + '(skipped side-effect-free modules)' + ) + k.setIds( + P, + R.export ? [...R.export, ...L.slice(1)] : L.slice(1) + ) + } + } + } + } + } + E.timeEnd('update dependencies') + }) + }) + } + static moduleHasSideEffects(k, v, E) { + switch (typeof v) { + case 'undefined': + return true + case 'boolean': + return v + case 'string': + return globToRegexp(v, E).test(k) + case 'object': + return v.some((v) => + SideEffectsFlagPlugin.moduleHasSideEffects(k, v, E) + ) + } + } + } + k.exports = SideEffectsFlagPlugin + }, + 30829: function (k, v, E) { + 'use strict' + const P = E(8247) + const { STAGE_ADVANCED: R } = E(99134) + const L = E(71572) + const { requestToId: N } = E(88667) + const { isSubset: q } = E(59959) + const ae = E(46081) + const { compareModulesByIdentifier: le, compareIterables: pe } = E(95648) + const me = E(74012) + const ye = E(12271) + const { makePathsRelative: _e } = E(65315) + const Ie = E(20631) + const Me = E(47490) + const defaultGetName = () => {} + const Te = ye + const je = new WeakMap() + const hashFilename = (k, v) => { + const E = me(v.hashFunction).update(k).digest(v.hashDigest) + return E.slice(0, 8) + } + const getRequests = (k) => { + let v = 0 + for (const E of k.groupsIterable) { + v = Math.max(v, E.chunks.length) + } + return v + } + const mapObject = (k, v) => { + const E = Object.create(null) + for (const P of Object.keys(k)) { + E[P] = v(k[P], P) + } + return E + } + const isOverlap = (k, v) => { + for (const E of k) { + if (v.has(E)) return true + } + return false + } + const Ne = pe(le) + const compareEntries = (k, v) => { + const E = k.cacheGroup.priority - v.cacheGroup.priority + if (E) return E + const P = k.chunks.size - v.chunks.size + if (P) return P + const R = totalSize(k.sizes) * (k.chunks.size - 1) + const L = totalSize(v.sizes) * (v.chunks.size - 1) + const N = R - L + if (N) return N + const q = v.cacheGroupIndex - k.cacheGroupIndex + if (q) return q + const ae = k.modules + const le = v.modules + const pe = ae.size - le.size + if (pe) return pe + ae.sort() + le.sort() + return Ne(ae, le) + } + const INITIAL_CHUNK_FILTER = (k) => k.canBeInitial() + const ASYNC_CHUNK_FILTER = (k) => !k.canBeInitial() + const ALL_CHUNK_FILTER = (k) => true + const normalizeSizes = (k, v) => { + if (typeof k === 'number') { + const E = {} + for (const P of v) E[P] = k + return E + } else if (typeof k === 'object' && k !== null) { + return { ...k } + } else { + return {} + } + } + const mergeSizes = (...k) => { + let v = {} + for (let E = k.length - 1; E >= 0; E--) { + v = Object.assign(v, k[E]) + } + return v + } + const hasNonZeroSizes = (k) => { + for (const v of Object.keys(k)) { + if (k[v] > 0) return true + } + return false + } + const combineSizes = (k, v, E) => { + const P = new Set(Object.keys(k)) + const R = new Set(Object.keys(v)) + const L = {} + for (const N of P) { + if (R.has(N)) { + L[N] = E(k[N], v[N]) + } else { + L[N] = k[N] + } + } + for (const k of R) { + if (!P.has(k)) { + L[k] = v[k] + } + } + return L + } + const checkMinSize = (k, v) => { + for (const E of Object.keys(v)) { + const P = k[E] + if (P === undefined || P === 0) continue + if (P < v[E]) return false + } + return true + } + const checkMinSizeReduction = (k, v, E) => { + for (const P of Object.keys(v)) { + const R = k[P] + if (R === undefined || R === 0) continue + if (R * E < v[P]) return false + } + return true + } + const getViolatingMinSizes = (k, v) => { + let E + for (const P of Object.keys(v)) { + const R = k[P] + if (R === undefined || R === 0) continue + if (R < v[P]) { + if (E === undefined) E = [P] + else E.push(P) + } + } + return E + } + const totalSize = (k) => { + let v = 0 + for (const E of Object.keys(k)) { + v += k[E] + } + return v + } + const normalizeName = (k) => { + if (typeof k === 'string') { + return () => k + } + if (typeof k === 'function') { + return k + } + } + const normalizeChunksFilter = (k) => { + if (k === 'initial') { + return INITIAL_CHUNK_FILTER + } + if (k === 'async') { + return ASYNC_CHUNK_FILTER + } + if (k === 'all') { + return ALL_CHUNK_FILTER + } + if (k instanceof RegExp) { + return (v) => (v.name ? k.test(v.name) : false) + } + if (typeof k === 'function') { + return k + } + } + const normalizeCacheGroups = (k, v) => { + if (typeof k === 'function') { + return k + } + if (typeof k === 'object' && k !== null) { + const E = [] + for (const P of Object.keys(k)) { + const R = k[P] + if (R === false) { + continue + } + if (typeof R === 'string' || R instanceof RegExp) { + const k = createCacheGroupSource({}, P, v) + E.push((v, E, P) => { + if (checkTest(R, v, E)) { + P.push(k) + } + }) + } else if (typeof R === 'function') { + const k = new WeakMap() + E.push((E, L, N) => { + const q = R(E) + if (q) { + const E = Array.isArray(q) ? q : [q] + for (const R of E) { + const E = k.get(R) + if (E !== undefined) { + N.push(E) + } else { + const E = createCacheGroupSource(R, P, v) + k.set(R, E) + N.push(E) + } + } + } + }) + } else { + const k = createCacheGroupSource(R, P, v) + E.push((v, E, P) => { + if ( + checkTest(R.test, v, E) && + checkModuleType(R.type, v) && + checkModuleLayer(R.layer, v) + ) { + P.push(k) + } + }) + } + } + const fn = (k, v) => { + let P = [] + for (const R of E) { + R(k, v, P) + } + return P + } + return fn + } + return () => null + } + const checkTest = (k, v, E) => { + if (k === undefined) return true + if (typeof k === 'function') { + return k(v, E) + } + if (typeof k === 'boolean') return k + if (typeof k === 'string') { + const E = v.nameForCondition() + return E && E.startsWith(k) + } + if (k instanceof RegExp) { + const E = v.nameForCondition() + return E && k.test(E) + } + return false + } + const checkModuleType = (k, v) => { + if (k === undefined) return true + if (typeof k === 'function') { + return k(v.type) + } + if (typeof k === 'string') { + const E = v.type + return k === E + } + if (k instanceof RegExp) { + const E = v.type + return k.test(E) + } + return false + } + const checkModuleLayer = (k, v) => { + if (k === undefined) return true + if (typeof k === 'function') { + return k(v.layer) + } + if (typeof k === 'string') { + const E = v.layer + return k === '' ? !E : E && E.startsWith(k) + } + if (k instanceof RegExp) { + const E = v.layer + return k.test(E) + } + return false + } + const createCacheGroupSource = (k, v, E) => { + const P = normalizeSizes(k.minSize, E) + const R = normalizeSizes(k.minSizeReduction, E) + const L = normalizeSizes(k.maxSize, E) + return { + key: v, + priority: k.priority, + getName: normalizeName(k.name), + chunksFilter: normalizeChunksFilter(k.chunks), + enforce: k.enforce, + minSize: P, + minSizeReduction: R, + minRemainingSize: mergeSizes( + normalizeSizes(k.minRemainingSize, E), + P + ), + enforceSizeThreshold: normalizeSizes(k.enforceSizeThreshold, E), + maxAsyncSize: mergeSizes(normalizeSizes(k.maxAsyncSize, E), L), + maxInitialSize: mergeSizes(normalizeSizes(k.maxInitialSize, E), L), + minChunks: k.minChunks, + maxAsyncRequests: k.maxAsyncRequests, + maxInitialRequests: k.maxInitialRequests, + filename: k.filename, + idHint: k.idHint, + automaticNameDelimiter: k.automaticNameDelimiter, + reuseExistingChunk: k.reuseExistingChunk, + usedExports: k.usedExports, + } + } + k.exports = class SplitChunksPlugin { + constructor(k = {}) { + const v = k.defaultSizeTypes || ['javascript', 'unknown'] + const E = k.fallbackCacheGroup || {} + const P = normalizeSizes(k.minSize, v) + const R = normalizeSizes(k.minSizeReduction, v) + const L = normalizeSizes(k.maxSize, v) + this.options = { + chunksFilter: normalizeChunksFilter(k.chunks || 'all'), + defaultSizeTypes: v, + minSize: P, + minSizeReduction: R, + minRemainingSize: mergeSizes( + normalizeSizes(k.minRemainingSize, v), + P + ), + enforceSizeThreshold: normalizeSizes(k.enforceSizeThreshold, v), + maxAsyncSize: mergeSizes(normalizeSizes(k.maxAsyncSize, v), L), + maxInitialSize: mergeSizes(normalizeSizes(k.maxInitialSize, v), L), + minChunks: k.minChunks || 1, + maxAsyncRequests: k.maxAsyncRequests || 1, + maxInitialRequests: k.maxInitialRequests || 1, + hidePathInfo: k.hidePathInfo || false, + filename: k.filename || undefined, + getCacheGroups: normalizeCacheGroups(k.cacheGroups, v), + getName: k.name ? normalizeName(k.name) : defaultGetName, + automaticNameDelimiter: k.automaticNameDelimiter, + usedExports: k.usedExports, + fallbackCacheGroup: { + chunksFilter: normalizeChunksFilter( + E.chunks || k.chunks || 'all' + ), + minSize: mergeSizes(normalizeSizes(E.minSize, v), P), + maxAsyncSize: mergeSizes( + normalizeSizes(E.maxAsyncSize, v), + normalizeSizes(E.maxSize, v), + normalizeSizes(k.maxAsyncSize, v), + normalizeSizes(k.maxSize, v) + ), + maxInitialSize: mergeSizes( + normalizeSizes(E.maxInitialSize, v), + normalizeSizes(E.maxSize, v), + normalizeSizes(k.maxInitialSize, v), + normalizeSizes(k.maxSize, v) + ), + automaticNameDelimiter: + E.automaticNameDelimiter || k.automaticNameDelimiter || '~', + }, + } + this._cacheGroupCache = new WeakMap() + } + _getCacheGroup(k) { + const v = this._cacheGroupCache.get(k) + if (v !== undefined) return v + const E = mergeSizes( + k.minSize, + k.enforce ? undefined : this.options.minSize + ) + const P = mergeSizes( + k.minSizeReduction, + k.enforce ? undefined : this.options.minSizeReduction + ) + const R = mergeSizes( + k.minRemainingSize, + k.enforce ? undefined : this.options.minRemainingSize + ) + const L = mergeSizes( + k.enforceSizeThreshold, + k.enforce ? undefined : this.options.enforceSizeThreshold + ) + const N = { + key: k.key, + priority: k.priority || 0, + chunksFilter: k.chunksFilter || this.options.chunksFilter, + minSize: E, + minSizeReduction: P, + minRemainingSize: R, + enforceSizeThreshold: L, + maxAsyncSize: mergeSizes( + k.maxAsyncSize, + k.enforce ? undefined : this.options.maxAsyncSize + ), + maxInitialSize: mergeSizes( + k.maxInitialSize, + k.enforce ? undefined : this.options.maxInitialSize + ), + minChunks: + k.minChunks !== undefined + ? k.minChunks + : k.enforce + ? 1 + : this.options.minChunks, + maxAsyncRequests: + k.maxAsyncRequests !== undefined + ? k.maxAsyncRequests + : k.enforce + ? Infinity + : this.options.maxAsyncRequests, + maxInitialRequests: + k.maxInitialRequests !== undefined + ? k.maxInitialRequests + : k.enforce + ? Infinity + : this.options.maxInitialRequests, + getName: k.getName !== undefined ? k.getName : this.options.getName, + usedExports: + k.usedExports !== undefined + ? k.usedExports + : this.options.usedExports, + filename: + k.filename !== undefined ? k.filename : this.options.filename, + automaticNameDelimiter: + k.automaticNameDelimiter !== undefined + ? k.automaticNameDelimiter + : this.options.automaticNameDelimiter, + idHint: k.idHint !== undefined ? k.idHint : k.key, + reuseExistingChunk: k.reuseExistingChunk || false, + _validateSize: hasNonZeroSizes(E), + _validateRemainingSize: hasNonZeroSizes(R), + _minSizeForMaxSize: mergeSizes(k.minSize, this.options.minSize), + _conditionalEnforce: hasNonZeroSizes(L), + } + this._cacheGroupCache.set(k, N) + return N + } + apply(k) { + const v = _e.bindContextCache(k.context, k.root) + k.hooks.thisCompilation.tap('SplitChunksPlugin', (k) => { + const E = k.getLogger('webpack.SplitChunksPlugin') + let pe = false + k.hooks.unseal.tap('SplitChunksPlugin', () => { + pe = false + }) + k.hooks.optimizeChunks.tap( + { name: 'SplitChunksPlugin', stage: R }, + (R) => { + if (pe) return + pe = true + E.time('prepare') + const me = k.chunkGraph + const ye = k.moduleGraph + const _e = new Map() + const Ne = BigInt('0') + const Be = BigInt('1') + const qe = Be << BigInt('31') + let Ue = qe + for (const k of R) { + _e.set(k, Ue | BigInt((Math.random() * 2147483647) | 0)) + Ue = Ue << Be + } + const getKey = (k) => { + const v = k[Symbol.iterator]() + let E = v.next() + if (E.done) return Ne + const P = E.value + E = v.next() + if (E.done) return P + let R = _e.get(P) | _e.get(E.value) + while (!(E = v.next()).done) { + const k = _e.get(E.value) + R = R ^ k + } + return R + } + const keyToString = (k) => { + if (typeof k === 'bigint') return k.toString(16) + return _e.get(k).toString(16) + } + const Ge = Ie(() => { + const v = new Map() + const E = new Set() + for (const P of k.modules) { + const k = me.getModuleChunksIterable(P) + const R = getKey(k) + if (typeof R === 'bigint') { + if (!v.has(R)) { + v.set(R, new Set(k)) + } + } else { + E.add(R) + } + } + return { chunkSetsInGraph: v, singleChunkSets: E } + }) + const groupChunksByExports = (k) => { + const v = ye.getExportsInfo(k) + const E = new Map() + for (const P of me.getModuleChunksIterable(k)) { + const k = v.getUsageKey(P.runtime) + const R = E.get(k) + if (R !== undefined) { + R.push(P) + } else { + E.set(k, [P]) + } + } + return E.values() + } + const He = new Map() + const We = Ie(() => { + const v = new Map() + const E = new Set() + for (const P of k.modules) { + const k = Array.from(groupChunksByExports(P)) + He.set(P, k) + for (const P of k) { + if (P.length === 1) { + E.add(P[0]) + } else { + const k = getKey(P) + if (!v.has(k)) { + v.set(k, new Set(P)) + } + } + } + } + return { chunkSetsInGraph: v, singleChunkSets: E } + }) + const groupChunkSetsByCount = (k) => { + const v = new Map() + for (const E of k) { + const k = E.size + let P = v.get(k) + if (P === undefined) { + P = [] + v.set(k, P) + } + P.push(E) + } + return v + } + const Qe = Ie(() => + groupChunkSetsByCount(Ge().chunkSetsInGraph.values()) + ) + const Je = Ie(() => + groupChunkSetsByCount(We().chunkSetsInGraph.values()) + ) + const createGetCombinations = (k, v, E) => { + const R = new Map() + return (L) => { + const N = R.get(L) + if (N !== undefined) return N + if (L instanceof P) { + const k = [L] + R.set(L, k) + return k + } + const ae = k.get(L) + const le = [ae] + for (const [k, v] of E) { + if (k < ae.size) { + for (const k of v) { + if (q(ae, k)) { + le.push(k) + } + } + } + } + for (const k of v) { + if (ae.has(k)) { + le.push(k) + } + } + R.set(L, le) + return le + } + } + const Ve = Ie(() => { + const { chunkSetsInGraph: k, singleChunkSets: v } = Ge() + return createGetCombinations(k, v, Qe()) + }) + const getCombinations = (k) => Ve()(k) + const Ke = Ie(() => { + const { chunkSetsInGraph: k, singleChunkSets: v } = We() + return createGetCombinations(k, v, Je()) + }) + const getExportsCombinations = (k) => Ke()(k) + const Ye = new WeakMap() + const getSelectedChunks = (k, v) => { + let E = Ye.get(k) + if (E === undefined) { + E = new WeakMap() + Ye.set(k, E) + } + let R = E.get(v) + if (R === undefined) { + const L = [] + if (k instanceof P) { + if (v(k)) L.push(k) + } else { + for (const E of k) { + if (v(E)) L.push(E) + } + } + R = { chunks: L, key: getKey(L) } + E.set(v, R) + } + return R + } + const Xe = new Map() + const Ze = new Set() + const et = new Map() + const addModuleToChunksInfoMap = (v, E, P, R, N) => { + if (P.length < v.minChunks) return + const q = v.getName(N, P, v.key) + const pe = k.namedChunks.get(q) + if (pe) { + const E = `${q}|${typeof R === 'bigint' ? R : R.debugId}` + const N = Xe.get(E) + if (N === false) return + if (N === undefined) { + let R = true + const N = new Set() + for (const k of P) { + for (const v of k.groupsIterable) { + N.add(v) + } + } + for (const k of N) { + if (pe.isInGroup(k)) continue + let v = false + for (const E of k.parentsIterable) { + v = true + N.add(E) + } + if (!v) { + R = false + } + } + const ae = R + Xe.set(E, ae) + if (!ae) { + if (!Ze.has(q)) { + Ze.add(q) + k.errors.push( + new L( + 'SplitChunksPlugin\n' + + `Cache group "${v.key}" conflicts with existing chunk.\n` + + `Both have the same name "${q}" and existing chunk is not a parent of the selected modules.\n` + + 'Use a different name for the cache group or make sure that the existing chunk is a parent (e. g. via dependOn).\n' + + 'HINT: You can omit "name" to automatically create a name.\n' + + 'BREAKING CHANGE: webpack < 5 used to allow to use an entrypoint as splitChunk. ' + + 'This is no longer allowed when the entrypoint is not a parent of the selected modules.\n' + + "Remove this entrypoint and add modules to cache group's 'test' instead. " + + 'If you need modules to be evaluated on startup, add them to the existing entrypoints (make them arrays). ' + + 'See migration guide of more info.' + ) + ) + } + return + } + } + } + const me = + v.key + (q ? ` name:${q}` : ` chunks:${keyToString(R)}`) + let ye = et.get(me) + if (ye === undefined) { + et.set( + me, + (ye = { + modules: new ae(undefined, le), + cacheGroup: v, + cacheGroupIndex: E, + name: q, + sizes: {}, + chunks: new Set(), + reuseableChunks: new Set(), + chunksKeys: new Set(), + }) + ) + } + const _e = ye.modules.size + ye.modules.add(N) + if (ye.modules.size !== _e) { + for (const k of N.getSourceTypes()) { + ye.sizes[k] = (ye.sizes[k] || 0) + N.size(k) + } + } + const Ie = ye.chunksKeys.size + ye.chunksKeys.add(R) + if (Ie !== ye.chunksKeys.size) { + for (const k of P) { + ye.chunks.add(k) + } + } + } + const tt = { moduleGraph: ye, chunkGraph: me } + E.timeEnd('prepare') + E.time('modules') + for (const v of k.modules) { + let k = this.options.getCacheGroups(v, tt) + if (!Array.isArray(k) || k.length === 0) { + continue + } + const E = Ie(() => { + const k = me.getModuleChunksIterable(v) + const E = getKey(k) + return getCombinations(E) + }) + const R = Ie(() => { + We() + const k = new Set() + const E = He.get(v) + for (const v of E) { + const E = getKey(v) + for (const v of getExportsCombinations(E)) k.add(v) + } + return k + }) + let L = 0 + for (const N of k) { + const k = this._getCacheGroup(N) + const q = k.usedExports ? R() : E() + for (const E of q) { + const R = E instanceof P ? 1 : E.size + if (R < k.minChunks) continue + const { chunks: N, key: q } = getSelectedChunks( + E, + k.chunksFilter + ) + addModuleToChunksInfoMap(k, L, N, q, v) + } + L++ + } + } + E.timeEnd('modules') + E.time('queue') + const removeModulesWithSourceType = (k, v) => { + for (const E of k.modules) { + const P = E.getSourceTypes() + if (v.some((k) => P.has(k))) { + k.modules.delete(E) + for (const v of P) { + k.sizes[v] -= E.size(v) + } + } + } + } + const removeMinSizeViolatingModules = (k) => { + if (!k.cacheGroup._validateSize) return false + const v = getViolatingMinSizes(k.sizes, k.cacheGroup.minSize) + if (v === undefined) return false + removeModulesWithSourceType(k, v) + return k.modules.size === 0 + } + for (const [k, v] of et) { + if (removeMinSizeViolatingModules(v)) { + et.delete(k) + } else if ( + !checkMinSizeReduction( + v.sizes, + v.cacheGroup.minSizeReduction, + v.chunks.size + ) + ) { + et.delete(k) + } + } + const nt = new Map() + while (et.size > 0) { + let v + let E + for (const k of et) { + const P = k[0] + const R = k[1] + if (E === undefined || compareEntries(E, R) < 0) { + E = R + v = P + } + } + const P = E + et.delete(v) + let R = P.name + let L + let N = false + let q = false + if (R) { + const v = k.namedChunks.get(R) + if (v !== undefined) { + L = v + const k = P.chunks.size + P.chunks.delete(L) + N = P.chunks.size !== k + } + } else if (P.cacheGroup.reuseExistingChunk) { + e: for (const k of P.chunks) { + if (me.getNumberOfChunkModules(k) !== P.modules.size) { + continue + } + if ( + P.chunks.size > 1 && + me.getNumberOfEntryModules(k) > 0 + ) { + continue + } + for (const v of P.modules) { + if (!me.isModuleInChunk(v, k)) { + continue e + } + } + if (!L || !L.name) { + L = k + } else if (k.name && k.name.length < L.name.length) { + L = k + } else if ( + k.name && + k.name.length === L.name.length && + k.name < L.name + ) { + L = k + } + } + if (L) { + P.chunks.delete(L) + R = undefined + N = true + q = true + } + } + const ae = + P.cacheGroup._conditionalEnforce && + checkMinSize(P.sizes, P.cacheGroup.enforceSizeThreshold) + const le = new Set(P.chunks) + if ( + !ae && + (Number.isFinite(P.cacheGroup.maxInitialRequests) || + Number.isFinite(P.cacheGroup.maxAsyncRequests)) + ) { + for (const k of le) { + const v = k.isOnlyInitial() + ? P.cacheGroup.maxInitialRequests + : k.canBeInitial() + ? Math.min( + P.cacheGroup.maxInitialRequests, + P.cacheGroup.maxAsyncRequests + ) + : P.cacheGroup.maxAsyncRequests + if (isFinite(v) && getRequests(k) >= v) { + le.delete(k) + } + } + } + e: for (const k of le) { + for (const v of P.modules) { + if (me.isModuleInChunk(v, k)) continue e + } + le.delete(k) + } + if (le.size < P.chunks.size) { + if (N) le.add(L) + if (le.size >= P.cacheGroup.minChunks) { + const k = Array.from(le) + for (const v of P.modules) { + addModuleToChunksInfoMap( + P.cacheGroup, + P.cacheGroupIndex, + k, + getKey(le), + v + ) + } + } + continue + } + if ( + !ae && + P.cacheGroup._validateRemainingSize && + le.size === 1 + ) { + const [k] = le + let E = Object.create(null) + for (const v of me.getChunkModulesIterable(k)) { + if (!P.modules.has(v)) { + for (const k of v.getSourceTypes()) { + E[k] = (E[k] || 0) + v.size(k) + } + } + } + const R = getViolatingMinSizes( + E, + P.cacheGroup.minRemainingSize + ) + if (R !== undefined) { + const k = P.modules.size + removeModulesWithSourceType(P, R) + if (P.modules.size > 0 && P.modules.size !== k) { + et.set(v, P) + } + continue + } + } + if (L === undefined) { + L = k.addChunk(R) + } + for (const k of le) { + k.split(L) + } + L.chunkReason = + (L.chunkReason ? L.chunkReason + ', ' : '') + + (q ? 'reused as split chunk' : 'split chunk') + if (P.cacheGroup.key) { + L.chunkReason += ` (cache group: ${P.cacheGroup.key})` + } + if (R) { + L.chunkReason += ` (name: ${R})` + } + if (P.cacheGroup.filename) { + L.filenameTemplate = P.cacheGroup.filename + } + if (P.cacheGroup.idHint) { + L.idNameHints.add(P.cacheGroup.idHint) + } + if (!q) { + for (const v of P.modules) { + if (!v.chunkCondition(L, k)) continue + me.connectChunkAndModule(L, v) + for (const k of le) { + me.disconnectChunkAndModule(k, v) + } + } + } else { + for (const k of P.modules) { + for (const v of le) { + me.disconnectChunkAndModule(v, k) + } + } + } + if ( + Object.keys(P.cacheGroup.maxAsyncSize).length > 0 || + Object.keys(P.cacheGroup.maxInitialSize).length > 0 + ) { + const k = nt.get(L) + nt.set(L, { + minSize: k + ? combineSizes( + k.minSize, + P.cacheGroup._minSizeForMaxSize, + Math.max + ) + : P.cacheGroup.minSize, + maxAsyncSize: k + ? combineSizes( + k.maxAsyncSize, + P.cacheGroup.maxAsyncSize, + Math.min + ) + : P.cacheGroup.maxAsyncSize, + maxInitialSize: k + ? combineSizes( + k.maxInitialSize, + P.cacheGroup.maxInitialSize, + Math.min + ) + : P.cacheGroup.maxInitialSize, + automaticNameDelimiter: + P.cacheGroup.automaticNameDelimiter, + keys: k + ? k.keys.concat(P.cacheGroup.key) + : [P.cacheGroup.key], + }) + } + for (const [k, v] of et) { + if (isOverlap(v.chunks, le)) { + let E = false + for (const k of P.modules) { + if (v.modules.has(k)) { + v.modules.delete(k) + for (const E of k.getSourceTypes()) { + v.sizes[E] -= k.size(E) + } + E = true + } + } + if (E) { + if (v.modules.size === 0) { + et.delete(k) + continue + } + if ( + removeMinSizeViolatingModules(v) || + !checkMinSizeReduction( + v.sizes, + v.cacheGroup.minSizeReduction, + v.chunks.size + ) + ) { + et.delete(k) + continue + } + } + } + } + } + E.timeEnd('queue') + E.time('maxSize') + const st = new Set() + const { outputOptions: rt } = k + const { fallbackCacheGroup: ot } = this.options + for (const E of Array.from(k.chunks)) { + const P = nt.get(E) + const { + minSize: R, + maxAsyncSize: L, + maxInitialSize: q, + automaticNameDelimiter: ae, + } = P || ot + if (!P && !ot.chunksFilter(E)) continue + let le + if (E.isOnlyInitial()) { + le = q + } else if (E.canBeInitial()) { + le = combineSizes(L, q, Math.min) + } else { + le = L + } + if (Object.keys(le).length === 0) { + continue + } + for (const v of Object.keys(le)) { + const E = le[v] + const L = R[v] + if (typeof L === 'number' && L > E) { + const v = P && P.keys + const R = `${v && v.join()} ${L} ${E}` + if (!st.has(R)) { + st.add(R) + k.warnings.push(new Me(v, L, E)) + } + } + } + const pe = Te({ + minSize: R, + maxSize: mapObject(le, (k, v) => { + const E = R[v] + return typeof E === 'number' ? Math.max(k, E) : k + }), + items: me.getChunkModulesIterable(E), + getKey(k) { + const E = je.get(k) + if (E !== undefined) return E + const P = v(k.identifier()) + const R = k.nameForCondition && k.nameForCondition() + const L = R ? v(R) : P.replace(/^.*!|\?[^?!]*$/g, '') + const q = L + ae + hashFilename(P, rt) + const le = N(q) + je.set(k, le) + return le + }, + getSize(k) { + const v = Object.create(null) + for (const E of k.getSourceTypes()) { + v[E] = k.size(E) + } + return v + }, + }) + if (pe.length <= 1) { + continue + } + for (let v = 0; v < pe.length; v++) { + const P = pe[v] + const R = this.options.hidePathInfo + ? hashFilename(P.key, rt) + : P.key + let L = E.name ? E.name + ae + R : null + if (L && L.length > 100) { + L = L.slice(0, 100) + ae + hashFilename(L, rt) + } + if (v !== pe.length - 1) { + const v = k.addChunk(L) + E.split(v) + v.chunkReason = E.chunkReason + for (const R of P.items) { + if (!R.chunkCondition(v, k)) { + continue + } + me.connectChunkAndModule(v, R) + me.disconnectChunkAndModule(E, R) + } + } else { + E.name = L + } + } + } + E.timeEnd('maxSize') + } + ) + }) + } + } + }, + 63601: function (k, v, E) { + 'use strict' + const { formatSize: P } = E(3386) + const R = E(71572) + k.exports = class AssetsOverSizeLimitWarning extends R { + constructor(k, v) { + const E = k.map((k) => `\n ${k.name} (${P(k.size)})`).join('') + super( + `asset size limit: The following asset(s) exceed the recommended size limit (${P( + v + )}).\nThis can impact web performance.\nAssets: ${E}` + ) + this.name = 'AssetsOverSizeLimitWarning' + this.assets = k + } + } + }, + 1260: function (k, v, E) { + 'use strict' + const { formatSize: P } = E(3386) + const R = E(71572) + k.exports = class EntrypointsOverSizeLimitWarning extends R { + constructor(k, v) { + const E = k + .map( + (k) => + `\n ${k.name} (${P(k.size)})\n${k.files + .map((k) => ` ${k}`) + .join('\n')}` + ) + .join('') + super( + `entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${P( + v + )}). This can impact web performance.\nEntrypoints:${E}\n` + ) + this.name = 'EntrypointsOverSizeLimitWarning' + this.entrypoints = k + } + } + }, + 38234: function (k, v, E) { + 'use strict' + const P = E(71572) + k.exports = class NoAsyncChunksWarning extends P { + 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' + } + } + }, + 338: function (k, v, E) { + 'use strict' + const { find: P } = E(59959) + const R = E(63601) + const L = E(1260) + const N = E(38234) + const q = new WeakSet() + const excludeSourceMap = (k, v, E) => !E.development + k.exports = class SizeLimitsPlugin { + constructor(k) { + this.hints = k.hints + this.maxAssetSize = k.maxAssetSize + this.maxEntrypointSize = k.maxEntrypointSize + this.assetFilter = k.assetFilter + } + static isOverSizeLimit(k) { + return q.has(k) + } + apply(k) { + const v = this.maxEntrypointSize + const E = this.maxAssetSize + const ae = this.hints + const le = this.assetFilter || excludeSourceMap + k.hooks.afterEmit.tap('SizeLimitsPlugin', (k) => { + const pe = [] + const getEntrypointSize = (v) => { + let E = 0 + for (const P of v.getFiles()) { + const v = k.getAsset(P) + if (v && le(v.name, v.source, v.info) && v.source) { + E += v.info.size || v.source.size() + } + } + return E + } + const me = [] + for (const { name: v, source: P, info: R } of k.getAssets()) { + if (!le(v, P, R) || !P) { + continue + } + const k = R.size || P.size() + if (k > E) { + me.push({ name: v, size: k }) + q.add(P) + } + } + const fileFilter = (v) => { + const E = k.getAsset(v) + return E && le(E.name, E.source, E.info) + } + const ye = [] + for (const [E, P] of k.entrypoints) { + const k = getEntrypointSize(P) + if (k > v) { + ye.push({ + name: E, + size: k, + files: P.getFiles().filter(fileFilter), + }) + q.add(P) + } + } + if (ae) { + if (me.length > 0) { + pe.push(new R(me, E)) + } + if (ye.length > 0) { + pe.push(new L(ye, v)) + } + if (pe.length > 0) { + const v = P(k.chunks, (k) => !k.canBeInitial()) + if (!v) { + pe.push(new N()) + } + if (ae === 'error') { + k.errors.push(...pe) + } else { + k.warnings.push(...pe) + } + } + } + }) + } + } + }, + 64764: function (k, v, E) { + 'use strict' + const P = E(27462) + const R = E(95041) + class ChunkPrefetchFunctionRuntimeModule extends P { + constructor(k, v, E) { + super(`chunk ${k} function`) + this.childType = k + this.runtimeFunction = v + this.runtimeHandlers = E + } + generate() { + const { runtimeFunction: k, runtimeHandlers: v } = this + const { runtimeTemplate: E } = this.compilation + return R.asString([ + `${v} = {};`, + `${k} = ${E.basicFunction('chunkId', [ + `Object.keys(${v}).map(${E.basicFunction( + 'key', + `${v}[key](chunkId);` + )});`, + ])}`, + ]) + } + } + k.exports = ChunkPrefetchFunctionRuntimeModule + }, + 37247: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(64764) + const L = E(18175) + const N = E(66594) + const q = E(68931) + class ChunkPrefetchPreloadPlugin { + apply(k) { + k.hooks.compilation.tap('ChunkPrefetchPreloadPlugin', (k) => { + k.hooks.additionalChunkRuntimeRequirements.tap( + 'ChunkPrefetchPreloadPlugin', + (v, E, { chunkGraph: R }) => { + if (R.getNumberOfEntryModules(v) === 0) return + const N = v.getChildrenOfTypeInOrder(R, 'prefetchOrder') + if (N) { + E.add(P.prefetchChunk) + E.add(P.onChunksLoaded) + k.addRuntimeModule(v, new L(N)) + } + } + ) + k.hooks.additionalTreeRuntimeRequirements.tap( + 'ChunkPrefetchPreloadPlugin', + (v, E, { chunkGraph: R }) => { + const L = v.getChildIdsByOrdersMap(R, false) + if (L.prefetch) { + E.add(P.prefetchChunk) + k.addRuntimeModule(v, new N(L.prefetch)) + } + if (L.preload) { + E.add(P.preloadChunk) + k.addRuntimeModule(v, new q(L.preload)) + } + } + ) + k.hooks.runtimeRequirementInTree + .for(P.prefetchChunk) + .tap('ChunkPrefetchPreloadPlugin', (v, E) => { + k.addRuntimeModule( + v, + new R('prefetch', P.prefetchChunk, P.prefetchChunkHandlers) + ) + E.add(P.prefetchChunkHandlers) + }) + k.hooks.runtimeRequirementInTree + .for(P.preloadChunk) + .tap('ChunkPrefetchPreloadPlugin', (v, E) => { + k.addRuntimeModule( + v, + new R('preload', P.preloadChunk, P.preloadChunkHandlers) + ) + E.add(P.preloadChunkHandlers) + }) + }) + } + } + k.exports = ChunkPrefetchPreloadPlugin + }, + 18175: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class ChunkPrefetchStartupRuntimeModule extends R { + constructor(k) { + super('startup prefetch', R.STAGE_TRIGGER) + this.startupChunks = k + } + generate() { + const { startupChunks: k, chunk: v } = this + const { runtimeTemplate: E } = this.compilation + return L.asString( + k.map( + ({ onChunks: k, chunks: R }) => + `${P.onChunksLoaded}(0, ${JSON.stringify( + k.filter((k) => k === v).map((k) => k.id) + )}, ${E.basicFunction( + '', + R.size < 3 + ? Array.from( + R, + (k) => `${P.prefetchChunk}(${JSON.stringify(k.id)});` + ) + : `${JSON.stringify(Array.from(R, (k) => k.id))}.map(${ + P.prefetchChunk + });` + )}, 5);` + ) + ) + } + } + k.exports = ChunkPrefetchStartupRuntimeModule + }, + 66594: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class ChunkPrefetchTriggerRuntimeModule extends R { + constructor(k) { + super(`chunk prefetch trigger`, R.STAGE_TRIGGER) + this.chunkMap = k + } + generate() { + const { chunkMap: k } = this + const { runtimeTemplate: v } = this.compilation + const E = [ + 'var chunks = chunkToChildrenMap[chunkId];', + `Array.isArray(chunks) && chunks.map(${P.prefetchChunk});`, + ] + return L.asString([ + L.asString([ + `var chunkToChildrenMap = ${JSON.stringify(k, null, '\t')};`, + `${P.ensureChunkHandlers}.prefetch = ${v.expressionFunction( + `Promise.all(promises).then(${v.basicFunction('', E)})`, + 'chunkId, promises' + )};`, + ]), + ]) + } + } + k.exports = ChunkPrefetchTriggerRuntimeModule + }, + 68931: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class ChunkPreloadTriggerRuntimeModule extends R { + constructor(k) { + super(`chunk preload trigger`, R.STAGE_TRIGGER) + this.chunkMap = k + } + generate() { + const { chunkMap: k } = this + const { runtimeTemplate: v } = this.compilation + const E = [ + 'var chunks = chunkToChildrenMap[chunkId];', + `Array.isArray(chunks) && chunks.map(${P.preloadChunk});`, + ] + return L.asString([ + L.asString([ + `var chunkToChildrenMap = ${JSON.stringify(k, null, '\t')};`, + `${P.ensureChunkHandlers}.preload = ${v.basicFunction( + 'chunkId', + E + )};`, + ]), + ]) + } + } + k.exports = ChunkPreloadTriggerRuntimeModule + }, + 4345: function (k) { + 'use strict' + class BasicEffectRulePlugin { + constructor(k, v) { + this.ruleProperty = k + this.effectType = v || k + } + apply(k) { + k.hooks.rule.tap('BasicEffectRulePlugin', (k, v, E, P, R) => { + if (E.has(this.ruleProperty)) { + E.delete(this.ruleProperty) + const k = v[this.ruleProperty] + P.effects.push({ type: this.effectType, value: k }) + } + }) + } + } + k.exports = BasicEffectRulePlugin + }, + 559: function (k) { + 'use strict' + class BasicMatcherRulePlugin { + constructor(k, v, E) { + this.ruleProperty = k + this.dataProperty = v || k + this.invert = E || false + } + apply(k) { + k.hooks.rule.tap('BasicMatcherRulePlugin', (v, E, P, R) => { + if (P.has(this.ruleProperty)) { + P.delete(this.ruleProperty) + const L = E[this.ruleProperty] + const N = k.compileCondition(`${v}.${this.ruleProperty}`, L) + const q = N.fn + R.conditions.push({ + property: this.dataProperty, + matchWhenEmpty: this.invert + ? !N.matchWhenEmpty + : N.matchWhenEmpty, + fn: this.invert ? (k) => !q(k) : q, + }) + } + }) + } + } + k.exports = BasicMatcherRulePlugin + }, + 73799: function (k) { + 'use strict' + class ObjectMatcherRulePlugin { + constructor(k, v) { + this.ruleProperty = k + this.dataProperty = v || k + } + apply(k) { + const { ruleProperty: v, dataProperty: E } = this + k.hooks.rule.tap('ObjectMatcherRulePlugin', (P, R, L, N) => { + if (L.has(v)) { + L.delete(v) + const q = R[v] + for (const R of Object.keys(q)) { + const L = R.split('.') + const ae = k.compileCondition(`${P}.${v}.${R}`, q[R]) + N.conditions.push({ + property: [E, ...L], + matchWhenEmpty: ae.matchWhenEmpty, + fn: ae.fn, + }) + } + } + }) + } + } + k.exports = ObjectMatcherRulePlugin + }, + 87536: function (k, v, E) { + 'use strict' + const { SyncHook: P } = E(79846) + class RuleSetCompiler { + constructor(k) { + this.hooks = Object.freeze({ + rule: new P([ + 'path', + 'rule', + 'unhandledProperties', + 'compiledRule', + 'references', + ]), + }) + if (k) { + for (const v of k) { + v.apply(this) + } + } + } + compile(k) { + const v = new Map() + const E = this.compileRules('ruleSet', k, v) + const execRule = (k, v, E) => { + for (const E of v.conditions) { + const v = E.property + if (Array.isArray(v)) { + let P = k + for (const k of v) { + if ( + P && + typeof P === 'object' && + Object.prototype.hasOwnProperty.call(P, k) + ) { + P = P[k] + } else { + P = undefined + break + } + } + if (P !== undefined) { + if (!E.fn(P)) return false + continue + } + } else if (v in k) { + const P = k[v] + if (P !== undefined) { + if (!E.fn(P)) return false + continue + } + } + if (!E.matchWhenEmpty) { + return false + } + } + for (const P of v.effects) { + if (typeof P === 'function') { + const v = P(k) + for (const k of v) { + E.push(k) + } + } else { + E.push(P) + } + } + if (v.rules) { + for (const P of v.rules) { + execRule(k, P, E) + } + } + if (v.oneOf) { + for (const P of v.oneOf) { + if (execRule(k, P, E)) { + break + } + } + } + return true + } + return { + references: v, + exec: (k) => { + const v = [] + for (const P of E) { + execRule(k, P, v) + } + return v + }, + } + } + compileRules(k, v, E) { + return v.map((v, P) => this.compileRule(`${k}[${P}]`, v, E)) + } + compileRule(k, v, E) { + const P = new Set(Object.keys(v).filter((k) => v[k] !== undefined)) + const R = { + conditions: [], + effects: [], + rules: undefined, + oneOf: undefined, + } + this.hooks.rule.call(k, v, P, R, E) + if (P.has('rules')) { + P.delete('rules') + const L = v.rules + if (!Array.isArray(L)) + throw this.error(k, L, 'Rule.rules must be an array of rules') + R.rules = this.compileRules(`${k}.rules`, L, E) + } + if (P.has('oneOf')) { + P.delete('oneOf') + const L = v.oneOf + if (!Array.isArray(L)) + throw this.error(k, L, 'Rule.oneOf must be an array of rules') + R.oneOf = this.compileRules(`${k}.oneOf`, L, E) + } + if (P.size > 0) { + throw this.error( + k, + v, + `Properties ${Array.from(P).join(', ')} are unknown` + ) + } + return R + } + compileCondition(k, v) { + if (v === '') { + return { matchWhenEmpty: true, fn: (k) => k === '' } + } + if (!v) { + throw this.error(k, v, 'Expected condition but got falsy value') + } + if (typeof v === 'string') { + return { + matchWhenEmpty: v.length === 0, + fn: (k) => typeof k === 'string' && k.startsWith(v), + } + } + if (typeof v === 'function') { + try { + return { matchWhenEmpty: v(''), fn: v } + } catch (E) { + throw this.error( + k, + v, + 'Evaluation of condition function threw error' + ) + } + } + if (v instanceof RegExp) { + return { + matchWhenEmpty: v.test(''), + fn: (k) => typeof k === 'string' && v.test(k), + } + } + if (Array.isArray(v)) { + const E = v.map((v, E) => this.compileCondition(`${k}[${E}]`, v)) + return this.combineConditionsOr(E) + } + if (typeof v !== 'object') { + throw this.error( + k, + v, + `Unexpected ${typeof v} when condition was expected` + ) + } + const E = [] + for (const P of Object.keys(v)) { + const R = v[P] + switch (P) { + case 'or': + if (R) { + if (!Array.isArray(R)) { + throw this.error( + `${k}.or`, + v.and, + 'Expected array of conditions' + ) + } + E.push(this.compileCondition(`${k}.or`, R)) + } + break + case 'and': + if (R) { + if (!Array.isArray(R)) { + throw this.error( + `${k}.and`, + v.and, + 'Expected array of conditions' + ) + } + let P = 0 + for (const v of R) { + E.push(this.compileCondition(`${k}.and[${P}]`, v)) + P++ + } + } + break + case 'not': + if (R) { + const v = this.compileCondition(`${k}.not`, R) + const P = v.fn + E.push({ + matchWhenEmpty: !v.matchWhenEmpty, + fn: (k) => !P(k), + }) + } + break + default: + throw this.error( + `${k}.${P}`, + v[P], + `Unexpected property ${P} in condition` + ) + } + } + if (E.length === 0) { + throw this.error(k, v, 'Expected condition, but got empty thing') + } + return this.combineConditionsAnd(E) + } + combineConditionsOr(k) { + if (k.length === 0) { + return { matchWhenEmpty: false, fn: () => false } + } else if (k.length === 1) { + return k[0] + } else { + return { + matchWhenEmpty: k.some((k) => k.matchWhenEmpty), + fn: (v) => k.some((k) => k.fn(v)), + } + } + } + combineConditionsAnd(k) { + if (k.length === 0) { + return { matchWhenEmpty: false, fn: () => false } + } else if (k.length === 1) { + return k[0] + } else { + return { + matchWhenEmpty: k.every((k) => k.matchWhenEmpty), + fn: (v) => k.every((k) => k.fn(v)), + } + } + } + error(k, v, E) { + return new Error(`Compiling RuleSet failed: ${E} (at ${k}: ${v})`) + } + } + k.exports = RuleSetCompiler + }, + 53998: function (k, v, E) { + 'use strict' + const P = E(73837) + class UseEffectRulePlugin { + apply(k) { + k.hooks.rule.tap('UseEffectRulePlugin', (v, E, R, L, N) => { + const conflictWith = (P, L) => { + if (R.has(P)) { + throw k.error( + `${v}.${P}`, + E[P], + `A Rule must not have a '${P}' property when it has a '${L}' property` + ) + } + } + if (R.has('use')) { + R.delete('use') + R.delete('enforce') + conflictWith('loader', 'use') + conflictWith('options', 'use') + const k = E.use + const q = E.enforce + const ae = q ? `use-${q}` : 'use' + const useToEffect = (k, v, E) => { + if (typeof E === 'function') { + return (v) => useToEffectsWithoutIdent(k, E(v)) + } else { + return useToEffectRaw(k, v, E) + } + } + const useToEffectRaw = (k, v, E) => { + if (typeof E === 'string') { + return { + type: ae, + value: { loader: E, options: undefined, ident: undefined }, + } + } else { + const R = E.loader + const L = E.options + let ae = E.ident + if (L && typeof L === 'object') { + if (!ae) ae = v + N.set(ae, L) + } + if (typeof L === 'string') { + P.deprecate( + () => {}, + `Using a string as loader options is deprecated (${k}.options)`, + 'DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING' + )() + } + return { + type: q ? `use-${q}` : 'use', + value: { loader: R, options: L, ident: ae }, + } + } + } + const useToEffectsWithoutIdent = (k, v) => { + if (Array.isArray(v)) { + return v.map((v, E) => + useToEffectRaw(`${k}[${E}]`, '[[missing ident]]', v) + ) + } + return [useToEffectRaw(k, '[[missing ident]]', v)] + } + const useToEffects = (k, v) => { + if (Array.isArray(v)) { + return v.map((v, E) => { + const P = `${k}[${E}]` + return useToEffect(P, P, v) + }) + } + return [useToEffect(k, k, v)] + } + if (typeof k === 'function') { + L.effects.push((E) => + useToEffectsWithoutIdent(`${v}.use`, k(E)) + ) + } else { + for (const E of useToEffects(`${v}.use`, k)) { + L.effects.push(E) + } + } + } + if (R.has('loader')) { + R.delete('loader') + R.delete('options') + R.delete('enforce') + const q = E.loader + const ae = E.options + const le = E.enforce + if (q.includes('!')) { + throw k.error( + `${v}.loader`, + q, + "Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays" + ) + } + if (q.includes('?')) { + throw k.error( + `${v}.loader`, + q, + "Query arguments on 'loader' has been removed in favor of the 'options' property" + ) + } + if (typeof ae === 'string') { + P.deprecate( + () => {}, + `Using a string as loader options is deprecated (${v}.options)`, + 'DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING' + )() + } + const pe = ae && typeof ae === 'object' ? v : undefined + N.set(pe, ae) + L.effects.push({ + type: le ? `use-${le}` : 'use', + value: { loader: q, options: ae, ident: pe }, + }) + } + }) + } + useItemToEffects(k, v) {} + } + k.exports = UseEffectRulePlugin + }, + 43120: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(95041) + const L = E(25945) + class AsyncModuleRuntimeModule extends L { + constructor() { + super('async module') + } + generate() { + const { runtimeTemplate: k } = this.compilation + const v = P.asyncModule + return R.asString([ + 'var webpackQueues = typeof Symbol === "function" ? Symbol("webpack queues") : "__webpack_queues__";', + `var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "${P.exports}";`, + 'var webpackError = typeof Symbol === "function" ? Symbol("webpack error") : "__webpack_error__";', + `var resolveQueue = ${k.basicFunction('queue', [ + 'if(queue && !queue.d) {', + R.indent([ + 'queue.d = 1;', + `queue.forEach(${k.expressionFunction('fn.r--', 'fn')});`, + `queue.forEach(${k.expressionFunction( + 'fn.r-- ? fn.r++ : fn()', + 'fn' + )});`, + ]), + '}', + ])}`, + `var wrapDeps = ${k.returningFunction( + `deps.map(${k.basicFunction('dep', [ + 'if(dep !== null && typeof dep === "object") {', + R.indent([ + 'if(dep[webpackQueues]) return dep;', + 'if(dep.then) {', + R.indent([ + 'var queue = [];', + 'queue.d = 0;', + `dep.then(${k.basicFunction('r', [ + 'obj[webpackExports] = r;', + 'resolveQueue(queue);', + ])}, ${k.basicFunction('e', [ + 'obj[webpackError] = e;', + 'resolveQueue(queue);', + ])});`, + 'var obj = {};', + `obj[webpackQueues] = ${k.expressionFunction( + `fn(queue)`, + 'fn' + )};`, + 'return obj;', + ]), + '}', + ]), + '}', + 'var ret = {};', + `ret[webpackQueues] = ${k.emptyFunction()};`, + 'ret[webpackExports] = dep;', + 'return ret;', + ])})`, + 'deps' + )};`, + `${v} = ${k.basicFunction('module, body, hasAwait', [ + 'var queue;', + 'hasAwait && ((queue = []).d = 1);', + 'var depQueues = new Set();', + 'var exports = module.exports;', + 'var currentDeps;', + 'var outerResolve;', + 'var reject;', + `var promise = new Promise(${k.basicFunction('resolve, rej', [ + 'reject = rej;', + 'outerResolve = resolve;', + ])});`, + 'promise[webpackExports] = exports;', + `promise[webpackQueues] = ${k.expressionFunction( + `queue && fn(queue), depQueues.forEach(fn), promise["catch"](${k.emptyFunction()})`, + 'fn' + )};`, + 'module.exports = promise;', + `body(${k.basicFunction('deps', [ + 'currentDeps = wrapDeps(deps);', + 'var fn;', + `var getResult = ${k.returningFunction( + `currentDeps.map(${k.basicFunction('d', [ + 'if(d[webpackError]) throw d[webpackError];', + 'return d[webpackExports];', + ])})` + )}`, + `var promise = new Promise(${k.basicFunction('resolve', [ + `fn = ${k.expressionFunction('resolve(getResult)', '')};`, + 'fn.r = 0;', + `var fnQueue = ${k.expressionFunction( + 'q !== queue && !depQueues.has(q) && (depQueues.add(q), q && !q.d && (fn.r++, q.push(fn)))', + 'q' + )};`, + `currentDeps.map(${k.expressionFunction( + 'dep[webpackQueues](fnQueue)', + 'dep' + )});`, + ])});`, + 'return fn.r ? promise : getResult();', + ])}, ${k.expressionFunction( + '(err ? reject(promise[webpackError] = err) : outerResolve(exports)), resolveQueue(queue)', + 'err' + )});`, + 'queue && (queue.d = 0);', + ])};`, + ]) + } + } + k.exports = AsyncModuleRuntimeModule + }, + 30982: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + const N = E(89168) + const { getUndoPath: q } = E(65315) + class AutoPublicPathRuntimeModule extends R { + constructor() { + super('publicPath', R.STAGE_BASIC) + } + generate() { + const { compilation: k } = this + const { scriptType: v, importMetaName: E, path: R } = k.outputOptions + const ae = k.getPath( + N.getChunkFilenameTemplate(this.chunk, k.outputOptions), + { chunk: this.chunk, contentHashType: 'javascript' } + ) + const le = q(ae, R, false) + return L.asString([ + 'var scriptUrl;', + v === 'module' + ? `if (typeof ${E}.url === "string") scriptUrl = ${E}.url` + : L.asString([ + `if (${P.global}.importScripts) scriptUrl = ${P.global}.location + "";`, + `var document = ${P.global}.document;`, + 'if (!scriptUrl && document) {', + L.indent([ + `if (document.currentScript)`, + L.indent(`scriptUrl = document.currentScript.src;`), + 'if (!scriptUrl) {', + L.indent([ + 'var scripts = document.getElementsByTagName("script");', + 'if(scripts.length) {', + L.indent([ + 'var i = scripts.length - 1;', + 'while (i > -1 && !scriptUrl) scriptUrl = scripts[i--].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(/\\/[^\\/]+$/, "/");', + !le + ? `${P.publicPath} = scriptUrl;` + : `${P.publicPath} = scriptUrl + ${JSON.stringify(le)};`, + ]) + } + } + k.exports = AutoPublicPathRuntimeModule + }, + 95308: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + class BaseUriRuntimeModule extends R { + constructor() { + super('base uri', R.STAGE_ATTACH) + } + generate() { + const { chunk: k } = this + const v = k.getEntryOptions() + return `${P.baseURI} = ${ + v.baseUri === undefined ? 'undefined' : JSON.stringify(v.baseUri) + };` + } + } + k.exports = BaseUriRuntimeModule + }, + 32861: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + class ChunkNameRuntimeModule extends R { + constructor(k) { + super('chunkName') + this.chunkName = k + } + generate() { + return `${P.chunkName} = ${JSON.stringify(this.chunkName)};` + } + } + k.exports = ChunkNameRuntimeModule + }, + 75916: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(95041) + const L = E(25945) + class CompatGetDefaultExportRuntimeModule extends L { + constructor() { + super('compat get default export') + } + generate() { + const { runtimeTemplate: k } = this.compilation + const v = P.compatGetDefaultExport + return R.asString([ + '// getDefaultExport function for compatibility with non-harmony modules', + `${v} = ${k.basicFunction('module', [ + 'var getter = module && module.__esModule ?', + R.indent([ + `${k.returningFunction("module['default']")} :`, + `${k.returningFunction('module')};`, + ]), + `${P.definePropertyGetters}(getter, { a: getter });`, + 'return getter;', + ])};`, + ]) + } + } + k.exports = CompatGetDefaultExportRuntimeModule + }, + 9518: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + class CompatRuntimeModule extends R { + constructor() { + super('compat', R.STAGE_ATTACH) + this.fullHash = true + } + generate() { + const { chunkGraph: k, chunk: v, compilation: E } = this + const { + runtimeTemplate: R, + mainTemplate: L, + moduleTemplates: N, + dependencyTemplates: q, + } = E + const ae = L.hooks.bootstrap.call( + '', + v, + E.hash || 'XXXX', + N.javascript, + q + ) + const le = L.hooks.localVars.call('', v, E.hash || 'XXXX') + const pe = L.hooks.requireExtensions.call('', v, E.hash || 'XXXX') + const me = k.getTreeRuntimeRequirements(v) + let ye = '' + if (me.has(P.ensureChunk)) { + const k = L.hooks.requireEnsure.call( + '', + v, + E.hash || 'XXXX', + 'chunkId' + ) + if (k) { + ye = `${P.ensureChunkHandlers}.compat = ${R.basicFunction( + 'chunkId, promises', + k + )};` + } + } + return [ae, le, ye, pe].filter(Boolean).join('\n') + } + shouldIsolate() { + return false + } + } + k.exports = CompatRuntimeModule + }, + 23466: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(95041) + const L = E(25945) + class CreateFakeNamespaceObjectRuntimeModule extends L { + constructor() { + super('create fake namespace object') + } + generate() { + const { runtimeTemplate: k } = this.compilation + const v = P.createFakeNamespaceObject + return R.asString([ + `var getProto = Object.getPrototypeOf ? ${k.returningFunction( + 'Object.getPrototypeOf(obj)', + 'obj' + )} : ${k.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', + `${v} = function(value, mode) {`, + R.indent([ + `if(mode & 1) value = this(value);`, + `if(mode & 8) return value;`, + "if(typeof value === 'object' && value) {", + R.indent([ + 'if((mode & 4) && value.__esModule) return value;', + "if((mode & 16) && typeof value.then === 'function') return value;", + ]), + '}', + 'var ns = Object.create(null);', + `${P.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)) {", + R.indent([ + `Object.getOwnPropertyNames(current).forEach(${k.expressionFunction( + `def[key] = ${k.returningFunction('value[key]', '')}`, + 'key' + )});`, + ]), + '}', + `def['default'] = ${k.returningFunction('value', '')};`, + `${P.definePropertyGetters}(ns, def);`, + 'return ns;', + ]), + '};', + ]) + } + } + k.exports = CreateFakeNamespaceObjectRuntimeModule + }, + 39358: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(95041) + const L = E(25945) + class CreateScriptRuntimeModule extends L { + constructor() { + super('trusted types script') + } + generate() { + const { compilation: k } = this + const { runtimeTemplate: v, outputOptions: E } = k + const { trustedTypes: L } = E + const N = P.createScript + return R.asString( + `${N} = ${v.returningFunction( + L + ? `${P.getTrustedTypesPolicy}().createScript(script)` + : 'script', + 'script' + )};` + ) + } + } + k.exports = CreateScriptRuntimeModule + }, + 16797: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(95041) + const L = E(25945) + class CreateScriptUrlRuntimeModule extends L { + constructor() { + super('trusted types script url') + } + generate() { + const { compilation: k } = this + const { runtimeTemplate: v, outputOptions: E } = k + const { trustedTypes: L } = E + const N = P.createScriptUrl + return R.asString( + `${N} = ${v.returningFunction( + L ? `${P.getTrustedTypesPolicy}().createScriptURL(url)` : 'url', + 'url' + )};` + ) + } + } + k.exports = CreateScriptUrlRuntimeModule + }, + 71662: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(95041) + const L = E(25945) + class DefinePropertyGettersRuntimeModule extends L { + constructor() { + super('define property getters') + } + generate() { + const { runtimeTemplate: k } = this.compilation + const v = P.definePropertyGetters + return R.asString([ + '// define getter functions for harmony exports', + `${v} = ${k.basicFunction('exports, definition', [ + `for(var key in definition) {`, + R.indent([ + `if(${P.hasOwnProperty}(definition, key) && !${P.hasOwnProperty}(exports, key)) {`, + R.indent([ + 'Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });', + ]), + '}', + ]), + '}', + ])};`, + ]) + } + } + k.exports = DefinePropertyGettersRuntimeModule + }, + 33442: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class EnsureChunkRuntimeModule extends R { + constructor(k) { + super('ensure chunk') + this.runtimeRequirements = k + } + generate() { + const { runtimeTemplate: k } = this.compilation + if (this.runtimeRequirements.has(P.ensureChunkHandlers)) { + const v = P.ensureChunkHandlers + return L.asString([ + `${v} = {};`, + '// This file contains only the entry chunk.', + '// The chunk loading function for additional chunks', + `${P.ensureChunk} = ${k.basicFunction('chunkId', [ + `return Promise.all(Object.keys(${v}).reduce(${k.basicFunction( + 'promises, key', + [`${v}[key](chunkId, promises);`, 'return promises;'] + )}, []));`, + ])};`, + ]) + } else { + return L.asString([ + '// The chunk loading function for additional chunks', + '// Since all referenced chunks are already included', + '// in this file, this function is empty here.', + `${P.ensureChunk} = ${k.returningFunction('Promise.resolve()')};`, + ]) + } + } + } + k.exports = EnsureChunkRuntimeModule + }, + 10582: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + const { first: N } = E(59959) + class GetChunkFilenameRuntimeModule extends R { + constructor(k, v, E, P, R) { + super(`get ${v} chunk filename`) + this.contentType = k + this.global = E + this.getFilenameForChunk = P + this.allChunks = R + this.dependentHash = true + } + generate() { + const { + global: k, + chunk: v, + chunkGraph: E, + contentType: R, + getFilenameForChunk: q, + allChunks: ae, + compilation: le, + } = this + const { runtimeTemplate: pe } = le + const me = new Map() + let ye = 0 + let _e + const addChunk = (k) => { + const v = q(k) + if (v) { + let E = me.get(v) + if (E === undefined) { + me.set(v, (E = new Set())) + } + E.add(k) + if (typeof v === 'string') { + if (E.size < ye) return + if (E.size === ye) { + if (v.length < _e.length) { + return + } + if (v.length === _e.length) { + if (v < _e) { + return + } + } + } + ye = E.size + _e = v + } + } + } + const Ie = [] + if (ae) { + Ie.push('all chunks') + for (const k of v.getAllReferencedChunks()) { + addChunk(k) + } + } else { + Ie.push('async chunks') + for (const k of v.getAllAsyncChunks()) { + addChunk(k) + } + const k = E.getTreeRuntimeRequirements(v).has( + P.ensureChunkIncludeEntries + ) + if (k) { + Ie.push('sibling chunks for the entrypoint') + for (const k of E.getChunkEntryDependentChunksIterable(v)) { + addChunk(k) + } + } + } + for (const k of v.getAllReferencedAsyncEntrypoints()) { + addChunk(k.chunks[k.chunks.length - 1]) + } + const Me = new Map() + const Te = new Set() + const addStaticUrl = (k, v) => { + const unquotedStringify = (v) => { + const E = `${v}` + if (E.length >= 5 && E === `${k.id}`) { + return '" + chunkId + "' + } + const P = JSON.stringify(E) + return P.slice(1, P.length - 1) + } + const unquotedStringifyWithLength = (k) => (v) => + unquotedStringify(`${k}`.slice(0, v)) + const E = + typeof v === 'function' + ? JSON.stringify(v({ chunk: k, contentHashType: R })) + : JSON.stringify(v) + const L = le.getPath(E, { + hash: `" + ${P.getFullHash}() + "`, + hashWithLength: (k) => + `" + ${P.getFullHash}().slice(0, ${k}) + "`, + chunk: { + id: unquotedStringify(k.id), + hash: unquotedStringify(k.renderedHash), + hashWithLength: unquotedStringifyWithLength(k.renderedHash), + name: unquotedStringify(k.name || k.id), + contentHash: { [R]: unquotedStringify(k.contentHash[R]) }, + contentHashWithLength: { + [R]: unquotedStringifyWithLength(k.contentHash[R]), + }, + }, + contentHashType: R, + }) + let N = Me.get(L) + if (N === undefined) { + Me.set(L, (N = new Set())) + } + N.add(k.id) + } + for (const [k, v] of me) { + if (k !== _e) { + for (const E of v) addStaticUrl(E, k) + } else { + for (const k of v) Te.add(k) + } + } + const createMap = (k) => { + const v = {} + let E = false + let P + let R = 0 + for (const L of Te) { + const N = k(L) + if (N === L.id) { + E = true + } else { + v[L.id] = N + P = L.id + R++ + } + } + if (R === 0) return 'chunkId' + if (R === 1) { + return E + ? `(chunkId === ${JSON.stringify(P)} ? ${JSON.stringify( + v[P] + )} : chunkId)` + : JSON.stringify(v[P]) + } + return E + ? `(${JSON.stringify(v)}[chunkId] || chunkId)` + : `${JSON.stringify(v)}[chunkId]` + } + const mapExpr = (k) => `" + ${createMap(k)} + "` + const mapExprWithLength = (k) => (v) => + `" + ${createMap((E) => `${k(E)}`.slice(0, v))} + "` + const je = + _e && + le.getPath(JSON.stringify(_e), { + hash: `" + ${P.getFullHash}() + "`, + hashWithLength: (k) => + `" + ${P.getFullHash}().slice(0, ${k}) + "`, + chunk: { + id: `" + chunkId + "`, + hash: mapExpr((k) => k.renderedHash), + hashWithLength: mapExprWithLength((k) => k.renderedHash), + name: mapExpr((k) => k.name || k.id), + contentHash: { [R]: mapExpr((k) => k.contentHash[R]) }, + contentHashWithLength: { + [R]: mapExprWithLength((k) => k.contentHash[R]), + }, + }, + contentHashType: R, + }) + return L.asString([ + `// This function allow to reference ${Ie.join(' and ')}`, + `${k} = ${pe.basicFunction( + 'chunkId', + Me.size > 0 + ? [ + '// return url for filenames not based on template', + L.asString( + Array.from(Me, ([k, v]) => { + const E = + v.size === 1 + ? `chunkId === ${JSON.stringify(N(v))}` + : `{${Array.from( + v, + (k) => `${JSON.stringify(k)}:1` + ).join(',')}}[chunkId]` + return `if (${E}) return ${k};` + }) + ), + '// return url for filenames based on template', + `return ${je};`, + ] + : [ + '// return url for filenames based on template', + `return ${je};`, + ] + )};`, + ]) + } + } + k.exports = GetChunkFilenameRuntimeModule + }, + 5e3: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + class GetFullHashRuntimeModule extends R { + constructor() { + super('getFullHash') + this.fullHash = true + } + generate() { + const { runtimeTemplate: k } = this.compilation + return `${P.getFullHash} = ${k.returningFunction( + JSON.stringify(this.compilation.hash || 'XXXX') + )}` + } + } + k.exports = GetFullHashRuntimeModule + }, + 21794: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class GetMainFilenameRuntimeModule extends R { + constructor(k, v, E) { + super(`get ${k} filename`) + this.global = v + this.filename = E + } + generate() { + const { global: k, filename: v, compilation: E, chunk: R } = this + const { runtimeTemplate: N } = E + const q = E.getPath(JSON.stringify(v), { + hash: `" + ${P.getFullHash}() + "`, + hashWithLength: (k) => `" + ${P.getFullHash}().slice(0, ${k}) + "`, + chunk: R, + runtime: R.runtime, + }) + return L.asString([`${k} = ${N.returningFunction(q)};`]) + } + } + k.exports = GetMainFilenameRuntimeModule + }, + 66537: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(95041) + const L = E(25945) + class GetTrustedTypesPolicyRuntimeModule extends L { + constructor(k) { + super('trusted types policy') + this.runtimeRequirements = k + } + generate() { + const { compilation: k } = this + const { runtimeTemplate: v, outputOptions: E } = k + const { trustedTypes: L } = E + const N = P.getTrustedTypesPolicy + const q = L ? L.onPolicyCreationFailure === 'continue' : false + return R.asString([ + 'var policy;', + `${N} = ${v.basicFunction('', [ + "// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.", + 'if (policy === undefined) {', + R.indent([ + 'policy = {', + R.indent( + [ + ...(this.runtimeRequirements.has(P.createScript) + ? [ + `createScript: ${v.returningFunction( + 'script', + 'script' + )}`, + ] + : []), + ...(this.runtimeRequirements.has(P.createScriptUrl) + ? [ + `createScriptURL: ${v.returningFunction( + 'url', + 'url' + )}`, + ] + : []), + ].join(',\n') + ), + '};', + ...(L + ? [ + 'if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) {', + R.indent([ + ...(q ? ['try {'] : []), + ...[ + `policy = trustedTypes.createPolicy(${JSON.stringify( + L.policyName + )}, policy);`, + ].map((k) => (q ? R.indent(k) : k)), + ...(q + ? [ + '} catch (e) {', + R.indent([ + `console.warn('Could not create trusted-types policy ${JSON.stringify( + L.policyName + )}');`, + ]), + '}', + ] + : []), + ]), + '}', + ] + : []), + ]), + '}', + 'return policy;', + ])};`, + ]) + } + } + k.exports = GetTrustedTypesPolicyRuntimeModule + }, + 75013: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class GlobalRuntimeModule extends R { + constructor() { + super('global') + } + generate() { + return L.asString([ + `${P.global} = (function() {`, + L.indent([ + "if (typeof globalThis === 'object') return globalThis;", + 'try {', + L.indent("return this || new Function('return this')();"), + '} catch (e) {', + L.indent("if (typeof window === 'object') return window;"), + '}', + ]), + '})();', + ]) + } + } + k.exports = GlobalRuntimeModule + }, + 43840: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class HasOwnPropertyRuntimeModule extends R { + constructor() { + super('hasOwnProperty shorthand') + } + generate() { + const { runtimeTemplate: k } = this.compilation + return L.asString([ + `${P.hasOwnProperty} = ${k.returningFunction( + 'Object.prototype.hasOwnProperty.call(obj, prop)', + 'obj, prop' + )}`, + ]) + } + } + k.exports = HasOwnPropertyRuntimeModule + }, + 25945: function (k, v, E) { + 'use strict' + const P = E(27462) + class HelperRuntimeModule extends P { + constructor(k) { + super(k) + } + } + k.exports = HelperRuntimeModule + }, + 42159: function (k, v, E) { + 'use strict' + const { SyncWaterfallHook: P } = E(79846) + const R = E(27747) + const L = E(56727) + const N = E(95041) + const q = E(25945) + const ae = new WeakMap() + class LoadScriptRuntimeModule extends q { + static getCompilationHooks(k) { + if (!(k instanceof R)) { + throw new TypeError( + "The 'compilation' argument must be an instance of Compilation" + ) + } + let v = ae.get(k) + if (v === undefined) { + v = { createScript: new P(['source', 'chunk']) } + ae.set(k, v) + } + return v + } + constructor(k) { + super('load script') + this._withCreateScriptUrl = k + } + generate() { + const { compilation: k } = this + const { runtimeTemplate: v, outputOptions: E } = k + const { + scriptType: P, + chunkLoadTimeout: R, + crossOriginLoading: q, + uniqueName: ae, + charset: le, + } = E + const pe = L.loadScript + const { createScript: me } = + LoadScriptRuntimeModule.getCompilationHooks(k) + const ye = N.asString([ + "script = document.createElement('script');", + P ? `script.type = ${JSON.stringify(P)};` : '', + le ? "script.charset = 'utf-8';" : '', + `script.timeout = ${R / 1e3};`, + `if (${L.scriptNonce}) {`, + N.indent(`script.setAttribute("nonce", ${L.scriptNonce});`), + '}', + ae + ? 'script.setAttribute("data-webpack", dataWebpackPrefix + key);' + : '', + `script.src = ${ + this._withCreateScriptUrl ? `${L.createScriptUrl}(url)` : 'url' + };`, + q + ? q === 'use-credentials' + ? 'script.crossOrigin = "use-credentials";' + : N.asString([ + "if (script.src.indexOf(window.location.origin + '/') !== 0) {", + N.indent(`script.crossOrigin = ${JSON.stringify(q)};`), + '}', + ]) + : '', + ]) + return N.asString([ + 'var inProgress = {};', + ae + ? `var dataWebpackPrefix = ${JSON.stringify(ae + ':')};` + : '// data-webpack is not used as build has no uniqueName', + '// loadScript function to load a script via script tag', + `${pe} = ${v.basicFunction('url, done, key, chunkId', [ + 'if(inProgress[url]) { inProgress[url].push(done); return; }', + 'var script, needAttach;', + 'if(key !== undefined) {', + N.indent([ + 'var scripts = document.getElementsByTagName("script");', + 'for(var i = 0; i < scripts.length; i++) {', + N.indent([ + 'var s = scripts[i];', + `if(s.getAttribute("src") == url${ + ae + ? ' || s.getAttribute("data-webpack") == dataWebpackPrefix + key' + : '' + }) { script = s; break; }`, + ]), + '}', + ]), + '}', + 'if(!script) {', + N.indent(['needAttach = true;', me.call(ye, this.chunk)]), + '}', + 'inProgress[url] = [done];', + 'var onScriptComplete = ' + + v.basicFunction( + 'prev, event', + N.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(${v.returningFunction( + 'fn(event)', + 'fn' + )});`, + 'if(prev) return prev(event);', + ]) + ), + `var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${R});`, + 'script.onerror = onScriptComplete.bind(null, script.onerror);', + 'script.onload = onScriptComplete.bind(null, script.onload);', + 'needAttach && document.head.appendChild(script);', + ])};`, + ]) + } + } + k.exports = LoadScriptRuntimeModule + }, + 22016: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(95041) + const L = E(25945) + class MakeNamespaceObjectRuntimeModule extends L { + constructor() { + super('make namespace object') + } + generate() { + const { runtimeTemplate: k } = this.compilation + const v = P.makeNamespaceObject + return R.asString([ + '// define __esModule on exports', + `${v} = ${k.basicFunction('exports', [ + "if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {", + R.indent([ + "Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });", + ]), + '}', + "Object.defineProperty(exports, '__esModule', { value: true });", + ])};`, + ]) + } + } + k.exports = MakeNamespaceObjectRuntimeModule + }, + 17800: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + class NonceRuntimeModule extends R { + constructor() { + super('nonce', R.STAGE_ATTACH) + } + generate() { + return `${P.scriptNonce} = undefined;` + } + } + k.exports = NonceRuntimeModule + }, + 10887: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class OnChunksLoadedRuntimeModule extends R { + constructor() { + super('chunk loaded') + } + generate() { + const { compilation: k } = this + const { runtimeTemplate: v } = k + return L.asString([ + 'var deferred = [];', + `${P.onChunksLoaded} = ${v.basicFunction( + 'result, chunkIds, fn, priority', + [ + 'if(chunkIds) {', + L.indent([ + 'priority = priority || 0;', + 'for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];', + 'deferred[i] = [chunkIds, fn, priority];', + 'return;', + ]), + '}', + 'var notFulfilled = Infinity;', + 'for (var i = 0; i < deferred.length; i++) {', + L.indent([ + v.destructureArray( + ['chunkIds', 'fn', 'priority'], + 'deferred[i]' + ), + 'var fulfilled = true;', + 'for (var j = 0; j < chunkIds.length; j++) {', + L.indent([ + `if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${ + P.onChunksLoaded + }).every(${v.returningFunction( + `${P.onChunksLoaded}[key](chunkIds[j])`, + 'key' + )})) {`, + L.indent(['chunkIds.splice(j--, 1);']), + '} else {', + L.indent([ + 'fulfilled = false;', + 'if(priority < notFulfilled) notFulfilled = priority;', + ]), + '}', + ]), + '}', + 'if(fulfilled) {', + L.indent([ + 'deferred.splice(i--, 1)', + 'var r = fn();', + 'if (r !== undefined) result = r;', + ]), + '}', + ]), + '}', + 'return result;', + ] + )};`, + ]) + } + } + k.exports = OnChunksLoadedRuntimeModule + }, + 67415: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + class PublicPathRuntimeModule extends R { + constructor(k) { + super('publicPath', R.STAGE_BASIC) + this.publicPath = k + } + generate() { + const { compilation: k, publicPath: v } = this + return `${P.publicPath} = ${JSON.stringify( + k.getPath(v || '', { hash: k.hash || 'XXXX' }) + )};` + } + } + k.exports = PublicPathRuntimeModule + }, + 96272: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(95041) + const L = E(25945) + class RelativeUrlRuntimeModule extends L { + constructor() { + super('relative url') + } + generate() { + const { runtimeTemplate: k } = this.compilation + return R.asString([ + `${P.relativeUrl} = function RelativeURL(url) {`, + R.indent([ + 'var realUrl = new URL(url, "x:/");', + 'var values = {};', + 'for (var key in realUrl) values[key] = realUrl[key];', + 'values.href = url;', + 'values.pathname = url.replace(/[?#].*/, "");', + 'values.origin = values.protocol = "";', + `values.toString = values.toJSON = ${k.returningFunction( + 'url' + )};`, + 'for (var key in values) Object.defineProperty(this, key, { enumerable: true, configurable: true, value: values[key] });', + ]), + '};', + `${P.relativeUrl}.prototype = URL.prototype;`, + ]) + } + } + k.exports = RelativeUrlRuntimeModule + }, + 8062: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + class RuntimeIdRuntimeModule extends R { + constructor() { + super('runtimeId') + } + generate() { + const { chunkGraph: k, chunk: v } = this + const E = v.runtime + if (typeof E !== 'string') + throw new Error( + 'RuntimeIdRuntimeModule must be in a single runtime' + ) + const R = k.getRuntimeId(E) + return `${P.runtimeId} = ${JSON.stringify(R)};` + } + } + k.exports = RuntimeIdRuntimeModule + }, + 31626: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(1433) + const L = E(5989) + class StartupChunkDependenciesPlugin { + constructor(k) { + this.chunkLoading = k.chunkLoading + this.asyncChunkLoading = + typeof k.asyncChunkLoading === 'boolean' + ? k.asyncChunkLoading + : true + } + apply(k) { + k.hooks.thisCompilation.tap('StartupChunkDependenciesPlugin', (k) => { + const v = k.outputOptions.chunkLoading + const isEnabledForChunk = (k) => { + const E = k.getEntryOptions() + const P = E && E.chunkLoading !== undefined ? E.chunkLoading : v + return P === this.chunkLoading + } + k.hooks.additionalTreeRuntimeRequirements.tap( + 'StartupChunkDependenciesPlugin', + (v, E, { chunkGraph: L }) => { + if (!isEnabledForChunk(v)) return + if (L.hasChunkEntryDependentChunks(v)) { + E.add(P.startup) + E.add(P.ensureChunk) + E.add(P.ensureChunkIncludeEntries) + k.addRuntimeModule(v, new R(this.asyncChunkLoading)) + } + } + ) + k.hooks.runtimeRequirementInTree + .for(P.startupEntrypoint) + .tap('StartupChunkDependenciesPlugin', (v, E) => { + if (!isEnabledForChunk(v)) return + E.add(P.require) + E.add(P.ensureChunk) + E.add(P.ensureChunkIncludeEntries) + k.addRuntimeModule(v, new L(this.asyncChunkLoading)) + }) + }) + } + } + k.exports = StartupChunkDependenciesPlugin + }, + 1433: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class StartupChunkDependenciesRuntimeModule extends R { + constructor(k) { + super('startup chunk dependencies', R.STAGE_TRIGGER) + this.asyncChunkLoading = k + } + generate() { + const { chunkGraph: k, chunk: v, compilation: E } = this + const { runtimeTemplate: R } = E + const N = Array.from(k.getChunkEntryDependentChunksIterable(v)).map( + (k) => k.id + ) + return L.asString([ + `var next = ${P.startup};`, + `${P.startup} = ${R.basicFunction( + '', + !this.asyncChunkLoading + ? N.map( + (k) => `${P.ensureChunk}(${JSON.stringify(k)});` + ).concat('return next();') + : N.length === 1 + ? `return ${P.ensureChunk}(${JSON.stringify(N[0])}).then(next);` + : N.length > 2 + ? [ + `return Promise.all(${JSON.stringify(N)}.map(${ + P.ensureChunk + }, ${P.require})).then(next);`, + ] + : [ + 'return Promise.all([', + L.indent( + N.map( + (k) => `${P.ensureChunk}(${JSON.stringify(k)})` + ).join(',\n') + ), + ']).then(next);', + ] + )};`, + ]) + } + } + k.exports = StartupChunkDependenciesRuntimeModule + }, + 5989: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + class StartupEntrypointRuntimeModule extends R { + constructor(k) { + super('startup entrypoint') + this.asyncChunkLoading = k + } + generate() { + const { compilation: k } = this + const { runtimeTemplate: v } = k + return `${P.startupEntrypoint} = ${v.basicFunction( + 'result, chunkIds, fn', + [ + '// arguments: chunkIds, moduleId are deprecated', + 'var moduleId = chunkIds;', + `if(!fn) chunkIds = result, fn = ${v.returningFunction( + `${P.require}(${P.entryModuleId} = moduleId)` + )};`, + ...(this.asyncChunkLoading + ? [ + `return Promise.all(chunkIds.map(${P.ensureChunk}, ${ + P.require + })).then(${v.basicFunction('', [ + 'var r = fn();', + 'return r === undefined ? result : r;', + ])})`, + ] + : [ + `chunkIds.map(${P.ensureChunk}, ${P.require})`, + 'var r = fn();', + 'return r === undefined ? result : r;', + ]), + ] + )}` + } + } + k.exports = StartupEntrypointRuntimeModule + }, + 34108: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + class SystemContextRuntimeModule extends R { + constructor() { + super('__system_context__') + } + generate() { + return `${P.systemContext} = __system_context__;` + } + } + k.exports = SystemContextRuntimeModule + }, + 82599: function (k, v, E) { + 'use strict' + const P = E(38224) + const R = /^data:([^;,]+)?((?:;[^;,]+)*?)(?:;(base64))?,(.*)$/i + const decodeDataURI = (k) => { + const v = R.exec(k) + if (!v) return null + const E = v[3] + const P = v[4] + if (E) { + return Buffer.from(P, 'base64') + } + try { + return Buffer.from(decodeURIComponent(P), 'ascii') + } catch (k) { + return Buffer.from(P, 'ascii') + } + } + class DataUriPlugin { + apply(k) { + k.hooks.compilation.tap( + 'DataUriPlugin', + (k, { normalModuleFactory: v }) => { + v.hooks.resolveForScheme.for('data').tap('DataUriPlugin', (k) => { + const v = R.exec(k.resource) + if (v) { + k.data.mimetype = v[1] || '' + k.data.parameters = v[2] || '' + k.data.encoding = v[3] || false + k.data.encodedContent = v[4] || '' + } + }) + P.getCompilationHooks(k) + .readResourceForScheme.for('data') + .tap('DataUriPlugin', (k) => decodeDataURI(k)) + } + ) + } + } + k.exports = DataUriPlugin + }, + 28730: function (k, v, E) { + 'use strict' + const { URL: P, fileURLToPath: R } = E(57310) + const { NormalModule: L } = E(94308) + class FileUriPlugin { + apply(k) { + k.hooks.compilation.tap( + 'FileUriPlugin', + (k, { normalModuleFactory: v }) => { + v.hooks.resolveForScheme.for('file').tap('FileUriPlugin', (k) => { + const v = new P(k.resource) + const E = R(v) + const L = v.search + const N = v.hash + k.path = E + k.query = L + k.fragment = N + k.resource = E + L + N + return true + }) + const E = L.getCompilationHooks(k) + E.readResource + .for(undefined) + .tapAsync('FileUriPlugin', (k, v) => { + const { resourcePath: E } = k + k.addDependency(E) + k.fs.readFile(E, v) + }) + } + ) + } + } + k.exports = FileUriPlugin + }, + 73500: function (k, v, E) { + 'use strict' + const P = E(82361) + const { extname: R, basename: L } = E(71017) + const { URL: N } = E(57310) + const { + createGunzip: q, + createBrotliDecompress: ae, + createInflate: le, + } = E(59796) + const pe = E(38224) + const me = E(92198) + const ye = E(74012) + const { mkdirp: _e, dirname: Ie, join: Me } = E(57825) + const Te = E(20631) + const je = Te(() => E(13685)) + const Ne = Te(() => E(95687)) + const proxyFetch = (k, v) => (E, R, L) => { + const q = new P() + const doRequest = (v) => + k + .get(E, { ...R, ...(v && { socket: v }) }, L) + .on('error', q.emit.bind(q, 'error')) + if (v) { + const { hostname: k, port: P } = new N(v) + je() + .request({ host: k, port: P, method: 'CONNECT', path: E.host }) + .on('connect', (k, v) => { + if (k.statusCode === 200) { + doRequest(v) + } + }) + .on('error', (k) => { + q.emit( + 'error', + new Error( + `Failed to connect to proxy server "${v}": ${k.message}` + ) + ) + }) + .end() + } else { + doRequest() + } + return q + } + let Be = undefined + const qe = me(E(95892), () => E(72789), { + name: 'Http Uri Plugin', + baseDataPath: 'options', + }) + const toSafePath = (k) => + k + .replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g, '') + .replace(/[^a-zA-Z0-9._-]+/g, '_') + const computeIntegrity = (k) => { + const v = ye('sha512') + v.update(k) + const E = 'sha512-' + v.digest('base64') + return E + } + const verifyIntegrity = (k, v) => { + if (v === 'ignore') return true + return computeIntegrity(k) === v + } + const parseKeyValuePairs = (k) => { + const v = {} + for (const E of k.split(',')) { + const k = E.indexOf('=') + if (k >= 0) { + const P = E.slice(0, k).trim() + const R = E.slice(k + 1).trim() + v[P] = R + } else { + const k = E.trim() + if (!k) continue + v[k] = k + } + } + return v + } + const parseCacheControl = (k, v) => { + let E = true + let P = true + let R = 0 + if (k) { + const L = parseKeyValuePairs(k) + if (L['no-cache']) E = P = false + if (L['max-age'] && !isNaN(+L['max-age'])) { + R = v + +L['max-age'] * 1e3 + } + if (L['must-revalidate']) R = 0 + } + return { storeLock: P, storeCache: E, validUntil: R } + } + const areLockfileEntriesEqual = (k, v) => + k.resolved === v.resolved && + k.integrity === v.integrity && + k.contentType === v.contentType + const entryToString = (k) => + `resolved: ${k.resolved}, integrity: ${k.integrity}, contentType: ${k.contentType}` + class Lockfile { + constructor() { + this.version = 1 + this.entries = new Map() + } + static parse(k) { + const v = JSON.parse(k) + if (v.version !== 1) + throw new Error(`Unsupported lockfile version ${v.version}`) + const E = new Lockfile() + for (const k of Object.keys(v)) { + if (k === 'version') continue + const P = v[k] + E.entries.set(k, typeof P === 'string' ? P : { resolved: k, ...P }) + } + return E + } + toString() { + let k = '{\n' + const v = Array.from(this.entries).sort(([k], [v]) => + k < v ? -1 : 1 + ) + for (const [E, P] of v) { + if (typeof P === 'string') { + k += ` ${JSON.stringify(E)}: ${JSON.stringify(P)},\n` + } else { + k += ` ${JSON.stringify(E)}: { ` + if (P.resolved !== E) + k += `"resolved": ${JSON.stringify(P.resolved)}, ` + k += `"integrity": ${JSON.stringify( + P.integrity + )}, "contentType": ${JSON.stringify(P.contentType)} },\n` + } + } + k += ` "version": ${this.version}\n}\n` + return k + } + } + const cachedWithoutKey = (k) => { + let v = false + let E = undefined + let P = undefined + let R = undefined + return (L) => { + if (v) { + if (P !== undefined) return L(null, P) + if (E !== undefined) return L(E) + if (R === undefined) R = [L] + else R.push(L) + return + } + v = true + k((k, v) => { + if (k) E = k + else P = v + const N = R + R = undefined + L(k, v) + if (N !== undefined) for (const E of N) E(k, v) + }) + } + } + const cachedWithKey = (k, v = k) => { + const E = new Map() + const resultFn = (v, P) => { + const R = E.get(v) + if (R !== undefined) { + if (R.result !== undefined) return P(null, R.result) + if (R.error !== undefined) return P(R.error) + if (R.callbacks === undefined) R.callbacks = [P] + else R.callbacks.push(P) + return + } + const L = { + result: undefined, + error: undefined, + callbacks: undefined, + } + E.set(v, L) + k(v, (k, v) => { + if (k) L.error = k + else L.result = v + const E = L.callbacks + L.callbacks = undefined + P(k, v) + if (E !== undefined) for (const P of E) P(k, v) + }) + } + resultFn.force = (k, P) => { + const R = E.get(k) + if (R !== undefined && R.force) { + if (R.result !== undefined) return P(null, R.result) + if (R.error !== undefined) return P(R.error) + if (R.callbacks === undefined) R.callbacks = [P] + else R.callbacks.push(P) + return + } + const L = { + result: undefined, + error: undefined, + callbacks: undefined, + force: true, + } + E.set(k, L) + v(k, (k, v) => { + if (k) L.error = k + else L.result = v + const E = L.callbacks + L.callbacks = undefined + P(k, v) + if (E !== undefined) for (const P of E) P(k, v) + }) + } + return resultFn + } + class HttpUriPlugin { + constructor(k) { + qe(k) + this._lockfileLocation = k.lockfileLocation + this._cacheLocation = k.cacheLocation + this._upgrade = k.upgrade + this._frozen = k.frozen + this._allowedUris = k.allowedUris + this._proxy = k.proxy + } + apply(k) { + const v = + this._proxy || + process.env['http_proxy'] || + process.env['HTTP_PROXY'] + const E = [ + { scheme: 'http', fetch: proxyFetch(je(), v) }, + { scheme: 'https', fetch: proxyFetch(Ne(), v) }, + ] + let P + k.hooks.compilation.tap( + 'HttpUriPlugin', + (v, { normalModuleFactory: me }) => { + const Te = k.intermediateFileSystem + const je = v.inputFileSystem + const Ne = v.getCache('webpack.HttpUriPlugin') + const qe = v.getLogger('webpack.HttpUriPlugin') + const Ue = + this._lockfileLocation || + Me( + Te, + k.context, + k.name ? `${toSafePath(k.name)}.webpack.lock` : 'webpack.lock' + ) + const Ge = + this._cacheLocation !== undefined + ? this._cacheLocation + : Ue + '.data' + const He = this._upgrade || false + const We = this._frozen || false + const Qe = 'sha512' + const Je = 'hex' + const Ve = 20 + const Ke = this._allowedUris + let Ye = false + const Xe = new Map() + const getCacheKey = (k) => { + const v = Xe.get(k) + if (v !== undefined) return v + const E = _getCacheKey(k) + Xe.set(k, E) + return E + } + const _getCacheKey = (k) => { + const v = new N(k) + const E = toSafePath(v.origin) + const P = toSafePath(v.pathname) + const L = toSafePath(v.search) + let q = R(P) + if (q.length > 20) q = '' + const ae = q ? P.slice(0, -q.length) : P + const le = ye(Qe) + le.update(k) + const pe = le.digest(Je).slice(0, Ve) + return `${E.slice(-50)}/${`${ae}${L ? `_${L}` : ''}`.slice( + 0, + 150 + )}_${pe}${q}` + } + const Ze = cachedWithoutKey((E) => { + const readLockfile = () => { + Te.readFile(Ue, (R, L) => { + if (R && R.code !== 'ENOENT') { + v.missingDependencies.add(Ue) + return E(R) + } + v.fileDependencies.add(Ue) + v.fileSystemInfo.createSnapshot( + k.fsStartTime, + L ? [Ue] : [], + [], + L ? [] : [Ue], + { timestamp: true }, + (k, v) => { + if (k) return E(k) + const R = L + ? Lockfile.parse(L.toString('utf-8')) + : new Lockfile() + P = { lockfile: R, snapshot: v } + E(null, R) + } + ) + }) + } + if (P) { + v.fileSystemInfo.checkSnapshotValid(P.snapshot, (k, v) => { + if (k) return E(k) + if (!v) return readLockfile() + E(null, P.lockfile) + }) + } else { + readLockfile() + } + }) + let et = undefined + const storeLockEntry = (k, v, E) => { + const P = k.entries.get(v) + if (et === undefined) et = new Map() + et.set(v, E) + k.entries.set(v, E) + if (!P) { + qe.log(`${v} added to lockfile`) + } else if (typeof P === 'string') { + if (typeof E === 'string') { + qe.log(`${v} updated in lockfile: ${P} -> ${E}`) + } else { + qe.log(`${v} updated in lockfile: ${P} -> ${E.resolved}`) + } + } else if (typeof E === 'string') { + qe.log(`${v} updated in lockfile: ${P.resolved} -> ${E}`) + } else if (P.resolved !== E.resolved) { + qe.log( + `${v} updated in lockfile: ${P.resolved} -> ${E.resolved}` + ) + } else if (P.integrity !== E.integrity) { + qe.log(`${v} updated in lockfile: content changed`) + } else if (P.contentType !== E.contentType) { + qe.log( + `${v} updated in lockfile: ${P.contentType} -> ${E.contentType}` + ) + } else { + qe.log(`${v} updated in lockfile`) + } + } + const storeResult = (k, v, E, P) => { + if (E.storeLock) { + storeLockEntry(k, v, E.entry) + if (!Ge || !E.content) return P(null, E) + const R = getCacheKey(E.entry.resolved) + const L = Me(Te, Ge, R) + _e(Te, Ie(Te, L), (k) => { + if (k) return P(k) + Te.writeFile(L, E.content, (k) => { + if (k) return P(k) + P(null, E) + }) + }) + } else { + storeLockEntry(k, v, 'no-cache') + P(null, E) + } + } + for (const { scheme: k, fetch: P } of E) { + const resolveContent = (k, v, P) => { + const handleResult = (R, L) => { + if (R) return P(R) + if ('location' in L) { + return resolveContent(L.location, v, (k, v) => { + if (k) return P(k) + P(null, { + entry: v.entry, + content: v.content, + storeLock: v.storeLock && L.storeLock, + }) + }) + } else { + if ( + !L.fresh && + v && + L.entry.integrity !== v && + !verifyIntegrity(L.content, v) + ) { + return E.force(k, handleResult) + } + return P(null, { + entry: L.entry, + content: L.content, + storeLock: L.storeLock, + }) + } + } + E(k, handleResult) + } + const fetchContentRaw = (k, v, E) => { + const R = Date.now() + P( + new N(k), + { + headers: { + 'accept-encoding': 'gzip, deflate, br', + 'user-agent': 'webpack', + 'if-none-match': v ? v.etag || null : null, + }, + }, + (P) => { + const L = P.headers['etag'] + const pe = P.headers['location'] + const me = P.headers['cache-control'] + const { + storeLock: ye, + storeCache: _e, + validUntil: Ie, + } = parseCacheControl(me, R) + const finishWith = (v) => { + if ('location' in v) { + qe.debug( + `GET ${k} [${P.statusCode}] -> ${v.location}` + ) + } else { + qe.debug( + `GET ${k} [${P.statusCode}] ${Math.ceil( + v.content.length / 1024 + )} kB${!ye ? ' no-cache' : ''}` + ) + } + const R = { + ...v, + fresh: true, + storeLock: ye, + storeCache: _e, + validUntil: Ie, + etag: L, + } + if (!_e) { + qe.log( + `${k} can't be stored in cache, due to Cache-Control header: ${me}` + ) + return E(null, R) + } + Ne.store(k, null, { ...R, fresh: false }, (v) => { + if (v) { + qe.warn( + `${k} can't be stored in cache: ${v.message}` + ) + qe.debug(v.stack) + } + E(null, R) + }) + } + if (P.statusCode === 304) { + if ( + v.validUntil < Ie || + v.storeLock !== ye || + v.storeCache !== _e || + v.etag !== L + ) { + return finishWith(v) + } else { + qe.debug(`GET ${k} [${P.statusCode}] (unchanged)`) + return E(null, { ...v, fresh: true }) + } + } + if (pe && P.statusCode >= 301 && P.statusCode <= 308) { + const R = { location: new N(pe, k).href } + if ( + !v || + !('location' in v) || + v.location !== R.location || + v.validUntil < Ie || + v.storeLock !== ye || + v.storeCache !== _e || + v.etag !== L + ) { + return finishWith(R) + } else { + qe.debug(`GET ${k} [${P.statusCode}] (unchanged)`) + return E(null, { + ...R, + fresh: true, + storeLock: ye, + storeCache: _e, + validUntil: Ie, + etag: L, + }) + } + } + const Me = P.headers['content-type'] || '' + const Te = [] + const je = P.headers['content-encoding'] + let Be = P + if (je === 'gzip') { + Be = Be.pipe(q()) + } else if (je === 'br') { + Be = Be.pipe(ae()) + } else if (je === 'deflate') { + Be = Be.pipe(le()) + } + Be.on('data', (k) => { + Te.push(k) + }) + Be.on('end', () => { + if (!P.complete) { + qe.log(`GET ${k} [${P.statusCode}] (terminated)`) + return E(new Error(`${k} request was terminated`)) + } + const v = Buffer.concat(Te) + if (P.statusCode !== 200) { + qe.log(`GET ${k} [${P.statusCode}]`) + return E( + new Error( + `${k} request status code = ${ + P.statusCode + }\n${v.toString('utf-8')}` + ) + ) + } + const R = computeIntegrity(v) + const L = { resolved: k, integrity: R, contentType: Me } + finishWith({ entry: L, content: v }) + }) + } + ).on('error', (v) => { + qe.log(`GET ${k} (error)`) + v.message += `\nwhile fetching ${k}` + E(v) + }) + } + const E = cachedWithKey( + (k, v) => { + Ne.get(k, null, (E, P) => { + if (E) return v(E) + if (P) { + const k = P.validUntil >= Date.now() + if (k) return v(null, P) + } + fetchContentRaw(k, P, v) + }) + }, + (k, v) => fetchContentRaw(k, undefined, v) + ) + const isAllowed = (k) => { + for (const v of Ke) { + if (typeof v === 'string') { + if (k.startsWith(v)) return true + } else if (typeof v === 'function') { + if (v(k)) return true + } else { + if (v.test(k)) return true + } + } + return false + } + const R = cachedWithKey((k, v) => { + if (!isAllowed(k)) { + return v( + new Error( + `${k} doesn't match the allowedUris policy. These URIs are allowed:\n${Ke.map( + (k) => ` - ${k}` + ).join('\n')}` + ) + ) + } + Ze((E, P) => { + if (E) return v(E) + const R = P.entries.get(k) + if (!R) { + if (We) { + return v( + new Error( + `${k} has no lockfile entry and lockfile is frozen` + ) + ) + } + resolveContent(k, null, (E, R) => { + if (E) return v(E) + storeResult(P, k, R, v) + }) + return + } + if (typeof R === 'string') { + const E = R + resolveContent(k, null, (R, L) => { + if (R) return v(R) + if (!L.storeLock || E === 'ignore') return v(null, L) + if (We) { + return v( + new Error( + `${k} used to have ${E} lockfile entry and has content now, but lockfile is frozen` + ) + ) + } + if (!He) { + return v( + new Error( + `${k} used to have ${E} lockfile entry and has content now.\nThis should be reflected in the lockfile, so this lockfile entry must be upgraded, but upgrading is not enabled.\nRemove this line from the lockfile to force upgrading.` + ) + ) + } + storeResult(P, k, L, v) + }) + return + } + let L = R + const doFetch = (E) => { + resolveContent(k, L.integrity, (R, N) => { + if (R) { + if (E) { + qe.warn( + `Upgrade request to ${k} failed: ${R.message}` + ) + qe.debug(R.stack) + return v(null, { entry: L, content: E }) + } + return v(R) + } + if (!N.storeLock) { + if (We) { + return v( + new Error( + `${k} has a lockfile entry and is no-cache now, but lockfile is frozen\nLockfile: ${entryToString( + L + )}` + ) + ) + } + storeResult(P, k, N, v) + return + } + if (!areLockfileEntriesEqual(N.entry, L)) { + if (We) { + return v( + new Error( + `${k} has an outdated lockfile entry, but lockfile is frozen\nLockfile: ${entryToString( + L + )}\nExpected: ${entryToString(N.entry)}` + ) + ) + } + storeResult(P, k, N, v) + return + } + if (!E && Ge) { + if (We) { + return v( + new Error( + `${k} is missing content in the lockfile cache, but lockfile is frozen\nLockfile: ${entryToString( + L + )}` + ) + ) + } + storeResult(P, k, N, v) + return + } + return v(null, N) + }) + } + if (Ge) { + const E = getCacheKey(L.resolved) + const R = Me(Te, Ge, E) + je.readFile(R, (E, N) => { + const q = N + if (E) { + if (E.code === 'ENOENT') return doFetch() + return v(E) + } + const continueWithCachedContent = (k) => { + if (!He) { + return v(null, { entry: L, content: q }) + } + return doFetch(q) + } + if (!verifyIntegrity(q, L.integrity)) { + let E + let N = false + try { + E = Buffer.from( + q.toString('utf-8').replace(/\r\n/g, '\n') + ) + N = verifyIntegrity(E, L.integrity) + } catch (k) {} + if (N) { + if (!Ye) { + const k = `Incorrect end of line sequence was detected in the lockfile cache.\nThe lockfile cache is protected by integrity checks, so any external modification will lead to a corrupted lockfile cache.\nWhen using git make sure to configure .gitattributes correctly for the lockfile cache:\n **/*webpack.lock.data/** -text\nThis will avoid that the end of line sequence is changed by git on Windows.` + if (We) { + qe.error(k) + } else { + qe.warn(k) + qe.info( + 'Lockfile cache will be automatically fixed now, but when lockfile is frozen this would result in an error.' + ) + } + Ye = true + } + if (!We) { + qe.log( + `${R} fixed end of line sequence (\\r\\n instead of \\n).` + ) + Te.writeFile(R, E, (k) => { + if (k) return v(k) + continueWithCachedContent(E) + }) + return + } + } + if (We) { + return v( + new Error( + `${ + L.resolved + } integrity mismatch, expected content with integrity ${ + L.integrity + } but got ${computeIntegrity( + q + )}.\nLockfile corrupted (${ + N + ? 'end of line sequence was unexpectedly changed' + : 'incorrectly merged? changed by other tools?' + }).\nRun build with un-frozen lockfile to automatically fix lockfile.` + ) + ) + } else { + L = { ...L, integrity: computeIntegrity(q) } + storeLockEntry(P, k, L) + } + } + continueWithCachedContent(N) + }) + } else { + doFetch() + } + }) + }) + const respondWithUrlModule = (k, v, E) => { + R(k.href, (P, R) => { + if (P) return E(P) + v.resource = k.href + v.path = k.origin + k.pathname + v.query = k.search + v.fragment = k.hash + v.context = new N('.', R.entry.resolved).href.slice(0, -1) + v.data.mimetype = R.entry.contentType + E(null, true) + }) + } + me.hooks.resolveForScheme + .for(k) + .tapAsync('HttpUriPlugin', (k, v, E) => { + respondWithUrlModule(new N(k.resource), k, E) + }) + me.hooks.resolveInScheme + .for(k) + .tapAsync('HttpUriPlugin', (k, v, E) => { + if ( + v.dependencyType !== 'url' && + !/^\.{0,2}\//.test(k.resource) + ) { + return E() + } + respondWithUrlModule( + new N(k.resource, v.context + '/'), + k, + E + ) + }) + const L = pe.getCompilationHooks(v) + L.readResourceForScheme + .for(k) + .tapAsync('HttpUriPlugin', (k, v, E) => + R(k, (k, P) => { + if (k) return E(k) + v.buildInfo.resourceIntegrity = P.entry.integrity + E(null, P.content) + }) + ) + L.needBuild.tapAsync('HttpUriPlugin', (v, E, P) => { + if (v.resource && v.resource.startsWith(`${k}://`)) { + R(v.resource, (k, E) => { + if (k) return P(k) + if (E.entry.integrity !== v.buildInfo.resourceIntegrity) { + return P(null, true) + } + P() + }) + } else { + return P() + } + }) + } + v.hooks.finishModules.tapAsync('HttpUriPlugin', (k, v) => { + if (!et) return v() + const E = R(Ue) + const P = Me( + Te, + Ie(Te, Ue), + `.${L(Ue, E)}.${(Math.random() * 1e4) | 0}${E}` + ) + const writeDone = () => { + const k = Be.shift() + if (k) { + k() + } else { + Be = undefined + } + } + const runWrite = () => { + Te.readFile(Ue, (k, E) => { + if (k && k.code !== 'ENOENT') { + writeDone() + return v(k) + } + const R = E + ? Lockfile.parse(E.toString('utf-8')) + : new Lockfile() + for (const [k, v] of et) { + R.entries.set(k, v) + } + Te.writeFile(P, R.toString(), (k) => { + if (k) { + writeDone() + return Te.unlink(P, () => v(k)) + } + Te.rename(P, Ue, (k) => { + if (k) { + writeDone() + return Te.unlink(P, () => v(k)) + } + writeDone() + v() + }) + }) + }) + } + if (Be) { + Be.push(runWrite) + } else { + Be = [] + runWrite() + } + }) + } + ) + } + } + k.exports = HttpUriPlugin + }, + 73184: function (k) { + 'use strict' + class ArraySerializer { + serialize(k, v) { + v.write(k.length) + for (const E of k) v.write(E) + } + deserialize(k) { + const v = k.read() + const E = [] + for (let P = 0; P < v; P++) { + E.push(k.read()) + } + return E + } + } + k.exports = ArraySerializer + }, + 94071: function (k, v, E) { + 'use strict' + const P = E(20631) + const R = E(5505) + const L = 11 + const N = 12 + const q = 13 + const ae = 14 + const le = 16 + const pe = 17 + const me = 18 + const ye = 19 + const _e = 20 + const Ie = 21 + const Me = 22 + const Te = 23 + const je = 24 + const Ne = 26 + const Be = 27 + const qe = 28 + const Ue = 30 + const Ge = 31 + const He = 96 + const We = 64 + const Qe = 32 + const Je = 128 + const Ve = 224 + const Ke = 31 + const Ye = 127 + const Xe = 1 + const Ze = 1 + const et = 4 + const tt = 8 + const nt = Symbol('MEASURE_START_OPERATION') + const st = Symbol('MEASURE_END_OPERATION') + const identifyNumber = (k) => { + if (k === (k | 0)) { + if (k <= 127 && k >= -128) return 0 + if (k <= 2147483647 && k >= -2147483648) return 1 + } + return 2 + } + const identifyBigInt = (k) => { + if (k <= BigInt(127) && k >= BigInt(-128)) return 0 + if (k <= BigInt(2147483647) && k >= BigInt(-2147483648)) return 1 + return 2 + } + class BinaryMiddleware extends R { + serialize(k, v) { + return this._serialize(k, v) + } + _serializeLazy(k, v) { + return R.serializeLazy(k, (k) => this._serialize(k, v)) + } + _serialize( + k, + v, + E = { allocationSize: 1024, increaseCounter: 0, leftOverBuffer: null } + ) { + let P = null + let Ve = [] + let Ke = E ? E.leftOverBuffer : null + E.leftOverBuffer = null + let Ye = 0 + if (Ke === null) { + Ke = Buffer.allocUnsafe(E.allocationSize) + } + const allocate = (k) => { + if (Ke !== null) { + if (Ke.length - Ye >= k) return + flush() + } + if (P && P.length >= k) { + Ke = P + P = null + } else { + Ke = Buffer.allocUnsafe(Math.max(k, E.allocationSize)) + if ( + !(E.increaseCounter = (E.increaseCounter + 1) % 4) && + E.allocationSize < 16777216 + ) { + E.allocationSize = E.allocationSize << 1 + } + } + } + const flush = () => { + if (Ke !== null) { + if (Ye > 0) { + Ve.push(Buffer.from(Ke.buffer, Ke.byteOffset, Ye)) + } + if (!P || P.length < Ke.length - Ye) { + P = Buffer.from( + Ke.buffer, + Ke.byteOffset + Ye, + Ke.byteLength - Ye + ) + } + Ke = null + Ye = 0 + } + } + const writeU8 = (k) => { + Ke.writeUInt8(k, Ye++) + } + const writeU32 = (k) => { + Ke.writeUInt32LE(k, Ye) + Ye += 4 + } + const rt = [] + const measureStart = () => { + rt.push(Ve.length, Ye) + } + const measureEnd = () => { + const k = rt.pop() + const v = rt.pop() + let E = Ye - k + for (let k = v; k < Ve.length; k++) { + E += Ve[k].length + } + return E + } + for (let rt = 0; rt < k.length; rt++) { + const ot = k[rt] + switch (typeof ot) { + case 'function': { + if (!R.isLazy(ot)) throw new Error('Unexpected function ' + ot) + let k = R.getLazySerializedValue(ot) + if (k === undefined) { + if (R.isLazy(ot, this)) { + flush() + E.leftOverBuffer = P + const L = ot() + const N = this._serialize(L, v, E) + P = E.leftOverBuffer + E.leftOverBuffer = null + R.setLazySerializedValue(ot, N) + k = N + } else { + k = this._serializeLazy(ot, v) + flush() + Ve.push(k) + break + } + } else { + if (typeof k === 'function') { + flush() + Ve.push(k) + break + } + } + const N = [] + for (const v of k) { + let k + if (typeof v === 'function') { + N.push(0) + } else if (v.length === 0) { + } else if (N.length > 0 && (k = N[N.length - 1]) !== 0) { + const E = 4294967295 - k + if (E >= v.length) { + N[N.length - 1] += v.length + } else { + N.push(v.length - E) + N[N.length - 2] = 4294967295 + } + } else { + N.push(v.length) + } + } + allocate(5 + N.length * 4) + writeU8(L) + writeU32(N.length) + for (const k of N) { + writeU32(k) + } + flush() + for (const v of k) { + Ve.push(v) + } + break + } + case 'string': { + const k = Buffer.byteLength(ot) + if (k >= 128 || k !== ot.length) { + allocate(k + Xe + et) + writeU8(Ue) + writeU32(k) + Ke.write(ot, Ye) + Ye += k + } else if (k >= 70) { + allocate(k + Xe) + writeU8(Je | k) + Ke.write(ot, Ye, 'latin1') + Ye += k + } else { + allocate(k + Xe) + writeU8(Je | k) + for (let v = 0; v < k; v++) { + Ke[Ye++] = ot.charCodeAt(v) + } + } + break + } + case 'bigint': { + const v = identifyBigInt(ot) + if (v === 0 && ot >= 0 && ot <= BigInt(10)) { + allocate(Xe + Ze) + writeU8(Be) + writeU8(Number(ot)) + break + } + switch (v) { + case 0: { + let v = 1 + allocate(Xe + Ze * v) + writeU8(Be | (v - 1)) + while (v > 0) { + Ke.writeInt8(Number(k[rt]), Ye) + Ye += Ze + v-- + rt++ + } + rt-- + break + } + case 1: { + let v = 1 + allocate(Xe + et * v) + writeU8(qe | (v - 1)) + while (v > 0) { + Ke.writeInt32LE(Number(k[rt]), Ye) + Ye += et + v-- + rt++ + } + rt-- + break + } + default: { + const k = ot.toString() + const v = Buffer.byteLength(k) + allocate(v + Xe + et) + writeU8(Ne) + writeU32(v) + Ke.write(k, Ye) + Ye += v + break + } + } + break + } + case 'number': { + const v = identifyNumber(ot) + if (v === 0 && ot >= 0 && ot <= 10) { + allocate(Ze) + writeU8(ot) + break + } + let E = 1 + for (; E < 32 && rt + E < k.length; E++) { + const P = k[rt + E] + if (typeof P !== 'number') break + if (identifyNumber(P) !== v) break + } + switch (v) { + case 0: + allocate(Xe + Ze * E) + writeU8(He | (E - 1)) + while (E > 0) { + Ke.writeInt8(k[rt], Ye) + Ye += Ze + E-- + rt++ + } + break + case 1: + allocate(Xe + et * E) + writeU8(We | (E - 1)) + while (E > 0) { + Ke.writeInt32LE(k[rt], Ye) + Ye += et + E-- + rt++ + } + break + case 2: + allocate(Xe + tt * E) + writeU8(Qe | (E - 1)) + while (E > 0) { + Ke.writeDoubleLE(k[rt], Ye) + Ye += tt + E-- + rt++ + } + break + } + rt-- + break + } + case 'boolean': { + let v = ot === true ? 1 : 0 + const E = [] + let P = 1 + let R + for (R = 1; R < 4294967295 && rt + R < k.length; R++) { + const L = k[rt + R] + if (typeof L !== 'boolean') break + const N = P & 7 + if (N === 0) { + E.push(v) + v = L === true ? 1 : 0 + } else if (L === true) { + v |= 1 << N + } + P++ + } + rt += P - 1 + if (P === 1) { + allocate(Xe) + writeU8(v === 1 ? N : q) + } else if (P === 2) { + allocate(Xe * 2) + writeU8(v & 1 ? N : q) + writeU8(v & 2 ? N : q) + } else if (P <= 6) { + allocate(Xe + Ze) + writeU8(ae) + writeU8((1 << P) | v) + } else if (P <= 133) { + allocate(Xe + Ze + Ze * E.length + Ze) + writeU8(ae) + writeU8(128 | (P - 7)) + for (const k of E) writeU8(k) + writeU8(v) + } else { + allocate(Xe + Ze + et + Ze * E.length + Ze) + writeU8(ae) + writeU8(255) + writeU32(P) + for (const k of E) writeU8(k) + writeU8(v) + } + break + } + case 'object': { + if (ot === null) { + let v + for (v = 1; v < 4294967556 && rt + v < k.length; v++) { + const E = k[rt + v] + if (E !== null) break + } + rt += v - 1 + if (v === 1) { + if (rt + 1 < k.length) { + const v = k[rt + 1] + if (v === true) { + allocate(Xe) + writeU8(Te) + rt++ + } else if (v === false) { + allocate(Xe) + writeU8(je) + rt++ + } else if (typeof v === 'number') { + const k = identifyNumber(v) + if (k === 0) { + allocate(Xe + Ze) + writeU8(Ie) + Ke.writeInt8(v, Ye) + Ye += Ze + rt++ + } else if (k === 1) { + allocate(Xe + et) + writeU8(Me) + Ke.writeInt32LE(v, Ye) + Ye += et + rt++ + } else { + allocate(Xe) + writeU8(le) + } + } else { + allocate(Xe) + writeU8(le) + } + } else { + allocate(Xe) + writeU8(le) + } + } else if (v === 2) { + allocate(Xe) + writeU8(pe) + } else if (v === 3) { + allocate(Xe) + writeU8(me) + } else if (v < 260) { + allocate(Xe + Ze) + writeU8(ye) + writeU8(v - 4) + } else { + allocate(Xe + et) + writeU8(_e) + writeU32(v - 260) + } + } else if (Buffer.isBuffer(ot)) { + if (ot.length < 8192) { + allocate(Xe + et + ot.length) + writeU8(Ge) + writeU32(ot.length) + ot.copy(Ke, Ye) + Ye += ot.length + } else { + allocate(Xe + et) + writeU8(Ge) + writeU32(ot.length) + flush() + Ve.push(ot) + } + } + break + } + case 'symbol': { + if (ot === nt) { + measureStart() + } else if (ot === st) { + const k = measureEnd() + allocate(Xe + et) + writeU8(We) + Ke.writeInt32LE(k, Ye) + Ye += et + } + break + } + } + } + flush() + E.leftOverBuffer = P + Ke = null + P = null + E = undefined + const ot = Ve + Ve = undefined + return ot + } + deserialize(k, v) { + return this._deserialize(k, v) + } + _createLazyDeserialized(k, v) { + return R.createLazy( + P(() => this._deserialize(k, v)), + this, + undefined, + k + ) + } + _deserializeLazy(k, v) { + return R.deserializeLazy(k, (k) => this._deserialize(k, v)) + } + _deserialize(k, v) { + let E = 0 + let P = k[0] + let R = Buffer.isBuffer(P) + let Xe = 0 + const nt = v.retainedBuffer || ((k) => k) + const checkOverflow = () => { + if (Xe >= P.length) { + Xe = 0 + E++ + P = E < k.length ? k[E] : null + R = Buffer.isBuffer(P) + } + } + const isInCurrentBuffer = (k) => R && k + Xe <= P.length + const ensureBuffer = () => { + if (!R) { + throw new Error( + P === null + ? 'Unexpected end of stream' + : 'Unexpected lazy element in stream' + ) + } + } + const read = (v) => { + ensureBuffer() + const L = P.length - Xe + if (L < v) { + const N = [read(L)] + v -= L + ensureBuffer() + while (P.length < v) { + const L = P + N.push(L) + v -= L.length + E++ + P = E < k.length ? k[E] : null + R = Buffer.isBuffer(P) + ensureBuffer() + } + N.push(read(v)) + return Buffer.concat(N) + } + const N = P + const q = Buffer.from(N.buffer, N.byteOffset + Xe, v) + Xe += v + checkOverflow() + return q + } + const readUpTo = (k) => { + ensureBuffer() + const v = P.length - Xe + if (v < k) { + k = v + } + const E = P + const R = Buffer.from(E.buffer, E.byteOffset + Xe, k) + Xe += k + checkOverflow() + return R + } + const readU8 = () => { + ensureBuffer() + const k = P.readUInt8(Xe) + Xe += Ze + checkOverflow() + return k + } + const readU32 = () => read(et).readUInt32LE(0) + const readBits = (k, v) => { + let E = 1 + while (v !== 0) { + rt.push((k & E) !== 0) + E = E << 1 + v-- + } + } + const st = Array.from({ length: 256 }).map((st, ot) => { + switch (ot) { + case L: + return () => { + const L = readU32() + const N = Array.from({ length: L }).map(() => readU32()) + const q = [] + for (let v of N) { + if (v === 0) { + if (typeof P !== 'function') { + throw new Error('Unexpected non-lazy element in stream') + } + q.push(P) + E++ + P = E < k.length ? k[E] : null + R = Buffer.isBuffer(P) + } else { + do { + const k = readUpTo(v) + v -= k.length + q.push(nt(k)) + } while (v > 0) + } + } + rt.push(this._createLazyDeserialized(q, v)) + } + case Ge: + return () => { + const k = readU32() + rt.push(nt(read(k))) + } + case N: + return () => rt.push(true) + case q: + return () => rt.push(false) + case me: + return () => rt.push(null, null, null) + case pe: + return () => rt.push(null, null) + case le: + return () => rt.push(null) + case Te: + return () => rt.push(null, true) + case je: + return () => rt.push(null, false) + case Ie: + return () => { + if (R) { + rt.push(null, P.readInt8(Xe)) + Xe += Ze + checkOverflow() + } else { + rt.push(null, read(Ze).readInt8(0)) + } + } + case Me: + return () => { + rt.push(null) + if (isInCurrentBuffer(et)) { + rt.push(P.readInt32LE(Xe)) + Xe += et + checkOverflow() + } else { + rt.push(read(et).readInt32LE(0)) + } + } + case ye: + return () => { + const k = readU8() + 4 + for (let v = 0; v < k; v++) { + rt.push(null) + } + } + case _e: + return () => { + const k = readU32() + 260 + for (let v = 0; v < k; v++) { + rt.push(null) + } + } + case ae: + return () => { + const k = readU8() + if ((k & 240) === 0) { + readBits(k, 3) + } else if ((k & 224) === 0) { + readBits(k, 4) + } else if ((k & 192) === 0) { + readBits(k, 5) + } else if ((k & 128) === 0) { + readBits(k, 6) + } else if (k !== 255) { + let v = (k & 127) + 7 + while (v > 8) { + readBits(readU8(), 8) + v -= 8 + } + readBits(readU8(), v) + } else { + let k = readU32() + while (k > 8) { + readBits(readU8(), 8) + k -= 8 + } + readBits(readU8(), k) + } + } + case Ue: + return () => { + const k = readU32() + if (isInCurrentBuffer(k) && Xe + k < 2147483647) { + rt.push(P.toString(undefined, Xe, Xe + k)) + Xe += k + checkOverflow() + } else { + rt.push(read(k).toString()) + } + } + case Je: + return () => rt.push('') + case Je | 1: + return () => { + if (R && Xe < 2147483646) { + rt.push(P.toString('latin1', Xe, Xe + 1)) + Xe++ + checkOverflow() + } else { + rt.push(read(1).toString('latin1')) + } + } + case He: + return () => { + if (R) { + rt.push(P.readInt8(Xe)) + Xe++ + checkOverflow() + } else { + rt.push(read(1).readInt8(0)) + } + } + case Be: { + const k = 1 + return () => { + const v = Ze * k + if (isInCurrentBuffer(v)) { + for (let v = 0; v < k; v++) { + const k = P.readInt8(Xe) + rt.push(BigInt(k)) + Xe += Ze + } + checkOverflow() + } else { + const E = read(v) + for (let v = 0; v < k; v++) { + const k = E.readInt8(v * Ze) + rt.push(BigInt(k)) + } + } + } + } + case qe: { + const k = 1 + return () => { + const v = et * k + if (isInCurrentBuffer(v)) { + for (let v = 0; v < k; v++) { + const k = P.readInt32LE(Xe) + rt.push(BigInt(k)) + Xe += et + } + checkOverflow() + } else { + const E = read(v) + for (let v = 0; v < k; v++) { + const k = E.readInt32LE(v * et) + rt.push(BigInt(k)) + } + } + } + } + case Ne: { + return () => { + const k = readU32() + if (isInCurrentBuffer(k) && Xe + k < 2147483647) { + const v = P.toString(undefined, Xe, Xe + k) + rt.push(BigInt(v)) + Xe += k + checkOverflow() + } else { + const v = read(k).toString() + rt.push(BigInt(v)) + } + } + } + default: + if (ot <= 10) { + return () => rt.push(ot) + } else if ((ot & Je) === Je) { + const k = ot & Ye + return () => { + if (isInCurrentBuffer(k) && Xe + k < 2147483647) { + rt.push(P.toString('latin1', Xe, Xe + k)) + Xe += k + checkOverflow() + } else { + rt.push(read(k).toString('latin1')) + } + } + } else if ((ot & Ve) === Qe) { + const k = (ot & Ke) + 1 + return () => { + const v = tt * k + if (isInCurrentBuffer(v)) { + for (let v = 0; v < k; v++) { + rt.push(P.readDoubleLE(Xe)) + Xe += tt + } + checkOverflow() + } else { + const E = read(v) + for (let v = 0; v < k; v++) { + rt.push(E.readDoubleLE(v * tt)) + } + } + } + } else if ((ot & Ve) === We) { + const k = (ot & Ke) + 1 + return () => { + const v = et * k + if (isInCurrentBuffer(v)) { + for (let v = 0; v < k; v++) { + rt.push(P.readInt32LE(Xe)) + Xe += et + } + checkOverflow() + } else { + const E = read(v) + for (let v = 0; v < k; v++) { + rt.push(E.readInt32LE(v * et)) + } + } + } + } else if ((ot & Ve) === He) { + const k = (ot & Ke) + 1 + return () => { + const v = Ze * k + if (isInCurrentBuffer(v)) { + for (let v = 0; v < k; v++) { + rt.push(P.readInt8(Xe)) + Xe += Ze + } + checkOverflow() + } else { + const E = read(v) + for (let v = 0; v < k; v++) { + rt.push(E.readInt8(v * Ze)) + } + } + } + } else { + return () => { + throw new Error( + `Unexpected header byte 0x${ot.toString(16)}` + ) + } + } + } + }) + let rt = [] + while (P !== null) { + if (typeof P === 'function') { + rt.push(this._deserializeLazy(P, v)) + E++ + P = E < k.length ? k[E] : null + R = Buffer.isBuffer(P) + } else { + const k = readU8() + st[k]() + } + } + let ot = rt + rt = undefined + return ot + } + } + k.exports = BinaryMiddleware + k.exports.MEASURE_START_OPERATION = nt + k.exports.MEASURE_END_OPERATION = st + }, + 4671: function (k) { + 'use strict' + class DateObjectSerializer { + serialize(k, v) { + v.write(k.getTime()) + } + deserialize(k) { + return new Date(k.read()) + } + } + k.exports = DateObjectSerializer + }, + 52596: function (k) { + 'use strict' + class ErrorObjectSerializer { + constructor(k) { + this.Type = k + } + serialize(k, v) { + v.write(k.message) + v.write(k.stack) + v.write(k.cause) + } + deserialize(k) { + const v = new this.Type() + v.message = k.read() + v.stack = k.read() + v.cause = k.read() + return v + } + } + k.exports = ErrorObjectSerializer + }, + 26607: function (k, v, E) { + 'use strict' + const { constants: P } = E(14300) + const { pipeline: R } = E(12781) + const { + createBrotliCompress: L, + createBrotliDecompress: N, + createGzip: q, + createGunzip: ae, + constants: le, + } = E(59796) + const pe = E(74012) + const { dirname: me, join: ye, mkdirp: _e } = E(57825) + const Ie = E(20631) + const Me = E(5505) + const Te = 23294071 + const je = 2147418112 + const Ne = 511 * 1024 * 1024 + const hashForName = (k, v) => { + const E = pe(v) + for (const v of k) E.update(v) + return E.digest('hex') + } + const Be = 100 * 1024 * 1024 + const qe = 100 * 1024 * 1024 + const Ue = Buffer.prototype.writeBigUInt64LE + ? (k, v, E) => { + k.writeBigUInt64LE(BigInt(v), E) + } + : (k, v, E) => { + const P = v % 4294967296 + const R = (v - P) / 4294967296 + k.writeUInt32LE(P, E) + k.writeUInt32LE(R, E + 4) + } + const Ge = Buffer.prototype.readBigUInt64LE + ? (k, v) => Number(k.readBigUInt64LE(v)) + : (k, v) => { + const E = k.readUInt32LE(v) + const P = k.readUInt32LE(v + 4) + return P * 4294967296 + E + } + const serialize = async (k, v, E, P, R = 'md4') => { + const L = [] + const N = new WeakMap() + let q = undefined + for (const E of await v) { + if (typeof E === 'function') { + if (!Me.isLazy(E)) throw new Error('Unexpected function') + if (!Me.isLazy(E, k)) { + throw new Error( + "Unexpected lazy value with non-this target (can't pass through lazy values)" + ) + } + q = undefined + const v = Me.getLazySerializedValue(E) + if (v) { + if (typeof v === 'function') { + throw new Error( + "Unexpected lazy value with non-this target (can't pass through lazy values)" + ) + } else { + L.push(v) + } + } else { + const v = E() + if (v) { + const q = Me.getLazyOptions(E) + L.push( + serialize(k, v, (q && q.name) || true, P, R).then((k) => { + E.options.size = k.size + N.set(k, E) + return k + }) + ) + } else { + throw new Error( + 'Unexpected falsy value returned by lazy value function' + ) + } + } + } else if (E) { + if (q) { + q.push(E) + } else { + q = [E] + L.push(q) + } + } else { + throw new Error('Unexpected falsy value in items array') + } + } + const ae = [] + const le = (await Promise.all(L)).map((k) => { + if (Array.isArray(k) || Buffer.isBuffer(k)) return k + ae.push(k.backgroundJob) + const v = k.name + const E = Buffer.from(v) + const P = Buffer.allocUnsafe(8 + E.length) + Ue(P, k.size, 0) + E.copy(P, 8, 0) + const R = N.get(k) + Me.setLazySerializedValue(R, P) + return P + }) + const pe = [] + for (const k of le) { + if (Array.isArray(k)) { + let v = 0 + for (const E of k) v += E.length + while (v > 2147483647) { + pe.push(2147483647) + v -= 2147483647 + } + pe.push(v) + } else if (k) { + pe.push(-k.length) + } else { + throw new Error('Unexpected falsy value in resolved data ' + k) + } + } + const me = Buffer.allocUnsafe(8 + pe.length * 4) + me.writeUInt32LE(Te, 0) + me.writeUInt32LE(pe.length, 4) + for (let k = 0; k < pe.length; k++) { + me.writeInt32LE(pe[k], 8 + k * 4) + } + const ye = [me] + for (const k of le) { + if (Array.isArray(k)) { + for (const v of k) ye.push(v) + } else if (k) { + ye.push(k) + } + } + if (E === true) { + E = hashForName(ye, R) + } + let _e = 0 + for (const k of ye) _e += k.length + ae.push(P(E, ye, _e)) + return { + size: _e, + name: E, + backgroundJob: ae.length === 1 ? ae[0] : Promise.all(ae), + } + } + const deserialize = async (k, v, E) => { + const P = await E(v) + if (P.length === 0) throw new Error('Empty file ' + v) + let R = 0 + let L = P[0] + let N = L.length + let q = 0 + if (N === 0) throw new Error('Empty file ' + v) + const nextContent = () => { + R++ + L = P[R] + N = L.length + q = 0 + } + const ensureData = (k) => { + if (q === N) { + nextContent() + } + while (N - q < k) { + const v = L.slice(q) + let E = k - v.length + const ae = [v] + for (let k = R + 1; k < P.length; k++) { + const v = P[k].length + if (v > E) { + ae.push(P[k].slice(0, E)) + P[k] = P[k].slice(E) + E = 0 + break + } else { + ae.push(P[k]) + R = k + E -= v + } + } + if (E > 0) throw new Error('Unexpected end of data') + L = Buffer.concat(ae, k) + N = k + q = 0 + } + } + const readUInt32LE = () => { + ensureData(4) + const k = L.readUInt32LE(q) + q += 4 + return k + } + const readInt32LE = () => { + ensureData(4) + const k = L.readInt32LE(q) + q += 4 + return k + } + const readSlice = (k) => { + ensureData(k) + if (q === 0 && N === k) { + const v = L + if (R + 1 < P.length) { + nextContent() + } else { + q = k + } + return v + } + const v = L.slice(q, q + k) + q += k + return k * 2 < L.buffer.byteLength ? Buffer.from(v) : v + } + const ae = readUInt32LE() + if (ae !== Te) { + throw new Error('Invalid file version') + } + const le = readUInt32LE() + const pe = [] + let me = false + for (let k = 0; k < le; k++) { + const k = readInt32LE() + const v = k >= 0 + if (me && v) { + pe[pe.length - 1] += k + } else { + pe.push(k) + me = v + } + } + const ye = [] + for (let v of pe) { + if (v < 0) { + const P = readSlice(-v) + const R = Number(Ge(P, 0)) + const L = P.slice(8) + const N = L.toString() + ye.push( + Me.createLazy( + Ie(() => deserialize(k, N, E)), + k, + { name: N, size: R }, + P + ) + ) + } else { + if (q === N) { + nextContent() + } else if (q !== 0) { + if (v <= N - q) { + ye.push(Buffer.from(L.buffer, L.byteOffset + q, v)) + q += v + v = 0 + } else { + const k = N - q + ye.push(Buffer.from(L.buffer, L.byteOffset + q, k)) + v -= k + q = N + } + } else { + if (v >= N) { + ye.push(L) + v -= N + q = N + } else { + ye.push(Buffer.from(L.buffer, L.byteOffset, v)) + q += v + v = 0 + } + } + while (v > 0) { + nextContent() + if (v >= N) { + ye.push(L) + v -= N + q = N + } else { + ye.push(Buffer.from(L.buffer, L.byteOffset, v)) + q += v + v = 0 + } + } + } + } + return ye + } + class FileMiddleware extends Me { + constructor(k, v = 'md4') { + super() + this.fs = k + this._hashFunction = v + } + serialize(k, v) { + const { filename: E, extension: P = '' } = v + return new Promise((v, N) => { + _e(this.fs, me(this.fs, E), (ae) => { + if (ae) return N(ae) + const pe = new Set() + const writeFile = async (k, v, N) => { + const ae = k ? ye(this.fs, E, `../${k}${P}`) : E + await new Promise((k, E) => { + let P = this.fs.createWriteStream(ae + '_') + let pe + if (ae.endsWith('.gz')) { + pe = q({ chunkSize: Be, level: le.Z_BEST_SPEED }) + } else if (ae.endsWith('.br')) { + pe = L({ + chunkSize: Be, + params: { + [le.BROTLI_PARAM_MODE]: le.BROTLI_MODE_TEXT, + [le.BROTLI_PARAM_QUALITY]: 2, + [le.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]: true, + [le.BROTLI_PARAM_SIZE_HINT]: N, + }, + }) + } + if (pe) { + R(pe, P, E) + P = pe + P.on('finish', () => k()) + } else { + P.on('error', (k) => E(k)) + P.on('finish', () => k()) + } + const me = [] + for (const k of v) { + if (k.length < Ne) { + me.push(k) + } else { + for (let v = 0; v < k.length; v += Ne) { + me.push(k.slice(v, v + Ne)) + } + } + } + const ye = me.length + let _e = 0 + const batchWrite = (k) => { + if (k) return + if (_e === ye) { + P.end() + return + } + let v = _e + let E = me[v++].length + while (v < ye) { + E += me[v].length + if (E > je) break + v++ + } + while (_e < v - 1) { + P.write(me[_e++]) + } + P.write(me[_e++], batchWrite) + } + batchWrite() + }) + if (k) pe.add(ae) + } + v( + serialize(this, k, false, writeFile, this._hashFunction).then( + async ({ backgroundJob: k }) => { + await k + await new Promise((k) => + this.fs.rename(E, E + '.old', (v) => { + k() + }) + ) + await Promise.all( + Array.from( + pe, + (k) => + new Promise((v, E) => { + this.fs.rename(k + '_', k, (k) => { + if (k) return E(k) + v() + }) + }) + ) + ) + await new Promise((k) => { + this.fs.rename(E + '_', E, (v) => { + if (v) return N(v) + k() + }) + }) + return true + } + ) + ) + }) + }) + } + deserialize(k, v) { + const { filename: E, extension: R = '' } = v + const readFile = (k) => + new Promise((v, L) => { + const q = k ? ye(this.fs, E, `../${k}${R}`) : E + this.fs.stat(q, (k, E) => { + if (k) { + L(k) + return + } + let R = E.size + let le + let pe + const me = [] + let ye + if (q.endsWith('.gz')) { + ye = ae({ chunkSize: qe }) + } else if (q.endsWith('.br')) { + ye = N({ chunkSize: qe }) + } + if (ye) { + let k, E + v( + Promise.all([ + new Promise((v, P) => { + k = v + E = P + }), + new Promise((k, v) => { + ye.on('data', (k) => me.push(k)) + ye.on('end', () => k()) + ye.on('error', (k) => v(k)) + }), + ]).then(() => me) + ) + v = k + L = E + } + this.fs.open(q, 'r', (k, E) => { + if (k) { + L(k) + return + } + const read = () => { + if (le === undefined) { + le = Buffer.allocUnsafeSlow( + Math.min(P.MAX_LENGTH, R, ye ? qe : Infinity) + ) + pe = 0 + } + let k = le + let N = pe + let q = le.length - pe + if (N > 2147483647) { + k = le.slice(N) + N = 0 + } + if (q > 2147483647) { + q = 2147483647 + } + this.fs.read(E, k, N, q, null, (k, P) => { + if (k) { + this.fs.close(E, () => { + L(k) + }) + return + } + pe += P + R -= P + if (pe === le.length) { + if (ye) { + ye.write(le) + } else { + me.push(le) + } + le = undefined + if (R === 0) { + if (ye) { + ye.end() + } + this.fs.close(E, (k) => { + if (k) { + L(k) + return + } + v(me) + }) + return + } + } + read() + }) + } + read() + }) + }) + }) + return deserialize(this, false, readFile) + } + } + k.exports = FileMiddleware + }, + 61681: function (k) { + 'use strict' + class MapObjectSerializer { + serialize(k, v) { + v.write(k.size) + for (const E of k.keys()) { + v.write(E) + } + for (const E of k.values()) { + v.write(E) + } + } + deserialize(k) { + let v = k.read() + const E = new Map() + const P = [] + for (let E = 0; E < v; E++) { + P.push(k.read()) + } + for (let R = 0; R < v; R++) { + E.set(P[R], k.read()) + } + return E + } + } + k.exports = MapObjectSerializer + }, + 20205: function (k) { + 'use strict' + class NullPrototypeObjectSerializer { + serialize(k, v) { + const E = Object.keys(k) + for (const k of E) { + v.write(k) + } + v.write(null) + for (const P of E) { + v.write(k[P]) + } + } + deserialize(k) { + const v = Object.create(null) + const E = [] + let P = k.read() + while (P !== null) { + E.push(P) + P = k.read() + } + for (const P of E) { + v[P] = k.read() + } + return v + } + } + k.exports = NullPrototypeObjectSerializer + }, + 67085: function (k, v, E) { + 'use strict' + const P = E(74012) + const R = E(73184) + const L = E(4671) + const N = E(52596) + const q = E(61681) + const ae = E(20205) + const le = E(90103) + const pe = E(50986) + const me = E(5505) + const ye = E(73618) + const setSetSize = (k, v) => { + let E = 0 + for (const P of k) { + if (E++ >= v) { + k.delete(P) + } + } + } + const setMapSize = (k, v) => { + let E = 0 + for (const P of k.keys()) { + if (E++ >= v) { + k.delete(P) + } + } + } + const toHash = (k, v) => { + const E = P(v) + E.update(k) + return E.digest('latin1') + } + const _e = null + const Ie = null + const Me = true + const Te = false + const je = 2 + const Ne = new Map() + const Be = new Map() + const qe = new Set() + const Ue = {} + const Ge = new Map() + Ge.set(Object, new le()) + Ge.set(Array, new R()) + Ge.set(null, new ae()) + Ge.set(Map, new q()) + Ge.set(Set, new ye()) + Ge.set(Date, new L()) + Ge.set(RegExp, new pe()) + Ge.set(Error, new N(Error)) + Ge.set(EvalError, new N(EvalError)) + Ge.set(RangeError, new N(RangeError)) + Ge.set(ReferenceError, new N(ReferenceError)) + Ge.set(SyntaxError, new N(SyntaxError)) + Ge.set(TypeError, new N(TypeError)) + if (v.constructor !== Object) { + const k = v.constructor + const E = k.constructor + for (const [k, v] of Array.from(Ge)) { + if (k) { + const P = new E(`return ${k.name};`)() + Ge.set(P, v) + } + } + } + { + let k = 1 + for (const [v, E] of Ge) { + Ne.set(v, { request: '', name: k++, serializer: E }) + } + } + for (const { request: k, name: v, serializer: E } of Ne.values()) { + Be.set(`${k}/${v}`, E) + } + const He = new Map() + class ObjectMiddleware extends me { + constructor(k, v = 'md4') { + super() + this.extendContext = k + this._hashFunction = v + } + static registerLoader(k, v) { + He.set(k, v) + } + static register(k, v, E, P) { + const R = v + '/' + E + if (Ne.has(k)) { + throw new Error( + `ObjectMiddleware.register: serializer for ${k.name} is already registered` + ) + } + if (Be.has(R)) { + throw new Error( + `ObjectMiddleware.register: serializer for ${R} is already registered` + ) + } + Ne.set(k, { request: v, name: E, serializer: P }) + Be.set(R, P) + } + static registerNotSerializable(k) { + if (Ne.has(k)) { + throw new Error( + `ObjectMiddleware.registerNotSerializable: serializer for ${k.name} is already registered` + ) + } + Ne.set(k, Ue) + } + static getSerializerFor(k) { + const v = Object.getPrototypeOf(k) + let E + if (v === null) { + E = null + } else { + E = v.constructor + if (!E) { + throw new Error( + 'Serialization of objects with prototype without valid constructor property not possible' + ) + } + } + const P = Ne.get(E) + if (!P) throw new Error(`No serializer registered for ${E.name}`) + if (P === Ue) throw Ue + return P + } + static getDeserializerFor(k, v) { + const E = k + '/' + v + const P = Be.get(E) + if (P === undefined) { + throw new Error(`No deserializer registered for ${E}`) + } + return P + } + static _getDeserializerForWithoutError(k, v) { + const E = k + '/' + v + const P = Be.get(E) + return P + } + serialize(k, v) { + let E = [je] + let P = 0 + let R = new Map() + const addReferenceable = (k) => { + R.set(k, P++) + } + let L = new Map() + const dedupeBuffer = (k) => { + const v = k.length + const E = L.get(v) + if (E === undefined) { + L.set(v, k) + return k + } + if (Buffer.isBuffer(E)) { + if (v < 32) { + if (k.equals(E)) { + return E + } + L.set(v, [E, k]) + return k + } else { + const P = toHash(E, this._hashFunction) + const R = new Map() + R.set(P, E) + L.set(v, R) + const N = toHash(k, this._hashFunction) + if (P === N) { + return E + } + return k + } + } else if (Array.isArray(E)) { + if (E.length < 16) { + for (const v of E) { + if (k.equals(v)) { + return v + } + } + E.push(k) + return k + } else { + const P = new Map() + const R = toHash(k, this._hashFunction) + let N + for (const k of E) { + const v = toHash(k, this._hashFunction) + P.set(v, k) + if (N === undefined && v === R) N = k + } + L.set(v, P) + if (N === undefined) { + P.set(R, k) + return k + } else { + return N + } + } + } else { + const v = toHash(k, this._hashFunction) + const P = E.get(v) + if (P !== undefined) { + return P + } + E.set(v, k) + return k + } + } + let N = 0 + let q = new Map() + const ae = new Set() + const stackToString = (k) => { + const v = Array.from(ae) + v.push(k) + return v + .map((k) => { + if (typeof k === 'string') { + if (k.length > 100) { + return `String ${JSON.stringify(k.slice(0, 100)).slice( + 0, + -1 + )}..."` + } + return `String ${JSON.stringify(k)}` + } + try { + const { request: v, name: E } = + ObjectMiddleware.getSerializerFor(k) + if (v) { + return `${v}${E ? `.${E}` : ''}` + } + } catch (k) {} + if (typeof k === 'object' && k !== null) { + if (k.constructor) { + if (k.constructor === Object) + return `Object { ${Object.keys(k).join(', ')} }` + if (k.constructor === Map) return `Map { ${k.size} items }` + if (k.constructor === Array) + return `Array { ${k.length} items }` + if (k.constructor === Set) return `Set { ${k.size} items }` + if (k.constructor === RegExp) return k.toString() + return `${k.constructor.name}` + } + return `Object [null prototype] { ${Object.keys(k).join( + ', ' + )} }` + } + if (typeof k === 'bigint') { + return `BigInt ${k}n` + } + try { + return `${k}` + } catch (k) { + return `(${k.message})` + } + }) + .join(' -> ') + } + let le + let pe = { + write(k, v) { + try { + process(k) + } catch (v) { + if (v !== Ue) { + if (le === undefined) le = new WeakSet() + if (!le.has(v)) { + v.message += `\nwhile serializing ${stackToString(k)}` + le.add(v) + } + } + throw v + } + }, + setCircularReference(k) { + addReferenceable(k) + }, + snapshot() { + return { + length: E.length, + cycleStackSize: ae.size, + referenceableSize: R.size, + currentPos: P, + objectTypeLookupSize: q.size, + currentPosTypeLookup: N, + } + }, + rollback(k) { + E.length = k.length + setSetSize(ae, k.cycleStackSize) + setMapSize(R, k.referenceableSize) + P = k.currentPos + setMapSize(q, k.objectTypeLookupSize) + N = k.currentPosTypeLookup + }, + ...v, + } + this.extendContext(pe) + const process = (k) => { + if (Buffer.isBuffer(k)) { + const v = R.get(k) + if (v !== undefined) { + E.push(_e, v - P) + return + } + const L = dedupeBuffer(k) + if (L !== k) { + const v = R.get(L) + if (v !== undefined) { + R.set(k, v) + E.push(_e, v - P) + return + } + k = L + } + addReferenceable(k) + E.push(k) + } else if (k === _e) { + E.push(_e, Ie) + } else if (typeof k === 'object') { + const v = R.get(k) + if (v !== undefined) { + E.push(_e, v - P) + return + } + if (ae.has(k)) { + throw new Error( + `This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.` + ) + } + const { + request: L, + name: le, + serializer: me, + } = ObjectMiddleware.getSerializerFor(k) + const ye = `${L}/${le}` + const Ie = q.get(ye) + if (Ie === undefined) { + q.set(ye, N++) + E.push(_e, L, le) + } else { + E.push(_e, N - Ie) + } + ae.add(k) + try { + me.serialize(k, pe) + } finally { + ae.delete(k) + } + E.push(_e, Me) + addReferenceable(k) + } else if (typeof k === 'string') { + if (k.length > 1) { + const v = R.get(k) + if (v !== undefined) { + E.push(_e, v - P) + return + } + addReferenceable(k) + } + if (k.length > 102400 && v.logger) { + v.logger.warn( + `Serializing big strings (${Math.round( + k.length / 1024 + )}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)` + ) + } + E.push(k) + } else if (typeof k === 'function') { + if (!me.isLazy(k)) throw new Error('Unexpected function ' + k) + const P = me.getLazySerializedValue(k) + if (P !== undefined) { + if (typeof P === 'function') { + E.push(P) + } else { + throw new Error('Not implemented') + } + } else if (me.isLazy(k, this)) { + throw new Error('Not implemented') + } else { + const P = me.serializeLazy(k, (k) => this.serialize([k], v)) + me.setLazySerializedValue(k, P) + E.push(P) + } + } else if (k === undefined) { + E.push(_e, Te) + } else { + E.push(k) + } + } + try { + for (const v of k) { + process(v) + } + return E + } catch (k) { + if (k === Ue) return null + throw k + } finally { + k = E = R = L = q = pe = undefined + } + } + deserialize(k, v) { + let E = 0 + const read = () => { + if (E >= k.length) throw new Error('Unexpected end of stream') + return k[E++] + } + if (read() !== je) + throw new Error('Version mismatch, serializer changed') + let P = 0 + let R = [] + const addReferenceable = (k) => { + R.push(k) + P++ + } + let L = 0 + let N = [] + let q = [] + let ae = { + read() { + return decodeValue() + }, + setCircularReference(k) { + addReferenceable(k) + }, + ...v, + } + this.extendContext(ae) + const decodeValue = () => { + const k = read() + if (k === _e) { + const k = read() + if (k === Ie) { + return _e + } else if (k === Te) { + return undefined + } else if (k === Me) { + throw new Error(`Unexpected end of object at position ${E - 1}`) + } else { + const v = k + let q + if (typeof v === 'number') { + if (v < 0) { + return R[P + v] + } + q = N[L - v] + } else { + if (typeof v !== 'string') { + throw new Error( + `Unexpected type (${typeof v}) of request ` + + `at position ${E - 1}` + ) + } + const k = read() + q = ObjectMiddleware._getDeserializerForWithoutError(v, k) + if (q === undefined) { + if (v && !qe.has(v)) { + let k = false + for (const [E, P] of He) { + if (E.test(v)) { + if (P(v)) { + k = true + break + } + } + } + if (!k) { + require(v) + } + qe.add(v) + } + q = ObjectMiddleware.getDeserializerFor(v, k) + } + N.push(q) + L++ + } + try { + const k = q.deserialize(ae) + const v = read() + if (v !== _e) { + throw new Error('Expected end of object') + } + const E = read() + if (E !== Me) { + throw new Error('Expected end of object') + } + addReferenceable(k) + return k + } catch (k) { + let v + for (const k of Ne) { + if (k[1].serializer === q) { + v = k + break + } + } + const E = !v + ? 'unknown' + : !v[1].request + ? v[0].name + : v[1].name + ? `${v[1].request} ${v[1].name}` + : v[1].request + k.message += `\n(during deserialization of ${E})` + throw k + } + } + } else if (typeof k === 'string') { + if (k.length > 1) { + addReferenceable(k) + } + return k + } else if (Buffer.isBuffer(k)) { + addReferenceable(k) + return k + } else if (typeof k === 'function') { + return me.deserializeLazy(k, (k) => this.deserialize(k, v)[0]) + } else { + return k + } + } + try { + while (E < k.length) { + q.push(decodeValue()) + } + return q + } finally { + q = R = k = N = ae = undefined + } + } + } + k.exports = ObjectMiddleware + k.exports.NOT_SERIALIZABLE = Ue + }, + 90103: function (k) { + 'use strict' + const v = new WeakMap() + class ObjectStructure { + constructor() { + this.keys = undefined + this.children = undefined + } + getKeys(k) { + if (this.keys === undefined) this.keys = k + return this.keys + } + key(k) { + if (this.children === undefined) this.children = new Map() + const v = this.children.get(k) + if (v !== undefined) return v + const E = new ObjectStructure() + this.children.set(k, E) + return E + } + } + const getCachedKeys = (k, E) => { + let P = v.get(E) + if (P === undefined) { + P = new ObjectStructure() + v.set(E, P) + } + let R = P + for (const v of k) { + R = R.key(v) + } + return R.getKeys(k) + } + class PlainObjectSerializer { + serialize(k, v) { + const E = Object.keys(k) + if (E.length > 128) { + v.write(E) + for (const P of E) { + v.write(k[P]) + } + } else if (E.length > 1) { + v.write(getCachedKeys(E, v.write)) + for (const P of E) { + v.write(k[P]) + } + } else if (E.length === 1) { + const P = E[0] + v.write(P) + v.write(k[P]) + } else { + v.write(null) + } + } + deserialize(k) { + const v = k.read() + const E = {} + if (Array.isArray(v)) { + for (const P of v) { + E[P] = k.read() + } + } else if (v !== null) { + E[v] = k.read() + } + return E + } + } + k.exports = PlainObjectSerializer + }, + 50986: function (k) { + 'use strict' + class RegExpObjectSerializer { + serialize(k, v) { + v.write(k.source) + v.write(k.flags) + } + deserialize(k) { + return new RegExp(k.read(), k.read()) + } + } + k.exports = RegExpObjectSerializer + }, + 90827: function (k) { + 'use strict' + class Serializer { + constructor(k, v) { + this.serializeMiddlewares = k.slice() + this.deserializeMiddlewares = k.slice().reverse() + this.context = v + } + serialize(k, v) { + const E = { ...v, ...this.context } + let P = k + for (const k of this.serializeMiddlewares) { + if (P && typeof P.then === 'function') { + P = P.then((v) => v && k.serialize(v, E)) + } else if (P) { + try { + P = k.serialize(P, E) + } catch (k) { + P = Promise.reject(k) + } + } else break + } + return P + } + deserialize(k, v) { + const E = { ...v, ...this.context } + let P = k + for (const k of this.deserializeMiddlewares) { + if (P && typeof P.then === 'function') { + P = P.then((v) => k.deserialize(v, E)) + } else { + P = k.deserialize(P, E) + } + } + return P + } + } + k.exports = Serializer + }, + 5505: function (k, v, E) { + 'use strict' + const P = E(20631) + const R = Symbol('lazy serialization target') + const L = Symbol('lazy serialization data') + class SerializerMiddleware { + serialize(k, v) { + const P = E(60386) + throw new P() + } + deserialize(k, v) { + const P = E(60386) + throw new P() + } + static createLazy(k, v, E = {}, P) { + if (SerializerMiddleware.isLazy(k, v)) return k + const N = typeof k === 'function' ? k : () => k + N[R] = v + N.options = E + N[L] = P + return N + } + static isLazy(k, v) { + if (typeof k !== 'function') return false + const E = k[R] + return v ? E === v : !!E + } + static getLazyOptions(k) { + if (typeof k !== 'function') return undefined + return k.options + } + static getLazySerializedValue(k) { + if (typeof k !== 'function') return undefined + return k[L] + } + static setLazySerializedValue(k, v) { + k[L] = v + } + static serializeLazy(k, v) { + const E = P(() => { + const E = k() + if (E && typeof E.then === 'function') { + return E.then((k) => k && v(k)) + } + return v(E) + }) + E[R] = k[R] + E.options = k.options + k[L] = E + return E + } + static deserializeLazy(k, v) { + const E = P(() => { + const E = k() + if (E && typeof E.then === 'function') { + return E.then((k) => v(k)) + } + return v(E) + }) + E[R] = k[R] + E.options = k.options + E[L] = k + return E + } + static unMemoizeLazy(k) { + if (!SerializerMiddleware.isLazy(k)) return k + const fn = () => { + throw new Error( + "A lazy value that has been unmemorized can't be called again" + ) + } + fn[L] = SerializerMiddleware.unMemoizeLazy(k[L]) + fn[R] = k[R] + fn.options = k.options + return fn + } + } + k.exports = SerializerMiddleware + }, + 73618: function (k) { + 'use strict' + class SetObjectSerializer { + serialize(k, v) { + v.write(k.size) + for (const E of k) { + v.write(E) + } + } + deserialize(k) { + let v = k.read() + const E = new Set() + for (let P = 0; P < v; P++) { + E.add(k.read()) + } + return E + } + } + k.exports = SetObjectSerializer + }, + 90341: function (k, v, E) { + 'use strict' + const P = E(5505) + class SingleItemMiddleware extends P { + serialize(k, v) { + return [k] + } + deserialize(k, v) { + return k[0] + } + } + k.exports = SingleItemMiddleware + }, + 18036: function (k, v, E) { + 'use strict' + const P = E(77373) + const R = E(58528) + class ConsumeSharedFallbackDependency extends P { + constructor(k) { + super(k) + } + get type() { + return 'consume shared fallback' + } + get category() { + return 'esm' + } + } + R( + ConsumeSharedFallbackDependency, + 'webpack/lib/sharing/ConsumeSharedFallbackDependency' + ) + k.exports = ConsumeSharedFallbackDependency + }, + 81860: function (k, v, E) { + 'use strict' + const { RawSource: P } = E(51255) + const R = E(75081) + const L = E(88396) + const { WEBPACK_MODULE_TYPE_CONSUME_SHARED_MODULE: N } = E(93622) + const q = E(56727) + const ae = E(58528) + const { rangeToString: le, stringifyHoley: pe } = E(51542) + const me = E(18036) + const ye = new Set(['consume-shared']) + class ConsumeSharedModule extends L { + constructor(k, v) { + super(N, k) + this.options = v + } + identifier() { + const { + shareKey: k, + shareScope: v, + importResolved: E, + requiredVersion: P, + strictVersion: R, + singleton: L, + eager: q, + } = this.options + return `${N}|${v}|${k}|${P && le(P)}|${R}|${E}|${L}|${q}` + } + readableIdentifier(k) { + const { + shareKey: v, + shareScope: E, + importResolved: P, + requiredVersion: R, + strictVersion: L, + singleton: N, + eager: q, + } = this.options + return `consume shared module (${E}) ${v}@${R ? le(R) : '*'}${ + L ? ' (strict)' : '' + }${N ? ' (singleton)' : ''}${ + P ? ` (fallback: ${k.shorten(P)})` : '' + }${q ? ' (eager)' : ''}` + } + libIdent(k) { + const { shareKey: v, shareScope: E, import: P } = this.options + return `${ + this.layer ? `(${this.layer})/` : '' + }webpack/sharing/consume/${E}/${v}${P ? `/${P}` : ''}` + } + needBuild(k, v) { + v(null, !this.buildInfo) + } + build(k, v, E, P, L) { + this.buildMeta = {} + this.buildInfo = {} + if (this.options.import) { + const k = new me(this.options.import) + if (this.options.eager) { + this.addDependency(k) + } else { + const v = new R({}) + v.addDependency(k) + this.addBlock(v) + } + } + L() + } + getSourceTypes() { + return ye + } + size(k) { + return 42 + } + updateHash(k, v) { + k.update(JSON.stringify(this.options)) + super.updateHash(k, v) + } + codeGeneration({ chunkGraph: k, moduleGraph: v, runtimeTemplate: E }) { + const R = new Set([q.shareScopeMap]) + const { + shareScope: L, + shareKey: N, + strictVersion: ae, + requiredVersion: le, + import: me, + singleton: ye, + eager: _e, + } = this.options + let Ie + if (me) { + if (_e) { + const v = this.dependencies[0] + Ie = E.syncModuleFactory({ + dependency: v, + chunkGraph: k, + runtimeRequirements: R, + request: this.options.import, + }) + } else { + const v = this.blocks[0] + Ie = E.asyncModuleFactory({ + block: v, + chunkGraph: k, + runtimeRequirements: R, + request: this.options.import, + }) + } + } + let Me = 'load' + const Te = [JSON.stringify(L), JSON.stringify(N)] + if (le) { + if (ae) { + Me += 'Strict' + } + if (ye) { + Me += 'Singleton' + } + Te.push(pe(le)) + Me += 'VersionCheck' + } else { + if (ye) { + Me += 'Singleton' + } + } + if (Ie) { + Me += 'Fallback' + Te.push(Ie) + } + const je = E.returningFunction(`${Me}(${Te.join(', ')})`) + const Ne = new Map() + Ne.set('consume-shared', new P(je)) + return { runtimeRequirements: R, sources: Ne } + } + serialize(k) { + const { write: v } = k + v(this.options) + super.serialize(k) + } + deserialize(k) { + const { read: v } = k + this.options = v() + super.deserialize(k) + } + } + ae(ConsumeSharedModule, 'webpack/lib/sharing/ConsumeSharedModule') + k.exports = ConsumeSharedModule + }, + 73485: function (k, v, E) { + 'use strict' + const P = E(69734) + const R = E(56727) + const L = E(71572) + const { parseOptions: N } = E(34869) + const q = E(12359) + const ae = E(92198) + const { parseRange: le } = E(51542) + const pe = E(18036) + const me = E(81860) + const ye = E(91847) + const _e = E(27150) + const { resolveMatchedConfigs: Ie } = E(466) + const { + isRequiredVersion: Me, + getDescriptionFile: Te, + getRequiredVersionFromDescriptionFile: je, + } = E(54068) + const Ne = ae(E(93859), () => E(61334), { + name: 'Consume Shared Plugin', + baseDataPath: 'options', + }) + const Be = { dependencyType: 'esm' } + const qe = 'ConsumeSharedPlugin' + class ConsumeSharedPlugin { + constructor(k) { + if (typeof k !== 'string') { + Ne(k) + } + this._consumes = N( + k.consumes, + (v, E) => { + if (Array.isArray(v)) + throw new Error('Unexpected array in options') + let P = + v === E || !Me(v) + ? { + import: E, + shareScope: k.shareScope || 'default', + shareKey: E, + requiredVersion: undefined, + packageName: undefined, + strictVersion: false, + singleton: false, + eager: false, + } + : { + import: E, + shareScope: k.shareScope || 'default', + shareKey: E, + requiredVersion: le(v), + strictVersion: true, + packageName: undefined, + singleton: false, + eager: false, + } + return P + }, + (v, E) => ({ + import: v.import === false ? undefined : v.import || E, + shareScope: v.shareScope || k.shareScope || 'default', + shareKey: v.shareKey || E, + requiredVersion: + typeof v.requiredVersion === 'string' + ? le(v.requiredVersion) + : v.requiredVersion, + strictVersion: + typeof v.strictVersion === 'boolean' + ? v.strictVersion + : v.import !== false && !v.singleton, + packageName: v.packageName, + singleton: !!v.singleton, + eager: !!v.eager, + }) + ) + } + apply(k) { + k.hooks.thisCompilation.tap(qe, (v, { normalModuleFactory: E }) => { + v.dependencyFactories.set(pe, E) + let N, ae, Me + const Ne = Ie(v, this._consumes).then( + ({ resolved: k, unresolved: v, prefixed: E }) => { + ae = k + N = v + Me = E + } + ) + const Ue = v.resolverFactory.get('normal', Be) + const createConsumeSharedModule = (E, R, N) => { + const requiredVersionWarning = (k) => { + const E = new L( + `No required version specified and unable to automatically determine one. ${k}` + ) + E.file = `shared module ${R}` + v.warnings.push(E) + } + const ae = + N.import && /^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(N.import) + return Promise.all([ + new Promise((L) => { + if (!N.import) return L() + const le = { + fileDependencies: new q(), + contextDependencies: new q(), + missingDependencies: new q(), + } + Ue.resolve({}, ae ? k.context : E, N.import, le, (k, E) => { + v.contextDependencies.addAll(le.contextDependencies) + v.fileDependencies.addAll(le.fileDependencies) + v.missingDependencies.addAll(le.missingDependencies) + if (k) { + v.errors.push( + new P(null, k, { + name: `resolving fallback for shared module ${R}`, + }) + ) + return L() + } + L(E) + }) + }), + new Promise((k) => { + if (N.requiredVersion !== undefined) + return k(N.requiredVersion) + let P = N.packageName + if (P === undefined) { + if (/^(\/|[A-Za-z]:|\\\\)/.test(R)) { + return k() + } + const v = /^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec(R) + if (!v) { + requiredVersionWarning( + 'Unable to extract the package name from request.' + ) + return k() + } + P = v[0] + } + Te(v.inputFileSystem, E, ['package.json'], (v, R) => { + if (v) { + requiredVersionWarning( + `Unable to read description file: ${v}` + ) + return k() + } + const { data: L, path: N } = R + if (!L) { + requiredVersionWarning( + `Unable to find description file in ${E}.` + ) + return k() + } + if (L.name === P) { + return k() + } + const q = je(L, P) + if (typeof q !== 'string') { + requiredVersionWarning( + `Unable to find required version for "${P}" in description file (${N}). It need to be in dependencies, devDependencies or peerDependencies.` + ) + return k() + } + k(le(q)) + }) + }), + ]).then( + ([v, P]) => + new me(ae ? k.context : E, { + ...N, + importResolved: v, + import: v ? N.import : undefined, + requiredVersion: P, + }) + ) + } + E.hooks.factorize.tapPromise( + qe, + ({ context: k, request: v, dependencies: E }) => + Ne.then(() => { + if (E[0] instanceof pe || E[0] instanceof _e) { + return + } + const P = N.get(v) + if (P !== undefined) { + return createConsumeSharedModule(k, v, P) + } + for (const [E, P] of Me) { + if (v.startsWith(E)) { + const R = v.slice(E.length) + return createConsumeSharedModule(k, v, { + ...P, + import: P.import ? P.import + R : undefined, + shareKey: P.shareKey + R, + }) + } + } + }) + ) + E.hooks.createModule.tapPromise( + qe, + ({ resource: k }, { context: v, dependencies: E }) => { + if (E[0] instanceof pe || E[0] instanceof _e) { + return Promise.resolve() + } + const P = ae.get(k) + if (P !== undefined) { + return createConsumeSharedModule(v, k, P) + } + return Promise.resolve() + } + ) + v.hooks.additionalTreeRuntimeRequirements.tap(qe, (k, E) => { + E.add(R.module) + E.add(R.moduleCache) + E.add(R.moduleFactoriesAddOnly) + E.add(R.shareScopeMap) + E.add(R.initializeSharing) + E.add(R.hasOwnProperty) + v.addRuntimeModule(k, new ye(E)) + }) + }) + } + } + k.exports = ConsumeSharedPlugin + }, + 91847: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + const { + parseVersionRuntimeCode: N, + versionLtRuntimeCode: q, + rangeToStringRuntimeCode: ae, + satisfyRuntimeCode: le, + } = E(51542) + class ConsumeSharedRuntimeModule extends R { + constructor(k) { + super('consumes', R.STAGE_ATTACH) + this._runtimeRequirements = k + } + generate() { + const { compilation: k, chunkGraph: v } = this + const { runtimeTemplate: E, codeGenerationResults: R } = k + const pe = {} + const me = new Map() + const ye = [] + const addModules = (k, E, P) => { + for (const L of k) { + const k = L + const N = v.getModuleId(k) + P.push(N) + me.set(N, R.getSource(k, E.runtime, 'consume-shared')) + } + } + for (const k of this.chunk.getAllAsyncChunks()) { + const E = v.getChunkModulesIterableBySourceType(k, 'consume-shared') + if (!E) continue + addModules(E, k, (pe[k.id] = [])) + } + for (const k of this.chunk.getAllInitialChunks()) { + const E = v.getChunkModulesIterableBySourceType(k, 'consume-shared') + if (!E) continue + addModules(E, k, ye) + } + if (me.size === 0) return null + return L.asString([ + N(E), + q(E), + ae(E), + le(E), + `var ensureExistence = ${E.basicFunction('scopeName, key', [ + `var scope = ${P.shareScopeMap}[scopeName];`, + `if(!scope || !${P.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( + 'scope, key, version, requiredVersion', + [ + `return "Unsatisfied version " + version + " from " + (version && scope[key][version].from) + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`, + ] + )};`, + `var getSingleton = ${E.basicFunction( + 'scope, scopeName, key, requiredVersion', + [ + 'var version = findSingletonVersionKey(scope, key);', + 'return get(scope[key][version]);', + ] + )};`, + `var getSingletonVersion = ${E.basicFunction( + 'scope, scopeName, key, requiredVersion', + [ + 'var version = findSingletonVersionKey(scope, key);', + 'if (!satisfy(requiredVersion, version)) warn(getInvalidSingletonVersionMessage(scope, 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(scope, 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 warn = ${ + this.compilation.options.output.ignoreBrowserWarnings + ? E.basicFunction('', '') + : E.basicFunction('msg', [ + 'if (typeof console !== "undefined" && console.warn) console.warn(msg);', + ]) + };`, + `var warnInvalidVersion = ${E.basicFunction( + 'scope, scopeName, key, requiredVersion', + [ + 'warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));', + ] + )};`, + `var get = ${E.basicFunction('entry', [ + 'entry.loaded = 1;', + 'return entry.get()', + ])};`, + `var init = ${E.returningFunction( + L.asString([ + 'function(scopeName, a, b, c) {', + L.indent([ + `var promise = ${P.initializeSharing}(scopeName);`, + `if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${P.shareScopeMap}[scopeName], a, b, c));`, + `return fn(scopeName, ${P.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 && ${P.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 loadSingleton = /*#__PURE__*/ init(${E.basicFunction( + 'scopeName, scope, key', + [ + 'ensureExistence(scopeName, key);', + 'return getSingleton(scope, scopeName, 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 || !${P.hasOwnProperty}(scope, key)) return fallback();`, + 'return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));', + ] + )});`, + `var loadSingletonFallback = /*#__PURE__*/ init(${E.basicFunction( + 'scopeName, scope, key, fallback', + [ + `if(!scope || !${P.hasOwnProperty}(scope, key)) return fallback();`, + 'return getSingleton(scope, scopeName, key);', + ] + )});`, + `var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${E.basicFunction( + 'scopeName, scope, key, version, fallback', + [ + `if(!scope || !${P.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 && ${P.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 || !${P.hasOwnProperty}(scope, key)) return fallback();`, + 'return getStrictSingletonVersion(scope, scopeName, key, version);', + ] + )});`, + 'var installedModules = {};', + 'var moduleToHandlerMapping = {', + L.indent( + Array.from( + me, + ([k, v]) => `${JSON.stringify(k)}: ${v.source()}` + ).join(',\n') + ), + '};', + ye.length > 0 + ? L.asString([ + `var initialConsumes = ${JSON.stringify(ye)};`, + `initialConsumes.forEach(${E.basicFunction('id', [ + `${P.moduleFactories}[id] = ${E.basicFunction('module', [ + '// Handle case when module is used sync', + 'installedModules[id] = 0;', + `delete ${P.moduleCache}[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(P.ensureChunkHandlers) + ? L.asString([ + `var chunkMapping = ${JSON.stringify(pe, null, '\t')};`, + `${P.ensureChunkHandlers}.consumes = ${E.basicFunction( + 'chunkId, promises', + [ + `if(${P.hasOwnProperty}(chunkMapping, chunkId)) {`, + L.indent([ + `chunkMapping[chunkId].forEach(${E.basicFunction('id', [ + `if(${P.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`, + `var onFactory = ${E.basicFunction('factory', [ + 'installedModules[id] = 0;', + `${P.moduleFactories}[id] = ${E.basicFunction( + 'module', + [ + `delete ${P.moduleCache}[id];`, + 'module.exports = factory();', + ] + )}`, + ])};`, + `var onError = ${E.basicFunction('error', [ + 'delete installedModules[id];', + `${P.moduleFactories}[id] = ${E.basicFunction( + 'module', + [`delete ${P.moduleCache}[id];`, 'throw error;'] + )}`, + ])};`, + 'try {', + L.indent([ + 'var promise = moduleToHandlerMapping[id]();', + 'if(promise.then) {', + L.indent( + "promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));" + ), + '} else onFactory(promise);', + ]), + '} catch(e) { onError(e); }', + ])});`, + ]), + '}', + ] + )}`, + ]) + : '// no chunk loading of consumes', + ]) + } + } + k.exports = ConsumeSharedRuntimeModule + }, + 27150: function (k, v, E) { + 'use strict' + const P = E(77373) + const R = E(58528) + class ProvideForSharedDependency extends P { + constructor(k) { + super(k) + } + get type() { + return 'provide module for shared' + } + get category() { + return 'esm' + } + } + R( + ProvideForSharedDependency, + 'webpack/lib/sharing/ProvideForSharedDependency' + ) + k.exports = ProvideForSharedDependency + }, + 49637: function (k, v, E) { + 'use strict' + const P = E(16848) + const R = E(58528) + class ProvideSharedDependency extends P { + constructor(k, v, E, P, R) { + super() + this.shareScope = k + this.name = v + this.version = E + this.request = P + this.eager = R + } + get type() { + return 'provide shared module' + } + getResourceIdentifier() { + return `provide module (${this.shareScope}) ${this.request} as ${ + this.name + } @ ${this.version}${this.eager ? ' (eager)' : ''}` + } + serialize(k) { + k.write(this.shareScope) + k.write(this.name) + k.write(this.request) + k.write(this.version) + k.write(this.eager) + super.serialize(k) + } + static deserialize(k) { + const { read: v } = k + const E = new ProvideSharedDependency(v(), v(), v(), v(), v()) + this.shareScope = k.read() + E.deserialize(k) + return E + } + } + R(ProvideSharedDependency, 'webpack/lib/sharing/ProvideSharedDependency') + k.exports = ProvideSharedDependency + }, + 31100: function (k, v, E) { + 'use strict' + const P = E(75081) + const R = E(88396) + const { WEBPACK_MODULE_TYPE_PROVIDE: L } = E(93622) + const N = E(56727) + const q = E(58528) + const ae = E(27150) + const le = new Set(['share-init']) + class ProvideSharedModule extends R { + constructor(k, v, E, P, R) { + super(L) + this._shareScope = k + this._name = v + this._version = E + this._request = P + this._eager = R + } + identifier() { + return `provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}` + } + readableIdentifier(k) { + return `provide shared module (${this._shareScope}) ${this._name}@${ + this._version + } = ${k.shorten(this._request)}` + } + libIdent(k) { + return `${ + this.layer ? `(${this.layer})/` : '' + }webpack/sharing/provide/${this._shareScope}/${this._name}` + } + needBuild(k, v) { + v(null, !this.buildInfo) + } + build(k, v, E, R, L) { + this.buildMeta = {} + this.buildInfo = { strict: true } + this.clearDependenciesAndBlocks() + const N = new ae(this._request) + if (this._eager) { + this.addDependency(N) + } else { + const k = new P({}) + k.addDependency(N) + this.addBlock(k) + } + L() + } + size(k) { + return 42 + } + getSourceTypes() { + return le + } + codeGeneration({ runtimeTemplate: k, moduleGraph: v, chunkGraph: E }) { + const P = new Set([N.initializeSharing]) + const R = `register(${JSON.stringify(this._name)}, ${JSON.stringify( + this._version || '0' + )}, ${ + this._eager + ? k.syncModuleFactory({ + dependency: this.dependencies[0], + chunkGraph: E, + request: this._request, + runtimeRequirements: P, + }) + : k.asyncModuleFactory({ + block: this.blocks[0], + chunkGraph: E, + request: this._request, + runtimeRequirements: P, + }) + }${this._eager ? ', 1' : ''});` + const L = new Map() + const q = new Map() + q.set('share-init', [ + { shareScope: this._shareScope, initStage: 10, init: R }, + ]) + return { sources: L, data: q, runtimeRequirements: P } + } + serialize(k) { + const { write: v } = k + v(this._shareScope) + v(this._name) + v(this._version) + v(this._request) + v(this._eager) + super.serialize(k) + } + static deserialize(k) { + const { read: v } = k + const E = new ProvideSharedModule(v(), v(), v(), v(), v()) + E.deserialize(k) + return E + } + } + q(ProvideSharedModule, 'webpack/lib/sharing/ProvideSharedModule') + k.exports = ProvideSharedModule + }, + 85579: function (k, v, E) { + 'use strict' + const P = E(66043) + const R = E(31100) + class ProvideSharedModuleFactory extends P { + create(k, v) { + const E = k.dependencies[0] + v(null, { + module: new R(E.shareScope, E.name, E.version, E.request, E.eager), + }) + } + } + k.exports = ProvideSharedModuleFactory + }, + 70610: function (k, v, E) { + 'use strict' + const P = E(71572) + const { parseOptions: R } = E(34869) + const L = E(92198) + const N = E(27150) + const q = E(49637) + const ae = E(85579) + const le = L(E(82285), () => E(15958), { + name: 'Provide Shared Plugin', + baseDataPath: 'options', + }) + class ProvideSharedPlugin { + constructor(k) { + le(k) + this._provides = R( + k.provides, + (v) => { + if (Array.isArray(v)) + throw new Error('Unexpected array of provides') + const E = { + shareKey: v, + version: undefined, + shareScope: k.shareScope || 'default', + eager: false, + } + return E + }, + (v) => ({ + shareKey: v.shareKey, + version: v.version, + shareScope: v.shareScope || k.shareScope || 'default', + eager: !!v.eager, + }) + ) + this._provides.sort(([k], [v]) => { + if (k < v) return -1 + if (v < k) return 1 + return 0 + }) + } + apply(k) { + const v = new WeakMap() + k.hooks.compilation.tap( + 'ProvideSharedPlugin', + (k, { normalModuleFactory: E }) => { + const R = new Map() + const L = new Map() + const N = new Map() + for (const [k, v] of this._provides) { + if (/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(k)) { + R.set(k, { config: v, version: v.version }) + } else if (/^(\/|[A-Za-z]:\\|\\\\)/.test(k)) { + R.set(k, { config: v, version: v.version }) + } else if (k.endsWith('/')) { + N.set(k, v) + } else { + L.set(k, v) + } + } + v.set(k, R) + const provideSharedModule = (v, E, L, N) => { + let q = E.version + if (q === undefined) { + let E = '' + if (!N) { + E = `No resolve data provided from resolver.` + } else { + const k = N.descriptionFileData + if (!k) { + E = + 'No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config.' + } else if (!k.version) { + E = `No version in description file (usually package.json). Add version to description file ${N.descriptionFilePath}, or manually specify version in shared config.` + } else { + q = k.version + } + } + if (!q) { + const R = new P( + `No version specified and unable to automatically determine one. ${E}` + ) + R.file = `shared module ${v} -> ${L}` + k.warnings.push(R) + } + } + R.set(L, { config: E, version: q }) + } + E.hooks.module.tap( + 'ProvideSharedPlugin', + (k, { resource: v, resourceResolveData: E }, P) => { + if (R.has(v)) { + return k + } + const { request: q } = P + { + const k = L.get(q) + if (k !== undefined) { + provideSharedModule(q, k, v, E) + P.cacheable = false + } + } + for (const [k, R] of N) { + if (q.startsWith(k)) { + const L = q.slice(k.length) + provideSharedModule( + v, + { ...R, shareKey: R.shareKey + L }, + v, + E + ) + P.cacheable = false + } + } + return k + } + ) + } + ) + k.hooks.finishMake.tapPromise('ProvideSharedPlugin', (E) => { + const P = v.get(E) + if (!P) return Promise.resolve() + return Promise.all( + Array.from( + P, + ([v, { config: P, version: R }]) => + new Promise((L, N) => { + E.addInclude( + k.context, + new q(P.shareScope, P.shareKey, R || false, v, P.eager), + { name: undefined }, + (k) => { + if (k) return N(k) + L() + } + ) + }) + ) + ).then(() => {}) + }) + k.hooks.compilation.tap( + 'ProvideSharedPlugin', + (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(N, v) + k.dependencyFactories.set(q, new ae()) + } + ) + } + } + k.exports = ProvideSharedPlugin + }, + 38084: function (k, v, E) { + 'use strict' + const { parseOptions: P } = E(34869) + const R = E(73485) + const L = E(70610) + const { isRequiredVersion: N } = E(54068) + class SharePlugin { + constructor(k) { + const v = P( + k.shared, + (k, v) => { + if (typeof k !== 'string') + throw new Error('Unexpected array in shared') + const E = + k === v || !N(k) + ? { import: k } + : { import: v, requiredVersion: k } + return E + }, + (k) => k + ) + const E = v.map(([k, v]) => ({ + [k]: { + import: v.import, + shareKey: v.shareKey || k, + shareScope: v.shareScope, + requiredVersion: v.requiredVersion, + strictVersion: v.strictVersion, + singleton: v.singleton, + packageName: v.packageName, + eager: v.eager, + }, + })) + const R = v + .filter(([, k]) => k.import !== false) + .map(([k, v]) => ({ + [v.import || k]: { + shareKey: v.shareKey || k, + shareScope: v.shareScope, + version: v.version, + eager: v.eager, + }, + })) + this._shareScope = k.shareScope + this._consumes = E + this._provides = R + } + apply(k) { + new R({ + shareScope: this._shareScope, + consumes: this._consumes, + }).apply(k) + new L({ + shareScope: this._shareScope, + provides: this._provides, + }).apply(k) + } + } + k.exports = SharePlugin + }, + 6717: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + const { compareModulesByIdentifier: N, compareStrings: q } = E(95648) + class ShareRuntimeModule extends R { + constructor() { + super('sharing') + } + generate() { + const { compilation: k, chunkGraph: v } = this + const { + runtimeTemplate: E, + codeGenerationResults: R, + outputOptions: { uniqueName: ae }, + } = k + const le = new Map() + for (const k of this.chunk.getAllReferencedChunks()) { + const E = v.getOrderedChunkModulesIterableBySourceType( + k, + 'share-init', + N + ) + if (!E) continue + for (const v of E) { + const E = R.getData(v, k.runtime, 'share-init') + if (!E) continue + for (const k of E) { + const { shareScope: v, initStage: E, init: P } = k + let R = le.get(v) + if (R === undefined) { + le.set(v, (R = new Map())) + } + let L = R.get(E || 0) + if (L === undefined) { + R.set(E || 0, (L = new Set())) + } + L.add(P) + } + } + } + return L.asString([ + `${P.shareScopeMap} = {};`, + 'var initPromises = {};', + 'var initTokens = {};', + `${P.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(!${P.hasOwnProperty}(${P.shareScopeMap}, name)) ${P.shareScopeMap}[name] = {};`, + '// runs all init snippets from all modules reachable', + `var scope = ${P.shareScopeMap}[name];`, + `var warn = ${ + this.compilation.options.output.ignoreBrowserWarnings + ? E.basicFunction('', '') + : E.basicFunction('msg', [ + 'if (typeof console !== "undefined" && console.warn) console.warn(msg);', + ]) + };`, + `var uniqueName = ${JSON.stringify(ae || undefined)};`, + `var register = ${E.basicFunction( + 'name, version, factory, eager', + [ + 'var versions = scope[name] = scope[name] || {};', + 'var activeVersion = versions[version];', + 'if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };', + ] + )};`, + `var initExternal = ${E.basicFunction('id', [ + `var handleError = ${E.expressionFunction( + 'warn("Initialization of sharing external failed: " + err)', + 'err' + )};`, + 'try {', + L.indent([ + `var module = ${P.require}(id);`, + 'if(!module) return;', + `var initFn = ${E.returningFunction( + `module && module.init && module.init(${P.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(le) + .sort(([k], [v]) => q(k, v)) + .map(([k, v]) => + L.indent([ + `case ${JSON.stringify(k)}: {`, + L.indent( + Array.from(v) + .sort(([k], [v]) => k - v) + .map(([, k]) => L.asString(Array.from(k))) + ), + '}', + 'break;', + ]) + ), + '}', + 'if(!promises.length) return initPromises[name] = 1;', + `return initPromises[name] = Promise.all(promises).then(${E.returningFunction( + 'initPromises[name] = 1' + )});`, + ])};`, + ]) + } + } + k.exports = ShareRuntimeModule + }, + 466: function (k, v, E) { + 'use strict' + const P = E(69734) + const R = E(12359) + const L = { dependencyType: 'esm' } + v.resolveMatchedConfigs = (k, v) => { + const E = new Map() + const N = new Map() + const q = new Map() + const ae = { + fileDependencies: new R(), + contextDependencies: new R(), + missingDependencies: new R(), + } + const le = k.resolverFactory.get('normal', L) + const pe = k.compiler.context + return Promise.all( + v.map(([v, R]) => { + if (/^\.\.?(\/|$)/.test(v)) { + return new Promise((L) => { + le.resolve({}, pe, v, ae, (N, q) => { + if (N || q === false) { + N = N || new Error(`Can't resolve ${v}`) + k.errors.push( + new P(null, N, { name: `shared module ${v}` }) + ) + return L() + } + E.set(q, R) + L() + }) + }) + } else if (/^(\/|[A-Za-z]:\\|\\\\)/.test(v)) { + E.set(v, R) + } else if (v.endsWith('/')) { + q.set(v, R) + } else { + N.set(v, R) + } + }) + ).then(() => { + k.contextDependencies.addAll(ae.contextDependencies) + k.fileDependencies.addAll(ae.fileDependencies) + k.missingDependencies.addAll(ae.missingDependencies) + return { resolved: E, unresolved: N, prefixed: q } + }) + } + }, + 54068: function (k, v, E) { + 'use strict' + const { join: P, dirname: R, readJson: L } = E(57825) + const N = /^[^/@:.\s][^/@:\s]*\/[^@:\s]*[^/@:\s]#\S+/ + const q = /^(github|gitlab|bitbucket|gist):\/?[^/.]+\/?/i + const ae = + /^((git\+)?(ssh|https?|file)|git|github|gitlab|bitbucket|gist):$/i + const le = /^((git\+)?(ssh|https?|file)|git):\/\//i + const pe = /#(?:semver:)?(.+)/ + const me = /^(?:[^/.]+(\.[^/]+)+|localhost)$/ + const ye = /([^/@#:.]+(?:\.[^/@#:.]+)+|localhost):([^#/0-9]+)/ + const _e = /^([^/@#:.]+(?:\.[^/@#:.]+)+)/ + const Ie = /^([\d^=v<>~]|[*xX]$)/ + const Me = ['github:', 'gitlab:', 'bitbucket:', 'gist:', 'file:'] + const Te = 'git+ssh://' + const je = { + 'github.com': (k, v) => { + let [, E, P, R, L] = k.split('/', 5) + if (R && R !== 'tree') { + return + } + if (!R) { + L = v + } else { + L = '#' + L + } + if (P && P.endsWith('.git')) { + P = P.slice(0, -4) + } + if (!E || !P) { + return + } + return L + }, + 'gitlab.com': (k, v) => { + const E = k.slice(1) + if (E.includes('/-/') || E.includes('/archive.tar.gz')) { + return + } + const P = E.split('/') + let R = P.pop() + if (R.endsWith('.git')) { + R = R.slice(0, -4) + } + const L = P.join('/') + if (!L || !R) { + return + } + return v + }, + 'bitbucket.org': (k, v) => { + let [, E, P, R] = k.split('/', 4) + if (['get'].includes(R)) { + return + } + if (P && P.endsWith('.git')) { + P = P.slice(0, -4) + } + if (!E || !P) { + return + } + return v + }, + 'gist.github.com': (k, v) => { + let [, E, P, R] = k.split('/', 4) + if (R === 'raw') { + return + } + if (!P) { + if (!E) { + return + } + P = E + E = null + } + if (P.endsWith('.git')) { + P = P.slice(0, -4) + } + return v + }, + } + function getCommithash(k) { + let { hostname: v, pathname: E, hash: P } = k + v = v.replace(/^www\./, '') + try { + P = decodeURIComponent(P) + } catch (k) {} + if (je[v]) { + return je[v](E, P) || '' + } + return P + } + function correctUrl(k) { + return k.replace(ye, '$1/$2') + } + function correctProtocol(k) { + if (q.test(k)) { + return k + } + if (!le.test(k)) { + return `${Te}${k}` + } + return k + } + function getVersionFromHash(k) { + const v = k.match(pe) + return (v && v[1]) || '' + } + function canBeDecoded(k) { + try { + decodeURIComponent(k) + } catch (k) { + return false + } + return true + } + function getGitUrlVersion(k) { + let v = k + if (N.test(k)) { + k = 'github:' + k + } else { + k = correctProtocol(k) + } + k = correctUrl(k) + let E + try { + E = new URL(k) + } catch (k) {} + if (!E) { + return '' + } + const { + protocol: P, + hostname: R, + pathname: L, + username: q, + password: le, + } = E + if (!ae.test(P)) { + return '' + } + if (!L || !canBeDecoded(L)) { + return '' + } + if (_e.test(v) && !q && !le) { + return '' + } + if (!Me.includes(P.toLowerCase())) { + if (!me.test(R)) { + return '' + } + const k = getCommithash(E) + return getVersionFromHash(k) || k + } + return getVersionFromHash(k) + } + function isRequiredVersion(k) { + return Ie.test(k) + } + v.isRequiredVersion = isRequiredVersion + function normalizeVersion(k) { + k = (k && k.trim()) || '' + if (isRequiredVersion(k)) { + return k + } + return getGitUrlVersion(k.toLowerCase()) + } + v.normalizeVersion = normalizeVersion + const getDescriptionFile = (k, v, E, N) => { + let q = 0 + const tryLoadCurrent = () => { + if (q >= E.length) { + const P = R(k, v) + if (!P || P === v) return N() + return getDescriptionFile(k, P, E, N) + } + const ae = P(k, v, E[q]) + L(k, ae, (k, v) => { + if (k) { + if ('code' in k && k.code === 'ENOENT') { + q++ + return tryLoadCurrent() + } + return N(k) + } + if (!v || typeof v !== 'object' || Array.isArray(v)) { + return N(new Error(`Description file ${ae} is not an object`)) + } + N(null, { data: v, path: ae }) + }) + } + tryLoadCurrent() + } + v.getDescriptionFile = getDescriptionFile + v.getRequiredVersionFromDescriptionFile = (k, v) => { + if ( + k.optionalDependencies && + typeof k.optionalDependencies === 'object' && + v in k.optionalDependencies + ) { + return normalizeVersion(k.optionalDependencies[v]) + } + if ( + k.dependencies && + typeof k.dependencies === 'object' && + v in k.dependencies + ) { + return normalizeVersion(k.dependencies[v]) + } + if ( + k.peerDependencies && + typeof k.peerDependencies === 'object' && + v in k.peerDependencies + ) { + return normalizeVersion(k.peerDependencies[v]) + } + if ( + k.devDependencies && + typeof k.devDependencies === 'object' && + v in k.devDependencies + ) { + return normalizeVersion(k.devDependencies[v]) + } + } + }, + 57686: function (k, v, E) { + 'use strict' + const P = E(73837) + const { WEBPACK_MODULE_TYPE_RUNTIME: R } = E(93622) + const L = E(77373) + const N = E(1811) + const { LogType: q } = E(13905) + const ae = E(21684) + const le = E(338) + const { countIterable: pe } = E(54480) + const { + compareLocations: me, + compareChunksById: ye, + compareNumbers: _e, + compareIds: Ie, + concatComparators: Me, + compareSelect: Te, + compareModulesByIdentifier: je, + } = E(95648) + const { makePathsRelative: Ne, parseResource: Be } = E(65315) + const uniqueArray = (k, v) => { + const E = new Set() + for (const P of k) { + for (const k of v(P)) { + E.add(k) + } + } + return Array.from(E) + } + const uniqueOrderedArray = (k, v, E) => uniqueArray(k, v).sort(E) + const mapObject = (k, v) => { + const E = Object.create(null) + for (const P of Object.keys(k)) { + E[P] = v(k[P], P) + } + return E + } + const countWithChildren = (k, v) => { + let E = v(k, '').length + for (const P of k.children) { + E += countWithChildren(P, (k, E) => + v(k, `.children[].compilation${E}`) + ) + } + return E + } + const qe = { + _: (k, v, E, { requestShortener: P }) => { + if (typeof v === 'string') { + k.message = v + } else { + if (v.chunk) { + k.chunkName = v.chunk.name + k.chunkEntry = v.chunk.hasRuntime() + k.chunkInitial = v.chunk.canBeInitial() + } + if (v.file) { + k.file = v.file + } + if (v.module) { + k.moduleIdentifier = v.module.identifier() + k.moduleName = v.module.readableIdentifier(P) + } + if (v.loc) { + k.loc = N(v.loc) + } + k.message = v.message + } + }, + ids: (k, v, { compilation: { chunkGraph: E } }) => { + if (typeof v !== 'string') { + if (v.chunk) { + k.chunkId = v.chunk.id + } + if (v.module) { + k.moduleId = E.getModuleId(v.module) + } + } + }, + moduleTrace: (k, v, E, P, R) => { + if (typeof v !== 'string' && v.module) { + const { + type: P, + compilation: { moduleGraph: L }, + } = E + const N = new Set() + const q = [] + let ae = v.module + while (ae) { + if (N.has(ae)) break + N.add(ae) + const k = L.getIssuer(ae) + if (!k) break + q.push({ origin: k, module: ae }) + ae = k + } + k.moduleTrace = R.create(`${P}.moduleTrace`, q, E) + } + }, + errorDetails: ( + k, + v, + { type: E, compilation: P, cachedGetErrors: R, cachedGetWarnings: L }, + { errorDetails: N } + ) => { + if ( + typeof v !== 'string' && + (N === true || (E.endsWith('.error') && R(P).length < 3)) + ) { + k.details = v.details + } + }, + errorStack: (k, v) => { + if (typeof v !== 'string') { + k.stack = v.stack + } + }, + } + const Ue = { + compilation: { + _: (k, v, P, R) => { + if (!P.makePathsRelative) { + P.makePathsRelative = Ne.bindContextCache( + v.compiler.context, + v.compiler.root + ) + } + if (!P.cachedGetErrors) { + const k = new WeakMap() + P.cachedGetErrors = (v) => + k.get(v) || ((E) => (k.set(v, E), E))(v.getErrors()) + } + if (!P.cachedGetWarnings) { + const k = new WeakMap() + P.cachedGetWarnings = (v) => + k.get(v) || ((E) => (k.set(v, E), E))(v.getWarnings()) + } + if (v.name) { + k.name = v.name + } + if (v.needAdditionalPass) { + k.needAdditionalPass = true + } + const { logging: L, loggingDebug: N, loggingTrace: ae } = R + if (L || (N && N.length > 0)) { + const P = E(73837) + k.logging = {} + let le + let pe = false + switch (L) { + default: + le = new Set() + break + case 'error': + le = new Set([q.error]) + break + case 'warn': + le = new Set([q.error, q.warn]) + break + case 'info': + le = new Set([q.error, q.warn, q.info]) + break + case 'log': + le = new Set([ + q.error, + q.warn, + q.info, + q.log, + q.group, + q.groupEnd, + q.groupCollapsed, + q.clear, + ]) + break + case 'verbose': + le = new Set([ + q.error, + q.warn, + q.info, + q.log, + q.group, + q.groupEnd, + q.groupCollapsed, + q.profile, + q.profileEnd, + q.time, + q.status, + q.clear, + ]) + pe = true + break + } + const me = Ne.bindContextCache(R.context, v.compiler.root) + let ye = 0 + for (const [E, R] of v.logging) { + const v = N.some((k) => k(E)) + if (L === false && !v) continue + const _e = [] + const Ie = [] + let Me = Ie + let Te = 0 + for (const k of R) { + let E = k.type + if (!v && !le.has(E)) continue + if (E === q.groupCollapsed && (v || pe)) E = q.group + if (ye === 0) { + Te++ + } + if (E === q.groupEnd) { + _e.pop() + if (_e.length > 0) { + Me = _e[_e.length - 1].children + } else { + Me = Ie + } + if (ye > 0) ye-- + continue + } + let R = undefined + if (k.type === q.time) { + R = `${k.args[0]}: ${k.args[1] * 1e3 + k.args[2] / 1e6} ms` + } else if (k.args && k.args.length > 0) { + R = P.format(k.args[0], ...k.args.slice(1)) + } + const L = { + ...k, + type: E, + message: R, + trace: ae ? k.trace : undefined, + children: + E === q.group || E === q.groupCollapsed ? [] : undefined, + } + Me.push(L) + if (L.children) { + _e.push(L) + Me = L.children + if (ye > 0) { + ye++ + } else if (E === q.groupCollapsed) { + ye = 1 + } + } + } + let je = me(E).replace(/\|/g, ' ') + if (je in k.logging) { + let v = 1 + while (`${je}#${v}` in k.logging) { + v++ + } + je = `${je}#${v}` + } + k.logging[je] = { + entries: Ie, + filteredEntries: R.length - Te, + debug: v, + } + } + } + }, + hash: (k, v) => { + k.hash = v.hash + }, + version: (k) => { + k.version = E(35479).i8 + }, + env: (k, v, E, { _env: P }) => { + k.env = P + }, + timings: (k, v) => { + k.time = v.endTime - v.startTime + }, + builtAt: (k, v) => { + k.builtAt = v.endTime + }, + publicPath: (k, v) => { + k.publicPath = v.getPath(v.outputOptions.publicPath) + }, + outputPath: (k, v) => { + k.outputPath = v.outputOptions.path + }, + assets: (k, v, E, P, R) => { + const { type: L } = E + const N = new Map() + const q = new Map() + for (const k of v.chunks) { + for (const v of k.files) { + let E = N.get(v) + if (E === undefined) { + E = [] + N.set(v, E) + } + E.push(k) + } + for (const v of k.auxiliaryFiles) { + let E = q.get(v) + if (E === undefined) { + E = [] + q.set(v, E) + } + E.push(k) + } + } + const ae = new Map() + const le = new Set() + for (const k of v.getAssets()) { + const v = { ...k, type: 'asset', related: undefined } + le.add(v) + ae.set(k.name, v) + } + for (const k of ae.values()) { + const v = k.info.related + if (!v) continue + for (const E of Object.keys(v)) { + const P = v[E] + const R = Array.isArray(P) ? P : [P] + for (const v of R) { + const P = ae.get(v) + if (!P) continue + le.delete(P) + P.type = E + k.related = k.related || [] + k.related.push(P) + } + } + } + k.assetsByChunkName = {} + for (const [v, E] of N) { + for (const P of E) { + const E = P.name + if (!E) continue + if ( + !Object.prototype.hasOwnProperty.call(k.assetsByChunkName, E) + ) { + k.assetsByChunkName[E] = [] + } + k.assetsByChunkName[E].push(v) + } + } + const pe = R.create(`${L}.assets`, Array.from(le), { + ...E, + compilationFileToChunks: N, + compilationAuxiliaryFileToChunks: q, + }) + const me = spaceLimited(pe, P.assetsSpace) + k.assets = me.children + k.filteredAssets = me.filteredChildren + }, + chunks: (k, v, E, P, R) => { + const { type: L } = E + k.chunks = R.create(`${L}.chunks`, Array.from(v.chunks), E) + }, + modules: (k, v, E, P, R) => { + const { type: L } = E + const N = Array.from(v.modules) + const q = R.create(`${L}.modules`, N, E) + const ae = spaceLimited(q, P.modulesSpace) + k.modules = ae.children + k.filteredModules = ae.filteredChildren + }, + entrypoints: ( + k, + v, + E, + { + entrypoints: P, + chunkGroups: R, + chunkGroupAuxiliary: L, + chunkGroupChildren: N, + }, + q + ) => { + const { type: ae } = E + const le = Array.from(v.entrypoints, ([k, v]) => ({ + name: k, + chunkGroup: v, + })) + if (P === 'auto' && !R) { + if (le.length > 5) return + if ( + !N && + le.every(({ chunkGroup: k }) => { + if (k.chunks.length !== 1) return false + const v = k.chunks[0] + return ( + v.files.size === 1 && (!L || v.auxiliaryFiles.size === 0) + ) + }) + ) { + return + } + } + k.entrypoints = q.create(`${ae}.entrypoints`, le, E) + }, + chunkGroups: (k, v, E, P, R) => { + const { type: L } = E + const N = Array.from(v.namedChunkGroups, ([k, v]) => ({ + name: k, + chunkGroup: v, + })) + k.namedChunkGroups = R.create(`${L}.namedChunkGroups`, N, E) + }, + errors: (k, v, E, P, R) => { + const { type: L, cachedGetErrors: N } = E + const q = N(v) + const ae = R.create(`${L}.errors`, N(v), E) + let le = 0 + if (P.errorDetails === 'auto' && q.length >= 3) { + le = q + .map((k) => typeof k !== 'string' && k.details) + .filter(Boolean).length + } + if (P.errorDetails === true || !Number.isFinite(P.errorsSpace)) { + k.errors = ae + if (le) k.filteredErrorDetailsCount = le + return + } + const [pe, me] = errorsSpaceLimit(ae, P.errorsSpace) + k.filteredErrorDetailsCount = le + me + k.errors = pe + }, + errorsCount: (k, v, { cachedGetErrors: E }) => { + k.errorsCount = countWithChildren(v, (k) => E(k)) + }, + warnings: (k, v, E, P, R) => { + const { type: L, cachedGetWarnings: N } = E + const q = R.create(`${L}.warnings`, N(v), E) + let ae = 0 + if (P.errorDetails === 'auto') { + ae = N(v) + .map((k) => typeof k !== 'string' && k.details) + .filter(Boolean).length + } + if (P.errorDetails === true || !Number.isFinite(P.warningsSpace)) { + k.warnings = q + if (ae) k.filteredWarningDetailsCount = ae + return + } + const [le, pe] = errorsSpaceLimit(q, P.warningsSpace) + k.filteredWarningDetailsCount = ae + pe + k.warnings = le + }, + warningsCount: (k, v, E, { warningsFilter: P }, R) => { + const { type: L, cachedGetWarnings: N } = E + k.warningsCount = countWithChildren(v, (k, v) => { + if (!P && P.length === 0) return N(k) + return R.create(`${L}${v}.warnings`, N(k), E).filter((k) => { + const v = Object.keys(k) + .map((v) => `${k[v]}`) + .join('\n') + return !P.some((E) => E(k, v)) + }) + }) + }, + children: (k, v, E, P, R) => { + const { type: L } = E + k.children = R.create(`${L}.children`, v.children, E) + }, + }, + asset: { + _: (k, v, E, P, R) => { + const { compilation: L } = E + k.type = v.type + k.name = v.name + k.size = v.source.size() + k.emitted = L.emittedAssets.has(v.name) + k.comparedForEmit = L.comparedForEmitAssets.has(v.name) + const N = !k.emitted && !k.comparedForEmit + k.cached = N + k.info = v.info + if (!N || P.cachedAssets) { + Object.assign(k, R.create(`${E.type}$visible`, v, E)) + } + }, + }, + asset$visible: { + _: ( + k, + v, + { + compilation: E, + compilationFileToChunks: P, + compilationAuxiliaryFileToChunks: R, + } + ) => { + const L = P.get(v.name) || [] + const N = R.get(v.name) || [] + k.chunkNames = uniqueOrderedArray( + L, + (k) => (k.name ? [k.name] : []), + Ie + ) + k.chunkIdHints = uniqueOrderedArray( + L, + (k) => Array.from(k.idNameHints), + Ie + ) + k.auxiliaryChunkNames = uniqueOrderedArray( + N, + (k) => (k.name ? [k.name] : []), + Ie + ) + k.auxiliaryChunkIdHints = uniqueOrderedArray( + N, + (k) => Array.from(k.idNameHints), + Ie + ) + k.filteredRelated = v.related ? v.related.length : undefined + }, + relatedAssets: (k, v, E, P, R) => { + const { type: L } = E + k.related = R.create(`${L.slice(0, -8)}.related`, v.related, E) + k.filteredRelated = v.related + ? v.related.length - k.related.length + : undefined + }, + ids: ( + k, + v, + { compilationFileToChunks: E, compilationAuxiliaryFileToChunks: P } + ) => { + const R = E.get(v.name) || [] + const L = P.get(v.name) || [] + k.chunks = uniqueOrderedArray(R, (k) => k.ids, Ie) + k.auxiliaryChunks = uniqueOrderedArray(L, (k) => k.ids, Ie) + }, + performance: (k, v) => { + k.isOverSizeLimit = le.isOverSizeLimit(v.source) + }, + }, + chunkGroup: { + _: ( + k, + { name: v, chunkGroup: E }, + { compilation: P, compilation: { moduleGraph: R, chunkGraph: L } }, + { + ids: N, + chunkGroupAuxiliary: q, + chunkGroupChildren: ae, + chunkGroupMaxAssets: le, + } + ) => { + const pe = ae && E.getChildrenByOrders(R, L) + const toAsset = (k) => { + const v = P.getAsset(k) + return { name: k, size: v ? v.info.size : -1 } + } + const sizeReducer = (k, { size: v }) => k + v + const me = uniqueArray(E.chunks, (k) => k.files).map(toAsset) + const ye = uniqueOrderedArray( + E.chunks, + (k) => k.auxiliaryFiles, + Ie + ).map(toAsset) + const _e = me.reduce(sizeReducer, 0) + const Me = ye.reduce(sizeReducer, 0) + const Te = { + name: v, + chunks: N ? E.chunks.map((k) => k.id) : undefined, + assets: me.length <= le ? me : undefined, + filteredAssets: me.length <= le ? 0 : me.length, + assetsSize: _e, + auxiliaryAssets: q && ye.length <= le ? ye : undefined, + filteredAuxiliaryAssets: q && ye.length <= le ? 0 : ye.length, + auxiliaryAssetsSize: Me, + children: pe + ? mapObject(pe, (k) => + k.map((k) => { + const v = uniqueArray(k.chunks, (k) => k.files).map( + toAsset + ) + const E = uniqueOrderedArray( + k.chunks, + (k) => k.auxiliaryFiles, + Ie + ).map(toAsset) + const P = { + name: k.name, + chunks: N ? k.chunks.map((k) => k.id) : undefined, + assets: v.length <= le ? v : undefined, + filteredAssets: v.length <= le ? 0 : v.length, + auxiliaryAssets: q && E.length <= le ? E : undefined, + filteredAuxiliaryAssets: + q && E.length <= le ? 0 : E.length, + } + return P + }) + ) + : undefined, + childAssets: pe + ? mapObject(pe, (k) => { + const v = new Set() + for (const E of k) { + for (const k of E.chunks) { + for (const E of k.files) { + v.add(E) + } + } + } + return Array.from(v) + }) + : undefined, + } + Object.assign(k, Te) + }, + performance: (k, { chunkGroup: v }) => { + k.isOverSizeLimit = le.isOverSizeLimit(v) + }, + }, + module: { + _: (k, v, E, P, R) => { + const { compilation: L, type: N } = E + const q = L.builtModules.has(v) + const ae = L.codeGeneratedModules.has(v) + const le = L.buildTimeExecutedModules.has(v) + const pe = {} + for (const k of v.getSourceTypes()) { + pe[k] = v.size(k) + } + const me = { + type: 'module', + moduleType: v.type, + layer: v.layer, + size: v.size(), + sizes: pe, + built: q, + codeGenerated: ae, + buildTimeExecuted: le, + cached: !q && !ae, + } + Object.assign(k, me) + if (q || ae || P.cachedModules) { + Object.assign(k, R.create(`${N}$visible`, v, E)) + } + }, + }, + module$visible: { + _: (k, v, E, { requestShortener: P }, R) => { + const { compilation: L, type: N, rootModules: q } = E + const { moduleGraph: ae } = L + const le = [] + const me = ae.getIssuer(v) + let ye = me + while (ye) { + le.push(ye) + ye = ae.getIssuer(ye) + } + le.reverse() + const _e = ae.getProfile(v) + const Ie = v.getErrors() + const Me = Ie !== undefined ? pe(Ie) : 0 + const Te = v.getWarnings() + const je = Te !== undefined ? pe(Te) : 0 + const Ne = {} + for (const k of v.getSourceTypes()) { + Ne[k] = v.size(k) + } + const Be = { + identifier: v.identifier(), + name: v.readableIdentifier(P), + nameForCondition: v.nameForCondition(), + index: ae.getPreOrderIndex(v), + preOrderIndex: ae.getPreOrderIndex(v), + index2: ae.getPostOrderIndex(v), + postOrderIndex: ae.getPostOrderIndex(v), + cacheable: v.buildInfo.cacheable, + optional: v.isOptional(ae), + orphan: + !N.endsWith('module.modules[].module$visible') && + L.chunkGraph.getNumberOfModuleChunks(v) === 0, + dependent: q ? !q.has(v) : undefined, + issuer: me && me.identifier(), + issuerName: me && me.readableIdentifier(P), + issuerPath: me && R.create(`${N.slice(0, -8)}.issuerPath`, le, E), + failed: Me > 0, + errors: Me, + warnings: je, + } + Object.assign(k, Be) + if (_e) { + k.profile = R.create(`${N.slice(0, -8)}.profile`, _e, E) + } + }, + ids: (k, v, { compilation: { chunkGraph: E, moduleGraph: P } }) => { + k.id = E.getModuleId(v) + const R = P.getIssuer(v) + k.issuerId = R && E.getModuleId(R) + k.chunks = Array.from( + E.getOrderedModuleChunksIterable(v, ye), + (k) => k.id + ) + }, + moduleAssets: (k, v) => { + k.assets = v.buildInfo.assets ? Object.keys(v.buildInfo.assets) : [] + }, + reasons: (k, v, E, P, R) => { + const { + type: L, + compilation: { moduleGraph: N }, + } = E + const q = R.create( + `${L.slice(0, -8)}.reasons`, + Array.from(N.getIncomingConnections(v)), + E + ) + const ae = spaceLimited(q, P.reasonsSpace) + k.reasons = ae.children + k.filteredReasons = ae.filteredChildren + }, + usedExports: ( + k, + v, + { runtime: E, compilation: { moduleGraph: P } } + ) => { + const R = P.getUsedExports(v, E) + if (R === null) { + k.usedExports = null + } else if (typeof R === 'boolean') { + k.usedExports = R + } else { + k.usedExports = Array.from(R) + } + }, + providedExports: (k, v, { compilation: { moduleGraph: E } }) => { + const P = E.getProvidedExports(v) + k.providedExports = Array.isArray(P) ? P : null + }, + optimizationBailout: ( + k, + v, + { compilation: { moduleGraph: E } }, + { requestShortener: P } + ) => { + k.optimizationBailout = E.getOptimizationBailout(v).map((k) => { + if (typeof k === 'function') return k(P) + return k + }) + }, + depth: (k, v, { compilation: { moduleGraph: E } }) => { + k.depth = E.getDepth(v) + }, + nestedModules: (k, v, E, P, R) => { + const { type: L } = E + const N = v.modules + if (Array.isArray(N)) { + const v = R.create(`${L.slice(0, -8)}.modules`, N, E) + const q = spaceLimited(v, P.nestedModulesSpace) + k.modules = q.children + k.filteredModules = q.filteredChildren + } + }, + source: (k, v) => { + const E = v.originalSource() + if (E) { + k.source = E.source() + } + }, + }, + profile: { + _: (k, v) => { + const E = { + total: + v.factory + + v.restoring + + v.integration + + v.building + + v.storing, + resolving: v.factory, + restoring: v.restoring, + building: v.building, + integration: v.integration, + storing: v.storing, + additionalResolving: v.additionalFactories, + additionalIntegration: v.additionalIntegration, + factory: v.factory, + dependencies: v.additionalFactories, + } + Object.assign(k, E) + }, + }, + moduleIssuer: { + _: (k, v, E, { requestShortener: P }, R) => { + const { compilation: L, type: N } = E + const { moduleGraph: q } = L + const ae = q.getProfile(v) + const le = { + identifier: v.identifier(), + name: v.readableIdentifier(P), + } + Object.assign(k, le) + if (ae) { + k.profile = R.create(`${N}.profile`, ae, E) + } + }, + ids: (k, v, { compilation: { chunkGraph: E } }) => { + k.id = E.getModuleId(v) + }, + }, + moduleReason: { + _: (k, v, { runtime: E }, { requestShortener: P }) => { + const R = v.dependency + const q = R && R instanceof L ? R : undefined + const ae = { + moduleIdentifier: v.originModule + ? v.originModule.identifier() + : null, + module: v.originModule + ? v.originModule.readableIdentifier(P) + : null, + moduleName: v.originModule + ? v.originModule.readableIdentifier(P) + : null, + resolvedModuleIdentifier: v.resolvedOriginModule + ? v.resolvedOriginModule.identifier() + : null, + resolvedModule: v.resolvedOriginModule + ? v.resolvedOriginModule.readableIdentifier(P) + : null, + type: v.dependency ? v.dependency.type : null, + active: v.isActive(E), + explanation: v.explanation, + userRequest: (q && q.userRequest) || null, + } + Object.assign(k, ae) + if (v.dependency) { + const E = N(v.dependency.loc) + if (E) { + k.loc = E + } + } + }, + ids: (k, v, { compilation: { chunkGraph: E } }) => { + k.moduleId = v.originModule ? E.getModuleId(v.originModule) : null + k.resolvedModuleId = v.resolvedOriginModule + ? E.getModuleId(v.resolvedOriginModule) + : null + }, + }, + chunk: { + _: ( + k, + v, + { makePathsRelative: E, compilation: { chunkGraph: P } } + ) => { + const R = v.getChildIdsByOrders(P) + const L = { + rendered: v.rendered, + initial: v.canBeInitial(), + entry: v.hasRuntime(), + recorded: ae.wasChunkRecorded(v), + reason: v.chunkReason, + size: P.getChunkModulesSize(v), + sizes: P.getChunkModulesSizes(v), + names: v.name ? [v.name] : [], + idHints: Array.from(v.idNameHints), + runtime: + v.runtime === undefined + ? undefined + : typeof v.runtime === 'string' + ? [E(v.runtime)] + : Array.from(v.runtime.sort(), E), + files: Array.from(v.files), + auxiliaryFiles: Array.from(v.auxiliaryFiles).sort(Ie), + hash: v.renderedHash, + childrenByOrder: R, + } + Object.assign(k, L) + }, + ids: (k, v) => { + k.id = v.id + }, + chunkRelations: (k, v, { compilation: { chunkGraph: E } }) => { + const P = new Set() + const R = new Set() + const L = new Set() + for (const k of v.groupsIterable) { + for (const v of k.parentsIterable) { + for (const k of v.chunks) { + P.add(k.id) + } + } + for (const v of k.childrenIterable) { + for (const k of v.chunks) { + R.add(k.id) + } + } + for (const E of k.chunks) { + if (E !== v) L.add(E.id) + } + } + k.siblings = Array.from(L).sort(Ie) + k.parents = Array.from(P).sort(Ie) + k.children = Array.from(R).sort(Ie) + }, + chunkModules: (k, v, E, P, R) => { + const { + type: L, + compilation: { chunkGraph: N }, + } = E + const q = N.getChunkModules(v) + const ae = R.create(`${L}.modules`, q, { + ...E, + runtime: v.runtime, + rootModules: new Set(N.getChunkRootModules(v)), + }) + const le = spaceLimited(ae, P.chunkModulesSpace) + k.modules = le.children + k.filteredModules = le.filteredChildren + }, + chunkOrigins: (k, v, E, P, R) => { + const { + type: L, + compilation: { chunkGraph: q }, + } = E + const ae = new Set() + const le = [] + for (const k of v.groupsIterable) { + le.push(...k.origins) + } + const pe = le.filter((k) => { + const v = [ + k.module ? q.getModuleId(k.module) : undefined, + N(k.loc), + k.request, + ].join() + if (ae.has(v)) return false + ae.add(v) + return true + }) + k.origins = R.create(`${L}.origins`, pe, E) + }, + }, + chunkOrigin: { + _: (k, v, E, { requestShortener: P }) => { + const R = { + module: v.module ? v.module.identifier() : '', + moduleIdentifier: v.module ? v.module.identifier() : '', + moduleName: v.module ? v.module.readableIdentifier(P) : '', + loc: N(v.loc), + request: v.request, + } + Object.assign(k, R) + }, + ids: (k, v, { compilation: { chunkGraph: E } }) => { + k.moduleId = v.module ? E.getModuleId(v.module) : undefined + }, + }, + error: qe, + warning: qe, + moduleTraceItem: { + _: (k, { origin: v, module: E }, P, { requestShortener: R }, L) => { + const { + type: N, + compilation: { moduleGraph: q }, + } = P + k.originIdentifier = v.identifier() + k.originName = v.readableIdentifier(R) + k.moduleIdentifier = E.identifier() + k.moduleName = E.readableIdentifier(R) + const ae = Array.from(q.getIncomingConnections(E)) + .filter((k) => k.resolvedOriginModule === v && k.dependency) + .map((k) => k.dependency) + k.dependencies = L.create( + `${N}.dependencies`, + Array.from(new Set(ae)), + P + ) + }, + ids: ( + k, + { origin: v, module: E }, + { compilation: { chunkGraph: P } } + ) => { + k.originId = P.getModuleId(v) + k.moduleId = P.getModuleId(E) + }, + }, + moduleTraceDependency: { + _: (k, v) => { + k.loc = N(v.loc) + }, + }, + } + const Ge = { + 'module.reasons': { + '!orphanModules': (k, { compilation: { chunkGraph: v } }) => { + if ( + k.originModule && + v.getNumberOfModuleChunks(k.originModule) === 0 + ) { + return false + } + }, + }, + } + const He = { + 'compilation.warnings': { + warningsFilter: P.deprecate( + (k, v, { warningsFilter: E }) => { + const P = Object.keys(k) + .map((v) => `${k[v]}`) + .join('\n') + return !E.some((v) => v(k, P)) + }, + 'config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings', + 'DEP_WEBPACK_STATS_WARNINGS_FILTER' + ), + }, + } + const We = { + _: (k, { compilation: { moduleGraph: v } }) => { + k.push( + Te((k) => v.getDepth(k), _e), + Te((k) => v.getPreOrderIndex(k), _e), + Te((k) => k.identifier(), Ie) + ) + }, + } + const Qe = { + 'compilation.chunks': { + _: (k) => { + k.push(Te((k) => k.id, Ie)) + }, + }, + 'compilation.modules': We, + 'chunk.rootModules': We, + 'chunk.modules': We, + 'module.modules': We, + 'module.reasons': { + _: (k, { compilation: { chunkGraph: v } }) => { + k.push(Te((k) => k.originModule, je)) + k.push(Te((k) => k.resolvedOriginModule, je)) + k.push( + Te( + (k) => k.dependency, + Me( + Te((k) => k.loc, me), + Te((k) => k.type, Ie) + ) + ) + ) + }, + }, + 'chunk.origins': { + _: (k, { compilation: { chunkGraph: v } }) => { + k.push( + Te((k) => (k.module ? v.getModuleId(k.module) : undefined), Ie), + Te((k) => N(k.loc), Ie), + Te((k) => k.request, Ie) + ) + }, + }, + } + const getItemSize = (k) => + !k.children + ? 1 + : k.filteredChildren + ? 2 + getTotalSize(k.children) + : 1 + getTotalSize(k.children) + const getTotalSize = (k) => { + let v = 0 + for (const E of k) { + v += getItemSize(E) + } + return v + } + const getTotalItems = (k) => { + let v = 0 + for (const E of k) { + if (!E.children && !E.filteredChildren) { + v++ + } else { + if (E.children) v += getTotalItems(E.children) + if (E.filteredChildren) v += E.filteredChildren + } + } + return v + } + const collapse = (k) => { + const v = [] + for (const E of k) { + if (E.children) { + let k = E.filteredChildren || 0 + k += getTotalItems(E.children) + v.push({ ...E, children: undefined, filteredChildren: k }) + } else { + v.push(E) + } + } + return v + } + const spaceLimited = (k, v, E = false) => { + if (v < 1) { + return { children: undefined, filteredChildren: getTotalItems(k) } + } + let P = undefined + let R = undefined + const L = [] + const N = [] + const q = [] + let ae = 0 + for (const v of k) { + if (!v.children && !v.filteredChildren) { + q.push(v) + } else { + L.push(v) + const k = getItemSize(v) + N.push(k) + ae += k + } + } + if (ae + q.length <= v) { + P = L.length > 0 ? L.concat(q) : q + } else if (L.length === 0) { + const k = v - (E ? 0 : 1) + R = q.length - k + q.length = k + P = q + } else { + const le = L.length + (E || q.length === 0 ? 0 : 1) + if (le < v) { + let k + while ((k = ae + q.length + (R && !E ? 1 : 0) - v) > 0) { + const v = Math.max(...N) + if (v < q.length) { + R = q.length + q.length = 0 + continue + } + for (let E = 0; E < L.length; E++) { + if (N[E] === v) { + const P = L[E] + const R = P.filteredChildren ? 2 : 1 + const q = spaceLimited( + P.children, + v - Math.ceil(k / L.length) - R, + R === 2 + ) + L[E] = { + ...P, + children: q.children, + filteredChildren: q.filteredChildren + ? (P.filteredChildren || 0) + q.filteredChildren + : P.filteredChildren, + } + const le = getItemSize(L[E]) + ae -= v - le + N[E] = le + break + } + } + } + P = L.concat(q) + } else if (le === v) { + P = collapse(L) + R = q.length + } else { + R = getTotalItems(k) + } + } + return { children: P, filteredChildren: R } + } + const errorsSpaceLimit = (k, v) => { + let E = 0 + if (k.length + 1 >= v) + return [ + k.map((k) => { + if (typeof k === 'string' || !k.details) return k + E++ + return { ...k, details: '' } + }), + E, + ] + let P = k.length + let R = k + let L = 0 + for (; L < k.length; L++) { + const N = k[L] + if (typeof N !== 'string' && N.details) { + const q = N.details.split('\n') + const ae = q.length + P += ae + if (P > v) { + R = L > 0 ? k.slice(0, L) : [] + const N = P - v + 1 + const q = k[L++] + R.push({ + ...q, + details: q.details.split('\n').slice(0, -N).join('\n'), + filteredDetails: N, + }) + E = k.length - L + for (; L < k.length; L++) { + const v = k[L] + if (typeof v === 'string' || !v.details) R.push(v) + R.push({ ...v, details: '' }) + } + break + } else if (P === v) { + R = k.slice(0, ++L) + E = k.length - L + for (; L < k.length; L++) { + const v = k[L] + if (typeof v === 'string' || !v.details) R.push(v) + R.push({ ...v, details: '' }) + } + break + } + } + } + return [R, E] + } + const assetGroup = (k, v) => { + let E = 0 + for (const v of k) { + E += v.size + } + return { size: E } + } + const moduleGroup = (k, v) => { + let E = 0 + const P = {} + for (const v of k) { + E += v.size + for (const k of Object.keys(v.sizes)) { + P[k] = (P[k] || 0) + v.sizes[k] + } + } + return { size: E, sizes: P } + } + const reasonGroup = (k, v) => { + let E = false + for (const v of k) { + E = E || v.active + } + return { active: E } + } + const Je = /(\.[^.]+?)(?:\?|(?: \+ \d+ modules?)?$)/ + const Ve = /(.+)[/\\][^/\\]+?(?:\?|(?: \+ \d+ modules?)?$)/ + const Ke = { + _: (k, v, E) => { + const groupByFlag = (v, E) => { + k.push({ + getKeys: (k) => (k[v] ? ['1'] : undefined), + getOptions: () => ({ groupChildren: !E, force: E }), + createGroup: (k, P, R) => + E + ? { + type: 'assets by status', + [v]: !!k, + filteredChildren: R.length, + ...assetGroup(P, R), + } + : { + type: 'assets by status', + [v]: !!k, + children: P, + ...assetGroup(P, R), + }, + }) + } + const { + groupAssetsByEmitStatus: P, + groupAssetsByPath: R, + groupAssetsByExtension: L, + } = E + if (P) { + groupByFlag('emitted') + groupByFlag('comparedForEmit') + groupByFlag('isOverSizeLimit') + } + if (P || !E.cachedAssets) { + groupByFlag('cached', !E.cachedAssets) + } + if (R || L) { + k.push({ + getKeys: (k) => { + const v = L && Je.exec(k.name) + const E = v ? v[1] : '' + const P = R && Ve.exec(k.name) + const N = P ? P[1].split(/[/\\]/) : [] + const q = [] + if (R) { + q.push('.') + if (E) q.push(N.length ? `${N.join('/')}/*${E}` : `*${E}`) + while (N.length > 0) { + q.push(N.join('/') + '/') + N.pop() + } + } else { + if (E) q.push(`*${E}`) + } + return q + }, + createGroup: (k, v, E) => ({ + type: R ? 'assets by path' : 'assets by extension', + name: k, + children: v, + ...assetGroup(v, E), + }), + }) + } + }, + groupAssetsByInfo: (k, v, E) => { + const groupByAssetInfoFlag = (v) => { + k.push({ + getKeys: (k) => (k.info && k.info[v] ? ['1'] : undefined), + createGroup: (k, E, P) => ({ + type: 'assets by info', + info: { [v]: !!k }, + children: E, + ...assetGroup(E, P), + }), + }) + } + groupByAssetInfoFlag('immutable') + groupByAssetInfoFlag('development') + groupByAssetInfoFlag('hotModuleReplacement') + }, + groupAssetsByChunk: (k, v, E) => { + const groupByNames = (v) => { + k.push({ + getKeys: (k) => k[v], + createGroup: (k, E, P) => ({ + type: 'assets by chunk', + [v]: [k], + children: E, + ...assetGroup(E, P), + }), + }) + } + groupByNames('chunkNames') + groupByNames('auxiliaryChunkNames') + groupByNames('chunkIdHints') + groupByNames('auxiliaryChunkIdHints') + }, + excludeAssets: (k, v, { excludeAssets: E }) => { + k.push({ + getKeys: (k) => { + const v = k.name + const P = E.some((E) => E(v, k)) + if (P) return ['excluded'] + }, + getOptions: () => ({ groupChildren: false, force: true }), + createGroup: (k, v, E) => ({ + type: 'hidden assets', + filteredChildren: E.length, + ...assetGroup(v, E), + }), + }) + }, + } + const MODULES_GROUPERS = (k) => ({ + _: (k, v, E) => { + const groupByFlag = (v, E, P) => { + k.push({ + getKeys: (k) => (k[v] ? ['1'] : undefined), + getOptions: () => ({ groupChildren: !P, force: P }), + createGroup: (k, R, L) => ({ + type: E, + [v]: !!k, + ...(P ? { filteredChildren: L.length } : { children: R }), + ...moduleGroup(R, L), + }), + }) + } + const { + groupModulesByCacheStatus: P, + groupModulesByLayer: L, + groupModulesByAttributes: N, + groupModulesByType: q, + groupModulesByPath: ae, + groupModulesByExtension: le, + } = E + if (N) { + groupByFlag('errors', 'modules with errors') + groupByFlag('warnings', 'modules with warnings') + groupByFlag('assets', 'modules with assets') + groupByFlag('optional', 'optional modules') + } + if (P) { + groupByFlag('cacheable', 'cacheable modules') + groupByFlag('built', 'built modules') + groupByFlag('codeGenerated', 'code generated modules') + } + if (P || !E.cachedModules) { + groupByFlag('cached', 'cached modules', !E.cachedModules) + } + if (N || !E.orphanModules) { + groupByFlag('orphan', 'orphan modules', !E.orphanModules) + } + if (N || !E.dependentModules) { + groupByFlag('dependent', 'dependent modules', !E.dependentModules) + } + if (q || !E.runtimeModules) { + k.push({ + getKeys: (k) => { + if (!k.moduleType) return + if (q) { + return [k.moduleType.split('/', 1)[0]] + } else if (k.moduleType === R) { + return [R] + } + }, + getOptions: (k) => { + const v = k === R && !E.runtimeModules + return { groupChildren: !v, force: v } + }, + createGroup: (k, v, P) => { + const L = k === R && !E.runtimeModules + return { + type: `${k} modules`, + moduleType: k, + ...(L ? { filteredChildren: P.length } : { children: v }), + ...moduleGroup(v, P), + } + }, + }) + } + if (L) { + k.push({ + getKeys: (k) => [k.layer], + createGroup: (k, v, E) => ({ + type: 'modules by layer', + layer: k, + children: v, + ...moduleGroup(v, E), + }), + }) + } + if (ae || le) { + k.push({ + getKeys: (k) => { + if (!k.name) return + const v = Be(k.name.split('!').pop()).path + const E = /^data:[^,;]+/.exec(v) + if (E) return [E[0]] + const P = le && Je.exec(v) + const R = P ? P[1] : '' + const L = ae && Ve.exec(v) + const N = L ? L[1].split(/[/\\]/) : [] + const q = [] + if (ae) { + if (R) q.push(N.length ? `${N.join('/')}/*${R}` : `*${R}`) + while (N.length > 0) { + q.push(N.join('/') + '/') + N.pop() + } + } else { + if (R) q.push(`*${R}`) + } + return q + }, + createGroup: (k, v, E) => { + const P = k.startsWith('data:') + return { + type: P + ? 'modules by mime type' + : ae + ? 'modules by path' + : 'modules by extension', + name: P ? k.slice(5) : k, + children: v, + ...moduleGroup(v, E), + } + }, + }) + } + }, + excludeModules: (v, E, { excludeModules: P }) => { + v.push({ + getKeys: (v) => { + const E = v.name + if (E) { + const R = P.some((P) => P(E, v, k)) + if (R) return ['1'] + } + }, + getOptions: () => ({ groupChildren: false, force: true }), + createGroup: (k, v, E) => ({ + type: 'hidden modules', + filteredChildren: v.length, + ...moduleGroup(v, E), + }), + }) + }, + }) + const Ye = { + 'compilation.assets': Ke, + 'asset.related': Ke, + 'compilation.modules': MODULES_GROUPERS('module'), + 'chunk.modules': MODULES_GROUPERS('chunk'), + 'chunk.rootModules': MODULES_GROUPERS('root-of-chunk'), + 'module.modules': MODULES_GROUPERS('nested'), + 'module.reasons': { + groupReasonsByOrigin: (k) => { + k.push({ + getKeys: (k) => [k.module], + createGroup: (k, v, E) => ({ + type: 'from origin', + module: k, + children: v, + ...reasonGroup(v, E), + }), + }) + }, + }, + } + const normalizeFieldKey = (k) => { + if (k[0] === '!') { + return k.slice(1) + } + return k + } + const sortOrderRegular = (k) => { + if (k[0] === '!') { + return false + } + return true + } + const sortByField = (k) => { + if (!k) { + const noSort = (k, v) => 0 + return noSort + } + const v = normalizeFieldKey(k) + let E = Te((k) => k[v], Ie) + const P = sortOrderRegular(k) + if (!P) { + const k = E + E = (v, E) => k(E, v) + } + return E + } + const Xe = { + assetsSort: (k, v, { assetsSort: E }) => { + k.push(sortByField(E)) + }, + _: (k) => { + k.push(Te((k) => k.name, Ie)) + }, + } + const Ze = { + 'compilation.chunks': { + chunksSort: (k, v, { chunksSort: E }) => { + k.push(sortByField(E)) + }, + }, + 'compilation.modules': { + modulesSort: (k, v, { modulesSort: E }) => { + k.push(sortByField(E)) + }, + }, + 'chunk.modules': { + chunkModulesSort: (k, v, { chunkModulesSort: E }) => { + k.push(sortByField(E)) + }, + }, + 'module.modules': { + nestedModulesSort: (k, v, { nestedModulesSort: E }) => { + k.push(sortByField(E)) + }, + }, + 'compilation.assets': Xe, + 'asset.related': Xe, + } + const iterateConfig = (k, v, E) => { + for (const P of Object.keys(k)) { + const R = k[P] + for (const k of Object.keys(R)) { + if (k !== '_') { + if (k.startsWith('!')) { + if (v[k.slice(1)]) continue + } else { + const E = v[k] + if ( + E === false || + E === undefined || + (Array.isArray(E) && E.length === 0) + ) + continue + } + } + E(P, R[k]) + } + } + } + const et = { + '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 mergeToObject = (k) => { + const v = Object.create(null) + for (const E of k) { + v[E.name] = E + } + return v + } + const tt = { + 'compilation.entrypoints': mergeToObject, + 'compilation.namedChunkGroups': mergeToObject, + } + class DefaultStatsFactoryPlugin { + apply(k) { + k.hooks.compilation.tap('DefaultStatsFactoryPlugin', (k) => { + k.hooks.statsFactory.tap('DefaultStatsFactoryPlugin', (v, E, P) => { + iterateConfig(Ue, E, (k, P) => { + v.hooks.extract + .for(k) + .tap('DefaultStatsFactoryPlugin', (k, R, L) => + P(k, R, L, E, v) + ) + }) + iterateConfig(Ge, E, (k, P) => { + v.hooks.filter + .for(k) + .tap('DefaultStatsFactoryPlugin', (k, v, R, L) => + P(k, v, E, R, L) + ) + }) + iterateConfig(He, E, (k, P) => { + v.hooks.filterResults + .for(k) + .tap('DefaultStatsFactoryPlugin', (k, v, R, L) => + P(k, v, E, R, L) + ) + }) + iterateConfig(Qe, E, (k, P) => { + v.hooks.sort + .for(k) + .tap('DefaultStatsFactoryPlugin', (k, v) => P(k, v, E)) + }) + iterateConfig(Ze, E, (k, P) => { + v.hooks.sortResults + .for(k) + .tap('DefaultStatsFactoryPlugin', (k, v) => P(k, v, E)) + }) + iterateConfig(Ye, E, (k, P) => { + v.hooks.groupResults + .for(k) + .tap('DefaultStatsFactoryPlugin', (k, v) => P(k, v, E)) + }) + for (const k of Object.keys(et)) { + const E = et[k] + v.hooks.getItemName + .for(k) + .tap('DefaultStatsFactoryPlugin', () => E) + } + for (const k of Object.keys(tt)) { + const E = tt[k] + v.hooks.merge.for(k).tap('DefaultStatsFactoryPlugin', E) + } + if (E.children) { + if (Array.isArray(E.children)) { + v.hooks.getItemFactory + .for('compilation.children[].compilation') + .tap('DefaultStatsFactoryPlugin', (v, { _index: R }) => { + if (R < E.children.length) { + return k.createStatsFactory( + k.createStatsOptions(E.children[R], P) + ) + } + }) + } else if (E.children !== true) { + const R = k.createStatsFactory( + k.createStatsOptions(E.children, P) + ) + v.hooks.getItemFactory + .for('compilation.children[].compilation') + .tap('DefaultStatsFactoryPlugin', () => R) + } + } + }) + }) + } + } + k.exports = DefaultStatsFactoryPlugin + }, + 8808: function (k, v, E) { + 'use strict' + const P = E(91227) + const applyDefaults = (k, v) => { + for (const E of Object.keys(v)) { + if (typeof k[E] === 'undefined') { + k[E] = v[E] + } + } + } + const R = { + 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, + errorsSpace: Infinity, + warningsSpace: Infinity, + modulesSpace: Infinity, + chunkModulesSpace: Infinity, + assetsSpace: Infinity, + reasonsSpace: 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, + errorsSpace: 1e3, + warningsSpace: 1e3, + modulesSpace: 1e3, + assetsSpace: 1e3, + reasonsSpace: 1e3, + }, + minimal: { + all: false, + version: true, + timings: true, + modules: true, + errorsSpace: 0, + warningsSpace: 0, + modulesSpace: 0, + assets: true, + assetsSpace: 0, + errors: true, + errorsCount: true, + warnings: true, + warningsCount: true, + logging: 'warn', + }, + 'errors-only': { + all: false, + errors: true, + errorsCount: true, + errorsSpace: Infinity, + moduleTrace: true, + logging: 'error', + }, + 'errors-warnings': { + all: false, + errors: true, + errorsCount: true, + errorsSpace: Infinity, + warnings: true, + warningsCount: true, + warningsSpace: Infinity, + logging: 'warn', + }, + summary: { + all: false, + version: true, + errorsCount: true, + warningsCount: true, + }, + none: { all: false }, + } + const NORMAL_ON = ({ all: k }) => k !== false + const NORMAL_OFF = ({ all: k }) => k === true + const ON_FOR_TO_STRING = ({ all: k }, { forToString: v }) => + v ? k !== false : k === true + const OFF_FOR_TO_STRING = ({ all: k }, { forToString: v }) => + v ? k === true : k !== false + const AUTO_FOR_TO_STRING = ({ all: k }, { forToString: v }) => { + if (k === false) return false + if (k === true) return true + if (v) return 'auto' + return true + } + const L = { + context: (k, v, E) => E.compiler.context, + requestShortener: (k, v, E) => + E.compiler.context === k.context + ? E.requestShortener + : new P(k.context, E.compiler.root), + performance: NORMAL_ON, + hash: OFF_FOR_TO_STRING, + env: NORMAL_OFF, + version: NORMAL_ON, + timings: NORMAL_ON, + builtAt: OFF_FOR_TO_STRING, + assets: NORMAL_ON, + entrypoints: AUTO_FOR_TO_STRING, + chunkGroups: OFF_FOR_TO_STRING, + chunkGroupAuxiliary: OFF_FOR_TO_STRING, + chunkGroupChildren: OFF_FOR_TO_STRING, + chunkGroupMaxAssets: (k, { forToString: v }) => (v ? 5 : Infinity), + chunks: OFF_FOR_TO_STRING, + chunkRelations: OFF_FOR_TO_STRING, + chunkModules: ({ all: k, modules: v }) => { + if (k === false) return false + if (k === true) return true + if (v) return false + return true + }, + dependentModules: OFF_FOR_TO_STRING, + chunkOrigins: OFF_FOR_TO_STRING, + ids: OFF_FOR_TO_STRING, + modules: ( + { all: k, chunks: v, chunkModules: E }, + { forToString: P } + ) => { + if (k === false) return false + if (k === true) return true + if (P && v && E) return false + return true + }, + nestedModules: OFF_FOR_TO_STRING, + groupModulesByType: ON_FOR_TO_STRING, + groupModulesByCacheStatus: ON_FOR_TO_STRING, + groupModulesByLayer: ON_FOR_TO_STRING, + groupModulesByAttributes: ON_FOR_TO_STRING, + groupModulesByPath: ON_FOR_TO_STRING, + groupModulesByExtension: ON_FOR_TO_STRING, + modulesSpace: (k, { forToString: v }) => (v ? 15 : Infinity), + chunkModulesSpace: (k, { forToString: v }) => (v ? 10 : Infinity), + nestedModulesSpace: (k, { forToString: v }) => (v ? 10 : Infinity), + relatedAssets: OFF_FOR_TO_STRING, + groupAssetsByEmitStatus: ON_FOR_TO_STRING, + groupAssetsByInfo: ON_FOR_TO_STRING, + groupAssetsByPath: ON_FOR_TO_STRING, + groupAssetsByExtension: ON_FOR_TO_STRING, + groupAssetsByChunk: ON_FOR_TO_STRING, + assetsSpace: (k, { forToString: v }) => (v ? 15 : Infinity), + orphanModules: OFF_FOR_TO_STRING, + runtimeModules: ({ all: k, runtime: v }, { forToString: E }) => + v !== undefined ? v : E ? k === true : k !== false, + cachedModules: ({ all: k, cached: v }, { forToString: E }) => + v !== undefined ? v : E ? k === true : k !== false, + moduleAssets: OFF_FOR_TO_STRING, + depth: OFF_FOR_TO_STRING, + cachedAssets: OFF_FOR_TO_STRING, + reasons: OFF_FOR_TO_STRING, + reasonsSpace: (k, { forToString: v }) => (v ? 15 : Infinity), + groupReasonsByOrigin: ON_FOR_TO_STRING, + usedExports: OFF_FOR_TO_STRING, + providedExports: OFF_FOR_TO_STRING, + optimizationBailout: OFF_FOR_TO_STRING, + children: OFF_FOR_TO_STRING, + source: NORMAL_OFF, + moduleTrace: NORMAL_ON, + errors: NORMAL_ON, + errorsCount: NORMAL_ON, + errorDetails: AUTO_FOR_TO_STRING, + errorStack: OFF_FOR_TO_STRING, + warnings: NORMAL_ON, + warningsCount: NORMAL_ON, + publicPath: OFF_FOR_TO_STRING, + logging: ({ all: k }, { forToString: v }) => + v && k !== false ? 'info' : false, + loggingDebug: () => [], + loggingTrace: OFF_FOR_TO_STRING, + excludeModules: () => [], + excludeAssets: () => [], + modulesSort: () => 'depth', + chunkModulesSort: () => 'name', + nestedModulesSort: () => false, + chunksSort: () => false, + assetsSort: () => '!size', + outputPath: OFF_FOR_TO_STRING, + colors: () => false, + } + const normalizeFilter = (k) => { + if (typeof k === 'string') { + const v = new RegExp( + `[\\\\/]${k.replace( + /[-[\]{}()*+?.\\^$|]/g, + '\\$&' + )}([\\\\/]|$|!|\\?)` + ) + return (k) => v.test(k) + } + if (k && typeof k === 'object' && typeof k.test === 'function') { + return (v) => k.test(v) + } + if (typeof k === 'function') { + return k + } + if (typeof k === 'boolean') { + return () => k + } + } + const N = { + excludeModules: (k) => { + if (!Array.isArray(k)) { + k = k ? [k] : [] + } + return k.map(normalizeFilter) + }, + excludeAssets: (k) => { + if (!Array.isArray(k)) { + k = k ? [k] : [] + } + return k.map(normalizeFilter) + }, + warningsFilter: (k) => { + if (!Array.isArray(k)) { + k = k ? [k] : [] + } + return k.map((k) => { + if (typeof k === 'string') { + return (v, E) => E.includes(k) + } + if (k instanceof RegExp) { + return (v, E) => k.test(E) + } + if (typeof k === 'function') { + return k + } + throw new Error( + `Can only filter warnings with Strings or RegExps. (Given: ${k})` + ) + }) + }, + logging: (k) => { + if (k === true) k = 'log' + return k + }, + loggingDebug: (k) => { + if (!Array.isArray(k)) { + k = k ? [k] : [] + } + return k.map(normalizeFilter) + }, + } + class DefaultStatsPresetPlugin { + apply(k) { + k.hooks.compilation.tap('DefaultStatsPresetPlugin', (k) => { + for (const v of Object.keys(R)) { + const E = R[v] + k.hooks.statsPreset + .for(v) + .tap('DefaultStatsPresetPlugin', (k, v) => { + applyDefaults(k, E) + }) + } + k.hooks.statsNormalize.tap('DefaultStatsPresetPlugin', (v, E) => { + for (const P of Object.keys(L)) { + if (v[P] === undefined) v[P] = L[P](v, E, k) + } + for (const k of Object.keys(N)) { + v[k] = N[k](v[k]) + } + }) + }) + } + } + k.exports = DefaultStatsPresetPlugin + }, + 81363: function (k, v, E) { + 'use strict' + const P = 16 + const R = 80 + const plural = (k, v, E) => (k === 1 ? v : E) + const printSizes = (k, { formatSize: v = (k) => `${k}` }) => { + const E = Object.keys(k) + if (E.length > 1) { + return E.map((E) => `${v(k[E])} (${E})`).join(' ') + } else if (E.length === 1) { + return v(k[E[0]]) + } + } + const getResourceName = (k) => { + const v = /^data:[^,]+,/.exec(k) + if (!v) return k + const E = v[0].length + P + if (k.length < E) return k + return `${k.slice(0, Math.min(k.length - 2, E))}..` + } + const getModuleName = (k) => { + const [, v, E] = /^(.*!)?([^!]*)$/.exec(k) + if (E.length > R) { + const k = `${E.slice(0, Math.min(E.length - 14, R))}...(truncated)` + return [v, getResourceName(k)] + } + return [v, getResourceName(E)] + } + const mapLines = (k, v) => k.split('\n').map(v).join('\n') + const twoDigit = (k) => (k >= 10 ? `${k}` : `0${k}`) + const isValidId = (k) => typeof k === 'number' || k + const moreCount = (k, v) => (k && k.length > 0 ? `+ ${v}` : `${v}`) + const L = { + 'compilation.summary!': ( + k, + { + type: v, + bold: E, + green: P, + red: R, + yellow: L, + formatDateTime: N, + formatTime: q, + compilation: { + name: ae, + hash: le, + version: pe, + time: me, + builtAt: ye, + errorsCount: _e, + warningsCount: Ie, + }, + } + ) => { + const Me = v === 'compilation.summary!' + const Te = + Ie > 0 ? L(`${Ie} ${plural(Ie, 'warning', 'warnings')}`) : '' + const je = _e > 0 ? R(`${_e} ${plural(_e, 'error', 'errors')}`) : '' + const Ne = Me && me ? ` in ${q(me)}` : '' + const Be = le ? ` (${le})` : '' + const qe = Me && ye ? `${N(ye)}: ` : '' + const Ue = Me && pe ? `webpack ${pe}` : '' + const Ge = + Me && ae ? E(ae) : ae ? `Child ${E(ae)}` : Me ? '' : 'Child' + const He = Ge && Ue ? `${Ge} (${Ue})` : Ue || Ge || 'webpack' + let We + if (je && Te) { + We = `compiled with ${je} and ${Te}` + } else if (je) { + We = `compiled with ${je}` + } else if (Te) { + We = `compiled with ${Te}` + } else if (_e === 0 && Ie === 0) { + We = `compiled ${P('successfully')}` + } else { + We = `compiled` + } + if (qe || Ue || je || Te || (_e === 0 && Ie === 0) || Ne || Be) + return `${qe}${He} ${We}${Ne}${Be}` + }, + 'compilation.filteredWarningDetailsCount': (k) => + k + ? `${k} ${plural( + k, + 'warning has', + 'warnings have' + )} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.` + : undefined, + 'compilation.filteredErrorDetailsCount': (k, { yellow: v }) => + k + ? v( + `${k} ${plural( + k, + 'error has', + 'errors have' + )} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.` + ) + : undefined, + 'compilation.env': (k, { bold: v }) => + k + ? `Environment (--env): ${v(JSON.stringify(k, null, 2))}` + : undefined, + 'compilation.publicPath': (k, { bold: v }) => + `PublicPath: ${v(k || '(none)')}`, + 'compilation.entrypoints': (k, v, E) => + Array.isArray(k) + ? undefined + : E.print(v.type, Object.values(k), { + ...v, + chunkGroupKind: 'Entrypoint', + }), + 'compilation.namedChunkGroups': (k, v, E) => { + if (!Array.isArray(k)) { + const { + compilation: { entrypoints: P }, + } = v + let R = Object.values(k) + if (P) { + R = R.filter( + (k) => !Object.prototype.hasOwnProperty.call(P, k.name) + ) + } + return E.print(v.type, R, { ...v, chunkGroupKind: 'Chunk Group' }) + } + }, + 'compilation.assetsByChunkName': () => '', + 'compilation.filteredModules': (k, { compilation: { modules: v } }) => + k > 0 + ? `${moreCount(v, k)} ${plural(k, 'module', 'modules')}` + : undefined, + 'compilation.filteredAssets': (k, { compilation: { assets: v } }) => + k > 0 + ? `${moreCount(v, k)} ${plural(k, 'asset', 'assets')}` + : undefined, + 'compilation.logging': (k, v, E) => + Array.isArray(k) + ? undefined + : E.print( + v.type, + Object.entries(k).map(([k, v]) => ({ ...v, name: k })), + v + ), + 'compilation.warningsInChildren!': ( + k, + { yellow: v, compilation: E } + ) => { + if (!E.children && E.warningsCount > 0 && E.warnings) { + const k = E.warningsCount - E.warnings.length + if (k > 0) { + return v( + `${k} ${plural( + k, + 'WARNING', + 'WARNINGS' + )} in child compilations${ + E.children + ? '' + : " (Use 'stats.children: true' resp. '--stats-children' for more details)" + }` + ) + } + } + }, + 'compilation.errorsInChildren!': (k, { red: v, compilation: E }) => { + if (!E.children && E.errorsCount > 0 && E.errors) { + const k = E.errorsCount - E.errors.length + if (k > 0) { + return v( + `${k} ${plural(k, 'ERROR', 'ERRORS')} in child compilations${ + E.children + ? '' + : " (Use 'stats.children: true' resp. '--stats-children' for more details)" + }` + ) + } + } + }, + 'asset.type': (k) => k, + 'asset.name': ( + k, + { formatFilename: v, asset: { isOverSizeLimit: E } } + ) => v(k, E), + 'asset.size': ( + k, + { asset: { isOverSizeLimit: v }, yellow: E, green: P, formatSize: R } + ) => (v ? E(R(k)) : R(k)), + 'asset.emitted': (k, { green: v, formatFlag: E }) => + k ? v(E('emitted')) : undefined, + 'asset.comparedForEmit': (k, { yellow: v, formatFlag: E }) => + k ? v(E('compared for emit')) : undefined, + 'asset.cached': (k, { green: v, formatFlag: E }) => + k ? v(E('cached')) : undefined, + 'asset.isOverSizeLimit': (k, { yellow: v, formatFlag: E }) => + k ? v(E('big')) : undefined, + 'asset.info.immutable': (k, { green: v, formatFlag: E }) => + k ? v(E('immutable')) : undefined, + 'asset.info.javascriptModule': (k, { formatFlag: v }) => + k ? v('javascript module') : undefined, + 'asset.info.sourceFilename': (k, { formatFlag: v }) => + k ? v(k === true ? 'from source file' : `from: ${k}`) : undefined, + 'asset.info.development': (k, { green: v, formatFlag: E }) => + k ? v(E('dev')) : undefined, + 'asset.info.hotModuleReplacement': (k, { green: v, formatFlag: E }) => + k ? v(E('hmr')) : undefined, + 'asset.separator!': () => '\n', + 'asset.filteredRelated': (k, { asset: { related: v } }) => + k > 0 + ? `${moreCount(v, k)} related ${plural(k, 'asset', 'assets')}` + : undefined, + 'asset.filteredChildren': (k, { asset: { children: v } }) => + k > 0 + ? `${moreCount(v, k)} ${plural(k, 'asset', 'assets')}` + : undefined, + assetChunk: (k, { formatChunkId: v }) => v(k), + assetChunkName: (k) => k, + assetChunkIdHint: (k) => k, + 'module.type': (k) => (k !== 'module' ? k : undefined), + 'module.id': (k, { formatModuleId: v }) => + isValidId(k) ? v(k) : undefined, + 'module.name': (k, { bold: v }) => { + const [E, P] = getModuleName(k) + return `${E || ''}${v(P || '')}` + }, + 'module.identifier': (k) => undefined, + 'module.layer': (k, { formatLayer: v }) => (k ? v(k) : undefined), + 'module.sizes': printSizes, + 'module.chunks[]': (k, { formatChunkId: v }) => v(k), + 'module.depth': (k, { formatFlag: v }) => + k !== null ? v(`depth ${k}`) : undefined, + 'module.cacheable': (k, { formatFlag: v, red: E }) => + k === false ? E(v('not cacheable')) : undefined, + 'module.orphan': (k, { formatFlag: v, yellow: E }) => + k ? E(v('orphan')) : undefined, + 'module.runtime': (k, { formatFlag: v, yellow: E }) => + k ? E(v('runtime')) : undefined, + 'module.optional': (k, { formatFlag: v, yellow: E }) => + k ? E(v('optional')) : undefined, + 'module.dependent': (k, { formatFlag: v, cyan: E }) => + k ? E(v('dependent')) : undefined, + 'module.built': (k, { formatFlag: v, yellow: E }) => + k ? E(v('built')) : undefined, + 'module.codeGenerated': (k, { formatFlag: v, yellow: E }) => + k ? E(v('code generated')) : undefined, + 'module.buildTimeExecuted': (k, { formatFlag: v, green: E }) => + k ? E(v('build time executed')) : undefined, + 'module.cached': (k, { formatFlag: v, green: E }) => + k ? E(v('cached')) : undefined, + 'module.assets': (k, { formatFlag: v, magenta: E }) => + k && k.length + ? E(v(`${k.length} ${plural(k.length, 'asset', 'assets')}`)) + : undefined, + 'module.warnings': (k, { formatFlag: v, yellow: E }) => + k === true + ? E(v('warnings')) + : k + ? E(v(`${k} ${plural(k, 'warning', 'warnings')}`)) + : undefined, + 'module.errors': (k, { formatFlag: v, red: E }) => + k === true + ? E(v('errors')) + : k + ? E(v(`${k} ${plural(k, 'error', 'errors')}`)) + : undefined, + 'module.providedExports': (k, { formatFlag: v, cyan: E }) => { + if (Array.isArray(k)) { + if (k.length === 0) return E(v('no exports')) + return E(v(`exports: ${k.join(', ')}`)) + } + }, + 'module.usedExports': (k, { formatFlag: v, cyan: E, module: P }) => { + if (k !== true) { + if (k === null) return E(v('used exports unknown')) + if (k === false) return E(v('module unused')) + if (Array.isArray(k)) { + if (k.length === 0) return E(v('no exports used')) + const R = Array.isArray(P.providedExports) + ? P.providedExports.length + : null + if (R !== null && R === k.length) { + return E(v('all exports used')) + } else { + return E(v(`only some exports used: ${k.join(', ')}`)) + } + } + } + }, + 'module.optimizationBailout[]': (k, { yellow: v }) => v(k), + 'module.issuerPath': (k, { module: v }) => (v.profile ? undefined : ''), + 'module.profile': (k) => undefined, + 'module.filteredModules': (k, { module: { modules: v } }) => + k > 0 + ? `${moreCount(v, k)} nested ${plural(k, 'module', 'modules')}` + : undefined, + 'module.filteredReasons': (k, { module: { reasons: v } }) => + k > 0 + ? `${moreCount(v, k)} ${plural(k, 'reason', 'reasons')}` + : undefined, + 'module.filteredChildren': (k, { module: { children: v } }) => + k > 0 + ? `${moreCount(v, k)} ${plural(k, 'module', 'modules')}` + : undefined, + 'module.separator!': () => '\n', + 'moduleIssuer.id': (k, { formatModuleId: v }) => v(k), + 'moduleIssuer.profile.total': (k, { formatTime: v }) => v(k), + 'moduleReason.type': (k) => k, + 'moduleReason.userRequest': (k, { cyan: v }) => v(getResourceName(k)), + 'moduleReason.moduleId': (k, { formatModuleId: v }) => + isValidId(k) ? v(k) : undefined, + 'moduleReason.module': (k, { magenta: v }) => v(k), + 'moduleReason.loc': (k) => k, + 'moduleReason.explanation': (k, { cyan: v }) => v(k), + 'moduleReason.active': (k, { formatFlag: v }) => + k ? undefined : v('inactive'), + 'moduleReason.resolvedModule': (k, { magenta: v }) => v(k), + 'moduleReason.filteredChildren': ( + k, + { moduleReason: { children: v } } + ) => + k > 0 + ? `${moreCount(v, k)} ${plural(k, 'reason', 'reasons')}` + : undefined, + 'module.profile.total': (k, { formatTime: v }) => v(k), + 'module.profile.resolving': (k, { formatTime: v }) => + `resolving: ${v(k)}`, + 'module.profile.restoring': (k, { formatTime: v }) => + `restoring: ${v(k)}`, + 'module.profile.integration': (k, { formatTime: v }) => + `integration: ${v(k)}`, + 'module.profile.building': (k, { formatTime: v }) => + `building: ${v(k)}`, + 'module.profile.storing': (k, { formatTime: v }) => `storing: ${v(k)}`, + 'module.profile.additionalResolving': (k, { formatTime: v }) => + k ? `additional resolving: ${v(k)}` : undefined, + 'module.profile.additionalIntegration': (k, { formatTime: v }) => + k ? `additional integration: ${v(k)}` : undefined, + 'chunkGroup.kind!': (k, { chunkGroupKind: v }) => v, + 'chunkGroup.separator!': () => '\n', + 'chunkGroup.name': (k, { bold: v }) => v(k), + 'chunkGroup.isOverSizeLimit': (k, { formatFlag: v, yellow: E }) => + k ? E(v('big')) : undefined, + 'chunkGroup.assetsSize': (k, { formatSize: v }) => + k ? v(k) : undefined, + 'chunkGroup.auxiliaryAssetsSize': (k, { formatSize: v }) => + k ? `(${v(k)})` : undefined, + 'chunkGroup.filteredAssets': (k, { chunkGroup: { assets: v } }) => + k > 0 + ? `${moreCount(v, k)} ${plural(k, 'asset', 'assets')}` + : undefined, + 'chunkGroup.filteredAuxiliaryAssets': ( + k, + { chunkGroup: { auxiliaryAssets: v } } + ) => + k > 0 + ? `${moreCount(v, k)} auxiliary ${plural(k, 'asset', 'assets')}` + : undefined, + 'chunkGroup.is!': () => '=', + 'chunkGroupAsset.name': (k, { green: v }) => v(k), + 'chunkGroupAsset.size': (k, { formatSize: v, chunkGroup: E }) => + E.assets.length > 1 || + (E.auxiliaryAssets && E.auxiliaryAssets.length > 0) + ? v(k) + : undefined, + 'chunkGroup.children': (k, v, E) => + Array.isArray(k) + ? undefined + : E.print( + v.type, + Object.keys(k).map((v) => ({ type: v, children: k[v] })), + v + ), + 'chunkGroupChildGroup.type': (k) => `${k}:`, + 'chunkGroupChild.assets[]': (k, { formatFilename: v }) => v(k), + 'chunkGroupChild.chunks[]': (k, { formatChunkId: v }) => v(k), + 'chunkGroupChild.name': (k) => (k ? `(name: ${k})` : undefined), + 'chunk.id': (k, { formatChunkId: v }) => v(k), + 'chunk.files[]': (k, { formatFilename: v }) => v(k), + 'chunk.names[]': (k) => k, + 'chunk.idHints[]': (k) => k, + 'chunk.runtime[]': (k) => k, + 'chunk.sizes': (k, v) => printSizes(k, v), + 'chunk.parents[]': (k, v) => v.formatChunkId(k, 'parent'), + 'chunk.siblings[]': (k, v) => v.formatChunkId(k, 'sibling'), + 'chunk.children[]': (k, v) => v.formatChunkId(k, 'child'), + 'chunk.childrenByOrder': (k, v, E) => + Array.isArray(k) + ? undefined + : E.print( + v.type, + Object.keys(k).map((v) => ({ type: v, children: k[v] })), + v + ), + 'chunk.childrenByOrder[].type': (k) => `${k}:`, + 'chunk.childrenByOrder[].children[]': (k, { formatChunkId: v }) => + isValidId(k) ? v(k) : undefined, + 'chunk.entry': (k, { formatFlag: v, yellow: E }) => + k ? E(v('entry')) : undefined, + 'chunk.initial': (k, { formatFlag: v, yellow: E }) => + k ? E(v('initial')) : undefined, + 'chunk.rendered': (k, { formatFlag: v, green: E }) => + k ? E(v('rendered')) : undefined, + 'chunk.recorded': (k, { formatFlag: v, green: E }) => + k ? E(v('recorded')) : undefined, + 'chunk.reason': (k, { yellow: v }) => (k ? v(k) : undefined), + 'chunk.filteredModules': (k, { chunk: { modules: v } }) => + k > 0 + ? `${moreCount(v, k)} chunk ${plural(k, 'module', 'modules')}` + : undefined, + 'chunk.separator!': () => '\n', + 'chunkOrigin.request': (k) => k, + 'chunkOrigin.moduleId': (k, { formatModuleId: v }) => + isValidId(k) ? v(k) : undefined, + 'chunkOrigin.moduleName': (k, { bold: v }) => v(k), + 'chunkOrigin.loc': (k) => k, + 'error.compilerPath': (k, { bold: v }) => (k ? v(`(${k})`) : undefined), + 'error.chunkId': (k, { formatChunkId: v }) => + isValidId(k) ? v(k) : undefined, + 'error.chunkEntry': (k, { formatFlag: v }) => + k ? v('entry') : undefined, + 'error.chunkInitial': (k, { formatFlag: v }) => + k ? v('initial') : undefined, + 'error.file': (k, { bold: v }) => v(k), + 'error.moduleName': (k, { bold: v }) => + k.includes('!') + ? `${v(k.replace(/^(\s|\S)*!/, ''))} (${k})` + : `${v(k)}`, + 'error.loc': (k, { green: v }) => v(k), + 'error.message': (k, { bold: v, formatError: E }) => + k.includes('[') ? k : v(E(k)), + 'error.details': (k, { formatError: v }) => v(k), + 'error.filteredDetails': (k) => (k ? `+ ${k} hidden lines` : undefined), + 'error.stack': (k) => k, + 'error.moduleTrace': (k) => undefined, + 'error.separator!': () => '\n', + 'loggingEntry(error).loggingEntry.message': (k, { red: v }) => + mapLines(k, (k) => ` ${v(k)}`), + 'loggingEntry(warn).loggingEntry.message': (k, { yellow: v }) => + mapLines(k, (k) => ` ${v(k)}`), + 'loggingEntry(info).loggingEntry.message': (k, { green: v }) => + mapLines(k, (k) => ` ${v(k)}`), + 'loggingEntry(log).loggingEntry.message': (k, { bold: v }) => + mapLines(k, (k) => ` ${v(k)}`), + 'loggingEntry(debug).loggingEntry.message': (k) => + mapLines(k, (k) => ` ${k}`), + 'loggingEntry(trace).loggingEntry.message': (k) => + mapLines(k, (k) => ` ${k}`), + 'loggingEntry(status).loggingEntry.message': (k, { magenta: v }) => + mapLines(k, (k) => ` ${v(k)}`), + 'loggingEntry(profile).loggingEntry.message': (k, { magenta: v }) => + mapLines(k, (k) => `

${v(k)}`), + 'loggingEntry(profileEnd).loggingEntry.message': (k, { magenta: v }) => + mapLines(k, (k) => `

${v(k)}`), + 'loggingEntry(time).loggingEntry.message': (k, { magenta: v }) => + mapLines(k, (k) => ` ${v(k)}`), + 'loggingEntry(group).loggingEntry.message': (k, { cyan: v }) => + mapLines(k, (k) => `<-> ${v(k)}`), + 'loggingEntry(groupCollapsed).loggingEntry.message': (k, { cyan: v }) => + mapLines(k, (k) => `<+> ${v(k)}`), + 'loggingEntry(clear).loggingEntry': () => ' -------', + 'loggingEntry(groupCollapsed).loggingEntry.children': () => '', + 'loggingEntry.trace[]': (k) => + k ? mapLines(k, (k) => `| ${k}`) : undefined, + 'moduleTraceItem.originName': (k) => k, + loggingGroup: (k) => (k.entries.length === 0 ? '' : undefined), + 'loggingGroup.debug': (k, { red: v }) => (k ? v('DEBUG') : undefined), + 'loggingGroup.name': (k, { bold: v }) => v(`LOG from ${k}`), + 'loggingGroup.separator!': () => '\n', + 'loggingGroup.filteredEntries': (k) => + k > 0 ? `+ ${k} hidden lines` : undefined, + 'moduleTraceDependency.loc': (k) => k, + } + const N = { + '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', + 'moduleReason.children[]': 'moduleReason', + 'module.issuerPath[]': 'moduleIssuer', + 'chunk.origins[]': 'chunkOrigin', + 'chunk.modules[]': 'module', + 'loggingGroup.entries[]': (k) => `loggingEntry(${k.type}).loggingEntry`, + 'loggingEntry.children[]': (k) => + `loggingEntry(${k.type}).loggingEntry`, + 'error.moduleTrace[]': 'moduleTraceItem', + 'moduleTraceItem.dependencies[]': 'moduleTraceDependency', + } + const q = [ + 'compilerPath', + 'chunkId', + 'chunkEntry', + 'chunkInitial', + 'file', + 'separator!', + 'moduleName', + 'loc', + 'separator!', + 'message', + 'separator!', + 'details', + 'separator!', + 'filteredDetails', + 'separator!', + 'stack', + 'separator!', + 'missing', + 'separator!', + 'moduleTrace', + ] + const ae = { + compilation: [ + 'name', + 'hash', + 'version', + 'time', + 'builtAt', + 'env', + 'publicPath', + 'assets', + 'filteredAssets', + 'entrypoints', + 'namedChunkGroups', + 'chunks', + 'modules', + 'filteredModules', + 'children', + 'logging', + 'warnings', + 'warningsInChildren!', + 'filteredWarningDetailsCount', + 'errors', + 'errorsInChildren!', + 'filteredErrorDetailsCount', + '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', + 'layer', + 'sizes', + 'chunks', + 'depth', + 'cacheable', + 'orphan', + 'runtime', + 'optional', + 'dependent', + 'built', + 'codeGenerated', + 'cached', + 'assets', + 'failed', + 'warnings', + 'errors', + 'children', + 'filteredChildren', + 'providedExports', + 'usedExports', + 'optimizationBailout', + 'reasons', + 'filteredReasons', + 'issuerPath', + 'profile', + 'modules', + 'filteredModules', + ], + moduleReason: [ + 'active', + 'type', + 'userRequest', + 'moduleId', + 'module', + 'resolvedModule', + 'loc', + 'explanation', + 'children', + 'filteredChildren', + ], + '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: q, + warning: q, + 'chunk.childrenByOrder[]': ['type', 'children'], + loggingGroup: [ + 'debug', + 'name', + 'separator!', + 'entries', + 'separator!', + 'filteredEntries', + ], + loggingEntry: ['message', 'trace', 'children'], + } + const itemsJoinOneLine = (k) => k.filter(Boolean).join(' ') + const itemsJoinOneLineBrackets = (k) => + k.length > 0 ? `(${k.filter(Boolean).join(' ')})` : undefined + const itemsJoinMoreSpacing = (k) => k.filter(Boolean).join('\n\n') + const itemsJoinComma = (k) => k.filter(Boolean).join(', ') + const itemsJoinCommaBrackets = (k) => + k.length > 0 ? `(${k.filter(Boolean).join(', ')})` : undefined + const itemsJoinCommaBracketsWithName = (k) => (v) => + v.length > 0 ? `(${k}: ${v.filter(Boolean).join(', ')})` : undefined + const le = { + 'chunk.parents': itemsJoinOneLine, + 'chunk.siblings': itemsJoinOneLine, + 'chunk.children': itemsJoinOneLine, + 'chunk.names': itemsJoinCommaBrackets, + 'chunk.idHints': itemsJoinCommaBracketsWithName('id hint'), + 'chunk.runtime': itemsJoinCommaBracketsWithName('runtime'), + 'chunk.files': itemsJoinComma, + 'chunk.childrenByOrder': itemsJoinOneLine, + 'chunk.childrenByOrder[].children': itemsJoinOneLine, + 'chunkGroup.assets': itemsJoinOneLine, + 'chunkGroup.auxiliaryAssets': itemsJoinOneLineBrackets, + 'chunkGroupChildGroup.children': itemsJoinComma, + 'chunkGroupChild.assets': itemsJoinOneLine, + 'chunkGroupChild.auxiliaryAssets': itemsJoinOneLineBrackets, + 'asset.chunks': itemsJoinComma, + 'asset.auxiliaryChunks': itemsJoinCommaBrackets, + 'asset.chunkNames': itemsJoinCommaBracketsWithName('name'), + 'asset.auxiliaryChunkNames': + itemsJoinCommaBracketsWithName('auxiliary name'), + 'asset.chunkIdHints': itemsJoinCommaBracketsWithName('id hint'), + 'asset.auxiliaryChunkIdHints': + itemsJoinCommaBracketsWithName('auxiliary id hint'), + 'module.chunks': itemsJoinOneLine, + 'module.issuerPath': (k) => + k + .filter(Boolean) + .map((k) => `${k} ->`) + .join(' '), + 'compilation.errors': itemsJoinMoreSpacing, + 'compilation.warnings': itemsJoinMoreSpacing, + 'compilation.logging': itemsJoinMoreSpacing, + 'compilation.children': (k) => indent(itemsJoinMoreSpacing(k), ' '), + 'moduleTraceItem.dependencies': itemsJoinOneLine, + 'loggingEntry.children': (k) => + indent(k.filter(Boolean).join('\n'), ' ', false), + } + const joinOneLine = (k) => + k + .map((k) => k.content) + .filter(Boolean) + .join(' ') + const joinInBrackets = (k) => { + const v = [] + let E = 0 + for (const P of k) { + if (P.element === 'separator!') { + switch (E) { + case 0: + case 1: + E += 2 + break + case 4: + v.push(')') + E = 3 + break + } + } + if (!P.content) continue + switch (E) { + case 0: + E = 1 + break + case 1: + v.push(' ') + break + case 2: + v.push('(') + E = 4 + break + case 3: + v.push(' (') + E = 4 + break + case 4: + v.push(', ') + break + } + v.push(P.content) + } + if (E === 4) v.push(')') + return v.join('') + } + const indent = (k, v, E) => { + const P = k.replace(/\n([^\n])/g, '\n' + v + '$1') + if (E) return P + const R = k[0] === '\n' ? '' : v + return R + P + } + const joinExplicitNewLine = (k, v) => { + let E = true + let P = true + return k + .map((k) => { + if (!k || !k.content) return + let R = indent(k.content, P ? '' : v, !E) + if (E) { + R = R.replace(/^\n+/, '') + } + if (!R) return + P = false + const L = E || R.startsWith('\n') + E = R.endsWith('\n') + return L ? R : ' ' + R + }) + .filter(Boolean) + .join('') + .trim() + } + const joinError = + (k) => + (v, { red: E, yellow: P }) => + `${k ? E('ERROR') : P('WARNING')} in ${joinExplicitNewLine(v, '')}` + const pe = { + compilation: (k) => { + const v = [] + let E = false + for (const P of k) { + if (!P.content) continue + const k = + P.element === 'warnings' || + P.element === 'filteredWarningDetailsCount' || + P.element === 'errors' || + P.element === 'filteredErrorDetailsCount' || + P.element === 'logging' + if (v.length !== 0) { + v.push(k || E ? '\n\n' : '\n') + } + v.push(P.content) + E = k + } + if (E) v.push('\n') + return v.join('') + }, + asset: (k) => + joinExplicitNewLine( + k.map((k) => { + if ( + (k.element === 'related' || k.element === 'children') && + k.content + ) { + return { ...k, content: `\n${k.content}\n` } + } + return k + }), + ' ' + ), + 'asset.info': joinOneLine, + module: (k, { module: v }) => { + let E = false + return joinExplicitNewLine( + k.map((k) => { + switch (k.element) { + case 'id': + if (v.id === v.name) { + if (E) return false + if (k.content) E = true + } + break + case 'name': + if (E) return false + if (k.content) E = true + break + case 'providedExports': + case 'usedExports': + case 'optimizationBailout': + case 'reasons': + case 'issuerPath': + case 'profile': + case 'children': + case 'modules': + if (k.content) { + return { ...k, content: `\n${k.content}\n` } + } + break + } + return k + }), + ' ' + ) + }, + chunk: (k) => { + let v = false + return ( + 'chunk ' + + joinExplicitNewLine( + k.filter((k) => { + switch (k.element) { + case 'entry': + if (k.content) v = true + break + case 'initial': + if (v) return false + break + } + return true + }), + ' ' + ) + ) + }, + 'chunk.childrenByOrder[]': (k) => `(${joinOneLine(k)})`, + chunkGroup: (k) => joinExplicitNewLine(k, ' '), + chunkGroupAsset: joinOneLine, + chunkGroupChildGroup: joinOneLine, + chunkGroupChild: joinOneLine, + moduleReason: (k, { moduleReason: v }) => { + let E = false + return joinExplicitNewLine( + k.map((k) => { + switch (k.element) { + case 'moduleId': + if (v.moduleId === v.module && k.content) E = true + break + case 'module': + if (E) return false + break + case 'resolvedModule': + if (v.module === v.resolvedModule) return false + break + case 'children': + if (k.content) { + return { ...k, content: `\n${k.content}\n` } + } + break + } + return k + }), + ' ' + ) + }, + 'module.profile': joinInBrackets, + moduleIssuer: joinOneLine, + chunkOrigin: (k) => '> ' + joinOneLine(k), + 'errors[].error': joinError(true), + 'warnings[].error': joinError(false), + loggingGroup: (k) => joinExplicitNewLine(k, '').trimEnd(), + moduleTraceItem: (k) => ' @ ' + joinOneLine(k), + moduleTraceDependency: joinOneLine, + } + const me = { + bold: '', + yellow: '', + red: '', + green: '', + cyan: '', + magenta: '', + } + const ye = { + formatChunkId: (k, { yellow: v }, E) => { + switch (E) { + case 'parent': + return `<{${v(k)}}>` + case 'sibling': + return `={${v(k)}}=` + case 'child': + return `>{${v(k)}}<` + default: + return `{${v(k)}}` + } + }, + formatModuleId: (k) => `[${k}]`, + formatFilename: (k, { green: v, yellow: E }, P) => (P ? E : v)(k), + formatFlag: (k) => `[${k}]`, + formatLayer: (k) => `(in ${k})`, + formatSize: E(3386).formatSize, + formatDateTime: (k, { bold: v }) => { + const E = new Date(k) + const P = twoDigit + const R = `${E.getFullYear()}-${P(E.getMonth() + 1)}-${P( + E.getDate() + )}` + const L = `${P(E.getHours())}:${P(E.getMinutes())}:${P( + E.getSeconds() + )}` + return `${R} ${v(L)}` + }, + formatTime: ( + k, + { timeReference: v, bold: E, green: P, yellow: R, red: L }, + N + ) => { + const q = ' ms' + if (v && k !== v) { + const N = [v / 2, v / 4, v / 8, v / 16] + if (k < N[3]) return `${k}${q}` + else if (k < N[2]) return E(`${k}${q}`) + else if (k < N[1]) return P(`${k}${q}`) + else if (k < N[0]) return R(`${k}${q}`) + else return L(`${k}${q}`) + } else { + return `${N ? E(k) : k}${q}` + } + }, + formatError: (k, { green: v, yellow: E, red: P }) => { + if (k.includes('[')) return k + const R = [ + { regExp: /(Did you mean .+)/g, format: v }, + { + regExp: /(Set 'mode' option to 'development' or 'production')/g, + format: v, + }, + { regExp: /(\(module has no exports\))/g, format: P }, + { regExp: /\(possible exports: (.+)\)/g, format: v }, + { regExp: /(?:^|\n)(.* doesn't exist)/g, format: P }, + { regExp: /('\w+' option has not been set)/g, format: P }, + { + regExp: /(Emitted value instead of an instance of Error)/g, + format: E, + }, + { regExp: /(Used? .+ instead)/gi, format: E }, + { regExp: /\b(deprecated|must|required)\b/g, format: E }, + { regExp: /\b(BREAKING CHANGE)\b/gi, format: P }, + { + regExp: + /\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi, + format: P, + }, + ] + for (const { regExp: v, format: E } of R) { + k = k.replace(v, (k, v) => k.replace(v, E(v))) + } + return k + }, + } + const _e = { 'module.modules': (k) => indent(k, '| ') } + const createOrder = (k, v) => { + const E = k.slice() + const P = new Set(k) + const R = new Set() + k.length = 0 + for (const E of v) { + if (E.endsWith('!') || P.has(E)) { + k.push(E) + R.add(E) + } + } + for (const v of E) { + if (!R.has(v)) { + k.push(v) + } + } + return k + } + class DefaultStatsPrinterPlugin { + apply(k) { + k.hooks.compilation.tap('DefaultStatsPrinterPlugin', (k) => { + k.hooks.statsPrinter.tap('DefaultStatsPrinterPlugin', (k, v, E) => { + k.hooks.print + .for('compilation') + .tap('DefaultStatsPrinterPlugin', (k, E) => { + for (const k of Object.keys(me)) { + let P + if (v.colors) { + if ( + typeof v.colors === 'object' && + typeof v.colors[k] === 'string' + ) { + P = v.colors[k] + } else { + P = me[k] + } + } + if (P) { + E[k] = (k) => + `${P}${ + typeof k === 'string' + ? k.replace( + /((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g, + `$1${P}` + ) + : k + }` + } else { + E[k] = (k) => k + } + } + for (const k of Object.keys(ye)) { + E[k] = (v, ...P) => ye[k](v, E, ...P) + } + E.timeReference = k.time + }) + for (const v of Object.keys(L)) { + k.hooks.print + .for(v) + .tap('DefaultStatsPrinterPlugin', (E, P) => L[v](E, P, k)) + } + for (const v of Object.keys(ae)) { + const E = ae[v] + k.hooks.sortElements + .for(v) + .tap('DefaultStatsPrinterPlugin', (k, v) => { + createOrder(k, E) + }) + } + for (const v of Object.keys(N)) { + const E = N[v] + k.hooks.getItemName + .for(v) + .tap( + 'DefaultStatsPrinterPlugin', + typeof E === 'string' ? () => E : E + ) + } + for (const v of Object.keys(le)) { + const E = le[v] + k.hooks.printItems.for(v).tap('DefaultStatsPrinterPlugin', E) + } + for (const v of Object.keys(pe)) { + const E = pe[v] + k.hooks.printElements.for(v).tap('DefaultStatsPrinterPlugin', E) + } + for (const v of Object.keys(_e)) { + const E = _e[v] + k.hooks.result.for(v).tap('DefaultStatsPrinterPlugin', E) + } + }) + }) + } + } + k.exports = DefaultStatsPrinterPlugin + }, + 12231: function (k, v, E) { + 'use strict' + const { HookMap: P, SyncBailHook: R, SyncWaterfallHook: L } = E(79846) + const { concatComparators: N, keepOriginalOrder: q } = E(95648) + const ae = E(53501) + class StatsFactory { + constructor() { + this.hooks = Object.freeze({ + extract: new P(() => new R(['object', 'data', 'context'])), + filter: new P( + () => new R(['item', 'context', 'index', 'unfilteredIndex']) + ), + sort: new P(() => new R(['comparators', 'context'])), + filterSorted: new P( + () => new R(['item', 'context', 'index', 'unfilteredIndex']) + ), + groupResults: new P(() => new R(['groupConfigs', 'context'])), + sortResults: new P(() => new R(['comparators', 'context'])), + filterResults: new P( + () => new R(['item', 'context', 'index', 'unfilteredIndex']) + ), + merge: new P(() => new R(['items', 'context'])), + result: new P(() => new L(['result', 'context'])), + getItemName: new P(() => new R(['item', 'context'])), + getItemFactory: new P(() => new R(['item', 'context'])), + }) + const k = this.hooks + this._caches = {} + for (const v of Object.keys(k)) { + this._caches[v] = new Map() + } + this._inCreate = false + } + _getAllLevelHooks(k, v, E) { + const P = v.get(E) + if (P !== undefined) { + return P + } + const R = [] + const L = E.split('.') + for (let v = 0; v < L.length; v++) { + const E = k.get(L.slice(v).join('.')) + if (E) { + R.push(E) + } + } + v.set(E, R) + return R + } + _forEachLevel(k, v, E, P) { + for (const R of this._getAllLevelHooks(k, v, E)) { + const k = P(R) + if (k !== undefined) return k + } + } + _forEachLevelWaterfall(k, v, E, P, R) { + for (const L of this._getAllLevelHooks(k, v, E)) { + P = R(L, P) + } + return P + } + _forEachLevelFilter(k, v, E, P, R, L) { + const N = this._getAllLevelHooks(k, v, E) + if (N.length === 0) return L ? P.slice() : P + let q = 0 + return P.filter((k, v) => { + for (const E of N) { + const P = R(E, k, v, q) + if (P !== undefined) { + if (P) q++ + return P + } + } + q++ + return true + }) + } + create(k, v, E) { + if (this._inCreate) { + return this._create(k, v, E) + } else { + try { + this._inCreate = true + return this._create(k, v, E) + } finally { + for (const k of Object.keys(this._caches)) this._caches[k].clear() + this._inCreate = false + } + } + } + _create(k, v, E) { + const P = { ...E, type: k, [k]: v } + if (Array.isArray(v)) { + const E = this._forEachLevelFilter( + this.hooks.filter, + this._caches.filter, + k, + v, + (k, v, E, R) => k.call(v, P, E, R), + true + ) + const R = [] + this._forEachLevel(this.hooks.sort, this._caches.sort, k, (k) => + k.call(R, P) + ) + if (R.length > 0) { + E.sort(N(...R, q(E))) + } + const L = this._forEachLevelFilter( + this.hooks.filterSorted, + this._caches.filterSorted, + k, + E, + (k, v, E, R) => k.call(v, P, E, R), + false + ) + let le = L.map((v, E) => { + const R = { ...P, _index: E } + const L = this._forEachLevel( + this.hooks.getItemName, + this._caches.getItemName, + `${k}[]`, + (k) => k.call(v, R) + ) + if (L) R[L] = v + const N = L ? `${k}[].${L}` : `${k}[]` + const q = + this._forEachLevel( + this.hooks.getItemFactory, + this._caches.getItemFactory, + N, + (k) => k.call(v, R) + ) || this + return q.create(N, v, R) + }) + const pe = [] + this._forEachLevel( + this.hooks.sortResults, + this._caches.sortResults, + k, + (k) => k.call(pe, P) + ) + if (pe.length > 0) { + le.sort(N(...pe, q(le))) + } + const me = [] + this._forEachLevel( + this.hooks.groupResults, + this._caches.groupResults, + k, + (k) => k.call(me, P) + ) + if (me.length > 0) { + le = ae(le, me) + } + const ye = this._forEachLevelFilter( + this.hooks.filterResults, + this._caches.filterResults, + k, + le, + (k, v, E, R) => k.call(v, P, E, R), + false + ) + let _e = this._forEachLevel( + this.hooks.merge, + this._caches.merge, + k, + (k) => k.call(ye, P) + ) + if (_e === undefined) _e = ye + return this._forEachLevelWaterfall( + this.hooks.result, + this._caches.result, + k, + _e, + (k, v) => k.call(v, P) + ) + } else { + const E = {} + this._forEachLevel( + this.hooks.extract, + this._caches.extract, + k, + (k) => k.call(E, v, P) + ) + return this._forEachLevelWaterfall( + this.hooks.result, + this._caches.result, + k, + E, + (k, v) => k.call(v, P) + ) + } + } + } + k.exports = StatsFactory + }, + 54052: function (k, v, E) { + 'use strict' + const { HookMap: P, SyncWaterfallHook: R, SyncBailHook: L } = E(79846) + class StatsPrinter { + constructor() { + this.hooks = Object.freeze({ + sortElements: new P(() => new L(['elements', 'context'])), + printElements: new P(() => new L(['printedElements', 'context'])), + sortItems: new P(() => new L(['items', 'context'])), + getItemName: new P(() => new L(['item', 'context'])), + printItems: new P(() => new L(['printedItems', 'context'])), + print: new P(() => new L(['object', 'context'])), + result: new P(() => new R(['result', 'context'])), + }) + this._levelHookCache = new Map() + this._inPrint = false + } + _getAllLevelHooks(k, v) { + let E = this._levelHookCache.get(k) + if (E === undefined) { + E = new Map() + this._levelHookCache.set(k, E) + } + const P = E.get(v) + if (P !== undefined) { + return P + } + const R = [] + const L = v.split('.') + for (let v = 0; v < L.length; v++) { + const E = k.get(L.slice(v).join('.')) + if (E) { + R.push(E) + } + } + E.set(v, R) + return R + } + _forEachLevel(k, v, E) { + for (const P of this._getAllLevelHooks(k, v)) { + const k = E(P) + if (k !== undefined) return k + } + } + _forEachLevelWaterfall(k, v, E, P) { + for (const R of this._getAllLevelHooks(k, v)) { + E = P(R, E) + } + return E + } + print(k, v, E) { + if (this._inPrint) { + return this._print(k, v, E) + } else { + try { + this._inPrint = true + return this._print(k, v, E) + } finally { + this._levelHookCache.clear() + this._inPrint = false + } + } + } + _print(k, v, E) { + const P = { ...E, type: k, [k]: v } + let R = this._forEachLevel(this.hooks.print, k, (k) => k.call(v, P)) + if (R === undefined) { + if (Array.isArray(v)) { + const E = v.slice() + this._forEachLevel(this.hooks.sortItems, k, (k) => k.call(E, P)) + const L = E.map((v, E) => { + const R = { ...P, _index: E } + const L = this._forEachLevel( + this.hooks.getItemName, + `${k}[]`, + (k) => k.call(v, R) + ) + if (L) R[L] = v + return this.print(L ? `${k}[].${L}` : `${k}[]`, v, R) + }) + R = this._forEachLevel(this.hooks.printItems, k, (k) => + k.call(L, P) + ) + if (R === undefined) { + const k = L.filter(Boolean) + if (k.length > 0) R = k.join('\n') + } + } else if (v !== null && typeof v === 'object') { + const E = Object.keys(v).filter((k) => v[k] !== undefined) + this._forEachLevel(this.hooks.sortElements, k, (k) => + k.call(E, P) + ) + const L = E.map((E) => { + const R = this.print(`${k}.${E}`, v[E], { + ...P, + _parent: v, + _element: E, + [E]: v[E], + }) + return { element: E, content: R } + }) + R = this._forEachLevel(this.hooks.printElements, k, (k) => + k.call(L, P) + ) + if (R === undefined) { + const k = L.map((k) => k.content).filter(Boolean) + if (k.length > 0) R = k.join('\n') + } + } + } + return this._forEachLevelWaterfall(this.hooks.result, k, R, (k, v) => + k.call(v, P) + ) + } + } + k.exports = StatsPrinter + }, + 68863: function (k, v) { + 'use strict' + v.equals = (k, v) => { + if (k.length !== v.length) return false + for (let E = 0; E < k.length; E++) { + if (k[E] !== v[E]) return false + } + return true + } + v.groupBy = (k = [], v) => + k.reduce( + (k, E) => { + k[v(E) ? 0 : 1].push(E) + return k + }, + [[], []] + ) + }, + 12970: function (k) { + 'use strict' + class ArrayQueue { + constructor(k) { + this._list = k ? Array.from(k) : [] + this._listReversed = [] + } + get length() { + return this._list.length + this._listReversed.length + } + clear() { + this._list.length = 0 + this._listReversed.length = 0 + } + enqueue(k) { + this._list.push(k) + } + dequeue() { + if (this._listReversed.length === 0) { + if (this._list.length === 0) return undefined + if (this._list.length === 1) return this._list.pop() + if (this._list.length < 16) return this._list.shift() + const k = this._listReversed + this._listReversed = this._list + this._listReversed.reverse() + this._list = k + } + return this._listReversed.pop() + } + delete(k) { + const v = this._list.indexOf(k) + if (v >= 0) { + this._list.splice(v, 1) + } else { + const v = this._listReversed.indexOf(k) + if (v >= 0) this._listReversed.splice(v, 1) + } + } + [Symbol.iterator]() { + let k = -1 + let v = false + return { + next: () => { + if (!v) { + k++ + if (k < this._list.length) { + return { done: false, value: this._list[k] } + } + v = true + k = this._listReversed.length + } + k-- + if (k < 0) { + return { done: true, value: undefined } + } + return { done: false, value: this._listReversed[k] } + }, + } + } + } + k.exports = ArrayQueue + }, + 89262: function (k, v, E) { + 'use strict' + const { SyncHook: P, AsyncSeriesHook: R } = E(79846) + const { makeWebpackError: L } = E(82104) + const N = E(71572) + const q = E(12970) + const ae = 0 + const le = 1 + const pe = 2 + let me = 0 + class AsyncQueueEntry { + constructor(k, v) { + this.item = k + this.state = ae + this.callback = v + this.callbacks = undefined + this.result = undefined + this.error = undefined + } + } + class AsyncQueue { + constructor({ + name: k, + parallelism: v, + parent: E, + processor: L, + getKey: N, + }) { + this._name = k + this._parallelism = v || 1 + this._processor = L + this._getKey = N || ((k) => k) + this._entries = new Map() + this._queued = new q() + this._children = undefined + this._activeTasks = 0 + this._willEnsureProcessing = false + this._needProcessing = false + this._stopped = false + this._root = E ? E._root : this + if (E) { + if (this._root._children === undefined) { + this._root._children = [this] + } else { + this._root._children.push(this) + } + } + this.hooks = { + beforeAdd: new R(['item']), + added: new P(['item']), + beforeStart: new R(['item']), + started: new P(['item']), + result: new P(['item', 'error', 'result']), + } + this._ensureProcessing = this._ensureProcessing.bind(this) + } + add(k, v) { + if (this._stopped) return v(new N('Queue was stopped')) + this.hooks.beforeAdd.callAsync(k, (E) => { + if (E) { + v(L(E, `AsyncQueue(${this._name}).hooks.beforeAdd`)) + return + } + const P = this._getKey(k) + const R = this._entries.get(P) + if (R !== undefined) { + if (R.state === pe) { + if (me++ > 3) { + process.nextTick(() => v(R.error, R.result)) + } else { + v(R.error, R.result) + } + me-- + } else if (R.callbacks === undefined) { + R.callbacks = [v] + } else { + R.callbacks.push(v) + } + return + } + const q = new AsyncQueueEntry(k, v) + if (this._stopped) { + this.hooks.added.call(k) + this._root._activeTasks++ + process.nextTick(() => + this._handleResult(q, new N('Queue was stopped')) + ) + } else { + this._entries.set(P, q) + this._queued.enqueue(q) + const v = this._root + v._needProcessing = true + if (v._willEnsureProcessing === false) { + v._willEnsureProcessing = true + setImmediate(v._ensureProcessing) + } + this.hooks.added.call(k) + } + }) + } + invalidate(k) { + const v = this._getKey(k) + const E = this._entries.get(v) + this._entries.delete(v) + if (E.state === ae) { + this._queued.delete(E) + } + } + waitFor(k, v) { + const E = this._getKey(k) + const P = this._entries.get(E) + if (P === undefined) { + return v( + new N('waitFor can only be called for an already started item') + ) + } + if (P.state === pe) { + process.nextTick(() => v(P.error, P.result)) + } else if (P.callbacks === undefined) { + P.callbacks = [v] + } else { + P.callbacks.push(v) + } + } + stop() { + this._stopped = true + const k = this._queued + this._queued = new q() + const v = this._root + for (const E of k) { + this._entries.delete(this._getKey(E.item)) + v._activeTasks++ + this._handleResult(E, new N('Queue was stopped')) + } + } + increaseParallelism() { + const k = this._root + k._parallelism++ + if (k._willEnsureProcessing === false && k._needProcessing) { + k._willEnsureProcessing = true + setImmediate(k._ensureProcessing) + } + } + decreaseParallelism() { + const k = this._root + k._parallelism-- + } + isProcessing(k) { + const v = this._getKey(k) + const E = this._entries.get(v) + return E !== undefined && E.state === le + } + isQueued(k) { + const v = this._getKey(k) + const E = this._entries.get(v) + return E !== undefined && E.state === ae + } + isDone(k) { + const v = this._getKey(k) + const E = this._entries.get(v) + return E !== undefined && E.state === pe + } + _ensureProcessing() { + while (this._activeTasks < this._parallelism) { + const k = this._queued.dequeue() + if (k === undefined) break + this._activeTasks++ + k.state = le + this._startProcessing(k) + } + this._willEnsureProcessing = false + if (this._queued.length > 0) return + if (this._children !== undefined) { + for (const k of this._children) { + while (this._activeTasks < this._parallelism) { + const v = k._queued.dequeue() + if (v === undefined) break + this._activeTasks++ + v.state = le + k._startProcessing(v) + } + if (k._queued.length > 0) return + } + } + if (!this._willEnsureProcessing) this._needProcessing = false + } + _startProcessing(k) { + this.hooks.beforeStart.callAsync(k.item, (v) => { + if (v) { + this._handleResult( + k, + L(v, `AsyncQueue(${this._name}).hooks.beforeStart`) + ) + return + } + let E = false + try { + this._processor(k.item, (v, P) => { + E = true + this._handleResult(k, v, P) + }) + } catch (v) { + if (E) throw v + this._handleResult(k, v, null) + } + this.hooks.started.call(k.item) + }) + } + _handleResult(k, v, E) { + this.hooks.result.callAsync(k.item, v, E, (P) => { + const R = P ? L(P, `AsyncQueue(${this._name}).hooks.result`) : v + const N = k.callback + const q = k.callbacks + k.state = pe + k.callback = undefined + k.callbacks = undefined + k.result = E + k.error = R + const ae = this._root + ae._activeTasks-- + if (ae._willEnsureProcessing === false && ae._needProcessing) { + ae._willEnsureProcessing = true + setImmediate(ae._ensureProcessing) + } + if (me++ > 3) { + process.nextTick(() => { + N(R, E) + if (q !== undefined) { + for (const k of q) { + k(R, E) + } + } + }) + } else { + N(R, E) + if (q !== undefined) { + for (const k of q) { + k(R, E) + } + } + } + me-- + }) + } + clear() { + this._entries.clear() + this._queued.clear() + this._activeTasks = 0 + this._willEnsureProcessing = false + this._needProcessing = false + this._stopped = false + } + } + k.exports = AsyncQueue + }, + 40466: function (k, v, E) { + 'use strict' + class Hash { + update(k, v) { + const P = E(60386) + throw new P() + } + digest(k) { + const v = E(60386) + throw new v() + } + } + k.exports = Hash + }, + 54480: function (k, v) { + 'use strict' + const last = (k) => { + let v + for (const E of k) v = E + return v + } + const someInIterable = (k, v) => { + for (const E of k) { + if (v(E)) return true + } + return false + } + const countIterable = (k) => { + let v = 0 + for (const E of k) v++ + return v + } + v.last = last + v.someInIterable = someInIterable + v.countIterable = countIterable + }, + 50680: function (k, v, E) { + 'use strict' + const { first: P } = E(59959) + const R = E(46081) + class LazyBucketSortedSet { + constructor(k, v, ...E) { + this._getKey = k + this._innerArgs = E + this._leaf = E.length <= 1 + this._keys = new R(undefined, v) + this._map = new Map() + this._unsortedItems = new Set() + this.size = 0 + } + add(k) { + this.size++ + this._unsortedItems.add(k) + } + _addInternal(k, v) { + let E = this._map.get(k) + if (E === undefined) { + E = this._leaf + ? new R(undefined, this._innerArgs[0]) + : new LazyBucketSortedSet(...this._innerArgs) + this._keys.add(k) + this._map.set(k, E) + } + E.add(v) + } + delete(k) { + this.size-- + if (this._unsortedItems.has(k)) { + this._unsortedItems.delete(k) + return + } + const v = this._getKey(k) + const E = this._map.get(v) + E.delete(k) + if (E.size === 0) { + this._deleteKey(v) + } + } + _deleteKey(k) { + this._keys.delete(k) + this._map.delete(k) + } + popFirst() { + if (this.size === 0) return undefined + this.size-- + if (this._unsortedItems.size > 0) { + for (const k of this._unsortedItems) { + const v = this._getKey(k) + this._addInternal(v, k) + } + this._unsortedItems.clear() + } + this._keys.sort() + const k = P(this._keys) + const v = this._map.get(k) + if (this._leaf) { + const E = v + E.sort() + const R = P(E) + E.delete(R) + if (E.size === 0) { + this._deleteKey(k) + } + return R + } else { + const E = v + const P = E.popFirst() + if (E.size === 0) { + this._deleteKey(k) + } + return P + } + } + startUpdate(k) { + if (this._unsortedItems.has(k)) { + return (v) => { + if (v) { + this._unsortedItems.delete(k) + this.size-- + return + } + } + } + const v = this._getKey(k) + if (this._leaf) { + const E = this._map.get(v) + return (P) => { + if (P) { + this.size-- + E.delete(k) + if (E.size === 0) { + this._deleteKey(v) + } + return + } + const R = this._getKey(k) + if (v === R) { + E.add(k) + } else { + E.delete(k) + if (E.size === 0) { + this._deleteKey(v) + } + this._addInternal(R, k) + } + } + } else { + const E = this._map.get(v) + const P = E.startUpdate(k) + return (R) => { + if (R) { + this.size-- + P(true) + if (E.size === 0) { + this._deleteKey(v) + } + return + } + const L = this._getKey(k) + if (v === L) { + P() + } else { + P(true) + if (E.size === 0) { + this._deleteKey(v) + } + this._addInternal(L, k) + } + } + } + } + _appendIterators(k) { + if (this._unsortedItems.size > 0) + k.push(this._unsortedItems[Symbol.iterator]()) + for (const v of this._keys) { + const E = this._map.get(v) + if (this._leaf) { + const v = E + const P = v[Symbol.iterator]() + k.push(P) + } else { + const v = E + v._appendIterators(k) + } + } + } + [Symbol.iterator]() { + const k = [] + this._appendIterators(k) + k.reverse() + let v = k.pop() + return { + next: () => { + const E = v.next() + if (E.done) { + if (k.length === 0) return E + v = k.pop() + return v.next() + } + return E + }, + } + } + } + k.exports = LazyBucketSortedSet + }, + 12359: function (k, v, E) { + 'use strict' + const P = E(58528) + const merge = (k, v) => { + for (const E of v) { + for (const v of E) { + k.add(v) + } + } + } + const flatten = (k, v) => { + for (const E of v) { + if (E._set.size > 0) k.add(E._set) + if (E._needMerge) { + for (const v of E._toMerge) { + k.add(v) + } + flatten(k, E._toDeepMerge) + } + } + } + class LazySet { + constructor(k) { + this._set = new Set(k) + this._toMerge = new Set() + this._toDeepMerge = [] + this._needMerge = false + this._deopt = false + } + _flatten() { + flatten(this._toMerge, this._toDeepMerge) + this._toDeepMerge.length = 0 + } + _merge() { + this._flatten() + merge(this._set, this._toMerge) + this._toMerge.clear() + this._needMerge = false + } + _isEmpty() { + return ( + this._set.size === 0 && + this._toMerge.size === 0 && + this._toDeepMerge.length === 0 + ) + } + get size() { + if (this._needMerge) this._merge() + return this._set.size + } + add(k) { + this._set.add(k) + return this + } + addAll(k) { + if (this._deopt) { + const v = this._set + for (const E of k) { + v.add(E) + } + } else { + if (k instanceof LazySet) { + if (k._isEmpty()) return this + this._toDeepMerge.push(k) + this._needMerge = true + if (this._toDeepMerge.length > 1e5) { + this._flatten() + } + } else { + this._toMerge.add(k) + this._needMerge = true + } + 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(k) { + if (this._needMerge) this._merge() + return this._set.delete(k) + } + entries() { + this._deopt = true + if (this._needMerge) this._merge() + return this._set.entries() + } + forEach(k, v) { + this._deopt = true + if (this._needMerge) this._merge() + this._set.forEach(k, v) + } + has(k) { + if (this._needMerge) this._merge() + return this._set.has(k) + } + 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: k }) { + if (this._needMerge) this._merge() + k(this._set.size) + for (const v of this._set) k(v) + } + static deserialize({ read: k }) { + const v = k() + const E = [] + for (let P = 0; P < v; P++) { + E.push(k()) + } + return new LazySet(E) + } + } + P(LazySet, 'webpack/lib/util/LazySet') + k.exports = LazySet + }, + 47978: function (k, v) { + 'use strict' + v.getOrInsert = (k, v, E) => { + const P = k.get(v) + if (P !== undefined) return P + const R = E() + k.set(v, R) + return R + } + }, + 99593: function (k, v, E) { + 'use strict' + const P = E(43759) + class ParallelismFactorCalculator { + constructor() { + this._rangePoints = [] + this._rangeCallbacks = [] + } + range(k, v, E) { + if (k === v) return E(1) + this._rangePoints.push(k) + this._rangePoints.push(v) + this._rangeCallbacks.push(E) + } + calculate() { + const k = Array.from(new Set(this._rangePoints)).sort((k, v) => + k < v ? -1 : 1 + ) + const v = k.map(() => 0) + const E = [] + for (let R = 0; R < this._rangePoints.length; R += 2) { + const L = this._rangePoints[R] + const N = this._rangePoints[R + 1] + let q = P.eq(k, L) + E.push(q) + do { + v[q]++ + q++ + } while (k[q] < N) + } + for (let P = 0; P < this._rangeCallbacks.length; P++) { + const R = this._rangePoints[P * 2] + const L = this._rangePoints[P * 2 + 1] + let N = E[P] + let q = 0 + let ae = 0 + let le = R + do { + const E = v[N] + N++ + const P = k[N] - le + ae += P + le = k[N] + q += E * P + } while (le < L) + this._rangeCallbacks[P](q / ae) + } + } + } + k.exports = ParallelismFactorCalculator + }, + 28226: function (k) { + 'use strict' + class Queue { + constructor(k) { + this._set = new Set(k) + this._iterator = this._set[Symbol.iterator]() + } + get length() { + return this._set.size + } + enqueue(k) { + this._set.add(k) + } + dequeue() { + const k = this._iterator.next() + if (k.done) return undefined + this._set.delete(k.value) + return k.value + } + } + k.exports = Queue + }, + 59959: function (k, v) { + 'use strict' + const intersect = (k) => { + if (k.length === 0) return new Set() + if (k.length === 1) return new Set(k[0]) + let v = Infinity + let E = -1 + for (let P = 0; P < k.length; P++) { + const R = k[P].size + if (R < v) { + E = P + v = R + } + } + const P = new Set(k[E]) + for (let v = 0; v < k.length; v++) { + if (v === E) continue + const R = k[v] + for (const k of P) { + if (!R.has(k)) { + P.delete(k) + } + } + } + return P + } + const isSubset = (k, v) => { + if (k.size < v.size) return false + for (const E of v) { + if (!k.has(E)) return false + } + return true + } + const find = (k, v) => { + for (const E of k) { + if (v(E)) return E + } + } + const first = (k) => { + const v = k.values().next() + return v.done ? undefined : v.value + } + const combine = (k, v) => { + if (v.size === 0) return k + if (k.size === 0) return v + const E = new Set(k) + for (const k of v) E.add(k) + return E + } + v.intersect = intersect + v.isSubset = isSubset + v.find = find + v.first = first + v.combine = combine + }, + 46081: function (k) { + 'use strict' + const v = Symbol('not sorted') + class SortableSet extends Set { + constructor(k, E) { + super(k) + this._sortFn = E + this._lastActiveSortFn = v + this._cache = undefined + this._cacheOrderIndependent = undefined + } + add(k) { + this._lastActiveSortFn = v + this._invalidateCache() + this._invalidateOrderedCache() + super.add(k) + return this + } + delete(k) { + this._invalidateCache() + this._invalidateOrderedCache() + return super.delete(k) + } + clear() { + this._invalidateCache() + this._invalidateOrderedCache() + return super.clear() + } + sortWith(k) { + if (this.size <= 1 || k === this._lastActiveSortFn) { + return + } + const v = Array.from(this).sort(k) + super.clear() + for (let k = 0; k < v.length; k += 1) { + super.add(v[k]) + } + this._lastActiveSortFn = k + this._invalidateCache() + } + sort() { + this.sortWith(this._sortFn) + return this + } + getFromCache(k) { + if (this._cache === undefined) { + this._cache = new Map() + } else { + const v = this._cache.get(k) + const E = v + if (E !== undefined) { + return E + } + } + const v = k(this) + this._cache.set(k, v) + return v + } + getFromUnorderedCache(k) { + if (this._cacheOrderIndependent === undefined) { + this._cacheOrderIndependent = new Map() + } else { + const v = this._cacheOrderIndependent.get(k) + const E = v + if (E !== undefined) { + return E + } + } + const v = k(this) + this._cacheOrderIndependent.set(k, v) + return v + } + _invalidateCache() { + if (this._cache !== undefined) { + this._cache.clear() + } + } + _invalidateOrderedCache() { + if (this._cacheOrderIndependent !== undefined) { + this._cacheOrderIndependent.clear() + } + } + toJSON() { + return Array.from(this) + } + } + k.exports = SortableSet + }, + 11333: function (k) { + 'use strict' + class StackedCacheMap { + constructor() { + this.map = new Map() + this.stack = [] + } + addAll(k, v) { + if (v) { + this.stack.push(k) + for (let v = this.stack.length - 1; v > 0; v--) { + const E = this.stack[v - 1] + if (E.size >= k.size) break + this.stack[v] = E + this.stack[v - 1] = k + } + } else { + for (const [v, E] of k) { + this.map.set(v, E) + } + } + } + set(k, v) { + this.map.set(k, v) + } + delete(k) { + throw new Error("Items can't be deleted from a StackedCacheMap") + } + has(k) { + throw new Error( + 'Checking StackedCacheMap.has before reading is inefficient, use StackedCacheMap.get and check for undefined' + ) + } + get(k) { + for (const v of this.stack) { + const E = v.get(k) + if (E !== undefined) return E + } + return this.map.get(k) + } + clear() { + this.stack.length = 0 + this.map.clear() + } + get size() { + let k = this.map.size + for (const v of this.stack) { + k += v.size + } + return k + } + [Symbol.iterator]() { + const k = this.stack.map((k) => k[Symbol.iterator]()) + let v = this.map[Symbol.iterator]() + return { + next() { + let E = v.next() + while (E.done && k.length > 0) { + v = k.pop() + E = v.next() + } + return E + }, + } + } + } + k.exports = StackedCacheMap + }, + 25728: function (k) { + 'use strict' + const v = Symbol('tombstone') + const E = Symbol('undefined') + const extractPair = (k) => { + const P = k[0] + const R = k[1] + if (R === E || R === v) { + return [P, undefined] + } else { + return k + } + } + class StackedMap { + constructor(k) { + this.map = new Map() + this.stack = k === undefined ? [] : k.slice() + this.stack.push(this.map) + } + set(k, v) { + this.map.set(k, v === undefined ? E : v) + } + delete(k) { + if (this.stack.length > 1) { + this.map.set(k, v) + } else { + this.map.delete(k) + } + } + has(k) { + const E = this.map.get(k) + if (E !== undefined) { + return E !== v + } + if (this.stack.length > 1) { + for (let E = this.stack.length - 2; E >= 0; E--) { + const P = this.stack[E].get(k) + if (P !== undefined) { + this.map.set(k, P) + return P !== v + } + } + this.map.set(k, v) + } + return false + } + get(k) { + const P = this.map.get(k) + if (P !== undefined) { + return P === v || P === E ? undefined : P + } + if (this.stack.length > 1) { + for (let P = this.stack.length - 2; P >= 0; P--) { + const R = this.stack[P].get(k) + if (R !== undefined) { + this.map.set(k, R) + return R === v || R === E ? undefined : R + } + } + this.map.set(k, v) + } + return undefined + } + _compress() { + if (this.stack.length === 1) return + this.map = new Map() + for (const k of this.stack) { + for (const E of k) { + if (E[1] === v) { + this.map.delete(E[0]) + } else { + this.map.set(E[0], E[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(), extractPair) + } + asMap() { + return new Map(this.asPairArray()) + } + get size() { + this._compress() + return this.map.size + } + createChild() { + return new StackedMap(this.stack) + } + } + k.exports = StackedMap + }, + 96181: function (k) { + 'use strict' + class StringXor { + constructor() { + this._value = undefined + } + add(k) { + const v = k.length + const E = this._value + if (E === undefined) { + const E = (this._value = Buffer.allocUnsafe(v)) + for (let P = 0; P < v; P++) { + E[P] = k.charCodeAt(P) + } + return + } + const P = E.length + if (P < v) { + const R = (this._value = Buffer.allocUnsafe(v)) + let L + for (L = 0; L < P; L++) { + R[L] = E[L] ^ k.charCodeAt(L) + } + for (; L < v; L++) { + R[L] = k.charCodeAt(L) + } + } else { + for (let P = 0; P < v; P++) { + E[P] = E[P] ^ k.charCodeAt(P) + } + } + } + toString() { + const k = this._value + return k === undefined ? '' : k.toString('latin1') + } + updateHash(k) { + const v = this._value + if (v !== undefined) k.update(v) + } + } + k.exports = StringXor + }, + 19361: function (k, v, E) { + 'use strict' + const P = E(71307) + class TupleQueue { + constructor(k) { + this._set = new P(k) + this._iterator = this._set[Symbol.iterator]() + } + get length() { + return this._set.size + } + enqueue(...k) { + this._set.add(...k) + } + dequeue() { + const k = this._iterator.next() + if (k.done) { + if (this._set.size > 0) { + this._iterator = this._set[Symbol.iterator]() + const k = this._iterator.next().value + this._set.delete(...k) + return k + } + return undefined + } + this._set.delete(...k.value) + return k.value + } + } + k.exports = TupleQueue + }, + 71307: function (k) { + 'use strict' + class TupleSet { + constructor(k) { + this._map = new Map() + this.size = 0 + if (k) { + for (const v of k) { + this.add(...v) + } + } + } + add(...k) { + let v = this._map + for (let E = 0; E < k.length - 2; E++) { + const P = k[E] + const R = v.get(P) + if (R === undefined) { + v.set(P, (v = new Map())) + } else { + v = R + } + } + const E = k[k.length - 2] + let P = v.get(E) + if (P === undefined) { + v.set(E, (P = new Set())) + } + const R = k[k.length - 1] + this.size -= P.size + P.add(R) + this.size += P.size + } + has(...k) { + let v = this._map + for (let E = 0; E < k.length - 2; E++) { + const P = k[E] + v = v.get(P) + if (v === undefined) { + return false + } + } + const E = k[k.length - 2] + let P = v.get(E) + if (P === undefined) { + return false + } + const R = k[k.length - 1] + return P.has(R) + } + delete(...k) { + let v = this._map + for (let E = 0; E < k.length - 2; E++) { + const P = k[E] + v = v.get(P) + if (v === undefined) { + return + } + } + const E = k[k.length - 2] + let P = v.get(E) + if (P === undefined) { + return + } + const R = k[k.length - 1] + this.size -= P.size + P.delete(R) + this.size += P.size + } + [Symbol.iterator]() { + const k = [] + const v = [] + let E = undefined + const next = (P) => { + const R = P.next() + if (R.done) { + if (k.length === 0) return false + v.pop() + return next(k.pop()) + } + const [L, N] = R.value + k.push(P) + v.push(L) + if (N instanceof Set) { + E = N[Symbol.iterator]() + return true + } else { + return next(N[Symbol.iterator]()) + } + } + next(this._map[Symbol.iterator]()) + return { + next() { + while (E) { + const P = E.next() + if (P.done) { + v.pop() + if (!next(k.pop())) { + E = undefined + } + } else { + return { done: false, value: v.concat(P.value) } + } + } + return { done: true, value: undefined } + }, + } + } + } + k.exports = TupleSet + }, + 78296: function (k, v) { + 'use strict' + const E = '\\'.charCodeAt(0) + const P = '/'.charCodeAt(0) + const R = 'a'.charCodeAt(0) + const L = 'z'.charCodeAt(0) + const N = 'A'.charCodeAt(0) + const q = 'Z'.charCodeAt(0) + const ae = '0'.charCodeAt(0) + const le = '9'.charCodeAt(0) + const pe = '+'.charCodeAt(0) + const me = '-'.charCodeAt(0) + const ye = ':'.charCodeAt(0) + const _e = '#'.charCodeAt(0) + const Ie = '?'.charCodeAt(0) + function getScheme(k) { + const v = k.charCodeAt(0) + if ((v < R || v > L) && (v < N || v > q)) { + return undefined + } + let Me = 1 + let Te = k.charCodeAt(Me) + while ( + (Te >= R && Te <= L) || + (Te >= N && Te <= q) || + (Te >= ae && Te <= le) || + Te === pe || + Te === me + ) { + if (++Me === k.length) return undefined + Te = k.charCodeAt(Me) + } + if (Te !== ye) return undefined + if (Me === 1) { + const v = Me + 1 < k.length ? k.charCodeAt(Me + 1) : 0 + if (v === 0 || v === E || v === P || v === _e || v === Ie) { + return undefined + } + } + return k.slice(0, Me).toLowerCase() + } + function getProtocol(k) { + const v = getScheme(k) + return v === undefined ? undefined : v + ':' + } + v.getScheme = getScheme + v.getProtocol = getProtocol + }, + 69752: function (k) { + 'use strict' + const isWeakKey = (k) => typeof k === 'object' && k !== null + class WeakTupleMap { + constructor() { + this.f = 0 + this.v = undefined + this.m = undefined + this.w = undefined + } + set(...k) { + let v = this + for (let E = 0; E < k.length - 1; E++) { + v = v._get(k[E]) + } + v._setValue(k[k.length - 1]) + } + has(...k) { + let v = this + for (let E = 0; E < k.length; E++) { + v = v._peek(k[E]) + if (v === undefined) return false + } + return v._hasValue() + } + get(...k) { + let v = this + for (let E = 0; E < k.length; E++) { + v = v._peek(k[E]) + if (v === undefined) return undefined + } + return v._getValue() + } + provide(...k) { + let v = this + for (let E = 0; E < k.length - 1; E++) { + v = v._get(k[E]) + } + if (v._hasValue()) return v._getValue() + const E = k[k.length - 1] + const P = E(...k.slice(0, -1)) + v._setValue(P) + return P + } + delete(...k) { + let v = this + for (let E = 0; E < k.length; E++) { + v = v._peek(k[E]) + if (v === undefined) return + } + v._deleteValue() + } + clear() { + this.f = 0 + this.v = undefined + this.w = undefined + this.m = undefined + } + _getValue() { + return this.v + } + _hasValue() { + return (this.f & 1) === 1 + } + _setValue(k) { + this.f |= 1 + this.v = k + } + _deleteValue() { + this.f &= 6 + this.v = undefined + } + _peek(k) { + if (isWeakKey(k)) { + if ((this.f & 4) !== 4) return undefined + return this.w.get(k) + } else { + if ((this.f & 2) !== 2) return undefined + return this.m.get(k) + } + } + _get(k) { + if (isWeakKey(k)) { + if ((this.f & 4) !== 4) { + const v = new WeakMap() + this.f |= 4 + const E = new WeakTupleMap() + ;(this.w = v).set(k, E) + return E + } + const v = this.w.get(k) + if (v !== undefined) { + return v + } + const E = new WeakTupleMap() + this.w.set(k, E) + return E + } else { + if ((this.f & 2) !== 2) { + const v = new Map() + this.f |= 2 + const E = new WeakTupleMap() + ;(this.m = v).set(k, E) + return E + } + const v = this.m.get(k) + if (v !== undefined) { + return v + } + const E = new WeakTupleMap() + this.m.set(k, E) + return E + } + } + } + k.exports = WeakTupleMap + }, + 43759: function (k) { + 'use strict' + const compileSearch = (k, v, E, P, R) => { + const L = [ + 'function ', + k, + '(a,l,h,', + P.join(','), + '){', + R ? '' : 'var i=', + E ? 'l-1' : 'h+1', + ';while(l<=h){var m=(l+h)>>>1,x=a[m]', + ] + if (R) { + if (v.indexOf('c') < 0) { + L.push(';if(x===y){return m}else if(x<=y){') + } else { + L.push(';var p=c(x,y);if(p===0){return m}else if(p<=0){') + } + } else { + L.push(';if(', v, '){i=m;') + } + if (E) { + L.push('l=m+1}else{h=m-1}') + } else { + L.push('h=m-1}else{l=m+1}') + } + L.push('}') + if (R) { + L.push('return -1};') + } else { + L.push('return i};') + } + return L.join('') + } + const compileBoundsSearch = (k, v, E, P) => { + const R = compileSearch('A', 'x' + k + 'y', v, ['y'], P) + const L = compileSearch('P', 'c(x,y)' + k + '0', v, ['y', 'c'], P) + const N = 'function dispatchBinarySearch' + const q = + "(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch" + const ae = [R, L, N, E, q, E] + const le = ae.join('') + const pe = new Function(le) + return pe() + } + k.exports = { + ge: compileBoundsSearch('>=', false, 'GE'), + gt: compileBoundsSearch('>', false, 'GT'), + lt: compileBoundsSearch('<', true, 'LT'), + le: compileBoundsSearch('<=', true, 'LE'), + eq: compileBoundsSearch('-', true, 'EQ', true), + } + }, + 99454: function (k, v) { + 'use strict' + const E = new WeakMap() + const P = new WeakMap() + const R = Symbol('DELETE') + const L = Symbol('cleverMerge dynamic info') + const cachedCleverMerge = (k, v) => { + if (v === undefined) return k + if (k === undefined) return v + if (typeof v !== 'object' || v === null) return v + if (typeof k !== 'object' || k === null) return k + let P = E.get(k) + if (P === undefined) { + P = new WeakMap() + E.set(k, P) + } + const R = P.get(v) + if (R !== undefined) return R + const L = _cleverMerge(k, v, true) + P.set(v, L) + return L + } + const cachedSetProperty = (k, v, E) => { + let R = P.get(k) + if (R === undefined) { + R = new Map() + P.set(k, R) + } + let L = R.get(v) + if (L === undefined) { + L = new Map() + R.set(v, L) + } + let N = L.get(E) + if (N) return N + N = { ...k, [v]: E } + L.set(E, N) + return N + } + const N = new WeakMap() + const cachedParseObject = (k) => { + const v = N.get(k) + if (v !== undefined) return v + const E = parseObject(k) + N.set(k, E) + return E + } + const parseObject = (k) => { + const v = new Map() + let E + const getInfo = (k) => { + const E = v.get(k) + if (E !== undefined) return E + const P = { + base: undefined, + byProperty: undefined, + byValues: undefined, + } + v.set(k, P) + return P + } + for (const v of Object.keys(k)) { + if (v.startsWith('by')) { + const P = v + const R = k[P] + if (typeof R === 'object') { + for (const k of Object.keys(R)) { + const v = R[k] + for (const E of Object.keys(v)) { + const L = getInfo(E) + if (L.byProperty === undefined) { + L.byProperty = P + L.byValues = new Map() + } else if (L.byProperty !== P) { + throw new Error( + `${P} and ${L.byProperty} for a single property is not supported` + ) + } + L.byValues.set(k, v[E]) + if (k === 'default') { + for (const k of Object.keys(R)) { + if (!L.byValues.has(k)) L.byValues.set(k, undefined) + } + } + } + } + } else if (typeof R === 'function') { + if (E === undefined) { + E = { byProperty: v, fn: R } + } else { + throw new Error( + `${v} and ${E.byProperty} when both are functions is not supported` + ) + } + } else { + const E = getInfo(v) + E.base = k[v] + } + } else { + const E = getInfo(v) + E.base = k[v] + } + } + return { static: v, dynamic: E } + } + const serializeObject = (k, v) => { + const E = {} + for (const v of k.values()) { + if (v.byProperty !== undefined) { + const k = (E[v.byProperty] = E[v.byProperty] || {}) + for (const E of v.byValues.keys()) { + k[E] = k[E] || {} + } + } + } + for (const [v, P] of k) { + if (P.base !== undefined) { + E[v] = P.base + } + if (P.byProperty !== undefined) { + const k = (E[P.byProperty] = E[P.byProperty] || {}) + for (const E of Object.keys(k)) { + const R = getFromByValues(P.byValues, E) + if (R !== undefined) k[E][v] = R + } + } + } + if (v !== undefined) { + E[v.byProperty] = v.fn + } + return E + } + const q = 0 + const ae = 1 + const le = 2 + const pe = 3 + const me = 4 + const getValueType = (k) => { + if (k === undefined) { + return q + } else if (k === R) { + return me + } else if (Array.isArray(k)) { + if (k.lastIndexOf('...') !== -1) return le + return ae + } else if ( + typeof k === 'object' && + k !== null && + (!k.constructor || k.constructor === Object) + ) { + return pe + } + return ae + } + const cleverMerge = (k, v) => { + if (v === undefined) return k + if (k === undefined) return v + if (typeof v !== 'object' || v === null) return v + if (typeof k !== 'object' || k === null) return k + return _cleverMerge(k, v, false) + } + const _cleverMerge = (k, v, E = false) => { + const P = E ? cachedParseObject(k) : parseObject(k) + const { static: R, dynamic: N } = P + if (N !== undefined) { + let { byProperty: k, fn: R } = N + const q = R[L] + if (q) { + v = E ? cachedCleverMerge(q[1], v) : cleverMerge(q[1], v) + R = q[0] + } + const newFn = (...k) => { + const P = R(...k) + return E ? cachedCleverMerge(P, v) : cleverMerge(P, v) + } + newFn[L] = [R, v] + return serializeObject(P.static, { byProperty: k, fn: newFn }) + } + const q = E ? cachedParseObject(v) : parseObject(v) + const { static: ae, dynamic: le } = q + const pe = new Map() + for (const [k, v] of R) { + const P = ae.get(k) + const R = P !== undefined ? mergeEntries(v, P, E) : v + pe.set(k, R) + } + for (const [k, v] of ae) { + if (!R.has(k)) { + pe.set(k, v) + } + } + return serializeObject(pe, le) + } + const mergeEntries = (k, v, E) => { + switch (getValueType(v.base)) { + case ae: + case me: + return v + case q: + if (!k.byProperty) { + return { + base: k.base, + byProperty: v.byProperty, + byValues: v.byValues, + } + } else if (k.byProperty !== v.byProperty) { + throw new Error( + `${k.byProperty} and ${v.byProperty} for a single property is not supported` + ) + } else { + const P = new Map(k.byValues) + for (const [R, L] of v.byValues) { + const v = getFromByValues(k.byValues, R) + P.set(R, mergeSingleValue(v, L, E)) + } + return { base: k.base, byProperty: k.byProperty, byValues: P } + } + default: { + if (!k.byProperty) { + return { + base: mergeSingleValue(k.base, v.base, E), + byProperty: v.byProperty, + byValues: v.byValues, + } + } + let P + const R = new Map(k.byValues) + for (const [k, P] of R) { + R.set(k, mergeSingleValue(P, v.base, E)) + } + if ( + Array.from(k.byValues.values()).every((k) => { + const v = getValueType(k) + return v === ae || v === me + }) + ) { + P = mergeSingleValue(k.base, v.base, E) + } else { + P = k.base + if (!R.has('default')) R.set('default', v.base) + } + if (!v.byProperty) { + return { base: P, byProperty: k.byProperty, byValues: R } + } else if (k.byProperty !== v.byProperty) { + throw new Error( + `${k.byProperty} and ${v.byProperty} for a single property is not supported` + ) + } + const L = new Map(R) + for (const [k, P] of v.byValues) { + const v = getFromByValues(R, k) + L.set(k, mergeSingleValue(v, P, E)) + } + return { base: P, byProperty: k.byProperty, byValues: L } + } + } + } + const getFromByValues = (k, v) => { + if (v !== 'default' && k.has(v)) { + return k.get(v) + } + return k.get('default') + } + const mergeSingleValue = (k, v, E) => { + const P = getValueType(v) + const R = getValueType(k) + switch (P) { + case me: + case ae: + return v + case pe: { + return R !== pe + ? v + : E + ? cachedCleverMerge(k, v) + : cleverMerge(k, v) + } + case q: + return k + case le: + switch (R !== ae ? R : Array.isArray(k) ? le : pe) { + case q: + return v + case me: + return v.filter((k) => k !== '...') + case le: { + const E = [] + for (const P of v) { + if (P === '...') { + for (const v of k) { + E.push(v) + } + } else { + E.push(P) + } + } + return E + } + case pe: + return v.map((v) => (v === '...' ? k : v)) + default: + throw new Error('Not implemented') + } + default: + throw new Error('Not implemented') + } + } + const removeOperations = (k) => { + const v = {} + for (const E of Object.keys(k)) { + const P = k[E] + const R = getValueType(P) + switch (R) { + case q: + case me: + break + case pe: + v[E] = removeOperations(P) + break + case le: + v[E] = P.filter((k) => k !== '...') + break + default: + v[E] = P + break + } + } + return v + } + const resolveByProperty = (k, v, ...E) => { + if (typeof k !== 'object' || k === null || !(v in k)) { + return k + } + const { [v]: P, ...R } = k + const L = R + const N = P + if (typeof N === 'object') { + const k = E[0] + if (k in N) { + return cachedCleverMerge(L, N[k]) + } else if ('default' in N) { + return cachedCleverMerge(L, N.default) + } else { + return L + } + } else if (typeof N === 'function') { + const k = N.apply(null, E) + return cachedCleverMerge(L, resolveByProperty(k, v, ...E)) + } + } + v.cachedSetProperty = cachedSetProperty + v.cachedCleverMerge = cachedCleverMerge + v.cleverMerge = cleverMerge + v.resolveByProperty = resolveByProperty + v.removeOperations = removeOperations + v.DELETE = R + }, + 95648: function (k, v, E) { + 'use strict' + const { compareRuntime: P } = E(1540) + const createCachedParameterizedComparator = (k) => { + const v = new WeakMap() + return (E) => { + const P = v.get(E) + if (P !== undefined) return P + const R = k.bind(null, E) + v.set(E, R) + return R + } + } + v.compareChunksById = (k, v) => compareIds(k.id, v.id) + v.compareModulesByIdentifier = (k, v) => + compareIds(k.identifier(), v.identifier()) + const compareModulesById = (k, v, E) => + compareIds(k.getModuleId(v), k.getModuleId(E)) + v.compareModulesById = + createCachedParameterizedComparator(compareModulesById) + const compareNumbers = (k, v) => { + if (typeof k !== typeof v) { + return typeof k < typeof v ? -1 : 1 + } + if (k < v) return -1 + if (k > v) return 1 + return 0 + } + v.compareNumbers = compareNumbers + const compareStringsNumeric = (k, v) => { + const E = k.split(/(\d+)/) + const P = v.split(/(\d+)/) + const R = Math.min(E.length, P.length) + for (let k = 0; k < R; k++) { + const v = E[k] + const R = P[k] + if (k % 2 === 0) { + if (v.length > R.length) { + if (v.slice(0, R.length) > R) return 1 + return -1 + } else if (R.length > v.length) { + if (R.slice(0, v.length) > v) return -1 + return 1 + } else { + if (v < R) return -1 + if (v > R) return 1 + } + } else { + const k = +v + const E = +R + if (k < E) return -1 + if (k > E) return 1 + } + } + if (P.length < E.length) return 1 + if (P.length > E.length) return -1 + return 0 + } + v.compareStringsNumeric = compareStringsNumeric + const compareModulesByPostOrderIndexOrIdentifier = (k, v, E) => { + const P = compareNumbers(k.getPostOrderIndex(v), k.getPostOrderIndex(E)) + if (P !== 0) return P + return compareIds(v.identifier(), E.identifier()) + } + v.compareModulesByPostOrderIndexOrIdentifier = + createCachedParameterizedComparator( + compareModulesByPostOrderIndexOrIdentifier + ) + const compareModulesByPreOrderIndexOrIdentifier = (k, v, E) => { + const P = compareNumbers(k.getPreOrderIndex(v), k.getPreOrderIndex(E)) + if (P !== 0) return P + return compareIds(v.identifier(), E.identifier()) + } + v.compareModulesByPreOrderIndexOrIdentifier = + createCachedParameterizedComparator( + compareModulesByPreOrderIndexOrIdentifier + ) + const compareModulesByIdOrIdentifier = (k, v, E) => { + const P = compareIds(k.getModuleId(v), k.getModuleId(E)) + if (P !== 0) return P + return compareIds(v.identifier(), E.identifier()) + } + v.compareModulesByIdOrIdentifier = createCachedParameterizedComparator( + compareModulesByIdOrIdentifier + ) + const compareChunks = (k, v, E) => k.compareChunks(v, E) + v.compareChunks = createCachedParameterizedComparator(compareChunks) + const compareIds = (k, v) => { + if (typeof k !== typeof v) { + return typeof k < typeof v ? -1 : 1 + } + if (k < v) return -1 + if (k > v) return 1 + return 0 + } + v.compareIds = compareIds + const compareStrings = (k, v) => { + if (k < v) return -1 + if (k > v) return 1 + return 0 + } + v.compareStrings = compareStrings + const compareChunkGroupsByIndex = (k, v) => (k.index < v.index ? -1 : 1) + v.compareChunkGroupsByIndex = compareChunkGroupsByIndex + class TwoKeyWeakMap { + constructor() { + this._map = new WeakMap() + } + get(k, v) { + const E = this._map.get(k) + if (E === undefined) { + return undefined + } + return E.get(v) + } + set(k, v, E) { + let P = this._map.get(k) + if (P === undefined) { + P = new WeakMap() + this._map.set(k, P) + } + P.set(v, E) + } + } + const R = new TwoKeyWeakMap() + const concatComparators = (k, v, ...E) => { + if (E.length > 0) { + const [P, ...R] = E + return concatComparators(k, concatComparators(v, P, ...R)) + } + const P = R.get(k, v) + if (P !== undefined) return P + const result = (E, P) => { + const R = k(E, P) + if (R !== 0) return R + return v(E, P) + } + R.set(k, v, result) + return result + } + v.concatComparators = concatComparators + const L = new TwoKeyWeakMap() + const compareSelect = (k, v) => { + const E = L.get(k, v) + if (E !== undefined) return E + const result = (E, P) => { + const R = k(E) + const L = k(P) + if (R !== undefined && R !== null) { + if (L !== undefined && L !== null) { + return v(R, L) + } + return -1 + } else { + if (L !== undefined && L !== null) { + return 1 + } + return 0 + } + } + L.set(k, v, result) + return result + } + v.compareSelect = compareSelect + const N = new WeakMap() + const compareIterables = (k) => { + const v = N.get(k) + if (v !== undefined) return v + const result = (v, E) => { + const P = v[Symbol.iterator]() + const R = E[Symbol.iterator]() + while (true) { + const v = P.next() + const E = R.next() + if (v.done) { + return E.done ? 0 : -1 + } else if (E.done) { + return 1 + } + const L = k(v.value, E.value) + if (L !== 0) return L + } + } + N.set(k, result) + return result + } + v.compareIterables = compareIterables + v.keepOriginalOrder = (k) => { + const v = new Map() + let E = 0 + for (const P of k) { + v.set(P, E++) + } + return (k, E) => compareNumbers(v.get(k), v.get(E)) + } + v.compareChunksNatural = (k) => { + const E = v.compareModulesById(k) + const R = compareIterables(E) + return concatComparators( + compareSelect((k) => k.name, compareIds), + compareSelect((k) => k.runtime, P), + compareSelect((v) => k.getOrderedChunkModulesIterable(v, E), R) + ) + } + v.compareLocations = (k, v) => { + let E = typeof k === 'object' && k !== null + let P = typeof v === 'object' && v !== null + if (!E || !P) { + if (E) return 1 + if (P) return -1 + return 0 + } + if ('start' in k) { + if ('start' in v) { + const E = k.start + const P = v.start + if (E.line < P.line) return -1 + if (E.line > P.line) return 1 + if (E.column < P.column) return -1 + if (E.column > P.column) return 1 + } else return -1 + } else if ('start' in v) return 1 + if ('name' in k) { + if ('name' in v) { + if (k.name < v.name) return -1 + if (k.name > v.name) return 1 + } else return -1 + } else if ('name' in v) return 1 + if ('index' in k) { + if ('index' in v) { + if (k.index < v.index) return -1 + if (k.index > v.index) return 1 + } else return -1 + } else if ('index' in v) return 1 + return 0 + } + }, + 21751: function (k) { + 'use strict' + const quoteMeta = (k) => k.replace(/[-[\]\\/{}()*+?.^$|]/g, '\\$&') + const toSimpleString = (k) => { + if (`${+k}` === k) { + return k + } + return JSON.stringify(k) + } + const compileBooleanMatcher = (k) => { + const v = Object.keys(k).filter((v) => k[v]) + const E = Object.keys(k).filter((v) => !k[v]) + if (v.length === 0) return false + if (E.length === 0) return true + return compileBooleanMatcherFromLists(v, E) + } + const compileBooleanMatcherFromLists = (k, v) => { + if (k.length === 0) return () => 'false' + if (v.length === 0) return () => 'true' + if (k.length === 1) return (v) => `${toSimpleString(k[0])} == ${v}` + if (v.length === 1) return (k) => `${toSimpleString(v[0])} != ${k}` + const E = itemsToRegexp(k) + const P = itemsToRegexp(v) + if (E.length <= P.length) { + return (k) => `/^${E}$/.test(${k})` + } else { + return (k) => `!/^${P}$/.test(${k})` + } + } + const popCommonItems = (k, v, E) => { + const P = new Map() + for (const E of k) { + const k = v(E) + if (k) { + let v = P.get(k) + if (v === undefined) { + v = [] + P.set(k, v) + } + v.push(E) + } + } + const R = [] + for (const v of P.values()) { + if (E(v)) { + for (const E of v) { + k.delete(E) + } + R.push(v) + } + } + return R + } + const getCommonPrefix = (k) => { + let v = k[0] + for (let E = 1; E < k.length; E++) { + const P = k[E] + for (let k = 0; k < v.length; k++) { + if (P[k] !== v[k]) { + v = v.slice(0, k) + break + } + } + } + return v + } + const getCommonSuffix = (k) => { + let v = k[0] + for (let E = 1; E < k.length; E++) { + const P = k[E] + for (let k = P.length - 1, E = v.length - 1; E >= 0; k--, E--) { + if (P[k] !== v[E]) { + v = v.slice(E + 1) + break + } + } + } + return v + } + const itemsToRegexp = (k) => { + if (k.length === 1) { + return quoteMeta(k[0]) + } + const v = [] + let E = 0 + for (const v of k) { + if (v.length === 1) { + E++ + } + } + if (E === k.length) { + return `[${quoteMeta(k.sort().join(''))}]` + } + const P = new Set(k.sort()) + if (E > 2) { + let k = '' + for (const v of P) { + if (v.length === 1) { + k += v + P.delete(v) + } + } + v.push(`[${quoteMeta(k)}]`) + } + if (v.length === 0 && P.size === 2) { + const v = getCommonPrefix(k) + const E = getCommonSuffix(k.map((k) => k.slice(v.length))) + if (v.length > 0 || E.length > 0) { + return `${quoteMeta(v)}${itemsToRegexp( + k.map((k) => k.slice(v.length, -E.length || undefined)) + )}${quoteMeta(E)}` + } + } + if (v.length === 0 && P.size === 2) { + const k = P[Symbol.iterator]() + const v = k.next().value + const E = k.next().value + if (v.length > 0 && E.length > 0 && v.slice(-1) === E.slice(-1)) { + return `${itemsToRegexp([ + v.slice(0, -1), + E.slice(0, -1), + ])}${quoteMeta(v.slice(-1))}` + } + } + const R = popCommonItems( + P, + (k) => (k.length >= 1 ? k[0] : false), + (k) => { + if (k.length >= 3) return true + if (k.length <= 1) return false + return k[0][1] === k[1][1] + } + ) + for (const k of R) { + const E = getCommonPrefix(k) + v.push( + `${quoteMeta(E)}${itemsToRegexp(k.map((k) => k.slice(E.length)))}` + ) + } + const L = popCommonItems( + P, + (k) => (k.length >= 1 ? k.slice(-1) : false), + (k) => { + if (k.length >= 3) return true + if (k.length <= 1) return false + return k[0].slice(-2) === k[1].slice(-2) + } + ) + for (const k of L) { + const E = getCommonSuffix(k) + v.push( + `${itemsToRegexp(k.map((k) => k.slice(0, -E.length)))}${quoteMeta( + E + )}` + ) + } + const N = v.concat(Array.from(P, quoteMeta)) + if (N.length === 1) return N[0] + return `(${N.join('|')})` + } + compileBooleanMatcher.fromLists = compileBooleanMatcherFromLists + compileBooleanMatcher.itemsToRegexp = itemsToRegexp + k.exports = compileBooleanMatcher + }, + 92198: function (k, v, E) { + 'use strict' + const P = E(20631) + const R = P(() => E(38476).validate) + const createSchemaValidation = (k, v, L) => { + v = P(v) + return (P) => { + if (k && !k(P)) { + R()(v(), P, L) + if (k) { + E(73837).deprecate( + () => {}, + 'webpack bug: Pre-compiled schema reports error while real schema is happy. This has performance drawbacks.', + 'DEP_WEBPACK_PRE_COMPILED_SCHEMA_INVALID' + )() + } + } + } + } + k.exports = createSchemaValidation + }, + 74012: function (k, v, E) { + 'use strict' + const P = E(40466) + const R = 2e3 + const L = {} + class BulkUpdateDecorator extends P { + constructor(k, v) { + super() + this.hashKey = v + if (typeof k === 'function') { + this.hashFactory = k + this.hash = undefined + } else { + this.hashFactory = undefined + this.hash = k + } + this.buffer = '' + } + update(k, v) { + if (v !== undefined || typeof k !== 'string' || k.length > R) { + if (this.hash === undefined) this.hash = this.hashFactory() + if (this.buffer.length > 0) { + this.hash.update(this.buffer) + this.buffer = '' + } + this.hash.update(k, v) + } else { + this.buffer += k + if (this.buffer.length > R) { + if (this.hash === undefined) this.hash = this.hashFactory() + this.hash.update(this.buffer) + this.buffer = '' + } + } + return this + } + digest(k) { + let v + const E = this.buffer + if (this.hash === undefined) { + const P = `${this.hashKey}-${k}` + v = L[P] + if (v === undefined) { + v = L[P] = new Map() + } + const R = v.get(E) + if (R !== undefined) return R + this.hash = this.hashFactory() + } + if (E.length > 0) { + this.hash.update(E) + } + const P = this.hash.digest(k) + const R = typeof P === 'string' ? P : P.toString() + if (v !== undefined) { + v.set(E, R) + } + return R + } + } + class DebugHash extends P { + constructor() { + super() + this.string = '' + } + update(k, v) { + if (typeof k !== 'string') k = k.toString('utf-8') + const E = Buffer.from('@webpack-debug-digest@').toString('hex') + if (k.startsWith(E)) { + k = Buffer.from(k.slice(E.length), 'hex').toString() + } + this.string += `[${k}](${new Error().stack.split('\n', 3)[2]})\n` + return this + } + digest(k) { + return Buffer.from('@webpack-debug-digest@' + this.string).toString( + 'hex' + ) + } + } + let N = undefined + let q = undefined + let ae = undefined + let le = undefined + k.exports = (k) => { + if (typeof k === 'function') { + return new BulkUpdateDecorator(() => new k()) + } + switch (k) { + case 'debug': + return new DebugHash() + case 'xxhash64': + if (q === undefined) { + q = E(82747) + if (le === undefined) { + le = E(96940) + } + } + return new le(q()) + case 'md4': + if (ae === undefined) { + ae = E(6078) + if (le === undefined) { + le = E(96940) + } + } + return new le(ae()) + case 'native-md4': + if (N === undefined) N = E(6113) + return new BulkUpdateDecorator(() => N.createHash('md4'), 'md4') + default: + if (N === undefined) N = E(6113) + return new BulkUpdateDecorator(() => N.createHash(k), k) + } + } + }, + 61883: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = new Map() + const createDeprecation = (k, v) => { + const E = R.get(k) + if (E !== undefined) return E + const L = P.deprecate(() => {}, k, 'DEP_WEBPACK_DEPRECATION_' + v) + R.set(k, L) + return L + } + const L = [ + 'concat', + 'entry', + 'filter', + 'find', + 'findIndex', + 'includes', + 'indexOf', + 'join', + 'lastIndexOf', + 'map', + 'reduce', + 'reduceRight', + 'slice', + 'some', + ] + const N = [ + 'copyWithin', + 'entries', + 'fill', + 'keys', + 'pop', + 'reverse', + 'shift', + 'splice', + 'sort', + 'unshift', + ] + v.arrayToSetDeprecation = (k, v) => { + for (const E of L) { + if (k[E]) continue + const P = createDeprecation( + `${v} was changed from Array to Set (using Array method '${E}' is deprecated)`, + 'ARRAY_TO_SET' + ) + k[E] = function () { + P() + const k = Array.from(this) + return Array.prototype[E].apply(k, arguments) + } + } + const E = createDeprecation( + `${v} was changed from Array to Set (using Array method 'push' is deprecated)`, + 'ARRAY_TO_SET_PUSH' + ) + const P = createDeprecation( + `${v} was changed from Array to Set (using Array property 'length' is deprecated)`, + 'ARRAY_TO_SET_LENGTH' + ) + const R = createDeprecation( + `${v} was changed from Array to Set (indexing Array is deprecated)`, + 'ARRAY_TO_SET_INDEXER' + ) + k.push = function () { + E() + for (const k of Array.from(arguments)) { + this.add(k) + } + return this.size + } + for (const E of N) { + if (k[E]) continue + k[E] = () => { + throw new Error( + `${v} was changed from Array to Set (using Array method '${E}' is not possible)` + ) + } + } + const createIndexGetter = (k) => { + const fn = function () { + R() + let v = 0 + for (const E of this) { + if (v++ === k) return E + } + return undefined + } + return fn + } + const defineIndexGetter = (E) => { + Object.defineProperty(k, E, { + get: createIndexGetter(E), + set(k) { + throw new Error( + `${v} was changed from Array to Set (indexing Array with write is not possible)` + ) + }, + }) + } + defineIndexGetter(0) + let q = 1 + Object.defineProperty(k, 'length', { + get() { + P() + const k = this.size + for (q; q < k + 1; q++) { + defineIndexGetter(q) + } + return k + }, + set(k) { + throw new Error( + `${v} was changed from Array to Set (writing to Array property 'length' is not possible)` + ) + }, + }) + k[Symbol.isConcatSpreadable] = true + } + v.createArrayToSetDeprecationSet = (k) => { + let E = false + class SetDeprecatedArray extends Set { + constructor(P) { + super(P) + if (!E) { + E = true + v.arrayToSetDeprecation(SetDeprecatedArray.prototype, k) + } + } + } + return SetDeprecatedArray + } + v.soonFrozenObjectDeprecation = (k, v, E, R = '') => { + const L = `${v} will be frozen in future, all modifications are deprecated.${ + R && `\n${R}` + }` + return new Proxy(k, { + set: P.deprecate((k, v, E, P) => Reflect.set(k, v, E, P), L, E), + defineProperty: P.deprecate( + (k, v, E) => Reflect.defineProperty(k, v, E), + L, + E + ), + deleteProperty: P.deprecate( + (k, v) => Reflect.deleteProperty(k, v), + L, + E + ), + setPrototypeOf: P.deprecate( + (k, v) => Reflect.setPrototypeOf(k, v), + L, + E + ), + }) + } + const deprecateAllProperties = (k, v, E) => { + const R = {} + const L = Object.getOwnPropertyDescriptors(k) + for (const k of Object.keys(L)) { + const N = L[k] + if (typeof N.value === 'function') { + Object.defineProperty(R, k, { + ...N, + value: P.deprecate(N.value, v, E), + }) + } else if (N.get || N.set) { + Object.defineProperty(R, k, { + ...N, + get: N.get && P.deprecate(N.get, v, E), + set: N.set && P.deprecate(N.set, v, E), + }) + } else { + let L = N.value + Object.defineProperty(R, k, { + configurable: N.configurable, + enumerable: N.enumerable, + get: P.deprecate(() => L, v, E), + set: N.writable ? P.deprecate((k) => (L = k), v, E) : undefined, + }) + } + } + return R + } + v.deprecateAllProperties = deprecateAllProperties + v.createFakeHook = (k, v, E) => { + if (v && E) { + k = deprecateAllProperties(k, v, E) + } + return Object.freeze(Object.assign(k, { _fakeHook: true })) + } + }, + 12271: function (k) { + 'use strict' + const similarity = (k, v) => { + const E = Math.min(k.length, v.length) + let P = 0 + for (let R = 0; R < E; R++) { + const E = k.charCodeAt(R) + const L = v.charCodeAt(R) + P += Math.max(0, 10 - Math.abs(E - L)) + } + return P + } + const getName = (k, v, E) => { + const P = Math.min(k.length, v.length) + let R = 0 + while (R < P) { + if (k.charCodeAt(R) !== v.charCodeAt(R)) { + R++ + break + } + R++ + } + while (R < P) { + const v = k.slice(0, R) + const P = v.toLowerCase() + if (!E.has(P)) { + E.add(P) + return v + } + R++ + } + return k + } + const addSizeTo = (k, v) => { + for (const E of Object.keys(v)) { + k[E] = (k[E] || 0) + v[E] + } + } + const subtractSizeFrom = (k, v) => { + for (const E of Object.keys(v)) { + k[E] -= v[E] + } + } + const sumSize = (k) => { + const v = Object.create(null) + for (const E of k) { + addSizeTo(v, E.size) + } + return v + } + const isTooBig = (k, v) => { + for (const E of Object.keys(k)) { + const P = k[E] + if (P === 0) continue + const R = v[E] + if (typeof R === 'number') { + if (P > R) return true + } + } + return false + } + const isTooSmall = (k, v) => { + for (const E of Object.keys(k)) { + const P = k[E] + if (P === 0) continue + const R = v[E] + if (typeof R === 'number') { + if (P < R) return true + } + } + return false + } + const getTooSmallTypes = (k, v) => { + const E = new Set() + for (const P of Object.keys(k)) { + const R = k[P] + if (R === 0) continue + const L = v[P] + if (typeof L === 'number') { + if (R < L) E.add(P) + } + } + return E + } + const getNumberOfMatchingSizeTypes = (k, v) => { + let E = 0 + for (const P of Object.keys(k)) { + if (k[P] !== 0 && v.has(P)) E++ + } + return E + } + const selectiveSizeSum = (k, v) => { + let E = 0 + for (const P of Object.keys(k)) { + if (k[P] !== 0 && v.has(P)) E += k[P] + } + return E + } + class Node { + constructor(k, v, E) { + this.item = k + this.key = v + this.size = E + } + } + class Group { + constructor(k, v, E) { + this.nodes = k + this.similarities = v + this.size = E || sumSize(k) + this.key = undefined + } + popNodes(k) { + const v = [] + const E = [] + const P = [] + let R + for (let L = 0; L < this.nodes.length; L++) { + const N = this.nodes[L] + if (k(N)) { + P.push(N) + } else { + if (v.length > 0) { + E.push( + R === this.nodes[L - 1] + ? this.similarities[L - 1] + : similarity(R.key, N.key) + ) + } + v.push(N) + R = N + } + } + if (P.length === this.nodes.length) return undefined + this.nodes = v + this.similarities = E + this.size = sumSize(v) + return P + } + } + const getSimilarities = (k) => { + const v = [] + let E = undefined + for (const P of k) { + if (E !== undefined) { + v.push(similarity(E.key, P.key)) + } + E = P + } + return v + } + k.exports = ({ + maxSize: k, + minSize: v, + items: E, + getSize: P, + getKey: R, + }) => { + const L = [] + const N = Array.from(E, (k) => new Node(k, R(k), P(k))) + const q = [] + N.sort((k, v) => { + if (k.key < v.key) return -1 + if (k.key > v.key) return 1 + return 0 + }) + for (const E of N) { + if (isTooBig(E.size, k) && !isTooSmall(E.size, v)) { + L.push(new Group([E], [])) + } else { + q.push(E) + } + } + if (q.length > 0) { + const E = new Group(q, getSimilarities(q)) + const removeProblematicNodes = (k, E = k.size) => { + const P = getTooSmallTypes(E, v) + if (P.size > 0) { + const v = k.popNodes( + (k) => getNumberOfMatchingSizeTypes(k.size, P) > 0 + ) + if (v === undefined) return false + const E = L.filter( + (k) => getNumberOfMatchingSizeTypes(k.size, P) > 0 + ) + if (E.length > 0) { + const k = E.reduce((k, v) => { + const E = getNumberOfMatchingSizeTypes(k, P) + const R = getNumberOfMatchingSizeTypes(v, P) + if (E !== R) return E < R ? v : k + if (selectiveSizeSum(k.size, P) > selectiveSizeSum(v.size, P)) + return v + return k + }) + for (const E of v) k.nodes.push(E) + k.nodes.sort((k, v) => { + if (k.key < v.key) return -1 + if (k.key > v.key) return 1 + return 0 + }) + } else { + L.push(new Group(v, null)) + } + return true + } else { + return false + } + } + if (E.nodes.length > 0) { + const P = [E] + while (P.length) { + const E = P.pop() + if (!isTooBig(E.size, k)) { + L.push(E) + continue + } + if (removeProblematicNodes(E)) { + P.push(E) + continue + } + let R = 1 + let N = Object.create(null) + addSizeTo(N, E.nodes[0].size) + while (R < E.nodes.length && isTooSmall(N, v)) { + addSizeTo(N, E.nodes[R].size) + R++ + } + let q = E.nodes.length - 2 + let ae = Object.create(null) + addSizeTo(ae, E.nodes[E.nodes.length - 1].size) + while (q >= 0 && isTooSmall(ae, v)) { + addSizeTo(ae, E.nodes[q].size) + q-- + } + if (R - 1 > q) { + let k + if (q < E.nodes.length - R) { + subtractSizeFrom(ae, E.nodes[q + 1].size) + k = ae + } else { + subtractSizeFrom(N, E.nodes[R - 1].size) + k = N + } + if (removeProblematicNodes(E, k)) { + P.push(E) + continue + } + L.push(E) + continue + } + if (R <= q) { + let k = -1 + let P = Infinity + let ae = R + let le = sumSize(E.nodes.slice(ae)) + while (ae <= q + 1) { + const R = E.similarities[ae - 1] + if (R < P && !isTooSmall(N, v) && !isTooSmall(le, v)) { + k = ae + P = R + } + addSizeTo(N, E.nodes[ae].size) + subtractSizeFrom(le, E.nodes[ae].size) + ae++ + } + if (k < 0) { + L.push(E) + continue + } + R = k + q = k - 1 + } + const le = [E.nodes[q + 1]] + const pe = [] + for (let k = q + 2; k < E.nodes.length; k++) { + pe.push(E.similarities[k - 1]) + le.push(E.nodes[k]) + } + P.push(new Group(le, pe)) + const me = [E.nodes[0]] + const ye = [] + for (let k = 1; k < R; k++) { + ye.push(E.similarities[k - 1]) + me.push(E.nodes[k]) + } + P.push(new Group(me, ye)) + } + } + } + L.sort((k, v) => { + if (k.nodes[0].key < v.nodes[0].key) return -1 + if (k.nodes[0].key > v.nodes[0].key) return 1 + return 0 + }) + const ae = new Set() + for (let k = 0; k < L.length; k++) { + const v = L[k] + if (v.nodes.length === 1) { + v.key = v.nodes[0].key + } else { + const k = v.nodes[0] + const E = v.nodes[v.nodes.length - 1] + const P = getName(k.key, E.key, ae) + v.key = P + } + } + return L.map((k) => ({ + key: k.key, + items: k.nodes.map((k) => k.item), + size: k.size, + })) + } + }, + 21053: function (k) { + 'use strict' + k.exports = function extractUrlAndGlobal(k) { + const v = k.indexOf('@') + if (v <= 0 || v === k.length - 1) { + throw new Error(`Invalid request "${k}"`) + } + return [k.substring(v + 1), k.substring(0, v)] + } + }, + 34271: function (k) { + 'use strict' + const v = 0 + const E = 1 + const P = 2 + const R = 3 + const L = 4 + class Node { + constructor(k) { + this.item = k + this.dependencies = new Set() + this.marker = v + this.cycle = undefined + this.incoming = 0 + } + } + class Cycle { + constructor() { + this.nodes = new Set() + } + } + k.exports = (k, N) => { + const q = new Map() + for (const v of k) { + const k = new Node(v) + q.set(v, k) + } + if (q.size <= 1) return k + for (const k of q.values()) { + for (const v of N(k.item)) { + const E = q.get(v) + if (E !== undefined) { + k.dependencies.add(E) + } + } + } + const ae = new Set() + const le = new Set() + for (const k of q.values()) { + if (k.marker === v) { + k.marker = E + const N = [{ node: k, openEdges: Array.from(k.dependencies) }] + while (N.length > 0) { + const k = N[N.length - 1] + if (k.openEdges.length > 0) { + const q = k.openEdges.pop() + switch (q.marker) { + case v: + N.push({ node: q, openEdges: Array.from(q.dependencies) }) + q.marker = E + break + case E: { + let k = q.cycle + if (!k) { + k = new Cycle() + k.nodes.add(q) + q.cycle = k + } + for (let v = N.length - 1; N[v].node !== q; v--) { + const E = N[v].node + if (E.cycle) { + if (E.cycle !== k) { + for (const v of E.cycle.nodes) { + v.cycle = k + k.nodes.add(v) + } + } + } else { + E.cycle = k + k.nodes.add(E) + } + } + break + } + case L: + q.marker = P + ae.delete(q) + break + case R: + le.delete(q.cycle) + q.marker = P + break + } + } else { + N.pop() + k.node.marker = P + } + } + const q = k.cycle + if (q) { + for (const k of q.nodes) { + k.marker = R + } + le.add(q) + } else { + k.marker = L + ae.add(k) + } + } + } + for (const k of le) { + let v = 0 + const E = new Set() + const P = k.nodes + for (const k of P) { + for (const R of k.dependencies) { + if (P.has(R)) { + R.incoming++ + if (R.incoming < v) continue + if (R.incoming > v) { + E.clear() + v = R.incoming + } + E.add(R) + } + } + } + for (const k of E) { + ae.add(k) + } + } + if (ae.size > 0) { + return Array.from(ae, (k) => k.item) + } else { + throw new Error('Implementation of findGraphRoots is broken') + } + } + }, + 57825: function (k, v, E) { + 'use strict' + const P = E(71017) + const relative = (k, v, E) => { + if (k && k.relative) { + return k.relative(v, E) + } else if (P.posix.isAbsolute(v)) { + return P.posix.relative(v, E) + } else if (P.win32.isAbsolute(v)) { + return P.win32.relative(v, E) + } else { + throw new Error( + `${v} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system` + ) + } + } + v.relative = relative + const join = (k, v, E) => { + if (k && k.join) { + return k.join(v, E) + } else if (P.posix.isAbsolute(v)) { + return P.posix.join(v, E) + } else if (P.win32.isAbsolute(v)) { + return P.win32.join(v, E) + } else { + throw new Error( + `${v} is neither a posix nor a windows path, and there is no 'join' method defined in the file system` + ) + } + } + v.join = join + const dirname = (k, v) => { + if (k && k.dirname) { + return k.dirname(v) + } else if (P.posix.isAbsolute(v)) { + return P.posix.dirname(v) + } else if (P.win32.isAbsolute(v)) { + return P.win32.dirname(v) + } else { + throw new Error( + `${v} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system` + ) + } + } + v.dirname = dirname + const mkdirp = (k, v, E) => { + k.mkdir(v, (P) => { + if (P) { + if (P.code === 'ENOENT') { + const R = dirname(k, v) + if (R === v) { + E(P) + return + } + mkdirp(k, R, (P) => { + if (P) { + E(P) + return + } + k.mkdir(v, (k) => { + if (k) { + if (k.code === 'EEXIST') { + E() + return + } + E(k) + return + } + E() + }) + }) + return + } else if (P.code === 'EEXIST') { + E() + return + } + E(P) + return + } + E() + }) + } + v.mkdirp = mkdirp + const mkdirpSync = (k, v) => { + try { + k.mkdirSync(v) + } catch (E) { + if (E) { + if (E.code === 'ENOENT') { + const P = dirname(k, v) + if (P === v) { + throw E + } + mkdirpSync(k, P) + k.mkdirSync(v) + return + } else if (E.code === 'EEXIST') { + return + } + throw E + } + } + } + v.mkdirpSync = mkdirpSync + const readJson = (k, v, E) => { + if ('readJson' in k) return k.readJson(v, E) + k.readFile(v, (k, v) => { + if (k) return E(k) + let P + try { + P = JSON.parse(v.toString('utf-8')) + } catch (k) { + return E(k) + } + return E(null, P) + }) + } + v.readJson = readJson + const lstatReadlinkAbsolute = (k, v, E) => { + let P = 3 + const doReadLink = () => { + k.readlink(v, (R, L) => { + if (R && --P > 0) { + return doStat() + } + if (R || !L) return doStat() + const N = L.toString() + E(null, join(k, dirname(k, v), N)) + }) + } + const doStat = () => { + if ('lstat' in k) { + return k.lstat(v, (k, v) => { + if (k) return E(k) + if (v.isSymbolicLink()) { + return doReadLink() + } + E(null, v) + }) + } else { + return k.stat(v, E) + } + } + if ('lstat' in k) return doStat() + doReadLink() + } + v.lstatReadlinkAbsolute = lstatReadlinkAbsolute + }, + 96940: function (k, v, E) { + 'use strict' + const P = E(40466) + const R = E(87747).MAX_SHORT_STRING + class BatchedHash extends P { + constructor(k) { + super() + this.string = undefined + this.encoding = undefined + this.hash = k + } + update(k, v) { + if (this.string !== undefined) { + if ( + typeof k === 'string' && + v === this.encoding && + this.string.length + k.length < R + ) { + this.string += k + return this + } + this.hash.update(this.string, this.encoding) + this.string = undefined + } + if (typeof k === 'string') { + if (k.length < R && (!v || !v.startsWith('ba'))) { + this.string = k + this.encoding = v + } else { + this.hash.update(k, v) + } + } else { + this.hash.update(k) + } + return this + } + digest(k) { + if (this.string !== undefined) { + this.hash.update(this.string, this.encoding) + } + return this.hash.digest(k) + } + } + k.exports = BatchedHash + }, + 6078: function (k, v, E) { + 'use strict' + const P = E(87747) + const R = new WebAssembly.Module( + Buffer.from( + 'AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqJEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvQCgEZfyMBIQUjAiECIwMhAyMEIQQDQCAAIAFLBEAgASgCBCIOIAQgAyABKAIAIg8gBSAEIAIgAyAEc3FzampBA3ciCCACIANzcXNqakEHdyEJIAEoAgwiBiACIAggASgCCCIQIAMgAiAJIAIgCHNxc2pqQQt3IgogCCAJc3FzampBE3chCyABKAIUIgcgCSAKIAEoAhAiESAIIAkgCyAJIApzcXNqakEDdyIMIAogC3Nxc2pqQQd3IQ0gASgCHCIJIAsgDCABKAIYIgggCiALIA0gCyAMc3FzampBC3ciEiAMIA1zcXNqakETdyETIAEoAiQiFCANIBIgASgCICIVIAwgDSATIA0gEnNxc2pqQQN3IgwgEiATc3FzampBB3chDSABKAIsIgsgEyAMIAEoAigiCiASIBMgDSAMIBNzcXNqakELdyISIAwgDXNxc2pqQRN3IRMgASgCNCIWIA0gEiABKAIwIhcgDCANIBMgDSASc3FzampBA3ciGCASIBNzcXNqakEHdyEZIBggASgCPCINIBMgGCABKAI4IgwgEiATIBkgEyAYc3FzampBC3ciEiAYIBlzcXNqakETdyITIBIgGXJxIBIgGXFyaiAPakGZ84nUBWpBA3ciGCATIBIgGSAYIBIgE3JxIBIgE3FyaiARakGZ84nUBWpBBXciEiATIBhycSATIBhxcmogFWpBmfOJ1AVqQQl3IhMgEiAYcnEgEiAYcXJqIBdqQZnzidQFakENdyIYIBIgE3JxIBIgE3FyaiAOakGZ84nUBWpBA3ciGSAYIBMgEiAZIBMgGHJxIBMgGHFyaiAHakGZ84nUBWpBBXciEiAYIBlycSAYIBlxcmogFGpBmfOJ1AVqQQl3IhMgEiAZcnEgEiAZcXJqIBZqQZnzidQFakENdyIYIBIgE3JxIBIgE3FyaiAQakGZ84nUBWpBA3ciGSAYIBMgEiAZIBMgGHJxIBMgGHFyaiAIakGZ84nUBWpBBXciEiAYIBlycSAYIBlxcmogCmpBmfOJ1AVqQQl3IhMgEiAZcnEgEiAZcXJqIAxqQZnzidQFakENdyIYIBIgE3JxIBIgE3FyaiAGakGZ84nUBWpBA3ciGSAYIBMgEiAZIBMgGHJxIBMgGHFyaiAJakGZ84nUBWpBBXciEiAYIBlycSAYIBlxcmogC2pBmfOJ1AVqQQl3IhMgEiAZcnEgEiAZcXJqIA1qQZnzidQFakENdyIYIBNzIBJzaiAPakGh1+f2BmpBA3ciDyAYIBMgEiAPIBhzIBNzaiAVakGh1+f2BmpBCXciEiAPcyAYc2ogEWpBodfn9gZqQQt3IhEgEnMgD3NqIBdqQaHX5/YGakEPdyIPIBFzIBJzaiAQakGh1+f2BmpBA3ciECAPIBEgEiAPIBBzIBFzaiAKakGh1+f2BmpBCXciCiAQcyAPc2ogCGpBodfn9gZqQQt3IgggCnMgEHNqIAxqQaHX5/YGakEPdyIMIAhzIApzaiAOakGh1+f2BmpBA3ciDiAMIAggCiAMIA5zIAhzaiAUakGh1+f2BmpBCXciCCAOcyAMc2ogB2pBodfn9gZqQQt3IgcgCHMgDnNqIBZqQaHX5/YGakEPdyIKIAdzIAhzaiAGakGh1+f2BmpBA3ciBiAFaiEFIAIgCiAHIAggBiAKcyAHc2ogC2pBodfn9gZqQQl3IgcgBnMgCnNqIAlqQaHX5/YGakELdyIIIAdzIAZzaiANakGh1+f2BmpBD3dqIQIgAyAIaiEDIAQgB2ohBCABQUBrIQEMAQsLIAUkASACJAIgAyQDIAQkBAsNACAAEAEjACAAaiQAC/8EAgN/AX4jACAAaq1CA4YhBCAAQcgAakFAcSICQQhrIQMgACIBQQFqIQAgAUGAAToAAANAIAAgAklBACAAQQdxGwRAIABBADoAACAAQQFqIQAMAQsLA0AgACACSQRAIABCADcDACAAQQhqIQAMAQsLIAMgBDcDACACEAFBACMBrSIEQv//A4MgBEKAgPz/D4NCEIaEIgRC/4GAgPAfgyAEQoD+g4CA4D+DQgiGhCIEQo+AvIDwgcAHg0IIhiAEQvCBwIeAnoD4AINCBIiEIgRChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IARCsODAgYOGjJgwhHw3AwBBCCMCrSIEQv//A4MgBEKAgPz/D4NCEIaEIgRC/4GAgPAfgyAEQoD+g4CA4D+DQgiGhCIEQo+AvIDwgcAHg0IIhiAEQvCBwIeAnoD4AINCBIiEIgRChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IARCsODAgYOGjJgwhHw3AwBBECMDrSIEQv//A4MgBEKAgPz/D4NCEIaEIgRC/4GAgPAfgyAEQoD+g4CA4D+DQgiGhCIEQo+AvIDwgcAHg0IIhiAEQvCBwIeAnoD4AINCBIiEIgRChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IARCsODAgYOGjJgwhHw3AwBBGCMErSIEQv//A4MgBEKAgPz/D4NCEIaEIgRC/4GAgPAfgyAEQoD+g4CA4D+DQgiGhCIEQo+AvIDwgcAHg0IIhiAEQvCBwIeAnoD4AINCBIiEIgRChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IARCsODAgYOGjJgwhHw3AwAL', + 'base64' + ) + ) + k.exports = P.bind(null, R, [], 64, 32) + }, + 87747: function (k) { + 'use strict' + const v = Math.floor((65536 - 64) / 4) & ~3 + class WasmHash { + constructor(k, v, E, P) { + const R = k.exports + R.init() + this.exports = R + this.mem = Buffer.from(R.memory.buffer, 0, 65536) + this.buffered = 0 + this.instancesPool = v + this.chunkSize = E + this.digestSize = P + } + reset() { + this.buffered = 0 + this.exports.init() + } + update(k, E) { + if (typeof k === 'string') { + while (k.length > v) { + this._updateWithShortString(k.slice(0, v), E) + k = k.slice(v) + } + this._updateWithShortString(k, E) + return this + } + this._updateWithBuffer(k) + return this + } + _updateWithShortString(k, v) { + const { exports: E, buffered: P, mem: R, chunkSize: L } = this + let N + if (k.length < 70) { + if (!v || v === 'utf-8' || v === 'utf8') { + N = P + for (let E = 0; E < k.length; E++) { + const P = k.charCodeAt(E) + if (P < 128) R[N++] = P + else if (P < 2048) { + R[N] = (P >> 6) | 192 + R[N + 1] = (P & 63) | 128 + N += 2 + } else { + N += R.write(k.slice(E), N, v) + break + } + } + } else if (v === 'latin1') { + N = P + for (let v = 0; v < k.length; v++) { + const E = k.charCodeAt(v) + R[N++] = E + } + } else { + N = P + R.write(k, P, v) + } + } else { + N = P + R.write(k, P, v) + } + if (N < L) { + this.buffered = N + } else { + const k = N & ~(this.chunkSize - 1) + E.update(k) + const v = N - k + this.buffered = v + if (v > 0) R.copyWithin(0, k, N) + } + } + _updateWithBuffer(k) { + const { exports: v, buffered: E, mem: P } = this + const R = k.length + if (E + R < this.chunkSize) { + k.copy(P, E, 0, R) + this.buffered += R + } else { + const L = (E + R) & ~(this.chunkSize - 1) + if (L > 65536) { + let R = 65536 - E + k.copy(P, E, 0, R) + v.update(65536) + const N = L - E - 65536 + while (R < N) { + k.copy(P, 0, R, R + 65536) + v.update(65536) + R += 65536 + } + k.copy(P, 0, R, L - E) + v.update(L - E - R) + } else { + k.copy(P, E, 0, L - E) + v.update(L) + } + const N = R + E - L + this.buffered = N + if (N > 0) k.copy(P, 0, R - N, R) + } + } + digest(k) { + const { exports: v, buffered: E, mem: P, digestSize: R } = this + v.final(E) + this.instancesPool.push(this) + const L = P.toString('latin1', 0, R) + if (k === 'hex') return L + if (k === 'binary' || !k) return Buffer.from(L, 'hex') + return Buffer.from(L, 'hex').toString(k) + } + } + const create = (k, v, E, P) => { + if (v.length > 0) { + const k = v.pop() + k.reset() + return k + } else { + return new WasmHash(new WebAssembly.Instance(k), v, E, P) + } + } + k.exports = create + k.exports.MAX_SHORT_STRING = v + }, + 82747: function (k, v, E) { + 'use strict' + const P = E(87747) + const R = new WebAssembly.Module( + Buffer.from( + 'AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrIIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAFBIGoiASAASQ0ACyACJAAgAyQBIAQkAiAFJAMLqAYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEAgAiABNQIAQoeVr6+Ytt6bnn9+hUIXiULP1tO+0ser2UJ+Qvnz3fGZ9pmrFnwhAiABQQRqIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAkIdiCAChUL5893xmfaZqxZ+IgJCIIggAoUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL', + 'base64' + ) + ) + k.exports = P.bind(null, R, [], 32, 16) + }, + 65315: function (k, v, E) { + 'use strict' + const P = E(71017) + const R = /^[a-zA-Z]:[\\/]/ + const L = /([|!])/ + const N = /\\/g + const relativePathToRequest = (k) => { + if (k === '') return './.' + if (k === '..') return '../.' + if (k.startsWith('../')) return k + return `./${k}` + } + const absoluteToRequest = (k, v) => { + if (v[0] === '/') { + if (v.length > 1 && v[v.length - 1] === '/') { + return v + } + const E = v.indexOf('?') + let R = E === -1 ? v : v.slice(0, E) + R = relativePathToRequest(P.posix.relative(k, R)) + return E === -1 ? R : R + v.slice(E) + } + if (R.test(v)) { + const E = v.indexOf('?') + let L = E === -1 ? v : v.slice(0, E) + L = P.win32.relative(k, L) + if (!R.test(L)) { + L = relativePathToRequest(L.replace(N, '/')) + } + return E === -1 ? L : L + v.slice(E) + } + return v + } + const requestToAbsolute = (k, v) => { + if (v.startsWith('./') || v.startsWith('../')) return P.join(k, v) + return v + } + const makeCacheable = (k) => { + const v = new WeakMap() + const getCache = (k) => { + const E = v.get(k) + if (E !== undefined) return E + const P = new Map() + v.set(k, P) + return P + } + const fn = (v, E) => { + if (!E) return k(v) + const P = getCache(E) + const R = P.get(v) + if (R !== undefined) return R + const L = k(v) + P.set(v, L) + return L + } + fn.bindCache = (v) => { + const E = getCache(v) + return (v) => { + const P = E.get(v) + if (P !== undefined) return P + const R = k(v) + E.set(v, R) + return R + } + } + return fn + } + const makeCacheableWithContext = (k) => { + const v = new WeakMap() + const cachedFn = (E, P, R) => { + if (!R) return k(E, P) + let L = v.get(R) + if (L === undefined) { + L = new Map() + v.set(R, L) + } + let N + let q = L.get(E) + if (q === undefined) { + L.set(E, (q = new Map())) + } else { + N = q.get(P) + } + if (N !== undefined) { + return N + } else { + const v = k(E, P) + q.set(P, v) + return v + } + } + cachedFn.bindCache = (E) => { + let P + if (E) { + P = v.get(E) + if (P === undefined) { + P = new Map() + v.set(E, P) + } + } else { + P = new Map() + } + const boundFn = (v, E) => { + let R + let L = P.get(v) + if (L === undefined) { + P.set(v, (L = new Map())) + } else { + R = L.get(E) + } + if (R !== undefined) { + return R + } else { + const P = k(v, E) + L.set(E, P) + return P + } + } + return boundFn + } + cachedFn.bindContextCache = (E, P) => { + let R + if (P) { + let k = v.get(P) + if (k === undefined) { + k = new Map() + v.set(P, k) + } + R = k.get(E) + if (R === undefined) { + k.set(E, (R = new Map())) + } + } else { + R = new Map() + } + const boundFn = (v) => { + const P = R.get(v) + if (P !== undefined) { + return P + } else { + const P = k(E, v) + R.set(v, P) + return P + } + } + return boundFn + } + return cachedFn + } + const _makePathsRelative = (k, v) => + v + .split(L) + .map((v) => absoluteToRequest(k, v)) + .join('') + v.makePathsRelative = makeCacheableWithContext(_makePathsRelative) + const _makePathsAbsolute = (k, v) => + v + .split(L) + .map((v) => requestToAbsolute(k, v)) + .join('') + v.makePathsAbsolute = makeCacheableWithContext(_makePathsAbsolute) + const _contextify = (k, v) => + v + .split('!') + .map((v) => absoluteToRequest(k, v)) + .join('!') + const q = makeCacheableWithContext(_contextify) + v.contextify = q + const _absolutify = (k, v) => + v + .split('!') + .map((v) => requestToAbsolute(k, v)) + .join('!') + const ae = makeCacheableWithContext(_absolutify) + v.absolutify = ae + const le = /^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/ + const pe = /^((?:\0.|[^?\0])*)(\?.*)?$/ + const _parseResource = (k) => { + const v = le.exec(k) + return { + resource: k, + path: v[1].replace(/\0(.)/g, '$1'), + query: v[2] ? v[2].replace(/\0(.)/g, '$1') : '', + fragment: v[3] || '', + } + } + v.parseResource = makeCacheable(_parseResource) + const _parseResourceWithoutFragment = (k) => { + const v = pe.exec(k) + return { + resource: k, + path: v[1].replace(/\0(.)/g, '$1'), + query: v[2] ? v[2].replace(/\0(.)/g, '$1') : '', + } + } + v.parseResourceWithoutFragment = makeCacheable( + _parseResourceWithoutFragment + ) + v.getUndoPath = (k, v, E) => { + let P = -1 + let R = '' + v = v.replace(/[\\/]$/, '') + for (const E of k.split(/[/\\]+/)) { + if (E === '..') { + if (P > -1) { + P-- + } else { + const k = v.lastIndexOf('/') + const E = v.lastIndexOf('\\') + const P = k < 0 ? E : E < 0 ? k : Math.max(k, E) + if (P < 0) return v + '/' + R = v.slice(P + 1) + '/' + R + v = v.slice(0, P) + } + } else if (E !== '.') { + P++ + } + } + return P > 0 ? `${'../'.repeat(P)}${R}` : E ? `./${R}` : R + } + }, + 51455: function (k, v, E) { + 'use strict' + k.exports = { + AsyncDependenciesBlock: () => E(75081), + CommentCompilationWarning: () => E(68160), + ContextModule: () => E(48630), + 'cache/PackFileCacheStrategy': () => E(30124), + 'cache/ResolverCachePlugin': () => E(6247), + 'container/ContainerEntryDependency': () => E(22886), + 'container/ContainerEntryModule': () => E(4268), + 'container/ContainerExposedDependency': () => E(85455), + 'container/FallbackDependency': () => E(52030), + 'container/FallbackItemDependency': () => E(37119), + 'container/FallbackModule': () => E(7583), + 'container/RemoteModule': () => E(39878), + 'container/RemoteToExternalDependency': () => E(51691), + 'dependencies/AMDDefineDependency': () => E(43804), + 'dependencies/AMDRequireArrayDependency': () => E(78326), + 'dependencies/AMDRequireContextDependency': () => E(54220), + 'dependencies/AMDRequireDependenciesBlock': () => E(39892), + 'dependencies/AMDRequireDependency': () => E(83138), + 'dependencies/AMDRequireItemDependency': () => E(80760), + 'dependencies/CachedConstDependency': () => E(11602), + 'dependencies/CreateScriptUrlDependency': () => E(98857), + 'dependencies/CommonJsRequireContextDependency': () => E(5103), + 'dependencies/CommonJsExportRequireDependency': () => E(21542), + 'dependencies/CommonJsExportsDependency': () => E(57771), + 'dependencies/CommonJsFullRequireDependency': () => E(73946), + 'dependencies/CommonJsRequireDependency': () => E(41655), + 'dependencies/CommonJsSelfReferenceDependency': () => E(23343), + 'dependencies/ConstDependency': () => E(60381), + 'dependencies/ContextDependency': () => E(51395), + 'dependencies/ContextElementDependency': () => E(16624), + 'dependencies/CriticalDependencyWarning': () => E(43418), + 'dependencies/CssImportDependency': () => E(38490), + 'dependencies/CssLocalIdentifierDependency': () => E(27746), + 'dependencies/CssSelfLocalIdentifierDependency': () => E(58943), + 'dependencies/CssExportDependency': () => E(55101), + 'dependencies/CssUrlDependency': () => E(97006), + 'dependencies/DelegatedSourceDependency': () => E(47788), + 'dependencies/DllEntryDependency': () => E(50478), + 'dependencies/EntryDependency': () => E(25248), + 'dependencies/ExportsInfoDependency': () => E(70762), + 'dependencies/HarmonyAcceptDependency': () => E(95077), + 'dependencies/HarmonyAcceptImportDependency': () => E(46325), + 'dependencies/HarmonyCompatibilityDependency': () => E(2075), + 'dependencies/HarmonyExportExpressionDependency': () => E(33579), + 'dependencies/HarmonyExportHeaderDependency': () => E(66057), + 'dependencies/HarmonyExportImportedSpecifierDependency': () => E(44827), + 'dependencies/HarmonyExportSpecifierDependency': () => E(95040), + 'dependencies/HarmonyImportSideEffectDependency': () => E(59398), + 'dependencies/HarmonyImportSpecifierDependency': () => E(56390), + 'dependencies/HarmonyEvaluatedImportSpecifierDependency': () => E(5107), + 'dependencies/ImportContextDependency': () => E(94722), + 'dependencies/ImportDependency': () => E(75516), + 'dependencies/ImportEagerDependency': () => E(72073), + 'dependencies/ImportWeakDependency': () => E(82591), + 'dependencies/JsonExportsDependency': () => E(19179), + 'dependencies/LocalModule': () => E(53377), + 'dependencies/LocalModuleDependency': () => E(41808), + 'dependencies/ModuleDecoratorDependency': () => E(10699), + 'dependencies/ModuleHotAcceptDependency': () => E(77691), + 'dependencies/ModuleHotDeclineDependency': () => E(90563), + 'dependencies/ImportMetaHotAcceptDependency': () => E(40867), + 'dependencies/ImportMetaHotDeclineDependency': () => E(83894), + 'dependencies/ImportMetaContextDependency': () => E(91194), + 'dependencies/ProvidedDependency': () => E(17779), + 'dependencies/PureExpressionDependency': () => E(19308), + 'dependencies/RequireContextDependency': () => E(71038), + 'dependencies/RequireEnsureDependenciesBlock': () => E(34385), + 'dependencies/RequireEnsureDependency': () => E(42780), + 'dependencies/RequireEnsureItemDependency': () => E(47785), + 'dependencies/RequireHeaderDependency': () => E(72330), + 'dependencies/RequireIncludeDependency': () => E(72846), + 'dependencies/RequireIncludeDependencyParserPlugin': () => E(97229), + 'dependencies/RequireResolveContextDependency': () => E(12204), + 'dependencies/RequireResolveDependency': () => E(29961), + 'dependencies/RequireResolveHeaderDependency': () => E(53765), + 'dependencies/RuntimeRequirementsDependency': () => E(84985), + 'dependencies/StaticExportsDependency': () => E(93414), + 'dependencies/SystemPlugin': () => E(3674), + 'dependencies/UnsupportedDependency': () => E(63639), + 'dependencies/URLDependency': () => E(65961), + 'dependencies/WebAssemblyExportImportedDependency': () => E(74476), + 'dependencies/WebAssemblyImportDependency': () => E(22734), + 'dependencies/WebpackIsIncludedDependency': () => E(83143), + 'dependencies/WorkerDependency': () => E(15200), + 'json/JsonData': () => E(15114), + 'optimize/ConcatenatedModule': () => E(94978), + DelegatedModule: () => E(50901), + DependenciesBlock: () => E(38706), + DllModule: () => E(2168), + ExternalModule: () => E(10849), + FileSystemInfo: () => E(18144), + InitFragment: () => E(88113), + InvalidDependenciesModuleWarning: () => E(44017), + Module: () => E(88396), + ModuleBuildError: () => E(23804), + ModuleDependencyWarning: () => E(84018), + ModuleError: () => E(47560), + ModuleGraph: () => E(88223), + ModuleParseError: () => E(63591), + ModuleWarning: () => E(95801), + NormalModule: () => E(38224), + CssModule: () => E(51585), + RawDataUrlModule: () => E(26619), + RawModule: () => E(91169), + 'sharing/ConsumeSharedModule': () => E(81860), + 'sharing/ConsumeSharedFallbackDependency': () => E(18036), + 'sharing/ProvideSharedModule': () => E(31100), + 'sharing/ProvideSharedDependency': () => E(49637), + 'sharing/ProvideForSharedDependency': () => E(27150), + UnsupportedFeatureWarning: () => E(9415), + 'util/LazySet': () => E(12359), + UnhandledSchemeError: () => E(57975), + NodeStuffInWebError: () => E(86770), + WebpackError: () => E(71572), + 'util/registerExternalSerializer': () => {}, + } + }, + 58528: function (k, v, E) { + 'use strict' + const { register: P } = E(52456) + class ClassSerializer { + constructor(k) { + this.Constructor = k + } + serialize(k, v) { + k.serialize(v) + } + deserialize(k) { + if (typeof this.Constructor.deserialize === 'function') { + return this.Constructor.deserialize(k) + } + const v = new this.Constructor() + v.deserialize(k) + return v + } + } + k.exports = (k, v, E = null) => { + P(k, v, E, new ClassSerializer(k)) + } + }, + 20631: function (k) { + 'use strict' + const memoize = (k) => { + let v = false + let E = undefined + return () => { + if (v) { + return E + } else { + E = k() + v = true + k = undefined + return E + } + } + } + k.exports = memoize + }, + 64119: function (k) { + 'use strict' + const v = 'a'.charCodeAt(0) + k.exports = (k, E) => { + if (E < 1) return '' + const P = k.slice(0, E) + if (P.match(/[^\d]/)) return P + return `${String.fromCharCode(v + (parseInt(k[0], 10) % 6))}${P.slice( + 1 + )}` + } + }, + 30747: function (k) { + 'use strict' + const v = 2147483648 + const E = v - 1 + const P = 4 + const R = [0, 0, 0, 0, 0] + const L = [3, 7, 17, 19] + k.exports = (k, N) => { + R.fill(0) + for (let v = 0; v < k.length; v++) { + const N = k.charCodeAt(v) + R[0] = (R[0] + N * L[0] + R[3]) & E + R[1] = (R[1] + N * L[1] + R[0]) & E + R[2] = (R[2] + N * L[2] + R[1]) & E + R[3] = (R[3] + N * L[3] + R[2]) & E + R[0] = R[0] ^ (R[R[0] % P] >> 1) + R[1] = R[1] ^ (R[R[1] % P] >> 1) + R[2] = R[2] ^ (R[R[2] % P] >> 1) + R[3] = R[3] ^ (R[R[3] % P] >> 1) + } + if (N <= E) { + return (R[0] + R[1] + R[2] + R[3]) % N + } else { + const k = Math.floor(N / v) + const P = (R[0] + R[2]) & E + const L = (R[0] + R[2]) % k + return (L * v + P) % N + } + } + }, + 38254: function (k) { + 'use strict' + const processAsyncTree = (k, v, E, P) => { + const R = Array.from(k) + if (R.length === 0) return P() + let L = 0 + let N = false + let q = true + const push = (k) => { + R.push(k) + if (!q && L < v) { + q = true + process.nextTick(processQueue) + } + } + const processorCallback = (k) => { + L-- + if (k && !N) { + N = true + P(k) + return + } + if (!q) { + q = true + process.nextTick(processQueue) + } + } + const processQueue = () => { + if (N) return + while (L < v && R.length > 0) { + L++ + const k = R.pop() + E(k, push, processorCallback) + } + q = false + if (R.length === 0 && L === 0 && !N) { + N = true + P() + } + } + processQueue() + } + k.exports = processAsyncTree + }, + 10720: function (k, v, E) { + 'use strict' + const { SAFE_IDENTIFIER: P, RESERVED_IDENTIFIER: R } = E(72627) + const propertyAccess = (k, v = 0) => { + let E = '' + for (let L = v; L < k.length; L++) { + const v = k[L] + if (`${+v}` === v) { + E += `[${v}]` + } else if (P.test(v) && !R.has(v)) { + E += `.${v}` + } else { + E += `[${JSON.stringify(v)}]` + } + } + return E + } + k.exports = propertyAccess + }, + 72627: function (k) { + 'use strict' + const v = /^[_a-zA-Z$][_a-zA-Z$0-9]*$/ + const E = new Set([ + 'break', + 'case', + 'catch', + 'class', + 'const', + 'continue', + 'debugger', + 'default', + 'delete', + 'do', + 'else', + 'export', + 'extends', + 'finally', + 'for', + 'function', + 'if', + 'import', + 'in', + 'instanceof', + 'new', + 'return', + 'super', + 'switch', + 'this', + 'throw', + 'try', + 'typeof', + 'var', + 'void', + 'while', + 'with', + 'enum', + 'implements', + 'interface', + 'let', + 'package', + 'private', + 'protected', + 'public', + 'static', + 'yield', + 'yield', + 'await', + 'null', + 'true', + 'false', + ]) + const propertyName = (k) => { + if (v.test(k) && !E.has(k)) { + return k + } else { + return JSON.stringify(k) + } + } + k.exports = { + SAFE_IDENTIFIER: v, + RESERVED_IDENTIFIER: E, + propertyName: propertyName, + } + }, + 5618: function (k, v, E) { + 'use strict' + const { register: P } = E(52456) + const R = E(31988).Position + const L = E(31988).SourceLocation + const N = E(94362).Z + const { + CachedSource: q, + ConcatSource: ae, + OriginalSource: le, + PrefixSource: pe, + RawSource: me, + ReplaceSource: ye, + SourceMapSource: _e, + } = E(51255) + const Ie = 'webpack/lib/util/registerExternalSerializer' + P( + q, + Ie, + 'webpack-sources/CachedSource', + new (class CachedSourceSerializer { + serialize(k, { write: v, writeLazy: E }) { + if (E) { + E(k.originalLazy()) + } else { + v(k.original()) + } + v(k.getCachedData()) + } + deserialize({ read: k }) { + const v = k() + const E = k() + return new q(v, E) + } + })() + ) + P( + me, + Ie, + 'webpack-sources/RawSource', + new (class RawSourceSerializer { + serialize(k, { write: v }) { + v(k.buffer()) + v(!k.isBuffer()) + } + deserialize({ read: k }) { + const v = k() + const E = k() + return new me(v, E) + } + })() + ) + P( + ae, + Ie, + 'webpack-sources/ConcatSource', + new (class ConcatSourceSerializer { + serialize(k, { write: v }) { + v(k.getChildren()) + } + deserialize({ read: k }) { + const v = new ae() + v.addAllSkipOptimizing(k()) + return v + } + })() + ) + P( + pe, + Ie, + 'webpack-sources/PrefixSource', + new (class PrefixSourceSerializer { + serialize(k, { write: v }) { + v(k.getPrefix()) + v(k.original()) + } + deserialize({ read: k }) { + return new pe(k(), k()) + } + })() + ) + P( + ye, + Ie, + 'webpack-sources/ReplaceSource', + new (class ReplaceSourceSerializer { + serialize(k, { write: v }) { + v(k.original()) + v(k.getName()) + const E = k.getReplacements() + v(E.length) + for (const k of E) { + v(k.start) + v(k.end) + } + for (const k of E) { + v(k.content) + v(k.name) + } + } + deserialize({ read: k }) { + const v = new ye(k(), k()) + const E = k() + const P = [] + for (let v = 0; v < E; v++) { + P.push(k(), k()) + } + let R = 0 + for (let L = 0; L < E; L++) { + v.replace(P[R++], P[R++], k(), k()) + } + return v + } + })() + ) + P( + le, + Ie, + 'webpack-sources/OriginalSource', + new (class OriginalSourceSerializer { + serialize(k, { write: v }) { + v(k.buffer()) + v(k.getName()) + } + deserialize({ read: k }) { + const v = k() + const E = k() + return new le(v, E) + } + })() + ) + P( + L, + Ie, + 'acorn/SourceLocation', + new (class SourceLocationSerializer { + serialize(k, { write: v }) { + v(k.start.line) + v(k.start.column) + v(k.end.line) + v(k.end.column) + } + deserialize({ read: k }) { + return { + start: { line: k(), column: k() }, + end: { line: k(), column: k() }, + } + } + })() + ) + P( + R, + Ie, + 'acorn/Position', + new (class PositionSerializer { + serialize(k, { write: v }) { + v(k.line) + v(k.column) + } + deserialize({ read: k }) { + return { line: k(), column: k() } + } + })() + ) + P( + _e, + Ie, + 'webpack-sources/SourceMapSource', + new (class SourceMapSourceSerializer { + serialize(k, { write: v }) { + v(k.getArgsAsBuffers()) + } + deserialize({ read: k }) { + return new _e(...k()) + } + })() + ) + P( + N, + Ie, + 'schema-utils/ValidationError', + new (class ValidationErrorSerializer { + serialize(k, { write: v }) { + v(k.errors) + v(k.schema) + v({ + name: k.headerName, + baseDataPath: k.baseDataPath, + postFormatter: k.postFormatter, + }) + } + deserialize({ read: k }) { + return new N(k(), k(), k()) + } + })() + ) + }, + 1540: function (k, v, E) { + 'use strict' + const P = E(46081) + v.getEntryRuntime = (k, v, E) => { + let P + let R + if (E) { + ;({ dependOn: P, runtime: R } = E) + } else { + const E = k.entries.get(v) + if (!E) return v + ;({ dependOn: P, runtime: R } = E.options) + } + if (P) { + let E = undefined + const R = new Set(P) + for (const v of R) { + const P = k.entries.get(v) + if (!P) continue + const { dependOn: L, runtime: N } = P.options + if (L) { + for (const k of L) { + R.add(k) + } + } else { + E = mergeRuntimeOwned(E, N || v) + } + } + return E || v + } else { + return R || v + } + } + v.forEachRuntime = (k, v, E = false) => { + if (k === undefined) { + v(undefined) + } else if (typeof k === 'string') { + v(k) + } else { + if (E) k.sort() + for (const E of k) { + v(E) + } + } + } + const getRuntimesKey = (k) => { + k.sort() + return Array.from(k).join('\n') + } + const getRuntimeKey = (k) => { + if (k === undefined) return '*' + if (typeof k === 'string') return k + return k.getFromUnorderedCache(getRuntimesKey) + } + v.getRuntimeKey = getRuntimeKey + const keyToRuntime = (k) => { + if (k === '*') return undefined + const v = k.split('\n') + if (v.length === 1) return v[0] + return new P(v) + } + v.keyToRuntime = keyToRuntime + const getRuntimesString = (k) => { + k.sort() + return Array.from(k).join('+') + } + const runtimeToString = (k) => { + if (k === undefined) return '*' + if (typeof k === 'string') return k + return k.getFromUnorderedCache(getRuntimesString) + } + v.runtimeToString = runtimeToString + v.runtimeConditionToString = (k) => { + if (k === true) return 'true' + if (k === false) return 'false' + return runtimeToString(k) + } + const runtimeEqual = (k, v) => { + if (k === v) { + return true + } else if ( + k === undefined || + v === undefined || + typeof k === 'string' || + typeof v === 'string' + ) { + return false + } else if (k.size !== v.size) { + return false + } else { + k.sort() + v.sort() + const E = k[Symbol.iterator]() + const P = v[Symbol.iterator]() + for (;;) { + const k = E.next() + if (k.done) return true + const v = P.next() + if (k.value !== v.value) return false + } + } + } + v.runtimeEqual = runtimeEqual + v.compareRuntime = (k, v) => { + if (k === v) { + return 0 + } else if (k === undefined) { + return -1 + } else if (v === undefined) { + return 1 + } else { + const E = getRuntimeKey(k) + const P = getRuntimeKey(v) + if (E < P) return -1 + if (E > P) return 1 + return 0 + } + } + const mergeRuntime = (k, v) => { + if (k === undefined) { + return v + } else if (v === undefined) { + return k + } else if (k === v) { + return k + } else if (typeof k === 'string') { + if (typeof v === 'string') { + const E = new P() + E.add(k) + E.add(v) + return E + } else if (v.has(k)) { + return v + } else { + const E = new P(v) + E.add(k) + return E + } + } else { + if (typeof v === 'string') { + if (k.has(v)) return k + const E = new P(k) + E.add(v) + return E + } else { + const E = new P(k) + for (const k of v) E.add(k) + if (E.size === k.size) return k + return E + } + } + } + v.mergeRuntime = mergeRuntime + v.mergeRuntimeCondition = (k, v, E) => { + if (k === false) return v + if (v === false) return k + if (k === true || v === true) return true + const P = mergeRuntime(k, v) + if (P === undefined) return undefined + if (typeof P === 'string') { + if (typeof E === 'string' && P === E) return true + return P + } + if (typeof E === 'string' || E === undefined) return P + if (P.size === E.size) return true + return P + } + v.mergeRuntimeConditionNonFalse = (k, v, E) => { + if (k === true || v === true) return true + const P = mergeRuntime(k, v) + if (P === undefined) return undefined + if (typeof P === 'string') { + if (typeof E === 'string' && P === E) return true + return P + } + if (typeof E === 'string' || E === undefined) return P + if (P.size === E.size) return true + return P + } + const mergeRuntimeOwned = (k, v) => { + if (v === undefined) { + return k + } else if (k === v) { + return k + } else if (k === undefined) { + if (typeof v === 'string') { + return v + } else { + return new P(v) + } + } else if (typeof k === 'string') { + if (typeof v === 'string') { + const E = new P() + E.add(k) + E.add(v) + return E + } else { + const E = new P(v) + E.add(k) + return E + } + } else { + if (typeof v === 'string') { + k.add(v) + return k + } else { + for (const E of v) k.add(E) + return k + } + } + } + v.mergeRuntimeOwned = mergeRuntimeOwned + v.intersectRuntime = (k, v) => { + if (k === undefined) { + return v + } else if (v === undefined) { + return k + } else if (k === v) { + return k + } else if (typeof k === 'string') { + if (typeof v === 'string') { + return undefined + } else if (v.has(k)) { + return k + } else { + return undefined + } + } else { + if (typeof v === 'string') { + if (k.has(v)) return v + return undefined + } else { + const E = new P() + for (const P of v) { + if (k.has(P)) E.add(P) + } + if (E.size === 0) return undefined + if (E.size === 1) for (const k of E) return k + return E + } + } + } + const subtractRuntime = (k, v) => { + if (k === undefined) { + return undefined + } else if (v === undefined) { + return k + } else if (k === v) { + return undefined + } else if (typeof k === 'string') { + if (typeof v === 'string') { + return k + } else if (v.has(k)) { + return undefined + } else { + return k + } + } else { + if (typeof v === 'string') { + if (!k.has(v)) return k + if (k.size === 2) { + for (const E of k) { + if (E !== v) return E + } + } + const E = new P(k) + E.delete(v) + } else { + const E = new P() + for (const P of k) { + if (!v.has(P)) E.add(P) + } + if (E.size === 0) return undefined + if (E.size === 1) for (const k of E) return k + return E + } + } + } + v.subtractRuntime = subtractRuntime + v.subtractRuntimeCondition = (k, v, E) => { + if (v === true) return false + if (v === false) return k + if (k === false) return false + const P = subtractRuntime(k === true ? E : k, v) + return P === undefined ? false : P + } + v.filterRuntime = (k, v) => { + if (k === undefined) return v(undefined) + if (typeof k === 'string') return v(k) + let E = false + let P = true + let R = undefined + for (const L of k) { + const k = v(L) + if (k) { + E = true + R = mergeRuntimeOwned(R, L) + } else { + P = false + } + } + if (!E) return false + if (P) return true + return R + } + class RuntimeSpecMap { + constructor(k) { + this._mode = k ? k._mode : 0 + this._singleRuntime = k ? k._singleRuntime : undefined + this._singleValue = k ? k._singleValue : undefined + this._map = k && k._map ? new Map(k._map) : undefined + } + get(k) { + switch (this._mode) { + case 0: + return undefined + case 1: + return runtimeEqual(this._singleRuntime, k) + ? this._singleValue + : undefined + default: + return this._map.get(getRuntimeKey(k)) + } + } + has(k) { + switch (this._mode) { + case 0: + return false + case 1: + return runtimeEqual(this._singleRuntime, k) + default: + return this._map.has(getRuntimeKey(k)) + } + } + set(k, v) { + switch (this._mode) { + case 0: + this._mode = 1 + this._singleRuntime = k + this._singleValue = v + break + case 1: + if (runtimeEqual(this._singleRuntime, k)) { + this._singleValue = v + break + } + this._mode = 2 + this._map = new Map() + this._map.set( + getRuntimeKey(this._singleRuntime), + this._singleValue + ) + this._singleRuntime = undefined + this._singleValue = undefined + default: + this._map.set(getRuntimeKey(k), v) + } + } + provide(k, v) { + switch (this._mode) { + case 0: + this._mode = 1 + this._singleRuntime = k + return (this._singleValue = v()) + case 1: { + if (runtimeEqual(this._singleRuntime, k)) { + return this._singleValue + } + this._mode = 2 + this._map = new Map() + this._map.set( + getRuntimeKey(this._singleRuntime), + this._singleValue + ) + this._singleRuntime = undefined + this._singleValue = undefined + const E = v() + this._map.set(getRuntimeKey(k), E) + return E + } + default: { + const E = getRuntimeKey(k) + const P = this._map.get(E) + if (P !== undefined) return P + const R = v() + this._map.set(E, R) + return R + } + } + } + delete(k) { + switch (this._mode) { + case 0: + return + case 1: + if (runtimeEqual(this._singleRuntime, k)) { + this._mode = 0 + this._singleRuntime = undefined + this._singleValue = undefined + } + return + default: + this._map.delete(getRuntimeKey(k)) + } + } + update(k, v) { + switch (this._mode) { + case 0: + throw new Error('runtime passed to update must exist') + case 1: { + if (runtimeEqual(this._singleRuntime, k)) { + this._singleValue = v(this._singleValue) + break + } + const E = v(undefined) + if (E !== undefined) { + this._mode = 2 + this._map = new Map() + this._map.set( + getRuntimeKey(this._singleRuntime), + this._singleValue + ) + this._singleRuntime = undefined + this._singleValue = undefined + this._map.set(getRuntimeKey(k), E) + } + break + } + default: { + const E = getRuntimeKey(k) + const P = this._map.get(E) + const R = v(P) + if (R !== P) this._map.set(E, R) + } + } + } + keys() { + switch (this._mode) { + case 0: + return [] + case 1: + return [this._singleRuntime] + default: + return Array.from(this._map.keys(), keyToRuntime) + } + } + values() { + switch (this._mode) { + case 0: + return [][Symbol.iterator]() + case 1: + return [this._singleValue][Symbol.iterator]() + default: + return this._map.values() + } + } + get size() { + if (this._mode <= 1) return this._mode + return this._map.size + } + } + v.RuntimeSpecMap = RuntimeSpecMap + class RuntimeSpecSet { + constructor(k) { + this._map = new Map() + if (k) { + for (const v of k) { + this.add(v) + } + } + } + add(k) { + this._map.set(getRuntimeKey(k), k) + } + has(k) { + return this._map.has(getRuntimeKey(k)) + } + [Symbol.iterator]() { + return this._map.values() + } + get size() { + return this._map.size + } + } + v.RuntimeSpecSet = RuntimeSpecSet + }, + 51542: function (k, v) { + 'use strict' + const parseVersion = (k) => { + var splitAndConvert = function (k) { + return k.split('.').map(function (k) { + return +k == k ? +k : k + }) + } + var v = /^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(k) + var E = v[1] ? splitAndConvert(v[1]) : [] + if (v[2]) { + E.length++ + E.push.apply(E, splitAndConvert(v[2])) + } + if (v[3]) { + E.push([]) + E.push.apply(E, splitAndConvert(v[3])) + } + return E + } + v.parseVersion = parseVersion + const versionLt = (k, v) => { + k = parseVersion(k) + v = parseVersion(v) + var E = 0 + for (;;) { + if (E >= k.length) return E < v.length && (typeof v[E])[0] != 'u' + var P = k[E] + var R = (typeof P)[0] + if (E >= v.length) return R == 'u' + var L = v[E] + var N = (typeof L)[0] + if (R == N) { + if (R != 'o' && R != 'u' && P != L) { + return P < L + } + E++ + } else { + if (R == 'o' && N == 'n') return true + return N == 's' || R == 'u' + } + } + } + v.versionLt = versionLt + v.parseRange = (k) => { + const splitAndConvert = (k) => + k.split('.').map((k) => (k !== 'NaN' && `${+k}` === k ? +k : k)) + const parsePartial = (k) => { + const v = /^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(k) + const E = v[1] ? [0, ...splitAndConvert(v[1])] : [0] + if (v[2]) { + E.length++ + E.push.apply(E, splitAndConvert(v[2])) + } + let P = E[E.length - 1] + while (E.length && (P === undefined || /^[*xX]$/.test(P))) { + E.pop() + P = E[E.length - 1] + } + return E + } + const toFixed = (k) => { + if (k.length === 1) { + return [0] + } else if (k.length === 2) { + return [1, ...k.slice(1)] + } else if (k.length === 3) { + return [2, ...k.slice(1)] + } else { + return [k.length, ...k.slice(1)] + } + } + const negate = (k) => [-k[0] - 1, ...k.slice(1)] + const parseSimple = (k) => { + const v = /^(\^|~|<=|<|>=|>|=|v|!)/.exec(k) + const E = v ? v[0] : '' + const P = parsePartial(E.length ? k.slice(E.length).trim() : k.trim()) + switch (E) { + case '^': + if (P.length > 1 && P[1] === 0) { + if (P.length > 2 && P[2] === 0) { + return [3, ...P.slice(1)] + } + return [2, ...P.slice(1)] + } + return [1, ...P.slice(1)] + case '~': + return [2, ...P.slice(1)] + case '>=': + return P + case '=': + case 'v': + case '': + return toFixed(P) + case '<': + return negate(P) + case '>': { + const k = toFixed(P) + return [, k, 0, P, 2] + } + case '<=': + return [, toFixed(P), negate(P), 1] + case '!': { + const k = toFixed(P) + return [, k, 0] + } + default: + throw new Error('Unexpected start value') + } + } + const combine = (k, v) => { + if (k.length === 1) return k[0] + const E = [] + for (const v of k.slice().reverse()) { + if (0 in v) { + E.push(v) + } else { + E.push(...v.slice(1)) + } + } + return [, ...E, ...k.slice(1).map(() => v)] + } + const parseRange = (k) => { + const v = k.split(/\s+-\s+/) + if (v.length === 1) { + const v = k + .trim() + .split(/(?<=[-0-9A-Za-z])\s+/g) + .map(parseSimple) + return combine(v, 2) + } + const E = parsePartial(v[0]) + const P = parsePartial(v[1]) + return [, toFixed(P), negate(P), 1, E, 2] + } + const parseLogicalOr = (k) => { + const v = k.split(/\s*\|\|\s*/).map(parseRange) + return combine(v, 1) + } + return parseLogicalOr(k) + } + const rangeToString = (k) => { + var v = k[0] + var E = '' + if (k.length === 1) { + return '*' + } else if (v + 0.5) { + E += + v == 0 + ? '>=' + : v == -1 + ? '<' + : v == 1 + ? '^' + : v == 2 + ? '~' + : v > 0 + ? '=' + : '!=' + var P = 1 + for (var R = 1; R < k.length; R++) { + var L = k[R] + var N = (typeof L)[0] + P-- + E += N == 'u' ? '-' : (P > 0 ? '.' : '') + ((P = 2), L) + } + return E + } else { + var q = [] + for (var R = 1; R < k.length; R++) { + var L = k[R] + q.push( + L === 0 + ? 'not(' + pop() + ')' + : L === 1 + ? '(' + pop() + ' || ' + pop() + ')' + : L === 2 + ? q.pop() + ' ' + q.pop() + : rangeToString(L) + ) + } + return pop() + } + function pop() { + return q.pop().replace(/^\((.+)\)$/, '$1') + } + } + v.rangeToString = rangeToString + const satisfy = (k, v) => { + if (0 in k) { + v = parseVersion(v) + var E = k[0] + var P = E < 0 + if (P) E = -E - 1 + for (var R = 0, L = 1, N = true; ; L++, R++) { + var q = L < k.length ? (typeof k[L])[0] : '' + var ae + var le + if (R >= v.length || ((ae = v[R]), (le = (typeof ae)[0]) == 'o')) { + if (!N) return true + if (q == 'u') return L > E && !P + return (q == '') != P + } + if (le == 'u') { + if (!N || q != 'u') { + return false + } + } else if (N) { + if (q == le) { + if (L <= E) { + if (ae != k[L]) { + return false + } + } else { + if (P ? ae > k[L] : ae < k[L]) { + return false + } + if (ae != k[L]) N = false + } + } else if (q != 's' && q != 'n') { + if (P || L <= E) return false + N = false + L-- + } else if (L <= E || le < q != P) { + return false + } else { + N = false + } + } else { + if (q != 's' && q != 'n') { + N = false + L-- + } + } + } + } + var pe = [] + var me = pe.pop.bind(pe) + for (var R = 1; R < k.length; R++) { + var ye = k[R] + pe.push( + ye == 1 + ? me() | me() + : ye == 2 + ? me() & me() + : ye + ? satisfy(ye, v) + : !me() + ) + } + return !!me() + } + v.satisfy = satisfy + v.stringifyHoley = (k) => { + switch (typeof k) { + case 'undefined': + return '' + case 'object': + if (Array.isArray(k)) { + let v = '[' + for (let E = 0; E < k.length; E++) { + if (E !== 0) v += ',' + v += this.stringifyHoley(k[E]) + } + v += ']' + return v + } else { + return JSON.stringify(k) + } + default: + return JSON.stringify(k) + } + } + v.parseVersionRuntimeCode = (k) => + `var parseVersion = ${k.basicFunction('str', [ + '// see webpack/lib/util/semver.js for original code', + `var p=${ + k.supportsArrowFunction() ? 'p=>' : 'function(p)' + }{return p.split(".").map((${ + k.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;`, + ])}` + v.versionLtRuntimeCode = (k) => + `var versionLt = ${k.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 = ${k.basicFunction('range', [ + '// see webpack/lib/util/semver.js for original code', + 'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a + `var satisfy = ${k.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 E(94071)) + const L = P(() => E(67085)) + const N = P(() => E(90341)) + const q = P(() => E(90827)) + const ae = P(() => E(5505)) + const le = P(() => new (R())()) + const pe = P(() => { + E(5618) + const k = E(51455) + L().registerLoader(/^webpack\/lib\//, (v) => { + const E = k[v.slice('webpack/lib/'.length)] + if (E) { + E() + } else { + console.warn(`${v} not found in internalSerializables`) + } + return true + }) + }) + let me + k.exports = { + get register() { + return L().register + }, + get registerLoader() { + return L().registerLoader + }, + get registerNotSerializable() { + return L().registerNotSerializable + }, + get NOT_SERIALIZABLE() { + return L().NOT_SERIALIZABLE + }, + get MEASURE_START_OPERATION() { + return R().MEASURE_START_OPERATION + }, + get MEASURE_END_OPERATION() { + return R().MEASURE_END_OPERATION + }, + get buffersSerializer() { + if (me !== undefined) return me + pe() + const k = q() + const v = le() + const E = ae() + const P = N() + return (me = new k([ + new P(), + new (L())((k) => { + if (k.write) { + k.writeLazy = (P) => { + k.write(E.createLazy(P, v)) + } + } + }, 'md4'), + v, + ])) + }, + createFileSerializer: (k, v) => { + pe() + const P = q() + const R = E(26607) + const me = new R(k, v) + const ye = le() + const _e = ae() + const Ie = N() + return new P([ + new Ie(), + new (L())((k) => { + if (k.write) { + k.writeLazy = (v) => { + k.write(_e.createLazy(v, ye)) + } + k.writeSeparate = (v, E) => { + const P = _e.createLazy(v, me, E) + k.write(P) + return P + } + } + }, v), + ye, + me, + ]) + }, + } + }, + 53501: function (k) { + 'use strict' + const smartGrouping = (k, v) => { + const E = new Set() + const P = new Map() + for (const R of k) { + const k = new Set() + for (let E = 0; E < v.length; E++) { + const L = v[E] + const N = L.getKeys(R) + if (N) { + for (const v of N) { + const R = `${E}:${v}` + let N = P.get(R) + if (N === undefined) { + P.set( + R, + (N = { + config: L, + name: v, + alreadyGrouped: false, + items: undefined, + }) + ) + } + k.add(N) + } + } + } + E.add({ item: R, groups: k }) + } + const runGrouping = (k) => { + const v = k.size + for (const v of k) { + for (const k of v.groups) { + if (k.alreadyGrouped) continue + const E = k.items + if (E === undefined) { + k.items = new Set([v]) + } else { + E.add(v) + } + } + } + const E = new Map() + for (const k of P.values()) { + if (k.items) { + const v = k.items + k.items = undefined + E.set(k, { items: v, options: undefined, used: false }) + } + } + const R = [] + for (;;) { + let P = undefined + let L = -1 + let N = undefined + let q = undefined + for (const [R, ae] of E) { + const { items: E, used: le } = ae + let pe = ae.options + if (pe === undefined) { + const k = R.config + ae.options = pe = + (k.getOptions && + k.getOptions( + R.name, + Array.from(E, ({ item: k }) => k) + )) || + false + } + const me = pe && pe.force + if (!me) { + if (q && q.force) continue + if (le) continue + if (E.size <= 1 || v - E.size <= 1) { + continue + } + } + const ye = (pe && pe.targetGroupCount) || 4 + let _e = me + ? E.size + : Math.min(E.size, (v * 2) / ye + k.size - E.size) + if (_e > L || (me && (!q || !q.force))) { + P = R + L = _e + N = E + q = pe + } + } + if (P === undefined) { + break + } + const ae = new Set(N) + const le = q + const pe = !le || le.groupChildren !== false + for (const v of ae) { + k.delete(v) + for (const k of v.groups) { + const P = E.get(k) + if (P !== undefined) { + P.items.delete(v) + if (P.items.size === 0) { + E.delete(k) + } else { + P.options = undefined + if (pe) { + P.used = true + } + } + } + } + } + E.delete(P) + const me = P.name + const ye = P.config + const _e = Array.from(ae, ({ item: k }) => k) + P.alreadyGrouped = true + const Ie = pe ? runGrouping(ae) : _e + P.alreadyGrouped = false + R.push(ye.createGroup(me, Ie, _e)) + } + for (const { item: v } of k) { + R.push(v) + } + return R + } + return runGrouping(E) + } + k.exports = smartGrouping + }, + 71435: function (k, v) { + 'use strict' + const E = new WeakMap() + const _isSourceEqual = (k, v) => { + let E = typeof k.buffer === 'function' ? k.buffer() : k.source() + let P = typeof v.buffer === 'function' ? v.buffer() : v.source() + if (E === P) return true + if (typeof E === 'string' && typeof P === 'string') return false + if (!Buffer.isBuffer(E)) E = Buffer.from(E, 'utf-8') + if (!Buffer.isBuffer(P)) P = Buffer.from(P, 'utf-8') + return E.equals(P) + } + const isSourceEqual = (k, v) => { + if (k === v) return true + const P = E.get(k) + if (P !== undefined) { + const k = P.get(v) + if (k !== undefined) return k + } + const R = _isSourceEqual(k, v) + if (P !== undefined) { + P.set(v, R) + } else { + const P = new WeakMap() + P.set(v, R) + E.set(k, P) + } + const L = E.get(v) + if (L !== undefined) { + L.set(k, R) + } else { + const P = new WeakMap() + P.set(k, R) + E.set(v, P) + } + return R + } + v.isSourceEqual = isSourceEqual + }, + 11458: function (k, v, E) { + 'use strict' + const { validate: P } = E(38476) + const R = { + 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 L = { + concord: + 'BREAKING CHANGE: resolve.concord has been removed and is no longer available.', + devtoolLineToLine: + 'BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available.', + } + const validateSchema = (k, v, E) => { + P( + k, + v, + E || { + name: 'Webpack', + postFormatter: (k, v) => { + const E = v.children + if ( + E && + E.some( + (k) => + k.keyword === 'absolutePath' && + k.dataPath === '.output.filename' + ) + ) { + return `${k}\nPlease use output.path to specify absolute path and output.filename for the file name.` + } + if ( + E && + E.some( + (k) => k.keyword === 'pattern' && k.dataPath === '.devtool' + ) + ) { + return ( + `${k}\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 (v.keyword === 'additionalProperties') { + const E = v.params + if ( + Object.prototype.hasOwnProperty.call(R, E.additionalProperty) + ) { + return `${k}\nDid you mean ${R[E.additionalProperty]}?` + } + if ( + Object.prototype.hasOwnProperty.call(L, E.additionalProperty) + ) { + return `${k}\n${L[E.additionalProperty]}?` + } + if (!v.dataPath) { + if (E.additionalProperty === 'debug') { + return ( + `${k}\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 (E.additionalProperty) { + return ( + `${k}\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.additionalProperty}: …\n` + + ' }\n' + + ' })\n' + + ' ]' + ) + } + } + } + return k + }, + } + ) + } + k.exports = validateSchema + }, + 99393: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + class AsyncWasmLoadingRuntimeModule extends R { + constructor({ generateLoadBinaryCode: k, supportsStreaming: v }) { + super('wasm loading', R.STAGE_NORMAL) + this.generateLoadBinaryCode = k + this.supportsStreaming = v + } + generate() { + const { compilation: k, chunk: v } = this + const { outputOptions: E, runtimeTemplate: R } = k + const N = P.instantiateWasm + const q = k.getPath(JSON.stringify(E.webassemblyModuleFilename), { + hash: `" + ${P.getFullHash}() + "`, + hashWithLength: (k) => `" + ${P.getFullHash}}().slice(0, ${k}) + "`, + module: { + id: '" + wasmModuleId + "', + hash: `" + wasmModuleHash + "`, + hashWithLength(k) { + return `" + wasmModuleHash.slice(0, ${k}) + "` + }, + }, + runtime: v.runtime, + }) + return `${N} = ${R.basicFunction( + 'exports, wasmModuleId, wasmModuleHash, importsObj', + [ + `var req = ${this.generateLoadBinaryCode(q)};`, + this.supportsStreaming + ? L.asString([ + "if (typeof WebAssembly.instantiateStreaming === 'function') {", + L.indent([ + 'return WebAssembly.instantiateStreaming(req, importsObj)', + L.indent([ + `.then(${R.returningFunction( + 'Object.assign(exports, res.instance.exports)', + 'res' + )});`, + ]), + ]), + '}', + ]) + : '// no support for streaming compilation', + 'return req', + L.indent([ + `.then(${R.returningFunction('x.arrayBuffer()', 'x')})`, + `.then(${R.returningFunction( + 'WebAssembly.instantiate(bytes, importsObj)', + 'bytes' + )})`, + `.then(${R.returningFunction( + 'Object.assign(exports, res.instance.exports)', + 'res' + )});`, + ]), + ] + )};` + } + } + k.exports = AsyncWasmLoadingRuntimeModule + }, + 67290: function (k, v, E) { + 'use strict' + const P = E(91597) + const R = new Set(['webassembly']) + class AsyncWebAssemblyGenerator extends P { + constructor(k) { + super() + this.options = k + } + getTypes(k) { + return R + } + getSize(k, v) { + const E = k.originalSource() + if (!E) { + return 0 + } + return E.size() + } + generate(k, v) { + return k.originalSource() + } + } + k.exports = AsyncWebAssemblyGenerator + }, + 16332: function (k, v, E) { + 'use strict' + const { RawSource: P } = E(51255) + const R = E(91597) + const L = E(88113) + const N = E(56727) + const q = E(95041) + const ae = E(22734) + const le = new Set(['webassembly']) + class AsyncWebAssemblyJavascriptGenerator extends R { + constructor(k) { + super() + this.filenameTemplate = k + } + getTypes(k) { + return le + } + getSize(k, v) { + return 40 + k.dependencies.length * 10 + } + generate(k, v) { + const { + runtimeTemplate: E, + chunkGraph: R, + moduleGraph: le, + runtimeRequirements: pe, + runtime: me, + } = v + pe.add(N.module) + pe.add(N.moduleId) + pe.add(N.exports) + pe.add(N.instantiateWasm) + const ye = [] + const _e = new Map() + const Ie = new Map() + for (const v of k.dependencies) { + if (v instanceof ae) { + const k = le.getModule(v) + if (!_e.has(k)) { + _e.set(k, { + request: v.request, + importVar: `WEBPACK_IMPORTED_MODULE_${_e.size}`, + }) + } + let E = Ie.get(v.request) + if (E === undefined) { + E = [] + Ie.set(v.request, E) + } + E.push(v) + } + } + const Me = [] + const Te = Array.from(_e, ([v, { request: P, importVar: L }]) => { + if (le.isAsync(v)) { + Me.push(L) + } + return E.importStatement({ + update: false, + module: v, + chunkGraph: R, + request: P, + originModule: k, + importVar: L, + runtimeRequirements: pe, + }) + }) + const je = Te.map(([k]) => k).join('') + const Ne = Te.map(([k, v]) => v).join('') + const Be = Array.from(Ie, ([v, P]) => { + const R = P.map((P) => { + const R = le.getModule(P) + const L = _e.get(R).importVar + return `${JSON.stringify(P.name)}: ${E.exportFromImport({ + moduleGraph: le, + module: R, + request: v, + exportName: P.name, + originModule: k, + asiSafe: true, + isCall: false, + callContext: false, + defaultInterop: true, + importVar: L, + initFragments: ye, + runtime: me, + runtimeRequirements: pe, + })}` + }) + return q.asString([ + `${JSON.stringify(v)}: {`, + q.indent(R.join(',\n')), + '}', + ]) + }) + const qe = + Be.length > 0 + ? q.asString(['{', q.indent(Be.join(',\n')), '}']) + : undefined + const Ue = + `${N.instantiateWasm}(${k.exportsArgument}, ${ + k.moduleArgument + }.id, ${JSON.stringify(R.getRenderedModuleHash(k, me))}` + + (qe ? `, ${qe})` : `)`) + if (Me.length > 0) pe.add(N.asyncModule) + const Ge = new P( + Me.length > 0 + ? q.asString([ + `var __webpack_instantiate__ = ${E.basicFunction( + `[${Me.join(', ')}]`, + `${Ne}return ${Ue};` + )}`, + `${N.asyncModule}(${ + k.moduleArgument + }, async ${E.basicFunction( + '__webpack_handle_async_dependencies__, __webpack_async_result__', + [ + 'try {', + je, + `var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${Me.join( + ', ' + )}]);`, + `var [${Me.join( + ', ' + )}] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__;`, + `${Ne}await ${Ue};`, + '__webpack_async_result__();', + '} catch(e) { __webpack_async_result__(e); }', + ] + )}, 1);`, + ]) + : `${je}${Ne}module.exports = ${Ue};` + ) + return L.addToSource(Ge, ye, v) + } + } + k.exports = AsyncWebAssemblyJavascriptGenerator + }, + 70006: function (k, v, E) { + 'use strict' + const { SyncWaterfallHook: P } = E(79846) + const R = E(27747) + const L = E(91597) + const { tryRunOrWebpackError: N } = E(82104) + const { WEBASSEMBLY_MODULE_TYPE_ASYNC: q } = E(93622) + const ae = E(22734) + const { compareModulesByIdentifier: le } = E(95648) + const pe = E(20631) + const me = pe(() => E(67290)) + const ye = pe(() => E(16332)) + const _e = pe(() => E(13115)) + const Ie = new WeakMap() + const Me = 'AsyncWebAssemblyModulesPlugin' + class AsyncWebAssemblyModulesPlugin { + static getCompilationHooks(k) { + if (!(k instanceof R)) { + throw new TypeError( + "The 'compilation' argument must be an instance of Compilation" + ) + } + let v = Ie.get(k) + if (v === undefined) { + v = { + renderModuleContent: new P(['source', 'module', 'renderContext']), + } + Ie.set(k, v) + } + return v + } + constructor(k) { + this.options = k + } + apply(k) { + k.hooks.compilation.tap(Me, (k, { normalModuleFactory: v }) => { + const E = AsyncWebAssemblyModulesPlugin.getCompilationHooks(k) + k.dependencyFactories.set(ae, v) + v.hooks.createParser.for(q).tap(Me, () => { + const k = _e() + return new k() + }) + v.hooks.createGenerator.for(q).tap(Me, () => { + const v = ye() + const E = me() + return L.byType({ + javascript: new v(k.outputOptions.webassemblyModuleFilename), + webassembly: new E(this.options), + }) + }) + k.hooks.renderManifest.tap('WebAssemblyModulesPlugin', (v, P) => { + const { moduleGraph: R, chunkGraph: L, runtimeTemplate: N } = k + const { + chunk: ae, + outputOptions: pe, + dependencyTemplates: me, + codeGenerationResults: ye, + } = P + for (const k of L.getOrderedChunkModulesIterable(ae, le)) { + if (k.type === q) { + const P = pe.webassemblyModuleFilename + v.push({ + render: () => + this.renderModule( + k, + { + chunk: ae, + dependencyTemplates: me, + runtimeTemplate: N, + moduleGraph: R, + chunkGraph: L, + codeGenerationResults: ye, + }, + E + ), + filenameTemplate: P, + pathOptions: { + module: k, + runtime: ae.runtime, + chunkGraph: L, + }, + auxiliary: true, + identifier: `webassemblyAsyncModule${L.getModuleId(k)}`, + hash: L.getModuleHash(k, ae.runtime), + }) + } + } + return v + }) + }) + } + renderModule(k, v, E) { + const { codeGenerationResults: P, chunk: R } = v + try { + const L = P.getSource(k, R.runtime, 'webassembly') + return N( + () => E.renderModuleContent.call(L, k, v), + 'AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent' + ) + } catch (v) { + v.module = k + throw v + } + } + } + k.exports = AsyncWebAssemblyModulesPlugin + }, + 13115: function (k, v, E) { + 'use strict' + const P = E(26333) + const { decode: R } = E(57480) + const L = E(17381) + const N = E(93414) + const q = E(22734) + const ae = { + ignoreCodeSection: true, + ignoreDataSection: true, + ignoreCustomNameSection: true, + } + class WebAssemblyParser extends L { + constructor(k) { + super() + this.hooks = Object.freeze({}) + this.options = k + } + parse(k, v) { + if (!Buffer.isBuffer(k)) { + throw new Error('WebAssemblyParser input must be a Buffer') + } + v.module.buildInfo.strict = true + v.module.buildMeta.exportsType = 'namespace' + v.module.buildMeta.async = true + const E = R(k, ae) + const L = E.body[0] + const le = [] + P.traverse(L, { + ModuleExport({ node: k }) { + le.push(k.name) + }, + ModuleImport({ node: k }) { + const E = new q(k.module, k.name, k.descr, false) + v.module.addDependency(E) + }, + }) + v.module.addDependency(new N(le, false)) + return v + } + } + k.exports = WebAssemblyParser + }, + 42626: function (k, v, E) { + 'use strict' + const P = E(71572) + k.exports = class UnsupportedWebAssemblyFeatureError extends P { + constructor(k) { + super(k) + this.name = 'UnsupportedWebAssemblyFeatureError' + this.hideStack = true + } + } + }, + 68403: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + const { compareModulesByIdentifier: N } = E(95648) + const q = E(91702) + const getAllWasmModules = (k, v, E) => { + const P = E.getAllAsyncChunks() + const R = [] + for (const k of P) { + for (const E of v.getOrderedChunkModulesIterable(k, N)) { + if (E.type.startsWith('webassembly')) { + R.push(E) + } + } + } + return R + } + const generateImportObject = (k, v, E, R, N) => { + const ae = k.moduleGraph + const le = new Map() + const pe = [] + const me = q.getUsedDependencies(ae, v, E) + for (const v of me) { + const E = v.dependency + const q = ae.getModule(E) + const me = E.name + const ye = q && ae.getExportsInfo(q).getUsedName(me, N) + const _e = E.description + const Ie = E.onlyDirectImport + const Me = v.module + const Te = v.name + if (Ie) { + const v = `m${le.size}` + le.set(v, k.getModuleId(q)) + pe.push({ + module: Me, + name: Te, + value: `${v}[${JSON.stringify(ye)}]`, + }) + } else { + const v = _e.signature.params.map((k, v) => 'p' + v + k.valtype) + const E = `${P.moduleCache}[${JSON.stringify(k.getModuleId(q))}]` + const N = `${E}.exports` + const ae = `wasmImportedFuncCache${R.length}` + R.push(`var ${ae};`) + pe.push({ + module: Me, + name: Te, + value: L.asString([ + (q.type.startsWith('webassembly') + ? `${E} ? ${N}[${JSON.stringify(ye)}] : ` + : '') + `function(${v}) {`, + L.indent([ + `if(${ae} === undefined) ${ae} = ${N};`, + `return ${ae}[${JSON.stringify(ye)}](${v});`, + ]), + '}', + ]), + }) + } + } + let ye + if (E) { + ye = [ + 'return {', + L.indent([ + pe + .map((k) => `${JSON.stringify(k.name)}: ${k.value}`) + .join(',\n'), + ]), + '};', + ] + } else { + const k = new Map() + for (const v of pe) { + let E = k.get(v.module) + if (E === undefined) { + k.set(v.module, (E = [])) + } + E.push(v) + } + ye = [ + 'return {', + L.indent([ + Array.from(k, ([k, v]) => + L.asString([ + `${JSON.stringify(k)}: {`, + L.indent([ + v + .map((k) => `${JSON.stringify(k.name)}: ${k.value}`) + .join(',\n'), + ]), + '}', + ]) + ).join(',\n'), + ]), + '};', + ] + } + const _e = JSON.stringify(k.getModuleId(v)) + if (le.size === 1) { + const k = Array.from(le.values())[0] + const v = `installedWasmModules[${JSON.stringify(k)}]` + const E = Array.from(le.keys())[0] + return L.asString([ + `${_e}: function() {`, + L.indent([ + `return promiseResolve().then(function() { return ${v}; }).then(function(${E}) {`, + L.indent(ye), + '});', + ]), + '},', + ]) + } else if (le.size > 0) { + const k = Array.from( + le.values(), + (k) => `installedWasmModules[${JSON.stringify(k)}]` + ).join(', ') + const v = Array.from(le.keys(), (k, v) => `${k} = array[${v}]`).join( + ', ' + ) + return L.asString([ + `${_e}: function() {`, + L.indent([ + `return promiseResolve().then(function() { return Promise.all([${k}]); }).then(function(array) {`, + L.indent([`var ${v};`, ...ye]), + '});', + ]), + '},', + ]) + } else { + return L.asString([`${_e}: function() {`, L.indent(ye), '},']) + } + } + class WasmChunkLoadingRuntimeModule extends R { + constructor({ + generateLoadBinaryCode: k, + supportsStreaming: v, + mangleImports: E, + runtimeRequirements: P, + }) { + super('wasm chunk loading', R.STAGE_ATTACH) + this.generateLoadBinaryCode = k + this.supportsStreaming = v + this.mangleImports = E + this._runtimeRequirements = P + } + generate() { + const { + chunkGraph: k, + compilation: v, + chunk: E, + mangleImports: R, + } = this + const { moduleGraph: N, outputOptions: ae } = v + const le = P.ensureChunkHandlers + const pe = this._runtimeRequirements.has(P.hmrDownloadUpdateHandlers) + const me = getAllWasmModules(N, k, E) + const ye = [] + const _e = me.map((v) => + generateImportObject(k, v, this.mangleImports, ye, E.runtime) + ) + const Ie = k.getChunkModuleIdMap(E, (k) => + k.type.startsWith('webassembly') + ) + const createImportObject = (k) => + R ? `{ ${JSON.stringify(q.MANGLED_MODULE)}: ${k} }` : k + const Me = v.getPath(JSON.stringify(ae.webassemblyModuleFilename), { + hash: `" + ${P.getFullHash}() + "`, + hashWithLength: (k) => `" + ${P.getFullHash}}().slice(0, ${k}) + "`, + module: { + id: '" + wasmModuleId + "', + hash: `" + ${JSON.stringify( + k.getChunkModuleRenderedHashMap(E, (k) => + k.type.startsWith('webassembly') + ) + )}[chunkId][wasmModuleId] + "`, + hashWithLength(v) { + return `" + ${JSON.stringify( + k.getChunkModuleRenderedHashMap( + E, + (k) => k.type.startsWith('webassembly'), + v + ) + )}[chunkId][wasmModuleId] + "` + }, + }, + runtime: E.runtime, + }) + const Te = pe ? `${P.hmrRuntimeStatePrefix}_wasm` : undefined + return L.asString([ + '// object to store loaded and loading wasm modules', + `var installedWasmModules = ${Te ? `${Te} = ${Te} || ` : ''}{};`, + '', + 'function promiseResolve() { return Promise.resolve(); }', + '', + L.asString(ye), + 'var wasmImportObjects = {', + L.indent(_e), + '};', + '', + `var wasmModuleMap = ${JSON.stringify(Ie, undefined, '\t')};`, + '', + '// object with all WebAssembly.instance exports', + `${P.wasmInstances} = {};`, + '', + '// Fetch + compile chunk loading for webassembly', + `${le}.wasm = function(chunkId, promises) {`, + L.indent([ + '', + `var wasmModules = wasmModuleMap[chunkId] || [];`, + '', + 'wasmModules.forEach(function(wasmModuleId, idx) {', + L.indent([ + 'var installedWasmModuleData = installedWasmModules[wasmModuleId];', + '', + '// a Promise means "currently loading" or "already loaded".', + 'if(installedWasmModuleData)', + L.indent(['promises.push(installedWasmModuleData);']), + 'else {', + L.indent([ + `var importObject = wasmImportObjects[wasmModuleId]();`, + `var req = ${this.generateLoadBinaryCode(Me)};`, + 'var promise;', + this.supportsStreaming + ? L.asString([ + "if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {", + L.indent([ + 'promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {', + L.indent([ + `return WebAssembly.instantiate(items[0], ${createImportObject( + 'items[1]' + )});`, + ]), + '});', + ]), + "} else if(typeof WebAssembly.instantiateStreaming === 'function') {", + L.indent([ + `promise = WebAssembly.instantiateStreaming(req, ${createImportObject( + 'importObject' + )});`, + ]), + ]) + : L.asString([ + "if(importObject && typeof importObject.then === 'function') {", + L.indent([ + 'var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });', + 'promise = Promise.all([', + L.indent([ + 'bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),', + 'importObject', + ]), + ']).then(function(items) {', + L.indent([ + `return WebAssembly.instantiate(items[0], ${createImportObject( + 'items[1]' + )});`, + ]), + '});', + ]), + ]), + '} else {', + L.indent([ + 'var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });', + 'promise = bytesPromise.then(function(bytes) {', + L.indent([ + `return WebAssembly.instantiate(bytes, ${createImportObject( + 'importObject' + )});`, + ]), + '});', + ]), + '}', + 'promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {', + L.indent([ + `return ${P.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`, + ]), + '}));', + ]), + '}', + ]), + '});', + ]), + '};', + ]) + } + } + k.exports = WasmChunkLoadingRuntimeModule + }, + 6754: function (k, v, E) { + 'use strict' + const P = E(1811) + const R = E(42626) + class WasmFinalizeExportsPlugin { + apply(k) { + k.hooks.compilation.tap('WasmFinalizeExportsPlugin', (k) => { + k.hooks.finishModules.tap('WasmFinalizeExportsPlugin', (v) => { + for (const E of v) { + if (E.type.startsWith('webassembly') === true) { + const v = E.buildMeta.jsIncompatibleExports + if (v === undefined) { + continue + } + for (const L of k.moduleGraph.getIncomingConnections(E)) { + if ( + L.isTargetActive(undefined) && + L.originModule.type.startsWith('webassembly') === false + ) { + const N = k.getDependencyReferencedExports( + L.dependency, + undefined + ) + for (const q of N) { + const N = Array.isArray(q) ? q : q.name + if (N.length === 0) continue + const ae = N[0] + if (typeof ae === 'object') continue + if (Object.prototype.hasOwnProperty.call(v, ae)) { + const N = new R( + `Export "${ae}" with ${v[ae]} can only be used for direct wasm to wasm dependencies\n` + + `It's used from ${L.originModule.readableIdentifier( + k.requestShortener + )} at ${P(L.dependency.loc)}.` + ) + N.module = E + k.errors.push(N) + } + } + } + } + } + } + }) + }) + } + } + k.exports = WasmFinalizeExportsPlugin + }, + 96157: function (k, v, E) { + 'use strict' + const { RawSource: P } = E(51255) + const R = E(91597) + const L = E(91702) + const N = E(26333) + const { moduleContextFromModuleAST: q } = E(26333) + const { editWithAST: ae, addWithAST: le } = E(12092) + const { decode: pe } = E(57480) + const me = E(74476) + const compose = (...k) => + k.reduce( + (k, v) => (E) => v(k(E)), + (k) => k + ) + const removeStartFunc = (k) => (v) => + ae(k.ast, v, { + Start(k) { + k.remove() + }, + }) + const getImportedGlobals = (k) => { + const v = [] + N.traverse(k, { + ModuleImport({ node: k }) { + if (N.isGlobalType(k.descr)) { + v.push(k) + } + }, + }) + return v + } + const getCountImportedFunc = (k) => { + let v = 0 + N.traverse(k, { + ModuleImport({ node: k }) { + if (N.isFuncImportDescr(k.descr)) { + v++ + } + }, + }) + return v + } + const getNextTypeIndex = (k) => { + const v = N.getSectionMetadata(k, 'type') + if (v === undefined) { + return N.indexLiteral(0) + } + return N.indexLiteral(v.vectorOfSize.value) + } + const getNextFuncIndex = (k, v) => { + const E = N.getSectionMetadata(k, 'func') + if (E === undefined) { + return N.indexLiteral(0 + v) + } + const P = E.vectorOfSize.value + return N.indexLiteral(P + v) + } + const createDefaultInitForGlobal = (k) => { + if (k.valtype[0] === 'i') { + return N.objectInstruction('const', k.valtype, [ + N.numberLiteralFromRaw(66), + ]) + } else if (k.valtype[0] === 'f') { + return N.objectInstruction('const', k.valtype, [ + N.floatLiteral(66, false, false, '66'), + ]) + } else { + throw new Error('unknown type: ' + k.valtype) + } + } + const rewriteImportedGlobals = (k) => (v) => { + const E = k.additionalInitCode + const P = [] + v = ae(k.ast, v, { + ModuleImport(k) { + if (N.isGlobalType(k.node.descr)) { + const v = k.node.descr + v.mutability = 'var' + const E = [createDefaultInitForGlobal(v), N.instruction('end')] + P.push(N.global(v, E)) + k.remove() + } + }, + Global(k) { + const { node: v } = k + const [R] = v.init + if (R.id === 'get_global') { + v.globalType.mutability = 'var' + const k = R.args[0] + v.init = [ + createDefaultInitForGlobal(v.globalType), + N.instruction('end'), + ] + E.push( + N.instruction('get_local', [k]), + N.instruction('set_global', [N.indexLiteral(P.length)]) + ) + } + P.push(v) + k.remove() + }, + }) + return le(k.ast, v, P) + } + const rewriteExportNames = + ({ + ast: k, + moduleGraph: v, + module: E, + externalExports: P, + runtime: R, + }) => + (L) => + ae(k, L, { + ModuleExport(k) { + const L = P.has(k.node.name) + if (L) { + k.remove() + return + } + const N = v.getExportsInfo(E).getUsedName(k.node.name, R) + if (!N) { + k.remove() + return + } + k.node.name = N + }, + }) + const rewriteImports = + ({ ast: k, usedDependencyMap: v }) => + (E) => + ae(k, E, { + ModuleImport(k) { + const E = v.get(k.node.module + ':' + k.node.name) + if (E !== undefined) { + k.node.module = E.module + k.node.name = E.name + } + }, + }) + const addInitFunction = + ({ + ast: k, + initFuncId: v, + startAtFuncOffset: E, + importedGlobals: P, + additionalInitCode: R, + nextFuncIndex: L, + nextTypeIndex: q, + }) => + (ae) => { + const pe = P.map((k) => { + const v = N.identifier(`${k.module}.${k.name}`) + return N.funcParam(k.descr.valtype, v) + }) + const me = [] + P.forEach((k, v) => { + const E = [N.indexLiteral(v)] + const P = [ + N.instruction('get_local', E), + N.instruction('set_global', E), + ] + me.push(...P) + }) + if (typeof E === 'number') { + me.push(N.callInstruction(N.numberLiteralFromRaw(E))) + } + for (const k of R) { + me.push(k) + } + me.push(N.instruction('end')) + const ye = [] + const _e = N.signature(pe, ye) + const Ie = N.func(v, _e, me) + const Me = N.typeInstruction(undefined, _e) + const Te = N.indexInFuncSection(q) + const je = N.moduleExport(v.value, N.moduleExportDescr('Func', L)) + return le(k, ae, [Ie, je, Te, Me]) + } + const getUsedDependencyMap = (k, v, E) => { + const P = new Map() + for (const R of L.getUsedDependencies(k, v, E)) { + const k = R.dependency + const v = k.request + const E = k.name + P.set(v + ':' + E, R) + } + return P + } + const ye = new Set(['webassembly']) + class WebAssemblyGenerator extends R { + constructor(k) { + super() + this.options = k + } + getTypes(k) { + return ye + } + getSize(k, v) { + const E = k.originalSource() + if (!E) { + return 0 + } + return E.size() + } + generate(k, { moduleGraph: v, runtime: E }) { + const R = k.originalSource().source() + const L = N.identifier('') + const ae = pe(R, { + ignoreDataSection: true, + ignoreCodeSection: true, + ignoreCustomNameSection: true, + }) + const le = q(ae.body[0]) + const ye = getImportedGlobals(ae) + const _e = getCountImportedFunc(ae) + const Ie = le.getStart() + const Me = getNextFuncIndex(ae, _e) + const Te = getNextTypeIndex(ae) + const je = getUsedDependencyMap(v, k, this.options.mangleImports) + const Ne = new Set( + k.dependencies + .filter((k) => k instanceof me) + .map((k) => { + const v = k + return v.exportName + }) + ) + const Be = [] + const qe = compose( + rewriteExportNames({ + ast: ae, + moduleGraph: v, + module: k, + externalExports: Ne, + runtime: E, + }), + removeStartFunc({ ast: ae }), + rewriteImportedGlobals({ ast: ae, additionalInitCode: Be }), + rewriteImports({ ast: ae, usedDependencyMap: je }), + addInitFunction({ + ast: ae, + initFuncId: L, + importedGlobals: ye, + additionalInitCode: Be, + startAtFuncOffset: Ie, + nextFuncIndex: Me, + nextTypeIndex: Te, + }) + ) + const Ue = qe(R) + const Ge = Buffer.from(Ue) + return new P(Ge) + } + } + k.exports = WebAssemblyGenerator + }, + 83454: function (k, v, E) { + 'use strict' + const P = E(71572) + const getInitialModuleChains = (k, v, E, P) => { + const R = [{ head: k, message: k.readableIdentifier(P) }] + const L = new Set() + const N = new Set() + const q = new Set() + for (const k of R) { + const { head: ae, message: le } = k + let pe = true + const me = new Set() + for (const k of v.getIncomingConnections(ae)) { + const v = k.originModule + if (v) { + if (!E.getModuleChunks(v).some((k) => k.canBeInitial())) continue + pe = false + if (me.has(v)) continue + me.add(v) + const L = v.readableIdentifier(P) + const ae = k.explanation ? ` (${k.explanation})` : '' + const ye = `${L}${ae} --\x3e ${le}` + if (q.has(v)) { + N.add(`... --\x3e ${ye}`) + continue + } + q.add(v) + R.push({ head: v, message: ye }) + } else { + pe = false + const v = k.explanation ? `(${k.explanation}) --\x3e ${le}` : le + L.add(v) + } + } + if (pe) { + L.add(le) + } + } + for (const k of N) { + L.add(k) + } + return Array.from(L) + } + k.exports = class WebAssemblyInInitialChunkError extends P { + constructor(k, v, E, P) { + const R = getInitialModuleChains(k, v, E, P) + const L = `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${R.map( + (k) => `* ${k}` + ).join('\n')}` + super(L) + this.name = 'WebAssemblyInInitialChunkError' + this.hideStack = true + this.module = k + } + } + }, + 26106: function (k, v, E) { + 'use strict' + const { RawSource: P } = E(51255) + const { UsageState: R } = E(11172) + const L = E(91597) + const N = E(88113) + const q = E(56727) + const ae = E(95041) + const le = E(77373) + const pe = E(74476) + const me = E(22734) + const ye = new Set(['webassembly']) + class WebAssemblyJavascriptGenerator extends L { + getTypes(k) { + return ye + } + getSize(k, v) { + return 95 + k.dependencies.length * 5 + } + generate(k, v) { + const { + runtimeTemplate: E, + moduleGraph: L, + chunkGraph: ye, + runtimeRequirements: _e, + runtime: Ie, + } = v + const Me = [] + const Te = L.getExportsInfo(k) + let je = false + const Ne = new Map() + const Be = [] + let qe = 0 + for (const v of k.dependencies) { + const P = v && v instanceof le ? v : undefined + if (L.getModule(v)) { + let R = Ne.get(L.getModule(v)) + if (R === undefined) { + Ne.set( + L.getModule(v), + (R = { + importVar: `m${qe}`, + index: qe, + request: (P && P.userRequest) || undefined, + names: new Set(), + reexports: [], + }) + ) + qe++ + } + if (v instanceof me) { + R.names.add(v.name) + if (v.description.type === 'GlobalType') { + const P = v.name + const N = L.getModule(v) + if (N) { + const q = L.getExportsInfo(N).getUsedName(P, Ie) + if (q) { + Be.push( + E.exportFromImport({ + moduleGraph: L, + module: N, + request: v.request, + importVar: R.importVar, + originModule: k, + exportName: v.name, + asiSafe: true, + isCall: false, + callContext: null, + defaultInterop: true, + initFragments: Me, + runtime: Ie, + runtimeRequirements: _e, + }) + ) + } + } + } + } + if (v instanceof pe) { + R.names.add(v.name) + const P = L.getExportsInfo(k).getUsedName(v.exportName, Ie) + if (P) { + _e.add(q.exports) + const N = `${k.exportsArgument}[${JSON.stringify(P)}]` + const le = ae.asString([ + `${N} = ${E.exportFromImport({ + moduleGraph: L, + module: L.getModule(v), + request: v.request, + importVar: R.importVar, + originModule: k, + exportName: v.name, + asiSafe: true, + isCall: false, + callContext: null, + defaultInterop: true, + initFragments: Me, + runtime: Ie, + runtimeRequirements: _e, + })};`, + `if(WebAssembly.Global) ${N} = ` + + `new WebAssembly.Global({ value: ${JSON.stringify( + v.valueType + )} }, ${N});`, + ]) + R.reexports.push(le) + je = true + } + } + } + } + const Ue = ae.asString( + Array.from( + Ne, + ([k, { importVar: v, request: P, reexports: R }]) => { + const L = E.importStatement({ + module: k, + chunkGraph: ye, + request: P, + importVar: v, + originModule: k, + runtimeRequirements: _e, + }) + return L[0] + L[1] + R.join('\n') + } + ) + ) + const Ge = Te.otherExportsInfo.getUsed(Ie) === R.Unused && !je + _e.add(q.module) + _e.add(q.moduleId) + _e.add(q.wasmInstances) + if (Te.otherExportsInfo.getUsed(Ie) !== R.Unused) { + _e.add(q.makeNamespaceObject) + _e.add(q.exports) + } + if (!Ge) { + _e.add(q.exports) + } + const He = new P( + [ + '"use strict";', + '// Instantiate WebAssembly module', + `var wasmExports = ${q.wasmInstances}[${k.moduleArgument}.id];`, + Te.otherExportsInfo.getUsed(Ie) !== R.Unused + ? `${q.makeNamespaceObject}(${k.exportsArgument});` + : '', + '// export exports from WebAssembly module', + Ge + ? `${k.moduleArgument}.exports = wasmExports;` + : 'for(var name in wasmExports) ' + + `if(name) ` + + `${k.exportsArgument}[name] = wasmExports[name];`, + '// exec imports from WebAssembly module (for esm order)', + Ue, + '', + '// exec wasm module', + `wasmExports[""](${Be.join(', ')})`, + ].join('\n') + ) + return N.addToSource(He, Me, v) + } + } + k.exports = WebAssemblyJavascriptGenerator + }, + 3843: function (k, v, E) { + 'use strict' + const P = E(91597) + const { WEBASSEMBLY_MODULE_TYPE_SYNC: R } = E(93622) + const L = E(74476) + const N = E(22734) + const { compareModulesByIdentifier: q } = E(95648) + const ae = E(20631) + const le = E(83454) + const pe = ae(() => E(96157)) + const me = ae(() => E(26106)) + const ye = ae(() => E(32799)) + const _e = 'WebAssemblyModulesPlugin' + class WebAssemblyModulesPlugin { + constructor(k) { + this.options = k + } + apply(k) { + k.hooks.compilation.tap(_e, (k, { normalModuleFactory: v }) => { + k.dependencyFactories.set(N, v) + k.dependencyFactories.set(L, v) + v.hooks.createParser.for(R).tap(_e, () => { + const k = ye() + return new k() + }) + v.hooks.createGenerator.for(R).tap(_e, () => { + const k = me() + const v = pe() + return P.byType({ + javascript: new k(), + webassembly: new v(this.options), + }) + }) + k.hooks.renderManifest.tap(_e, (v, E) => { + const { chunkGraph: P } = k + const { + chunk: L, + outputOptions: N, + codeGenerationResults: ae, + } = E + for (const k of P.getOrderedChunkModulesIterable(L, q)) { + if (k.type === R) { + const E = N.webassemblyModuleFilename + v.push({ + render: () => ae.getSource(k, L.runtime, 'webassembly'), + filenameTemplate: E, + pathOptions: { + module: k, + runtime: L.runtime, + chunkGraph: P, + }, + auxiliary: true, + identifier: `webassemblyModule${P.getModuleId(k)}`, + hash: P.getModuleHash(k, L.runtime), + }) + } + } + return v + }) + k.hooks.afterChunks.tap(_e, () => { + const v = k.chunkGraph + const E = new Set() + for (const P of k.chunks) { + if (P.canBeInitial()) { + for (const k of v.getChunkModulesIterable(P)) { + if (k.type === R) { + E.add(k) + } + } + } + } + for (const v of E) { + k.errors.push( + new le(v, k.moduleGraph, k.chunkGraph, k.requestShortener) + ) + } + }) + }) + } + } + k.exports = WebAssemblyModulesPlugin + }, + 32799: function (k, v, E) { + 'use strict' + const P = E(26333) + const { moduleContextFromModuleAST: R } = E(26333) + const { decode: L } = E(57480) + const N = E(17381) + const q = E(93414) + const ae = E(74476) + const le = E(22734) + const pe = new Set(['i32', 'i64', 'f32', 'f64']) + const getJsIncompatibleType = (k) => { + for (const v of k.params) { + if (!pe.has(v.valtype)) { + return `${v.valtype} as parameter` + } + } + for (const v of k.results) { + if (!pe.has(v)) return `${v} as result` + } + return null + } + const getJsIncompatibleTypeOfFuncSignature = (k) => { + for (const v of k.args) { + if (!pe.has(v)) { + return `${v} as parameter` + } + } + for (const v of k.result) { + if (!pe.has(v)) return `${v} as result` + } + return null + } + const me = { + ignoreCodeSection: true, + ignoreDataSection: true, + ignoreCustomNameSection: true, + } + class WebAssemblyParser extends N { + constructor(k) { + super() + this.hooks = Object.freeze({}) + this.options = k + } + parse(k, v) { + if (!Buffer.isBuffer(k)) { + throw new Error('WebAssemblyParser input must be a Buffer') + } + v.module.buildInfo.strict = true + v.module.buildMeta.exportsType = 'namespace' + const E = L(k, me) + const N = E.body[0] + const ye = R(N) + const _e = [] + let Ie = (v.module.buildMeta.jsIncompatibleExports = undefined) + const Me = [] + P.traverse(N, { + ModuleExport({ node: k }) { + const E = k.descr + if (E.exportType === 'Func') { + const P = E.id.value + const R = ye.getFunction(P) + const L = getJsIncompatibleTypeOfFuncSignature(R) + if (L) { + if (Ie === undefined) { + Ie = v.module.buildMeta.jsIncompatibleExports = {} + } + Ie[k.name] = L + } + } + _e.push(k.name) + if (k.descr && k.descr.exportType === 'Global') { + const E = Me[k.descr.id.value] + if (E) { + const P = new ae(k.name, E.module, E.name, E.descr.valtype) + v.module.addDependency(P) + } + } + }, + Global({ node: k }) { + const v = k.init[0] + let E = null + if (v.id === 'get_global') { + const k = v.args[0].value + if (k < Me.length) { + E = Me[k] + } + } + Me.push(E) + }, + ModuleImport({ node: k }) { + let E = false + if (P.isMemory(k.descr) === true) { + E = 'Memory' + } else if (P.isTable(k.descr) === true) { + E = 'Table' + } else if (P.isFuncImportDescr(k.descr) === true) { + const v = getJsIncompatibleType(k.descr.signature) + if (v) { + E = `Non-JS-compatible Func Signature (${v})` + } + } else if (P.isGlobalType(k.descr) === true) { + const v = k.descr.valtype + if (!pe.has(v)) { + E = `Non-JS-compatible Global Type (${v})` + } + } + const R = new le(k.module, k.name, k.descr, E) + v.module.addDependency(R) + if (P.isGlobalType(k.descr)) { + Me.push(k) + } + }, + }) + v.module.addDependency(new q(_e, false)) + return v + } + } + k.exports = WebAssemblyParser + }, + 91702: function (k, v, E) { + 'use strict' + const P = E(95041) + const R = E(22734) + const L = 'a' + const getUsedDependencies = (k, v, E) => { + const N = [] + let q = 0 + for (const ae of v.dependencies) { + if (ae instanceof R) { + if ( + ae.description.type === 'GlobalType' || + k.getModule(ae) === null + ) { + continue + } + const v = ae.name + if (E) { + N.push({ + dependency: ae, + name: P.numberToIdentifier(q++), + module: L, + }) + } else { + N.push({ dependency: ae, name: v, module: ae.request }) + } + } + } + return N + } + v.getUsedDependencies = getUsedDependencies + v.MANGLED_MODULE = L + }, + 50792: function (k, v, E) { + 'use strict' + const P = new WeakMap() + const getEnabledTypes = (k) => { + let v = P.get(k) + if (v === undefined) { + v = new Set() + P.set(k, v) + } + return v + } + class EnableWasmLoadingPlugin { + constructor(k) { + this.type = k + } + static setEnabled(k, v) { + getEnabledTypes(k).add(v) + } + static checkEnabled(k, v) { + if (!getEnabledTypes(k).has(v)) { + throw new Error( + `Library type "${v}" 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". ' + + 'These types are enabled: ' + + Array.from(getEnabledTypes(k)).join(', ') + ) + } + } + apply(k) { + const { type: v } = this + const P = getEnabledTypes(k) + if (P.has(v)) return + P.add(v) + if (typeof v === 'string') { + switch (v) { + case 'fetch': { + const v = E(99900) + const P = E(52576) + new v({ + mangleImports: k.options.optimization.mangleWasmImports, + }).apply(k) + new P().apply(k) + break + } + case 'async-node': { + const P = E(63506) + const R = E(39842) + new P({ + mangleImports: k.options.optimization.mangleWasmImports, + }).apply(k) + new R({ type: v }).apply(k) + break + } + case 'async-node-module': { + const P = E(39842) + new P({ type: v, import: true }).apply(k) + break + } + case 'universal': + throw new Error( + 'Universal WebAssembly Loading is not implemented yet' + ) + default: + throw new Error( + `Unsupported wasm loading type ${v}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.` + ) + } + } else { + } + } + } + k.exports = EnableWasmLoadingPlugin + }, + 52576: function (k, v, E) { + 'use strict' + const { WEBASSEMBLY_MODULE_TYPE_ASYNC: P } = E(93622) + const R = E(56727) + const L = E(99393) + class FetchCompileAsyncWasmPlugin { + apply(k) { + k.hooks.thisCompilation.tap('FetchCompileAsyncWasmPlugin', (k) => { + const v = k.outputOptions.wasmLoading + const isEnabledForChunk = (k) => { + const E = k.getEntryOptions() + const P = E && E.wasmLoading !== undefined ? E.wasmLoading : v + return P === 'fetch' + } + const generateLoadBinaryCode = (k) => + `fetch(${R.publicPath} + ${k})` + k.hooks.runtimeRequirementInTree + .for(R.instantiateWasm) + .tap('FetchCompileAsyncWasmPlugin', (v, E) => { + if (!isEnabledForChunk(v)) return + const N = k.chunkGraph + if (!N.hasModuleInGraph(v, (k) => k.type === P)) { + return + } + E.add(R.publicPath) + k.addRuntimeModule( + v, + new L({ + generateLoadBinaryCode: generateLoadBinaryCode, + supportsStreaming: true, + }) + ) + }) + }) + } + } + k.exports = FetchCompileAsyncWasmPlugin + }, + 99900: function (k, v, E) { + 'use strict' + const { WEBASSEMBLY_MODULE_TYPE_SYNC: P } = E(93622) + const R = E(56727) + const L = E(68403) + const N = 'FetchCompileWasmPlugin' + class FetchCompileWasmPlugin { + constructor(k = {}) { + this.options = k + } + apply(k) { + k.hooks.thisCompilation.tap(N, (k) => { + const v = k.outputOptions.wasmLoading + const isEnabledForChunk = (k) => { + const E = k.getEntryOptions() + const P = E && E.wasmLoading !== undefined ? E.wasmLoading : v + return P === 'fetch' + } + const generateLoadBinaryCode = (k) => + `fetch(${R.publicPath} + ${k})` + k.hooks.runtimeRequirementInTree + .for(R.ensureChunkHandlers) + .tap(N, (v, E) => { + if (!isEnabledForChunk(v)) return + const N = k.chunkGraph + if (!N.hasModuleInGraph(v, (k) => k.type === P)) { + return + } + E.add(R.moduleCache) + E.add(R.publicPath) + k.addRuntimeModule( + v, + new L({ + generateLoadBinaryCode: generateLoadBinaryCode, + supportsStreaming: true, + mangleImports: this.options.mangleImports, + runtimeRequirements: E, + }) + ) + }) + }) + } + } + k.exports = FetchCompileWasmPlugin + }, + 58746: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(97810) + class JsonpChunkLoadingPlugin { + apply(k) { + k.hooks.thisCompilation.tap('JsonpChunkLoadingPlugin', (k) => { + const v = k.outputOptions.chunkLoading + const isEnabledForChunk = (k) => { + const E = k.getEntryOptions() + const P = E && E.chunkLoading !== undefined ? E.chunkLoading : v + return P === 'jsonp' + } + const E = new WeakSet() + const handler = (v, L) => { + if (E.has(v)) return + E.add(v) + if (!isEnabledForChunk(v)) return + L.add(P.moduleFactoriesAddOnly) + L.add(P.hasOwnProperty) + k.addRuntimeModule(v, new R(L)) + } + k.hooks.runtimeRequirementInTree + .for(P.ensureChunkHandlers) + .tap('JsonpChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.hmrDownloadUpdateHandlers) + .tap('JsonpChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.hmrDownloadManifest) + .tap('JsonpChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.baseURI) + .tap('JsonpChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.onChunksLoaded) + .tap('JsonpChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.ensureChunkHandlers) + .tap('JsonpChunkLoadingPlugin', (k, v) => { + if (!isEnabledForChunk(k)) return + v.add(P.publicPath) + v.add(P.loadScript) + v.add(P.getChunkScriptFilename) + }) + k.hooks.runtimeRequirementInTree + .for(P.hmrDownloadUpdateHandlers) + .tap('JsonpChunkLoadingPlugin', (k, v) => { + if (!isEnabledForChunk(k)) return + v.add(P.publicPath) + v.add(P.loadScript) + v.add(P.getChunkUpdateScriptFilename) + v.add(P.moduleCache) + v.add(P.hmrModuleData) + v.add(P.moduleFactoriesAddOnly) + }) + k.hooks.runtimeRequirementInTree + .for(P.hmrDownloadManifest) + .tap('JsonpChunkLoadingPlugin', (k, v) => { + if (!isEnabledForChunk(k)) return + v.add(P.publicPath) + v.add(P.getUpdateManifestFilename) + }) + }) + } + } + k.exports = JsonpChunkLoadingPlugin + }, + 97810: function (k, v, E) { + 'use strict' + const { SyncWaterfallHook: P } = E(79846) + const R = E(27747) + const L = E(56727) + const N = E(27462) + const q = E(95041) + const ae = E(89168).chunkHasJs + const { getInitialChunkIds: le } = E(73777) + const pe = E(21751) + const me = new WeakMap() + class JsonpChunkLoadingRuntimeModule extends N { + static getCompilationHooks(k) { + if (!(k instanceof R)) { + throw new TypeError( + "The 'compilation' argument must be an instance of Compilation" + ) + } + let v = me.get(k) + if (v === undefined) { + v = { + linkPreload: new P(['source', 'chunk']), + linkPrefetch: new P(['source', 'chunk']), + } + me.set(k, v) + } + return v + } + constructor(k) { + super('jsonp chunk loading', N.STAGE_ATTACH) + this._runtimeRequirements = k + } + _generateBaseUri(k) { + const v = k.getEntryOptions() + if (v && v.baseUri) { + return `${L.baseURI} = ${JSON.stringify(v.baseUri)};` + } else { + return `${L.baseURI} = document.baseURI || self.location.href;` + } + } + generate() { + const { chunkGraph: k, compilation: v, chunk: E } = this + const { + runtimeTemplate: P, + outputOptions: { + chunkLoadingGlobal: R, + hotUpdateGlobal: N, + crossOriginLoading: me, + scriptType: ye, + }, + } = v + const _e = P.globalObject + const { linkPreload: Ie, linkPrefetch: Me } = + JsonpChunkLoadingRuntimeModule.getCompilationHooks(v) + const Te = L.ensureChunkHandlers + const je = this._runtimeRequirements.has(L.baseURI) + const Ne = this._runtimeRequirements.has(L.ensureChunkHandlers) + const Be = this._runtimeRequirements.has(L.chunkCallback) + const qe = this._runtimeRequirements.has(L.onChunksLoaded) + const Ue = this._runtimeRequirements.has(L.hmrDownloadUpdateHandlers) + const Ge = this._runtimeRequirements.has(L.hmrDownloadManifest) + const He = this._runtimeRequirements.has(L.prefetchChunkHandlers) + const We = this._runtimeRequirements.has(L.preloadChunkHandlers) + const Qe = `${_e}[${JSON.stringify(R)}]` + const Je = k.getChunkConditionMap(E, ae) + const Ve = pe(Je) + const Ke = le(E, k, ae) + const Ye = Ue ? `${L.hmrRuntimeStatePrefix}_jsonp` : undefined + return q.asString([ + je ? this._generateBaseUri(E) : '// no baseURI', + '', + '// object to store loaded and loading chunks', + '// undefined = chunk not loaded, null = chunk preloaded/prefetched', + '// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded', + `var installedChunks = ${Ye ? `${Ye} = ${Ye} || ` : ''}{`, + q.indent( + Array.from(Ke, (k) => `${JSON.stringify(k)}: 0`).join(',\n') + ), + '};', + '', + Ne + ? q.asString([ + `${Te}.j = ${P.basicFunction( + 'chunkId, promises', + Ve !== false + ? q.indent([ + '// JSONP chunk loading for javascript', + `var installedChunkData = ${L.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`, + 'if(installedChunkData !== 0) { // 0 means "already installed".', + q.indent([ + '', + '// a Promise means "currently loading".', + 'if(installedChunkData) {', + q.indent(['promises.push(installedChunkData[2]);']), + '} else {', + q.indent([ + Ve === true + ? 'if(true) { // all chunks have JS' + : `if(${Ve('chunkId')}) {`, + q.indent([ + '// setup Promise in chunk cache', + `var promise = new Promise(${P.expressionFunction( + `installedChunkData = installedChunks[chunkId] = [resolve, reject]`, + 'resolve, reject' + )});`, + 'promises.push(installedChunkData[2] = promise);', + '', + '// start chunk loading', + `var url = ${L.publicPath} + ${L.getChunkScriptFilename}(chunkId);`, + '// create error before stack unwound to get useful stacktrace later', + 'var error = new Error();', + `var loadingEnded = ${P.basicFunction('event', [ + `if(${L.hasOwnProperty}(installedChunks, chunkId)) {`, + q.indent([ + 'installedChunkData = installedChunks[chunkId];', + 'if(installedChunkData !== 0) installedChunks[chunkId] = undefined;', + 'if(installedChunkData) {', + q.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);', + ]), + '}', + ]), + '}', + ])};`, + `${L.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`, + ]), + Ve === true + ? '}' + : '} else installedChunks[chunkId] = 0;', + ]), + '}', + ]), + '}', + ]) + : q.indent(['installedChunks[chunkId] = 0;']) + )};`, + ]) + : '// no chunk on demand loading', + '', + He && Ve !== false + ? `${L.prefetchChunkHandlers}.j = ${P.basicFunction('chunkId', [ + `if((!${ + L.hasOwnProperty + }(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${ + Ve === true ? 'true' : Ve('chunkId') + }) {`, + q.indent([ + 'installedChunks[chunkId] = null;', + Me.call( + q.asString([ + "var link = document.createElement('link');", + me ? `link.crossOrigin = ${JSON.stringify(me)};` : '', + `if (${L.scriptNonce}) {`, + q.indent( + `link.setAttribute("nonce", ${L.scriptNonce});` + ), + '}', + 'link.rel = "prefetch";', + 'link.as = "script";', + `link.href = ${L.publicPath} + ${L.getChunkScriptFilename}(chunkId);`, + ]), + E + ), + 'document.head.appendChild(link);', + ]), + '}', + ])};` + : '// no prefetching', + '', + We && Ve !== false + ? `${L.preloadChunkHandlers}.j = ${P.basicFunction('chunkId', [ + `if((!${ + L.hasOwnProperty + }(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${ + Ve === true ? 'true' : Ve('chunkId') + }) {`, + q.indent([ + 'installedChunks[chunkId] = null;', + Ie.call( + q.asString([ + "var link = document.createElement('link');", + ye && ye !== 'module' + ? `link.type = ${JSON.stringify(ye)};` + : '', + "link.charset = 'utf-8';", + `if (${L.scriptNonce}) {`, + q.indent( + `link.setAttribute("nonce", ${L.scriptNonce});` + ), + '}', + ye === 'module' + ? 'link.rel = "modulepreload";' + : 'link.rel = "preload";', + ye === 'module' ? '' : 'link.as = "script";', + `link.href = ${L.publicPath} + ${L.getChunkScriptFilename}(chunkId);`, + me + ? me === 'use-credentials' + ? 'link.crossOrigin = "use-credentials";' + : q.asString([ + "if (link.href.indexOf(window.location.origin + '/') !== 0) {", + q.indent( + `link.crossOrigin = ${JSON.stringify(me)};` + ), + '}', + ]) + : '', + ]), + E + ), + 'document.head.appendChild(link);', + ]), + '}', + ])};` + : '// no preloaded', + '', + Ue + ? q.asString([ + 'var currentUpdatedModulesList;', + 'var waitingUpdateResolves = {};', + 'function loadUpdateChunk(chunkId, updatedModulesList) {', + q.indent([ + 'currentUpdatedModulesList = updatedModulesList;', + `return new Promise(${P.basicFunction('resolve, reject', [ + 'waitingUpdateResolves[chunkId] = resolve;', + '// start update chunk loading', + `var url = ${L.publicPath} + ${L.getChunkUpdateScriptFilename}(chunkId);`, + '// create error before stack unwound to get useful stacktrace later', + 'var error = new Error();', + `var loadingEnded = ${P.basicFunction('event', [ + 'if(waitingUpdateResolves[chunkId]) {', + q.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);', + ]), + '}', + ])};`, + `${L.loadScript}(url, loadingEnded);`, + ])});`, + ]), + '}', + '', + `${_e}[${JSON.stringify(N)}] = ${P.basicFunction( + 'chunkId, moreModules, runtime', + [ + 'for(var moduleId in moreModules) {', + q.indent([ + `if(${L.hasOwnProperty}(moreModules, moduleId)) {`, + q.indent([ + 'currentUpdate[moduleId] = moreModules[moduleId];', + 'if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);', + ]), + '}', + ]), + '}', + 'if(runtime) currentUpdateRuntime.push(runtime);', + 'if(waitingUpdateResolves[chunkId]) {', + q.indent([ + 'waitingUpdateResolves[chunkId]();', + 'waitingUpdateResolves[chunkId] = undefined;', + ]), + '}', + ] + )};`, + '', + q + .getFunctionContent( + require('./JavascriptHotModuleReplacement.runtime.js') + ) + .replace(/\$key\$/g, 'jsonp') + .replace(/\$installedChunks\$/g, 'installedChunks') + .replace(/\$loadUpdateChunk\$/g, 'loadUpdateChunk') + .replace(/\$moduleCache\$/g, L.moduleCache) + .replace(/\$moduleFactories\$/g, L.moduleFactories) + .replace(/\$ensureChunkHandlers\$/g, L.ensureChunkHandlers) + .replace(/\$hasOwnProperty\$/g, L.hasOwnProperty) + .replace(/\$hmrModuleData\$/g, L.hmrModuleData) + .replace( + /\$hmrDownloadUpdateHandlers\$/g, + L.hmrDownloadUpdateHandlers + ) + .replace( + /\$hmrInvalidateModuleHandlers\$/g, + L.hmrInvalidateModuleHandlers + ), + ]) + : '// no HMR', + '', + Ge + ? q.asString([ + `${L.hmrDownloadManifest} = ${P.basicFunction('', [ + 'if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");', + `return fetch(${L.publicPath} + ${ + L.getUpdateManifestFilename + }()).then(${P.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', + '', + qe + ? `${L.onChunksLoaded}.j = ${P.returningFunction( + 'installedChunks[chunkId] === 0', + 'chunkId' + )};` + : '// no on chunks loaded', + '', + Be || Ne + ? q.asString([ + '// install a JSONP callback for chunk loading', + `var webpackJsonpCallback = ${P.basicFunction( + 'parentChunkLoadingFunction, data', + [ + P.destructureArray( + ['chunkIds', 'moreModules', 'runtime'], + 'data' + ), + '// add "moreModules" to the modules object,', + '// then flag all "chunkIds" as loaded and fire callback', + 'var moduleId, chunkId, i = 0;', + `if(chunkIds.some(${P.returningFunction( + 'installedChunks[id] !== 0', + 'id' + )})) {`, + q.indent([ + 'for(moduleId in moreModules) {', + q.indent([ + `if(${L.hasOwnProperty}(moreModules, moduleId)) {`, + q.indent( + `${L.moduleFactories}[moduleId] = moreModules[moduleId];` + ), + '}', + ]), + '}', + `if(runtime) var result = runtime(${L.require});`, + ]), + '}', + 'if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);', + 'for(;i < chunkIds.length; i++) {', + q.indent([ + 'chunkId = chunkIds[i];', + `if(${L.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`, + q.indent('installedChunks[chunkId][0]();'), + '}', + 'installedChunks[chunkId] = 0;', + ]), + '}', + qe ? `return ${L.onChunksLoaded}(result);` : '', + ] + )}`, + '', + `var chunkLoadingGlobal = ${Qe} = ${Qe} || [];`, + 'chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));', + 'chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));', + ]) + : '// no jsonp function', + ]) + } + } + k.exports = JsonpChunkLoadingRuntimeModule + }, + 68511: function (k, v, E) { + 'use strict' + const P = E(39799) + const R = E(73126) + const L = E(97810) + class JsonpTemplatePlugin { + static getCompilationHooks(k) { + return L.getCompilationHooks(k) + } + apply(k) { + k.options.output.chunkLoading = 'jsonp' + new P().apply(k) + new R('jsonp').apply(k) + } + } + k.exports = JsonpTemplatePlugin + }, + 10463: function (k, v, E) { + 'use strict' + const P = E(73837) + const R = E(38537) + const L = E(98625) + const N = E(2170) + const q = E(47575) + const ae = E(27826) + const { + applyWebpackOptionsDefaults: le, + applyWebpackOptionsBaseDefaults: pe, + } = E(25801) + const { getNormalizedWebpackOptions: me } = E(47339) + const ye = E(74983) + const _e = E(20631) + const Ie = _e(() => E(11458)) + const createMultiCompiler = (k, v) => { + const E = k.map((k) => createCompiler(k)) + const P = new q(E, v) + for (const k of E) { + if (k.options.dependencies) { + P.setDependencies(k, k.options.dependencies) + } + } + return P + } + const createCompiler = (k) => { + const v = me(k) + pe(v) + const E = new N(v.context, v) + new ye({ infrastructureLogging: v.infrastructureLogging }).apply(E) + if (Array.isArray(v.plugins)) { + for (const k of v.plugins) { + if (typeof k === 'function') { + k.call(E, E) + } else { + k.apply(E) + } + } + } + le(v) + E.hooks.environment.call() + E.hooks.afterEnvironment.call() + new ae().process(v, E) + E.hooks.initialize.call() + return E + } + const asArray = (k) => (Array.isArray(k) ? Array.from(k) : [k]) + const webpack = (k, v) => { + const create = () => { + if (!asArray(k).every(R)) { + Ie()(L, k) + P.deprecate( + () => {}, + 'webpack bug: Pre-compiled schema reports error while real schema is happy. This has performance drawbacks.', + 'DEP_WEBPACK_PRE_COMPILED_SCHEMA_INVALID' + )() + } + let v + let E = false + let N + if (Array.isArray(k)) { + v = createMultiCompiler(k, k) + E = k.some((k) => k.watch) + N = k.map((k) => k.watchOptions || {}) + } else { + const P = k + v = createCompiler(P) + E = P.watch + N = P.watchOptions || {} + } + return { compiler: v, watch: E, watchOptions: N } + } + if (v) { + try { + const { compiler: k, watch: E, watchOptions: P } = create() + if (E) { + k.watch(P, v) + } else { + k.run((E, P) => { + k.close((k) => { + v(E || k, P) + }) + }) + } + return k + } catch (k) { + process.nextTick(() => v(k)) + return null + } + } else { + const { compiler: k, watch: v } = create() + if (v) { + P.deprecate( + () => {}, + "A 'callback' argument needs 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 k + } + } + k.exports = webpack + }, + 9366: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(31626) + const L = E(77567) + class ImportScriptsChunkLoadingPlugin { + apply(k) { + new R({ + chunkLoading: 'import-scripts', + asyncChunkLoading: true, + }).apply(k) + k.hooks.thisCompilation.tap( + 'ImportScriptsChunkLoadingPlugin', + (k) => { + const v = k.outputOptions.chunkLoading + const isEnabledForChunk = (k) => { + const E = k.getEntryOptions() + const P = E && E.chunkLoading !== undefined ? E.chunkLoading : v + return P === 'import-scripts' + } + const E = new WeakSet() + const handler = (v, R) => { + if (E.has(v)) return + E.add(v) + if (!isEnabledForChunk(v)) return + const N = !!k.outputOptions.trustedTypes + R.add(P.moduleFactoriesAddOnly) + R.add(P.hasOwnProperty) + if (N) { + R.add(P.createScriptUrl) + } + k.addRuntimeModule(v, new L(R, N)) + } + k.hooks.runtimeRequirementInTree + .for(P.ensureChunkHandlers) + .tap('ImportScriptsChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.hmrDownloadUpdateHandlers) + .tap('ImportScriptsChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.hmrDownloadManifest) + .tap('ImportScriptsChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.baseURI) + .tap('ImportScriptsChunkLoadingPlugin', handler) + k.hooks.runtimeRequirementInTree + .for(P.ensureChunkHandlers) + .tap('ImportScriptsChunkLoadingPlugin', (k, v) => { + if (!isEnabledForChunk(k)) return + v.add(P.publicPath) + v.add(P.getChunkScriptFilename) + }) + k.hooks.runtimeRequirementInTree + .for(P.hmrDownloadUpdateHandlers) + .tap('ImportScriptsChunkLoadingPlugin', (k, v) => { + if (!isEnabledForChunk(k)) return + v.add(P.publicPath) + v.add(P.getChunkUpdateScriptFilename) + v.add(P.moduleCache) + v.add(P.hmrModuleData) + v.add(P.moduleFactoriesAddOnly) + }) + k.hooks.runtimeRequirementInTree + .for(P.hmrDownloadManifest) + .tap('ImportScriptsChunkLoadingPlugin', (k, v) => { + if (!isEnabledForChunk(k)) return + v.add(P.publicPath) + v.add(P.getUpdateManifestFilename) + }) + } + ) + } + } + k.exports = ImportScriptsChunkLoadingPlugin + }, + 77567: function (k, v, E) { + 'use strict' + const P = E(56727) + const R = E(27462) + const L = E(95041) + const { getChunkFilenameTemplate: N, chunkHasJs: q } = E(89168) + const { getInitialChunkIds: ae } = E(73777) + const le = E(21751) + const { getUndoPath: pe } = E(65315) + class ImportScriptsChunkLoadingRuntimeModule extends R { + constructor(k, v) { + super('importScripts chunk loading', R.STAGE_ATTACH) + this.runtimeRequirements = k + this._withCreateScriptUrl = v + } + _generateBaseUri(k) { + const v = k.getEntryOptions() + if (v && v.baseUri) { + return `${P.baseURI} = ${JSON.stringify(v.baseUri)};` + } + const E = this.compilation.getPath( + N(k, this.compilation.outputOptions), + { chunk: k, contentHashType: 'javascript' } + ) + const R = pe(E, this.compilation.outputOptions.path, false) + return `${P.baseURI} = self.location + ${JSON.stringify( + R ? '/../' + R : '' + )};` + } + generate() { + const { + chunk: k, + chunkGraph: v, + compilation: { + runtimeTemplate: E, + outputOptions: { chunkLoadingGlobal: R, hotUpdateGlobal: N }, + }, + _withCreateScriptUrl: pe, + } = this + const me = E.globalObject + const ye = P.ensureChunkHandlers + const _e = this.runtimeRequirements.has(P.baseURI) + const Ie = this.runtimeRequirements.has(P.ensureChunkHandlers) + const Me = this.runtimeRequirements.has(P.hmrDownloadUpdateHandlers) + const Te = this.runtimeRequirements.has(P.hmrDownloadManifest) + const je = `${me}[${JSON.stringify(R)}]` + const Ne = le(v.getChunkConditionMap(k, q)) + const Be = ae(k, v, q) + const qe = Me ? `${P.hmrRuntimeStatePrefix}_importScripts` : undefined + return L.asString([ + _e ? this._generateBaseUri(k) : '// no baseURI', + '', + '// object to store loaded chunks', + '// "1" means "already loaded"', + `var installedChunks = ${qe ? `${qe} = ${qe} || ` : ''}{`, + L.indent( + Array.from(Be, (k) => `${JSON.stringify(k)}: 1`).join(',\n') + ), + '};', + '', + Ie + ? L.asString([ + '// importScripts chunk loading', + `var installChunk = ${E.basicFunction('data', [ + E.destructureArray( + ['chunkIds', 'moreModules', 'runtime'], + 'data' + ), + 'for(var moduleId in moreModules) {', + L.indent([ + `if(${P.hasOwnProperty}(moreModules, moduleId)) {`, + L.indent( + `${P.moduleFactories}[moduleId] = moreModules[moduleId];` + ), + '}', + ]), + '}', + `if(runtime) runtime(${P.require});`, + 'while(chunkIds.length)', + L.indent('installedChunks[chunkIds.pop()] = 1;'), + 'parentChunkLoadingFunction(data);', + ])};`, + ]) + : '// no chunk install function needed', + Ie + ? L.asString([ + `${ye}.i = ${E.basicFunction( + 'chunkId, promises', + Ne !== false + ? [ + '// "1" is the signal for "already loaded"', + 'if(!installedChunks[chunkId]) {', + L.indent([ + Ne === true + ? 'if(true) { // all chunks have JS' + : `if(${Ne('chunkId')}) {`, + L.indent( + `importScripts(${ + pe + ? `${P.createScriptUrl}(${P.publicPath} + ${P.getChunkScriptFilename}(chunkId))` + : `${P.publicPath} + ${P.getChunkScriptFilename}(chunkId)` + });` + ), + '}', + ]), + '}', + ] + : 'installedChunks[chunkId] = 1;' + )};`, + '', + `var chunkLoadingGlobal = ${je} = ${je} || [];`, + 'var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);', + 'chunkLoadingGlobal.push = installChunk;', + ]) + : '// no chunk loading', + '', + Me + ? L.asString([ + 'function loadUpdateChunk(chunkId, updatedModulesList) {', + L.indent([ + 'var success = false;', + `${me}[${JSON.stringify(N)}] = ${E.basicFunction( + '_, moreModules, runtime', + [ + 'for(var moduleId in moreModules) {', + L.indent([ + `if(${P.hasOwnProperty}(moreModules, moduleId)) {`, + L.indent([ + 'currentUpdate[moduleId] = moreModules[moduleId];', + 'if(updatedModulesList) updatedModulesList.push(moduleId);', + ]), + '}', + ]), + '}', + 'if(runtime) currentUpdateRuntime.push(runtime);', + 'success = true;', + ] + )};`, + '// start update chunk loading', + `importScripts(${ + pe + ? `${P.createScriptUrl}(${P.publicPath} + ${P.getChunkUpdateScriptFilename}(chunkId))` + : `${P.publicPath} + ${P.getChunkUpdateScriptFilename}(chunkId)` + });`, + 'if(!success) throw new Error("Loading update chunk failed for unknown reason");', + ]), + '}', + '', + L.getFunctionContent( + require('./JavascriptHotModuleReplacement.runtime.js') + ) + .replace(/\$key\$/g, 'importScrips') + .replace(/\$installedChunks\$/g, 'installedChunks') + .replace(/\$loadUpdateChunk\$/g, 'loadUpdateChunk') + .replace(/\$moduleCache\$/g, P.moduleCache) + .replace(/\$moduleFactories\$/g, P.moduleFactories) + .replace(/\$ensureChunkHandlers\$/g, P.ensureChunkHandlers) + .replace(/\$hasOwnProperty\$/g, P.hasOwnProperty) + .replace(/\$hmrModuleData\$/g, P.hmrModuleData) + .replace( + /\$hmrDownloadUpdateHandlers\$/g, + P.hmrDownloadUpdateHandlers + ) + .replace( + /\$hmrInvalidateModuleHandlers\$/g, + P.hmrInvalidateModuleHandlers + ), + ]) + : '// no HMR', + '', + Te + ? L.asString([ + `${P.hmrDownloadManifest} = ${E.basicFunction('', [ + 'if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");', + `return fetch(${P.publicPath} + ${ + P.getUpdateManifestFilename + }()).then(${E.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', + ]) + } + } + k.exports = ImportScriptsChunkLoadingRuntimeModule + }, + 20514: function (k, v, E) { + 'use strict' + const P = E(39799) + const R = E(73126) + class WebWorkerTemplatePlugin { + apply(k) { + k.options.output.chunkLoading = 'import-scripts' + new P().apply(k) + new R('import-scripts').apply(k) + } + } + k.exports = WebWorkerTemplatePlugin + }, + 38537: function (k) { + const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ + ;(k.exports = we), (k.exports['default'] = we) + const E = { + definitions: { + Amd: { anyOf: [{ enum: [!1] }, { type: 'object' }] }, + AmdContainer: { type: 'string', minLength: 1 }, + AssetFilterItemTypes: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !1 }, + { instanceof: 'Function' }, + ], + }, + AssetFilterTypes: { + anyOf: [ + { + type: 'array', + items: { + oneOf: [{ $ref: '#/definitions/AssetFilterItemTypes' }], + }, + }, + { $ref: '#/definitions/AssetFilterItemTypes' }, + ], + }, + AssetGeneratorDataUrl: { + anyOf: [ + { $ref: '#/definitions/AssetGeneratorDataUrlOptions' }, + { $ref: '#/definitions/AssetGeneratorDataUrlFunction' }, + ], + }, + AssetGeneratorDataUrlFunction: { instanceof: 'Function' }, + AssetGeneratorDataUrlOptions: { + type: 'object', + additionalProperties: !1, + properties: { + encoding: { enum: [!1, 'base64'] }, + mimetype: { type: 'string' }, + }, + }, + AssetGeneratorOptions: { + type: 'object', + additionalProperties: !1, + properties: { + dataUrl: { $ref: '#/definitions/AssetGeneratorDataUrl' }, + emit: { type: 'boolean' }, + filename: { $ref: '#/definitions/FilenameTemplate' }, + outputPath: { $ref: '#/definitions/AssetModuleOutputPath' }, + publicPath: { $ref: '#/definitions/RawPublicPath' }, + }, + }, + AssetInlineGeneratorOptions: { + type: 'object', + additionalProperties: !1, + properties: { + dataUrl: { $ref: '#/definitions/AssetGeneratorDataUrl' }, + }, + }, + AssetModuleFilename: { + anyOf: [ + { type: 'string', absolutePath: !1 }, + { instanceof: 'Function' }, + ], + }, + AssetModuleOutputPath: { + anyOf: [ + { type: 'string', absolutePath: !1 }, + { instanceof: 'Function' }, + ], + }, + AssetParserDataUrlFunction: { instanceof: 'Function' }, + AssetParserDataUrlOptions: { + type: 'object', + additionalProperties: !1, + properties: { maxSize: { type: 'number' } }, + }, + AssetParserOptions: { + type: 'object', + additionalProperties: !1, + properties: { + dataUrlCondition: { + anyOf: [ + { $ref: '#/definitions/AssetParserDataUrlOptions' }, + { $ref: '#/definitions/AssetParserDataUrlFunction' }, + ], + }, + }, + }, + AssetResourceGeneratorOptions: { + type: 'object', + additionalProperties: !1, + properties: { + emit: { type: 'boolean' }, + filename: { $ref: '#/definitions/FilenameTemplate' }, + outputPath: { $ref: '#/definitions/AssetModuleOutputPath' }, + publicPath: { $ref: '#/definitions/RawPublicPath' }, + }, + }, + AuxiliaryComment: { + anyOf: [ + { type: 'string' }, + { $ref: '#/definitions/LibraryCustomUmdCommentObject' }, + ], + }, + Bail: { type: 'boolean' }, + CacheOptions: { + anyOf: [ + { enum: [!0] }, + { $ref: '#/definitions/CacheOptionsNormalized' }, + ], + }, + CacheOptionsNormalized: { + anyOf: [ + { enum: [!1] }, + { $ref: '#/definitions/MemoryCacheOptions' }, + { $ref: '#/definitions/FileCacheOptions' }, + ], + }, + Charset: { type: 'boolean' }, + ChunkFilename: { + oneOf: [{ $ref: '#/definitions/FilenameTemplate' }], + }, + ChunkFormat: { + anyOf: [ + { enum: ['array-push', 'commonjs', 'module', !1] }, + { type: 'string' }, + ], + }, + ChunkLoadTimeout: { type: 'number' }, + ChunkLoading: { + anyOf: [ + { enum: [!1] }, + { $ref: '#/definitions/ChunkLoadingType' }, + ], + }, + ChunkLoadingGlobal: { type: 'string' }, + ChunkLoadingType: { + anyOf: [ + { + enum: [ + 'jsonp', + 'import-scripts', + 'require', + 'async-node', + 'import', + ], + }, + { type: 'string' }, + ], + }, + Clean: { + anyOf: [ + { type: 'boolean' }, + { $ref: '#/definitions/CleanOptions' }, + ], + }, + CleanOptions: { + type: 'object', + additionalProperties: !1, + properties: { + dry: { type: 'boolean' }, + keep: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !1 }, + { instanceof: 'Function' }, + ], + }, + }, + }, + CompareBeforeEmit: { type: 'boolean' }, + Context: { type: 'string', absolutePath: !0 }, + CrossOriginLoading: { enum: [!1, 'anonymous', 'use-credentials'] }, + CssChunkFilename: { + oneOf: [{ $ref: '#/definitions/FilenameTemplate' }], + }, + CssExperimentOptions: { + type: 'object', + additionalProperties: !1, + properties: { exportsOnly: { type: 'boolean' } }, + }, + CssFilename: { + oneOf: [{ $ref: '#/definitions/FilenameTemplate' }], + }, + CssGeneratorOptions: { + type: 'object', + additionalProperties: !1, + properties: {}, + }, + CssParserOptions: { + type: 'object', + additionalProperties: !1, + properties: {}, + }, + Dependencies: { type: 'array', items: { type: 'string' } }, + DevServer: { type: 'object' }, + DevTool: { + anyOf: [ + { enum: [!1, 'eval'] }, + { + type: 'string', + pattern: + '^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$', + }, + ], + }, + DevtoolFallbackModuleFilenameTemplate: { + anyOf: [{ type: 'string' }, { instanceof: 'Function' }], + }, + DevtoolModuleFilenameTemplate: { + anyOf: [{ type: 'string' }, { instanceof: 'Function' }], + }, + DevtoolNamespace: { type: 'string' }, + EmptyGeneratorOptions: { type: 'object', additionalProperties: !1 }, + EmptyParserOptions: { type: 'object', additionalProperties: !1 }, + EnabledChunkLoadingTypes: { + type: 'array', + items: { $ref: '#/definitions/ChunkLoadingType' }, + }, + EnabledLibraryTypes: { + type: 'array', + items: { $ref: '#/definitions/LibraryType' }, + }, + EnabledWasmLoadingTypes: { + type: 'array', + items: { $ref: '#/definitions/WasmLoadingType' }, + }, + Entry: { + anyOf: [ + { $ref: '#/definitions/EntryDynamic' }, + { $ref: '#/definitions/EntryStatic' }, + ], + }, + EntryDescription: { + type: 'object', + additionalProperties: !1, + properties: { + asyncChunks: { type: 'boolean' }, + baseUri: { type: 'string' }, + chunkLoading: { $ref: '#/definitions/ChunkLoading' }, + dependOn: { + anyOf: [ + { + type: 'array', + items: { type: 'string', minLength: 1 }, + minItems: 1, + uniqueItems: !0, + }, + { type: 'string', minLength: 1 }, + ], + }, + filename: { $ref: '#/definitions/EntryFilename' }, + import: { $ref: '#/definitions/EntryItem' }, + layer: { $ref: '#/definitions/Layer' }, + library: { $ref: '#/definitions/LibraryOptions' }, + publicPath: { $ref: '#/definitions/PublicPath' }, + runtime: { $ref: '#/definitions/EntryRuntime' }, + wasmLoading: { $ref: '#/definitions/WasmLoading' }, + }, + required: ['import'], + }, + EntryDescriptionNormalized: { + type: 'object', + additionalProperties: !1, + properties: { + asyncChunks: { type: 'boolean' }, + baseUri: { type: 'string' }, + chunkLoading: { $ref: '#/definitions/ChunkLoading' }, + dependOn: { + type: 'array', + items: { type: 'string', minLength: 1 }, + minItems: 1, + uniqueItems: !0, + }, + filename: { $ref: '#/definitions/Filename' }, + import: { + type: 'array', + items: { type: 'string', minLength: 1 }, + minItems: 1, + uniqueItems: !0, + }, + layer: { $ref: '#/definitions/Layer' }, + library: { $ref: '#/definitions/LibraryOptions' }, + publicPath: { $ref: '#/definitions/PublicPath' }, + runtime: { $ref: '#/definitions/EntryRuntime' }, + wasmLoading: { $ref: '#/definitions/WasmLoading' }, + }, + }, + EntryDynamic: { instanceof: 'Function' }, + EntryDynamicNormalized: { instanceof: 'Function' }, + EntryFilename: { + oneOf: [{ $ref: '#/definitions/FilenameTemplate' }], + }, + EntryItem: { + anyOf: [ + { + type: 'array', + items: { type: 'string', minLength: 1 }, + minItems: 1, + uniqueItems: !0, + }, + { type: 'string', minLength: 1 }, + ], + }, + EntryNormalized: { + anyOf: [ + { $ref: '#/definitions/EntryDynamicNormalized' }, + { $ref: '#/definitions/EntryStaticNormalized' }, + ], + }, + EntryObject: { + type: 'object', + additionalProperties: { + anyOf: [ + { $ref: '#/definitions/EntryItem' }, + { $ref: '#/definitions/EntryDescription' }, + ], + }, + }, + EntryRuntime: { + anyOf: [{ enum: [!1] }, { type: 'string', minLength: 1 }], + }, + EntryStatic: { + anyOf: [ + { $ref: '#/definitions/EntryObject' }, + { $ref: '#/definitions/EntryUnnamed' }, + ], + }, + EntryStaticNormalized: { + type: 'object', + additionalProperties: { + oneOf: [{ $ref: '#/definitions/EntryDescriptionNormalized' }], + }, + }, + EntryUnnamed: { oneOf: [{ $ref: '#/definitions/EntryItem' }] }, + Environment: { + type: 'object', + additionalProperties: !1, + properties: { + arrowFunction: { type: 'boolean' }, + bigIntLiteral: { type: 'boolean' }, + const: { type: 'boolean' }, + destructuring: { type: 'boolean' }, + dynamicImport: { type: 'boolean' }, + dynamicImportInWorker: { type: 'boolean' }, + forOf: { type: 'boolean' }, + globalThis: { type: 'boolean' }, + module: { type: 'boolean' }, + optionalChaining: { type: 'boolean' }, + templateLiteral: { type: 'boolean' }, + }, + }, + Experiments: { + type: 'object', + additionalProperties: !1, + properties: { + asyncWebAssembly: { type: 'boolean' }, + backCompat: { type: 'boolean' }, + buildHttp: { + anyOf: [ + { $ref: '#/definitions/HttpUriAllowedUris' }, + { $ref: '#/definitions/HttpUriOptions' }, + ], + }, + cacheUnaffected: { type: 'boolean' }, + css: { + anyOf: [ + { type: 'boolean' }, + { $ref: '#/definitions/CssExperimentOptions' }, + ], + }, + futureDefaults: { type: 'boolean' }, + layers: { type: 'boolean' }, + lazyCompilation: { + anyOf: [ + { type: 'boolean' }, + { $ref: '#/definitions/LazyCompilationOptions' }, + ], + }, + outputModule: { type: 'boolean' }, + syncWebAssembly: { type: 'boolean' }, + topLevelAwait: { type: 'boolean' }, + }, + }, + ExperimentsCommon: { + type: 'object', + additionalProperties: !1, + properties: { + asyncWebAssembly: { type: 'boolean' }, + backCompat: { type: 'boolean' }, + cacheUnaffected: { type: 'boolean' }, + futureDefaults: { type: 'boolean' }, + layers: { type: 'boolean' }, + outputModule: { type: 'boolean' }, + syncWebAssembly: { type: 'boolean' }, + topLevelAwait: { type: 'boolean' }, + }, + }, + ExperimentsNormalized: { + type: 'object', + additionalProperties: !1, + properties: { + asyncWebAssembly: { type: 'boolean' }, + backCompat: { type: 'boolean' }, + buildHttp: { + oneOf: [{ $ref: '#/definitions/HttpUriOptions' }], + }, + cacheUnaffected: { type: 'boolean' }, + css: { + anyOf: [ + { enum: [!1] }, + { $ref: '#/definitions/CssExperimentOptions' }, + ], + }, + futureDefaults: { type: 'boolean' }, + layers: { type: 'boolean' }, + lazyCompilation: { + anyOf: [ + { enum: [!1] }, + { $ref: '#/definitions/LazyCompilationOptions' }, + ], + }, + outputModule: { type: 'boolean' }, + syncWebAssembly: { type: 'boolean' }, + topLevelAwait: { type: 'boolean' }, + }, + }, + Extends: { + anyOf: [ + { type: 'array', items: { $ref: '#/definitions/ExtendsItem' } }, + { $ref: '#/definitions/ExtendsItem' }, + ], + }, + ExtendsItem: { type: 'string' }, + ExternalItem: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string' }, + { + type: 'object', + additionalProperties: { + $ref: '#/definitions/ExternalItemValue', + }, + properties: { + byLayer: { + anyOf: [ + { + type: 'object', + additionalProperties: { + $ref: '#/definitions/ExternalItem', + }, + }, + { instanceof: 'Function' }, + ], + }, + }, + }, + { instanceof: 'Function' }, + ], + }, + ExternalItemFunctionData: { + type: 'object', + additionalProperties: !1, + properties: { + context: { type: 'string' }, + contextInfo: { type: 'object' }, + dependencyType: { type: 'string' }, + getResolve: { instanceof: 'Function' }, + request: { type: 'string' }, + }, + }, + ExternalItemValue: { + anyOf: [ + { type: 'array', items: { type: 'string', minLength: 1 } }, + { type: 'boolean' }, + { type: 'string' }, + { type: 'object' }, + ], + }, + Externals: { + anyOf: [ + { + type: 'array', + items: { $ref: '#/definitions/ExternalItem' }, + }, + { $ref: '#/definitions/ExternalItem' }, + ], + }, + ExternalsPresets: { + type: 'object', + additionalProperties: !1, + properties: { + electron: { type: 'boolean' }, + electronMain: { type: 'boolean' }, + electronPreload: { type: 'boolean' }, + electronRenderer: { type: 'boolean' }, + node: { type: 'boolean' }, + nwjs: { type: 'boolean' }, + web: { type: 'boolean' }, + webAsync: { type: 'boolean' }, + }, + }, + ExternalsType: { + enum: [ + 'var', + 'module', + 'assign', + 'this', + 'window', + 'self', + 'global', + 'commonjs', + 'commonjs2', + 'commonjs-module', + 'commonjs-static', + 'amd', + 'amd-require', + 'umd', + 'umd2', + 'jsonp', + 'system', + 'promise', + 'import', + 'script', + 'node-commonjs', + ], + }, + FileCacheOptions: { + type: 'object', + additionalProperties: !1, + properties: { + allowCollectingMemory: { type: 'boolean' }, + buildDependencies: { + type: 'object', + additionalProperties: { + type: 'array', + items: { type: 'string', minLength: 1 }, + }, + }, + cacheDirectory: { type: 'string', absolutePath: !0 }, + cacheLocation: { type: 'string', absolutePath: !0 }, + compression: { enum: [!1, 'gzip', 'brotli'] }, + hashAlgorithm: { type: 'string' }, + idleTimeout: { type: 'number', minimum: 0 }, + idleTimeoutAfterLargeChanges: { type: 'number', minimum: 0 }, + idleTimeoutForInitialStore: { type: 'number', minimum: 0 }, + immutablePaths: { + type: 'array', + items: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !0, minLength: 1 }, + ], + }, + }, + managedPaths: { + type: 'array', + items: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !0, minLength: 1 }, + ], + }, + }, + maxAge: { type: 'number', minimum: 0 }, + maxMemoryGenerations: { type: 'number', minimum: 0 }, + memoryCacheUnaffected: { type: 'boolean' }, + name: { type: 'string' }, + profile: { type: 'boolean' }, + readonly: { type: 'boolean' }, + store: { enum: ['pack'] }, + type: { enum: ['filesystem'] }, + version: { type: 'string' }, + }, + required: ['type'], + }, + Filename: { oneOf: [{ $ref: '#/definitions/FilenameTemplate' }] }, + FilenameTemplate: { + anyOf: [ + { type: 'string', absolutePath: !1, minLength: 1 }, + { instanceof: 'Function' }, + ], + }, + FilterItemTypes: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !1 }, + { instanceof: 'Function' }, + ], + }, + FilterTypes: { + anyOf: [ + { + type: 'array', + items: { oneOf: [{ $ref: '#/definitions/FilterItemTypes' }] }, + }, + { $ref: '#/definitions/FilterItemTypes' }, + ], + }, + GeneratorOptionsByModuleType: { + type: 'object', + additionalProperties: { + type: 'object', + additionalProperties: !0, + }, + properties: { + asset: { $ref: '#/definitions/AssetGeneratorOptions' }, + 'asset/inline': { + $ref: '#/definitions/AssetInlineGeneratorOptions', + }, + 'asset/resource': { + $ref: '#/definitions/AssetResourceGeneratorOptions', + }, + javascript: { $ref: '#/definitions/EmptyGeneratorOptions' }, + 'javascript/auto': { + $ref: '#/definitions/EmptyGeneratorOptions', + }, + 'javascript/dynamic': { + $ref: '#/definitions/EmptyGeneratorOptions', + }, + 'javascript/esm': { + $ref: '#/definitions/EmptyGeneratorOptions', + }, + }, + }, + GlobalObject: { type: 'string', minLength: 1 }, + HashDigest: { type: 'string' }, + HashDigestLength: { type: 'number', minimum: 1 }, + HashFunction: { + anyOf: [ + { type: 'string', minLength: 1 }, + { instanceof: 'Function' }, + ], + }, + HashSalt: { type: 'string', minLength: 1 }, + HotUpdateChunkFilename: { type: 'string', absolutePath: !1 }, + HotUpdateGlobal: { type: 'string' }, + HotUpdateMainFilename: { type: 'string', absolutePath: !1 }, + HttpUriAllowedUris: { + oneOf: [{ $ref: '#/definitions/HttpUriOptionsAllowedUris' }], + }, + HttpUriOptions: { + type: 'object', + additionalProperties: !1, + properties: { + allowedUris: { + $ref: '#/definitions/HttpUriOptionsAllowedUris', + }, + cacheLocation: { + anyOf: [{ enum: [!1] }, { type: 'string', absolutePath: !0 }], + }, + frozen: { type: 'boolean' }, + lockfileLocation: { type: 'string', absolutePath: !0 }, + proxy: { type: 'string' }, + upgrade: { type: 'boolean' }, + }, + required: ['allowedUris'], + }, + HttpUriOptionsAllowedUris: { + type: 'array', + items: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', pattern: '^https?://' }, + { instanceof: 'Function' }, + ], + }, + }, + IgnoreWarnings: { + type: 'array', + items: { + anyOf: [ + { instanceof: 'RegExp' }, + { + type: 'object', + additionalProperties: !1, + properties: { + file: { instanceof: 'RegExp' }, + message: { instanceof: 'RegExp' }, + module: { instanceof: 'RegExp' }, + }, + }, + { instanceof: 'Function' }, + ], + }, + }, + IgnoreWarningsNormalized: { + type: 'array', + items: { instanceof: 'Function' }, + }, + Iife: { type: 'boolean' }, + ImportFunctionName: { type: 'string' }, + ImportMetaName: { type: 'string' }, + InfrastructureLogging: { + type: 'object', + additionalProperties: !1, + properties: { + appendOnly: { type: 'boolean' }, + colors: { type: 'boolean' }, + console: {}, + debug: { + anyOf: [ + { type: 'boolean' }, + { $ref: '#/definitions/FilterTypes' }, + ], + }, + level: { + enum: ['none', 'error', 'warn', 'info', 'log', 'verbose'], + }, + stream: {}, + }, + }, + JavascriptParserOptions: { + type: 'object', + additionalProperties: !0, + properties: { + amd: { $ref: '#/definitions/Amd' }, + browserify: { type: 'boolean' }, + commonjs: { type: 'boolean' }, + commonjsMagicComments: { type: 'boolean' }, + createRequire: { + anyOf: [{ type: 'boolean' }, { type: 'string' }], + }, + dynamicImportMode: { + enum: ['eager', 'weak', 'lazy', 'lazy-once'], + }, + dynamicImportPrefetch: { + anyOf: [{ type: 'number' }, { type: 'boolean' }], + }, + dynamicImportPreload: { + anyOf: [{ type: 'number' }, { type: 'boolean' }], + }, + exportsPresence: { enum: ['error', 'warn', 'auto', !1] }, + exprContextCritical: { type: 'boolean' }, + exprContextRecursive: { type: 'boolean' }, + exprContextRegExp: { + anyOf: [{ instanceof: 'RegExp' }, { type: 'boolean' }], + }, + exprContextRequest: { type: 'string' }, + harmony: { type: 'boolean' }, + import: { type: 'boolean' }, + importExportsPresence: { enum: ['error', 'warn', 'auto', !1] }, + importMeta: { type: 'boolean' }, + importMetaContext: { type: 'boolean' }, + node: { $ref: '#/definitions/Node' }, + reexportExportsPresence: { + enum: ['error', 'warn', 'auto', !1], + }, + requireContext: { type: 'boolean' }, + requireEnsure: { type: 'boolean' }, + requireInclude: { type: 'boolean' }, + requireJs: { type: 'boolean' }, + strictExportPresence: { type: 'boolean' }, + strictThisContextOnImports: { type: 'boolean' }, + system: { type: 'boolean' }, + unknownContextCritical: { type: 'boolean' }, + unknownContextRecursive: { type: 'boolean' }, + unknownContextRegExp: { + anyOf: [{ instanceof: 'RegExp' }, { type: 'boolean' }], + }, + unknownContextRequest: { type: 'string' }, + url: { anyOf: [{ enum: ['relative'] }, { type: 'boolean' }] }, + worker: { + anyOf: [ + { type: 'array', items: { type: 'string', minLength: 1 } }, + { type: 'boolean' }, + ], + }, + wrappedContextCritical: { type: 'boolean' }, + wrappedContextRecursive: { type: 'boolean' }, + wrappedContextRegExp: { instanceof: 'RegExp' }, + }, + }, + Layer: { + anyOf: [{ enum: [null] }, { type: 'string', minLength: 1 }], + }, + LazyCompilationDefaultBackendOptions: { + type: 'object', + additionalProperties: !1, + properties: { + client: { type: 'string' }, + listen: { + anyOf: [ + { type: 'number' }, + { + type: 'object', + additionalProperties: !0, + properties: { + host: { type: 'string' }, + port: { type: 'number' }, + }, + }, + { instanceof: 'Function' }, + ], + }, + protocol: { enum: ['http', 'https'] }, + server: { + anyOf: [ + { + type: 'object', + additionalProperties: !0, + properties: {}, + }, + { instanceof: 'Function' }, + ], + }, + }, + }, + LazyCompilationOptions: { + type: 'object', + additionalProperties: !1, + properties: { + backend: { + anyOf: [ + { instanceof: 'Function' }, + { + $ref: '#/definitions/LazyCompilationDefaultBackendOptions', + }, + ], + }, + entries: { type: 'boolean' }, + imports: { type: 'boolean' }, + test: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string' }, + { instanceof: 'Function' }, + ], + }, + }, + }, + Library: { + anyOf: [ + { $ref: '#/definitions/LibraryName' }, + { $ref: '#/definitions/LibraryOptions' }, + ], + }, + LibraryCustomUmdCommentObject: { + type: 'object', + additionalProperties: !1, + properties: { + amd: { type: 'string' }, + commonjs: { type: 'string' }, + commonjs2: { type: 'string' }, + root: { type: 'string' }, + }, + }, + LibraryCustomUmdObject: { + type: 'object', + additionalProperties: !1, + properties: { + amd: { type: 'string', minLength: 1 }, + commonjs: { type: 'string', minLength: 1 }, + root: { + anyOf: [ + { type: 'array', items: { type: 'string', minLength: 1 } }, + { type: 'string', minLength: 1 }, + ], + }, + }, + }, + LibraryExport: { + anyOf: [ + { type: 'array', items: { type: 'string', minLength: 1 } }, + { type: 'string', minLength: 1 }, + ], + }, + LibraryName: { + anyOf: [ + { + type: 'array', + items: { type: 'string', minLength: 1 }, + minItems: 1, + }, + { type: 'string', minLength: 1 }, + { $ref: '#/definitions/LibraryCustomUmdObject' }, + ], + }, + LibraryOptions: { + type: 'object', + additionalProperties: !1, + properties: { + amdContainer: { $ref: '#/definitions/AmdContainer' }, + auxiliaryComment: { $ref: '#/definitions/AuxiliaryComment' }, + export: { $ref: '#/definitions/LibraryExport' }, + name: { $ref: '#/definitions/LibraryName' }, + type: { $ref: '#/definitions/LibraryType' }, + umdNamedDefine: { $ref: '#/definitions/UmdNamedDefine' }, + }, + required: ['type'], + }, + LibraryType: { + anyOf: [ + { + enum: [ + 'var', + 'module', + 'assign', + 'assign-properties', + 'this', + 'window', + 'self', + 'global', + 'commonjs', + 'commonjs2', + 'commonjs-module', + 'commonjs-static', + 'amd', + 'amd-require', + 'umd', + 'umd2', + 'jsonp', + 'system', + ], + }, + { type: 'string' }, + ], + }, + Loader: { type: 'object' }, + MemoryCacheOptions: { + type: 'object', + additionalProperties: !1, + properties: { + cacheUnaffected: { type: 'boolean' }, + maxGenerations: { type: 'number', minimum: 1 }, + type: { enum: ['memory'] }, + }, + required: ['type'], + }, + Mode: { enum: ['development', 'production', 'none'] }, + ModuleFilterItemTypes: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !1 }, + { instanceof: 'Function' }, + ], + }, + ModuleFilterTypes: { + anyOf: [ + { + type: 'array', + items: { + oneOf: [{ $ref: '#/definitions/ModuleFilterItemTypes' }], + }, + }, + { $ref: '#/definitions/ModuleFilterItemTypes' }, + ], + }, + ModuleOptions: { + type: 'object', + additionalProperties: !1, + properties: { + defaultRules: { + oneOf: [{ $ref: '#/definitions/RuleSetRules' }], + }, + exprContextCritical: { type: 'boolean' }, + exprContextRecursive: { type: 'boolean' }, + exprContextRegExp: { + anyOf: [{ instanceof: 'RegExp' }, { type: 'boolean' }], + }, + exprContextRequest: { type: 'string' }, + generator: { + $ref: '#/definitions/GeneratorOptionsByModuleType', + }, + noParse: { $ref: '#/definitions/NoParse' }, + parser: { $ref: '#/definitions/ParserOptionsByModuleType' }, + rules: { oneOf: [{ $ref: '#/definitions/RuleSetRules' }] }, + strictExportPresence: { type: 'boolean' }, + strictThisContextOnImports: { type: 'boolean' }, + unknownContextCritical: { type: 'boolean' }, + unknownContextRecursive: { type: 'boolean' }, + unknownContextRegExp: { + anyOf: [{ instanceof: 'RegExp' }, { type: 'boolean' }], + }, + unknownContextRequest: { type: 'string' }, + unsafeCache: { + anyOf: [{ type: 'boolean' }, { instanceof: 'Function' }], + }, + wrappedContextCritical: { type: 'boolean' }, + wrappedContextRecursive: { type: 'boolean' }, + wrappedContextRegExp: { instanceof: 'RegExp' }, + }, + }, + ModuleOptionsNormalized: { + type: 'object', + additionalProperties: !1, + properties: { + defaultRules: { + oneOf: [{ $ref: '#/definitions/RuleSetRules' }], + }, + generator: { + $ref: '#/definitions/GeneratorOptionsByModuleType', + }, + noParse: { $ref: '#/definitions/NoParse' }, + parser: { $ref: '#/definitions/ParserOptionsByModuleType' }, + rules: { oneOf: [{ $ref: '#/definitions/RuleSetRules' }] }, + unsafeCache: { + anyOf: [{ type: 'boolean' }, { instanceof: 'Function' }], + }, + }, + required: ['defaultRules', 'generator', 'parser', 'rules'], + }, + Name: { type: 'string' }, + NoParse: { + anyOf: [ + { + type: 'array', + items: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !0 }, + { instanceof: 'Function' }, + ], + }, + minItems: 1, + }, + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !0 }, + { instanceof: 'Function' }, + ], + }, + Node: { + anyOf: [{ enum: [!1] }, { $ref: '#/definitions/NodeOptions' }], + }, + NodeOptions: { + type: 'object', + additionalProperties: !1, + properties: { + __dirname: { enum: [!1, !0, 'warn-mock', 'mock', 'eval-only'] }, + __filename: { + enum: [!1, !0, 'warn-mock', 'mock', 'eval-only'], + }, + global: { enum: [!1, !0, 'warn'] }, + }, + }, + Optimization: { + type: 'object', + additionalProperties: !1, + properties: { + checkWasmTypes: { type: 'boolean' }, + chunkIds: { + enum: [ + 'natural', + 'named', + 'deterministic', + 'size', + 'total-size', + !1, + ], + }, + concatenateModules: { type: 'boolean' }, + emitOnErrors: { type: 'boolean' }, + flagIncludedChunks: { type: 'boolean' }, + innerGraph: { type: 'boolean' }, + mangleExports: { + anyOf: [ + { enum: ['size', 'deterministic'] }, + { type: 'boolean' }, + ], + }, + mangleWasmImports: { type: 'boolean' }, + mergeDuplicateChunks: { type: 'boolean' }, + minimize: { type: 'boolean' }, + minimizer: { + type: 'array', + items: { + anyOf: [ + { enum: ['...'] }, + { $ref: '#/definitions/WebpackPluginInstance' }, + { $ref: '#/definitions/WebpackPluginFunction' }, + ], + }, + }, + moduleIds: { + enum: [ + 'natural', + 'named', + 'hashed', + 'deterministic', + 'size', + !1, + ], + }, + noEmitOnErrors: { type: 'boolean' }, + nodeEnv: { anyOf: [{ enum: [!1] }, { type: 'string' }] }, + portableRecords: { type: 'boolean' }, + providedExports: { type: 'boolean' }, + realContentHash: { type: 'boolean' }, + removeAvailableModules: { type: 'boolean' }, + removeEmptyChunks: { type: 'boolean' }, + runtimeChunk: { + $ref: '#/definitions/OptimizationRuntimeChunk', + }, + sideEffects: { + anyOf: [{ enum: ['flag'] }, { type: 'boolean' }], + }, + splitChunks: { + anyOf: [ + { enum: [!1] }, + { $ref: '#/definitions/OptimizationSplitChunksOptions' }, + ], + }, + usedExports: { + anyOf: [{ enum: ['global'] }, { type: 'boolean' }], + }, + }, + }, + OptimizationRuntimeChunk: { + anyOf: [ + { enum: ['single', 'multiple'] }, + { type: 'boolean' }, + { + type: 'object', + additionalProperties: !1, + properties: { + name: { + anyOf: [{ type: 'string' }, { instanceof: 'Function' }], + }, + }, + }, + ], + }, + OptimizationRuntimeChunkNormalized: { + anyOf: [ + { enum: [!1] }, + { + type: 'object', + additionalProperties: !1, + properties: { name: { instanceof: 'Function' } }, + }, + ], + }, + OptimizationSplitChunksCacheGroup: { + type: 'object', + additionalProperties: !1, + properties: { + automaticNameDelimiter: { type: 'string', minLength: 1 }, + chunks: { + anyOf: [ + { enum: ['initial', 'async', 'all'] }, + { instanceof: 'RegExp' }, + { instanceof: 'Function' }, + ], + }, + enforce: { type: 'boolean' }, + enforceSizeThreshold: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + filename: { + anyOf: [ + { type: 'string', absolutePath: !1, minLength: 1 }, + { instanceof: 'Function' }, + ], + }, + idHint: { type: 'string' }, + layer: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string' }, + { instanceof: 'Function' }, + ], + }, + maxAsyncRequests: { type: 'number', minimum: 1 }, + maxAsyncSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + maxInitialRequests: { type: 'number', minimum: 1 }, + maxInitialSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + maxSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + minChunks: { type: 'number', minimum: 1 }, + minRemainingSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + minSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + minSizeReduction: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + name: { + anyOf: [ + { enum: [!1] }, + { type: 'string' }, + { instanceof: 'Function' }, + ], + }, + priority: { type: 'number' }, + reuseExistingChunk: { type: 'boolean' }, + test: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string' }, + { instanceof: 'Function' }, + ], + }, + type: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string' }, + { instanceof: 'Function' }, + ], + }, + usedExports: { type: 'boolean' }, + }, + }, + OptimizationSplitChunksGetCacheGroups: { instanceof: 'Function' }, + OptimizationSplitChunksOptions: { + type: 'object', + additionalProperties: !1, + properties: { + automaticNameDelimiter: { type: 'string', minLength: 1 }, + cacheGroups: { + type: 'object', + additionalProperties: { + anyOf: [ + { enum: [!1] }, + { instanceof: 'RegExp' }, + { type: 'string' }, + { instanceof: 'Function' }, + { + $ref: '#/definitions/OptimizationSplitChunksCacheGroup', + }, + ], + }, + not: { + type: 'object', + additionalProperties: !0, + properties: { + test: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string' }, + { instanceof: 'Function' }, + ], + }, + }, + required: ['test'], + }, + }, + chunks: { + anyOf: [ + { enum: ['initial', 'async', 'all'] }, + { instanceof: 'RegExp' }, + { instanceof: 'Function' }, + ], + }, + defaultSizeTypes: { + type: 'array', + items: { type: 'string' }, + minItems: 1, + }, + enforceSizeThreshold: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + fallbackCacheGroup: { + type: 'object', + additionalProperties: !1, + properties: { + automaticNameDelimiter: { type: 'string', minLength: 1 }, + chunks: { + anyOf: [ + { enum: ['initial', 'async', 'all'] }, + { instanceof: 'RegExp' }, + { instanceof: 'Function' }, + ], + }, + maxAsyncSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + maxInitialSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + maxSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + minSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + minSizeReduction: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + }, + }, + filename: { + anyOf: [ + { type: 'string', absolutePath: !1, minLength: 1 }, + { instanceof: 'Function' }, + ], + }, + hidePathInfo: { type: 'boolean' }, + maxAsyncRequests: { type: 'number', minimum: 1 }, + maxAsyncSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + maxInitialRequests: { type: 'number', minimum: 1 }, + maxInitialSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + maxSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + minChunks: { type: 'number', minimum: 1 }, + minRemainingSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + minSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + minSizeReduction: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + name: { + anyOf: [ + { enum: [!1] }, + { type: 'string' }, + { instanceof: 'Function' }, + ], + }, + usedExports: { type: 'boolean' }, + }, + }, + OptimizationSplitChunksSizes: { + anyOf: [ + { type: 'number', minimum: 0 }, + { type: 'object', additionalProperties: { type: 'number' } }, + ], + }, + Output: { + type: 'object', + additionalProperties: !1, + properties: { + amdContainer: { + oneOf: [{ $ref: '#/definitions/AmdContainer' }], + }, + assetModuleFilename: { + $ref: '#/definitions/AssetModuleFilename', + }, + asyncChunks: { type: 'boolean' }, + auxiliaryComment: { + 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', + }, + clean: { $ref: '#/definitions/Clean' }, + compareBeforeEmit: { $ref: '#/definitions/CompareBeforeEmit' }, + crossOriginLoading: { + $ref: '#/definitions/CrossOriginLoading', + }, + cssChunkFilename: { $ref: '#/definitions/CssChunkFilename' }, + cssFilename: { $ref: '#/definitions/CssFilename' }, + 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', + }, + ignoreBrowserWarnings: { type: 'boolean' }, + iife: { $ref: '#/definitions/Iife' }, + importFunctionName: { + $ref: '#/definitions/ImportFunctionName', + }, + importMetaName: { $ref: '#/definitions/ImportMetaName' }, + library: { $ref: '#/definitions/Library' }, + libraryExport: { + oneOf: [{ $ref: '#/definitions/LibraryExport' }], + }, + libraryTarget: { + 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' }, + strictModuleErrorHandling: { + $ref: '#/definitions/StrictModuleErrorHandling', + }, + strictModuleExceptionHandling: { + $ref: '#/definitions/StrictModuleExceptionHandling', + }, + trustedTypes: { + anyOf: [ + { enum: [!0] }, + { type: 'string', minLength: 1 }, + { $ref: '#/definitions/TrustedTypes' }, + ], + }, + umdNamedDefine: { + oneOf: [{ $ref: '#/definitions/UmdNamedDefine' }], + }, + uniqueName: { $ref: '#/definitions/UniqueName' }, + wasmLoading: { $ref: '#/definitions/WasmLoading' }, + webassemblyModuleFilename: { + $ref: '#/definitions/WebassemblyModuleFilename', + }, + workerChunkLoading: { $ref: '#/definitions/ChunkLoading' }, + workerPublicPath: { $ref: '#/definitions/WorkerPublicPath' }, + workerWasmLoading: { $ref: '#/definitions/WasmLoading' }, + }, + }, + OutputModule: { type: 'boolean' }, + OutputNormalized: { + type: 'object', + additionalProperties: !1, + properties: { + assetModuleFilename: { + $ref: '#/definitions/AssetModuleFilename', + }, + asyncChunks: { type: 'boolean' }, + charset: { $ref: '#/definitions/Charset' }, + chunkFilename: { $ref: '#/definitions/ChunkFilename' }, + chunkFormat: { $ref: '#/definitions/ChunkFormat' }, + chunkLoadTimeout: { $ref: '#/definitions/ChunkLoadTimeout' }, + chunkLoading: { $ref: '#/definitions/ChunkLoading' }, + chunkLoadingGlobal: { + $ref: '#/definitions/ChunkLoadingGlobal', + }, + clean: { $ref: '#/definitions/Clean' }, + compareBeforeEmit: { $ref: '#/definitions/CompareBeforeEmit' }, + crossOriginLoading: { + $ref: '#/definitions/CrossOriginLoading', + }, + cssChunkFilename: { $ref: '#/definitions/CssChunkFilename' }, + cssFilename: { $ref: '#/definitions/CssFilename' }, + 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', + }, + ignoreBrowserWarnings: { type: 'boolean' }, + 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' }, + strictModuleErrorHandling: { + $ref: '#/definitions/StrictModuleErrorHandling', + }, + strictModuleExceptionHandling: { + $ref: '#/definitions/StrictModuleExceptionHandling', + }, + trustedTypes: { $ref: '#/definitions/TrustedTypes' }, + uniqueName: { $ref: '#/definitions/UniqueName' }, + wasmLoading: { $ref: '#/definitions/WasmLoading' }, + webassemblyModuleFilename: { + $ref: '#/definitions/WebassemblyModuleFilename', + }, + workerChunkLoading: { $ref: '#/definitions/ChunkLoading' }, + workerPublicPath: { $ref: '#/definitions/WorkerPublicPath' }, + workerWasmLoading: { $ref: '#/definitions/WasmLoading' }, + }, + }, + Parallelism: { type: 'number', minimum: 1 }, + ParserOptionsByModuleType: { + type: 'object', + additionalProperties: { + type: 'object', + additionalProperties: !0, + }, + properties: { + asset: { $ref: '#/definitions/AssetParserOptions' }, + 'asset/inline': { $ref: '#/definitions/EmptyParserOptions' }, + 'asset/resource': { $ref: '#/definitions/EmptyParserOptions' }, + 'asset/source': { $ref: '#/definitions/EmptyParserOptions' }, + javascript: { $ref: '#/definitions/JavascriptParserOptions' }, + 'javascript/auto': { + $ref: '#/definitions/JavascriptParserOptions', + }, + 'javascript/dynamic': { + $ref: '#/definitions/JavascriptParserOptions', + }, + 'javascript/esm': { + $ref: '#/definitions/JavascriptParserOptions', + }, + }, + }, + Path: { type: 'string', absolutePath: !0 }, + Pathinfo: { anyOf: [{ enum: ['verbose'] }, { type: 'boolean' }] }, + Performance: { + anyOf: [ + { enum: [!1] }, + { $ref: '#/definitions/PerformanceOptions' }, + ], + }, + PerformanceOptions: { + type: 'object', + additionalProperties: !1, + properties: { + assetFilter: { instanceof: 'Function' }, + hints: { enum: [!1, 'warning', 'error'] }, + maxAssetSize: { type: 'number' }, + maxEntrypointSize: { type: 'number' }, + }, + }, + Plugins: { + type: 'array', + items: { + anyOf: [ + { $ref: '#/definitions/WebpackPluginInstance' }, + { $ref: '#/definitions/WebpackPluginFunction' }, + ], + }, + }, + Profile: { type: 'boolean' }, + PublicPath: { + anyOf: [ + { enum: ['auto'] }, + { $ref: '#/definitions/RawPublicPath' }, + ], + }, + RawPublicPath: { + anyOf: [{ type: 'string' }, { instanceof: 'Function' }], + }, + RecordsInputPath: { + anyOf: [{ enum: [!1] }, { type: 'string', absolutePath: !0 }], + }, + RecordsOutputPath: { + anyOf: [{ enum: [!1] }, { type: 'string', absolutePath: !0 }], + }, + RecordsPath: { + anyOf: [{ enum: [!1] }, { type: 'string', absolutePath: !0 }], + }, + Resolve: { oneOf: [{ $ref: '#/definitions/ResolveOptions' }] }, + ResolveAlias: { + anyOf: [ + { + type: 'array', + items: { + type: 'object', + additionalProperties: !1, + properties: { + alias: { + anyOf: [ + { + type: 'array', + items: { type: 'string', minLength: 1 }, + }, + { enum: [!1] }, + { type: 'string', minLength: 1 }, + ], + }, + name: { type: 'string' }, + onlyModule: { type: 'boolean' }, + }, + required: ['alias', 'name'], + }, + }, + { + type: 'object', + additionalProperties: { + anyOf: [ + { + type: 'array', + items: { type: 'string', minLength: 1 }, + }, + { enum: [!1] }, + { type: 'string', minLength: 1 }, + ], + }, + }, + ], + }, + ResolveLoader: { + oneOf: [{ $ref: '#/definitions/ResolveOptions' }], + }, + ResolveOptions: { + type: 'object', + additionalProperties: !1, + properties: { + alias: { $ref: '#/definitions/ResolveAlias' }, + aliasFields: { + type: 'array', + items: { + anyOf: [ + { + type: 'array', + items: { type: 'string', minLength: 1 }, + }, + { type: 'string', minLength: 1 }, + ], + }, + }, + byDependency: { + type: 'object', + additionalProperties: { + oneOf: [{ $ref: '#/definitions/ResolveOptions' }], + }, + }, + cache: { type: 'boolean' }, + cachePredicate: { instanceof: 'Function' }, + cacheWithContext: { type: 'boolean' }, + conditionNames: { type: 'array', items: { type: 'string' } }, + descriptionFiles: { + type: 'array', + items: { type: 'string', minLength: 1 }, + }, + enforceExtension: { type: 'boolean' }, + exportsFields: { type: 'array', items: { type: 'string' } }, + extensionAlias: { + type: 'object', + additionalProperties: { + anyOf: [ + { + type: 'array', + items: { type: 'string', minLength: 1 }, + }, + { type: 'string', minLength: 1 }, + ], + }, + }, + extensions: { type: 'array', items: { type: 'string' } }, + fallback: { oneOf: [{ $ref: '#/definitions/ResolveAlias' }] }, + fileSystem: {}, + fullySpecified: { type: 'boolean' }, + importsFields: { type: 'array', items: { type: 'string' } }, + mainFields: { + type: 'array', + items: { + anyOf: [ + { + type: 'array', + items: { type: 'string', minLength: 1 }, + }, + { type: 'string', minLength: 1 }, + ], + }, + }, + mainFiles: { + type: 'array', + items: { type: 'string', minLength: 1 }, + }, + modules: { + type: 'array', + items: { type: 'string', minLength: 1 }, + }, + plugins: { + type: 'array', + items: { + anyOf: [ + { enum: ['...'] }, + { $ref: '#/definitions/ResolvePluginInstance' }, + ], + }, + }, + preferAbsolute: { type: 'boolean' }, + preferRelative: { type: 'boolean' }, + resolver: {}, + restrictions: { + type: 'array', + items: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !0, minLength: 1 }, + ], + }, + }, + roots: { type: 'array', items: { type: 'string' } }, + symlinks: { type: 'boolean' }, + unsafeCache: { + anyOf: [ + { type: 'boolean' }, + { type: 'object', additionalProperties: !0 }, + ], + }, + useSyncFileSystemCalls: { type: 'boolean' }, + }, + }, + ResolvePluginInstance: { + type: 'object', + additionalProperties: !0, + properties: { apply: { instanceof: 'Function' } }, + required: ['apply'], + }, + RuleSetCondition: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string' }, + { instanceof: 'Function' }, + { $ref: '#/definitions/RuleSetLogicalConditions' }, + { $ref: '#/definitions/RuleSetConditions' }, + ], + }, + RuleSetConditionAbsolute: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !0 }, + { instanceof: 'Function' }, + { $ref: '#/definitions/RuleSetLogicalConditionsAbsolute' }, + { $ref: '#/definitions/RuleSetConditionsAbsolute' }, + ], + }, + RuleSetConditionOrConditions: { + anyOf: [ + { $ref: '#/definitions/RuleSetCondition' }, + { $ref: '#/definitions/RuleSetConditions' }, + ], + }, + RuleSetConditionOrConditionsAbsolute: { + anyOf: [ + { $ref: '#/definitions/RuleSetConditionAbsolute' }, + { $ref: '#/definitions/RuleSetConditionsAbsolute' }, + ], + }, + RuleSetConditions: { + type: 'array', + items: { oneOf: [{ $ref: '#/definitions/RuleSetCondition' }] }, + }, + RuleSetConditionsAbsolute: { + type: 'array', + items: { + oneOf: [{ $ref: '#/definitions/RuleSetConditionAbsolute' }], + }, + }, + RuleSetLoader: { type: 'string', minLength: 1 }, + RuleSetLoaderOptions: { + anyOf: [{ type: 'string' }, { type: 'object' }], + }, + RuleSetLogicalConditions: { + type: 'object', + additionalProperties: !1, + properties: { + and: { oneOf: [{ $ref: '#/definitions/RuleSetConditions' }] }, + not: { oneOf: [{ $ref: '#/definitions/RuleSetCondition' }] }, + or: { oneOf: [{ $ref: '#/definitions/RuleSetConditions' }] }, + }, + }, + RuleSetLogicalConditionsAbsolute: { + type: 'object', + additionalProperties: !1, + properties: { + and: { + oneOf: [{ $ref: '#/definitions/RuleSetConditionsAbsolute' }], + }, + not: { + oneOf: [{ $ref: '#/definitions/RuleSetConditionAbsolute' }], + }, + or: { + oneOf: [{ $ref: '#/definitions/RuleSetConditionsAbsolute' }], + }, + }, + }, + RuleSetRule: { + type: 'object', + additionalProperties: !1, + properties: { + assert: { + type: 'object', + additionalProperties: { + $ref: '#/definitions/RuleSetConditionOrConditions', + }, + }, + compiler: { + oneOf: [ + { $ref: '#/definitions/RuleSetConditionOrConditions' }, + ], + }, + dependency: { + oneOf: [ + { $ref: '#/definitions/RuleSetConditionOrConditions' }, + ], + }, + descriptionData: { + type: 'object', + additionalProperties: { + $ref: '#/definitions/RuleSetConditionOrConditions', + }, + }, + enforce: { enum: ['pre', 'post'] }, + exclude: { + oneOf: [ + { + $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute', + }, + ], + }, + generator: { type: 'object' }, + include: { + oneOf: [ + { + $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute', + }, + ], + }, + issuer: { + oneOf: [ + { + $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute', + }, + ], + }, + issuerLayer: { + oneOf: [ + { $ref: '#/definitions/RuleSetConditionOrConditions' }, + ], + }, + layer: { type: 'string' }, + loader: { oneOf: [{ $ref: '#/definitions/RuleSetLoader' }] }, + mimetype: { + oneOf: [ + { $ref: '#/definitions/RuleSetConditionOrConditions' }, + ], + }, + oneOf: { + type: 'array', + items: { oneOf: [{ $ref: '#/definitions/RuleSetRule' }] }, + }, + options: { + oneOf: [{ $ref: '#/definitions/RuleSetLoaderOptions' }], + }, + parser: { type: 'object', additionalProperties: !0 }, + realResource: { + oneOf: [ + { + $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute', + }, + ], + }, + resolve: { + type: 'object', + oneOf: [{ $ref: '#/definitions/ResolveOptions' }], + }, + resource: { + oneOf: [ + { + $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute', + }, + ], + }, + resourceFragment: { + oneOf: [ + { $ref: '#/definitions/RuleSetConditionOrConditions' }, + ], + }, + resourceQuery: { + oneOf: [ + { $ref: '#/definitions/RuleSetConditionOrConditions' }, + ], + }, + rules: { + type: 'array', + items: { oneOf: [{ $ref: '#/definitions/RuleSetRule' }] }, + }, + scheme: { + oneOf: [ + { $ref: '#/definitions/RuleSetConditionOrConditions' }, + ], + }, + sideEffects: { type: 'boolean' }, + test: { + oneOf: [ + { + $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute', + }, + ], + }, + type: { type: 'string' }, + use: { oneOf: [{ $ref: '#/definitions/RuleSetUse' }] }, + }, + }, + RuleSetRules: { + type: 'array', + items: { + anyOf: [ + { enum: ['...'] }, + { $ref: '#/definitions/RuleSetRule' }, + ], + }, + }, + RuleSetUse: { + anyOf: [ + { + type: 'array', + items: { oneOf: [{ $ref: '#/definitions/RuleSetUseItem' }] }, + }, + { instanceof: 'Function' }, + { $ref: '#/definitions/RuleSetUseItem' }, + ], + }, + RuleSetUseItem: { + anyOf: [ + { + type: 'object', + additionalProperties: !1, + properties: { + ident: { type: 'string' }, + loader: { + oneOf: [{ $ref: '#/definitions/RuleSetLoader' }], + }, + options: { + oneOf: [{ $ref: '#/definitions/RuleSetLoaderOptions' }], + }, + }, + }, + { instanceof: 'Function' }, + { $ref: '#/definitions/RuleSetLoader' }, + ], + }, + ScriptType: { enum: [!1, 'text/javascript', 'module'] }, + SnapshotOptions: { + type: 'object', + additionalProperties: !1, + properties: { + buildDependencies: { + type: 'object', + additionalProperties: !1, + properties: { + hash: { type: 'boolean' }, + timestamp: { type: 'boolean' }, + }, + }, + immutablePaths: { + type: 'array', + items: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !0, minLength: 1 }, + ], + }, + }, + managedPaths: { + type: 'array', + items: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !0, minLength: 1 }, + ], + }, + }, + module: { + type: 'object', + additionalProperties: !1, + properties: { + hash: { type: 'boolean' }, + timestamp: { type: 'boolean' }, + }, + }, + resolve: { + type: 'object', + additionalProperties: !1, + properties: { + hash: { type: 'boolean' }, + timestamp: { type: 'boolean' }, + }, + }, + resolveBuildDependencies: { + type: 'object', + additionalProperties: !1, + properties: { + hash: { type: 'boolean' }, + timestamp: { type: 'boolean' }, + }, + }, + }, + }, + SourceMapFilename: { type: 'string', absolutePath: !1 }, + SourcePrefix: { type: 'string' }, + StatsOptions: { + type: 'object', + additionalProperties: !1, + properties: { + all: { type: 'boolean' }, + assets: { type: 'boolean' }, + assetsSort: { type: 'string' }, + assetsSpace: { type: 'number' }, + builtAt: { type: 'boolean' }, + cached: { type: 'boolean' }, + cachedAssets: { type: 'boolean' }, + cachedModules: { type: 'boolean' }, + children: { type: 'boolean' }, + chunkGroupAuxiliary: { type: 'boolean' }, + chunkGroupChildren: { type: 'boolean' }, + chunkGroupMaxAssets: { type: 'number' }, + chunkGroups: { type: 'boolean' }, + chunkModules: { type: 'boolean' }, + chunkModulesSpace: { type: 'number' }, + chunkOrigins: { type: 'boolean' }, + chunkRelations: { type: 'boolean' }, + chunks: { type: 'boolean' }, + chunksSort: { type: 'string' }, + colors: { + anyOf: [ + { type: 'boolean' }, + { + type: 'object', + additionalProperties: !1, + properties: { + bold: { type: 'string' }, + cyan: { type: 'string' }, + green: { type: 'string' }, + magenta: { type: 'string' }, + red: { type: 'string' }, + yellow: { type: 'string' }, + }, + }, + ], + }, + context: { type: 'string', absolutePath: !0 }, + dependentModules: { type: 'boolean' }, + depth: { type: 'boolean' }, + entrypoints: { + anyOf: [{ enum: ['auto'] }, { type: 'boolean' }], + }, + env: { type: 'boolean' }, + errorDetails: { + anyOf: [{ enum: ['auto'] }, { type: 'boolean' }], + }, + errorStack: { type: 'boolean' }, + errors: { type: 'boolean' }, + errorsCount: { type: 'boolean' }, + errorsSpace: { type: 'number' }, + exclude: { + anyOf: [ + { type: 'boolean' }, + { $ref: '#/definitions/ModuleFilterTypes' }, + ], + }, + excludeAssets: { + oneOf: [{ $ref: '#/definitions/AssetFilterTypes' }], + }, + excludeModules: { + anyOf: [ + { type: 'boolean' }, + { $ref: '#/definitions/ModuleFilterTypes' }, + ], + }, + groupAssetsByChunk: { type: 'boolean' }, + groupAssetsByEmitStatus: { type: 'boolean' }, + groupAssetsByExtension: { type: 'boolean' }, + groupAssetsByInfo: { type: 'boolean' }, + groupAssetsByPath: { type: 'boolean' }, + groupModulesByAttributes: { type: 'boolean' }, + groupModulesByCacheStatus: { type: 'boolean' }, + groupModulesByExtension: { type: 'boolean' }, + groupModulesByLayer: { type: 'boolean' }, + groupModulesByPath: { type: 'boolean' }, + groupModulesByType: { type: 'boolean' }, + groupReasonsByOrigin: { type: 'boolean' }, + hash: { type: 'boolean' }, + ids: { type: 'boolean' }, + logging: { + anyOf: [ + { + enum: ['none', 'error', 'warn', 'info', 'log', 'verbose'], + }, + { type: 'boolean' }, + ], + }, + loggingDebug: { + anyOf: [ + { type: 'boolean' }, + { $ref: '#/definitions/FilterTypes' }, + ], + }, + loggingTrace: { type: 'boolean' }, + moduleAssets: { type: 'boolean' }, + moduleTrace: { type: 'boolean' }, + modules: { type: 'boolean' }, + modulesSort: { type: 'string' }, + modulesSpace: { type: 'number' }, + nestedModules: { type: 'boolean' }, + nestedModulesSpace: { type: 'number' }, + optimizationBailout: { type: 'boolean' }, + orphanModules: { type: 'boolean' }, + outputPath: { type: 'boolean' }, + performance: { type: 'boolean' }, + preset: { anyOf: [{ type: 'boolean' }, { type: 'string' }] }, + providedExports: { type: 'boolean' }, + publicPath: { type: 'boolean' }, + reasons: { type: 'boolean' }, + reasonsSpace: { type: 'number' }, + relatedAssets: { type: 'boolean' }, + runtime: { type: 'boolean' }, + runtimeModules: { type: 'boolean' }, + source: { type: 'boolean' }, + timings: { type: 'boolean' }, + usedExports: { type: 'boolean' }, + version: { type: 'boolean' }, + warnings: { type: 'boolean' }, + warningsCount: { type: 'boolean' }, + warningsFilter: { + oneOf: [{ $ref: '#/definitions/WarningFilterTypes' }], + }, + warningsSpace: { type: 'number' }, + }, + }, + StatsValue: { + anyOf: [ + { + enum: [ + 'none', + 'summary', + 'errors-only', + 'errors-warnings', + 'minimal', + 'normal', + 'detailed', + 'verbose', + ], + }, + { type: 'boolean' }, + { $ref: '#/definitions/StatsOptions' }, + ], + }, + StrictModuleErrorHandling: { type: 'boolean' }, + StrictModuleExceptionHandling: { type: 'boolean' }, + Target: { + anyOf: [ + { + type: 'array', + items: { type: 'string', minLength: 1 }, + minItems: 1, + }, + { enum: [!1] }, + { type: 'string', minLength: 1 }, + ], + }, + TrustedTypes: { + type: 'object', + additionalProperties: !1, + properties: { + onPolicyCreationFailure: { enum: ['continue', 'stop'] }, + policyName: { type: 'string', minLength: 1 }, + }, + }, + UmdNamedDefine: { type: 'boolean' }, + UniqueName: { type: 'string', minLength: 1 }, + WarningFilterItemTypes: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !1 }, + { instanceof: 'Function' }, + ], + }, + WarningFilterTypes: { + anyOf: [ + { + type: 'array', + items: { + oneOf: [{ $ref: '#/definitions/WarningFilterItemTypes' }], + }, + }, + { $ref: '#/definitions/WarningFilterItemTypes' }, + ], + }, + WasmLoading: { + anyOf: [ + { enum: [!1] }, + { $ref: '#/definitions/WasmLoadingType' }, + ], + }, + WasmLoadingType: { + anyOf: [ + { enum: ['fetch-streaming', 'fetch', 'async-node'] }, + { type: 'string' }, + ], + }, + Watch: { type: 'boolean' }, + WatchOptions: { + type: 'object', + additionalProperties: !1, + properties: { + aggregateTimeout: { type: 'number' }, + followSymlinks: { type: 'boolean' }, + ignored: { + anyOf: [ + { type: 'array', items: { type: 'string', minLength: 1 } }, + { instanceof: 'RegExp' }, + { type: 'string', minLength: 1 }, + ], + }, + poll: { anyOf: [{ type: 'number' }, { type: 'boolean' }] }, + stdin: { type: 'boolean' }, + }, + }, + WebassemblyModuleFilename: { type: 'string', absolutePath: !1 }, + WebpackOptionsNormalized: { + type: 'object', + additionalProperties: !1, + 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/ExperimentsNormalized' }, + 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/ModuleOptionsNormalized' }, + 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: { instanceof: 'Function' }, + WebpackPluginInstance: { + type: 'object', + additionalProperties: !0, + properties: { apply: { instanceof: 'Function' } }, + required: ['apply'], + }, + WorkerPublicPath: { type: 'string' }, + }, + type: 'object', + additionalProperties: !1, + 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' }, + extends: { $ref: '#/definitions/Extends' }, + 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' }, + }, + }, + P = Object.prototype.hasOwnProperty, + R = { + type: 'object', + additionalProperties: !1, + properties: { + allowCollectingMemory: { type: 'boolean' }, + buildDependencies: { + type: 'object', + additionalProperties: { + type: 'array', + items: { type: 'string', minLength: 1 }, + }, + }, + cacheDirectory: { type: 'string', absolutePath: !0 }, + cacheLocation: { type: 'string', absolutePath: !0 }, + compression: { enum: [!1, 'gzip', 'brotli'] }, + hashAlgorithm: { type: 'string' }, + idleTimeout: { type: 'number', minimum: 0 }, + idleTimeoutAfterLargeChanges: { type: 'number', minimum: 0 }, + idleTimeoutForInitialStore: { type: 'number', minimum: 0 }, + immutablePaths: { + type: 'array', + items: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !0, minLength: 1 }, + ], + }, + }, + managedPaths: { + type: 'array', + items: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !0, minLength: 1 }, + ], + }, + }, + maxAge: { type: 'number', minimum: 0 }, + maxMemoryGenerations: { type: 'number', minimum: 0 }, + memoryCacheUnaffected: { type: 'boolean' }, + name: { type: 'string' }, + profile: { type: 'boolean' }, + readonly: { type: 'boolean' }, + store: { enum: ['pack'] }, + type: { enum: ['filesystem'] }, + version: { type: 'string' }, + }, + required: ['type'], + } + function o( + k, + { + instancePath: E = '', + parentData: L, + parentDataProperty: N, + rootData: q = k, + } = {} + ) { + let ae = null, + le = 0 + const pe = le + let me = !1 + const ye = le + if (!1 !== k) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + var _e = ye === le + if (((me = me || _e), !me)) { + const E = le + if (le == le) + if (k && 'object' == typeof k && !Array.isArray(k)) { + let v + if (void 0 === k.type && (v = 'type')) { + const k = { params: { missingProperty: v } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } else { + const v = le + for (const v in k) + if ( + 'cacheUnaffected' !== v && + 'maxGenerations' !== v && + 'type' !== v + ) { + const k = { params: { additionalProperty: v } } + null === ae ? (ae = [k]) : ae.push(k), le++ + break + } + if (v === le) { + if (void 0 !== k.cacheUnaffected) { + const v = le + if ('boolean' != typeof k.cacheUnaffected) { + const k = { params: { type: 'boolean' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + var Ie = v === le + } else Ie = !0 + if (Ie) { + if (void 0 !== k.maxGenerations) { + let v = k.maxGenerations + const E = le + if (le === E) + if ('number' == typeof v) { + if (v < 1 || isNaN(v)) { + const k = { params: { comparison: '>=', limit: 1 } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + } else { + const k = { params: { type: 'number' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + Ie = E === le + } else Ie = !0 + if (Ie) + if (void 0 !== k.type) { + const v = le + if ('memory' !== k.type) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + Ie = v === le + } else Ie = !0 + } + } + } + } else { + const k = { params: { type: 'object' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + if (((_e = E === le), (me = me || _e), !me)) { + const E = le + if (le == le) + if (k && 'object' == typeof k && !Array.isArray(k)) { + let E + if (void 0 === k.type && (E = 'type')) { + const k = { params: { missingProperty: E } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } else { + const E = le + for (const v in k) + if (!P.call(R.properties, v)) { + const k = { params: { additionalProperty: v } } + null === ae ? (ae = [k]) : ae.push(k), le++ + break + } + if (E === le) { + if (void 0 !== k.allowCollectingMemory) { + const v = le + if ('boolean' != typeof k.allowCollectingMemory) { + const k = { params: { type: 'boolean' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + var Me = v === le + } else Me = !0 + if (Me) { + if (void 0 !== k.buildDependencies) { + let v = k.buildDependencies + const E = le + if (le === E) + if (v && 'object' == typeof v && !Array.isArray(v)) + for (const k in v) { + let E = v[k] + const P = le + if (le === P) + if (Array.isArray(E)) { + const k = E.length + for (let v = 0; v < k; v++) { + let k = E[v] + const P = le + if (le === P) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), + le++ + } + } else { + const k = { params: { type: 'string' } } + null === ae ? (ae = [k]) : ae.push(k), + le++ + } + if (P !== le) break + } + } else { + const k = { params: { type: 'array' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + if (P !== le) break + } + else { + const k = { params: { type: 'object' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + Me = E === le + } else Me = !0 + if (Me) { + if (void 0 !== k.cacheDirectory) { + let E = k.cacheDirectory + const P = le + if (le === P) + if ('string' == typeof E) { + if (E.includes('!') || !0 !== v.test(E)) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + } else { + const k = { params: { type: 'string' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + Me = P === le + } else Me = !0 + if (Me) { + if (void 0 !== k.cacheLocation) { + let E = k.cacheLocation + const P = le + if (le === P) + if ('string' == typeof E) { + if (E.includes('!') || !0 !== v.test(E)) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + } else { + const k = { params: { type: 'string' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + Me = P === le + } else Me = !0 + if (Me) { + if (void 0 !== k.compression) { + let v = k.compression + const E = le + if (!1 !== v && 'gzip' !== v && 'brotli' !== v) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + Me = E === le + } else Me = !0 + if (Me) { + if (void 0 !== k.hashAlgorithm) { + const v = le + if ('string' != typeof k.hashAlgorithm) { + const k = { params: { type: 'string' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + Me = v === le + } else Me = !0 + if (Me) { + if (void 0 !== k.idleTimeout) { + let v = k.idleTimeout + const E = le + if (le === E) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === ae ? (ae = [k]) : ae.push(k), + le++ + } + } else { + const k = { params: { type: 'number' } } + null === ae ? (ae = [k]) : ae.push(k), + le++ + } + Me = E === le + } else Me = !0 + if (Me) { + if ( + void 0 !== k.idleTimeoutAfterLargeChanges + ) { + let v = k.idleTimeoutAfterLargeChanges + const E = le + if (le === E) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === ae ? (ae = [k]) : ae.push(k), + le++ + } + } else { + const k = { params: { type: 'number' } } + null === ae ? (ae = [k]) : ae.push(k), + le++ + } + Me = E === le + } else Me = !0 + if (Me) { + if ( + void 0 !== k.idleTimeoutForInitialStore + ) { + let v = k.idleTimeoutForInitialStore + const E = le + if (le === E) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === ae ? (ae = [k]) : ae.push(k), + le++ + } + Me = E === le + } else Me = !0 + if (Me) { + if (void 0 !== k.immutablePaths) { + let E = k.immutablePaths + const P = le + if (le === P) + if (Array.isArray(E)) { + const k = E.length + for (let P = 0; P < k; P++) { + let k = E[P] + const R = le, + L = le + let N = !1 + const q = le + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + var Te = q === le + if (((N = N || Te), !N)) { + const E = le + if (le === E) + if ('string' == typeof k) { + if ( + k.includes('!') || + !0 !== v.test(k) + ) { + const k = { params: {} } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } else if (k.length < 1) { + const k = { params: {} } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + } else { + const k = { + params: { + type: 'string', + }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + ;(Te = E === le), (N = N || Te) + } + if (N) + (le = L), + null !== ae && + (L + ? (ae.length = L) + : (ae = null)) + else { + const k = { params: {} } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + if (R !== le) break + } + } else { + const k = { + params: { type: 'array' }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + Me = P === le + } else Me = !0 + if (Me) { + if (void 0 !== k.managedPaths) { + let E = k.managedPaths + const P = le + if (le === P) + if (Array.isArray(E)) { + const k = E.length + for (let P = 0; P < k; P++) { + let k = E[P] + const R = le, + L = le + let N = !1 + const q = le + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + var je = q === le + if (((N = N || je), !N)) { + const E = le + if (le === E) + if ('string' == typeof k) { + if ( + k.includes('!') || + !0 !== v.test(k) + ) { + const k = { params: {} } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } else if (k.length < 1) { + const k = { params: {} } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + } else { + const k = { + params: { + type: 'string', + }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + ;(je = E === le), + (N = N || je) + } + if (N) + (le = L), + null !== ae && + (L + ? (ae.length = L) + : (ae = null)) + else { + const k = { params: {} } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + if (R !== le) break + } + } else { + const k = { + params: { type: 'array' }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + Me = P === le + } else Me = !0 + if (Me) { + if (void 0 !== k.maxAge) { + let v = k.maxAge + const E = le + if (le === E) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + Me = E === le + } else Me = !0 + if (Me) { + if ( + void 0 !== k.maxMemoryGenerations + ) { + let v = k.maxMemoryGenerations + const E = le + if (le === E) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + Me = E === le + } else Me = !0 + if (Me) { + if ( + void 0 !== + k.memoryCacheUnaffected + ) { + const v = le + if ( + 'boolean' != + typeof k.memoryCacheUnaffected + ) { + const k = { + params: { type: 'boolean' }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + Me = v === le + } else Me = !0 + if (Me) { + if (void 0 !== k.name) { + const v = le + if ( + 'string' != typeof k.name + ) { + const k = { + params: { + type: 'string', + }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + Me = v === le + } else Me = !0 + if (Me) { + if (void 0 !== k.profile) { + const v = le + if ( + 'boolean' != + typeof k.profile + ) { + const k = { + params: { + type: 'boolean', + }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + Me = v === le + } else Me = !0 + if (Me) { + if (void 0 !== k.readonly) { + const v = le + if ( + 'boolean' != + typeof k.readonly + ) { + const k = { + params: { + type: 'boolean', + }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + Me = v === le + } else Me = !0 + if (Me) { + if (void 0 !== k.store) { + const v = le + if ( + 'pack' !== k.store + ) { + const k = { + params: {}, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + Me = v === le + } else Me = !0 + if (Me) { + if (void 0 !== k.type) { + const v = le + if ( + 'filesystem' !== + k.type + ) { + const k = { + params: {}, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + Me = v === le + } else Me = !0 + if (Me) + if ( + void 0 !== k.version + ) { + const v = le + if ( + 'string' != + typeof k.version + ) { + const k = { + params: { + type: 'string', + }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + Me = v === le + } else Me = !0 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } else { + const k = { params: { type: 'object' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + ;(_e = E === le), (me = me || _e) + } + } + if (!me) { + const k = { params: {} } + return ( + null === ae ? (ae = [k]) : ae.push(k), le++, (o.errors = ae), !1 + ) + } + return ( + (le = pe), + null !== ae && (pe ? (ae.length = pe) : (ae = null)), + (o.errors = ae), + 0 === le + ) + } + function s( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (!0 !== k) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const q = N + o(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? o.errors : L.concat(o.errors)), (N = L.length)), + (pe = q === N), + (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (s.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (s.errors = L), + 0 === N + ) + } + const L = { + type: 'object', + additionalProperties: !1, + properties: { + asyncChunks: { type: 'boolean' }, + baseUri: { type: 'string' }, + chunkLoading: { $ref: '#/definitions/ChunkLoading' }, + dependOn: { + anyOf: [ + { + type: 'array', + items: { type: 'string', minLength: 1 }, + minItems: 1, + uniqueItems: !0, + }, + { type: 'string', minLength: 1 }, + ], + }, + filename: { $ref: '#/definitions/EntryFilename' }, + import: { $ref: '#/definitions/EntryItem' }, + layer: { $ref: '#/definitions/Layer' }, + library: { $ref: '#/definitions/LibraryOptions' }, + publicPath: { $ref: '#/definitions/PublicPath' }, + runtime: { $ref: '#/definitions/EntryRuntime' }, + wasmLoading: { $ref: '#/definitions/WasmLoading' }, + }, + required: ['import'], + } + function a( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (!1 !== k) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const v = N, + E = N + let P = !1 + const R = N + if ( + 'jsonp' !== k && + 'import-scripts' !== k && + 'require' !== k && + 'async-node' !== k && + 'import' !== k + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = R === N + if (((P = P || me), !P)) { + const v = N + if ('string' != typeof k) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = v === N), (P = P || me) + } + if (P) (N = E), null !== L && (E ? (L.length = E) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (a.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (a.errors = L), + 0 === N + ) + } + function l( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + const ae = q + let le = !1, + pe = null + const me = q, + ye = q + let _e = !1 + const Ie = q + if (q === Ie) + if ('string' == typeof k) { + if (k.includes('!') || !1 !== v.test(k)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } else if (k.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var Me = Ie === q + if (((_e = _e || Me), !_e)) { + const v = q + if (!(k instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(Me = v === q), (_e = _e || Me) + } + if (_e) (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + if ((me === q && ((le = !0), (pe = 0)), !le)) { + const k = { params: { passingSchemas: pe } } + return null === N ? (N = [k]) : N.push(k), q++, (l.errors = N), !1 + } + return ( + (q = ae), + null !== N && (ae ? (N.length = ae) : (N = null)), + (l.errors = N), + 0 === q + ) + } + function p( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if ('string' != typeof k) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const v = N + if (N == N) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const v = N + for (const v in k) + if ( + 'amd' !== v && + 'commonjs' !== v && + 'commonjs2' !== v && + 'root' !== v + ) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (v === N) { + if (void 0 !== k.amd) { + const v = N + if ('string' != typeof k.amd) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = v === N + } else me = !0 + if (me) { + if (void 0 !== k.commonjs) { + const v = N + if ('string' != typeof k.commonjs) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = v === N + } else me = !0 + if (me) { + if (void 0 !== k.commonjs2) { + const v = N + if ('string' != typeof k.commonjs2) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = v === N + } else me = !0 + if (me) + if (void 0 !== k.root) { + const v = N + if ('string' != typeof k.root) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = v === N + } else me = !0 + } + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (p.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (p.errors = L), + 0 === N + ) + } + function f( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) + if (k.length < 1) { + const k = { params: { limit: 1 } } + null === L ? (L = [k]) : L.push(k), N++ + } else { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = N + if (N === P) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + } + else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const v = N + if (N === v) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((pe = v === N), (ae = ae || pe), !ae)) { + const v = N + if (N == N) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const v = N + for (const v in k) + if ('amd' !== v && 'commonjs' !== v && 'root' !== v) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (v === N) { + if (void 0 !== k.amd) { + let v = k.amd + const E = N + if (N === E) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = E === N + } else me = !0 + if (me) { + if (void 0 !== k.commonjs) { + let v = k.commonjs + const E = N + if (N === E) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = E === N + } else me = !0 + if (me) + if (void 0 !== k.root) { + let v = k.root + const E = N, + P = N + let R = !1 + const q = N + if (N === q) + if (Array.isArray(v)) { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = N + if (N === P) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var ye = q === N + if (((R = R || ye), !R)) { + const k = N + if (N === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ye = k === N), (R = R || ye) + } + if (R) + (N = P), + null !== L && (P ? (L.length = P) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + me = E === N + } else me = !0 + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (f.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (f.errors = L), + 0 === N + ) + } + function u( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (u.errors = [{ params: { type: 'object' } }]), !1 + { + let E + if (void 0 === k.type && (E = 'type')) + return (u.errors = [{ params: { missingProperty: E } }]), !1 + { + const E = N + for (const v in k) + if ( + 'amdContainer' !== v && + 'auxiliaryComment' !== v && + 'export' !== v && + 'name' !== v && + 'type' !== v && + 'umdNamedDefine' !== v + ) + return ( + (u.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (E === N) { + if (void 0 !== k.amdContainer) { + let v = k.amdContainer + const E = N + if (N == N) { + if ('string' != typeof v) + return (u.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (u.errors = [{ params: {} }]), !1 + } + var q = E === N + } else q = !0 + if (q) { + if (void 0 !== k.auxiliaryComment) { + const E = N + p(k.auxiliaryComment, { + instancePath: v + '/auxiliaryComment', + parentData: k, + parentDataProperty: 'auxiliaryComment', + rootData: R, + }) || + ((L = null === L ? p.errors : L.concat(p.errors)), + (N = L.length)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k.export) { + let v = k.export + const E = N, + P = N + let R = !1 + const le = N + if (N === le) + if (Array.isArray(v)) { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = N + if (N === P) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var ae = le === N + if (((R = R || ae), !R)) { + const k = N + if (N === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ae = k === N), (R = R || ae) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (u.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k.name) { + const E = N + f(k.name, { + instancePath: v + '/name', + parentData: k, + parentDataProperty: 'name', + rootData: R, + }) || + ((L = null === L ? f.errors : L.concat(f.errors)), + (N = L.length)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k.type) { + let v = k.type + const E = N, + P = N + let R = !1 + const ae = N + if ( + 'var' !== v && + 'module' !== v && + 'assign' !== v && + 'assign-properties' !== v && + 'this' !== v && + 'window' !== v && + 'self' !== v && + 'global' !== v && + 'commonjs' !== v && + 'commonjs2' !== v && + 'commonjs-module' !== v && + 'commonjs-static' !== v && + 'amd' !== v && + 'amd-require' !== v && + 'umd' !== v && + 'umd2' !== v && + 'jsonp' !== v && + 'system' !== v + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var le = ae === N + if (((R = R || le), !R)) { + const k = N + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(le = k === N), (R = R || le) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (u.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (q = E === N) + } else q = !0 + if (q) + if (void 0 !== k.umdNamedDefine) { + const v = N + if ('boolean' != typeof k.umdNamedDefine) + return ( + (u.errors = [{ params: { type: 'boolean' } }]), + !1 + ) + q = v === N + } else q = !0 + } + } + } + } + } + } + } + } + return (u.errors = L), 0 === N + } + function c( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if ('auto' !== k) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const v = N, + E = N + let P = !1 + const R = N + if ('string' != typeof k) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = R === N + if (((P = P || me), !P)) { + const v = N + if (!(k instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = v === N), (P = P || me) + } + if (P) (N = E), null !== L && (E ? (L.length = E) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (c.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (c.errors = L), + 0 === N + ) + } + function y( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (!1 !== k) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const v = N, + E = N + let P = !1 + const R = N + if ('fetch-streaming' !== k && 'fetch' !== k && 'async-node' !== k) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = R === N + if (((P = P || me), !P)) { + const v = N + if ('string' != typeof k) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = v === N), (P = P || me) + } + if (P) (N = E), null !== L && (E ? (L.length = E) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (y.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (y.errors = L), + 0 === N + ) + } + function m( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: R, + rootData: N = k, + } = {} + ) { + let q = null, + ae = 0 + if (0 === ae) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (m.errors = [{ params: { type: 'object' } }]), !1 + { + let E + if (void 0 === k.import && (E = 'import')) + return (m.errors = [{ params: { missingProperty: E } }]), !1 + { + const E = ae + for (const v in k) + if (!P.call(L.properties, v)) + return ( + (m.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (E === ae) { + if (void 0 !== k.asyncChunks) { + const v = ae + if ('boolean' != typeof k.asyncChunks) + return (m.errors = [{ params: { type: 'boolean' } }]), !1 + var le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.baseUri) { + const v = ae + if ('string' != typeof k.baseUri) + return (m.errors = [{ params: { type: 'string' } }]), !1 + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunkLoading) { + const E = ae + a(k.chunkLoading, { + instancePath: v + '/chunkLoading', + parentData: k, + parentDataProperty: 'chunkLoading', + rootData: N, + }) || + ((q = null === q ? a.errors : q.concat(a.errors)), + (ae = q.length)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.dependOn) { + let v = k.dependOn + const E = ae, + P = ae + let R = !1 + const L = ae + if (ae === L) + if (Array.isArray(v)) + if (v.length < 1) { + const k = { params: { limit: 1 } } + null === q ? (q = [k]) : q.push(k), ae++ + } else { + var pe = !0 + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = ae + if (ae === P) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (!(pe = P === ae)) break + } + if (pe) { + let k, + E = v.length + if (E > 1) { + const P = {} + for (; E--; ) { + let R = v[E] + if ('string' == typeof R) { + if ('number' == typeof P[R]) { + k = P[R] + const v = { params: { i: E, j: k } } + null === q ? (q = [v]) : q.push(v), ae++ + break + } + P[R] = E + } + } + } + } + } + else { + const k = { params: { type: 'array' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var me = L === ae + if (((R = R || me), !R)) { + const k = ae + if (ae === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(me = k === ae), (R = R || me) + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (m.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.filename) { + const E = ae + l(k.filename, { + instancePath: v + '/filename', + parentData: k, + parentDataProperty: 'filename', + rootData: N, + }) || + ((q = null === q ? l.errors : q.concat(l.errors)), + (ae = q.length)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.import) { + let v = k.import + const E = ae, + P = ae + let R = !1 + const L = ae + if (ae === L) + if (Array.isArray(v)) + if (v.length < 1) { + const k = { params: { limit: 1 } } + null === q ? (q = [k]) : q.push(k), ae++ + } else { + var ye = !0 + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = ae + if (ae === P) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), + ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (!(ye = P === ae)) break + } + if (ye) { + let k, + E = v.length + if (E > 1) { + const P = {} + for (; E--; ) { + let R = v[E] + if ('string' == typeof R) { + if ('number' == typeof P[R]) { + k = P[R] + const v = { params: { i: E, j: k } } + null === q ? (q = [v]) : q.push(v), + ae++ + break + } + P[R] = E + } + } + } + } + } + else { + const k = { params: { type: 'array' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var _e = L === ae + if (((R = R || _e), !R)) { + const k = ae + if (ae === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(_e = k === ae), (R = R || _e) + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (m.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.layer) { + let v = k.layer + const E = ae, + P = ae + let R = !1 + const L = ae + if (null !== v) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var Ie = L === ae + if (((R = R || Ie), !R)) { + const k = ae + if (ae === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(Ie = k === ae), (R = R || Ie) + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (m.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.library) { + const E = ae + u(k.library, { + instancePath: v + '/library', + parentData: k, + parentDataProperty: 'library', + rootData: N, + }) || + ((q = + null === q ? u.errors : q.concat(u.errors)), + (ae = q.length)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.publicPath) { + const E = ae + c(k.publicPath, { + instancePath: v + '/publicPath', + parentData: k, + parentDataProperty: 'publicPath', + rootData: N, + }) || + ((q = + null === q + ? c.errors + : q.concat(c.errors)), + (ae = q.length)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.runtime) { + let v = k.runtime + const E = ae, + P = ae + let R = !1 + const L = ae + if (!1 !== v) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var Me = L === ae + if (((R = R || Me), !R)) { + const k = ae + if (ae === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'string' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + ;(Me = k === ae), (R = R || Me) + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (m.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) + if (void 0 !== k.wasmLoading) { + const E = ae + y(k.wasmLoading, { + instancePath: v + '/wasmLoading', + parentData: k, + parentDataProperty: 'wasmLoading', + rootData: N, + }) || + ((q = + null === q + ? y.errors + : q.concat(y.errors)), + (ae = q.length)), + (le = E === ae) + } else le = !0 + } + } + } + } + } + } + } + } + } + } + } + } + } + return (m.errors = q), 0 === ae + } + function d( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (d.errors = [{ params: { type: 'object' } }]), !1 + for (const E in k) { + let P = k[E] + const pe = N, + me = N + let ye = !1 + const _e = N, + Ie = N + let Me = !1 + const Te = N + if (N === Te) + if (Array.isArray(P)) + if (P.length < 1) { + const k = { params: { limit: 1 } } + null === L ? (L = [k]) : L.push(k), N++ + } else { + var q = !0 + const k = P.length + for (let v = 0; v < k; v++) { + let k = P[v] + const E = N + if (N === E) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (!(q = E === N)) break + } + if (q) { + let k, + v = P.length + if (v > 1) { + const E = {} + for (; v--; ) { + let R = P[v] + if ('string' == typeof R) { + if ('number' == typeof E[R]) { + k = E[R] + const P = { params: { i: v, j: k } } + null === L ? (L = [P]) : L.push(P), N++ + break + } + E[R] = v + } + } + } + } + } + else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var ae = Te === N + if (((Me = Me || ae), !Me)) { + const k = N + if (N === k) + if ('string' == typeof P) { + if (P.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ae = k === N), (Me = Me || ae) + } + if (Me) (N = Ie), null !== L && (Ie ? (L.length = Ie) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var le = _e === N + if (((ye = ye || le), !ye)) { + const q = N + m(P, { + instancePath: + v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: k, + parentDataProperty: E, + rootData: R, + }) || + ((L = null === L ? m.errors : L.concat(m.errors)), + (N = L.length)), + (le = q === N), + (ye = ye || le) + } + if (!ye) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (d.errors = L), !1 + } + if ( + ((N = me), + null !== L && (me ? (L.length = me) : (L = null)), + pe !== N) + ) + break + } + } + return (d.errors = L), 0 === N + } + function h( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1, + le = null + const pe = N, + me = N + let ye = !1 + const _e = N + if (N === _e) + if (Array.isArray(k)) + if (k.length < 1) { + const k = { params: { limit: 1 } } + null === L ? (L = [k]) : L.push(k), N++ + } else { + var Ie = !0 + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = N + if (N === P) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (!(Ie = P === N)) break + } + if (Ie) { + let v, + E = k.length + if (E > 1) { + const P = {} + for (; E--; ) { + let R = k[E] + if ('string' == typeof R) { + if ('number' == typeof P[R]) { + v = P[R] + const k = { params: { i: E, j: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + P[R] = E + } + } + } + } + } + else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var Me = _e === N + if (((ye = ye || Me), !ye)) { + const v = N + if (N === v) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(Me = v === N), (ye = ye || Me) + } + if (ye) (N = me), null !== L && (me ? (L.length = me) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if ((pe === N && ((ae = !0), (le = 0)), !ae)) { + const k = { params: { passingSchemas: le } } + return null === L ? (L = [k]) : L.push(k), N++, (h.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (h.errors = L), + 0 === N + ) + } + function g( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + d(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || ((L = null === L ? d.errors : L.concat(d.errors)), (N = L.length)) + var pe = le === N + if (((ae = ae || pe), !ae)) { + const q = N + h(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? h.errors : L.concat(h.errors)), (N = L.length)), + (pe = q === N), + (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (g.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (g.errors = L), + 0 === N + ) + } + function b( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (!(k instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const q = N + g(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? g.errors : L.concat(g.errors)), (N = L.length)), + (pe = q === N), + (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (b.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (b.errors = L), + 0 === N + ) + } + const N = { + type: 'object', + additionalProperties: !1, + properties: { + asyncWebAssembly: { type: 'boolean' }, + backCompat: { type: 'boolean' }, + buildHttp: { + anyOf: [ + { $ref: '#/definitions/HttpUriAllowedUris' }, + { $ref: '#/definitions/HttpUriOptions' }, + ], + }, + cacheUnaffected: { type: 'boolean' }, + css: { + anyOf: [ + { type: 'boolean' }, + { $ref: '#/definitions/CssExperimentOptions' }, + ], + }, + futureDefaults: { type: 'boolean' }, + layers: { type: 'boolean' }, + lazyCompilation: { + anyOf: [ + { type: 'boolean' }, + { $ref: '#/definitions/LazyCompilationOptions' }, + ], + }, + outputModule: { type: 'boolean' }, + syncWebAssembly: { type: 'boolean' }, + topLevelAwait: { type: 'boolean' }, + }, + }, + q = new RegExp('^https?://', 'u') + function D( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const ae = N + let le = !1, + pe = null + const me = N + if (N == N) + if (Array.isArray(k)) { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = N, + R = N + let ae = !1 + const le = N + if (!(v instanceof RegExp)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var ye = le === N + if (((ae = ae || ye), !ae)) { + const k = N + if (N === k) + if ('string' == typeof v) { + if (!q.test(v)) { + const k = { params: { pattern: '^https?://' } } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((ye = k === N), (ae = ae || ye), !ae)) { + const k = N + if (!(v instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ye = k === N), (ae = ae || ye) + } + } + if (ae) (N = R), null !== L && (R ? (L.length = R) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if ((me === N && ((le = !0), (pe = 0)), !le)) { + const k = { params: { passingSchemas: pe } } + return null === L ? (L = [k]) : L.push(k), N++, (D.errors = L), !1 + } + return ( + (N = ae), + null !== L && (ae ? (L.length = ae) : (L = null)), + (D.errors = L), + 0 === N + ) + } + function O( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + ae = 0 + if (0 === ae) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (O.errors = [{ params: { type: 'object' } }]), !1 + { + let E + if (void 0 === k.allowedUris && (E = 'allowedUris')) + return (O.errors = [{ params: { missingProperty: E } }]), !1 + { + const E = ae + for (const v in k) + if ( + 'allowedUris' !== v && + 'cacheLocation' !== v && + 'frozen' !== v && + 'lockfileLocation' !== v && + 'proxy' !== v && + 'upgrade' !== v + ) + return ( + (O.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (E === ae) { + if (void 0 !== k.allowedUris) { + let v = k.allowedUris + const E = ae + if (ae == ae) { + if (!Array.isArray(v)) + return (O.errors = [{ params: { type: 'array' } }]), !1 + { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = ae, + R = ae + let L = !1 + const pe = ae + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), ae++ + } + var le = pe === ae + if (((L = L || le), !L)) { + const v = ae + if (ae === v) + if ('string' == typeof k) { + if (!q.test(k)) { + const k = { params: { pattern: '^https?://' } } + null === N ? (N = [k]) : N.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), ae++ + } + if (((le = v === ae), (L = L || le), !L)) { + const v = ae + if (!(k instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), ae++ + } + ;(le = v === ae), (L = L || le) + } + } + if (!L) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + ae++, + (O.errors = N), + !1 + ) + } + if ( + ((ae = R), + null !== N && (R ? (N.length = R) : (N = null)), + P !== ae) + ) + break + } + } + } + var pe = E === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.cacheLocation) { + let E = k.cacheLocation + const P = ae, + R = ae + let L = !1 + const q = ae + if (!1 !== E) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), ae++ + } + var me = q === ae + if (((L = L || me), !L)) { + const k = ae + if (ae === k) + if ('string' == typeof E) { + if (E.includes('!') || !0 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), ae++ + } + ;(me = k === ae), (L = L || me) + } + if (!L) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + ae++, + (O.errors = N), + !1 + ) + } + ;(ae = R), + null !== N && (R ? (N.length = R) : (N = null)), + (pe = P === ae) + } else pe = !0 + if (pe) { + if (void 0 !== k.frozen) { + const v = ae + if ('boolean' != typeof k.frozen) + return ( + (O.errors = [{ params: { type: 'boolean' } }]), !1 + ) + pe = v === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.lockfileLocation) { + let E = k.lockfileLocation + const P = ae + if (ae === P) { + if ('string' != typeof E) + return ( + (O.errors = [{ params: { type: 'string' } }]), !1 + ) + if (E.includes('!') || !0 !== v.test(E)) + return (O.errors = [{ params: {} }]), !1 + } + pe = P === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.proxy) { + const v = ae + if ('string' != typeof k.proxy) + return ( + (O.errors = [{ params: { type: 'string' } }]), !1 + ) + pe = v === ae + } else pe = !0 + if (pe) + if (void 0 !== k.upgrade) { + const v = ae + if ('boolean' != typeof k.upgrade) + return ( + (O.errors = [{ params: { type: 'boolean' } }]), + !1 + ) + pe = v === ae + } else pe = !0 + } + } + } + } + } + } + } + } + return (O.errors = N), 0 === ae + } + function x( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (x.errors = [{ params: { type: 'object' } }]), !1 + { + const v = N + for (const v in k) + if ( + 'backend' !== v && + 'entries' !== v && + 'imports' !== v && + 'test' !== v + ) + return (x.errors = [{ params: { additionalProperty: v } }]), !1 + if (v === N) { + if (void 0 !== k.backend) { + let v = k.backend + const E = N, + P = N + let R = !1 + const _e = N + if (!(v instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = _e === N + if (((R = R || q), !R)) { + const k = N + if (N == N) + if (v && 'object' == typeof v && !Array.isArray(v)) { + const k = N + for (const k in v) + if ( + 'client' !== k && + 'listen' !== k && + 'protocol' !== k && + 'server' !== k + ) { + const v = { params: { additionalProperty: k } } + null === L ? (L = [v]) : L.push(v), N++ + break + } + if (k === N) { + if (void 0 !== v.client) { + const k = N + if ('string' != typeof v.client) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var ae = k === N + } else ae = !0 + if (ae) { + if (void 0 !== v.listen) { + let k = v.listen + const E = N, + P = N + let R = !1 + const q = N + if ('number' != typeof k) { + const k = { params: { type: 'number' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var le = q === N + if (((R = R || le), !R)) { + const v = N + if (N === v) + if ( + k && + 'object' == typeof k && + !Array.isArray(k) + ) { + if (void 0 !== k.host) { + const v = N + if ('string' != typeof k.host) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = v === N + } else pe = !0 + if (pe) + if (void 0 !== k.port) { + const v = N + if ('number' != typeof k.port) { + const k = { params: { type: 'number' } } + null === L ? (L = [k]) : L.push(k), N++ + } + pe = v === N + } else pe = !0 + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((le = v === N), (R = R || le), !R)) { + const v = N + if (!(k instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(le = v === N), (R = R || le) + } + } + if (R) + (N = P), + null !== L && (P ? (L.length = P) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ae = E === N + } else ae = !0 + if (ae) { + if (void 0 !== v.protocol) { + let k = v.protocol + const E = N + if ('http' !== k && 'https' !== k) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ae = E === N + } else ae = !0 + if (ae) + if (void 0 !== v.server) { + let k = v.server + const E = N, + P = N + let R = !1 + const q = N + if (N === q) + if ( + k && + 'object' == typeof k && + !Array.isArray(k) + ); + else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = q === N + if (((R = R || me), !R)) { + const v = N + if (!(k instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = v === N), (R = R || me) + } + if (R) + (N = P), + null !== L && + (P ? (L.length = P) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ae = E === N + } else ae = !0 + } + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(q = k === N), (R = R || q) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), N++, (x.errors = L), !1 + ) + } + ;(N = P), null !== L && (P ? (L.length = P) : (L = null)) + var ye = E === N + } else ye = !0 + if (ye) { + if (void 0 !== k.entries) { + const v = N + if ('boolean' != typeof k.entries) + return (x.errors = [{ params: { type: 'boolean' } }]), !1 + ye = v === N + } else ye = !0 + if (ye) { + if (void 0 !== k.imports) { + const v = N + if ('boolean' != typeof k.imports) + return (x.errors = [{ params: { type: 'boolean' } }]), !1 + ye = v === N + } else ye = !0 + if (ye) + if (void 0 !== k.test) { + let v = k.test + const E = N, + P = N + let R = !1 + const q = N + if (!(v instanceof RegExp)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var _e = q === N + if (((R = R || _e), !R)) { + const k = N + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((_e = k === N), (R = R || _e), !R)) { + const k = N + if (!(v instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(_e = k === N), (R = R || _e) + } + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (x.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (ye = E === N) + } else ye = !0 + } + } + } + } + } + return (x.errors = L), 0 === N + } + function A( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let q = null, + ae = 0 + if (0 === ae) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (A.errors = [{ params: { type: 'object' } }]), !1 + { + const E = ae + for (const v in k) + if (!P.call(N.properties, v)) + return (A.errors = [{ params: { additionalProperty: v } }]), !1 + if (E === ae) { + if (void 0 !== k.asyncWebAssembly) { + const v = ae + if ('boolean' != typeof k.asyncWebAssembly) + return (A.errors = [{ params: { type: 'boolean' } }]), !1 + var le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.backCompat) { + const v = ae + if ('boolean' != typeof k.backCompat) + return (A.errors = [{ params: { type: 'boolean' } }]), !1 + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.buildHttp) { + let E = k.buildHttp + const P = ae, + R = ae + let N = !1 + const me = ae + D(E, { + instancePath: v + '/buildHttp', + parentData: k, + parentDataProperty: 'buildHttp', + rootData: L, + }) || + ((q = null === q ? D.errors : q.concat(D.errors)), + (ae = q.length)) + var pe = me === ae + if (((N = N || pe), !N)) { + const P = ae + O(E, { + instancePath: v + '/buildHttp', + parentData: k, + parentDataProperty: 'buildHttp', + rootData: L, + }) || + ((q = null === q ? O.errors : q.concat(O.errors)), + (ae = q.length)), + (pe = P === ae), + (N = N || pe) + } + if (!N) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (A.errors = q), + !1 + ) + } + ;(ae = R), + null !== q && (R ? (q.length = R) : (q = null)), + (le = P === ae) + } else le = !0 + if (le) { + if (void 0 !== k.cacheUnaffected) { + const v = ae + if ('boolean' != typeof k.cacheUnaffected) + return ( + (A.errors = [{ params: { type: 'boolean' } }]), !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.css) { + let v = k.css + const E = ae, + P = ae + let R = !1 + const L = ae + if ('boolean' != typeof v) { + const k = { params: { type: 'boolean' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var me = L === ae + if (((R = R || me), !R)) { + const k = ae + if (ae == ae) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) { + const k = ae + for (const k in v) + if ('exportsOnly' !== k) { + const v = { + params: { additionalProperty: k }, + } + null === q ? (q = [v]) : q.push(v), ae++ + break + } + if ( + k === ae && + void 0 !== v.exportsOnly && + 'boolean' != typeof v.exportsOnly + ) { + const k = { params: { type: 'boolean' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'object' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(me = k === ae), (R = R || me) + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (A.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.futureDefaults) { + const v = ae + if ('boolean' != typeof k.futureDefaults) + return ( + (A.errors = [{ params: { type: 'boolean' } }]), !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.layers) { + const v = ae + if ('boolean' != typeof k.layers) + return ( + (A.errors = [{ params: { type: 'boolean' } }]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.lazyCompilation) { + let E = k.lazyCompilation + const P = ae, + R = ae + let N = !1 + const pe = ae + if ('boolean' != typeof E) { + const k = { params: { type: 'boolean' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var ye = pe === ae + if (((N = N || ye), !N)) { + const P = ae + x(E, { + instancePath: v + '/lazyCompilation', + parentData: k, + parentDataProperty: 'lazyCompilation', + rootData: L, + }) || + ((q = + null === q ? x.errors : q.concat(x.errors)), + (ae = q.length)), + (ye = P === ae), + (N = N || ye) + } + if (!N) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (A.errors = q), + !1 + ) + } + ;(ae = R), + null !== q && (R ? (q.length = R) : (q = null)), + (le = P === ae) + } else le = !0 + if (le) { + if (void 0 !== k.outputModule) { + const v = ae + if ('boolean' != typeof k.outputModule) + return ( + (A.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.syncWebAssembly) { + const v = ae + if ('boolean' != typeof k.syncWebAssembly) + return ( + (A.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) + if (void 0 !== k.topLevelAwait) { + const v = ae + if ('boolean' != typeof k.topLevelAwait) + return ( + (A.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + } + } + } + } + } + } + } + } + } + } + } + } + return (A.errors = q), 0 === ae + } + function C( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) { + const v = k.length + for (let E = 0; E < v; E++) { + const v = N + if ('string' != typeof k[E]) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (v !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const v = N + if ('string' != typeof k) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (C.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (C.errors = L), + 0 === N + ) + } + const ae = { validate: $ } + function $( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let le = !1 + const pe = N + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = pe === N + if (((le = le || me), !le)) { + const E = N + if ('string' != typeof k) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((me = E === N), (le = le || me), !le)) { + const E = N + if (N === E) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const E = N + for (const v in k) + if ('byLayer' !== v) { + let E = k[v] + const P = N, + R = N + let q = !1 + const ae = N + if (N === ae) + if (Array.isArray(E)) { + const k = E.length + for (let v = 0; v < k; v++) { + let k = E[v] + const P = N + if (N === P) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var ye = ae === N + if (((q = q || ye), !q)) { + const k = N + if ('boolean' != typeof E) { + const k = { params: { type: 'boolean' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((ye = k === N), (q = q || ye), !q)) { + const k = N + if ('string' != typeof E) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((ye = k === N), (q = q || ye), !q)) { + const k = N + if (!E || 'object' != typeof E || Array.isArray(E)) { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ye = k === N), (q = q || ye) + } + } + } + if (q) + (N = R), null !== L && (R ? (L.length = R) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + if (E === N && void 0 !== k.byLayer) { + let E = k.byLayer + const P = N + let q = !1 + const le = N + if (N === le) + if (E && 'object' == typeof E && !Array.isArray(E)) + for (const k in E) { + const P = N + if ( + (ae.validate(E[k], { + instancePath: + v + + '/byLayer/' + + k.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: E, + parentDataProperty: k, + rootData: R, + }) || + ((L = + null === L + ? ae.validate.errors + : L.concat(ae.validate.errors)), + (N = L.length)), + P !== N) + ) + break + } + else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var _e = le === N + if (((q = q || _e), !q)) { + const k = N + if (!(E instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(_e = k === N), (q = q || _e) + } + if (q) + (N = P), null !== L && (P ? (L.length = P) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((me = E === N), (le = le || me), !le)) { + const v = N + if (!(k instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = v === N), (le = le || me) + } + } + } + if (!le) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, ($.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + ($.errors = L), + 0 === N + ) + } + function S( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) { + const E = k.length + for (let P = 0; P < E; P++) { + const E = N + if ( + ($(k[P], { + instancePath: v + '/' + P, + parentData: k, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? $.errors : L.concat($.errors)), + (N = L.length)), + E !== N) + ) + break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const q = N + $(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? $.errors : L.concat($.errors)), (N = L.length)), + (pe = q === N), + (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (S.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (S.errors = L), + 0 === N + ) + } + function j( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + const ae = q + let le = !1 + const pe = q + if (q === pe) + if (Array.isArray(k)) { + const E = k.length + for (let P = 0; P < E; P++) { + let E = k[P] + const R = q, + L = q + let ae = !1, + le = null + const pe = q, + ye = q + let _e = !1 + const Ie = q + if (!(E instanceof RegExp)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + var me = Ie === q + if (((_e = _e || me), !_e)) { + const k = q + if (q === k) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (((me = k === q), (_e = _e || me), !_e)) { + const k = q + if (!(E instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(me = k === q), (_e = _e || me) + } + } + if (_e) + (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + if ((pe === q && ((ae = !0), (le = 0)), ae)) + (q = L), null !== N && (L ? (N.length = L) : (N = null)) + else { + const k = { params: { passingSchemas: le } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (R !== q) break + } + } else { + const k = { params: { type: 'array' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var ye = pe === q + if (((le = le || ye), !le)) { + const E = q, + P = q + let R = !1 + const L = q + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + var _e = L === q + if (((R = R || _e), !R)) { + const E = q + if (q === E) + if ('string' == typeof k) { + if (k.includes('!') || !1 !== v.test(k)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (((_e = E === q), (R = R || _e), !R)) { + const v = q + if (!(k instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(_e = v === q), (R = R || _e) + } + } + if (R) (q = P), null !== N && (P ? (N.length = P) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(ye = E === q), (le = le || ye) + } + if (!le) { + const k = { params: {} } + return null === N ? (N = [k]) : N.push(k), q++, (j.errors = N), !1 + } + return ( + (q = ae), + null !== N && (ae ? (N.length = ae) : (N = null)), + (j.errors = N), + 0 === q + ) + } + function F( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (F.errors = [{ params: { type: 'object' } }]), !1 + { + const E = N + for (const v in k) + if ( + 'appendOnly' !== v && + 'colors' !== v && + 'console' !== v && + 'debug' !== v && + 'level' !== v && + 'stream' !== v + ) + return (F.errors = [{ params: { additionalProperty: v } }]), !1 + if (E === N) { + if (void 0 !== k.appendOnly) { + const v = N + if ('boolean' != typeof k.appendOnly) + return (F.errors = [{ params: { type: 'boolean' } }]), !1 + var q = v === N + } else q = !0 + if (q) { + if (void 0 !== k.colors) { + const v = N + if ('boolean' != typeof k.colors) + return (F.errors = [{ params: { type: 'boolean' } }]), !1 + q = v === N + } else q = !0 + if (q) { + if (void 0 !== k.debug) { + let E = k.debug + const P = N, + le = N + let pe = !1 + const me = N + if ('boolean' != typeof E) { + const k = { params: { type: 'boolean' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var ae = me === N + if (((pe = pe || ae), !pe)) { + const P = N + j(E, { + instancePath: v + '/debug', + parentData: k, + parentDataProperty: 'debug', + rootData: R, + }) || + ((L = null === L ? j.errors : L.concat(j.errors)), + (N = L.length)), + (ae = P === N), + (pe = pe || ae) + } + if (!pe) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (F.errors = L), + !1 + ) + } + ;(N = le), + null !== L && (le ? (L.length = le) : (L = null)), + (q = P === N) + } else q = !0 + if (q) + if (void 0 !== k.level) { + let v = k.level + const E = N + if ( + 'none' !== v && + 'error' !== v && + 'warn' !== v && + 'info' !== v && + 'log' !== v && + 'verbose' !== v + ) + return (F.errors = [{ params: {} }]), !1 + q = E === N + } else q = !0 + } + } + } + } + } + return (F.errors = L), 0 === N + } + const le = { + type: 'object', + additionalProperties: !1, + properties: { + defaultRules: { oneOf: [{ $ref: '#/definitions/RuleSetRules' }] }, + exprContextCritical: { type: 'boolean' }, + exprContextRecursive: { type: 'boolean' }, + exprContextRegExp: { + anyOf: [{ instanceof: 'RegExp' }, { type: 'boolean' }], + }, + exprContextRequest: { type: 'string' }, + generator: { $ref: '#/definitions/GeneratorOptionsByModuleType' }, + noParse: { $ref: '#/definitions/NoParse' }, + parser: { $ref: '#/definitions/ParserOptionsByModuleType' }, + rules: { oneOf: [{ $ref: '#/definitions/RuleSetRules' }] }, + strictExportPresence: { type: 'boolean' }, + strictThisContextOnImports: { type: 'boolean' }, + unknownContextCritical: { type: 'boolean' }, + unknownContextRecursive: { type: 'boolean' }, + unknownContextRegExp: { + anyOf: [{ instanceof: 'RegExp' }, { type: 'boolean' }], + }, + unknownContextRequest: { type: 'string' }, + unsafeCache: { + anyOf: [{ type: 'boolean' }, { instanceof: 'Function' }], + }, + wrappedContextCritical: { type: 'boolean' }, + wrappedContextRecursive: { type: 'boolean' }, + wrappedContextRegExp: { instanceof: 'RegExp' }, + }, + }, + pe = { + type: 'object', + additionalProperties: !1, + properties: { + assert: { + type: 'object', + additionalProperties: { + $ref: '#/definitions/RuleSetConditionOrConditions', + }, + }, + compiler: { + oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], + }, + dependency: { + oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], + }, + descriptionData: { + type: 'object', + additionalProperties: { + $ref: '#/definitions/RuleSetConditionOrConditions', + }, + }, + enforce: { enum: ['pre', 'post'] }, + exclude: { + oneOf: [ + { $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute' }, + ], + }, + generator: { type: 'object' }, + include: { + oneOf: [ + { $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute' }, + ], + }, + issuer: { + oneOf: [ + { $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute' }, + ], + }, + issuerLayer: { + oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], + }, + layer: { type: 'string' }, + loader: { oneOf: [{ $ref: '#/definitions/RuleSetLoader' }] }, + mimetype: { + oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], + }, + oneOf: { + type: 'array', + items: { oneOf: [{ $ref: '#/definitions/RuleSetRule' }] }, + }, + options: { + oneOf: [{ $ref: '#/definitions/RuleSetLoaderOptions' }], + }, + parser: { type: 'object', additionalProperties: !0 }, + realResource: { + oneOf: [ + { $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute' }, + ], + }, + resolve: { + type: 'object', + oneOf: [{ $ref: '#/definitions/ResolveOptions' }], + }, + resource: { + oneOf: [ + { $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute' }, + ], + }, + resourceFragment: { + oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], + }, + resourceQuery: { + oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], + }, + rules: { + type: 'array', + items: { oneOf: [{ $ref: '#/definitions/RuleSetRule' }] }, + }, + scheme: { + oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], + }, + sideEffects: { type: 'boolean' }, + test: { + oneOf: [ + { $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute' }, + ], + }, + type: { type: 'string' }, + use: { oneOf: [{ $ref: '#/definitions/RuleSetUse' }] }, + }, + }, + me = { validate: w } + function z( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!Array.isArray(k)) + return (z.errors = [{ params: { type: 'array' } }]), !1 + { + const E = k.length + for (let P = 0; P < E; P++) { + const E = N, + q = N + let ae = !1, + le = null + const pe = N + if ( + (me.validate(k[P], { + instancePath: v + '/' + P, + parentData: k, + parentDataProperty: P, + rootData: R, + }) || + ((L = + null === L + ? me.validate.errors + : L.concat(me.validate.errors)), + (N = L.length)), + pe === N && ((ae = !0), (le = 0)), + !ae) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === L ? (L = [k]) : L.push(k), N++, (z.errors = L), !1 + ) + } + if ( + ((N = q), + null !== L && (q ? (L.length = q) : (L = null)), + E !== N) + ) + break + } + } + } + return (z.errors = L), 0 === N + } + function M( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (M.errors = [{ params: { type: 'object' } }]), !1 + { + const E = N + for (const v in k) + if ('and' !== v && 'not' !== v && 'or' !== v) + return (M.errors = [{ params: { additionalProperty: v } }]), !1 + if (E === N) { + if (void 0 !== k.and) { + const E = N, + P = N + let ae = !1, + le = null + const pe = N + if ( + (z(k.and, { + instancePath: v + '/and', + parentData: k, + parentDataProperty: 'and', + rootData: R, + }) || + ((L = null === L ? z.errors : L.concat(z.errors)), + (N = L.length)), + pe === N && ((ae = !0), (le = 0)), + !ae) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === L ? (L = [k]) : L.push(k), N++, (M.errors = L), !1 + ) + } + ;(N = P), null !== L && (P ? (L.length = P) : (L = null)) + var q = E === N + } else q = !0 + if (q) { + if (void 0 !== k.not) { + const E = N, + P = N + let ae = !1, + le = null + const pe = N + if ( + (me.validate(k.not, { + instancePath: v + '/not', + parentData: k, + parentDataProperty: 'not', + rootData: R, + }) || + ((L = + null === L + ? me.validate.errors + : L.concat(me.validate.errors)), + (N = L.length)), + pe === N && ((ae = !0), (le = 0)), + !ae) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (M.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (q = E === N) + } else q = !0 + if (q) + if (void 0 !== k.or) { + const E = N, + P = N + let ae = !1, + le = null + const pe = N + if ( + (z(k.or, { + instancePath: v + '/or', + parentData: k, + parentDataProperty: 'or', + rootData: R, + }) || + ((L = null === L ? z.errors : L.concat(z.errors)), + (N = L.length)), + pe === N && ((ae = !0), (le = 0)), + !ae) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (M.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (q = E === N) + } else q = !0 + } + } + } + } + return (M.errors = L), 0 === N + } + function w( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const q = N + if ('string' != typeof k) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((pe = q === N), (ae = ae || pe), !ae)) { + const q = N + if (!(k instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((pe = q === N), (ae = ae || pe), !ae)) { + const q = N + if ( + (M(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? M.errors : L.concat(M.errors)), + (N = L.length)), + (pe = q === N), + (ae = ae || pe), + !ae) + ) { + const q = N + z(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? z.errors : L.concat(z.errors)), + (N = L.length)), + (pe = q === N), + (ae = ae || pe) + } + } + } + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (w.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (w.errors = L), + 0 === N + ) + } + function T( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + w(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || ((L = null === L ? w.errors : L.concat(w.errors)), (N = L.length)) + var pe = le === N + if (((ae = ae || pe), !ae)) { + const q = N + z(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? z.errors : L.concat(z.errors)), (N = L.length)), + (pe = q === N), + (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (T.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (T.errors = L), + 0 === N + ) + } + const ye = { validate: W } + function I( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!Array.isArray(k)) + return (I.errors = [{ params: { type: 'array' } }]), !1 + { + const E = k.length + for (let P = 0; P < E; P++) { + const E = N, + q = N + let ae = !1, + le = null + const pe = N + if ( + (ye.validate(k[P], { + instancePath: v + '/' + P, + parentData: k, + parentDataProperty: P, + rootData: R, + }) || + ((L = + null === L + ? ye.validate.errors + : L.concat(ye.validate.errors)), + (N = L.length)), + pe === N && ((ae = !0), (le = 0)), + !ae) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === L ? (L = [k]) : L.push(k), N++, (I.errors = L), !1 + ) + } + if ( + ((N = q), + null !== L && (q ? (L.length = q) : (L = null)), + E !== N) + ) + break + } + } + } + return (I.errors = L), 0 === N + } + function U( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (U.errors = [{ params: { type: 'object' } }]), !1 + { + const E = N + for (const v in k) + if ('and' !== v && 'not' !== v && 'or' !== v) + return (U.errors = [{ params: { additionalProperty: v } }]), !1 + if (E === N) { + if (void 0 !== k.and) { + const E = N, + P = N + let ae = !1, + le = null + const pe = N + if ( + (I(k.and, { + instancePath: v + '/and', + parentData: k, + parentDataProperty: 'and', + rootData: R, + }) || + ((L = null === L ? I.errors : L.concat(I.errors)), + (N = L.length)), + pe === N && ((ae = !0), (le = 0)), + !ae) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === L ? (L = [k]) : L.push(k), N++, (U.errors = L), !1 + ) + } + ;(N = P), null !== L && (P ? (L.length = P) : (L = null)) + var q = E === N + } else q = !0 + if (q) { + if (void 0 !== k.not) { + const E = N, + P = N + let ae = !1, + le = null + const pe = N + if ( + (ye.validate(k.not, { + instancePath: v + '/not', + parentData: k, + parentDataProperty: 'not', + rootData: R, + }) || + ((L = + null === L + ? ye.validate.errors + : L.concat(ye.validate.errors)), + (N = L.length)), + pe === N && ((ae = !0), (le = 0)), + !ae) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (U.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (q = E === N) + } else q = !0 + if (q) + if (void 0 !== k.or) { + const E = N, + P = N + let ae = !1, + le = null + const pe = N + if ( + (I(k.or, { + instancePath: v + '/or', + parentData: k, + parentDataProperty: 'or', + rootData: R, + }) || + ((L = null === L ? I.errors : L.concat(I.errors)), + (N = L.length)), + pe === N && ((ae = !0), (le = 0)), + !ae) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (U.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (q = E === N) + } else q = !0 + } + } + } + } + return (U.errors = L), 0 === N + } + function W( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + const ae = q + let le = !1 + const pe = q + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + var me = pe === q + if (((le = le || me), !le)) { + const ae = q + if (q === ae) + if ('string' == typeof k) { + if (k.includes('!') || !0 !== v.test(k)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (((me = ae === q), (le = le || me), !le)) { + const v = q + if (!(k instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + if (((me = v === q), (le = le || me), !le)) { + const v = q + if ( + (U(k, { + instancePath: E, + parentData: P, + parentDataProperty: R, + rootData: L, + }) || + ((N = null === N ? U.errors : N.concat(U.errors)), + (q = N.length)), + (me = v === q), + (le = le || me), + !le) + ) { + const v = q + I(k, { + instancePath: E, + parentData: P, + parentDataProperty: R, + rootData: L, + }) || + ((N = null === N ? I.errors : N.concat(I.errors)), + (q = N.length)), + (me = v === q), + (le = le || me) + } + } + } + } + if (!le) { + const k = { params: {} } + return null === N ? (N = [k]) : N.push(k), q++, (W.errors = N), !1 + } + return ( + (q = ae), + null !== N && (ae ? (N.length = ae) : (N = null)), + (W.errors = N), + 0 === q + ) + } + function G( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + W(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || ((L = null === L ? W.errors : L.concat(W.errors)), (N = L.length)) + var pe = le === N + if (((ae = ae || pe), !ae)) { + const q = N + I(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? I.errors : L.concat(I.errors)), (N = L.length)), + (pe = q === N), + (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (G.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (G.errors = L), + 0 === N + ) + } + const _e = { + type: 'object', + additionalProperties: !1, + properties: { + alias: { $ref: '#/definitions/ResolveAlias' }, + aliasFields: { + type: 'array', + items: { + anyOf: [ + { type: 'array', items: { type: 'string', minLength: 1 } }, + { type: 'string', minLength: 1 }, + ], + }, + }, + byDependency: { + type: 'object', + additionalProperties: { + oneOf: [{ $ref: '#/definitions/ResolveOptions' }], + }, + }, + cache: { type: 'boolean' }, + cachePredicate: { instanceof: 'Function' }, + cacheWithContext: { type: 'boolean' }, + conditionNames: { type: 'array', items: { type: 'string' } }, + descriptionFiles: { + type: 'array', + items: { type: 'string', minLength: 1 }, + }, + enforceExtension: { type: 'boolean' }, + exportsFields: { type: 'array', items: { type: 'string' } }, + extensionAlias: { + type: 'object', + additionalProperties: { + anyOf: [ + { type: 'array', items: { type: 'string', minLength: 1 } }, + { type: 'string', minLength: 1 }, + ], + }, + }, + extensions: { type: 'array', items: { type: 'string' } }, + fallback: { oneOf: [{ $ref: '#/definitions/ResolveAlias' }] }, + fileSystem: {}, + fullySpecified: { type: 'boolean' }, + importsFields: { type: 'array', items: { type: 'string' } }, + mainFields: { + type: 'array', + items: { + anyOf: [ + { type: 'array', items: { type: 'string', minLength: 1 } }, + { type: 'string', minLength: 1 }, + ], + }, + }, + mainFiles: { + type: 'array', + items: { type: 'string', minLength: 1 }, + }, + modules: { type: 'array', items: { type: 'string', minLength: 1 } }, + plugins: { + type: 'array', + items: { + anyOf: [ + { enum: ['...'] }, + { $ref: '#/definitions/ResolvePluginInstance' }, + ], + }, + }, + preferAbsolute: { type: 'boolean' }, + preferRelative: { type: 'boolean' }, + resolver: {}, + restrictions: { + type: 'array', + items: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', absolutePath: !0, minLength: 1 }, + ], + }, + }, + roots: { type: 'array', items: { type: 'string' } }, + symlinks: { type: 'boolean' }, + unsafeCache: { + anyOf: [ + { type: 'boolean' }, + { type: 'object', additionalProperties: !0 }, + ], + }, + useSyncFileSystemCalls: { type: 'boolean' }, + }, + }, + Ie = { validate: H } + function H( + k, + { + instancePath: E = '', + parentData: R, + parentDataProperty: L, + rootData: N = k, + } = {} + ) { + let q = null, + ae = 0 + if (0 === ae) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (H.errors = [{ params: { type: 'object' } }]), !1 + { + const R = ae + for (const v in k) + if (!P.call(_e.properties, v)) + return (H.errors = [{ params: { additionalProperty: v } }]), !1 + if (R === ae) { + if (void 0 !== k.alias) { + let v = k.alias + const E = ae, + P = ae + let R = !1 + const L = ae + if (ae === L) + if (Array.isArray(v)) { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = ae + if (ae === P) + if (k && 'object' == typeof k && !Array.isArray(k)) { + let v + if ( + (void 0 === k.alias && (v = 'alias')) || + (void 0 === k.name && (v = 'name')) + ) { + const k = { params: { missingProperty: v } } + null === q ? (q = [k]) : q.push(k), ae++ + } else { + const v = ae + for (const v in k) + if ( + 'alias' !== v && + 'name' !== v && + 'onlyModule' !== v + ) { + const k = { params: { additionalProperty: v } } + null === q ? (q = [k]) : q.push(k), ae++ + break + } + if (v === ae) { + if (void 0 !== k.alias) { + let v = k.alias + const E = ae, + P = ae + let R = !1 + const L = ae + if (ae === L) + if (Array.isArray(v)) { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = ae + if (ae === P) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'string' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + if (P !== ae) break + } + } else { + const k = { params: { type: 'array' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var le = L === ae + if (((R = R || le), !R)) { + const k = ae + if (!1 !== v) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (((le = k === ae), (R = R || le), !R)) { + const k = ae + if (ae === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), + ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(le = k === ae), (R = R || le) + } + } + if (R) + (ae = P), + null !== q && + (P ? (q.length = P) : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var pe = E === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.name) { + const v = ae + if ('string' != typeof k.name) { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + pe = v === ae + } else pe = !0 + if (pe) + if (void 0 !== k.onlyModule) { + const v = ae + if ('boolean' != typeof k.onlyModule) { + const k = { params: { type: 'boolean' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + pe = v === ae + } else pe = !0 + } + } + } + } else { + const k = { params: { type: 'object' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (P !== ae) break + } + } else { + const k = { params: { type: 'array' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var me = L === ae + if (((R = R || me), !R)) { + const k = ae + if (ae === k) + if (v && 'object' == typeof v && !Array.isArray(v)) + for (const k in v) { + let E = v[k] + const P = ae, + R = ae + let L = !1 + const N = ae + if (ae === N) + if (Array.isArray(E)) { + const k = E.length + for (let v = 0; v < k; v++) { + let k = E[v] + const P = ae + if (ae === P) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (P !== ae) break + } + } else { + const k = { params: { type: 'array' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var ye = N === ae + if (((L = L || ye), !L)) { + const k = ae + if (!1 !== E) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (((ye = k === ae), (L = L || ye), !L)) { + const k = ae + if (ae === k) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(ye = k === ae), (L = L || ye) + } + } + if (L) + (ae = R), + null !== q && (R ? (q.length = R) : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (P !== ae) break + } + else { + const k = { params: { type: 'object' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(me = k === ae), (R = R || me) + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), ae++, (H.errors = q), !1 + ) + } + ;(ae = P), null !== q && (P ? (q.length = P) : (q = null)) + var Me = E === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.aliasFields) { + let v = k.aliasFields + const E = ae + if (ae === E) { + if (!Array.isArray(v)) + return (H.errors = [{ params: { type: 'array' } }]), !1 + { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = ae, + R = ae + let L = !1 + const N = ae + if (ae === N) + if (Array.isArray(k)) { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = ae + if (ae === P) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (P !== ae) break + } + } else { + const k = { params: { type: 'array' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var Te = N === ae + if (((L = L || Te), !L)) { + const v = ae + if (ae === v) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(Te = v === ae), (L = L || Te) + } + if (!L) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (H.errors = q), + !1 + ) + } + if ( + ((ae = R), + null !== q && (R ? (q.length = R) : (q = null)), + P !== ae) + ) + break + } + } + } + Me = E === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.byDependency) { + let v = k.byDependency + const P = ae + if (ae === P) { + if (!v || 'object' != typeof v || Array.isArray(v)) + return (H.errors = [{ params: { type: 'object' } }]), !1 + for (const k in v) { + const P = ae, + R = ae + let L = !1, + le = null + const pe = ae + if ( + (Ie.validate(v[k], { + instancePath: + E + + '/byDependency/' + + k.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: v, + parentDataProperty: k, + rootData: N, + }) || + ((q = + null === q + ? Ie.validate.errors + : q.concat(Ie.validate.errors)), + (ae = q.length)), + pe === ae && ((L = !0), (le = 0)), + !L) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (H.errors = q), + !1 + ) + } + if ( + ((ae = R), + null !== q && (R ? (q.length = R) : (q = null)), + P !== ae) + ) + break + } + } + Me = P === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.cache) { + const v = ae + if ('boolean' != typeof k.cache) + return ( + (H.errors = [{ params: { type: 'boolean' } }]), !1 + ) + Me = v === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.cachePredicate) { + const v = ae + if (!(k.cachePredicate instanceof Function)) + return (H.errors = [{ params: {} }]), !1 + Me = v === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.cacheWithContext) { + const v = ae + if ('boolean' != typeof k.cacheWithContext) + return ( + (H.errors = [{ params: { type: 'boolean' } }]), !1 + ) + Me = v === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.conditionNames) { + let v = k.conditionNames + const E = ae + if (ae === E) { + if (!Array.isArray(v)) + return ( + (H.errors = [{ params: { type: 'array' } }]), + !1 + ) + { + const k = v.length + for (let E = 0; E < k; E++) { + const k = ae + if ('string' != typeof v[E]) + return ( + (H.errors = [ + { params: { type: 'string' } }, + ]), + !1 + ) + if (k !== ae) break + } + } + } + Me = E === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.descriptionFiles) { + let v = k.descriptionFiles + const E = ae + if (ae === E) { + if (!Array.isArray(v)) + return ( + (H.errors = [ + { params: { type: 'array' } }, + ]), + !1 + ) + { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = ae + if (ae === P) { + if ('string' != typeof k) + return ( + (H.errors = [ + { params: { type: 'string' } }, + ]), + !1 + ) + if (k.length < 1) + return (H.errors = [{ params: {} }]), !1 + } + if (P !== ae) break + } + } + } + Me = E === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.enforceExtension) { + const v = ae + if ('boolean' != typeof k.enforceExtension) + return ( + (H.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + Me = v === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.exportsFields) { + let v = k.exportsFields + const E = ae + if (ae === E) { + if (!Array.isArray(v)) + return ( + (H.errors = [ + { params: { type: 'array' } }, + ]), + !1 + ) + { + const k = v.length + for (let E = 0; E < k; E++) { + const k = ae + if ('string' != typeof v[E]) + return ( + (H.errors = [ + { params: { type: 'string' } }, + ]), + !1 + ) + if (k !== ae) break + } + } + } + Me = E === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.extensionAlias) { + let v = k.extensionAlias + const E = ae + if (ae === E) { + if ( + !v || + 'object' != typeof v || + Array.isArray(v) + ) + return ( + (H.errors = [ + { params: { type: 'object' } }, + ]), + !1 + ) + for (const k in v) { + let E = v[k] + const P = ae, + R = ae + let L = !1 + const N = ae + if (ae === N) + if (Array.isArray(E)) { + const k = E.length + for (let v = 0; v < k; v++) { + let k = E[v] + const P = ae + if (ae === P) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'string' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (P !== ae) break + } + } else { + const k = { + params: { type: 'array' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + var je = N === ae + if (((L = L || je), !L)) { + const k = ae + if (ae === k) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'string' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(je = k === ae), (L = L || je) + } + if (!L) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (H.errors = q), + !1 + ) + } + if ( + ((ae = R), + null !== q && + (R ? (q.length = R) : (q = null)), + P !== ae) + ) + break + } + } + Me = E === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.extensions) { + let v = k.extensions + const E = ae + if (ae === E) { + if (!Array.isArray(v)) + return ( + (H.errors = [ + { params: { type: 'array' } }, + ]), + !1 + ) + { + const k = v.length + for (let E = 0; E < k; E++) { + const k = ae + if ('string' != typeof v[E]) + return ( + (H.errors = [ + { + params: { type: 'string' }, + }, + ]), + !1 + ) + if (k !== ae) break + } + } + } + Me = E === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.fallback) { + let v = k.fallback + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + le = ae + let pe = !1 + const me = ae + if (ae === me) + if (Array.isArray(v)) { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = ae + if (ae === P) + if ( + k && + 'object' == typeof k && + !Array.isArray(k) + ) { + let v + if ( + (void 0 === k.alias && + (v = 'alias')) || + (void 0 === k.name && + (v = 'name')) + ) { + const k = { + params: { + missingProperty: v, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } else { + const v = ae + for (const v in k) + if ( + 'alias' !== v && + 'name' !== v && + 'onlyModule' !== v + ) { + const k = { + params: { + additionalProperty: + v, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + break + } + if (v === ae) { + if (void 0 !== k.alias) { + let v = k.alias + const E = ae, + P = ae + let R = !1 + const L = ae + if (ae === L) + if ( + Array.isArray(v) + ) { + const k = v.length + for ( + let E = 0; + E < k; + E++ + ) { + let k = v[E] + const P = ae + if (ae === P) + if ( + 'string' == + typeof k + ) { + if ( + k.length < 1 + ) { + const k = { + params: + {}, + } + null === q + ? (q = [ + k, + ]) + : q.push( + k + ), + ae++ + } + } else { + const k = { + params: { + type: 'string', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (P !== ae) + break + } + } else { + const k = { + params: { + type: 'array', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Ne = L === ae + if ( + ((R = R || Ne), !R) + ) { + const k = ae + if (!1 !== v) { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if ( + ((Ne = k === ae), + (R = R || Ne), + !R) + ) { + const k = ae + if (ae === k) + if ( + 'string' == + typeof v + ) { + if ( + v.length < 1 + ) { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { + type: 'string', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Ne = k === ae), + (R = R || Ne) + } + } + if (R) + (ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)) + else { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Be = E === ae + } else Be = !0 + if (Be) { + if (void 0 !== k.name) { + const v = ae + if ( + 'string' != + typeof k.name + ) { + const k = { + params: { + type: 'string', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + Be = v === ae + } else Be = !0 + if (Be) + if ( + void 0 !== + k.onlyModule + ) { + const v = ae + if ( + 'boolean' != + typeof k.onlyModule + ) { + const k = { + params: { + type: 'boolean', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + Be = v === ae + } else Be = !0 + } + } + } + } else { + const k = { + params: { type: 'object' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (P !== ae) break + } + } else { + const k = { + params: { type: 'array' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + var qe = me === ae + if (((pe = pe || qe), !pe)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) + for (const k in v) { + let E = v[k] + const P = ae, + R = ae + let L = !1 + const N = ae + if (ae === N) + if (Array.isArray(E)) { + const k = E.length + for ( + let v = 0; + v < k; + v++ + ) { + let k = E[v] + const P = ae + if (ae === P) + if ( + 'string' == typeof k + ) { + if (k.length < 1) { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { + type: 'string', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (P !== ae) break + } + } else { + const k = { + params: { type: 'array' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Ue = N === ae + if (((L = L || Ue), !L)) { + const k = ae + if (!1 !== E) { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if ( + ((Ue = k === ae), + (L = L || Ue), + !L) + ) { + const k = ae + if (ae === k) + if ( + 'string' == typeof E + ) { + if (E.length < 1) { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { + type: 'string', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Ue = k === ae), + (L = L || Ue) + } + } + if (L) + (ae = R), + null !== q && + (R + ? (q.length = R) + : (q = null)) + else { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (P !== ae) break + } + else { + const k = { + params: { type: 'object' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(qe = k === ae), (pe = pe || qe) + } + if (pe) + (ae = le), + null !== q && + (le + ? (q.length = le) + : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), + ae++ + } + if ( + (N === ae && ((R = !0), (L = 0)), !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (H.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (Me = E === ae) + } else Me = !0 + if (Me) { + if (void 0 !== k.fullySpecified) { + const v = ae + if ( + 'boolean' != typeof k.fullySpecified + ) + return ( + (H.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + Me = v === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.importsFields) { + let v = k.importsFields + const E = ae + if (ae === E) { + if (!Array.isArray(v)) + return ( + (H.errors = [ + { + params: { type: 'array' }, + }, + ]), + !1 + ) + { + const k = v.length + for (let E = 0; E < k; E++) { + const k = ae + if ('string' != typeof v[E]) + return ( + (H.errors = [ + { + params: { + type: 'string', + }, + }, + ]), + !1 + ) + if (k !== ae) break + } + } + } + Me = E === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.mainFields) { + let v = k.mainFields + const E = ae + if (ae === E) { + if (!Array.isArray(v)) + return ( + (H.errors = [ + { + params: { + type: 'array', + }, + }, + ]), + !1 + ) + { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = ae, + R = ae + let L = !1 + const N = ae + if (ae === N) + if (Array.isArray(k)) { + const v = k.length + for ( + let E = 0; + E < v; + E++ + ) { + let v = k[E] + const P = ae + if (ae === P) + if ( + 'string' == + typeof v + ) { + if ( + v.length < 1 + ) { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { + type: 'string', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (P !== ae) break + } + } else { + const k = { + params: { + type: 'array', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Ge = N === ae + if (((L = L || Ge), !L)) { + const v = ae + if (ae === v) + if ( + 'string' == typeof k + ) { + if (k.length < 1) { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { + type: 'string', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Ge = v === ae), + (L = L || Ge) + } + if (!L) { + const k = { params: {} } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (H.errors = q), + !1 + ) + } + if ( + ((ae = R), + null !== q && + (R + ? (q.length = R) + : (q = null)), + P !== ae) + ) + break + } + } + } + Me = E === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.mainFiles) { + let v = k.mainFiles + const E = ae + if (ae === E) { + if (!Array.isArray(v)) + return ( + (H.errors = [ + { + params: { + type: 'array', + }, + }, + ]), + !1 + ) + { + const k = v.length + for ( + let E = 0; + E < k; + E++ + ) { + let k = v[E] + const P = ae + if (ae === P) { + if ( + 'string' != typeof k + ) + return ( + (H.errors = [ + { + params: { + type: 'string', + }, + }, + ]), + !1 + ) + if (k.length < 1) + return ( + (H.errors = [ + { params: {} }, + ]), + !1 + ) + } + if (P !== ae) break + } + } + } + Me = E === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.modules) { + let v = k.modules + const E = ae + if (ae === E) { + if (!Array.isArray(v)) + return ( + (H.errors = [ + { + params: { + type: 'array', + }, + }, + ]), + !1 + ) + { + const k = v.length + for ( + let E = 0; + E < k; + E++ + ) { + let k = v[E] + const P = ae + if (ae === P) { + if ( + 'string' != typeof k + ) + return ( + (H.errors = [ + { + params: { + type: 'string', + }, + }, + ]), + !1 + ) + if (k.length < 1) + return ( + (H.errors = [ + { params: {} }, + ]), + !1 + ) + } + if (P !== ae) break + } + } + } + Me = E === ae + } else Me = !0 + if (Me) { + if (void 0 !== k.plugins) { + let v = k.plugins + const E = ae + if (ae === E) { + if (!Array.isArray(v)) + return ( + (H.errors = [ + { + params: { + type: 'array', + }, + }, + ]), + !1 + ) + { + const k = v.length + for ( + let E = 0; + E < k; + E++ + ) { + let k = v[E] + const P = ae, + R = ae + let L = !1 + const N = ae + if ('...' !== k) { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var He = N === ae + if ( + ((L = L || He), !L) + ) { + const v = ae + if (ae == ae) + if ( + k && + 'object' == + typeof k && + !Array.isArray( + k + ) + ) { + let v + if ( + void 0 === + k.apply && + (v = 'apply') + ) { + const k = { + params: { + missingProperty: + v, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } else if ( + void 0 !== + k.apply && + !( + k.apply instanceof + Function + ) + ) { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { + type: 'object', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(He = v === ae), + (L = L || He) + } + if (!L) { + const k = { + params: {}, + } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (H.errors = q), + !1 + ) + } + if ( + ((ae = R), + null !== q && + (R + ? (q.length = R) + : (q = null)), + P !== ae) + ) + break + } + } + } + Me = E === ae + } else Me = !0 + if (Me) { + if ( + void 0 !== + k.preferAbsolute + ) { + const v = ae + if ( + 'boolean' != + typeof k.preferAbsolute + ) + return ( + (H.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + Me = v === ae + } else Me = !0 + if (Me) { + if ( + void 0 !== + k.preferRelative + ) { + const v = ae + if ( + 'boolean' != + typeof k.preferRelative + ) + return ( + (H.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + Me = v === ae + } else Me = !0 + if (Me) { + if ( + void 0 !== + k.restrictions + ) { + let E = k.restrictions + const P = ae + if (ae === P) { + if ( + !Array.isArray(E) + ) + return ( + (H.errors = [ + { + params: { + type: 'array', + }, + }, + ]), + !1 + ) + { + const k = E.length + for ( + let P = 0; + P < k; + P++ + ) { + let k = E[P] + const R = ae, + L = ae + let N = !1 + const le = ae + if ( + !( + k instanceof + RegExp + ) + ) { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var We = + le === ae + if ( + ((N = + N || We), + !N) + ) { + const E = ae + if (ae === E) + if ( + 'string' == + typeof k + ) { + if ( + k.includes( + '!' + ) || + !0 !== + v.test( + k + ) + ) { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } else if ( + k.length < + 1 + ) { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === q + ? (q = [ + k, + ]) + : q.push( + k + ), + ae++ + } + ;(We = + E === ae), + (N = + N || We) + } + if (!N) { + const k = { + params: {}, + } + return ( + null === q + ? (q = [ + k, + ]) + : q.push( + k + ), + ae++, + (H.errors = + q), + !1 + ) + } + if ( + ((ae = L), + null !== q && + (L + ? (q.length = + L) + : (q = + null)), + R !== ae) + ) + break + } + } + } + Me = P === ae + } else Me = !0 + if (Me) { + if ( + void 0 !== k.roots + ) { + let v = k.roots + const E = ae + if (ae === E) { + if ( + !Array.isArray( + v + ) + ) + return ( + (H.errors = [ + { + params: { + type: 'array', + }, + }, + ]), + !1 + ) + { + const k = + v.length + for ( + let E = 0; + E < k; + E++ + ) { + const k = ae + if ( + 'string' != + typeof v[E] + ) + return ( + (H.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + if (k !== ae) + break + } + } + } + Me = E === ae + } else Me = !0 + if (Me) { + if ( + void 0 !== + k.symlinks + ) { + const v = ae + if ( + 'boolean' != + typeof k.symlinks + ) + return ( + (H.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + Me = v === ae + } else Me = !0 + if (Me) { + if ( + void 0 !== + k.unsafeCache + ) { + let v = + k.unsafeCache + const E = ae, + P = ae + let R = !1 + const L = ae + if ( + 'boolean' != + typeof v + ) { + const k = { + params: { + type: 'boolean', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Qe = + L === ae + if ( + ((R = + R || Qe), + !R) + ) { + const k = ae + if (ae === k) + if ( + v && + 'object' == + typeof v && + !Array.isArray( + v + ) + ); + else { + const k = + { + params: + { + type: 'object', + }, + } + null === q + ? (q = [ + k, + ]) + : q.push( + k + ), + ae++ + } + ;(Qe = + k === ae), + (R = + R || Qe) + } + if (!R) { + const k = { + params: {}, + } + return ( + null === q + ? (q = [ + k, + ]) + : q.push( + k + ), + ae++, + (H.errors = + q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = + P) + : (q = + null)), + (Me = + E === ae) + } else Me = !0 + if (Me) + if ( + void 0 !== + k.useSyncFileSystemCalls + ) { + const v = ae + if ( + 'boolean' != + typeof k.useSyncFileSystemCalls + ) + return ( + (H.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Me = v === ae + } else Me = !0 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return (H.errors = q), 0 === ae + } + function _( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const v = N + for (const v in k) + if ('ident' !== v && 'loader' !== v && 'options' !== v) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (v === N) { + if (void 0 !== k.ident) { + const v = N + if ('string' != typeof k.ident) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = v === N + } else pe = !0 + if (pe) { + if (void 0 !== k.loader) { + let v = k.loader + const E = N, + P = N + let R = !1, + q = null + const ae = N + if (N == N) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if ((ae === N && ((R = !0), (q = 0)), R)) + (N = P), null !== L && (P ? (L.length = P) : (L = null)) + else { + const k = { params: { passingSchemas: q } } + null === L ? (L = [k]) : L.push(k), N++ + } + pe = E === N + } else pe = !0 + if (pe) + if (void 0 !== k.options) { + let v = k.options + const E = N, + P = N + let R = !1, + q = null + const ae = N, + le = N + let ye = !1 + const _e = N + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = _e === N + if (((ye = ye || me), !ye)) { + const k = N + if (!v || 'object' != typeof v || Array.isArray(v)) { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = k === N), (ye = ye || me) + } + if (ye) + (N = le), + null !== L && (le ? (L.length = le) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if ((ae === N && ((R = !0), (q = 0)), R)) + (N = P), null !== L && (P ? (L.length = P) : (L = null)) + else { + const k = { params: { passingSchemas: q } } + null === L ? (L = [k]) : L.push(k), N++ + } + pe = E === N + } else pe = !0 + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var ye = le === N + if (((ae = ae || ye), !ae)) { + const v = N + if (!(k instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((ye = v === N), (ae = ae || ye), !ae)) { + const v = N + if (N == N) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ye = v === N), (ae = ae || ye) + } + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (_.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (_.errors = L), + 0 === N + ) + } + function J( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) { + const E = k.length + for (let P = 0; P < E; P++) { + const E = N, + q = N + let ae = !1, + le = null + const pe = N + if ( + (_(k[P], { + instancePath: v + '/' + P, + parentData: k, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? _.errors : L.concat(_.errors)), + (N = L.length)), + pe === N && ((ae = !0), (le = 0)), + ae) + ) + (N = q), null !== L && (q ? (L.length = q) : (L = null)) + else { + const k = { params: { passingSchemas: le } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (E !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const q = N + if (!(k instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((pe = q === N), (ae = ae || pe), !ae)) { + const q = N + _(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? _.errors : L.concat(_.errors)), + (N = L.length)), + (pe = q === N), + (ae = ae || pe) + } + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (J.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (J.errors = L), + 0 === N + ) + } + const Me = { validate: V } + function V( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + if (0 === q) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (V.errors = [{ params: { type: 'object' } }]), !1 + { + const E = q + for (const v in k) + if (!P.call(pe.properties, v)) + return (V.errors = [{ params: { additionalProperty: v } }]), !1 + if (E === q) { + if (void 0 !== k.assert) { + let E = k.assert + const P = q + if (q === P) { + if (!E || 'object' != typeof E || Array.isArray(E)) + return (V.errors = [{ params: { type: 'object' } }]), !1 + for (const k in E) { + const P = q + if ( + (T(E[k], { + instancePath: + v + + '/assert/' + + k.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: E, + parentDataProperty: k, + rootData: L, + }) || + ((N = null === N ? T.errors : N.concat(T.errors)), + (q = N.length)), + P !== q) + ) + break + } + } + var ae = P === q + } else ae = !0 + if (ae) { + if (void 0 !== k.compiler) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (T(k.compiler, { + instancePath: v + '/compiler', + parentData: k, + parentDataProperty: 'compiler', + rootData: L, + }) || + ((N = null === N ? T.errors : N.concat(T.errors)), + (q = N.length)), + pe === q && ((R = !0), (le = 0)), + !R) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.dependency) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (T(k.dependency, { + instancePath: v + '/dependency', + parentData: k, + parentDataProperty: 'dependency', + rootData: L, + }) || + ((N = null === N ? T.errors : N.concat(T.errors)), + (q = N.length)), + pe === q && ((R = !0), (le = 0)), + !R) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.descriptionData) { + let E = k.descriptionData + const P = q + if (q === P) { + if (!E || 'object' != typeof E || Array.isArray(E)) + return ( + (V.errors = [{ params: { type: 'object' } }]), !1 + ) + for (const k in E) { + const P = q + if ( + (T(E[k], { + instancePath: + v + + '/descriptionData/' + + k.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: E, + parentDataProperty: k, + rootData: L, + }) || + ((N = null === N ? T.errors : N.concat(T.errors)), + (q = N.length)), + P !== q) + ) + break + } + } + ae = P === q + } else ae = !0 + if (ae) { + if (void 0 !== k.enforce) { + let v = k.enforce + const E = q + if ('pre' !== v && 'post' !== v) + return (V.errors = [{ params: {} }]), !1 + ae = E === q + } else ae = !0 + if (ae) { + if (void 0 !== k.exclude) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (G(k.exclude, { + instancePath: v + '/exclude', + parentData: k, + parentDataProperty: 'exclude', + rootData: L, + }) || + ((N = null === N ? G.errors : N.concat(G.errors)), + (q = N.length)), + pe === q && ((R = !0), (le = 0)), + !R) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.generator) { + let v = k.generator + const E = q + if (!v || 'object' != typeof v || Array.isArray(v)) + return ( + (V.errors = [{ params: { type: 'object' } }]), + !1 + ) + ae = E === q + } else ae = !0 + if (ae) { + if (void 0 !== k.include) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (G(k.include, { + instancePath: v + '/include', + parentData: k, + parentDataProperty: 'include', + rootData: L, + }) || + ((N = + null === N ? G.errors : N.concat(G.errors)), + (q = N.length)), + pe === q && ((R = !0), (le = 0)), + !R) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.issuer) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (G(k.issuer, { + instancePath: v + '/issuer', + parentData: k, + parentDataProperty: 'issuer', + rootData: L, + }) || + ((N = + null === N + ? G.errors + : N.concat(G.errors)), + (q = N.length)), + pe === q && ((R = !0), (le = 0)), + !R) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.issuerLayer) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (T(k.issuerLayer, { + instancePath: v + '/issuerLayer', + parentData: k, + parentDataProperty: 'issuerLayer', + rootData: L, + }) || + ((N = + null === N + ? T.errors + : N.concat(T.errors)), + (q = N.length)), + pe === q && ((R = !0), (le = 0)), + !R) + ) { + const k = { params: { passingSchemas: le } } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.layer) { + const v = q + if ('string' != typeof k.layer) + return ( + (V.errors = [ + { params: { type: 'string' } }, + ]), + !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.loader) { + let v = k.loader + const E = q, + P = q + let R = !1, + L = null + const le = q + if (q == q) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), + q++ + } + } else { + const k = { + params: { type: 'string' }, + } + null === N ? (N = [k]) : N.push(k), + q++ + } + if ( + (le === q && ((R = !0), (L = 0)), !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.mimetype) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (T(k.mimetype, { + instancePath: v + '/mimetype', + parentData: k, + parentDataProperty: 'mimetype', + rootData: L, + }) || + ((N = + null === N + ? T.errors + : N.concat(T.errors)), + (q = N.length)), + pe === q && ((R = !0), (le = 0)), + !R) + ) { + const k = { + params: { passingSchemas: le }, + } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.oneOf) { + let E = k.oneOf + const P = q + if (q === P) { + if (!Array.isArray(E)) + return ( + (V.errors = [ + { params: { type: 'array' } }, + ]), + !1 + ) + { + const k = E.length + for (let P = 0; P < k; P++) { + const k = q, + R = q + let ae = !1, + le = null + const pe = q + if ( + (Me.validate(E[P], { + instancePath: + v + '/oneOf/' + P, + parentData: E, + parentDataProperty: P, + rootData: L, + }) || + ((N = + null === N + ? Me.validate.errors + : N.concat( + Me.validate.errors + )), + (q = N.length)), + pe === q && + ((ae = !0), (le = 0)), + !ae) + ) { + const k = { + params: { + passingSchemas: le, + }, + } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + if ( + ((q = R), + null !== N && + (R + ? (N.length = R) + : (N = null)), + k !== q) + ) + break + } + } + } + ae = P === q + } else ae = !0 + if (ae) { + if (void 0 !== k.options) { + let v = k.options + const E = q, + P = q + let R = !1, + L = null + const pe = q, + me = q + let ye = !1 + const _e = q + if ('string' != typeof v) { + const k = { + params: { type: 'string' }, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + var le = _e === q + if (((ye = ye || le), !ye)) { + const k = q + if ( + !v || + 'object' != typeof v || + Array.isArray(v) + ) { + const k = { + params: { type: 'object' }, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + ;(le = k === q), (ye = ye || le) + } + if (ye) + (q = me), + null !== N && + (me + ? (N.length = me) + : (N = null)) + else { + const k = { params: {} } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + if ( + (pe === q && ((R = !0), (L = 0)), + !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P + ? (N.length = P) + : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.parser) { + let v = k.parser + const E = q + if ( + q === E && + (!v || + 'object' != typeof v || + Array.isArray(v)) + ) + return ( + (V.errors = [ + { + params: { + type: 'object', + }, + }, + ]), + !1 + ) + ae = E === q + } else ae = !0 + if (ae) { + if (void 0 !== k.realResource) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (G(k.realResource, { + instancePath: + v + '/realResource', + parentData: k, + parentDataProperty: + 'realResource', + rootData: L, + }) || + ((N = + null === N + ? G.errors + : N.concat(G.errors)), + (q = N.length)), + pe === q && + ((R = !0), (le = 0)), + !R) + ) { + const k = { + params: { + passingSchemas: le, + }, + } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P + ? (N.length = P) + : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.resolve) { + let E = k.resolve + const P = q + if ( + !E || + 'object' != typeof E || + Array.isArray(E) + ) + return ( + (V.errors = [ + { + params: { + type: 'object', + }, + }, + ]), + !1 + ) + const R = q + let le = !1, + pe = null + const me = q + if ( + (H(E, { + instancePath: + v + '/resolve', + parentData: k, + parentDataProperty: + 'resolve', + rootData: L, + }) || + ((N = + null === N + ? H.errors + : N.concat(H.errors)), + (q = N.length)), + me === q && + ((le = !0), (pe = 0)), + !le) + ) { + const k = { + params: { + passingSchemas: pe, + }, + } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = R), + null !== N && + (R + ? (N.length = R) + : (N = null)), + (ae = P === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.resource) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (G(k.resource, { + instancePath: + v + '/resource', + parentData: k, + parentDataProperty: + 'resource', + rootData: L, + }) || + ((N = + null === N + ? G.errors + : N.concat( + G.errors + )), + (q = N.length)), + pe === q && + ((R = !0), (le = 0)), + !R) + ) { + const k = { + params: { + passingSchemas: le, + }, + } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P + ? (N.length = P) + : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.resourceFragment + ) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (T(k.resourceFragment, { + instancePath: + v + + '/resourceFragment', + parentData: k, + parentDataProperty: + 'resourceFragment', + rootData: L, + }) || + ((N = + null === N + ? T.errors + : N.concat( + T.errors + )), + (q = N.length)), + pe === q && + ((R = !0), (le = 0)), + !R) + ) { + const k = { + params: { + passingSchemas: le, + }, + } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P + ? (N.length = P) + : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.resourceQuery + ) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (T(k.resourceQuery, { + instancePath: + v + + '/resourceQuery', + parentData: k, + parentDataProperty: + 'resourceQuery', + rootData: L, + }) || + ((N = + null === N + ? T.errors + : N.concat( + T.errors + )), + (q = N.length)), + pe === q && + ((R = !0), + (le = 0)), + !R) + ) { + const k = { + params: { + passingSchemas: + le, + }, + } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P + ? (N.length = P) + : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if ( + void 0 !== k.rules + ) { + let E = k.rules + const P = q + if (q === P) { + if ( + !Array.isArray(E) + ) + return ( + (V.errors = [ + { + params: { + type: 'array', + }, + }, + ]), + !1 + ) + { + const k = E.length + for ( + let P = 0; + P < k; + P++ + ) { + const k = q, + R = q + let ae = !1, + le = null + const pe = q + if ( + (Me.validate( + E[P], + { + instancePath: + v + + '/rules/' + + P, + parentData: + E, + parentDataProperty: + P, + rootData: + L, + } + ) || + ((N = + null === N + ? Me + .validate + .errors + : N.concat( + Me + .validate + .errors + )), + (q = + N.length)), + pe === q && + ((ae = !0), + (le = 0)), + !ae) + ) { + const k = { + params: { + passingSchemas: + le, + }, + } + return ( + null === N + ? (N = [ + k, + ]) + : N.push( + k + ), + q++, + (V.errors = + N), + !1 + ) + } + if ( + ((q = R), + null !== N && + (R + ? (N.length = + R) + : (N = + null)), + k !== q) + ) + break + } + } + } + ae = P === q + } else ae = !0 + if (ae) { + if ( + void 0 !== k.scheme + ) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (T(k.scheme, { + instancePath: + v + '/scheme', + parentData: k, + parentDataProperty: + 'scheme', + rootData: L, + }) || + ((N = + null === N + ? T.errors + : N.concat( + T.errors + )), + (q = N.length)), + pe === q && + ((R = !0), + (le = 0)), + !R) + ) { + const k = { + params: { + passingSchemas: + le, + }, + } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (V.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P + ? (N.length = + P) + : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.sideEffects + ) { + const v = q + if ( + 'boolean' != + typeof k.sideEffects + ) + return ( + (V.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.test + ) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (G(k.test, { + instancePath: + v + + '/test', + parentData: + k, + parentDataProperty: + 'test', + rootData: L, + }) || + ((N = + null === N + ? G.errors + : N.concat( + G.errors + )), + (q = + N.length)), + pe === q && + ((R = !0), + (le = 0)), + !R) + ) { + const k = { + params: { + passingSchemas: + le, + }, + } + return ( + null === N + ? (N = [ + k, + ]) + : N.push( + k + ), + q++, + (V.errors = + N), + !1 + ) + } + ;(q = P), + null !== N && + (P + ? (N.length = + P) + : (N = + null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.type + ) { + const v = q + if ( + 'string' != + typeof k.type + ) + return ( + (V.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + ae = v === q + } else ae = !0 + if (ae) + if ( + void 0 !== + k.use + ) { + const E = q, + P = q + let R = !1, + le = null + const pe = q + if ( + (J( + k.use, + { + instancePath: + v + + '/use', + parentData: + k, + parentDataProperty: + 'use', + rootData: + L, + } + ) || + ((N = + null === + N + ? J.errors + : N.concat( + J.errors + )), + (q = + N.length)), + pe === + q && + ((R = + !0), + (le = 0)), + !R) + ) { + const k = + { + params: + { + passingSchemas: + le, + }, + } + return ( + null === + N + ? (N = + [ + k, + ]) + : N.push( + k + ), + q++, + (V.errors = + N), + !1 + ) + } + ;(q = P), + null !== + N && + (P + ? (N.length = + P) + : (N = + null)), + (ae = + E === q) + } else ae = !0 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return (V.errors = N), 0 === q + } + function Z( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!Array.isArray(k)) + return (Z.errors = [{ params: { type: 'array' } }]), !1 + { + const E = k.length + for (let P = 0; P < E; P++) { + let E = k[P] + const ae = N, + le = N + let pe = !1 + const me = N + if ('...' !== E) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = me === N + if (((pe = pe || q), !pe)) { + const ae = N + V(E, { + instancePath: v + '/' + P, + parentData: k, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? V.errors : L.concat(V.errors)), + (N = L.length)), + (q = ae === N), + (pe = pe || q) + } + if (!pe) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), N++, (Z.errors = L), !1 + ) + } + if ( + ((N = le), + null !== L && (le ? (L.length = le) : (L = null)), + ae !== N) + ) + break + } + } + } + return (Z.errors = L), 0 === N + } + function K( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N == N) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const v = N + for (const v in k) + if ('encoding' !== v && 'mimetype' !== v) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (v === N) { + if (void 0 !== k.encoding) { + let v = k.encoding + const E = N + if (!1 !== v && 'base64' !== v) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = E === N + } else pe = !0 + if (pe) + if (void 0 !== k.mimetype) { + const v = N + if ('string' != typeof k.mimetype) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + pe = v === N + } else pe = !0 + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = le === N + if (((ae = ae || me), !ae)) { + const v = N + if (!(k instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = v === N), (ae = ae || me) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (K.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (K.errors = L), + 0 === N + ) + } + function X( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + if (0 === q) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (X.errors = [{ params: { type: 'object' } }]), !1 + { + const P = q + for (const v in k) + if ( + 'dataUrl' !== v && + 'emit' !== v && + 'filename' !== v && + 'outputPath' !== v && + 'publicPath' !== v + ) + return (X.errors = [{ params: { additionalProperty: v } }]), !1 + if (P === q) { + if (void 0 !== k.dataUrl) { + const v = q + K(k.dataUrl, { + instancePath: E + '/dataUrl', + parentData: k, + parentDataProperty: 'dataUrl', + rootData: L, + }) || + ((N = null === N ? K.errors : N.concat(K.errors)), + (q = N.length)) + var ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.emit) { + const v = q + if ('boolean' != typeof k.emit) + return (X.errors = [{ params: { type: 'boolean' } }]), !1 + ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.filename) { + let E = k.filename + const P = q, + R = q + let L = !1 + const pe = q + if (q === pe) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } else if (E.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var le = pe === q + if (((L = L || le), !L)) { + const k = q + if (!(E instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(le = k === q), (L = L || le) + } + if (!L) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (X.errors = N), + !1 + ) + } + ;(q = R), + null !== N && (R ? (N.length = R) : (N = null)), + (ae = P === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.outputPath) { + let E = k.outputPath + const P = q, + R = q + let L = !1 + const le = q + if (q === le) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var pe = le === q + if (((L = L || pe), !L)) { + const k = q + if (!(E instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(pe = k === q), (L = L || pe) + } + if (!L) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (X.errors = N), + !1 + ) + } + ;(q = R), + null !== N && (R ? (N.length = R) : (N = null)), + (ae = P === q) + } else ae = !0 + if (ae) + if (void 0 !== k.publicPath) { + let v = k.publicPath + const E = q, + P = q + let R = !1 + const L = q + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var me = L === q + if (((R = R || me), !R)) { + const k = q + if (!(v instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(me = k === q), (R = R || me) + } + if (!R) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (X.errors = N), + !1 + ) + } + ;(q = P), + null !== N && (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + } + } + } + } + } + } + return (X.errors = N), 0 === q + } + function Y( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (Y.errors = [{ params: { type: 'object' } }]), !1 + { + const E = N + for (const v in k) + if ('dataUrl' !== v) + return (Y.errors = [{ params: { additionalProperty: v } }]), !1 + E === N && + void 0 !== k.dataUrl && + (K(k.dataUrl, { + instancePath: v + '/dataUrl', + parentData: k, + parentDataProperty: 'dataUrl', + rootData: R, + }) || + ((L = null === L ? K.errors : L.concat(K.errors)), + (N = L.length))) + } + } + return (Y.errors = L), 0 === N + } + function ee( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + if (0 === q) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (ee.errors = [{ params: { type: 'object' } }]), !1 + { + const E = q + for (const v in k) + if ( + 'emit' !== v && + 'filename' !== v && + 'outputPath' !== v && + 'publicPath' !== v + ) + return (ee.errors = [{ params: { additionalProperty: v } }]), !1 + if (E === q) { + if (void 0 !== k.emit) { + const v = q + if ('boolean' != typeof k.emit) + return (ee.errors = [{ params: { type: 'boolean' } }]), !1 + var ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.filename) { + let E = k.filename + const P = q, + R = q + let L = !1 + const pe = q + if (q === pe) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } else if (E.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var le = pe === q + if (((L = L || le), !L)) { + const k = q + if (!(E instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(le = k === q), (L = L || le) + } + if (!L) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (ee.errors = N), + !1 + ) + } + ;(q = R), + null !== N && (R ? (N.length = R) : (N = null)), + (ae = P === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.outputPath) { + let E = k.outputPath + const P = q, + R = q + let L = !1 + const le = q + if (q === le) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var pe = le === q + if (((L = L || pe), !L)) { + const k = q + if (!(E instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(pe = k === q), (L = L || pe) + } + if (!L) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (ee.errors = N), + !1 + ) + } + ;(q = R), + null !== N && (R ? (N.length = R) : (N = null)), + (ae = P === q) + } else ae = !0 + if (ae) + if (void 0 !== k.publicPath) { + let v = k.publicPath + const E = q, + P = q + let R = !1 + const L = q + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var me = L === q + if (((R = R || me), !R)) { + const k = q + if (!(v instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(me = k === q), (R = R || me) + } + if (!R) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (ee.errors = N), + !1 + ) + } + ;(q = P), + null !== N && (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + } + } + } + } + } + return (ee.errors = N), 0 === q + } + function te( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (te.errors = [{ params: { type: 'object' } }]), !1 + { + const E = N + for (const v in k) + if ( + 'asset' !== v && + 'asset/inline' !== v && + 'asset/resource' !== v && + 'javascript' !== v && + 'javascript/auto' !== v && + 'javascript/dynamic' !== v && + 'javascript/esm' !== v + ) { + let E = k[v] + const P = N + if (N === P && (!E || 'object' != typeof E || Array.isArray(E))) + return (te.errors = [{ params: { type: 'object' } }]), !1 + if (P !== N) break + } + if (E === N) { + if (void 0 !== k.asset) { + const E = N + X(k.asset, { + instancePath: v + '/asset', + parentData: k, + parentDataProperty: 'asset', + rootData: R, + }) || + ((L = null === L ? X.errors : L.concat(X.errors)), + (N = L.length)) + var q = E === N + } else q = !0 + if (q) { + if (void 0 !== k['asset/inline']) { + const E = N + Y(k['asset/inline'], { + instancePath: v + '/asset~1inline', + parentData: k, + parentDataProperty: 'asset/inline', + rootData: R, + }) || + ((L = null === L ? Y.errors : L.concat(Y.errors)), + (N = L.length)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k['asset/resource']) { + const E = N + ee(k['asset/resource'], { + instancePath: v + '/asset~1resource', + parentData: k, + parentDataProperty: 'asset/resource', + rootData: R, + }) || + ((L = null === L ? ee.errors : L.concat(ee.errors)), + (N = L.length)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k.javascript) { + let v = k.javascript + const E = N + if (N == N) { + if (!v || 'object' != typeof v || Array.isArray(v)) + return ( + (te.errors = [{ params: { type: 'object' } }]), !1 + ) + for (const k in v) + return ( + (te.errors = [ + { params: { additionalProperty: k } }, + ]), + !1 + ) + } + q = E === N + } else q = !0 + if (q) { + if (void 0 !== k['javascript/auto']) { + let v = k['javascript/auto'] + const E = N + if (N == N) { + if (!v || 'object' != typeof v || Array.isArray(v)) + return ( + (te.errors = [{ params: { type: 'object' } }]), !1 + ) + for (const k in v) + return ( + (te.errors = [ + { params: { additionalProperty: k } }, + ]), + !1 + ) + } + q = E === N + } else q = !0 + if (q) { + if (void 0 !== k['javascript/dynamic']) { + let v = k['javascript/dynamic'] + const E = N + if (N == N) { + if (!v || 'object' != typeof v || Array.isArray(v)) + return ( + (te.errors = [{ params: { type: 'object' } }]), + !1 + ) + for (const k in v) + return ( + (te.errors = [ + { params: { additionalProperty: k } }, + ]), + !1 + ) + } + q = E === N + } else q = !0 + if (q) + if (void 0 !== k['javascript/esm']) { + let v = k['javascript/esm'] + const E = N + if (N == N) { + if ( + !v || + 'object' != typeof v || + Array.isArray(v) + ) + return ( + (te.errors = [ + { params: { type: 'object' } }, + ]), + !1 + ) + for (const k in v) + return ( + (te.errors = [ + { params: { additionalProperty: k } }, + ]), + !1 + ) + } + q = E === N + } else q = !0 + } + } + } + } + } + } + } + } + return (te.errors = L), 0 === N + } + function ne( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (ne.errors = [{ params: { type: 'object' } }]), !1 + { + const v = N + for (const v in k) + if ('dataUrlCondition' !== v) + return (ne.errors = [{ params: { additionalProperty: v } }]), !1 + if (v === N && void 0 !== k.dataUrlCondition) { + let v = k.dataUrlCondition + const E = N + let P = !1 + const R = N + if (N == N) + if (v && 'object' == typeof v && !Array.isArray(v)) { + const k = N + for (const k in v) + if ('maxSize' !== k) { + const v = { params: { additionalProperty: k } } + null === L ? (L = [v]) : L.push(v), N++ + break + } + if ( + k === N && + void 0 !== v.maxSize && + 'number' != typeof v.maxSize + ) { + const k = { params: { type: 'number' } } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = R === N + if (((P = P || q), !P)) { + const k = N + if (!(v instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(q = k === N), (P = P || q) + } + if (!P) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), N++, (ne.errors = L), !1 + ) + } + ;(N = E), null !== L && (E ? (L.length = E) : (L = null)) + } + } + } + return (ne.errors = L), 0 === N + } + function re( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (!1 !== k) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const v = N + if (N == N) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const v = N + for (const v in k) + if ('__dirname' !== v && '__filename' !== v && 'global' !== v) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (v === N) { + if (void 0 !== k.__dirname) { + let v = k.__dirname + const E = N + if ( + !1 !== v && + !0 !== v && + 'warn-mock' !== v && + 'mock' !== v && + 'eval-only' !== v + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = E === N + } else me = !0 + if (me) { + if (void 0 !== k.__filename) { + let v = k.__filename + const E = N + if ( + !1 !== v && + !0 !== v && + 'warn-mock' !== v && + 'mock' !== v && + 'eval-only' !== v + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + me = E === N + } else me = !0 + if (me) + if (void 0 !== k.global) { + let v = k.global + const E = N + if (!1 !== v && !0 !== v && 'warn' !== v) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + me = E === N + } else me = !0 + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (re.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (re.errors = L), + 0 === N + ) + } + function oe( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (oe.errors = [{ params: { type: 'object' } }]), !1 + if (void 0 !== k.amd) { + let v = k.amd + const E = N, + P = N + let R = !1 + const le = N + if (!1 !== v) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = le === N + if (((R = R || q), !R)) { + const k = N + if (!v || 'object' != typeof v || Array.isArray(v)) { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(q = k === N), (R = R || q) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), N++, (oe.errors = L), !1 + ) + } + ;(N = P), null !== L && (P ? (L.length = P) : (L = null)) + var ae = E === N + } else ae = !0 + if (ae) { + if (void 0 !== k.browserify) { + const v = N + if ('boolean' != typeof k.browserify) + return (oe.errors = [{ params: { type: 'boolean' } }]), !1 + ae = v === N + } else ae = !0 + if (ae) { + if (void 0 !== k.commonjs) { + const v = N + if ('boolean' != typeof k.commonjs) + return (oe.errors = [{ params: { type: 'boolean' } }]), !1 + ae = v === N + } else ae = !0 + if (ae) { + if (void 0 !== k.commonjsMagicComments) { + const v = N + if ('boolean' != typeof k.commonjsMagicComments) + return (oe.errors = [{ params: { type: 'boolean' } }]), !1 + ae = v === N + } else ae = !0 + if (ae) { + if (void 0 !== k.createRequire) { + let v = k.createRequire + const E = N, + P = N + let R = !1 + const q = N + if ('boolean' != typeof v) { + const k = { params: { type: 'boolean' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var le = q === N + if (((R = R || le), !R)) { + const k = N + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(le = k === N), (R = R || le) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (oe.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (ae = E === N) + } else ae = !0 + if (ae) { + if (void 0 !== k.dynamicImportMode) { + let v = k.dynamicImportMode + const E = N + if ( + 'eager' !== v && + 'weak' !== v && + 'lazy' !== v && + 'lazy-once' !== v + ) + return (oe.errors = [{ params: {} }]), !1 + ae = E === N + } else ae = !0 + if (ae) { + if (void 0 !== k.dynamicImportPrefetch) { + let v = k.dynamicImportPrefetch + const E = N, + P = N + let R = !1 + const q = N + if ('number' != typeof v) { + const k = { params: { type: 'number' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = q === N + if (((R = R || pe), !R)) { + const k = N + if ('boolean' != typeof v) { + const k = { params: { type: 'boolean' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = k === N), (R = R || pe) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (oe.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (ae = E === N) + } else ae = !0 + if (ae) { + if (void 0 !== k.dynamicImportPreload) { + let v = k.dynamicImportPreload + const E = N, + P = N + let R = !1 + const q = N + if ('number' != typeof v) { + const k = { params: { type: 'number' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = q === N + if (((R = R || me), !R)) { + const k = N + if ('boolean' != typeof v) { + const k = { params: { type: 'boolean' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = k === N), (R = R || me) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (oe.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (ae = E === N) + } else ae = !0 + if (ae) { + if (void 0 !== k.exportsPresence) { + let v = k.exportsPresence + const E = N + if ( + 'error' !== v && + 'warn' !== v && + 'auto' !== v && + !1 !== v + ) + return (oe.errors = [{ params: {} }]), !1 + ae = E === N + } else ae = !0 + if (ae) { + if (void 0 !== k.exprContextCritical) { + const v = N + if ('boolean' != typeof k.exprContextCritical) + return ( + (oe.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if (void 0 !== k.exprContextRecursive) { + const v = N + if ('boolean' != typeof k.exprContextRecursive) + return ( + (oe.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if (void 0 !== k.exprContextRegExp) { + let v = k.exprContextRegExp + const E = N, + P = N + let R = !1 + const q = N + if (!(v instanceof RegExp)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var ye = q === N + if (((R = R || ye), !R)) { + const k = N + if ('boolean' != typeof v) { + const k = { params: { type: 'boolean' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ye = k === N), (R = R || ye) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (oe.errors = L), + !1 + ) + } + ;(N = P), + null !== L && + (P ? (L.length = P) : (L = null)), + (ae = E === N) + } else ae = !0 + if (ae) { + if (void 0 !== k.exprContextRequest) { + const v = N + if ('string' != typeof k.exprContextRequest) + return ( + (oe.errors = [ + { params: { type: 'string' } }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if (void 0 !== k.harmony) { + const v = N + if ('boolean' != typeof k.harmony) + return ( + (oe.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if (void 0 !== k.import) { + const v = N + if ('boolean' != typeof k.import) + return ( + (oe.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if ( + void 0 !== k.importExportsPresence + ) { + let v = k.importExportsPresence + const E = N + if ( + 'error' !== v && + 'warn' !== v && + 'auto' !== v && + !1 !== v + ) + return ( + (oe.errors = [{ params: {} }]), !1 + ) + ae = E === N + } else ae = !0 + if (ae) { + if (void 0 !== k.importMeta) { + const v = N + if ( + 'boolean' != typeof k.importMeta + ) + return ( + (oe.errors = [ + { + params: { type: 'boolean' }, + }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if ( + void 0 !== k.importMetaContext + ) { + const v = N + if ( + 'boolean' != + typeof k.importMetaContext + ) + return ( + (oe.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if (void 0 !== k.node) { + const E = N + re(k.node, { + instancePath: v + '/node', + parentData: k, + parentDataProperty: 'node', + rootData: R, + }) || + ((L = + null === L + ? re.errors + : L.concat(re.errors)), + (N = L.length)), + (ae = E === N) + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.reexportExportsPresence + ) { + let v = + k.reexportExportsPresence + const E = N + if ( + 'error' !== v && + 'warn' !== v && + 'auto' !== v && + !1 !== v + ) + return ( + (oe.errors = [ + { params: {} }, + ]), + !1 + ) + ae = E === N + } else ae = !0 + if (ae) { + if ( + void 0 !== k.requireContext + ) { + const v = N + if ( + 'boolean' != + typeof k.requireContext + ) + return ( + (oe.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if ( + void 0 !== k.requireEnsure + ) { + const v = N + if ( + 'boolean' != + typeof k.requireEnsure + ) + return ( + (oe.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.requireInclude + ) { + const v = N + if ( + 'boolean' != + typeof k.requireInclude + ) + return ( + (oe.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if ( + void 0 !== k.requireJs + ) { + const v = N + if ( + 'boolean' != + typeof k.requireJs + ) + return ( + (oe.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.strictExportPresence + ) { + const v = N + if ( + 'boolean' != + typeof k.strictExportPresence + ) + return ( + (oe.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.strictThisContextOnImports + ) { + const v = N + if ( + 'boolean' != + typeof k.strictThisContextOnImports + ) + return ( + (oe.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.system + ) { + const v = N + if ( + 'boolean' != + typeof k.system + ) + return ( + (oe.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.unknownContextCritical + ) { + const v = N + if ( + 'boolean' != + typeof k.unknownContextCritical + ) + return ( + (oe.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.unknownContextRecursive + ) { + const v = N + if ( + 'boolean' != + typeof k.unknownContextRecursive + ) + return ( + (oe.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === N + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.unknownContextRegExp + ) { + let v = + k.unknownContextRegExp + const E = + N, + P = N + let R = !1 + const q = + N + if ( + !( + v instanceof + RegExp + ) + ) { + const k = + { + params: + {}, + } + null === + L + ? (L = + [ + k, + ]) + : L.push( + k + ), + N++ + } + var _e = + q === N + if ( + ((R = + R || + _e), + !R) + ) { + const k = + N + if ( + 'boolean' != + typeof v + ) { + const k = + { + params: + { + type: 'boolean', + }, + } + null === + L + ? (L = + [ + k, + ]) + : L.push( + k + ), + N++ + } + ;(_e = + k === + N), + (R = + R || + _e) + } + if (!R) { + const k = + { + params: + {}, + } + return ( + null === + L + ? (L = + [ + k, + ]) + : L.push( + k + ), + N++, + (oe.errors = + L), + !1 + ) + } + ;(N = P), + null !== + L && + (P + ? (L.length = + P) + : (L = + null)), + (ae = + E === + N) + } else + ae = !0 + if (ae) { + if ( + void 0 !== + k.unknownContextRequest + ) { + const v = + N + if ( + 'string' != + typeof k.unknownContextRequest + ) + return ( + (oe.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + ae = + v === + N + } else + ae = !0 + if (ae) { + if ( + void 0 !== + k.url + ) { + let v = + k.url + const E = + N, + P = + N + let R = + !1 + const q = + N + if ( + 'relative' !== + v + ) { + const k = + { + params: + {}, + } + null === + L + ? (L = + [ + k, + ]) + : L.push( + k + ), + N++ + } + var Ie = + q === + N + if ( + ((R = + R || + Ie), + !R) + ) { + const k = + N + if ( + 'boolean' != + typeof v + ) { + const k = + { + params: + { + type: 'boolean', + }, + } + null === + L + ? (L = + [ + k, + ]) + : L.push( + k + ), + N++ + } + ;(Ie = + k === + N), + (R = + R || + Ie) + } + if ( + !R + ) { + const k = + { + params: + {}, + } + return ( + null === + L + ? (L = + [ + k, + ]) + : L.push( + k + ), + N++, + (oe.errors = + L), + !1 + ) + } + ;(N = + P), + null !== + L && + (P + ? (L.length = + P) + : (L = + null)), + (ae = + E === + N) + } else + ae = + !0 + if ( + ae + ) { + if ( + void 0 !== + k.worker + ) { + let v = + k.worker + const E = + N, + P = + N + let R = + !1 + const q = + N + if ( + N === + q + ) + if ( + Array.isArray( + v + ) + ) { + const k = + v.length + for ( + let E = 0; + E < + k; + E++ + ) { + let k = + v[ + E + ] + const P = + N + if ( + N === + P + ) + if ( + 'string' == + typeof k + ) { + if ( + k.length < + 1 + ) { + const k = + { + params: + {}, + } + null === + L + ? (L = + [ + k, + ]) + : L.push( + k + ), + N++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + L + ? (L = + [ + k, + ]) + : L.push( + k + ), + N++ + } + if ( + P !== + N + ) + break + } + } else { + const k = + { + params: + { + type: 'array', + }, + } + null === + L + ? (L = + [ + k, + ]) + : L.push( + k + ), + N++ + } + var Me = + q === + N + if ( + ((R = + R || + Me), + !R) + ) { + const k = + N + if ( + 'boolean' != + typeof v + ) { + const k = + { + params: + { + type: 'boolean', + }, + } + null === + L + ? (L = + [ + k, + ]) + : L.push( + k + ), + N++ + } + ;(Me = + k === + N), + (R = + R || + Me) + } + if ( + !R + ) { + const k = + { + params: + {}, + } + return ( + null === + L + ? (L = + [ + k, + ]) + : L.push( + k + ), + N++, + (oe.errors = + L), + !1 + ) + } + ;(N = + P), + null !== + L && + (P + ? (L.length = + P) + : (L = + null)), + (ae = + E === + N) + } else + ae = + !0 + if ( + ae + ) { + if ( + void 0 !== + k.wrappedContextCritical + ) { + const v = + N + if ( + 'boolean' != + typeof k.wrappedContextCritical + ) + return ( + (oe.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = + v === + N + } else + ae = + !0 + if ( + ae + ) { + if ( + void 0 !== + k.wrappedContextRecursive + ) { + const v = + N + if ( + 'boolean' != + typeof k.wrappedContextRecursive + ) + return ( + (oe.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = + v === + N + } else + ae = + !0 + if ( + ae + ) + if ( + void 0 !== + k.wrappedContextRegExp + ) { + const v = + N + if ( + !( + k.wrappedContextRegExp instanceof + RegExp + ) + ) + return ( + (oe.errors = + [ + { + params: + {}, + }, + ]), + !1 + ) + ae = + v === + N + } else + ae = + !0 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return (oe.errors = L), 0 === N + } + function se( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (se.errors = [{ params: { type: 'object' } }]), !1 + { + const E = N + for (const v in k) + if ( + 'asset' !== v && + 'asset/inline' !== v && + 'asset/resource' !== v && + 'asset/source' !== v && + 'javascript' !== v && + 'javascript/auto' !== v && + 'javascript/dynamic' !== v && + 'javascript/esm' !== v + ) { + let E = k[v] + const P = N + if (N === P && (!E || 'object' != typeof E || Array.isArray(E))) + return (se.errors = [{ params: { type: 'object' } }]), !1 + if (P !== N) break + } + if (E === N) { + if (void 0 !== k.asset) { + const E = N + ne(k.asset, { + instancePath: v + '/asset', + parentData: k, + parentDataProperty: 'asset', + rootData: R, + }) || + ((L = null === L ? ne.errors : L.concat(ne.errors)), + (N = L.length)) + var q = E === N + } else q = !0 + if (q) { + if (void 0 !== k['asset/inline']) { + let v = k['asset/inline'] + const E = N + if (N == N) { + if (!v || 'object' != typeof v || Array.isArray(v)) + return (se.errors = [{ params: { type: 'object' } }]), !1 + for (const k in v) + return ( + (se.errors = [{ params: { additionalProperty: k } }]), + !1 + ) + } + q = E === N + } else q = !0 + if (q) { + if (void 0 !== k['asset/resource']) { + let v = k['asset/resource'] + const E = N + if (N == N) { + if (!v || 'object' != typeof v || Array.isArray(v)) + return ( + (se.errors = [{ params: { type: 'object' } }]), !1 + ) + for (const k in v) + return ( + (se.errors = [{ params: { additionalProperty: k } }]), + !1 + ) + } + q = E === N + } else q = !0 + if (q) { + if (void 0 !== k['asset/source']) { + let v = k['asset/source'] + const E = N + if (N == N) { + if (!v || 'object' != typeof v || Array.isArray(v)) + return ( + (se.errors = [{ params: { type: 'object' } }]), !1 + ) + for (const k in v) + return ( + (se.errors = [ + { params: { additionalProperty: k } }, + ]), + !1 + ) + } + q = E === N + } else q = !0 + if (q) { + if (void 0 !== k.javascript) { + const E = N + oe(k.javascript, { + instancePath: v + '/javascript', + parentData: k, + parentDataProperty: 'javascript', + rootData: R, + }) || + ((L = null === L ? oe.errors : L.concat(oe.errors)), + (N = L.length)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k['javascript/auto']) { + const E = N + oe(k['javascript/auto'], { + instancePath: v + '/javascript~1auto', + parentData: k, + parentDataProperty: 'javascript/auto', + rootData: R, + }) || + ((L = null === L ? oe.errors : L.concat(oe.errors)), + (N = L.length)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k['javascript/dynamic']) { + const E = N + oe(k['javascript/dynamic'], { + instancePath: v + '/javascript~1dynamic', + parentData: k, + parentDataProperty: 'javascript/dynamic', + rootData: R, + }) || + ((L = + null === L ? oe.errors : L.concat(oe.errors)), + (N = L.length)), + (q = E === N) + } else q = !0 + if (q) + if (void 0 !== k['javascript/esm']) { + const E = N + oe(k['javascript/esm'], { + instancePath: v + '/javascript~1esm', + parentData: k, + parentDataProperty: 'javascript/esm', + rootData: R, + }) || + ((L = + null === L ? oe.errors : L.concat(oe.errors)), + (N = L.length)), + (q = E === N) + } else q = !0 + } + } + } + } + } + } + } + } + } + return (se.errors = L), 0 === N + } + function ie( + k, + { + instancePath: E = '', + parentData: R, + parentDataProperty: L, + rootData: N = k, + } = {} + ) { + let q = null, + ae = 0 + if (0 === ae) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (ie.errors = [{ params: { type: 'object' } }]), !1 + { + const R = ae + for (const v in k) + if (!P.call(le.properties, v)) + return (ie.errors = [{ params: { additionalProperty: v } }]), !1 + if (R === ae) { + if (void 0 !== k.defaultRules) { + const v = ae, + P = ae + let R = !1, + L = null + const le = ae + if ( + (Z(k.defaultRules, { + instancePath: E + '/defaultRules', + parentData: k, + parentDataProperty: 'defaultRules', + rootData: N, + }) || + ((q = null === q ? Z.errors : q.concat(Z.errors)), + (ae = q.length)), + le === ae && ((R = !0), (L = 0)), + !R) + ) { + const k = { params: { passingSchemas: L } } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ie.errors = q), + !1 + ) + } + ;(ae = P), null !== q && (P ? (q.length = P) : (q = null)) + var pe = v === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.exprContextCritical) { + const v = ae + if ('boolean' != typeof k.exprContextCritical) + return (ie.errors = [{ params: { type: 'boolean' } }]), !1 + pe = v === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.exprContextRecursive) { + const v = ae + if ('boolean' != typeof k.exprContextRecursive) + return (ie.errors = [{ params: { type: 'boolean' } }]), !1 + pe = v === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.exprContextRegExp) { + let v = k.exprContextRegExp + const E = ae, + P = ae + let R = !1 + const L = ae + if (!(v instanceof RegExp)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var me = L === ae + if (((R = R || me), !R)) { + const k = ae + if ('boolean' != typeof v) { + const k = { params: { type: 'boolean' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(me = k === ae), (R = R || me) + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ie.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (pe = E === ae) + } else pe = !0 + if (pe) { + if (void 0 !== k.exprContextRequest) { + const v = ae + if ('string' != typeof k.exprContextRequest) + return ( + (ie.errors = [{ params: { type: 'string' } }]), !1 + ) + pe = v === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.generator) { + const v = ae + te(k.generator, { + instancePath: E + '/generator', + parentData: k, + parentDataProperty: 'generator', + rootData: N, + }) || + ((q = null === q ? te.errors : q.concat(te.errors)), + (ae = q.length)), + (pe = v === ae) + } else pe = !0 + if (pe) { + if (void 0 !== k.noParse) { + let E = k.noParse + const P = ae, + R = ae + let L = !1 + const N = ae + if (ae === N) + if (Array.isArray(E)) + if (E.length < 1) { + const k = { params: { limit: 1 } } + null === q ? (q = [k]) : q.push(k), ae++ + } else { + const k = E.length + for (let P = 0; P < k; P++) { + let k = E[P] + const R = ae, + L = ae + let N = !1 + const le = ae + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var ye = le === ae + if (((N = N || ye), !N)) { + const E = ae + if (ae === E) + if ('string' == typeof k) { + if ( + k.includes('!') || + !0 !== v.test(k) + ) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'string' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + if ( + ((ye = E === ae), (N = N || ye), !N) + ) { + const v = ae + if (!(k instanceof Function)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), + ae++ + } + ;(ye = v === ae), (N = N || ye) + } + } + if (N) + (ae = L), + null !== q && + (L ? (q.length = L) : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (R !== ae) break + } + } + else { + const k = { params: { type: 'array' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var _e = N === ae + if (((L = L || _e), !L)) { + const k = ae + if (!(E instanceof RegExp)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (((_e = k === ae), (L = L || _e), !L)) { + const k = ae + if (ae === k) + if ('string' == typeof E) { + if (E.includes('!') || !0 !== v.test(E)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (((_e = k === ae), (L = L || _e), !L)) { + const k = ae + if (!(E instanceof Function)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(_e = k === ae), (L = L || _e) + } + } + } + if (!L) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ie.errors = q), + !1 + ) + } + ;(ae = R), + null !== q && (R ? (q.length = R) : (q = null)), + (pe = P === ae) + } else pe = !0 + if (pe) { + if (void 0 !== k.parser) { + const v = ae + se(k.parser, { + instancePath: E + '/parser', + parentData: k, + parentDataProperty: 'parser', + rootData: N, + }) || + ((q = + null === q ? se.errors : q.concat(se.errors)), + (ae = q.length)), + (pe = v === ae) + } else pe = !0 + if (pe) { + if (void 0 !== k.rules) { + const v = ae, + P = ae + let R = !1, + L = null + const le = ae + if ( + (Z(k.rules, { + instancePath: E + '/rules', + parentData: k, + parentDataProperty: 'rules', + rootData: N, + }) || + ((q = + null === q + ? Z.errors + : q.concat(Z.errors)), + (ae = q.length)), + le === ae && ((R = !0), (L = 0)), + !R) + ) { + const k = { params: { passingSchemas: L } } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ie.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (pe = v === ae) + } else pe = !0 + if (pe) { + if (void 0 !== k.strictExportPresence) { + const v = ae + if ( + 'boolean' != typeof k.strictExportPresence + ) + return ( + (ie.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + pe = v === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.strictThisContextOnImports) { + const v = ae + if ( + 'boolean' != + typeof k.strictThisContextOnImports + ) + return ( + (ie.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + pe = v === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.unknownContextCritical) { + const v = ae + if ( + 'boolean' != + typeof k.unknownContextCritical + ) + return ( + (ie.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + pe = v === ae + } else pe = !0 + if (pe) { + if ( + void 0 !== k.unknownContextRecursive + ) { + const v = ae + if ( + 'boolean' != + typeof k.unknownContextRecursive + ) + return ( + (ie.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + pe = v === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.unknownContextRegExp) { + let v = k.unknownContextRegExp + const E = ae, + P = ae + let R = !1 + const L = ae + if (!(v instanceof RegExp)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), + ae++ + } + var Ie = L === ae + if (((R = R || Ie), !R)) { + const k = ae + if ('boolean' != typeof v) { + const k = { + params: { type: 'boolean' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Ie = k === ae), (R = R || Ie) + } + if (!R) { + const k = { params: {} } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (ie.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (pe = E === ae) + } else pe = !0 + if (pe) { + if ( + void 0 !== k.unknownContextRequest + ) { + const v = ae + if ( + 'string' != + typeof k.unknownContextRequest + ) + return ( + (ie.errors = [ + { + params: { type: 'string' }, + }, + ]), + !1 + ) + pe = v === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.unsafeCache) { + let v = k.unsafeCache + const E = ae, + P = ae + let R = !1 + const L = ae + if ('boolean' != typeof v) { + const k = { + params: { type: 'boolean' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Me = L === ae + if (((R = R || Me), !R)) { + const k = ae + if (!(v instanceof Function)) { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Me = k === ae), (R = R || Me) + } + if (!R) { + const k = { params: {} } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (ie.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (pe = E === ae) + } else pe = !0 + if (pe) { + if ( + void 0 !== + k.wrappedContextCritical + ) { + const v = ae + if ( + 'boolean' != + typeof k.wrappedContextCritical + ) + return ( + (ie.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + pe = v === ae + } else pe = !0 + if (pe) { + if ( + void 0 !== + k.wrappedContextRecursive + ) { + const v = ae + if ( + 'boolean' != + typeof k.wrappedContextRecursive + ) + return ( + (ie.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + pe = v === ae + } else pe = !0 + if (pe) + if ( + void 0 !== + k.wrappedContextRegExp + ) { + const v = ae + if ( + !( + k.wrappedContextRegExp instanceof + RegExp + ) + ) + return ( + (ie.errors = [ + { params: {} }, + ]), + !1 + ) + pe = v === ae + } else pe = !0 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return (ie.errors = q), 0 === ae + } + const Te = { + type: 'object', + additionalProperties: !1, + properties: { + checkWasmTypes: { type: 'boolean' }, + chunkIds: { + enum: [ + 'natural', + 'named', + 'deterministic', + 'size', + 'total-size', + !1, + ], + }, + concatenateModules: { type: 'boolean' }, + emitOnErrors: { type: 'boolean' }, + flagIncludedChunks: { type: 'boolean' }, + innerGraph: { type: 'boolean' }, + mangleExports: { + anyOf: [{ enum: ['size', 'deterministic'] }, { type: 'boolean' }], + }, + mangleWasmImports: { type: 'boolean' }, + mergeDuplicateChunks: { type: 'boolean' }, + minimize: { type: 'boolean' }, + minimizer: { + type: 'array', + items: { + anyOf: [ + { enum: ['...'] }, + { $ref: '#/definitions/WebpackPluginInstance' }, + { $ref: '#/definitions/WebpackPluginFunction' }, + ], + }, + }, + moduleIds: { + enum: ['natural', 'named', 'hashed', 'deterministic', 'size', !1], + }, + noEmitOnErrors: { type: 'boolean' }, + nodeEnv: { anyOf: [{ enum: [!1] }, { type: 'string' }] }, + portableRecords: { type: 'boolean' }, + providedExports: { type: 'boolean' }, + realContentHash: { type: 'boolean' }, + removeAvailableModules: { type: 'boolean' }, + removeEmptyChunks: { type: 'boolean' }, + runtimeChunk: { $ref: '#/definitions/OptimizationRuntimeChunk' }, + sideEffects: { anyOf: [{ enum: ['flag'] }, { type: 'boolean' }] }, + splitChunks: { + anyOf: [ + { enum: [!1] }, + { $ref: '#/definitions/OptimizationSplitChunksOptions' }, + ], + }, + usedExports: { anyOf: [{ enum: ['global'] }, { type: 'boolean' }] }, + }, + }, + je = { + type: 'object', + additionalProperties: !1, + properties: { + automaticNameDelimiter: { type: 'string', minLength: 1 }, + cacheGroups: { + type: 'object', + additionalProperties: { + anyOf: [ + { enum: [!1] }, + { instanceof: 'RegExp' }, + { type: 'string' }, + { instanceof: 'Function' }, + { $ref: '#/definitions/OptimizationSplitChunksCacheGroup' }, + ], + }, + not: { + type: 'object', + additionalProperties: !0, + properties: { + test: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string' }, + { instanceof: 'Function' }, + ], + }, + }, + required: ['test'], + }, + }, + chunks: { + anyOf: [ + { enum: ['initial', 'async', 'all'] }, + { instanceof: 'RegExp' }, + { instanceof: 'Function' }, + ], + }, + defaultSizeTypes: { + type: 'array', + items: { type: 'string' }, + minItems: 1, + }, + enforceSizeThreshold: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + fallbackCacheGroup: { + type: 'object', + additionalProperties: !1, + properties: { + automaticNameDelimiter: { type: 'string', minLength: 1 }, + chunks: { + anyOf: [ + { enum: ['initial', 'async', 'all'] }, + { instanceof: 'RegExp' }, + { instanceof: 'Function' }, + ], + }, + maxAsyncSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + maxInitialSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + maxSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + minSize: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + minSizeReduction: { + oneOf: [ + { $ref: '#/definitions/OptimizationSplitChunksSizes' }, + ], + }, + }, + }, + filename: { + anyOf: [ + { type: 'string', absolutePath: !1, minLength: 1 }, + { instanceof: 'Function' }, + ], + }, + hidePathInfo: { type: 'boolean' }, + maxAsyncRequests: { type: 'number', minimum: 1 }, + maxAsyncSize: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + maxInitialRequests: { type: 'number', minimum: 1 }, + maxInitialSize: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + maxSize: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + minChunks: { type: 'number', minimum: 1 }, + minRemainingSize: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + minSize: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + minSizeReduction: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + name: { + anyOf: [ + { enum: [!1] }, + { type: 'string' }, + { instanceof: 'Function' }, + ], + }, + usedExports: { type: 'boolean' }, + }, + }, + Ne = { + type: 'object', + additionalProperties: !1, + properties: { + automaticNameDelimiter: { type: 'string', minLength: 1 }, + chunks: { + anyOf: [ + { enum: ['initial', 'async', 'all'] }, + { instanceof: 'RegExp' }, + { instanceof: 'Function' }, + ], + }, + enforce: { type: 'boolean' }, + enforceSizeThreshold: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + filename: { + anyOf: [ + { type: 'string', absolutePath: !1, minLength: 1 }, + { instanceof: 'Function' }, + ], + }, + idHint: { type: 'string' }, + layer: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string' }, + { instanceof: 'Function' }, + ], + }, + maxAsyncRequests: { type: 'number', minimum: 1 }, + maxAsyncSize: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + maxInitialRequests: { type: 'number', minimum: 1 }, + maxInitialSize: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + maxSize: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + minChunks: { type: 'number', minimum: 1 }, + minRemainingSize: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + minSize: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + minSizeReduction: { + oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], + }, + name: { + anyOf: [ + { enum: [!1] }, + { type: 'string' }, + { instanceof: 'Function' }, + ], + }, + priority: { type: 'number' }, + reuseExistingChunk: { type: 'boolean' }, + test: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string' }, + { instanceof: 'Function' }, + ], + }, + type: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string' }, + { instanceof: 'Function' }, + ], + }, + usedExports: { type: 'boolean' }, + }, + } + function fe( + k, + { + instancePath: E = '', + parentData: R, + parentDataProperty: L, + rootData: N = k, + } = {} + ) { + let q = null, + ae = 0 + if (0 === ae) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (fe.errors = [{ params: { type: 'object' } }]), !1 + { + const E = ae + for (const v in k) + if (!P.call(Ne.properties, v)) + return (fe.errors = [{ params: { additionalProperty: v } }]), !1 + if (E === ae) { + if (void 0 !== k.automaticNameDelimiter) { + let v = k.automaticNameDelimiter + const E = ae + if (ae === E) { + if ('string' != typeof v) + return (fe.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (fe.errors = [{ params: {} }]), !1 + } + var le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunks) { + let v = k.chunks + const E = ae, + P = ae + let R = !1 + const L = ae + if ('initial' !== v && 'async' !== v && 'all' !== v) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var pe = L === ae + if (((R = R || pe), !R)) { + const k = ae + if (!(v instanceof RegExp)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (((pe = k === ae), (R = R || pe), !R)) { + const k = ae + if (!(v instanceof Function)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(pe = k === ae), (R = R || pe) + } + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (fe.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.enforce) { + const v = ae + if ('boolean' != typeof k.enforce) + return (fe.errors = [{ params: { type: 'boolean' } }]), !1 + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.enforceSizeThreshold) { + let v = k.enforceSizeThreshold + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let ye = !1 + const _e = ae + if (ae === _e) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { params: { comparison: '>=', limit: 0 } } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'number' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var me = _e === ae + if (((ye = ye || me), !ye)) { + const k = ae + if (ae === k) + if (v && 'object' == typeof v && !Array.isArray(v)) + for (const k in v) { + const E = ae + if ('number' != typeof v[k]) { + const k = { params: { type: 'number' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (E !== ae) break + } + else { + const k = { params: { type: 'object' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(me = k === ae), (ye = ye || me) + } + if (ye) + (ae = pe), + null !== q && (pe ? (q.length = pe) : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if ((N === ae && ((R = !0), (L = 0)), !R)) { + const k = { params: { passingSchemas: L } } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (fe.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.filename) { + let E = k.filename + const P = ae, + R = ae + let L = !1 + const N = ae + if (ae === N) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } else if (E.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var ye = N === ae + if (((L = L || ye), !L)) { + const k = ae + if (!(E instanceof Function)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(ye = k === ae), (L = L || ye) + } + if (!L) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (fe.errors = q), + !1 + ) + } + ;(ae = R), + null !== q && (R ? (q.length = R) : (q = null)), + (le = P === ae) + } else le = !0 + if (le) { + if (void 0 !== k.idHint) { + const v = ae + if ('string' != typeof k.idHint) + return ( + (fe.errors = [{ params: { type: 'string' } }]), !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.layer) { + let v = k.layer + const E = ae, + P = ae + let R = !1 + const L = ae + if (!(v instanceof RegExp)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var _e = L === ae + if (((R = R || _e), !R)) { + const k = ae + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (((_e = k === ae), (R = R || _e), !R)) { + const k = ae + if (!(v instanceof Function)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(_e = k === ae), (R = R || _e) + } + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (fe.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.maxAsyncRequests) { + let v = k.maxAsyncRequests + const E = ae + if (ae === E) { + if ('number' != typeof v) + return ( + (fe.errors = [ + { params: { type: 'number' } }, + ]), + !1 + ) + if (v < 1 || isNaN(v)) + return ( + (fe.errors = [ + { + params: { comparison: '>=', limit: 1 }, + }, + ]), + !1 + ) + } + le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.maxAsyncSize) { + let v = k.maxAsyncSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let me = !1 + const ye = ae + if (ae === ye) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { comparison: '>=', limit: 0 }, + } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'number' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var Ie = ye === ae + if (((me = me || Ie), !me)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) + for (const k in v) { + const E = ae + if ('number' != typeof v[k]) { + const k = { + params: { type: 'number' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { params: { type: 'object' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(Ie = k === ae), (me = me || Ie) + } + if (me) + (ae = pe), + null !== q && + (pe ? (q.length = pe) : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if ((N === ae && ((R = !0), (L = 0)), !R)) { + const k = { params: { passingSchemas: L } } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (fe.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.maxInitialRequests) { + let v = k.maxInitialRequests + const E = ae + if (ae === E) { + if ('number' != typeof v) + return ( + (fe.errors = [ + { params: { type: 'number' } }, + ]), + !1 + ) + if (v < 1 || isNaN(v)) + return ( + (fe.errors = [ + { + params: { + comparison: '>=', + limit: 1, + }, + }, + ]), + !1 + ) + } + le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.maxInitialSize) { + let v = k.maxInitialSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let me = !1 + const ye = ae + if (ae === ye) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + } else { + const k = { params: { type: 'number' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var Me = ye === ae + if (((me = me || Me), !me)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) + for (const k in v) { + const E = ae + if ('number' != typeof v[k]) { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { type: 'object' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + ;(Me = k === ae), (me = me || Me) + } + if (me) + (ae = pe), + null !== q && + (pe ? (q.length = pe) : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if ((N === ae && ((R = !0), (L = 0)), !R)) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (fe.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.maxSize) { + let v = k.maxSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let me = !1 + const ye = ae + if (ae === ye) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + var Te = ye === ae + if (((me = me || Te), !me)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) + for (const k in v) { + const E = ae + if ('number' != typeof v[k]) { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { type: 'object' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + ;(Te = k === ae), (me = me || Te) + } + if (me) + (ae = pe), + null !== q && + (pe ? (q.length = pe) : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if ( + (N === ae && ((R = !0), (L = 0)), !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (fe.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.minChunks) { + let v = k.minChunks + const E = ae + if (ae === E) { + if ('number' != typeof v) + return ( + (fe.errors = [ + { params: { type: 'number' } }, + ]), + !1 + ) + if (v < 1 || isNaN(v)) + return ( + (fe.errors = [ + { + params: { + comparison: '>=', + limit: 1, + }, + }, + ]), + !1 + ) + } + le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.minRemainingSize) { + let v = k.minRemainingSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let me = !1 + const ye = ae + if (ae === ye) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var je = ye === ae + if (((me = me || je), !me)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) + for (const k in v) { + const E = ae + if ('number' != typeof v[k]) { + const k = { + params: { + type: 'number', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { type: 'object' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(je = k === ae), (me = me || je) + } + if (me) + (ae = pe), + null !== q && + (pe + ? (q.length = pe) + : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), + ae++ + } + if ( + (N === ae && ((R = !0), (L = 0)), + !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (fe.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.minSize) { + let v = k.minSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let me = !1 + const ye = ae + if (ae === ye) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Be = ye === ae + if (((me = me || Be), !me)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) + for (const k in v) { + const E = ae + if ( + 'number' != typeof v[k] + ) { + const k = { + params: { + type: 'number', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { type: 'object' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Be = k === ae), (me = me || Be) + } + if (me) + (ae = pe), + null !== q && + (pe + ? (q.length = pe) + : (q = null)) + else { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if ( + (N === ae && ((R = !0), (L = 0)), + !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (fe.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.minSizeReduction) { + let v = k.minSizeReduction + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let me = !1 + const ye = ae + if (ae === ye) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var qe = ye === ae + if (((me = me || qe), !me)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) + for (const k in v) { + const E = ae + if ( + 'number' != typeof v[k] + ) { + const k = { + params: { + type: 'number', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { + type: 'object', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(qe = k === ae), + (me = me || qe) + } + if (me) + (ae = pe), + null !== q && + (pe + ? (q.length = pe) + : (q = null)) + else { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if ( + (N === ae && + ((R = !0), (L = 0)), + !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (fe.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.name) { + let v = k.name + const E = ae, + P = ae + let R = !1 + const L = ae + if (!1 !== v) { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Ue = L === ae + if (((R = R || Ue), !R)) { + const k = ae + if ('string' != typeof v) { + const k = { + params: { + type: 'string', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if ( + ((Ue = k === ae), + (R = R || Ue), + !R) + ) { + const k = ae + if ( + !(v instanceof Function) + ) { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Ue = k === ae), + (R = R || Ue) + } + } + if (!R) { + const k = { params: {} } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (fe.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.priority) { + const v = ae + if ( + 'number' != + typeof k.priority + ) + return ( + (fe.errors = [ + { + params: { + type: 'number', + }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if ( + void 0 !== + k.reuseExistingChunk + ) { + const v = ae + if ( + 'boolean' != + typeof k.reuseExistingChunk + ) + return ( + (fe.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.test) { + let v = k.test + const E = ae, + P = ae + let R = !1 + const L = ae + if ( + !(v instanceof RegExp) + ) { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Ge = L === ae + if (((R = R || Ge), !R)) { + const k = ae + if ( + 'string' != typeof v + ) { + const k = { + params: { + type: 'string', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if ( + ((Ge = k === ae), + (R = R || Ge), + !R) + ) { + const k = ae + if ( + !( + v instanceof + Function + ) + ) { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Ge = k === ae), + (R = R || Ge) + } + } + if (!R) { + const k = { params: {} } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (fe.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.type) { + let v = k.type + const E = ae, + P = ae + let R = !1 + const L = ae + if ( + !(v instanceof RegExp) + ) { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var He = L === ae + if ( + ((R = R || He), !R) + ) { + const k = ae + if ( + 'string' != typeof v + ) { + const k = { + params: { + type: 'string', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if ( + ((He = k === ae), + (R = R || He), + !R) + ) { + const k = ae + if ( + !( + v instanceof + Function + ) + ) { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(He = k === ae), + (R = R || He) + } + } + if (!R) { + const k = { + params: {}, + } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (fe.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (le = E === ae) + } else le = !0 + if (le) + if ( + void 0 !== + k.usedExports + ) { + const v = ae + if ( + 'boolean' != + typeof k.usedExports + ) + return ( + (fe.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return (fe.errors = q), 0 === ae + } + function ue( + k, + { + instancePath: E = '', + parentData: R, + parentDataProperty: L, + rootData: N = k, + } = {} + ) { + let q = null, + ae = 0 + if (0 === ae) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (ue.errors = [{ params: { type: 'object' } }]), !1 + { + const R = ae + for (const v in k) + if (!P.call(je.properties, v)) + return (ue.errors = [{ params: { additionalProperty: v } }]), !1 + if (R === ae) { + if (void 0 !== k.automaticNameDelimiter) { + let v = k.automaticNameDelimiter + const E = ae + if (ae === E) { + if ('string' != typeof v) + return (ue.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (ue.errors = [{ params: {} }]), !1 + } + var le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.cacheGroups) { + let v = k.cacheGroups + const P = ae, + R = ae, + L = ae + if (ae === L) + if (v && 'object' == typeof v && !Array.isArray(v)) { + let k + if (void 0 === v.test && (k = 'test')) { + const k = {} + null === q ? (q = [k]) : q.push(k), ae++ + } else if (void 0 !== v.test) { + let k = v.test + const E = ae + let P = !1 + const R = ae + if (!(k instanceof RegExp)) { + const k = {} + null === q ? (q = [k]) : q.push(k), ae++ + } + var pe = R === ae + if (((P = P || pe), !P)) { + const v = ae + if ('string' != typeof k) { + const k = {} + null === q ? (q = [k]) : q.push(k), ae++ + } + if (((pe = v === ae), (P = P || pe), !P)) { + const v = ae + if (!(k instanceof Function)) { + const k = {} + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(pe = v === ae), (P = P || pe) + } + } + if (P) + (ae = E), + null !== q && (E ? (q.length = E) : (q = null)) + else { + const k = {} + null === q ? (q = [k]) : q.push(k), ae++ + } + } + } else { + const k = {} + null === q ? (q = [k]) : q.push(k), ae++ + } + if (L === ae) return (ue.errors = [{ params: {} }]), !1 + if ( + ((ae = R), + null !== q && (R ? (q.length = R) : (q = null)), + ae === P) + ) { + if (!v || 'object' != typeof v || Array.isArray(v)) + return (ue.errors = [{ params: { type: 'object' } }]), !1 + for (const k in v) { + let P = v[k] + const R = ae, + L = ae + let le = !1 + const pe = ae + if (!1 !== P) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var me = pe === ae + if (((le = le || me), !le)) { + const R = ae + if (!(P instanceof RegExp)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (((me = R === ae), (le = le || me), !le)) { + const R = ae + if ('string' != typeof P) { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (((me = R === ae), (le = le || me), !le)) { + const R = ae + if (!(P instanceof Function)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (((me = R === ae), (le = le || me), !le)) { + const R = ae + fe(P, { + instancePath: + E + + '/cacheGroups/' + + k.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: v, + parentDataProperty: k, + rootData: N, + }) || + ((q = + null === q ? fe.errors : q.concat(fe.errors)), + (ae = q.length)), + (me = R === ae), + (le = le || me) + } + } + } + } + if (!le) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + if ( + ((ae = L), + null !== q && (L ? (q.length = L) : (q = null)), + R !== ae) + ) + break + } + } + le = P === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunks) { + let v = k.chunks + const E = ae, + P = ae + let R = !1 + const L = ae + if ('initial' !== v && 'async' !== v && 'all' !== v) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var ye = L === ae + if (((R = R || ye), !R)) { + const k = ae + if (!(v instanceof RegExp)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (((ye = k === ae), (R = R || ye), !R)) { + const k = ae + if (!(v instanceof Function)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(ye = k === ae), (R = R || ye) + } + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.defaultSizeTypes) { + let v = k.defaultSizeTypes + const E = ae + if (ae === E) { + if (!Array.isArray(v)) + return ( + (ue.errors = [{ params: { type: 'array' } }]), !1 + ) + if (v.length < 1) + return (ue.errors = [{ params: { limit: 1 } }]), !1 + { + const k = v.length + for (let E = 0; E < k; E++) { + const k = ae + if ('string' != typeof v[E]) + return ( + (ue.errors = [{ params: { type: 'string' } }]), + !1 + ) + if (k !== ae) break + } + } + } + le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.enforceSizeThreshold) { + let v = k.enforceSizeThreshold + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let me = !1 + const ye = ae + if (ae === ye) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { comparison: '>=', limit: 0 }, + } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'number' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var _e = ye === ae + if (((me = me || _e), !me)) { + const k = ae + if (ae === k) + if (v && 'object' == typeof v && !Array.isArray(v)) + for (const k in v) { + const E = ae + if ('number' != typeof v[k]) { + const k = { params: { type: 'number' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (E !== ae) break + } + else { + const k = { params: { type: 'object' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(_e = k === ae), (me = me || _e) + } + if (me) + (ae = pe), + null !== q && (pe ? (q.length = pe) : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if ((N === ae && ((R = !0), (L = 0)), !R)) { + const k = { params: { passingSchemas: L } } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.fallbackCacheGroup) { + let v = k.fallbackCacheGroup + const E = ae + if (ae === E) { + if (!v || 'object' != typeof v || Array.isArray(v)) + return ( + (ue.errors = [{ params: { type: 'object' } }]), + !1 + ) + { + const k = ae + for (const k in v) + if ( + 'automaticNameDelimiter' !== k && + 'chunks' !== k && + 'maxAsyncSize' !== k && + 'maxInitialSize' !== k && + 'maxSize' !== k && + 'minSize' !== k && + 'minSizeReduction' !== k + ) + return ( + (ue.errors = [ + { params: { additionalProperty: k } }, + ]), + !1 + ) + if (k === ae) { + if (void 0 !== v.automaticNameDelimiter) { + let k = v.automaticNameDelimiter + const E = ae + if (ae === E) { + if ('string' != typeof k) + return ( + (ue.errors = [ + { params: { type: 'string' } }, + ]), + !1 + ) + if (k.length < 1) + return (ue.errors = [{ params: {} }]), !1 + } + var Ie = E === ae + } else Ie = !0 + if (Ie) { + if (void 0 !== v.chunks) { + let k = v.chunks + const E = ae, + P = ae + let R = !1 + const L = ae + if ( + 'initial' !== k && + 'async' !== k && + 'all' !== k + ) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var Me = L === ae + if (((R = R || Me), !R)) { + const v = ae + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if ( + ((Me = v === ae), (R = R || Me), !R) + ) { + const v = ae + if (!(k instanceof Function)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), + ae++ + } + ;(Me = v === ae), (R = R || Me) + } + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (Ie = E === ae) + } else Ie = !0 + if (Ie) { + if (void 0 !== v.maxAsyncSize) { + let k = v.maxAsyncSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + le = ae + let pe = !1 + const me = ae + if (ae === me) + if ('number' == typeof k) { + if (k < 0 || isNaN(k)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + var Te = me === ae + if (((pe = pe || Te), !pe)) { + const v = ae + if (ae === v) + if ( + k && + 'object' == typeof k && + !Array.isArray(k) + ) + for (const v in k) { + const E = ae + if ('number' != typeof k[v]) { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { type: 'object' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + ;(Te = v === ae), (pe = pe || Te) + } + if (pe) + (ae = le), + null !== q && + (le ? (q.length = le) : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if ( + (N === ae && ((R = !0), (L = 0)), !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (Ie = E === ae) + } else Ie = !0 + if (Ie) { + if (void 0 !== v.maxInitialSize) { + let k = v.maxInitialSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + le = ae + let pe = !1 + const me = ae + if (ae === me) + if ('number' == typeof k) { + if (k < 0 || isNaN(k)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + var Ne = me === ae + if (((pe = pe || Ne), !pe)) { + const v = ae + if (ae === v) + if ( + k && + 'object' == typeof k && + !Array.isArray(k) + ) + for (const v in k) { + const E = ae + if ('number' != typeof k[v]) { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { type: 'object' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Ne = v === ae), (pe = pe || Ne) + } + if (pe) + (ae = le), + null !== q && + (le + ? (q.length = le) + : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), + ae++ + } + if ( + (N === ae && ((R = !0), (L = 0)), !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (Ie = E === ae) + } else Ie = !0 + if (Ie) { + if (void 0 !== v.maxSize) { + let k = v.maxSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + le = ae + let pe = !1 + const me = ae + if (ae === me) + if ('number' == typeof k) { + if (k < 0 || isNaN(k)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Be = me === ae + if (((pe = pe || Be), !pe)) { + const v = ae + if (ae === v) + if ( + k && + 'object' == typeof k && + !Array.isArray(k) + ) + for (const v in k) { + const E = ae + if ('number' != typeof k[v]) { + const k = { + params: { + type: 'number', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { type: 'object' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Be = v === ae), (pe = pe || Be) + } + if (pe) + (ae = le), + null !== q && + (le + ? (q.length = le) + : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), + ae++ + } + if ( + (N === ae && ((R = !0), (L = 0)), + !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (Ie = E === ae) + } else Ie = !0 + if (Ie) { + if (void 0 !== v.minSize) { + let k = v.minSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + le = ae + let pe = !1 + const me = ae + if (ae === me) + if ('number' == typeof k) { + if (k < 0 || isNaN(k)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var qe = me === ae + if (((pe = pe || qe), !pe)) { + const v = ae + if (ae === v) + if ( + k && + 'object' == typeof k && + !Array.isArray(k) + ) + for (const v in k) { + const E = ae + if ( + 'number' != typeof k[v] + ) { + const k = { + params: { + type: 'number', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { type: 'object' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(qe = v === ae), (pe = pe || qe) + } + if (pe) + (ae = le), + null !== q && + (le + ? (q.length = le) + : (q = null)) + else { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if ( + (N === ae && ((R = !0), (L = 0)), + !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (Ie = E === ae) + } else Ie = !0 + if (Ie) + if (void 0 !== v.minSizeReduction) { + let k = v.minSizeReduction + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + le = ae + let pe = !1 + const me = ae + if (ae === me) + if ('number' == typeof k) { + if (k < 0 || isNaN(k)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Ue = me === ae + if (((pe = pe || Ue), !pe)) { + const v = ae + if (ae === v) + if ( + k && + 'object' == typeof k && + !Array.isArray(k) + ) + for (const v in k) { + const E = ae + if ( + 'number' != typeof k[v] + ) { + const k = { + params: { + type: 'number', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { + type: 'object', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Ue = v === ae), + (pe = pe || Ue) + } + if (pe) + (ae = le), + null !== q && + (le + ? (q.length = le) + : (q = null)) + else { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if ( + (N === ae && + ((R = !0), (L = 0)), + !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (Ie = E === ae) + } else Ie = !0 + } + } + } + } + } + } + } + } + le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.filename) { + let E = k.filename + const P = ae, + R = ae + let L = !1 + const N = ae + if (ae === N) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } else if (E.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var Ge = N === ae + if (((L = L || Ge), !L)) { + const k = ae + if (!(E instanceof Function)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(Ge = k === ae), (L = L || Ge) + } + if (!L) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = R), + null !== q && (R ? (q.length = R) : (q = null)), + (le = P === ae) + } else le = !0 + if (le) { + if (void 0 !== k.hidePathInfo) { + const v = ae + if ('boolean' != typeof k.hidePathInfo) + return ( + (ue.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.maxAsyncRequests) { + let v = k.maxAsyncRequests + const E = ae + if (ae === E) { + if ('number' != typeof v) + return ( + (ue.errors = [ + { params: { type: 'number' } }, + ]), + !1 + ) + if (v < 1 || isNaN(v)) + return ( + (ue.errors = [ + { + params: { + comparison: '>=', + limit: 1, + }, + }, + ]), + !1 + ) + } + le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.maxAsyncSize) { + let v = k.maxAsyncSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let me = !1 + const ye = ae + if (ae === ye) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'number' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var He = ye === ae + if (((me = me || He), !me)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) + for (const k in v) { + const E = ae + if ('number' != typeof v[k]) { + const k = { + params: { type: 'number' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { params: { type: 'object' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(He = k === ae), (me = me || He) + } + if (me) + (ae = pe), + null !== q && + (pe ? (q.length = pe) : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if ((N === ae && ((R = !0), (L = 0)), !R)) { + const k = { params: { passingSchemas: L } } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.maxInitialRequests) { + let v = k.maxInitialRequests + const E = ae + if (ae === E) { + if ('number' != typeof v) + return ( + (ue.errors = [ + { params: { type: 'number' } }, + ]), + !1 + ) + if (v < 1 || isNaN(v)) + return ( + (ue.errors = [ + { + params: { + comparison: '>=', + limit: 1, + }, + }, + ]), + !1 + ) + } + le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.maxInitialSize) { + let v = k.maxInitialSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let me = !1 + const ye = ae + if (ae === ye) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + var We = ye === ae + if (((me = me || We), !me)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) + for (const k in v) { + const E = ae + if ('number' != typeof v[k]) { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { type: 'object' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + ;(We = k === ae), (me = me || We) + } + if (me) + (ae = pe), + null !== q && + (pe ? (q.length = pe) : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if ( + (N === ae && ((R = !0), (L = 0)), !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.maxSize) { + let v = k.maxSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let me = !1 + const ye = ae + if (ae === ye) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === q ? (q = [k]) : q.push(k), + ae++ + } + var Qe = ye === ae + if (((me = me || Qe), !me)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) + for (const k in v) { + const E = ae + if ('number' != typeof v[k]) { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { type: 'object' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Qe = k === ae), (me = me || Qe) + } + if (me) + (ae = pe), + null !== q && + (pe + ? (q.length = pe) + : (q = null)) + else { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), + ae++ + } + if ( + (N === ae && ((R = !0), (L = 0)), !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.minChunks) { + let v = k.minChunks + const E = ae + if (ae === E) { + if ('number' != typeof v) + return ( + (ue.errors = [ + { + params: { type: 'number' }, + }, + ]), + !1 + ) + if (v < 1 || isNaN(v)) + return ( + (ue.errors = [ + { + params: { + comparison: '>=', + limit: 1, + }, + }, + ]), + !1 + ) + } + le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.minRemainingSize) { + let v = k.minRemainingSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let me = !1 + const ye = ae + if (ae === ye) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Je = ye === ae + if (((me = me || Je), !me)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) + for (const k in v) { + const E = ae + if ( + 'number' != typeof v[k] + ) { + const k = { + params: { + type: 'number', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { type: 'object' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Je = k === ae), (me = me || Je) + } + if (me) + (ae = pe), + null !== q && + (pe + ? (q.length = pe) + : (q = null)) + else { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if ( + (N === ae && ((R = !0), (L = 0)), + !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.minSize) { + let v = k.minSize + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let me = !1 + const ye = ae + if (ae === ye) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { type: 'number' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Ve = ye === ae + if (((me = me || Ve), !me)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) + for (const k in v) { + const E = ae + if ( + 'number' != typeof v[k] + ) { + const k = { + params: { + type: 'number', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { + type: 'object', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Ve = k === ae), + (me = me || Ve) + } + if (me) + (ae = pe), + null !== q && + (pe + ? (q.length = pe) + : (q = null)) + else { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if ( + (N === ae && + ((R = !0), (L = 0)), + !R) + ) { + const k = { + params: { passingSchemas: L }, + } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if ( + void 0 !== k.minSizeReduction + ) { + let v = k.minSizeReduction + const E = ae, + P = ae + let R = !1, + L = null + const N = ae, + pe = ae + let me = !1 + const ye = ae + if (ae === ye) + if ('number' == typeof v) { + if (v < 0 || isNaN(v)) { + const k = { + params: { + comparison: '>=', + limit: 0, + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + } else { + const k = { + params: { + type: 'number', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Ke = ye === ae + if (((me = me || Ke), !me)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == typeof v && + !Array.isArray(v) + ) + for (const k in v) { + const E = ae + if ( + 'number' != + typeof v[k] + ) { + const k = { + params: { + type: 'number', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if (E !== ae) break + } + else { + const k = { + params: { + type: 'object', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Ke = k === ae), + (me = me || Ke) + } + if (me) + (ae = pe), + null !== q && + (pe + ? (q.length = pe) + : (q = null)) + else { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if ( + (N === ae && + ((R = !0), (L = 0)), + !R) + ) { + const k = { + params: { + passingSchemas: L, + }, + } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.name) { + let v = k.name + const E = ae, + P = ae + let R = !1 + const L = ae + if (!1 !== v) { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var Ye = L === ae + if (((R = R || Ye), !R)) { + const k = ae + if ('string' != typeof v) { + const k = { + params: { + type: 'string', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + if ( + ((Ye = k === ae), + (R = R || Ye), + !R) + ) { + const k = ae + if ( + !(v instanceof Function) + ) { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(Ye = k === ae), + (R = R || Ye) + } + } + if (!R) { + const k = { params: {} } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (ue.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (le = E === ae) + } else le = !0 + if (le) + if ( + void 0 !== k.usedExports + ) { + const v = ae + if ( + 'boolean' != + typeof k.usedExports + ) + return ( + (ue.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return (ue.errors = q), 0 === ae + } + function ce( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + if (0 === q) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (ce.errors = [{ params: { type: 'object' } }]), !1 + { + const E = q + for (const v in k) + if (!P.call(Te.properties, v)) + return (ce.errors = [{ params: { additionalProperty: v } }]), !1 + if (E === q) { + if (void 0 !== k.checkWasmTypes) { + const v = q + if ('boolean' != typeof k.checkWasmTypes) + return (ce.errors = [{ params: { type: 'boolean' } }]), !1 + var ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.chunkIds) { + let v = k.chunkIds + const E = q + if ( + 'natural' !== v && + 'named' !== v && + 'deterministic' !== v && + 'size' !== v && + 'total-size' !== v && + !1 !== v + ) + return (ce.errors = [{ params: {} }]), !1 + ae = E === q + } else ae = !0 + if (ae) { + if (void 0 !== k.concatenateModules) { + const v = q + if ('boolean' != typeof k.concatenateModules) + return (ce.errors = [{ params: { type: 'boolean' } }]), !1 + ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.emitOnErrors) { + const v = q + if ('boolean' != typeof k.emitOnErrors) + return ( + (ce.errors = [{ params: { type: 'boolean' } }]), !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.flagIncludedChunks) { + const v = q + if ('boolean' != typeof k.flagIncludedChunks) + return ( + (ce.errors = [{ params: { type: 'boolean' } }]), !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.innerGraph) { + const v = q + if ('boolean' != typeof k.innerGraph) + return ( + (ce.errors = [{ params: { type: 'boolean' } }]), + !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.mangleExports) { + let v = k.mangleExports + const E = q, + P = q + let R = !1 + const L = q + if ('size' !== v && 'deterministic' !== v) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + var le = L === q + if (((R = R || le), !R)) { + const k = q + if ('boolean' != typeof v) { + const k = { params: { type: 'boolean' } } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(le = k === q), (R = R || le) + } + if (!R) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (ce.errors = N), + !1 + ) + } + ;(q = P), + null !== N && (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.mangleWasmImports) { + const v = q + if ('boolean' != typeof k.mangleWasmImports) + return ( + (ce.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.mergeDuplicateChunks) { + const v = q + if ('boolean' != typeof k.mergeDuplicateChunks) + return ( + (ce.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.minimize) { + const v = q + if ('boolean' != typeof k.minimize) + return ( + (ce.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.minimizer) { + let v = k.minimizer + const E = q + if (q === E) { + if (!Array.isArray(v)) + return ( + (ce.errors = [ + { params: { type: 'array' } }, + ]), + !1 + ) + { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = q, + R = q + let L = !1 + const ae = q + if ('...' !== k) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), + q++ + } + var pe = ae === q + if (((L = L || pe), !L)) { + const v = q + if (q == q) + if ( + k && + 'object' == typeof k && + !Array.isArray(k) + ) { + let v + if ( + void 0 === k.apply && + (v = 'apply') + ) { + const k = { + params: { + missingProperty: v, + }, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } else if ( + void 0 !== k.apply && + !(k.apply instanceof Function) + ) { + const k = { params: {} } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + } else { + const k = { + params: { type: 'object' }, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + if ( + ((pe = v === q), + (L = L || pe), + !L) + ) { + const v = q + if (!(k instanceof Function)) { + const k = { params: {} } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + ;(pe = v === q), (L = L || pe) + } + } + if (!L) { + const k = { params: {} } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (ce.errors = N), + !1 + ) + } + if ( + ((q = R), + null !== N && + (R ? (N.length = R) : (N = null)), + P !== q) + ) + break + } + } + } + ae = E === q + } else ae = !0 + if (ae) { + if (void 0 !== k.moduleIds) { + let v = k.moduleIds + const E = q + if ( + 'natural' !== v && + 'named' !== v && + 'hashed' !== v && + 'deterministic' !== v && + 'size' !== v && + !1 !== v + ) + return ( + (ce.errors = [{ params: {} }]), !1 + ) + ae = E === q + } else ae = !0 + if (ae) { + if (void 0 !== k.noEmitOnErrors) { + const v = q + if ( + 'boolean' != typeof k.noEmitOnErrors + ) + return ( + (ce.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.nodeEnv) { + let v = k.nodeEnv + const E = q, + P = q + let R = !1 + const L = q + if (!1 !== v) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), + q++ + } + var me = L === q + if (((R = R || me), !R)) { + const k = q + if ('string' != typeof v) { + const k = { + params: { type: 'string' }, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + ;(me = k === q), (R = R || me) + } + if (!R) { + const k = { params: {} } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (ce.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.portableRecords) { + const v = q + if ( + 'boolean' != + typeof k.portableRecords + ) + return ( + (ce.errors = [ + { + params: { type: 'boolean' }, + }, + ]), + !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.providedExports) { + const v = q + if ( + 'boolean' != + typeof k.providedExports + ) + return ( + (ce.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if ( + void 0 !== k.realContentHash + ) { + const v = q + if ( + 'boolean' != + typeof k.realContentHash + ) + return ( + (ce.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.removeAvailableModules + ) { + const v = q + if ( + 'boolean' != + typeof k.removeAvailableModules + ) + return ( + (ce.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.removeEmptyChunks + ) { + const v = q + if ( + 'boolean' != + typeof k.removeEmptyChunks + ) + return ( + (ce.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + ae = v === q + } else ae = !0 + if (ae) { + if ( + void 0 !== k.runtimeChunk + ) { + let v = k.runtimeChunk + const E = q, + P = q + let R = !1 + const L = q + if ( + 'single' !== v && + 'multiple' !== v + ) { + const k = { params: {} } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + var ye = L === q + if (((R = R || ye), !R)) { + const k = q + if ( + 'boolean' != typeof v + ) { + const k = { + params: { + type: 'boolean', + }, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + if ( + ((ye = k === q), + (R = R || ye), + !R) + ) { + const k = q + if (q === k) + if ( + v && + 'object' == + typeof v && + !Array.isArray(v) + ) { + const k = q + for (const k in v) + if ( + 'name' !== k + ) { + const v = { + params: { + additionalProperty: + k, + }, + } + null === N + ? (N = [v]) + : N.push(v), + q++ + break + } + if ( + k === q && + void 0 !== + v.name + ) { + let k = v.name + const E = q + let P = !1 + const R = q + if ( + 'string' != + typeof k + ) { + const k = { + params: { + type: 'string', + }, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + var _e = R === q + if ( + ((P = + P || _e), + !P) + ) { + const v = q + if ( + !( + k instanceof + Function + ) + ) { + const k = { + params: + {}, + } + null === N + ? (N = [ + k, + ]) + : N.push( + k + ), + q++ + } + ;(_e = + v === q), + (P = + P || _e) + } + if (P) + (q = E), + null !== + N && + (E + ? (N.length = + E) + : (N = + null)) + else { + const k = { + params: {}, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + } + } else { + const k = { + params: { + type: 'object', + }, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + ;(ye = k === q), + (R = R || ye) + } + } + if (!R) { + const k = { params: {} } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (ce.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P + ? (N.length = P) + : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if ( + void 0 !== k.sideEffects + ) { + let v = k.sideEffects + const E = q, + P = q + let R = !1 + const L = q + if ('flag' !== v) { + const k = { + params: {}, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + var Ie = L === q + if ( + ((R = R || Ie), !R) + ) { + const k = q + if ( + 'boolean' != + typeof v + ) { + const k = { + params: { + type: 'boolean', + }, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + ;(Ie = k === q), + (R = R || Ie) + } + if (!R) { + const k = { + params: {}, + } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (ce.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P + ? (N.length = P) + : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) { + if ( + void 0 !== + k.splitChunks + ) { + let E = k.splitChunks + const P = q, + R = q + let le = !1 + const pe = q + if (!1 !== E) { + const k = { + params: {}, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + var Me = pe === q + if ( + ((le = le || Me), + !le) + ) { + const P = q + ue(E, { + instancePath: + v + + '/splitChunks', + parentData: k, + parentDataProperty: + 'splitChunks', + rootData: L, + }) || + ((N = + null === N + ? ue.errors + : N.concat( + ue.errors + )), + (q = N.length)), + (Me = P === q), + (le = le || Me) + } + if (!le) { + const k = { + params: {}, + } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (ce.errors = N), + !1 + ) + } + ;(q = R), + null !== N && + (R + ? (N.length = R) + : (N = null)), + (ae = P === q) + } else ae = !0 + if (ae) + if ( + void 0 !== + k.usedExports + ) { + let v = + k.usedExports + const E = q, + P = q + let R = !1 + const L = q + if ( + 'global' !== v + ) { + const k = { + params: {}, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + var je = L === q + if ( + ((R = R || je), + !R) + ) { + const k = q + if ( + 'boolean' != + typeof v + ) { + const k = { + params: { + type: 'boolean', + }, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + ;(je = k === q), + (R = R || je) + } + if (!R) { + const k = { + params: {}, + } + return ( + null === N + ? (N = [k]) + : N.push(k), + q++, + (ce.errors = N), + !1 + ) + } + ;(q = P), + null !== N && + (P + ? (N.length = + P) + : (N = null)), + (ae = E === q) + } else ae = !0 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return (ce.errors = N), 0 === q + } + const Be = { + type: 'object', + additionalProperties: !1, + properties: { + amdContainer: { oneOf: [{ $ref: '#/definitions/AmdContainer' }] }, + assetModuleFilename: { $ref: '#/definitions/AssetModuleFilename' }, + asyncChunks: { type: 'boolean' }, + auxiliaryComment: { + 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' }, + clean: { $ref: '#/definitions/Clean' }, + compareBeforeEmit: { $ref: '#/definitions/CompareBeforeEmit' }, + crossOriginLoading: { $ref: '#/definitions/CrossOriginLoading' }, + cssChunkFilename: { $ref: '#/definitions/CssChunkFilename' }, + cssFilename: { $ref: '#/definitions/CssFilename' }, + 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', + }, + ignoreBrowserWarnings: { type: 'boolean' }, + iife: { $ref: '#/definitions/Iife' }, + importFunctionName: { $ref: '#/definitions/ImportFunctionName' }, + importMetaName: { $ref: '#/definitions/ImportMetaName' }, + library: { $ref: '#/definitions/Library' }, + libraryExport: { oneOf: [{ $ref: '#/definitions/LibraryExport' }] }, + libraryTarget: { 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' }, + strictModuleErrorHandling: { + $ref: '#/definitions/StrictModuleErrorHandling', + }, + strictModuleExceptionHandling: { + $ref: '#/definitions/StrictModuleExceptionHandling', + }, + trustedTypes: { + anyOf: [ + { enum: [!0] }, + { type: 'string', minLength: 1 }, + { $ref: '#/definitions/TrustedTypes' }, + ], + }, + umdNamedDefine: { + oneOf: [{ $ref: '#/definitions/UmdNamedDefine' }], + }, + uniqueName: { $ref: '#/definitions/UniqueName' }, + wasmLoading: { $ref: '#/definitions/WasmLoading' }, + webassemblyModuleFilename: { + $ref: '#/definitions/WebassemblyModuleFilename', + }, + workerChunkLoading: { $ref: '#/definitions/ChunkLoading' }, + workerPublicPath: { $ref: '#/definitions/WorkerPublicPath' }, + workerWasmLoading: { $ref: '#/definitions/WasmLoading' }, + }, + }, + qe = { + type: 'object', + additionalProperties: !1, + properties: { + arrowFunction: { type: 'boolean' }, + bigIntLiteral: { type: 'boolean' }, + const: { type: 'boolean' }, + destructuring: { type: 'boolean' }, + dynamicImport: { type: 'boolean' }, + dynamicImportInWorker: { type: 'boolean' }, + forOf: { type: 'boolean' }, + globalThis: { type: 'boolean' }, + module: { type: 'boolean' }, + optionalChaining: { type: 'boolean' }, + templateLiteral: { type: 'boolean' }, + }, + } + function de( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + const ae = q + let le = !1, + pe = null + const me = q, + ye = q + let _e = !1 + const Ie = q + if (q === Ie) + if ('string' == typeof k) { + if (k.includes('!') || !1 !== v.test(k)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } else if (k.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var Me = Ie === q + if (((_e = _e || Me), !_e)) { + const v = q + if (!(k instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(Me = v === q), (_e = _e || Me) + } + if (_e) (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + if ((me === q && ((le = !0), (pe = 0)), !le)) { + const k = { params: { passingSchemas: pe } } + return null === N ? (N = [k]) : N.push(k), q++, (de.errors = N), !1 + } + return ( + (q = ae), + null !== N && (ae ? (N.length = ae) : (N = null)), + (de.errors = N), + 0 === q + ) + } + function he( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + const ae = q + let le = !1 + const pe = q + if ('boolean' != typeof k) { + const k = { params: { type: 'boolean' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var me = pe === q + if (((le = le || me), !le)) { + const E = q + if (q == q) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const E = q + for (const v in k) + if ('dry' !== v && 'keep' !== v) { + const k = { params: { additionalProperty: v } } + null === N ? (N = [k]) : N.push(k), q++ + break + } + if (E === q) { + if (void 0 !== k.dry) { + const v = q + if ('boolean' != typeof k.dry) { + const k = { params: { type: 'boolean' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var ye = v === q + } else ye = !0 + if (ye) + if (void 0 !== k.keep) { + let E = k.keep + const P = q, + R = q + let L = !1 + const ae = q + if (!(E instanceof RegExp)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + var _e = ae === q + if (((L = L || _e), !L)) { + const k = q + if (q === k) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (((_e = k === q), (L = L || _e), !L)) { + const k = q + if (!(E instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(_e = k === q), (L = L || _e) + } + } + if (L) + (q = R), null !== N && (R ? (N.length = R) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ye = P === q + } else ye = !0 + } + } else { + const k = { params: { type: 'object' } } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(me = E === q), (le = le || me) + } + if (!le) { + const k = { params: {} } + return null === N ? (N = [k]) : N.push(k), q++, (he.errors = N), !1 + } + return ( + (q = ae), + null !== N && (ae ? (N.length = ae) : (N = null)), + (he.errors = N), + 0 === q + ) + } + function ge( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + const ae = q + let le = !1, + pe = null + const me = q, + ye = q + let _e = !1 + const Ie = q + if (q === Ie) + if ('string' == typeof k) { + if (k.includes('!') || !1 !== v.test(k)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } else if (k.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var Me = Ie === q + if (((_e = _e || Me), !_e)) { + const v = q + if (!(k instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(Me = v === q), (_e = _e || Me) + } + if (_e) (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + if ((me === q && ((le = !0), (pe = 0)), !le)) { + const k = { params: { passingSchemas: pe } } + return null === N ? (N = [k]) : N.push(k), q++, (ge.errors = N), !1 + } + return ( + (q = ae), + null !== N && (ae ? (N.length = ae) : (N = null)), + (ge.errors = N), + 0 === q + ) + } + function be( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + const ae = q + let le = !1, + pe = null + const me = q, + ye = q + let _e = !1 + const Ie = q + if (q === Ie) + if ('string' == typeof k) { + if (k.includes('!') || !1 !== v.test(k)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } else if (k.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var Me = Ie === q + if (((_e = _e || Me), !_e)) { + const v = q + if (!(k instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(Me = v === q), (_e = _e || Me) + } + if (_e) (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + if ((me === q && ((le = !0), (pe = 0)), !le)) { + const k = { params: { passingSchemas: pe } } + return null === N ? (N = [k]) : N.push(k), q++, (be.errors = N), !1 + } + return ( + (q = ae), + null !== N && (ae ? (N.length = ae) : (N = null)), + (be.errors = N), + 0 === q + ) + } + function ve( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!Array.isArray(k)) + return (ve.errors = [{ params: { type: 'array' } }]), !1 + { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = N, + R = N + let ae = !1 + const le = N + if ( + 'jsonp' !== v && + 'import-scripts' !== v && + 'require' !== v && + 'async-node' !== v && + 'import' !== v + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = le === N + if (((ae = ae || q), !ae)) { + const k = N + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(q = k === N), (ae = ae || q) + } + if (!ae) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), N++, (ve.errors = L), !1 + ) + } + if ( + ((N = R), + null !== L && (R ? (L.length = R) : (L = null)), + P !== N) + ) + break + } + } + } + return (ve.errors = L), 0 === N + } + function Pe( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!Array.isArray(k)) + return (Pe.errors = [{ params: { type: 'array' } }]), !1 + { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = N, + R = N + let ae = !1 + const le = N + if ( + 'var' !== v && + 'module' !== v && + 'assign' !== v && + 'assign-properties' !== v && + 'this' !== v && + 'window' !== v && + 'self' !== v && + 'global' !== v && + 'commonjs' !== v && + 'commonjs2' !== v && + 'commonjs-module' !== v && + 'commonjs-static' !== v && + 'amd' !== v && + 'amd-require' !== v && + 'umd' !== v && + 'umd2' !== v && + 'jsonp' !== v && + 'system' !== v + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = le === N + if (((ae = ae || q), !ae)) { + const k = N + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(q = k === N), (ae = ae || q) + } + if (!ae) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), N++, (Pe.errors = L), !1 + ) + } + if ( + ((N = R), + null !== L && (R ? (L.length = R) : (L = null)), + P !== N) + ) + break + } + } + } + return (Pe.errors = L), 0 === N + } + function De( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!Array.isArray(k)) + return (De.errors = [{ params: { type: 'array' } }]), !1 + { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = N, + R = N + let ae = !1 + const le = N + if ( + 'fetch-streaming' !== v && + 'fetch' !== v && + 'async-node' !== v + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = le === N + if (((ae = ae || q), !ae)) { + const k = N + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(q = k === N), (ae = ae || q) + } + if (!ae) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), N++, (De.errors = L), !1 + ) + } + if ( + ((N = R), + null !== L && (R ? (L.length = R) : (L = null)), + P !== N) + ) + break + } + } + } + return (De.errors = L), 0 === N + } + function Oe( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + const ae = q + let le = !1, + pe = null + const me = q, + ye = q + let _e = !1 + const Ie = q + if (q === Ie) + if ('string' == typeof k) { + if (k.includes('!') || !1 !== v.test(k)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } else if (k.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var Me = Ie === q + if (((_e = _e || Me), !_e)) { + const v = q + if (!(k instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(Me = v === q), (_e = _e || Me) + } + if (_e) (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + if ((me === q && ((le = !0), (pe = 0)), !le)) { + const k = { params: { passingSchemas: pe } } + return null === N ? (N = [k]) : N.push(k), q++, (Oe.errors = N), !1 + } + return ( + (q = ae), + null !== N && (ae ? (N.length = ae) : (N = null)), + (Oe.errors = N), + 0 === q + ) + } + function xe( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + f(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || ((L = null === L ? f.errors : L.concat(f.errors)), (N = L.length)) + var pe = le === N + if (((ae = ae || pe), !ae)) { + const q = N + u(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? u.errors : L.concat(u.errors)), (N = L.length)), + (pe = q === N), + (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (xe.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (xe.errors = L), + 0 === N + ) + } + function Ae( + k, + { + instancePath: E = '', + parentData: R, + parentDataProperty: L, + rootData: N = k, + } = {} + ) { + let q = null, + ae = 0 + if (0 === ae) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (Ae.errors = [{ params: { type: 'object' } }]), !1 + { + const R = ae + for (const v in k) + if (!P.call(Be.properties, v)) + return (Ae.errors = [{ params: { additionalProperty: v } }]), !1 + if (R === ae) { + if (void 0 !== k.amdContainer) { + let v = k.amdContainer + const E = ae, + P = ae + let R = !1, + L = null + const N = ae + if (ae == ae) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + if ((N === ae && ((R = !0), (L = 0)), !R)) { + const k = { params: { passingSchemas: L } } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (Ae.errors = q), + !1 + ) + } + ;(ae = P), null !== q && (P ? (q.length = P) : (q = null)) + var le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.assetModuleFilename) { + let E = k.assetModuleFilename + const P = ae, + R = ae + let L = !1 + const N = ae + if (ae === N) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + var pe = N === ae + if (((L = L || pe), !L)) { + const k = ae + if (!(E instanceof Function)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(pe = k === ae), (L = L || pe) + } + if (!L) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (Ae.errors = q), + !1 + ) + } + ;(ae = R), + null !== q && (R ? (q.length = R) : (q = null)), + (le = P === ae) + } else le = !0 + if (le) { + if (void 0 !== k.asyncChunks) { + const v = ae + if ('boolean' != typeof k.asyncChunks) + return (Ae.errors = [{ params: { type: 'boolean' } }]), !1 + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.auxiliaryComment) { + const v = ae, + P = ae + let R = !1, + L = null + const pe = ae + if ( + (p(k.auxiliaryComment, { + instancePath: E + '/auxiliaryComment', + parentData: k, + parentDataProperty: 'auxiliaryComment', + rootData: N, + }) || + ((q = null === q ? p.errors : q.concat(p.errors)), + (ae = q.length)), + pe === ae && ((R = !0), (L = 0)), + !R) + ) { + const k = { params: { passingSchemas: L } } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (Ae.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (le = v === ae) + } else le = !0 + if (le) { + if (void 0 !== k.charset) { + const v = ae + if ('boolean' != typeof k.charset) + return ( + (Ae.errors = [{ params: { type: 'boolean' } }]), !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunkFilename) { + const v = ae + de(k.chunkFilename, { + instancePath: E + '/chunkFilename', + parentData: k, + parentDataProperty: 'chunkFilename', + rootData: N, + }) || + ((q = null === q ? de.errors : q.concat(de.errors)), + (ae = q.length)), + (le = v === ae) + } else le = !0 + if (le) { + if (void 0 !== k.chunkFormat) { + let v = k.chunkFormat + const E = ae, + P = ae + let R = !1 + const L = ae + if ( + 'array-push' !== v && + 'commonjs' !== v && + 'module' !== v && + !1 !== v + ) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var me = L === ae + if (((R = R || me), !R)) { + const k = ae + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(me = k === ae), (R = R || me) + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (Ae.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.chunkLoadTimeout) { + const v = ae + if ('number' != typeof k.chunkLoadTimeout) + return ( + (Ae.errors = [ + { params: { type: 'number' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunkLoading) { + const v = ae + a(k.chunkLoading, { + instancePath: E + '/chunkLoading', + parentData: k, + parentDataProperty: 'chunkLoading', + rootData: N, + }) || + ((q = + null === q ? a.errors : q.concat(a.errors)), + (ae = q.length)), + (le = v === ae) + } else le = !0 + if (le) { + if (void 0 !== k.chunkLoadingGlobal) { + const v = ae + if ('string' != typeof k.chunkLoadingGlobal) + return ( + (Ae.errors = [ + { params: { type: 'string' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.clean) { + const v = ae + he(k.clean, { + instancePath: E + '/clean', + parentData: k, + parentDataProperty: 'clean', + rootData: N, + }) || + ((q = + null === q + ? he.errors + : q.concat(he.errors)), + (ae = q.length)), + (le = v === ae) + } else le = !0 + if (le) { + if (void 0 !== k.compareBeforeEmit) { + const v = ae + if ( + 'boolean' != typeof k.compareBeforeEmit + ) + return ( + (Ae.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.crossOriginLoading) { + let v = k.crossOriginLoading + const E = ae + if ( + !1 !== v && + 'anonymous' !== v && + 'use-credentials' !== v + ) + return ( + (Ae.errors = [{ params: {} }]), !1 + ) + le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.cssChunkFilename) { + const v = ae + ge(k.cssChunkFilename, { + instancePath: + E + '/cssChunkFilename', + parentData: k, + parentDataProperty: + 'cssChunkFilename', + rootData: N, + }) || + ((q = + null === q + ? ge.errors + : q.concat(ge.errors)), + (ae = q.length)), + (le = v === ae) + } else le = !0 + if (le) { + if (void 0 !== k.cssFilename) { + const v = ae + be(k.cssFilename, { + instancePath: E + '/cssFilename', + parentData: k, + parentDataProperty: 'cssFilename', + rootData: N, + }) || + ((q = + null === q + ? be.errors + : q.concat(be.errors)), + (ae = q.length)), + (le = v === ae) + } else le = !0 + if (le) { + if ( + void 0 !== + k.devtoolFallbackModuleFilenameTemplate + ) { + let v = + k.devtoolFallbackModuleFilenameTemplate + const E = ae, + P = ae + let R = !1 + const L = ae + if ('string' != typeof v) { + const k = { + params: { type: 'string' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var ye = L === ae + if (((R = R || ye), !R)) { + const k = ae + if (!(v instanceof Function)) { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(ye = k === ae), (R = R || ye) + } + if (!R) { + const k = { params: {} } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (Ae.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if ( + void 0 !== + k.devtoolModuleFilenameTemplate + ) { + let v = + k.devtoolModuleFilenameTemplate + const E = ae, + P = ae + let R = !1 + const L = ae + if ('string' != typeof v) { + const k = { + params: { type: 'string' }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var _e = L === ae + if (((R = R || _e), !R)) { + const k = ae + if ( + !(v instanceof Function) + ) { + const k = { params: {} } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(_e = k === ae), + (R = R || _e) + } + if (!R) { + const k = { params: {} } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (Ae.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if ( + void 0 !== k.devtoolNamespace + ) { + const v = ae + if ( + 'string' != + typeof k.devtoolNamespace + ) + return ( + (Ae.errors = [ + { + params: { + type: 'string', + }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if ( + void 0 !== + k.enabledChunkLoadingTypes + ) { + const v = ae + ve( + k.enabledChunkLoadingTypes, + { + instancePath: + E + + '/enabledChunkLoadingTypes', + parentData: k, + parentDataProperty: + 'enabledChunkLoadingTypes', + rootData: N, + } + ) || + ((q = + null === q + ? ve.errors + : q.concat( + ve.errors + )), + (ae = q.length)), + (le = v === ae) + } else le = !0 + if (le) { + if ( + void 0 !== + k.enabledLibraryTypes + ) { + const v = ae + Pe( + k.enabledLibraryTypes, + { + instancePath: + E + + '/enabledLibraryTypes', + parentData: k, + parentDataProperty: + 'enabledLibraryTypes', + rootData: N, + } + ) || + ((q = + null === q + ? Pe.errors + : q.concat( + Pe.errors + )), + (ae = q.length)), + (le = v === ae) + } else le = !0 + if (le) { + if ( + void 0 !== + k.enabledWasmLoadingTypes + ) { + const v = ae + De( + k.enabledWasmLoadingTypes, + { + instancePath: + E + + '/enabledWasmLoadingTypes', + parentData: k, + parentDataProperty: + 'enabledWasmLoadingTypes', + rootData: N, + } + ) || + ((q = + null === q + ? De.errors + : q.concat( + De.errors + )), + (ae = q.length)), + (le = v === ae) + } else le = !0 + if (le) { + if ( + void 0 !== + k.environment + ) { + let v = k.environment + const E = ae + if (ae == ae) { + if ( + !v || + 'object' != + typeof v || + Array.isArray(v) + ) + return ( + (Ae.errors = [ + { + params: { + type: 'object', + }, + }, + ]), + !1 + ) + { + const k = ae + for (const k in v) + if ( + !P.call( + qe.properties, + k + ) + ) + return ( + (Ae.errors = + [ + { + params: + { + additionalProperty: + k, + }, + }, + ]), + !1 + ) + if (k === ae) { + if ( + void 0 !== + v.arrowFunction + ) { + const k = ae + if ( + 'boolean' != + typeof v.arrowFunction + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + var Ie = + k === ae + } else Ie = !0 + if (Ie) { + if ( + void 0 !== + v.bigIntLiteral + ) { + const k = ae + if ( + 'boolean' != + typeof v.bigIntLiteral + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Ie = + k === ae + } else Ie = !0 + if (Ie) { + if ( + void 0 !== + v.const + ) { + const k = + ae + if ( + 'boolean' != + typeof v.const + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Ie = + k === ae + } else + Ie = !0 + if (Ie) { + if ( + void 0 !== + v.destructuring + ) { + const k = + ae + if ( + 'boolean' != + typeof v.destructuring + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Ie = + k === + ae + } else + Ie = !0 + if (Ie) { + if ( + void 0 !== + v.dynamicImport + ) { + const k = + ae + if ( + 'boolean' != + typeof v.dynamicImport + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Ie = + k === + ae + } else + Ie = + !0 + if ( + Ie + ) { + if ( + void 0 !== + v.dynamicImportInWorker + ) { + const k = + ae + if ( + 'boolean' != + typeof v.dynamicImportInWorker + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Ie = + k === + ae + } else + Ie = + !0 + if ( + Ie + ) { + if ( + void 0 !== + v.forOf + ) { + const k = + ae + if ( + 'boolean' != + typeof v.forOf + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Ie = + k === + ae + } else + Ie = + !0 + if ( + Ie + ) { + if ( + void 0 !== + v.globalThis + ) { + const k = + ae + if ( + 'boolean' != + typeof v.globalThis + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Ie = + k === + ae + } else + Ie = + !0 + if ( + Ie + ) { + if ( + void 0 !== + v.module + ) { + const k = + ae + if ( + 'boolean' != + typeof v.module + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Ie = + k === + ae + } else + Ie = + !0 + if ( + Ie + ) { + if ( + void 0 !== + v.optionalChaining + ) { + const k = + ae + if ( + 'boolean' != + typeof v.optionalChaining + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Ie = + k === + ae + } else + Ie = + !0 + if ( + Ie + ) + if ( + void 0 !== + v.templateLiteral + ) { + const k = + ae + if ( + 'boolean' != + typeof v.templateLiteral + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Ie = + k === + ae + } else + Ie = + !0 + } + } + } + } + } + } + } + } + } + } + } + } + le = E === ae + } else le = !0 + if (le) { + if ( + void 0 !== + k.filename + ) { + const v = ae + Oe(k.filename, { + instancePath: + E + '/filename', + parentData: k, + parentDataProperty: + 'filename', + rootData: N, + }) || + ((q = + null === q + ? Oe.errors + : q.concat( + Oe.errors + )), + (ae = q.length)), + (le = v === ae) + } else le = !0 + if (le) { + if ( + void 0 !== + k.globalObject + ) { + let v = + k.globalObject + const E = ae + if (ae == ae) { + if ( + 'string' != + typeof v + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + if ( + v.length < 1 + ) + return ( + (Ae.errors = + [ + { + params: + {}, + }, + ]), + !1 + ) + } + le = E === ae + } else le = !0 + if (le) { + if ( + void 0 !== + k.hashDigest + ) { + const v = ae + if ( + 'string' != + typeof k.hashDigest + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if ( + void 0 !== + k.hashDigestLength + ) { + let v = + k.hashDigestLength + const E = ae + if ( + ae == ae + ) { + if ( + 'number' != + typeof v + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'number', + }, + }, + ]), + !1 + ) + if ( + v < 1 || + isNaN(v) + ) + return ( + (Ae.errors = + [ + { + params: + { + comparison: + '>=', + limit: 1, + }, + }, + ]), + !1 + ) + } + le = E === ae + } else le = !0 + if (le) { + if ( + void 0 !== + k.hashFunction + ) { + let v = + k.hashFunction + const E = + ae, + P = ae + let R = !1 + const L = ae + if ( + ae === L + ) + if ( + 'string' == + typeof v + ) { + if ( + v.length < + 1 + ) { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + var Me = + L === ae + if ( + ((R = + R || + Me), + !R) + ) { + const k = + ae + if ( + !( + v instanceof + Function + ) + ) { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + ;(Me = + k === + ae), + (R = + R || + Me) + } + if (!R) { + const k = + { + params: + {}, + } + return ( + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++, + (Ae.errors = + q), + !1 + ) + } + ;(ae = P), + null !== + q && + (P + ? (q.length = + P) + : (q = + null)), + (le = + E === + ae) + } else le = !0 + if (le) { + if ( + void 0 !== + k.hashSalt + ) { + let v = + k.hashSalt + const E = + ae + if ( + ae == ae + ) { + if ( + 'string' != + typeof v + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + if ( + v.length < + 1 + ) + return ( + (Ae.errors = + [ + { + params: + {}, + }, + ]), + !1 + ) + } + le = + E === ae + } else + le = !0 + if (le) { + if ( + void 0 !== + k.hotUpdateChunkFilename + ) { + let E = + k.hotUpdateChunkFilename + const P = + ae + if ( + ae == + ae + ) { + if ( + 'string' != + typeof E + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + if ( + E.includes( + '!' + ) || + !1 !== + v.test( + E + ) + ) + return ( + (Ae.errors = + [ + { + params: + {}, + }, + ]), + !1 + ) + } + le = + P === + ae + } else + le = !0 + if (le) { + if ( + void 0 !== + k.hotUpdateGlobal + ) { + const v = + ae + if ( + 'string' != + typeof k.hotUpdateGlobal + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.hotUpdateMainFilename + ) { + let E = + k.hotUpdateMainFilename + const P = + ae + if ( + ae == + ae + ) { + if ( + 'string' != + typeof E + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + if ( + E.includes( + '!' + ) || + !1 !== + v.test( + E + ) + ) + return ( + (Ae.errors = + [ + { + params: + {}, + }, + ]), + !1 + ) + } + le = + P === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.ignoreBrowserWarnings + ) { + const v = + ae + if ( + 'boolean' != + typeof k.ignoreBrowserWarnings + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.iife + ) { + const v = + ae + if ( + 'boolean' != + typeof k.iife + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.importFunctionName + ) { + const v = + ae + if ( + 'string' != + typeof k.importFunctionName + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.importMetaName + ) { + const v = + ae + if ( + 'string' != + typeof k.importMetaName + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.library + ) { + const v = + ae + xe( + k.library, + { + instancePath: + E + + '/library', + parentData: + k, + parentDataProperty: + 'library', + rootData: + N, + } + ) || + ((q = + null === + q + ? xe.errors + : q.concat( + xe.errors + )), + (ae = + q.length)), + (le = + v === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.libraryExport + ) { + let v = + k.libraryExport + const E = + ae, + P = + ae + let R = + !1, + L = + null + const N = + ae, + pe = + ae + let me = + !1 + const ye = + ae + if ( + ae === + ye + ) + if ( + Array.isArray( + v + ) + ) { + const k = + v.length + for ( + let E = 0; + E < + k; + E++ + ) { + let k = + v[ + E + ] + const P = + ae + if ( + ae === + P + ) + if ( + 'string' == + typeof k + ) { + if ( + k.length < + 1 + ) { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + if ( + P !== + ae + ) + break + } + } else { + const k = + { + params: + { + type: 'array', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + var Te = + ye === + ae + if ( + ((me = + me || + Te), + !me) + ) { + const k = + ae + if ( + ae === + k + ) + if ( + 'string' == + typeof v + ) { + if ( + v.length < + 1 + ) { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + ;(Te = + k === + ae), + (me = + me || + Te) + } + if ( + me + ) + (ae = + pe), + null !== + q && + (pe + ? (q.length = + pe) + : (q = + null)) + else { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + if ( + (N === + ae && + ((R = + !0), + (L = 0)), + !R) + ) { + const k = + { + params: + { + passingSchemas: + L, + }, + } + return ( + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++, + (Ae.errors = + q), + !1 + ) + } + ;(ae = + P), + null !== + q && + (P + ? (q.length = + P) + : (q = + null)), + (le = + E === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.libraryTarget + ) { + let v = + k.libraryTarget + const E = + ae, + P = + ae + let R = + !1, + L = + null + const N = + ae, + pe = + ae + let me = + !1 + const ye = + ae + if ( + 'var' !== + v && + 'module' !== + v && + 'assign' !== + v && + 'assign-properties' !== + v && + 'this' !== + v && + 'window' !== + v && + 'self' !== + v && + 'global' !== + v && + 'commonjs' !== + v && + 'commonjs2' !== + v && + 'commonjs-module' !== + v && + 'commonjs-static' !== + v && + 'amd' !== + v && + 'amd-require' !== + v && + 'umd' !== + v && + 'umd2' !== + v && + 'jsonp' !== + v && + 'system' !== + v + ) { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + var je = + ye === + ae + if ( + ((me = + me || + je), + !me) + ) { + const k = + ae + if ( + 'string' != + typeof v + ) { + const k = + { + params: + { + type: 'string', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + ;(je = + k === + ae), + (me = + me || + je) + } + if ( + me + ) + (ae = + pe), + null !== + q && + (pe + ? (q.length = + pe) + : (q = + null)) + else { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + if ( + (N === + ae && + ((R = + !0), + (L = 0)), + !R) + ) { + const k = + { + params: + { + passingSchemas: + L, + }, + } + return ( + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++, + (Ae.errors = + q), + !1 + ) + } + ;(ae = + P), + null !== + q && + (P + ? (q.length = + P) + : (q = + null)), + (le = + E === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.module + ) { + const v = + ae + if ( + 'boolean' != + typeof k.module + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.path + ) { + let E = + k.path + const P = + ae + if ( + ae == + ae + ) { + if ( + 'string' != + typeof E + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + if ( + E.includes( + '!' + ) || + !0 !== + v.test( + E + ) + ) + return ( + (Ae.errors = + [ + { + params: + {}, + }, + ]), + !1 + ) + } + le = + P === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.pathinfo + ) { + let v = + k.pathinfo + const E = + ae, + P = + ae + let R = + !1 + const L = + ae + if ( + 'verbose' !== + v + ) { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + var Ne = + L === + ae + if ( + ((R = + R || + Ne), + !R) + ) { + const k = + ae + if ( + 'boolean' != + typeof v + ) { + const k = + { + params: + { + type: 'boolean', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + ;(Ne = + k === + ae), + (R = + R || + Ne) + } + if ( + !R + ) { + const k = + { + params: + {}, + } + return ( + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++, + (Ae.errors = + q), + !1 + ) + } + ;(ae = + P), + null !== + q && + (P + ? (q.length = + P) + : (q = + null)), + (le = + E === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.publicPath + ) { + const v = + ae + c( + k.publicPath, + { + instancePath: + E + + '/publicPath', + parentData: + k, + parentDataProperty: + 'publicPath', + rootData: + N, + } + ) || + ((q = + null === + q + ? c.errors + : q.concat( + c.errors + )), + (ae = + q.length)), + (le = + v === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.scriptType + ) { + let v = + k.scriptType + const E = + ae + if ( + !1 !== + v && + 'text/javascript' !== + v && + 'module' !== + v + ) + return ( + (Ae.errors = + [ + { + params: + {}, + }, + ]), + !1 + ) + le = + E === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.sourceMapFilename + ) { + let E = + k.sourceMapFilename + const P = + ae + if ( + ae == + ae + ) { + if ( + 'string' != + typeof E + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + if ( + E.includes( + '!' + ) || + !1 !== + v.test( + E + ) + ) + return ( + (Ae.errors = + [ + { + params: + {}, + }, + ]), + !1 + ) + } + le = + P === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.sourcePrefix + ) { + const v = + ae + if ( + 'string' != + typeof k.sourcePrefix + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.strictModuleErrorHandling + ) { + const v = + ae + if ( + 'boolean' != + typeof k.strictModuleErrorHandling + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.strictModuleExceptionHandling + ) { + const v = + ae + if ( + 'boolean' != + typeof k.strictModuleExceptionHandling + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.trustedTypes + ) { + let v = + k.trustedTypes + const E = + ae, + P = + ae + let R = + !1 + const L = + ae + if ( + !0 !== + v + ) { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + var Ue = + L === + ae + if ( + ((R = + R || + Ue), + !R) + ) { + const k = + ae + if ( + ae === + k + ) + if ( + 'string' == + typeof v + ) { + if ( + v.length < + 1 + ) { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + if ( + ((Ue = + k === + ae), + (R = + R || + Ue), + !R) + ) { + const k = + ae + if ( + ae == + ae + ) + if ( + v && + 'object' == + typeof v && + !Array.isArray( + v + ) + ) { + const k = + ae + for (const k in v) + if ( + 'onPolicyCreationFailure' !== + k && + 'policyName' !== + k + ) { + const v = + { + params: + { + additionalProperty: + k, + }, + } + null === + q + ? (q = + [ + v, + ]) + : q.push( + v + ), + ae++ + break + } + if ( + k === + ae + ) { + if ( + void 0 !== + v.onPolicyCreationFailure + ) { + let k = + v.onPolicyCreationFailure + const E = + ae + if ( + 'continue' !== + k && + 'stop' !== + k + ) { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + var Ge = + E === + ae + } else + Ge = + !0 + if ( + Ge + ) + if ( + void 0 !== + v.policyName + ) { + let k = + v.policyName + const E = + ae + if ( + ae === + E + ) + if ( + 'string' == + typeof k + ) { + if ( + k.length < + 1 + ) { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + Ge = + E === + ae + } else + Ge = + !0 + } + } else { + const k = + { + params: + { + type: 'object', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + ;(Ue = + k === + ae), + (R = + R || + Ue) + } + } + if ( + !R + ) { + const k = + { + params: + {}, + } + return ( + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++, + (Ae.errors = + q), + !1 + ) + } + ;(ae = + P), + null !== + q && + (P + ? (q.length = + P) + : (q = + null)), + (le = + E === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.umdNamedDefine + ) { + const v = + ae, + E = + ae + let P = + !1, + R = + null + const L = + ae + if ( + 'boolean' != + typeof k.umdNamedDefine + ) { + const k = + { + params: + { + type: 'boolean', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + if ( + (L === + ae && + ((P = + !0), + (R = 0)), + !P) + ) { + const k = + { + params: + { + passingSchemas: + R, + }, + } + return ( + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++, + (Ae.errors = + q), + !1 + ) + } + ;(ae = + E), + null !== + q && + (E + ? (q.length = + E) + : (q = + null)), + (le = + v === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.uniqueName + ) { + let v = + k.uniqueName + const E = + ae + if ( + ae == + ae + ) { + if ( + 'string' != + typeof v + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + if ( + v.length < + 1 + ) + return ( + (Ae.errors = + [ + { + params: + {}, + }, + ]), + !1 + ) + } + le = + E === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.wasmLoading + ) { + const v = + ae + y( + k.wasmLoading, + { + instancePath: + E + + '/wasmLoading', + parentData: + k, + parentDataProperty: + 'wasmLoading', + rootData: + N, + } + ) || + ((q = + null === + q + ? y.errors + : q.concat( + y.errors + )), + (ae = + q.length)), + (le = + v === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.webassemblyModuleFilename + ) { + let E = + k.webassemblyModuleFilename + const P = + ae + if ( + ae == + ae + ) { + if ( + 'string' != + typeof E + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + if ( + E.includes( + '!' + ) || + !1 !== + v.test( + E + ) + ) + return ( + (Ae.errors = + [ + { + params: + {}, + }, + ]), + !1 + ) + } + le = + P === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.workerChunkLoading + ) { + const v = + ae + a( + k.workerChunkLoading, + { + instancePath: + E + + '/workerChunkLoading', + parentData: + k, + parentDataProperty: + 'workerChunkLoading', + rootData: + N, + } + ) || + ((q = + null === + q + ? a.errors + : q.concat( + a.errors + )), + (ae = + q.length)), + (le = + v === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.workerPublicPath + ) { + const v = + ae + if ( + 'string' != + typeof k.workerPublicPath + ) + return ( + (Ae.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) + if ( + void 0 !== + k.workerWasmLoading + ) { + const v = + ae + y( + k.workerWasmLoading, + { + instancePath: + E + + '/workerWasmLoading', + parentData: + k, + parentDataProperty: + 'workerWasmLoading', + rootData: + N, + } + ) || + ((q = + null === + q + ? y.errors + : q.concat( + y.errors + )), + (ae = + q.length)), + (le = + v === + ae) + } else + le = + !0 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return (Ae.errors = q), 0 === ae + } + function Ce( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (!1 !== k) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const v = N + if (N == N) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const v = N + for (const v in k) + if ( + 'assetFilter' !== v && + 'hints' !== v && + 'maxAssetSize' !== v && + 'maxEntrypointSize' !== v + ) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (v === N) { + if (void 0 !== k.assetFilter) { + const v = N + if (!(k.assetFilter instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = v === N + } else me = !0 + if (me) { + if (void 0 !== k.hints) { + let v = k.hints + const E = N + if (!1 !== v && 'warning' !== v && 'error' !== v) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + me = E === N + } else me = !0 + if (me) { + if (void 0 !== k.maxAssetSize) { + const v = N + if ('number' != typeof k.maxAssetSize) { + const k = { params: { type: 'number' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = v === N + } else me = !0 + if (me) + if (void 0 !== k.maxEntrypointSize) { + const v = N + if ('number' != typeof k.maxEntrypointSize) { + const k = { params: { type: 'number' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = v === N + } else me = !0 + } + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (Ce.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (Ce.errors = L), + 0 === N + ) + } + function ke( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!Array.isArray(k)) + return (ke.errors = [{ params: { type: 'array' } }]), !1 + { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = N, + R = N + let ae = !1 + const le = N + if (N == N) + if (v && 'object' == typeof v && !Array.isArray(v)) { + let k + if (void 0 === v.apply && (k = 'apply')) { + const v = { params: { missingProperty: k } } + null === L ? (L = [v]) : L.push(v), N++ + } else if ( + void 0 !== v.apply && + !(v.apply instanceof Function) + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = le === N + if (((ae = ae || q), !ae)) { + const k = N + if (!(v instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(q = k === N), (ae = ae || q) + } + if (!ae) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), N++, (ke.errors = L), !1 + ) + } + if ( + ((N = R), + null !== L && (R ? (L.length = R) : (L = null)), + P !== N) + ) + break + } + } + } + return (ke.errors = L), 0 === N + } + function $e( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1, + le = null + const pe = N + if ( + (H(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? H.errors : L.concat(H.errors)), (N = L.length)), + pe === N && ((ae = !0), (le = 0)), + !ae) + ) { + const k = { params: { passingSchemas: le } } + return null === L ? (L = [k]) : L.push(k), N++, ($e.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + ($e.errors = L), + 0 === N + ) + } + function Se( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1, + le = null + const pe = N + if ( + (H(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? H.errors : L.concat(H.errors)), (N = L.length)), + pe === N && ((ae = !0), (le = 0)), + !ae) + ) { + const k = { params: { passingSchemas: le } } + return null === L ? (L = [k]) : L.push(k), N++, (Se.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (Se.errors = L), + 0 === N + ) + } + const Ue = { + type: 'object', + additionalProperties: !1, + properties: { + all: { type: 'boolean' }, + assets: { type: 'boolean' }, + assetsSort: { type: 'string' }, + assetsSpace: { type: 'number' }, + builtAt: { type: 'boolean' }, + cached: { type: 'boolean' }, + cachedAssets: { type: 'boolean' }, + cachedModules: { type: 'boolean' }, + children: { type: 'boolean' }, + chunkGroupAuxiliary: { type: 'boolean' }, + chunkGroupChildren: { type: 'boolean' }, + chunkGroupMaxAssets: { type: 'number' }, + chunkGroups: { type: 'boolean' }, + chunkModules: { type: 'boolean' }, + chunkModulesSpace: { type: 'number' }, + chunkOrigins: { type: 'boolean' }, + chunkRelations: { type: 'boolean' }, + chunks: { type: 'boolean' }, + chunksSort: { type: 'string' }, + colors: { + anyOf: [ + { type: 'boolean' }, + { + type: 'object', + additionalProperties: !1, + properties: { + bold: { type: 'string' }, + cyan: { type: 'string' }, + green: { type: 'string' }, + magenta: { type: 'string' }, + red: { type: 'string' }, + yellow: { type: 'string' }, + }, + }, + ], + }, + context: { type: 'string', absolutePath: !0 }, + dependentModules: { type: 'boolean' }, + depth: { type: 'boolean' }, + entrypoints: { anyOf: [{ enum: ['auto'] }, { type: 'boolean' }] }, + env: { type: 'boolean' }, + errorDetails: { anyOf: [{ enum: ['auto'] }, { type: 'boolean' }] }, + errorStack: { type: 'boolean' }, + errors: { type: 'boolean' }, + errorsCount: { type: 'boolean' }, + errorsSpace: { type: 'number' }, + exclude: { + anyOf: [ + { type: 'boolean' }, + { $ref: '#/definitions/ModuleFilterTypes' }, + ], + }, + excludeAssets: { + oneOf: [{ $ref: '#/definitions/AssetFilterTypes' }], + }, + excludeModules: { + anyOf: [ + { type: 'boolean' }, + { $ref: '#/definitions/ModuleFilterTypes' }, + ], + }, + groupAssetsByChunk: { type: 'boolean' }, + groupAssetsByEmitStatus: { type: 'boolean' }, + groupAssetsByExtension: { type: 'boolean' }, + groupAssetsByInfo: { type: 'boolean' }, + groupAssetsByPath: { type: 'boolean' }, + groupModulesByAttributes: { type: 'boolean' }, + groupModulesByCacheStatus: { type: 'boolean' }, + groupModulesByExtension: { type: 'boolean' }, + groupModulesByLayer: { type: 'boolean' }, + groupModulesByPath: { type: 'boolean' }, + groupModulesByType: { type: 'boolean' }, + groupReasonsByOrigin: { type: 'boolean' }, + hash: { type: 'boolean' }, + ids: { type: 'boolean' }, + logging: { + anyOf: [ + { enum: ['none', 'error', 'warn', 'info', 'log', 'verbose'] }, + { type: 'boolean' }, + ], + }, + loggingDebug: { + anyOf: [{ type: 'boolean' }, { $ref: '#/definitions/FilterTypes' }], + }, + loggingTrace: { type: 'boolean' }, + moduleAssets: { type: 'boolean' }, + moduleTrace: { type: 'boolean' }, + modules: { type: 'boolean' }, + modulesSort: { type: 'string' }, + modulesSpace: { type: 'number' }, + nestedModules: { type: 'boolean' }, + nestedModulesSpace: { type: 'number' }, + optimizationBailout: { type: 'boolean' }, + orphanModules: { type: 'boolean' }, + outputPath: { type: 'boolean' }, + performance: { type: 'boolean' }, + preset: { anyOf: [{ type: 'boolean' }, { type: 'string' }] }, + providedExports: { type: 'boolean' }, + publicPath: { type: 'boolean' }, + reasons: { type: 'boolean' }, + reasonsSpace: { type: 'number' }, + relatedAssets: { type: 'boolean' }, + runtime: { type: 'boolean' }, + runtimeModules: { type: 'boolean' }, + source: { type: 'boolean' }, + timings: { type: 'boolean' }, + usedExports: { type: 'boolean' }, + version: { type: 'boolean' }, + warnings: { type: 'boolean' }, + warningsCount: { type: 'boolean' }, + warningsFilter: { + oneOf: [{ $ref: '#/definitions/WarningFilterTypes' }], + }, + warningsSpace: { type: 'number' }, + }, + } + function Fe( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + const ae = q + let le = !1 + const pe = q + if (q === pe) + if (Array.isArray(k)) { + const E = k.length + for (let P = 0; P < E; P++) { + let E = k[P] + const R = q, + L = q + let ae = !1, + le = null + const pe = q, + ye = q + let _e = !1 + const Ie = q + if (!(E instanceof RegExp)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + var me = Ie === q + if (((_e = _e || me), !_e)) { + const k = q + if (q === k) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (((me = k === q), (_e = _e || me), !_e)) { + const k = q + if (!(E instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(me = k === q), (_e = _e || me) + } + } + if (_e) + (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + if ((pe === q && ((ae = !0), (le = 0)), ae)) + (q = L), null !== N && (L ? (N.length = L) : (N = null)) + else { + const k = { params: { passingSchemas: le } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (R !== q) break + } + } else { + const k = { params: { type: 'array' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var ye = pe === q + if (((le = le || ye), !le)) { + const E = q, + P = q + let R = !1 + const L = q + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + var _e = L === q + if (((R = R || _e), !R)) { + const E = q + if (q === E) + if ('string' == typeof k) { + if (k.includes('!') || !1 !== v.test(k)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (((_e = E === q), (R = R || _e), !R)) { + const v = q + if (!(k instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(_e = v === q), (R = R || _e) + } + } + if (R) (q = P), null !== N && (P ? (N.length = P) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(ye = E === q), (le = le || ye) + } + if (!le) { + const k = { params: {} } + return null === N ? (N = [k]) : N.push(k), q++, (Fe.errors = N), !1 + } + return ( + (q = ae), + null !== N && (ae ? (N.length = ae) : (N = null)), + (Fe.errors = N), + 0 === q + ) + } + function Re( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + const ae = q + let le = !1 + const pe = q + if (q === pe) + if (Array.isArray(k)) { + const E = k.length + for (let P = 0; P < E; P++) { + let E = k[P] + const R = q, + L = q + let ae = !1, + le = null + const pe = q, + ye = q + let _e = !1 + const Ie = q + if (!(E instanceof RegExp)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + var me = Ie === q + if (((_e = _e || me), !_e)) { + const k = q + if (q === k) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (((me = k === q), (_e = _e || me), !_e)) { + const k = q + if (!(E instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(me = k === q), (_e = _e || me) + } + } + if (_e) + (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + if ((pe === q && ((ae = !0), (le = 0)), ae)) + (q = L), null !== N && (L ? (N.length = L) : (N = null)) + else { + const k = { params: { passingSchemas: le } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (R !== q) break + } + } else { + const k = { params: { type: 'array' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var ye = pe === q + if (((le = le || ye), !le)) { + const E = q, + P = q + let R = !1 + const L = q + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + var _e = L === q + if (((R = R || _e), !R)) { + const E = q + if (q === E) + if ('string' == typeof k) { + if (k.includes('!') || !1 !== v.test(k)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (((_e = E === q), (R = R || _e), !R)) { + const v = q + if (!(k instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(_e = v === q), (R = R || _e) + } + } + if (R) (q = P), null !== N && (P ? (N.length = P) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(ye = E === q), (le = le || ye) + } + if (!le) { + const k = { params: {} } + return null === N ? (N = [k]) : N.push(k), q++, (Re.errors = N), !1 + } + return ( + (q = ae), + null !== N && (ae ? (N.length = ae) : (N = null)), + (Re.errors = N), + 0 === q + ) + } + function Ee( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + const ae = q + let le = !1 + const pe = q + if (q === pe) + if (Array.isArray(k)) { + const E = k.length + for (let P = 0; P < E; P++) { + let E = k[P] + const R = q, + L = q + let ae = !1, + le = null + const pe = q, + ye = q + let _e = !1 + const Ie = q + if (!(E instanceof RegExp)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + var me = Ie === q + if (((_e = _e || me), !_e)) { + const k = q + if (q === k) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (((me = k === q), (_e = _e || me), !_e)) { + const k = q + if (!(E instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(me = k === q), (_e = _e || me) + } + } + if (_e) + (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + if ((pe === q && ((ae = !0), (le = 0)), ae)) + (q = L), null !== N && (L ? (N.length = L) : (N = null)) + else { + const k = { params: { passingSchemas: le } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (R !== q) break + } + } else { + const k = { params: { type: 'array' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var ye = pe === q + if (((le = le || ye), !le)) { + const E = q, + P = q + let R = !1 + const L = q + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + var _e = L === q + if (((R = R || _e), !R)) { + const E = q + if (q === E) + if ('string' == typeof k) { + if (k.includes('!') || !1 !== v.test(k)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (((_e = E === q), (R = R || _e), !R)) { + const v = q + if (!(k instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(_e = v === q), (R = R || _e) + } + } + if (R) (q = P), null !== N && (P ? (N.length = P) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(ye = E === q), (le = le || ye) + } + if (!le) { + const k = { params: {} } + return null === N ? (N = [k]) : N.push(k), q++, (Ee.errors = N), !1 + } + return ( + (q = ae), + null !== N && (ae ? (N.length = ae) : (N = null)), + (Ee.errors = N), + 0 === q + ) + } + function Le( + k, + { + instancePath: E = '', + parentData: R, + parentDataProperty: L, + rootData: N = k, + } = {} + ) { + let q = null, + ae = 0 + if (0 === ae) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (Le.errors = [{ params: { type: 'object' } }]), !1 + { + const R = ae + for (const v in k) + if (!P.call(Ue.properties, v)) + return (Le.errors = [{ params: { additionalProperty: v } }]), !1 + if (R === ae) { + if (void 0 !== k.all) { + const v = ae + if ('boolean' != typeof k.all) + return (Le.errors = [{ params: { type: 'boolean' } }]), !1 + var le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.assets) { + const v = ae + if ('boolean' != typeof k.assets) + return (Le.errors = [{ params: { type: 'boolean' } }]), !1 + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.assetsSort) { + const v = ae + if ('string' != typeof k.assetsSort) + return (Le.errors = [{ params: { type: 'string' } }]), !1 + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.assetsSpace) { + const v = ae + if ('number' != typeof k.assetsSpace) + return ( + (Le.errors = [{ params: { type: 'number' } }]), !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.builtAt) { + const v = ae + if ('boolean' != typeof k.builtAt) + return ( + (Le.errors = [{ params: { type: 'boolean' } }]), !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.cached) { + const v = ae + if ('boolean' != typeof k.cached) + return ( + (Le.errors = [{ params: { type: 'boolean' } }]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.cachedAssets) { + const v = ae + if ('boolean' != typeof k.cachedAssets) + return ( + (Le.errors = [{ params: { type: 'boolean' } }]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.cachedModules) { + const v = ae + if ('boolean' != typeof k.cachedModules) + return ( + (Le.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.children) { + const v = ae + if ('boolean' != typeof k.children) + return ( + (Le.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunkGroupAuxiliary) { + const v = ae + if ('boolean' != typeof k.chunkGroupAuxiliary) + return ( + (Le.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunkGroupChildren) { + const v = ae + if ( + 'boolean' != typeof k.chunkGroupChildren + ) + return ( + (Le.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunkGroupMaxAssets) { + const v = ae + if ( + 'number' != typeof k.chunkGroupMaxAssets + ) + return ( + (Le.errors = [ + { params: { type: 'number' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunkGroups) { + const v = ae + if ('boolean' != typeof k.chunkGroups) + return ( + (Le.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunkModules) { + const v = ae + if ( + 'boolean' != typeof k.chunkModules + ) + return ( + (Le.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunkModulesSpace) { + const v = ae + if ( + 'number' != + typeof k.chunkModulesSpace + ) + return ( + (Le.errors = [ + { + params: { type: 'number' }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunkOrigins) { + const v = ae + if ( + 'boolean' != + typeof k.chunkOrigins + ) + return ( + (Le.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunkRelations) { + const v = ae + if ( + 'boolean' != + typeof k.chunkRelations + ) + return ( + (Le.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunks) { + const v = ae + if ( + 'boolean' != typeof k.chunks + ) + return ( + (Le.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.chunksSort) { + const v = ae + if ( + 'string' != + typeof k.chunksSort + ) + return ( + (Le.errors = [ + { + params: { + type: 'string', + }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.colors) { + let v = k.colors + const E = ae, + P = ae + let R = !1 + const L = ae + if ( + 'boolean' != typeof v + ) { + const k = { + params: { + type: 'boolean', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var pe = L === ae + if (((R = R || pe), !R)) { + const k = ae + if (ae === k) + if ( + v && + 'object' == + typeof v && + !Array.isArray(v) + ) { + const k = ae + for (const k in v) + if ( + 'bold' !== k && + 'cyan' !== k && + 'green' !== k && + 'magenta' !== + k && + 'red' !== k && + 'yellow' !== k + ) { + const v = { + params: { + additionalProperty: + k, + }, + } + null === q + ? (q = [v]) + : q.push(v), + ae++ + break + } + if (k === ae) { + if ( + void 0 !== + v.bold + ) { + const k = ae + if ( + 'string' != + typeof v.bold + ) { + const k = { + params: { + type: 'string', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var me = + k === ae + } else me = !0 + if (me) { + if ( + void 0 !== + v.cyan + ) { + const k = ae + if ( + 'string' != + typeof v.cyan + ) { + const k = { + params: { + type: 'string', + }, + } + null === q + ? (q = [ + k, + ]) + : q.push( + k + ), + ae++ + } + me = k === ae + } else me = !0 + if (me) { + if ( + void 0 !== + v.green + ) { + const k = ae + if ( + 'string' != + typeof v.green + ) { + const k = + { + params: + { + type: 'string', + }, + } + null === q + ? (q = [ + k, + ]) + : q.push( + k + ), + ae++ + } + me = + k === ae + } else me = !0 + if (me) { + if ( + void 0 !== + v.magenta + ) { + const k = + ae + if ( + 'string' != + typeof v.magenta + ) { + const k = + { + params: + { + type: 'string', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + me = + k === ae + } else + me = !0 + if (me) { + if ( + void 0 !== + v.red + ) { + const k = + ae + if ( + 'string' != + typeof v.red + ) { + const k = + { + params: + { + type: 'string', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + me = + k === + ae + } else + me = !0 + if (me) + if ( + void 0 !== + v.yellow + ) { + const k = + ae + if ( + 'string' != + typeof v.yellow + ) { + const k = + { + params: + { + type: 'string', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + me = + k === + ae + } else + me = + !0 + } + } + } + } + } + } else { + const k = { + params: { + type: 'object', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(pe = k === ae), + (R = R || pe) + } + if (!R) { + const k = { params: {} } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (Le.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = P) + : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if ( + void 0 !== k.context + ) { + let E = k.context + const P = ae + if (ae === P) { + if ( + 'string' != typeof E + ) + return ( + (Le.errors = [ + { + params: { + type: 'string', + }, + }, + ]), + !1 + ) + if ( + E.includes('!') || + !0 !== v.test(E) + ) + return ( + (Le.errors = [ + { params: {} }, + ]), + !1 + ) + } + le = P === ae + } else le = !0 + if (le) { + if ( + void 0 !== + k.dependentModules + ) { + const v = ae + if ( + 'boolean' != + typeof k.dependentModules + ) + return ( + (Le.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if ( + void 0 !== k.depth + ) { + const v = ae + if ( + 'boolean' != + typeof k.depth + ) + return ( + (Le.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if ( + void 0 !== + k.entrypoints + ) { + let v = + k.entrypoints + const E = ae, + P = ae + let R = !1 + const L = ae + if ( + 'auto' !== v + ) { + const k = { + params: {}, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + var ye = L === ae + if ( + ((R = R || ye), + !R) + ) { + const k = ae + if ( + 'boolean' != + typeof v + ) { + const k = { + params: { + type: 'boolean', + }, + } + null === q + ? (q = [k]) + : q.push(k), + ae++ + } + ;(ye = + k === ae), + (R = R || ye) + } + if (!R) { + const k = { + params: {}, + } + return ( + null === q + ? (q = [k]) + : q.push(k), + ae++, + (Le.errors = + q), + !1 + ) + } + ;(ae = P), + null !== q && + (P + ? (q.length = + P) + : (q = + null)), + (le = E === ae) + } else le = !0 + if (le) { + if ( + void 0 !== k.env + ) { + const v = ae + if ( + 'boolean' != + typeof k.env + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if ( + void 0 !== + k.errorDetails + ) { + let v = + k.errorDetails + const E = ae, + P = ae + let R = !1 + const L = ae + if ( + 'auto' !== v + ) { + const k = { + params: + {}, + } + null === q + ? (q = [ + k, + ]) + : q.push( + k + ), + ae++ + } + var _e = + L === ae + if ( + ((R = + R || _e), + !R) + ) { + const k = ae + if ( + 'boolean' != + typeof v + ) { + const k = + { + params: + { + type: 'boolean', + }, + } + null === q + ? (q = [ + k, + ]) + : q.push( + k + ), + ae++ + } + ;(_e = + k === ae), + (R = + R || _e) + } + if (!R) { + const k = { + params: + {}, + } + return ( + null === q + ? (q = [ + k, + ]) + : q.push( + k + ), + ae++, + (Le.errors = + q), + !1 + ) + } + ;(ae = P), + null !== + q && + (P + ? (q.length = + P) + : (q = + null)), + (le = + E === ae) + } else le = !0 + if (le) { + if ( + void 0 !== + k.errorStack + ) { + const v = ae + if ( + 'boolean' != + typeof k.errorStack + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === ae + } else le = !0 + if (le) { + if ( + void 0 !== + k.errors + ) { + const v = + ae + if ( + 'boolean' != + typeof k.errors + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === ae + } else + le = !0 + if (le) { + if ( + void 0 !== + k.errorsCount + ) { + const v = + ae + if ( + 'boolean' != + typeof k.errorsCount + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = !0 + if (le) { + if ( + void 0 !== + k.errorsSpace + ) { + const v = + ae + if ( + 'number' != + typeof k.errorsSpace + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'number', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.exclude + ) { + let v = + k.exclude + const P = + ae, + R = + ae + let L = + !1 + const pe = + ae + if ( + 'boolean' != + typeof v + ) { + const k = + { + params: + { + type: 'boolean', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + var Ie = + pe === + ae + if ( + ((L = + L || + Ie), + !L) + ) { + const P = + ae + Fe( + v, + { + instancePath: + E + + '/exclude', + parentData: + k, + parentDataProperty: + 'exclude', + rootData: + N, + } + ) || + ((q = + null === + q + ? Fe.errors + : q.concat( + Fe.errors + )), + (ae = + q.length)), + (Ie = + P === + ae), + (L = + L || + Ie) + } + if ( + !L + ) { + const k = + { + params: + {}, + } + return ( + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++, + (Le.errors = + q), + !1 + ) + } + ;(ae = + R), + null !== + q && + (R + ? (q.length = + R) + : (q = + null)), + (le = + P === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.excludeAssets + ) { + const v = + ae, + P = + ae + let R = + !1, + L = + null + const pe = + ae + if ( + (Re( + k.excludeAssets, + { + instancePath: + E + + '/excludeAssets', + parentData: + k, + parentDataProperty: + 'excludeAssets', + rootData: + N, + } + ) || + ((q = + null === + q + ? Re.errors + : q.concat( + Re.errors + )), + (ae = + q.length)), + pe === + ae && + ((R = + !0), + (L = 0)), + !R) + ) { + const k = + { + params: + { + passingSchemas: + L, + }, + } + return ( + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++, + (Le.errors = + q), + !1 + ) + } + ;(ae = + P), + null !== + q && + (P + ? (q.length = + P) + : (q = + null)), + (le = + v === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.excludeModules + ) { + let v = + k.excludeModules + const P = + ae, + R = + ae + let L = + !1 + const pe = + ae + if ( + 'boolean' != + typeof v + ) { + const k = + { + params: + { + type: 'boolean', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + var Me = + pe === + ae + if ( + ((L = + L || + Me), + !L) + ) { + const P = + ae + Fe( + v, + { + instancePath: + E + + '/excludeModules', + parentData: + k, + parentDataProperty: + 'excludeModules', + rootData: + N, + } + ) || + ((q = + null === + q + ? Fe.errors + : q.concat( + Fe.errors + )), + (ae = + q.length)), + (Me = + P === + ae), + (L = + L || + Me) + } + if ( + !L + ) { + const k = + { + params: + {}, + } + return ( + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++, + (Le.errors = + q), + !1 + ) + } + ;(ae = + R), + null !== + q && + (R + ? (q.length = + R) + : (q = + null)), + (le = + P === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.groupAssetsByChunk + ) { + const v = + ae + if ( + 'boolean' != + typeof k.groupAssetsByChunk + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.groupAssetsByEmitStatus + ) { + const v = + ae + if ( + 'boolean' != + typeof k.groupAssetsByEmitStatus + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.groupAssetsByExtension + ) { + const v = + ae + if ( + 'boolean' != + typeof k.groupAssetsByExtension + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.groupAssetsByInfo + ) { + const v = + ae + if ( + 'boolean' != + typeof k.groupAssetsByInfo + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.groupAssetsByPath + ) { + const v = + ae + if ( + 'boolean' != + typeof k.groupAssetsByPath + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.groupModulesByAttributes + ) { + const v = + ae + if ( + 'boolean' != + typeof k.groupModulesByAttributes + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.groupModulesByCacheStatus + ) { + const v = + ae + if ( + 'boolean' != + typeof k.groupModulesByCacheStatus + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.groupModulesByExtension + ) { + const v = + ae + if ( + 'boolean' != + typeof k.groupModulesByExtension + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.groupModulesByLayer + ) { + const v = + ae + if ( + 'boolean' != + typeof k.groupModulesByLayer + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.groupModulesByPath + ) { + const v = + ae + if ( + 'boolean' != + typeof k.groupModulesByPath + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.groupModulesByType + ) { + const v = + ae + if ( + 'boolean' != + typeof k.groupModulesByType + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.groupReasonsByOrigin + ) { + const v = + ae + if ( + 'boolean' != + typeof k.groupReasonsByOrigin + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.hash + ) { + const v = + ae + if ( + 'boolean' != + typeof k.hash + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.ids + ) { + const v = + ae + if ( + 'boolean' != + typeof k.ids + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.logging + ) { + let v = + k.logging + const E = + ae, + P = + ae + let R = + !1 + const L = + ae + if ( + 'none' !== + v && + 'error' !== + v && + 'warn' !== + v && + 'info' !== + v && + 'log' !== + v && + 'verbose' !== + v + ) { + const k = + { + params: + {}, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + var Te = + L === + ae + if ( + ((R = + R || + Te), + !R) + ) { + const k = + ae + if ( + 'boolean' != + typeof v + ) { + const k = + { + params: + { + type: 'boolean', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + ;(Te = + k === + ae), + (R = + R || + Te) + } + if ( + !R + ) { + const k = + { + params: + {}, + } + return ( + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++, + (Le.errors = + q), + !1 + ) + } + ;(ae = + P), + null !== + q && + (P + ? (q.length = + P) + : (q = + null)), + (le = + E === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.loggingDebug + ) { + let v = + k.loggingDebug + const P = + ae, + R = + ae + let L = + !1 + const pe = + ae + if ( + 'boolean' != + typeof v + ) { + const k = + { + params: + { + type: 'boolean', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + var je = + pe === + ae + if ( + ((L = + L || + je), + !L) + ) { + const P = + ae + j( + v, + { + instancePath: + E + + '/loggingDebug', + parentData: + k, + parentDataProperty: + 'loggingDebug', + rootData: + N, + } + ) || + ((q = + null === + q + ? j.errors + : q.concat( + j.errors + )), + (ae = + q.length)), + (je = + P === + ae), + (L = + L || + je) + } + if ( + !L + ) { + const k = + { + params: + {}, + } + return ( + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++, + (Le.errors = + q), + !1 + ) + } + ;(ae = + R), + null !== + q && + (R + ? (q.length = + R) + : (q = + null)), + (le = + P === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.loggingTrace + ) { + const v = + ae + if ( + 'boolean' != + typeof k.loggingTrace + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.moduleAssets + ) { + const v = + ae + if ( + 'boolean' != + typeof k.moduleAssets + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.moduleTrace + ) { + const v = + ae + if ( + 'boolean' != + typeof k.moduleTrace + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.modules + ) { + const v = + ae + if ( + 'boolean' != + typeof k.modules + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.modulesSort + ) { + const v = + ae + if ( + 'string' != + typeof k.modulesSort + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'string', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.modulesSpace + ) { + const v = + ae + if ( + 'number' != + typeof k.modulesSpace + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'number', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.nestedModules + ) { + const v = + ae + if ( + 'boolean' != + typeof k.nestedModules + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.nestedModulesSpace + ) { + const v = + ae + if ( + 'number' != + typeof k.nestedModulesSpace + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'number', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.optimizationBailout + ) { + const v = + ae + if ( + 'boolean' != + typeof k.optimizationBailout + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.orphanModules + ) { + const v = + ae + if ( + 'boolean' != + typeof k.orphanModules + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.outputPath + ) { + const v = + ae + if ( + 'boolean' != + typeof k.outputPath + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.performance + ) { + const v = + ae + if ( + 'boolean' != + typeof k.performance + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.preset + ) { + let v = + k.preset + const E = + ae, + P = + ae + let R = + !1 + const L = + ae + if ( + 'boolean' != + typeof v + ) { + const k = + { + params: + { + type: 'boolean', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + var Ne = + L === + ae + if ( + ((R = + R || + Ne), + !R) + ) { + const k = + ae + if ( + 'string' != + typeof v + ) { + const k = + { + params: + { + type: 'string', + }, + } + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++ + } + ;(Ne = + k === + ae), + (R = + R || + Ne) + } + if ( + !R + ) { + const k = + { + params: + {}, + } + return ( + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++, + (Le.errors = + q), + !1 + ) + } + ;(ae = + P), + null !== + q && + (P + ? (q.length = + P) + : (q = + null)), + (le = + E === + ae) + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.providedExports + ) { + const v = + ae + if ( + 'boolean' != + typeof k.providedExports + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.publicPath + ) { + const v = + ae + if ( + 'boolean' != + typeof k.publicPath + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.reasons + ) { + const v = + ae + if ( + 'boolean' != + typeof k.reasons + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.reasonsSpace + ) { + const v = + ae + if ( + 'number' != + typeof k.reasonsSpace + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'number', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.relatedAssets + ) { + const v = + ae + if ( + 'boolean' != + typeof k.relatedAssets + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.runtime + ) { + const v = + ae + if ( + 'boolean' != + typeof k.runtime + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.runtimeModules + ) { + const v = + ae + if ( + 'boolean' != + typeof k.runtimeModules + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.source + ) { + const v = + ae + if ( + 'boolean' != + typeof k.source + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.timings + ) { + const v = + ae + if ( + 'boolean' != + typeof k.timings + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.usedExports + ) { + const v = + ae + if ( + 'boolean' != + typeof k.usedExports + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.version + ) { + const v = + ae + if ( + 'boolean' != + typeof k.version + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.warnings + ) { + const v = + ae + if ( + 'boolean' != + typeof k.warnings + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.warningsCount + ) { + const v = + ae + if ( + 'boolean' != + typeof k.warningsCount + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + if ( + le + ) { + if ( + void 0 !== + k.warningsFilter + ) { + const v = + ae, + P = + ae + let R = + !1, + L = + null + const pe = + ae + if ( + (Ee( + k.warningsFilter, + { + instancePath: + E + + '/warningsFilter', + parentData: + k, + parentDataProperty: + 'warningsFilter', + rootData: + N, + } + ) || + ((q = + null === + q + ? Ee.errors + : q.concat( + Ee.errors + )), + (ae = + q.length)), + pe === + ae && + ((R = + !0), + (L = 0)), + !R) + ) { + const k = + { + params: + { + passingSchemas: + L, + }, + } + return ( + null === + q + ? (q = + [ + k, + ]) + : q.push( + k + ), + ae++, + (Le.errors = + q), + !1 + ) + } + ;(ae = + P), + null !== + q && + (P + ? (q.length = + P) + : (q = + null)), + (le = + v === + ae) + } else + le = + !0 + if ( + le + ) + if ( + void 0 !== + k.warningsSpace + ) { + const v = + ae + if ( + 'number' != + typeof k.warningsSpace + ) + return ( + (Le.errors = + [ + { + params: + { + type: 'number', + }, + }, + ]), + !1 + ) + le = + v === + ae + } else + le = + !0 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return (Le.errors = q), 0 === ae + } + function ze( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if ( + 'none' !== k && + 'summary' !== k && + 'errors-only' !== k && + 'errors-warnings' !== k && + 'minimal' !== k && + 'normal' !== k && + 'detailed' !== k && + 'verbose' !== k + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const q = N + if ('boolean' != typeof k) { + const k = { params: { type: 'boolean' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((pe = q === N), (ae = ae || pe), !ae)) { + const q = N + Le(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? Le.errors : L.concat(Le.errors)), + (N = L.length)), + (pe = q === N), + (ae = ae || pe) + } + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (ze.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (ze.errors = L), + 0 === N + ) + } + const Ge = new RegExp( + '^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$', + 'u' + ) + function we( + k, + { + instancePath: R = '', + parentData: L, + parentDataProperty: N, + rootData: q = k, + } = {} + ) { + let ae = null, + le = 0 + if (0 === le) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (we.errors = [{ params: { type: 'object' } }]), !1 + { + const L = le + for (const v in k) + if (!P.call(E.properties, v)) + return (we.errors = [{ params: { additionalProperty: v } }]), !1 + if (L === le) { + if (void 0 !== k.amd) { + let v = k.amd + const E = le, + P = le + let R = !1 + const L = le + if (!1 !== v) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + var pe = L === le + if (((R = R || pe), !R)) { + const k = le + if (!v || 'object' != typeof v || Array.isArray(v)) { + const k = { params: { type: 'object' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + ;(pe = k === le), (R = R || pe) + } + if (!R) { + const k = { params: {} } + return ( + null === ae ? (ae = [k]) : ae.push(k), + le++, + (we.errors = ae), + !1 + ) + } + ;(le = P), null !== ae && (P ? (ae.length = P) : (ae = null)) + var me = E === le + } else me = !0 + if (me) { + if (void 0 !== k.bail) { + const v = le + if ('boolean' != typeof k.bail) + return (we.errors = [{ params: { type: 'boolean' } }]), !1 + me = v === le + } else me = !0 + if (me) { + if (void 0 !== k.cache) { + const v = le + s(k.cache, { + instancePath: R + '/cache', + parentData: k, + parentDataProperty: 'cache', + rootData: q, + }) || + ((ae = null === ae ? s.errors : ae.concat(s.errors)), + (le = ae.length)), + (me = v === le) + } else me = !0 + if (me) { + if (void 0 !== k.context) { + let E = k.context + const P = le + if (le == le) { + if ('string' != typeof E) + return ( + (we.errors = [{ params: { type: 'string' } }]), !1 + ) + if (E.includes('!') || !0 !== v.test(E)) + return (we.errors = [{ params: {} }]), !1 + } + me = P === le + } else me = !0 + if (me) { + if (void 0 !== k.dependencies) { + let v = k.dependencies + const E = le + if (le == le) { + if (!Array.isArray(v)) + return ( + (we.errors = [{ params: { type: 'array' } }]), !1 + ) + { + const k = v.length + for (let E = 0; E < k; E++) { + const k = le + if ('string' != typeof v[E]) + return ( + (we.errors = [ + { params: { type: 'string' } }, + ]), + !1 + ) + if (k !== le) break + } + } + } + me = E === le + } else me = !0 + if (me) { + if (void 0 !== k.devServer) { + let v = k.devServer + const E = le + if (!v || 'object' != typeof v || Array.isArray(v)) + return ( + (we.errors = [{ params: { type: 'object' } }]), !1 + ) + me = E === le + } else me = !0 + if (me) { + if (void 0 !== k.devtool) { + let v = k.devtool + const E = le, + P = le + let R = !1 + const L = le + if (!1 !== v && 'eval' !== v) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + var ye = L === le + if (((R = R || ye), !R)) { + const k = le + if (le === k) + if ('string' == typeof v) { + if (!Ge.test(v)) { + const k = { + params: { + pattern: + '^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$', + }, + } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + } else { + const k = { params: { type: 'string' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + ;(ye = k === le), (R = R || ye) + } + if (!R) { + const k = { params: {} } + return ( + null === ae ? (ae = [k]) : ae.push(k), + le++, + (we.errors = ae), + !1 + ) + } + ;(le = P), + null !== ae && + (P ? (ae.length = P) : (ae = null)), + (me = E === le) + } else me = !0 + if (me) { + if (void 0 !== k.entry) { + const v = le + b(k.entry, { + instancePath: R + '/entry', + parentData: k, + parentDataProperty: 'entry', + rootData: q, + }) || + ((ae = + null === ae ? b.errors : ae.concat(b.errors)), + (le = ae.length)), + (me = v === le) + } else me = !0 + if (me) { + if (void 0 !== k.experiments) { + const v = le + A(k.experiments, { + instancePath: R + '/experiments', + parentData: k, + parentDataProperty: 'experiments', + rootData: q, + }) || + ((ae = + null === ae + ? A.errors + : ae.concat(A.errors)), + (le = ae.length)), + (me = v === le) + } else me = !0 + if (me) { + if (void 0 !== k.extends) { + const v = le + C(k.extends, { + instancePath: R + '/extends', + parentData: k, + parentDataProperty: 'extends', + rootData: q, + }) || + ((ae = + null === ae + ? C.errors + : ae.concat(C.errors)), + (le = ae.length)), + (me = v === le) + } else me = !0 + if (me) { + if (void 0 !== k.externals) { + const v = le + S(k.externals, { + instancePath: R + '/externals', + parentData: k, + parentDataProperty: 'externals', + rootData: q, + }) || + ((ae = + null === ae + ? S.errors + : ae.concat(S.errors)), + (le = ae.length)), + (me = v === le) + } else me = !0 + if (me) { + if (void 0 !== k.externalsPresets) { + let v = k.externalsPresets + const E = le + if (le == le) { + if ( + !v || + 'object' != typeof v || + Array.isArray(v) + ) + return ( + (we.errors = [ + { params: { type: 'object' } }, + ]), + !1 + ) + { + const k = le + for (const k in v) + if ( + 'electron' !== k && + 'electronMain' !== k && + 'electronPreload' !== k && + 'electronRenderer' !== k && + 'node' !== k && + 'nwjs' !== k && + 'web' !== k && + 'webAsync' !== k + ) + return ( + (we.errors = [ + { + params: { + additionalProperty: k, + }, + }, + ]), + !1 + ) + if (k === le) { + if (void 0 !== v.electron) { + const k = le + if ( + 'boolean' != typeof v.electron + ) + return ( + (we.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + var _e = k === le + } else _e = !0 + if (_e) { + if (void 0 !== v.electronMain) { + const k = le + if ( + 'boolean' != + typeof v.electronMain + ) + return ( + (we.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + _e = k === le + } else _e = !0 + if (_e) { + if ( + void 0 !== v.electronPreload + ) { + const k = le + if ( + 'boolean' != + typeof v.electronPreload + ) + return ( + (we.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + _e = k === le + } else _e = !0 + if (_e) { + if ( + void 0 !== + v.electronRenderer + ) { + const k = le + if ( + 'boolean' != + typeof v.electronRenderer + ) + return ( + (we.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + _e = k === le + } else _e = !0 + if (_e) { + if (void 0 !== v.node) { + const k = le + if ( + 'boolean' != + typeof v.node + ) + return ( + (we.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + _e = k === le + } else _e = !0 + if (_e) { + if (void 0 !== v.nwjs) { + const k = le + if ( + 'boolean' != + typeof v.nwjs + ) + return ( + (we.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + _e = k === le + } else _e = !0 + if (_e) { + if (void 0 !== v.web) { + const k = le + if ( + 'boolean' != + typeof v.web + ) + return ( + (we.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + _e = k === le + } else _e = !0 + if (_e) + if ( + void 0 !== + v.webAsync + ) { + const k = le + if ( + 'boolean' != + typeof v.webAsync + ) + return ( + (we.errors = [ + { + params: { + type: 'boolean', + }, + }, + ]), + !1 + ) + _e = k === le + } else _e = !0 + } + } + } + } + } + } + } + } + } + me = E === le + } else me = !0 + if (me) { + if (void 0 !== k.externalsType) { + let v = k.externalsType + const E = le + if ( + 'var' !== v && + 'module' !== v && + 'assign' !== v && + 'this' !== v && + 'window' !== v && + 'self' !== v && + 'global' !== v && + 'commonjs' !== v && + 'commonjs2' !== v && + 'commonjs-module' !== v && + 'commonjs-static' !== v && + 'amd' !== v && + 'amd-require' !== v && + 'umd' !== v && + 'umd2' !== v && + 'jsonp' !== v && + 'system' !== v && + 'promise' !== v && + 'import' !== v && + 'script' !== v && + 'node-commonjs' !== v + ) + return ( + (we.errors = [{ params: {} }]), !1 + ) + me = E === le + } else me = !0 + if (me) { + if (void 0 !== k.ignoreWarnings) { + let v = k.ignoreWarnings + const E = le + if (le == le) { + if (!Array.isArray(v)) + return ( + (we.errors = [ + { params: { type: 'array' } }, + ]), + !1 + ) + { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = le, + R = le + let L = !1 + const N = le + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + var Ie = N === le + if (((L = L || Ie), !L)) { + const v = le + if (le === v) + if ( + k && + 'object' == typeof k && + !Array.isArray(k) + ) { + const v = le + for (const v in k) + if ( + 'file' !== v && + 'message' !== v && + 'module' !== v + ) { + const k = { + params: { + additionalProperty: + v, + }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + break + } + if (v === le) { + if (void 0 !== k.file) { + const v = le + if ( + !( + k.file instanceof + RegExp + ) + ) { + const k = { + params: {}, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + var Me = v === le + } else Me = !0 + if (Me) { + if ( + void 0 !== k.message + ) { + const v = le + if ( + !( + k.message instanceof + RegExp + ) + ) { + const k = { + params: {}, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + Me = v === le + } else Me = !0 + if (Me) + if ( + void 0 !== + k.module + ) { + const v = le + if ( + !( + k.module instanceof + RegExp + ) + ) { + const k = { + params: {}, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + Me = v === le + } else Me = !0 + } + } + } else { + const k = { + params: { + type: 'object', + }, + } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + if ( + ((Ie = v === le), + (L = L || Ie), + !L) + ) { + const v = le + if ( + !(k instanceof Function) + ) { + const k = { params: {} } + null === ae + ? (ae = [k]) + : ae.push(k), + le++ + } + ;(Ie = v === le), + (L = L || Ie) + } + } + if (!L) { + const k = { params: {} } + return ( + null === ae + ? (ae = [k]) + : ae.push(k), + le++, + (we.errors = ae), + !1 + ) + } + if ( + ((le = R), + null !== ae && + (R + ? (ae.length = R) + : (ae = null)), + P !== le) + ) + break + } + } + } + me = E === le + } else me = !0 + if (me) { + if ( + void 0 !== k.infrastructureLogging + ) { + const v = le + F(k.infrastructureLogging, { + instancePath: + R + '/infrastructureLogging', + parentData: k, + parentDataProperty: + 'infrastructureLogging', + rootData: q, + }) || + ((ae = + null === ae + ? F.errors + : ae.concat(F.errors)), + (le = ae.length)), + (me = v === le) + } else me = !0 + if (me) { + if (void 0 !== k.loader) { + let v = k.loader + const E = le + if ( + !v || + 'object' != typeof v || + Array.isArray(v) + ) + return ( + (we.errors = [ + { + params: { + type: 'object', + }, + }, + ]), + !1 + ) + me = E === le + } else me = !0 + if (me) { + if (void 0 !== k.mode) { + let v = k.mode + const E = le + if ( + 'development' !== v && + 'production' !== v && + 'none' !== v + ) + return ( + (we.errors = [ + { params: {} }, + ]), + !1 + ) + me = E === le + } else me = !0 + if (me) { + if (void 0 !== k.module) { + const v = le + ie(k.module, { + instancePath: R + '/module', + parentData: k, + parentDataProperty: + 'module', + rootData: q, + }) || + ((ae = + null === ae + ? ie.errors + : ae.concat(ie.errors)), + (le = ae.length)), + (me = v === le) + } else me = !0 + if (me) { + if (void 0 !== k.name) { + const v = le + if ( + 'string' != typeof k.name + ) + return ( + (we.errors = [ + { + params: { + type: 'string', + }, + }, + ]), + !1 + ) + me = v === le + } else me = !0 + if (me) { + if (void 0 !== k.node) { + const v = le + re(k.node, { + instancePath: + R + '/node', + parentData: k, + parentDataProperty: + 'node', + rootData: q, + }) || + ((ae = + null === ae + ? re.errors + : ae.concat( + re.errors + )), + (le = ae.length)), + (me = v === le) + } else me = !0 + if (me) { + if ( + void 0 !== + k.optimization + ) { + const v = le + ce(k.optimization, { + instancePath: + R + '/optimization', + parentData: k, + parentDataProperty: + 'optimization', + rootData: q, + }) || + ((ae = + null === ae + ? ce.errors + : ae.concat( + ce.errors + )), + (le = ae.length)), + (me = v === le) + } else me = !0 + if (me) { + if ( + void 0 !== k.output + ) { + const v = le + Ae(k.output, { + instancePath: + R + '/output', + parentData: k, + parentDataProperty: + 'output', + rootData: q, + }) || + ((ae = + null === ae + ? Ae.errors + : ae.concat( + Ae.errors + )), + (le = ae.length)), + (me = v === le) + } else me = !0 + if (me) { + if ( + void 0 !== + k.parallelism + ) { + let v = + k.parallelism + const E = le + if (le == le) { + if ( + 'number' != + typeof v + ) + return ( + (we.errors = [ + { + params: { + type: 'number', + }, + }, + ]), + !1 + ) + if ( + v < 1 || + isNaN(v) + ) + return ( + (we.errors = [ + { + params: { + comparison: + '>=', + limit: 1, + }, + }, + ]), + !1 + ) + } + me = E === le + } else me = !0 + if (me) { + if ( + void 0 !== + k.performance + ) { + const v = le + Ce( + k.performance, + { + instancePath: + R + + '/performance', + parentData: k, + parentDataProperty: + 'performance', + rootData: q, + } + ) || + ((ae = + null === ae + ? Ce.errors + : ae.concat( + Ce.errors + )), + (le = + ae.length)), + (me = v === le) + } else me = !0 + if (me) { + if ( + void 0 !== + k.plugins + ) { + const v = le + ke(k.plugins, { + instancePath: + R + + '/plugins', + parentData: k, + parentDataProperty: + 'plugins', + rootData: q, + }) || + ((ae = + null === ae + ? ke.errors + : ae.concat( + ke.errors + )), + (le = + ae.length)), + (me = + v === le) + } else me = !0 + if (me) { + if ( + void 0 !== + k.profile + ) { + const v = le + if ( + 'boolean' != + typeof k.profile + ) + return ( + (we.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + me = v === le + } else me = !0 + if (me) { + if ( + void 0 !== + k.recordsInputPath + ) { + let E = + k.recordsInputPath + const P = + le, + R = le + let L = !1 + const N = le + if ( + !1 !== E + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [k]) + : ae.push( + k + ), + le++ + } + var Te = + N === le + if ( + ((L = + L || + Te), + !L) + ) { + const k = + le + if ( + le === k + ) + if ( + 'string' == + typeof E + ) { + if ( + E.includes( + '!' + ) || + !0 !== + v.test( + E + ) + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + ;(Te = + k === + le), + (L = + L || + Te) + } + if (!L) { + const k = + { + params: + {}, + } + return ( + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++, + (we.errors = + ae), + !1 + ) + } + ;(le = R), + null !== + ae && + (R + ? (ae.length = + R) + : (ae = + null)), + (me = + P === + le) + } else me = !0 + if (me) { + if ( + void 0 !== + k.recordsOutputPath + ) { + let E = + k.recordsOutputPath + const P = + le, + R = le + let L = !1 + const N = + le + if ( + !1 !== E + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + var je = + N === le + if ( + ((L = + L || + je), + !L) + ) { + const k = + le + if ( + le === + k + ) + if ( + 'string' == + typeof E + ) { + if ( + E.includes( + '!' + ) || + !0 !== + v.test( + E + ) + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + ;(je = + k === + le), + (L = + L || + je) + } + if (!L) { + const k = + { + params: + {}, + } + return ( + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++, + (we.errors = + ae), + !1 + ) + } + ;(le = R), + null !== + ae && + (R + ? (ae.length = + R) + : (ae = + null)), + (me = + P === + le) + } else + me = !0 + if (me) { + if ( + void 0 !== + k.recordsPath + ) { + let E = + k.recordsPath + const P = + le, + R = le + let L = + !1 + const N = + le + if ( + !1 !== + E + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + var Ne = + N === + le + if ( + ((L = + L || + Ne), + !L) + ) { + const k = + le + if ( + le === + k + ) + if ( + 'string' == + typeof E + ) { + if ( + E.includes( + '!' + ) || + !0 !== + v.test( + E + ) + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + ;(Ne = + k === + le), + (L = + L || + Ne) + } + if ( + !L + ) { + const k = + { + params: + {}, + } + return ( + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++, + (we.errors = + ae), + !1 + ) + } + ;(le = + R), + null !== + ae && + (R + ? (ae.length = + R) + : (ae = + null)), + (me = + P === + le) + } else + me = !0 + if (me) { + if ( + void 0 !== + k.resolve + ) { + const v = + le + $e( + k.resolve, + { + instancePath: + R + + '/resolve', + parentData: + k, + parentDataProperty: + 'resolve', + rootData: + q, + } + ) || + ((ae = + null === + ae + ? $e.errors + : ae.concat( + $e.errors + )), + (le = + ae.length)), + (me = + v === + le) + } else + me = + !0 + if ( + me + ) { + if ( + void 0 !== + k.resolveLoader + ) { + const v = + le + Se( + k.resolveLoader, + { + instancePath: + R + + '/resolveLoader', + parentData: + k, + parentDataProperty: + 'resolveLoader', + rootData: + q, + } + ) || + ((ae = + null === + ae + ? Se.errors + : ae.concat( + Se.errors + )), + (le = + ae.length)), + (me = + v === + le) + } else + me = + !0 + if ( + me + ) { + if ( + void 0 !== + k.snapshot + ) { + let E = + k.snapshot + const P = + le + if ( + le == + le + ) { + if ( + !E || + 'object' != + typeof E || + Array.isArray( + E + ) + ) + return ( + (we.errors = + [ + { + params: + { + type: 'object', + }, + }, + ]), + !1 + ) + { + const k = + le + for (const k in E) + if ( + 'buildDependencies' !== + k && + 'immutablePaths' !== + k && + 'managedPaths' !== + k && + 'module' !== + k && + 'resolve' !== + k && + 'resolveBuildDependencies' !== + k + ) + return ( + (we.errors = + [ + { + params: + { + additionalProperty: + k, + }, + }, + ]), + !1 + ) + if ( + k === + le + ) { + if ( + void 0 !== + E.buildDependencies + ) { + let k = + E.buildDependencies + const v = + le + if ( + le === + v + ) { + if ( + !k || + 'object' != + typeof k || + Array.isArray( + k + ) + ) + return ( + (we.errors = + [ + { + params: + { + type: 'object', + }, + }, + ]), + !1 + ) + { + const v = + le + for (const v in k) + if ( + 'hash' !== + v && + 'timestamp' !== + v + ) + return ( + (we.errors = + [ + { + params: + { + additionalProperty: + v, + }, + }, + ]), + !1 + ) + if ( + v === + le + ) { + if ( + void 0 !== + k.hash + ) { + const v = + le + if ( + 'boolean' != + typeof k.hash + ) + return ( + (we.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + var Be = + v === + le + } else + Be = + !0 + if ( + Be + ) + if ( + void 0 !== + k.timestamp + ) { + const v = + le + if ( + 'boolean' != + typeof k.timestamp + ) + return ( + (we.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Be = + v === + le + } else + Be = + !0 + } + } + } + var qe = + v === + le + } else + qe = + !0 + if ( + qe + ) { + if ( + void 0 !== + E.immutablePaths + ) { + let k = + E.immutablePaths + const P = + le + if ( + le === + P + ) { + if ( + !Array.isArray( + k + ) + ) + return ( + (we.errors = + [ + { + params: + { + type: 'array', + }, + }, + ]), + !1 + ) + { + const E = + k.length + for ( + let P = 0; + P < + E; + P++ + ) { + let E = + k[ + P + ] + const R = + le, + L = + le + let N = + !1 + const q = + le + if ( + !( + E instanceof + RegExp + ) + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + var Ue = + q === + le + if ( + ((N = + N || + Ue), + !N) + ) { + const k = + le + if ( + le === + k + ) + if ( + 'string' == + typeof E + ) { + if ( + E.includes( + '!' + ) || + !0 !== + v.test( + E + ) + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } else if ( + E.length < + 1 + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + ;(Ue = + k === + le), + (N = + N || + Ue) + } + if ( + !N + ) { + const k = + { + params: + {}, + } + return ( + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++, + (we.errors = + ae), + !1 + ) + } + if ( + ((le = + L), + null !== + ae && + (L + ? (ae.length = + L) + : (ae = + null)), + R !== + le) + ) + break + } + } + } + qe = + P === + le + } else + qe = + !0 + if ( + qe + ) { + if ( + void 0 !== + E.managedPaths + ) { + let k = + E.managedPaths + const P = + le + if ( + le === + P + ) { + if ( + !Array.isArray( + k + ) + ) + return ( + (we.errors = + [ + { + params: + { + type: 'array', + }, + }, + ]), + !1 + ) + { + const E = + k.length + for ( + let P = 0; + P < + E; + P++ + ) { + let E = + k[ + P + ] + const R = + le, + L = + le + let N = + !1 + const q = + le + if ( + !( + E instanceof + RegExp + ) + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + var He = + q === + le + if ( + ((N = + N || + He), + !N) + ) { + const k = + le + if ( + le === + k + ) + if ( + 'string' == + typeof E + ) { + if ( + E.includes( + '!' + ) || + !0 !== + v.test( + E + ) + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } else if ( + E.length < + 1 + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + ;(He = + k === + le), + (N = + N || + He) + } + if ( + !N + ) { + const k = + { + params: + {}, + } + return ( + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++, + (we.errors = + ae), + !1 + ) + } + if ( + ((le = + L), + null !== + ae && + (L + ? (ae.length = + L) + : (ae = + null)), + R !== + le) + ) + break + } + } + } + qe = + P === + le + } else + qe = + !0 + if ( + qe + ) { + if ( + void 0 !== + E.module + ) { + let k = + E.module + const v = + le + if ( + le === + v + ) { + if ( + !k || + 'object' != + typeof k || + Array.isArray( + k + ) + ) + return ( + (we.errors = + [ + { + params: + { + type: 'object', + }, + }, + ]), + !1 + ) + { + const v = + le + for (const v in k) + if ( + 'hash' !== + v && + 'timestamp' !== + v + ) + return ( + (we.errors = + [ + { + params: + { + additionalProperty: + v, + }, + }, + ]), + !1 + ) + if ( + v === + le + ) { + if ( + void 0 !== + k.hash + ) { + const v = + le + if ( + 'boolean' != + typeof k.hash + ) + return ( + (we.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + var We = + v === + le + } else + We = + !0 + if ( + We + ) + if ( + void 0 !== + k.timestamp + ) { + const v = + le + if ( + 'boolean' != + typeof k.timestamp + ) + return ( + (we.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + We = + v === + le + } else + We = + !0 + } + } + } + qe = + v === + le + } else + qe = + !0 + if ( + qe + ) { + if ( + void 0 !== + E.resolve + ) { + let k = + E.resolve + const v = + le + if ( + le === + v + ) { + if ( + !k || + 'object' != + typeof k || + Array.isArray( + k + ) + ) + return ( + (we.errors = + [ + { + params: + { + type: 'object', + }, + }, + ]), + !1 + ) + { + const v = + le + for (const v in k) + if ( + 'hash' !== + v && + 'timestamp' !== + v + ) + return ( + (we.errors = + [ + { + params: + { + additionalProperty: + v, + }, + }, + ]), + !1 + ) + if ( + v === + le + ) { + if ( + void 0 !== + k.hash + ) { + const v = + le + if ( + 'boolean' != + typeof k.hash + ) + return ( + (we.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + var Qe = + v === + le + } else + Qe = + !0 + if ( + Qe + ) + if ( + void 0 !== + k.timestamp + ) { + const v = + le + if ( + 'boolean' != + typeof k.timestamp + ) + return ( + (we.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Qe = + v === + le + } else + Qe = + !0 + } + } + } + qe = + v === + le + } else + qe = + !0 + if ( + qe + ) + if ( + void 0 !== + E.resolveBuildDependencies + ) { + let k = + E.resolveBuildDependencies + const v = + le + if ( + le === + v + ) { + if ( + !k || + 'object' != + typeof k || + Array.isArray( + k + ) + ) + return ( + (we.errors = + [ + { + params: + { + type: 'object', + }, + }, + ]), + !1 + ) + { + const v = + le + for (const v in k) + if ( + 'hash' !== + v && + 'timestamp' !== + v + ) + return ( + (we.errors = + [ + { + params: + { + additionalProperty: + v, + }, + }, + ]), + !1 + ) + if ( + v === + le + ) { + if ( + void 0 !== + k.hash + ) { + const v = + le + if ( + 'boolean' != + typeof k.hash + ) + return ( + (we.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + var Je = + v === + le + } else + Je = + !0 + if ( + Je + ) + if ( + void 0 !== + k.timestamp + ) { + const v = + le + if ( + 'boolean' != + typeof k.timestamp + ) + return ( + (we.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Je = + v === + le + } else + Je = + !0 + } + } + } + qe = + v === + le + } else + qe = + !0 + } + } + } + } + } + } + } + me = + P === + le + } else + me = + !0 + if ( + me + ) { + if ( + void 0 !== + k.stats + ) { + const v = + le + ze( + k.stats, + { + instancePath: + R + + '/stats', + parentData: + k, + parentDataProperty: + 'stats', + rootData: + q, + } + ) || + ((ae = + null === + ae + ? ze.errors + : ae.concat( + ze.errors + )), + (le = + ae.length)), + (me = + v === + le) + } else + me = + !0 + if ( + me + ) { + if ( + void 0 !== + k.target + ) { + let v = + k.target + const E = + le, + P = + le + let R = + !1 + const L = + le + if ( + le === + L + ) + if ( + Array.isArray( + v + ) + ) + if ( + v.length < + 1 + ) { + const k = + { + params: + { + limit: 1, + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } else { + const k = + v.length + for ( + let E = 0; + E < + k; + E++ + ) { + let k = + v[ + E + ] + const P = + le + if ( + le === + P + ) + if ( + 'string' == + typeof k + ) { + if ( + k.length < + 1 + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + if ( + P !== + le + ) + break + } + } + else { + const k = + { + params: + { + type: 'array', + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + var Ve = + L === + le + if ( + ((R = + R || + Ve), + !R) + ) { + const k = + le + if ( + !1 !== + v + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + if ( + ((Ve = + k === + le), + (R = + R || + Ve), + !R) + ) { + const k = + le + if ( + le === + k + ) + if ( + 'string' == + typeof v + ) { + if ( + v.length < + 1 + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + ;(Ve = + k === + le), + (R = + R || + Ve) + } + } + if ( + !R + ) { + const k = + { + params: + {}, + } + return ( + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++, + (we.errors = + ae), + !1 + ) + } + ;(le = + P), + null !== + ae && + (P + ? (ae.length = + P) + : (ae = + null)), + (me = + E === + le) + } else + me = + !0 + if ( + me + ) { + if ( + void 0 !== + k.watch + ) { + const v = + le + if ( + 'boolean' != + typeof k.watch + ) + return ( + (we.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + me = + v === + le + } else + me = + !0 + if ( + me + ) + if ( + void 0 !== + k.watchOptions + ) { + let v = + k.watchOptions + const E = + le + if ( + le == + le + ) { + if ( + !v || + 'object' != + typeof v || + Array.isArray( + v + ) + ) + return ( + (we.errors = + [ + { + params: + { + type: 'object', + }, + }, + ]), + !1 + ) + { + const k = + le + for (const k in v) + if ( + 'aggregateTimeout' !== + k && + 'followSymlinks' !== + k && + 'ignored' !== + k && + 'poll' !== + k && + 'stdin' !== + k + ) + return ( + (we.errors = + [ + { + params: + { + additionalProperty: + k, + }, + }, + ]), + !1 + ) + if ( + k === + le + ) { + if ( + void 0 !== + v.aggregateTimeout + ) { + const k = + le + if ( + 'number' != + typeof v.aggregateTimeout + ) + return ( + (we.errors = + [ + { + params: + { + type: 'number', + }, + }, + ]), + !1 + ) + var Ke = + k === + le + } else + Ke = + !0 + if ( + Ke + ) { + if ( + void 0 !== + v.followSymlinks + ) { + const k = + le + if ( + 'boolean' != + typeof v.followSymlinks + ) + return ( + (we.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Ke = + k === + le + } else + Ke = + !0 + if ( + Ke + ) { + if ( + void 0 !== + v.ignored + ) { + let k = + v.ignored + const E = + le, + P = + le + let R = + !1 + const L = + le + if ( + le === + L + ) + if ( + Array.isArray( + k + ) + ) { + const v = + k.length + for ( + let E = 0; + E < + v; + E++ + ) { + let v = + k[ + E + ] + const P = + le + if ( + le === + P + ) + if ( + 'string' == + typeof v + ) { + if ( + v.length < + 1 + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + if ( + P !== + le + ) + break + } + } else { + const k = + { + params: + { + type: 'array', + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + var Ye = + L === + le + if ( + ((R = + R || + Ye), + !R) + ) { + const v = + le + if ( + !( + k instanceof + RegExp + ) + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + if ( + ((Ye = + v === + le), + (R = + R || + Ye), + !R) + ) { + const v = + le + if ( + le === + v + ) + if ( + 'string' == + typeof k + ) { + if ( + k.length < + 1 + ) { + const k = + { + params: + {}, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + } else { + const k = + { + params: + { + type: 'string', + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + ;(Ye = + v === + le), + (R = + R || + Ye) + } + } + if ( + !R + ) { + const k = + { + params: + {}, + } + return ( + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++, + (we.errors = + ae), + !1 + ) + } + ;(le = + P), + null !== + ae && + (P + ? (ae.length = + P) + : (ae = + null)), + (Ke = + E === + le) + } else + Ke = + !0 + if ( + Ke + ) { + if ( + void 0 !== + v.poll + ) { + let k = + v.poll + const E = + le, + P = + le + let R = + !1 + const L = + le + if ( + 'number' != + typeof k + ) { + const k = + { + params: + { + type: 'number', + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + var Xe = + L === + le + if ( + ((R = + R || + Xe), + !R) + ) { + const v = + le + if ( + 'boolean' != + typeof k + ) { + const k = + { + params: + { + type: 'boolean', + }, + } + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++ + } + ;(Xe = + v === + le), + (R = + R || + Xe) + } + if ( + !R + ) { + const k = + { + params: + {}, + } + return ( + null === + ae + ? (ae = + [ + k, + ]) + : ae.push( + k + ), + le++, + (we.errors = + ae), + !1 + ) + } + ;(le = + P), + null !== + ae && + (P + ? (ae.length = + P) + : (ae = + null)), + (Ke = + E === + le) + } else + Ke = + !0 + if ( + Ke + ) + if ( + void 0 !== + v.stdin + ) { + const k = + le + if ( + 'boolean' != + typeof v.stdin + ) + return ( + (we.errors = + [ + { + params: + { + type: 'boolean', + }, + }, + ]), + !1 + ) + Ke = + k === + le + } else + Ke = + !0 + } + } + } + } + } + } + me = + E === + le + } else + me = + !0 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return (we.errors = ae), 0 === le + } + }, + 85797: function (k) { + 'use strict' + function n( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = N, + R = N + let q = !1, + ae = null + const le = N, + me = N + let ye = !1 + const _e = N + if (!(v instanceof RegExp)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = _e === N + if (((ye = ye || pe), !ye)) { + const k = N + if (N === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = k === N), (ye = ye || pe) + } + if (ye) + (N = me), null !== L && (me ? (L.length = me) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if ((le === N && ((q = !0), (ae = 0)), q)) + (N = R), null !== L && (R ? (L.length = R) : (L = null)) + else { + const k = { params: { passingSchemas: ae } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = le === N + if (((ae = ae || me), !ae)) { + const v = N, + E = N + let P = !1 + const R = N + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var ye = R === N + if (((P = P || ye), !P)) { + const v = N + if (N === v) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ye = v === N), (P = P || ye) + } + if (P) (N = E), null !== L && (E ? (L.length = E) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = v === N), (ae = ae || me) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (n.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (n.errors = L), + 0 === N + ) + } + function t( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const E = N + if (N === E) + if (k && 'object' == typeof k && !Array.isArray(k)) { + let E + if (void 0 === k.banner && (E = 'banner')) { + const k = { params: { missingProperty: E } } + null === L ? (L = [k]) : L.push(k), N++ + } else { + const E = N + for (const v in k) + if ( + 'banner' !== v && + 'entryOnly' !== v && + 'exclude' !== v && + 'footer' !== v && + 'include' !== v && + 'raw' !== v && + 'test' !== v + ) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (E === N) { + if (void 0 !== k.banner) { + let v = k.banner + const E = N, + P = N + let R = !1 + const q = N + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = q === N + if (((R = R || me), !R)) { + const k = N + if (!(v instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = k === N), (R = R || me) + } + if (R) + (N = P), null !== L && (P ? (L.length = P) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var ye = E === N + } else ye = !0 + if (ye) { + if (void 0 !== k.entryOnly) { + const v = N + if ('boolean' != typeof k.entryOnly) { + const k = { params: { type: 'boolean' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ye = v === N + } else ye = !0 + if (ye) { + if (void 0 !== k.exclude) { + const E = N, + P = N + let q = !1, + ae = null + const le = N + if ( + (n(k.exclude, { + instancePath: v + '/exclude', + parentData: k, + parentDataProperty: 'exclude', + rootData: R, + }) || + ((L = null === L ? n.errors : L.concat(n.errors)), + (N = L.length)), + le === N && ((q = !0), (ae = 0)), + q) + ) + (N = P), + null !== L && (P ? (L.length = P) : (L = null)) + else { + const k = { params: { passingSchemas: ae } } + null === L ? (L = [k]) : L.push(k), N++ + } + ye = E === N + } else ye = !0 + if (ye) { + if (void 0 !== k.footer) { + const v = N + if ('boolean' != typeof k.footer) { + const k = { params: { type: 'boolean' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ye = v === N + } else ye = !0 + if (ye) { + if (void 0 !== k.include) { + const E = N, + P = N + let q = !1, + ae = null + const le = N + if ( + (n(k.include, { + instancePath: v + '/include', + parentData: k, + parentDataProperty: 'include', + rootData: R, + }) || + ((L = + null === L ? n.errors : L.concat(n.errors)), + (N = L.length)), + le === N && ((q = !0), (ae = 0)), + q) + ) + (N = P), + null !== L && (P ? (L.length = P) : (L = null)) + else { + const k = { params: { passingSchemas: ae } } + null === L ? (L = [k]) : L.push(k), N++ + } + ye = E === N + } else ye = !0 + if (ye) { + if (void 0 !== k.raw) { + const v = N + if ('boolean' != typeof k.raw) { + const k = { params: { type: 'boolean' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ye = v === N + } else ye = !0 + if (ye) + if (void 0 !== k.test) { + const E = N, + P = N + let q = !1, + ae = null + const le = N + if ( + (n(k.test, { + instancePath: v + '/test', + parentData: k, + parentDataProperty: 'test', + rootData: R, + }) || + ((L = + null === L + ? n.errors + : L.concat(n.errors)), + (N = L.length)), + le === N && ((q = !0), (ae = 0)), + q) + ) + (N = P), + null !== L && + (P ? (L.length = P) : (L = null)) + else { + const k = { params: { passingSchemas: ae } } + null === L ? (L = [k]) : L.push(k), N++ + } + ye = E === N + } else ye = !0 + } + } + } + } + } + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((pe = E === N), (ae = ae || pe), !ae)) { + const v = N + if (!(k instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (t.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (t.errors = L), + 0 === N + ) + } + ;(k.exports = t), (k.exports['default'] = t) + }, + 79339: function (k) { + 'use strict' + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + { + let v + if (void 0 === k.path && (v = 'path')) + return (r.errors = [{ params: { missingProperty: v } }]), !1 + { + const v = 0 + for (const v in k) + if ( + 'context' !== v && + 'entryOnly' !== v && + 'format' !== v && + 'name' !== v && + 'path' !== v && + 'type' !== v + ) + return (r.errors = [{ params: { additionalProperty: v } }]), !1 + if (0 === v) { + if (void 0 !== k.context) { + let v = k.context + const E = 0 + if (0 === E) { + if ('string' != typeof v) + return (r.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (r.errors = [{ params: {} }]), !1 + } + var L = 0 === E + } else L = !0 + if (L) { + if (void 0 !== k.entryOnly) { + const v = 0 + if ('boolean' != typeof k.entryOnly) + return (r.errors = [{ params: { type: 'boolean' } }]), !1 + L = 0 === v + } else L = !0 + if (L) { + if (void 0 !== k.format) { + const v = 0 + if ('boolean' != typeof k.format) + return (r.errors = [{ params: { type: 'boolean' } }]), !1 + L = 0 === v + } else L = !0 + if (L) { + if (void 0 !== k.name) { + let v = k.name + const E = 0 + if (0 === E) { + if ('string' != typeof v) + return ( + (r.errors = [{ params: { type: 'string' } }]), !1 + ) + if (v.length < 1) + return (r.errors = [{ params: {} }]), !1 + } + L = 0 === E + } else L = !0 + if (L) { + if (void 0 !== k.path) { + let v = k.path + const E = 0 + if (0 === E) { + if ('string' != typeof v) + return ( + (r.errors = [{ params: { type: 'string' } }]), !1 + ) + if (v.length < 1) + return (r.errors = [{ params: {} }]), !1 + } + L = 0 === E + } else L = !0 + if (L) + if (void 0 !== k.type) { + let v = k.type + const E = 0 + if (0 === E) { + if ('string' != typeof v) + return ( + (r.errors = [{ params: { type: 'string' } }]), + !1 + ) + if (v.length < 1) + return (r.errors = [{ params: {} }]), !1 + } + L = 0 === E + } else L = !0 + } + } + } + } + } + } + } + return (r.errors = null), !0 + } + ;(k.exports = r), (k.exports['default'] = r) + }, + 70959: function (k) { + const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ + function t( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (t.errors = [{ params: { type: 'object' } }]), !1 + { + let v + if (void 0 === k.content && (v = 'content')) + return (t.errors = [{ params: { missingProperty: v } }]), !1 + { + const v = N + for (const v in k) + if ('content' !== v && 'name' !== v && 'type' !== v) + return ( + (t.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (v === N) { + if (void 0 !== k.content) { + let v = k.content + const E = N, + P = N + let R = !1, + me = null + const ye = N + if (N == N) + if (v && 'object' == typeof v && !Array.isArray(v)) + if (Object.keys(v).length < 1) { + const k = { params: { limit: 1 } } + null === L ? (L = [k]) : L.push(k), N++ + } else + for (const k in v) { + let E = v[k] + const P = N + if (N === P) + if ( + E && + 'object' == typeof E && + !Array.isArray(E) + ) { + let k + if (void 0 === E.id && (k = 'id')) { + const v = { params: { missingProperty: k } } + null === L ? (L = [v]) : L.push(v), N++ + } else { + const k = N + for (const k in E) + if ( + 'buildMeta' !== k && + 'exports' !== k && + 'id' !== k + ) { + const v = { + params: { additionalProperty: k }, + } + null === L ? (L = [v]) : L.push(v), N++ + break + } + if (k === N) { + if (void 0 !== E.buildMeta) { + let k = E.buildMeta + const v = N + if ( + !k || + 'object' != typeof k || + Array.isArray(k) + ) { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = v === N + } else q = !0 + if (q) { + if (void 0 !== E.exports) { + let k = E.exports + const v = N, + P = N + let R = !1 + const le = N + if (N === le) + if (Array.isArray(k)) { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = N + if (N === P) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L + ? (L = [k]) + : L.push(k), + N++ + } + } else { + const k = { + params: { type: 'string' }, + } + null === L + ? (L = [k]) + : L.push(k), + N++ + } + if (P !== N) break + } + } else { + const k = { + params: { type: 'array' }, + } + null === L ? (L = [k]) : L.push(k), + N++ + } + var ae = le === N + if (((R = R || ae), !R)) { + const v = N + if (!0 !== k) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), + N++ + } + ;(ae = v === N), (R = R || ae) + } + if (R) + (N = P), + null !== L && + (P ? (L.length = P) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + q = v === N + } else q = !0 + if (q) + if (void 0 !== E.id) { + let k = E.id + const v = N, + P = N + let R = !1 + const ae = N + if ('number' != typeof k) { + const k = { + params: { type: 'number' }, + } + null === L ? (L = [k]) : L.push(k), + N++ + } + var le = ae === N + if (((R = R || le), !R)) { + const v = N + if (N === v) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L + ? (L = [k]) + : L.push(k), + N++ + } + } else { + const k = { + params: { type: 'string' }, + } + null === L + ? (L = [k]) + : L.push(k), + N++ + } + ;(le = v === N), (R = R || le) + } + if (R) + (N = P), + null !== L && + (P ? (L.length = P) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), + N++ + } + q = v === N + } else q = !0 + } + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if ((ye === N && ((R = !0), (me = 0)), !R)) { + const k = { params: { passingSchemas: me } } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (t.errors = L), + !1 + ) + } + ;(N = P), null !== L && (P ? (L.length = P) : (L = null)) + var pe = E === N + } else pe = !0 + if (pe) { + if (void 0 !== k.name) { + let v = k.name + const E = N + if (N === E) { + if ('string' != typeof v) + return (t.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (t.errors = [{ params: {} }]), !1 + } + pe = E === N + } else pe = !0 + if (pe) + if (void 0 !== k.type) { + let v = k.type + const E = N, + P = N + let R = !1, + q = null + const ae = N + if ( + 'var' !== v && + 'assign' !== v && + 'this' !== v && + 'window' !== v && + 'global' !== v && + 'commonjs' !== v && + 'commonjs2' !== v && + 'commonjs-module' !== v && + 'amd' !== v && + 'amd-require' !== v && + 'umd' !== v && + 'umd2' !== v && + 'jsonp' !== v && + 'system' !== v + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if ((ae === N && ((R = !0), (q = 0)), !R)) { + const k = { params: { passingSchemas: q } } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (t.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (pe = E === N) + } else pe = !0 + } + } + } + } + } + return (t.errors = L), 0 === N + } + function e( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + const ae = q + let le = !1 + const pe = q + if (q === pe) + if (k && 'object' == typeof k && !Array.isArray(k)) { + let P + if (void 0 === k.manifest && (P = 'manifest')) { + const k = { params: { missingProperty: P } } + null === N ? (N = [k]) : N.push(k), q++ + } else { + const P = q + for (const v in k) + if ( + 'context' !== v && + 'extensions' !== v && + 'manifest' !== v && + 'name' !== v && + 'scope' !== v && + 'sourceType' !== v && + 'type' !== v + ) { + const k = { params: { additionalProperty: v } } + null === N ? (N = [k]) : N.push(k), q++ + break + } + if (P === q) { + if (void 0 !== k.context) { + let E = k.context + const P = q + if (q === P) + if ('string' == typeof E) { + if (E.includes('!') || !0 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var me = P === q + } else me = !0 + if (me) { + if (void 0 !== k.extensions) { + let v = k.extensions + const E = q + if (q === E) + if (Array.isArray(v)) { + const k = v.length + for (let E = 0; E < k; E++) { + const k = q + if ('string' != typeof v[E]) { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (k !== q) break + } + } else { + const k = { params: { type: 'array' } } + null === N ? (N = [k]) : N.push(k), q++ + } + me = E === q + } else me = !0 + if (me) { + if (void 0 !== k.manifest) { + let P = k.manifest + const R = q, + ae = q + let le = !1 + const pe = q + if (q === pe) + if ('string' == typeof P) { + if (P.includes('!') || !0 !== v.test(P)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var ye = pe === q + if (((le = le || ye), !le)) { + const v = q + t(P, { + instancePath: E + '/manifest', + parentData: k, + parentDataProperty: 'manifest', + rootData: L, + }) || + ((N = null === N ? t.errors : N.concat(t.errors)), + (q = N.length)), + (ye = v === q), + (le = le || ye) + } + if (le) + (q = ae), + null !== N && (ae ? (N.length = ae) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + me = R === q + } else me = !0 + if (me) { + if (void 0 !== k.name) { + let v = k.name + const E = q + if (q === E) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + me = E === q + } else me = !0 + if (me) { + if (void 0 !== k.scope) { + let v = k.scope + const E = q + if (q === E) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + me = E === q + } else me = !0 + if (me) { + if (void 0 !== k.sourceType) { + let v = k.sourceType + const E = q, + P = q + let R = !1, + L = null + const ae = q + if ( + 'var' !== v && + 'assign' !== v && + 'this' !== v && + 'window' !== v && + 'global' !== v && + 'commonjs' !== v && + 'commonjs2' !== v && + 'commonjs-module' !== v && + 'amd' !== v && + 'amd-require' !== v && + 'umd' !== v && + 'umd2' !== v && + 'jsonp' !== v && + 'system' !== v + ) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + if ((ae === q && ((R = !0), (L = 0)), R)) + (q = P), + null !== N && (P ? (N.length = P) : (N = null)) + else { + const k = { params: { passingSchemas: L } } + null === N ? (N = [k]) : N.push(k), q++ + } + me = E === q + } else me = !0 + if (me) + if (void 0 !== k.type) { + let v = k.type + const E = q + if ('require' !== v && 'object' !== v) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + me = E === q + } else me = !0 + } + } + } + } + } + } + } + } else { + const k = { params: { type: 'object' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var _e = pe === q + if (((le = le || _e), !le)) { + const E = q + if (q === E) + if (k && 'object' == typeof k && !Array.isArray(k)) { + let E + if ( + (void 0 === k.content && (E = 'content')) || + (void 0 === k.name && (E = 'name')) + ) { + const k = { params: { missingProperty: E } } + null === N ? (N = [k]) : N.push(k), q++ + } else { + const E = q + for (const v in k) + if ( + 'content' !== v && + 'context' !== v && + 'extensions' !== v && + 'name' !== v && + 'scope' !== v && + 'sourceType' !== v && + 'type' !== v + ) { + const k = { params: { additionalProperty: v } } + null === N ? (N = [k]) : N.push(k), q++ + break + } + if (E === q) { + if (void 0 !== k.content) { + let v = k.content + const E = q, + P = q + let R = !1, + L = null + const ae = q + if (q == q) + if (v && 'object' == typeof v && !Array.isArray(v)) + if (Object.keys(v).length < 1) { + const k = { params: { limit: 1 } } + null === N ? (N = [k]) : N.push(k), q++ + } else + for (const k in v) { + let E = v[k] + const P = q + if (q === P) + if ( + E && + 'object' == typeof E && + !Array.isArray(E) + ) { + let k + if (void 0 === E.id && (k = 'id')) { + const v = { params: { missingProperty: k } } + null === N ? (N = [v]) : N.push(v), q++ + } else { + const k = q + for (const k in E) + if ( + 'buildMeta' !== k && + 'exports' !== k && + 'id' !== k + ) { + const v = { + params: { additionalProperty: k }, + } + null === N ? (N = [v]) : N.push(v), q++ + break + } + if (k === q) { + if (void 0 !== E.buildMeta) { + let k = E.buildMeta + const v = q + if ( + !k || + 'object' != typeof k || + Array.isArray(k) + ) { + const k = { params: { type: 'object' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var Ie = v === q + } else Ie = !0 + if (Ie) { + if (void 0 !== E.exports) { + let k = E.exports + const v = q, + P = q + let R = !1 + const L = q + if (q === L) + if (Array.isArray(k)) { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = q + if (q === P) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + } else { + const k = { + params: { type: 'string' }, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + if (P !== q) break + } + } else { + const k = { + params: { type: 'array' }, + } + null === N ? (N = [k]) : N.push(k), + q++ + } + var Me = L === q + if (((R = R || Me), !R)) { + const v = q + if (!0 !== k) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), + q++ + } + ;(Me = v === q), (R = R || Me) + } + if (R) + (q = P), + null !== N && + (P ? (N.length = P) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), + q++ + } + Ie = v === q + } else Ie = !0 + if (Ie) + if (void 0 !== E.id) { + let k = E.id + const v = q, + P = q + let R = !1 + const L = q + if ('number' != typeof k) { + const k = { + params: { type: 'number' }, + } + null === N ? (N = [k]) : N.push(k), + q++ + } + var Te = L === q + if (((R = R || Te), !R)) { + const v = q + if (q === v) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + } else { + const k = { + params: { type: 'string' }, + } + null === N + ? (N = [k]) + : N.push(k), + q++ + } + ;(Te = v === q), (R = R || Te) + } + if (R) + (q = P), + null !== N && + (P + ? (N.length = P) + : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), + q++ + } + Ie = v === q + } else Ie = !0 + } + } + } + } else { + const k = { params: { type: 'object' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (P !== q) break + } + else { + const k = { params: { type: 'object' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if ((ae === q && ((R = !0), (L = 0)), R)) + (q = P), null !== N && (P ? (N.length = P) : (N = null)) + else { + const k = { params: { passingSchemas: L } } + null === N ? (N = [k]) : N.push(k), q++ + } + var je = E === q + } else je = !0 + if (je) { + if (void 0 !== k.context) { + let E = k.context + const P = q + if (q === P) + if ('string' == typeof E) { + if (E.includes('!') || !0 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + je = P === q + } else je = !0 + if (je) { + if (void 0 !== k.extensions) { + let v = k.extensions + const E = q + if (q === E) + if (Array.isArray(v)) { + const k = v.length + for (let E = 0; E < k; E++) { + const k = q + if ('string' != typeof v[E]) { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + if (k !== q) break + } + } else { + const k = { params: { type: 'array' } } + null === N ? (N = [k]) : N.push(k), q++ + } + je = E === q + } else je = !0 + if (je) { + if (void 0 !== k.name) { + let v = k.name + const E = q + if (q === E) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + je = E === q + } else je = !0 + if (je) { + if (void 0 !== k.scope) { + let v = k.scope + const E = q + if (q === E) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + je = E === q + } else je = !0 + if (je) { + if (void 0 !== k.sourceType) { + let v = k.sourceType + const E = q, + P = q + let R = !1, + L = null + const ae = q + if ( + 'var' !== v && + 'assign' !== v && + 'this' !== v && + 'window' !== v && + 'global' !== v && + 'commonjs' !== v && + 'commonjs2' !== v && + 'commonjs-module' !== v && + 'amd' !== v && + 'amd-require' !== v && + 'umd' !== v && + 'umd2' !== v && + 'jsonp' !== v && + 'system' !== v + ) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + if ((ae === q && ((R = !0), (L = 0)), R)) + (q = P), + null !== N && + (P ? (N.length = P) : (N = null)) + else { + const k = { params: { passingSchemas: L } } + null === N ? (N = [k]) : N.push(k), q++ + } + je = E === q + } else je = !0 + if (je) + if (void 0 !== k.type) { + let v = k.type + const E = q + if ('require' !== v && 'object' !== v) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + je = E === q + } else je = !0 + } + } + } + } + } + } + } + } else { + const k = { params: { type: 'object' } } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(_e = E === q), (le = le || _e) + } + if (!le) { + const k = { params: {} } + return null === N ? (N = [k]) : N.push(k), q++, (e.errors = N), !1 + } + return ( + (q = ae), + null !== N && (ae ? (N.length = ae) : (N = null)), + (e.errors = N), + 0 === q + ) + } + ;(k.exports = e), (k.exports['default'] = e) + }, + 9543: function (k) { + const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ + function e( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + if (0 === q) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (e.errors = [{ params: { type: 'object' } }]), !1 + { + const E = q + for (const v in k) + if ( + 'context' !== v && + 'hashDigest' !== v && + 'hashDigestLength' !== v && + 'hashFunction' !== v + ) + return (e.errors = [{ params: { additionalProperty: v } }]), !1 + if (E === q) { + if (void 0 !== k.context) { + let E = k.context + const P = q + if (q === P) { + if ('string' != typeof E) + return (e.errors = [{ params: { type: 'string' } }]), !1 + if (E.includes('!') || !0 !== v.test(E)) + return (e.errors = [{ params: {} }]), !1 + } + var ae = P === q + } else ae = !0 + if (ae) { + if (void 0 !== k.hashDigest) { + let v = k.hashDigest + const E = q + if ('hex' !== v && 'latin1' !== v && 'base64' !== v) + return (e.errors = [{ params: {} }]), !1 + ae = E === q + } else ae = !0 + if (ae) { + if (void 0 !== k.hashDigestLength) { + let v = k.hashDigestLength + const E = q + if (q === E) { + if ('number' != typeof v) + return (e.errors = [{ params: { type: 'number' } }]), !1 + if (v < 1 || isNaN(v)) + return ( + (e.errors = [ + { params: { comparison: '>=', limit: 1 } }, + ]), + !1 + ) + } + ae = E === q + } else ae = !0 + if (ae) + if (void 0 !== k.hashFunction) { + let v = k.hashFunction + const E = q, + P = q + let R = !1, + L = null + const pe = q, + me = q + let ye = !1 + const _e = q + if (q === _e) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var le = _e === q + if (((ye = ye || le), !ye)) { + const k = q + if (!(v instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(le = k === q), (ye = ye || le) + } + if (ye) + (q = me), + null !== N && (me ? (N.length = me) : (N = null)) + else { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + if ((pe === q && ((R = !0), (L = 0)), !R)) { + const k = { params: { passingSchemas: L } } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (e.errors = N), + !1 + ) + } + ;(q = P), + null !== N && (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + } + } + } + } + } + return (e.errors = N), 0 === q + } + ;(k.exports = e), (k.exports['default'] = e) + }, + 4552: function (k) { + 'use strict' + function e( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (k && 'object' == typeof k && !Array.isArray(k)) { + let v + if (void 0 === k.resourceRegExp && (v = 'resourceRegExp')) { + const k = { params: { missingProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + } else { + const v = N + for (const v in k) + if ('contextRegExp' !== v && 'resourceRegExp' !== v) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (v === N) { + if (void 0 !== k.contextRegExp) { + const v = N + if (!(k.contextRegExp instanceof RegExp)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = v === N + } else pe = !0 + if (pe) + if (void 0 !== k.resourceRegExp) { + const v = N + if (!(k.resourceRegExp instanceof RegExp)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + pe = v === N + } else pe = !0 + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = le === N + if (((ae = ae || me), !ae)) { + const v = N + if (N === v) + if (k && 'object' == typeof k && !Array.isArray(k)) { + let v + if (void 0 === k.checkResource && (v = 'checkResource')) { + const k = { params: { missingProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + } else { + const v = N + for (const v in k) + if ('checkResource' !== v) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if ( + v === N && + void 0 !== k.checkResource && + !(k.checkResource instanceof Function) + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = v === N), (ae = ae || me) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (e.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (e.errors = L), + 0 === N + ) + } + ;(k.exports = e), (k.exports['default'] = e) + }, + 57583: function (k) { + 'use strict' + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + { + const v = 0 + for (const v in k) + if ('parse' !== v) + return (r.errors = [{ params: { additionalProperty: v } }]), !1 + if (0 === v && void 0 !== k.parse && !(k.parse instanceof Function)) + return (r.errors = [{ params: {} }]), !1 + } + return (r.errors = null), !0 + } + ;(k.exports = r), (k.exports['default'] = r) + }, + 12072: function (k) { + const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ + function e( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (e.errors = [{ params: { type: 'object' } }]), !1 + if (void 0 !== k.debug) { + const v = 0 + if ('boolean' != typeof k.debug) + return (e.errors = [{ params: { type: 'boolean' } }]), !1 + var N = 0 === v + } else N = !0 + if (N) { + if (void 0 !== k.minimize) { + const v = 0 + if ('boolean' != typeof k.minimize) + return (e.errors = [{ params: { type: 'boolean' } }]), !1 + N = 0 === v + } else N = !0 + if (N) + if (void 0 !== k.options) { + let E = k.options + const P = 0 + if (0 === P) { + if (!E || 'object' != typeof E || Array.isArray(E)) + return (e.errors = [{ params: { type: 'object' } }]), !1 + if (void 0 !== E.context) { + let k = E.context + if ('string' != typeof k) + return (e.errors = [{ params: { type: 'string' } }]), !1 + if (k.includes('!') || !0 !== v.test(k)) + return (e.errors = [{ params: {} }]), !1 + } + } + N = 0 === P + } else N = !0 + } + return (e.errors = null), !0 + } + ;(k.exports = e), (k.exports['default'] = e) + }, + 53912: function (k) { + 'use strict' + ;(k.exports = t), (k.exports['default'] = t) + const v = { + type: 'object', + additionalProperties: !1, + properties: { + activeModules: { type: 'boolean' }, + dependencies: { type: 'boolean' }, + dependenciesCount: { type: 'number' }, + entries: { type: 'boolean' }, + handler: { oneOf: [{ $ref: '#/definitions/HandlerFunction' }] }, + modules: { type: 'boolean' }, + modulesCount: { type: 'number' }, + percentBy: { enum: ['entries', 'modules', 'dependencies', null] }, + profile: { enum: [!0, !1, null] }, + }, + }, + E = Object.prototype.hasOwnProperty + function n( + k, + { + instancePath: P = '', + parentData: R, + parentDataProperty: L, + rootData: N = k, + } = {} + ) { + let q = null, + ae = 0 + if (0 === ae) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (n.errors = [{ params: { type: 'object' } }]), !1 + { + const P = ae + for (const P in k) + if (!E.call(v.properties, P)) + return (n.errors = [{ params: { additionalProperty: P } }]), !1 + if (P === ae) { + if (void 0 !== k.activeModules) { + const v = ae + if ('boolean' != typeof k.activeModules) + return (n.errors = [{ params: { type: 'boolean' } }]), !1 + var le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.dependencies) { + const v = ae + if ('boolean' != typeof k.dependencies) + return (n.errors = [{ params: { type: 'boolean' } }]), !1 + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.dependenciesCount) { + const v = ae + if ('number' != typeof k.dependenciesCount) + return (n.errors = [{ params: { type: 'number' } }]), !1 + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.entries) { + const v = ae + if ('boolean' != typeof k.entries) + return ( + (n.errors = [{ params: { type: 'boolean' } }]), !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.handler) { + const v = ae, + E = ae + let P = !1, + R = null + const L = ae + if (!(k.handler instanceof Function)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + if ((L === ae && ((P = !0), (R = 0)), !P)) { + const k = { params: { passingSchemas: R } } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (n.errors = q), + !1 + ) + } + ;(ae = E), + null !== q && (E ? (q.length = E) : (q = null)), + (le = v === ae) + } else le = !0 + if (le) { + if (void 0 !== k.modules) { + const v = ae + if ('boolean' != typeof k.modules) + return ( + (n.errors = [{ params: { type: 'boolean' } }]), !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.modulesCount) { + const v = ae + if ('number' != typeof k.modulesCount) + return ( + (n.errors = [{ params: { type: 'number' } }]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.percentBy) { + let v = k.percentBy + const E = ae + if ( + 'entries' !== v && + 'modules' !== v && + 'dependencies' !== v && + null !== v + ) + return (n.errors = [{ params: {} }]), !1 + le = E === ae + } else le = !0 + if (le) + if (void 0 !== k.profile) { + let v = k.profile + const E = ae + if (!0 !== v && !1 !== v && null !== v) + return (n.errors = [{ params: {} }]), !1 + le = E === ae + } else le = !0 + } + } + } + } + } + } + } + } + } + } + return (n.errors = q), 0 === ae + } + function t( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + n(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || ((L = null === L ? n.errors : L.concat(n.errors)), (N = L.length)) + var pe = le === N + if (((ae = ae || pe), !ae)) { + const v = N + if (!(k instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (t.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (t.errors = L), + 0 === N + ) + } + }, + 49623: function (k) { + const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ + ;(k.exports = l), (k.exports['default'] = l) + const E = { + definitions: { + rule: { + anyOf: [ + { instanceof: 'RegExp' }, + { type: 'string', minLength: 1 }, + ], + }, + rules: { + anyOf: [ + { + type: 'array', + items: { oneOf: [{ $ref: '#/definitions/rule' }] }, + }, + { $ref: '#/definitions/rule' }, + ], + }, + }, + type: 'object', + additionalProperties: !1, + properties: { + append: { + anyOf: [ + { enum: [!1, null] }, + { type: 'string', minLength: 1 }, + { instanceof: 'Function' }, + ], + }, + columns: { type: 'boolean' }, + exclude: { oneOf: [{ $ref: '#/definitions/rules' }] }, + fallbackModuleFilenameTemplate: { + anyOf: [ + { type: 'string', minLength: 1 }, + { instanceof: 'Function' }, + ], + }, + fileContext: { type: 'string' }, + filename: { + anyOf: [ + { enum: [!1, null] }, + { type: 'string', absolutePath: !1, minLength: 1 }, + ], + }, + include: { oneOf: [{ $ref: '#/definitions/rules' }] }, + module: { type: 'boolean' }, + moduleFilenameTemplate: { + anyOf: [ + { type: 'string', minLength: 1 }, + { instanceof: 'Function' }, + ], + }, + namespace: { type: 'string' }, + noSources: { type: 'boolean' }, + publicPath: { type: 'string' }, + sourceRoot: { type: 'string' }, + test: { $ref: '#/definitions/rules' }, + }, + }, + P = Object.prototype.hasOwnProperty + function s( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = N, + R = N + let q = !1, + ae = null + const le = N, + me = N + let ye = !1 + const _e = N + if (!(v instanceof RegExp)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = _e === N + if (((ye = ye || pe), !ye)) { + const k = N + if (N === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = k === N), (ye = ye || pe) + } + if (ye) + (N = me), null !== L && (me ? (L.length = me) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if ((le === N && ((q = !0), (ae = 0)), q)) + (N = R), null !== L && (R ? (L.length = R) : (L = null)) + else { + const k = { params: { passingSchemas: ae } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = le === N + if (((ae = ae || me), !ae)) { + const v = N, + E = N + let P = !1 + const R = N + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var ye = R === N + if (((P = P || ye), !P)) { + const v = N + if (N === v) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ye = v === N), (P = P || ye) + } + if (P) (N = E), null !== L && (E ? (L.length = E) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = v === N), (ae = ae || me) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (s.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (s.errors = L), + 0 === N + ) + } + function l( + k, + { + instancePath: R = '', + parentData: L, + parentDataProperty: N, + rootData: q = k, + } = {} + ) { + let ae = null, + le = 0 + if (0 === le) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (l.errors = [{ params: { type: 'object' } }]), !1 + { + const L = le + for (const v in k) + if (!P.call(E.properties, v)) + return (l.errors = [{ params: { additionalProperty: v } }]), !1 + if (L === le) { + if (void 0 !== k.append) { + let v = k.append + const E = le, + P = le + let R = !1 + const L = le + if (!1 !== v && null !== v) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + var pe = L === le + if (((R = R || pe), !R)) { + const k = le + if (le === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + } else { + const k = { params: { type: 'string' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + if (((pe = k === le), (R = R || pe), !R)) { + const k = le + if (!(v instanceof Function)) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + ;(pe = k === le), (R = R || pe) + } + } + if (!R) { + const k = { params: {} } + return ( + null === ae ? (ae = [k]) : ae.push(k), + le++, + (l.errors = ae), + !1 + ) + } + ;(le = P), null !== ae && (P ? (ae.length = P) : (ae = null)) + var me = E === le + } else me = !0 + if (me) { + if (void 0 !== k.columns) { + const v = le + if ('boolean' != typeof k.columns) + return (l.errors = [{ params: { type: 'boolean' } }]), !1 + me = v === le + } else me = !0 + if (me) { + if (void 0 !== k.exclude) { + const v = le, + E = le + let P = !1, + L = null + const N = le + if ( + (s(k.exclude, { + instancePath: R + '/exclude', + parentData: k, + parentDataProperty: 'exclude', + rootData: q, + }) || + ((ae = null === ae ? s.errors : ae.concat(s.errors)), + (le = ae.length)), + N === le && ((P = !0), (L = 0)), + !P) + ) { + const k = { params: { passingSchemas: L } } + return ( + null === ae ? (ae = [k]) : ae.push(k), + le++, + (l.errors = ae), + !1 + ) + } + ;(le = E), + null !== ae && (E ? (ae.length = E) : (ae = null)), + (me = v === le) + } else me = !0 + if (me) { + if (void 0 !== k.fallbackModuleFilenameTemplate) { + let v = k.fallbackModuleFilenameTemplate + const E = le, + P = le + let R = !1 + const L = le + if (le === L) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + } else { + const k = { params: { type: 'string' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + var ye = L === le + if (((R = R || ye), !R)) { + const k = le + if (!(v instanceof Function)) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + ;(ye = k === le), (R = R || ye) + } + if (!R) { + const k = { params: {} } + return ( + null === ae ? (ae = [k]) : ae.push(k), + le++, + (l.errors = ae), + !1 + ) + } + ;(le = P), + null !== ae && (P ? (ae.length = P) : (ae = null)), + (me = E === le) + } else me = !0 + if (me) { + if (void 0 !== k.fileContext) { + const v = le + if ('string' != typeof k.fileContext) + return ( + (l.errors = [{ params: { type: 'string' } }]), !1 + ) + me = v === le + } else me = !0 + if (me) { + if (void 0 !== k.filename) { + let E = k.filename + const P = le, + R = le + let L = !1 + const N = le + if (!1 !== E && null !== E) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + var _e = N === le + if (((L = L || _e), !L)) { + const k = le + if (le === k) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } else if (E.length < 1) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + } else { + const k = { params: { type: 'string' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + ;(_e = k === le), (L = L || _e) + } + if (!L) { + const k = { params: {} } + return ( + null === ae ? (ae = [k]) : ae.push(k), + le++, + (l.errors = ae), + !1 + ) + } + ;(le = R), + null !== ae && (R ? (ae.length = R) : (ae = null)), + (me = P === le) + } else me = !0 + if (me) { + if (void 0 !== k.include) { + const v = le, + E = le + let P = !1, + L = null + const N = le + if ( + (s(k.include, { + instancePath: R + '/include', + parentData: k, + parentDataProperty: 'include', + rootData: q, + }) || + ((ae = + null === ae ? s.errors : ae.concat(s.errors)), + (le = ae.length)), + N === le && ((P = !0), (L = 0)), + !P) + ) { + const k = { params: { passingSchemas: L } } + return ( + null === ae ? (ae = [k]) : ae.push(k), + le++, + (l.errors = ae), + !1 + ) + } + ;(le = E), + null !== ae && + (E ? (ae.length = E) : (ae = null)), + (me = v === le) + } else me = !0 + if (me) { + if (void 0 !== k.module) { + const v = le + if ('boolean' != typeof k.module) + return ( + (l.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + me = v === le + } else me = !0 + if (me) { + if (void 0 !== k.moduleFilenameTemplate) { + let v = k.moduleFilenameTemplate + const E = le, + P = le + let R = !1 + const L = le + if (le === L) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), + le++ + } + } else { + const k = { params: { type: 'string' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + var Ie = L === le + if (((R = R || Ie), !R)) { + const k = le + if (!(v instanceof Function)) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + ;(Ie = k === le), (R = R || Ie) + } + if (!R) { + const k = { params: {} } + return ( + null === ae ? (ae = [k]) : ae.push(k), + le++, + (l.errors = ae), + !1 + ) + } + ;(le = P), + null !== ae && + (P ? (ae.length = P) : (ae = null)), + (me = E === le) + } else me = !0 + if (me) { + if (void 0 !== k.namespace) { + const v = le + if ('string' != typeof k.namespace) + return ( + (l.errors = [ + { params: { type: 'string' } }, + ]), + !1 + ) + me = v === le + } else me = !0 + if (me) { + if (void 0 !== k.noSources) { + const v = le + if ('boolean' != typeof k.noSources) + return ( + (l.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + me = v === le + } else me = !0 + if (me) { + if (void 0 !== k.publicPath) { + const v = le + if ('string' != typeof k.publicPath) + return ( + (l.errors = [ + { params: { type: 'string' } }, + ]), + !1 + ) + me = v === le + } else me = !0 + if (me) { + if (void 0 !== k.sourceRoot) { + const v = le + if ('string' != typeof k.sourceRoot) + return ( + (l.errors = [ + { params: { type: 'string' } }, + ]), + !1 + ) + me = v === le + } else me = !0 + if (me) + if (void 0 !== k.test) { + const v = le + s(k.test, { + instancePath: R + '/test', + parentData: k, + parentDataProperty: 'test', + rootData: q, + }) || + ((ae = + null === ae + ? s.errors + : ae.concat(s.errors)), + (le = ae.length)), + (me = v === le) + } else me = !0 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return (l.errors = ae), 0 === le + } + }, + 24318: function (k) { + 'use strict' + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + { + let v + if (void 0 === k.paths && (v = 'paths')) + return (r.errors = [{ params: { missingProperty: v } }]), !1 + { + const v = N + for (const v in k) + if ('paths' !== v) + return ( + (r.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (v === N && void 0 !== k.paths) { + let v = k.paths + if (N == N) { + if (!Array.isArray(v)) + return (r.errors = [{ params: { type: 'array' } }]), !1 + if (v.length < 1) + return (r.errors = [{ params: { limit: 1 } }]), !1 + { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = N, + R = N + let ae = !1 + const le = N + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = le === N + if (((ae = ae || q), !ae)) { + const v = N + if ('string' != typeof k) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(q = v === N), (ae = ae || q) + } + if (!ae) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (r.errors = L), + !1 + ) + } + if ( + ((N = R), + null !== L && (R ? (L.length = R) : (L = null)), + P !== N) + ) + break + } + } + } + } + } + } + } + return (r.errors = L), 0 === N + } + ;(k.exports = r), (k.exports['default'] = r) + }, + 38070: function (k) { + const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ + function n( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N == N) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const v = N + for (const v in k) + if ('encoding' !== v && 'mimetype' !== v) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (v === N) { + if (void 0 !== k.encoding) { + let v = k.encoding + const E = N + if (!1 !== v && 'base64' !== v) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = E === N + } else pe = !0 + if (pe) + if (void 0 !== k.mimetype) { + const v = N + if ('string' != typeof k.mimetype) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + pe = v === N + } else pe = !0 + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = le === N + if (((ae = ae || me), !ae)) { + const v = N + if (!(k instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = v === N), (ae = ae || me) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (n.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (n.errors = L), + 0 === N + ) + } + function r( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + if (0 === q) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + { + const P = q + for (const v in k) + if ( + 'dataUrl' !== v && + 'emit' !== v && + 'filename' !== v && + 'outputPath' !== v && + 'publicPath' !== v + ) + return (r.errors = [{ params: { additionalProperty: v } }]), !1 + if (P === q) { + if (void 0 !== k.dataUrl) { + const v = q + n(k.dataUrl, { + instancePath: E + '/dataUrl', + parentData: k, + parentDataProperty: 'dataUrl', + rootData: L, + }) || + ((N = null === N ? n.errors : N.concat(n.errors)), + (q = N.length)) + var ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.emit) { + const v = q + if ('boolean' != typeof k.emit) + return (r.errors = [{ params: { type: 'boolean' } }]), !1 + ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.filename) { + let E = k.filename + const P = q, + R = q + let L = !1 + const pe = q + if (q === pe) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } else if (E.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var le = pe === q + if (((L = L || le), !L)) { + const k = q + if (!(E instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(le = k === q), (L = L || le) + } + if (!L) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (r.errors = N), + !1 + ) + } + ;(q = R), + null !== N && (R ? (N.length = R) : (N = null)), + (ae = P === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.outputPath) { + let E = k.outputPath + const P = q, + R = q + let L = !1 + const le = q + if (q === le) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var pe = le === q + if (((L = L || pe), !L)) { + const k = q + if (!(E instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(pe = k === q), (L = L || pe) + } + if (!L) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (r.errors = N), + !1 + ) + } + ;(q = R), + null !== N && (R ? (N.length = R) : (N = null)), + (ae = P === q) + } else ae = !0 + if (ae) + if (void 0 !== k.publicPath) { + let v = k.publicPath + const E = q, + P = q + let R = !1 + const L = q + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var me = L === q + if (((R = R || me), !R)) { + const k = q + if (!(v instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(me = k === q), (R = R || me) + } + if (!R) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (r.errors = N), + !1 + ) + } + ;(q = P), + null !== N && (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + } + } + } + } + } + } + return (r.errors = N), 0 === q + } + function e( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + return ( + r(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? r.errors : L.concat(r.errors)), (N = L.length)), + (e.errors = L), + 0 === N + ) + } + ;(k.exports = e), (k.exports['default'] = e) + }, + 62853: function (k) { + 'use strict' + function t( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N == N) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const v = N + for (const v in k) + if ('encoding' !== v && 'mimetype' !== v) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (v === N) { + if (void 0 !== k.encoding) { + let v = k.encoding + const E = N + if (!1 !== v && 'base64' !== v) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = E === N + } else pe = !0 + if (pe) + if (void 0 !== k.mimetype) { + const v = N + if ('string' != typeof k.mimetype) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + pe = v === N + } else pe = !0 + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = le === N + if (((ae = ae || me), !ae)) { + const v = N + if (!(k instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(me = v === N), (ae = ae || me) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (t.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (t.errors = L), + 0 === N + ) + } + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + { + const E = N + for (const v in k) + if ('dataUrl' !== v) + return (r.errors = [{ params: { additionalProperty: v } }]), !1 + E === N && + void 0 !== k.dataUrl && + (t(k.dataUrl, { + instancePath: v + '/dataUrl', + parentData: k, + parentDataProperty: 'dataUrl', + rootData: R, + }) || + ((L = null === L ? t.errors : L.concat(t.errors)), + (N = L.length))) + } + } + return (r.errors = L), 0 === N + } + function a( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + return ( + r(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? r.errors : L.concat(r.errors)), (N = L.length)), + (a.errors = L), + 0 === N + ) + } + ;(k.exports = a), (k.exports['default'] = a) + }, + 60578: function (k) { + 'use strict' + function t( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (t.errors = [{ params: { type: 'object' } }]), !1 + { + const v = N + for (const v in k) + if ('dataUrlCondition' !== v) + return (t.errors = [{ params: { additionalProperty: v } }]), !1 + if (v === N && void 0 !== k.dataUrlCondition) { + let v = k.dataUrlCondition + const E = N + let P = !1 + const R = N + if (N == N) + if (v && 'object' == typeof v && !Array.isArray(v)) { + const k = N + for (const k in v) + if ('maxSize' !== k) { + const v = { params: { additionalProperty: k } } + null === L ? (L = [v]) : L.push(v), N++ + break + } + if ( + k === N && + void 0 !== v.maxSize && + 'number' != typeof v.maxSize + ) { + const k = { params: { type: 'number' } } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = R === N + if (((P = P || q), !P)) { + const k = N + if (!(v instanceof Function)) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(q = k === N), (P = P || q) + } + if (!P) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), N++, (t.errors = L), !1 + ) + } + ;(N = E), null !== L && (E ? (L.length = E) : (L = null)) + } + } + } + return (t.errors = L), 0 === N + } + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + return ( + t(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? t.errors : L.concat(t.errors)), (N = L.length)), + (r.errors = L), + 0 === N + ) + } + ;(k.exports = r), (k.exports['default'] = r) + }, + 77964: function (k) { + const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ + function n( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + if (0 === q) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (n.errors = [{ params: { type: 'object' } }]), !1 + { + const E = q + for (const v in k) + if ( + 'emit' !== v && + 'filename' !== v && + 'outputPath' !== v && + 'publicPath' !== v + ) + return (n.errors = [{ params: { additionalProperty: v } }]), !1 + if (E === q) { + if (void 0 !== k.emit) { + const v = q + if ('boolean' != typeof k.emit) + return (n.errors = [{ params: { type: 'boolean' } }]), !1 + var ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.filename) { + let E = k.filename + const P = q, + R = q + let L = !1 + const pe = q + if (q === pe) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } else if (E.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var le = pe === q + if (((L = L || le), !L)) { + const k = q + if (!(E instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(le = k === q), (L = L || le) + } + if (!L) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (n.errors = N), + !1 + ) + } + ;(q = R), + null !== N && (R ? (N.length = R) : (N = null)), + (ae = P === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.outputPath) { + let E = k.outputPath + const P = q, + R = q + let L = !1 + const le = q + if (q === le) + if ('string' == typeof E) { + if (E.includes('!') || !1 !== v.test(E)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var pe = le === q + if (((L = L || pe), !L)) { + const k = q + if (!(E instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(pe = k === q), (L = L || pe) + } + if (!L) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (n.errors = N), + !1 + ) + } + ;(q = R), + null !== N && (R ? (N.length = R) : (N = null)), + (ae = P === q) + } else ae = !0 + if (ae) + if (void 0 !== k.publicPath) { + let v = k.publicPath + const E = q, + P = q + let R = !1 + const L = q + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + var me = L === q + if (((R = R || me), !R)) { + const k = q + if (!(v instanceof Function)) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(me = k === q), (R = R || me) + } + if (!R) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (n.errors = N), + !1 + ) + } + ;(q = P), + null !== N && (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + } + } + } + } + } + return (n.errors = N), 0 === q + } + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + return ( + n(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? n.errors : L.concat(n.errors)), (N = L.length)), + (r.errors = L), + 0 === N + ) + } + ;(k.exports = r), (k.exports['default'] = r) + }, + 50807: function (k) { + const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ + function t( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + if (!Array.isArray(k)) + return (t.errors = [{ params: { type: 'array' } }]), !1 + { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = 0 + if ('string' != typeof v) + return (t.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (t.errors = [{ params: {} }]), !1 + if (0 !== P) break + } + } + return (t.errors = null), !0 + } + function e( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (e.errors = [{ params: { type: 'object' } }]), !1 + { + let E + if (void 0 === k.import && (E = 'import')) + return (e.errors = [{ params: { missingProperty: E } }]), !1 + { + const E = N + for (const v in k) + if ('import' !== v && 'name' !== v) + return ( + (e.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (E === N) { + if (void 0 !== k.import) { + let E = k.import + const P = N, + le = N + let pe = !1 + const me = N + if (N == N) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = me === N + if (((pe = pe || q), !pe)) { + const P = N + t(E, { + instancePath: v + '/import', + parentData: k, + parentDataProperty: 'import', + rootData: R, + }) || + ((L = null === L ? t.errors : L.concat(t.errors)), + (N = L.length)), + (q = P === N), + (pe = pe || q) + } + if (!pe) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (e.errors = L), + !1 + ) + } + ;(N = le), null !== L && (le ? (L.length = le) : (L = null)) + var ae = P === N + } else ae = !0 + if (ae) + if (void 0 !== k.name) { + const v = N + if ('string' != typeof k.name) + return (e.errors = [{ params: { type: 'string' } }]), !1 + ae = v === N + } else ae = !0 + } + } + } + } + return (e.errors = L), 0 === N + } + function n( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (n.errors = [{ params: { type: 'object' } }]), !1 + for (const E in k) { + let P = k[E] + const ae = N, + le = N + let pe = !1 + const me = N + e(P, { + instancePath: + v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: k, + parentDataProperty: E, + rootData: R, + }) || + ((L = null === L ? e.errors : L.concat(e.errors)), (N = L.length)) + var q = me === N + if (((pe = pe || q), !pe)) { + const ae = N + if (N == N) + if ('string' == typeof P) { + if (P.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((q = ae === N), (pe = pe || q), !pe)) { + const ae = N + t(P, { + instancePath: + v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: k, + parentDataProperty: E, + rootData: R, + }) || + ((L = null === L ? t.errors : L.concat(t.errors)), + (N = L.length)), + (q = ae === N), + (pe = pe || q) + } + } + if (!pe) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (n.errors = L), !1 + } + if ( + ((N = le), + null !== L && (le ? (L.length = le) : (L = null)), + ae !== N) + ) + break + } + } + return (n.errors = L), 0 === N + } + function s( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) { + const E = k.length + for (let P = 0; P < E; P++) { + let E = k[P] + const q = N, + ae = N + let le = !1 + const me = N + if (N == N) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = me === N + if (((le = le || pe), !le)) { + const q = N + n(E, { + instancePath: v + '/' + P, + parentData: k, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? n.errors : L.concat(n.errors)), + (N = L.length)), + (pe = q === N), + (le = le || pe) + } + if (le) + (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if (q !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = le === N + if (((ae = ae || me), !ae)) { + const q = N + n(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? n.errors : L.concat(n.errors)), (N = L.length)), + (me = q === N), + (ae = ae || me) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (s.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (s.errors = L), + 0 === N + ) + } + function a( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if ('string' != typeof k) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const v = N + if (N == N) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const v = N + for (const v in k) + if ( + 'amd' !== v && + 'commonjs' !== v && + 'commonjs2' !== v && + 'root' !== v + ) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (v === N) { + if (void 0 !== k.amd) { + const v = N + if ('string' != typeof k.amd) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = v === N + } else me = !0 + if (me) { + if (void 0 !== k.commonjs) { + const v = N + if ('string' != typeof k.commonjs) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = v === N + } else me = !0 + if (me) { + if (void 0 !== k.commonjs2) { + const v = N + if ('string' != typeof k.commonjs2) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = v === N + } else me = !0 + if (me) + if (void 0 !== k.root) { + const v = N + if ('string' != typeof k.root) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = v === N + } else me = !0 + } + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (a.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (a.errors = L), + 0 === N + ) + } + function o( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) + if (k.length < 1) { + const k = { params: { limit: 1 } } + null === L ? (L = [k]) : L.push(k), N++ + } else { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = N + if (N === P) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + } + else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const v = N + if (N === v) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((pe = v === N), (ae = ae || pe), !ae)) { + const v = N + if (N == N) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const v = N + for (const v in k) + if ('amd' !== v && 'commonjs' !== v && 'root' !== v) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (v === N) { + if (void 0 !== k.amd) { + let v = k.amd + const E = N + if (N === E) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = E === N + } else me = !0 + if (me) { + if (void 0 !== k.commonjs) { + let v = k.commonjs + const E = N + if (N === E) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = E === N + } else me = !0 + if (me) + if (void 0 !== k.root) { + let v = k.root + const E = N, + P = N + let R = !1 + const q = N + if (N === q) + if (Array.isArray(v)) { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = N + if (N === P) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var ye = q === N + if (((R = R || ye), !R)) { + const k = N + if (N === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ye = k === N), (R = R || ye) + } + if (R) + (N = P), + null !== L && (P ? (L.length = P) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + me = E === N + } else me = !0 + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (o.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (o.errors = L), + 0 === N + ) + } + function i( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (i.errors = [{ params: { type: 'object' } }]), !1 + { + let E + if (void 0 === k.type && (E = 'type')) + return (i.errors = [{ params: { missingProperty: E } }]), !1 + { + const E = N + for (const v in k) + if ( + 'amdContainer' !== v && + 'auxiliaryComment' !== v && + 'export' !== v && + 'name' !== v && + 'type' !== v && + 'umdNamedDefine' !== v + ) + return ( + (i.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (E === N) { + if (void 0 !== k.amdContainer) { + let v = k.amdContainer + const E = N + if (N == N) { + if ('string' != typeof v) + return (i.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (i.errors = [{ params: {} }]), !1 + } + var q = E === N + } else q = !0 + if (q) { + if (void 0 !== k.auxiliaryComment) { + const E = N + a(k.auxiliaryComment, { + instancePath: v + '/auxiliaryComment', + parentData: k, + parentDataProperty: 'auxiliaryComment', + rootData: R, + }) || + ((L = null === L ? a.errors : L.concat(a.errors)), + (N = L.length)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k.export) { + let v = k.export + const E = N, + P = N + let R = !1 + const le = N + if (N === le) + if (Array.isArray(v)) { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = N + if (N === P) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var ae = le === N + if (((R = R || ae), !R)) { + const k = N + if (N === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ae = k === N), (R = R || ae) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (i.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k.name) { + const E = N + o(k.name, { + instancePath: v + '/name', + parentData: k, + parentDataProperty: 'name', + rootData: R, + }) || + ((L = null === L ? o.errors : L.concat(o.errors)), + (N = L.length)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k.type) { + let v = k.type + const E = N, + P = N + let R = !1 + const ae = N + if ( + 'var' !== v && + 'module' !== v && + 'assign' !== v && + 'assign-properties' !== v && + 'this' !== v && + 'window' !== v && + 'self' !== v && + 'global' !== v && + 'commonjs' !== v && + 'commonjs2' !== v && + 'commonjs-module' !== v && + 'commonjs-static' !== v && + 'amd' !== v && + 'amd-require' !== v && + 'umd' !== v && + 'umd2' !== v && + 'jsonp' !== v && + 'system' !== v + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var le = ae === N + if (((R = R || le), !R)) { + const k = N + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(le = k === N), (R = R || le) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (i.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (q = E === N) + } else q = !0 + if (q) + if (void 0 !== k.umdNamedDefine) { + const v = N + if ('boolean' != typeof k.umdNamedDefine) + return ( + (i.errors = [{ params: { type: 'boolean' } }]), + !1 + ) + q = v === N + } else q = !0 + } + } + } + } + } + } + } + } + return (i.errors = L), 0 === N + } + function l( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + let N = null, + q = 0 + if (0 === q) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (l.errors = [{ params: { type: 'object' } }]), !1 + { + let P + if ( + (void 0 === k.name && (P = 'name')) || + (void 0 === k.exposes && (P = 'exposes')) + ) + return (l.errors = [{ params: { missingProperty: P } }]), !1 + { + const P = q + for (const v in k) + if ( + 'exposes' !== v && + 'filename' !== v && + 'library' !== v && + 'name' !== v && + 'runtime' !== v && + 'shareScope' !== v + ) + return ( + (l.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (P === q) { + if (void 0 !== k.exposes) { + const v = q + s(k.exposes, { + instancePath: E + '/exposes', + parentData: k, + parentDataProperty: 'exposes', + rootData: L, + }) || + ((N = null === N ? s.errors : N.concat(s.errors)), + (q = N.length)) + var ae = v === q + } else ae = !0 + if (ae) { + if (void 0 !== k.filename) { + let E = k.filename + const P = q + if (q === P) { + if ('string' != typeof E) + return (l.errors = [{ params: { type: 'string' } }]), !1 + if (E.includes('!') || !1 !== v.test(E)) + return (l.errors = [{ params: {} }]), !1 + if (E.length < 1) return (l.errors = [{ params: {} }]), !1 + } + ae = P === q + } else ae = !0 + if (ae) { + if (void 0 !== k.library) { + const v = q + i(k.library, { + instancePath: E + '/library', + parentData: k, + parentDataProperty: 'library', + rootData: L, + }) || + ((N = null === N ? i.errors : N.concat(i.errors)), + (q = N.length)), + (ae = v === q) + } else ae = !0 + if (ae) { + if (void 0 !== k.name) { + let v = k.name + const E = q + if (q === E) { + if ('string' != typeof v) + return ( + (l.errors = [{ params: { type: 'string' } }]), !1 + ) + if (v.length < 1) + return (l.errors = [{ params: {} }]), !1 + } + ae = E === q + } else ae = !0 + if (ae) { + if (void 0 !== k.runtime) { + let v = k.runtime + const E = q, + P = q + let R = !1 + const L = q + if (!1 !== v) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + var le = L === q + if (((R = R || le), !R)) { + const k = q + if (q === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === N ? (N = [k]) : N.push(k), q++ + } + } else { + const k = { params: { type: 'string' } } + null === N ? (N = [k]) : N.push(k), q++ + } + ;(le = k === q), (R = R || le) + } + if (!R) { + const k = { params: {} } + return ( + null === N ? (N = [k]) : N.push(k), + q++, + (l.errors = N), + !1 + ) + } + ;(q = P), + null !== N && (P ? (N.length = P) : (N = null)), + (ae = E === q) + } else ae = !0 + if (ae) + if (void 0 !== k.shareScope) { + let v = k.shareScope + const E = q + if (q === E) { + if ('string' != typeof v) + return ( + (l.errors = [{ params: { type: 'string' } }]), + !1 + ) + if (v.length < 1) + return (l.errors = [{ params: {} }]), !1 + } + ae = E === q + } else ae = !0 + } + } + } + } + } + } + } + } + return (l.errors = N), 0 === q + } + ;(k.exports = l), (k.exports['default'] = l) + }, + 19152: function (k) { + 'use strict' + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + if (!Array.isArray(k)) + return (r.errors = [{ params: { type: 'array' } }]), !1 + { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = 0 + if ('string' != typeof v) + return (r.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (r.errors = [{ params: {} }]), !1 + if (0 !== P) break + } + } + return (r.errors = null), !0 + } + function t( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (t.errors = [{ params: { type: 'object' } }]), !1 + { + let E + if (void 0 === k.external && (E = 'external')) + return (t.errors = [{ params: { missingProperty: E } }]), !1 + { + const E = N + for (const v in k) + if ('external' !== v && 'shareScope' !== v) + return ( + (t.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (E === N) { + if (void 0 !== k.external) { + let E = k.external + const P = N, + le = N + let pe = !1 + const me = N + if (N == N) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = me === N + if (((pe = pe || q), !pe)) { + const P = N + r(E, { + instancePath: v + '/external', + parentData: k, + parentDataProperty: 'external', + rootData: R, + }) || + ((L = null === L ? r.errors : L.concat(r.errors)), + (N = L.length)), + (q = P === N), + (pe = pe || q) + } + if (!pe) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (t.errors = L), + !1 + ) + } + ;(N = le), null !== L && (le ? (L.length = le) : (L = null)) + var ae = P === N + } else ae = !0 + if (ae) + if (void 0 !== k.shareScope) { + let v = k.shareScope + const E = N + if (N === E) { + if ('string' != typeof v) + return (t.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (t.errors = [{ params: {} }]), !1 + } + ae = E === N + } else ae = !0 + } + } + } + } + return (t.errors = L), 0 === N + } + function e( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (e.errors = [{ params: { type: 'object' } }]), !1 + for (const E in k) { + let P = k[E] + const ae = N, + le = N + let pe = !1 + const me = N + t(P, { + instancePath: + v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: k, + parentDataProperty: E, + rootData: R, + }) || + ((L = null === L ? t.errors : L.concat(t.errors)), (N = L.length)) + var q = me === N + if (((pe = pe || q), !pe)) { + const ae = N + if (N == N) + if ('string' == typeof P) { + if (P.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((q = ae === N), (pe = pe || q), !pe)) { + const ae = N + r(P, { + instancePath: + v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: k, + parentDataProperty: E, + rootData: R, + }) || + ((L = null === L ? r.errors : L.concat(r.errors)), + (N = L.length)), + (q = ae === N), + (pe = pe || q) + } + } + if (!pe) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (e.errors = L), !1 + } + if ( + ((N = le), + null !== L && (le ? (L.length = le) : (L = null)), + ae !== N) + ) + break + } + } + return (e.errors = L), 0 === N + } + function a( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) { + const E = k.length + for (let P = 0; P < E; P++) { + let E = k[P] + const q = N, + ae = N + let le = !1 + const me = N + if (N == N) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = me === N + if (((le = le || pe), !le)) { + const q = N + e(E, { + instancePath: v + '/' + P, + parentData: k, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? e.errors : L.concat(e.errors)), + (N = L.length)), + (pe = q === N), + (le = le || pe) + } + if (le) + (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if (q !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = le === N + if (((ae = ae || me), !ae)) { + const q = N + e(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? e.errors : L.concat(e.errors)), (N = L.length)), + (me = q === N), + (ae = ae || me) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (a.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (a.errors = L), + 0 === N + ) + } + function n( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (n.errors = [{ params: { type: 'object' } }]), !1 + { + let E + if ( + (void 0 === k.remoteType && (E = 'remoteType')) || + (void 0 === k.remotes && (E = 'remotes')) + ) + return (n.errors = [{ params: { missingProperty: E } }]), !1 + { + const E = N + for (const v in k) + if ('remoteType' !== v && 'remotes' !== v && 'shareScope' !== v) + return ( + (n.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (E === N) { + if (void 0 !== k.remoteType) { + let v = k.remoteType + const E = N, + P = N + let R = !1, + ae = null + const le = N + if ( + 'var' !== v && + 'module' !== v && + 'assign' !== v && + 'this' !== v && + 'window' !== v && + 'self' !== v && + 'global' !== v && + 'commonjs' !== v && + 'commonjs2' !== v && + 'commonjs-module' !== v && + 'commonjs-static' !== v && + 'amd' !== v && + 'amd-require' !== v && + 'umd' !== v && + 'umd2' !== v && + 'jsonp' !== v && + 'system' !== v && + 'promise' !== v && + 'import' !== v && + 'script' !== v && + 'node-commonjs' !== v + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if ((le === N && ((R = !0), (ae = 0)), !R)) { + const k = { params: { passingSchemas: ae } } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (n.errors = L), + !1 + ) + } + ;(N = P), null !== L && (P ? (L.length = P) : (L = null)) + var q = E === N + } else q = !0 + if (q) { + if (void 0 !== k.remotes) { + const E = N + a(k.remotes, { + instancePath: v + '/remotes', + parentData: k, + parentDataProperty: 'remotes', + rootData: R, + }) || + ((L = null === L ? a.errors : L.concat(a.errors)), + (N = L.length)), + (q = E === N) + } else q = !0 + if (q) + if (void 0 !== k.shareScope) { + let v = k.shareScope + const E = N + if (N === E) { + if ('string' != typeof v) + return ( + (n.errors = [{ params: { type: 'string' } }]), !1 + ) + if (v.length < 1) + return (n.errors = [{ params: {} }]), !1 + } + q = E === N + } else q = !0 + } + } + } + } + } + return (n.errors = L), 0 === N + } + ;(k.exports = n), (k.exports['default'] = n) + }, + 50153: function (k) { + 'use strict' + function o( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + return 'var' !== k && + 'module' !== k && + 'assign' !== k && + 'this' !== k && + 'window' !== k && + 'self' !== k && + 'global' !== k && + 'commonjs' !== k && + 'commonjs2' !== k && + 'commonjs-module' !== k && + 'commonjs-static' !== k && + 'amd' !== k && + 'amd-require' !== k && + 'umd' !== k && + 'umd2' !== k && + 'jsonp' !== k && + 'system' !== k && + 'promise' !== k && + 'import' !== k && + 'script' !== k && + 'node-commonjs' !== k + ? ((o.errors = [{ params: {} }]), !1) + : ((o.errors = null), !0) + } + ;(k.exports = o), (k.exports['default'] = o) + }, + 13038: function (k) { + const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ + ;(k.exports = D), (k.exports['default'] = D) + const E = { + definitions: { + AmdContainer: { type: 'string', minLength: 1 }, + AuxiliaryComment: { + anyOf: [ + { type: 'string' }, + { $ref: '#/definitions/LibraryCustomUmdCommentObject' }, + ], + }, + EntryRuntime: { + anyOf: [{ enum: [!1] }, { type: 'string', minLength: 1 }], + }, + Exposes: { + anyOf: [ + { + type: 'array', + items: { + anyOf: [ + { $ref: '#/definitions/ExposesItem' }, + { $ref: '#/definitions/ExposesObject' }, + ], + }, + }, + { $ref: '#/definitions/ExposesObject' }, + ], + }, + ExposesConfig: { + type: 'object', + additionalProperties: !1, + properties: { + import: { + anyOf: [ + { $ref: '#/definitions/ExposesItem' }, + { $ref: '#/definitions/ExposesItems' }, + ], + }, + name: { type: 'string' }, + }, + required: ['import'], + }, + ExposesItem: { type: 'string', minLength: 1 }, + ExposesItems: { + type: 'array', + items: { $ref: '#/definitions/ExposesItem' }, + }, + ExposesObject: { + type: 'object', + additionalProperties: { + anyOf: [ + { $ref: '#/definitions/ExposesConfig' }, + { $ref: '#/definitions/ExposesItem' }, + { $ref: '#/definitions/ExposesItems' }, + ], + }, + }, + ExternalsType: { + enum: [ + 'var', + 'module', + 'assign', + 'this', + 'window', + 'self', + 'global', + 'commonjs', + 'commonjs2', + 'commonjs-module', + 'commonjs-static', + 'amd', + 'amd-require', + 'umd', + 'umd2', + 'jsonp', + 'system', + 'promise', + 'import', + 'script', + 'node-commonjs', + ], + }, + LibraryCustomUmdCommentObject: { + type: 'object', + additionalProperties: !1, + properties: { + amd: { type: 'string' }, + commonjs: { type: 'string' }, + commonjs2: { type: 'string' }, + root: { type: 'string' }, + }, + }, + LibraryCustomUmdObject: { + type: 'object', + additionalProperties: !1, + properties: { + amd: { type: 'string', minLength: 1 }, + commonjs: { type: 'string', minLength: 1 }, + root: { + anyOf: [ + { type: 'array', items: { type: 'string', minLength: 1 } }, + { type: 'string', minLength: 1 }, + ], + }, + }, + }, + LibraryExport: { + anyOf: [ + { type: 'array', items: { type: 'string', minLength: 1 } }, + { type: 'string', minLength: 1 }, + ], + }, + LibraryName: { + anyOf: [ + { + type: 'array', + items: { type: 'string', minLength: 1 }, + minItems: 1, + }, + { type: 'string', minLength: 1 }, + { $ref: '#/definitions/LibraryCustomUmdObject' }, + ], + }, + LibraryOptions: { + type: 'object', + additionalProperties: !1, + properties: { + amdContainer: { $ref: '#/definitions/AmdContainer' }, + auxiliaryComment: { $ref: '#/definitions/AuxiliaryComment' }, + export: { $ref: '#/definitions/LibraryExport' }, + name: { $ref: '#/definitions/LibraryName' }, + type: { $ref: '#/definitions/LibraryType' }, + umdNamedDefine: { $ref: '#/definitions/UmdNamedDefine' }, + }, + required: ['type'], + }, + LibraryType: { + anyOf: [ + { + enum: [ + 'var', + 'module', + 'assign', + 'assign-properties', + 'this', + 'window', + 'self', + 'global', + 'commonjs', + 'commonjs2', + 'commonjs-module', + 'commonjs-static', + 'amd', + 'amd-require', + 'umd', + 'umd2', + 'jsonp', + 'system', + ], + }, + { type: 'string' }, + ], + }, + Remotes: { + anyOf: [ + { + type: 'array', + items: { + anyOf: [ + { $ref: '#/definitions/RemotesItem' }, + { $ref: '#/definitions/RemotesObject' }, + ], + }, + }, + { $ref: '#/definitions/RemotesObject' }, + ], + }, + RemotesConfig: { + type: 'object', + additionalProperties: !1, + properties: { + external: { + anyOf: [ + { $ref: '#/definitions/RemotesItem' }, + { $ref: '#/definitions/RemotesItems' }, + ], + }, + shareScope: { type: 'string', minLength: 1 }, + }, + required: ['external'], + }, + RemotesItem: { type: 'string', minLength: 1 }, + RemotesItems: { + type: 'array', + items: { $ref: '#/definitions/RemotesItem' }, + }, + RemotesObject: { + type: 'object', + additionalProperties: { + anyOf: [ + { $ref: '#/definitions/RemotesConfig' }, + { $ref: '#/definitions/RemotesItem' }, + { $ref: '#/definitions/RemotesItems' }, + ], + }, + }, + Shared: { + anyOf: [ + { + type: 'array', + items: { + anyOf: [ + { $ref: '#/definitions/SharedItem' }, + { $ref: '#/definitions/SharedObject' }, + ], + }, + }, + { $ref: '#/definitions/SharedObject' }, + ], + }, + SharedConfig: { + type: 'object', + additionalProperties: !1, + properties: { + eager: { type: 'boolean' }, + import: { + anyOf: [{ enum: [!1] }, { $ref: '#/definitions/SharedItem' }], + }, + packageName: { type: 'string', minLength: 1 }, + requiredVersion: { + anyOf: [{ enum: [!1] }, { type: 'string' }], + }, + shareKey: { type: 'string', minLength: 1 }, + shareScope: { type: 'string', minLength: 1 }, + singleton: { type: 'boolean' }, + strictVersion: { type: 'boolean' }, + version: { anyOf: [{ enum: [!1] }, { type: 'string' }] }, + }, + }, + SharedItem: { type: 'string', minLength: 1 }, + SharedObject: { + type: 'object', + additionalProperties: { + anyOf: [ + { $ref: '#/definitions/SharedConfig' }, + { $ref: '#/definitions/SharedItem' }, + ], + }, + }, + UmdNamedDefine: { type: 'boolean' }, + }, + type: 'object', + additionalProperties: !1, + properties: { + exposes: { $ref: '#/definitions/Exposes' }, + filename: { type: 'string', absolutePath: !1 }, + library: { $ref: '#/definitions/LibraryOptions' }, + name: { type: 'string' }, + remoteType: { oneOf: [{ $ref: '#/definitions/ExternalsType' }] }, + remotes: { $ref: '#/definitions/Remotes' }, + runtime: { $ref: '#/definitions/EntryRuntime' }, + shareScope: { type: 'string', minLength: 1 }, + shared: { $ref: '#/definitions/Shared' }, + }, + }, + P = Object.prototype.hasOwnProperty + function n( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + if (!Array.isArray(k)) + return (n.errors = [{ params: { type: 'array' } }]), !1 + { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = 0 + if ('string' != typeof v) + return (n.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (n.errors = [{ params: {} }]), !1 + if (0 !== P) break + } + } + return (n.errors = null), !0 + } + function s( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (s.errors = [{ params: { type: 'object' } }]), !1 + { + let E + if (void 0 === k.import && (E = 'import')) + return (s.errors = [{ params: { missingProperty: E } }]), !1 + { + const E = N + for (const v in k) + if ('import' !== v && 'name' !== v) + return ( + (s.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (E === N) { + if (void 0 !== k.import) { + let E = k.import + const P = N, + le = N + let pe = !1 + const me = N + if (N == N) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = me === N + if (((pe = pe || q), !pe)) { + const P = N + n(E, { + instancePath: v + '/import', + parentData: k, + parentDataProperty: 'import', + rootData: R, + }) || + ((L = null === L ? n.errors : L.concat(n.errors)), + (N = L.length)), + (q = P === N), + (pe = pe || q) + } + if (!pe) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (s.errors = L), + !1 + ) + } + ;(N = le), null !== L && (le ? (L.length = le) : (L = null)) + var ae = P === N + } else ae = !0 + if (ae) + if (void 0 !== k.name) { + const v = N + if ('string' != typeof k.name) + return (s.errors = [{ params: { type: 'string' } }]), !1 + ae = v === N + } else ae = !0 + } + } + } + } + return (s.errors = L), 0 === N + } + function a( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (a.errors = [{ params: { type: 'object' } }]), !1 + for (const E in k) { + let P = k[E] + const ae = N, + le = N + let pe = !1 + const me = N + s(P, { + instancePath: + v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: k, + parentDataProperty: E, + rootData: R, + }) || + ((L = null === L ? s.errors : L.concat(s.errors)), (N = L.length)) + var q = me === N + if (((pe = pe || q), !pe)) { + const ae = N + if (N == N) + if ('string' == typeof P) { + if (P.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((q = ae === N), (pe = pe || q), !pe)) { + const ae = N + n(P, { + instancePath: + v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: k, + parentDataProperty: E, + rootData: R, + }) || + ((L = null === L ? n.errors : L.concat(n.errors)), + (N = L.length)), + (q = ae === N), + (pe = pe || q) + } + } + if (!pe) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (a.errors = L), !1 + } + if ( + ((N = le), + null !== L && (le ? (L.length = le) : (L = null)), + ae !== N) + ) + break + } + } + return (a.errors = L), 0 === N + } + function o( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) { + const E = k.length + for (let P = 0; P < E; P++) { + let E = k[P] + const q = N, + ae = N + let le = !1 + const me = N + if (N == N) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = me === N + if (((le = le || pe), !le)) { + const q = N + a(E, { + instancePath: v + '/' + P, + parentData: k, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? a.errors : L.concat(a.errors)), + (N = L.length)), + (pe = q === N), + (le = le || pe) + } + if (le) + (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if (q !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = le === N + if (((ae = ae || me), !ae)) { + const q = N + a(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? a.errors : L.concat(a.errors)), (N = L.length)), + (me = q === N), + (ae = ae || me) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (o.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (o.errors = L), + 0 === N + ) + } + function i( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if ('string' != typeof k) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const v = N + if (N == N) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const v = N + for (const v in k) + if ( + 'amd' !== v && + 'commonjs' !== v && + 'commonjs2' !== v && + 'root' !== v + ) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (v === N) { + if (void 0 !== k.amd) { + const v = N + if ('string' != typeof k.amd) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = v === N + } else me = !0 + if (me) { + if (void 0 !== k.commonjs) { + const v = N + if ('string' != typeof k.commonjs) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = v === N + } else me = !0 + if (me) { + if (void 0 !== k.commonjs2) { + const v = N + if ('string' != typeof k.commonjs2) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = v === N + } else me = !0 + if (me) + if (void 0 !== k.root) { + const v = N + if ('string' != typeof k.root) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = v === N + } else me = !0 + } + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (i.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (i.errors = L), + 0 === N + ) + } + function l( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) + if (k.length < 1) { + const k = { params: { limit: 1 } } + null === L ? (L = [k]) : L.push(k), N++ + } else { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = N + if (N === P) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + } + else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = le === N + if (((ae = ae || pe), !ae)) { + const v = N + if (N === v) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((pe = v === N), (ae = ae || pe), !ae)) { + const v = N + if (N == N) + if (k && 'object' == typeof k && !Array.isArray(k)) { + const v = N + for (const v in k) + if ('amd' !== v && 'commonjs' !== v && 'root' !== v) { + const k = { params: { additionalProperty: v } } + null === L ? (L = [k]) : L.push(k), N++ + break + } + if (v === N) { + if (void 0 !== k.amd) { + let v = k.amd + const E = N + if (N === E) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = E === N + } else me = !0 + if (me) { + if (void 0 !== k.commonjs) { + let v = k.commonjs + const E = N + if (N === E) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + me = E === N + } else me = !0 + if (me) + if (void 0 !== k.root) { + let v = k.root + const E = N, + P = N + let R = !1 + const q = N + if (N === q) + if (Array.isArray(v)) { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = N + if (N === P) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var ye = q === N + if (((R = R || ye), !R)) { + const k = N + if (N === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ye = k === N), (R = R || ye) + } + if (R) + (N = P), + null !== L && (P ? (L.length = P) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + me = E === N + } else me = !0 + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(pe = v === N), (ae = ae || pe) + } + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (l.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (l.errors = L), + 0 === N + ) + } + function p( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (p.errors = [{ params: { type: 'object' } }]), !1 + { + let E + if (void 0 === k.type && (E = 'type')) + return (p.errors = [{ params: { missingProperty: E } }]), !1 + { + const E = N + for (const v in k) + if ( + 'amdContainer' !== v && + 'auxiliaryComment' !== v && + 'export' !== v && + 'name' !== v && + 'type' !== v && + 'umdNamedDefine' !== v + ) + return ( + (p.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (E === N) { + if (void 0 !== k.amdContainer) { + let v = k.amdContainer + const E = N + if (N == N) { + if ('string' != typeof v) + return (p.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (p.errors = [{ params: {} }]), !1 + } + var q = E === N + } else q = !0 + if (q) { + if (void 0 !== k.auxiliaryComment) { + const E = N + i(k.auxiliaryComment, { + instancePath: v + '/auxiliaryComment', + parentData: k, + parentDataProperty: 'auxiliaryComment', + rootData: R, + }) || + ((L = null === L ? i.errors : L.concat(i.errors)), + (N = L.length)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k.export) { + let v = k.export + const E = N, + P = N + let R = !1 + const le = N + if (N === le) + if (Array.isArray(v)) { + const k = v.length + for (let E = 0; E < k; E++) { + let k = v[E] + const P = N + if (N === P) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (P !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var ae = le === N + if (((R = R || ae), !R)) { + const k = N + if (N === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ae = k === N), (R = R || ae) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (p.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k.name) { + const E = N + l(k.name, { + instancePath: v + '/name', + parentData: k, + parentDataProperty: 'name', + rootData: R, + }) || + ((L = null === L ? l.errors : L.concat(l.errors)), + (N = L.length)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k.type) { + let v = k.type + const E = N, + P = N + let R = !1 + const ae = N + if ( + 'var' !== v && + 'module' !== v && + 'assign' !== v && + 'assign-properties' !== v && + 'this' !== v && + 'window' !== v && + 'self' !== v && + 'global' !== v && + 'commonjs' !== v && + 'commonjs2' !== v && + 'commonjs-module' !== v && + 'commonjs-static' !== v && + 'amd' !== v && + 'amd-require' !== v && + 'umd' !== v && + 'umd2' !== v && + 'jsonp' !== v && + 'system' !== v + ) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var le = ae === N + if (((R = R || le), !R)) { + const k = N + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(le = k === N), (R = R || le) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (p.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (q = E === N) + } else q = !0 + if (q) + if (void 0 !== k.umdNamedDefine) { + const v = N + if ('boolean' != typeof k.umdNamedDefine) + return ( + (p.errors = [{ params: { type: 'boolean' } }]), + !1 + ) + q = v === N + } else q = !0 + } + } + } + } + } + } + } + } + return (p.errors = L), 0 === N + } + function f( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + if (!Array.isArray(k)) + return (f.errors = [{ params: { type: 'array' } }]), !1 + { + const v = k.length + for (let E = 0; E < v; E++) { + let v = k[E] + const P = 0 + if ('string' != typeof v) + return (f.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (f.errors = [{ params: {} }]), !1 + if (0 !== P) break + } + } + return (f.errors = null), !0 + } + function c( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (c.errors = [{ params: { type: 'object' } }]), !1 + { + let E + if (void 0 === k.external && (E = 'external')) + return (c.errors = [{ params: { missingProperty: E } }]), !1 + { + const E = N + for (const v in k) + if ('external' !== v && 'shareScope' !== v) + return ( + (c.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (E === N) { + if (void 0 !== k.external) { + let E = k.external + const P = N, + le = N + let pe = !1 + const me = N + if (N == N) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = me === N + if (((pe = pe || q), !pe)) { + const P = N + f(E, { + instancePath: v + '/external', + parentData: k, + parentDataProperty: 'external', + rootData: R, + }) || + ((L = null === L ? f.errors : L.concat(f.errors)), + (N = L.length)), + (q = P === N), + (pe = pe || q) + } + if (!pe) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (c.errors = L), + !1 + ) + } + ;(N = le), null !== L && (le ? (L.length = le) : (L = null)) + var ae = P === N + } else ae = !0 + if (ae) + if (void 0 !== k.shareScope) { + let v = k.shareScope + const E = N + if (N === E) { + if ('string' != typeof v) + return (c.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (c.errors = [{ params: {} }]), !1 + } + ae = E === N + } else ae = !0 + } + } + } + } + return (c.errors = L), 0 === N + } + function m( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (m.errors = [{ params: { type: 'object' } }]), !1 + for (const E in k) { + let P = k[E] + const ae = N, + le = N + let pe = !1 + const me = N + c(P, { + instancePath: + v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: k, + parentDataProperty: E, + rootData: R, + }) || + ((L = null === L ? c.errors : L.concat(c.errors)), (N = L.length)) + var q = me === N + if (((pe = pe || q), !pe)) { + const ae = N + if (N == N) + if ('string' == typeof P) { + if (P.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + if (((q = ae === N), (pe = pe || q), !pe)) { + const ae = N + f(P, { + instancePath: + v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: k, + parentDataProperty: E, + rootData: R, + }) || + ((L = null === L ? f.errors : L.concat(f.errors)), + (N = L.length)), + (q = ae === N), + (pe = pe || q) + } + } + if (!pe) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (m.errors = L), !1 + } + if ( + ((N = le), + null !== L && (le ? (L.length = le) : (L = null)), + ae !== N) + ) + break + } + } + return (m.errors = L), 0 === N + } + function u( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) { + const E = k.length + for (let P = 0; P < E; P++) { + let E = k[P] + const q = N, + ae = N + let le = !1 + const me = N + if (N == N) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = me === N + if (((le = le || pe), !le)) { + const q = N + m(E, { + instancePath: v + '/' + P, + parentData: k, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? m.errors : L.concat(m.errors)), + (N = L.length)), + (pe = q === N), + (le = le || pe) + } + if (le) + (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if (q !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = le === N + if (((ae = ae || me), !ae)) { + const q = N + m(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? m.errors : L.concat(m.errors)), (N = L.length)), + (me = q === N), + (ae = ae || me) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (u.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (u.errors = L), + 0 === N + ) + } + const R = { + type: 'object', + additionalProperties: !1, + properties: { + eager: { type: 'boolean' }, + import: { + anyOf: [{ enum: [!1] }, { $ref: '#/definitions/SharedItem' }], + }, + packageName: { type: 'string', minLength: 1 }, + requiredVersion: { anyOf: [{ enum: [!1] }, { type: 'string' }] }, + shareKey: { type: 'string', minLength: 1 }, + shareScope: { type: 'string', minLength: 1 }, + singleton: { type: 'boolean' }, + strictVersion: { type: 'boolean' }, + version: { anyOf: [{ enum: [!1] }, { type: 'string' }] }, + }, + } + function h( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: L, + rootData: N = k, + } = {} + ) { + let q = null, + ae = 0 + if (0 === ae) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (h.errors = [{ params: { type: 'object' } }]), !1 + { + const v = ae + for (const v in k) + if (!P.call(R.properties, v)) + return (h.errors = [{ params: { additionalProperty: v } }]), !1 + if (v === ae) { + if (void 0 !== k.eager) { + const v = ae + if ('boolean' != typeof k.eager) + return (h.errors = [{ params: { type: 'boolean' } }]), !1 + var le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.import) { + let v = k.import + const E = ae, + P = ae + let R = !1 + const L = ae + if (!1 !== v) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var pe = L === ae + if (((R = R || pe), !R)) { + const k = ae + if (ae == ae) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(pe = k === ae), (R = R || pe) + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (h.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.packageName) { + let v = k.packageName + const E = ae + if (ae === E) { + if ('string' != typeof v) + return (h.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (h.errors = [{ params: {} }]), !1 + } + le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.requiredVersion) { + let v = k.requiredVersion + const E = ae, + P = ae + let R = !1 + const L = ae + if (!1 !== v) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var me = L === ae + if (((R = R || me), !R)) { + const k = ae + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(me = k === ae), (R = R || me) + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (h.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + if (le) { + if (void 0 !== k.shareKey) { + let v = k.shareKey + const E = ae + if (ae === E) { + if ('string' != typeof v) + return ( + (h.errors = [{ params: { type: 'string' } }]), !1 + ) + if (v.length < 1) + return (h.errors = [{ params: {} }]), !1 + } + le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.shareScope) { + let v = k.shareScope + const E = ae + if (ae === E) { + if ('string' != typeof v) + return ( + (h.errors = [{ params: { type: 'string' } }]), + !1 + ) + if (v.length < 1) + return (h.errors = [{ params: {} }]), !1 + } + le = E === ae + } else le = !0 + if (le) { + if (void 0 !== k.singleton) { + const v = ae + if ('boolean' != typeof k.singleton) + return ( + (h.errors = [{ params: { type: 'boolean' } }]), + !1 + ) + le = v === ae + } else le = !0 + if (le) { + if (void 0 !== k.strictVersion) { + const v = ae + if ('boolean' != typeof k.strictVersion) + return ( + (h.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + le = v === ae + } else le = !0 + if (le) + if (void 0 !== k.version) { + let v = k.version + const E = ae, + P = ae + let R = !1 + const L = ae + if (!1 !== v) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var ye = L === ae + if (((R = R || ye), !R)) { + const k = ae + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(ye = k === ae), (R = R || ye) + } + if (!R) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (h.errors = q), + !1 + ) + } + ;(ae = P), + null !== q && + (P ? (q.length = P) : (q = null)), + (le = E === ae) + } else le = !0 + } + } + } + } + } + } + } + } + } + } + return (h.errors = q), 0 === ae + } + function g( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (g.errors = [{ params: { type: 'object' } }]), !1 + for (const E in k) { + let P = k[E] + const ae = N, + le = N + let pe = !1 + const me = N + h(P, { + instancePath: + v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: k, + parentDataProperty: E, + rootData: R, + }) || + ((L = null === L ? h.errors : L.concat(h.errors)), (N = L.length)) + var q = me === N + if (((pe = pe || q), !pe)) { + const k = N + if (N == N) + if ('string' == typeof P) { + if (P.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(q = k === N), (pe = pe || q) + } + if (!pe) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (g.errors = L), !1 + } + if ( + ((N = le), + null !== L && (le ? (L.length = le) : (L = null)), + ae !== N) + ) + break + } + } + return (g.errors = L), 0 === N + } + function d( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) { + const E = k.length + for (let P = 0; P < E; P++) { + let E = k[P] + const q = N, + ae = N + let le = !1 + const me = N + if (N == N) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = me === N + if (((le = le || pe), !le)) { + const q = N + g(E, { + instancePath: v + '/' + P, + parentData: k, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? g.errors : L.concat(g.errors)), + (N = L.length)), + (pe = q === N), + (le = le || pe) + } + if (le) + (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if (q !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = le === N + if (((ae = ae || me), !ae)) { + const q = N + g(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? g.errors : L.concat(g.errors)), (N = L.length)), + (me = q === N), + (ae = ae || me) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (d.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (d.errors = L), + 0 === N + ) + } + function D( + k, + { + instancePath: R = '', + parentData: L, + parentDataProperty: N, + rootData: q = k, + } = {} + ) { + let ae = null, + le = 0 + if (0 === le) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (D.errors = [{ params: { type: 'object' } }]), !1 + { + const L = le + for (const v in k) + if (!P.call(E.properties, v)) + return (D.errors = [{ params: { additionalProperty: v } }]), !1 + if (L === le) { + if (void 0 !== k.exposes) { + const v = le + o(k.exposes, { + instancePath: R + '/exposes', + parentData: k, + parentDataProperty: 'exposes', + rootData: q, + }) || + ((ae = null === ae ? o.errors : ae.concat(o.errors)), + (le = ae.length)) + var pe = v === le + } else pe = !0 + if (pe) { + if (void 0 !== k.filename) { + let E = k.filename + const P = le + if (le === P) { + if ('string' != typeof E) + return (D.errors = [{ params: { type: 'string' } }]), !1 + if (E.includes('!') || !1 !== v.test(E)) + return (D.errors = [{ params: {} }]), !1 + } + pe = P === le + } else pe = !0 + if (pe) { + if (void 0 !== k.library) { + const v = le + p(k.library, { + instancePath: R + '/library', + parentData: k, + parentDataProperty: 'library', + rootData: q, + }) || + ((ae = null === ae ? p.errors : ae.concat(p.errors)), + (le = ae.length)), + (pe = v === le) + } else pe = !0 + if (pe) { + if (void 0 !== k.name) { + const v = le + if ('string' != typeof k.name) + return (D.errors = [{ params: { type: 'string' } }]), !1 + pe = v === le + } else pe = !0 + if (pe) { + if (void 0 !== k.remoteType) { + let v = k.remoteType + const E = le, + P = le + let R = !1, + L = null + const N = le + if ( + 'var' !== v && + 'module' !== v && + 'assign' !== v && + 'this' !== v && + 'window' !== v && + 'self' !== v && + 'global' !== v && + 'commonjs' !== v && + 'commonjs2' !== v && + 'commonjs-module' !== v && + 'commonjs-static' !== v && + 'amd' !== v && + 'amd-require' !== v && + 'umd' !== v && + 'umd2' !== v && + 'jsonp' !== v && + 'system' !== v && + 'promise' !== v && + 'import' !== v && + 'script' !== v && + 'node-commonjs' !== v + ) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + if ((N === le && ((R = !0), (L = 0)), !R)) { + const k = { params: { passingSchemas: L } } + return ( + null === ae ? (ae = [k]) : ae.push(k), + le++, + (D.errors = ae), + !1 + ) + } + ;(le = P), + null !== ae && (P ? (ae.length = P) : (ae = null)), + (pe = E === le) + } else pe = !0 + if (pe) { + if (void 0 !== k.remotes) { + const v = le + u(k.remotes, { + instancePath: R + '/remotes', + parentData: k, + parentDataProperty: 'remotes', + rootData: q, + }) || + ((ae = + null === ae ? u.errors : ae.concat(u.errors)), + (le = ae.length)), + (pe = v === le) + } else pe = !0 + if (pe) { + if (void 0 !== k.runtime) { + let v = k.runtime + const E = le, + P = le + let R = !1 + const L = le + if (!1 !== v) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + var me = L === le + if (((R = R || me), !R)) { + const k = le + if (le === k) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + } else { + const k = { params: { type: 'string' } } + null === ae ? (ae = [k]) : ae.push(k), le++ + } + ;(me = k === le), (R = R || me) + } + if (!R) { + const k = { params: {} } + return ( + null === ae ? (ae = [k]) : ae.push(k), + le++, + (D.errors = ae), + !1 + ) + } + ;(le = P), + null !== ae && + (P ? (ae.length = P) : (ae = null)), + (pe = E === le) + } else pe = !0 + if (pe) { + if (void 0 !== k.shareScope) { + let v = k.shareScope + const E = le + if (le === E) { + if ('string' != typeof v) + return ( + (D.errors = [ + { params: { type: 'string' } }, + ]), + !1 + ) + if (v.length < 1) + return (D.errors = [{ params: {} }]), !1 + } + pe = E === le + } else pe = !0 + if (pe) + if (void 0 !== k.shared) { + const v = le + d(k.shared, { + instancePath: R + '/shared', + parentData: k, + parentDataProperty: 'shared', + rootData: q, + }) || + ((ae = + null === ae + ? d.errors + : ae.concat(d.errors)), + (le = ae.length)), + (pe = v === le) + } else pe = !0 + } + } + } + } + } + } + } + } + } + } + return (D.errors = ae), 0 === le + } + }, + 87816: function (k) { + 'use strict' + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + for (const v in k) + return (r.errors = [{ params: { additionalProperty: v } }]), !1 + return (r.errors = null), !0 + } + ;(k.exports = r), (k.exports['default'] = r) + }, + 32706: function (k) { + 'use strict' + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + for (const v in k) + return (r.errors = [{ params: { additionalProperty: v } }]), !1 + return (r.errors = null), !0 + } + ;(k.exports = r), (k.exports['default'] = r) + }, + 63114: function (k) { + const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ + function t( + k, + { + instancePath: E = '', + parentData: P, + parentDataProperty: R, + rootData: L = k, + } = {} + ) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (t.errors = [{ params: { type: 'object' } }]), !1 + { + const E = 0 + for (const v in k) + if ('outputPath' !== v) + return (t.errors = [{ params: { additionalProperty: v } }]), !1 + if (0 === E && void 0 !== k.outputPath) { + let E = k.outputPath + if ('string' != typeof E) + return (t.errors = [{ params: { type: 'string' } }]), !1 + if (E.includes('!') || !0 !== v.test(E)) + return (t.errors = [{ params: {} }]), !1 + } + } + return (t.errors = null), !0 + } + ;(k.exports = t), (k.exports['default'] = t) + }, + 59169: function (k) { + 'use strict' + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + { + const v = 0 + for (const v in k) + if ('prioritiseInitial' !== v) + return (r.errors = [{ params: { additionalProperty: v } }]), !1 + if ( + 0 === v && + void 0 !== k.prioritiseInitial && + 'boolean' != typeof k.prioritiseInitial + ) + return (r.errors = [{ params: { type: 'boolean' } }]), !1 + } + return (r.errors = null), !0 + } + ;(k.exports = r), (k.exports['default'] = r) + }, + 98550: function (k) { + 'use strict' + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + { + const v = 0 + for (const v in k) + if ('prioritiseInitial' !== v) + return (r.errors = [{ params: { additionalProperty: v } }]), !1 + if ( + 0 === v && + void 0 !== k.prioritiseInitial && + 'boolean' != typeof k.prioritiseInitial + ) + return (r.errors = [{ params: { type: 'boolean' } }]), !1 + } + return (r.errors = null), !0 + } + ;(k.exports = r), (k.exports['default'] = r) + }, + 70971: function (k) { + 'use strict' + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + { + const v = 0 + for (const v in k) + if ( + 'chunkOverhead' !== v && + 'entryChunkMultiplicator' !== v && + 'maxSize' !== v && + 'minSize' !== v + ) + return (r.errors = [{ params: { additionalProperty: v } }]), !1 + if (0 === v) { + if (void 0 !== k.chunkOverhead) { + const v = 0 + if ('number' != typeof k.chunkOverhead) + return (r.errors = [{ params: { type: 'number' } }]), !1 + var L = 0 === v + } else L = !0 + if (L) { + if (void 0 !== k.entryChunkMultiplicator) { + const v = 0 + if ('number' != typeof k.entryChunkMultiplicator) + return (r.errors = [{ params: { type: 'number' } }]), !1 + L = 0 === v + } else L = !0 + if (L) { + if (void 0 !== k.maxSize) { + const v = 0 + if ('number' != typeof k.maxSize) + return (r.errors = [{ params: { type: 'number' } }]), !1 + L = 0 === v + } else L = !0 + if (L) + if (void 0 !== k.minSize) { + const v = 0 + if ('number' != typeof k.minSize) + return (r.errors = [{ params: { type: 'number' } }]), !1 + L = 0 === v + } else L = !0 + } + } + } + } + return (r.errors = null), !0 + } + ;(k.exports = r), (k.exports['default'] = r) + }, + 39559: function (k) { + 'use strict' + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + { + let v + if (void 0 === k.maxChunks && (v = 'maxChunks')) + return (r.errors = [{ params: { missingProperty: v } }]), !1 + { + const v = 0 + for (const v in k) + if ( + 'chunkOverhead' !== v && + 'entryChunkMultiplicator' !== v && + 'maxChunks' !== v + ) + return (r.errors = [{ params: { additionalProperty: v } }]), !1 + if (0 === v) { + if (void 0 !== k.chunkOverhead) { + const v = 0 + if ('number' != typeof k.chunkOverhead) + return (r.errors = [{ params: { type: 'number' } }]), !1 + var L = 0 === v + } else L = !0 + if (L) { + if (void 0 !== k.entryChunkMultiplicator) { + const v = 0 + if ('number' != typeof k.entryChunkMultiplicator) + return (r.errors = [{ params: { type: 'number' } }]), !1 + L = 0 === v + } else L = !0 + if (L) + if (void 0 !== k.maxChunks) { + let v = k.maxChunks + const E = 0 + if (0 === E) { + if ('number' != typeof v) + return (r.errors = [{ params: { type: 'number' } }]), !1 + if (v < 1 || isNaN(v)) + return ( + (r.errors = [ + { params: { comparison: '>=', limit: 1 } }, + ]), + !1 + ) + } + L = 0 === E + } else L = !0 + } + } + } + } + return (r.errors = null), !0 + } + ;(k.exports = r), (k.exports['default'] = r) + }, + 30666: function (k) { + 'use strict' + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + { + let v + if (void 0 === k.minChunkSize && (v = 'minChunkSize')) + return (r.errors = [{ params: { missingProperty: v } }]), !1 + { + const v = 0 + for (const v in k) + if ( + 'chunkOverhead' !== v && + 'entryChunkMultiplicator' !== v && + 'minChunkSize' !== v + ) + return (r.errors = [{ params: { additionalProperty: v } }]), !1 + if (0 === v) { + if (void 0 !== k.chunkOverhead) { + const v = 0 + if ('number' != typeof k.chunkOverhead) + return (r.errors = [{ params: { type: 'number' } }]), !1 + var L = 0 === v + } else L = !0 + if (L) { + if (void 0 !== k.entryChunkMultiplicator) { + const v = 0 + if ('number' != typeof k.entryChunkMultiplicator) + return (r.errors = [{ params: { type: 'number' } }]), !1 + L = 0 === v + } else L = !0 + if (L) + if (void 0 !== k.minChunkSize) { + const v = 0 + if ('number' != typeof k.minChunkSize) + return (r.errors = [{ params: { type: 'number' } }]), !1 + L = 0 === v + } else L = !0 + } + } + } + } + return (r.errors = null), !0 + } + ;(k.exports = r), (k.exports['default'] = r) + }, + 95892: function (k) { + const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ + ;(k.exports = n), (k.exports['default'] = n) + const E = new RegExp('^https?://', 'u') + function e( + k, + { + instancePath: P = '', + parentData: R, + parentDataProperty: L, + rootData: N = k, + } = {} + ) { + let q = null, + ae = 0 + if (0 === ae) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (e.errors = [{ params: { type: 'object' } }]), !1 + { + let P + if (void 0 === k.allowedUris && (P = 'allowedUris')) + return (e.errors = [{ params: { missingProperty: P } }]), !1 + { + const P = ae + for (const v in k) + if ( + 'allowedUris' !== v && + 'cacheLocation' !== v && + 'frozen' !== v && + 'lockfileLocation' !== v && + 'proxy' !== v && + 'upgrade' !== v + ) + return ( + (e.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (P === ae) { + if (void 0 !== k.allowedUris) { + let v = k.allowedUris + const P = ae + if (ae == ae) { + if (!Array.isArray(v)) + return (e.errors = [{ params: { type: 'array' } }]), !1 + { + const k = v.length + for (let P = 0; P < k; P++) { + let k = v[P] + const R = ae, + L = ae + let N = !1 + const pe = ae + if (!(k instanceof RegExp)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var le = pe === ae + if (((N = N || le), !N)) { + const v = ae + if (ae === v) + if ('string' == typeof k) { + if (!E.test(k)) { + const k = { params: { pattern: '^https?://' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + if (((le = v === ae), (N = N || le), !N)) { + const v = ae + if (!(k instanceof Function)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(le = v === ae), (N = N || le) + } + } + if (!N) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (e.errors = q), + !1 + ) + } + if ( + ((ae = L), + null !== q && (L ? (q.length = L) : (q = null)), + R !== ae) + ) + break + } + } + } + var pe = P === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.cacheLocation) { + let E = k.cacheLocation + const P = ae, + R = ae + let L = !1 + const N = ae + if (!1 !== E) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + var me = N === ae + if (((L = L || me), !L)) { + const k = ae + if (ae === k) + if ('string' == typeof E) { + if (E.includes('!') || !0 !== v.test(E)) { + const k = { params: {} } + null === q ? (q = [k]) : q.push(k), ae++ + } + } else { + const k = { params: { type: 'string' } } + null === q ? (q = [k]) : q.push(k), ae++ + } + ;(me = k === ae), (L = L || me) + } + if (!L) { + const k = { params: {} } + return ( + null === q ? (q = [k]) : q.push(k), + ae++, + (e.errors = q), + !1 + ) + } + ;(ae = R), + null !== q && (R ? (q.length = R) : (q = null)), + (pe = P === ae) + } else pe = !0 + if (pe) { + if (void 0 !== k.frozen) { + const v = ae + if ('boolean' != typeof k.frozen) + return ( + (e.errors = [{ params: { type: 'boolean' } }]), !1 + ) + pe = v === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.lockfileLocation) { + let E = k.lockfileLocation + const P = ae + if (ae === P) { + if ('string' != typeof E) + return ( + (e.errors = [{ params: { type: 'string' } }]), !1 + ) + if (E.includes('!') || !0 !== v.test(E)) + return (e.errors = [{ params: {} }]), !1 + } + pe = P === ae + } else pe = !0 + if (pe) { + if (void 0 !== k.proxy) { + const v = ae + if ('string' != typeof k.proxy) + return ( + (e.errors = [{ params: { type: 'string' } }]), !1 + ) + pe = v === ae + } else pe = !0 + if (pe) + if (void 0 !== k.upgrade) { + const v = ae + if ('boolean' != typeof k.upgrade) + return ( + (e.errors = [{ params: { type: 'boolean' } }]), + !1 + ) + pe = v === ae + } else pe = !0 + } + } + } + } + } + } + } + } + return (e.errors = q), 0 === ae + } + function n( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1, + le = null + const pe = N + if ( + (e(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? e.errors : L.concat(e.errors)), (N = L.length)), + pe === N && ((ae = !0), (le = 0)), + !ae) + ) { + const k = { params: { passingSchemas: le } } + return null === L ? (L = [k]) : L.push(k), N++, (n.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (n.errors = L), + 0 === N + ) + } + }, + 93859: function (k) { + 'use strict' + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + { + const v = N + for (const v in k) + if ( + 'eager' !== v && + 'import' !== v && + 'packageName' !== v && + 'requiredVersion' !== v && + 'shareKey' !== v && + 'shareScope' !== v && + 'singleton' !== v && + 'strictVersion' !== v + ) + return (r.errors = [{ params: { additionalProperty: v } }]), !1 + if (v === N) { + if (void 0 !== k.eager) { + const v = N + if ('boolean' != typeof k.eager) + return (r.errors = [{ params: { type: 'boolean' } }]), !1 + var q = v === N + } else q = !0 + if (q) { + if (void 0 !== k.import) { + let v = k.import + const E = N, + P = N + let R = !1 + const le = N + if (!1 !== v) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var ae = le === N + if (((R = R || ae), !R)) { + const k = N + if (N == N) + if ('string' == typeof v) { + if (v.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ae = k === N), (R = R || ae) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (r.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k.packageName) { + let v = k.packageName + const E = N + if (N === E) { + if ('string' != typeof v) + return (r.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (r.errors = [{ params: {} }]), !1 + } + q = E === N + } else q = !0 + if (q) { + if (void 0 !== k.requiredVersion) { + let v = k.requiredVersion + const E = N, + P = N + let R = !1 + const ae = N + if (!1 !== v) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var le = ae === N + if (((R = R || le), !R)) { + const k = N + if ('string' != typeof v) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(le = k === N), (R = R || le) + } + if (!R) { + const k = { params: {} } + return ( + null === L ? (L = [k]) : L.push(k), + N++, + (r.errors = L), + !1 + ) + } + ;(N = P), + null !== L && (P ? (L.length = P) : (L = null)), + (q = E === N) + } else q = !0 + if (q) { + if (void 0 !== k.shareKey) { + let v = k.shareKey + const E = N + if (N === E) { + if ('string' != typeof v) + return ( + (r.errors = [{ params: { type: 'string' } }]), !1 + ) + if (v.length < 1) + return (r.errors = [{ params: {} }]), !1 + } + q = E === N + } else q = !0 + if (q) { + if (void 0 !== k.shareScope) { + let v = k.shareScope + const E = N + if (N === E) { + if ('string' != typeof v) + return ( + (r.errors = [{ params: { type: 'string' } }]), + !1 + ) + if (v.length < 1) + return (r.errors = [{ params: {} }]), !1 + } + q = E === N + } else q = !0 + if (q) { + if (void 0 !== k.singleton) { + const v = N + if ('boolean' != typeof k.singleton) + return ( + (r.errors = [{ params: { type: 'boolean' } }]), + !1 + ) + q = v === N + } else q = !0 + if (q) + if (void 0 !== k.strictVersion) { + const v = N + if ('boolean' != typeof k.strictVersion) + return ( + (r.errors = [ + { params: { type: 'boolean' } }, + ]), + !1 + ) + q = v === N + } else q = !0 + } + } + } + } + } + } + } + } + } + return (r.errors = L), 0 === N + } + function e( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (e.errors = [{ params: { type: 'object' } }]), !1 + for (const E in k) { + let P = k[E] + const ae = N, + le = N + let pe = !1 + const me = N + r(P, { + instancePath: + v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), + parentData: k, + parentDataProperty: E, + rootData: R, + }) || + ((L = null === L ? r.errors : L.concat(r.errors)), (N = L.length)) + var q = me === N + if (((pe = pe || q), !pe)) { + const k = N + if (N == N) + if ('string' == typeof P) { + if (P.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(q = k === N), (pe = pe || q) + } + if (!pe) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (e.errors = L), !1 + } + if ( + ((N = le), + null !== L && (le ? (L.length = le) : (L = null)), + ae !== N) + ) + break + } + } + return (e.errors = L), 0 === N + } + function t( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) { + const E = k.length + for (let P = 0; P < E; P++) { + let E = k[P] + const q = N, + ae = N + let le = !1 + const me = N + if (N == N) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = me === N + if (((le = le || pe), !le)) { + const q = N + e(E, { + instancePath: v + '/' + P, + parentData: k, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? e.errors : L.concat(e.errors)), + (N = L.length)), + (pe = q === N), + (le = le || pe) + } + if (le) + (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if (q !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = le === N + if (((ae = ae || me), !ae)) { + const q = N + e(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? e.errors : L.concat(e.errors)), (N = L.length)), + (me = q === N), + (ae = ae || me) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (t.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (t.errors = L), + 0 === N + ) + } + function n( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (n.errors = [{ params: { type: 'object' } }]), !1 + { + let E + if (void 0 === k.consumes && (E = 'consumes')) + return (n.errors = [{ params: { missingProperty: E } }]), !1 + { + const E = N + for (const v in k) + if ('consumes' !== v && 'shareScope' !== v) + return ( + (n.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (E === N) { + if (void 0 !== k.consumes) { + const E = N + t(k.consumes, { + instancePath: v + '/consumes', + parentData: k, + parentDataProperty: 'consumes', + rootData: R, + }) || + ((L = null === L ? t.errors : L.concat(t.errors)), + (N = L.length)) + var q = E === N + } else q = !0 + if (q) + if (void 0 !== k.shareScope) { + let v = k.shareScope + const E = N + if (N === E) { + if ('string' != typeof v) + return (n.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (n.errors = [{ params: {} }]), !1 + } + q = E === N + } else q = !0 + } + } + } + } + return (n.errors = L), 0 === N + } + ;(k.exports = n), (k.exports['default'] = n) + }, + 82285: function (k) { + 'use strict' + function r( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (r.errors = [{ params: { type: 'object' } }]), !1 + for (const v in k) { + let E = k[v] + const P = N, + R = N + let pe = !1 + const me = N + if (N == N) + if (E && 'object' == typeof E && !Array.isArray(E)) { + const k = N + for (const k in E) + if ( + 'eager' !== k && + 'shareKey' !== k && + 'shareScope' !== k && + 'version' !== k + ) { + const v = { params: { additionalProperty: k } } + null === L ? (L = [v]) : L.push(v), N++ + break + } + if (k === N) { + if (void 0 !== E.eager) { + const k = N + if ('boolean' != typeof E.eager) { + const k = { params: { type: 'boolean' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var q = k === N + } else q = !0 + if (q) { + if (void 0 !== E.shareKey) { + let k = E.shareKey + const v = N + if (N === v) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + q = v === N + } else q = !0 + if (q) { + if (void 0 !== E.shareScope) { + let k = E.shareScope + const v = N + if (N === v) + if ('string' == typeof k) { + if (k.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + q = v === N + } else q = !0 + if (q) + if (void 0 !== E.version) { + let k = E.version + const v = N, + P = N + let R = !1 + const le = N + if (!1 !== k) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + var ae = le === N + if (((R = R || ae), !R)) { + const v = N + if ('string' != typeof k) { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(ae = v === N), (R = R || ae) + } + if (R) + (N = P), + null !== L && (P ? (L.length = P) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + q = v === N + } else q = !0 + } + } + } + } else { + const k = { params: { type: 'object' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var le = me === N + if (((pe = pe || le), !pe)) { + const k = N + if (N == N) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + ;(le = k === N), (pe = pe || le) + } + if (!pe) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (r.errors = L), !1 + } + if ( + ((N = R), + null !== L && (R ? (L.length = R) : (L = null)), + P !== N) + ) + break + } + } + return (r.errors = L), 0 === N + } + function t( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + const q = N + let ae = !1 + const le = N + if (N === le) + if (Array.isArray(k)) { + const E = k.length + for (let P = 0; P < E; P++) { + let E = k[P] + const q = N, + ae = N + let le = !1 + const me = N + if (N == N) + if ('string' == typeof E) { + if (E.length < 1) { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + } else { + const k = { params: { type: 'string' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var pe = me === N + if (((le = le || pe), !le)) { + const q = N + r(E, { + instancePath: v + '/' + P, + parentData: k, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? r.errors : L.concat(r.errors)), + (N = L.length)), + (pe = q === N), + (le = le || pe) + } + if (le) + (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) + else { + const k = { params: {} } + null === L ? (L = [k]) : L.push(k), N++ + } + if (q !== N) break + } + } else { + const k = { params: { type: 'array' } } + null === L ? (L = [k]) : L.push(k), N++ + } + var me = le === N + if (((ae = ae || me), !ae)) { + const q = N + r(k, { + instancePath: v, + parentData: E, + parentDataProperty: P, + rootData: R, + }) || + ((L = null === L ? r.errors : L.concat(r.errors)), (N = L.length)), + (me = q === N), + (ae = ae || me) + } + if (!ae) { + const k = { params: {} } + return null === L ? (L = [k]) : L.push(k), N++, (t.errors = L), !1 + } + return ( + (N = q), + null !== L && (q ? (L.length = q) : (L = null)), + (t.errors = L), + 0 === N + ) + } + function e( + k, + { + instancePath: v = '', + parentData: E, + parentDataProperty: P, + rootData: R = k, + } = {} + ) { + let L = null, + N = 0 + if (0 === N) { + if (!k || 'object' != typeof k || Array.isArray(k)) + return (e.errors = [{ params: { type: 'object' } }]), !1 + { + let E + if (void 0 === k.provides && (E = 'provides')) + return (e.errors = [{ params: { missingProperty: E } }]), !1 + { + const E = N + for (const v in k) + if ('provides' !== v && 'shareScope' !== v) + return ( + (e.errors = [{ params: { additionalProperty: v } }]), !1 + ) + if (E === N) { + if (void 0 !== k.provides) { + const E = N + t(k.provides, { + instancePath: v + '/provides', + parentData: k, + parentDataProperty: 'provides', + rootData: R, + }) || + ((L = null === L ? t.errors : L.concat(t.errors)), + (N = L.length)) + var q = E === N + } else q = !0 + if (q) + if (void 0 !== k.shareScope) { + let v = k.shareScope + const E = N + if (N === E) { + if ('string' != typeof v) + return (e.errors = [{ params: { type: 'string' } }]), !1 + if (v.length < 1) return (e.errors = [{ params: {} }]), !1 + } + q = E === N + } else q = !0 + } + } + } + } + return (e.errors = L), 0 === N + } + ;(k.exports = e), (k.exports['default'] = e) + }, + 83182: function (k, v, E) { + k.exports = function () { + return { + BasicEvaluatedExpression: E(70037), + ModuleFilenameHelpers: E(98612), + NodeTargetPlugin: E(56976), + NodeTemplatePlugin: E(74578), + LibraryTemplatePlugin: E(9021), + LimitChunkCountPlugin: E(17452), + WebWorkerTemplatePlugin: E(20514), + ExternalsPlugin: E(53757), + SingleEntryPlugin: E(48640), + FetchCompileAsyncWasmPlugin: E(52576), + FetchCompileWasmPlugin: E(99900), + StringXor: E(96181), + NormalModule: E(38224), + sources: E(94308).sources, + webpack: E(94308), + package: { version: E(35479).i8 }, + } + } + }, + 39491: function (k) { + 'use strict' + k.exports = require('assert') + }, + 14300: function (k) { + 'use strict' + k.exports = require('buffer') + }, + 22057: function (k) { + 'use strict' + k.exports = require('constants') + }, + 6113: function (k) { + 'use strict' + k.exports = require('crypto') + }, + 82361: function (k) { + 'use strict' + k.exports = require('events') + }, + 57147: function (k) { + 'use strict' + k.exports = require('fs') + }, + 13685: function (k) { + 'use strict' + k.exports = require('http') + }, + 95687: function (k) { + 'use strict' + k.exports = require('https') + }, + 31405: function (k) { + 'use strict' + k.exports = require('inspector') + }, + 98188: function (k) { + 'use strict' + k.exports = require('module') + }, + 55302: function (k) { + 'use strict' + k.exports = require('next/dist/build/webpack/plugins/terser-webpack-plugin') + }, + 31988: function (k) { + 'use strict' + k.exports = require('next/dist/compiled/acorn') + }, + 14907: function (k) { + 'use strict' + k.exports = require('next/dist/compiled/browserslist') + }, + 22955: function (k) { + 'use strict' + k.exports = require('next/dist/compiled/loader-runner') + }, + 78175: function (k) { + 'use strict' + k.exports = require('next/dist/compiled/neo-async') + }, + 38476: function (k) { + 'use strict' + k.exports = require('next/dist/compiled/schema-utils3') + }, + 51255: function (k) { + 'use strict' + k.exports = require('next/dist/compiled/webpack-sources3') + }, + 71017: function (k) { + 'use strict' + k.exports = require('path') + }, + 35125: function (k) { + 'use strict' + k.exports = require('pnpapi') + }, + 77282: function (k) { + 'use strict' + k.exports = require('process') + }, + 63477: function (k) { + 'use strict' + k.exports = require('querystring') + }, + 12781: function (k) { + 'use strict' + k.exports = require('stream') + }, + 57310: function (k) { + 'use strict' + k.exports = require('url') + }, + 73837: function (k) { + 'use strict' + k.exports = require('util') + }, + 26144: function (k) { + 'use strict' + k.exports = require('vm') + }, + 28978: function (k) { + 'use strict' + k.exports = require('watchpack') + }, + 59796: function (k) { + 'use strict' + k.exports = require('zlib') + }, + 97998: function (k, v) { + 'use strict' + ;(v.init = void 0), (v.parse = parse) + const E = 1 === new Uint8Array(new Uint16Array([1]).buffer)[0] + function parse(k, v = '@') { + if (!P) return R.then(() => parse(k)) + const L = k.length + 1, + N = + (P.__heap_base.value || P.__heap_base) + + 4 * L - + P.memory.buffer.byteLength + N > 0 && P.memory.grow(Math.ceil(N / 65536)) + const q = P.sa(L - 1) + if ( + ((E ? B : Q)(k, new Uint16Array(P.memory.buffer, q, L)), !P.parse()) + ) + throw Object.assign( + new Error( + `Parse error ${v}:${k.slice(0, P.e()).split('\n').length}:${ + P.e() - k.lastIndexOf('\n', P.e() - 1) + }` + ), + { idx: P.e() } + ) + const ae = [], + le = [] + for (; P.ri(); ) { + const v = P.is(), + E = P.ie(), + R = P.ai(), + L = P.id(), + N = P.ss(), + q = P.se() + let le + P.ip() && + (le = J(k.slice(-1 === L ? v - 1 : v, -1 === L ? E + 1 : E))), + ae.push({ n: le, s: v, e: E, ss: N, se: q, d: L, a: R }) + } + for (; P.re(); ) { + const v = P.es(), + E = P.ee(), + R = P.els(), + L = P.ele(), + N = k.slice(v, E), + q = N[0], + ae = R < 0 ? void 0 : k.slice(R, L), + pe = ae ? ae[0] : '' + le.push({ + s: v, + e: E, + ls: R, + le: L, + n: '"' === q || "'" === q ? J(N) : N, + ln: '"' === pe || "'" === pe ? J(ae) : ae, + }) + } + function J(k) { + try { + return (0, eval)(k) + } catch (k) {} + } + return [ae, le, !!P.f()] + } + function Q(k, v) { + const E = k.length + let P = 0 + for (; P < E; ) { + const E = k.charCodeAt(P) + v[P++] = ((255 & E) << 8) | (E >>> 8) + } + } + function B(k, v) { + const E = k.length + let P = 0 + for (; P < E; ) v[P] = k.charCodeAt(P++) + } + let P + const R = WebAssembly.compile( + ((L = + 'AGFzbQEAAAABKghgAX8Bf2AEf39/fwBgAAF/YAAAYAF/AGADf39/AX9gAn9/AX9gAn9/AAMvLgABAQICAgICAgICAgICAgICAgIAAwMDBAQAAAADAAAAAAMDAAUGAAAABwAGAgUEBQFwAQEBBQMBAAEGDwJ/AUGw8gALfwBBsPIACwdwEwZtZW1vcnkCAAJzYQAAAWUAAwJpcwAEAmllAAUCc3MABgJzZQAHAmFpAAgCaWQACQJpcAAKAmVzAAsCZWUADANlbHMADQNlbGUADgJyaQAPAnJlABABZgARBXBhcnNlABILX19oZWFwX2Jhc2UDAQqHPC5oAQF/QQAgADYC9AlBACgC0AkiASAAQQF0aiIAQQA7AQBBACAAQQJqIgA2AvgJQQAgADYC/AlBAEEANgLUCUEAQQA2AuQJQQBBADYC3AlBAEEANgLYCUEAQQA2AuwJQQBBADYC4AkgAQufAQEDf0EAKALkCSEEQQBBACgC/AkiBTYC5AlBACAENgLoCUEAIAVBIGo2AvwJIARBHGpB1AkgBBsgBTYCAEEAKALICSEEQQAoAsQJIQYgBSABNgIAIAUgADYCCCAFIAIgAkECakEAIAYgA0YbIAQgA0YbNgIMIAUgAzYCFCAFQQA2AhAgBSACNgIEIAVBADYCHCAFQQAoAsQJIANGOgAYC1YBAX9BACgC7AkiBEEQakHYCSAEG0EAKAL8CSIENgIAQQAgBDYC7AlBACAEQRRqNgL8CSAEQQA2AhAgBCADNgIMIAQgAjYCCCAEIAE2AgQgBCAANgIACwgAQQAoAoAKCxUAQQAoAtwJKAIAQQAoAtAJa0EBdQseAQF/QQAoAtwJKAIEIgBBACgC0AlrQQF1QX8gABsLFQBBACgC3AkoAghBACgC0AlrQQF1Cx4BAX9BACgC3AkoAgwiAEEAKALQCWtBAXVBfyAAGwseAQF/QQAoAtwJKAIQIgBBACgC0AlrQQF1QX8gABsLOwEBfwJAQQAoAtwJKAIUIgBBACgCxAlHDQBBfw8LAkAgAEEAKALICUcNAEF+DwsgAEEAKALQCWtBAXULCwBBACgC3AktABgLFQBBACgC4AkoAgBBACgC0AlrQQF1CxUAQQAoAuAJKAIEQQAoAtAJa0EBdQseAQF/QQAoAuAJKAIIIgBBACgC0AlrQQF1QX8gABsLHgEBf0EAKALgCSgCDCIAQQAoAtAJa0EBdUF/IAAbCyUBAX9BAEEAKALcCSIAQRxqQdQJIAAbKAIAIgA2AtwJIABBAEcLJQEBf0EAQQAoAuAJIgBBEGpB2AkgABsoAgAiADYC4AkgAEEARwsIAEEALQCECgvmDAEGfyMAQYDQAGsiACQAQQBBAToAhApBAEEAKALMCTYCjApBAEEAKALQCUF+aiIBNgKgCkEAIAFBACgC9AlBAXRqIgI2AqQKQQBBADsBhgpBAEEAOwGICkEAQQA6AJAKQQBBADYCgApBAEEAOgDwCUEAIABBgBBqNgKUCkEAIAA2ApgKQQBBADoAnAoCQAJAAkACQANAQQAgAUECaiIDNgKgCiABIAJPDQECQCADLwEAIgJBd2pBBUkNAAJAAkACQAJAAkAgAkGbf2oOBQEICAgCAAsgAkEgRg0EIAJBL0YNAyACQTtGDQIMBwtBAC8BiAoNASADEBNFDQEgAUEEakGCCEEKEC0NARAUQQAtAIQKDQFBAEEAKAKgCiIBNgKMCgwHCyADEBNFDQAgAUEEakGMCEEKEC0NABAVC0EAQQAoAqAKNgKMCgwBCwJAIAEvAQQiA0EqRg0AIANBL0cNBBAWDAELQQEQFwtBACgCpAohAkEAKAKgCiEBDAALC0EAIQIgAyEBQQAtAPAJDQIMAQtBACABNgKgCkEAQQA6AIQKCwNAQQAgAUECaiIDNgKgCgJAAkACQAJAAkACQAJAAkACQCABQQAoAqQKTw0AIAMvAQAiAkF3akEFSQ0IAkACQAJAAkACQAJAAkACQAJAAkAgAkFgag4KEhEGEREREQUBAgALAkACQAJAAkAgAkGgf2oOCgsUFAMUARQUFAIACyACQYV/ag4DBRMGCQtBAC8BiAoNEiADEBNFDRIgAUEEakGCCEEKEC0NEhAUDBILIAMQE0UNESABQQRqQYwIQQoQLQ0REBUMEQsgAxATRQ0QIAEpAARC7ICEg7COwDlSDRAgAS8BDCIDQXdqIgFBF0sNDkEBIAF0QZ+AgARxRQ0ODA8LQQBBAC8BiAoiAUEBajsBiApBACgClAogAUEDdGoiAUEBNgIAIAFBACgCjAo2AgQMDwtBAC8BiAoiAkUNC0EAIAJBf2oiBDsBiApBAC8BhgoiAkUNDiACQQJ0QQAoApgKakF8aigCACIFKAIUQQAoApQKIARB//8DcUEDdGooAgRHDQ4CQCAFKAIEDQAgBSADNgIEC0EAIAJBf2o7AYYKIAUgAUEEajYCDAwOCwJAQQAoAowKIgEvAQBBKUcNAEEAKALkCSIDRQ0AIAMoAgQgAUcNAEEAQQAoAugJIgM2AuQJAkAgA0UNACADQQA2AhwMAQtBAEEANgLUCQtBAEEALwGICiIDQQFqOwGICkEAKAKUCiADQQN0aiIDQQZBAkEALQCcChs2AgAgAyABNgIEQQBBADoAnAoMDQtBAC8BiAoiAUUNCUEAIAFBf2oiATsBiApBACgClAogAUH//wNxQQN0aigCAEEERg0EDAwLQScQGAwLC0EiEBgMCgsgAkEvRw0JAkACQCABLwEEIgFBKkYNACABQS9HDQEQFgwMC0EBEBcMCwsCQAJAQQAoAowKIgEvAQAiAxAZRQ0AAkACQCADQVVqDgQACAEDCAsgAUF+ai8BAEErRg0GDAcLIAFBfmovAQBBLUYNBQwGCwJAIANB/QBGDQAgA0EpRw0FQQAoApQKQQAvAYgKQQN0aigCBBAaRQ0FDAYLQQAoApQKQQAvAYgKQQN0aiICKAIEEBsNBSACKAIAQQZGDQUMBAsgAUF+ai8BAEFQakH//wNxQQpJDQMMBAtBACgClApBAC8BiAoiAUEDdCIDakEAKAKMCjYCBEEAIAFBAWo7AYgKQQAoApQKIANqQQM2AgALEBwMBwtBAC0A8AlBAC8BhgpBAC8BiApyckUhAgwJCyABEB0NACADRQ0AIANBL0ZBAC0AkApBAEdxDQAgAUF+aiEBQQAoAtAJIQICQANAIAFBAmoiBCACTQ0BQQAgATYCjAogAS8BACEDIAFBfmoiBCEBIAMQHkUNAAsgBEECaiEEC0EBIQUgA0H//wNxEB9FDQEgBEF+aiEBAkADQCABQQJqIgMgAk0NAUEAIAE2AowKIAEvAQAhAyABQX5qIgQhASADEB8NAAsgBEECaiEDCyADECBFDQEQIUEAQQA6AJAKDAULECFBACEFC0EAIAU6AJAKDAMLECJBACECDAULIANBoAFHDQELQQBBAToAnAoLQQBBACgCoAo2AowKC0EAKAKgCiEBDAALCyAAQYDQAGokACACCxoAAkBBACgC0AkgAEcNAEEBDwsgAEF+ahAjC80JAQV/QQBBACgCoAoiAEEMaiIBNgKgCkEAKALsCSECQQEQJyEDAkACQAJAAkACQAJAAkACQAJAAkBBACgCoAoiBCABRw0AIAMQJkUNAQsCQAJAAkACQCADQSpGDQAgA0H7AEcNAUEAIARBAmo2AqAKQQEQJyEEQQAoAqAKIQEDQAJAAkAgBEH//wNxIgNBIkYNACADQSdGDQAgAxAqGkEAKAKgCiEDDAELIAMQGEEAQQAoAqAKQQJqIgM2AqAKC0EBECcaAkAgASADECsiBEEsRw0AQQBBACgCoApBAmo2AqAKQQEQJyEEC0EAKAKgCiEDIARB/QBGDQMgAyABRg0NIAMhASADQQAoAqQKTQ0ADA0LC0EAIARBAmo2AqAKQQEQJxpBACgCoAoiAyADECsaDAILQQBBADoAhAoCQAJAAkACQAJAAkAgA0Gff2oODAIIBAEIAwgICAgIBQALIANB9gBGDQQMBwtBACAEQQ5qIgM2AqAKAkACQAJAQQEQJ0Gff2oOBgAQAhAQARALQQAoAqAKIgEpAAJC84Dkg+CNwDFSDQ8gAS8BChAfRQ0PQQAgAUEKajYCoApBABAnGgtBACgCoAoiAUECakGiCEEOEC0NDiABLwEQIgBBd2oiAkEXSw0LQQEgAnRBn4CABHFFDQsMDAtBACgCoAoiASkAAkLsgISDsI7AOVINDSABLwEKIgBBd2oiAkEXTQ0HDAgLQQAgBEEKajYCoApBABAnGkEAKAKgCiEEC0EAIARBEGo2AqAKAkBBARAnIgRBKkcNAEEAQQAoAqAKQQJqNgKgCkEBECchBAtBACgCoAohAyAEECoaIANBACgCoAoiBCADIAQQAkEAQQAoAqAKQX5qNgKgCg8LAkAgBCkAAkLsgISDsI7AOVINACAELwEKEB5FDQBBACAEQQpqNgKgCkEBECchBEEAKAKgCiEDIAQQKhogA0EAKAKgCiIEIAMgBBACQQBBACgCoApBfmo2AqAKDwtBACAEQQRqIgQ2AqAKC0EAIARBBGoiAzYCoApBAEEAOgCECgJAA0BBACADQQJqNgKgCkEBECchBEEAKAKgCiEDIAQQKkEgckH7AEYNAUEAKAKgCiIEIANGDQQgAyAEIAMgBBACQQEQJ0EsRw0BQQAoAqAKIQMMAAsLQQBBACgCoApBfmo2AqAKDwtBACADQQJqNgKgCgtBARAnIQRBACgCoAohAwJAIARB5gBHDQAgA0ECakGcCEEGEC0NAEEAIANBCGo2AqAKIABBARAnECkgAkEQakHYCSACGyEDA0AgAygCACIDRQ0CIANCADcCCCADQRBqIQMMAAsLQQAgA0F+ajYCoAoLDwtBASACdEGfgIAEcQ0BCyAAQaABRg0AIABB+wBHDQQLQQAgAUEKajYCoApBARAnIgFB+wBGDQMMAgsCQCAAQVhqDgMBAwEACyAAQaABRw0CC0EAIAFBEGo2AqAKAkBBARAnIgFBKkcNAEEAQQAoAqAKQQJqNgKgCkEBECchAQsgAUEoRg0BC0EAKAKgCiECIAEQKhpBACgCoAoiASACTQ0AIAQgAyACIAEQAkEAQQAoAqAKQX5qNgKgCg8LIAQgA0EAQQAQAkEAIARBDGo2AqAKDwsQIgvUBgEEf0EAQQAoAqAKIgBBDGoiATYCoAoCQAJAAkACQAJAAkACQAJAAkACQEEBECciAkFZag4IBAIBBAEBAQMACyACQSJGDQMgAkH7AEYNBAtBACgCoAogAUcNAkEAIABBCmo2AqAKDwtBACgClApBAC8BiAoiAkEDdGoiAUEAKAKgCjYCBEEAIAJBAWo7AYgKIAFBBTYCAEEAKAKMCi8BAEEuRg0DQQBBACgCoAoiAUECajYCoApBARAnIQIgAEEAKAKgCkEAIAEQAUEAQQAvAYYKIgFBAWo7AYYKQQAoApgKIAFBAnRqQQAoAuQJNgIAAkAgAkEiRg0AIAJBJ0YNAEEAQQAoAqAKQX5qNgKgCg8LIAIQGEEAQQAoAqAKQQJqIgI2AqAKAkACQAJAQQEQJ0FXag4EAQICAAILQQBBACgCoApBAmo2AqAKQQEQJxpBACgC5AkiASACNgIEIAFBAToAGCABQQAoAqAKIgI2AhBBACACQX5qNgKgCg8LQQAoAuQJIgEgAjYCBCABQQE6ABhBAEEALwGICkF/ajsBiAogAUEAKAKgCkECajYCDEEAQQAvAYYKQX9qOwGGCg8LQQBBACgCoApBfmo2AqAKDwtBAEEAKAKgCkECajYCoApBARAnQe0ARw0CQQAoAqAKIgJBAmpBlghBBhAtDQICQEEAKAKMCiIBECgNACABLwEAQS5GDQMLIAAgACACQQhqQQAoAsgJEAEPC0EALwGICg0CQQAoAqAKIQJBACgCpAohAwNAIAIgA08NBQJAAkAgAi8BACIBQSdGDQAgAUEiRw0BCyAAIAEQKQ8LQQAgAkECaiICNgKgCgwACwtBACgCoAohAkEALwGICg0CAkADQAJAAkACQCACQQAoAqQKTw0AQQEQJyICQSJGDQEgAkEnRg0BIAJB/QBHDQJBAEEAKAKgCkECajYCoAoLQQEQJyEBQQAoAqAKIQICQCABQeYARw0AIAJBAmpBnAhBBhAtDQgLQQAgAkEIajYCoApBARAnIgJBIkYNAyACQSdGDQMMBwsgAhAYC0EAQQAoAqAKQQJqIgI2AqAKDAALCyAAIAIQKQsPC0EAQQAoAqAKQX5qNgKgCg8LQQAgAkF+ajYCoAoPCxAiC0cBA39BACgCoApBAmohAEEAKAKkCiEBAkADQCAAIgJBfmogAU8NASACQQJqIQAgAi8BAEF2ag4EAQAAAQALC0EAIAI2AqAKC5gBAQN/QQBBACgCoAoiAUECajYCoAogAUEGaiEBQQAoAqQKIQIDQAJAAkACQCABQXxqIAJPDQAgAUF+ai8BACEDAkACQCAADQAgA0EqRg0BIANBdmoOBAIEBAIECyADQSpHDQMLIAEvAQBBL0cNAkEAIAFBfmo2AqAKDAELIAFBfmohAQtBACABNgKgCg8LIAFBAmohAQwACwuIAQEEf0EAKAKgCiEBQQAoAqQKIQICQAJAA0AgASIDQQJqIQEgAyACTw0BIAEvAQAiBCAARg0CAkAgBEHcAEYNACAEQXZqDgQCAQECAQsgA0EEaiEBIAMvAQRBDUcNACADQQZqIAEgAy8BBkEKRhshAQwACwtBACABNgKgChAiDwtBACABNgKgCgtsAQF/AkACQCAAQV9qIgFBBUsNAEEBIAF0QTFxDQELIABBRmpB//8DcUEGSQ0AIABBKUcgAEFYakH//wNxQQdJcQ0AAkAgAEGlf2oOBAEAAAEACyAAQf0ARyAAQYV/akH//wNxQQRJcQ8LQQELLgEBf0EBIQECQCAAQZYJQQUQJA0AIABBoAlBAxAkDQAgAEGmCUECECQhAQsgAQuDAQECf0EBIQECQAJAAkACQAJAAkAgAC8BACICQUVqDgQFBAQBAAsCQCACQZt/ag4EAwQEAgALIAJBKUYNBCACQfkARw0DIABBfmpBsglBBhAkDwsgAEF+ai8BAEE9Rg8LIABBfmpBqglBBBAkDwsgAEF+akG+CUEDECQPC0EAIQELIAEL3gEBBH9BACgCoAohAEEAKAKkCiEBAkACQAJAA0AgACICQQJqIQAgAiABTw0BAkACQAJAIAAvAQAiA0Gkf2oOBQIDAwMBAAsgA0EkRw0CIAIvAQRB+wBHDQJBACACQQRqIgA2AqAKQQBBAC8BiAoiAkEBajsBiApBACgClAogAkEDdGoiAkEENgIAIAIgADYCBA8LQQAgADYCoApBAEEALwGICkF/aiIAOwGICkEAKAKUCiAAQf//A3FBA3RqKAIAQQNHDQMMBAsgAkEEaiEADAALC0EAIAA2AqAKCxAiCwu0AwECf0EAIQECQAJAAkACQAJAAkACQAJAAkACQCAALwEAQZx/ag4UAAECCQkJCQMJCQQFCQkGCQcJCQgJCwJAAkAgAEF+ai8BAEGXf2oOBAAKCgEKCyAAQXxqQboIQQIQJA8LIABBfGpBvghBAxAkDwsCQAJAAkAgAEF+ai8BAEGNf2oOAwABAgoLAkAgAEF8ai8BACICQeEARg0AIAJB7ABHDQogAEF6akHlABAlDwsgAEF6akHjABAlDwsgAEF8akHECEEEECQPCyAAQXxqQcwIQQYQJA8LIABBfmovAQBB7wBHDQYgAEF8ai8BAEHlAEcNBgJAIABBemovAQAiAkHwAEYNACACQeMARw0HIABBeGpB2AhBBhAkDwsgAEF4akHkCEECECQPCyAAQX5qQegIQQQQJA8LQQEhASAAQX5qIgBB6QAQJQ0EIABB8AhBBRAkDwsgAEF+akHkABAlDwsgAEF+akH6CEEHECQPCyAAQX5qQYgJQQQQJA8LAkAgAEF+ai8BACICQe8ARg0AIAJB5QBHDQEgAEF8akHuABAlDwsgAEF8akGQCUEDECQhAQsgAQs0AQF/QQEhAQJAIABBd2pB//8DcUEFSQ0AIABBgAFyQaABRg0AIABBLkcgABAmcSEBCyABCzABAX8CQAJAIABBd2oiAUEXSw0AQQEgAXRBjYCABHENAQsgAEGgAUYNAEEADwtBAQtOAQJ/QQAhAQJAAkAgAC8BACICQeUARg0AIAJB6wBHDQEgAEF+akHoCEEEECQPCyAAQX5qLwEAQfUARw0AIABBfGpBzAhBBhAkIQELIAELcAECfwJAAkADQEEAQQAoAqAKIgBBAmoiATYCoAogAEEAKAKkCk8NAQJAAkACQCABLwEAIgFBpX9qDgIBAgALAkAgAUF2ag4EBAMDBAALIAFBL0cNAgwECxAsGgwBC0EAIABBBGo2AqAKDAALCxAiCws1AQF/QQBBAToA8AlBACgCoAohAEEAQQAoAqQKQQJqNgKgCkEAIABBACgC0AlrQQF1NgKACgtDAQJ/QQEhAQJAIAAvAQAiAkF3akH//wNxQQVJDQAgAkGAAXJBoAFGDQBBACEBIAIQJkUNACACQS5HIAAQKHIPCyABC0YBA39BACEDAkAgACACQQF0IgJrIgRBAmoiAEEAKALQCSIFSQ0AIAAgASACEC0NAAJAIAAgBUcNAEEBDwsgBBAjIQMLIAMLPQECf0EAIQICQEEAKALQCSIDIABLDQAgAC8BACABRw0AAkAgAyAARw0AQQEPCyAAQX5qLwEAEB4hAgsgAgtoAQJ/QQEhAQJAAkAgAEFfaiICQQVLDQBBASACdEExcQ0BCyAAQfj/A3FBKEYNACAAQUZqQf//A3FBBkkNAAJAIABBpX9qIgJBA0sNACACQQFHDQELIABBhX9qQf//A3FBBEkhAQsgAQucAQEDf0EAKAKgCiEBAkADQAJAAkAgAS8BACICQS9HDQACQCABLwECIgFBKkYNACABQS9HDQQQFgwCCyAAEBcMAQsCQAJAIABFDQAgAkF3aiIBQRdLDQFBASABdEGfgIAEcUUNAQwCCyACEB9FDQMMAQsgAkGgAUcNAgtBAEEAKAKgCiIDQQJqIgE2AqAKIANBACgCpApJDQALCyACCzEBAX9BACEBAkAgAC8BAEEuRw0AIABBfmovAQBBLkcNACAAQXxqLwEAQS5GIQELIAELiQQBAX8CQCABQSJGDQAgAUEnRg0AECIPC0EAKAKgCiECIAEQGCAAIAJBAmpBACgCoApBACgCxAkQAUEAQQAoAqAKQQJqNgKgCgJAAkACQAJAQQAQJyIBQeEARg0AIAFB9wBGDQFBACgCoAohAQwCC0EAKAKgCiIBQQJqQbAIQQoQLQ0BQQYhAAwCC0EAKAKgCiIBLwECQekARw0AIAEvAQRB9ABHDQBBBCEAIAEvAQZB6ABGDQELQQAgAUF+ajYCoAoPC0EAIAEgAEEBdGo2AqAKAkBBARAnQfsARg0AQQAgATYCoAoPC0EAKAKgCiICIQADQEEAIABBAmo2AqAKAkACQAJAQQEQJyIAQSJGDQAgAEEnRw0BQScQGEEAQQAoAqAKQQJqNgKgCkEBECchAAwCC0EiEBhBAEEAKAKgCkECajYCoApBARAnIQAMAQsgABAqIQALAkAgAEE6Rg0AQQAgATYCoAoPC0EAQQAoAqAKQQJqNgKgCgJAQQEQJyIAQSJGDQAgAEEnRg0AQQAgATYCoAoPCyAAEBhBAEEAKAKgCkECajYCoAoCQAJAQQEQJyIAQSxGDQAgAEH9AEYNAUEAIAE2AqAKDwtBAEEAKAKgCkECajYCoApBARAnQf0ARg0AQQAoAqAKIQAMAQsLQQAoAuQJIgEgAjYCECABQQAoAqAKQQJqNgIMC20BAn8CQAJAA0ACQCAAQf//A3EiAUF3aiICQRdLDQBBASACdEGfgIAEcQ0CCyABQaABRg0BIAAhAiABECYNAkEAIQJBAEEAKAKgCiIAQQJqNgKgCiAALwECIgANAAwCCwsgACECCyACQf//A3ELqwEBBH8CQAJAQQAoAqAKIgIvAQAiA0HhAEYNACABIQQgACEFDAELQQAgAkEEajYCoApBARAnIQJBACgCoAohBQJAAkAgAkEiRg0AIAJBJ0YNACACECoaQQAoAqAKIQQMAQsgAhAYQQBBACgCoApBAmoiBDYCoAoLQQEQJyEDQQAoAqAKIQILAkAgAiAFRg0AIAUgBEEAIAAgACABRiICG0EAIAEgAhsQAgsgAwtyAQR/QQAoAqAKIQBBACgCpAohAQJAAkADQCAAQQJqIQIgACABTw0BAkACQCACLwEAIgNBpH9qDgIBBAALIAIhACADQXZqDgQCAQECAQsgAEEEaiEADAALC0EAIAI2AqAKECJBAA8LQQAgAjYCoApB3QALSQEDf0EAIQMCQCACRQ0AAkADQCAALQAAIgQgAS0AACIFRw0BIAFBAWohASAAQQFqIQAgAkF/aiICDQAMAgsLIAQgBWshAwsgAwsL4gECAEGACAvEAQAAeABwAG8AcgB0AG0AcABvAHIAdABlAHQAYQByAG8AbQB1AG4AYwB0AGkAbwBuAHMAcwBlAHIAdAB2AG8AeQBpAGUAZABlAGwAZQBjAG8AbgB0AGkAbgBpAG4AcwB0AGEAbgB0AHkAYgByAGUAYQByAGUAdAB1AHIAZABlAGIAdQBnAGcAZQBhAHcAYQBpAHQAaAByAHcAaABpAGwAZQBmAG8AcgBpAGYAYwBhAHQAYwBmAGkAbgBhAGwAbABlAGwAcwAAQcQJCxABAAAAAgAAAAAEAAAwOQAA'), + 'undefined' != typeof Buffer + ? Buffer.from(L, 'base64') + : Uint8Array.from(atob(L), (k) => k.charCodeAt(0))) + ) + .then(WebAssembly.instantiate) + .then(({ exports: k }) => { + P = k + }) + var L + v.init = R + }, + 13348: function (k) { + 'use strict' + k.exports = { i8: '5.1.1' } + }, + 14730: function (k) { + 'use strict' + k.exports = { version: '4.3.0' } + }, + 61752: function (k) { + 'use strict' + k.exports = { i8: '4.3.0' } + }, + 66282: function (k) { + 'use strict' + k.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/captive+json":{"source":"iana","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/clr":{"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":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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/jscalendar+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},"application/mrb-publish+xml":{"source":"iana","compressible":true},"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/opc-nodeset+xml":{"source":"iana","compressible":true},"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.cyn":{"source":"iana","charset":"7-BIT"},"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/sarif+json":{"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/ubjson":{"compressible":false,"extensions":["ubj"]},"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,"extensions":["td"]},"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.interworking-data":{"source":"iana"},"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.cmoca-cmresource":{"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-cmtable":{"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":["key"]},"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.cryptomator.encrypted":{"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.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"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","extensions":["dbf"]},"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.slides":{"source":"iana"},"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.nebumind.line":{"source":"iana"},"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+cbor":{"source":"iana"},"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","extensions":["rar"]},"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.seis+json":{"source":"iana","compressible":true},"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.sycle+xml":{"source":"iana","compressible":true},"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.dpp":{"source":"iana"},"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},"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":["xsl","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","extensions":["amr"]},"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","opus"]},"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/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"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/tsvcis":{"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/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"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/ktx2":{"source":"iana","extensions":["ktx2"]},"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.pco.b16":{"source":"iana","extensions":["b16"]},"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/e57":{"source":"iana"},"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.sap.vds":{"source":"iana","extensions":["vds"]},"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/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"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/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"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/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"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.hans":{"source":"iana"},"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/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"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","extensions":["m4s"]},"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/scip":{"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}}' + ) + }, + 35479: function (k) { + 'use strict' + k.exports = { i8: '5.86.0' } + }, + 98625: function (k) { + 'use strict' + k.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"}]},"AmdContainer":{"description":"Add a container for define/require functions in the AMD module.","type":"string","minLength":1},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string. It can have a string as \'ident\' property which contributes to the module hash.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"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"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"outputPath":{"$ref":"#/definitions/AssetModuleOutputPath"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"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)"}]},"AssetModuleOutputPath":{"description":"Emit the asset in the specified folder relative to \'output.path\'. This should only be needed when custom \'publicPath\' is specified to match the folder structure there.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"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)"},"AssetParserDataUrlOptions":{"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"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"outputPath":{"$ref":"#/definitions/AssetModuleOutputPath"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"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":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), \'module\' (ESM), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs","module",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), \'import\' (ESM), \'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), \'import\' (ESM), \'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","import"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"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"]},"CssChunkFilename":{"description":"Specifies the filename template of non-initial output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"CssExperimentOptions":{"description":"Options for css handling.","type":"object","additionalProperties":false,"properties":{"exportsOnly":{"description":"Avoid generating and loading a stylesheet and only embed exports from css into output javascript files.","type":"boolean"}}},"CssFilename":{"description":"Specifies the filename template of output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"CssGeneratorOptions":{"description":"Generator options for css modules.","type":"object","additionalProperties":false,"properties":{}},"CssParserOptions":{"description":"Parser options for css modules.","type":"object","additionalProperties":false,"properties":{}},"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"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"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":{"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"baseUri":{"description":"Base uri for this entry.","type":"string"},"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/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"baseUri":{"description":"Base uri for this entry.","type":"string"},"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},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"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)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"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.","anyOf":[{"enum":[false]},{"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"},"dynamicImportInWorker":{"description":"The environment supports an async import() is available when creating a worker.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"globalThis":{"description":"The environment supports \'globalThis\'.","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"},"optionalChaining":{"description":"The environment supports optional chaining (\'obj?.a\' or \'obj?.()\').","type":"boolean"},"templateLiteral":{"description":"The environment supports template literals.","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","anyOf":[{"$ref":"#/definitions/HttpUriAllowedUris"},{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"css":{"description":"Enable css support.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CssExperimentOptions"}]},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/LazyCompilationOptions"}]},"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"}}},"ExperimentsCommon":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","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"}}},"ExperimentsNormalized":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"css":{"description":"Enable css support.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/CssExperimentOptions"}]},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/LazyCompilationOptions"}]},"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"}}},"Extends":{"description":"Extend configuration from another configuration (only works when using webpack-cli).","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExtendsItem"}},{"$ref":"#/definitions/ExtendsItem"}]},"ExtendsItem":{"description":"Path to the configuration to be extended (only works when using webpack-cli).","type":"string"},"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":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"dependencyType":{"description":"The category of the referencing dependencies.","type":"string"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"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"}]},"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","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"allowCollectingMemory":{"description":"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.","type":"boolean"},"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},"compression":{"description":"Compression type used for the cache files.","enum":[false,"gzip","brotli"]},"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.","type":"number","minimum":0},"idleTimeoutAfterLargeChanges":{"description":"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen.","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":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an 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":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"memoryCacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.","type":"boolean"},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"profile":{"description":"Track and log detailed timing information for individual cache items.","type":"boolean"},"readonly":{"description":"Enable/disable readonly mode.","type":"boolean"},"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 filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","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"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"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},"HttpUriAllowedUris":{"description":"List of allowed URIs for building http resources.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/HttpUriOptionsAllowedUris"}]},"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"proxy":{"description":"Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.","type":"string"},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}},"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":{"appendOnly":{"description":"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.","type":"boolean"},"colors":{"description":"Enables/Disables colorful output. This option is only used when no custom console is provided.","type":"boolean"},"console":{"description":"Custom console used for logging.","tsType":"Console"},"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"]},"stream":{"description":"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.","tsType":"NodeJS.WritableStream"}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"createRequire":{"description":"Enable/disable parsing \\"import { createRequire } from \\"module\\"\\" and evaluating createRequire().","anyOf":[{"type":"boolean"},{"type":"string"}]},"dynamicImportMode":{"description":"Specifies global mode for dynamic import.","enum":["eager","weak","lazy","lazy-once"]},"dynamicImportPrefetch":{"description":"Specifies global prefetch for dynamic import.","anyOf":[{"type":"number"},{"type":"boolean"}]},"dynamicImportPreload":{"description":"Specifies global preload for dynamic import.","anyOf":[{"type":"number"},{"type":"boolean"}]},"exportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\" and \\"export ... from ...\\".","enum":["error","warn","auto",false]},"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"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"importExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\".","enum":["error","warn","auto",false]},"importMeta":{"description":"Enable/disable evaluating import.meta.","type":"boolean"},"importMetaContext":{"description":"Enable/disable evaluating import.meta.webpackContext.","type":"boolean"},"node":{"$ref":"#/definitions/Node"},"reexportExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"export ... from ...\\". This might be useful to disable during the migration from \\"export ... from ...\\" to \\"export type ... from ...\\" when reexporting types in TypeScript.","enum":["error","warn","auto",false]},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Deprecated in favor of \\"exportsPresence\\". 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"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","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"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"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"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"LazyCompilationDefaultBackendOptions":{"description":"Options for the default backend.","type":"object","additionalProperties":false,"properties":{"client":{"description":"A custom client.","type":"string"},"listen":{"description":"Specifies where to listen to from the server.","anyOf":[{"description":"A port.","type":"number"},{"description":"Listen options.","type":"object","additionalProperties":true,"properties":{"host":{"description":"A host.","type":"string"},"port":{"description":"A port.","type":"number"}},"tsType":"import(\\"net\\").ListenOptions"},{"description":"A custom listen function.","instanceof":"Function","tsType":"((server: import(\\"net\\").Server) => void)"}]},"protocol":{"description":"Specifies the protocol the client should use to connect to the server.","enum":["http","https"]},"server":{"description":"Specifies how to create the server handling the EventSource requests.","anyOf":[{"description":"ServerOptions for the http or https createServer call.","type":"object","additionalProperties":true,"properties":{},"tsType":"(import(\\"https\\").ServerOptions | import(\\"http\\").ServerOptions)"},{"description":"A custom create server function.","instanceof":"Function","tsType":"(() => import(\\"net\\").Server)"}]}}},"LazyCompilationOptions":{"description":"Options for compiling entrypoints and import()s only when they are accessed.","type":"object","additionalProperties":false,"properties":{"backend":{"description":"Specifies the backend that should be used for handling client keep alive.","anyOf":[{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), callback: (err?: Error, api?: import(\\"../lib/hmr/LazyCompilationPlugin\\").BackendApi) => void) => void) | ((compiler: import(\'../lib/Compiler\')) => Promise))"},{"$ref":"#/definitions/LazyCompilationDefaultBackendOptions"}]},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}},"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},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"amdContainer":{"$ref":"#/definitions/AmdContainer"},"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\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'commonjs-static\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","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":{"cacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"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. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"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. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","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. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"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"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","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"}]},"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,"warn-mock","mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","enum":[false,true,"warn"]}}},"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":"RegExp","tsType":"RegExp"},{"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"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"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"}]},"minSizeReduction":{"description":"Minimum size reduction due to 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":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}},"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":"RegExp","tsType":"RegExp"},{"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"},"minItems":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},"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":"RegExp","tsType":"RegExp"},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"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"}]},"minSizeReduction":{"description":"Minimum size reduction due to 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"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","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":{"amdContainer":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AmdContainer"}]},"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"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"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"cssChunkFilename":{"$ref":"#/definitions/CssChunkFilename"},"cssFilename":{"$ref":"#/definitions/CssFilename"},"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"},"ignoreBrowserWarnings":{"description":"Ignore warnings in the browser.","type":"boolean"},"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"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks. \'output.uniqueName\' is used a default policy name. Passing a string sets a custom policy name.","anyOf":[{"enum":[true]},{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1},{"$ref":"#/definitions/TrustedTypes"}]},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerPublicPath":{"$ref":"#/definitions/WorkerPublicPath"},"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"},"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"cssChunkFilename":{"$ref":"#/definitions/CssChunkFilename"},"cssFilename":{"$ref":"#/definitions/CssFilename"},"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"},"ignoreBrowserWarnings":{"description":"Ignore warnings in the browser.","type":"boolean"},"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"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"$ref":"#/definitions/TrustedTypes"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerPublicPath":{"$ref":"#/definitions/WorkerPublicPath"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"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"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"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"}},"extensionAlias":{"description":"An object which maps extension to extension aliases.","type":"object","additionalProperties":{"description":"Extension alias.","anyOf":[{"description":"Multiple extensions.","type":"array","items":{"description":"Aliased extension.","type":"string","minLength":1}},{"description":"Aliased extension.","type":"string","minLength":1}]}},"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"}},"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"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"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.","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"},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditions"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditionsAbsolute"},{"$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"}]},"RuleSetLogicalConditions":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},"RuleSetLogicalConditionsAbsolute":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"assert":{"description":"Match on import assertions of the dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"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"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"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"}]}},"scheme":{"description":"Match module scheme.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"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":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an 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":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"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"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"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).","anyOf":[{"enum":["auto"]},{"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"},"errorsSpace":{"description":"Space to display errors (value is in number of lines).","type":"number"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"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"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"groupReasonsByOrigin":{"description":"Group reasons by their origin module.","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, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"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"},"reasonsSpace":{"description":"Space to display reasons (groups will be collapsed to fit this space).","type":"number"},"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/WarningFilterTypes"}]},"warningsSpace":{"description":"Space to display warnings (value is in number of lines).","type":"number"}}},"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"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","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}]},"TrustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks.","type":"object","additionalProperties":false,"properties":{"onPolicyCreationFailure":{"description":"If the call to `trustedTypes.createPolicy(...)` fails -- e.g., due to the policy name missing from the CSP `trusted-types` list, or it being a duplicate name, etc. -- controls whether to continue with loading in the hope that `require-trusted-types-for \'script\'` isn\'t enforced yet, versus fail immediately. Default behavior is \'stop\'.","enum":["continue","stop"]},"policyName":{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","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},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"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/ExperimentsNormalized"},"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/ModuleOptionsNormalized"},"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"]},"WorkerPublicPath":{"description":"Worker public path. Much like the public path, this sets the location where the worker script file is intended to be found. If not set, webpack will use the publicPath. Don\'t set this option unless your worker scripts are located at a different path from your other script files.","type":"string"}},"title":"WebpackOptions","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"},"extends":{"$ref":"#/definitions/Extends"},"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"}}}' + ) + }, + 98156: function (k) { + 'use strict' + k.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"}]},"footer":{"description":"If true, banner will be placed at the end of the output.","type":"boolean"},"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"}]}' + ) + }, + 10519: function (k) { + 'use strict' + k.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"]}' + ) + }, + 18498: function (k) { + 'use strict' + k.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"]}]}' + ) + }, + 23884: function (k) { + 'use strict' + k.exports = JSON.parse( + '{"definitions":{"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\')"}]}},"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.","oneOf":[{"$ref":"#/definitions/HashFunction"}]}}}' + ) + }, + 19134: function (k) { + 'use strict' + k.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"}},"required":["resourceRegExp"]},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}},"required":["checkResource"]}]}' + ) + }, + 40013: function (k) { + 'use strict' + k.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)"}}}' + ) + }, + 27667: function (k) { + 'use strict' + k.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}}}}}' + ) + }, + 13689: function (k) { + 'use strict' + k.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"}]}' + ) + }, + 45441: function (k) { + 'use strict' + k.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},{"instanceof":"Function","tsType":"((pathData: import(\\"../../lib/Compilation\\").PathData, assetInfo?: import(\\"../../lib/Compilation\\").AssetInfo) => string)"}]},"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"}}}' + ) + }, + 41084: function (k) { + 'use strict' + k.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"]}' + ) + }, + 97253: function (k) { + 'use strict' + k.exports = JSON.parse( + '{"definitions":{"AmdContainer":{"description":"Add a container for define/require functions in the AMD module.","type":"string","minLength":1},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"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.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"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"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"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},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"amdContainer":{"$ref":"#/definitions/AmdContainer"},"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\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'commonjs-static\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","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},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}' + ) + }, + 52899: function (k) { + 'use strict' + k.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","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"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"]}' + ) + }, + 80707: function (k) { + 'use strict' + k.exports = JSON.parse( + '{"definitions":{"AmdContainer":{"description":"Add a container for define/require functions in the AMD module.","type":"string","minLength":1},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"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.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"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"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"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","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"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},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"amdContainer":{"$ref":"#/definitions/AmdContainer"},"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\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'commonjs-static\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","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"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}' + ) + }, + 5877: function (k) { + 'use strict' + k.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}}}' + ) + }, + 41565: function (k) { + 'use strict' + k.exports = JSON.parse( + '{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}' + ) + }, + 71967: function (k) { + 'use strict' + k.exports = JSON.parse( + '{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}' + ) + }, + 20443: function (k) { + 'use strict' + k.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"}}}' + ) + }, + 30355: function (k) { + 'use strict' + k.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"]}' + ) + }, + 78782: function (k) { + 'use strict' + k.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"]}' + ) + }, + 72789: function (k) { + 'use strict' + k.exports = JSON.parse( + '{"definitions":{"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"proxy":{"description":"Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.","type":"string"},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}}},"title":"HttpUriPluginOptions","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]}' + ) + }, + 61334: function (k) { + 'use strict' + k.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"]}' + ) + }, + 15958: function (k) { + 'use strict' + k.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"]}' + ) + }, + } + var v = {} + function __webpack_require__(E) { + var P = v[E] + if (P !== undefined) { + return P.exports + } + var R = (v[E] = { exports: {} }) + var L = true + try { + k[E].call(R.exports, R, R.exports, __webpack_require__) + L = false + } finally { + if (L) delete v[E] + } + return R.exports + } + if (typeof __webpack_require__ !== 'undefined') + __webpack_require__.ab = __dirname + '/' + var E = __webpack_require__(83182) + module.exports = E +})() diff --git a/packages/next/src/server/config-schema.ts b/packages/next/src/server/config-schema.ts index d51ee7c75959..b2f974bc69c2 100644 --- a/packages/next/src/server/config-schema.ts +++ b/packages/next/src/server/config-schema.ts @@ -473,6 +473,9 @@ const configSchema = { }, }, }, + optimizePackageImports: { + type: 'array', + }, instrumentationHook: { type: 'boolean', }, diff --git a/packages/next/src/server/config-shared.ts b/packages/next/src/server/config-shared.ts index 870528c8c204..a9e34c7c0b6c 100644 --- a/packages/next/src/server/config-shared.ts +++ b/packages/next/src/server/config-shared.ts @@ -236,6 +236,11 @@ export interface ExperimentalConfig { webVitalsAttribution?: Array<(typeof WEB_VITALS)[number]> + /** + * Automatically apply the "modularizeImports" optimization to imports of the specified packages. + */ + optimizePackageImports?: string[] + turbo?: ExperimentalTurboOptions turbotrace?: { logLevel?: diff --git a/packages/next/src/server/config.ts b/packages/next/src/server/config.ts index 45dbc0b227d6..29ffc2161694 100644 --- a/packages/next/src/server/config.ts +++ b/packages/next/src/server/config.ts @@ -678,57 +678,15 @@ function assignDefaults( 'lodash-es': { transform: 'lodash-es/{{member}}', }, - 'lucide-react': { - // Note that we need to first resolve to the base path (`lucide-react`) and join the subpath, - // instead of just resolving `lucide-react/esm/icons/{{kebabCase member}}` because this package - // doesn't have proper `exports` fields for individual icons in its package.json. - transform: { - // Special aliases - '(SortAsc|LucideSortAsc|SortAscIcon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/arrow-up-narrow-wide!lucide-react', - '(SortDesc|LucideSortDesc|SortDescIcon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/arrow-down-wide-narrow!lucide-react', - '(Verified|LucideVerified|VerifiedIcon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/badge-check!lucide-react', - '(Slash|LucideSlash|SlashIcon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/ban!lucide-react', - '(CurlyBraces|LucideCurlyBraces|CurlyBracesIcon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/braces!lucide-react', - '(CircleSlashed|LucideCircleSlashed|CircleSlashedIcon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/circle-slash-2!lucide-react', - '(SquareGantt|LucideSquareGantt|SquareGanttIcon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/gantt-chart-square!lucide-react', - '(SquareKanbanDashed|LucideSquareKanbanDashed|SquareKanbanDashedIcon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/kanban-square-dashed!lucide-react', - '(SquareKanban|LucideSquareKanban|SquareKanbanIcon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/kanban-square!lucide-react', - '(Edit3|LucideEdit3|Edit3Icon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/pen-line!lucide-react', - '(Edit|LucideEdit|EditIcon|PenBox|LucidePenBox|PenBoxIcon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/pen-square!lucide-react', - '(Edit2|LucideEdit2|Edit2Icon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/pen!lucide-react', - '(Stars|LucideStars|StarsIcon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/sparkles!lucide-react', - '(TextSelection|LucideTextSelection|TextSelectionIcon)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/text-select!lucide-react', - // General rules - 'Lucide(.*)': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/{{ kebabCase memberMatches.[1] }}!lucide-react', - '(.*)Icon': - 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/{{ kebabCase memberMatches.[1] }}!lucide-react', - '*': 'modularize-import-loader?name={{ member }}&from=default&as=default&join=../esm/icons/{{ kebabCase member }}!lucide-react', - }, - }, - '@headlessui/react': { - transform: { - Transition: - 'modularize-import-loader?name={{member}}&join=./components/transitions/transition!@headlessui/react', - Tab: 'modularize-import-loader?name={{member}}&join=./components/tabs/tabs!@headlessui/react', - '*': 'modularize-import-loader?name={{member}}&join=./components/{{ kebabCase member }}/{{ kebabCase member }}!@headlessui/react', - }, - skipDefaultConversion: true, - }, + // '@headlessui/react': { + // transform: { + // Transition: + // 'modularize-import-loader?name={{member}}&join=./components/transitions/transition!@headlessui/react', + // Tab: 'modularize-import-loader?name={{member}}&join=./components/tabs/tabs!@headlessui/react', + // '*': 'modularize-import-loader?name={{member}}&join=./components/{{ kebabCase member }}/{{ kebabCase member }}!@headlessui/react', + // }, + // skipDefaultConversion: true, + // }, '@heroicons/react/20/solid': { transform: '@heroicons/react/20/solid/esm/{{member}}', }, @@ -775,6 +733,15 @@ function assignDefaults( }, } + const userProvidedOptimizePackageImports = + result.experimental?.optimizePackageImports || [] + if (!result.experimental) { + result.experimental = {} + } + result.experimental.optimizePackageImports = [ + ...new Set([...userProvidedOptimizePackageImports, 'lucide-react']), + ] + return result } diff --git a/test/development/basic/auto-modularize-imports/app/layout.js b/test/development/basic/auto-modularize-imports/app/layout.js deleted file mode 100644 index 8525f5f8c0b2..000000000000 --- a/test/development/basic/auto-modularize-imports/app/layout.js +++ /dev/null @@ -1,12 +0,0 @@ -export const metadata = { - title: 'Next.js', - description: 'Generated by Next.js', -} - -export default function RootLayout({ children }) { - return ( - - {children} - - ) -} diff --git a/test/development/basic/auto-modularize-imports/app/page.js b/test/development/basic/auto-modularize-imports/app/page.js deleted file mode 100644 index 501ce5d14592..000000000000 --- a/test/development/basic/auto-modularize-imports/app/page.js +++ /dev/null @@ -1,11 +0,0 @@ -'use client' - -import { IceCream } from 'lucide-react' - -export default function Page() { - return ( -
- -
- ) -} From b0bea494573eebad3461a0dc25b44f22a0d0a0d1 Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Fri, 25 Aug 2023 19:29:40 +0200 Subject: [PATCH 3/4] revert unintended changes --- packages/next/src/compiled/webpack/bundle5.js | 131012 +-------------- 1 file changed, 15 insertions(+), 130997 deletions(-) diff --git a/packages/next/src/compiled/webpack/bundle5.js b/packages/next/src/compiled/webpack/bundle5.js index 3912e0870de4..3dd946ff80c9 100644 --- a/packages/next/src/compiled/webpack/bundle5.js +++ b/packages/next/src/compiled/webpack/bundle5.js @@ -1,17341 +1,17 @@ -;(function () { - var k = { - 75583: function (k, v) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.cloneNode = cloneNode - function cloneNode(k) { - return Object.assign({}, k) - } - }, - 26333: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - var P = { - numberLiteralFromRaw: true, - withLoc: true, - withRaw: true, - funcParam: true, - indexLiteral: true, - memIndexLiteral: true, - instruction: true, - objectInstruction: true, - traverse: true, - signatures: true, - cloneNode: true, - moduleContextFromModuleAST: true, - } - Object.defineProperty(v, 'numberLiteralFromRaw', { - enumerable: true, - get: function get() { - return L.numberLiteralFromRaw - }, - }) - Object.defineProperty(v, 'withLoc', { - enumerable: true, - get: function get() { - return L.withLoc - }, - }) - Object.defineProperty(v, 'withRaw', { - enumerable: true, - get: function get() { - return L.withRaw - }, - }) - Object.defineProperty(v, 'funcParam', { - enumerable: true, - get: function get() { - return L.funcParam - }, - }) - Object.defineProperty(v, 'indexLiteral', { - enumerable: true, - get: function get() { - return L.indexLiteral - }, - }) - Object.defineProperty(v, 'memIndexLiteral', { - enumerable: true, - get: function get() { - return L.memIndexLiteral - }, - }) - Object.defineProperty(v, 'instruction', { - enumerable: true, - get: function get() { - return L.instruction - }, - }) - Object.defineProperty(v, 'objectInstruction', { - enumerable: true, - get: function get() { - return L.objectInstruction - }, - }) - Object.defineProperty(v, 'traverse', { - enumerable: true, - get: function get() { - return N.traverse - }, - }) - Object.defineProperty(v, 'signatures', { - enumerable: true, - get: function get() { - return q.signatures - }, - }) - Object.defineProperty(v, 'cloneNode', { - enumerable: true, - get: function get() { - return le.cloneNode - }, - }) - Object.defineProperty(v, 'moduleContextFromModuleAST', { - enumerable: true, - get: function get() { - return pe.moduleContextFromModuleAST - }, - }) - var R = E(860) - Object.keys(R).forEach(function (k) { - if (k === 'default' || k === '__esModule') return - if (Object.prototype.hasOwnProperty.call(P, k)) return - if (k in v && v[k] === R[k]) return - Object.defineProperty(v, k, { - enumerable: true, - get: function get() { - return R[k] - }, - }) - }) - var L = E(68958) - var N = E(11885) - var q = E(96395) - var ae = E(20885) - Object.keys(ae).forEach(function (k) { - if (k === 'default' || k === '__esModule') return - if (Object.prototype.hasOwnProperty.call(P, k)) return - if (k in v && v[k] === ae[k]) return - Object.defineProperty(v, k, { - enumerable: true, - get: function get() { - return ae[k] - }, - }) - }) - var le = E(75583) - var pe = E(15067) - }, - 68958: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.numberLiteralFromRaw = numberLiteralFromRaw - v.instruction = instruction - v.objectInstruction = objectInstruction - v.withLoc = withLoc - v.withRaw = withRaw - v.funcParam = funcParam - v.indexLiteral = indexLiteral - v.memIndexLiteral = memIndexLiteral - var P = E(37197) - var R = E(860) - function numberLiteralFromRaw(k) { - var v = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : 'i32' - var E = k - if (typeof k === 'string') { - k = k.replace(/_/g, '') - } - if (typeof k === 'number') { - return (0, R.numberLiteral)(k, String(E)) - } else { - switch (v) { - case 'i32': { - return (0, R.numberLiteral)((0, P.parse32I)(k), String(E)) - } - case 'u32': { - return (0, R.numberLiteral)((0, P.parseU32)(k), String(E)) - } - case 'i64': { - return (0, R.longNumberLiteral)((0, P.parse64I)(k), String(E)) - } - case 'f32': { - return (0, R.floatLiteral)( - (0, P.parse32F)(k), - (0, P.isNanLiteral)(k), - (0, P.isInfLiteral)(k), - String(E) - ) - } - default: { - return (0, R.floatLiteral)( - (0, P.parse64F)(k), - (0, P.isNanLiteral)(k), - (0, P.isInfLiteral)(k), - String(E) - ) - } - } - } - } - function instruction(k) { - var v = - arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [] - var E = - arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {} - return (0, R.instr)(k, undefined, v, E) - } - function objectInstruction(k, v) { - var E = - arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [] - var P = - arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {} - return (0, R.instr)(k, v, E, P) - } - function withLoc(k, v, E) { - var P = { start: E, end: v } - k.loc = P - return k - } - function withRaw(k, v) { - k.raw = v - return k - } - function funcParam(k, v) { - return { id: v, valtype: k } - } - function indexLiteral(k) { - var v = numberLiteralFromRaw(k, 'u32') - return v - } - function memIndexLiteral(k) { - var v = numberLiteralFromRaw(k, 'u32') - return v - } - }, - 92489: function (k, v) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.createPath = createPath - function ownKeys(k, v) { - var E = Object.keys(k) - if (Object.getOwnPropertySymbols) { - var P = Object.getOwnPropertySymbols(k) - if (v) { - P = P.filter(function (v) { - return Object.getOwnPropertyDescriptor(k, v).enumerable - }) - } - E.push.apply(E, P) - } - return E - } - function _objectSpread(k) { - for (var v = 1; v < arguments.length; v++) { - var E = arguments[v] != null ? arguments[v] : {} - if (v % 2) { - ownKeys(Object(E), true).forEach(function (v) { - _defineProperty(k, v, E[v]) - }) - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(k, Object.getOwnPropertyDescriptors(E)) - } else { - ownKeys(Object(E)).forEach(function (v) { - Object.defineProperty(k, v, Object.getOwnPropertyDescriptor(E, v)) - }) - } - } - return k - } - function _defineProperty(k, v, E) { - if (v in k) { - Object.defineProperty(k, v, { - value: E, - enumerable: true, - configurable: true, - writable: true, - }) - } else { - k[v] = E - } - return k - } - function findParent(k, v) { - var E = k.parentPath - if (E == null) { - throw new Error('node is root') - } - var P = E - while (v(P) !== false) { - if (P.parentPath == null) { - return null - } - P = P.parentPath - } - return P.node - } - function insertBefore(k, v) { - return insert(k, v) - } - function insertAfter(k, v) { - return insert(k, v, 1) - } - function insert(k, v) { - var E = k.node, - P = k.inList, - R = k.parentPath, - L = k.parentKey - var N = - arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0 - if (!P) { - throw new Error( - 'inList' + - ' error: ' + - ('insert can only be used for nodes that are within lists' || 0) - ) - } - if (!(R != null)) { - throw new Error( - 'parentPath != null' + - ' error: ' + - ('Can not remove root node' || 0) - ) - } - var q = R.node[L] - var ae = q.findIndex(function (k) { - return k === E - }) - q.splice(ae + N, 0, v) - } - function remove(k) { - var v = k.node, - E = k.parentKey, - P = k.parentPath - if (!(P != null)) { - throw new Error( - 'parentPath != null' + - ' error: ' + - ('Can not remove root node' || 0) - ) - } - var R = P.node - var L = R[E] - if (Array.isArray(L)) { - R[E] = L.filter(function (k) { - return k !== v - }) - } else { - delete R[E] - } - v._deleted = true - } - function stop(k) { - k.shouldStop = true - } - function replaceWith(k, v) { - var E = k.parentPath.node - var P = E[k.parentKey] - if (Array.isArray(P)) { - var R = P.findIndex(function (v) { - return v === k.node - }) - P.splice(R, 1, v) - } else { - E[k.parentKey] = v - } - k.node._deleted = true - k.node = v - } - function bindNodeOperations(k, v) { - var E = Object.keys(k) - var P = {} - E.forEach(function (E) { - P[E] = k[E].bind(null, v) - }) - return P - } - function createPathOperations(k) { - return bindNodeOperations( - { - findParent: findParent, - replaceWith: replaceWith, - remove: remove, - insertBefore: insertBefore, - insertAfter: insertAfter, - stop: stop, - }, - k - ) - } - function createPath(k) { - var v = _objectSpread({}, k) - Object.assign(v, createPathOperations(v)) - return v - } - }, - 860: function (k, v) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.module = _module - v.moduleMetadata = moduleMetadata - v.moduleNameMetadata = moduleNameMetadata - v.functionNameMetadata = functionNameMetadata - v.localNameMetadata = localNameMetadata - v.binaryModule = binaryModule - v.quoteModule = quoteModule - v.sectionMetadata = sectionMetadata - v.producersSectionMetadata = producersSectionMetadata - v.producerMetadata = producerMetadata - v.producerMetadataVersionedName = producerMetadataVersionedName - v.loopInstruction = loopInstruction - v.instr = instr - v.ifInstruction = ifInstruction - v.stringLiteral = stringLiteral - v.numberLiteral = numberLiteral - v.longNumberLiteral = longNumberLiteral - v.floatLiteral = floatLiteral - v.elem = elem - v.indexInFuncSection = indexInFuncSection - v.valtypeLiteral = valtypeLiteral - v.typeInstruction = typeInstruction - v.start = start - v.globalType = globalType - v.leadingComment = leadingComment - v.blockComment = blockComment - v.data = data - v.global = global - v.table = table - v.memory = memory - v.funcImportDescr = funcImportDescr - v.moduleImport = moduleImport - v.moduleExportDescr = moduleExportDescr - v.moduleExport = moduleExport - v.limit = limit - v.signature = signature - v.program = program - v.identifier = identifier - v.blockInstruction = blockInstruction - v.callInstruction = callInstruction - v.callIndirectInstruction = callIndirectInstruction - v.byteArray = byteArray - v.func = func - v.internalBrUnless = internalBrUnless - v.internalGoto = internalGoto - v.internalCallExtern = internalCallExtern - v.internalEndAndReturn = internalEndAndReturn - v.assertInternalCallExtern = - v.assertInternalGoto = - v.assertInternalBrUnless = - v.assertFunc = - v.assertByteArray = - v.assertCallIndirectInstruction = - v.assertCallInstruction = - v.assertBlockInstruction = - v.assertIdentifier = - v.assertProgram = - v.assertSignature = - v.assertLimit = - v.assertModuleExport = - v.assertModuleExportDescr = - v.assertModuleImport = - v.assertFuncImportDescr = - v.assertMemory = - v.assertTable = - v.assertGlobal = - v.assertData = - v.assertBlockComment = - v.assertLeadingComment = - v.assertGlobalType = - v.assertStart = - v.assertTypeInstruction = - v.assertValtypeLiteral = - v.assertIndexInFuncSection = - v.assertElem = - v.assertFloatLiteral = - v.assertLongNumberLiteral = - v.assertNumberLiteral = - v.assertStringLiteral = - v.assertIfInstruction = - v.assertInstr = - v.assertLoopInstruction = - v.assertProducerMetadataVersionedName = - v.assertProducerMetadata = - v.assertProducersSectionMetadata = - v.assertSectionMetadata = - v.assertQuoteModule = - v.assertBinaryModule = - v.assertLocalNameMetadata = - v.assertFunctionNameMetadata = - v.assertModuleNameMetadata = - v.assertModuleMetadata = - v.assertModule = - v.isIntrinsic = - v.isImportDescr = - v.isNumericLiteral = - v.isExpression = - v.isInstruction = - v.isBlock = - v.isNode = - v.isInternalEndAndReturn = - v.isInternalCallExtern = - v.isInternalGoto = - v.isInternalBrUnless = - v.isFunc = - v.isByteArray = - v.isCallIndirectInstruction = - v.isCallInstruction = - v.isBlockInstruction = - v.isIdentifier = - v.isProgram = - v.isSignature = - v.isLimit = - v.isModuleExport = - v.isModuleExportDescr = - v.isModuleImport = - v.isFuncImportDescr = - v.isMemory = - v.isTable = - v.isGlobal = - v.isData = - v.isBlockComment = - v.isLeadingComment = - v.isGlobalType = - v.isStart = - v.isTypeInstruction = - v.isValtypeLiteral = - v.isIndexInFuncSection = - v.isElem = - v.isFloatLiteral = - v.isLongNumberLiteral = - v.isNumberLiteral = - v.isStringLiteral = - v.isIfInstruction = - v.isInstr = - v.isLoopInstruction = - v.isProducerMetadataVersionedName = - v.isProducerMetadata = - v.isProducersSectionMetadata = - v.isSectionMetadata = - v.isQuoteModule = - v.isBinaryModule = - v.isLocalNameMetadata = - v.isFunctionNameMetadata = - v.isModuleNameMetadata = - v.isModuleMetadata = - v.isModule = - void 0 - v.nodeAndUnionTypes = - v.unionTypesMap = - v.assertInternalEndAndReturn = - void 0 - function _typeof(k) { - '@babel/helpers - typeof' - if ( - typeof Symbol === 'function' && - typeof Symbol.iterator === 'symbol' - ) { - _typeof = function _typeof(k) { - return typeof k - } - } else { - _typeof = function _typeof(k) { - return k && - typeof Symbol === 'function' && - k.constructor === Symbol && - k !== Symbol.prototype - ? 'symbol' - : typeof k - } - } - return _typeof(k) - } - function isTypeOf(k) { - return function (v) { - return v.type === k - } - } - function assertTypeOf(k) { - return function (v) { - return (function () { - if (!(v.type === k)) { - throw new Error( - 'n.type === t' + ' error: ' + (undefined || 'unknown') - ) - } - })() - } - } - function _module(k, v, E) { - if (k !== null && k !== undefined) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof id === "string"' + - ' error: ' + - ('Argument id must be of type string, given: ' + _typeof(k) || - 0) - ) - } - } - if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { - throw new Error( - 'typeof fields === "object" && typeof fields.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var P = { type: 'Module', id: k, fields: v } - if (typeof E !== 'undefined') { - P.metadata = E - } - return P - } - function moduleMetadata(k, v, E, P) { - if (!(_typeof(k) === 'object' && typeof k.length !== 'undefined')) { - throw new Error( - 'typeof sections === "object" && typeof sections.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - if (v !== null && v !== undefined) { - if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { - throw new Error( - 'typeof functionNames === "object" && typeof functionNames.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - } - if (E !== null && E !== undefined) { - if (!(_typeof(E) === 'object' && typeof E.length !== 'undefined')) { - throw new Error( - 'typeof localNames === "object" && typeof localNames.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - } - if (P !== null && P !== undefined) { - if (!(_typeof(P) === 'object' && typeof P.length !== 'undefined')) { - throw new Error( - 'typeof producers === "object" && typeof producers.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - } - var R = { type: 'ModuleMetadata', sections: k } - if (typeof v !== 'undefined' && v.length > 0) { - R.functionNames = v - } - if (typeof E !== 'undefined' && E.length > 0) { - R.localNames = E - } - if (typeof P !== 'undefined' && P.length > 0) { - R.producers = P - } - return R - } - function moduleNameMetadata(k) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof value === "string"' + - ' error: ' + - ('Argument value must be of type string, given: ' + _typeof(k) || - 0) - ) - } - var v = { type: 'ModuleNameMetadata', value: k } - return v - } - function functionNameMetadata(k, v) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof value === "string"' + - ' error: ' + - ('Argument value must be of type string, given: ' + _typeof(k) || - 0) - ) - } - if (!(typeof v === 'number')) { - throw new Error( - 'typeof index === "number"' + - ' error: ' + - ('Argument index must be of type number, given: ' + _typeof(v) || - 0) - ) - } - var E = { type: 'FunctionNameMetadata', value: k, index: v } - return E - } - function localNameMetadata(k, v, E) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof value === "string"' + - ' error: ' + - ('Argument value must be of type string, given: ' + _typeof(k) || - 0) - ) - } - if (!(typeof v === 'number')) { - throw new Error( - 'typeof localIndex === "number"' + - ' error: ' + - ('Argument localIndex must be of type number, given: ' + - _typeof(v) || 0) - ) - } - if (!(typeof E === 'number')) { - throw new Error( - 'typeof functionIndex === "number"' + - ' error: ' + - ('Argument functionIndex must be of type number, given: ' + - _typeof(E) || 0) - ) - } - var P = { - type: 'LocalNameMetadata', - value: k, - localIndex: v, - functionIndex: E, - } - return P - } - function binaryModule(k, v) { - if (k !== null && k !== undefined) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof id === "string"' + - ' error: ' + - ('Argument id must be of type string, given: ' + _typeof(k) || - 0) - ) - } - } - if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { - throw new Error( - 'typeof blob === "object" && typeof blob.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var E = { type: 'BinaryModule', id: k, blob: v } - return E - } - function quoteModule(k, v) { - if (k !== null && k !== undefined) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof id === "string"' + - ' error: ' + - ('Argument id must be of type string, given: ' + _typeof(k) || - 0) - ) - } - } - if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { - throw new Error( - 'typeof string === "object" && typeof string.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var E = { type: 'QuoteModule', id: k, string: v } - return E - } - function sectionMetadata(k, v, E, P) { - if (!(typeof v === 'number')) { - throw new Error( - 'typeof startOffset === "number"' + - ' error: ' + - ('Argument startOffset must be of type number, given: ' + - _typeof(v) || 0) - ) - } - var R = { - type: 'SectionMetadata', - section: k, - startOffset: v, - size: E, - vectorOfSize: P, - } - return R - } - function producersSectionMetadata(k) { - if (!(_typeof(k) === 'object' && typeof k.length !== 'undefined')) { - throw new Error( - 'typeof producers === "object" && typeof producers.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var v = { type: 'ProducersSectionMetadata', producers: k } - return v - } - function producerMetadata(k, v, E) { - if (!(_typeof(k) === 'object' && typeof k.length !== 'undefined')) { - throw new Error( - 'typeof language === "object" && typeof language.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { - throw new Error( - 'typeof processedBy === "object" && typeof processedBy.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - if (!(_typeof(E) === 'object' && typeof E.length !== 'undefined')) { - throw new Error( - 'typeof sdk === "object" && typeof sdk.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var P = { - type: 'ProducerMetadata', - language: k, - processedBy: v, - sdk: E, - } - return P - } - function producerMetadataVersionedName(k, v) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof name === "string"' + - ' error: ' + - ('Argument name must be of type string, given: ' + _typeof(k) || - 0) - ) - } - if (!(typeof v === 'string')) { - throw new Error( - 'typeof version === "string"' + - ' error: ' + - ('Argument version must be of type string, given: ' + - _typeof(v) || 0) - ) - } - var E = { type: 'ProducerMetadataVersionedName', name: k, version: v } - return E - } - function loopInstruction(k, v, E) { - if (!(_typeof(E) === 'object' && typeof E.length !== 'undefined')) { - throw new Error( - 'typeof instr === "object" && typeof instr.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var P = { - type: 'LoopInstruction', - id: 'loop', - label: k, - resulttype: v, - instr: E, - } - return P - } - function instr(k, v, E, P) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof id === "string"' + - ' error: ' + - ('Argument id must be of type string, given: ' + _typeof(k) || 0) - ) - } - if (!(_typeof(E) === 'object' && typeof E.length !== 'undefined')) { - throw new Error( - 'typeof args === "object" && typeof args.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var R = { type: 'Instr', id: k, args: E } - if (typeof v !== 'undefined') { - R.object = v - } - if (typeof P !== 'undefined' && Object.keys(P).length !== 0) { - R.namedArgs = P - } - return R - } - function ifInstruction(k, v, E, P, R) { - if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { - throw new Error( - 'typeof test === "object" && typeof test.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - if (!(_typeof(P) === 'object' && typeof P.length !== 'undefined')) { - throw new Error( - 'typeof consequent === "object" && typeof consequent.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - if (!(_typeof(R) === 'object' && typeof R.length !== 'undefined')) { - throw new Error( - 'typeof alternate === "object" && typeof alternate.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var L = { - type: 'IfInstruction', - id: 'if', - testLabel: k, - test: v, - result: E, - consequent: P, - alternate: R, - } - return L - } - function stringLiteral(k) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof value === "string"' + - ' error: ' + - ('Argument value must be of type string, given: ' + _typeof(k) || - 0) - ) - } - var v = { type: 'StringLiteral', value: k } - return v - } - function numberLiteral(k, v) { - if (!(typeof k === 'number')) { - throw new Error( - 'typeof value === "number"' + - ' error: ' + - ('Argument value must be of type number, given: ' + _typeof(k) || - 0) - ) - } - if (!(typeof v === 'string')) { - throw new Error( - 'typeof raw === "string"' + - ' error: ' + - ('Argument raw must be of type string, given: ' + _typeof(v) || 0) - ) - } - var E = { type: 'NumberLiteral', value: k, raw: v } - return E - } - function longNumberLiteral(k, v) { - if (!(typeof v === 'string')) { - throw new Error( - 'typeof raw === "string"' + - ' error: ' + - ('Argument raw must be of type string, given: ' + _typeof(v) || 0) - ) - } - var E = { type: 'LongNumberLiteral', value: k, raw: v } - return E - } - function floatLiteral(k, v, E, P) { - if (!(typeof k === 'number')) { - throw new Error( - 'typeof value === "number"' + - ' error: ' + - ('Argument value must be of type number, given: ' + _typeof(k) || - 0) - ) - } - if (v !== null && v !== undefined) { - if (!(typeof v === 'boolean')) { - throw new Error( - 'typeof nan === "boolean"' + - ' error: ' + - ('Argument nan must be of type boolean, given: ' + _typeof(v) || - 0) - ) - } - } - if (E !== null && E !== undefined) { - if (!(typeof E === 'boolean')) { - throw new Error( - 'typeof inf === "boolean"' + - ' error: ' + - ('Argument inf must be of type boolean, given: ' + _typeof(E) || - 0) - ) - } - } - if (!(typeof P === 'string')) { - throw new Error( - 'typeof raw === "string"' + - ' error: ' + - ('Argument raw must be of type string, given: ' + _typeof(P) || 0) - ) - } - var R = { type: 'FloatLiteral', value: k, raw: P } - if (v === true) { - R.nan = true - } - if (E === true) { - R.inf = true - } - return R - } - function elem(k, v, E) { - if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { - throw new Error( - 'typeof offset === "object" && typeof offset.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - if (!(_typeof(E) === 'object' && typeof E.length !== 'undefined')) { - throw new Error( - 'typeof funcs === "object" && typeof funcs.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var P = { type: 'Elem', table: k, offset: v, funcs: E } - return P - } - function indexInFuncSection(k) { - var v = { type: 'IndexInFuncSection', index: k } - return v - } - function valtypeLiteral(k) { - var v = { type: 'ValtypeLiteral', name: k } - return v - } - function typeInstruction(k, v) { - var E = { type: 'TypeInstruction', id: k, functype: v } - return E - } - function start(k) { - var v = { type: 'Start', index: k } - return v - } - function globalType(k, v) { - var E = { type: 'GlobalType', valtype: k, mutability: v } - return E - } - function leadingComment(k) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof value === "string"' + - ' error: ' + - ('Argument value must be of type string, given: ' + _typeof(k) || - 0) - ) - } - var v = { type: 'LeadingComment', value: k } - return v - } - function blockComment(k) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof value === "string"' + - ' error: ' + - ('Argument value must be of type string, given: ' + _typeof(k) || - 0) - ) - } - var v = { type: 'BlockComment', value: k } - return v - } - function data(k, v, E) { - var P = { type: 'Data', memoryIndex: k, offset: v, init: E } - return P - } - function global(k, v, E) { - if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { - throw new Error( - 'typeof init === "object" && typeof init.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var P = { type: 'Global', globalType: k, init: v, name: E } - return P - } - function table(k, v, E, P) { - if (!(v.type === 'Limit')) { - throw new Error( - 'limits.type === "Limit"' + - ' error: ' + - ('Argument limits must be of type Limit, given: ' + v.type || 0) - ) - } - if (P !== null && P !== undefined) { - if (!(_typeof(P) === 'object' && typeof P.length !== 'undefined')) { - throw new Error( - 'typeof elements === "object" && typeof elements.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - } - var R = { type: 'Table', elementType: k, limits: v, name: E } - if (typeof P !== 'undefined' && P.length > 0) { - R.elements = P - } - return R - } - function memory(k, v) { - var E = { type: 'Memory', limits: k, id: v } - return E - } - function funcImportDescr(k, v) { - var E = { type: 'FuncImportDescr', id: k, signature: v } - return E - } - function moduleImport(k, v, E) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof module === "string"' + - ' error: ' + - ('Argument module must be of type string, given: ' + _typeof(k) || - 0) - ) - } - if (!(typeof v === 'string')) { - throw new Error( - 'typeof name === "string"' + - ' error: ' + - ('Argument name must be of type string, given: ' + _typeof(v) || - 0) - ) - } - var P = { type: 'ModuleImport', module: k, name: v, descr: E } - return P - } - function moduleExportDescr(k, v) { - var E = { type: 'ModuleExportDescr', exportType: k, id: v } - return E - } - function moduleExport(k, v) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof name === "string"' + - ' error: ' + - ('Argument name must be of type string, given: ' + _typeof(k) || - 0) - ) - } - var E = { type: 'ModuleExport', name: k, descr: v } - return E - } - function limit(k, v, E) { - if (!(typeof k === 'number')) { - throw new Error( - 'typeof min === "number"' + - ' error: ' + - ('Argument min must be of type number, given: ' + _typeof(k) || 0) - ) - } - if (v !== null && v !== undefined) { - if (!(typeof v === 'number')) { - throw new Error( - 'typeof max === "number"' + - ' error: ' + - ('Argument max must be of type number, given: ' + _typeof(v) || - 0) - ) - } - } - if (E !== null && E !== undefined) { - if (!(typeof E === 'boolean')) { - throw new Error( - 'typeof shared === "boolean"' + - ' error: ' + - ('Argument shared must be of type boolean, given: ' + - _typeof(E) || 0) - ) - } - } - var P = { type: 'Limit', min: k } - if (typeof v !== 'undefined') { - P.max = v - } - if (E === true) { - P.shared = true - } - return P - } - function signature(k, v) { - if (!(_typeof(k) === 'object' && typeof k.length !== 'undefined')) { - throw new Error( - 'typeof params === "object" && typeof params.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { - throw new Error( - 'typeof results === "object" && typeof results.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var E = { type: 'Signature', params: k, results: v } - return E - } - function program(k) { - if (!(_typeof(k) === 'object' && typeof k.length !== 'undefined')) { - throw new Error( - 'typeof body === "object" && typeof body.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var v = { type: 'Program', body: k } - return v - } - function identifier(k, v) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof value === "string"' + - ' error: ' + - ('Argument value must be of type string, given: ' + _typeof(k) || - 0) - ) - } - if (v !== null && v !== undefined) { - if (!(typeof v === 'string')) { - throw new Error( - 'typeof raw === "string"' + - ' error: ' + - ('Argument raw must be of type string, given: ' + _typeof(v) || - 0) - ) - } - } - var E = { type: 'Identifier', value: k } - if (typeof v !== 'undefined') { - E.raw = v - } - return E - } - function blockInstruction(k, v, E) { - if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { - throw new Error( - 'typeof instr === "object" && typeof instr.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var P = { - type: 'BlockInstruction', - id: 'block', - label: k, - instr: v, - result: E, - } - return P - } - function callInstruction(k, v, E) { - if (v !== null && v !== undefined) { - if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { - throw new Error( - 'typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - } - var P = { type: 'CallInstruction', id: 'call', index: k } - if (typeof v !== 'undefined' && v.length > 0) { - P.instrArgs = v - } - if (typeof E !== 'undefined') { - P.numeric = E - } - return P - } - function callIndirectInstruction(k, v) { - if (v !== null && v !== undefined) { - if (!(_typeof(v) === 'object' && typeof v.length !== 'undefined')) { - throw new Error( - 'typeof intrs === "object" && typeof intrs.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - } - var E = { - type: 'CallIndirectInstruction', - id: 'call_indirect', - signature: k, - } - if (typeof v !== 'undefined' && v.length > 0) { - E.intrs = v - } - return E - } - function byteArray(k) { - if (!(_typeof(k) === 'object' && typeof k.length !== 'undefined')) { - throw new Error( - 'typeof values === "object" && typeof values.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - var v = { type: 'ByteArray', values: k } - return v - } - function func(k, v, E, P, R) { - if (!(_typeof(E) === 'object' && typeof E.length !== 'undefined')) { - throw new Error( - 'typeof body === "object" && typeof body.length !== "undefined"' + - ' error: ' + - (undefined || 'unknown') - ) - } - if (P !== null && P !== undefined) { - if (!(typeof P === 'boolean')) { - throw new Error( - 'typeof isExternal === "boolean"' + - ' error: ' + - ('Argument isExternal must be of type boolean, given: ' + - _typeof(P) || 0) - ) - } - } - var L = { type: 'Func', name: k, signature: v, body: E } - if (P === true) { - L.isExternal = true - } - if (typeof R !== 'undefined') { - L.metadata = R - } - return L - } - function internalBrUnless(k) { - if (!(typeof k === 'number')) { - throw new Error( - 'typeof target === "number"' + - ' error: ' + - ('Argument target must be of type number, given: ' + _typeof(k) || - 0) - ) - } - var v = { type: 'InternalBrUnless', target: k } - return v - } - function internalGoto(k) { - if (!(typeof k === 'number')) { - throw new Error( - 'typeof target === "number"' + - ' error: ' + - ('Argument target must be of type number, given: ' + _typeof(k) || - 0) - ) - } - var v = { type: 'InternalGoto', target: k } - return v - } - function internalCallExtern(k) { - if (!(typeof k === 'number')) { - throw new Error( - 'typeof target === "number"' + - ' error: ' + - ('Argument target must be of type number, given: ' + _typeof(k) || - 0) - ) - } - var v = { type: 'InternalCallExtern', target: k } - return v - } - function internalEndAndReturn() { - var k = { type: 'InternalEndAndReturn' } - return k - } - var E = isTypeOf('Module') - v.isModule = E - var P = isTypeOf('ModuleMetadata') - v.isModuleMetadata = P - var R = isTypeOf('ModuleNameMetadata') - v.isModuleNameMetadata = R - var L = isTypeOf('FunctionNameMetadata') - v.isFunctionNameMetadata = L - var N = isTypeOf('LocalNameMetadata') - v.isLocalNameMetadata = N - var q = isTypeOf('BinaryModule') - v.isBinaryModule = q - var ae = isTypeOf('QuoteModule') - v.isQuoteModule = ae - var le = isTypeOf('SectionMetadata') - v.isSectionMetadata = le - var pe = isTypeOf('ProducersSectionMetadata') - v.isProducersSectionMetadata = pe - var me = isTypeOf('ProducerMetadata') - v.isProducerMetadata = me - var ye = isTypeOf('ProducerMetadataVersionedName') - v.isProducerMetadataVersionedName = ye - var _e = isTypeOf('LoopInstruction') - v.isLoopInstruction = _e - var Ie = isTypeOf('Instr') - v.isInstr = Ie - var Me = isTypeOf('IfInstruction') - v.isIfInstruction = Me - var Te = isTypeOf('StringLiteral') - v.isStringLiteral = Te - var je = isTypeOf('NumberLiteral') - v.isNumberLiteral = je - var Ne = isTypeOf('LongNumberLiteral') - v.isLongNumberLiteral = Ne - var Be = isTypeOf('FloatLiteral') - v.isFloatLiteral = Be - var qe = isTypeOf('Elem') - v.isElem = qe - var Ue = isTypeOf('IndexInFuncSection') - v.isIndexInFuncSection = Ue - var Ge = isTypeOf('ValtypeLiteral') - v.isValtypeLiteral = Ge - var He = isTypeOf('TypeInstruction') - v.isTypeInstruction = He - var We = isTypeOf('Start') - v.isStart = We - var Qe = isTypeOf('GlobalType') - v.isGlobalType = Qe - var Je = isTypeOf('LeadingComment') - v.isLeadingComment = Je - var Ve = isTypeOf('BlockComment') - v.isBlockComment = Ve - var Ke = isTypeOf('Data') - v.isData = Ke - var Ye = isTypeOf('Global') - v.isGlobal = Ye - var Xe = isTypeOf('Table') - v.isTable = Xe - var Ze = isTypeOf('Memory') - v.isMemory = Ze - var et = isTypeOf('FuncImportDescr') - v.isFuncImportDescr = et - var tt = isTypeOf('ModuleImport') - v.isModuleImport = tt - var nt = isTypeOf('ModuleExportDescr') - v.isModuleExportDescr = nt - var st = isTypeOf('ModuleExport') - v.isModuleExport = st - var rt = isTypeOf('Limit') - v.isLimit = rt - var ot = isTypeOf('Signature') - v.isSignature = ot - var it = isTypeOf('Program') - v.isProgram = it - var at = isTypeOf('Identifier') - v.isIdentifier = at - var ct = isTypeOf('BlockInstruction') - v.isBlockInstruction = ct - var lt = isTypeOf('CallInstruction') - v.isCallInstruction = lt - var ut = isTypeOf('CallIndirectInstruction') - v.isCallIndirectInstruction = ut - var pt = isTypeOf('ByteArray') - v.isByteArray = pt - var dt = isTypeOf('Func') - v.isFunc = dt - var ft = isTypeOf('InternalBrUnless') - v.isInternalBrUnless = ft - var ht = isTypeOf('InternalGoto') - v.isInternalGoto = ht - var mt = isTypeOf('InternalCallExtern') - v.isInternalCallExtern = mt - var gt = isTypeOf('InternalEndAndReturn') - v.isInternalEndAndReturn = gt - var yt = function isNode(k) { - return ( - E(k) || - P(k) || - R(k) || - L(k) || - N(k) || - q(k) || - ae(k) || - le(k) || - pe(k) || - me(k) || - ye(k) || - _e(k) || - Ie(k) || - Me(k) || - Te(k) || - je(k) || - Ne(k) || - Be(k) || - qe(k) || - Ue(k) || - Ge(k) || - He(k) || - We(k) || - Qe(k) || - Je(k) || - Ve(k) || - Ke(k) || - Ye(k) || - Xe(k) || - Ze(k) || - et(k) || - tt(k) || - nt(k) || - st(k) || - rt(k) || - ot(k) || - it(k) || - at(k) || - ct(k) || - lt(k) || - ut(k) || - pt(k) || - dt(k) || - ft(k) || - ht(k) || - mt(k) || - gt(k) - ) - } - v.isNode = yt - var bt = function isBlock(k) { - return _e(k) || ct(k) || dt(k) - } - v.isBlock = bt - var xt = function isInstruction(k) { - return _e(k) || Ie(k) || Me(k) || He(k) || ct(k) || lt(k) || ut(k) - } - v.isInstruction = xt - var kt = function isExpression(k) { - return Ie(k) || Te(k) || je(k) || Ne(k) || Be(k) || Ge(k) || at(k) - } - v.isExpression = kt - var vt = function isNumericLiteral(k) { - return je(k) || Ne(k) || Be(k) - } - v.isNumericLiteral = vt - var wt = function isImportDescr(k) { - return Qe(k) || Xe(k) || Ze(k) || et(k) - } - v.isImportDescr = wt - var At = function isIntrinsic(k) { - return ft(k) || ht(k) || mt(k) || gt(k) - } - v.isIntrinsic = At - var Et = assertTypeOf('Module') - v.assertModule = Et - var Ct = assertTypeOf('ModuleMetadata') - v.assertModuleMetadata = Ct - var St = assertTypeOf('ModuleNameMetadata') - v.assertModuleNameMetadata = St - var _t = assertTypeOf('FunctionNameMetadata') - v.assertFunctionNameMetadata = _t - var It = assertTypeOf('LocalNameMetadata') - v.assertLocalNameMetadata = It - var Mt = assertTypeOf('BinaryModule') - v.assertBinaryModule = Mt - var Pt = assertTypeOf('QuoteModule') - v.assertQuoteModule = Pt - var Ot = assertTypeOf('SectionMetadata') - v.assertSectionMetadata = Ot - var Dt = assertTypeOf('ProducersSectionMetadata') - v.assertProducersSectionMetadata = Dt - var Rt = assertTypeOf('ProducerMetadata') - v.assertProducerMetadata = Rt - var Tt = assertTypeOf('ProducerMetadataVersionedName') - v.assertProducerMetadataVersionedName = Tt - var $t = assertTypeOf('LoopInstruction') - v.assertLoopInstruction = $t - var Ft = assertTypeOf('Instr') - v.assertInstr = Ft - var jt = assertTypeOf('IfInstruction') - v.assertIfInstruction = jt - var Lt = assertTypeOf('StringLiteral') - v.assertStringLiteral = Lt - var Nt = assertTypeOf('NumberLiteral') - v.assertNumberLiteral = Nt - var Bt = assertTypeOf('LongNumberLiteral') - v.assertLongNumberLiteral = Bt - var qt = assertTypeOf('FloatLiteral') - v.assertFloatLiteral = qt - var zt = assertTypeOf('Elem') - v.assertElem = zt - var Ut = assertTypeOf('IndexInFuncSection') - v.assertIndexInFuncSection = Ut - var Gt = assertTypeOf('ValtypeLiteral') - v.assertValtypeLiteral = Gt - var Ht = assertTypeOf('TypeInstruction') - v.assertTypeInstruction = Ht - var Wt = assertTypeOf('Start') - v.assertStart = Wt - var Qt = assertTypeOf('GlobalType') - v.assertGlobalType = Qt - var Jt = assertTypeOf('LeadingComment') - v.assertLeadingComment = Jt - var Vt = assertTypeOf('BlockComment') - v.assertBlockComment = Vt - var Kt = assertTypeOf('Data') - v.assertData = Kt - var Yt = assertTypeOf('Global') - v.assertGlobal = Yt - var Xt = assertTypeOf('Table') - v.assertTable = Xt - var Zt = assertTypeOf('Memory') - v.assertMemory = Zt - var en = assertTypeOf('FuncImportDescr') - v.assertFuncImportDescr = en - var tn = assertTypeOf('ModuleImport') - v.assertModuleImport = tn - var nn = assertTypeOf('ModuleExportDescr') - v.assertModuleExportDescr = nn - var sn = assertTypeOf('ModuleExport') - v.assertModuleExport = sn - var rn = assertTypeOf('Limit') - v.assertLimit = rn - var on = assertTypeOf('Signature') - v.assertSignature = on - var an = assertTypeOf('Program') - v.assertProgram = an - var cn = assertTypeOf('Identifier') - v.assertIdentifier = cn - var ln = assertTypeOf('BlockInstruction') - v.assertBlockInstruction = ln - var un = assertTypeOf('CallInstruction') - v.assertCallInstruction = un - var pn = assertTypeOf('CallIndirectInstruction') - v.assertCallIndirectInstruction = pn - var dn = assertTypeOf('ByteArray') - v.assertByteArray = dn - var hn = assertTypeOf('Func') - v.assertFunc = hn - var mn = assertTypeOf('InternalBrUnless') - v.assertInternalBrUnless = mn - var gn = assertTypeOf('InternalGoto') - v.assertInternalGoto = gn - var yn = assertTypeOf('InternalCallExtern') - v.assertInternalCallExtern = yn - var bn = assertTypeOf('InternalEndAndReturn') - v.assertInternalEndAndReturn = bn - var xn = { - 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'], - } - v.unionTypesMap = xn - var kn = [ - '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', - ] - v.nodeAndUnionTypes = kn - }, - 96395: function (k, v) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.signatures = void 0 - function sign(k, v) { - return [k, v] - } - var E = 'u32' - var P = 'i32' - var R = 'i64' - var L = 'f32' - var N = 'f64' - var q = function vector(k) { - var v = [k] - v.vector = true - return v - } - var ae = { - unreachable: sign([], []), - nop: sign([], []), - br: sign([E], []), - br_if: sign([E], []), - br_table: sign(q(E), []), - return: sign([], []), - call: sign([E], []), - call_indirect: sign([E], []), - } - var le = { drop: sign([], []), select: sign([], []) } - var pe = { - get_local: sign([E], []), - set_local: sign([E], []), - tee_local: sign([E], []), - get_global: sign([E], []), - set_global: sign([E], []), - } - var me = { - 'i32.load': sign([E, E], [P]), - 'i64.load': sign([E, E], []), - 'f32.load': sign([E, E], []), - 'f64.load': sign([E, E], []), - 'i32.load8_s': sign([E, E], [P]), - 'i32.load8_u': sign([E, E], [P]), - 'i32.load16_s': sign([E, E], [P]), - 'i32.load16_u': sign([E, E], [P]), - 'i64.load8_s': sign([E, E], [R]), - 'i64.load8_u': sign([E, E], [R]), - 'i64.load16_s': sign([E, E], [R]), - 'i64.load16_u': sign([E, E], [R]), - 'i64.load32_s': sign([E, E], [R]), - 'i64.load32_u': sign([E, E], [R]), - 'i32.store': sign([E, E], []), - 'i64.store': sign([E, E], []), - 'f32.store': sign([E, E], []), - 'f64.store': sign([E, E], []), - 'i32.store8': sign([E, E], []), - 'i32.store16': sign([E, E], []), - 'i64.store8': sign([E, E], []), - 'i64.store16': sign([E, E], []), - 'i64.store32': sign([E, E], []), - current_memory: sign([], []), - grow_memory: sign([], []), - } - var ye = { - 'i32.const': sign([P], [P]), - 'i64.const': sign([R], [R]), - 'f32.const': sign([L], [L]), - 'f64.const': sign([N], [N]), - 'i32.eqz': sign([P], [P]), - 'i32.eq': sign([P, P], [P]), - 'i32.ne': sign([P, P], [P]), - 'i32.lt_s': sign([P, P], [P]), - 'i32.lt_u': sign([P, P], [P]), - 'i32.gt_s': sign([P, P], [P]), - 'i32.gt_u': sign([P, P], [P]), - 'i32.le_s': sign([P, P], [P]), - 'i32.le_u': sign([P, P], [P]), - 'i32.ge_s': sign([P, P], [P]), - 'i32.ge_u': sign([P, P], [P]), - 'i64.eqz': sign([R], [R]), - 'i64.eq': sign([R, R], [P]), - 'i64.ne': sign([R, R], [P]), - 'i64.lt_s': sign([R, R], [P]), - 'i64.lt_u': sign([R, R], [P]), - 'i64.gt_s': sign([R, R], [P]), - 'i64.gt_u': sign([R, R], [P]), - 'i64.le_s': sign([R, R], [P]), - 'i64.le_u': sign([R, R], [P]), - 'i64.ge_s': sign([R, R], [P]), - 'i64.ge_u': sign([R, R], [P]), - 'f32.eq': sign([L, L], [P]), - 'f32.ne': sign([L, L], [P]), - 'f32.lt': sign([L, L], [P]), - 'f32.gt': sign([L, L], [P]), - 'f32.le': sign([L, L], [P]), - 'f32.ge': sign([L, L], [P]), - 'f64.eq': sign([N, N], [P]), - 'f64.ne': sign([N, N], [P]), - 'f64.lt': sign([N, N], [P]), - 'f64.gt': sign([N, N], [P]), - 'f64.le': sign([N, N], [P]), - 'f64.ge': sign([N, N], [P]), - 'i32.clz': sign([P], [P]), - 'i32.ctz': sign([P], [P]), - 'i32.popcnt': sign([P], [P]), - 'i32.add': sign([P, P], [P]), - 'i32.sub': sign([P, P], [P]), - 'i32.mul': sign([P, P], [P]), - 'i32.div_s': sign([P, P], [P]), - 'i32.div_u': sign([P, P], [P]), - 'i32.rem_s': sign([P, P], [P]), - 'i32.rem_u': sign([P, P], [P]), - 'i32.and': sign([P, P], [P]), - 'i32.or': sign([P, P], [P]), - 'i32.xor': sign([P, P], [P]), - 'i32.shl': sign([P, P], [P]), - 'i32.shr_s': sign([P, P], [P]), - 'i32.shr_u': sign([P, P], [P]), - 'i32.rotl': sign([P, P], [P]), - 'i32.rotr': sign([P, P], [P]), - 'i64.clz': sign([R], [R]), - 'i64.ctz': sign([R], [R]), - 'i64.popcnt': sign([R], [R]), - 'i64.add': sign([R, R], [R]), - 'i64.sub': sign([R, R], [R]), - 'i64.mul': sign([R, R], [R]), - 'i64.div_s': sign([R, R], [R]), - 'i64.div_u': sign([R, R], [R]), - 'i64.rem_s': sign([R, R], [R]), - 'i64.rem_u': sign([R, R], [R]), - 'i64.and': sign([R, R], [R]), - 'i64.or': sign([R, R], [R]), - 'i64.xor': sign([R, R], [R]), - 'i64.shl': sign([R, R], [R]), - 'i64.shr_s': sign([R, R], [R]), - 'i64.shr_u': sign([R, R], [R]), - 'i64.rotl': sign([R, R], [R]), - 'i64.rotr': sign([R, R], [R]), - 'f32.abs': sign([L], [L]), - 'f32.neg': sign([L], [L]), - 'f32.ceil': sign([L], [L]), - 'f32.floor': sign([L], [L]), - 'f32.trunc': sign([L], [L]), - 'f32.nearest': sign([L], [L]), - 'f32.sqrt': sign([L], [L]), - 'f32.add': sign([L, L], [L]), - 'f32.sub': sign([L, L], [L]), - 'f32.mul': sign([L, L], [L]), - 'f32.div': sign([L, L], [L]), - 'f32.min': sign([L, L], [L]), - 'f32.max': sign([L, L], [L]), - 'f32.copysign': sign([L, L], [L]), - 'f64.abs': sign([N], [N]), - 'f64.neg': sign([N], [N]), - 'f64.ceil': sign([N], [N]), - 'f64.floor': sign([N], [N]), - 'f64.trunc': sign([N], [N]), - 'f64.nearest': sign([N], [N]), - 'f64.sqrt': sign([N], [N]), - 'f64.add': sign([N, N], [N]), - 'f64.sub': sign([N, N], [N]), - 'f64.mul': sign([N, N], [N]), - 'f64.div': sign([N, N], [N]), - 'f64.min': sign([N, N], [N]), - 'f64.max': sign([N, N], [N]), - 'f64.copysign': sign([N, N], [N]), - 'i32.wrap/i64': sign([R], [P]), - 'i32.trunc_s/f32': sign([L], [P]), - 'i32.trunc_u/f32': sign([L], [P]), - 'i32.trunc_s/f64': sign([L], [P]), - 'i32.trunc_u/f64': sign([N], [P]), - 'i64.extend_s/i32': sign([P], [R]), - 'i64.extend_u/i32': sign([P], [R]), - 'i64.trunc_s/f32': sign([L], [R]), - 'i64.trunc_u/f32': sign([L], [R]), - 'i64.trunc_s/f64': sign([N], [R]), - 'i64.trunc_u/f64': sign([N], [R]), - 'f32.convert_s/i32': sign([P], [L]), - 'f32.convert_u/i32': sign([P], [L]), - 'f32.convert_s/i64': sign([R], [L]), - 'f32.convert_u/i64': sign([R], [L]), - 'f32.demote/f64': sign([N], [L]), - 'f64.convert_s/i32': sign([P], [N]), - 'f64.convert_u/i32': sign([P], [N]), - 'f64.convert_s/i64': sign([R], [N]), - 'f64.convert_u/i64': sign([R], [N]), - 'f64.promote/f32': sign([L], [N]), - 'i32.reinterpret/f32': sign([L], [P]), - 'i64.reinterpret/f64': sign([N], [R]), - 'f32.reinterpret/i32': sign([P], [L]), - 'f64.reinterpret/i64': sign([R], [N]), - } - var _e = Object.assign({}, ae, le, pe, me, ye) - v.signatures = _e - }, - 15067: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.moduleContextFromModuleAST = moduleContextFromModuleAST - v.ModuleContext = void 0 - var P = E(860) - function _classCallCheck(k, v) { - if (!(k instanceof v)) { - throw new TypeError('Cannot call a class as a function') - } - } - function _defineProperties(k, v) { - for (var E = 0; E < v.length; E++) { - var P = v[E] - P.enumerable = P.enumerable || false - P.configurable = true - if ('value' in P) P.writable = true - Object.defineProperty(k, P.key, P) - } - } - function _createClass(k, v, E) { - if (v) _defineProperties(k.prototype, v) - if (E) _defineProperties(k, E) - return k - } - function moduleContextFromModuleAST(k) { - var v = new R() - if (!(k.type === 'Module')) { - throw new Error( - 'm.type === "Module"' + ' error: ' + (undefined || 'unknown') - ) - } - k.fields.forEach(function (k) { - switch (k.type) { - case 'Start': { - v.setStart(k.index) - break - } - case 'TypeInstruction': { - v.addType(k) - break - } - case 'Func': { - v.addFunction(k) - break - } - case 'Global': { - v.defineGlobal(k) - break - } - case 'ModuleImport': { - switch (k.descr.type) { - case 'GlobalType': { - v.importGlobal(k.descr.valtype, k.descr.mutability) - break - } - case 'Memory': { - v.addMemory(k.descr.limits.min, k.descr.limits.max) - break - } - case 'FuncImportDescr': { - v.importFunction(k.descr) - break - } - case 'Table': { - break - } - default: - throw new Error( - 'Unsupported ModuleImport of type ' + - JSON.stringify(k.descr.type) - ) - } - break - } - case 'Memory': { - v.addMemory(k.limits.min, k.limits.max) - break - } - } - }) - return v - } - var R = (function () { - function ModuleContext() { - _classCallCheck(this, ModuleContext) - this.funcs = [] - this.funcsOffsetByIdentifier = [] - this.types = [] - this.globals = [] - this.globalsOffsetByIdentifier = [] - this.mems = [] - this.locals = [] - this.labels = [] - this['return'] = [] - this.debugName = 'unknown' - this.start = null - } - _createClass(ModuleContext, [ - { - key: 'setStart', - value: function setStart(k) { - this.start = k.value - }, - }, - { - key: 'getStart', - value: function getStart() { - return this.start - }, - }, - { - key: 'newContext', - value: function newContext(k, v) { - this.locals = [] - this.labels = [v] - this['return'] = v - this.debugName = k - }, - }, - { - key: 'addFunction', - value: function addFunction(k) { - var v = k.signature || {}, - E = v.params, - P = E === void 0 ? [] : E, - R = v.results, - L = R === void 0 ? [] : R - P = P.map(function (k) { - return k.valtype - }) - this.funcs.push({ args: P, result: L }) - if (typeof k.name !== 'undefined') { - this.funcsOffsetByIdentifier[k.name.value] = - this.funcs.length - 1 - } - }, - }, - { - key: 'importFunction', - value: function importFunction(k) { - if ((0, P.isSignature)(k.signature)) { - var v = k.signature, - E = v.params, - R = v.results - E = E.map(function (k) { - return k.valtype - }) - this.funcs.push({ args: E, result: R }) - } else { - if (!(0, P.isNumberLiteral)(k.signature)) { - throw new Error( - 'isNumberLiteral(funcimport.signature)' + - ' error: ' + - (undefined || 'unknown') - ) - } - var L = k.signature.value - if (!this.hasType(L)) { - throw new Error( - 'this.hasType(typeId)' + - ' error: ' + - (undefined || 'unknown') - ) - } - var N = this.getType(L) - this.funcs.push({ - args: N.params.map(function (k) { - return k.valtype - }), - result: N.results, - }) - } - if (typeof k.id !== 'undefined') { - this.funcsOffsetByIdentifier[k.id.value] = this.funcs.length - 1 - } - }, - }, - { - key: 'hasFunction', - value: function hasFunction(k) { - return typeof this.getFunction(k) !== 'undefined' - }, - }, - { - key: 'getFunction', - value: function getFunction(k) { - if (typeof k !== 'number') { - throw new Error('getFunction only supported for number index') - } - return this.funcs[k] - }, - }, - { - key: 'getFunctionOffsetByIdentifier', - value: function getFunctionOffsetByIdentifier(k) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof name === "string"' + - ' error: ' + - (undefined || 'unknown') - ) - } - return this.funcsOffsetByIdentifier[k] - }, - }, - { - key: 'addLabel', - value: function addLabel(k) { - this.labels.unshift(k) - }, - }, - { - key: 'hasLabel', - value: function hasLabel(k) { - return this.labels.length > k && k >= 0 - }, - }, - { - key: 'getLabel', - value: function getLabel(k) { - return this.labels[k] - }, - }, - { - key: 'popLabel', - value: function popLabel() { - this.labels.shift() - }, - }, - { - key: 'hasLocal', - value: function hasLocal(k) { - return typeof this.getLocal(k) !== 'undefined' - }, - }, - { - key: 'getLocal', - value: function getLocal(k) { - return this.locals[k] - }, - }, - { - key: 'addLocal', - value: function addLocal(k) { - this.locals.push(k) - }, - }, - { - key: 'addType', - value: function addType(k) { - if (!(k.functype.type === 'Signature')) { - throw new Error( - 'type.functype.type === "Signature"' + - ' error: ' + - (undefined || 'unknown') - ) - } - this.types.push(k.functype) - }, - }, - { - key: 'hasType', - value: function hasType(k) { - return this.types[k] !== undefined - }, - }, - { - key: 'getType', - value: function getType(k) { - return this.types[k] - }, - }, - { - key: 'hasGlobal', - value: function hasGlobal(k) { - return this.globals.length > k && k >= 0 - }, - }, - { - key: 'getGlobal', - value: function getGlobal(k) { - return this.globals[k].type - }, - }, - { - key: 'getGlobalOffsetByIdentifier', - value: function getGlobalOffsetByIdentifier(k) { - if (!(typeof k === 'string')) { - throw new Error( - 'typeof name === "string"' + - ' error: ' + - (undefined || 'unknown') - ) - } - return this.globalsOffsetByIdentifier[k] - }, - }, - { - key: 'defineGlobal', - value: function defineGlobal(k) { - var v = k.globalType.valtype - var E = k.globalType.mutability - this.globals.push({ type: v, mutability: E }) - if (typeof k.name !== 'undefined') { - this.globalsOffsetByIdentifier[k.name.value] = - this.globals.length - 1 - } - }, - }, - { - key: 'importGlobal', - value: function importGlobal(k, v) { - this.globals.push({ type: k, mutability: v }) - }, - }, - { - key: 'isMutableGlobal', - value: function isMutableGlobal(k) { - return this.globals[k].mutability === 'var' - }, - }, - { - key: 'isImmutableGlobal', - value: function isImmutableGlobal(k) { - return this.globals[k].mutability === 'const' - }, - }, - { - key: 'hasMemory', - value: function hasMemory(k) { - return this.mems.length > k && k >= 0 - }, - }, - { - key: 'addMemory', - value: function addMemory(k, v) { - this.mems.push({ min: k, max: v }) - }, - }, - { - key: 'getMemory', - value: function getMemory(k) { - return this.mems[k] - }, - }, - ]) - return ModuleContext - })() - v.ModuleContext = R - }, - 11885: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.traverse = traverse - var P = E(92489) - var R = E(860) - function walk(k, v) { - var E = false - function innerWalk(k, v) { - if (E) { - return - } - var R = k.node - if (R === undefined) { - console.warn('traversing with an empty context') - return - } - if (R._deleted === true) { - return - } - var L = (0, P.createPath)(k) - v(R.type, L) - if (L.shouldStop) { - E = true - return - } - Object.keys(R).forEach(function (k) { - var E = R[k] - if (E === null || E === undefined) { - return - } - var P = Array.isArray(E) ? E : [E] - P.forEach(function (P) { - if (typeof P.type === 'string') { - var R = { - node: P, - parentKey: k, - parentPath: L, - shouldStop: false, - inList: Array.isArray(E), - } - innerWalk(R, v) - } - }) - }) - } - innerWalk(k, v) - } - var L = function noop() {} - function traverse(k, v) { - var E = - arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : L - var P = - arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : L - Object.keys(v).forEach(function (k) { - if (!R.nodeAndUnionTypes.includes(k)) { - throw new Error('Unexpected visitor '.concat(k)) - } - }) - var N = { - node: k, - inList: false, - shouldStop: false, - parentPath: null, - parentKey: null, - } - walk(N, function (k, L) { - if (typeof v[k] === 'function') { - E(k, L) - v[k](L) - P(k, L) - } - var N = R.unionTypesMap[k] - if (!N) { - throw new Error('Unexpected node type '.concat(k)) - } - N.forEach(function (k) { - if (typeof v[k] === 'function') { - E(k, L) - v[k](L) - P(k, L) - } - }) - }) - } - }, - 20885: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.isAnonymous = isAnonymous - v.getSectionMetadata = getSectionMetadata - v.getSectionMetadatas = getSectionMetadatas - v.sortSectionMetadata = sortSectionMetadata - v.orderedInsertNode = orderedInsertNode - v.assertHasLoc = assertHasLoc - v.getEndOfSection = getEndOfSection - v.shiftLoc = shiftLoc - v.shiftSection = shiftSection - v.signatureForOpcode = signatureForOpcode - v.getUniqueNameGenerator = getUniqueNameGenerator - v.getStartByteOffset = getStartByteOffset - v.getEndByteOffset = getEndByteOffset - v.getFunctionBeginingByteOffset = getFunctionBeginingByteOffset - v.getEndBlockByteOffset = getEndBlockByteOffset - v.getStartBlockByteOffset = getStartBlockByteOffset - var P = E(96395) - var R = E(11885) - var L = _interopRequireWildcard(E(94545)) - function _getRequireWildcardCache(k) { - if (typeof WeakMap !== 'function') return null - var v = new WeakMap() - var E = new WeakMap() - return (_getRequireWildcardCache = function _getRequireWildcardCache( - k - ) { - return k ? E : v - })(k) - } - function _interopRequireWildcard(k, v) { - if (!v && k && k.__esModule) { - return k - } - if ( - k === null || - (_typeof(k) !== 'object' && typeof k !== 'function') - ) { - return { default: k } - } - var E = _getRequireWildcardCache(v) - if (E && E.has(k)) { - return E.get(k) - } - var P = {} - var R = Object.defineProperty && Object.getOwnPropertyDescriptor - for (var L in k) { - if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { - var N = R ? Object.getOwnPropertyDescriptor(k, L) : null - if (N && (N.get || N.set)) { - Object.defineProperty(P, L, N) - } else { - P[L] = k[L] - } - } - } - P['default'] = k - if (E) { - E.set(k, P) - } - return P - } - function _slicedToArray(k, v) { - return ( - _arrayWithHoles(k) || - _iterableToArrayLimit(k, v) || - _unsupportedIterableToArray(k, v) || - _nonIterableRest() - ) - } - function _nonIterableRest() { - throw new TypeError( - 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' - ) - } - function _unsupportedIterableToArray(k, v) { - if (!k) return - if (typeof k === 'string') return _arrayLikeToArray(k, v) - var E = Object.prototype.toString.call(k).slice(8, -1) - if (E === 'Object' && k.constructor) E = k.constructor.name - if (E === 'Map' || E === 'Set') return Array.from(k) - if ( - E === 'Arguments' || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) - ) - return _arrayLikeToArray(k, v) - } - function _arrayLikeToArray(k, v) { - if (v == null || v > k.length) v = k.length - for (var E = 0, P = new Array(v); E < v; E++) { - P[E] = k[E] - } - return P - } - function _iterableToArrayLimit(k, v) { - var E = - k == null - ? null - : (typeof Symbol !== 'undefined' && k[Symbol.iterator]) || - k['@@iterator'] - if (E == null) return - var P = [] - var R = true - var L = false - var N, q - try { - for (E = E.call(k); !(R = (N = E.next()).done); R = true) { - P.push(N.value) - if (v && P.length === v) break - } - } catch (k) { - L = true - q = k - } finally { - try { - if (!R && E['return'] != null) E['return']() - } finally { - if (L) throw q - } - } - return P - } - function _arrayWithHoles(k) { - if (Array.isArray(k)) return k - } - function _typeof(k) { - '@babel/helpers - typeof' - if ( - typeof Symbol === 'function' && - typeof Symbol.iterator === 'symbol' - ) { - _typeof = function _typeof(k) { - return typeof k - } - } else { - _typeof = function _typeof(k) { - return k && - typeof Symbol === 'function' && - k.constructor === Symbol && - k !== Symbol.prototype - ? 'symbol' - : typeof k - } - } - return _typeof(k) - } - function isAnonymous(k) { - return k.raw === '' - } - function getSectionMetadata(k, v) { - var E - ;(0, R.traverse)(k, { - SectionMetadata: (function (k) { - function SectionMetadata(v) { - return k.apply(this, arguments) - } - SectionMetadata.toString = function () { - return k.toString() - } - return SectionMetadata - })(function (k) { - var P = k.node - if (P.section === v) { - E = P - } - }), - }) - return E - } - function getSectionMetadatas(k, v) { - var E = [] - ;(0, R.traverse)(k, { - SectionMetadata: (function (k) { - function SectionMetadata(v) { - return k.apply(this, arguments) - } - SectionMetadata.toString = function () { - return k.toString() - } - return SectionMetadata - })(function (k) { - var P = k.node - if (P.section === v) { - E.push(P) - } - }), - }) - return E - } - function sortSectionMetadata(k) { - if (k.metadata == null) { - console.warn('sortSectionMetadata: no metadata to sort') - return - } - k.metadata.sections.sort(function (k, v) { - var E = L['default'].sections[k.section] - var P = L['default'].sections[v.section] - if (typeof E !== 'number' || typeof P !== 'number') { - throw new Error('Section id not found') - } - return E - P - }) - } - function orderedInsertNode(k, v) { - assertHasLoc(v) - var E = false - if (v.type === 'ModuleExport') { - k.fields.push(v) - return - } - k.fields = k.fields.reduce(function (k, P) { - var R = Infinity - if (P.loc != null) { - R = P.loc.end.column - } - if (E === false && v.loc.start.column < R) { - E = true - k.push(v) - } - k.push(P) - return k - }, []) - if (E === false) { - k.fields.push(v) - } - } - function assertHasLoc(k) { - if (k.loc == null || k.loc.start == null || k.loc.end == null) { - throw new Error( - 'Internal failure: node ('.concat( - JSON.stringify(k.type), - ') has no location information' - ) - ) - } - } - function getEndOfSection(k) { - assertHasLoc(k.size) - return ( - k.startOffset + - k.size.value + - (k.size.loc.end.column - k.size.loc.start.column) - ) - } - function shiftLoc(k, v) { - k.loc.start.column += v - k.loc.end.column += v - } - function shiftSection(k, v, E) { - if (v.type !== 'SectionMetadata') { - throw new Error('Can not shift node ' + JSON.stringify(v.type)) - } - v.startOffset += E - if (_typeof(v.size.loc) === 'object') { - shiftLoc(v.size, E) - } - if ( - _typeof(v.vectorOfSize) === 'object' && - _typeof(v.vectorOfSize.loc) === 'object' - ) { - shiftLoc(v.vectorOfSize, E) - } - var P = v.section - ;(0, R.traverse)(k, { - Node: function Node(k) { - var v = k.node - var R = (0, L.getSectionForNode)(v) - if (R === P && _typeof(v.loc) === 'object') { - shiftLoc(v, E) - } - }, - }) - } - function signatureForOpcode(k, v) { - var E = v - if (k !== undefined && k !== '') { - E = k + '.' + v - } - var R = P.signatures[E] - if (R == undefined) { - return [k, k] - } - return R[0] - } - function getUniqueNameGenerator() { - var k = {} - return function () { - var v = - arguments.length > 0 && arguments[0] !== undefined - ? arguments[0] - : 'temp' - if (!(v in k)) { - k[v] = 0 - } else { - k[v] = k[v] + 1 - } - return v + '_' + k[v] - } - } - function getStartByteOffset(k) { - if ( - typeof k.loc === 'undefined' || - typeof k.loc.start === 'undefined' - ) { - throw new Error( - 'Can not get byte offset without loc informations, node: ' + - String(k.id) - ) - } - return k.loc.start.column - } - function getEndByteOffset(k) { - if (typeof k.loc === 'undefined' || typeof k.loc.end === 'undefined') { - throw new Error( - 'Can not get byte offset without loc informations, node: ' + k.type - ) - } - return k.loc.end.column - } - function getFunctionBeginingByteOffset(k) { - if (!(k.body.length > 0)) { - throw new Error( - 'n.body.length > 0' + ' error: ' + (undefined || 'unknown') - ) - } - var v = _slicedToArray(k.body, 1), - E = v[0] - return getStartByteOffset(E) - } - function getEndBlockByteOffset(k) { - if (!(k.instr.length > 0 || k.body.length > 0)) { - throw new Error( - 'n.instr.length > 0 || n.body.length > 0' + - ' error: ' + - (undefined || 'unknown') - ) - } - var v - if (k.instr) { - v = k.instr[k.instr.length - 1] - } - if (k.body) { - v = k.body[k.body.length - 1] - } - if (!(_typeof(v) === 'object')) { - throw new Error( - 'typeof lastInstruction === "object"' + - ' error: ' + - (undefined || 'unknown') - ) - } - return getStartByteOffset(v) - } - function getStartBlockByteOffset(k) { - if (!(k.instr.length > 0 || k.body.length > 0)) { - throw new Error( - 'n.instr.length > 0 || n.body.length > 0' + - ' error: ' + - (undefined || 'unknown') - ) - } - var v - if (k.instr) { - var E = _slicedToArray(k.instr, 1) - v = E[0] - } - if (k.body) { - var P = _slicedToArray(k.body, 1) - v = P[0] - } - if (!(_typeof(v) === 'object')) { - throw new Error( - 'typeof fistInstruction === "object"' + - ' error: ' + - (undefined || 'unknown') - ) - } - return getStartByteOffset(v) - } - }, - 31209: function (k, v) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v['default'] = parse - function parse(k) { - k = k.toUpperCase() - var v = k.indexOf('P') - var E, P - if (v !== -1) { - E = k.substring(0, v) - P = parseInt(k.substring(v + 1)) - } else { - E = k - P = 0 - } - var R = E.indexOf('.') - if (R !== -1) { - var L = parseInt(E.substring(0, R), 16) - var N = Math.sign(L) - L = N * L - var q = E.length - R - 1 - var ae = parseInt(E.substring(R + 1), 16) - var le = q > 0 ? ae / Math.pow(16, q) : 0 - if (N === 0) { - if (le === 0) { - E = N - } else { - if (Object.is(N, -0)) { - E = -le - } else { - E = le - } - } - } else { - E = N * (L + le) - } - } else { - E = parseInt(E, 16) - } - return E * (v !== -1 ? Math.pow(2, P) : 1) - } - }, - 28513: function (k, v) { - 'use strict' - function _typeof(k) { - '@babel/helpers - typeof' - if ( - typeof Symbol === 'function' && - typeof Symbol.iterator === 'symbol' - ) { - _typeof = function _typeof(k) { - return typeof k - } - } else { - _typeof = function _typeof(k) { - return k && - typeof Symbol === 'function' && - k.constructor === Symbol && - k !== Symbol.prototype - ? 'symbol' - : typeof k - } - } - return _typeof(k) - } - Object.defineProperty(v, '__esModule', { value: true }) - v.LinkError = v.CompileError = v.RuntimeError = void 0 - function _classCallCheck(k, v) { - if (!(k instanceof v)) { - throw new TypeError('Cannot call a class as a function') - } - } - function _inherits(k, v) { - if (typeof v !== 'function' && v !== null) { - throw new TypeError( - 'Super expression must either be null or a function' - ) - } - k.prototype = Object.create(v && v.prototype, { - constructor: { value: k, writable: true, configurable: true }, - }) - if (v) _setPrototypeOf(k, v) - } - function _createSuper(k) { - var v = _isNativeReflectConstruct() - return function _createSuperInternal() { - var E = _getPrototypeOf(k), - P - if (v) { - var R = _getPrototypeOf(this).constructor - P = Reflect.construct(E, arguments, R) - } else { - P = E.apply(this, arguments) - } - return _possibleConstructorReturn(this, P) - } - } - function _possibleConstructorReturn(k, v) { - if (v && (_typeof(v) === 'object' || typeof v === 'function')) { - return v - } else if (v !== void 0) { - throw new TypeError( - 'Derived constructors may only return object or undefined' - ) - } - return _assertThisInitialized(k) - } - function _assertThisInitialized(k) { - if (k === void 0) { - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called" - ) - } - return k - } - function _wrapNativeSuper(k) { - var v = typeof Map === 'function' ? new Map() : undefined - _wrapNativeSuper = function _wrapNativeSuper(k) { - if (k === null || !_isNativeFunction(k)) return k - if (typeof k !== 'function') { - throw new TypeError( - 'Super expression must either be null or a function' - ) - } - if (typeof v !== 'undefined') { - if (v.has(k)) return v.get(k) - v.set(k, Wrapper) - } - function Wrapper() { - return _construct(k, arguments, _getPrototypeOf(this).constructor) - } - Wrapper.prototype = Object.create(k.prototype, { - constructor: { - value: Wrapper, - enumerable: false, - writable: true, - configurable: true, - }, - }) - return _setPrototypeOf(Wrapper, k) - } - return _wrapNativeSuper(k) - } - function _construct(k, v, E) { - if (_isNativeReflectConstruct()) { - _construct = Reflect.construct - } else { - _construct = function _construct(k, v, E) { - var P = [null] - P.push.apply(P, v) - var R = Function.bind.apply(k, P) - var L = new R() - if (E) _setPrototypeOf(L, E.prototype) - return L - } - } - return _construct.apply(null, arguments) - } - function _isNativeReflectConstruct() { - if (typeof Reflect === 'undefined' || !Reflect.construct) return false - if (Reflect.construct.sham) return false - if (typeof Proxy === 'function') return true - try { - Boolean.prototype.valueOf.call( - Reflect.construct(Boolean, [], function () {}) - ) - return true - } catch (k) { - return false - } - } - function _isNativeFunction(k) { - return Function.toString.call(k).indexOf('[native code]') !== -1 - } - function _setPrototypeOf(k, v) { - _setPrototypeOf = - Object.setPrototypeOf || - function _setPrototypeOf(k, v) { - k.__proto__ = v - return k - } - return _setPrototypeOf(k, v) - } - function _getPrototypeOf(k) { - _getPrototypeOf = Object.setPrototypeOf - ? Object.getPrototypeOf - : function _getPrototypeOf(k) { - return k.__proto__ || Object.getPrototypeOf(k) - } - return _getPrototypeOf(k) - } - var E = (function (k) { - _inherits(RuntimeError, k) - var v = _createSuper(RuntimeError) - function RuntimeError() { - _classCallCheck(this, RuntimeError) - return v.apply(this, arguments) - } - return RuntimeError - })(_wrapNativeSuper(Error)) - v.RuntimeError = E - var P = (function (k) { - _inherits(CompileError, k) - var v = _createSuper(CompileError) - function CompileError() { - _classCallCheck(this, CompileError) - return v.apply(this, arguments) - } - return CompileError - })(_wrapNativeSuper(Error)) - v.CompileError = P - var R = (function (k) { - _inherits(LinkError, k) - var v = _createSuper(LinkError) - function LinkError() { - _classCallCheck(this, LinkError) - return v.apply(this, arguments) - } - return LinkError - })(_wrapNativeSuper(Error)) - v.LinkError = R - }, - 97521: function (k, v) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.overrideBytesInBuffer = overrideBytesInBuffer - v.makeBuffer = makeBuffer - v.fromHexdump = fromHexdump - function _toConsumableArray(k) { - return ( - _arrayWithoutHoles(k) || - _iterableToArray(k) || - _unsupportedIterableToArray(k) || - _nonIterableSpread() - ) - } - function _nonIterableSpread() { - throw new TypeError( - 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' - ) - } - function _unsupportedIterableToArray(k, v) { - if (!k) return - if (typeof k === 'string') return _arrayLikeToArray(k, v) - var E = Object.prototype.toString.call(k).slice(8, -1) - if (E === 'Object' && k.constructor) E = k.constructor.name - if (E === 'Map' || E === 'Set') return Array.from(k) - if ( - E === 'Arguments' || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) - ) - return _arrayLikeToArray(k, v) - } - function _iterableToArray(k) { - if ( - (typeof Symbol !== 'undefined' && k[Symbol.iterator] != null) || - k['@@iterator'] != null - ) - return Array.from(k) - } - function _arrayWithoutHoles(k) { - if (Array.isArray(k)) return _arrayLikeToArray(k) - } - function _arrayLikeToArray(k, v) { - if (v == null || v > k.length) v = k.length - for (var E = 0, P = new Array(v); E < v; E++) { - P[E] = k[E] - } - return P - } - function concatUint8Arrays() { - for (var k = arguments.length, v = new Array(k), E = 0; E < k; E++) { - v[E] = arguments[E] - } - var P = v.reduce(function (k, v) { - return k + v.length - }, 0) - var R = new Uint8Array(P) - var L = 0 - for (var N = 0, q = v; N < q.length; N++) { - var ae = q[N] - if (ae instanceof Uint8Array === false) { - throw new Error('arr must be of type Uint8Array') - } - R.set(ae, L) - L += ae.length - } - return R - } - function overrideBytesInBuffer(k, v, E, P) { - var R = k.slice(0, v) - var L = k.slice(E, k.length) - if (P.length === 0) { - return concatUint8Arrays(R, L) - } - var N = Uint8Array.from(P) - return concatUint8Arrays(R, N, L) - } - function makeBuffer() { - for (var k = arguments.length, v = new Array(k), E = 0; E < k; E++) { - v[E] = arguments[E] - } - var P = [].concat.apply([], v) - return new Uint8Array(P).buffer - } - function fromHexdump(k) { - var v = k.split('\n') - v = v.map(function (k) { - return k.trim() - }) - var E = v.reduce(function (k, v) { - var E = v.split(' ') - E.shift() - E = E.filter(function (k) { - return k !== '' - }) - var P = E.map(function (k) { - return parseInt(k, 16) - }) - k.push.apply(k, _toConsumableArray(P)) - return k - }, []) - return Buffer.from(E) - } - }, - 37197: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.parse32F = parse32F - v.parse64F = parse64F - v.parse32I = parse32I - v.parseU32 = parseU32 - v.parse64I = parse64I - v.isInfLiteral = isInfLiteral - v.isNanLiteral = isNanLiteral - var P = _interopRequireDefault(E(85249)) - var R = _interopRequireDefault(E(31209)) - var L = E(28513) - function _interopRequireDefault(k) { - return k && k.__esModule ? k : { default: k } - } - function parse32F(k) { - if (isHexLiteral(k)) { - return (0, R['default'])(k) - } - if (isInfLiteral(k)) { - return k[0] === '-' ? -1 : 1 - } - if (isNanLiteral(k)) { - return ( - (k[0] === '-' ? -1 : 1) * - (k.includes(':') - ? parseInt(k.substring(k.indexOf(':') + 1), 16) - : 4194304) - ) - } - return parseFloat(k) - } - function parse64F(k) { - if (isHexLiteral(k)) { - return (0, R['default'])(k) - } - if (isInfLiteral(k)) { - return k[0] === '-' ? -1 : 1 - } - if (isNanLiteral(k)) { - return ( - (k[0] === '-' ? -1 : 1) * - (k.includes(':') - ? parseInt(k.substring(k.indexOf(':') + 1), 16) - : 0x8000000000000) - ) - } - if (isHexLiteral(k)) { - return (0, R['default'])(k) - } - return parseFloat(k) - } - function parse32I(k) { - var v = 0 - if (isHexLiteral(k)) { - v = ~~parseInt(k, 16) - } else if (isDecimalExponentLiteral(k)) { - throw new Error( - 'This number literal format is yet to be implemented.' - ) - } else { - v = parseInt(k, 10) - } - return v - } - function parseU32(k) { - var v = parse32I(k) - if (v < 0) { - throw new L.CompileError('Illegal value for u32: ' + k) - } - return v - } - function parse64I(k) { - var v - if (isHexLiteral(k)) { - v = P['default'].fromString(k, false, 16) - } else if (isDecimalExponentLiteral(k)) { - throw new Error( - 'This number literal format is yet to be implemented.' - ) - } else { - v = P['default'].fromString(k) - } - return { high: v.high, low: v.low } - } - var N = /^\+?-?nan/ - var q = /^\+?-?inf/ - function isInfLiteral(k) { - return q.test(k.toLowerCase()) - } - function isNanLiteral(k) { - return N.test(k.toLowerCase()) - } - function isDecimalExponentLiteral(k) { - return !isHexLiteral(k) && k.toUpperCase().includes('E') - } - function isHexLiteral(k) { - return ( - k.substring(0, 2).toUpperCase() === '0X' || - k.substring(0, 3).toUpperCase() === '-0X' - ) - } - }, - 94545: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - Object.defineProperty(v, 'getSectionForNode', { - enumerable: true, - get: function get() { - return P.getSectionForNode - }, - }) - v['default'] = void 0 - var P = E(32337) - var R = 'illegal' - var L = [0, 97, 115, 109] - var N = [1, 0, 0, 0] - function invertMap(k) { - var v = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : function (k) { - return k - } - var E = {} - var P = Object.keys(k) - for (var R = 0, L = P.length; R < L; R++) { - E[v(k[P[R]])] = P[R] - } - return E - } - function createSymbolObject(k, v) { - var E = - arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0 - return { name: k, object: v, numberOfArgs: E } - } - function createSymbol(k) { - var v = - arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0 - return { name: k, numberOfArgs: v } - } - var q = { func: 96, result: 64 } - var ae = { 0: 'Func', 1: 'Table', 2: 'Memory', 3: 'Global' } - var le = invertMap(ae) - var pe = { 127: 'i32', 126: 'i64', 125: 'f32', 124: 'f64', 123: 'v128' } - var me = invertMap(pe) - var ye = { 112: 'anyfunc' } - var _e = Object.assign({}, pe, { - 64: null, - 127: 'i32', - 126: 'i64', - 125: 'f32', - 124: 'f64', - }) - var Ie = { 0: 'const', 1: 'var' } - var Me = invertMap(Ie) - var Te = { 0: 'func', 1: 'table', 2: 'memory', 3: 'global' } - var je = { - 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 Ne = { - 0: createSymbol('unreachable'), - 1: createSymbol('nop'), - 2: createSymbol('block'), - 3: createSymbol('loop'), - 4: createSymbol('if'), - 5: createSymbol('else'), - 6: R, - 7: R, - 8: R, - 9: R, - 10: R, - 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: R, - 19: R, - 20: R, - 21: R, - 22: R, - 23: R, - 24: R, - 25: R, - 26: createSymbol('drop'), - 27: createSymbol('select'), - 28: R, - 29: R, - 30: R, - 31: R, - 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: R, - 38: R, - 39: R, - 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'), - 65024: createSymbol('memory.atomic.notify', 1), - 65025: createSymbol('memory.atomic.wait32', 1), - 65026: createSymbol('memory.atomic.wait64', 1), - 65040: createSymbolObject('atomic.load', 'i32', 1), - 65041: createSymbolObject('atomic.load', 'i64', 1), - 65042: createSymbolObject('atomic.load8_u', 'i32', 1), - 65043: createSymbolObject('atomic.load16_u', 'i32', 1), - 65044: createSymbolObject('atomic.load8_u', 'i64', 1), - 65045: createSymbolObject('atomic.load16_u', 'i64', 1), - 65046: createSymbolObject('atomic.load32_u', 'i64', 1), - 65047: createSymbolObject('atomic.store', 'i32', 1), - 65048: createSymbolObject('atomic.store', 'i64', 1), - 65049: createSymbolObject('atomic.store8_u', 'i32', 1), - 65050: createSymbolObject('atomic.store16_u', 'i32', 1), - 65051: createSymbolObject('atomic.store8_u', 'i64', 1), - 65052: createSymbolObject('atomic.store16_u', 'i64', 1), - 65053: createSymbolObject('atomic.store32_u', 'i64', 1), - 65054: createSymbolObject('atomic.rmw.add', 'i32', 1), - 65055: createSymbolObject('atomic.rmw.add', 'i64', 1), - 65056: createSymbolObject('atomic.rmw8_u.add_u', 'i32', 1), - 65057: createSymbolObject('atomic.rmw16_u.add_u', 'i32', 1), - 65058: createSymbolObject('atomic.rmw8_u.add_u', 'i64', 1), - 65059: createSymbolObject('atomic.rmw16_u.add_u', 'i64', 1), - 65060: createSymbolObject('atomic.rmw32_u.add_u', 'i64', 1), - 65061: createSymbolObject('atomic.rmw.sub', 'i32', 1), - 65062: createSymbolObject('atomic.rmw.sub', 'i64', 1), - 65063: createSymbolObject('atomic.rmw8_u.sub_u', 'i32', 1), - 65064: createSymbolObject('atomic.rmw16_u.sub_u', 'i32', 1), - 65065: createSymbolObject('atomic.rmw8_u.sub_u', 'i64', 1), - 65066: createSymbolObject('atomic.rmw16_u.sub_u', 'i64', 1), - 65067: createSymbolObject('atomic.rmw32_u.sub_u', 'i64', 1), - 65068: createSymbolObject('atomic.rmw.and', 'i32', 1), - 65069: createSymbolObject('atomic.rmw.and', 'i64', 1), - 65070: createSymbolObject('atomic.rmw8_u.and_u', 'i32', 1), - 65071: createSymbolObject('atomic.rmw16_u.and_u', 'i32', 1), - 65072: createSymbolObject('atomic.rmw8_u.and_u', 'i64', 1), - 65073: createSymbolObject('atomic.rmw16_u.and_u', 'i64', 1), - 65074: createSymbolObject('atomic.rmw32_u.and_u', 'i64', 1), - 65075: createSymbolObject('atomic.rmw.or', 'i32', 1), - 65076: createSymbolObject('atomic.rmw.or', 'i64', 1), - 65077: createSymbolObject('atomic.rmw8_u.or_u', 'i32', 1), - 65078: createSymbolObject('atomic.rmw16_u.or_u', 'i32', 1), - 65079: createSymbolObject('atomic.rmw8_u.or_u', 'i64', 1), - 65080: createSymbolObject('atomic.rmw16_u.or_u', 'i64', 1), - 65081: createSymbolObject('atomic.rmw32_u.or_u', 'i64', 1), - 65082: createSymbolObject('atomic.rmw.xor', 'i32', 1), - 65083: createSymbolObject('atomic.rmw.xor', 'i64', 1), - 65084: createSymbolObject('atomic.rmw8_u.xor_u', 'i32', 1), - 65085: createSymbolObject('atomic.rmw16_u.xor_u', 'i32', 1), - 65086: createSymbolObject('atomic.rmw8_u.xor_u', 'i64', 1), - 65087: createSymbolObject('atomic.rmw16_u.xor_u', 'i64', 1), - 65088: createSymbolObject('atomic.rmw32_u.xor_u', 'i64', 1), - 65089: createSymbolObject('atomic.rmw.xchg', 'i32', 1), - 65090: createSymbolObject('atomic.rmw.xchg', 'i64', 1), - 65091: createSymbolObject('atomic.rmw8_u.xchg_u', 'i32', 1), - 65092: createSymbolObject('atomic.rmw16_u.xchg_u', 'i32', 1), - 65093: createSymbolObject('atomic.rmw8_u.xchg_u', 'i64', 1), - 65094: createSymbolObject('atomic.rmw16_u.xchg_u', 'i64', 1), - 65095: createSymbolObject('atomic.rmw32_u.xchg_u', 'i64', 1), - 65096: createSymbolObject('atomic.rmw.cmpxchg', 'i32', 1), - 65097: createSymbolObject('atomic.rmw.cmpxchg', 'i64', 1), - 65098: createSymbolObject('atomic.rmw8_u.cmpxchg_u', 'i32', 1), - 65099: createSymbolObject('atomic.rmw16_u.cmpxchg_u', 'i32', 1), - 65100: createSymbolObject('atomic.rmw8_u.cmpxchg_u', 'i64', 1), - 65101: createSymbolObject('atomic.rmw16_u.cmpxchg_u', 'i64', 1), - 65102: createSymbolObject('atomic.rmw32_u.cmpxchg_u', 'i64', 1), - } - var Be = invertMap(Ne, function (k) { - if (typeof k.object === 'string') { - return ''.concat(k.object, '.').concat(k.name) - } - return k.name - }) - var qe = { - symbolsByByte: Ne, - sections: je, - magicModuleHeader: L, - moduleVersion: N, - types: q, - valtypes: pe, - exportTypes: ae, - blockTypes: _e, - tableTypes: ye, - globalTypes: Ie, - importTypes: Te, - valtypesByString: me, - globalTypesByString: Me, - exportTypesByName: le, - symbolsByName: Be, - } - v['default'] = qe - }, - 32337: function (k, v) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.getSectionForNode = getSectionForNode - function getSectionForNode(k) { - switch (k.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 - } - } - }, - 36915: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.createEmptySection = createEmptySection - var P = E(87643) - var R = E(97521) - var L = _interopRequireDefault(E(94545)) - var N = _interopRequireWildcard(E(26333)) - function _getRequireWildcardCache(k) { - if (typeof WeakMap !== 'function') return null - var v = new WeakMap() - var E = new WeakMap() - return (_getRequireWildcardCache = function _getRequireWildcardCache( - k - ) { - return k ? E : v - })(k) - } - function _interopRequireWildcard(k, v) { - if (!v && k && k.__esModule) { - return k - } - if ( - k === null || - (_typeof(k) !== 'object' && typeof k !== 'function') - ) { - return { default: k } - } - var E = _getRequireWildcardCache(v) - if (E && E.has(k)) { - return E.get(k) - } - var P = {} - var R = Object.defineProperty && Object.getOwnPropertyDescriptor - for (var L in k) { - if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { - var N = R ? Object.getOwnPropertyDescriptor(k, L) : null - if (N && (N.get || N.set)) { - Object.defineProperty(P, L, N) - } else { - P[L] = k[L] - } - } - } - P['default'] = k - if (E) { - E.set(k, P) - } - return P - } - function _interopRequireDefault(k) { - return k && k.__esModule ? k : { default: k } - } - function _typeof(k) { - '@babel/helpers - typeof' - if ( - typeof Symbol === 'function' && - typeof Symbol.iterator === 'symbol' - ) { - _typeof = function _typeof(k) { - return typeof k - } - } else { - _typeof = function _typeof(k) { - return k && - typeof Symbol === 'function' && - k.constructor === Symbol && - k !== Symbol.prototype - ? 'symbol' - : typeof k - } - } - return _typeof(k) - } - function findLastSection(k, v) { - var E = L['default'].sections[v] - var P = k.body[0].metadata.sections - var R - var N = 0 - for (var q = 0, ae = P.length; q < ae; q++) { - var le = P[q] - if (le.section === 'custom') { - continue - } - var pe = L['default'].sections[le.section] - if (E > N && E < pe) { - return R - } - N = pe - R = le - } - return R - } - function createEmptySection(k, v, E) { - var L = findLastSection(k, E) - var q, ae - if (L == null || L.section === 'custom') { - q = 8 - ae = q - } else { - q = L.startOffset + L.size.value + 1 - ae = q - } - q += 1 - var le = { line: -1, column: q } - var pe = { line: -1, column: q + 1 } - var me = N.withLoc(N.numberLiteralFromRaw(1), pe, le) - var ye = { line: -1, column: pe.column } - var _e = { line: -1, column: pe.column + 1 } - var Ie = N.withLoc(N.numberLiteralFromRaw(0), _e, ye) - var Me = N.sectionMetadata(E, q, me, Ie) - var Te = (0, P.encodeNode)(Me) - v = (0, R.overrideBytesInBuffer)(v, q - 1, ae, Te) - if (_typeof(k.body[0].metadata) === 'object') { - k.body[0].metadata.sections.push(Me) - N.sortSectionMetadata(k.body[0]) - } - var je = +Te.length - var Ne = false - N.traverse(k, { - SectionMetadata: function SectionMetadata(v) { - if (v.node.section === E) { - Ne = true - return - } - if (Ne === true) { - N.shiftSection(k, v.node, je) - } - }, - }) - return { uint8Buffer: v, sectionMetadata: Me } - } - }, - 82844: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - Object.defineProperty(v, 'resizeSectionByteSize', { - enumerable: true, - get: function get() { - return P.resizeSectionByteSize - }, - }) - Object.defineProperty(v, 'resizeSectionVecSize', { - enumerable: true, - get: function get() { - return P.resizeSectionVecSize - }, - }) - Object.defineProperty(v, 'createEmptySection', { - enumerable: true, - get: function get() { - return R.createEmptySection - }, - }) - Object.defineProperty(v, 'removeSections', { - enumerable: true, - get: function get() { - return L.removeSections - }, - }) - var P = E(86424) - var R = E(36915) - var L = E(18838) - }, - 18838: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.removeSections = removeSections - var P = E(26333) - var R = E(97521) - function removeSections(k, v, E) { - var L = (0, P.getSectionMetadatas)(k, E) - if (L.length === 0) { - throw new Error('Section metadata not found') - } - return L.reverse().reduce(function (v, L) { - var N = L.startOffset - 1 - var q = - E === 'start' - ? L.size.loc.end.column + 1 - : L.startOffset + L.size.value + 1 - var ae = -(q - N) - var le = false - ;(0, P.traverse)(k, { - SectionMetadata: function SectionMetadata(v) { - if (v.node.section === E) { - le = true - return v.remove() - } - if (le === true) { - ;(0, P.shiftSection)(k, v.node, ae) - } - }, - }) - var pe = [] - return (0, R.overrideBytesInBuffer)(v, N, q, pe) - }, v) - } - }, - 86424: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.resizeSectionByteSize = resizeSectionByteSize - v.resizeSectionVecSize = resizeSectionVecSize - var P = E(87643) - var R = E(26333) - var L = E(97521) - function resizeSectionByteSize(k, v, E, N) { - var q = (0, R.getSectionMetadata)(k, E) - if (typeof q === 'undefined') { - throw new Error('Section metadata not found') - } - if (typeof q.size.loc === 'undefined') { - throw new Error('SectionMetadata ' + E + ' has no loc') - } - var ae = q.size.loc.start.column - var le = q.size.loc.end.column - var pe = q.size.value + N - var me = (0, P.encodeU32)(pe) - q.size.value = pe - var ye = le - ae - var _e = me.length - if (_e !== ye) { - var Ie = _e - ye - q.size.loc.end.column = ae + _e - N += Ie - q.vectorOfSize.loc.start.column += Ie - q.vectorOfSize.loc.end.column += Ie - } - var Me = false - ;(0, R.traverse)(k, { - SectionMetadata: function SectionMetadata(v) { - if (v.node.section === E) { - Me = true - return - } - if (Me === true) { - ;(0, R.shiftSection)(k, v.node, N) - } - }, - }) - return (0, L.overrideBytesInBuffer)(v, ae, le, me) - } - function resizeSectionVecSize(k, v, E, N) { - var q = (0, R.getSectionMetadata)(k, E) - if (typeof q === 'undefined') { - throw new Error('Section metadata not found') - } - if (typeof q.vectorOfSize.loc === 'undefined') { - throw new Error('SectionMetadata ' + E + ' has no loc') - } - if (q.vectorOfSize.value === -1) { - return v - } - var ae = q.vectorOfSize.loc.start.column - var le = q.vectorOfSize.loc.end.column - var pe = q.vectorOfSize.value + N - var me = (0, P.encodeU32)(pe) - q.vectorOfSize.value = pe - q.vectorOfSize.loc.end.column = ae + me.length - return (0, L.overrideBytesInBuffer)(v, ae, le, me) - } - }, - 77622: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.encodeF32 = encodeF32 - v.encodeF64 = encodeF64 - v.decodeF32 = decodeF32 - v.decodeF64 = decodeF64 - v.DOUBLE_PRECISION_MANTISSA = - v.SINGLE_PRECISION_MANTISSA = - v.NUMBER_OF_BYTE_F64 = - v.NUMBER_OF_BYTE_F32 = - void 0 - var P = E(62734) - var R = 4 - v.NUMBER_OF_BYTE_F32 = R - var L = 8 - v.NUMBER_OF_BYTE_F64 = L - var N = 23 - v.SINGLE_PRECISION_MANTISSA = N - var q = 52 - v.DOUBLE_PRECISION_MANTISSA = q - function encodeF32(k) { - var v = [] - ;(0, P.write)(v, k, 0, true, N, R) - return v - } - function encodeF64(k) { - var v = [] - ;(0, P.write)(v, k, 0, true, q, L) - return v - } - function decodeF32(k) { - var v = Buffer.from(k) - return (0, P.read)(v, 0, true, N, R) - } - function decodeF64(k) { - var v = Buffer.from(k) - return (0, P.read)(v, 0, true, q, L) - } - }, - 79423: function (k, v) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.extract = extract - v.inject = inject - v.getSign = getSign - v.highOrder = highOrder - function extract(k, v, E, P) { - if (E < 0 || E > 32) { - throw new Error('Bad value for bitLength.') - } - if (P === undefined) { - P = 0 - } else if (P !== 0 && P !== 1) { - throw new Error('Bad value for defaultBit.') - } - var R = P * 255 - var L = 0 - var N = v + E - var q = Math.floor(v / 8) - var ae = v % 8 - var le = Math.floor(N / 8) - var pe = N % 8 - if (pe !== 0) { - L = get(le) & ((1 << pe) - 1) - } - while (le > q) { - le-- - L = (L << 8) | get(le) - } - L >>>= ae - return L - function get(v) { - var E = k[v] - return E === undefined ? R : E - } - } - function inject(k, v, E, P) { - if (E < 0 || E > 32) { - throw new Error('Bad value for bitLength.') - } - var R = Math.floor((v + E - 1) / 8) - if (v < 0 || R >= k.length) { - throw new Error('Index out of range.') - } - var L = Math.floor(v / 8) - var N = v % 8 - while (E > 0) { - if (P & 1) { - k[L] |= 1 << N - } else { - k[L] &= ~(1 << N) - } - P >>= 1 - E-- - N = (N + 1) % 8 - if (N === 0) { - L++ - } - } - } - function getSign(k) { - return k[k.length - 1] >>> 7 - } - function highOrder(k, v) { - var E = v.length - var P = (k ^ 1) * 255 - while (E > 0 && v[E - 1] === P) { - E-- - } - if (E === 0) { - return -1 - } - var R = v[E - 1] - var L = E * 8 - 1 - for (var N = 7; N > 0; N--) { - if (((R >> N) & 1) === k) { - break - } - L-- - } - return L - } - }, - 57386: function (k, v) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.alloc = alloc - v.free = free - v.resize = resize - v.readInt = readInt - v.readUInt = readUInt - v.writeInt64 = writeInt64 - v.writeUInt64 = writeUInt64 - var E = [] - var P = 20 - var R = -0x8000000000000000 - var L = 0x7ffffffffffffc00 - var N = 0xfffffffffffff800 - var q = 4294967296 - var ae = 0x10000000000000000 - function lowestBit(k) { - return k & -k - } - function isLossyToAdd(k, v) { - if (v === 0) { - return false - } - var E = lowestBit(v) - var P = k + E - if (P === k) { - return true - } - if (P - E !== k) { - return true - } - return false - } - function alloc(k) { - var v = E[k] - if (v) { - E[k] = undefined - } else { - v = new Buffer(k) - } - v.fill(0) - return v - } - function free(k) { - var v = k.length - if (v < P) { - E[v] = k - } - } - function resize(k, v) { - if (v === k.length) { - return k - } - var E = alloc(v) - k.copy(E) - free(k) - return E - } - function readInt(k) { - var v = k.length - var E = k[v - 1] < 128 - var P = E ? 0 : -1 - var R = false - if (v < 7) { - for (var L = v - 1; L >= 0; L--) { - P = P * 256 + k[L] - } - } else { - for (var N = v - 1; N >= 0; N--) { - var q = k[N] - P *= 256 - if (isLossyToAdd(P, q)) { - R = true - } - P += q - } - } - return { value: P, lossy: R } - } - function readUInt(k) { - var v = k.length - var E = 0 - var P = false - if (v < 7) { - for (var R = v - 1; R >= 0; R--) { - E = E * 256 + k[R] - } - } else { - for (var L = v - 1; L >= 0; L--) { - var N = k[L] - E *= 256 - if (isLossyToAdd(E, N)) { - P = true - } - E += N - } - } - return { value: E, lossy: P } - } - function writeInt64(k, v) { - if (k < R || k > L) { - throw new Error('Value out of range.') - } - if (k < 0) { - k += ae - } - writeUInt64(k, v) - } - function writeUInt64(k, v) { - if (k < 0 || k > N) { - throw new Error('Value out of range.') - } - var E = k % q - var P = Math.floor(k / q) - v.writeUInt32LE(E, 0) - v.writeUInt32LE(P, 4) - } - }, - 54307: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.decodeInt64 = decodeInt64 - v.decodeUInt64 = decodeUInt64 - v.decodeInt32 = decodeInt32 - v.decodeUInt32 = decodeUInt32 - v.encodeU32 = encodeU32 - v.encodeI32 = encodeI32 - v.encodeI64 = encodeI64 - v.MAX_NUMBER_OF_BYTE_U64 = v.MAX_NUMBER_OF_BYTE_U32 = void 0 - var P = _interopRequireDefault(E(66562)) - function _interopRequireDefault(k) { - return k && k.__esModule ? k : { default: k } - } - var R = 5 - v.MAX_NUMBER_OF_BYTE_U32 = R - var L = 10 - v.MAX_NUMBER_OF_BYTE_U64 = L - function decodeInt64(k, v) { - return P['default'].decodeInt64(k, v) - } - function decodeUInt64(k, v) { - return P['default'].decodeUInt64(k, v) - } - function decodeInt32(k, v) { - return P['default'].decodeInt32(k, v) - } - function decodeUInt32(k, v) { - return P['default'].decodeUInt32(k, v) - } - function encodeU32(k) { - return P['default'].encodeUInt32(k) - } - function encodeI32(k) { - return P['default'].encodeInt32(k) - } - function encodeI64(k) { - return P['default'].encodeInt64(k) - } - }, - 66562: function (k, v, E) { - 'use strict' - function _typeof(k) { - '@babel/helpers - typeof' - if ( - typeof Symbol === 'function' && - typeof Symbol.iterator === 'symbol' - ) { - _typeof = function _typeof(k) { - return typeof k - } - } else { - _typeof = function _typeof(k) { - return k && - typeof Symbol === 'function' && - k.constructor === Symbol && - k !== Symbol.prototype - ? 'symbol' - : typeof k - } - } - return _typeof(k) - } - Object.defineProperty(v, '__esModule', { value: true }) - v['default'] = void 0 - var P = _interopRequireDefault(E(85249)) - var R = _interopRequireWildcard(E(79423)) - var L = _interopRequireWildcard(E(57386)) - function _getRequireWildcardCache(k) { - if (typeof WeakMap !== 'function') return null - var v = new WeakMap() - var E = new WeakMap() - return (_getRequireWildcardCache = function _getRequireWildcardCache( - k - ) { - return k ? E : v - })(k) - } - function _interopRequireWildcard(k, v) { - if (!v && k && k.__esModule) { - return k - } - if ( - k === null || - (_typeof(k) !== 'object' && typeof k !== 'function') - ) { - return { default: k } - } - var E = _getRequireWildcardCache(v) - if (E && E.has(k)) { - return E.get(k) - } - var P = {} - var R = Object.defineProperty && Object.getOwnPropertyDescriptor - for (var L in k) { - if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { - var N = R ? Object.getOwnPropertyDescriptor(k, L) : null - if (N && (N.get || N.set)) { - Object.defineProperty(P, L, N) - } else { - P[L] = k[L] - } - } - } - P['default'] = k - if (E) { - E.set(k, P) - } - return P - } - function _interopRequireDefault(k) { - return k && k.__esModule ? k : { default: k } - } - var N = -2147483648 - var q = 2147483647 - var ae = 4294967295 - function signedBitCount(k) { - return R.highOrder(R.getSign(k) ^ 1, k) + 2 - } - function unsignedBitCount(k) { - var v = R.highOrder(1, k) + 1 - return v ? v : 1 - } - function encodeBufferCommon(k, v) { - var E - var P - if (v) { - E = R.getSign(k) - P = signedBitCount(k) - } else { - E = 0 - P = unsignedBitCount(k) - } - var N = Math.ceil(P / 7) - var q = L.alloc(N) - for (var ae = 0; ae < N; ae++) { - var le = R.extract(k, ae * 7, 7, E) - q[ae] = le | 128 - } - q[N - 1] &= 127 - return q - } - function encodedLength(k, v) { - var E = 0 - while (k[v + E] >= 128) { - E++ - } - E++ - if (v + E > k.length) { - } - return E - } - function decodeBufferCommon(k, v, E) { - v = v === undefined ? 0 : v - var P = encodedLength(k, v) - var N = P * 7 - var q = Math.ceil(N / 8) - var ae = L.alloc(q) - var le = 0 - while (P > 0) { - R.inject(ae, le, 7, k[v]) - le += 7 - v++ - P-- - } - var pe - var me - if (E) { - var ye = ae[q - 1] - var _e = le % 8 - if (_e !== 0) { - var Ie = 32 - _e - ye = ae[q - 1] = ((ye << Ie) >> Ie) & 255 - } - pe = ye >> 7 - me = pe * 255 - } else { - pe = 0 - me = 0 - } - while (q > 1 && ae[q - 1] === me && (!E || ae[q - 2] >> 7 === pe)) { - q-- - } - ae = L.resize(ae, q) - return { value: ae, nextIndex: v } - } - function encodeIntBuffer(k) { - return encodeBufferCommon(k, true) - } - function decodeIntBuffer(k, v) { - return decodeBufferCommon(k, v, true) - } - function encodeInt32(k) { - var v = L.alloc(4) - v.writeInt32LE(k, 0) - var E = encodeIntBuffer(v) - L.free(v) - return E - } - function decodeInt32(k, v) { - var E = decodeIntBuffer(k, v) - var P = L.readInt(E.value) - var R = P.value - L.free(E.value) - if (R < N || R > q) { - throw new Error('integer too large') - } - return { value: R, nextIndex: E.nextIndex } - } - function encodeInt64(k) { - var v = L.alloc(8) - L.writeInt64(k, v) - var E = encodeIntBuffer(v) - L.free(v) - return E - } - function decodeInt64(k, v) { - var E = decodeIntBuffer(k, v) - var R = E.value.length - if (E.value[R - 1] >> 7) { - E.value = L.resize(E.value, 8) - E.value.fill(255, R) - } - var N = P['default'].fromBytesLE(E.value, false) - L.free(E.value) - return { value: N, nextIndex: E.nextIndex, lossy: false } - } - function encodeUIntBuffer(k) { - return encodeBufferCommon(k, false) - } - function decodeUIntBuffer(k, v) { - return decodeBufferCommon(k, v, false) - } - function encodeUInt32(k) { - var v = L.alloc(4) - v.writeUInt32LE(k, 0) - var E = encodeUIntBuffer(v) - L.free(v) - return E - } - function decodeUInt32(k, v) { - var E = decodeUIntBuffer(k, v) - var P = L.readUInt(E.value) - var R = P.value - L.free(E.value) - if (R > ae) { - throw new Error('integer too large') - } - return { value: R, nextIndex: E.nextIndex } - } - function encodeUInt64(k) { - var v = L.alloc(8) - L.writeUInt64(k, v) - var E = encodeUIntBuffer(v) - L.free(v) - return E - } - function decodeUInt64(k, v) { - var E = decodeUIntBuffer(k, v) - var R = P['default'].fromBytesLE(E.value, true) - L.free(E.value) - return { value: R, nextIndex: E.nextIndex, lossy: false } - } - var le = { - decodeInt32: decodeInt32, - decodeInt64: decodeInt64, - decodeIntBuffer: decodeIntBuffer, - decodeUInt32: decodeUInt32, - decodeUInt64: decodeUInt64, - decodeUIntBuffer: decodeUIntBuffer, - encodeInt32: encodeInt32, - encodeInt64: encodeInt64, - encodeIntBuffer: encodeIntBuffer, - encodeUInt32: encodeUInt32, - encodeUInt64: encodeUInt64, - encodeUIntBuffer: encodeUIntBuffer, - } - v['default'] = le - }, - 18126: function (k, v) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.decode = decode - function con(k) { - if ((k & 192) === 128) { - return k & 63 - } else { - throw new Error('invalid UTF-8 encoding') - } - } - function code(k, v) { - if (v < k || (55296 <= v && v < 57344) || v >= 65536) { - throw new Error('invalid UTF-8 encoding') - } else { - return v - } - } - function decode(k) { - return _decode(k) - .map(function (k) { - return String.fromCharCode(k) - }) - .join('') - } - function _decode(k) { - var v = [] - while (k.length > 0) { - var E = k[0] - if (E < 128) { - v.push(code(0, E)) - k = k.slice(1) - continue - } - if (E < 192) { - throw new Error('invalid UTF-8 encoding') - } - var P = k[1] - if (E < 224) { - v.push(code(128, ((E & 31) << 6) + con(P))) - k = k.slice(2) - continue - } - var R = k[2] - if (E < 240) { - v.push(code(2048, ((E & 15) << 12) + (con(P) << 6) + con(R))) - k = k.slice(3) - continue - } - var L = k[3] - if (E < 248) { - v.push( - code( - 65536, - ((((E & 7) << 18) + con(P)) << 12) + (con(R) << 6) + con(L) - ) - ) - k = k.slice(4) - continue - } - throw new Error('invalid UTF-8 encoding') - } - return v - } - }, - 24083: function (k, v) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.encode = encode - function _toConsumableArray(k) { - return ( - _arrayWithoutHoles(k) || - _iterableToArray(k) || - _unsupportedIterableToArray(k) || - _nonIterableSpread() - ) - } - function _nonIterableSpread() { - throw new TypeError( - 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' - ) - } - function _arrayWithoutHoles(k) { - if (Array.isArray(k)) return _arrayLikeToArray(k) - } - function _toArray(k) { - return ( - _arrayWithHoles(k) || - _iterableToArray(k) || - _unsupportedIterableToArray(k) || - _nonIterableRest() - ) - } - function _nonIterableRest() { - throw new TypeError( - 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' - ) - } - function _unsupportedIterableToArray(k, v) { - if (!k) return - if (typeof k === 'string') return _arrayLikeToArray(k, v) - var E = Object.prototype.toString.call(k).slice(8, -1) - if (E === 'Object' && k.constructor) E = k.constructor.name - if (E === 'Map' || E === 'Set') return Array.from(k) - if ( - E === 'Arguments' || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) - ) - return _arrayLikeToArray(k, v) - } - function _arrayLikeToArray(k, v) { - if (v == null || v > k.length) v = k.length - for (var E = 0, P = new Array(v); E < v; E++) { - P[E] = k[E] - } - return P - } - function _iterableToArray(k) { - if ( - (typeof Symbol !== 'undefined' && k[Symbol.iterator] != null) || - k['@@iterator'] != null - ) - return Array.from(k) - } - function _arrayWithHoles(k) { - if (Array.isArray(k)) return k - } - function con(k) { - return 128 | (k & 63) - } - function encode(k) { - var v = k.split('').map(function (k) { - return k.charCodeAt(0) - }) - return _encode(v) - } - function _encode(k) { - if (k.length === 0) { - return [] - } - var v = _toArray(k), - E = v[0], - P = v.slice(1) - if (E < 0) { - throw new Error('utf8') - } - if (E < 128) { - return [E].concat(_toConsumableArray(_encode(P))) - } - if (E < 2048) { - return [192 | (E >>> 6), con(E)].concat( - _toConsumableArray(_encode(P)) - ) - } - if (E < 65536) { - return [224 | (E >>> 12), con(E >>> 6), con(E)].concat( - _toConsumableArray(_encode(P)) - ) - } - if (E < 1114112) { - return [240 | (E >>> 18), con(E >>> 12), con(E >>> 6), con(E)].concat( - _toConsumableArray(_encode(P)) - ) - } - throw new Error('utf8') - } - }, - 34114: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - Object.defineProperty(v, 'decode', { - enumerable: true, - get: function get() { - return P.decode - }, - }) - Object.defineProperty(v, 'encode', { - enumerable: true, - get: function get() { - return R.encode - }, - }) - var P = E(18126) - var R = E(24083) - }, - 25467: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.applyOperations = applyOperations - var P = E(87643) - var R = E(49212) - var L = E(26333) - var N = E(82844) - var q = E(97521) - var ae = E(94545) - function _slicedToArray(k, v) { - return ( - _arrayWithHoles(k) || - _iterableToArrayLimit(k, v) || - _unsupportedIterableToArray(k, v) || - _nonIterableRest() - ) - } - function _nonIterableRest() { - throw new TypeError( - 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' - ) - } - function _unsupportedIterableToArray(k, v) { - if (!k) return - if (typeof k === 'string') return _arrayLikeToArray(k, v) - var E = Object.prototype.toString.call(k).slice(8, -1) - if (E === 'Object' && k.constructor) E = k.constructor.name - if (E === 'Map' || E === 'Set') return Array.from(k) - if ( - E === 'Arguments' || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) - ) - return _arrayLikeToArray(k, v) - } - function _arrayLikeToArray(k, v) { - if (v == null || v > k.length) v = k.length - for (var E = 0, P = new Array(v); E < v; E++) { - P[E] = k[E] - } - return P - } - function _iterableToArrayLimit(k, v) { - var E = - k == null - ? null - : (typeof Symbol !== 'undefined' && k[Symbol.iterator]) || - k['@@iterator'] - if (E == null) return - var P = [] - var R = true - var L = false - var N, q - try { - for (E = E.call(k); !(R = (N = E.next()).done); R = true) { - P.push(N.value) - if (v && P.length === v) break - } - } catch (k) { - L = true - q = k - } finally { - try { - if (!R && E['return'] != null) E['return']() - } finally { - if (L) throw q - } - } - return P - } - function _arrayWithHoles(k) { - if (Array.isArray(k)) return k - } - function shiftLocNodeByDelta(k, v) { - ;(0, L.assertHasLoc)(k) - k.loc.start.column += v - k.loc.end.column += v - } - function applyUpdate(k, v, E) { - var N = _slicedToArray(E, 2), - le = N[0], - pe = N[1] - var me = 0 - ;(0, L.assertHasLoc)(le) - var ye = (0, ae.getSectionForNode)(pe) - var _e = (0, P.encodeNode)(pe) - v = (0, q.overrideBytesInBuffer)( - v, - le.loc.start.column, - le.loc.end.column, - _e - ) - if (ye === 'code') { - ;(0, L.traverse)(k, { - Func: function Func(k) { - var E = k.node - var N = - E.body.find(function (k) { - return k === pe - }) !== undefined - if (N === true) { - ;(0, L.assertHasLoc)(E) - var ae = (0, P.encodeNode)(le).length - var me = _e.length - ae - if (me !== 0) { - var ye = E.metadata.bodySize + me - var Ie = (0, R.encodeU32)(ye) - var Me = E.loc.start.column - var Te = Me + 1 - v = (0, q.overrideBytesInBuffer)(v, Me, Te, Ie) - } - } - }, - }) - } - var Ie = _e.length - (le.loc.end.column - le.loc.start.column) - pe.loc = { - start: { line: -1, column: -1 }, - end: { line: -1, column: -1 }, - } - pe.loc.start.column = le.loc.start.column - pe.loc.end.column = le.loc.start.column + _e.length - return { uint8Buffer: v, deltaBytes: Ie, deltaElements: me } - } - function applyDelete(k, v, E) { - var P = -1 - ;(0, L.assertHasLoc)(E) - var R = (0, ae.getSectionForNode)(E) - if (R === 'start') { - var le = (0, L.getSectionMetadata)(k, 'start') - v = (0, N.removeSections)(k, v, 'start') - var pe = -(le.size.value + 1) - return { uint8Buffer: v, deltaBytes: pe, deltaElements: P } - } - var me = [] - v = (0, q.overrideBytesInBuffer)( - v, - E.loc.start.column, - E.loc.end.column, - me - ) - var ye = -(E.loc.end.column - E.loc.start.column) - return { uint8Buffer: v, deltaBytes: ye, deltaElements: P } - } - function applyAdd(k, v, E) { - var R = +1 - var le = (0, ae.getSectionForNode)(E) - var pe = (0, L.getSectionMetadata)(k, le) - if (typeof pe === 'undefined') { - var me = (0, N.createEmptySection)(k, v, le) - v = me.uint8Buffer - pe = me.sectionMetadata - } - if ((0, L.isFunc)(E)) { - var ye = E.body - if (ye.length === 0 || ye[ye.length - 1].id !== 'end') { - throw new Error('expressions must be ended') - } - } - if ((0, L.isGlobal)(E)) { - var ye = E.init - if (ye.length === 0 || ye[ye.length - 1].id !== 'end') { - throw new Error('expressions must be ended') - } - } - var _e = (0, P.encodeNode)(E) - var Ie = (0, L.getEndOfSection)(pe) - var Me = Ie - var Te = _e.length - v = (0, q.overrideBytesInBuffer)(v, Ie, Me, _e) - E.loc = { - start: { line: -1, column: Ie }, - end: { line: -1, column: Ie + Te }, - } - if (E.type === 'Func') { - var je = _e[0] - E.metadata = { bodySize: je } - } - if (E.type !== 'IndexInFuncSection') { - ;(0, L.orderedInsertNode)(k.body[0], E) - } - return { uint8Buffer: v, deltaBytes: Te, deltaElements: R } - } - function applyOperations(k, v, E) { - E.forEach(function (P) { - var R - var L - switch (P.kind) { - case 'update': - R = applyUpdate(k, v, [P.oldNode, P.node]) - L = (0, ae.getSectionForNode)(P.node) - break - case 'delete': - R = applyDelete(k, v, P.node) - L = (0, ae.getSectionForNode)(P.node) - break - case 'add': - R = applyAdd(k, v, P.node) - L = (0, ae.getSectionForNode)(P.node) - break - default: - throw new Error('Unknown operation') - } - if (R.deltaElements !== 0 && L !== 'start') { - var q = R.uint8Buffer.length - R.uint8Buffer = (0, N.resizeSectionVecSize)( - k, - R.uint8Buffer, - L, - R.deltaElements - ) - R.deltaBytes += R.uint8Buffer.length - q - } - if (R.deltaBytes !== 0 && L !== 'start') { - var le = R.uint8Buffer.length - R.uint8Buffer = (0, N.resizeSectionByteSize)( - k, - R.uint8Buffer, - L, - R.deltaBytes - ) - R.deltaBytes += R.uint8Buffer.length - le - } - if (R.deltaBytes !== 0) { - E.forEach(function (k) { - switch (k.kind) { - case 'update': - shiftLocNodeByDelta(k.oldNode, R.deltaBytes) - break - case 'delete': - shiftLocNodeByDelta(k.node, R.deltaBytes) - break - } - }) - } - v = R.uint8Buffer - }) - return v - } - }, - 12092: function (k, v, E) { - 'use strict' - function _typeof(k) { - '@babel/helpers - typeof' - if ( - typeof Symbol === 'function' && - typeof Symbol.iterator === 'symbol' - ) { - _typeof = function _typeof(k) { - return typeof k - } - } else { - _typeof = function _typeof(k) { - return k && - typeof Symbol === 'function' && - k.constructor === Symbol && - k !== Symbol.prototype - ? 'symbol' - : typeof k - } - } - return _typeof(k) - } - Object.defineProperty(v, '__esModule', { value: true }) - v.edit = edit - v.editWithAST = editWithAST - v.add = add - v.addWithAST = addWithAST - var P = E(57480) - var R = E(26333) - var L = E(75583) - var N = E(36531) - var q = _interopRequireWildcard(E(94545)) - var ae = E(25467) - function _getRequireWildcardCache(k) { - if (typeof WeakMap !== 'function') return null - var v = new WeakMap() - var E = new WeakMap() - return (_getRequireWildcardCache = function _getRequireWildcardCache( - k - ) { - return k ? E : v - })(k) - } - function _interopRequireWildcard(k, v) { - if (!v && k && k.__esModule) { - return k - } - if ( - k === null || - (_typeof(k) !== 'object' && typeof k !== 'function') - ) { - return { default: k } - } - var E = _getRequireWildcardCache(v) - if (E && E.has(k)) { - return E.get(k) - } - var P = {} - var R = Object.defineProperty && Object.getOwnPropertyDescriptor - for (var L in k) { - if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { - var N = R ? Object.getOwnPropertyDescriptor(k, L) : null - if (N && (N.get || N.set)) { - Object.defineProperty(P, L, N) - } else { - P[L] = k[L] - } - } - } - P['default'] = k - if (E) { - E.set(k, P) - } - return P - } - function _createForOfIteratorHelper(k, v) { - var E = - (typeof Symbol !== 'undefined' && k[Symbol.iterator]) || - k['@@iterator'] - if (!E) { - if ( - Array.isArray(k) || - (E = _unsupportedIterableToArray(k)) || - (v && k && typeof k.length === 'number') - ) { - if (E) k = E - var P = 0 - var R = function F() {} - return { - s: R, - n: function n() { - if (P >= k.length) return { done: true } - return { done: false, value: k[P++] } - }, - e: function e(k) { - throw k - }, - f: R, - } - } - throw new TypeError( - 'Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' - ) - } - var L = true, - N = false, - q - return { - s: function s() { - E = E.call(k) - }, - n: function n() { - var k = E.next() - L = k.done - return k - }, - e: function e(k) { - N = true - q = k - }, - f: function f() { - try { - if (!L && E['return'] != null) E['return']() - } finally { - if (N) throw q - } - }, - } - } - function _unsupportedIterableToArray(k, v) { - if (!k) return - if (typeof k === 'string') return _arrayLikeToArray(k, v) - var E = Object.prototype.toString.call(k).slice(8, -1) - if (E === 'Object' && k.constructor) E = k.constructor.name - if (E === 'Map' || E === 'Set') return Array.from(k) - if ( - E === 'Arguments' || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) - ) - return _arrayLikeToArray(k, v) - } - function _arrayLikeToArray(k, v) { - if (v == null || v > k.length) v = k.length - for (var E = 0, P = new Array(v); E < v; E++) { - P[E] = k[E] - } - return P - } - function hashNode(k) { - return JSON.stringify(k) - } - function preprocess(k) { - var v = (0, N.shrinkPaddedLEB128)(new Uint8Array(k)) - return v.buffer - } - function sortBySectionOrder(k) { - var v = new Map() - var E = _createForOfIteratorHelper(k), - P - try { - for (E.s(); !(P = E.n()).done; ) { - var R = P.value - v.set(R, v.size) - } - } catch (k) { - E.e(k) - } finally { - E.f() - } - k.sort(function (k, E) { - var P = (0, q.getSectionForNode)(k) - var R = (0, q.getSectionForNode)(E) - var L = q['default'].sections[P] - var N = q['default'].sections[R] - if (typeof L !== 'number' || typeof N !== 'number') { - throw new Error('Section id not found') - } - if (L === N) { - return v.get(k) - v.get(E) - } - return L - N - }) - } - function edit(k, v) { - k = preprocess(k) - var E = (0, P.decode)(k) - return editWithAST(E, k, v) - } - function editWithAST(k, v, E) { - var P = [] - var N = new Uint8Array(v) - var q - function before(k, v) { - q = (0, L.cloneNode)(v.node) - } - function after(k, v) { - if (v.node._deleted === true) { - P.push({ kind: 'delete', node: v.node }) - } else if (hashNode(q) !== hashNode(v.node)) { - P.push({ kind: 'update', oldNode: q, node: v.node }) - } - } - ;(0, R.traverse)(k, E, before, after) - N = (0, ae.applyOperations)(k, N, P) - return N.buffer - } - function add(k, v) { - k = preprocess(k) - var E = (0, P.decode)(k) - return addWithAST(E, k, v) - } - function addWithAST(k, v, E) { - sortBySectionOrder(E) - var P = new Uint8Array(v) - var R = E.map(function (k) { - return { kind: 'add', node: k } - }) - P = (0, ae.applyOperations)(k, P, R) - return P.buffer - } - }, - 49212: function (k, v, E) { - 'use strict' - function _typeof(k) { - '@babel/helpers - typeof' - if ( - typeof Symbol === 'function' && - typeof Symbol.iterator === 'symbol' - ) { - _typeof = function _typeof(k) { - return typeof k - } - } else { - _typeof = function _typeof(k) { - return k && - typeof Symbol === 'function' && - k.constructor === Symbol && - k !== Symbol.prototype - ? 'symbol' - : typeof k - } - } - return _typeof(k) - } - Object.defineProperty(v, '__esModule', { value: true }) - v.encodeVersion = encodeVersion - v.encodeHeader = encodeHeader - v.encodeU32 = encodeU32 - v.encodeI32 = encodeI32 - v.encodeI64 = encodeI64 - v.encodeVec = encodeVec - v.encodeValtype = encodeValtype - v.encodeMutability = encodeMutability - v.encodeUTF8Vec = encodeUTF8Vec - v.encodeLimits = encodeLimits - v.encodeModuleImport = encodeModuleImport - v.encodeSectionMetadata = encodeSectionMetadata - v.encodeCallInstruction = encodeCallInstruction - v.encodeCallIndirectInstruction = encodeCallIndirectInstruction - v.encodeModuleExport = encodeModuleExport - v.encodeTypeInstruction = encodeTypeInstruction - v.encodeInstr = encodeInstr - v.encodeStringLiteral = encodeStringLiteral - v.encodeGlobal = encodeGlobal - v.encodeFuncBody = encodeFuncBody - v.encodeIndexInFuncSection = encodeIndexInFuncSection - v.encodeElem = encodeElem - var P = _interopRequireWildcard(E(54307)) - var R = _interopRequireWildcard(E(77622)) - var L = _interopRequireWildcard(E(34114)) - var N = _interopRequireDefault(E(94545)) - var q = E(87643) - function _interopRequireDefault(k) { - return k && k.__esModule ? k : { default: k } - } - function _getRequireWildcardCache(k) { - if (typeof WeakMap !== 'function') return null - var v = new WeakMap() - var E = new WeakMap() - return (_getRequireWildcardCache = function _getRequireWildcardCache( - k - ) { - return k ? E : v - })(k) - } - function _interopRequireWildcard(k, v) { - if (!v && k && k.__esModule) { - return k - } - if ( - k === null || - (_typeof(k) !== 'object' && typeof k !== 'function') - ) { - return { default: k } - } - var E = _getRequireWildcardCache(v) - if (E && E.has(k)) { - return E.get(k) - } - var P = {} - var R = Object.defineProperty && Object.getOwnPropertyDescriptor - for (var L in k) { - if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { - var N = R ? Object.getOwnPropertyDescriptor(k, L) : null - if (N && (N.get || N.set)) { - Object.defineProperty(P, L, N) - } else { - P[L] = k[L] - } - } - } - P['default'] = k - if (E) { - E.set(k, P) - } - return P - } - function _toConsumableArray(k) { - return ( - _arrayWithoutHoles(k) || - _iterableToArray(k) || - _unsupportedIterableToArray(k) || - _nonIterableSpread() - ) - } - function _nonIterableSpread() { - throw new TypeError( - 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' - ) - } - function _unsupportedIterableToArray(k, v) { - if (!k) return - if (typeof k === 'string') return _arrayLikeToArray(k, v) - var E = Object.prototype.toString.call(k).slice(8, -1) - if (E === 'Object' && k.constructor) E = k.constructor.name - if (E === 'Map' || E === 'Set') return Array.from(k) - if ( - E === 'Arguments' || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) - ) - return _arrayLikeToArray(k, v) - } - function _iterableToArray(k) { - if ( - (typeof Symbol !== 'undefined' && k[Symbol.iterator] != null) || - k['@@iterator'] != null - ) - return Array.from(k) - } - function _arrayWithoutHoles(k) { - if (Array.isArray(k)) return _arrayLikeToArray(k) - } - function _arrayLikeToArray(k, v) { - if (v == null || v > k.length) v = k.length - for (var E = 0, P = new Array(v); E < v; E++) { - P[E] = k[E] - } - return P - } - function assertNotIdentifierNode(k) { - if (k.type === 'Identifier') { - throw new Error('Unsupported node Identifier') - } - } - function encodeVersion(k) { - var v = N['default'].moduleVersion - v[0] = k - return v - } - function encodeHeader() { - return N['default'].magicModuleHeader - } - function encodeU32(k) { - var v = new Uint8Array(P.encodeU32(k)) - var E = _toConsumableArray(v) - return E - } - function encodeI32(k) { - var v = new Uint8Array(P.encodeI32(k)) - var E = _toConsumableArray(v) - return E - } - function encodeI64(k) { - var v = new Uint8Array(P.encodeI64(k)) - var E = _toConsumableArray(v) - return E - } - function encodeVec(k) { - var v = encodeU32(k.length) - return [].concat(_toConsumableArray(v), _toConsumableArray(k)) - } - function encodeValtype(k) { - var v = N['default'].valtypesByString[k] - if (typeof v === 'undefined') { - throw new Error('Unknown valtype: ' + k) - } - return parseInt(v, 10) - } - function encodeMutability(k) { - var v = N['default'].globalTypesByString[k] - if (typeof v === 'undefined') { - throw new Error('Unknown mutability: ' + k) - } - return parseInt(v, 10) - } - function encodeUTF8Vec(k) { - return encodeVec(L.encode(k)) - } - function encodeLimits(k) { - var v = [] - if (typeof k.max === 'number') { - v.push(1) - v.push.apply(v, _toConsumableArray(encodeU32(k.min))) - v.push.apply(v, _toConsumableArray(encodeU32(k.max))) - } else { - v.push(0) - v.push.apply(v, _toConsumableArray(encodeU32(k.min))) - } - return v - } - function encodeModuleImport(k) { - var v = [] - v.push.apply(v, _toConsumableArray(encodeUTF8Vec(k.module))) - v.push.apply(v, _toConsumableArray(encodeUTF8Vec(k.name))) - switch (k.descr.type) { - case 'GlobalType': { - v.push(3) - v.push(encodeValtype(k.descr.valtype)) - v.push(encodeMutability(k.descr.mutability)) - break - } - case 'Memory': { - v.push(2) - v.push.apply(v, _toConsumableArray(encodeLimits(k.descr.limits))) - break - } - case 'Table': { - v.push(1) - v.push(112) - v.push.apply(v, _toConsumableArray(encodeLimits(k.descr.limits))) - break - } - case 'FuncImportDescr': { - v.push(0) - assertNotIdentifierNode(k.descr.id) - v.push.apply(v, _toConsumableArray(encodeU32(k.descr.id.value))) - break - } - default: - throw new Error( - 'Unsupport operation: encode module import of type: ' + - k.descr.type - ) - } - return v - } - function encodeSectionMetadata(k) { - var v = [] - var E = N['default'].sections[k.section] - if (typeof E === 'undefined') { - throw new Error('Unknown section: ' + k.section) - } - if (k.section === 'start') { - throw new Error('Unsupported section encoding of type start') - } - v.push(E) - v.push.apply(v, _toConsumableArray(encodeU32(k.size.value))) - v.push.apply(v, _toConsumableArray(encodeU32(k.vectorOfSize.value))) - return v - } - function encodeCallInstruction(k) { - var v = [] - assertNotIdentifierNode(k.index) - v.push(16) - v.push.apply(v, _toConsumableArray(encodeU32(k.index.value))) - return v - } - function encodeCallIndirectInstruction(k) { - var v = [] - assertNotIdentifierNode(k.index) - v.push(17) - v.push.apply(v, _toConsumableArray(encodeU32(k.index.value))) - v.push(0) - return v - } - function encodeModuleExport(k) { - var v = [] - assertNotIdentifierNode(k.descr.id) - var E = N['default'].exportTypesByName[k.descr.exportType] - if (typeof E === 'undefined') { - throw new Error('Unknown export of type: ' + k.descr.exportType) - } - var P = parseInt(E, 10) - v.push.apply(v, _toConsumableArray(encodeUTF8Vec(k.name))) - v.push(P) - v.push.apply(v, _toConsumableArray(encodeU32(k.descr.id.value))) - return v - } - function encodeTypeInstruction(k) { - var v = [96] - var E = k.functype.params - .map(function (k) { - return k.valtype - }) - .map(encodeValtype) - var P = k.functype.results.map(encodeValtype) - v.push.apply(v, _toConsumableArray(encodeVec(E))) - v.push.apply(v, _toConsumableArray(encodeVec(P))) - return v - } - function encodeInstr(k) { - var v = [] - var E = k.id - if (typeof k.object === 'string') { - E = ''.concat(k.object, '.').concat(String(k.id)) - } - var P = N['default'].symbolsByName[E] - if (typeof P === 'undefined') { - throw new Error( - 'encodeInstr: unknown instruction ' + JSON.stringify(E) - ) - } - var L = parseInt(P, 10) - v.push(L) - if (k.args) { - k.args.forEach(function (E) { - var P = encodeU32 - if (k.object === 'i32') { - P = encodeI32 - } - if (k.object === 'i64') { - P = encodeI64 - } - if (k.object === 'f32') { - P = R.encodeF32 - } - if (k.object === 'f64') { - P = R.encodeF64 - } - if ( - E.type === 'NumberLiteral' || - E.type === 'FloatLiteral' || - E.type === 'LongNumberLiteral' - ) { - v.push.apply(v, _toConsumableArray(P(E.value))) - } else { - throw new Error( - 'Unsupported instruction argument encoding ' + - JSON.stringify(E.type) - ) - } - }) - } - return v - } - function encodeExpr(k) { - var v = [] - k.forEach(function (k) { - var E = (0, q.encodeNode)(k) - v.push.apply(v, _toConsumableArray(E)) - }) - return v - } - function encodeStringLiteral(k) { - return encodeUTF8Vec(k.value) - } - function encodeGlobal(k) { - var v = [] - var E = k.globalType, - P = E.valtype, - R = E.mutability - v.push(encodeValtype(P)) - v.push(encodeMutability(R)) - v.push.apply(v, _toConsumableArray(encodeExpr(k.init))) - return v - } - function encodeFuncBody(k) { - var v = [] - v.push(-1) - var E = encodeVec([]) - v.push.apply(v, _toConsumableArray(E)) - var P = encodeExpr(k.body) - v[0] = P.length + E.length - v.push.apply(v, _toConsumableArray(P)) - return v - } - function encodeIndexInFuncSection(k) { - assertNotIdentifierNode(k.index) - return encodeU32(k.index.value) - } - function encodeElem(k) { - var v = [] - assertNotIdentifierNode(k.table) - v.push.apply(v, _toConsumableArray(encodeU32(k.table.value))) - v.push.apply(v, _toConsumableArray(encodeExpr(k.offset))) - var E = k.funcs.reduce(function (k, v) { - return [].concat( - _toConsumableArray(k), - _toConsumableArray(encodeU32(v.value)) - ) - }, []) - v.push.apply(v, _toConsumableArray(encodeVec(E))) - return v - } - }, - 87643: function (k, v, E) { - 'use strict' - function _typeof(k) { - '@babel/helpers - typeof' - if ( - typeof Symbol === 'function' && - typeof Symbol.iterator === 'symbol' - ) { - _typeof = function _typeof(k) { - return typeof k - } - } else { - _typeof = function _typeof(k) { - return k && - typeof Symbol === 'function' && - k.constructor === Symbol && - k !== Symbol.prototype - ? 'symbol' - : typeof k - } - } - return _typeof(k) - } - Object.defineProperty(v, '__esModule', { value: true }) - v.encodeNode = encodeNode - v.encodeU32 = void 0 - var P = _interopRequireWildcard(E(49212)) - function _getRequireWildcardCache(k) { - if (typeof WeakMap !== 'function') return null - var v = new WeakMap() - var E = new WeakMap() - return (_getRequireWildcardCache = function _getRequireWildcardCache( - k - ) { - return k ? E : v - })(k) - } - function _interopRequireWildcard(k, v) { - if (!v && k && k.__esModule) { - return k - } - if ( - k === null || - (_typeof(k) !== 'object' && typeof k !== 'function') - ) { - return { default: k } - } - var E = _getRequireWildcardCache(v) - if (E && E.has(k)) { - return E.get(k) - } - var P = {} - var R = Object.defineProperty && Object.getOwnPropertyDescriptor - for (var L in k) { - if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { - var N = R ? Object.getOwnPropertyDescriptor(k, L) : null - if (N && (N.get || N.set)) { - Object.defineProperty(P, L, N) - } else { - P[L] = k[L] - } - } - } - P['default'] = k - if (E) { - E.set(k, P) - } - return P - } - function encodeNode(k) { - switch (k.type) { - case 'ModuleImport': - return P.encodeModuleImport(k) - case 'SectionMetadata': - return P.encodeSectionMetadata(k) - case 'CallInstruction': - return P.encodeCallInstruction(k) - case 'CallIndirectInstruction': - return P.encodeCallIndirectInstruction(k) - case 'TypeInstruction': - return P.encodeTypeInstruction(k) - case 'Instr': - return P.encodeInstr(k) - case 'ModuleExport': - return P.encodeModuleExport(k) - case 'Global': - return P.encodeGlobal(k) - case 'Func': - return P.encodeFuncBody(k) - case 'IndexInFuncSection': - return P.encodeIndexInFuncSection(k) - case 'StringLiteral': - return P.encodeStringLiteral(k) - case 'Elem': - return P.encodeElem(k) - default: - throw new Error( - 'Unsupported encoding for node of type: ' + JSON.stringify(k.type) - ) - } - } - var R = P.encodeU32 - v.encodeU32 = R - }, - 36531: function (k, v, E) { - 'use strict' - function _typeof(k) { - '@babel/helpers - typeof' - if ( - typeof Symbol === 'function' && - typeof Symbol.iterator === 'symbol' - ) { - _typeof = function _typeof(k) { - return typeof k - } - } else { - _typeof = function _typeof(k) { - return k && - typeof Symbol === 'function' && - k.constructor === Symbol && - k !== Symbol.prototype - ? 'symbol' - : typeof k - } - } - return _typeof(k) - } - Object.defineProperty(v, '__esModule', { value: true }) - v.shrinkPaddedLEB128 = shrinkPaddedLEB128 - var P = E(57480) - var R = E(48776) - function _classCallCheck(k, v) { - if (!(k instanceof v)) { - throw new TypeError('Cannot call a class as a function') - } - } - function _inherits(k, v) { - if (typeof v !== 'function' && v !== null) { - throw new TypeError( - 'Super expression must either be null or a function' - ) - } - k.prototype = Object.create(v && v.prototype, { - constructor: { value: k, writable: true, configurable: true }, - }) - if (v) _setPrototypeOf(k, v) - } - function _createSuper(k) { - var v = _isNativeReflectConstruct() - return function _createSuperInternal() { - var E = _getPrototypeOf(k), - P - if (v) { - var R = _getPrototypeOf(this).constructor - P = Reflect.construct(E, arguments, R) - } else { - P = E.apply(this, arguments) - } - return _possibleConstructorReturn(this, P) - } - } - function _possibleConstructorReturn(k, v) { - if (v && (_typeof(v) === 'object' || typeof v === 'function')) { - return v - } else if (v !== void 0) { - throw new TypeError( - 'Derived constructors may only return object or undefined' - ) - } - return _assertThisInitialized(k) - } - function _assertThisInitialized(k) { - if (k === void 0) { - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called" - ) - } - return k - } - function _wrapNativeSuper(k) { - var v = typeof Map === 'function' ? new Map() : undefined - _wrapNativeSuper = function _wrapNativeSuper(k) { - if (k === null || !_isNativeFunction(k)) return k - if (typeof k !== 'function') { - throw new TypeError( - 'Super expression must either be null or a function' - ) - } - if (typeof v !== 'undefined') { - if (v.has(k)) return v.get(k) - v.set(k, Wrapper) - } - function Wrapper() { - return _construct(k, arguments, _getPrototypeOf(this).constructor) - } - Wrapper.prototype = Object.create(k.prototype, { - constructor: { - value: Wrapper, - enumerable: false, - writable: true, - configurable: true, - }, - }) - return _setPrototypeOf(Wrapper, k) - } - return _wrapNativeSuper(k) - } - function _construct(k, v, E) { - if (_isNativeReflectConstruct()) { - _construct = Reflect.construct - } else { - _construct = function _construct(k, v, E) { - var P = [null] - P.push.apply(P, v) - var R = Function.bind.apply(k, P) - var L = new R() - if (E) _setPrototypeOf(L, E.prototype) - return L - } - } - return _construct.apply(null, arguments) - } - function _isNativeReflectConstruct() { - if (typeof Reflect === 'undefined' || !Reflect.construct) return false - if (Reflect.construct.sham) return false - if (typeof Proxy === 'function') return true - try { - Boolean.prototype.valueOf.call( - Reflect.construct(Boolean, [], function () {}) - ) - return true - } catch (k) { - return false - } - } - function _isNativeFunction(k) { - return Function.toString.call(k).indexOf('[native code]') !== -1 - } - function _setPrototypeOf(k, v) { - _setPrototypeOf = - Object.setPrototypeOf || - function _setPrototypeOf(k, v) { - k.__proto__ = v - return k - } - return _setPrototypeOf(k, v) - } - function _getPrototypeOf(k) { - _getPrototypeOf = Object.setPrototypeOf - ? Object.getPrototypeOf - : function _getPrototypeOf(k) { - return k.__proto__ || Object.getPrototypeOf(k) - } - return _getPrototypeOf(k) - } - var L = (function (k) { - _inherits(OptimizerError, k) - var v = _createSuper(OptimizerError) - function OptimizerError(k, E) { - var P - _classCallCheck(this, OptimizerError) - P = v.call(this, 'Error while optimizing: ' + k + ': ' + E.message) - P.stack = E.stack - return P - } - return OptimizerError - })(_wrapNativeSuper(Error)) - var N = { ignoreCodeSection: true, ignoreDataSection: true } - function shrinkPaddedLEB128(k) { - try { - var v = (0, P.decode)(k.buffer, N) - return (0, R.shrinkPaddedLEB128)(v, k) - } catch (k) { - throw new L('shrinkPaddedLEB128', k) - } - } - }, - 48776: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.shrinkPaddedLEB128 = shrinkPaddedLEB128 - var P = E(26333) - var R = E(49212) - var L = E(97521) - function shiftFollowingSections(k, v, E) { - var R = v.section - var L = false - ;(0, P.traverse)(k, { - SectionMetadata: function SectionMetadata(v) { - if (v.node.section === R) { - L = true - return - } - if (L === true) { - ;(0, P.shiftSection)(k, v.node, E) - } - }, - }) - } - function shrinkPaddedLEB128(k, v) { - ;(0, P.traverse)(k, { - SectionMetadata: function SectionMetadata(E) { - var P = E.node - { - var N = (0, R.encodeU32)(P.size.value) - var q = N.length - var ae = P.size.loc.start.column - var le = P.size.loc.end.column - var pe = le - ae - if (q !== pe) { - var me = pe - q - v = (0, L.overrideBytesInBuffer)(v, ae, le, N) - shiftFollowingSections(k, P, -me) - } - } - }, - }) - return v - } - }, - 63380: function (k, v, E) { - 'use strict' - function _typeof(k) { - '@babel/helpers - typeof' - if ( - typeof Symbol === 'function' && - typeof Symbol.iterator === 'symbol' - ) { - _typeof = function _typeof(k) { - return typeof k - } - } else { - _typeof = function _typeof(k) { - return k && - typeof Symbol === 'function' && - k.constructor === Symbol && - k !== Symbol.prototype - ? 'symbol' - : typeof k - } - } - return _typeof(k) - } - Object.defineProperty(v, '__esModule', { value: true }) - v.decode = decode - var P = E(28513) - var R = _interopRequireWildcard(E(77622)) - var L = _interopRequireWildcard(E(34114)) - var N = _interopRequireWildcard(E(26333)) - var q = E(54307) - var ae = _interopRequireDefault(E(94545)) - function _interopRequireDefault(k) { - return k && k.__esModule ? k : { default: k } - } - function _getRequireWildcardCache(k) { - if (typeof WeakMap !== 'function') return null - var v = new WeakMap() - var E = new WeakMap() - return (_getRequireWildcardCache = function _getRequireWildcardCache( - k - ) { - return k ? E : v - })(k) - } - function _interopRequireWildcard(k, v) { - if (!v && k && k.__esModule) { - return k - } - if ( - k === null || - (_typeof(k) !== 'object' && typeof k !== 'function') - ) { - return { default: k } - } - var E = _getRequireWildcardCache(v) - if (E && E.has(k)) { - return E.get(k) - } - var P = {} - var R = Object.defineProperty && Object.getOwnPropertyDescriptor - for (var L in k) { - if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { - var N = R ? Object.getOwnPropertyDescriptor(k, L) : null - if (N && (N.get || N.set)) { - Object.defineProperty(P, L, N) - } else { - P[L] = k[L] - } - } - } - P['default'] = k - if (E) { - E.set(k, P) - } - return P - } - function _toConsumableArray(k) { - return ( - _arrayWithoutHoles(k) || - _iterableToArray(k) || - _unsupportedIterableToArray(k) || - _nonIterableSpread() - ) - } - function _nonIterableSpread() { - throw new TypeError( - 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' - ) - } - function _unsupportedIterableToArray(k, v) { - if (!k) return - if (typeof k === 'string') return _arrayLikeToArray(k, v) - var E = Object.prototype.toString.call(k).slice(8, -1) - if (E === 'Object' && k.constructor) E = k.constructor.name - if (E === 'Map' || E === 'Set') return Array.from(k) - if ( - E === 'Arguments' || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E) - ) - return _arrayLikeToArray(k, v) - } - function _iterableToArray(k) { - if ( - (typeof Symbol !== 'undefined' && k[Symbol.iterator] != null) || - k['@@iterator'] != null - ) - return Array.from(k) - } - function _arrayWithoutHoles(k) { - if (Array.isArray(k)) return _arrayLikeToArray(k) - } - function _arrayLikeToArray(k, v) { - if (v == null || v > k.length) v = k.length - for (var E = 0, P = new Array(v); E < v; E++) { - P[E] = k[E] - } - return P - } - function toHex(k) { - return '0x' + Number(k).toString(16) - } - function byteArrayEq(k, v) { - if (k.length !== v.length) { - return false - } - for (var E = 0; E < k.length; E++) { - if (k[E] !== v[E]) { - return false - } - } - return true - } - function decode(k, v) { - var E = new Uint8Array(k) - var le = N.getUniqueNameGenerator() - var pe = 0 - function getPosition() { - return { line: -1, column: pe } - } - function dump(k, E) { - if (v.dump === false) return - var P = '\t\t\t\t\t\t\t\t\t\t' - var R = '' - if (k.length < 5) { - R = k.map(toHex).join(' ') - } else { - R = '...' - } - console.log(toHex(pe) + ':\t', R, P, ';', E) - } - function dumpSep(k) { - if (v.dump === false) return - console.log(';', k) - } - var me = { - elementsInFuncSection: [], - elementsInExportSection: [], - elementsInCodeSection: [], - memoriesInModule: [], - typesInModule: [], - functionsInModule: [], - tablesInModule: [], - globalsInModule: [], - } - function isEOF() { - return pe >= E.length - } - function eatBytes(k) { - pe = pe + k - } - function readBytesAtOffset(k, v) { - var P = [] - for (var R = 0; R < v; R++) { - P.push(E[k + R]) - } - return P - } - function readBytes(k) { - return readBytesAtOffset(pe, k) - } - function readF64() { - var k = readBytes(R.NUMBER_OF_BYTE_F64) - var v = R.decodeF64(k) - if (Math.sign(v) * v === Infinity) { - return { - value: Math.sign(v), - inf: true, - nextIndex: R.NUMBER_OF_BYTE_F64, - } - } - if (isNaN(v)) { - var E = k[k.length - 1] >> 7 ? -1 : 1 - var P = 0 - for (var L = 0; L < k.length - 2; ++L) { - P += k[L] * Math.pow(256, L) - } - P += (k[k.length - 2] % 16) * Math.pow(256, k.length - 2) - return { value: E * P, nan: true, nextIndex: R.NUMBER_OF_BYTE_F64 } - } - return { value: v, nextIndex: R.NUMBER_OF_BYTE_F64 } - } - function readF32() { - var k = readBytes(R.NUMBER_OF_BYTE_F32) - var v = R.decodeF32(k) - if (Math.sign(v) * v === Infinity) { - return { - value: Math.sign(v), - inf: true, - nextIndex: R.NUMBER_OF_BYTE_F32, - } - } - if (isNaN(v)) { - var E = k[k.length - 1] >> 7 ? -1 : 1 - var P = 0 - for (var L = 0; L < k.length - 2; ++L) { - P += k[L] * Math.pow(256, L) - } - P += (k[k.length - 2] % 128) * Math.pow(256, k.length - 2) - return { value: E * P, nan: true, nextIndex: R.NUMBER_OF_BYTE_F32 } - } - return { value: v, nextIndex: R.NUMBER_OF_BYTE_F32 } - } - function readUTF8String() { - var k = readU32() - var v = k.value - dump([v], 'string length') - var E = readBytesAtOffset(pe + k.nextIndex, v) - var P = L.decode(E) - return { value: P, nextIndex: v + k.nextIndex } - } - function readU32() { - var k = readBytes(q.MAX_NUMBER_OF_BYTE_U32) - var v = Buffer.from(k) - return (0, q.decodeUInt32)(v) - } - function readVaruint32() { - var k = readBytes(4) - var v = Buffer.from(k) - return (0, q.decodeUInt32)(v) - } - function readVaruint7() { - var k = readBytes(1) - var v = Buffer.from(k) - return (0, q.decodeUInt32)(v) - } - function read32() { - var k = readBytes(q.MAX_NUMBER_OF_BYTE_U32) - var v = Buffer.from(k) - return (0, q.decodeInt32)(v) - } - function read64() { - var k = readBytes(q.MAX_NUMBER_OF_BYTE_U64) - var v = Buffer.from(k) - return (0, q.decodeInt64)(v) - } - function readU64() { - var k = readBytes(q.MAX_NUMBER_OF_BYTE_U64) - var v = Buffer.from(k) - return (0, q.decodeUInt64)(v) - } - function readByte() { - return readBytes(1)[0] - } - function parseModuleHeader() { - if (isEOF() === true || pe + 4 > E.length) { - throw new Error('unexpected end') - } - var k = readBytes(4) - if (byteArrayEq(ae['default'].magicModuleHeader, k) === false) { - throw new P.CompileError('magic header not detected') - } - dump(k, 'wasm magic header') - eatBytes(4) - } - function parseVersion() { - if (isEOF() === true || pe + 4 > E.length) { - throw new Error('unexpected end') - } - var k = readBytes(4) - if (byteArrayEq(ae['default'].moduleVersion, k) === false) { - throw new P.CompileError('unknown binary version') - } - dump(k, 'wasm version') - eatBytes(4) - } - function parseVec(k) { - var v = readU32() - var E = v.value - eatBytes(v.nextIndex) - dump([E], 'number') - if (E === 0) { - return [] - } - var R = [] - for (var L = 0; L < E; L++) { - var N = readByte() - eatBytes(1) - var q = k(N) - dump([N], q) - if (typeof q === 'undefined') { - throw new P.CompileError( - 'Internal failure: parseVec could not cast the value' - ) - } - R.push(q) - } - return R - } - function parseTypeSection(k) { - var v = [] - dump([k], 'num types') - for (var E = 0; E < k; E++) { - var P = getPosition() - dumpSep('type ' + E) - var R = readByte() - eatBytes(1) - if (R == ae['default'].types.func) { - dump([R], 'func') - var L = parseVec(function (k) { - return ae['default'].valtypes[k] - }) - var q = L.map(function (k) { - return N.funcParam(k) - }) - var le = parseVec(function (k) { - return ae['default'].valtypes[k] - }) - v.push( - (function () { - var k = getPosition() - return N.withLoc( - N.typeInstruction(undefined, N.signature(q, le)), - k, - P - ) - })() - ) - me.typesInModule.push({ params: q, result: le }) - } else { - throw new Error('Unsupported type: ' + toHex(R)) - } - } - return v - } - function parseImportSection(k) { - var v = [] - for (var E = 0; E < k; E++) { - dumpSep('import header ' + E) - var R = getPosition() - var L = readUTF8String() - eatBytes(L.nextIndex) - dump([], 'module name ('.concat(L.value, ')')) - var q = readUTF8String() - eatBytes(q.nextIndex) - dump([], 'name ('.concat(q.value, ')')) - var pe = readByte() - eatBytes(1) - var ye = ae['default'].importTypes[pe] - dump([pe], 'import kind') - if (typeof ye === 'undefined') { - throw new P.CompileError( - 'Unknown import description type: ' + toHex(pe) - ) - } - var _e = void 0 - if (ye === 'func') { - var Ie = readU32() - var Me = Ie.value - eatBytes(Ie.nextIndex) - dump([Me], 'type index') - var Te = me.typesInModule[Me] - if (typeof Te === 'undefined') { - throw new P.CompileError( - 'function signature not found ('.concat(Me, ')') - ) - } - var je = le('func') - _e = N.funcImportDescr(je, N.signature(Te.params, Te.result)) - me.functionsInModule.push({ - id: N.identifier(q.value), - signature: Te, - isExternal: true, - }) - } else if (ye === 'global') { - _e = parseGlobalType() - var Ne = N.global(_e, []) - me.globalsInModule.push(Ne) - } else if (ye === 'table') { - _e = parseTableType(E) - } else if (ye === 'memory') { - var Be = parseMemoryType(0) - me.memoriesInModule.push(Be) - _e = Be - } else { - throw new P.CompileError('Unsupported import of type: ' + ye) - } - v.push( - (function () { - var k = getPosition() - return N.withLoc(N.moduleImport(L.value, q.value, _e), k, R) - })() - ) - } - return v - } - function parseFuncSection(k) { - dump([k], 'num funcs') - for (var v = 0; v < k; v++) { - var E = readU32() - var R = E.value - eatBytes(E.nextIndex) - dump([R], 'type index') - var L = me.typesInModule[R] - if (typeof L === 'undefined') { - throw new P.CompileError( - 'function signature not found ('.concat(R, ')') - ) - } - var q = N.withRaw(N.identifier(le('func')), '') - me.functionsInModule.push({ - id: q, - signature: L, - isExternal: false, - }) - } - } - function parseExportSection(k) { - dump([k], 'num exports') - for (var v = 0; v < k; v++) { - var E = getPosition() - var R = readUTF8String() - eatBytes(R.nextIndex) - dump([], 'export name ('.concat(R.value, ')')) - var L = readByte() - eatBytes(1) - dump([L], 'export kind') - var q = readU32() - var le = q.value - eatBytes(q.nextIndex) - dump([le], 'export index') - var pe = void 0, - ye = void 0 - if (ae['default'].exportTypes[L] === 'Func') { - var _e = me.functionsInModule[le] - if (typeof _e === 'undefined') { - throw new P.CompileError('unknown function ('.concat(le, ')')) - } - pe = N.numberLiteralFromRaw(le, String(le)) - ye = _e.signature - } else if (ae['default'].exportTypes[L] === 'Table') { - var Ie = me.tablesInModule[le] - if (typeof Ie === 'undefined') { - throw new P.CompileError('unknown table '.concat(le)) - } - pe = N.numberLiteralFromRaw(le, String(le)) - ye = null - } else if (ae['default'].exportTypes[L] === 'Memory') { - var Me = me.memoriesInModule[le] - if (typeof Me === 'undefined') { - throw new P.CompileError('unknown memory '.concat(le)) - } - pe = N.numberLiteralFromRaw(le, String(le)) - ye = null - } else if (ae['default'].exportTypes[L] === 'Global') { - var Te = me.globalsInModule[le] - if (typeof Te === 'undefined') { - throw new P.CompileError('unknown global '.concat(le)) - } - pe = N.numberLiteralFromRaw(le, String(le)) - ye = null - } else { - console.warn('Unsupported export type: ' + toHex(L)) - return - } - var je = getPosition() - me.elementsInExportSection.push({ - name: R.value, - type: ae['default'].exportTypes[L], - signature: ye, - id: pe, - index: le, - endLoc: je, - startLoc: E, - }) - } - } - function parseCodeSection(k) { - dump([k], 'number functions') - for (var v = 0; v < k; v++) { - var E = getPosition() - dumpSep('function body ' + v) - var R = readU32() - eatBytes(R.nextIndex) - dump([R.value], 'function body size') - var L = [] - var q = readU32() - var le = q.value - eatBytes(q.nextIndex) - dump([le], 'num locals') - var pe = [] - for (var ye = 0; ye < le; ye++) { - var _e = getPosition() - var Ie = readU32() - var Me = Ie.value - eatBytes(Ie.nextIndex) - dump([Me], 'num local') - var Te = readByte() - eatBytes(1) - var je = ae['default'].valtypes[Te] - var Ne = [] - for (var Be = 0; Be < Me; Be++) { - Ne.push(N.valtypeLiteral(je)) - } - var qe = (function () { - var k = getPosition() - return N.withLoc(N.instruction('local', Ne), k, _e) - })() - pe.push(qe) - dump([Te], je) - if (typeof je === 'undefined') { - throw new P.CompileError('Unexpected valtype: ' + toHex(Te)) - } - } - L.push.apply(L, pe) - parseInstructionBlock(L) - var Ue = getPosition() - me.elementsInCodeSection.push({ - code: L, - locals: pe, - endLoc: Ue, - startLoc: E, - bodySize: R.value, - }) - } - } - function parseInstructionBlock(k) { - while (true) { - var v = getPosition() - var E = false - var R = readByte() - eatBytes(1) - if (R === 254) { - R = 65024 + readByte() - eatBytes(1) - } - var L = ae['default'].symbolsByByte[R] - if (typeof L === 'undefined') { - throw new P.CompileError('Unexpected instruction: ' + toHex(R)) - } - if (typeof L.object === 'string') { - dump([R], ''.concat(L.object, '.').concat(L.name)) - } else { - dump([R], L.name) - } - if (L.name === 'end') { - var q = (function () { - var k = getPosition() - return N.withLoc(N.instruction(L.name), k, v) - })() - k.push(q) - break - } - var pe = [] - var ye = void 0 - if (L.name === 'loop') { - var _e = getPosition() - var Ie = readByte() - eatBytes(1) - var Me = ae['default'].blockTypes[Ie] - dump([Ie], 'blocktype') - if (typeof Me === 'undefined') { - throw new P.CompileError('Unexpected blocktype: ' + toHex(Ie)) - } - var Te = [] - parseInstructionBlock(Te) - var je = N.withRaw(N.identifier(le('loop')), '') - var Ne = (function () { - var k = getPosition() - return N.withLoc(N.loopInstruction(je, Me, Te), k, _e) - })() - k.push(Ne) - E = true - } else if (L.name === 'if') { - var Be = getPosition() - var qe = readByte() - eatBytes(1) - var Ue = ae['default'].blockTypes[qe] - dump([qe], 'blocktype') - if (typeof Ue === 'undefined') { - throw new P.CompileError('Unexpected blocktype: ' + toHex(qe)) - } - var Ge = N.withRaw(N.identifier(le('if')), '') - var He = [] - parseInstructionBlock(He) - var We = 0 - for (We = 0; We < He.length; ++We) { - var Qe = He[We] - if (Qe.type === 'Instr' && Qe.id === 'else') { - break - } - } - var Je = He.slice(0, We) - var Ve = He.slice(We + 1) - var Ke = [] - var Ye = (function () { - var k = getPosition() - return N.withLoc(N.ifInstruction(Ge, Ke, Ue, Je, Ve), k, Be) - })() - k.push(Ye) - E = true - } else if (L.name === 'block') { - var Xe = getPosition() - var Ze = readByte() - eatBytes(1) - var et = ae['default'].blockTypes[Ze] - dump([Ze], 'blocktype') - if (typeof et === 'undefined') { - throw new P.CompileError('Unexpected blocktype: ' + toHex(Ze)) - } - var tt = [] - parseInstructionBlock(tt) - var nt = N.withRaw(N.identifier(le('block')), '') - var st = (function () { - var k = getPosition() - return N.withLoc(N.blockInstruction(nt, tt, et), k, Xe) - })() - k.push(st) - E = true - } else if (L.name === 'call') { - var rt = readU32() - var ot = rt.value - eatBytes(rt.nextIndex) - dump([ot], 'index') - var it = (function () { - var k = getPosition() - return N.withLoc(N.callInstruction(N.indexLiteral(ot)), k, v) - })() - k.push(it) - E = true - } else if (L.name === 'call_indirect') { - var at = getPosition() - var ct = readU32() - var lt = ct.value - eatBytes(ct.nextIndex) - dump([lt], 'type index') - var ut = me.typesInModule[lt] - if (typeof ut === 'undefined') { - throw new P.CompileError( - 'call_indirect signature not found ('.concat(lt, ')') - ) - } - var pt = N.callIndirectInstruction( - N.signature(ut.params, ut.result), - [] - ) - var dt = readU32() - var ft = dt.value - eatBytes(dt.nextIndex) - if (ft !== 0) { - throw new P.CompileError('zero flag expected') - } - k.push( - (function () { - var k = getPosition() - return N.withLoc(pt, k, at) - })() - ) - E = true - } else if (L.name === 'br_table') { - var ht = readU32() - var mt = ht.value - eatBytes(ht.nextIndex) - dump([mt], 'num indices') - for (var gt = 0; gt <= mt; gt++) { - var yt = readU32() - var bt = yt.value - eatBytes(yt.nextIndex) - dump([bt], 'index') - pe.push(N.numberLiteralFromRaw(yt.value.toString(), 'u32')) - } - } else if (R >= 40 && R <= 64) { - if (L.name === 'grow_memory' || L.name === 'current_memory') { - var xt = readU32() - var kt = xt.value - eatBytes(xt.nextIndex) - if (kt !== 0) { - throw new Error('zero flag expected') - } - dump([kt], 'index') - } else { - var vt = readU32() - var wt = vt.value - eatBytes(vt.nextIndex) - dump([wt], 'align') - var At = readU32() - var Et = At.value - eatBytes(At.nextIndex) - dump([Et], 'offset') - if (ye === undefined) ye = {} - ye.offset = N.numberLiteralFromRaw(Et) - } - } else if (R >= 65 && R <= 68) { - if (L.object === 'i32') { - var Ct = read32() - var St = Ct.value - eatBytes(Ct.nextIndex) - dump([St], 'i32 value') - pe.push(N.numberLiteralFromRaw(St)) - } - if (L.object === 'u32') { - var _t = readU32() - var It = _t.value - eatBytes(_t.nextIndex) - dump([It], 'u32 value') - pe.push(N.numberLiteralFromRaw(It)) - } - if (L.object === 'i64') { - var Mt = read64() - var Pt = Mt.value - eatBytes(Mt.nextIndex) - dump([Number(Pt.toString())], 'i64 value') - var Ot = Pt.high, - Dt = Pt.low - var Rt = { - type: 'LongNumberLiteral', - value: { high: Ot, low: Dt }, - } - pe.push(Rt) - } - if (L.object === 'u64') { - var Tt = readU64() - var $t = Tt.value - eatBytes(Tt.nextIndex) - dump([Number($t.toString())], 'u64 value') - var Ft = $t.high, - jt = $t.low - var Lt = { - type: 'LongNumberLiteral', - value: { high: Ft, low: jt }, - } - pe.push(Lt) - } - if (L.object === 'f32') { - var Nt = readF32() - var Bt = Nt.value - eatBytes(Nt.nextIndex) - dump([Bt], 'f32 value') - pe.push(N.floatLiteral(Bt, Nt.nan, Nt.inf, String(Bt))) - } - if (L.object === 'f64') { - var qt = readF64() - var zt = qt.value - eatBytes(qt.nextIndex) - dump([zt], 'f64 value') - pe.push(N.floatLiteral(zt, qt.nan, qt.inf, String(zt))) - } - } else if (R >= 65024 && R <= 65279) { - var Ut = readU32() - var Gt = Ut.value - eatBytes(Ut.nextIndex) - dump([Gt], 'align') - var Ht = readU32() - var Wt = Ht.value - eatBytes(Ht.nextIndex) - dump([Wt], 'offset') - } else { - for (var Qt = 0; Qt < L.numberOfArgs; Qt++) { - var Jt = readU32() - eatBytes(Jt.nextIndex) - dump([Jt.value], 'argument ' + Qt) - pe.push(N.numberLiteralFromRaw(Jt.value)) - } - } - if (E === false) { - if (typeof L.object === 'string') { - var Vt = (function () { - var k = getPosition() - return N.withLoc( - N.objectInstruction(L.name, L.object, pe, ye), - k, - v - ) - })() - k.push(Vt) - } else { - var Kt = (function () { - var k = getPosition() - return N.withLoc(N.instruction(L.name, pe, ye), k, v) - })() - k.push(Kt) - } - } - } - } - function parseLimits() { - var k = readByte() - eatBytes(1) - var v = k === 3 - dump([k], 'limit type' + (v ? ' (shared)' : '')) - var E, P - if (k === 1 || k === 3) { - var R = readU32() - E = parseInt(R.value) - eatBytes(R.nextIndex) - dump([E], 'min') - var L = readU32() - P = parseInt(L.value) - eatBytes(L.nextIndex) - dump([P], 'max') - } - if (k === 0) { - var q = readU32() - E = parseInt(q.value) - eatBytes(q.nextIndex) - dump([E], 'min') - } - return N.limit(E, P, v) - } - function parseTableType(k) { - var v = N.withRaw(N.identifier(le('table')), String(k)) - var E = readByte() - eatBytes(1) - dump([E], 'element type') - var R = ae['default'].tableTypes[E] - if (typeof R === 'undefined') { - throw new P.CompileError( - 'Unknown element type in table: ' + toHex(R) - ) - } - var L = parseLimits() - return N.table(R, L, v) - } - function parseGlobalType() { - var k = readByte() - eatBytes(1) - var v = ae['default'].valtypes[k] - dump([k], v) - if (typeof v === 'undefined') { - throw new P.CompileError('Unknown valtype: ' + toHex(k)) - } - var E = readByte() - eatBytes(1) - var R = ae['default'].globalTypes[E] - dump([E], 'global type ('.concat(R, ')')) - if (typeof R === 'undefined') { - throw new P.CompileError('Invalid mutability: ' + toHex(E)) - } - return N.globalType(v, R) - } - function parseNameSectionFunctions() { - var k = [] - var v = readU32() - var E = v.value - eatBytes(v.nextIndex) - for (var P = 0; P < E; P++) { - var R = readU32() - var L = R.value - eatBytes(R.nextIndex) - var q = readUTF8String() - eatBytes(q.nextIndex) - k.push(N.functionNameMetadata(q.value, L)) - } - return k - } - function parseNameSectionLocals() { - var k = [] - var v = readU32() - var E = v.value - eatBytes(v.nextIndex) - for (var P = 0; P < E; P++) { - var R = readU32() - var L = R.value - eatBytes(R.nextIndex) - var q = readU32() - var ae = q.value - eatBytes(q.nextIndex) - for (var le = 0; le < ae; le++) { - var pe = readU32() - var me = pe.value - eatBytes(pe.nextIndex) - var ye = readUTF8String() - eatBytes(ye.nextIndex) - k.push(N.localNameMetadata(ye.value, me, L)) - } - } - return k - } - function parseNameSection(k) { - var v = [] - var E = pe - while (pe - E < k) { - var P = readVaruint7() - eatBytes(P.nextIndex) - var R = readVaruint32() - eatBytes(R.nextIndex) - switch (P.value) { - case 1: { - v.push.apply(v, _toConsumableArray(parseNameSectionFunctions())) - break - } - case 2: { - v.push.apply(v, _toConsumableArray(parseNameSectionLocals())) - break - } - default: { - eatBytes(R.value) - } - } - } - return v - } - function parseProducersSection() { - var k = N.producersSectionMetadata([]) - var v = readVaruint32() - eatBytes(v.nextIndex) - dump([v.value], 'num of producers') - var E = { language: [], 'processed-by': [], sdk: [] } - for (var P = 0; P < v.value; P++) { - var R = readUTF8String() - eatBytes(R.nextIndex) - var L = readVaruint32() - eatBytes(L.nextIndex) - for (var q = 0; q < L.value; q++) { - var ae = readUTF8String() - eatBytes(ae.nextIndex) - var le = readUTF8String() - eatBytes(le.nextIndex) - E[R.value].push( - N.producerMetadataVersionedName(ae.value, le.value) - ) - } - k.producers.push(E[R.value]) - } - return k - } - function parseGlobalSection(k) { - var v = [] - dump([k], 'num globals') - for (var E = 0; E < k; E++) { - var P = getPosition() - var R = parseGlobalType() - var L = [] - parseInstructionBlock(L) - var q = (function () { - var k = getPosition() - return N.withLoc(N.global(R, L), k, P) - })() - v.push(q) - me.globalsInModule.push(q) - } - return v - } - function parseElemSection(k) { - var v = [] - dump([k], 'num elements') - for (var E = 0; E < k; E++) { - var P = getPosition() - var R = readU32() - var L = R.value - eatBytes(R.nextIndex) - dump([L], 'table index') - var q = [] - parseInstructionBlock(q) - var ae = readU32() - var le = ae.value - eatBytes(ae.nextIndex) - dump([le], 'num indices') - var pe = [] - for (var me = 0; me < le; me++) { - var ye = readU32() - var _e = ye.value - eatBytes(ye.nextIndex) - dump([_e], 'index') - pe.push(N.indexLiteral(_e)) - } - var Ie = (function () { - var k = getPosition() - return N.withLoc(N.elem(N.indexLiteral(L), q, pe), k, P) - })() - v.push(Ie) - } - return v - } - function parseMemoryType(k) { - var v = parseLimits() - return N.memory(v, N.indexLiteral(k)) - } - function parseTableSection(k) { - var v = [] - dump([k], 'num elements') - for (var E = 0; E < k; E++) { - var P = parseTableType(E) - me.tablesInModule.push(P) - v.push(P) - } - return v - } - function parseMemorySection(k) { - var v = [] - dump([k], 'num elements') - for (var E = 0; E < k; E++) { - var P = parseMemoryType(E) - me.memoriesInModule.push(P) - v.push(P) - } - return v - } - function parseStartSection() { - var k = getPosition() - var v = readU32() - var E = v.value - eatBytes(v.nextIndex) - dump([E], 'index') - return (function () { - var v = getPosition() - return N.withLoc(N.start(N.indexLiteral(E)), v, k) - })() - } - function parseDataSection(k) { - var v = [] - dump([k], 'num elements') - for (var E = 0; E < k; E++) { - var R = readU32() - var L = R.value - eatBytes(R.nextIndex) - dump([L], 'memory index') - var q = [] - parseInstructionBlock(q) - var ae = - q.filter(function (k) { - return k.id !== 'end' - }).length !== 1 - if (ae) { - throw new P.CompileError( - 'data section offset must be a single instruction' - ) - } - var le = parseVec(function (k) { - return k - }) - dump([], 'init') - v.push(N.data(N.memIndexLiteral(L), q[0], N.byteArray(le))) - } - return v - } - function parseSection(k) { - var E = readByte() - eatBytes(1) - if (E >= k || k === ae['default'].sections.custom) { - k = E + 1 - } else { - if (E !== ae['default'].sections.custom) - throw new P.CompileError('Unexpected section: ' + toHex(E)) - } - var R = k - var L = pe - var q = getPosition() - var le = readU32() - var me = le.value - eatBytes(le.nextIndex) - var ye = (function () { - var k = getPosition() - return N.withLoc(N.numberLiteralFromRaw(me), k, q) - })() - switch (E) { - case ae['default'].sections.type: { - dumpSep('section Type') - dump([E], 'section code') - dump([me], 'section size') - var _e = getPosition() - var Ie = readU32() - var Me = Ie.value - eatBytes(Ie.nextIndex) - var Te = N.sectionMetadata( - 'type', - L, - ye, - (function () { - var k = getPosition() - return N.withLoc(N.numberLiteralFromRaw(Me), k, _e) - })() - ) - var je = parseTypeSection(Me) - return { nodes: je, metadata: Te, nextSectionIndex: R } - } - case ae['default'].sections.table: { - dumpSep('section Table') - dump([E], 'section code') - dump([me], 'section size') - var Ne = getPosition() - var Be = readU32() - var qe = Be.value - eatBytes(Be.nextIndex) - dump([qe], 'num tables') - var Ue = N.sectionMetadata( - 'table', - L, - ye, - (function () { - var k = getPosition() - return N.withLoc(N.numberLiteralFromRaw(qe), k, Ne) - })() - ) - var Ge = parseTableSection(qe) - return { nodes: Ge, metadata: Ue, nextSectionIndex: R } - } - case ae['default'].sections['import']: { - dumpSep('section Import') - dump([E], 'section code') - dump([me], 'section size') - var He = getPosition() - var We = readU32() - var Qe = We.value - eatBytes(We.nextIndex) - dump([Qe], 'number of imports') - var Je = N.sectionMetadata( - 'import', - L, - ye, - (function () { - var k = getPosition() - return N.withLoc(N.numberLiteralFromRaw(Qe), k, He) - })() - ) - var Ve = parseImportSection(Qe) - return { nodes: Ve, metadata: Je, nextSectionIndex: R } - } - case ae['default'].sections.func: { - dumpSep('section Function') - dump([E], 'section code') - dump([me], 'section size') - var Ke = getPosition() - var Ye = readU32() - var Xe = Ye.value - eatBytes(Ye.nextIndex) - var Ze = N.sectionMetadata( - 'func', - L, - ye, - (function () { - var k = getPosition() - return N.withLoc(N.numberLiteralFromRaw(Xe), k, Ke) - })() - ) - parseFuncSection(Xe) - var et = [] - return { nodes: et, metadata: Ze, nextSectionIndex: R } - } - case ae['default'].sections['export']: { - dumpSep('section Export') - dump([E], 'section code') - dump([me], 'section size') - var tt = getPosition() - var nt = readU32() - var st = nt.value - eatBytes(nt.nextIndex) - var rt = N.sectionMetadata( - 'export', - L, - ye, - (function () { - var k = getPosition() - return N.withLoc(N.numberLiteralFromRaw(st), k, tt) - })() - ) - parseExportSection(st) - var ot = [] - return { nodes: ot, metadata: rt, nextSectionIndex: R } - } - case ae['default'].sections.code: { - dumpSep('section Code') - dump([E], 'section code') - dump([me], 'section size') - var it = getPosition() - var at = readU32() - var ct = at.value - eatBytes(at.nextIndex) - var lt = N.sectionMetadata( - 'code', - L, - ye, - (function () { - var k = getPosition() - return N.withLoc(N.numberLiteralFromRaw(ct), k, it) - })() - ) - if (v.ignoreCodeSection === true) { - var ut = me - at.nextIndex - eatBytes(ut) - } else { - parseCodeSection(ct) - } - var pt = [] - return { nodes: pt, metadata: lt, nextSectionIndex: R } - } - case ae['default'].sections.start: { - dumpSep('section Start') - dump([E], 'section code') - dump([me], 'section size') - var dt = N.sectionMetadata('start', L, ye) - var ft = [parseStartSection()] - return { nodes: ft, metadata: dt, nextSectionIndex: R } - } - case ae['default'].sections.element: { - dumpSep('section Element') - dump([E], 'section code') - dump([me], 'section size') - var ht = getPosition() - var mt = readU32() - var gt = mt.value - eatBytes(mt.nextIndex) - var yt = N.sectionMetadata( - 'element', - L, - ye, - (function () { - var k = getPosition() - return N.withLoc(N.numberLiteralFromRaw(gt), k, ht) - })() - ) - var bt = parseElemSection(gt) - return { nodes: bt, metadata: yt, nextSectionIndex: R } - } - case ae['default'].sections.global: { - dumpSep('section Global') - dump([E], 'section code') - dump([me], 'section size') - var xt = getPosition() - var kt = readU32() - var vt = kt.value - eatBytes(kt.nextIndex) - var wt = N.sectionMetadata( - 'global', - L, - ye, - (function () { - var k = getPosition() - return N.withLoc(N.numberLiteralFromRaw(vt), k, xt) - })() - ) - var At = parseGlobalSection(vt) - return { nodes: At, metadata: wt, nextSectionIndex: R } - } - case ae['default'].sections.memory: { - dumpSep('section Memory') - dump([E], 'section code') - dump([me], 'section size') - var Et = getPosition() - var Ct = readU32() - var St = Ct.value - eatBytes(Ct.nextIndex) - var _t = N.sectionMetadata( - 'memory', - L, - ye, - (function () { - var k = getPosition() - return N.withLoc(N.numberLiteralFromRaw(St), k, Et) - })() - ) - var It = parseMemorySection(St) - return { nodes: It, metadata: _t, nextSectionIndex: R } - } - case ae['default'].sections.data: { - dumpSep('section Data') - dump([E], 'section code') - dump([me], 'section size') - var Mt = N.sectionMetadata('data', L, ye) - var Pt = getPosition() - var Ot = readU32() - var Dt = Ot.value - eatBytes(Ot.nextIndex) - Mt.vectorOfSize = (function () { - var k = getPosition() - return N.withLoc(N.numberLiteralFromRaw(Dt), k, Pt) - })() - if (v.ignoreDataSection === true) { - var Rt = me - Ot.nextIndex - eatBytes(Rt) - dumpSep('ignore data (' + me + ' bytes)') - return { nodes: [], metadata: Mt, nextSectionIndex: R } - } else { - var Tt = parseDataSection(Dt) - return { nodes: Tt, metadata: Mt, nextSectionIndex: R } - } - } - case ae['default'].sections.custom: { - dumpSep('section Custom') - dump([E], 'section code') - dump([me], 'section size') - var $t = [N.sectionMetadata('custom', L, ye)] - var Ft = readUTF8String() - eatBytes(Ft.nextIndex) - dump([], 'section name ('.concat(Ft.value, ')')) - var jt = me - Ft.nextIndex - if (Ft.value === 'name') { - var Lt = pe - try { - $t.push.apply($t, _toConsumableArray(parseNameSection(jt))) - } catch (k) { - console.warn( - 'Failed to decode custom "name" section @' - .concat(pe, '; ignoring (') - .concat(k.message, ').') - ) - eatBytes(pe - (Lt + jt)) - } - } else if (Ft.value === 'producers') { - var Nt = pe - try { - $t.push(parseProducersSection()) - } catch (k) { - console.warn( - 'Failed to decode custom "producers" section @' - .concat(pe, '; ignoring (') - .concat(k.message, ').') - ) - eatBytes(pe - (Nt + jt)) - } - } else { - eatBytes(jt) - dumpSep( - 'ignore custom ' + - JSON.stringify(Ft.value) + - ' section (' + - jt + - ' bytes)' - ) - } - return { nodes: [], metadata: $t, nextSectionIndex: R } - } - } - if (v.errorOnUnknownSection) { - throw new P.CompileError('Unexpected section: ' + toHex(E)) - } else { - dumpSep('section ' + toHex(E)) - dump([E], 'section code') - dump([me], 'section size') - eatBytes(me) - dumpSep('ignoring (' + me + ' bytes)') - return { nodes: [], metadata: [], nextSectionIndex: 0 } - } - } - parseModuleHeader() - parseVersion() - var ye = [] - var _e = 0 - var Ie = { - sections: [], - functionNames: [], - localNames: [], - producers: [], - } - while (pe < E.length) { - var Me = parseSection(_e), - Te = Me.nodes, - je = Me.metadata, - Ne = Me.nextSectionIndex - ye.push.apply(ye, _toConsumableArray(Te)) - var Be = Array.isArray(je) ? je : [je] - Be.forEach(function (k) { - if (k.type === 'FunctionNameMetadata') { - Ie.functionNames.push(k) - } else if (k.type === 'LocalNameMetadata') { - Ie.localNames.push(k) - } else if (k.type === 'ProducersSectionMetadata') { - Ie.producers.push(k) - } else { - Ie.sections.push(k) - } - }) - if (Ne) { - _e = Ne - } - } - var qe = 0 - me.functionsInModule.forEach(function (k) { - var E = k.signature.params - var R = k.signature.result - var L = [] - if (k.isExternal === true) { - return - } - var q = me.elementsInCodeSection[qe] - if (v.ignoreCodeSection === false) { - if (typeof q === 'undefined') { - throw new P.CompileError('func ' + toHex(qe) + ' code not found') - } - L = q.code - } - qe++ - var ae = N.func(k.id, N.signature(E, R), L) - if (k.isExternal === true) { - ae.isExternal = k.isExternal - } - if (v.ignoreCodeSection === false) { - var le = q.startLoc, - pe = q.endLoc, - _e = q.bodySize - ae = N.withLoc(ae, pe, le) - ae.metadata = { bodySize: _e } - } - ye.push(ae) - }) - me.elementsInExportSection.forEach(function (k) { - if (k.id != null) { - ye.push( - N.withLoc( - N.moduleExport(k.name, N.moduleExportDescr(k.type, k.id)), - k.endLoc, - k.startLoc - ) - ) - } - }) - dumpSep('end of program') - var Ue = N.module( - null, - ye, - N.moduleMetadata( - Ie.sections, - Ie.functionNames, - Ie.localNames, - Ie.producers - ) - ) - return N.program([Ue]) - } - }, - 57480: function (k, v, E) { - 'use strict' - function _typeof(k) { - '@babel/helpers - typeof' - if ( - typeof Symbol === 'function' && - typeof Symbol.iterator === 'symbol' - ) { - _typeof = function _typeof(k) { - return typeof k - } - } else { - _typeof = function _typeof(k) { - return k && - typeof Symbol === 'function' && - k.constructor === Symbol && - k !== Symbol.prototype - ? 'symbol' - : typeof k - } - } - return _typeof(k) - } - Object.defineProperty(v, '__esModule', { value: true }) - v.decode = decode - var P = _interopRequireWildcard(E(63380)) - var R = _interopRequireWildcard(E(26333)) - function _getRequireWildcardCache(k) { - if (typeof WeakMap !== 'function') return null - var v = new WeakMap() - var E = new WeakMap() - return (_getRequireWildcardCache = function _getRequireWildcardCache( - k - ) { - return k ? E : v - })(k) - } - function _interopRequireWildcard(k, v) { - if (!v && k && k.__esModule) { - return k - } - if ( - k === null || - (_typeof(k) !== 'object' && typeof k !== 'function') - ) { - return { default: k } - } - var E = _getRequireWildcardCache(v) - if (E && E.has(k)) { - return E.get(k) - } - var P = {} - var R = Object.defineProperty && Object.getOwnPropertyDescriptor - for (var L in k) { - if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { - var N = R ? Object.getOwnPropertyDescriptor(k, L) : null - if (N && (N.get || N.set)) { - Object.defineProperty(P, L, N) - } else { - P[L] = k[L] - } - } - } - P['default'] = k - if (E) { - E.set(k, P) - } - return P - } - var L = { - dump: false, - ignoreCodeSection: false, - ignoreDataSection: false, - ignoreCustomNameSection: false, - } - function restoreFunctionNames(k) { - var v = [] - R.traverse(k, { - FunctionNameMetadata: function FunctionNameMetadata(k) { - var E = k.node - v.push({ name: E.value, index: E.index }) - }, - }) - if (v.length === 0) { - return - } - R.traverse(k, { - Func: (function (k) { - function Func(v) { - return k.apply(this, arguments) - } - Func.toString = function () { - return k.toString() - } - return Func - })(function (k) { - var E = k.node - var P = E.name - var R = P.value - var L = Number(R.replace('func_', '')) - var N = v.find(function (k) { - return k.index === L - }) - if (N) { - var q = P.value - P.value = N.name - P.numeric = q - delete P.raw - } - }), - ModuleExport: (function (k) { - function ModuleExport(v) { - return k.apply(this, arguments) - } - ModuleExport.toString = function () { - return k.toString() - } - return ModuleExport - })(function (k) { - var E = k.node - if (E.descr.exportType === 'Func') { - var P = E.descr.id - var L = P.value - var N = v.find(function (k) { - return k.index === L - }) - if (N) { - E.descr.id = R.identifier(N.name) - } - } - }), - ModuleImport: (function (k) { - function ModuleImport(v) { - return k.apply(this, arguments) - } - ModuleImport.toString = function () { - return k.toString() - } - return ModuleImport - })(function (k) { - var E = k.node - if (E.descr.type === 'FuncImportDescr') { - var P = E.descr.id - var L = Number(P.replace('func_', '')) - var N = v.find(function (k) { - return k.index === L - }) - if (N) { - E.descr.id = R.identifier(N.name) - } - } - }), - CallInstruction: (function (k) { - function CallInstruction(v) { - return k.apply(this, arguments) - } - CallInstruction.toString = function () { - return k.toString() - } - return CallInstruction - })(function (k) { - var E = k.node - var P = E.index.value - var L = v.find(function (k) { - return k.index === P - }) - if (L) { - var N = E.index - E.index = R.identifier(L.name) - E.numeric = N - delete E.raw - } - }), - }) - } - function restoreLocalNames(k) { - var v = [] - R.traverse(k, { - LocalNameMetadata: function LocalNameMetadata(k) { - var E = k.node - v.push({ - name: E.value, - localIndex: E.localIndex, - functionIndex: E.functionIndex, - }) - }, - }) - if (v.length === 0) { - return - } - R.traverse(k, { - Func: (function (k) { - function Func(v) { - return k.apply(this, arguments) - } - Func.toString = function () { - return k.toString() - } - return Func - })(function (k) { - var E = k.node - var P = E.signature - if (P.type !== 'Signature') { - return - } - var R = E.name - var L = R.value - var N = Number(L.replace('func_', '')) - P.params.forEach(function (k, E) { - var P = v.find(function (k) { - return k.localIndex === E && k.functionIndex === N - }) - if (P && P.name !== '') { - k.id = P.name - } - }) - }), - }) - } - function restoreModuleName(k) { - R.traverse(k, { - ModuleNameMetadata: (function (k) { - function ModuleNameMetadata(v) { - return k.apply(this, arguments) - } - ModuleNameMetadata.toString = function () { - return k.toString() - } - return ModuleNameMetadata - })(function (v) { - R.traverse(k, { - Module: (function (k) { - function Module(v) { - return k.apply(this, arguments) - } - Module.toString = function () { - return k.toString() - } - return Module - })(function (k) { - var E = k.node - var P = v.node.value - if (P === '') { - P = null - } - E.id = P - }), - }) - }), - }) - } - function decode(k, v) { - var E = Object.assign({}, L, v) - var R = P.decode(k, E) - if (E.ignoreCustomNameSection === false) { - restoreFunctionNames(R) - restoreLocalNames(R) - restoreModuleName(R) - } - return R - } - }, - 62734: function (k, v) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.read = read - v.write = write - function read(k, v, E, P, R) { - var L, N - var q = R * 8 - P - 1 - var ae = (1 << q) - 1 - var le = ae >> 1 - var pe = -7 - var me = E ? R - 1 : 0 - var ye = E ? -1 : 1 - var _e = k[v + me] - me += ye - L = _e & ((1 << -pe) - 1) - _e >>= -pe - pe += q - for (; pe > 0; L = L * 256 + k[v + me], me += ye, pe -= 8) {} - N = L & ((1 << -pe) - 1) - L >>= -pe - pe += P - for (; pe > 0; N = N * 256 + k[v + me], me += ye, pe -= 8) {} - if (L === 0) { - L = 1 - le - } else if (L === ae) { - return N ? NaN : (_e ? -1 : 1) * Infinity - } else { - N = N + Math.pow(2, P) - L = L - le - } - return (_e ? -1 : 1) * N * Math.pow(2, L - P) - } - function write(k, v, E, P, R, L) { - var N, q, ae - var le = L * 8 - R - 1 - var pe = (1 << le) - 1 - var me = pe >> 1 - var ye = R === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0 - var _e = P ? 0 : L - 1 - var Ie = P ? 1 : -1 - var Me = v < 0 || (v === 0 && 1 / v < 0) ? 1 : 0 - v = Math.abs(v) - if (isNaN(v) || v === Infinity) { - q = isNaN(v) ? 1 : 0 - N = pe - } else { - N = Math.floor(Math.log(v) / Math.LN2) - if (v * (ae = Math.pow(2, -N)) < 1) { - N-- - ae *= 2 - } - if (N + me >= 1) { - v += ye / ae - } else { - v += ye * Math.pow(2, 1 - me) - } - if (v * ae >= 2) { - N++ - ae /= 2 - } - if (N + me >= pe) { - q = 0 - N = pe - } else if (N + me >= 1) { - q = (v * ae - 1) * Math.pow(2, R) - N = N + me - } else { - q = v * Math.pow(2, me - 1) * Math.pow(2, R) - N = 0 - } - } - for (; R >= 8; k[E + _e] = q & 255, _e += Ie, q /= 256, R -= 8) {} - N = (N << R) | q - le += R - for (; le > 0; k[E + _e] = N & 255, _e += Ie, N /= 256, le -= 8) {} - k[E + _e - Ie] |= Me * 128 - } - }, - 85249: function (k) { - k.exports = Long - var v = null - try { - v = 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 (k) {} - function Long(k, v, E) { - this.low = k | 0 - this.high = v | 0 - this.unsigned = !!E - } - Long.prototype.__isLong__ - Object.defineProperty(Long.prototype, '__isLong__', { value: true }) - function isLong(k) { - return (k && k['__isLong__']) === true - } - Long.isLong = isLong - var E = {} - var P = {} - function fromInt(k, v) { - var R, L, N - if (v) { - k >>>= 0 - if ((N = 0 <= k && k < 256)) { - L = P[k] - if (L) return L - } - R = fromBits(k, (k | 0) < 0 ? -1 : 0, true) - if (N) P[k] = R - return R - } else { - k |= 0 - if ((N = -128 <= k && k < 128)) { - L = E[k] - if (L) return L - } - R = fromBits(k, k < 0 ? -1 : 0, false) - if (N) E[k] = R - return R - } - } - Long.fromInt = fromInt - function fromNumber(k, v) { - if (isNaN(k)) return v ? ye : me - if (v) { - if (k < 0) return ye - if (k >= ae) return je - } else { - if (k <= -le) return Ne - if (k + 1 >= le) return Te - } - if (k < 0) return fromNumber(-k, v).neg() - return fromBits(k % q | 0, (k / q) | 0, v) - } - Long.fromNumber = fromNumber - function fromBits(k, v, E) { - return new Long(k, v, E) - } - Long.fromBits = fromBits - var R = Math.pow - function fromString(k, v, E) { - if (k.length === 0) throw Error('empty string') - if ( - k === 'NaN' || - k === 'Infinity' || - k === '+Infinity' || - k === '-Infinity' - ) - return me - if (typeof v === 'number') { - ;(E = v), (v = false) - } else { - v = !!v - } - E = E || 10 - if (E < 2 || 36 < E) throw RangeError('radix') - var P - if ((P = k.indexOf('-')) > 0) throw Error('interior hyphen') - else if (P === 0) { - return fromString(k.substring(1), v, E).neg() - } - var L = fromNumber(R(E, 8)) - var N = me - for (var q = 0; q < k.length; q += 8) { - var ae = Math.min(8, k.length - q), - le = parseInt(k.substring(q, q + ae), E) - if (ae < 8) { - var pe = fromNumber(R(E, ae)) - N = N.mul(pe).add(fromNumber(le)) - } else { - N = N.mul(L) - N = N.add(fromNumber(le)) - } - } - N.unsigned = v - return N - } - Long.fromString = fromString - function fromValue(k, v) { - if (typeof k === 'number') return fromNumber(k, v) - if (typeof k === 'string') return fromString(k, v) - return fromBits(k.low, k.high, typeof v === 'boolean' ? v : k.unsigned) - } - Long.fromValue = fromValue - var L = 1 << 16 - var N = 1 << 24 - var q = L * L - var ae = q * q - var le = ae / 2 - var pe = fromInt(N) - var me = fromInt(0) - Long.ZERO = me - var ye = fromInt(0, true) - Long.UZERO = ye - var _e = fromInt(1) - Long.ONE = _e - var Ie = fromInt(1, true) - Long.UONE = Ie - var Me = fromInt(-1) - Long.NEG_ONE = Me - var Te = fromBits(4294967295 | 0, 2147483647 | 0, false) - Long.MAX_VALUE = Te - var je = fromBits(4294967295 | 0, 4294967295 | 0, true) - Long.MAX_UNSIGNED_VALUE = je - var Ne = fromBits(0, 2147483648 | 0, false) - Long.MIN_VALUE = Ne - var Be = Long.prototype - Be.toInt = function toInt() { - return this.unsigned ? this.low >>> 0 : this.low - } - Be.toNumber = function toNumber() { - if (this.unsigned) return (this.high >>> 0) * q + (this.low >>> 0) - return this.high * q + (this.low >>> 0) - } - Be.toString = function toString(k) { - k = k || 10 - if (k < 2 || 36 < k) throw RangeError('radix') - if (this.isZero()) return '0' - if (this.isNegative()) { - if (this.eq(Ne)) { - var v = fromNumber(k), - E = this.div(v), - P = E.mul(v).sub(this) - return E.toString(k) + P.toInt().toString(k) - } else return '-' + this.neg().toString(k) - } - var L = fromNumber(R(k, 6), this.unsigned), - N = this - var q = '' - while (true) { - var ae = N.div(L), - le = N.sub(ae.mul(L)).toInt() >>> 0, - pe = le.toString(k) - N = ae - if (N.isZero()) return pe + q - else { - while (pe.length < 6) pe = '0' + pe - q = '' + pe + q - } - } - } - Be.getHighBits = function getHighBits() { - return this.high - } - Be.getHighBitsUnsigned = function getHighBitsUnsigned() { - return this.high >>> 0 - } - Be.getLowBits = function getLowBits() { - return this.low - } - Be.getLowBitsUnsigned = function getLowBitsUnsigned() { - return this.low >>> 0 - } - Be.getNumBitsAbs = function getNumBitsAbs() { - if (this.isNegative()) - return this.eq(Ne) ? 64 : this.neg().getNumBitsAbs() - var k = this.high != 0 ? this.high : this.low - for (var v = 31; v > 0; v--) if ((k & (1 << v)) != 0) break - return this.high != 0 ? v + 33 : v + 1 - } - Be.isZero = function isZero() { - return this.high === 0 && this.low === 0 - } - Be.eqz = Be.isZero - Be.isNegative = function isNegative() { - return !this.unsigned && this.high < 0 - } - Be.isPositive = function isPositive() { - return this.unsigned || this.high >= 0 - } - Be.isOdd = function isOdd() { - return (this.low & 1) === 1 - } - Be.isEven = function isEven() { - return (this.low & 1) === 0 - } - Be.equals = function equals(k) { - if (!isLong(k)) k = fromValue(k) - if ( - this.unsigned !== k.unsigned && - this.high >>> 31 === 1 && - k.high >>> 31 === 1 - ) - return false - return this.high === k.high && this.low === k.low - } - Be.eq = Be.equals - Be.notEquals = function notEquals(k) { - return !this.eq(k) - } - Be.neq = Be.notEquals - Be.ne = Be.notEquals - Be.lessThan = function lessThan(k) { - return this.comp(k) < 0 - } - Be.lt = Be.lessThan - Be.lessThanOrEqual = function lessThanOrEqual(k) { - return this.comp(k) <= 0 - } - Be.lte = Be.lessThanOrEqual - Be.le = Be.lessThanOrEqual - Be.greaterThan = function greaterThan(k) { - return this.comp(k) > 0 - } - Be.gt = Be.greaterThan - Be.greaterThanOrEqual = function greaterThanOrEqual(k) { - return this.comp(k) >= 0 - } - Be.gte = Be.greaterThanOrEqual - Be.ge = Be.greaterThanOrEqual - Be.compare = function compare(k) { - if (!isLong(k)) k = fromValue(k) - if (this.eq(k)) return 0 - var v = this.isNegative(), - E = k.isNegative() - if (v && !E) return -1 - if (!v && E) return 1 - if (!this.unsigned) return this.sub(k).isNegative() ? -1 : 1 - return k.high >>> 0 > this.high >>> 0 || - (k.high === this.high && k.low >>> 0 > this.low >>> 0) - ? -1 - : 1 - } - Be.comp = Be.compare - Be.negate = function negate() { - if (!this.unsigned && this.eq(Ne)) return Ne - return this.not().add(_e) - } - Be.neg = Be.negate - Be.add = function add(k) { - if (!isLong(k)) k = fromValue(k) - var v = this.high >>> 16 - var E = this.high & 65535 - var P = this.low >>> 16 - var R = this.low & 65535 - var L = k.high >>> 16 - var N = k.high & 65535 - var q = k.low >>> 16 - var ae = k.low & 65535 - var le = 0, - pe = 0, - me = 0, - ye = 0 - ye += R + ae - me += ye >>> 16 - ye &= 65535 - me += P + q - pe += me >>> 16 - me &= 65535 - pe += E + N - le += pe >>> 16 - pe &= 65535 - le += v + L - le &= 65535 - return fromBits((me << 16) | ye, (le << 16) | pe, this.unsigned) - } - Be.subtract = function subtract(k) { - if (!isLong(k)) k = fromValue(k) - return this.add(k.neg()) - } - Be.sub = Be.subtract - Be.multiply = function multiply(k) { - if (this.isZero()) return me - if (!isLong(k)) k = fromValue(k) - if (v) { - var E = v['mul'](this.low, this.high, k.low, k.high) - return fromBits(E, v['get_high'](), this.unsigned) - } - if (k.isZero()) return me - if (this.eq(Ne)) return k.isOdd() ? Ne : me - if (k.eq(Ne)) return this.isOdd() ? Ne : me - if (this.isNegative()) { - if (k.isNegative()) return this.neg().mul(k.neg()) - else return this.neg().mul(k).neg() - } else if (k.isNegative()) return this.mul(k.neg()).neg() - if (this.lt(pe) && k.lt(pe)) - return fromNumber(this.toNumber() * k.toNumber(), this.unsigned) - var P = this.high >>> 16 - var R = this.high & 65535 - var L = this.low >>> 16 - var N = this.low & 65535 - var q = k.high >>> 16 - var ae = k.high & 65535 - var le = k.low >>> 16 - var ye = k.low & 65535 - var _e = 0, - Ie = 0, - Me = 0, - Te = 0 - Te += N * ye - Me += Te >>> 16 - Te &= 65535 - Me += L * ye - Ie += Me >>> 16 - Me &= 65535 - Me += N * le - Ie += Me >>> 16 - Me &= 65535 - Ie += R * ye - _e += Ie >>> 16 - Ie &= 65535 - Ie += L * le - _e += Ie >>> 16 - Ie &= 65535 - Ie += N * ae - _e += Ie >>> 16 - Ie &= 65535 - _e += P * ye + R * le + L * ae + N * q - _e &= 65535 - return fromBits((Me << 16) | Te, (_e << 16) | Ie, this.unsigned) - } - Be.mul = Be.multiply - Be.divide = function divide(k) { - if (!isLong(k)) k = fromValue(k) - if (k.isZero()) throw Error('division by zero') - if (v) { - if ( - !this.unsigned && - this.high === -2147483648 && - k.low === -1 && - k.high === -1 - ) { - return this - } - var E = (this.unsigned ? v['div_u'] : v['div_s'])( - this.low, - this.high, - k.low, - k.high - ) - return fromBits(E, v['get_high'](), this.unsigned) - } - if (this.isZero()) return this.unsigned ? ye : me - var P, L, N - if (!this.unsigned) { - if (this.eq(Ne)) { - if (k.eq(_e) || k.eq(Me)) return Ne - else if (k.eq(Ne)) return _e - else { - var q = this.shr(1) - P = q.div(k).shl(1) - if (P.eq(me)) { - return k.isNegative() ? _e : Me - } else { - L = this.sub(k.mul(P)) - N = P.add(L.div(k)) - return N - } - } - } else if (k.eq(Ne)) return this.unsigned ? ye : me - if (this.isNegative()) { - if (k.isNegative()) return this.neg().div(k.neg()) - return this.neg().div(k).neg() - } else if (k.isNegative()) return this.div(k.neg()).neg() - N = me - } else { - if (!k.unsigned) k = k.toUnsigned() - if (k.gt(this)) return ye - if (k.gt(this.shru(1))) return Ie - N = ye - } - L = this - while (L.gte(k)) { - P = Math.max(1, Math.floor(L.toNumber() / k.toNumber())) - var ae = Math.ceil(Math.log(P) / Math.LN2), - le = ae <= 48 ? 1 : R(2, ae - 48), - pe = fromNumber(P), - Te = pe.mul(k) - while (Te.isNegative() || Te.gt(L)) { - P -= le - pe = fromNumber(P, this.unsigned) - Te = pe.mul(k) - } - if (pe.isZero()) pe = _e - N = N.add(pe) - L = L.sub(Te) - } - return N - } - Be.div = Be.divide - Be.modulo = function modulo(k) { - if (!isLong(k)) k = fromValue(k) - if (v) { - var E = (this.unsigned ? v['rem_u'] : v['rem_s'])( - this.low, - this.high, - k.low, - k.high - ) - return fromBits(E, v['get_high'](), this.unsigned) - } - return this.sub(this.div(k).mul(k)) - } - Be.mod = Be.modulo - Be.rem = Be.modulo - Be.not = function not() { - return fromBits(~this.low, ~this.high, this.unsigned) - } - Be.and = function and(k) { - if (!isLong(k)) k = fromValue(k) - return fromBits(this.low & k.low, this.high & k.high, this.unsigned) - } - Be.or = function or(k) { - if (!isLong(k)) k = fromValue(k) - return fromBits(this.low | k.low, this.high | k.high, this.unsigned) - } - Be.xor = function xor(k) { - if (!isLong(k)) k = fromValue(k) - return fromBits(this.low ^ k.low, this.high ^ k.high, this.unsigned) - } - Be.shiftLeft = function shiftLeft(k) { - if (isLong(k)) k = k.toInt() - if ((k &= 63) === 0) return this - else if (k < 32) - return fromBits( - this.low << k, - (this.high << k) | (this.low >>> (32 - k)), - this.unsigned - ) - else return fromBits(0, this.low << (k - 32), this.unsigned) - } - Be.shl = Be.shiftLeft - Be.shiftRight = function shiftRight(k) { - if (isLong(k)) k = k.toInt() - if ((k &= 63) === 0) return this - else if (k < 32) - return fromBits( - (this.low >>> k) | (this.high << (32 - k)), - this.high >> k, - this.unsigned - ) - else - return fromBits( - this.high >> (k - 32), - this.high >= 0 ? 0 : -1, - this.unsigned - ) - } - Be.shr = Be.shiftRight - Be.shiftRightUnsigned = function shiftRightUnsigned(k) { - if (isLong(k)) k = k.toInt() - if ((k &= 63) === 0) return this - if (k < 32) - return fromBits( - (this.low >>> k) | (this.high << (32 - k)), - this.high >>> k, - this.unsigned - ) - if (k === 32) return fromBits(this.high, 0, this.unsigned) - return fromBits(this.high >>> (k - 32), 0, this.unsigned) - } - Be.shru = Be.shiftRightUnsigned - Be.shr_u = Be.shiftRightUnsigned - Be.rotateLeft = function rotateLeft(k) { - var v - if (isLong(k)) k = k.toInt() - if ((k &= 63) === 0) return this - if (k === 32) return fromBits(this.high, this.low, this.unsigned) - if (k < 32) { - v = 32 - k - return fromBits( - (this.low << k) | (this.high >>> v), - (this.high << k) | (this.low >>> v), - this.unsigned - ) - } - k -= 32 - v = 32 - k - return fromBits( - (this.high << k) | (this.low >>> v), - (this.low << k) | (this.high >>> v), - this.unsigned - ) - } - Be.rotl = Be.rotateLeft - Be.rotateRight = function rotateRight(k) { - var v - if (isLong(k)) k = k.toInt() - if ((k &= 63) === 0) return this - if (k === 32) return fromBits(this.high, this.low, this.unsigned) - if (k < 32) { - v = 32 - k - return fromBits( - (this.high << v) | (this.low >>> k), - (this.low << v) | (this.high >>> k), - this.unsigned - ) - } - k -= 32 - v = 32 - k - return fromBits( - (this.low << v) | (this.high >>> k), - (this.high << v) | (this.low >>> k), - this.unsigned - ) - } - Be.rotr = Be.rotateRight - Be.toSigned = function toSigned() { - if (!this.unsigned) return this - return fromBits(this.low, this.high, false) - } - Be.toUnsigned = function toUnsigned() { - if (this.unsigned) return this - return fromBits(this.low, this.high, true) - } - Be.toBytes = function toBytes(k) { - return k ? this.toBytesLE() : this.toBytesBE() - } - Be.toBytesLE = function toBytesLE() { - var k = this.high, - v = this.low - return [ - v & 255, - (v >>> 8) & 255, - (v >>> 16) & 255, - v >>> 24, - k & 255, - (k >>> 8) & 255, - (k >>> 16) & 255, - k >>> 24, - ] - } - Be.toBytesBE = function toBytesBE() { - var k = this.high, - v = this.low - return [ - k >>> 24, - (k >>> 16) & 255, - (k >>> 8) & 255, - k & 255, - v >>> 24, - (v >>> 16) & 255, - (v >>> 8) & 255, - v & 255, - ] - } - Long.fromBytes = function fromBytes(k, v, E) { - return E ? Long.fromBytesLE(k, v) : Long.fromBytesBE(k, v) - } - Long.fromBytesLE = function fromBytesLE(k, v) { - return new Long( - k[0] | (k[1] << 8) | (k[2] << 16) | (k[3] << 24), - k[4] | (k[5] << 8) | (k[6] << 16) | (k[7] << 24), - v - ) - } - Long.fromBytesBE = function fromBytesBE(k, v) { - return new Long( - (k[4] << 24) | (k[5] << 16) | (k[6] << 8) | k[7], - (k[0] << 24) | (k[1] << 16) | (k[2] << 8) | k[3], - v - ) - } - }, - 46348: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - v.importAssertions = importAssertions - var P = _interopRequireWildcard(E(31988)) - function _getRequireWildcardCache(k) { - if (typeof WeakMap !== 'function') return null - var v = new WeakMap() - var E = new WeakMap() - return (_getRequireWildcardCache = function (k) { - return k ? E : v - })(k) - } - function _interopRequireWildcard(k, v) { - if (!v && k && k.__esModule) { - return k - } - if (k === null || (typeof k !== 'object' && typeof k !== 'function')) { - return { default: k } - } - var E = _getRequireWildcardCache(v) - if (E && E.has(k)) { - return E.get(k) - } - var P = {} - var R = Object.defineProperty && Object.getOwnPropertyDescriptor - for (var L in k) { - if (L !== 'default' && Object.prototype.hasOwnProperty.call(k, L)) { - var N = R ? Object.getOwnPropertyDescriptor(k, L) : null - if (N && (N.get || N.set)) { - Object.defineProperty(P, L, N) - } else { - P[L] = k[L] - } - } - } - P.default = k - if (E) { - E.set(k, P) - } - return P - } - const R = '{'.charCodeAt(0) - const L = ' '.charCodeAt(0) - const N = 'assert' - const q = 1, - ae = 2, - le = 4 - function importAssertions(k) { - const v = k.acorn || P - const { tokTypes: E, TokenType: ae } = v - return class extends k { - constructor(...k) { - super(...k) - this.assertToken = new ae(N) - } - _codeAt(k) { - return this.input.charCodeAt(k) - } - _eat(k) { - if (this.type !== k) { - this.unexpected() - } - this.next() - } - readToken(k) { - let v = 0 - for (; v < N.length; v++) { - if (this._codeAt(this.pos + v) !== N.charCodeAt(v)) { - return super.readToken(k) - } - } - for (; ; v++) { - if (this._codeAt(this.pos + v) === R) { - break - } else if (this._codeAt(this.pos + v) === L) { - continue - } else { - return super.readToken(k) - } - } - if (this.type.label === '{') { - return super.readToken(k) - } - this.pos += N.length - return this.finishToken(this.assertToken) - } - parseDynamicImport(k) { - this.next() - k.source = this.parseMaybeAssign() - if (this.eat(E.comma)) { - const v = this.parseObj(false) - k.arguments = [v] - } - this._eat(E.parenR) - return this.finishNode(k, 'ImportExpression') - } - parseExport(k, v) { - this.next() - if (this.eat(E.star)) { - if (this.options.ecmaVersion >= 11) { - if (this.eatContextual('as')) { - k.exported = this.parseIdent(true) - this.checkExport(v, k.exported.name, this.lastTokStart) - } else { - k.exported = null - } - } - this.expectContextual('from') - if (this.type !== E.string) { - this.unexpected() - } - k.source = this.parseExprAtom() - if (this.type === this.assertToken || this.type === E._with) { - this.next() - const v = this.parseImportAssertions() - if (v) { - k.assertions = v - } - } - this.semicolon() - return this.finishNode(k, 'ExportAllDeclaration') - } - if (this.eat(E._default)) { - this.checkExport(v, 'default', this.lastTokStart) - var P - if (this.type === E._function || (P = this.isAsyncFunction())) { - var R = this.startNode() - this.next() - if (P) { - this.next() - } - k.declaration = this.parseFunction(R, q | le, false, P) - } else if (this.type === E._class) { - var L = this.startNode() - k.declaration = this.parseClass(L, 'nullableID') - } else { - k.declaration = this.parseMaybeAssign() - this.semicolon() - } - return this.finishNode(k, 'ExportDefaultDeclaration') - } - if (this.shouldParseExportStatement()) { - k.declaration = this.parseStatement(null) - if (k.declaration.type === 'VariableDeclaration') { - this.checkVariableExport(v, k.declaration.declarations) - } else { - this.checkExport( - v, - k.declaration.id.name, - k.declaration.id.start - ) - } - k.specifiers = [] - k.source = null - } else { - k.declaration = null - k.specifiers = this.parseExportSpecifiers(v) - if (this.eatContextual('from')) { - if (this.type !== E.string) { - this.unexpected() - } - k.source = this.parseExprAtom() - if (this.type === this.assertToken || this.type === E._with) { - this.next() - const v = this.parseImportAssertions() - if (v) { - k.assertions = v - } - } - } else { - for (var N = 0, ae = k.specifiers; N < ae.length; N += 1) { - var pe = ae[N] - this.checkUnreserved(pe.local) - this.checkLocalExport(pe.local) - } - k.source = null - } - this.semicolon() - } - return this.finishNode(k, 'ExportNamedDeclaration') - } - parseImport(k) { - this.next() - if (this.type === E.string) { - k.specifiers = [] - k.source = this.parseExprAtom() - } else { - k.specifiers = this.parseImportSpecifiers() - this.expectContextual('from') - k.source = - this.type === E.string - ? this.parseExprAtom() - : this.unexpected() - } - if (this.type === this.assertToken || this.type == E._with) { - this.next() - const v = this.parseImportAssertions() - if (v) { - k.assertions = v - } - } - this.semicolon() - return this.finishNode(k, 'ImportDeclaration') - } - parseImportAssertions() { - this._eat(E.braceL) - const k = this.parseAssertEntries() - this._eat(E.braceR) - return k - } - parseAssertEntries() { - const k = [] - const v = new Set() - do { - if (this.type === E.braceR) { - break - } - const P = this.startNode() - let R - if (this.type === E.string) { - R = this.parseLiteral(this.value) - } else { - R = this.parseIdent(true) - } - this.next() - P.key = R - if (v.has(P.key.name)) { - this.raise(this.pos, 'Duplicated key in assertions') - } - v.add(P.key.name) - if (this.type !== E.string) { - this.raise( - this.pos, - 'Only string is supported as an assertion value' - ) - } - P.value = this.parseLiteral(this.value) - k.push(this.finishNode(P, 'ImportAttribute')) - } while (this.eat(E.comma)) - return k - } - } - } - }, - 86853: function (k, v, E) { - 'use strict' - Object.defineProperty(v, '__esModule', { value: true }) - var P = E(36849) - var R = E(12781) - function evCommon() { - var k = process.hrtime() - var v = k[0] * 1e6 + Math.round(k[1] / 1e3) - return { ts: v, pid: process.pid, tid: process.pid } - } - var L = (function (k) { - P.__extends(Tracer, k) - function Tracer(v) { - if (v === void 0) { - v = {} - } - var E = k.call(this) || this - E.noStream = false - E.events = [] - if (typeof v !== 'object') { - throw new Error('Invalid options passed (must be an object)') - } - if (v.parent != null && typeof v.parent !== 'object') { - throw new Error( - 'Invalid option (parent) passed (must be an object)' - ) - } - if (v.fields != null && typeof v.fields !== 'object') { - throw new Error( - 'Invalid option (fields) passed (must be an object)' - ) - } - if ( - v.objectMode != null && - v.objectMode !== true && - v.objectMode !== false - ) { - throw new Error( - 'Invalid option (objectsMode) passed (must be a boolean)' - ) - } - E.noStream = v.noStream || false - E.parent = v.parent - if (E.parent) { - E.fields = Object.assign({}, v.parent && v.parent.fields) - } else { - E.fields = {} - } - if (v.fields) { - Object.assign(E.fields, v.fields) - } - if (!E.fields.cat) { - E.fields.cat = 'default' - } else if (Array.isArray(E.fields.cat)) { - E.fields.cat = E.fields.cat.join(',') - } - if (!E.fields.args) { - E.fields.args = {} - } - if (E.parent) { - E._push = E.parent._push.bind(E.parent) - } else { - E._objectMode = Boolean(v.objectMode) - var P = { objectMode: E._objectMode } - if (E._objectMode) { - E._push = E.push - } else { - E._push = E._pushString - P.encoding = 'utf8' - } - R.Readable.call(E, P) - } - return E - } - Tracer.prototype.flush = function () { - if (this.noStream === true) { - for (var k = 0, v = this.events; k < v.length; k++) { - var E = v[k] - this._push(E) - } - this._flush() - } - } - Tracer.prototype._read = function (k) {} - Tracer.prototype._pushString = function (k) { - var v = '' - if (!this.firstPush) { - this.push('[') - this.firstPush = true - } else { - v = ',\n' - } - this.push(v + JSON.stringify(k), 'utf8') - } - Tracer.prototype._flush = function () { - if (!this._objectMode) { - this.push(']') - } - } - Tracer.prototype.child = function (k) { - return new Tracer({ parent: this, fields: k }) - } - Tracer.prototype.begin = function (k) { - return this.mkEventFunc('b')(k) - } - Tracer.prototype.end = function (k) { - return this.mkEventFunc('e')(k) - } - Tracer.prototype.completeEvent = function (k) { - return this.mkEventFunc('X')(k) - } - Tracer.prototype.instantEvent = function (k) { - return this.mkEventFunc('I')(k) - } - Tracer.prototype.mkEventFunc = function (k) { - var v = this - return function (E) { - var P = evCommon() - P.ph = k - if (E) { - if (typeof E === 'string') { - P.name = E - } else { - for (var R = 0, L = Object.keys(E); R < L.length; R++) { - var N = L[R] - if (N === 'cat') { - P.cat = E.cat.join(',') - } else { - P[N] = E[N] - } - } - } - } - if (!v.noStream) { - v._push(P) - } else { - v.events.push(P) - } - } - } - return Tracer - })(R.Readable) - v.Tracer = L - }, - 14041: function (k, v, E) { - 'use strict' - const P = E(40886) - const R = E(71606) - k.exports = class AliasFieldPlugin { - constructor(k, v, E) { - this.source = k - this.field = v - this.target = E - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('AliasFieldPlugin', (E, L, N) => { - if (!E.descriptionFileData) return N() - const q = R(k, E) - if (!q) return N() - const ae = P.getField(E.descriptionFileData, this.field) - if (ae === null || typeof ae !== 'object') { - if (L.log) - L.log( - "Field '" + - this.field + - "' doesn't contain a valid alias configuration" - ) - return N() - } - const le = Object.prototype.hasOwnProperty.call(ae, q) - ? ae[q] - : q.startsWith('./') - ? ae[q.slice(2)] - : undefined - if (le === q) return N() - if (le === undefined) return N() - if (le === false) { - const k = { ...E, path: false } - if (typeof L.yield === 'function') { - L.yield(k) - return N(null, null) - } - return N(null, k) - } - const pe = { - ...E, - path: E.descriptionFileRoot, - request: le, - fullySpecified: false, - } - k.doResolve( - v, - pe, - 'aliased from description file ' + - E.descriptionFilePath + - " with mapping '" + - q + - "' to '" + - le + - "'", - L, - (k, v) => { - if (k) return N(k) - if (v === undefined) return N(null, null) - N(null, v) - } - ) - }) - } - } - }, - 68345: function (k, v, E) { - 'use strict' - const P = E(29779) - const { PathType: R, getType: L } = E(39840) - k.exports = class AliasPlugin { - constructor(k, v, E) { - this.source = k - this.options = Array.isArray(v) ? v : [v] - this.target = E - } - apply(k) { - const v = k.ensureHook(this.target) - const getAbsolutePathWithSlashEnding = (v) => { - const E = L(v) - if (E === R.AbsolutePosix || E === R.AbsoluteWin) { - return k.join(v, '_').slice(0, -1) - } - return null - } - const isSubPath = (k, v) => { - const E = getAbsolutePathWithSlashEnding(v) - if (!E) return false - return k.startsWith(E) - } - k.getHook(this.source).tapAsync('AliasPlugin', (E, R, L) => { - const N = E.request || E.path - if (!N) return L() - P( - this.options, - (L, q) => { - let ae = false - if ( - N === L.name || - (!L.onlyModule && - (E.request - ? N.startsWith(`${L.name}/`) - : isSubPath(N, L.name))) - ) { - const le = N.slice(L.name.length) - const resolveWithAlias = (P, q) => { - if (P === false) { - const k = { ...E, path: false } - if (typeof R.yield === 'function') { - R.yield(k) - return q(null, null) - } - return q(null, k) - } - if (N !== P && !N.startsWith(P + '/')) { - ae = true - const N = P + le - const pe = { ...E, request: N, fullySpecified: false } - return k.doResolve( - v, - pe, - "aliased with mapping '" + - L.name + - "': '" + - P + - "' to '" + - N + - "'", - R, - (k, v) => { - if (k) return q(k) - if (v) return q(null, v) - return q() - } - ) - } - return q() - } - const stoppingCallback = (k, v) => { - if (k) return q(k) - if (v) return q(null, v) - if (ae) return q(null, null) - return q() - } - if (Array.isArray(L.alias)) { - return P(L.alias, resolveWithAlias, stoppingCallback) - } else { - return resolveWithAlias(L.alias, stoppingCallback) - } - } - return q() - }, - L - ) - }) - } - } - }, - 49225: function (k) { - 'use strict' - k.exports = class AppendPlugin { - constructor(k, v, E) { - this.source = k - this.appending = v - this.target = E - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('AppendPlugin', (E, P, R) => { - const L = { - ...E, - path: E.path + this.appending, - relativePath: E.relativePath && E.relativePath + this.appending, - } - k.doResolve(v, L, this.appending, P, R) - }) - } - } - }, - 75943: function (k, v, E) { - 'use strict' - const P = E(77282).nextTick - const dirname = (k) => { - let v = k.length - 1 - while (v >= 0) { - const E = k.charCodeAt(v) - if (E === 47 || E === 92) break - v-- - } - if (v < 0) return '' - return k.slice(0, v) - } - const runCallbacks = (k, v, E) => { - if (k.length === 1) { - k[0](v, E) - k.length = 0 - return - } - let P - for (const R of k) { - try { - R(v, E) - } catch (k) { - if (!P) P = k - } - } - k.length = 0 - if (P) throw P - } - class OperationMergerBackend { - constructor(k, v, E) { - this._provider = k - this._syncProvider = v - this._providerContext = E - this._activeAsyncOperations = new Map() - this.provide = this._provider - ? (v, E, P) => { - if (typeof E === 'function') { - P = E - E = undefined - } - if (E) { - return this._provider.call(this._providerContext, v, E, P) - } - if (typeof v !== 'string') { - P(new TypeError('path must be a string')) - return - } - let R = this._activeAsyncOperations.get(v) - if (R) { - R.push(P) - return - } - this._activeAsyncOperations.set(v, (R = [P])) - k(v, (k, E) => { - this._activeAsyncOperations.delete(v) - runCallbacks(R, k, E) - }) - } - : null - this.provideSync = this._syncProvider - ? (k, v) => this._syncProvider.call(this._providerContext, k, v) - : null - } - purge() {} - purgeParent() {} - } - const R = 0 - const L = 1 - const N = 2 - class CacheBackend { - constructor(k, v, E, P) { - this._duration = k - this._provider = v - this._syncProvider = E - this._providerContext = P - this._activeAsyncOperations = new Map() - this._data = new Map() - this._levels = [] - for (let k = 0; k < 10; k++) this._levels.push(new Set()) - for (let v = 5e3; v < k; v += 500) this._levels.push(new Set()) - this._currentLevel = 0 - this._tickInterval = Math.floor(k / this._levels.length) - this._mode = R - this._timeout = undefined - this._nextDecay = undefined - this.provide = v ? this.provide.bind(this) : null - this.provideSync = E ? this.provideSync.bind(this) : null - } - provide(k, v, E) { - if (typeof v === 'function') { - E = v - v = undefined - } - if (typeof k !== 'string') { - E(new TypeError('path must be a string')) - return - } - if (v) { - return this._provider.call(this._providerContext, k, v, E) - } - if (this._mode === L) { - this._enterAsyncMode() - } - let R = this._data.get(k) - if (R !== undefined) { - if (R.err) return P(E, R.err) - return P(E, null, R.result) - } - let N = this._activeAsyncOperations.get(k) - if (N !== undefined) { - N.push(E) - return - } - this._activeAsyncOperations.set(k, (N = [E])) - this._provider.call(this._providerContext, k, (v, E) => { - this._activeAsyncOperations.delete(k) - this._storeResult(k, v, E) - this._enterAsyncMode() - runCallbacks(N, v, E) - }) - } - provideSync(k, v) { - if (typeof k !== 'string') { - throw new TypeError('path must be a string') - } - if (v) { - return this._syncProvider.call(this._providerContext, k, v) - } - if (this._mode === L) { - this._runDecays() - } - let E = this._data.get(k) - if (E !== undefined) { - if (E.err) throw E.err - return E.result - } - const P = this._activeAsyncOperations.get(k) - this._activeAsyncOperations.delete(k) - let R - try { - R = this._syncProvider.call(this._providerContext, k) - } catch (v) { - this._storeResult(k, v, undefined) - this._enterSyncModeWhenIdle() - if (P) { - runCallbacks(P, v, undefined) - } - throw v - } - this._storeResult(k, undefined, R) - this._enterSyncModeWhenIdle() - if (P) { - runCallbacks(P, undefined, R) - } - return R - } - purge(k) { - if (!k) { - if (this._mode !== R) { - this._data.clear() - for (const k of this._levels) { - k.clear() - } - this._enterIdleMode() - } - } else if (typeof k === 'string') { - for (let [v, E] of this._data) { - if (v.startsWith(k)) { - this._data.delete(v) - E.level.delete(v) - } - } - if (this._data.size === 0) { - this._enterIdleMode() - } - } else { - for (let [v, E] of this._data) { - for (const P of k) { - if (v.startsWith(P)) { - this._data.delete(v) - E.level.delete(v) - break - } - } - } - if (this._data.size === 0) { - this._enterIdleMode() - } - } - } - purgeParent(k) { - if (!k) { - this.purge() - } else if (typeof k === 'string') { - this.purge(dirname(k)) - } else { - const v = new Set() - for (const E of k) { - v.add(dirname(E)) - } - this.purge(v) - } - } - _storeResult(k, v, E) { - if (this._data.has(k)) return - const P = this._levels[this._currentLevel] - this._data.set(k, { err: v, result: E, level: P }) - P.add(k) - } - _decayLevel() { - const k = (this._currentLevel + 1) % this._levels.length - const v = this._levels[k] - this._currentLevel = k - for (let k of v) { - this._data.delete(k) - } - v.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 k = 0 - switch (this._mode) { - case N: - return - case R: - this._nextDecay = Date.now() + this._tickInterval - k = this._tickInterval - break - case L: - this._runDecays() - if (this._mode === R) return - k = Math.max(0, this._nextDecay - Date.now()) - break - } - this._mode = N - const v = setTimeout(() => { - this._mode = L - this._runDecays() - }, k) - if (v.unref) v.unref() - this._timeout = v - } - _enterSyncModeWhenIdle() { - if (this._mode === R) { - this._mode = L - this._nextDecay = Date.now() + this._tickInterval - } - } - _enterIdleMode() { - this._mode = R - this._nextDecay = undefined - if (this._timeout) clearTimeout(this._timeout) - } - } - const createBackend = (k, v, E, P) => { - if (k > 0) { - return new CacheBackend(k, v, E, P) - } - return new OperationMergerBackend(v, E, P) - } - k.exports = class CachedInputFileSystem { - constructor(k, v) { - this.fileSystem = k - this._lstatBackend = createBackend( - v, - this.fileSystem.lstat, - this.fileSystem.lstatSync, - this.fileSystem - ) - const E = this._lstatBackend.provide - this.lstat = E - const P = this._lstatBackend.provideSync - this.lstatSync = P - this._statBackend = createBackend( - v, - this.fileSystem.stat, - this.fileSystem.statSync, - this.fileSystem - ) - const R = this._statBackend.provide - this.stat = R - const L = this._statBackend.provideSync - this.statSync = L - this._readdirBackend = createBackend( - v, - this.fileSystem.readdir, - this.fileSystem.readdirSync, - this.fileSystem - ) - const N = this._readdirBackend.provide - this.readdir = N - const q = this._readdirBackend.provideSync - this.readdirSync = q - this._readFileBackend = createBackend( - v, - this.fileSystem.readFile, - this.fileSystem.readFileSync, - this.fileSystem - ) - const ae = this._readFileBackend.provide - this.readFile = ae - const le = this._readFileBackend.provideSync - this.readFileSync = le - this._readJsonBackend = createBackend( - v, - this.fileSystem.readJson || - (this.readFile && - ((k, v) => { - this.readFile(k, (k, E) => { - if (k) return v(k) - if (!E || E.length === 0) - return v(new Error('No file content')) - let P - try { - P = JSON.parse(E.toString('utf-8')) - } catch (k) { - return v(k) - } - v(null, P) - }) - })), - this.fileSystem.readJsonSync || - (this.readFileSync && - ((k) => { - const v = this.readFileSync(k) - const E = JSON.parse(v.toString('utf-8')) - return E - })), - this.fileSystem - ) - const pe = this._readJsonBackend.provide - this.readJson = pe - const me = this._readJsonBackend.provideSync - this.readJsonSync = me - this._readlinkBackend = createBackend( - v, - this.fileSystem.readlink, - this.fileSystem.readlinkSync, - this.fileSystem - ) - const ye = this._readlinkBackend.provide - this.readlink = ye - const _e = this._readlinkBackend.provideSync - this.readlinkSync = _e - } - purge(k) { - this._statBackend.purge(k) - this._lstatBackend.purge(k) - this._readdirBackend.purgeParent(k) - this._readFileBackend.purge(k) - this._readlinkBackend.purge(k) - this._readJsonBackend.purge(k) - } - } - }, - 63871: function (k, v, E) { - 'use strict' - const P = E(9010).basename - k.exports = class CloneBasenamePlugin { - constructor(k, v) { - this.source = k - this.target = v - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('CloneBasenamePlugin', (E, R, L) => { - const N = E.path - const q = P(N) - const ae = k.join(N, q) - const le = { - ...E, - path: ae, - relativePath: E.relativePath && k.join(E.relativePath, q), - } - k.doResolve(v, le, 'using path: ' + ae, R, L) - }) - } - } - }, - 16596: function (k) { - 'use strict' - k.exports = class ConditionalPlugin { - constructor(k, v, E, P, R) { - this.source = k - this.test = v - this.message = E - this.allowAlternatives = P - this.target = R - } - apply(k) { - const v = k.ensureHook(this.target) - const { test: E, message: P, allowAlternatives: R } = this - const L = Object.keys(E) - k.getHook(this.source).tapAsync('ConditionalPlugin', (N, q, ae) => { - for (const k of L) { - if (N[k] !== E[k]) return ae() - } - k.doResolve( - v, - N, - P, - q, - R - ? ae - : (k, v) => { - if (k) return ae(k) - if (v === undefined) return ae(null, null) - ae(null, v) - } - ) - }) - } - } - }, - 29559: function (k, v, E) { - 'use strict' - const P = E(40886) - k.exports = class DescriptionFilePlugin { - constructor(k, v, E, P) { - this.source = k - this.filenames = v - this.pathIsFile = E - this.target = P - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync( - 'DescriptionFilePlugin', - (E, R, L) => { - const N = E.path - if (!N) return L() - const q = this.pathIsFile ? P.cdUp(N) : N - if (!q) return L() - P.loadDescriptionFile( - k, - q, - this.filenames, - E.descriptionFilePath - ? { - path: E.descriptionFilePath, - content: E.descriptionFileData, - directory: E.descriptionFileRoot, - } - : undefined, - R, - (P, ae) => { - if (P) return L(P) - if (!ae) { - if (R.log) - R.log(`No description file found in ${q} or above`) - return L() - } - const le = - '.' + N.slice(ae.directory.length).replace(/\\/g, '/') - const pe = { - ...E, - descriptionFilePath: ae.path, - descriptionFileData: ae.content, - descriptionFileRoot: ae.directory, - relativePath: le, - } - k.doResolve( - v, - pe, - 'using description file: ' + - ae.path + - ' (relative path: ' + - le + - ')', - R, - (k, v) => { - if (k) return L(k) - if (v === undefined) return L(null, null) - L(null, v) - } - ) - } - ) - } - ) - } - } - }, - 40886: function (k, v, E) { - 'use strict' - const P = E(29779) - function loadDescriptionFile(k, v, E, R, L, N) { - ;(function findDescriptionFile() { - if (R && R.directory === v) { - return N(null, R) - } - P( - E, - (E, P) => { - const R = k.join(v, E) - if (k.fileSystem.readJson) { - k.fileSystem.readJson(R, (k, v) => { - if (k) { - if (typeof k.code !== 'undefined') { - if (L.missingDependencies) { - L.missingDependencies.add(R) - } - return P() - } - if (L.fileDependencies) { - L.fileDependencies.add(R) - } - return onJson(k) - } - if (L.fileDependencies) { - L.fileDependencies.add(R) - } - onJson(null, v) - }) - } else { - k.fileSystem.readFile(R, (k, v) => { - if (k) { - if (L.missingDependencies) { - L.missingDependencies.add(R) - } - return P() - } - if (L.fileDependencies) { - L.fileDependencies.add(R) - } - let E - if (v) { - try { - E = JSON.parse(v.toString()) - } catch (k) { - return onJson(k) - } - } else { - return onJson(new Error('No content in file')) - } - onJson(null, E) - }) - } - function onJson(k, E) { - if (k) { - if (L.log) L.log(R + ' (directory description file): ' + k) - else k.message = R + ' (directory description file): ' + k - return P(k) - } - P(null, { content: E, directory: v, path: R }) - } - }, - (k, E) => { - if (k) return N(k) - if (E) { - return N(null, E) - } else { - const k = cdUp(v) - if (!k) { - return N() - } else { - v = k - return findDescriptionFile() - } - } - } - ) - })() - } - function getField(k, v) { - if (!k) return undefined - if (Array.isArray(v)) { - let E = k - for (let k = 0; k < v.length; k++) { - if (E === null || typeof E !== 'object') { - E = null - break - } - E = E[v[k]] - } - return E - } else { - return k[v] - } - } - function cdUp(k) { - if (k === '/') return null - const v = k.lastIndexOf('/'), - E = k.lastIndexOf('\\') - const P = v < 0 ? E : E < 0 ? v : v < E ? E : v - if (P < 0) return null - return k.slice(0, P || 1) - } - v.loadDescriptionFile = loadDescriptionFile - v.getField = getField - v.cdUp = cdUp - }, - 27271: function (k) { - 'use strict' - k.exports = class DirectoryExistsPlugin { - constructor(k, v) { - this.source = k - this.target = v - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync( - 'DirectoryExistsPlugin', - (E, P, R) => { - const L = k.fileSystem - const N = E.path - if (!N) return R() - L.stat(N, (L, q) => { - if (L || !q) { - if (P.missingDependencies) P.missingDependencies.add(N) - if (P.log) P.log(N + " doesn't exist") - return R() - } - if (!q.isDirectory()) { - if (P.missingDependencies) P.missingDependencies.add(N) - if (P.log) P.log(N + ' is not a directory') - return R() - } - if (P.fileDependencies) P.fileDependencies.add(N) - k.doResolve(v, E, `existing directory ${N}`, P, R) - }) - } - ) - } - } - }, - 77803: function (k, v, E) { - 'use strict' - const P = E(71017) - const R = E(40886) - const L = E(29779) - const { processExportsField: N } = E(36914) - const { parseIdentifier: q } = E(60097) - const { checkImportsExportsFieldTarget: ae } = E(39840) - k.exports = class ExportsFieldPlugin { - constructor(k, v, E, P) { - this.source = k - this.target = P - this.conditionNames = v - this.fieldName = E - this.fieldProcessorCache = new WeakMap() - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('ExportsFieldPlugin', (E, le, pe) => { - if (!E.descriptionFilePath) return pe() - if (E.relativePath !== '.' || E.request === undefined) return pe() - const me = - E.query || E.fragment - ? (E.request === '.' ? './' : E.request) + E.query + E.fragment - : E.request - const ye = R.getField(E.descriptionFileData, this.fieldName) - if (!ye) return pe() - if (E.directory) { - return pe( - new Error( - `Resolving to directories is not possible with the exports field (request was ${me}/)` - ) - ) - } - let _e - try { - let k = this.fieldProcessorCache.get(E.descriptionFileData) - if (k === undefined) { - k = N(ye) - this.fieldProcessorCache.set(E.descriptionFileData, k) - } - _e = k(me, this.conditionNames) - } catch (k) { - if (le.log) { - le.log( - `Exports field in ${E.descriptionFilePath} can't be processed: ${k}` - ) - } - return pe(k) - } - if (_e.length === 0) { - return pe( - new Error( - `Package path ${me} is not exported from package ${E.descriptionFileRoot} (see exports field in ${E.descriptionFilePath})` - ) - ) - } - L( - _e, - (R, L) => { - const N = q(R) - if (!N) return L() - const [pe, me, ye] = N - const _e = ae(pe) - if (_e) { - return L(_e) - } - const Ie = { - ...E, - request: undefined, - path: P.join(E.descriptionFileRoot, pe), - relativePath: pe, - query: me, - fragment: ye, - } - k.doResolve(v, Ie, 'using exports field: ' + R, le, L) - }, - (k, v) => pe(k, v || null) - ) - }) - } - } - }, - 70868: function (k, v, E) { - 'use strict' - const P = E(29779) - k.exports = class ExtensionAliasPlugin { - constructor(k, v, E) { - this.source = k - this.options = v - this.target = E - } - apply(k) { - const v = k.ensureHook(this.target) - const { extension: E, alias: R } = this.options - k.getHook(this.source).tapAsync('ExtensionAliasPlugin', (L, N, q) => { - const ae = L.request - if (!ae || !ae.endsWith(E)) return q() - const le = typeof R === 'string' - const resolve = (P, R, q) => { - const pe = `${ae.slice(0, -E.length)}${P}` - return k.doResolve( - v, - { ...L, request: pe, fullySpecified: true }, - `aliased from extension alias with mapping '${E}' to '${P}'`, - N, - (k, v) => { - if (!le && q) { - if (q !== this.options.alias.length) { - if (N.log) { - N.log( - `Failed to alias from extension alias with mapping '${E}' to '${P}' for '${pe}': ${k}` - ) - } - return R(null, v) - } - return R(k, v) - } else { - R(k, v) - } - } - ) - } - const stoppingCallback = (k, v) => { - if (k) return q(k) - if (v) return q(null, v) - return q(null, null) - } - if (le) { - resolve(R, stoppingCallback) - } else if (R.length > 1) { - P(R, resolve, stoppingCallback) - } else { - resolve(R[0], stoppingCallback) - } - }) - } - } - }, - 79561: function (k) { - 'use strict' - k.exports = class FileExistsPlugin { - constructor(k, v) { - this.source = k - this.target = v - } - apply(k) { - const v = k.ensureHook(this.target) - const E = k.fileSystem - k.getHook(this.source).tapAsync('FileExistsPlugin', (P, R, L) => { - const N = P.path - if (!N) return L() - E.stat(N, (E, q) => { - if (E || !q) { - if (R.missingDependencies) R.missingDependencies.add(N) - if (R.log) R.log(N + " doesn't exist") - return L() - } - if (!q.isFile()) { - if (R.missingDependencies) R.missingDependencies.add(N) - if (R.log) R.log(N + ' is not a file') - return L() - } - if (R.fileDependencies) R.fileDependencies.add(N) - k.doResolve(v, P, 'existing file: ' + N, R, L) - }) - }) - } - } - }, - 33484: function (k, v, E) { - 'use strict' - const P = E(71017) - const R = E(40886) - const L = E(29779) - const { processImportsField: N } = E(36914) - const { parseIdentifier: q } = E(60097) - const { checkImportsExportsFieldTarget: ae } = E(39840) - const le = '.'.charCodeAt(0) - k.exports = class ImportsFieldPlugin { - constructor(k, v, E, P, R) { - this.source = k - this.targetFile = P - this.targetPackage = R - this.conditionNames = v - this.fieldName = E - this.fieldProcessorCache = new WeakMap() - } - apply(k) { - const v = k.ensureHook(this.targetFile) - const E = k.ensureHook(this.targetPackage) - k.getHook(this.source).tapAsync( - 'ImportsFieldPlugin', - (pe, me, ye) => { - if (!pe.descriptionFilePath || pe.request === undefined) { - return ye() - } - const _e = pe.request + pe.query + pe.fragment - const Ie = R.getField(pe.descriptionFileData, this.fieldName) - if (!Ie) return ye() - if (pe.directory) { - return ye( - new Error( - `Resolving to directories is not possible with the imports field (request was ${_e}/)` - ) - ) - } - let Me - try { - let k = this.fieldProcessorCache.get(pe.descriptionFileData) - if (k === undefined) { - k = N(Ie) - this.fieldProcessorCache.set(pe.descriptionFileData, k) - } - Me = k(_e, this.conditionNames) - } catch (k) { - if (me.log) { - me.log( - `Imports field in ${pe.descriptionFilePath} can't be processed: ${k}` - ) - } - return ye(k) - } - if (Me.length === 0) { - return ye( - new Error( - `Package import ${_e} is not imported from package ${pe.descriptionFileRoot} (see imports field in ${pe.descriptionFilePath})` - ) - ) - } - L( - Me, - (R, L) => { - const N = q(R) - if (!N) return L() - const [ye, _e, Ie] = N - const Me = ae(ye) - if (Me) { - return L(Me) - } - switch (ye.charCodeAt(0)) { - case le: { - const E = { - ...pe, - request: undefined, - path: P.join(pe.descriptionFileRoot, ye), - relativePath: ye, - query: _e, - fragment: Ie, - } - k.doResolve(v, E, 'using imports field: ' + R, me, L) - break - } - default: { - const v = { - ...pe, - request: ye, - relativePath: ye, - fullySpecified: true, - query: _e, - fragment: Ie, - } - k.doResolve(E, v, 'using imports field: ' + R, me, L) - } - } - }, - (k, v) => ye(k, v || null) - ) - } - ) - } - } - }, - 82782: function (k) { - 'use strict' - const v = '@'.charCodeAt(0) - k.exports = class JoinRequestPartPlugin { - constructor(k, v) { - this.source = k - this.target = v - } - apply(k) { - const E = k.ensureHook(this.target) - k.getHook(this.source).tapAsync( - 'JoinRequestPartPlugin', - (P, R, L) => { - const N = P.request || '' - let q = N.indexOf('/', 3) - if (q >= 0 && N.charCodeAt(2) === v) { - q = N.indexOf('/', q + 1) - } - let ae - let le - let pe - if (q < 0) { - ae = N - le = '.' - pe = false - } else { - ae = N.slice(0, q) - le = '.' + N.slice(q) - pe = P.fullySpecified - } - const me = { - ...P, - path: k.join(P.path, ae), - relativePath: P.relativePath && k.join(P.relativePath, ae), - request: le, - fullySpecified: pe, - } - k.doResolve(E, me, null, R, L) - } - ) - } - } - }, - 65841: function (k) { - 'use strict' - k.exports = class JoinRequestPlugin { - constructor(k, v) { - this.source = k - this.target = v - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('JoinRequestPlugin', (E, P, R) => { - const L = E.path - const N = E.request - const q = { - ...E, - path: k.join(L, N), - relativePath: E.relativePath && k.join(E.relativePath, N), - request: undefined, - } - k.doResolve(v, q, null, P, R) - }) - } - } - }, - 92305: function (k) { - 'use strict' - k.exports = class LogInfoPlugin { - constructor(k) { - this.source = k - } - apply(k) { - const v = this.source - k.getHook(this.source).tapAsync('LogInfoPlugin', (k, E, P) => { - if (!E.log) return P() - const R = E.log - const L = '[' + v + '] ' - if (k.path) R(L + 'Resolving in directory: ' + k.path) - if (k.request) R(L + 'Resolving request: ' + k.request) - if (k.module) R(L + 'Request is an module request.') - if (k.directory) R(L + 'Request is a directory request.') - if (k.query) R(L + 'Resolving request query: ' + k.query) - if (k.fragment) R(L + 'Resolving request fragment: ' + k.fragment) - if (k.descriptionFilePath) - R(L + 'Has description data from ' + k.descriptionFilePath) - if (k.relativePath) - R(L + 'Relative path from description file is: ' + k.relativePath) - P() - }) - } - } - }, - 38718: function (k, v, E) { - 'use strict' - const P = E(71017) - const R = E(40886) - const L = Symbol('alreadyTriedMainField') - k.exports = class MainFieldPlugin { - constructor(k, v, E) { - this.source = k - this.options = v - this.target = E - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('MainFieldPlugin', (E, N, q) => { - if ( - E.path !== E.descriptionFileRoot || - E[L] === E.descriptionFilePath || - !E.descriptionFilePath - ) - return q() - const ae = P.basename(E.descriptionFilePath) - let le = R.getField(E.descriptionFileData, this.options.name) - if (!le || typeof le !== 'string' || le === '.' || le === './') { - return q() - } - if (this.options.forceRelative && !/^\.\.?\//.test(le)) - le = './' + le - const pe = { - ...E, - request: le, - module: false, - directory: le.endsWith('/'), - [L]: E.descriptionFilePath, - } - return k.doResolve( - v, - pe, - 'use ' + le + ' from ' + this.options.name + ' in ' + ae, - N, - q - ) - }) - } - } - }, - 44869: function (k, v, E) { - 'use strict' - const P = E(29779) - const R = E(9010) - k.exports = class ModulesInHierarchicalDirectoriesPlugin { - constructor(k, v, E) { - this.source = k - this.directories = [].concat(v) - this.target = E - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync( - 'ModulesInHierarchicalDirectoriesPlugin', - (E, L, N) => { - const q = k.fileSystem - const ae = R(E.path) - .paths.map((v) => this.directories.map((E) => k.join(v, E))) - .reduce((k, v) => { - k.push.apply(k, v) - return k - }, []) - P( - ae, - (P, R) => { - q.stat(P, (N, q) => { - if (!N && q && q.isDirectory()) { - const N = { - ...E, - path: P, - request: './' + E.request, - module: false, - } - const q = 'looking for modules in ' + P - return k.doResolve(v, N, q, L, R) - } - if (L.log) L.log(P + " doesn't exist or is not a directory") - if (L.missingDependencies) L.missingDependencies.add(P) - return R() - }) - }, - N - ) - } - ) - } - } - }, - 91119: function (k) { - 'use strict' - k.exports = class ModulesInRootPlugin { - constructor(k, v, E) { - this.source = k - this.path = v - this.target = E - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('ModulesInRootPlugin', (E, P, R) => { - const L = { - ...E, - path: this.path, - request: './' + E.request, - module: false, - } - k.doResolve(v, L, 'looking for modules in ' + this.path, P, R) - }) - } - } - }, - 72715: function (k) { - 'use strict' - k.exports = class NextPlugin { - constructor(k, v) { - this.source = k - this.target = v - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('NextPlugin', (E, P, R) => { - k.doResolve(v, E, null, P, R) - }) - } - } - }, - 50802: function (k) { - 'use strict' - k.exports = class ParsePlugin { - constructor(k, v, E) { - this.source = k - this.requestOptions = v - this.target = E - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('ParsePlugin', (E, P, R) => { - const L = k.parse(E.request) - const N = { ...E, ...L, ...this.requestOptions } - if (E.query && !L.query) { - N.query = E.query - } - if (E.fragment && !L.fragment) { - N.fragment = E.fragment - } - if (L && P.log) { - if (L.module) P.log('Parsed request is a module') - if (L.directory) P.log('Parsed request is a directory') - } - if (N.request && !N.query && N.fragment) { - const E = N.fragment.endsWith('/') - const L = { - ...N, - directory: E, - request: - N.request + - (N.directory ? '/' : '') + - (E ? N.fragment.slice(0, -1) : N.fragment), - fragment: '', - } - k.doResolve(v, L, null, P, (E, L) => { - if (E) return R(E) - if (L) return R(null, L) - k.doResolve(v, N, null, P, R) - }) - return - } - k.doResolve(v, N, null, P, R) - }) - } - } - }, - 94727: function (k) { - 'use strict' - k.exports = class PnpPlugin { - constructor(k, v, E) { - this.source = k - this.pnpApi = v - this.target = E - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('PnpPlugin', (E, P, R) => { - const L = E.request - if (!L) return R() - const N = `${E.path}/` - const q = /^(@[^/]+\/)?[^/]+/.exec(L) - if (!q) return R() - const ae = q[0] - const le = `.${L.slice(ae.length)}` - let pe - let me - try { - pe = this.pnpApi.resolveToUnqualified(ae, N, { - considerBuiltins: false, - }) - if (P.fileDependencies) { - me = this.pnpApi.resolveToUnqualified('pnpapi', N, { - considerBuiltins: false, - }) - } - } catch (k) { - if ( - k.code === 'MODULE_NOT_FOUND' && - k.pnpCode === 'UNDECLARED_DEPENDENCY' - ) { - if (P.log) { - P.log(`request is not managed by the pnpapi`) - for (const v of k.message.split('\n').filter(Boolean)) - P.log(` ${v}`) - } - return R() - } - return R(k) - } - if (pe === ae) return R() - if (me && P.fileDependencies) { - P.fileDependencies.add(me) - } - const ye = { - ...E, - path: pe, - request: le, - ignoreSymlinks: true, - fullySpecified: E.fullySpecified && le !== '.', - } - k.doResolve(v, ye, `resolved by pnp to ${pe}`, P, (k, v) => { - if (k) return R(k) - if (v) return R(null, v) - return R(null, null) - }) - }) - } - } - }, - 30558: function (k, v, E) { - 'use strict' - const { - AsyncSeriesBailHook: P, - AsyncSeriesHook: R, - SyncHook: L, - } = E(79846) - const N = E(29824) - const { parseIdentifier: q } = E(60097) - const { - normalize: ae, - cachedJoin: le, - getType: pe, - PathType: me, - } = E(39840) - function toCamelCase(k) { - return k.replace(/-([a-z])/g, (k) => k.slice(1).toUpperCase()) - } - class Resolver { - static createStackEntry(k, v) { - return ( - k.name + - ': (' + - v.path + - ') ' + - (v.request || '') + - (v.query || '') + - (v.fragment || '') + - (v.directory ? ' directory' : '') + - (v.module ? ' module' : '') - ) - } - constructor(k, v) { - this.fileSystem = k - this.options = v - this.hooks = { - resolveStep: new L(['hook', 'request'], 'resolveStep'), - noResolve: new L(['request', 'error'], 'noResolve'), - resolve: new P(['request', 'resolveContext'], 'resolve'), - result: new R(['result', 'resolveContext'], 'result'), - } - } - ensureHook(k) { - if (typeof k !== 'string') { - return k - } - k = toCamelCase(k) - if (/^before/.test(k)) { - return this.ensureHook(k[6].toLowerCase() + k.slice(7)).withOptions( - { stage: -10 } - ) - } - if (/^after/.test(k)) { - return this.ensureHook(k[5].toLowerCase() + k.slice(6)).withOptions( - { stage: 10 } - ) - } - const v = this.hooks[k] - if (!v) { - this.hooks[k] = new P(['request', 'resolveContext'], k) - return this.hooks[k] - } - return v - } - getHook(k) { - if (typeof k !== 'string') { - return k - } - k = toCamelCase(k) - if (/^before/.test(k)) { - return this.getHook(k[6].toLowerCase() + k.slice(7)).withOptions({ - stage: -10, - }) - } - if (/^after/.test(k)) { - return this.getHook(k[5].toLowerCase() + k.slice(6)).withOptions({ - stage: 10, - }) - } - const v = this.hooks[k] - if (!v) { - throw new Error(`Hook ${k} doesn't exist`) - } - return v - } - resolveSync(k, v, E) { - let P = undefined - let R = undefined - let L = false - this.resolve(k, v, E, {}, (k, v) => { - P = k - R = v - L = true - }) - if (!L) { - throw new Error( - "Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!" - ) - } - if (P) throw P - if (R === undefined) throw new Error('No result') - return R - } - resolve(k, v, E, P, R) { - if (!k || typeof k !== 'object') - return R(new Error('context argument is not an object')) - if (typeof v !== 'string') - return R(new Error('path argument is not a string')) - if (typeof E !== 'string') - return R(new Error('request argument is not a string')) - if (!P) return R(new Error('resolveContext argument is not set')) - const L = { context: k, path: v, request: E } - let N - let q = false - let ae - if (typeof P.yield === 'function') { - const k = P.yield - N = (v) => { - k(v) - q = true - } - ae = (k) => { - if (k) { - N(k) - } - R(null) - } - } - const le = `resolve '${E}' in '${v}'` - const finishResolved = (k) => - R( - null, - k.path === false - ? false - : `${k.path.replace(/#/g, '\0#')}${ - k.query ? k.query.replace(/#/g, '\0#') : '' - }${k.fragment || ''}`, - k - ) - const finishWithoutResolve = (k) => { - const v = new Error("Can't " + le) - v.details = k.join('\n') - this.hooks.noResolve.call(L, v) - return R(v) - } - if (P.log) { - const k = P.log - const v = [] - return this.doResolve( - this.hooks.resolve, - L, - le, - { - log: (E) => { - k(E) - v.push(E) - }, - yield: N, - fileDependencies: P.fileDependencies, - contextDependencies: P.contextDependencies, - missingDependencies: P.missingDependencies, - stack: P.stack, - }, - (k, E) => { - if (k) return R(k) - if (q || (E && N)) { - return ae(E) - } - if (E) return finishResolved(E) - return finishWithoutResolve(v) - } - ) - } else { - return this.doResolve( - this.hooks.resolve, - L, - le, - { - log: undefined, - yield: N, - fileDependencies: P.fileDependencies, - contextDependencies: P.contextDependencies, - missingDependencies: P.missingDependencies, - stack: P.stack, - }, - (k, v) => { - if (k) return R(k) - if (q || (v && N)) { - return ae(v) - } - if (v) return finishResolved(v) - const E = [] - return this.doResolve( - this.hooks.resolve, - L, - le, - { log: (k) => E.push(k), yield: N, stack: P.stack }, - (k, v) => { - if (k) return R(k) - if (q || (v && N)) { - return ae(v) - } - return finishWithoutResolve(E) - } - ) - } - ) - } - } - doResolve(k, v, E, P, R) { - const L = Resolver.createStackEntry(k, v) - let q - if (P.stack) { - q = new Set(P.stack) - if (P.stack.has(L)) { - const k = new Error( - 'Recursion in resolving\nStack:\n ' + - Array.from(q).join('\n ') - ) - k.recursion = true - if (P.log) P.log('abort resolving because of recursion') - return R(k) - } - q.add(L) - } else { - q = new Set([L]) - } - this.hooks.resolveStep.call(k, v) - if (k.isUsed()) { - const L = N( - { - log: P.log, - yield: P.yield, - fileDependencies: P.fileDependencies, - contextDependencies: P.contextDependencies, - missingDependencies: P.missingDependencies, - stack: q, - }, - E - ) - return k.callAsync(v, L, (k, v) => { - if (k) return R(k) - if (v) return R(null, v) - R() - }) - } else { - R() - } - } - parse(k) { - const v = { - request: '', - query: '', - fragment: '', - module: false, - directory: false, - file: false, - internal: false, - } - const E = q(k) - if (!E) return v - ;[v.request, v.query, v.fragment] = E - if (v.request.length > 0) { - v.internal = this.isPrivate(k) - v.module = this.isModule(v.request) - v.directory = this.isDirectory(v.request) - if (v.directory) { - v.request = v.request.slice(0, -1) - } - } - return v - } - isModule(k) { - return pe(k) === me.Normal - } - isPrivate(k) { - return pe(k) === me.Internal - } - isDirectory(k) { - return k.endsWith('/') - } - join(k, v) { - return le(k, v) - } - normalize(k) { - return ae(k) - } - } - k.exports = Resolver - }, - 77747: function (k, v, E) { - 'use strict' - const P = E(77282).versions - const R = E(30558) - const { getType: L, PathType: N } = E(39840) - const q = E(19674) - const ae = E(14041) - const le = E(68345) - const pe = E(49225) - const me = E(16596) - const ye = E(29559) - const _e = E(27271) - const Ie = E(77803) - const Me = E(70868) - const Te = E(79561) - const je = E(33484) - const Ne = E(82782) - const Be = E(65841) - const qe = E(38718) - const Ue = E(44869) - const Ge = E(91119) - const He = E(72715) - const We = E(50802) - const Qe = E(94727) - const Je = E(34682) - const Ve = E(43684) - const Ke = E(55763) - const Ye = E(63816) - const Xe = E(83012) - const Ze = E(2458) - const et = E(61395) - const tt = E(95286) - function processPnpApiOption(k) { - if (k === undefined && P.pnp) { - return E(35125) - } - return k || null - } - function normalizeAlias(k) { - return typeof k === 'object' && !Array.isArray(k) && k !== null - ? Object.keys(k).map((v) => { - const E = { name: v, onlyModule: false, alias: k[v] } - if (/\$$/.test(v)) { - E.onlyModule = true - E.name = v.slice(0, -1) - } - return E - }) - : k || [] - } - function createOptions(k) { - const v = new Set(k.mainFields || ['main']) - const E = [] - for (const k of v) { - if (typeof k === 'string') { - E.push({ name: [k], forceRelative: true }) - } else if (Array.isArray(k)) { - E.push({ name: k, forceRelative: true }) - } else { - E.push({ - name: Array.isArray(k.name) ? k.name : [k.name], - forceRelative: k.forceRelative, - }) - } - } - return { - alias: normalizeAlias(k.alias), - fallback: normalizeAlias(k.fallback), - aliasFields: new Set(k.aliasFields), - cachePredicate: - k.cachePredicate || - function () { - return true - }, - cacheWithContext: - typeof k.cacheWithContext !== 'undefined' - ? k.cacheWithContext - : true, - exportsFields: new Set(k.exportsFields || ['exports']), - importsFields: new Set(k.importsFields || ['imports']), - conditionNames: new Set(k.conditionNames), - descriptionFiles: Array.from( - new Set(k.descriptionFiles || ['package.json']) - ), - enforceExtension: - k.enforceExtension === undefined - ? k.extensions && k.extensions.includes('') - ? true - : false - : k.enforceExtension, - extensions: new Set(k.extensions || ['.js', '.json', '.node']), - extensionAlias: k.extensionAlias - ? Object.keys(k.extensionAlias).map((v) => ({ - extension: v, - alias: k.extensionAlias[v], - })) - : [], - fileSystem: k.useSyncFileSystemCalls - ? new q(k.fileSystem) - : k.fileSystem, - unsafeCache: - k.unsafeCache && typeof k.unsafeCache !== 'object' - ? {} - : k.unsafeCache || false, - symlinks: typeof k.symlinks !== 'undefined' ? k.symlinks : true, - resolver: k.resolver, - modules: mergeFilteredToArray( - Array.isArray(k.modules) - ? k.modules - : k.modules - ? [k.modules] - : ['node_modules'], - (k) => { - const v = L(k) - return v === N.Normal || v === N.Relative - } - ), - mainFields: E, - mainFiles: new Set(k.mainFiles || ['index']), - plugins: k.plugins || [], - pnpApi: processPnpApiOption(k.pnpApi), - roots: new Set(k.roots || undefined), - fullySpecified: k.fullySpecified || false, - resolveToContext: k.resolveToContext || false, - preferRelative: k.preferRelative || false, - preferAbsolute: k.preferAbsolute || false, - restrictions: new Set(k.restrictions), - } - } - v.createResolver = function (k) { - const v = createOptions(k) - const { - alias: E, - fallback: P, - aliasFields: L, - cachePredicate: N, - cacheWithContext: q, - conditionNames: nt, - descriptionFiles: st, - enforceExtension: rt, - exportsFields: ot, - extensionAlias: it, - importsFields: at, - extensions: ct, - fileSystem: lt, - fullySpecified: ut, - mainFields: pt, - mainFiles: dt, - modules: ft, - plugins: ht, - pnpApi: mt, - resolveToContext: gt, - preferRelative: yt, - preferAbsolute: bt, - symlinks: xt, - unsafeCache: kt, - resolver: vt, - restrictions: wt, - roots: At, - } = v - const Et = ht.slice() - const Ct = vt ? vt : new R(lt, v) - Ct.ensureHook('resolve') - Ct.ensureHook('internalResolve') - Ct.ensureHook('newInternalResolve') - Ct.ensureHook('parsedResolve') - Ct.ensureHook('describedResolve') - Ct.ensureHook('rawResolve') - Ct.ensureHook('normalResolve') - Ct.ensureHook('internal') - Ct.ensureHook('rawModule') - Ct.ensureHook('module') - Ct.ensureHook('resolveAsModule') - Ct.ensureHook('undescribedResolveInPackage') - Ct.ensureHook('resolveInPackage') - Ct.ensureHook('resolveInExistingDirectory') - Ct.ensureHook('relative') - Ct.ensureHook('describedRelative') - Ct.ensureHook('directory') - Ct.ensureHook('undescribedExistingDirectory') - Ct.ensureHook('existingDirectory') - Ct.ensureHook('undescribedRawFile') - Ct.ensureHook('rawFile') - Ct.ensureHook('file') - Ct.ensureHook('finalFile') - Ct.ensureHook('existingFile') - Ct.ensureHook('resolved') - Ct.hooks.newInteralResolve = Ct.hooks.newInternalResolve - for (const { source: k, resolveOptions: v } of [ - { source: 'resolve', resolveOptions: { fullySpecified: ut } }, - { - source: 'internal-resolve', - resolveOptions: { fullySpecified: false }, - }, - ]) { - if (kt) { - Et.push(new et(k, N, kt, q, `new-${k}`)) - Et.push(new We(`new-${k}`, v, 'parsed-resolve')) - } else { - Et.push(new We(k, v, 'parsed-resolve')) - } - } - Et.push(new ye('parsed-resolve', st, false, 'described-resolve')) - Et.push(new He('after-parsed-resolve', 'described-resolve')) - Et.push(new He('described-resolve', 'raw-resolve')) - if (P.length > 0) { - Et.push(new le('described-resolve', P, 'internal-resolve')) - } - if (E.length > 0) { - Et.push(new le('raw-resolve', E, 'internal-resolve')) - } - L.forEach((k) => { - Et.push(new ae('raw-resolve', k, 'internal-resolve')) - }) - it.forEach((k) => Et.push(new Me('raw-resolve', k, 'normal-resolve'))) - Et.push(new He('raw-resolve', 'normal-resolve')) - if (yt) { - Et.push(new Be('after-normal-resolve', 'relative')) - } - Et.push( - new me( - 'after-normal-resolve', - { module: true }, - 'resolve as module', - false, - 'raw-module' - ) - ) - Et.push( - new me( - 'after-normal-resolve', - { internal: true }, - 'resolve as internal import', - false, - 'internal' - ) - ) - if (bt) { - Et.push(new Be('after-normal-resolve', 'relative')) - } - if (At.size > 0) { - Et.push(new Ke('after-normal-resolve', At, 'relative')) - } - if (!yt && !bt) { - Et.push(new Be('after-normal-resolve', 'relative')) - } - at.forEach((k) => { - Et.push(new je('internal', nt, k, 'relative', 'internal-resolve')) - }) - ot.forEach((k) => { - Et.push(new Ye('raw-module', k, 'resolve-as-module')) - }) - ft.forEach((k) => { - if (Array.isArray(k)) { - if (k.includes('node_modules') && mt) { - Et.push( - new Ue( - 'raw-module', - k.filter((k) => k !== 'node_modules'), - 'module' - ) - ) - Et.push( - new Qe('raw-module', mt, 'undescribed-resolve-in-package') - ) - } else { - Et.push(new Ue('raw-module', k, 'module')) - } - } else { - Et.push(new Ge('raw-module', k, 'module')) - } - }) - Et.push(new Ne('module', 'resolve-as-module')) - if (!gt) { - Et.push( - new me( - 'resolve-as-module', - { directory: false, request: '.' }, - 'single file module', - true, - 'undescribed-raw-file' - ) - ) - } - Et.push(new _e('resolve-as-module', 'undescribed-resolve-in-package')) - Et.push( - new ye( - 'undescribed-resolve-in-package', - st, - false, - 'resolve-in-package' - ) - ) - Et.push( - new He('after-undescribed-resolve-in-package', 'resolve-in-package') - ) - ot.forEach((k) => { - Et.push(new Ie('resolve-in-package', nt, k, 'relative')) - }) - Et.push(new He('resolve-in-package', 'resolve-in-existing-directory')) - Et.push(new Be('resolve-in-existing-directory', 'relative')) - Et.push(new ye('relative', st, true, 'described-relative')) - Et.push(new He('after-relative', 'described-relative')) - if (gt) { - Et.push(new He('described-relative', 'directory')) - } else { - Et.push( - new me( - 'described-relative', - { directory: false }, - null, - true, - 'raw-file' - ) - ) - Et.push( - new me( - 'described-relative', - { fullySpecified: false }, - 'as directory', - true, - 'directory' - ) - ) - } - Et.push(new _e('directory', 'undescribed-existing-directory')) - if (gt) { - Et.push(new He('undescribed-existing-directory', 'resolved')) - } else { - Et.push( - new ye( - 'undescribed-existing-directory', - st, - false, - 'existing-directory' - ) - ) - dt.forEach((k) => { - Et.push( - new tt( - 'undescribed-existing-directory', - k, - 'undescribed-raw-file' - ) - ) - }) - pt.forEach((k) => { - Et.push( - new qe('existing-directory', k, 'resolve-in-existing-directory') - ) - }) - dt.forEach((k) => { - Et.push(new tt('existing-directory', k, 'undescribed-raw-file')) - }) - Et.push(new ye('undescribed-raw-file', st, true, 'raw-file')) - Et.push(new He('after-undescribed-raw-file', 'raw-file')) - Et.push( - new me('raw-file', { fullySpecified: true }, null, false, 'file') - ) - if (!rt) { - Et.push(new Ze('raw-file', 'no extension', 'file')) - } - ct.forEach((k) => { - Et.push(new pe('raw-file', k, 'file')) - }) - if (E.length > 0) Et.push(new le('file', E, 'internal-resolve')) - L.forEach((k) => { - Et.push(new ae('file', k, 'internal-resolve')) - }) - Et.push(new He('file', 'final-file')) - Et.push(new Te('final-file', 'existing-file')) - if (xt) Et.push(new Xe('existing-file', 'existing-file')) - Et.push(new He('existing-file', 'resolved')) - } - const St = Ct.hooks.resolved - if (wt.size > 0) { - Et.push(new Je(St, wt)) - } - Et.push(new Ve(St)) - for (const k of Et) { - if (typeof k === 'function') { - k.call(Ct, Ct) - } else { - k.apply(Ct) - } - } - return Ct - } - function mergeFilteredToArray(k, v) { - const E = [] - const P = new Set(k) - for (const k of P) { - if (v(k)) { - const v = E.length > 0 ? E[E.length - 1] : undefined - if (Array.isArray(v)) { - v.push(k) - } else { - E.push([k]) - } - } else { - E.push(k) - } - } - return E - } - }, - 34682: function (k) { - 'use strict' - const v = '/'.charCodeAt(0) - const E = '\\'.charCodeAt(0) - const isInside = (k, P) => { - if (!k.startsWith(P)) return false - if (k.length === P.length) return true - const R = k.charCodeAt(P.length) - return R === v || R === E - } - k.exports = class RestrictionsPlugin { - constructor(k, v) { - this.source = k - this.restrictions = v - } - apply(k) { - k.getHook(this.source).tapAsync('RestrictionsPlugin', (k, v, E) => { - if (typeof k.path === 'string') { - const P = k.path - for (const k of this.restrictions) { - if (typeof k === 'string') { - if (!isInside(P, k)) { - if (v.log) { - v.log(`${P} is not inside of the restriction ${k}`) - } - return E(null, null) - } - } else if (!k.test(P)) { - if (v.log) { - v.log(`${P} doesn't match the restriction ${k}`) - } - return E(null, null) - } - } - } - E() - }) - } - } - }, - 43684: function (k) { - 'use strict' - k.exports = class ResultPlugin { - constructor(k) { - this.source = k - } - apply(k) { - this.source.tapAsync('ResultPlugin', (v, E, P) => { - const R = { ...v } - if (E.log) E.log('reporting result ' + R.path) - k.hooks.result.callAsync(R, E, (k) => { - if (k) return P(k) - if (typeof E.yield === 'function') { - E.yield(R) - P(null, null) - } else { - P(null, R) - } - }) - }) - } - } - }, - 55763: function (k, v, E) { - 'use strict' - const P = E(29779) - class RootsPlugin { - constructor(k, v, E) { - this.roots = Array.from(v) - this.source = k - this.target = E - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('RootsPlugin', (E, R, L) => { - const N = E.request - if (!N) return L() - if (!N.startsWith('/')) return L() - P( - this.roots, - (P, L) => { - const q = k.join(P, N.slice(1)) - const ae = { ...E, path: q, relativePath: E.relativePath && q } - k.doResolve(v, ae, `root path ${P}`, R, L) - }, - L - ) - }) - } - } - k.exports = RootsPlugin - }, - 63816: function (k, v, E) { - 'use strict' - const P = E(40886) - const R = '/'.charCodeAt(0) - k.exports = class SelfReferencePlugin { - constructor(k, v, E) { - this.source = k - this.target = E - this.fieldName = v - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('SelfReferencePlugin', (E, L, N) => { - if (!E.descriptionFilePath) return N() - const q = E.request - if (!q) return N() - const ae = P.getField(E.descriptionFileData, this.fieldName) - if (!ae) return N() - const le = P.getField(E.descriptionFileData, 'name') - if (typeof le !== 'string') return N() - if ( - q.startsWith(le) && - (q.length === le.length || q.charCodeAt(le.length) === R) - ) { - const P = `.${q.slice(le.length)}` - const R = { - ...E, - request: P, - path: E.descriptionFileRoot, - relativePath: '.', - } - k.doResolve(v, R, 'self reference', L, N) - } else { - return N() - } - }) - } - } - }, - 83012: function (k, v, E) { - 'use strict' - const P = E(29779) - const R = E(9010) - const { getType: L, PathType: N } = E(39840) - k.exports = class SymlinkPlugin { - constructor(k, v) { - this.source = k - this.target = v - } - apply(k) { - const v = k.ensureHook(this.target) - const E = k.fileSystem - k.getHook(this.source).tapAsync('SymlinkPlugin', (q, ae, le) => { - if (q.ignoreSymlinks) return le() - const pe = R(q.path) - const me = pe.segments - const ye = pe.paths - let _e = false - let Ie = -1 - P( - ye, - (k, v) => { - Ie++ - if (ae.fileDependencies) ae.fileDependencies.add(k) - E.readlink(k, (k, E) => { - if (!k && E) { - me[Ie] = E - _e = true - const k = L(E.toString()) - if (k === N.AbsoluteWin || k === N.AbsolutePosix) { - return v(null, Ie) - } - } - v() - }) - }, - (E, P) => { - if (!_e) return le() - const R = - typeof P === 'number' ? me.slice(0, P + 1) : me.slice() - const L = R.reduceRight((v, E) => k.join(v, E)) - const N = { ...q, path: L } - k.doResolve(v, N, 'resolved symlink to ' + L, ae, le) - } - ) - }) - } - } - }, - 19674: function (k) { - 'use strict' - function SyncAsyncFileSystemDecorator(k) { - this.fs = k - this.lstat = undefined - this.lstatSync = undefined - const v = k.lstatSync - if (v) { - this.lstat = (E, P, R) => { - let L - try { - L = v.call(k, E) - } catch (k) { - return (R || P)(k) - } - ;(R || P)(null, L) - } - this.lstatSync = (E, P) => v.call(k, E, P) - } - this.stat = (v, E, P) => { - let R - try { - R = P ? k.statSync(v, E) : k.statSync(v) - } catch (k) { - return (P || E)(k) - } - ;(P || E)(null, R) - } - this.statSync = (v, E) => k.statSync(v, E) - this.readdir = (v, E, P) => { - let R - try { - R = k.readdirSync(v) - } catch (k) { - return (P || E)(k) - } - ;(P || E)(null, R) - } - this.readdirSync = (v, E) => k.readdirSync(v, E) - this.readFile = (v, E, P) => { - let R - try { - R = k.readFileSync(v) - } catch (k) { - return (P || E)(k) - } - ;(P || E)(null, R) - } - this.readFileSync = (v, E) => k.readFileSync(v, E) - this.readlink = (v, E, P) => { - let R - try { - R = k.readlinkSync(v) - } catch (k) { - return (P || E)(k) - } - ;(P || E)(null, R) - } - this.readlinkSync = (v, E) => k.readlinkSync(v, E) - this.readJson = undefined - this.readJsonSync = undefined - const E = k.readJsonSync - if (E) { - this.readJson = (v, P, R) => { - let L - try { - L = E.call(k, v) - } catch (k) { - return (R || P)(k) - } - ;(R || P)(null, L) - } - this.readJsonSync = (v, P) => E.call(k, v, P) - } - } - k.exports = SyncAsyncFileSystemDecorator - }, - 2458: function (k) { - 'use strict' - k.exports = class TryNextPlugin { - constructor(k, v, E) { - this.source = k - this.message = v - this.target = E - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('TryNextPlugin', (E, P, R) => { - k.doResolve(v, E, this.message, P, R) - }) - } - } - }, - 61395: function (k) { - 'use strict' - function getCacheId(k, v, E) { - return JSON.stringify({ - type: k, - context: E ? v.context : '', - path: v.path, - query: v.query, - fragment: v.fragment, - request: v.request, - }) - } - k.exports = class UnsafeCachePlugin { - constructor(k, v, E, P, R) { - this.source = k - this.filterPredicate = v - this.withContext = P - this.cache = E - this.target = R - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('UnsafeCachePlugin', (E, P, R) => { - if (!this.filterPredicate(E)) return R() - const L = typeof P.yield === 'function' - const N = getCacheId(L ? 'yield' : 'default', E, this.withContext) - const q = this.cache[N] - if (q) { - if (L) { - const k = P.yield - if (Array.isArray(q)) { - for (const v of q) k(v) - } else { - k(q) - } - return R(null, null) - } - return R(null, q) - } - let ae - let le - const pe = [] - if (L) { - ae = P.yield - le = (k) => { - pe.push(k) - } - } - k.doResolve(v, E, null, le ? { ...P, yield: le } : P, (k, v) => { - if (k) return R(k) - if (L) { - if (v) pe.push(v) - for (const k of pe) { - ae(k) - } - this.cache[N] = pe - return R(null, null) - } - if (v) return R(null, (this.cache[N] = v)) - R() - }) - }) - } - } - }, - 95286: function (k) { - 'use strict' - k.exports = class UseFilePlugin { - constructor(k, v, E) { - this.source = k - this.filename = v - this.target = E - } - apply(k) { - const v = k.ensureHook(this.target) - k.getHook(this.source).tapAsync('UseFilePlugin', (E, P, R) => { - const L = k.join(E.path, this.filename) - const N = { - ...E, - path: L, - relativePath: - E.relativePath && k.join(E.relativePath, this.filename), - } - k.doResolve(v, N, 'using path: ' + L, P, R) - }) - } - } - }, - 29824: function (k) { - 'use strict' - k.exports = function createInnerContext(k, v) { - let E = false - let P = undefined - if (k.log) { - if (v) { - P = (P) => { - if (!E) { - k.log(v) - E = true - } - k.log(' ' + P) - } - } else { - P = k.log - } - } - return { - log: P, - yield: k.yield, - fileDependencies: k.fileDependencies, - contextDependencies: k.contextDependencies, - missingDependencies: k.missingDependencies, - stack: k.stack, - } - } - }, - 29779: function (k) { - 'use strict' - k.exports = function forEachBail(k, v, E) { - if (k.length === 0) return E() - let P = 0 - const next = () => { - let R = undefined - v( - k[P++], - (v, L) => { - if (v || L !== undefined || P >= k.length) { - return E(v, L) - } - if (R === false) while (next()); - R = true - }, - P - ) - if (!R) R = false - return R - } - while (next()); - } - }, - 71606: function (k) { - 'use strict' - k.exports = function getInnerRequest(k, v) { - if ( - typeof v.__innerRequest === 'string' && - v.__innerRequest_request === v.request && - v.__innerRequest_relativePath === v.relativePath - ) - return v.__innerRequest - let E - if (v.request) { - E = v.request - if (/^\.\.?(?:\/|$)/.test(E) && v.relativePath) { - E = k.join(v.relativePath, E) - } - } else { - E = v.relativePath - } - v.__innerRequest_request = v.request - v.__innerRequest_relativePath = v.relativePath - return (v.__innerRequest = E) - } - }, - 9010: function (k) { - 'use strict' - k.exports = function getPaths(k) { - if (k === '/') return { paths: ['/'], segments: [''] } - const v = k.split(/(.*?[\\/]+)/) - const E = [k] - const P = [v[v.length - 1]] - let R = v[v.length - 1] - k = k.substring(0, k.length - R.length - 1) - for (let L = v.length - 2; L > 2; L -= 2) { - E.push(k) - R = v[L] - k = k.substring(0, k.length - R.length) || '/' - P.push(R.slice(0, -1)) - } - R = v[1] - P.push(R) - E.push(R) - return { paths: E, segments: P } - } - k.exports.basename = function basename(k) { - const v = k.lastIndexOf('/'), - E = k.lastIndexOf('\\') - const P = v < 0 ? E : E < 0 ? v : v < E ? E : v - if (P < 0) return null - const R = k.slice(P + 1) - return R - } - }, - 90006: function (k, v, E) { - 'use strict' - const P = E(56450) - const R = E(75943) - const L = E(77747) - const N = new R(P, 4e3) - const q = { environments: ['node+es3+es5+process+native'] } - const ae = L.createResolver({ - conditionNames: ['node'], - extensions: ['.js', '.json', '.node'], - fileSystem: N, - }) - const resolve = (k, v, E, P, R) => { - if (typeof k === 'string') { - R = P - P = E - E = v - v = k - k = q - } - if (typeof R !== 'function') { - R = P - } - ae.resolve(k, v, E, P, R) - } - const le = L.createResolver({ - conditionNames: ['node'], - extensions: ['.js', '.json', '.node'], - useSyncFileSystemCalls: true, - fileSystem: N, - }) - const resolveSync = (k, v, E) => { - if (typeof k === 'string') { - E = v - v = k - k = q - } - return le.resolveSync(k, v, E) - } - function create(k) { - const v = L.createResolver({ fileSystem: N, ...k }) - return function (k, E, P, R, L) { - if (typeof k === 'string') { - L = R - R = P - P = E - E = k - k = q - } - if (typeof L !== 'function') { - L = R - } - v.resolve(k, E, P, R, L) - } - } - function createSync(k) { - const v = L.createResolver({ - useSyncFileSystemCalls: true, - fileSystem: N, - ...k, - }) - return function (k, E, P) { - if (typeof k === 'string') { - P = E - E = k - k = q - } - return v.resolveSync(k, E, P) - } - } - const mergeExports = (k, v) => { - const E = Object.getOwnPropertyDescriptors(v) - Object.defineProperties(k, E) - return Object.freeze(k) - } - k.exports = mergeExports(resolve, { - get sync() { - return resolveSync - }, - create: mergeExports(create, { - get sync() { - return createSync - }, - }), - ResolverFactory: L, - CachedInputFileSystem: R, - get CloneBasenamePlugin() { - return E(63871) - }, - get LogInfoPlugin() { - return E(92305) - }, - get forEachBail() { - return E(29779) - }, - }) - }, - 36914: function (k) { - 'use strict' - const v = '/'.charCodeAt(0) - const E = '.'.charCodeAt(0) - const P = '#'.charCodeAt(0) - const R = /\*/g - k.exports.processExportsField = function processExportsField(k) { - return createFieldProcessor( - buildExportsField(k), - (k) => (k.length === 0 ? '.' : './' + k), - assertExportsFieldRequest, - assertExportTarget - ) - } - k.exports.processImportsField = function processImportsField(k) { - return createFieldProcessor( - buildImportsField(k), - (k) => '#' + k, - assertImportsFieldRequest, - assertImportTarget - ) - } - function createFieldProcessor(k, v, E, P) { - return function fieldProcessor(R, L) { - R = E(R) - const N = findMatch(v(R), k) - if (N === null) return [] - const [q, ae, le, pe] = N - let me = null - if (isConditionalMapping(q)) { - me = conditionalMapping(q, L) - if (me === null) return [] - } else { - me = q - } - return directMapping(ae, pe, le, me, L, P) - } - } - function assertExportsFieldRequest(k) { - if (k.charCodeAt(0) !== E) { - throw new Error('Request should be relative path and start with "."') - } - if (k.length === 1) return '' - if (k.charCodeAt(1) !== v) { - throw new Error('Request should be relative path and start with "./"') - } - if (k.charCodeAt(k.length - 1) === v) { - throw new Error('Only requesting file allowed') - } - return k.slice(2) - } - function assertImportsFieldRequest(k) { - if (k.charCodeAt(0) !== P) { - throw new Error('Request should start with "#"') - } - if (k.length === 1) { - throw new Error('Request should have at least 2 characters') - } - if (k.charCodeAt(1) === v) { - throw new Error('Request should not start with "#/"') - } - if (k.charCodeAt(k.length - 1) === v) { - throw new Error('Only requesting file allowed') - } - return k.slice(1) - } - function assertExportTarget(k, P) { - if ( - k.charCodeAt(0) === v || - (k.charCodeAt(0) === E && k.charCodeAt(1) !== v) - ) { - throw new Error( - `Export should be relative path and start with "./", got ${JSON.stringify( - k - )}.` - ) - } - const R = k.charCodeAt(k.length - 1) === v - if (R !== P) { - throw new Error( - P - ? `Expecting folder to folder mapping. ${JSON.stringify( - k - )} should end with "/"` - : `Expecting file to file mapping. ${JSON.stringify( - k - )} should not end with "/"` - ) - } - } - function assertImportTarget(k, E) { - const P = k.charCodeAt(k.length - 1) === v - if (P !== E) { - throw new Error( - E - ? `Expecting folder to folder mapping. ${JSON.stringify( - k - )} should end with "/"` - : `Expecting file to file mapping. ${JSON.stringify( - k - )} should not end with "/"` - ) - } - } - function patternKeyCompare(k, v) { - const E = k.indexOf('*') - const P = v.indexOf('*') - const R = E === -1 ? k.length : E + 1 - const L = P === -1 ? v.length : P + 1 - if (R > L) return -1 - if (L > R) return 1 - if (E === -1) return 1 - if (P === -1) return -1 - if (k.length > v.length) return -1 - if (v.length > k.length) return 1 - return 0 - } - function findMatch(k, v) { - if ( - Object.prototype.hasOwnProperty.call(v, k) && - !k.includes('*') && - !k.endsWith('/') - ) { - const E = v[k] - return [E, '', false, false] - } - let E = '' - let P - const R = Object.getOwnPropertyNames(v) - for (let v = 0; v < R.length; v++) { - const L = R[v] - const N = L.indexOf('*') - if (N !== -1 && k.startsWith(L.slice(0, N))) { - const v = L.slice(N + 1) - if ( - k.length >= L.length && - k.endsWith(v) && - patternKeyCompare(E, L) === 1 && - L.lastIndexOf('*') === N - ) { - E = L - P = k.slice(N, k.length - v.length) - } - } else if ( - L[L.length - 1] === '/' && - k.startsWith(L) && - patternKeyCompare(E, L) === 1 - ) { - E = L - P = k.slice(L.length) - } - } - if (E === '') return null - const L = v[E] - const N = E.endsWith('/') - const q = E.includes('*') - return [L, P, N, q] - } - function isConditionalMapping(k) { - return k !== null && typeof k === 'object' && !Array.isArray(k) - } - function directMapping(k, v, E, P, R, L) { - if (P === null) return [] - if (typeof P === 'string') { - return [targetMapping(k, v, E, P, L)] - } - const N = [] - for (const q of P) { - if (typeof q === 'string') { - N.push(targetMapping(k, v, E, q, L)) - continue - } - const P = conditionalMapping(q, R) - if (!P) continue - const ae = directMapping(k, v, E, P, R, L) - for (const k of ae) { - N.push(k) - } - } - return N - } - function targetMapping(k, v, E, P, L) { - if (k === undefined) { - L(P, false) - return P - } - if (E) { - L(P, true) - return P + k - } - L(P, false) - let N = P - if (v) { - N = N.replace(R, k.replace(/\$/g, '$$')) - } - return N - } - function conditionalMapping(k, v) { - let E = [[k, Object.keys(k), 0]] - e: while (E.length > 0) { - const [k, P, R] = E[E.length - 1] - const L = P.length - 1 - for (let N = R; N < P.length; N++) { - const R = P[N] - if (N !== L) { - if (R === 'default') { - throw new Error('Default condition should be last one') - } - } else if (R === 'default') { - const v = k[R] - if (isConditionalMapping(v)) { - const k = v - E[E.length - 1][2] = N + 1 - E.push([k, Object.keys(k), 0]) - continue e - } - return v - } - if (v.has(R)) { - const v = k[R] - if (isConditionalMapping(v)) { - const k = v - E[E.length - 1][2] = N + 1 - E.push([k, Object.keys(k), 0]) - continue e - } - return v - } - } - E.pop() - } - return null - } - function buildExportsField(k) { - if (typeof k === 'string' || Array.isArray(k)) { - return { '.': k } - } - const P = Object.keys(k) - for (let R = 0; R < P.length; R++) { - const L = P[R] - if (L.charCodeAt(0) !== E) { - if (R === 0) { - while (R < P.length) { - const k = P[R].charCodeAt(0) - if (k === E || k === v) { - throw new Error( - `Exports field key should be relative path and start with "." (key: ${JSON.stringify( - L - )})` - ) - } - R++ - } - return { '.': k } - } - throw new Error( - `Exports field key should be relative path and start with "." (key: ${JSON.stringify( - L - )})` - ) - } - if (L.length === 1) { - continue - } - if (L.charCodeAt(1) !== v) { - throw new Error( - `Exports field key should be relative path and start with "./" (key: ${JSON.stringify( - L - )})` - ) - } - } - return k - } - function buildImportsField(k) { - const E = Object.keys(k) - for (let k = 0; k < E.length; k++) { - const R = E[k] - if (R.charCodeAt(0) !== P) { - throw new Error( - `Imports field key should start with "#" (key: ${JSON.stringify( - R - )})` - ) - } - if (R.length === 1) { - throw new Error( - `Imports field key should have at least 2 characters (key: ${JSON.stringify( - R - )})` - ) - } - if (R.charCodeAt(1) === v) { - throw new Error( - `Imports field key should not start with "#/" (key: ${JSON.stringify( - R - )})` - ) - } - } - return k - } - }, - 60097: function (k) { - 'use strict' - const v = /^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/ - function parseIdentifier(k) { - const E = v.exec(k) - if (!E) return null - return [ - E[1].replace(/\0(.)/g, '$1'), - E[2] ? E[2].replace(/\0(.)/g, '$1') : '', - E[3] || '', - ] - } - k.exports.parseIdentifier = parseIdentifier - }, - 39840: function (k, v, E) { - 'use strict' - const P = E(71017) - const R = '#'.charCodeAt(0) - const L = '/'.charCodeAt(0) - const N = '\\'.charCodeAt(0) - const q = 'A'.charCodeAt(0) - const ae = 'Z'.charCodeAt(0) - const le = 'a'.charCodeAt(0) - const pe = 'z'.charCodeAt(0) - const me = '.'.charCodeAt(0) - const ye = ':'.charCodeAt(0) - const _e = P.posix.normalize - const Ie = P.win32.normalize - const Me = Object.freeze({ - Empty: 0, - Normal: 1, - Relative: 2, - AbsoluteWin: 3, - AbsolutePosix: 4, - Internal: 5, - }) - v.PathType = Me - const getType = (k) => { - switch (k.length) { - case 0: - return Me.Empty - case 1: { - const v = k.charCodeAt(0) - switch (v) { - case me: - return Me.Relative - case L: - return Me.AbsolutePosix - case R: - return Me.Internal - } - return Me.Normal - } - case 2: { - const v = k.charCodeAt(0) - switch (v) { - case me: { - const v = k.charCodeAt(1) - switch (v) { - case me: - case L: - return Me.Relative - } - return Me.Normal - } - case L: - return Me.AbsolutePosix - case R: - return Me.Internal - } - const E = k.charCodeAt(1) - if (E === ye) { - if ((v >= q && v <= ae) || (v >= le && v <= pe)) { - return Me.AbsoluteWin - } - } - return Me.Normal - } - } - const v = k.charCodeAt(0) - switch (v) { - case me: { - const v = k.charCodeAt(1) - switch (v) { - case L: - return Me.Relative - case me: { - const v = k.charCodeAt(2) - if (v === L) return Me.Relative - return Me.Normal - } - } - return Me.Normal - } - case L: - return Me.AbsolutePosix - case R: - return Me.Internal - } - const E = k.charCodeAt(1) - if (E === ye) { - const E = k.charCodeAt(2) - if ( - (E === N || E === L) && - ((v >= q && v <= ae) || (v >= le && v <= pe)) - ) { - return Me.AbsoluteWin - } - } - return Me.Normal - } - v.getType = getType - const normalize = (k) => { - switch (getType(k)) { - case Me.Empty: - return k - case Me.AbsoluteWin: - return Ie(k) - case Me.Relative: { - const v = _e(k) - return getType(v) === Me.Relative ? v : `./${v}` - } - } - return _e(k) - } - v.normalize = normalize - const join = (k, v) => { - if (!v) return normalize(k) - const E = getType(v) - switch (E) { - case Me.AbsolutePosix: - return _e(v) - case Me.AbsoluteWin: - return Ie(v) - } - switch (getType(k)) { - case Me.Normal: - case Me.Relative: - case Me.AbsolutePosix: - return _e(`${k}/${v}`) - case Me.AbsoluteWin: - return Ie(`${k}\\${v}`) - } - switch (E) { - case Me.Empty: - return k - case Me.Relative: { - const v = _e(k) - return getType(v) === Me.Relative ? v : `./${v}` - } - } - return _e(k) - } - v.join = join - const Te = new Map() - const cachedJoin = (k, v) => { - let E - let P = Te.get(k) - if (P === undefined) { - Te.set(k, (P = new Map())) - } else { - E = P.get(v) - if (E !== undefined) return E - } - E = join(k, v) - P.set(v, E) - return E - } - v.cachedJoin = cachedJoin - const checkImportsExportsFieldTarget = (k) => { - let v = 0 - let E = k.indexOf('/', 1) - let P = 0 - while (E !== -1) { - const R = k.slice(v, E) - switch (R) { - case '..': { - P-- - if (P < 0) - return new Error( - `Trying to access out of package scope. Requesting ${k}` - ) - break - } - case '.': - break - default: - P++ - break - } - v = E + 1 - E = k.indexOf('/', v) - } - } - v.checkImportsExportsFieldTarget = checkImportsExportsFieldTarget - }, - 84494: function (k, v, E) { - 'use strict' - const P = E(30529) - class Definition { - constructor(k, v, E, P, R, L) { - this.type = k - this.name = v - this.node = E - this.parent = P - this.index = R - this.kind = L - } - } - class ParameterDefinition extends Definition { - constructor(k, v, E, R) { - super(P.Parameter, k, v, null, E, null) - this.rest = R - } - } - k.exports = { - ParameterDefinition: ParameterDefinition, - Definition: Definition, - } - }, - 12836: function (k, v, E) { - 'use strict' - const P = E(39491) - const R = E(40680) - const L = E(48648) - const N = E(21621) - const q = E(30529) - const ae = E(18802).Scope - const le = E(13348).i8 - function defaultOptions() { - return { - optimistic: false, - directive: false, - nodejsScope: false, - impliedStrict: false, - sourceType: 'script', - ecmaVersion: 5, - childVisitorKeys: null, - fallback: 'iteration', - } - } - function updateDeeply(k, v) { - function isHashObject(k) { - return ( - typeof k === 'object' && - k instanceof Object && - !(k instanceof Array) && - !(k instanceof RegExp) - ) - } - for (const E in v) { - if (Object.prototype.hasOwnProperty.call(v, E)) { - const P = v[E] - if (isHashObject(P)) { - if (isHashObject(k[E])) { - updateDeeply(k[E], P) - } else { - k[E] = updateDeeply({}, P) - } - } else { - k[E] = P - } - } - } - return k - } - function analyze(k, v) { - const E = updateDeeply(defaultOptions(), v) - const N = new R(E) - const q = new L(E, N) - q.visit(k) - P(N.__currentScope === null, 'currentScope should be null.') - return N - } - k.exports = { - version: le, - Reference: N, - Variable: q, - Scope: ae, - ScopeManager: R, - analyze: analyze, - } - }, - 62999: function (k, v, E) { - 'use strict' - const P = E(12205).Syntax - const R = E(41396) - function getLast(k) { - return k[k.length - 1] || null - } - class PatternVisitor extends R.Visitor { - static isPattern(k) { - const v = k.type - return ( - v === P.Identifier || - v === P.ObjectPattern || - v === P.ArrayPattern || - v === P.SpreadElement || - v === P.RestElement || - v === P.AssignmentPattern - ) - } - constructor(k, v, E) { - super(null, k) - this.rootPattern = v - this.callback = E - this.assignments = [] - this.rightHandNodes = [] - this.restElements = [] - } - Identifier(k) { - const v = getLast(this.restElements) - this.callback(k, { - topLevel: k === this.rootPattern, - rest: v !== null && v !== undefined && v.argument === k, - assignments: this.assignments, - }) - } - Property(k) { - if (k.computed) { - this.rightHandNodes.push(k.key) - } - this.visit(k.value) - } - ArrayPattern(k) { - for (let v = 0, E = k.elements.length; v < E; ++v) { - const E = k.elements[v] - this.visit(E) - } - } - AssignmentPattern(k) { - this.assignments.push(k) - this.visit(k.left) - this.rightHandNodes.push(k.right) - this.assignments.pop() - } - RestElement(k) { - this.restElements.push(k) - this.visit(k.argument) - this.restElements.pop() - } - MemberExpression(k) { - if (k.computed) { - this.rightHandNodes.push(k.property) - } - this.rightHandNodes.push(k.object) - } - SpreadElement(k) { - this.visit(k.argument) - } - ArrayExpression(k) { - k.elements.forEach(this.visit, this) - } - AssignmentExpression(k) { - this.assignments.push(k) - this.visit(k.left) - this.rightHandNodes.push(k.right) - this.assignments.pop() - } - CallExpression(k) { - k.arguments.forEach((k) => { - this.rightHandNodes.push(k) - }) - this.visit(k.callee) - } - } - k.exports = PatternVisitor - }, - 21621: function (k) { - 'use strict' - const v = 1 - const E = 2 - const P = v | E - class Reference { - constructor(k, v, E, P, R, L, N) { - this.identifier = k - this.from = v - this.tainted = false - this.resolved = null - this.flag = E - if (this.isWrite()) { - this.writeExpr = P - this.partial = L - this.init = N - } - this.__maybeImplicitGlobal = R - } - 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 = v - Reference.WRITE = E - Reference.RW = P - k.exports = Reference - }, - 48648: function (k, v, E) { - 'use strict' - const P = E(12205).Syntax - const R = E(41396) - const L = E(21621) - const N = E(30529) - const q = E(62999) - const ae = E(84494) - const le = E(39491) - const pe = ae.ParameterDefinition - const me = ae.Definition - function traverseIdentifierInPattern(k, v, E, P) { - const R = new q(k, v, P) - R.visit(v) - if (E !== null && E !== undefined) { - R.rightHandNodes.forEach(E.visit, E) - } - } - class Importer extends R.Visitor { - constructor(k, v) { - super(null, v.options) - this.declaration = k - this.referencer = v - } - visitImport(k, v) { - this.referencer.visitPattern(k, (k) => { - this.referencer - .currentScope() - .__define( - k, - new me(N.ImportBinding, k, v, this.declaration, null, null) - ) - }) - } - ImportNamespaceSpecifier(k) { - const v = k.local || k.id - if (v) { - this.visitImport(v, k) - } - } - ImportDefaultSpecifier(k) { - const v = k.local || k.id - this.visitImport(v, k) - } - ImportSpecifier(k) { - const v = k.local || k.id - if (k.name) { - this.visitImport(k.name, k) - } else { - this.visitImport(v, k) - } - } - } - class Referencer extends R.Visitor { - constructor(k, v) { - super(null, k) - this.options = k - this.scopeManager = v - this.parent = null - this.isInnerMethodDefinition = false - } - currentScope() { - return this.scopeManager.__currentScope - } - close(k) { - while (this.currentScope() && k === this.currentScope().block) { - this.scopeManager.__currentScope = this.currentScope().__close( - this.scopeManager - ) - } - } - pushInnerMethodDefinition(k) { - const v = this.isInnerMethodDefinition - this.isInnerMethodDefinition = k - return v - } - popInnerMethodDefinition(k) { - this.isInnerMethodDefinition = k - } - referencingDefaultValue(k, v, E, P) { - const R = this.currentScope() - v.forEach((v) => { - R.__referencing(k, L.WRITE, v.right, E, k !== v.left, P) - }) - } - visitPattern(k, v, E) { - let P = v - let R = E - if (typeof v === 'function') { - R = v - P = { processRightHandNodes: false } - } - traverseIdentifierInPattern( - this.options, - k, - P.processRightHandNodes ? this : null, - R - ) - } - visitFunction(k) { - let v, E - if (k.type === P.FunctionDeclaration) { - this.currentScope().__define( - k.id, - new me(N.FunctionName, k.id, k, null, null, null) - ) - } - if (k.type === P.FunctionExpression && k.id) { - this.scopeManager.__nestFunctionExpressionNameScope(k) - } - this.scopeManager.__nestFunctionScope(k, this.isInnerMethodDefinition) - const R = this - function visitPatternCallback(E, P) { - R.currentScope().__define(E, new pe(E, k, v, P.rest)) - R.referencingDefaultValue(E, P.assignments, null, true) - } - for (v = 0, E = k.params.length; v < E; ++v) { - this.visitPattern( - k.params[v], - { processRightHandNodes: true }, - visitPatternCallback - ) - } - if (k.rest) { - this.visitPattern( - { type: 'RestElement', argument: k.rest }, - (v) => { - this.currentScope().__define( - v, - new pe(v, k, k.params.length, true) - ) - } - ) - } - if (k.body) { - if (k.body.type === P.BlockStatement) { - this.visitChildren(k.body) - } else { - this.visit(k.body) - } - } - this.close(k) - } - visitClass(k) { - if (k.type === P.ClassDeclaration) { - this.currentScope().__define( - k.id, - new me(N.ClassName, k.id, k, null, null, null) - ) - } - this.visit(k.superClass) - this.scopeManager.__nestClassScope(k) - if (k.id) { - this.currentScope().__define(k.id, new me(N.ClassName, k.id, k)) - } - this.visit(k.body) - this.close(k) - } - visitProperty(k) { - let v - if (k.computed) { - this.visit(k.key) - } - const E = k.type === P.MethodDefinition - if (E) { - v = this.pushInnerMethodDefinition(true) - } - this.visit(k.value) - if (E) { - this.popInnerMethodDefinition(v) - } - } - visitForIn(k) { - if (k.left.type === P.VariableDeclaration && k.left.kind !== 'var') { - this.scopeManager.__nestForScope(k) - } - if (k.left.type === P.VariableDeclaration) { - this.visit(k.left) - this.visitPattern(k.left.declarations[0].id, (v) => { - this.currentScope().__referencing( - v, - L.WRITE, - k.right, - null, - true, - true - ) - }) - } else { - this.visitPattern( - k.left, - { processRightHandNodes: true }, - (v, E) => { - let P = null - if (!this.currentScope().isStrict) { - P = { pattern: v, node: k } - } - this.referencingDefaultValue(v, E.assignments, P, false) - this.currentScope().__referencing( - v, - L.WRITE, - k.right, - P, - true, - false - ) - } - ) - } - this.visit(k.right) - this.visit(k.body) - this.close(k) - } - visitVariableDeclaration(k, v, E, P) { - const R = E.declarations[P] - const N = R.init - this.visitPattern(R.id, { processRightHandNodes: true }, (q, ae) => { - k.__define(q, new me(v, q, R, E, P, E.kind)) - this.referencingDefaultValue(q, ae.assignments, null, true) - if (N) { - this.currentScope().__referencing( - q, - L.WRITE, - N, - null, - !ae.topLevel, - true - ) - } - }) - } - AssignmentExpression(k) { - if (q.isPattern(k.left)) { - if (k.operator === '=') { - this.visitPattern( - k.left, - { processRightHandNodes: true }, - (v, E) => { - let P = null - if (!this.currentScope().isStrict) { - P = { pattern: v, node: k } - } - this.referencingDefaultValue(v, E.assignments, P, false) - this.currentScope().__referencing( - v, - L.WRITE, - k.right, - P, - !E.topLevel, - false - ) - } - ) - } else { - this.currentScope().__referencing(k.left, L.RW, k.right) - } - } else { - this.visit(k.left) - } - this.visit(k.right) - } - CatchClause(k) { - this.scopeManager.__nestCatchScope(k) - this.visitPattern( - k.param, - { processRightHandNodes: true }, - (v, E) => { - this.currentScope().__define( - v, - new me(N.CatchClause, k.param, k, null, null, null) - ) - this.referencingDefaultValue(v, E.assignments, null, true) - } - ) - this.visit(k.body) - this.close(k) - } - Program(k) { - this.scopeManager.__nestGlobalScope(k) - if (this.scopeManager.__isNodejsScope()) { - this.currentScope().isStrict = false - this.scopeManager.__nestFunctionScope(k, false) - } - if (this.scopeManager.__isES6() && this.scopeManager.isModule()) { - this.scopeManager.__nestModuleScope(k) - } - if ( - this.scopeManager.isStrictModeSupported() && - this.scopeManager.isImpliedStrict() - ) { - this.currentScope().isStrict = true - } - this.visitChildren(k) - this.close(k) - } - Identifier(k) { - this.currentScope().__referencing(k) - } - UpdateExpression(k) { - if (q.isPattern(k.argument)) { - this.currentScope().__referencing(k.argument, L.RW, null) - } else { - this.visitChildren(k) - } - } - MemberExpression(k) { - this.visit(k.object) - if (k.computed) { - this.visit(k.property) - } - } - Property(k) { - this.visitProperty(k) - } - MethodDefinition(k) { - this.visitProperty(k) - } - BreakStatement() {} - ContinueStatement() {} - LabeledStatement(k) { - this.visit(k.body) - } - ForStatement(k) { - if ( - k.init && - k.init.type === P.VariableDeclaration && - k.init.kind !== 'var' - ) { - this.scopeManager.__nestForScope(k) - } - this.visitChildren(k) - this.close(k) - } - ClassExpression(k) { - this.visitClass(k) - } - ClassDeclaration(k) { - this.visitClass(k) - } - CallExpression(k) { - if ( - !this.scopeManager.__ignoreEval() && - k.callee.type === P.Identifier && - k.callee.name === 'eval' - ) { - this.currentScope().variableScope.__detectEval() - } - this.visitChildren(k) - } - BlockStatement(k) { - if (this.scopeManager.__isES6()) { - this.scopeManager.__nestBlockScope(k) - } - this.visitChildren(k) - this.close(k) - } - ThisExpression() { - this.currentScope().variableScope.__detectThis() - } - WithStatement(k) { - this.visit(k.object) - this.scopeManager.__nestWithScope(k) - this.visit(k.body) - this.close(k) - } - VariableDeclaration(k) { - const v = - k.kind === 'var' - ? this.currentScope().variableScope - : this.currentScope() - for (let E = 0, P = k.declarations.length; E < P; ++E) { - const P = k.declarations[E] - this.visitVariableDeclaration(v, N.Variable, k, E) - if (P.init) { - this.visit(P.init) - } - } - } - SwitchStatement(k) { - this.visit(k.discriminant) - if (this.scopeManager.__isES6()) { - this.scopeManager.__nestSwitchScope(k) - } - for (let v = 0, E = k.cases.length; v < E; ++v) { - this.visit(k.cases[v]) - } - this.close(k) - } - FunctionDeclaration(k) { - this.visitFunction(k) - } - FunctionExpression(k) { - this.visitFunction(k) - } - ForOfStatement(k) { - this.visitForIn(k) - } - ForInStatement(k) { - this.visitForIn(k) - } - ArrowFunctionExpression(k) { - this.visitFunction(k) - } - ImportDeclaration(k) { - le( - this.scopeManager.__isES6() && this.scopeManager.isModule(), - 'ImportDeclaration should appear when the mode is ES6 and in the module context.' - ) - const v = new Importer(k, this) - v.visit(k) - } - visitExportDeclaration(k) { - if (k.source) { - return - } - if (k.declaration) { - this.visit(k.declaration) - return - } - this.visitChildren(k) - } - ExportDeclaration(k) { - this.visitExportDeclaration(k) - } - ExportAllDeclaration(k) { - this.visitExportDeclaration(k) - } - ExportDefaultDeclaration(k) { - this.visitExportDeclaration(k) - } - ExportNamedDeclaration(k) { - this.visitExportDeclaration(k) - } - ExportSpecifier(k) { - const v = k.id || k.local - this.visit(v) - } - MetaProperty() {} - } - k.exports = Referencer - }, - 40680: function (k, v, E) { - 'use strict' - const P = E(18802) - const R = E(39491) - const L = P.GlobalScope - const N = P.CatchScope - const q = P.WithScope - const ae = P.ModuleScope - const le = P.ClassScope - const pe = P.SwitchScope - const me = P.FunctionScope - const ye = P.ForScope - const _e = P.FunctionExpressionNameScope - const Ie = P.BlockScope - class ScopeManager { - constructor(k) { - this.scopes = [] - this.globalScope = null - this.__nodeToScope = new WeakMap() - this.__currentScope = null - this.__options = k - 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(k) { - return this.__nodeToScope.get(k) - } - getDeclaredVariables(k) { - return this.__declaredVariables.get(k) || [] - } - acquire(k, v) { - function predicate(k) { - if (k.type === 'function' && k.functionExpressionScope) { - return false - } - return true - } - const E = this.__get(k) - if (!E || E.length === 0) { - return null - } - if (E.length === 1) { - return E[0] - } - if (v) { - for (let k = E.length - 1; k >= 0; --k) { - const v = E[k] - if (predicate(v)) { - return v - } - } - } else { - for (let k = 0, v = E.length; k < v; ++k) { - const v = E[k] - if (predicate(v)) { - return v - } - } - } - return null - } - acquireAll(k) { - return this.__get(k) - } - release(k, v) { - const E = this.__get(k) - if (E && E.length) { - const k = E[0].upper - if (!k) { - return null - } - return this.acquire(k.block, v) - } - return null - } - attach() {} - detach() {} - __nestScope(k) { - if (k instanceof L) { - R(this.__currentScope === null) - this.globalScope = k - } - this.__currentScope = k - return k - } - __nestGlobalScope(k) { - return this.__nestScope(new L(this, k)) - } - __nestBlockScope(k) { - return this.__nestScope(new Ie(this, this.__currentScope, k)) - } - __nestFunctionScope(k, v) { - return this.__nestScope(new me(this, this.__currentScope, k, v)) - } - __nestForScope(k) { - return this.__nestScope(new ye(this, this.__currentScope, k)) - } - __nestCatchScope(k) { - return this.__nestScope(new N(this, this.__currentScope, k)) - } - __nestWithScope(k) { - return this.__nestScope(new q(this, this.__currentScope, k)) - } - __nestClassScope(k) { - return this.__nestScope(new le(this, this.__currentScope, k)) - } - __nestSwitchScope(k) { - return this.__nestScope(new pe(this, this.__currentScope, k)) - } - __nestModuleScope(k) { - return this.__nestScope(new ae(this, this.__currentScope, k)) - } - __nestFunctionExpressionNameScope(k) { - return this.__nestScope(new _e(this, this.__currentScope, k)) - } - __isES6() { - return this.__options.ecmaVersion >= 6 - } - } - k.exports = ScopeManager - }, - 18802: function (k, v, E) { - 'use strict' - const P = E(12205).Syntax - const R = E(21621) - const L = E(30529) - const N = E(84494).Definition - const q = E(39491) - function isStrictScope(k, v, E, R) { - let L - if (k.upper && k.upper.isStrict) { - return true - } - if (E) { - return true - } - if (k.type === 'class' || k.type === 'module') { - return true - } - if (k.type === 'block' || k.type === 'switch') { - return false - } - if (k.type === 'function') { - if ( - v.type === P.ArrowFunctionExpression && - v.body.type !== P.BlockStatement - ) { - return false - } - if (v.type === P.Program) { - L = v - } else { - L = v.body - } - if (!L) { - return false - } - } else if (k.type === 'global') { - L = v - } else { - return false - } - if (R) { - for (let k = 0, v = L.body.length; k < v; ++k) { - const v = L.body[k] - if (v.type !== P.DirectiveStatement) { - break - } - if (v.raw === '"use strict"' || v.raw === "'use strict'") { - return true - } - } - } else { - for (let k = 0, v = L.body.length; k < v; ++k) { - const v = L.body[k] - if (v.type !== P.ExpressionStatement) { - break - } - const E = v.expression - if (E.type !== P.Literal || typeof E.value !== 'string') { - break - } - if (E.raw !== null && E.raw !== undefined) { - if (E.raw === '"use strict"' || E.raw === "'use strict'") { - return true - } - } else { - if (E.value === 'use strict') { - return true - } - } - } - } - return false - } - function registerScope(k, v) { - k.scopes.push(v) - const E = k.__nodeToScope.get(v.block) - if (E) { - E.push(v) - } else { - k.__nodeToScope.set(v.block, [v]) - } - } - function shouldBeStatically(k) { - return ( - k.type === L.ClassName || - (k.type === L.Variable && k.parent.kind !== 'var') - ) - } - class Scope { - constructor(k, v, E, P, R) { - this.type = v - this.set = new Map() - this.taints = new Map() - this.dynamic = this.type === 'global' || this.type === 'with' - this.block = P - this.through = [] - this.variables = [] - this.references = [] - this.variableScope = - this.type === 'global' || - this.type === 'function' || - this.type === 'module' - ? this - : E.variableScope - this.functionExpressionScope = false - this.directCallToEvalScope = false - this.thisFound = false - this.__left = [] - this.upper = E - this.isStrict = isStrictScope(this, P, R, k.__useDirective()) - this.childScopes = [] - if (this.upper) { - this.upper.childScopes.push(this) - } - this.__declaredVariables = k.__declaredVariables - registerScope(k, this) - } - __shouldStaticallyClose(k) { - return !this.dynamic || k.__isOptimistic() - } - __shouldStaticallyCloseForGlobal(k) { - const v = k.identifier.name - if (!this.set.has(v)) { - return false - } - const E = this.set.get(v) - const P = E.defs - return P.length > 0 && P.every(shouldBeStatically) - } - __staticCloseRef(k) { - if (!this.__resolve(k)) { - this.__delegateToUpperScope(k) - } - } - __dynamicCloseRef(k) { - let v = this - do { - v.through.push(k) - v = v.upper - } while (v) - } - __globalCloseRef(k) { - if (this.__shouldStaticallyCloseForGlobal(k)) { - this.__staticCloseRef(k) - } else { - this.__dynamicCloseRef(k) - } - } - __close(k) { - let v - if (this.__shouldStaticallyClose(k)) { - v = this.__staticCloseRef - } else if (this.type !== 'global') { - v = this.__dynamicCloseRef - } else { - v = this.__globalCloseRef - } - for (let k = 0, E = this.__left.length; k < E; ++k) { - const E = this.__left[k] - v.call(this, E) - } - this.__left = null - return this.upper - } - __isValidResolution(k, v) { - return true - } - __resolve(k) { - const v = k.identifier.name - if (!this.set.has(v)) { - return false - } - const E = this.set.get(v) - if (!this.__isValidResolution(k, E)) { - return false - } - E.references.push(k) - E.stack = E.stack && k.from.variableScope === this.variableScope - if (k.tainted) { - E.tainted = true - this.taints.set(E.name, true) - } - k.resolved = E - return true - } - __delegateToUpperScope(k) { - if (this.upper) { - this.upper.__left.push(k) - } - this.through.push(k) - } - __addDeclaredVariablesOfNode(k, v) { - if (v === null || v === undefined) { - return - } - let E = this.__declaredVariables.get(v) - if (E === null || E === undefined) { - E = [] - this.__declaredVariables.set(v, E) - } - if (E.indexOf(k) === -1) { - E.push(k) - } - } - __defineGeneric(k, v, E, P, R) { - let N - N = v.get(k) - if (!N) { - N = new L(k, this) - v.set(k, N) - E.push(N) - } - if (R) { - N.defs.push(R) - this.__addDeclaredVariablesOfNode(N, R.node) - this.__addDeclaredVariablesOfNode(N, R.parent) - } - if (P) { - N.identifiers.push(P) - } - } - __define(k, v) { - if (k && k.type === P.Identifier) { - this.__defineGeneric(k.name, this.set, this.variables, k, v) - } - } - __referencing(k, v, E, L, N, q) { - if (!k || k.type !== P.Identifier) { - return - } - if (k.name === 'super') { - return - } - const ae = new R(k, this, v || R.READ, E, L, !!N, !!q) - this.references.push(ae) - this.__left.push(ae) - } - __detectEval() { - let k = this - this.directCallToEvalScope = true - do { - k.dynamic = true - k = k.upper - } while (k) - } - __detectThis() { - this.thisFound = true - } - __isClosed() { - return this.__left === null - } - resolve(k) { - let v, E, R - q(this.__isClosed(), 'Scope should be closed.') - q(k.type === P.Identifier, 'Target should be identifier.') - for (E = 0, R = this.references.length; E < R; ++E) { - v = this.references[E] - if (v.identifier === k) { - return v - } - } - return null - } - isStatic() { - return !this.dynamic - } - isArgumentsMaterialized() { - return true - } - isThisMaterialized() { - return true - } - isUsedName(k) { - if (this.set.has(k)) { - return true - } - for (let v = 0, E = this.through.length; v < E; ++v) { - if (this.through[v].identifier.name === k) { - return true - } - } - return false - } - } - class GlobalScope extends Scope { - constructor(k, v) { - super(k, 'global', null, v, false) - this.implicit = { set: new Map(), variables: [], left: [] } - } - __close(k) { - const v = [] - for (let k = 0, E = this.__left.length; k < E; ++k) { - const E = this.__left[k] - if (E.__maybeImplicitGlobal && !this.set.has(E.identifier.name)) { - v.push(E.__maybeImplicitGlobal) - } - } - for (let k = 0, E = v.length; k < E; ++k) { - const E = v[k] - this.__defineImplicit( - E.pattern, - new N( - L.ImplicitGlobalVariable, - E.pattern, - E.node, - null, - null, - null - ) - ) - } - this.implicit.left = this.__left - return super.__close(k) - } - __defineImplicit(k, v) { - if (k && k.type === P.Identifier) { - this.__defineGeneric( - k.name, - this.implicit.set, - this.implicit.variables, - k, - v - ) - } - } - } - class ModuleScope extends Scope { - constructor(k, v, E) { - super(k, 'module', v, E, false) - } - } - class FunctionExpressionNameScope extends Scope { - constructor(k, v, E) { - super(k, 'function-expression-name', v, E, false) - this.__define(E.id, new N(L.FunctionName, E.id, E, null, null, null)) - this.functionExpressionScope = true - } - } - class CatchScope extends Scope { - constructor(k, v, E) { - super(k, 'catch', v, E, false) - } - } - class WithScope extends Scope { - constructor(k, v, E) { - super(k, 'with', v, E, false) - } - __close(k) { - if (this.__shouldStaticallyClose(k)) { - return super.__close(k) - } - for (let k = 0, v = this.__left.length; k < v; ++k) { - const v = this.__left[k] - v.tainted = true - this.__delegateToUpperScope(v) - } - this.__left = null - return this.upper - } - } - class BlockScope extends Scope { - constructor(k, v, E) { - super(k, 'block', v, E, false) - } - } - class SwitchScope extends Scope { - constructor(k, v, E) { - super(k, 'switch', v, E, false) - } - } - class FunctionScope extends Scope { - constructor(k, v, E, R) { - super(k, 'function', v, E, R) - if (this.block.type !== P.ArrowFunctionExpression) { - this.__defineArguments() - } - } - isArgumentsMaterialized() { - if (this.block.type === P.ArrowFunctionExpression) { - return false - } - if (!this.isStatic()) { - return true - } - const k = this.set.get('arguments') - q(k, 'Always have arguments variable.') - return k.tainted || k.references.length !== 0 - } - isThisMaterialized() { - if (!this.isStatic()) { - return true - } - return this.thisFound - } - __defineArguments() { - this.__defineGeneric( - 'arguments', - this.set, - this.variables, - null, - null - ) - this.taints.set('arguments', true) - } - __isValidResolution(k, v) { - if (this.block.type === 'Program') { - return true - } - const E = this.block.body.range[0] - return !( - v.scope === this && - k.identifier.range[0] < E && - v.defs.every((k) => k.name.range[0] >= E) - ) - } - } - class ForScope extends Scope { - constructor(k, v, E) { - super(k, 'for', v, E, false) - } - } - class ClassScope extends Scope { - constructor(k, v, E) { - super(k, 'class', v, E, false) - } - } - k.exports = { - Scope: Scope, - GlobalScope: GlobalScope, - ModuleScope: ModuleScope, - FunctionExpressionNameScope: FunctionExpressionNameScope, - CatchScope: CatchScope, - WithScope: WithScope, - BlockScope: BlockScope, - SwitchScope: SwitchScope, - FunctionScope: FunctionScope, - ForScope: ForScope, - ClassScope: ClassScope, - } - }, - 30529: function (k) { - 'use strict' - class Variable { - constructor(k, v) { - this.name = k - this.identifiers = [] - this.references = [] - this.defs = [] - this.tainted = false - this.stack = true - this.scope = v - } - } - Variable.CatchClause = 'CatchClause' - Variable.Parameter = 'Parameter' - Variable.FunctionName = 'FunctionName' - Variable.ClassName = 'ClassName' - Variable.Variable = 'Variable' - Variable.ImportBinding = 'ImportBinding' - Variable.ImplicitGlobalVariable = 'ImplicitGlobalVariable' - k.exports = Variable - }, - 41396: function (k, v, E) { - ;(function () { - 'use strict' - var k = E(41731) - function isNode(k) { - if (k == null) { - return false - } - return typeof k === 'object' && typeof k.type === 'string' - } - function isProperty(v, E) { - return ( - (v === k.Syntax.ObjectExpression || v === k.Syntax.ObjectPattern) && - E === 'properties' - ) - } - function Visitor(v, E) { - E = E || {} - this.__visitor = v || this - this.__childVisitorKeys = E.childVisitorKeys - ? Object.assign({}, k.VisitorKeys, E.childVisitorKeys) - : k.VisitorKeys - if (E.fallback === 'iteration') { - this.__fallback = Object.keys - } else if (typeof E.fallback === 'function') { - this.__fallback = E.fallback - } - } - Visitor.prototype.visitChildren = function (v) { - var E, P, R, L, N, q, ae - if (v == null) { - return - } - E = v.type || k.Syntax.Property - P = this.__childVisitorKeys[E] - if (!P) { - if (this.__fallback) { - P = this.__fallback(v) - } else { - throw new Error('Unknown node type ' + E + '.') - } - } - for (R = 0, L = P.length; R < L; ++R) { - ae = v[P[R]] - if (ae) { - if (Array.isArray(ae)) { - for (N = 0, q = ae.length; N < q; ++N) { - if (ae[N]) { - if (isNode(ae[N]) || isProperty(E, P[R])) { - this.visit(ae[N]) - } - } - } - } else if (isNode(ae)) { - this.visit(ae) - } - } - } - } - Visitor.prototype.visit = function (v) { - var E - if (v == null) { - return - } - E = v.type || k.Syntax.Property - if (this.__visitor[E]) { - this.__visitor[E].call(this, v) - return - } - this.visitChildren(v) - } - v.version = E(14730).version - v.Visitor = Visitor - v.visit = function (k, v, E) { - var P = new Visitor(v, E) - P.visit(k) - } - })() - }, - 12205: function (k, v, E) { - ;(function clone(k) { - 'use strict' - var v, P, R, L, N, q - function deepCopy(k) { - var v = {}, - E, - P - for (E in k) { - if (k.hasOwnProperty(E)) { - P = k[E] - if (typeof P === 'object' && P !== null) { - v[E] = deepCopy(P) - } else { - v[E] = P - } - } - } - return v - } - function upperBound(k, v) { - var E, P, R, L - P = k.length - R = 0 - while (P) { - E = P >>> 1 - L = R + E - if (v(k[L])) { - P = E - } else { - R = L + 1 - P -= E + 1 - } - } - return R - } - v = { - 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', - } - R = { - 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'], - } - L = {} - N = {} - q = {} - P = { Break: L, Skip: N, Remove: q } - function Reference(k, v) { - this.parent = k - this.key = v - } - Reference.prototype.replace = function replace(k) { - this.parent[this.key] = k - } - 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(k, v, E, P) { - this.node = k - this.path = v - this.wrap = E - this.ref = P - } - function Controller() {} - Controller.prototype.path = function path() { - var k, v, E, P, R, L - function addToPath(k, v) { - if (Array.isArray(v)) { - for (E = 0, P = v.length; E < P; ++E) { - k.push(v[E]) - } - } else { - k.push(v) - } - } - if (!this.__current.path) { - return null - } - R = [] - for (k = 2, v = this.__leavelist.length; k < v; ++k) { - L = this.__leavelist[k] - addToPath(R, L.path) - } - addToPath(R, this.__current.path) - return R - } - Controller.prototype.type = function () { - var k = this.current() - return k.type || this.__current.wrap - } - Controller.prototype.parents = function parents() { - var k, v, E - E = [] - for (k = 1, v = this.__leavelist.length; k < v; ++k) { - E.push(this.__leavelist[k].node) - } - return E - } - Controller.prototype.current = function current() { - return this.__current.node - } - Controller.prototype.__execute = function __execute(k, v) { - var E, P - P = undefined - E = this.__current - this.__current = v - this.__state = null - if (k) { - P = k.call( - this, - v.node, - this.__leavelist[this.__leavelist.length - 1].node - ) - } - this.__current = E - return P - } - Controller.prototype.notify = function notify(k) { - this.__state = k - } - Controller.prototype.skip = function () { - this.notify(N) - } - Controller.prototype['break'] = function () { - this.notify(L) - } - Controller.prototype.remove = function () { - this.notify(q) - } - Controller.prototype.__initialize = function (k, v) { - this.visitor = v - this.root = k - this.__worklist = [] - this.__leavelist = [] - this.__current = null - this.__state = null - this.__fallback = null - if (v.fallback === 'iteration') { - this.__fallback = Object.keys - } else if (typeof v.fallback === 'function') { - this.__fallback = v.fallback - } - this.__keys = R - if (v.keys) { - this.__keys = Object.assign(Object.create(this.__keys), v.keys) - } - } - function isNode(k) { - if (k == null) { - return false - } - return typeof k === 'object' && typeof k.type === 'string' - } - function isProperty(k, E) { - return ( - (k === v.ObjectExpression || k === v.ObjectPattern) && - 'properties' === E - ) - } - Controller.prototype.traverse = function traverse(k, v) { - var E, P, R, q, ae, le, pe, me, ye, _e, Ie, Me - this.__initialize(k, v) - Me = {} - E = this.__worklist - P = this.__leavelist - E.push(new Element(k, null, null, null)) - P.push(new Element(null, null, null, null)) - while (E.length) { - R = E.pop() - if (R === Me) { - R = P.pop() - le = this.__execute(v.leave, R) - if (this.__state === L || le === L) { - return - } - continue - } - if (R.node) { - le = this.__execute(v.enter, R) - if (this.__state === L || le === L) { - return - } - E.push(Me) - P.push(R) - if (this.__state === N || le === N) { - continue - } - q = R.node - ae = q.type || R.wrap - _e = this.__keys[ae] - if (!_e) { - if (this.__fallback) { - _e = this.__fallback(q) - } else { - throw new Error('Unknown node type ' + ae + '.') - } - } - me = _e.length - while ((me -= 1) >= 0) { - pe = _e[me] - Ie = q[pe] - if (!Ie) { - continue - } - if (Array.isArray(Ie)) { - ye = Ie.length - while ((ye -= 1) >= 0) { - if (!Ie[ye]) { - continue - } - if (isProperty(ae, _e[me])) { - R = new Element(Ie[ye], [pe, ye], 'Property', null) - } else if (isNode(Ie[ye])) { - R = new Element(Ie[ye], [pe, ye], null, null) - } else { - continue - } - E.push(R) - } - } else if (isNode(Ie)) { - E.push(new Element(Ie, pe, null, null)) - } - } - } - } - } - Controller.prototype.replace = function replace(k, v) { - var E, P, R, ae, le, pe, me, ye, _e, Ie, Me, Te, je - function removeElem(k) { - var v, P, R, L - if (k.ref.remove()) { - P = k.ref.key - L = k.ref.parent - v = E.length - while (v--) { - R = E[v] - if (R.ref && R.ref.parent === L) { - if (R.ref.key < P) { - break - } - --R.ref.key - } - } - } - } - this.__initialize(k, v) - Me = {} - E = this.__worklist - P = this.__leavelist - Te = { root: k } - pe = new Element(k, null, null, new Reference(Te, 'root')) - E.push(pe) - P.push(pe) - while (E.length) { - pe = E.pop() - if (pe === Me) { - pe = P.pop() - le = this.__execute(v.leave, pe) - if (le !== undefined && le !== L && le !== N && le !== q) { - pe.ref.replace(le) - } - if (this.__state === q || le === q) { - removeElem(pe) - } - if (this.__state === L || le === L) { - return Te.root - } - continue - } - le = this.__execute(v.enter, pe) - if (le !== undefined && le !== L && le !== N && le !== q) { - pe.ref.replace(le) - pe.node = le - } - if (this.__state === q || le === q) { - removeElem(pe) - pe.node = null - } - if (this.__state === L || le === L) { - return Te.root - } - R = pe.node - if (!R) { - continue - } - E.push(Me) - P.push(pe) - if (this.__state === N || le === N) { - continue - } - ae = R.type || pe.wrap - _e = this.__keys[ae] - if (!_e) { - if (this.__fallback) { - _e = this.__fallback(R) - } else { - throw new Error('Unknown node type ' + ae + '.') - } - } - me = _e.length - while ((me -= 1) >= 0) { - je = _e[me] - Ie = R[je] - if (!Ie) { - continue - } - if (Array.isArray(Ie)) { - ye = Ie.length - while ((ye -= 1) >= 0) { - if (!Ie[ye]) { - continue - } - if (isProperty(ae, _e[me])) { - pe = new Element( - Ie[ye], - [je, ye], - 'Property', - new Reference(Ie, ye) - ) - } else if (isNode(Ie[ye])) { - pe = new Element( - Ie[ye], - [je, ye], - null, - new Reference(Ie, ye) - ) - } else { - continue - } - E.push(pe) - } - } else if (isNode(Ie)) { - E.push(new Element(Ie, je, null, new Reference(R, je))) - } - } - } - return Te.root - } - function traverse(k, v) { - var E = new Controller() - return E.traverse(k, v) - } - function replace(k, v) { - var E = new Controller() - return E.replace(k, v) - } - function extendCommentRange(k, v) { - var E - E = upperBound(v, function search(v) { - return v.range[0] > k.range[0] - }) - k.extendedRange = [k.range[0], k.range[1]] - if (E !== v.length) { - k.extendedRange[1] = v[E].range[0] - } - E -= 1 - if (E >= 0) { - k.extendedRange[0] = v[E].range[1] - } - return k - } - function attachComments(k, v, E) { - var R = [], - L, - N, - q, - ae - if (!k.range) { - throw new Error('attachComments needs range information') - } - if (!E.length) { - if (v.length) { - for (q = 0, N = v.length; q < N; q += 1) { - L = deepCopy(v[q]) - L.extendedRange = [0, k.range[0]] - R.push(L) - } - k.leadingComments = R - } - return k - } - for (q = 0, N = v.length; q < N; q += 1) { - R.push(extendCommentRange(deepCopy(v[q]), E)) - } - ae = 0 - traverse(k, { - enter: function (k) { - var v - while (ae < R.length) { - v = R[ae] - if (v.extendedRange[1] > k.range[0]) { - break - } - if (v.extendedRange[1] === k.range[0]) { - if (!k.leadingComments) { - k.leadingComments = [] - } - k.leadingComments.push(v) - R.splice(ae, 1) - } else { - ae += 1 - } - } - if (ae === R.length) { - return P.Break - } - if (R[ae].extendedRange[0] > k.range[1]) { - return P.Skip - } - }, - }) - ae = 0 - traverse(k, { - leave: function (k) { - var v - while (ae < R.length) { - v = R[ae] - if (k.range[1] < v.extendedRange[0]) { - break - } - if (k.range[1] === v.extendedRange[0]) { - if (!k.trailingComments) { - k.trailingComments = [] - } - k.trailingComments.push(v) - R.splice(ae, 1) - } else { - ae += 1 - } - } - if (ae === R.length) { - return P.Break - } - if (R[ae].extendedRange[0] > k.range[1]) { - return P.Skip - } - }, - }) - return k - } - k.version = E(61752).i8 - k.Syntax = v - k.traverse = traverse - k.replace = replace - k.attachComments = attachComments - k.VisitorKeys = R - k.VisitorOption = P - k.Controller = Controller - k.cloneEnvironment = function () { - return clone({}) - } - return k - })(v) - }, - 41731: function (k, v) { - ;(function clone(k) { - 'use strict' - var v, E, P, R, L, N - function deepCopy(k) { - var v = {}, - E, - P - for (E in k) { - if (k.hasOwnProperty(E)) { - P = k[E] - if (typeof P === 'object' && P !== null) { - v[E] = deepCopy(P) - } else { - v[E] = P - } - } - } - return v - } - function upperBound(k, v) { - var E, P, R, L - P = k.length - R = 0 - while (P) { - E = P >>> 1 - L = R + E - if (v(k[L])) { - P = E - } else { - R = L + 1 - P -= E + 1 - } - } - return R - } - v = { - 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', - PrivateIdentifier: 'PrivateIdentifier', - Program: 'Program', - Property: 'Property', - PropertyDefinition: 'PropertyDefinition', - 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', - } - P = { - 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'], - PrivateIdentifier: [], - Program: ['body'], - Property: ['key', 'value'], - PropertyDefinition: ['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'], - } - R = {} - L = {} - N = {} - E = { Break: R, Skip: L, Remove: N } - function Reference(k, v) { - this.parent = k - this.key = v - } - Reference.prototype.replace = function replace(k) { - this.parent[this.key] = k - } - 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(k, v, E, P) { - this.node = k - this.path = v - this.wrap = E - this.ref = P - } - function Controller() {} - Controller.prototype.path = function path() { - var k, v, E, P, R, L - function addToPath(k, v) { - if (Array.isArray(v)) { - for (E = 0, P = v.length; E < P; ++E) { - k.push(v[E]) - } - } else { - k.push(v) - } - } - if (!this.__current.path) { - return null - } - R = [] - for (k = 2, v = this.__leavelist.length; k < v; ++k) { - L = this.__leavelist[k] - addToPath(R, L.path) - } - addToPath(R, this.__current.path) - return R - } - Controller.prototype.type = function () { - var k = this.current() - return k.type || this.__current.wrap - } - Controller.prototype.parents = function parents() { - var k, v, E - E = [] - for (k = 1, v = this.__leavelist.length; k < v; ++k) { - E.push(this.__leavelist[k].node) - } - return E - } - Controller.prototype.current = function current() { - return this.__current.node - } - Controller.prototype.__execute = function __execute(k, v) { - var E, P - P = undefined - E = this.__current - this.__current = v - this.__state = null - if (k) { - P = k.call( - this, - v.node, - this.__leavelist[this.__leavelist.length - 1].node - ) - } - this.__current = E - return P - } - Controller.prototype.notify = function notify(k) { - this.__state = k - } - Controller.prototype.skip = function () { - this.notify(L) - } - Controller.prototype['break'] = function () { - this.notify(R) - } - Controller.prototype.remove = function () { - this.notify(N) - } - Controller.prototype.__initialize = function (k, v) { - this.visitor = v - this.root = k - this.__worklist = [] - this.__leavelist = [] - this.__current = null - this.__state = null - this.__fallback = null - if (v.fallback === 'iteration') { - this.__fallback = Object.keys - } else if (typeof v.fallback === 'function') { - this.__fallback = v.fallback - } - this.__keys = P - if (v.keys) { - this.__keys = Object.assign(Object.create(this.__keys), v.keys) - } - } - function isNode(k) { - if (k == null) { - return false - } - return typeof k === 'object' && typeof k.type === 'string' - } - function isProperty(k, E) { - return ( - (k === v.ObjectExpression || k === v.ObjectPattern) && - 'properties' === E - ) - } - function candidateExistsInLeaveList(k, v) { - for (var E = k.length - 1; E >= 0; --E) { - if (k[E].node === v) { - return true - } - } - return false - } - Controller.prototype.traverse = function traverse(k, v) { - var E, P, N, q, ae, le, pe, me, ye, _e, Ie, Me - this.__initialize(k, v) - Me = {} - E = this.__worklist - P = this.__leavelist - E.push(new Element(k, null, null, null)) - P.push(new Element(null, null, null, null)) - while (E.length) { - N = E.pop() - if (N === Me) { - N = P.pop() - le = this.__execute(v.leave, N) - if (this.__state === R || le === R) { - return - } - continue - } - if (N.node) { - le = this.__execute(v.enter, N) - if (this.__state === R || le === R) { - return - } - E.push(Me) - P.push(N) - if (this.__state === L || le === L) { - continue - } - q = N.node - ae = q.type || N.wrap - _e = this.__keys[ae] - if (!_e) { - if (this.__fallback) { - _e = this.__fallback(q) - } else { - throw new Error('Unknown node type ' + ae + '.') - } - } - me = _e.length - while ((me -= 1) >= 0) { - pe = _e[me] - Ie = q[pe] - if (!Ie) { - continue - } - if (Array.isArray(Ie)) { - ye = Ie.length - while ((ye -= 1) >= 0) { - if (!Ie[ye]) { - continue - } - if (candidateExistsInLeaveList(P, Ie[ye])) { - continue - } - if (isProperty(ae, _e[me])) { - N = new Element(Ie[ye], [pe, ye], 'Property', null) - } else if (isNode(Ie[ye])) { - N = new Element(Ie[ye], [pe, ye], null, null) - } else { - continue - } - E.push(N) - } - } else if (isNode(Ie)) { - if (candidateExistsInLeaveList(P, Ie)) { - continue - } - E.push(new Element(Ie, pe, null, null)) - } - } - } - } - } - Controller.prototype.replace = function replace(k, v) { - var E, P, q, ae, le, pe, me, ye, _e, Ie, Me, Te, je - function removeElem(k) { - var v, P, R, L - if (k.ref.remove()) { - P = k.ref.key - L = k.ref.parent - v = E.length - while (v--) { - R = E[v] - if (R.ref && R.ref.parent === L) { - if (R.ref.key < P) { - break - } - --R.ref.key - } - } - } - } - this.__initialize(k, v) - Me = {} - E = this.__worklist - P = this.__leavelist - Te = { root: k } - pe = new Element(k, null, null, new Reference(Te, 'root')) - E.push(pe) - P.push(pe) - while (E.length) { - pe = E.pop() - if (pe === Me) { - pe = P.pop() - le = this.__execute(v.leave, pe) - if (le !== undefined && le !== R && le !== L && le !== N) { - pe.ref.replace(le) - } - if (this.__state === N || le === N) { - removeElem(pe) - } - if (this.__state === R || le === R) { - return Te.root - } - continue - } - le = this.__execute(v.enter, pe) - if (le !== undefined && le !== R && le !== L && le !== N) { - pe.ref.replace(le) - pe.node = le - } - if (this.__state === N || le === N) { - removeElem(pe) - pe.node = null - } - if (this.__state === R || le === R) { - return Te.root - } - q = pe.node - if (!q) { - continue - } - E.push(Me) - P.push(pe) - if (this.__state === L || le === L) { - continue - } - ae = q.type || pe.wrap - _e = this.__keys[ae] - if (!_e) { - if (this.__fallback) { - _e = this.__fallback(q) - } else { - throw new Error('Unknown node type ' + ae + '.') - } - } - me = _e.length - while ((me -= 1) >= 0) { - je = _e[me] - Ie = q[je] - if (!Ie) { - continue - } - if (Array.isArray(Ie)) { - ye = Ie.length - while ((ye -= 1) >= 0) { - if (!Ie[ye]) { - continue - } - if (isProperty(ae, _e[me])) { - pe = new Element( - Ie[ye], - [je, ye], - 'Property', - new Reference(Ie, ye) - ) - } else if (isNode(Ie[ye])) { - pe = new Element( - Ie[ye], - [je, ye], - null, - new Reference(Ie, ye) - ) - } else { - continue - } - E.push(pe) - } - } else if (isNode(Ie)) { - E.push(new Element(Ie, je, null, new Reference(q, je))) - } - } - } - return Te.root - } - function traverse(k, v) { - var E = new Controller() - return E.traverse(k, v) - } - function replace(k, v) { - var E = new Controller() - return E.replace(k, v) - } - function extendCommentRange(k, v) { - var E - E = upperBound(v, function search(v) { - return v.range[0] > k.range[0] - }) - k.extendedRange = [k.range[0], k.range[1]] - if (E !== v.length) { - k.extendedRange[1] = v[E].range[0] - } - E -= 1 - if (E >= 0) { - k.extendedRange[0] = v[E].range[1] - } - return k - } - function attachComments(k, v, P) { - var R = [], - L, - N, - q, - ae - if (!k.range) { - throw new Error('attachComments needs range information') - } - if (!P.length) { - if (v.length) { - for (q = 0, N = v.length; q < N; q += 1) { - L = deepCopy(v[q]) - L.extendedRange = [0, k.range[0]] - R.push(L) - } - k.leadingComments = R - } - return k - } - for (q = 0, N = v.length; q < N; q += 1) { - R.push(extendCommentRange(deepCopy(v[q]), P)) - } - ae = 0 - traverse(k, { - enter: function (k) { - var v - while (ae < R.length) { - v = R[ae] - if (v.extendedRange[1] > k.range[0]) { - break - } - if (v.extendedRange[1] === k.range[0]) { - if (!k.leadingComments) { - k.leadingComments = [] - } - k.leadingComments.push(v) - R.splice(ae, 1) - } else { - ae += 1 - } - } - if (ae === R.length) { - return E.Break - } - if (R[ae].extendedRange[0] > k.range[1]) { - return E.Skip - } - }, - }) - ae = 0 - traverse(k, { - leave: function (k) { - var v - while (ae < R.length) { - v = R[ae] - if (k.range[1] < v.extendedRange[0]) { - break - } - if (k.range[1] === v.extendedRange[0]) { - if (!k.trailingComments) { - k.trailingComments = [] - } - k.trailingComments.push(v) - R.splice(ae, 1) - } else { - ae += 1 - } - } - if (ae === R.length) { - return E.Break - } - if (R[ae].extendedRange[0] > k.range[1]) { - return E.Skip - } - }, - }) - return k - } - k.Syntax = v - k.traverse = traverse - k.replace = replace - k.attachComments = attachComments - k.VisitorKeys = P - k.VisitorOption = E - k.Controller = Controller - k.cloneEnvironment = function () { - return clone({}) - } - return k - })(v) - }, - 21660: function (k) { - k.exports = function (k, v) { - if (typeof k !== 'string') { - throw new TypeError('Expected a string') - } - var E = String(k) - var P = '' - var R = v ? !!v.extended : false - var L = v ? !!v.globstar : false - var N = false - var q = v && typeof v.flags === 'string' ? v.flags : '' - var ae - for (var le = 0, pe = E.length; le < pe; le++) { - ae = E[le] - switch (ae) { - case '/': - case '$': - case '^': - case '+': - case '.': - case '(': - case ')': - case '=': - case '!': - case '|': - P += '\\' + ae - break - case '?': - if (R) { - P += '.' - break - } - case '[': - case ']': - if (R) { - P += ae - break - } - case '{': - if (R) { - N = true - P += '(' - break - } - case '}': - if (R) { - N = false - P += ')' - break - } - case ',': - if (N) { - P += '|' - break - } - P += '\\' + ae - break - case '*': - var me = E[le - 1] - var ye = 1 - while (E[le + 1] === '*') { - ye++ - le++ - } - var _e = E[le + 1] - if (!L) { - P += '.*' - } else { - var Ie = - ye > 1 && - (me === '/' || me === undefined) && - (_e === '/' || _e === undefined) - if (Ie) { - P += '((?:[^/]*(?:/|$))*)' - le++ - } else { - P += '([^/]*)' - } - } - break - default: - P += ae - } - } - if (!q || !~q.indexOf('g')) { - P = '^' + P + '$' - } - return new RegExp(P, q) - } - }, - 8567: function (k) { - 'use strict' - k.exports = clone - var v = - Object.getPrototypeOf || - function (k) { - return k.__proto__ - } - function clone(k) { - if (k === null || typeof k !== 'object') return k - if (k instanceof Object) var E = { __proto__: v(k) } - else var E = Object.create(null) - Object.getOwnPropertyNames(k).forEach(function (v) { - Object.defineProperty(E, v, Object.getOwnPropertyDescriptor(k, v)) - }) - return E - } - }, - 56450: function (k, v, E) { - var P = E(57147) - var R = E(72164) - var L = E(55653) - var N = E(8567) - var q = E(73837) - var ae - var le - if (typeof Symbol === 'function' && typeof Symbol.for === 'function') { - ae = Symbol.for('graceful-fs.queue') - le = Symbol.for('graceful-fs.previous') - } else { - ae = '___graceful-fs.queue' - le = '___graceful-fs.previous' - } - function noop() {} - function publishQueue(k, v) { - Object.defineProperty(k, ae, { - get: function () { - return v - }, - }) - } - var pe = noop - if (q.debuglog) pe = q.debuglog('gfs4') - else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || '')) - pe = function () { - var k = q.format.apply(q, arguments) - k = 'GFS4: ' + k.split(/\n/).join('\nGFS4: ') - console.error(k) - } - if (!P[ae]) { - var me = global[ae] || [] - publishQueue(P, me) - P.close = (function (k) { - function close(v, E) { - return k.call(P, v, function (k) { - if (!k) { - resetQueue() - } - if (typeof E === 'function') E.apply(this, arguments) - }) - } - Object.defineProperty(close, le, { value: k }) - return close - })(P.close) - P.closeSync = (function (k) { - function closeSync(v) { - k.apply(P, arguments) - resetQueue() - } - Object.defineProperty(closeSync, le, { value: k }) - return closeSync - })(P.closeSync) - if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || '')) { - process.on('exit', function () { - pe(P[ae]) - E(39491).equal(P[ae].length, 0) - }) - } - } - if (!global[ae]) { - publishQueue(global, P[ae]) - } - k.exports = patch(N(P)) - if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !P.__patched) { - k.exports = patch(P) - P.__patched = true - } - function patch(k) { - R(k) - k.gracefulify = patch - k.createReadStream = createReadStream - k.createWriteStream = createWriteStream - var v = k.readFile - k.readFile = readFile - function readFile(k, E, P) { - if (typeof E === 'function') (P = E), (E = null) - return go$readFile(k, E, P) - function go$readFile(k, E, P, R) { - return v(k, E, function (v) { - if (v && (v.code === 'EMFILE' || v.code === 'ENFILE')) - enqueue([ - go$readFile, - [k, E, P], - v, - R || Date.now(), - Date.now(), - ]) - else { - if (typeof P === 'function') P.apply(this, arguments) - } - }) - } - } - var E = k.writeFile - k.writeFile = writeFile - function writeFile(k, v, P, R) { - if (typeof P === 'function') (R = P), (P = null) - return go$writeFile(k, v, P, R) - function go$writeFile(k, v, P, R, L) { - return E(k, v, P, function (E) { - if (E && (E.code === 'EMFILE' || E.code === 'ENFILE')) - enqueue([ - go$writeFile, - [k, v, P, R], - E, - L || Date.now(), - Date.now(), - ]) - else { - if (typeof R === 'function') R.apply(this, arguments) - } - }) - } - } - var P = k.appendFile - if (P) k.appendFile = appendFile - function appendFile(k, v, E, R) { - if (typeof E === 'function') (R = E), (E = null) - return go$appendFile(k, v, E, R) - function go$appendFile(k, v, E, R, L) { - return P(k, v, E, function (P) { - if (P && (P.code === 'EMFILE' || P.code === 'ENFILE')) - enqueue([ - go$appendFile, - [k, v, E, R], - P, - L || Date.now(), - Date.now(), - ]) - else { - if (typeof R === 'function') R.apply(this, arguments) - } - }) - } - } - var N = k.copyFile - if (N) k.copyFile = copyFile - function copyFile(k, v, E, P) { - if (typeof E === 'function') { - P = E - E = 0 - } - return go$copyFile(k, v, E, P) - function go$copyFile(k, v, E, P, R) { - return N(k, v, E, function (L) { - if (L && (L.code === 'EMFILE' || L.code === 'ENFILE')) - enqueue([ - go$copyFile, - [k, v, E, P], - L, - R || Date.now(), - Date.now(), - ]) - else { - if (typeof P === 'function') P.apply(this, arguments) - } - }) - } - } - var q = k.readdir - k.readdir = readdir - var ae = /^v[0-5]\./ - function readdir(k, v, E) { - if (typeof v === 'function') (E = v), (v = null) - var P = ae.test(process.version) - ? function go$readdir(k, v, E, P) { - return q(k, fs$readdirCallback(k, v, E, P)) - } - : function go$readdir(k, v, E, P) { - return q(k, v, fs$readdirCallback(k, v, E, P)) - } - return P(k, v, E) - function fs$readdirCallback(k, v, E, R) { - return function (L, N) { - if (L && (L.code === 'EMFILE' || L.code === 'ENFILE')) - enqueue([P, [k, v, E], L, R || Date.now(), Date.now()]) - else { - if (N && N.sort) N.sort() - if (typeof E === 'function') E.call(this, L, N) - } - } - } - } - if (process.version.substr(0, 4) === 'v0.8') { - var le = L(k) - ReadStream = le.ReadStream - WriteStream = le.WriteStream - } - var pe = k.ReadStream - if (pe) { - ReadStream.prototype = Object.create(pe.prototype) - ReadStream.prototype.open = ReadStream$open - } - var me = k.WriteStream - if (me) { - WriteStream.prototype = Object.create(me.prototype) - WriteStream.prototype.open = WriteStream$open - } - Object.defineProperty(k, 'ReadStream', { - get: function () { - return ReadStream - }, - set: function (k) { - ReadStream = k - }, - enumerable: true, - configurable: true, - }) - Object.defineProperty(k, 'WriteStream', { - get: function () { - return WriteStream - }, - set: function (k) { - WriteStream = k - }, - enumerable: true, - configurable: true, - }) - var ye = ReadStream - Object.defineProperty(k, 'FileReadStream', { - get: function () { - return ye - }, - set: function (k) { - ye = k - }, - enumerable: true, - configurable: true, - }) - var _e = WriteStream - Object.defineProperty(k, 'FileWriteStream', { - get: function () { - return _e - }, - set: function (k) { - _e = k - }, - enumerable: true, - configurable: true, - }) - function ReadStream(k, v) { - if (this instanceof ReadStream) return pe.apply(this, arguments), this - else - return ReadStream.apply( - Object.create(ReadStream.prototype), - arguments - ) - } - function ReadStream$open() { - var k = this - open(k.path, k.flags, k.mode, function (v, E) { - if (v) { - if (k.autoClose) k.destroy() - k.emit('error', v) - } else { - k.fd = E - k.emit('open', E) - k.read() - } - }) - } - function WriteStream(k, v) { - if (this instanceof WriteStream) - return me.apply(this, arguments), this - else - return WriteStream.apply( - Object.create(WriteStream.prototype), - arguments - ) - } - function WriteStream$open() { - var k = this - open(k.path, k.flags, k.mode, function (v, E) { - if (v) { - k.destroy() - k.emit('error', v) - } else { - k.fd = E - k.emit('open', E) - } - }) - } - function createReadStream(v, E) { - return new k.ReadStream(v, E) - } - function createWriteStream(v, E) { - return new k.WriteStream(v, E) - } - var Ie = k.open - k.open = open - function open(k, v, E, P) { - if (typeof E === 'function') (P = E), (E = null) - return go$open(k, v, E, P) - function go$open(k, v, E, P, R) { - return Ie(k, v, E, function (L, N) { - if (L && (L.code === 'EMFILE' || L.code === 'ENFILE')) - enqueue([go$open, [k, v, E, P], L, R || Date.now(), Date.now()]) - else { - if (typeof P === 'function') P.apply(this, arguments) - } - }) - } - } - return k - } - function enqueue(k) { - pe('ENQUEUE', k[0].name, k[1]) - P[ae].push(k) - retry() - } - var ye - function resetQueue() { - var k = Date.now() - for (var v = 0; v < P[ae].length; ++v) { - if (P[ae][v].length > 2) { - P[ae][v][3] = k - P[ae][v][4] = k - } - } - retry() - } - function retry() { - clearTimeout(ye) - ye = undefined - if (P[ae].length === 0) return - var k = P[ae].shift() - var v = k[0] - var E = k[1] - var R = k[2] - var L = k[3] - var N = k[4] - if (L === undefined) { - pe('RETRY', v.name, E) - v.apply(null, E) - } else if (Date.now() - L >= 6e4) { - pe('TIMEOUT', v.name, E) - var q = E.pop() - if (typeof q === 'function') q.call(null, R) - } else { - var le = Date.now() - N - var me = Math.max(N - L, 1) - var _e = Math.min(me * 1.2, 100) - if (le >= _e) { - pe('RETRY', v.name, E) - v.apply(null, E.concat([L])) - } else { - P[ae].push(k) - } - } - if (ye === undefined) { - ye = setTimeout(retry, 0) - } - } - }, - 55653: function (k, v, E) { - var P = E(12781).Stream - k.exports = legacy - function legacy(k) { - return { ReadStream: ReadStream, WriteStream: WriteStream } - function ReadStream(v, E) { - if (!(this instanceof ReadStream)) return new ReadStream(v, E) - P.call(this) - var R = this - this.path = v - this.fd = null - this.readable = true - this.paused = false - this.flags = 'r' - this.mode = 438 - this.bufferSize = 64 * 1024 - E = E || {} - var L = Object.keys(E) - for (var N = 0, q = L.length; N < q; N++) { - var ae = L[N] - this[ae] = E[ae] - } - if (this.encoding) this.setEncoding(this.encoding) - if (this.start !== undefined) { - if ('number' !== typeof this.start) { - throw TypeError('start must be a Number') - } - if (this.end === undefined) { - this.end = Infinity - } else if ('number' !== typeof this.end) { - throw TypeError('end must be a Number') - } - if (this.start > this.end) { - throw new Error('start must be <= end') - } - this.pos = this.start - } - if (this.fd !== null) { - process.nextTick(function () { - R._read() - }) - return - } - k.open(this.path, this.flags, this.mode, function (k, v) { - if (k) { - R.emit('error', k) - R.readable = false - return - } - R.fd = v - R.emit('open', v) - R._read() - }) - } - function WriteStream(v, E) { - if (!(this instanceof WriteStream)) return new WriteStream(v, E) - P.call(this) - this.path = v - this.fd = null - this.writable = true - this.flags = 'w' - this.encoding = 'binary' - this.mode = 438 - this.bytesWritten = 0 - E = E || {} - var R = Object.keys(E) - for (var L = 0, N = R.length; L < N; L++) { - var q = R[L] - this[q] = E[q] - } - if (this.start !== undefined) { - if ('number' !== typeof this.start) { - throw TypeError('start must be a Number') - } - if (this.start < 0) { - throw new Error('start must be >= zero') - } - this.pos = this.start - } - this.busy = false - this._queue = [] - if (this.fd === null) { - this._open = k.open - this._queue.push([ - this._open, - this.path, - this.flags, - this.mode, - undefined, - ]) - this.flush() - } - } - } - }, - 72164: function (k, v, E) { - var P = E(22057) - var R = process.cwd - var L = null - var N = process.env.GRACEFUL_FS_PLATFORM || process.platform - process.cwd = function () { - if (!L) L = R.call(process) - return L - } - try { - process.cwd() - } catch (k) {} - if (typeof process.chdir === 'function') { - var q = process.chdir - process.chdir = function (k) { - L = null - q.call(process, k) - } - if (Object.setPrototypeOf) Object.setPrototypeOf(process.chdir, q) - } - k.exports = patch - function patch(k) { - if ( - P.hasOwnProperty('O_SYMLINK') && - process.version.match(/^v0\.6\.[0-2]|^v0\.5\./) - ) { - patchLchmod(k) - } - if (!k.lutimes) { - patchLutimes(k) - } - k.chown = chownFix(k.chown) - k.fchown = chownFix(k.fchown) - k.lchown = chownFix(k.lchown) - k.chmod = chmodFix(k.chmod) - k.fchmod = chmodFix(k.fchmod) - k.lchmod = chmodFix(k.lchmod) - k.chownSync = chownFixSync(k.chownSync) - k.fchownSync = chownFixSync(k.fchownSync) - k.lchownSync = chownFixSync(k.lchownSync) - k.chmodSync = chmodFixSync(k.chmodSync) - k.fchmodSync = chmodFixSync(k.fchmodSync) - k.lchmodSync = chmodFixSync(k.lchmodSync) - k.stat = statFix(k.stat) - k.fstat = statFix(k.fstat) - k.lstat = statFix(k.lstat) - k.statSync = statFixSync(k.statSync) - k.fstatSync = statFixSync(k.fstatSync) - k.lstatSync = statFixSync(k.lstatSync) - if (k.chmod && !k.lchmod) { - k.lchmod = function (k, v, E) { - if (E) process.nextTick(E) - } - k.lchmodSync = function () {} - } - if (k.chown && !k.lchown) { - k.lchown = function (k, v, E, P) { - if (P) process.nextTick(P) - } - k.lchownSync = function () {} - } - if (N === 'win32') { - k.rename = - typeof k.rename !== 'function' - ? k.rename - : (function (v) { - function rename(E, P, R) { - var L = Date.now() - var N = 0 - v(E, P, function CB(q) { - if ( - q && - (q.code === 'EACCES' || - q.code === 'EPERM' || - q.code === 'EBUSY') && - Date.now() - L < 6e4 - ) { - setTimeout(function () { - k.stat(P, function (k, L) { - if (k && k.code === 'ENOENT') v(E, P, CB) - else R(q) - }) - }, N) - if (N < 100) N += 10 - return - } - if (R) R(q) - }) - } - if (Object.setPrototypeOf) Object.setPrototypeOf(rename, v) - return rename - })(k.rename) - } - k.read = - typeof k.read !== 'function' - ? k.read - : (function (v) { - function read(E, P, R, L, N, q) { - var ae - if (q && typeof q === 'function') { - var le = 0 - ae = function (pe, me, ye) { - if (pe && pe.code === 'EAGAIN' && le < 10) { - le++ - return v.call(k, E, P, R, L, N, ae) - } - q.apply(this, arguments) - } - } - return v.call(k, E, P, R, L, N, ae) - } - if (Object.setPrototypeOf) Object.setPrototypeOf(read, v) - return read - })(k.read) - k.readSync = - typeof k.readSync !== 'function' - ? k.readSync - : (function (v) { - return function (E, P, R, L, N) { - var q = 0 - while (true) { - try { - return v.call(k, E, P, R, L, N) - } catch (k) { - if (k.code === 'EAGAIN' && q < 10) { - q++ - continue - } - throw k - } - } - } - })(k.readSync) - function patchLchmod(k) { - k.lchmod = function (v, E, R) { - k.open(v, P.O_WRONLY | P.O_SYMLINK, E, function (v, P) { - if (v) { - if (R) R(v) - return - } - k.fchmod(P, E, function (v) { - k.close(P, function (k) { - if (R) R(v || k) - }) - }) - }) - } - k.lchmodSync = function (v, E) { - var R = k.openSync(v, P.O_WRONLY | P.O_SYMLINK, E) - var L = true - var N - try { - N = k.fchmodSync(R, E) - L = false - } finally { - if (L) { - try { - k.closeSync(R) - } catch (k) {} - } else { - k.closeSync(R) - } - } - return N - } - } - function patchLutimes(k) { - if (P.hasOwnProperty('O_SYMLINK') && k.futimes) { - k.lutimes = function (v, E, R, L) { - k.open(v, P.O_SYMLINK, function (v, P) { - if (v) { - if (L) L(v) - return - } - k.futimes(P, E, R, function (v) { - k.close(P, function (k) { - if (L) L(v || k) - }) - }) - }) - } - k.lutimesSync = function (v, E, R) { - var L = k.openSync(v, P.O_SYMLINK) - var N - var q = true - try { - N = k.futimesSync(L, E, R) - q = false - } finally { - if (q) { - try { - k.closeSync(L) - } catch (k) {} - } else { - k.closeSync(L) - } - } - return N - } - } else if (k.futimes) { - k.lutimes = function (k, v, E, P) { - if (P) process.nextTick(P) - } - k.lutimesSync = function () {} - } - } - function chmodFix(v) { - if (!v) return v - return function (E, P, R) { - return v.call(k, E, P, function (k) { - if (chownErOk(k)) k = null - if (R) R.apply(this, arguments) - }) - } - } - function chmodFixSync(v) { - if (!v) return v - return function (E, P) { - try { - return v.call(k, E, P) - } catch (k) { - if (!chownErOk(k)) throw k - } - } - } - function chownFix(v) { - if (!v) return v - return function (E, P, R, L) { - return v.call(k, E, P, R, function (k) { - if (chownErOk(k)) k = null - if (L) L.apply(this, arguments) - }) - } - } - function chownFixSync(v) { - if (!v) return v - return function (E, P, R) { - try { - return v.call(k, E, P, R) - } catch (k) { - if (!chownErOk(k)) throw k - } - } - } - function statFix(v) { - if (!v) return v - return function (E, P, R) { - if (typeof P === 'function') { - R = P - P = null - } - function callback(k, v) { - if (v) { - if (v.uid < 0) v.uid += 4294967296 - if (v.gid < 0) v.gid += 4294967296 - } - if (R) R.apply(this, arguments) - } - return P ? v.call(k, E, P, callback) : v.call(k, E, callback) - } - } - function statFixSync(v) { - if (!v) return v - return function (E, P) { - var R = P ? v.call(k, E, P) : v.call(k, E) - if (R) { - if (R.uid < 0) R.uid += 4294967296 - if (R.gid < 0) R.gid += 4294967296 - } - return R - } - } - function chownErOk(k) { - if (!k) return true - if (k.code === 'ENOSYS') return true - var v = !process.getuid || process.getuid() !== 0 - if (v) { - if (k.code === 'EINVAL' || k.code === 'EPERM') return true - } - return false - } - } - }, - 54650: function (k) { - 'use strict' - const hexify = (k) => { - const v = k.charCodeAt(0).toString(16).toUpperCase() - return '0x' + (v.length % 2 ? '0' : '') + v - } - const parseError = (k, v, E) => { - if (!v) { - return { - message: k.message + ' while parsing empty string', - position: 0, - } - } - const P = k.message.match(/^Unexpected token (.) .*position\s+(\d+)/i) - const R = P - ? +P[2] - : k.message.match(/^Unexpected end of JSON.*/i) - ? v.length - 1 - : null - const L = P - ? k.message.replace( - /^Unexpected token ./, - `Unexpected token ${JSON.stringify(P[1])} (${hexify(P[1])})` - ) - : k.message - if (R !== null && R !== undefined) { - const k = R <= E ? 0 : R - E - const P = R + E >= v.length ? v.length : R + E - const N = - (k === 0 ? '' : '...') + - v.slice(k, P) + - (P === v.length ? '' : '...') - const q = v === N ? '' : 'near ' - return { - message: L + ` while parsing ${q}${JSON.stringify(N)}`, - position: R, - } - } else { - return { - message: L + ` while parsing '${v.slice(0, E * 2)}'`, - position: 0, - } - } - } - class JSONParseError extends SyntaxError { - constructor(k, v, E, P) { - E = E || 20 - const R = parseError(k, v, E) - super(R.message) - Object.assign(this, R) - this.code = 'EJSONPARSE' - this.systemError = k - Error.captureStackTrace(this, P || this.constructor) - } - get name() { - return this.constructor.name - } - set name(k) {} - get [Symbol.toStringTag]() { - return this.constructor.name - } - } - const v = Symbol.for('indent') - const E = Symbol.for('newline') - const P = /^\s*[{\[]((?:\r?\n)+)([\s\t]*)/ - const R = /^(?:\{\}|\[\])((?:\r?\n)+)?$/ - const parseJson = (k, L, N) => { - const q = stripBOM(k) - N = N || 20 - try { - const [, k = '\n', N = ' '] = q.match(R) || q.match(P) || [, '', ''] - const ae = JSON.parse(q, L) - if (ae && typeof ae === 'object') { - ae[E] = k - ae[v] = N - } - return ae - } catch (v) { - if (typeof k !== 'string' && !Buffer.isBuffer(k)) { - const E = Array.isArray(k) && k.length === 0 - throw Object.assign( - new TypeError(`Cannot parse ${E ? 'an empty array' : String(k)}`), - { code: 'EJSONPARSE', systemError: v } - ) - } - throw new JSONParseError(v, q, N, parseJson) - } - } - const stripBOM = (k) => String(k).replace(/^\uFEFF/, '') - k.exports = parseJson - parseJson.JSONParseError = JSONParseError - parseJson.noExceptions = (k, v) => { - try { - return JSON.parse(stripBOM(k), v) - } catch (k) {} - } - }, - 95183: function (k, v, E) { - /*! - * mime-db - * Copyright(c) 2014 Jonathan Ong - * MIT Licensed - */ - k.exports = E(66282) - }, - 24230: function (k, v, E) { - 'use strict' - /*! - * mime-types - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ var P = E(95183) - var R = E(71017).extname - var L = /^\s*([^;\s]*)(?:;|\s|$)/ - var N = /^text\//i - v.charset = charset - v.charsets = { lookup: charset } - v.contentType = contentType - v.extension = extension - v.extensions = Object.create(null) - v.lookup = lookup - v.types = Object.create(null) - populateMaps(v.extensions, v.types) - function charset(k) { - if (!k || typeof k !== 'string') { - return false - } - var v = L.exec(k) - var E = v && P[v[1].toLowerCase()] - if (E && E.charset) { - return E.charset - } - if (v && N.test(v[1])) { - return 'UTF-8' - } - return false - } - function contentType(k) { - if (!k || typeof k !== 'string') { - return false - } - var E = k.indexOf('/') === -1 ? v.lookup(k) : k - if (!E) { - return false - } - if (E.indexOf('charset') === -1) { - var P = v.charset(E) - if (P) E += '; charset=' + P.toLowerCase() - } - return E - } - function extension(k) { - if (!k || typeof k !== 'string') { - return false - } - var E = L.exec(k) - var P = E && v.extensions[E[1].toLowerCase()] - if (!P || !P.length) { - return false - } - return P[0] - } - function lookup(k) { - if (!k || typeof k !== 'string') { - return false - } - var E = R('x.' + k) - .toLowerCase() - .substr(1) - if (!E) { - return false - } - return v.types[E] || false - } - function populateMaps(k, v) { - var E = ['nginx', 'apache', undefined, 'iana'] - Object.keys(P).forEach(function forEachMimeType(R) { - var L = P[R] - var N = L.extensions - if (!N || !N.length) { - return - } - k[R] = N - for (var q = 0; q < N.length; q++) { - var ae = N[q] - if (v[ae]) { - var le = E.indexOf(P[v[ae]].source) - var pe = E.indexOf(L.source) - if ( - v[ae] !== 'application/octet-stream' && - (le > pe || - (le === pe && v[ae].substr(0, 12) === 'application/')) - ) { - continue - } - } - v[ae] = R - } - }) - } - }, - 94362: function (k, v, E) { - 'use strict' - var P - P = { value: true } - v.Z = void 0 - const { stringHints: R, numberHints: L } = E(30892) - const N = { - type: 1, - not: 1, - oneOf: 1, - anyOf: 1, - if: 1, - enum: 1, - const: 1, - instanceof: 1, - required: 2, - pattern: 2, - patternRequired: 2, - format: 2, - formatMinimum: 2, - formatMaximum: 2, - minimum: 2, - exclusiveMinimum: 2, - maximum: 2, - exclusiveMaximum: 2, - multipleOf: 2, - uniqueItems: 2, - contains: 2, - minLength: 2, - maxLength: 2, - minItems: 2, - maxItems: 2, - minProperties: 2, - maxProperties: 2, - dependencies: 2, - propertyNames: 2, - additionalItems: 2, - additionalProperties: 2, - absolutePath: 2, - } - function filterMax(k, v) { - const E = k.reduce((k, E) => Math.max(k, v(E)), 0) - return k.filter((k) => v(k) === E) - } - function filterChildren(k) { - let v = k - v = filterMax(v, (k) => (k.dataPath ? k.dataPath.length : 0)) - v = filterMax(v, (k) => N[k.keyword] || 2) - return v - } - function findAllChildren(k, v) { - let E = k.length - 1 - const predicate = (v) => k[E].schemaPath.indexOf(v) !== 0 - while (E > -1 && !v.every(predicate)) { - if (k[E].keyword === 'anyOf' || k[E].keyword === 'oneOf') { - const v = extractRefs(k[E]) - const P = findAllChildren(k.slice(0, E), v.concat(k[E].schemaPath)) - E = P - 1 - } else { - E -= 1 - } - } - return E + 1 - } - function extractRefs(k) { - const { schema: v } = k - if (!Array.isArray(v)) { - return [] - } - return v.map(({ $ref: k }) => k).filter((k) => k) - } - function groupChildrenByFirstChild(k) { - const v = [] - let E = k.length - 1 - while (E > 0) { - const P = k[E] - if (P.keyword === 'anyOf' || P.keyword === 'oneOf') { - const R = extractRefs(P) - const L = findAllChildren(k.slice(0, E), R.concat(P.schemaPath)) - if (L !== E) { - v.push(Object.assign({}, P, { children: k.slice(L, E) })) - E = L - } else { - v.push(P) - } - } else { - v.push(P) - } - E -= 1 - } - if (E === 0) { - v.push(k[E]) - } - return v.reverse() - } - function indent(k, v) { - return k.replace(/\n(?!$)/g, `\n${v}`) - } - function hasNotInSchema(k) { - return !!k.not - } - function findFirstTypedSchema(k) { - if (hasNotInSchema(k)) { - return findFirstTypedSchema(k.not) - } - return k - } - function canApplyNot(k) { - const v = findFirstTypedSchema(k) - return ( - likeNumber(v) || - likeInteger(v) || - likeString(v) || - likeNull(v) || - likeBoolean(v) - ) - } - function isObject(k) { - return typeof k === 'object' && k !== null - } - function likeNumber(k) { - return ( - k.type === 'number' || - typeof k.minimum !== 'undefined' || - typeof k.exclusiveMinimum !== 'undefined' || - typeof k.maximum !== 'undefined' || - typeof k.exclusiveMaximum !== 'undefined' || - typeof k.multipleOf !== 'undefined' - ) - } - function likeInteger(k) { - return ( - k.type === 'integer' || - typeof k.minimum !== 'undefined' || - typeof k.exclusiveMinimum !== 'undefined' || - typeof k.maximum !== 'undefined' || - typeof k.exclusiveMaximum !== 'undefined' || - typeof k.multipleOf !== 'undefined' - ) - } - function likeString(k) { - return ( - k.type === 'string' || - typeof k.minLength !== 'undefined' || - typeof k.maxLength !== 'undefined' || - typeof k.pattern !== 'undefined' || - typeof k.format !== 'undefined' || - typeof k.formatMinimum !== 'undefined' || - typeof k.formatMaximum !== 'undefined' - ) - } - function likeBoolean(k) { - return k.type === 'boolean' - } - function likeArray(k) { - return ( - k.type === 'array' || - typeof k.minItems === 'number' || - typeof k.maxItems === 'number' || - typeof k.uniqueItems !== 'undefined' || - typeof k.items !== 'undefined' || - typeof k.additionalItems !== 'undefined' || - typeof k.contains !== 'undefined' - ) - } - function likeObject(k) { - return ( - k.type === 'object' || - typeof k.minProperties !== 'undefined' || - typeof k.maxProperties !== 'undefined' || - typeof k.required !== 'undefined' || - typeof k.properties !== 'undefined' || - typeof k.patternProperties !== 'undefined' || - typeof k.additionalProperties !== 'undefined' || - typeof k.dependencies !== 'undefined' || - typeof k.propertyNames !== 'undefined' || - typeof k.patternRequired !== 'undefined' - ) - } - function likeNull(k) { - return k.type === 'null' - } - function getArticle(k) { - if (/^[aeiou]/i.test(k)) { - return 'an' - } - return 'a' - } - function getSchemaNonTypes(k) { - if (!k) { - return '' - } - if (!k.type) { - if (likeNumber(k) || likeInteger(k)) { - return ' | should be any non-number' - } - if (likeString(k)) { - return ' | should be any non-string' - } - if (likeArray(k)) { - return ' | should be any non-array' - } - if (likeObject(k)) { - return ' | should be any non-object' - } - } - return '' - } - function formatHints(k) { - return k.length > 0 ? `(${k.join(', ')})` : '' - } - function getHints(k, v) { - if (likeNumber(k) || likeInteger(k)) { - return L(k, v) - } else if (likeString(k)) { - return R(k, v) - } - return [] - } - class ValidationError extends Error { - constructor(k, v, E = {}) { - super() - this.name = 'ValidationError' - this.errors = k - this.schema = v - let P - let R - if (v.title && (!E.name || !E.baseDataPath)) { - const k = v.title.match(/^(.+) (.+)$/) - if (k) { - if (!E.name) { - ;[, P] = k - } - if (!E.baseDataPath) { - ;[, , R] = k - } - } - } - this.headerName = E.name || P || 'Object' - this.baseDataPath = E.baseDataPath || R || 'configuration' - this.postFormatter = E.postFormatter || null - const L = `Invalid ${this.baseDataPath} object. ${ - this.headerName - } has been initialized using ${getArticle(this.baseDataPath)} ${ - this.baseDataPath - } object that does not match the API schema.\n` - this.message = `${L}${this.formatValidationErrors(k)}` - Error.captureStackTrace(this, this.constructor) - } - getSchemaPart(k) { - const v = k.split('/') - let E = this.schema - for (let k = 1; k < v.length; k++) { - const P = E[v[k]] - if (!P) { - break - } - E = P - } - return E - } - formatSchema(k, v = true, E = []) { - let P = v - const formatInnerSchema = (v, R) => { - if (!R) { - return this.formatSchema(v, P, E) - } - if (E.includes(v)) { - return '(recursive)' - } - return this.formatSchema(v, P, E.concat(k)) - } - if (hasNotInSchema(k) && !likeObject(k)) { - if (canApplyNot(k.not)) { - P = !v - return formatInnerSchema(k.not) - } - const E = !k.not.not - const R = v ? '' : 'non ' - P = !v - return E ? R + formatInnerSchema(k.not) : formatInnerSchema(k.not) - } - if (k.instanceof) { - const { instanceof: v } = k - const E = !Array.isArray(v) ? [v] : v - return E.map((k) => (k === 'Function' ? 'function' : k)).join(' | ') - } - if (k.enum) { - const v = k.enum - .map((v) => { - if (v === null && k.undefinedAsNull) { - return `${JSON.stringify(v)} | undefined` - } - return JSON.stringify(v) - }) - .join(' | ') - return `${v}` - } - if (typeof k.const !== 'undefined') { - return JSON.stringify(k.const) - } - if (k.oneOf) { - return k.oneOf.map((k) => formatInnerSchema(k, true)).join(' | ') - } - if (k.anyOf) { - return k.anyOf.map((k) => formatInnerSchema(k, true)).join(' | ') - } - if (k.allOf) { - return k.allOf.map((k) => formatInnerSchema(k, true)).join(' & ') - } - if (k.if) { - const { if: v, then: E, else: P } = k - return `${v ? `if ${formatInnerSchema(v)}` : ''}${ - E ? ` then ${formatInnerSchema(E)}` : '' - }${P ? ` else ${formatInnerSchema(P)}` : ''}` - } - if (k.$ref) { - return formatInnerSchema(this.getSchemaPart(k.$ref), true) - } - if (likeNumber(k) || likeInteger(k)) { - const [E, ...P] = getHints(k, v) - const R = `${E}${P.length > 0 ? ` ${formatHints(P)}` : ''}` - return v ? R : P.length > 0 ? `non-${E} | ${R}` : `non-${E}` - } - if (likeString(k)) { - const [E, ...P] = getHints(k, v) - const R = `${E}${P.length > 0 ? ` ${formatHints(P)}` : ''}` - return v ? R : R === 'string' ? 'non-string' : `non-string | ${R}` - } - if (likeBoolean(k)) { - return `${v ? '' : 'non-'}boolean` - } - if (likeArray(k)) { - P = true - const v = [] - if (typeof k.minItems === 'number') { - v.push( - `should not have fewer than ${k.minItems} item${ - k.minItems > 1 ? 's' : '' - }` - ) - } - if (typeof k.maxItems === 'number') { - v.push( - `should not have more than ${k.maxItems} item${ - k.maxItems > 1 ? 's' : '' - }` - ) - } - if (k.uniqueItems) { - v.push('should not have duplicate items') - } - const E = - typeof k.additionalItems === 'undefined' || - Boolean(k.additionalItems) - let R = '' - if (k.items) { - if (Array.isArray(k.items) && k.items.length > 0) { - R = `${k.items.map((k) => formatInnerSchema(k)).join(', ')}` - if (E) { - if ( - k.additionalItems && - isObject(k.additionalItems) && - Object.keys(k.additionalItems).length > 0 - ) { - v.push( - `additional items should be ${formatInnerSchema( - k.additionalItems - )}` - ) - } - } - } else if (k.items && Object.keys(k.items).length > 0) { - R = `${formatInnerSchema(k.items)}` - } else { - R = 'any' - } - } else { - R = 'any' - } - if (k.contains && Object.keys(k.contains).length > 0) { - v.push( - `should contains at least one ${this.formatSchema( - k.contains - )} item` - ) - } - return `[${R}${E ? ', ...' : ''}]${ - v.length > 0 ? ` (${v.join(', ')})` : '' - }` - } - if (likeObject(k)) { - P = true - const v = [] - if (typeof k.minProperties === 'number') { - v.push( - `should not have fewer than ${k.minProperties} ${ - k.minProperties > 1 ? 'properties' : 'property' - }` - ) - } - if (typeof k.maxProperties === 'number') { - v.push( - `should not have more than ${k.maxProperties} ${ - k.minProperties && k.minProperties > 1 - ? 'properties' - : 'property' - }` - ) - } - if ( - k.patternProperties && - Object.keys(k.patternProperties).length > 0 - ) { - const E = Object.keys(k.patternProperties) - v.push( - `additional property names should match pattern${ - E.length > 1 ? 's' : '' - } ${E.map((k) => JSON.stringify(k)).join(' | ')}` - ) - } - const E = k.properties ? Object.keys(k.properties) : [] - const R = k.required ? k.required : [] - const L = [...new Set([].concat(R).concat(E))] - const N = L.map((k) => { - const v = R.includes(k) - return `${k}${v ? '' : '?'}` - }) - .concat( - typeof k.additionalProperties === 'undefined' || - Boolean(k.additionalProperties) - ? k.additionalProperties && isObject(k.additionalProperties) - ? [`: ${formatInnerSchema(k.additionalProperties)}`] - : ['…'] - : [] - ) - .join(', ') - const { - dependencies: q, - propertyNames: ae, - patternRequired: le, - } = k - if (q) { - Object.keys(q).forEach((k) => { - const E = q[k] - if (Array.isArray(E)) { - v.push( - `should have ${ - E.length > 1 ? 'properties' : 'property' - } ${E.map((k) => `'${k}'`).join( - ', ' - )} when property '${k}' is present` - ) - } else { - v.push( - `should be valid according to the schema ${formatInnerSchema( - E - )} when property '${k}' is present` - ) - } - }) - } - if (ae && Object.keys(ae).length > 0) { - v.push( - `each property name should match format ${JSON.stringify( - k.propertyNames.format - )}` - ) - } - if (le && le.length > 0) { - v.push( - `should have property matching pattern ${le.map((k) => - JSON.stringify(k) - )}` - ) - } - return `object {${N ? ` ${N} ` : ''}}${ - v.length > 0 ? ` (${v.join(', ')})` : '' - }` - } - if (likeNull(k)) { - return `${v ? '' : 'non-'}null` - } - if (Array.isArray(k.type)) { - return `${k.type.join(' | ')}` - } - return JSON.stringify(k, null, 2) - } - getSchemaPartText(k, v, E = false, P = true) { - if (!k) { - return '' - } - if (Array.isArray(v)) { - for (let E = 0; E < v.length; E++) { - const P = k[v[E]] - if (P) { - k = P - } else { - break - } - } - } - while (k.$ref) { - k = this.getSchemaPart(k.$ref) - } - let R = `${this.formatSchema(k, P)}${E ? '.' : ''}` - if (k.description) { - R += `\n-> ${k.description}` - } - if (k.link) { - R += `\n-> Read more at ${k.link}` - } - return R - } - getSchemaPartDescription(k) { - if (!k) { - return '' - } - while (k.$ref) { - k = this.getSchemaPart(k.$ref) - } - let v = '' - if (k.description) { - v += `\n-> ${k.description}` - } - if (k.link) { - v += `\n-> Read more at ${k.link}` - } - return v - } - formatValidationError(k) { - const { keyword: v, dataPath: E } = k - const P = `${this.baseDataPath}${E}` - switch (v) { - case 'type': { - const { parentSchema: v, params: E } = k - switch (E.type) { - case 'number': - return `${P} should be a ${this.getSchemaPartText( - v, - false, - true - )}` - case 'integer': - return `${P} should be an ${this.getSchemaPartText( - v, - false, - true - )}` - case 'string': - return `${P} should be a ${this.getSchemaPartText( - v, - false, - true - )}` - case 'boolean': - return `${P} should be a ${this.getSchemaPartText( - v, - false, - true - )}` - case 'array': - return `${P} should be an array:\n${this.getSchemaPartText( - v - )}` - case 'object': - return `${P} should be an object:\n${this.getSchemaPartText( - v - )}` - case 'null': - return `${P} should be a ${this.getSchemaPartText( - v, - false, - true - )}` - default: - return `${P} should be:\n${this.getSchemaPartText(v)}` - } - } - case 'instanceof': { - const { parentSchema: v } = k - return `${P} should be an instance of ${this.getSchemaPartText( - v, - false, - true - )}` - } - case 'pattern': { - const { params: v, parentSchema: E } = k - const { pattern: R } = v - return `${P} should match pattern ${JSON.stringify( - R - )}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}` - } - case 'format': { - const { params: v, parentSchema: E } = k - const { format: R } = v - return `${P} should match format ${JSON.stringify( - R - )}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}` - } - case 'formatMinimum': - case 'formatMaximum': { - const { params: v, parentSchema: E } = k - const { comparison: R, limit: L } = v - return `${P} should be ${R} ${JSON.stringify( - L - )}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}` - } - case 'minimum': - case 'maximum': - case 'exclusiveMinimum': - case 'exclusiveMaximum': { - const { parentSchema: v, params: E } = k - const { comparison: R, limit: L } = E - const [, ...N] = getHints(v, true) - if (N.length === 0) { - N.push(`should be ${R} ${L}`) - } - return `${P} ${N.join(' ')}${getSchemaNonTypes( - v - )}.${this.getSchemaPartDescription(v)}` - } - case 'multipleOf': { - const { params: v, parentSchema: E } = k - const { multipleOf: R } = v - return `${P} should be multiple of ${R}${getSchemaNonTypes( - E - )}.${this.getSchemaPartDescription(E)}` - } - case 'patternRequired': { - const { params: v, parentSchema: E } = k - const { missingPattern: R } = v - return `${P} should have property matching pattern ${JSON.stringify( - R - )}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}` - } - case 'minLength': { - const { params: v, parentSchema: E } = k - const { limit: R } = v - if (R === 1) { - return `${P} should be a non-empty string${getSchemaNonTypes( - E - )}.${this.getSchemaPartDescription(E)}` - } - const L = R - 1 - return `${P} should be longer than ${L} character${ - L > 1 ? 's' : '' - }${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}` - } - case 'minItems': { - const { params: v, parentSchema: E } = k - const { limit: R } = v - if (R === 1) { - return `${P} should be a non-empty array${getSchemaNonTypes( - E - )}.${this.getSchemaPartDescription(E)}` - } - return `${P} should not have fewer than ${R} items${getSchemaNonTypes( - E - )}.${this.getSchemaPartDescription(E)}` - } - case 'minProperties': { - const { params: v, parentSchema: E } = k - const { limit: R } = v - if (R === 1) { - return `${P} should be a non-empty object${getSchemaNonTypes( - E - )}.${this.getSchemaPartDescription(E)}` - } - return `${P} should not have fewer than ${R} properties${getSchemaNonTypes( - E - )}.${this.getSchemaPartDescription(E)}` - } - case 'maxLength': { - const { params: v, parentSchema: E } = k - const { limit: R } = v - const L = R + 1 - return `${P} should be shorter than ${L} character${ - L > 1 ? 's' : '' - }${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}` - } - case 'maxItems': { - const { params: v, parentSchema: E } = k - const { limit: R } = v - return `${P} should not have more than ${R} items${getSchemaNonTypes( - E - )}.${this.getSchemaPartDescription(E)}` - } - case 'maxProperties': { - const { params: v, parentSchema: E } = k - const { limit: R } = v - return `${P} should not have more than ${R} properties${getSchemaNonTypes( - E - )}.${this.getSchemaPartDescription(E)}` - } - case 'uniqueItems': { - const { params: v, parentSchema: E } = k - const { i: R } = v - return `${P} should not contain the item '${ - k.data[R] - }' twice${getSchemaNonTypes(E)}.${this.getSchemaPartDescription( - E - )}` - } - case 'additionalItems': { - const { params: v, parentSchema: E } = k - const { limit: R } = v - return `${P} should not have more than ${R} items${getSchemaNonTypes( - E - )}. These items are valid:\n${this.getSchemaPartText(E)}` - } - case 'contains': { - const { parentSchema: v } = k - return `${P} should contains at least one ${this.getSchemaPartText( - v, - ['contains'] - )} item${getSchemaNonTypes(v)}.` - } - case 'required': { - const { parentSchema: v, params: E } = k - const R = E.missingProperty.replace(/^\./, '') - const L = v && Boolean(v.properties && v.properties[R]) - return `${P} misses the property '${R}'${getSchemaNonTypes(v)}.${ - L - ? ` Should be:\n${this.getSchemaPartText(v, [ - 'properties', - R, - ])}` - : this.getSchemaPartDescription(v) - }` - } - case 'additionalProperties': { - const { params: v, parentSchema: E } = k - const { additionalProperty: R } = v - return `${P} has an unknown property '${R}'${getSchemaNonTypes( - E - )}. These properties are valid:\n${this.getSchemaPartText(E)}` - } - case 'dependencies': { - const { params: v, parentSchema: E } = k - const { property: R, deps: L } = v - const N = L.split(',') - .map((k) => `'${k.trim()}'`) - .join(', ') - return `${P} should have properties ${N} when property '${R}' is present${getSchemaNonTypes( - E - )}.${this.getSchemaPartDescription(E)}` - } - case 'propertyNames': { - const { params: v, parentSchema: E, schema: R } = k - const { propertyName: L } = v - return `${P} property name '${L}' is invalid${getSchemaNonTypes( - E - )}. Property names should be match format ${JSON.stringify( - R.format - )}.${this.getSchemaPartDescription(E)}` - } - case 'enum': { - const { parentSchema: v } = k - if (v && v.enum && v.enum.length === 1) { - return `${P} should be ${this.getSchemaPartText( - v, - false, - true - )}` - } - return `${P} should be one of these:\n${this.getSchemaPartText( - v - )}` - } - case 'const': { - const { parentSchema: v } = k - return `${P} should be equal to constant ${this.getSchemaPartText( - v, - false, - true - )}` - } - case 'not': { - const v = likeObject(k.parentSchema) - ? `\n${this.getSchemaPartText(k.parentSchema)}` - : '' - const E = this.getSchemaPartText(k.schema, false, false, false) - if (canApplyNot(k.schema)) { - return `${P} should be any ${E}${v}.` - } - const { schema: R, parentSchema: L } = k - return `${P} should not be ${this.getSchemaPartText( - R, - false, - true - )}${L && likeObject(L) ? `\n${this.getSchemaPartText(L)}` : ''}` - } - case 'oneOf': - case 'anyOf': { - const { parentSchema: v, children: E } = k - if (E && E.length > 0) { - if (k.schema.length === 1) { - const k = E[E.length - 1] - const P = E.slice(0, E.length - 1) - return this.formatValidationError( - Object.assign({}, k, { - children: P, - parentSchema: Object.assign({}, v, k.parentSchema), - }) - ) - } - let R = filterChildren(E) - if (R.length === 1) { - return this.formatValidationError(R[0]) - } - R = groupChildrenByFirstChild(R) - return `${P} should be one of these:\n${this.getSchemaPartText( - v - )}\nDetails:\n${R.map( - (k) => ` * ${indent(this.formatValidationError(k), ' ')}` - ).join('\n')}` - } - return `${P} should be one of these:\n${this.getSchemaPartText( - v - )}` - } - case 'if': { - const { params: v, parentSchema: E } = k - const { failingKeyword: R } = v - return `${P} should match "${R}" schema:\n${this.getSchemaPartText( - E, - [R] - )}` - } - case 'absolutePath': { - const { message: v, parentSchema: E } = k - return `${P}: ${v}${this.getSchemaPartDescription(E)}` - } - default: { - const { message: v, parentSchema: E } = k - const R = JSON.stringify(k, null, 2) - return `${P} ${v} (${R}).\n${this.getSchemaPartText(E, false)}` - } - } - } - formatValidationErrors(k) { - return k - .map((k) => { - let v = this.formatValidationError(k) - if (this.postFormatter) { - v = this.postFormatter(v, k) - } - return ` - ${indent(v, ' ')}` - }) - .join('\n') - } - } - var q = ValidationError - v.Z = q - }, - 13987: function (k) { - 'use strict' - class Range { - static getOperator(k, v) { - if (k === 'left') { - return v ? '>' : '>=' - } - return v ? '<' : '<=' - } - static formatRight(k, v, E) { - if (v === false) { - return Range.formatLeft(k, !v, !E) - } - return `should be ${Range.getOperator('right', E)} ${k}` - } - static formatLeft(k, v, E) { - if (v === false) { - return Range.formatRight(k, !v, !E) - } - return `should be ${Range.getOperator('left', E)} ${k}` - } - static formatRange(k, v, E, P, R) { - let L = 'should be' - L += ` ${Range.getOperator(R ? 'left' : 'right', R ? E : !E)} ${k} ` - L += R ? 'and' : 'or' - L += ` ${Range.getOperator(R ? 'right' : 'left', R ? P : !P)} ${v}` - return L - } - static getRangeValue(k, v) { - let E = v ? Infinity : -Infinity - let P = -1 - const R = v ? ([k]) => k <= E : ([k]) => k >= E - for (let v = 0; v < k.length; v++) { - if (R(k[v])) { - ;[E] = k[v] - P = v - } - } - if (P > -1) { - return k[P] - } - return [Infinity, true] - } - constructor() { - this._left = [] - this._right = [] - } - left(k, v = false) { - this._left.push([k, v]) - } - right(k, v = false) { - this._right.push([k, v]) - } - format(k = true) { - const [v, E] = Range.getRangeValue(this._left, k) - const [P, R] = Range.getRangeValue(this._right, !k) - if (!Number.isFinite(v) && !Number.isFinite(P)) { - return '' - } - const L = E ? v + 1 : v - const N = R ? P - 1 : P - if (L === N) { - return `should be ${k ? '' : '!'}= ${L}` - } - if (Number.isFinite(v) && !Number.isFinite(P)) { - return Range.formatLeft(v, k, E) - } - if (!Number.isFinite(v) && Number.isFinite(P)) { - return Range.formatRight(P, k, R) - } - return Range.formatRange(v, P, E, R, k) - } - } - k.exports = Range - }, - 30892: function (k, v, E) { - 'use strict' - const P = E(13987) - k.exports.stringHints = function stringHints(k, v) { - const E = [] - let P = 'string' - const R = { ...k } - if (!v) { - const k = R.minLength - const v = R.formatMinimum - const E = R.formatExclusiveMaximum - R.minLength = R.maxLength - R.maxLength = k - R.formatMinimum = R.formatMaximum - R.formatMaximum = v - R.formatExclusiveMaximum = !R.formatExclusiveMinimum - R.formatExclusiveMinimum = !E - } - if (typeof R.minLength === 'number') { - if (R.minLength === 1) { - P = 'non-empty string' - } else { - const k = Math.max(R.minLength - 1, 0) - E.push(`should be longer than ${k} character${k > 1 ? 's' : ''}`) - } - } - if (typeof R.maxLength === 'number') { - if (R.maxLength === 0) { - P = 'empty string' - } else { - const k = R.maxLength + 1 - E.push(`should be shorter than ${k} character${k > 1 ? 's' : ''}`) - } - } - if (R.pattern) { - E.push( - `should${v ? '' : ' not'} match pattern ${JSON.stringify( - R.pattern - )}` - ) - } - if (R.format) { - E.push( - `should${v ? '' : ' not'} match format ${JSON.stringify(R.format)}` - ) - } - if (R.formatMinimum) { - E.push( - `should be ${ - R.formatExclusiveMinimum ? '>' : '>=' - } ${JSON.stringify(R.formatMinimum)}` - ) - } - if (R.formatMaximum) { - E.push( - `should be ${ - R.formatExclusiveMaximum ? '<' : '<=' - } ${JSON.stringify(R.formatMaximum)}` - ) - } - return [P].concat(E) - } - k.exports.numberHints = function numberHints(k, v) { - const E = [k.type === 'integer' ? 'integer' : 'number'] - const R = new P() - if (typeof k.minimum === 'number') { - R.left(k.minimum) - } - if (typeof k.exclusiveMinimum === 'number') { - R.left(k.exclusiveMinimum, true) - } - if (typeof k.maximum === 'number') { - R.right(k.maximum) - } - if (typeof k.exclusiveMaximum === 'number') { - R.right(k.exclusiveMaximum, true) - } - const L = R.format(v) - if (L) { - E.push(L) - } - if (typeof k.multipleOf === 'number') { - E.push(`should${v ? '' : ' not'} be multiple of ${k.multipleOf}`) - } - return E - } - }, - 63597: function (k, v, E) { - 'use strict' - const P = E(25587) - const R = E(51040) - class AsyncParallelBailHookCodeFactory extends R { - content({ onError: k, onResult: v, onDone: E }) { - let P = '' - P += `var _results = new Array(${this.options.taps.length});\n` - P += 'var _checkDone = function() {\n' - P += 'for(var i = 0; i < _results.length; i++) {\n' - P += 'var item = _results[i];\n' - P += 'if(item === undefined) return false;\n' - P += 'if(item.result !== undefined) {\n' - P += v('item.result') - P += 'return true;\n' - P += '}\n' - P += 'if(item.error) {\n' - P += k('item.error') - P += 'return true;\n' - P += '}\n' - P += '}\n' - P += 'return false;\n' - P += '}\n' - P += this.callTapsParallel({ - onError: (k, v, E, P) => { - let R = '' - R += `if(${k} < _results.length && ((_results.length = ${ - k + 1 - }), (_results[${k}] = { error: ${v} }), _checkDone())) {\n` - R += P(true) - R += '} else {\n' - R += E() - R += '}\n' - return R - }, - onResult: (k, v, E, P) => { - let R = '' - R += `if(${k} < _results.length && (${v} !== undefined && (_results.length = ${ - k + 1 - }), (_results[${k}] = { result: ${v} }), _checkDone())) {\n` - R += P(true) - R += '} else {\n' - R += E() - R += '}\n' - return R - }, - onTap: (k, v, E, P) => { - let R = '' - if (k > 0) { - R += `if(${k} >= _results.length) {\n` - R += E() - R += '} else {\n' - } - R += v() - if (k > 0) R += '}\n' - return R - }, - onDone: E, - }) - return P - } - } - const L = new AsyncParallelBailHookCodeFactory() - const COMPILE = function (k) { - L.setup(this, k) - return L.create(k) - } - function AsyncParallelBailHook(k = [], v = undefined) { - const E = new P(k, v) - E.constructor = AsyncParallelBailHook - E.compile = COMPILE - E._call = undefined - E.call = undefined - return E - } - AsyncParallelBailHook.prototype = null - k.exports = AsyncParallelBailHook - }, - 57101: function (k, v, E) { - 'use strict' - const P = E(25587) - const R = E(51040) - class AsyncParallelHookCodeFactory extends R { - content({ onError: k, onDone: v }) { - return this.callTapsParallel({ - onError: (v, E, P, R) => k(E) + R(true), - onDone: v, - }) - } - } - const L = new AsyncParallelHookCodeFactory() - const COMPILE = function (k) { - L.setup(this, k) - return L.create(k) - } - function AsyncParallelHook(k = [], v = undefined) { - const E = new P(k, v) - E.constructor = AsyncParallelHook - E.compile = COMPILE - E._call = undefined - E.call = undefined - return E - } - AsyncParallelHook.prototype = null - k.exports = AsyncParallelHook - }, - 19681: function (k, v, E) { - 'use strict' - const P = E(25587) - const R = E(51040) - class AsyncSeriesBailHookCodeFactory extends R { - content({ onError: k, onResult: v, resultReturns: E, onDone: P }) { - return this.callTapsSeries({ - onError: (v, E, P, R) => k(E) + R(true), - onResult: (k, E, P) => - `if(${E} !== undefined) {\n${v(E)}\n} else {\n${P()}}\n`, - resultReturns: E, - onDone: P, - }) - } - } - const L = new AsyncSeriesBailHookCodeFactory() - const COMPILE = function (k) { - L.setup(this, k) - return L.create(k) - } - function AsyncSeriesBailHook(k = [], v = undefined) { - const E = new P(k, v) - E.constructor = AsyncSeriesBailHook - E.compile = COMPILE - E._call = undefined - E.call = undefined - return E - } - AsyncSeriesBailHook.prototype = null - k.exports = AsyncSeriesBailHook - }, - 12337: function (k, v, E) { - 'use strict' - const P = E(25587) - const R = E(51040) - class AsyncSeriesHookCodeFactory extends R { - content({ onError: k, onDone: v }) { - return this.callTapsSeries({ - onError: (v, E, P, R) => k(E) + R(true), - onDone: v, - }) - } - } - const L = new AsyncSeriesHookCodeFactory() - const COMPILE = function (k) { - L.setup(this, k) - return L.create(k) - } - function AsyncSeriesHook(k = [], v = undefined) { - const E = new P(k, v) - E.constructor = AsyncSeriesHook - E.compile = COMPILE - E._call = undefined - E.call = undefined - return E - } - AsyncSeriesHook.prototype = null - k.exports = AsyncSeriesHook - }, - 60104: function (k, v, E) { - 'use strict' - const P = E(25587) - const R = E(51040) - class AsyncSeriesLoopHookCodeFactory extends R { - content({ onError: k, onDone: v }) { - return this.callTapsLooping({ - onError: (v, E, P, R) => k(E) + R(true), - onDone: v, - }) - } - } - const L = new AsyncSeriesLoopHookCodeFactory() - const COMPILE = function (k) { - L.setup(this, k) - return L.create(k) - } - function AsyncSeriesLoopHook(k = [], v = undefined) { - const E = new P(k, v) - E.constructor = AsyncSeriesLoopHook - E.compile = COMPILE - E._call = undefined - E.call = undefined - return E - } - AsyncSeriesLoopHook.prototype = null - k.exports = AsyncSeriesLoopHook - }, - 79340: function (k, v, E) { - 'use strict' - const P = E(25587) - const R = E(51040) - class AsyncSeriesWaterfallHookCodeFactory extends R { - content({ onError: k, onResult: v, onDone: E }) { - return this.callTapsSeries({ - onError: (v, E, P, R) => k(E) + R(true), - onResult: (k, v, E) => { - let P = '' - P += `if(${v} !== undefined) {\n` - P += `${this._args[0]} = ${v};\n` - P += `}\n` - P += E() - return P - }, - onDone: () => v(this._args[0]), - }) - } - } - const L = new AsyncSeriesWaterfallHookCodeFactory() - const COMPILE = function (k) { - L.setup(this, k) - return L.create(k) - } - function AsyncSeriesWaterfallHook(k = [], v = undefined) { - if (k.length < 1) - throw new Error('Waterfall hooks must have at least one argument') - const E = new P(k, v) - E.constructor = AsyncSeriesWaterfallHook - E.compile = COMPILE - E._call = undefined - E.call = undefined - return E - } - AsyncSeriesWaterfallHook.prototype = null - k.exports = AsyncSeriesWaterfallHook - }, - 25587: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = P.deprecate(() => {}, - 'Hook.context is deprecated and will be removed') - const CALL_DELEGATE = function (...k) { - this.call = this._createCall('sync') - return this.call(...k) - } - const CALL_ASYNC_DELEGATE = function (...k) { - this.callAsync = this._createCall('async') - return this.callAsync(...k) - } - const PROMISE_DELEGATE = function (...k) { - this.promise = this._createCall('promise') - return this.promise(...k) - } - class Hook { - constructor(k = [], v = undefined) { - this._args = k - this.name = v - this.taps = [] - this.interceptors = [] - this._call = CALL_DELEGATE - this.call = CALL_DELEGATE - this._callAsync = CALL_ASYNC_DELEGATE - this.callAsync = CALL_ASYNC_DELEGATE - this._promise = PROMISE_DELEGATE - this.promise = PROMISE_DELEGATE - this._x = undefined - this.compile = this.compile - this.tap = this.tap - this.tapAsync = this.tapAsync - this.tapPromise = this.tapPromise - } - compile(k) { - throw new Error('Abstract: should be overridden') - } - _createCall(k) { - return this.compile({ - taps: this.taps, - interceptors: this.interceptors, - args: this._args, - type: k, - }) - } - _tap(k, v, E) { - if (typeof v === 'string') { - v = { name: v.trim() } - } else if (typeof v !== 'object' || v === null) { - throw new Error('Invalid tap options') - } - if (typeof v.name !== 'string' || v.name === '') { - throw new Error('Missing name for tap') - } - if (typeof v.context !== 'undefined') { - R() - } - v = Object.assign({ type: k, fn: E }, v) - v = this._runRegisterInterceptors(v) - this._insert(v) - } - tap(k, v) { - this._tap('sync', k, v) - } - tapAsync(k, v) { - this._tap('async', k, v) - } - tapPromise(k, v) { - this._tap('promise', k, v) - } - _runRegisterInterceptors(k) { - for (const v of this.interceptors) { - if (v.register) { - const E = v.register(k) - if (E !== undefined) { - k = E - } - } - } - return k - } - withOptions(k) { - const mergeOptions = (v) => - Object.assign({}, k, typeof v === 'string' ? { name: v } : v) - return { - name: this.name, - tap: (k, v) => this.tap(mergeOptions(k), v), - tapAsync: (k, v) => this.tapAsync(mergeOptions(k), v), - tapPromise: (k, v) => this.tapPromise(mergeOptions(k), v), - intercept: (k) => this.intercept(k), - isUsed: () => this.isUsed(), - withOptions: (k) => this.withOptions(mergeOptions(k)), - } - } - isUsed() { - return this.taps.length > 0 || this.interceptors.length > 0 - } - intercept(k) { - this._resetCompilation() - this.interceptors.push(Object.assign({}, k)) - if (k.register) { - for (let v = 0; v < this.taps.length; v++) { - this.taps[v] = k.register(this.taps[v]) - } - } - } - _resetCompilation() { - this.call = this._call - this.callAsync = this._callAsync - this.promise = this._promise - } - _insert(k) { - this._resetCompilation() - let v - if (typeof k.before === 'string') { - v = new Set([k.before]) - } else if (Array.isArray(k.before)) { - v = new Set(k.before) - } - let E = 0 - if (typeof k.stage === 'number') { - E = k.stage - } - let P = this.taps.length - while (P > 0) { - P-- - const k = this.taps[P] - this.taps[P + 1] = k - const R = k.stage || 0 - if (v) { - if (v.has(k.name)) { - v.delete(k.name) - continue - } - if (v.size > 0) { - continue - } - } - if (R > E) { - continue - } - P++ - break - } - this.taps[P] = k - } - } - Object.setPrototypeOf(Hook.prototype, null) - k.exports = Hook - }, - 51040: function (k) { - 'use strict' - class HookCodeFactory { - constructor(k) { - this.config = k - this.options = undefined - this._args = undefined - } - create(k) { - this.init(k) - let v - switch (this.options.type) { - case 'sync': - v = new Function( - this.args(), - '"use strict";\n' + - this.header() + - this.contentWithInterceptors({ - onError: (k) => `throw ${k};\n`, - onResult: (k) => `return ${k};\n`, - resultReturns: true, - onDone: () => '', - rethrowIfPossible: true, - }) - ) - break - case 'async': - v = new Function( - this.args({ after: '_callback' }), - '"use strict";\n' + - this.header() + - this.contentWithInterceptors({ - onError: (k) => `_callback(${k});\n`, - onResult: (k) => `_callback(null, ${k});\n`, - onDone: () => '_callback();\n', - }) - ) - break - case 'promise': - let k = false - const E = this.contentWithInterceptors({ - onError: (v) => { - k = true - return `_error(${v});\n` - }, - onResult: (k) => `_resolve(${k});\n`, - onDone: () => '_resolve();\n', - }) - let P = '' - P += '"use strict";\n' - P += this.header() - P += 'return new Promise((function(_resolve, _reject) {\n' - if (k) { - P += 'var _sync = true;\n' - P += 'function _error(_err) {\n' - P += 'if(_sync)\n' - P += - '_resolve(Promise.resolve().then((function() { throw _err; })));\n' - P += 'else\n' - P += '_reject(_err);\n' - P += '};\n' - } - P += E - if (k) { - P += '_sync = false;\n' - } - P += '}));\n' - v = new Function(this.args(), P) - break - } - this.deinit() - return v - } - setup(k, v) { - k._x = v.taps.map((k) => k.fn) - } - init(k) { - this.options = k - this._args = k.args.slice() - } - deinit() { - this.options = undefined - this._args = undefined - } - contentWithInterceptors(k) { - if (this.options.interceptors.length > 0) { - const v = k.onError - const E = k.onResult - const P = k.onDone - let R = '' - for (let k = 0; k < this.options.interceptors.length; k++) { - const v = this.options.interceptors[k] - if (v.call) { - R += `${this.getInterceptor(k)}.call(${this.args({ - before: v.context ? '_context' : undefined, - })});\n` - } - } - R += this.content( - Object.assign(k, { - onError: - v && - ((k) => { - let E = '' - for (let v = 0; v < this.options.interceptors.length; v++) { - const P = this.options.interceptors[v] - if (P.error) { - E += `${this.getInterceptor(v)}.error(${k});\n` - } - } - E += v(k) - return E - }), - onResult: - E && - ((k) => { - let v = '' - for (let E = 0; E < this.options.interceptors.length; E++) { - const P = this.options.interceptors[E] - if (P.result) { - v += `${this.getInterceptor(E)}.result(${k});\n` - } - } - v += E(k) - return v - }), - onDone: - P && - (() => { - let k = '' - for (let v = 0; v < this.options.interceptors.length; v++) { - const E = this.options.interceptors[v] - if (E.done) { - k += `${this.getInterceptor(v)}.done();\n` - } - } - k += P() - return k - }), - }) - ) - return R - } else { - return this.content(k) - } - } - header() { - let k = '' - if (this.needContext()) { - k += 'var _context = {};\n' - } else { - k += 'var _context;\n' - } - k += 'var _x = this._x;\n' - if (this.options.interceptors.length > 0) { - k += 'var _taps = this.taps;\n' - k += 'var _interceptors = this.interceptors;\n' - } - return k - } - needContext() { - for (const k of this.options.taps) if (k.context) return true - return false - } - callTap( - k, - { onError: v, onResult: E, onDone: P, rethrowIfPossible: R } - ) { - let L = '' - let N = false - for (let v = 0; v < this.options.interceptors.length; v++) { - const E = this.options.interceptors[v] - if (E.tap) { - if (!N) { - L += `var _tap${k} = ${this.getTap(k)};\n` - N = true - } - L += `${this.getInterceptor(v)}.tap(${ - E.context ? '_context, ' : '' - }_tap${k});\n` - } - } - L += `var _fn${k} = ${this.getTapFn(k)};\n` - const q = this.options.taps[k] - switch (q.type) { - case 'sync': - if (!R) { - L += `var _hasError${k} = false;\n` - L += 'try {\n' - } - if (E) { - L += `var _result${k} = _fn${k}(${this.args({ - before: q.context ? '_context' : undefined, - })});\n` - } else { - L += `_fn${k}(${this.args({ - before: q.context ? '_context' : undefined, - })});\n` - } - if (!R) { - L += '} catch(_err) {\n' - L += `_hasError${k} = true;\n` - L += v('_err') - L += '}\n' - L += `if(!_hasError${k}) {\n` - } - if (E) { - L += E(`_result${k}`) - } - if (P) { - L += P() - } - if (!R) { - L += '}\n' - } - break - case 'async': - let N = '' - if (E) N += `(function(_err${k}, _result${k}) {\n` - else N += `(function(_err${k}) {\n` - N += `if(_err${k}) {\n` - N += v(`_err${k}`) - N += '} else {\n' - if (E) { - N += E(`_result${k}`) - } - if (P) { - N += P() - } - N += '}\n' - N += '})' - L += `_fn${k}(${this.args({ - before: q.context ? '_context' : undefined, - after: N, - })});\n` - break - case 'promise': - L += `var _hasResult${k} = false;\n` - L += `var _promise${k} = _fn${k}(${this.args({ - before: q.context ? '_context' : undefined, - })});\n` - L += `if (!_promise${k} || !_promise${k}.then)\n` - L += ` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${k} + ')');\n` - L += `_promise${k}.then((function(_result${k}) {\n` - L += `_hasResult${k} = true;\n` - if (E) { - L += E(`_result${k}`) - } - if (P) { - L += P() - } - L += `}), function(_err${k}) {\n` - L += `if(_hasResult${k}) throw _err${k};\n` - L += v(`_err${k}`) - L += '});\n' - break - } - return L - } - callTapsSeries({ - onError: k, - onResult: v, - resultReturns: E, - onDone: P, - doneReturns: R, - rethrowIfPossible: L, - }) { - if (this.options.taps.length === 0) return P() - const N = this.options.taps.findIndex((k) => k.type !== 'sync') - const q = E || R - let ae = '' - let le = P - let pe = 0 - for (let E = this.options.taps.length - 1; E >= 0; E--) { - const R = E - const me = - le !== P && (this.options.taps[R].type !== 'sync' || pe++ > 20) - if (me) { - pe = 0 - ae += `function _next${R}() {\n` - ae += le() - ae += `}\n` - le = () => `${q ? 'return ' : ''}_next${R}();\n` - } - const ye = le - const doneBreak = (k) => { - if (k) return '' - return P() - } - const _e = this.callTap(R, { - onError: (v) => k(R, v, ye, doneBreak), - onResult: v && ((k) => v(R, k, ye, doneBreak)), - onDone: !v && ye, - rethrowIfPossible: L && (N < 0 || R < N), - }) - le = () => _e - } - ae += le() - return ae - } - callTapsLooping({ onError: k, onDone: v, rethrowIfPossible: E }) { - if (this.options.taps.length === 0) return v() - const P = this.options.taps.every((k) => k.type === 'sync') - let R = '' - if (!P) { - R += 'var _looper = (function() {\n' - R += 'var _loopAsync = false;\n' - } - R += 'var _loop;\n' - R += 'do {\n' - R += '_loop = false;\n' - for (let k = 0; k < this.options.interceptors.length; k++) { - const v = this.options.interceptors[k] - if (v.loop) { - R += `${this.getInterceptor(k)}.loop(${this.args({ - before: v.context ? '_context' : undefined, - })});\n` - } - } - R += this.callTapsSeries({ - onError: k, - onResult: (k, v, E, R) => { - let L = '' - L += `if(${v} !== undefined) {\n` - L += '_loop = true;\n' - if (!P) L += 'if(_loopAsync) _looper();\n' - L += R(true) - L += `} else {\n` - L += E() - L += `}\n` - return L - }, - onDone: - v && - (() => { - let k = '' - k += 'if(!_loop) {\n' - k += v() - k += '}\n' - return k - }), - rethrowIfPossible: E && P, - }) - R += '} while(_loop);\n' - if (!P) { - R += '_loopAsync = true;\n' - R += '});\n' - R += '_looper();\n' - } - return R - } - callTapsParallel({ - onError: k, - onResult: v, - onDone: E, - rethrowIfPossible: P, - onTap: R = (k, v) => v(), - }) { - if (this.options.taps.length <= 1) { - return this.callTapsSeries({ - onError: k, - onResult: v, - onDone: E, - rethrowIfPossible: P, - }) - } - let L = '' - L += 'do {\n' - L += `var _counter = ${this.options.taps.length};\n` - if (E) { - L += 'var _done = (function() {\n' - L += E() - L += '});\n' - } - for (let N = 0; N < this.options.taps.length; N++) { - const done = () => { - if (E) return 'if(--_counter === 0) _done();\n' - else return '--_counter;' - } - const doneBreak = (k) => { - if (k || !E) return '_counter = 0;\n' - else return '_counter = 0;\n_done();\n' - } - L += 'if(_counter <= 0) break;\n' - L += R( - N, - () => - this.callTap(N, { - onError: (v) => { - let E = '' - E += 'if(_counter > 0) {\n' - E += k(N, v, done, doneBreak) - E += '}\n' - return E - }, - onResult: - v && - ((k) => { - let E = '' - E += 'if(_counter > 0) {\n' - E += v(N, k, done, doneBreak) - E += '}\n' - return E - }), - onDone: !v && (() => done()), - rethrowIfPossible: P, - }), - done, - doneBreak - ) - } - L += '} while(false);\n' - return L - } - args({ before: k, after: v } = {}) { - let E = this._args - if (k) E = [k].concat(E) - if (v) E = E.concat(v) - if (E.length === 0) { - return '' - } else { - return E.join(', ') - } - } - getTapFn(k) { - return `_x[${k}]` - } - getTap(k) { - return `_taps[${k}]` - } - getInterceptor(k) { - return `_interceptors[${k}]` - } - } - k.exports = HookCodeFactory - }, - 76763: function (k, v, E) { - 'use strict' - const P = E(73837) - const defaultFactory = (k, v) => v - class HookMap { - constructor(k, v = undefined) { - this._map = new Map() - this.name = v - this._factory = k - this._interceptors = [] - } - get(k) { - return this._map.get(k) - } - for(k) { - const v = this.get(k) - if (v !== undefined) { - return v - } - let E = this._factory(k) - const P = this._interceptors - for (let v = 0; v < P.length; v++) { - E = P[v].factory(k, E) - } - this._map.set(k, E) - return E - } - intercept(k) { - this._interceptors.push(Object.assign({ factory: defaultFactory }, k)) - } - } - HookMap.prototype.tap = P.deprecate(function (k, v, E) { - return this.for(k).tap(v, E) - }, 'HookMap#tap(key,…) is deprecated. Use HookMap#for(key).tap(…) instead.') - HookMap.prototype.tapAsync = P.deprecate(function (k, v, E) { - return this.for(k).tapAsync(v, E) - }, 'HookMap#tapAsync(key,…) is deprecated. Use HookMap#for(key).tapAsync(…) instead.') - HookMap.prototype.tapPromise = P.deprecate(function (k, v, E) { - return this.for(k).tapPromise(v, E) - }, 'HookMap#tapPromise(key,…) is deprecated. Use HookMap#for(key).tapPromise(…) instead.') - k.exports = HookMap - }, - 49771: function (k, v, E) { - 'use strict' - const P = E(25587) - class MultiHook { - constructor(k, v = undefined) { - this.hooks = k - this.name = v - } - tap(k, v) { - for (const E of this.hooks) { - E.tap(k, v) - } - } - tapAsync(k, v) { - for (const E of this.hooks) { - E.tapAsync(k, v) - } - } - tapPromise(k, v) { - for (const E of this.hooks) { - E.tapPromise(k, v) - } - } - isUsed() { - for (const k of this.hooks) { - if (k.isUsed()) return true - } - return false - } - intercept(k) { - for (const v of this.hooks) { - v.intercept(k) - } - } - withOptions(k) { - return new MultiHook( - this.hooks.map((v) => v.withOptions(k)), - this.name - ) - } - } - k.exports = MultiHook - }, - 80038: function (k, v, E) { - 'use strict' - const P = E(25587) - const R = E(51040) - class SyncBailHookCodeFactory extends R { - content({ - onError: k, - onResult: v, - resultReturns: E, - onDone: P, - rethrowIfPossible: R, - }) { - return this.callTapsSeries({ - onError: (v, E) => k(E), - onResult: (k, E, P) => - `if(${E} !== undefined) {\n${v(E)};\n} else {\n${P()}}\n`, - resultReturns: E, - onDone: P, - rethrowIfPossible: R, - }) - } - } - const L = new SyncBailHookCodeFactory() - const TAP_ASYNC = () => { - throw new Error('tapAsync is not supported on a SyncBailHook') - } - const TAP_PROMISE = () => { - throw new Error('tapPromise is not supported on a SyncBailHook') - } - const COMPILE = function (k) { - L.setup(this, k) - return L.create(k) - } - function SyncBailHook(k = [], v = undefined) { - const E = new P(k, v) - E.constructor = SyncBailHook - E.tapAsync = TAP_ASYNC - E.tapPromise = TAP_PROMISE - E.compile = COMPILE - return E - } - SyncBailHook.prototype = null - k.exports = SyncBailHook - }, - 52606: function (k, v, E) { - 'use strict' - const P = E(25587) - const R = E(51040) - class SyncHookCodeFactory extends R { - content({ onError: k, onDone: v, rethrowIfPossible: E }) { - return this.callTapsSeries({ - onError: (v, E) => k(E), - onDone: v, - rethrowIfPossible: E, - }) - } - } - const L = new SyncHookCodeFactory() - const TAP_ASYNC = () => { - throw new Error('tapAsync is not supported on a SyncHook') - } - const TAP_PROMISE = () => { - throw new Error('tapPromise is not supported on a SyncHook') - } - const COMPILE = function (k) { - L.setup(this, k) - return L.create(k) - } - function SyncHook(k = [], v = undefined) { - const E = new P(k, v) - E.constructor = SyncHook - E.tapAsync = TAP_ASYNC - E.tapPromise = TAP_PROMISE - E.compile = COMPILE - return E - } - SyncHook.prototype = null - k.exports = SyncHook - }, - 10359: function (k, v, E) { - 'use strict' - const P = E(25587) - const R = E(51040) - class SyncLoopHookCodeFactory extends R { - content({ onError: k, onDone: v, rethrowIfPossible: E }) { - return this.callTapsLooping({ - onError: (v, E) => k(E), - onDone: v, - rethrowIfPossible: E, - }) - } - } - const L = new SyncLoopHookCodeFactory() - const TAP_ASYNC = () => { - throw new Error('tapAsync is not supported on a SyncLoopHook') - } - const TAP_PROMISE = () => { - throw new Error('tapPromise is not supported on a SyncLoopHook') - } - const COMPILE = function (k) { - L.setup(this, k) - return L.create(k) - } - function SyncLoopHook(k = [], v = undefined) { - const E = new P(k, v) - E.constructor = SyncLoopHook - E.tapAsync = TAP_ASYNC - E.tapPromise = TAP_PROMISE - E.compile = COMPILE - return E - } - SyncLoopHook.prototype = null - k.exports = SyncLoopHook - }, - 3746: function (k, v, E) { - 'use strict' - const P = E(25587) - const R = E(51040) - class SyncWaterfallHookCodeFactory extends R { - content({ - onError: k, - onResult: v, - resultReturns: E, - rethrowIfPossible: P, - }) { - return this.callTapsSeries({ - onError: (v, E) => k(E), - onResult: (k, v, E) => { - let P = '' - P += `if(${v} !== undefined) {\n` - P += `${this._args[0]} = ${v};\n` - P += `}\n` - P += E() - return P - }, - onDone: () => v(this._args[0]), - doneReturns: E, - rethrowIfPossible: P, - }) - } - } - const L = new SyncWaterfallHookCodeFactory() - const TAP_ASYNC = () => { - throw new Error('tapAsync is not supported on a SyncWaterfallHook') - } - const TAP_PROMISE = () => { - throw new Error('tapPromise is not supported on a SyncWaterfallHook') - } - const COMPILE = function (k) { - L.setup(this, k) - return L.create(k) - } - function SyncWaterfallHook(k = [], v = undefined) { - if (k.length < 1) - throw new Error('Waterfall hooks must have at least one argument') - const E = new P(k, v) - E.constructor = SyncWaterfallHook - E.tapAsync = TAP_ASYNC - E.tapPromise = TAP_PROMISE - E.compile = COMPILE - return E - } - SyncWaterfallHook.prototype = null - k.exports = SyncWaterfallHook - }, - 79846: function (k, v, E) { - 'use strict' - v.__esModule = true - v.SyncHook = E(52606) - v.SyncBailHook = E(80038) - v.SyncWaterfallHook = E(3746) - v.SyncLoopHook = E(10359) - v.AsyncParallelHook = E(57101) - v.AsyncParallelBailHook = E(63597) - v.AsyncSeriesHook = E(12337) - v.AsyncSeriesBailHook = E(19681) - v.AsyncSeriesLoopHook = E(60104) - v.AsyncSeriesWaterfallHook = E(79340) - v.HookMap = E(76763) - v.MultiHook = E(49771) - }, - 36849: function (k) { - /*! ***************************************************************************** +(function(){var k={75583:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.cloneNode=cloneNode;function cloneNode(k){return Object.assign({},k)}},26333:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});var P={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(v,"numberLiteralFromRaw",{enumerable:true,get:function get(){return L.numberLiteralFromRaw}});Object.defineProperty(v,"withLoc",{enumerable:true,get:function get(){return L.withLoc}});Object.defineProperty(v,"withRaw",{enumerable:true,get:function get(){return L.withRaw}});Object.defineProperty(v,"funcParam",{enumerable:true,get:function get(){return L.funcParam}});Object.defineProperty(v,"indexLiteral",{enumerable:true,get:function get(){return L.indexLiteral}});Object.defineProperty(v,"memIndexLiteral",{enumerable:true,get:function get(){return L.memIndexLiteral}});Object.defineProperty(v,"instruction",{enumerable:true,get:function get(){return L.instruction}});Object.defineProperty(v,"objectInstruction",{enumerable:true,get:function get(){return L.objectInstruction}});Object.defineProperty(v,"traverse",{enumerable:true,get:function get(){return N.traverse}});Object.defineProperty(v,"signatures",{enumerable:true,get:function get(){return q.signatures}});Object.defineProperty(v,"cloneNode",{enumerable:true,get:function get(){return le.cloneNode}});Object.defineProperty(v,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return pe.moduleContextFromModuleAST}});var R=E(860);Object.keys(R).forEach((function(k){if(k==="default"||k==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P,k))return;if(k in v&&v[k]===R[k])return;Object.defineProperty(v,k,{enumerable:true,get:function get(){return R[k]}})}));var L=E(68958);var N=E(11885);var q=E(96395);var ae=E(20885);Object.keys(ae).forEach((function(k){if(k==="default"||k==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P,k))return;if(k in v&&v[k]===ae[k])return;Object.defineProperty(v,k,{enumerable:true,get:function get(){return ae[k]}})}));var le=E(75583);var pe=E(15067)},68958:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.numberLiteralFromRaw=numberLiteralFromRaw;v.instruction=instruction;v.objectInstruction=objectInstruction;v.withLoc=withLoc;v.withRaw=withRaw;v.funcParam=funcParam;v.indexLiteral=indexLiteral;v.memIndexLiteral=memIndexLiteral;var P=E(37197);var R=E(860);function numberLiteralFromRaw(k){var v=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var E=k;if(typeof k==="string"){k=k.replace(/_/g,"")}if(typeof k==="number"){return(0,R.numberLiteral)(k,String(E))}else{switch(v){case"i32":{return(0,R.numberLiteral)((0,P.parse32I)(k),String(E))}case"u32":{return(0,R.numberLiteral)((0,P.parseU32)(k),String(E))}case"i64":{return(0,R.longNumberLiteral)((0,P.parse64I)(k),String(E))}case"f32":{return(0,R.floatLiteral)((0,P.parse32F)(k),(0,P.isNanLiteral)(k),(0,P.isInfLiteral)(k),String(E))}default:{return(0,R.floatLiteral)((0,P.parse64F)(k),(0,P.isNanLiteral)(k),(0,P.isInfLiteral)(k),String(E))}}}}function instruction(k){var v=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var E=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,R.instr)(k,undefined,v,E)}function objectInstruction(k,v){var E=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var P=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,R.instr)(k,v,E,P)}function withLoc(k,v,E){var P={start:E,end:v};k.loc=P;return k}function withRaw(k,v){k.raw=v;return k}function funcParam(k,v){return{id:v,valtype:k}}function indexLiteral(k){var v=numberLiteralFromRaw(k,"u32");return v}function memIndexLiteral(k){var v=numberLiteralFromRaw(k,"u32");return v}},92489:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.createPath=createPath;function ownKeys(k,v){var E=Object.keys(k);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(k);if(v){P=P.filter((function(v){return Object.getOwnPropertyDescriptor(k,v).enumerable}))}E.push.apply(E,P)}return E}function _objectSpread(k){for(var v=1;v2&&arguments[2]!==undefined?arguments[2]:0;if(!P){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!(R!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var q=R.node[L];var ae=q.findIndex((function(k){return k===E}));q.splice(ae+N,0,v)}function remove(k){var v=k.node,E=k.parentKey,P=k.parentPath;if(!(P!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var R=P.node;var L=R[E];if(Array.isArray(L)){R[E]=L.filter((function(k){return k!==v}))}else{delete R[E]}v._deleted=true}function stop(k){k.shouldStop=true}function replaceWith(k,v){var E=k.parentPath.node;var P=E[k.parentKey];if(Array.isArray(P)){var R=P.findIndex((function(v){return v===k.node}));P.splice(R,1,v)}else{E[k.parentKey]=v}k.node._deleted=true;k.node=v}function bindNodeOperations(k,v){var E=Object.keys(k);var P={};E.forEach((function(E){P[E]=k[E].bind(null,v)}));return P}function createPathOperations(k){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},k)}function createPath(k){var v=_objectSpread({},k);Object.assign(v,createPathOperations(v));return v}},860:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.module=_module;v.moduleMetadata=moduleMetadata;v.moduleNameMetadata=moduleNameMetadata;v.functionNameMetadata=functionNameMetadata;v.localNameMetadata=localNameMetadata;v.binaryModule=binaryModule;v.quoteModule=quoteModule;v.sectionMetadata=sectionMetadata;v.producersSectionMetadata=producersSectionMetadata;v.producerMetadata=producerMetadata;v.producerMetadataVersionedName=producerMetadataVersionedName;v.loopInstruction=loopInstruction;v.instr=instr;v.ifInstruction=ifInstruction;v.stringLiteral=stringLiteral;v.numberLiteral=numberLiteral;v.longNumberLiteral=longNumberLiteral;v.floatLiteral=floatLiteral;v.elem=elem;v.indexInFuncSection=indexInFuncSection;v.valtypeLiteral=valtypeLiteral;v.typeInstruction=typeInstruction;v.start=start;v.globalType=globalType;v.leadingComment=leadingComment;v.blockComment=blockComment;v.data=data;v.global=global;v.table=table;v.memory=memory;v.funcImportDescr=funcImportDescr;v.moduleImport=moduleImport;v.moduleExportDescr=moduleExportDescr;v.moduleExport=moduleExport;v.limit=limit;v.signature=signature;v.program=program;v.identifier=identifier;v.blockInstruction=blockInstruction;v.callInstruction=callInstruction;v.callIndirectInstruction=callIndirectInstruction;v.byteArray=byteArray;v.func=func;v.internalBrUnless=internalBrUnless;v.internalGoto=internalGoto;v.internalCallExtern=internalCallExtern;v.internalEndAndReturn=internalEndAndReturn;v.assertInternalCallExtern=v.assertInternalGoto=v.assertInternalBrUnless=v.assertFunc=v.assertByteArray=v.assertCallIndirectInstruction=v.assertCallInstruction=v.assertBlockInstruction=v.assertIdentifier=v.assertProgram=v.assertSignature=v.assertLimit=v.assertModuleExport=v.assertModuleExportDescr=v.assertModuleImport=v.assertFuncImportDescr=v.assertMemory=v.assertTable=v.assertGlobal=v.assertData=v.assertBlockComment=v.assertLeadingComment=v.assertGlobalType=v.assertStart=v.assertTypeInstruction=v.assertValtypeLiteral=v.assertIndexInFuncSection=v.assertElem=v.assertFloatLiteral=v.assertLongNumberLiteral=v.assertNumberLiteral=v.assertStringLiteral=v.assertIfInstruction=v.assertInstr=v.assertLoopInstruction=v.assertProducerMetadataVersionedName=v.assertProducerMetadata=v.assertProducersSectionMetadata=v.assertSectionMetadata=v.assertQuoteModule=v.assertBinaryModule=v.assertLocalNameMetadata=v.assertFunctionNameMetadata=v.assertModuleNameMetadata=v.assertModuleMetadata=v.assertModule=v.isIntrinsic=v.isImportDescr=v.isNumericLiteral=v.isExpression=v.isInstruction=v.isBlock=v.isNode=v.isInternalEndAndReturn=v.isInternalCallExtern=v.isInternalGoto=v.isInternalBrUnless=v.isFunc=v.isByteArray=v.isCallIndirectInstruction=v.isCallInstruction=v.isBlockInstruction=v.isIdentifier=v.isProgram=v.isSignature=v.isLimit=v.isModuleExport=v.isModuleExportDescr=v.isModuleImport=v.isFuncImportDescr=v.isMemory=v.isTable=v.isGlobal=v.isData=v.isBlockComment=v.isLeadingComment=v.isGlobalType=v.isStart=v.isTypeInstruction=v.isValtypeLiteral=v.isIndexInFuncSection=v.isElem=v.isFloatLiteral=v.isLongNumberLiteral=v.isNumberLiteral=v.isStringLiteral=v.isIfInstruction=v.isInstr=v.isLoopInstruction=v.isProducerMetadataVersionedName=v.isProducerMetadata=v.isProducersSectionMetadata=v.isSectionMetadata=v.isQuoteModule=v.isBinaryModule=v.isLocalNameMetadata=v.isFunctionNameMetadata=v.isModuleNameMetadata=v.isModuleMetadata=v.isModule=void 0;v.nodeAndUnionTypes=v.unionTypesMap=v.assertInternalEndAndReturn=void 0;function _typeof(k){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(k){return typeof k}}else{_typeof=function _typeof(k){return k&&typeof Symbol==="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k}}return _typeof(k)}function isTypeOf(k){return function(v){return v.type===k}}function assertTypeOf(k){return function(v){return function(){if(!(v.type===k)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(k,v,E){if(k!==null&&k!==undefined){if(!(typeof k==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(k)||0))}}if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"Module",id:k,fields:v};if(typeof E!=="undefined"){P.metadata=E}return P}function moduleMetadata(k,v,E,P){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(v!==null&&v!==undefined){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(P!==null&&P!==undefined){if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var R={type:"ModuleMetadata",sections:k};if(typeof v!=="undefined"&&v.length>0){R.functionNames=v}if(typeof E!=="undefined"&&E.length>0){R.localNames=E}if(typeof P!=="undefined"&&P.length>0){R.producers=P}return R}function moduleNameMetadata(k){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}var v={type:"ModuleNameMetadata",value:k};return v}function functionNameMetadata(k,v){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}if(!(typeof v==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(v)||0))}var E={type:"FunctionNameMetadata",value:k,index:v};return E}function localNameMetadata(k,v,E){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}if(!(typeof v==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(v)||0))}if(!(typeof E==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(E)||0))}var P={type:"LocalNameMetadata",value:k,localIndex:v,functionIndex:E};return P}function binaryModule(k,v){if(k!==null&&k!==undefined){if(!(typeof k==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(k)||0))}}if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"BinaryModule",id:k,blob:v};return E}function quoteModule(k,v){if(k!==null&&k!==undefined){if(!(typeof k==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(k)||0))}}if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"QuoteModule",id:k,string:v};return E}function sectionMetadata(k,v,E,P){if(!(typeof v==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(v)||0))}var R={type:"SectionMetadata",section:k,startOffset:v,size:E,vectorOfSize:P};return R}function producersSectionMetadata(k){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var v={type:"ProducersSectionMetadata",producers:k};return v}function producerMetadata(k,v,E){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"ProducerMetadata",language:k,processedBy:v,sdk:E};return P}function producerMetadataVersionedName(k,v){if(!(typeof k==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(k)||0))}if(!(typeof v==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(v)||0))}var E={type:"ProducerMetadataVersionedName",name:k,version:v};return E}function loopInstruction(k,v,E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"LoopInstruction",id:"loop",label:k,resulttype:v,instr:E};return P}function instr(k,v,E,P){if(!(typeof k==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(k)||0))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Instr",id:k,args:E};if(typeof v!=="undefined"){R.object=v}if(typeof P!=="undefined"&&Object.keys(P).length!==0){R.namedArgs=P}return R}function ifInstruction(k,v,E,P,R){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var L={type:"IfInstruction",id:"if",testLabel:k,test:v,result:E,consequent:P,alternate:R};return L}function stringLiteral(k){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}var v={type:"StringLiteral",value:k};return v}function numberLiteral(k,v){if(!(typeof k==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(k)||0))}if(!(typeof v==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(v)||0))}var E={type:"NumberLiteral",value:k,raw:v};return E}function longNumberLiteral(k,v){if(!(typeof v==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(v)||0))}var E={type:"LongNumberLiteral",value:k,raw:v};return E}function floatLiteral(k,v,E,P){if(!(typeof k==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(k)||0))}if(v!==null&&v!==undefined){if(!(typeof v==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(v)||0))}}if(E!==null&&E!==undefined){if(!(typeof E==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(E)||0))}}if(!(typeof P==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(P)||0))}var R={type:"FloatLiteral",value:k,raw:P};if(v===true){R.nan=true}if(E===true){R.inf=true}return R}function elem(k,v,E){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"Elem",table:k,offset:v,funcs:E};return P}function indexInFuncSection(k){var v={type:"IndexInFuncSection",index:k};return v}function valtypeLiteral(k){var v={type:"ValtypeLiteral",name:k};return v}function typeInstruction(k,v){var E={type:"TypeInstruction",id:k,functype:v};return E}function start(k){var v={type:"Start",index:k};return v}function globalType(k,v){var E={type:"GlobalType",valtype:k,mutability:v};return E}function leadingComment(k){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}var v={type:"LeadingComment",value:k};return v}function blockComment(k){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}var v={type:"BlockComment",value:k};return v}function data(k,v,E){var P={type:"Data",memoryIndex:k,offset:v,init:E};return P}function global(k,v,E){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"Global",globalType:k,init:v,name:E};return P}function table(k,v,E,P){if(!(v.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+v.type||0))}if(P!==null&&P!==undefined){if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var R={type:"Table",elementType:k,limits:v,name:E};if(typeof P!=="undefined"&&P.length>0){R.elements=P}return R}function memory(k,v){var E={type:"Memory",limits:k,id:v};return E}function funcImportDescr(k,v){var E={type:"FuncImportDescr",id:k,signature:v};return E}function moduleImport(k,v,E){if(!(typeof k==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(k)||0))}if(!(typeof v==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(v)||0))}var P={type:"ModuleImport",module:k,name:v,descr:E};return P}function moduleExportDescr(k,v){var E={type:"ModuleExportDescr",exportType:k,id:v};return E}function moduleExport(k,v){if(!(typeof k==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(k)||0))}var E={type:"ModuleExport",name:k,descr:v};return E}function limit(k,v,E){if(!(typeof k==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(k)||0))}if(v!==null&&v!==undefined){if(!(typeof v==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(v)||0))}}if(E!==null&&E!==undefined){if(!(typeof E==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(E)||0))}}var P={type:"Limit",min:k};if(typeof v!=="undefined"){P.max=v}if(E===true){P.shared=true}return P}function signature(k,v){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"Signature",params:k,results:v};return E}function program(k){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var v={type:"Program",body:k};return v}function identifier(k,v){if(!(typeof k==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(k)||0))}if(v!==null&&v!==undefined){if(!(typeof v==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(v)||0))}}var E={type:"Identifier",value:k};if(typeof v!=="undefined"){E.raw=v}return E}function blockInstruction(k,v,E){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"BlockInstruction",id:"block",label:k,instr:v,result:E};return P}function callInstruction(k,v,E){if(v!==null&&v!==undefined){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var P={type:"CallInstruction",id:"call",index:k};if(typeof v!=="undefined"&&v.length>0){P.instrArgs=v}if(typeof E!=="undefined"){P.numeric=E}return P}function callIndirectInstruction(k,v){if(v!==null&&v!==undefined){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var E={type:"CallIndirectInstruction",id:"call_indirect",signature:k};if(typeof v!=="undefined"&&v.length>0){E.intrs=v}return E}function byteArray(k){if(!(_typeof(k)==="object"&&typeof k.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var v={type:"ByteArray",values:k};return v}function func(k,v,E,P,R){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(P!==null&&P!==undefined){if(!(typeof P==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof(P)||0))}}var L={type:"Func",name:k,signature:v,body:E};if(P===true){L.isExternal=true}if(typeof R!=="undefined"){L.metadata=R}return L}function internalBrUnless(k){if(!(typeof k==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(k)||0))}var v={type:"InternalBrUnless",target:k};return v}function internalGoto(k){if(!(typeof k==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(k)||0))}var v={type:"InternalGoto",target:k};return v}function internalCallExtern(k){if(!(typeof k==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(k)||0))}var v={type:"InternalCallExtern",target:k};return v}function internalEndAndReturn(){var k={type:"InternalEndAndReturn"};return k}var E=isTypeOf("Module");v.isModule=E;var P=isTypeOf("ModuleMetadata");v.isModuleMetadata=P;var R=isTypeOf("ModuleNameMetadata");v.isModuleNameMetadata=R;var L=isTypeOf("FunctionNameMetadata");v.isFunctionNameMetadata=L;var N=isTypeOf("LocalNameMetadata");v.isLocalNameMetadata=N;var q=isTypeOf("BinaryModule");v.isBinaryModule=q;var ae=isTypeOf("QuoteModule");v.isQuoteModule=ae;var le=isTypeOf("SectionMetadata");v.isSectionMetadata=le;var pe=isTypeOf("ProducersSectionMetadata");v.isProducersSectionMetadata=pe;var me=isTypeOf("ProducerMetadata");v.isProducerMetadata=me;var ye=isTypeOf("ProducerMetadataVersionedName");v.isProducerMetadataVersionedName=ye;var _e=isTypeOf("LoopInstruction");v.isLoopInstruction=_e;var Ie=isTypeOf("Instr");v.isInstr=Ie;var Me=isTypeOf("IfInstruction");v.isIfInstruction=Me;var Te=isTypeOf("StringLiteral");v.isStringLiteral=Te;var je=isTypeOf("NumberLiteral");v.isNumberLiteral=je;var Ne=isTypeOf("LongNumberLiteral");v.isLongNumberLiteral=Ne;var Be=isTypeOf("FloatLiteral");v.isFloatLiteral=Be;var qe=isTypeOf("Elem");v.isElem=qe;var Ue=isTypeOf("IndexInFuncSection");v.isIndexInFuncSection=Ue;var Ge=isTypeOf("ValtypeLiteral");v.isValtypeLiteral=Ge;var He=isTypeOf("TypeInstruction");v.isTypeInstruction=He;var We=isTypeOf("Start");v.isStart=We;var Qe=isTypeOf("GlobalType");v.isGlobalType=Qe;var Je=isTypeOf("LeadingComment");v.isLeadingComment=Je;var Ve=isTypeOf("BlockComment");v.isBlockComment=Ve;var Ke=isTypeOf("Data");v.isData=Ke;var Ye=isTypeOf("Global");v.isGlobal=Ye;var Xe=isTypeOf("Table");v.isTable=Xe;var Ze=isTypeOf("Memory");v.isMemory=Ze;var et=isTypeOf("FuncImportDescr");v.isFuncImportDescr=et;var tt=isTypeOf("ModuleImport");v.isModuleImport=tt;var nt=isTypeOf("ModuleExportDescr");v.isModuleExportDescr=nt;var st=isTypeOf("ModuleExport");v.isModuleExport=st;var rt=isTypeOf("Limit");v.isLimit=rt;var ot=isTypeOf("Signature");v.isSignature=ot;var it=isTypeOf("Program");v.isProgram=it;var at=isTypeOf("Identifier");v.isIdentifier=at;var ct=isTypeOf("BlockInstruction");v.isBlockInstruction=ct;var lt=isTypeOf("CallInstruction");v.isCallInstruction=lt;var ut=isTypeOf("CallIndirectInstruction");v.isCallIndirectInstruction=ut;var pt=isTypeOf("ByteArray");v.isByteArray=pt;var dt=isTypeOf("Func");v.isFunc=dt;var ft=isTypeOf("InternalBrUnless");v.isInternalBrUnless=ft;var ht=isTypeOf("InternalGoto");v.isInternalGoto=ht;var mt=isTypeOf("InternalCallExtern");v.isInternalCallExtern=mt;var gt=isTypeOf("InternalEndAndReturn");v.isInternalEndAndReturn=gt;var yt=function isNode(k){return E(k)||P(k)||R(k)||L(k)||N(k)||q(k)||ae(k)||le(k)||pe(k)||me(k)||ye(k)||_e(k)||Ie(k)||Me(k)||Te(k)||je(k)||Ne(k)||Be(k)||qe(k)||Ue(k)||Ge(k)||He(k)||We(k)||Qe(k)||Je(k)||Ve(k)||Ke(k)||Ye(k)||Xe(k)||Ze(k)||et(k)||tt(k)||nt(k)||st(k)||rt(k)||ot(k)||it(k)||at(k)||ct(k)||lt(k)||ut(k)||pt(k)||dt(k)||ft(k)||ht(k)||mt(k)||gt(k)};v.isNode=yt;var bt=function isBlock(k){return _e(k)||ct(k)||dt(k)};v.isBlock=bt;var xt=function isInstruction(k){return _e(k)||Ie(k)||Me(k)||He(k)||ct(k)||lt(k)||ut(k)};v.isInstruction=xt;var kt=function isExpression(k){return Ie(k)||Te(k)||je(k)||Ne(k)||Be(k)||Ge(k)||at(k)};v.isExpression=kt;var vt=function isNumericLiteral(k){return je(k)||Ne(k)||Be(k)};v.isNumericLiteral=vt;var wt=function isImportDescr(k){return Qe(k)||Xe(k)||Ze(k)||et(k)};v.isImportDescr=wt;var At=function isIntrinsic(k){return ft(k)||ht(k)||mt(k)||gt(k)};v.isIntrinsic=At;var Et=assertTypeOf("Module");v.assertModule=Et;var Ct=assertTypeOf("ModuleMetadata");v.assertModuleMetadata=Ct;var St=assertTypeOf("ModuleNameMetadata");v.assertModuleNameMetadata=St;var _t=assertTypeOf("FunctionNameMetadata");v.assertFunctionNameMetadata=_t;var It=assertTypeOf("LocalNameMetadata");v.assertLocalNameMetadata=It;var Mt=assertTypeOf("BinaryModule");v.assertBinaryModule=Mt;var Pt=assertTypeOf("QuoteModule");v.assertQuoteModule=Pt;var Ot=assertTypeOf("SectionMetadata");v.assertSectionMetadata=Ot;var Dt=assertTypeOf("ProducersSectionMetadata");v.assertProducersSectionMetadata=Dt;var Rt=assertTypeOf("ProducerMetadata");v.assertProducerMetadata=Rt;var Tt=assertTypeOf("ProducerMetadataVersionedName");v.assertProducerMetadataVersionedName=Tt;var $t=assertTypeOf("LoopInstruction");v.assertLoopInstruction=$t;var Ft=assertTypeOf("Instr");v.assertInstr=Ft;var jt=assertTypeOf("IfInstruction");v.assertIfInstruction=jt;var Lt=assertTypeOf("StringLiteral");v.assertStringLiteral=Lt;var Nt=assertTypeOf("NumberLiteral");v.assertNumberLiteral=Nt;var Bt=assertTypeOf("LongNumberLiteral");v.assertLongNumberLiteral=Bt;var qt=assertTypeOf("FloatLiteral");v.assertFloatLiteral=qt;var zt=assertTypeOf("Elem");v.assertElem=zt;var Ut=assertTypeOf("IndexInFuncSection");v.assertIndexInFuncSection=Ut;var Gt=assertTypeOf("ValtypeLiteral");v.assertValtypeLiteral=Gt;var Ht=assertTypeOf("TypeInstruction");v.assertTypeInstruction=Ht;var Wt=assertTypeOf("Start");v.assertStart=Wt;var Qt=assertTypeOf("GlobalType");v.assertGlobalType=Qt;var Jt=assertTypeOf("LeadingComment");v.assertLeadingComment=Jt;var Vt=assertTypeOf("BlockComment");v.assertBlockComment=Vt;var Kt=assertTypeOf("Data");v.assertData=Kt;var Yt=assertTypeOf("Global");v.assertGlobal=Yt;var Xt=assertTypeOf("Table");v.assertTable=Xt;var Zt=assertTypeOf("Memory");v.assertMemory=Zt;var en=assertTypeOf("FuncImportDescr");v.assertFuncImportDescr=en;var tn=assertTypeOf("ModuleImport");v.assertModuleImport=tn;var nn=assertTypeOf("ModuleExportDescr");v.assertModuleExportDescr=nn;var sn=assertTypeOf("ModuleExport");v.assertModuleExport=sn;var rn=assertTypeOf("Limit");v.assertLimit=rn;var on=assertTypeOf("Signature");v.assertSignature=on;var an=assertTypeOf("Program");v.assertProgram=an;var cn=assertTypeOf("Identifier");v.assertIdentifier=cn;var ln=assertTypeOf("BlockInstruction");v.assertBlockInstruction=ln;var un=assertTypeOf("CallInstruction");v.assertCallInstruction=un;var pn=assertTypeOf("CallIndirectInstruction");v.assertCallIndirectInstruction=pn;var dn=assertTypeOf("ByteArray");v.assertByteArray=dn;var hn=assertTypeOf("Func");v.assertFunc=hn;var mn=assertTypeOf("InternalBrUnless");v.assertInternalBrUnless=mn;var gn=assertTypeOf("InternalGoto");v.assertInternalGoto=gn;var yn=assertTypeOf("InternalCallExtern");v.assertInternalCallExtern=yn;var bn=assertTypeOf("InternalEndAndReturn");v.assertInternalEndAndReturn=bn;var xn={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"]};v.unionTypesMap=xn;var kn=["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"];v.nodeAndUnionTypes=kn},96395:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.signatures=void 0;function sign(k,v){return[k,v]}var E="u32";var P="i32";var R="i64";var L="f32";var N="f64";var q=function vector(k){var v=[k];v.vector=true;return v};var ae={unreachable:sign([],[]),nop:sign([],[]),br:sign([E],[]),br_if:sign([E],[]),br_table:sign(q(E),[]),return:sign([],[]),call:sign([E],[]),call_indirect:sign([E],[])};var le={drop:sign([],[]),select:sign([],[])};var pe={get_local:sign([E],[]),set_local:sign([E],[]),tee_local:sign([E],[]),get_global:sign([E],[]),set_global:sign([E],[])};var me={"i32.load":sign([E,E],[P]),"i64.load":sign([E,E],[]),"f32.load":sign([E,E],[]),"f64.load":sign([E,E],[]),"i32.load8_s":sign([E,E],[P]),"i32.load8_u":sign([E,E],[P]),"i32.load16_s":sign([E,E],[P]),"i32.load16_u":sign([E,E],[P]),"i64.load8_s":sign([E,E],[R]),"i64.load8_u":sign([E,E],[R]),"i64.load16_s":sign([E,E],[R]),"i64.load16_u":sign([E,E],[R]),"i64.load32_s":sign([E,E],[R]),"i64.load32_u":sign([E,E],[R]),"i32.store":sign([E,E],[]),"i64.store":sign([E,E],[]),"f32.store":sign([E,E],[]),"f64.store":sign([E,E],[]),"i32.store8":sign([E,E],[]),"i32.store16":sign([E,E],[]),"i64.store8":sign([E,E],[]),"i64.store16":sign([E,E],[]),"i64.store32":sign([E,E],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var ye={"i32.const":sign([P],[P]),"i64.const":sign([R],[R]),"f32.const":sign([L],[L]),"f64.const":sign([N],[N]),"i32.eqz":sign([P],[P]),"i32.eq":sign([P,P],[P]),"i32.ne":sign([P,P],[P]),"i32.lt_s":sign([P,P],[P]),"i32.lt_u":sign([P,P],[P]),"i32.gt_s":sign([P,P],[P]),"i32.gt_u":sign([P,P],[P]),"i32.le_s":sign([P,P],[P]),"i32.le_u":sign([P,P],[P]),"i32.ge_s":sign([P,P],[P]),"i32.ge_u":sign([P,P],[P]),"i64.eqz":sign([R],[R]),"i64.eq":sign([R,R],[P]),"i64.ne":sign([R,R],[P]),"i64.lt_s":sign([R,R],[P]),"i64.lt_u":sign([R,R],[P]),"i64.gt_s":sign([R,R],[P]),"i64.gt_u":sign([R,R],[P]),"i64.le_s":sign([R,R],[P]),"i64.le_u":sign([R,R],[P]),"i64.ge_s":sign([R,R],[P]),"i64.ge_u":sign([R,R],[P]),"f32.eq":sign([L,L],[P]),"f32.ne":sign([L,L],[P]),"f32.lt":sign([L,L],[P]),"f32.gt":sign([L,L],[P]),"f32.le":sign([L,L],[P]),"f32.ge":sign([L,L],[P]),"f64.eq":sign([N,N],[P]),"f64.ne":sign([N,N],[P]),"f64.lt":sign([N,N],[P]),"f64.gt":sign([N,N],[P]),"f64.le":sign([N,N],[P]),"f64.ge":sign([N,N],[P]),"i32.clz":sign([P],[P]),"i32.ctz":sign([P],[P]),"i32.popcnt":sign([P],[P]),"i32.add":sign([P,P],[P]),"i32.sub":sign([P,P],[P]),"i32.mul":sign([P,P],[P]),"i32.div_s":sign([P,P],[P]),"i32.div_u":sign([P,P],[P]),"i32.rem_s":sign([P,P],[P]),"i32.rem_u":sign([P,P],[P]),"i32.and":sign([P,P],[P]),"i32.or":sign([P,P],[P]),"i32.xor":sign([P,P],[P]),"i32.shl":sign([P,P],[P]),"i32.shr_s":sign([P,P],[P]),"i32.shr_u":sign([P,P],[P]),"i32.rotl":sign([P,P],[P]),"i32.rotr":sign([P,P],[P]),"i64.clz":sign([R],[R]),"i64.ctz":sign([R],[R]),"i64.popcnt":sign([R],[R]),"i64.add":sign([R,R],[R]),"i64.sub":sign([R,R],[R]),"i64.mul":sign([R,R],[R]),"i64.div_s":sign([R,R],[R]),"i64.div_u":sign([R,R],[R]),"i64.rem_s":sign([R,R],[R]),"i64.rem_u":sign([R,R],[R]),"i64.and":sign([R,R],[R]),"i64.or":sign([R,R],[R]),"i64.xor":sign([R,R],[R]),"i64.shl":sign([R,R],[R]),"i64.shr_s":sign([R,R],[R]),"i64.shr_u":sign([R,R],[R]),"i64.rotl":sign([R,R],[R]),"i64.rotr":sign([R,R],[R]),"f32.abs":sign([L],[L]),"f32.neg":sign([L],[L]),"f32.ceil":sign([L],[L]),"f32.floor":sign([L],[L]),"f32.trunc":sign([L],[L]),"f32.nearest":sign([L],[L]),"f32.sqrt":sign([L],[L]),"f32.add":sign([L,L],[L]),"f32.sub":sign([L,L],[L]),"f32.mul":sign([L,L],[L]),"f32.div":sign([L,L],[L]),"f32.min":sign([L,L],[L]),"f32.max":sign([L,L],[L]),"f32.copysign":sign([L,L],[L]),"f64.abs":sign([N],[N]),"f64.neg":sign([N],[N]),"f64.ceil":sign([N],[N]),"f64.floor":sign([N],[N]),"f64.trunc":sign([N],[N]),"f64.nearest":sign([N],[N]),"f64.sqrt":sign([N],[N]),"f64.add":sign([N,N],[N]),"f64.sub":sign([N,N],[N]),"f64.mul":sign([N,N],[N]),"f64.div":sign([N,N],[N]),"f64.min":sign([N,N],[N]),"f64.max":sign([N,N],[N]),"f64.copysign":sign([N,N],[N]),"i32.wrap/i64":sign([R],[P]),"i32.trunc_s/f32":sign([L],[P]),"i32.trunc_u/f32":sign([L],[P]),"i32.trunc_s/f64":sign([L],[P]),"i32.trunc_u/f64":sign([N],[P]),"i64.extend_s/i32":sign([P],[R]),"i64.extend_u/i32":sign([P],[R]),"i64.trunc_s/f32":sign([L],[R]),"i64.trunc_u/f32":sign([L],[R]),"i64.trunc_s/f64":sign([N],[R]),"i64.trunc_u/f64":sign([N],[R]),"f32.convert_s/i32":sign([P],[L]),"f32.convert_u/i32":sign([P],[L]),"f32.convert_s/i64":sign([R],[L]),"f32.convert_u/i64":sign([R],[L]),"f32.demote/f64":sign([N],[L]),"f64.convert_s/i32":sign([P],[N]),"f64.convert_u/i32":sign([P],[N]),"f64.convert_s/i64":sign([R],[N]),"f64.convert_u/i64":sign([R],[N]),"f64.promote/f32":sign([L],[N]),"i32.reinterpret/f32":sign([L],[P]),"i64.reinterpret/f64":sign([N],[R]),"f32.reinterpret/i32":sign([P],[L]),"f64.reinterpret/i64":sign([R],[N])};var _e=Object.assign({},ae,le,pe,me,ye);v.signatures=_e},15067:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.moduleContextFromModuleAST=moduleContextFromModuleAST;v.ModuleContext=void 0;var P=E(860);function _classCallCheck(k,v){if(!(k instanceof v)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(k,v){for(var E=0;Ek&&k>=0}},{key:"getLabel",value:function getLabel(k){return this.labels[k]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(k){return typeof this.getLocal(k)!=="undefined"}},{key:"getLocal",value:function getLocal(k){return this.locals[k]}},{key:"addLocal",value:function addLocal(k){this.locals.push(k)}},{key:"addType",value:function addType(k){if(!(k.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(k.functype)}},{key:"hasType",value:function hasType(k){return this.types[k]!==undefined}},{key:"getType",value:function getType(k){return this.types[k]}},{key:"hasGlobal",value:function hasGlobal(k){return this.globals.length>k&&k>=0}},{key:"getGlobal",value:function getGlobal(k){return this.globals[k].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(k){if(!(typeof k==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[k]}},{key:"defineGlobal",value:function defineGlobal(k){var v=k.globalType.valtype;var E=k.globalType.mutability;this.globals.push({type:v,mutability:E});if(typeof k.name!=="undefined"){this.globalsOffsetByIdentifier[k.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(k,v){this.globals.push({type:k,mutability:v})}},{key:"isMutableGlobal",value:function isMutableGlobal(k){return this.globals[k].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(k){return this.globals[k].mutability==="const"}},{key:"hasMemory",value:function hasMemory(k){return this.mems.length>k&&k>=0}},{key:"addMemory",value:function addMemory(k,v){this.mems.push({min:k,max:v})}},{key:"getMemory",value:function getMemory(k){return this.mems[k]}}]);return ModuleContext}();v.ModuleContext=R},11885:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.traverse=traverse;var P=E(92489);var R=E(860);function walk(k,v){var E=false;function innerWalk(k,v){if(E){return}var R=k.node;if(R===undefined){console.warn("traversing with an empty context");return}if(R._deleted===true){return}var L=(0,P.createPath)(k);v(R.type,L);if(L.shouldStop){E=true;return}Object.keys(R).forEach((function(k){var E=R[k];if(E===null||E===undefined){return}var P=Array.isArray(E)?E:[E];P.forEach((function(P){if(typeof P.type==="string"){var R={node:P,parentKey:k,parentPath:L,shouldStop:false,inList:Array.isArray(E)};innerWalk(R,v)}}))}))}innerWalk(k,v)}var L=function noop(){};function traverse(k,v){var E=arguments.length>2&&arguments[2]!==undefined?arguments[2]:L;var P=arguments.length>3&&arguments[3]!==undefined?arguments[3]:L;Object.keys(v).forEach((function(k){if(!R.nodeAndUnionTypes.includes(k)){throw new Error("Unexpected visitor ".concat(k))}}));var N={node:k,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(N,(function(k,L){if(typeof v[k]==="function"){E(k,L);v[k](L);P(k,L)}var N=R.unionTypesMap[k];if(!N){throw new Error("Unexpected node type ".concat(k))}N.forEach((function(k){if(typeof v[k]==="function"){E(k,L);v[k](L);P(k,L)}}))}))}},20885:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.isAnonymous=isAnonymous;v.getSectionMetadata=getSectionMetadata;v.getSectionMetadatas=getSectionMetadatas;v.sortSectionMetadata=sortSectionMetadata;v.orderedInsertNode=orderedInsertNode;v.assertHasLoc=assertHasLoc;v.getEndOfSection=getEndOfSection;v.shiftLoc=shiftLoc;v.shiftSection=shiftSection;v.signatureForOpcode=signatureForOpcode;v.getUniqueNameGenerator=getUniqueNameGenerator;v.getStartByteOffset=getStartByteOffset;v.getEndByteOffset=getEndByteOffset;v.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;v.getEndBlockByteOffset=getEndBlockByteOffset;v.getStartBlockByteOffset=getStartBlockByteOffset;var P=E(96395);var R=E(11885);var L=_interopRequireWildcard(E(94545));function _getRequireWildcardCache(k){if(typeof WeakMap!=="function")return null;var v=new WeakMap;var E=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(k){return k?E:v})(k)}function _interopRequireWildcard(k,v){if(!v&&k&&k.__esModule){return k}if(k===null||_typeof(k)!=="object"&&typeof k!=="function"){return{default:k}}var E=_getRequireWildcardCache(v);if(E&&E.has(k)){return E.get(k)}var P={};var R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in k){if(L!=="default"&&Object.prototype.hasOwnProperty.call(k,L)){var N=R?Object.getOwnPropertyDescriptor(k,L):null;if(N&&(N.get||N.set)){Object.defineProperty(P,L,N)}else{P[L]=k[L]}}}P["default"]=k;if(E){E.set(k,P)}return P}function _slicedToArray(k,v){return _arrayWithHoles(k)||_iterableToArrayLimit(k,v)||_unsupportedIterableToArray(k,v)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(k,v){if(!k)return;if(typeof k==="string")return _arrayLikeToArray(k,v);var E=Object.prototype.toString.call(k).slice(8,-1);if(E==="Object"&&k.constructor)E=k.constructor.name;if(E==="Map"||E==="Set")return Array.from(k);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return _arrayLikeToArray(k,v)}function _arrayLikeToArray(k,v){if(v==null||v>k.length)v=k.length;for(var E=0,P=new Array(v);E0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(v in k)){k[v]=0}else{k[v]=k[v]+1}return v+"_"+k[v]}}function getStartByteOffset(k){if(typeof k.loc==="undefined"||typeof k.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(k.id))}return k.loc.start.column}function getEndByteOffset(k){if(typeof k.loc==="undefined"||typeof k.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+k.type)}return k.loc.end.column}function getFunctionBeginingByteOffset(k){if(!(k.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var v=_slicedToArray(k.body,1),E=v[0];return getStartByteOffset(E)}function getEndBlockByteOffset(k){if(!(k.instr.length>0||k.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var v;if(k.instr){v=k.instr[k.instr.length-1]}if(k.body){v=k.body[k.body.length-1]}if(!(_typeof(v)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(v)}function getStartBlockByteOffset(k){if(!(k.instr.length>0||k.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var v;if(k.instr){var E=_slicedToArray(k.instr,1);v=E[0]}if(k.body){var P=_slicedToArray(k.body,1);v=P[0]}if(!(_typeof(v)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(v)}},31209:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v["default"]=parse;function parse(k){k=k.toUpperCase();var v=k.indexOf("P");var E,P;if(v!==-1){E=k.substring(0,v);P=parseInt(k.substring(v+1))}else{E=k;P=0}var R=E.indexOf(".");if(R!==-1){var L=parseInt(E.substring(0,R),16);var N=Math.sign(L);L=N*L;var q=E.length-R-1;var ae=parseInt(E.substring(R+1),16);var le=q>0?ae/Math.pow(16,q):0;if(N===0){if(le===0){E=N}else{if(Object.is(N,-0)){E=-le}else{E=le}}}else{E=N*(L+le)}}else{E=parseInt(E,16)}return E*(v!==-1?Math.pow(2,P):1)}},28513:function(k,v){"use strict";function _typeof(k){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(k){return typeof k}}else{_typeof=function _typeof(k){return k&&typeof Symbol==="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k}}return _typeof(k)}Object.defineProperty(v,"__esModule",{value:true});v.LinkError=v.CompileError=v.RuntimeError=void 0;function _classCallCheck(k,v){if(!(k instanceof v)){throw new TypeError("Cannot call a class as a function")}}function _inherits(k,v){if(typeof v!=="function"&&v!==null){throw new TypeError("Super expression must either be null or a function")}k.prototype=Object.create(v&&v.prototype,{constructor:{value:k,writable:true,configurable:true}});if(v)_setPrototypeOf(k,v)}function _createSuper(k){var v=_isNativeReflectConstruct();return function _createSuperInternal(){var E=_getPrototypeOf(k),P;if(v){var R=_getPrototypeOf(this).constructor;P=Reflect.construct(E,arguments,R)}else{P=E.apply(this,arguments)}return _possibleConstructorReturn(this,P)}}function _possibleConstructorReturn(k,v){if(v&&(_typeof(v)==="object"||typeof v==="function")){return v}else if(v!==void 0){throw new TypeError("Derived constructors may only return object or undefined")}return _assertThisInitialized(k)}function _assertThisInitialized(k){if(k===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return k}function _wrapNativeSuper(k){var v=typeof Map==="function"?new Map:undefined;_wrapNativeSuper=function _wrapNativeSuper(k){if(k===null||!_isNativeFunction(k))return k;if(typeof k!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof v!=="undefined"){if(v.has(k))return v.get(k);v.set(k,Wrapper)}function Wrapper(){return _construct(k,arguments,_getPrototypeOf(this).constructor)}Wrapper.prototype=Object.create(k.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return _setPrototypeOf(Wrapper,k)};return _wrapNativeSuper(k)}function _construct(k,v,E){if(_isNativeReflectConstruct()){_construct=Reflect.construct}else{_construct=function _construct(k,v,E){var P=[null];P.push.apply(P,v);var R=Function.bind.apply(k,P);var L=new R;if(E)_setPrototypeOf(L,E.prototype);return L}}return _construct.apply(null,arguments)}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})));return true}catch(k){return false}}function _isNativeFunction(k){return Function.toString.call(k).indexOf("[native code]")!==-1}function _setPrototypeOf(k,v){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(k,v){k.__proto__=v;return k};return _setPrototypeOf(k,v)}function _getPrototypeOf(k){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(k){return k.__proto__||Object.getPrototypeOf(k)};return _getPrototypeOf(k)}var E=function(k){_inherits(RuntimeError,k);var v=_createSuper(RuntimeError);function RuntimeError(){_classCallCheck(this,RuntimeError);return v.apply(this,arguments)}return RuntimeError}(_wrapNativeSuper(Error));v.RuntimeError=E;var P=function(k){_inherits(CompileError,k);var v=_createSuper(CompileError);function CompileError(){_classCallCheck(this,CompileError);return v.apply(this,arguments)}return CompileError}(_wrapNativeSuper(Error));v.CompileError=P;var R=function(k){_inherits(LinkError,k);var v=_createSuper(LinkError);function LinkError(){_classCallCheck(this,LinkError);return v.apply(this,arguments)}return LinkError}(_wrapNativeSuper(Error));v.LinkError=R},97521:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.overrideBytesInBuffer=overrideBytesInBuffer;v.makeBuffer=makeBuffer;v.fromHexdump=fromHexdump;function _toConsumableArray(k){return _arrayWithoutHoles(k)||_iterableToArray(k)||_unsupportedIterableToArray(k)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(k,v){if(!k)return;if(typeof k==="string")return _arrayLikeToArray(k,v);var E=Object.prototype.toString.call(k).slice(8,-1);if(E==="Object"&&k.constructor)E=k.constructor.name;if(E==="Map"||E==="Set")return Array.from(k);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return _arrayLikeToArray(k,v)}function _iterableToArray(k){if(typeof Symbol!=="undefined"&&k[Symbol.iterator]!=null||k["@@iterator"]!=null)return Array.from(k)}function _arrayWithoutHoles(k){if(Array.isArray(k))return _arrayLikeToArray(k)}function _arrayLikeToArray(k,v){if(v==null||v>k.length)v=k.length;for(var E=0,P=new Array(v);E1&&arguments[1]!==undefined?arguments[1]:function(k){return k};var E={};var P=Object.keys(k);for(var R=0,L=P.length;R2&&arguments[2]!==undefined?arguments[2]:0;return{name:k,object:v,numberOfArgs:E}}function createSymbol(k){var v=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:k,numberOfArgs:v}}var q={func:96,result:64};var ae={0:"Func",1:"Table",2:"Memory",3:"Global"};var le=invertMap(ae);var pe={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var me=invertMap(pe);var ye={112:"anyfunc"};var _e=Object.assign({},pe,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var Ie={0:"const",1:"var"};var Me=invertMap(Ie);var Te={0:"func",1:"table",2:"memory",3:"global"};var je={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 Ne={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:R,7:R,8:R,9:R,10:R,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:R,19:R,20:R,21:R,22:R,23:R,24:R,25:R,26:createSymbol("drop"),27:createSymbol("select"),28:R,29:R,30:R,31:R,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:R,38:R,39:R,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"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var Be=invertMap(Ne,(function(k){if(typeof k.object==="string"){return"".concat(k.object,".").concat(k.name)}return k.name}));var qe={symbolsByByte:Ne,sections:je,magicModuleHeader:L,moduleVersion:N,types:q,valtypes:pe,exportTypes:ae,blockTypes:_e,tableTypes:ye,globalTypes:Ie,importTypes:Te,valtypesByString:me,globalTypesByString:Me,exportTypesByName:le,symbolsByName:Be};v["default"]=qe},32337:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.getSectionForNode=getSectionForNode;function getSectionForNode(k){switch(k.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}}},36915:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.createEmptySection=createEmptySection;var P=E(87643);var R=E(97521);var L=_interopRequireDefault(E(94545));var N=_interopRequireWildcard(E(26333));function _getRequireWildcardCache(k){if(typeof WeakMap!=="function")return null;var v=new WeakMap;var E=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(k){return k?E:v})(k)}function _interopRequireWildcard(k,v){if(!v&&k&&k.__esModule){return k}if(k===null||_typeof(k)!=="object"&&typeof k!=="function"){return{default:k}}var E=_getRequireWildcardCache(v);if(E&&E.has(k)){return E.get(k)}var P={};var R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in k){if(L!=="default"&&Object.prototype.hasOwnProperty.call(k,L)){var N=R?Object.getOwnPropertyDescriptor(k,L):null;if(N&&(N.get||N.set)){Object.defineProperty(P,L,N)}else{P[L]=k[L]}}}P["default"]=k;if(E){E.set(k,P)}return P}function _interopRequireDefault(k){return k&&k.__esModule?k:{default:k}}function _typeof(k){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(k){return typeof k}}else{_typeof=function _typeof(k){return k&&typeof Symbol==="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k}}return _typeof(k)}function findLastSection(k,v){var E=L["default"].sections[v];var P=k.body[0].metadata.sections;var R;var N=0;for(var q=0,ae=P.length;qN&&E32){throw new Error("Bad value for bitLength.")}if(P===undefined){P=0}else if(P!==0&&P!==1){throw new Error("Bad value for defaultBit.")}var R=P*255;var L=0;var N=v+E;var q=Math.floor(v/8);var ae=v%8;var le=Math.floor(N/8);var pe=N%8;if(pe!==0){L=get(le)&(1<q){le--;L=L<<8|get(le)}L>>>=ae;return L;function get(v){var E=k[v];return E===undefined?R:E}}function inject(k,v,E,P){if(E<0||E>32){throw new Error("Bad value for bitLength.")}var R=Math.floor((v+E-1)/8);if(v<0||R>=k.length){throw new Error("Index out of range.")}var L=Math.floor(v/8);var N=v%8;while(E>0){if(P&1){k[L]|=1<>=1;E--;N=(N+1)%8;if(N===0){L++}}}function getSign(k){return k[k.length-1]>>>7}function highOrder(k,v){var E=v.length;var P=(k^1)*255;while(E>0&&v[E-1]===P){E--}if(E===0){return-1}var R=v[E-1];var L=E*8-1;for(var N=7;N>0;N--){if((R>>N&1)===k){break}L--}return L}},57386:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.alloc=alloc;v.free=free;v.resize=resize;v.readInt=readInt;v.readUInt=readUInt;v.writeInt64=writeInt64;v.writeUInt64=writeUInt64;var E=[];var P=20;var R=-0x8000000000000000;var L=0x7ffffffffffffc00;var N=0xfffffffffffff800;var q=4294967296;var ae=0x10000000000000000;function lowestBit(k){return k&-k}function isLossyToAdd(k,v){if(v===0){return false}var E=lowestBit(v);var P=k+E;if(P===k){return true}if(P-E!==k){return true}return false}function alloc(k){var v=E[k];if(v){E[k]=undefined}else{v=new Buffer(k)}v.fill(0);return v}function free(k){var v=k.length;if(v=0;L--){P=P*256+k[L]}}else{for(var N=v-1;N>=0;N--){var q=k[N];P*=256;if(isLossyToAdd(P,q)){R=true}P+=q}}return{value:P,lossy:R}}function readUInt(k){var v=k.length;var E=0;var P=false;if(v<7){for(var R=v-1;R>=0;R--){E=E*256+k[R]}}else{for(var L=v-1;L>=0;L--){var N=k[L];E*=256;if(isLossyToAdd(E,N)){P=true}E+=N}}return{value:E,lossy:P}}function writeInt64(k,v){if(kL){throw new Error("Value out of range.")}if(k<0){k+=ae}writeUInt64(k,v)}function writeUInt64(k,v){if(k<0||k>N){throw new Error("Value out of range.")}var E=k%q;var P=Math.floor(k/q);v.writeUInt32LE(E,0);v.writeUInt32LE(P,4)}},54307:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.decodeInt64=decodeInt64;v.decodeUInt64=decodeUInt64;v.decodeInt32=decodeInt32;v.decodeUInt32=decodeUInt32;v.encodeU32=encodeU32;v.encodeI32=encodeI32;v.encodeI64=encodeI64;v.MAX_NUMBER_OF_BYTE_U64=v.MAX_NUMBER_OF_BYTE_U32=void 0;var P=_interopRequireDefault(E(66562));function _interopRequireDefault(k){return k&&k.__esModule?k:{default:k}}var R=5;v.MAX_NUMBER_OF_BYTE_U32=R;var L=10;v.MAX_NUMBER_OF_BYTE_U64=L;function decodeInt64(k,v){return P["default"].decodeInt64(k,v)}function decodeUInt64(k,v){return P["default"].decodeUInt64(k,v)}function decodeInt32(k,v){return P["default"].decodeInt32(k,v)}function decodeUInt32(k,v){return P["default"].decodeUInt32(k,v)}function encodeU32(k){return P["default"].encodeUInt32(k)}function encodeI32(k){return P["default"].encodeInt32(k)}function encodeI64(k){return P["default"].encodeInt64(k)}},66562:function(k,v,E){"use strict";function _typeof(k){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(k){return typeof k}}else{_typeof=function _typeof(k){return k&&typeof Symbol==="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k}}return _typeof(k)}Object.defineProperty(v,"__esModule",{value:true});v["default"]=void 0;var P=_interopRequireDefault(E(85249));var R=_interopRequireWildcard(E(79423));var L=_interopRequireWildcard(E(57386));function _getRequireWildcardCache(k){if(typeof WeakMap!=="function")return null;var v=new WeakMap;var E=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(k){return k?E:v})(k)}function _interopRequireWildcard(k,v){if(!v&&k&&k.__esModule){return k}if(k===null||_typeof(k)!=="object"&&typeof k!=="function"){return{default:k}}var E=_getRequireWildcardCache(v);if(E&&E.has(k)){return E.get(k)}var P={};var R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in k){if(L!=="default"&&Object.prototype.hasOwnProperty.call(k,L)){var N=R?Object.getOwnPropertyDescriptor(k,L):null;if(N&&(N.get||N.set)){Object.defineProperty(P,L,N)}else{P[L]=k[L]}}}P["default"]=k;if(E){E.set(k,P)}return P}function _interopRequireDefault(k){return k&&k.__esModule?k:{default:k}}var N=-2147483648;var q=2147483647;var ae=4294967295;function signedBitCount(k){return R.highOrder(R.getSign(k)^1,k)+2}function unsignedBitCount(k){var v=R.highOrder(1,k)+1;return v?v:1}function encodeBufferCommon(k,v){var E;var P;if(v){E=R.getSign(k);P=signedBitCount(k)}else{E=0;P=unsignedBitCount(k)}var N=Math.ceil(P/7);var q=L.alloc(N);for(var ae=0;ae=128){E++}E++;if(v+E>k.length){}return E}function decodeBufferCommon(k,v,E){v=v===undefined?0:v;var P=encodedLength(k,v);var N=P*7;var q=Math.ceil(N/8);var ae=L.alloc(q);var le=0;while(P>0){R.inject(ae,le,7,k[v]);le+=7;v++;P--}var pe;var me;if(E){var ye=ae[q-1];var _e=le%8;if(_e!==0){var Ie=32-_e;ye=ae[q-1]=ye<>Ie&255}pe=ye>>7;me=pe*255}else{pe=0;me=0}while(q>1&&ae[q-1]===me&&(!E||ae[q-2]>>7===pe)){q--}ae=L.resize(ae,q);return{value:ae,nextIndex:v}}function encodeIntBuffer(k){return encodeBufferCommon(k,true)}function decodeIntBuffer(k,v){return decodeBufferCommon(k,v,true)}function encodeInt32(k){var v=L.alloc(4);v.writeInt32LE(k,0);var E=encodeIntBuffer(v);L.free(v);return E}function decodeInt32(k,v){var E=decodeIntBuffer(k,v);var P=L.readInt(E.value);var R=P.value;L.free(E.value);if(Rq){throw new Error("integer too large")}return{value:R,nextIndex:E.nextIndex}}function encodeInt64(k){var v=L.alloc(8);L.writeInt64(k,v);var E=encodeIntBuffer(v);L.free(v);return E}function decodeInt64(k,v){var E=decodeIntBuffer(k,v);var R=E.value.length;if(E.value[R-1]>>7){E.value=L.resize(E.value,8);E.value.fill(255,R)}var N=P["default"].fromBytesLE(E.value,false);L.free(E.value);return{value:N,nextIndex:E.nextIndex,lossy:false}}function encodeUIntBuffer(k){return encodeBufferCommon(k,false)}function decodeUIntBuffer(k,v){return decodeBufferCommon(k,v,false)}function encodeUInt32(k){var v=L.alloc(4);v.writeUInt32LE(k,0);var E=encodeUIntBuffer(v);L.free(v);return E}function decodeUInt32(k,v){var E=decodeUIntBuffer(k,v);var P=L.readUInt(E.value);var R=P.value;L.free(E.value);if(R>ae){throw new Error("integer too large")}return{value:R,nextIndex:E.nextIndex}}function encodeUInt64(k){var v=L.alloc(8);L.writeUInt64(k,v);var E=encodeUIntBuffer(v);L.free(v);return E}function decodeUInt64(k,v){var E=decodeUIntBuffer(k,v);var R=P["default"].fromBytesLE(E.value,true);L.free(E.value);return{value:R,nextIndex:E.nextIndex,lossy:false}}var le={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};v["default"]=le},18126:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.decode=decode;function con(k){if((k&192)===128){return k&63}else{throw new Error("invalid UTF-8 encoding")}}function code(k,v){if(v=65536){throw new Error("invalid UTF-8 encoding")}else{return v}}function decode(k){return _decode(k).map((function(k){return String.fromCharCode(k)})).join("")}function _decode(k){var v=[];while(k.length>0){var E=k[0];if(E<128){v.push(code(0,E));k=k.slice(1);continue}if(E<192){throw new Error("invalid UTF-8 encoding")}var P=k[1];if(E<224){v.push(code(128,((E&31)<<6)+con(P)));k=k.slice(2);continue}var R=k[2];if(E<240){v.push(code(2048,((E&15)<<12)+(con(P)<<6)+con(R)));k=k.slice(3);continue}var L=k[3];if(E<248){v.push(code(65536,(((E&7)<<18)+con(P)<<12)+(con(R)<<6)+con(L)));k=k.slice(4);continue}throw new Error("invalid UTF-8 encoding")}return v}},24083:function(k,v){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.encode=encode;function _toConsumableArray(k){return _arrayWithoutHoles(k)||_iterableToArray(k)||_unsupportedIterableToArray(k)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _arrayWithoutHoles(k){if(Array.isArray(k))return _arrayLikeToArray(k)}function _toArray(k){return _arrayWithHoles(k)||_iterableToArray(k)||_unsupportedIterableToArray(k)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(k,v){if(!k)return;if(typeof k==="string")return _arrayLikeToArray(k,v);var E=Object.prototype.toString.call(k).slice(8,-1);if(E==="Object"&&k.constructor)E=k.constructor.name;if(E==="Map"||E==="Set")return Array.from(k);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return _arrayLikeToArray(k,v)}function _arrayLikeToArray(k,v){if(v==null||v>k.length)v=k.length;for(var E=0,P=new Array(v);E>>6,con(E)].concat(_toConsumableArray(_encode(P)))}if(E<65536){return[224|E>>>12,con(E>>>6),con(E)].concat(_toConsumableArray(_encode(P)))}if(E<1114112){return[240|E>>>18,con(E>>>12),con(E>>>6),con(E)].concat(_toConsumableArray(_encode(P)))}throw new Error("utf8")}},34114:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});Object.defineProperty(v,"decode",{enumerable:true,get:function get(){return P.decode}});Object.defineProperty(v,"encode",{enumerable:true,get:function get(){return R.encode}});var P=E(18126);var R=E(24083)},25467:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.applyOperations=applyOperations;var P=E(87643);var R=E(49212);var L=E(26333);var N=E(82844);var q=E(97521);var ae=E(94545);function _slicedToArray(k,v){return _arrayWithHoles(k)||_iterableToArrayLimit(k,v)||_unsupportedIterableToArray(k,v)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(k,v){if(!k)return;if(typeof k==="string")return _arrayLikeToArray(k,v);var E=Object.prototype.toString.call(k).slice(8,-1);if(E==="Object"&&k.constructor)E=k.constructor.name;if(E==="Map"||E==="Set")return Array.from(k);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return _arrayLikeToArray(k,v)}function _arrayLikeToArray(k,v){if(v==null||v>k.length)v=k.length;for(var E=0,P=new Array(v);E=k.length)return{done:true};return{done:false,value:k[P++]}},e:function e(k){throw k},f:R}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var L=true,N=false,q;return{s:function s(){E=E.call(k)},n:function n(){var k=E.next();L=k.done;return k},e:function e(k){N=true;q=k},f:function f(){try{if(!L&&E["return"]!=null)E["return"]()}finally{if(N)throw q}}}}function _unsupportedIterableToArray(k,v){if(!k)return;if(typeof k==="string")return _arrayLikeToArray(k,v);var E=Object.prototype.toString.call(k).slice(8,-1);if(E==="Object"&&k.constructor)E=k.constructor.name;if(E==="Map"||E==="Set")return Array.from(k);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return _arrayLikeToArray(k,v)}function _arrayLikeToArray(k,v){if(v==null||v>k.length)v=k.length;for(var E=0,P=new Array(v);Ek.length)v=k.length;for(var E=0,P=new Array(v);Ek.length)v=k.length;for(var E=0,P=new Array(v);E=E.length}function eatBytes(k){pe=pe+k}function readBytesAtOffset(k,v){var P=[];for(var R=0;R>7?-1:1;var P=0;for(var L=0;L>7?-1:1;var P=0;for(var L=0;LE.length){throw new Error("unexpected end")}var k=readBytes(4);if(byteArrayEq(ae["default"].magicModuleHeader,k)===false){throw new P.CompileError("magic header not detected")}dump(k,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||pe+4>E.length){throw new Error("unexpected end")}var k=readBytes(4);if(byteArrayEq(ae["default"].moduleVersion,k)===false){throw new P.CompileError("unknown binary version")}dump(k,"wasm version");eatBytes(4)}function parseVec(k){var v=readU32();var E=v.value;eatBytes(v.nextIndex);dump([E],"number");if(E===0){return[]}var R=[];for(var L=0;L=40&&R<=64){if(L.name==="grow_memory"||L.name==="current_memory"){var xt=readU32();var kt=xt.value;eatBytes(xt.nextIndex);if(kt!==0){throw new Error("zero flag expected")}dump([kt],"index")}else{var vt=readU32();var wt=vt.value;eatBytes(vt.nextIndex);dump([wt],"align");var At=readU32();var Et=At.value;eatBytes(At.nextIndex);dump([Et],"offset");if(ye===undefined)ye={};ye.offset=N.numberLiteralFromRaw(Et)}}else if(R>=65&&R<=68){if(L.object==="i32"){var Ct=read32();var St=Ct.value;eatBytes(Ct.nextIndex);dump([St],"i32 value");pe.push(N.numberLiteralFromRaw(St))}if(L.object==="u32"){var _t=readU32();var It=_t.value;eatBytes(_t.nextIndex);dump([It],"u32 value");pe.push(N.numberLiteralFromRaw(It))}if(L.object==="i64"){var Mt=read64();var Pt=Mt.value;eatBytes(Mt.nextIndex);dump([Number(Pt.toString())],"i64 value");var Ot=Pt.high,Dt=Pt.low;var Rt={type:"LongNumberLiteral",value:{high:Ot,low:Dt}};pe.push(Rt)}if(L.object==="u64"){var Tt=readU64();var $t=Tt.value;eatBytes(Tt.nextIndex);dump([Number($t.toString())],"u64 value");var Ft=$t.high,jt=$t.low;var Lt={type:"LongNumberLiteral",value:{high:Ft,low:jt}};pe.push(Lt)}if(L.object==="f32"){var Nt=readF32();var Bt=Nt.value;eatBytes(Nt.nextIndex);dump([Bt],"f32 value");pe.push(N.floatLiteral(Bt,Nt.nan,Nt.inf,String(Bt)))}if(L.object==="f64"){var qt=readF64();var zt=qt.value;eatBytes(qt.nextIndex);dump([zt],"f64 value");pe.push(N.floatLiteral(zt,qt.nan,qt.inf,String(zt)))}}else if(R>=65024&&R<=65279){var Ut=readU32();var Gt=Ut.value;eatBytes(Ut.nextIndex);dump([Gt],"align");var Ht=readU32();var Wt=Ht.value;eatBytes(Ht.nextIndex);dump([Wt],"offset")}else{for(var Qt=0;Qt=k||k===ae["default"].sections.custom){k=E+1}else{if(E!==ae["default"].sections.custom)throw new P.CompileError("Unexpected section: "+toHex(E))}var R=k;var L=pe;var q=getPosition();var le=readU32();var me=le.value;eatBytes(le.nextIndex);var ye=function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(me),k,q)}();switch(E){case ae["default"].sections.type:{dumpSep("section Type");dump([E],"section code");dump([me],"section size");var _e=getPosition();var Ie=readU32();var Me=Ie.value;eatBytes(Ie.nextIndex);var Te=N.sectionMetadata("type",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(Me),k,_e)}());var je=parseTypeSection(Me);return{nodes:je,metadata:Te,nextSectionIndex:R}}case ae["default"].sections.table:{dumpSep("section Table");dump([E],"section code");dump([me],"section size");var Ne=getPosition();var Be=readU32();var qe=Be.value;eatBytes(Be.nextIndex);dump([qe],"num tables");var Ue=N.sectionMetadata("table",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(qe),k,Ne)}());var Ge=parseTableSection(qe);return{nodes:Ge,metadata:Ue,nextSectionIndex:R}}case ae["default"].sections["import"]:{dumpSep("section Import");dump([E],"section code");dump([me],"section size");var He=getPosition();var We=readU32();var Qe=We.value;eatBytes(We.nextIndex);dump([Qe],"number of imports");var Je=N.sectionMetadata("import",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(Qe),k,He)}());var Ve=parseImportSection(Qe);return{nodes:Ve,metadata:Je,nextSectionIndex:R}}case ae["default"].sections.func:{dumpSep("section Function");dump([E],"section code");dump([me],"section size");var Ke=getPosition();var Ye=readU32();var Xe=Ye.value;eatBytes(Ye.nextIndex);var Ze=N.sectionMetadata("func",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(Xe),k,Ke)}());parseFuncSection(Xe);var et=[];return{nodes:et,metadata:Ze,nextSectionIndex:R}}case ae["default"].sections["export"]:{dumpSep("section Export");dump([E],"section code");dump([me],"section size");var tt=getPosition();var nt=readU32();var st=nt.value;eatBytes(nt.nextIndex);var rt=N.sectionMetadata("export",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(st),k,tt)}());parseExportSection(st);var ot=[];return{nodes:ot,metadata:rt,nextSectionIndex:R}}case ae["default"].sections.code:{dumpSep("section Code");dump([E],"section code");dump([me],"section size");var it=getPosition();var at=readU32();var ct=at.value;eatBytes(at.nextIndex);var lt=N.sectionMetadata("code",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(ct),k,it)}());if(v.ignoreCodeSection===true){var ut=me-at.nextIndex;eatBytes(ut)}else{parseCodeSection(ct)}var pt=[];return{nodes:pt,metadata:lt,nextSectionIndex:R}}case ae["default"].sections.start:{dumpSep("section Start");dump([E],"section code");dump([me],"section size");var dt=N.sectionMetadata("start",L,ye);var ft=[parseStartSection()];return{nodes:ft,metadata:dt,nextSectionIndex:R}}case ae["default"].sections.element:{dumpSep("section Element");dump([E],"section code");dump([me],"section size");var ht=getPosition();var mt=readU32();var gt=mt.value;eatBytes(mt.nextIndex);var yt=N.sectionMetadata("element",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(gt),k,ht)}());var bt=parseElemSection(gt);return{nodes:bt,metadata:yt,nextSectionIndex:R}}case ae["default"].sections.global:{dumpSep("section Global");dump([E],"section code");dump([me],"section size");var xt=getPosition();var kt=readU32();var vt=kt.value;eatBytes(kt.nextIndex);var wt=N.sectionMetadata("global",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(vt),k,xt)}());var At=parseGlobalSection(vt);return{nodes:At,metadata:wt,nextSectionIndex:R}}case ae["default"].sections.memory:{dumpSep("section Memory");dump([E],"section code");dump([me],"section size");var Et=getPosition();var Ct=readU32();var St=Ct.value;eatBytes(Ct.nextIndex);var _t=N.sectionMetadata("memory",L,ye,function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(St),k,Et)}());var It=parseMemorySection(St);return{nodes:It,metadata:_t,nextSectionIndex:R}}case ae["default"].sections.data:{dumpSep("section Data");dump([E],"section code");dump([me],"section size");var Mt=N.sectionMetadata("data",L,ye);var Pt=getPosition();var Ot=readU32();var Dt=Ot.value;eatBytes(Ot.nextIndex);Mt.vectorOfSize=function(){var k=getPosition();return N.withLoc(N.numberLiteralFromRaw(Dt),k,Pt)}();if(v.ignoreDataSection===true){var Rt=me-Ot.nextIndex;eatBytes(Rt);dumpSep("ignore data ("+me+" bytes)");return{nodes:[],metadata:Mt,nextSectionIndex:R}}else{var Tt=parseDataSection(Dt);return{nodes:Tt,metadata:Mt,nextSectionIndex:R}}}case ae["default"].sections.custom:{dumpSep("section Custom");dump([E],"section code");dump([me],"section size");var $t=[N.sectionMetadata("custom",L,ye)];var Ft=readUTF8String();eatBytes(Ft.nextIndex);dump([],"section name (".concat(Ft.value,")"));var jt=me-Ft.nextIndex;if(Ft.value==="name"){var Lt=pe;try{$t.push.apply($t,_toConsumableArray(parseNameSection(jt)))}catch(k){console.warn('Failed to decode custom "name" section @'.concat(pe,"; ignoring (").concat(k.message,")."));eatBytes(pe-(Lt+jt))}}else if(Ft.value==="producers"){var Nt=pe;try{$t.push(parseProducersSection())}catch(k){console.warn('Failed to decode custom "producers" section @'.concat(pe,"; ignoring (").concat(k.message,")."));eatBytes(pe-(Nt+jt))}}else{eatBytes(jt);dumpSep("ignore custom "+JSON.stringify(Ft.value)+" section ("+jt+" bytes)")}return{nodes:[],metadata:$t,nextSectionIndex:R}}}if(v.errorOnUnknownSection){throw new P.CompileError("Unexpected section: "+toHex(E))}else{dumpSep("section "+toHex(E));dump([E],"section code");dump([me],"section size");eatBytes(me);dumpSep("ignoring ("+me+" bytes)");return{nodes:[],metadata:[],nextSectionIndex:0}}}parseModuleHeader();parseVersion();var ye=[];var _e=0;var Ie={sections:[],functionNames:[],localNames:[],producers:[]};while(pe>1;var pe=-7;var me=E?R-1:0;var ye=E?-1:1;var _e=k[v+me];me+=ye;L=_e&(1<<-pe)-1;_e>>=-pe;pe+=q;for(;pe>0;L=L*256+k[v+me],me+=ye,pe-=8){}N=L&(1<<-pe)-1;L>>=-pe;pe+=P;for(;pe>0;N=N*256+k[v+me],me+=ye,pe-=8){}if(L===0){L=1-le}else if(L===ae){return N?NaN:(_e?-1:1)*Infinity}else{N=N+Math.pow(2,P);L=L-le}return(_e?-1:1)*N*Math.pow(2,L-P)}function write(k,v,E,P,R,L){var N,q,ae;var le=L*8-R-1;var pe=(1<>1;var ye=R===23?Math.pow(2,-24)-Math.pow(2,-77):0;var _e=P?0:L-1;var Ie=P?1:-1;var Me=v<0||v===0&&1/v<0?1:0;v=Math.abs(v);if(isNaN(v)||v===Infinity){q=isNaN(v)?1:0;N=pe}else{N=Math.floor(Math.log(v)/Math.LN2);if(v*(ae=Math.pow(2,-N))<1){N--;ae*=2}if(N+me>=1){v+=ye/ae}else{v+=ye*Math.pow(2,1-me)}if(v*ae>=2){N++;ae/=2}if(N+me>=pe){q=0;N=pe}else if(N+me>=1){q=(v*ae-1)*Math.pow(2,R);N=N+me}else{q=v*Math.pow(2,me-1)*Math.pow(2,R);N=0}}for(;R>=8;k[E+_e]=q&255,_e+=Ie,q/=256,R-=8){}N=N<0;k[E+_e]=N&255,_e+=Ie,N/=256,le-=8){}k[E+_e-Ie]|=Me*128}},85249:function(k){k.exports=Long;var v=null;try{v=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(k){}function Long(k,v,E){this.low=k|0;this.high=v|0;this.unsigned=!!E}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(k){return(k&&k["__isLong__"])===true}Long.isLong=isLong;var E={};var P={};function fromInt(k,v){var R,L,N;if(v){k>>>=0;if(N=0<=k&&k<256){L=P[k];if(L)return L}R=fromBits(k,(k|0)<0?-1:0,true);if(N)P[k]=R;return R}else{k|=0;if(N=-128<=k&&k<128){L=E[k];if(L)return L}R=fromBits(k,k<0?-1:0,false);if(N)E[k]=R;return R}}Long.fromInt=fromInt;function fromNumber(k,v){if(isNaN(k))return v?ye:me;if(v){if(k<0)return ye;if(k>=ae)return je}else{if(k<=-le)return Ne;if(k+1>=le)return Te}if(k<0)return fromNumber(-k,v).neg();return fromBits(k%q|0,k/q|0,v)}Long.fromNumber=fromNumber;function fromBits(k,v,E){return new Long(k,v,E)}Long.fromBits=fromBits;var R=Math.pow;function fromString(k,v,E){if(k.length===0)throw Error("empty string");if(k==="NaN"||k==="Infinity"||k==="+Infinity"||k==="-Infinity")return me;if(typeof v==="number"){E=v,v=false}else{v=!!v}E=E||10;if(E<2||360)throw Error("interior hyphen");else if(P===0){return fromString(k.substring(1),v,E).neg()}var L=fromNumber(R(E,8));var N=me;for(var q=0;q>>0:this.low};Be.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*q+(this.low>>>0);return this.high*q+(this.low>>>0)};Be.toString=function toString(k){k=k||10;if(k<2||36>>0,pe=le.toString(k);N=ae;if(N.isZero())return pe+q;else{while(pe.length<6)pe="0"+pe;q=""+pe+q}}};Be.getHighBits=function getHighBits(){return this.high};Be.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};Be.getLowBits=function getLowBits(){return this.low};Be.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};Be.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Ne)?64:this.neg().getNumBitsAbs();var k=this.high!=0?this.high:this.low;for(var v=31;v>0;v--)if((k&1<=0};Be.isOdd=function isOdd(){return(this.low&1)===1};Be.isEven=function isEven(){return(this.low&1)===0};Be.equals=function equals(k){if(!isLong(k))k=fromValue(k);if(this.unsigned!==k.unsigned&&this.high>>>31===1&&k.high>>>31===1)return false;return this.high===k.high&&this.low===k.low};Be.eq=Be.equals;Be.notEquals=function notEquals(k){return!this.eq(k)};Be.neq=Be.notEquals;Be.ne=Be.notEquals;Be.lessThan=function lessThan(k){return this.comp(k)<0};Be.lt=Be.lessThan;Be.lessThanOrEqual=function lessThanOrEqual(k){return this.comp(k)<=0};Be.lte=Be.lessThanOrEqual;Be.le=Be.lessThanOrEqual;Be.greaterThan=function greaterThan(k){return this.comp(k)>0};Be.gt=Be.greaterThan;Be.greaterThanOrEqual=function greaterThanOrEqual(k){return this.comp(k)>=0};Be.gte=Be.greaterThanOrEqual;Be.ge=Be.greaterThanOrEqual;Be.compare=function compare(k){if(!isLong(k))k=fromValue(k);if(this.eq(k))return 0;var v=this.isNegative(),E=k.isNegative();if(v&&!E)return-1;if(!v&&E)return 1;if(!this.unsigned)return this.sub(k).isNegative()?-1:1;return k.high>>>0>this.high>>>0||k.high===this.high&&k.low>>>0>this.low>>>0?-1:1};Be.comp=Be.compare;Be.negate=function negate(){if(!this.unsigned&&this.eq(Ne))return Ne;return this.not().add(_e)};Be.neg=Be.negate;Be.add=function add(k){if(!isLong(k))k=fromValue(k);var v=this.high>>>16;var E=this.high&65535;var P=this.low>>>16;var R=this.low&65535;var L=k.high>>>16;var N=k.high&65535;var q=k.low>>>16;var ae=k.low&65535;var le=0,pe=0,me=0,ye=0;ye+=R+ae;me+=ye>>>16;ye&=65535;me+=P+q;pe+=me>>>16;me&=65535;pe+=E+N;le+=pe>>>16;pe&=65535;le+=v+L;le&=65535;return fromBits(me<<16|ye,le<<16|pe,this.unsigned)};Be.subtract=function subtract(k){if(!isLong(k))k=fromValue(k);return this.add(k.neg())};Be.sub=Be.subtract;Be.multiply=function multiply(k){if(this.isZero())return me;if(!isLong(k))k=fromValue(k);if(v){var E=v["mul"](this.low,this.high,k.low,k.high);return fromBits(E,v["get_high"](),this.unsigned)}if(k.isZero())return me;if(this.eq(Ne))return k.isOdd()?Ne:me;if(k.eq(Ne))return this.isOdd()?Ne:me;if(this.isNegative()){if(k.isNegative())return this.neg().mul(k.neg());else return this.neg().mul(k).neg()}else if(k.isNegative())return this.mul(k.neg()).neg();if(this.lt(pe)&&k.lt(pe))return fromNumber(this.toNumber()*k.toNumber(),this.unsigned);var P=this.high>>>16;var R=this.high&65535;var L=this.low>>>16;var N=this.low&65535;var q=k.high>>>16;var ae=k.high&65535;var le=k.low>>>16;var ye=k.low&65535;var _e=0,Ie=0,Me=0,Te=0;Te+=N*ye;Me+=Te>>>16;Te&=65535;Me+=L*ye;Ie+=Me>>>16;Me&=65535;Me+=N*le;Ie+=Me>>>16;Me&=65535;Ie+=R*ye;_e+=Ie>>>16;Ie&=65535;Ie+=L*le;_e+=Ie>>>16;Ie&=65535;Ie+=N*ae;_e+=Ie>>>16;Ie&=65535;_e+=P*ye+R*le+L*ae+N*q;_e&=65535;return fromBits(Me<<16|Te,_e<<16|Ie,this.unsigned)};Be.mul=Be.multiply;Be.divide=function divide(k){if(!isLong(k))k=fromValue(k);if(k.isZero())throw Error("division by zero");if(v){if(!this.unsigned&&this.high===-2147483648&&k.low===-1&&k.high===-1){return this}var E=(this.unsigned?v["div_u"]:v["div_s"])(this.low,this.high,k.low,k.high);return fromBits(E,v["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?ye:me;var P,L,N;if(!this.unsigned){if(this.eq(Ne)){if(k.eq(_e)||k.eq(Me))return Ne;else if(k.eq(Ne))return _e;else{var q=this.shr(1);P=q.div(k).shl(1);if(P.eq(me)){return k.isNegative()?_e:Me}else{L=this.sub(k.mul(P));N=P.add(L.div(k));return N}}}else if(k.eq(Ne))return this.unsigned?ye:me;if(this.isNegative()){if(k.isNegative())return this.neg().div(k.neg());return this.neg().div(k).neg()}else if(k.isNegative())return this.div(k.neg()).neg();N=me}else{if(!k.unsigned)k=k.toUnsigned();if(k.gt(this))return ye;if(k.gt(this.shru(1)))return Ie;N=ye}L=this;while(L.gte(k)){P=Math.max(1,Math.floor(L.toNumber()/k.toNumber()));var ae=Math.ceil(Math.log(P)/Math.LN2),le=ae<=48?1:R(2,ae-48),pe=fromNumber(P),Te=pe.mul(k);while(Te.isNegative()||Te.gt(L)){P-=le;pe=fromNumber(P,this.unsigned);Te=pe.mul(k)}if(pe.isZero())pe=_e;N=N.add(pe);L=L.sub(Te)}return N};Be.div=Be.divide;Be.modulo=function modulo(k){if(!isLong(k))k=fromValue(k);if(v){var E=(this.unsigned?v["rem_u"]:v["rem_s"])(this.low,this.high,k.low,k.high);return fromBits(E,v["get_high"](),this.unsigned)}return this.sub(this.div(k).mul(k))};Be.mod=Be.modulo;Be.rem=Be.modulo;Be.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};Be.and=function and(k){if(!isLong(k))k=fromValue(k);return fromBits(this.low&k.low,this.high&k.high,this.unsigned)};Be.or=function or(k){if(!isLong(k))k=fromValue(k);return fromBits(this.low|k.low,this.high|k.high,this.unsigned)};Be.xor=function xor(k){if(!isLong(k))k=fromValue(k);return fromBits(this.low^k.low,this.high^k.high,this.unsigned)};Be.shiftLeft=function shiftLeft(k){if(isLong(k))k=k.toInt();if((k&=63)===0)return this;else if(k<32)return fromBits(this.low<>>32-k,this.unsigned);else return fromBits(0,this.low<>>k|this.high<<32-k,this.high>>k,this.unsigned);else return fromBits(this.high>>k-32,this.high>=0?0:-1,this.unsigned)};Be.shr=Be.shiftRight;Be.shiftRightUnsigned=function shiftRightUnsigned(k){if(isLong(k))k=k.toInt();if((k&=63)===0)return this;if(k<32)return fromBits(this.low>>>k|this.high<<32-k,this.high>>>k,this.unsigned);if(k===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>k-32,0,this.unsigned)};Be.shru=Be.shiftRightUnsigned;Be.shr_u=Be.shiftRightUnsigned;Be.rotateLeft=function rotateLeft(k){var v;if(isLong(k))k=k.toInt();if((k&=63)===0)return this;if(k===32)return fromBits(this.high,this.low,this.unsigned);if(k<32){v=32-k;return fromBits(this.low<>>v,this.high<>>v,this.unsigned)}k-=32;v=32-k;return fromBits(this.high<>>v,this.low<>>v,this.unsigned)};Be.rotl=Be.rotateLeft;Be.rotateRight=function rotateRight(k){var v;if(isLong(k))k=k.toInt();if((k&=63)===0)return this;if(k===32)return fromBits(this.high,this.low,this.unsigned);if(k<32){v=32-k;return fromBits(this.high<>>k,this.low<>>k,this.unsigned)}k-=32;v=32-k;return fromBits(this.low<>>k,this.high<>>k,this.unsigned)};Be.rotr=Be.rotateRight;Be.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};Be.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};Be.toBytes=function toBytes(k){return k?this.toBytesLE():this.toBytesBE()};Be.toBytesLE=function toBytesLE(){var k=this.high,v=this.low;return[v&255,v>>>8&255,v>>>16&255,v>>>24,k&255,k>>>8&255,k>>>16&255,k>>>24]};Be.toBytesBE=function toBytesBE(){var k=this.high,v=this.low;return[k>>>24,k>>>16&255,k>>>8&255,k&255,v>>>24,v>>>16&255,v>>>8&255,v&255]};Long.fromBytes=function fromBytes(k,v,E){return E?Long.fromBytesLE(k,v):Long.fromBytesBE(k,v)};Long.fromBytesLE=function fromBytesLE(k,v){return new Long(k[0]|k[1]<<8|k[2]<<16|k[3]<<24,k[4]|k[5]<<8|k[6]<<16|k[7]<<24,v)};Long.fromBytesBE=function fromBytesBE(k,v){return new Long(k[4]<<24|k[5]<<16|k[6]<<8|k[7],k[0]<<24|k[1]<<16|k[2]<<8|k[3],v)}},46348:function(k,v,E){"use strict";Object.defineProperty(v,"__esModule",{value:true});v.importAssertions=importAssertions;var P=_interopRequireWildcard(E(31988));function _getRequireWildcardCache(k){if(typeof WeakMap!=="function")return null;var v=new WeakMap;var E=new WeakMap;return(_getRequireWildcardCache=function(k){return k?E:v})(k)}function _interopRequireWildcard(k,v){if(!v&&k&&k.__esModule){return k}if(k===null||typeof k!=="object"&&typeof k!=="function"){return{default:k}}var E=_getRequireWildcardCache(v);if(E&&E.has(k)){return E.get(k)}var P={};var R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in k){if(L!=="default"&&Object.prototype.hasOwnProperty.call(k,L)){var N=R?Object.getOwnPropertyDescriptor(k,L):null;if(N&&(N.get||N.set)){Object.defineProperty(P,L,N)}else{P[L]=k[L]}}}P.default=k;if(E){E.set(k,P)}return P}const R="{".charCodeAt(0);const L=" ".charCodeAt(0);const N="assert";const q=1,ae=2,le=4;function importAssertions(k){const v=k.acorn||P;const{tokTypes:E,TokenType:ae}=v;return class extends k{constructor(...k){super(...k);this.assertToken=new ae(N)}_codeAt(k){return this.input.charCodeAt(k)}_eat(k){if(this.type!==k){this.unexpected()}this.next()}readToken(k){let v=0;for(;v=11){if(this.eatContextual("as")){k.exported=this.parseIdent(true);this.checkExport(v,k.exported.name,this.lastTokStart)}else{k.exported=null}}this.expectContextual("from");if(this.type!==E.string){this.unexpected()}k.source=this.parseExprAtom();if(this.type===this.assertToken||this.type===E._with){this.next();const v=this.parseImportAssertions();if(v){k.assertions=v}}this.semicolon();return this.finishNode(k,"ExportAllDeclaration")}if(this.eat(E._default)){this.checkExport(v,"default",this.lastTokStart);var P;if(this.type===E._function||(P=this.isAsyncFunction())){var R=this.startNode();this.next();if(P){this.next()}k.declaration=this.parseFunction(R,q|le,false,P)}else if(this.type===E._class){var L=this.startNode();k.declaration=this.parseClass(L,"nullableID")}else{k.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(k,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){k.declaration=this.parseStatement(null);if(k.declaration.type==="VariableDeclaration"){this.checkVariableExport(v,k.declaration.declarations)}else{this.checkExport(v,k.declaration.id.name,k.declaration.id.start)}k.specifiers=[];k.source=null}else{k.declaration=null;k.specifiers=this.parseExportSpecifiers(v);if(this.eatContextual("from")){if(this.type!==E.string){this.unexpected()}k.source=this.parseExprAtom();if(this.type===this.assertToken||this.type===E._with){this.next();const v=this.parseImportAssertions();if(v){k.assertions=v}}}else{for(var N=0,ae=k.specifiers;N{if(!E.descriptionFileData)return N();const q=R(k,E);if(!q)return N();const ae=P.getField(E.descriptionFileData,this.field);if(ae===null||typeof ae!=="object"){if(L.log)L.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return N()}const le=Object.prototype.hasOwnProperty.call(ae,q)?ae[q]:q.startsWith("./")?ae[q.slice(2)]:undefined;if(le===q)return N();if(le===undefined)return N();if(le===false){const k={...E,path:false};if(typeof L.yield==="function"){L.yield(k);return N(null,null)}return N(null,k)}const pe={...E,path:E.descriptionFileRoot,request:le,fullySpecified:false};k.doResolve(v,pe,"aliased from description file "+E.descriptionFilePath+" with mapping '"+q+"' to '"+le+"'",L,((k,v)=>{if(k)return N(k);if(v===undefined)return N(null,null);N(null,v)}))}))}}},68345:function(k,v,E){"use strict";const P=E(29779);const{PathType:R,getType:L}=E(39840);k.exports=class AliasPlugin{constructor(k,v,E){this.source=k;this.options=Array.isArray(v)?v:[v];this.target=E}apply(k){const v=k.ensureHook(this.target);const getAbsolutePathWithSlashEnding=v=>{const E=L(v);if(E===R.AbsolutePosix||E===R.AbsoluteWin){return k.join(v,"_").slice(0,-1)}return null};const isSubPath=(k,v)=>{const E=getAbsolutePathWithSlashEnding(v);if(!E)return false;return k.startsWith(E)};k.getHook(this.source).tapAsync("AliasPlugin",((E,R,L)=>{const N=E.request||E.path;if(!N)return L();P(this.options,((L,q)=>{let ae=false;if(N===L.name||!L.onlyModule&&(E.request?N.startsWith(`${L.name}/`):isSubPath(N,L.name))){const le=N.slice(L.name.length);const resolveWithAlias=(P,q)=>{if(P===false){const k={...E,path:false};if(typeof R.yield==="function"){R.yield(k);return q(null,null)}return q(null,k)}if(N!==P&&!N.startsWith(P+"/")){ae=true;const N=P+le;const pe={...E,request:N,fullySpecified:false};return k.doResolve(v,pe,"aliased with mapping '"+L.name+"': '"+P+"' to '"+N+"'",R,((k,v)=>{if(k)return q(k);if(v)return q(null,v);return q()}))}return q()};const stoppingCallback=(k,v)=>{if(k)return q(k);if(v)return q(null,v);if(ae)return q(null,null);return q()};if(Array.isArray(L.alias)){return P(L.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(L.alias,stoppingCallback)}}return q()}),L)}))}}},49225:function(k){"use strict";k.exports=class AppendPlugin{constructor(k,v,E){this.source=k;this.appending=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("AppendPlugin",((E,P,R)=>{const L={...E,path:E.path+this.appending,relativePath:E.relativePath&&E.relativePath+this.appending};k.doResolve(v,L,this.appending,P,R)}))}}},75943:function(k,v,E){"use strict";const P=E(77282).nextTick;const dirname=k=>{let v=k.length-1;while(v>=0){const E=k.charCodeAt(v);if(E===47||E===92)break;v--}if(v<0)return"";return k.slice(0,v)};const runCallbacks=(k,v,E)=>{if(k.length===1){k[0](v,E);k.length=0;return}let P;for(const R of k){try{R(v,E)}catch(k){if(!P)P=k}}k.length=0;if(P)throw P};class OperationMergerBackend{constructor(k,v,E){this._provider=k;this._syncProvider=v;this._providerContext=E;this._activeAsyncOperations=new Map;this.provide=this._provider?(v,E,P)=>{if(typeof E==="function"){P=E;E=undefined}if(E){return this._provider.call(this._providerContext,v,E,P)}if(typeof v!=="string"){P(new TypeError("path must be a string"));return}let R=this._activeAsyncOperations.get(v);if(R){R.push(P);return}this._activeAsyncOperations.set(v,R=[P]);k(v,((k,E)=>{this._activeAsyncOperations.delete(v);runCallbacks(R,k,E)}))}:null;this.provideSync=this._syncProvider?(k,v)=>this._syncProvider.call(this._providerContext,k,v):null}purge(){}purgeParent(){}}const R=0;const L=1;const N=2;class CacheBackend{constructor(k,v,E,P){this._duration=k;this._provider=v;this._syncProvider=E;this._providerContext=P;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let k=0;k<10;k++)this._levels.push(new Set);for(let v=5e3;v{this._activeAsyncOperations.delete(k);this._storeResult(k,v,E);this._enterAsyncMode();runCallbacks(N,v,E)}))}provideSync(k,v){if(typeof k!=="string"){throw new TypeError("path must be a string")}if(v){return this._syncProvider.call(this._providerContext,k,v)}if(this._mode===L){this._runDecays()}let E=this._data.get(k);if(E!==undefined){if(E.err)throw E.err;return E.result}const P=this._activeAsyncOperations.get(k);this._activeAsyncOperations.delete(k);let R;try{R=this._syncProvider.call(this._providerContext,k)}catch(v){this._storeResult(k,v,undefined);this._enterSyncModeWhenIdle();if(P){runCallbacks(P,v,undefined)}throw v}this._storeResult(k,undefined,R);this._enterSyncModeWhenIdle();if(P){runCallbacks(P,undefined,R)}return R}purge(k){if(!k){if(this._mode!==R){this._data.clear();for(const k of this._levels){k.clear()}this._enterIdleMode()}}else if(typeof k==="string"){for(let[v,E]of this._data){if(v.startsWith(k)){this._data.delete(v);E.level.delete(v)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[v,E]of this._data){for(const P of k){if(v.startsWith(P)){this._data.delete(v);E.level.delete(v);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(k){if(!k){this.purge()}else if(typeof k==="string"){this.purge(dirname(k))}else{const v=new Set;for(const E of k){v.add(dirname(E))}this.purge(v)}}_storeResult(k,v,E){if(this._data.has(k))return;const P=this._levels[this._currentLevel];this._data.set(k,{err:v,result:E,level:P});P.add(k)}_decayLevel(){const k=(this._currentLevel+1)%this._levels.length;const v=this._levels[k];this._currentLevel=k;for(let k of v){this._data.delete(k)}v.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 k=0;switch(this._mode){case N:return;case R:this._nextDecay=Date.now()+this._tickInterval;k=this._tickInterval;break;case L:this._runDecays();if(this._mode===R)return;k=Math.max(0,this._nextDecay-Date.now());break}this._mode=N;const v=setTimeout((()=>{this._mode=L;this._runDecays()}),k);if(v.unref)v.unref();this._timeout=v}_enterSyncModeWhenIdle(){if(this._mode===R){this._mode=L;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=R;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(k,v,E,P)=>{if(k>0){return new CacheBackend(k,v,E,P)}return new OperationMergerBackend(v,E,P)};k.exports=class CachedInputFileSystem{constructor(k,v){this.fileSystem=k;this._lstatBackend=createBackend(v,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const E=this._lstatBackend.provide;this.lstat=E;const P=this._lstatBackend.provideSync;this.lstatSync=P;this._statBackend=createBackend(v,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const R=this._statBackend.provide;this.stat=R;const L=this._statBackend.provideSync;this.statSync=L;this._readdirBackend=createBackend(v,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const N=this._readdirBackend.provide;this.readdir=N;const q=this._readdirBackend.provideSync;this.readdirSync=q;this._readFileBackend=createBackend(v,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const ae=this._readFileBackend.provide;this.readFile=ae;const le=this._readFileBackend.provideSync;this.readFileSync=le;this._readJsonBackend=createBackend(v,this.fileSystem.readJson||this.readFile&&((k,v)=>{this.readFile(k,((k,E)=>{if(k)return v(k);if(!E||E.length===0)return v(new Error("No file content"));let P;try{P=JSON.parse(E.toString("utf-8"))}catch(k){return v(k)}v(null,P)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(k=>{const v=this.readFileSync(k);const E=JSON.parse(v.toString("utf-8"));return E}),this.fileSystem);const pe=this._readJsonBackend.provide;this.readJson=pe;const me=this._readJsonBackend.provideSync;this.readJsonSync=me;this._readlinkBackend=createBackend(v,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const ye=this._readlinkBackend.provide;this.readlink=ye;const _e=this._readlinkBackend.provideSync;this.readlinkSync=_e}purge(k){this._statBackend.purge(k);this._lstatBackend.purge(k);this._readdirBackend.purgeParent(k);this._readFileBackend.purge(k);this._readlinkBackend.purge(k);this._readJsonBackend.purge(k)}}},63871:function(k,v,E){"use strict";const P=E(9010).basename;k.exports=class CloneBasenamePlugin{constructor(k,v){this.source=k;this.target=v}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("CloneBasenamePlugin",((E,R,L)=>{const N=E.path;const q=P(N);const ae=k.join(N,q);const le={...E,path:ae,relativePath:E.relativePath&&k.join(E.relativePath,q)};k.doResolve(v,le,"using path: "+ae,R,L)}))}}},16596:function(k){"use strict";k.exports=class ConditionalPlugin{constructor(k,v,E,P,R){this.source=k;this.test=v;this.message=E;this.allowAlternatives=P;this.target=R}apply(k){const v=k.ensureHook(this.target);const{test:E,message:P,allowAlternatives:R}=this;const L=Object.keys(E);k.getHook(this.source).tapAsync("ConditionalPlugin",((N,q,ae)=>{for(const k of L){if(N[k]!==E[k])return ae()}k.doResolve(v,N,P,q,R?ae:(k,v)=>{if(k)return ae(k);if(v===undefined)return ae(null,null);ae(null,v)})}))}}},29559:function(k,v,E){"use strict";const P=E(40886);k.exports=class DescriptionFilePlugin{constructor(k,v,E,P){this.source=k;this.filenames=v;this.pathIsFile=E;this.target=P}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("DescriptionFilePlugin",((E,R,L)=>{const N=E.path;if(!N)return L();const q=this.pathIsFile?P.cdUp(N):N;if(!q)return L();P.loadDescriptionFile(k,q,this.filenames,E.descriptionFilePath?{path:E.descriptionFilePath,content:E.descriptionFileData,directory:E.descriptionFileRoot}:undefined,R,((P,ae)=>{if(P)return L(P);if(!ae){if(R.log)R.log(`No description file found in ${q} or above`);return L()}const le="."+N.slice(ae.directory.length).replace(/\\/g,"/");const pe={...E,descriptionFilePath:ae.path,descriptionFileData:ae.content,descriptionFileRoot:ae.directory,relativePath:le};k.doResolve(v,pe,"using description file: "+ae.path+" (relative path: "+le+")",R,((k,v)=>{if(k)return L(k);if(v===undefined)return L(null,null);L(null,v)}))}))}))}}},40886:function(k,v,E){"use strict";const P=E(29779);function loadDescriptionFile(k,v,E,R,L,N){(function findDescriptionFile(){if(R&&R.directory===v){return N(null,R)}P(E,((E,P)=>{const R=k.join(v,E);if(k.fileSystem.readJson){k.fileSystem.readJson(R,((k,v)=>{if(k){if(typeof k.code!=="undefined"){if(L.missingDependencies){L.missingDependencies.add(R)}return P()}if(L.fileDependencies){L.fileDependencies.add(R)}return onJson(k)}if(L.fileDependencies){L.fileDependencies.add(R)}onJson(null,v)}))}else{k.fileSystem.readFile(R,((k,v)=>{if(k){if(L.missingDependencies){L.missingDependencies.add(R)}return P()}if(L.fileDependencies){L.fileDependencies.add(R)}let E;if(v){try{E=JSON.parse(v.toString())}catch(k){return onJson(k)}}else{return onJson(new Error("No content in file"))}onJson(null,E)}))}function onJson(k,E){if(k){if(L.log)L.log(R+" (directory description file): "+k);else k.message=R+" (directory description file): "+k;return P(k)}P(null,{content:E,directory:v,path:R})}}),((k,E)=>{if(k)return N(k);if(E){return N(null,E)}else{const k=cdUp(v);if(!k){return N()}else{v=k;return findDescriptionFile()}}}))})()}function getField(k,v){if(!k)return undefined;if(Array.isArray(v)){let E=k;for(let k=0;k{const L=k.fileSystem;const N=E.path;if(!N)return R();L.stat(N,((L,q)=>{if(L||!q){if(P.missingDependencies)P.missingDependencies.add(N);if(P.log)P.log(N+" doesn't exist");return R()}if(!q.isDirectory()){if(P.missingDependencies)P.missingDependencies.add(N);if(P.log)P.log(N+" is not a directory");return R()}if(P.fileDependencies)P.fileDependencies.add(N);k.doResolve(v,E,`existing directory ${N}`,P,R)}))}))}}},77803:function(k,v,E){"use strict";const P=E(71017);const R=E(40886);const L=E(29779);const{processExportsField:N}=E(36914);const{parseIdentifier:q}=E(60097);const{checkImportsExportsFieldTarget:ae}=E(39840);k.exports=class ExportsFieldPlugin{constructor(k,v,E,P){this.source=k;this.target=P;this.conditionNames=v;this.fieldName=E;this.fieldProcessorCache=new WeakMap}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("ExportsFieldPlugin",((E,le,pe)=>{if(!E.descriptionFilePath)return pe();if(E.relativePath!=="."||E.request===undefined)return pe();const me=E.query||E.fragment?(E.request==="."?"./":E.request)+E.query+E.fragment:E.request;const ye=R.getField(E.descriptionFileData,this.fieldName);if(!ye)return pe();if(E.directory){return pe(new Error(`Resolving to directories is not possible with the exports field (request was ${me}/)`))}let _e;try{let k=this.fieldProcessorCache.get(E.descriptionFileData);if(k===undefined){k=N(ye);this.fieldProcessorCache.set(E.descriptionFileData,k)}_e=k(me,this.conditionNames)}catch(k){if(le.log){le.log(`Exports field in ${E.descriptionFilePath} can't be processed: ${k}`)}return pe(k)}if(_e.length===0){return pe(new Error(`Package path ${me} is not exported from package ${E.descriptionFileRoot} (see exports field in ${E.descriptionFilePath})`))}L(_e,((R,L)=>{const N=q(R);if(!N)return L();const[pe,me,ye]=N;const _e=ae(pe);if(_e){return L(_e)}const Ie={...E,request:undefined,path:P.join(E.descriptionFileRoot,pe),relativePath:pe,query:me,fragment:ye};k.doResolve(v,Ie,"using exports field: "+R,le,L)}),((k,v)=>pe(k,v||null)))}))}}},70868:function(k,v,E){"use strict";const P=E(29779);k.exports=class ExtensionAliasPlugin{constructor(k,v,E){this.source=k;this.options=v;this.target=E}apply(k){const v=k.ensureHook(this.target);const{extension:E,alias:R}=this.options;k.getHook(this.source).tapAsync("ExtensionAliasPlugin",((L,N,q)=>{const ae=L.request;if(!ae||!ae.endsWith(E))return q();const le=typeof R==="string";const resolve=(P,R,q)=>{const pe=`${ae.slice(0,-E.length)}${P}`;return k.doResolve(v,{...L,request:pe,fullySpecified:true},`aliased from extension alias with mapping '${E}' to '${P}'`,N,((k,v)=>{if(!le&&q){if(q!==this.options.alias.length){if(N.log){N.log(`Failed to alias from extension alias with mapping '${E}' to '${P}' for '${pe}': ${k}`)}return R(null,v)}return R(k,v)}else{R(k,v)}}))};const stoppingCallback=(k,v)=>{if(k)return q(k);if(v)return q(null,v);return q(null,null)};if(le){resolve(R,stoppingCallback)}else if(R.length>1){P(R,resolve,stoppingCallback)}else{resolve(R[0],stoppingCallback)}}))}}},79561:function(k){"use strict";k.exports=class FileExistsPlugin{constructor(k,v){this.source=k;this.target=v}apply(k){const v=k.ensureHook(this.target);const E=k.fileSystem;k.getHook(this.source).tapAsync("FileExistsPlugin",((P,R,L)=>{const N=P.path;if(!N)return L();E.stat(N,((E,q)=>{if(E||!q){if(R.missingDependencies)R.missingDependencies.add(N);if(R.log)R.log(N+" doesn't exist");return L()}if(!q.isFile()){if(R.missingDependencies)R.missingDependencies.add(N);if(R.log)R.log(N+" is not a file");return L()}if(R.fileDependencies)R.fileDependencies.add(N);k.doResolve(v,P,"existing file: "+N,R,L)}))}))}}},33484:function(k,v,E){"use strict";const P=E(71017);const R=E(40886);const L=E(29779);const{processImportsField:N}=E(36914);const{parseIdentifier:q}=E(60097);const{checkImportsExportsFieldTarget:ae}=E(39840);const le=".".charCodeAt(0);k.exports=class ImportsFieldPlugin{constructor(k,v,E,P,R){this.source=k;this.targetFile=P;this.targetPackage=R;this.conditionNames=v;this.fieldName=E;this.fieldProcessorCache=new WeakMap}apply(k){const v=k.ensureHook(this.targetFile);const E=k.ensureHook(this.targetPackage);k.getHook(this.source).tapAsync("ImportsFieldPlugin",((pe,me,ye)=>{if(!pe.descriptionFilePath||pe.request===undefined){return ye()}const _e=pe.request+pe.query+pe.fragment;const Ie=R.getField(pe.descriptionFileData,this.fieldName);if(!Ie)return ye();if(pe.directory){return ye(new Error(`Resolving to directories is not possible with the imports field (request was ${_e}/)`))}let Me;try{let k=this.fieldProcessorCache.get(pe.descriptionFileData);if(k===undefined){k=N(Ie);this.fieldProcessorCache.set(pe.descriptionFileData,k)}Me=k(_e,this.conditionNames)}catch(k){if(me.log){me.log(`Imports field in ${pe.descriptionFilePath} can't be processed: ${k}`)}return ye(k)}if(Me.length===0){return ye(new Error(`Package import ${_e} is not imported from package ${pe.descriptionFileRoot} (see imports field in ${pe.descriptionFilePath})`))}L(Me,((R,L)=>{const N=q(R);if(!N)return L();const[ye,_e,Ie]=N;const Me=ae(ye);if(Me){return L(Me)}switch(ye.charCodeAt(0)){case le:{const E={...pe,request:undefined,path:P.join(pe.descriptionFileRoot,ye),relativePath:ye,query:_e,fragment:Ie};k.doResolve(v,E,"using imports field: "+R,me,L);break}default:{const v={...pe,request:ye,relativePath:ye,fullySpecified:true,query:_e,fragment:Ie};k.doResolve(E,v,"using imports field: "+R,me,L)}}}),((k,v)=>ye(k,v||null)))}))}}},82782:function(k){"use strict";const v="@".charCodeAt(0);k.exports=class JoinRequestPartPlugin{constructor(k,v){this.source=k;this.target=v}apply(k){const E=k.ensureHook(this.target);k.getHook(this.source).tapAsync("JoinRequestPartPlugin",((P,R,L)=>{const N=P.request||"";let q=N.indexOf("/",3);if(q>=0&&N.charCodeAt(2)===v){q=N.indexOf("/",q+1)}let ae;let le;let pe;if(q<0){ae=N;le=".";pe=false}else{ae=N.slice(0,q);le="."+N.slice(q);pe=P.fullySpecified}const me={...P,path:k.join(P.path,ae),relativePath:P.relativePath&&k.join(P.relativePath,ae),request:le,fullySpecified:pe};k.doResolve(E,me,null,R,L)}))}}},65841:function(k){"use strict";k.exports=class JoinRequestPlugin{constructor(k,v){this.source=k;this.target=v}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("JoinRequestPlugin",((E,P,R)=>{const L=E.path;const N=E.request;const q={...E,path:k.join(L,N),relativePath:E.relativePath&&k.join(E.relativePath,N),request:undefined};k.doResolve(v,q,null,P,R)}))}}},92305:function(k){"use strict";k.exports=class LogInfoPlugin{constructor(k){this.source=k}apply(k){const v=this.source;k.getHook(this.source).tapAsync("LogInfoPlugin",((k,E,P)=>{if(!E.log)return P();const R=E.log;const L="["+v+"] ";if(k.path)R(L+"Resolving in directory: "+k.path);if(k.request)R(L+"Resolving request: "+k.request);if(k.module)R(L+"Request is an module request.");if(k.directory)R(L+"Request is a directory request.");if(k.query)R(L+"Resolving request query: "+k.query);if(k.fragment)R(L+"Resolving request fragment: "+k.fragment);if(k.descriptionFilePath)R(L+"Has description data from "+k.descriptionFilePath);if(k.relativePath)R(L+"Relative path from description file is: "+k.relativePath);P()}))}}},38718:function(k,v,E){"use strict";const P=E(71017);const R=E(40886);const L=Symbol("alreadyTriedMainField");k.exports=class MainFieldPlugin{constructor(k,v,E){this.source=k;this.options=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("MainFieldPlugin",((E,N,q)=>{if(E.path!==E.descriptionFileRoot||E[L]===E.descriptionFilePath||!E.descriptionFilePath)return q();const ae=P.basename(E.descriptionFilePath);let le=R.getField(E.descriptionFileData,this.options.name);if(!le||typeof le!=="string"||le==="."||le==="./"){return q()}if(this.options.forceRelative&&!/^\.\.?\//.test(le))le="./"+le;const pe={...E,request:le,module:false,directory:le.endsWith("/"),[L]:E.descriptionFilePath};return k.doResolve(v,pe,"use "+le+" from "+this.options.name+" in "+ae,N,q)}))}}},44869:function(k,v,E){"use strict";const P=E(29779);const R=E(9010);k.exports=class ModulesInHierarchicalDirectoriesPlugin{constructor(k,v,E){this.source=k;this.directories=[].concat(v);this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("ModulesInHierarchicalDirectoriesPlugin",((E,L,N)=>{const q=k.fileSystem;const ae=R(E.path).paths.map((v=>this.directories.map((E=>k.join(v,E))))).reduce(((k,v)=>{k.push.apply(k,v);return k}),[]);P(ae,((P,R)=>{q.stat(P,((N,q)=>{if(!N&&q&&q.isDirectory()){const N={...E,path:P,request:"./"+E.request,module:false};const q="looking for modules in "+P;return k.doResolve(v,N,q,L,R)}if(L.log)L.log(P+" doesn't exist or is not a directory");if(L.missingDependencies)L.missingDependencies.add(P);return R()}))}),N)}))}}},91119:function(k){"use strict";k.exports=class ModulesInRootPlugin{constructor(k,v,E){this.source=k;this.path=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("ModulesInRootPlugin",((E,P,R)=>{const L={...E,path:this.path,request:"./"+E.request,module:false};k.doResolve(v,L,"looking for modules in "+this.path,P,R)}))}}},72715:function(k){"use strict";k.exports=class NextPlugin{constructor(k,v){this.source=k;this.target=v}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("NextPlugin",((E,P,R)=>{k.doResolve(v,E,null,P,R)}))}}},50802:function(k){"use strict";k.exports=class ParsePlugin{constructor(k,v,E){this.source=k;this.requestOptions=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("ParsePlugin",((E,P,R)=>{const L=k.parse(E.request);const N={...E,...L,...this.requestOptions};if(E.query&&!L.query){N.query=E.query}if(E.fragment&&!L.fragment){N.fragment=E.fragment}if(L&&P.log){if(L.module)P.log("Parsed request is a module");if(L.directory)P.log("Parsed request is a directory")}if(N.request&&!N.query&&N.fragment){const E=N.fragment.endsWith("/");const L={...N,directory:E,request:N.request+(N.directory?"/":"")+(E?N.fragment.slice(0,-1):N.fragment),fragment:""};k.doResolve(v,L,null,P,((E,L)=>{if(E)return R(E);if(L)return R(null,L);k.doResolve(v,N,null,P,R)}));return}k.doResolve(v,N,null,P,R)}))}}},94727:function(k){"use strict";k.exports=class PnpPlugin{constructor(k,v,E){this.source=k;this.pnpApi=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("PnpPlugin",((E,P,R)=>{const L=E.request;if(!L)return R();const N=`${E.path}/`;const q=/^(@[^/]+\/)?[^/]+/.exec(L);if(!q)return R();const ae=q[0];const le=`.${L.slice(ae.length)}`;let pe;let me;try{pe=this.pnpApi.resolveToUnqualified(ae,N,{considerBuiltins:false});if(P.fileDependencies){me=this.pnpApi.resolveToUnqualified("pnpapi",N,{considerBuiltins:false})}}catch(k){if(k.code==="MODULE_NOT_FOUND"&&k.pnpCode==="UNDECLARED_DEPENDENCY"){if(P.log){P.log(`request is not managed by the pnpapi`);for(const v of k.message.split("\n").filter(Boolean))P.log(` ${v}`)}return R()}return R(k)}if(pe===ae)return R();if(me&&P.fileDependencies){P.fileDependencies.add(me)}const ye={...E,path:pe,request:le,ignoreSymlinks:true,fullySpecified:E.fullySpecified&&le!=="."};k.doResolve(v,ye,`resolved by pnp to ${pe}`,P,((k,v)=>{if(k)return R(k);if(v)return R(null,v);return R(null,null)}))}))}}},30558:function(k,v,E){"use strict";const{AsyncSeriesBailHook:P,AsyncSeriesHook:R,SyncHook:L}=E(79846);const N=E(29824);const{parseIdentifier:q}=E(60097);const{normalize:ae,cachedJoin:le,getType:pe,PathType:me}=E(39840);function toCamelCase(k){return k.replace(/-([a-z])/g,(k=>k.slice(1).toUpperCase()))}class Resolver{static createStackEntry(k,v){return k.name+": ("+v.path+") "+(v.request||"")+(v.query||"")+(v.fragment||"")+(v.directory?" directory":"")+(v.module?" module":"")}constructor(k,v){this.fileSystem=k;this.options=v;this.hooks={resolveStep:new L(["hook","request"],"resolveStep"),noResolve:new L(["request","error"],"noResolve"),resolve:new P(["request","resolveContext"],"resolve"),result:new R(["result","resolveContext"],"result")}}ensureHook(k){if(typeof k!=="string"){return k}k=toCamelCase(k);if(/^before/.test(k)){return this.ensureHook(k[6].toLowerCase()+k.slice(7)).withOptions({stage:-10})}if(/^after/.test(k)){return this.ensureHook(k[5].toLowerCase()+k.slice(6)).withOptions({stage:10})}const v=this.hooks[k];if(!v){this.hooks[k]=new P(["request","resolveContext"],k);return this.hooks[k]}return v}getHook(k){if(typeof k!=="string"){return k}k=toCamelCase(k);if(/^before/.test(k)){return this.getHook(k[6].toLowerCase()+k.slice(7)).withOptions({stage:-10})}if(/^after/.test(k)){return this.getHook(k[5].toLowerCase()+k.slice(6)).withOptions({stage:10})}const v=this.hooks[k];if(!v){throw new Error(`Hook ${k} doesn't exist`)}return v}resolveSync(k,v,E){let P=undefined;let R=undefined;let L=false;this.resolve(k,v,E,{},((k,v)=>{P=k;R=v;L=true}));if(!L){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if(P)throw P;if(R===undefined)throw new Error("No result");return R}resolve(k,v,E,P,R){if(!k||typeof k!=="object")return R(new Error("context argument is not an object"));if(typeof v!=="string")return R(new Error("path argument is not a string"));if(typeof E!=="string")return R(new Error("request argument is not a string"));if(!P)return R(new Error("resolveContext argument is not set"));const L={context:k,path:v,request:E};let N;let q=false;let ae;if(typeof P.yield==="function"){const k=P.yield;N=v=>{k(v);q=true};ae=k=>{if(k){N(k)}R(null)}}const le=`resolve '${E}' in '${v}'`;const finishResolved=k=>R(null,k.path===false?false:`${k.path.replace(/#/g,"\0#")}${k.query?k.query.replace(/#/g,"\0#"):""}${k.fragment||""}`,k);const finishWithoutResolve=k=>{const v=new Error("Can't "+le);v.details=k.join("\n");this.hooks.noResolve.call(L,v);return R(v)};if(P.log){const k=P.log;const v=[];return this.doResolve(this.hooks.resolve,L,le,{log:E=>{k(E);v.push(E)},yield:N,fileDependencies:P.fileDependencies,contextDependencies:P.contextDependencies,missingDependencies:P.missingDependencies,stack:P.stack},((k,E)=>{if(k)return R(k);if(q||E&&N){return ae(E)}if(E)return finishResolved(E);return finishWithoutResolve(v)}))}else{return this.doResolve(this.hooks.resolve,L,le,{log:undefined,yield:N,fileDependencies:P.fileDependencies,contextDependencies:P.contextDependencies,missingDependencies:P.missingDependencies,stack:P.stack},((k,v)=>{if(k)return R(k);if(q||v&&N){return ae(v)}if(v)return finishResolved(v);const E=[];return this.doResolve(this.hooks.resolve,L,le,{log:k=>E.push(k),yield:N,stack:P.stack},((k,v)=>{if(k)return R(k);if(q||v&&N){return ae(v)}return finishWithoutResolve(E)}))}))}}doResolve(k,v,E,P,R){const L=Resolver.createStackEntry(k,v);let q;if(P.stack){q=new Set(P.stack);if(P.stack.has(L)){const k=new Error("Recursion in resolving\nStack:\n "+Array.from(q).join("\n "));k.recursion=true;if(P.log)P.log("abort resolving because of recursion");return R(k)}q.add(L)}else{q=new Set([L])}this.hooks.resolveStep.call(k,v);if(k.isUsed()){const L=N({log:P.log,yield:P.yield,fileDependencies:P.fileDependencies,contextDependencies:P.contextDependencies,missingDependencies:P.missingDependencies,stack:q},E);return k.callAsync(v,L,((k,v)=>{if(k)return R(k);if(v)return R(null,v);R()}))}else{R()}}parse(k){const v={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const E=q(k);if(!E)return v;[v.request,v.query,v.fragment]=E;if(v.request.length>0){v.internal=this.isPrivate(k);v.module=this.isModule(v.request);v.directory=this.isDirectory(v.request);if(v.directory){v.request=v.request.slice(0,-1)}}return v}isModule(k){return pe(k)===me.Normal}isPrivate(k){return pe(k)===me.Internal}isDirectory(k){return k.endsWith("/")}join(k,v){return le(k,v)}normalize(k){return ae(k)}}k.exports=Resolver},77747:function(k,v,E){"use strict";const P=E(77282).versions;const R=E(30558);const{getType:L,PathType:N}=E(39840);const q=E(19674);const ae=E(14041);const le=E(68345);const pe=E(49225);const me=E(16596);const ye=E(29559);const _e=E(27271);const Ie=E(77803);const Me=E(70868);const Te=E(79561);const je=E(33484);const Ne=E(82782);const Be=E(65841);const qe=E(38718);const Ue=E(44869);const Ge=E(91119);const He=E(72715);const We=E(50802);const Qe=E(94727);const Je=E(34682);const Ve=E(43684);const Ke=E(55763);const Ye=E(63816);const Xe=E(83012);const Ze=E(2458);const et=E(61395);const tt=E(95286);function processPnpApiOption(k){if(k===undefined&&P.pnp){return E(35125)}return k||null}function normalizeAlias(k){return typeof k==="object"&&!Array.isArray(k)&&k!==null?Object.keys(k).map((v=>{const E={name:v,onlyModule:false,alias:k[v]};if(/\$$/.test(v)){E.onlyModule=true;E.name=v.slice(0,-1)}return E})):k||[]}function createOptions(k){const v=new Set(k.mainFields||["main"]);const E=[];for(const k of v){if(typeof k==="string"){E.push({name:[k],forceRelative:true})}else if(Array.isArray(k)){E.push({name:k,forceRelative:true})}else{E.push({name:Array.isArray(k.name)?k.name:[k.name],forceRelative:k.forceRelative})}}return{alias:normalizeAlias(k.alias),fallback:normalizeAlias(k.fallback),aliasFields:new Set(k.aliasFields),cachePredicate:k.cachePredicate||function(){return true},cacheWithContext:typeof k.cacheWithContext!=="undefined"?k.cacheWithContext:true,exportsFields:new Set(k.exportsFields||["exports"]),importsFields:new Set(k.importsFields||["imports"]),conditionNames:new Set(k.conditionNames),descriptionFiles:Array.from(new Set(k.descriptionFiles||["package.json"])),enforceExtension:k.enforceExtension===undefined?k.extensions&&k.extensions.includes("")?true:false:k.enforceExtension,extensions:new Set(k.extensions||[".js",".json",".node"]),extensionAlias:k.extensionAlias?Object.keys(k.extensionAlias).map((v=>({extension:v,alias:k.extensionAlias[v]}))):[],fileSystem:k.useSyncFileSystemCalls?new q(k.fileSystem):k.fileSystem,unsafeCache:k.unsafeCache&&typeof k.unsafeCache!=="object"?{}:k.unsafeCache||false,symlinks:typeof k.symlinks!=="undefined"?k.symlinks:true,resolver:k.resolver,modules:mergeFilteredToArray(Array.isArray(k.modules)?k.modules:k.modules?[k.modules]:["node_modules"],(k=>{const v=L(k);return v===N.Normal||v===N.Relative})),mainFields:E,mainFiles:new Set(k.mainFiles||["index"]),plugins:k.plugins||[],pnpApi:processPnpApiOption(k.pnpApi),roots:new Set(k.roots||undefined),fullySpecified:k.fullySpecified||false,resolveToContext:k.resolveToContext||false,preferRelative:k.preferRelative||false,preferAbsolute:k.preferAbsolute||false,restrictions:new Set(k.restrictions)}}v.createResolver=function(k){const v=createOptions(k);const{alias:E,fallback:P,aliasFields:L,cachePredicate:N,cacheWithContext:q,conditionNames:nt,descriptionFiles:st,enforceExtension:rt,exportsFields:ot,extensionAlias:it,importsFields:at,extensions:ct,fileSystem:lt,fullySpecified:ut,mainFields:pt,mainFiles:dt,modules:ft,plugins:ht,pnpApi:mt,resolveToContext:gt,preferRelative:yt,preferAbsolute:bt,symlinks:xt,unsafeCache:kt,resolver:vt,restrictions:wt,roots:At}=v;const Et=ht.slice();const Ct=vt?vt:new R(lt,v);Ct.ensureHook("resolve");Ct.ensureHook("internalResolve");Ct.ensureHook("newInternalResolve");Ct.ensureHook("parsedResolve");Ct.ensureHook("describedResolve");Ct.ensureHook("rawResolve");Ct.ensureHook("normalResolve");Ct.ensureHook("internal");Ct.ensureHook("rawModule");Ct.ensureHook("module");Ct.ensureHook("resolveAsModule");Ct.ensureHook("undescribedResolveInPackage");Ct.ensureHook("resolveInPackage");Ct.ensureHook("resolveInExistingDirectory");Ct.ensureHook("relative");Ct.ensureHook("describedRelative");Ct.ensureHook("directory");Ct.ensureHook("undescribedExistingDirectory");Ct.ensureHook("existingDirectory");Ct.ensureHook("undescribedRawFile");Ct.ensureHook("rawFile");Ct.ensureHook("file");Ct.ensureHook("finalFile");Ct.ensureHook("existingFile");Ct.ensureHook("resolved");Ct.hooks.newInteralResolve=Ct.hooks.newInternalResolve;for(const{source:k,resolveOptions:v}of[{source:"resolve",resolveOptions:{fullySpecified:ut}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(kt){Et.push(new et(k,N,kt,q,`new-${k}`));Et.push(new We(`new-${k}`,v,"parsed-resolve"))}else{Et.push(new We(k,v,"parsed-resolve"))}}Et.push(new ye("parsed-resolve",st,false,"described-resolve"));Et.push(new He("after-parsed-resolve","described-resolve"));Et.push(new He("described-resolve","raw-resolve"));if(P.length>0){Et.push(new le("described-resolve",P,"internal-resolve"))}if(E.length>0){Et.push(new le("raw-resolve",E,"internal-resolve"))}L.forEach((k=>{Et.push(new ae("raw-resolve",k,"internal-resolve"))}));it.forEach((k=>Et.push(new Me("raw-resolve",k,"normal-resolve"))));Et.push(new He("raw-resolve","normal-resolve"));if(yt){Et.push(new Be("after-normal-resolve","relative"))}Et.push(new me("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));Et.push(new me("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(bt){Et.push(new Be("after-normal-resolve","relative"))}if(At.size>0){Et.push(new Ke("after-normal-resolve",At,"relative"))}if(!yt&&!bt){Et.push(new Be("after-normal-resolve","relative"))}at.forEach((k=>{Et.push(new je("internal",nt,k,"relative","internal-resolve"))}));ot.forEach((k=>{Et.push(new Ye("raw-module",k,"resolve-as-module"))}));ft.forEach((k=>{if(Array.isArray(k)){if(k.includes("node_modules")&&mt){Et.push(new Ue("raw-module",k.filter((k=>k!=="node_modules")),"module"));Et.push(new Qe("raw-module",mt,"undescribed-resolve-in-package"))}else{Et.push(new Ue("raw-module",k,"module"))}}else{Et.push(new Ge("raw-module",k,"module"))}}));Et.push(new Ne("module","resolve-as-module"));if(!gt){Et.push(new me("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}Et.push(new _e("resolve-as-module","undescribed-resolve-in-package"));Et.push(new ye("undescribed-resolve-in-package",st,false,"resolve-in-package"));Et.push(new He("after-undescribed-resolve-in-package","resolve-in-package"));ot.forEach((k=>{Et.push(new Ie("resolve-in-package",nt,k,"relative"))}));Et.push(new He("resolve-in-package","resolve-in-existing-directory"));Et.push(new Be("resolve-in-existing-directory","relative"));Et.push(new ye("relative",st,true,"described-relative"));Et.push(new He("after-relative","described-relative"));if(gt){Et.push(new He("described-relative","directory"))}else{Et.push(new me("described-relative",{directory:false},null,true,"raw-file"));Et.push(new me("described-relative",{fullySpecified:false},"as directory",true,"directory"))}Et.push(new _e("directory","undescribed-existing-directory"));if(gt){Et.push(new He("undescribed-existing-directory","resolved"))}else{Et.push(new ye("undescribed-existing-directory",st,false,"existing-directory"));dt.forEach((k=>{Et.push(new tt("undescribed-existing-directory",k,"undescribed-raw-file"))}));pt.forEach((k=>{Et.push(new qe("existing-directory",k,"resolve-in-existing-directory"))}));dt.forEach((k=>{Et.push(new tt("existing-directory",k,"undescribed-raw-file"))}));Et.push(new ye("undescribed-raw-file",st,true,"raw-file"));Et.push(new He("after-undescribed-raw-file","raw-file"));Et.push(new me("raw-file",{fullySpecified:true},null,false,"file"));if(!rt){Et.push(new Ze("raw-file","no extension","file"))}ct.forEach((k=>{Et.push(new pe("raw-file",k,"file"))}));if(E.length>0)Et.push(new le("file",E,"internal-resolve"));L.forEach((k=>{Et.push(new ae("file",k,"internal-resolve"))}));Et.push(new He("file","final-file"));Et.push(new Te("final-file","existing-file"));if(xt)Et.push(new Xe("existing-file","existing-file"));Et.push(new He("existing-file","resolved"))}const St=Ct.hooks.resolved;if(wt.size>0){Et.push(new Je(St,wt))}Et.push(new Ve(St));for(const k of Et){if(typeof k==="function"){k.call(Ct,Ct)}else{k.apply(Ct)}}return Ct};function mergeFilteredToArray(k,v){const E=[];const P=new Set(k);for(const k of P){if(v(k)){const v=E.length>0?E[E.length-1]:undefined;if(Array.isArray(v)){v.push(k)}else{E.push([k])}}else{E.push(k)}}return E}},34682:function(k){"use strict";const v="/".charCodeAt(0);const E="\\".charCodeAt(0);const isInside=(k,P)=>{if(!k.startsWith(P))return false;if(k.length===P.length)return true;const R=k.charCodeAt(P.length);return R===v||R===E};k.exports=class RestrictionsPlugin{constructor(k,v){this.source=k;this.restrictions=v}apply(k){k.getHook(this.source).tapAsync("RestrictionsPlugin",((k,v,E)=>{if(typeof k.path==="string"){const P=k.path;for(const k of this.restrictions){if(typeof k==="string"){if(!isInside(P,k)){if(v.log){v.log(`${P} is not inside of the restriction ${k}`)}return E(null,null)}}else if(!k.test(P)){if(v.log){v.log(`${P} doesn't match the restriction ${k}`)}return E(null,null)}}}E()}))}}},43684:function(k){"use strict";k.exports=class ResultPlugin{constructor(k){this.source=k}apply(k){this.source.tapAsync("ResultPlugin",((v,E,P)=>{const R={...v};if(E.log)E.log("reporting result "+R.path);k.hooks.result.callAsync(R,E,(k=>{if(k)return P(k);if(typeof E.yield==="function"){E.yield(R);P(null,null)}else{P(null,R)}}))}))}}},55763:function(k,v,E){"use strict";const P=E(29779);class RootsPlugin{constructor(k,v,E){this.roots=Array.from(v);this.source=k;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("RootsPlugin",((E,R,L)=>{const N=E.request;if(!N)return L();if(!N.startsWith("/"))return L();P(this.roots,((P,L)=>{const q=k.join(P,N.slice(1));const ae={...E,path:q,relativePath:E.relativePath&&q};k.doResolve(v,ae,`root path ${P}`,R,L)}),L)}))}}k.exports=RootsPlugin},63816:function(k,v,E){"use strict";const P=E(40886);const R="/".charCodeAt(0);k.exports=class SelfReferencePlugin{constructor(k,v,E){this.source=k;this.target=E;this.fieldName=v}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("SelfReferencePlugin",((E,L,N)=>{if(!E.descriptionFilePath)return N();const q=E.request;if(!q)return N();const ae=P.getField(E.descriptionFileData,this.fieldName);if(!ae)return N();const le=P.getField(E.descriptionFileData,"name");if(typeof le!=="string")return N();if(q.startsWith(le)&&(q.length===le.length||q.charCodeAt(le.length)===R)){const P=`.${q.slice(le.length)}`;const R={...E,request:P,path:E.descriptionFileRoot,relativePath:"."};k.doResolve(v,R,"self reference",L,N)}else{return N()}}))}}},83012:function(k,v,E){"use strict";const P=E(29779);const R=E(9010);const{getType:L,PathType:N}=E(39840);k.exports=class SymlinkPlugin{constructor(k,v){this.source=k;this.target=v}apply(k){const v=k.ensureHook(this.target);const E=k.fileSystem;k.getHook(this.source).tapAsync("SymlinkPlugin",((q,ae,le)=>{if(q.ignoreSymlinks)return le();const pe=R(q.path);const me=pe.segments;const ye=pe.paths;let _e=false;let Ie=-1;P(ye,((k,v)=>{Ie++;if(ae.fileDependencies)ae.fileDependencies.add(k);E.readlink(k,((k,E)=>{if(!k&&E){me[Ie]=E;_e=true;const k=L(E.toString());if(k===N.AbsoluteWin||k===N.AbsolutePosix){return v(null,Ie)}}v()}))}),((E,P)=>{if(!_e)return le();const R=typeof P==="number"?me.slice(0,P+1):me.slice();const L=R.reduceRight(((v,E)=>k.join(v,E)));const N={...q,path:L};k.doResolve(v,N,"resolved symlink to "+L,ae,le)}))}))}}},19674:function(k){"use strict";function SyncAsyncFileSystemDecorator(k){this.fs=k;this.lstat=undefined;this.lstatSync=undefined;const v=k.lstatSync;if(v){this.lstat=(E,P,R)=>{let L;try{L=v.call(k,E)}catch(k){return(R||P)(k)}(R||P)(null,L)};this.lstatSync=(E,P)=>v.call(k,E,P)}this.stat=(v,E,P)=>{let R;try{R=P?k.statSync(v,E):k.statSync(v)}catch(k){return(P||E)(k)}(P||E)(null,R)};this.statSync=(v,E)=>k.statSync(v,E);this.readdir=(v,E,P)=>{let R;try{R=k.readdirSync(v)}catch(k){return(P||E)(k)}(P||E)(null,R)};this.readdirSync=(v,E)=>k.readdirSync(v,E);this.readFile=(v,E,P)=>{let R;try{R=k.readFileSync(v)}catch(k){return(P||E)(k)}(P||E)(null,R)};this.readFileSync=(v,E)=>k.readFileSync(v,E);this.readlink=(v,E,P)=>{let R;try{R=k.readlinkSync(v)}catch(k){return(P||E)(k)}(P||E)(null,R)};this.readlinkSync=(v,E)=>k.readlinkSync(v,E);this.readJson=undefined;this.readJsonSync=undefined;const E=k.readJsonSync;if(E){this.readJson=(v,P,R)=>{let L;try{L=E.call(k,v)}catch(k){return(R||P)(k)}(R||P)(null,L)};this.readJsonSync=(v,P)=>E.call(k,v,P)}}k.exports=SyncAsyncFileSystemDecorator},2458:function(k){"use strict";k.exports=class TryNextPlugin{constructor(k,v,E){this.source=k;this.message=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("TryNextPlugin",((E,P,R)=>{k.doResolve(v,E,this.message,P,R)}))}}},61395:function(k){"use strict";function getCacheId(k,v,E){return JSON.stringify({type:k,context:E?v.context:"",path:v.path,query:v.query,fragment:v.fragment,request:v.request})}k.exports=class UnsafeCachePlugin{constructor(k,v,E,P,R){this.source=k;this.filterPredicate=v;this.withContext=P;this.cache=E;this.target=R}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("UnsafeCachePlugin",((E,P,R)=>{if(!this.filterPredicate(E))return R();const L=typeof P.yield==="function";const N=getCacheId(L?"yield":"default",E,this.withContext);const q=this.cache[N];if(q){if(L){const k=P.yield;if(Array.isArray(q)){for(const v of q)k(v)}else{k(q)}return R(null,null)}return R(null,q)}let ae;let le;const pe=[];if(L){ae=P.yield;le=k=>{pe.push(k)}}k.doResolve(v,E,null,le?{...P,yield:le}:P,((k,v)=>{if(k)return R(k);if(L){if(v)pe.push(v);for(const k of pe){ae(k)}this.cache[N]=pe;return R(null,null)}if(v)return R(null,this.cache[N]=v);R()}))}))}}},95286:function(k){"use strict";k.exports=class UseFilePlugin{constructor(k,v,E){this.source=k;this.filename=v;this.target=E}apply(k){const v=k.ensureHook(this.target);k.getHook(this.source).tapAsync("UseFilePlugin",((E,P,R)=>{const L=k.join(E.path,this.filename);const N={...E,path:L,relativePath:E.relativePath&&k.join(E.relativePath,this.filename)};k.doResolve(v,N,"using path: "+L,P,R)}))}}},29824:function(k){"use strict";k.exports=function createInnerContext(k,v){let E=false;let P=undefined;if(k.log){if(v){P=P=>{if(!E){k.log(v);E=true}k.log(" "+P)}}else{P=k.log}}return{log:P,yield:k.yield,fileDependencies:k.fileDependencies,contextDependencies:k.contextDependencies,missingDependencies:k.missingDependencies,stack:k.stack}}},29779:function(k){"use strict";k.exports=function forEachBail(k,v,E){if(k.length===0)return E();let P=0;const next=()=>{let R=undefined;v(k[P++],((v,L)=>{if(v||L!==undefined||P>=k.length){return E(v,L)}if(R===false)while(next());R=true}),P);if(!R)R=false;return R};while(next());}},71606:function(k){"use strict";k.exports=function getInnerRequest(k,v){if(typeof v.__innerRequest==="string"&&v.__innerRequest_request===v.request&&v.__innerRequest_relativePath===v.relativePath)return v.__innerRequest;let E;if(v.request){E=v.request;if(/^\.\.?(?:\/|$)/.test(E)&&v.relativePath){E=k.join(v.relativePath,E)}}else{E=v.relativePath}v.__innerRequest_request=v.request;v.__innerRequest_relativePath=v.relativePath;return v.__innerRequest=E}},9010:function(k){"use strict";k.exports=function getPaths(k){if(k==="/")return{paths:["/"],segments:[""]};const v=k.split(/(.*?[\\/]+)/);const E=[k];const P=[v[v.length-1]];let R=v[v.length-1];k=k.substring(0,k.length-R.length-1);for(let L=v.length-2;L>2;L-=2){E.push(k);R=v[L];k=k.substring(0,k.length-R.length)||"/";P.push(R.slice(0,-1))}R=v[1];P.push(R);E.push(R);return{paths:E,segments:P}};k.exports.basename=function basename(k){const v=k.lastIndexOf("/"),E=k.lastIndexOf("\\");const P=v<0?E:E<0?v:v{if(typeof k==="string"){R=P;P=E;E=v;v=k;k=q}if(typeof R!=="function"){R=P}ae.resolve(k,v,E,P,R)};const le=L.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:N});const resolveSync=(k,v,E)=>{if(typeof k==="string"){E=v;v=k;k=q}return le.resolveSync(k,v,E)};function create(k){const v=L.createResolver({fileSystem:N,...k});return function(k,E,P,R,L){if(typeof k==="string"){L=R;R=P;P=E;E=k;k=q}if(typeof L!=="function"){L=R}v.resolve(k,E,P,R,L)}}function createSync(k){const v=L.createResolver({useSyncFileSystemCalls:true,fileSystem:N,...k});return function(k,E,P){if(typeof k==="string"){P=E;E=k;k=q}return v.resolveSync(k,E,P)}}const mergeExports=(k,v)=>{const E=Object.getOwnPropertyDescriptors(v);Object.defineProperties(k,E);return Object.freeze(k)};k.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:L,CachedInputFileSystem:R,get CloneBasenamePlugin(){return E(63871)},get LogInfoPlugin(){return E(92305)},get forEachBail(){return E(29779)}})},36914:function(k){"use strict";const v="/".charCodeAt(0);const E=".".charCodeAt(0);const P="#".charCodeAt(0);const R=/\*/g;k.exports.processExportsField=function processExportsField(k){return createFieldProcessor(buildExportsField(k),(k=>k.length===0?".":"./"+k),assertExportsFieldRequest,assertExportTarget)};k.exports.processImportsField=function processImportsField(k){return createFieldProcessor(buildImportsField(k),(k=>"#"+k),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(k,v,E,P){return function fieldProcessor(R,L){R=E(R);const N=findMatch(v(R),k);if(N===null)return[];const[q,ae,le,pe]=N;let me=null;if(isConditionalMapping(q)){me=conditionalMapping(q,L);if(me===null)return[]}else{me=q}return directMapping(ae,pe,le,me,L,P)}}function assertExportsFieldRequest(k){if(k.charCodeAt(0)!==E){throw new Error('Request should be relative path and start with "."')}if(k.length===1)return"";if(k.charCodeAt(1)!==v){throw new Error('Request should be relative path and start with "./"')}if(k.charCodeAt(k.length-1)===v){throw new Error("Only requesting file allowed")}return k.slice(2)}function assertImportsFieldRequest(k){if(k.charCodeAt(0)!==P){throw new Error('Request should start with "#"')}if(k.length===1){throw new Error("Request should have at least 2 characters")}if(k.charCodeAt(1)===v){throw new Error('Request should not start with "#/"')}if(k.charCodeAt(k.length-1)===v){throw new Error("Only requesting file allowed")}return k.slice(1)}function assertExportTarget(k,P){if(k.charCodeAt(0)===v||k.charCodeAt(0)===E&&k.charCodeAt(1)!==v){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(k)}.`)}const R=k.charCodeAt(k.length-1)===v;if(R!==P){throw new Error(P?`Expecting folder to folder mapping. ${JSON.stringify(k)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(k)} should not end with "/"`)}}function assertImportTarget(k,E){const P=k.charCodeAt(k.length-1)===v;if(P!==E){throw new Error(E?`Expecting folder to folder mapping. ${JSON.stringify(k)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(k)} should not end with "/"`)}}function patternKeyCompare(k,v){const E=k.indexOf("*");const P=v.indexOf("*");const R=E===-1?k.length:E+1;const L=P===-1?v.length:P+1;if(R>L)return-1;if(L>R)return 1;if(E===-1)return 1;if(P===-1)return-1;if(k.length>v.length)return-1;if(v.length>k.length)return 1;return 0}function findMatch(k,v){if(Object.prototype.hasOwnProperty.call(v,k)&&!k.includes("*")&&!k.endsWith("/")){const E=v[k];return[E,"",false,false]}let E="";let P;const R=Object.getOwnPropertyNames(v);for(let v=0;v=L.length&&k.endsWith(v)&&patternKeyCompare(E,L)===1&&L.lastIndexOf("*")===N){E=L;P=k.slice(N,k.length-v.length)}}else if(L[L.length-1]==="/"&&k.startsWith(L)&&patternKeyCompare(E,L)===1){E=L;P=k.slice(L.length)}}if(E==="")return null;const L=v[E];const N=E.endsWith("/");const q=E.includes("*");return[L,P,N,q]}function isConditionalMapping(k){return k!==null&&typeof k==="object"&&!Array.isArray(k)}function directMapping(k,v,E,P,R,L){if(P===null)return[];if(typeof P==="string"){return[targetMapping(k,v,E,P,L)]}const N=[];for(const q of P){if(typeof q==="string"){N.push(targetMapping(k,v,E,q,L));continue}const P=conditionalMapping(q,R);if(!P)continue;const ae=directMapping(k,v,E,P,R,L);for(const k of ae){N.push(k)}}return N}function targetMapping(k,v,E,P,L){if(k===undefined){L(P,false);return P}if(E){L(P,true);return P+k}L(P,false);let N=P;if(v){N=N.replace(R,k.replace(/\$/g,"$$"))}return N}function conditionalMapping(k,v){let E=[[k,Object.keys(k),0]];e:while(E.length>0){const[k,P,R]=E[E.length-1];const L=P.length-1;for(let N=R;N{switch(k.length){case 0:return Me.Empty;case 1:{const v=k.charCodeAt(0);switch(v){case me:return Me.Relative;case L:return Me.AbsolutePosix;case R:return Me.Internal}return Me.Normal}case 2:{const v=k.charCodeAt(0);switch(v){case me:{const v=k.charCodeAt(1);switch(v){case me:case L:return Me.Relative}return Me.Normal}case L:return Me.AbsolutePosix;case R:return Me.Internal}const E=k.charCodeAt(1);if(E===ye){if(v>=q&&v<=ae||v>=le&&v<=pe){return Me.AbsoluteWin}}return Me.Normal}}const v=k.charCodeAt(0);switch(v){case me:{const v=k.charCodeAt(1);switch(v){case L:return Me.Relative;case me:{const v=k.charCodeAt(2);if(v===L)return Me.Relative;return Me.Normal}}return Me.Normal}case L:return Me.AbsolutePosix;case R:return Me.Internal}const E=k.charCodeAt(1);if(E===ye){const E=k.charCodeAt(2);if((E===N||E===L)&&(v>=q&&v<=ae||v>=le&&v<=pe)){return Me.AbsoluteWin}}return Me.Normal};v.getType=getType;const normalize=k=>{switch(getType(k)){case Me.Empty:return k;case Me.AbsoluteWin:return Ie(k);case Me.Relative:{const v=_e(k);return getType(v)===Me.Relative?v:`./${v}`}}return _e(k)};v.normalize=normalize;const join=(k,v)=>{if(!v)return normalize(k);const E=getType(v);switch(E){case Me.AbsolutePosix:return _e(v);case Me.AbsoluteWin:return Ie(v)}switch(getType(k)){case Me.Normal:case Me.Relative:case Me.AbsolutePosix:return _e(`${k}/${v}`);case Me.AbsoluteWin:return Ie(`${k}\\${v}`)}switch(E){case Me.Empty:return k;case Me.Relative:{const v=_e(k);return getType(v)===Me.Relative?v:`./${v}`}}return _e(k)};v.join=join;const Te=new Map;const cachedJoin=(k,v)=>{let E;let P=Te.get(k);if(P===undefined){Te.set(k,P=new Map)}else{E=P.get(v);if(E!==undefined)return E}E=join(k,v);P.set(v,E);return E};v.cachedJoin=cachedJoin;const checkImportsExportsFieldTarget=k=>{let v=0;let E=k.indexOf("/",1);let P=0;while(E!==-1){const R=k.slice(v,E);switch(R){case"..":{P--;if(P<0)return new Error(`Trying to access out of package scope. Requesting ${k}`);break}case".":break;default:P++;break}v=E+1;E=k.indexOf("/",v)}};v.checkImportsExportsFieldTarget=checkImportsExportsFieldTarget},84494:function(k,v,E){"use strict";const P=E(30529);class Definition{constructor(k,v,E,P,R,L){this.type=k;this.name=v;this.node=E;this.parent=P;this.index=R;this.kind=L}}class ParameterDefinition extends Definition{constructor(k,v,E,R){super(P.Parameter,k,v,null,E,null);this.rest=R}}k.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},12836:function(k,v,E){"use strict";const P=E(39491);const R=E(40680);const L=E(48648);const N=E(21621);const q=E(30529);const ae=E(18802).Scope;const le=E(13348).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(k,v){function isHashObject(k){return typeof k==="object"&&k instanceof Object&&!(k instanceof Array)&&!(k instanceof RegExp)}for(const E in v){if(Object.prototype.hasOwnProperty.call(v,E)){const P=v[E];if(isHashObject(P)){if(isHashObject(k[E])){updateDeeply(k[E],P)}else{k[E]=updateDeeply({},P)}}else{k[E]=P}}}return k}function analyze(k,v){const E=updateDeeply(defaultOptions(),v);const N=new R(E);const q=new L(E,N);q.visit(k);P(N.__currentScope===null,"currentScope should be null.");return N}k.exports={version:le,Reference:N,Variable:q,Scope:ae,ScopeManager:R,analyze:analyze}},62999:function(k,v,E){"use strict";const P=E(12205).Syntax;const R=E(41396);function getLast(k){return k[k.length-1]||null}class PatternVisitor extends R.Visitor{static isPattern(k){const v=k.type;return v===P.Identifier||v===P.ObjectPattern||v===P.ArrayPattern||v===P.SpreadElement||v===P.RestElement||v===P.AssignmentPattern}constructor(k,v,E){super(null,k);this.rootPattern=v;this.callback=E;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(k){const v=getLast(this.restElements);this.callback(k,{topLevel:k===this.rootPattern,rest:v!==null&&v!==undefined&&v.argument===k,assignments:this.assignments})}Property(k){if(k.computed){this.rightHandNodes.push(k.key)}this.visit(k.value)}ArrayPattern(k){for(let v=0,E=k.elements.length;v{this.rightHandNodes.push(k)}));this.visit(k.callee)}}k.exports=PatternVisitor},21621:function(k){"use strict";const v=1;const E=2;const P=v|E;class Reference{constructor(k,v,E,P,R,L,N){this.identifier=k;this.from=v;this.tainted=false;this.resolved=null;this.flag=E;if(this.isWrite()){this.writeExpr=P;this.partial=L;this.init=N}this.__maybeImplicitGlobal=R}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=v;Reference.WRITE=E;Reference.RW=P;k.exports=Reference},48648:function(k,v,E){"use strict";const P=E(12205).Syntax;const R=E(41396);const L=E(21621);const N=E(30529);const q=E(62999);const ae=E(84494);const le=E(39491);const pe=ae.ParameterDefinition;const me=ae.Definition;function traverseIdentifierInPattern(k,v,E,P){const R=new q(k,v,P);R.visit(v);if(E!==null&&E!==undefined){R.rightHandNodes.forEach(E.visit,E)}}class Importer extends R.Visitor{constructor(k,v){super(null,v.options);this.declaration=k;this.referencer=v}visitImport(k,v){this.referencer.visitPattern(k,(k=>{this.referencer.currentScope().__define(k,new me(N.ImportBinding,k,v,this.declaration,null,null))}))}ImportNamespaceSpecifier(k){const v=k.local||k.id;if(v){this.visitImport(v,k)}}ImportDefaultSpecifier(k){const v=k.local||k.id;this.visitImport(v,k)}ImportSpecifier(k){const v=k.local||k.id;if(k.name){this.visitImport(k.name,k)}else{this.visitImport(v,k)}}}class Referencer extends R.Visitor{constructor(k,v){super(null,k);this.options=k;this.scopeManager=v;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(k){while(this.currentScope()&&k===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(k){const v=this.isInnerMethodDefinition;this.isInnerMethodDefinition=k;return v}popInnerMethodDefinition(k){this.isInnerMethodDefinition=k}referencingDefaultValue(k,v,E,P){const R=this.currentScope();v.forEach((v=>{R.__referencing(k,L.WRITE,v.right,E,k!==v.left,P)}))}visitPattern(k,v,E){let P=v;let R=E;if(typeof v==="function"){R=v;P={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,k,P.processRightHandNodes?this:null,R)}visitFunction(k){let v,E;if(k.type===P.FunctionDeclaration){this.currentScope().__define(k.id,new me(N.FunctionName,k.id,k,null,null,null))}if(k.type===P.FunctionExpression&&k.id){this.scopeManager.__nestFunctionExpressionNameScope(k)}this.scopeManager.__nestFunctionScope(k,this.isInnerMethodDefinition);const R=this;function visitPatternCallback(E,P){R.currentScope().__define(E,new pe(E,k,v,P.rest));R.referencingDefaultValue(E,P.assignments,null,true)}for(v=0,E=k.params.length;v{this.currentScope().__define(v,new pe(v,k,k.params.length,true))}))}if(k.body){if(k.body.type===P.BlockStatement){this.visitChildren(k.body)}else{this.visit(k.body)}}this.close(k)}visitClass(k){if(k.type===P.ClassDeclaration){this.currentScope().__define(k.id,new me(N.ClassName,k.id,k,null,null,null))}this.visit(k.superClass);this.scopeManager.__nestClassScope(k);if(k.id){this.currentScope().__define(k.id,new me(N.ClassName,k.id,k))}this.visit(k.body);this.close(k)}visitProperty(k){let v;if(k.computed){this.visit(k.key)}const E=k.type===P.MethodDefinition;if(E){v=this.pushInnerMethodDefinition(true)}this.visit(k.value);if(E){this.popInnerMethodDefinition(v)}}visitForIn(k){if(k.left.type===P.VariableDeclaration&&k.left.kind!=="var"){this.scopeManager.__nestForScope(k)}if(k.left.type===P.VariableDeclaration){this.visit(k.left);this.visitPattern(k.left.declarations[0].id,(v=>{this.currentScope().__referencing(v,L.WRITE,k.right,null,true,true)}))}else{this.visitPattern(k.left,{processRightHandNodes:true},((v,E)=>{let P=null;if(!this.currentScope().isStrict){P={pattern:v,node:k}}this.referencingDefaultValue(v,E.assignments,P,false);this.currentScope().__referencing(v,L.WRITE,k.right,P,true,false)}))}this.visit(k.right);this.visit(k.body);this.close(k)}visitVariableDeclaration(k,v,E,P){const R=E.declarations[P];const N=R.init;this.visitPattern(R.id,{processRightHandNodes:true},((q,ae)=>{k.__define(q,new me(v,q,R,E,P,E.kind));this.referencingDefaultValue(q,ae.assignments,null,true);if(N){this.currentScope().__referencing(q,L.WRITE,N,null,!ae.topLevel,true)}}))}AssignmentExpression(k){if(q.isPattern(k.left)){if(k.operator==="="){this.visitPattern(k.left,{processRightHandNodes:true},((v,E)=>{let P=null;if(!this.currentScope().isStrict){P={pattern:v,node:k}}this.referencingDefaultValue(v,E.assignments,P,false);this.currentScope().__referencing(v,L.WRITE,k.right,P,!E.topLevel,false)}))}else{this.currentScope().__referencing(k.left,L.RW,k.right)}}else{this.visit(k.left)}this.visit(k.right)}CatchClause(k){this.scopeManager.__nestCatchScope(k);this.visitPattern(k.param,{processRightHandNodes:true},((v,E)=>{this.currentScope().__define(v,new me(N.CatchClause,k.param,k,null,null,null));this.referencingDefaultValue(v,E.assignments,null,true)}));this.visit(k.body);this.close(k)}Program(k){this.scopeManager.__nestGlobalScope(k);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(k,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(k)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(k);this.close(k)}Identifier(k){this.currentScope().__referencing(k)}UpdateExpression(k){if(q.isPattern(k.argument)){this.currentScope().__referencing(k.argument,L.RW,null)}else{this.visitChildren(k)}}MemberExpression(k){this.visit(k.object);if(k.computed){this.visit(k.property)}}Property(k){this.visitProperty(k)}MethodDefinition(k){this.visitProperty(k)}BreakStatement(){}ContinueStatement(){}LabeledStatement(k){this.visit(k.body)}ForStatement(k){if(k.init&&k.init.type===P.VariableDeclaration&&k.init.kind!=="var"){this.scopeManager.__nestForScope(k)}this.visitChildren(k);this.close(k)}ClassExpression(k){this.visitClass(k)}ClassDeclaration(k){this.visitClass(k)}CallExpression(k){if(!this.scopeManager.__ignoreEval()&&k.callee.type===P.Identifier&&k.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(k)}BlockStatement(k){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(k)}this.visitChildren(k);this.close(k)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(k){this.visit(k.object);this.scopeManager.__nestWithScope(k);this.visit(k.body);this.close(k)}VariableDeclaration(k){const v=k.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let E=0,P=k.declarations.length;E=5}__get(k){return this.__nodeToScope.get(k)}getDeclaredVariables(k){return this.__declaredVariables.get(k)||[]}acquire(k,v){function predicate(k){if(k.type==="function"&&k.functionExpressionScope){return false}return true}const E=this.__get(k);if(!E||E.length===0){return null}if(E.length===1){return E[0]}if(v){for(let k=E.length-1;k>=0;--k){const v=E[k];if(predicate(v)){return v}}}else{for(let k=0,v=E.length;k=6}}k.exports=ScopeManager},18802:function(k,v,E){"use strict";const P=E(12205).Syntax;const R=E(21621);const L=E(30529);const N=E(84494).Definition;const q=E(39491);function isStrictScope(k,v,E,R){let L;if(k.upper&&k.upper.isStrict){return true}if(E){return true}if(k.type==="class"||k.type==="module"){return true}if(k.type==="block"||k.type==="switch"){return false}if(k.type==="function"){if(v.type===P.ArrowFunctionExpression&&v.body.type!==P.BlockStatement){return false}if(v.type===P.Program){L=v}else{L=v.body}if(!L){return false}}else if(k.type==="global"){L=v}else{return false}if(R){for(let k=0,v=L.body.length;k0&&P.every(shouldBeStatically)}__staticCloseRef(k){if(!this.__resolve(k)){this.__delegateToUpperScope(k)}}__dynamicCloseRef(k){let v=this;do{v.through.push(k);v=v.upper}while(v)}__globalCloseRef(k){if(this.__shouldStaticallyCloseForGlobal(k)){this.__staticCloseRef(k)}else{this.__dynamicCloseRef(k)}}__close(k){let v;if(this.__shouldStaticallyClose(k)){v=this.__staticCloseRef}else if(this.type!=="global"){v=this.__dynamicCloseRef}else{v=this.__globalCloseRef}for(let k=0,E=this.__left.length;kk.name.range[0]>=E)))}}class ForScope extends Scope{constructor(k,v,E){super(k,"for",v,E,false)}}class ClassScope extends Scope{constructor(k,v,E){super(k,"class",v,E,false)}}k.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},30529:function(k){"use strict";class Variable{constructor(k,v){this.name=k;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=v}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";k.exports=Variable},41396:function(k,v,E){(function(){"use strict";var k=E(41731);function isNode(k){if(k==null){return false}return typeof k==="object"&&typeof k.type==="string"}function isProperty(v,E){return(v===k.Syntax.ObjectExpression||v===k.Syntax.ObjectPattern)&&E==="properties"}function Visitor(v,E){E=E||{};this.__visitor=v||this;this.__childVisitorKeys=E.childVisitorKeys?Object.assign({},k.VisitorKeys,E.childVisitorKeys):k.VisitorKeys;if(E.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof E.fallback==="function"){this.__fallback=E.fallback}}Visitor.prototype.visitChildren=function(v){var E,P,R,L,N,q,ae;if(v==null){return}E=v.type||k.Syntax.Property;P=this.__childVisitorKeys[E];if(!P){if(this.__fallback){P=this.__fallback(v)}else{throw new Error("Unknown node type "+E+".")}}for(R=0,L=P.length;R>>1;L=R+E;if(v(k[L])){P=E}else{R=L+1;P-=E+1}}return R}v={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"};R={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"]};L={};N={};q={};P={Break:L,Skip:N,Remove:q};function Reference(k,v){this.parent=k;this.key=v}Reference.prototype.replace=function replace(k){this.parent[this.key]=k};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(k,v,E,P){this.node=k;this.path=v;this.wrap=E;this.ref=P}function Controller(){}Controller.prototype.path=function path(){var k,v,E,P,R,L;function addToPath(k,v){if(Array.isArray(v)){for(E=0,P=v.length;E=0){pe=_e[me];Ie=q[pe];if(!Ie){continue}if(Array.isArray(Ie)){ye=Ie.length;while((ye-=1)>=0){if(!Ie[ye]){continue}if(isProperty(ae,_e[me])){R=new Element(Ie[ye],[pe,ye],"Property",null)}else if(isNode(Ie[ye])){R=new Element(Ie[ye],[pe,ye],null,null)}else{continue}E.push(R)}}else if(isNode(Ie)){E.push(new Element(Ie,pe,null,null))}}}}};Controller.prototype.replace=function replace(k,v){var E,P,R,ae,le,pe,me,ye,_e,Ie,Me,Te,je;function removeElem(k){var v,P,R,L;if(k.ref.remove()){P=k.ref.key;L=k.ref.parent;v=E.length;while(v--){R=E[v];if(R.ref&&R.ref.parent===L){if(R.ref.key=0){je=_e[me];Ie=R[je];if(!Ie){continue}if(Array.isArray(Ie)){ye=Ie.length;while((ye-=1)>=0){if(!Ie[ye]){continue}if(isProperty(ae,_e[me])){pe=new Element(Ie[ye],[je,ye],"Property",new Reference(Ie,ye))}else if(isNode(Ie[ye])){pe=new Element(Ie[ye],[je,ye],null,new Reference(Ie,ye))}else{continue}E.push(pe)}}else if(isNode(Ie)){E.push(new Element(Ie,je,null,new Reference(R,je)))}}}return Te.root};function traverse(k,v){var E=new Controller;return E.traverse(k,v)}function replace(k,v){var E=new Controller;return E.replace(k,v)}function extendCommentRange(k,v){var E;E=upperBound(v,(function search(v){return v.range[0]>k.range[0]}));k.extendedRange=[k.range[0],k.range[1]];if(E!==v.length){k.extendedRange[1]=v[E].range[0]}E-=1;if(E>=0){k.extendedRange[0]=v[E].range[1]}return k}function attachComments(k,v,E){var R=[],L,N,q,ae;if(!k.range){throw new Error("attachComments needs range information")}if(!E.length){if(v.length){for(q=0,N=v.length;qk.range[0]){break}if(v.extendedRange[1]===k.range[0]){if(!k.leadingComments){k.leadingComments=[]}k.leadingComments.push(v);R.splice(ae,1)}else{ae+=1}}if(ae===R.length){return P.Break}if(R[ae].extendedRange[0]>k.range[1]){return P.Skip}}});ae=0;traverse(k,{leave:function(k){var v;while(aek.range[1]){return P.Skip}}});return k}k.version=E(61752).i8;k.Syntax=v;k.traverse=traverse;k.replace=replace;k.attachComments=attachComments;k.VisitorKeys=R;k.VisitorOption=P;k.Controller=Controller;k.cloneEnvironment=function(){return clone({})};return k})(v)},41731:function(k,v){(function clone(k){"use strict";var v,E,P,R,L,N;function deepCopy(k){var v={},E,P;for(E in k){if(k.hasOwnProperty(E)){P=k[E];if(typeof P==="object"&&P!==null){v[E]=deepCopy(P)}else{v[E]=P}}}return v}function upperBound(k,v){var E,P,R,L;P=k.length;R=0;while(P){E=P>>>1;L=R+E;if(v(k[L])){P=E}else{R=L+1;P-=E+1}}return R}v={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",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",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"};P={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"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["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"]};R={};L={};N={};E={Break:R,Skip:L,Remove:N};function Reference(k,v){this.parent=k;this.key=v}Reference.prototype.replace=function replace(k){this.parent[this.key]=k};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(k,v,E,P){this.node=k;this.path=v;this.wrap=E;this.ref=P}function Controller(){}Controller.prototype.path=function path(){var k,v,E,P,R,L;function addToPath(k,v){if(Array.isArray(v)){for(E=0,P=v.length;E=0;--E){if(k[E].node===v){return true}}return false}Controller.prototype.traverse=function traverse(k,v){var E,P,N,q,ae,le,pe,me,ye,_e,Ie,Me;this.__initialize(k,v);Me={};E=this.__worklist;P=this.__leavelist;E.push(new Element(k,null,null,null));P.push(new Element(null,null,null,null));while(E.length){N=E.pop();if(N===Me){N=P.pop();le=this.__execute(v.leave,N);if(this.__state===R||le===R){return}continue}if(N.node){le=this.__execute(v.enter,N);if(this.__state===R||le===R){return}E.push(Me);P.push(N);if(this.__state===L||le===L){continue}q=N.node;ae=q.type||N.wrap;_e=this.__keys[ae];if(!_e){if(this.__fallback){_e=this.__fallback(q)}else{throw new Error("Unknown node type "+ae+".")}}me=_e.length;while((me-=1)>=0){pe=_e[me];Ie=q[pe];if(!Ie){continue}if(Array.isArray(Ie)){ye=Ie.length;while((ye-=1)>=0){if(!Ie[ye]){continue}if(candidateExistsInLeaveList(P,Ie[ye])){continue}if(isProperty(ae,_e[me])){N=new Element(Ie[ye],[pe,ye],"Property",null)}else if(isNode(Ie[ye])){N=new Element(Ie[ye],[pe,ye],null,null)}else{continue}E.push(N)}}else if(isNode(Ie)){if(candidateExistsInLeaveList(P,Ie)){continue}E.push(new Element(Ie,pe,null,null))}}}}};Controller.prototype.replace=function replace(k,v){var E,P,q,ae,le,pe,me,ye,_e,Ie,Me,Te,je;function removeElem(k){var v,P,R,L;if(k.ref.remove()){P=k.ref.key;L=k.ref.parent;v=E.length;while(v--){R=E[v];if(R.ref&&R.ref.parent===L){if(R.ref.key=0){je=_e[me];Ie=q[je];if(!Ie){continue}if(Array.isArray(Ie)){ye=Ie.length;while((ye-=1)>=0){if(!Ie[ye]){continue}if(isProperty(ae,_e[me])){pe=new Element(Ie[ye],[je,ye],"Property",new Reference(Ie,ye))}else if(isNode(Ie[ye])){pe=new Element(Ie[ye],[je,ye],null,new Reference(Ie,ye))}else{continue}E.push(pe)}}else if(isNode(Ie)){E.push(new Element(Ie,je,null,new Reference(q,je)))}}}return Te.root};function traverse(k,v){var E=new Controller;return E.traverse(k,v)}function replace(k,v){var E=new Controller;return E.replace(k,v)}function extendCommentRange(k,v){var E;E=upperBound(v,(function search(v){return v.range[0]>k.range[0]}));k.extendedRange=[k.range[0],k.range[1]];if(E!==v.length){k.extendedRange[1]=v[E].range[0]}E-=1;if(E>=0){k.extendedRange[0]=v[E].range[1]}return k}function attachComments(k,v,P){var R=[],L,N,q,ae;if(!k.range){throw new Error("attachComments needs range information")}if(!P.length){if(v.length){for(q=0,N=v.length;qk.range[0]){break}if(v.extendedRange[1]===k.range[0]){if(!k.leadingComments){k.leadingComments=[]}k.leadingComments.push(v);R.splice(ae,1)}else{ae+=1}}if(ae===R.length){return E.Break}if(R[ae].extendedRange[0]>k.range[1]){return E.Skip}}});ae=0;traverse(k,{leave:function(k){var v;while(aek.range[1]){return E.Skip}}});return k}k.Syntax=v;k.traverse=traverse;k.replace=replace;k.attachComments=attachComments;k.VisitorKeys=P;k.VisitorOption=E;k.Controller=Controller;k.cloneEnvironment=function(){return clone({})};return k})(v)},21660:function(k){k.exports=function(k,v){if(typeof k!=="string"){throw new TypeError("Expected a string")}var E=String(k);var P="";var R=v?!!v.extended:false;var L=v?!!v.globstar:false;var N=false;var q=v&&typeof v.flags==="string"?v.flags:"";var ae;for(var le=0,pe=E.length;le1&&(me==="/"||me===undefined)&&(_e==="/"||_e===undefined);if(Ie){P+="((?:[^/]*(?:/|$))*)";le++}else{P+="([^/]*)"}}break;default:P+=ae}}if(!q||!~q.indexOf("g")){P="^"+P+"$"}return new RegExp(P,q)}},8567:function(k){"use strict";k.exports=clone;var v=Object.getPrototypeOf||function(k){return k.__proto__};function clone(k){if(k===null||typeof k!=="object")return k;if(k instanceof Object)var E={__proto__:v(k)};else var E=Object.create(null);Object.getOwnPropertyNames(k).forEach((function(v){Object.defineProperty(E,v,Object.getOwnPropertyDescriptor(k,v))}));return E}},56450:function(k,v,E){var P=E(57147);var R=E(72164);var L=E(55653);var N=E(8567);var q=E(73837);var ae;var le;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){ae=Symbol.for("graceful-fs.queue");le=Symbol.for("graceful-fs.previous")}else{ae="___graceful-fs.queue";le="___graceful-fs.previous"}function noop(){}function publishQueue(k,v){Object.defineProperty(k,ae,{get:function(){return v}})}var pe=noop;if(q.debuglog)pe=q.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))pe=function(){var k=q.format.apply(q,arguments);k="GFS4: "+k.split(/\n/).join("\nGFS4: ");console.error(k)};if(!P[ae]){var me=global[ae]||[];publishQueue(P,me);P.close=function(k){function close(v,E){return k.call(P,v,(function(k){if(!k){resetQueue()}if(typeof E==="function")E.apply(this,arguments)}))}Object.defineProperty(close,le,{value:k});return close}(P.close);P.closeSync=function(k){function closeSync(v){k.apply(P,arguments);resetQueue()}Object.defineProperty(closeSync,le,{value:k});return closeSync}(P.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){pe(P[ae]);E(39491).equal(P[ae].length,0)}))}}if(!global[ae]){publishQueue(global,P[ae])}k.exports=patch(N(P));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!P.__patched){k.exports=patch(P);P.__patched=true}function patch(k){R(k);k.gracefulify=patch;k.createReadStream=createReadStream;k.createWriteStream=createWriteStream;var v=k.readFile;k.readFile=readFile;function readFile(k,E,P){if(typeof E==="function")P=E,E=null;return go$readFile(k,E,P);function go$readFile(k,E,P,R){return v(k,E,(function(v){if(v&&(v.code==="EMFILE"||v.code==="ENFILE"))enqueue([go$readFile,[k,E,P],v,R||Date.now(),Date.now()]);else{if(typeof P==="function")P.apply(this,arguments)}}))}}var E=k.writeFile;k.writeFile=writeFile;function writeFile(k,v,P,R){if(typeof P==="function")R=P,P=null;return go$writeFile(k,v,P,R);function go$writeFile(k,v,P,R,L){return E(k,v,P,(function(E){if(E&&(E.code==="EMFILE"||E.code==="ENFILE"))enqueue([go$writeFile,[k,v,P,R],E,L||Date.now(),Date.now()]);else{if(typeof R==="function")R.apply(this,arguments)}}))}}var P=k.appendFile;if(P)k.appendFile=appendFile;function appendFile(k,v,E,R){if(typeof E==="function")R=E,E=null;return go$appendFile(k,v,E,R);function go$appendFile(k,v,E,R,L){return P(k,v,E,(function(P){if(P&&(P.code==="EMFILE"||P.code==="ENFILE"))enqueue([go$appendFile,[k,v,E,R],P,L||Date.now(),Date.now()]);else{if(typeof R==="function")R.apply(this,arguments)}}))}}var N=k.copyFile;if(N)k.copyFile=copyFile;function copyFile(k,v,E,P){if(typeof E==="function"){P=E;E=0}return go$copyFile(k,v,E,P);function go$copyFile(k,v,E,P,R){return N(k,v,E,(function(L){if(L&&(L.code==="EMFILE"||L.code==="ENFILE"))enqueue([go$copyFile,[k,v,E,P],L,R||Date.now(),Date.now()]);else{if(typeof P==="function")P.apply(this,arguments)}}))}}var q=k.readdir;k.readdir=readdir;var ae=/^v[0-5]\./;function readdir(k,v,E){if(typeof v==="function")E=v,v=null;var P=ae.test(process.version)?function go$readdir(k,v,E,P){return q(k,fs$readdirCallback(k,v,E,P))}:function go$readdir(k,v,E,P){return q(k,v,fs$readdirCallback(k,v,E,P))};return P(k,v,E);function fs$readdirCallback(k,v,E,R){return function(L,N){if(L&&(L.code==="EMFILE"||L.code==="ENFILE"))enqueue([P,[k,v,E],L,R||Date.now(),Date.now()]);else{if(N&&N.sort)N.sort();if(typeof E==="function")E.call(this,L,N)}}}}if(process.version.substr(0,4)==="v0.8"){var le=L(k);ReadStream=le.ReadStream;WriteStream=le.WriteStream}var pe=k.ReadStream;if(pe){ReadStream.prototype=Object.create(pe.prototype);ReadStream.prototype.open=ReadStream$open}var me=k.WriteStream;if(me){WriteStream.prototype=Object.create(me.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(k,"ReadStream",{get:function(){return ReadStream},set:function(k){ReadStream=k},enumerable:true,configurable:true});Object.defineProperty(k,"WriteStream",{get:function(){return WriteStream},set:function(k){WriteStream=k},enumerable:true,configurable:true});var ye=ReadStream;Object.defineProperty(k,"FileReadStream",{get:function(){return ye},set:function(k){ye=k},enumerable:true,configurable:true});var _e=WriteStream;Object.defineProperty(k,"FileWriteStream",{get:function(){return _e},set:function(k){_e=k},enumerable:true,configurable:true});function ReadStream(k,v){if(this instanceof ReadStream)return pe.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var k=this;open(k.path,k.flags,k.mode,(function(v,E){if(v){if(k.autoClose)k.destroy();k.emit("error",v)}else{k.fd=E;k.emit("open",E);k.read()}}))}function WriteStream(k,v){if(this instanceof WriteStream)return me.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var k=this;open(k.path,k.flags,k.mode,(function(v,E){if(v){k.destroy();k.emit("error",v)}else{k.fd=E;k.emit("open",E)}}))}function createReadStream(v,E){return new k.ReadStream(v,E)}function createWriteStream(v,E){return new k.WriteStream(v,E)}var Ie=k.open;k.open=open;function open(k,v,E,P){if(typeof E==="function")P=E,E=null;return go$open(k,v,E,P);function go$open(k,v,E,P,R){return Ie(k,v,E,(function(L,N){if(L&&(L.code==="EMFILE"||L.code==="ENFILE"))enqueue([go$open,[k,v,E,P],L,R||Date.now(),Date.now()]);else{if(typeof P==="function")P.apply(this,arguments)}}))}}return k}function enqueue(k){pe("ENQUEUE",k[0].name,k[1]);P[ae].push(k);retry()}var ye;function resetQueue(){var k=Date.now();for(var v=0;v2){P[ae][v][3]=k;P[ae][v][4]=k}}retry()}function retry(){clearTimeout(ye);ye=undefined;if(P[ae].length===0)return;var k=P[ae].shift();var v=k[0];var E=k[1];var R=k[2];var L=k[3];var N=k[4];if(L===undefined){pe("RETRY",v.name,E);v.apply(null,E)}else if(Date.now()-L>=6e4){pe("TIMEOUT",v.name,E);var q=E.pop();if(typeof q==="function")q.call(null,R)}else{var le=Date.now()-N;var me=Math.max(N-L,1);var _e=Math.min(me*1.2,100);if(le>=_e){pe("RETRY",v.name,E);v.apply(null,E.concat([L]))}else{P[ae].push(k)}}if(ye===undefined){ye=setTimeout(retry,0)}}},55653:function(k,v,E){var P=E(12781).Stream;k.exports=legacy;function legacy(k){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(v,E){if(!(this instanceof ReadStream))return new ReadStream(v,E);P.call(this);var R=this;this.path=v;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;E=E||{};var L=Object.keys(E);for(var N=0,q=L.length;Nthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){R._read()}));return}k.open(this.path,this.flags,this.mode,(function(k,v){if(k){R.emit("error",k);R.readable=false;return}R.fd=v;R.emit("open",v);R._read()}))}function WriteStream(v,E){if(!(this instanceof WriteStream))return new WriteStream(v,E);P.call(this);this.path=v;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;E=E||{};var R=Object.keys(E);for(var L=0,N=R.length;L= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=k.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},72164:function(k,v,E){var P=E(22057);var R=process.cwd;var L=null;var N=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!L)L=R.call(process);return L};try{process.cwd()}catch(k){}if(typeof process.chdir==="function"){var q=process.chdir;process.chdir=function(k){L=null;q.call(process,k)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,q)}k.exports=patch;function patch(k){if(P.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(k)}if(!k.lutimes){patchLutimes(k)}k.chown=chownFix(k.chown);k.fchown=chownFix(k.fchown);k.lchown=chownFix(k.lchown);k.chmod=chmodFix(k.chmod);k.fchmod=chmodFix(k.fchmod);k.lchmod=chmodFix(k.lchmod);k.chownSync=chownFixSync(k.chownSync);k.fchownSync=chownFixSync(k.fchownSync);k.lchownSync=chownFixSync(k.lchownSync);k.chmodSync=chmodFixSync(k.chmodSync);k.fchmodSync=chmodFixSync(k.fchmodSync);k.lchmodSync=chmodFixSync(k.lchmodSync);k.stat=statFix(k.stat);k.fstat=statFix(k.fstat);k.lstat=statFix(k.lstat);k.statSync=statFixSync(k.statSync);k.fstatSync=statFixSync(k.fstatSync);k.lstatSync=statFixSync(k.lstatSync);if(k.chmod&&!k.lchmod){k.lchmod=function(k,v,E){if(E)process.nextTick(E)};k.lchmodSync=function(){}}if(k.chown&&!k.lchown){k.lchown=function(k,v,E,P){if(P)process.nextTick(P)};k.lchownSync=function(){}}if(N==="win32"){k.rename=typeof k.rename!=="function"?k.rename:function(v){function rename(E,P,R){var L=Date.now();var N=0;v(E,P,(function CB(q){if(q&&(q.code==="EACCES"||q.code==="EPERM"||q.code==="EBUSY")&&Date.now()-L<6e4){setTimeout((function(){k.stat(P,(function(k,L){if(k&&k.code==="ENOENT")v(E,P,CB);else R(q)}))}),N);if(N<100)N+=10;return}if(R)R(q)}))}if(Object.setPrototypeOf)Object.setPrototypeOf(rename,v);return rename}(k.rename)}k.read=typeof k.read!=="function"?k.read:function(v){function read(E,P,R,L,N,q){var ae;if(q&&typeof q==="function"){var le=0;ae=function(pe,me,ye){if(pe&&pe.code==="EAGAIN"&&le<10){le++;return v.call(k,E,P,R,L,N,ae)}q.apply(this,arguments)}}return v.call(k,E,P,R,L,N,ae)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,v);return read}(k.read);k.readSync=typeof k.readSync!=="function"?k.readSync:function(v){return function(E,P,R,L,N){var q=0;while(true){try{return v.call(k,E,P,R,L,N)}catch(k){if(k.code==="EAGAIN"&&q<10){q++;continue}throw k}}}}(k.readSync);function patchLchmod(k){k.lchmod=function(v,E,R){k.open(v,P.O_WRONLY|P.O_SYMLINK,E,(function(v,P){if(v){if(R)R(v);return}k.fchmod(P,E,(function(v){k.close(P,(function(k){if(R)R(v||k)}))}))}))};k.lchmodSync=function(v,E){var R=k.openSync(v,P.O_WRONLY|P.O_SYMLINK,E);var L=true;var N;try{N=k.fchmodSync(R,E);L=false}finally{if(L){try{k.closeSync(R)}catch(k){}}else{k.closeSync(R)}}return N}}function patchLutimes(k){if(P.hasOwnProperty("O_SYMLINK")&&k.futimes){k.lutimes=function(v,E,R,L){k.open(v,P.O_SYMLINK,(function(v,P){if(v){if(L)L(v);return}k.futimes(P,E,R,(function(v){k.close(P,(function(k){if(L)L(v||k)}))}))}))};k.lutimesSync=function(v,E,R){var L=k.openSync(v,P.O_SYMLINK);var N;var q=true;try{N=k.futimesSync(L,E,R);q=false}finally{if(q){try{k.closeSync(L)}catch(k){}}else{k.closeSync(L)}}return N}}else if(k.futimes){k.lutimes=function(k,v,E,P){if(P)process.nextTick(P)};k.lutimesSync=function(){}}}function chmodFix(v){if(!v)return v;return function(E,P,R){return v.call(k,E,P,(function(k){if(chownErOk(k))k=null;if(R)R.apply(this,arguments)}))}}function chmodFixSync(v){if(!v)return v;return function(E,P){try{return v.call(k,E,P)}catch(k){if(!chownErOk(k))throw k}}}function chownFix(v){if(!v)return v;return function(E,P,R,L){return v.call(k,E,P,R,(function(k){if(chownErOk(k))k=null;if(L)L.apply(this,arguments)}))}}function chownFixSync(v){if(!v)return v;return function(E,P,R){try{return v.call(k,E,P,R)}catch(k){if(!chownErOk(k))throw k}}}function statFix(v){if(!v)return v;return function(E,P,R){if(typeof P==="function"){R=P;P=null}function callback(k,v){if(v){if(v.uid<0)v.uid+=4294967296;if(v.gid<0)v.gid+=4294967296}if(R)R.apply(this,arguments)}return P?v.call(k,E,P,callback):v.call(k,E,callback)}}function statFixSync(v){if(!v)return v;return function(E,P){var R=P?v.call(k,E,P):v.call(k,E);if(R){if(R.uid<0)R.uid+=4294967296;if(R.gid<0)R.gid+=4294967296}return R}}function chownErOk(k){if(!k)return true;if(k.code==="ENOSYS")return true;var v=!process.getuid||process.getuid()!==0;if(v){if(k.code==="EINVAL"||k.code==="EPERM")return true}return false}}},54650:function(k){"use strict";const hexify=k=>{const v=k.charCodeAt(0).toString(16).toUpperCase();return"0x"+(v.length%2?"0":"")+v};const parseError=(k,v,E)=>{if(!v){return{message:k.message+" while parsing empty string",position:0}}const P=k.message.match(/^Unexpected token (.) .*position\s+(\d+)/i);const R=P?+P[2]:k.message.match(/^Unexpected end of JSON.*/i)?v.length-1:null;const L=P?k.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(P[1])} (${hexify(P[1])})`):k.message;if(R!==null&&R!==undefined){const k=R<=E?0:R-E;const P=R+E>=v.length?v.length:R+E;const N=(k===0?"":"...")+v.slice(k,P)+(P===v.length?"":"...");const q=v===N?"":"near ";return{message:L+` while parsing ${q}${JSON.stringify(N)}`,position:R}}else{return{message:L+` while parsing '${v.slice(0,E*2)}'`,position:0}}};class JSONParseError extends SyntaxError{constructor(k,v,E,P){E=E||20;const R=parseError(k,v,E);super(R.message);Object.assign(this,R);this.code="EJSONPARSE";this.systemError=k;Error.captureStackTrace(this,P||this.constructor)}get name(){return this.constructor.name}set name(k){}get[Symbol.toStringTag](){return this.constructor.name}}const v=Symbol.for("indent");const E=Symbol.for("newline");const P=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/;const R=/^(?:\{\}|\[\])((?:\r?\n)+)?$/;const parseJson=(k,L,N)=>{const q=stripBOM(k);N=N||20;try{const[,k="\n",N=" "]=q.match(R)||q.match(P)||[,"",""];const ae=JSON.parse(q,L);if(ae&&typeof ae==="object"){ae[E]=k;ae[v]=N}return ae}catch(v){if(typeof k!=="string"&&!Buffer.isBuffer(k)){const E=Array.isArray(k)&&k.length===0;throw Object.assign(new TypeError(`Cannot parse ${E?"an empty array":String(k)}`),{code:"EJSONPARSE",systemError:v})}throw new JSONParseError(v,q,N,parseJson)}};const stripBOM=k=>String(k).replace(/^\uFEFF/,"");k.exports=parseJson;parseJson.JSONParseError=JSONParseError;parseJson.noExceptions=(k,v)=>{try{return JSON.parse(stripBOM(k),v)}catch(k){}}},95183:function(k,v,E){ +/*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * MIT Licensed + */ +k.exports=E(66282)},24230:function(k,v,E){"use strict"; +/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */var P=E(95183);var R=E(71017).extname;var L=/^\s*([^;\s]*)(?:;|\s|$)/;var N=/^text\//i;v.charset=charset;v.charsets={lookup:charset};v.contentType=contentType;v.extension=extension;v.extensions=Object.create(null);v.lookup=lookup;v.types=Object.create(null);populateMaps(v.extensions,v.types);function charset(k){if(!k||typeof k!=="string"){return false}var v=L.exec(k);var E=v&&P[v[1].toLowerCase()];if(E&&E.charset){return E.charset}if(v&&N.test(v[1])){return"UTF-8"}return false}function contentType(k){if(!k||typeof k!=="string"){return false}var E=k.indexOf("/")===-1?v.lookup(k):k;if(!E){return false}if(E.indexOf("charset")===-1){var P=v.charset(E);if(P)E+="; charset="+P.toLowerCase()}return E}function extension(k){if(!k||typeof k!=="string"){return false}var E=L.exec(k);var P=E&&v.extensions[E[1].toLowerCase()];if(!P||!P.length){return false}return P[0]}function lookup(k){if(!k||typeof k!=="string"){return false}var E=R("x."+k).toLowerCase().substr(1);if(!E){return false}return v.types[E]||false}function populateMaps(k,v){var E=["nginx","apache",undefined,"iana"];Object.keys(P).forEach((function forEachMimeType(R){var L=P[R];var N=L.extensions;if(!N||!N.length){return}k[R]=N;for(var q=0;qpe||le===pe&&v[ae].substr(0,12)==="application/")){continue}}v[ae]=R}}))}},94362:function(k,v,E){"use strict";var P;P={value:true};v.Z=void 0;const{stringHints:R,numberHints:L}=E(30892);const N={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(k,v){const E=k.reduce(((k,E)=>Math.max(k,v(E))),0);return k.filter((k=>v(k)===E))}function filterChildren(k){let v=k;v=filterMax(v,(k=>k.dataPath?k.dataPath.length:0));v=filterMax(v,(k=>N[k.keyword]||2));return v}function findAllChildren(k,v){let E=k.length-1;const predicate=v=>k[E].schemaPath.indexOf(v)!==0;while(E>-1&&!v.every(predicate)){if(k[E].keyword==="anyOf"||k[E].keyword==="oneOf"){const v=extractRefs(k[E]);const P=findAllChildren(k.slice(0,E),v.concat(k[E].schemaPath));E=P-1}else{E-=1}}return E+1}function extractRefs(k){const{schema:v}=k;if(!Array.isArray(v)){return[]}return v.map((({$ref:k})=>k)).filter((k=>k))}function groupChildrenByFirstChild(k){const v=[];let E=k.length-1;while(E>0){const P=k[E];if(P.keyword==="anyOf"||P.keyword==="oneOf"){const R=extractRefs(P);const L=findAllChildren(k.slice(0,E),R.concat(P.schemaPath));if(L!==E){v.push(Object.assign({},P,{children:k.slice(L,E)}));E=L}else{v.push(P)}}else{v.push(P)}E-=1}if(E===0){v.push(k[E])}return v.reverse()}function indent(k,v){return k.replace(/\n(?!$)/g,`\n${v}`)}function hasNotInSchema(k){return!!k.not}function findFirstTypedSchema(k){if(hasNotInSchema(k)){return findFirstTypedSchema(k.not)}return k}function canApplyNot(k){const v=findFirstTypedSchema(k);return likeNumber(v)||likeInteger(v)||likeString(v)||likeNull(v)||likeBoolean(v)}function isObject(k){return typeof k==="object"&&k!==null}function likeNumber(k){return k.type==="number"||typeof k.minimum!=="undefined"||typeof k.exclusiveMinimum!=="undefined"||typeof k.maximum!=="undefined"||typeof k.exclusiveMaximum!=="undefined"||typeof k.multipleOf!=="undefined"}function likeInteger(k){return k.type==="integer"||typeof k.minimum!=="undefined"||typeof k.exclusiveMinimum!=="undefined"||typeof k.maximum!=="undefined"||typeof k.exclusiveMaximum!=="undefined"||typeof k.multipleOf!=="undefined"}function likeString(k){return k.type==="string"||typeof k.minLength!=="undefined"||typeof k.maxLength!=="undefined"||typeof k.pattern!=="undefined"||typeof k.format!=="undefined"||typeof k.formatMinimum!=="undefined"||typeof k.formatMaximum!=="undefined"}function likeBoolean(k){return k.type==="boolean"}function likeArray(k){return k.type==="array"||typeof k.minItems==="number"||typeof k.maxItems==="number"||typeof k.uniqueItems!=="undefined"||typeof k.items!=="undefined"||typeof k.additionalItems!=="undefined"||typeof k.contains!=="undefined"}function likeObject(k){return k.type==="object"||typeof k.minProperties!=="undefined"||typeof k.maxProperties!=="undefined"||typeof k.required!=="undefined"||typeof k.properties!=="undefined"||typeof k.patternProperties!=="undefined"||typeof k.additionalProperties!=="undefined"||typeof k.dependencies!=="undefined"||typeof k.propertyNames!=="undefined"||typeof k.patternRequired!=="undefined"}function likeNull(k){return k.type==="null"}function getArticle(k){if(/^[aeiou]/i.test(k)){return"an"}return"a"}function getSchemaNonTypes(k){if(!k){return""}if(!k.type){if(likeNumber(k)||likeInteger(k)){return" | should be any non-number"}if(likeString(k)){return" | should be any non-string"}if(likeArray(k)){return" | should be any non-array"}if(likeObject(k)){return" | should be any non-object"}}return""}function formatHints(k){return k.length>0?`(${k.join(", ")})`:""}function getHints(k,v){if(likeNumber(k)||likeInteger(k)){return L(k,v)}else if(likeString(k)){return R(k,v)}return[]}class ValidationError extends Error{constructor(k,v,E={}){super();this.name="ValidationError";this.errors=k;this.schema=v;let P;let R;if(v.title&&(!E.name||!E.baseDataPath)){const k=v.title.match(/^(.+) (.+)$/);if(k){if(!E.name){[,P]=k}if(!E.baseDataPath){[,,R]=k}}}this.headerName=E.name||P||"Object";this.baseDataPath=E.baseDataPath||R||"configuration";this.postFormatter=E.postFormatter||null;const L=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${L}${this.formatValidationErrors(k)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(k){const v=k.split("/");let E=this.schema;for(let k=1;k{if(!R){return this.formatSchema(v,P,E)}if(E.includes(v)){return"(recursive)"}return this.formatSchema(v,P,E.concat(k))};if(hasNotInSchema(k)&&!likeObject(k)){if(canApplyNot(k.not)){P=!v;return formatInnerSchema(k.not)}const E=!k.not.not;const R=v?"":"non ";P=!v;return E?R+formatInnerSchema(k.not):formatInnerSchema(k.not)}if(k.instanceof){const{instanceof:v}=k;const E=!Array.isArray(v)?[v]:v;return E.map((k=>k==="Function"?"function":k)).join(" | ")}if(k.enum){const v=k.enum.map((v=>{if(v===null&&k.undefinedAsNull){return`${JSON.stringify(v)} | undefined`}return JSON.stringify(v)})).join(" | ");return`${v}`}if(typeof k.const!=="undefined"){return JSON.stringify(k.const)}if(k.oneOf){return k.oneOf.map((k=>formatInnerSchema(k,true))).join(" | ")}if(k.anyOf){return k.anyOf.map((k=>formatInnerSchema(k,true))).join(" | ")}if(k.allOf){return k.allOf.map((k=>formatInnerSchema(k,true))).join(" & ")}if(k.if){const{if:v,then:E,else:P}=k;return`${v?`if ${formatInnerSchema(v)}`:""}${E?` then ${formatInnerSchema(E)}`:""}${P?` else ${formatInnerSchema(P)}`:""}`}if(k.$ref){return formatInnerSchema(this.getSchemaPart(k.$ref),true)}if(likeNumber(k)||likeInteger(k)){const[E,...P]=getHints(k,v);const R=`${E}${P.length>0?` ${formatHints(P)}`:""}`;return v?R:P.length>0?`non-${E} | ${R}`:`non-${E}`}if(likeString(k)){const[E,...P]=getHints(k,v);const R=`${E}${P.length>0?` ${formatHints(P)}`:""}`;return v?R:R==="string"?"non-string":`non-string | ${R}`}if(likeBoolean(k)){return`${v?"":"non-"}boolean`}if(likeArray(k)){P=true;const v=[];if(typeof k.minItems==="number"){v.push(`should not have fewer than ${k.minItems} item${k.minItems>1?"s":""}`)}if(typeof k.maxItems==="number"){v.push(`should not have more than ${k.maxItems} item${k.maxItems>1?"s":""}`)}if(k.uniqueItems){v.push("should not have duplicate items")}const E=typeof k.additionalItems==="undefined"||Boolean(k.additionalItems);let R="";if(k.items){if(Array.isArray(k.items)&&k.items.length>0){R=`${k.items.map((k=>formatInnerSchema(k))).join(", ")}`;if(E){if(k.additionalItems&&isObject(k.additionalItems)&&Object.keys(k.additionalItems).length>0){v.push(`additional items should be ${formatInnerSchema(k.additionalItems)}`)}}}else if(k.items&&Object.keys(k.items).length>0){R=`${formatInnerSchema(k.items)}`}else{R="any"}}else{R="any"}if(k.contains&&Object.keys(k.contains).length>0){v.push(`should contains at least one ${this.formatSchema(k.contains)} item`)}return`[${R}${E?", ...":""}]${v.length>0?` (${v.join(", ")})`:""}`}if(likeObject(k)){P=true;const v=[];if(typeof k.minProperties==="number"){v.push(`should not have fewer than ${k.minProperties} ${k.minProperties>1?"properties":"property"}`)}if(typeof k.maxProperties==="number"){v.push(`should not have more than ${k.maxProperties} ${k.minProperties&&k.minProperties>1?"properties":"property"}`)}if(k.patternProperties&&Object.keys(k.patternProperties).length>0){const E=Object.keys(k.patternProperties);v.push(`additional property names should match pattern${E.length>1?"s":""} ${E.map((k=>JSON.stringify(k))).join(" | ")}`)}const E=k.properties?Object.keys(k.properties):[];const R=k.required?k.required:[];const L=[...new Set([].concat(R).concat(E))];const N=L.map((k=>{const v=R.includes(k);return`${k}${v?"":"?"}`})).concat(typeof k.additionalProperties==="undefined"||Boolean(k.additionalProperties)?k.additionalProperties&&isObject(k.additionalProperties)?[`: ${formatInnerSchema(k.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:q,propertyNames:ae,patternRequired:le}=k;if(q){Object.keys(q).forEach((k=>{const E=q[k];if(Array.isArray(E)){v.push(`should have ${E.length>1?"properties":"property"} ${E.map((k=>`'${k}'`)).join(", ")} when property '${k}' is present`)}else{v.push(`should be valid according to the schema ${formatInnerSchema(E)} when property '${k}' is present`)}}))}if(ae&&Object.keys(ae).length>0){v.push(`each property name should match format ${JSON.stringify(k.propertyNames.format)}`)}if(le&&le.length>0){v.push(`should have property matching pattern ${le.map((k=>JSON.stringify(k)))}`)}return`object {${N?` ${N} `:""}}${v.length>0?` (${v.join(", ")})`:""}`}if(likeNull(k)){return`${v?"":"non-"}null`}if(Array.isArray(k.type)){return`${k.type.join(" | ")}`}return JSON.stringify(k,null,2)}getSchemaPartText(k,v,E=false,P=true){if(!k){return""}if(Array.isArray(v)){for(let E=0;E ${k.description}`}if(k.link){R+=`\n-> Read more at ${k.link}`}return R}getSchemaPartDescription(k){if(!k){return""}while(k.$ref){k=this.getSchemaPart(k.$ref)}let v="";if(k.description){v+=`\n-> ${k.description}`}if(k.link){v+=`\n-> Read more at ${k.link}`}return v}formatValidationError(k){const{keyword:v,dataPath:E}=k;const P=`${this.baseDataPath}${E}`;switch(v){case"type":{const{parentSchema:v,params:E}=k;switch(E.type){case"number":return`${P} should be a ${this.getSchemaPartText(v,false,true)}`;case"integer":return`${P} should be an ${this.getSchemaPartText(v,false,true)}`;case"string":return`${P} should be a ${this.getSchemaPartText(v,false,true)}`;case"boolean":return`${P} should be a ${this.getSchemaPartText(v,false,true)}`;case"array":return`${P} should be an array:\n${this.getSchemaPartText(v)}`;case"object":return`${P} should be an object:\n${this.getSchemaPartText(v)}`;case"null":return`${P} should be a ${this.getSchemaPartText(v,false,true)}`;default:return`${P} should be:\n${this.getSchemaPartText(v)}`}}case"instanceof":{const{parentSchema:v}=k;return`${P} should be an instance of ${this.getSchemaPartText(v,false,true)}`}case"pattern":{const{params:v,parentSchema:E}=k;const{pattern:R}=v;return`${P} should match pattern ${JSON.stringify(R)}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"format":{const{params:v,parentSchema:E}=k;const{format:R}=v;return`${P} should match format ${JSON.stringify(R)}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"formatMinimum":case"formatMaximum":{const{params:v,parentSchema:E}=k;const{comparison:R,limit:L}=v;return`${P} should be ${R} ${JSON.stringify(L)}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:v,params:E}=k;const{comparison:R,limit:L}=E;const[,...N]=getHints(v,true);if(N.length===0){N.push(`should be ${R} ${L}`)}return`${P} ${N.join(" ")}${getSchemaNonTypes(v)}.${this.getSchemaPartDescription(v)}`}case"multipleOf":{const{params:v,parentSchema:E}=k;const{multipleOf:R}=v;return`${P} should be multiple of ${R}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"patternRequired":{const{params:v,parentSchema:E}=k;const{missingPattern:R}=v;return`${P} should have property matching pattern ${JSON.stringify(R)}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"minLength":{const{params:v,parentSchema:E}=k;const{limit:R}=v;if(R===1){return`${P} should be a non-empty string${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}const L=R-1;return`${P} should be longer than ${L} character${L>1?"s":""}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"minItems":{const{params:v,parentSchema:E}=k;const{limit:R}=v;if(R===1){return`${P} should be a non-empty array${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}return`${P} should not have fewer than ${R} items${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"minProperties":{const{params:v,parentSchema:E}=k;const{limit:R}=v;if(R===1){return`${P} should be a non-empty object${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}return`${P} should not have fewer than ${R} properties${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"maxLength":{const{params:v,parentSchema:E}=k;const{limit:R}=v;const L=R+1;return`${P} should be shorter than ${L} character${L>1?"s":""}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"maxItems":{const{params:v,parentSchema:E}=k;const{limit:R}=v;return`${P} should not have more than ${R} items${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"maxProperties":{const{params:v,parentSchema:E}=k;const{limit:R}=v;return`${P} should not have more than ${R} properties${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"uniqueItems":{const{params:v,parentSchema:E}=k;const{i:R}=v;return`${P} should not contain the item '${k.data[R]}' twice${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"additionalItems":{const{params:v,parentSchema:E}=k;const{limit:R}=v;return`${P} should not have more than ${R} items${getSchemaNonTypes(E)}. These items are valid:\n${this.getSchemaPartText(E)}`}case"contains":{const{parentSchema:v}=k;return`${P} should contains at least one ${this.getSchemaPartText(v,["contains"])} item${getSchemaNonTypes(v)}.`}case"required":{const{parentSchema:v,params:E}=k;const R=E.missingProperty.replace(/^\./,"");const L=v&&Boolean(v.properties&&v.properties[R]);return`${P} misses the property '${R}'${getSchemaNonTypes(v)}.${L?` Should be:\n${this.getSchemaPartText(v,["properties",R])}`:this.getSchemaPartDescription(v)}`}case"additionalProperties":{const{params:v,parentSchema:E}=k;const{additionalProperty:R}=v;return`${P} has an unknown property '${R}'${getSchemaNonTypes(E)}. These properties are valid:\n${this.getSchemaPartText(E)}`}case"dependencies":{const{params:v,parentSchema:E}=k;const{property:R,deps:L}=v;const N=L.split(",").map((k=>`'${k.trim()}'`)).join(", ");return`${P} should have properties ${N} when property '${R}' is present${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"propertyNames":{const{params:v,parentSchema:E,schema:R}=k;const{propertyName:L}=v;return`${P} property name '${L}' is invalid${getSchemaNonTypes(E)}. Property names should be match format ${JSON.stringify(R.format)}.${this.getSchemaPartDescription(E)}`}case"enum":{const{parentSchema:v}=k;if(v&&v.enum&&v.enum.length===1){return`${P} should be ${this.getSchemaPartText(v,false,true)}`}return`${P} should be one of these:\n${this.getSchemaPartText(v)}`}case"const":{const{parentSchema:v}=k;return`${P} should be equal to constant ${this.getSchemaPartText(v,false,true)}`}case"not":{const v=likeObject(k.parentSchema)?`\n${this.getSchemaPartText(k.parentSchema)}`:"";const E=this.getSchemaPartText(k.schema,false,false,false);if(canApplyNot(k.schema)){return`${P} should be any ${E}${v}.`}const{schema:R,parentSchema:L}=k;return`${P} should not be ${this.getSchemaPartText(R,false,true)}${L&&likeObject(L)?`\n${this.getSchemaPartText(L)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:v,children:E}=k;if(E&&E.length>0){if(k.schema.length===1){const k=E[E.length-1];const P=E.slice(0,E.length-1);return this.formatValidationError(Object.assign({},k,{children:P,parentSchema:Object.assign({},v,k.parentSchema)}))}let R=filterChildren(E);if(R.length===1){return this.formatValidationError(R[0])}R=groupChildrenByFirstChild(R);return`${P} should be one of these:\n${this.getSchemaPartText(v)}\nDetails:\n${R.map((k=>` * ${indent(this.formatValidationError(k)," ")}`)).join("\n")}`}return`${P} should be one of these:\n${this.getSchemaPartText(v)}`}case"if":{const{params:v,parentSchema:E}=k;const{failingKeyword:R}=v;return`${P} should match "${R}" schema:\n${this.getSchemaPartText(E,[R])}`}case"absolutePath":{const{message:v,parentSchema:E}=k;return`${P}: ${v}${this.getSchemaPartDescription(E)}`}default:{const{message:v,parentSchema:E}=k;const R=JSON.stringify(k,null,2);return`${P} ${v} (${R}).\n${this.getSchemaPartText(E,false)}`}}}formatValidationErrors(k){return k.map((k=>{let v=this.formatValidationError(k);if(this.postFormatter){v=this.postFormatter(v,k)}return` - ${indent(v," ")}`})).join("\n")}}var q=ValidationError;v.Z=q},13987:function(k){"use strict";class Range{static getOperator(k,v){if(k==="left"){return v?">":">="}return v?"<":"<="}static formatRight(k,v,E){if(v===false){return Range.formatLeft(k,!v,!E)}return`should be ${Range.getOperator("right",E)} ${k}`}static formatLeft(k,v,E){if(v===false){return Range.formatRight(k,!v,!E)}return`should be ${Range.getOperator("left",E)} ${k}`}static formatRange(k,v,E,P,R){let L="should be";L+=` ${Range.getOperator(R?"left":"right",R?E:!E)} ${k} `;L+=R?"and":"or";L+=` ${Range.getOperator(R?"right":"left",R?P:!P)} ${v}`;return L}static getRangeValue(k,v){let E=v?Infinity:-Infinity;let P=-1;const R=v?([k])=>k<=E:([k])=>k>=E;for(let v=0;v-1){return k[P]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(k,v=false){this._left.push([k,v])}right(k,v=false){this._right.push([k,v])}format(k=true){const[v,E]=Range.getRangeValue(this._left,k);const[P,R]=Range.getRangeValue(this._right,!k);if(!Number.isFinite(v)&&!Number.isFinite(P)){return""}const L=E?v+1:v;const N=R?P-1:P;if(L===N){return`should be ${k?"":"!"}= ${L}`}if(Number.isFinite(v)&&!Number.isFinite(P)){return Range.formatLeft(v,k,E)}if(!Number.isFinite(v)&&Number.isFinite(P)){return Range.formatRight(P,k,R)}return Range.formatRange(v,P,E,R,k)}}k.exports=Range},30892:function(k,v,E){"use strict";const P=E(13987);k.exports.stringHints=function stringHints(k,v){const E=[];let P="string";const R={...k};if(!v){const k=R.minLength;const v=R.formatMinimum;const E=R.formatExclusiveMaximum;R.minLength=R.maxLength;R.maxLength=k;R.formatMinimum=R.formatMaximum;R.formatMaximum=v;R.formatExclusiveMaximum=!R.formatExclusiveMinimum;R.formatExclusiveMinimum=!E}if(typeof R.minLength==="number"){if(R.minLength===1){P="non-empty string"}else{const k=Math.max(R.minLength-1,0);E.push(`should be longer than ${k} character${k>1?"s":""}`)}}if(typeof R.maxLength==="number"){if(R.maxLength===0){P="empty string"}else{const k=R.maxLength+1;E.push(`should be shorter than ${k} character${k>1?"s":""}`)}}if(R.pattern){E.push(`should${v?"":" not"} match pattern ${JSON.stringify(R.pattern)}`)}if(R.format){E.push(`should${v?"":" not"} match format ${JSON.stringify(R.format)}`)}if(R.formatMinimum){E.push(`should be ${R.formatExclusiveMinimum?">":">="} ${JSON.stringify(R.formatMinimum)}`)}if(R.formatMaximum){E.push(`should be ${R.formatExclusiveMaximum?"<":"<="} ${JSON.stringify(R.formatMaximum)}`)}return[P].concat(E)};k.exports.numberHints=function numberHints(k,v){const E=[k.type==="integer"?"integer":"number"];const R=new P;if(typeof k.minimum==="number"){R.left(k.minimum)}if(typeof k.exclusiveMinimum==="number"){R.left(k.exclusiveMinimum,true)}if(typeof k.maximum==="number"){R.right(k.maximum)}if(typeof k.exclusiveMaximum==="number"){R.right(k.exclusiveMaximum,true)}const L=R.format(v);if(L){E.push(L)}if(typeof k.multipleOf==="number"){E.push(`should${v?"":" not"} be multiple of ${k.multipleOf}`)}return E}},63597:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class AsyncParallelBailHookCodeFactory extends R{content({onError:k,onResult:v,onDone:E}){let P="";P+=`var _results = new Array(${this.options.taps.length});\n`;P+="var _checkDone = function() {\n";P+="for(var i = 0; i < _results.length; i++) {\n";P+="var item = _results[i];\n";P+="if(item === undefined) return false;\n";P+="if(item.result !== undefined) {\n";P+=v("item.result");P+="return true;\n";P+="}\n";P+="if(item.error) {\n";P+=k("item.error");P+="return true;\n";P+="}\n";P+="}\n";P+="return false;\n";P+="}\n";P+=this.callTapsParallel({onError:(k,v,E,P)=>{let R="";R+=`if(${k} < _results.length && ((_results.length = ${k+1}), (_results[${k}] = { error: ${v} }), _checkDone())) {\n`;R+=P(true);R+="} else {\n";R+=E();R+="}\n";return R},onResult:(k,v,E,P)=>{let R="";R+=`if(${k} < _results.length && (${v} !== undefined && (_results.length = ${k+1}), (_results[${k}] = { result: ${v} }), _checkDone())) {\n`;R+=P(true);R+="} else {\n";R+=E();R+="}\n";return R},onTap:(k,v,E,P)=>{let R="";if(k>0){R+=`if(${k} >= _results.length) {\n`;R+=E();R+="} else {\n"}R+=v();if(k>0)R+="}\n";return R},onDone:E});return P}}const L=new AsyncParallelBailHookCodeFactory;const COMPILE=function(k){L.setup(this,k);return L.create(k)};function AsyncParallelBailHook(k=[],v=undefined){const E=new P(k,v);E.constructor=AsyncParallelBailHook;E.compile=COMPILE;E._call=undefined;E.call=undefined;return E}AsyncParallelBailHook.prototype=null;k.exports=AsyncParallelBailHook},57101:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class AsyncParallelHookCodeFactory extends R{content({onError:k,onDone:v}){return this.callTapsParallel({onError:(v,E,P,R)=>k(E)+R(true),onDone:v})}}const L=new AsyncParallelHookCodeFactory;const COMPILE=function(k){L.setup(this,k);return L.create(k)};function AsyncParallelHook(k=[],v=undefined){const E=new P(k,v);E.constructor=AsyncParallelHook;E.compile=COMPILE;E._call=undefined;E.call=undefined;return E}AsyncParallelHook.prototype=null;k.exports=AsyncParallelHook},19681:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class AsyncSeriesBailHookCodeFactory extends R{content({onError:k,onResult:v,resultReturns:E,onDone:P}){return this.callTapsSeries({onError:(v,E,P,R)=>k(E)+R(true),onResult:(k,E,P)=>`if(${E} !== undefined) {\n${v(E)}\n} else {\n${P()}}\n`,resultReturns:E,onDone:P})}}const L=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(k){L.setup(this,k);return L.create(k)};function AsyncSeriesBailHook(k=[],v=undefined){const E=new P(k,v);E.constructor=AsyncSeriesBailHook;E.compile=COMPILE;E._call=undefined;E.call=undefined;return E}AsyncSeriesBailHook.prototype=null;k.exports=AsyncSeriesBailHook},12337:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class AsyncSeriesHookCodeFactory extends R{content({onError:k,onDone:v}){return this.callTapsSeries({onError:(v,E,P,R)=>k(E)+R(true),onDone:v})}}const L=new AsyncSeriesHookCodeFactory;const COMPILE=function(k){L.setup(this,k);return L.create(k)};function AsyncSeriesHook(k=[],v=undefined){const E=new P(k,v);E.constructor=AsyncSeriesHook;E.compile=COMPILE;E._call=undefined;E.call=undefined;return E}AsyncSeriesHook.prototype=null;k.exports=AsyncSeriesHook},60104:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class AsyncSeriesLoopHookCodeFactory extends R{content({onError:k,onDone:v}){return this.callTapsLooping({onError:(v,E,P,R)=>k(E)+R(true),onDone:v})}}const L=new AsyncSeriesLoopHookCodeFactory;const COMPILE=function(k){L.setup(this,k);return L.create(k)};function AsyncSeriesLoopHook(k=[],v=undefined){const E=new P(k,v);E.constructor=AsyncSeriesLoopHook;E.compile=COMPILE;E._call=undefined;E.call=undefined;return E}AsyncSeriesLoopHook.prototype=null;k.exports=AsyncSeriesLoopHook},79340:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class AsyncSeriesWaterfallHookCodeFactory extends R{content({onError:k,onResult:v,onDone:E}){return this.callTapsSeries({onError:(v,E,P,R)=>k(E)+R(true),onResult:(k,v,E)=>{let P="";P+=`if(${v} !== undefined) {\n`;P+=`${this._args[0]} = ${v};\n`;P+=`}\n`;P+=E();return P},onDone:()=>v(this._args[0])})}}const L=new AsyncSeriesWaterfallHookCodeFactory;const COMPILE=function(k){L.setup(this,k);return L.create(k)};function AsyncSeriesWaterfallHook(k=[],v=undefined){if(k.length<1)throw new Error("Waterfall hooks must have at least one argument");const E=new P(k,v);E.constructor=AsyncSeriesWaterfallHook;E.compile=COMPILE;E._call=undefined;E.call=undefined;return E}AsyncSeriesWaterfallHook.prototype=null;k.exports=AsyncSeriesWaterfallHook},25587:function(k,v,E){"use strict";const P=E(73837);const R=P.deprecate((()=>{}),"Hook.context is deprecated and will be removed");const CALL_DELEGATE=function(...k){this.call=this._createCall("sync");return this.call(...k)};const CALL_ASYNC_DELEGATE=function(...k){this.callAsync=this._createCall("async");return this.callAsync(...k)};const PROMISE_DELEGATE=function(...k){this.promise=this._createCall("promise");return this.promise(...k)};class Hook{constructor(k=[],v=undefined){this._args=k;this.name=v;this.taps=[];this.interceptors=[];this._call=CALL_DELEGATE;this.call=CALL_DELEGATE;this._callAsync=CALL_ASYNC_DELEGATE;this.callAsync=CALL_ASYNC_DELEGATE;this._promise=PROMISE_DELEGATE;this.promise=PROMISE_DELEGATE;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(k){throw new Error("Abstract: should be overridden")}_createCall(k){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:k})}_tap(k,v,E){if(typeof v==="string"){v={name:v.trim()}}else if(typeof v!=="object"||v===null){throw new Error("Invalid tap options")}if(typeof v.name!=="string"||v.name===""){throw new Error("Missing name for tap")}if(typeof v.context!=="undefined"){R()}v=Object.assign({type:k,fn:E},v);v=this._runRegisterInterceptors(v);this._insert(v)}tap(k,v){this._tap("sync",k,v)}tapAsync(k,v){this._tap("async",k,v)}tapPromise(k,v){this._tap("promise",k,v)}_runRegisterInterceptors(k){for(const v of this.interceptors){if(v.register){const E=v.register(k);if(E!==undefined){k=E}}}return k}withOptions(k){const mergeOptions=v=>Object.assign({},k,typeof v==="string"?{name:v}:v);return{name:this.name,tap:(k,v)=>this.tap(mergeOptions(k),v),tapAsync:(k,v)=>this.tapAsync(mergeOptions(k),v),tapPromise:(k,v)=>this.tapPromise(mergeOptions(k),v),intercept:k=>this.intercept(k),isUsed:()=>this.isUsed(),withOptions:k=>this.withOptions(mergeOptions(k))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(k){this._resetCompilation();this.interceptors.push(Object.assign({},k));if(k.register){for(let v=0;v0){P--;const k=this.taps[P];this.taps[P+1]=k;const R=k.stage||0;if(v){if(v.has(k.name)){v.delete(k.name);continue}if(v.size>0){continue}}if(R>E){continue}P++;break}this.taps[P]=k}}Object.setPrototypeOf(Hook.prototype,null);k.exports=Hook},51040:function(k){"use strict";class HookCodeFactory{constructor(k){this.config=k;this.options=undefined;this._args=undefined}create(k){this.init(k);let v;switch(this.options.type){case"sync":v=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:k=>`throw ${k};\n`,onResult:k=>`return ${k};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":v=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:k=>`_callback(${k});\n`,onResult:k=>`_callback(null, ${k});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let k=false;const E=this.contentWithInterceptors({onError:v=>{k=true;return`_error(${v});\n`},onResult:k=>`_resolve(${k});\n`,onDone:()=>"_resolve();\n"});let P="";P+='"use strict";\n';P+=this.header();P+="return new Promise((function(_resolve, _reject) {\n";if(k){P+="var _sync = true;\n";P+="function _error(_err) {\n";P+="if(_sync)\n";P+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";P+="else\n";P+="_reject(_err);\n";P+="};\n"}P+=E;if(k){P+="_sync = false;\n"}P+="}));\n";v=new Function(this.args(),P);break}this.deinit();return v}setup(k,v){k._x=v.taps.map((k=>k.fn))}init(k){this.options=k;this._args=k.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(k){if(this.options.interceptors.length>0){const v=k.onError;const E=k.onResult;const P=k.onDone;let R="";for(let k=0;k{let E="";for(let v=0;v{let v="";for(let E=0;E{let k="";for(let v=0;v0){k+="var _taps = this.taps;\n";k+="var _interceptors = this.interceptors;\n"}return k}needContext(){for(const k of this.options.taps)if(k.context)return true;return false}callTap(k,{onError:v,onResult:E,onDone:P,rethrowIfPossible:R}){let L="";let N=false;for(let v=0;vk.type!=="sync"));const q=E||R;let ae="";let le=P;let pe=0;for(let E=this.options.taps.length-1;E>=0;E--){const R=E;const me=le!==P&&(this.options.taps[R].type!=="sync"||pe++>20);if(me){pe=0;ae+=`function _next${R}() {\n`;ae+=le();ae+=`}\n`;le=()=>`${q?"return ":""}_next${R}();\n`}const ye=le;const doneBreak=k=>{if(k)return"";return P()};const _e=this.callTap(R,{onError:v=>k(R,v,ye,doneBreak),onResult:v&&(k=>v(R,k,ye,doneBreak)),onDone:!v&&ye,rethrowIfPossible:L&&(N<0||R_e}ae+=le();return ae}callTapsLooping({onError:k,onDone:v,rethrowIfPossible:E}){if(this.options.taps.length===0)return v();const P=this.options.taps.every((k=>k.type==="sync"));let R="";if(!P){R+="var _looper = (function() {\n";R+="var _loopAsync = false;\n"}R+="var _loop;\n";R+="do {\n";R+="_loop = false;\n";for(let k=0;k{let L="";L+=`if(${v} !== undefined) {\n`;L+="_loop = true;\n";if(!P)L+="if(_loopAsync) _looper();\n";L+=R(true);L+=`} else {\n`;L+=E();L+=`}\n`;return L},onDone:v&&(()=>{let k="";k+="if(!_loop) {\n";k+=v();k+="}\n";return k}),rethrowIfPossible:E&&P});R+="} while(_loop);\n";if(!P){R+="_loopAsync = true;\n";R+="});\n";R+="_looper();\n"}return R}callTapsParallel({onError:k,onResult:v,onDone:E,rethrowIfPossible:P,onTap:R=((k,v)=>v())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:k,onResult:v,onDone:E,rethrowIfPossible:P})}let L="";L+="do {\n";L+=`var _counter = ${this.options.taps.length};\n`;if(E){L+="var _done = (function() {\n";L+=E();L+="});\n"}for(let N=0;N{if(E)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=k=>{if(k||!E)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};L+="if(_counter <= 0) break;\n";L+=R(N,(()=>this.callTap(N,{onError:v=>{let E="";E+="if(_counter > 0) {\n";E+=k(N,v,done,doneBreak);E+="}\n";return E},onResult:v&&(k=>{let E="";E+="if(_counter > 0) {\n";E+=v(N,k,done,doneBreak);E+="}\n";return E}),onDone:!v&&(()=>done()),rethrowIfPossible:P})),done,doneBreak)}L+="} while(false);\n";return L}args({before:k,after:v}={}){let E=this._args;if(k)E=[k].concat(E);if(v)E=E.concat(v);if(E.length===0){return""}else{return E.join(", ")}}getTapFn(k){return`_x[${k}]`}getTap(k){return`_taps[${k}]`}getInterceptor(k){return`_interceptors[${k}]`}}k.exports=HookCodeFactory},76763:function(k,v,E){"use strict";const P=E(73837);const defaultFactory=(k,v)=>v;class HookMap{constructor(k,v=undefined){this._map=new Map;this.name=v;this._factory=k;this._interceptors=[]}get(k){return this._map.get(k)}for(k){const v=this.get(k);if(v!==undefined){return v}let E=this._factory(k);const P=this._interceptors;for(let v=0;vv.withOptions(k))),this.name)}}k.exports=MultiHook},80038:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class SyncBailHookCodeFactory extends R{content({onError:k,onResult:v,resultReturns:E,onDone:P,rethrowIfPossible:R}){return this.callTapsSeries({onError:(v,E)=>k(E),onResult:(k,E,P)=>`if(${E} !== undefined) {\n${v(E)};\n} else {\n${P()}}\n`,resultReturns:E,onDone:P,rethrowIfPossible:R})}}const L=new SyncBailHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const COMPILE=function(k){L.setup(this,k);return L.create(k)};function SyncBailHook(k=[],v=undefined){const E=new P(k,v);E.constructor=SyncBailHook;E.tapAsync=TAP_ASYNC;E.tapPromise=TAP_PROMISE;E.compile=COMPILE;return E}SyncBailHook.prototype=null;k.exports=SyncBailHook},52606:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class SyncHookCodeFactory extends R{content({onError:k,onDone:v,rethrowIfPossible:E}){return this.callTapsSeries({onError:(v,E)=>k(E),onDone:v,rethrowIfPossible:E})}}const L=new SyncHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const COMPILE=function(k){L.setup(this,k);return L.create(k)};function SyncHook(k=[],v=undefined){const E=new P(k,v);E.constructor=SyncHook;E.tapAsync=TAP_ASYNC;E.tapPromise=TAP_PROMISE;E.compile=COMPILE;return E}SyncHook.prototype=null;k.exports=SyncHook},10359:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class SyncLoopHookCodeFactory extends R{content({onError:k,onDone:v,rethrowIfPossible:E}){return this.callTapsLooping({onError:(v,E)=>k(E),onDone:v,rethrowIfPossible:E})}}const L=new SyncLoopHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const COMPILE=function(k){L.setup(this,k);return L.create(k)};function SyncLoopHook(k=[],v=undefined){const E=new P(k,v);E.constructor=SyncLoopHook;E.tapAsync=TAP_ASYNC;E.tapPromise=TAP_PROMISE;E.compile=COMPILE;return E}SyncLoopHook.prototype=null;k.exports=SyncLoopHook},3746:function(k,v,E){"use strict";const P=E(25587);const R=E(51040);class SyncWaterfallHookCodeFactory extends R{content({onError:k,onResult:v,resultReturns:E,rethrowIfPossible:P}){return this.callTapsSeries({onError:(v,E)=>k(E),onResult:(k,v,E)=>{let P="";P+=`if(${v} !== undefined) {\n`;P+=`${this._args[0]} = ${v};\n`;P+=`}\n`;P+=E();return P},onDone:()=>v(this._args[0]),doneReturns:E,rethrowIfPossible:P})}}const L=new SyncWaterfallHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const COMPILE=function(k){L.setup(this,k);return L.create(k)};function SyncWaterfallHook(k=[],v=undefined){if(k.length<1)throw new Error("Waterfall hooks must have at least one argument");const E=new P(k,v);E.constructor=SyncWaterfallHook;E.tapAsync=TAP_ASYNC;E.tapPromise=TAP_PROMISE;E.compile=COMPILE;return E}SyncWaterfallHook.prototype=null;k.exports=SyncWaterfallHook},79846:function(k,v,E){"use strict";v.__esModule=true;v.SyncHook=E(52606);v.SyncBailHook=E(80038);v.SyncWaterfallHook=E(3746);v.SyncLoopHook=E(10359);v.AsyncParallelHook=E(57101);v.AsyncParallelBailHook=E(63597);v.AsyncSeriesHook=E(12337);v.AsyncSeriesBailHook=E(19681);v.AsyncSeriesLoopHook=E(60104);v.AsyncSeriesWaterfallHook=E(79340);v.HookMap=E(76763);v.MultiHook=E(49771)},36849:function(k){ +/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the @@ -17349,113662 +25,4 @@ MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ - var v - var E - var P - var R - var L - var N - var q - var ae - var le - var pe - var me - var ye - var _e - var Ie - var Me - var Te - var je - var Ne - var Be - var qe - var Ue - var Ge - ;(function (v) { - var E = - typeof global === 'object' - ? global - : typeof self === 'object' - ? self - : typeof this === 'object' - ? this - : {} - if (typeof define === 'function' && define.amd) { - define('tslib', ['exports'], function (k) { - v(createExporter(E, createExporter(k))) - }) - } else if (true && typeof k.exports === 'object') { - v(createExporter(E, createExporter(k.exports))) - } else { - v(createExporter(E)) - } - function createExporter(k, v) { - if (k !== E) { - if (typeof Object.create === 'function') { - Object.defineProperty(k, '__esModule', { value: true }) - } else { - k.__esModule = true - } - } - return function (E, P) { - return (k[E] = v ? v(E, P) : P) - } - } - })(function (k) { - var He = - Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && - function (k, v) { - k.__proto__ = v - }) || - function (k, v) { - for (var E in v) if (v.hasOwnProperty(E)) k[E] = v[E] - } - v = function (k, v) { - He(k, v) - function __() { - this.constructor = k - } - k.prototype = - v === null - ? Object.create(v) - : ((__.prototype = v.prototype), new __()) - } - E = - Object.assign || - function (k) { - for (var v, E = 1, P = arguments.length; E < P; E++) { - v = arguments[E] - for (var R in v) - if (Object.prototype.hasOwnProperty.call(v, R)) k[R] = v[R] - } - return k - } - P = function (k, v) { - var E = {} - for (var P in k) - if (Object.prototype.hasOwnProperty.call(k, P) && v.indexOf(P) < 0) - E[P] = k[P] - if (k != null && typeof Object.getOwnPropertySymbols === 'function') - for ( - var R = 0, P = Object.getOwnPropertySymbols(k); - R < P.length; - R++ - ) { - if ( - v.indexOf(P[R]) < 0 && - Object.prototype.propertyIsEnumerable.call(k, P[R]) - ) - E[P[R]] = k[P[R]] - } - return E - } - R = function (k, v, E, P) { - var R = arguments.length, - L = - R < 3 - ? v - : P === null - ? (P = Object.getOwnPropertyDescriptor(v, E)) - : P, - N - if ( - typeof Reflect === 'object' && - typeof Reflect.decorate === 'function' - ) - L = Reflect.decorate(k, v, E, P) - else - for (var q = k.length - 1; q >= 0; q--) - if ((N = k[q])) - L = (R < 3 ? N(L) : R > 3 ? N(v, E, L) : N(v, E)) || L - return R > 3 && L && Object.defineProperty(v, E, L), L - } - L = function (k, v) { - return function (E, P) { - v(E, P, k) - } - } - N = function (k, v) { - if ( - typeof Reflect === 'object' && - typeof Reflect.metadata === 'function' - ) - return Reflect.metadata(k, v) - } - q = function (k, v, E, P) { - function adopt(k) { - return k instanceof E - ? k - : new E(function (v) { - v(k) - }) - } - return new (E || (E = Promise))(function (E, R) { - function fulfilled(k) { - try { - step(P.next(k)) - } catch (k) { - R(k) - } - } - function rejected(k) { - try { - step(P['throw'](k)) - } catch (k) { - R(k) - } - } - function step(k) { - k.done ? E(k.value) : adopt(k.value).then(fulfilled, rejected) - } - step((P = P.apply(k, v || [])).next()) - }) - } - ae = function (k, v) { - var E = { - label: 0, - sent: function () { - if (L[0] & 1) throw L[1] - return L[1] - }, - trys: [], - ops: [], - }, - P, - R, - L, - N - return ( - (N = { next: verb(0), throw: verb(1), return: verb(2) }), - typeof Symbol === 'function' && - (N[Symbol.iterator] = function () { - return this - }), - N - ) - function verb(k) { - return function (v) { - return step([k, v]) - } - } - function step(N) { - if (P) throw new TypeError('Generator is already executing.') - while (E) - try { - if ( - ((P = 1), - R && - (L = - N[0] & 2 - ? R['return'] - : N[0] - ? R['throw'] || ((L = R['return']) && L.call(R), 0) - : R.next) && - !(L = L.call(R, N[1])).done) - ) - return L - if (((R = 0), L)) N = [N[0] & 2, L.value] - switch (N[0]) { - case 0: - case 1: - L = N - break - case 4: - E.label++ - return { value: N[1], done: false } - case 5: - E.label++ - R = N[1] - N = [0] - continue - case 7: - N = E.ops.pop() - E.trys.pop() - continue - default: - if ( - !((L = E.trys), (L = L.length > 0 && L[L.length - 1])) && - (N[0] === 6 || N[0] === 2) - ) { - E = 0 - continue - } - if (N[0] === 3 && (!L || (N[1] > L[0] && N[1] < L[3]))) { - E.label = N[1] - break - } - if (N[0] === 6 && E.label < L[1]) { - E.label = L[1] - L = N - break - } - if (L && E.label < L[2]) { - E.label = L[2] - E.ops.push(N) - break - } - if (L[2]) E.ops.pop() - E.trys.pop() - continue - } - N = v.call(k, E) - } catch (k) { - N = [6, k] - R = 0 - } finally { - P = L = 0 - } - if (N[0] & 5) throw N[1] - return { value: N[0] ? N[1] : void 0, done: true } - } - } - le = function (k, v) { - for (var E in k) if (!v.hasOwnProperty(E)) v[E] = k[E] - } - pe = function (k) { - var v = typeof Symbol === 'function' && Symbol.iterator, - E = v && k[v], - P = 0 - if (E) return E.call(k) - if (k && typeof k.length === 'number') - return { - next: function () { - if (k && P >= k.length) k = void 0 - return { value: k && k[P++], done: !k } - }, - } - throw new TypeError( - v ? 'Object is not iterable.' : 'Symbol.iterator is not defined.' - ) - } - me = function (k, v) { - var E = typeof Symbol === 'function' && k[Symbol.iterator] - if (!E) return k - var P = E.call(k), - R, - L = [], - N - try { - while ((v === void 0 || v-- > 0) && !(R = P.next()).done) - L.push(R.value) - } catch (k) { - N = { error: k } - } finally { - try { - if (R && !R.done && (E = P['return'])) E.call(P) - } finally { - if (N) throw N.error - } - } - return L - } - ye = function () { - for (var k = [], v = 0; v < arguments.length; v++) - k = k.concat(me(arguments[v])) - return k - } - _e = function () { - for (var k = 0, v = 0, E = arguments.length; v < E; v++) - k += arguments[v].length - for (var P = Array(k), R = 0, v = 0; v < E; v++) - for (var L = arguments[v], N = 0, q = L.length; N < q; N++, R++) - P[R] = L[N] - return P - } - Ie = function (k) { - return this instanceof Ie ? ((this.v = k), this) : new Ie(k) - } - Me = function (k, v, E) { - if (!Symbol.asyncIterator) - throw new TypeError('Symbol.asyncIterator is not defined.') - var P = E.apply(k, v || []), - R, - L = [] - return ( - (R = {}), - verb('next'), - verb('throw'), - verb('return'), - (R[Symbol.asyncIterator] = function () { - return this - }), - R - ) - function verb(k) { - if (P[k]) - R[k] = function (v) { - return new Promise(function (E, P) { - L.push([k, v, E, P]) > 1 || resume(k, v) - }) - } - } - function resume(k, v) { - try { - step(P[k](v)) - } catch (k) { - settle(L[0][3], k) - } - } - function step(k) { - k.value instanceof Ie - ? Promise.resolve(k.value.v).then(fulfill, reject) - : settle(L[0][2], k) - } - function fulfill(k) { - resume('next', k) - } - function reject(k) { - resume('throw', k) - } - function settle(k, v) { - if ((k(v), L.shift(), L.length)) resume(L[0][0], L[0][1]) - } - } - Te = function (k) { - var v, E - return ( - (v = {}), - verb('next'), - verb('throw', function (k) { - throw k - }), - verb('return'), - (v[Symbol.iterator] = function () { - return this - }), - v - ) - function verb(P, R) { - v[P] = k[P] - ? function (v) { - return (E = !E) - ? { value: Ie(k[P](v)), done: P === 'return' } - : R - ? R(v) - : v - } - : R - } - } - je = function (k) { - if (!Symbol.asyncIterator) - throw new TypeError('Symbol.asyncIterator is not defined.') - var v = k[Symbol.asyncIterator], - E - return v - ? v.call(k) - : ((k = typeof pe === 'function' ? pe(k) : k[Symbol.iterator]()), - (E = {}), - verb('next'), - verb('throw'), - verb('return'), - (E[Symbol.asyncIterator] = function () { - return this - }), - E) - function verb(v) { - E[v] = - k[v] && - function (E) { - return new Promise(function (P, R) { - ;(E = k[v](E)), settle(P, R, E.done, E.value) - }) - } - } - function settle(k, v, E, P) { - Promise.resolve(P).then(function (v) { - k({ value: v, done: E }) - }, v) - } - } - Ne = function (k, v) { - if (Object.defineProperty) { - Object.defineProperty(k, 'raw', { value: v }) - } else { - k.raw = v - } - return k - } - Be = function (k) { - if (k && k.__esModule) return k - var v = {} - if (k != null) - for (var E in k) if (Object.hasOwnProperty.call(k, E)) v[E] = k[E] - v['default'] = k - return v - } - qe = function (k) { - return k && k.__esModule ? k : { default: k } - } - Ue = function (k, v) { - if (!v.has(k)) { - throw new TypeError( - 'attempted to get private field on non-instance' - ) - } - return v.get(k) - } - Ge = function (k, v, E) { - if (!v.has(k)) { - throw new TypeError( - 'attempted to set private field on non-instance' - ) - } - v.set(k, E) - return E - } - k('__extends', v) - k('__assign', E) - k('__rest', P) - k('__decorate', R) - k('__param', L) - k('__metadata', N) - k('__awaiter', q) - k('__generator', ae) - k('__exportStar', le) - k('__values', pe) - k('__read', me) - k('__spread', ye) - k('__spreadArrays', _e) - k('__await', Ie) - k('__asyncGenerator', Me) - k('__asyncDelegator', Te) - k('__asyncValues', je) - k('__makeTemplateObject', Ne) - k('__importStar', Be) - k('__importDefault', qe) - k('__classPrivateFieldGet', Ue) - k('__classPrivateFieldSet', Ge) - }) - }, - 99494: function (k, v, E) { - 'use strict' - const P = E(88113) - const { - JAVASCRIPT_MODULE_TYPE_AUTO: R, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: L, - JAVASCRIPT_MODULE_TYPE_ESM: N, - } = E(93622) - const q = E(56727) - const ae = E(71572) - const le = E(60381) - const pe = E(70037) - const me = E(89168) - const { toConstantDependency: ye, evaluateToString: _e } = E(80784) - const Ie = E(32861) - const Me = E(5e3) - function getReplacements(k, v) { - return { - __webpack_require__: { - expr: q.require, - req: [q.require], - type: 'function', - assign: false, - }, - __webpack_public_path__: { - expr: q.publicPath, - req: [q.publicPath], - type: 'string', - assign: true, - }, - __webpack_base_uri__: { - expr: q.baseURI, - req: [q.baseURI], - type: 'string', - assign: true, - }, - __webpack_modules__: { - expr: q.moduleFactories, - req: [q.moduleFactories], - type: 'object', - assign: false, - }, - __webpack_chunk_load__: { - expr: q.ensureChunk, - req: [q.ensureChunk], - type: 'function', - assign: true, - }, - __non_webpack_require__: { - expr: k ? `__WEBPACK_EXTERNAL_createRequire(${v}.url)` : 'require', - req: null, - type: undefined, - assign: true, - }, - __webpack_nonce__: { - expr: q.scriptNonce, - req: [q.scriptNonce], - type: 'string', - assign: true, - }, - __webpack_hash__: { - expr: `${q.getFullHash}()`, - req: [q.getFullHash], - type: 'string', - assign: false, - }, - __webpack_chunkname__: { - expr: q.chunkName, - req: [q.chunkName], - type: 'string', - assign: false, - }, - __webpack_get_script_filename__: { - expr: q.getChunkScriptFilename, - req: [q.getChunkScriptFilename], - type: 'function', - assign: true, - }, - __webpack_runtime_id__: { - expr: q.runtimeId, - req: [q.runtimeId], - assign: false, - }, - 'require.onError': { - expr: q.uncaughtErrorHandler, - req: [q.uncaughtErrorHandler], - type: undefined, - assign: true, - }, - __system_context__: { - expr: q.systemContext, - req: [q.systemContext], - type: 'object', - assign: false, - }, - __webpack_share_scopes__: { - expr: q.shareScopeMap, - req: [q.shareScopeMap], - type: 'object', - assign: false, - }, - __webpack_init_sharing__: { - expr: q.initializeSharing, - req: [q.initializeSharing], - type: 'function', - assign: true, - }, - } - } - const Te = 'APIPlugin' - class APIPlugin { - constructor(k = {}) { - this.options = k - } - apply(k) { - k.hooks.compilation.tap(Te, (k, { normalModuleFactory: v }) => { - const { importMetaName: E } = k.outputOptions - const je = getReplacements(this.options.module, E) - k.dependencyTemplates.set(le, new le.Template()) - k.hooks.runtimeRequirementInTree.for(q.chunkName).tap(Te, (v) => { - k.addRuntimeModule(v, new Ie(v.name)) - return true - }) - k.hooks.runtimeRequirementInTree - .for(q.getFullHash) - .tap(Te, (v, E) => { - k.addRuntimeModule(v, new Me()) - return true - }) - const Ne = me.getCompilationHooks(k) - Ne.renderModuleContent.tap(Te, (k, v, E) => { - if (v.buildInfo.needCreateRequire) { - const k = [ - new P( - 'import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n', - P.STAGE_HARMONY_IMPORTS, - 0, - 'external module node-commonjs' - ), - ] - E.chunkInitFragments.push(...k) - } - return k - }) - const handler = (k) => { - Object.keys(je).forEach((v) => { - const E = je[v] - k.hooks.expression.for(v).tap(Te, (P) => { - const R = ye(k, E.expr, E.req) - if (v === '__non_webpack_require__' && this.options.module) { - k.state.module.buildInfo.needCreateRequire = true - } - return R(P) - }) - if (E.assign === false) { - k.hooks.assign.for(v).tap(Te, (k) => { - const E = new ae(`${v} must not be assigned`) - E.loc = k.loc - throw E - }) - } - if (E.type) { - k.hooks.evaluateTypeof.for(v).tap(Te, _e(E.type)) - } - }) - k.hooks.expression.for('__webpack_layer__').tap(Te, (v) => { - const E = new le(JSON.stringify(k.state.module.layer), v.range) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - return true - }) - k.hooks.evaluateIdentifier - .for('__webpack_layer__') - .tap(Te, (v) => - (k.state.module.layer === null - ? new pe().setNull() - : new pe().setString(k.state.module.layer) - ).setRange(v.range) - ) - k.hooks.evaluateTypeof - .for('__webpack_layer__') - .tap(Te, (v) => - new pe() - .setString( - k.state.module.layer === null ? 'object' : 'string' - ) - .setRange(v.range) - ) - k.hooks.expression.for('__webpack_module__.id').tap(Te, (v) => { - k.state.module.buildInfo.moduleConcatenationBailout = - '__webpack_module__.id' - const E = new le( - k.state.module.moduleArgument + '.id', - v.range, - [q.moduleId] - ) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - return true - }) - k.hooks.expression.for('__webpack_module__').tap(Te, (v) => { - k.state.module.buildInfo.moduleConcatenationBailout = - '__webpack_module__' - const E = new le(k.state.module.moduleArgument, v.range, [ - q.module, - ]) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - return true - }) - k.hooks.evaluateTypeof - .for('__webpack_module__') - .tap(Te, _e('object')) - } - v.hooks.parser.for(R).tap(Te, handler) - v.hooks.parser.for(L).tap(Te, handler) - v.hooks.parser.for(N).tap(Te, handler) - }) - } - } - k.exports = APIPlugin - }, - 60386: function (k, v, E) { - 'use strict' - const P = E(71572) - const R = /at ([a-zA-Z0-9_.]*)/ - function createMessage(k) { - return `Abstract method${k ? ' ' + k : ''}. Must be overridden.` - } - function Message() { - this.stack = undefined - Error.captureStackTrace(this) - const k = this.stack.split('\n')[3].match(R) - this.message = k && k[1] ? createMessage(k[1]) : createMessage() - } - class AbstractMethodError extends P { - constructor() { - super(new Message().message) - this.name = 'AbstractMethodError' - } - } - k.exports = AbstractMethodError - }, - 75081: function (k, v, E) { - 'use strict' - const P = E(38706) - const R = E(58528) - class AsyncDependenciesBlock extends P { - constructor(k, v, E) { - super() - if (typeof k === 'string') { - k = { name: k } - } else if (!k) { - k = { name: undefined } - } - this.groupOptions = k - this.loc = v - this.request = E - this._stringifiedGroupOptions = undefined - } - get chunkName() { - return this.groupOptions.name - } - set chunkName(k) { - if (this.groupOptions.name !== k) { - this.groupOptions.name = k - this._stringifiedGroupOptions = undefined - } - } - updateHash(k, v) { - const { chunkGraph: E } = v - if (this._stringifiedGroupOptions === undefined) { - this._stringifiedGroupOptions = JSON.stringify(this.groupOptions) - } - const P = E.getBlockChunkGroup(this) - k.update(`${this._stringifiedGroupOptions}${P ? P.id : ''}`) - super.updateHash(k, v) - } - serialize(k) { - const { write: v } = k - v(this.groupOptions) - v(this.loc) - v(this.request) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.groupOptions = v() - this.loc = v() - this.request = v() - super.deserialize(k) - } - } - R(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)" - ) - }, - }) - k.exports = AsyncDependenciesBlock - }, - 51641: function (k, v, E) { - 'use strict' - const P = E(71572) - class AsyncDependencyToInitialChunkError extends P { - constructor(k, v, E) { - super( - `It's not allowed to load an initial chunk on demand. The chunk name "${k}" is already used by an entrypoint.` - ) - this.name = 'AsyncDependencyToInitialChunkError' - this.module = v - this.loc = E - } - } - k.exports = AsyncDependencyToInitialChunkError - }, - 75250: function (k, v, E) { - 'use strict' - const P = E(78175) - const R = E(38224) - const L = E(85992) - class AutomaticPrefetchPlugin { - apply(k) { - k.hooks.compilation.tap( - 'AutomaticPrefetchPlugin', - (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(L, v) - } - ) - let v = null - k.hooks.afterCompile.tap('AutomaticPrefetchPlugin', (k) => { - v = [] - for (const E of k.modules) { - if (E instanceof R) { - v.push({ context: E.context, request: E.request }) - } - } - }) - k.hooks.make.tapAsync('AutomaticPrefetchPlugin', (E, R) => { - if (!v) return R() - P.forEach( - v, - (v, P) => { - E.addModuleChain( - v.context || k.context, - new L(`!!${v.request}`), - P - ) - }, - (k) => { - v = null - R(k) - } - ) - }) - } - } - k.exports = AutomaticPrefetchPlugin - }, - 13991: function (k, v, E) { - 'use strict' - const { ConcatSource: P } = E(51255) - const R = E(27747) - const L = E(98612) - const N = E(95041) - const q = E(92198) - const ae = q(E(85797), () => E(98156), { - name: 'Banner Plugin', - baseDataPath: 'options', - }) - const wrapComment = (k) => { - if (!k.includes('\n')) { - return N.toComment(k) - } - return `/*!\n * ${k - .replace(/\*\//g, '* /') - .split('\n') - .join('\n * ') - .replace(/\s+\n/g, '\n') - .trimEnd()}\n */` - } - class BannerPlugin { - constructor(k) { - if (typeof k === 'string' || typeof k === 'function') { - k = { banner: k } - } - ae(k) - this.options = k - const v = k.banner - if (typeof v === 'function') { - const k = v - this.banner = this.options.raw ? k : (v) => wrapComment(k(v)) - } else { - const k = this.options.raw ? v : wrapComment(v) - this.banner = () => k - } - } - apply(k) { - const v = this.options - const E = this.banner - const N = L.matchObject.bind(undefined, v) - const q = new WeakMap() - k.hooks.compilation.tap('BannerPlugin', (k) => { - k.hooks.processAssets.tap( - { name: 'BannerPlugin', stage: R.PROCESS_ASSETS_STAGE_ADDITIONS }, - () => { - for (const R of k.chunks) { - if (v.entryOnly && !R.canBeInitial()) { - continue - } - for (const L of R.files) { - if (!N(L)) { - continue - } - const ae = { chunk: R, filename: L } - const le = k.getPath(E, ae) - k.updateAsset(L, (k) => { - let E = q.get(k) - if (!E || E.comment !== le) { - const E = v.footer - ? new P(k, '\n', le) - : new P(le, '\n', k) - q.set(k, { source: E, comment: le }) - return E - } - return E.source - }) - } - } - } - ) - }) - } - } - k.exports = BannerPlugin - }, - 89802: function (k, v, E) { - 'use strict' - const { - AsyncParallelHook: P, - AsyncSeriesBailHook: R, - SyncHook: L, - } = E(79846) - const { makeWebpackError: N, makeWebpackErrorCallback: q } = E(82104) - const needCalls = (k, v) => (E) => { - if (--k === 0) { - return v(E) - } - if (E && k > 0) { - k = 0 - return v(E) - } - } - class Cache { - constructor() { - this.hooks = { - get: new R(['identifier', 'etag', 'gotHandlers']), - store: new P(['identifier', 'etag', 'data']), - storeBuildDependencies: new P(['dependencies']), - beginIdle: new L([]), - endIdle: new P([]), - shutdown: new P([]), - } - } - get(k, v, E) { - const P = [] - this.hooks.get.callAsync(k, v, P, (k, v) => { - if (k) { - E(N(k, 'Cache.hooks.get')) - return - } - if (v === null) { - v = undefined - } - if (P.length > 1) { - const k = needCalls(P.length, () => E(null, v)) - for (const E of P) { - E(v, k) - } - } else if (P.length === 1) { - P[0](v, () => E(null, v)) - } else { - E(null, v) - } - }) - } - store(k, v, E, P) { - this.hooks.store.callAsync(k, v, E, q(P, 'Cache.hooks.store')) - } - storeBuildDependencies(k, v) { - this.hooks.storeBuildDependencies.callAsync( - k, - q(v, 'Cache.hooks.storeBuildDependencies') - ) - } - beginIdle() { - this.hooks.beginIdle.call() - } - endIdle(k) { - this.hooks.endIdle.callAsync(q(k, 'Cache.hooks.endIdle')) - } - shutdown(k) { - this.hooks.shutdown.callAsync(q(k, 'Cache.hooks.shutdown')) - } - } - Cache.STAGE_MEMORY = -10 - Cache.STAGE_DEFAULT = 0 - Cache.STAGE_DISK = 10 - Cache.STAGE_NETWORK = 20 - k.exports = Cache - }, - 90580: function (k, v, E) { - 'use strict' - const { forEachBail: P } = E(90006) - const R = E(78175) - const L = E(76222) - const N = E(87045) - class MultiItemCache { - constructor(k) { - this._items = k - if (k.length === 1) return k[0] - } - get(k) { - P(this._items, (k, v) => k.get(v), k) - } - getPromise() { - const next = (k) => - this._items[k].getPromise().then((v) => { - if (v !== undefined) return v - if (++k < this._items.length) return next(k) - }) - return next(0) - } - store(k, v) { - R.each(this._items, (v, E) => v.store(k, E), v) - } - storePromise(k) { - return Promise.all(this._items.map((v) => v.storePromise(k))).then( - () => {} - ) - } - } - class ItemCacheFacade { - constructor(k, v, E) { - this._cache = k - this._name = v - this._etag = E - } - get(k) { - this._cache.get(this._name, this._etag, k) - } - getPromise() { - return new Promise((k, v) => { - this._cache.get(this._name, this._etag, (E, P) => { - if (E) { - v(E) - } else { - k(P) - } - }) - }) - } - store(k, v) { - this._cache.store(this._name, this._etag, k, v) - } - storePromise(k) { - return new Promise((v, E) => { - this._cache.store(this._name, this._etag, k, (k) => { - if (k) { - E(k) - } else { - v() - } - }) - }) - } - provide(k, v) { - this.get((E, P) => { - if (E) return v(E) - if (P !== undefined) return P - k((k, E) => { - if (k) return v(k) - this.store(E, (k) => { - if (k) return v(k) - v(null, E) - }) - }) - }) - } - async providePromise(k) { - const v = await this.getPromise() - if (v !== undefined) return v - const E = await k() - await this.storePromise(E) - return E - } - } - class CacheFacade { - constructor(k, v, E) { - this._cache = k - this._name = v - this._hashFunction = E - } - getChildCache(k) { - return new CacheFacade( - this._cache, - `${this._name}|${k}`, - this._hashFunction - ) - } - getItemCache(k, v) { - return new ItemCacheFacade(this._cache, `${this._name}|${k}`, v) - } - getLazyHashedEtag(k) { - return L(k, this._hashFunction) - } - mergeEtags(k, v) { - return N(k, v) - } - get(k, v, E) { - this._cache.get(`${this._name}|${k}`, v, E) - } - getPromise(k, v) { - return new Promise((E, P) => { - this._cache.get(`${this._name}|${k}`, v, (k, v) => { - if (k) { - P(k) - } else { - E(v) - } - }) - }) - } - store(k, v, E, P) { - this._cache.store(`${this._name}|${k}`, v, E, P) - } - storePromise(k, v, E) { - return new Promise((P, R) => { - this._cache.store(`${this._name}|${k}`, v, E, (k) => { - if (k) { - R(k) - } else { - P() - } - }) - }) - } - provide(k, v, E, P) { - this.get(k, v, (R, L) => { - if (R) return P(R) - if (L !== undefined) return L - E((E, R) => { - if (E) return P(E) - this.store(k, v, R, (k) => { - if (k) return P(k) - P(null, R) - }) - }) - }) - } - async providePromise(k, v, E) { - const P = await this.getPromise(k, v) - if (P !== undefined) return P - const R = await E() - await this.storePromise(k, v, R) - return R - } - } - k.exports = CacheFacade - k.exports.ItemCacheFacade = ItemCacheFacade - k.exports.MultiItemCache = MultiItemCache - }, - 94046: function (k, v, E) { - 'use strict' - const P = E(71572) - const sortModules = (k) => - k.sort((k, v) => { - const E = k.identifier() - const P = v.identifier() - if (E < P) return -1 - if (E > P) return 1 - return 0 - }) - const createModulesListMessage = (k, v) => - k - .map((k) => { - let E = `* ${k.identifier()}` - const P = Array.from( - v.getIncomingConnectionsByOriginModule(k).keys() - ).filter((k) => k) - if (P.length > 0) { - E += `\n Used by ${P.length} module(s), i. e.` - E += `\n ${P[0].identifier()}` - } - return E - }) - .join('\n') - class CaseSensitiveModulesWarning extends P { - constructor(k, v) { - const E = sortModules(Array.from(k)) - const P = createModulesListMessage(E, v) - 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${P}` - ) - this.name = 'CaseSensitiveModulesWarning' - this.module = E[0] - } - } - k.exports = CaseSensitiveModulesWarning - }, - 8247: function (k, v, E) { - 'use strict' - const P = E(38317) - const R = E(10969) - const { intersect: L } = E(59959) - const N = E(46081) - const q = E(96181) - const { - compareModulesByIdentifier: ae, - compareChunkGroupsByIndex: le, - compareModulesById: pe, - } = E(95648) - const { createArrayToSetDeprecationSet: me } = E(61883) - const { mergeRuntime: ye } = E(1540) - const _e = me('chunk.files') - let Ie = 1e3 - class Chunk { - constructor(k, v = true) { - this.id = null - this.ids = null - this.debugId = Ie++ - this.name = k - this.idNameHints = new N() - this.preventIntegration = false - this.filenameTemplate = undefined - this.cssFilenameTemplate = undefined - this._groups = new N(undefined, le) - this.runtime = undefined - this.files = v ? new _e() : new Set() - 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 k = Array.from( - P.getChunkGraphForChunk( - this, - 'Chunk.entryModule', - 'DEP_WEBPACK_CHUNK_ENTRY_MODULE' - ).getChunkEntryModulesIterable(this) - ) - if (k.length === 0) { - return undefined - } else if (k.length === 1) { - return k[0] - } else { - throw new Error( - 'Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)' - ) - } - } - hasEntryModule() { - return ( - P.getChunkGraphForChunk( - this, - 'Chunk.hasEntryModule', - 'DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE' - ).getNumberOfEntryModules(this) > 0 - ) - } - addModule(k) { - const v = P.getChunkGraphForChunk( - this, - 'Chunk.addModule', - 'DEP_WEBPACK_CHUNK_ADD_MODULE' - ) - if (v.isModuleInChunk(k, this)) return false - v.connectChunkAndModule(this, k) - return true - } - removeModule(k) { - P.getChunkGraphForChunk( - this, - 'Chunk.removeModule', - 'DEP_WEBPACK_CHUNK_REMOVE_MODULE' - ).disconnectChunkAndModule(this, k) - } - getNumberOfModules() { - return P.getChunkGraphForChunk( - this, - 'Chunk.getNumberOfModules', - 'DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES' - ).getNumberOfChunkModules(this) - } - get modulesIterable() { - const k = P.getChunkGraphForChunk( - this, - 'Chunk.modulesIterable', - 'DEP_WEBPACK_CHUNK_MODULES_ITERABLE' - ) - return k.getOrderedChunkModulesIterable(this, ae) - } - compareTo(k) { - const v = P.getChunkGraphForChunk( - this, - 'Chunk.compareTo', - 'DEP_WEBPACK_CHUNK_COMPARE_TO' - ) - return v.compareChunks(this, k) - } - containsModule(k) { - return P.getChunkGraphForChunk( - this, - 'Chunk.containsModule', - 'DEP_WEBPACK_CHUNK_CONTAINS_MODULE' - ).isModuleInChunk(k, this) - } - getModules() { - return P.getChunkGraphForChunk( - this, - 'Chunk.getModules', - 'DEP_WEBPACK_CHUNK_GET_MODULES' - ).getChunkModules(this) - } - remove() { - const k = P.getChunkGraphForChunk( - this, - 'Chunk.remove', - 'DEP_WEBPACK_CHUNK_REMOVE' - ) - k.disconnectChunk(this) - this.disconnectFromGroups() - } - moveModule(k, v) { - const E = P.getChunkGraphForChunk( - this, - 'Chunk.moveModule', - 'DEP_WEBPACK_CHUNK_MOVE_MODULE' - ) - E.disconnectChunkAndModule(this, k) - E.connectChunkAndModule(v, k) - } - integrate(k) { - const v = P.getChunkGraphForChunk( - this, - 'Chunk.integrate', - 'DEP_WEBPACK_CHUNK_INTEGRATE' - ) - if (v.canChunksBeIntegrated(this, k)) { - v.integrateChunks(this, k) - return true - } else { - return false - } - } - canBeIntegrated(k) { - const v = P.getChunkGraphForChunk( - this, - 'Chunk.canBeIntegrated', - 'DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED' - ) - return v.canChunksBeIntegrated(this, k) - } - isEmpty() { - const k = P.getChunkGraphForChunk( - this, - 'Chunk.isEmpty', - 'DEP_WEBPACK_CHUNK_IS_EMPTY' - ) - return k.getNumberOfChunkModules(this) === 0 - } - modulesSize() { - const k = P.getChunkGraphForChunk( - this, - 'Chunk.modulesSize', - 'DEP_WEBPACK_CHUNK_MODULES_SIZE' - ) - return k.getChunkModulesSize(this) - } - size(k = {}) { - const v = P.getChunkGraphForChunk( - this, - 'Chunk.size', - 'DEP_WEBPACK_CHUNK_SIZE' - ) - return v.getChunkSize(this, k) - } - integratedSize(k, v) { - const E = P.getChunkGraphForChunk( - this, - 'Chunk.integratedSize', - 'DEP_WEBPACK_CHUNK_INTEGRATED_SIZE' - ) - return E.getIntegratedChunksSize(this, k, v) - } - getChunkModuleMaps(k) { - const v = P.getChunkGraphForChunk( - this, - 'Chunk.getChunkModuleMaps', - 'DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS' - ) - const E = Object.create(null) - const R = Object.create(null) - for (const P of this.getAllAsyncChunks()) { - let L - for (const N of v.getOrderedChunkModulesIterable(P, pe(v))) { - if (k(N)) { - if (L === undefined) { - L = [] - E[P.id] = L - } - const k = v.getModuleId(N) - L.push(k) - R[k] = v.getRenderedModuleHash(N, undefined) - } - } - } - return { id: E, hash: R } - } - hasModuleInGraph(k, v) { - const E = P.getChunkGraphForChunk( - this, - 'Chunk.hasModuleInGraph', - 'DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH' - ) - return E.hasModuleInGraph(this, k, v) - } - getChunkMaps(k) { - const v = Object.create(null) - const E = Object.create(null) - const P = Object.create(null) - for (const R of this.getAllAsyncChunks()) { - const L = R.id - v[L] = k ? R.hash : R.renderedHash - for (const k of Object.keys(R.contentHash)) { - if (!E[k]) { - E[k] = Object.create(null) - } - E[k][L] = R.contentHash[k] - } - if (R.name) { - P[L] = R.name - } - } - return { hash: v, contentHash: E, name: P } - } - hasRuntime() { - for (const k of this._groups) { - if (k instanceof R && k.getRuntimeChunk() === this) { - return true - } - } - return false - } - canBeInitial() { - for (const k of this._groups) { - if (k.isInitial()) return true - } - return false - } - isOnlyInitial() { - if (this._groups.size <= 0) return false - for (const k of this._groups) { - if (!k.isInitial()) return false - } - return true - } - getEntryOptions() { - for (const k of this._groups) { - if (k instanceof R) { - return k.options - } - } - return undefined - } - addGroup(k) { - this._groups.add(k) - } - removeGroup(k) { - this._groups.delete(k) - } - isInGroup(k) { - return this._groups.has(k) - } - getNumberOfGroups() { - return this._groups.size - } - get groupsIterable() { - this._groups.sort() - return this._groups - } - disconnectFromGroups() { - for (const k of this._groups) { - k.removeChunk(this) - } - } - split(k) { - for (const v of this._groups) { - v.insertChunk(k, this) - k.addGroup(v) - } - for (const v of this.idNameHints) { - k.idNameHints.add(v) - } - k.runtime = ye(k.runtime, this.runtime) - } - updateHash(k, v) { - k.update( - `${this.id} ${this.ids ? this.ids.join() : ''} ${this.name || ''} ` - ) - const E = new q() - for (const k of v.getChunkModulesIterable(this)) { - E.add(v.getModuleHash(k, this.runtime)) - } - E.updateHash(k) - const P = v.getChunkEntryModulesWithChunkGroupIterable(this) - for (const [E, R] of P) { - k.update(`entry${v.getModuleId(E)}${R.id}`) - } - } - getAllAsyncChunks() { - const k = new Set() - const v = new Set() - const E = L(Array.from(this.groupsIterable, (k) => new Set(k.chunks))) - const P = new Set(this.groupsIterable) - for (const v of P) { - for (const E of v.childrenIterable) { - if (E instanceof R) { - P.add(E) - } else { - k.add(E) - } - } - } - for (const P of k) { - for (const k of P.chunks) { - if (!E.has(k)) { - v.add(k) - } - } - for (const v of P.childrenIterable) { - k.add(v) - } - } - return v - } - getAllInitialChunks() { - const k = new Set() - const v = new Set(this.groupsIterable) - for (const E of v) { - if (E.isInitial()) { - for (const v of E.chunks) k.add(v) - for (const k of E.childrenIterable) v.add(k) - } - } - return k - } - getAllReferencedChunks() { - const k = new Set(this.groupsIterable) - const v = new Set() - for (const E of k) { - for (const k of E.chunks) { - v.add(k) - } - for (const v of E.childrenIterable) { - k.add(v) - } - } - return v - } - getAllReferencedAsyncEntrypoints() { - const k = new Set(this.groupsIterable) - const v = new Set() - for (const E of k) { - for (const k of E.asyncEntrypointsIterable) { - v.add(k) - } - for (const v of E.childrenIterable) { - k.add(v) - } - } - return v - } - hasAsyncChunks() { - const k = new Set() - const v = L(Array.from(this.groupsIterable, (k) => new Set(k.chunks))) - for (const v of this.groupsIterable) { - for (const E of v.childrenIterable) { - k.add(E) - } - } - for (const E of k) { - for (const k of E.chunks) { - if (!v.has(k)) { - return true - } - } - for (const v of E.childrenIterable) { - k.add(v) - } - } - return false - } - getChildIdsByOrders(k, v) { - const E = new Map() - for (const k of this.groupsIterable) { - if (k.chunks[k.chunks.length - 1] === this) { - for (const v of k.childrenIterable) { - for (const k of Object.keys(v.options)) { - if (k.endsWith('Order')) { - const P = k.slice(0, k.length - 'Order'.length) - let R = E.get(P) - if (R === undefined) { - R = [] - E.set(P, R) - } - R.push({ order: v.options[k], group: v }) - } - } - } - } - } - const P = Object.create(null) - for (const [R, L] of E) { - L.sort((v, E) => { - const P = E.order - v.order - if (P !== 0) return P - return v.group.compareTo(k, E.group) - }) - const E = new Set() - for (const P of L) { - for (const R of P.group.chunks) { - if (v && !v(R, k)) continue - E.add(R.id) - } - } - if (E.size > 0) { - P[R] = Array.from(E) - } - } - return P - } - getChildrenOfTypeInOrder(k, v) { - const E = [] - for (const k of this.groupsIterable) { - for (const P of k.childrenIterable) { - const R = P.options[v] - if (R === undefined) continue - E.push({ order: R, group: k, childGroup: P }) - } - } - if (E.length === 0) return undefined - E.sort((v, E) => { - const P = E.order - v.order - if (P !== 0) return P - return v.group.compareTo(k, E.group) - }) - const P = [] - let R - for (const { group: k, childGroup: v } of E) { - if (R && R.onChunks === k.chunks) { - for (const k of v.chunks) { - R.chunks.add(k) - } - } else { - P.push((R = { onChunks: k.chunks, chunks: new Set(v.chunks) })) - } - } - return P - } - getChildIdsByOrdersMap(k, v, E) { - const P = Object.create(null) - const addChildIdsByOrdersToMap = (v) => { - const R = v.getChildIdsByOrders(k, E) - for (const k of Object.keys(R)) { - let E = P[k] - if (E === undefined) { - P[k] = E = Object.create(null) - } - E[v.id] = R[k] - } - } - if (v) { - const k = new Set() - for (const v of this.groupsIterable) { - for (const E of v.chunks) { - k.add(E) - } - } - for (const v of k) { - addChildIdsByOrdersToMap(v) - } - } - for (const k of this.getAllAsyncChunks()) { - addChildIdsByOrdersToMap(k) - } - return P - } - } - k.exports = Chunk - }, - 38317: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = E(10969) - const L = E(86267) - const { first: N } = E(59959) - const q = E(46081) - const { - compareModulesById: ae, - compareIterables: le, - compareModulesByIdentifier: pe, - concatComparators: me, - compareSelect: ye, - compareIds: _e, - } = E(95648) - const Ie = E(74012) - const Me = E(34271) - const { - RuntimeSpecMap: Te, - RuntimeSpecSet: je, - runtimeToString: Ne, - mergeRuntime: Be, - forEachRuntime: qe, - } = E(1540) - const Ue = new Set() - const Ge = BigInt(0) - const He = le(pe) - class ModuleHashInfo { - constructor(k, v) { - this.hash = k - this.renderedHash = v - } - } - const getArray = (k) => Array.from(k) - const getModuleRuntimes = (k) => { - const v = new je() - for (const E of k) { - v.add(E.runtime) - } - return v - } - const modulesBySourceType = (k) => (v) => { - const E = new Map() - for (const P of v) { - const v = (k && k.get(P)) || P.getSourceTypes() - for (const k of v) { - let v = E.get(k) - if (v === undefined) { - v = new q() - E.set(k, v) - } - v.add(P) - } - } - for (const [k, P] of E) { - if (P.size === v.size) { - E.set(k, v) - } - } - return E - } - const We = modulesBySourceType(undefined) - const Qe = new WeakMap() - const createOrderedArrayFunction = (k) => { - let v = Qe.get(k) - if (v !== undefined) return v - v = (v) => { - v.sortWith(k) - return Array.from(v) - } - Qe.set(k, v) - return v - } - const getModulesSize = (k) => { - let v = 0 - for (const E of k) { - for (const k of E.getSourceTypes()) { - v += E.size(k) - } - } - return v - } - const getModulesSizes = (k) => { - let v = Object.create(null) - for (const E of k) { - for (const k of E.getSourceTypes()) { - v[k] = (v[k] || 0) + E.size(k) - } - } - return v - } - const isAvailableChunk = (k, v) => { - const E = new Set(v.groupsIterable) - for (const v of E) { - if (k.isInGroup(v)) continue - if (v.isInitial()) return false - for (const k of v.parentsIterable) { - E.add(k) - } - } - return true - } - class ChunkGraphModule { - constructor() { - this.chunks = new q() - this.entryInChunks = undefined - this.runtimeInChunks = undefined - this.hashes = undefined - this.id = null - this.runtimeRequirements = undefined - this.graphHashes = undefined - this.graphHashesWithConnections = undefined - } - } - class ChunkGraphChunk { - constructor() { - this.modules = new q() - this.sourceTypesByModule = undefined - this.entryModules = new Map() - this.runtimeModules = new q() - this.fullHashModules = undefined - this.dependentHashModules = undefined - this.runtimeRequirements = undefined - this.runtimeRequirementsInTree = new Set() - this._modulesBySourceType = We - } - } - class ChunkGraph { - constructor(k, v = 'md4') { - this._modules = new WeakMap() - this._chunks = new WeakMap() - this._blockChunkGroups = new WeakMap() - this._runtimeIds = new Map() - this.moduleGraph = k - this._hashFunction = v - this._getGraphRoots = this._getGraphRoots.bind(this) - } - _getChunkGraphModule(k) { - let v = this._modules.get(k) - if (v === undefined) { - v = new ChunkGraphModule() - this._modules.set(k, v) - } - return v - } - _getChunkGraphChunk(k) { - let v = this._chunks.get(k) - if (v === undefined) { - v = new ChunkGraphChunk() - this._chunks.set(k, v) - } - return v - } - _getGraphRoots(k) { - const { moduleGraph: v } = this - return Array.from( - Me(k, (k) => { - const E = new Set() - const addDependencies = (k) => { - for (const P of v.getOutgoingConnections(k)) { - if (!P.module) continue - const k = P.getActiveState(undefined) - if (k === false) continue - if (k === L.TRANSITIVE_ONLY) { - addDependencies(P.module) - continue - } - E.add(P.module) - } - } - addDependencies(k) - return E - }) - ).sort(pe) - } - connectChunkAndModule(k, v) { - const E = this._getChunkGraphModule(v) - const P = this._getChunkGraphChunk(k) - E.chunks.add(k) - P.modules.add(v) - } - disconnectChunkAndModule(k, v) { - const E = this._getChunkGraphModule(v) - const P = this._getChunkGraphChunk(k) - P.modules.delete(v) - if (P.sourceTypesByModule) P.sourceTypesByModule.delete(v) - E.chunks.delete(k) - } - disconnectChunk(k) { - const v = this._getChunkGraphChunk(k) - for (const E of v.modules) { - const v = this._getChunkGraphModule(E) - v.chunks.delete(k) - } - v.modules.clear() - k.disconnectFromGroups() - ChunkGraph.clearChunkGraphForChunk(k) - } - attachModules(k, v) { - const E = this._getChunkGraphChunk(k) - for (const k of v) { - E.modules.add(k) - } - } - attachRuntimeModules(k, v) { - const E = this._getChunkGraphChunk(k) - for (const k of v) { - E.runtimeModules.add(k) - } - } - attachFullHashModules(k, v) { - const E = this._getChunkGraphChunk(k) - if (E.fullHashModules === undefined) E.fullHashModules = new Set() - for (const k of v) { - E.fullHashModules.add(k) - } - } - attachDependentHashModules(k, v) { - const E = this._getChunkGraphChunk(k) - if (E.dependentHashModules === undefined) - E.dependentHashModules = new Set() - for (const k of v) { - E.dependentHashModules.add(k) - } - } - replaceModule(k, v) { - const E = this._getChunkGraphModule(k) - const P = this._getChunkGraphModule(v) - for (const R of E.chunks) { - const E = this._getChunkGraphChunk(R) - E.modules.delete(k) - E.modules.add(v) - P.chunks.add(R) - } - E.chunks.clear() - if (E.entryInChunks !== undefined) { - if (P.entryInChunks === undefined) { - P.entryInChunks = new Set() - } - for (const R of E.entryInChunks) { - const E = this._getChunkGraphChunk(R) - const L = E.entryModules.get(k) - const N = new Map() - for (const [P, R] of E.entryModules) { - if (P === k) { - N.set(v, L) - } else { - N.set(P, R) - } - } - E.entryModules = N - P.entryInChunks.add(R) - } - E.entryInChunks = undefined - } - if (E.runtimeInChunks !== undefined) { - if (P.runtimeInChunks === undefined) { - P.runtimeInChunks = new Set() - } - for (const R of E.runtimeInChunks) { - const E = this._getChunkGraphChunk(R) - E.runtimeModules.delete(k) - E.runtimeModules.add(v) - P.runtimeInChunks.add(R) - if (E.fullHashModules !== undefined && E.fullHashModules.has(k)) { - E.fullHashModules.delete(k) - E.fullHashModules.add(v) - } - if ( - E.dependentHashModules !== undefined && - E.dependentHashModules.has(k) - ) { - E.dependentHashModules.delete(k) - E.dependentHashModules.add(v) - } - } - E.runtimeInChunks = undefined - } - } - isModuleInChunk(k, v) { - const E = this._getChunkGraphChunk(v) - return E.modules.has(k) - } - isModuleInChunkGroup(k, v) { - for (const E of v.chunks) { - if (this.isModuleInChunk(k, E)) return true - } - return false - } - isEntryModule(k) { - const v = this._getChunkGraphModule(k) - return v.entryInChunks !== undefined - } - getModuleChunksIterable(k) { - const v = this._getChunkGraphModule(k) - return v.chunks - } - getOrderedModuleChunksIterable(k, v) { - const E = this._getChunkGraphModule(k) - E.chunks.sortWith(v) - return E.chunks - } - getModuleChunks(k) { - const v = this._getChunkGraphModule(k) - return v.chunks.getFromCache(getArray) - } - getNumberOfModuleChunks(k) { - const v = this._getChunkGraphModule(k) - return v.chunks.size - } - getModuleRuntimes(k) { - const v = this._getChunkGraphModule(k) - return v.chunks.getFromUnorderedCache(getModuleRuntimes) - } - getNumberOfChunkModules(k) { - const v = this._getChunkGraphChunk(k) - return v.modules.size - } - getNumberOfChunkFullHashModules(k) { - const v = this._getChunkGraphChunk(k) - return v.fullHashModules === undefined ? 0 : v.fullHashModules.size - } - getChunkModulesIterable(k) { - const v = this._getChunkGraphChunk(k) - return v.modules - } - getChunkModulesIterableBySourceType(k, v) { - const E = this._getChunkGraphChunk(k) - const P = E.modules - .getFromUnorderedCache(E._modulesBySourceType) - .get(v) - return P - } - setChunkModuleSourceTypes(k, v, E) { - const P = this._getChunkGraphChunk(k) - if (P.sourceTypesByModule === undefined) { - P.sourceTypesByModule = new WeakMap() - } - P.sourceTypesByModule.set(v, E) - P._modulesBySourceType = modulesBySourceType(P.sourceTypesByModule) - } - getChunkModuleSourceTypes(k, v) { - const E = this._getChunkGraphChunk(k) - if (E.sourceTypesByModule === undefined) { - return v.getSourceTypes() - } - return E.sourceTypesByModule.get(v) || v.getSourceTypes() - } - getModuleSourceTypes(k) { - return this._getOverwrittenModuleSourceTypes(k) || k.getSourceTypes() - } - _getOverwrittenModuleSourceTypes(k) { - let v = false - let E - for (const P of this.getModuleChunksIterable(k)) { - const R = this._getChunkGraphChunk(P) - if (R.sourceTypesByModule === undefined) return - const L = R.sourceTypesByModule.get(k) - if (L === undefined) return - if (!E) { - E = L - continue - } else if (!v) { - for (const k of L) { - if (!v) { - if (!E.has(k)) { - v = true - E = new Set(E) - E.add(k) - } - } else { - E.add(k) - } - } - } else { - for (const k of L) E.add(k) - } - } - return E - } - getOrderedChunkModulesIterable(k, v) { - const E = this._getChunkGraphChunk(k) - E.modules.sortWith(v) - return E.modules - } - getOrderedChunkModulesIterableBySourceType(k, v, E) { - const P = this._getChunkGraphChunk(k) - const R = P.modules - .getFromUnorderedCache(P._modulesBySourceType) - .get(v) - if (R === undefined) return undefined - R.sortWith(E) - return R - } - getChunkModules(k) { - const v = this._getChunkGraphChunk(k) - return v.modules.getFromUnorderedCache(getArray) - } - getOrderedChunkModules(k, v) { - const E = this._getChunkGraphChunk(k) - const P = createOrderedArrayFunction(v) - return E.modules.getFromUnorderedCache(P) - } - getChunkModuleIdMap(k, v, E = false) { - const P = Object.create(null) - for (const R of E - ? k.getAllReferencedChunks() - : k.getAllAsyncChunks()) { - let k - for (const E of this.getOrderedChunkModulesIterable(R, ae(this))) { - if (v(E)) { - if (k === undefined) { - k = [] - P[R.id] = k - } - const v = this.getModuleId(E) - k.push(v) - } - } - } - return P - } - getChunkModuleRenderedHashMap(k, v, E = 0, P = false) { - const R = Object.create(null) - for (const L of P - ? k.getAllReferencedChunks() - : k.getAllAsyncChunks()) { - let k - for (const P of this.getOrderedChunkModulesIterable(L, ae(this))) { - if (v(P)) { - if (k === undefined) { - k = Object.create(null) - R[L.id] = k - } - const v = this.getModuleId(P) - const N = this.getRenderedModuleHash(P, L.runtime) - k[v] = E ? N.slice(0, E) : N - } - } - } - return R - } - getChunkConditionMap(k, v) { - const E = Object.create(null) - for (const P of k.getAllReferencedChunks()) { - E[P.id] = v(P, this) - } - return E - } - hasModuleInGraph(k, v, E) { - const P = new Set(k.groupsIterable) - const R = new Set() - for (const k of P) { - for (const P of k.chunks) { - if (!R.has(P)) { - R.add(P) - if (!E || E(P, this)) { - for (const k of this.getChunkModulesIterable(P)) { - if (v(k)) { - return true - } - } - } - } - } - for (const v of k.childrenIterable) { - P.add(v) - } - } - return false - } - compareChunks(k, v) { - const E = this._getChunkGraphChunk(k) - const P = this._getChunkGraphChunk(v) - if (E.modules.size > P.modules.size) return -1 - if (E.modules.size < P.modules.size) return 1 - E.modules.sortWith(pe) - P.modules.sortWith(pe) - return He(E.modules, P.modules) - } - getChunkModulesSize(k) { - const v = this._getChunkGraphChunk(k) - return v.modules.getFromUnorderedCache(getModulesSize) - } - getChunkModulesSizes(k) { - const v = this._getChunkGraphChunk(k) - return v.modules.getFromUnorderedCache(getModulesSizes) - } - getChunkRootModules(k) { - const v = this._getChunkGraphChunk(k) - return v.modules.getFromUnorderedCache(this._getGraphRoots) - } - getChunkSize(k, v = {}) { - const E = this._getChunkGraphChunk(k) - const P = E.modules.getFromUnorderedCache(getModulesSize) - const R = typeof v.chunkOverhead === 'number' ? v.chunkOverhead : 1e4 - const L = - typeof v.entryChunkMultiplicator === 'number' - ? v.entryChunkMultiplicator - : 10 - return R + P * (k.canBeInitial() ? L : 1) - } - getIntegratedChunksSize(k, v, E = {}) { - const P = this._getChunkGraphChunk(k) - const R = this._getChunkGraphChunk(v) - const L = new Set(P.modules) - for (const k of R.modules) L.add(k) - let N = getModulesSize(L) - const q = typeof E.chunkOverhead === 'number' ? E.chunkOverhead : 1e4 - const ae = - typeof E.entryChunkMultiplicator === 'number' - ? E.entryChunkMultiplicator - : 10 - return q + N * (k.canBeInitial() || v.canBeInitial() ? ae : 1) - } - canChunksBeIntegrated(k, v) { - if (k.preventIntegration || v.preventIntegration) { - return false - } - const E = k.hasRuntime() - const P = v.hasRuntime() - if (E !== P) { - if (E) { - return isAvailableChunk(k, v) - } else if (P) { - return isAvailableChunk(v, k) - } else { - return false - } - } - if ( - this.getNumberOfEntryModules(k) > 0 || - this.getNumberOfEntryModules(v) > 0 - ) { - return false - } - return true - } - integrateChunks(k, v) { - if (k.name && v.name) { - if ( - this.getNumberOfEntryModules(k) > 0 === - this.getNumberOfEntryModules(v) > 0 - ) { - if (k.name.length !== v.name.length) { - k.name = k.name.length < v.name.length ? k.name : v.name - } else { - k.name = k.name < v.name ? k.name : v.name - } - } else if (this.getNumberOfEntryModules(v) > 0) { - k.name = v.name - } - } else if (v.name) { - k.name = v.name - } - for (const E of v.idNameHints) { - k.idNameHints.add(E) - } - k.runtime = Be(k.runtime, v.runtime) - for (const E of this.getChunkModules(v)) { - this.disconnectChunkAndModule(v, E) - this.connectChunkAndModule(k, E) - } - for (const [E, P] of Array.from( - this.getChunkEntryModulesWithChunkGroupIterable(v) - )) { - this.disconnectChunkAndEntryModule(v, E) - this.connectChunkAndEntryModule(k, E, P) - } - for (const E of v.groupsIterable) { - E.replaceChunk(v, k) - k.addGroup(E) - v.removeGroup(E) - } - ChunkGraph.clearChunkGraphForChunk(v) - } - upgradeDependentToFullHashModules(k) { - const v = this._getChunkGraphChunk(k) - if (v.dependentHashModules === undefined) return - if (v.fullHashModules === undefined) { - v.fullHashModules = v.dependentHashModules - } else { - for (const k of v.dependentHashModules) { - v.fullHashModules.add(k) - } - v.dependentHashModules = undefined - } - } - isEntryModuleInChunk(k, v) { - const E = this._getChunkGraphChunk(v) - return E.entryModules.has(k) - } - connectChunkAndEntryModule(k, v, E) { - const P = this._getChunkGraphModule(v) - const R = this._getChunkGraphChunk(k) - if (P.entryInChunks === undefined) { - P.entryInChunks = new Set() - } - P.entryInChunks.add(k) - R.entryModules.set(v, E) - } - connectChunkAndRuntimeModule(k, v) { - const E = this._getChunkGraphModule(v) - const P = this._getChunkGraphChunk(k) - if (E.runtimeInChunks === undefined) { - E.runtimeInChunks = new Set() - } - E.runtimeInChunks.add(k) - P.runtimeModules.add(v) - } - addFullHashModuleToChunk(k, v) { - const E = this._getChunkGraphChunk(k) - if (E.fullHashModules === undefined) E.fullHashModules = new Set() - E.fullHashModules.add(v) - } - addDependentHashModuleToChunk(k, v) { - const E = this._getChunkGraphChunk(k) - if (E.dependentHashModules === undefined) - E.dependentHashModules = new Set() - E.dependentHashModules.add(v) - } - disconnectChunkAndEntryModule(k, v) { - const E = this._getChunkGraphModule(v) - const P = this._getChunkGraphChunk(k) - E.entryInChunks.delete(k) - if (E.entryInChunks.size === 0) { - E.entryInChunks = undefined - } - P.entryModules.delete(v) - } - disconnectChunkAndRuntimeModule(k, v) { - const E = this._getChunkGraphModule(v) - const P = this._getChunkGraphChunk(k) - E.runtimeInChunks.delete(k) - if (E.runtimeInChunks.size === 0) { - E.runtimeInChunks = undefined - } - P.runtimeModules.delete(v) - } - disconnectEntryModule(k) { - const v = this._getChunkGraphModule(k) - for (const E of v.entryInChunks) { - const v = this._getChunkGraphChunk(E) - v.entryModules.delete(k) - } - v.entryInChunks = undefined - } - disconnectEntries(k) { - const v = this._getChunkGraphChunk(k) - for (const E of v.entryModules.keys()) { - const v = this._getChunkGraphModule(E) - v.entryInChunks.delete(k) - if (v.entryInChunks.size === 0) { - v.entryInChunks = undefined - } - } - v.entryModules.clear() - } - getNumberOfEntryModules(k) { - const v = this._getChunkGraphChunk(k) - return v.entryModules.size - } - getNumberOfRuntimeModules(k) { - const v = this._getChunkGraphChunk(k) - return v.runtimeModules.size - } - getChunkEntryModulesIterable(k) { - const v = this._getChunkGraphChunk(k) - return v.entryModules.keys() - } - getChunkEntryDependentChunksIterable(k) { - const v = new Set() - for (const E of k.groupsIterable) { - if (E instanceof R) { - const P = E.getEntrypointChunk() - const R = this._getChunkGraphChunk(P) - for (const E of R.entryModules.values()) { - for (const R of E.chunks) { - if (R !== k && R !== P && !R.hasRuntime()) { - v.add(R) - } - } - } - } - } - return v - } - hasChunkEntryDependentChunks(k) { - const v = this._getChunkGraphChunk(k) - for (const E of v.entryModules.values()) { - for (const v of E.chunks) { - if (v !== k) { - return true - } - } - } - return false - } - getChunkRuntimeModulesIterable(k) { - const v = this._getChunkGraphChunk(k) - return v.runtimeModules - } - getChunkRuntimeModulesInOrder(k) { - const v = this._getChunkGraphChunk(k) - const E = Array.from(v.runtimeModules) - E.sort( - me( - ye((k) => k.stage, _e), - pe - ) - ) - return E - } - getChunkFullHashModulesIterable(k) { - const v = this._getChunkGraphChunk(k) - return v.fullHashModules - } - getChunkFullHashModulesSet(k) { - const v = this._getChunkGraphChunk(k) - return v.fullHashModules - } - getChunkDependentHashModulesIterable(k) { - const v = this._getChunkGraphChunk(k) - return v.dependentHashModules - } - getChunkEntryModulesWithChunkGroupIterable(k) { - const v = this._getChunkGraphChunk(k) - return v.entryModules - } - getBlockChunkGroup(k) { - return this._blockChunkGroups.get(k) - } - connectBlockAndChunkGroup(k, v) { - this._blockChunkGroups.set(k, v) - v.addBlock(k) - } - disconnectChunkGroup(k) { - for (const v of k.blocksIterable) { - this._blockChunkGroups.delete(v) - } - k._blocks.clear() - } - getModuleId(k) { - const v = this._getChunkGraphModule(k) - return v.id - } - setModuleId(k, v) { - const E = this._getChunkGraphModule(k) - E.id = v - } - getRuntimeId(k) { - return this._runtimeIds.get(k) - } - setRuntimeId(k, v) { - this._runtimeIds.set(k, v) - } - _getModuleHashInfo(k, v, E) { - if (!v) { - throw new Error( - `Module ${k.identifier()} has no hash info for runtime ${Ne( - E - )} (hashes not set at all)` - ) - } else if (E === undefined) { - const E = new Set(v.values()) - if (E.size !== 1) { - throw new Error( - `No unique hash info entry for unspecified runtime for ${k.identifier()} (existing runtimes: ${Array.from( - v.keys(), - (k) => Ne(k) - ).join( - ', ' - )}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").` - ) - } - return N(E) - } else { - const P = v.get(E) - if (!P) { - throw new Error( - `Module ${k.identifier()} has no hash info for runtime ${Ne( - E - )} (available runtimes ${Array.from(v.keys(), Ne).join(', ')})` - ) - } - return P - } - } - hasModuleHashes(k, v) { - const E = this._getChunkGraphModule(k) - const P = E.hashes - return P && P.has(v) - } - getModuleHash(k, v) { - const E = this._getChunkGraphModule(k) - const P = E.hashes - return this._getModuleHashInfo(k, P, v).hash - } - getRenderedModuleHash(k, v) { - const E = this._getChunkGraphModule(k) - const P = E.hashes - return this._getModuleHashInfo(k, P, v).renderedHash - } - setModuleHashes(k, v, E, P) { - const R = this._getChunkGraphModule(k) - if (R.hashes === undefined) { - R.hashes = new Te() - } - R.hashes.set(v, new ModuleHashInfo(E, P)) - } - addModuleRuntimeRequirements(k, v, E, P = true) { - const R = this._getChunkGraphModule(k) - const L = R.runtimeRequirements - if (L === undefined) { - const k = new Te() - k.set(v, P ? E : new Set(E)) - R.runtimeRequirements = k - return - } - L.update(v, (k) => { - if (k === undefined) { - return P ? E : new Set(E) - } else if (!P || k.size >= E.size) { - for (const v of E) k.add(v) - return k - } else { - for (const v of k) E.add(v) - return E - } - }) - } - addChunkRuntimeRequirements(k, v) { - const E = this._getChunkGraphChunk(k) - const P = E.runtimeRequirements - if (P === undefined) { - E.runtimeRequirements = v - } else if (P.size >= v.size) { - for (const k of v) P.add(k) - } else { - for (const k of P) v.add(k) - E.runtimeRequirements = v - } - } - addTreeRuntimeRequirements(k, v) { - const E = this._getChunkGraphChunk(k) - const P = E.runtimeRequirementsInTree - for (const k of v) P.add(k) - } - getModuleRuntimeRequirements(k, v) { - const E = this._getChunkGraphModule(k) - const P = E.runtimeRequirements && E.runtimeRequirements.get(v) - return P === undefined ? Ue : P - } - getChunkRuntimeRequirements(k) { - const v = this._getChunkGraphChunk(k) - const E = v.runtimeRequirements - return E === undefined ? Ue : E - } - getModuleGraphHash(k, v, E = true) { - const P = this._getChunkGraphModule(k) - return E - ? this._getModuleGraphHashWithConnections(P, k, v) - : this._getModuleGraphHashBigInt(P, k, v).toString(16) - } - getModuleGraphHashBigInt(k, v, E = true) { - const P = this._getChunkGraphModule(k) - return E - ? BigInt(`0x${this._getModuleGraphHashWithConnections(P, k, v)}`) - : this._getModuleGraphHashBigInt(P, k, v) - } - _getModuleGraphHashBigInt(k, v, E) { - if (k.graphHashes === undefined) { - k.graphHashes = new Te() - } - const P = k.graphHashes.provide(E, () => { - const P = Ie(this._hashFunction) - P.update(`${k.id}${this.moduleGraph.isAsync(v)}`) - const R = this._getOverwrittenModuleSourceTypes(v) - if (R !== undefined) { - for (const k of R) P.update(k) - } - this.moduleGraph.getExportsInfo(v).updateHash(P, E) - return BigInt(`0x${P.digest('hex')}`) - }) - return P - } - _getModuleGraphHashWithConnections(k, v, E) { - if (k.graphHashesWithConnections === undefined) { - k.graphHashesWithConnections = new Te() - } - const activeStateToString = (k) => { - if (k === false) return 'F' - if (k === true) return 'T' - if (k === L.TRANSITIVE_ONLY) return 'O' - throw new Error('Not implemented active state') - } - const P = v.buildMeta && v.buildMeta.strictHarmonyModule - return k.graphHashesWithConnections.provide(E, () => { - const R = this._getModuleGraphHashBigInt(k, v, E).toString(16) - const L = this.moduleGraph.getOutgoingConnections(v) - const q = new Set() - const ae = new Map() - const processConnection = (k, v) => { - const E = k.module - v += E.getExportsType(this.moduleGraph, P) - if (v === 'Tnamespace') q.add(E) - else { - const k = ae.get(v) - if (k === undefined) { - ae.set(v, E) - } else if (k instanceof Set) { - k.add(E) - } else if (k !== E) { - ae.set(v, new Set([k, E])) - } - } - } - if (E === undefined || typeof E === 'string') { - for (const k of L) { - const v = k.getActiveState(E) - if (v === false) continue - processConnection(k, v === true ? 'T' : 'O') - } - } else { - for (const k of L) { - const v = new Set() - let P = '' - qe( - E, - (E) => { - const R = k.getActiveState(E) - v.add(R) - P += activeStateToString(R) + E - }, - true - ) - if (v.size === 1) { - const k = N(v) - if (k === false) continue - P = activeStateToString(k) - } - processConnection(k, P) - } - } - if (q.size === 0 && ae.size === 0) return R - const le = - ae.size > 1 - ? Array.from(ae).sort(([k], [v]) => (k < v ? -1 : 1)) - : ae - const pe = Ie(this._hashFunction) - const addModuleToHash = (k) => { - pe.update( - this._getModuleGraphHashBigInt( - this._getChunkGraphModule(k), - k, - E - ).toString(16) - ) - } - const addModulesToHash = (k) => { - let v = Ge - for (const P of k) { - v = - v ^ - this._getModuleGraphHashBigInt( - this._getChunkGraphModule(P), - P, - E - ) - } - pe.update(v.toString(16)) - } - if (q.size === 1) addModuleToHash(q.values().next().value) - else if (q.size > 1) addModulesToHash(q) - for (const [k, v] of le) { - pe.update(k) - if (v instanceof Set) { - addModulesToHash(v) - } else { - addModuleToHash(v) - } - } - pe.update(R) - return pe.digest('hex') - }) - } - getTreeRuntimeRequirements(k) { - const v = this._getChunkGraphChunk(k) - return v.runtimeRequirementsInTree - } - static getChunkGraphForModule(k, v, E) { - const R = Ke.get(v) - if (R) return R(k) - const L = P.deprecate( - (k) => { - const E = Je.get(k) - if (!E) - throw new Error( - v + - ': There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)' - ) - return E - }, - v + ': Use new ChunkGraph API', - E - ) - Ke.set(v, L) - return L(k) - } - static setChunkGraphForModule(k, v) { - Je.set(k, v) - } - static clearChunkGraphForModule(k) { - Je.delete(k) - } - static getChunkGraphForChunk(k, v, E) { - const R = Ye.get(v) - if (R) return R(k) - const L = P.deprecate( - (k) => { - const E = Ve.get(k) - if (!E) - throw new Error( - v + - 'There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)' - ) - return E - }, - v + ': Use new ChunkGraph API', - E - ) - Ye.set(v, L) - return L(k) - } - static setChunkGraphForChunk(k, v) { - Ve.set(k, v) - } - static clearChunkGraphForChunk(k) { - Ve.delete(k) - } - } - const Je = new WeakMap() - const Ve = new WeakMap() - const Ke = new Map() - const Ye = new Map() - k.exports = ChunkGraph - }, - 28541: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = E(46081) - const { - compareLocations: L, - compareChunks: N, - compareIterables: q, - } = E(95648) - let ae = 5e3 - const getArray = (k) => Array.from(k) - const sortById = (k, v) => { - if (k.id < v.id) return -1 - if (v.id < k.id) return 1 - return 0 - } - const sortOrigin = (k, v) => { - const E = k.module ? k.module.identifier() : '' - const P = v.module ? v.module.identifier() : '' - if (E < P) return -1 - if (E > P) return 1 - return L(k.loc, v.loc) - } - class ChunkGroup { - constructor(k) { - if (typeof k === 'string') { - k = { name: k } - } else if (!k) { - k = { name: undefined } - } - this.groupDebugId = ae++ - this.options = k - this._children = new R(undefined, sortById) - this._parents = new R(undefined, sortById) - this._asyncEntrypoints = new R(undefined, sortById) - this._blocks = new R() - this.chunks = [] - this.origins = [] - this._modulePreOrderIndices = new Map() - this._modulePostOrderIndices = new Map() - this.index = undefined - } - addOptions(k) { - for (const v of Object.keys(k)) { - if (this.options[v] === undefined) { - this.options[v] = k[v] - } else if (this.options[v] !== k[v]) { - if (v.endsWith('Order')) { - this.options[v] = Math.max(this.options[v], k[v]) - } else { - throw new Error( - `ChunkGroup.addOptions: No option merge strategy for ${v}` - ) - } - } - } - } - get name() { - return this.options.name - } - set name(k) { - this.options.name = k - } - get debugId() { - return Array.from(this.chunks, (k) => k.debugId).join('+') - } - get id() { - return Array.from(this.chunks, (k) => k.id).join('+') - } - unshiftChunk(k) { - const v = this.chunks.indexOf(k) - if (v > 0) { - this.chunks.splice(v, 1) - this.chunks.unshift(k) - } else if (v < 0) { - this.chunks.unshift(k) - return true - } - return false - } - insertChunk(k, v) { - const E = this.chunks.indexOf(k) - const P = this.chunks.indexOf(v) - if (P < 0) { - throw new Error('before chunk not found') - } - if (E >= 0 && E > P) { - this.chunks.splice(E, 1) - this.chunks.splice(P, 0, k) - } else if (E < 0) { - this.chunks.splice(P, 0, k) - return true - } - return false - } - pushChunk(k) { - const v = this.chunks.indexOf(k) - if (v >= 0) { - return false - } - this.chunks.push(k) - return true - } - replaceChunk(k, v) { - const E = this.chunks.indexOf(k) - if (E < 0) return false - const P = this.chunks.indexOf(v) - if (P < 0) { - this.chunks[E] = v - return true - } - if (P < E) { - this.chunks.splice(E, 1) - return true - } else if (P !== E) { - this.chunks[E] = v - this.chunks.splice(P, 1) - return true - } - } - removeChunk(k) { - const v = this.chunks.indexOf(k) - if (v >= 0) { - this.chunks.splice(v, 1) - return true - } - return false - } - isInitial() { - return false - } - addChild(k) { - const v = this._children.size - this._children.add(k) - return v !== this._children.size - } - getChildren() { - return this._children.getFromCache(getArray) - } - getNumberOfChildren() { - return this._children.size - } - get childrenIterable() { - return this._children - } - removeChild(k) { - if (!this._children.has(k)) { - return false - } - this._children.delete(k) - k.removeParent(this) - return true - } - addParent(k) { - if (!this._parents.has(k)) { - this._parents.add(k) - return true - } - return false - } - getParents() { - return this._parents.getFromCache(getArray) - } - getNumberOfParents() { - return this._parents.size - } - hasParent(k) { - return this._parents.has(k) - } - get parentsIterable() { - return this._parents - } - removeParent(k) { - if (this._parents.delete(k)) { - k.removeChild(this) - return true - } - return false - } - addAsyncEntrypoint(k) { - const v = this._asyncEntrypoints.size - this._asyncEntrypoints.add(k) - return v !== this._asyncEntrypoints.size - } - get asyncEntrypointsIterable() { - return this._asyncEntrypoints - } - getBlocks() { - return this._blocks.getFromCache(getArray) - } - getNumberOfBlocks() { - return this._blocks.size - } - hasBlock(k) { - return this._blocks.has(k) - } - get blocksIterable() { - return this._blocks - } - addBlock(k) { - if (!this._blocks.has(k)) { - this._blocks.add(k) - return true - } - return false - } - addOrigin(k, v, E) { - this.origins.push({ module: k, loc: v, request: E }) - } - getFiles() { - const k = new Set() - for (const v of this.chunks) { - for (const E of v.files) { - k.add(E) - } - } - return Array.from(k) - } - remove() { - for (const k of this._parents) { - k._children.delete(this) - for (const v of this._children) { - v.addParent(k) - k.addChild(v) - } - } - for (const k of this._children) { - k._parents.delete(this) - } - for (const k of this.chunks) { - k.removeGroup(this) - } - } - sortItems() { - this.origins.sort(sortOrigin) - } - compareTo(k, v) { - if (this.chunks.length > v.chunks.length) return -1 - if (this.chunks.length < v.chunks.length) return 1 - return q(N(k))(this.chunks, v.chunks) - } - getChildrenByOrders(k, v) { - const E = new Map() - for (const k of this._children) { - for (const v of Object.keys(k.options)) { - if (v.endsWith('Order')) { - const P = v.slice(0, v.length - 'Order'.length) - let R = E.get(P) - if (R === undefined) { - E.set(P, (R = [])) - } - R.push({ order: k.options[v], group: k }) - } - } - } - const P = Object.create(null) - for (const [k, R] of E) { - R.sort((k, E) => { - const P = E.order - k.order - if (P !== 0) return P - return k.group.compareTo(v, E.group) - }) - P[k] = R.map((k) => k.group) - } - return P - } - setModulePreOrderIndex(k, v) { - this._modulePreOrderIndices.set(k, v) - } - getModulePreOrderIndex(k) { - return this._modulePreOrderIndices.get(k) - } - setModulePostOrderIndex(k, v) { - this._modulePostOrderIndices.set(k, v) - } - getModulePostOrderIndex(k) { - return this._modulePostOrderIndices.get(k) - } - checkConstraints() { - const k = this - for (const v of k._children) { - if (!v._parents.has(k)) { - throw new Error( - `checkConstraints: child missing parent ${k.debugId} -> ${v.debugId}` - ) - } - } - for (const v of k._parents) { - if (!v._children.has(k)) { - throw new Error( - `checkConstraints: parent missing child ${v.debugId} <- ${k.debugId}` - ) - } - } - } - } - ChunkGroup.prototype.getModuleIndex = P.deprecate( - ChunkGroup.prototype.getModulePreOrderIndex, - 'ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex', - 'DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX' - ) - ChunkGroup.prototype.getModuleIndex2 = P.deprecate( - ChunkGroup.prototype.getModulePostOrderIndex, - 'ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex', - 'DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2' - ) - k.exports = ChunkGroup - }, - 76496: function (k, v, E) { - 'use strict' - const P = E(71572) - class ChunkRenderError extends P { - constructor(k, v, E) { - super() - this.name = 'ChunkRenderError' - this.error = E - this.message = E.message - this.details = E.stack - this.file = v - this.chunk = k - } - } - k.exports = ChunkRenderError - }, - 97095: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = E(20631) - const L = R(() => E(89168)) - class ChunkTemplate { - constructor(k, v) { - this._outputOptions = k || {} - this.hooks = Object.freeze({ - renderManifest: { - tap: P.deprecate( - (k, E) => { - v.hooks.renderManifest.tap(k, (k, v) => { - if (v.chunk.hasRuntime()) return k - return E(k, v) - }) - }, - 'ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)', - 'DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST' - ), - }, - modules: { - tap: P.deprecate( - (k, E) => { - L() - .getCompilationHooks(v) - .renderChunk.tap(k, (k, P) => - E(k, v.moduleTemplates.javascript, P) - ) - }, - 'ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)', - 'DEP_WEBPACK_CHUNK_TEMPLATE_MODULES' - ), - }, - render: { - tap: P.deprecate( - (k, E) => { - L() - .getCompilationHooks(v) - .renderChunk.tap(k, (k, P) => - E(k, v.moduleTemplates.javascript, P) - ) - }, - 'ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)', - 'DEP_WEBPACK_CHUNK_TEMPLATE_RENDER' - ), - }, - renderWithEntry: { - tap: P.deprecate( - (k, E) => { - L() - .getCompilationHooks(v) - .render.tap(k, (k, v) => { - if ( - v.chunkGraph.getNumberOfEntryModules(v.chunk) === 0 || - v.chunk.hasRuntime() - ) { - return k - } - return E(k, v.chunk) - }) - }, - 'ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)', - 'DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY' - ), - }, - hash: { - tap: P.deprecate( - (k, E) => { - v.hooks.fullHash.tap(k, E) - }, - 'ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)', - 'DEP_WEBPACK_CHUNK_TEMPLATE_HASH' - ), - }, - hashForChunk: { - tap: P.deprecate( - (k, E) => { - L() - .getCompilationHooks(v) - .chunkHash.tap(k, (k, v, P) => { - if (k.hasRuntime()) return - E(v, k, P) - }) - }, - 'ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)', - 'DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK' - ), - }, - }) - } - } - Object.defineProperty(ChunkTemplate.prototype, 'outputOptions', { - get: P.deprecate( - function () { - return this._outputOptions - }, - 'ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)', - 'DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS' - ), - }) - k.exports = ChunkTemplate - }, - 69155: function (k, v, E) { - 'use strict' - const P = E(78175) - const { SyncBailHook: R } = E(79846) - const L = E(27747) - const N = E(92198) - const { join: q } = E(57825) - const ae = E(38254) - const le = N( - undefined, - () => { - const { definitions: k } = E(98625) - return { - definitions: k, - oneOf: [{ $ref: '#/definitions/CleanOptions' }], - } - }, - { name: 'Clean Plugin', baseDataPath: 'options' } - ) - const pe = 10 * 1e3 - const mergeAssets = (k, v) => { - for (const [E, P] of v) { - const v = k.get(E) - if (!v || P > v) k.set(E, P) - } - } - const getDiffToFs = (k, v, E, R) => { - const L = new Set() - for (const [k] of E) { - L.add(k.replace(/(^|\/)[^/]*$/, '')) - } - for (const k of L) { - L.add(k.replace(/(^|\/)[^/]*$/, '')) - } - const N = new Set() - P.forEachLimit( - L, - 10, - (P, R) => { - k.readdir(q(k, v, P), (k, v) => { - if (k) { - if (k.code === 'ENOENT') return R() - if (k.code === 'ENOTDIR') { - N.add(P) - return R() - } - return R(k) - } - for (const k of v) { - const v = k - const R = P ? `${P}/${v}` : v - if (!L.has(R) && !E.has(R)) { - N.add(R) - } - } - R() - }) - }, - (k) => { - if (k) return R(k) - R(null, N) - } - ) - } - const getDiffToOldAssets = (k, v) => { - const E = new Set() - const P = Date.now() - for (const [R, L] of v) { - if (L >= P) continue - if (!k.has(R)) E.add(R) - } - return E - } - const doStat = (k, v, E) => { - if ('lstat' in k) { - k.lstat(v, E) - } else { - k.stat(v, E) - } - } - const applyDiff = (k, v, E, P, R, L, N) => { - const log = (k) => { - if (E) { - P.info(k) - } else { - P.log(k) - } - } - const le = Array.from(R.keys(), (k) => ({ - type: 'check', - filename: k, - parent: undefined, - })) - const pe = new Map() - ae( - le, - 10, - ({ type: R, filename: N, parent: ae }, le, me) => { - const handleError = (k) => { - if (k.code === 'ENOENT') { - log(`${N} was removed during cleaning by something else`) - handleParent() - return me() - } - return me(k) - } - const handleParent = () => { - if (ae && --ae.remaining === 0) le(ae.job) - } - const ye = q(k, v, N) - switch (R) { - case 'check': - if (L(N)) { - pe.set(N, 0) - log(`${N} will be kept`) - return process.nextTick(me) - } - doStat(k, ye, (v, E) => { - if (v) return handleError(v) - if (!E.isDirectory()) { - le({ type: 'unlink', filename: N, parent: ae }) - return me() - } - k.readdir(ye, (k, v) => { - if (k) return handleError(k) - const E = { type: 'rmdir', filename: N, parent: ae } - if (v.length === 0) { - le(E) - } else { - const k = { remaining: v.length, job: E } - for (const E of v) { - const v = E - if (v.startsWith('.')) { - log( - `${N} will be kept (dot-files will never be removed)` - ) - continue - } - le({ type: 'check', filename: `${N}/${v}`, parent: k }) - } - } - return me() - }) - }) - break - case 'rmdir': - log(`${N} will be removed`) - if (E) { - handleParent() - return process.nextTick(me) - } - if (!k.rmdir) { - P.warn( - `${N} can't be removed because output file system doesn't support removing directories (rmdir)` - ) - return process.nextTick(me) - } - k.rmdir(ye, (k) => { - if (k) return handleError(k) - handleParent() - me() - }) - break - case 'unlink': - log(`${N} will be removed`) - if (E) { - handleParent() - return process.nextTick(me) - } - if (!k.unlink) { - P.warn( - `${N} can't be removed because output file system doesn't support removing files (rmdir)` - ) - return process.nextTick(me) - } - k.unlink(ye, (k) => { - if (k) return handleError(k) - handleParent() - me() - }) - break - } - }, - (k) => { - if (k) return N(k) - N(undefined, pe) - } - ) - } - const me = new WeakMap() - class CleanPlugin { - static getCompilationHooks(k) { - if (!(k instanceof L)) { - throw new TypeError( - "The 'compilation' argument must be an instance of Compilation" - ) - } - let v = me.get(k) - if (v === undefined) { - v = { keep: new R(['ignore']) } - me.set(k, v) - } - return v - } - constructor(k = {}) { - le(k) - this.options = { dry: false, ...k } - } - apply(k) { - const { dry: v, keep: E } = this.options - const P = - typeof E === 'function' - ? E - : typeof E === 'string' - ? (k) => k.startsWith(E) - : typeof E === 'object' && E.test - ? (k) => E.test(k) - : () => false - let R - k.hooks.emit.tapAsync({ name: 'CleanPlugin', stage: 100 }, (E, L) => { - const N = CleanPlugin.getCompilationHooks(E) - const q = E.getLogger('webpack.CleanPlugin') - const ae = k.outputFileSystem - if (!ae.readdir) { - return L( - new Error( - "CleanPlugin: Output filesystem doesn't support listing directories (readdir)" - ) - ) - } - const le = new Map() - const me = Date.now() - for (const k of Object.keys(E.assets)) { - if (/^[A-Za-z]:\\|^\/|^\\\\/.test(k)) continue - let v - let P = k.replace(/\\/g, '/') - do { - v = P - P = v.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g, '$1') - } while (P !== v) - if (v.startsWith('../')) continue - const R = E.assetsInfo.get(k) - if (R && R.hotModuleReplacement) { - le.set(v, me + pe) - } else { - le.set(v, 0) - } - } - const ye = E.getPath(k.outputPath, {}) - const isKept = (k) => { - const v = N.keep.call(k) - if (v !== undefined) return v - return P(k) - } - const diffCallback = (k, E) => { - if (k) { - R = undefined - L(k) - return - } - applyDiff(ae, ye, v, q, E, isKept, (k, v) => { - if (k) { - R = undefined - } else { - if (R) mergeAssets(le, R) - R = le - if (v) mergeAssets(R, v) - } - L(k) - }) - } - if (R) { - diffCallback(null, getDiffToOldAssets(le, R)) - } else { - getDiffToFs(ae, ye, le, diffCallback) - } - }) - } - } - k.exports = CleanPlugin - }, - 42179: function (k, v, E) { - 'use strict' - const P = E(71572) - class CodeGenerationError extends P { - constructor(k, v) { - super() - this.name = 'CodeGenerationError' - this.error = v - this.message = v.message - this.details = v.stack - this.module = k - } - } - k.exports = CodeGenerationError - }, - 12021: function (k, v, E) { - 'use strict' - const { getOrInsert: P } = E(47978) - const { first: R } = E(59959) - const L = E(74012) - const { runtimeToString: N, RuntimeSpecMap: q } = E(1540) - class CodeGenerationResults { - constructor(k = 'md4') { - this.map = new Map() - this._hashFunction = k - } - get(k, v) { - const E = this.map.get(k) - if (E === undefined) { - throw new Error( - `No code generation entry for ${k.identifier()} (existing entries: ${Array.from( - this.map.keys(), - (k) => k.identifier() - ).join(', ')})` - ) - } - if (v === undefined) { - if (E.size > 1) { - const v = new Set(E.values()) - if (v.size !== 1) { - throw new Error( - `No unique code generation entry for unspecified runtime for ${k.identifier()} (existing runtimes: ${Array.from( - E.keys(), - (k) => N(k) - ).join( - ', ' - )}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").` - ) - } - return R(v) - } - return E.values().next().value - } - const P = E.get(v) - if (P === undefined) { - throw new Error( - `No code generation entry for runtime ${N( - v - )} for ${k.identifier()} (existing runtimes: ${Array.from( - E.keys(), - (k) => N(k) - ).join(', ')})` - ) - } - return P - } - has(k, v) { - const E = this.map.get(k) - if (E === undefined) { - return false - } - if (v !== undefined) { - return E.has(v) - } else if (E.size > 1) { - const k = new Set(E.values()) - return k.size === 1 - } else { - return E.size === 1 - } - } - getSource(k, v, E) { - return this.get(k, v).sources.get(E) - } - getRuntimeRequirements(k, v) { - return this.get(k, v).runtimeRequirements - } - getData(k, v, E) { - const P = this.get(k, v).data - return P === undefined ? undefined : P.get(E) - } - getHash(k, v) { - const E = this.get(k, v) - if (E.hash !== undefined) return E.hash - const P = L(this._hashFunction) - for (const [k, v] of E.sources) { - P.update(k) - v.updateHash(P) - } - if (E.runtimeRequirements) { - for (const k of E.runtimeRequirements) P.update(k) - } - return (E.hash = P.digest('hex')) - } - add(k, v, E) { - const R = P(this.map, k, () => new q()) - R.set(v, E) - } - } - k.exports = CodeGenerationResults - }, - 68160: function (k, v, E) { - 'use strict' - const P = E(71572) - const R = E(58528) - class CommentCompilationWarning extends P { - constructor(k, v) { - super(k) - this.name = 'CommentCompilationWarning' - this.loc = v - } - } - R(CommentCompilationWarning, 'webpack/lib/CommentCompilationWarning') - k.exports = CommentCompilationWarning - }, - 8305: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, - JAVASCRIPT_MODULE_TYPE_ESM: L, - } = E(93622) - const N = E(56727) - const q = E(60381) - const ae = Symbol('nested webpack identifier') - const le = 'CompatibilityPlugin' - class CompatibilityPlugin { - apply(k) { - k.hooks.compilation.tap(le, (k, { normalModuleFactory: v }) => { - k.dependencyTemplates.set(q, new q.Template()) - v.hooks.parser.for(P).tap(le, (k, v) => { - if (v.browserify !== undefined && !v.browserify) return - k.hooks.call.for('require').tap(le, (v) => { - if (v.arguments.length !== 2) return - const E = k.evaluateExpression(v.arguments[1]) - if (!E.isBoolean()) return - if (E.asBool() !== true) return - const P = new q('require', v.callee.range) - P.loc = v.loc - if (k.state.current.dependencies.length > 0) { - const v = - k.state.current.dependencies[ - k.state.current.dependencies.length - 1 - ] - if ( - v.critical && - v.options && - v.options.request === '.' && - v.userRequest === '.' && - v.options.recursive - ) - k.state.current.dependencies.pop() - } - k.state.module.addPresentationalDependency(P) - return true - }) - }) - const handler = (k) => { - k.hooks.preStatement.tap(le, (v) => { - if ( - v.type === 'FunctionDeclaration' && - v.id && - v.id.name === N.require - ) { - const E = `__nested_webpack_require_${v.range[0]}__` - k.tagVariable(v.id.name, ae, { - name: E, - declaration: { - updated: false, - loc: v.id.loc, - range: v.id.range, - }, - }) - return true - } - }) - k.hooks.pattern.for(N.require).tap(le, (v) => { - const E = `__nested_webpack_require_${v.range[0]}__` - k.tagVariable(v.name, ae, { - name: E, - declaration: { updated: false, loc: v.loc, range: v.range }, - }) - return true - }) - k.hooks.pattern.for(N.exports).tap(le, (v) => { - k.tagVariable(v.name, ae, { - name: '__nested_webpack_exports__', - declaration: { updated: false, loc: v.loc, range: v.range }, - }) - return true - }) - k.hooks.expression.for(ae).tap(le, (v) => { - const { name: E, declaration: P } = k.currentTagData - if (!P.updated) { - const v = new q(E, P.range) - v.loc = P.loc - k.state.module.addPresentationalDependency(v) - P.updated = true - } - const R = new q(E, v.range) - R.loc = v.loc - k.state.module.addPresentationalDependency(R) - return true - }) - k.hooks.program.tap(le, (v, E) => { - if (E.length === 0) return - const P = E[0] - if (P.type === 'Line' && P.range[0] === 0) { - if (k.state.source.slice(0, 2).toString() !== '#!') return - const v = new q('//', 0) - v.loc = P.loc - k.state.module.addPresentationalDependency(v) - } - }) - } - v.hooks.parser.for(P).tap(le, handler) - v.hooks.parser.for(R).tap(le, handler) - v.hooks.parser.for(L).tap(le, handler) - }) - } - } - k.exports = CompatibilityPlugin - }, - 27747: function (k, v, E) { - 'use strict' - const P = E(78175) - const { - HookMap: R, - SyncHook: L, - SyncBailHook: N, - SyncWaterfallHook: q, - AsyncSeriesHook: ae, - AsyncSeriesBailHook: le, - AsyncParallelHook: pe, - } = E(79846) - const me = E(73837) - const { CachedSource: ye } = E(51255) - const { MultiItemCache: _e } = E(90580) - const Ie = E(8247) - const Me = E(38317) - const Te = E(28541) - const je = E(76496) - const Ne = E(97095) - const Be = E(42179) - const qe = E(12021) - const Ue = E(16848) - const Ge = E(3175) - const He = E(10969) - const We = E(53657) - const Qe = E(18144) - const { - connectChunkGroupAndChunk: Je, - connectChunkGroupParentAndChild: Ve, - } = E(18467) - const { makeWebpackError: Ke, tryRunOrWebpackError: Ye } = E(82104) - const Xe = E(98954) - const Ze = E(88396) - const et = E(36428) - const tt = E(84018) - const nt = E(88223) - const st = E(83139) - const rt = E(69734) - const ot = E(52200) - const it = E(48575) - const at = E(57177) - const ct = E(3304) - const { WEBPACK_MODULE_TYPE_RUNTIME: lt } = E(93622) - const ut = E(56727) - const pt = E(89240) - const dt = E(26288) - const ft = E(71572) - const ht = E(82551) - const mt = E(10408) - const { Logger: gt, LogType: yt } = E(13905) - const bt = E(12231) - const xt = E(54052) - const { equals: kt } = E(68863) - const vt = E(89262) - const wt = E(12359) - const { getOrInsert: At } = E(47978) - const Et = E(69752) - const { cachedCleverMerge: Ct } = E(99454) - const { - compareLocations: St, - concatComparators: _t, - compareSelect: It, - compareIds: Mt, - compareStringsNumeric: Pt, - compareModulesByIdentifier: Ot, - } = E(95648) - const Dt = E(74012) - const { - arrayToSetDeprecation: Rt, - soonFrozenObjectDeprecation: Tt, - createFakeHook: $t, - } = E(61883) - const Ft = E(38254) - const { getRuntimeKey: jt } = E(1540) - const { isSourceEqual: Lt } = E(71435) - const Nt = Object.freeze({}) - const Bt = 'esm' - const qt = me.deprecate( - (k) => E(38224).getCompilationHooks(k).loader, - 'Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader', - 'DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK' - ) - const defineRemovedModuleTemplates = (k) => { - Object.defineProperties(k, { - asset: { - enumerable: false, - configurable: false, - get: () => { - throw new ft('Compilation.moduleTemplates.asset has been removed') - }, - }, - webassembly: { - enumerable: false, - configurable: false, - get: () => { - throw new ft( - 'Compilation.moduleTemplates.webassembly has been removed' - ) - }, - }, - }) - k = undefined - } - const zt = It((k) => k.id, Mt) - const Ut = _t( - It((k) => k.name, Mt), - It((k) => k.fullHash, Mt) - ) - const Gt = It((k) => `${k.message}`, Pt) - const Ht = It((k) => (k.module && k.module.identifier()) || '', Pt) - const Wt = It((k) => k.loc, St) - const Qt = _t(Ht, Wt, Gt) - const Jt = new WeakMap() - const Vt = new WeakMap() - class Compilation { - constructor(k, v) { - this._backCompat = k._backCompat - const getNormalModuleLoader = () => qt(this) - const E = new ae(['assets']) - let P = new Set() - const popNewAssets = (k) => { - let v = undefined - for (const E of Object.keys(k)) { - if (P.has(E)) continue - if (v === undefined) { - v = Object.create(null) - } - v[E] = k[E] - P.add(E) - } - return v - } - E.intercept({ - name: 'Compilation', - call: () => { - P = new Set(Object.keys(this.assets)) - }, - register: (k) => { - const { type: v, name: E } = k - const { fn: P, additionalAssets: R, ...L } = k - const N = R === true ? P : R - const q = N ? new WeakSet() : undefined - switch (v) { - case 'sync': - if (N) { - this.hooks.processAdditionalAssets.tap(E, (k) => { - if (q.has(this.assets)) N(k) - }) - } - return { - ...L, - type: 'async', - fn: (k, v) => { - try { - P(k) - } catch (k) { - return v(k) - } - if (q !== undefined) q.add(this.assets) - const E = popNewAssets(k) - if (E !== undefined) { - this.hooks.processAdditionalAssets.callAsync(E, v) - return - } - v() - }, - } - case 'async': - if (N) { - this.hooks.processAdditionalAssets.tapAsync(E, (k, v) => { - if (q.has(this.assets)) return N(k, v) - v() - }) - } - return { - ...L, - fn: (k, v) => { - P(k, (E) => { - if (E) return v(E) - if (q !== undefined) q.add(this.assets) - const P = popNewAssets(k) - if (P !== undefined) { - this.hooks.processAdditionalAssets.callAsync(P, v) - return - } - v() - }) - }, - } - case 'promise': - if (N) { - this.hooks.processAdditionalAssets.tapPromise(E, (k) => { - if (q.has(this.assets)) return N(k) - return Promise.resolve() - }) - } - return { - ...L, - fn: (k) => { - const v = P(k) - if (!v || !v.then) return v - return v.then(() => { - if (q !== undefined) q.add(this.assets) - const v = popNewAssets(k) - if (v !== undefined) { - return this.hooks.processAdditionalAssets.promise(v) - } - }) - }, - } - } - }, - }) - const ye = new L(['assets']) - const createProcessAssetsHook = (k, v, P, R) => { - if (!this._backCompat && R) return undefined - const errorMessage = (v) => - `Can't automatically convert plugin using Compilation.hooks.${k} to Compilation.hooks.processAssets because ${v}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.` - const getOptions = (k) => { - if (typeof k === 'string') k = { name: k } - if (k.stage) { - throw new Error(errorMessage("it's using the 'stage' option")) - } - return { ...k, stage: v } - } - return $t( - { - name: k, - intercept(k) { - throw new Error(errorMessage("it's using 'intercept'")) - }, - tap: (k, v) => { - E.tap(getOptions(k), () => v(...P())) - }, - tapAsync: (k, v) => { - E.tapAsync(getOptions(k), (k, E) => v(...P(), E)) - }, - tapPromise: (k, v) => { - E.tapPromise(getOptions(k), () => v(...P())) - }, - }, - `${k} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`, - R - ) - } - this.hooks = Object.freeze({ - buildModule: new L(['module']), - rebuildModule: new L(['module']), - failedModule: new L(['module', 'error']), - succeedModule: new L(['module']), - stillValidModule: new L(['module']), - addEntry: new L(['entry', 'options']), - failedEntry: new L(['entry', 'options', 'error']), - succeedEntry: new L(['entry', 'options', 'module']), - dependencyReferencedExports: new q([ - 'referencedExports', - 'dependency', - 'runtime', - ]), - executeModule: new L(['options', 'context']), - prepareModuleExecution: new pe(['options', 'context']), - finishModules: new ae(['modules']), - finishRebuildingModule: new ae(['module']), - unseal: new L([]), - seal: new L([]), - beforeChunks: new L([]), - afterChunks: new L(['chunks']), - optimizeDependencies: new N(['modules']), - afterOptimizeDependencies: new L(['modules']), - optimize: new L([]), - optimizeModules: new N(['modules']), - afterOptimizeModules: new L(['modules']), - optimizeChunks: new N(['chunks', 'chunkGroups']), - afterOptimizeChunks: new L(['chunks', 'chunkGroups']), - optimizeTree: new ae(['chunks', 'modules']), - afterOptimizeTree: new L(['chunks', 'modules']), - optimizeChunkModules: new le(['chunks', 'modules']), - afterOptimizeChunkModules: new L(['chunks', 'modules']), - shouldRecord: new N([]), - additionalChunkRuntimeRequirements: new L([ - 'chunk', - 'runtimeRequirements', - 'context', - ]), - runtimeRequirementInChunk: new R( - () => new N(['chunk', 'runtimeRequirements', 'context']) - ), - additionalModuleRuntimeRequirements: new L([ - 'module', - 'runtimeRequirements', - 'context', - ]), - runtimeRequirementInModule: new R( - () => new N(['module', 'runtimeRequirements', 'context']) - ), - additionalTreeRuntimeRequirements: new L([ - 'chunk', - 'runtimeRequirements', - 'context', - ]), - runtimeRequirementInTree: new R( - () => new N(['chunk', 'runtimeRequirements', 'context']) - ), - runtimeModule: new L(['module', 'chunk']), - reviveModules: new L(['modules', 'records']), - beforeModuleIds: new L(['modules']), - moduleIds: new L(['modules']), - optimizeModuleIds: new L(['modules']), - afterOptimizeModuleIds: new L(['modules']), - reviveChunks: new L(['chunks', 'records']), - beforeChunkIds: new L(['chunks']), - chunkIds: new L(['chunks']), - optimizeChunkIds: new L(['chunks']), - afterOptimizeChunkIds: new L(['chunks']), - recordModules: new L(['modules', 'records']), - recordChunks: new L(['chunks', 'records']), - optimizeCodeGeneration: new L(['modules']), - beforeModuleHash: new L([]), - afterModuleHash: new L([]), - beforeCodeGeneration: new L([]), - afterCodeGeneration: new L([]), - beforeRuntimeRequirements: new L([]), - afterRuntimeRequirements: new L([]), - beforeHash: new L([]), - contentHash: new L(['chunk']), - afterHash: new L([]), - recordHash: new L(['records']), - record: new L(['compilation', 'records']), - beforeModuleAssets: new L([]), - shouldGenerateChunkAssets: new N([]), - beforeChunkAssets: new L([]), - additionalChunkAssets: createProcessAssetsHook( - 'additionalChunkAssets', - Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL, - () => [this.chunks], - 'DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS' - ), - additionalAssets: createProcessAssetsHook( - 'additionalAssets', - Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL, - () => [] - ), - optimizeChunkAssets: createProcessAssetsHook( - 'optimizeChunkAssets', - Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE, - () => [this.chunks], - 'DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS' - ), - afterOptimizeChunkAssets: createProcessAssetsHook( - 'afterOptimizeChunkAssets', - Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE + 1, - () => [this.chunks], - 'DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS' - ), - optimizeAssets: E, - afterOptimizeAssets: ye, - processAssets: E, - afterProcessAssets: ye, - processAdditionalAssets: new ae(['assets']), - needAdditionalSeal: new N([]), - afterSeal: new ae([]), - renderManifest: new q(['result', 'options']), - fullHash: new L(['hash']), - chunkHash: new L(['chunk', 'chunkHash', 'ChunkHashContext']), - moduleAsset: new L(['module', 'filename']), - chunkAsset: new L(['chunk', 'filename']), - assetPath: new q(['path', 'options', 'assetInfo']), - needAdditionalPass: new N([]), - childCompiler: new L([ - 'childCompiler', - 'compilerName', - 'compilerIndex', - ]), - log: new N(['origin', 'logEntry']), - processWarnings: new q(['warnings']), - processErrors: new q(['errors']), - statsPreset: new R(() => new L(['options', 'context'])), - statsNormalize: new L(['options', 'context']), - statsFactory: new L(['statsFactory', 'options']), - statsPrinter: new L(['statsPrinter', 'options']), - get normalModuleLoader() { - return getNormalModuleLoader() - }, - }) - this.name = undefined - this.startTime = undefined - this.endTime = undefined - this.compiler = k - this.resolverFactory = k.resolverFactory - this.inputFileSystem = k.inputFileSystem - this.fileSystemInfo = new Qe(this.inputFileSystem, { - managedPaths: k.managedPaths, - immutablePaths: k.immutablePaths, - logger: this.getLogger('webpack.FileSystemInfo'), - hashFunction: k.options.output.hashFunction, - }) - if (k.fileTimestamps) { - this.fileSystemInfo.addFileTimestamps(k.fileTimestamps, true) - } - if (k.contextTimestamps) { - this.fileSystemInfo.addContextTimestamps(k.contextTimestamps, true) - } - this.valueCacheVersions = new Map() - this.requestShortener = k.requestShortener - this.compilerPath = k.compilerPath - this.logger = this.getLogger('webpack.Compilation') - const _e = k.options - this.options = _e - this.outputOptions = _e && _e.output - this.bail = (_e && _e.bail) || false - this.profile = (_e && _e.profile) || false - this.params = v - this.mainTemplate = new Xe(this.outputOptions, this) - this.chunkTemplate = new Ne(this.outputOptions, this) - this.runtimeTemplate = new pt( - this, - this.outputOptions, - this.requestShortener - ) - this.moduleTemplates = { - javascript: new ct(this.runtimeTemplate, this), - } - defineRemovedModuleTemplates(this.moduleTemplates) - this.moduleMemCaches = undefined - this.moduleMemCaches2 = undefined - this.moduleGraph = new nt() - this.chunkGraph = undefined - this.codeGenerationResults = undefined - this.processDependenciesQueue = new vt({ - name: 'processDependencies', - parallelism: _e.parallelism || 100, - processor: this._processModuleDependencies.bind(this), - }) - this.addModuleQueue = new vt({ - name: 'addModule', - parent: this.processDependenciesQueue, - getKey: (k) => k.identifier(), - processor: this._addModule.bind(this), - }) - this.factorizeQueue = new vt({ - name: 'factorize', - parent: this.addModuleQueue, - processor: this._factorizeModule.bind(this), - }) - this.buildQueue = new vt({ - name: 'build', - parent: this.factorizeQueue, - processor: this._buildModule.bind(this), - }) - this.rebuildQueue = new vt({ - name: 'rebuild', - parallelism: _e.parallelism || 100, - processor: this._rebuildModule.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() - this.chunkGroups = [] - this.namedChunkGroups = new Map() - this.namedChunks = new Map() - this.modules = new Set() - if (this._backCompat) { - Rt(this.chunks, 'Compilation.chunks') - Rt(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 Ge(this.outputOptions.hashFunction) - this.childrenCounters = {} - this.usedChunkIds = null - this.usedModuleIds = null - this.needAdditionalPass = false - this._restoredUnsafeCacheModuleEntries = new Set() - this._restoredUnsafeCacheEntries = new Map() - this.builtModules = new WeakSet() - this.codeGeneratedModules = new WeakSet() - this.buildTimeExecutedModules = new WeakSet() - this._rebuildingModules = new Map() - this.emittedAssets = new Set() - this.comparedForEmitAssets = new Set() - this.fileDependencies = new wt() - this.contextDependencies = new wt() - this.missingDependencies = new wt() - this.buildDependencies = new wt() - this.compilationDependencies = { - add: me.deprecate( - (k) => this.fileDependencies.add(k), - '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' - ) - const Ie = _e.module.unsafeCache - this._unsafeCache = !!Ie - this._unsafeCachePredicate = - typeof Ie === 'function' ? Ie : () => true - } - getStats() { - return new dt(this) - } - createStatsOptions(k, v = {}) { - if (typeof k === 'boolean' || typeof k === 'string') { - k = { preset: k } - } - if (typeof k === 'object' && k !== null) { - const E = {} - for (const v in k) { - E[v] = k[v] - } - if (E.preset !== undefined) { - this.hooks.statsPreset.for(E.preset).call(E, v) - } - this.hooks.statsNormalize.call(E, v) - return E - } else { - const k = {} - this.hooks.statsNormalize.call(k, v) - return k - } - } - createStatsFactory(k) { - const v = new bt() - this.hooks.statsFactory.call(v, k) - return v - } - createStatsPrinter(k) { - const v = new xt() - this.hooks.statsPrinter.call(v, k) - return v - } - getCache(k) { - return this.compiler.getCache(k) - } - getLogger(k) { - if (!k) { - throw new TypeError( - 'Compilation.getLogger(name) called without a name' - ) - } - let v - return new gt( - (E, P) => { - if (typeof k === 'function') { - k = k() - if (!k) { - throw new TypeError( - 'Compilation.getLogger(name) called with a function not returning a name' - ) - } - } - let R - switch (E) { - case yt.warn: - case yt.error: - case yt.trace: - R = We.cutOffLoaderExecution(new Error('Trace').stack) - .split('\n') - .slice(3) - break - } - const L = { time: Date.now(), type: E, args: P, trace: R } - if (this.hooks.log.call(k, L) === undefined) { - if (L.type === yt.profileEnd) { - if (typeof console.profileEnd === 'function') { - console.profileEnd(`[${k}] ${L.args[0]}`) - } - } - if (v === undefined) { - v = this.logging.get(k) - if (v === undefined) { - v = [] - this.logging.set(k, v) - } - } - v.push(L) - if (L.type === yt.profile) { - if (typeof console.profile === 'function') { - console.profile(`[${k}] ${L.args[0]}`) - } - } - } - }, - (v) => { - if (typeof k === 'function') { - if (typeof v === 'function') { - return this.getLogger(() => { - if (typeof k === 'function') { - k = k() - if (!k) { - throw new TypeError( - 'Compilation.getLogger(name) called with a function not returning a name' - ) - } - } - if (typeof v === 'function') { - v = v() - if (!v) { - throw new TypeError( - 'Logger.getChildLogger(name) called with a function not returning a name' - ) - } - } - return `${k}/${v}` - }) - } else { - return this.getLogger(() => { - if (typeof k === 'function') { - k = k() - if (!k) { - throw new TypeError( - 'Compilation.getLogger(name) called with a function not returning a name' - ) - } - } - return `${k}/${v}` - }) - } - } else { - if (typeof v === 'function') { - return this.getLogger(() => { - if (typeof v === 'function') { - v = v() - if (!v) { - throw new TypeError( - 'Logger.getChildLogger(name) called with a function not returning a name' - ) - } - } - return `${k}/${v}` - }) - } else { - return this.getLogger(`${k}/${v}`) - } - } - } - ) - } - addModule(k, v) { - this.addModuleQueue.add(k, v) - } - _addModule(k, v) { - const E = k.identifier() - const P = this._modules.get(E) - if (P) { - return v(null, P) - } - const R = this.profile ? this.moduleGraph.getProfile(k) : undefined - if (R !== undefined) { - R.markRestoringStart() - } - this._modulesCache.get(E, null, (P, L) => { - if (P) return v(new it(k, P)) - if (R !== undefined) { - R.markRestoringEnd() - R.markIntegrationStart() - } - if (L) { - L.updateCacheModule(k) - k = L - } - this._modules.set(E, k) - this.modules.add(k) - if (this._backCompat) - nt.setModuleGraphForModule(k, this.moduleGraph) - if (R !== undefined) { - R.markIntegrationEnd() - } - v(null, k) - }) - } - getModule(k) { - const v = k.identifier() - return this._modules.get(v) - } - findModule(k) { - return this._modules.get(k) - } - buildModule(k, v) { - this.buildQueue.add(k, v) - } - _buildModule(k, v) { - const E = this.profile ? this.moduleGraph.getProfile(k) : undefined - if (E !== undefined) { - E.markBuildingStart() - } - k.needBuild( - { - compilation: this, - fileSystemInfo: this.fileSystemInfo, - valueCacheVersions: this.valueCacheVersions, - }, - (P, R) => { - if (P) return v(P) - if (!R) { - if (E !== undefined) { - E.markBuildingEnd() - } - this.hooks.stillValidModule.call(k) - return v() - } - this.hooks.buildModule.call(k) - this.builtModules.add(k) - k.build( - this.options, - this, - this.resolverFactory.get('normal', k.resolveOptions), - this.inputFileSystem, - (P) => { - if (E !== undefined) { - E.markBuildingEnd() - } - if (P) { - this.hooks.failedModule.call(k, P) - return v(P) - } - if (E !== undefined) { - E.markStoringStart() - } - this._modulesCache.store(k.identifier(), null, k, (P) => { - if (E !== undefined) { - E.markStoringEnd() - } - if (P) { - this.hooks.failedModule.call(k, P) - return v(new at(k, P)) - } - this.hooks.succeedModule.call(k) - return v() - }) - } - ) - } - ) - } - processModuleDependencies(k, v) { - this.processDependenciesQueue.add(k, v) - } - processModuleDependenciesNonRecursive(k) { - const processDependenciesBlock = (v) => { - if (v.dependencies) { - let E = 0 - for (const P of v.dependencies) { - this.moduleGraph.setParents(P, v, k, E++) - } - } - if (v.blocks) { - for (const k of v.blocks) processDependenciesBlock(k) - } - } - processDependenciesBlock(k) - } - _processModuleDependencies(k, v) { - const E = [] - let P - let R - let L - let N - let q - let ae - let le - let pe - let me = 1 - let ye = 1 - const onDependenciesSorted = (k) => { - if (k) return v(k) - if (E.length === 0 && ye === 1) { - return v() - } - this.processDependenciesQueue.increaseParallelism() - for (const k of E) { - ye++ - this.handleModuleCreation(k, (k) => { - if (k && this.bail) { - if (ye <= 0) return - ye = -1 - k.stack = k.stack - onTransitiveTasksFinished(k) - return - } - if (--ye === 0) onTransitiveTasksFinished() - }) - } - if (--ye === 0) onTransitiveTasksFinished() - } - const onTransitiveTasksFinished = (k) => { - if (k) return v(k) - this.processDependenciesQueue.decreaseParallelism() - return v() - } - const processDependency = (v, E) => { - this.moduleGraph.setParents(v, P, k, E) - if (this._unsafeCache) { - try { - const E = Jt.get(v) - if (E === null) return - if (E !== undefined) { - if (this._restoredUnsafeCacheModuleEntries.has(E)) { - this._handleExistingModuleFromUnsafeCache(k, v, E) - return - } - const P = E.identifier() - const R = this._restoredUnsafeCacheEntries.get(P) - if (R !== undefined) { - Jt.set(v, R) - this._handleExistingModuleFromUnsafeCache(k, v, R) - return - } - me++ - this._modulesCache.get(P, null, (R, L) => { - if (R) { - if (me <= 0) return - me = -1 - onDependenciesSorted(R) - return - } - try { - if (!this._restoredUnsafeCacheEntries.has(P)) { - const R = Vt.get(L) - if (R === undefined) { - processDependencyForResolving(v) - if (--me === 0) onDependenciesSorted() - return - } - if (L !== E) { - Jt.set(v, L) - } - L.restoreFromUnsafeCache( - R, - this.params.normalModuleFactory, - this.params - ) - this._restoredUnsafeCacheEntries.set(P, L) - this._restoredUnsafeCacheModuleEntries.add(L) - if (!this.modules.has(L)) { - ye++ - this._handleNewModuleFromUnsafeCache(k, v, L, (k) => { - if (k) { - if (ye <= 0) return - ye = -1 - onTransitiveTasksFinished(k) - } - if (--ye === 0) return onTransitiveTasksFinished() - }) - if (--me === 0) onDependenciesSorted() - return - } - } - if (E !== L) { - Jt.set(v, L) - } - this._handleExistingModuleFromUnsafeCache(k, v, L) - } catch (R) { - if (me <= 0) return - me = -1 - onDependenciesSorted(R) - return - } - if (--me === 0) onDependenciesSorted() - }) - return - } - } catch (k) { - console.error(k) - } - } - processDependencyForResolving(v) - } - const processDependencyForResolving = (v) => { - const P = v.getResourceIdentifier() - if (P !== undefined && P !== null) { - const me = v.category - const ye = v.constructor - if (L === ye) { - if (ae === me && le === P) { - pe.push(v) - return - } - } else { - const k = this.dependencyFactories.get(ye) - if (k === undefined) { - throw new Error( - `No module factory available for dependency type: ${ye.name}` - ) - } - if (N === k) { - L = ye - if (ae === me && le === P) { - pe.push(v) - return - } - } else { - if (N !== undefined) { - if (R === undefined) R = new Map() - R.set(N, q) - q = R.get(k) - if (q === undefined) { - q = new Map() - } - } else { - q = new Map() - } - L = ye - N = k - } - } - const _e = me === Bt ? P : `${me}${P}` - let Ie = q.get(_e) - if (Ie === undefined) { - q.set(_e, (Ie = [])) - E.push({ - factory: N, - dependencies: Ie, - context: v.getContext(), - originModule: k, - }) - } - Ie.push(v) - ae = me - le = P - pe = Ie - } - } - try { - const v = [k] - do { - const k = v.pop() - if (k.dependencies) { - P = k - let v = 0 - for (const E of k.dependencies) processDependency(E, v++) - } - if (k.blocks) { - for (const E of k.blocks) v.push(E) - } - } while (v.length !== 0) - } catch (k) { - return v(k) - } - if (--me === 0) onDependenciesSorted() - } - _handleNewModuleFromUnsafeCache(k, v, E, P) { - const R = this.moduleGraph - R.setResolvedModule(k, v, E) - R.setIssuerIfUnset(E, k !== undefined ? k : null) - this._modules.set(E.identifier(), E) - this.modules.add(E) - if (this._backCompat) nt.setModuleGraphForModule(E, this.moduleGraph) - this._handleModuleBuildAndDependencies(k, E, true, P) - } - _handleExistingModuleFromUnsafeCache(k, v, E) { - const P = this.moduleGraph - P.setResolvedModule(k, v, E) - } - handleModuleCreation( - { - factory: k, - dependencies: v, - originModule: E, - contextInfo: P, - context: R, - recursive: L = true, - connectOrigin: N = L, - }, - q - ) { - const ae = this.moduleGraph - const le = this.profile ? new ot() : undefined - this.factorizeModule( - { - currentProfile: le, - factory: k, - dependencies: v, - factoryResult: true, - originModule: E, - contextInfo: P, - context: R, - }, - (k, P) => { - const applyFactoryResultDependencies = () => { - const { - fileDependencies: k, - contextDependencies: v, - missingDependencies: E, - } = P - if (k) { - this.fileDependencies.addAll(k) - } - if (v) { - this.contextDependencies.addAll(v) - } - if (E) { - this.missingDependencies.addAll(E) - } - } - if (k) { - if (P) applyFactoryResultDependencies() - if (v.every((k) => k.optional)) { - this.warnings.push(k) - return q() - } else { - this.errors.push(k) - return q(k) - } - } - const R = P.module - if (!R) { - applyFactoryResultDependencies() - return q() - } - if (le !== undefined) { - ae.setProfile(R, le) - } - this.addModule(R, (k, pe) => { - if (k) { - applyFactoryResultDependencies() - if (!k.module) { - k.module = pe - } - this.errors.push(k) - return q(k) - } - if ( - this._unsafeCache && - P.cacheable !== false && - pe.restoreFromUnsafeCache && - this._unsafeCachePredicate(pe) - ) { - const k = pe - for (let P = 0; P < v.length; P++) { - const R = v[P] - ae.setResolvedModule(N ? E : null, R, k) - Jt.set(R, k) - } - if (!Vt.has(k)) { - Vt.set(k, k.getUnsafeCacheData()) - } - } else { - applyFactoryResultDependencies() - for (let k = 0; k < v.length; k++) { - const P = v[k] - ae.setResolvedModule(N ? E : null, P, pe) - } - } - ae.setIssuerIfUnset(pe, E !== undefined ? E : null) - if (pe !== R) { - if (le !== undefined) { - const k = ae.getProfile(pe) - if (k !== undefined) { - le.mergeInto(k) - } else { - ae.setProfile(pe, le) - } - } - } - this._handleModuleBuildAndDependencies(E, pe, L, q) - }) - } - ) - } - _handleModuleBuildAndDependencies(k, v, E, P) { - let R = undefined - if (!E && this.buildQueue.isProcessing(k)) { - R = this.creatingModuleDuringBuild.get(k) - if (R === undefined) { - R = new Set() - this.creatingModuleDuringBuild.set(k, R) - } - R.add(v) - const E = this.creatingModuleDuringBuild.get(v) - if (E !== undefined) { - const k = new Set(E) - for (const E of k) { - const R = this.creatingModuleDuringBuild.get(E) - if (R !== undefined) { - for (const E of R) { - if (E === v) { - return P(new mt(v)) - } - k.add(E) - } - } - } - } - } - this.buildModule(v, (k) => { - if (R !== undefined) { - R.delete(v) - } - if (k) { - if (!k.module) { - k.module = v - } - this.errors.push(k) - return P(k) - } - if (!E) { - this.processModuleDependenciesNonRecursive(v) - P(null, v) - return - } - if (this.processDependenciesQueue.isProcessing(v)) { - return P(null, v) - } - this.processModuleDependencies(v, (k) => { - if (k) { - return P(k) - } - P(null, v) - }) - }) - } - _factorizeModule( - { - currentProfile: k, - factory: v, - dependencies: E, - originModule: P, - factoryResult: R, - contextInfo: L, - context: N, - }, - q - ) { - if (k !== undefined) { - k.markFactoryStart() - } - v.create( - { - contextInfo: { - issuer: P ? P.nameForCondition() : '', - issuerLayer: P ? P.layer : null, - compiler: this.compiler.name, - ...L, - }, - resolveOptions: P ? P.resolveOptions : undefined, - context: N ? N : P ? P.context : this.compiler.context, - dependencies: E, - }, - (v, L) => { - if (L) { - if (L.module === undefined && L instanceof Ze) { - L = { module: L } - } - if (!R) { - const { - fileDependencies: k, - contextDependencies: v, - missingDependencies: E, - } = L - if (k) { - this.fileDependencies.addAll(k) - } - if (v) { - this.contextDependencies.addAll(v) - } - if (E) { - this.missingDependencies.addAll(E) - } - } - } - if (v) { - const k = new rt(P, v, E.map((k) => k.loc).filter(Boolean)[0]) - return q(k, R ? L : undefined) - } - if (!L) { - return q() - } - if (k !== undefined) { - k.markFactoryEnd() - } - q(null, R ? L : L.module) - } - ) - } - addModuleChain(k, v, E) { - return this.addModuleTree({ context: k, dependency: v }, E) - } - addModuleTree({ context: k, dependency: v, contextInfo: E }, P) { - if (typeof v !== 'object' || v === null || !v.constructor) { - return P(new ft("Parameter 'dependency' must be a Dependency")) - } - const R = v.constructor - const L = this.dependencyFactories.get(R) - if (!L) { - return P( - new ft( - `No dependency factory available for this dependency type: ${v.constructor.name}` - ) - ) - } - this.handleModuleCreation( - { - factory: L, - dependencies: [v], - originModule: null, - contextInfo: E, - context: k, - }, - (k, v) => { - if (k && this.bail) { - P(k) - this.buildQueue.stop() - this.rebuildQueue.stop() - this.processDependenciesQueue.stop() - this.factorizeQueue.stop() - } else if (!k && v) { - P(null, v) - } else { - P() - } - } - ) - } - addEntry(k, v, E, P) { - const R = typeof E === 'object' ? E : { name: E } - this._addEntryItem(k, v, 'dependencies', R, P) - } - addInclude(k, v, E, P) { - this._addEntryItem(k, v, 'includeDependencies', E, P) - } - _addEntryItem(k, v, E, P, R) { - const { name: L } = P - let N = L !== undefined ? this.entries.get(L) : this.globalEntry - if (N === undefined) { - N = { - dependencies: [], - includeDependencies: [], - options: { name: undefined, ...P }, - } - N[E].push(v) - this.entries.set(L, N) - } else { - N[E].push(v) - for (const k of Object.keys(P)) { - if (P[k] === undefined) continue - if (N.options[k] === P[k]) continue - if ( - Array.isArray(N.options[k]) && - Array.isArray(P[k]) && - kt(N.options[k], P[k]) - ) { - continue - } - if (N.options[k] === undefined) { - N.options[k] = P[k] - } else { - return R( - new ft( - `Conflicting entry option ${k} = ${N.options[k]} vs ${P[k]}` - ) - ) - } - } - } - this.hooks.addEntry.call(v, P) - this.addModuleTree( - { - context: k, - dependency: v, - contextInfo: N.options.layer - ? { issuerLayer: N.options.layer } - : undefined, - }, - (k, E) => { - if (k) { - this.hooks.failedEntry.call(v, P, k) - return R(k) - } - this.hooks.succeedEntry.call(v, P, E) - return R(null, E) - } - ) - } - rebuildModule(k, v) { - this.rebuildQueue.add(k, v) - } - _rebuildModule(k, v) { - this.hooks.rebuildModule.call(k) - const E = k.dependencies.slice() - const P = k.blocks.slice() - k.invalidateBuild() - this.buildQueue.invalidate(k) - this.buildModule(k, (R) => { - if (R) { - return this.hooks.finishRebuildingModule.callAsync(k, (k) => { - if (k) { - v(Ke(k, 'Compilation.hooks.finishRebuildingModule')) - return - } - v(R) - }) - } - this.processDependenciesQueue.invalidate(k) - this.moduleGraph.unfreeze() - this.processModuleDependencies(k, (R) => { - if (R) return v(R) - this.removeReasonsOfDependencyBlock(k, { - dependencies: E, - blocks: P, - }) - this.hooks.finishRebuildingModule.callAsync(k, (E) => { - if (E) { - v(Ke(E, 'Compilation.hooks.finishRebuildingModule')) - return - } - v(null, k) - }) - }) - }) - } - _computeAffectedModules(k) { - const v = this.compiler.moduleMemCaches - if (!v) return - if (!this.moduleMemCaches) { - this.moduleMemCaches = new Map() - this.moduleGraph.setModuleMemCaches(this.moduleMemCaches) - } - const { moduleGraph: E, moduleMemCaches: P } = this - const R = new Set() - const L = new Set() - let N = 0 - let q = 0 - let ae = 0 - let le = 0 - let pe = 0 - const computeReferences = (k) => { - let v = undefined - for (const P of E.getOutgoingConnections(k)) { - const k = P.dependency - const E = P.module - if (!k || !E || Jt.has(k)) continue - if (v === undefined) v = new WeakMap() - v.set(k, E) - } - return v - } - const compareReferences = (k, v) => { - if (v === undefined) return true - for (const P of E.getOutgoingConnections(k)) { - const k = P.dependency - if (!k) continue - const E = v.get(k) - if (E === undefined) continue - if (E !== P.module) return false - } - return true - } - const me = new Set(k) - for (const [k, E] of v) { - if (me.has(k)) { - const N = k.buildInfo - if (N) { - if (E.buildInfo !== N) { - const v = new Et() - P.set(k, v) - R.add(k) - E.buildInfo = N - E.references = computeReferences(k) - E.memCache = v - q++ - } else if (!compareReferences(k, E.references)) { - const v = new Et() - P.set(k, v) - R.add(k) - E.references = computeReferences(k) - E.memCache = v - le++ - } else { - P.set(k, E.memCache) - ae++ - } - } else { - L.add(k) - v.delete(k) - pe++ - } - me.delete(k) - } else { - v.delete(k) - } - } - for (const k of me) { - const E = k.buildInfo - if (E) { - const L = new Et() - v.set(k, { - buildInfo: E, - references: computeReferences(k), - memCache: L, - }) - P.set(k, L) - R.add(k) - N++ - } else { - L.add(k) - pe++ - } - } - const reduceAffectType = (k) => { - let v = false - for (const { dependency: E } of k) { - if (!E) continue - const k = E.couldAffectReferencingModule() - if (k === Ue.TRANSITIVE) return Ue.TRANSITIVE - if (k === false) continue - v = true - } - return v - } - const ye = new Set() - for (const k of L) { - for (const [v, P] of E.getIncomingConnectionsByOriginModule(k)) { - if (!v) continue - if (L.has(v)) continue - const k = reduceAffectType(P) - if (!k) continue - if (k === true) { - ye.add(v) - } else { - L.add(v) - } - } - } - for (const k of ye) L.add(k) - const _e = new Set() - for (const k of R) { - for (const [N, q] of E.getIncomingConnectionsByOriginModule(k)) { - if (!N) continue - if (L.has(N)) continue - if (R.has(N)) continue - const k = reduceAffectType(q) - if (!k) continue - if (k === true) { - _e.add(N) - } else { - R.add(N) - } - const E = new Et() - const ae = v.get(N) - ae.memCache = E - P.set(N, E) - } - } - for (const k of _e) R.add(k) - this.logger.log( - `${Math.round((100 * (R.size + L.size)) / this.modules.size)}% (${ - R.size - } affected + ${L.size} infected of ${ - this.modules.size - }) modules flagged as affected (${N} new modules, ${q} changed, ${le} references changed, ${ae} unchanged, ${pe} were not built)` - ) - } - _computeAffectedModulesWithChunkGraph() { - const { moduleMemCaches: k } = this - if (!k) return - const v = (this.moduleMemCaches2 = new Map()) - const { moduleGraph: E, chunkGraph: P } = this - const R = 'memCache2' - let L = 0 - let N = 0 - let q = 0 - const computeReferences = (k) => { - const v = P.getModuleId(k) - let R = undefined - let L = undefined - const N = E.getOutgoingConnectionsByModule(k) - if (N !== undefined) { - for (const k of N.keys()) { - if (!k) continue - if (R === undefined) R = new Map() - R.set(k, P.getModuleId(k)) - } - } - if (k.blocks.length > 0) { - L = [] - const v = Array.from(k.blocks) - for (const k of v) { - const E = P.getBlockChunkGroup(k) - if (E) { - for (const k of E.chunks) { - L.push(k.id) - } - } else { - L.push(null) - } - v.push.apply(v, k.blocks) - } - } - return { id: v, modules: R, blocks: L } - } - const compareReferences = (k, { id: v, modules: E, blocks: R }) => { - if (v !== P.getModuleId(k)) return false - if (E !== undefined) { - for (const [k, v] of E) { - if (P.getModuleId(k) !== v) return false - } - } - if (R !== undefined) { - const v = Array.from(k.blocks) - let E = 0 - for (const k of v) { - const L = P.getBlockChunkGroup(k) - if (L) { - for (const k of L.chunks) { - if (E >= R.length || R[E++] !== k.id) return false - } - } else { - if (E >= R.length || R[E++] !== null) return false - } - v.push.apply(v, k.blocks) - } - if (E !== R.length) return false - } - return true - } - for (const [E, P] of k) { - const k = P.get(R) - if (k === undefined) { - const k = new Et() - P.set(R, { references: computeReferences(E), memCache: k }) - v.set(E, k) - q++ - } else if (!compareReferences(E, k.references)) { - const P = new Et() - k.references = computeReferences(E) - k.memCache = P - v.set(E, P) - N++ - } else { - v.set(E, k.memCache) - L++ - } - } - this.logger.log( - `${Math.round( - (100 * N) / (q + N + L) - )}% modules flagged as affected by chunk graph (${q} new modules, ${N} changed, ${L} unchanged)` - ) - } - finish(k) { - this.factorizeQueue.clear() - if (this.profile) { - this.logger.time('finish module profiles') - const k = E(99593) - const v = new k() - const P = this.moduleGraph - const R = new Map() - for (const k of this.modules) { - const E = P.getProfile(k) - if (!E) continue - R.set(k, E) - v.range( - E.buildingStartTime, - E.buildingEndTime, - (k) => (E.buildingParallelismFactor = k) - ) - v.range( - E.factoryStartTime, - E.factoryEndTime, - (k) => (E.factoryParallelismFactor = k) - ) - v.range( - E.integrationStartTime, - E.integrationEndTime, - (k) => (E.integrationParallelismFactor = k) - ) - v.range( - E.storingStartTime, - E.storingEndTime, - (k) => (E.storingParallelismFactor = k) - ) - v.range( - E.restoringStartTime, - E.restoringEndTime, - (k) => (E.restoringParallelismFactor = k) - ) - if (E.additionalFactoryTimes) { - for (const { start: k, end: P } of E.additionalFactoryTimes) { - const R = (P - k) / E.additionalFactories - v.range( - k, - P, - (k) => (E.additionalFactoriesParallelismFactor += k * R) - ) - } - } - } - v.calculate() - const L = this.getLogger('webpack.Compilation.ModuleProfile') - const logByValue = (k, v) => { - if (k > 1e3) { - L.error(v) - } else if (k > 500) { - L.warn(v) - } else if (k > 200) { - L.info(v) - } else if (k > 30) { - L.log(v) - } else { - L.debug(v) - } - } - const logNormalSummary = (k, v, E) => { - let P = 0 - let L = 0 - for (const [N, q] of R) { - const R = E(q) - const ae = v(q) - if (ae === 0 || R === 0) continue - const le = ae / R - P += le - if (le <= 10) continue - logByValue( - le, - ` | ${Math.round(le)} ms${ - R >= 1.1 ? ` (parallelism ${Math.round(R * 10) / 10})` : '' - } ${k} > ${N.readableIdentifier(this.requestShortener)}` - ) - L = Math.max(L, le) - } - if (P <= 10) return - logByValue(Math.max(P / 10, L), `${Math.round(P)} ms ${k}`) - } - const logByLoadersSummary = (k, v, E) => { - const P = new Map() - for (const [k, v] of R) { - const E = At( - P, - k.type + '!' + k.identifier().replace(/(!|^)[^!]*$/, ''), - () => [] - ) - E.push({ module: k, profile: v }) - } - let L = 0 - let N = 0 - for (const [R, q] of P) { - let P = 0 - let ae = 0 - for (const { module: R, profile: L } of q) { - const N = E(L) - const q = v(L) - if (q === 0 || N === 0) continue - const le = q / N - P += le - if (le <= 10) continue - logByValue( - le, - ` | | ${Math.round(le)} ms${ - N >= 1.1 - ? ` (parallelism ${Math.round(N * 10) / 10})` - : '' - } ${k} > ${R.readableIdentifier(this.requestShortener)}` - ) - ae = Math.max(ae, le) - } - L += P - if (P <= 10) continue - const le = R.indexOf('!') - const pe = R.slice(le + 1) - const me = R.slice(0, le) - const ye = Math.max(P / 10, ae) - logByValue( - ye, - ` | ${Math.round(P)} ms ${k} > ${ - pe - ? `${ - q.length - } x ${me} with ${this.requestShortener.shorten(pe)}` - : `${q.length} x ${me}` - }` - ) - N = Math.max(N, ye) - } - if (L <= 10) return - logByValue(Math.max(L / 10, N), `${Math.round(L)} ms ${k}`) - } - logNormalSummary( - 'resolve to new modules', - (k) => k.factory, - (k) => k.factoryParallelismFactor - ) - logNormalSummary( - 'resolve to existing modules', - (k) => k.additionalFactories, - (k) => k.additionalFactoriesParallelismFactor - ) - logNormalSummary( - 'integrate modules', - (k) => k.restoring, - (k) => k.restoringParallelismFactor - ) - logByLoadersSummary( - 'build modules', - (k) => k.building, - (k) => k.buildingParallelismFactor - ) - logNormalSummary( - 'store modules', - (k) => k.storing, - (k) => k.storingParallelismFactor - ) - logNormalSummary( - 'restore modules', - (k) => k.restoring, - (k) => k.restoringParallelismFactor - ) - this.logger.timeEnd('finish module profiles') - } - this.logger.time('compute affected modules') - this._computeAffectedModules(this.modules) - this.logger.timeEnd('compute affected modules') - this.logger.time('finish modules') - const { modules: v, moduleMemCaches: P } = this - this.hooks.finishModules.callAsync(v, (E) => { - this.logger.timeEnd('finish modules') - if (E) return k(E) - this.moduleGraph.freeze('dependency errors') - this.logger.time('report dependency errors and warnings') - for (const k of v) { - const v = P && P.get(k) - if (v && v.get('noWarningsOrErrors')) continue - let E = this.reportDependencyErrorsAndWarnings(k, [k]) - const R = k.getErrors() - if (R !== undefined) { - for (const v of R) { - if (!v.module) { - v.module = k - } - this.errors.push(v) - E = true - } - } - const L = k.getWarnings() - if (L !== undefined) { - for (const v of L) { - if (!v.module) { - v.module = k - } - this.warnings.push(v) - E = true - } - } - if (!E && v) v.set('noWarningsOrErrors', true) - } - this.moduleGraph.unfreeze() - this.logger.timeEnd('report dependency errors and warnings') - k() - }) - } - 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() - this.moduleGraph.unfreeze() - this.moduleMemCaches2 = undefined - } - seal(k) { - const finalCallback = (v) => { - this.factorizeQueue.clear() - this.buildQueue.clear() - this.rebuildQueue.clear() - this.processDependenciesQueue.clear() - this.addModuleQueue.clear() - return k(v) - } - const v = new Me(this.moduleGraph, this.outputOptions.hashFunction) - this.chunkGraph = v - if (this._backCompat) { - for (const k of this.modules) { - Me.setChunkGraphForModule(k, v) - } - } - 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() - this.moduleGraph.freeze('seal') - const E = new Map() - for (const [ - k, - { dependencies: P, includeDependencies: R, options: L }, - ] of this.entries) { - const N = this.addChunk(k) - if (L.filename) { - N.filenameTemplate = L.filename - } - const q = new He(L) - if (!L.dependOn && !L.runtime) { - q.setRuntimeChunk(N) - } - q.setEntrypointChunk(N) - this.namedChunkGroups.set(k, q) - this.entrypoints.set(k, q) - this.chunkGroups.push(q) - Je(q, N) - const ae = new Set() - for (const R of [...this.globalEntry.dependencies, ...P]) { - q.addOrigin(null, { name: k }, R.request) - const P = this.moduleGraph.getModule(R) - if (P) { - v.connectChunkAndEntryModule(N, P, q) - ae.add(P) - const k = E.get(q) - if (k === undefined) { - E.set(q, [P]) - } else { - k.push(P) - } - } - } - this.assignDepths(ae) - const mapAndSort = (k) => - k - .map((k) => this.moduleGraph.getModule(k)) - .filter(Boolean) - .sort(Ot) - const le = [ - ...mapAndSort(this.globalEntry.includeDependencies), - ...mapAndSort(R), - ] - let pe = E.get(q) - if (pe === undefined) { - E.set(q, (pe = [])) - } - for (const k of le) { - this.assignDepth(k) - pe.push(k) - } - } - const P = new Set() - e: for (const [ - k, - { - options: { dependOn: v, runtime: E }, - }, - ] of this.entries) { - if (v && E) { - const v = new ft( - `Entrypoint '${k}' 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 E = this.entrypoints.get(k) - v.chunk = E.getEntrypointChunk() - this.errors.push(v) - } - if (v) { - const E = this.entrypoints.get(k) - const P = E.getEntrypointChunk().getAllReferencedChunks() - const R = [] - for (const L of v) { - const v = this.entrypoints.get(L) - if (!v) { - throw new Error( - `Entry ${k} depends on ${L}, but this entry was not found` - ) - } - if (P.has(v.getEntrypointChunk())) { - const v = new ft( - `Entrypoints '${k}' and '${L}' use 'dependOn' to depend on each other in a circular way.` - ) - const P = E.getEntrypointChunk() - v.chunk = P - this.errors.push(v) - E.setRuntimeChunk(P) - continue e - } - R.push(v) - } - for (const k of R) { - Ve(k, E) - } - } else if (E) { - const v = this.entrypoints.get(k) - let R = this.namedChunks.get(E) - if (R) { - if (!P.has(R)) { - const P = new ft( - `Entrypoint '${k}' has a 'runtime' option which points to another entrypoint named '${E}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify( - E - )}' instead to allow using entrypoint '${k}' within the runtime of entrypoint '${E}'? For this '${E}' must always be loaded when '${k}' is used.\nOr do you want to use the entrypoints '${k}' and '${E}' 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 R = v.getEntrypointChunk() - P.chunk = R - this.errors.push(P) - v.setRuntimeChunk(R) - continue - } - } else { - R = this.addChunk(E) - R.preventIntegration = true - P.add(R) - } - v.unshiftChunk(R) - R.addGroup(v) - v.setRuntimeChunk(R) - } - } - ht(this, E) - 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, (v) => { - if (v) { - return finalCallback(Ke(v, 'Compilation.hooks.optimizeTree')) - } - this.hooks.afterOptimizeTree.call(this.chunks, this.modules) - this.hooks.optimizeChunkModules.callAsync( - this.chunks, - this.modules, - (v) => { - if (v) { - return finalCallback( - Ke(v, 'Compilation.hooks.optimizeChunkModules') - ) - } - this.hooks.afterOptimizeChunkModules.call( - this.chunks, - this.modules - ) - const E = 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.logger.time('compute affected modules with chunk graph') - this._computeAffectedModulesWithChunkGraph() - this.logger.timeEnd('compute affected modules with chunk graph') - this.sortItemsWithChunkIds() - if (E) { - 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((v) => { - if (v) { - return finalCallback(v) - } - 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() - const P = this.createHash() - this.hooks.afterHash.call() - this.logger.timeEnd('hashing') - this._runCodeGenerationJobs(P, (v) => { - if (v) { - return finalCallback(v) - } - if (E) { - 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 cont = () => { - this.logger.time('process assets') - this.hooks.processAssets.callAsync(this.assets, (v) => { - if (v) { - return finalCallback( - Ke(v, 'Compilation.hooks.processAssets') - ) - } - this.hooks.afterProcessAssets.call(this.assets) - this.logger.timeEnd('process assets') - this.assets = this._backCompat - ? Tt( - 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_*.` - ) - : Object.freeze(this.assets) - this.summarizeDependencies() - if (E) { - this.hooks.record.call(this, this.records) - } - if (this.hooks.needAdditionalSeal.call()) { - this.unseal() - return this.seal(k) - } - return this.hooks.afterSeal.callAsync((k) => { - if (k) { - return finalCallback( - Ke(k, 'Compilation.hooks.afterSeal') - ) - } - this.fileSystemInfo.logStatistics() - finalCallback() - }) - }) - } - this.logger.time('create chunk assets') - if (this.hooks.shouldGenerateChunkAssets.call() !== false) { - this.hooks.beforeChunkAssets.call() - this.createChunkAssets((k) => { - this.logger.timeEnd('create chunk assets') - if (k) { - return finalCallback(k) - } - cont() - }) - } else { - this.logger.timeEnd('create chunk assets') - cont() - } - }) - }) - } - ) - }) - } - reportDependencyErrorsAndWarnings(k, v) { - let E = false - for (let P = 0; P < v.length; P++) { - const R = v[P] - const L = R.dependencies - for (let v = 0; v < L.length; v++) { - const P = L[v] - const R = P.getWarnings(this.moduleGraph) - if (R) { - for (let v = 0; v < R.length; v++) { - const L = R[v] - const N = new tt(k, L, P.loc) - this.warnings.push(N) - E = true - } - } - const N = P.getErrors(this.moduleGraph) - if (N) { - for (let v = 0; v < N.length; v++) { - const R = N[v] - const L = new et(k, R, P.loc) - this.errors.push(L) - E = true - } - } - } - if (this.reportDependencyErrorsAndWarnings(k, R.blocks)) E = true - } - return E - } - codeGeneration(k) { - const { chunkGraph: v } = this - this.codeGenerationResults = new qe(this.outputOptions.hashFunction) - const E = [] - for (const k of this.modules) { - const P = v.getModuleRuntimes(k) - if (P.size === 1) { - for (const R of P) { - const P = v.getModuleHash(k, R) - E.push({ module: k, hash: P, runtime: R, runtimes: [R] }) - } - } else if (P.size > 1) { - const R = new Map() - for (const L of P) { - const P = v.getModuleHash(k, L) - const N = R.get(P) - if (N === undefined) { - const v = { module: k, hash: P, runtime: L, runtimes: [L] } - E.push(v) - R.set(P, v) - } else { - N.runtimes.push(L) - } - } - } - } - this._runCodeGenerationJobs(E, k) - } - _runCodeGenerationJobs(k, v) { - if (k.length === 0) { - return v() - } - let E = 0 - let R = 0 - const { - chunkGraph: L, - moduleGraph: N, - dependencyTemplates: q, - runtimeTemplate: ae, - } = this - const le = this.codeGenerationResults - const pe = [] - let me = undefined - const runIteration = () => { - let ye = [] - let _e = new Set() - P.eachLimit( - k, - this.options.parallelism, - (k, v) => { - const { module: P } = k - const { codeGenerationDependencies: Ie } = P - if (Ie !== undefined) { - if ( - me === undefined || - Ie.some((k) => { - const v = N.getModule(k) - return me.has(v) - }) - ) { - ye.push(k) - _e.add(P) - return v() - } - } - const { hash: Me, runtime: Te, runtimes: je } = k - this._codeGenerationModule( - P, - Te, - je, - Me, - q, - L, - N, - ae, - pe, - le, - (k, P) => { - if (P) R++ - else E++ - v(k) - } - ) - }, - (P) => { - if (P) return v(P) - if (ye.length > 0) { - if (ye.length === k.length) { - return v( - new Error( - `Unable to make progress during code generation because of circular code generation dependency: ${Array.from( - _e, - (k) => k.identifier() - ).join(', ')}` - ) - ) - } - k = ye - ye = [] - me = _e - _e = new Set() - return runIteration() - } - if (pe.length > 0) { - pe.sort(It((k) => k.module, Ot)) - for (const k of pe) { - this.errors.push(k) - } - } - this.logger.log( - `${Math.round( - (100 * R) / (R + E) - )}% code generated (${R} generated, ${E} from cache)` - ) - v() - } - ) - } - runIteration() - } - _codeGenerationModule(k, v, E, P, R, L, N, q, ae, le, pe) { - let me = false - const ye = new _e( - E.map((v) => - this._codeGenerationCache.getItemCache( - `${k.identifier()}|${jt(v)}`, - `${P}|${R.getHash()}` - ) - ) - ) - ye.get((P, _e) => { - if (P) return pe(P) - let Ie - if (!_e) { - try { - me = true - this.codeGeneratedModules.add(k) - Ie = k.codeGeneration({ - chunkGraph: L, - moduleGraph: N, - dependencyTemplates: R, - runtimeTemplate: q, - runtime: v, - codeGenerationResults: le, - compilation: this, - }) - } catch (P) { - ae.push(new Be(k, P)) - Ie = _e = { sources: new Map(), runtimeRequirements: null } - } - } else { - Ie = _e - } - for (const v of E) { - le.add(k, v, Ie) - } - if (!_e) { - ye.store(Ie, (k) => pe(k, me)) - } else { - pe(null, me) - } - }) - } - _getChunkGraphEntries() { - const k = new Set() - for (const v of this.entrypoints.values()) { - const E = v.getRuntimeChunk() - if (E) k.add(E) - } - for (const v of this.asyncEntrypoints) { - const E = v.getRuntimeChunk() - if (E) k.add(E) - } - return k - } - processRuntimeRequirements({ - chunkGraph: k = this.chunkGraph, - modules: v = this.modules, - chunks: E = this.chunks, - codeGenerationResults: P = this.codeGenerationResults, - chunkGraphEntries: R = this._getChunkGraphEntries(), - } = {}) { - const L = { chunkGraph: k, codeGenerationResults: P } - const { moduleMemCaches2: N } = this - this.logger.time('runtime requirements.modules') - const q = this.hooks.additionalModuleRuntimeRequirements - const ae = this.hooks.runtimeRequirementInModule - for (const E of v) { - if (k.getNumberOfModuleChunks(E) > 0) { - const v = N && N.get(E) - for (const R of k.getModuleRuntimes(E)) { - if (v) { - const P = v.get(`moduleRuntimeRequirements-${jt(R)}`) - if (P !== undefined) { - if (P !== null) { - k.addModuleRuntimeRequirements(E, R, P, false) - } - continue - } - } - let N - const le = P.getRuntimeRequirements(E, R) - if (le && le.size > 0) { - N = new Set(le) - } else if (q.isUsed()) { - N = new Set() - } else { - if (v) { - v.set(`moduleRuntimeRequirements-${jt(R)}`, null) - } - continue - } - q.call(E, N, L) - for (const k of N) { - const v = ae.get(k) - if (v !== undefined) v.call(E, N, L) - } - if (N.size === 0) { - if (v) { - v.set(`moduleRuntimeRequirements-${jt(R)}`, null) - } - } else { - if (v) { - v.set(`moduleRuntimeRequirements-${jt(R)}`, N) - k.addModuleRuntimeRequirements(E, R, N, false) - } else { - k.addModuleRuntimeRequirements(E, R, N) - } - } - } - } - } - this.logger.timeEnd('runtime requirements.modules') - this.logger.time('runtime requirements.chunks') - for (const v of E) { - const E = new Set() - for (const P of k.getChunkModulesIterable(v)) { - const R = k.getModuleRuntimeRequirements(P, v.runtime) - for (const k of R) E.add(k) - } - this.hooks.additionalChunkRuntimeRequirements.call(v, E, L) - for (const k of E) { - this.hooks.runtimeRequirementInChunk.for(k).call(v, E, L) - } - k.addChunkRuntimeRequirements(v, E) - } - this.logger.timeEnd('runtime requirements.chunks') - this.logger.time('runtime requirements.entries') - for (const v of R) { - const E = new Set() - for (const P of v.getAllReferencedChunks()) { - const v = k.getChunkRuntimeRequirements(P) - for (const k of v) E.add(k) - } - this.hooks.additionalTreeRuntimeRequirements.call(v, E, L) - for (const k of E) { - this.hooks.runtimeRequirementInTree.for(k).call(v, E, L) - } - k.addTreeRuntimeRequirements(v, E) - } - this.logger.timeEnd('runtime requirements.entries') - } - addRuntimeModule(k, v, E = this.chunkGraph) { - if (this._backCompat) nt.setModuleGraphForModule(v, this.moduleGraph) - this.modules.add(v) - this._modules.set(v.identifier(), v) - E.connectChunkAndModule(k, v) - E.connectChunkAndRuntimeModule(k, v) - if (v.fullHash) { - E.addFullHashModuleToChunk(k, v) - } else if (v.dependentHash) { - E.addDependentHashModuleToChunk(k, v) - } - v.attach(this, k, E) - const P = this.moduleGraph.getExportsInfo(v) - P.setHasProvideInfo() - if (typeof k.runtime === 'string') { - P.setUsedForSideEffectsOnly(k.runtime) - } else if (k.runtime === undefined) { - P.setUsedForSideEffectsOnly(undefined) - } else { - for (const v of k.runtime) { - P.setUsedForSideEffectsOnly(v) - } - } - E.addModuleRuntimeRequirements( - v, - k.runtime, - new Set([ut.requireScope]) - ) - E.setModuleId(v, '') - this.hooks.runtimeModule.call(v, k) - } - addChunkInGroup(k, v, E, P) { - if (typeof k === 'string') { - k = { name: k } - } - const R = k.name - if (R) { - const L = this.namedChunkGroups.get(R) - if (L !== undefined) { - L.addOptions(k) - if (v) { - L.addOrigin(v, E, P) - } - return L - } - } - const L = new Te(k) - if (v) L.addOrigin(v, E, P) - const N = this.addChunk(R) - Je(L, N) - this.chunkGroups.push(L) - if (R) { - this.namedChunkGroups.set(R, L) - } - return L - } - addAsyncEntrypoint(k, v, E, P) { - const R = k.name - if (R) { - const k = this.namedChunkGroups.get(R) - if (k instanceof He) { - if (k !== undefined) { - if (v) { - k.addOrigin(v, E, P) - } - return k - } - } else if (k) { - throw new Error( - `Cannot add an async entrypoint with the name '${R}', because there is already an chunk group with this name` - ) - } - } - const L = this.addChunk(R) - if (k.filename) { - L.filenameTemplate = k.filename - } - const N = new He(k, false) - N.setRuntimeChunk(L) - N.setEntrypointChunk(L) - if (R) { - this.namedChunkGroups.set(R, N) - } - this.chunkGroups.push(N) - this.asyncEntrypoints.push(N) - Je(N, L) - if (v) { - N.addOrigin(v, E, P) - } - return N - } - addChunk(k) { - if (k) { - const v = this.namedChunks.get(k) - if (v !== undefined) { - return v - } - } - const v = new Ie(k, this._backCompat) - this.chunks.add(v) - if (this._backCompat) Me.setChunkGraphForChunk(v, this.chunkGraph) - if (k) { - this.namedChunks.set(k, v) - } - return v - } - assignDepth(k) { - const v = this.moduleGraph - const E = new Set([k]) - let P - v.setDepth(k, 0) - const processModule = (k) => { - if (!v.setDepthIfLower(k, P)) return - E.add(k) - } - for (k of E) { - E.delete(k) - P = v.getDepth(k) + 1 - for (const E of v.getOutgoingConnections(k)) { - const k = E.module - if (k) { - processModule(k) - } - } - } - } - assignDepths(k) { - const v = this.moduleGraph - const E = new Set(k) - E.add(1) - let P = 0 - let R = 0 - for (const k of E) { - R++ - if (typeof k === 'number') { - P = k - if (E.size === R) return - E.add(P + 1) - } else { - v.setDepth(k, P) - for (const { module: P } of v.getOutgoingConnections(k)) { - if (P) { - E.add(P) - } - } - } - } - } - getDependencyReferencedExports(k, v) { - const E = k.getReferencedExports(this.moduleGraph, v) - return this.hooks.dependencyReferencedExports.call(E, k, v) - } - removeReasonsOfDependencyBlock(k, v) { - if (v.blocks) { - for (const E of v.blocks) { - this.removeReasonsOfDependencyBlock(k, E) - } - } - if (v.dependencies) { - for (const k of v.dependencies) { - const v = this.moduleGraph.getModule(k) - if (v) { - this.moduleGraph.removeConnection(k) - if (this.chunkGraph) { - for (const k of this.chunkGraph.getModuleChunks(v)) { - this.patchChunksAfterReasonRemoval(v, k) - } - } - } - } - } - } - patchChunksAfterReasonRemoval(k, v) { - if (!k.hasReasons(this.moduleGraph, v.runtime)) { - this.removeReasonsOfDependencyBlock(k, k) - } - if (!k.hasReasonForChunk(v, this.moduleGraph, this.chunkGraph)) { - if (this.chunkGraph.isModuleInChunk(k, v)) { - this.chunkGraph.disconnectChunkAndModule(v, k) - this.removeChunkFromDependencies(k, v) - } - } - } - removeChunkFromDependencies(k, v) { - const iteratorDependency = (k) => { - const E = this.moduleGraph.getModule(k) - if (!E) { - return - } - this.patchChunksAfterReasonRemoval(E, v) - } - const E = k.blocks - for (let v = 0; v < E.length; v++) { - const P = E[v] - const R = this.chunkGraph.getBlockChunkGroup(P) - const L = R.chunks - for (let v = 0; v < L.length; v++) { - const E = L[v] - R.removeChunk(E) - this.removeChunkFromDependencies(k, E) - } - } - if (k.dependencies) { - for (const v of k.dependencies) iteratorDependency(v) - } - } - assignRuntimeIds() { - const { chunkGraph: k } = this - const processEntrypoint = (v) => { - const E = v.options.runtime || v.name - const P = v.getRuntimeChunk() - k.setRuntimeId(E, P.id) - } - for (const k of this.entrypoints.values()) { - processEntrypoint(k) - } - for (const k of this.asyncEntrypoints) { - processEntrypoint(k) - } - } - sortItemsWithChunkIds() { - for (const k of this.chunkGroups) { - k.sortItems() - } - this.errors.sort(Qt) - this.warnings.sort(Qt) - this.children.sort(Ut) - } - summarizeDependencies() { - for (let k = 0; k < this.children.length; k++) { - const v = this.children[k] - this.fileDependencies.addAll(v.fileDependencies) - this.contextDependencies.addAll(v.contextDependencies) - this.missingDependencies.addAll(v.missingDependencies) - this.buildDependencies.addAll(v.buildDependencies) - } - for (const k of this.modules) { - k.addCacheDependencies( - this.fileDependencies, - this.contextDependencies, - this.missingDependencies, - this.buildDependencies - ) - } - } - createModuleHashes() { - let k = 0 - let v = 0 - const { - chunkGraph: E, - runtimeTemplate: P, - moduleMemCaches2: R, - } = this - const { - hashFunction: L, - hashDigest: N, - hashDigestLength: q, - } = this.outputOptions - const ae = [] - for (const le of this.modules) { - const pe = R && R.get(le) - for (const R of E.getModuleRuntimes(le)) { - if (pe) { - const k = pe.get(`moduleHash-${jt(R)}`) - if (k !== undefined) { - E.setModuleHashes(le, R, k, k.slice(0, q)) - v++ - continue - } - } - k++ - const me = this._createModuleHash(le, E, R, L, P, N, q, ae) - if (pe) { - pe.set(`moduleHash-${jt(R)}`, me) - } - } - } - if (ae.length > 0) { - ae.sort(It((k) => k.module, Ot)) - for (const k of ae) { - this.errors.push(k) - } - } - this.logger.log( - `${k} modules hashed, ${v} from cache (${ - Math.round((100 * (k + v)) / this.modules.size) / 100 - } variants per module in average)` - ) - } - _createModuleHash(k, v, E, P, R, L, N, q) { - let ae - try { - const N = Dt(P) - k.updateHash(N, { chunkGraph: v, runtime: E, runtimeTemplate: R }) - ae = N.digest(L) - } catch (v) { - q.push(new st(k, v)) - ae = 'XXXXXX' - } - v.setModuleHashes(k, E, ae, ae.slice(0, N)) - return ae - } - createHash() { - this.logger.time('hashing: initialize hash') - const k = this.chunkGraph - const v = this.runtimeTemplate - const E = this.outputOptions - const P = E.hashFunction - const R = E.hashDigest - const L = E.hashDigestLength - const N = Dt(P) - if (E.hashSalt) { - N.update(E.hashSalt) - } - this.logger.timeEnd('hashing: initialize hash') - if (this.children.length > 0) { - this.logger.time('hashing: hash child compilations') - for (const k of this.children) { - N.update(k.hash) - } - this.logger.timeEnd('hashing: hash child compilations') - } - if (this.warnings.length > 0) { - this.logger.time('hashing: hash warnings') - for (const k of this.warnings) { - N.update(`${k.message}`) - } - this.logger.timeEnd('hashing: hash warnings') - } - if (this.errors.length > 0) { - this.logger.time('hashing: hash errors') - for (const k of this.errors) { - N.update(`${k.message}`) - } - this.logger.timeEnd('hashing: hash errors') - } - this.logger.time('hashing: sort chunks') - const q = [] - const ae = [] - for (const k of this.chunks) { - if (k.hasRuntime()) { - q.push(k) - } else { - ae.push(k) - } - } - q.sort(zt) - ae.sort(zt) - const le = new Map() - for (const k of q) { - le.set(k, { chunk: k, referencedBy: [], remaining: 0 }) - } - let pe = 0 - for (const k of le.values()) { - for (const v of new Set( - Array.from(k.chunk.getAllReferencedAsyncEntrypoints()).map( - (k) => k.chunks[k.chunks.length - 1] - ) - )) { - const E = le.get(v) - E.referencedBy.push(k) - k.remaining++ - pe++ - } - } - const me = [] - for (const k of le.values()) { - if (k.remaining === 0) { - me.push(k.chunk) - } - } - if (pe > 0) { - const v = [] - for (const E of me) { - const P = k.getNumberOfChunkFullHashModules(E) !== 0 - const R = le.get(E) - for (const E of R.referencedBy) { - if (P) { - k.upgradeDependentToFullHashModules(E.chunk) - } - pe-- - if (--E.remaining === 0) { - v.push(E.chunk) - } - } - if (v.length > 0) { - v.sort(zt) - for (const k of v) me.push(k) - v.length = 0 - } - } - } - if (pe > 0) { - let k = [] - for (const v of le.values()) { - if (v.remaining !== 0) { - k.push(v) - } - } - k.sort(It((k) => k.chunk, zt)) - const v = new ft( - `Circular dependency between chunks with runtime (${Array.from( - k, - (k) => k.chunk.name || k.chunk.id - ).join( - ', ' - )})\nThis prevents using hashes of each other and should be avoided.` - ) - v.chunk = k[0].chunk - this.warnings.push(v) - for (const v of k) me.push(v.chunk) - } - this.logger.timeEnd('hashing: sort chunks') - const ye = new Set() - const _e = [] - const Ie = new Map() - const Me = [] - const processChunk = (q) => { - this.logger.time('hashing: hash runtime modules') - const ae = q.runtime - for (const E of k.getChunkModulesIterable(q)) { - if (!k.hasModuleHashes(E, ae)) { - const N = this._createModuleHash(E, k, ae, P, v, R, L, Me) - let q = Ie.get(N) - if (q) { - const k = q.get(E) - if (k) { - k.runtimes.push(ae) - continue - } - } else { - q = new Map() - Ie.set(N, q) - } - const le = { module: E, hash: N, runtime: ae, runtimes: [ae] } - q.set(E, le) - _e.push(le) - } - } - this.logger.timeAggregate('hashing: hash runtime modules') - try { - this.logger.time('hashing: hash chunks') - const v = Dt(P) - if (E.hashSalt) { - v.update(E.hashSalt) - } - q.updateHash(v, k) - this.hooks.chunkHash.call(q, v, { - chunkGraph: k, - codeGenerationResults: this.codeGenerationResults, - moduleGraph: this.moduleGraph, - runtimeTemplate: this.runtimeTemplate, - }) - const ae = v.digest(R) - N.update(ae) - q.hash = ae - q.renderedHash = q.hash.slice(0, L) - const le = k.getChunkFullHashModulesIterable(q) - if (le) { - ye.add(q) - } else { - this.hooks.contentHash.call(q) - } - } catch (k) { - this.errors.push(new je(q, '', k)) - } - this.logger.timeAggregate('hashing: hash chunks') - } - ae.forEach(processChunk) - for (const k of me) processChunk(k) - if (Me.length > 0) { - Me.sort(It((k) => k.module, Ot)) - for (const k of Me) { - this.errors.push(k) - } - } - this.logger.timeAggregateEnd('hashing: hash runtime modules') - this.logger.timeAggregateEnd('hashing: hash chunks') - this.logger.time('hashing: hash digest') - this.hooks.fullHash.call(N) - this.fullHash = N.digest(R) - this.hash = this.fullHash.slice(0, L) - this.logger.timeEnd('hashing: hash digest') - this.logger.time('hashing: process full hash modules') - for (const E of ye) { - for (const N of k.getChunkFullHashModulesIterable(E)) { - const q = Dt(P) - N.updateHash(q, { - chunkGraph: k, - runtime: E.runtime, - runtimeTemplate: v, - }) - const ae = q.digest(R) - const le = k.getModuleHash(N, E.runtime) - k.setModuleHashes(N, E.runtime, ae, ae.slice(0, L)) - Ie.get(le).get(N).hash = ae - } - const N = Dt(P) - N.update(E.hash) - N.update(this.hash) - const q = N.digest(R) - E.hash = q - E.renderedHash = E.hash.slice(0, L) - this.hooks.contentHash.call(E) - } - this.logger.timeEnd('hashing: process full hash modules') - return _e - } - emitAsset(k, v, E = {}) { - if (this.assets[k]) { - if (!Lt(this.assets[k], v)) { - this.errors.push( - new ft( - `Conflict: Multiple assets emit different content to the same filename ${k}${ - E.sourceFilename - ? `. Original source ${E.sourceFilename}` - : '' - }` - ) - ) - this.assets[k] = v - this._setAssetInfo(k, E) - return - } - const P = this.assetsInfo.get(k) - const R = Object.assign({}, P, E) - this._setAssetInfo(k, R, P) - return - } - this.assets[k] = v - this._setAssetInfo(k, E, undefined) - } - _setAssetInfo(k, v, E = this.assetsInfo.get(k)) { - if (v === undefined) { - this.assetsInfo.delete(k) - } else { - this.assetsInfo.set(k, v) - } - const P = E && E.related - const R = v && v.related - if (P) { - for (const v of Object.keys(P)) { - const remove = (E) => { - const P = this._assetsRelatedIn.get(E) - if (P === undefined) return - const R = P.get(v) - if (R === undefined) return - R.delete(k) - if (R.size !== 0) return - P.delete(v) - if (P.size === 0) this._assetsRelatedIn.delete(E) - } - const E = P[v] - if (Array.isArray(E)) { - E.forEach(remove) - } else if (E) { - remove(E) - } - } - } - if (R) { - for (const v of Object.keys(R)) { - const add = (E) => { - let P = this._assetsRelatedIn.get(E) - if (P === undefined) { - this._assetsRelatedIn.set(E, (P = new Map())) - } - let R = P.get(v) - if (R === undefined) { - P.set(v, (R = new Set())) - } - R.add(k) - } - const E = R[v] - if (Array.isArray(E)) { - E.forEach(add) - } else if (E) { - add(E) - } - } - } - } - updateAsset(k, v, E = undefined) { - if (!this.assets[k]) { - throw new Error( - `Called Compilation.updateAsset for not existing filename ${k}` - ) - } - if (typeof v === 'function') { - this.assets[k] = v(this.assets[k]) - } else { - this.assets[k] = v - } - if (E !== undefined) { - const v = this.assetsInfo.get(k) || Nt - if (typeof E === 'function') { - this._setAssetInfo(k, E(v), v) - } else { - this._setAssetInfo(k, Ct(v, E), v) - } - } - } - renameAsset(k, v) { - const E = this.assets[k] - if (!E) { - throw new Error( - `Called Compilation.renameAsset for not existing filename ${k}` - ) - } - if (this.assets[v]) { - if (!Lt(this.assets[k], E)) { - this.errors.push( - new ft( - `Conflict: Called Compilation.renameAsset for already existing filename ${v} with different content` - ) - ) - } - } - const P = this.assetsInfo.get(k) - const R = this._assetsRelatedIn.get(k) - if (R) { - for (const [E, P] of R) { - for (const R of P) { - const P = this.assetsInfo.get(R) - if (!P) continue - const L = P.related - if (!L) continue - const N = L[E] - let q - if (Array.isArray(N)) { - q = N.map((E) => (E === k ? v : E)) - } else if (N === k) { - q = v - } else continue - this.assetsInfo.set(R, { ...P, related: { ...L, [E]: q } }) - } - } - } - this._setAssetInfo(k, undefined, P) - this._setAssetInfo(v, P) - delete this.assets[k] - this.assets[v] = E - for (const E of this.chunks) { - { - const P = E.files.size - E.files.delete(k) - if (P !== E.files.size) { - E.files.add(v) - } - } - { - const P = E.auxiliaryFiles.size - E.auxiliaryFiles.delete(k) - if (P !== E.auxiliaryFiles.size) { - E.auxiliaryFiles.add(v) - } - } - } - } - deleteAsset(k) { - if (!this.assets[k]) { - return - } - delete this.assets[k] - const v = this.assetsInfo.get(k) - this._setAssetInfo(k, undefined, v) - const E = v && v.related - if (E) { - for (const k of Object.keys(E)) { - const checkUsedAndDelete = (k) => { - if (!this._assetsRelatedIn.has(k)) { - this.deleteAsset(k) - } - } - const v = E[k] - if (Array.isArray(v)) { - v.forEach(checkUsedAndDelete) - } else if (v) { - checkUsedAndDelete(v) - } - } - } - for (const v of this.chunks) { - v.files.delete(k) - v.auxiliaryFiles.delete(k) - } - } - getAssets() { - const k = [] - for (const v of Object.keys(this.assets)) { - if (Object.prototype.hasOwnProperty.call(this.assets, v)) { - k.push({ - name: v, - source: this.assets[v], - info: this.assetsInfo.get(v) || Nt, - }) - } - } - return k - } - getAsset(k) { - if (!Object.prototype.hasOwnProperty.call(this.assets, k)) - return undefined - return { - name: k, - source: this.assets[k], - info: this.assetsInfo.get(k) || Nt, - } - } - clearAssets() { - for (const k of this.chunks) { - k.files.clear() - k.auxiliaryFiles.clear() - } - } - createModuleAssets() { - const { chunkGraph: k } = this - for (const v of this.modules) { - if (v.buildInfo.assets) { - const E = v.buildInfo.assetsInfo - for (const P of Object.keys(v.buildInfo.assets)) { - const R = this.getPath(P, { - chunkGraph: this.chunkGraph, - module: v, - }) - for (const E of k.getModuleChunksIterable(v)) { - E.auxiliaryFiles.add(R) - } - this.emitAsset( - R, - v.buildInfo.assets[P], - E ? E.get(P) : undefined - ) - this.hooks.moduleAsset.call(v, R) - } - } - } - } - getRenderManifest(k) { - return this.hooks.renderManifest.call([], k) - } - createChunkAssets(k) { - const v = this.outputOptions - const E = new WeakMap() - const R = new Map() - P.forEachLimit( - this.chunks, - 15, - (k, L) => { - let N - try { - N = this.getRenderManifest({ - chunk: k, - hash: this.hash, - fullHash: this.fullHash, - outputOptions: v, - codeGenerationResults: this.codeGenerationResults, - moduleTemplates: this.moduleTemplates, - dependencyTemplates: this.dependencyTemplates, - chunkGraph: this.chunkGraph, - moduleGraph: this.moduleGraph, - runtimeTemplate: this.runtimeTemplate, - }) - } catch (v) { - this.errors.push(new je(k, '', v)) - return L() - } - P.forEach( - N, - (v, P) => { - const L = v.identifier - const N = v.hash - const q = this._assetsCache.getItemCache(L, N) - q.get((L, ae) => { - let le - let pe - let me - let _e = true - const errorAndCallback = (v) => { - const E = - pe || - (typeof pe === 'string' - ? pe - : typeof le === 'string' - ? le - : '') - this.errors.push(new je(k, E, v)) - _e = false - return P() - } - try { - if ('filename' in v) { - pe = v.filename - me = v.info - } else { - le = v.filenameTemplate - const k = this.getPathWithInfo(le, v.pathOptions) - pe = k.path - me = v.info ? { ...k.info, ...v.info } : k.info - } - if (L) { - return errorAndCallback(L) - } - let Ie = ae - const Me = R.get(pe) - if (Me !== undefined) { - if (Me.hash !== N) { - _e = false - return P( - new ft( - `Conflict: Multiple chunks emit assets to the same filename ${pe}` + - ` (chunks ${Me.chunk.id} and ${k.id})` - ) - ) - } else { - Ie = Me.source - } - } else if (!Ie) { - Ie = v.render() - if (!(Ie instanceof ye)) { - const k = E.get(Ie) - if (k) { - Ie = k - } else { - const k = new ye(Ie) - E.set(Ie, k) - Ie = k - } - } - } - this.emitAsset(pe, Ie, me) - if (v.auxiliary) { - k.auxiliaryFiles.add(pe) - } else { - k.files.add(pe) - } - this.hooks.chunkAsset.call(k, pe) - R.set(pe, { hash: N, source: Ie, chunk: k }) - if (Ie !== ae) { - q.store(Ie, (k) => { - if (k) return errorAndCallback(k) - _e = false - return P() - }) - } else { - _e = false - P() - } - } catch (L) { - if (!_e) throw L - errorAndCallback(L) - } - }) - }, - L - ) - }, - k - ) - } - getPath(k, v = {}) { - if (!v.hash) { - v = { hash: this.hash, ...v } - } - return this.getAssetPath(k, v) - } - getPathWithInfo(k, v = {}) { - if (!v.hash) { - v = { hash: this.hash, ...v } - } - return this.getAssetPathWithInfo(k, v) - } - getAssetPath(k, v) { - return this.hooks.assetPath.call( - typeof k === 'function' ? k(v) : k, - v, - undefined - ) - } - getAssetPathWithInfo(k, v) { - const E = {} - const P = this.hooks.assetPath.call( - typeof k === 'function' ? k(v, E) : k, - v, - E - ) - return { path: P, info: E } - } - getWarnings() { - return this.hooks.processWarnings.call(this.warnings) - } - getErrors() { - return this.hooks.processErrors.call(this.errors) - } - createChildCompiler(k, v, E) { - const P = this.childrenCounters[k] || 0 - this.childrenCounters[k] = P + 1 - return this.compiler.createChildCompiler(this, k, P, v, E) - } - executeModule(k, v, E) { - const R = new Set([k]) - Ft( - R, - 10, - (k, v, E) => { - this.buildQueue.waitFor(k, (P) => { - if (P) return E(P) - this.processDependenciesQueue.waitFor(k, (P) => { - if (P) return E(P) - for (const { - module: E, - } of this.moduleGraph.getOutgoingConnections(k)) { - const k = R.size - R.add(E) - if (R.size !== k) v(E) - } - E() - }) - }) - }, - (L) => { - if (L) return E(L) - const N = new Me( - this.moduleGraph, - this.outputOptions.hashFunction - ) - const q = 'build time' - const { - hashFunction: ae, - hashDigest: le, - hashDigestLength: pe, - } = this.outputOptions - const me = this.runtimeTemplate - const ye = new Ie('build time chunk', this._backCompat) - ye.id = ye.name - ye.ids = [ye.id] - ye.runtime = q - const _e = new He({ - runtime: q, - chunkLoading: false, - ...v.entryOptions, - }) - N.connectChunkAndEntryModule(ye, k, _e) - Je(_e, ye) - _e.setRuntimeChunk(ye) - _e.setEntrypointChunk(ye) - const Te = new Set([ye]) - for (const k of R) { - const v = k.identifier() - N.setModuleId(k, v) - N.connectChunkAndModule(ye, k) - } - const je = [] - for (const k of R) { - this._createModuleHash(k, N, q, ae, me, le, pe, je) - } - const Ne = new qe(this.outputOptions.hashFunction) - const codeGen = (k, v) => { - this._codeGenerationModule( - k, - q, - [q], - N.getModuleHash(k, q), - this.dependencyTemplates, - N, - this.moduleGraph, - me, - je, - Ne, - (k, E) => { - v(k) - } - ) - } - const reportErrors = () => { - if (je.length > 0) { - je.sort(It((k) => k.module, Ot)) - for (const k of je) { - this.errors.push(k) - } - je.length = 0 - } - } - P.eachLimit(R, 10, codeGen, (v) => { - if (v) return E(v) - reportErrors() - const L = this.chunkGraph - this.chunkGraph = N - this.processRuntimeRequirements({ - chunkGraph: N, - modules: R, - chunks: Te, - codeGenerationResults: Ne, - chunkGraphEntries: Te, - }) - this.chunkGraph = L - const _e = N.getChunkRuntimeModulesIterable(ye) - for (const k of _e) { - R.add(k) - this._createModuleHash(k, N, q, ae, me, le, pe) - } - P.eachLimit(_e, 10, codeGen, (v) => { - if (v) return E(v) - reportErrors() - const L = new Map() - const ae = new Map() - const le = new wt() - const pe = new wt() - const me = new wt() - const _e = new wt() - const Ie = new Map() - let Me = true - const Te = { - assets: Ie, - __webpack_require__: undefined, - chunk: ye, - chunkGraph: N, - } - P.eachLimit( - R, - 10, - (k, v) => { - const E = Ne.get(k, q) - const P = { - module: k, - codeGenerationResult: E, - preparedInfo: undefined, - moduleObject: undefined, - } - L.set(k, P) - ae.set(k.identifier(), P) - k.addCacheDependencies(le, pe, me, _e) - if (k.buildInfo.cacheable === false) { - Me = false - } - if (k.buildInfo && k.buildInfo.assets) { - const { assets: v, assetsInfo: E } = k.buildInfo - for (const k of Object.keys(v)) { - Ie.set(k, { - source: v[k], - info: E ? E.get(k) : undefined, - }) - } - } - this.hooks.prepareModuleExecution.callAsync(P, Te, v) - }, - (v) => { - if (v) return E(v) - let P - try { - const { - strictModuleErrorHandling: v, - strictModuleExceptionHandling: E, - } = this.outputOptions - const __nested_webpack_require_153754__ = (k) => { - const v = q[k] - if (v !== undefined) { - if (v.error) throw v.error - return v.exports - } - const E = ae.get(k) - return __webpack_require_module__(E, k) - } - const R = (__nested_webpack_require_153754__[ - ut.interceptModuleExecution.replace( - `${ut.require}.`, - '' - ) - ] = []) - const q = (__nested_webpack_require_153754__[ - ut.moduleCache.replace(`${ut.require}.`, '') - ] = {}) - Te.__webpack_require__ = - __nested_webpack_require_153754__ - const __webpack_require_module__ = (k, P) => { - var L = { - id: P, - module: { - id: P, - exports: {}, - loaded: false, - error: undefined, - }, - require: __nested_webpack_require_153754__, - } - R.forEach((k) => k(L)) - const N = k.module - this.buildTimeExecutedModules.add(N) - const ae = L.module - k.moduleObject = ae - try { - if (P) q[P] = ae - Ye( - () => this.hooks.executeModule.call(k, Te), - 'Compilation.hooks.executeModule' - ) - ae.loaded = true - return ae.exports - } catch (k) { - if (E) { - if (P) delete q[P] - } else if (v) { - ae.error = k - } - if (!k.module) k.module = N - throw k - } - } - for (const k of N.getChunkRuntimeModulesInOrder(ye)) { - __webpack_require_module__(L.get(k)) - } - P = __nested_webpack_require_153754__(k.identifier()) - } catch (v) { - const P = new ft( - `Execution of module code from module graph (${k.readableIdentifier( - this.requestShortener - )}) failed: ${v.message}` - ) - P.stack = v.stack - P.module = v.module - return E(P) - } - E(null, { - exports: P, - assets: Ie, - cacheable: Me, - fileDependencies: le, - contextDependencies: pe, - missingDependencies: me, - buildDependencies: _e, - }) - } - ) - }) - }) - } - ) - } - checkConstraints() { - const k = this.chunkGraph - const v = new Set() - for (const E of this.modules) { - if (E.type === lt) continue - const P = k.getModuleId(E) - if (P === null) continue - if (v.has(P)) { - throw new Error(`checkConstraints: duplicate module id ${P}`) - } - v.add(P) - } - for (const v of this.chunks) { - for (const E of k.getChunkModulesIterable(v)) { - if (!this.modules.has(E)) { - throw new Error( - 'checkConstraints: module in chunk but not in compilation ' + - ` ${v.debugId} ${E.debugId}` - ) - } - } - for (const E of k.getChunkEntryModulesIterable(v)) { - if (!this.modules.has(E)) { - throw new Error( - 'checkConstraints: entry module in chunk but not in compilation ' + - ` ${v.debugId} ${E.debugId}` - ) - } - } - } - for (const k of this.chunkGroups) { - k.checkConstraints() - } - } - } - Compilation.prototype.factorizeModule = function (k, v) { - this.factorizeQueue.add(k, v) - } - const Kt = Compilation.prototype - Object.defineProperty(Kt, 'modifyHash', { - writable: false, - enumerable: false, - configurable: false, - value: () => { - throw new Error( - 'Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash' - ) - }, - }) - Object.defineProperty(Kt, 'cache', { - enumerable: false, - configurable: false, - get: me.deprecate( - function () { - return this.compiler.cache - }, - 'Compilation.cache was removed in favor of Compilation.getCache()', - 'DEP_WEBPACK_COMPILATION_CACHE' - ), - set: me.deprecate( - (k) => {}, - '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 - k.exports = Compilation - }, - 2170: function (k, v, E) { - 'use strict' - const P = E(54650) - const R = E(78175) - const { - SyncHook: L, - SyncBailHook: N, - AsyncParallelHook: q, - AsyncSeriesHook: ae, - } = E(79846) - const { SizeOnlySource: le } = E(51255) - const pe = E(94308) - const me = E(89802) - const ye = E(90580) - const _e = E(38317) - const Ie = E(27747) - const Me = E(4539) - const Te = E(20467) - const je = E(88223) - const Ne = E(14062) - const Be = E(91227) - const qe = E(51660) - const Ue = E(26288) - const Ge = E(50526) - const He = E(71572) - const { Logger: We } = E(13905) - const { join: Qe, dirname: Je, mkdirp: Ve } = E(57825) - const { makePathsRelative: Ke } = E(65315) - const { isSourceEqual: Ye } = E(71435) - const isSorted = (k) => { - for (let v = 1; v < k.length; v++) { - if (k[v - 1] > k[v]) return false - } - return true - } - const sortObject = (k, v) => { - const E = {} - for (const P of v.sort()) { - E[P] = k[P] - } - return E - } - const includesHash = (k, v) => { - if (!v) return false - if (Array.isArray(v)) { - return v.some((v) => k.includes(v)) - } else { - return k.includes(v) - } - } - class Compiler { - constructor(k, v = {}) { - this.hooks = Object.freeze({ - initialize: new L([]), - shouldEmit: new N(['compilation']), - done: new ae(['stats']), - afterDone: new L(['stats']), - additionalPass: new ae([]), - beforeRun: new ae(['compiler']), - run: new ae(['compiler']), - emit: new ae(['compilation']), - assetEmitted: new ae(['file', 'info']), - afterEmit: new ae(['compilation']), - thisCompilation: new L(['compilation', 'params']), - compilation: new L(['compilation', 'params']), - normalModuleFactory: new L(['normalModuleFactory']), - contextModuleFactory: new L(['contextModuleFactory']), - beforeCompile: new ae(['params']), - compile: new L(['params']), - make: new q(['compilation']), - finishMake: new ae(['compilation']), - afterCompile: new ae(['compilation']), - readRecords: new ae([]), - emitRecords: new ae([]), - watchRun: new ae(['compiler']), - failed: new L(['error']), - invalid: new L(['filename', 'changeTime']), - watchClose: new L([]), - shutdown: new ae([]), - infrastructureLog: new N(['origin', 'type', 'args']), - environment: new L([]), - afterEnvironment: new L([]), - afterPlugins: new L(['compiler']), - afterResolvers: new L(['compiler']), - entryOption: new N(['context', 'entry']), - }) - this.webpack = pe - 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.fsStartTime = undefined - this.resolverFactory = new qe() - this.infrastructureLogger = undefined - this.options = v - this.context = k - this.requestShortener = new Be(k, this.root) - this.cache = new me() - this.moduleMemCaches = undefined - this.compilerPath = '' - this.running = false - this.idle = false - this.watchMode = false - this._backCompat = this.options.experiments.backCompat !== false - this._lastCompilation = undefined - this._lastNormalModuleFactory = undefined - this._assetEmittingSourceCache = new WeakMap() - this._assetEmittingWrittenFiles = new Map() - this._assetEmittingPreviousFiles = new Set() - } - getCache(k) { - return new ye( - this.cache, - `${this.compilerPath}${k}`, - this.options.output.hashFunction - ) - } - getInfrastructureLogger(k) { - if (!k) { - throw new TypeError( - 'Compiler.getInfrastructureLogger(name) called without a name' - ) - } - return new We( - (v, E) => { - if (typeof k === 'function') { - k = k() - if (!k) { - throw new TypeError( - 'Compiler.getInfrastructureLogger(name) called with a function not returning a name' - ) - } - } - if (this.hooks.infrastructureLog.call(k, v, E) === undefined) { - if (this.infrastructureLogger !== undefined) { - this.infrastructureLogger(k, v, E) - } - } - }, - (v) => { - if (typeof k === 'function') { - if (typeof v === 'function') { - return this.getInfrastructureLogger(() => { - if (typeof k === 'function') { - k = k() - if (!k) { - throw new TypeError( - 'Compiler.getInfrastructureLogger(name) called with a function not returning a name' - ) - } - } - if (typeof v === 'function') { - v = v() - if (!v) { - throw new TypeError( - 'Logger.getChildLogger(name) called with a function not returning a name' - ) - } - } - return `${k}/${v}` - }) - } else { - return this.getInfrastructureLogger(() => { - if (typeof k === 'function') { - k = k() - if (!k) { - throw new TypeError( - 'Compiler.getInfrastructureLogger(name) called with a function not returning a name' - ) - } - } - return `${k}/${v}` - }) - } - } else { - if (typeof v === 'function') { - return this.getInfrastructureLogger(() => { - if (typeof v === 'function') { - v = v() - if (!v) { - throw new TypeError( - 'Logger.getChildLogger(name) called with a function not returning a name' - ) - } - } - return `${k}/${v}` - }) - } else { - return this.getInfrastructureLogger(`${k}/${v}`) - } - } - } - ) - } - _cleanupLastCompilation() { - if (this._lastCompilation !== undefined) { - for (const k of this._lastCompilation.modules) { - _e.clearChunkGraphForModule(k) - je.clearModuleGraphForModule(k) - k.cleanupForCache() - } - for (const k of this._lastCompilation.chunks) { - _e.clearChunkGraphForChunk(k) - } - this._lastCompilation = undefined - } - } - _cleanupLastNormalModuleFactory() { - if (this._lastNormalModuleFactory !== undefined) { - this._lastNormalModuleFactory.cleanupForCache() - this._lastNormalModuleFactory = undefined - } - } - watch(k, v) { - if (this.running) { - return v(new Me()) - } - this.running = true - this.watchMode = true - this.watching = new Ge(this, k, v) - return this.watching - } - run(k) { - if (this.running) { - return k(new Me()) - } - let v - const finalCallback = (E, P) => { - if (v) v.time('beginIdle') - this.idle = true - this.cache.beginIdle() - this.idle = true - if (v) v.timeEnd('beginIdle') - this.running = false - if (E) { - this.hooks.failed.call(E) - } - if (k !== undefined) k(E, P) - this.hooks.afterDone.call(P) - } - const E = Date.now() - this.running = true - const onCompiled = (k, P) => { - if (k) return finalCallback(k) - if (this.hooks.shouldEmit.call(P) === false) { - P.startTime = E - P.endTime = Date.now() - const k = new Ue(P) - this.hooks.done.callAsync(k, (v) => { - if (v) return finalCallback(v) - return finalCallback(null, k) - }) - return - } - process.nextTick(() => { - v = P.getLogger('webpack.Compiler') - v.time('emitAssets') - this.emitAssets(P, (k) => { - v.timeEnd('emitAssets') - if (k) return finalCallback(k) - if (P.hooks.needAdditionalPass.call()) { - P.needAdditionalPass = true - P.startTime = E - P.endTime = Date.now() - v.time('done hook') - const k = new Ue(P) - this.hooks.done.callAsync(k, (k) => { - v.timeEnd('done hook') - if (k) return finalCallback(k) - this.hooks.additionalPass.callAsync((k) => { - if (k) return finalCallback(k) - this.compile(onCompiled) - }) - }) - return - } - v.time('emitRecords') - this.emitRecords((k) => { - v.timeEnd('emitRecords') - if (k) return finalCallback(k) - P.startTime = E - P.endTime = Date.now() - v.time('done hook') - const R = new Ue(P) - this.hooks.done.callAsync(R, (k) => { - v.timeEnd('done hook') - if (k) return finalCallback(k) - this.cache.storeBuildDependencies( - P.buildDependencies, - (k) => { - if (k) return finalCallback(k) - return finalCallback(null, R) - } - ) - }) - }) - }) - }) - } - const run = () => { - this.hooks.beforeRun.callAsync(this, (k) => { - if (k) return finalCallback(k) - this.hooks.run.callAsync(this, (k) => { - if (k) return finalCallback(k) - this.readRecords((k) => { - if (k) return finalCallback(k) - this.compile(onCompiled) - }) - }) - }) - } - if (this.idle) { - this.cache.endIdle((k) => { - if (k) return finalCallback(k) - this.idle = false - run() - }) - } else { - run() - } - } - runAsChild(k) { - const v = Date.now() - const finalCallback = (v, E, P) => { - try { - k(v, E, P) - } catch (k) { - const v = new He(`compiler.runAsChild callback error: ${k}`) - v.details = k.stack - this.parentCompilation.errors.push(v) - } - } - this.compile((k, E) => { - if (k) return finalCallback(k) - this.parentCompilation.children.push(E) - for (const { name: k, source: v, info: P } of E.getAssets()) { - this.parentCompilation.emitAsset(k, v, P) - } - const P = [] - for (const k of E.entrypoints.values()) { - P.push(...k.chunks) - } - E.startTime = v - E.endTime = Date.now() - return finalCallback(null, P, E) - }) - } - purgeInputFileSystem() { - if (this.inputFileSystem && this.inputFileSystem.purge) { - this.inputFileSystem.purge() - } - } - emitAssets(k, v) { - let E - const emitFiles = (P) => { - if (P) return v(P) - const L = k.getAssets() - k.assets = { ...k.assets } - const N = new Map() - const q = new Set() - R.forEachLimit( - L, - 15, - ({ name: v, source: P, info: R }, L) => { - let ae = v - let pe = R.immutable - const me = ae.indexOf('?') - if (me >= 0) { - ae = ae.slice(0, me) - pe = - pe && - (includesHash(ae, R.contenthash) || - includesHash(ae, R.chunkhash) || - includesHash(ae, R.modulehash) || - includesHash(ae, R.fullhash)) - } - const writeOut = (R) => { - if (R) return L(R) - const me = Qe(this.outputFileSystem, E, ae) - q.add(me) - const ye = this._assetEmittingWrittenFiles.get(me) - let _e = this._assetEmittingSourceCache.get(P) - if (_e === undefined) { - _e = { sizeOnlySource: undefined, writtenTo: new Map() } - this._assetEmittingSourceCache.set(P, _e) - } - let Ie - const checkSimilarFile = () => { - const k = me.toLowerCase() - Ie = N.get(k) - if (Ie !== undefined) { - const { path: k, source: E } = Ie - if (Ye(E, P)) { - if (Ie.size !== undefined) { - updateWithReplacementSource(Ie.size) - } else { - if (!Ie.waiting) Ie.waiting = [] - Ie.waiting.push({ file: v, cacheEntry: _e }) - } - alreadyWritten() - } else { - const E = new He( - `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${me}\n${k}` - ) - E.file = v - L(E) - } - return true - } else { - N.set( - k, - (Ie = { - path: me, - source: P, - size: undefined, - waiting: undefined, - }) - ) - return false - } - } - const getContent = () => { - if (typeof P.buffer === 'function') { - return P.buffer() - } else { - const k = P.source() - if (Buffer.isBuffer(k)) { - return k - } else { - return Buffer.from(k, 'utf8') - } - } - } - const alreadyWritten = () => { - if (ye === undefined) { - const k = 1 - this._assetEmittingWrittenFiles.set(me, k) - _e.writtenTo.set(me, k) - } else { - _e.writtenTo.set(me, ye) - } - L() - } - const doWrite = (R) => { - this.outputFileSystem.writeFile(me, R, (N) => { - if (N) return L(N) - k.emittedAssets.add(v) - const q = ye === undefined ? 1 : ye + 1 - _e.writtenTo.set(me, q) - this._assetEmittingWrittenFiles.set(me, q) - this.hooks.assetEmitted.callAsync( - v, - { - content: R, - source: P, - outputPath: E, - compilation: k, - targetPath: me, - }, - L - ) - }) - } - const updateWithReplacementSource = (k) => { - updateFileWithReplacementSource(v, _e, k) - Ie.size = k - if (Ie.waiting !== undefined) { - for (const { file: v, cacheEntry: E } of Ie.waiting) { - updateFileWithReplacementSource(v, E, k) - } - } - } - const updateFileWithReplacementSource = (v, E, P) => { - if (!E.sizeOnlySource) { - E.sizeOnlySource = new le(P) - } - k.updateAsset(v, E.sizeOnlySource, { size: P }) - } - const processExistingFile = (E) => { - if (pe) { - updateWithReplacementSource(E.size) - return alreadyWritten() - } - const P = getContent() - updateWithReplacementSource(P.length) - if (P.length === E.size) { - k.comparedForEmitAssets.add(v) - return this.outputFileSystem.readFile(me, (k, v) => { - if (k || !P.equals(v)) { - return doWrite(P) - } else { - return alreadyWritten() - } - }) - } - return doWrite(P) - } - const processMissingFile = () => { - const k = getContent() - updateWithReplacementSource(k.length) - return doWrite(k) - } - if (ye !== undefined) { - const E = _e.writtenTo.get(me) - if (E === ye) { - if (this._assetEmittingPreviousFiles.has(me)) { - k.updateAsset(v, _e.sizeOnlySource, { - size: _e.sizeOnlySource.size(), - }) - return L() - } else { - pe = true - } - } else if (!pe) { - if (checkSimilarFile()) return - return processMissingFile() - } - } - if (checkSimilarFile()) return - if (this.options.output.compareBeforeEmit) { - this.outputFileSystem.stat(me, (k, v) => { - const E = !k && v.isFile() - if (E) { - processExistingFile(v) - } else { - processMissingFile() - } - }) - } else { - processMissingFile() - } - } - if (ae.match(/\/|\\/)) { - const k = this.outputFileSystem - const v = Je(k, Qe(k, E, ae)) - Ve(k, v, writeOut) - } else { - writeOut() - } - }, - (E) => { - N.clear() - if (E) { - this._assetEmittingPreviousFiles.clear() - return v(E) - } - this._assetEmittingPreviousFiles = q - this.hooks.afterEmit.callAsync(k, (k) => { - if (k) return v(k) - return v() - }) - } - ) - } - this.hooks.emit.callAsync(k, (P) => { - if (P) return v(P) - E = k.getPath(this.outputPath, {}) - Ve(this.outputFileSystem, E, emitFiles) - }) - } - emitRecords(k) { - if (this.hooks.emitRecords.isUsed()) { - if (this.recordsOutputPath) { - R.parallel( - [ - (k) => this.hooks.emitRecords.callAsync(k), - this._emitRecords.bind(this), - ], - (v) => k(v) - ) - } else { - this.hooks.emitRecords.callAsync(k) - } - } else { - if (this.recordsOutputPath) { - this._emitRecords(k) - } else { - k() - } - } - } - _emitRecords(k) { - const writeFile = () => { - this.outputFileSystem.writeFile( - this.recordsOutputPath, - JSON.stringify( - this.records, - (k, v) => { - if ( - typeof v === 'object' && - v !== null && - !Array.isArray(v) - ) { - const k = Object.keys(v) - if (!isSorted(k)) { - return sortObject(v, k) - } - } - return v - }, - 2 - ), - k - ) - } - const v = Je(this.outputFileSystem, this.recordsOutputPath) - if (!v) { - return writeFile() - } - Ve(this.outputFileSystem, v, (v) => { - if (v) return k(v) - writeFile() - }) - } - readRecords(k) { - if (this.hooks.readRecords.isUsed()) { - if (this.recordsInputPath) { - R.parallel( - [ - (k) => this.hooks.readRecords.callAsync(k), - this._readRecords.bind(this), - ], - (v) => k(v) - ) - } else { - this.records = {} - this.hooks.readRecords.callAsync(k) - } - } else { - if (this.recordsInputPath) { - this._readRecords(k) - } else { - this.records = {} - k() - } - } - } - _readRecords(k) { - if (!this.recordsInputPath) { - this.records = {} - return k() - } - this.inputFileSystem.stat(this.recordsInputPath, (v) => { - if (v) return k() - this.inputFileSystem.readFile(this.recordsInputPath, (v, E) => { - if (v) return k(v) - try { - this.records = P(E.toString('utf-8')) - } catch (v) { - return k(new Error(`Cannot parse records: ${v.message}`)) - } - return k() - }) - }) - } - createChildCompiler(k, v, E, P, R) { - const L = new Compiler(this.context, { - ...this.options, - output: { ...this.options.output, ...P }, - }) - L.name = v - L.outputPath = this.outputPath - L.inputFileSystem = this.inputFileSystem - L.outputFileSystem = null - L.resolverFactory = this.resolverFactory - L.modifiedFiles = this.modifiedFiles - L.removedFiles = this.removedFiles - L.fileTimestamps = this.fileTimestamps - L.contextTimestamps = this.contextTimestamps - L.fsStartTime = this.fsStartTime - L.cache = this.cache - L.compilerPath = `${this.compilerPath}${v}|${E}|` - L._backCompat = this._backCompat - const N = Ke(this.context, v, this.root) - if (!this.records[N]) { - this.records[N] = [] - } - if (this.records[N][E]) { - L.records = this.records[N][E] - } else { - this.records[N].push((L.records = {})) - } - L.parentCompilation = k - L.root = this.root - if (Array.isArray(R)) { - for (const k of R) { - k.apply(L) - } - } - for (const k in this.hooks) { - if ( - ![ - 'make', - 'compile', - 'emit', - 'afterEmit', - 'invalid', - 'done', - 'thisCompilation', - ].includes(k) - ) { - if (L.hooks[k]) { - L.hooks[k].taps = this.hooks[k].taps.slice() - } - } - } - k.hooks.childCompiler.call(L, v, E) - return L - } - isChild() { - return !!this.parentCompilation - } - createCompilation(k) { - this._cleanupLastCompilation() - return (this._lastCompilation = new Ie(this, k)) - } - newCompilation(k) { - const v = this.createCompilation(k) - v.name = this.name - v.records = this.records - this.hooks.thisCompilation.call(v, k) - this.hooks.compilation.call(v, k) - return v - } - createNormalModuleFactory() { - this._cleanupLastNormalModuleFactory() - const k = new Ne({ - context: this.options.context, - fs: this.inputFileSystem, - resolverFactory: this.resolverFactory, - options: this.options.module, - associatedObjectForCache: this.root, - layers: this.options.experiments.layers, - }) - this._lastNormalModuleFactory = k - this.hooks.normalModuleFactory.call(k) - return k - } - createContextModuleFactory() { - const k = new Te(this.resolverFactory) - this.hooks.contextModuleFactory.call(k) - return k - } - newCompilationParams() { - const k = { - normalModuleFactory: this.createNormalModuleFactory(), - contextModuleFactory: this.createContextModuleFactory(), - } - return k - } - compile(k) { - const v = this.newCompilationParams() - this.hooks.beforeCompile.callAsync(v, (E) => { - if (E) return k(E) - this.hooks.compile.call(v) - const P = this.newCompilation(v) - const R = P.getLogger('webpack.Compiler') - R.time('make hook') - this.hooks.make.callAsync(P, (v) => { - R.timeEnd('make hook') - if (v) return k(v) - R.time('finish make hook') - this.hooks.finishMake.callAsync(P, (v) => { - R.timeEnd('finish make hook') - if (v) return k(v) - process.nextTick(() => { - R.time('finish compilation') - P.finish((v) => { - R.timeEnd('finish compilation') - if (v) return k(v) - R.time('seal compilation') - P.seal((v) => { - R.timeEnd('seal compilation') - if (v) return k(v) - R.time('afterCompile hook') - this.hooks.afterCompile.callAsync(P, (v) => { - R.timeEnd('afterCompile hook') - if (v) return k(v) - return k(null, P) - }) - }) - }) - }) - }) - }) - }) - } - close(k) { - if (this.watching) { - this.watching.close((v) => { - this.close(k) - }) - return - } - this.hooks.shutdown.callAsync((v) => { - if (v) return k(v) - this._lastCompilation = undefined - this._lastNormalModuleFactory = undefined - this.cache.shutdown(k) - }) - } - } - k.exports = Compiler - }, - 91213: function (k) { - 'use strict' - const v = - /^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/ - const E = '__WEBPACK_DEFAULT_EXPORT__' - const P = '__WEBPACK_NAMESPACE_OBJECT__' - class ConcatenationScope { - constructor(k, v) { - this._currentModule = v - if (Array.isArray(k)) { - const v = new Map() - for (const E of k) { - v.set(E.module, E) - } - k = v - } - this._modulesMap = k - } - isModuleInScope(k) { - return this._modulesMap.has(k) - } - registerExport(k, v) { - if (!this._currentModule.exportMap) { - this._currentModule.exportMap = new Map() - } - if (!this._currentModule.exportMap.has(k)) { - this._currentModule.exportMap.set(k, v) - } - } - registerRawExport(k, v) { - if (!this._currentModule.rawExportMap) { - this._currentModule.rawExportMap = new Map() - } - if (!this._currentModule.rawExportMap.has(k)) { - this._currentModule.rawExportMap.set(k, v) - } - } - registerNamespaceExport(k) { - this._currentModule.namespaceExportSymbol = k - } - createModuleReference( - k, - { - ids: v = undefined, - call: E = false, - directImport: P = false, - asiSafe: R = false, - } - ) { - const L = this._modulesMap.get(k) - const N = E ? '_call' : '' - const q = P ? '_directImport' : '' - const ae = R ? '_asiSafe1' : R === false ? '_asiSafe0' : '' - const le = v - ? Buffer.from(JSON.stringify(v), 'utf-8').toString('hex') - : 'ns' - return `__WEBPACK_MODULE_REFERENCE__${L.index}_${le}${N}${q}${ae}__._` - } - static isModuleReference(k) { - return v.test(k) - } - static matchModuleReference(k) { - const E = v.exec(k) - if (!E) return null - const P = +E[1] - const R = E[5] - return { - index: P, - ids: - E[2] === 'ns' - ? [] - : JSON.parse(Buffer.from(E[2], 'hex').toString('utf-8')), - call: !!E[3], - directImport: !!E[4], - asiSafe: R ? R === '1' : undefined, - } - } - } - ConcatenationScope.DEFAULT_EXPORT = E - ConcatenationScope.NAMESPACE_OBJECT_EXPORT = P - k.exports = ConcatenationScope - }, - 4539: function (k, v, E) { - 'use strict' - const P = E(71572) - k.exports = class ConcurrentCompilationError extends P { - constructor() { - super() - this.name = 'ConcurrentCompilationError' - this.message = - 'You ran Webpack twice. Each instance only supports a single concurrent compilation at a time.' - } - } - }, - 33769: function (k, v, E) { - 'use strict' - const { ConcatSource: P, PrefixSource: R } = E(51255) - const L = E(88113) - const N = E(95041) - const { mergeRuntime: q } = E(1540) - const wrapInCondition = (k, v) => { - if (typeof v === 'string') { - return N.asString([`if (${k}) {`, N.indent(v), '}', '']) - } else { - return new P(`if (${k}) {\n`, new R('\t', v), '}\n') - } - } - class ConditionalInitFragment extends L { - constructor(k, v, E, P, R = true, L) { - super(k, v, E, P, L) - this.runtimeCondition = R - } - getContent(k) { - if (this.runtimeCondition === false || !this.content) return '' - if (this.runtimeCondition === true) return this.content - const v = k.runtimeTemplate.runtimeConditionExpression({ - chunkGraph: k.chunkGraph, - runtimeRequirements: k.runtimeRequirements, - runtime: k.runtime, - runtimeCondition: this.runtimeCondition, - }) - if (v === 'true') return this.content - return wrapInCondition(v, this.content) - } - getEndContent(k) { - if (this.runtimeCondition === false || !this.endContent) return '' - if (this.runtimeCondition === true) return this.endContent - const v = k.runtimeTemplate.runtimeConditionExpression({ - chunkGraph: k.chunkGraph, - runtimeRequirements: k.runtimeRequirements, - runtime: k.runtime, - runtimeCondition: this.runtimeCondition, - }) - if (v === 'true') return this.endContent - return wrapInCondition(v, this.endContent) - } - merge(k) { - if (this.runtimeCondition === true) return this - if (k.runtimeCondition === true) return k - if (this.runtimeCondition === false) return k - if (k.runtimeCondition === false) return this - const v = q(this.runtimeCondition, k.runtimeCondition) - return new ConditionalInitFragment( - this.content, - this.stage, - this.position, - this.key, - v, - this.endContent - ) - } - } - k.exports = ConditionalInitFragment - }, - 11512: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, - JAVASCRIPT_MODULE_TYPE_ESM: L, - } = E(93622) - const N = E(11602) - const q = E(60381) - const { evaluateToString: ae } = E(80784) - const { parseResource: le } = E(65315) - const collectDeclaration = (k, v) => { - const E = [v] - while (E.length > 0) { - const v = E.pop() - switch (v.type) { - case 'Identifier': - k.add(v.name) - break - case 'ArrayPattern': - for (const k of v.elements) { - if (k) { - E.push(k) - } - } - break - case 'AssignmentPattern': - E.push(v.left) - break - case 'ObjectPattern': - for (const k of v.properties) { - E.push(k.value) - } - break - case 'RestElement': - E.push(v.argument) - break - } - } - } - const getHoistedDeclarations = (k, v) => { - const E = new Set() - const P = [k] - while (P.length > 0) { - const k = P.pop() - if (!k) continue - switch (k.type) { - case 'BlockStatement': - for (const v of k.body) { - P.push(v) - } - break - case 'IfStatement': - P.push(k.consequent) - P.push(k.alternate) - break - case 'ForStatement': - P.push(k.init) - P.push(k.body) - break - case 'ForInStatement': - case 'ForOfStatement': - P.push(k.left) - P.push(k.body) - break - case 'DoWhileStatement': - case 'WhileStatement': - case 'LabeledStatement': - P.push(k.body) - break - case 'SwitchStatement': - for (const v of k.cases) { - for (const k of v.consequent) { - P.push(k) - } - } - break - case 'TryStatement': - P.push(k.block) - if (k.handler) { - P.push(k.handler.body) - } - P.push(k.finalizer) - break - case 'FunctionDeclaration': - if (v) { - collectDeclaration(E, k.id) - } - break - case 'VariableDeclaration': - if (k.kind === 'var') { - for (const v of k.declarations) { - collectDeclaration(E, v.id) - } - } - break - } - } - return Array.from(E) - } - const pe = 'ConstPlugin' - class ConstPlugin { - apply(k) { - const v = le.bindCache(k.root) - k.hooks.compilation.tap(pe, (k, { normalModuleFactory: E }) => { - k.dependencyTemplates.set(q, new q.Template()) - k.dependencyTemplates.set(N, new N.Template()) - const handler = (k) => { - k.hooks.statementIf.tap(pe, (v) => { - if (k.scope.isAsmJs) return - const E = k.evaluateExpression(v.test) - const P = E.asBool() - if (typeof P === 'boolean') { - if (!E.couldHaveSideEffects()) { - const R = new q(`${P}`, E.range) - R.loc = v.loc - k.state.module.addPresentationalDependency(R) - } else { - k.walkExpression(v.test) - } - const R = P ? v.alternate : v.consequent - if (R) { - let v - if (k.scope.isStrict) { - v = getHoistedDeclarations(R, false) - } else { - v = getHoistedDeclarations(R, true) - } - let E - if (v.length > 0) { - E = `{ var ${v.join(', ')}; }` - } else { - E = '{}' - } - const P = new q(E, R.range) - P.loc = R.loc - k.state.module.addPresentationalDependency(P) - } - return P - } - }) - k.hooks.expressionConditionalOperator.tap(pe, (v) => { - if (k.scope.isAsmJs) return - const E = k.evaluateExpression(v.test) - const P = E.asBool() - if (typeof P === 'boolean') { - if (!E.couldHaveSideEffects()) { - const R = new q(` ${P}`, E.range) - R.loc = v.loc - k.state.module.addPresentationalDependency(R) - } else { - k.walkExpression(v.test) - } - const R = P ? v.alternate : v.consequent - const L = new q('0', R.range) - L.loc = R.loc - k.state.module.addPresentationalDependency(L) - return P - } - }) - k.hooks.expressionLogicalOperator.tap(pe, (v) => { - if (k.scope.isAsmJs) return - if (v.operator === '&&' || v.operator === '||') { - const E = k.evaluateExpression(v.left) - const P = E.asBool() - if (typeof P === 'boolean') { - const R = - (v.operator === '&&' && P) || (v.operator === '||' && !P) - if (!E.couldHaveSideEffects() && (E.isBoolean() || R)) { - const R = new q(` ${P}`, E.range) - R.loc = v.loc - k.state.module.addPresentationalDependency(R) - } else { - k.walkExpression(v.left) - } - if (!R) { - const E = new q('0', v.right.range) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - } - return R - } - } else if (v.operator === '??') { - const E = k.evaluateExpression(v.left) - const P = E.asNullish() - if (typeof P === 'boolean') { - if (!E.couldHaveSideEffects() && P) { - const P = new q(' null', E.range) - P.loc = v.loc - k.state.module.addPresentationalDependency(P) - } else { - const E = new q('0', v.right.range) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - k.walkExpression(v.left) - } - return P - } - } - }) - k.hooks.optionalChaining.tap(pe, (v) => { - const E = [] - let P = v.expression - while ( - P.type === 'MemberExpression' || - P.type === 'CallExpression' - ) { - if (P.type === 'MemberExpression') { - if (P.optional) { - E.push(P.object) - } - P = P.object - } else { - if (P.optional) { - E.push(P.callee) - } - P = P.callee - } - } - while (E.length) { - const P = E.pop() - const R = k.evaluateExpression(P) - if (R.asNullish()) { - const E = new q(' undefined', v.range) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - return true - } - } - }) - k.hooks.evaluateIdentifier.for('__resourceQuery').tap(pe, (E) => { - if (k.scope.isAsmJs) return - if (!k.state.module) return - return ae(v(k.state.module.resource).query)(E) - }) - k.hooks.expression.for('__resourceQuery').tap(pe, (E) => { - if (k.scope.isAsmJs) return - if (!k.state.module) return - const P = new N( - JSON.stringify(v(k.state.module.resource).query), - E.range, - '__resourceQuery' - ) - P.loc = E.loc - k.state.module.addPresentationalDependency(P) - return true - }) - k.hooks.evaluateIdentifier - .for('__resourceFragment') - .tap(pe, (E) => { - if (k.scope.isAsmJs) return - if (!k.state.module) return - return ae(v(k.state.module.resource).fragment)(E) - }) - k.hooks.expression.for('__resourceFragment').tap(pe, (E) => { - if (k.scope.isAsmJs) return - if (!k.state.module) return - const P = new N( - JSON.stringify(v(k.state.module.resource).fragment), - E.range, - '__resourceFragment' - ) - P.loc = E.loc - k.state.module.addPresentationalDependency(P) - return true - }) - } - E.hooks.parser.for(P).tap(pe, handler) - E.hooks.parser.for(R).tap(pe, handler) - E.hooks.parser.for(L).tap(pe, handler) - }) - } - } - k.exports = ConstPlugin - }, - 41454: function (k) { - 'use strict' - class ContextExclusionPlugin { - constructor(k) { - this.negativeMatcher = k - } - apply(k) { - k.hooks.contextModuleFactory.tap('ContextExclusionPlugin', (k) => { - k.hooks.contextModuleFiles.tap('ContextExclusionPlugin', (k) => - k.filter((k) => !this.negativeMatcher.test(k)) - ) - }) - } - } - k.exports = ContextExclusionPlugin - }, - 48630: function (k, v, E) { - 'use strict' - const { OriginalSource: P, RawSource: R } = E(51255) - const L = E(75081) - const { makeWebpackError: N } = E(82104) - const q = E(88396) - const { JAVASCRIPT_MODULE_TYPE_DYNAMIC: ae } = E(93622) - const le = E(56727) - const pe = E(95041) - const me = E(71572) - const { - compareLocations: ye, - concatComparators: _e, - compareSelect: Ie, - keepOriginalOrder: Me, - compareModulesById: Te, - } = E(95648) - const { - contextify: je, - parseResource: Ne, - makePathsRelative: Be, - } = E(65315) - const qe = E(58528) - const Ue = { timestamp: true } - const Ge = new Set(['javascript']) - class ContextModule extends q { - constructor(k, v) { - if (!v || typeof v.resource === 'string') { - const k = Ne(v ? v.resource : '') - const E = k.path - const P = (v && v.resourceQuery) || k.query - const R = (v && v.resourceFragment) || k.fragment - const L = v && v.layer - super(ae, E, L) - this.options = { - ...v, - resource: E, - resourceQuery: P, - resourceFragment: R, - } - } else { - super(ae, undefined, v.layer) - this.options = { - ...v, - resource: v.resource, - resourceQuery: v.resourceQuery || '', - resourceFragment: v.resourceFragment || '', - } - } - this.resolveDependencies = k - if (v && v.resolveOptions !== undefined) { - this.resolveOptions = v.resolveOptions - } - if (v && typeof v.mode !== 'string') { - throw new Error('options.mode is a required option') - } - this._identifier = this._createIdentifier() - this._forceBuild = true - } - getSourceTypes() { - return Ge - } - updateCacheModule(k) { - const v = k - this.resolveDependencies = v.resolveDependencies - this.options = v.options - } - cleanupForCache() { - super.cleanupForCache() - this.resolveDependencies = undefined - } - _prettyRegExp(k, v = true) { - const E = (k + '').replace(/!/g, '%21').replace(/\|/g, '%7C') - return v ? E.substring(1, E.length - 1) : E - } - _createIdentifier() { - let k = - this.context || - (typeof this.options.resource === 'string' || - this.options.resource === false - ? `${this.options.resource}` - : this.options.resource.join('|')) - if (this.options.resourceQuery) { - k += `|${this.options.resourceQuery}` - } - if (this.options.resourceFragment) { - k += `|${this.options.resourceFragment}` - } - if (this.options.mode) { - k += `|${this.options.mode}` - } - if (!this.options.recursive) { - k += '|nonrecursive' - } - if (this.options.addon) { - k += `|${this.options.addon}` - } - if (this.options.regExp) { - k += `|${this._prettyRegExp(this.options.regExp, false)}` - } - if (this.options.include) { - k += `|include: ${this._prettyRegExp(this.options.include, false)}` - } - if (this.options.exclude) { - k += `|exclude: ${this._prettyRegExp(this.options.exclude, false)}` - } - if (this.options.referencedExports) { - k += `|referencedExports: ${JSON.stringify( - this.options.referencedExports - )}` - } - if (this.options.chunkName) { - k += `|chunkName: ${this.options.chunkName}` - } - if (this.options.groupOptions) { - k += `|groupOptions: ${JSON.stringify(this.options.groupOptions)}` - } - if (this.options.namespaceObject === 'strict') { - k += '|strict namespace object' - } else if (this.options.namespaceObject) { - k += '|namespace object' - } - return k - } - identifier() { - return this._identifier - } - readableIdentifier(k) { - let v - if (this.context) { - v = k.shorten(this.context) + '/' - } else if ( - typeof this.options.resource === 'string' || - this.options.resource === false - ) { - v = k.shorten(`${this.options.resource}`) + '/' - } else { - v = this.options.resource.map((v) => k.shorten(v) + '/').join(' ') - } - if (this.options.resourceQuery) { - v += ` ${this.options.resourceQuery}` - } - if (this.options.mode) { - v += ` ${this.options.mode}` - } - if (!this.options.recursive) { - v += ' nonrecursive' - } - if (this.options.addon) { - v += ` ${k.shorten(this.options.addon)}` - } - if (this.options.regExp) { - v += ` ${this._prettyRegExp(this.options.regExp)}` - } - if (this.options.include) { - v += ` include: ${this._prettyRegExp(this.options.include)}` - } - if (this.options.exclude) { - v += ` exclude: ${this._prettyRegExp(this.options.exclude)}` - } - if (this.options.referencedExports) { - v += ` referencedExports: ${this.options.referencedExports - .map((k) => k.join('.')) - .join(', ')}` - } - if (this.options.chunkName) { - v += ` chunkName: ${this.options.chunkName}` - } - if (this.options.groupOptions) { - const k = this.options.groupOptions - for (const E of Object.keys(k)) { - v += ` ${E}: ${k[E]}` - } - } - if (this.options.namespaceObject === 'strict') { - v += ' strict namespace object' - } else if (this.options.namespaceObject) { - v += ' namespace object' - } - return v - } - libIdent(k) { - let v - if (this.context) { - v = je(k.context, this.context, k.associatedObjectForCache) - } else if (typeof this.options.resource === 'string') { - v = je(k.context, this.options.resource, k.associatedObjectForCache) - } else if (this.options.resource === false) { - v = 'false' - } else { - v = this.options.resource - .map((v) => je(k.context, v, k.associatedObjectForCache)) - .join(' ') - } - if (this.layer) v = `(${this.layer})/${v}` - if (this.options.mode) { - v += ` ${this.options.mode}` - } - if (this.options.recursive) { - v += ' recursive' - } - if (this.options.addon) { - v += ` ${je( - k.context, - this.options.addon, - k.associatedObjectForCache - )}` - } - if (this.options.regExp) { - v += ` ${this._prettyRegExp(this.options.regExp)}` - } - if (this.options.include) { - v += ` include: ${this._prettyRegExp(this.options.include)}` - } - if (this.options.exclude) { - v += ` exclude: ${this._prettyRegExp(this.options.exclude)}` - } - if (this.options.referencedExports) { - v += ` referencedExports: ${this.options.referencedExports - .map((k) => k.join('.')) - .join(', ')}` - } - return v - } - invalidateBuild() { - this._forceBuild = true - } - needBuild({ fileSystemInfo: k }, v) { - if (this._forceBuild) return v(null, true) - if (!this.buildInfo.snapshot) - return v(null, Boolean(this.context || this.options.resource)) - k.checkSnapshotValid(this.buildInfo.snapshot, (k, E) => { - v(k, !E) - }) - } - build(k, v, E, P, R) { - this._forceBuild = false - this.buildMeta = { - exportsType: 'default', - defaultObject: 'redirect-warn', - } - this.buildInfo = { snapshot: undefined } - this.dependencies.length = 0 - this.blocks.length = 0 - const q = Date.now() - this.resolveDependencies(P, this.options, (k, E) => { - if (k) { - return R(N(k, 'ContextModule.resolveDependencies')) - } - if (!E) { - R() - return - } - for (const k of E) { - k.loc = { name: k.userRequest } - k.request = this.options.addon + k.request - } - E.sort( - _e( - Ie((k) => k.loc, ye), - Me(this.dependencies) - ) - ) - if (this.options.mode === 'sync' || this.options.mode === 'eager') { - this.dependencies = E - } else if (this.options.mode === 'lazy-once') { - if (E.length > 0) { - const k = new L({ - ...this.options.groupOptions, - name: this.options.chunkName, - }) - for (const v of E) { - k.addDependency(v) - } - this.addBlock(k) - } - } else if ( - this.options.mode === 'weak' || - this.options.mode === 'async-weak' - ) { - for (const k of E) { - k.weak = true - } - this.dependencies = E - } else if (this.options.mode === 'lazy') { - let k = 0 - for (const v of E) { - let E = this.options.chunkName - if (E) { - if (!/\[(index|request)\]/.test(E)) { - E += '[index]' - } - E = E.replace(/\[index\]/g, `${k++}`) - E = E.replace(/\[request\]/g, pe.toPath(v.userRequest)) - } - const P = new L( - { ...this.options.groupOptions, name: E }, - v.loc, - v.userRequest - ) - P.addDependency(v) - this.addBlock(P) - } - } else { - R(new me(`Unsupported mode "${this.options.mode}" in context`)) - return - } - if (!this.context && !this.options.resource) return R() - v.fileSystemInfo.createSnapshot( - q, - null, - this.context - ? [this.context] - : typeof this.options.resource === 'string' - ? [this.options.resource] - : this.options.resource, - null, - Ue, - (k, v) => { - if (k) return R(k) - this.buildInfo.snapshot = v - R() - } - ) - }) - } - addCacheDependencies(k, v, E, P) { - if (this.context) { - v.add(this.context) - } else if (typeof this.options.resource === 'string') { - v.add(this.options.resource) - } else if (this.options.resource === false) { - return - } else { - for (const k of this.options.resource) v.add(k) - } - } - getUserRequestMap(k, v) { - const E = v.moduleGraph - const P = k - .filter((k) => E.getModule(k)) - .sort((k, v) => { - if (k.userRequest === v.userRequest) { - return 0 - } - return k.userRequest < v.userRequest ? -1 : 1 - }) - const R = Object.create(null) - for (const k of P) { - const P = E.getModule(k) - R[k.userRequest] = v.getModuleId(P) - } - return R - } - getFakeMap(k, v) { - if (!this.options.namespaceObject) { - return 9 - } - const E = v.moduleGraph - let P = 0 - const R = Te(v) - const L = k - .map((k) => E.getModule(k)) - .filter(Boolean) - .sort(R) - const N = Object.create(null) - for (const k of L) { - const R = k.getExportsType( - E, - this.options.namespaceObject === 'strict' - ) - const L = v.getModuleId(k) - switch (R) { - case 'namespace': - N[L] = 9 - P |= 1 - break - case 'dynamic': - N[L] = 7 - P |= 2 - break - case 'default-only': - N[L] = 1 - P |= 4 - break - case 'default-with-named': - N[L] = 3 - P |= 8 - break - default: - throw new Error(`Unexpected exports type ${R}`) - } - } - if (P === 1) { - return 9 - } - if (P === 2) { - return 7 - } - if (P === 4) { - return 1 - } - if (P === 8) { - return 3 - } - if (P === 0) { - return 9 - } - return N - } - getFakeMapInitStatement(k) { - return typeof k === 'object' - ? `var fakeMap = ${JSON.stringify(k, null, '\t')};` - : '' - } - getReturn(k, v) { - if (k === 9) { - return `${le.require}(id)` - } - return `${le.createFakeNamespaceObject}(id, ${k}${v ? ' | 16' : ''})` - } - getReturnModuleObjectSource(k, v, E = 'fakeMap[id]') { - if (typeof k === 'number') { - return `return ${this.getReturn(k, v)};` - } - return `return ${le.createFakeNamespaceObject}(id, ${E}${ - v ? ' | 16' : '' - })` - } - getSyncSource(k, v, E) { - const P = this.getUserRequestMap(k, E) - const R = this.getFakeMap(k, E) - const L = this.getReturnModuleObjectSource(R) - return `var map = ${JSON.stringify( - P, - null, - '\t' - )};\n${this.getFakeMapInitStatement( - R - )}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${L}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ - le.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( - v - )};` - } - getWeakSyncSource(k, v, E) { - const P = this.getUserRequestMap(k, E) - const R = this.getFakeMap(k, E) - const L = this.getReturnModuleObjectSource(R) - return `var map = ${JSON.stringify( - P, - null, - '\t' - )};\n${this.getFakeMapInitStatement( - R - )}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${ - le.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${L}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ - le.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( - v - )};\nmodule.exports = webpackContext;` - } - getAsyncWeakSource(k, v, { chunkGraph: E, runtimeTemplate: P }) { - const R = P.supportsArrowFunction() - const L = this.getUserRequestMap(k, E) - const N = this.getFakeMap(k, E) - const q = this.getReturnModuleObjectSource(N, true) - return `var map = ${JSON.stringify( - L, - null, - '\t' - )};\n${this.getFakeMapInitStatement( - N - )}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ - R ? 'id =>' : 'function(id)' - } {\n\t\tif(!${ - le.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${q}\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(${ - R ? '() =>' : 'function()' - } {\n\t\tif(!${ - le.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 = ${P.returningFunction( - 'Object.keys(map)' - )};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify( - v - )};\nmodule.exports = webpackAsyncContext;` - } - getEagerSource(k, v, { chunkGraph: E, runtimeTemplate: P }) { - const R = P.supportsArrowFunction() - const L = this.getUserRequestMap(k, E) - const N = this.getFakeMap(k, E) - const q = - N !== 9 - ? `${ - R ? 'id =>' : 'function(id)' - } {\n\t\t${this.getReturnModuleObjectSource(N)}\n\t}` - : le.require - return `var map = ${JSON.stringify( - L, - null, - '\t' - )};\n${this.getFakeMapInitStatement( - N - )}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${q});\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(${ - R ? '() =>' : 'function()' - } {\n\t\tif(!${ - le.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 = ${P.returningFunction( - 'Object.keys(map)' - )};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify( - v - )};\nmodule.exports = webpackAsyncContext;` - } - getLazyOnceSource(k, v, E, { runtimeTemplate: P, chunkGraph: R }) { - const L = P.blockPromise({ - chunkGraph: R, - block: k, - message: 'lazy-once context', - runtimeRequirements: new Set(), - }) - const N = P.supportsArrowFunction() - const q = this.getUserRequestMap(v, R) - const ae = this.getFakeMap(v, R) - const pe = - ae !== 9 - ? `${ - N ? 'id =>' : 'function(id)' - } {\n\t\t${this.getReturnModuleObjectSource(ae, true)};\n\t}` - : le.require - return `var map = ${JSON.stringify( - q, - null, - '\t' - )};\n${this.getFakeMapInitStatement( - ae - )}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${pe});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${L}.then(${ - N ? '() =>' : 'function()' - } {\n\t\tif(!${ - le.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 = ${P.returningFunction( - 'Object.keys(map)' - )};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify( - E - )};\nmodule.exports = webpackAsyncContext;` - } - getLazySource(k, v, { chunkGraph: E, runtimeTemplate: P }) { - const R = E.moduleGraph - const L = P.supportsArrowFunction() - let N = false - let q = true - const ae = this.getFakeMap( - k.map((k) => k.dependencies[0]), - E - ) - const pe = typeof ae === 'object' - const me = k - .map((k) => { - const v = k.dependencies[0] - return { - dependency: v, - module: R.getModule(v), - block: k, - userRequest: v.userRequest, - chunks: undefined, - } - }) - .filter((k) => k.module) - for (const k of me) { - const v = E.getBlockChunkGroup(k.block) - const P = (v && v.chunks) || [] - k.chunks = P - if (P.length > 0) { - q = false - } - if (P.length !== 1) { - N = true - } - } - const ye = q && !pe - const _e = me.sort((k, v) => { - if (k.userRequest === v.userRequest) return 0 - return k.userRequest < v.userRequest ? -1 : 1 - }) - const Ie = Object.create(null) - for (const k of _e) { - const v = E.getModuleId(k.module) - if (ye) { - Ie[k.userRequest] = v - } else { - const E = [v] - if (pe) { - E.push(ae[v]) - } - Ie[k.userRequest] = E.concat(k.chunks.map((k) => k.id)) - } - } - const Me = pe ? 2 : 1 - const Te = q - ? 'Promise.resolve()' - : N - ? `Promise.all(ids.slice(${Me}).map(${le.ensureChunk}))` - : `${le.ensureChunk}(ids[${Me}])` - const je = this.getReturnModuleObjectSource( - ae, - true, - ye ? 'invalid' : 'ids[1]' - ) - const Ne = - Te === 'Promise.resolve()' - ? `\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${ - L ? '() =>' : 'function()' - } {\n\t\tif(!${ - le.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${ - ye ? 'var id = map[req];' : 'var ids = map[req], id = ids[0];' - }\n\t\t${je}\n\t});\n}` - : `function webpackAsyncContext(req) {\n\tif(!${ - le.hasOwnProperty - }(map, req)) {\n\t\treturn Promise.resolve().then(${ - L ? '() =>' : '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 ${Te}.then(${ - L ? '() =>' : 'function()' - } {\n\t\t${je}\n\t});\n}` - return `var map = ${JSON.stringify( - Ie, - null, - '\t' - )};\n${Ne}\nwebpackAsyncContext.keys = ${P.returningFunction( - 'Object.keys(map)' - )};\nwebpackAsyncContext.id = ${JSON.stringify( - v - )};\nmodule.exports = webpackAsyncContext;` - } - getSourceForEmptyContext(k, v) { - 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 = ${v.returningFunction( - '[]' - )};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify( - k - )};\nmodule.exports = webpackEmptyContext;` - } - getSourceForEmptyAsyncContext(k, v) { - const E = v.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(${ - E ? '() =>' : '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 = ${v.returningFunction( - '[]' - )};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify( - k - )};\nmodule.exports = webpackEmptyAsyncContext;` - } - getSourceString(k, { runtimeTemplate: v, chunkGraph: E }) { - const P = E.getModuleId(this) - if (k === 'lazy') { - if (this.blocks && this.blocks.length > 0) { - return this.getLazySource(this.blocks, P, { - runtimeTemplate: v, - chunkGraph: E, - }) - } - return this.getSourceForEmptyAsyncContext(P, v) - } - if (k === 'eager') { - if (this.dependencies && this.dependencies.length > 0) { - return this.getEagerSource(this.dependencies, P, { - chunkGraph: E, - runtimeTemplate: v, - }) - } - return this.getSourceForEmptyAsyncContext(P, v) - } - if (k === 'lazy-once') { - const k = this.blocks[0] - if (k) { - return this.getLazyOnceSource(k, k.dependencies, P, { - runtimeTemplate: v, - chunkGraph: E, - }) - } - return this.getSourceForEmptyAsyncContext(P, v) - } - if (k === 'async-weak') { - if (this.dependencies && this.dependencies.length > 0) { - return this.getAsyncWeakSource(this.dependencies, P, { - chunkGraph: E, - runtimeTemplate: v, - }) - } - return this.getSourceForEmptyAsyncContext(P, v) - } - if (k === 'weak') { - if (this.dependencies && this.dependencies.length > 0) { - return this.getWeakSyncSource(this.dependencies, P, E) - } - } - if (this.dependencies && this.dependencies.length > 0) { - return this.getSyncSource(this.dependencies, P, E) - } - return this.getSourceForEmptyContext(P, v) - } - getSource(k, v) { - if (this.useSourceMap || this.useSimpleSourceMap) { - return new P( - k, - `webpack://${Be( - (v && v.compiler.context) || '', - this.identifier(), - v && v.compiler.root - )}` - ) - } - return new R(k) - } - codeGeneration(k) { - const { chunkGraph: v, compilation: E } = k - const P = new Map() - P.set( - 'javascript', - this.getSource(this.getSourceString(this.options.mode, k), E) - ) - const R = new Set() - const L = - this.dependencies.length > 0 ? this.dependencies.slice() : [] - for (const k of this.blocks) for (const v of k.dependencies) L.push(v) - R.add(le.module) - R.add(le.hasOwnProperty) - if (L.length > 0) { - const k = this.options.mode - R.add(le.require) - if (k === 'weak') { - R.add(le.moduleFactories) - } else if (k === 'async-weak') { - R.add(le.moduleFactories) - R.add(le.ensureChunk) - } else if (k === 'lazy' || k === 'lazy-once') { - R.add(le.ensureChunk) - } - if (this.getFakeMap(L, v) !== 9) { - R.add(le.createFakeNamespaceObject) - } - } - return { sources: P, runtimeRequirements: R } - } - size(k) { - let v = 160 - for (const k of this.dependencies) { - const E = k - v += 5 + E.userRequest.length - } - return v - } - serialize(k) { - const { write: v } = k - v(this._identifier) - v(this._forceBuild) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this._identifier = v() - this._forceBuild = v() - super.deserialize(k) - } - } - qe(ContextModule, 'webpack/lib/ContextModule') - k.exports = ContextModule - }, - 20467: function (k, v, E) { - 'use strict' - const P = E(78175) - const { AsyncSeriesWaterfallHook: R, SyncWaterfallHook: L } = E(79846) - const N = E(48630) - const q = E(66043) - const ae = E(16624) - const le = E(12359) - const { cachedSetProperty: pe } = E(99454) - const { createFakeHook: me } = E(61883) - const { join: ye } = E(57825) - const _e = {} - k.exports = class ContextModuleFactory extends q { - constructor(k) { - super() - const v = new R(['modules', 'options']) - this.hooks = Object.freeze({ - beforeResolve: new R(['data']), - afterResolve: new R(['data']), - contextModuleFiles: new L(['files']), - alternatives: me( - { - name: 'alternatives', - intercept: (k) => { - throw new Error( - 'Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead' - ) - }, - tap: (k, E) => { - v.tap(k, E) - }, - tapAsync: (k, E) => { - v.tapAsync(k, (k, v, P) => E(k, P)) - }, - tapPromise: (k, E) => { - v.tapPromise(k, E) - }, - }, - 'ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.', - 'DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES' - ), - alternativeRequests: v, - }) - this.resolverFactory = k - } - create(k, v) { - const E = k.context - const R = k.dependencies - const L = k.resolveOptions - const q = R[0] - const ae = new le() - const me = new le() - const ye = new le() - this.hooks.beforeResolve.callAsync( - { - context: E, - dependencies: R, - layer: k.contextInfo.issuerLayer, - resolveOptions: L, - fileDependencies: ae, - missingDependencies: me, - contextDependencies: ye, - ...q.options, - }, - (k, E) => { - if (k) { - return v(k, { - fileDependencies: ae, - missingDependencies: me, - contextDependencies: ye, - }) - } - if (!E) { - return v(null, { - fileDependencies: ae, - missingDependencies: me, - contextDependencies: ye, - }) - } - const L = E.context - const q = E.request - const le = E.resolveOptions - let Ie, - Me, - Te = '' - const je = q.lastIndexOf('!') - if (je >= 0) { - let k = q.slice(0, je + 1) - let v - for (v = 0; v < k.length && k[v] === '!'; v++) { - Te += '!' - } - k = k.slice(v).replace(/!+$/, '').replace(/!!+/g, '!') - if (k === '') { - Ie = [] - } else { - Ie = k.split('!') - } - Me = q.slice(je + 1) - } else { - Ie = [] - Me = q - } - const Ne = this.resolverFactory.get( - 'context', - R.length > 0 - ? pe(le || _e, 'dependencyType', R[0].category) - : le - ) - const Be = this.resolverFactory.get('loader') - P.parallel( - [ - (k) => { - const v = [] - const yield_ = (k) => v.push(k) - Ne.resolve( - {}, - L, - Me, - { - fileDependencies: ae, - missingDependencies: me, - contextDependencies: ye, - yield: yield_, - }, - (E) => { - if (E) return k(E) - k(null, v) - } - ) - }, - (k) => { - P.map( - Ie, - (k, v) => { - Be.resolve( - {}, - L, - k, - { - fileDependencies: ae, - missingDependencies: me, - contextDependencies: ye, - }, - (k, E) => { - if (k) return v(k) - v(null, E) - } - ) - }, - k - ) - }, - ], - (k, P) => { - if (k) { - return v(k, { - fileDependencies: ae, - missingDependencies: me, - contextDependencies: ye, - }) - } - let [R, L] = P - if (R.length > 1) { - const k = R[0] - R = R.filter((k) => k.path) - if (R.length === 0) R.push(k) - } - this.hooks.afterResolve.callAsync( - { - addon: Te + L.join('!') + (L.length > 0 ? '!' : ''), - resource: R.length > 1 ? R.map((k) => k.path) : R[0].path, - resolveDependencies: this.resolveDependencies.bind(this), - resourceQuery: R[0].query, - resourceFragment: R[0].fragment, - ...E, - }, - (k, E) => { - if (k) { - return v(k, { - fileDependencies: ae, - missingDependencies: me, - contextDependencies: ye, - }) - } - if (!E) { - return v(null, { - fileDependencies: ae, - missingDependencies: me, - contextDependencies: ye, - }) - } - return v(null, { - module: new N(E.resolveDependencies, E), - fileDependencies: ae, - missingDependencies: me, - contextDependencies: ye, - }) - } - ) - } - ) - } - ) - } - resolveDependencies(k, v, E) { - const R = this - const { - resource: L, - resourceQuery: N, - resourceFragment: q, - recursive: le, - regExp: pe, - include: me, - exclude: _e, - referencedExports: Ie, - category: Me, - typePrefix: Te, - } = v - if (!pe || !L) return E(null, []) - const addDirectoryChecked = (v, E, P, R) => { - k.realpath(E, (k, L) => { - if (k) return R(k) - if (P.has(L)) return R(null, []) - let N - addDirectory( - v, - E, - (k, E, R) => { - if (N === undefined) { - N = new Set(P) - N.add(L) - } - addDirectoryChecked(v, E, N, R) - }, - R - ) - }) - } - const addDirectory = (E, L, je, Ne) => { - k.readdir(L, (Be, qe) => { - if (Be) return Ne(Be) - const Ue = R.hooks.contextModuleFiles.call( - qe.map((k) => k.normalize('NFC')) - ) - if (!Ue || Ue.length === 0) return Ne(null, []) - P.map( - Ue.filter((k) => k.indexOf('.') !== 0), - (P, R) => { - const Ne = ye(k, L, P) - if (!_e || !Ne.match(_e)) { - k.stat(Ne, (k, P) => { - if (k) { - if (k.code === 'ENOENT') { - return R() - } else { - return R(k) - } - } - if (P.isDirectory()) { - if (!le) return R() - je(E, Ne, R) - } else if (P.isFile() && (!me || Ne.match(me))) { - const k = { - context: E, - request: '.' + Ne.slice(E.length).replace(/\\/g, '/'), - } - this.hooks.alternativeRequests.callAsync( - [k], - v, - (k, v) => { - if (k) return R(k) - v = v - .filter((k) => pe.test(k.request)) - .map((k) => { - const v = new ae( - `${k.request}${N}${q}`, - k.request, - Te, - Me, - Ie, - k.context - ) - v.optional = true - return v - }) - R(null, v) - } - ) - } else { - R() - } - }) - } else { - R() - } - }, - (k, v) => { - if (k) return Ne(k) - if (!v) return Ne(null, []) - const E = [] - for (const k of v) { - if (k) E.push(...k) - } - Ne(null, E) - } - ) - }) - } - const addSubDirectory = (k, v, E) => - addDirectory(k, v, addSubDirectory, E) - const visitResource = (v, E) => { - if (typeof k.realpath === 'function') { - addDirectoryChecked(v, v, new Set(), E) - } else { - addDirectory(v, v, addSubDirectory, E) - } - } - if (typeof L === 'string') { - visitResource(L, E) - } else { - P.map(L, visitResource, (k, v) => { - if (k) return E(k) - const P = new Set() - const R = [] - for (let k = 0; k < v.length; k++) { - const E = v[k] - for (const k of E) { - if (P.has(k.userRequest)) continue - R.push(k) - P.add(k.userRequest) - } - } - E(null, R) - }) - } - } - } - }, - 98047: function (k, v, E) { - 'use strict' - const P = E(16624) - const { join: R } = E(57825) - class ContextReplacementPlugin { - constructor(k, v, E, P) { - this.resourceRegExp = k - if (typeof v === 'function') { - this.newContentCallback = v - } else if (typeof v === 'string' && typeof E === 'object') { - this.newContentResource = v - this.newContentCreateContextMap = (k, v) => { - v(null, E) - } - } else if (typeof v === 'string' && typeof E === 'function') { - this.newContentResource = v - this.newContentCreateContextMap = E - } else { - if (typeof v !== 'string') { - P = E - E = v - v = undefined - } - if (typeof E !== 'boolean') { - P = E - E = undefined - } - this.newContentResource = v - this.newContentRecursive = E - this.newContentRegExp = P - } - } - apply(k) { - const v = this.resourceRegExp - const E = this.newContentCallback - const P = this.newContentResource - const L = this.newContentRecursive - const N = this.newContentRegExp - const q = this.newContentCreateContextMap - k.hooks.contextModuleFactory.tap('ContextReplacementPlugin', (ae) => { - ae.hooks.beforeResolve.tap('ContextReplacementPlugin', (k) => { - if (!k) return - if (v.test(k.request)) { - if (P !== undefined) { - k.request = P - } - if (L !== undefined) { - k.recursive = L - } - if (N !== undefined) { - k.regExp = N - } - if (typeof E === 'function') { - E(k) - } else { - for (const v of k.dependencies) { - if (v.critical) v.critical = false - } - } - } - return k - }) - ae.hooks.afterResolve.tap('ContextReplacementPlugin', (ae) => { - if (!ae) return - if (v.test(ae.resource)) { - if (P !== undefined) { - if (P.startsWith('/') || (P.length > 1 && P[1] === ':')) { - ae.resource = P - } else { - ae.resource = R(k.inputFileSystem, ae.resource, P) - } - } - if (L !== undefined) { - ae.recursive = L - } - if (N !== undefined) { - ae.regExp = N - } - if (typeof q === 'function') { - ae.resolveDependencies = - createResolveDependenciesFromContextMap(q) - } - if (typeof E === 'function') { - const v = ae.resource - E(ae) - if ( - ae.resource !== v && - !ae.resource.startsWith('/') && - (ae.resource.length <= 1 || ae.resource[1] !== ':') - ) { - ae.resource = R(k.inputFileSystem, v, ae.resource) - } - } else { - for (const k of ae.dependencies) { - if (k.critical) k.critical = false - } - } - } - return ae - }) - }) - } - } - const createResolveDependenciesFromContextMap = (k) => { - const resolveDependenciesFromContextMap = (v, E, R) => { - k(v, (k, v) => { - if (k) return R(k) - const L = Object.keys(v).map( - (k) => - new P( - v[k] + E.resourceQuery + E.resourceFragment, - k, - E.category, - E.referencedExports - ) - ) - R(null, L) - }) - } - return resolveDependenciesFromContextMap - } - k.exports = ContextReplacementPlugin - }, - 51585: function (k, v, E) { - 'use strict' - const P = E(38224) - const R = E(58528) - class CssModule extends P { - constructor(k) { - super(k) - this.cssLayer = k.cssLayer - this.supports = k.supports - this.media = k.media - this.inheritance = k.inheritance - } - identifier() { - let k = super.identifier() - if (this.cssLayer) { - k += `|${this.cssLayer}` - } - if (this.supports) { - k += `|${this.supports}` - } - if (this.media) { - k += `|${this.media}` - } - if (this.inheritance) { - const v = this.inheritance.map( - (k, v) => - `inheritance_${v}|${k[0] || ''}|${k[1] || ''}|${k[2] || ''}` - ) - k += `|${v.join('|')}` - } - return k - } - readableIdentifier(k) { - const v = super.readableIdentifier(k) - let E = `css ${v}` - if (this.cssLayer) { - E += ` (layer: ${this.cssLayer})` - } - if (this.supports) { - E += ` (supports: ${this.supports})` - } - if (this.media) { - E += ` (media: ${this.media})` - } - return E - } - updateCacheModule(k) { - super.updateCacheModule(k) - const v = k - this.cssLayer = v.cssLayer - this.supports = v.supports - this.media = v.media - this.inheritance = v.inheritance - } - serialize(k) { - const { write: v } = k - v(this.cssLayer) - v(this.supports) - v(this.media) - v(this.inheritance) - super.serialize(k) - } - static deserialize(k) { - const v = new CssModule({ - layer: null, - type: '', - resource: '', - context: '', - request: null, - userRequest: null, - rawRequest: null, - loaders: null, - matchResource: null, - parser: null, - parserOptions: null, - generator: null, - generatorOptions: null, - resolveOptions: null, - cssLayer: null, - supports: null, - media: null, - inheritance: null, - }) - v.deserialize(k) - return v - } - deserialize(k) { - const { read: v } = k - this.cssLayer = v() - this.supports = v() - this.media = v() - this.inheritance = v() - super.deserialize(k) - } - } - R(CssModule, 'webpack/lib/CssModule') - k.exports = CssModule - }, - 91602: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_ESM: R, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: L, - } = E(93622) - const N = E(56727) - const q = E(71572) - const ae = E(60381) - const le = E(70037) - const { evaluateToString: pe, toConstantDependency: me } = E(80784) - const ye = E(74012) - class RuntimeValue { - constructor(k, v) { - this.fn = k - if (Array.isArray(v)) { - v = { fileDependencies: v } - } - this.options = v || {} - } - get fileDependencies() { - return this.options === true ? true : this.options.fileDependencies - } - exec(k, v, E) { - const P = k.state.module.buildInfo - if (this.options === true) { - P.cacheable = false - } else { - if (this.options.fileDependencies) { - for (const k of this.options.fileDependencies) { - P.fileDependencies.add(k) - } - } - if (this.options.contextDependencies) { - for (const k of this.options.contextDependencies) { - P.contextDependencies.add(k) - } - } - if (this.options.missingDependencies) { - for (const k of this.options.missingDependencies) { - P.missingDependencies.add(k) - } - } - if (this.options.buildDependencies) { - for (const k of this.options.buildDependencies) { - P.buildDependencies.add(k) - } - } - } - return this.fn({ - module: k.state.module, - key: E, - get version() { - return v.get(Ie + E) - }, - }) - } - getCacheVersion() { - return this.options === true - ? undefined - : (typeof this.options.version === 'function' - ? this.options.version() - : this.options.version) || 'unset' - } - } - const stringifyObj = (k, v, E, P, R, L, N, q) => { - let ae - let le = Array.isArray(k) - if (le) { - ae = `[${k.map((k) => toCode(k, v, E, P, R, L, null)).join(',')}]` - } else { - let P = Object.keys(k) - if (q) { - if (q.size === 0) P = [] - else P = P.filter((k) => q.has(k)) - } - ae = `{${P.map((P) => { - const N = k[P] - return JSON.stringify(P) + ':' + toCode(N, v, E, P, R, L, null) - }).join(',')}}` - } - switch (N) { - case null: - return ae - case true: - return le ? ae : `(${ae})` - case false: - return le ? `;${ae}` : `;(${ae})` - default: - return `/*#__PURE__*/Object(${ae})` - } - } - const toCode = (k, v, E, P, R, L, N, q) => { - const transformToCode = () => { - if (k === null) { - return 'null' - } - if (k === undefined) { - return 'undefined' - } - if (Object.is(k, -0)) { - return '-0' - } - if (k instanceof RuntimeValue) { - return toCode(k.exec(v, E, P), v, E, P, R, L, N) - } - if (k instanceof RegExp && k.toString) { - return k.toString() - } - if (typeof k === 'function' && k.toString) { - return '(' + k.toString() + ')' - } - if (typeof k === 'object') { - return stringifyObj(k, v, E, P, R, L, N, q) - } - if (typeof k === 'bigint') { - return R.supportsBigIntLiteral() ? `${k}n` : `BigInt("${k}")` - } - return k + '' - } - const ae = transformToCode() - L.log(`Replaced "${P}" with "${ae}"`) - return ae - } - const toCacheVersion = (k) => { - if (k === null) { - return 'null' - } - if (k === undefined) { - return 'undefined' - } - if (Object.is(k, -0)) { - return '-0' - } - if (k instanceof RuntimeValue) { - return k.getCacheVersion() - } - if (k instanceof RegExp && k.toString) { - return k.toString() - } - if (typeof k === 'function' && k.toString) { - return '(' + k.toString() + ')' - } - if (typeof k === 'object') { - const v = Object.keys(k).map((v) => ({ - key: v, - value: toCacheVersion(k[v]), - })) - if (v.some(({ value: k }) => k === undefined)) return undefined - return `{${v.map(({ key: k, value: v }) => `${k}: ${v}`).join(', ')}}` - } - if (typeof k === 'bigint') { - return `${k}n` - } - return k + '' - } - const _e = 'DefinePlugin' - const Ie = `webpack/${_e} ` - const Me = `webpack/${_e}_hash` - const Te = /^typeof\s+/ - const je = /__webpack_require__\s*(!?\.)/ - const Ne = /__webpack_require__/ - class DefinePlugin { - constructor(k) { - this.definitions = k - } - static runtimeValue(k, v) { - return new RuntimeValue(k, v) - } - apply(k) { - const v = this.definitions - k.hooks.compilation.tap(_e, (k, { normalModuleFactory: E }) => { - const Be = k.getLogger('webpack.DefinePlugin') - k.dependencyTemplates.set(ae, new ae.Template()) - const { runtimeTemplate: qe } = k - const Ue = ye(k.outputOptions.hashFunction) - Ue.update(k.valueCacheVersions.get(Me) || '') - const handler = (E) => { - const P = k.valueCacheVersions.get(Me) - E.hooks.program.tap(_e, () => { - const { buildInfo: k } = E.state.module - if (!k.valueDependencies) k.valueDependencies = new Map() - k.valueDependencies.set(Me, P) - }) - const addValueDependency = (v) => { - const { buildInfo: P } = E.state.module - P.valueDependencies.set( - Ie + v, - k.valueCacheVersions.get(Ie + v) - ) - } - const withValueDependency = - (k, v) => - (...E) => { - addValueDependency(k) - return v(...E) - } - const walkDefinitions = (k, v) => { - Object.keys(k).forEach((E) => { - const P = k[E] - if ( - P && - typeof P === 'object' && - !(P instanceof RuntimeValue) && - !(P instanceof RegExp) - ) { - walkDefinitions(P, v + E + '.') - applyObjectDefine(v + E, P) - return - } - applyDefineKey(v, E) - applyDefine(v + E, P) - }) - } - const applyDefineKey = (k, v) => { - const P = v.split('.') - P.slice(1).forEach((R, L) => { - const N = k + P.slice(0, L + 1).join('.') - E.hooks.canRename.for(N).tap(_e, () => { - addValueDependency(v) - return true - }) - }) - } - const applyDefine = (v, P) => { - const R = v - const L = Te.test(v) - if (L) v = v.replace(Te, '') - let q = false - let ae = false - if (!L) { - E.hooks.canRename.for(v).tap(_e, () => { - addValueDependency(R) - return true - }) - E.hooks.evaluateIdentifier.for(v).tap(_e, (L) => { - if (q) return - addValueDependency(R) - q = true - const N = E.evaluate( - toCode(P, E, k.valueCacheVersions, v, qe, Be, null) - ) - q = false - N.setRange(L.range) - return N - }) - E.hooks.expression.for(v).tap(_e, (v) => { - addValueDependency(R) - let L = toCode( - P, - E, - k.valueCacheVersions, - R, - qe, - Be, - !E.isAsiPosition(v.range[0]), - E.destructuringAssignmentPropertiesFor(v) - ) - if (E.scope.inShorthand) { - L = E.scope.inShorthand + ':' + L - } - if (je.test(L)) { - return me(E, L, [N.require])(v) - } else if (Ne.test(L)) { - return me(E, L, [N.requireScope])(v) - } else { - return me(E, L)(v) - } - }) - } - E.hooks.evaluateTypeof.for(v).tap(_e, (v) => { - if (ae) return - ae = true - addValueDependency(R) - const N = toCode(P, E, k.valueCacheVersions, R, qe, Be, null) - const q = L ? N : 'typeof (' + N + ')' - const le = E.evaluate(q) - ae = false - le.setRange(v.range) - return le - }) - E.hooks.typeof.for(v).tap(_e, (v) => { - addValueDependency(R) - const N = toCode(P, E, k.valueCacheVersions, R, qe, Be, null) - const q = L ? N : 'typeof (' + N + ')' - const ae = E.evaluate(q) - if (!ae.isString()) return - return me(E, JSON.stringify(ae.string)).bind(E)(v) - }) - } - const applyObjectDefine = (v, P) => { - E.hooks.canRename.for(v).tap(_e, () => { - addValueDependency(v) - return true - }) - E.hooks.evaluateIdentifier.for(v).tap(_e, (k) => { - addValueDependency(v) - return new le() - .setTruthy() - .setSideEffects(false) - .setRange(k.range) - }) - E.hooks.evaluateTypeof - .for(v) - .tap(_e, withValueDependency(v, pe('object'))) - E.hooks.expression.for(v).tap(_e, (R) => { - addValueDependency(v) - let L = stringifyObj( - P, - E, - k.valueCacheVersions, - v, - qe, - Be, - !E.isAsiPosition(R.range[0]), - E.destructuringAssignmentPropertiesFor(R) - ) - if (E.scope.inShorthand) { - L = E.scope.inShorthand + ':' + L - } - if (je.test(L)) { - return me(E, L, [N.require])(R) - } else if (Ne.test(L)) { - return me(E, L, [N.requireScope])(R) - } else { - return me(E, L)(R) - } - }) - E.hooks.typeof - .for(v) - .tap( - _e, - withValueDependency(v, me(E, JSON.stringify('object'))) - ) - } - walkDefinitions(v, '') - } - E.hooks.parser.for(P).tap(_e, handler) - E.hooks.parser.for(L).tap(_e, handler) - E.hooks.parser.for(R).tap(_e, handler) - const walkDefinitionsForValues = (v, E) => { - Object.keys(v).forEach((P) => { - const R = v[P] - const L = toCacheVersion(R) - const N = Ie + E + P - Ue.update('|' + E + P) - const ae = k.valueCacheVersions.get(N) - if (ae === undefined) { - k.valueCacheVersions.set(N, L) - } else if (ae !== L) { - const v = new q(`${_e}\nConflicting values for '${E + P}'`) - v.details = `'${ae}' !== '${L}'` - v.hideStack = true - k.warnings.push(v) - } - if ( - R && - typeof R === 'object' && - !(R instanceof RuntimeValue) && - !(R instanceof RegExp) - ) { - walkDefinitionsForValues(R, E + P + '.') - } - }) - } - walkDefinitionsForValues(v, '') - k.valueCacheVersions.set(Me, Ue.digest('hex').slice(0, 8)) - }) - } - } - k.exports = DefinePlugin - }, - 50901: function (k, v, E) { - 'use strict' - const { OriginalSource: P, RawSource: R } = E(51255) - const L = E(88396) - const { JAVASCRIPT_MODULE_TYPE_DYNAMIC: N } = E(93622) - const q = E(56727) - const ae = E(47788) - const le = E(93414) - const pe = E(58528) - const me = new Set(['javascript']) - const ye = new Set([q.module, q.require]) - class DelegatedModule extends L { - constructor(k, v, E, P, R) { - super(N, null) - this.sourceRequest = k - this.request = v.id - this.delegationType = E - this.userRequest = P - this.originalRequest = R - this.delegateData = v - this.delegatedSourceDependency = undefined - } - getSourceTypes() { - return me - } - libIdent(k) { - return typeof this.originalRequest === 'string' - ? this.originalRequest - : this.originalRequest.libIdent(k) - } - identifier() { - return `delegated ${JSON.stringify(this.request)} from ${ - this.sourceRequest - }` - } - readableIdentifier(k) { - return `delegated ${this.userRequest} from ${this.sourceRequest}` - } - needBuild(k, v) { - return v(null, !this.buildMeta) - } - build(k, v, E, P, R) { - this.buildMeta = { ...this.delegateData.buildMeta } - this.buildInfo = {} - this.dependencies.length = 0 - this.delegatedSourceDependency = new ae(this.sourceRequest) - this.addDependency(this.delegatedSourceDependency) - this.addDependency(new le(this.delegateData.exports || true, false)) - R() - } - codeGeneration({ runtimeTemplate: k, moduleGraph: v, chunkGraph: E }) { - const L = this.dependencies[0] - const N = v.getModule(L) - let q - if (!N) { - q = k.throwMissingModuleErrorBlock({ request: this.sourceRequest }) - } else { - q = `module.exports = (${k.moduleExports({ - module: N, - chunkGraph: E, - request: L.request, - runtimeRequirements: new Set(), - })})` - switch (this.delegationType) { - case 'require': - q += `(${JSON.stringify(this.request)})` - break - case 'object': - q += `[${JSON.stringify(this.request)}]` - break - } - q += ';' - } - const ae = new Map() - if (this.useSourceMap || this.useSimpleSourceMap) { - ae.set('javascript', new P(q, this.identifier())) - } else { - ae.set('javascript', new R(q)) - } - return { sources: ae, runtimeRequirements: ye } - } - size(k) { - return 42 - } - updateHash(k, v) { - k.update(this.delegationType) - k.update(JSON.stringify(this.request)) - super.updateHash(k, v) - } - serialize(k) { - const { write: v } = k - v(this.sourceRequest) - v(this.delegateData) - v(this.delegationType) - v(this.userRequest) - v(this.originalRequest) - super.serialize(k) - } - static deserialize(k) { - const { read: v } = k - const E = new DelegatedModule(v(), v(), v(), v(), v()) - E.deserialize(k) - return E - } - updateCacheModule(k) { - super.updateCacheModule(k) - const v = k - this.delegationType = v.delegationType - this.userRequest = v.userRequest - this.originalRequest = v.originalRequest - this.delegateData = v.delegateData - } - cleanupForCache() { - super.cleanupForCache() - this.delegateData = undefined - } - } - pe(DelegatedModule, 'webpack/lib/DelegatedModule') - k.exports = DelegatedModule - }, - 42126: function (k, v, E) { - 'use strict' - const P = E(50901) - class DelegatedModuleFactoryPlugin { - constructor(k) { - this.options = k - k.type = k.type || 'require' - k.extensions = k.extensions || ['', '.js', '.json', '.wasm'] - } - apply(k) { - const v = this.options.scope - if (v) { - k.hooks.factorize.tapAsync( - 'DelegatedModuleFactoryPlugin', - (k, E) => { - const [R] = k.dependencies - const { request: L } = R - if (L && L.startsWith(`${v}/`)) { - const k = '.' + L.slice(v.length) - let R - if (k in this.options.content) { - R = this.options.content[k] - return E( - null, - new P(this.options.source, R, this.options.type, k, L) - ) - } - for (let v = 0; v < this.options.extensions.length; v++) { - const N = this.options.extensions[v] - const q = k + N - if (q in this.options.content) { - R = this.options.content[q] - return E( - null, - new P( - this.options.source, - R, - this.options.type, - q, - L + N - ) - ) - } - } - } - return E() - } - ) - } else { - k.hooks.module.tap('DelegatedModuleFactoryPlugin', (k) => { - const v = k.libIdent(this.options) - if (v) { - if (v in this.options.content) { - const E = this.options.content[v] - return new P(this.options.source, E, this.options.type, v, k) - } - } - return k - }) - } - } - } - k.exports = DelegatedModuleFactoryPlugin - }, - 27064: function (k, v, E) { - 'use strict' - const P = E(42126) - const R = E(47788) - class DelegatedPlugin { - constructor(k) { - this.options = k - } - apply(k) { - k.hooks.compilation.tap( - 'DelegatedPlugin', - (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(R, v) - } - ) - k.hooks.compile.tap( - 'DelegatedPlugin', - ({ normalModuleFactory: v }) => { - new P({ - associatedObjectForCache: k.root, - ...this.options, - }).apply(v) - } - ) - } - } - k.exports = DelegatedPlugin - }, - 38706: function (k, v, E) { - 'use strict' - const P = E(58528) - class DependenciesBlock { - constructor() { - this.dependencies = [] - this.blocks = [] - this.parent = undefined - } - getRootBlock() { - let k = this - while (k.parent) k = k.parent - return k - } - addBlock(k) { - this.blocks.push(k) - k.parent = this - } - addDependency(k) { - this.dependencies.push(k) - } - removeDependency(k) { - const v = this.dependencies.indexOf(k) - if (v >= 0) { - this.dependencies.splice(v, 1) - } - } - clearDependenciesAndBlocks() { - this.dependencies.length = 0 - this.blocks.length = 0 - } - updateHash(k, v) { - for (const E of this.dependencies) { - E.updateHash(k, v) - } - for (const E of this.blocks) { - E.updateHash(k, v) - } - } - serialize({ write: k }) { - k(this.dependencies) - k(this.blocks) - } - deserialize({ read: k }) { - this.dependencies = k() - this.blocks = k() - for (const k of this.blocks) { - k.parent = this - } - } - } - P(DependenciesBlock, 'webpack/lib/DependenciesBlock') - k.exports = DependenciesBlock - }, - 16848: function (k, v, E) { - 'use strict' - const P = E(20631) - const R = Symbol('transitive') - const L = P(() => { - const k = E(91169) - return new k('/* (ignored) */', `ignored`, `(ignored)`) - }) - class Dependency { - constructor() { - this._parentModule = undefined - this._parentDependenciesBlock = undefined - this._parentDependenciesBlockIndex = -1 - this.weak = false - this.optional = false - this._locSL = 0 - this._locSC = 0 - this._locEL = 0 - this._locEC = 0 - this._locI = undefined - this._locN = undefined - this._loc = undefined - } - get type() { - return 'unknown' - } - get category() { - return 'unknown' - } - get loc() { - if (this._loc !== undefined) return this._loc - const k = {} - if (this._locSL > 0) { - k.start = { line: this._locSL, column: this._locSC } - } - if (this._locEL > 0) { - k.end = { line: this._locEL, column: this._locEC } - } - if (this._locN !== undefined) { - k.name = this._locN - } - if (this._locI !== undefined) { - k.index = this._locI - } - return (this._loc = k) - } - set loc(k) { - if ('start' in k && typeof k.start === 'object') { - this._locSL = k.start.line || 0 - this._locSC = k.start.column || 0 - } else { - this._locSL = 0 - this._locSC = 0 - } - if ('end' in k && typeof k.end === 'object') { - this._locEL = k.end.line || 0 - this._locEC = k.end.column || 0 - } else { - this._locEL = 0 - this._locEC = 0 - } - if ('index' in k) { - this._locI = k.index - } else { - this._locI = undefined - } - if ('name' in k) { - this._locN = k.name - } else { - this._locN = undefined - } - this._loc = k - } - setLoc(k, v, E, P) { - this._locSL = k - this._locSC = v - this._locEL = E - this._locEC = P - this._locI = undefined - this._locN = undefined - this._loc = undefined - } - getContext() { - return undefined - } - getResourceIdentifier() { - return null - } - couldAffectReferencingModule() { - return R - } - getReference(k) { - throw new Error( - 'Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active' - ) - } - getReferencedExports(k, v) { - return Dependency.EXPORTS_OBJECT_REFERENCED - } - getCondition(k) { - return null - } - getExports(k) { - return undefined - } - getWarnings(k) { - return null - } - getErrors(k) { - return null - } - updateHash(k, v) {} - getNumberOfIdOccurrences() { - return 1 - } - getModuleEvaluationSideEffectsState(k) { - return true - } - createIgnoredModule(k) { - return L() - } - serialize({ write: k }) { - k(this.weak) - k(this.optional) - k(this._locSL) - k(this._locSC) - k(this._locEL) - k(this._locEC) - k(this._locI) - k(this._locN) - } - deserialize({ read: k }) { - this.weak = k() - this.optional = k() - this._locSL = k() - this._locSC = k() - this._locEL = k() - this._locEC = k() - this._locI = k() - this._locN = k() - } - } - 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)' - ) - }, - }) - Dependency.TRANSITIVE = R - k.exports = Dependency - }, - 30601: function (k, v, E) { - 'use strict' - class DependencyTemplate { - apply(k, v, P) { - const R = E(60386) - throw new R() - } - } - k.exports = DependencyTemplate - }, - 3175: function (k, v, E) { - 'use strict' - const P = E(74012) - class DependencyTemplates { - constructor(k = 'md4') { - this._map = new Map() - this._hash = '31d6cfe0d16ae931b73c59d7e0c089c0' - this._hashFunction = k - } - get(k) { - return this._map.get(k) - } - set(k, v) { - this._map.set(k, v) - } - updateHash(k) { - const v = P(this._hashFunction) - v.update(`${this._hash}${k}`) - this._hash = v.digest('hex') - } - getHash() { - return this._hash - } - clone() { - const k = new DependencyTemplates(this._hashFunction) - k._map = new Map(this._map) - k._hash = this._hash - return k - } - } - k.exports = DependencyTemplates - }, - 8958: function (k, v, E) { - 'use strict' - const P = E(20821) - const R = E(50478) - const L = E(25248) - class DllEntryPlugin { - constructor(k, v, E) { - this.context = k - this.entries = v - this.options = E - } - apply(k) { - k.hooks.compilation.tap( - 'DllEntryPlugin', - (k, { normalModuleFactory: v }) => { - const E = new P() - k.dependencyFactories.set(R, E) - k.dependencyFactories.set(L, v) - } - ) - k.hooks.make.tapAsync('DllEntryPlugin', (k, v) => { - k.addEntry( - this.context, - new R( - this.entries.map((k, v) => { - const E = new L(k) - E.loc = { name: this.options.name, index: v } - return E - }), - this.options.name - ), - this.options, - v - ) - }) - } - } - k.exports = DllEntryPlugin - }, - 2168: function (k, v, E) { - 'use strict' - const { RawSource: P } = E(51255) - const R = E(88396) - const { JAVASCRIPT_MODULE_TYPE_DYNAMIC: L } = E(93622) - const N = E(56727) - const q = E(58528) - const ae = new Set(['javascript']) - const le = new Set([N.require, N.module]) - class DllModule extends R { - constructor(k, v, E) { - super(L, k) - this.dependencies = v - this.name = E - } - getSourceTypes() { - return ae - } - identifier() { - return `dll ${this.name}` - } - readableIdentifier(k) { - return `dll ${this.name}` - } - build(k, v, E, P, R) { - this.buildMeta = {} - this.buildInfo = {} - return R() - } - codeGeneration(k) { - const v = new Map() - v.set('javascript', new P(`module.exports = ${N.require};`)) - return { sources: v, runtimeRequirements: le } - } - needBuild(k, v) { - return v(null, !this.buildMeta) - } - size(k) { - return 12 - } - updateHash(k, v) { - k.update(`dll module${this.name || ''}`) - super.updateHash(k, v) - } - serialize(k) { - k.write(this.name) - super.serialize(k) - } - deserialize(k) { - this.name = k.read() - super.deserialize(k) - } - updateCacheModule(k) { - super.updateCacheModule(k) - this.dependencies = k.dependencies - } - cleanupForCache() { - super.cleanupForCache() - this.dependencies = undefined - } - } - q(DllModule, 'webpack/lib/DllModule') - k.exports = DllModule - }, - 20821: function (k, v, E) { - 'use strict' - const P = E(2168) - const R = E(66043) - class DllModuleFactory extends R { - constructor() { - super() - this.hooks = Object.freeze({}) - } - create(k, v) { - const E = k.dependencies[0] - v(null, { module: new P(k.context, E.dependencies, E.name) }) - } - } - k.exports = DllModuleFactory - }, - 97765: function (k, v, E) { - 'use strict' - const P = E(8958) - const R = E(17092) - const L = E(98060) - const N = E(92198) - const q = N(E(79339), () => E(10519), { - name: 'Dll Plugin', - baseDataPath: 'options', - }) - class DllPlugin { - constructor(k) { - q(k) - this.options = { ...k, entryOnly: k.entryOnly !== false } - } - apply(k) { - k.hooks.entryOption.tap('DllPlugin', (v, E) => { - if (typeof E !== 'function') { - for (const R of Object.keys(E)) { - const L = { name: R, filename: E.filename } - new P(v, E[R].import, L).apply(k) - } - } else { - throw new Error( - "DllPlugin doesn't support dynamic entry (function) yet" - ) - } - return true - }) - new L(this.options).apply(k) - if (!this.options.entryOnly) { - new R('DllPlugin').apply(k) - } - } - } - k.exports = DllPlugin - }, - 95619: function (k, v, E) { - 'use strict' - const P = E(54650) - const R = E(42126) - const L = E(37368) - const N = E(71572) - const q = E(47788) - const ae = E(92198) - const le = E(65315).makePathsRelative - const pe = ae(E(70959), () => E(18498), { - name: 'Dll Reference Plugin', - baseDataPath: 'options', - }) - class DllReferencePlugin { - constructor(k) { - pe(k) - this.options = k - this._compilationData = new WeakMap() - } - apply(k) { - k.hooks.compilation.tap( - 'DllReferencePlugin', - (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(q, v) - } - ) - k.hooks.beforeCompile.tapAsync('DllReferencePlugin', (v, E) => { - if ('manifest' in this.options) { - const R = this.options.manifest - if (typeof R === 'string') { - k.inputFileSystem.readFile(R, (L, N) => { - if (L) return E(L) - const q = { path: R, data: undefined, error: undefined } - try { - q.data = P(N.toString('utf-8')) - } catch (v) { - const E = le(k.options.context, R, k.root) - q.error = new DllManifestError(E, v.message) - } - this._compilationData.set(v, q) - return E() - }) - return - } - } - return E() - }) - k.hooks.compile.tap('DllReferencePlugin', (v) => { - let E = this.options.name - let P = this.options.sourceType - let N = 'content' in this.options ? this.options.content : undefined - if ('manifest' in this.options) { - let k = this.options.manifest - let R - if (typeof k === 'string') { - const k = this._compilationData.get(v) - if (k.error) { - return - } - R = k.data - } else { - R = k - } - if (R) { - if (!E) E = R.name - if (!P) P = R.type - if (!N) N = R.content - } - } - const q = {} - const ae = 'dll-reference ' + E - q[ae] = E - const le = v.normalModuleFactory - new L(P || 'var', q).apply(le) - new R({ - source: ae, - type: this.options.type, - scope: this.options.scope, - context: this.options.context || k.options.context, - content: N, - extensions: this.options.extensions, - associatedObjectForCache: k.root, - }).apply(le) - }) - k.hooks.compilation.tap('DllReferencePlugin', (k, v) => { - if ('manifest' in this.options) { - let E = this.options.manifest - if (typeof E === 'string') { - const P = this._compilationData.get(v) - if (P.error) { - k.errors.push(P.error) - } - k.fileDependencies.add(E) - } - } - }) - } - } - class DllManifestError extends N { - constructor(k, v) { - super() - this.name = 'DllManifestError' - this.message = `Dll manifest ${k}\n${v}` - } - } - k.exports = DllReferencePlugin - }, - 54602: function (k, v, E) { - 'use strict' - const P = E(26591) - const R = E(17570) - const L = E(25248) - class DynamicEntryPlugin { - constructor(k, v) { - this.context = k - this.entry = v - } - apply(k) { - k.hooks.compilation.tap( - 'DynamicEntryPlugin', - (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(L, v) - } - ) - k.hooks.make.tapPromise('DynamicEntryPlugin', (v, E) => - Promise.resolve(this.entry()) - .then((E) => { - const L = [] - for (const N of Object.keys(E)) { - const q = E[N] - const ae = P.entryDescriptionToOptions(k, N, q) - for (const k of q.import) { - L.push( - new Promise((E, P) => { - v.addEntry( - this.context, - R.createDependency(k, ae), - ae, - (k) => { - if (k) return P(k) - E() - } - ) - }) - ) - } - } - return Promise.all(L) - }) - .then((k) => {}) - ) - } - } - k.exports = DynamicEntryPlugin - }, - 26591: function (k, v, E) { - 'use strict' - class EntryOptionPlugin { - apply(k) { - k.hooks.entryOption.tap('EntryOptionPlugin', (v, E) => { - EntryOptionPlugin.applyEntryOption(k, v, E) - return true - }) - } - static applyEntryOption(k, v, P) { - if (typeof P === 'function') { - const R = E(54602) - new R(v, P).apply(k) - } else { - const R = E(17570) - for (const E of Object.keys(P)) { - const L = P[E] - const N = EntryOptionPlugin.entryDescriptionToOptions(k, E, L) - for (const E of L.import) { - new R(v, E, N).apply(k) - } - } - } - } - static entryDescriptionToOptions(k, v, P) { - const R = { - name: v, - filename: P.filename, - runtime: P.runtime, - layer: P.layer, - dependOn: P.dependOn, - baseUri: P.baseUri, - publicPath: P.publicPath, - chunkLoading: P.chunkLoading, - asyncChunks: P.asyncChunks, - wasmLoading: P.wasmLoading, - library: P.library, - } - if (P.layer !== undefined && !k.options.experiments.layers) { - throw new Error( - "'entryOptions.layer' is only allowed when 'experiments.layers' is enabled" - ) - } - if (P.chunkLoading) { - const v = E(73126) - v.checkEnabled(k, P.chunkLoading) - } - if (P.wasmLoading) { - const v = E(50792) - v.checkEnabled(k, P.wasmLoading) - } - if (P.library) { - const v = E(60234) - v.checkEnabled(k, P.library.type) - } - return R - } - } - k.exports = EntryOptionPlugin - }, - 17570: function (k, v, E) { - 'use strict' - const P = E(25248) - class EntryPlugin { - constructor(k, v, E) { - this.context = k - this.entry = v - this.options = E || '' - } - apply(k) { - k.hooks.compilation.tap( - 'EntryPlugin', - (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(P, v) - } - ) - const { entry: v, options: E, context: R } = this - const L = EntryPlugin.createDependency(v, E) - k.hooks.make.tapAsync('EntryPlugin', (k, v) => { - k.addEntry(R, L, E, (k) => { - v(k) - }) - }) - } - static createDependency(k, v) { - const E = new P(k) - E.loc = { name: typeof v === 'object' ? v.name : v } - return E - } - } - k.exports = EntryPlugin - }, - 10969: function (k, v, E) { - 'use strict' - const P = E(28541) - class Entrypoint extends P { - constructor(k, v = true) { - if (typeof k === 'string') { - k = { name: k } - } - super({ name: k.name }) - this.options = k - this._runtimeChunk = undefined - this._entrypointChunk = undefined - this._initial = v - } - isInitial() { - return this._initial - } - setRuntimeChunk(k) { - this._runtimeChunk = k - } - getRuntimeChunk() { - if (this._runtimeChunk) return this._runtimeChunk - for (const k of this.parentsIterable) { - if (k instanceof Entrypoint) return k.getRuntimeChunk() - } - return null - } - setEntrypointChunk(k) { - this._entrypointChunk = k - } - getEntrypointChunk() { - return this._entrypointChunk - } - replaceChunk(k, v) { - if (this._runtimeChunk === k) this._runtimeChunk = v - if (this._entrypointChunk === k) this._entrypointChunk = v - return super.replaceChunk(k, v) - } - } - k.exports = Entrypoint - }, - 32149: function (k, v, E) { - 'use strict' - const P = E(91602) - const R = E(71572) - class EnvironmentPlugin { - constructor(...k) { - if (k.length === 1 && Array.isArray(k[0])) { - this.keys = k[0] - this.defaultValues = {} - } else if (k.length === 1 && k[0] && typeof k[0] === 'object') { - this.keys = Object.keys(k[0]) - this.defaultValues = k[0] - } else { - this.keys = k - this.defaultValues = {} - } - } - apply(k) { - const v = {} - for (const E of this.keys) { - const P = - process.env[E] !== undefined - ? process.env[E] - : this.defaultValues[E] - if (P === undefined) { - k.hooks.thisCompilation.tap('EnvironmentPlugin', (k) => { - const v = new R( - `EnvironmentPlugin - ${E} 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.' - ) - v.name = 'EnvVariableNotDefinedError' - k.errors.push(v) - }) - } - v[`process.env.${E}`] = - P === undefined ? 'undefined' : JSON.stringify(P) - } - new P(v).apply(k) - } - } - k.exports = EnvironmentPlugin - }, - 53657: function (k, v) { - 'use strict' - const E = 'LOADER_EXECUTION' - const P = 'WEBPACK_OPTIONS' - const cutOffByFlag = (k, v) => { - const E = k.split('\n') - for (let k = 0; k < E.length; k++) { - if (E[k].includes(v)) { - E.length = k - } - } - return E.join('\n') - } - const cutOffLoaderExecution = (k) => cutOffByFlag(k, E) - const cutOffWebpackOptions = (k) => cutOffByFlag(k, P) - const cutOffMultilineMessage = (k, v) => { - const E = k.split('\n') - const P = v.split('\n') - const R = [] - E.forEach((k, v) => { - if (!k.includes(P[v])) R.push(k) - }) - return R.join('\n') - } - const cutOffMessage = (k, v) => { - const E = k.indexOf('\n') - if (E === -1) { - return k === v ? '' : k - } else { - const P = k.slice(0, E) - return P === v ? k.slice(E + 1) : k - } - } - const cleanUp = (k, v) => { - k = cutOffLoaderExecution(k) - k = cutOffMessage(k, v) - return k - } - const cleanUpWebpackOptions = (k, v) => { - k = cutOffWebpackOptions(k) - k = cutOffMultilineMessage(k, v) - return k - } - v.cutOffByFlag = cutOffByFlag - v.cutOffLoaderExecution = cutOffLoaderExecution - v.cutOffWebpackOptions = cutOffWebpackOptions - v.cutOffMultilineMessage = cutOffMultilineMessage - v.cutOffMessage = cutOffMessage - v.cleanUp = cleanUp - v.cleanUpWebpackOptions = cleanUpWebpackOptions - }, - 87543: function (k, v, E) { - 'use strict' - const { ConcatSource: P, RawSource: R } = E(51255) - const L = E(10849) - const N = E(98612) - const q = E(56727) - const ae = E(89168) - const le = new WeakMap() - const pe = new R( - `/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is 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(k) { - this.namespace = k.namespace || '' - this.sourceUrlComment = k.sourceUrlComment || '\n//# sourceURL=[url]' - this.moduleFilenameTemplate = - k.moduleFilenameTemplate || - 'webpack://[namespace]/[resourcePath]?[loaders]' - } - apply(k) { - k.hooks.compilation.tap('EvalDevToolModulePlugin', (k) => { - const v = ae.getCompilationHooks(k) - v.renderModuleContent.tap( - 'EvalDevToolModulePlugin', - (v, E, { runtimeTemplate: P, chunkGraph: ae }) => { - const pe = le.get(v) - if (pe !== undefined) return pe - if (E instanceof L) { - le.set(v, v) - return v - } - const me = v.source() - const ye = N.createFilename( - E, - { - moduleFilenameTemplate: this.moduleFilenameTemplate, - namespace: this.namespace, - }, - { - requestShortener: P.requestShortener, - chunkGraph: ae, - hashFunction: k.outputOptions.hashFunction, - } - ) - const _e = - '\n' + - this.sourceUrlComment.replace( - /\[url\]/g, - encodeURI(ye) - .replace(/%2F/g, '/') - .replace(/%20/g, '_') - .replace(/%5E/g, '^') - .replace(/%5C/g, '\\') - .replace(/^\//, '') - ) - const Ie = new R( - `eval(${ - k.outputOptions.trustedTypes - ? `${q.createScript}(${JSON.stringify(me + _e)})` - : JSON.stringify(me + _e) - });` - ) - le.set(v, Ie) - return Ie - } - ) - v.inlineInRuntimeBailout.tap( - 'EvalDevToolModulePlugin', - () => 'the eval devtool is used.' - ) - v.render.tap('EvalDevToolModulePlugin', (k) => new P(pe, k)) - v.chunkHash.tap('EvalDevToolModulePlugin', (k, v) => { - v.update('EvalDevToolModulePlugin') - v.update('2') - }) - if (k.outputOptions.trustedTypes) { - k.hooks.additionalModuleRuntimeRequirements.tap( - 'EvalDevToolModulePlugin', - (k, v, E) => { - v.add(q.createScript) - } - ) - } - }) - } - } - k.exports = EvalDevToolModulePlugin - }, - 21234: function (k, v, E) { - 'use strict' - const { ConcatSource: P, RawSource: R } = E(51255) - const L = E(98612) - const N = E(38224) - const q = E(56727) - const ae = E(10518) - const le = E(89168) - const pe = E(94978) - const { makePathsAbsolute: me } = E(65315) - const ye = new WeakMap() - const _e = new R( - `/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is 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(k) { - let v - if (typeof k === 'string') { - v = { append: k } - } else { - v = k - } - this.sourceMapComment = - v.append && typeof v.append !== 'function' - ? v.append - : '//# sourceURL=[module]\n//# sourceMappingURL=[url]' - this.moduleFilenameTemplate = - v.moduleFilenameTemplate || - 'webpack://[namespace]/[resource-path]?[hash]' - this.namespace = v.namespace || '' - this.options = v - } - apply(k) { - const v = this.options - k.hooks.compilation.tap('EvalSourceMapDevToolPlugin', (E) => { - const Ie = le.getCompilationHooks(E) - new ae(v).apply(E) - const Me = L.matchObject.bind(L, v) - Ie.renderModuleContent.tap( - 'EvalSourceMapDevToolPlugin', - (P, ae, { runtimeTemplate: le, chunkGraph: _e }) => { - const Ie = ye.get(P) - if (Ie !== undefined) { - return Ie - } - const result = (k) => { - ye.set(P, k) - return k - } - if (ae instanceof N) { - const k = ae - if (!Me(k.resource)) { - return result(P) - } - } else if (ae instanceof pe) { - const k = ae - if (k.rootModule instanceof N) { - const v = k.rootModule - if (!Me(v.resource)) { - return result(P) - } - } else { - return result(P) - } - } else { - return result(P) - } - let Te - let je - if (P.sourceAndMap) { - const k = P.sourceAndMap(v) - Te = k.map - je = k.source - } else { - Te = P.map(v) - je = P.source() - } - if (!Te) { - return result(P) - } - Te = { ...Te } - const Ne = k.options.context - const Be = k.root - const qe = Te.sources.map((k) => { - if (!k.startsWith('webpack://')) return k - k = me(Ne, k.slice(10), Be) - const v = E.findModule(k) - return v || k - }) - let Ue = qe.map((k) => - L.createFilename( - k, - { - moduleFilenameTemplate: this.moduleFilenameTemplate, - namespace: this.namespace, - }, - { - requestShortener: le.requestShortener, - chunkGraph: _e, - hashFunction: E.outputOptions.hashFunction, - } - ) - ) - Ue = L.replaceDuplicates(Ue, (k, v, E) => { - for (let v = 0; v < E; v++) k += '*' - return k - }) - Te.sources = Ue - if (v.noSources) { - Te.sourcesContent = undefined - } - Te.sourceRoot = v.sourceRoot || '' - const Ge = _e.getModuleId(ae) - Te.file = typeof Ge === 'number' ? `${Ge}.js` : Ge - const He = - this.sourceMapComment.replace( - /\[url\]/g, - `data:application/json;charset=utf-8;base64,${Buffer.from( - JSON.stringify(Te), - 'utf8' - ).toString('base64')}` - ) + `\n//# sourceURL=webpack-internal:///${Ge}\n` - return result( - new R( - `eval(${ - E.outputOptions.trustedTypes - ? `${q.createScript}(${JSON.stringify(je + He)})` - : JSON.stringify(je + He) - });` - ) - ) - } - ) - Ie.inlineInRuntimeBailout.tap( - 'EvalDevToolModulePlugin', - () => 'the eval-source-map devtool is used.' - ) - Ie.render.tap('EvalSourceMapDevToolPlugin', (k) => new P(_e, k)) - Ie.chunkHash.tap('EvalSourceMapDevToolPlugin', (k, v) => { - v.update('EvalSourceMapDevToolPlugin') - v.update('2') - }) - if (E.outputOptions.trustedTypes) { - E.hooks.additionalModuleRuntimeRequirements.tap( - 'EvalSourceMapDevToolPlugin', - (k, v, E) => { - v.add(q.createScript) - } - ) - } - }) - } - } - k.exports = EvalSourceMapDevToolPlugin - }, - 11172: function (k, v, E) { - 'use strict' - const { equals: P } = E(68863) - const R = E(46081) - const L = E(58528) - const { forEachRuntime: N } = E(1540) - const q = Object.freeze({ - Unused: 0, - OnlyPropertiesUsed: 1, - NoInfo: 2, - Unknown: 3, - Used: 4, - }) - const RETURNS_TRUE = () => true - const ae = Symbol('circular target') - class RestoreProvidedData { - constructor(k, v, E, P) { - this.exports = k - this.otherProvided = v - this.otherCanMangleProvide = E - this.otherTerminalBinding = P - } - serialize({ write: k }) { - k(this.exports) - k(this.otherProvided) - k(this.otherCanMangleProvide) - k(this.otherTerminalBinding) - } - static deserialize({ read: k }) { - return new RestoreProvidedData(k(), k(), k(), k()) - } - } - L(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 k = new Map(this._redirectTo._exports) - for (const [v, E] of this._exports) { - k.set(v, E) - } - return k.values() - } - return this._exports.values() - } - get orderedExports() { - if (!this._exportsAreOrdered) { - this._sortExports() - } - if (this._redirectTo !== undefined) { - const k = new Map( - Array.from(this._redirectTo.orderedExports, (k) => [k.name, k]) - ) - for (const [v, E] of this._exports) { - k.set(v, E) - } - this._sortExportsMap(k) - return k.values() - } - return this._exports.values() - } - get otherExportsInfo() { - if (this._redirectTo !== undefined) - return this._redirectTo.otherExportsInfo - return this._otherExportsInfo - } - _sortExportsMap(k) { - if (k.size > 1) { - const v = [] - for (const E of k.values()) { - v.push(E.name) - } - v.sort() - let E = 0 - for (const P of k.values()) { - const k = v[E] - if (P.name !== k) break - E++ - } - for (; E < v.length; E++) { - const P = v[E] - const R = k.get(P) - k.delete(P) - k.set(P, R) - } - } - } - _sortExports() { - this._sortExportsMap(this._exports) - this._exportsAreOrdered = true - } - setRedirectNamedTo(k) { - if (this._redirectTo === k) return false - this._redirectTo = k - return true - } - setHasProvideInfo() { - for (const k of this._exports.values()) { - if (k.provided === undefined) { - k.provided = false - } - if (k.canMangleProvide === undefined) { - k.canMangleProvide = true - } - } - if (this._redirectTo !== undefined) { - this._redirectTo.setHasProvideInfo() - } else { - if (this._otherExportsInfo.provided === undefined) { - this._otherExportsInfo.provided = false - } - if (this._otherExportsInfo.canMangleProvide === undefined) { - this._otherExportsInfo.canMangleProvide = true - } - } - } - setHasUseInfo() { - for (const k of this._exports.values()) { - k.setHasUseInfo() - } - this._sideEffectsOnlyInfo.setHasUseInfo() - if (this._redirectTo !== undefined) { - this._redirectTo.setHasUseInfo() - } else { - this._otherExportsInfo.setHasUseInfo() - if (this._otherExportsInfo.canMangleUse === undefined) { - this._otherExportsInfo.canMangleUse = true - } - } - } - getOwnExportInfo(k) { - const v = this._exports.get(k) - if (v !== undefined) return v - const E = new ExportInfo(k, this._otherExportsInfo) - this._exports.set(k, E) - this._exportsAreOrdered = false - return E - } - getExportInfo(k) { - const v = this._exports.get(k) - if (v !== undefined) return v - if (this._redirectTo !== undefined) - return this._redirectTo.getExportInfo(k) - const E = new ExportInfo(k, this._otherExportsInfo) - this._exports.set(k, E) - this._exportsAreOrdered = false - return E - } - getReadOnlyExportInfo(k) { - const v = this._exports.get(k) - if (v !== undefined) return v - if (this._redirectTo !== undefined) - return this._redirectTo.getReadOnlyExportInfo(k) - return this._otherExportsInfo - } - getReadOnlyExportInfoRecursive(k) { - const v = this.getReadOnlyExportInfo(k[0]) - if (k.length === 1) return v - if (!v.exportsInfo) return undefined - return v.exportsInfo.getReadOnlyExportInfoRecursive(k.slice(1)) - } - getNestedExportsInfo(k) { - if (Array.isArray(k) && k.length > 0) { - const v = this.getReadOnlyExportInfo(k[0]) - if (!v.exportsInfo) return undefined - return v.exportsInfo.getNestedExportsInfo(k.slice(1)) - } - return this - } - setUnknownExportsProvided(k, v, E, P, R) { - let L = false - if (v) { - for (const k of v) { - this.getExportInfo(k) - } - } - for (const R of this._exports.values()) { - if (!k && R.canMangleProvide !== false) { - R.canMangleProvide = false - L = true - } - if (v && v.has(R.name)) continue - if (R.provided !== true && R.provided !== null) { - R.provided = null - L = true - } - if (E) { - R.setTarget(E, P, [R.name], -1) - } - } - if (this._redirectTo !== undefined) { - if (this._redirectTo.setUnknownExportsProvided(k, v, E, P, R)) { - L = true - } - } else { - if ( - this._otherExportsInfo.provided !== true && - this._otherExportsInfo.provided !== null - ) { - this._otherExportsInfo.provided = null - L = true - } - if (!k && this._otherExportsInfo.canMangleProvide !== false) { - this._otherExportsInfo.canMangleProvide = false - L = true - } - if (E) { - this._otherExportsInfo.setTarget(E, P, undefined, R) - } - } - return L - } - setUsedInUnknownWay(k) { - let v = false - for (const E of this._exports.values()) { - if (E.setUsedInUnknownWay(k)) { - v = true - } - } - if (this._redirectTo !== undefined) { - if (this._redirectTo.setUsedInUnknownWay(k)) { - v = true - } - } else { - if ( - this._otherExportsInfo.setUsedConditionally( - (k) => k < q.Unknown, - q.Unknown, - k - ) - ) { - v = true - } - if (this._otherExportsInfo.canMangleUse !== false) { - this._otherExportsInfo.canMangleUse = false - v = true - } - } - return v - } - setUsedWithoutInfo(k) { - let v = false - for (const E of this._exports.values()) { - if (E.setUsedWithoutInfo(k)) { - v = true - } - } - if (this._redirectTo !== undefined) { - if (this._redirectTo.setUsedWithoutInfo(k)) { - v = true - } - } else { - if (this._otherExportsInfo.setUsed(q.NoInfo, k)) { - v = true - } - if (this._otherExportsInfo.canMangleUse !== false) { - this._otherExportsInfo.canMangleUse = false - v = true - } - } - return v - } - setAllKnownExportsUsed(k) { - let v = false - for (const E of this._exports.values()) { - if (!E.provided) continue - if (E.setUsed(q.Used, k)) { - v = true - } - } - return v - } - setUsedForSideEffectsOnly(k) { - return this._sideEffectsOnlyInfo.setUsedConditionally( - (k) => k === q.Unused, - q.Used, - k - ) - } - isUsed(k) { - if (this._redirectTo !== undefined) { - if (this._redirectTo.isUsed(k)) { - return true - } - } else { - if (this._otherExportsInfo.getUsed(k) !== q.Unused) { - return true - } - } - for (const v of this._exports.values()) { - if (v.getUsed(k) !== q.Unused) { - return true - } - } - return false - } - isModuleUsed(k) { - if (this.isUsed(k)) return true - if (this._sideEffectsOnlyInfo.getUsed(k) !== q.Unused) return true - return false - } - getUsedExports(k) { - if (!this._redirectTo !== undefined) { - switch (this._otherExportsInfo.getUsed(k)) { - case q.NoInfo: - return null - case q.Unknown: - case q.OnlyPropertiesUsed: - case q.Used: - return true - } - } - const v = [] - if (!this._exportsAreOrdered) this._sortExports() - for (const E of this._exports.values()) { - switch (E.getUsed(k)) { - case q.NoInfo: - return null - case q.Unknown: - return true - case q.OnlyPropertiesUsed: - case q.Used: - v.push(E.name) - } - } - if (this._redirectTo !== undefined) { - const E = this._redirectTo.getUsedExports(k) - if (E === null) return null - if (E === true) return true - if (E !== false) { - for (const k of E) { - v.push(k) - } - } - } - if (v.length === 0) { - switch (this._sideEffectsOnlyInfo.getUsed(k)) { - case q.NoInfo: - return null - case q.Unused: - return false - } - } - return new R(v) - } - getProvidedExports() { - if (!this._redirectTo !== undefined) { - switch (this._otherExportsInfo.provided) { - case undefined: - return null - case null: - return true - case true: - return true - } - } - const k = [] - if (!this._exportsAreOrdered) this._sortExports() - for (const v of this._exports.values()) { - switch (v.provided) { - case undefined: - return null - case null: - return true - case true: - k.push(v.name) - } - } - if (this._redirectTo !== undefined) { - const v = this._redirectTo.getProvidedExports() - if (v === null) return null - if (v === true) return true - for (const E of v) { - if (!k.includes(E)) { - k.push(E) - } - } - } - return k - } - getRelevantExports(k) { - const v = [] - for (const E of this._exports.values()) { - const P = E.getUsed(k) - if (P === q.Unused) continue - if (E.provided === false) continue - v.push(E) - } - if (this._redirectTo !== undefined) { - for (const E of this._redirectTo.getRelevantExports(k)) { - if (!this._exports.has(E.name)) v.push(E) - } - } - if ( - this._otherExportsInfo.provided !== false && - this._otherExportsInfo.getUsed(k) !== q.Unused - ) { - v.push(this._otherExportsInfo) - } - return v - } - isExportProvided(k) { - if (Array.isArray(k)) { - const v = this.getReadOnlyExportInfo(k[0]) - if (v.exportsInfo && k.length > 1) { - return v.exportsInfo.isExportProvided(k.slice(1)) - } - return v.provided ? k.length === 1 || undefined : v.provided - } - const v = this.getReadOnlyExportInfo(k) - return v.provided - } - getUsageKey(k) { - const v = [] - if (this._redirectTo !== undefined) { - v.push(this._redirectTo.getUsageKey(k)) - } else { - v.push(this._otherExportsInfo.getUsed(k)) - } - v.push(this._sideEffectsOnlyInfo.getUsed(k)) - for (const E of this.orderedOwnedExports) { - v.push(E.getUsed(k)) - } - return v.join('|') - } - isEquallyUsed(k, v) { - if (this._redirectTo !== undefined) { - if (!this._redirectTo.isEquallyUsed(k, v)) return false - } else { - if ( - this._otherExportsInfo.getUsed(k) !== - this._otherExportsInfo.getUsed(v) - ) { - return false - } - } - if ( - this._sideEffectsOnlyInfo.getUsed(k) !== - this._sideEffectsOnlyInfo.getUsed(v) - ) { - return false - } - for (const E of this.ownedExports) { - if (E.getUsed(k) !== E.getUsed(v)) return false - } - return true - } - getUsed(k, v) { - if (Array.isArray(k)) { - if (k.length === 0) return this.otherExportsInfo.getUsed(v) - let E = this.getReadOnlyExportInfo(k[0]) - if (E.exportsInfo && k.length > 1) { - return E.exportsInfo.getUsed(k.slice(1), v) - } - return E.getUsed(v) - } - let E = this.getReadOnlyExportInfo(k) - return E.getUsed(v) - } - getUsedName(k, v) { - if (Array.isArray(k)) { - if (k.length === 0) { - if (!this.isUsed(v)) return false - return k - } - let E = this.getReadOnlyExportInfo(k[0]) - const P = E.getUsedName(k[0], v) - if (P === false) return false - const R = P === k[0] && k.length === 1 ? k : [P] - if (k.length === 1) { - return R - } - if (E.exportsInfo && E.getUsed(v) === q.OnlyPropertiesUsed) { - const P = E.exportsInfo.getUsedName(k.slice(1), v) - if (!P) return false - return R.concat(P) - } else { - return R.concat(k.slice(1)) - } - } else { - let E = this.getReadOnlyExportInfo(k) - const P = E.getUsedName(k, v) - return P - } - } - updateHash(k, v) { - this._updateHash(k, v, new Set()) - } - _updateHash(k, v, E) { - const P = new Set(E) - P.add(this) - for (const E of this.orderedExports) { - if (E.hasInfo(this._otherExportsInfo, v)) { - E._updateHash(k, v, P) - } - } - this._sideEffectsOnlyInfo._updateHash(k, v, P) - this._otherExportsInfo._updateHash(k, v, P) - if (this._redirectTo !== undefined) { - this._redirectTo._updateHash(k, v, P) - } - } - getRestoreProvidedData() { - const k = this._otherExportsInfo.provided - const v = this._otherExportsInfo.canMangleProvide - const E = this._otherExportsInfo.terminalBinding - const P = [] - for (const R of this.orderedExports) { - if ( - R.provided !== k || - R.canMangleProvide !== v || - R.terminalBinding !== E || - R.exportsInfoOwned - ) { - P.push({ - name: R.name, - provided: R.provided, - canMangleProvide: R.canMangleProvide, - terminalBinding: R.terminalBinding, - exportsInfo: R.exportsInfoOwned - ? R.exportsInfo.getRestoreProvidedData() - : undefined, - }) - } - } - return new RestoreProvidedData(P, k, v, E) - } - restoreProvided({ - otherProvided: k, - otherCanMangleProvide: v, - otherTerminalBinding: E, - exports: P, - }) { - let R = true - for (const P of this._exports.values()) { - R = false - P.provided = k - P.canMangleProvide = v - P.terminalBinding = E - } - this._otherExportsInfo.provided = k - this._otherExportsInfo.canMangleProvide = v - this._otherExportsInfo.terminalBinding = E - for (const k of P) { - const v = this.getExportInfo(k.name) - v.provided = k.provided - v.canMangleProvide = k.canMangleProvide - v.terminalBinding = k.terminalBinding - if (k.exportsInfo) { - const E = v.createNestedExportsInfo() - E.restoreProvided(k.exportsInfo) - } - } - if (R) this._exportsAreOrdered = true - } - } - class ExportInfo { - constructor(k, v) { - this.name = k - this._usedName = v ? v._usedName : null - this._globalUsed = v ? v._globalUsed : undefined - this._usedInRuntime = - v && v._usedInRuntime ? new Map(v._usedInRuntime) : undefined - this._hasUseInRuntimeInfo = v ? v._hasUseInRuntimeInfo : false - this.provided = v ? v.provided : undefined - this.terminalBinding = v ? v.terminalBinding : false - this.canMangleProvide = v ? v.canMangleProvide : undefined - this.canMangleUse = v ? v.canMangleUse : undefined - this.exportsInfoOwned = false - this.exportsInfo = undefined - this._target = undefined - if (v && v._target) { - this._target = new Map() - for (const [E, P] of v._target) { - this._target.set(E, { - connection: P.connection, - export: P.export || [k], - priority: P.priority, - }) - } - } - this._maxTarget = undefined - } - get used() { - throw new Error('REMOVED') - } - get usedName() { - throw new Error('REMOVED') - } - set used(k) { - throw new Error('REMOVED') - } - set usedName(k) { - 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(k) { - let v = false - if (this.setUsedConditionally((k) => k < q.Unknown, q.Unknown, k)) { - v = true - } - if (this.canMangleUse !== false) { - this.canMangleUse = false - v = true - } - return v - } - setUsedWithoutInfo(k) { - let v = false - if (this.setUsed(q.NoInfo, k)) { - v = true - } - if (this.canMangleUse !== false) { - this.canMangleUse = false - v = true - } - return v - } - setHasUseInfo() { - if (!this._hasUseInRuntimeInfo) { - this._hasUseInRuntimeInfo = true - } - if (this.canMangleUse === undefined) { - this.canMangleUse = true - } - if (this.exportsInfoOwned) { - this.exportsInfo.setHasUseInfo() - } - } - setUsedConditionally(k, v, E) { - if (E === undefined) { - if (this._globalUsed === undefined) { - this._globalUsed = v - return true - } else { - if (this._globalUsed !== v && k(this._globalUsed)) { - this._globalUsed = v - return true - } - } - } else if (this._usedInRuntime === undefined) { - if (v !== q.Unused && k(q.Unused)) { - this._usedInRuntime = new Map() - N(E, (k) => this._usedInRuntime.set(k, v)) - return true - } - } else { - let P = false - N(E, (E) => { - let R = this._usedInRuntime.get(E) - if (R === undefined) R = q.Unused - if (v !== R && k(R)) { - if (v === q.Unused) { - this._usedInRuntime.delete(E) - } else { - this._usedInRuntime.set(E, v) - } - P = true - } - }) - if (P) { - if (this._usedInRuntime.size === 0) - this._usedInRuntime = undefined - return true - } - } - return false - } - setUsed(k, v) { - if (v === undefined) { - if (this._globalUsed !== k) { - this._globalUsed = k - return true - } - } else if (this._usedInRuntime === undefined) { - if (k !== q.Unused) { - this._usedInRuntime = new Map() - N(v, (v) => this._usedInRuntime.set(v, k)) - return true - } - } else { - let E = false - N(v, (v) => { - let P = this._usedInRuntime.get(v) - if (P === undefined) P = q.Unused - if (k !== P) { - if (k === q.Unused) { - this._usedInRuntime.delete(v) - } else { - this._usedInRuntime.set(v, k) - } - E = true - } - }) - if (E) { - if (this._usedInRuntime.size === 0) - this._usedInRuntime = undefined - return true - } - } - return false - } - unsetTarget(k) { - if (!this._target) return false - if (this._target.delete(k)) { - this._maxTarget = undefined - return true - } - return false - } - setTarget(k, v, E, R = 0) { - if (E) E = [...E] - if (!this._target) { - this._target = new Map() - this._target.set(k, { connection: v, export: E, priority: R }) - return true - } - const L = this._target.get(k) - if (!L) { - if (L === null && !v) return false - this._target.set(k, { connection: v, export: E, priority: R }) - this._maxTarget = undefined - return true - } - if ( - L.connection !== v || - L.priority !== R || - (E ? !L.export || !P(L.export, E) : L.export) - ) { - L.connection = v - L.export = E - L.priority = R - this._maxTarget = undefined - return true - } - return false - } - getUsed(k) { - if (!this._hasUseInRuntimeInfo) return q.NoInfo - if (this._globalUsed !== undefined) return this._globalUsed - if (this._usedInRuntime === undefined) { - return q.Unused - } else if (typeof k === 'string') { - const v = this._usedInRuntime.get(k) - return v === undefined ? q.Unused : v - } else if (k === undefined) { - let k = q.Unused - for (const v of this._usedInRuntime.values()) { - if (v === q.Used) { - return q.Used - } - if (k < v) k = v - } - return k - } else { - let v = q.Unused - for (const E of k) { - const k = this._usedInRuntime.get(E) - if (k !== undefined) { - if (k === q.Used) { - return q.Used - } - if (v < k) v = k - } - } - return v - } - } - getUsedName(k, v) { - if (this._hasUseInRuntimeInfo) { - if (this._globalUsed !== undefined) { - if (this._globalUsed === q.Unused) return false - } else { - if (this._usedInRuntime === undefined) return false - if (typeof v === 'string') { - if (!this._usedInRuntime.has(v)) { - return false - } - } else if (v !== undefined) { - if (Array.from(v).every((k) => !this._usedInRuntime.has(k))) { - return false - } - } - } - } - if (this._usedName !== null) return this._usedName - return this.name || k - } - hasUsedName() { - return this._usedName !== null - } - setUsedName(k) { - this._usedName = k - } - getTerminalBinding(k, v = RETURNS_TRUE) { - if (this.terminalBinding) return this - const E = this.getTarget(k, v) - if (!E) return undefined - const P = k.getExportsInfo(E.module) - if (!E.export) return P - return P.getReadOnlyExportInfoRecursive(E.export) - } - isReexport() { - return !this.terminalBinding && this._target && this._target.size > 0 - } - _getMaxTarget() { - if (this._maxTarget !== undefined) return this._maxTarget - if (this._target.size <= 1) return (this._maxTarget = this._target) - let k = -Infinity - let v = Infinity - for (const { priority: E } of this._target.values()) { - if (k < E) k = E - if (v > E) v = E - } - if (k === v) return (this._maxTarget = this._target) - const E = new Map() - for (const [v, P] of this._target) { - if (k === P.priority) { - E.set(v, P) - } - } - this._maxTarget = E - return E - } - findTarget(k, v) { - return this._findTarget(k, v, new Set()) - } - _findTarget(k, v, E) { - if (!this._target || this._target.size === 0) return undefined - let P = this._getMaxTarget().values().next().value - if (!P) return undefined - let R = { module: P.connection.module, export: P.export } - for (;;) { - if (v(R.module)) return R - const P = k.getExportsInfo(R.module) - const L = P.getExportInfo(R.export[0]) - if (E.has(L)) return null - const N = L._findTarget(k, v, E) - if (!N) return false - if (R.export.length === 1) { - R = N - } else { - R = { - module: N.module, - export: N.export - ? N.export.concat(R.export.slice(1)) - : R.export.slice(1), - } - } - } - } - getTarget(k, v = RETURNS_TRUE) { - const E = this._getTarget(k, v, undefined) - if (E === ae) return undefined - return E - } - _getTarget(k, v, E) { - const resolveTarget = (E, P) => { - if (!E) return null - if (!E.export) { - return { - module: E.connection.module, - connection: E.connection, - export: undefined, - } - } - let R = { - module: E.connection.module, - connection: E.connection, - export: E.export, - } - if (!v(R)) return R - let L = false - for (;;) { - const E = k.getExportsInfo(R.module) - const N = E.getExportInfo(R.export[0]) - if (!N) return R - if (P.has(N)) return ae - const q = N._getTarget(k, v, P) - if (q === ae) return ae - if (!q) return R - if (R.export.length === 1) { - R = q - if (!R.export) return R - } else { - R = { - module: q.module, - connection: q.connection, - export: q.export - ? q.export.concat(R.export.slice(1)) - : R.export.slice(1), - } - } - if (!v(R)) return R - if (!L) { - P = new Set(P) - L = true - } - P.add(N) - } - } - if (!this._target || this._target.size === 0) return undefined - if (E && E.has(this)) return ae - const R = new Set(E) - R.add(this) - const L = this._getMaxTarget().values() - const N = resolveTarget(L.next().value, R) - if (N === ae) return ae - if (N === null) return undefined - let q = L.next() - while (!q.done) { - const k = resolveTarget(q.value, R) - if (k === ae) return ae - if (k === null) return undefined - if (k.module !== N.module) return undefined - if (!k.export !== !N.export) return undefined - if (N.export && !P(k.export, N.export)) return undefined - q = L.next() - } - return N - } - moveTarget(k, v, E) { - const P = this._getTarget(k, v, undefined) - if (P === ae) return undefined - if (!P) return undefined - const R = this._getMaxTarget().values().next().value - if (R.connection === P.connection && R.export === P.export) { - return undefined - } - this._target.clear() - this._target.set(undefined, { - connection: E ? E(P) : P.connection, - export: P.export, - priority: 0, - }) - return P - } - createNestedExportsInfo() { - if (this.exportsInfoOwned) return this.exportsInfo - this.exportsInfoOwned = true - const k = this.exportsInfo - this.exportsInfo = new ExportsInfo() - this.exportsInfo.setHasProvideInfo() - if (k) { - this.exportsInfo.setRedirectNamedTo(k) - } - return this.exportsInfo - } - getNestedExportsInfo() { - return this.exportsInfo - } - hasInfo(k, v) { - return ( - (this._usedName && this._usedName !== this.name) || - this.provided || - this.terminalBinding || - this.getUsed(v) !== k.getUsed(v) - ) - } - updateHash(k, v) { - this._updateHash(k, v, new Set()) - } - _updateHash(k, v, E) { - k.update( - `${this._usedName || this.name}${this.getUsed(v)}${this.provided}${ - this.terminalBinding - }` - ) - if (this.exportsInfo && !E.has(this.exportsInfo)) { - this.exportsInfo._updateHash(k, v, E) - } - } - getUsedInfo() { - if (this._globalUsed !== undefined) { - switch (this._globalUsed) { - case q.Unused: - return 'unused' - case q.NoInfo: - return 'no usage info' - case q.Unknown: - return 'maybe used (runtime-defined)' - case q.Used: - return 'used' - case q.OnlyPropertiesUsed: - return 'only properties used' - } - } else if (this._usedInRuntime !== undefined) { - const k = new Map() - for (const [v, E] of this._usedInRuntime) { - const P = k.get(E) - if (P !== undefined) P.push(v) - else k.set(E, [v]) - } - const v = Array.from(k, ([k, v]) => { - switch (k) { - case q.NoInfo: - return `no usage info in ${v.join(', ')}` - case q.Unknown: - return `maybe used in ${v.join(', ')} (runtime-defined)` - case q.Used: - return `used in ${v.join(', ')}` - case q.OnlyPropertiesUsed: - return `only properties used in ${v.join(', ')}` - } - }) - if (v.length > 0) { - return v.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}` - ) - } - } - k.exports = ExportsInfo - k.exports.ExportInfo = ExportInfo - k.exports.UsageState = q - }, - 25889: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, - JAVASCRIPT_MODULE_TYPE_ESM: L, - } = E(93622) - const N = E(60381) - const q = E(70762) - const ae = 'ExportsInfoApiPlugin' - class ExportsInfoApiPlugin { - apply(k) { - k.hooks.compilation.tap(ae, (k, { normalModuleFactory: v }) => { - k.dependencyTemplates.set(q, new q.Template()) - const handler = (k) => { - k.hooks.expressionMemberChain - .for('__webpack_exports_info__') - .tap(ae, (v, E) => { - const P = - E.length >= 2 - ? new q(v.range, E.slice(0, -1), E[E.length - 1]) - : new q(v.range, null, E[0]) - P.loc = v.loc - k.state.module.addDependency(P) - return true - }) - k.hooks.expression - .for('__webpack_exports_info__') - .tap(ae, (v) => { - const E = new N('true', v.range) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - return true - }) - } - v.hooks.parser.for(P).tap(ae, handler) - v.hooks.parser.for(R).tap(ae, handler) - v.hooks.parser.for(L).tap(ae, handler) - }) - } - } - k.exports = ExportsInfoApiPlugin - }, - 10849: function (k, v, E) { - 'use strict' - const { OriginalSource: P, RawSource: R } = E(51255) - const L = E(91213) - const { UsageState: N } = E(11172) - const q = E(88113) - const ae = E(88396) - const { JAVASCRIPT_MODULE_TYPE_DYNAMIC: le } = E(93622) - const pe = E(56727) - const me = E(95041) - const ye = E(93414) - const _e = E(74012) - const Ie = E(21053) - const Me = E(58528) - const Te = E(10720) - const { register: je } = E(52456) - const Ne = new Set(['javascript']) - const Be = new Set(['css-import']) - const qe = new Set([pe.module]) - const Ue = new Set([pe.loadScript]) - const Ge = new Set([pe.definePropertyGetters]) - const He = new Set([]) - const getSourceForGlobalVariableExternal = (k, v) => { - if (!Array.isArray(k)) { - k = [k] - } - const E = k.map((k) => `[${JSON.stringify(k)}]`).join('') - return { iife: v === 'this', expression: `${v}${E}` } - } - const getSourceForCommonJsExternal = (k) => { - if (!Array.isArray(k)) { - return { expression: `require(${JSON.stringify(k)})` } - } - const v = k[0] - return { expression: `require(${JSON.stringify(v)})${Te(k, 1)}` } - } - const getSourceForCommonJsExternalInNodeModule = (k, v) => { - const E = [ - new q( - 'import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n', - q.STAGE_HARMONY_IMPORTS, - 0, - 'external module node-commonjs' - ), - ] - if (!Array.isArray(k)) { - return { - chunkInitFragments: E, - expression: `__WEBPACK_EXTERNAL_createRequire(${v}.url)(${JSON.stringify( - k - )})`, - } - } - const P = k[0] - return { - chunkInitFragments: E, - expression: `__WEBPACK_EXTERNAL_createRequire(${v}.url)(${JSON.stringify( - P - )})${Te(k, 1)}`, - } - } - const getSourceForImportExternal = (k, v) => { - const E = v.outputOptions.importFunctionName - if (!v.supportsDynamicImport() && E === 'import') { - throw new Error( - "The target environment doesn't support 'import()' so it's not possible to use external type 'import'" - ) - } - if (!Array.isArray(k)) { - return { expression: `${E}(${JSON.stringify(k)});` } - } - if (k.length === 1) { - return { expression: `${E}(${JSON.stringify(k[0])});` } - } - const P = k[0] - return { - expression: `${E}(${JSON.stringify(P)}).then(${v.returningFunction( - `module${Te(k, 1)}`, - 'module' - )});`, - } - } - class ModuleExternalInitFragment extends q { - constructor(k, v, E = 'md4') { - if (v === undefined) { - v = me.toIdentifier(k) - if (v !== k) { - v += `_${_e(E).update(k).digest('hex').slice(0, 8)}` - } - } - const P = `__WEBPACK_EXTERNAL_MODULE_${v}__` - super( - `import * as ${P} from ${JSON.stringify(k)};\n`, - q.STAGE_HARMONY_IMPORTS, - 0, - `external module import ${v}` - ) - this._ident = v - this._identifier = P - this._request = k - } - getNamespaceIdentifier() { - return this._identifier - } - } - je( - ModuleExternalInitFragment, - 'webpack/lib/ExternalModule', - 'ModuleExternalInitFragment', - { - serialize(k, { write: v }) { - v(k._request) - v(k._ident) - }, - deserialize({ read: k }) { - return new ModuleExternalInitFragment(k(), k()) - }, - } - ) - const generateModuleRemapping = (k, v, E) => { - if (v.otherExportsInfo.getUsed(E) === N.Unused) { - const P = [] - for (const R of v.orderedExports) { - const v = R.getUsedName(R.name, E) - if (!v) continue - const L = R.getNestedExportsInfo() - if (L) { - const E = generateModuleRemapping(`${k}${Te([R.name])}`, L) - if (E) { - P.push(`[${JSON.stringify(v)}]: y(${E})`) - continue - } - } - P.push(`[${JSON.stringify(v)}]: () => ${k}${Te([R.name])}`) - } - return `x({ ${P.join(', ')} })` - } - } - const getSourceForModuleExternal = (k, v, E, P) => { - if (!Array.isArray(k)) k = [k] - const R = new ModuleExternalInitFragment(k[0], undefined, P) - const L = `${R.getNamespaceIdentifier()}${Te(k, 1)}` - const N = generateModuleRemapping(L, v, E) - let q = N || L - return { - expression: q, - init: `var x = y => { var x = {}; ${pe.definePropertyGetters}(x, y); return x; }\nvar y = x => () => x`, - runtimeRequirements: N ? Ge : undefined, - chunkInitFragments: [R], - } - } - const getSourceForScriptExternal = (k, v) => { - if (typeof k === 'string') { - k = Ie(k) - } - const E = k[0] - const P = k[1] - return { - init: 'var __webpack_error__ = new Error();', - expression: `new Promise(${v.basicFunction('resolve, reject', [ - `if(typeof ${P} !== "undefined") return resolve();`, - `${pe.loadScript}(${JSON.stringify(E)}, ${v.basicFunction('event', [ - `if(typeof ${P} !== "undefined") return resolve();`, - "var errorType = event && (event.type === 'load' ? 'missing' : event.type);", - 'var realSrc = event && event.target && event.target.src;', - "__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';", - "__webpack_error__.name = 'ScriptExternalLoadError';", - '__webpack_error__.type = errorType;', - '__webpack_error__.request = realSrc;', - 'reject(__webpack_error__);', - ])}, ${JSON.stringify(P)});`, - ])}).then(${v.returningFunction(`${P}${Te(k, 2)}`)})`, - runtimeRequirements: Ue, - } - } - const checkExternalVariable = (k, v, E) => - `if(typeof ${k} === 'undefined') { ${E.throwMissingModuleErrorBlock({ - request: v, - })} }\n` - const getSourceForAmdOrUmdExternal = (k, v, E, P) => { - const R = `__WEBPACK_EXTERNAL_MODULE_${me.toIdentifier(`${k}`)}__` - return { - init: v - ? checkExternalVariable(R, Array.isArray(E) ? E.join('.') : E, P) - : undefined, - expression: R, - } - } - const getSourceForDefaultCase = (k, v, E) => { - if (!Array.isArray(v)) { - v = [v] - } - const P = v[0] - const R = Te(v, 1) - return { - init: k ? checkExternalVariable(P, v.join('.'), E) : undefined, - expression: `${P}${R}`, - } - } - class ExternalModule extends ae { - constructor(k, v, E) { - super(le, null) - this.request = k - this.externalType = v - this.userRequest = E - } - getSourceTypes() { - return this.externalType === 'css-import' ? Be : Ne - } - libIdent(k) { - return this.userRequest - } - chunkCondition(k, { chunkGraph: v }) { - return this.externalType === 'css-import' - ? true - : v.getNumberOfEntryModules(k) > 0 - } - identifier() { - return `external ${this.externalType} ${JSON.stringify(this.request)}` - } - readableIdentifier(k) { - return 'external ' + JSON.stringify(this.request) - } - needBuild(k, v) { - return v(null, !this.buildMeta) - } - build(k, v, E, P, R) { - this.buildMeta = { async: false, exportsType: undefined } - this.buildInfo = { - strict: true, - topLevelDeclarations: new Set(), - module: v.outputOptions.module, - } - const { request: L, externalType: N } = - this._getRequestAndExternalType() - this.buildMeta.exportsType = 'dynamic' - let q = false - this.clearDependenciesAndBlocks() - switch (N) { - case 'this': - this.buildInfo.strict = false - break - case 'system': - if (!Array.isArray(L) || L.length === 1) { - this.buildMeta.exportsType = 'namespace' - q = true - } - break - case 'module': - if (this.buildInfo.module) { - if (!Array.isArray(L) || L.length === 1) { - this.buildMeta.exportsType = 'namespace' - q = true - } - } else { - this.buildMeta.async = true - if (!Array.isArray(L) || L.length === 1) { - this.buildMeta.exportsType = 'namespace' - q = false - } - } - break - case 'script': - case 'promise': - this.buildMeta.async = true - break - case 'import': - this.buildMeta.async = true - if (!Array.isArray(L) || L.length === 1) { - this.buildMeta.exportsType = 'namespace' - q = false - } - break - } - this.addDependency(new ye(true, q)) - R() - } - restoreFromUnsafeCache(k, v) { - this._restoreFromUnsafeCache(k, v) - } - getConcatenationBailoutReason({ moduleGraph: k }) { - 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 - } - _getRequestAndExternalType() { - let { request: k, externalType: v } = this - if (typeof k === 'object' && !Array.isArray(k)) k = k[v] - return { request: k, externalType: v } - } - _getSourceData(k, v, E, P, R, L) { - switch (v) { - case 'this': - case 'window': - case 'self': - return getSourceForGlobalVariableExternal(k, this.externalType) - case 'global': - return getSourceForGlobalVariableExternal(k, E.globalObject) - case 'commonjs': - case 'commonjs2': - case 'commonjs-module': - case 'commonjs-static': - return getSourceForCommonJsExternal(k) - case 'node-commonjs': - return this.buildInfo.module - ? getSourceForCommonJsExternalInNodeModule( - k, - E.outputOptions.importMetaName - ) - : getSourceForCommonJsExternal(k) - case 'amd': - case 'amd-require': - case 'umd': - case 'umd2': - case 'system': - case 'jsonp': { - const v = R.getModuleId(this) - return getSourceForAmdOrUmdExternal( - v !== null ? v : this.identifier(), - this.isOptional(P), - k, - E - ) - } - case 'import': - return getSourceForImportExternal(k, E) - case 'script': - return getSourceForScriptExternal(k, E) - case 'module': { - if (!this.buildInfo.module) { - if (!E.supportsDynamicImport()) { - throw new Error( - "The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script" + - (E.supportsEcmaScriptModuleSyntax() - ? "\nDid you mean to build a EcmaScript Module ('output.module: true')?" - : '') - ) - } - return getSourceForImportExternal(k, E) - } - if (!E.supportsEcmaScriptModuleSyntax()) { - throw new Error( - "The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'" - ) - } - return getSourceForModuleExternal( - k, - P.getExportsInfo(this), - L, - E.outputOptions.hashFunction - ) - } - case 'var': - case 'promise': - case 'const': - case 'let': - case 'assign': - default: - return getSourceForDefaultCase(this.isOptional(P), k, E) - } - } - codeGeneration({ - runtimeTemplate: k, - moduleGraph: v, - chunkGraph: E, - runtime: N, - concatenationScope: q, - }) { - const { request: ae, externalType: le } = - this._getRequestAndExternalType() - switch (le) { - case 'asset': { - const k = new Map() - k.set( - 'javascript', - new R(`module.exports = ${JSON.stringify(ae)};`) - ) - const v = new Map() - v.set('url', ae) - return { sources: k, runtimeRequirements: qe, data: v } - } - case 'css-import': { - const k = new Map() - k.set('css-import', new R(`@import url(${JSON.stringify(ae)});`)) - return { sources: k, runtimeRequirements: He } - } - default: { - const me = this._getSourceData(ae, le, k, v, E, N) - let ye = me.expression - if (me.iife) ye = `(function() { return ${ye}; }())` - if (q) { - ye = `${k.supportsConst() ? 'const' : 'var'} ${ - L.NAMESPACE_OBJECT_EXPORT - } = ${ye};` - q.registerNamespaceExport(L.NAMESPACE_OBJECT_EXPORT) - } else { - ye = `module.exports = ${ye};` - } - if (me.init) ye = `${me.init}\n${ye}` - let _e = undefined - if (me.chunkInitFragments) { - _e = new Map() - _e.set('chunkInitFragments', me.chunkInitFragments) - } - const Ie = new Map() - if (this.useSourceMap || this.useSimpleSourceMap) { - Ie.set('javascript', new P(ye, this.identifier())) - } else { - Ie.set('javascript', new R(ye)) - } - let Me = me.runtimeRequirements - if (!q) { - if (!Me) { - Me = qe - } else { - const k = new Set(Me) - k.add(pe.module) - Me = k - } - } - return { sources: Ie, runtimeRequirements: Me || He, data: _e } - } - } - } - size(k) { - return 42 - } - updateHash(k, v) { - const { chunkGraph: E } = v - k.update( - `${this.externalType}${JSON.stringify( - this.request - )}${this.isOptional(E.moduleGraph)}` - ) - super.updateHash(k, v) - } - serialize(k) { - const { write: v } = k - v(this.request) - v(this.externalType) - v(this.userRequest) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.request = v() - this.externalType = v() - this.userRequest = v() - super.deserialize(k) - } - } - Me(ExternalModule, 'webpack/lib/ExternalModule') - k.exports = ExternalModule - }, - 37368: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = E(10849) - const { resolveByProperty: L, cachedSetProperty: N } = E(99454) - const q = /^[a-z0-9-]+ / - const ae = {} - const le = P.deprecate( - (k, v, E, P) => { - k.call(null, v, E, P) - }, - 'The externals-function should be defined like ({context, request}, cb) => { ... }', - 'DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS' - ) - const pe = new WeakMap() - const resolveLayer = (k, v) => { - let E = pe.get(k) - if (E === undefined) { - E = new Map() - pe.set(k, E) - } else { - const k = E.get(v) - if (k !== undefined) return k - } - const P = L(k, 'byLayer', v) - E.set(v, P) - return P - } - class ExternalModuleFactoryPlugin { - constructor(k, v) { - this.type = k - this.externals = v - } - apply(k) { - const v = this.type - k.hooks.factorize.tapAsync('ExternalModuleFactoryPlugin', (E, P) => { - const L = E.context - const pe = E.contextInfo - const me = E.dependencies[0] - const ye = E.dependencyType - const handleExternal = (k, E, P) => { - if (k === false) { - return P() - } - let L - if (k === true) { - L = me.request - } else { - L = k - } - if (E === undefined) { - if (typeof L === 'string' && q.test(L)) { - const k = L.indexOf(' ') - E = L.slice(0, k) - L = L.slice(k + 1) - } else if (Array.isArray(L) && L.length > 0 && q.test(L[0])) { - const k = L[0] - const v = k.indexOf(' ') - E = k.slice(0, v) - L = [k.slice(v + 1), ...L.slice(1)] - } - } - P(null, new R(L, E || v, me.request)) - } - const handleExternals = (v, P) => { - if (typeof v === 'string') { - if (v === me.request) { - return handleExternal(me.request, undefined, P) - } - } else if (Array.isArray(v)) { - let k = 0 - const next = () => { - let E - const handleExternalsAndCallback = (k, v) => { - if (k) return P(k) - if (!v) { - if (E) { - E = false - return - } - return next() - } - P(null, v) - } - do { - E = true - if (k >= v.length) return P() - handleExternals(v[k++], handleExternalsAndCallback) - } while (!E) - E = false - } - next() - return - } else if (v instanceof RegExp) { - if (v.test(me.request)) { - return handleExternal(me.request, undefined, P) - } - } else if (typeof v === 'function') { - const cb = (k, v, E) => { - if (k) return P(k) - if (v !== undefined) { - handleExternal(v, E, P) - } else { - P() - } - } - if (v.length === 3) { - le(v, L, me.request, cb) - } else { - const P = v( - { - context: L, - request: me.request, - dependencyType: ye, - contextInfo: pe, - getResolve: (v) => (P, R, L) => { - const q = { - fileDependencies: E.fileDependencies, - missingDependencies: E.missingDependencies, - contextDependencies: E.contextDependencies, - } - let le = k.getResolver( - 'normal', - ye - ? N(E.resolveOptions || ae, 'dependencyType', ye) - : E.resolveOptions - ) - if (v) le = le.withOptions(v) - if (L) { - le.resolve({}, P, R, q, L) - } else { - return new Promise((k, v) => { - le.resolve({}, P, R, q, (E, P) => { - if (E) v(E) - else k(P) - }) - }) - } - }, - }, - cb - ) - if (P && P.then) P.then((k) => cb(null, k), cb) - } - return - } else if (typeof v === 'object') { - const k = resolveLayer(v, pe.issuerLayer) - if (Object.prototype.hasOwnProperty.call(k, me.request)) { - return handleExternal(k[me.request], undefined, P) - } - } - P() - } - handleExternals(this.externals, P) - }) - } - } - k.exports = ExternalModuleFactoryPlugin - }, - 53757: function (k, v, E) { - 'use strict' - const P = E(37368) - class ExternalsPlugin { - constructor(k, v) { - this.type = k - this.externals = v - } - apply(k) { - k.hooks.compile.tap( - 'ExternalsPlugin', - ({ normalModuleFactory: k }) => { - new P(this.type, this.externals).apply(k) - } - ) - } - } - k.exports = ExternalsPlugin - }, - 18144: function (k, v, E) { - 'use strict' - const { create: P } = E(90006) - const R = E(98188) - const L = E(78175) - const { isAbsolute: N } = E(71017) - const q = E(89262) - const ae = E(11333) - const le = E(74012) - const { - join: pe, - dirname: me, - relative: ye, - lstatReadlinkAbsolute: _e, - } = E(57825) - const Ie = E(58528) - const Me = E(38254) - const Te = +process.versions.modules >= 83 - const je = new Set(R.builtinModules) - let Ne = 2e3 - const Be = new Set() - const qe = 0 - const Ue = 1 - const Ge = 2 - const He = 3 - const We = 4 - const Qe = 5 - const Je = 6 - const Ve = 7 - const Ke = 8 - const Ye = 9 - const Xe = Symbol('invalid') - const Ze = new Set().keys().next() - class SnapshotIterator { - constructor(k) { - this.next = k - } - } - class SnapshotIterable { - constructor(k, v) { - this.snapshot = k - this.getMaps = v - } - [Symbol.iterator]() { - let k = 0 - let v - let E - let P - let R - let L - return new SnapshotIterator(() => { - for (;;) { - switch (k) { - case 0: - R = this.snapshot - E = this.getMaps - P = E(R) - k = 1 - case 1: - if (P.length > 0) { - const E = P.pop() - if (E !== undefined) { - v = E.keys() - k = 2 - } else { - break - } - } else { - k = 3 - break - } - case 2: { - const E = v.next() - if (!E.done) return E - k = 1 - break - } - case 3: { - const v = R.children - if (v !== undefined) { - if (v.size === 1) { - for (const k of v) R = k - P = E(R) - k = 1 - break - } - if (L === undefined) L = [] - for (const k of v) { - L.push(k) - } - } - if (L !== undefined && L.length > 0) { - R = L.pop() - P = E(R) - k = 1 - break - } else { - k = 4 - } - } - case 4: - return Ze - } - } - }) - } - } - class Snapshot { - constructor() { - this._flags = 0 - this._cachedFileIterable = undefined - this._cachedContextIterable = undefined - this._cachedMissingIterable = undefined - 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(k) { - this._flags = this._flags | 1 - this.startTime = k - } - setMergedStartTime(k, v) { - if (k) { - if (v.hasStartTime()) { - this.setStartTime(Math.min(k, v.startTime)) - } else { - this.setStartTime(k) - } - } else { - if (v.hasStartTime()) this.setStartTime(v.startTime) - } - } - hasFileTimestamps() { - return (this._flags & 2) !== 0 - } - setFileTimestamps(k) { - this._flags = this._flags | 2 - this.fileTimestamps = k - } - hasFileHashes() { - return (this._flags & 4) !== 0 - } - setFileHashes(k) { - this._flags = this._flags | 4 - this.fileHashes = k - } - hasFileTshs() { - return (this._flags & 8) !== 0 - } - setFileTshs(k) { - this._flags = this._flags | 8 - this.fileTshs = k - } - hasContextTimestamps() { - return (this._flags & 16) !== 0 - } - setContextTimestamps(k) { - this._flags = this._flags | 16 - this.contextTimestamps = k - } - hasContextHashes() { - return (this._flags & 32) !== 0 - } - setContextHashes(k) { - this._flags = this._flags | 32 - this.contextHashes = k - } - hasContextTshs() { - return (this._flags & 64) !== 0 - } - setContextTshs(k) { - this._flags = this._flags | 64 - this.contextTshs = k - } - hasMissingExistence() { - return (this._flags & 128) !== 0 - } - setMissingExistence(k) { - this._flags = this._flags | 128 - this.missingExistence = k - } - hasManagedItemInfo() { - return (this._flags & 256) !== 0 - } - setManagedItemInfo(k) { - this._flags = this._flags | 256 - this.managedItemInfo = k - } - hasManagedFiles() { - return (this._flags & 512) !== 0 - } - setManagedFiles(k) { - this._flags = this._flags | 512 - this.managedFiles = k - } - hasManagedContexts() { - return (this._flags & 1024) !== 0 - } - setManagedContexts(k) { - this._flags = this._flags | 1024 - this.managedContexts = k - } - hasManagedMissing() { - return (this._flags & 2048) !== 0 - } - setManagedMissing(k) { - this._flags = this._flags | 2048 - this.managedMissing = k - } - hasChildren() { - return (this._flags & 4096) !== 0 - } - setChildren(k) { - this._flags = this._flags | 4096 - this.children = k - } - addChild(k) { - if (!this.hasChildren()) { - this.setChildren(new Set()) - } - this.children.add(k) - } - serialize({ write: k }) { - k(this._flags) - if (this.hasStartTime()) k(this.startTime) - if (this.hasFileTimestamps()) k(this.fileTimestamps) - if (this.hasFileHashes()) k(this.fileHashes) - if (this.hasFileTshs()) k(this.fileTshs) - if (this.hasContextTimestamps()) k(this.contextTimestamps) - if (this.hasContextHashes()) k(this.contextHashes) - if (this.hasContextTshs()) k(this.contextTshs) - if (this.hasMissingExistence()) k(this.missingExistence) - if (this.hasManagedItemInfo()) k(this.managedItemInfo) - if (this.hasManagedFiles()) k(this.managedFiles) - if (this.hasManagedContexts()) k(this.managedContexts) - if (this.hasManagedMissing()) k(this.managedMissing) - if (this.hasChildren()) k(this.children) - } - deserialize({ read: k }) { - this._flags = k() - if (this.hasStartTime()) this.startTime = k() - if (this.hasFileTimestamps()) this.fileTimestamps = k() - if (this.hasFileHashes()) this.fileHashes = k() - if (this.hasFileTshs()) this.fileTshs = k() - if (this.hasContextTimestamps()) this.contextTimestamps = k() - if (this.hasContextHashes()) this.contextHashes = k() - if (this.hasContextTshs()) this.contextTshs = k() - if (this.hasMissingExistence()) this.missingExistence = k() - if (this.hasManagedItemInfo()) this.managedItemInfo = k() - if (this.hasManagedFiles()) this.managedFiles = k() - if (this.hasManagedContexts()) this.managedContexts = k() - if (this.hasManagedMissing()) this.managedMissing = k() - if (this.hasChildren()) this.children = k() - } - _createIterable(k) { - return new SnapshotIterable(this, k) - } - getFileIterable() { - if (this._cachedFileIterable === undefined) { - this._cachedFileIterable = this._createIterable((k) => [ - k.fileTimestamps, - k.fileHashes, - k.fileTshs, - k.managedFiles, - ]) - } - return this._cachedFileIterable - } - getContextIterable() { - if (this._cachedContextIterable === undefined) { - this._cachedContextIterable = this._createIterable((k) => [ - k.contextTimestamps, - k.contextHashes, - k.contextTshs, - k.managedContexts, - ]) - } - return this._cachedContextIterable - } - getMissingIterable() { - if (this._cachedMissingIterable === undefined) { - this._cachedMissingIterable = this._createIterable((k) => [ - k.missingExistence, - k.managedMissing, - ]) - } - return this._cachedMissingIterable - } - } - Ie(Snapshot, 'webpack/lib/FileSystemInfo', 'Snapshot') - const et = 3 - class SnapshotOptimization { - constructor(k, v, E, P = true, R = false) { - this._has = k - this._get = v - this._set = E - this._useStartTime = P - this._isSet = R - this._map = new Map() - this._statItemsShared = 0 - this._statItemsUnshared = 0 - this._statSharedSnapshots = 0 - this._statReusedSharedSnapshots = 0 - } - getStatisticMessage() { - const k = this._statItemsShared + this._statItemsUnshared - if (k === 0) return undefined - return `${ - this._statItemsShared && - Math.round((this._statItemsShared * 100) / k) - }% (${this._statItemsShared}/${k}) entries shared via ${ - this._statSharedSnapshots - } shared snapshots (${ - this._statReusedSharedSnapshots + this._statSharedSnapshots - } times referenced)` - } - clear() { - this._map.clear() - this._statItemsShared = 0 - this._statItemsUnshared = 0 - this._statSharedSnapshots = 0 - this._statReusedSharedSnapshots = 0 - } - optimize(k, v) { - const increaseSharedAndStoreOptimizationEntry = (k) => { - if (k.children !== undefined) { - k.children.forEach(increaseSharedAndStoreOptimizationEntry) - } - k.shared++ - storeOptimizationEntry(k) - } - const storeOptimizationEntry = (k) => { - for (const E of k.snapshotContent) { - const P = this._map.get(E) - if (P.shared < k.shared) { - this._map.set(E, k) - } - v.delete(E) - } - } - let E = undefined - const P = v.size - const R = new Set() - for (const P of v) { - const v = this._map.get(P) - if (v === undefined) { - if (E === undefined) { - E = { - snapshot: k, - shared: 0, - snapshotContent: undefined, - children: undefined, - } - } - this._map.set(P, E) - continue - } else { - R.add(v) - } - } - e: for (const E of R) { - const P = E.snapshot - if (E.shared > 0) { - if ( - this._useStartTime && - k.startTime && - (!P.startTime || P.startTime > k.startTime) - ) { - continue - } - const R = new Set() - const L = E.snapshotContent - const N = this._get(P) - for (const k of L) { - if (!v.has(k)) { - if (!N.has(k)) { - continue e - } - R.add(k) - continue - } - } - if (R.size === 0) { - k.addChild(P) - increaseSharedAndStoreOptimizationEntry(E) - this._statReusedSharedSnapshots++ - } else { - const v = L.size - R.size - if (v < et) { - continue e - } - let q - if (this._isSet) { - q = new Set() - for (const k of N) { - if (R.has(k)) continue - q.add(k) - N.delete(k) - } - } else { - q = new Map() - const k = N - for (const [v, E] of k) { - if (R.has(v)) continue - q.set(v, E) - N.delete(v) - } - } - const ae = new Snapshot() - if (this._useStartTime) { - ae.setMergedStartTime(k.startTime, P) - } - this._set(ae, q) - k.addChild(ae) - P.addChild(ae) - const le = { - snapshot: ae, - shared: E.shared + 1, - snapshotContent: new Set(q.keys()), - children: undefined, - } - if (E.children === undefined) E.children = new Set() - E.children.add(le) - storeOptimizationEntry(le) - this._statSharedSnapshots++ - } - } else { - const E = this._get(P) - if (E === undefined) { - continue e - } - let R - if (this._isSet) { - R = new Set() - const k = E - if (v.size < k.size) { - for (const E of v) { - if (k.has(E)) R.add(E) - } - } else { - for (const E of k) { - if (v.has(E)) R.add(E) - } - } - } else { - R = new Map() - const k = E - for (const E of v) { - const v = k.get(E) - if (v === undefined) continue - R.set(E, v) - } - } - if (R.size < et) { - continue e - } - const L = new Snapshot() - if (this._useStartTime) { - L.setMergedStartTime(k.startTime, P) - } - this._set(L, R) - k.addChild(L) - P.addChild(L) - for (const k of R.keys()) E.delete(k) - const N = R.size - this._statItemsUnshared -= N - this._statItemsShared += N - storeOptimizationEntry({ - snapshot: L, - shared: 2, - snapshotContent: new Set(R.keys()), - children: undefined, - }) - this._statSharedSnapshots++ - } - } - const L = v.size - this._statItemsUnshared += L - this._statItemsShared += P - L - } - } - const parseString = (k) => { - if (k[0] === "'") k = `"${k.slice(1, -1).replace(/"/g, '\\"')}"` - return JSON.parse(k) - } - const applyMtime = (k) => { - if (Ne > 1 && k % 2 !== 0) Ne = 1 - else if (Ne > 10 && k % 20 !== 0) Ne = 10 - else if (Ne > 100 && k % 200 !== 0) Ne = 100 - else if (Ne > 1e3 && k % 2e3 !== 0) Ne = 1e3 - } - const mergeMaps = (k, v) => { - if (!v || v.size === 0) return k - if (!k || k.size === 0) return v - const E = new Map(k) - for (const [k, P] of v) { - E.set(k, P) - } - return E - } - const mergeSets = (k, v) => { - if (!v || v.size === 0) return k - if (!k || k.size === 0) return v - const E = new Set(k) - for (const k of v) { - E.add(k) - } - return E - } - const getManagedItem = (k, v) => { - let E = k.length - let P = 1 - let R = true - e: while (E < v.length) { - switch (v.charCodeAt(E)) { - case 47: - case 92: - if (--P === 0) break e - R = true - break - case 46: - if (R) return null - break - case 64: - if (!R) return null - P++ - break - default: - R = false - break - } - E++ - } - if (E === v.length) P-- - if (P !== 0) return null - if ( - v.length >= E + 13 && - v.charCodeAt(E + 1) === 110 && - v.charCodeAt(E + 2) === 111 && - v.charCodeAt(E + 3) === 100 && - v.charCodeAt(E + 4) === 101 && - v.charCodeAt(E + 5) === 95 && - v.charCodeAt(E + 6) === 109 && - v.charCodeAt(E + 7) === 111 && - v.charCodeAt(E + 8) === 100 && - v.charCodeAt(E + 9) === 117 && - v.charCodeAt(E + 10) === 108 && - v.charCodeAt(E + 11) === 101 && - v.charCodeAt(E + 12) === 115 - ) { - if (v.length === E + 13) { - return v - } - const k = v.charCodeAt(E + 13) - if (k === 47 || k === 92) { - return getManagedItem(v.slice(0, E + 14), v) - } - } - return v.slice(0, E) - } - const getResolvedTimestamp = (k) => { - if (k === null) return null - if (k.resolved !== undefined) return k.resolved - return k.symlinks === undefined ? k : undefined - } - const getResolvedHash = (k) => { - if (k === null) return null - if (k.resolved !== undefined) return k.resolved - return k.symlinks === undefined ? k.hash : undefined - } - const addAll = (k, v) => { - for (const E of k) v.add(E) - } - class FileSystemInfo { - constructor( - k, - { - managedPaths: v = [], - immutablePaths: E = [], - logger: P, - hashFunction: R = 'md4', - } = {} - ) { - this.fs = k - this.logger = P - this._remainingLogs = P ? 40 : 0 - this._loggedPaths = P ? new Set() : undefined - this._hashFunction = R - this._snapshotCache = new WeakMap() - this._fileTimestampsOptimization = new SnapshotOptimization( - (k) => k.hasFileTimestamps(), - (k) => k.fileTimestamps, - (k, v) => k.setFileTimestamps(v) - ) - this._fileHashesOptimization = new SnapshotOptimization( - (k) => k.hasFileHashes(), - (k) => k.fileHashes, - (k, v) => k.setFileHashes(v), - false - ) - this._fileTshsOptimization = new SnapshotOptimization( - (k) => k.hasFileTshs(), - (k) => k.fileTshs, - (k, v) => k.setFileTshs(v) - ) - this._contextTimestampsOptimization = new SnapshotOptimization( - (k) => k.hasContextTimestamps(), - (k) => k.contextTimestamps, - (k, v) => k.setContextTimestamps(v) - ) - this._contextHashesOptimization = new SnapshotOptimization( - (k) => k.hasContextHashes(), - (k) => k.contextHashes, - (k, v) => k.setContextHashes(v), - false - ) - this._contextTshsOptimization = new SnapshotOptimization( - (k) => k.hasContextTshs(), - (k) => k.contextTshs, - (k, v) => k.setContextTshs(v) - ) - this._missingExistenceOptimization = new SnapshotOptimization( - (k) => k.hasMissingExistence(), - (k) => k.missingExistence, - (k, v) => k.setMissingExistence(v), - false - ) - this._managedItemInfoOptimization = new SnapshotOptimization( - (k) => k.hasManagedItemInfo(), - (k) => k.managedItemInfo, - (k, v) => k.setManagedItemInfo(v), - false - ) - this._managedFilesOptimization = new SnapshotOptimization( - (k) => k.hasManagedFiles(), - (k) => k.managedFiles, - (k, v) => k.setManagedFiles(v), - false, - true - ) - this._managedContextsOptimization = new SnapshotOptimization( - (k) => k.hasManagedContexts(), - (k) => k.managedContexts, - (k, v) => k.setManagedContexts(v), - false, - true - ) - this._managedMissingOptimization = new SnapshotOptimization( - (k) => k.hasManagedMissing(), - (k) => k.managedMissing, - (k, v) => k.setManagedMissing(v), - false, - true - ) - this._fileTimestamps = new ae() - this._fileHashes = new Map() - this._fileTshs = new Map() - this._contextTimestamps = new ae() - this._contextHashes = new Map() - this._contextTshs = new Map() - this._managedItems = new Map() - this.fileTimestampQueue = new q({ - name: 'file timestamp', - parallelism: 30, - processor: this._readFileTimestamp.bind(this), - }) - this.fileHashQueue = new q({ - name: 'file hash', - parallelism: 10, - processor: this._readFileHash.bind(this), - }) - this.contextTimestampQueue = new q({ - name: 'context timestamp', - parallelism: 2, - processor: this._readContextTimestamp.bind(this), - }) - this.contextHashQueue = new q({ - name: 'context hash', - parallelism: 2, - processor: this._readContextHash.bind(this), - }) - this.contextTshQueue = new q({ - name: 'context hash and timestamp', - parallelism: 2, - processor: this._readContextTimestampAndHash.bind(this), - }) - this.managedItemQueue = new q({ - name: 'managed item info', - parallelism: 10, - processor: this._getManagedItemInfo.bind(this), - }) - this.managedItemDirectoryQueue = new q({ - name: 'managed item directory info', - parallelism: 10, - processor: this._getManagedItemDirectoryInfo.bind(this), - }) - this.managedPaths = Array.from(v) - this.managedPathsWithSlash = this.managedPaths - .filter((k) => typeof k === 'string') - .map((v) => pe(k, v, '_').slice(0, -1)) - this.managedPathsRegExps = this.managedPaths.filter( - (k) => typeof k !== 'string' - ) - this.immutablePaths = Array.from(E) - this.immutablePathsWithSlash = this.immutablePaths - .filter((k) => typeof k === 'string') - .map((v) => pe(k, v, '_').slice(0, -1)) - this.immutablePathsRegExps = this.immutablePaths.filter( - (k) => typeof k !== 'string' - ) - this._cachedDeprecatedFileTimestamps = undefined - this._cachedDeprecatedContextTimestamps = undefined - this._warnAboutExperimentalEsmTracking = false - this._statCreatedSnapshots = 0 - this._statTestedSnapshotsCached = 0 - this._statTestedSnapshotsNotCached = 0 - this._statTestedChildrenCached = 0 - this._statTestedChildrenNotCached = 0 - this._statTestedEntries = 0 - } - logStatistics() { - const logWhenMessage = (k, v) => { - if (v) { - this.logger.log(`${k}: ${v}`) - } - } - 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` - ) - logWhenMessage( - `File timestamp snapshot optimization`, - this._fileTimestampsOptimization.getStatisticMessage() - ) - logWhenMessage( - `File hash snapshot optimization`, - this._fileHashesOptimization.getStatisticMessage() - ) - logWhenMessage( - `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` - ) - logWhenMessage( - `Directory timestamp snapshot optimization`, - this._contextTimestampsOptimization.getStatisticMessage() - ) - logWhenMessage( - `Directory hash snapshot optimization`, - this._contextHashesOptimization.getStatisticMessage() - ) - logWhenMessage( - `Directory timestamp hash combination snapshot optimization`, - this._contextTshsOptimization.getStatisticMessage() - ) - logWhenMessage( - `Missing items snapshot optimization`, - this._missingExistenceOptimization.getStatisticMessage() - ) - this.logger.log( - `Managed items info in cache: ${this._managedItems.size} items` - ) - logWhenMessage( - `Managed items snapshot optimization`, - this._managedItemInfoOptimization.getStatisticMessage() - ) - logWhenMessage( - `Managed files snapshot optimization`, - this._managedFilesOptimization.getStatisticMessage() - ) - logWhenMessage( - `Managed contexts snapshot optimization`, - this._managedContextsOptimization.getStatisticMessage() - ) - logWhenMessage( - `Managed missing snapshot optimization`, - this._managedMissingOptimization.getStatisticMessage() - ) - } - _log(k, v, ...E) { - const P = k + v - if (this._loggedPaths.has(P)) return - this._loggedPaths.add(P) - this.logger.debug(`${k} invalidated because ${v}`, ...E) - if (--this._remainingLogs === 0) { - this.logger.debug( - 'Logging limit has been reached and no further logging will be emitted by FileSystemInfo' - ) - } - } - clear() { - this._remainingLogs = this.logger ? 40 : 0 - if (this._loggedPaths !== undefined) this._loggedPaths.clear() - this._snapshotCache = new WeakMap() - this._fileTimestampsOptimization.clear() - this._fileHashesOptimization.clear() - this._fileTshsOptimization.clear() - this._contextTimestampsOptimization.clear() - this._contextHashesOptimization.clear() - this._contextTshsOptimization.clear() - this._missingExistenceOptimization.clear() - this._managedItemInfoOptimization.clear() - this._managedFilesOptimization.clear() - this._managedContextsOptimization.clear() - this._managedMissingOptimization.clear() - this._fileTimestamps.clear() - this._fileHashes.clear() - this._fileTshs.clear() - this._contextTimestamps.clear() - this._contextHashes.clear() - this._contextTshs.clear() - this._managedItems.clear() - this._managedItems.clear() - this._cachedDeprecatedFileTimestamps = undefined - this._cachedDeprecatedContextTimestamps = undefined - this._statCreatedSnapshots = 0 - this._statTestedSnapshotsCached = 0 - this._statTestedSnapshotsNotCached = 0 - this._statTestedChildrenCached = 0 - this._statTestedChildrenNotCached = 0 - this._statTestedEntries = 0 - } - addFileTimestamps(k, v) { - this._fileTimestamps.addAll(k, v) - this._cachedDeprecatedFileTimestamps = undefined - } - addContextTimestamps(k, v) { - this._contextTimestamps.addAll(k, v) - this._cachedDeprecatedContextTimestamps = undefined - } - getFileTimestamp(k, v) { - const E = this._fileTimestamps.get(k) - if (E !== undefined) return v(null, E) - this.fileTimestampQueue.add(k, v) - } - getContextTimestamp(k, v) { - const E = this._contextTimestamps.get(k) - if (E !== undefined) { - if (E === 'ignore') return v(null, 'ignore') - const k = getResolvedTimestamp(E) - if (k !== undefined) return v(null, k) - return this._resolveContextTimestamp(E, v) - } - this.contextTimestampQueue.add(k, (k, E) => { - if (k) return v(k) - const P = getResolvedTimestamp(E) - if (P !== undefined) return v(null, P) - this._resolveContextTimestamp(E, v) - }) - } - _getUnresolvedContextTimestamp(k, v) { - const E = this._contextTimestamps.get(k) - if (E !== undefined) return v(null, E) - this.contextTimestampQueue.add(k, v) - } - getFileHash(k, v) { - const E = this._fileHashes.get(k) - if (E !== undefined) return v(null, E) - this.fileHashQueue.add(k, v) - } - getContextHash(k, v) { - const E = this._contextHashes.get(k) - if (E !== undefined) { - const k = getResolvedHash(E) - if (k !== undefined) return v(null, k) - return this._resolveContextHash(E, v) - } - this.contextHashQueue.add(k, (k, E) => { - if (k) return v(k) - const P = getResolvedHash(E) - if (P !== undefined) return v(null, P) - this._resolveContextHash(E, v) - }) - } - _getUnresolvedContextHash(k, v) { - const E = this._contextHashes.get(k) - if (E !== undefined) return v(null, E) - this.contextHashQueue.add(k, v) - } - getContextTsh(k, v) { - const E = this._contextTshs.get(k) - if (E !== undefined) { - const k = getResolvedTimestamp(E) - if (k !== undefined) return v(null, k) - return this._resolveContextTsh(E, v) - } - this.contextTshQueue.add(k, (k, E) => { - if (k) return v(k) - const P = getResolvedTimestamp(E) - if (P !== undefined) return v(null, P) - this._resolveContextTsh(E, v) - }) - } - _getUnresolvedContextTsh(k, v) { - const E = this._contextTshs.get(k) - if (E !== undefined) return v(null, E) - this.contextTshQueue.add(k, v) - } - _createBuildDependenciesResolvers() { - const k = P({ - resolveToContext: true, - exportsFields: [], - fileSystem: this.fs, - }) - const v = P({ - extensions: ['.js', '.json', '.node'], - conditionNames: ['require', 'node'], - exportsFields: ['exports'], - fileSystem: this.fs, - }) - const E = P({ - extensions: ['.js', '.json', '.node'], - conditionNames: ['require', 'node'], - exportsFields: [], - fileSystem: this.fs, - }) - const R = P({ - extensions: ['.js', '.json', '.node'], - fullySpecified: true, - conditionNames: ['import', 'node'], - exportsFields: ['exports'], - fileSystem: this.fs, - }) - return { - resolveContext: k, - resolveEsm: R, - resolveCjs: v, - resolveCjsAsChild: E, - } - } - resolveBuildDependencies(k, v, P) { - const { - resolveContext: R, - resolveEsm: L, - resolveCjs: q, - resolveCjsAsChild: ae, - } = this._createBuildDependenciesResolvers() - const le = new Set() - const _e = new Set() - const Ie = new Set() - const Ne = new Set() - const Be = new Set() - const Xe = new Set() - const Ze = new Set() - const et = new Set() - const tt = new Map() - const nt = new Set() - const st = { - fileDependencies: Xe, - contextDependencies: Ze, - missingDependencies: et, - } - const expectedToString = (k) => (k ? ` (expected ${k})` : '') - const jobToString = (k) => { - switch (k.type) { - case qe: - return `resolve commonjs ${k.path}${expectedToString( - k.expected - )}` - case Ue: - return `resolve esm ${k.path}${expectedToString(k.expected)}` - case Ge: - return `resolve directory ${k.path}` - case He: - return `resolve commonjs file ${k.path}${expectedToString( - k.expected - )}` - case Qe: - return `resolve esm file ${k.path}${expectedToString( - k.expected - )}` - case Je: - return `directory ${k.path}` - case Ve: - return `file ${k.path}` - case Ke: - return `directory dependencies ${k.path}` - case Ye: - return `file dependencies ${k.path}` - } - return `unknown ${k.type} ${k.path}` - } - const pathToString = (k) => { - let v = ` at ${jobToString(k)}` - k = k.issuer - while (k !== undefined) { - v += `\n at ${jobToString(k)}` - k = k.issuer - } - return v - } - Me( - Array.from(v, (v) => ({ - type: qe, - context: k, - path: v, - expected: undefined, - issuer: undefined, - })), - 20, - (k, v, P) => { - const { type: Me, context: Be, path: Ze, expected: rt } = k - const resolveDirectory = (E) => { - const L = `d\n${Be}\n${E}` - if (tt.has(L)) { - return P() - } - tt.set(L, undefined) - R(Be, E, st, (R, N, q) => { - if (R) { - if (rt === false) { - tt.set(L, false) - return P() - } - nt.add(L) - R.message += `\nwhile resolving '${E}' in ${Be} to a directory` - return P(R) - } - const ae = q.path - tt.set(L, ae) - v({ - type: Je, - context: undefined, - path: ae, - expected: undefined, - issuer: k, - }) - P() - }) - } - const resolveFile = (E, R, L) => { - const N = `${R}\n${Be}\n${E}` - if (tt.has(N)) { - return P() - } - tt.set(N, undefined) - L(Be, E, st, (R, L, q) => { - if (typeof rt === 'string') { - if (!R && q && q.path === rt) { - tt.set(N, q.path) - } else { - nt.add(N) - this.logger.warn( - `Resolving '${E}' in ${Be} for build dependencies doesn't lead to expected result '${rt}', but to '${ - R || (q && q.path) - }' instead. Resolving dependencies are ignored for this path.\n${pathToString( - k - )}` - ) - } - } else { - if (R) { - if (rt === false) { - tt.set(N, false) - return P() - } - nt.add(N) - R.message += `\nwhile resolving '${E}' in ${Be} as file\n${pathToString( - k - )}` - return P(R) - } - const L = q.path - tt.set(N, L) - v({ - type: Ve, - context: undefined, - path: L, - expected: undefined, - issuer: k, - }) - } - P() - }) - } - switch (Me) { - case qe: { - const k = /[\\/]$/.test(Ze) - if (k) { - resolveDirectory(Ze.slice(0, Ze.length - 1)) - } else { - resolveFile(Ze, 'f', q) - } - break - } - case Ue: { - const k = /[\\/]$/.test(Ze) - if (k) { - resolveDirectory(Ze.slice(0, Ze.length - 1)) - } else { - resolveFile(Ze) - } - break - } - case Ge: { - resolveDirectory(Ze) - break - } - case He: { - resolveFile(Ze, 'f', q) - break - } - case We: { - resolveFile(Ze, 'c', ae) - break - } - case Qe: { - resolveFile(Ze, 'e', L) - break - } - case Ve: { - if (le.has(Ze)) { - P() - break - } - le.add(Ze) - this.fs.realpath(Ze, (E, R) => { - if (E) return P(E) - const L = R - if (L !== Ze) { - _e.add(Ze) - Xe.add(Ze) - if (le.has(L)) return P() - le.add(L) - } - v({ - type: Ye, - context: undefined, - path: L, - expected: undefined, - issuer: k, - }) - P() - }) - break - } - case Je: { - if (Ie.has(Ze)) { - P() - break - } - Ie.add(Ze) - this.fs.realpath(Ze, (E, R) => { - if (E) return P(E) - const L = R - if (L !== Ze) { - Ne.add(Ze) - Xe.add(Ze) - if (Ie.has(L)) return P() - Ie.add(L) - } - v({ - type: Ke, - context: undefined, - path: L, - expected: undefined, - issuer: k, - }) - P() - }) - break - } - case Ye: { - if ( - /\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test(Ze) - ) { - process.nextTick(P) - break - } - const R = require.cache[Ze] - if (R && Array.isArray(R.children)) { - e: for (const E of R.children) { - let P = E.filename - if (P) { - v({ - type: Ve, - context: undefined, - path: P, - expected: undefined, - issuer: k, - }) - const L = me(this.fs, Ze) - for (const N of R.paths) { - if (P.startsWith(N)) { - let R = P.slice(N.length + 1) - const q = /^(@[^\\/]+[\\/])[^\\/]+/.exec(R) - if (q) { - v({ - type: Ve, - context: undefined, - path: - N + - P[N.length] + - q[0] + - P[N.length] + - 'package.json', - expected: false, - issuer: k, - }) - } - let ae = R.replace(/\\/g, '/') - if (ae.endsWith('.js')) ae = ae.slice(0, -3) - v({ - type: We, - context: L, - path: ae, - expected: E.filename, - issuer: k, - }) - continue e - } - } - let q = ye(this.fs, L, P) - if (q.endsWith('.js')) q = q.slice(0, -3) - q = q.replace(/\\/g, '/') - if (!q.startsWith('../') && !N(q)) { - q = `./${q}` - } - v({ - type: He, - context: L, - path: q, - expected: E.filename, - issuer: k, - }) - } - } - } else if (Te && /\.m?js$/.test(Ze)) { - if (!this._warnAboutExperimentalEsmTracking) { - this.logger.log( - "Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n" + - 'Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n' + - 'As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.' - ) - this._warnAboutExperimentalEsmTracking = true - } - const R = E(97998) - R.init.then(() => { - this.fs.readFile(Ze, (E, L) => { - if (E) return P(E) - try { - const E = me(this.fs, Ze) - const P = L.toString() - const [N] = R.parse(P) - for (const R of N) { - try { - let L - if (R.d === -1) { - L = parseString(P.substring(R.s - 1, R.e + 1)) - } else if (R.d > -1) { - let k = P.substring(R.s, R.e).trim() - L = parseString(k) - } else { - continue - } - if (L.startsWith('node:')) continue - if (je.has(L)) continue - v({ - type: Qe, - context: E, - path: L, - expected: undefined, - issuer: k, - }) - } catch (v) { - this.logger.warn( - `Parsing of ${Ze} for build dependencies failed at 'import(${P.substring( - R.s, - R.e - )})'.\n` + - 'Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.' - ) - this.logger.debug(pathToString(k)) - this.logger.debug(v.stack) - } - } - } catch (v) { - this.logger.warn( - `Parsing of ${Ze} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..` - ) - this.logger.debug(pathToString(k)) - this.logger.debug(v.stack) - } - process.nextTick(P) - }) - }, P) - break - } else { - this.logger.log( - `Assuming ${Ze} has no dependencies as we were unable to assign it to any module system.` - ) - this.logger.debug(pathToString(k)) - } - process.nextTick(P) - break - } - case Ke: { - const E = - /(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec( - Ze - ) - const R = E ? E[1] : Ze - const L = pe(this.fs, R, 'package.json') - this.fs.readFile(L, (E, N) => { - if (E) { - if (E.code === 'ENOENT') { - et.add(L) - const E = me(this.fs, R) - if (E !== R) { - v({ - type: Ke, - context: undefined, - path: E, - expected: undefined, - issuer: k, - }) - } - P() - return - } - return P(E) - } - Xe.add(L) - let q - try { - q = JSON.parse(N.toString('utf-8')) - } catch (k) { - return P(k) - } - const ae = q.dependencies - const le = q.optionalDependencies - const pe = new Set() - const ye = new Set() - if (typeof ae === 'object' && ae) { - for (const k of Object.keys(ae)) { - pe.add(k) - } - } - if (typeof le === 'object' && le) { - for (const k of Object.keys(le)) { - pe.add(k) - ye.add(k) - } - } - for (const E of pe) { - v({ - type: Ge, - context: R, - path: E, - expected: !ye.has(E), - issuer: k, - }) - } - P() - }) - break - } - } - }, - (k) => { - if (k) return P(k) - for (const k of _e) le.delete(k) - for (const k of Ne) Ie.delete(k) - for (const k of nt) tt.delete(k) - P(null, { - files: le, - directories: Ie, - missing: Be, - resolveResults: tt, - resolveDependencies: { - files: Xe, - directories: Ze, - missing: et, - }, - }) - } - ) - } - checkResolveResultsValid(k, v) { - const { - resolveCjs: E, - resolveCjsAsChild: P, - resolveEsm: R, - resolveContext: N, - } = this._createBuildDependenciesResolvers() - L.eachLimit( - k, - 20, - ([k, v], L) => { - const [q, ae, le] = k.split('\n') - switch (q) { - case 'd': - N(ae, le, {}, (k, E, P) => { - if (v === false) return L(k ? undefined : Xe) - if (k) return L(k) - const R = P.path - if (R !== v) return L(Xe) - L() - }) - break - case 'f': - E(ae, le, {}, (k, E, P) => { - if (v === false) return L(k ? undefined : Xe) - if (k) return L(k) - const R = P.path - if (R !== v) return L(Xe) - L() - }) - break - case 'c': - P(ae, le, {}, (k, E, P) => { - if (v === false) return L(k ? undefined : Xe) - if (k) return L(k) - const R = P.path - if (R !== v) return L(Xe) - L() - }) - break - case 'e': - R(ae, le, {}, (k, E, P) => { - if (v === false) return L(k ? undefined : Xe) - if (k) return L(k) - const R = P.path - if (R !== v) return L(Xe) - L() - }) - break - default: - L(new Error('Unexpected type in resolve result key')) - break - } - }, - (k) => { - if (k === Xe) { - return v(null, false) - } - if (k) { - return v(k) - } - return v(null, true) - } - ) - } - createSnapshot(k, v, E, P, R, L) { - const N = new Map() - const q = new Map() - const ae = new Map() - const le = new Map() - const me = new Map() - const ye = new Map() - const _e = new Map() - const Ie = new Map() - const Me = new Set() - const Te = new Set() - const je = new Set() - const Ne = new Set() - const Be = new Snapshot() - if (k) Be.setStartTime(k) - const qe = new Set() - const Ue = R && R.hash ? (R.timestamp ? 3 : 2) : 1 - let Ge = 1 - const jobDone = () => { - if (--Ge === 0) { - if (N.size !== 0) { - Be.setFileTimestamps(N) - } - if (q.size !== 0) { - Be.setFileHashes(q) - } - if (ae.size !== 0) { - Be.setFileTshs(ae) - } - if (le.size !== 0) { - Be.setContextTimestamps(le) - } - if (me.size !== 0) { - Be.setContextHashes(me) - } - if (ye.size !== 0) { - Be.setContextTshs(ye) - } - if (_e.size !== 0) { - Be.setMissingExistence(_e) - } - if (Ie.size !== 0) { - Be.setManagedItemInfo(Ie) - } - this._managedFilesOptimization.optimize(Be, Me) - if (Me.size !== 0) { - Be.setManagedFiles(Me) - } - this._managedContextsOptimization.optimize(Be, Te) - if (Te.size !== 0) { - Be.setManagedContexts(Te) - } - this._managedMissingOptimization.optimize(Be, je) - if (je.size !== 0) { - Be.setManagedMissing(je) - } - if (Ne.size !== 0) { - Be.setChildren(Ne) - } - this._snapshotCache.set(Be, true) - this._statCreatedSnapshots++ - L(null, Be) - } - } - const jobError = () => { - if (Ge > 0) { - Ge = -1e8 - L(null, null) - } - } - const checkManaged = (k, v) => { - for (const E of this.immutablePathsRegExps) { - if (E.test(k)) { - v.add(k) - return true - } - } - for (const E of this.immutablePathsWithSlash) { - if (k.startsWith(E)) { - v.add(k) - return true - } - } - for (const E of this.managedPathsRegExps) { - const P = E.exec(k) - if (P) { - const E = getManagedItem(P[1], k) - if (E) { - qe.add(E) - v.add(k) - return true - } - } - } - for (const E of this.managedPathsWithSlash) { - if (k.startsWith(E)) { - const P = getManagedItem(E, k) - if (P) { - qe.add(P) - v.add(k) - return true - } - } - } - return false - } - const captureNonManaged = (k, v) => { - const E = new Set() - for (const P of k) { - if (!checkManaged(P, v)) E.add(P) - } - return E - } - const processCapturedFiles = (k) => { - switch (Ue) { - case 3: - this._fileTshsOptimization.optimize(Be, k) - for (const v of k) { - const k = this._fileTshs.get(v) - if (k !== undefined) { - ae.set(v, k) - } else { - Ge++ - this._getFileTimestampAndHash(v, (k, E) => { - if (k) { - if (this.logger) { - this.logger.debug( - `Error snapshotting file timestamp hash combination of ${v}: ${k.stack}` - ) - } - jobError() - } else { - ae.set(v, E) - jobDone() - } - }) - } - } - break - case 2: - this._fileHashesOptimization.optimize(Be, k) - for (const v of k) { - const k = this._fileHashes.get(v) - if (k !== undefined) { - q.set(v, k) - } else { - Ge++ - this.fileHashQueue.add(v, (k, E) => { - if (k) { - if (this.logger) { - this.logger.debug( - `Error snapshotting file hash of ${v}: ${k.stack}` - ) - } - jobError() - } else { - q.set(v, E) - jobDone() - } - }) - } - } - break - case 1: - this._fileTimestampsOptimization.optimize(Be, k) - for (const v of k) { - const k = this._fileTimestamps.get(v) - if (k !== undefined) { - if (k !== 'ignore') { - N.set(v, k) - } - } else { - Ge++ - this.fileTimestampQueue.add(v, (k, E) => { - if (k) { - if (this.logger) { - this.logger.debug( - `Error snapshotting file timestamp of ${v}: ${k.stack}` - ) - } - jobError() - } else { - N.set(v, E) - jobDone() - } - }) - } - } - break - } - } - if (v) { - processCapturedFiles(captureNonManaged(v, Me)) - } - const processCapturedDirectories = (k) => { - switch (Ue) { - case 3: - this._contextTshsOptimization.optimize(Be, k) - for (const v of k) { - const k = this._contextTshs.get(v) - let E - if ( - k !== undefined && - (E = getResolvedTimestamp(k)) !== undefined - ) { - ye.set(v, E) - } else { - Ge++ - const callback = (k, E) => { - if (k) { - if (this.logger) { - this.logger.debug( - `Error snapshotting context timestamp hash combination of ${v}: ${k.stack}` - ) - } - jobError() - } else { - ye.set(v, E) - jobDone() - } - } - if (k !== undefined) { - this._resolveContextTsh(k, callback) - } else { - this.getContextTsh(v, callback) - } - } - } - break - case 2: - this._contextHashesOptimization.optimize(Be, k) - for (const v of k) { - const k = this._contextHashes.get(v) - let E - if ( - k !== undefined && - (E = getResolvedHash(k)) !== undefined - ) { - me.set(v, E) - } else { - Ge++ - const callback = (k, E) => { - if (k) { - if (this.logger) { - this.logger.debug( - `Error snapshotting context hash of ${v}: ${k.stack}` - ) - } - jobError() - } else { - me.set(v, E) - jobDone() - } - } - if (k !== undefined) { - this._resolveContextHash(k, callback) - } else { - this.getContextHash(v, callback) - } - } - } - break - case 1: - this._contextTimestampsOptimization.optimize(Be, k) - for (const v of k) { - const k = this._contextTimestamps.get(v) - if (k === 'ignore') continue - let E - if ( - k !== undefined && - (E = getResolvedTimestamp(k)) !== undefined - ) { - le.set(v, E) - } else { - Ge++ - const callback = (k, E) => { - if (k) { - if (this.logger) { - this.logger.debug( - `Error snapshotting context timestamp of ${v}: ${k.stack}` - ) - } - jobError() - } else { - le.set(v, E) - jobDone() - } - } - if (k !== undefined) { - this._resolveContextTimestamp(k, callback) - } else { - this.getContextTimestamp(v, callback) - } - } - } - break - } - } - if (E) { - processCapturedDirectories(captureNonManaged(E, Te)) - } - const processCapturedMissing = (k) => { - this._missingExistenceOptimization.optimize(Be, k) - for (const v of k) { - const k = this._fileTimestamps.get(v) - if (k !== undefined) { - if (k !== 'ignore') { - _e.set(v, Boolean(k)) - } - } else { - Ge++ - this.fileTimestampQueue.add(v, (k, E) => { - if (k) { - if (this.logger) { - this.logger.debug( - `Error snapshotting missing timestamp of ${v}: ${k.stack}` - ) - } - jobError() - } else { - _e.set(v, Boolean(E)) - jobDone() - } - }) - } - } - } - if (P) { - processCapturedMissing(captureNonManaged(P, je)) - } - this._managedItemInfoOptimization.optimize(Be, qe) - for (const k of qe) { - const v = this._managedItems.get(k) - if (v !== undefined) { - if (!v.startsWith('*')) { - Me.add(pe(this.fs, k, 'package.json')) - } else if (v === '*nested') { - je.add(pe(this.fs, k, 'package.json')) - } - Ie.set(k, v) - } else { - Ge++ - this.managedItemQueue.add(k, (E, P) => { - if (E) { - if (this.logger) { - this.logger.debug( - `Error snapshotting managed item ${k}: ${E.stack}` - ) - } - jobError() - } else if (P) { - if (!P.startsWith('*')) { - Me.add(pe(this.fs, k, 'package.json')) - } else if (v === '*nested') { - je.add(pe(this.fs, k, 'package.json')) - } - Ie.set(k, P) - jobDone() - } else { - const process = (v, E) => { - if (v.size === 0) return - const P = new Set() - for (const E of v) { - if (E.startsWith(k)) P.add(E) - } - if (P.size > 0) E(P) - } - process(Me, processCapturedFiles) - process(Te, processCapturedDirectories) - process(je, processCapturedMissing) - jobDone() - } - }) - } - } - jobDone() - } - mergeSnapshots(k, v) { - const E = new Snapshot() - if (k.hasStartTime() && v.hasStartTime()) - E.setStartTime(Math.min(k.startTime, v.startTime)) - else if (v.hasStartTime()) E.startTime = v.startTime - else if (k.hasStartTime()) E.startTime = k.startTime - if (k.hasFileTimestamps() || v.hasFileTimestamps()) { - E.setFileTimestamps(mergeMaps(k.fileTimestamps, v.fileTimestamps)) - } - if (k.hasFileHashes() || v.hasFileHashes()) { - E.setFileHashes(mergeMaps(k.fileHashes, v.fileHashes)) - } - if (k.hasFileTshs() || v.hasFileTshs()) { - E.setFileTshs(mergeMaps(k.fileTshs, v.fileTshs)) - } - if (k.hasContextTimestamps() || v.hasContextTimestamps()) { - E.setContextTimestamps( - mergeMaps(k.contextTimestamps, v.contextTimestamps) - ) - } - if (k.hasContextHashes() || v.hasContextHashes()) { - E.setContextHashes(mergeMaps(k.contextHashes, v.contextHashes)) - } - if (k.hasContextTshs() || v.hasContextTshs()) { - E.setContextTshs(mergeMaps(k.contextTshs, v.contextTshs)) - } - if (k.hasMissingExistence() || v.hasMissingExistence()) { - E.setMissingExistence( - mergeMaps(k.missingExistence, v.missingExistence) - ) - } - if (k.hasManagedItemInfo() || v.hasManagedItemInfo()) { - E.setManagedItemInfo( - mergeMaps(k.managedItemInfo, v.managedItemInfo) - ) - } - if (k.hasManagedFiles() || v.hasManagedFiles()) { - E.setManagedFiles(mergeSets(k.managedFiles, v.managedFiles)) - } - if (k.hasManagedContexts() || v.hasManagedContexts()) { - E.setManagedContexts( - mergeSets(k.managedContexts, v.managedContexts) - ) - } - if (k.hasManagedMissing() || v.hasManagedMissing()) { - E.setManagedMissing(mergeSets(k.managedMissing, v.managedMissing)) - } - if (k.hasChildren() || v.hasChildren()) { - E.setChildren(mergeSets(k.children, v.children)) - } - if ( - this._snapshotCache.get(k) === true && - this._snapshotCache.get(v) === true - ) { - this._snapshotCache.set(E, true) - } - return E - } - checkSnapshotValid(k, v) { - const E = this._snapshotCache.get(k) - if (E !== undefined) { - this._statTestedSnapshotsCached++ - if (typeof E === 'boolean') { - v(null, E) - } else { - E.push(v) - } - return - } - this._statTestedSnapshotsNotCached++ - this._checkSnapshotValidNoCache(k, v) - } - _checkSnapshotValidNoCache(k, v) { - let E = undefined - if (k.hasStartTime()) { - E = k.startTime - } - let P = 1 - const jobDone = () => { - if (--P === 0) { - this._snapshotCache.set(k, true) - v(null, true) - } - } - const invalid = () => { - if (P > 0) { - P = -1e8 - this._snapshotCache.set(k, false) - v(null, false) - } - } - const invalidWithError = (k, v) => { - if (this._remainingLogs > 0) { - this._log(k, `error occurred: %s`, v) - } - invalid() - } - const checkHash = (k, v, E) => { - if (v !== E) { - if (this._remainingLogs > 0) { - this._log(k, `hashes differ (%s != %s)`, v, E) - } - return false - } - return true - } - const checkExistence = (k, v, E) => { - if (!v !== !E) { - if (this._remainingLogs > 0) { - this._log( - k, - v ? "it didn't exist before" : 'it does no longer exist' - ) - } - return false - } - return true - } - const checkFile = (k, v, P, R = true) => { - if (v === P) return true - if (!checkExistence(k, Boolean(v), Boolean(P))) return false - if (v) { - if (typeof E === 'number' && v.safeTime > E) { - if (R && this._remainingLogs > 0) { - this._log( - k, - `it may have changed (%d) after the start time of the snapshot (%d)`, - v.safeTime, - E - ) - } - return false - } - if (P.timestamp !== undefined && v.timestamp !== P.timestamp) { - if (R && this._remainingLogs > 0) { - this._log( - k, - `timestamps differ (%d != %d)`, - v.timestamp, - P.timestamp - ) - } - return false - } - } - return true - } - const checkContext = (k, v, P, R = true) => { - if (v === P) return true - if (!checkExistence(k, Boolean(v), Boolean(P))) return false - if (v) { - if (typeof E === 'number' && v.safeTime > E) { - if (R && this._remainingLogs > 0) { - this._log( - k, - `it may have changed (%d) after the start time of the snapshot (%d)`, - v.safeTime, - E - ) - } - return false - } - if ( - P.timestampHash !== undefined && - v.timestampHash !== P.timestampHash - ) { - if (R && this._remainingLogs > 0) { - this._log( - k, - `timestamps hashes differ (%s != %s)`, - v.timestampHash, - P.timestampHash - ) - } - return false - } - } - return true - } - if (k.hasChildren()) { - const childCallback = (k, v) => { - if (k || !v) return invalid() - else jobDone() - } - for (const v of k.children) { - const k = this._snapshotCache.get(v) - if (k !== undefined) { - this._statTestedChildrenCached++ - if (typeof k === 'boolean') { - if (k === false) { - invalid() - return - } - } else { - P++ - k.push(childCallback) - } - } else { - this._statTestedChildrenNotCached++ - P++ - this._checkSnapshotValidNoCache(v, childCallback) - } - } - } - if (k.hasFileTimestamps()) { - const { fileTimestamps: v } = k - this._statTestedEntries += v.size - for (const [k, E] of v) { - const v = this._fileTimestamps.get(k) - if (v !== undefined) { - if (v !== 'ignore' && !checkFile(k, v, E)) { - invalid() - return - } - } else { - P++ - this.fileTimestampQueue.add(k, (v, P) => { - if (v) return invalidWithError(k, v) - if (!checkFile(k, P, E)) { - invalid() - } else { - jobDone() - } - }) - } - } - } - const processFileHashSnapshot = (k, v) => { - const E = this._fileHashes.get(k) - if (E !== undefined) { - if (E !== 'ignore' && !checkHash(k, E, v)) { - invalid() - return - } - } else { - P++ - this.fileHashQueue.add(k, (E, P) => { - if (E) return invalidWithError(k, E) - if (!checkHash(k, P, v)) { - invalid() - } else { - jobDone() - } - }) - } - } - if (k.hasFileHashes()) { - const { fileHashes: v } = k - this._statTestedEntries += v.size - for (const [k, E] of v) { - processFileHashSnapshot(k, E) - } - } - if (k.hasFileTshs()) { - const { fileTshs: v } = k - this._statTestedEntries += v.size - for (const [k, E] of v) { - if (typeof E === 'string') { - processFileHashSnapshot(k, E) - } else { - const v = this._fileTimestamps.get(k) - if (v !== undefined) { - if (v === 'ignore' || !checkFile(k, v, E, false)) { - processFileHashSnapshot(k, E && E.hash) - } - } else { - P++ - this.fileTimestampQueue.add(k, (v, P) => { - if (v) return invalidWithError(k, v) - if (!checkFile(k, P, E, false)) { - processFileHashSnapshot(k, E && E.hash) - } - jobDone() - }) - } - } - } - } - if (k.hasContextTimestamps()) { - const { contextTimestamps: v } = k - this._statTestedEntries += v.size - for (const [k, E] of v) { - const v = this._contextTimestamps.get(k) - if (v === 'ignore') continue - let R - if ( - v !== undefined && - (R = getResolvedTimestamp(v)) !== undefined - ) { - if (!checkContext(k, R, E)) { - invalid() - return - } - } else { - P++ - const callback = (v, P) => { - if (v) return invalidWithError(k, v) - if (!checkContext(k, P, E)) { - invalid() - } else { - jobDone() - } - } - if (v !== undefined) { - this._resolveContextTimestamp(v, callback) - } else { - this.getContextTimestamp(k, callback) - } - } - } - } - const processContextHashSnapshot = (k, v) => { - const E = this._contextHashes.get(k) - let R - if (E !== undefined && (R = getResolvedHash(E)) !== undefined) { - if (!checkHash(k, R, v)) { - invalid() - return - } - } else { - P++ - const callback = (E, P) => { - if (E) return invalidWithError(k, E) - if (!checkHash(k, P, v)) { - invalid() - } else { - jobDone() - } - } - if (E !== undefined) { - this._resolveContextHash(E, callback) - } else { - this.getContextHash(k, callback) - } - } - } - if (k.hasContextHashes()) { - const { contextHashes: v } = k - this._statTestedEntries += v.size - for (const [k, E] of v) { - processContextHashSnapshot(k, E) - } - } - if (k.hasContextTshs()) { - const { contextTshs: v } = k - this._statTestedEntries += v.size - for (const [k, E] of v) { - if (typeof E === 'string') { - processContextHashSnapshot(k, E) - } else { - const v = this._contextTimestamps.get(k) - if (v === 'ignore') continue - let R - if ( - v !== undefined && - (R = getResolvedTimestamp(v)) !== undefined - ) { - if (!checkContext(k, R, E, false)) { - processContextHashSnapshot(k, E && E.hash) - } - } else { - P++ - const callback = (v, P) => { - if (v) return invalidWithError(k, v) - if (!checkContext(k, P, E, false)) { - processContextHashSnapshot(k, E && E.hash) - } - jobDone() - } - if (v !== undefined) { - this._resolveContextTimestamp(v, callback) - } else { - this.getContextTimestamp(k, callback) - } - } - } - } - } - if (k.hasMissingExistence()) { - const { missingExistence: v } = k - this._statTestedEntries += v.size - for (const [k, E] of v) { - const v = this._fileTimestamps.get(k) - if (v !== undefined) { - if ( - v !== 'ignore' && - !checkExistence(k, Boolean(v), Boolean(E)) - ) { - invalid() - return - } - } else { - P++ - this.fileTimestampQueue.add(k, (v, P) => { - if (v) return invalidWithError(k, v) - if (!checkExistence(k, Boolean(P), Boolean(E))) { - invalid() - } else { - jobDone() - } - }) - } - } - } - if (k.hasManagedItemInfo()) { - const { managedItemInfo: v } = k - this._statTestedEntries += v.size - for (const [k, E] of v) { - const v = this._managedItems.get(k) - if (v !== undefined) { - if (!checkHash(k, v, E)) { - invalid() - return - } - } else { - P++ - this.managedItemQueue.add(k, (v, P) => { - if (v) return invalidWithError(k, v) - if (!checkHash(k, P, E)) { - invalid() - } else { - jobDone() - } - }) - } - } - } - jobDone() - if (P > 0) { - const E = [v] - v = (k, v) => { - for (const P of E) P(k, v) - } - this._snapshotCache.set(k, E) - } - } - _readFileTimestamp(k, v) { - this.fs.stat(k, (E, P) => { - if (E) { - if (E.code === 'ENOENT') { - this._fileTimestamps.set(k, null) - this._cachedDeprecatedFileTimestamps = undefined - return v(null, null) - } - return v(E) - } - let R - if (P.isDirectory()) { - R = { safeTime: 0, timestamp: undefined } - } else { - const k = +P.mtime - if (k) applyMtime(k) - R = { safeTime: k ? k + Ne : Infinity, timestamp: k } - } - this._fileTimestamps.set(k, R) - this._cachedDeprecatedFileTimestamps = undefined - v(null, R) - }) - } - _readFileHash(k, v) { - this.fs.readFile(k, (E, P) => { - if (E) { - if (E.code === 'EISDIR') { - this._fileHashes.set(k, 'directory') - return v(null, 'directory') - } - if (E.code === 'ENOENT') { - this._fileHashes.set(k, null) - return v(null, null) - } - if (E.code === 'ERR_FS_FILE_TOO_LARGE') { - this.logger.warn(`Ignoring ${k} for hashing as it's very large`) - this._fileHashes.set(k, 'too large') - return v(null, 'too large') - } - return v(E) - } - const R = le(this._hashFunction) - R.update(P) - const L = R.digest('hex') - this._fileHashes.set(k, L) - v(null, L) - }) - } - _getFileTimestampAndHash(k, v) { - const continueWithHash = (E) => { - const P = this._fileTimestamps.get(k) - if (P !== undefined) { - if (P !== 'ignore') { - const R = { ...P, hash: E } - this._fileTshs.set(k, R) - return v(null, R) - } else { - this._fileTshs.set(k, E) - return v(null, E) - } - } else { - this.fileTimestampQueue.add(k, (P, R) => { - if (P) { - return v(P) - } - const L = { ...R, hash: E } - this._fileTshs.set(k, L) - return v(null, L) - }) - } - } - const E = this._fileHashes.get(k) - if (E !== undefined) { - continueWithHash(E) - } else { - this.fileHashQueue.add(k, (k, E) => { - if (k) { - return v(k) - } - continueWithHash(E) - }) - } - } - _readContext( - { - path: k, - fromImmutablePath: v, - fromManagedItem: E, - fromSymlink: P, - fromFile: R, - fromDirectory: N, - reduce: q, - }, - ae - ) { - this.fs.readdir(k, (le, me) => { - if (le) { - if (le.code === 'ENOENT') { - return ae(null, null) - } - return ae(le) - } - const ye = me - .map((k) => k.normalize('NFC')) - .filter((k) => !/^\./.test(k)) - .sort() - L.map( - ye, - (L, q) => { - const ae = pe(this.fs, k, L) - for (const E of this.immutablePathsRegExps) { - if (E.test(k)) { - return q(null, v(k)) - } - } - for (const E of this.immutablePathsWithSlash) { - if (k.startsWith(E)) { - return q(null, v(k)) - } - } - for (const v of this.managedPathsRegExps) { - const P = v.exec(k) - if (P) { - const v = getManagedItem(P[1], k) - if (v) { - return this.managedItemQueue.add(v, (k, v) => { - if (k) return q(k) - return q(null, E(v)) - }) - } - } - } - for (const v of this.managedPathsWithSlash) { - if (k.startsWith(v)) { - const k = getManagedItem(v, ae) - if (k) { - return this.managedItemQueue.add(k, (k, v) => { - if (k) return q(k) - return q(null, E(v)) - }) - } - } - } - _e(this.fs, ae, (k, v) => { - if (k) return q(k) - if (typeof v === 'string') { - return P(ae, v, q) - } - if (v.isFile()) { - return R(ae, v, q) - } - if (v.isDirectory()) { - return N(ae, v, q) - } - q(null, null) - }) - }, - (k, v) => { - if (k) return ae(k) - const E = q(ye, v) - ae(null, E) - } - ) - }) - } - _readContextTimestamp(k, v) { - this._readContext( - { - path: k, - fromImmutablePath: () => null, - fromManagedItem: (k) => ({ safeTime: 0, timestampHash: k }), - fromSymlink: (k, v, E) => { - E(null, { timestampHash: v, symlinks: new Set([v]) }) - }, - fromFile: (k, v, E) => { - const P = this._fileTimestamps.get(k) - if (P !== undefined) return E(null, P === 'ignore' ? null : P) - const R = +v.mtime - if (R) applyMtime(R) - const L = { safeTime: R ? R + Ne : Infinity, timestamp: R } - this._fileTimestamps.set(k, L) - this._cachedDeprecatedFileTimestamps = undefined - E(null, L) - }, - fromDirectory: (k, v, E) => { - this.contextTimestampQueue.increaseParallelism() - this._getUnresolvedContextTimestamp(k, (k, v) => { - this.contextTimestampQueue.decreaseParallelism() - E(k, v) - }) - }, - reduce: (k, v) => { - let E = undefined - const P = le(this._hashFunction) - for (const v of k) P.update(v) - let R = 0 - for (const k of v) { - if (!k) { - P.update('n') - continue - } - if (k.timestamp) { - P.update('f') - P.update(`${k.timestamp}`) - } else if (k.timestampHash) { - P.update('d') - P.update(`${k.timestampHash}`) - } - if (k.symlinks !== undefined) { - if (E === undefined) E = new Set() - addAll(k.symlinks, E) - } - if (k.safeTime) { - R = Math.max(R, k.safeTime) - } - } - const L = P.digest('hex') - const N = { safeTime: R, timestampHash: L } - if (E) N.symlinks = E - return N - }, - }, - (E, P) => { - if (E) return v(E) - this._contextTimestamps.set(k, P) - this._cachedDeprecatedContextTimestamps = undefined - v(null, P) - } - ) - } - _resolveContextTimestamp(k, v) { - const E = [] - let P = 0 - Me( - k.symlinks, - 10, - (k, v, R) => { - this._getUnresolvedContextTimestamp(k, (k, L) => { - if (k) return R(k) - if (L && L !== 'ignore') { - E.push(L.timestampHash) - if (L.safeTime) { - P = Math.max(P, L.safeTime) - } - if (L.symlinks !== undefined) { - for (const k of L.symlinks) v(k) - } - } - R() - }) - }, - (R) => { - if (R) return v(R) - const L = le(this._hashFunction) - L.update(k.timestampHash) - if (k.safeTime) { - P = Math.max(P, k.safeTime) - } - E.sort() - for (const k of E) { - L.update(k) - } - v( - null, - (k.resolved = { safeTime: P, timestampHash: L.digest('hex') }) - ) - } - ) - } - _readContextHash(k, v) { - this._readContext( - { - path: k, - fromImmutablePath: () => '', - fromManagedItem: (k) => k || '', - fromSymlink: (k, v, E) => { - E(null, { hash: v, symlinks: new Set([v]) }) - }, - fromFile: (k, v, E) => - this.getFileHash(k, (k, v) => { - E(k, v || '') - }), - fromDirectory: (k, v, E) => { - this.contextHashQueue.increaseParallelism() - this._getUnresolvedContextHash(k, (k, v) => { - this.contextHashQueue.decreaseParallelism() - E(k, v || '') - }) - }, - reduce: (k, v) => { - let E = undefined - const P = le(this._hashFunction) - for (const v of k) P.update(v) - for (const k of v) { - if (typeof k === 'string') { - P.update(k) - } else { - P.update(k.hash) - if (k.symlinks) { - if (E === undefined) E = new Set() - addAll(k.symlinks, E) - } - } - } - const R = { hash: P.digest('hex') } - if (E) R.symlinks = E - return R - }, - }, - (E, P) => { - if (E) return v(E) - this._contextHashes.set(k, P) - return v(null, P) - } - ) - } - _resolveContextHash(k, v) { - const E = [] - Me( - k.symlinks, - 10, - (k, v, P) => { - this._getUnresolvedContextHash(k, (k, R) => { - if (k) return P(k) - if (R) { - E.push(R.hash) - if (R.symlinks !== undefined) { - for (const k of R.symlinks) v(k) - } - } - P() - }) - }, - (P) => { - if (P) return v(P) - const R = le(this._hashFunction) - R.update(k.hash) - E.sort() - for (const k of E) { - R.update(k) - } - v(null, (k.resolved = R.digest('hex'))) - } - ) - } - _readContextTimestampAndHash(k, v) { - const finalize = (E, P) => { - const R = E === 'ignore' ? P : { ...E, ...P } - this._contextTshs.set(k, R) - v(null, R) - } - const E = this._contextHashes.get(k) - const P = this._contextTimestamps.get(k) - if (E !== undefined) { - if (P !== undefined) { - finalize(P, E) - } else { - this.contextTimestampQueue.add(k, (k, P) => { - if (k) return v(k) - finalize(P, E) - }) - } - } else { - if (P !== undefined) { - this.contextHashQueue.add(k, (k, E) => { - if (k) return v(k) - finalize(P, E) - }) - } else { - this._readContext( - { - path: k, - fromImmutablePath: () => null, - fromManagedItem: (k) => ({ - safeTime: 0, - timestampHash: k, - hash: k || '', - }), - fromSymlink: (k, v, E) => { - E(null, { - timestampHash: v, - hash: v, - symlinks: new Set([v]), - }) - }, - fromFile: (k, v, E) => { - this._getFileTimestampAndHash(k, E) - }, - fromDirectory: (k, v, E) => { - this.contextTshQueue.increaseParallelism() - this.contextTshQueue.add(k, (k, v) => { - this.contextTshQueue.decreaseParallelism() - E(k, v) - }) - }, - reduce: (k, v) => { - let E = undefined - const P = le(this._hashFunction) - const R = le(this._hashFunction) - for (const v of k) { - P.update(v) - R.update(v) - } - let L = 0 - for (const k of v) { - if (!k) { - P.update('n') - continue - } - if (typeof k === 'string') { - P.update('n') - R.update(k) - continue - } - if (k.timestamp) { - P.update('f') - P.update(`${k.timestamp}`) - } else if (k.timestampHash) { - P.update('d') - P.update(`${k.timestampHash}`) - } - if (k.symlinks !== undefined) { - if (E === undefined) E = new Set() - addAll(k.symlinks, E) - } - if (k.safeTime) { - L = Math.max(L, k.safeTime) - } - R.update(k.hash) - } - const N = { - safeTime: L, - timestampHash: P.digest('hex'), - hash: R.digest('hex'), - } - if (E) N.symlinks = E - return N - }, - }, - (E, P) => { - if (E) return v(E) - this._contextTshs.set(k, P) - return v(null, P) - } - ) - } - } - } - _resolveContextTsh(k, v) { - const E = [] - const P = [] - let R = 0 - Me( - k.symlinks, - 10, - (k, v, L) => { - this._getUnresolvedContextTsh(k, (k, N) => { - if (k) return L(k) - if (N) { - E.push(N.hash) - if (N.timestampHash) P.push(N.timestampHash) - if (N.safeTime) { - R = Math.max(R, N.safeTime) - } - if (N.symlinks !== undefined) { - for (const k of N.symlinks) v(k) - } - } - L() - }) - }, - (L) => { - if (L) return v(L) - const N = le(this._hashFunction) - const q = le(this._hashFunction) - N.update(k.hash) - if (k.timestampHash) q.update(k.timestampHash) - if (k.safeTime) { - R = Math.max(R, k.safeTime) - } - E.sort() - for (const k of E) { - N.update(k) - } - P.sort() - for (const k of P) { - q.update(k) - } - v( - null, - (k.resolved = { - safeTime: R, - timestampHash: q.digest('hex'), - hash: N.digest('hex'), - }) - ) - } - ) - } - _getManagedItemDirectoryInfo(k, v) { - this.fs.readdir(k, (E, P) => { - if (E) { - if (E.code === 'ENOENT' || E.code === 'ENOTDIR') { - return v(null, Be) - } - return v(E) - } - const R = new Set(P.map((v) => pe(this.fs, k, v))) - v(null, R) - }) - } - _getManagedItemInfo(k, v) { - const E = me(this.fs, k) - this.managedItemDirectoryQueue.add(E, (E, P) => { - if (E) { - return v(E) - } - if (!P.has(k)) { - this._managedItems.set(k, '*missing') - return v(null, '*missing') - } - if ( - k.endsWith('node_modules') && - (k.endsWith('/node_modules') || k.endsWith('\\node_modules')) - ) { - this._managedItems.set(k, '*node_modules') - return v(null, '*node_modules') - } - const R = pe(this.fs, k, 'package.json') - this.fs.readFile(R, (E, P) => { - if (E) { - if (E.code === 'ENOENT' || E.code === 'ENOTDIR') { - this.fs.readdir(k, (E, P) => { - if (!E && P.length === 1 && P[0] === 'node_modules') { - this._managedItems.set(k, '*nested') - return v(null, '*nested') - } - this.logger.warn( - `Managed item ${k} isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)` - ) - return v() - }) - return - } - return v(E) - } - let L - try { - L = JSON.parse(P.toString('utf-8')) - } catch (k) { - return v(k) - } - if (!L.name) { - this.logger.warn( - `${R} doesn't contain a "name" property (see snapshot.managedPaths option)` - ) - return v() - } - const N = `${L.name || ''}@${L.version || ''}` - this._managedItems.set(k, N) - v(null, N) - }) - }) - } - getDeprecatedFileTimestamps() { - if (this._cachedDeprecatedFileTimestamps !== undefined) - return this._cachedDeprecatedFileTimestamps - const k = new Map() - for (const [v, E] of this._fileTimestamps) { - if (E) k.set(v, typeof E === 'object' ? E.safeTime : null) - } - return (this._cachedDeprecatedFileTimestamps = k) - } - getDeprecatedContextTimestamps() { - if (this._cachedDeprecatedContextTimestamps !== undefined) - return this._cachedDeprecatedContextTimestamps - const k = new Map() - for (const [v, E] of this._contextTimestamps) { - if (E) k.set(v, typeof E === 'object' ? E.safeTime : null) - } - return (this._cachedDeprecatedContextTimestamps = k) - } - } - k.exports = FileSystemInfo - k.exports.Snapshot = Snapshot - }, - 17092: function (k, v, E) { - 'use strict' - const { getEntryRuntime: P, mergeRuntimeOwned: R } = E(1540) - const L = 'FlagAllModulesAsUsedPlugin' - class FlagAllModulesAsUsedPlugin { - constructor(k) { - this.explanation = k - } - apply(k) { - k.hooks.compilation.tap(L, (k) => { - const v = k.moduleGraph - k.hooks.optimizeDependencies.tap(L, (E) => { - let L = undefined - for (const [v, { options: E }] of k.entries) { - L = R(L, P(k, v, E)) - } - for (const k of E) { - const E = v.getExportsInfo(k) - E.setUsedInUnknownWay(L) - v.addExtraReason(k, this.explanation) - if (k.factoryMeta === undefined) { - k.factoryMeta = {} - } - k.factoryMeta.sideEffectFree = false - } - }) - }) - } - } - k.exports = FlagAllModulesAsUsedPlugin - }, - 13893: function (k, v, E) { - 'use strict' - const P = E(78175) - const R = E(28226) - const L = 'FlagDependencyExportsPlugin' - const N = `webpack.${L}` - class FlagDependencyExportsPlugin { - apply(k) { - k.hooks.compilation.tap(L, (k) => { - const v = k.moduleGraph - const E = k.getCache(L) - k.hooks.finishModules.tapAsync(L, (L, q) => { - const ae = k.getLogger(N) - let le = 0 - let pe = 0 - let me = 0 - let ye = 0 - let _e = 0 - let Ie = 0 - const { moduleMemCaches: Me } = k - const Te = new R() - ae.time('restore cached provided exports') - P.each( - L, - (k, P) => { - const R = v.getExportsInfo(k) - if (!k.buildMeta || !k.buildMeta.exportsType) { - if (R.otherExportsInfo.provided !== null) { - me++ - R.setHasProvideInfo() - R.setUnknownExportsProvided() - return P() - } - } - if (typeof k.buildInfo.hash !== 'string') { - ye++ - Te.enqueue(k) - R.setHasProvideInfo() - return P() - } - const L = Me && Me.get(k) - const N = L && L.get(this) - if (N !== undefined) { - le++ - R.restoreProvided(N) - return P() - } - E.get(k.identifier(), k.buildInfo.hash, (v, E) => { - if (v) return P(v) - if (E !== undefined) { - pe++ - R.restoreProvided(E) - } else { - _e++ - Te.enqueue(k) - R.setHasProvideInfo() - } - P() - }) - }, - (k) => { - ae.timeEnd('restore cached provided exports') - if (k) return q(k) - const R = new Set() - const L = new Map() - let N - let je - const Ne = new Map() - let Be = true - let qe = false - const processDependenciesBlock = (k) => { - for (const v of k.dependencies) { - processDependency(v) - } - for (const v of k.blocks) { - processDependenciesBlock(v) - } - } - const processDependency = (k) => { - const E = k.getExports(v) - if (!E) return - Ne.set(k, E) - } - const processExportsSpec = (k, E) => { - const P = E.exports - const R = E.canMangle - const q = E.from - const ae = E.priority - const le = E.terminalBinding || false - const pe = E.dependencies - if (E.hideExports) { - for (const v of E.hideExports) { - const E = je.getExportInfo(v) - E.unsetTarget(k) - } - } - if (P === true) { - if ( - je.setUnknownExportsProvided( - R, - E.excludeExports, - q && k, - q, - ae - ) - ) { - qe = true - } - } else if (Array.isArray(P)) { - const mergeExports = (E, P) => { - for (const pe of P) { - let P - let me = R - let ye = le - let _e = undefined - let Ie = q - let Me = undefined - let Te = ae - let je = false - if (typeof pe === 'string') { - P = pe - } else { - P = pe.name - if (pe.canMangle !== undefined) me = pe.canMangle - if (pe.export !== undefined) Me = pe.export - if (pe.exports !== undefined) _e = pe.exports - if (pe.from !== undefined) Ie = pe.from - if (pe.priority !== undefined) Te = pe.priority - if (pe.terminalBinding !== undefined) - ye = pe.terminalBinding - if (pe.hidden !== undefined) je = pe.hidden - } - const Ne = E.getExportInfo(P) - if (Ne.provided === false || Ne.provided === null) { - Ne.provided = true - qe = true - } - if (Ne.canMangleProvide !== false && me === false) { - Ne.canMangleProvide = false - qe = true - } - if (ye && !Ne.terminalBinding) { - Ne.terminalBinding = true - qe = true - } - if (_e) { - const k = Ne.createNestedExportsInfo() - mergeExports(k, _e) - } - if ( - Ie && - (je - ? Ne.unsetTarget(k) - : Ne.setTarget( - k, - Ie, - Me === undefined ? [P] : Me, - Te - )) - ) { - qe = true - } - const Be = Ne.getTarget(v) - let Ue = undefined - if (Be) { - const k = v.getExportsInfo(Be.module) - Ue = k.getNestedExportsInfo(Be.export) - const E = L.get(Be.module) - if (E === undefined) { - L.set(Be.module, new Set([N])) - } else { - E.add(N) - } - } - if (Ne.exportsInfoOwned) { - if (Ne.exportsInfo.setRedirectNamedTo(Ue)) { - qe = true - } - } else if (Ne.exportsInfo !== Ue) { - Ne.exportsInfo = Ue - qe = true - } - } - } - mergeExports(je, P) - } - if (pe) { - Be = false - for (const k of pe) { - const v = L.get(k) - if (v === undefined) { - L.set(k, new Set([N])) - } else { - v.add(N) - } - } - } - } - const notifyDependencies = () => { - const k = L.get(N) - if (k !== undefined) { - for (const v of k) { - Te.enqueue(v) - } - } - } - ae.time('figure out provided exports') - while (Te.length > 0) { - N = Te.dequeue() - Ie++ - je = v.getExportsInfo(N) - Be = true - qe = false - Ne.clear() - v.freeze() - processDependenciesBlock(N) - v.unfreeze() - for (const [k, v] of Ne) { - processExportsSpec(k, v) - } - if (Be) { - R.add(N) - } - if (qe) { - notifyDependencies() - } - } - ae.timeEnd('figure out provided exports') - ae.log( - `${Math.round( - (100 * (ye + _e)) / (le + pe + _e + ye + me) - )}% of exports of modules have been determined (${me} no declared exports, ${_e} not cached, ${ye} flagged uncacheable, ${pe} from cache, ${le} from mem cache, ${ - Ie - _e - ye - } additional calculations due to dependencies)` - ) - ae.time('store provided exports into cache') - P.each( - R, - (k, P) => { - if (typeof k.buildInfo.hash !== 'string') { - return P() - } - const R = v.getExportsInfo(k).getRestoreProvidedData() - const L = Me && Me.get(k) - if (L) { - L.set(this, R) - } - E.store(k.identifier(), k.buildInfo.hash, R, P) - }, - (k) => { - ae.timeEnd('store provided exports into cache') - q(k) - } - ) - } - ) - }) - const q = new WeakMap() - k.hooks.rebuildModule.tap(L, (k) => { - q.set(k, v.getExportsInfo(k).getRestoreProvidedData()) - }) - k.hooks.finishRebuildingModule.tap(L, (k) => { - v.getExportsInfo(k).restoreProvided(q.get(k)) - }) - }) - } - } - k.exports = FlagDependencyExportsPlugin - }, - 25984: function (k, v, E) { - 'use strict' - const P = E(16848) - const { UsageState: R } = E(11172) - const L = E(86267) - const { STAGE_DEFAULT: N } = E(99134) - const q = E(12970) - const ae = E(19361) - const { getEntryRuntime: le, mergeRuntimeOwned: pe } = E(1540) - const { NO_EXPORTS_REFERENCED: me, EXPORTS_OBJECT_REFERENCED: ye } = P - const _e = 'FlagDependencyUsagePlugin' - const Ie = `webpack.${_e}` - class FlagDependencyUsagePlugin { - constructor(k) { - this.global = k - } - apply(k) { - k.hooks.compilation.tap(_e, (k) => { - const v = k.moduleGraph - k.hooks.optimizeDependencies.tap({ name: _e, stage: N }, (E) => { - if (k.moduleMemCaches) { - throw new Error( - "optimization.usedExports can't be used with cacheUnaffected as export usage is a global effect" - ) - } - const P = k.getLogger(Ie) - const N = new Map() - const _e = new ae() - const processReferencedModule = (k, E, P, L) => { - const q = v.getExportsInfo(k) - if (E.length > 0) { - if (!k.buildMeta || !k.buildMeta.exportsType) { - if (q.setUsedWithoutInfo(P)) { - _e.enqueue(k, P) - } - return - } - for (const v of E) { - let E - let L = true - if (Array.isArray(v)) { - E = v - } else { - E = v.name - L = v.canMangle !== false - } - if (E.length === 0) { - if (q.setUsedInUnknownWay(P)) { - _e.enqueue(k, P) - } - } else { - let v = q - for (let ae = 0; ae < E.length; ae++) { - const le = v.getExportInfo(E[ae]) - if (L === false) { - le.canMangleUse = false - } - const pe = ae === E.length - 1 - if (!pe) { - const E = le.getNestedExportsInfo() - if (E) { - if ( - le.setUsedConditionally( - (k) => k === R.Unused, - R.OnlyPropertiesUsed, - P - ) - ) { - const E = v === q ? k : N.get(v) - if (E) { - _e.enqueue(E, P) - } - } - v = E - continue - } - } - if ( - le.setUsedConditionally( - (k) => k !== R.Used, - R.Used, - P - ) - ) { - const E = v === q ? k : N.get(v) - if (E) { - _e.enqueue(E, P) - } - } - break - } - } - } - } else { - if ( - !L && - k.factoryMeta !== undefined && - k.factoryMeta.sideEffectFree - ) { - return - } - if (q.setUsedForSideEffectsOnly(P)) { - _e.enqueue(k, P) - } - } - } - const processModule = (E, P, R) => { - const N = new Map() - const ae = new q() - ae.enqueue(E) - for (;;) { - const E = ae.dequeue() - if (E === undefined) break - for (const k of E.blocks) { - if ( - !this.global && - k.groupOptions && - k.groupOptions.entryOptions - ) { - processModule( - k, - k.groupOptions.entryOptions.runtime || undefined, - true - ) - } else { - ae.enqueue(k) - } - } - for (const R of E.dependencies) { - const E = v.getConnection(R) - if (!E || !E.module) { - continue - } - const q = E.getActiveState(P) - if (q === false) continue - const { module: ae } = E - if (q === L.TRANSITIVE_ONLY) { - processModule(ae, P, false) - continue - } - const le = N.get(ae) - if (le === ye) { - continue - } - const pe = k.getDependencyReferencedExports(R, P) - if (le === undefined || le === me || pe === ye) { - N.set(ae, pe) - } else if (le !== undefined && pe === me) { - continue - } else { - let k - if (Array.isArray(le)) { - k = new Map() - for (const v of le) { - if (Array.isArray(v)) { - k.set(v.join('\n'), v) - } else { - k.set(v.name.join('\n'), v) - } - } - N.set(ae, k) - } else { - k = le - } - for (const v of pe) { - if (Array.isArray(v)) { - const E = v.join('\n') - const P = k.get(E) - if (P === undefined) { - k.set(E, v) - } - } else { - const E = v.name.join('\n') - const P = k.get(E) - if (P === undefined || Array.isArray(P)) { - k.set(E, v) - } else { - k.set(E, { - name: v.name, - canMangle: v.canMangle && P.canMangle, - }) - } - } - } - } - } - } - for (const [k, v] of N) { - if (Array.isArray(v)) { - processReferencedModule(k, v, P, R) - } else { - processReferencedModule(k, Array.from(v.values()), P, R) - } - } - } - P.time('initialize exports usage') - for (const k of E) { - const E = v.getExportsInfo(k) - N.set(E, k) - E.setHasUseInfo() - } - P.timeEnd('initialize exports usage') - P.time('trace exports usage in graph') - const processEntryDependency = (k, E) => { - const P = v.getModule(k) - if (P) { - processReferencedModule(P, me, E, true) - } - } - let Me = undefined - for (const [ - v, - { dependencies: E, includeDependencies: P, options: R }, - ] of k.entries) { - const L = this.global ? undefined : le(k, v, R) - for (const k of E) { - processEntryDependency(k, L) - } - for (const k of P) { - processEntryDependency(k, L) - } - Me = pe(Me, L) - } - for (const v of k.globalEntry.dependencies) { - processEntryDependency(v, Me) - } - for (const v of k.globalEntry.includeDependencies) { - processEntryDependency(v, Me) - } - while (_e.length) { - const [k, v] = _e.dequeue() - processModule(k, v, false) - } - P.timeEnd('trace exports usage in graph') - }) - }) - } - } - k.exports = FlagDependencyUsagePlugin - }, - 91597: function (k, v, E) { - 'use strict' - class Generator { - static byType(k) { - return new ByTypeGenerator(k) - } - getTypes(k) { - const v = E(60386) - throw new v() - } - getSize(k, v) { - const P = E(60386) - throw new P() - } - generate( - k, - { - dependencyTemplates: v, - runtimeTemplate: P, - moduleGraph: R, - type: L, - } - ) { - const N = E(60386) - throw new N() - } - getConcatenationBailoutReason(k, v) { - return `Module Concatenation is not implemented for ${this.constructor.name}` - } - updateHash(k, { module: v, runtime: E }) {} - } - class ByTypeGenerator extends Generator { - constructor(k) { - super() - this.map = k - this._types = new Set(Object.keys(k)) - } - getTypes(k) { - return this._types - } - getSize(k, v) { - const E = v || 'javascript' - const P = this.map[E] - return P ? P.getSize(k, E) : 0 - } - generate(k, v) { - const E = v.type - const P = this.map[E] - if (!P) { - throw new Error(`Generator.byType: no generator specified for ${E}`) - } - return P.generate(k, v) - } - } - k.exports = Generator - }, - 18467: function (k, v) { - 'use strict' - const connectChunkGroupAndChunk = (k, v) => { - if (k.pushChunk(v)) { - v.addGroup(k) - } - } - const connectChunkGroupParentAndChild = (k, v) => { - if (k.addChild(v)) { - v.addParent(k) - } - } - v.connectChunkGroupAndChunk = connectChunkGroupAndChunk - v.connectChunkGroupParentAndChild = connectChunkGroupParentAndChild - }, - 36473: function (k, v, E) { - 'use strict' - const P = E(71572) - k.exports = class HarmonyLinkingError extends P { - constructor(k) { - super(k) - this.name = 'HarmonyLinkingError' - this.hideStack = true - } - } - }, - 82104: function (k, v, E) { - 'use strict' - const P = E(71572) - class HookWebpackError extends P { - constructor(k, v) { - super(k.message) - this.name = 'HookWebpackError' - this.hook = v - this.error = k - this.hideStack = true - this.details = `caused by plugins in ${v}\n${k.stack}` - this.stack += `\n-- inner error --\n${k.stack}` - } - } - k.exports = HookWebpackError - const makeWebpackError = (k, v) => { - if (k instanceof P) return k - return new HookWebpackError(k, v) - } - k.exports.makeWebpackError = makeWebpackError - const makeWebpackErrorCallback = (k, v) => (E, R) => { - if (E) { - if (E instanceof P) { - k(E) - return - } - k(new HookWebpackError(E, v)) - return - } - k(null, R) - } - k.exports.makeWebpackErrorCallback = makeWebpackErrorCallback - const tryRunOrWebpackError = (k, v) => { - let E - try { - E = k() - } catch (k) { - if (k instanceof P) { - throw k - } - throw new HookWebpackError(k, v) - } - return E - } - k.exports.tryRunOrWebpackError = tryRunOrWebpackError - }, - 29898: function (k, v, E) { - 'use strict' - const { SyncBailHook: P } = E(79846) - const { RawSource: R } = E(51255) - const L = E(38317) - const N = E(27747) - const q = E(95733) - const ae = E(38224) - const le = E(56727) - const pe = E(71572) - const me = E(60381) - const ye = E(40867) - const _e = E(83894) - const Ie = E(77691) - const Me = E(90563) - const Te = E(55223) - const je = E(81532) - const { evaluateToIdentifier: Ne } = E(80784) - const { find: Be, isSubset: qe } = E(59959) - const Ue = E(71307) - const { compareModulesById: Ge } = E(95648) - const { - getRuntimeKey: He, - keyToRuntime: We, - forEachRuntime: Qe, - mergeRuntimeOwned: Je, - subtractRuntime: Ve, - intersectRuntime: Ke, - } = E(1540) - const { - JAVASCRIPT_MODULE_TYPE_AUTO: Ye, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: Xe, - JAVASCRIPT_MODULE_TYPE_ESM: Ze, - WEBPACK_MODULE_TYPE_RUNTIME: et, - } = E(93622) - const tt = new WeakMap() - const nt = 'HotModuleReplacementPlugin' - class HotModuleReplacementPlugin { - static getParserHooks(k) { - if (!(k instanceof je)) { - throw new TypeError( - "The 'parser' argument must be an instance of JavascriptParser" - ) - } - let v = tt.get(k) - if (v === undefined) { - v = { - hotAcceptCallback: new P(['expression', 'requests']), - hotAcceptWithoutCallback: new P(['expression', 'requests']), - } - tt.set(k, v) - } - return v - } - constructor(k) { - this.options = k || {} - } - apply(k) { - const { _backCompat: v } = k - if (k.options.output.strictModuleErrorHandling === undefined) - k.options.output.strictModuleErrorHandling = true - const E = [le.module] - const createAcceptHandler = (k, v) => { - const { hotAcceptCallback: P, hotAcceptWithoutCallback: R } = - HotModuleReplacementPlugin.getParserHooks(k) - return (L) => { - const N = k.state.module - const q = new me( - `${N.moduleArgument}.hot.accept`, - L.callee.range, - E - ) - q.loc = L.loc - N.addPresentationalDependency(q) - N.buildInfo.moduleConcatenationBailout = 'Hot Module Replacement' - if (L.arguments.length >= 1) { - const E = k.evaluateExpression(L.arguments[0]) - let q = [] - let ae = [] - if (E.isString()) { - q = [E] - } else if (E.isArray()) { - q = E.items.filter((k) => k.isString()) - } - if (q.length > 0) { - q.forEach((k, E) => { - const P = k.string - const R = new v(P, k.range) - R.optional = true - R.loc = Object.create(L.loc) - R.loc.index = E - N.addDependency(R) - ae.push(P) - }) - if (L.arguments.length > 1) { - P.call(L.arguments[1], ae) - for (let v = 1; v < L.arguments.length; v++) { - k.walkExpression(L.arguments[v]) - } - return true - } else { - R.call(L, ae) - return true - } - } - } - k.walkExpressions(L.arguments) - return true - } - } - const createDeclineHandler = (k, v) => (P) => { - const R = k.state.module - const L = new me( - `${R.moduleArgument}.hot.decline`, - P.callee.range, - E - ) - L.loc = P.loc - R.addPresentationalDependency(L) - R.buildInfo.moduleConcatenationBailout = 'Hot Module Replacement' - if (P.arguments.length === 1) { - const E = k.evaluateExpression(P.arguments[0]) - let L = [] - if (E.isString()) { - L = [E] - } else if (E.isArray()) { - L = E.items.filter((k) => k.isString()) - } - L.forEach((k, E) => { - const L = new v(k.string, k.range) - L.optional = true - L.loc = Object.create(P.loc) - L.loc.index = E - R.addDependency(L) - }) - } - return true - } - const createHMRExpressionHandler = (k) => (v) => { - const P = k.state.module - const R = new me(`${P.moduleArgument}.hot`, v.range, E) - R.loc = v.loc - P.addPresentationalDependency(R) - P.buildInfo.moduleConcatenationBailout = 'Hot Module Replacement' - return true - } - const applyModuleHot = (k) => { - k.hooks.evaluateIdentifier - .for('module.hot') - .tap({ name: nt, before: 'NodeStuffPlugin' }, (k) => - Ne('module.hot', 'module', () => ['hot'], true)(k) - ) - k.hooks.call - .for('module.hot.accept') - .tap(nt, createAcceptHandler(k, Ie)) - k.hooks.call - .for('module.hot.decline') - .tap(nt, createDeclineHandler(k, Me)) - k.hooks.expression - .for('module.hot') - .tap(nt, createHMRExpressionHandler(k)) - } - const applyImportMetaHot = (k) => { - k.hooks.evaluateIdentifier - .for('import.meta.webpackHot') - .tap(nt, (k) => - Ne( - 'import.meta.webpackHot', - 'import.meta', - () => ['webpackHot'], - true - )(k) - ) - k.hooks.call - .for('import.meta.webpackHot.accept') - .tap(nt, createAcceptHandler(k, ye)) - k.hooks.call - .for('import.meta.webpackHot.decline') - .tap(nt, createDeclineHandler(k, _e)) - k.hooks.expression - .for('import.meta.webpackHot') - .tap(nt, createHMRExpressionHandler(k)) - } - k.hooks.compilation.tap(nt, (E, { normalModuleFactory: P }) => { - if (E.compiler !== k) return - E.dependencyFactories.set(Ie, P) - E.dependencyTemplates.set(Ie, new Ie.Template()) - E.dependencyFactories.set(Me, P) - E.dependencyTemplates.set(Me, new Me.Template()) - E.dependencyFactories.set(ye, P) - E.dependencyTemplates.set(ye, new ye.Template()) - E.dependencyFactories.set(_e, P) - E.dependencyTemplates.set(_e, new _e.Template()) - let me = 0 - const je = {} - const Ne = {} - E.hooks.record.tap(nt, (k, v) => { - if (v.hash === k.hash) return - const E = k.chunkGraph - v.hash = k.hash - v.hotIndex = me - v.fullHashChunkModuleHashes = je - v.chunkModuleHashes = Ne - v.chunkHashes = {} - v.chunkRuntime = {} - for (const E of k.chunks) { - v.chunkHashes[E.id] = E.hash - v.chunkRuntime[E.id] = He(E.runtime) - } - v.chunkModuleIds = {} - for (const P of k.chunks) { - v.chunkModuleIds[P.id] = Array.from( - E.getOrderedChunkModulesIterable(P, Ge(E)), - (k) => E.getModuleId(k) - ) - } - }) - const tt = new Ue() - const st = new Ue() - const rt = new Ue() - E.hooks.fullHash.tap(nt, (k) => { - const v = E.chunkGraph - const P = E.records - for (const k of E.chunks) { - const getModuleHash = (P) => { - if (E.codeGenerationResults.has(P, k.runtime)) { - return E.codeGenerationResults.getHash(P, k.runtime) - } else { - rt.add(P, k.runtime) - return v.getModuleHash(P, k.runtime) - } - } - const R = v.getChunkFullHashModulesSet(k) - if (R !== undefined) { - for (const v of R) { - st.add(v, k) - } - } - const L = v.getChunkModulesIterable(k) - if (L !== undefined) { - if (P.chunkModuleHashes) { - if (R !== undefined) { - for (const v of L) { - const E = `${k.id}|${v.identifier()}` - const L = getModuleHash(v) - if (R.has(v)) { - if (P.fullHashChunkModuleHashes[E] !== L) { - tt.add(v, k) - } - je[E] = L - } else { - if (P.chunkModuleHashes[E] !== L) { - tt.add(v, k) - } - Ne[E] = L - } - } - } else { - for (const v of L) { - const E = `${k.id}|${v.identifier()}` - const R = getModuleHash(v) - if (P.chunkModuleHashes[E] !== R) { - tt.add(v, k) - } - Ne[E] = R - } - } - } else { - if (R !== undefined) { - for (const v of L) { - const E = `${k.id}|${v.identifier()}` - const P = getModuleHash(v) - if (R.has(v)) { - je[E] = P - } else { - Ne[E] = P - } - } - } else { - for (const v of L) { - const E = `${k.id}|${v.identifier()}` - const P = getModuleHash(v) - Ne[E] = P - } - } - } - } - } - me = P.hotIndex || 0 - if (tt.size > 0) me++ - k.update(`${me}`) - }) - E.hooks.processAssets.tap( - { name: nt, stage: N.PROCESS_ASSETS_STAGE_ADDITIONAL }, - () => { - const k = E.chunkGraph - const P = E.records - if (P.hash === E.hash) return - if ( - !P.chunkModuleHashes || - !P.chunkHashes || - !P.chunkModuleIds - ) { - return - } - for (const [v, R] of st) { - const L = `${R.id}|${v.identifier()}` - const N = rt.has(v, R.runtime) - ? k.getModuleHash(v, R.runtime) - : E.codeGenerationResults.getHash(v, R.runtime) - if (P.chunkModuleHashes[L] !== N) { - tt.add(v, R) - } - Ne[L] = N - } - const N = new Map() - let ae - for (const k of Object.keys(P.chunkRuntime)) { - const v = We(P.chunkRuntime[k]) - ae = Je(ae, v) - } - Qe(ae, (k) => { - const { path: v, info: R } = E.getPathWithInfo( - E.outputOptions.hotUpdateMainFilename, - { hash: P.hash, runtime: k } - ) - N.set(k, { - updatedChunkIds: new Set(), - removedChunkIds: new Set(), - removedModules: new Set(), - filename: v, - assetInfo: R, - }) - }) - if (N.size === 0) return - const le = new Map() - for (const v of E.modules) { - const E = k.getModuleId(v) - le.set(E, v) - } - const me = new Set() - for (const R of Object.keys(P.chunkHashes)) { - const pe = We(P.chunkRuntime[R]) - const ye = [] - for (const k of P.chunkModuleIds[R]) { - const v = le.get(k) - if (v === undefined) { - me.add(k) - } else { - ye.push(v) - } - } - let _e - let Ie - let Me - let Te - let je - let Ne - let qe - const Ue = Be(E.chunks, (k) => `${k.id}` === R) - if (Ue) { - _e = Ue.id - Ne = Ke(Ue.runtime, ae) - if (Ne === undefined) continue - Ie = k.getChunkModules(Ue).filter((k) => tt.has(k, Ue)) - Me = Array.from( - k.getChunkRuntimeModulesIterable(Ue) - ).filter((k) => tt.has(k, Ue)) - const v = k.getChunkFullHashModulesIterable(Ue) - Te = v && Array.from(v).filter((k) => tt.has(k, Ue)) - const E = k.getChunkDependentHashModulesIterable(Ue) - je = E && Array.from(E).filter((k) => tt.has(k, Ue)) - qe = Ve(pe, Ne) - } else { - _e = `${+R}` === R ? +R : R - qe = pe - Ne = pe - } - if (qe) { - Qe(qe, (k) => { - N.get(k).removedChunkIds.add(_e) - }) - for (const v of ye) { - const L = `${R}|${v.identifier()}` - const q = P.chunkModuleHashes[L] - const ae = k.getModuleRuntimes(v) - if (pe === Ne && ae.has(Ne)) { - const P = rt.has(v, Ne) - ? k.getModuleHash(v, Ne) - : E.codeGenerationResults.getHash(v, Ne) - if (P !== q) { - if (v.type === et) { - Me = Me || [] - Me.push(v) - } else { - Ie = Ie || [] - Ie.push(v) - } - } - } else { - Qe(qe, (k) => { - for (const v of ae) { - if (typeof v === 'string') { - if (v === k) return - } else if (v !== undefined) { - if (v.has(k)) return - } - } - N.get(k).removedModules.add(v) - }) - } - } - } - if ((Ie && Ie.length > 0) || (Me && Me.length > 0)) { - const R = new q() - if (v) L.setChunkGraphForChunk(R, k) - R.id = _e - R.runtime = Ne - if (Ue) { - for (const k of Ue.groupsIterable) R.addGroup(k) - } - k.attachModules(R, Ie || []) - k.attachRuntimeModules(R, Me || []) - if (Te) { - k.attachFullHashModules(R, Te) - } - if (je) { - k.attachDependentHashModules(R, je) - } - const ae = E.getRenderManifest({ - chunk: R, - hash: P.hash, - fullHash: P.hash, - outputOptions: E.outputOptions, - moduleTemplates: E.moduleTemplates, - dependencyTemplates: E.dependencyTemplates, - codeGenerationResults: E.codeGenerationResults, - runtimeTemplate: E.runtimeTemplate, - moduleGraph: E.moduleGraph, - chunkGraph: k, - }) - for (const k of ae) { - let v - let P - if ('filename' in k) { - v = k.filename - P = k.info - } else { - ;({ path: v, info: P } = E.getPathWithInfo( - k.filenameTemplate, - k.pathOptions - )) - } - const R = k.render() - E.additionalChunkAssets.push(v) - E.emitAsset(v, R, { hotModuleReplacement: true, ...P }) - if (Ue) { - Ue.files.add(v) - E.hooks.chunkAsset.call(Ue, v) - } - } - Qe(Ne, (k) => { - N.get(k).updatedChunkIds.add(_e) - }) - } - } - const ye = Array.from(me) - const _e = new Map() - for (const { - removedChunkIds: k, - removedModules: v, - updatedChunkIds: P, - filename: R, - assetInfo: L, - } of N.values()) { - const N = _e.get(R) - if ( - N && - (!qe(N.removedChunkIds, k) || - !qe(N.removedModules, v) || - !qe(N.updatedChunkIds, P)) - ) { - E.warnings.push( - new pe( - `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 v of k) N.removedChunkIds.add(v) - for (const k of v) N.removedModules.add(k) - for (const k of P) N.updatedChunkIds.add(k) - continue - } - _e.set(R, { - removedChunkIds: k, - removedModules: v, - updatedChunkIds: P, - assetInfo: L, - }) - } - for (const [ - v, - { - removedChunkIds: P, - removedModules: L, - updatedChunkIds: N, - assetInfo: q, - }, - ] of _e) { - const ae = { - c: Array.from(N), - r: Array.from(P), - m: - L.size === 0 - ? ye - : ye.concat(Array.from(L, (v) => k.getModuleId(v))), - } - const le = new R(JSON.stringify(ae)) - E.emitAsset(v, le, { hotModuleReplacement: true, ...q }) - } - } - ) - E.hooks.additionalTreeRuntimeRequirements.tap(nt, (k, v) => { - v.add(le.hmrDownloadManifest) - v.add(le.hmrDownloadUpdateHandlers) - v.add(le.interceptModuleExecution) - v.add(le.moduleCache) - E.addRuntimeModule(k, new Te()) - }) - P.hooks.parser.for(Ye).tap(nt, (k) => { - applyModuleHot(k) - applyImportMetaHot(k) - }) - P.hooks.parser.for(Xe).tap(nt, (k) => { - applyModuleHot(k) - }) - P.hooks.parser.for(Ze).tap(nt, (k) => { - applyImportMetaHot(k) - }) - ae.getCompilationHooks(E).loader.tap(nt, (k) => { - k.hot = true - }) - }) - } - } - k.exports = HotModuleReplacementPlugin - }, - 95733: function (k, v, E) { - 'use strict' - const P = E(8247) - class HotUpdateChunk extends P { - constructor() { - super() - } - } - k.exports = HotUpdateChunk - }, - 95224: function (k, v, E) { - 'use strict' - const P = E(66043) - class IgnoreErrorModuleFactory extends P { - constructor(k) { - super() - this.normalModuleFactory = k - } - create(k, v) { - this.normalModuleFactory.create(k, (k, E) => v(null, E)) - } - } - k.exports = IgnoreErrorModuleFactory - }, - 69200: function (k, v, E) { - 'use strict' - const P = E(92198) - const R = P(E(4552), () => E(19134), { - name: 'Ignore Plugin', - baseDataPath: 'options', - }) - class IgnorePlugin { - constructor(k) { - R(k) - this.options = k - this.checkIgnore = this.checkIgnore.bind(this) - } - checkIgnore(k) { - if ( - 'checkResource' in this.options && - this.options.checkResource && - this.options.checkResource(k.request, k.context) - ) { - return false - } - if ( - 'resourceRegExp' in this.options && - this.options.resourceRegExp && - this.options.resourceRegExp.test(k.request) - ) { - if ('contextRegExp' in this.options && this.options.contextRegExp) { - if (this.options.contextRegExp.test(k.context)) { - return false - } - } else { - return false - } - } - } - apply(k) { - k.hooks.normalModuleFactory.tap('IgnorePlugin', (k) => { - k.hooks.beforeResolve.tap('IgnorePlugin', this.checkIgnore) - }) - k.hooks.contextModuleFactory.tap('IgnorePlugin', (k) => { - k.hooks.beforeResolve.tap('IgnorePlugin', this.checkIgnore) - }) - } - } - k.exports = IgnorePlugin - }, - 21324: function (k) { - 'use strict' - class IgnoreWarningsPlugin { - constructor(k) { - this._ignoreWarnings = k - } - apply(k) { - k.hooks.compilation.tap('IgnoreWarningsPlugin', (k) => { - k.hooks.processWarnings.tap('IgnoreWarningsPlugin', (v) => - v.filter((v) => !this._ignoreWarnings.some((E) => E(v, k))) - ) - }) - } - } - k.exports = IgnoreWarningsPlugin - }, - 88113: function (k, v, E) { - 'use strict' - const { ConcatSource: P } = E(51255) - const R = E(58528) - const extractFragmentIndex = (k, v) => [k, v] - const sortFragmentWithIndex = ([k, v], [E, P]) => { - const R = k.stage - E.stage - if (R !== 0) return R - const L = k.position - E.position - if (L !== 0) return L - return v - P - } - class InitFragment { - constructor(k, v, E, P, R) { - this.content = k - this.stage = v - this.position = E - this.key = P - this.endContent = R - } - getContent(k) { - return this.content - } - getEndContent(k) { - return this.endContent - } - static addToSource(k, v, E) { - if (v.length > 0) { - const R = v.map(extractFragmentIndex).sort(sortFragmentWithIndex) - const L = new Map() - for (const [k] of R) { - if (typeof k.mergeAll === 'function') { - if (!k.key) { - throw new Error( - `InitFragment with mergeAll function must have a valid key: ${k.constructor.name}` - ) - } - const v = L.get(k.key) - if (v === undefined) { - L.set(k.key, k) - } else if (Array.isArray(v)) { - v.push(k) - } else { - L.set(k.key, [v, k]) - } - continue - } else if (typeof k.merge === 'function') { - const v = L.get(k.key) - if (v !== undefined) { - L.set(k.key, k.merge(v)) - continue - } - } - L.set(k.key || Symbol(), k) - } - const N = new P() - const q = [] - for (let k of L.values()) { - if (Array.isArray(k)) { - k = k[0].mergeAll(k) - } - N.add(k.getContent(E)) - const v = k.getEndContent(E) - if (v) { - q.push(v) - } - } - N.add(k) - for (const k of q.reverse()) { - N.add(k) - } - return N - } else { - return k - } - } - serialize(k) { - const { write: v } = k - v(this.content) - v(this.stage) - v(this.position) - v(this.key) - v(this.endContent) - } - deserialize(k) { - const { read: v } = k - this.content = v() - this.stage = v() - this.position = v() - this.key = v() - this.endContent = v() - } - } - R(InitFragment, 'webpack/lib/InitFragment') - 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 - k.exports = InitFragment - }, - 44017: function (k, v, E) { - 'use strict' - const P = E(71572) - const R = E(58528) - class InvalidDependenciesModuleWarning extends P { - constructor(k, v) { - const E = v ? Array.from(v).sort() : [] - const P = E.map((k) => ` * ${JSON.stringify(k)}`) - super( - `Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${P.slice( - 0, - 3 - ).join('\n')}${P.length > 3 ? '\n * and more ...' : ''}` - ) - this.name = 'InvalidDependenciesModuleWarning' - this.details = P.slice(3).join('\n') - this.module = k - } - } - R( - InvalidDependenciesModuleWarning, - 'webpack/lib/InvalidDependenciesModuleWarning' - ) - k.exports = InvalidDependenciesModuleWarning - }, - 28027: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, - JAVASCRIPT_MODULE_TYPE_ESM: L, - } = E(93622) - const N = E(88926) - const q = 'JavascriptMetaInfoPlugin' - class JavascriptMetaInfoPlugin { - apply(k) { - k.hooks.compilation.tap(q, (k, { normalModuleFactory: v }) => { - const handler = (k) => { - k.hooks.call.for('eval').tap(q, () => { - k.state.module.buildInfo.moduleConcatenationBailout = 'eval()' - k.state.module.buildInfo.usingEval = true - const v = N.getTopLevelSymbol(k.state) - if (v) { - N.addUsage(k.state, null, v) - } else { - N.bailout(k.state) - } - }) - k.hooks.finish.tap(q, () => { - let v = k.state.module.buildInfo.topLevelDeclarations - if (v === undefined) { - v = k.state.module.buildInfo.topLevelDeclarations = new Set() - } - for (const E of k.scope.definitions.asSet()) { - const P = k.getFreeInfoFromVariable(E) - if (P === undefined) { - v.add(E) - } - } - }) - } - v.hooks.parser.for(P).tap(q, handler) - v.hooks.parser.for(R).tap(q, handler) - v.hooks.parser.for(L).tap(q, handler) - }) - } - } - k.exports = JavascriptMetaInfoPlugin - }, - 98060: function (k, v, E) { - 'use strict' - const P = E(78175) - const R = E(25248) - const { someInIterable: L } = E(54480) - const { compareModulesById: N } = E(95648) - const { dirname: q, mkdirp: ae } = E(57825) - class LibManifestPlugin { - constructor(k) { - this.options = k - } - apply(k) { - k.hooks.emit.tapAsync('LibManifestPlugin', (v, E) => { - const le = v.moduleGraph - P.forEach( - Array.from(v.chunks), - (E, P) => { - if (!E.canBeInitial()) { - P() - return - } - const pe = v.chunkGraph - const me = v.getPath(this.options.path, { chunk: E }) - const ye = - this.options.name && - v.getPath(this.options.name, { - chunk: E, - contentHashType: 'javascript', - }) - const _e = Object.create(null) - for (const v of pe.getOrderedChunkModulesIterable(E, N(pe))) { - if ( - this.options.entryOnly && - !L( - le.getIncomingConnections(v), - (k) => k.dependency instanceof R - ) - ) { - continue - } - const E = v.libIdent({ - context: this.options.context || k.options.context, - associatedObjectForCache: k.root, - }) - if (E) { - const k = le.getExportsInfo(v) - const P = k.getProvidedExports() - const R = { - id: pe.getModuleId(v), - buildMeta: v.buildMeta, - exports: Array.isArray(P) ? P : undefined, - } - _e[E] = R - } - } - const Ie = { name: ye, type: this.options.type, content: _e } - const Me = this.options.format - ? JSON.stringify(Ie, null, 2) - : JSON.stringify(Ie) - const Te = Buffer.from(Me, 'utf8') - ae( - k.intermediateFileSystem, - q(k.intermediateFileSystem, me), - (v) => { - if (v) return P(v) - k.intermediateFileSystem.writeFile(me, Te, P) - } - ) - }, - E - ) - }) - } - } - k.exports = LibManifestPlugin - }, - 9021: function (k, v, E) { - 'use strict' - const P = E(60234) - class LibraryTemplatePlugin { - constructor(k, v, E, P, R) { - this.library = { - type: v || 'var', - name: k, - umdNamedDefine: E, - auxiliaryComment: P, - export: R, - } - } - apply(k) { - const { output: v } = k.options - v.library = this.library - new P(this.library.type).apply(k) - } - } - k.exports = LibraryTemplatePlugin - }, - 69056: function (k, v, E) { - 'use strict' - const P = E(98612) - const R = E(38224) - const L = E(92198) - const N = L(E(12072), () => E(27667), { - name: 'Loader Options Plugin', - baseDataPath: 'options', - }) - class LoaderOptionsPlugin { - constructor(k = {}) { - N(k) - if (typeof k !== 'object') k = {} - if (!k.test) { - const v = { test: () => true } - k.test = v - } - this.options = k - } - apply(k) { - const v = this.options - k.hooks.compilation.tap('LoaderOptionsPlugin', (k) => { - R.getCompilationHooks(k).loader.tap( - 'LoaderOptionsPlugin', - (k, E) => { - const R = E.resource - if (!R) return - const L = R.indexOf('?') - if (P.matchObject(v, L < 0 ? R : R.slice(0, L))) { - for (const E of Object.keys(v)) { - if (E === 'include' || E === 'exclude' || E === 'test') { - continue - } - k[E] = v[E] - } - } - } - ) - }) - } - } - k.exports = LoaderOptionsPlugin - }, - 49429: function (k, v, E) { - 'use strict' - const P = E(38224) - class LoaderTargetPlugin { - constructor(k) { - this.target = k - } - apply(k) { - k.hooks.compilation.tap('LoaderTargetPlugin', (k) => { - P.getCompilationHooks(k).loader.tap('LoaderTargetPlugin', (k) => { - k.target = this.target - }) - }) - } - } - k.exports = LoaderTargetPlugin - }, - 98954: function (k, v, E) { - 'use strict' - const { SyncWaterfallHook: P } = E(79846) - const R = E(73837) - const L = E(56727) - const N = E(20631) - const q = N(() => E(89168)) - const ae = N(() => E(68511)) - const le = N(() => E(42159)) - class MainTemplate { - constructor(k, v) { - this._outputOptions = k || {} - this.hooks = Object.freeze({ - renderManifest: { - tap: R.deprecate( - (k, E) => { - v.hooks.renderManifest.tap(k, (k, v) => { - if (!v.chunk.hasRuntime()) return k - return E(k, v) - }) - }, - '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: R.deprecate( - (k, E) => { - q().getCompilationHooks(v).renderRequire.tap(k, E) - }, - '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: R.deprecate( - (k, E) => { - q() - .getCompilationHooks(v) - .render.tap(k, (k, P) => { - if ( - P.chunkGraph.getNumberOfEntryModules(P.chunk) === 0 || - !P.chunk.hasRuntime() - ) { - return k - } - return E( - k, - P.chunk, - v.hash, - v.moduleTemplates.javascript, - v.dependencyTemplates - ) - }) - }, - 'MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)', - 'DEP_WEBPACK_MAIN_TEMPLATE_RENDER' - ), - }, - renderWithEntry: { - tap: R.deprecate( - (k, E) => { - q() - .getCompilationHooks(v) - .render.tap(k, (k, P) => { - if ( - P.chunkGraph.getNumberOfEntryModules(P.chunk) === 0 || - !P.chunk.hasRuntime() - ) { - return k - } - return E(k, P.chunk, v.hash) - }) - }, - 'MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)', - 'DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY' - ), - }, - assetPath: { - tap: R.deprecate( - (k, E) => { - v.hooks.assetPath.tap(k, E) - }, - 'MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)', - 'DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH' - ), - call: R.deprecate( - (k, E) => v.getAssetPath(k, E), - 'MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)', - 'DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH' - ), - }, - hash: { - tap: R.deprecate( - (k, E) => { - v.hooks.fullHash.tap(k, E) - }, - 'MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)', - 'DEP_WEBPACK_MAIN_TEMPLATE_HASH' - ), - }, - hashForChunk: { - tap: R.deprecate( - (k, E) => { - q() - .getCompilationHooks(v) - .chunkHash.tap(k, (k, v) => { - if (!k.hasRuntime()) return - return E(v, k) - }) - }, - 'MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)', - 'DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK' - ), - }, - globalHashPaths: { - tap: R.deprecate( - () => {}, - "MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)", - 'DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK' - ), - }, - globalHash: { - tap: R.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 P([ - 'source', - 'chunk', - 'hash', - 'moduleTemplate', - 'dependencyTemplates', - ]), - localVars: new P(['source', 'chunk', 'hash']), - requireExtensions: new P(['source', 'chunk', 'hash']), - requireEnsure: new P([ - 'source', - 'chunk', - 'hash', - 'chunkIdExpression', - ]), - get jsonpScript() { - const k = le().getCompilationHooks(v) - return k.createScript - }, - get linkPrefetch() { - const k = ae().getCompilationHooks(v) - return k.linkPrefetch - }, - get linkPreload() { - const k = ae().getCompilationHooks(v) - return k.linkPreload - }, - }) - this.renderCurrentHashCode = R.deprecate( - (k, v) => { - if (v) { - return `${L.getFullHash} ? ${ - L.getFullHash - }().slice(0, ${v}) : ${k.slice(0, v)}` - } - return `${L.getFullHash} ? ${L.getFullHash}() : ${k}` - }, - 'MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)', - 'DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE' - ) - this.getPublicPath = R.deprecate( - (k) => v.getAssetPath(v.outputOptions.publicPath, k), - 'MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)', - 'DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH' - ) - this.getAssetPath = R.deprecate( - (k, E) => v.getAssetPath(k, E), - 'MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)', - 'DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH' - ) - this.getAssetPathWithInfo = R.deprecate( - (k, E) => v.getAssetPathWithInfo(k, E), - 'MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)', - 'DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO' - ) - } - } - Object.defineProperty(MainTemplate.prototype, 'requireFn', { - get: R.deprecate( - () => L.require, - `MainTemplate.requireFn is deprecated (use "${L.require}")`, - 'DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN' - ), - }) - Object.defineProperty(MainTemplate.prototype, 'outputOptions', { - get: R.deprecate( - function () { - return this._outputOptions - }, - 'MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)', - 'DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS' - ), - }) - k.exports = MainTemplate - }, - 88396: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = E(38317) - const L = E(38706) - const N = E(88223) - const q = E(56727) - const { first: ae } = E(59959) - const { compareChunksById: le } = E(95648) - const pe = E(58528) - const me = {} - let ye = 1e3 - const _e = new Set(['unknown']) - const Ie = new Set(['javascript']) - const Me = P.deprecate( - (k, v) => - k.needRebuild( - v.fileSystemInfo.getDeprecatedFileTimestamps(), - v.fileSystemInfo.getDeprecatedContextTimestamps() - ), - 'Module.needRebuild is deprecated in favor of Module.needBuild', - 'DEP_WEBPACK_MODULE_NEED_REBUILD' - ) - class Module extends L { - constructor(k, v = null, E = null) { - super() - this.type = k - this.context = v - this.layer = E - this.needId = true - this.debugId = ye++ - this.resolveOptions = me - this.factoryMeta = undefined - this.useSourceMap = false - this.useSimpleSourceMap = false - this._warnings = undefined - this._errors = undefined - this.buildMeta = undefined - this.buildInfo = undefined - this.presentationalDependencies = undefined - this.codeGenerationDependencies = undefined - } - get id() { - return R.getChunkGraphForModule( - this, - 'Module.id', - 'DEP_WEBPACK_MODULE_ID' - ).getModuleId(this) - } - set id(k) { - if (k === '') { - this.needId = false - return - } - R.getChunkGraphForModule( - this, - 'Module.id', - 'DEP_WEBPACK_MODULE_ID' - ).setModuleId(this, k) - } - get hash() { - return R.getChunkGraphForModule( - this, - 'Module.hash', - 'DEP_WEBPACK_MODULE_HASH' - ).getModuleHash(this, undefined) - } - get renderedHash() { - return R.getChunkGraphForModule( - this, - 'Module.renderedHash', - 'DEP_WEBPACK_MODULE_RENDERED_HASH' - ).getRenderedModuleHash(this, undefined) - } - get profile() { - return N.getModuleGraphForModule( - this, - 'Module.profile', - 'DEP_WEBPACK_MODULE_PROFILE' - ).getProfile(this) - } - set profile(k) { - N.getModuleGraphForModule( - this, - 'Module.profile', - 'DEP_WEBPACK_MODULE_PROFILE' - ).setProfile(this, k) - } - get index() { - return N.getModuleGraphForModule( - this, - 'Module.index', - 'DEP_WEBPACK_MODULE_INDEX' - ).getPreOrderIndex(this) - } - set index(k) { - N.getModuleGraphForModule( - this, - 'Module.index', - 'DEP_WEBPACK_MODULE_INDEX' - ).setPreOrderIndex(this, k) - } - get index2() { - return N.getModuleGraphForModule( - this, - 'Module.index2', - 'DEP_WEBPACK_MODULE_INDEX2' - ).getPostOrderIndex(this) - } - set index2(k) { - N.getModuleGraphForModule( - this, - 'Module.index2', - 'DEP_WEBPACK_MODULE_INDEX2' - ).setPostOrderIndex(this, k) - } - get depth() { - return N.getModuleGraphForModule( - this, - 'Module.depth', - 'DEP_WEBPACK_MODULE_DEPTH' - ).getDepth(this) - } - set depth(k) { - N.getModuleGraphForModule( - this, - 'Module.depth', - 'DEP_WEBPACK_MODULE_DEPTH' - ).setDepth(this, k) - } - get issuer() { - return N.getModuleGraphForModule( - this, - 'Module.issuer', - 'DEP_WEBPACK_MODULE_ISSUER' - ).getIssuer(this) - } - set issuer(k) { - N.getModuleGraphForModule( - this, - 'Module.issuer', - 'DEP_WEBPACK_MODULE_ISSUER' - ).setIssuer(this, k) - } - get usedExports() { - return N.getModuleGraphForModule( - this, - 'Module.usedExports', - 'DEP_WEBPACK_MODULE_USED_EXPORTS' - ).getUsedExports(this, undefined) - } - get optimizationBailout() { - return N.getModuleGraphForModule( - this, - 'Module.optimizationBailout', - 'DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT' - ).getOptimizationBailout(this) - } - get optional() { - return this.isOptional( - N.getModuleGraphForModule( - this, - 'Module.optional', - 'DEP_WEBPACK_MODULE_OPTIONAL' - ) - ) - } - addChunk(k) { - const v = R.getChunkGraphForModule( - this, - 'Module.addChunk', - 'DEP_WEBPACK_MODULE_ADD_CHUNK' - ) - if (v.isModuleInChunk(this, k)) return false - v.connectChunkAndModule(k, this) - return true - } - removeChunk(k) { - return R.getChunkGraphForModule( - this, - 'Module.removeChunk', - 'DEP_WEBPACK_MODULE_REMOVE_CHUNK' - ).disconnectChunkAndModule(k, this) - } - isInChunk(k) { - return R.getChunkGraphForModule( - this, - 'Module.isInChunk', - 'DEP_WEBPACK_MODULE_IS_IN_CHUNK' - ).isModuleInChunk(this, k) - } - isEntryModule() { - return R.getChunkGraphForModule( - this, - 'Module.isEntryModule', - 'DEP_WEBPACK_MODULE_IS_ENTRY_MODULE' - ).isEntryModule(this) - } - getChunks() { - return R.getChunkGraphForModule( - this, - 'Module.getChunks', - 'DEP_WEBPACK_MODULE_GET_CHUNKS' - ).getModuleChunks(this) - } - getNumberOfChunks() { - return R.getChunkGraphForModule( - this, - 'Module.getNumberOfChunks', - 'DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS' - ).getNumberOfModuleChunks(this) - } - get chunksIterable() { - return R.getChunkGraphForModule( - this, - 'Module.chunksIterable', - 'DEP_WEBPACK_MODULE_CHUNKS_ITERABLE' - ).getOrderedModuleChunksIterable(this, le) - } - isProvided(k) { - return N.getModuleGraphForModule( - this, - 'Module.usedExports', - 'DEP_WEBPACK_MODULE_USED_EXPORTS' - ).isExportProvided(this, k) - } - get exportsArgument() { - return (this.buildInfo && this.buildInfo.exportsArgument) || 'exports' - } - get moduleArgument() { - return (this.buildInfo && this.buildInfo.moduleArgument) || 'module' - } - getExportsType(k, v) { - switch (this.buildMeta && this.buildMeta.exportsType) { - case 'flagged': - return v ? 'default-with-named' : 'namespace' - case 'namespace': - return 'namespace' - case 'default': - switch (this.buildMeta.defaultObject) { - case 'redirect': - return 'default-with-named' - case 'redirect-warn': - return v ? 'default-only' : 'default-with-named' - default: - return 'default-only' - } - case 'dynamic': { - if (v) return 'default-with-named' - const handleDefault = () => { - switch (this.buildMeta.defaultObject) { - case 'redirect': - case 'redirect-warn': - return 'default-with-named' - default: - return 'default-only' - } - } - const E = k.getReadOnlyExportInfo(this, '__esModule') - if (E.provided === false) { - return handleDefault() - } - const P = E.getTarget(k) - if ( - !P || - !P.export || - P.export.length !== 1 || - P.export[0] !== '__esModule' - ) { - return 'dynamic' - } - switch (P.module.buildMeta && P.module.buildMeta.exportsType) { - case 'flagged': - case 'namespace': - return 'namespace' - case 'default': - return handleDefault() - default: - return 'dynamic' - } - } - default: - return v ? 'default-with-named' : 'dynamic' - } - } - addPresentationalDependency(k) { - if (this.presentationalDependencies === undefined) { - this.presentationalDependencies = [] - } - this.presentationalDependencies.push(k) - } - addCodeGenerationDependency(k) { - if (this.codeGenerationDependencies === undefined) { - this.codeGenerationDependencies = [] - } - this.codeGenerationDependencies.push(k) - } - clearDependenciesAndBlocks() { - if (this.presentationalDependencies !== undefined) { - this.presentationalDependencies.length = 0 - } - if (this.codeGenerationDependencies !== undefined) { - this.codeGenerationDependencies.length = 0 - } - super.clearDependenciesAndBlocks() - } - addWarning(k) { - if (this._warnings === undefined) { - this._warnings = [] - } - this._warnings.push(k) - } - getWarnings() { - return this._warnings - } - getNumberOfWarnings() { - return this._warnings !== undefined ? this._warnings.length : 0 - } - addError(k) { - if (this._errors === undefined) { - this._errors = [] - } - this._errors.push(k) - } - 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(k) { - let v = false - for (const E of k.getIncomingConnections(this)) { - if ( - !E.dependency || - !E.dependency.optional || - !E.isTargetActive(undefined) - ) { - return false - } - v = true - } - return v - } - isAccessibleInChunk(k, v, E) { - for (const E of v.groupsIterable) { - if (!this.isAccessibleInChunkGroup(k, E)) return false - } - return true - } - isAccessibleInChunkGroup(k, v, E) { - const P = new Set([v]) - e: for (const R of P) { - for (const v of R.chunks) { - if (v !== E && k.isModuleInChunk(this, v)) continue e - } - if (v.isInitial()) return false - for (const k of v.parentsIterable) P.add(k) - } - return true - } - hasReasonForChunk(k, v, E) { - for (const [P, R] of v.getIncomingConnectionsByOriginModule(this)) { - if (!R.some((v) => v.isTargetActive(k.runtime))) continue - for (const v of E.getModuleChunksIterable(P)) { - if (!this.isAccessibleInChunk(E, v, k)) return true - } - } - return false - } - hasReasons(k, v) { - for (const E of k.getIncomingConnections(this)) { - if (E.isTargetActive(v)) return true - } - return false - } - toString() { - return `Module[${this.debugId}: ${this.identifier()}]` - } - needBuild(k, v) { - v( - null, - !this.buildMeta || - this.needRebuild === Module.prototype.needRebuild || - Me(this, k) - ) - } - needRebuild(k, v) { - return true - } - updateHash( - k, - v = { - chunkGraph: R.getChunkGraphForModule( - this, - 'Module.updateHash', - 'DEP_WEBPACK_MODULE_UPDATE_HASH' - ), - runtime: undefined, - } - ) { - const { chunkGraph: E, runtime: P } = v - k.update(E.getModuleGraphHash(this, P)) - if (this.presentationalDependencies !== undefined) { - for (const E of this.presentationalDependencies) { - E.updateHash(k, v) - } - } - super.updateHash(k, v) - } - invalidateBuild() {} - identifier() { - const k = E(60386) - throw new k() - } - readableIdentifier(k) { - const v = E(60386) - throw new v() - } - build(k, v, P, R, L) { - const N = E(60386) - throw new N() - } - getSourceTypes() { - if (this.source === Module.prototype.source) { - return _e - } else { - return Ie - } - } - source(k, v, P = 'javascript') { - if (this.codeGeneration === Module.prototype.codeGeneration) { - const k = E(60386) - throw new k() - } - const L = R.getChunkGraphForModule( - this, - 'Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead', - 'DEP_WEBPACK_MODULE_SOURCE' - ) - const N = { - dependencyTemplates: k, - runtimeTemplate: v, - moduleGraph: L.moduleGraph, - chunkGraph: L, - runtime: undefined, - codeGenerationResults: undefined, - } - const q = this.codeGeneration(N).sources - return P ? q.get(P) : q.get(ae(this.getSourceTypes())) - } - size(k) { - const v = E(60386) - throw new v() - } - libIdent(k) { - return null - } - nameForCondition() { - return null - } - getConcatenationBailoutReason(k) { - return `Module Concatenation is not implemented for ${this.constructor.name}` - } - getSideEffectsConnectionState(k) { - return true - } - codeGeneration(k) { - const v = new Map() - for (const E of this.getSourceTypes()) { - if (E !== 'unknown') { - v.set(E, this.source(k.dependencyTemplates, k.runtimeTemplate, E)) - } - } - return { - sources: v, - runtimeRequirements: new Set([q.module, q.exports, q.require]), - } - } - chunkCondition(k, v) { - return true - } - hasChunkCondition() { - return this.chunkCondition !== Module.prototype.chunkCondition - } - updateCacheModule(k) { - this.type = k.type - this.layer = k.layer - this.context = k.context - this.factoryMeta = k.factoryMeta - this.resolveOptions = k.resolveOptions - } - getUnsafeCacheData() { - return { - factoryMeta: this.factoryMeta, - resolveOptions: this.resolveOptions, - } - } - _restoreFromUnsafeCache(k, v) { - this.factoryMeta = k.factoryMeta - this.resolveOptions = k.resolveOptions - } - cleanupForCache() { - this.factoryMeta = undefined - this.resolveOptions = undefined - } - originalSource() { - return null - } - addCacheDependencies(k, v, E, P) {} - serialize(k) { - const { write: v } = k - v(this.type) - v(this.layer) - v(this.context) - v(this.resolveOptions) - v(this.factoryMeta) - v(this.useSourceMap) - v(this.useSimpleSourceMap) - v( - this._warnings !== undefined && this._warnings.length === 0 - ? undefined - : this._warnings - ) - v( - this._errors !== undefined && this._errors.length === 0 - ? undefined - : this._errors - ) - v(this.buildMeta) - v(this.buildInfo) - v(this.presentationalDependencies) - v(this.codeGenerationDependencies) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.type = v() - this.layer = v() - this.context = v() - this.resolveOptions = v() - this.factoryMeta = v() - this.useSourceMap = v() - this.useSimpleSourceMap = v() - this._warnings = v() - this._errors = v() - this.buildMeta = v() - this.buildInfo = v() - this.presentationalDependencies = v() - this.codeGenerationDependencies = v() - super.deserialize(k) - } - } - pe(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: P.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: P.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(k) { - throw new Error( - 'Module.used was refactored (use ModuleGraph.setUsedExports instead)' - ) - }, - }) - k.exports = Module - }, - 23804: function (k, v, E) { - 'use strict' - const { cutOffLoaderExecution: P } = E(53657) - const R = E(71572) - const L = E(58528) - class ModuleBuildError extends R { - constructor(k, { from: v = null } = {}) { - let E = 'Module build failed' - let R = undefined - if (v) { - E += ` (from ${v}):\n` - } else { - E += ': ' - } - if (k !== null && typeof k === 'object') { - if (typeof k.stack === 'string' && k.stack) { - const v = P(k.stack) - if (!k.hideStack) { - E += v - } else { - R = v - if (typeof k.message === 'string' && k.message) { - E += k.message - } else { - E += k - } - } - } else if (typeof k.message === 'string' && k.message) { - E += k.message - } else { - E += String(k) - } - } else { - E += String(k) - } - super(E) - this.name = 'ModuleBuildError' - this.details = R - this.error = k - } - serialize(k) { - const { write: v } = k - v(this.error) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.error = v() - super.deserialize(k) - } - } - L(ModuleBuildError, 'webpack/lib/ModuleBuildError') - k.exports = ModuleBuildError - }, - 36428: function (k, v, E) { - 'use strict' - const P = E(71572) - class ModuleDependencyError extends P { - constructor(k, v, E) { - super(v.message) - this.name = 'ModuleDependencyError' - this.details = - v && !v.hideStack - ? v.stack.split('\n').slice(1).join('\n') - : undefined - this.module = k - this.loc = E - this.error = v - if (v && v.hideStack) { - this.stack = - v.stack.split('\n').slice(1).join('\n') + '\n\n' + this.stack - } - } - } - k.exports = ModuleDependencyError - }, - 84018: function (k, v, E) { - 'use strict' - const P = E(71572) - const R = E(58528) - class ModuleDependencyWarning extends P { - constructor(k, v, E) { - super(v ? v.message : '') - this.name = 'ModuleDependencyWarning' - this.details = - v && !v.hideStack - ? v.stack.split('\n').slice(1).join('\n') - : undefined - this.module = k - this.loc = E - this.error = v - if (v && v.hideStack) { - this.stack = - v.stack.split('\n').slice(1).join('\n') + '\n\n' + this.stack - } - } - } - R(ModuleDependencyWarning, 'webpack/lib/ModuleDependencyWarning') - k.exports = ModuleDependencyWarning - }, - 47560: function (k, v, E) { - 'use strict' - const { cleanUp: P } = E(53657) - const R = E(71572) - const L = E(58528) - class ModuleError extends R { - constructor(k, { from: v = null } = {}) { - let E = 'Module Error' - if (v) { - E += ` (from ${v}):\n` - } else { - E += ': ' - } - if (k && typeof k === 'object' && k.message) { - E += k.message - } else if (k) { - E += k - } - super(E) - this.name = 'ModuleError' - this.error = k - this.details = - k && typeof k === 'object' && k.stack - ? P(k.stack, this.message) - : undefined - } - serialize(k) { - const { write: v } = k - v(this.error) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.error = v() - super.deserialize(k) - } - } - L(ModuleError, 'webpack/lib/ModuleError') - k.exports = ModuleError - }, - 66043: function (k, v, E) { - 'use strict' - class ModuleFactory { - create(k, v) { - const P = E(60386) - throw new P() - } - } - k.exports = ModuleFactory - }, - 98612: function (k, v, E) { - 'use strict' - const P = E(38224) - const R = E(74012) - const L = E(20631) - const N = v - N.ALL_LOADERS_RESOURCE = '[all-loaders][resource]' - N.REGEXP_ALL_LOADERS_RESOURCE = /\[all-?loaders\]\[resource\]/gi - N.LOADERS_RESOURCE = '[loaders][resource]' - N.REGEXP_LOADERS_RESOURCE = /\[loaders\]\[resource\]/gi - N.RESOURCE = '[resource]' - N.REGEXP_RESOURCE = /\[resource\]/gi - N.ABSOLUTE_RESOURCE_PATH = '[absolute-resource-path]' - N.REGEXP_ABSOLUTE_RESOURCE_PATH = /\[abs(olute)?-?resource-?path\]/gi - N.RESOURCE_PATH = '[resource-path]' - N.REGEXP_RESOURCE_PATH = /\[resource-?path\]/gi - N.ALL_LOADERS = '[all-loaders]' - N.REGEXP_ALL_LOADERS = /\[all-?loaders\]/gi - N.LOADERS = '[loaders]' - N.REGEXP_LOADERS = /\[loaders\]/gi - N.QUERY = '[query]' - N.REGEXP_QUERY = /\[query\]/gi - N.ID = '[id]' - N.REGEXP_ID = /\[id\]/gi - N.HASH = '[hash]' - N.REGEXP_HASH = /\[hash\]/gi - N.NAMESPACE = '[namespace]' - N.REGEXP_NAMESPACE = /\[namespace\]/gi - const getAfter = (k, v) => () => { - const E = k() - const P = E.indexOf(v) - return P < 0 ? '' : E.slice(P) - } - const getBefore = (k, v) => () => { - const E = k() - const P = E.lastIndexOf(v) - return P < 0 ? '' : E.slice(0, P) - } - const getHash = (k, v) => () => { - const E = R(v) - E.update(k()) - const P = E.digest('hex') - return P.slice(0, 4) - } - const asRegExp = (k) => { - if (typeof k === 'string') { - k = new RegExp('^' + k.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&')) - } - return k - } - const lazyObject = (k) => { - const v = {} - for (const E of Object.keys(k)) { - const P = k[E] - Object.defineProperty(v, E, { - get: () => P(), - set: (k) => { - Object.defineProperty(v, E, { - value: k, - enumerable: true, - writable: true, - }) - }, - enumerable: true, - configurable: true, - }) - } - return v - } - const q = /\[\\*([\w-]+)\\*\]/gi - N.createFilename = ( - k = '', - v, - { requestShortener: E, chunkGraph: R, hashFunction: ae = 'md4' } - ) => { - const le = { - namespace: '', - moduleFilenameTemplate: '', - ...(typeof v === 'object' ? v : { moduleFilenameTemplate: v }), - } - let pe - let me - let ye - let _e - let Ie - if (typeof k === 'string') { - Ie = L(() => E.shorten(k)) - ye = Ie - _e = () => '' - pe = () => k.split('!').pop() - me = getHash(ye, ae) - } else { - Ie = L(() => k.readableIdentifier(E)) - ye = L(() => E.shorten(k.identifier())) - _e = () => R.getModuleId(k) - pe = () => - k instanceof P ? k.resource : k.identifier().split('!').pop() - me = getHash(ye, ae) - } - const Me = L(() => Ie().split('!').pop()) - const Te = getBefore(Ie, '!') - const je = getBefore(ye, '!') - const Ne = getAfter(Me, '?') - const resourcePath = () => { - const k = Ne().length - return k === 0 ? Me() : Me().slice(0, -k) - } - if (typeof le.moduleFilenameTemplate === 'function') { - return le.moduleFilenameTemplate( - lazyObject({ - identifier: ye, - shortIdentifier: Ie, - resource: Me, - resourcePath: L(resourcePath), - absoluteResourcePath: L(pe), - loaders: L(Te), - allLoaders: L(je), - query: L(Ne), - moduleId: L(_e), - hash: L(me), - namespace: () => le.namespace, - }) - ) - } - const Be = new Map([ - ['identifier', ye], - ['short-identifier', Ie], - ['resource', Me], - ['resource-path', resourcePath], - ['resourcepath', resourcePath], - ['absolute-resource-path', pe], - ['abs-resource-path', pe], - ['absoluteresource-path', pe], - ['absresource-path', pe], - ['absolute-resourcepath', pe], - ['abs-resourcepath', pe], - ['absoluteresourcepath', pe], - ['absresourcepath', pe], - ['all-loaders', je], - ['allloaders', je], - ['loaders', Te], - ['query', Ne], - ['id', _e], - ['hash', me], - ['namespace', () => le.namespace], - ]) - return le.moduleFilenameTemplate - .replace(N.REGEXP_ALL_LOADERS_RESOURCE, '[identifier]') - .replace(N.REGEXP_LOADERS_RESOURCE, '[short-identifier]') - .replace(q, (k, v) => { - if (v.length + 2 === k.length) { - const k = Be.get(v.toLowerCase()) - if (k !== undefined) { - return k() - } - } else if (k.startsWith('[\\') && k.endsWith('\\]')) { - return `[${k.slice(2, -2)}]` - } - return k - }) - } - N.replaceDuplicates = (k, v, E) => { - const P = Object.create(null) - const R = Object.create(null) - k.forEach((k, v) => { - P[k] = P[k] || [] - P[k].push(v) - R[k] = 0 - }) - if (E) { - Object.keys(P).forEach((k) => { - P[k].sort(E) - }) - } - return k.map((k, L) => { - if (P[k].length > 1) { - if (E && P[k][0] === L) return k - return v(k, L, R[k]++) - } else { - return k - } - }) - } - N.matchPart = (k, v) => { - if (!v) return true - if (Array.isArray(v)) { - return v.map(asRegExp).some((v) => v.test(k)) - } else { - return asRegExp(v).test(k) - } - } - N.matchObject = (k, v) => { - if (k.test) { - if (!N.matchPart(v, k.test)) { - return false - } - } - if (k.include) { - if (!N.matchPart(v, k.include)) { - return false - } - } - if (k.exclude) { - if (N.matchPart(v, k.exclude)) { - return false - } - } - return true - } - }, - 88223: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = E(11172) - const L = E(86267) - const N = E(46081) - const q = E(69752) - const ae = new Set() - const getConnectionsByOriginModule = (k) => { - const v = new Map() - let E = 0 - let P = undefined - for (const R of k) { - const { originModule: k } = R - if (E === k) { - P.push(R) - } else { - E = k - const L = v.get(k) - if (L !== undefined) { - P = L - L.push(R) - } else { - const E = [R] - P = E - v.set(k, E) - } - } - } - return v - } - const getConnectionsByModule = (k) => { - const v = new Map() - let E = 0 - let P = undefined - for (const R of k) { - const { module: k } = R - if (E === k) { - P.push(R) - } else { - E = k - const L = v.get(k) - if (L !== undefined) { - P = L - L.push(R) - } else { - const E = [R] - P = E - v.set(k, E) - } - } - } - return v - } - class ModuleGraphModule { - constructor() { - this.incomingConnections = new N() - this.outgoingConnections = undefined - this.issuer = undefined - this.optimizationBailout = [] - this.exports = new R() - this.preOrderIndex = null - this.postOrderIndex = null - this.depth = null - this.profile = undefined - this.async = false - this._unassignedConnections = undefined - } - } - class ModuleGraph { - constructor() { - this._dependencyMap = new WeakMap() - this._moduleMap = new Map() - this._metaMap = new WeakMap() - this._cache = undefined - this._moduleMemCaches = undefined - this._cacheStage = undefined - } - _getModuleGraphModule(k) { - let v = this._moduleMap.get(k) - if (v === undefined) { - v = new ModuleGraphModule() - this._moduleMap.set(k, v) - } - return v - } - setParents(k, v, E, P = -1) { - k._parentDependenciesBlockIndex = P - k._parentDependenciesBlock = v - k._parentModule = E - } - getParentModule(k) { - return k._parentModule - } - getParentBlock(k) { - return k._parentDependenciesBlock - } - getParentBlockIndex(k) { - return k._parentDependenciesBlockIndex - } - setResolvedModule(k, v, E) { - const P = new L(k, v, E, undefined, v.weak, v.getCondition(this)) - const R = this._getModuleGraphModule(E).incomingConnections - R.add(P) - if (k) { - const v = this._getModuleGraphModule(k) - if (v._unassignedConnections === undefined) { - v._unassignedConnections = [] - } - v._unassignedConnections.push(P) - if (v.outgoingConnections === undefined) { - v.outgoingConnections = new N() - } - v.outgoingConnections.add(P) - } else { - this._dependencyMap.set(v, P) - } - } - updateModule(k, v) { - const E = this.getConnection(k) - if (E.module === v) return - const P = E.clone() - P.module = v - this._dependencyMap.set(k, P) - E.setActive(false) - const R = this._getModuleGraphModule(E.originModule) - R.outgoingConnections.add(P) - const L = this._getModuleGraphModule(v) - L.incomingConnections.add(P) - } - removeConnection(k) { - const v = this.getConnection(k) - const E = this._getModuleGraphModule(v.module) - E.incomingConnections.delete(v) - const P = this._getModuleGraphModule(v.originModule) - P.outgoingConnections.delete(v) - this._dependencyMap.set(k, null) - } - addExplanation(k, v) { - const E = this.getConnection(k) - E.addExplanation(v) - } - cloneModuleAttributes(k, v) { - const E = this._getModuleGraphModule(k) - const P = this._getModuleGraphModule(v) - P.postOrderIndex = E.postOrderIndex - P.preOrderIndex = E.preOrderIndex - P.depth = E.depth - P.exports = E.exports - P.async = E.async - } - removeModuleAttributes(k) { - const v = this._getModuleGraphModule(k) - v.postOrderIndex = null - v.preOrderIndex = null - v.depth = null - v.async = false - } - removeAllModuleAttributes() { - for (const k of this._moduleMap.values()) { - k.postOrderIndex = null - k.preOrderIndex = null - k.depth = null - k.async = false - } - } - moveModuleConnections(k, v, E) { - if (k === v) return - const P = this._getModuleGraphModule(k) - const R = this._getModuleGraphModule(v) - const L = P.outgoingConnections - if (L !== undefined) { - if (R.outgoingConnections === undefined) { - R.outgoingConnections = new N() - } - const k = R.outgoingConnections - for (const P of L) { - if (E(P)) { - P.originModule = v - k.add(P) - L.delete(P) - } - } - } - const q = P.incomingConnections - const ae = R.incomingConnections - for (const k of q) { - if (E(k)) { - k.module = v - ae.add(k) - q.delete(k) - } - } - } - copyOutgoingModuleConnections(k, v, E) { - if (k === v) return - const P = this._getModuleGraphModule(k) - const R = this._getModuleGraphModule(v) - const L = P.outgoingConnections - if (L !== undefined) { - if (R.outgoingConnections === undefined) { - R.outgoingConnections = new N() - } - const k = R.outgoingConnections - for (const P of L) { - if (E(P)) { - const E = P.clone() - E.originModule = v - k.add(E) - if (E.module !== undefined) { - const k = this._getModuleGraphModule(E.module) - k.incomingConnections.add(E) - } - } - } - } - } - addExtraReason(k, v) { - const E = this._getModuleGraphModule(k).incomingConnections - E.add(new L(null, null, k, v)) - } - getResolvedModule(k) { - const v = this.getConnection(k) - return v !== undefined ? v.resolvedModule : null - } - getConnection(k) { - const v = this._dependencyMap.get(k) - if (v === undefined) { - const v = this.getParentModule(k) - if (v !== undefined) { - const E = this._getModuleGraphModule(v) - if ( - E._unassignedConnections && - E._unassignedConnections.length !== 0 - ) { - let v - for (const P of E._unassignedConnections) { - this._dependencyMap.set(P.dependency, P) - if (P.dependency === k) v = P - } - E._unassignedConnections.length = 0 - if (v !== undefined) { - return v - } - } - } - this._dependencyMap.set(k, null) - return undefined - } - return v === null ? undefined : v - } - getModule(k) { - const v = this.getConnection(k) - return v !== undefined ? v.module : null - } - getOrigin(k) { - const v = this.getConnection(k) - return v !== undefined ? v.originModule : null - } - getResolvedOrigin(k) { - const v = this.getConnection(k) - return v !== undefined ? v.resolvedOriginModule : null - } - getIncomingConnections(k) { - const v = this._getModuleGraphModule(k).incomingConnections - return v - } - getOutgoingConnections(k) { - const v = this._getModuleGraphModule(k).outgoingConnections - return v === undefined ? ae : v - } - getIncomingConnectionsByOriginModule(k) { - const v = this._getModuleGraphModule(k).incomingConnections - return v.getFromUnorderedCache(getConnectionsByOriginModule) - } - getOutgoingConnectionsByModule(k) { - const v = this._getModuleGraphModule(k).outgoingConnections - return v === undefined - ? undefined - : v.getFromUnorderedCache(getConnectionsByModule) - } - getProfile(k) { - const v = this._getModuleGraphModule(k) - return v.profile - } - setProfile(k, v) { - const E = this._getModuleGraphModule(k) - E.profile = v - } - getIssuer(k) { - const v = this._getModuleGraphModule(k) - return v.issuer - } - setIssuer(k, v) { - const E = this._getModuleGraphModule(k) - E.issuer = v - } - setIssuerIfUnset(k, v) { - const E = this._getModuleGraphModule(k) - if (E.issuer === undefined) E.issuer = v - } - getOptimizationBailout(k) { - const v = this._getModuleGraphModule(k) - return v.optimizationBailout - } - getProvidedExports(k) { - const v = this._getModuleGraphModule(k) - return v.exports.getProvidedExports() - } - isExportProvided(k, v) { - const E = this._getModuleGraphModule(k) - const P = E.exports.isExportProvided(v) - return P === undefined ? null : P - } - getExportsInfo(k) { - const v = this._getModuleGraphModule(k) - return v.exports - } - getExportInfo(k, v) { - const E = this._getModuleGraphModule(k) - return E.exports.getExportInfo(v) - } - getReadOnlyExportInfo(k, v) { - const E = this._getModuleGraphModule(k) - return E.exports.getReadOnlyExportInfo(v) - } - getUsedExports(k, v) { - const E = this._getModuleGraphModule(k) - return E.exports.getUsedExports(v) - } - getPreOrderIndex(k) { - const v = this._getModuleGraphModule(k) - return v.preOrderIndex - } - getPostOrderIndex(k) { - const v = this._getModuleGraphModule(k) - return v.postOrderIndex - } - setPreOrderIndex(k, v) { - const E = this._getModuleGraphModule(k) - E.preOrderIndex = v - } - setPreOrderIndexIfUnset(k, v) { - const E = this._getModuleGraphModule(k) - if (E.preOrderIndex === null) { - E.preOrderIndex = v - return true - } - return false - } - setPostOrderIndex(k, v) { - const E = this._getModuleGraphModule(k) - E.postOrderIndex = v - } - setPostOrderIndexIfUnset(k, v) { - const E = this._getModuleGraphModule(k) - if (E.postOrderIndex === null) { - E.postOrderIndex = v - return true - } - return false - } - getDepth(k) { - const v = this._getModuleGraphModule(k) - return v.depth - } - setDepth(k, v) { - const E = this._getModuleGraphModule(k) - E.depth = v - } - setDepthIfLower(k, v) { - const E = this._getModuleGraphModule(k) - if (E.depth === null || E.depth > v) { - E.depth = v - return true - } - return false - } - isAsync(k) { - const v = this._getModuleGraphModule(k) - return v.async - } - setAsync(k) { - const v = this._getModuleGraphModule(k) - v.async = true - } - getMeta(k) { - let v = this._metaMap.get(k) - if (v === undefined) { - v = Object.create(null) - this._metaMap.set(k, v) - } - return v - } - getMetaIfExisting(k) { - return this._metaMap.get(k) - } - freeze(k) { - this._cache = new q() - this._cacheStage = k - } - unfreeze() { - this._cache = undefined - this._cacheStage = undefined - } - cached(k, ...v) { - if (this._cache === undefined) return k(this, ...v) - return this._cache.provide(k, ...v, () => k(this, ...v)) - } - setModuleMemCaches(k) { - this._moduleMemCaches = k - } - dependencyCacheProvide(k, ...v) { - const E = v.pop() - if (this._moduleMemCaches && this._cacheStage) { - const P = this._moduleMemCaches.get(this.getParentModule(k)) - if (P !== undefined) { - return P.provide(k, this._cacheStage, ...v, () => - E(this, k, ...v) - ) - } - } - if (this._cache === undefined) return E(this, k, ...v) - return this._cache.provide(k, ...v, () => E(this, k, ...v)) - } - static getModuleGraphForModule(k, v, E) { - const R = pe.get(v) - if (R) return R(k) - const L = P.deprecate( - (k) => { - const E = le.get(k) - if (!E) - throw new Error( - v + - 'There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)' - ) - return E - }, - v + ': Use new ModuleGraph API', - E - ) - pe.set(v, L) - return L(k) - } - static setModuleGraphForModule(k, v) { - le.set(k, v) - } - static clearModuleGraphForModule(k) { - le.delete(k) - } - } - const le = new WeakMap() - const pe = new Map() - k.exports = ModuleGraph - k.exports.ModuleGraphConnection = L - }, - 86267: function (k) { - 'use strict' - const v = Symbol('transitive only') - const E = Symbol('circular connection') - const addConnectionStates = (k, E) => { - if (k === true || E === true) return true - if (k === false) return E - if (E === false) return k - if (k === v) return E - if (E === v) return k - return k - } - const intersectConnectionStates = (k, v) => { - if (k === false || v === false) return false - if (k === true) return v - if (v === true) return k - if (k === E) return v - if (v === E) return k - return k - } - class ModuleGraphConnection { - constructor(k, v, E, P, R = false, L = undefined) { - this.originModule = k - this.resolvedOriginModule = k - this.dependency = v - this.resolvedModule = E - this.module = E - this.weak = R - this.conditional = !!L - this._active = L !== false - this.condition = L || undefined - this.explanations = undefined - if (P) { - this.explanations = new Set() - this.explanations.add(P) - } - } - clone() { - const k = new ModuleGraphConnection( - this.resolvedOriginModule, - this.dependency, - this.resolvedModule, - undefined, - this.weak, - this.condition - ) - k.originModule = this.originModule - k.module = this.module - k.conditional = this.conditional - k._active = this._active - if (this.explanations) k.explanations = new Set(this.explanations) - return k - } - addCondition(k) { - if (this.conditional) { - const v = this.condition - this.condition = (E, P) => - intersectConnectionStates(v(E, P), k(E, P)) - } else if (this._active) { - this.conditional = true - this.condition = k - } - } - addExplanation(k) { - if (this.explanations === undefined) { - this.explanations = new Set() - } - this.explanations.add(k) - } - get explanation() { - if (this.explanations === undefined) return '' - return Array.from(this.explanations).join(' ') - } - get active() { - throw new Error('Use getActiveState instead') - } - isActive(k) { - if (!this.conditional) return this._active - return this.condition(this, k) !== false - } - isTargetActive(k) { - if (!this.conditional) return this._active - return this.condition(this, k) === true - } - getActiveState(k) { - if (!this.conditional) return this._active - return this.condition(this, k) - } - setActive(k) { - this.conditional = false - this._active = k - } - set active(k) { - throw new Error('Use setActive instead') - } - } - k.exports = ModuleGraphConnection - k.exports.addConnectionStates = addConnectionStates - k.exports.TRANSITIVE_ONLY = v - k.exports.CIRCULAR_CONNECTION = E - }, - 83139: function (k, v, E) { - 'use strict' - const P = E(71572) - class ModuleHashingError extends P { - constructor(k, v) { - super() - this.name = 'ModuleHashingError' - this.error = v - this.message = v.message - this.details = v.stack - this.module = k - } - } - k.exports = ModuleHashingError - }, - 50444: function (k, v, E) { - 'use strict' - const { ConcatSource: P, RawSource: R, CachedSource: L } = E(51255) - const { UsageState: N } = E(11172) - const q = E(95041) - const ae = E(89168) - const joinIterableWithComma = (k) => { - let v = '' - let E = true - for (const P of k) { - if (E) { - E = false - } else { - v += ', ' - } - v += P - } - return v - } - const printExportsInfoToSource = (k, v, E, P, R, L = new Set()) => { - const ae = E.otherExportsInfo - let le = 0 - const pe = [] - for (const k of E.orderedExports) { - if (!L.has(k)) { - L.add(k) - pe.push(k) - } else { - le++ - } - } - let me = false - if (!L.has(ae)) { - L.add(ae) - me = true - } else { - le++ - } - for (const E of pe) { - const N = E.getTarget(P) - k.add( - q.toComment( - `${v}export ${JSON.stringify(E.name).slice( - 1, - -1 - )} [${E.getProvidedInfo()}] [${E.getUsedInfo()}] [${E.getRenameInfo()}]${ - N - ? ` -> ${N.module.readableIdentifier(R)}${ - N.export - ? ` .${N.export - .map((k) => JSON.stringify(k).slice(1, -1)) - .join('.')}` - : '' - }` - : '' - }` - ) + '\n' - ) - if (E.exportsInfo) { - printExportsInfoToSource(k, v + ' ', E.exportsInfo, P, R, L) - } - } - if (le) { - k.add(q.toComment(`${v}... (${le} already listed exports)`) + '\n') - } - if (me) { - const E = ae.getTarget(P) - if ( - E || - ae.provided !== false || - ae.getUsed(undefined) !== N.Unused - ) { - const P = pe.length > 0 || le > 0 ? 'other exports' : 'exports' - k.add( - q.toComment( - `${v}${P} [${ae.getProvidedInfo()}] [${ae.getUsedInfo()}]${ - E ? ` -> ${E.module.readableIdentifier(R)}` : '' - }` - ) + '\n' - ) - } - } - } - const le = new WeakMap() - class ModuleInfoHeaderPlugin { - constructor(k = true) { - this._verbose = k - } - apply(k) { - const { _verbose: v } = this - k.hooks.compilation.tap('ModuleInfoHeaderPlugin', (k) => { - const E = ae.getCompilationHooks(k) - E.renderModulePackage.tap( - 'ModuleInfoHeaderPlugin', - ( - k, - E, - { - chunk: N, - chunkGraph: ae, - moduleGraph: pe, - runtimeTemplate: me, - } - ) => { - const { requestShortener: ye } = me - let _e - let Ie = le.get(ye) - if (Ie === undefined) { - le.set(ye, (Ie = new WeakMap())) - Ie.set(E, (_e = { header: undefined, full: new WeakMap() })) - } else { - _e = Ie.get(E) - if (_e === undefined) { - Ie.set(E, (_e = { header: undefined, full: new WeakMap() })) - } else if (!v) { - const v = _e.full.get(k) - if (v !== undefined) return v - } - } - const Me = new P() - let Te = _e.header - if (Te === undefined) { - const k = E.readableIdentifier(ye) - const v = k.replace(/\*\//g, '*_/') - const P = '*'.repeat(v.length) - const L = `/*!****${P}****!*\\\n !*** ${v} ***!\n \\****${P}****/\n` - Te = new R(L) - _e.header = Te - } - Me.add(Te) - if (v) { - const v = E.buildMeta.exportsType - Me.add( - q.toComment( - v ? `${v} exports` : 'unknown exports (runtime-defined)' - ) + '\n' - ) - if (v) { - const k = pe.getExportsInfo(E) - printExportsInfoToSource(Me, '', k, pe, ye) - } - Me.add( - q.toComment( - `runtime requirements: ${joinIterableWithComma( - ae.getModuleRuntimeRequirements(E, N.runtime) - )}` - ) + '\n' - ) - const P = pe.getOptimizationBailout(E) - if (P) { - for (const k of P) { - let v - if (typeof k === 'function') { - v = k(ye) - } else { - v = k - } - Me.add(q.toComment(`${v}`) + '\n') - } - } - Me.add(k) - return Me - } else { - Me.add(k) - const v = new L(Me) - _e.full.set(k, v) - return v - } - } - ) - E.chunkHash.tap('ModuleInfoHeaderPlugin', (k, v) => { - v.update('ModuleInfoHeaderPlugin') - v.update('1') - }) - }) - } - } - k.exports = ModuleInfoHeaderPlugin - }, - 69734: function (k, v, E) { - 'use strict' - const P = E(71572) - const R = { - 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 P { - constructor(k, v, E) { - let P = `Module not found: ${v.toString()}` - const L = v.message.match(/Can't resolve '([^']+)'/) - if (L) { - const k = L[1] - const v = R[k] - if (v) { - const E = v.indexOf('/') - const R = E > 0 ? v.slice(0, E) : v - P += - '\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' - P += - 'If you want to include a polyfill, you need to:\n' + - `\t- add a fallback 'resolve.fallback: { "${k}": require.resolve("${v}") }'\n` + - `\t- install '${R}'\n` - P += - "If you don't want to include a polyfill, you can use an empty module like this:\n" + - `\tresolve.fallback: { "${k}": false }` - } - } - super(P) - this.name = 'ModuleNotFoundError' - this.details = v.details - this.module = k - this.error = v - this.loc = E - } - } - k.exports = ModuleNotFoundError - }, - 63591: function (k, v, E) { - 'use strict' - const P = E(71572) - const R = E(58528) - const L = Buffer.from([0, 97, 115, 109]) - class ModuleParseError extends P { - constructor(k, v, E, P) { - let R = 'Module parse failed: ' + (v && v.message) - let N = undefined - if ( - ((Buffer.isBuffer(k) && k.slice(0, 4).equals(L)) || - (typeof k === 'string' && /^\0asm/.test(k))) && - !P.startsWith('webassembly') - ) { - R += - '\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.' - R += - '\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.' - R += - "\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)." - R += - "\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 (!E) { - R += - '\nYou may need an appropriate loader to handle this file type.' - } else if (E.length >= 1) { - R += `\nFile was processed with these loaders:${E.map( - (k) => `\n * ${k}` - ).join('')}` - R += - '\nYou may need an additional loader to handle the result of these loaders.' - } else { - R += - '\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 ( - v && - v.loc && - typeof v.loc === 'object' && - typeof v.loc.line === 'number' - ) { - var q = v.loc.line - if ( - Buffer.isBuffer(k) || - /[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(k) - ) { - R += '\n(Source code omitted for this binary file)' - } else { - const v = k.split(/\r?\n/) - const E = Math.max(0, q - 3) - const P = v.slice(E, q - 1) - const L = v[q - 1] - const N = v.slice(q, q + 2) - R += - P.map((k) => `\n| ${k}`).join('') + - `\n> ${L}` + - N.map((k) => `\n| ${k}`).join('') - } - N = { start: v.loc } - } else if (v && v.stack) { - R += '\n' + v.stack - } - super(R) - this.name = 'ModuleParseError' - this.loc = N - this.error = v - } - serialize(k) { - const { write: v } = k - v(this.error) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.error = v() - super.deserialize(k) - } - } - R(ModuleParseError, 'webpack/lib/ModuleParseError') - k.exports = ModuleParseError - }, - 52200: function (k) { - 'use strict' - class ModuleProfile { - constructor() { - this.startTime = Date.now() - this.factoryStartTime = 0 - this.factoryEndTime = 0 - this.factory = 0 - this.factoryParallelismFactor = 0 - this.restoringStartTime = 0 - this.restoringEndTime = 0 - this.restoring = 0 - this.restoringParallelismFactor = 0 - this.integrationStartTime = 0 - this.integrationEndTime = 0 - this.integration = 0 - this.integrationParallelismFactor = 0 - this.buildingStartTime = 0 - this.buildingEndTime = 0 - this.building = 0 - this.buildingParallelismFactor = 0 - this.storingStartTime = 0 - this.storingEndTime = 0 - this.storing = 0 - this.storingParallelismFactor = 0 - this.additionalFactoryTimes = undefined - this.additionalFactories = 0 - this.additionalFactoriesParallelismFactor = 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(k) { - k.additionalFactories = this.factory - ;(k.additionalFactoryTimes = k.additionalFactoryTimes || []).push({ - start: this.factoryStartTime, - end: this.factoryEndTime, - }) - } - } - k.exports = ModuleProfile - }, - 48575: function (k, v, E) { - 'use strict' - const P = E(71572) - class ModuleRestoreError extends P { - constructor(k, v) { - let E = 'Module restore failed: ' - let P = undefined - if (v !== null && typeof v === 'object') { - if (typeof v.stack === 'string' && v.stack) { - const k = v.stack - E += k - } else if (typeof v.message === 'string' && v.message) { - E += v.message - } else { - E += v - } - } else { - E += String(v) - } - super(E) - this.name = 'ModuleRestoreError' - this.details = P - this.module = k - this.error = v - } - } - k.exports = ModuleRestoreError - }, - 57177: function (k, v, E) { - 'use strict' - const P = E(71572) - class ModuleStoreError extends P { - constructor(k, v) { - let E = 'Module storing failed: ' - let P = undefined - if (v !== null && typeof v === 'object') { - if (typeof v.stack === 'string' && v.stack) { - const k = v.stack - E += k - } else if (typeof v.message === 'string' && v.message) { - E += v.message - } else { - E += v - } - } else { - E += String(v) - } - super(E) - this.name = 'ModuleStoreError' - this.details = P - this.module = k - this.error = v - } - } - k.exports = ModuleStoreError - }, - 3304: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = E(20631) - const L = R(() => E(89168)) - class ModuleTemplate { - constructor(k, v) { - this._runtimeTemplate = k - this.type = 'javascript' - this.hooks = Object.freeze({ - content: { - tap: P.deprecate( - (k, E) => { - L() - .getCompilationHooks(v) - .renderModuleContent.tap(k, (k, v, P) => - E(k, v, P, P.dependencyTemplates) - ) - }, - 'ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)', - 'DEP_MODULE_TEMPLATE_CONTENT' - ), - }, - module: { - tap: P.deprecate( - (k, E) => { - L() - .getCompilationHooks(v) - .renderModuleContent.tap(k, (k, v, P) => - E(k, v, P, P.dependencyTemplates) - ) - }, - 'ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)', - 'DEP_MODULE_TEMPLATE_MODULE' - ), - }, - render: { - tap: P.deprecate( - (k, E) => { - L() - .getCompilationHooks(v) - .renderModuleContainer.tap(k, (k, v, P) => - E(k, v, P, P.dependencyTemplates) - ) - }, - 'ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)', - 'DEP_MODULE_TEMPLATE_RENDER' - ), - }, - package: { - tap: P.deprecate( - (k, E) => { - L() - .getCompilationHooks(v) - .renderModulePackage.tap(k, (k, v, P) => - E(k, v, P, P.dependencyTemplates) - ) - }, - 'ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)', - 'DEP_MODULE_TEMPLATE_PACKAGE' - ), - }, - hash: { - tap: P.deprecate( - (k, E) => { - v.hooks.fullHash.tap(k, E) - }, - 'ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)', - 'DEP_MODULE_TEMPLATE_HASH' - ), - }, - }) - } - } - Object.defineProperty(ModuleTemplate.prototype, 'runtimeTemplate', { - get: P.deprecate( - function () { - return this._runtimeTemplate - }, - 'ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)', - 'DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS' - ), - }) - k.exports = ModuleTemplate - }, - 93622: function (k, v) { - 'use strict' - const E = 'javascript/auto' - const P = 'javascript/dynamic' - const R = 'javascript/esm' - const L = 'json' - const N = 'webassembly/async' - const q = 'webassembly/sync' - const ae = 'css' - const le = 'css/global' - const pe = 'css/module' - const me = 'asset' - const ye = 'asset/inline' - const _e = 'asset/resource' - const Ie = 'asset/source' - const Me = 'asset/raw-data-url' - const Te = 'runtime' - const je = 'fallback-module' - const Ne = 'remote-module' - const Be = 'provide-module' - const qe = 'consume-shared-module' - const Ue = 'lazy-compilation-proxy' - v.ASSET_MODULE_TYPE = me - v.ASSET_MODULE_TYPE_RAW_DATA_URL = Me - v.ASSET_MODULE_TYPE_SOURCE = Ie - v.ASSET_MODULE_TYPE_RESOURCE = _e - v.ASSET_MODULE_TYPE_INLINE = ye - v.JAVASCRIPT_MODULE_TYPE_AUTO = E - v.JAVASCRIPT_MODULE_TYPE_DYNAMIC = P - v.JAVASCRIPT_MODULE_TYPE_ESM = R - v.JSON_MODULE_TYPE = L - v.WEBASSEMBLY_MODULE_TYPE_ASYNC = N - v.WEBASSEMBLY_MODULE_TYPE_SYNC = q - v.CSS_MODULE_TYPE = ae - v.CSS_MODULE_TYPE_GLOBAL = le - v.CSS_MODULE_TYPE_MODULE = pe - v.WEBPACK_MODULE_TYPE_RUNTIME = Te - v.WEBPACK_MODULE_TYPE_FALLBACK = je - v.WEBPACK_MODULE_TYPE_REMOTE = Ne - v.WEBPACK_MODULE_TYPE_PROVIDE = Be - v.WEBPACK_MODULE_TYPE_CONSUME_SHARED_MODULE = qe - v.WEBPACK_MODULE_TYPE_LAZY_COMPILATION_PROXY = Ue - }, - 95801: function (k, v, E) { - 'use strict' - const { cleanUp: P } = E(53657) - const R = E(71572) - const L = E(58528) - class ModuleWarning extends R { - constructor(k, { from: v = null } = {}) { - let E = 'Module Warning' - if (v) { - E += ` (from ${v}):\n` - } else { - E += ': ' - } - if (k && typeof k === 'object' && k.message) { - E += k.message - } else if (k) { - E += String(k) - } - super(E) - this.name = 'ModuleWarning' - this.warning = k - this.details = - k && typeof k === 'object' && k.stack - ? P(k.stack, this.message) - : undefined - } - serialize(k) { - const { write: v } = k - v(this.warning) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.warning = v() - super.deserialize(k) - } - } - L(ModuleWarning, 'webpack/lib/ModuleWarning') - k.exports = ModuleWarning - }, - 47575: function (k, v, E) { - 'use strict' - const P = E(78175) - const { SyncHook: R, MultiHook: L } = E(79846) - const N = E(4539) - const q = E(14976) - const ae = E(73463) - const le = E(12970) - k.exports = class MultiCompiler { - constructor(k, v) { - if (!Array.isArray(k)) { - k = Object.keys(k).map((v) => { - k[v].name = v - return k[v] - }) - } - this.hooks = Object.freeze({ - done: new R(['stats']), - invalid: new L(k.map((k) => k.hooks.invalid)), - run: new L(k.map((k) => k.hooks.run)), - watchClose: new R([]), - watchRun: new L(k.map((k) => k.hooks.watchRun)), - infrastructureLog: new L(k.map((k) => k.hooks.infrastructureLog)), - }) - this.compilers = k - this._options = { parallelism: v.parallelism || Infinity } - this.dependencies = new WeakMap() - this.running = false - const E = this.compilers.map(() => null) - let P = 0 - for (let k = 0; k < this.compilers.length; k++) { - const v = this.compilers[k] - const R = k - let L = false - v.hooks.done.tap('MultiCompiler', (k) => { - if (!L) { - L = true - P++ - } - E[R] = k - if (P === this.compilers.length) { - this.hooks.done.call(new q(E)) - } - }) - v.hooks.invalid.tap('MultiCompiler', () => { - if (L) { - L = false - P-- - } - }) - } - } - get options() { - return Object.assign( - this.compilers.map((k) => k.options), - this._options - ) - } - get outputPath() { - let k = this.compilers[0].outputPath - for (const v of this.compilers) { - while (v.outputPath.indexOf(k) !== 0 && /[/\\]/.test(k)) { - k = k.replace(/[/\\][^/\\]*$/, '') - } - } - if (!k && this.compilers[0].outputPath[0] === '/') return '/' - return k - } - 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(k) { - for (const v of this.compilers) { - v.inputFileSystem = k - } - } - set outputFileSystem(k) { - for (const v of this.compilers) { - v.outputFileSystem = k - } - } - set watchFileSystem(k) { - for (const v of this.compilers) { - v.watchFileSystem = k - } - } - set intermediateFileSystem(k) { - for (const v of this.compilers) { - v.intermediateFileSystem = k - } - } - getInfrastructureLogger(k) { - return this.compilers[0].getInfrastructureLogger(k) - } - setDependencies(k, v) { - this.dependencies.set(k, v) - } - validateDependencies(k) { - const v = new Set() - const E = [] - const targetFound = (k) => { - for (const E of v) { - if (E.target === k) { - return true - } - } - return false - } - const sortEdges = (k, v) => - k.source.name.localeCompare(v.source.name) || - k.target.name.localeCompare(v.target.name) - for (const k of this.compilers) { - const P = this.dependencies.get(k) - if (P) { - for (const R of P) { - const P = this.compilers.find((k) => k.name === R) - if (!P) { - E.push(R) - } else { - v.add({ source: k, target: P }) - } - } - } - } - const P = E.map((k) => `Compiler dependency \`${k}\` not found.`) - const R = this.compilers.filter((k) => !targetFound(k)) - while (R.length > 0) { - const k = R.pop() - for (const E of v) { - if (E.source === k) { - v.delete(E) - const k = E.target - if (!targetFound(k)) { - R.push(k) - } - } - } - } - if (v.size > 0) { - const k = Array.from(v) - .sort(sortEdges) - .map((k) => `${k.source.name} -> ${k.target.name}`) - k.unshift('Circular dependency found in compiler dependencies.') - P.unshift(k.join('\n')) - } - if (P.length > 0) { - const v = P.join('\n') - k(new Error(v)) - return false - } - return true - } - runWithDependencies(k, v, E) { - const R = new Set() - let L = k - const isDependencyFulfilled = (k) => R.has(k) - const getReadyCompilers = () => { - let k = [] - let v = L - L = [] - for (const E of v) { - const v = this.dependencies.get(E) - const P = !v || v.every(isDependencyFulfilled) - if (P) { - k.push(E) - } else { - L.push(E) - } - } - return k - } - const runCompilers = (k) => { - if (L.length === 0) return k() - P.map( - getReadyCompilers(), - (k, E) => { - v(k, (v) => { - if (v) return E(v) - R.add(k.name) - runCompilers(E) - }) - }, - k - ) - } - runCompilers(E) - } - _runGraph(k, v, E) { - const R = this.compilers.map((k) => ({ - compiler: k, - setupResult: undefined, - result: undefined, - state: 'blocked', - children: [], - parents: [], - })) - const L = new Map() - for (const k of R) L.set(k.compiler.name, k) - for (const k of R) { - const v = this.dependencies.get(k.compiler) - if (!v) continue - for (const E of v) { - const v = L.get(E) - k.parents.push(v) - v.children.push(k) - } - } - const N = new le() - for (const k of R) { - if (k.parents.length === 0) { - k.state = 'queued' - N.enqueue(k) - } - } - let ae = false - let pe = 0 - const me = this._options.parallelism - const nodeDone = (k, v, L) => { - if (ae) return - if (v) { - ae = true - return P.each( - R, - (k, v) => { - if (k.compiler.watching) { - k.compiler.watching.close(v) - } else { - v() - } - }, - () => E(v) - ) - } - k.result = L - pe-- - if (k.state === 'running') { - k.state = 'done' - for (const v of k.children) { - if (v.state === 'blocked') N.enqueue(v) - } - } else if (k.state === 'running-outdated') { - k.state = 'blocked' - N.enqueue(k) - } - processQueue() - } - const nodeInvalidFromParent = (k) => { - if (k.state === 'done') { - k.state = 'blocked' - } else if (k.state === 'running') { - k.state = 'running-outdated' - } - for (const v of k.children) { - nodeInvalidFromParent(v) - } - } - const nodeInvalid = (k) => { - if (k.state === 'done') { - k.state = 'pending' - } else if (k.state === 'running') { - k.state = 'running-outdated' - } - for (const v of k.children) { - nodeInvalidFromParent(v) - } - } - const nodeChange = (k) => { - nodeInvalid(k) - if (k.state === 'pending') { - k.state = 'blocked' - } - if (k.state === 'blocked') { - N.enqueue(k) - processQueue() - } - } - const ye = [] - R.forEach((v, E) => { - ye.push( - (v.setupResult = k( - v.compiler, - E, - nodeDone.bind(null, v), - () => v.state !== 'starting' && v.state !== 'running', - () => nodeChange(v), - () => nodeInvalid(v) - )) - ) - }) - let _e = true - const processQueue = () => { - if (_e) return - _e = true - process.nextTick(processQueueWorker) - } - const processQueueWorker = () => { - while (pe < me && N.length > 0 && !ae) { - const k = N.dequeue() - if ( - k.state === 'queued' || - (k.state === 'blocked' && - k.parents.every((k) => k.state === 'done')) - ) { - pe++ - k.state = 'starting' - v(k.compiler, k.setupResult, nodeDone.bind(null, k)) - k.state = 'running' - } - } - _e = false - if (!ae && pe === 0 && R.every((k) => k.state === 'done')) { - const k = [] - for (const v of R) { - const E = v.result - if (E) { - v.result = undefined - k.push(E) - } - } - if (k.length > 0) { - E(null, new q(k)) - } - } - } - processQueueWorker() - return ye - } - watch(k, v) { - if (this.running) { - return v(new N()) - } - this.running = true - if (this.validateDependencies(v)) { - const E = this._runGraph( - (v, E, P, R, L, N) => { - const q = v.watch(Array.isArray(k) ? k[E] : k, P) - if (q) { - q._onInvalid = N - q._onChange = L - q._isBlocked = R - } - return q - }, - (k, v, E) => { - if (k.watching !== v) return - if (!v.running) v.invalidate() - }, - v - ) - return new ae(E, this) - } - return new ae([], this) - } - run(k) { - if (this.running) { - return k(new N()) - } - this.running = true - if (this.validateDependencies(k)) { - this._runGraph( - () => {}, - (k, v, E) => k.run(E), - (v, E) => { - this.running = false - if (k !== undefined) { - return k(v, E) - } - } - ) - } - } - purgeInputFileSystem() { - for (const k of this.compilers) { - if (k.inputFileSystem && k.inputFileSystem.purge) { - k.inputFileSystem.purge() - } - } - } - close(k) { - P.each( - this.compilers, - (k, v) => { - k.close(v) - }, - k - ) - } - } - }, - 14976: function (k, v, E) { - 'use strict' - const P = E(65315) - const indent = (k, v) => { - const E = k.replace(/\n([^\n])/g, '\n' + v + '$1') - return v + E - } - class MultiStats { - constructor(k) { - this.stats = k - } - get hash() { - return this.stats.map((k) => k.hash).join('') - } - hasErrors() { - return this.stats.some((k) => k.hasErrors()) - } - hasWarnings() { - return this.stats.some((k) => k.hasWarnings()) - } - _createChildOptions(k, v) { - if (!k) { - k = {} - } - const { children: E = undefined, ...P } = - typeof k === 'string' ? { preset: k } : k - const R = this.stats.map((k, R) => { - const L = Array.isArray(E) ? E[R] : E - return k.compilation.createStatsOptions( - { - ...P, - ...(typeof L === 'string' - ? { preset: L } - : L && typeof L === 'object' - ? L - : undefined), - }, - v - ) - }) - return { - version: R.every((k) => k.version), - hash: R.every((k) => k.hash), - errorsCount: R.every((k) => k.errorsCount), - warningsCount: R.every((k) => k.warningsCount), - errors: R.every((k) => k.errors), - warnings: R.every((k) => k.warnings), - children: R, - } - } - toJson(k) { - k = this._createChildOptions(k, { forToString: false }) - const v = {} - v.children = this.stats.map((v, E) => { - const R = v.toJson(k.children[E]) - const L = v.compilation.name - const N = - L && - P.makePathsRelative(k.context, L, v.compilation.compiler.root) - R.name = N - return R - }) - if (k.version) { - v.version = v.children[0].version - } - if (k.hash) { - v.hash = v.children.map((k) => k.hash).join('') - } - const mapError = (k, v) => ({ - ...v, - compilerPath: v.compilerPath - ? `${k.name}.${v.compilerPath}` - : k.name, - }) - if (k.errors) { - v.errors = [] - for (const k of v.children) { - for (const E of k.errors) { - v.errors.push(mapError(k, E)) - } - } - } - if (k.warnings) { - v.warnings = [] - for (const k of v.children) { - for (const E of k.warnings) { - v.warnings.push(mapError(k, E)) - } - } - } - if (k.errorsCount) { - v.errorsCount = 0 - for (const k of v.children) { - v.errorsCount += k.errorsCount - } - } - if (k.warningsCount) { - v.warningsCount = 0 - for (const k of v.children) { - v.warningsCount += k.warningsCount - } - } - return v - } - toString(k) { - k = this._createChildOptions(k, { forToString: true }) - const v = this.stats.map((v, E) => { - const R = v.toString(k.children[E]) - const L = v.compilation.name - const N = - L && - P.makePathsRelative( - k.context, - L, - v.compilation.compiler.root - ).replace(/\|/g, ' ') - if (!R) return R - return N ? `${N}:\n${indent(R, ' ')}` : R - }) - return v.filter(Boolean).join('\n\n') - } - } - k.exports = MultiStats - }, - 73463: function (k, v, E) { - 'use strict' - const P = E(78175) - class MultiWatching { - constructor(k, v) { - this.watchings = k - this.compiler = v - } - invalidate(k) { - if (k) { - P.each(this.watchings, (k, v) => k.invalidate(v), k) - } else { - for (const k of this.watchings) { - k.invalidate() - } - } - } - suspend() { - for (const k of this.watchings) { - k.suspend() - } - } - resume() { - for (const k of this.watchings) { - k.resume() - } - } - close(k) { - P.forEach( - this.watchings, - (k, v) => { - k.close(v) - }, - (v) => { - this.compiler.hooks.watchClose.call() - if (typeof k === 'function') { - this.compiler.running = false - k(v) - } - } - ) - } - } - k.exports = MultiWatching - }, - 75018: function (k) { - 'use strict' - class NoEmitOnErrorsPlugin { - apply(k) { - k.hooks.shouldEmit.tap('NoEmitOnErrorsPlugin', (k) => { - if (k.getStats().hasErrors()) return false - }) - k.hooks.compilation.tap('NoEmitOnErrorsPlugin', (k) => { - k.hooks.shouldRecord.tap('NoEmitOnErrorsPlugin', () => { - if (k.getStats().hasErrors()) return false - }) - }) - } - } - k.exports = NoEmitOnErrorsPlugin - }, - 2940: function (k, v, E) { - 'use strict' - const P = E(71572) - k.exports = class NoModeWarning extends P { - constructor() { - super() - this.name = 'NoModeWarning' - this.message = - 'configuration\n' + - "The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n" + - "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/' - } - } - }, - 86770: function (k, v, E) { - 'use strict' - const P = E(71572) - const R = E(58528) - class NodeStuffInWebError extends P { - constructor(k, v, E) { - super( - `${JSON.stringify( - v - )} has been used, it will be undefined in next major version.\n${E}` - ) - this.name = 'NodeStuffInWebError' - this.loc = k - } - } - R(NodeStuffInWebError, 'webpack/lib/NodeStuffInWebError') - k.exports = NodeStuffInWebError - }, - 12661: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, - } = E(93622) - const L = E(86770) - const N = E(56727) - const q = E(11602) - const ae = E(60381) - const { evaluateToString: le, expressionIsUnsupported: pe } = E(80784) - const { relative: me } = E(57825) - const { parseResource: ye } = E(65315) - const _e = 'NodeStuffPlugin' - class NodeStuffPlugin { - constructor(k) { - this.options = k - } - apply(k) { - const v = this.options - k.hooks.compilation.tap(_e, (E, { normalModuleFactory: Ie }) => { - const handler = (E, P) => { - if (P.node === false) return - let R = v - if (P.node) { - R = { ...R, ...P.node } - } - if (R.global !== false) { - const k = R.global === 'warn' - E.hooks.expression.for('global').tap(_e, (v) => { - const P = new ae(N.global, v.range, [N.global]) - P.loc = v.loc - E.state.module.addPresentationalDependency(P) - if (k) { - E.state.module.addWarning( - new L( - P.loc, - 'global', - "The global namespace object is a Node.js feature and isn't available in browsers." - ) - ) - } - }) - E.hooks.rename.for('global').tap(_e, (k) => { - const v = new ae(N.global, k.range, [N.global]) - v.loc = k.loc - E.state.module.addPresentationalDependency(v) - return false - }) - } - const setModuleConstant = (k, v, P) => { - E.hooks.expression.for(k).tap(_e, (R) => { - const N = new q(JSON.stringify(v(E.state.module)), R.range, k) - N.loc = R.loc - E.state.module.addPresentationalDependency(N) - if (P) { - E.state.module.addWarning(new L(N.loc, k, P)) - } - return true - }) - } - const setConstant = (k, v, E) => setModuleConstant(k, () => v, E) - const Ie = k.context - if (R.__filename) { - switch (R.__filename) { - case 'mock': - setConstant('__filename', '/index.js') - break - case 'warn-mock': - setConstant( - '__filename', - '/index.js', - "__filename is a Node.js feature and isn't available in browsers." - ) - break - case true: - setModuleConstant('__filename', (v) => - me(k.inputFileSystem, Ie, v.resource) - ) - break - } - E.hooks.evaluateIdentifier.for('__filename').tap(_e, (k) => { - if (!E.state.module) return - const v = ye(E.state.module.resource) - return le(v.path)(k) - }) - } - if (R.__dirname) { - switch (R.__dirname) { - case 'mock': - setConstant('__dirname', '/') - break - case 'warn-mock': - setConstant( - '__dirname', - '/', - "__dirname is a Node.js feature and isn't available in browsers." - ) - break - case true: - setModuleConstant('__dirname', (v) => - me(k.inputFileSystem, Ie, v.context) - ) - break - } - E.hooks.evaluateIdentifier.for('__dirname').tap(_e, (k) => { - if (!E.state.module) return - return le(E.state.module.context)(k) - }) - } - E.hooks.expression - .for('require.extensions') - .tap( - _e, - pe( - E, - 'require.extensions is not supported by webpack. Use a loader instead.' - ) - ) - } - Ie.hooks.parser.for(P).tap(_e, handler) - Ie.hooks.parser.for(R).tap(_e, handler) - }) - } - } - k.exports = NodeStuffPlugin - }, - 38224: function (k, v, E) { - 'use strict' - const P = E(54650) - const { getContext: R, runLoaders: L } = E(22955) - const N = E(63477) - const { HookMap: q, SyncHook: ae, AsyncSeriesBailHook: le } = E(79846) - const { - CachedSource: pe, - OriginalSource: me, - RawSource: ye, - SourceMapSource: _e, - } = E(51255) - const Ie = E(27747) - const Me = E(82104) - const Te = E(88396) - const je = E(23804) - const Ne = E(47560) - const Be = E(86267) - const qe = E(63591) - const { JAVASCRIPT_MODULE_TYPE_AUTO: Ue } = E(93622) - const Ge = E(95801) - const He = E(56727) - const We = E(57975) - const Qe = E(71572) - const Je = E(1811) - const Ve = E(12359) - const { isSubset: Ke } = E(59959) - const { getScheme: Ye } = E(78296) - const { - compareLocations: Xe, - concatComparators: Ze, - compareSelect: et, - keepOriginalOrder: tt, - } = E(95648) - const nt = E(74012) - const { createFakeHook: st } = E(61883) - const { join: rt } = E(57825) - const { contextify: ot, absolutify: it, makePathsRelative: at } = E(65315) - const ct = E(58528) - const lt = E(20631) - const ut = lt(() => E(44017)) - const pt = lt(() => E(38476).validate) - const dt = /^([a-zA-Z]:\\|\\\\|\/)/ - const contextifySourceUrl = (k, v, E) => { - if (v.startsWith('webpack://')) return v - return `webpack://${at(k, v, E)}` - } - const contextifySourceMap = (k, v, E) => { - if (!Array.isArray(v.sources)) return v - const { sourceRoot: P } = v - const R = !P - ? (k) => k - : P.endsWith('/') - ? (k) => (k.startsWith('/') ? `${P.slice(0, -1)}${k}` : `${P}${k}`) - : (k) => (k.startsWith('/') ? `${P}${k}` : `${P}/${k}`) - const L = v.sources.map((v) => contextifySourceUrl(k, R(v), E)) - return { ...v, file: 'x', sourceRoot: undefined, sources: L } - } - const asString = (k) => { - if (Buffer.isBuffer(k)) { - return k.toString('utf-8') - } - return k - } - const asBuffer = (k) => { - if (!Buffer.isBuffer(k)) { - return Buffer.from(k, 'utf-8') - } - return k - } - class NonErrorEmittedError extends Qe { - constructor(k) { - super() - this.name = 'NonErrorEmittedError' - this.message = '(Emitted value instead of an instance of Error) ' + k - } - } - ct( - NonErrorEmittedError, - 'webpack/lib/NormalModule', - 'NonErrorEmittedError' - ) - const ft = new WeakMap() - class NormalModule extends Te { - static getCompilationHooks(k) { - if (!(k instanceof Ie)) { - throw new TypeError( - "The 'compilation' argument must be an instance of Compilation" - ) - } - let v = ft.get(k) - if (v === undefined) { - v = { - loader: new ae(['loaderContext', 'module']), - beforeLoaders: new ae(['loaders', 'module', 'loaderContext']), - beforeParse: new ae(['module']), - beforeSnapshot: new ae(['module']), - readResourceForScheme: new q((k) => { - const E = v.readResource.for(k) - return st({ - tap: (k, v) => E.tap(k, (k) => v(k.resource, k._module)), - tapAsync: (k, v) => - E.tapAsync(k, (k, E) => v(k.resource, k._module, E)), - tapPromise: (k, v) => - E.tapPromise(k, (k) => v(k.resource, k._module)), - }) - }), - readResource: new q(() => new le(['loaderContext'])), - needBuild: new le(['module', 'context']), - } - ft.set(k, v) - } - return v - } - constructor({ - layer: k, - type: v, - request: E, - userRequest: P, - rawRequest: L, - loaders: N, - resource: q, - resourceResolveData: ae, - context: le, - matchResource: pe, - parser: me, - parserOptions: ye, - generator: _e, - generatorOptions: Ie, - resolveOptions: Me, - }) { - super(v, le || R(q), k) - this.request = E - this.userRequest = P - this.rawRequest = L - this.binary = /^(asset|webassembly)\b/.test(v) - this.parser = me - this.parserOptions = ye - this.generator = _e - this.generatorOptions = Ie - this.resource = q - this.resourceResolveData = ae - this.matchResource = pe - this.loaders = N - if (Me !== undefined) { - this.resolveOptions = Me - } - this.error = null - this._source = null - this._sourceSizes = undefined - this._sourceTypes = undefined - this._lastSuccessfulBuildMeta = {} - this._forceBuild = true - this._isEvaluatingSideEffects = false - this._addedSideEffectsBailout = undefined - this._codeGeneratorData = new Map() - } - identifier() { - if (this.layer === null) { - if (this.type === Ue) { - return this.request - } else { - return `${this.type}|${this.request}` - } - } else { - return `${this.type}|${this.request}|${this.layer}` - } - } - readableIdentifier(k) { - return k.shorten(this.userRequest) - } - libIdent(k) { - let v = ot(k.context, this.userRequest, k.associatedObjectForCache) - if (this.layer) v = `(${this.layer})/${v}` - return v - } - nameForCondition() { - const k = this.matchResource || this.resource - const v = k.indexOf('?') - if (v >= 0) return k.slice(0, v) - return k - } - updateCacheModule(k) { - super.updateCacheModule(k) - const v = k - this.binary = v.binary - this.request = v.request - this.userRequest = v.userRequest - this.rawRequest = v.rawRequest - this.parser = v.parser - this.parserOptions = v.parserOptions - this.generator = v.generator - this.generatorOptions = v.generatorOptions - this.resource = v.resource - this.resourceResolveData = v.resourceResolveData - this.context = v.context - this.matchResource = v.matchResource - this.loaders = v.loaders - } - cleanupForCache() { - if (this.buildInfo) { - if (this._sourceTypes === undefined) this.getSourceTypes() - for (const k of this._sourceTypes) { - this.size(k) - } - } - super.cleanupForCache() - this.parser = undefined - this.parserOptions = undefined - this.generator = undefined - this.generatorOptions = undefined - } - getUnsafeCacheData() { - const k = super.getUnsafeCacheData() - k.parserOptions = this.parserOptions - k.generatorOptions = this.generatorOptions - return k - } - restoreFromUnsafeCache(k, v) { - this._restoreFromUnsafeCache(k, v) - } - _restoreFromUnsafeCache(k, v) { - super._restoreFromUnsafeCache(k, v) - this.parserOptions = k.parserOptions - this.parser = v.getParser(this.type, this.parserOptions) - this.generatorOptions = k.generatorOptions - this.generator = v.getGenerator(this.type, this.generatorOptions) - } - createSourceForAsset(k, v, E, P, R) { - if (P) { - if ( - typeof P === 'string' && - (this.useSourceMap || this.useSimpleSourceMap) - ) { - return new me(E, contextifySourceUrl(k, P, R)) - } - if (this.useSourceMap) { - return new _e(E, v, contextifySourceMap(k, P, R)) - } - } - return new ye(E) - } - _createLoaderContext(k, v, E, R, L) { - const { requestShortener: q } = E.runtimeTemplate - const getCurrentLoaderName = () => { - const k = this.getCurrentLoader(_e) - if (!k) return '(not in loader scope)' - return q.shorten(k.loader) - } - const getResolveContext = () => ({ - fileDependencies: { add: (k) => _e.addDependency(k) }, - contextDependencies: { add: (k) => _e.addContextDependency(k) }, - missingDependencies: { add: (k) => _e.addMissingDependency(k) }, - }) - const ae = lt(() => it.bindCache(E.compiler.root)) - const le = lt(() => - it.bindContextCache(this.context, E.compiler.root) - ) - const pe = lt(() => ot.bindCache(E.compiler.root)) - const me = lt(() => - ot.bindContextCache(this.context, E.compiler.root) - ) - const ye = { - absolutify: (k, v) => (k === this.context ? le()(v) : ae()(k, v)), - contextify: (k, v) => (k === this.context ? me()(v) : pe()(k, v)), - createHash: (k) => nt(k || E.outputOptions.hashFunction), - } - const _e = { - version: 2, - getOptions: (k) => { - const v = this.getCurrentLoader(_e) - let { options: E } = v - if (typeof E === 'string') { - if (E.startsWith('{') && E.endsWith('}')) { - try { - E = P(E) - } catch (k) { - throw new Error(`Cannot parse string options: ${k.message}`) - } - } else { - E = N.parse(E, '&', '=', { maxKeys: 0 }) - } - } - if (E === null || E === undefined) { - E = {} - } - if (k) { - let v = 'Loader' - let P = 'options' - let R - if (k.title && (R = /^(.+) (.+)$/.exec(k.title))) { - ;[, v, P] = R - } - pt()(k, E, { name: v, baseDataPath: P }) - } - return E - }, - emitWarning: (k) => { - if (!(k instanceof Error)) { - k = new NonErrorEmittedError(k) - } - this.addWarning(new Ge(k, { from: getCurrentLoaderName() })) - }, - emitError: (k) => { - if (!(k instanceof Error)) { - k = new NonErrorEmittedError(k) - } - this.addError(new Ne(k, { from: getCurrentLoaderName() })) - }, - getLogger: (k) => { - const v = this.getCurrentLoader(_e) - return E.getLogger(() => - [v && v.loader, k, this.identifier()].filter(Boolean).join('|') - ) - }, - resolve(v, E, P) { - k.resolve({}, v, E, getResolveContext(), P) - }, - getResolve(v) { - const E = v ? k.withOptions(v) : k - return (k, v, P) => { - if (P) { - E.resolve({}, k, v, getResolveContext(), P) - } else { - return new Promise((P, R) => { - E.resolve({}, k, v, getResolveContext(), (k, v) => { - if (k) R(k) - else P(v) - }) - }) - } - } - }, - emitFile: (k, P, R, L) => { - if (!this.buildInfo.assets) { - this.buildInfo.assets = Object.create(null) - this.buildInfo.assetsInfo = new Map() - } - this.buildInfo.assets[k] = this.createSourceForAsset( - v.context, - k, - P, - R, - E.compiler.root - ) - this.buildInfo.assetsInfo.set(k, L) - }, - addBuildDependency: (k) => { - if (this.buildInfo.buildDependencies === undefined) { - this.buildInfo.buildDependencies = new Ve() - } - this.buildInfo.buildDependencies.add(k) - }, - utils: ye, - rootContext: v.context, - webpack: true, - sourceMap: !!this.useSourceMap, - mode: v.mode || 'production', - _module: this, - _compilation: E, - _compiler: E.compiler, - fs: R, - } - Object.assign(_e, v.loader) - L.loader.call(_e, this) - return _e - } - getCurrentLoader(k, v = k.loaderIndex) { - if ( - this.loaders && - this.loaders.length && - v < this.loaders.length && - v >= 0 && - this.loaders[v] - ) { - return this.loaders[v] - } - return null - } - createSource(k, v, E, P) { - if (Buffer.isBuffer(v)) { - return new ye(v) - } - if (!this.identifier) { - return new ye(v) - } - const R = this.identifier() - if (this.useSourceMap && E) { - return new _e( - v, - contextifySourceUrl(k, R, P), - contextifySourceMap(k, E, P) - ) - } - if (this.useSourceMap || this.useSimpleSourceMap) { - return new me(v, contextifySourceUrl(k, R, P)) - } - return new ye(v) - } - _doBuild(k, v, E, P, R, N) { - const q = this._createLoaderContext(E, k, v, P, R) - const processResult = (E, P) => { - if (E) { - if (!(E instanceof Error)) { - E = new NonErrorEmittedError(E) - } - const k = this.getCurrentLoader(q) - const P = new je(E, { - from: k && v.runtimeTemplate.requestShortener.shorten(k.loader), - }) - return N(P) - } - const R = P[0] - const L = P.length >= 1 ? P[1] : null - const ae = P.length >= 2 ? P[2] : null - if (!Buffer.isBuffer(R) && typeof R !== 'string') { - const k = this.getCurrentLoader(q, 0) - const E = new Error( - `Final loader (${ - k - ? v.runtimeTemplate.requestShortener.shorten(k.loader) - : 'unknown' - }) didn't return a Buffer or String` - ) - const P = new je(E) - return N(P) - } - this._source = this.createSource( - k.context, - this.binary ? asBuffer(R) : asString(R), - L, - v.compiler.root - ) - if (this._sourceSizes !== undefined) this._sourceSizes.clear() - this._ast = - typeof ae === 'object' && - ae !== null && - ae.webpackAST !== undefined - ? ae.webpackAST - : null - return N() - } - this.buildInfo.fileDependencies = new Ve() - this.buildInfo.contextDependencies = new Ve() - this.buildInfo.missingDependencies = new Ve() - this.buildInfo.cacheable = true - try { - R.beforeLoaders.call(this.loaders, this, q) - } catch (k) { - processResult(k) - return - } - if (this.loaders.length > 0) { - this.buildInfo.buildDependencies = new Ve() - } - L( - { - resource: this.resource, - loaders: this.loaders, - context: q, - processResource: (k, v, E) => { - const P = k.resource - const L = Ye(P) - R.readResource.for(L).callAsync(k, (k, v) => { - if (k) return E(k) - if (typeof v !== 'string' && !v) { - return E(new We(L, P)) - } - return E(null, v) - }) - }, - }, - (k, v) => { - q._compilation = q._compiler = q._module = q.fs = undefined - if (!v) { - this.buildInfo.cacheable = false - return processResult( - k || new Error('No result from loader-runner processing'), - null - ) - } - this.buildInfo.fileDependencies.addAll(v.fileDependencies) - this.buildInfo.contextDependencies.addAll(v.contextDependencies) - this.buildInfo.missingDependencies.addAll(v.missingDependencies) - for (const k of this.loaders) { - this.buildInfo.buildDependencies.add(k.loader) - } - this.buildInfo.cacheable = this.buildInfo.cacheable && v.cacheable - processResult(k, v.result) - } - ) - } - markModuleAsErrored(k) { - this.buildMeta = { ...this._lastSuccessfulBuildMeta } - this.error = k - this.addError(k) - } - applyNoParseRule(k, v) { - if (typeof k === 'string') { - return v.startsWith(k) - } - if (typeof k === 'function') { - return k(v) - } - return k.test(v) - } - shouldPreventParsing(k, v) { - if (!k) { - return false - } - if (!Array.isArray(k)) { - return this.applyNoParseRule(k, v) - } - for (let E = 0; E < k.length; E++) { - const P = k[E] - if (this.applyNoParseRule(P, v)) { - return true - } - } - return false - } - _initBuildHash(k) { - const v = nt(k.outputOptions.hashFunction) - if (this._source) { - v.update('source') - this._source.updateHash(v) - } - v.update('meta') - v.update(JSON.stringify(this.buildMeta)) - this.buildInfo.hash = v.digest('hex') - } - build(k, v, E, P, R) { - this._forceBuild = false - this._source = null - if (this._sourceSizes !== undefined) this._sourceSizes.clear() - this._sourceTypes = undefined - this._ast = null - this.error = null - this.clearWarningsAndErrors() - this.clearDependenciesAndBlocks() - this.buildMeta = {} - this.buildInfo = { - cacheable: false, - parsed: true, - fileDependencies: undefined, - contextDependencies: undefined, - missingDependencies: undefined, - buildDependencies: undefined, - valueDependencies: undefined, - hash: undefined, - assets: undefined, - assetsInfo: undefined, - } - const L = v.compiler.fsStartTime || Date.now() - const N = NormalModule.getCompilationHooks(v) - return this._doBuild(k, v, E, P, N, (E) => { - if (E) { - this.markModuleAsErrored(E) - this._initBuildHash(v) - return R() - } - const handleParseError = (E) => { - const P = this._source.source() - const L = this.loaders.map((E) => - ot(k.context, E.loader, v.compiler.root) - ) - const N = new qe(P, E, L, this.type) - this.markModuleAsErrored(N) - this._initBuildHash(v) - return R() - } - const handleParseResult = (k) => { - this.dependencies.sort( - Ze( - et((k) => k.loc, Xe), - tt(this.dependencies) - ) - ) - this._initBuildHash(v) - this._lastSuccessfulBuildMeta = this.buildMeta - return handleBuildDone() - } - const handleBuildDone = () => { - try { - N.beforeSnapshot.call(this) - } catch (k) { - this.markModuleAsErrored(k) - return R() - } - const k = v.options.snapshot.module - if (!this.buildInfo.cacheable || !k) { - return R() - } - let E = undefined - const checkDependencies = (k) => { - for (const P of k) { - if (!dt.test(P)) { - if (E === undefined) E = new Set() - E.add(P) - k.delete(P) - try { - const E = P.replace(/[\\/]?\*.*$/, '') - const R = rt(v.fileSystemInfo.fs, this.context, E) - if (R !== P && dt.test(R)) { - ;(E !== P ? this.buildInfo.contextDependencies : k).add( - R - ) - } - } catch (k) {} - } - } - } - checkDependencies(this.buildInfo.fileDependencies) - checkDependencies(this.buildInfo.missingDependencies) - checkDependencies(this.buildInfo.contextDependencies) - if (E !== undefined) { - const k = ut() - this.addWarning(new k(this, E)) - } - v.fileSystemInfo.createSnapshot( - L, - this.buildInfo.fileDependencies, - this.buildInfo.contextDependencies, - this.buildInfo.missingDependencies, - k, - (k, v) => { - if (k) { - this.markModuleAsErrored(k) - return - } - this.buildInfo.fileDependencies = undefined - this.buildInfo.contextDependencies = undefined - this.buildInfo.missingDependencies = undefined - this.buildInfo.snapshot = v - return R() - } - ) - } - try { - N.beforeParse.call(this) - } catch (E) { - this.markModuleAsErrored(E) - this._initBuildHash(v) - return R() - } - const P = k.module && k.module.noParse - if (this.shouldPreventParsing(P, this.request)) { - this.buildInfo.parsed = false - this._initBuildHash(v) - return handleBuildDone() - } - let q - try { - const E = this._source.source() - q = this.parser.parse(this._ast || E, { - source: E, - current: this, - module: this, - compilation: v, - options: k, - }) - } catch (k) { - handleParseError(k) - return - } - handleParseResult(q) - }) - } - getConcatenationBailoutReason(k) { - return this.generator.getConcatenationBailoutReason(this, k) - } - getSideEffectsConnectionState(k) { - 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 Be.CIRCULAR_CONNECTION - this._isEvaluatingSideEffects = true - let v = false - for (const E of this.dependencies) { - const P = E.getModuleEvaluationSideEffectsState(k) - if (P === true) { - if ( - this._addedSideEffectsBailout === undefined - ? ((this._addedSideEffectsBailout = new WeakSet()), true) - : !this._addedSideEffectsBailout.has(k) - ) { - this._addedSideEffectsBailout.add(k) - k.getOptimizationBailout(this).push( - () => - `Dependency (${E.type}) with side effects at ${Je(E.loc)}` - ) - } - this._isEvaluatingSideEffects = false - return true - } else if (P !== Be.CIRCULAR_CONNECTION) { - v = Be.addConnectionStates(v, P) - } - } - this._isEvaluatingSideEffects = false - return v - } else { - return true - } - } - getSourceTypes() { - if (this._sourceTypes === undefined) { - this._sourceTypes = this.generator.getTypes(this) - } - return this._sourceTypes - } - codeGeneration({ - dependencyTemplates: k, - runtimeTemplate: v, - moduleGraph: E, - chunkGraph: P, - runtime: R, - concatenationScope: L, - codeGenerationResults: N, - sourceTypes: q, - }) { - const ae = new Set() - if (!this.buildInfo.parsed) { - ae.add(He.module) - ae.add(He.exports) - ae.add(He.thisAsExports) - } - const getData = () => this._codeGeneratorData - const le = new Map() - for (const me of q || P.getModuleSourceTypes(this)) { - const q = this.error - ? new ye( - 'throw new Error(' + JSON.stringify(this.error.message) + ');' - ) - : this.generator.generate(this, { - dependencyTemplates: k, - runtimeTemplate: v, - moduleGraph: E, - chunkGraph: P, - runtimeRequirements: ae, - runtime: R, - concatenationScope: L, - codeGenerationResults: N, - getData: getData, - type: me, - }) - if (q) { - le.set(me, new pe(q)) - } - } - const me = { - sources: le, - runtimeRequirements: ae, - data: this._codeGeneratorData, - } - return me - } - originalSource() { - return this._source - } - invalidateBuild() { - this._forceBuild = true - } - needBuild(k, v) { - const { fileSystemInfo: E, compilation: P, valueCacheVersions: R } = k - if (this._forceBuild) return v(null, true) - if (this.error) return v(null, true) - if (!this.buildInfo.cacheable) return v(null, true) - if (!this.buildInfo.snapshot) return v(null, true) - const L = this.buildInfo.valueDependencies - if (L) { - if (!R) return v(null, true) - for (const [k, E] of L) { - if (E === undefined) return v(null, true) - const P = R.get(k) - if ( - E !== P && - (typeof E === 'string' || - typeof P === 'string' || - P === undefined || - !Ke(E, P)) - ) { - return v(null, true) - } - } - } - E.checkSnapshotValid(this.buildInfo.snapshot, (E, R) => { - if (E) return v(E) - if (!R) return v(null, true) - const L = NormalModule.getCompilationHooks(P) - L.needBuild.callAsync(this, k, (k, E) => { - if (k) { - return v( - Me.makeWebpackError( - k, - 'NormalModule.getCompilationHooks().needBuild' - ) - ) - } - v(null, !!E) - }) - }) - } - size(k) { - const v = - this._sourceSizes === undefined - ? undefined - : this._sourceSizes.get(k) - if (v !== undefined) { - return v - } - const E = Math.max(1, this.generator.getSize(this, k)) - if (this._sourceSizes === undefined) { - this._sourceSizes = new Map() - } - this._sourceSizes.set(k, E) - return E - } - addCacheDependencies(k, v, E, P) { - const { snapshot: R, buildDependencies: L } = this.buildInfo - if (R) { - k.addAll(R.getFileIterable()) - v.addAll(R.getContextIterable()) - E.addAll(R.getMissingIterable()) - } else { - const { - fileDependencies: P, - contextDependencies: R, - missingDependencies: L, - } = this.buildInfo - if (P !== undefined) k.addAll(P) - if (R !== undefined) v.addAll(R) - if (L !== undefined) E.addAll(L) - } - if (L !== undefined) { - P.addAll(L) - } - } - updateHash(k, v) { - k.update(this.buildInfo.hash) - this.generator.updateHash(k, { module: this, ...v }) - super.updateHash(k, v) - } - serialize(k) { - const { write: v } = k - v(this._source) - v(this.error) - v(this._lastSuccessfulBuildMeta) - v(this._forceBuild) - v(this._codeGeneratorData) - super.serialize(k) - } - static deserialize(k) { - const v = new NormalModule({ - layer: null, - type: '', - resource: '', - context: '', - request: null, - userRequest: null, - rawRequest: null, - loaders: null, - matchResource: null, - parser: null, - parserOptions: null, - generator: null, - generatorOptions: null, - resolveOptions: null, - }) - v.deserialize(k) - return v - } - deserialize(k) { - const { read: v } = k - this._source = v() - this.error = v() - this._lastSuccessfulBuildMeta = v() - this._forceBuild = v() - this._codeGeneratorData = v() - super.deserialize(k) - } - } - ct(NormalModule, 'webpack/lib/NormalModule') - k.exports = NormalModule - }, - 14062: function (k, v, E) { - 'use strict' - const { getContext: P } = E(22955) - const R = E(78175) - const { - AsyncSeriesBailHook: L, - SyncWaterfallHook: N, - SyncBailHook: q, - SyncHook: ae, - HookMap: le, - } = E(79846) - const pe = E(38317) - const me = E(88396) - const ye = E(66043) - const _e = E(88223) - const { JAVASCRIPT_MODULE_TYPE_AUTO: Ie } = E(93622) - const Me = E(38224) - const Te = E(4345) - const je = E(559) - const Ne = E(73799) - const Be = E(87536) - const qe = E(53998) - const Ue = E(12359) - const { getScheme: Ge } = E(78296) - const { cachedCleverMerge: He, cachedSetProperty: We } = E(99454) - const { join: Qe } = E(57825) - const { parseResource: Je, parseResourceWithoutFragment: Ve } = E(65315) - const Ke = {} - const Ye = {} - const Xe = {} - const Ze = [] - const et = /^([^!]+)!=!/ - const tt = /^[^.]/ - const loaderToIdent = (k) => { - if (!k.options) { - return k.loader - } - if (typeof k.options === 'string') { - return k.loader + '?' + k.options - } - if (typeof k.options !== 'object') { - throw new Error('loader options must be string or object') - } - if (k.ident) { - return k.loader + '??' + k.ident - } - return k.loader + '?' + JSON.stringify(k.options) - } - const stringifyLoadersAndResource = (k, v) => { - let E = '' - for (const v of k) { - E += loaderToIdent(v) + '!' - } - return E + v - } - const needCalls = (k, v) => (E) => { - if (--k === 0) { - return v(E) - } - if (E && k > 0) { - k = NaN - return v(E) - } - } - const mergeGlobalOptions = (k, v, E) => { - const P = v.split('/') - let R - let L = '' - for (const v of P) { - L = L ? `${L}/${v}` : v - const E = k[L] - if (typeof E === 'object') { - if (R === undefined) { - R = E - } else { - R = He(R, E) - } - } - } - if (R === undefined) { - return E - } else { - return He(R, E) - } - } - const deprecationChangedHookMessage = (k, v) => { - const E = v.taps.map((k) => k.name).join(', ') - return ( - `NormalModuleFactory.${k} (${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 nt = new Be([ - new je('test', 'resource'), - new je('scheme'), - new je('mimetype'), - new je('dependency'), - new je('include', 'resource'), - new je('exclude', 'resource', true), - new je('resource'), - new je('resourceQuery'), - new je('resourceFragment'), - new je('realResource'), - new je('issuer'), - new je('compiler'), - new je('issuerLayer'), - new Ne('assert', 'assertions'), - new Ne('descriptionData'), - new Te('type'), - new Te('sideEffects'), - new Te('parser'), - new Te('resolve'), - new Te('generator'), - new Te('layer'), - new qe(), - ]) - class NormalModuleFactory extends ye { - constructor({ - context: k, - fs: v, - resolverFactory: E, - options: R, - associatedObjectForCache: pe, - layers: ye = false, - }) { - super() - this.hooks = Object.freeze({ - resolve: new L(['resolveData']), - resolveForScheme: new le( - () => new L(['resourceData', 'resolveData']) - ), - resolveInScheme: new le( - () => new L(['resourceData', 'resolveData']) - ), - factorize: new L(['resolveData']), - beforeResolve: new L(['resolveData']), - afterResolve: new L(['resolveData']), - createModule: new L(['createData', 'resolveData']), - module: new N(['module', 'createData', 'resolveData']), - createParser: new le(() => new q(['parserOptions'])), - parser: new le(() => new ae(['parser', 'parserOptions'])), - createGenerator: new le(() => new q(['generatorOptions'])), - generator: new le(() => new ae(['generator', 'generatorOptions'])), - createModuleClass: new le( - () => new q(['createData', 'resolveData']) - ), - }) - this.resolverFactory = E - this.ruleSet = nt.compile([ - { rules: R.defaultRules }, - { rules: R.rules }, - ]) - this.context = k || '' - this.fs = v - this._globalParserOptions = R.parser - this._globalGeneratorOptions = R.generator - this.parserCache = new Map() - this.generatorCache = new Map() - this._restoredUnsafeCacheEntries = new Set() - const _e = Je.bindCache(pe) - const Te = Ve.bindCache(pe) - this._parseResourceWithoutFragment = Te - this.hooks.factorize.tapAsync( - { name: 'NormalModuleFactory', stage: 100 }, - (k, v) => { - this.hooks.resolve.callAsync(k, (E, P) => { - if (E) return v(E) - if (P === false) return v() - if (P instanceof me) return v(null, P) - if (typeof P === 'object') - throw new Error( - deprecationChangedHookMessage( - 'resolve', - this.hooks.resolve - ) + - ' Returning a Module object will result in this module used as result.' - ) - this.hooks.afterResolve.callAsync(k, (E, P) => { - if (E) return v(E) - if (typeof P === 'object') - throw new Error( - deprecationChangedHookMessage( - 'afterResolve', - this.hooks.afterResolve - ) - ) - if (P === false) return v() - const R = k.createData - this.hooks.createModule.callAsync(R, k, (E, P) => { - if (!P) { - if (!k.request) { - return v(new Error('Empty dependency (no request)')) - } - P = this.hooks.createModuleClass - .for(R.settings.type) - .call(R, k) - if (!P) { - P = new Me(R) - } - } - P = this.hooks.module.call(P, R, k) - return v(null, P) - }) - }) - }) - } - ) - this.hooks.resolve.tapAsync( - { name: 'NormalModuleFactory', stage: 100 }, - (k, v) => { - const { - contextInfo: E, - context: R, - dependencies: L, - dependencyType: N, - request: q, - assertions: ae, - resolveOptions: le, - fileDependencies: pe, - missingDependencies: me, - contextDependencies: Me, - } = k - const je = this.getResolver('loader') - let Ne = undefined - let Be - let qe - let Ue = false - let Je = false - let Ve = false - const Ye = Ge(R) - let Xe = Ge(q) - if (!Xe) { - let k = q - const v = et.exec(q) - if (v) { - let E = v[1] - if (E.charCodeAt(0) === 46) { - const k = E.charCodeAt(1) - if (k === 47 || (k === 46 && E.charCodeAt(2) === 47)) { - E = Qe(this.fs, R, E) - } - } - Ne = { resource: E, ..._e(E) } - k = q.slice(v[0].length) - } - Xe = Ge(k) - if (!Xe && !Ye) { - const v = k.charCodeAt(0) - const E = k.charCodeAt(1) - Ue = v === 45 && E === 33 - Je = Ue || v === 33 - Ve = v === 33 && E === 33 - const P = k.slice(Ue || Ve ? 2 : Je ? 1 : 0).split(/!+/) - Be = P.pop() - qe = P.map((k) => { - const { path: v, query: E } = Te(k) - return { loader: v, options: E ? E.slice(1) : undefined } - }) - Xe = Ge(Be) - } else { - Be = k - qe = Ze - } - } else { - Be = q - qe = Ze - } - const tt = { - fileDependencies: pe, - missingDependencies: me, - contextDependencies: Me, - } - let nt - let st - const rt = needCalls(2, (le) => { - if (le) return v(le) - try { - for (const k of st) { - if (typeof k.options === 'string' && k.options[0] === '?') { - const v = k.options.slice(1) - if (v === '[[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." - ) - } - k.options = this.ruleSet.references.get(v) - if (k.options === undefined) { - throw new Error( - 'Invalid ident is provided by referenced loader' - ) - } - k.ident = v - } - } - } catch (k) { - return v(k) - } - if (!nt) { - return v(null, L[0].createIgnoredModule(R)) - } - const pe = - (Ne !== undefined ? `${Ne.resource}!=!` : '') + - stringifyLoadersAndResource(st, nt.resource) - const me = {} - const _e = [] - const Me = [] - const Te = [] - let Be - let qe - if ( - Ne && - typeof (Be = Ne.resource) === 'string' && - (qe = /\.webpack\[([^\]]+)\]$/.exec(Be)) - ) { - me.type = qe[1] - Ne.resource = Ne.resource.slice(0, -me.type.length - 10) - } else { - me.type = Ie - const k = Ne || nt - const v = this.ruleSet.exec({ - resource: k.path, - realResource: nt.path, - resourceQuery: k.query, - resourceFragment: k.fragment, - scheme: Xe, - assertions: ae, - mimetype: Ne ? '' : nt.data.mimetype || '', - dependency: N, - descriptionData: Ne - ? undefined - : nt.data.descriptionFileData, - issuer: E.issuer, - compiler: E.compiler, - issuerLayer: E.issuerLayer || '', - }) - for (const k of v) { - if (k.type === 'type' && Ve) { - continue - } - if (k.type === 'use') { - if (!Je && !Ve) { - Me.push(k.value) - } - } else if (k.type === 'use-post') { - if (!Ve) { - _e.push(k.value) - } - } else if (k.type === 'use-pre') { - if (!Ue && !Ve) { - Te.push(k.value) - } - } else if ( - typeof k.value === 'object' && - k.value !== null && - typeof me[k.type] === 'object' && - me[k.type] !== null - ) { - me[k.type] = He(me[k.type], k.value) - } else { - me[k.type] = k.value - } - } - } - let Ge, We, Qe - const Ke = needCalls(3, (R) => { - if (R) { - return v(R) - } - const L = Ge - if (Ne === undefined) { - for (const k of st) L.push(k) - for (const k of We) L.push(k) - } else { - for (const k of We) L.push(k) - for (const k of st) L.push(k) - } - for (const k of Qe) L.push(k) - let N = me.type - const ae = me.resolve - const le = me.layer - if (le !== undefined && !ye) { - return v( - new Error( - "'Rule.layer' is only allowed when 'experiments.layers' is enabled" - ) - ) - } - try { - Object.assign(k.createData, { - layer: le === undefined ? E.issuerLayer || null : le, - request: stringifyLoadersAndResource(L, nt.resource), - userRequest: pe, - rawRequest: q, - loaders: L, - resource: nt.resource, - context: nt.context || P(nt.resource), - matchResource: Ne ? Ne.resource : undefined, - resourceResolveData: nt.data, - settings: me, - type: N, - parser: this.getParser(N, me.parser), - parserOptions: me.parser, - generator: this.getGenerator(N, me.generator), - generatorOptions: me.generator, - resolveOptions: ae, - }) - } catch (k) { - return v(k) - } - v() - }) - this.resolveRequestArray( - E, - this.context, - _e, - je, - tt, - (k, v) => { - Ge = v - Ke(k) - } - ) - this.resolveRequestArray( - E, - this.context, - Me, - je, - tt, - (k, v) => { - We = v - Ke(k) - } - ) - this.resolveRequestArray( - E, - this.context, - Te, - je, - tt, - (k, v) => { - Qe = v - Ke(k) - } - ) - }) - this.resolveRequestArray( - E, - Ye ? this.context : R, - qe, - je, - tt, - (k, v) => { - if (k) return rt(k) - st = v - rt() - } - ) - const defaultResolve = (k) => { - if (/^($|\?)/.test(Be)) { - nt = { resource: Be, data: {}, ..._e(Be) } - rt() - } else { - const v = this.getResolver( - 'normal', - N ? We(le || Ke, 'dependencyType', N) : le - ) - this.resolveResource(E, k, Be, v, tt, (k, v, E) => { - if (k) return rt(k) - if (v !== false) { - nt = { resource: v, data: E, ..._e(v) } - } - rt() - }) - } - } - if (Xe) { - nt = { - resource: Be, - data: {}, - path: undefined, - query: undefined, - fragment: undefined, - context: undefined, - } - this.hooks.resolveForScheme.for(Xe).callAsync(nt, k, (k) => { - if (k) return rt(k) - rt() - }) - } else if (Ye) { - nt = { - resource: Be, - data: {}, - path: undefined, - query: undefined, - fragment: undefined, - context: undefined, - } - this.hooks.resolveInScheme.for(Ye).callAsync(nt, k, (k, v) => { - if (k) return rt(k) - if (!v) return defaultResolve(this.context) - rt() - }) - } else defaultResolve(R) - } - ) - } - cleanupForCache() { - for (const k of this._restoredUnsafeCacheEntries) { - pe.clearChunkGraphForModule(k) - _e.clearModuleGraphForModule(k) - k.cleanupForCache() - } - } - create(k, v) { - const E = k.dependencies - const P = k.context || this.context - const R = k.resolveOptions || Ke - const L = E[0] - const N = L.request - const q = L.assertions - const ae = k.contextInfo - const le = new Ue() - const pe = new Ue() - const me = new Ue() - const ye = (E.length > 0 && E[0].category) || '' - const _e = { - contextInfo: ae, - resolveOptions: R, - context: P, - request: N, - assertions: q, - dependencies: E, - dependencyType: ye, - fileDependencies: le, - missingDependencies: pe, - contextDependencies: me, - createData: {}, - cacheable: true, - } - this.hooks.beforeResolve.callAsync(_e, (k, E) => { - if (k) { - return v(k, { - fileDependencies: le, - missingDependencies: pe, - contextDependencies: me, - cacheable: false, - }) - } - if (E === false) { - return v(null, { - fileDependencies: le, - missingDependencies: pe, - contextDependencies: me, - cacheable: _e.cacheable, - }) - } - if (typeof E === 'object') - throw new Error( - deprecationChangedHookMessage( - 'beforeResolve', - this.hooks.beforeResolve - ) - ) - this.hooks.factorize.callAsync(_e, (k, E) => { - if (k) { - return v(k, { - fileDependencies: le, - missingDependencies: pe, - contextDependencies: me, - cacheable: false, - }) - } - const P = { - module: E, - fileDependencies: le, - missingDependencies: pe, - contextDependencies: me, - cacheable: _e.cacheable, - } - v(null, P) - }) - }) - } - resolveResource(k, v, E, P, R, L) { - P.resolve(k, v, E, R, (N, q, ae) => { - if (N) { - return this._resolveResourceErrorHints( - N, - k, - v, - E, - P, - R, - (k, v) => { - if (k) { - N.message += `\nA fatal error happened during resolving additional hints for this error: ${k.message}` - N.stack += `\n\nA fatal error happened during resolving additional hints for this error:\n${k.stack}` - return L(N) - } - if (v && v.length > 0) { - N.message += `\n${v.join('\n\n')}` - } - let E = false - const R = Array.from(P.options.extensions) - const q = R.map((k) => { - if (tt.test(k)) { - E = true - return `.${k}` - } - return k - }) - if (E) { - N.message += `\nDid you miss the leading dot in 'resolve.extensions'? Did you mean '${JSON.stringify( - q - )}' instead of '${JSON.stringify(R)}'?` - } - L(N) - } - ) - } - L(N, q, ae) - }) - } - _resolveResourceErrorHints(k, v, E, P, L, N, q) { - R.parallel( - [ - (k) => { - if (!L.options.fullySpecified) return k() - L.withOptions({ fullySpecified: false }).resolve( - v, - E, - P, - N, - (v, E) => { - if (!v && E) { - const v = Je(E).path.replace(/^.*[\\/]/, '') - return k( - null, - `Did you mean '${v}'?\nBREAKING CHANGE: The request '${P}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, 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.` - ) - } - k() - } - ) - }, - (k) => { - if (!L.options.enforceExtension) return k() - L.withOptions({ - enforceExtension: false, - extensions: [], - }).resolve(v, E, P, N, (v, E) => { - if (!v && E) { - let v = '' - const E = /(\.[^.]+)(\?|$)/.exec(P) - if (E) { - const k = P.replace(/(\.[^.]+)(\?|$)/, '$2') - if (L.options.extensions.has(E[1])) { - v = `Did you mean '${k}'?` - } else { - v = `Did you mean '${k}'? Also note that '${E[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?` - } - } else { - v = `Did you mean to omit the extension or to remove 'resolve.enforceExtension'?` - } - return k( - null, - `The request '${P}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${v}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?` - ) - } - k() - }) - }, - (k) => { - if (/^\.\.?\//.test(P) || L.options.preferRelative) { - return k() - } - L.resolve(v, E, `./${P}`, N, (v, E) => { - if (v || !E) return k() - const R = L.options.modules - .map((k) => (Array.isArray(k) ? k.join(', ') : k)) - .join(', ') - k( - null, - `Did you mean './${P}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${R}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.` - ) - }) - }, - ], - (k, v) => { - if (k) return q(k) - q(null, v.filter(Boolean)) - } - ) - } - resolveRequestArray(k, v, E, P, L, N) { - if (E.length === 0) return N(null, E) - R.map( - E, - (E, R) => { - P.resolve(k, v, E.loader, L, (N, q, ae) => { - if ( - N && - /^[^/]*$/.test(E.loader) && - !/-loader$/.test(E.loader) - ) { - return P.resolve(k, v, E.loader + '-loader', L, (k) => { - if (!k) { - N.message = - N.message + - '\n' + - "BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n" + - ` You need to specify '${E.loader}-loader' instead of '${E.loader}',\n` + - ' see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed' - } - R(N) - }) - } - if (N) return R(N) - const le = this._parseResourceWithoutFragment(q) - const pe = /\.mjs$/i.test(le.path) - ? 'module' - : /\.cjs$/i.test(le.path) - ? 'commonjs' - : ae.descriptionFileData === undefined - ? undefined - : ae.descriptionFileData.type - const me = { - loader: le.path, - type: pe, - options: - E.options === undefined - ? le.query - ? le.query.slice(1) - : undefined - : E.options, - ident: E.options === undefined ? undefined : E.ident, - } - return R(null, me) - }) - }, - N - ) - } - getParser(k, v = Ye) { - let E = this.parserCache.get(k) - if (E === undefined) { - E = new WeakMap() - this.parserCache.set(k, E) - } - let P = E.get(v) - if (P === undefined) { - P = this.createParser(k, v) - E.set(v, P) - } - return P - } - createParser(k, v = {}) { - v = mergeGlobalOptions(this._globalParserOptions, k, v) - const E = this.hooks.createParser.for(k).call(v) - if (!E) { - throw new Error(`No parser registered for ${k}`) - } - this.hooks.parser.for(k).call(E, v) - return E - } - getGenerator(k, v = Xe) { - let E = this.generatorCache.get(k) - if (E === undefined) { - E = new WeakMap() - this.generatorCache.set(k, E) - } - let P = E.get(v) - if (P === undefined) { - P = this.createGenerator(k, v) - E.set(v, P) - } - return P - } - createGenerator(k, v = {}) { - v = mergeGlobalOptions(this._globalGeneratorOptions, k, v) - const E = this.hooks.createGenerator.for(k).call(v) - if (!E) { - throw new Error(`No generator registered for ${k}`) - } - this.hooks.generator.for(k).call(E, v) - return E - } - getResolver(k, v) { - return this.resolverFactory.get(k, v) - } - } - k.exports = NormalModuleFactory - }, - 35548: function (k, v, E) { - 'use strict' - const { join: P, dirname: R } = E(57825) - class NormalModuleReplacementPlugin { - constructor(k, v) { - this.resourceRegExp = k - this.newResource = v - } - apply(k) { - const v = this.resourceRegExp - const E = this.newResource - k.hooks.normalModuleFactory.tap( - 'NormalModuleReplacementPlugin', - (L) => { - L.hooks.beforeResolve.tap( - 'NormalModuleReplacementPlugin', - (k) => { - if (v.test(k.request)) { - if (typeof E === 'function') { - E(k) - } else { - k.request = E - } - } - } - ) - L.hooks.afterResolve.tap('NormalModuleReplacementPlugin', (L) => { - const N = L.createData - if (v.test(N.resource)) { - if (typeof E === 'function') { - E(L) - } else { - const v = k.inputFileSystem - if (E.startsWith('/') || (E.length > 1 && E[1] === ':')) { - N.resource = E - } else { - N.resource = P(v, R(v, N.resource), E) - } - } - } - }) - } - ) - } - } - k.exports = NormalModuleReplacementPlugin - }, - 99134: function (k, v) { - 'use strict' - v.STAGE_BASIC = -10 - v.STAGE_DEFAULT = 0 - v.STAGE_ADVANCED = 10 - }, - 64593: function (k) { - 'use strict' - class OptionsApply { - process(k, v) {} - } - k.exports = OptionsApply - }, - 17381: function (k, v, E) { - 'use strict' - class Parser { - parse(k, v) { - const P = E(60386) - throw new P() - } - } - k.exports = Parser - }, - 93380: function (k, v, E) { - 'use strict' - const P = E(85992) - class PrefetchPlugin { - constructor(k, v) { - if (v) { - this.context = k - this.request = v - } else { - this.context = null - this.request = k - } - } - apply(k) { - k.hooks.compilation.tap( - 'PrefetchPlugin', - (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(P, v) - } - ) - k.hooks.make.tapAsync('PrefetchPlugin', (v, E) => { - v.addModuleChain( - this.context || k.context, - new P(this.request), - (k) => { - E(k) - } - ) - }) - } - } - k.exports = PrefetchPlugin - }, - 6535: function (k, v, E) { - 'use strict' - const P = E(2170) - const R = E(47575) - const L = E(38224) - const N = E(92198) - const { contextify: q } = E(65315) - const ae = N(E(53912), () => E(13689), { - name: 'Progress Plugin', - baseDataPath: 'options', - }) - const median3 = (k, v, E) => - k + v + E - Math.max(k, v, E) - Math.min(k, v, E) - const createDefaultHandler = (k, v) => { - const E = [] - const defaultHandler = (P, R, ...L) => { - if (k) { - if (P === 0) { - E.length = 0 - } - const k = [R, ...L] - const N = k.map((k) => k.replace(/\d+\/\d+ /g, '')) - const q = Date.now() - const ae = Math.max(N.length, E.length) - for (let k = ae; k >= 0; k--) { - const P = k < N.length ? N[k] : undefined - const R = k < E.length ? E[k] : undefined - if (R) { - if (P !== R.value) { - const L = q - R.time - if (R.value) { - let P = R.value - if (k > 0) { - P = E[k - 1].value + ' > ' + P - } - const N = `${' | '.repeat(k)}${L} ms ${P}` - const q = L - { - if (q > 1e4) { - v.error(N) - } else if (q > 1e3) { - v.warn(N) - } else if (q > 10) { - v.info(N) - } else if (q > 5) { - v.log(N) - } else { - v.debug(N) - } - } - } - if (P === undefined) { - E.length = k - } else { - R.value = P - R.time = q - E.length = k + 1 - } - } - } else { - E[k] = { value: P, time: q } - } - } - } - v.status(`${Math.floor(P * 100)}%`, R, ...L) - if (P === 1 || (!R && L.length === 0)) v.status() - } - return defaultHandler - } - const le = new WeakMap() - class ProgressPlugin { - static getReporter(k) { - return le.get(k) - } - constructor(k = {}) { - if (typeof k === 'function') { - k = { handler: k } - } - ae(k) - k = { ...ProgressPlugin.defaultOptions, ...k } - this.profile = k.profile - this.handler = k.handler - this.modulesCount = k.modulesCount - this.dependenciesCount = k.dependenciesCount - this.showEntries = k.entries - this.showModules = k.modules - this.showDependencies = k.dependencies - this.showActiveModules = k.activeModules - this.percentBy = k.percentBy - } - apply(k) { - const v = - this.handler || - createDefaultHandler( - this.profile, - k.getInfrastructureLogger('webpack.Progress') - ) - if (k instanceof R) { - this._applyOnMultiCompiler(k, v) - } else if (k instanceof P) { - this._applyOnCompiler(k, v) - } - } - _applyOnMultiCompiler(k, v) { - const E = k.compilers.map(() => [0]) - k.compilers.forEach((k, P) => { - new ProgressPlugin((k, R, ...L) => { - E[P] = [k, R, ...L] - let N = 0 - for (const [k] of E) N += k - v(N / E.length, `[${P}] ${R}`, ...L) - }).apply(k) - }) - } - _applyOnCompiler(k, v) { - const E = this.showEntries - const P = this.showModules - const R = this.showDependencies - const L = this.showActiveModules - let N = '' - let ae = '' - let pe = 0 - let me = 0 - let ye = 0 - let _e = 0 - let Ie = 0 - let Me = 1 - let Te = 0 - let je = 0 - let Ne = 0 - const Be = new Set() - let qe = 0 - const updateThrottled = () => { - if (qe + 500 < Date.now()) update() - } - const update = () => { - const le = [] - const Ue = Te / Math.max(pe || this.modulesCount || 1, _e) - const Ge = Ne / Math.max(ye || this.dependenciesCount || 1, Me) - const He = je / Math.max(me || 1, Ie) - let We - switch (this.percentBy) { - case 'entries': - We = Ge - break - case 'dependencies': - We = He - break - case 'modules': - We = Ue - break - default: - We = median3(Ue, Ge, He) - } - const Qe = 0.1 + We * 0.55 - if (ae) { - le.push(`import loader ${q(k.context, ae, k.root)}`) - } else { - const k = [] - if (E) { - k.push(`${Ne}/${Me} entries`) - } - if (R) { - k.push(`${je}/${Ie} dependencies`) - } - if (P) { - k.push(`${Te}/${_e} modules`) - } - if (L) { - k.push(`${Be.size} active`) - } - if (k.length > 0) { - le.push(k.join(' ')) - } - if (L) { - le.push(N) - } - } - v(Qe, 'building', ...le) - qe = Date.now() - } - const factorizeAdd = () => { - Ie++ - if (Ie < 50 || Ie % 100 === 0) updateThrottled() - } - const factorizeDone = () => { - je++ - if (je < 50 || je % 100 === 0) updateThrottled() - } - const moduleAdd = () => { - _e++ - if (_e < 50 || _e % 100 === 0) updateThrottled() - } - const moduleBuild = (k) => { - const v = k.identifier() - if (v) { - Be.add(v) - N = v - update() - } - } - const entryAdd = (k, v) => { - Me++ - if (Me < 5 || Me % 10 === 0) updateThrottled() - } - const moduleDone = (k) => { - Te++ - if (L) { - const v = k.identifier() - if (v) { - Be.delete(v) - if (N === v) { - N = '' - for (const k of Be) { - N = k - } - update() - return - } - } - } - if (Te < 50 || Te % 100 === 0) updateThrottled() - } - const entryDone = (k, v) => { - Ne++ - update() - } - const Ue = k.getCache('ProgressPlugin').getItemCache('counts', null) - let Ge - k.hooks.beforeCompile.tap('ProgressPlugin', () => { - if (!Ge) { - Ge = Ue.getPromise().then( - (k) => { - if (k) { - pe = pe || k.modulesCount - me = me || k.dependenciesCount - } - return k - }, - (k) => {} - ) - } - }) - k.hooks.afterCompile.tapPromise('ProgressPlugin', (k) => { - if (k.compiler.isChild()) return Promise.resolve() - return Ge.then(async (k) => { - if (!k || k.modulesCount !== _e || k.dependenciesCount !== Ie) { - await Ue.storePromise({ - modulesCount: _e, - dependenciesCount: Ie, - }) - } - }) - }) - k.hooks.compilation.tap('ProgressPlugin', (E) => { - if (E.compiler.isChild()) return - pe = _e - ye = Me - me = Ie - _e = Ie = Me = 0 - Te = je = Ne = 0 - E.factorizeQueue.hooks.added.tap('ProgressPlugin', factorizeAdd) - E.factorizeQueue.hooks.result.tap('ProgressPlugin', factorizeDone) - E.addModuleQueue.hooks.added.tap('ProgressPlugin', moduleAdd) - E.processDependenciesQueue.hooks.result.tap( - 'ProgressPlugin', - moduleDone - ) - if (L) { - E.hooks.buildModule.tap('ProgressPlugin', moduleBuild) - } - E.hooks.addEntry.tap('ProgressPlugin', entryAdd) - E.hooks.failedEntry.tap('ProgressPlugin', entryDone) - E.hooks.succeedEntry.tap('ProgressPlugin', entryDone) - if (false) { - } - const P = { - 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 R = Object.keys(P).length - Object.keys(P).forEach((L, N) => { - const q = P[L] - const ae = (N / R) * 0.25 + 0.7 - E.hooks[L].intercept({ - name: 'ProgressPlugin', - call() { - v(ae, 'sealing', q) - }, - done() { - le.set(k, undefined) - v(ae, 'sealing', q) - }, - result() { - v(ae, 'sealing', q) - }, - error() { - v(ae, 'sealing', q) - }, - tap(k) { - le.set(E.compiler, (E, ...P) => { - v(ae, 'sealing', q, k.name, ...P) - }) - v(ae, 'sealing', q, k.name) - }, - }) - }) - }) - k.hooks.make.intercept({ - name: 'ProgressPlugin', - call() { - v(0.1, 'building') - }, - done() { - v(0.65, 'building') - }, - }) - const interceptHook = (E, P, R, L) => { - E.intercept({ - name: 'ProgressPlugin', - call() { - v(P, R, L) - }, - done() { - le.set(k, undefined) - v(P, R, L) - }, - result() { - v(P, R, L) - }, - error() { - v(P, R, L) - }, - tap(E) { - le.set(k, (k, ...N) => { - v(P, R, L, E.name, ...N) - }) - v(P, R, L, E.name) - }, - }) - } - k.cache.hooks.endIdle.intercept({ - name: 'ProgressPlugin', - call() { - v(0, '') - }, - }) - interceptHook(k.cache.hooks.endIdle, 0.01, 'cache', 'end idle') - k.hooks.beforeRun.intercept({ - name: 'ProgressPlugin', - call() { - v(0, '') - }, - }) - interceptHook(k.hooks.beforeRun, 0.01, 'setup', 'before run') - interceptHook(k.hooks.run, 0.02, 'setup', 'run') - interceptHook(k.hooks.watchRun, 0.03, 'setup', 'watch run') - interceptHook( - k.hooks.normalModuleFactory, - 0.04, - 'setup', - 'normal module factory' - ) - interceptHook( - k.hooks.contextModuleFactory, - 0.05, - 'setup', - 'context module factory' - ) - interceptHook(k.hooks.beforeCompile, 0.06, 'setup', 'before compile') - interceptHook(k.hooks.compile, 0.07, 'setup', 'compile') - interceptHook(k.hooks.thisCompilation, 0.08, 'setup', 'compilation') - interceptHook(k.hooks.compilation, 0.09, 'setup', 'compilation') - interceptHook(k.hooks.finishMake, 0.69, 'building', 'finish') - interceptHook(k.hooks.emit, 0.95, 'emitting', 'emit') - interceptHook(k.hooks.afterEmit, 0.98, 'emitting', 'after emit') - interceptHook(k.hooks.done, 0.99, 'done', 'plugins') - k.hooks.done.intercept({ - name: 'ProgressPlugin', - done() { - v(0.99, '') - }, - }) - interceptHook( - k.cache.hooks.storeBuildDependencies, - 0.99, - 'cache', - 'store build dependencies' - ) - interceptHook(k.cache.hooks.shutdown, 0.99, 'cache', 'shutdown') - interceptHook(k.cache.hooks.beginIdle, 0.99, 'cache', 'begin idle') - interceptHook( - k.hooks.watchClose, - 0.99, - 'end', - 'closing watch compilation' - ) - k.cache.hooks.beginIdle.intercept({ - name: 'ProgressPlugin', - done() { - v(1, '') - }, - }) - k.cache.hooks.shutdown.intercept({ - name: 'ProgressPlugin', - done() { - v(1, '') - }, - }) - } - } - ProgressPlugin.defaultOptions = { - profile: false, - modulesCount: 5e3, - dependenciesCount: 1e4, - modules: true, - dependencies: true, - activeModules: false, - entries: true, - } - ProgressPlugin.createDefaultHandler = createDefaultHandler - k.exports = ProgressPlugin - }, - 73238: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, - JAVASCRIPT_MODULE_TYPE_ESM: L, - } = E(93622) - const N = E(60381) - const q = E(17779) - const { approve: ae } = E(80784) - const le = 'ProvidePlugin' - class ProvidePlugin { - constructor(k) { - this.definitions = k - } - apply(k) { - const v = this.definitions - k.hooks.compilation.tap(le, (k, { normalModuleFactory: E }) => { - k.dependencyTemplates.set(N, new N.Template()) - k.dependencyFactories.set(q, E) - k.dependencyTemplates.set(q, new q.Template()) - const handler = (k, E) => { - Object.keys(v).forEach((E) => { - const P = [].concat(v[E]) - const R = E.split('.') - if (R.length > 0) { - R.slice(1).forEach((v, E) => { - const P = R.slice(0, E + 1).join('.') - k.hooks.canRename.for(P).tap(le, ae) - }) - } - k.hooks.expression.for(E).tap(le, (v) => { - const R = E.includes('.') - ? `__webpack_provided_${E.replace(/\./g, '_dot_')}` - : E - const L = new q(P[0], R, P.slice(1), v.range) - L.loc = v.loc - k.state.module.addDependency(L) - return true - }) - k.hooks.call.for(E).tap(le, (v) => { - const R = E.includes('.') - ? `__webpack_provided_${E.replace(/\./g, '_dot_')}` - : E - const L = new q(P[0], R, P.slice(1), v.callee.range) - L.loc = v.callee.loc - k.state.module.addDependency(L) - k.walkExpressions(v.arguments) - return true - }) - }) - } - E.hooks.parser.for(P).tap(le, handler) - E.hooks.parser.for(R).tap(le, handler) - E.hooks.parser.for(L).tap(le, handler) - }) - } - } - k.exports = ProvidePlugin - }, - 91169: function (k, v, E) { - 'use strict' - const { OriginalSource: P, RawSource: R } = E(51255) - const L = E(88396) - const { JAVASCRIPT_MODULE_TYPE_DYNAMIC: N } = E(93622) - const q = E(58528) - const ae = new Set(['javascript']) - class RawModule extends L { - constructor(k, v, E, P) { - super(N, null) - this.sourceStr = k - this.identifierStr = v || this.sourceStr - this.readableIdentifierStr = E || this.identifierStr - this.runtimeRequirements = P || null - } - getSourceTypes() { - return ae - } - identifier() { - return this.identifierStr - } - size(k) { - return Math.max(1, this.sourceStr.length) - } - readableIdentifier(k) { - return k.shorten(this.readableIdentifierStr) - } - needBuild(k, v) { - return v(null, !this.buildMeta) - } - build(k, v, E, P, R) { - this.buildMeta = {} - this.buildInfo = { cacheable: true } - R() - } - codeGeneration(k) { - const v = new Map() - if (this.useSourceMap || this.useSimpleSourceMap) { - v.set('javascript', new P(this.sourceStr, this.identifier())) - } else { - v.set('javascript', new R(this.sourceStr)) - } - return { sources: v, runtimeRequirements: this.runtimeRequirements } - } - updateHash(k, v) { - k.update(this.sourceStr) - super.updateHash(k, v) - } - serialize(k) { - const { write: v } = k - v(this.sourceStr) - v(this.identifierStr) - v(this.readableIdentifierStr) - v(this.runtimeRequirements) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.sourceStr = v() - this.identifierStr = v() - this.readableIdentifierStr = v() - this.runtimeRequirements = v() - super.deserialize(k) - } - } - q(RawModule, 'webpack/lib/RawModule') - k.exports = RawModule - }, - 3437: function (k, v, E) { - 'use strict' - const { compareNumbers: P } = E(95648) - const R = E(65315) - class RecordIdsPlugin { - constructor(k) { - this.options = k || {} - } - apply(k) { - const v = this.options.portableIds - const E = R.makePathsRelative.bindContextCache(k.context, k.root) - const getModuleIdentifier = (k) => { - if (v) { - return E(k.identifier()) - } - return k.identifier() - } - k.hooks.compilation.tap('RecordIdsPlugin', (k) => { - k.hooks.recordModules.tap('RecordIdsPlugin', (v, E) => { - const R = k.chunkGraph - if (!E.modules) E.modules = {} - if (!E.modules.byIdentifier) E.modules.byIdentifier = {} - const L = new Set() - for (const k of v) { - const v = R.getModuleId(k) - if (typeof v !== 'number') continue - const P = getModuleIdentifier(k) - E.modules.byIdentifier[P] = v - L.add(v) - } - E.modules.usedIds = Array.from(L).sort(P) - }) - k.hooks.reviveModules.tap('RecordIdsPlugin', (v, E) => { - if (!E.modules) return - if (E.modules.byIdentifier) { - const P = k.chunkGraph - const R = new Set() - for (const k of v) { - const v = P.getModuleId(k) - if (v !== null) continue - const L = getModuleIdentifier(k) - const N = E.modules.byIdentifier[L] - if (N === undefined) continue - if (R.has(N)) continue - R.add(N) - P.setModuleId(k, N) - } - } - if (Array.isArray(E.modules.usedIds)) { - k.usedModuleIds = new Set(E.modules.usedIds) - } - }) - const getChunkSources = (k) => { - const v = [] - for (const E of k.groupsIterable) { - const P = E.chunks.indexOf(k) - if (E.name) { - v.push(`${P} ${E.name}`) - } else { - for (const k of E.origins) { - if (k.module) { - if (k.request) { - v.push( - `${P} ${getModuleIdentifier(k.module)} ${k.request}` - ) - } else if (typeof k.loc === 'string') { - v.push(`${P} ${getModuleIdentifier(k.module)} ${k.loc}`) - } else if ( - k.loc && - typeof k.loc === 'object' && - 'start' in k.loc - ) { - v.push( - `${P} ${getModuleIdentifier( - k.module - )} ${JSON.stringify(k.loc.start)}` - ) - } - } - } - } - } - return v - } - k.hooks.recordChunks.tap('RecordIdsPlugin', (k, v) => { - if (!v.chunks) v.chunks = {} - if (!v.chunks.byName) v.chunks.byName = {} - if (!v.chunks.bySource) v.chunks.bySource = {} - const E = new Set() - for (const P of k) { - if (typeof P.id !== 'number') continue - const k = P.name - if (k) v.chunks.byName[k] = P.id - const R = getChunkSources(P) - for (const k of R) { - v.chunks.bySource[k] = P.id - } - E.add(P.id) - } - v.chunks.usedIds = Array.from(E).sort(P) - }) - k.hooks.reviveChunks.tap('RecordIdsPlugin', (v, E) => { - if (!E.chunks) return - const P = new Set() - if (E.chunks.byName) { - for (const k of v) { - if (k.id !== null) continue - if (!k.name) continue - const v = E.chunks.byName[k.name] - if (v === undefined) continue - if (P.has(v)) continue - P.add(v) - k.id = v - k.ids = [v] - } - } - if (E.chunks.bySource) { - for (const k of v) { - if (k.id !== null) continue - const v = getChunkSources(k) - for (const R of v) { - const v = E.chunks.bySource[R] - if (v === undefined) continue - if (P.has(v)) continue - P.add(v) - k.id = v - k.ids = [v] - break - } - } - } - if (Array.isArray(E.chunks.usedIds)) { - k.usedChunkIds = new Set(E.chunks.usedIds) - } - }) - }) - } - } - k.exports = RecordIdsPlugin - }, - 91227: function (k, v, E) { - 'use strict' - const { contextify: P } = E(65315) - class RequestShortener { - constructor(k, v) { - this.contextify = P.bindContextCache(k, v) - } - shorten(k) { - if (!k) { - return k - } - return this.contextify(k) - } - } - k.exports = RequestShortener - }, - 97679: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, - } = E(93622) - const L = E(56727) - const N = E(60381) - const { toConstantDependency: q } = E(80784) - const ae = 'RequireJsStuffPlugin' - k.exports = class RequireJsStuffPlugin { - apply(k) { - k.hooks.compilation.tap(ae, (k, { normalModuleFactory: v }) => { - k.dependencyTemplates.set(N, new N.Template()) - const handler = (k, v) => { - if (v.requireJs === undefined || !v.requireJs) { - return - } - k.hooks.call.for('require.config').tap(ae, q(k, 'undefined')) - k.hooks.call.for('requirejs.config').tap(ae, q(k, 'undefined')) - k.hooks.expression - .for('require.version') - .tap(ae, q(k, JSON.stringify('0.0.0'))) - k.hooks.expression - .for('requirejs.onError') - .tap(ae, q(k, L.uncaughtErrorHandler, [L.uncaughtErrorHandler])) - } - v.hooks.parser.for(P).tap(ae, handler) - v.hooks.parser.for(R).tap(ae, handler) - }) - } - } - }, - 51660: function (k, v, E) { - 'use strict' - const P = E(90006).ResolverFactory - const { HookMap: R, SyncHook: L, SyncWaterfallHook: N } = E(79846) - const { - cachedCleverMerge: q, - removeOperations: ae, - resolveByProperty: le, - } = E(99454) - const pe = {} - const convertToResolveOptions = (k) => { - const { dependencyType: v, plugins: E, ...P } = k - const R = { ...P, plugins: E && E.filter((k) => k !== '...') } - if (!R.fileSystem) { - throw new Error( - "fileSystem is missing in resolveOptions, but it's required for enhanced-resolve" - ) - } - const L = R - return ae(le(L, 'byDependency', v)) - } - k.exports = class ResolverFactory { - constructor() { - this.hooks = Object.freeze({ - resolveOptions: new R(() => new N(['resolveOptions'])), - resolver: new R( - () => new L(['resolver', 'resolveOptions', 'userResolveOptions']) - ), - }) - this.cache = new Map() - } - get(k, v = pe) { - let E = this.cache.get(k) - if (!E) { - E = { direct: new WeakMap(), stringified: new Map() } - this.cache.set(k, E) - } - const P = E.direct.get(v) - if (P) { - return P - } - const R = JSON.stringify(v) - const L = E.stringified.get(R) - if (L) { - E.direct.set(v, L) - return L - } - const N = this._create(k, v) - E.direct.set(v, N) - E.stringified.set(R, N) - return N - } - _create(k, v) { - const E = { ...v } - const R = convertToResolveOptions( - this.hooks.resolveOptions.for(k).call(v) - ) - const L = P.createResolver(R) - if (!L) { - throw new Error('No resolver created') - } - const N = new WeakMap() - L.withOptions = (v) => { - const P = N.get(v) - if (P !== undefined) return P - const R = q(E, v) - const L = this.get(k, R) - N.set(v, L) - return L - } - this.hooks.resolver.for(k).call(L, R, E) - return L - } - } - }, - 56727: function (k, v) { - 'use strict' - v.require = '__webpack_require__' - v.requireScope = '__webpack_require__.*' - v.exports = '__webpack_exports__' - v.thisAsExports = 'top-level-this-exports' - v.returnExportsFromRuntime = 'return-exports-from-runtime' - v.module = 'module' - v.moduleId = 'module.id' - v.moduleLoaded = 'module.loaded' - v.publicPath = '__webpack_require__.p' - v.entryModuleId = '__webpack_require__.s' - v.moduleCache = '__webpack_require__.c' - v.moduleFactories = '__webpack_require__.m' - v.moduleFactoriesAddOnly = '__webpack_require__.m (add only)' - v.ensureChunk = '__webpack_require__.e' - v.ensureChunkHandlers = '__webpack_require__.f' - v.ensureChunkIncludeEntries = '__webpack_require__.f (include entries)' - v.prefetchChunk = '__webpack_require__.E' - v.prefetchChunkHandlers = '__webpack_require__.F' - v.preloadChunk = '__webpack_require__.G' - v.preloadChunkHandlers = '__webpack_require__.H' - v.definePropertyGetters = '__webpack_require__.d' - v.makeNamespaceObject = '__webpack_require__.r' - v.createFakeNamespaceObject = '__webpack_require__.t' - v.compatGetDefaultExport = '__webpack_require__.n' - v.harmonyModuleDecorator = '__webpack_require__.hmd' - v.nodeModuleDecorator = '__webpack_require__.nmd' - v.getFullHash = '__webpack_require__.h' - v.wasmInstances = '__webpack_require__.w' - v.instantiateWasm = '__webpack_require__.v' - v.uncaughtErrorHandler = '__webpack_require__.oe' - v.scriptNonce = '__webpack_require__.nc' - v.loadScript = '__webpack_require__.l' - v.createScript = '__webpack_require__.ts' - v.createScriptUrl = '__webpack_require__.tu' - v.getTrustedTypesPolicy = '__webpack_require__.tt' - v.chunkName = '__webpack_require__.cn' - v.runtimeId = '__webpack_require__.j' - v.getChunkScriptFilename = '__webpack_require__.u' - v.getChunkCssFilename = '__webpack_require__.k' - v.hasCssModules = 'has css modules' - v.getChunkUpdateScriptFilename = '__webpack_require__.hu' - v.getChunkUpdateCssFilename = '__webpack_require__.hk' - v.startup = '__webpack_require__.x' - v.startupNoDefault = '__webpack_require__.x (no default handler)' - v.startupOnlyAfter = '__webpack_require__.x (only after)' - v.startupOnlyBefore = '__webpack_require__.x (only before)' - v.chunkCallback = 'webpackChunk' - v.startupEntrypoint = '__webpack_require__.X' - v.onChunksLoaded = '__webpack_require__.O' - v.externalInstallChunk = '__webpack_require__.C' - v.interceptModuleExecution = '__webpack_require__.i' - v.global = '__webpack_require__.g' - v.shareScopeMap = '__webpack_require__.S' - v.initializeSharing = '__webpack_require__.I' - v.currentRemoteGetScope = '__webpack_require__.R' - v.getUpdateManifestFilename = '__webpack_require__.hmrF' - v.hmrDownloadManifest = '__webpack_require__.hmrM' - v.hmrDownloadUpdateHandlers = '__webpack_require__.hmrC' - v.hmrModuleData = '__webpack_require__.hmrD' - v.hmrInvalidateModuleHandlers = '__webpack_require__.hmrI' - v.hmrRuntimeStatePrefix = '__webpack_require__.hmrS' - v.amdDefine = '__webpack_require__.amdD' - v.amdOptions = '__webpack_require__.amdO' - v.system = '__webpack_require__.System' - v.hasOwnProperty = '__webpack_require__.o' - v.systemContext = '__webpack_require__.y' - v.baseURI = '__webpack_require__.b' - v.relativeUrl = '__webpack_require__.U' - v.asyncModule = '__webpack_require__.a' - }, - 27462: function (k, v, E) { - 'use strict' - const { RawSource: P } = E(51255) - const R = E(51255).OriginalSource - const L = E(88396) - const { WEBPACK_MODULE_TYPE_RUNTIME: N } = E(93622) - const q = new Set([N]) - class RuntimeModule extends L { - constructor(k, v = 0) { - super(N) - this.name = k - this.stage = v - this.buildMeta = {} - this.buildInfo = {} - this.compilation = undefined - this.chunk = undefined - this.chunkGraph = undefined - this.fullHash = false - this.dependentHash = false - this._cachedGeneratedCode = undefined - } - attach(k, v, E = k.chunkGraph) { - this.compilation = k - this.chunk = v - this.chunkGraph = E - } - identifier() { - return `webpack/runtime/${this.name}` - } - readableIdentifier(k) { - return `webpack/runtime/${this.name}` - } - needBuild(k, v) { - return v(null, false) - } - build(k, v, E, P, R) { - R() - } - updateHash(k, v) { - k.update(this.name) - k.update(`${this.stage}`) - try { - if (this.fullHash || this.dependentHash) { - k.update(this.generate()) - } else { - k.update(this.getGeneratedCode()) - } - } catch (v) { - k.update(v.message) - } - super.updateHash(k, v) - } - getSourceTypes() { - return q - } - codeGeneration(k) { - const v = new Map() - const E = this.getGeneratedCode() - if (E) { - v.set( - N, - this.useSourceMap || this.useSimpleSourceMap - ? new R(E, this.identifier()) - : new P(E) - ) - } - return { sources: v, runtimeRequirements: null } - } - size(k) { - try { - const k = this.getGeneratedCode() - return k ? k.length : 0 - } catch (k) { - return 0 - } - } - generate() { - const k = E(60386) - throw new k() - } - 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 - k.exports = RuntimeModule - }, - 10734: function (k, v, E) { - 'use strict' - const P = E(56727) - const { getChunkFilenameTemplate: R } = E(76395) - const L = E(84985) - const N = E(89168) - const q = E(43120) - const ae = E(30982) - const le = E(95308) - const pe = E(75916) - const me = E(9518) - const ye = E(23466) - const _e = E(39358) - const Ie = E(16797) - const Me = E(71662) - const Te = E(33442) - const je = E(10582) - const Ne = E(21794) - const Be = E(66537) - const qe = E(75013) - const Ue = E(43840) - const Ge = E(42159) - const He = E(22016) - const We = E(17800) - const Qe = E(10887) - const Je = E(67415) - const Ve = E(96272) - const Ke = E(8062) - const Ye = E(34108) - const Xe = E(6717) - const Ze = E(96181) - const et = [ - P.chunkName, - P.runtimeId, - P.compatGetDefaultExport, - P.createFakeNamespaceObject, - P.createScript, - P.createScriptUrl, - P.getTrustedTypesPolicy, - P.definePropertyGetters, - P.ensureChunk, - P.entryModuleId, - P.getFullHash, - P.global, - P.makeNamespaceObject, - P.moduleCache, - P.moduleFactories, - P.moduleFactoriesAddOnly, - P.interceptModuleExecution, - P.publicPath, - P.baseURI, - P.relativeUrl, - P.scriptNonce, - P.uncaughtErrorHandler, - P.asyncModule, - P.wasmInstances, - P.instantiateWasm, - P.shareScopeMap, - P.initializeSharing, - P.loadScript, - P.systemContext, - P.onChunksLoaded, - ] - const tt = { [P.moduleLoaded]: [P.module], [P.moduleId]: [P.module] } - const nt = { - [P.definePropertyGetters]: [P.hasOwnProperty], - [P.compatGetDefaultExport]: [P.definePropertyGetters], - [P.createFakeNamespaceObject]: [ - P.definePropertyGetters, - P.makeNamespaceObject, - P.require, - ], - [P.initializeSharing]: [P.shareScopeMap], - [P.shareScopeMap]: [P.hasOwnProperty], - } - class RuntimePlugin { - apply(k) { - k.hooks.compilation.tap('RuntimePlugin', (k) => { - const v = k.outputOptions.chunkLoading - const isChunkLoadingDisabledForChunk = (k) => { - const E = k.getEntryOptions() - const P = E && E.chunkLoading !== undefined ? E.chunkLoading : v - return P === false - } - k.dependencyTemplates.set(L, new L.Template()) - for (const v of et) { - k.hooks.runtimeRequirementInModule - .for(v) - .tap('RuntimePlugin', (k, v) => { - v.add(P.requireScope) - }) - k.hooks.runtimeRequirementInTree - .for(v) - .tap('RuntimePlugin', (k, v) => { - v.add(P.requireScope) - }) - } - for (const v of Object.keys(nt)) { - const E = nt[v] - k.hooks.runtimeRequirementInTree - .for(v) - .tap('RuntimePlugin', (k, v) => { - for (const k of E) v.add(k) - }) - } - for (const v of Object.keys(tt)) { - const E = tt[v] - k.hooks.runtimeRequirementInModule - .for(v) - .tap('RuntimePlugin', (k, v) => { - for (const k of E) v.add(k) - }) - } - k.hooks.runtimeRequirementInTree - .for(P.definePropertyGetters) - .tap('RuntimePlugin', (v) => { - k.addRuntimeModule(v, new Me()) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.makeNamespaceObject) - .tap('RuntimePlugin', (v) => { - k.addRuntimeModule(v, new He()) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.createFakeNamespaceObject) - .tap('RuntimePlugin', (v) => { - k.addRuntimeModule(v, new ye()) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.hasOwnProperty) - .tap('RuntimePlugin', (v) => { - k.addRuntimeModule(v, new Ue()) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.compatGetDefaultExport) - .tap('RuntimePlugin', (v) => { - k.addRuntimeModule(v, new pe()) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.runtimeId) - .tap('RuntimePlugin', (v) => { - k.addRuntimeModule(v, new Ke()) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.publicPath) - .tap('RuntimePlugin', (v, E) => { - const { outputOptions: R } = k - const { publicPath: L, scriptType: N } = R - const q = v.getEntryOptions() - const le = q && q.publicPath !== undefined ? q.publicPath : L - if (le === 'auto') { - const R = new ae() - if (N !== 'module') E.add(P.global) - k.addRuntimeModule(v, R) - } else { - const E = new Je(le) - if (typeof le !== 'string' || /\[(full)?hash\]/.test(le)) { - E.fullHash = true - } - k.addRuntimeModule(v, E) - } - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.global) - .tap('RuntimePlugin', (v) => { - k.addRuntimeModule(v, new qe()) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.asyncModule) - .tap('RuntimePlugin', (v) => { - k.addRuntimeModule(v, new q()) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.systemContext) - .tap('RuntimePlugin', (v) => { - const { outputOptions: E } = k - const { library: P } = E - const R = v.getEntryOptions() - const L = R && R.library !== undefined ? R.library.type : P.type - if (L === 'system') { - k.addRuntimeModule(v, new Ye()) - } - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.getChunkScriptFilename) - .tap('RuntimePlugin', (v, E) => { - if ( - typeof k.outputOptions.chunkFilename === 'string' && - /\[(full)?hash(:\d+)?\]/.test(k.outputOptions.chunkFilename) - ) { - E.add(P.getFullHash) - } - k.addRuntimeModule( - v, - new je( - 'javascript', - 'javascript', - P.getChunkScriptFilename, - (v) => - v.filenameTemplate || - (v.canBeInitial() - ? k.outputOptions.filename - : k.outputOptions.chunkFilename), - false - ) - ) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.getChunkCssFilename) - .tap('RuntimePlugin', (v, E) => { - if ( - typeof k.outputOptions.cssChunkFilename === 'string' && - /\[(full)?hash(:\d+)?\]/.test( - k.outputOptions.cssChunkFilename - ) - ) { - E.add(P.getFullHash) - } - k.addRuntimeModule( - v, - new je( - 'css', - 'css', - P.getChunkCssFilename, - (v) => R(v, k.outputOptions), - E.has(P.hmrDownloadUpdateHandlers) - ) - ) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.getChunkUpdateScriptFilename) - .tap('RuntimePlugin', (v, E) => { - if ( - /\[(full)?hash(:\d+)?\]/.test( - k.outputOptions.hotUpdateChunkFilename - ) - ) - E.add(P.getFullHash) - k.addRuntimeModule( - v, - new je( - 'javascript', - 'javascript update', - P.getChunkUpdateScriptFilename, - (v) => k.outputOptions.hotUpdateChunkFilename, - true - ) - ) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.getUpdateManifestFilename) - .tap('RuntimePlugin', (v, E) => { - if ( - /\[(full)?hash(:\d+)?\]/.test( - k.outputOptions.hotUpdateMainFilename - ) - ) { - E.add(P.getFullHash) - } - k.addRuntimeModule( - v, - new Ne( - 'update manifest', - P.getUpdateManifestFilename, - k.outputOptions.hotUpdateMainFilename - ) - ) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.ensureChunk) - .tap('RuntimePlugin', (v, E) => { - const R = v.hasAsyncChunks() - if (R) { - E.add(P.ensureChunkHandlers) - } - k.addRuntimeModule(v, new Te(E)) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.ensureChunkIncludeEntries) - .tap('RuntimePlugin', (k, v) => { - v.add(P.ensureChunkHandlers) - }) - k.hooks.runtimeRequirementInTree - .for(P.shareScopeMap) - .tap('RuntimePlugin', (v, E) => { - k.addRuntimeModule(v, new Xe()) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.loadScript) - .tap('RuntimePlugin', (v, E) => { - const R = !!k.outputOptions.trustedTypes - if (R) { - E.add(P.createScriptUrl) - } - k.addRuntimeModule(v, new Ge(R)) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.createScript) - .tap('RuntimePlugin', (v, E) => { - if (k.outputOptions.trustedTypes) { - E.add(P.getTrustedTypesPolicy) - } - k.addRuntimeModule(v, new _e()) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.createScriptUrl) - .tap('RuntimePlugin', (v, E) => { - if (k.outputOptions.trustedTypes) { - E.add(P.getTrustedTypesPolicy) - } - k.addRuntimeModule(v, new Ie()) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.getTrustedTypesPolicy) - .tap('RuntimePlugin', (v, E) => { - k.addRuntimeModule(v, new Be(E)) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.relativeUrl) - .tap('RuntimePlugin', (v, E) => { - k.addRuntimeModule(v, new Ve()) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.onChunksLoaded) - .tap('RuntimePlugin', (v, E) => { - k.addRuntimeModule(v, new Qe()) - return true - }) - k.hooks.runtimeRequirementInTree - .for(P.baseURI) - .tap('RuntimePlugin', (v) => { - if (isChunkLoadingDisabledForChunk(v)) { - k.addRuntimeModule(v, new le()) - return true - } - }) - k.hooks.runtimeRequirementInTree - .for(P.scriptNonce) - .tap('RuntimePlugin', (v) => { - k.addRuntimeModule(v, new We()) - return true - }) - k.hooks.additionalTreeRuntimeRequirements.tap( - 'RuntimePlugin', - (v, E) => { - const { mainTemplate: P } = k - if ( - P.hooks.bootstrap.isUsed() || - P.hooks.localVars.isUsed() || - P.hooks.requireEnsure.isUsed() || - P.hooks.requireExtensions.isUsed() - ) { - k.addRuntimeModule(v, new me()) - } - } - ) - N.getCompilationHooks(k).chunkHash.tap( - 'RuntimePlugin', - (k, v, { chunkGraph: E }) => { - const P = new Ze() - for (const v of E.getChunkRuntimeModulesIterable(k)) { - P.add(E.getModuleHash(v, k.runtime)) - } - P.updateHash(v) - } - ) - }) - } - } - k.exports = RuntimePlugin - }, - 89240: function (k, v, E) { - 'use strict' - const P = E(88113) - const R = E(56727) - const L = E(95041) - const { equals: N } = E(68863) - const q = E(21751) - const ae = E(10720) - const { forEachRuntime: le, subtractRuntime: pe } = E(1540) - const noModuleIdErrorMessage = (k, v) => - `Module ${k.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${ - Array.from( - v.getModuleChunksIterable(k), - (k) => k.name || k.id || k.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( - v.moduleGraph.getIncomingConnections(k), - (k) => - `\n - ${k.originModule && k.originModule.identifier()} ${ - k.dependency && k.dependency.type - } ${ - (k.explanations && Array.from(k.explanations).join(', ')) || '' - }` - ).join('')}` - function getGlobalObject(k) { - if (!k) return k - const v = k.trim() - if ( - v.match(/^[_\p{L}][_0-9\p{L}]*$/iu) || - v.match(/^([_\p{L}][_0-9\p{L}]*)?\(.*\)$/iu) - ) - return v - return `Object(${v})` - } - class RuntimeTemplate { - constructor(k, v, E) { - this.compilation = k - this.outputOptions = v || {} - this.requestShortener = E - this.globalObject = getGlobalObject(v.globalObject) - this.contentHashReplacement = 'X'.repeat(v.hashDigestLength) - } - isIIFE() { - return this.outputOptions.iife - } - isModule() { - return this.outputOptions.module - } - supportsConst() { - return this.outputOptions.environment.const - } - supportsArrowFunction() { - return this.outputOptions.environment.arrowFunction - } - supportsOptionalChaining() { - return this.outputOptions.environment.optionalChaining - } - 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 this.outputOptions.environment.templateLiteral - } - returningFunction(k, v = '') { - return this.supportsArrowFunction() - ? `(${v}) => (${k})` - : `function(${v}) { return ${k}; }` - } - basicFunction(k, v) { - return this.supportsArrowFunction() - ? `(${k}) => {\n${L.indent(v)}\n}` - : `function(${k}) {\n${L.indent(v)}\n}` - } - concatenation(...k) { - const v = k.length - if (v === 2) return this._es5Concatenation(k) - if (v === 0) return '""' - if (v === 1) { - return typeof k[0] === 'string' - ? JSON.stringify(k[0]) - : `"" + ${k[0].expr}` - } - if (!this.supportTemplateLiteral()) return this._es5Concatenation(k) - let E = 0 - let P = 0 - let R = false - for (const v of k) { - const k = typeof v !== 'string' - if (k) { - E += 3 - P += R ? 1 : 4 - } - R = k - } - if (R) P -= 3 - if (typeof k[0] !== 'string' && typeof k[1] === 'string') P -= 3 - if (P <= E) return this._es5Concatenation(k) - return `\`${k - .map((k) => (typeof k === 'string' ? k : `\${${k.expr}}`)) - .join('')}\`` - } - _es5Concatenation(k) { - const v = k - .map((k) => (typeof k === 'string' ? JSON.stringify(k) : k.expr)) - .join(' + ') - return typeof k[0] !== 'string' && typeof k[1] !== 'string' - ? `"" + ${v}` - : v - } - expressionFunction(k, v = '') { - return this.supportsArrowFunction() - ? `(${v}) => (${k})` - : `function(${v}) { ${k}; }` - } - emptyFunction() { - return this.supportsArrowFunction() ? 'x => {}' : 'function() {}' - } - destructureArray(k, v) { - return this.supportsDestructuring() - ? `var [${k.join(', ')}] = ${v};` - : L.asString(k.map((k, E) => `var ${k} = ${v}[${E}];`)) - } - destructureObject(k, v) { - return this.supportsDestructuring() - ? `var {${k.join(', ')}} = ${v};` - : L.asString(k.map((k) => `var ${k} = ${v}${ae([k])};`)) - } - iife(k, v) { - return `(${this.basicFunction(k, v)})()` - } - forEach(k, v, E) { - return this.supportsForOf() - ? `for(const ${k} of ${v}) {\n${L.indent(E)}\n}` - : `${v}.forEach(function(${k}) {\n${L.indent(E)}\n});` - } - comment({ - request: k, - chunkName: v, - chunkReason: E, - message: P, - exportName: R, - }) { - let N - if (this.outputOptions.pathinfo) { - N = [P, k, v, E] - .filter(Boolean) - .map((k) => this.requestShortener.shorten(k)) - .join(' | ') - } else { - N = [P, v, E] - .filter(Boolean) - .map((k) => this.requestShortener.shorten(k)) - .join(' | ') - } - if (!N) return '' - if (this.outputOptions.pathinfo) { - return L.toComment(N) + ' ' - } else { - return L.toNormalComment(N) + ' ' - } - } - throwMissingModuleErrorBlock({ request: k }) { - const v = `Cannot find module '${k}'` - return `var e = new Error(${JSON.stringify( - v - )}); e.code = 'MODULE_NOT_FOUND'; throw e;` - } - throwMissingModuleErrorFunction({ request: k }) { - return `function webpackMissingModule() { ${this.throwMissingModuleErrorBlock( - { request: k } - )} }` - } - missingModule({ request: k }) { - return `Object(${this.throwMissingModuleErrorFunction({ - request: k, - })}())` - } - missingModuleStatement({ request: k }) { - return `${this.missingModule({ request: k })};\n` - } - missingModulePromise({ request: k }) { - return `Promise.resolve().then(${this.throwMissingModuleErrorFunction( - { request: k } - )})` - } - weakError({ - module: k, - chunkGraph: v, - request: E, - idExpr: P, - type: R, - }) { - const N = v.getModuleId(k) - const q = - N === null - ? JSON.stringify('Module is not available (weak dependency)') - : P - ? `"Module '" + ${P} + "' is not available (weak dependency)"` - : JSON.stringify( - `Module '${N}' is not available (weak dependency)` - ) - const ae = E ? L.toNormalComment(E) + ' ' : '' - const le = - `var e = new Error(${q}); ` + - ae + - "e.code = 'MODULE_NOT_FOUND'; throw e;" - switch (R) { - case 'statements': - return le - case 'promise': - return `Promise.resolve().then(${this.basicFunction('', le)})` - case 'expression': - return this.iife('', le) - } - } - moduleId({ module: k, chunkGraph: v, request: E, weak: P }) { - if (!k) { - return this.missingModule({ request: E }) - } - const R = v.getModuleId(k) - if (R === null) { - if (P) { - return 'null /* weak dependency, without id */' - } - throw new Error( - `RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(k, v)}` - ) - } - return `${this.comment({ request: E })}${JSON.stringify(R)}` - } - moduleRaw({ - module: k, - chunkGraph: v, - request: E, - weak: P, - runtimeRequirements: L, - }) { - if (!k) { - return this.missingModule({ request: E }) - } - const N = v.getModuleId(k) - if (N === null) { - if (P) { - return this.weakError({ - module: k, - chunkGraph: v, - request: E, - type: 'expression', - }) - } - throw new Error( - `RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(k, v)}` - ) - } - L.add(R.require) - return `${R.require}(${this.moduleId({ - module: k, - chunkGraph: v, - request: E, - weak: P, - })})` - } - moduleExports({ - module: k, - chunkGraph: v, - request: E, - weak: P, - runtimeRequirements: R, - }) { - return this.moduleRaw({ - module: k, - chunkGraph: v, - request: E, - weak: P, - runtimeRequirements: R, - }) - } - moduleNamespace({ - module: k, - chunkGraph: v, - request: E, - strict: P, - weak: L, - runtimeRequirements: N, - }) { - if (!k) { - return this.missingModule({ request: E }) - } - if (v.getModuleId(k) === null) { - if (L) { - return this.weakError({ - module: k, - chunkGraph: v, - request: E, - type: 'expression', - }) - } - throw new Error( - `RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage( - k, - v - )}` - ) - } - const q = this.moduleId({ - module: k, - chunkGraph: v, - request: E, - weak: L, - }) - const ae = k.getExportsType(v.moduleGraph, P) - switch (ae) { - case 'namespace': - return this.moduleRaw({ - module: k, - chunkGraph: v, - request: E, - weak: L, - runtimeRequirements: N, - }) - case 'default-with-named': - N.add(R.createFakeNamespaceObject) - return `${R.createFakeNamespaceObject}(${q}, 3)` - case 'default-only': - N.add(R.createFakeNamespaceObject) - return `${R.createFakeNamespaceObject}(${q}, 1)` - case 'dynamic': - N.add(R.createFakeNamespaceObject) - return `${R.createFakeNamespaceObject}(${q}, 7)` - } - } - moduleNamespacePromise({ - chunkGraph: k, - block: v, - module: E, - request: P, - message: L, - strict: N, - weak: q, - runtimeRequirements: ae, - }) { - if (!E) { - return this.missingModulePromise({ request: P }) - } - const le = k.getModuleId(E) - if (le === null) { - if (q) { - return this.weakError({ - module: E, - chunkGraph: k, - request: P, - type: 'promise', - }) - } - throw new Error( - `RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage( - E, - k - )}` - ) - } - const pe = this.blockPromise({ - chunkGraph: k, - block: v, - message: L, - runtimeRequirements: ae, - }) - let me - let ye = JSON.stringify(k.getModuleId(E)) - const _e = this.comment({ request: P }) - let Ie = '' - if (q) { - if (ye.length > 8) { - Ie += `var id = ${ye}; ` - ye = 'id' - } - ae.add(R.moduleFactories) - Ie += `if(!${R.moduleFactories}[${ye}]) { ${this.weakError({ - module: E, - chunkGraph: k, - request: P, - idExpr: ye, - type: 'statements', - })} } ` - } - const Me = this.moduleId({ - module: E, - chunkGraph: k, - request: P, - weak: q, - }) - const Te = E.getExportsType(k.moduleGraph, N) - let je = 16 - switch (Te) { - case 'namespace': - if (Ie) { - const v = this.moduleRaw({ - module: E, - chunkGraph: k, - request: P, - weak: q, - runtimeRequirements: ae, - }) - me = `.then(${this.basicFunction('', `${Ie}return ${v};`)})` - } else { - ae.add(R.require) - me = `.then(${R.require}.bind(${R.require}, ${_e}${ye}))` - } - break - case 'dynamic': - je |= 4 - case 'default-with-named': - je |= 2 - case 'default-only': - ae.add(R.createFakeNamespaceObject) - if (k.moduleGraph.isAsync(E)) { - if (Ie) { - const v = this.moduleRaw({ - module: E, - chunkGraph: k, - request: P, - weak: q, - runtimeRequirements: ae, - }) - me = `.then(${this.basicFunction('', `${Ie}return ${v};`)})` - } else { - ae.add(R.require) - me = `.then(${R.require}.bind(${R.require}, ${_e}${ye}))` - } - me += `.then(${this.returningFunction( - `${R.createFakeNamespaceObject}(m, ${je})`, - 'm' - )})` - } else { - je |= 1 - if (Ie) { - const k = `${R.createFakeNamespaceObject}(${Me}, ${je})` - me = `.then(${this.basicFunction('', `${Ie}return ${k};`)})` - } else { - me = `.then(${R.createFakeNamespaceObject}.bind(${R.require}, ${_e}${ye}, ${je}))` - } - } - break - } - return `${pe || 'Promise.resolve()'}${me}` - } - runtimeConditionExpression({ - chunkGraph: k, - runtimeCondition: v, - runtime: E, - runtimeRequirements: P, - }) { - if (v === undefined) return 'true' - if (typeof v === 'boolean') return `${v}` - const L = new Set() - le(v, (v) => L.add(`${k.getRuntimeId(v)}`)) - const N = new Set() - le(pe(E, v), (v) => N.add(`${k.getRuntimeId(v)}`)) - P.add(R.runtimeId) - return q.fromLists(Array.from(L), Array.from(N))(R.runtimeId) - } - importStatement({ - update: k, - module: v, - chunkGraph: E, - request: P, - importVar: L, - originModule: N, - weak: q, - runtimeRequirements: ae, - }) { - if (!v) { - return [this.missingModuleStatement({ request: P }), ''] - } - if (E.getModuleId(v) === null) { - if (q) { - return [ - this.weakError({ - module: v, - chunkGraph: E, - request: P, - type: 'statements', - }), - '', - ] - } - throw new Error( - `RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage( - v, - E - )}` - ) - } - const le = this.moduleId({ - module: v, - chunkGraph: E, - request: P, - weak: q, - }) - const pe = k ? '' : 'var ' - const me = v.getExportsType( - E.moduleGraph, - N.buildMeta.strictHarmonyModule - ) - ae.add(R.require) - const ye = `/* harmony import */ ${pe}${L} = ${R.require}(${le});\n` - if (me === 'dynamic') { - ae.add(R.compatGetDefaultExport) - return [ - ye, - `/* harmony import */ ${pe}${L}_default = /*#__PURE__*/${R.compatGetDefaultExport}(${L});\n`, - ] - } - return [ye, ''] - } - exportFromImport({ - moduleGraph: k, - module: v, - request: E, - exportName: q, - originModule: le, - asiSafe: pe, - isCall: me, - callContext: ye, - defaultInterop: _e, - importVar: Ie, - initFragments: Me, - runtime: Te, - runtimeRequirements: je, - }) { - if (!v) { - return this.missingModule({ request: E }) - } - if (!Array.isArray(q)) { - q = q ? [q] : [] - } - const Ne = v.getExportsType(k, le.buildMeta.strictHarmonyModule) - if (_e) { - if (q.length > 0 && q[0] === 'default') { - switch (Ne) { - case 'dynamic': - if (me) { - return `${Ie}_default()${ae(q, 1)}` - } else { - return pe - ? `(${Ie}_default()${ae(q, 1)})` - : pe === false - ? `;(${Ie}_default()${ae(q, 1)})` - : `${Ie}_default.a${ae(q, 1)}` - } - case 'default-only': - case 'default-with-named': - q = q.slice(1) - break - } - } else if (q.length > 0) { - if (Ne === 'default-only') { - return ( - '/* non-default import from non-esm module */undefined' + - ae(q, 1) - ) - } else if (Ne !== 'namespace' && q[0] === '__esModule') { - return '/* __esModule */true' - } - } else if (Ne === 'default-only' || Ne === 'default-with-named') { - je.add(R.createFakeNamespaceObject) - Me.push( - new P( - `var ${Ie}_namespace_cache;\n`, - P.STAGE_CONSTANTS, - -1, - `${Ie}_namespace_cache` - ) - ) - return `/*#__PURE__*/ ${ - pe ? '' : pe === false ? ';' : 'Object' - }(${Ie}_namespace_cache || (${Ie}_namespace_cache = ${ - R.createFakeNamespaceObject - }(${Ie}${Ne === 'default-only' ? '' : ', 2'})))` - } - } - if (q.length > 0) { - const E = k.getExportsInfo(v) - const P = E.getUsedName(q, Te) - if (!P) { - const k = L.toNormalComment(`unused export ${ae(q)}`) - return `${k} undefined` - } - const R = N(P, q) ? '' : L.toNormalComment(ae(q)) + ' ' - const le = `${Ie}${R}${ae(P)}` - if (me && ye === false) { - return pe - ? `(0,${le})` - : pe === false - ? `;(0,${le})` - : `/*#__PURE__*/Object(${le})` - } - return le - } else { - return Ie - } - } - blockPromise({ - block: k, - message: v, - chunkGraph: E, - runtimeRequirements: P, - }) { - if (!k) { - const k = this.comment({ message: v }) - return `Promise.resolve(${k.trim()})` - } - const L = E.getBlockChunkGroup(k) - if (!L || L.chunks.length === 0) { - const k = this.comment({ message: v }) - return `Promise.resolve(${k.trim()})` - } - const N = L.chunks.filter((k) => !k.hasRuntime() && k.id !== null) - const q = this.comment({ message: v, chunkName: k.chunkName }) - if (N.length === 1) { - const k = JSON.stringify(N[0].id) - P.add(R.ensureChunk) - return `${R.ensureChunk}(${q}${k})` - } else if (N.length > 0) { - P.add(R.ensureChunk) - const requireChunkId = (k) => - `${R.ensureChunk}(${JSON.stringify(k.id)})` - return `Promise.all(${q.trim()}[${N.map(requireChunkId).join( - ', ' - )}])` - } else { - return `Promise.resolve(${q.trim()})` - } - } - asyncModuleFactory({ - block: k, - chunkGraph: v, - runtimeRequirements: E, - request: P, - }) { - const R = k.dependencies[0] - const L = v.moduleGraph.getModule(R) - const N = this.blockPromise({ - block: k, - message: '', - chunkGraph: v, - runtimeRequirements: E, - }) - const q = this.returningFunction( - this.moduleRaw({ - module: L, - chunkGraph: v, - request: P, - runtimeRequirements: E, - }) - ) - return this.returningFunction( - N.startsWith('Promise.resolve(') - ? `${q}` - : `${N}.then(${this.returningFunction(q)})` - ) - } - syncModuleFactory({ - dependency: k, - chunkGraph: v, - runtimeRequirements: E, - request: P, - }) { - const R = v.moduleGraph.getModule(k) - const L = this.returningFunction( - this.moduleRaw({ - module: R, - chunkGraph: v, - request: P, - runtimeRequirements: E, - }) - ) - return this.returningFunction(L) - } - defineEsModuleFlagStatement({ - exportsArgument: k, - runtimeRequirements: v, - }) { - v.add(R.makeNamespaceObject) - v.add(R.exports) - return `${R.makeNamespaceObject}(${k});\n` - } - assetUrl({ - publicPath: k, - runtime: v, - module: E, - codeGenerationResults: P, - }) { - if (!E) { - return 'data:,' - } - const R = P.get(E, v) - const { data: L } = R - const N = L.get('url') - if (N) return N.toString() - const q = L.get('filename') - return k + q - } - } - k.exports = RuntimeTemplate - }, - 15844: function (k) { - 'use strict' - class SelfModuleFactory { - constructor(k) { - this.moduleGraph = k - } - create(k, v) { - const E = this.moduleGraph.getParentModule(k.dependencies[0]) - v(null, { module: E }) - } - } - k.exports = SelfModuleFactory - }, - 48640: function (k, v, E) { - 'use strict' - k.exports = E(17570) - }, - 3386: function (k, v) { - 'use strict' - v.formatSize = (k) => { - if (typeof k !== 'number' || Number.isNaN(k) === true) { - return 'unknown size' - } - if (k <= 0) { - return '0 bytes' - } - const v = ['bytes', 'KiB', 'MiB', 'GiB'] - const E = Math.floor(Math.log(k) / Math.log(1024)) - return `${+(k / Math.pow(1024, E)).toPrecision(3)} ${v[E]}` - } - }, - 10518: function (k, v, E) { - 'use strict' - const P = E(89168) - class SourceMapDevToolModuleOptionsPlugin { - constructor(k) { - this.options = k - } - apply(k) { - const v = this.options - if (v.module !== false) { - k.hooks.buildModule.tap( - 'SourceMapDevToolModuleOptionsPlugin', - (k) => { - k.useSourceMap = true - } - ) - k.hooks.runtimeModule.tap( - 'SourceMapDevToolModuleOptionsPlugin', - (k) => { - k.useSourceMap = true - } - ) - } else { - k.hooks.buildModule.tap( - 'SourceMapDevToolModuleOptionsPlugin', - (k) => { - k.useSimpleSourceMap = true - } - ) - k.hooks.runtimeModule.tap( - 'SourceMapDevToolModuleOptionsPlugin', - (k) => { - k.useSimpleSourceMap = true - } - ) - } - P.getCompilationHooks(k).useSourceMap.tap( - 'SourceMapDevToolModuleOptionsPlugin', - () => true - ) - } - } - k.exports = SourceMapDevToolModuleOptionsPlugin - }, - 83814: function (k, v, E) { - 'use strict' - const P = E(78175) - const { ConcatSource: R, RawSource: L } = E(51255) - const N = E(27747) - const q = E(98612) - const ae = E(6535) - const le = E(10518) - const pe = E(92198) - const me = E(74012) - const { relative: ye, dirname: _e } = E(57825) - const { makePathsAbsolute: Ie } = E(65315) - const Me = pe(E(49623), () => E(45441), { - name: 'SourceMap DevTool Plugin', - baseDataPath: 'options', - }) - const Te = /[-[\]\\/{}()*+?.^$|]/g - const je = /\[contenthash(:\w+)?\]/ - const Ne = /\.((c|m)?js|css)($|\?)/i - const Be = /\.css($|\?)/i - const qe = /\[map\]/g - const Ue = /\[url\]/g - const Ge = /^\n\/\/(.*)$/ - const resetRegexpState = (k) => { - k.lastIndex = -1 - } - const quoteMeta = (k) => k.replace(Te, '\\$&') - const getTaskForFile = (k, v, E, P, R, L) => { - let N - let q - if (v.sourceAndMap) { - const k = v.sourceAndMap(P) - q = k.map - N = k.source - } else { - q = v.map(P) - N = v.source() - } - if (!q || typeof N !== 'string') return - const ae = R.options.context - const le = R.compiler.root - const pe = Ie.bindContextCache(ae, le) - const me = q.sources.map((k) => { - if (!k.startsWith('webpack://')) return k - k = pe(k.slice(10)) - const v = R.findModule(k) - return v || k - }) - return { - file: k, - asset: v, - source: N, - assetInfo: E, - sourceMap: q, - modules: me, - cacheItem: L, - } - } - class SourceMapDevToolPlugin { - constructor(k = {}) { - Me(k) - this.sourceMapFilename = k.filename - this.sourceMappingURLComment = - k.append === false - ? false - : k.append || '\n//# source' + 'MappingURL=[url]' - this.moduleFilenameTemplate = - k.moduleFilenameTemplate || 'webpack://[namespace]/[resourcePath]' - this.fallbackModuleFilenameTemplate = - k.fallbackModuleFilenameTemplate || - 'webpack://[namespace]/[resourcePath]?[hash]' - this.namespace = k.namespace || '' - this.options = k - } - apply(k) { - const v = k.outputFileSystem - const E = this.sourceMapFilename - const pe = this.sourceMappingURLComment - const Ie = this.moduleFilenameTemplate - const Me = this.namespace - const Te = this.fallbackModuleFilenameTemplate - const He = k.requestShortener - const We = this.options - We.test = We.test || Ne - const Qe = q.matchObject.bind(undefined, We) - k.hooks.compilation.tap('SourceMapDevToolPlugin', (k) => { - new le(We).apply(k) - k.hooks.processAssets.tapAsync( - { - name: 'SourceMapDevToolPlugin', - stage: N.PROCESS_ASSETS_STAGE_DEV_TOOLING, - additionalAssets: true, - }, - (N, le) => { - const Ne = k.chunkGraph - const Je = k.getCache('SourceMapDevToolPlugin') - const Ve = new Map() - const Ke = ae.getReporter(k.compiler) || (() => {}) - const Ye = new Map() - for (const v of k.chunks) { - for (const k of v.files) { - Ye.set(k, v) - } - for (const k of v.auxiliaryFiles) { - Ye.set(k, v) - } - } - const Xe = [] - for (const k of Object.keys(N)) { - if (Qe(k)) { - Xe.push(k) - } - } - Ke(0) - const Ze = [] - let et = 0 - P.each( - Xe, - (v, E) => { - const P = k.getAsset(v) - if (P.info.related && P.info.related.sourceMap) { - et++ - return E() - } - const R = Je.getItemCache( - v, - Je.mergeEtags(Je.getLazyHashedEtag(P.source), Me) - ) - R.get((L, N) => { - if (L) { - return E(L) - } - if (N) { - const { assets: P, assetsInfo: R } = N - for (const E of Object.keys(P)) { - if (E === v) { - k.updateAsset(E, P[E], R[E]) - } else { - k.emitAsset(E, P[E], R[E]) - } - if (E !== v) { - const k = Ye.get(v) - if (k !== undefined) k.auxiliaryFiles.add(E) - } - } - Ke( - (0.5 * ++et) / Xe.length, - v, - 'restored cached SourceMap' - ) - return E() - } - Ke((0.5 * et) / Xe.length, v, 'generate SourceMap') - const ae = getTaskForFile( - v, - P.source, - P.info, - { module: We.module, columns: We.columns }, - k, - R - ) - if (ae) { - const v = ae.modules - for (let E = 0; E < v.length; E++) { - const P = v[E] - if (!Ve.get(P)) { - Ve.set( - P, - q.createFilename( - P, - { moduleFilenameTemplate: Ie, namespace: Me }, - { - requestShortener: He, - chunkGraph: Ne, - hashFunction: k.outputOptions.hashFunction, - } - ) - ) - } - } - Ze.push(ae) - } - Ke((0.5 * ++et) / Xe.length, v, 'generated SourceMap') - E() - }) - }, - (N) => { - if (N) { - return le(N) - } - Ke(0.5, 'resolve sources') - const ae = new Set(Ve.values()) - const Ie = new Set() - const Qe = Array.from(Ve.keys()).sort((k, v) => { - const E = typeof k === 'string' ? k : k.identifier() - const P = typeof v === 'string' ? v : v.identifier() - return E.length - P.length - }) - for (let v = 0; v < Qe.length; v++) { - const E = Qe[v] - let P = Ve.get(E) - let R = Ie.has(P) - if (!R) { - Ie.add(P) - continue - } - P = q.createFilename( - E, - { moduleFilenameTemplate: Te, namespace: Me }, - { - requestShortener: He, - chunkGraph: Ne, - hashFunction: k.outputOptions.hashFunction, - } - ) - R = ae.has(P) - if (!R) { - Ve.set(E, P) - ae.add(P) - continue - } - while (R) { - P += '*' - R = ae.has(P) - } - Ve.set(E, P) - ae.add(P) - } - let Je = 0 - P.each( - Ze, - (P, N) => { - const q = Object.create(null) - const ae = Object.create(null) - const le = P.file - const Ie = Ye.get(le) - const Me = P.sourceMap - const Te = P.source - const Ne = P.modules - Ke(0.5 + (0.5 * Je) / Ze.length, le, 'attach SourceMap') - const He = Ne.map((k) => Ve.get(k)) - Me.sources = He - if (We.noSources) { - Me.sourcesContent = undefined - } - Me.sourceRoot = We.sourceRoot || '' - Me.file = le - const Qe = E && je.test(E) - resetRegexpState(je) - if (Qe && P.assetInfo.contenthash) { - const k = P.assetInfo.contenthash - let v - if (Array.isArray(k)) { - v = k.map(quoteMeta).join('|') - } else { - v = quoteMeta(k) - } - Me.file = Me.file.replace(new RegExp(v, 'g'), (k) => - 'x'.repeat(k.length) - ) - } - let Xe = pe - let et = Be.test(le) - resetRegexpState(Be) - if (Xe !== false && typeof Xe !== 'function' && et) { - Xe = Xe.replace(Ge, '\n/*$1*/') - } - const tt = JSON.stringify(Me) - if (E) { - let P = le - const N = - Qe && - me(k.outputOptions.hashFunction) - .update(tt) - .digest('hex') - const pe = { - chunk: Ie, - filename: We.fileContext - ? ye(v, `/${We.fileContext}`, `/${P}`) - : P, - contentHash: N, - } - const { path: Me, info: je } = k.getPathWithInfo( - E, - pe - ) - const Ne = We.publicPath - ? We.publicPath + Me - : ye(v, _e(v, `/${le}`), `/${Me}`) - let Be = new L(Te) - if (Xe !== false) { - Be = new R( - Be, - k.getPath(Xe, Object.assign({ url: Ne }, pe)) - ) - } - const qe = { related: { sourceMap: Me } } - q[le] = Be - ae[le] = qe - k.updateAsset(le, Be, qe) - const Ue = new L(tt) - const Ge = { ...je, development: true } - q[Me] = Ue - ae[Me] = Ge - k.emitAsset(Me, Ue, Ge) - if (Ie !== undefined) Ie.auxiliaryFiles.add(Me) - } else { - if (Xe === false) { - throw new Error( - "SourceMapDevToolPlugin: append can't be false when no filename is provided" - ) - } - if (typeof Xe === 'function') { - throw new Error( - "SourceMapDevToolPlugin: append can't be a function when no filename is provided" - ) - } - const v = new R( - new L(Te), - Xe.replace(qe, () => tt).replace( - Ue, - () => - `data:application/json;charset=utf-8;base64,${Buffer.from( - tt, - 'utf-8' - ).toString('base64')}` - ) - ) - q[le] = v - ae[le] = undefined - k.updateAsset(le, v) - } - P.cacheItem.store( - { assets: q, assetsInfo: ae }, - (k) => { - Ke( - 0.5 + (0.5 * ++Je) / Ze.length, - P.file, - 'attached SourceMap' - ) - if (k) { - return N(k) - } - N() - } - ) - }, - (k) => { - Ke(1) - le(k) - } - ) - } - ) - } - ) - }) - } - } - k.exports = SourceMapDevToolPlugin - }, - 26288: function (k) { - 'use strict' - class Stats { - constructor(k) { - this.compilation = k - } - 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((k) => k.getStats().hasWarnings()) - ) - } - hasErrors() { - return ( - this.compilation.errors.length > 0 || - this.compilation.children.some((k) => k.getStats().hasErrors()) - ) - } - toJson(k) { - k = this.compilation.createStatsOptions(k, { forToString: false }) - const v = this.compilation.createStatsFactory(k) - return v.create('compilation', this.compilation, { - compilation: this.compilation, - }) - } - toString(k) { - k = this.compilation.createStatsOptions(k, { forToString: true }) - const v = this.compilation.createStatsFactory(k) - const E = this.compilation.createStatsPrinter(k) - const P = v.create('compilation', this.compilation, { - compilation: this.compilation, - }) - const R = E.print('compilation', P) - return R === undefined ? '' : R - } - } - k.exports = Stats - }, - 95041: function (k, v, E) { - 'use strict' - const { ConcatSource: P, PrefixSource: R } = E(51255) - const { WEBPACK_MODULE_TYPE_RUNTIME: L } = E(93622) - const N = E(56727) - const q = 'a'.charCodeAt(0) - const ae = 'A'.charCodeAt(0) - const le = 'z'.charCodeAt(0) - q + 1 - const pe = le * 2 + 2 - const me = pe + 10 - const ye = /^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g - const _e = /^\t/gm - const Ie = /\r?\n/g - const Me = /^([^a-zA-Z$_])/ - const Te = /[^a-zA-Z0-9$]+/g - const je = /\*\//g - const Ne = /[^a-zA-Z0-9_!§$()=\-^°]+/g - const Be = /^-|-$/g - class Template { - static getFunctionContent(k) { - return k.toString().replace(ye, '').replace(_e, '').replace(Ie, '\n') - } - static toIdentifier(k) { - if (typeof k !== 'string') return '' - return k.replace(Me, '_$1').replace(Te, '_') - } - static toComment(k) { - if (!k) return '' - return `/*! ${k.replace(je, '* /')} */` - } - static toNormalComment(k) { - if (!k) return '' - return `/* ${k.replace(je, '* /')} */` - } - static toPath(k) { - if (typeof k !== 'string') return '' - return k.replace(Ne, '-').replace(Be, '') - } - static numberToIdentifier(k) { - if (k >= pe) { - return ( - Template.numberToIdentifier(k % pe) + - Template.numberToIdentifierContinuation(Math.floor(k / pe)) - ) - } - if (k < le) { - return String.fromCharCode(q + k) - } - k -= le - if (k < le) { - return String.fromCharCode(ae + k) - } - if (k === le) return '_' - return '$' - } - static numberToIdentifierContinuation(k) { - if (k >= me) { - return ( - Template.numberToIdentifierContinuation(k % me) + - Template.numberToIdentifierContinuation(Math.floor(k / me)) - ) - } - if (k < le) { - return String.fromCharCode(q + k) - } - k -= le - if (k < le) { - return String.fromCharCode(ae + k) - } - k -= le - if (k < 10) { - return `${k}` - } - if (k === 10) return '_' - return '$' - } - static indent(k) { - if (Array.isArray(k)) { - return k.map(Template.indent).join('\n') - } else { - const v = k.trimEnd() - if (!v) return '' - const E = v[0] === '\n' ? '' : '\t' - return E + v.replace(/\n([^\n])/g, '\n\t$1') - } - } - static prefix(k, v) { - const E = Template.asString(k).trim() - if (!E) return '' - const P = E[0] === '\n' ? '' : v - return P + E.replace(/\n([^\n])/g, '\n' + v + '$1') - } - static asString(k) { - if (Array.isArray(k)) { - return k.join('\n') - } - return k - } - static getModulesArrayBounds(k) { - let v = -Infinity - let E = Infinity - for (const P of k) { - const k = P.id - if (typeof k !== 'number') return false - if (v < k) v = k - if (E > k) E = k - } - if (E < 16 + ('' + E).length) { - E = 0 - } - let P = -1 - for (const v of k) { - P += `${v.id}`.length + 2 - } - const R = E === 0 ? v : 16 + `${E}`.length + v - return R < P ? [E, v] : false - } - static renderChunkModules(k, v, E, R = '') { - const { chunkGraph: L } = k - var N = new P() - if (v.length === 0) { - return null - } - const q = v.map((k) => ({ - id: L.getModuleId(k), - source: E(k) || 'false', - })) - const ae = Template.getModulesArrayBounds(q) - if (ae) { - const k = ae[0] - const v = ae[1] - if (k !== 0) { - N.add(`Array(${k}).concat(`) - } - N.add('[\n') - const E = new Map() - for (const k of q) { - E.set(k.id, k) - } - for (let P = k; P <= v; P++) { - const v = E.get(P) - if (P !== k) { - N.add(',\n') - } - N.add(`/* ${P} */`) - if (v) { - N.add('\n') - N.add(v.source) - } - } - N.add('\n' + R + ']') - if (k !== 0) { - N.add(')') - } - } else { - N.add('{\n') - for (let k = 0; k < q.length; k++) { - const v = q[k] - if (k !== 0) { - N.add(',\n') - } - N.add(`\n/***/ ${JSON.stringify(v.id)}:\n`) - N.add(v.source) - } - N.add(`\n\n${R}}`) - } - return N - } - static renderRuntimeModules(k, v) { - const E = new P() - for (const P of k) { - const k = v.codeGenerationResults - let N - if (k) { - N = k.getSource(P, v.chunk.runtime, L) - } else { - const E = P.codeGeneration({ - chunkGraph: v.chunkGraph, - dependencyTemplates: v.dependencyTemplates, - moduleGraph: v.moduleGraph, - runtimeTemplate: v.runtimeTemplate, - runtime: v.chunk.runtime, - codeGenerationResults: k, - }) - if (!E) continue - N = E.sources.get('runtime') - } - if (N) { - E.add(Template.toNormalComment(P.identifier()) + '\n') - if (!P.shouldIsolate()) { - E.add(N) - E.add('\n\n') - } else if (v.runtimeTemplate.supportsArrowFunction()) { - E.add('(() => {\n') - E.add(new R('\t', N)) - E.add('\n})();\n\n') - } else { - E.add('!function() {\n') - E.add(new R('\t', N)) - E.add('\n}();\n\n') - } - } - } - return E - } - static renderChunkRuntimeModules(k, v) { - return new R( - '/******/ ', - new P( - `function(${N.require}) { // webpackRuntimeModules\n`, - this.renderRuntimeModules(k, v), - '}\n' - ) - ) - } - } - k.exports = Template - k.exports.NUMBER_OF_IDENTIFIER_START_CHARS = pe - k.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS = me - }, - 39294: function (k, v, E) { - 'use strict' - const P = E(24230) - const { basename: R, extname: L } = E(71017) - const N = E(73837) - const q = E(8247) - const ae = E(88396) - const { parseResource: le } = E(65315) - const pe = /\[\\*([\w:]+)\\*\]/gi - const prepareId = (k) => { - if (typeof k !== 'string') return k - if (/^"\s\+*.*\+\s*"$/.test(k)) { - const v = /^"\s\+*\s*(.*)\s*\+\s*"$/.exec(k) - return `" + (${v[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "` - } - return k.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, '_') - } - const hashLength = (k, v, E, P) => { - const fn = (R, L, N) => { - let q - const ae = L && parseInt(L, 10) - if (ae && v) { - q = v(ae) - } else { - const v = k(R, L, N) - q = ae ? v.slice(0, ae) : v - } - if (E) { - E.immutable = true - if (Array.isArray(E[P])) { - E[P] = [...E[P], q] - } else if (E[P]) { - E[P] = [E[P], q] - } else { - E[P] = q - } - } - return q - } - return fn - } - const replacer = (k, v) => { - const fn = (E, P, R) => { - if (typeof k === 'function') { - k = k() - } - if (k === null || k === undefined) { - if (!v) { - throw new Error( - `Path variable ${E} not implemented in this context: ${R}` - ) - } - return '' - } else { - return `${k}` - } - } - return fn - } - const me = new Map() - const ye = (() => () => {})() - const deprecated = (k, v, E) => { - let P = me.get(v) - if (P === undefined) { - P = N.deprecate(ye, v, E) - me.set(v, P) - } - return (...v) => { - P() - return k(...v) - } - } - const replacePathVariables = (k, v, E) => { - const N = v.chunkGraph - const me = new Map() - if (typeof v.filename === 'string') { - let k = v.filename.match(/^data:([^;,]+)/) - if (k) { - const v = P.extension(k[1]) - const E = replacer('', true) - me.set('file', E) - me.set('query', E) - me.set('fragment', E) - me.set('path', E) - me.set('base', E) - me.set('name', E) - me.set('ext', replacer(v ? `.${v}` : '', true)) - me.set( - 'filebase', - deprecated( - E, - '[filebase] is now [base]', - 'DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME' - ) - ) - } else { - const { path: k, query: E, fragment: P } = le(v.filename) - const N = L(k) - const q = R(k) - const ae = q.slice(0, q.length - N.length) - const pe = k.slice(0, k.length - q.length) - me.set('file', replacer(k)) - me.set('query', replacer(E, true)) - me.set('fragment', replacer(P, true)) - me.set('path', replacer(pe, true)) - me.set('base', replacer(q)) - me.set('name', replacer(ae)) - me.set('ext', replacer(N, true)) - me.set( - 'filebase', - deprecated( - replacer(q), - '[filebase] is now [base]', - 'DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME' - ) - ) - } - } - if (v.hash) { - const k = hashLength( - replacer(v.hash), - v.hashWithLength, - E, - 'fullhash' - ) - me.set('fullhash', k) - me.set( - 'hash', - deprecated( - k, - '[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)', - 'DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH' - ) - ) - } - if (v.chunk) { - const k = v.chunk - const P = v.contentHashType - const R = replacer(k.id) - const L = replacer(k.name || k.id) - const N = hashLength( - replacer(k instanceof q ? k.renderedHash : k.hash), - 'hashWithLength' in k ? k.hashWithLength : undefined, - E, - 'chunkhash' - ) - const ae = hashLength( - replacer(v.contentHash || (P && k.contentHash && k.contentHash[P])), - v.contentHashWithLength || - ('contentHashWithLength' in k && k.contentHashWithLength - ? k.contentHashWithLength[P] - : undefined), - E, - 'contenthash' - ) - me.set('id', R) - me.set('name', L) - me.set('chunkhash', N) - me.set('contenthash', ae) - } - if (v.module) { - const k = v.module - const P = replacer(() => - prepareId(k instanceof ae ? N.getModuleId(k) : k.id) - ) - const R = hashLength( - replacer(() => - k instanceof ae ? N.getRenderedModuleHash(k, v.runtime) : k.hash - ), - 'hashWithLength' in k ? k.hashWithLength : undefined, - E, - 'modulehash' - ) - const L = hashLength( - replacer(v.contentHash), - undefined, - E, - 'contenthash' - ) - me.set('id', P) - me.set('modulehash', R) - me.set('contenthash', L) - me.set('hash', v.contentHash ? L : R) - me.set( - 'moduleid', - deprecated( - P, - '[moduleid] is now [id]', - 'DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID' - ) - ) - } - if (v.url) { - me.set('url', replacer(v.url)) - } - if (typeof v.runtime === 'string') { - me.set( - 'runtime', - replacer(() => prepareId(v.runtime)) - ) - } else { - me.set('runtime', replacer('_')) - } - if (typeof k === 'function') { - k = k(v, E) - } - k = k.replace(pe, (v, E) => { - if (E.length + 2 === v.length) { - const P = /^(\w+)(?::(\w+))?$/.exec(E) - if (!P) return v - const [, R, L] = P - const N = me.get(R) - if (N !== undefined) { - return N(v, L, k) - } - } else if (v.startsWith('[\\') && v.endsWith('\\]')) { - return `[${v.slice(2, -2)}]` - } - return v - }) - return k - } - const _e = 'TemplatedPathPlugin' - class TemplatedPathPlugin { - apply(k) { - k.hooks.compilation.tap(_e, (k) => { - k.hooks.assetPath.tap(_e, replacePathVariables) - }) - } - } - k.exports = TemplatedPathPlugin - }, - 57975: function (k, v, E) { - 'use strict' - const P = E(71572) - const R = E(58528) - class UnhandledSchemeError extends P { - constructor(k, v) { - super( - `Reading from "${v}" is not handled by plugins (Unhandled scheme).` + - '\nWebpack supports "data:" and "file:" URIs by default.' + - `\nYou may need an additional plugin to handle "${k}:" URIs.` - ) - this.file = v - this.name = 'UnhandledSchemeError' - } - } - R( - UnhandledSchemeError, - 'webpack/lib/UnhandledSchemeError', - 'UnhandledSchemeError' - ) - k.exports = UnhandledSchemeError - }, - 9415: function (k, v, E) { - 'use strict' - const P = E(71572) - const R = E(58528) - class UnsupportedFeatureWarning extends P { - constructor(k, v) { - super(k) - this.name = 'UnsupportedFeatureWarning' - this.loc = v - this.hideStack = true - } - } - R(UnsupportedFeatureWarning, 'webpack/lib/UnsupportedFeatureWarning') - k.exports = UnsupportedFeatureWarning - }, - 10862: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, - JAVASCRIPT_MODULE_TYPE_ESM: L, - } = E(93622) - const N = E(60381) - const q = 'UseStrictPlugin' - class UseStrictPlugin { - apply(k) { - k.hooks.compilation.tap(q, (k, { normalModuleFactory: v }) => { - const handler = (k) => { - k.hooks.program.tap(q, (v) => { - const E = v.body[0] - if ( - E && - E.type === 'ExpressionStatement' && - E.expression.type === 'Literal' && - E.expression.value === 'use strict' - ) { - const v = new N('', E.range) - v.loc = E.loc - k.state.module.addPresentationalDependency(v) - k.state.module.buildInfo.strict = true - } - }) - } - v.hooks.parser.for(P).tap(q, handler) - v.hooks.parser.for(R).tap(q, handler) - v.hooks.parser.for(L).tap(q, handler) - }) - } - } - k.exports = UseStrictPlugin - }, - 7326: function (k, v, E) { - 'use strict' - const P = E(94046) - class WarnCaseSensitiveModulesPlugin { - apply(k) { - k.hooks.compilation.tap('WarnCaseSensitiveModulesPlugin', (k) => { - k.hooks.seal.tap('WarnCaseSensitiveModulesPlugin', () => { - const v = new Map() - for (const E of k.modules) { - const k = E.identifier() - if ( - E.resourceResolveData !== undefined && - E.resourceResolveData.encodedContent !== undefined - ) { - continue - } - const P = k.toLowerCase() - let R = v.get(P) - if (R === undefined) { - R = new Map() - v.set(P, R) - } - R.set(k, E) - } - for (const E of v) { - const v = E[1] - if (v.size > 1) { - k.warnings.push(new P(v.values(), k.moduleGraph)) - } - } - }) - }) - } - } - k.exports = WarnCaseSensitiveModulesPlugin - }, - 80025: function (k, v, E) { - 'use strict' - const P = E(71572) - class WarnDeprecatedOptionPlugin { - constructor(k, v, E) { - this.option = k - this.value = v - this.suggestion = E - } - apply(k) { - k.hooks.thisCompilation.tap('WarnDeprecatedOptionPlugin', (k) => { - k.warnings.push( - new DeprecatedOptionWarning( - this.option, - this.value, - this.suggestion - ) - ) - }) - } - } - class DeprecatedOptionWarning extends P { - constructor(k, v, E) { - super() - this.name = 'DeprecatedOptionWarning' - this.message = - 'configuration\n' + - `The value '${v}' for option '${k}' is deprecated. ` + - `Use '${E}' instead.` - } - } - k.exports = WarnDeprecatedOptionPlugin - }, - 41744: function (k, v, E) { - 'use strict' - const P = E(2940) - class WarnNoModeSetPlugin { - apply(k) { - k.hooks.thisCompilation.tap('WarnNoModeSetPlugin', (k) => { - k.warnings.push(new P()) - }) - } - } - k.exports = WarnNoModeSetPlugin - }, - 38849: function (k, v, E) { - 'use strict' - const { groupBy: P } = E(68863) - const R = E(92198) - const L = R(E(24318), () => E(41084), { - name: 'Watch Ignore Plugin', - baseDataPath: 'options', - }) - const N = 'ignore' - class IgnoringWatchFileSystem { - constructor(k, v) { - this.wfs = k - this.paths = v - } - watch(k, v, E, R, L, q, ae) { - k = Array.from(k) - v = Array.from(v) - const ignored = (k) => - this.paths.some((v) => - v instanceof RegExp ? v.test(k) : k.indexOf(v) === 0 - ) - const [le, pe] = P(k, ignored) - const [me, ye] = P(v, ignored) - const _e = this.wfs.watch( - pe, - ye, - E, - R, - L, - (k, v, E, P, R) => { - if (k) return q(k) - for (const k of le) { - v.set(k, N) - } - for (const k of me) { - E.set(k, N) - } - q(k, v, E, P, R) - }, - ae - ) - return { - close: () => _e.close(), - pause: () => _e.pause(), - getContextTimeInfoEntries: () => { - const k = _e.getContextTimeInfoEntries() - for (const v of me) { - k.set(v, N) - } - return k - }, - getFileTimeInfoEntries: () => { - const k = _e.getFileTimeInfoEntries() - for (const v of le) { - k.set(v, N) - } - return k - }, - getInfo: - _e.getInfo && - (() => { - const k = _e.getInfo() - const { fileTimeInfoEntries: v, contextTimeInfoEntries: E } = k - for (const k of le) { - v.set(k, N) - } - for (const k of me) { - E.set(k, N) - } - return k - }), - } - } - } - class WatchIgnorePlugin { - constructor(k) { - L(k) - this.paths = k.paths - } - apply(k) { - k.hooks.afterEnvironment.tap('WatchIgnorePlugin', () => { - k.watchFileSystem = new IgnoringWatchFileSystem( - k.watchFileSystem, - this.paths - ) - }) - } - } - k.exports = WatchIgnorePlugin - }, - 50526: function (k, v, E) { - 'use strict' - const P = E(26288) - class Watching { - constructor(k, v, E) { - this.startTime = null - this.invalid = false - this.handler = E - this.callbacks = [] - this._closeCallbacks = undefined - this.closed = false - this.suspended = false - this.blocked = false - this._isBlocked = () => false - this._onChange = () => {} - this._onInvalid = () => {} - if (typeof v === 'number') { - this.watchOptions = { aggregateTimeout: v } - } else if (v && typeof v === 'object') { - this.watchOptions = { ...v } - } else { - this.watchOptions = {} - } - if (typeof this.watchOptions.aggregateTimeout !== 'number') { - this.watchOptions.aggregateTimeout = 20 - } - this.compiler = k - this.running = false - this._initial = true - this._invalidReported = true - this._needRecords = true - this.watcher = undefined - this.pausedWatcher = undefined - this._collectedChangedFiles = undefined - this._collectedRemovedFiles = undefined - this._done = this._done.bind(this) - process.nextTick(() => { - if (this._initial) this._invalidate() - }) - } - _mergeWithCollected(k, v) { - if (!k) return - if (!this._collectedChangedFiles) { - this._collectedChangedFiles = new Set(k) - this._collectedRemovedFiles = new Set(v) - } else { - for (const v of k) { - this._collectedChangedFiles.add(v) - this._collectedRemovedFiles.delete(v) - } - for (const k of v) { - this._collectedChangedFiles.delete(k) - this._collectedRemovedFiles.add(k) - } - } - } - _go(k, v, E, R) { - this._initial = false - if (this.startTime === null) this.startTime = Date.now() - this.running = true - if (this.watcher) { - this.pausedWatcher = this.watcher - this.lastWatcherStartTime = Date.now() - this.watcher.pause() - this.watcher = null - } else if (!this.lastWatcherStartTime) { - this.lastWatcherStartTime = Date.now() - } - this.compiler.fsStartTime = Date.now() - if (E && R && k && v) { - this._mergeWithCollected(E, R) - this.compiler.fileTimestamps = k - this.compiler.contextTimestamps = v - } else if (this.pausedWatcher) { - if (this.pausedWatcher.getInfo) { - const { - changes: k, - removals: v, - fileTimeInfoEntries: E, - contextTimeInfoEntries: P, - } = this.pausedWatcher.getInfo() - this._mergeWithCollected(k, v) - this.compiler.fileTimestamps = E - this.compiler.contextTimestamps = P - } else { - this._mergeWithCollected( - this.pausedWatcher.getAggregatedChanges && - this.pausedWatcher.getAggregatedChanges(), - this.pausedWatcher.getAggregatedRemovals && - this.pausedWatcher.getAggregatedRemovals() - ) - this.compiler.fileTimestamps = - this.pausedWatcher.getFileTimeInfoEntries() - this.compiler.contextTimestamps = - this.pausedWatcher.getContextTimeInfoEntries() - } - } - this.compiler.modifiedFiles = this._collectedChangedFiles - this._collectedChangedFiles = undefined - this.compiler.removedFiles = this._collectedRemovedFiles - this._collectedRemovedFiles = undefined - const run = () => { - if (this.compiler.idle) { - return this.compiler.cache.endIdle((k) => { - if (k) return this._done(k) - this.compiler.idle = false - run() - }) - } - if (this._needRecords) { - return this.compiler.readRecords((k) => { - if (k) return this._done(k) - this._needRecords = false - run() - }) - } - this.invalid = false - this._invalidReported = false - this.compiler.hooks.watchRun.callAsync(this.compiler, (k) => { - if (k) return this._done(k) - const onCompiled = (k, v) => { - if (k) return this._done(k, v) - if (this.invalid) return this._done(null, v) - if (this.compiler.hooks.shouldEmit.call(v) === false) { - return this._done(null, v) - } - process.nextTick(() => { - const k = v.getLogger('webpack.Compiler') - k.time('emitAssets') - this.compiler.emitAssets(v, (E) => { - k.timeEnd('emitAssets') - if (E) return this._done(E, v) - if (this.invalid) return this._done(null, v) - k.time('emitRecords') - this.compiler.emitRecords((E) => { - k.timeEnd('emitRecords') - if (E) return this._done(E, v) - if (v.hooks.needAdditionalPass.call()) { - v.needAdditionalPass = true - v.startTime = this.startTime - v.endTime = Date.now() - k.time('done hook') - const E = new P(v) - this.compiler.hooks.done.callAsync(E, (E) => { - k.timeEnd('done hook') - if (E) return this._done(E, v) - this.compiler.hooks.additionalPass.callAsync((k) => { - if (k) return this._done(k, v) - this.compiler.compile(onCompiled) - }) - }) - return - } - return this._done(null, v) - }) - }) - }) - } - this.compiler.compile(onCompiled) - }) - } - run() - } - _getStats(k) { - const v = new P(k) - return v - } - _done(k, v) { - this.running = false - const E = v && v.getLogger('webpack.Watching') - let R = null - const handleError = (k, v) => { - this.compiler.hooks.failed.call(k) - this.compiler.cache.beginIdle() - this.compiler.idle = true - this.handler(k, R) - if (!v) { - v = this.callbacks - this.callbacks = [] - } - for (const E of v) E(k) - } - if ( - this.invalid && - !this.suspended && - !this.blocked && - !(this._isBlocked() && (this.blocked = true)) - ) { - if (v) { - E.time('storeBuildDependencies') - this.compiler.cache.storeBuildDependencies( - v.buildDependencies, - (k) => { - E.timeEnd('storeBuildDependencies') - if (k) return handleError(k) - this._go() - } - ) - } else { - this._go() - } - return - } - if (v) { - v.startTime = this.startTime - v.endTime = Date.now() - R = new P(v) - } - this.startTime = null - if (k) return handleError(k) - const L = this.callbacks - this.callbacks = [] - E.time('done hook') - this.compiler.hooks.done.callAsync(R, (k) => { - E.timeEnd('done hook') - if (k) return handleError(k, L) - this.handler(null, R) - E.time('storeBuildDependencies') - this.compiler.cache.storeBuildDependencies( - v.buildDependencies, - (k) => { - E.timeEnd('storeBuildDependencies') - if (k) return handleError(k, L) - E.time('beginIdle') - this.compiler.cache.beginIdle() - this.compiler.idle = true - E.timeEnd('beginIdle') - process.nextTick(() => { - if (!this.closed) { - this.watch( - v.fileDependencies, - v.contextDependencies, - v.missingDependencies - ) - } - }) - for (const k of L) k(null) - this.compiler.hooks.afterDone.call(R) - } - ) - }) - } - watch(k, v, E) { - this.pausedWatcher = null - this.watcher = this.compiler.watchFileSystem.watch( - k, - v, - E, - this.lastWatcherStartTime, - this.watchOptions, - (k, v, E, P, R) => { - if (k) { - this.compiler.modifiedFiles = undefined - this.compiler.removedFiles = undefined - this.compiler.fileTimestamps = undefined - this.compiler.contextTimestamps = undefined - this.compiler.fsStartTime = undefined - return this.handler(k) - } - this._invalidate(v, E, P, R) - this._onChange() - }, - (k, v) => { - if (!this._invalidReported) { - this._invalidReported = true - this.compiler.hooks.invalid.call(k, v) - } - this._onInvalid() - } - ) - } - invalidate(k) { - if (k) { - this.callbacks.push(k) - } - if (!this._invalidReported) { - this._invalidReported = true - this.compiler.hooks.invalid.call(null, Date.now()) - } - this._onChange() - this._invalidate() - } - _invalidate(k, v, E, P) { - if (this.suspended || (this._isBlocked() && (this.blocked = true))) { - this._mergeWithCollected(E, P) - return - } - if (this.running) { - this._mergeWithCollected(E, P) - this.invalid = true - } else { - this._go(k, v, E, P) - } - } - suspend() { - this.suspended = true - } - resume() { - if (this.suspended) { - this.suspended = false - this._invalidate() - } - } - close(k) { - if (this._closeCallbacks) { - if (k) { - this._closeCallbacks.push(k) - } - return - } - const finalCallback = (k, v) => { - 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 - this.compiler.fsStartTime = undefined - const shutdown = (k) => { - this.compiler.hooks.watchClose.call() - const v = this._closeCallbacks - this._closeCallbacks = undefined - for (const E of v) E(k) - } - if (v) { - const E = v.getLogger('webpack.Watching') - E.time('storeBuildDependencies') - this.compiler.cache.storeBuildDependencies( - v.buildDependencies, - (v) => { - E.timeEnd('storeBuildDependencies') - shutdown(k || v) - } - ) - } else { - shutdown(k) - } - } - this.closed = true - if (this.watcher) { - this.watcher.close() - this.watcher = null - } - if (this.pausedWatcher) { - this.pausedWatcher.close() - this.pausedWatcher = null - } - this._closeCallbacks = [] - if (k) { - this._closeCallbacks.push(k) - } - if (this.running) { - this.invalid = true - this._done = finalCallback - } else { - finalCallback() - } - } - } - k.exports = Watching - }, - 71572: function (k, v, E) { - 'use strict' - const P = E(73837).inspect.custom - const R = E(58528) - class WebpackError extends Error { - constructor(k) { - super(k) - this.details = undefined - this.module = undefined - this.loc = undefined - this.hideStack = undefined - this.chunk = undefined - this.file = undefined - } - [P]() { - return this.stack + (this.details ? `\n${this.details}` : '') - } - serialize({ write: k }) { - k(this.name) - k(this.message) - k(this.stack) - k(this.details) - k(this.loc) - k(this.hideStack) - } - deserialize({ read: k }) { - this.name = k() - this.message = k() - this.stack = k() - this.details = k() - this.loc = k() - this.hideStack = k() - } - } - R(WebpackError, 'webpack/lib/WebpackError') - k.exports = WebpackError - }, - 55095: function (k, v, E) { - 'use strict' - const P = E(95224) - const { - JAVASCRIPT_MODULE_TYPE_AUTO: R, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: L, - JAVASCRIPT_MODULE_TYPE_ESM: N, - } = E(93622) - const q = E(83143) - const { toConstantDependency: ae } = E(80784) - const le = 'WebpackIsIncludedPlugin' - class WebpackIsIncludedPlugin { - apply(k) { - k.hooks.compilation.tap(le, (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(q, new P(v)) - k.dependencyTemplates.set(q, new q.Template()) - const handler = (k) => { - k.hooks.call.for('__webpack_is_included__').tap(le, (v) => { - if ( - v.type !== 'CallExpression' || - v.arguments.length !== 1 || - v.arguments[0].type === 'SpreadElement' - ) - return - const E = k.evaluateExpression(v.arguments[0]) - if (!E.isString()) return - const P = new q(E.string, v.range) - P.loc = v.loc - k.state.module.addDependency(P) - return true - }) - k.hooks.typeof - .for('__webpack_is_included__') - .tap(le, ae(k, JSON.stringify('function'))) - } - v.hooks.parser.for(R).tap(le, handler) - v.hooks.parser.for(L).tap(le, handler) - v.hooks.parser.for(N).tap(le, handler) - }) - } - } - k.exports = WebpackIsIncludedPlugin - }, - 27826: function (k, v, E) { - 'use strict' - const P = E(64593) - const R = E(43722) - const L = E(89168) - const N = E(7671) - const q = E(37247) - const ae = E(26591) - const le = E(3437) - const pe = E(10734) - const me = E(99494) - const ye = E(8305) - const _e = E(11512) - const Ie = E(25889) - const Me = E(55095) - const Te = E(39294) - const je = E(10862) - const Ne = E(7326) - const Be = E(82599) - const qe = E(28730) - const Ue = E(6247) - const Ge = E(45575) - const He = E(64476) - const We = E(96090) - const Qe = E(31615) - const Je = E(3970) - const Ve = E(63733) - const Ke = E(69286) - const Ye = E(34949) - const Xe = E(80250) - const Ze = E(3674) - const et = E(50703) - const tt = E(95918) - const nt = E(53877) - const st = E(28027) - const rt = E(57686) - const ot = E(8808) - const it = E(81363) - const { cleverMerge: at } = E(99454) - class WebpackOptionsApply extends P { - constructor() { - super() - } - process(k, v) { - v.outputPath = k.output.path - v.recordsInputPath = k.recordsInputPath || null - v.recordsOutputPath = k.recordsOutputPath || null - v.name = k.name - if (k.externals) { - const P = E(53757) - new P(k.externalsType, k.externals).apply(v) - } - if (k.externalsPresets.node) { - const k = E(56976) - new k().apply(v) - } - if (k.externalsPresets.electronMain) { - const k = E(27558) - new k('main').apply(v) - } - if (k.externalsPresets.electronPreload) { - const k = E(27558) - new k('preload').apply(v) - } - if (k.externalsPresets.electronRenderer) { - const k = E(27558) - new k('renderer').apply(v) - } - if ( - k.externalsPresets.electron && - !k.externalsPresets.electronMain && - !k.externalsPresets.electronPreload && - !k.externalsPresets.electronRenderer - ) { - const k = E(27558) - new k().apply(v) - } - if (k.externalsPresets.nwjs) { - const k = E(53757) - new k('node-commonjs', 'nw.gui').apply(v) - } - if (k.externalsPresets.webAsync) { - const P = E(53757) - new P('import', ({ request: v, dependencyType: E }, P) => { - if (E === 'url') { - if (/^(\/\/|https?:\/\/|#)/.test(v)) - return P(null, `asset ${v}`) - } else if (k.experiments.css && E === 'css-import') { - if (/^(\/\/|https?:\/\/|#)/.test(v)) - return P(null, `css-import ${v}`) - } else if ( - k.experiments.css && - /^(\/\/|https?:\/\/|std:)/.test(v) - ) { - if (/^\.css(\?|$)/.test(v)) return P(null, `css-import ${v}`) - return P(null, `import ${v}`) - } - P() - }).apply(v) - } else if (k.externalsPresets.web) { - const P = E(53757) - new P('module', ({ request: v, dependencyType: E }, P) => { - if (E === 'url') { - if (/^(\/\/|https?:\/\/|#)/.test(v)) - return P(null, `asset ${v}`) - } else if (k.experiments.css && E === 'css-import') { - if (/^(\/\/|https?:\/\/|#)/.test(v)) - return P(null, `css-import ${v}`) - } else if (/^(\/\/|https?:\/\/|std:)/.test(v)) { - if (k.experiments.css && /^\.css((\?)|$)/.test(v)) - return P(null, `css-import ${v}`) - return P(null, `module ${v}`) - } - P() - }).apply(v) - } else if (k.externalsPresets.node) { - if (k.experiments.css) { - const k = E(53757) - new k('module', ({ request: k, dependencyType: v }, E) => { - if (v === 'url') { - if (/^(\/\/|https?:\/\/|#)/.test(k)) - return E(null, `asset ${k}`) - } else if (v === 'css-import') { - if (/^(\/\/|https?:\/\/|#)/.test(k)) - return E(null, `css-import ${k}`) - } else if (/^(\/\/|https?:\/\/|std:)/.test(k)) { - if (/^\.css(\?|$)/.test(k)) return E(null, `css-import ${k}`) - return E(null, `module ${k}`) - } - E() - }).apply(v) - } - } - new q().apply(v) - if (typeof k.output.chunkFormat === 'string') { - switch (k.output.chunkFormat) { - case 'array-push': { - const k = E(39799) - new k().apply(v) - break - } - case 'commonjs': { - const k = E(45542) - new k().apply(v) - break - } - case 'module': { - const k = E(14504) - new k().apply(v) - break - } - default: - throw new Error( - "Unsupported chunk format '" + k.output.chunkFormat + "'." - ) - } - } - if (k.output.enabledChunkLoadingTypes.length > 0) { - for (const P of k.output.enabledChunkLoadingTypes) { - const k = E(73126) - new k(P).apply(v) - } - } - if (k.output.enabledWasmLoadingTypes.length > 0) { - for (const P of k.output.enabledWasmLoadingTypes) { - const k = E(50792) - new k(P).apply(v) - } - } - if (k.output.enabledLibraryTypes.length > 0) { - for (const P of k.output.enabledLibraryTypes) { - const k = E(60234) - new k(P).apply(v) - } - } - if (k.output.pathinfo) { - const P = E(50444) - new P(k.output.pathinfo !== true).apply(v) - } - if (k.output.clean) { - const P = E(69155) - new P(k.output.clean === true ? {} : k.output.clean).apply(v) - } - if (k.devtool) { - if (k.devtool.includes('source-map')) { - const P = k.devtool.includes('hidden') - const R = k.devtool.includes('inline') - const L = k.devtool.includes('eval') - const N = k.devtool.includes('cheap') - const q = k.devtool.includes('module') - const ae = k.devtool.includes('nosources') - const le = L ? E(21234) : E(83814) - new le({ - filename: R ? null : k.output.sourceMapFilename, - moduleFilenameTemplate: k.output.devtoolModuleFilenameTemplate, - fallbackModuleFilenameTemplate: - k.output.devtoolFallbackModuleFilenameTemplate, - append: P ? false : undefined, - module: q ? true : N ? false : true, - columns: N ? false : true, - noSources: ae, - namespace: k.output.devtoolNamespace, - }).apply(v) - } else if (k.devtool.includes('eval')) { - const P = E(87543) - new P({ - moduleFilenameTemplate: k.output.devtoolModuleFilenameTemplate, - namespace: k.output.devtoolNamespace, - }).apply(v) - } - } - new L().apply(v) - new N().apply(v) - new R().apply(v) - if (!k.experiments.outputModule) { - if (k.output.module) { - throw new Error( - "'output.module: true' is only allowed when 'experiments.outputModule' is enabled" - ) - } - if (k.output.enabledLibraryTypes.includes('module')) { - throw new Error( - 'library type "module" is only allowed when \'experiments.outputModule\' is enabled' - ) - } - if (k.externalsType === 'module') { - throw new Error( - "'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled" - ) - } - } - if (k.experiments.syncWebAssembly) { - const P = E(3843) - new P({ mangleImports: k.optimization.mangleWasmImports }).apply(v) - } - if (k.experiments.asyncWebAssembly) { - const P = E(70006) - new P({ mangleImports: k.optimization.mangleWasmImports }).apply(v) - } - if (k.experiments.css) { - const P = E(76395) - new P(k.experiments.css).apply(v) - } - if (k.experiments.lazyCompilation) { - const P = E(93239) - const R = - typeof k.experiments.lazyCompilation === 'object' - ? k.experiments.lazyCompilation - : null - new P({ - backend: - typeof R.backend === 'function' - ? R.backend - : E(75218)({ - ...R.backend, - client: - (R.backend && R.backend.client) || - k.externalsPresets.node - ? E.ab + 'lazy-compilation-node.js' - : E.ab + 'lazy-compilation-web.js', - }), - entries: !R || R.entries !== false, - imports: !R || R.imports !== false, - test: (R && R.test) || undefined, - }).apply(v) - } - if (k.experiments.buildHttp) { - const P = E(73500) - const R = k.experiments.buildHttp - new P(R).apply(v) - } - new ae().apply(v) - v.hooks.entryOption.call(k.context, k.entry) - new pe().apply(v) - new nt().apply(v) - new Be().apply(v) - new qe().apply(v) - new ye().apply(v) - new He({ topLevelAwait: k.experiments.topLevelAwait }).apply(v) - if (k.amd !== false) { - const P = E(80471) - const R = E(97679) - new P(k.amd || {}).apply(v) - new R().apply(v) - } - new Ge().apply(v) - new Ve({}).apply(v) - if (k.node !== false) { - const P = E(12661) - new P(k.node).apply(v) - } - new me({ module: k.output.module }).apply(v) - new Ie().apply(v) - new Me().apply(v) - new _e().apply(v) - new je().apply(v) - new Xe().apply(v) - new Ye().apply(v) - new Ke().apply(v) - new Je().apply(v) - new We().apply(v) - new Ze().apply(v) - new Qe().apply(v) - new et().apply(v) - new tt( - k.output.workerChunkLoading, - k.output.workerWasmLoading, - k.output.module, - k.output.workerPublicPath - ).apply(v) - new rt().apply(v) - new ot().apply(v) - new it().apply(v) - new st().apply(v) - if (typeof k.mode !== 'string') { - const k = E(41744) - new k().apply(v) - } - const P = E(4945) - new P().apply(v) - if (k.optimization.removeAvailableModules) { - const k = E(21352) - new k().apply(v) - } - if (k.optimization.removeEmptyChunks) { - const k = E(37238) - new k().apply(v) - } - if (k.optimization.mergeDuplicateChunks) { - const k = E(79008) - new k().apply(v) - } - if (k.optimization.flagIncludedChunks) { - const k = E(63511) - new k().apply(v) - } - if (k.optimization.sideEffects) { - const P = E(57214) - new P(k.optimization.sideEffects === true).apply(v) - } - if (k.optimization.providedExports) { - const k = E(13893) - new k().apply(v) - } - if (k.optimization.usedExports) { - const P = E(25984) - new P(k.optimization.usedExports === 'global').apply(v) - } - if (k.optimization.innerGraph) { - const k = E(31911) - new k().apply(v) - } - if (k.optimization.mangleExports) { - const P = E(45287) - new P(k.optimization.mangleExports !== 'size').apply(v) - } - if (k.optimization.concatenateModules) { - const k = E(30899) - new k().apply(v) - } - if (k.optimization.splitChunks) { - const P = E(30829) - new P(k.optimization.splitChunks).apply(v) - } - if (k.optimization.runtimeChunk) { - const P = E(89921) - new P(k.optimization.runtimeChunk).apply(v) - } - if (!k.optimization.emitOnErrors) { - const k = E(75018) - new k().apply(v) - } - if (k.optimization.realContentHash) { - const P = E(71183) - new P({ - hashFunction: k.output.hashFunction, - hashDigest: k.output.hashDigest, - }).apply(v) - } - if (k.optimization.checkWasmTypes) { - const k = E(6754) - new k().apply(v) - } - const ct = k.optimization.moduleIds - if (ct) { - switch (ct) { - case 'natural': { - const k = E(98122) - new k().apply(v) - break - } - case 'named': { - const k = E(64908) - new k().apply(v) - break - } - case 'hashed': { - const P = E(80025) - const R = E(81973) - new P( - 'optimization.moduleIds', - 'hashed', - 'deterministic' - ).apply(v) - new R({ hashFunction: k.output.hashFunction }).apply(v) - break - } - case 'deterministic': { - const k = E(40288) - new k().apply(v) - break - } - case 'size': { - const k = E(40654) - new k({ prioritiseInitial: true }).apply(v) - break - } - default: - throw new Error( - `webpack bug: moduleIds: ${ct} is not implemented` - ) - } - } - const lt = k.optimization.chunkIds - if (lt) { - switch (lt) { - case 'natural': { - const k = E(76914) - new k().apply(v) - break - } - case 'named': { - const k = E(38372) - new k().apply(v) - break - } - case 'deterministic': { - const k = E(89002) - new k().apply(v) - break - } - case 'size': { - const k = E(12976) - new k({ prioritiseInitial: true }).apply(v) - break - } - case 'total-size': { - const k = E(12976) - new k({ prioritiseInitial: false }).apply(v) - break - } - default: - throw new Error( - `webpack bug: chunkIds: ${lt} is not implemented` - ) - } - } - if (k.optimization.nodeEnv) { - const P = E(91602) - new P({ - 'process.env.NODE_ENV': JSON.stringify(k.optimization.nodeEnv), - }).apply(v) - } - if (k.optimization.minimize) { - for (const E of k.optimization.minimizer) { - if (typeof E === 'function') { - E.call(v, v) - } else if (E !== '...') { - E.apply(v) - } - } - } - if (k.performance) { - const P = E(338) - new P(k.performance).apply(v) - } - new Te().apply(v) - new le({ portableIds: k.optimization.portableRecords }).apply(v) - new Ne().apply(v) - const ut = E(79438) - new ut(k.snapshot.managedPaths, k.snapshot.immutablePaths).apply(v) - if (k.cache && typeof k.cache === 'object') { - const P = k.cache - switch (P.type) { - case 'memory': { - if (isFinite(P.maxGenerations)) { - const k = E(17882) - new k({ maxGenerations: P.maxGenerations }).apply(v) - } else { - const k = E(66494) - new k().apply(v) - } - if (P.cacheUnaffected) { - if (!k.experiments.cacheUnaffected) { - throw new Error( - "'cache.cacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled" - ) - } - v.moduleMemCaches = new Map() - } - break - } - case 'filesystem': { - const R = E(26876) - for (const k in P.buildDependencies) { - const E = P.buildDependencies[k] - new R(E).apply(v) - } - if (!isFinite(P.maxMemoryGenerations)) { - const k = E(66494) - new k().apply(v) - } else if (P.maxMemoryGenerations !== 0) { - const k = E(17882) - new k({ maxGenerations: P.maxMemoryGenerations }).apply(v) - } - if (P.memoryCacheUnaffected) { - if (!k.experiments.cacheUnaffected) { - throw new Error( - "'cache.memoryCacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled" - ) - } - v.moduleMemCaches = new Map() - } - switch (P.store) { - case 'pack': { - const R = E(87251) - const L = E(30124) - new R( - new L({ - compiler: v, - fs: v.intermediateFileSystem, - context: k.context, - cacheLocation: P.cacheLocation, - version: P.version, - logger: v.getInfrastructureLogger( - 'webpack.cache.PackFileCacheStrategy' - ), - snapshot: k.snapshot, - maxAge: P.maxAge, - profile: P.profile, - allowCollectingMemory: P.allowCollectingMemory, - compression: P.compression, - readonly: P.readonly, - }), - P.idleTimeout, - P.idleTimeoutForInitialStore, - P.idleTimeoutAfterLargeChanges - ).apply(v) - break - } - default: - throw new Error('Unhandled value for cache.store') - } - break - } - default: - throw new Error(`Unknown cache type ${P.type}`) - } - } - new Ue().apply(v) - if (k.ignoreWarnings && k.ignoreWarnings.length > 0) { - const P = E(21324) - new P(k.ignoreWarnings).apply(v) - } - v.hooks.afterPlugins.call(v) - if (!v.inputFileSystem) { - throw new Error('No input filesystem provided') - } - v.resolverFactory.hooks.resolveOptions - .for('normal') - .tap('WebpackOptionsApply', (E) => { - E = at(k.resolve, E) - E.fileSystem = v.inputFileSystem - return E - }) - v.resolverFactory.hooks.resolveOptions - .for('context') - .tap('WebpackOptionsApply', (E) => { - E = at(k.resolve, E) - E.fileSystem = v.inputFileSystem - E.resolveToContext = true - return E - }) - v.resolverFactory.hooks.resolveOptions - .for('loader') - .tap('WebpackOptionsApply', (E) => { - E = at(k.resolveLoader, E) - E.fileSystem = v.inputFileSystem - return E - }) - v.hooks.afterResolvers.call(v) - return k - } - } - k.exports = WebpackOptionsApply - }, - 21247: function (k, v, E) { - 'use strict' - const { applyWebpackOptionsDefaults: P } = E(25801) - const { getNormalizedWebpackOptions: R } = E(47339) - class WebpackOptionsDefaulter { - process(k) { - k = R(k) - P(k) - return k - } - } - k.exports = WebpackOptionsDefaulter - }, - 38200: function (k, v, E) { - 'use strict' - const P = E(24230) - const R = E(71017) - const { RawSource: L } = E(51255) - const N = E(91213) - const q = E(91597) - const { ASSET_MODULE_TYPE: ae } = E(93622) - const le = E(56727) - const pe = E(74012) - const { makePathsRelative: me } = E(65315) - const ye = E(64119) - const mergeMaybeArrays = (k, v) => { - const E = new Set() - if (Array.isArray(k)) for (const v of k) E.add(v) - else E.add(k) - if (Array.isArray(v)) for (const k of v) E.add(k) - else E.add(v) - return Array.from(E) - } - const mergeAssetInfo = (k, v) => { - const E = { ...k, ...v } - for (const P of Object.keys(k)) { - if (P in v) { - if (k[P] === v[P]) continue - switch (P) { - case 'fullhash': - case 'chunkhash': - case 'modulehash': - case 'contenthash': - E[P] = mergeMaybeArrays(k[P], v[P]) - break - case 'immutable': - case 'development': - case 'hotModuleReplacement': - case 'javascriptModule': - E[P] = k[P] || v[P] - break - case 'related': - E[P] = mergeRelatedInfo(k[P], v[P]) - break - default: - throw new Error(`Can't handle conflicting asset info for ${P}`) - } - } - } - return E - } - const mergeRelatedInfo = (k, v) => { - const E = { ...k, ...v } - for (const P of Object.keys(k)) { - if (P in v) { - if (k[P] === v[P]) continue - E[P] = mergeMaybeArrays(k[P], v[P]) - } - } - return E - } - const encodeDataUri = (k, v) => { - let E - switch (k) { - case 'base64': { - E = v.buffer().toString('base64') - break - } - case false: { - const k = v.source() - if (typeof k !== 'string') { - E = k.toString('utf-8') - } - E = encodeURIComponent(E).replace( - /[!'()*]/g, - (k) => '%' + k.codePointAt(0).toString(16) - ) - break - } - default: - throw new Error(`Unsupported encoding '${k}'`) - } - return E - } - const decodeDataUriContent = (k, v) => { - const E = k === 'base64' - if (E) { - return Buffer.from(v, 'base64') - } - try { - return Buffer.from(decodeURIComponent(v), 'ascii') - } catch (k) { - return Buffer.from(v, 'ascii') - } - } - const _e = new Set(['javascript']) - const Ie = new Set(['javascript', ae]) - const Me = 'base64' - class AssetGenerator extends q { - constructor(k, v, E, P, R) { - super() - this.dataUrlOptions = k - this.filename = v - this.publicPath = E - this.outputPath = P - this.emit = R - } - getSourceFileName(k, v) { - return me( - v.compilation.compiler.context, - k.matchResource || k.resource, - v.compilation.compiler.root - ).replace(/^\.\//, '') - } - getConcatenationBailoutReason(k, v) { - return undefined - } - getMimeType(k) { - if (typeof this.dataUrlOptions === 'function') { - throw new Error( - 'This method must not be called when dataUrlOptions is a function' - ) - } - let v = this.dataUrlOptions.mimetype - if (v === undefined) { - const E = R.extname(k.nameForCondition()) - if ( - k.resourceResolveData && - k.resourceResolveData.mimetype !== undefined - ) { - v = - k.resourceResolveData.mimetype + - k.resourceResolveData.parameters - } else if (E) { - v = P.lookup(E) - if (typeof v !== 'string') { - throw new Error( - "DataUrl can't be generated automatically, " + - `because there is no mimetype for "${E}" in mimetype database. ` + - 'Either pass a mimetype via "generator.mimetype" or ' + - 'use type: "asset/resource" to create a resource file instead of a DataUrl' - ) - } - } - } - if (typeof v !== 'string') { - throw new Error( - "DataUrl can't be generated automatically. " + - 'Either pass a mimetype via "generator.mimetype" or ' + - 'use type: "asset/resource" to create a resource file instead of a DataUrl' - ) - } - return v - } - generate( - k, - { - runtime: v, - concatenationScope: E, - chunkGraph: P, - runtimeTemplate: q, - runtimeRequirements: me, - type: _e, - getData: Ie, - } - ) { - switch (_e) { - case ae: - return k.originalSource() - default: { - let ae - const _e = k.originalSource() - if (k.buildInfo.dataUrl) { - let v - if (typeof this.dataUrlOptions === 'function') { - v = this.dataUrlOptions.call(null, _e.source(), { - filename: k.matchResource || k.resource, - module: k, - }) - } else { - let E = this.dataUrlOptions.encoding - if (E === undefined) { - if ( - k.resourceResolveData && - k.resourceResolveData.encoding !== undefined - ) { - E = k.resourceResolveData.encoding - } - } - if (E === undefined) { - E = Me - } - const P = this.getMimeType(k) - let R - if ( - k.resourceResolveData && - k.resourceResolveData.encoding === E && - decodeDataUriContent( - k.resourceResolveData.encoding, - k.resourceResolveData.encodedContent - ).equals(_e.buffer()) - ) { - R = k.resourceResolveData.encodedContent - } else { - R = encodeDataUri(E, _e) - } - v = `data:${P}${E ? `;${E}` : ''},${R}` - } - const E = Ie() - E.set('url', Buffer.from(v)) - ae = JSON.stringify(v) - } else { - const E = this.filename || q.outputOptions.assetModuleFilename - const L = pe(q.outputOptions.hashFunction) - if (q.outputOptions.hashSalt) { - L.update(q.outputOptions.hashSalt) - } - L.update(_e.buffer()) - const N = L.digest(q.outputOptions.hashDigest) - const Me = ye(N, q.outputOptions.hashDigestLength) - k.buildInfo.fullContentHash = N - const Te = this.getSourceFileName(k, q) - let { path: je, info: Ne } = q.compilation.getAssetPathWithInfo( - E, - { - module: k, - runtime: v, - filename: Te, - chunkGraph: P, - contentHash: Me, - } - ) - let Be - if (this.publicPath !== undefined) { - const { path: E, info: R } = - q.compilation.getAssetPathWithInfo(this.publicPath, { - module: k, - runtime: v, - filename: Te, - chunkGraph: P, - contentHash: Me, - }) - Ne = mergeAssetInfo(Ne, R) - Be = JSON.stringify(E + je) - } else { - me.add(le.publicPath) - Be = q.concatenation({ expr: le.publicPath }, je) - } - Ne = { sourceFilename: Te, ...Ne } - if (this.outputPath) { - const { path: E, info: L } = - q.compilation.getAssetPathWithInfo(this.outputPath, { - module: k, - runtime: v, - filename: Te, - chunkGraph: P, - contentHash: Me, - }) - Ne = mergeAssetInfo(Ne, L) - je = R.posix.join(E, je) - } - k.buildInfo.filename = je - k.buildInfo.assetInfo = Ne - if (Ie) { - const k = Ie() - k.set('fullContentHash', N) - k.set('filename', je) - k.set('assetInfo', Ne) - } - ae = Be - } - if (E) { - E.registerNamespaceExport(N.NAMESPACE_OBJECT_EXPORT) - return new L( - `${q.supportsConst() ? 'const' : 'var'} ${ - N.NAMESPACE_OBJECT_EXPORT - } = ${ae};` - ) - } else { - me.add(le.module) - return new L(`${le.module}.exports = ${ae};`) - } - } - } - } - getTypes(k) { - if ((k.buildInfo && k.buildInfo.dataUrl) || this.emit === false) { - return _e - } else { - return Ie - } - } - getSize(k, v) { - switch (v) { - case ae: { - const v = k.originalSource() - if (!v) { - return 0 - } - return v.size() - } - default: - if (k.buildInfo && k.buildInfo.dataUrl) { - const v = k.originalSource() - if (!v) { - return 0 - } - return v.size() * 1.34 + 36 - } else { - return 42 - } - } - } - updateHash( - k, - { module: v, runtime: E, runtimeTemplate: P, chunkGraph: R } - ) { - if (v.buildInfo.dataUrl) { - k.update('data-url') - if (typeof this.dataUrlOptions === 'function') { - const v = this.dataUrlOptions.ident - if (v) k.update(v) - } else { - if ( - this.dataUrlOptions.encoding && - this.dataUrlOptions.encoding !== Me - ) { - k.update(this.dataUrlOptions.encoding) - } - if (this.dataUrlOptions.mimetype) - k.update(this.dataUrlOptions.mimetype) - } - } else { - k.update('resource') - const L = { - module: v, - runtime: E, - filename: this.getSourceFileName(v, P), - chunkGraph: R, - contentHash: P.contentHashReplacement, - } - if (typeof this.publicPath === 'function') { - k.update('path') - const v = {} - k.update(this.publicPath(L, v)) - k.update(JSON.stringify(v)) - } else if (this.publicPath) { - k.update('path') - k.update(this.publicPath) - } else { - k.update('no-path') - } - const N = this.filename || P.outputOptions.assetModuleFilename - const { path: q, info: ae } = P.compilation.getAssetPathWithInfo( - N, - L - ) - k.update(q) - k.update(JSON.stringify(ae)) - } - } - } - k.exports = AssetGenerator - }, - 43722: function (k, v, E) { - 'use strict' - const { - ASSET_MODULE_TYPE_RESOURCE: P, - ASSET_MODULE_TYPE_INLINE: R, - ASSET_MODULE_TYPE: L, - ASSET_MODULE_TYPE_SOURCE: N, - } = E(93622) - const { cleverMerge: q } = E(99454) - const { compareModulesByIdentifier: ae } = E(95648) - const le = E(92198) - const pe = E(20631) - const getSchema = (k) => { - const { definitions: v } = E(98625) - return { definitions: v, oneOf: [{ $ref: `#/definitions/${k}` }] } - } - const me = { name: 'Asset Modules Plugin', baseDataPath: 'generator' } - const ye = { - asset: le(E(38070), () => getSchema('AssetGeneratorOptions'), me), - 'asset/resource': le( - E(77964), - () => getSchema('AssetResourceGeneratorOptions'), - me - ), - 'asset/inline': le( - E(62853), - () => getSchema('AssetInlineGeneratorOptions'), - me - ), - } - const _e = le(E(60578), () => getSchema('AssetParserOptions'), { - name: 'Asset Modules Plugin', - baseDataPath: 'parser', - }) - const Ie = pe(() => E(38200)) - const Me = pe(() => E(47930)) - const Te = pe(() => E(51073)) - const je = pe(() => E(15140)) - const Ne = L - const Be = 'AssetModulesPlugin' - class AssetModulesPlugin { - apply(k) { - k.hooks.compilation.tap(Be, (v, { normalModuleFactory: E }) => { - E.hooks.createParser.for(L).tap(Be, (v) => { - _e(v) - v = q(k.options.module.parser.asset, v) - let E = v.dataUrlCondition - if (!E || typeof E === 'object') { - E = { maxSize: 8096, ...E } - } - const P = Me() - return new P(E) - }) - E.hooks.createParser.for(R).tap(Be, (k) => { - const v = Me() - return new v(true) - }) - E.hooks.createParser.for(P).tap(Be, (k) => { - const v = Me() - return new v(false) - }) - E.hooks.createParser.for(N).tap(Be, (k) => { - const v = Te() - return new v() - }) - for (const k of [L, R, P]) { - E.hooks.createGenerator.for(k).tap(Be, (v) => { - ye[k](v) - let E = undefined - if (k !== P) { - E = v.dataUrl - if (!E || typeof E === 'object') { - E = { encoding: undefined, mimetype: undefined, ...E } - } - } - let L = undefined - let N = undefined - let q = undefined - if (k !== R) { - L = v.filename - N = v.publicPath - q = v.outputPath - } - const ae = Ie() - return new ae(E, L, N, q, v.emit !== false) - }) - } - E.hooks.createGenerator.for(N).tap(Be, () => { - const k = je() - return new k() - }) - v.hooks.renderManifest.tap(Be, (k, E) => { - const { chunkGraph: P } = v - const { chunk: R, codeGenerationResults: N } = E - const q = P.getOrderedChunkModulesIterableBySourceType(R, L, ae) - if (q) { - for (const v of q) { - try { - const E = N.get(v, R.runtime) - k.push({ - render: () => E.sources.get(Ne), - filename: v.buildInfo.filename || E.data.get('filename'), - info: v.buildInfo.assetInfo || E.data.get('assetInfo'), - auxiliary: true, - identifier: `assetModule${P.getModuleId(v)}`, - hash: - v.buildInfo.fullContentHash || - E.data.get('fullContentHash'), - }) - } catch (k) { - k.message += `\nduring rendering of asset ${v.identifier()}` - throw k - } - } - } - return k - }) - v.hooks.prepareModuleExecution.tap('AssetModulesPlugin', (k, v) => { - const { codeGenerationResult: E } = k - const P = E.sources.get(L) - if (P === undefined) return - v.assets.set(E.data.get('filename'), { - source: P, - info: E.data.get('assetInfo'), - }) - }) - }) - } - } - k.exports = AssetModulesPlugin - }, - 47930: function (k, v, E) { - 'use strict' - const P = E(17381) - class AssetParser extends P { - constructor(k) { - super() - this.dataUrlCondition = k - } - parse(k, v) { - if (typeof k === 'object' && !Buffer.isBuffer(k)) { - throw new Error("AssetParser doesn't accept preparsed AST") - } - v.module.buildInfo.strict = true - v.module.buildMeta.exportsType = 'default' - v.module.buildMeta.defaultObject = false - if (typeof this.dataUrlCondition === 'function') { - v.module.buildInfo.dataUrl = this.dataUrlCondition(k, { - filename: v.module.matchResource || v.module.resource, - module: v.module, - }) - } else if (typeof this.dataUrlCondition === 'boolean') { - v.module.buildInfo.dataUrl = this.dataUrlCondition - } else if ( - this.dataUrlCondition && - typeof this.dataUrlCondition === 'object' - ) { - v.module.buildInfo.dataUrl = - Buffer.byteLength(k) <= this.dataUrlCondition.maxSize - } else { - throw new Error('Unexpected dataUrlCondition type') - } - return v - } - } - k.exports = AssetParser - }, - 15140: function (k, v, E) { - 'use strict' - const { RawSource: P } = E(51255) - const R = E(91213) - const L = E(91597) - const N = E(56727) - const q = new Set(['javascript']) - class AssetSourceGenerator extends L { - generate( - k, - { - concatenationScope: v, - chunkGraph: E, - runtimeTemplate: L, - runtimeRequirements: q, - } - ) { - const ae = k.originalSource() - if (!ae) { - return new P('') - } - const le = ae.source() - let pe - if (typeof le === 'string') { - pe = le - } else { - pe = le.toString('utf-8') - } - let me - if (v) { - v.registerNamespaceExport(R.NAMESPACE_OBJECT_EXPORT) - me = `${L.supportsConst() ? 'const' : 'var'} ${ - R.NAMESPACE_OBJECT_EXPORT - } = ${JSON.stringify(pe)};` - } else { - q.add(N.module) - me = `${N.module}.exports = ${JSON.stringify(pe)};` - } - return new P(me) - } - getConcatenationBailoutReason(k, v) { - return undefined - } - getTypes(k) { - return q - } - getSize(k, v) { - const E = k.originalSource() - if (!E) { - return 0 - } - return E.size() + 12 - } - } - k.exports = AssetSourceGenerator - }, - 51073: function (k, v, E) { - 'use strict' - const P = E(17381) - class AssetSourceParser extends P { - parse(k, v) { - if (typeof k === 'object' && !Buffer.isBuffer(k)) { - throw new Error("AssetSourceParser doesn't accept preparsed AST") - } - const { module: E } = v - E.buildInfo.strict = true - E.buildMeta.exportsType = 'default' - v.module.buildMeta.defaultObject = false - return v - } - } - k.exports = AssetSourceParser - }, - 26619: function (k, v, E) { - 'use strict' - const { RawSource: P } = E(51255) - const R = E(88396) - const { ASSET_MODULE_TYPE_RAW_DATA_URL: L } = E(93622) - const N = E(56727) - const q = E(58528) - const ae = new Set(['javascript']) - class RawDataUrlModule extends R { - constructor(k, v, E) { - super(L, null) - this.url = k - this.urlBuffer = k ? Buffer.from(k) : undefined - this.identifierStr = v || this.url - this.readableIdentifierStr = E || this.identifierStr - } - getSourceTypes() { - return ae - } - identifier() { - return this.identifierStr - } - size(k) { - if (this.url === undefined) this.url = this.urlBuffer.toString() - return Math.max(1, this.url.length) - } - readableIdentifier(k) { - return k.shorten(this.readableIdentifierStr) - } - needBuild(k, v) { - return v(null, !this.buildMeta) - } - build(k, v, E, P, R) { - this.buildMeta = {} - this.buildInfo = { cacheable: true } - R() - } - codeGeneration(k) { - if (this.url === undefined) this.url = this.urlBuffer.toString() - const v = new Map() - v.set( - 'javascript', - new P(`module.exports = ${JSON.stringify(this.url)};`) - ) - const E = new Map() - E.set('url', this.urlBuffer) - const R = new Set() - R.add(N.module) - return { sources: v, runtimeRequirements: R, data: E } - } - updateHash(k, v) { - k.update(this.urlBuffer) - super.updateHash(k, v) - } - serialize(k) { - const { write: v } = k - v(this.urlBuffer) - v(this.identifierStr) - v(this.readableIdentifierStr) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.urlBuffer = v() - this.identifierStr = v() - this.readableIdentifierStr = v() - super.deserialize(k) - } - } - q(RawDataUrlModule, 'webpack/lib/asset/RawDataUrlModule') - k.exports = RawDataUrlModule - }, - 55770: function (k, v, E) { - 'use strict' - const P = E(88113) - const R = E(56727) - const L = E(95041) - class AwaitDependenciesInitFragment extends P { - constructor(k) { - super(undefined, P.STAGE_ASYNC_DEPENDENCIES, 0, 'await-dependencies') - this.promises = k - } - merge(k) { - const v = new Set(k.promises) - for (const k of this.promises) { - v.add(k) - } - return new AwaitDependenciesInitFragment(v) - } - getContent({ runtimeRequirements: k }) { - k.add(R.module) - const v = this.promises - if (v.size === 0) { - return '' - } - if (v.size === 1) { - for (const k of v) { - return L.asString([ - `var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${k}]);`, - `${k} = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];`, - '', - ]) - } - } - const E = Array.from(v).join(', ') - return L.asString([ - `var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${E}]);`, - `([${E}] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);`, - '', - ]) - } - } - k.exports = AwaitDependenciesInitFragment - }, - 53877: function (k, v, E) { - 'use strict' - const P = E(69184) - class InferAsyncModulesPlugin { - apply(k) { - k.hooks.compilation.tap('InferAsyncModulesPlugin', (k) => { - const { moduleGraph: v } = k - k.hooks.finishModules.tap('InferAsyncModulesPlugin', (k) => { - const E = new Set() - for (const v of k) { - if (v.buildMeta && v.buildMeta.async) { - E.add(v) - } - } - for (const k of E) { - v.setAsync(k) - for (const [R, L] of v.getIncomingConnectionsByOriginModule( - k - )) { - if ( - L.some( - (k) => - k.dependency instanceof P && k.isTargetActive(undefined) - ) - ) { - E.add(R) - } - } - } - }) - }) - } - } - k.exports = InferAsyncModulesPlugin - }, - 82551: function (k, v, E) { - 'use strict' - const P = E(51641) - const { connectChunkGroupParentAndChild: R } = E(18467) - const L = E(86267) - const { getEntryRuntime: N, mergeRuntime: q } = E(1540) - const ae = new Set() - ae.plus = ae - const bySetSize = (k, v) => v.size + v.plus.size - k.size - k.plus.size - const extractBlockModules = (k, v, E, P) => { - let R - let N - const q = [] - const ae = [k] - while (ae.length > 0) { - const k = ae.pop() - const v = [] - q.push(v) - P.set(k, v) - for (const v of k.blocks) { - ae.push(v) - } - } - for (const L of v.getOutgoingConnections(k)) { - const k = L.dependency - if (!k) continue - const q = L.module - if (!q) continue - if (L.weak) continue - const ae = L.getActiveState(E) - if (ae === false) continue - const le = v.getParentBlock(k) - let pe = v.getParentBlockIndex(k) - if (pe < 0) { - pe = le.dependencies.indexOf(k) - } - if (R !== le) { - N = P.get((R = le)) - } - const me = pe << 2 - N[me] = q - N[me + 1] = ae - } - for (const k of q) { - if (k.length === 0) continue - let v - let E = 0 - e: for (let P = 0; P < k.length; P += 2) { - const R = k[P] - if (R === undefined) continue - const N = k[P + 1] - if (v === undefined) { - let P = 0 - for (; P < E; P += 2) { - if (k[P] === R) { - const v = k[P + 1] - if (v === true) continue e - k[P + 1] = L.addConnectionStates(v, N) - } - } - k[E] = R - E++ - k[E] = N - E++ - if (E > 30) { - v = new Map() - for (let P = 0; P < E; P += 2) { - v.set(k[P], P + 1) - } - } - } else { - const P = v.get(R) - if (P !== undefined) { - const v = k[P] - if (v === true) continue e - k[P] = L.addConnectionStates(v, N) - } else { - k[E] = R - E++ - k[E] = N - v.set(R, E) - E++ - } - } - } - k.length = E - } - } - const visitModules = (k, v, E, R, L, le, pe) => { - const { moduleGraph: me, chunkGraph: ye, moduleMemCaches: _e } = v - const Ie = new Map() - let Me = false - let Te - const getBlockModules = (v, E) => { - if (Me !== E) { - Te = Ie.get(E) - if (Te === undefined) { - Te = new Map() - Ie.set(E, Te) - } - } - let P = Te.get(v) - if (P !== undefined) return P - const R = v.getRootBlock() - const L = _e && _e.get(R) - if (L !== undefined) { - const P = L.provide('bundleChunkGraph.blockModules', E, () => { - k.time('visitModules: prepare') - const v = new Map() - extractBlockModules(R, me, E, v) - k.timeAggregate('visitModules: prepare') - return v - }) - for (const [k, v] of P) Te.set(k, v) - return P.get(v) - } else { - k.time('visitModules: prepare') - extractBlockModules(R, me, E, Te) - P = Te.get(v) - k.timeAggregate('visitModules: prepare') - return P - } - } - let je = 0 - let Ne = 0 - let Be = 0 - let qe = 0 - let Ue = 0 - let Ge = 0 - let He = 0 - let We = 0 - let Qe = 0 - let Je = 0 - let Ve = 0 - let Ke = 0 - let Ye = 0 - let Xe = 0 - let Ze = 0 - let et = 0 - const tt = new Map() - const nt = new Map() - const st = new Map() - const rt = 0 - const ot = 1 - const it = 2 - const at = 3 - const ct = 4 - const lt = 5 - let ut = [] - const pt = new Map() - const dt = new Set() - for (const [k, P] of E) { - const E = N(v, k.name, k.options) - const L = { - chunkGroup: k, - runtime: E, - minAvailableModules: undefined, - minAvailableModulesOwned: false, - availableModulesToBeMerged: [], - skippedItems: undefined, - resultingAvailableModules: undefined, - children: undefined, - availableSources: undefined, - availableChildren: undefined, - preOrderIndex: 0, - postOrderIndex: 0, - chunkLoading: - k.options.chunkLoading !== undefined - ? k.options.chunkLoading !== false - : v.outputOptions.chunkLoading !== false, - asyncChunks: - k.options.asyncChunks !== undefined - ? k.options.asyncChunks - : v.outputOptions.asyncChunks !== false, - } - k.index = Xe++ - if (k.getNumberOfParents() > 0) { - const k = new Set() - for (const v of P) { - k.add(v) - } - L.skippedItems = k - dt.add(L) - } else { - L.minAvailableModules = ae - const v = k.getEntrypointChunk() - for (const E of P) { - ut.push({ - action: ot, - block: E, - module: E, - chunk: v, - chunkGroup: k, - chunkGroupInfo: L, - }) - } - } - R.set(k, L) - if (k.name) { - nt.set(k.name, L) - } - } - for (const k of dt) { - const { chunkGroup: v } = k - k.availableSources = new Set() - for (const E of v.parentsIterable) { - const v = R.get(E) - k.availableSources.add(v) - if (v.availableChildren === undefined) { - v.availableChildren = new Set() - } - v.availableChildren.add(k) - } - } - ut.reverse() - const ft = new Set() - const ht = new Set() - let mt = [] - const gt = [] - const yt = [] - const bt = [] - let xt - let kt - let vt - let wt - let At - const iteratorBlock = (k) => { - let E = tt.get(k) - let N - let q - const le = k.groupOptions && k.groupOptions.entryOptions - if (E === undefined) { - const me = (k.groupOptions && k.groupOptions.name) || k.chunkName - if (le) { - E = st.get(me) - if (!E) { - q = v.addAsyncEntrypoint(le, xt, k.loc, k.request) - q.index = Xe++ - E = { - chunkGroup: q, - runtime: q.options.runtime || q.name, - minAvailableModules: ae, - minAvailableModulesOwned: false, - availableModulesToBeMerged: [], - skippedItems: undefined, - resultingAvailableModules: undefined, - children: undefined, - availableSources: undefined, - availableChildren: undefined, - preOrderIndex: 0, - postOrderIndex: 0, - chunkLoading: - le.chunkLoading !== undefined - ? le.chunkLoading !== false - : At.chunkLoading, - asyncChunks: - le.asyncChunks !== undefined - ? le.asyncChunks - : At.asyncChunks, - } - R.set(q, E) - ye.connectBlockAndChunkGroup(k, q) - if (me) { - st.set(me, E) - } - } else { - q = E.chunkGroup - q.addOrigin(xt, k.loc, k.request) - ye.connectBlockAndChunkGroup(k, q) - } - mt.push({ - action: ct, - block: k, - module: xt, - chunk: q.chunks[0], - chunkGroup: q, - chunkGroupInfo: E, - }) - } else if (!At.asyncChunks || !At.chunkLoading) { - ut.push({ - action: at, - block: k, - module: xt, - chunk: kt, - chunkGroup: vt, - chunkGroupInfo: At, - }) - } else { - E = me && nt.get(me) - if (!E) { - N = v.addChunkInGroup( - k.groupOptions || k.chunkName, - xt, - k.loc, - k.request - ) - N.index = Xe++ - E = { - chunkGroup: N, - runtime: At.runtime, - minAvailableModules: undefined, - minAvailableModulesOwned: undefined, - availableModulesToBeMerged: [], - skippedItems: undefined, - resultingAvailableModules: undefined, - children: undefined, - availableSources: undefined, - availableChildren: undefined, - preOrderIndex: 0, - postOrderIndex: 0, - chunkLoading: At.chunkLoading, - asyncChunks: At.asyncChunks, - } - pe.add(N) - R.set(N, E) - if (me) { - nt.set(me, E) - } - } else { - N = E.chunkGroup - if (N.isInitial()) { - v.errors.push(new P(me, xt, k.loc)) - N = vt - } else { - N.addOptions(k.groupOptions) - } - N.addOrigin(xt, k.loc, k.request) - } - L.set(k, []) - } - tt.set(k, E) - } else if (le) { - q = E.chunkGroup - } else { - N = E.chunkGroup - } - if (N !== undefined) { - L.get(k).push({ originChunkGroupInfo: At, chunkGroup: N }) - let v = pt.get(At) - if (v === undefined) { - v = new Set() - pt.set(At, v) - } - v.add(E) - mt.push({ - action: at, - block: k, - module: xt, - chunk: N.chunks[0], - chunkGroup: N, - chunkGroupInfo: E, - }) - } else if (q !== undefined) { - At.chunkGroup.addAsyncEntrypoint(q) - } - } - const processBlock = (k) => { - Ne++ - const v = getBlockModules(k, At.runtime) - if (v !== undefined) { - const { minAvailableModules: k } = At - for (let E = 0; E < v.length; E += 2) { - const P = v[E] - if (ye.isModuleInChunk(P, kt)) { - continue - } - const R = v[E + 1] - if (R !== true) { - gt.push([P, R]) - if (R === false) continue - } - if (R === true && (k.has(P) || k.plus.has(P))) { - yt.push(P) - continue - } - bt.push({ - action: R === true ? ot : at, - block: P, - module: P, - chunk: kt, - chunkGroup: vt, - chunkGroupInfo: At, - }) - } - if (gt.length > 0) { - let { skippedModuleConnections: k } = At - if (k === undefined) { - At.skippedModuleConnections = k = new Set() - } - for (let v = gt.length - 1; v >= 0; v--) { - k.add(gt[v]) - } - gt.length = 0 - } - if (yt.length > 0) { - let { skippedItems: k } = At - if (k === undefined) { - At.skippedItems = k = new Set() - } - for (let v = yt.length - 1; v >= 0; v--) { - k.add(yt[v]) - } - yt.length = 0 - } - if (bt.length > 0) { - for (let k = bt.length - 1; k >= 0; k--) { - ut.push(bt[k]) - } - bt.length = 0 - } - } - for (const v of k.blocks) { - iteratorBlock(v) - } - if (k.blocks.length > 0 && xt !== k) { - le.add(k) - } - } - const processEntryBlock = (k) => { - Ne++ - const v = getBlockModules(k, At.runtime) - if (v !== undefined) { - for (let k = 0; k < v.length; k += 2) { - const E = v[k] - const P = v[k + 1] - bt.push({ - action: P === true ? rt : at, - block: E, - module: E, - chunk: kt, - chunkGroup: vt, - chunkGroupInfo: At, - }) - } - if (bt.length > 0) { - for (let k = bt.length - 1; k >= 0; k--) { - ut.push(bt[k]) - } - bt.length = 0 - } - } - for (const v of k.blocks) { - iteratorBlock(v) - } - if (k.blocks.length > 0 && xt !== k) { - le.add(k) - } - } - const processQueue = () => { - while (ut.length) { - je++ - const k = ut.pop() - xt = k.module - wt = k.block - kt = k.chunk - vt = k.chunkGroup - At = k.chunkGroupInfo - switch (k.action) { - case rt: - ye.connectChunkAndEntryModule(kt, xt, vt) - case ot: { - if (ye.isModuleInChunk(xt, kt)) { - break - } - ye.connectChunkAndModule(kt, xt) - } - case it: { - const v = vt.getModulePreOrderIndex(xt) - if (v === undefined) { - vt.setModulePreOrderIndex(xt, At.preOrderIndex++) - } - if (me.setPreOrderIndexIfUnset(xt, Ze)) { - Ze++ - } - k.action = lt - ut.push(k) - } - case at: { - processBlock(wt) - break - } - case ct: { - processEntryBlock(wt) - break - } - case lt: { - const k = vt.getModulePostOrderIndex(xt) - if (k === undefined) { - vt.setModulePostOrderIndex(xt, At.postOrderIndex++) - } - if (me.setPostOrderIndexIfUnset(xt, et)) { - et++ - } - break - } - } - } - } - const calculateResultingAvailableModules = (k) => { - if (k.resultingAvailableModules) return k.resultingAvailableModules - const v = k.minAvailableModules - let E - if (v.size > v.plus.size) { - E = new Set() - for (const k of v.plus) v.add(k) - v.plus = ae - E.plus = v - k.minAvailableModulesOwned = false - } else { - E = new Set(v) - E.plus = v.plus - } - for (const v of k.chunkGroup.chunks) { - for (const k of ye.getChunkModulesIterable(v)) { - E.add(k) - } - } - return (k.resultingAvailableModules = E) - } - const processConnectQueue = () => { - for (const [k, v] of pt) { - if (k.children === undefined) { - k.children = v - } else { - for (const E of v) { - k.children.add(E) - } - } - const E = calculateResultingAvailableModules(k) - const P = k.runtime - for (const k of v) { - k.availableModulesToBeMerged.push(E) - ht.add(k) - const v = k.runtime - const R = q(v, P) - if (v !== R) { - k.runtime = R - ft.add(k) - } - } - Be += v.size - } - pt.clear() - } - const processChunkGroupsForMerging = () => { - qe += ht.size - for (const k of ht) { - const v = k.availableModulesToBeMerged - let E = k.minAvailableModules - Ue += v.length - if (v.length > 1) { - v.sort(bySetSize) - } - let P = false - e: for (const R of v) { - if (E === undefined) { - E = R - k.minAvailableModules = E - k.minAvailableModulesOwned = false - P = true - } else { - if (k.minAvailableModulesOwned) { - if (E.plus === R.plus) { - for (const k of E) { - if (!R.has(k)) { - E.delete(k) - P = true - } - } - } else { - for (const k of E) { - if (!R.has(k) && !R.plus.has(k)) { - E.delete(k) - P = true - } - } - for (const k of E.plus) { - if (!R.has(k) && !R.plus.has(k)) { - const v = E.plus[Symbol.iterator]() - let L - while (!(L = v.next()).done) { - const v = L.value - if (v === k) break - E.add(v) - } - while (!(L = v.next()).done) { - const k = L.value - if (R.has(k) || R.plus.has(k)) { - E.add(k) - } - } - E.plus = ae - P = true - continue e - } - } - } - } else if (E.plus === R.plus) { - if (R.size < E.size) { - Ge++ - He += R.size - Qe += E.size - const v = new Set() - v.plus = R.plus - for (const k of R) { - if (E.has(k)) { - v.add(k) - } - } - Ve += v.size - E = v - k.minAvailableModulesOwned = true - k.minAvailableModules = v - P = true - continue e - } - for (const v of E) { - if (!R.has(v)) { - Ge++ - He += E.size - Qe += R.size - const L = new Set() - L.plus = R.plus - const N = E[Symbol.iterator]() - let q - while (!(q = N.next()).done) { - const k = q.value - if (k === v) break - L.add(k) - } - while (!(q = N.next()).done) { - const k = q.value - if (R.has(k)) { - L.add(k) - } - } - Ve += L.size - E = L - k.minAvailableModulesOwned = true - k.minAvailableModules = L - P = true - continue e - } - } - } else { - for (const v of E) { - if (!R.has(v) && !R.plus.has(v)) { - Ge++ - He += E.size - We += E.plus.size - Qe += R.size - Je += R.plus.size - const L = new Set() - L.plus = ae - const N = E[Symbol.iterator]() - let q - while (!(q = N.next()).done) { - const k = q.value - if (k === v) break - L.add(k) - } - while (!(q = N.next()).done) { - const k = q.value - if (R.has(k) || R.plus.has(k)) { - L.add(k) - } - } - for (const k of E.plus) { - if (R.has(k) || R.plus.has(k)) { - L.add(k) - } - } - Ve += L.size - E = L - k.minAvailableModulesOwned = true - k.minAvailableModules = L - P = true - continue e - } - } - for (const v of E.plus) { - if (!R.has(v) && !R.plus.has(v)) { - Ge++ - He += E.size - We += E.plus.size - Qe += R.size - Je += R.plus.size - const L = new Set(E) - L.plus = ae - const N = E.plus[Symbol.iterator]() - let q - while (!(q = N.next()).done) { - const k = q.value - if (k === v) break - L.add(k) - } - while (!(q = N.next()).done) { - const k = q.value - if (R.has(k) || R.plus.has(k)) { - L.add(k) - } - } - Ve += L.size - E = L - k.minAvailableModulesOwned = true - k.minAvailableModules = L - P = true - continue e - } - } - } - } - } - v.length = 0 - if (P) { - k.resultingAvailableModules = undefined - ft.add(k) - } - } - ht.clear() - } - const processChunkGroupsForCombining = () => { - for (const k of dt) { - for (const v of k.availableSources) { - if (!v.minAvailableModules) { - dt.delete(k) - break - } - } - } - for (const k of dt) { - const v = new Set() - v.plus = ae - const mergeSet = (k) => { - if (k.size > v.plus.size) { - for (const k of v.plus) v.add(k) - v.plus = k - } else { - for (const E of k) v.add(E) - } - } - for (const v of k.availableSources) { - const k = calculateResultingAvailableModules(v) - mergeSet(k) - mergeSet(k.plus) - } - k.minAvailableModules = v - k.minAvailableModulesOwned = false - k.resultingAvailableModules = undefined - ft.add(k) - } - dt.clear() - } - const processOutdatedChunkGroupInfo = () => { - Ke += ft.size - for (const k of ft) { - if (k.skippedItems !== undefined) { - const { minAvailableModules: v } = k - for (const E of k.skippedItems) { - if (!v.has(E) && !v.plus.has(E)) { - ut.push({ - action: ot, - block: E, - module: E, - chunk: k.chunkGroup.chunks[0], - chunkGroup: k.chunkGroup, - chunkGroupInfo: k, - }) - k.skippedItems.delete(E) - } - } - } - if (k.skippedModuleConnections !== undefined) { - const { minAvailableModules: v } = k - for (const E of k.skippedModuleConnections) { - const [P, R] = E - if (R === false) continue - if (R === true) { - k.skippedModuleConnections.delete(E) - } - if (R === true && (v.has(P) || v.plus.has(P))) { - k.skippedItems.add(P) - continue - } - ut.push({ - action: R === true ? ot : at, - block: P, - module: P, - chunk: k.chunkGroup.chunks[0], - chunkGroup: k.chunkGroup, - chunkGroupInfo: k, - }) - } - } - if (k.children !== undefined) { - Ye += k.children.size - for (const v of k.children) { - let E = pt.get(k) - if (E === undefined) { - E = new Set() - pt.set(k, E) - } - E.add(v) - } - } - if (k.availableChildren !== undefined) { - for (const v of k.availableChildren) { - dt.add(v) - } - } - } - ft.clear() - } - while (ut.length || pt.size) { - k.time('visitModules: visiting') - processQueue() - k.timeAggregateEnd('visitModules: prepare') - k.timeEnd('visitModules: visiting') - if (dt.size > 0) { - k.time('visitModules: combine available modules') - processChunkGroupsForCombining() - k.timeEnd('visitModules: combine available modules') - } - if (pt.size > 0) { - k.time('visitModules: calculating available modules') - processConnectQueue() - k.timeEnd('visitModules: calculating available modules') - if (ht.size > 0) { - k.time('visitModules: merging available modules') - processChunkGroupsForMerging() - k.timeEnd('visitModules: merging available modules') - } - } - if (ft.size > 0) { - k.time('visitModules: check modules for revisit') - processOutdatedChunkGroupInfo() - k.timeEnd('visitModules: check modules for revisit') - } - if (ut.length === 0) { - const k = ut - ut = mt.reverse() - mt = k - } - } - k.log(`${je} queue items processed (${Ne} blocks)`) - k.log(`${Be} chunk groups connected`) - k.log( - `${qe} chunk groups processed for merging (${Ue} module sets, ${Ge} forked, ${He} + ${We} modules forked, ${Qe} + ${Je} modules merged into fork, ${Ve} resulting modules)` - ) - k.log( - `${Ke} chunk group info updated (${Ye} already connected chunk groups reconnected)` - ) - } - const connectChunkGroups = (k, v, E, P) => { - const { chunkGraph: L } = k - const areModulesAvailable = (k, v) => { - for (const E of k.chunks) { - for (const k of L.getChunkModulesIterable(E)) { - if (!v.has(k) && !v.plus.has(k)) return false - } - } - return true - } - for (const [k, P] of E) { - if ( - !v.has(k) && - P.every(({ chunkGroup: k, originChunkGroupInfo: v }) => - areModulesAvailable(k, v.resultingAvailableModules) - ) - ) { - continue - } - for (let v = 0; v < P.length; v++) { - const { chunkGroup: E, originChunkGroupInfo: N } = P[v] - L.connectBlockAndChunkGroup(k, E) - R(N.chunkGroup, E) - } - } - } - const cleanupUnconnectedGroups = (k, v) => { - const { chunkGraph: E } = k - for (const P of v) { - if (P.getNumberOfParents() === 0) { - for (const v of P.chunks) { - k.chunks.delete(v) - E.disconnectChunk(v) - } - E.disconnectChunkGroup(P) - P.remove() - } - } - } - const buildChunkGraph = (k, v) => { - const E = k.getLogger('webpack.buildChunkGraph') - const P = new Map() - const R = new Set() - const L = new Map() - const N = new Set() - E.time('visitModules') - visitModules(E, k, v, L, P, N, R) - E.timeEnd('visitModules') - E.time('connectChunkGroups') - connectChunkGroups(k, N, P, L) - E.timeEnd('connectChunkGroups') - for (const [k, v] of L) { - for (const E of k.chunks) E.runtime = q(E.runtime, v.runtime) - } - E.time('cleanup') - cleanupUnconnectedGroups(k, R) - E.timeEnd('cleanup') - } - k.exports = buildChunkGraph - }, - 26876: function (k) { - 'use strict' - class AddBuildDependenciesPlugin { - constructor(k) { - this.buildDependencies = new Set(k) - } - apply(k) { - k.hooks.compilation.tap('AddBuildDependenciesPlugin', (k) => { - k.buildDependencies.addAll(this.buildDependencies) - }) - } - } - k.exports = AddBuildDependenciesPlugin - }, - 79438: function (k) { - 'use strict' - class AddManagedPathsPlugin { - constructor(k, v) { - this.managedPaths = new Set(k) - this.immutablePaths = new Set(v) - } - apply(k) { - for (const v of this.managedPaths) { - k.managedPaths.add(v) - } - for (const v of this.immutablePaths) { - k.immutablePaths.add(v) - } - } - } - k.exports = AddManagedPathsPlugin - }, - 87251: function (k, v, E) { - 'use strict' - const P = E(89802) - const R = E(6535) - const L = Symbol() - class IdleFileCachePlugin { - constructor(k, v, E, P) { - this.strategy = k - this.idleTimeout = v - this.idleTimeoutForInitialStore = E - this.idleTimeoutAfterLargeChanges = P - } - apply(k) { - let v = this.strategy - const E = this.idleTimeout - const N = Math.min(E, this.idleTimeoutForInitialStore) - const q = this.idleTimeoutAfterLargeChanges - const ae = Promise.resolve() - let le = 0 - let pe = 0 - let me = 0 - const ye = new Map() - k.cache.hooks.store.tap( - { name: 'IdleFileCachePlugin', stage: P.STAGE_DISK }, - (k, E, P) => { - ye.set(k, () => v.store(k, E, P)) - } - ) - k.cache.hooks.get.tapPromise( - { name: 'IdleFileCachePlugin', stage: P.STAGE_DISK }, - (k, E, P) => { - const restore = () => - v.restore(k, E).then((R) => { - if (R === undefined) { - P.push((P, R) => { - if (P !== undefined) { - ye.set(k, () => v.store(k, E, P)) - } - R() - }) - } else { - return R - } - }) - const R = ye.get(k) - if (R !== undefined) { - ye.delete(k) - return R().then(restore) - } - return restore() - } - ) - k.cache.hooks.storeBuildDependencies.tap( - { name: 'IdleFileCachePlugin', stage: P.STAGE_DISK }, - (k) => { - ye.set(L, () => v.storeBuildDependencies(k)) - } - ) - k.cache.hooks.shutdown.tapPromise( - { name: 'IdleFileCachePlugin', stage: P.STAGE_DISK }, - () => { - if (Te) { - clearTimeout(Te) - Te = undefined - } - Ie = false - const E = R.getReporter(k) - const P = Array.from(ye.values()) - if (E) E(0, 'process pending cache items') - const L = P.map((k) => k()) - ye.clear() - L.push(_e) - const N = Promise.all(L) - _e = N.then(() => v.afterAllStored()) - if (E) { - _e = _e.then(() => { - E(1, `stored`) - }) - } - return _e.then(() => { - if (v.clear) v.clear() - }) - } - ) - let _e = ae - let Ie = false - let Me = true - const processIdleTasks = () => { - if (Ie) { - const E = Date.now() - if (ye.size > 0) { - const k = [_e] - const v = E + 100 - let P = 100 - for (const [E, R] of ye) { - ye.delete(E) - k.push(R()) - if (P-- <= 0 || Date.now() > v) break - } - _e = Promise.all(k) - _e.then(() => { - pe += Date.now() - E - Te = setTimeout(processIdleTasks, 0) - Te.unref() - }) - return - } - _e = _e - .then(async () => { - await v.afterAllStored() - pe += Date.now() - E - me = Math.max(me, pe) * 0.9 + pe * 0.1 - pe = 0 - le = 0 - }) - .catch((v) => { - const E = k.getInfrastructureLogger('IdleFileCachePlugin') - E.warn(`Background tasks during idle failed: ${v.message}`) - E.debug(v.stack) - }) - Me = false - } - } - let Te = undefined - k.cache.hooks.beginIdle.tap( - { name: 'IdleFileCachePlugin', stage: P.STAGE_DISK }, - () => { - const v = le > me * 2 - if (Me && N < E) { - k.getInfrastructureLogger('IdleFileCachePlugin').log( - `Initial cache was generated and cache will be persisted in ${ - N / 1e3 - }s.` - ) - } else if (v && q < E) { - k.getInfrastructureLogger('IdleFileCachePlugin').log( - `Spend ${Math.round(le) / 1e3}s in build and ${ - Math.round(me) / 1e3 - }s in average in cache store. This is considered as large change and cache will be persisted in ${ - q / 1e3 - }s.` - ) - } - Te = setTimeout(() => { - Te = undefined - Ie = true - ae.then(processIdleTasks) - }, Math.min(Me ? N : Infinity, v ? q : Infinity, E)) - Te.unref() - } - ) - k.cache.hooks.endIdle.tap( - { name: 'IdleFileCachePlugin', stage: P.STAGE_DISK }, - () => { - if (Te) { - clearTimeout(Te) - Te = undefined - } - Ie = false - } - ) - k.hooks.done.tap('IdleFileCachePlugin', (k) => { - le *= 0.9 - le += k.endTime - k.startTime - }) - } - } - k.exports = IdleFileCachePlugin - }, - 66494: function (k, v, E) { - 'use strict' - const P = E(89802) - class MemoryCachePlugin { - apply(k) { - const v = new Map() - k.cache.hooks.store.tap( - { name: 'MemoryCachePlugin', stage: P.STAGE_MEMORY }, - (k, E, P) => { - v.set(k, { etag: E, data: P }) - } - ) - k.cache.hooks.get.tap( - { name: 'MemoryCachePlugin', stage: P.STAGE_MEMORY }, - (k, E, P) => { - const R = v.get(k) - if (R === null) { - return null - } else if (R !== undefined) { - return R.etag === E ? R.data : null - } - P.push((P, R) => { - if (P === undefined) { - v.set(k, null) - } else { - v.set(k, { etag: E, data: P }) - } - return R() - }) - } - ) - k.cache.hooks.shutdown.tap( - { name: 'MemoryCachePlugin', stage: P.STAGE_MEMORY }, - () => { - v.clear() - } - ) - } - } - k.exports = MemoryCachePlugin - }, - 17882: function (k, v, E) { - 'use strict' - const P = E(89802) - class MemoryWithGcCachePlugin { - constructor({ maxGenerations: k }) { - this._maxGenerations = k - } - apply(k) { - const v = this._maxGenerations - const E = new Map() - const R = new Map() - let L = 0 - let N = 0 - const q = k.getInfrastructureLogger('MemoryWithGcCachePlugin') - k.hooks.afterDone.tap('MemoryWithGcCachePlugin', () => { - L++ - let k = 0 - let P - for (const [v, N] of R) { - if (N.until > L) break - R.delete(v) - if (E.get(v) === undefined) { - E.delete(v) - k++ - P = v - } - } - if (k > 0 || R.size > 0) { - q.log( - `${E.size - R.size} active entries, ${ - R.size - } recently unused cached entries${ - k > 0 - ? `, ${k} old unused cache entries removed e. g. ${P}` - : '' - }` - ) - } - let ae = (E.size / v) | 0 - let le = N >= E.size ? 0 : N - N = le + ae - for (const [k, P] of E) { - if (le !== 0) { - le-- - continue - } - if (P !== undefined) { - E.set(k, undefined) - R.delete(k) - R.set(k, { entry: P, until: L + v }) - if (ae-- === 0) break - } - } - }) - k.cache.hooks.store.tap( - { name: 'MemoryWithGcCachePlugin', stage: P.STAGE_MEMORY }, - (k, v, P) => { - E.set(k, { etag: v, data: P }) - } - ) - k.cache.hooks.get.tap( - { name: 'MemoryWithGcCachePlugin', stage: P.STAGE_MEMORY }, - (k, v, P) => { - const L = E.get(k) - if (L === null) { - return null - } else if (L !== undefined) { - return L.etag === v ? L.data : null - } - const N = R.get(k) - if (N !== undefined) { - const P = N.entry - if (P === null) { - R.delete(k) - E.set(k, P) - return null - } else { - if (P.etag !== v) return null - R.delete(k) - E.set(k, P) - return P.data - } - } - P.push((P, R) => { - if (P === undefined) { - E.set(k, null) - } else { - E.set(k, { etag: v, data: P }) - } - return R() - }) - } - ) - k.cache.hooks.shutdown.tap( - { name: 'MemoryWithGcCachePlugin', stage: P.STAGE_MEMORY }, - () => { - E.clear() - R.clear() - } - ) - } - } - k.exports = MemoryWithGcCachePlugin - }, - 30124: function (k, v, E) { - 'use strict' - const P = E(18144) - const R = E(6535) - const { formatSize: L } = E(3386) - const N = E(5505) - const q = E(12359) - const ae = E(58528) - const le = E(20631) - const { createFileSerializer: pe, NOT_SERIALIZABLE: me } = E(52456) - class PackContainer { - constructor(k, v, E, P, R, L) { - this.data = k - this.version = v - this.buildSnapshot = E - this.buildDependencies = P - this.resolveResults = R - this.resolveBuildDependenciesSnapshot = L - } - serialize({ write: k, writeLazy: v }) { - k(this.version) - k(this.buildSnapshot) - k(this.buildDependencies) - k(this.resolveResults) - k(this.resolveBuildDependenciesSnapshot) - v(this.data) - } - deserialize({ read: k }) { - this.version = k() - this.buildSnapshot = k() - this.buildDependencies = k() - this.resolveResults = k() - this.resolveBuildDependenciesSnapshot = k() - this.data = k() - } - } - ae( - PackContainer, - 'webpack/lib/cache/PackFileCacheStrategy', - 'PackContainer' - ) - const ye = 1024 * 1024 - const _e = 10 - const Ie = 100 - const Me = 5e4 - const Te = 1 * 60 * 1e3 - class PackItemInfo { - constructor(k, v, E) { - this.identifier = k - this.etag = v - this.location = -1 - this.lastAccess = Date.now() - this.freshValue = E - } - } - class Pack { - constructor(k, v) { - this.itemInfo = new Map() - this.requests = [] - this.requestsTimeout = undefined - this.freshContent = new Map() - this.content = [] - this.invalid = false - this.logger = k - this.maxAge = v - } - _addRequest(k) { - this.requests.push(k) - if (this.requestsTimeout === undefined) { - this.requestsTimeout = setTimeout(() => { - this.requests.push(undefined) - this.requestsTimeout = undefined - }, Te) - if (this.requestsTimeout.unref) this.requestsTimeout.unref() - } - } - stopCapturingRequests() { - if (this.requestsTimeout !== undefined) { - clearTimeout(this.requestsTimeout) - this.requestsTimeout = undefined - } - } - get(k, v) { - const E = this.itemInfo.get(k) - this._addRequest(k) - if (E === undefined) { - return undefined - } - if (E.etag !== v) return null - E.lastAccess = Date.now() - const P = E.location - if (P === -1) { - return E.freshValue - } else { - if (!this.content[P]) { - return undefined - } - return this.content[P].get(k) - } - } - set(k, v, E) { - if (!this.invalid) { - this.invalid = true - this.logger.log(`Pack got invalid because of write to: ${k}`) - } - const P = this.itemInfo.get(k) - if (P === undefined) { - const P = new PackItemInfo(k, v, E) - this.itemInfo.set(k, P) - this._addRequest(k) - this.freshContent.set(k, P) - } else { - const R = P.location - if (R >= 0) { - this._addRequest(k) - this.freshContent.set(k, P) - const v = this.content[R] - v.delete(k) - if (v.items.size === 0) { - this.content[R] = undefined - this.logger.debug('Pack %d got empty and is removed', R) - } - } - P.freshValue = E - P.lastAccess = Date.now() - P.etag = v - P.location = -1 - } - } - getContentStats() { - let k = 0 - let v = 0 - for (const E of this.content) { - if (E !== undefined) { - k++ - const P = E.getSize() - if (P > 0) { - v += P - } - } - } - return { count: k, size: v } - } - _findLocation() { - let k - for ( - k = 0; - k < this.content.length && this.content[k] !== undefined; - k++ - ); - return k - } - _gcAndUpdateLocation(k, v, E) { - let P = 0 - let R - const L = Date.now() - for (const N of k) { - const q = this.itemInfo.get(N) - if (L - q.lastAccess > this.maxAge) { - this.itemInfo.delete(N) - k.delete(N) - v.delete(N) - P++ - R = N - } else { - q.location = E - } - } - if (P > 0) { - this.logger.log( - 'Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s', - P, - E, - k.size, - R - ) - } - } - _persistFreshContent() { - const k = this.freshContent.size - if (k > 0) { - const v = Math.ceil(k / Me) - const E = Math.ceil(k / v) - const P = [] - let R = 0 - let L = false - const createNextPack = () => { - const k = this._findLocation() - this.content[k] = null - const v = { items: new Set(), map: new Map(), loc: k } - P.push(v) - return v - } - let N = createNextPack() - if (this.requestsTimeout !== undefined) - clearTimeout(this.requestsTimeout) - for (const k of this.requests) { - if (k === undefined) { - if (L) { - L = false - } else if (N.items.size >= Ie) { - R = 0 - N = createNextPack() - } - continue - } - const v = this.freshContent.get(k) - if (v === undefined) continue - N.items.add(k) - N.map.set(k, v.freshValue) - v.location = N.loc - v.freshValue = undefined - this.freshContent.delete(k) - if (++R > E) { - R = 0 - N = createNextPack() - L = true - } - } - this.requests.length = 0 - for (const k of P) { - this.content[k.loc] = new PackContent( - k.items, - new Set(k.items), - new PackContentItems(k.map) - ) - } - this.logger.log( - `${k} fresh items in cache put into pack ${ - P.length > 1 - ? P.map((k) => `${k.loc} (${k.items.size} items)`).join(', ') - : P[0].loc - }` - ) - } - } - _optimizeSmallContent() { - const k = [] - let v = 0 - const E = [] - let P = 0 - for (let R = 0; R < this.content.length; R++) { - const L = this.content[R] - if (L === undefined) continue - if (L.outdated) continue - const N = L.getSize() - if (N < 0 || N > ye) continue - if (L.used.size > 0) { - k.push(R) - v += N - } else { - E.push(R) - P += N - } - } - let R - if (k.length >= _e || v > ye) { - R = k - } else if (E.length >= _e || P > ye) { - R = E - } else return - const L = [] - for (const k of R) { - L.push(this.content[k]) - this.content[k] = undefined - } - const N = new Set() - const q = new Set() - const ae = [] - for (const k of L) { - for (const v of k.items) { - N.add(v) - } - for (const v of k.used) { - q.add(v) - } - ae.push(async (v) => { - await k.unpack( - 'it should be merged with other small pack contents' - ) - for (const [E, P] of k.content) { - v.set(E, P) - } - }) - } - const pe = this._findLocation() - this._gcAndUpdateLocation(N, q, pe) - if (N.size > 0) { - this.content[pe] = new PackContent( - N, - q, - le(async () => { - const k = new Map() - await Promise.all(ae.map((v) => v(k))) - return new PackContentItems(k) - }) - ) - this.logger.log( - 'Merged %d small files with %d cache items into pack %d', - L.length, - N.size, - pe - ) - } - } - _optimizeUnusedContent() { - for (let k = 0; k < this.content.length; k++) { - const v = this.content[k] - if (v === undefined) continue - const E = v.getSize() - if (E < ye) continue - const P = v.used.size - const R = v.items.size - if (P > 0 && P < R) { - this.content[k] = undefined - const E = new Set(v.used) - const P = this._findLocation() - this._gcAndUpdateLocation(E, E, P) - if (E.size > 0) { - this.content[P] = new PackContent(E, new Set(E), async () => { - await v.unpack( - 'it should be splitted into used and unused items' - ) - const k = new Map() - for (const P of E) { - k.set(P, v.content.get(P)) - } - return new PackContentItems(k) - }) - } - const R = new Set(v.items) - const L = new Set() - for (const k of E) { - R.delete(k) - } - const N = this._findLocation() - this._gcAndUpdateLocation(R, L, N) - if (R.size > 0) { - this.content[N] = new PackContent(R, L, async () => { - await v.unpack( - 'it should be splitted into used and unused items' - ) - const k = new Map() - for (const E of R) { - k.set(E, v.content.get(E)) - } - return new PackContentItems(k) - }) - } - this.logger.log( - 'Split pack %d into pack %d with %d used items and pack %d with %d unused items', - k, - P, - E.size, - N, - R.size - ) - return - } - } - } - _gcOldestContent() { - let k = undefined - for (const v of this.itemInfo.values()) { - if (k === undefined || v.lastAccess < k.lastAccess) { - k = v - } - } - if (Date.now() - k.lastAccess > this.maxAge) { - const v = k.location - if (v < 0) return - const E = this.content[v] - const P = new Set(E.items) - const R = new Set(E.used) - this._gcAndUpdateLocation(P, R, v) - this.content[v] = - P.size > 0 - ? new PackContent(P, R, async () => { - await E.unpack( - 'it contains old items that should be garbage collected' - ) - const k = new Map() - for (const v of P) { - k.set(v, E.content.get(v)) - } - return new PackContentItems(k) - }) - : undefined - } - } - serialize({ write: k, writeSeparate: v }) { - this._persistFreshContent() - this._optimizeSmallContent() - this._optimizeUnusedContent() - this._gcOldestContent() - for (const v of this.itemInfo.keys()) { - k(v) - } - k(null) - for (const v of this.itemInfo.values()) { - k(v.etag) - } - for (const v of this.itemInfo.values()) { - k(v.lastAccess) - } - for (let E = 0; E < this.content.length; E++) { - const P = this.content[E] - if (P !== undefined) { - k(P.items) - P.writeLazy((k) => v(k, { name: `${E}` })) - } else { - k(undefined) - } - } - k(null) - } - deserialize({ read: k, logger: v }) { - this.logger = v - { - const v = [] - let E = k() - while (E !== null) { - v.push(E) - E = k() - } - this.itemInfo.clear() - const P = v.map((k) => { - const v = new PackItemInfo(k, undefined, undefined) - this.itemInfo.set(k, v) - return v - }) - for (const v of P) { - v.etag = k() - } - for (const v of P) { - v.lastAccess = k() - } - } - this.content.length = 0 - let E = k() - while (E !== null) { - if (E === undefined) { - this.content.push(E) - } else { - const P = this.content.length - const R = k() - this.content.push( - new PackContent(E, new Set(), R, v, `${this.content.length}`) - ) - for (const k of E) { - this.itemInfo.get(k).location = P - } - } - E = k() - } - } - } - ae(Pack, 'webpack/lib/cache/PackFileCacheStrategy', 'Pack') - class PackContentItems { - constructor(k) { - this.map = k - } - serialize({ - write: k, - snapshot: v, - rollback: E, - logger: P, - profile: R, - }) { - if (R) { - k(false) - for (const [R, L] of this.map) { - const N = v() - try { - k(R) - const v = process.hrtime() - k(L) - const E = process.hrtime(v) - const N = E[0] * 1e3 + E[1] / 1e6 - if (N > 1) { - if (N > 500) P.error(`Serialization of '${R}': ${N} ms`) - else if (N > 50) P.warn(`Serialization of '${R}': ${N} ms`) - else if (N > 10) P.info(`Serialization of '${R}': ${N} ms`) - else if (N > 5) P.log(`Serialization of '${R}': ${N} ms`) - else P.debug(`Serialization of '${R}': ${N} ms`) - } - } catch (k) { - E(N) - if (k === me) continue - const v = 'Skipped not serializable cache item' - if (k.message.includes('ModuleBuildError')) { - P.log(`${v} (in build error): ${k.message}`) - P.debug(`${v} '${R}' (in build error): ${k.stack}`) - } else { - P.warn(`${v}: ${k.message}`) - P.debug(`${v} '${R}': ${k.stack}`) - } - } - } - k(null) - return - } - const L = v() - try { - k(true) - k(this.map) - } catch (R) { - E(L) - k(false) - for (const [R, L] of this.map) { - const N = v() - try { - k(R) - k(L) - } catch (k) { - E(N) - if (k === me) continue - P.warn( - `Skipped not serializable cache item '${R}': ${k.message}` - ) - P.debug(k.stack) - } - } - k(null) - } - } - deserialize({ read: k, logger: v, profile: E }) { - if (k()) { - this.map = k() - } else if (E) { - const E = new Map() - let P = k() - while (P !== null) { - const R = process.hrtime() - const L = k() - const N = process.hrtime(R) - const q = N[0] * 1e3 + N[1] / 1e6 - if (q > 1) { - if (q > 100) v.error(`Deserialization of '${P}': ${q} ms`) - else if (q > 20) v.warn(`Deserialization of '${P}': ${q} ms`) - else if (q > 5) v.info(`Deserialization of '${P}': ${q} ms`) - else if (q > 2) v.log(`Deserialization of '${P}': ${q} ms`) - else v.debug(`Deserialization of '${P}': ${q} ms`) - } - E.set(P, L) - P = k() - } - this.map = E - } else { - const v = new Map() - let E = k() - while (E !== null) { - v.set(E, k()) - E = k() - } - this.map = v - } - } - } - ae( - PackContentItems, - 'webpack/lib/cache/PackFileCacheStrategy', - 'PackContentItems' - ) - class PackContent { - constructor(k, v, E, P, R) { - this.items = k - this.lazy = typeof E === 'function' ? E : undefined - this.content = typeof E === 'function' ? undefined : E.map - this.outdated = false - this.used = v - this.logger = P - this.lazyName = R - } - get(k) { - this.used.add(k) - if (this.content) { - return this.content.get(k) - } - const { lazyName: v } = this - let E - if (v) { - this.lazyName = undefined - E = `restore cache content ${v} (${L(this.getSize())})` - this.logger.log( - `starting to restore cache content ${v} (${L( - this.getSize() - )}) because of request to: ${k}` - ) - this.logger.time(E) - } - const P = this.lazy() - if ('then' in P) { - return P.then((v) => { - const P = v.map - if (E) { - this.logger.timeEnd(E) - } - this.content = P - this.lazy = N.unMemoizeLazy(this.lazy) - return P.get(k) - }) - } else { - const v = P.map - if (E) { - this.logger.timeEnd(E) - } - this.content = v - this.lazy = N.unMemoizeLazy(this.lazy) - return v.get(k) - } - } - unpack(k) { - if (this.content) return - if (this.lazy) { - const { lazyName: v } = this - let E - if (v) { - this.lazyName = undefined - E = `unpack cache content ${v} (${L(this.getSize())})` - this.logger.log( - `starting to unpack cache content ${v} (${L( - this.getSize() - )}) because ${k}` - ) - this.logger.time(E) - } - const P = this.lazy() - if ('then' in P) { - return P.then((k) => { - if (E) { - this.logger.timeEnd(E) - } - this.content = k.map - }) - } else { - if (E) { - this.logger.timeEnd(E) - } - this.content = P.map - } - } - } - getSize() { - if (!this.lazy) return -1 - const k = this.lazy.options - if (!k) return -1 - const v = k.size - if (typeof v !== 'number') return -1 - return v - } - delete(k) { - this.items.delete(k) - this.used.delete(k) - this.outdated = true - } - writeLazy(k) { - if (!this.outdated && this.lazy) { - k(this.lazy) - return - } - if (!this.outdated && this.content) { - const v = new Map(this.content) - this.lazy = N.unMemoizeLazy(k(() => new PackContentItems(v))) - return - } - if (this.content) { - const v = new Map() - for (const k of this.items) { - v.set(k, this.content.get(k)) - } - this.outdated = false - this.content = v - this.lazy = N.unMemoizeLazy(k(() => new PackContentItems(v))) - return - } - const { lazyName: v } = this - let E - if (v) { - this.lazyName = undefined - E = `unpack cache content ${v} (${L(this.getSize())})` - this.logger.log( - `starting to unpack cache content ${v} (${L( - this.getSize() - )}) because it's outdated and need to be serialized` - ) - this.logger.time(E) - } - const P = this.lazy() - this.outdated = false - if ('then' in P) { - this.lazy = k(() => - P.then((k) => { - if (E) { - this.logger.timeEnd(E) - } - const v = k.map - const P = new Map() - for (const k of this.items) { - P.set(k, v.get(k)) - } - this.content = P - this.lazy = N.unMemoizeLazy(this.lazy) - return new PackContentItems(P) - }) - ) - } else { - if (E) { - this.logger.timeEnd(E) - } - const v = P.map - const R = new Map() - for (const k of this.items) { - R.set(k, v.get(k)) - } - this.content = R - this.lazy = k(() => new PackContentItems(R)) - } - } - } - const allowCollectingMemory = (k) => { - const v = k.buffer.byteLength - k.byteLength - if (v > 8192 && (v > 1048576 || v > k.byteLength)) { - return Buffer.from(k) - } - return k - } - class PackFileCacheStrategy { - constructor({ - compiler: k, - fs: v, - context: E, - cacheLocation: R, - version: L, - logger: N, - snapshot: ae, - maxAge: le, - profile: me, - allowCollectingMemory: ye, - compression: _e, - readonly: Ie, - }) { - this.fileSerializer = pe(v, k.options.output.hashFunction) - this.fileSystemInfo = new P(v, { - managedPaths: ae.managedPaths, - immutablePaths: ae.immutablePaths, - logger: N.getChildLogger('webpack.FileSystemInfo'), - hashFunction: k.options.output.hashFunction, - }) - this.compiler = k - this.context = E - this.cacheLocation = R - this.version = L - this.logger = N - this.maxAge = le - this.profile = me - this.readonly = Ie - this.allowCollectingMemory = ye - this.compression = _e - this._extension = - _e === 'brotli' ? '.pack.br' : _e === 'gzip' ? '.pack.gz' : '.pack' - this.snapshot = ae - this.buildDependencies = new Set() - this.newBuildDependencies = new q() - this.resolveBuildDependenciesSnapshot = undefined - this.resolveResults = undefined - this.buildSnapshot = undefined - this.packPromise = this._openPack() - this.storePromise = Promise.resolve() - } - _getPack() { - if (this.packPromise === undefined) { - this.packPromise = this.storePromise.then(() => this._openPack()) - } - return this.packPromise - } - _openPack() { - const { logger: k, profile: v, cacheLocation: E, version: P } = this - let R - let L - let N - let q - let ae - k.time('restore cache container') - return this.fileSerializer - .deserialize(null, { - filename: `${E}/index${this._extension}`, - extension: `${this._extension}`, - logger: k, - profile: v, - retainedBuffer: this.allowCollectingMemory - ? allowCollectingMemory - : undefined, - }) - .catch((v) => { - if (v.code !== 'ENOENT') { - k.warn( - `Restoring pack failed from ${E}${this._extension}: ${v}` - ) - k.debug(v.stack) - } else { - k.debug(`No pack exists at ${E}${this._extension}: ${v}`) - } - return undefined - }) - .then((v) => { - k.timeEnd('restore cache container') - if (!v) return undefined - if (!(v instanceof PackContainer)) { - k.warn( - `Restored pack from ${E}${this._extension}, but contained content is unexpected.`, - v - ) - return undefined - } - if (v.version !== P) { - k.log( - `Restored pack from ${E}${this._extension}, but version doesn't match.` - ) - return undefined - } - k.time('check build dependencies') - return Promise.all([ - new Promise((P, L) => { - this.fileSystemInfo.checkSnapshotValid( - v.buildSnapshot, - (L, N) => { - if (L) { - k.log( - `Restored pack from ${E}${this._extension}, but checking snapshot of build dependencies errored: ${L}.` - ) - k.debug(L.stack) - return P(false) - } - if (!N) { - k.log( - `Restored pack from ${E}${this._extension}, but build dependencies have changed.` - ) - return P(false) - } - R = v.buildSnapshot - return P(true) - } - ) - }), - new Promise((P, R) => { - this.fileSystemInfo.checkSnapshotValid( - v.resolveBuildDependenciesSnapshot, - (R, le) => { - if (R) { - k.log( - `Restored pack from ${E}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${R}.` - ) - k.debug(R.stack) - return P(false) - } - if (le) { - q = v.resolveBuildDependenciesSnapshot - L = v.buildDependencies - ae = v.resolveResults - return P(true) - } - k.log( - 'resolving of build dependencies is invalid, will re-resolve build dependencies' - ) - this.fileSystemInfo.checkResolveResultsValid( - v.resolveResults, - (R, L) => { - if (R) { - k.log( - `Restored pack from ${E}${this._extension}, but resolving of build dependencies errored: ${R}.` - ) - k.debug(R.stack) - return P(false) - } - if (L) { - N = v.buildDependencies - ae = v.resolveResults - return P(true) - } - k.log( - `Restored pack from ${E}${this._extension}, but build dependencies resolve to different locations.` - ) - return P(false) - } - ) - } - ) - }), - ]) - .catch((v) => { - k.timeEnd('check build dependencies') - throw v - }) - .then(([E, P]) => { - k.timeEnd('check build dependencies') - if (E && P) { - k.time('restore cache content metadata') - const E = v.data() - k.timeEnd('restore cache content metadata') - return E - } - return undefined - }) - }) - .then((v) => { - if (v) { - v.maxAge = this.maxAge - this.buildSnapshot = R - if (L) this.buildDependencies = L - if (N) this.newBuildDependencies.addAll(N) - this.resolveResults = ae - this.resolveBuildDependenciesSnapshot = q - return v - } - return new Pack(k, this.maxAge) - }) - .catch((v) => { - this.logger.warn( - `Restoring pack from ${E}${this._extension} failed: ${v}` - ) - this.logger.debug(v.stack) - return new Pack(k, this.maxAge) - }) - } - store(k, v, E) { - if (this.readonly) return Promise.resolve() - return this._getPack().then((P) => { - P.set(k, v === null ? null : v.toString(), E) - }) - } - restore(k, v) { - return this._getPack() - .then((E) => E.get(k, v === null ? null : v.toString())) - .catch((v) => { - if (v && v.code !== 'ENOENT') { - this.logger.warn(`Restoring failed for ${k} from pack: ${v}`) - this.logger.debug(v.stack) - } - }) - } - storeBuildDependencies(k) { - if (this.readonly) return - this.newBuildDependencies.addAll(k) - } - afterAllStored() { - const k = this.packPromise - if (k === undefined) return Promise.resolve() - const v = R.getReporter(this.compiler) - return (this.storePromise = k - .then((k) => { - k.stopCapturingRequests() - if (!k.invalid) return - this.packPromise = undefined - this.logger.log(`Storing pack...`) - let E - const P = new Set() - for (const k of this.newBuildDependencies) { - if (!this.buildDependencies.has(k)) { - P.add(k) - } - } - if (P.size > 0 || !this.buildSnapshot) { - if (v) v(0.5, 'resolve build dependencies') - this.logger.debug( - `Capturing build dependencies... (${Array.from(P).join( - ', ' - )})` - ) - E = new Promise((k, E) => { - this.logger.time('resolve build dependencies') - this.fileSystemInfo.resolveBuildDependencies( - this.context, - P, - (P, R) => { - this.logger.timeEnd('resolve build dependencies') - if (P) return E(P) - this.logger.time('snapshot build dependencies') - const { - files: L, - directories: N, - missing: q, - resolveResults: ae, - resolveDependencies: le, - } = R - if (this.resolveResults) { - for (const [k, v] of ae) { - this.resolveResults.set(k, v) - } - } else { - this.resolveResults = ae - } - if (v) { - v(0.6, 'snapshot build dependencies', 'resolving') - } - this.fileSystemInfo.createSnapshot( - undefined, - le.files, - le.directories, - le.missing, - this.snapshot.resolveBuildDependencies, - (P, R) => { - if (P) { - this.logger.timeEnd('snapshot build dependencies') - return E(P) - } - if (!R) { - this.logger.timeEnd('snapshot build dependencies') - return E( - new Error( - 'Unable to snapshot resolve dependencies' - ) - ) - } - if (this.resolveBuildDependenciesSnapshot) { - this.resolveBuildDependenciesSnapshot = - this.fileSystemInfo.mergeSnapshots( - this.resolveBuildDependenciesSnapshot, - R - ) - } else { - this.resolveBuildDependenciesSnapshot = R - } - if (v) { - v(0.7, 'snapshot build dependencies', 'modules') - } - this.fileSystemInfo.createSnapshot( - undefined, - L, - N, - q, - this.snapshot.buildDependencies, - (v, P) => { - this.logger.timeEnd('snapshot build dependencies') - if (v) return E(v) - if (!P) { - return E( - new Error( - 'Unable to snapshot build dependencies' - ) - ) - } - this.logger.debug('Captured build dependencies') - if (this.buildSnapshot) { - this.buildSnapshot = - this.fileSystemInfo.mergeSnapshots( - this.buildSnapshot, - P - ) - } else { - this.buildSnapshot = P - } - k() - } - ) - } - ) - } - ) - }) - } else { - E = Promise.resolve() - } - return E.then(() => { - if (v) v(0.8, 'serialize pack') - this.logger.time(`store pack`) - const E = new Set(this.buildDependencies) - for (const k of P) { - E.add(k) - } - const R = new PackContainer( - k, - this.version, - this.buildSnapshot, - E, - this.resolveResults, - this.resolveBuildDependenciesSnapshot - ) - return this.fileSerializer - .serialize(R, { - filename: `${this.cacheLocation}/index${this._extension}`, - extension: `${this._extension}`, - logger: this.logger, - profile: this.profile, - }) - .then(() => { - for (const k of P) { - this.buildDependencies.add(k) - } - this.newBuildDependencies.clear() - this.logger.timeEnd(`store pack`) - const v = k.getContentStats() - this.logger.log( - 'Stored pack (%d items, %d files, %d MiB)', - k.itemInfo.size, - v.count, - Math.round(v.size / 1024 / 1024) - ) - }) - .catch((k) => { - this.logger.timeEnd(`store pack`) - this.logger.warn(`Caching failed for pack: ${k}`) - this.logger.debug(k.stack) - }) - }) - }) - .catch((k) => { - this.logger.warn(`Caching failed for pack: ${k}`) - this.logger.debug(k.stack) - })) - } - clear() { - this.fileSystemInfo.clear() - this.buildDependencies.clear() - this.newBuildDependencies.clear() - this.resolveBuildDependenciesSnapshot = undefined - this.resolveResults = undefined - this.buildSnapshot = undefined - this.packPromise = undefined - } - } - k.exports = PackFileCacheStrategy - }, - 6247: function (k, v, E) { - 'use strict' - const P = E(12359) - const R = E(58528) - class CacheEntry { - constructor(k, v) { - this.result = k - this.snapshot = v - } - serialize({ write: k }) { - k(this.result) - k(this.snapshot) - } - deserialize({ read: k }) { - this.result = k() - this.snapshot = k() - } - } - R(CacheEntry, 'webpack/lib/cache/ResolverCachePlugin') - const addAllToSet = (k, v) => { - if (k instanceof P) { - k.addAll(v) - } else { - for (const E of v) { - k.add(E) - } - } - } - const objectToString = (k, v) => { - let E = '' - for (const P in k) { - if (v && P === 'context') continue - const R = k[P] - if (typeof R === 'object' && R !== null) { - E += `|${P}=[${objectToString(R, false)}|]` - } else { - E += `|${P}=|${R}` - } - } - return E - } - class ResolverCachePlugin { - apply(k) { - const v = k.getCache('ResolverCachePlugin') - let E - let R - let L = 0 - let N = 0 - let q = 0 - let ae = 0 - k.hooks.thisCompilation.tap('ResolverCachePlugin', (k) => { - R = k.options.snapshot.resolve - E = k.fileSystemInfo - k.hooks.finishModules.tap('ResolverCachePlugin', () => { - if (L + N > 0) { - const v = k.getLogger('webpack.ResolverCachePlugin') - v.log( - `${Math.round( - (100 * L) / (L + N) - )}% really resolved (${L} real resolves with ${q} cached but invalid, ${N} cached valid, ${ae} concurrent)` - ) - L = 0 - N = 0 - q = 0 - ae = 0 - } - }) - }) - const doRealResolve = (k, v, N, q, ae) => { - L++ - const le = { _ResolverCachePluginCacheMiss: true, ...q } - const pe = { - ...N, - stack: new Set(), - missingDependencies: new P(), - fileDependencies: new P(), - contextDependencies: new P(), - } - let me - let ye = false - if (typeof pe.yield === 'function') { - me = [] - ye = true - pe.yield = (k) => me.push(k) - } - const propagate = (k) => { - if (N[k]) { - addAllToSet(N[k], pe[k]) - } - } - const _e = Date.now() - v.doResolve(v.hooks.resolve, le, 'Cache miss', pe, (v, P) => { - propagate('fileDependencies') - propagate('contextDependencies') - propagate('missingDependencies') - if (v) return ae(v) - const L = pe.fileDependencies - const N = pe.contextDependencies - const q = pe.missingDependencies - E.createSnapshot(_e, L, N, q, R, (v, E) => { - if (v) return ae(v) - const R = ye ? me : P - if (ye && P) me.push(P) - if (!E) { - if (R) return ae(null, R) - return ae() - } - k.store(new CacheEntry(R, E), (k) => { - if (k) return ae(k) - if (R) return ae(null, R) - ae() - }) - }) - }) - } - k.resolverFactory.hooks.resolver.intercept({ - factory(k, P) { - const R = new Map() - const L = new Map() - P.tap('ResolverCachePlugin', (P, ae, le) => { - if (ae.cache !== true) return - const pe = objectToString(le, false) - const me = - ae.cacheWithContext !== undefined - ? ae.cacheWithContext - : false - P.hooks.resolve.tapAsync( - { name: 'ResolverCachePlugin', stage: -100 }, - (ae, le, ye) => { - if (ae._ResolverCachePluginCacheMiss || !E) { - return ye() - } - const _e = typeof le.yield === 'function' - const Ie = `${k}${ - _e ? '|yield' : '|default' - }${pe}${objectToString(ae, !me)}` - if (_e) { - const k = L.get(Ie) - if (k) { - k[0].push(ye) - k[1].push(le.yield) - return - } - } else { - const k = R.get(Ie) - if (k) { - k.push(ye) - return - } - } - const Me = v.getItemCache(Ie, null) - let Te, je - const Ne = _e - ? (k, v) => { - if (Te === undefined) { - if (k) { - ye(k) - } else { - if (v) for (const k of v) le.yield(k) - ye(null, null) - } - je = undefined - Te = false - } else { - if (k) { - for (const v of Te) v(k) - } else { - for (let k = 0; k < Te.length; k++) { - const E = Te[k] - const P = je[k] - if (v) for (const k of v) P(k) - E(null, null) - } - } - L.delete(Ie) - je = undefined - Te = false - } - } - : (k, v) => { - if (Te === undefined) { - ye(k, v) - Te = false - } else { - for (const E of Te) { - E(k, v) - } - R.delete(Ie) - Te = false - } - } - const processCacheResult = (k, v) => { - if (k) return Ne(k) - if (v) { - const { snapshot: k, result: R } = v - E.checkSnapshotValid(k, (v, E) => { - if (v || !E) { - q++ - return doRealResolve(Me, P, le, ae, Ne) - } - N++ - if (le.missingDependencies) { - addAllToSet( - le.missingDependencies, - k.getMissingIterable() - ) - } - if (le.fileDependencies) { - addAllToSet( - le.fileDependencies, - k.getFileIterable() - ) - } - if (le.contextDependencies) { - addAllToSet( - le.contextDependencies, - k.getContextIterable() - ) - } - Ne(null, R) - }) - } else { - doRealResolve(Me, P, le, ae, Ne) - } - } - Me.get(processCacheResult) - if (_e && Te === undefined) { - Te = [ye] - je = [le.yield] - L.set(Ie, [Te, je]) - } else if (Te === undefined) { - Te = [ye] - R.set(Ie, Te) - } - } - ) - }) - return P - }, - }) - } - } - k.exports = ResolverCachePlugin - }, - 76222: function (k, v, E) { - 'use strict' - const P = E(74012) - class LazyHashedEtag { - constructor(k, v = 'md4') { - this._obj = k - this._hash = undefined - this._hashFunction = v - } - toString() { - if (this._hash === undefined) { - const k = P(this._hashFunction) - this._obj.updateHash(k) - this._hash = k.digest('base64') - } - return this._hash - } - } - const R = new Map() - const L = new WeakMap() - const getter = (k, v = 'md4') => { - let E - if (typeof v === 'string') { - E = R.get(v) - if (E === undefined) { - const P = new LazyHashedEtag(k, v) - E = new WeakMap() - E.set(k, P) - R.set(v, E) - return P - } - } else { - E = L.get(v) - if (E === undefined) { - const P = new LazyHashedEtag(k, v) - E = new WeakMap() - E.set(k, P) - L.set(v, E) - return P - } - } - const P = E.get(k) - if (P !== undefined) return P - const N = new LazyHashedEtag(k, v) - E.set(k, N) - return N - } - k.exports = getter - }, - 87045: function (k) { - 'use strict' - class MergedEtag { - constructor(k, v) { - this.a = k - this.b = v - } - toString() { - return `${this.a.toString()}|${this.b.toString()}` - } - } - const v = new WeakMap() - const E = new WeakMap() - const mergeEtags = (k, P) => { - if (typeof k === 'string') { - if (typeof P === 'string') { - return `${k}|${P}` - } else { - const v = P - P = k - k = v - } - } else { - if (typeof P !== 'string') { - let E = v.get(k) - if (E === undefined) { - v.set(k, (E = new WeakMap())) - } - const R = E.get(P) - if (R === undefined) { - const v = new MergedEtag(k, P) - E.set(P, v) - return v - } else { - return R - } - } - } - let R = E.get(k) - if (R === undefined) { - E.set(k, (R = new Map())) - } - const L = R.get(P) - if (L === undefined) { - const v = new MergedEtag(k, P) - R.set(P, v) - return v - } else { - return L - } - } - k.exports = mergeEtags - }, - 20069: function (k, v, E) { - 'use strict' - const P = E(71017) - const R = E(98625) - const getArguments = (k = R) => { - const v = {} - const pathToArgumentName = (k) => - k - .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 getSchemaPart = (v) => { - const E = v.split('/') - let P = k - for (let k = 1; k < E.length; k++) { - const v = P[E[k]] - if (!v) { - break - } - P = v - } - return P - } - const getDescription = (k) => { - for (const { schema: v } of k) { - if (v.cli) { - if (v.cli.helper) continue - if (v.cli.description) return v.cli.description - } - if (v.description) return v.description - } - } - const getNegatedDescription = (k) => { - for (const { schema: v } of k) { - if (v.cli) { - if (v.cli.helper) continue - if (v.cli.negatedDescription) return v.cli.negatedDescription - } - } - } - const getResetDescription = (k) => { - for (const { schema: v } of k) { - if (v.cli) { - if (v.cli.helper) continue - if (v.cli.resetDescription) return v.cli.resetDescription - } - } - } - const schemaToArgumentConfig = (k) => { - if (k.enum) { - return { type: 'enum', values: k.enum } - } - switch (k.type) { - case 'number': - return { type: 'number' } - case 'string': - return { type: k.absolutePath ? 'path' : 'string' } - case 'boolean': - return { type: 'boolean' } - } - if (k.instanceof === 'RegExp') { - return { type: 'RegExp' } - } - return undefined - } - const addResetFlag = (k) => { - const E = k[0].path - const P = pathToArgumentName(`${E}.reset`) - const R = - getResetDescription(k) || - `Clear all items provided in '${E}' configuration. ${getDescription( - k - )}` - v[P] = { - configs: [ - { type: 'reset', multiple: false, description: R, path: E }, - ], - description: undefined, - simpleType: undefined, - multiple: undefined, - } - } - const addFlag = (k, E) => { - const P = schemaToArgumentConfig(k[0].schema) - if (!P) return 0 - const R = getNegatedDescription(k) - const L = pathToArgumentName(k[0].path) - const N = { - ...P, - multiple: E, - description: getDescription(k), - path: k[0].path, - } - if (R) { - N.negatedDescription = R - } - if (!v[L]) { - v[L] = { - configs: [], - description: undefined, - simpleType: undefined, - multiple: undefined, - } - } - if ( - v[L].configs.some((k) => JSON.stringify(k) === JSON.stringify(N)) - ) { - return 0 - } - if (v[L].configs.some((k) => k.type === N.type && k.multiple !== E)) { - if (E) { - throw new Error( - `Conflicting schema for ${k[0].path} with ${N.type} type (array type must be before single item type)` - ) - } - return 0 - } - v[L].configs.push(N) - return 1 - } - const traverse = (k, v = '', E = [], P = null) => { - while (k.$ref) { - k = getSchemaPart(k.$ref) - } - const R = E.filter(({ schema: v }) => v === k) - if (R.length >= 2 || R.some(({ path: k }) => k === v)) { - return 0 - } - if (k.cli && k.cli.exclude) return 0 - const L = [{ schema: k, path: v }, ...E] - let N = 0 - N += addFlag(L, !!P) - if (k.type === 'object') { - if (k.properties) { - for (const E of Object.keys(k.properties)) { - N += traverse(k.properties[E], v ? `${v}.${E}` : E, L, P) - } - } - return N - } - if (k.type === 'array') { - if (P) { - return 0 - } - if (Array.isArray(k.items)) { - let E = 0 - for (const P of k.items) { - N += traverse(P, `${v}.${E}`, L, v) - } - return N - } - N += traverse(k.items, `${v}[]`, L, v) - if (N > 0) { - addResetFlag(L) - N++ - } - return N - } - const q = k.oneOf || k.anyOf || k.allOf - if (q) { - const k = q - for (let E = 0; E < k.length; E++) { - N += traverse(k[E], v, L, P) - } - return N - } - return N - } - traverse(k) - for (const k of Object.keys(v)) { - const E = v[k] - E.description = E.configs.reduce((k, { description: v }) => { - if (!k) return v - if (!v) return k - if (k.includes(v)) return k - return `${k} ${v}` - }, undefined) - E.simpleType = E.configs.reduce((k, v) => { - let E = 'string' - switch (v.type) { - case 'number': - E = 'number' - break - case 'reset': - case 'boolean': - E = 'boolean' - break - case 'enum': - if (v.values.every((k) => typeof k === 'boolean')) E = 'boolean' - if (v.values.every((k) => typeof k === 'number')) E = 'number' - break - } - if (k === undefined) return E - return k === E ? k : 'string' - }, undefined) - E.multiple = E.configs.some((k) => k.multiple) - } - return v - } - const L = new WeakMap() - const getObjectAndProperty = (k, v, E = 0) => { - if (!v) return { value: k } - const P = v.split('.') - let R = P.pop() - let N = k - let q = 0 - for (const k of P) { - const v = k.endsWith('[]') - const R = v ? k.slice(0, -2) : k - let ae = N[R] - if (v) { - if (ae === undefined) { - ae = {} - N[R] = [...Array.from({ length: E }), ae] - L.set(N[R], E + 1) - } else if (!Array.isArray(ae)) { - return { - problem: { - type: 'unexpected-non-array-in-path', - path: P.slice(0, q).join('.'), - }, - } - } else { - let k = L.get(ae) || 0 - while (k <= E) { - ae.push(undefined) - k++ - } - L.set(ae, k) - const v = ae.length - k + E - if (ae[v] === undefined) { - ae[v] = {} - } else if (ae[v] === null || typeof ae[v] !== 'object') { - return { - problem: { - type: 'unexpected-non-object-in-path', - path: P.slice(0, q).join('.'), - }, - } - } - ae = ae[v] - } - } else { - if (ae === undefined) { - ae = N[R] = {} - } else if (ae === null || typeof ae !== 'object') { - return { - problem: { - type: 'unexpected-non-object-in-path', - path: P.slice(0, q).join('.'), - }, - } - } - } - N = ae - q++ - } - let ae = N[R] - if (R.endsWith('[]')) { - const k = R.slice(0, -2) - const P = N[k] - if (P === undefined) { - N[k] = [...Array.from({ length: E }), undefined] - L.set(N[k], E + 1) - return { object: N[k], property: E, value: undefined } - } else if (!Array.isArray(P)) { - N[k] = [P, ...Array.from({ length: E }), undefined] - L.set(N[k], E + 1) - return { object: N[k], property: E + 1, value: undefined } - } else { - let k = L.get(P) || 0 - while (k <= E) { - P.push(undefined) - k++ - } - L.set(P, k) - const R = P.length - k + E - if (P[R] === undefined) { - P[R] = {} - } else if (P[R] === null || typeof P[R] !== 'object') { - return { - problem: { type: 'unexpected-non-object-in-path', path: v }, - } - } - return { object: P, property: R, value: P[R] } - } - } - return { object: N, property: R, value: ae } - } - const setValue = (k, v, E, P) => { - const { - problem: R, - object: L, - property: N, - } = getObjectAndProperty(k, v, P) - if (R) return R - L[N] = E - return null - } - const processArgumentConfig = (k, v, E, P) => { - if (P !== undefined && !k.multiple) { - return { type: 'multiple-values-unexpected', path: k.path } - } - const R = parseValueForArgumentConfig(k, E) - if (R === undefined) { - return { - type: 'invalid-value', - path: k.path, - expected: getExpectedValue(k), - } - } - const L = setValue(v, k.path, R, P) - if (L) return L - return null - } - const getExpectedValue = (k) => { - switch (k.type) { - default: - return k.type - case 'boolean': - return 'true | false' - case 'RegExp': - return 'regular expression (example: /ab?c*/)' - case 'enum': - return k.values.map((k) => `${k}`).join(' | ') - case 'reset': - return 'true (will reset the previous value to an empty array)' - } - } - const parseValueForArgumentConfig = (k, v) => { - switch (k.type) { - case 'string': - if (typeof v === 'string') { - return v - } - break - case 'path': - if (typeof v === 'string') { - return P.resolve(v) - } - break - case 'number': - if (typeof v === 'number') return v - if (typeof v === 'string' && /^[+-]?\d*(\.\d*)[eE]\d+$/) { - const k = +v - if (!isNaN(k)) return k - } - break - case 'boolean': - if (typeof v === 'boolean') return v - if (v === 'true') return true - if (v === 'false') return false - break - case 'RegExp': - if (v instanceof RegExp) return v - if (typeof v === 'string') { - const k = /^\/(.*)\/([yugi]*)$/.exec(v) - if (k && !/[^\\]\//.test(k[1])) return new RegExp(k[1], k[2]) - } - break - case 'enum': - if (k.values.includes(v)) return v - for (const E of k.values) { - if (`${E}` === v) return E - } - break - case 'reset': - if (v === true) return [] - break - } - } - const processArguments = (k, v, E) => { - const P = [] - for (const R of Object.keys(E)) { - const L = k[R] - if (!L) { - P.push({ type: 'unknown-argument', path: '', argument: R }) - continue - } - const processValue = (k, E) => { - const N = [] - for (const P of L.configs) { - const L = processArgumentConfig(P, v, k, E) - if (!L) { - return - } - N.push({ ...L, argument: R, value: k, index: E }) - } - P.push(...N) - } - let N = E[R] - if (Array.isArray(N)) { - for (let k = 0; k < N.length; k++) { - processValue(N[k], k) - } - } else { - processValue(N, undefined) - } - } - if (P.length === 0) return null - return P - } - v.getArguments = getArguments - v.processArguments = processArguments - }, - 6305: function (k, v, E) { - 'use strict' - const P = E(14907) - const R = E(71017) - const L = /^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i - const parse = (k, v) => { - if (!k) { - return {} - } - if (R.isAbsolute(k)) { - const [, v, E] = L.exec(k) || [] - return { configPath: v, env: E } - } - const E = P.findConfig(v) - if (E && Object.keys(E).includes(k)) { - return { env: k } - } - return { query: k } - } - const load = (k, v) => { - const { configPath: E, env: R, query: L } = parse(k, v) - const N = L - ? L - : E - ? P.loadConfig({ config: E, env: R }) - : P.loadConfig({ path: v, env: R }) - if (!N) return - return P(N) - } - const resolve = (k) => { - const rawChecker = (v) => - k.every((k) => { - const [E, P] = k.split(' ') - if (!E) return false - const R = v[E] - if (!R) return false - const [L, N] = P === 'TP' ? [Infinity, Infinity] : P.split('.') - if (typeof R === 'number') { - return +L >= R - } - return R[0] === +L ? +N >= R[1] : +L > R[0] - }) - const v = k.some((k) => /^node /.test(k)) - const E = k.some((k) => /^(?!node)/.test(k)) - const P = !E ? false : v ? null : true - const R = !v ? false : E ? null : true - const L = rawChecker({ - 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: [12, 17], - }) - return { - const: rawChecker({ - 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: rawChecker({ - 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: rawChecker({ - 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: rawChecker({ - 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: rawChecker({ - 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: rawChecker({ - 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: [12, 17], - }), - dynamicImport: L, - dynamicImportInWorker: L && !v, - globalThis: rawChecker({ - 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, - }), - optionalChaining: rawChecker({ - chrome: 80, - and_chr: 80, - edge: 80, - firefox: 74, - and_ff: 79, - opera: 67, - op_mob: 64, - safari: [13, 1], - ios_saf: [13, 4], - samsung: 13, - android: 80, - node: 14, - }), - templateLiteral: rawChecker({ - chrome: 41, - and_chr: 41, - edge: 13, - firefox: 34, - and_ff: 34, - opera: 29, - op_mob: 64, - safari: [9, 1], - ios_saf: 9, - samsung: 4, - android: 41, - and_qq: [10, 4], - baidu: [7, 12], - and_uc: [12, 12], - kaios: [2, 5], - node: 4, - }), - browser: P, - electron: false, - node: R, - nwjs: false, - web: P, - webworker: false, - document: P, - fetchWasm: P, - global: R, - importScripts: false, - importScriptsInWorker: true, - nodeBuiltins: R, - require: R, - } - } - k.exports = { resolve: resolve, load: load } - }, - 25801: function (k, v, E) { - 'use strict' - const P = E(57147) - const R = E(71017) - const { - JAVASCRIPT_MODULE_TYPE_AUTO: L, - JSON_MODULE_TYPE: N, - WEBASSEMBLY_MODULE_TYPE_ASYNC: q, - JAVASCRIPT_MODULE_TYPE_ESM: ae, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: le, - WEBASSEMBLY_MODULE_TYPE_SYNC: pe, - ASSET_MODULE_TYPE: me, - CSS_MODULE_TYPE: ye, - } = E(93622) - const _e = E(95041) - const { cleverMerge: Ie } = E(99454) - const { - getTargetsProperties: Me, - getTargetProperties: Te, - getDefaultTarget: je, - } = E(30391) - const Ne = /[\\/]node_modules[\\/]/i - const D = (k, v, E) => { - if (k[v] === undefined) { - k[v] = E - } - } - const F = (k, v, E) => { - if (k[v] === undefined) { - k[v] = E() - } - } - const A = (k, v, E) => { - const P = k[v] - if (P === undefined) { - k[v] = E() - } else if (Array.isArray(P)) { - let R = undefined - for (let L = 0; L < P.length; L++) { - const N = P[L] - if (N === '...') { - if (R === undefined) { - R = P.slice(0, L) - k[v] = R - } - const N = E() - if (N !== undefined) { - for (const k of N) { - R.push(k) - } - } - } else if (R !== undefined) { - R.push(N) - } - } - } - } - const applyWebpackOptionsBaseDefaults = (k) => { - F(k, 'context', () => process.cwd()) - applyInfrastructureLoggingDefaults(k.infrastructureLogging) - } - const applyWebpackOptionsDefaults = (k) => { - F(k, 'context', () => process.cwd()) - F(k, 'target', () => je(k.context)) - const { mode: v, name: P, target: R } = k - let L = - R === false - ? false - : typeof R === 'string' - ? Te(R, k.context) - : Me(R, k.context) - const N = v === 'development' - const q = v === 'production' || !v - if (typeof k.entry !== 'function') { - for (const v of Object.keys(k.entry)) { - F(k.entry[v], 'import', () => ['./src']) - } - } - F(k, 'devtool', () => (N ? 'eval' : false)) - D(k, 'watch', false) - D(k, 'profile', false) - D(k, 'parallelism', 100) - D(k, 'recordsInputPath', false) - D(k, 'recordsOutputPath', false) - applyExperimentsDefaults(k.experiments, { - production: q, - development: N, - targetProperties: L, - }) - const ae = k.experiments.futureDefaults - F(k, 'cache', () => (N ? { type: 'memory' } : false)) - applyCacheDefaults(k.cache, { - name: P || 'default', - mode: v || 'production', - development: N, - cacheUnaffected: k.experiments.cacheUnaffected, - }) - const le = !!k.cache - applySnapshotDefaults(k.snapshot, { production: q, futureDefaults: ae }) - applyModuleDefaults(k.module, { - cache: le, - syncWebAssembly: k.experiments.syncWebAssembly, - asyncWebAssembly: k.experiments.asyncWebAssembly, - css: k.experiments.css, - futureDefaults: ae, - isNode: L && L.node === true, - }) - applyOutputDefaults(k.output, { - context: k.context, - targetProperties: L, - isAffectedByBrowserslist: - R === undefined || - (typeof R === 'string' && R.startsWith('browserslist')) || - (Array.isArray(R) && R.some((k) => k.startsWith('browserslist'))), - outputModule: k.experiments.outputModule, - development: N, - entry: k.entry, - module: k.module, - futureDefaults: ae, - }) - applyExternalsPresetsDefaults(k.externalsPresets, { - targetProperties: L, - buildHttp: !!k.experiments.buildHttp, - }) - applyLoaderDefaults(k.loader, { - targetProperties: L, - environment: k.output.environment, - }) - F(k, 'externalsType', () => { - const v = E(98625).definitions.ExternalsType['enum'] - return k.output.library && v.includes(k.output.library.type) - ? k.output.library.type - : k.output.module - ? 'module' - : 'var' - }) - applyNodeDefaults(k.node, { - futureDefaults: k.experiments.futureDefaults, - targetProperties: L, - }) - F(k, 'performance', () => - q && L && (L.browser || L.browser === null) ? {} : false - ) - applyPerformanceDefaults(k.performance, { production: q }) - applyOptimizationDefaults(k.optimization, { - development: N, - production: q, - css: k.experiments.css, - records: !!(k.recordsInputPath || k.recordsOutputPath), - }) - k.resolve = Ie( - getResolveDefaults({ - cache: le, - context: k.context, - targetProperties: L, - mode: k.mode, - }), - k.resolve - ) - k.resolveLoader = Ie( - getResolveLoaderDefaults({ cache: le }), - k.resolveLoader - ) - } - const applyExperimentsDefaults = ( - k, - { production: v, development: E, targetProperties: P } - ) => { - D(k, 'futureDefaults', false) - D(k, 'backCompat', !k.futureDefaults) - D(k, 'syncWebAssembly', false) - D(k, 'asyncWebAssembly', k.futureDefaults) - D(k, 'outputModule', false) - D(k, 'layers', false) - D(k, 'lazyCompilation', undefined) - D(k, 'buildHttp', undefined) - D(k, 'cacheUnaffected', k.futureDefaults) - F(k, 'css', () => (k.futureDefaults ? {} : undefined)) - let R = true - if (typeof k.topLevelAwait === 'boolean') { - R = k.topLevelAwait - } - D(k, 'topLevelAwait', R) - if (typeof k.buildHttp === 'object') { - D(k.buildHttp, 'frozen', v) - D(k.buildHttp, 'upgrade', false) - } - if (typeof k.css === 'object') { - D(k.css, 'exportsOnly', !P || !P.document) - } - } - const applyCacheDefaults = ( - k, - { name: v, mode: E, development: L, cacheUnaffected: N } - ) => { - if (k === false) return - switch (k.type) { - case 'filesystem': - F(k, 'name', () => v + '-' + E) - D(k, 'version', '') - F(k, 'cacheDirectory', () => { - const k = process.cwd() - let v = k - for (;;) { - try { - if (P.statSync(R.join(v, 'package.json')).isFile()) break - } catch (k) {} - const k = R.dirname(v) - if (v === k) { - v = undefined - break - } - v = k - } - if (!v) { - return R.resolve(k, '.cache/webpack') - } else if (process.versions.pnp === '1') { - return R.resolve(v, '.pnp/.cache/webpack') - } else if (process.versions.pnp === '3') { - return R.resolve(v, '.yarn/.cache/webpack') - } else { - return R.resolve(v, 'node_modules/.cache/webpack') - } - }) - F(k, 'cacheLocation', () => R.resolve(k.cacheDirectory, k.name)) - D(k, 'hashAlgorithm', 'md4') - D(k, 'store', 'pack') - D(k, 'compression', false) - D(k, 'profile', false) - D(k, 'idleTimeout', 6e4) - D(k, 'idleTimeoutForInitialStore', 5e3) - D(k, 'idleTimeoutAfterLargeChanges', 1e3) - D(k, 'maxMemoryGenerations', L ? 5 : Infinity) - D(k, 'maxAge', 1e3 * 60 * 60 * 24 * 60) - D(k, 'allowCollectingMemory', L) - D(k, 'memoryCacheUnaffected', L && N) - D(k, 'readonly', false) - D(k.buildDependencies, 'defaultWebpack', [ - R.resolve(__dirname, '..') + R.sep, - ]) - break - case 'memory': - D(k, 'maxGenerations', Infinity) - D(k, 'cacheUnaffected', L && N) - break - } - } - const applySnapshotDefaults = ( - k, - { production: v, futureDefaults: E } - ) => { - if (E) { - F(k, 'managedPaths', () => - process.versions.pnp === '3' - ? [ - /^(.+?(?:[\\/]\.yarn[\\/]unplugged[\\/][^\\/]+)?[\\/]node_modules[\\/])/, - ] - : [/^(.+?[\\/]node_modules[\\/])/] - ) - F(k, 'immutablePaths', () => - process.versions.pnp === '3' - ? [/^(.+?[\\/]cache[\\/][^\\/]+\.zip[\\/]node_modules[\\/])/] - : [] - ) - } else { - A(k, 'managedPaths', () => { - if (process.versions.pnp === '3') { - const k = - /^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec( - 28978 - ) - if (k) { - return [R.resolve(k[1], 'unplugged')] - } - } else { - const k = /^(.+?[\\/]node_modules[\\/])/.exec(28978) - if (k) { - return [k[1]] - } - } - return [] - }) - A(k, 'immutablePaths', () => { - if (process.versions.pnp === '1') { - const k = - /^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec( - 28978 - ) - if (k) { - return [k[1]] - } - } else if (process.versions.pnp === '3') { - const k = - /^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec( - 28978 - ) - if (k) { - return [k[1]] - } - } - return [] - }) - } - F(k, 'resolveBuildDependencies', () => ({ - timestamp: true, - hash: true, - })) - F(k, 'buildDependencies', () => ({ timestamp: true, hash: true })) - F(k, 'module', () => - v ? { timestamp: true, hash: true } : { timestamp: true } - ) - F(k, 'resolve', () => - v ? { timestamp: true, hash: true } : { timestamp: true } - ) - } - const applyJavascriptParserOptionsDefaults = ( - k, - { futureDefaults: v, isNode: E } - ) => { - D(k, 'unknownContextRequest', '.') - D(k, 'unknownContextRegExp', false) - D(k, 'unknownContextRecursive', true) - D(k, 'unknownContextCritical', true) - D(k, 'exprContextRequest', '.') - D(k, 'exprContextRegExp', false) - D(k, 'exprContextRecursive', true) - D(k, 'exprContextCritical', true) - D(k, 'wrappedContextRegExp', /.*/) - D(k, 'wrappedContextRecursive', true) - D(k, 'wrappedContextCritical', false) - D(k, 'strictThisContextOnImports', false) - D(k, 'importMeta', true) - D(k, 'dynamicImportMode', 'lazy') - D(k, 'dynamicImportPrefetch', false) - D(k, 'dynamicImportPreload', false) - D(k, 'createRequire', E) - if (v) D(k, 'exportsPresence', 'error') - } - const applyModuleDefaults = ( - k, - { - cache: v, - syncWebAssembly: E, - asyncWebAssembly: P, - css: R, - futureDefaults: _e, - isNode: Ie, - } - ) => { - if (v) { - D(k, 'unsafeCache', (k) => { - const v = k.nameForCondition() - return v && Ne.test(v) - }) - } else { - D(k, 'unsafeCache', false) - } - F(k.parser, me, () => ({})) - F(k.parser.asset, 'dataUrlCondition', () => ({})) - if (typeof k.parser.asset.dataUrlCondition === 'object') { - D(k.parser.asset.dataUrlCondition, 'maxSize', 8096) - } - F(k.parser, 'javascript', () => ({})) - applyJavascriptParserOptionsDefaults(k.parser.javascript, { - futureDefaults: _e, - isNode: Ie, - }) - A(k, 'defaultRules', () => { - const k = { - type: ae, - resolve: { byDependency: { esm: { fullySpecified: true } } }, - } - const v = { type: le } - const me = [ - { mimetype: 'application/node', type: L }, - { test: /\.json$/i, type: N }, - { mimetype: 'application/json', type: N }, - { test: /\.mjs$/i, ...k }, - { test: /\.js$/i, descriptionData: { type: 'module' }, ...k }, - { test: /\.cjs$/i, ...v }, - { test: /\.js$/i, descriptionData: { type: 'commonjs' }, ...v }, - { - mimetype: { or: ['text/javascript', 'application/javascript'] }, - ...k, - }, - ] - if (P) { - const k = { - type: q, - rules: [ - { - descriptionData: { type: 'module' }, - resolve: { fullySpecified: true }, - }, - ], - } - me.push({ test: /\.wasm$/i, ...k }) - me.push({ mimetype: 'application/wasm', ...k }) - } else if (E) { - const k = { - type: pe, - rules: [ - { - descriptionData: { type: 'module' }, - resolve: { fullySpecified: true }, - }, - ], - } - me.push({ test: /\.wasm$/i, ...k }) - me.push({ mimetype: 'application/wasm', ...k }) - } - if (R) { - const k = { - type: ye, - resolve: { fullySpecified: true, preferRelative: true }, - } - const v = { type: 'css/module', resolve: { fullySpecified: true } } - me.push({ - test: /\.css$/i, - oneOf: [{ test: /\.module\.css$/i, ...v }, { ...k }], - }) - me.push({ mimetype: 'text/css+module', ...v }) - me.push({ mimetype: 'text/css', ...k }) - } - me.push( - { - dependency: 'url', - oneOf: [ - { scheme: /^data$/, type: 'asset/inline' }, - { type: 'asset/resource' }, - ], - }, - { assert: { type: 'json' }, type: N } - ) - return me - }) - } - const applyOutputDefaults = ( - k, - { - context: v, - targetProperties: E, - isAffectedByBrowserslist: L, - outputModule: N, - development: q, - entry: ae, - module: le, - futureDefaults: pe, - } - ) => { - const getLibraryName = (k) => { - const v = - typeof k === 'object' && k && !Array.isArray(k) && 'type' in k - ? k.name - : k - if (Array.isArray(v)) { - return v.join('.') - } else if (typeof v === 'object') { - return getLibraryName(v.root) - } else if (typeof v === 'string') { - return v - } - return '' - } - F(k, 'uniqueName', () => { - const E = getLibraryName(k.library).replace( - /^\[(\\*[\w:]+\\*)\](\.)|(\.)\[(\\*[\w:]+\\*)\](?=\.|$)|\[(\\*[\w:]+\\*)\]/g, - (k, v, E, P, R, L) => { - const N = v || R || L - return N.startsWith('\\') && N.endsWith('\\') - ? `${P || ''}[${N.slice(1, -1)}]${E || ''}` - : '' - } - ) - if (E) return E - const L = R.resolve(v, 'package.json') - try { - const k = JSON.parse(P.readFileSync(L, 'utf-8')) - return k.name || '' - } catch (k) { - if (k.code !== 'ENOENT') { - k.message += `\nwhile determining default 'output.uniqueName' from 'name' in ${L}` - throw k - } - return '' - } - }) - F(k, 'module', () => !!N) - D(k, 'filename', k.module ? '[name].mjs' : '[name].js') - F(k, 'iife', () => !k.module) - D(k, 'importFunctionName', 'import') - D(k, 'importMetaName', 'import.meta') - F(k, 'chunkFilename', () => { - const v = k.filename - if (typeof v !== 'function') { - const k = v.includes('[name]') - const E = v.includes('[id]') - const P = v.includes('[chunkhash]') - const R = v.includes('[contenthash]') - if (P || R || k || E) return v - return v.replace(/(^|\/)([^/]*(?:\?|$))/, '$1[id].$2') - } - return k.module ? '[id].mjs' : '[id].js' - }) - F(k, 'cssFilename', () => { - const v = k.filename - if (typeof v !== 'function') { - return v.replace(/\.[mc]?js(\?|$)/, '.css$1') - } - return '[id].css' - }) - F(k, 'cssChunkFilename', () => { - const v = k.chunkFilename - if (typeof v !== 'function') { - return v.replace(/\.[mc]?js(\?|$)/, '.css$1') - } - return '[id].css' - }) - D(k, 'assetModuleFilename', '[hash][ext][query]') - D(k, 'webassemblyModuleFilename', '[hash].module.wasm') - D(k, 'compareBeforeEmit', true) - D(k, 'charset', true) - F(k, 'hotUpdateGlobal', () => - _e.toIdentifier('webpackHotUpdate' + _e.toIdentifier(k.uniqueName)) - ) - F(k, 'chunkLoadingGlobal', () => - _e.toIdentifier('webpackChunk' + _e.toIdentifier(k.uniqueName)) - ) - F(k, 'globalObject', () => { - if (E) { - if (E.global) return 'global' - if (E.globalThis) return 'globalThis' - } - return 'self' - }) - F(k, 'chunkFormat', () => { - if (E) { - const v = L - ? "Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly." - : "Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly." - if (k.module) { - if (E.dynamicImport) return 'module' - if (E.document) return 'array-push' - throw new Error( - 'For the selected environment is no default ESM chunk format available:\n' + - "ESM exports can be chosen when 'import()' is available.\n" + - "JSONP Array push can be chosen when 'document' is available.\n" + - v - ) - } else { - if (E.document) return 'array-push' - if (E.require) return 'commonjs' - if (E.nodeBuiltins) return 'commonjs' - if (E.importScripts) return 'array-push' - throw new Error( - 'For the selected environment is no default script chunk format available:\n' + - "JSONP Array push can be chosen when 'document' or 'importScripts' is available.\n" + - "CommonJs exports can be chosen when 'require' or node builtins are available.\n" + - v - ) - } - } - throw new Error( - "Chunk format can't be selected by default when no target is specified" - ) - }) - D(k, 'asyncChunks', true) - F(k, 'chunkLoading', () => { - if (E) { - switch (k.chunkFormat) { - case 'array-push': - if (E.document) return 'jsonp' - if (E.importScripts) return 'import-scripts' - break - case 'commonjs': - if (E.require) return 'require' - if (E.nodeBuiltins) return 'async-node' - break - case 'module': - if (E.dynamicImport) return 'import' - break - } - if ( - E.require === null || - E.nodeBuiltins === null || - E.document === null || - E.importScripts === null - ) { - return 'universal' - } - } - return false - }) - F(k, 'workerChunkLoading', () => { - if (E) { - switch (k.chunkFormat) { - case 'array-push': - if (E.importScriptsInWorker) return 'import-scripts' - break - case 'commonjs': - if (E.require) return 'require' - if (E.nodeBuiltins) return 'async-node' - break - case 'module': - if (E.dynamicImportInWorker) return 'import' - break - } - if ( - E.require === null || - E.nodeBuiltins === null || - E.importScriptsInWorker === null - ) { - return 'universal' - } - } - return false - }) - F(k, 'wasmLoading', () => { - if (E) { - if (E.fetchWasm) return 'fetch' - if (E.nodeBuiltins) - return k.module ? 'async-node-module' : 'async-node' - if (E.nodeBuiltins === null || E.fetchWasm === null) { - return 'universal' - } - } - return false - }) - F(k, 'workerWasmLoading', () => k.wasmLoading) - F(k, 'devtoolNamespace', () => k.uniqueName) - if (k.library) { - F(k.library, 'type', () => (k.module ? 'module' : 'var')) - } - F(k, 'path', () => R.join(process.cwd(), 'dist')) - F(k, 'pathinfo', () => q) - D(k, 'sourceMapFilename', '[file].map[query]') - D( - k, - 'hotUpdateChunkFilename', - `[id].[fullhash].hot-update.${k.module ? 'mjs' : 'js'}` - ) - D(k, 'hotUpdateMainFilename', '[runtime].[fullhash].hot-update.json') - D(k, 'crossOriginLoading', false) - F(k, 'scriptType', () => (k.module ? 'module' : false)) - D( - k, - 'publicPath', - (E && (E.document || E.importScripts)) || k.scriptType === 'module' - ? 'auto' - : '' - ) - D(k, 'workerPublicPath', '') - D(k, 'chunkLoadTimeout', 12e4) - D(k, 'hashFunction', pe ? 'xxhash64' : 'md4') - D(k, 'hashDigest', 'hex') - D(k, 'hashDigestLength', pe ? 16 : 20) - D(k, 'strictModuleExceptionHandling', false) - const me = k.environment - const optimistic = (k) => k || k === undefined - const conditionallyOptimistic = (k, v) => (k === undefined && v) || k - F(me, 'globalThis', () => E && E.globalThis) - F(me, 'bigIntLiteral', () => E && E.bigIntLiteral) - F(me, 'const', () => E && optimistic(E.const)) - F(me, 'arrowFunction', () => E && optimistic(E.arrowFunction)) - F(me, 'forOf', () => E && optimistic(E.forOf)) - F(me, 'destructuring', () => E && optimistic(E.destructuring)) - F(me, 'optionalChaining', () => E && optimistic(E.optionalChaining)) - F(me, 'templateLiteral', () => E && optimistic(E.templateLiteral)) - F(me, 'dynamicImport', () => - conditionallyOptimistic(E && E.dynamicImport, k.module) - ) - F(me, 'dynamicImportInWorker', () => - conditionallyOptimistic(E && E.dynamicImportInWorker, k.module) - ) - F(me, 'module', () => conditionallyOptimistic(E && E.module, k.module)) - const { trustedTypes: ye } = k - if (ye) { - F( - ye, - 'policyName', - () => - k.uniqueName.replace(/[^a-zA-Z0-9\-#=_/@.%]+/g, '_') || 'webpack' - ) - D(ye, 'onPolicyCreationFailure', 'stop') - } - const forEachEntry = (k) => { - for (const v of Object.keys(ae)) { - k(ae[v]) - } - } - A(k, 'enabledLibraryTypes', () => { - const v = [] - if (k.library) { - v.push(k.library.type) - } - forEachEntry((k) => { - if (k.library) { - v.push(k.library.type) - } - }) - return v - }) - A(k, 'enabledChunkLoadingTypes', () => { - const v = new Set() - if (k.chunkLoading) { - v.add(k.chunkLoading) - } - if (k.workerChunkLoading) { - v.add(k.workerChunkLoading) - } - forEachEntry((k) => { - if (k.chunkLoading) { - v.add(k.chunkLoading) - } - }) - return Array.from(v) - }) - A(k, 'enabledWasmLoadingTypes', () => { - const v = new Set() - if (k.wasmLoading) { - v.add(k.wasmLoading) - } - if (k.workerWasmLoading) { - v.add(k.workerWasmLoading) - } - forEachEntry((k) => { - if (k.wasmLoading) { - v.add(k.wasmLoading) - } - }) - return Array.from(v) - }) - } - const applyExternalsPresetsDefaults = ( - k, - { targetProperties: v, buildHttp: E } - ) => { - D(k, 'web', !E && v && v.web) - D(k, 'node', v && v.node) - D(k, 'nwjs', v && v.nwjs) - D(k, 'electron', v && v.electron) - D(k, 'electronMain', v && v.electron && v.electronMain) - D(k, 'electronPreload', v && v.electron && v.electronPreload) - D(k, 'electronRenderer', v && v.electron && v.electronRenderer) - } - const applyLoaderDefaults = ( - k, - { targetProperties: v, environment: E } - ) => { - F(k, 'target', () => { - if (v) { - if (v.electron) { - if (v.electronMain) return 'electron-main' - if (v.electronPreload) return 'electron-preload' - if (v.electronRenderer) return 'electron-renderer' - return 'electron' - } - if (v.nwjs) return 'nwjs' - if (v.node) return 'node' - if (v.web) return 'web' - } - }) - D(k, 'environment', E) - } - const applyNodeDefaults = ( - k, - { futureDefaults: v, targetProperties: E } - ) => { - if (k === false) return - F(k, 'global', () => { - if (E && E.global) return false - return v ? 'warn' : true - }) - F(k, '__filename', () => { - if (E && E.node) return 'eval-only' - return v ? 'warn-mock' : 'mock' - }) - F(k, '__dirname', () => { - if (E && E.node) return 'eval-only' - return v ? 'warn-mock' : 'mock' - }) - } - const applyPerformanceDefaults = (k, { production: v }) => { - if (k === false) return - D(k, 'maxAssetSize', 25e4) - D(k, 'maxEntrypointSize', 25e4) - F(k, 'hints', () => (v ? 'warning' : false)) - } - const applyOptimizationDefaults = ( - k, - { production: v, development: P, css: R, records: L } - ) => { - D(k, 'removeAvailableModules', false) - D(k, 'removeEmptyChunks', true) - D(k, 'mergeDuplicateChunks', true) - D(k, 'flagIncludedChunks', v) - F(k, 'moduleIds', () => { - if (v) return 'deterministic' - if (P) return 'named' - return 'natural' - }) - F(k, 'chunkIds', () => { - if (v) return 'deterministic' - if (P) return 'named' - return 'natural' - }) - F(k, 'sideEffects', () => (v ? true : 'flag')) - D(k, 'providedExports', true) - D(k, 'usedExports', v) - D(k, 'innerGraph', v) - D(k, 'mangleExports', v) - D(k, 'concatenateModules', v) - D(k, 'runtimeChunk', false) - D(k, 'emitOnErrors', !v) - D(k, 'checkWasmTypes', v) - D(k, 'mangleWasmImports', false) - D(k, 'portableRecords', L) - D(k, 'realContentHash', v) - D(k, 'minimize', v) - A(k, 'minimizer', () => [ - { - apply: (k) => { - const v = E(55302) - new v({ terserOptions: { compress: { passes: 2 } } }).apply(k) - }, - }, - ]) - F(k, 'nodeEnv', () => { - if (v) return 'production' - if (P) return 'development' - return false - }) - const { splitChunks: N } = k - if (N) { - A(N, 'defaultSizeTypes', () => - R ? ['javascript', 'css', 'unknown'] : ['javascript', 'unknown'] - ) - D(N, 'hidePathInfo', v) - D(N, 'chunks', 'async') - D(N, 'usedExports', k.usedExports === true) - D(N, 'minChunks', 1) - F(N, 'minSize', () => (v ? 2e4 : 1e4)) - F(N, 'minRemainingSize', () => (P ? 0 : undefined)) - F(N, 'enforceSizeThreshold', () => (v ? 5e4 : 3e4)) - F(N, 'maxAsyncRequests', () => (v ? 30 : Infinity)) - F(N, 'maxInitialRequests', () => (v ? 30 : Infinity)) - D(N, 'automaticNameDelimiter', '-') - const E = N.cacheGroups - F(E, 'default', () => ({ - idHint: '', - reuseExistingChunk: true, - minChunks: 2, - priority: -20, - })) - F(E, 'defaultVendors', () => ({ - idHint: 'vendors', - reuseExistingChunk: true, - test: Ne, - priority: -10, - })) - } - } - const getResolveDefaults = ({ - cache: k, - context: v, - targetProperties: E, - mode: P, - }) => { - const R = ['webpack'] - R.push(P === 'development' ? 'development' : 'production') - if (E) { - if (E.webworker) R.push('worker') - if (E.node) R.push('node') - if (E.web) R.push('browser') - if (E.electron) R.push('electron') - if (E.nwjs) R.push('nwjs') - } - const L = ['.js', '.json', '.wasm'] - const N = E - const q = N && N.web && (!N.node || (N.electron && N.electronRenderer)) - const cjsDeps = () => ({ - aliasFields: q ? ['browser'] : [], - mainFields: q ? ['browser', 'module', '...'] : ['module', '...'], - conditionNames: ['require', 'module', '...'], - extensions: [...L], - }) - const esmDeps = () => ({ - aliasFields: q ? ['browser'] : [], - mainFields: q ? ['browser', 'module', '...'] : ['module', '...'], - conditionNames: ['import', 'module', '...'], - extensions: [...L], - }) - const ae = { - cache: k, - modules: ['node_modules'], - conditionNames: R, - mainFiles: ['index'], - extensions: [], - aliasFields: [], - exportsFields: ['exports'], - roots: [v], - mainFields: ['main'], - byDependency: { - wasm: esmDeps(), - esm: esmDeps(), - loaderImport: esmDeps(), - url: { preferRelative: true }, - worker: { ...esmDeps(), preferRelative: true }, - commonjs: cjsDeps(), - amd: cjsDeps(), - loader: cjsDeps(), - unknown: cjsDeps(), - undefined: cjsDeps(), - }, - } - return ae - } - const getResolveLoaderDefaults = ({ cache: k }) => { - const v = { - cache: k, - conditionNames: ['loader', 'require', 'node'], - exportsFields: ['exports'], - mainFields: ['loader', 'main'], - extensions: ['.js'], - mainFiles: ['index'], - } - return v - } - const applyInfrastructureLoggingDefaults = (k) => { - F(k, 'stream', () => process.stderr) - const v = k.stream.isTTY && process.env.TERM !== 'dumb' - D(k, 'level', 'info') - D(k, 'debug', false) - D(k, 'colors', v) - D(k, 'appendOnly', !v) - } - v.applyWebpackOptionsBaseDefaults = applyWebpackOptionsBaseDefaults - v.applyWebpackOptionsDefaults = applyWebpackOptionsDefaults - }, - 47339: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = P.deprecate( - (k, v) => { - if (v !== undefined && !k === !v) { - throw new Error( - "Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config." - ) - } - return !k - }, - 'optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors', - 'DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS' - ) - const nestedConfig = (k, v) => (k === undefined ? v({}) : v(k)) - const cloneObject = (k) => ({ ...k }) - const optionalNestedConfig = (k, v) => - k === undefined ? undefined : v(k) - const nestedArray = (k, v) => (Array.isArray(k) ? v(k) : v([])) - const optionalNestedArray = (k, v) => - Array.isArray(k) ? v(k) : undefined - const keyedNestedConfig = (k, v, E) => { - const P = - k === undefined - ? {} - : Object.keys(k).reduce( - (P, R) => ((P[R] = (E && R in E ? E[R] : v)(k[R])), P), - {} - ) - if (E) { - for (const k of Object.keys(E)) { - if (!(k in P)) { - P[k] = E[k]({}) - } - } - } - return P - } - const getNormalizedWebpackOptions = (k) => ({ - amd: k.amd, - bail: k.bail, - cache: optionalNestedConfig(k.cache, (k) => { - if (k === false) return false - if (k === true) { - return { type: 'memory', maxGenerations: undefined } - } - switch (k.type) { - case 'filesystem': - return { - type: 'filesystem', - allowCollectingMemory: k.allowCollectingMemory, - maxMemoryGenerations: k.maxMemoryGenerations, - maxAge: k.maxAge, - profile: k.profile, - buildDependencies: cloneObject(k.buildDependencies), - cacheDirectory: k.cacheDirectory, - cacheLocation: k.cacheLocation, - hashAlgorithm: k.hashAlgorithm, - compression: k.compression, - idleTimeout: k.idleTimeout, - idleTimeoutForInitialStore: k.idleTimeoutForInitialStore, - idleTimeoutAfterLargeChanges: k.idleTimeoutAfterLargeChanges, - name: k.name, - store: k.store, - version: k.version, - readonly: k.readonly, - } - case undefined: - case 'memory': - return { type: 'memory', maxGenerations: k.maxGenerations } - default: - throw new Error(`Not implemented cache.type ${k.type}`) - } - }), - context: k.context, - dependencies: k.dependencies, - devServer: optionalNestedConfig(k.devServer, (k) => ({ ...k })), - devtool: k.devtool, - entry: - k.entry === undefined - ? { main: {} } - : typeof k.entry === 'function' - ? ( - (k) => () => - Promise.resolve().then(k).then(getNormalizedEntryStatic) - )(k.entry) - : getNormalizedEntryStatic(k.entry), - experiments: nestedConfig(k.experiments, (k) => ({ - ...k, - buildHttp: optionalNestedConfig(k.buildHttp, (k) => - Array.isArray(k) ? { allowedUris: k } : k - ), - lazyCompilation: optionalNestedConfig(k.lazyCompilation, (k) => - k === true ? {} : k - ), - css: optionalNestedConfig(k.css, (k) => (k === true ? {} : k)), - })), - externals: k.externals, - externalsPresets: cloneObject(k.externalsPresets), - externalsType: k.externalsType, - ignoreWarnings: k.ignoreWarnings - ? k.ignoreWarnings.map((k) => { - if (typeof k === 'function') return k - const v = k instanceof RegExp ? { message: k } : k - return (k, { requestShortener: E }) => { - if (!v.message && !v.module && !v.file) return false - if (v.message && !v.message.test(k.message)) { - return false - } - if ( - v.module && - (!k.module || !v.module.test(k.module.readableIdentifier(E))) - ) { - return false - } - if (v.file && (!k.file || !v.file.test(k.file))) { - return false - } - return true - } - }) - : undefined, - infrastructureLogging: cloneObject(k.infrastructureLogging), - loader: cloneObject(k.loader), - mode: k.mode, - module: nestedConfig(k.module, (k) => ({ - noParse: k.noParse, - unsafeCache: k.unsafeCache, - parser: keyedNestedConfig(k.parser, cloneObject, { - javascript: (v) => ({ - unknownContextRequest: k.unknownContextRequest, - unknownContextRegExp: k.unknownContextRegExp, - unknownContextRecursive: k.unknownContextRecursive, - unknownContextCritical: k.unknownContextCritical, - exprContextRequest: k.exprContextRequest, - exprContextRegExp: k.exprContextRegExp, - exprContextRecursive: k.exprContextRecursive, - exprContextCritical: k.exprContextCritical, - wrappedContextRegExp: k.wrappedContextRegExp, - wrappedContextRecursive: k.wrappedContextRecursive, - wrappedContextCritical: k.wrappedContextCritical, - strictExportPresence: k.strictExportPresence, - strictThisContextOnImports: k.strictThisContextOnImports, - ...v, - }), - }), - generator: cloneObject(k.generator), - defaultRules: optionalNestedArray(k.defaultRules, (k) => [...k]), - rules: nestedArray(k.rules, (k) => [...k]), - })), - name: k.name, - node: nestedConfig(k.node, (k) => k && { ...k }), - optimization: nestedConfig(k.optimization, (k) => ({ - ...k, - runtimeChunk: getNormalizedOptimizationRuntimeChunk(k.runtimeChunk), - splitChunks: nestedConfig( - k.splitChunks, - (k) => - k && { - ...k, - defaultSizeTypes: k.defaultSizeTypes - ? [...k.defaultSizeTypes] - : ['...'], - cacheGroups: cloneObject(k.cacheGroups), - } - ), - emitOnErrors: - k.noEmitOnErrors !== undefined - ? R(k.noEmitOnErrors, k.emitOnErrors) - : k.emitOnErrors, - })), - output: nestedConfig(k.output, (k) => { - const { library: v } = k - const E = v - const P = - typeof v === 'object' && v && !Array.isArray(v) && 'type' in v - ? v - : E || k.libraryTarget - ? { name: E } - : undefined - const R = { - assetModuleFilename: k.assetModuleFilename, - asyncChunks: k.asyncChunks, - charset: k.charset, - chunkFilename: k.chunkFilename, - chunkFormat: k.chunkFormat, - chunkLoading: k.chunkLoading, - chunkLoadingGlobal: k.chunkLoadingGlobal, - chunkLoadTimeout: k.chunkLoadTimeout, - cssFilename: k.cssFilename, - cssChunkFilename: k.cssChunkFilename, - clean: k.clean, - compareBeforeEmit: k.compareBeforeEmit, - crossOriginLoading: k.crossOriginLoading, - devtoolFallbackModuleFilenameTemplate: - k.devtoolFallbackModuleFilenameTemplate, - devtoolModuleFilenameTemplate: k.devtoolModuleFilenameTemplate, - devtoolNamespace: k.devtoolNamespace, - environment: cloneObject(k.environment), - enabledChunkLoadingTypes: k.enabledChunkLoadingTypes - ? [...k.enabledChunkLoadingTypes] - : ['...'], - enabledLibraryTypes: k.enabledLibraryTypes - ? [...k.enabledLibraryTypes] - : ['...'], - enabledWasmLoadingTypes: k.enabledWasmLoadingTypes - ? [...k.enabledWasmLoadingTypes] - : ['...'], - filename: k.filename, - globalObject: k.globalObject, - hashDigest: k.hashDigest, - hashDigestLength: k.hashDigestLength, - hashFunction: k.hashFunction, - hashSalt: k.hashSalt, - hotUpdateChunkFilename: k.hotUpdateChunkFilename, - hotUpdateGlobal: k.hotUpdateGlobal, - hotUpdateMainFilename: k.hotUpdateMainFilename, - ignoreBrowserWarnings: k.ignoreBrowserWarnings, - iife: k.iife, - importFunctionName: k.importFunctionName, - importMetaName: k.importMetaName, - scriptType: k.scriptType, - library: P && { - type: k.libraryTarget !== undefined ? k.libraryTarget : P.type, - auxiliaryComment: - k.auxiliaryComment !== undefined - ? k.auxiliaryComment - : P.auxiliaryComment, - amdContainer: - k.amdContainer !== undefined ? k.amdContainer : P.amdContainer, - export: - k.libraryExport !== undefined ? k.libraryExport : P.export, - name: P.name, - umdNamedDefine: - k.umdNamedDefine !== undefined - ? k.umdNamedDefine - : P.umdNamedDefine, - }, - module: k.module, - path: k.path, - pathinfo: k.pathinfo, - publicPath: k.publicPath, - sourceMapFilename: k.sourceMapFilename, - sourcePrefix: k.sourcePrefix, - strictModuleExceptionHandling: k.strictModuleExceptionHandling, - trustedTypes: optionalNestedConfig(k.trustedTypes, (k) => { - if (k === true) return {} - if (typeof k === 'string') return { policyName: k } - return { ...k } - }), - uniqueName: k.uniqueName, - wasmLoading: k.wasmLoading, - webassemblyModuleFilename: k.webassemblyModuleFilename, - workerPublicPath: k.workerPublicPath, - workerChunkLoading: k.workerChunkLoading, - workerWasmLoading: k.workerWasmLoading, - } - return R - }), - parallelism: k.parallelism, - performance: optionalNestedConfig(k.performance, (k) => { - if (k === false) return false - return { ...k } - }), - plugins: nestedArray(k.plugins, (k) => [...k]), - profile: k.profile, - recordsInputPath: - k.recordsInputPath !== undefined ? k.recordsInputPath : k.recordsPath, - recordsOutputPath: - k.recordsOutputPath !== undefined - ? k.recordsOutputPath - : k.recordsPath, - resolve: nestedConfig(k.resolve, (k) => ({ - ...k, - byDependency: keyedNestedConfig(k.byDependency, cloneObject), - })), - resolveLoader: cloneObject(k.resolveLoader), - snapshot: nestedConfig(k.snapshot, (k) => ({ - resolveBuildDependencies: optionalNestedConfig( - k.resolveBuildDependencies, - (k) => ({ timestamp: k.timestamp, hash: k.hash }) - ), - buildDependencies: optionalNestedConfig(k.buildDependencies, (k) => ({ - timestamp: k.timestamp, - hash: k.hash, - })), - resolve: optionalNestedConfig(k.resolve, (k) => ({ - timestamp: k.timestamp, - hash: k.hash, - })), - module: optionalNestedConfig(k.module, (k) => ({ - timestamp: k.timestamp, - hash: k.hash, - })), - immutablePaths: optionalNestedArray(k.immutablePaths, (k) => [...k]), - managedPaths: optionalNestedArray(k.managedPaths, (k) => [...k]), - })), - stats: nestedConfig(k.stats, (k) => { - if (k === false) { - return { preset: 'none' } - } - if (k === true) { - return { preset: 'normal' } - } - if (typeof k === 'string') { - return { preset: k } - } - return { ...k } - }), - target: k.target, - watch: k.watch, - watchOptions: cloneObject(k.watchOptions), - }) - const getNormalizedEntryStatic = (k) => { - if (typeof k === 'string') { - return { main: { import: [k] } } - } - if (Array.isArray(k)) { - return { main: { import: k } } - } - const v = {} - for (const E of Object.keys(k)) { - const P = k[E] - if (typeof P === 'string') { - v[E] = { import: [P] } - } else if (Array.isArray(P)) { - v[E] = { import: P } - } else { - v[E] = { - import: - P.import && (Array.isArray(P.import) ? P.import : [P.import]), - filename: P.filename, - layer: P.layer, - runtime: P.runtime, - baseUri: P.baseUri, - publicPath: P.publicPath, - chunkLoading: P.chunkLoading, - asyncChunks: P.asyncChunks, - wasmLoading: P.wasmLoading, - dependOn: - P.dependOn && - (Array.isArray(P.dependOn) ? P.dependOn : [P.dependOn]), - library: P.library, - } - } - } - return v - } - const getNormalizedOptimizationRuntimeChunk = (k) => { - if (k === undefined) return undefined - if (k === false) return false - if (k === 'single') { - return { name: () => 'runtime' } - } - if (k === true || k === 'multiple') { - return { name: (k) => `runtime~${k.name}` } - } - const { name: v } = k - return { name: typeof v === 'function' ? v : () => v } - } - v.getNormalizedWebpackOptions = getNormalizedWebpackOptions - }, - 30391: function (k, v, E) { - 'use strict' - const P = E(20631) - const R = P(() => E(6305)) - const getDefaultTarget = (k) => { - const v = R().load(null, k) - return v ? 'browserslist' : 'web' - } - const versionDependent = (k, v) => { - if (!k) { - return () => undefined - } - const E = +k - const P = v ? +v : 0 - return (k, v = 0) => E > k || (E === k && P >= v) - } - const L = [ - [ - '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(?::(.+))?$/, - (k, v) => { - const E = R() - const P = E.load(k ? k.trim() : null, v) - if (!P) { - 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 E.resolve(P) - }, - ], - [ - 'web', - 'Web browser.', - /^web$/, - () => ({ - 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$/, - () => ({ - 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+))?)?$/, - (k, v, E) => { - const P = versionDependent(v, E) - return { - node: true, - electron: false, - nwjs: false, - web: false, - webworker: false, - browser: false, - require: !k, - nodeBuiltins: true, - global: true, - document: false, - fetchWasm: false, - importScripts: false, - importScriptsInWorker: false, - globalThis: P(12), - const: P(6), - templateLiteral: P(4), - optionalChaining: P(14), - arrowFunction: P(6), - forOf: P(5), - destructuring: P(6), - bigIntLiteral: P(10, 4), - dynamicImport: P(12, 17), - dynamicImportInWorker: v ? false : undefined, - module: P(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)$/, - (k, v, E) => { - const P = versionDependent(k, v) - return { - node: true, - electron: true, - web: E !== 'main', - webworker: false, - browser: false, - nwjs: false, - electronMain: E === 'main', - electronPreload: E === 'preload', - electronRenderer: E === 'renderer', - global: true, - nodeBuiltins: true, - require: true, - document: E === 'renderer', - fetchWasm: E === 'renderer', - importScripts: false, - importScriptsInWorker: true, - globalThis: P(5), - const: P(1, 1), - templateLiteral: P(1, 1), - optionalChaining: P(8), - arrowFunction: P(1, 1), - forOf: P(0, 36), - destructuring: P(1, 1), - bigIntLiteral: P(4), - dynamicImport: P(11), - dynamicImportInWorker: k ? false : undefined, - module: P(11), - } - }, - ], - [ - 'nwjs[X[.Y]] / node-webkit[X[.Y]]', - 'NW.js in version X.Y.', - /^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/, - (k, v) => { - const E = versionDependent(k, v) - 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: E(0, 43), - const: E(0, 15), - templateLiteral: E(0, 13), - optionalChaining: E(0, 44), - arrowFunction: E(0, 15), - forOf: E(0, 13), - destructuring: E(0, 15), - bigIntLiteral: E(0, 32), - dynamicImport: E(0, 43), - dynamicImportInWorker: k ? false : undefined, - module: E(0, 43), - } - }, - ], - [ - 'esX', - 'EcmaScript in this version. Examples: es2020, es5.', - /^es(\d+)$/, - (k) => { - let v = +k - if (v < 1e3) v = v + 2009 - return { - const: v >= 2015, - templateLiteral: v >= 2015, - optionalChaining: v >= 2020, - arrowFunction: v >= 2015, - forOf: v >= 2015, - destructuring: v >= 2015, - module: v >= 2015, - globalThis: v >= 2020, - bigIntLiteral: v >= 2020, - dynamicImport: v >= 2020, - dynamicImportInWorker: v >= 2020, - } - }, - ], - ] - const getTargetProperties = (k, v) => { - for (const [, , E, P] of L) { - const R = E.exec(k) - if (R) { - const [, ...k] = R - const E = P(...k, v) - if (E) return E - } - } - throw new Error( - `Unknown target '${k}'. The following targets are supported:\n${L.map( - ([k, v]) => `* ${k}: ${v}` - ).join('\n')}` - ) - } - const mergeTargetProperties = (k) => { - const v = new Set() - for (const E of k) { - for (const k of Object.keys(E)) { - v.add(k) - } - } - const E = {} - for (const P of v) { - let v = false - let R = false - for (const E of k) { - const k = E[P] - switch (k) { - case true: - v = true - break - case false: - R = true - break - } - } - if (v || R) E[P] = R && v ? null : v ? true : false - } - return E - } - const getTargetsProperties = (k, v) => - mergeTargetProperties(k.map((k) => getTargetProperties(k, v))) - v.getDefaultTarget = getDefaultTarget - v.getTargetProperties = getTargetProperties - v.getTargetsProperties = getTargetsProperties - }, - 22886: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(58528) - class ContainerEntryDependency extends P { - constructor(k, v, E) { - super() - this.name = k - this.exposes = v - this.shareScope = E - } - getResourceIdentifier() { - return `container-entry-${this.name}` - } - get type() { - return 'container entry' - } - get category() { - return 'esm' - } - } - R( - ContainerEntryDependency, - 'webpack/lib/container/ContainerEntryDependency' - ) - k.exports = ContainerEntryDependency - }, - 4268: function (k, v, E) { - 'use strict' - const { OriginalSource: P, RawSource: R } = E(51255) - const L = E(75081) - const N = E(88396) - const { JAVASCRIPT_MODULE_TYPE_DYNAMIC: q } = E(93622) - const ae = E(56727) - const le = E(95041) - const pe = E(93414) - const me = E(58528) - const ye = E(85455) - const _e = new Set(['javascript']) - class ContainerEntryModule extends N { - constructor(k, v, E) { - super(q, null) - this._name = k - this._exposes = v - this._shareScope = E - } - getSourceTypes() { - return _e - } - identifier() { - return `container entry (${this._shareScope}) ${JSON.stringify( - this._exposes - )}` - } - readableIdentifier(k) { - return `container entry` - } - libIdent(k) { - return `${ - this.layer ? `(${this.layer})/` : '' - }webpack/container/entry/${this._name}` - } - needBuild(k, v) { - return v(null, !this.buildMeta) - } - build(k, v, E, P, R) { - this.buildMeta = {} - this.buildInfo = { - strict: true, - topLevelDeclarations: new Set(['moduleMap', 'get', 'init']), - } - this.buildMeta.exportsType = 'namespace' - this.clearDependenciesAndBlocks() - for (const [k, v] of this._exposes) { - const E = new L( - { name: v.name }, - { name: k }, - v.import[v.import.length - 1] - ) - let P = 0 - for (const R of v.import) { - const v = new ye(k, R) - v.loc = { name: k, index: P++ } - E.addDependency(v) - } - this.addBlock(E) - } - this.addDependency(new pe(['get', 'init'], false)) - R() - } - codeGeneration({ moduleGraph: k, chunkGraph: v, runtimeTemplate: E }) { - const L = new Map() - const N = new Set([ - ae.definePropertyGetters, - ae.hasOwnProperty, - ae.exports, - ]) - const q = [] - for (const P of this.blocks) { - const { dependencies: R } = P - const L = R.map((v) => { - const E = v - return { - name: E.exposedName, - module: k.getModule(E), - request: E.userRequest, - } - }) - let ae - if (L.some((k) => !k.module)) { - ae = E.throwMissingModuleErrorBlock({ - request: L.map((k) => k.request).join(', '), - }) - } else { - ae = `return ${E.blockPromise({ - block: P, - message: '', - chunkGraph: v, - runtimeRequirements: N, - })}.then(${E.returningFunction( - E.returningFunction( - `(${L.map(({ module: k, request: P }) => - E.moduleRaw({ - module: k, - chunkGraph: v, - request: P, - weak: false, - runtimeRequirements: N, - }) - ).join(', ')})` - ) - )});` - } - q.push(`${JSON.stringify(L[0].name)}: ${E.basicFunction('', ae)}`) - } - const pe = le.asString([ - `var moduleMap = {`, - le.indent(q.join(',\n')), - '};', - `var get = ${E.basicFunction('module, getScope', [ - `${ae.currentRemoteGetScope} = getScope;`, - 'getScope = (', - le.indent([ - `${ae.hasOwnProperty}(moduleMap, module)`, - le.indent([ - '? moduleMap[module]()', - `: Promise.resolve().then(${E.basicFunction( - '', - "throw new Error('Module \"' + module + '\" does not exist in container.');" - )})`, - ]), - ]), - ');', - `${ae.currentRemoteGetScope} = undefined;`, - 'return getScope;', - ])};`, - `var init = ${E.basicFunction('shareScope, initScope', [ - `if (!${ae.shareScopeMap}) return;`, - `var name = ${JSON.stringify(this._shareScope)}`, - `var oldScope = ${ae.shareScopeMap}[name];`, - `if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`, - `${ae.shareScopeMap}[name] = shareScope;`, - `return ${ae.initializeSharing}(name, initScope);`, - ])};`, - '', - '// This exports getters to disallow modifications', - `${ae.definePropertyGetters}(exports, {`, - le.indent([ - `get: ${E.returningFunction('get')},`, - `init: ${E.returningFunction('init')}`, - ]), - '});', - ]) - L.set( - 'javascript', - this.useSourceMap || this.useSimpleSourceMap - ? new P(pe, 'webpack/container-entry') - : new R(pe) - ) - return { sources: L, runtimeRequirements: N } - } - size(k) { - return 42 - } - serialize(k) { - const { write: v } = k - v(this._name) - v(this._exposes) - v(this._shareScope) - super.serialize(k) - } - static deserialize(k) { - const { read: v } = k - const E = new ContainerEntryModule(v(), v(), v()) - E.deserialize(k) - return E - } - } - me(ContainerEntryModule, 'webpack/lib/container/ContainerEntryModule') - k.exports = ContainerEntryModule - }, - 70929: function (k, v, E) { - 'use strict' - const P = E(66043) - const R = E(4268) - k.exports = class ContainerEntryModuleFactory extends P { - create({ dependencies: [k] }, v) { - const E = k - v(null, { module: new R(E.name, E.exposes, E.shareScope) }) - } - } - }, - 85455: function (k, v, E) { - 'use strict' - const P = E(77373) - const R = E(58528) - class ContainerExposedDependency extends P { - constructor(k, v) { - super(v) - this.exposedName = k - } - get type() { - return 'container exposed' - } - get category() { - return 'esm' - } - getResourceIdentifier() { - return `exposed dependency ${this.exposedName}=${this.request}` - } - serialize(k) { - k.write(this.exposedName) - super.serialize(k) - } - deserialize(k) { - this.exposedName = k.read() - super.deserialize(k) - } - } - R( - ContainerExposedDependency, - 'webpack/lib/container/ContainerExposedDependency' - ) - k.exports = ContainerExposedDependency - }, - 59826: function (k, v, E) { - 'use strict' - const P = E(92198) - const R = E(22886) - const L = E(70929) - const N = E(85455) - const { parseOptions: q } = E(34869) - const ae = P(E(50807), () => E(97253), { - name: 'Container Plugin', - baseDataPath: 'options', - }) - const le = 'ContainerPlugin' - class ContainerPlugin { - constructor(k) { - ae(k) - this._options = { - name: k.name, - shareScope: k.shareScope || 'default', - library: k.library || { type: 'var', name: k.name }, - runtime: k.runtime, - filename: k.filename || undefined, - exposes: q( - k.exposes, - (k) => ({ import: Array.isArray(k) ? k : [k], name: undefined }), - (k) => ({ - import: Array.isArray(k.import) ? k.import : [k.import], - name: k.name || undefined, - }) - ), - } - } - apply(k) { - const { - name: v, - exposes: E, - shareScope: P, - filename: q, - library: ae, - runtime: pe, - } = this._options - if (!k.options.output.enabledLibraryTypes.includes(ae.type)) { - k.options.output.enabledLibraryTypes.push(ae.type) - } - k.hooks.make.tapAsync(le, (k, L) => { - const N = new R(v, E, P) - N.loc = { name: v } - k.addEntry( - k.options.context, - N, - { name: v, filename: q, runtime: pe, library: ae }, - (k) => { - if (k) return L(k) - L() - } - ) - }) - k.hooks.thisCompilation.tap(le, (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(R, new L()) - k.dependencyFactories.set(N, v) - }) - } - } - k.exports = ContainerPlugin - }, - 10223: function (k, v, E) { - 'use strict' - const P = E(53757) - const R = E(56727) - const L = E(92198) - const N = E(52030) - const q = E(37119) - const ae = E(85961) - const le = E(39878) - const pe = E(63142) - const me = E(51691) - const { parseOptions: ye } = E(34869) - const _e = L(E(19152), () => E(52899), { - name: 'Container Reference Plugin', - baseDataPath: 'options', - }) - const Ie = '/'.charCodeAt(0) - class ContainerReferencePlugin { - constructor(k) { - _e(k) - this._remoteType = k.remoteType - this._remotes = ye( - k.remotes, - (v) => ({ - external: Array.isArray(v) ? v : [v], - shareScope: k.shareScope || 'default', - }), - (v) => ({ - external: Array.isArray(v.external) ? v.external : [v.external], - shareScope: v.shareScope || k.shareScope || 'default', - }) - ) - } - apply(k) { - const { _remotes: v, _remoteType: E } = this - const L = {} - for (const [k, E] of v) { - let v = 0 - for (const P of E.external) { - if (P.startsWith('internal ')) continue - L[ - `webpack/container/reference/${k}${v ? `/fallback-${v}` : ''}` - ] = P - v++ - } - } - new P(E, L).apply(k) - k.hooks.compilation.tap( - 'ContainerReferencePlugin', - (k, { normalModuleFactory: E }) => { - k.dependencyFactories.set(me, E) - k.dependencyFactories.set(q, E) - k.dependencyFactories.set(N, new ae()) - E.hooks.factorize.tap('ContainerReferencePlugin', (k) => { - if (!k.request.includes('!')) { - for (const [E, P] of v) { - if ( - k.request.startsWith(`${E}`) && - (k.request.length === E.length || - k.request.charCodeAt(E.length) === Ie) - ) { - return new le( - k.request, - P.external.map((k, v) => - k.startsWith('internal ') - ? k.slice(9) - : `webpack/container/reference/${E}${ - v ? `/fallback-${v}` : '' - }` - ), - `.${k.request.slice(E.length)}`, - P.shareScope - ) - } - } - } - }) - k.hooks.runtimeRequirementInTree - .for(R.ensureChunkHandlers) - .tap('ContainerReferencePlugin', (v, E) => { - E.add(R.module) - E.add(R.moduleFactoriesAddOnly) - E.add(R.hasOwnProperty) - E.add(R.initializeSharing) - E.add(R.shareScopeMap) - k.addRuntimeModule(v, new pe()) - }) - } - ) - } - } - k.exports = ContainerReferencePlugin - }, - 52030: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(58528) - class FallbackDependency extends P { - constructor(k) { - super() - this.requests = k - } - getResourceIdentifier() { - return `fallback ${this.requests.join(' ')}` - } - get type() { - return 'fallback' - } - get category() { - return 'esm' - } - serialize(k) { - const { write: v } = k - v(this.requests) - super.serialize(k) - } - static deserialize(k) { - const { read: v } = k - const E = new FallbackDependency(v()) - E.deserialize(k) - return E - } - } - R(FallbackDependency, 'webpack/lib/container/FallbackDependency') - k.exports = FallbackDependency - }, - 37119: function (k, v, E) { - 'use strict' - const P = E(77373) - const R = E(58528) - class FallbackItemDependency extends P { - constructor(k) { - super(k) - } - get type() { - return 'fallback item' - } - get category() { - return 'esm' - } - } - R(FallbackItemDependency, 'webpack/lib/container/FallbackItemDependency') - k.exports = FallbackItemDependency - }, - 7583: function (k, v, E) { - 'use strict' - const { RawSource: P } = E(51255) - const R = E(88396) - const { WEBPACK_MODULE_TYPE_FALLBACK: L } = E(93622) - const N = E(56727) - const q = E(95041) - const ae = E(58528) - const le = E(37119) - const pe = new Set(['javascript']) - const me = new Set([N.module]) - class FallbackModule extends R { - constructor(k) { - super(L) - this.requests = k - this._identifier = `fallback ${this.requests.join(' ')}` - } - identifier() { - return this._identifier - } - readableIdentifier(k) { - return this._identifier - } - libIdent(k) { - return `${ - this.layer ? `(${this.layer})/` : '' - }webpack/container/fallback/${this.requests[0]}/and ${ - this.requests.length - 1 - } more` - } - chunkCondition(k, { chunkGraph: v }) { - return v.getNumberOfEntryModules(k) > 0 - } - needBuild(k, v) { - v(null, !this.buildInfo) - } - build(k, v, E, P, R) { - this.buildMeta = {} - this.buildInfo = { strict: true } - this.clearDependenciesAndBlocks() - for (const k of this.requests) this.addDependency(new le(k)) - R() - } - size(k) { - return this.requests.length * 5 + 42 - } - getSourceTypes() { - return pe - } - codeGeneration({ runtimeTemplate: k, moduleGraph: v, chunkGraph: E }) { - const R = this.dependencies.map((k) => E.getModuleId(v.getModule(k))) - const L = q.asString([ - `var ids = ${JSON.stringify(R)};`, - 'var error, result, i = 0;', - `var loop = ${k.basicFunction('next', [ - 'while(i < ids.length) {', - q.indent([ - `try { next = ${N.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 = ${k.basicFunction('result', [ - 'if(result) return result;', - 'return loop();', - ])};`, - `var handleError = ${k.basicFunction('e', [ - 'error = e;', - 'return loop();', - ])};`, - 'module.exports = loop();', - ]) - const ae = new Map() - ae.set('javascript', new P(L)) - return { sources: ae, runtimeRequirements: me } - } - serialize(k) { - const { write: v } = k - v(this.requests) - super.serialize(k) - } - static deserialize(k) { - const { read: v } = k - const E = new FallbackModule(v()) - E.deserialize(k) - return E - } - } - ae(FallbackModule, 'webpack/lib/container/FallbackModule') - k.exports = FallbackModule - }, - 85961: function (k, v, E) { - 'use strict' - const P = E(66043) - const R = E(7583) - k.exports = class FallbackModuleFactory extends P { - create({ dependencies: [k] }, v) { - const E = k - v(null, { module: new R(E.requests) }) - } - } - }, - 71863: function (k, v, E) { - 'use strict' - const P = E(50153) - const R = E(38084) - const L = E(92198) - const N = E(59826) - const q = E(10223) - const ae = L(E(13038), () => E(80707), { - name: 'Module Federation Plugin', - baseDataPath: 'options', - }) - class ModuleFederationPlugin { - constructor(k) { - ae(k) - this._options = k - } - apply(k) { - const { _options: v } = this - const E = v.library || { type: 'var', name: v.name } - const L = - v.remoteType || - (v.library && P(v.library.type) ? v.library.type : 'script') - if (E && !k.options.output.enabledLibraryTypes.includes(E.type)) { - k.options.output.enabledLibraryTypes.push(E.type) - } - k.hooks.afterPlugins.tap('ModuleFederationPlugin', () => { - if ( - v.exposes && - (Array.isArray(v.exposes) - ? v.exposes.length > 0 - : Object.keys(v.exposes).length > 0) - ) { - new N({ - name: v.name, - library: E, - filename: v.filename, - runtime: v.runtime, - shareScope: v.shareScope, - exposes: v.exposes, - }).apply(k) - } - if ( - v.remotes && - (Array.isArray(v.remotes) - ? v.remotes.length > 0 - : Object.keys(v.remotes).length > 0) - ) { - new q({ - remoteType: L, - shareScope: v.shareScope, - remotes: v.remotes, - }).apply(k) - } - if (v.shared) { - new R({ shared: v.shared, shareScope: v.shareScope }).apply(k) - } - }) - } - } - k.exports = ModuleFederationPlugin - }, - 39878: function (k, v, E) { - 'use strict' - const { RawSource: P } = E(51255) - const R = E(88396) - const { WEBPACK_MODULE_TYPE_REMOTE: L } = E(93622) - const N = E(56727) - const q = E(58528) - const ae = E(52030) - const le = E(51691) - const pe = new Set(['remote', 'share-init']) - const me = new Set([N.module]) - class RemoteModule extends R { - constructor(k, v, E, P) { - super(L) - this.request = k - this.externalRequests = v - this.internalRequest = E - this.shareScope = P - this._identifier = `remote (${P}) ${this.externalRequests.join( - ' ' - )} ${this.internalRequest}` - } - identifier() { - return this._identifier - } - readableIdentifier(k) { - return `remote ${this.request}` - } - libIdent(k) { - return `${ - this.layer ? `(${this.layer})/` : '' - }webpack/container/remote/${this.request}` - } - needBuild(k, v) { - v(null, !this.buildInfo) - } - build(k, v, E, P, R) { - this.buildMeta = {} - this.buildInfo = { strict: true } - this.clearDependenciesAndBlocks() - if (this.externalRequests.length === 1) { - this.addDependency(new le(this.externalRequests[0])) - } else { - this.addDependency(new ae(this.externalRequests)) - } - R() - } - size(k) { - return 6 - } - getSourceTypes() { - return pe - } - nameForCondition() { - return this.request - } - codeGeneration({ runtimeTemplate: k, moduleGraph: v, chunkGraph: E }) { - const R = v.getModule(this.dependencies[0]) - const L = R && E.getModuleId(R) - const N = new Map() - N.set('remote', new P('')) - const q = new Map() - q.set('share-init', [ - { - shareScope: this.shareScope, - initStage: 20, - init: - L === undefined ? '' : `initExternal(${JSON.stringify(L)});`, - }, - ]) - return { sources: N, data: q, runtimeRequirements: me } - } - serialize(k) { - const { write: v } = k - v(this.request) - v(this.externalRequests) - v(this.internalRequest) - v(this.shareScope) - super.serialize(k) - } - static deserialize(k) { - const { read: v } = k - const E = new RemoteModule(v(), v(), v(), v()) - E.deserialize(k) - return E - } - } - q(RemoteModule, 'webpack/lib/container/RemoteModule') - k.exports = RemoteModule - }, - 63142: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class RemoteRuntimeModule extends R { - constructor() { - super('remotes loading') - } - generate() { - const { compilation: k, chunkGraph: v } = this - const { runtimeTemplate: E, moduleGraph: R } = k - const N = {} - const q = {} - for (const k of this.chunk.getAllAsyncChunks()) { - const E = v.getChunkModulesIterableBySourceType(k, 'remote') - if (!E) continue - const P = (N[k.id] = []) - for (const k of E) { - const E = k - const L = E.internalRequest - const N = v.getModuleId(E) - const ae = E.shareScope - const le = E.dependencies[0] - const pe = R.getModule(le) - const me = pe && v.getModuleId(pe) - P.push(N) - q[N] = [ae, L, me] - } - } - return L.asString([ - `var chunkMapping = ${JSON.stringify(N, null, '\t')};`, - `var idToExternalAndNameMapping = ${JSON.stringify( - q, - null, - '\t' - )};`, - `${P.ensureChunkHandlers}.remotes = ${E.basicFunction( - 'chunkId, promises', - [ - `if(${P.hasOwnProperty}(chunkMapping, chunkId)) {`, - L.indent([ - `chunkMapping[chunkId].forEach(${E.basicFunction('id', [ - `var getScope = ${P.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")', - L.indent( - `error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];` - ), - `${P.moduleFactories}[id] = ${E.basicFunction('', [ - 'throw error;', - ])}`, - 'data.p = 0;', - ])};`, - `var handleFunction = ${E.basicFunction( - 'fn, arg1, arg2, d, next, first', - [ - 'try {', - L.indent([ - 'var promise = fn(arg1, arg2);', - 'if(promise && promise.then) {', - L.indent([ - `var p = promise.then(${E.returningFunction( - 'next(result, d)', - 'result' - )}, onError);`, - `if(first) promises.push(data.p = p); else return p;`, - ]), - '} else {', - L.indent(['return next(promise, d, first);']), - '}', - ]), - '} catch(error) {', - L.indent(['onError(error);']), - '}', - ] - )}`, - `var onExternal = ${E.returningFunction( - `external ? handleFunction(${P.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;', - `${P.moduleFactories}[id] = ${E.basicFunction('module', [ - 'module.exports = factory();', - ])}`, - ])};`, - `handleFunction(${P.require}, data[2], 0, 0, onExternal, 1);`, - ])});`, - ]), - '}', - ] - )}`, - ]) - } - } - k.exports = RemoteRuntimeModule - }, - 51691: function (k, v, E) { - 'use strict' - const P = E(77373) - const R = E(58528) - class RemoteToExternalDependency extends P { - constructor(k) { - super(k) - } - get type() { - return 'remote to external' - } - get category() { - return 'esm' - } - } - R( - RemoteToExternalDependency, - 'webpack/lib/container/RemoteToExternalDependency' - ) - k.exports = RemoteToExternalDependency - }, - 34869: function (k, v) { - 'use strict' - const process = (k, v, E, P) => { - const array = (k) => { - for (const E of k) { - if (typeof E === 'string') { - P(E, v(E, E)) - } else if (E && typeof E === 'object') { - object(E) - } else { - throw new Error('Unexpected options format') - } - } - } - const object = (k) => { - for (const [R, L] of Object.entries(k)) { - if (typeof L === 'string' || Array.isArray(L)) { - P(R, v(L, R)) - } else { - P(R, E(L, R)) - } - } - } - if (!k) { - return - } else if (Array.isArray(k)) { - array(k) - } else if (typeof k === 'object') { - object(k) - } else { - throw new Error('Unexpected options format') - } - } - const parseOptions = (k, v, E) => { - const P = [] - process(k, v, E, (k, v) => { - P.push([k, v]) - }) - return P - } - const scope = (k, v) => { - const E = {} - process( - v, - (k) => k, - (k) => k, - (v, P) => { - E[v.startsWith('./') ? `${k}${v.slice(1)}` : `${k}/${v}`] = P - } - ) - return E - } - v.parseOptions = parseOptions - v.scope = scope - }, - 97766: function (k, v, E) { - 'use strict' - const { ReplaceSource: P, RawSource: R, ConcatSource: L } = E(51255) - const { UsageState: N } = E(11172) - const q = E(91597) - const ae = E(56727) - const le = E(95041) - const pe = new Set(['javascript']) - class CssExportsGenerator extends q { - constructor() { - super() - } - generate(k, v) { - const E = new P(new R('')) - const q = [] - const pe = new Map() - v.runtimeRequirements.add(ae.module) - const me = new Set() - const ye = { - runtimeTemplate: v.runtimeTemplate, - dependencyTemplates: v.dependencyTemplates, - moduleGraph: v.moduleGraph, - chunkGraph: v.chunkGraph, - module: k, - runtime: v.runtime, - runtimeRequirements: me, - concatenationScope: v.concatenationScope, - codeGenerationResults: v.codeGenerationResults, - initFragments: q, - cssExports: pe, - } - const handleDependency = (k) => { - const P = k.constructor - const R = v.dependencyTemplates.get(P) - if (!R) { - throw new Error( - 'No template for dependency: ' + k.constructor.name - ) - } - R.apply(k, E, ye) - } - k.dependencies.forEach(handleDependency) - if (v.concatenationScope) { - const k = new L() - const E = new Set() - for (const [P, R] of pe) { - let L = le.toIdentifier(P) - let N = 0 - while (E.has(L)) { - L = le.toIdentifier(P + N) - } - E.add(L) - v.concatenationScope.registerExport(P, L) - k.add( - `${ - v.runtimeTemplate.supportsConst ? 'const' : 'var' - } ${L} = ${JSON.stringify(R)};\n` - ) - } - return k - } else { - const E = - v.moduleGraph - .getExportsInfo(k) - .otherExportsInfo.getUsed(v.runtime) !== N.Unused - if (E) { - v.runtimeRequirements.add(ae.makeNamespaceObject) - } - return new R( - `${E ? `${ae.makeNamespaceObject}(` : ''}${ - k.moduleArgument - }.exports = {\n${Array.from( - pe, - ([k, v]) => `\t${JSON.stringify(k)}: ${JSON.stringify(v)}` - ).join(',\n')}\n}${E ? ')' : ''};` - ) - } - } - getTypes(k) { - return pe - } - getSize(k, v) { - return 42 - } - updateHash(k, { module: v }) {} - } - k.exports = CssExportsGenerator - }, - 65956: function (k, v, E) { - 'use strict' - const { ReplaceSource: P } = E(51255) - const R = E(91597) - const L = E(88113) - const N = E(56727) - const q = new Set(['css']) - class CssGenerator extends R { - constructor() { - super() - } - generate(k, v) { - const E = k.originalSource() - const R = new P(E) - const q = [] - const ae = new Map() - v.runtimeRequirements.add(N.hasCssModules) - const le = { - runtimeTemplate: v.runtimeTemplate, - dependencyTemplates: v.dependencyTemplates, - moduleGraph: v.moduleGraph, - chunkGraph: v.chunkGraph, - module: k, - runtime: v.runtime, - runtimeRequirements: v.runtimeRequirements, - concatenationScope: v.concatenationScope, - codeGenerationResults: v.codeGenerationResults, - initFragments: q, - cssExports: ae, - } - const handleDependency = (k) => { - const E = k.constructor - const P = v.dependencyTemplates.get(E) - if (!P) { - throw new Error( - 'No template for dependency: ' + k.constructor.name - ) - } - P.apply(k, R, le) - } - k.dependencies.forEach(handleDependency) - if (k.presentationalDependencies !== undefined) - k.presentationalDependencies.forEach(handleDependency) - if (ae.size > 0) { - const k = v.getData() - k.set('css-exports', ae) - } - return L.addToSource(R, q, v) - } - getTypes(k) { - return q - } - getSize(k, v) { - const E = k.originalSource() - if (!E) { - return 0 - } - return E.size() - } - updateHash(k, { module: v }) {} - } - k.exports = CssGenerator - }, - 3483: function (k, v, E) { - 'use strict' - const { SyncWaterfallHook: P } = E(79846) - const R = E(27747) - const L = E(56727) - const N = E(27462) - const q = E(95041) - const ae = E(21751) - const { chunkHasCss: le } = E(76395) - const pe = new WeakMap() - class CssLoadingRuntimeModule extends N { - static getCompilationHooks(k) { - if (!(k instanceof R)) { - throw new TypeError( - "The 'compilation' argument must be an instance of Compilation" - ) - } - let v = pe.get(k) - if (v === undefined) { - v = { createStylesheet: new P(['source', 'chunk']) } - pe.set(k, v) - } - return v - } - constructor(k) { - super('css loading', 10) - this._runtimeRequirements = k - } - generate() { - const { compilation: k, chunk: v, _runtimeRequirements: E } = this - const { - chunkGraph: P, - runtimeTemplate: R, - outputOptions: { - crossOriginLoading: N, - uniqueName: pe, - chunkLoadTimeout: me, - }, - } = k - const ye = L.ensureChunkHandlers - const _e = P.getChunkConditionMap( - v, - (k, v) => !!v.getChunkModulesIterableBySourceType(k, 'css') - ) - const Ie = ae(_e) - const Me = E.has(L.ensureChunkHandlers) && Ie !== false - const Te = E.has(L.hmrDownloadUpdateHandlers) - const je = new Set() - const Ne = new Set() - for (const k of v.getAllInitialChunks()) { - ;(le(k, P) ? je : Ne).add(k.id) - } - if (!Me && !Te && je.size === 0) { - return null - } - const { createStylesheet: Be } = - CssLoadingRuntimeModule.getCompilationHooks(k) - const qe = Te ? `${L.hmrRuntimeStatePrefix}_css` : undefined - const Ue = q.asString([ - "link = document.createElement('link');", - pe - ? 'link.setAttribute("data-webpack", uniqueName + ":" + key);' - : '', - 'link.setAttribute(loadingAttribute, 1);', - 'link.rel = "stylesheet";', - 'link.href = url;', - N - ? N === 'use-credentials' - ? 'link.crossOrigin = "use-credentials";' - : q.asString([ - "if (link.href.indexOf(window.location.origin + '/') !== 0) {", - q.indent(`link.crossOrigin = ${JSON.stringify(N)};`), - '}', - ]) - : '', - ]) - const cc = (k) => k.charCodeAt(0) - return q.asString([ - '// object to store loaded and loading chunks', - '// undefined = chunk not loaded, null = chunk preloaded/prefetched', - '// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded', - `var installedChunks = ${ - qe ? `${qe} = ${qe} || ` : '' - }{${Array.from(Ne, (k) => `${JSON.stringify(k)}:0`).join(',')}};`, - '', - pe - ? `var uniqueName = ${JSON.stringify( - R.outputOptions.uniqueName - )};` - : '// data-webpack is not used as build has no uniqueName', - `var loadCssChunkData = ${R.basicFunction('target, link, chunkId', [ - `var data, token = "", token2, exports = {}, exportsWithId = [], exportsWithDashes = [], ${ - Te ? 'moduleIds = [], ' : '' - }i = 0, cc = 1;`, - 'try { if(!link) link = loadStylesheet(chunkId); data = link.sheet.cssRules; data = data[data.length - 1].style; } catch(e) { data = getComputedStyle(document.head); }', - `data = data.getPropertyValue(${ - pe - ? R.concatenation('--webpack-', { expr: 'uniqueName' }, '-', { - expr: 'chunkId', - }) - : R.concatenation('--webpack-', { expr: 'chunkId' }) - });`, - 'if(!data) return [];', - 'for(; cc; i++) {', - q.indent([ - 'cc = data.charCodeAt(i);', - `if(cc == ${cc('(')}) { token2 = token; token = ""; }`, - `else if(cc == ${cc( - ')' - )}) { exports[token2.replace(/^_/, "")] = token.replace(/^_/, ""); token = ""; }`, - `else if(cc == ${cc('/')} || cc == ${cc( - '%' - )}) { token = token.replace(/^_/, ""); exports[token] = token; exportsWithId.push(token); if(cc == ${cc( - '%' - )}) exportsWithDashes.push(token); token = ""; }`, - `else if(!cc || cc == ${cc( - ',' - )}) { token = token.replace(/^_/, ""); exportsWithId.forEach(${R.expressionFunction( - `exports[x] = ${ - pe - ? R.concatenation( - { expr: 'uniqueName' }, - '-', - { expr: 'token' }, - '-', - { expr: 'exports[x]' } - ) - : R.concatenation({ expr: 'token' }, '-', { - expr: 'exports[x]', - }) - }`, - 'x' - )}); exportsWithDashes.forEach(${R.expressionFunction( - `exports[x] = "--" + exports[x]`, - 'x' - )}); ${ - L.makeNamespaceObject - }(exports); target[token] = (${R.basicFunction( - 'exports, module', - `module.exports = exports;` - )}).bind(null, exports); ${ - Te ? 'moduleIds.push(token); ' : '' - }token = ""; exports = {}; exportsWithId.length = 0; }`, - `else if(cc == ${cc('\\')}) { token += data[++i] }`, - `else { token += data[i]; }`, - ]), - '}', - `${ - Te ? `if(target == ${L.moduleFactories}) ` : '' - }installedChunks[chunkId] = 0;`, - Te ? 'return moduleIds;' : '', - ])}`, - 'var loadingAttribute = "data-webpack-loading";', - `var loadStylesheet = ${R.basicFunction( - 'chunkId, url, done' + (Te ? ', hmr' : ''), - [ - 'var link, needAttach, key = "chunk-" + chunkId;', - Te ? 'if(!hmr) {' : '', - 'var links = document.getElementsByTagName("link");', - 'for(var i = 0; i < links.length; i++) {', - q.indent([ - 'var l = links[i];', - `if(l.rel == "stylesheet" && (${ - Te - ? 'l.href.startsWith(url) || l.getAttribute("href").startsWith(url)' - : 'l.href == url || l.getAttribute("href") == url' - }${ - pe - ? ' || l.getAttribute("data-webpack") == uniqueName + ":" + key' - : '' - })) { link = l; break; }`, - ]), - '}', - 'if(!done) return link;', - Te ? '}' : '', - 'if(!link) {', - q.indent(['needAttach = true;', Be.call(Ue, this.chunk)]), - '}', - `var onLinkComplete = ${R.basicFunction( - 'prev, event', - q.asString([ - 'link.onerror = link.onload = null;', - 'link.removeAttribute(loadingAttribute);', - 'clearTimeout(timeout);', - 'if(event && event.type != "load") link.parentNode.removeChild(link)', - 'done(event);', - 'if(prev) return prev(event);', - ]) - )};`, - 'if(link.getAttribute(loadingAttribute)) {', - q.indent([ - `var timeout = setTimeout(onLinkComplete.bind(null, undefined, { type: 'timeout', target: link }), ${me});`, - 'link.onerror = onLinkComplete.bind(null, link.onerror);', - 'link.onload = onLinkComplete.bind(null, link.onload);', - ]), - "} else onLinkComplete(undefined, { type: 'load', target: link });", - Te ? 'hmr ? document.head.insertBefore(link, hmr) :' : '', - 'needAttach && document.head.appendChild(link);', - 'return link;', - ] - )};`, - je.size > 2 - ? `${JSON.stringify( - Array.from(je) - )}.forEach(loadCssChunkData.bind(null, ${ - L.moduleFactories - }, 0));` - : je.size > 0 - ? `${Array.from( - je, - (k) => - `loadCssChunkData(${L.moduleFactories}, 0, ${JSON.stringify( - k - )});` - ).join('')}` - : '// no initial css', - '', - Me - ? q.asString([ - `${ye}.css = ${R.basicFunction('chunkId, promises', [ - '// css chunk loading', - `var installedChunkData = ${L.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`, - 'if(installedChunkData !== 0) { // 0 means "already installed".', - q.indent([ - '', - '// a Promise means "currently loading".', - 'if(installedChunkData) {', - q.indent(['promises.push(installedChunkData[2]);']), - '} else {', - q.indent([ - Ie === true - ? 'if(true) { // all chunks have CSS' - : `if(${Ie('chunkId')}) {`, - q.indent([ - '// setup Promise in chunk cache', - `var promise = new Promise(${R.expressionFunction( - `installedChunkData = installedChunks[chunkId] = [resolve, reject]`, - 'resolve, reject' - )});`, - 'promises.push(installedChunkData[2] = promise);', - '', - '// start chunk loading', - `var url = ${L.publicPath} + ${L.getChunkCssFilename}(chunkId);`, - '// create error before stack unwound to get useful stacktrace later', - 'var error = new Error();', - `var loadingEnded = ${R.basicFunction('event', [ - `if(${L.hasOwnProperty}(installedChunks, chunkId)) {`, - q.indent([ - 'installedChunkData = installedChunks[chunkId];', - 'if(installedChunkData !== 0) installedChunks[chunkId] = undefined;', - 'if(installedChunkData) {', - q.indent([ - 'if(event.type !== "load") {', - q.indent([ - 'var errorType = event && event.type;', - 'var realSrc = event && event.target && event.target.src;', - "error.message = 'Loading css chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';", - "error.name = 'ChunkLoadError';", - 'error.type = errorType;', - 'error.request = realSrc;', - 'installedChunkData[1](error);', - ]), - '} else {', - q.indent([ - `loadCssChunkData(${L.moduleFactories}, link, chunkId);`, - 'installedChunkData[0]();', - ]), - '}', - ]), - '}', - ]), - '}', - ])};`, - 'var link = loadStylesheet(chunkId, url, loadingEnded);', - ]), - '} else installedChunks[chunkId] = 0;', - ]), - '}', - ]), - '}', - ])};`, - ]) - : '// no chunk loading', - '', - Te - ? q.asString([ - 'var oldTags = [];', - 'var newTags = [];', - `var applyHandler = ${R.basicFunction('options', [ - `return { dispose: ${R.basicFunction( - '', - [] - )}, apply: ${R.basicFunction('', [ - 'var moduleIds = [];', - `newTags.forEach(${R.expressionFunction( - 'info[1].sheet.disabled = false', - 'info' - )});`, - 'while(oldTags.length) {', - q.indent([ - 'var oldTag = oldTags.pop();', - 'if(oldTag.parentNode) oldTag.parentNode.removeChild(oldTag);', - ]), - '}', - 'while(newTags.length) {', - q.indent([ - `var info = newTags.pop();`, - `var chunkModuleIds = loadCssChunkData(${L.moduleFactories}, info[1], info[0]);`, - `chunkModuleIds.forEach(${R.expressionFunction( - 'moduleIds.push(id)', - 'id' - )});`, - ]), - '}', - 'return moduleIds;', - ])} };`, - ])}`, - `var cssTextKey = ${R.returningFunction( - `Array.from(link.sheet.cssRules, ${R.returningFunction( - 'r.cssText', - 'r' - )}).join()`, - 'link' - )}`, - `${L.hmrDownloadUpdateHandlers}.css = ${R.basicFunction( - 'chunkIds, removedChunks, removedModules, promises, applyHandlers, updatedModulesList', - [ - 'applyHandlers.push(applyHandler);', - `chunkIds.forEach(${R.basicFunction('chunkId', [ - `var filename = ${L.getChunkCssFilename}(chunkId);`, - `var url = ${L.publicPath} + filename;`, - 'var oldTag = loadStylesheet(chunkId, url);', - 'if(!oldTag) return;', - `promises.push(new Promise(${R.basicFunction( - 'resolve, reject', - [ - `var link = loadStylesheet(chunkId, url + (url.indexOf("?") < 0 ? "?" : "&") + "hmr=" + Date.now(), ${R.basicFunction( - 'event', - [ - 'if(event.type !== "load") {', - q.indent([ - 'var errorType = event && event.type;', - 'var realSrc = event && event.target && event.target.src;', - "error.message = 'Loading css hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';", - "error.name = 'ChunkLoadError';", - 'error.type = errorType;', - 'error.request = realSrc;', - 'reject(error);', - ]), - '} else {', - q.indent([ - 'try { if(cssTextKey(oldTag) == cssTextKey(link)) { if(link.parentNode) link.parentNode.removeChild(link); return resolve(); } } catch(e) {}', - 'var factories = {};', - 'loadCssChunkData(factories, link, chunkId);', - `Object.keys(factories).forEach(${R.expressionFunction( - 'updatedModulesList.push(id)', - 'id' - )})`, - 'link.sheet.disabled = true;', - 'oldTags.push(oldTag);', - 'newTags.push([chunkId, link]);', - 'resolve();', - ]), - '}', - ] - )}, oldTag);`, - ] - )}));`, - ])});`, - ] - )}`, - ]) - : '// no hmr', - ]) - } - } - k.exports = CssLoadingRuntimeModule - }, - 76395: function (k, v, E) { - 'use strict' - const { ConcatSource: P, PrefixSource: R } = E(51255) - const L = E(51585) - const N = E(95733) - const { - CSS_MODULE_TYPE: q, - CSS_MODULE_TYPE_GLOBAL: ae, - CSS_MODULE_TYPE_MODULE: le, - } = E(93622) - const pe = E(56727) - const me = E(15844) - const ye = E(71572) - const _e = E(55101) - const Ie = E(38490) - const Me = E(27746) - const Te = E(58943) - const je = E(97006) - const Ne = E(93414) - const { compareModulesByIdentifier: Be } = E(95648) - const qe = E(92198) - const Ue = E(74012) - const Ge = E(20631) - const He = E(64119) - const We = E(97766) - const Qe = E(65956) - const Je = E(29605) - const Ve = Ge(() => E(3483)) - const getSchema = (k) => { - const { definitions: v } = E(98625) - return { definitions: v, oneOf: [{ $ref: `#/definitions/${k}` }] } - } - const Ke = qe(E(87816), () => getSchema('CssGeneratorOptions'), { - name: 'Css Modules Plugin', - baseDataPath: 'parser', - }) - const Ye = qe(E(32706), () => getSchema('CssParserOptions'), { - name: 'Css Modules Plugin', - baseDataPath: 'parser', - }) - const escapeCss = (k, v) => { - const E = `${k}`.replace( - /[^a-zA-Z0-9_\u0081-\uffff-]/g, - (k) => `\\${k}` - ) - return !v && /^(?!--)[0-9_-]/.test(E) ? `_${E}` : E - } - const Xe = 'CssModulesPlugin' - class CssModulesPlugin { - constructor({ exportsOnly: k = false }) { - this._exportsOnly = k - } - apply(k) { - k.hooks.compilation.tap(Xe, (k, { normalModuleFactory: v }) => { - const E = new me(k.moduleGraph) - k.dependencyFactories.set(je, v) - k.dependencyTemplates.set(je, new je.Template()) - k.dependencyTemplates.set(Me, new Me.Template()) - k.dependencyFactories.set(Te, E) - k.dependencyTemplates.set(Te, new Te.Template()) - k.dependencyTemplates.set(_e, new _e.Template()) - k.dependencyFactories.set(Ie, v) - k.dependencyTemplates.set(Ie, new Ie.Template()) - k.dependencyTemplates.set(Ne, new Ne.Template()) - for (const E of [q, ae, le]) { - v.hooks.createParser.for(E).tap(Xe, (k) => { - Ye(k) - switch (E) { - case q: - return new Je() - case ae: - return new Je({ allowModeSwitch: false }) - case le: - return new Je({ defaultMode: 'local' }) - } - }) - v.hooks.createGenerator.for(E).tap(Xe, (k) => { - Ke(k) - return this._exportsOnly ? new We() : new Qe() - }) - v.hooks.createModuleClass.for(E).tap(Xe, (v, E) => { - if (E.dependencies.length > 0) { - const P = E.dependencies[0] - if (P instanceof Ie) { - const E = k.moduleGraph.getParentModule(P) - if (E instanceof L) { - let k - if ( - (E.cssLayer !== null && E.cssLayer !== undefined) || - E.supports || - E.media - ) { - if (!k) { - k = [] - } - k.push([E.cssLayer, E.supports, E.media]) - } - if (E.inheritance) { - if (!k) { - k = [] - } - k.push(...E.inheritance) - } - return new L({ - ...v, - cssLayer: P.layer, - supports: P.supports, - media: P.media, - inheritance: k, - }) - } - return new L({ - ...v, - cssLayer: P.layer, - supports: P.supports, - media: P.media, - }) - } - } - return new L(v) - }) - } - const P = new WeakMap() - k.hooks.afterCodeGeneration.tap('CssModulesPlugin', () => { - const { chunkGraph: v } = k - for (const E of k.chunks) { - if (CssModulesPlugin.chunkHasCss(E, v)) { - P.set(E, this.getOrderedChunkCssModules(E, v, k)) - } - } - }) - k.hooks.contentHash.tap('CssModulesPlugin', (v) => { - const { - chunkGraph: E, - outputOptions: { - hashSalt: R, - hashDigest: L, - hashDigestLength: N, - hashFunction: q, - }, - } = k - const ae = P.get(v) - if (ae === undefined) return - const le = Ue(q) - if (R) le.update(R) - for (const k of ae) { - le.update(E.getModuleHash(k, v.runtime)) - } - const pe = le.digest(L) - v.contentHash.css = He(pe, N) - }) - k.hooks.renderManifest.tap(Xe, (v, E) => { - const { chunkGraph: R } = k - const { hash: L, chunk: q, codeGenerationResults: ae } = E - if (q instanceof N) return v - const le = P.get(q) - if (le !== undefined) { - v.push({ - render: () => - this.renderChunk({ - chunk: q, - chunkGraph: R, - codeGenerationResults: ae, - uniqueName: k.outputOptions.uniqueName, - modules: le, - }), - filenameTemplate: CssModulesPlugin.getChunkFilenameTemplate( - q, - k.outputOptions - ), - pathOptions: { - hash: L, - runtime: q.runtime, - chunk: q, - contentHashType: 'css', - }, - identifier: `css${q.id}`, - hash: q.contentHash.css, - }) - } - return v - }) - const R = k.outputOptions.chunkLoading - const isEnabledForChunk = (k) => { - const v = k.getEntryOptions() - const E = v && v.chunkLoading !== undefined ? v.chunkLoading : R - return E === 'jsonp' - } - const ye = new WeakSet() - const handler = (v, E) => { - if (ye.has(v)) return - ye.add(v) - if (!isEnabledForChunk(v)) return - E.add(pe.publicPath) - E.add(pe.getChunkCssFilename) - E.add(pe.hasOwnProperty) - E.add(pe.moduleFactoriesAddOnly) - E.add(pe.makeNamespaceObject) - const P = Ve() - k.addRuntimeModule(v, new P(E)) - } - k.hooks.runtimeRequirementInTree - .for(pe.hasCssModules) - .tap(Xe, handler) - k.hooks.runtimeRequirementInTree - .for(pe.ensureChunkHandlers) - .tap(Xe, handler) - k.hooks.runtimeRequirementInTree - .for(pe.hmrDownloadUpdateHandlers) - .tap(Xe, handler) - }) - } - getModulesInOrder(k, v, E) { - if (!v) return [] - const P = [...v] - const R = Array.from(k.groupsIterable, (k) => { - const v = P.map((v) => ({ - module: v, - index: k.getModulePostOrderIndex(v), - })) - .filter((k) => k.index !== undefined) - .sort((k, v) => v.index - k.index) - .map((k) => k.module) - return { list: v, set: new Set(v) } - }) - if (R.length === 1) return R[0].list.reverse() - const compareModuleLists = ({ list: k }, { list: v }) => { - if (k.length === 0) { - return v.length === 0 ? 0 : 1 - } else { - if (v.length === 0) return -1 - return Be(k[k.length - 1], v[v.length - 1]) - } - } - R.sort(compareModuleLists) - const L = [] - for (;;) { - const v = new Set() - const P = R[0].list - if (P.length === 0) { - break - } - let N = P[P.length - 1] - let q = undefined - e: for (;;) { - for (const { list: k, set: E } of R) { - if (k.length === 0) continue - const P = k[k.length - 1] - if (P === N) continue - if (!E.has(N)) continue - v.add(N) - if (v.has(P)) { - q = P - continue - } - N = P - q = false - continue e - } - break - } - if (q) { - if (E) { - E.warnings.push( - new ye( - `chunk ${ - k.name || k.id - }\nConflicting order between ${q.readableIdentifier( - E.requestShortener - )} and ${N.readableIdentifier(E.requestShortener)}` - ) - ) - } - N = q - } - L.push(N) - for (const { list: k, set: v } of R) { - const E = k[k.length - 1] - if (E === N) k.pop() - else if (q && v.has(N)) { - const v = k.indexOf(N) - if (v >= 0) k.splice(v, 1) - } - } - R.sort(compareModuleLists) - } - return L - } - getOrderedChunkCssModules(k, v, E) { - return [ - ...this.getModulesInOrder( - k, - v.getOrderedChunkModulesIterableBySourceType(k, 'css-import', Be), - E - ), - ...this.getModulesInOrder( - k, - v.getOrderedChunkModulesIterableBySourceType(k, 'css', Be), - E - ), - ] - } - renderChunk({ - uniqueName: k, - chunk: v, - chunkGraph: E, - codeGenerationResults: L, - modules: N, - }) { - const q = new P() - const ae = [] - for (const le of N) { - try { - const N = L.get(le, v.runtime) - let pe = N.sources.get('css') || N.sources.get('css-import') - let me = [[le.cssLayer, le.supports, le.media]] - if (le.inheritance) { - me.push(...le.inheritance) - } - for (let k = 0; k < me.length; k++) { - const v = me[k][0] - const E = me[k][1] - const L = me[k][2] - if (L) { - pe = new P(`@media ${L} {\n`, new R('\t', pe), '}\n') - } - if (E) { - pe = new P(`@supports (${E}) {\n`, new R('\t', pe), '}\n') - } - if (v !== undefined && v !== null) { - pe = new P( - `@layer${v ? ` ${v}` : ''} {\n`, - new R('\t', pe), - '}\n' - ) - } - } - if (pe) { - q.add(pe) - q.add('\n') - } - const ye = N.data && N.data.get('css-exports') - let _e = E.getModuleId(le) + '' - if (typeof _e === 'string') { - _e = _e.replace(/\\/g, '/') - } - ae.push( - `${ - ye - ? Array.from(ye, ([v, E]) => { - const P = `${k ? k + '-' : ''}${_e}-${v}` - return E === P - ? `${escapeCss(v)}/` - : E === '--' + P - ? `${escapeCss(v)}%` - : `${escapeCss(v)}(${escapeCss(E)})` - }).join('') - : '' - }${escapeCss(_e)}` - ) - } catch (k) { - k.message += `\nduring rendering of css ${le.identifier()}` - throw k - } - } - q.add( - `head{--webpack-${escapeCss( - (k ? k + '-' : '') + v.id, - true - )}:${ae.join(',')};}` - ) - return q - } - static getChunkFilenameTemplate(k, v) { - if (k.cssFilenameTemplate) { - return k.cssFilenameTemplate - } else if (k.canBeInitial()) { - return v.cssFilename - } else { - return v.cssChunkFilename - } - } - static chunkHasCss(k, v) { - return ( - !!v.getChunkModulesIterableBySourceType(k, 'css') || - !!v.getChunkModulesIterableBySourceType(k, 'css-import') - ) - } - } - k.exports = CssModulesPlugin - }, - 29605: function (k, v, E) { - 'use strict' - const P = E(84018) - const R = E(17381) - const L = E(71572) - const N = E(60381) - const q = E(55101) - const ae = E(38490) - const le = E(27746) - const pe = E(58943) - const me = E(97006) - const ye = E(93414) - const _e = E(54753) - const Ie = '{'.charCodeAt(0) - const Me = '}'.charCodeAt(0) - const Te = ':'.charCodeAt(0) - const je = '/'.charCodeAt(0) - const Ne = ';'.charCodeAt(0) - const Be = /\\[\n\r\f]/g - const qe = /(^[ \t\n\r\f]*|[ \t\n\r\f]*$)/g - const Ue = /\\([0-9a-fA-F]{1,6}[ \t\n\r\f]?|[\s\S])/g - const Ge = /^(-\w+-)?image-set$/i - const He = /^@(-\w+-)?keyframes$/ - const We = /^(-\w+-)?animation(-name)?$/i - const normalizeUrl = (k, v) => { - if (v) { - k = k.replace(Be, '') - } - k = k.replace(qe, '').replace(Ue, (k) => { - if (k.length > 2) { - return String.fromCharCode(parseInt(k.slice(1).trim(), 16)) - } else { - return k[1] - } - }) - if (/^data:/i.test(k)) { - return k - } - if (k.includes('%')) { - try { - k = decodeURIComponent(k) - } catch (k) {} - } - return k - } - class LocConverter { - constructor(k) { - this._input = k - this.line = 1 - this.column = 0 - this.pos = 0 - } - get(k) { - if (this.pos !== k) { - if (this.pos < k) { - const v = this._input.slice(this.pos, k) - let E = v.lastIndexOf('\n') - if (E === -1) { - this.column += v.length - } else { - this.column = v.length - E - 1 - this.line++ - while (E > 0 && (E = v.lastIndexOf('\n', E - 1)) !== -1) - this.line++ - } - } else { - let v = this._input.lastIndexOf('\n', this.pos) - while (v >= k) { - this.line-- - v = v > 0 ? this._input.lastIndexOf('\n', v - 1) : -1 - } - this.column = k - v - } - this.pos = k - } - return this - } - } - const Qe = 0 - const Je = 1 - const Ve = 2 - const Ke = 3 - const Ye = 4 - class CssParser extends R { - constructor({ - allowModeSwitch: k = true, - defaultMode: v = 'global', - } = {}) { - super() - this.allowModeSwitch = k - this.defaultMode = v - } - _emitWarning(k, v, E, R, N) { - const { line: q, column: ae } = E.get(R) - const { line: le, column: pe } = E.get(N) - k.current.addWarning( - new P(k.module, new L(v), { - start: { line: q, column: ae }, - end: { line: le, column: pe }, - }) - ) - } - parse(k, v) { - if (Buffer.isBuffer(k)) { - k = k.toString('utf-8') - } else if (typeof k === 'object') { - throw new Error('webpackAst is unexpected for the CssParser') - } - if (k[0] === '\ufeff') { - k = k.slice(1) - } - const E = v.module - const P = new LocConverter(k) - const R = new Set() - let L = Qe - let Be = 0 - let qe = true - let Ue = undefined - let Xe = undefined - let Ze = [] - let et = undefined - let tt = false - let nt = true - const isNextNestedSyntax = (k, v) => { - v = _e.eatWhitespaceAndComments(k, v) - if (k[v] === '}') { - return false - } - const E = _e.isIdentStartCodePoint(k.charCodeAt(v)) - return !E - } - const isLocalMode = () => - Ue === 'local' || (this.defaultMode === 'local' && Ue === undefined) - const eatUntil = (k) => { - const v = Array.from({ length: k.length }, (v, E) => - k.charCodeAt(E) - ) - const E = Array.from( - { length: v.reduce((k, v) => Math.max(k, v), 0) + 1 }, - () => false - ) - v.forEach((k) => (E[k] = true)) - return (k, v) => { - for (;;) { - const P = k.charCodeAt(v) - if (P < E.length && E[P]) { - return v - } - v++ - if (v === k.length) return v - } - } - } - const eatText = (k, v, E) => { - let P = '' - for (;;) { - if (k.charCodeAt(v) === je) { - const E = _e.eatComments(k, v) - if (v !== E) { - v = E - if (v === k.length) break - } else { - P += '/' - v++ - if (v === k.length) break - } - } - const R = E(k, v) - if (v !== R) { - P += k.slice(v, R) - v = R - } else { - break - } - if (v === k.length) break - } - return [v, P.trimEnd()] - } - const st = eatUntil(':};/') - const rt = eatUntil('};/') - const parseExports = (k, R) => { - R = _e.eatWhitespaceAndComments(k, R) - const L = k.charCodeAt(R) - if (L !== Ie) { - this._emitWarning( - v, - `Unexpected '${k[R]}' at ${R} during parsing of ':export' (expected '{')`, - P, - R, - R - ) - return R - } - R++ - R = _e.eatWhitespaceAndComments(k, R) - for (;;) { - if (k.charCodeAt(R) === Me) break - R = _e.eatWhitespaceAndComments(k, R) - if (R === k.length) return R - let L = R - let N - ;[R, N] = eatText(k, R, st) - if (R === k.length) return R - if (k.charCodeAt(R) !== Te) { - this._emitWarning( - v, - `Unexpected '${k[R]}' at ${R} during parsing of export name in ':export' (expected ':')`, - P, - L, - R - ) - return R - } - R++ - if (R === k.length) return R - R = _e.eatWhitespaceAndComments(k, R) - if (R === k.length) return R - let ae - ;[R, ae] = eatText(k, R, rt) - if (R === k.length) return R - const le = k.charCodeAt(R) - if (le === Ne) { - R++ - if (R === k.length) return R - R = _e.eatWhitespaceAndComments(k, R) - if (R === k.length) return R - } else if (le !== Me) { - this._emitWarning( - v, - `Unexpected '${k[R]}' at ${R} during parsing of export value in ':export' (expected ';' or '}')`, - P, - L, - R - ) - return R - } - const pe = new q(N, ae) - const { line: me, column: ye } = P.get(L) - const { line: Ie, column: je } = P.get(R) - pe.setLoc(me, ye, Ie, je) - E.addDependency(pe) - } - R++ - if (R === k.length) return R - R = _e.eatWhiteLine(k, R) - return R - } - const ot = eatUntil(':{};') - const processLocalDeclaration = (k, v, L) => { - Ue = undefined - v = _e.eatWhitespaceAndComments(k, v) - const N = v - const [q, ae] = eatText(k, v, ot) - if (k.charCodeAt(q) !== Te) return L - v = q + 1 - if (ae.startsWith('--')) { - const { line: k, column: v } = P.get(N) - const { line: L, column: pe } = P.get(q) - const me = ae.slice(2) - const ye = new le(me, [N, q], '--') - ye.setLoc(k, v, L, pe) - E.addDependency(ye) - R.add(me) - } else if (!ae.startsWith('--') && We.test(ae)) { - tt = true - } - return v - } - const processDeclarationValueDone = (k) => { - if (tt && Xe) { - const { line: v, column: R } = P.get(Xe[0]) - const { line: L, column: N } = P.get(Xe[1]) - const q = k.slice(Xe[0], Xe[1]) - const ae = new pe(q, Xe) - ae.setLoc(v, R, L, N) - E.addDependency(ae) - Xe = undefined - } - } - const it = eatUntil('{};/') - const at = eatUntil(',)};/') - _e(k, { - isSelector: () => nt, - url: (k, R, N, q, ae) => { - let le = normalizeUrl(k.slice(q, ae), false) - switch (L) { - case Ve: { - if (et.inSupports) { - break - } - if (et.url) { - this._emitWarning( - v, - `Duplicate of 'url(...)' in '${k.slice(et.start, N)}'`, - P, - R, - N - ) - break - } - et.url = le - et.urlStart = R - et.urlEnd = N - break - } - case Ye: - case Ke: { - break - } - case Je: { - if (le.length === 0) { - break - } - const k = new me(le, [R, N], 'url') - const { line: v, column: L } = P.get(R) - const { line: q, column: ae } = P.get(N) - k.setLoc(v, L, q, ae) - E.addDependency(k) - E.addCodeGenerationDependency(k) - break - } - } - return N - }, - string: (k, R, N) => { - switch (L) { - case Ve: { - const E = Ze[Ze.length - 1] && Ze[Ze.length - 1][0] === 'url' - if (et.inSupports || (!E && et.url)) { - break - } - if (E && et.url) { - this._emitWarning( - v, - `Duplicate of 'url(...)' in '${k.slice(et.start, N)}'`, - P, - R, - N - ) - break - } - et.url = normalizeUrl(k.slice(R + 1, N - 1), true) - if (!E) { - et.urlStart = R - et.urlEnd = N - } - break - } - case Je: { - const v = Ze[Ze.length - 1] - if ( - v && - (v[0].replace(/\\/g, '').toLowerCase() === 'url' || - Ge.test(v[0].replace(/\\/g, ''))) - ) { - let L = normalizeUrl(k.slice(R + 1, N - 1), true) - if (L.length === 0) { - break - } - const q = v[0].replace(/\\/g, '').toLowerCase() === 'url' - const ae = new me(L, [R, N], q ? 'string' : 'url') - const { line: le, column: pe } = P.get(R) - const { line: ye, column: _e } = P.get(N) - ae.setLoc(le, pe, ye, _e) - E.addDependency(ae) - E.addCodeGenerationDependency(ae) - } - } - } - return N - }, - atKeyword: (k, N, q) => { - const ae = k.slice(N, q).toLowerCase() - if (ae === '@namespace') { - L = Ye - this._emitWarning( - v, - "'@namespace' is not supported in bundled CSS", - P, - N, - q - ) - return q - } else if (ae === '@import') { - if (!qe) { - L = Ke - this._emitWarning( - v, - "Any '@import' rules must precede all other rules", - P, - N, - q - ) - return q - } - L = Ve - et = { start: N } - } else if (this.allowModeSwitch && He.test(ae)) { - let R = q - R = _e.eatWhitespaceAndComments(k, R) - if (R === k.length) return R - const [L, ae] = eatText(k, R, it) - if (L === k.length) return L - if (k.charCodeAt(L) !== Ie) { - this._emitWarning( - v, - `Unexpected '${k[L]}' at ${L} during parsing of @keyframes (expected '{')`, - P, - N, - q - ) - return L - } - const { line: pe, column: me } = P.get(R) - const { line: ye, column: Me } = P.get(L) - const Te = new le(ae, [R, L]) - Te.setLoc(pe, me, ye, Me) - E.addDependency(Te) - R = L - return R + 1 - } else if (this.allowModeSwitch && ae === '@property') { - let L = q - L = _e.eatWhitespaceAndComments(k, L) - if (L === k.length) return L - const ae = L - const [pe, me] = eatText(k, L, it) - if (pe === k.length) return pe - if (!me.startsWith('--')) return pe - if (k.charCodeAt(pe) !== Ie) { - this._emitWarning( - v, - `Unexpected '${k[pe]}' at ${pe} during parsing of @property (expected '{')`, - P, - N, - q - ) - return pe - } - const { line: ye, column: Me } = P.get(L) - const { line: Te, column: je } = P.get(pe) - const Ne = me.slice(2) - const Be = new le(Ne, [ae, pe], '--') - Be.setLoc(ye, Me, Te, je) - E.addDependency(Be) - R.add(Ne) - L = pe - return L + 1 - } else if ( - ae === '@media' || - ae === '@supports' || - ae === '@layer' || - ae === '@container' - ) { - Ue = isLocalMode() ? 'local' : 'global' - nt = true - return q - } else if (this.allowModeSwitch) { - Ue = 'global' - nt = false - } - return q - }, - semicolon: (k, R, q) => { - switch (L) { - case Ve: { - const { start: R } = et - if (et.url === undefined) { - this._emitWarning( - v, - `Expected URL in '${k.slice(R, q)}'`, - P, - R, - q - ) - et = undefined - L = Qe - return q - } - if ( - et.urlStart > et.layerStart || - et.urlStart > et.supportsStart - ) { - this._emitWarning( - v, - `An URL in '${k.slice( - R, - q - )}' should be before 'layer(...)' or 'supports(...)'`, - P, - R, - q - ) - et = undefined - L = Qe - return q - } - if (et.layerStart > et.supportsStart) { - this._emitWarning( - v, - `The 'layer(...)' in '${k.slice( - R, - q - )}' should be before 'supports(...)'`, - P, - R, - q - ) - et = undefined - L = Qe - return q - } - const le = q - q = _e.eatWhiteLine(k, q + 1) - const { line: pe, column: me } = P.get(R) - const { line: ye, column: Ie } = P.get(q) - const Me = et.supportsEnd || et.layerEnd || et.urlEnd || R - const Te = _e.eatWhitespaceAndComments(k, Me) - if (Te !== le - 1) { - et.media = k.slice(Me, le - 1).trim() - } - const je = et.url.trim() - if (je.length === 0) { - const k = new N('', [R, q]) - E.addPresentationalDependency(k) - k.setLoc(pe, me, ye, Ie) - } else { - const k = new ae( - je, - [R, q], - et.layer, - et.supports, - et.media && et.media.length > 0 ? et.media : undefined - ) - k.setLoc(pe, me, ye, Ie) - E.addDependency(k) - } - et = undefined - L = Qe - break - } - case Ke: - case Ye: { - L = Qe - break - } - case Je: { - if (this.allowModeSwitch) { - processDeclarationValueDone(k) - tt = false - nt = isNextNestedSyntax(k, q) - } - break - } - } - return q - }, - leftCurlyBracket: (k, v, E) => { - switch (L) { - case Qe: { - qe = false - L = Je - Be = 1 - if (this.allowModeSwitch) { - nt = isNextNestedSyntax(k, E) - } - break - } - case Je: { - Be++ - if (this.allowModeSwitch) { - nt = isNextNestedSyntax(k, E) - } - break - } - } - return E - }, - rightCurlyBracket: (k, v, E) => { - switch (L) { - case Je: { - if (isLocalMode()) { - processDeclarationValueDone(k) - tt = false - } - if (--Be === 0) { - L = Qe - if (this.allowModeSwitch) { - nt = true - Ue = undefined - } - } else if (this.allowModeSwitch) { - nt = isNextNestedSyntax(k, E) - } - break - } - } - return E - }, - identifier: (k, v, E) => { - switch (L) { - case Je: { - if (isLocalMode()) { - if (tt && Ze.length === 0) { - Xe = [v, E] - } else { - return processLocalDeclaration(k, v, E) - } - } - break - } - case Ve: { - if (k.slice(v, E).toLowerCase() === 'layer') { - et.layer = '' - et.layerStart = v - et.layerEnd = E - } - break - } - } - return E - }, - class: (k, v, R) => { - if (isLocalMode()) { - const L = k.slice(v + 1, R) - const N = new le(L, [v + 1, R]) - const { line: q, column: ae } = P.get(v) - const { line: pe, column: me } = P.get(R) - N.setLoc(q, ae, pe, me) - E.addDependency(N) - } - return R - }, - id: (k, v, R) => { - if (isLocalMode()) { - const L = k.slice(v + 1, R) - const N = new le(L, [v + 1, R]) - const { line: q, column: ae } = P.get(v) - const { line: pe, column: me } = P.get(R) - N.setLoc(q, ae, pe, me) - E.addDependency(N) - } - return R - }, - function: (k, v, N) => { - let q = k.slice(v, N - 1) - Ze.push([q, v, N]) - if (L === Ve && q.toLowerCase() === 'supports') { - et.inSupports = true - } - if (isLocalMode()) { - q = q.toLowerCase() - if (tt && Ze.length === 1) { - Xe = undefined - } - if (q === 'var') { - let v = _e.eatWhitespaceAndComments(k, N) - if (v === k.length) return v - const [L, q] = eatText(k, v, at) - if (!q.startsWith('--')) return N - const { line: ae, column: le } = P.get(v) - const { line: me, column: ye } = P.get(L) - const Ie = new pe(q.slice(2), [v, L], '--', R) - Ie.setLoc(ae, le, me, ye) - E.addDependency(Ie) - return L - } - } - return N - }, - leftParenthesis: (k, v, E) => { - Ze.push(['(', v, E]) - return E - }, - rightParenthesis: (k, v, P) => { - const R = Ze[Ze.length - 1] - const q = Ze.pop() - if ( - this.allowModeSwitch && - q && - (q[0] === ':local' || q[0] === ':global') - ) { - Ue = Ze[Ze.length - 1] ? Ze[Ze.length - 1][0] : undefined - const k = new N('', [v, P]) - E.addPresentationalDependency(k) - return P - } - switch (L) { - case Ve: { - if (R && R[0] === 'url' && !et.inSupports) { - et.urlStart = R[1] - et.urlEnd = P - } else if ( - R && - R[0].toLowerCase() === 'layer' && - !et.inSupports - ) { - et.layer = k.slice(R[2], P - 1).trim() - et.layerStart = R[1] - et.layerEnd = P - } else if (R && R[0].toLowerCase() === 'supports') { - et.supports = k.slice(R[2], P - 1).trim() - et.supportsStart = R[1] - et.supportsEnd = P - et.inSupports = false - } - break - } - } - return P - }, - pseudoClass: (k, v, P) => { - if (this.allowModeSwitch) { - const R = k.slice(v, P).toLowerCase() - if (R === ':global') { - Ue = 'global' - P = _e.eatWhitespace(k, P) - const R = new N('', [v, P]) - E.addPresentationalDependency(R) - return P - } else if (R === ':local') { - Ue = 'local' - P = _e.eatWhitespace(k, P) - const R = new N('', [v, P]) - E.addPresentationalDependency(R) - return P - } - switch (L) { - case Qe: { - if (R === ':export') { - const R = parseExports(k, P) - const L = new N('', [v, R]) - E.addPresentationalDependency(L) - return R - } - break - } - } - } - return P - }, - pseudoFunction: (k, v, P) => { - let R = k.slice(v, P - 1) - Ze.push([R, v, P]) - if (this.allowModeSwitch) { - R = R.toLowerCase() - if (R === ':global') { - Ue = 'global' - const k = new N('', [v, P]) - E.addPresentationalDependency(k) - } else if (R === ':local') { - Ue = 'local' - const k = new N('', [v, P]) - E.addPresentationalDependency(k) - } - } - return P - }, - comma: (k, v, E) => { - if (this.allowModeSwitch) { - Ue = undefined - switch (L) { - case Je: { - if (isLocalMode()) { - processDeclarationValueDone(k) - } - break - } - } - } - return E - }, - }) - E.buildInfo.strict = true - E.buildMeta.exportsType = 'namespace' - E.addDependency(new ye([], true)) - return v - } - } - k.exports = CssParser - }, - 54753: function (k) { - 'use strict' - const v = '\n'.charCodeAt(0) - const E = '\r'.charCodeAt(0) - const P = '\f'.charCodeAt(0) - const R = '\t'.charCodeAt(0) - const L = ' '.charCodeAt(0) - const N = '/'.charCodeAt(0) - const q = '\\'.charCodeAt(0) - const ae = '*'.charCodeAt(0) - const le = '('.charCodeAt(0) - const pe = ')'.charCodeAt(0) - const me = '{'.charCodeAt(0) - const ye = '}'.charCodeAt(0) - const _e = '['.charCodeAt(0) - const Ie = ']'.charCodeAt(0) - const Me = '"'.charCodeAt(0) - const Te = "'".charCodeAt(0) - const je = '.'.charCodeAt(0) - const Ne = ':'.charCodeAt(0) - const Be = ';'.charCodeAt(0) - const qe = ','.charCodeAt(0) - const Ue = '%'.charCodeAt(0) - const Ge = '@'.charCodeAt(0) - const He = '_'.charCodeAt(0) - const We = 'a'.charCodeAt(0) - const Qe = 'u'.charCodeAt(0) - const Je = 'e'.charCodeAt(0) - const Ve = 'z'.charCodeAt(0) - const Ke = 'A'.charCodeAt(0) - const Ye = 'E'.charCodeAt(0) - const Xe = 'U'.charCodeAt(0) - const Ze = 'Z'.charCodeAt(0) - const et = '0'.charCodeAt(0) - const tt = '9'.charCodeAt(0) - const nt = '#'.charCodeAt(0) - const st = '+'.charCodeAt(0) - const rt = '-'.charCodeAt(0) - const ot = '<'.charCodeAt(0) - const it = '>'.charCodeAt(0) - const _isNewLine = (k) => k === v || k === E || k === P - const consumeSpace = (k, v, E) => { - let P - do { - v++ - P = k.charCodeAt(v) - } while (_isWhiteSpace(P)) - return v - } - const _isNewline = (k) => k === v || k === E || k === P - const _isSpace = (k) => k === R || k === L - const _isWhiteSpace = (k) => _isNewline(k) || _isSpace(k) - const isIdentStartCodePoint = (k) => - (k >= We && k <= Ve) || (k >= Ke && k <= Ze) || k === He || k >= 128 - const consumeDelimToken = (k, v, E) => v + 1 - const consumeComments = (k, v, E) => { - if (k.charCodeAt(v) === N && k.charCodeAt(v + 1) === ae) { - v += 1 - while (v < k.length) { - if (k.charCodeAt(v) === ae && k.charCodeAt(v + 1) === N) { - v += 2 - break - } - v++ - } - } - return v - } - const consumeString = (k) => (v, E, P) => { - const R = E - E = _consumeString(v, E, k) - if (P.string !== undefined) { - E = P.string(v, R, E) - } - return E - } - const _consumeString = (k, v, E) => { - v++ - for (;;) { - if (v === k.length) return v - const P = k.charCodeAt(v) - if (P === E) return v + 1 - if (_isNewLine(P)) { - return v - } - if (P === q) { - v++ - if (v === k.length) return v - v++ - } else { - v++ - } - } - } - const _isIdentifierStartCode = (k) => - k === He || (k >= We && k <= Ve) || (k >= Ke && k <= Ze) || k > 128 - const _isTwoCodePointsAreValidEscape = (k, v) => { - if (k !== q) return false - if (_isNewLine(v)) return false - return true - } - const _isDigit = (k) => k >= et && k <= tt - const _startsIdentifier = (k, v) => { - const E = k.charCodeAt(v) - if (E === rt) { - if (v === k.length) return false - const E = k.charCodeAt(v + 1) - if (E === rt) return true - if (E === q) { - const E = k.charCodeAt(v + 2) - return !_isNewLine(E) - } - return _isIdentifierStartCode(E) - } - if (E === q) { - const E = k.charCodeAt(v + 1) - return !_isNewLine(E) - } - return _isIdentifierStartCode(E) - } - const consumeNumberSign = (k, v, E) => { - const P = v - v++ - if (v === k.length) return v - if (E.isSelector(k, v) && _startsIdentifier(k, v)) { - v = _consumeIdentifier(k, v, E) - if (E.id !== undefined) { - return E.id(k, P, v) - } - } - return v - } - const consumeMinus = (k, v, E) => { - const P = v - v++ - if (v === k.length) return v - const R = k.charCodeAt(v) - if (R === je || _isDigit(R)) { - return consumeNumericToken(k, v, E) - } else if (R === rt) { - v++ - if (v === k.length) return v - const R = k.charCodeAt(v) - if (R === it) { - return v + 1 - } else { - v = _consumeIdentifier(k, v, E) - if (E.identifier !== undefined) { - return E.identifier(k, P, v) - } - } - } else if (R === q) { - if (v + 1 === k.length) return v - const R = k.charCodeAt(v + 1) - if (_isNewLine(R)) return v - v = _consumeIdentifier(k, v, E) - if (E.identifier !== undefined) { - return E.identifier(k, P, v) - } - } else if (_isIdentifierStartCode(R)) { - v = consumeOtherIdentifier(k, v - 1, E) - } - return v - } - const consumeDot = (k, v, E) => { - const P = v - v++ - if (v === k.length) return v - const R = k.charCodeAt(v) - if (_isDigit(R)) return consumeNumericToken(k, v - 2, E) - if (!E.isSelector(k, v) || !_startsIdentifier(k, v)) return v - v = _consumeIdentifier(k, v, E) - if (E.class !== undefined) return E.class(k, P, v) - return v - } - const consumeNumericToken = (k, v, E) => { - v = _consumeNumber(k, v, E) - if (v === k.length) return v - if (_startsIdentifier(k, v)) return _consumeIdentifier(k, v, E) - const P = k.charCodeAt(v) - if (P === Ue) return v + 1 - return v - } - const consumeOtherIdentifier = (k, v, E) => { - const P = v - v = _consumeIdentifier(k, v, E) - if (v !== k.length && k.charCodeAt(v) === le) { - v++ - if (E.function !== undefined) { - return E.function(k, P, v) - } - } else { - if (E.identifier !== undefined) { - return E.identifier(k, P, v) - } - } - return v - } - const consumePotentialUrl = (k, v, E) => { - const P = v - v = _consumeIdentifier(k, v, E) - const R = v + 1 - if (v === P + 3 && k.slice(P, R).toLowerCase() === 'url(') { - v++ - let L = k.charCodeAt(v) - while (_isWhiteSpace(L)) { - v++ - if (v === k.length) return v - L = k.charCodeAt(v) - } - if (L === Me || L === Te) { - if (E.function !== undefined) { - return E.function(k, P, R) - } - return R - } else { - const R = v - let N - for (;;) { - if (L === q) { - v++ - if (v === k.length) return v - v++ - } else if (_isWhiteSpace(L)) { - N = v - do { - v++ - if (v === k.length) return v - L = k.charCodeAt(v) - } while (_isWhiteSpace(L)) - if (L !== pe) return v - v++ - if (E.url !== undefined) { - return E.url(k, P, v, R, N) - } - return v - } else if (L === pe) { - N = v - v++ - if (E.url !== undefined) { - return E.url(k, P, v, R, N) - } - return v - } else if (L === le) { - return v - } else { - v++ - } - if (v === k.length) return v - L = k.charCodeAt(v) - } - } - } else { - if (E.identifier !== undefined) { - return E.identifier(k, P, v) - } - return v - } - } - const consumePotentialPseudo = (k, v, E) => { - const P = v - v++ - if (!E.isSelector(k, v) || !_startsIdentifier(k, v)) return v - v = _consumeIdentifier(k, v, E) - let R = k.charCodeAt(v) - if (R === le) { - v++ - if (E.pseudoFunction !== undefined) { - return E.pseudoFunction(k, P, v) - } - return v - } - if (E.pseudoClass !== undefined) { - return E.pseudoClass(k, P, v) - } - return v - } - const consumeLeftParenthesis = (k, v, E) => { - v++ - if (E.leftParenthesis !== undefined) { - return E.leftParenthesis(k, v - 1, v) - } - return v - } - const consumeRightParenthesis = (k, v, E) => { - v++ - if (E.rightParenthesis !== undefined) { - return E.rightParenthesis(k, v - 1, v) - } - return v - } - const consumeLeftCurlyBracket = (k, v, E) => { - v++ - if (E.leftCurlyBracket !== undefined) { - return E.leftCurlyBracket(k, v - 1, v) - } - return v - } - const consumeRightCurlyBracket = (k, v, E) => { - v++ - if (E.rightCurlyBracket !== undefined) { - return E.rightCurlyBracket(k, v - 1, v) - } - return v - } - const consumeSemicolon = (k, v, E) => { - v++ - if (E.semicolon !== undefined) { - return E.semicolon(k, v - 1, v) - } - return v - } - const consumeComma = (k, v, E) => { - v++ - if (E.comma !== undefined) { - return E.comma(k, v - 1, v) - } - return v - } - const _consumeIdentifier = (k, v) => { - for (;;) { - const E = k.charCodeAt(v) - if (E === q) { - v++ - if (v === k.length) return v - v++ - } else if (_isIdentifierStartCode(E) || _isDigit(E) || E === rt) { - v++ - } else { - return v - } - } - } - const _consumeNumber = (k, v) => { - v++ - if (v === k.length) return v - let E = k.charCodeAt(v) - while (_isDigit(E)) { - v++ - if (v === k.length) return v - E = k.charCodeAt(v) - } - if (E === je && v + 1 !== k.length) { - const P = k.charCodeAt(v + 1) - if (_isDigit(P)) { - v += 2 - E = k.charCodeAt(v) - while (_isDigit(E)) { - v++ - if (v === k.length) return v - E = k.charCodeAt(v) - } - } - } - if (E === Je || E === Ye) { - if (v + 1 !== k.length) { - const E = k.charCodeAt(v + 2) - if (_isDigit(E)) { - v += 2 - } else if ((E === rt || E === st) && v + 2 !== k.length) { - const E = k.charCodeAt(v + 2) - if (_isDigit(E)) { - v += 3 - } else { - return v - } - } else { - return v - } - } - } else { - return v - } - E = k.charCodeAt(v) - while (_isDigit(E)) { - v++ - if (v === k.length) return v - E = k.charCodeAt(v) - } - return v - } - const consumeLessThan = (k, v, E) => { - if (k.slice(v + 1, v + 4) === '!--') return v + 4 - return v + 1 - } - const consumeAt = (k, v, E) => { - const P = v - v++ - if (v === k.length) return v - if (_startsIdentifier(k, v)) { - v = _consumeIdentifier(k, v, E) - if (E.atKeyword !== undefined) { - v = E.atKeyword(k, P, v) - } - } - return v - } - const consumeReverseSolidus = (k, v, E) => { - const P = v - v++ - if (v === k.length) return v - if (_isTwoCodePointsAreValidEscape(k.charCodeAt(P), k.charCodeAt(v))) { - return consumeOtherIdentifier(k, v - 1, E) - } - return v - } - const at = Array.from({ length: 128 }, (k, N) => { - switch (N) { - case v: - case E: - case P: - case R: - case L: - return consumeSpace - case Me: - return consumeString(N) - case nt: - return consumeNumberSign - case Te: - return consumeString(N) - case le: - return consumeLeftParenthesis - case pe: - return consumeRightParenthesis - case st: - return consumeNumericToken - case qe: - return consumeComma - case rt: - return consumeMinus - case je: - return consumeDot - case Ne: - return consumePotentialPseudo - case Be: - return consumeSemicolon - case ot: - return consumeLessThan - case Ge: - return consumeAt - case _e: - return consumeDelimToken - case q: - return consumeReverseSolidus - case Ie: - return consumeDelimToken - case me: - return consumeLeftCurlyBracket - case ye: - return consumeRightCurlyBracket - case Qe: - case Xe: - return consumePotentialUrl - default: - if (_isDigit(N)) return consumeNumericToken - if (isIdentStartCodePoint(N)) { - return consumeOtherIdentifier - } - return consumeDelimToken - } - }) - k.exports = (k, v) => { - let E = 0 - while (E < k.length) { - E = consumeComments(k, E, v) - const P = k.charCodeAt(E) - if (P < 128) { - E = at[P](k, E, v) - } else { - E++ - } - } - } - k.exports.isIdentStartCodePoint = isIdentStartCodePoint - k.exports.eatComments = (k, v) => { - for (;;) { - let E = v - v = consumeComments(k, v, {}) - if (E === v) { - break - } - } - return v - } - k.exports.eatWhitespace = (k, v) => { - while (_isWhiteSpace(k.charCodeAt(v))) { - v++ - } - return v - } - k.exports.eatWhitespaceAndComments = (k, v) => { - for (;;) { - let E = v - v = consumeComments(k, v, {}) - while (_isWhiteSpace(k.charCodeAt(v))) { - v++ - } - if (E === v) { - break - } - } - return v - } - k.exports.eatWhiteLine = (k, P) => { - for (;;) { - const R = k.charCodeAt(P) - if (_isSpace(R)) { - P++ - continue - } - if (_isNewLine(R)) P++ - if (R === E && k.charCodeAt(P + 1) === v) P++ - break - } - return P - } - }, - 85865: function (k, v, E) { - 'use strict' - const { Tracer: P } = E(86853) - const { - JAVASCRIPT_MODULE_TYPE_AUTO: R, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: L, - JAVASCRIPT_MODULE_TYPE_ESM: N, - WEBASSEMBLY_MODULE_TYPE_ASYNC: q, - WEBASSEMBLY_MODULE_TYPE_SYNC: ae, - JSON_MODULE_TYPE: le, - } = E(93622) - const pe = E(92198) - const { dirname: me, mkdirpSync: ye } = E(57825) - const _e = pe(E(63114), () => E(5877), { - name: 'Profiling Plugin', - baseDataPath: 'options', - }) - let Ie = undefined - try { - Ie = E(31405) - } catch (k) { - console.log('Unable to CPU profile in < node 8.0') - } - class Profiler { - constructor(k) { - this.session = undefined - this.inspector = k - this._startTime = 0 - } - hasSession() { - return this.session !== undefined - } - startProfiling() { - if (this.inspector === undefined) { - return Promise.resolve() - } - try { - this.session = new Ie.Session() - this.session.connect() - } catch (k) { - this.session = undefined - return Promise.resolve() - } - const k = process.hrtime() - this._startTime = k[0] * 1e6 + Math.round(k[1] / 1e3) - return Promise.all([ - this.sendCommand('Profiler.setSamplingInterval', { interval: 100 }), - this.sendCommand('Profiler.enable'), - this.sendCommand('Profiler.start'), - ]) - } - sendCommand(k, v) { - if (this.hasSession()) { - return new Promise((E, P) => - this.session.post(k, v, (k, v) => { - if (k !== null) { - P(k) - } else { - E(v) - } - }) - ) - } else { - return Promise.resolve() - } - } - destroy() { - if (this.hasSession()) { - this.session.disconnect() - } - return Promise.resolve() - } - stopProfiling() { - return this.sendCommand('Profiler.stop').then(({ profile: k }) => { - const v = process.hrtime() - const E = v[0] * 1e6 + Math.round(v[1] / 1e3) - if (k.startTime < this._startTime || k.endTime > E) { - const v = k.endTime - k.startTime - const P = E - this._startTime - const R = Math.max(0, P - v) - k.startTime = this._startTime + R / 2 - k.endTime = E - R / 2 - } - return { profile: k } - }) - } - } - const createTrace = (k, v) => { - const E = new P() - const R = new Profiler(Ie) - if (/\/|\\/.test(v)) { - const E = me(k, v) - ye(k, E) - } - const L = k.createWriteStream(v) - let N = 0 - E.pipe(L) - E.instantEvent({ - name: 'TracingStartedInPage', - id: ++N, - cat: ['disabled-by-default-devtools.timeline'], - args: { - data: { - sessionId: '-1', - page: '0xfff', - frames: [{ frame: '0xfff', url: 'webpack', name: '' }], - }, - }, - }) - E.instantEvent({ - name: 'TracingStartedInBrowser', - id: ++N, - cat: ['disabled-by-default-devtools.timeline'], - args: { data: { sessionId: '-1' } }, - }) - return { - trace: E, - counter: N, - profiler: R, - end: (k) => { - E.push(']') - L.on('close', () => { - k() - }) - E.push(null) - }, - } - } - const Me = 'ProfilingPlugin' - class ProfilingPlugin { - constructor(k = {}) { - _e(k) - this.outputPath = k.outputPath || 'events.json' - } - apply(k) { - const v = createTrace(k.intermediateFileSystem, this.outputPath) - v.profiler.startProfiling() - Object.keys(k.hooks).forEach((E) => { - const P = k.hooks[E] - if (P) { - P.intercept(makeInterceptorFor('Compiler', v)(E)) - } - }) - Object.keys(k.resolverFactory.hooks).forEach((E) => { - const P = k.resolverFactory.hooks[E] - if (P) { - P.intercept(makeInterceptorFor('Resolver', v)(E)) - } - }) - k.hooks.compilation.tap( - Me, - (k, { normalModuleFactory: E, contextModuleFactory: P }) => { - interceptAllHooksFor(k, v, 'Compilation') - interceptAllHooksFor(E, v, 'Normal Module Factory') - interceptAllHooksFor(P, v, 'Context Module Factory') - interceptAllParserHooks(E, v) - interceptAllJavascriptModulesPluginHooks(k, v) - } - ) - k.hooks.done.tapAsync({ name: Me, stage: Infinity }, (E, P) => { - if (k.watchMode) return P() - v.profiler.stopProfiling().then((k) => { - if (k === undefined) { - v.profiler.destroy() - v.end(P) - return - } - const E = k.profile.startTime - const R = k.profile.endTime - v.trace.completeEvent({ - name: 'TaskQueueManager::ProcessTaskFromWorkQueue', - id: ++v.counter, - cat: ['toplevel'], - ts: E, - args: { - src_file: '../../ipc/ipc_moji_bootstrap.cc', - src_func: 'Accept', - }, - }) - v.trace.completeEvent({ - name: 'EvaluateScript', - id: ++v.counter, - cat: ['devtools.timeline'], - ts: E, - dur: R - E, - args: { - data: { - url: 'webpack', - lineNumber: 1, - columnNumber: 1, - frame: '0xFFF', - }, - }, - }) - v.trace.instantEvent({ - name: 'CpuProfile', - id: ++v.counter, - cat: ['disabled-by-default-devtools.timeline'], - ts: R, - args: { data: { cpuProfile: k.profile } }, - }) - v.profiler.destroy() - v.end(P) - }) - }) - } - } - const interceptAllHooksFor = (k, v, E) => { - if (Reflect.has(k, 'hooks')) { - Object.keys(k.hooks).forEach((P) => { - const R = k.hooks[P] - if (R && !R._fakeHook) { - R.intercept(makeInterceptorFor(E, v)(P)) - } - }) - } - } - const interceptAllParserHooks = (k, v) => { - const E = [R, L, N, le, q, ae] - E.forEach((E) => { - k.hooks.parser.for(E).tap(Me, (k, E) => { - interceptAllHooksFor(k, v, 'Parser') - }) - }) - } - const interceptAllJavascriptModulesPluginHooks = (k, v) => { - interceptAllHooksFor( - { hooks: E(89168).getCompilationHooks(k) }, - v, - 'JavascriptModulesPlugin' - ) - } - const makeInterceptorFor = (k, v) => (k) => ({ - register: (E) => { - const { name: P, type: R, fn: L } = E - const N = - P === Me - ? L - : makeNewProfiledTapFn(k, v, { name: P, type: R, fn: L }) - return { ...E, fn: N } - }, - }) - const makeNewProfiledTapFn = (k, v, { name: E, type: P, fn: R }) => { - const L = ['blink.user_timing'] - switch (P) { - case 'promise': - return (...k) => { - const P = ++v.counter - v.trace.begin({ name: E, id: P, cat: L }) - const N = R(...k) - return N.then((k) => { - v.trace.end({ name: E, id: P, cat: L }) - return k - }) - } - case 'async': - return (...k) => { - const P = ++v.counter - v.trace.begin({ name: E, id: P, cat: L }) - const N = k.pop() - R(...k, (...k) => { - v.trace.end({ name: E, id: P, cat: L }) - N(...k) - }) - } - case 'sync': - return (...k) => { - const P = ++v.counter - if (E === Me) { - return R(...k) - } - v.trace.begin({ name: E, id: P, cat: L }) - let N - try { - N = R(...k) - } catch (k) { - v.trace.end({ name: E, id: P, cat: L }) - throw k - } - v.trace.end({ name: E, id: P, cat: L }) - return N - } - default: - break - } - } - k.exports = ProfilingPlugin - k.exports.Profiler = Profiler - }, - 43804: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(58528) - const L = E(53139) - const N = { - f: { - definition: 'var __WEBPACK_AMD_DEFINE_RESULT__;', - content: `!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, ${P.require}, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`, - requests: [P.require, P.exports, P.module], - }, - o: { - definition: '', - content: '!(module.exports = #)', - requests: [P.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, ${P.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: [P.require, P.exports, P.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: [P.exports, P.module], - }, - ao: { - definition: '', - content: '!(#, module.exports = #)', - requests: [P.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: [P.exports, P.module], - }, - lf: { - definition: 'var XXX, XXXmodule;', - content: `!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, ${P.require}, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))`, - requests: [P.require, P.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, ${P.require}, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))`, - requests: [P.require, P.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 L { - constructor(k, v, E, P, R) { - super() - this.range = k - this.arrayRange = v - this.functionRange = E - this.objectRange = P - this.namedModule = R - this.localModule = null - } - get type() { - return 'amd define' - } - serialize(k) { - const { write: v } = k - v(this.range) - v(this.arrayRange) - v(this.functionRange) - v(this.objectRange) - v(this.namedModule) - v(this.localModule) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.range = v() - this.arrayRange = v() - this.functionRange = v() - this.objectRange = v() - this.namedModule = v() - this.localModule = v() - super.deserialize(k) - } - } - R(AMDDefineDependency, 'webpack/lib/dependencies/AMDDefineDependency') - AMDDefineDependency.Template = class AMDDefineDependencyTemplate extends ( - L.Template - ) { - apply(k, v, { runtimeRequirements: E }) { - const P = k - const R = this.branch(P) - const { definition: L, content: q, requests: ae } = N[R] - for (const k of ae) { - E.add(k) - } - this.replace(P, v, L, q) - } - localModuleVar(k) { - return ( - k.localModule && k.localModule.used && k.localModule.variableName() - ) - } - branch(k) { - const v = this.localModuleVar(k) ? 'l' : '' - const E = k.arrayRange ? 'a' : '' - const P = k.objectRange ? 'o' : '' - const R = k.functionRange ? 'f' : '' - return v + E + P + R - } - replace(k, v, E, P) { - const R = this.localModuleVar(k) - if (R) { - P = P.replace(/XXX/g, R.replace(/\$/g, '$$$$')) - E = E.replace(/XXX/g, R.replace(/\$/g, '$$$$')) - } - if (k.namedModule) { - P = P.replace(/YYY/g, JSON.stringify(k.namedModule)) - } - const L = P.split('#') - if (E) v.insert(0, E) - let N = k.range[0] - if (k.arrayRange) { - v.replace(N, k.arrayRange[0] - 1, L.shift()) - N = k.arrayRange[1] - } - if (k.objectRange) { - v.replace(N, k.objectRange[0] - 1, L.shift()) - N = k.objectRange[1] - } else if (k.functionRange) { - v.replace(N, k.functionRange[0] - 1, L.shift()) - N = k.functionRange[1] - } - v.replace(N, k.range[1] - 1, L.shift()) - if (L.length > 0) throw new Error('Implementation error') - } - } - k.exports = AMDDefineDependency - }, - 87655: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(43804) - const L = E(78326) - const N = E(54220) - const q = E(80760) - const ae = E(60381) - const le = E(25012) - const pe = E(71203) - const me = E(41808) - const { addLocalModule: ye, getLocalModule: _e } = E(18363) - const isBoundFunctionExpression = (k) => { - if (k.type !== 'CallExpression') return false - if (k.callee.type !== 'MemberExpression') return false - if (k.callee.computed) return false - if (k.callee.object.type !== 'FunctionExpression') return false - if (k.callee.property.type !== 'Identifier') return false - if (k.callee.property.name !== 'bind') return false - return true - } - const isUnboundFunctionExpression = (k) => { - if (k.type === 'FunctionExpression') return true - if (k.type === 'ArrowFunctionExpression') return true - return false - } - const isCallable = (k) => { - if (isUnboundFunctionExpression(k)) return true - if (isBoundFunctionExpression(k)) return true - return false - } - class AMDDefineDependencyParserPlugin { - constructor(k) { - this.options = k - } - apply(k) { - k.hooks.call - .for('define') - .tap( - 'AMDDefineDependencyParserPlugin', - this.processCallDefine.bind(this, k) - ) - } - processArray(k, v, E, R, L) { - if (E.isArray()) { - E.items.forEach((E, P) => { - if ( - E.isString() && - ['require', 'module', 'exports'].includes(E.string) - ) - R[P] = E.string - const N = this.processItem(k, v, E, L) - if (N === undefined) { - this.processContext(k, v, E) - } - }) - return true - } else if (E.isConstArray()) { - const L = [] - E.array.forEach((E, N) => { - let q - let ae - if (E === 'require') { - R[N] = E - q = P.require - } else if (['exports', 'module'].includes(E)) { - R[N] = E - q = E - } else if ((ae = _e(k.state, E))) { - ae.flagUsed() - q = new me(ae, undefined, false) - q.loc = v.loc - k.state.module.addPresentationalDependency(q) - } else { - q = this.newRequireItemDependency(E) - q.loc = v.loc - q.optional = !!k.scope.inTry - k.state.current.addDependency(q) - } - L.push(q) - }) - const N = this.newRequireArrayDependency(L, E.range) - N.loc = v.loc - N.optional = !!k.scope.inTry - k.state.module.addPresentationalDependency(N) - return true - } - } - processItem(k, v, E, R) { - if (E.isConditional()) { - E.options.forEach((E) => { - const P = this.processItem(k, v, E) - if (P === undefined) { - this.processContext(k, v, E) - } - }) - return true - } else if (E.isString()) { - let L, N - if (E.string === 'require') { - L = new ae(P.require, E.range, [P.require]) - } else if (E.string === 'exports') { - L = new ae('exports', E.range, [P.exports]) - } else if (E.string === 'module') { - L = new ae('module', E.range, [P.module]) - } else if ((N = _e(k.state, E.string, R))) { - N.flagUsed() - L = new me(N, E.range, false) - } else { - L = this.newRequireItemDependency(E.string, E.range) - L.optional = !!k.scope.inTry - k.state.current.addDependency(L) - return true - } - L.loc = v.loc - k.state.module.addPresentationalDependency(L) - return true - } - } - processContext(k, v, E) { - const P = le.create( - N, - E.range, - E, - v, - this.options, - { category: 'amd' }, - k - ) - if (!P) return - P.loc = v.loc - P.optional = !!k.scope.inTry - k.state.current.addDependency(P) - return true - } - processCallDefine(k, v) { - let E, P, R, L - switch (v.arguments.length) { - case 1: - if (isCallable(v.arguments[0])) { - P = v.arguments[0] - } else if (v.arguments[0].type === 'ObjectExpression') { - R = v.arguments[0] - } else { - R = P = v.arguments[0] - } - break - case 2: - if (v.arguments[0].type === 'Literal') { - L = v.arguments[0].value - if (isCallable(v.arguments[1])) { - P = v.arguments[1] - } else if (v.arguments[1].type === 'ObjectExpression') { - R = v.arguments[1] - } else { - R = P = v.arguments[1] - } - } else { - E = v.arguments[0] - if (isCallable(v.arguments[1])) { - P = v.arguments[1] - } else if (v.arguments[1].type === 'ObjectExpression') { - R = v.arguments[1] - } else { - R = P = v.arguments[1] - } - } - break - case 3: - L = v.arguments[0].value - E = v.arguments[1] - if (isCallable(v.arguments[2])) { - P = v.arguments[2] - } else if (v.arguments[2].type === 'ObjectExpression') { - R = v.arguments[2] - } else { - R = P = v.arguments[2] - } - break - default: - return - } - pe.bailout(k.state) - let N = null - let q = 0 - if (P) { - if (isUnboundFunctionExpression(P)) { - N = P.params - } else if (isBoundFunctionExpression(P)) { - N = P.callee.object.params - q = P.arguments.length - 1 - if (q < 0) { - q = 0 - } - } - } - let ae = new Map() - if (E) { - const P = {} - const R = k.evaluateExpression(E) - const le = this.processArray(k, v, R, P, L) - if (!le) return - if (N) { - N = N.slice(q).filter((v, E) => { - if (P[E]) { - ae.set(v.name, k.getVariableInfo(P[E])) - return false - } - return true - }) - } - } else { - const v = ['require', 'exports', 'module'] - if (N) { - N = N.slice(q).filter((E, P) => { - if (v[P]) { - ae.set(E.name, k.getVariableInfo(v[P])) - return false - } - return true - }) - } - } - let le - if (P && isUnboundFunctionExpression(P)) { - le = k.scope.inTry - k.inScope(N, () => { - for (const [v, E] of ae) { - k.setVariable(v, E) - } - k.scope.inTry = le - if (P.body.type === 'BlockStatement') { - k.detectMode(P.body.body) - const v = k.prevStatement - k.preWalkStatement(P.body) - k.prevStatement = v - k.walkStatement(P.body) - } else { - k.walkExpression(P.body) - } - }) - } else if (P && isBoundFunctionExpression(P)) { - le = k.scope.inTry - k.inScope( - P.callee.object.params.filter( - (k) => !['require', 'module', 'exports'].includes(k.name) - ), - () => { - for (const [v, E] of ae) { - k.setVariable(v, E) - } - k.scope.inTry = le - if (P.callee.object.body.type === 'BlockStatement') { - k.detectMode(P.callee.object.body.body) - const v = k.prevStatement - k.preWalkStatement(P.callee.object.body) - k.prevStatement = v - k.walkStatement(P.callee.object.body) - } else { - k.walkExpression(P.callee.object.body) - } - } - ) - if (P.arguments) { - k.walkExpressions(P.arguments) - } - } else if (P || R) { - k.walkExpression(P || R) - } - const me = this.newDefineDependency( - v.range, - E ? E.range : null, - P ? P.range : null, - R ? R.range : null, - L ? L : null - ) - me.loc = v.loc - if (L) { - me.localModule = ye(k.state, L) - } - k.state.module.addPresentationalDependency(me) - return true - } - newDefineDependency(k, v, E, P, L) { - return new R(k, v, E, P, L) - } - newRequireArrayDependency(k, v) { - return new L(k, v) - } - newRequireItemDependency(k, v) { - return new q(k, v) - } - } - k.exports = AMDDefineDependencyParserPlugin - }, - 80471: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, - } = E(93622) - const L = E(56727) - const { - approve: N, - evaluateToIdentifier: q, - evaluateToString: ae, - toConstantDependency: le, - } = E(80784) - const pe = E(43804) - const me = E(87655) - const ye = E(78326) - const _e = E(54220) - const Ie = E(45746) - const Me = E(83138) - const Te = E(80760) - const { AMDDefineRuntimeModule: je, AMDOptionsRuntimeModule: Ne } = - E(60814) - const Be = E(60381) - const qe = E(41808) - const Ue = E(63639) - const Ge = 'AMDPlugin' - class AMDPlugin { - constructor(k) { - this.amdOptions = k - } - apply(k) { - const v = this.amdOptions - k.hooks.compilation.tap( - Ge, - (k, { contextModuleFactory: E, normalModuleFactory: He }) => { - k.dependencyTemplates.set(Me, new Me.Template()) - k.dependencyFactories.set(Te, He) - k.dependencyTemplates.set(Te, new Te.Template()) - k.dependencyTemplates.set(ye, new ye.Template()) - k.dependencyFactories.set(_e, E) - k.dependencyTemplates.set(_e, new _e.Template()) - k.dependencyTemplates.set(pe, new pe.Template()) - k.dependencyTemplates.set(Ue, new Ue.Template()) - k.dependencyTemplates.set(qe, new qe.Template()) - k.hooks.runtimeRequirementInModule - .for(L.amdDefine) - .tap(Ge, (k, v) => { - v.add(L.require) - }) - k.hooks.runtimeRequirementInModule - .for(L.amdOptions) - .tap(Ge, (k, v) => { - v.add(L.requireScope) - }) - k.hooks.runtimeRequirementInTree - .for(L.amdDefine) - .tap(Ge, (v, E) => { - k.addRuntimeModule(v, new je()) - }) - k.hooks.runtimeRequirementInTree - .for(L.amdOptions) - .tap(Ge, (E, P) => { - k.addRuntimeModule(E, new Ne(v)) - }) - const handler = (k, v) => { - if (v.amd !== undefined && !v.amd) return - const tapOptionsHooks = (v, E, P) => { - k.hooks.expression - .for(v) - .tap(Ge, le(k, L.amdOptions, [L.amdOptions])) - k.hooks.evaluateIdentifier.for(v).tap(Ge, q(v, E, P, true)) - k.hooks.evaluateTypeof.for(v).tap(Ge, ae('object')) - k.hooks.typeof.for(v).tap(Ge, le(k, JSON.stringify('object'))) - } - new Ie(v).apply(k) - new me(v).apply(k) - tapOptionsHooks('define.amd', 'define', () => 'amd') - tapOptionsHooks('require.amd', 'require', () => ['amd']) - tapOptionsHooks( - '__webpack_amd_options__', - '__webpack_amd_options__', - () => [] - ) - k.hooks.expression.for('define').tap(Ge, (v) => { - const E = new Be(L.amdDefine, v.range, [L.amdDefine]) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - return true - }) - k.hooks.typeof - .for('define') - .tap(Ge, le(k, JSON.stringify('function'))) - k.hooks.evaluateTypeof.for('define').tap(Ge, ae('function')) - k.hooks.canRename.for('define').tap(Ge, N) - k.hooks.rename.for('define').tap(Ge, (v) => { - const E = new Be(L.amdDefine, v.range, [L.amdDefine]) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - return false - }) - k.hooks.typeof - .for('require') - .tap(Ge, le(k, JSON.stringify('function'))) - k.hooks.evaluateTypeof.for('require').tap(Ge, ae('function')) - } - He.hooks.parser.for(P).tap(Ge, handler) - He.hooks.parser.for(R).tap(Ge, handler) - } - ) - } - } - k.exports = AMDPlugin - }, - 78326: function (k, v, E) { - 'use strict' - const P = E(30601) - const R = E(58528) - const L = E(53139) - class AMDRequireArrayDependency extends L { - constructor(k, v) { - super() - this.depsArray = k - this.range = v - } - get type() { - return 'amd require array' - } - get category() { - return 'amd' - } - serialize(k) { - const { write: v } = k - v(this.depsArray) - v(this.range) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.depsArray = v() - this.range = v() - super.deserialize(k) - } - } - R( - AMDRequireArrayDependency, - 'webpack/lib/dependencies/AMDRequireArrayDependency' - ) - AMDRequireArrayDependency.Template = class AMDRequireArrayDependencyTemplate extends ( - P - ) { - apply(k, v, E) { - const P = k - const R = this.getContent(P, E) - v.replace(P.range[0], P.range[1] - 1, R) - } - getContent(k, v) { - const E = k.depsArray.map((k) => this.contentForDependency(k, v)) - return `[${E.join(', ')}]` - } - contentForDependency( - k, - { - runtimeTemplate: v, - moduleGraph: E, - chunkGraph: P, - runtimeRequirements: R, - } - ) { - if (typeof k === 'string') { - return k - } - if (k.localModule) { - return k.localModule.variableName() - } else { - return v.moduleExports({ - module: E.getModule(k), - chunkGraph: P, - request: k.request, - runtimeRequirements: R, - }) - } - } - } - k.exports = AMDRequireArrayDependency - }, - 54220: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(51395) - class AMDRequireContextDependency extends R { - constructor(k, v, E) { - super(k) - this.range = v - this.valueRange = E - } - get type() { - return 'amd require context' - } - get category() { - return 'amd' - } - serialize(k) { - const { write: v } = k - v(this.range) - v(this.valueRange) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.range = v() - this.valueRange = v() - super.deserialize(k) - } - } - P( - AMDRequireContextDependency, - 'webpack/lib/dependencies/AMDRequireContextDependency' - ) - AMDRequireContextDependency.Template = E(64077) - k.exports = AMDRequireContextDependency - }, - 39892: function (k, v, E) { - 'use strict' - const P = E(75081) - const R = E(58528) - class AMDRequireDependenciesBlock extends P { - constructor(k, v) { - super(null, k, v) - } - } - R( - AMDRequireDependenciesBlock, - 'webpack/lib/dependencies/AMDRequireDependenciesBlock' - ) - k.exports = AMDRequireDependenciesBlock - }, - 45746: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(9415) - const L = E(78326) - const N = E(54220) - const q = E(39892) - const ae = E(83138) - const le = E(80760) - const pe = E(60381) - const me = E(25012) - const ye = E(41808) - const { getLocalModule: _e } = E(18363) - const Ie = E(63639) - const Me = E(21271) - class AMDRequireDependenciesBlockParserPlugin { - constructor(k) { - this.options = k - } - processFunctionArgument(k, v) { - let E = true - const P = Me(v) - if (P) { - k.inScope( - P.fn.params.filter( - (k) => !['require', 'module', 'exports'].includes(k.name) - ), - () => { - if (P.fn.body.type === 'BlockStatement') { - k.walkStatement(P.fn.body) - } else { - k.walkExpression(P.fn.body) - } - } - ) - k.walkExpressions(P.expressions) - if (P.needThis === false) { - E = false - } - } else { - k.walkExpression(v) - } - return E - } - apply(k) { - k.hooks.call - .for('require') - .tap( - 'AMDRequireDependenciesBlockParserPlugin', - this.processCallRequire.bind(this, k) - ) - } - processArray(k, v, E) { - if (E.isArray()) { - for (const P of E.items) { - const E = this.processItem(k, v, P) - if (E === undefined) { - this.processContext(k, v, P) - } - } - return true - } else if (E.isConstArray()) { - const R = [] - for (const L of E.array) { - let E, N - if (L === 'require') { - E = P.require - } else if (['exports', 'module'].includes(L)) { - E = L - } else if ((N = _e(k.state, L))) { - N.flagUsed() - E = new ye(N, undefined, false) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - } else { - E = this.newRequireItemDependency(L) - E.loc = v.loc - E.optional = !!k.scope.inTry - k.state.current.addDependency(E) - } - R.push(E) - } - const L = this.newRequireArrayDependency(R, E.range) - L.loc = v.loc - L.optional = !!k.scope.inTry - k.state.module.addPresentationalDependency(L) - return true - } - } - processItem(k, v, E) { - if (E.isConditional()) { - for (const P of E.options) { - const E = this.processItem(k, v, P) - if (E === undefined) { - this.processContext(k, v, P) - } - } - return true - } else if (E.isString()) { - let R, L - if (E.string === 'require') { - R = new pe(P.require, E.string, [P.require]) - } else if (E.string === 'module') { - R = new pe(k.state.module.buildInfo.moduleArgument, E.range, [ - P.module, - ]) - } else if (E.string === 'exports') { - R = new pe(k.state.module.buildInfo.exportsArgument, E.range, [ - P.exports, - ]) - } else if ((L = _e(k.state, E.string))) { - L.flagUsed() - R = new ye(L, E.range, false) - } else { - R = this.newRequireItemDependency(E.string, E.range) - R.loc = v.loc - R.optional = !!k.scope.inTry - k.state.current.addDependency(R) - return true - } - R.loc = v.loc - k.state.module.addPresentationalDependency(R) - return true - } - } - processContext(k, v, E) { - const P = me.create( - N, - E.range, - E, - v, - this.options, - { category: 'amd' }, - k - ) - if (!P) return - P.loc = v.loc - P.optional = !!k.scope.inTry - k.state.current.addDependency(P) - return true - } - processArrayForRequestString(k) { - if (k.isArray()) { - const v = k.items.map((k) => this.processItemForRequestString(k)) - if (v.every(Boolean)) return v.join(' ') - } else if (k.isConstArray()) { - return k.array.join(' ') - } - } - processItemForRequestString(k) { - if (k.isConditional()) { - const v = k.options.map((k) => this.processItemForRequestString(k)) - if (v.every(Boolean)) return v.join('|') - } else if (k.isString()) { - return k.string - } - } - processCallRequire(k, v) { - let E - let P - let L - let N - const q = k.state.current - if (v.arguments.length >= 1) { - E = k.evaluateExpression(v.arguments[0]) - P = this.newRequireDependenciesBlock( - v.loc, - this.processArrayForRequestString(E) - ) - L = this.newRequireDependency( - v.range, - E.range, - v.arguments.length > 1 ? v.arguments[1].range : null, - v.arguments.length > 2 ? v.arguments[2].range : null - ) - L.loc = v.loc - P.addDependency(L) - k.state.current = P - } - if (v.arguments.length === 1) { - k.inScope([], () => { - N = this.processArray(k, v, E) - }) - k.state.current = q - if (!N) return - k.state.current.addBlock(P) - return true - } - if (v.arguments.length === 2 || v.arguments.length === 3) { - try { - k.inScope([], () => { - N = this.processArray(k, v, E) - }) - if (!N) { - const E = new Ie('unsupported', v.range) - q.addPresentationalDependency(E) - if (k.state.module) { - k.state.module.addError( - new R( - "Cannot statically analyse 'require(…, …)' in line " + - v.loc.start.line, - v.loc - ) - ) - } - P = null - return true - } - L.functionBindThis = this.processFunctionArgument( - k, - v.arguments[1] - ) - if (v.arguments.length === 3) { - L.errorCallbackBindThis = this.processFunctionArgument( - k, - v.arguments[2] - ) - } - } finally { - k.state.current = q - if (P) k.state.current.addBlock(P) - } - return true - } - } - newRequireDependenciesBlock(k, v) { - return new q(k, v) - } - newRequireDependency(k, v, E, P) { - return new ae(k, v, E, P) - } - newRequireItemDependency(k, v) { - return new le(k, v) - } - newRequireArrayDependency(k, v) { - return new L(k, v) - } - } - k.exports = AMDRequireDependenciesBlockParserPlugin - }, - 83138: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(58528) - const L = E(53139) - class AMDRequireDependency extends L { - constructor(k, v, E, P) { - super() - this.outerRange = k - this.arrayRange = v - this.functionRange = E - this.errorCallbackRange = P - this.functionBindThis = false - this.errorCallbackBindThis = false - } - get category() { - return 'amd' - } - serialize(k) { - const { write: v } = k - v(this.outerRange) - v(this.arrayRange) - v(this.functionRange) - v(this.errorCallbackRange) - v(this.functionBindThis) - v(this.errorCallbackBindThis) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.outerRange = v() - this.arrayRange = v() - this.functionRange = v() - this.errorCallbackRange = v() - this.functionBindThis = v() - this.errorCallbackBindThis = v() - super.deserialize(k) - } - } - R(AMDRequireDependency, 'webpack/lib/dependencies/AMDRequireDependency') - AMDRequireDependency.Template = class AMDRequireDependencyTemplate extends ( - L.Template - ) { - apply( - k, - v, - { - runtimeTemplate: E, - moduleGraph: R, - chunkGraph: L, - runtimeRequirements: N, - } - ) { - const q = k - const ae = R.getParentBlock(q) - const le = E.blockPromise({ - chunkGraph: L, - block: ae, - message: 'AMD require', - runtimeRequirements: N, - }) - if (q.arrayRange && !q.functionRange) { - const k = `${le}.then(function() {` - const E = `;})['catch'](${P.uncaughtErrorHandler})` - N.add(P.uncaughtErrorHandler) - v.replace(q.outerRange[0], q.arrayRange[0] - 1, k) - v.replace(q.arrayRange[1], q.outerRange[1] - 1, E) - return - } - if (q.functionRange && !q.arrayRange) { - const k = `${le}.then((` - const E = `).bind(exports, ${P.require}, exports, module))['catch'](${P.uncaughtErrorHandler})` - N.add(P.uncaughtErrorHandler) - v.replace(q.outerRange[0], q.functionRange[0] - 1, k) - v.replace(q.functionRange[1], q.outerRange[1] - 1, E) - return - } - if (q.arrayRange && q.functionRange && q.errorCallbackRange) { - const k = `${le}.then(function() { ` - const E = `}${q.functionBindThis ? '.bind(this)' : ''})['catch'](` - const P = `${q.errorCallbackBindThis ? '.bind(this)' : ''})` - v.replace(q.outerRange[0], q.arrayRange[0] - 1, k) - v.insert(q.arrayRange[0], 'var __WEBPACK_AMD_REQUIRE_ARRAY__ = ') - v.replace(q.arrayRange[1], q.functionRange[0] - 1, '; (') - v.insert( - q.functionRange[1], - ').apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);' - ) - v.replace(q.functionRange[1], q.errorCallbackRange[0] - 1, E) - v.replace(q.errorCallbackRange[1], q.outerRange[1] - 1, P) - return - } - if (q.arrayRange && q.functionRange) { - const k = `${le}.then(function() { ` - const E = `}${q.functionBindThis ? '.bind(this)' : ''})['catch'](${ - P.uncaughtErrorHandler - })` - N.add(P.uncaughtErrorHandler) - v.replace(q.outerRange[0], q.arrayRange[0] - 1, k) - v.insert(q.arrayRange[0], 'var __WEBPACK_AMD_REQUIRE_ARRAY__ = ') - v.replace(q.arrayRange[1], q.functionRange[0] - 1, '; (') - v.insert( - q.functionRange[1], - ').apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);' - ) - v.replace(q.functionRange[1], q.outerRange[1] - 1, E) - } - } - } - k.exports = AMDRequireDependency - }, - 80760: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(77373) - const L = E(29729) - class AMDRequireItemDependency extends R { - constructor(k, v) { - super(k) - this.range = v - } - get type() { - return 'amd require' - } - get category() { - return 'amd' - } - } - P( - AMDRequireItemDependency, - 'webpack/lib/dependencies/AMDRequireItemDependency' - ) - AMDRequireItemDependency.Template = L - k.exports = AMDRequireItemDependency - }, - 60814: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class AMDDefineRuntimeModule extends R { - constructor() { - super('amd define') - } - generate() { - return L.asString([ - `${P.amdDefine} = function () {`, - L.indent("throw new Error('define cannot be used indirect');"), - '};', - ]) - } - } - class AMDOptionsRuntimeModule extends R { - constructor(k) { - super('amd options') - this.options = k - } - generate() { - return L.asString([ - `${P.amdOptions} = ${JSON.stringify(this.options)};`, - ]) - } - } - v.AMDDefineRuntimeModule = AMDDefineRuntimeModule - v.AMDOptionsRuntimeModule = AMDOptionsRuntimeModule - }, - 11602: function (k, v, E) { - 'use strict' - const P = E(30601) - const R = E(88113) - const L = E(58528) - const N = E(53139) - class CachedConstDependency extends N { - constructor(k, v, E) { - super() - this.expression = k - this.range = v - this.identifier = E - this._hashUpdate = undefined - } - updateHash(k, v) { - if (this._hashUpdate === undefined) - this._hashUpdate = - '' + this.identifier + this.range + this.expression - k.update(this._hashUpdate) - } - serialize(k) { - const { write: v } = k - v(this.expression) - v(this.range) - v(this.identifier) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.expression = v() - this.range = v() - this.identifier = v() - super.deserialize(k) - } - } - L(CachedConstDependency, 'webpack/lib/dependencies/CachedConstDependency') - CachedConstDependency.Template = class CachedConstDependencyTemplate extends ( - P - ) { - apply( - k, - v, - { runtimeTemplate: E, dependencyTemplates: P, initFragments: L } - ) { - const N = k - L.push( - new R( - `var ${N.identifier} = ${N.expression};\n`, - R.STAGE_CONSTANTS, - 0, - `const ${N.identifier}` - ) - ) - if (typeof N.range === 'number') { - v.insert(N.range, N.identifier) - return - } - v.replace(N.range[0], N.range[1] - 1, N.identifier) - } - } - k.exports = CachedConstDependency - }, - 73892: function (k, v, E) { - 'use strict' - const P = E(56727) - v.handleDependencyBase = (k, v, E) => { - let R = undefined - let L - switch (k) { - case 'exports': - E.add(P.exports) - R = v.exportsArgument - L = 'expression' - break - case 'module.exports': - E.add(P.module) - R = `${v.moduleArgument}.exports` - L = 'expression' - break - case 'this': - E.add(P.thisAsExports) - R = 'this' - L = 'expression' - break - case 'Object.defineProperty(exports)': - E.add(P.exports) - R = v.exportsArgument - L = 'Object.defineProperty' - break - case 'Object.defineProperty(module.exports)': - E.add(P.module) - R = `${v.moduleArgument}.exports` - L = 'Object.defineProperty' - break - case 'Object.defineProperty(this)': - E.add(P.thisAsExports) - R = 'this' - L = 'Object.defineProperty' - break - default: - throw new Error(`Unsupported base ${k}`) - } - return [L, R] - } - }, - 21542: function (k, v, E) { - 'use strict' - const P = E(16848) - const { UsageState: R } = E(11172) - const L = E(95041) - const { equals: N } = E(68863) - const q = E(58528) - const ae = E(10720) - const { handleDependencyBase: le } = E(73892) - const pe = E(77373) - const me = E(49798) - const ye = Symbol('CommonJsExportRequireDependency.ids') - const _e = {} - class CommonJsExportRequireDependency extends pe { - constructor(k, v, E, P, R, L, N) { - super(R) - this.range = k - this.valueRange = v - this.base = E - this.names = P - this.ids = L - this.resultUsed = N - this.asiSafe = undefined - } - get type() { - return 'cjs export require' - } - couldAffectReferencingModule() { - return P.TRANSITIVE - } - getIds(k) { - return k.getMeta(this)[ye] || this.ids - } - setIds(k, v) { - k.getMeta(this)[ye] = v - } - getReferencedExports(k, v) { - const E = this.getIds(k) - const getFullResult = () => { - if (E.length === 0) { - return P.EXPORTS_OBJECT_REFERENCED - } else { - return [{ name: E, canMangle: false }] - } - } - if (this.resultUsed) return getFullResult() - let L = k.getExportsInfo(k.getParentModule(this)) - for (const k of this.names) { - const E = L.getReadOnlyExportInfo(k) - const N = E.getUsed(v) - if (N === R.Unused) return P.NO_EXPORTS_REFERENCED - if (N !== R.OnlyPropertiesUsed) return getFullResult() - L = E.exportsInfo - if (!L) return getFullResult() - } - if (L.otherExportsInfo.getUsed(v) !== R.Unused) { - return getFullResult() - } - const N = [] - for (const k of L.orderedExports) { - me(v, N, E.concat(k.name), k, false) - } - return N.map((k) => ({ name: k, canMangle: false })) - } - getExports(k) { - const v = this.getIds(k) - if (this.names.length === 1) { - const E = this.names[0] - const P = k.getConnection(this) - if (!P) return - return { - exports: [ - { - name: E, - from: P, - export: v.length === 0 ? null : v, - canMangle: !(E in _e) && false, - }, - ], - dependencies: [P.module], - } - } else if (this.names.length > 0) { - const k = this.names[0] - return { - exports: [{ name: k, canMangle: !(k in _e) && false }], - dependencies: undefined, - } - } else { - const E = k.getConnection(this) - if (!E) return - const P = this.getStarReexports(k, undefined, E.module) - if (P) { - return { - exports: Array.from(P.exports, (k) => ({ - name: k, - from: E, - export: v.concat(k), - canMangle: !(k in _e) && false, - })), - dependencies: [E.module], - } - } else { - return { - exports: true, - from: v.length === 0 ? E : undefined, - canMangle: false, - dependencies: [E.module], - } - } - } - } - getStarReexports(k, v, E = k.getModule(this)) { - let P = k.getExportsInfo(E) - const L = this.getIds(k) - if (L.length > 0) P = P.getNestedExportsInfo(L) - let N = k.getExportsInfo(k.getParentModule(this)) - if (this.names.length > 0) N = N.getNestedExportsInfo(this.names) - const q = P && P.otherExportsInfo.provided === false - const ae = N && N.otherExportsInfo.getUsed(v) === R.Unused - if (!q && !ae) { - return - } - const le = E.getExportsType(k, false) === 'namespace' - const pe = new Set() - const me = new Set() - if (ae) { - for (const k of N.orderedExports) { - const E = k.name - if (k.getUsed(v) === R.Unused) continue - if (E === '__esModule' && le) { - pe.add(E) - } else if (P) { - const k = P.getReadOnlyExportInfo(E) - if (k.provided === false) continue - pe.add(E) - if (k.provided === true) continue - me.add(E) - } else { - pe.add(E) - me.add(E) - } - } - } else if (q) { - for (const k of P.orderedExports) { - const E = k.name - if (k.provided === false) continue - if (N) { - const k = N.getReadOnlyExportInfo(E) - if (k.getUsed(v) === R.Unused) continue - } - pe.add(E) - if (k.provided === true) continue - me.add(E) - } - if (le) { - pe.add('__esModule') - me.delete('__esModule') - } - } - return { exports: pe, checked: me } - } - serialize(k) { - const { write: v } = k - v(this.asiSafe) - v(this.range) - v(this.valueRange) - v(this.base) - v(this.names) - v(this.ids) - v(this.resultUsed) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.asiSafe = v() - this.range = v() - this.valueRange = v() - this.base = v() - this.names = v() - this.ids = v() - this.resultUsed = v() - super.deserialize(k) - } - } - q( - CommonJsExportRequireDependency, - 'webpack/lib/dependencies/CommonJsExportRequireDependency' - ) - CommonJsExportRequireDependency.Template = class CommonJsExportRequireDependencyTemplate extends ( - pe.Template - ) { - apply( - k, - v, - { - module: E, - runtimeTemplate: P, - chunkGraph: R, - moduleGraph: q, - runtimeRequirements: pe, - runtime: me, - } - ) { - const ye = k - const _e = q.getExportsInfo(E).getUsedName(ye.names, me) - const [Ie, Me] = le(ye.base, E, pe) - const Te = q.getModule(ye) - let je = P.moduleExports({ - module: Te, - chunkGraph: R, - request: ye.request, - weak: ye.weak, - runtimeRequirements: pe, - }) - if (Te) { - const k = ye.getIds(q) - const v = q.getExportsInfo(Te).getUsedName(k, me) - if (v) { - const E = N(v, k) ? '' : L.toNormalComment(ae(k)) + ' ' - je += `${E}${ae(v)}` - } - } - switch (Ie) { - case 'expression': - v.replace( - ye.range[0], - ye.range[1] - 1, - _e ? `${Me}${ae(_e)} = ${je}` : `/* unused reexport */ ${je}` - ) - return - case 'Object.defineProperty': - throw new Error('TODO') - default: - throw new Error('Unexpected type') - } - } - } - k.exports = CommonJsExportRequireDependency - }, - 57771: function (k, v, E) { - 'use strict' - const P = E(88113) - const R = E(58528) - const L = E(10720) - const { handleDependencyBase: N } = E(73892) - const q = E(53139) - const ae = {} - class CommonJsExportsDependency extends q { - constructor(k, v, E, P) { - super() - this.range = k - this.valueRange = v - this.base = E - this.names = P - } - get type() { - return 'cjs exports' - } - getExports(k) { - const v = this.names[0] - return { - exports: [{ name: v, canMangle: !(v in ae) }], - dependencies: undefined, - } - } - serialize(k) { - const { write: v } = k - v(this.range) - v(this.valueRange) - v(this.base) - v(this.names) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.range = v() - this.valueRange = v() - this.base = v() - this.names = v() - super.deserialize(k) - } - } - R( - CommonJsExportsDependency, - 'webpack/lib/dependencies/CommonJsExportsDependency' - ) - CommonJsExportsDependency.Template = class CommonJsExportsDependencyTemplate extends ( - q.Template - ) { - apply( - k, - v, - { - module: E, - moduleGraph: R, - initFragments: q, - runtimeRequirements: ae, - runtime: le, - } - ) { - const pe = k - const me = R.getExportsInfo(E).getUsedName(pe.names, le) - const [ye, _e] = N(pe.base, E, ae) - switch (ye) { - case 'expression': - if (!me) { - q.push( - new P( - 'var __webpack_unused_export__;\n', - P.STAGE_CONSTANTS, - 0, - '__webpack_unused_export__' - ) - ) - v.replace( - pe.range[0], - pe.range[1] - 1, - '__webpack_unused_export__' - ) - return - } - v.replace(pe.range[0], pe.range[1] - 1, `${_e}${L(me)}`) - return - case 'Object.defineProperty': - if (!me) { - q.push( - new P( - 'var __webpack_unused_export__;\n', - P.STAGE_CONSTANTS, - 0, - '__webpack_unused_export__' - ) - ) - v.replace( - pe.range[0], - pe.valueRange[0] - 1, - '__webpack_unused_export__ = (' - ) - v.replace(pe.valueRange[1], pe.range[1] - 1, ')') - return - } - v.replace( - pe.range[0], - pe.valueRange[0] - 1, - `Object.defineProperty(${_e}${L( - me.slice(0, -1) - )}, ${JSON.stringify(me[me.length - 1])}, (` - ) - v.replace(pe.valueRange[1], pe.range[1] - 1, '))') - return - } - } - } - k.exports = CommonJsExportsDependency - }, - 416: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(1811) - const { evaluateToString: L } = E(80784) - const N = E(10720) - const q = E(21542) - const ae = E(57771) - const le = E(23343) - const pe = E(71203) - const me = E(71803) - const ye = E(10699) - const getValueOfPropertyDescription = (k) => { - if (k.type !== 'ObjectExpression') return - for (const v of k.properties) { - if (v.computed) continue - const k = v.key - if (k.type !== 'Identifier' || k.name !== 'value') continue - return v.value - } - } - const isTruthyLiteral = (k) => { - switch (k.type) { - case 'Literal': - return !!k.value - case 'UnaryExpression': - if (k.operator === '!') return isFalsyLiteral(k.argument) - } - return false - } - const isFalsyLiteral = (k) => { - switch (k.type) { - case 'Literal': - return !k.value - case 'UnaryExpression': - if (k.operator === '!') return isTruthyLiteral(k.argument) - } - return false - } - const parseRequireCall = (k, v) => { - const E = [] - while (v.type === 'MemberExpression') { - if (v.object.type === 'Super') return - if (!v.property) return - const k = v.property - if (v.computed) { - if (k.type !== 'Literal') return - E.push(`${k.value}`) - } else { - if (k.type !== 'Identifier') return - E.push(k.name) - } - v = v.object - } - if (v.type !== 'CallExpression' || v.arguments.length !== 1) return - const P = v.callee - if ( - P.type !== 'Identifier' || - k.getVariableInfo(P.name) !== 'require' - ) { - return - } - const R = v.arguments[0] - if (R.type === 'SpreadElement') return - const L = k.evaluateExpression(R) - return { argument: L, ids: E.reverse() } - } - class CommonJsExportsParserPlugin { - constructor(k) { - this.moduleGraph = k - } - apply(k) { - const enableStructuredExports = () => { - pe.enable(k.state) - } - const checkNamespace = (v, E, P) => { - if (!pe.isEnabled(k.state)) return - if (E.length > 0 && E[0] === '__esModule') { - if (P && isTruthyLiteral(P) && v) { - pe.setFlagged(k.state) - } else { - pe.setDynamic(k.state) - } - } - } - const bailout = (v) => { - pe.bailout(k.state) - if (v) bailoutHint(v) - } - const bailoutHint = (v) => { - this.moduleGraph - .getOptimizationBailout(k.state.module) - .push(`CommonJS bailout: ${v}`) - } - k.hooks.evaluateTypeof - .for('module') - .tap('CommonJsExportsParserPlugin', L('object')) - k.hooks.evaluateTypeof - .for('exports') - .tap('CommonJsPlugin', L('object')) - const handleAssignExport = (v, E, P) => { - if (me.isEnabled(k.state)) return - const R = parseRequireCall(k, v.right) - if ( - R && - R.argument.isString() && - (P.length === 0 || P[0] !== '__esModule') - ) { - enableStructuredExports() - if (P.length === 0) pe.setDynamic(k.state) - const L = new q( - v.range, - null, - E, - P, - R.argument.string, - R.ids, - !k.isStatementLevelExpression(v) - ) - L.loc = v.loc - L.optional = !!k.scope.inTry - k.state.module.addDependency(L) - return true - } - if (P.length === 0) return - enableStructuredExports() - const L = P - checkNamespace( - k.statementPath.length === 1 && k.isStatementLevelExpression(v), - L, - v.right - ) - const N = new ae(v.left.range, null, E, L) - N.loc = v.loc - k.state.module.addDependency(N) - k.walkExpression(v.right) - return true - } - k.hooks.assignMemberChain - .for('exports') - .tap('CommonJsExportsParserPlugin', (k, v) => - handleAssignExport(k, 'exports', v) - ) - k.hooks.assignMemberChain - .for('this') - .tap('CommonJsExportsParserPlugin', (v, E) => { - if (!k.scope.topLevelScope) return - return handleAssignExport(v, 'this', E) - }) - k.hooks.assignMemberChain - .for('module') - .tap('CommonJsExportsParserPlugin', (k, v) => { - if (v[0] !== 'exports') return - return handleAssignExport(k, 'module.exports', v.slice(1)) - }) - k.hooks.call - .for('Object.defineProperty') - .tap('CommonJsExportsParserPlugin', (v) => { - const E = v - if (!k.isStatementLevelExpression(E)) return - if (E.arguments.length !== 3) return - if (E.arguments[0].type === 'SpreadElement') return - if (E.arguments[1].type === 'SpreadElement') return - if (E.arguments[2].type === 'SpreadElement') return - const P = k.evaluateExpression(E.arguments[0]) - if (!P.isIdentifier()) return - if ( - P.identifier !== 'exports' && - P.identifier !== 'module.exports' && - (P.identifier !== 'this' || !k.scope.topLevelScope) - ) { - return - } - const R = k.evaluateExpression(E.arguments[1]) - const L = R.asString() - if (typeof L !== 'string') return - enableStructuredExports() - const N = E.arguments[2] - checkNamespace( - k.statementPath.length === 1, - [L], - getValueOfPropertyDescription(N) - ) - const q = new ae( - E.range, - E.arguments[2].range, - `Object.defineProperty(${P.identifier})`, - [L] - ) - q.loc = E.loc - k.state.module.addDependency(q) - k.walkExpression(E.arguments[2]) - return true - }) - const handleAccessExport = (v, E, P, L = undefined) => { - if (me.isEnabled(k.state)) return - if (P.length === 0) { - bailout(`${E} is used directly at ${R(v.loc)}`) - } - if (L && P.length === 1) { - bailoutHint( - `${E}${N( - P - )}(...) prevents optimization as ${E} is passed as call context at ${R( - v.loc - )}` - ) - } - const q = new le(v.range, E, P, !!L) - q.loc = v.loc - k.state.module.addDependency(q) - if (L) { - k.walkExpressions(L.arguments) - } - return true - } - k.hooks.callMemberChain - .for('exports') - .tap('CommonJsExportsParserPlugin', (k, v) => - handleAccessExport(k.callee, 'exports', v, k) - ) - k.hooks.expressionMemberChain - .for('exports') - .tap('CommonJsExportsParserPlugin', (k, v) => - handleAccessExport(k, 'exports', v) - ) - k.hooks.expression - .for('exports') - .tap('CommonJsExportsParserPlugin', (k) => - handleAccessExport(k, 'exports', []) - ) - k.hooks.callMemberChain - .for('module') - .tap('CommonJsExportsParserPlugin', (k, v) => { - if (v[0] !== 'exports') return - return handleAccessExport( - k.callee, - 'module.exports', - v.slice(1), - k - ) - }) - k.hooks.expressionMemberChain - .for('module') - .tap('CommonJsExportsParserPlugin', (k, v) => { - if (v[0] !== 'exports') return - return handleAccessExport(k, 'module.exports', v.slice(1)) - }) - k.hooks.expression - .for('module.exports') - .tap('CommonJsExportsParserPlugin', (k) => - handleAccessExport(k, 'module.exports', []) - ) - k.hooks.callMemberChain - .for('this') - .tap('CommonJsExportsParserPlugin', (v, E) => { - if (!k.scope.topLevelScope) return - return handleAccessExport(v.callee, 'this', E, v) - }) - k.hooks.expressionMemberChain - .for('this') - .tap('CommonJsExportsParserPlugin', (v, E) => { - if (!k.scope.topLevelScope) return - return handleAccessExport(v, 'this', E) - }) - k.hooks.expression - .for('this') - .tap('CommonJsExportsParserPlugin', (v) => { - if (!k.scope.topLevelScope) return - return handleAccessExport(v, 'this', []) - }) - k.hooks.expression.for('module').tap('CommonJsPlugin', (v) => { - bailout() - const E = me.isEnabled(k.state) - const R = new ye( - E ? P.harmonyModuleDecorator : P.nodeModuleDecorator, - !E - ) - R.loc = v.loc - k.state.module.addDependency(R) - return true - }) - } - } - k.exports = CommonJsExportsParserPlugin - }, - 73946: function (k, v, E) { - 'use strict' - const P = E(95041) - const { equals: R } = E(68863) - const L = E(58528) - const N = E(10720) - const q = E(77373) - class CommonJsFullRequireDependency extends q { - constructor(k, v, E) { - super(k) - this.range = v - this.names = E - this.call = false - this.asiSafe = undefined - } - getReferencedExports(k, v) { - if (this.call) { - const v = k.getModule(this) - if (!v || v.getExportsType(k, false) !== 'namespace') { - return [this.names.slice(0, -1)] - } - } - return [this.names] - } - serialize(k) { - const { write: v } = k - v(this.names) - v(this.call) - v(this.asiSafe) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.names = v() - this.call = v() - this.asiSafe = v() - super.deserialize(k) - } - get type() { - return 'cjs full require' - } - get category() { - return 'commonjs' - } - } - CommonJsFullRequireDependency.Template = class CommonJsFullRequireDependencyTemplate extends ( - q.Template - ) { - apply( - k, - v, - { - module: E, - runtimeTemplate: L, - moduleGraph: q, - chunkGraph: ae, - runtimeRequirements: le, - runtime: pe, - initFragments: me, - } - ) { - const ye = k - if (!ye.range) return - const _e = q.getModule(ye) - let Ie = L.moduleExports({ - module: _e, - chunkGraph: ae, - request: ye.request, - weak: ye.weak, - runtimeRequirements: le, - }) - if (_e) { - const k = ye.names - const v = q.getExportsInfo(_e).getUsedName(k, pe) - if (v) { - const E = R(v, k) ? '' : P.toNormalComment(N(k)) + ' ' - const L = `${E}${N(v)}` - Ie = ye.asiSafe === true ? `(${Ie}${L})` : `${Ie}${L}` - } - } - v.replace(ye.range[0], ye.range[1] - 1, Ie) - } - } - L( - CommonJsFullRequireDependency, - 'webpack/lib/dependencies/CommonJsFullRequireDependency' - ) - k.exports = CommonJsFullRequireDependency - }, - 17042: function (k, v, E) { - 'use strict' - const { fileURLToPath: P } = E(57310) - const R = E(68160) - const L = E(56727) - const N = E(9415) - const q = E(71572) - const ae = E(70037) - const { - evaluateToIdentifier: le, - evaluateToString: pe, - expressionIsUnsupported: me, - toConstantDependency: ye, - } = E(80784) - const _e = E(73946) - const Ie = E(5103) - const Me = E(41655) - const Te = E(60381) - const je = E(25012) - const Ne = E(41808) - const { getLocalModule: Be } = E(18363) - const qe = E(72330) - const Ue = E(12204) - const Ge = E(29961) - const He = E(53765) - const We = Symbol('createRequire') - const Qe = Symbol('createRequire()') - class CommonJsImportsParserPlugin { - constructor(k) { - this.options = k - } - apply(k) { - const v = this.options - const getContext = () => { - if (k.currentTagData) { - const { context: v } = k.currentTagData - return v - } - } - const tapRequireExpression = (v, E) => { - k.hooks.typeof - .for(v) - .tap( - 'CommonJsImportsParserPlugin', - ye(k, JSON.stringify('function')) - ) - k.hooks.evaluateTypeof - .for(v) - .tap('CommonJsImportsParserPlugin', pe('function')) - k.hooks.evaluateIdentifier - .for(v) - .tap('CommonJsImportsParserPlugin', le(v, 'require', E, true)) - } - const tapRequireExpressionTag = (v) => { - k.hooks.typeof - .for(v) - .tap( - 'CommonJsImportsParserPlugin', - ye(k, JSON.stringify('function')) - ) - k.hooks.evaluateTypeof - .for(v) - .tap('CommonJsImportsParserPlugin', pe('function')) - } - tapRequireExpression('require', () => []) - tapRequireExpression('require.resolve', () => ['resolve']) - tapRequireExpression('require.resolveWeak', () => ['resolveWeak']) - k.hooks.assign - .for('require') - .tap('CommonJsImportsParserPlugin', (v) => { - const E = new Te('var require;', 0) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - return true - }) - k.hooks.expression - .for('require.main') - .tap( - 'CommonJsImportsParserPlugin', - me(k, 'require.main is not supported by webpack.') - ) - k.hooks.call - .for('require.main.require') - .tap( - 'CommonJsImportsParserPlugin', - me(k, 'require.main.require is not supported by webpack.') - ) - k.hooks.expression - .for('module.parent.require') - .tap( - 'CommonJsImportsParserPlugin', - me(k, 'module.parent.require is not supported by webpack.') - ) - k.hooks.call - .for('module.parent.require') - .tap( - 'CommonJsImportsParserPlugin', - me(k, 'module.parent.require is not supported by webpack.') - ) - const defineUndefined = (v) => { - const E = new Te('undefined', v.range) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - return false - } - k.hooks.canRename - .for('require') - .tap('CommonJsImportsParserPlugin', () => true) - k.hooks.rename - .for('require') - .tap('CommonJsImportsParserPlugin', defineUndefined) - const E = ye(k, L.moduleCache, [ - L.moduleCache, - L.moduleId, - L.moduleLoaded, - ]) - k.hooks.expression - .for('require.cache') - .tap('CommonJsImportsParserPlugin', E) - const requireAsExpressionHandler = (E) => { - const P = new Ie( - { - request: v.unknownContextRequest, - recursive: v.unknownContextRecursive, - regExp: v.unknownContextRegExp, - mode: 'sync', - }, - E.range, - undefined, - k.scope.inShorthand, - getContext() - ) - P.critical = - v.unknownContextCritical && - 'require function is used in a way in which dependencies cannot be statically extracted' - P.loc = E.loc - P.optional = !!k.scope.inTry - k.state.current.addDependency(P) - return true - } - k.hooks.expression - .for('require') - .tap('CommonJsImportsParserPlugin', requireAsExpressionHandler) - const processRequireItem = (v, E) => { - if (E.isString()) { - const P = new Me(E.string, E.range, getContext()) - P.loc = v.loc - P.optional = !!k.scope.inTry - k.state.current.addDependency(P) - return true - } - } - const processRequireContext = (E, P) => { - const R = je.create( - Ie, - E.range, - P, - E, - v, - { category: 'commonjs' }, - k, - undefined, - getContext() - ) - if (!R) return - R.loc = E.loc - R.optional = !!k.scope.inTry - k.state.current.addDependency(R) - return true - } - const createRequireHandler = (E) => (P) => { - if (v.commonjsMagicComments) { - const { options: v, errors: E } = k.parseCommentOptions(P.range) - if (E) { - for (const v of E) { - const { comment: E } = v - k.state.module.addWarning( - new R( - `Compilation error while processing magic comment(-s): /*${E.value}*/: ${v.message}`, - E.loc - ) - ) - } - } - if (v) { - if (v.webpackIgnore !== undefined) { - if (typeof v.webpackIgnore !== 'boolean') { - k.state.module.addWarning( - new N( - `\`webpackIgnore\` expected a boolean, but received: ${v.webpackIgnore}.`, - P.loc - ) - ) - } else { - if (v.webpackIgnore) { - return true - } - } - } - } - } - if (P.arguments.length !== 1) return - let L - const q = k.evaluateExpression(P.arguments[0]) - if (q.isConditional()) { - let v = false - for (const k of q.options) { - const E = processRequireItem(P, k) - if (E === undefined) { - v = true - } - } - if (!v) { - const v = new qe(P.callee.range) - v.loc = P.loc - k.state.module.addPresentationalDependency(v) - return true - } - } - if (q.isString() && (L = Be(k.state, q.string))) { - L.flagUsed() - const v = new Ne(L, P.range, E) - v.loc = P.loc - k.state.module.addPresentationalDependency(v) - return true - } else { - const v = processRequireItem(P, q) - if (v === undefined) { - processRequireContext(P, q) - } else { - const v = new qe(P.callee.range) - v.loc = P.loc - k.state.module.addPresentationalDependency(v) - } - return true - } - } - k.hooks.call - .for('require') - .tap('CommonJsImportsParserPlugin', createRequireHandler(false)) - k.hooks.new - .for('require') - .tap('CommonJsImportsParserPlugin', createRequireHandler(true)) - k.hooks.call - .for('module.require') - .tap('CommonJsImportsParserPlugin', createRequireHandler(false)) - k.hooks.new - .for('module.require') - .tap('CommonJsImportsParserPlugin', createRequireHandler(true)) - const chainHandler = (v, E, P, R) => { - if (P.arguments.length !== 1) return - const L = k.evaluateExpression(P.arguments[0]) - if (L.isString() && !Be(k.state, L.string)) { - const E = new _e(L.string, v.range, R) - E.asiSafe = !k.isAsiPosition(v.range[0]) - E.optional = !!k.scope.inTry - E.loc = v.loc - k.state.current.addDependency(E) - return true - } - } - const callChainHandler = (v, E, P, R) => { - if (P.arguments.length !== 1) return - const L = k.evaluateExpression(P.arguments[0]) - if (L.isString() && !Be(k.state, L.string)) { - const E = new _e(L.string, v.callee.range, R) - E.call = true - E.asiSafe = !k.isAsiPosition(v.range[0]) - E.optional = !!k.scope.inTry - E.loc = v.callee.loc - k.state.current.addDependency(E) - k.walkExpressions(v.arguments) - return true - } - } - k.hooks.memberChainOfCallMemberChain - .for('require') - .tap('CommonJsImportsParserPlugin', chainHandler) - k.hooks.memberChainOfCallMemberChain - .for('module.require') - .tap('CommonJsImportsParserPlugin', chainHandler) - k.hooks.callMemberChainOfCallMemberChain - .for('require') - .tap('CommonJsImportsParserPlugin', callChainHandler) - k.hooks.callMemberChainOfCallMemberChain - .for('module.require') - .tap('CommonJsImportsParserPlugin', callChainHandler) - const processResolve = (v, E) => { - if (v.arguments.length !== 1) return - const P = k.evaluateExpression(v.arguments[0]) - if (P.isConditional()) { - for (const k of P.options) { - const P = processResolveItem(v, k, E) - if (P === undefined) { - processResolveContext(v, k, E) - } - } - const R = new He(v.callee.range) - R.loc = v.loc - k.state.module.addPresentationalDependency(R) - return true - } else { - const R = processResolveItem(v, P, E) - if (R === undefined) { - processResolveContext(v, P, E) - } - const L = new He(v.callee.range) - L.loc = v.loc - k.state.module.addPresentationalDependency(L) - return true - } - } - const processResolveItem = (v, E, P) => { - if (E.isString()) { - const R = new Ge(E.string, E.range, getContext()) - R.loc = v.loc - R.optional = !!k.scope.inTry - R.weak = P - k.state.current.addDependency(R) - return true - } - } - const processResolveContext = (E, P, R) => { - const L = je.create( - Ue, - P.range, - P, - E, - v, - { category: 'commonjs', mode: R ? 'weak' : 'sync' }, - k, - getContext() - ) - if (!L) return - L.loc = E.loc - L.optional = !!k.scope.inTry - k.state.current.addDependency(L) - return true - } - k.hooks.call - .for('require.resolve') - .tap('CommonJsImportsParserPlugin', (k) => processResolve(k, false)) - k.hooks.call - .for('require.resolveWeak') - .tap('CommonJsImportsParserPlugin', (k) => processResolve(k, true)) - if (!v.createRequire) return - let Je = [] - let Ve - if (v.createRequire === true) { - Je = ['module', 'node:module'] - Ve = 'createRequire' - } else { - let k - const E = /^(.*) from (.*)$/.exec(v.createRequire) - if (E) { - ;[, Ve, k] = E - } - if (!Ve || !k) { - const k = new q( - `Parsing javascript parser option "createRequire" failed, got ${JSON.stringify( - v.createRequire - )}` - ) - k.details = - 'Expected string in format "createRequire from module", where "createRequire" is specifier name and "module" name of the module' - throw k - } - } - tapRequireExpressionTag(Qe) - tapRequireExpressionTag(We) - k.hooks.evaluateCallExpression - .for(We) - .tap('CommonJsImportsParserPlugin', (v) => { - const E = parseCreateRequireArguments(v) - if (E === undefined) return - const P = k.evaluatedVariable({ - tag: Qe, - data: { context: E }, - next: undefined, - }) - return new ae() - .setIdentifier(P, P, () => []) - .setSideEffects(false) - .setRange(v.range) - }) - k.hooks.unhandledExpressionMemberChain - .for(Qe) - .tap('CommonJsImportsParserPlugin', (v, E) => - me( - k, - `createRequire().${E.join('.')} is not supported by webpack.` - )(v) - ) - k.hooks.canRename - .for(Qe) - .tap('CommonJsImportsParserPlugin', () => true) - k.hooks.canRename - .for(We) - .tap('CommonJsImportsParserPlugin', () => true) - k.hooks.rename - .for(We) - .tap('CommonJsImportsParserPlugin', defineUndefined) - k.hooks.expression - .for(Qe) - .tap('CommonJsImportsParserPlugin', requireAsExpressionHandler) - k.hooks.call - .for(Qe) - .tap('CommonJsImportsParserPlugin', createRequireHandler(false)) - const parseCreateRequireArguments = (v) => { - const E = v.arguments - if (E.length !== 1) { - const E = new q( - 'module.createRequire supports only one argument.' - ) - E.loc = v.loc - k.state.module.addWarning(E) - return - } - const R = E[0] - const L = k.evaluateExpression(R) - if (!L.isString()) { - const v = new q('module.createRequire failed parsing argument.') - v.loc = R.loc - k.state.module.addWarning(v) - return - } - const N = L.string.startsWith('file://') ? P(L.string) : L.string - return N.slice(0, N.lastIndexOf(N.startsWith('/') ? '/' : '\\')) - } - k.hooks.import.tap( - { name: 'CommonJsImportsParserPlugin', stage: -10 }, - (v, E) => { - if ( - !Je.includes(E) || - v.specifiers.length !== 1 || - v.specifiers[0].type !== 'ImportSpecifier' || - v.specifiers[0].imported.type !== 'Identifier' || - v.specifiers[0].imported.name !== Ve - ) - return - const P = new Te(k.isAsiPosition(v.range[0]) ? ';' : '', v.range) - P.loc = v.loc - k.state.module.addPresentationalDependency(P) - k.unsetAsiPosition(v.range[1]) - return true - } - ) - k.hooks.importSpecifier.tap( - { name: 'CommonJsImportsParserPlugin', stage: -10 }, - (v, E, P, R) => { - if (!Je.includes(E) || P !== Ve) return - k.tagVariable(R, We) - return true - } - ) - k.hooks.preDeclarator.tap('CommonJsImportsParserPlugin', (v) => { - if ( - v.id.type !== 'Identifier' || - !v.init || - v.init.type !== 'CallExpression' || - v.init.callee.type !== 'Identifier' - ) - return - const E = k.getVariableInfo(v.init.callee.name) - if (E && E.tagInfo && E.tagInfo.tag === We) { - const E = parseCreateRequireArguments(v.init) - if (E === undefined) return - k.tagVariable(v.id.name, Qe, { name: v.id.name, context: E }) - return true - } - }) - k.hooks.memberChainOfCallMemberChain - .for(We) - .tap('CommonJsImportsParserPlugin', (k, v, P, R) => { - if (v.length !== 0 || R.length !== 1 || R[0] !== 'cache') return - const L = parseCreateRequireArguments(P) - if (L === undefined) return - return E(k) - }) - k.hooks.callMemberChainOfCallMemberChain - .for(We) - .tap('CommonJsImportsParserPlugin', (k, v, E, P) => { - if (v.length !== 0 || P.length !== 1 || P[0] !== 'resolve') return - return processResolve(k, false) - }) - k.hooks.expressionMemberChain - .for(Qe) - .tap('CommonJsImportsParserPlugin', (k, v) => { - if (v.length === 1 && v[0] === 'cache') { - return E(k) - } - }) - k.hooks.callMemberChain - .for(Qe) - .tap('CommonJsImportsParserPlugin', (k, v) => { - if (v.length === 1 && v[0] === 'resolve') { - return processResolve(k, false) - } - }) - k.hooks.call.for(We).tap('CommonJsImportsParserPlugin', (v) => { - const E = new Te('/* createRequire() */ undefined', v.range) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - return true - }) - } - } - k.exports = CommonJsImportsParserPlugin - }, - 45575: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(15844) - const N = E(95041) - const q = E(57771) - const ae = E(73946) - const le = E(5103) - const pe = E(41655) - const me = E(23343) - const ye = E(10699) - const _e = E(72330) - const Ie = E(12204) - const Me = E(29961) - const Te = E(53765) - const je = E(84985) - const Ne = E(416) - const Be = E(17042) - const { - JAVASCRIPT_MODULE_TYPE_AUTO: qe, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: Ue, - } = E(93622) - const { evaluateToIdentifier: Ge, toConstantDependency: He } = E(80784) - const We = E(21542) - const Qe = 'CommonJsPlugin' - class CommonJsPlugin { - apply(k) { - k.hooks.compilation.tap( - Qe, - (k, { contextModuleFactory: v, normalModuleFactory: E }) => { - k.dependencyFactories.set(pe, E) - k.dependencyTemplates.set(pe, new pe.Template()) - k.dependencyFactories.set(ae, E) - k.dependencyTemplates.set(ae, new ae.Template()) - k.dependencyFactories.set(le, v) - k.dependencyTemplates.set(le, new le.Template()) - k.dependencyFactories.set(Me, E) - k.dependencyTemplates.set(Me, new Me.Template()) - k.dependencyFactories.set(Ie, v) - k.dependencyTemplates.set(Ie, new Ie.Template()) - k.dependencyTemplates.set(Te, new Te.Template()) - k.dependencyTemplates.set(_e, new _e.Template()) - k.dependencyTemplates.set(q, new q.Template()) - k.dependencyFactories.set(We, E) - k.dependencyTemplates.set(We, new We.Template()) - const R = new L(k.moduleGraph) - k.dependencyFactories.set(me, R) - k.dependencyTemplates.set(me, new me.Template()) - k.dependencyFactories.set(ye, R) - k.dependencyTemplates.set(ye, new ye.Template()) - k.hooks.runtimeRequirementInModule - .for(P.harmonyModuleDecorator) - .tap(Qe, (k, v) => { - v.add(P.module) - v.add(P.requireScope) - }) - k.hooks.runtimeRequirementInModule - .for(P.nodeModuleDecorator) - .tap(Qe, (k, v) => { - v.add(P.module) - v.add(P.requireScope) - }) - k.hooks.runtimeRequirementInTree - .for(P.harmonyModuleDecorator) - .tap(Qe, (v, E) => { - k.addRuntimeModule( - v, - new HarmonyModuleDecoratorRuntimeModule() - ) - }) - k.hooks.runtimeRequirementInTree - .for(P.nodeModuleDecorator) - .tap(Qe, (v, E) => { - k.addRuntimeModule(v, new NodeModuleDecoratorRuntimeModule()) - }) - const handler = (v, E) => { - if (E.commonjs !== undefined && !E.commonjs) return - v.hooks.typeof - .for('module') - .tap(Qe, He(v, JSON.stringify('object'))) - v.hooks.expression - .for('require.main') - .tap( - Qe, - He(v, `${P.moduleCache}[${P.entryModuleId}]`, [ - P.moduleCache, - P.entryModuleId, - ]) - ) - v.hooks.expression.for(P.moduleLoaded).tap(Qe, (k) => { - v.state.module.buildInfo.moduleConcatenationBailout = - P.moduleLoaded - const E = new je([P.moduleLoaded]) - E.loc = k.loc - v.state.module.addPresentationalDependency(E) - return true - }) - v.hooks.expression.for(P.moduleId).tap(Qe, (k) => { - v.state.module.buildInfo.moduleConcatenationBailout = - P.moduleId - const E = new je([P.moduleId]) - E.loc = k.loc - v.state.module.addPresentationalDependency(E) - return true - }) - v.hooks.evaluateIdentifier.for('module.hot').tap( - Qe, - Ge('module.hot', 'module', () => ['hot'], null) - ) - new Be(E).apply(v) - new Ne(k.moduleGraph).apply(v) - } - E.hooks.parser.for(qe).tap(Qe, handler) - E.hooks.parser.for(Ue).tap(Qe, handler) - } - ) - } - } - class HarmonyModuleDecoratorRuntimeModule extends R { - constructor() { - super('harmony module decorator') - } - generate() { - const { runtimeTemplate: k } = this.compilation - return N.asString([ - `${P.harmonyModuleDecorator} = ${k.basicFunction('module', [ - 'module = Object.create(module);', - 'if (!module.children) module.children = [];', - "Object.defineProperty(module, 'exports', {", - N.indent([ - 'enumerable: true,', - `set: ${k.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 R { - constructor() { - super('node module decorator') - } - generate() { - const { runtimeTemplate: k } = this.compilation - return N.asString([ - `${P.nodeModuleDecorator} = ${k.basicFunction('module', [ - 'module.paths = [];', - 'if (!module.children) module.children = [];', - 'return module;', - ])};`, - ]) - } - } - k.exports = CommonJsPlugin - }, - 5103: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(51395) - const L = E(64077) - class CommonJsRequireContextDependency extends R { - constructor(k, v, E, P, R) { - super(k, R) - this.range = v - this.valueRange = E - this.inShorthand = P - } - get type() { - return 'cjs require context' - } - serialize(k) { - const { write: v } = k - v(this.range) - v(this.valueRange) - v(this.inShorthand) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.range = v() - this.valueRange = v() - this.inShorthand = v() - super.deserialize(k) - } - } - P( - CommonJsRequireContextDependency, - 'webpack/lib/dependencies/CommonJsRequireContextDependency' - ) - CommonJsRequireContextDependency.Template = L - k.exports = CommonJsRequireContextDependency - }, - 41655: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(77373) - const L = E(3312) - class CommonJsRequireDependency extends R { - constructor(k, v, E) { - super(k) - this.range = v - this._context = E - } - get type() { - return 'cjs require' - } - get category() { - return 'commonjs' - } - } - CommonJsRequireDependency.Template = L - P( - CommonJsRequireDependency, - 'webpack/lib/dependencies/CommonJsRequireDependency' - ) - k.exports = CommonJsRequireDependency - }, - 23343: function (k, v, E) { - 'use strict' - const P = E(56727) - const { equals: R } = E(68863) - const L = E(58528) - const N = E(10720) - const q = E(53139) - class CommonJsSelfReferenceDependency extends q { - constructor(k, v, E, P) { - super() - this.range = k - this.base = v - this.names = E - this.call = P - } - get type() { - return 'cjs self exports reference' - } - get category() { - return 'self' - } - getResourceIdentifier() { - return `self` - } - getReferencedExports(k, v) { - return [this.call ? this.names.slice(0, -1) : this.names] - } - serialize(k) { - const { write: v } = k - v(this.range) - v(this.base) - v(this.names) - v(this.call) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.range = v() - this.base = v() - this.names = v() - this.call = v() - super.deserialize(k) - } - } - L( - CommonJsSelfReferenceDependency, - 'webpack/lib/dependencies/CommonJsSelfReferenceDependency' - ) - CommonJsSelfReferenceDependency.Template = class CommonJsSelfReferenceDependencyTemplate extends ( - q.Template - ) { - apply( - k, - v, - { module: E, moduleGraph: L, runtime: q, runtimeRequirements: ae } - ) { - const le = k - let pe - if (le.names.length === 0) { - pe = le.names - } else { - pe = L.getExportsInfo(E).getUsedName(le.names, q) - } - if (!pe) { - throw new Error( - 'Self-reference dependency has unused export name: This should not happen' - ) - } - let me = undefined - switch (le.base) { - case 'exports': - ae.add(P.exports) - me = E.exportsArgument - break - case 'module.exports': - ae.add(P.module) - me = `${E.moduleArgument}.exports` - break - case 'this': - ae.add(P.thisAsExports) - me = 'this' - break - default: - throw new Error(`Unsupported base ${le.base}`) - } - if (me === le.base && R(pe, le.names)) { - return - } - v.replace(le.range[0], le.range[1] - 1, `${me}${N(pe)}`) - } - } - k.exports = CommonJsSelfReferenceDependency - }, - 60381: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(53139) - class ConstDependency extends R { - constructor(k, v, E) { - super() - this.expression = k - this.range = v - this.runtimeRequirements = E ? new Set(E) : null - this._hashUpdate = undefined - } - updateHash(k, v) { - if (this._hashUpdate === undefined) { - let k = '' + this.range + '|' + this.expression - if (this.runtimeRequirements) { - for (const v of this.runtimeRequirements) { - k += '|' - k += v - } - } - this._hashUpdate = k - } - k.update(this._hashUpdate) - } - getModuleEvaluationSideEffectsState(k) { - return false - } - serialize(k) { - const { write: v } = k - v(this.expression) - v(this.range) - v(this.runtimeRequirements) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.expression = v() - this.range = v() - this.runtimeRequirements = v() - super.deserialize(k) - } - } - P(ConstDependency, 'webpack/lib/dependencies/ConstDependency') - ConstDependency.Template = class ConstDependencyTemplate extends ( - R.Template - ) { - apply(k, v, E) { - const P = k - if (P.runtimeRequirements) { - for (const k of P.runtimeRequirements) { - E.runtimeRequirements.add(k) - } - } - if (typeof P.range === 'number') { - v.insert(P.range, P.expression) - return - } - v.replace(P.range[0], P.range[1] - 1, P.expression) - } - } - k.exports = ConstDependency - }, - 51395: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(30601) - const L = E(58528) - const N = E(20631) - const q = N(() => E(43418)) - const regExpToString = (k) => (k ? k + '' : '') - class ContextDependency extends P { - constructor(k, v) { - super() - this.options = k - 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.inShorthand = undefined - this.replaces = undefined - this._requestContext = v - } - getContext() { - return this._requestContext - } - get category() { - return 'commonjs' - } - couldAffectReferencingModule() { - return true - } - getResourceIdentifier() { - return ( - `context${this._requestContext || ''}|ctx request${ - this.options.request - } ${this.options.recursive} ` + - `${regExpToString(this.options.regExp)} ${regExpToString( - this.options.include - )} ${regExpToString(this.options.exclude)} ` + - `${this.options.mode} ${this.options.chunkName} ` + - `${JSON.stringify(this.options.groupOptions)}` - ) - } - getWarnings(k) { - let v = super.getWarnings(k) - if (this.critical) { - if (!v) v = [] - const k = q() - v.push(new k(this.critical)) - } - if (this.hadGlobalOrStickyRegExp) { - if (!v) v = [] - const k = q() - v.push( - new k("Contexts can't use RegExps with the 'g' or 'y' flags.") - ) - } - return v - } - serialize(k) { - const { write: v } = k - v(this.options) - v(this.userRequest) - v(this.critical) - v(this.hadGlobalOrStickyRegExp) - v(this.request) - v(this._requestContext) - v(this.range) - v(this.valueRange) - v(this.prepend) - v(this.replaces) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.options = v() - this.userRequest = v() - this.critical = v() - this.hadGlobalOrStickyRegExp = v() - this.request = v() - this._requestContext = v() - this.range = v() - this.valueRange = v() - this.prepend = v() - this.replaces = v() - super.deserialize(k) - } - } - L(ContextDependency, 'webpack/lib/dependencies/ContextDependency') - ContextDependency.Template = R - k.exports = ContextDependency - }, - 25012: function (k, v, E) { - 'use strict' - const { parseResource: P } = E(65315) - const quoteMeta = (k) => k.replace(/[-[\]\\/{}()*+?.^$|]/g, '\\$&') - const splitContextFromPrefix = (k) => { - const v = k.lastIndexOf('/') - let E = '.' - if (v >= 0) { - E = k.slice(0, v) - k = `.${k.slice(v)}` - } - return { context: E, prefix: k } - } - v.create = (k, v, E, R, L, N, q, ...ae) => { - if (E.isTemplateString()) { - let le = E.quasis[0].string - let pe = - E.quasis.length > 1 ? E.quasis[E.quasis.length - 1].string : '' - const me = E.range - const { context: ye, prefix: _e } = splitContextFromPrefix(le) - const { path: Ie, query: Me, fragment: Te } = P(pe, q) - const je = E.quasis.slice(1, E.quasis.length - 1) - const Ne = - L.wrappedContextRegExp.source + - je - .map((k) => quoteMeta(k.string) + L.wrappedContextRegExp.source) - .join('') - const Be = new RegExp(`^${quoteMeta(_e)}${Ne}${quoteMeta(Ie)}$`) - const qe = new k( - { - request: ye + Me + Te, - recursive: L.wrappedContextRecursive, - regExp: Be, - mode: 'sync', - ...N, - }, - v, - me, - ...ae - ) - qe.loc = R.loc - const Ue = [] - E.parts.forEach((k, v) => { - if (v % 2 === 0) { - let P = k.range - let R = k.string - if (E.templateStringKind === 'cooked') { - R = JSON.stringify(R) - R = R.slice(1, R.length - 1) - } - if (v === 0) { - R = _e - P = [E.range[0], k.range[1]] - R = - (E.templateStringKind === 'cooked' ? '`' : 'String.raw`') + R - } else if (v === E.parts.length - 1) { - R = Ie - P = [k.range[0], E.range[1]] - R = R + '`' - } else if ( - k.expression && - k.expression.type === 'TemplateElement' && - k.expression.value.raw === R - ) { - return - } - Ue.push({ range: P, value: R }) - } else { - q.walkExpression(k.expression) - } - }) - qe.replaces = Ue - qe.critical = - L.wrappedContextCritical && - 'a part of the request of a dependency is an expression' - return qe - } else if ( - E.isWrapped() && - ((E.prefix && E.prefix.isString()) || - (E.postfix && E.postfix.isString())) - ) { - let le = E.prefix && E.prefix.isString() ? E.prefix.string : '' - let pe = E.postfix && E.postfix.isString() ? E.postfix.string : '' - const me = E.prefix && E.prefix.isString() ? E.prefix.range : null - const ye = E.postfix && E.postfix.isString() ? E.postfix.range : null - const _e = E.range - const { context: Ie, prefix: Me } = splitContextFromPrefix(le) - const { path: Te, query: je, fragment: Ne } = P(pe, q) - const Be = new RegExp( - `^${quoteMeta(Me)}${L.wrappedContextRegExp.source}${quoteMeta(Te)}$` - ) - const qe = new k( - { - request: Ie + je + Ne, - recursive: L.wrappedContextRecursive, - regExp: Be, - mode: 'sync', - ...N, - }, - v, - _e, - ...ae - ) - qe.loc = R.loc - const Ue = [] - if (me) { - Ue.push({ range: me, value: JSON.stringify(Me) }) - } - if (ye) { - Ue.push({ range: ye, value: JSON.stringify(Te) }) - } - qe.replaces = Ue - qe.critical = - L.wrappedContextCritical && - 'a part of the request of a dependency is an expression' - if (q && E.wrappedInnerExpressions) { - for (const k of E.wrappedInnerExpressions) { - if (k.expression) q.walkExpression(k.expression) - } - } - return qe - } else { - const P = new k( - { - request: L.exprContextRequest, - recursive: L.exprContextRecursive, - regExp: L.exprContextRegExp, - mode: 'sync', - ...N, - }, - v, - E.range, - ...ae - ) - P.loc = R.loc - P.critical = - L.exprContextCritical && - 'the request of a dependency is an expression' - q.walkExpression(E.expression) - return P - } - } - }, - 16213: function (k, v, E) { - 'use strict' - const P = E(51395) - class ContextDependencyTemplateAsId extends P.Template { - apply( - k, - v, - { - runtimeTemplate: E, - moduleGraph: P, - chunkGraph: R, - runtimeRequirements: L, - } - ) { - const N = k - const q = E.moduleExports({ - module: P.getModule(N), - chunkGraph: R, - request: N.request, - weak: N.weak, - runtimeRequirements: L, - }) - if (P.getModule(N)) { - if (N.valueRange) { - if (Array.isArray(N.replaces)) { - for (let k = 0; k < N.replaces.length; k++) { - const E = N.replaces[k] - v.replace(E.range[0], E.range[1] - 1, E.value) - } - } - v.replace(N.valueRange[1], N.range[1] - 1, ')') - v.replace(N.range[0], N.valueRange[0] - 1, `${q}.resolve(`) - } else { - v.replace(N.range[0], N.range[1] - 1, `${q}.resolve`) - } - } else { - v.replace(N.range[0], N.range[1] - 1, q) - } - } - } - k.exports = ContextDependencyTemplateAsId - }, - 64077: function (k, v, E) { - 'use strict' - const P = E(51395) - class ContextDependencyTemplateAsRequireCall extends P.Template { - apply( - k, - v, - { - runtimeTemplate: E, - moduleGraph: P, - chunkGraph: R, - runtimeRequirements: L, - } - ) { - const N = k - let q = E.moduleExports({ - module: P.getModule(N), - chunkGraph: R, - request: N.request, - runtimeRequirements: L, - }) - if (N.inShorthand) { - q = `${N.inShorthand}: ${q}` - } - if (P.getModule(N)) { - if (N.valueRange) { - if (Array.isArray(N.replaces)) { - for (let k = 0; k < N.replaces.length; k++) { - const E = N.replaces[k] - v.replace(E.range[0], E.range[1] - 1, E.value) - } - } - v.replace(N.valueRange[1], N.range[1] - 1, ')') - v.replace(N.range[0], N.valueRange[0] - 1, `${q}(`) - } else { - v.replace(N.range[0], N.range[1] - 1, q) - } - } else { - v.replace(N.range[0], N.range[1] - 1, q) - } - } - } - k.exports = ContextDependencyTemplateAsRequireCall - }, - 16624: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(58528) - const L = E(77373) - class ContextElementDependency extends L { - constructor(k, v, E, P, R, L) { - super(k) - this.referencedExports = R - this._typePrefix = E - this._category = P - this._context = L || undefined - if (v) { - this.userRequest = v - } - } - get type() { - if (this._typePrefix) { - return `${this._typePrefix} context element` - } - return 'context element' - } - get category() { - return this._category - } - getReferencedExports(k, v) { - return this.referencedExports - ? this.referencedExports.map((k) => ({ name: k, canMangle: false })) - : P.EXPORTS_OBJECT_REFERENCED - } - serialize(k) { - const { write: v } = k - v(this._typePrefix) - v(this._category) - v(this.referencedExports) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this._typePrefix = v() - this._category = v() - this.referencedExports = v() - super.deserialize(k) - } - } - R( - ContextElementDependency, - 'webpack/lib/dependencies/ContextElementDependency' - ) - k.exports = ContextElementDependency - }, - 98857: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(58528) - const L = E(53139) - class CreateScriptUrlDependency extends L { - constructor(k) { - super() - this.range = k - } - get type() { - return 'create script url' - } - serialize(k) { - const { write: v } = k - v(this.range) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.range = v() - super.deserialize(k) - } - } - CreateScriptUrlDependency.Template = class CreateScriptUrlDependencyTemplate extends ( - L.Template - ) { - apply(k, v, { runtimeRequirements: E }) { - const R = k - E.add(P.createScriptUrl) - v.insert(R.range[0], `${P.createScriptUrl}(`) - v.insert(R.range[1], ')') - } - } - R( - CreateScriptUrlDependency, - 'webpack/lib/dependencies/CreateScriptUrlDependency' - ) - k.exports = CreateScriptUrlDependency - }, - 43418: function (k, v, E) { - 'use strict' - const P = E(71572) - const R = E(58528) - class CriticalDependencyWarning extends P { - constructor(k) { - super() - this.name = 'CriticalDependencyWarning' - this.message = 'Critical dependency: ' + k - } - } - R( - CriticalDependencyWarning, - 'webpack/lib/dependencies/CriticalDependencyWarning' - ) - k.exports = CriticalDependencyWarning - }, - 55101: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(53139) - class CssExportDependency extends R { - constructor(k, v) { - super() - this.name = k - this.value = v - } - get type() { - return 'css :export' - } - getExports(k) { - const v = this.name - return { - exports: [{ name: v, canMangle: true }], - dependencies: undefined, - } - } - serialize(k) { - const { write: v } = k - v(this.name) - v(this.value) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.name = v() - this.value = v() - super.deserialize(k) - } - } - CssExportDependency.Template = class CssExportDependencyTemplate extends ( - R.Template - ) { - apply(k, v, { cssExports: E }) { - const P = k - E.set(P.name, P.value) - } - } - P(CssExportDependency, 'webpack/lib/dependencies/CssExportDependency') - k.exports = CssExportDependency - }, - 38490: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(77373) - class CssImportDependency extends R { - constructor(k, v, E, P, R) { - super(k) - this.range = v - this.layer = E - this.supports = P - this.media = R - } - get type() { - return 'css @import' - } - get category() { - return 'css-import' - } - getResourceIdentifier() { - let k = `context${this._context || ''}|module${this.request}` - if (this.layer) { - k += `|layer${this.layer}` - } - if (this.supports) { - k += `|supports${this.supports}` - } - if (this.media) { - k += `|media${this.media}` - } - return k - } - createIgnoredModule(k) { - return null - } - serialize(k) { - const { write: v } = k - v(this.layer) - v(this.supports) - v(this.media) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.layer = v() - this.supports = v() - this.media = v() - super.deserialize(k) - } - } - CssImportDependency.Template = class CssImportDependencyTemplate extends ( - R.Template - ) { - apply(k, v, E) { - const P = k - v.replace(P.range[0], P.range[1] - 1, '') - } - } - P(CssImportDependency, 'webpack/lib/dependencies/CssImportDependency') - k.exports = CssImportDependency - }, - 27746: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(53139) - class CssLocalIdentifierDependency extends R { - constructor(k, v, E = '') { - super() - this.name = k - this.range = v - this.prefix = E - } - get type() { - return 'css local identifier' - } - getExports(k) { - const v = this.name - return { - exports: [{ name: v, canMangle: true }], - dependencies: undefined, - } - } - serialize(k) { - const { write: v } = k - v(this.name) - v(this.range) - v(this.prefix) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.name = v() - this.range = v() - this.prefix = v() - super.deserialize(k) - } - } - const escapeCssIdentifier = (k, v) => { - const E = `${k}`.replace( - /[^a-zA-Z0-9_\u0081-\uffff-]/g, - (k) => `\\${k}` - ) - return !v && /^(?!--)[0-9-]/.test(E) ? `_${E}` : E - } - CssLocalIdentifierDependency.Template = class CssLocalIdentifierDependencyTemplate extends ( - R.Template - ) { - apply( - k, - v, - { - module: E, - moduleGraph: P, - chunkGraph: R, - runtime: L, - runtimeTemplate: N, - cssExports: q, - } - ) { - const ae = k - const le = P.getExportInfo(E, ae.name).getUsedName(ae.name, L) - const pe = R.getModuleId(E) - const me = - ae.prefix + - (N.outputOptions.uniqueName - ? N.outputOptions.uniqueName + '-' - : '') + - (le ? pe + '-' + le : '-') - v.replace( - ae.range[0], - ae.range[1] - 1, - escapeCssIdentifier(me, ae.prefix) - ) - if (le) q.set(le, me) - } - } - P( - CssLocalIdentifierDependency, - 'webpack/lib/dependencies/CssLocalIdentifierDependency' - ) - k.exports = CssLocalIdentifierDependency - }, - 58943: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(58528) - const L = E(27746) - class CssSelfLocalIdentifierDependency extends L { - constructor(k, v, E = '', P = undefined) { - super(k, v, E) - this.declaredSet = P - } - get type() { - return 'css self local identifier' - } - get category() { - return 'self' - } - getResourceIdentifier() { - return `self` - } - getExports(k) { - if (this.declaredSet && !this.declaredSet.has(this.name)) return - return super.getExports(k) - } - getReferencedExports(k, v) { - if (this.declaredSet && !this.declaredSet.has(this.name)) - return P.NO_EXPORTS_REFERENCED - return [[this.name]] - } - serialize(k) { - const { write: v } = k - v(this.declaredSet) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.declaredSet = v() - super.deserialize(k) - } - } - CssSelfLocalIdentifierDependency.Template = class CssSelfLocalIdentifierDependencyTemplate extends ( - L.Template - ) { - apply(k, v, E) { - const P = k - if (P.declaredSet && !P.declaredSet.has(P.name)) return - super.apply(k, v, E) - } - } - R( - CssSelfLocalIdentifierDependency, - 'webpack/lib/dependencies/CssSelfLocalIdentifierDependency' - ) - k.exports = CssSelfLocalIdentifierDependency - }, - 97006: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(20631) - const L = E(77373) - const N = R(() => E(26619)) - class CssUrlDependency extends L { - constructor(k, v, E) { - super(k) - this.range = v - this.urlType = E - } - get type() { - return 'css url()' - } - get category() { - return 'url' - } - createIgnoredModule(k) { - const v = N() - return new v('data:,', `ignored-asset`, `(ignored asset)`) - } - serialize(k) { - const { write: v } = k - v(this.urlType) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.urlType = v() - super.deserialize(k) - } - } - const cssEscapeString = (k) => { - let v = 0 - let E = 0 - let P = 0 - for (let R = 0; R < k.length; R++) { - const L = k.charCodeAt(R) - switch (L) { - case 9: - case 10: - case 32: - case 40: - case 41: - v++ - break - case 34: - E++ - break - case 39: - P++ - break - } - } - if (v < 2) { - return k.replace(/[\n\t ()'"\\]/g, (k) => `\\${k}`) - } else if (E <= P) { - return `"${k.replace(/[\n"\\]/g, (k) => `\\${k}`)}"` - } else { - return `'${k.replace(/[\n'\\]/g, (k) => `\\${k}`)}'` - } - } - CssUrlDependency.Template = class CssUrlDependencyTemplate extends ( - L.Template - ) { - apply( - k, - v, - { moduleGraph: E, runtimeTemplate: P, codeGenerationResults: R } - ) { - const L = k - let N - switch (L.urlType) { - case 'string': - N = cssEscapeString( - P.assetUrl({ - publicPath: '', - module: E.getModule(L), - codeGenerationResults: R, - }) - ) - break - case 'url': - N = `url(${cssEscapeString( - P.assetUrl({ - publicPath: '', - module: E.getModule(L), - codeGenerationResults: R, - }) - )})` - break - } - v.replace(L.range[0], L.range[1] - 1, N) - } - } - P(CssUrlDependency, 'webpack/lib/dependencies/CssUrlDependency') - k.exports = CssUrlDependency - }, - 47788: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(77373) - class DelegatedSourceDependency extends R { - constructor(k) { - super(k) - } - get type() { - return 'delegated source' - } - get category() { - return 'esm' - } - } - P( - DelegatedSourceDependency, - 'webpack/lib/dependencies/DelegatedSourceDependency' - ) - k.exports = DelegatedSourceDependency - }, - 50478: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(58528) - class DllEntryDependency extends P { - constructor(k, v) { - super() - this.dependencies = k - this.name = v - } - get type() { - return 'dll entry' - } - serialize(k) { - const { write: v } = k - v(this.dependencies) - v(this.name) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.dependencies = v() - this.name = v() - super.deserialize(k) - } - } - R(DllEntryDependency, 'webpack/lib/dependencies/DllEntryDependency') - k.exports = DllEntryDependency - }, - 71203: function (k, v) { - 'use strict' - const E = new WeakMap() - v.bailout = (k) => { - const v = E.get(k) - E.set(k, false) - if (v === true) { - k.module.buildMeta.exportsType = undefined - k.module.buildMeta.defaultObject = false - } - } - v.enable = (k) => { - const v = E.get(k) - if (v === false) return - E.set(k, true) - if (v !== true) { - k.module.buildMeta.exportsType = 'default' - k.module.buildMeta.defaultObject = 'redirect' - } - } - v.setFlagged = (k) => { - const v = E.get(k) - if (v !== true) return - const P = k.module.buildMeta - if (P.exportsType === 'dynamic') return - P.exportsType = 'flagged' - } - v.setDynamic = (k) => { - const v = E.get(k) - if (v !== true) return - k.module.buildMeta.exportsType = 'dynamic' - } - v.isEnabled = (k) => { - const v = E.get(k) - return v === true - } - }, - 25248: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(77373) - class EntryDependency extends R { - constructor(k) { - super(k) - } - get type() { - return 'entry' - } - get category() { - return 'esm' - } - } - P(EntryDependency, 'webpack/lib/dependencies/EntryDependency') - k.exports = EntryDependency - }, - 70762: function (k, v, E) { - 'use strict' - const { UsageState: P } = E(11172) - const R = E(58528) - const L = E(53139) - const getProperty = (k, v, E, R, L) => { - if (!E) { - switch (R) { - case 'usedExports': { - const E = k.getExportsInfo(v).getUsedExports(L) - if (typeof E === 'boolean' || E === undefined || E === null) { - return E - } - return Array.from(E).sort() - } - } - } - switch (R) { - case 'canMangle': { - const P = k.getExportsInfo(v) - const R = P.getExportInfo(E) - if (R) return R.canMangle - return P.otherExportsInfo.canMangle - } - case 'used': - return k.getExportsInfo(v).getUsed(E, L) !== P.Unused - case 'useInfo': { - const R = k.getExportsInfo(v).getUsed(E, L) - switch (R) { - case P.Used: - case P.OnlyPropertiesUsed: - return true - case P.Unused: - return false - case P.NoInfo: - return undefined - case P.Unknown: - return null - default: - throw new Error(`Unexpected UsageState ${R}`) - } - } - case 'provideInfo': - return k.getExportsInfo(v).isExportProvided(E) - } - return undefined - } - class ExportsInfoDependency extends L { - constructor(k, v, E) { - super() - this.range = k - this.exportName = v - this.property = E - } - serialize(k) { - const { write: v } = k - v(this.range) - v(this.exportName) - v(this.property) - super.serialize(k) - } - static deserialize(k) { - const v = new ExportsInfoDependency(k.read(), k.read(), k.read()) - v.deserialize(k) - return v - } - } - R(ExportsInfoDependency, 'webpack/lib/dependencies/ExportsInfoDependency') - ExportsInfoDependency.Template = class ExportsInfoDependencyTemplate extends ( - L.Template - ) { - apply(k, v, { module: E, moduleGraph: P, runtime: R }) { - const L = k - const N = getProperty(P, E, L.exportName, L.property, R) - v.replace( - L.range[0], - L.range[1] - 1, - N === undefined ? 'undefined' : JSON.stringify(N) - ) - } - } - k.exports = ExportsInfoDependency - }, - 95077: function (k, v, E) { - 'use strict' - const P = E(95041) - const R = E(58528) - const L = E(69184) - const N = E(53139) - class HarmonyAcceptDependency extends N { - constructor(k, v, E) { - super() - this.range = k - this.dependencies = v - this.hasCallback = E - } - get type() { - return 'accepted harmony modules' - } - serialize(k) { - const { write: v } = k - v(this.range) - v(this.dependencies) - v(this.hasCallback) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.range = v() - this.dependencies = v() - this.hasCallback = v() - super.deserialize(k) - } - } - R( - HarmonyAcceptDependency, - 'webpack/lib/dependencies/HarmonyAcceptDependency' - ) - HarmonyAcceptDependency.Template = class HarmonyAcceptDependencyTemplate extends ( - N.Template - ) { - apply(k, v, E) { - const R = k - const { - module: N, - runtime: q, - runtimeRequirements: ae, - runtimeTemplate: le, - moduleGraph: pe, - chunkGraph: me, - } = E - const ye = R.dependencies - .map((k) => { - const v = pe.getModule(k) - return { - dependency: k, - runtimeCondition: v - ? L.Template.getImportEmittedRuntime(N, v) - : false, - } - }) - .filter(({ runtimeCondition: k }) => k !== false) - .map(({ dependency: k, runtimeCondition: v }) => { - const R = le.runtimeConditionExpression({ - chunkGraph: me, - runtime: q, - runtimeCondition: v, - runtimeRequirements: ae, - }) - const L = k.getImportStatement(true, E) - const N = L[0] + L[1] - if (R !== 'true') { - return `if (${R}) {\n${P.indent(N)}\n}\n` - } - return N - }) - .join('') - if (R.hasCallback) { - if (le.supportsArrowFunction()) { - v.insert( - R.range[0], - `__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${ye}(` - ) - v.insert(R.range[1], ')(__WEBPACK_OUTDATED_DEPENDENCIES__); }') - } else { - v.insert( - R.range[0], - `function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${ye}(` - ) - v.insert( - R.range[1], - ')(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)' - ) - } - return - } - const _e = le.supportsArrowFunction() - v.insert( - R.range[1] - 0.5, - `, ${_e ? '() =>' : 'function()'} { ${ye} }` - ) - } - } - k.exports = HarmonyAcceptDependency - }, - 46325: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(69184) - const L = E(53139) - class HarmonyAcceptImportDependency extends R { - constructor(k) { - super(k, NaN) - this.weak = true - } - get type() { - return 'harmony accept' - } - } - P( - HarmonyAcceptImportDependency, - 'webpack/lib/dependencies/HarmonyAcceptImportDependency' - ) - HarmonyAcceptImportDependency.Template = L.Template - k.exports = HarmonyAcceptImportDependency - }, - 2075: function (k, v, E) { - 'use strict' - const { UsageState: P } = E(11172) - const R = E(88113) - const L = E(56727) - const N = E(58528) - const q = E(53139) - class HarmonyCompatibilityDependency extends q { - get type() { - return 'harmony export header' - } - } - N( - HarmonyCompatibilityDependency, - 'webpack/lib/dependencies/HarmonyCompatibilityDependency' - ) - HarmonyCompatibilityDependency.Template = class HarmonyExportDependencyTemplate extends ( - q.Template - ) { - apply( - k, - v, - { - module: E, - runtimeTemplate: N, - moduleGraph: q, - initFragments: ae, - runtimeRequirements: le, - runtime: pe, - concatenationScope: me, - } - ) { - if (me) return - const ye = q.getExportsInfo(E) - if (ye.getReadOnlyExportInfo('__esModule').getUsed(pe) !== P.Unused) { - const k = N.defineEsModuleFlagStatement({ - exportsArgument: E.exportsArgument, - runtimeRequirements: le, - }) - ae.push( - new R(k, R.STAGE_HARMONY_EXPORTS, 0, 'harmony compatibility') - ) - } - if (q.isAsync(E)) { - le.add(L.module) - le.add(L.asyncModule) - ae.push( - new R( - N.supportsArrowFunction() - ? `${L.asyncModule}(${E.moduleArgument}, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {\n` - : `${L.asyncModule}(${E.moduleArgument}, async function (__webpack_handle_async_dependencies__, __webpack_async_result__) { try {\n`, - R.STAGE_ASYNC_BOUNDARY, - 0, - undefined, - `\n__webpack_async_result__();\n} catch(e) { __webpack_async_result__(e); } }${ - E.buildMeta.async ? ', 1' : '' - });` - ) - ) - } - } - } - k.exports = HarmonyCompatibilityDependency - }, - 23144: function (k, v, E) { - 'use strict' - const { JAVASCRIPT_MODULE_TYPE_ESM: P } = E(93622) - const R = E(71203) - const L = E(2075) - const N = E(71803) - k.exports = class HarmonyDetectionParserPlugin { - constructor(k) { - const { topLevelAwait: v = false } = k || {} - this.topLevelAwait = v - } - apply(k) { - k.hooks.program.tap('HarmonyDetectionParserPlugin', (v) => { - const E = k.state.module.type === P - const q = - E || - v.body.some( - (k) => - k.type === 'ImportDeclaration' || - k.type === 'ExportDefaultDeclaration' || - k.type === 'ExportNamedDeclaration' || - k.type === 'ExportAllDeclaration' - ) - if (q) { - const v = k.state.module - const P = new L() - P.loc = { - start: { line: -1, column: 0 }, - end: { line: -1, column: 0 }, - index: -3, - } - v.addPresentationalDependency(P) - R.bailout(k.state) - N.enable(k.state, E) - k.scope.isStrict = true - } - }) - k.hooks.topLevelAwait.tap('HarmonyDetectionParserPlugin', () => { - const v = k.state.module - if (!this.topLevelAwait) { - throw new Error( - 'The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)' - ) - } - if (!N.isEnabled(k.state)) { - throw new Error( - 'Top-level-await is only supported in EcmaScript Modules' - ) - } - v.buildMeta.async = true - }) - const skipInHarmony = () => { - if (N.isEnabled(k.state)) { - return true - } - } - const nullInHarmony = () => { - if (N.isEnabled(k.state)) { - return null - } - } - const v = ['define', 'exports'] - for (const E of v) { - k.hooks.evaluateTypeof - .for(E) - .tap('HarmonyDetectionParserPlugin', nullInHarmony) - k.hooks.typeof - .for(E) - .tap('HarmonyDetectionParserPlugin', skipInHarmony) - k.hooks.evaluate - .for(E) - .tap('HarmonyDetectionParserPlugin', nullInHarmony) - k.hooks.expression - .for(E) - .tap('HarmonyDetectionParserPlugin', skipInHarmony) - k.hooks.call - .for(E) - .tap('HarmonyDetectionParserPlugin', skipInHarmony) - } - } - } - }, - 5107: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(56390) - class HarmonyEvaluatedImportSpecifierDependency extends R { - constructor(k, v, E, P, R, L, N) { - super(k, v, E, P, R, false, L, []) - this.operator = N - } - get type() { - return `evaluated X ${this.operator} harmony import specifier` - } - serialize(k) { - super.serialize(k) - const { write: v } = k - v(this.operator) - } - deserialize(k) { - super.deserialize(k) - const { read: v } = k - this.operator = v() - } - } - P( - HarmonyEvaluatedImportSpecifierDependency, - 'webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency' - ) - HarmonyEvaluatedImportSpecifierDependency.Template = class HarmonyEvaluatedImportSpecifierDependencyTemplate extends ( - R.Template - ) { - apply(k, v, E) { - const P = k - const { module: R, moduleGraph: L, runtime: N } = E - const q = L.getConnection(P) - if (q && !q.isTargetActive(N)) return - const ae = L.getExportsInfo(q.module) - const le = P.getIds(L) - let pe - const me = q.module.getExportsType(L, R.buildMeta.strictHarmonyModule) - switch (me) { - case 'default-with-named': { - if (le[0] === 'default') { - pe = le.length === 1 || ae.isExportProvided(le.slice(1)) - } else { - pe = ae.isExportProvided(le) - } - break - } - case 'namespace': { - if (le[0] === '__esModule') { - pe = le.length === 1 || undefined - } else { - pe = ae.isExportProvided(le) - } - break - } - case 'dynamic': { - if (le[0] !== 'default') { - pe = ae.isExportProvided(le) - } - break - } - } - if (typeof pe === 'boolean') { - v.replace(P.range[0], P.range[1] - 1, ` ${pe}`) - } else { - const k = ae.getUsedName(le, N) - const R = this._getCodeForIds(P, v, E, le.slice(0, -1)) - v.replace( - P.range[0], - P.range[1] - 1, - `${k ? JSON.stringify(k[k.length - 1]) : '""'} in ${R}` - ) - } - } - } - k.exports = HarmonyEvaluatedImportSpecifierDependency - }, - 33866: function (k, v, E) { - 'use strict' - const P = E(88926) - const R = E(60381) - const L = E(33579) - const N = E(66057) - const q = E(44827) - const ae = E(95040) - const { ExportPresenceModes: le } = E(69184) - const { harmonySpecifierTag: pe, getAssertions: me } = E(57737) - const ye = E(59398) - const { HarmonyStarExportsList: _e } = q - k.exports = class HarmonyExportDependencyParserPlugin { - constructor(k) { - this.exportPresenceMode = - k.reexportExportsPresence !== undefined - ? le.fromUserOption(k.reexportExportsPresence) - : k.exportsPresence !== undefined - ? le.fromUserOption(k.exportsPresence) - : k.strictExportPresence - ? le.ERROR - : le.AUTO - } - apply(k) { - const { exportPresenceMode: v } = this - k.hooks.export.tap('HarmonyExportDependencyParserPlugin', (v) => { - const E = new N(v.declaration && v.declaration.range, v.range) - E.loc = Object.create(v.loc) - E.loc.index = -1 - k.state.module.addPresentationalDependency(E) - return true - }) - k.hooks.exportImport.tap( - 'HarmonyExportDependencyParserPlugin', - (v, E) => { - k.state.lastHarmonyImportOrder = - (k.state.lastHarmonyImportOrder || 0) + 1 - const P = new R('', v.range) - P.loc = Object.create(v.loc) - P.loc.index = -1 - k.state.module.addPresentationalDependency(P) - const L = new ye(E, k.state.lastHarmonyImportOrder, me(v)) - L.loc = Object.create(v.loc) - L.loc.index = -1 - k.state.current.addDependency(L) - return true - } - ) - k.hooks.exportExpression.tap( - 'HarmonyExportDependencyParserPlugin', - (v, E) => { - const R = E.type === 'FunctionDeclaration' - const N = k.getComments([v.range[0], E.range[0]]) - const q = new L( - E.range, - v.range, - N.map((k) => { - switch (k.type) { - case 'Block': - return `/*${k.value}*/` - case 'Line': - return `//${k.value}\n` - } - return '' - }).join(''), - E.type.endsWith('Declaration') && E.id - ? E.id.name - : R - ? { - id: E.id ? E.id.name : undefined, - range: [ - E.range[0], - E.params.length > 0 - ? E.params[0].range[0] - : E.body.range[0], - ], - prefix: `${E.async ? 'async ' : ''}function${ - E.generator ? '*' : '' - } `, - suffix: `(${E.params.length > 0 ? '' : ') '}`, - } - : undefined - ) - q.loc = Object.create(v.loc) - q.loc.index = -1 - k.state.current.addDependency(q) - P.addVariableUsage( - k, - E.type.endsWith('Declaration') && E.id - ? E.id.name - : '*default*', - 'default' - ) - return true - } - ) - k.hooks.exportSpecifier.tap( - 'HarmonyExportDependencyParserPlugin', - (E, R, L, N) => { - const le = k.getTagData(R, pe) - let me - const ye = (k.state.harmonyNamedExports = - k.state.harmonyNamedExports || new Set()) - ye.add(L) - P.addVariableUsage(k, R, L) - if (le) { - me = new q( - le.source, - le.sourceOrder, - le.ids, - L, - ye, - null, - v, - null, - le.assertions - ) - } else { - me = new ae(R, L) - } - me.loc = Object.create(E.loc) - me.loc.index = N - k.state.current.addDependency(me) - return true - } - ) - k.hooks.exportImportSpecifier.tap( - 'HarmonyExportDependencyParserPlugin', - (E, P, R, L, N) => { - const ae = (k.state.harmonyNamedExports = - k.state.harmonyNamedExports || new Set()) - let le = null - if (L) { - ae.add(L) - } else { - le = k.state.harmonyStarExports = - k.state.harmonyStarExports || new _e() - } - const pe = new q( - P, - k.state.lastHarmonyImportOrder, - R ? [R] : [], - L, - ae, - le && le.slice(), - v, - le - ) - if (le) { - le.push(pe) - } - pe.loc = Object.create(E.loc) - pe.loc.index = N - k.state.current.addDependency(pe) - return true - } - ) - } - } - }, - 33579: function (k, v, E) { - 'use strict' - const P = E(91213) - const R = E(56727) - const L = E(58528) - const N = E(10720) - const q = E(89661) - const ae = E(53139) - class HarmonyExportExpressionDependency extends ae { - constructor(k, v, E, P) { - super() - this.range = k - this.rangeStatement = v - this.prefix = E - this.declarationId = P - } - get type() { - return 'harmony export expression' - } - getExports(k) { - return { - exports: ['default'], - priority: 1, - terminalBinding: true, - dependencies: undefined, - } - } - getModuleEvaluationSideEffectsState(k) { - return false - } - serialize(k) { - const { write: v } = k - v(this.range) - v(this.rangeStatement) - v(this.prefix) - v(this.declarationId) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.range = v() - this.rangeStatement = v() - this.prefix = v() - this.declarationId = v() - super.deserialize(k) - } - } - L( - HarmonyExportExpressionDependency, - 'webpack/lib/dependencies/HarmonyExportExpressionDependency' - ) - HarmonyExportExpressionDependency.Template = class HarmonyExportDependencyTemplate extends ( - ae.Template - ) { - apply( - k, - v, - { - module: E, - moduleGraph: L, - runtimeTemplate: ae, - runtimeRequirements: le, - initFragments: pe, - runtime: me, - concatenationScope: ye, - } - ) { - const _e = k - const { declarationId: Ie } = _e - const Me = E.exportsArgument - if (Ie) { - let k - if (typeof Ie === 'string') { - k = Ie - } else { - k = P.DEFAULT_EXPORT - v.replace( - Ie.range[0], - Ie.range[1] - 1, - `${Ie.prefix}${k}${Ie.suffix}` - ) - } - if (ye) { - ye.registerExport('default', k) - } else { - const v = L.getExportsInfo(E).getUsedName('default', me) - if (v) { - const E = new Map() - E.set(v, `/* export default binding */ ${k}`) - pe.push(new q(Me, E)) - } - } - v.replace( - _e.rangeStatement[0], - _e.range[0] - 1, - `/* harmony default export */ ${_e.prefix}` - ) - } else { - let k - const Ie = P.DEFAULT_EXPORT - if (ae.supportsConst()) { - k = `/* harmony default export */ const ${Ie} = ` - if (ye) { - ye.registerExport('default', Ie) - } else { - const v = L.getExportsInfo(E).getUsedName('default', me) - if (v) { - le.add(R.exports) - const k = new Map() - k.set(v, Ie) - pe.push(new q(Me, k)) - } else { - k = `/* unused harmony default export */ var ${Ie} = ` - } - } - } else if (ye) { - k = `/* harmony default export */ var ${Ie} = ` - ye.registerExport('default', Ie) - } else { - const v = L.getExportsInfo(E).getUsedName('default', me) - if (v) { - le.add(R.exports) - k = `/* harmony default export */ ${Me}${N( - typeof v === 'string' ? [v] : v - )} = ` - } else { - k = `/* unused harmony default export */ var ${Ie} = ` - } - } - if (_e.range) { - v.replace( - _e.rangeStatement[0], - _e.range[0] - 1, - k + '(' + _e.prefix - ) - v.replace(_e.range[1], _e.rangeStatement[1] - 0.5, ');') - return - } - v.replace(_e.rangeStatement[0], _e.rangeStatement[1] - 1, k) - } - } - } - k.exports = HarmonyExportExpressionDependency - }, - 66057: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(53139) - class HarmonyExportHeaderDependency extends R { - constructor(k, v) { - super() - this.range = k - this.rangeStatement = v - } - get type() { - return 'harmony export header' - } - serialize(k) { - const { write: v } = k - v(this.range) - v(this.rangeStatement) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.range = v() - this.rangeStatement = v() - super.deserialize(k) - } - } - P( - HarmonyExportHeaderDependency, - 'webpack/lib/dependencies/HarmonyExportHeaderDependency' - ) - HarmonyExportHeaderDependency.Template = class HarmonyExportDependencyTemplate extends ( - R.Template - ) { - apply(k, v, E) { - const P = k - const R = '' - const L = P.range ? P.range[0] - 1 : P.rangeStatement[1] - 1 - v.replace(P.rangeStatement[0], L, R) - } - } - k.exports = HarmonyExportHeaderDependency - }, - 44827: function (k, v, E) { - 'use strict' - const P = E(16848) - const { UsageState: R } = E(11172) - const L = E(36473) - const N = E(88113) - const q = E(56727) - const ae = E(95041) - const { countIterable: le } = E(54480) - const { first: pe, combine: me } = E(59959) - const ye = E(58528) - const _e = E(10720) - const { propertyName: Ie } = E(72627) - const { getRuntimeKey: Me, keyToRuntime: Te } = E(1540) - const je = E(89661) - const Ne = E(69184) - const Be = E(49798) - const { ExportPresenceModes: qe } = Ne - const Ue = Symbol('HarmonyExportImportedSpecifierDependency.ids') - class NormalReexportItem { - constructor(k, v, E, P, R) { - this.name = k - this.ids = v - this.exportInfo = E - this.checked = P - this.hidden = R - } - } - class ExportMode { - constructor(k) { - this.type = k - this.items = null - this.name = null - this.partialNamespaceExportInfo = null - this.ignored = null - this.hidden = null - this.userRequest = null - this.fakeType = 0 - } - } - const determineExportAssignments = (k, v, E) => { - const P = new Set() - const R = [] - if (E) { - v = v.concat(E) - } - for (const E of v) { - const v = R.length - R[v] = P.size - const L = k.getModule(E) - if (L) { - const E = k.getExportsInfo(L) - for (const k of E.exports) { - if ( - k.provided === true && - k.name !== 'default' && - !P.has(k.name) - ) { - P.add(k.name) - R[v] = P.size - } - } - } - } - R.push(P.size) - return { names: Array.from(P), dependencyIndices: R } - } - const findDependencyForName = ( - { names: k, dependencyIndices: v }, - E, - P - ) => { - const R = P[Symbol.iterator]() - const L = v[Symbol.iterator]() - let N = R.next() - let q = L.next() - if (q.done) return - for (let v = 0; v < k.length; v++) { - while (v >= q.value) { - N = R.next() - q = L.next() - if (q.done) return - } - if (k[v] === E) return N.value - } - return undefined - } - const getMode = (k, v, E) => { - const P = k.getModule(v) - if (!P) { - const k = new ExportMode('missing') - k.userRequest = v.userRequest - return k - } - const L = v.name - const N = Te(E) - const q = k.getParentModule(v) - const ae = k.getExportsInfo(q) - if (L ? ae.getUsed(L, N) === R.Unused : ae.isUsed(N) === false) { - const k = new ExportMode('unused') - k.name = L || '*' - return k - } - const le = P.getExportsType(k, q.buildMeta.strictHarmonyModule) - const pe = v.getIds(k) - if (L && pe.length > 0 && pe[0] === 'default') { - switch (le) { - case 'dynamic': { - const k = new ExportMode('reexport-dynamic-default') - k.name = L - return k - } - case 'default-only': - case 'default-with-named': { - const k = ae.getReadOnlyExportInfo(L) - const v = new ExportMode('reexport-named-default') - v.name = L - v.partialNamespaceExportInfo = k - return v - } - } - } - if (L) { - let k - const v = ae.getReadOnlyExportInfo(L) - if (pe.length > 0) { - switch (le) { - case 'default-only': - k = new ExportMode('reexport-undefined') - k.name = L - break - default: - k = new ExportMode('normal-reexport') - k.items = [new NormalReexportItem(L, pe, v, false, false)] - break - } - } else { - switch (le) { - case 'default-only': - k = new ExportMode('reexport-fake-namespace-object') - k.name = L - k.partialNamespaceExportInfo = v - k.fakeType = 0 - break - case 'default-with-named': - k = new ExportMode('reexport-fake-namespace-object') - k.name = L - k.partialNamespaceExportInfo = v - k.fakeType = 2 - break - case 'dynamic': - default: - k = new ExportMode('reexport-namespace-object') - k.name = L - k.partialNamespaceExportInfo = v - } - } - return k - } - const { - ignoredExports: me, - exports: ye, - checked: _e, - hidden: Ie, - } = v.getStarReexports(k, N, ae, P) - if (!ye) { - const k = new ExportMode('dynamic-reexport') - k.ignored = me - k.hidden = Ie - return k - } - if (ye.size === 0) { - const k = new ExportMode('empty-star') - k.hidden = Ie - return k - } - const Me = new ExportMode('normal-reexport') - Me.items = Array.from( - ye, - (k) => - new NormalReexportItem( - k, - [k], - ae.getReadOnlyExportInfo(k), - _e.has(k), - false - ) - ) - if (Ie !== undefined) { - for (const k of Ie) { - Me.items.push( - new NormalReexportItem( - k, - [k], - ae.getReadOnlyExportInfo(k), - false, - true - ) - ) - } - } - return Me - } - class HarmonyExportImportedSpecifierDependency extends Ne { - constructor(k, v, E, P, R, L, N, q, ae) { - super(k, v, ae) - this.ids = E - this.name = P - this.activeExports = R - this.otherStarExports = L - this.exportPresenceMode = N - this.allStarExports = q - } - couldAffectReferencingModule() { - return P.TRANSITIVE - } - 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(k) { - return k.getMeta(this)[Ue] || this.ids - } - setIds(k, v) { - k.getMeta(this)[Ue] = v - } - getMode(k, v) { - return k.dependencyCacheProvide(this, Me(v), getMode) - } - getStarReexports( - k, - v, - E = k.getExportsInfo(k.getParentModule(this)), - P = k.getModule(this) - ) { - const L = k.getExportsInfo(P) - const N = L.otherExportsInfo.provided === false - const q = E.otherExportsInfo.getUsed(v) === R.Unused - const ae = new Set(['default', ...this.activeExports]) - let le = undefined - const pe = this._discoverActiveExportsFromOtherStarExports(k) - if (pe !== undefined) { - le = new Set() - for (let k = 0; k < pe.namesSlice; k++) { - le.add(pe.names[k]) - } - for (const k of ae) le.delete(k) - } - if (!N && !q) { - return { ignoredExports: ae, hidden: le } - } - const me = new Set() - const ye = new Set() - const _e = le !== undefined ? new Set() : undefined - if (q) { - for (const k of E.orderedExports) { - const E = k.name - if (ae.has(E)) continue - if (k.getUsed(v) === R.Unused) continue - const P = L.getReadOnlyExportInfo(E) - if (P.provided === false) continue - if (le !== undefined && le.has(E)) { - _e.add(E) - continue - } - me.add(E) - if (P.provided === true) continue - ye.add(E) - } - } else if (N) { - for (const k of L.orderedExports) { - const P = k.name - if (ae.has(P)) continue - if (k.provided === false) continue - const L = E.getReadOnlyExportInfo(P) - if (L.getUsed(v) === R.Unused) continue - if (le !== undefined && le.has(P)) { - _e.add(P) - continue - } - me.add(P) - if (k.provided === true) continue - ye.add(P) - } - } - return { ignoredExports: ae, exports: me, checked: ye, hidden: _e } - } - getCondition(k) { - return (v, E) => { - const P = this.getMode(k, E) - return P.type !== 'unused' && P.type !== 'empty-star' - } - } - getModuleEvaluationSideEffectsState(k) { - return false - } - getReferencedExports(k, v) { - const E = this.getMode(k, v) - switch (E.type) { - case 'missing': - case 'unused': - case 'empty-star': - case 'reexport-undefined': - return P.NO_EXPORTS_REFERENCED - case 'reexport-dynamic-default': - return P.EXPORTS_OBJECT_REFERENCED - case 'reexport-named-default': { - if (!E.partialNamespaceExportInfo) - return P.EXPORTS_OBJECT_REFERENCED - const k = [] - Be(v, k, [], E.partialNamespaceExportInfo) - return k - } - case 'reexport-namespace-object': - case 'reexport-fake-namespace-object': { - if (!E.partialNamespaceExportInfo) - return P.EXPORTS_OBJECT_REFERENCED - const k = [] - Be( - v, - k, - [], - E.partialNamespaceExportInfo, - E.type === 'reexport-fake-namespace-object' - ) - return k - } - case 'dynamic-reexport': - return P.EXPORTS_OBJECT_REFERENCED - case 'normal-reexport': { - const k = [] - for (const { ids: P, exportInfo: R, hidden: L } of E.items) { - if (L) continue - Be(v, k, P, R, false) - } - return k - } - default: - throw new Error(`Unknown mode ${E.type}`) - } - } - _discoverActiveExportsFromOtherStarExports(k) { - if (!this.otherStarExports) return undefined - const v = - 'length' in this.otherStarExports - ? this.otherStarExports.length - : le(this.otherStarExports) - if (v === 0) return undefined - if (this.allStarExports) { - const { names: E, dependencyIndices: P } = k.cached( - determineExportAssignments, - this.allStarExports.dependencies - ) - return { - names: E, - namesSlice: P[v - 1], - dependencyIndices: P, - dependencyIndex: v, - } - } - const { names: E, dependencyIndices: P } = k.cached( - determineExportAssignments, - this.otherStarExports, - this - ) - return { - names: E, - namesSlice: P[v - 1], - dependencyIndices: P, - dependencyIndex: v, - } - } - getExports(k) { - const v = this.getMode(k, undefined) - switch (v.type) { - case 'missing': - return undefined - case 'dynamic-reexport': { - const E = k.getConnection(this) - return { - exports: true, - from: E, - canMangle: false, - excludeExports: v.hidden ? me(v.ignored, v.hidden) : v.ignored, - hideExports: v.hidden, - dependencies: [E.module], - } - } - case 'empty-star': - return { - exports: [], - hideExports: v.hidden, - dependencies: [k.getModule(this)], - } - case 'normal-reexport': { - const E = k.getConnection(this) - return { - exports: Array.from(v.items, (k) => ({ - name: k.name, - from: E, - export: k.ids, - hidden: k.hidden, - })), - priority: 1, - dependencies: [E.module], - } - } - case 'reexport-dynamic-default': { - { - const E = k.getConnection(this) - return { - exports: [{ name: v.name, from: E, export: ['default'] }], - priority: 1, - dependencies: [E.module], - } - } - } - case 'reexport-undefined': - return { exports: [v.name], dependencies: [k.getModule(this)] } - case 'reexport-fake-namespace-object': { - const E = k.getConnection(this) - return { - exports: [ - { - name: v.name, - from: E, - export: null, - exports: [ - { - name: 'default', - canMangle: false, - from: E, - export: null, - }, - ], - }, - ], - priority: 1, - dependencies: [E.module], - } - } - case 'reexport-namespace-object': { - const E = k.getConnection(this) - return { - exports: [{ name: v.name, from: E, export: null }], - priority: 1, - dependencies: [E.module], - } - } - case 'reexport-named-default': { - const E = k.getConnection(this) - return { - exports: [{ name: v.name, from: E, export: ['default'] }], - priority: 1, - dependencies: [E.module], - } - } - default: - throw new Error(`Unknown mode ${v.type}`) - } - } - _getEffectiveExportPresenceLevel(k) { - if (this.exportPresenceMode !== qe.AUTO) - return this.exportPresenceMode - return k.getParentModule(this).buildMeta.strictHarmonyModule - ? qe.ERROR - : qe.WARN - } - getWarnings(k) { - const v = this._getEffectiveExportPresenceLevel(k) - if (v === qe.WARN) { - return this._getErrors(k) - } - return null - } - getErrors(k) { - const v = this._getEffectiveExportPresenceLevel(k) - if (v === qe.ERROR) { - return this._getErrors(k) - } - return null - } - _getErrors(k) { - const v = this.getIds(k) - let E = this.getLinkingErrors(k, v, `(reexported as '${this.name}')`) - if (v.length === 0 && this.name === null) { - const v = this._discoverActiveExportsFromOtherStarExports(k) - if (v && v.namesSlice > 0) { - const P = new Set( - v.names.slice( - v.namesSlice, - v.dependencyIndices[v.dependencyIndex] - ) - ) - const R = k.getModule(this) - if (R) { - const N = k.getExportsInfo(R) - const q = new Map() - for (const E of N.orderedExports) { - if (E.provided !== true) continue - if (E.name === 'default') continue - if (this.activeExports.has(E.name)) continue - if (P.has(E.name)) continue - const L = findDependencyForName( - v, - E.name, - this.allStarExports - ? this.allStarExports.dependencies - : [...this.otherStarExports, this] - ) - if (!L) continue - const N = E.getTerminalBinding(k) - if (!N) continue - const ae = k.getModule(L) - if (ae === R) continue - const le = k.getExportInfo(ae, E.name) - const pe = le.getTerminalBinding(k) - if (!pe) continue - if (N === pe) continue - const me = q.get(L.request) - if (me === undefined) { - q.set(L.request, [E.name]) - } else { - me.push(E.name) - } - } - for (const [k, v] of q) { - if (!E) E = [] - E.push( - new L( - `The requested module '${ - this.request - }' contains conflicting star exports for the ${ - v.length > 1 ? 'names' : 'name' - } ${v - .map((k) => `'${k}'`) - .join(', ')} with the previous requested module '${k}'` - ) - ) - } - } - } - } - return E - } - serialize(k) { - const { write: v, setCircularReference: E } = k - E(this) - v(this.ids) - v(this.name) - v(this.activeExports) - v(this.otherStarExports) - v(this.exportPresenceMode) - v(this.allStarExports) - super.serialize(k) - } - deserialize(k) { - const { read: v, setCircularReference: E } = k - E(this) - this.ids = v() - this.name = v() - this.activeExports = v() - this.otherStarExports = v() - this.exportPresenceMode = v() - this.allStarExports = v() - super.deserialize(k) - } - } - ye( - HarmonyExportImportedSpecifierDependency, - 'webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency' - ) - k.exports = HarmonyExportImportedSpecifierDependency - HarmonyExportImportedSpecifierDependency.Template = class HarmonyExportImportedSpecifierDependencyTemplate extends ( - Ne.Template - ) { - apply(k, v, E) { - const { moduleGraph: P, runtime: R, concatenationScope: L } = E - const N = k - const q = N.getMode(P, R) - if (L) { - switch (q.type) { - case 'reexport-undefined': - L.registerRawExport( - q.name, - '/* reexport non-default export from non-harmony */ undefined' - ) - } - return - } - if (q.type !== 'unused' && q.type !== 'empty-star') { - super.apply(k, v, E) - this._addExportFragments( - E.initFragments, - N, - q, - E.module, - P, - R, - E.runtimeTemplate, - E.runtimeRequirements - ) - } - } - _addExportFragments(k, v, E, P, R, L, le, ye) { - const _e = R.getModule(v) - const Ie = v.getImportVar(R) - switch (E.type) { - case 'missing': - case 'empty-star': - k.push( - new N( - '/* empty/unused harmony star reexport */\n', - N.STAGE_HARMONY_EXPORTS, - 1 - ) - ) - break - case 'unused': - k.push( - new N( - `${ae.toNormalComment( - `unused harmony reexport ${E.name}` - )}\n`, - N.STAGE_HARMONY_EXPORTS, - 1 - ) - ) - break - case 'reexport-dynamic-default': - k.push( - this.getReexportFragment( - P, - 'reexport default from dynamic', - R.getExportsInfo(P).getUsedName(E.name, L), - Ie, - null, - ye - ) - ) - break - case 'reexport-fake-namespace-object': - k.push( - ...this.getReexportFakeNamespaceObjectFragments( - P, - R.getExportsInfo(P).getUsedName(E.name, L), - Ie, - E.fakeType, - ye - ) - ) - break - case 'reexport-undefined': - k.push( - this.getReexportFragment( - P, - 'reexport non-default export from non-harmony', - R.getExportsInfo(P).getUsedName(E.name, L), - 'undefined', - '', - ye - ) - ) - break - case 'reexport-named-default': - k.push( - this.getReexportFragment( - P, - 'reexport default export from named module', - R.getExportsInfo(P).getUsedName(E.name, L), - Ie, - '', - ye - ) - ) - break - case 'reexport-namespace-object': - k.push( - this.getReexportFragment( - P, - 'reexport module object', - R.getExportsInfo(P).getUsedName(E.name, L), - Ie, - '', - ye - ) - ) - break - case 'normal-reexport': - for (const { - name: q, - ids: ae, - checked: le, - hidden: pe, - } of E.items) { - if (pe) continue - if (le) { - k.push( - new N( - '/* harmony reexport (checked) */ ' + - this.getConditionalReexportStatement(P, q, Ie, ae, ye), - R.isAsync(_e) - ? N.STAGE_ASYNC_HARMONY_IMPORTS - : N.STAGE_HARMONY_IMPORTS, - v.sourceOrder - ) - ) - } else { - k.push( - this.getReexportFragment( - P, - 'reexport safe', - R.getExportsInfo(P).getUsedName(q, L), - Ie, - R.getExportsInfo(_e).getUsedName(ae, L), - ye - ) - ) - } - } - break - case 'dynamic-reexport': { - const L = E.hidden ? me(E.ignored, E.hidden) : E.ignored - const ae = le.supportsConst() && le.supportsArrowFunction() - let Me = - '/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n' + - `/* harmony reexport (unknown) */ for(${ - ae ? 'const' : 'var' - } __WEBPACK_IMPORT_KEY__ in ${Ie}) ` - if (L.size > 1) { - Me += - 'if(' + - JSON.stringify(Array.from(L)) + - '.indexOf(__WEBPACK_IMPORT_KEY__) < 0) ' - } else if (L.size === 1) { - Me += `if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(pe(L))}) ` - } - Me += `__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = ` - if (ae) { - Me += `() => ${Ie}[__WEBPACK_IMPORT_KEY__]` - } else { - Me += `function(key) { return ${Ie}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)` - } - ye.add(q.exports) - ye.add(q.definePropertyGetters) - const Te = P.exportsArgument - k.push( - new N( - `${Me}\n/* harmony reexport (unknown) */ ${q.definePropertyGetters}(${Te}, __WEBPACK_REEXPORT_OBJECT__);\n`, - R.isAsync(_e) - ? N.STAGE_ASYNC_HARMONY_IMPORTS - : N.STAGE_HARMONY_IMPORTS, - v.sourceOrder - ) - ) - break - } - default: - throw new Error(`Unknown mode ${E.type}`) - } - } - getReexportFragment(k, v, E, P, R, L) { - const N = this.getReturnValue(P, R) - L.add(q.exports) - L.add(q.definePropertyGetters) - const ae = new Map() - ae.set(E, `/* ${v} */ ${N}`) - return new je(k.exportsArgument, ae) - } - getReexportFakeNamespaceObjectFragments(k, v, E, P, R) { - R.add(q.exports) - R.add(q.definePropertyGetters) - R.add(q.createFakeNamespaceObject) - const L = new Map() - L.set( - v, - `/* reexport fake namespace object from non-harmony */ ${E}_namespace_cache || (${E}_namespace_cache = ${ - q.createFakeNamespaceObject - }(${E}${P ? `, ${P}` : ''}))` - ) - return [ - new N( - `var ${E}_namespace_cache;\n`, - N.STAGE_CONSTANTS, - -1, - `${E}_namespace_cache` - ), - new je(k.exportsArgument, L), - ] - } - getConditionalReexportStatement(k, v, E, P, R) { - if (P === false) { - return '/* unused export */\n' - } - const L = k.exportsArgument - const N = this.getReturnValue(E, P) - R.add(q.exports) - R.add(q.definePropertyGetters) - R.add(q.hasOwnProperty) - return `if(${q.hasOwnProperty}(${E}, ${JSON.stringify(P[0])})) ${ - q.definePropertyGetters - }(${L}, { ${Ie(v)}: function() { return ${N}; } });\n` - } - getReturnValue(k, v) { - if (v === null) { - return `${k}_default.a` - } - if (v === '') { - return k - } - if (v === false) { - return '/* unused export */ undefined' - } - return `${k}${_e(v)}` - } - } - class HarmonyStarExportsList { - constructor() { - this.dependencies = [] - } - push(k) { - this.dependencies.push(k) - } - slice() { - return this.dependencies.slice() - } - serialize({ write: k, setCircularReference: v }) { - v(this) - k(this.dependencies) - } - deserialize({ read: k, setCircularReference: v }) { - v(this) - this.dependencies = k() - } - } - ye( - HarmonyStarExportsList, - 'webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency', - 'HarmonyStarExportsList' - ) - k.exports.HarmonyStarExportsList = HarmonyStarExportsList - }, - 89661: function (k, v, E) { - 'use strict' - const P = E(88113) - const R = E(56727) - const { first: L } = E(59959) - const { propertyName: N } = E(72627) - const joinIterableWithComma = (k) => { - let v = '' - let E = true - for (const P of k) { - if (E) { - E = false - } else { - v += ', ' - } - v += P - } - return v - } - const q = new Map() - const ae = new Set() - class HarmonyExportInitFragment extends P { - constructor(k, v = q, E = ae) { - super(undefined, P.STAGE_HARMONY_EXPORTS, 1, 'harmony-exports') - this.exportsArgument = k - this.exportMap = v - this.unusedExports = E - } - mergeAll(k) { - let v - let E = false - let P - let R = false - for (const L of k) { - if (L.exportMap.size !== 0) { - if (v === undefined) { - v = L.exportMap - E = false - } else { - if (!E) { - v = new Map(v) - E = true - } - for (const [k, E] of L.exportMap) { - if (!v.has(k)) v.set(k, E) - } - } - } - if (L.unusedExports.size !== 0) { - if (P === undefined) { - P = L.unusedExports - R = false - } else { - if (!R) { - P = new Set(P) - R = true - } - for (const k of L.unusedExports) { - P.add(k) - } - } - } - } - return new HarmonyExportInitFragment(this.exportsArgument, v, P) - } - merge(k) { - let v - if (this.exportMap.size === 0) { - v = k.exportMap - } else if (k.exportMap.size === 0) { - v = this.exportMap - } else { - v = new Map(k.exportMap) - for (const [k, E] of this.exportMap) { - if (!v.has(k)) v.set(k, E) - } - } - let E - if (this.unusedExports.size === 0) { - E = k.unusedExports - } else if (k.unusedExports.size === 0) { - E = this.unusedExports - } else { - E = new Set(k.unusedExports) - for (const k of this.unusedExports) { - E.add(k) - } - } - return new HarmonyExportInitFragment(this.exportsArgument, v, E) - } - getContent({ runtimeTemplate: k, runtimeRequirements: v }) { - v.add(R.exports) - v.add(R.definePropertyGetters) - const E = - this.unusedExports.size > 1 - ? `/* unused harmony exports ${joinIterableWithComma( - this.unusedExports - )} */\n` - : this.unusedExports.size > 0 - ? `/* unused harmony export ${L(this.unusedExports)} */\n` - : '' - const P = [] - const q = Array.from(this.exportMap).sort(([k], [v]) => - k < v ? -1 : 1 - ) - for (const [v, E] of q) { - P.push( - `\n/* harmony export */ ${N(v)}: ${k.returningFunction(E)}` - ) - } - const ae = - this.exportMap.size > 0 - ? `/* harmony export */ ${R.definePropertyGetters}(${ - this.exportsArgument - }, {${P.join(',')}\n/* harmony export */ });\n` - : '' - return `${ae}${E}` - } - } - k.exports = HarmonyExportInitFragment - }, - 95040: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(89661) - const L = E(53139) - class HarmonyExportSpecifierDependency extends L { - constructor(k, v) { - super() - this.id = k - this.name = v - } - get type() { - return 'harmony export specifier' - } - getExports(k) { - return { - exports: [this.name], - priority: 1, - terminalBinding: true, - dependencies: undefined, - } - } - getModuleEvaluationSideEffectsState(k) { - return false - } - serialize(k) { - const { write: v } = k - v(this.id) - v(this.name) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.id = v() - this.name = v() - super.deserialize(k) - } - } - P( - HarmonyExportSpecifierDependency, - 'webpack/lib/dependencies/HarmonyExportSpecifierDependency' - ) - HarmonyExportSpecifierDependency.Template = class HarmonyExportSpecifierDependencyTemplate extends ( - L.Template - ) { - apply( - k, - v, - { - module: E, - moduleGraph: P, - initFragments: L, - runtime: N, - concatenationScope: q, - } - ) { - const ae = k - if (q) { - q.registerExport(ae.name, ae.id) - return - } - const le = P.getExportsInfo(E).getUsedName(ae.name, N) - if (!le) { - const k = new Set() - k.add(ae.name || 'namespace') - L.push(new R(E.exportsArgument, undefined, k)) - return - } - const pe = new Map() - pe.set(le, `/* binding */ ${ae.id}`) - L.push(new R(E.exportsArgument, pe, undefined)) - } - } - k.exports = HarmonyExportSpecifierDependency - }, - 71803: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = new WeakMap() - v.enable = (k, v) => { - const E = R.get(k) - if (E === false) return - R.set(k, true) - if (E !== true) { - k.module.buildMeta.exportsType = 'namespace' - k.module.buildInfo.strict = true - k.module.buildInfo.exportsArgument = P.exports - if (v) { - k.module.buildMeta.strictHarmonyModule = true - k.module.buildInfo.moduleArgument = '__webpack_module__' - } - } - } - v.isEnabled = (k) => { - const v = R.get(k) - return v === true - } - }, - 69184: function (k, v, E) { - 'use strict' - const P = E(33769) - const R = E(16848) - const L = E(36473) - const N = E(88113) - const q = E(95041) - const ae = E(55770) - const { filterRuntime: le, mergeRuntime: pe } = E(1540) - const me = E(77373) - const ye = { - NONE: 0, - WARN: 1, - AUTO: 2, - ERROR: 3, - fromUserOption(k) { - switch (k) { - case 'error': - return ye.ERROR - case 'warn': - return ye.WARN - case 'auto': - return ye.AUTO - case false: - return ye.NONE - default: - throw new Error(`Invalid export presence value ${k}`) - } - }, - } - class HarmonyImportDependency extends me { - constructor(k, v, E) { - super(k) - this.sourceOrder = v - this.assertions = E - } - get category() { - return 'esm' - } - getReferencedExports(k, v) { - return R.NO_EXPORTS_REFERENCED - } - getImportVar(k) { - const v = k.getParentModule(this) - const E = k.getMeta(v) - let P = E.importVarMap - if (!P) E.importVarMap = P = new Map() - let R = P.get(k.getModule(this)) - if (R) return R - R = `${q.toIdentifier( - `${this.userRequest}` - )}__WEBPACK_IMPORTED_MODULE_${P.size}__` - P.set(k.getModule(this), R) - return R - } - getImportStatement( - k, - { - runtimeTemplate: v, - module: E, - moduleGraph: P, - chunkGraph: R, - runtimeRequirements: L, - } - ) { - return v.importStatement({ - update: k, - module: P.getModule(this), - chunkGraph: R, - importVar: this.getImportVar(P), - request: this.request, - originModule: E, - runtimeRequirements: L, - }) - } - getLinkingErrors(k, v, E) { - const P = k.getModule(this) - if (!P || P.getNumberOfErrors() > 0) { - return - } - const R = k.getParentModule(this) - const N = P.getExportsType(k, R.buildMeta.strictHarmonyModule) - if (N === 'namespace' || N === 'default-with-named') { - if (v.length === 0) { - return - } - if ( - (N !== 'default-with-named' || v[0] !== 'default') && - k.isExportProvided(P, v) === false - ) { - let R = 0 - let N = k.getExportsInfo(P) - while (R < v.length && N) { - const k = v[R++] - const P = N.getReadOnlyExportInfo(k) - if (P.provided === false) { - const k = N.getProvidedExports() - const P = !Array.isArray(k) - ? ' (possible exports unknown)' - : k.length === 0 - ? ' (module has no exports)' - : ` (possible exports: ${k.join(', ')})` - return [ - new L( - `export ${v - .slice(0, R) - .map((k) => `'${k}'`) - .join('.')} ${E} was not found in '${ - this.userRequest - }'${P}` - ), - ] - } - N = P.getNestedExportsInfo() - } - return [ - new L( - `export ${v - .map((k) => `'${k}'`) - .join('.')} ${E} was not found in '${this.userRequest}'` - ), - ] - } - } - switch (N) { - case 'default-only': - if (v.length > 0 && v[0] !== 'default') { - return [ - new L( - `Can't import the named export ${v - .map((k) => `'${k}'`) - .join( - '.' - )} ${E} from default-exporting module (only default export is available)` - ), - ] - } - break - case 'default-with-named': - if ( - v.length > 0 && - v[0] !== 'default' && - P.buildMeta.defaultObject === 'redirect-warn' - ) { - return [ - new L( - `Should not import the named export ${v - .map((k) => `'${k}'`) - .join( - '.' - )} ${E} from default-exporting module (only default export is available soon)` - ), - ] - } - break - } - } - serialize(k) { - const { write: v } = k - v(this.sourceOrder) - v(this.assertions) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.sourceOrder = v() - this.assertions = v() - super.deserialize(k) - } - } - k.exports = HarmonyImportDependency - const _e = new WeakMap() - HarmonyImportDependency.Template = class HarmonyImportDependencyTemplate extends ( - me.Template - ) { - apply(k, v, E) { - const R = k - const { module: L, chunkGraph: q, moduleGraph: me, runtime: ye } = E - const Ie = me.getConnection(R) - if (Ie && !Ie.isTargetActive(ye)) return - const Me = Ie && Ie.module - if (Ie && Ie.weak && Me && q.getModuleId(Me) === null) { - return - } - const Te = Me ? Me.identifier() : R.request - const je = `harmony import ${Te}` - const Ne = R.weak - ? false - : Ie - ? le(ye, (k) => Ie.isTargetActive(k)) - : true - if (L && Me) { - let k = _e.get(L) - if (k === undefined) { - k = new WeakMap() - _e.set(L, k) - } - let v = Ne - const E = k.get(Me) || false - if (E !== false && v !== true) { - if (v === false || E === true) { - v = E - } else { - v = pe(E, v) - } - } - k.set(Me, v) - } - const Be = R.getImportStatement(false, E) - if (Me && E.moduleGraph.isAsync(Me)) { - E.initFragments.push( - new P(Be[0], N.STAGE_HARMONY_IMPORTS, R.sourceOrder, je, Ne) - ) - E.initFragments.push( - new ae(new Set([R.getImportVar(E.moduleGraph)])) - ) - E.initFragments.push( - new P( - Be[1], - N.STAGE_ASYNC_HARMONY_IMPORTS, - R.sourceOrder, - je + ' compat', - Ne - ) - ) - } else { - E.initFragments.push( - new P( - Be[0] + Be[1], - N.STAGE_HARMONY_IMPORTS, - R.sourceOrder, - je, - Ne - ) - ) - } - } - static getImportEmittedRuntime(k, v) { - const E = _e.get(k) - if (E === undefined) return false - return E.get(v) || false - } - } - k.exports.ExportPresenceModes = ye - }, - 57737: function (k, v, E) { - 'use strict' - const P = E(29898) - const R = E(88926) - const L = E(60381) - const N = E(95077) - const q = E(46325) - const ae = E(5107) - const le = E(71803) - const { ExportPresenceModes: pe } = E(69184) - const me = E(59398) - const ye = E(56390) - const _e = Symbol('harmony import') - function getAssertions(k) { - const v = k.assertions - if (v === undefined) { - return undefined - } - const E = {} - for (const k of v) { - const v = k.key.type === 'Identifier' ? k.key.name : k.key.value - E[v] = k.value.value - } - return E - } - k.exports = class HarmonyImportDependencyParserPlugin { - constructor(k) { - this.exportPresenceMode = - k.importExportsPresence !== undefined - ? pe.fromUserOption(k.importExportsPresence) - : k.exportsPresence !== undefined - ? pe.fromUserOption(k.exportsPresence) - : k.strictExportPresence - ? pe.ERROR - : pe.AUTO - this.strictThisContextOnImports = k.strictThisContextOnImports - } - apply(k) { - const { exportPresenceMode: v } = this - function getNonOptionalPart(k, v) { - let E = 0 - while (E < k.length && v[E] === false) E++ - return E !== k.length ? k.slice(0, E) : k - } - function getNonOptionalMemberChain(k, v) { - while (v--) k = k.object - return k - } - k.hooks.isPure - .for('Identifier') - .tap('HarmonyImportDependencyParserPlugin', (v) => { - const E = v - if (k.isVariableDefined(E.name) || k.getTagData(E.name, _e)) { - return true - } - }) - k.hooks.import.tap('HarmonyImportDependencyParserPlugin', (v, E) => { - k.state.lastHarmonyImportOrder = - (k.state.lastHarmonyImportOrder || 0) + 1 - const P = new L(k.isAsiPosition(v.range[0]) ? ';' : '', v.range) - P.loc = v.loc - k.state.module.addPresentationalDependency(P) - k.unsetAsiPosition(v.range[1]) - const R = getAssertions(v) - const N = new me(E, k.state.lastHarmonyImportOrder, R) - N.loc = v.loc - k.state.module.addDependency(N) - return true - }) - k.hooks.importSpecifier.tap( - 'HarmonyImportDependencyParserPlugin', - (v, E, P, R) => { - const L = P === null ? [] : [P] - k.tagVariable(R, _e, { - name: R, - source: E, - ids: L, - sourceOrder: k.state.lastHarmonyImportOrder, - assertions: getAssertions(v), - }) - return true - } - ) - k.hooks.binaryExpression.tap( - 'HarmonyImportDependencyParserPlugin', - (v) => { - if (v.operator !== 'in') return - const E = k.evaluateExpression(v.left) - if (E.couldHaveSideEffects()) return - const P = E.asString() - if (!P) return - const L = k.evaluateExpression(v.right) - if (!L.isIdentifier()) return - const N = L.rootInfo - if ( - typeof N === 'string' || - !N || - !N.tagInfo || - N.tagInfo.tag !== _e - ) - return - const q = N.tagInfo.data - const le = L.getMembers() - const pe = new ae( - q.source, - q.sourceOrder, - q.ids.concat(le).concat([P]), - q.name, - v.range, - q.assertions, - 'in' - ) - pe.directImport = le.length === 0 - pe.asiSafe = !k.isAsiPosition(v.range[0]) - pe.loc = v.loc - k.state.module.addDependency(pe) - R.onUsage(k.state, (k) => (pe.usedByExports = k)) - return true - } - ) - k.hooks.expression - .for(_e) - .tap('HarmonyImportDependencyParserPlugin', (E) => { - const P = k.currentTagData - const L = new ye( - P.source, - P.sourceOrder, - P.ids, - P.name, - E.range, - v, - P.assertions, - [] - ) - L.referencedPropertiesInDestructuring = - k.destructuringAssignmentPropertiesFor(E) - L.shorthand = k.scope.inShorthand - L.directImport = true - L.asiSafe = !k.isAsiPosition(E.range[0]) - L.loc = E.loc - k.state.module.addDependency(L) - R.onUsage(k.state, (k) => (L.usedByExports = k)) - return true - }) - k.hooks.expressionMemberChain - .for(_e) - .tap('HarmonyImportDependencyParserPlugin', (E, P, L, N) => { - const q = k.currentTagData - const ae = getNonOptionalPart(P, L) - const le = N.slice(0, N.length - (P.length - ae.length)) - const pe = - ae !== P - ? getNonOptionalMemberChain(E, P.length - ae.length) - : E - const me = q.ids.concat(ae) - const _e = new ye( - q.source, - q.sourceOrder, - me, - q.name, - pe.range, - v, - q.assertions, - le - ) - _e.referencedPropertiesInDestructuring = - k.destructuringAssignmentPropertiesFor(pe) - _e.asiSafe = !k.isAsiPosition(pe.range[0]) - _e.loc = pe.loc - k.state.module.addDependency(_e) - R.onUsage(k.state, (k) => (_e.usedByExports = k)) - return true - }) - k.hooks.callMemberChain - .for(_e) - .tap('HarmonyImportDependencyParserPlugin', (E, P, L, N) => { - const { arguments: q, callee: ae } = E - const le = k.currentTagData - const pe = getNonOptionalPart(P, L) - const me = N.slice(0, N.length - (P.length - pe.length)) - const _e = - pe !== P - ? getNonOptionalMemberChain(ae, P.length - pe.length) - : ae - const Ie = le.ids.concat(pe) - const Me = new ye( - le.source, - le.sourceOrder, - Ie, - le.name, - _e.range, - v, - le.assertions, - me - ) - Me.directImport = P.length === 0 - Me.call = true - Me.asiSafe = !k.isAsiPosition(_e.range[0]) - Me.namespaceObjectAsContext = - P.length > 0 && this.strictThisContextOnImports - Me.loc = _e.loc - k.state.module.addDependency(Me) - if (q) k.walkExpressions(q) - R.onUsage(k.state, (k) => (Me.usedByExports = k)) - return true - }) - const { hotAcceptCallback: E, hotAcceptWithoutCallback: pe } = - P.getParserHooks(k) - E.tap('HarmonyImportDependencyParserPlugin', (v, E) => { - if (!le.isEnabled(k.state)) { - return - } - const P = E.map((E) => { - const P = new q(E) - P.loc = v.loc - k.state.module.addDependency(P) - return P - }) - if (P.length > 0) { - const E = new N(v.range, P, true) - E.loc = v.loc - k.state.module.addDependency(E) - } - }) - pe.tap('HarmonyImportDependencyParserPlugin', (v, E) => { - if (!le.isEnabled(k.state)) { - return - } - const P = E.map((E) => { - const P = new q(E) - P.loc = v.loc - k.state.module.addDependency(P) - return P - }) - if (P.length > 0) { - const E = new N(v.range, P, false) - E.loc = v.loc - k.state.module.addDependency(E) - } - }) - } - } - k.exports.harmonySpecifierTag = _e - k.exports.getAssertions = getAssertions - }, - 59398: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(69184) - class HarmonyImportSideEffectDependency extends R { - constructor(k, v, E) { - super(k, v, E) - } - get type() { - return 'harmony side effect evaluation' - } - getCondition(k) { - return (v) => { - const E = v.resolvedModule - if (!E) return true - return E.getSideEffectsConnectionState(k) - } - } - getModuleEvaluationSideEffectsState(k) { - const v = k.getModule(this) - if (!v) return true - return v.getSideEffectsConnectionState(k) - } - } - P( - HarmonyImportSideEffectDependency, - 'webpack/lib/dependencies/HarmonyImportSideEffectDependency' - ) - HarmonyImportSideEffectDependency.Template = class HarmonyImportSideEffectDependencyTemplate extends ( - R.Template - ) { - apply(k, v, E) { - const { moduleGraph: P, concatenationScope: R } = E - if (R) { - const v = P.getModule(k) - if (R.isModuleInScope(v)) { - return - } - } - super.apply(k, v, E) - } - } - k.exports = HarmonyImportSideEffectDependency - }, - 56390: function (k, v, E) { - 'use strict' - const P = E(16848) - const { getDependencyUsedByExportsCondition: R } = E(88926) - const L = E(58528) - const N = E(10720) - const q = E(69184) - const ae = Symbol('HarmonyImportSpecifierDependency.ids') - const { ExportPresenceModes: le } = q - class HarmonyImportSpecifierDependency extends q { - constructor(k, v, E, P, R, L, N, q) { - super(k, v, N) - this.ids = E - this.name = P - this.range = R - this.idRanges = q - this.exportPresenceMode = L - this.namespaceObjectAsContext = false - this.call = undefined - this.directImport = undefined - this.shorthand = undefined - this.asiSafe = undefined - this.usedByExports = undefined - this.referencedPropertiesInDestructuring = 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(k) { - const v = k.getMetaIfExisting(this) - if (v === undefined) return this.ids - const E = v[ae] - return E !== undefined ? E : this.ids - } - setIds(k, v) { - k.getMeta(this)[ae] = v - } - getCondition(k) { - return R(this, this.usedByExports, k) - } - getModuleEvaluationSideEffectsState(k) { - return false - } - getReferencedExports(k, v) { - let E = this.getIds(k) - if (E.length === 0) return this._getReferencedExportsInDestructuring() - let R = this.namespaceObjectAsContext - if (E[0] === 'default') { - const v = k.getParentModule(this) - const L = k.getModule(this) - switch (L.getExportsType(k, v.buildMeta.strictHarmonyModule)) { - case 'default-only': - case 'default-with-named': - if (E.length === 1) - return this._getReferencedExportsInDestructuring() - E = E.slice(1) - R = true - break - case 'dynamic': - return P.EXPORTS_OBJECT_REFERENCED - } - } - if (this.call && !this.directImport && (R || E.length > 1)) { - if (E.length === 1) return P.EXPORTS_OBJECT_REFERENCED - E = E.slice(0, -1) - } - return this._getReferencedExportsInDestructuring(E) - } - _getReferencedExportsInDestructuring(k) { - if (this.referencedPropertiesInDestructuring) { - const v = [] - for (const E of this.referencedPropertiesInDestructuring) { - v.push({ name: k ? k.concat([E]) : [E], canMangle: false }) - } - return v - } else { - return k ? [k] : P.EXPORTS_OBJECT_REFERENCED - } - } - _getEffectiveExportPresenceLevel(k) { - if (this.exportPresenceMode !== le.AUTO) - return this.exportPresenceMode - return k.getParentModule(this).buildMeta.strictHarmonyModule - ? le.ERROR - : le.WARN - } - getWarnings(k) { - const v = this._getEffectiveExportPresenceLevel(k) - if (v === le.WARN) { - return this._getErrors(k) - } - return null - } - getErrors(k) { - const v = this._getEffectiveExportPresenceLevel(k) - if (v === le.ERROR) { - return this._getErrors(k) - } - return null - } - _getErrors(k) { - const v = this.getIds(k) - return this.getLinkingErrors(k, v, `(imported as '${this.name}')`) - } - getNumberOfIdOccurrences() { - return 0 - } - serialize(k) { - const { write: v } = k - v(this.ids) - v(this.name) - v(this.range) - v(this.idRanges) - v(this.exportPresenceMode) - v(this.namespaceObjectAsContext) - v(this.call) - v(this.directImport) - v(this.shorthand) - v(this.asiSafe) - v(this.usedByExports) - v(this.referencedPropertiesInDestructuring) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.ids = v() - this.name = v() - this.range = v() - this.idRanges = v() - this.exportPresenceMode = v() - this.namespaceObjectAsContext = v() - this.call = v() - this.directImport = v() - this.shorthand = v() - this.asiSafe = v() - this.usedByExports = v() - this.referencedPropertiesInDestructuring = v() - super.deserialize(k) - } - } - L( - HarmonyImportSpecifierDependency, - 'webpack/lib/dependencies/HarmonyImportSpecifierDependency' - ) - HarmonyImportSpecifierDependency.Template = class HarmonyImportSpecifierDependencyTemplate extends ( - q.Template - ) { - apply(k, v, E) { - const P = k - const { moduleGraph: R, runtime: L } = E - const N = R.getConnection(P) - if (N && !N.isTargetActive(L)) return - const q = P.getIds(R) - let ae = this._trimIdsToThoseImported(q, R, P) - let [le, pe] = P.range - if (ae.length !== q.length) { - const k = - P.idRanges === undefined - ? -1 - : P.idRanges.length + (ae.length - q.length) - if (k < 0 || k >= P.idRanges.length) { - ae = q - } else { - ;[le, pe] = P.idRanges[k] - } - } - const me = this._getCodeForIds(P, v, E, ae) - if (P.shorthand) { - v.insert(pe, `: ${me}`) - } else { - v.replace(le, pe - 1, me) - } - } - _trimIdsToThoseImported(k, v, E) { - let P = [] - const R = v.getExportsInfo(v.getModule(E)) - let L = R - for (let v = 0; v < k.length; v++) { - if (v === 0 && k[v] === 'default') { - continue - } - const E = L.getExportInfo(k[v]) - if (E.provided === false) { - P = k.slice(0, v) - break - } - const R = E.getNestedExportsInfo() - if (!R) { - P = k.slice(0, v + 1) - break - } - L = R - } - return P.length ? P : k - } - _getCodeForIds(k, v, E, P) { - const { - moduleGraph: R, - module: L, - runtime: q, - concatenationScope: ae, - } = E - const le = R.getConnection(k) - let pe - if (le && ae && ae.isModuleInScope(le.module)) { - if (P.length === 0) { - pe = ae.createModuleReference(le.module, { asiSafe: k.asiSafe }) - } else if (k.namespaceObjectAsContext && P.length === 1) { - pe = - ae.createModuleReference(le.module, { asiSafe: k.asiSafe }) + - N(P) - } else { - pe = ae.createModuleReference(le.module, { - ids: P, - call: k.call, - directImport: k.directImport, - asiSafe: k.asiSafe, - }) - } - } else { - super.apply(k, v, E) - const { - runtimeTemplate: N, - initFragments: ae, - runtimeRequirements: le, - } = E - pe = N.exportFromImport({ - moduleGraph: R, - module: R.getModule(k), - request: k.request, - exportName: P, - originModule: L, - asiSafe: k.shorthand ? true : k.asiSafe, - isCall: k.call, - callContext: !k.directImport, - defaultInterop: true, - importVar: k.getImportVar(R), - initFragments: ae, - runtime: q, - runtimeRequirements: le, - }) - } - return pe - } - } - k.exports = HarmonyImportSpecifierDependency - }, - 64476: function (k, v, E) { - 'use strict' - const P = E(95077) - const R = E(46325) - const L = E(2075) - const N = E(5107) - const q = E(33579) - const ae = E(66057) - const le = E(44827) - const pe = E(95040) - const me = E(59398) - const ye = E(56390) - const { - JAVASCRIPT_MODULE_TYPE_AUTO: _e, - JAVASCRIPT_MODULE_TYPE_ESM: Ie, - } = E(93622) - const Me = E(23144) - const Te = E(33866) - const je = E(57737) - const Ne = E(37848) - const Be = 'HarmonyModulesPlugin' - class HarmonyModulesPlugin { - constructor(k) { - this.options = k - } - apply(k) { - k.hooks.compilation.tap(Be, (k, { normalModuleFactory: v }) => { - k.dependencyTemplates.set(L, new L.Template()) - k.dependencyFactories.set(me, v) - k.dependencyTemplates.set(me, new me.Template()) - k.dependencyFactories.set(ye, v) - k.dependencyTemplates.set(ye, new ye.Template()) - k.dependencyFactories.set(N, v) - k.dependencyTemplates.set(N, new N.Template()) - k.dependencyTemplates.set(ae, new ae.Template()) - k.dependencyTemplates.set(q, new q.Template()) - k.dependencyTemplates.set(pe, new pe.Template()) - k.dependencyFactories.set(le, v) - k.dependencyTemplates.set(le, new le.Template()) - k.dependencyTemplates.set(P, new P.Template()) - k.dependencyFactories.set(R, v) - k.dependencyTemplates.set(R, new R.Template()) - const handler = (k, v) => { - if (v.harmony !== undefined && !v.harmony) return - new Me(this.options).apply(k) - new je(v).apply(k) - new Te(v).apply(k) - new Ne().apply(k) - } - v.hooks.parser.for(_e).tap(Be, handler) - v.hooks.parser.for(Ie).tap(Be, handler) - }) - } - } - k.exports = HarmonyModulesPlugin - }, - 37848: function (k, v, E) { - 'use strict' - const P = E(60381) - const R = E(71803) - class HarmonyTopLevelThisParserPlugin { - apply(k) { - k.hooks.expression - .for('this') - .tap('HarmonyTopLevelThisParserPlugin', (v) => { - if (!k.scope.topLevelScope) return - if (R.isEnabled(k.state)) { - const E = new P('undefined', v.range, null) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - return this - } - }) - } - } - k.exports = HarmonyTopLevelThisParserPlugin - }, - 94722: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(51395) - const L = E(64077) - class ImportContextDependency extends R { - constructor(k, v, E) { - super(k) - this.range = v - this.valueRange = E - } - get type() { - return `import() context ${this.options.mode}` - } - get category() { - return 'esm' - } - serialize(k) { - const { write: v } = k - v(this.valueRange) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.valueRange = v() - super.deserialize(k) - } - } - P( - ImportContextDependency, - 'webpack/lib/dependencies/ImportContextDependency' - ) - ImportContextDependency.Template = L - k.exports = ImportContextDependency - }, - 75516: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(58528) - const L = E(77373) - class ImportDependency extends L { - constructor(k, v, E) { - super(k) - this.range = v - this.referencedExports = E - } - get type() { - return 'import()' - } - get category() { - return 'esm' - } - getReferencedExports(k, v) { - return this.referencedExports - ? this.referencedExports.map((k) => ({ name: k, canMangle: false })) - : P.EXPORTS_OBJECT_REFERENCED - } - serialize(k) { - k.write(this.range) - k.write(this.referencedExports) - super.serialize(k) - } - deserialize(k) { - this.range = k.read() - this.referencedExports = k.read() - super.deserialize(k) - } - } - R(ImportDependency, 'webpack/lib/dependencies/ImportDependency') - ImportDependency.Template = class ImportDependencyTemplate extends ( - L.Template - ) { - apply( - k, - v, - { - runtimeTemplate: E, - module: P, - moduleGraph: R, - chunkGraph: L, - runtimeRequirements: N, - } - ) { - const q = k - const ae = R.getParentBlock(q) - const le = E.moduleNamespacePromise({ - chunkGraph: L, - block: ae, - module: R.getModule(q), - request: q.request, - strict: P.buildMeta.strictHarmonyModule, - message: 'import()', - runtimeRequirements: N, - }) - v.replace(q.range[0], q.range[1] - 1, le) - } - } - k.exports = ImportDependency - }, - 72073: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(75516) - class ImportEagerDependency extends R { - constructor(k, v, E) { - super(k, v, E) - } - get type() { - return 'import() eager' - } - get category() { - return 'esm' - } - } - P(ImportEagerDependency, 'webpack/lib/dependencies/ImportEagerDependency') - ImportEagerDependency.Template = class ImportEagerDependencyTemplate extends ( - R.Template - ) { - apply( - k, - v, - { - runtimeTemplate: E, - module: P, - moduleGraph: R, - chunkGraph: L, - runtimeRequirements: N, - } - ) { - const q = k - const ae = E.moduleNamespacePromise({ - chunkGraph: L, - module: R.getModule(q), - request: q.request, - strict: P.buildMeta.strictHarmonyModule, - message: 'import() eager', - runtimeRequirements: N, - }) - v.replace(q.range[0], q.range[1] - 1, ae) - } - } - k.exports = ImportEagerDependency - }, - 91194: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(51395) - const L = E(29729) - class ImportMetaContextDependency extends R { - constructor(k, v) { - super(k) - this.range = v - } - get category() { - return 'esm' - } - get type() { - return `import.meta.webpackContext ${this.options.mode}` - } - } - P( - ImportMetaContextDependency, - 'webpack/lib/dependencies/ImportMetaContextDependency' - ) - ImportMetaContextDependency.Template = L - k.exports = ImportMetaContextDependency - }, - 28394: function (k, v, E) { - 'use strict' - const P = E(71572) - const { evaluateToIdentifier: R } = E(80784) - const L = E(91194) - function createPropertyParseError(k, v) { - return createError( - `Parsing import.meta.webpackContext options failed. Unknown value for property ${JSON.stringify( - k.key.name - )}, expected type ${v}.`, - k.value.loc - ) - } - function createError(k, v) { - const E = new P(k) - E.name = 'ImportMetaContextError' - E.loc = v - return E - } - k.exports = class ImportMetaContextDependencyParserPlugin { - apply(k) { - k.hooks.evaluateIdentifier - .for('import.meta.webpackContext') - .tap('ImportMetaContextDependencyParserPlugin', (k) => - R( - 'import.meta.webpackContext', - 'import.meta', - () => ['webpackContext'], - true - )(k) - ) - k.hooks.call - .for('import.meta.webpackContext') - .tap('ImportMetaContextDependencyParserPlugin', (v) => { - if (v.arguments.length < 1 || v.arguments.length > 2) return - const [E, P] = v.arguments - if (P && P.type !== 'ObjectExpression') return - const R = k.evaluateExpression(E) - if (!R.isString()) return - const N = R.string - const q = [] - let ae = /^\.\/.*$/ - let le = true - let pe = 'sync' - let me - let ye - const _e = {} - let Ie - let Me - if (P) { - for (const v of P.properties) { - if (v.type !== 'Property' || v.key.type !== 'Identifier') { - q.push( - createError( - 'Parsing import.meta.webpackContext options failed.', - P.loc - ) - ) - break - } - switch (v.key.name) { - case 'regExp': { - const E = k.evaluateExpression(v.value) - if (!E.isRegExp()) { - q.push(createPropertyParseError(v, 'RegExp')) - } else { - ae = E.regExp - } - break - } - case 'include': { - const E = k.evaluateExpression(v.value) - if (!E.isRegExp()) { - q.push(createPropertyParseError(v, 'RegExp')) - } else { - me = E.regExp - } - break - } - case 'exclude': { - const E = k.evaluateExpression(v.value) - if (!E.isRegExp()) { - q.push(createPropertyParseError(v, 'RegExp')) - } else { - ye = E.regExp - } - break - } - case 'mode': { - const E = k.evaluateExpression(v.value) - if (!E.isString()) { - q.push(createPropertyParseError(v, 'string')) - } else { - pe = E.string - } - break - } - case 'chunkName': { - const E = k.evaluateExpression(v.value) - if (!E.isString()) { - q.push(createPropertyParseError(v, 'string')) - } else { - Ie = E.string - } - break - } - case 'exports': { - const E = k.evaluateExpression(v.value) - if (E.isString()) { - Me = [[E.string]] - } else if (E.isArray()) { - const k = E.items - if ( - k.every((k) => { - if (!k.isArray()) return false - const v = k.items - return v.every((k) => k.isString()) - }) - ) { - Me = [] - for (const v of k) { - const k = [] - for (const E of v.items) { - k.push(E.string) - } - Me.push(k) - } - } else { - q.push( - createPropertyParseError(v, 'string|string[][]') - ) - } - } else { - q.push(createPropertyParseError(v, 'string|string[][]')) - } - break - } - case 'prefetch': { - const E = k.evaluateExpression(v.value) - if (E.isBoolean()) { - _e.prefetchOrder = 0 - } else if (E.isNumber()) { - _e.prefetchOrder = E.number - } else { - q.push(createPropertyParseError(v, 'boolean|number')) - } - break - } - case 'preload': { - const E = k.evaluateExpression(v.value) - if (E.isBoolean()) { - _e.preloadOrder = 0 - } else if (E.isNumber()) { - _e.preloadOrder = E.number - } else { - q.push(createPropertyParseError(v, 'boolean|number')) - } - break - } - case 'recursive': { - const E = k.evaluateExpression(v.value) - if (!E.isBoolean()) { - q.push(createPropertyParseError(v, 'boolean')) - } else { - le = E.bool - } - break - } - default: - q.push( - createError( - `Parsing import.meta.webpackContext options failed. Unknown property ${JSON.stringify( - v.key.name - )}.`, - P.loc - ) - ) - } - } - } - if (q.length) { - for (const v of q) k.state.current.addError(v) - return - } - const Te = new L( - { - request: N, - include: me, - exclude: ye, - recursive: le, - regExp: ae, - groupOptions: _e, - chunkName: Ie, - referencedExports: Me, - mode: pe, - category: 'esm', - }, - v.range - ) - Te.loc = v.loc - Te.optional = !!k.scope.inTry - k.state.current.addDependency(Te) - return true - }) - } - } - }, - 96090: function (k, v, E) { - 'use strict' - const { JAVASCRIPT_MODULE_TYPE_AUTO: P, JAVASCRIPT_MODULE_TYPE_ESM: R } = - E(93622) - const L = E(16624) - const N = E(91194) - const q = E(28394) - const ae = 'ImportMetaContextPlugin' - class ImportMetaContextPlugin { - apply(k) { - k.hooks.compilation.tap( - ae, - (k, { contextModuleFactory: v, normalModuleFactory: E }) => { - k.dependencyFactories.set(N, v) - k.dependencyTemplates.set(N, new N.Template()) - k.dependencyFactories.set(L, E) - const handler = (k, v) => { - if (v.importMetaContext !== undefined && !v.importMetaContext) - return - new q().apply(k) - } - E.hooks.parser.for(P).tap(ae, handler) - E.hooks.parser.for(R).tap(ae, handler) - } - ) - } - } - k.exports = ImportMetaContextPlugin - }, - 40867: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(77373) - const L = E(3312) - class ImportMetaHotAcceptDependency extends R { - constructor(k, v) { - super(k) - this.range = v - this.weak = true - } - get type() { - return 'import.meta.webpackHot.accept' - } - get category() { - return 'esm' - } - } - P( - ImportMetaHotAcceptDependency, - 'webpack/lib/dependencies/ImportMetaHotAcceptDependency' - ) - ImportMetaHotAcceptDependency.Template = L - k.exports = ImportMetaHotAcceptDependency - }, - 83894: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(77373) - const L = E(3312) - class ImportMetaHotDeclineDependency extends R { - constructor(k, v) { - super(k) - this.range = v - this.weak = true - } - get type() { - return 'import.meta.webpackHot.decline' - } - get category() { - return 'esm' - } - } - P( - ImportMetaHotDeclineDependency, - 'webpack/lib/dependencies/ImportMetaHotDeclineDependency' - ) - ImportMetaHotDeclineDependency.Template = L - k.exports = ImportMetaHotDeclineDependency - }, - 31615: function (k, v, E) { - 'use strict' - const { pathToFileURL: P } = E(57310) - const R = E(84018) - const { JAVASCRIPT_MODULE_TYPE_AUTO: L, JAVASCRIPT_MODULE_TYPE_ESM: N } = - E(93622) - const q = E(95041) - const ae = E(70037) - const { - evaluateToIdentifier: le, - toConstantDependency: pe, - evaluateToString: me, - evaluateToNumber: ye, - } = E(80784) - const _e = E(20631) - const Ie = E(10720) - const Me = E(60381) - const Te = _e(() => E(43418)) - const je = 'ImportMetaPlugin' - class ImportMetaPlugin { - apply(k) { - k.hooks.compilation.tap(je, (k, { normalModuleFactory: v }) => { - const getUrl = (k) => P(k.resource).toString() - const parserHandler = (v, { importMeta: P }) => { - if (P === false) { - const { importMetaName: E } = k.outputOptions - if (E === 'import.meta') return - v.hooks.expression.for('import.meta').tap(je, (k) => { - const P = new Me(E, k.range) - P.loc = k.loc - v.state.module.addPresentationalDependency(P) - return true - }) - return - } - const L = parseInt(E(35479).i8, 10) - const importMetaUrl = () => JSON.stringify(getUrl(v.state.module)) - const importMetaWebpackVersion = () => JSON.stringify(L) - const importMetaUnknownProperty = (k) => - `${q.toNormalComment( - 'unsupported import.meta.' + k.join('.') - )} undefined${Ie(k, 1)}` - v.hooks.typeof - .for('import.meta') - .tap(je, pe(v, JSON.stringify('object'))) - v.hooks.expression.for('import.meta').tap(je, (k) => { - const E = v.destructuringAssignmentPropertiesFor(k) - if (!E) { - const E = Te() - v.state.module.addWarning( - new R( - v.state.module, - new E( - 'Accessing import.meta directly is unsupported (only property access or destructuring is supported)' - ), - k.loc - ) - ) - const P = new Me( - `${v.isAsiPosition(k.range[0]) ? ';' : ''}({})`, - k.range - ) - P.loc = k.loc - v.state.module.addPresentationalDependency(P) - return true - } - let P = '' - for (const k of E) { - switch (k) { - case 'url': - P += `url: ${importMetaUrl()},` - break - case 'webpack': - P += `webpack: ${importMetaWebpackVersion()},` - break - default: - P += `[${JSON.stringify(k)}]: ${importMetaUnknownProperty( - [k] - )},` - break - } - } - const L = new Me(`({${P}})`, k.range) - L.loc = k.loc - v.state.module.addPresentationalDependency(L) - return true - }) - v.hooks.evaluateTypeof.for('import.meta').tap(je, me('object')) - v.hooks.evaluateIdentifier.for('import.meta').tap( - je, - le('import.meta', 'import.meta', () => [], true) - ) - v.hooks.typeof - .for('import.meta.url') - .tap(je, pe(v, JSON.stringify('string'))) - v.hooks.expression.for('import.meta.url').tap(je, (k) => { - const E = new Me(importMetaUrl(), k.range) - E.loc = k.loc - v.state.module.addPresentationalDependency(E) - return true - }) - v.hooks.evaluateTypeof - .for('import.meta.url') - .tap(je, me('string')) - v.hooks.evaluateIdentifier - .for('import.meta.url') - .tap(je, (k) => - new ae().setString(getUrl(v.state.module)).setRange(k.range) - ) - v.hooks.typeof - .for('import.meta.webpack') - .tap(je, pe(v, JSON.stringify('number'))) - v.hooks.expression - .for('import.meta.webpack') - .tap(je, pe(v, importMetaWebpackVersion())) - v.hooks.evaluateTypeof - .for('import.meta.webpack') - .tap(je, me('number')) - v.hooks.evaluateIdentifier - .for('import.meta.webpack') - .tap(je, ye(L)) - v.hooks.unhandledExpressionMemberChain - .for('import.meta') - .tap(je, (k, E) => { - const P = new Me(importMetaUnknownProperty(E), k.range) - P.loc = k.loc - v.state.module.addPresentationalDependency(P) - return true - }) - v.hooks.evaluate.for('MemberExpression').tap(je, (k) => { - const v = k - if ( - v.object.type === 'MetaProperty' && - v.object.meta.name === 'import' && - v.object.property.name === 'meta' && - v.property.type === (v.computed ? 'Literal' : 'Identifier') - ) { - return new ae().setUndefined().setRange(v.range) - } - }) - } - v.hooks.parser.for(L).tap(je, parserHandler) - v.hooks.parser.for(N).tap(je, parserHandler) - }) - } - } - k.exports = ImportMetaPlugin - }, - 89825: function (k, v, E) { - 'use strict' - const P = E(75081) - const R = E(68160) - const L = E(9415) - const N = E(25012) - const q = E(94722) - const ae = E(75516) - const le = E(72073) - const pe = E(82591) - class ImportParserPlugin { - constructor(k) { - this.options = k - } - apply(k) { - const exportsFromEnumerable = (k) => Array.from(k, (k) => [k]) - k.hooks.importCall.tap('ImportParserPlugin', (v) => { - const E = k.evaluateExpression(v.source) - let me = null - let ye = this.options.dynamicImportMode - let _e = null - let Ie = null - let Me = null - const Te = {} - const { dynamicImportPreload: je, dynamicImportPrefetch: Ne } = - this.options - if (je !== undefined && je !== false) - Te.preloadOrder = je === true ? 0 : je - if (Ne !== undefined && Ne !== false) - Te.prefetchOrder = Ne === true ? 0 : Ne - const { options: Be, errors: qe } = k.parseCommentOptions(v.range) - if (qe) { - for (const v of qe) { - const { comment: E } = v - k.state.module.addWarning( - new R( - `Compilation error while processing magic comment(-s): /*${E.value}*/: ${v.message}`, - E.loc - ) - ) - } - } - if (Be) { - if (Be.webpackIgnore !== undefined) { - if (typeof Be.webpackIgnore !== 'boolean') { - k.state.module.addWarning( - new L( - `\`webpackIgnore\` expected a boolean, but received: ${Be.webpackIgnore}.`, - v.loc - ) - ) - } else { - if (Be.webpackIgnore) { - return false - } - } - } - if (Be.webpackChunkName !== undefined) { - if (typeof Be.webpackChunkName !== 'string') { - k.state.module.addWarning( - new L( - `\`webpackChunkName\` expected a string, but received: ${Be.webpackChunkName}.`, - v.loc - ) - ) - } else { - me = Be.webpackChunkName - } - } - if (Be.webpackMode !== undefined) { - if (typeof Be.webpackMode !== 'string') { - k.state.module.addWarning( - new L( - `\`webpackMode\` expected a string, but received: ${Be.webpackMode}.`, - v.loc - ) - ) - } else { - ye = Be.webpackMode - } - } - if (Be.webpackPrefetch !== undefined) { - if (Be.webpackPrefetch === true) { - Te.prefetchOrder = 0 - } else if (typeof Be.webpackPrefetch === 'number') { - Te.prefetchOrder = Be.webpackPrefetch - } else { - k.state.module.addWarning( - new L( - `\`webpackPrefetch\` expected true or a number, but received: ${Be.webpackPrefetch}.`, - v.loc - ) - ) - } - } - if (Be.webpackPreload !== undefined) { - if (Be.webpackPreload === true) { - Te.preloadOrder = 0 - } else if (typeof Be.webpackPreload === 'number') { - Te.preloadOrder = Be.webpackPreload - } else { - k.state.module.addWarning( - new L( - `\`webpackPreload\` expected true or a number, but received: ${Be.webpackPreload}.`, - v.loc - ) - ) - } - } - if (Be.webpackInclude !== undefined) { - if ( - !Be.webpackInclude || - !(Be.webpackInclude instanceof RegExp) - ) { - k.state.module.addWarning( - new L( - `\`webpackInclude\` expected a regular expression, but received: ${Be.webpackInclude}.`, - v.loc - ) - ) - } else { - _e = Be.webpackInclude - } - } - if (Be.webpackExclude !== undefined) { - if ( - !Be.webpackExclude || - !(Be.webpackExclude instanceof RegExp) - ) { - k.state.module.addWarning( - new L( - `\`webpackExclude\` expected a regular expression, but received: ${Be.webpackExclude}.`, - v.loc - ) - ) - } else { - Ie = Be.webpackExclude - } - } - if (Be.webpackExports !== undefined) { - if ( - !( - typeof Be.webpackExports === 'string' || - (Array.isArray(Be.webpackExports) && - Be.webpackExports.every((k) => typeof k === 'string')) - ) - ) { - k.state.module.addWarning( - new L( - `\`webpackExports\` expected a string or an array of strings, but received: ${Be.webpackExports}.`, - v.loc - ) - ) - } else { - if (typeof Be.webpackExports === 'string') { - Me = [[Be.webpackExports]] - } else { - Me = exportsFromEnumerable(Be.webpackExports) - } - } - } - } - if ( - ye !== 'lazy' && - ye !== 'lazy-once' && - ye !== 'eager' && - ye !== 'weak' - ) { - k.state.module.addWarning( - new L( - `\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${ye}.`, - v.loc - ) - ) - ye = 'lazy' - } - const Ue = k.destructuringAssignmentPropertiesFor(v) - if (Ue) { - if (Me) { - k.state.module.addWarning( - new L( - `\`webpackExports\` could not be used with destructuring assignment.`, - v.loc - ) - ) - } - Me = exportsFromEnumerable(Ue) - } - if (E.isString()) { - if (ye === 'eager') { - const P = new le(E.string, v.range, Me) - k.state.current.addDependency(P) - } else if (ye === 'weak') { - const P = new pe(E.string, v.range, Me) - k.state.current.addDependency(P) - } else { - const R = new P({ ...Te, name: me }, v.loc, E.string) - const L = new ae(E.string, v.range, Me) - L.loc = v.loc - R.addDependency(L) - k.state.current.addBlock(R) - } - return true - } else { - if (ye === 'weak') { - ye = 'async-weak' - } - const P = N.create( - q, - v.range, - E, - v, - this.options, - { - chunkName: me, - groupOptions: Te, - include: _e, - exclude: Ie, - mode: ye, - namespaceObject: k.state.module.buildMeta.strictHarmonyModule - ? 'strict' - : true, - typePrefix: 'import()', - category: 'esm', - referencedExports: Me, - }, - k - ) - if (!P) return - P.loc = v.loc - P.optional = !!k.scope.inTry - k.state.current.addDependency(P) - return true - } - }) - } - } - k.exports = ImportParserPlugin - }, - 3970: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, - JAVASCRIPT_MODULE_TYPE_ESM: L, - } = E(93622) - const N = E(94722) - const q = E(75516) - const ae = E(72073) - const le = E(89825) - const pe = E(82591) - const me = 'ImportPlugin' - class ImportPlugin { - apply(k) { - k.hooks.compilation.tap( - me, - (k, { contextModuleFactory: v, normalModuleFactory: E }) => { - k.dependencyFactories.set(q, E) - k.dependencyTemplates.set(q, new q.Template()) - k.dependencyFactories.set(ae, E) - k.dependencyTemplates.set(ae, new ae.Template()) - k.dependencyFactories.set(pe, E) - k.dependencyTemplates.set(pe, new pe.Template()) - k.dependencyFactories.set(N, v) - k.dependencyTemplates.set(N, new N.Template()) - const handler = (k, v) => { - if (v.import !== undefined && !v.import) return - new le(v).apply(k) - } - E.hooks.parser.for(P).tap(me, handler) - E.hooks.parser.for(R).tap(me, handler) - E.hooks.parser.for(L).tap(me, handler) - } - ) - } - } - k.exports = ImportPlugin - }, - 82591: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(75516) - class ImportWeakDependency extends R { - constructor(k, v, E) { - super(k, v, E) - this.weak = true - } - get type() { - return 'import() weak' - } - } - P(ImportWeakDependency, 'webpack/lib/dependencies/ImportWeakDependency') - ImportWeakDependency.Template = class ImportDependencyTemplate extends ( - R.Template - ) { - apply( - k, - v, - { - runtimeTemplate: E, - module: P, - moduleGraph: R, - chunkGraph: L, - runtimeRequirements: N, - } - ) { - const q = k - const ae = E.moduleNamespacePromise({ - chunkGraph: L, - module: R.getModule(q), - request: q.request, - strict: P.buildMeta.strictHarmonyModule, - message: 'import() weak', - weak: true, - runtimeRequirements: N, - }) - v.replace(q.range[0], q.range[1] - 1, ae) - } - } - k.exports = ImportWeakDependency - }, - 19179: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(53139) - const getExportsFromData = (k) => { - if (k && typeof k === 'object') { - if (Array.isArray(k)) { - return k.length < 100 - ? k.map((k, v) => ({ - name: `${v}`, - canMangle: true, - exports: getExportsFromData(k), - })) - : undefined - } else { - const v = [] - for (const E of Object.keys(k)) { - v.push({ - name: E, - canMangle: true, - exports: getExportsFromData(k[E]), - }) - } - return v - } - } - return undefined - } - class JsonExportsDependency extends R { - constructor(k) { - super() - this.data = k - } - get type() { - return 'json exports' - } - getExports(k) { - return { - exports: getExportsFromData(this.data && this.data.get()), - dependencies: undefined, - } - } - updateHash(k, v) { - this.data.updateHash(k) - } - serialize(k) { - const { write: v } = k - v(this.data) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.data = v() - super.deserialize(k) - } - } - P(JsonExportsDependency, 'webpack/lib/dependencies/JsonExportsDependency') - k.exports = JsonExportsDependency - }, - 74611: function (k, v, E) { - 'use strict' - const P = E(77373) - class LoaderDependency extends P { - constructor(k) { - super(k) - } - get type() { - return 'loader' - } - get category() { - return 'loader' - } - getCondition(k) { - return false - } - } - k.exports = LoaderDependency - }, - 89056: function (k, v, E) { - 'use strict' - const P = E(77373) - class LoaderImportDependency extends P { - constructor(k) { - super(k) - this.weak = true - } - get type() { - return 'loader import' - } - get category() { - return 'loaderImport' - } - getCondition(k) { - return false - } - } - k.exports = LoaderImportDependency - }, - 63733: function (k, v, E) { - 'use strict' - const P = E(38224) - const R = E(12359) - const L = E(74611) - const N = E(89056) - class LoaderPlugin { - constructor(k = {}) {} - apply(k) { - k.hooks.compilation.tap( - 'LoaderPlugin', - (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(L, v) - k.dependencyFactories.set(N, v) - } - ) - k.hooks.compilation.tap('LoaderPlugin', (k) => { - const v = k.moduleGraph - P.getCompilationHooks(k).loader.tap('LoaderPlugin', (E) => { - E.loadModule = (P, N) => { - const q = new L(P) - q.loc = { name: P } - const ae = k.dependencyFactories.get(q.constructor) - if (ae === undefined) { - return N( - new Error( - `No module factory available for dependency type: ${q.constructor.name}` - ) - ) - } - k.buildQueue.increaseParallelism() - k.handleModuleCreation( - { - factory: ae, - dependencies: [q], - originModule: E._module, - context: E.context, - recursive: false, - }, - (P) => { - k.buildQueue.decreaseParallelism() - if (P) { - return N(P) - } - const L = v.getModule(q) - if (!L) { - return N(new Error('Cannot load the module')) - } - if (L.getNumberOfErrors() > 0) { - return N(new Error('The loaded module contains errors')) - } - const ae = L.originalSource() - if (!ae) { - return N( - new Error( - 'The module created for a LoaderDependency must have an original source' - ) - ) - } - let le, pe - if (ae.sourceAndMap) { - const k = ae.sourceAndMap() - pe = k.map - le = k.source - } else { - pe = ae.map() - le = ae.source() - } - const me = new R() - const ye = new R() - const _e = new R() - const Ie = new R() - L.addCacheDependencies(me, ye, _e, Ie) - for (const k of me) { - E.addDependency(k) - } - for (const k of ye) { - E.addContextDependency(k) - } - for (const k of _e) { - E.addMissingDependency(k) - } - for (const k of Ie) { - E.addBuildDependency(k) - } - return N(null, le, pe, L) - } - ) - } - const importModule = (P, R, L) => { - const q = new N(P) - q.loc = { name: P } - const ae = k.dependencyFactories.get(q.constructor) - if (ae === undefined) { - return L( - new Error( - `No module factory available for dependency type: ${q.constructor.name}` - ) - ) - } - k.buildQueue.increaseParallelism() - k.handleModuleCreation( - { - factory: ae, - dependencies: [q], - originModule: E._module, - contextInfo: { issuerLayer: R.layer }, - context: E.context, - connectOrigin: false, - }, - (P) => { - k.buildQueue.decreaseParallelism() - if (P) { - return L(P) - } - const N = v.getModule(q) - if (!N) { - return L(new Error('Cannot load the module')) - } - k.executeModule( - N, - { - entryOptions: { - baseUri: R.baseUri, - publicPath: R.publicPath, - }, - }, - (k, v) => { - if (k) return L(k) - for (const k of v.fileDependencies) { - E.addDependency(k) - } - for (const k of v.contextDependencies) { - E.addContextDependency(k) - } - for (const k of v.missingDependencies) { - E.addMissingDependency(k) - } - for (const k of v.buildDependencies) { - E.addBuildDependency(k) - } - if (v.cacheable === false) E.cacheable(false) - for (const [k, { source: P, info: R }] of v.assets) { - const { buildInfo: v } = E._module - if (!v.assets) { - v.assets = Object.create(null) - v.assetsInfo = new Map() - } - v.assets[k] = P - v.assetsInfo.set(k, R) - } - L(null, v.exports) - } - ) - } - ) - } - E.importModule = (k, v, E) => { - if (!E) { - return new Promise((E, P) => { - importModule(k, v || {}, (k, v) => { - if (k) P(k) - else E(v) - }) - }) - } - return importModule(k, v || {}, E) - } - }) - }) - } - } - k.exports = LoaderPlugin - }, - 53377: function (k, v, E) { - 'use strict' - const P = E(58528) - class LocalModule { - constructor(k, v) { - this.name = k - this.idx = v - this.used = false - } - flagUsed() { - this.used = true - } - variableName() { - return '__WEBPACK_LOCAL_MODULE_' + this.idx + '__' - } - serialize(k) { - const { write: v } = k - v(this.name) - v(this.idx) - v(this.used) - } - deserialize(k) { - const { read: v } = k - this.name = v() - this.idx = v() - this.used = v() - } - } - P(LocalModule, 'webpack/lib/dependencies/LocalModule') - k.exports = LocalModule - }, - 41808: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(53139) - class LocalModuleDependency extends R { - constructor(k, v, E) { - super() - this.localModule = k - this.range = v - this.callNew = E - } - serialize(k) { - const { write: v } = k - v(this.localModule) - v(this.range) - v(this.callNew) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.localModule = v() - this.range = v() - this.callNew = v() - super.deserialize(k) - } - } - P(LocalModuleDependency, 'webpack/lib/dependencies/LocalModuleDependency') - LocalModuleDependency.Template = class LocalModuleDependencyTemplate extends ( - R.Template - ) { - apply(k, v, E) { - const P = k - if (!P.range) return - const R = P.callNew - ? `new (function () { return ${P.localModule.variableName()}; })()` - : P.localModule.variableName() - v.replace(P.range[0], P.range[1] - 1, R) - } - } - k.exports = LocalModuleDependency - }, - 18363: function (k, v, E) { - 'use strict' - const P = E(53377) - const lookup = (k, v) => { - if (v.charAt(0) !== '.') return v - var E = k.split('/') - var P = v.split('/') - E.pop() - for (let k = 0; k < P.length; k++) { - const v = P[k] - if (v === '..') { - E.pop() - } else if (v !== '.') { - E.push(v) - } - } - return E.join('/') - } - v.addLocalModule = (k, v) => { - if (!k.localModules) { - k.localModules = [] - } - const E = new P(v, k.localModules.length) - k.localModules.push(E) - return E - } - v.getLocalModule = (k, v, E) => { - if (!k.localModules) return null - if (E) { - v = lookup(E, v) - } - for (let E = 0; E < k.localModules.length; E++) { - if (k.localModules[E].name === v) { - return k.localModules[E] - } - } - return null - } - }, - 10699: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(88113) - const L = E(56727) - const N = E(58528) - const q = E(53139) - class ModuleDecoratorDependency extends q { - constructor(k, v) { - super() - this.decorator = k - this.allowExportsAccess = v - this._hashUpdate = undefined - } - get type() { - return 'module decorator' - } - get category() { - return 'self' - } - getResourceIdentifier() { - return `self` - } - getReferencedExports(k, v) { - return this.allowExportsAccess - ? P.EXPORTS_OBJECT_REFERENCED - : P.NO_EXPORTS_REFERENCED - } - updateHash(k, v) { - if (this._hashUpdate === undefined) { - this._hashUpdate = `${this.decorator}${this.allowExportsAccess}` - } - k.update(this._hashUpdate) - } - serialize(k) { - const { write: v } = k - v(this.decorator) - v(this.allowExportsAccess) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.decorator = v() - this.allowExportsAccess = v() - super.deserialize(k) - } - } - N( - ModuleDecoratorDependency, - 'webpack/lib/dependencies/ModuleDecoratorDependency' - ) - ModuleDecoratorDependency.Template = class ModuleDecoratorDependencyTemplate extends ( - q.Template - ) { - apply( - k, - v, - { module: E, chunkGraph: P, initFragments: N, runtimeRequirements: q } - ) { - const ae = k - q.add(L.moduleLoaded) - q.add(L.moduleId) - q.add(L.module) - q.add(ae.decorator) - N.push( - new R( - `/* module decorator */ ${E.moduleArgument} = ${ae.decorator}(${E.moduleArgument});\n`, - R.STAGE_PROVIDES, - 0, - `module decorator ${P.getModuleId(E)}` - ) - ) - } - } - k.exports = ModuleDecoratorDependency - }, - 77373: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(30601) - const L = E(20631) - const N = L(() => E(91169)) - class ModuleDependency extends P { - constructor(k) { - super() - this.request = k - this.userRequest = k - this.range = undefined - this.assertions = undefined - this._context = undefined - } - getContext() { - return this._context - } - getResourceIdentifier() { - let k = `context${this._context || ''}|module${this.request}` - if (this.assertions !== undefined) { - k += JSON.stringify(this.assertions) - } - return k - } - couldAffectReferencingModule() { - return true - } - createIgnoredModule(k) { - const v = N() - return new v( - '/* (ignored) */', - `ignored|${k}|${this.request}`, - `${this.request} (ignored)` - ) - } - serialize(k) { - const { write: v } = k - v(this.request) - v(this.userRequest) - v(this._context) - v(this.range) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.request = v() - this.userRequest = v() - this._context = v() - this.range = v() - super.deserialize(k) - } - } - ModuleDependency.Template = R - k.exports = ModuleDependency - }, - 3312: function (k, v, E) { - 'use strict' - const P = E(77373) - class ModuleDependencyTemplateAsId extends P.Template { - apply(k, v, { runtimeTemplate: E, moduleGraph: P, chunkGraph: R }) { - const L = k - if (!L.range) return - const N = E.moduleId({ - module: P.getModule(L), - chunkGraph: R, - request: L.request, - weak: L.weak, - }) - v.replace(L.range[0], L.range[1] - 1, N) - } - } - k.exports = ModuleDependencyTemplateAsId - }, - 29729: function (k, v, E) { - 'use strict' - const P = E(77373) - class ModuleDependencyTemplateAsRequireId extends P.Template { - apply( - k, - v, - { - runtimeTemplate: E, - moduleGraph: P, - chunkGraph: R, - runtimeRequirements: L, - } - ) { - const N = k - if (!N.range) return - const q = E.moduleExports({ - module: P.getModule(N), - chunkGraph: R, - request: N.request, - weak: N.weak, - runtimeRequirements: L, - }) - v.replace(N.range[0], N.range[1] - 1, q) - } - } - k.exports = ModuleDependencyTemplateAsRequireId - }, - 77691: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(77373) - const L = E(3312) - class ModuleHotAcceptDependency extends R { - constructor(k, v) { - super(k) - this.range = v - this.weak = true - } - get type() { - return 'module.hot.accept' - } - get category() { - return 'commonjs' - } - } - P( - ModuleHotAcceptDependency, - 'webpack/lib/dependencies/ModuleHotAcceptDependency' - ) - ModuleHotAcceptDependency.Template = L - k.exports = ModuleHotAcceptDependency - }, - 90563: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(77373) - const L = E(3312) - class ModuleHotDeclineDependency extends R { - constructor(k, v) { - super(k) - this.range = v - this.weak = true - } - get type() { - return 'module.hot.decline' - } - get category() { - return 'commonjs' - } - } - P( - ModuleHotDeclineDependency, - 'webpack/lib/dependencies/ModuleHotDeclineDependency' - ) - ModuleHotDeclineDependency.Template = L - k.exports = ModuleHotDeclineDependency - }, - 53139: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(30601) - class NullDependency extends P { - get type() { - return 'null' - } - couldAffectReferencingModule() { - return false - } - } - NullDependency.Template = class NullDependencyTemplate extends R { - apply(k, v, E) {} - } - k.exports = NullDependency - }, - 85992: function (k, v, E) { - 'use strict' - const P = E(77373) - class PrefetchDependency extends P { - constructor(k) { - super(k) - } - get type() { - return 'prefetch' - } - get category() { - return 'esm' - } - } - k.exports = PrefetchDependency - }, - 17779: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(88113) - const L = E(58528) - const N = E(77373) - const pathToString = (k) => - k !== null && k.length > 0 - ? k.map((k) => `[${JSON.stringify(k)}]`).join('') - : '' - class ProvidedDependency extends N { - constructor(k, v, E, P) { - super(k) - this.identifier = v - this.ids = E - this.range = P - this._hashUpdate = undefined - } - get type() { - return 'provided' - } - get category() { - return 'esm' - } - getReferencedExports(k, v) { - let E = this.ids - if (E.length === 0) return P.EXPORTS_OBJECT_REFERENCED - return [E] - } - updateHash(k, v) { - if (this._hashUpdate === undefined) { - this._hashUpdate = - this.identifier + (this.ids ? this.ids.join(',') : '') - } - k.update(this._hashUpdate) - } - serialize(k) { - const { write: v } = k - v(this.identifier) - v(this.ids) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.identifier = v() - this.ids = v() - super.deserialize(k) - } - } - L(ProvidedDependency, 'webpack/lib/dependencies/ProvidedDependency') - class ProvidedDependencyTemplate extends N.Template { - apply( - k, - v, - { - runtime: E, - runtimeTemplate: P, - moduleGraph: L, - chunkGraph: N, - initFragments: q, - runtimeRequirements: ae, - } - ) { - const le = k - const pe = L.getConnection(le) - const me = L.getExportsInfo(pe.module) - const ye = me.getUsedName(le.ids, E) - q.push( - new R( - `/* provided dependency */ var ${ - le.identifier - } = ${P.moduleExports({ - module: L.getModule(le), - chunkGraph: N, - request: le.request, - runtimeRequirements: ae, - })}${pathToString(ye)};\n`, - R.STAGE_PROVIDES, - 1, - `provided ${le.identifier}` - ) - ) - v.replace(le.range[0], le.range[1] - 1, le.identifier) - } - } - ProvidedDependency.Template = ProvidedDependencyTemplate - k.exports = ProvidedDependency - }, - 19308: function (k, v, E) { - 'use strict' - const { UsageState: P } = E(11172) - const R = E(58528) - const { filterRuntime: L } = E(1540) - const N = E(53139) - class PureExpressionDependency extends N { - constructor(k) { - super() - this.range = k - this.usedByExports = false - this._hashUpdate = undefined - } - updateHash(k, v) { - if (this._hashUpdate === undefined) { - this._hashUpdate = this.range + '' - } - k.update(this._hashUpdate) - } - getModuleEvaluationSideEffectsState(k) { - return false - } - serialize(k) { - const { write: v } = k - v(this.range) - v(this.usedByExports) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.range = v() - this.usedByExports = v() - super.deserialize(k) - } - } - R( - PureExpressionDependency, - 'webpack/lib/dependencies/PureExpressionDependency' - ) - PureExpressionDependency.Template = class PureExpressionDependencyTemplate extends ( - N.Template - ) { - apply( - k, - v, - { - chunkGraph: E, - moduleGraph: R, - runtime: N, - runtimeTemplate: q, - runtimeRequirements: ae, - } - ) { - const le = k - const pe = le.usedByExports - if (pe !== false) { - const k = R.getParentModule(le) - const me = R.getExportsInfo(k) - const ye = L(N, (k) => { - for (const v of pe) { - if (me.getUsed(v, k) !== P.Unused) { - return true - } - } - return false - }) - if (ye === true) return - if (ye !== false) { - const k = q.runtimeConditionExpression({ - chunkGraph: E, - runtime: N, - runtimeCondition: ye, - runtimeRequirements: ae, - }) - v.insert( - le.range[0], - `(/* runtime-dependent pure expression or super */ ${k} ? (` - ) - v.insert(le.range[1], ') : null)') - return - } - } - v.insert( - le.range[0], - `(/* unused pure expression or super */ null && (` - ) - v.insert(le.range[1], '))') - } - } - k.exports = PureExpressionDependency - }, - 71038: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(51395) - const L = E(29729) - class RequireContextDependency extends R { - constructor(k, v) { - super(k) - this.range = v - } - get type() { - return 'require.context' - } - } - P( - RequireContextDependency, - 'webpack/lib/dependencies/RequireContextDependency' - ) - RequireContextDependency.Template = L - k.exports = RequireContextDependency - }, - 52635: function (k, v, E) { - 'use strict' - const P = E(71038) - k.exports = class RequireContextDependencyParserPlugin { - apply(k) { - k.hooks.call - .for('require.context') - .tap('RequireContextDependencyParserPlugin', (v) => { - let E = /^\.\/.*$/ - let R = true - let L = 'sync' - switch (v.arguments.length) { - case 4: { - const E = k.evaluateExpression(v.arguments[3]) - if (!E.isString()) return - L = E.string - } - case 3: { - const P = k.evaluateExpression(v.arguments[2]) - if (!P.isRegExp()) return - E = P.regExp - } - case 2: { - const E = k.evaluateExpression(v.arguments[1]) - if (!E.isBoolean()) return - R = E.bool - } - case 1: { - const N = k.evaluateExpression(v.arguments[0]) - if (!N.isString()) return - const q = new P( - { - request: N.string, - recursive: R, - regExp: E, - mode: L, - category: 'commonjs', - }, - v.range - ) - q.loc = v.loc - q.optional = !!k.scope.inTry - k.state.current.addDependency(q) - return true - } - } - }) - } - } - }, - 69286: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, - } = E(93622) - const { cachedSetProperty: L } = E(99454) - const N = E(16624) - const q = E(71038) - const ae = E(52635) - const le = {} - const pe = 'RequireContextPlugin' - class RequireContextPlugin { - apply(k) { - k.hooks.compilation.tap( - pe, - (v, { contextModuleFactory: E, normalModuleFactory: me }) => { - v.dependencyFactories.set(q, E) - v.dependencyTemplates.set(q, new q.Template()) - v.dependencyFactories.set(N, me) - const handler = (k, v) => { - if (v.requireContext !== undefined && !v.requireContext) return - new ae().apply(k) - } - me.hooks.parser.for(P).tap(pe, handler) - me.hooks.parser.for(R).tap(pe, handler) - E.hooks.alternativeRequests.tap(pe, (v, E) => { - if (v.length === 0) return v - const P = k.resolverFactory.get( - 'normal', - L(E.resolveOptions || le, 'dependencyType', E.category) - ).options - let R - if (!P.fullySpecified) { - R = [] - for (const k of v) { - const { request: v, context: E } = k - for (const k of P.extensions) { - if (v.endsWith(k)) { - R.push({ context: E, request: v.slice(0, -k.length) }) - } - } - if (!P.enforceExtension) { - R.push(k) - } - } - v = R - R = [] - for (const k of v) { - const { request: v, context: E } = k - for (const k of P.mainFiles) { - if (v.endsWith(`/${k}`)) { - R.push({ context: E, request: v.slice(0, -k.length) }) - R.push({ - context: E, - request: v.slice(0, -k.length - 1), - }) - } - } - R.push(k) - } - v = R - } - R = [] - for (const k of v) { - let v = false - for (const E of P.modules) { - if (Array.isArray(E)) { - for (const P of E) { - if (k.request.startsWith(`./${P}/`)) { - R.push({ - context: k.context, - request: k.request.slice(P.length + 3), - }) - v = true - } - } - } else { - const v = E.replace(/\\/g, '/') - const P = - k.context.replace(/\\/g, '/') + k.request.slice(1) - if (P.startsWith(v)) { - R.push({ - context: k.context, - request: P.slice(v.length + 1), - }) - } - } - } - if (!v) { - R.push(k) - } - } - return R - }) - } - ) - } - } - k.exports = RequireContextPlugin - }, - 34385: function (k, v, E) { - 'use strict' - const P = E(75081) - const R = E(58528) - class RequireEnsureDependenciesBlock extends P { - constructor(k, v) { - super(k, v, null) - } - } - R( - RequireEnsureDependenciesBlock, - 'webpack/lib/dependencies/RequireEnsureDependenciesBlock' - ) - k.exports = RequireEnsureDependenciesBlock - }, - 14016: function (k, v, E) { - 'use strict' - const P = E(34385) - const R = E(42780) - const L = E(47785) - const N = E(21271) - k.exports = class RequireEnsureDependenciesBlockParserPlugin { - apply(k) { - k.hooks.call - .for('require.ensure') - .tap('RequireEnsureDependenciesBlockParserPlugin', (v) => { - let E = null - let q = null - let ae = null - switch (v.arguments.length) { - case 4: { - const P = k.evaluateExpression(v.arguments[3]) - if (!P.isString()) return - E = P.string - } - case 3: { - q = v.arguments[2] - ae = N(q) - if (!ae && !E) { - const P = k.evaluateExpression(v.arguments[2]) - if (!P.isString()) return - E = P.string - } - } - case 2: { - const le = k.evaluateExpression(v.arguments[0]) - const pe = le.isArray() ? le.items : [le] - const me = v.arguments[1] - const ye = N(me) - if (ye) { - k.walkExpressions(ye.expressions) - } - if (ae) { - k.walkExpressions(ae.expressions) - } - const _e = new P(E, v.loc) - const Ie = - v.arguments.length === 4 || (!E && v.arguments.length === 3) - const Me = new R( - v.range, - v.arguments[1].range, - Ie && v.arguments[2].range - ) - Me.loc = v.loc - _e.addDependency(Me) - const Te = k.state.current - k.state.current = _e - try { - let E = false - k.inScope([], () => { - for (const k of pe) { - if (k.isString()) { - const E = new L(k.string) - E.loc = k.loc || v.loc - _e.addDependency(E) - } else { - E = true - } - } - }) - if (E) { - return - } - if (ye) { - if (ye.fn.body.type === 'BlockStatement') { - k.walkStatement(ye.fn.body) - } else { - k.walkExpression(ye.fn.body) - } - } - Te.addBlock(_e) - } finally { - k.state.current = Te - } - if (!ye) { - k.walkExpression(me) - } - if (ae) { - if (ae.fn.body.type === 'BlockStatement') { - k.walkStatement(ae.fn.body) - } else { - k.walkExpression(ae.fn.body) - } - } else if (q) { - k.walkExpression(q) - } - return true - } - } - }) - } - } - }, - 42780: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(58528) - const L = E(53139) - class RequireEnsureDependency extends L { - constructor(k, v, E) { - super() - this.range = k - this.contentRange = v - this.errorHandlerRange = E - } - get type() { - return 'require.ensure' - } - serialize(k) { - const { write: v } = k - v(this.range) - v(this.contentRange) - v(this.errorHandlerRange) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.range = v() - this.contentRange = v() - this.errorHandlerRange = v() - super.deserialize(k) - } - } - R( - RequireEnsureDependency, - 'webpack/lib/dependencies/RequireEnsureDependency' - ) - RequireEnsureDependency.Template = class RequireEnsureDependencyTemplate extends ( - L.Template - ) { - apply( - k, - v, - { - runtimeTemplate: E, - moduleGraph: R, - chunkGraph: L, - runtimeRequirements: N, - } - ) { - const q = k - const ae = R.getParentBlock(q) - const le = E.blockPromise({ - chunkGraph: L, - block: ae, - message: 'require.ensure', - runtimeRequirements: N, - }) - const pe = q.range - const me = q.contentRange - const ye = q.errorHandlerRange - v.replace(pe[0], me[0] - 1, `${le}.then((`) - if (ye) { - v.replace(me[1], ye[0] - 1, `).bind(null, ${P.require}))['catch'](`) - v.replace(ye[1], pe[1] - 1, ')') - } else { - v.replace( - me[1], - pe[1] - 1, - `).bind(null, ${P.require}))['catch'](${P.uncaughtErrorHandler})` - ) - } - } - } - k.exports = RequireEnsureDependency - }, - 47785: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(77373) - const L = E(53139) - class RequireEnsureItemDependency extends R { - constructor(k) { - super(k) - } - get type() { - return 'require.ensure item' - } - get category() { - return 'commonjs' - } - } - P( - RequireEnsureItemDependency, - 'webpack/lib/dependencies/RequireEnsureItemDependency' - ) - RequireEnsureItemDependency.Template = L.Template - k.exports = RequireEnsureItemDependency - }, - 34949: function (k, v, E) { - 'use strict' - const P = E(42780) - const R = E(47785) - const L = E(14016) - const { - JAVASCRIPT_MODULE_TYPE_AUTO: N, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: q, - } = E(93622) - const { evaluateToString: ae, toConstantDependency: le } = E(80784) - const pe = 'RequireEnsurePlugin' - class RequireEnsurePlugin { - apply(k) { - k.hooks.compilation.tap(pe, (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(R, v) - k.dependencyTemplates.set(R, new R.Template()) - k.dependencyTemplates.set(P, new P.Template()) - const handler = (k, v) => { - if (v.requireEnsure !== undefined && !v.requireEnsure) return - new L().apply(k) - k.hooks.evaluateTypeof - .for('require.ensure') - .tap(pe, ae('function')) - k.hooks.typeof - .for('require.ensure') - .tap(pe, le(k, JSON.stringify('function'))) - } - v.hooks.parser.for(N).tap(pe, handler) - v.hooks.parser.for(q).tap(pe, handler) - }) - } - } - k.exports = RequireEnsurePlugin - }, - 72330: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(58528) - const L = E(53139) - class RequireHeaderDependency extends L { - constructor(k) { - super() - if (!Array.isArray(k)) throw new Error('range must be valid') - this.range = k - } - serialize(k) { - const { write: v } = k - v(this.range) - super.serialize(k) - } - static deserialize(k) { - const v = new RequireHeaderDependency(k.read()) - v.deserialize(k) - return v - } - } - R( - RequireHeaderDependency, - 'webpack/lib/dependencies/RequireHeaderDependency' - ) - RequireHeaderDependency.Template = class RequireHeaderDependencyTemplate extends ( - L.Template - ) { - apply(k, v, { runtimeRequirements: E }) { - const R = k - E.add(P.require) - v.replace(R.range[0], R.range[1] - 1, P.require) - } - } - k.exports = RequireHeaderDependency - }, - 72846: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(95041) - const L = E(58528) - const N = E(77373) - class RequireIncludeDependency extends N { - constructor(k, v) { - super(k) - this.range = v - } - getReferencedExports(k, v) { - return P.NO_EXPORTS_REFERENCED - } - get type() { - return 'require.include' - } - get category() { - return 'commonjs' - } - } - L( - RequireIncludeDependency, - 'webpack/lib/dependencies/RequireIncludeDependency' - ) - RequireIncludeDependency.Template = class RequireIncludeDependencyTemplate extends ( - N.Template - ) { - apply(k, v, { runtimeTemplate: E }) { - const P = k - const L = E.outputOptions.pathinfo - ? R.toComment( - `require.include ${E.requestShortener.shorten(P.request)}` - ) - : '' - v.replace(P.range[0], P.range[1] - 1, `undefined${L}`) - } - } - k.exports = RequireIncludeDependency - }, - 97229: function (k, v, E) { - 'use strict' - const P = E(71572) - const { evaluateToString: R, toConstantDependency: L } = E(80784) - const N = E(58528) - const q = E(72846) - k.exports = class RequireIncludeDependencyParserPlugin { - constructor(k) { - this.warn = k - } - apply(k) { - const { warn: v } = this - k.hooks.call - .for('require.include') - .tap('RequireIncludeDependencyParserPlugin', (E) => { - if (E.arguments.length !== 1) return - const P = k.evaluateExpression(E.arguments[0]) - if (!P.isString()) return - if (v) { - k.state.module.addWarning( - new RequireIncludeDeprecationWarning(E.loc) - ) - } - const R = new q(P.string, E.range) - R.loc = E.loc - k.state.current.addDependency(R) - return true - }) - k.hooks.evaluateTypeof - .for('require.include') - .tap('RequireIncludePlugin', (E) => { - if (v) { - k.state.module.addWarning( - new RequireIncludeDeprecationWarning(E.loc) - ) - } - return R('function')(E) - }) - k.hooks.typeof - .for('require.include') - .tap('RequireIncludePlugin', (E) => { - if (v) { - k.state.module.addWarning( - new RequireIncludeDeprecationWarning(E.loc) - ) - } - return L(k, JSON.stringify('function'))(E) - }) - } - } - class RequireIncludeDeprecationWarning extends P { - constructor(k) { - super('require.include() is deprecated and will be removed soon.') - this.name = 'RequireIncludeDeprecationWarning' - this.loc = k - } - } - N( - RequireIncludeDeprecationWarning, - 'webpack/lib/dependencies/RequireIncludeDependencyParserPlugin', - 'RequireIncludeDeprecationWarning' - ) - }, - 80250: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, - } = E(93622) - const L = E(72846) - const N = E(97229) - const q = 'RequireIncludePlugin' - class RequireIncludePlugin { - apply(k) { - k.hooks.compilation.tap(q, (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(L, v) - k.dependencyTemplates.set(L, new L.Template()) - const handler = (k, v) => { - if (v.requireInclude === false) return - const E = v.requireInclude === undefined - new N(E).apply(k) - } - v.hooks.parser.for(P).tap(q, handler) - v.hooks.parser.for(R).tap(q, handler) - }) - } - } - k.exports = RequireIncludePlugin - }, - 12204: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(51395) - const L = E(16213) - class RequireResolveContextDependency extends R { - constructor(k, v, E, P) { - super(k, P) - this.range = v - this.valueRange = E - } - get type() { - return 'amd require context' - } - serialize(k) { - const { write: v } = k - v(this.range) - v(this.valueRange) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.range = v() - this.valueRange = v() - super.deserialize(k) - } - } - P( - RequireResolveContextDependency, - 'webpack/lib/dependencies/RequireResolveContextDependency' - ) - RequireResolveContextDependency.Template = L - k.exports = RequireResolveContextDependency - }, - 29961: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(58528) - const L = E(77373) - const N = E(3312) - class RequireResolveDependency extends L { - constructor(k, v, E) { - super(k) - this.range = v - this._context = E - } - get type() { - return 'require.resolve' - } - get category() { - return 'commonjs' - } - getReferencedExports(k, v) { - return P.NO_EXPORTS_REFERENCED - } - } - R( - RequireResolveDependency, - 'webpack/lib/dependencies/RequireResolveDependency' - ) - RequireResolveDependency.Template = N - k.exports = RequireResolveDependency - }, - 53765: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(53139) - class RequireResolveHeaderDependency extends R { - constructor(k) { - super() - if (!Array.isArray(k)) throw new Error('range must be valid') - this.range = k - } - serialize(k) { - const { write: v } = k - v(this.range) - super.serialize(k) - } - static deserialize(k) { - const v = new RequireResolveHeaderDependency(k.read()) - v.deserialize(k) - return v - } - } - P( - RequireResolveHeaderDependency, - 'webpack/lib/dependencies/RequireResolveHeaderDependency' - ) - RequireResolveHeaderDependency.Template = class RequireResolveHeaderDependencyTemplate extends ( - R.Template - ) { - apply(k, v, E) { - const P = k - v.replace(P.range[0], P.range[1] - 1, '/*require.resolve*/') - } - applyAsTemplateArgument(k, v, E) { - E.replace(v.range[0], v.range[1] - 1, '/*require.resolve*/') - } - } - k.exports = RequireResolveHeaderDependency - }, - 84985: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(53139) - class RuntimeRequirementsDependency extends R { - constructor(k) { - super() - this.runtimeRequirements = new Set(k) - this._hashUpdate = undefined - } - updateHash(k, v) { - if (this._hashUpdate === undefined) { - this._hashUpdate = Array.from(this.runtimeRequirements).join() + '' - } - k.update(this._hashUpdate) - } - serialize(k) { - const { write: v } = k - v(this.runtimeRequirements) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.runtimeRequirements = v() - super.deserialize(k) - } - } - P( - RuntimeRequirementsDependency, - 'webpack/lib/dependencies/RuntimeRequirementsDependency' - ) - RuntimeRequirementsDependency.Template = class RuntimeRequirementsDependencyTemplate extends ( - R.Template - ) { - apply(k, v, { runtimeRequirements: E }) { - const P = k - for (const k of P.runtimeRequirements) { - E.add(k) - } - } - } - k.exports = RuntimeRequirementsDependency - }, - 93414: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(53139) - class StaticExportsDependency extends R { - constructor(k, v) { - super() - this.exports = k - this.canMangle = v - } - get type() { - return 'static exports' - } - getExports(k) { - return { - exports: this.exports, - canMangle: this.canMangle, - dependencies: undefined, - } - } - serialize(k) { - const { write: v } = k - v(this.exports) - v(this.canMangle) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.exports = v() - this.canMangle = v() - super.deserialize(k) - } - } - P( - StaticExportsDependency, - 'webpack/lib/dependencies/StaticExportsDependency' - ) - k.exports = StaticExportsDependency - }, - 3674: function (k, v, E) { - 'use strict' - const { - JAVASCRIPT_MODULE_TYPE_AUTO: P, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: R, - } = E(93622) - const L = E(56727) - const N = E(71572) - const { - evaluateToString: q, - expressionIsUnsupported: ae, - toConstantDependency: le, - } = E(80784) - const pe = E(58528) - const me = E(60381) - const ye = E(92464) - const _e = 'SystemPlugin' - class SystemPlugin { - apply(k) { - k.hooks.compilation.tap(_e, (k, { normalModuleFactory: v }) => { - k.hooks.runtimeRequirementInModule.for(L.system).tap(_e, (k, v) => { - v.add(L.requireScope) - }) - k.hooks.runtimeRequirementInTree.for(L.system).tap(_e, (v, E) => { - k.addRuntimeModule(v, new ye()) - }) - const handler = (k, v) => { - if (v.system === undefined || !v.system) { - return - } - const setNotSupported = (v) => { - k.hooks.evaluateTypeof.for(v).tap(_e, q('undefined')) - k.hooks.expression - .for(v) - .tap(_e, ae(k, v + ' is not supported by webpack.')) - } - k.hooks.typeof - .for('System.import') - .tap(_e, le(k, JSON.stringify('function'))) - k.hooks.evaluateTypeof.for('System.import').tap(_e, q('function')) - k.hooks.typeof - .for('System') - .tap(_e, le(k, JSON.stringify('object'))) - k.hooks.evaluateTypeof.for('System').tap(_e, q('object')) - setNotSupported('System.set') - setNotSupported('System.get') - setNotSupported('System.register') - k.hooks.expression.for('System').tap(_e, (v) => { - const E = new me(L.system, v.range, [L.system]) - E.loc = v.loc - k.state.module.addPresentationalDependency(E) - return true - }) - k.hooks.call.for('System.import').tap(_e, (v) => { - k.state.module.addWarning( - new SystemImportDeprecationWarning(v.loc) - ) - return k.hooks.importCall.call({ - type: 'ImportExpression', - source: v.arguments[0], - loc: v.loc, - range: v.range, - }) - }) - } - v.hooks.parser.for(P).tap(_e, handler) - v.hooks.parser.for(R).tap(_e, handler) - }) - } - } - class SystemImportDeprecationWarning extends N { - constructor(k) { - 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 = k - } - } - pe( - SystemImportDeprecationWarning, - 'webpack/lib/dependencies/SystemPlugin', - 'SystemImportDeprecationWarning' - ) - k.exports = SystemPlugin - k.exports.SystemImportDeprecationWarning = SystemImportDeprecationWarning - }, - 92464: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class SystemRuntimeModule extends R { - constructor() { - super('system') - } - generate() { - return L.asString([ - `${P.system} = {`, - L.indent([ - 'import: function () {', - L.indent( - "throw new Error('System.import cannot be used indirectly');" - ), - '}', - ]), - '};', - ]) - } - } - k.exports = SystemRuntimeModule - }, - 65961: function (k, v, E) { - 'use strict' - const P = E(56727) - const { getDependencyUsedByExportsCondition: R } = E(88926) - const L = E(58528) - const N = E(20631) - const q = E(77373) - const ae = N(() => E(26619)) - class URLDependency extends q { - constructor(k, v, E, P) { - super(k) - this.range = v - this.outerRange = E - this.relative = P || false - this.usedByExports = undefined - } - get type() { - return 'new URL()' - } - get category() { - return 'url' - } - getCondition(k) { - return R(this, this.usedByExports, k) - } - createIgnoredModule(k) { - const v = ae() - return new v('data:,', `ignored-asset`, `(ignored asset)`) - } - serialize(k) { - const { write: v } = k - v(this.outerRange) - v(this.relative) - v(this.usedByExports) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.outerRange = v() - this.relative = v() - this.usedByExports = v() - super.deserialize(k) - } - } - URLDependency.Template = class URLDependencyTemplate extends q.Template { - apply(k, v, E) { - const { - chunkGraph: R, - moduleGraph: L, - runtimeRequirements: N, - runtimeTemplate: q, - runtime: ae, - } = E - const le = k - const pe = L.getConnection(le) - if (pe && !pe.isTargetActive(ae)) { - v.replace( - le.outerRange[0], - le.outerRange[1] - 1, - '/* unused asset import */ undefined' - ) - return - } - N.add(P.require) - if (le.relative) { - N.add(P.relativeUrl) - v.replace( - le.outerRange[0], - le.outerRange[1] - 1, - `/* asset import */ new ${P.relativeUrl}(${q.moduleRaw({ - chunkGraph: R, - module: L.getModule(le), - request: le.request, - runtimeRequirements: N, - weak: false, - })})` - ) - } else { - N.add(P.baseURI) - v.replace( - le.range[0], - le.range[1] - 1, - `/* asset import */ ${q.moduleRaw({ - chunkGraph: R, - module: L.getModule(le), - request: le.request, - runtimeRequirements: N, - weak: false, - })}, ${P.baseURI}` - ) - } - } - } - L(URLDependency, 'webpack/lib/dependencies/URLDependency') - k.exports = URLDependency - }, - 50703: function (k, v, E) { - 'use strict' - const { pathToFileURL: P } = E(57310) - const { JAVASCRIPT_MODULE_TYPE_AUTO: R, JAVASCRIPT_MODULE_TYPE_ESM: L } = - E(93622) - const N = E(70037) - const { approve: q } = E(80784) - const ae = E(88926) - const le = E(65961) - const pe = 'URLPlugin' - class URLPlugin { - apply(k) { - k.hooks.compilation.tap(pe, (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(le, v) - k.dependencyTemplates.set(le, new le.Template()) - const getUrl = (k) => P(k.resource) - const parserCallback = (k, v) => { - if (v.url === false) return - const E = v.url === 'relative' - const getUrlRequest = (v) => { - if (v.arguments.length !== 2) return - const [E, P] = v.arguments - if (P.type !== 'MemberExpression' || E.type === 'SpreadElement') - return - const R = k.extractMemberExpressionChain(P) - if ( - R.members.length !== 1 || - R.object.type !== 'MetaProperty' || - R.object.meta.name !== 'import' || - R.object.property.name !== 'meta' || - R.members[0] !== 'url' - ) - return - return k.evaluateExpression(E).asString() - } - k.hooks.canRename.for('URL').tap(pe, q) - k.hooks.evaluateNewExpression.for('URL').tap(pe, (v) => { - const E = getUrlRequest(v) - if (!E) return - const P = new URL(E, getUrl(k.state.module)) - return new N().setString(P.toString()).setRange(v.range) - }) - k.hooks.new.for('URL').tap(pe, (v) => { - const P = v - const R = getUrlRequest(P) - if (!R) return - const [L, N] = P.arguments - const q = new le(R, [L.range[0], N.range[1]], P.range, E) - q.loc = P.loc - k.state.current.addDependency(q) - ae.onUsage(k.state, (k) => (q.usedByExports = k)) - return true - }) - k.hooks.isPure.for('NewExpression').tap(pe, (v) => { - const E = v - const { callee: P } = E - if (P.type !== 'Identifier') return - const R = k.getFreeInfoFromVariable(P.name) - if (!R || R.name !== 'URL') return - const L = getUrlRequest(E) - if (L) return true - }) - } - v.hooks.parser.for(R).tap(pe, parserCallback) - v.hooks.parser.for(L).tap(pe, parserCallback) - }) - } - } - k.exports = URLPlugin - }, - 63639: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(53139) - class UnsupportedDependency extends R { - constructor(k, v) { - super() - this.request = k - this.range = v - } - serialize(k) { - const { write: v } = k - v(this.request) - v(this.range) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.request = v() - this.range = v() - super.deserialize(k) - } - } - P(UnsupportedDependency, 'webpack/lib/dependencies/UnsupportedDependency') - UnsupportedDependency.Template = class UnsupportedDependencyTemplate extends ( - R.Template - ) { - apply(k, v, { runtimeTemplate: E }) { - const P = k - v.replace( - P.range[0], - P.range[1], - E.missingModule({ request: P.request }) - ) - } - } - k.exports = UnsupportedDependency - }, - 74476: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(58528) - const L = E(77373) - class WebAssemblyExportImportedDependency extends L { - constructor(k, v, E, P) { - super(v) - this.exportName = k - this.name = E - this.valueType = P - } - couldAffectReferencingModule() { - return P.TRANSITIVE - } - getReferencedExports(k, v) { - return [[this.name]] - } - get type() { - return 'wasm export import' - } - get category() { - return 'wasm' - } - serialize(k) { - const { write: v } = k - v(this.exportName) - v(this.name) - v(this.valueType) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.exportName = v() - this.name = v() - this.valueType = v() - super.deserialize(k) - } - } - R( - WebAssemblyExportImportedDependency, - 'webpack/lib/dependencies/WebAssemblyExportImportedDependency' - ) - k.exports = WebAssemblyExportImportedDependency - }, - 22734: function (k, v, E) { - 'use strict' - const P = E(58528) - const R = E(42626) - const L = E(77373) - class WebAssemblyImportDependency extends L { - constructor(k, v, E, P) { - super(k) - this.name = v - this.description = E - this.onlyDirectImport = P - } - get type() { - return 'wasm import' - } - get category() { - return 'wasm' - } - getReferencedExports(k, v) { - return [[this.name]] - } - getErrors(k) { - const v = k.getModule(this) - if (this.onlyDirectImport && v && !v.type.startsWith('webassembly')) { - return [ - new R( - `Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies` - ), - ] - } - } - serialize(k) { - const { write: v } = k - v(this.name) - v(this.description) - v(this.onlyDirectImport) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.name = v() - this.description = v() - this.onlyDirectImport = v() - super.deserialize(k) - } - } - P( - WebAssemblyImportDependency, - 'webpack/lib/dependencies/WebAssemblyImportDependency' - ) - k.exports = WebAssemblyImportDependency - }, - 83143: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(95041) - const L = E(58528) - const N = E(77373) - class WebpackIsIncludedDependency extends N { - constructor(k, v) { - super(k) - this.weak = true - this.range = v - } - getReferencedExports(k, v) { - return P.NO_EXPORTS_REFERENCED - } - get type() { - return '__webpack_is_included__' - } - } - L( - WebpackIsIncludedDependency, - 'webpack/lib/dependencies/WebpackIsIncludedDependency' - ) - WebpackIsIncludedDependency.Template = class WebpackIsIncludedDependencyTemplate extends ( - N.Template - ) { - apply(k, v, { runtimeTemplate: E, chunkGraph: P, moduleGraph: L }) { - const N = k - const q = L.getConnection(N) - const ae = q ? P.getNumberOfModuleChunks(q.module) > 0 : false - const le = E.outputOptions.pathinfo - ? R.toComment( - `__webpack_is_included__ ${E.requestShortener.shorten( - N.request - )}` - ) - : '' - v.replace(N.range[0], N.range[1] - 1, `${le}${JSON.stringify(ae)}`) - } - } - k.exports = WebpackIsIncludedDependency - }, - 15200: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(56727) - const L = E(58528) - const N = E(77373) - class WorkerDependency extends N { - constructor(k, v, E) { - super(k) - this.range = v - this.options = E - this._hashUpdate = undefined - } - getReferencedExports(k, v) { - return P.NO_EXPORTS_REFERENCED - } - get type() { - return 'new Worker()' - } - get category() { - return 'worker' - } - updateHash(k, v) { - if (this._hashUpdate === undefined) { - this._hashUpdate = JSON.stringify(this.options) - } - k.update(this._hashUpdate) - } - serialize(k) { - const { write: v } = k - v(this.options) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.options = v() - super.deserialize(k) - } - } - WorkerDependency.Template = class WorkerDependencyTemplate extends ( - N.Template - ) { - apply(k, v, E) { - const { chunkGraph: P, moduleGraph: L, runtimeRequirements: N } = E - const q = k - const ae = L.getParentBlock(k) - const le = P.getBlockChunkGroup(ae) - const pe = le.getEntrypointChunk() - const me = q.options.publicPath - ? `"${q.options.publicPath}"` - : R.publicPath - N.add(R.publicPath) - N.add(R.baseURI) - N.add(R.getChunkScriptFilename) - v.replace( - q.range[0], - q.range[1] - 1, - `/* worker import */ ${me} + ${ - R.getChunkScriptFilename - }(${JSON.stringify(pe.id)}), ${R.baseURI}` - ) - } - } - L(WorkerDependency, 'webpack/lib/dependencies/WorkerDependency') - k.exports = WorkerDependency - }, - 95918: function (k, v, E) { - 'use strict' - const { pathToFileURL: P } = E(57310) - const R = E(75081) - const L = E(68160) - const { JAVASCRIPT_MODULE_TYPE_AUTO: N, JAVASCRIPT_MODULE_TYPE_ESM: q } = - E(93622) - const ae = E(9415) - const le = E(73126) - const { equals: pe } = E(68863) - const me = E(74012) - const { contextify: ye } = E(65315) - const _e = E(50792) - const Ie = E(60381) - const Me = E(98857) - const { harmonySpecifierTag: Te } = E(57737) - const je = E(15200) - const getUrl = (k) => P(k.resource).toString() - const Ne = Symbol('worker specifier tag') - const Be = [ - 'Worker', - 'SharedWorker', - 'navigator.serviceWorker.register()', - 'Worker from worker_threads', - ] - const qe = new WeakMap() - const Ue = 'WorkerPlugin' - class WorkerPlugin { - constructor(k, v, E, P) { - this._chunkLoading = k - this._wasmLoading = v - this._module = E - this._workerPublicPath = P - } - apply(k) { - if (this._chunkLoading) { - new le(this._chunkLoading).apply(k) - } - if (this._wasmLoading) { - new _e(this._wasmLoading).apply(k) - } - const v = ye.bindContextCache(k.context, k.root) - k.hooks.thisCompilation.tap(Ue, (k, { normalModuleFactory: E }) => { - k.dependencyFactories.set(je, E) - k.dependencyTemplates.set(je, new je.Template()) - k.dependencyTemplates.set(Me, new Me.Template()) - const parseModuleUrl = (k, v) => { - if ( - v.type !== 'NewExpression' || - v.callee.type === 'Super' || - v.arguments.length !== 2 - ) - return - const [E, P] = v.arguments - if (E.type === 'SpreadElement') return - if (P.type === 'SpreadElement') return - const R = k.evaluateExpression(v.callee) - if (!R.isIdentifier() || R.identifier !== 'URL') return - const L = k.evaluateExpression(P) - if ( - !L.isString() || - !L.string.startsWith('file://') || - L.string !== getUrl(k.state.module) - ) { - return - } - const N = k.evaluateExpression(E) - return [N, [E.range[0], P.range[1]]] - } - const parseObjectExpression = (k, v) => { - const E = {} - const P = {} - const R = [] - let L = false - for (const N of v.properties) { - if (N.type === 'SpreadElement') { - L = true - } else if ( - N.type === 'Property' && - !N.method && - !N.computed && - N.key.type === 'Identifier' - ) { - P[N.key.name] = N.value - if (!N.shorthand && !N.value.type.endsWith('Pattern')) { - const v = k.evaluateExpression(N.value) - if (v.isCompileTimeValue()) - E[N.key.name] = v.asCompileTimeValue() - } - } else { - R.push(N) - } - } - const N = v.properties.length > 0 ? 'comma' : 'single' - const q = v.properties[v.properties.length - 1].range[1] - return { - expressions: P, - otherElements: R, - values: E, - spread: L, - insertType: N, - insertLocation: q, - } - } - const parserPlugin = (E, P) => { - if (P.worker === false) return - const N = !Array.isArray(P.worker) ? ['...'] : P.worker - const handleNewWorker = (P) => { - if (P.arguments.length === 0 || P.arguments.length > 2) return - const [N, q] = P.arguments - if (N.type === 'SpreadElement') return - if (q && q.type === 'SpreadElement') return - const le = parseModuleUrl(E, N) - if (!le) return - const [pe, ye] = le - if (!pe.isString()) return - const { - expressions: _e, - otherElements: Te, - values: Ne, - spread: Be, - insertType: Ue, - insertLocation: Ge, - } = q && q.type === 'ObjectExpression' - ? parseObjectExpression(E, q) - : { - expressions: {}, - otherElements: [], - values: {}, - spread: false, - insertType: q ? 'spread' : 'argument', - insertLocation: q ? q.range : N.range[1], - } - const { options: He, errors: We } = E.parseCommentOptions( - P.range - ) - if (We) { - for (const k of We) { - const { comment: v } = k - E.state.module.addWarning( - new L( - `Compilation error while processing magic comment(-s): /*${v.value}*/: ${k.message}`, - v.loc - ) - ) - } - } - let Qe = {} - if (He) { - if (He.webpackIgnore !== undefined) { - if (typeof He.webpackIgnore !== 'boolean') { - E.state.module.addWarning( - new ae( - `\`webpackIgnore\` expected a boolean, but received: ${He.webpackIgnore}.`, - P.loc - ) - ) - } else { - if (He.webpackIgnore) { - return false - } - } - } - if (He.webpackEntryOptions !== undefined) { - if ( - typeof He.webpackEntryOptions !== 'object' || - He.webpackEntryOptions === null - ) { - E.state.module.addWarning( - new ae( - `\`webpackEntryOptions\` expected a object, but received: ${He.webpackEntryOptions}.`, - P.loc - ) - ) - } else { - Object.assign(Qe, He.webpackEntryOptions) - } - } - if (He.webpackChunkName !== undefined) { - if (typeof He.webpackChunkName !== 'string') { - E.state.module.addWarning( - new ae( - `\`webpackChunkName\` expected a string, but received: ${He.webpackChunkName}.`, - P.loc - ) - ) - } else { - Qe.name = He.webpackChunkName - } - } - } - if ( - !Object.prototype.hasOwnProperty.call(Qe, 'name') && - Ne && - typeof Ne.name === 'string' - ) { - Qe.name = Ne.name - } - if (Qe.runtime === undefined) { - let P = qe.get(E.state) || 0 - qe.set(E.state, P + 1) - let R = `${v(E.state.module.identifier())}|${P}` - const L = me(k.outputOptions.hashFunction) - L.update(R) - const N = L.digest(k.outputOptions.hashDigest) - Qe.runtime = N.slice(0, k.outputOptions.hashDigestLength) - } - const Je = new R({ - name: Qe.name, - entryOptions: { - chunkLoading: this._chunkLoading, - wasmLoading: this._wasmLoading, - ...Qe, - }, - }) - Je.loc = P.loc - const Ve = new je(pe.string, ye, { - publicPath: this._workerPublicPath, - }) - Ve.loc = P.loc - Je.addDependency(Ve) - E.state.module.addBlock(Je) - if (k.outputOptions.trustedTypes) { - const k = new Me(P.arguments[0].range) - k.loc = P.loc - E.state.module.addDependency(k) - } - if (_e.type) { - const k = _e.type - if (Ne.type !== false) { - const v = new Ie( - this._module ? '"module"' : 'undefined', - k.range - ) - v.loc = k.loc - E.state.module.addPresentationalDependency(v) - _e.type = undefined - } - } else if (Ue === 'comma') { - if (this._module || Be) { - const k = new Ie( - `, type: ${this._module ? '"module"' : 'undefined'}`, - Ge - ) - k.loc = P.loc - E.state.module.addPresentationalDependency(k) - } - } else if (Ue === 'spread') { - const k = new Ie('Object.assign({}, ', Ge[0]) - const v = new Ie( - `, { type: ${this._module ? '"module"' : 'undefined'} })`, - Ge[1] - ) - k.loc = P.loc - v.loc = P.loc - E.state.module.addPresentationalDependency(k) - E.state.module.addPresentationalDependency(v) - } else if (Ue === 'argument') { - if (this._module) { - const k = new Ie(', { type: "module" }', Ge) - k.loc = P.loc - E.state.module.addPresentationalDependency(k) - } - } - E.walkExpression(P.callee) - for (const k of Object.keys(_e)) { - if (_e[k]) E.walkExpression(_e[k]) - } - for (const k of Te) { - E.walkProperty(k) - } - if (Ue === 'spread') { - E.walkExpression(q) - } - return true - } - const processItem = (k) => { - if (k.startsWith('*') && k.includes('.') && k.endsWith('()')) { - const v = k.indexOf('.') - const P = k.slice(1, v) - const R = k.slice(v + 1, -2) - E.hooks.pattern.for(P).tap(Ue, (k) => { - E.tagVariable(k.name, Ne) - return true - }) - E.hooks.callMemberChain.for(Ne).tap(Ue, (k, v) => { - if (R !== v.join('.')) { - return - } - return handleNewWorker(k) - }) - } else if (k.endsWith('()')) { - E.hooks.call.for(k.slice(0, -2)).tap(Ue, handleNewWorker) - } else { - const v = /^(.+?)(\(\))?\s+from\s+(.+)$/.exec(k) - if (v) { - const k = v[1].split('.') - const P = v[2] - const R = v[3] - ;(P ? E.hooks.call : E.hooks.new).for(Te).tap(Ue, (v) => { - const P = E.currentTagData - if (!P || P.source !== R || !pe(P.ids, k)) { - return - } - return handleNewWorker(v) - }) - } else { - E.hooks.new.for(k).tap(Ue, handleNewWorker) - } - } - } - for (const k of N) { - if (k === '...') { - Be.forEach(processItem) - } else processItem(k) - } - } - E.hooks.parser.for(N).tap(Ue, parserPlugin) - E.hooks.parser.for(q).tap(Ue, parserPlugin) - }) - } - } - k.exports = WorkerPlugin - }, - 21271: function (k) { - 'use strict' - k.exports = (k) => { - if ( - k.type === 'FunctionExpression' || - k.type === 'ArrowFunctionExpression' - ) { - return { fn: k, expressions: [], needThis: false } - } - if ( - k.type === 'CallExpression' && - k.callee.type === 'MemberExpression' && - k.callee.object.type === 'FunctionExpression' && - k.callee.property.type === 'Identifier' && - k.callee.property.name === 'bind' && - k.arguments.length === 1 - ) { - return { - fn: k.callee.object, - expressions: [k.arguments[0]], - needThis: undefined, - } - } - if ( - k.type === 'CallExpression' && - k.callee.type === 'FunctionExpression' && - k.callee.body.type === 'BlockStatement' && - k.arguments.length === 1 && - k.arguments[0].type === 'ThisExpression' && - k.callee.body.body && - k.callee.body.body.length === 1 && - k.callee.body.body[0].type === 'ReturnStatement' && - k.callee.body.body[0].argument && - k.callee.body.body[0].argument.type === 'FunctionExpression' - ) { - return { - fn: k.callee.body.body[0].argument, - expressions: [], - needThis: true, - } - } - } - }, - 49798: function (k, v, E) { - 'use strict' - const { UsageState: P } = E(11172) - const processExportInfo = (k, v, E, R, L = false, N = new Set()) => { - if (!R) { - v.push(E) - return - } - const q = R.getUsed(k) - if (q === P.Unused) return - if (N.has(R)) { - v.push(E) - return - } - N.add(R) - if ( - q !== P.OnlyPropertiesUsed || - !R.exportsInfo || - R.exportsInfo.otherExportsInfo.getUsed(k) !== P.Unused - ) { - N.delete(R) - v.push(E) - return - } - const ae = R.exportsInfo - for (const P of ae.orderedExports) { - processExportInfo( - k, - v, - L && P.name === 'default' ? E : E.concat(P.name), - P, - false, - N - ) - } - N.delete(R) - } - k.exports = processExportInfo - }, - 27558: function (k, v, E) { - 'use strict' - const P = E(53757) - class ElectronTargetPlugin { - constructor(k) { - this._context = k - } - apply(k) { - new P('node-commonjs', [ - 'clipboard', - 'crash-reporter', - 'electron', - 'ipc', - 'native-image', - 'original-fs', - 'screen', - 'shell', - ]).apply(k) - switch (this._context) { - case 'main': - new P('node-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(k) - break - case 'preload': - case 'renderer': - new P('node-commonjs', [ - 'desktop-capturer', - 'ipc-renderer', - 'remote', - 'web-frame', - ]).apply(k) - break - } - } - } - k.exports = ElectronTargetPlugin - }, - 10408: function (k, v, E) { - 'use strict' - const P = E(71572) - class BuildCycleError extends P { - constructor(k) { - super( - 'There is a circular build dependency, which makes it impossible to create this module' - ) - this.name = 'BuildCycleError' - this.module = k - } - } - k.exports = BuildCycleError - }, - 25427: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - class ExportWebpackRequireRuntimeModule extends R { - constructor() { - super('export webpack runtime', R.STAGE_ATTACH) - } - shouldIsolate() { - return false - } - generate() { - return `export default ${P.require};` - } - } - k.exports = ExportWebpackRequireRuntimeModule - }, - 14504: function (k, v, E) { - 'use strict' - const { ConcatSource: P } = E(51255) - const { RuntimeGlobals: R } = E(94308) - const L = E(95733) - const N = E(95041) - const { getAllChunks: q } = E(72130) - const { - chunkHasJs: ae, - getCompilationHooks: le, - getChunkFilenameTemplate: pe, - } = E(89168) - const { updateHashForEntryStartup: me } = E(73777) - class ModuleChunkFormatPlugin { - apply(k) { - k.hooks.thisCompilation.tap('ModuleChunkFormatPlugin', (k) => { - k.hooks.additionalChunkRuntimeRequirements.tap( - 'ModuleChunkFormatPlugin', - (v, E) => { - if (v.hasRuntime()) return - if (k.chunkGraph.getNumberOfEntryModules(v) > 0) { - E.add(R.require) - E.add(R.startupEntrypoint) - E.add(R.externalInstallChunk) - } - } - ) - const v = le(k) - v.renderChunk.tap('ModuleChunkFormatPlugin', (E, le) => { - const { chunk: me, chunkGraph: ye, runtimeTemplate: _e } = le - const Ie = me instanceof L ? me : null - const Me = new P() - if (Ie) { - throw new Error( - 'HMR is not implemented for module chunk format yet' - ) - } else { - Me.add(`export const id = ${JSON.stringify(me.id)};\n`) - Me.add(`export const ids = ${JSON.stringify(me.ids)};\n`) - Me.add(`export const modules = `) - Me.add(E) - Me.add(`;\n`) - const L = ye.getChunkRuntimeModulesInOrder(me) - if (L.length > 0) { - Me.add('export const runtime =\n') - Me.add(N.renderChunkRuntimeModules(L, le)) - } - const Ie = Array.from( - ye.getChunkEntryModulesWithChunkGroupIterable(me) - ) - if (Ie.length > 0) { - const E = Ie[0][1].getRuntimeChunk() - const L = k - .getPath(pe(me, k.outputOptions), { - chunk: me, - contentHashType: 'javascript', - }) - .split('/') - L.pop() - const getRelativePath = (v) => { - const E = L.slice() - const P = k - .getPath(pe(v, k.outputOptions), { - chunk: v, - contentHashType: 'javascript', - }) - .split('/') - while (E.length > 0 && P.length > 0 && E[0] === P[0]) { - E.shift() - P.shift() - } - return ( - (E.length > 0 ? '../'.repeat(E.length) : './') + - P.join('/') - ) - } - const N = new P() - N.add(Me) - N.add(';\n\n// load runtime\n') - N.add( - `import ${R.require} from ${JSON.stringify( - getRelativePath(E) - )};\n` - ) - const Te = new P() - Te.add( - `var __webpack_exec__ = ${_e.returningFunction( - `${R.require}(${R.entryModuleId} = moduleId)`, - 'moduleId' - )}\n` - ) - const je = new Set() - let Ne = 0 - for (let k = 0; k < Ie.length; k++) { - const [v, P] = Ie[k] - const L = k + 1 === Ie.length - const N = ye.getModuleId(v) - const le = q(P, E, undefined) - for (const k of le) { - if (je.has(k) || !ae(k, ye)) continue - je.add(k) - Te.add( - `import * as __webpack_chunk_${Ne}__ from ${JSON.stringify( - getRelativePath(k) - )};\n` - ) - Te.add( - `${R.externalInstallChunk}(__webpack_chunk_${Ne}__);\n` - ) - Ne++ - } - Te.add( - `${ - L ? `var ${R.exports} = ` : '' - }__webpack_exec__(${JSON.stringify(N)});\n` - ) - } - N.add( - v.renderStartup.call(Te, Ie[Ie.length - 1][0], { - ...le, - inlined: false, - }) - ) - return N - } - } - return Me - }) - v.chunkHash.tap( - 'ModuleChunkFormatPlugin', - (k, v, { chunkGraph: E, runtimeTemplate: P }) => { - if (k.hasRuntime()) return - v.update('ModuleChunkFormatPlugin') - v.update('1') - const R = Array.from( - E.getChunkEntryModulesWithChunkGroupIterable(k) - ) - me(v, E, R, k) - } - ) - }) - } - } - k.exports = ModuleChunkFormatPlugin - }, - 21879: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(25427) - const L = E(68748) - class ModuleChunkLoadingPlugin { - apply(k) { - k.hooks.thisCompilation.tap('ModuleChunkLoadingPlugin', (k) => { - const v = k.outputOptions.chunkLoading - const isEnabledForChunk = (k) => { - const E = k.getEntryOptions() - const P = E && E.chunkLoading !== undefined ? E.chunkLoading : v - return P === 'import' - } - const E = new WeakSet() - const handler = (v, R) => { - if (E.has(v)) return - E.add(v) - if (!isEnabledForChunk(v)) return - R.add(P.moduleFactoriesAddOnly) - R.add(P.hasOwnProperty) - k.addRuntimeModule(v, new L(R)) - } - k.hooks.runtimeRequirementInTree - .for(P.ensureChunkHandlers) - .tap('ModuleChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.baseURI) - .tap('ModuleChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.externalInstallChunk) - .tap('ModuleChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.onChunksLoaded) - .tap('ModuleChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.externalInstallChunk) - .tap('ModuleChunkLoadingPlugin', (v, E) => { - if (!isEnabledForChunk(v)) return - k.addRuntimeModule(v, new R()) - }) - k.hooks.runtimeRequirementInTree - .for(P.ensureChunkHandlers) - .tap('ModuleChunkLoadingPlugin', (k, v) => { - if (!isEnabledForChunk(k)) return - v.add(P.getChunkScriptFilename) - }) - }) - } - } - k.exports = ModuleChunkLoadingPlugin - }, - 68748: function (k, v, E) { - 'use strict' - const { SyncWaterfallHook: P } = E(79846) - const R = E(27747) - const L = E(56727) - const N = E(27462) - const q = E(95041) - const { getChunkFilenameTemplate: ae, chunkHasJs: le } = E(89168) - const { getInitialChunkIds: pe } = E(73777) - const me = E(21751) - const { getUndoPath: ye } = E(65315) - const _e = new WeakMap() - class ModuleChunkLoadingRuntimeModule extends N { - static getCompilationHooks(k) { - if (!(k instanceof R)) { - throw new TypeError( - "The 'compilation' argument must be an instance of Compilation" - ) - } - let v = _e.get(k) - if (v === undefined) { - v = { - linkPreload: new P(['source', 'chunk']), - linkPrefetch: new P(['source', 'chunk']), - } - _e.set(k, v) - } - return v - } - constructor(k) { - super('import chunk loading', N.STAGE_ATTACH) - this._runtimeRequirements = k - } - _generateBaseUri(k, v) { - const E = k.getEntryOptions() - if (E && E.baseUri) { - return `${L.baseURI} = ${JSON.stringify(E.baseUri)};` - } - const P = this.compilation - const { - outputOptions: { importMetaName: R }, - } = P - return `${L.baseURI} = new URL(${JSON.stringify(v)}, ${R}.url);` - } - generate() { - const k = this.compilation - const v = this.chunkGraph - const E = this.chunk - const { - runtimeTemplate: P, - outputOptions: { importFunctionName: R }, - } = k - const N = L.ensureChunkHandlers - const _e = this._runtimeRequirements.has(L.baseURI) - const Ie = this._runtimeRequirements.has(L.externalInstallChunk) - const Me = this._runtimeRequirements.has(L.ensureChunkHandlers) - const Te = this._runtimeRequirements.has(L.onChunksLoaded) - const je = this._runtimeRequirements.has(L.hmrDownloadUpdateHandlers) - const Ne = v.getChunkConditionMap(E, le) - const Be = me(Ne) - const qe = pe(E, v, le) - const Ue = k.getPath(ae(E, k.outputOptions), { - chunk: E, - contentHashType: 'javascript', - }) - const Ge = ye(Ue, k.outputOptions.path, true) - const He = je ? `${L.hmrRuntimeStatePrefix}_module` : undefined - return q.asString([ - _e ? this._generateBaseUri(E, Ge) : '// no baseURI', - '', - '// object to store loaded and loading chunks', - '// undefined = chunk not loaded, null = chunk preloaded/prefetched', - '// [resolve, Promise] = chunk loading, 0 = chunk loaded', - `var installedChunks = ${He ? `${He} = ${He} || ` : ''}{`, - q.indent( - Array.from(qe, (k) => `${JSON.stringify(k)}: 0`).join(',\n') - ), - '};', - '', - Me || Ie - ? `var installChunk = ${P.basicFunction('data', [ - P.destructureObject(['ids', 'modules', 'runtime'], 'data'), - '// add "modules" to the modules object,', - '// then flag all "ids" as loaded and fire callback', - 'var moduleId, chunkId, i = 0;', - 'for(moduleId in modules) {', - q.indent([ - `if(${L.hasOwnProperty}(modules, moduleId)) {`, - q.indent( - `${L.moduleFactories}[moduleId] = modules[moduleId];` - ), - '}', - ]), - '}', - `if(runtime) runtime(${L.require});`, - 'for(;i < ids.length; i++) {', - q.indent([ - 'chunkId = ids[i];', - `if(${L.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`, - q.indent('installedChunks[chunkId][0]();'), - '}', - 'installedChunks[ids[i]] = 0;', - ]), - '}', - Te ? `${L.onChunksLoaded}();` : '', - ])}` - : '// no install chunk', - '', - Me - ? q.asString([ - `${N}.j = ${P.basicFunction( - 'chunkId, promises', - Be !== false - ? q.indent([ - '// import() chunk loading for javascript', - `var installedChunkData = ${L.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`, - 'if(installedChunkData !== 0) { // 0 means "already installed".', - q.indent([ - '', - '// a Promise means "currently loading".', - 'if(installedChunkData) {', - q.indent(['promises.push(installedChunkData[1]);']), - '} else {', - q.indent([ - Be === true - ? 'if(true) { // all chunks have JS' - : `if(${Be('chunkId')}) {`, - q.indent([ - '// setup Promise in chunk cache', - `var promise = ${R}(${JSON.stringify(Ge)} + ${ - L.getChunkScriptFilename - }(chunkId)).then(installChunk, ${P.basicFunction( - 'e', - [ - 'if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;', - 'throw e;', - ] - )});`, - `var promise = Promise.race([promise, new Promise(${P.expressionFunction( - `installedChunkData = installedChunks[chunkId] = [resolve]`, - 'resolve' - )})])`, - `promises.push(installedChunkData[1] = promise);`, - ]), - Be === true - ? '}' - : '} else installedChunks[chunkId] = 0;', - ]), - '}', - ]), - '}', - ]) - : q.indent(['installedChunks[chunkId] = 0;']) - )};`, - ]) - : '// no chunk on demand loading', - '', - Ie - ? q.asString([`${L.externalInstallChunk} = installChunk;`]) - : '// no external install chunk', - '', - Te - ? `${L.onChunksLoaded}.j = ${P.returningFunction( - 'installedChunks[chunkId] === 0', - 'chunkId' - )};` - : '// no on chunks loaded', - ]) - } - } - k.exports = ModuleChunkLoadingRuntimeModule - }, - 1811: function (k) { - 'use strict' - const formatPosition = (k) => { - if (k && typeof k === 'object') { - if ('line' in k && 'column' in k) { - return `${k.line}:${k.column}` - } else if ('line' in k) { - return `${k.line}:?` - } - } - return '' - } - const formatLocation = (k) => { - if (k && typeof k === 'object') { - if ('start' in k && k.start && 'end' in k && k.end) { - if ( - typeof k.start === 'object' && - typeof k.start.line === 'number' && - typeof k.end === 'object' && - typeof k.end.line === 'number' && - typeof k.end.column === 'number' && - k.start.line === k.end.line - ) { - return `${formatPosition(k.start)}-${k.end.column}` - } else if ( - typeof k.start === 'object' && - typeof k.start.line === 'number' && - typeof k.start.column !== 'number' && - typeof k.end === 'object' && - typeof k.end.line === 'number' && - typeof k.end.column !== 'number' - ) { - return `${k.start.line}-${k.end.line}` - } else { - return `${formatPosition(k.start)}-${formatPosition(k.end)}` - } - } - if ('start' in k && k.start) { - return formatPosition(k.start) - } - if ('name' in k && 'index' in k) { - return `${k.name}[${k.index}]` - } - if ('name' in k) { - return k.name - } - } - return '' - } - k.exports = formatLocation - }, - 55223: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class HotModuleReplacementRuntimeModule extends R { - constructor() { - super('hot module replacement', R.STAGE_BASIC) - } - generate() { - return L.getFunctionContent( - require('./HotModuleReplacement.runtime.js') - ) - .replace(/\$getFullHash\$/g, P.getFullHash) - .replace( - /\$interceptModuleExecution\$/g, - P.interceptModuleExecution - ) - .replace(/\$moduleCache\$/g, P.moduleCache) - .replace(/\$hmrModuleData\$/g, P.hmrModuleData) - .replace(/\$hmrDownloadManifest\$/g, P.hmrDownloadManifest) - .replace( - /\$hmrInvalidateModuleHandlers\$/g, - P.hmrInvalidateModuleHandlers - ) - .replace( - /\$hmrDownloadUpdateHandlers\$/g, - P.hmrDownloadUpdateHandlers - ) - } - } - k.exports = HotModuleReplacementRuntimeModule - }, - 93239: function (k, v, E) { - 'use strict' - const { RawSource: P } = E(51255) - const R = E(75081) - const L = E(16848) - const N = E(88396) - const q = E(66043) - const { WEBPACK_MODULE_TYPE_LAZY_COMPILATION_PROXY: ae } = E(93622) - const le = E(56727) - const pe = E(95041) - const me = E(41655) - const { registerNotSerializable: ye } = E(52456) - const _e = new Set([ - 'import.meta.webpackHot.accept', - 'import.meta.webpackHot.decline', - 'module.hot.accept', - 'module.hot.decline', - ]) - const checkTest = (k, v) => { - if (k === undefined) return true - if (typeof k === 'function') { - return k(v) - } - if (typeof k === 'string') { - const E = v.nameForCondition() - return E && E.startsWith(k) - } - if (k instanceof RegExp) { - const E = v.nameForCondition() - return E && k.test(E) - } - return false - } - const Ie = new Set(['javascript']) - class LazyCompilationDependency extends L { - constructor(k) { - super() - this.proxyModule = k - } - get category() { - return 'esm' - } - get type() { - return 'lazy import()' - } - getResourceIdentifier() { - return this.proxyModule.originalModule.identifier() - } - } - ye(LazyCompilationDependency) - class LazyCompilationProxyModule extends N { - constructor(k, v, E, P, R, L) { - super(ae, k, v.layer) - this.originalModule = v - this.request = E - this.client = P - this.data = R - this.active = L - } - identifier() { - return `${ae}|${this.originalModule.identifier()}` - } - readableIdentifier(k) { - return `${ae} ${this.originalModule.readableIdentifier(k)}` - } - updateCacheModule(k) { - super.updateCacheModule(k) - const v = k - this.originalModule = v.originalModule - this.request = v.request - this.client = v.client - this.data = v.data - this.active = v.active - } - libIdent(k) { - return `${this.originalModule.libIdent(k)}!${ae}` - } - needBuild(k, v) { - v(null, !this.buildInfo || this.buildInfo.active !== this.active) - } - build(k, v, E, P, L) { - this.buildInfo = { active: this.active } - this.buildMeta = {} - this.clearDependenciesAndBlocks() - const N = new me(this.client) - this.addDependency(N) - if (this.active) { - const k = new LazyCompilationDependency(this) - const v = new R({}) - v.addDependency(k) - this.addBlock(v) - } - L() - } - getSourceTypes() { - return Ie - } - size(k) { - return 200 - } - codeGeneration({ runtimeTemplate: k, chunkGraph: v, moduleGraph: E }) { - const R = new Map() - const L = new Set() - L.add(le.module) - const N = this.dependencies[0] - const q = E.getModule(N) - const ae = this.blocks[0] - const me = pe.asString([ - `var client = ${k.moduleExports({ - module: q, - chunkGraph: v, - request: N.userRequest, - runtimeRequirements: L, - })}`, - `var data = ${JSON.stringify(this.data)};`, - ]) - const ye = pe.asString([ - `var dispose = client.keepAlive({ data: data, active: ${JSON.stringify( - !!ae - )}, module: module, onError: onError });`, - ]) - let _e - if (ae) { - const P = ae.dependencies[0] - const R = E.getModule(P) - _e = pe.asString([ - me, - `module.exports = ${k.moduleNamespacePromise({ - chunkGraph: v, - block: ae, - module: R, - request: this.request, - strict: false, - message: 'import()', - runtimeRequirements: L, - })};`, - 'if (module.hot) {', - pe.indent([ - 'module.hot.accept();', - `module.hot.accept(${JSON.stringify( - v.getModuleId(R) - )}, function() { module.hot.invalidate(); });`, - 'module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });', - 'if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);', - ]), - '}', - 'function onError() { /* ignore */ }', - ye, - ]) - } else { - _e = pe.asString([ - me, - 'var resolveSelf, onError;', - `module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`, - 'if (module.hot) {', - pe.indent([ - 'module.hot.accept();', - 'if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);', - 'module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });', - ]), - '}', - ye, - ]) - } - R.set('javascript', new P(_e)) - return { sources: R, runtimeRequirements: L } - } - updateHash(k, v) { - super.updateHash(k, v) - k.update(this.active ? 'active' : '') - k.update(JSON.stringify(this.data)) - } - } - ye(LazyCompilationProxyModule) - class LazyCompilationDependencyFactory extends q { - constructor(k) { - super() - this._factory = k - } - create(k, v) { - const E = k.dependencies[0] - v(null, { module: E.proxyModule.originalModule }) - } - } - class LazyCompilationPlugin { - constructor({ backend: k, entries: v, imports: E, test: P }) { - this.backend = k - this.entries = v - this.imports = E - this.test = P - } - apply(k) { - let v - k.hooks.beforeCompile.tapAsync('LazyCompilationPlugin', (E, P) => { - if (v !== undefined) return P() - const R = this.backend(k, (k, E) => { - if (k) return P(k) - v = E - P() - }) - if (R && R.then) { - R.then((k) => { - v = k - P() - }, P) - } - }) - k.hooks.thisCompilation.tap( - 'LazyCompilationPlugin', - (E, { normalModuleFactory: P }) => { - P.hooks.module.tap('LazyCompilationPlugin', (P, R, L) => { - if (L.dependencies.every((k) => _e.has(k.type))) { - const k = L.dependencies[0] - const v = E.moduleGraph.getParentModule(k) - const P = v.blocks.some((v) => - v.dependencies.some( - (v) => v.type === 'import()' && v.request === k.request - ) - ) - if (!P) return - } else if ( - !L.dependencies.every( - (k) => - _e.has(k.type) || - (this.imports && - (k.type === 'import()' || - k.type === 'import() context element')) || - (this.entries && k.type === 'entry') - ) - ) - return - if ( - /webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client|webpack-hot-middleware[/\\]client/.test( - L.request - ) || - !checkTest(this.test, P) - ) - return - const N = v.module(P) - if (!N) return - const { client: q, data: ae, active: le } = N - return new LazyCompilationProxyModule( - k.context, - P, - L.request, - q, - ae, - le - ) - }) - E.dependencyFactories.set( - LazyCompilationDependency, - new LazyCompilationDependencyFactory() - ) - } - ) - k.hooks.shutdown.tapAsync('LazyCompilationPlugin', (k) => { - v.dispose(k) - }) - } - } - k.exports = LazyCompilationPlugin - }, - 75218: function (k, v, E) { - 'use strict' - k.exports = (k) => (v, P) => { - const R = v.getInfrastructureLogger('LazyCompilationBackend') - const L = new Map() - const N = '/lazy-compilation-using-' - const q = - k.protocol === 'https' || - (typeof k.server === 'object' && - ('key' in k.server || 'pfx' in k.server)) - const ae = - typeof k.server === 'function' - ? k.server - : (() => { - const v = q ? E(95687) : E(13685) - return v.createServer.bind(v, k.server) - })() - const le = - typeof k.listen === 'function' - ? k.listen - : (v) => { - let E = k.listen - if (typeof E === 'object' && !('port' in E)) - E = { ...E, port: undefined } - v.listen(E) - } - const pe = k.protocol || (q ? 'https' : 'http') - const requestListener = (k, E) => { - const P = k.url.slice(N.length).split('@') - k.socket.on('close', () => { - setTimeout(() => { - for (const k of P) { - const v = L.get(k) || 0 - L.set(k, v - 1) - if (v === 1) { - R.log( - `${k} is no longer in use. Next compilation will skip this module.` - ) - } - } - }, 12e4) - }) - k.socket.setNoDelay(true) - E.writeHead(200, { - 'content-type': 'text/event-stream', - 'Access-Control-Allow-Origin': '*', - 'Access-Control-Allow-Methods': '*', - 'Access-Control-Allow-Headers': '*', - }) - E.write('\n') - let q = false - for (const k of P) { - const v = L.get(k) || 0 - L.set(k, v + 1) - if (v === 0) { - R.log(`${k} is now in use and will be compiled.`) - q = true - } - } - if (q && v.watching) v.watching.invalidate() - } - const me = ae() - me.on('request', requestListener) - let ye = false - const _e = new Set() - me.on('connection', (k) => { - _e.add(k) - k.on('close', () => { - _e.delete(k) - }) - if (ye) k.destroy() - }) - me.on('clientError', (k) => { - if (k.message !== 'Server is disposing') R.warn(k) - }) - me.on('listening', (v) => { - if (v) return P(v) - const E = me.address() - if (typeof E === 'string') - throw new Error('addr must not be a string') - const q = - E.address === '::' || E.address === '0.0.0.0' - ? `${pe}://localhost:${E.port}` - : E.family === 'IPv6' - ? `${pe}://[${E.address}]:${E.port}` - : `${pe}://${E.address}:${E.port}` - R.log(`Server-Sent-Events server for lazy compilation open at ${q}.`) - P(null, { - dispose(k) { - ye = true - me.off('request', requestListener) - me.close((v) => { - k(v) - }) - for (const k of _e) { - k.destroy(new Error('Server is disposing')) - } - }, - module(v) { - const E = `${encodeURIComponent( - v.identifier().replace(/\\/g, '/').replace(/@/g, '_') - ).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g, decodeURIComponent)}` - const P = L.get(E) > 0 - return { - client: `${k.client}?${encodeURIComponent(q + N)}`, - data: E, - active: P, - } - }, - }) - }) - le(me) - } - }, - 1904: function (k, v, E) { - 'use strict' - const { find: P } = E(59959) - const { - compareModulesByPreOrderIndexOrIdentifier: R, - compareModulesByPostOrderIndexOrIdentifier: L, - } = E(95648) - class ChunkModuleIdRangePlugin { - constructor(k) { - this.options = k - } - apply(k) { - const v = this.options - k.hooks.compilation.tap('ChunkModuleIdRangePlugin', (k) => { - const E = k.moduleGraph - k.hooks.moduleIds.tap('ChunkModuleIdRangePlugin', (N) => { - const q = k.chunkGraph - const ae = P(k.chunks, (k) => k.name === v.name) - if (!ae) { - throw new Error( - `ChunkModuleIdRangePlugin: Chunk with name '${v.name}"' was not found` - ) - } - let le - if (v.order) { - let k - switch (v.order) { - case 'index': - case 'preOrderIndex': - k = R(E) - break - case 'index2': - case 'postOrderIndex': - k = L(E) - break - default: - throw new Error( - 'ChunkModuleIdRangePlugin: unexpected value of order' - ) - } - le = q.getOrderedChunkModules(ae, k) - } else { - le = Array.from(N) - .filter((k) => q.isModuleInChunk(k, ae)) - .sort(R(E)) - } - let pe = v.start || 0 - for (let k = 0; k < le.length; k++) { - const E = le[k] - if (E.needId && q.getModuleId(E) === null) { - q.setModuleId(E, pe++) - } - if (v.end && pe > v.end) break - } - }) - }) - } - } - k.exports = ChunkModuleIdRangePlugin - }, - 89002: function (k, v, E) { - 'use strict' - const { compareChunksNatural: P } = E(95648) - const { - getFullChunkName: R, - getUsedChunkIds: L, - assignDeterministicIds: N, - } = E(88667) - class DeterministicChunkIdsPlugin { - constructor(k = {}) { - this.options = k - } - apply(k) { - k.hooks.compilation.tap('DeterministicChunkIdsPlugin', (v) => { - v.hooks.chunkIds.tap('DeterministicChunkIdsPlugin', (E) => { - const q = v.chunkGraph - const ae = this.options.context ? this.options.context : k.context - const le = this.options.maxLength || 3 - const pe = P(q) - const me = L(v) - N( - Array.from(E).filter((k) => k.id === null), - (v) => R(v, q, ae, k.root), - pe, - (k, v) => { - const E = me.size - me.add(`${v}`) - if (E === me.size) return false - k.id = v - k.ids = [v] - return true - }, - [Math.pow(10, le)], - 10, - me.size - ) - }) - }) - } - } - k.exports = DeterministicChunkIdsPlugin - }, - 40288: function (k, v, E) { - 'use strict' - const { compareModulesByPreOrderIndexOrIdentifier: P } = E(95648) - const { - getUsedModuleIdsAndModules: R, - getFullModuleName: L, - assignDeterministicIds: N, - } = E(88667) - class DeterministicModuleIdsPlugin { - constructor(k = {}) { - this.options = k - } - apply(k) { - k.hooks.compilation.tap('DeterministicModuleIdsPlugin', (v) => { - v.hooks.moduleIds.tap('DeterministicModuleIdsPlugin', () => { - const E = v.chunkGraph - const q = this.options.context ? this.options.context : k.context - const ae = this.options.maxLength || 3 - const le = this.options.failOnConflict || false - const pe = this.options.fixedLength || false - const me = this.options.salt || 0 - let ye = 0 - const [_e, Ie] = R(v, this.options.test) - N( - Ie, - (v) => L(v, q, k.root), - le ? () => 0 : P(v.moduleGraph), - (k, v) => { - const P = _e.size - _e.add(`${v}`) - if (P === _e.size) { - ye++ - return false - } - E.setModuleId(k, v) - return true - }, - [Math.pow(10, ae)], - pe ? 0 : 10, - _e.size, - me - ) - if (le && ye) - throw new Error( - `Assigning deterministic module ids has lead to ${ye} conflict${ - ye > 1 ? 's' : '' - }.\nIncrease the 'maxLength' to increase the id space and make conflicts less likely (recommended when there are many conflicts or application is expected to grow), or add an 'salt' number to try another hash starting value in the same id space (recommended when there is only a single conflict).` - ) - }) - }) - } - } - k.exports = DeterministicModuleIdsPlugin - }, - 81973: function (k, v, E) { - 'use strict' - const { compareModulesByPreOrderIndexOrIdentifier: P } = E(95648) - const R = E(92198) - const L = E(74012) - const { getUsedModuleIdsAndModules: N, getFullModuleName: q } = E(88667) - const ae = R(E(9543), () => E(23884), { - name: 'Hashed Module Ids Plugin', - baseDataPath: 'options', - }) - class HashedModuleIdsPlugin { - constructor(k = {}) { - ae(k) - this.options = { - context: null, - hashFunction: 'md4', - hashDigest: 'base64', - hashDigestLength: 4, - ...k, - } - } - apply(k) { - const v = this.options - k.hooks.compilation.tap('HashedModuleIdsPlugin', (E) => { - E.hooks.moduleIds.tap('HashedModuleIdsPlugin', () => { - const R = E.chunkGraph - const ae = this.options.context ? this.options.context : k.context - const [le, pe] = N(E) - const me = pe.sort(P(E.moduleGraph)) - for (const E of me) { - const P = q(E, ae, k.root) - const N = L(v.hashFunction) - N.update(P || '') - const pe = N.digest(v.hashDigest) - let me = v.hashDigestLength - while (le.has(pe.slice(0, me))) me++ - const ye = pe.slice(0, me) - R.setModuleId(E, ye) - le.add(ye) - } - }) - }) - } - } - k.exports = HashedModuleIdsPlugin - }, - 88667: function (k, v, E) { - 'use strict' - const P = E(74012) - const { makePathsRelative: R } = E(65315) - const L = E(30747) - const getHash = (k, v, E) => { - const R = P(E) - R.update(k) - const L = R.digest('hex') - return L.slice(0, v) - } - const avoidNumber = (k) => { - if (k.length > 21) return k - const v = k.charCodeAt(0) - if (v < 49) { - if (v !== 45) return k - } else if (v > 57) { - return k - } - if (k === +k + '') { - return `_${k}` - } - return k - } - const requestToId = (k) => - k.replace(/^(\.\.?\/)+/, '').replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, '_') - v.requestToId = requestToId - const shortenLongString = (k, v, E) => { - if (k.length < 100) return k - return k.slice(0, 100 - 6 - v.length) + v + getHash(k, 6, E) - } - const getShortModuleName = (k, v, E) => { - const P = k.libIdent({ context: v, associatedObjectForCache: E }) - if (P) return avoidNumber(P) - const L = k.nameForCondition() - if (L) return avoidNumber(R(v, L, E)) - return '' - } - v.getShortModuleName = getShortModuleName - const getLongModuleName = (k, v, E, P, R) => { - const L = getFullModuleName(v, E, R) - return `${k}?${getHash(L, 4, P)}` - } - v.getLongModuleName = getLongModuleName - const getFullModuleName = (k, v, E) => R(v, k.identifier(), E) - v.getFullModuleName = getFullModuleName - const getShortChunkName = (k, v, E, P, R, L) => { - const N = v.getChunkRootModules(k) - const q = N.map((k) => requestToId(getShortModuleName(k, E, L))) - k.idNameHints.sort() - const ae = Array.from(k.idNameHints).concat(q).filter(Boolean).join(P) - return shortenLongString(ae, P, R) - } - v.getShortChunkName = getShortChunkName - const getLongChunkName = (k, v, E, P, R, L) => { - const N = v.getChunkRootModules(k) - const q = N.map((k) => requestToId(getShortModuleName(k, E, L))) - const ae = N.map((k) => requestToId(getLongModuleName('', k, E, R, L))) - k.idNameHints.sort() - const le = Array.from(k.idNameHints) - .concat(q, ae) - .filter(Boolean) - .join(P) - return shortenLongString(le, P, R) - } - v.getLongChunkName = getLongChunkName - const getFullChunkName = (k, v, E, P) => { - if (k.name) return k.name - const L = v.getChunkRootModules(k) - const N = L.map((k) => R(E, k.identifier(), P)) - return N.join() - } - v.getFullChunkName = getFullChunkName - const addToMapOfItems = (k, v, E) => { - let P = k.get(v) - if (P === undefined) { - P = [] - k.set(v, P) - } - P.push(E) - } - const getUsedModuleIdsAndModules = (k, v) => { - const E = k.chunkGraph - const P = [] - const R = new Set() - if (k.usedModuleIds) { - for (const v of k.usedModuleIds) { - R.add(v + '') - } - } - for (const L of k.modules) { - if (!L.needId) continue - const k = E.getModuleId(L) - if (k !== null) { - R.add(k + '') - } else { - if ((!v || v(L)) && E.getNumberOfModuleChunks(L) !== 0) { - P.push(L) - } - } - } - return [R, P] - } - v.getUsedModuleIdsAndModules = getUsedModuleIdsAndModules - const getUsedChunkIds = (k) => { - const v = new Set() - if (k.usedChunkIds) { - for (const E of k.usedChunkIds) { - v.add(E + '') - } - } - for (const E of k.chunks) { - const k = E.id - if (k !== null) { - v.add(k + '') - } - } - return v - } - v.getUsedChunkIds = getUsedChunkIds - const assignNames = (k, v, E, P, R, L) => { - const N = new Map() - for (const E of k) { - const k = v(E) - addToMapOfItems(N, k, E) - } - const q = new Map() - for (const [k, v] of N) { - if (v.length > 1 || !k) { - for (const P of v) { - const v = E(P, k) - addToMapOfItems(q, v, P) - } - } else { - addToMapOfItems(q, k, v[0]) - } - } - const ae = [] - for (const [k, v] of q) { - if (!k) { - for (const k of v) { - ae.push(k) - } - } else if (v.length === 1 && !R.has(k)) { - L(v[0], k) - R.add(k) - } else { - v.sort(P) - let E = 0 - for (const P of v) { - while (q.has(k + E) && R.has(k + E)) E++ - L(P, k + E) - R.add(k + E) - E++ - } - } - } - ae.sort(P) - return ae - } - v.assignNames = assignNames - const assignDeterministicIds = ( - k, - v, - E, - P, - R = [10], - N = 10, - q = 0, - ae = 0 - ) => { - k.sort(E) - const le = Math.min(k.length * 20 + q, Number.MAX_SAFE_INTEGER) - let pe = 0 - let me = R[pe] - while (me < le) { - pe++ - if (pe < R.length) { - me = Math.min(R[pe], Number.MAX_SAFE_INTEGER) - } else if (N) { - me = Math.min(me * N, Number.MAX_SAFE_INTEGER) - } else { - break - } - } - for (const E of k) { - const k = v(E) - let R - let N = ae - do { - R = L(k + N++, me) - } while (!P(E, R)) - } - } - v.assignDeterministicIds = assignDeterministicIds - const assignAscendingModuleIds = (k, v, E) => { - const P = E.chunkGraph - let R = 0 - let L - if (k.size > 0) { - L = (v) => { - if (P.getModuleId(v) === null) { - while (k.has(R + '')) R++ - P.setModuleId(v, R++) - } - } - } else { - L = (k) => { - if (P.getModuleId(k) === null) { - P.setModuleId(k, R++) - } - } - } - for (const k of v) { - L(k) - } - } - v.assignAscendingModuleIds = assignAscendingModuleIds - const assignAscendingChunkIds = (k, v) => { - const E = getUsedChunkIds(v) - let P = 0 - if (E.size > 0) { - for (const v of k) { - if (v.id === null) { - while (E.has(P + '')) P++ - v.id = P - v.ids = [P] - P++ - } - } - } else { - for (const v of k) { - if (v.id === null) { - v.id = P - v.ids = [P] - P++ - } - } - } - } - v.assignAscendingChunkIds = assignAscendingChunkIds - }, - 38372: function (k, v, E) { - 'use strict' - const { compareChunksNatural: P } = E(95648) - const { - getShortChunkName: R, - getLongChunkName: L, - assignNames: N, - getUsedChunkIds: q, - assignAscendingChunkIds: ae, - } = E(88667) - class NamedChunkIdsPlugin { - constructor(k) { - this.delimiter = (k && k.delimiter) || '-' - this.context = k && k.context - } - apply(k) { - k.hooks.compilation.tap('NamedChunkIdsPlugin', (v) => { - const E = v.outputOptions.hashFunction - v.hooks.chunkIds.tap('NamedChunkIdsPlugin', (le) => { - const pe = v.chunkGraph - const me = this.context ? this.context : k.context - const ye = this.delimiter - const _e = N( - Array.from(le).filter((k) => { - if (k.name) { - k.id = k.name - k.ids = [k.name] - } - return k.id === null - }), - (v) => R(v, pe, me, ye, E, k.root), - (v) => L(v, pe, me, ye, E, k.root), - P(pe), - q(v), - (k, v) => { - k.id = v - k.ids = [v] - } - ) - if (_e.length > 0) { - ae(_e, v) - } - }) - }) - } - } - k.exports = NamedChunkIdsPlugin - }, - 64908: function (k, v, E) { - 'use strict' - const { compareModulesByIdentifier: P } = E(95648) - const { - getShortModuleName: R, - getLongModuleName: L, - assignNames: N, - getUsedModuleIdsAndModules: q, - assignAscendingModuleIds: ae, - } = E(88667) - class NamedModuleIdsPlugin { - constructor(k = {}) { - this.options = k - } - apply(k) { - const { root: v } = k - k.hooks.compilation.tap('NamedModuleIdsPlugin', (E) => { - const le = E.outputOptions.hashFunction - E.hooks.moduleIds.tap('NamedModuleIdsPlugin', () => { - const pe = E.chunkGraph - const me = this.options.context ? this.options.context : k.context - const [ye, _e] = q(E) - const Ie = N( - _e, - (k) => R(k, me, v), - (k, E) => L(E, k, me, le, v), - P, - ye, - (k, v) => pe.setModuleId(k, v) - ) - if (Ie.length > 0) { - ae(ye, Ie, E) - } - }) - }) - } - } - k.exports = NamedModuleIdsPlugin - }, - 76914: function (k, v, E) { - 'use strict' - const { compareChunksNatural: P } = E(95648) - const { assignAscendingChunkIds: R } = E(88667) - class NaturalChunkIdsPlugin { - apply(k) { - k.hooks.compilation.tap('NaturalChunkIdsPlugin', (k) => { - k.hooks.chunkIds.tap('NaturalChunkIdsPlugin', (v) => { - const E = k.chunkGraph - const L = P(E) - const N = Array.from(v).sort(L) - R(N, k) - }) - }) - } - } - k.exports = NaturalChunkIdsPlugin - }, - 98122: function (k, v, E) { - 'use strict' - const { compareModulesByPreOrderIndexOrIdentifier: P } = E(95648) - const { assignAscendingModuleIds: R, getUsedModuleIdsAndModules: L } = - E(88667) - class NaturalModuleIdsPlugin { - apply(k) { - k.hooks.compilation.tap('NaturalModuleIdsPlugin', (k) => { - k.hooks.moduleIds.tap('NaturalModuleIdsPlugin', (v) => { - const [E, N] = L(k) - N.sort(P(k.moduleGraph)) - R(E, N, k) - }) - }) - } - } - k.exports = NaturalModuleIdsPlugin - }, - 12976: function (k, v, E) { - 'use strict' - const { compareChunksNatural: P } = E(95648) - const R = E(92198) - const { assignAscendingChunkIds: L } = E(88667) - const N = R(E(59169), () => E(41565), { - name: 'Occurrence Order Chunk Ids Plugin', - baseDataPath: 'options', - }) - class OccurrenceChunkIdsPlugin { - constructor(k = {}) { - N(k) - this.options = k - } - apply(k) { - const v = this.options.prioritiseInitial - k.hooks.compilation.tap('OccurrenceChunkIdsPlugin', (k) => { - k.hooks.chunkIds.tap('OccurrenceChunkIdsPlugin', (E) => { - const R = k.chunkGraph - const N = new Map() - const q = P(R) - for (const k of E) { - let v = 0 - for (const E of k.groupsIterable) { - for (const k of E.parentsIterable) { - if (k.isInitial()) v++ - } - } - N.set(k, v) - } - const ae = Array.from(E).sort((k, E) => { - if (v) { - const v = N.get(k) - const P = N.get(E) - if (v > P) return -1 - if (v < P) return 1 - } - const P = k.getNumberOfGroups() - const R = E.getNumberOfGroups() - if (P > R) return -1 - if (P < R) return 1 - return q(k, E) - }) - L(ae, k) - }) - }) - } - } - k.exports = OccurrenceChunkIdsPlugin - }, - 40654: function (k, v, E) { - 'use strict' - const { compareModulesByPreOrderIndexOrIdentifier: P } = E(95648) - const R = E(92198) - const { assignAscendingModuleIds: L, getUsedModuleIdsAndModules: N } = - E(88667) - const q = R(E(98550), () => E(71967), { - name: 'Occurrence Order Module Ids Plugin', - baseDataPath: 'options', - }) - class OccurrenceModuleIdsPlugin { - constructor(k = {}) { - q(k) - this.options = k - } - apply(k) { - const v = this.options.prioritiseInitial - k.hooks.compilation.tap('OccurrenceModuleIdsPlugin', (k) => { - const E = k.moduleGraph - k.hooks.moduleIds.tap('OccurrenceModuleIdsPlugin', () => { - const R = k.chunkGraph - const [q, ae] = N(k) - const le = new Map() - const pe = new Map() - const me = new Map() - const ye = new Map() - for (const k of ae) { - let v = 0 - let E = 0 - for (const P of R.getModuleChunksIterable(k)) { - if (P.canBeInitial()) v++ - if (R.isEntryModuleInChunk(k, P)) E++ - } - me.set(k, v) - ye.set(k, E) - } - const countOccursInEntry = (k) => { - let v = 0 - for (const [P, R] of E.getIncomingConnectionsByOriginModule( - k - )) { - if (!P) continue - if (!R.some((k) => k.isTargetActive(undefined))) continue - v += me.get(P) || 0 - } - return v - } - const countOccurs = (k) => { - let v = 0 - for (const [P, L] of E.getIncomingConnectionsByOriginModule( - k - )) { - if (!P) continue - const k = R.getNumberOfModuleChunks(P) - for (const E of L) { - if (!E.isTargetActive(undefined)) continue - if (!E.dependency) continue - const P = E.dependency.getNumberOfIdOccurrences() - if (P === 0) continue - v += P * k - } - } - return v - } - if (v) { - for (const k of ae) { - const v = countOccursInEntry(k) + me.get(k) + ye.get(k) - le.set(k, v) - } - } - for (const k of ae) { - const v = - countOccurs(k) + R.getNumberOfModuleChunks(k) + ye.get(k) - pe.set(k, v) - } - const _e = P(k.moduleGraph) - ae.sort((k, E) => { - if (v) { - const v = le.get(k) - const P = le.get(E) - if (v > P) return -1 - if (v < P) return 1 - } - const P = pe.get(k) - const R = pe.get(E) - if (P > R) return -1 - if (P < R) return 1 - return _e(k, E) - }) - L(q, ae, k) - }) - }) - } - } - k.exports = OccurrenceModuleIdsPlugin - }, - 84441: function (k, v, E) { - 'use strict' - const { WebpackError: P } = E(94308) - const { getUsedModuleIdsAndModules: R } = E(88667) - const L = 'SyncModuleIdsPlugin' - class SyncModuleIdsPlugin { - constructor({ path: k, context: v, test: E, mode: P }) { - this._path = k - this._context = v - this._test = E || (() => true) - const R = !P || P === 'merge' || P === 'update' - this._read = R || P === 'read' - this._write = R || P === 'create' - this._prune = P === 'update' - } - apply(k) { - let v - let E = false - if (this._read) { - k.hooks.readRecords.tapAsync(L, (P) => { - const R = k.intermediateFileSystem - R.readFile(this._path, (k, R) => { - if (k) { - if (k.code !== 'ENOENT') { - return P(k) - } - return P() - } - const L = JSON.parse(R.toString()) - v = new Map() - for (const k of Object.keys(L)) { - v.set(k, L[k]) - } - E = false - return P() - }) - }) - } - if (this._write) { - k.hooks.emitRecords.tapAsync(L, (P) => { - if (!v || !E) return P() - const R = {} - const L = Array.from(v).sort(([k], [v]) => (k < v ? -1 : 1)) - for (const [k, v] of L) { - R[k] = v - } - const N = k.intermediateFileSystem - N.writeFile(this._path, JSON.stringify(R), P) - }) - } - k.hooks.thisCompilation.tap(L, (N) => { - const q = k.root - const ae = this._context || k.context - if (this._read) { - N.hooks.reviveModules.tap(L, (k, E) => { - if (!v) return - const { chunkGraph: L } = N - const [le, pe] = R(N, this._test) - for (const k of pe) { - const E = k.libIdent({ - context: ae, - associatedObjectForCache: q, - }) - if (!E) continue - const R = v.get(E) - const pe = `${R}` - if (le.has(pe)) { - const v = new P( - `SyncModuleIdsPlugin: Unable to restore id '${R}' from '${this._path}' as it's already used.` - ) - v.module = k - N.errors.push(v) - } - L.setModuleId(k, R) - le.add(pe) - } - }) - } - if (this._write) { - N.hooks.recordModules.tap(L, (k) => { - const { chunkGraph: P } = N - let R = v - if (!R) { - R = v = new Map() - } else if (this._prune) { - v = new Map() - } - for (const L of k) { - if (this._test(L)) { - const k = L.libIdent({ - context: ae, - associatedObjectForCache: q, - }) - if (!k) continue - const N = P.getModuleId(L) - if (N === null) continue - const le = R.get(k) - if (le !== N) { - E = true - } else if (v === R) { - continue - } - v.set(k, N) - } - } - if (v.size !== R.size) E = true - }) - } - }) - } - } - k.exports = SyncModuleIdsPlugin - }, - 94308: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = E(20631) - const lazyFunction = (k) => { - const v = R(k) - const f = (...k) => v()(...k) - return f - } - const mergeExports = (k, v) => { - const E = Object.getOwnPropertyDescriptors(v) - for (const v of Object.keys(E)) { - const P = E[v] - if (P.get) { - const E = P.get - Object.defineProperty(k, v, { - configurable: false, - enumerable: true, - get: R(E), - }) - } else if (typeof P.value === 'object') { - Object.defineProperty(k, v, { - configurable: false, - enumerable: true, - writable: false, - value: mergeExports({}, P.value), - }) - } else { - throw new Error( - 'Exposed values must be either a getter or an nested object' - ) - } - } - return Object.freeze(k) - } - const L = lazyFunction(() => E(10463)) - k.exports = mergeExports(L, { - get webpack() { - return E(10463) - }, - get validate() { - const k = E(38537) - const v = R(() => { - const k = E(11458) - const v = E(98625) - return (E) => k(v, E) - }) - return (E) => { - if (!k(E)) v()(E) - } - }, - get validateSchema() { - const k = E(11458) - return k - }, - get version() { - return E(35479).i8 - }, - get cli() { - return E(20069) - }, - get AutomaticPrefetchPlugin() { - return E(75250) - }, - get AsyncDependenciesBlock() { - return E(75081) - }, - get BannerPlugin() { - return E(13991) - }, - get Cache() { - return E(89802) - }, - get Chunk() { - return E(8247) - }, - get ChunkGraph() { - return E(38317) - }, - get CleanPlugin() { - return E(69155) - }, - get Compilation() { - return E(27747) - }, - get Compiler() { - return E(2170) - }, - get ConcatenationScope() { - return E(91213) - }, - get ContextExclusionPlugin() { - return E(41454) - }, - get ContextReplacementPlugin() { - return E(98047) - }, - get DefinePlugin() { - return E(91602) - }, - get DelegatedPlugin() { - return E(27064) - }, - get Dependency() { - return E(16848) - }, - get DllPlugin() { - return E(97765) - }, - get DllReferencePlugin() { - return E(95619) - }, - get DynamicEntryPlugin() { - return E(54602) - }, - get EntryOptionPlugin() { - return E(26591) - }, - get EntryPlugin() { - return E(17570) - }, - get EnvironmentPlugin() { - return E(32149) - }, - get EvalDevToolModulePlugin() { - return E(87543) - }, - get EvalSourceMapDevToolPlugin() { - return E(21234) - }, - get ExternalModule() { - return E(10849) - }, - get ExternalsPlugin() { - return E(53757) - }, - get Generator() { - return E(91597) - }, - get HotUpdateChunk() { - return E(95733) - }, - get HotModuleReplacementPlugin() { - return E(29898) - }, - get IgnorePlugin() { - return E(69200) - }, - get JavascriptModulesPlugin() { - return P.deprecate( - () => E(89168), - 'webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin', - 'DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN' - )() - }, - get LibManifestPlugin() { - return E(98060) - }, - get LibraryTemplatePlugin() { - return P.deprecate( - () => E(9021), - '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 E(69056) - }, - get LoaderTargetPlugin() { - return E(49429) - }, - get Module() { - return E(88396) - }, - get ModuleFilenameHelpers() { - return E(98612) - }, - get ModuleGraph() { - return E(88223) - }, - get ModuleGraphConnection() { - return E(86267) - }, - get NoEmitOnErrorsPlugin() { - return E(75018) - }, - get NormalModule() { - return E(38224) - }, - get NormalModuleReplacementPlugin() { - return E(35548) - }, - get MultiCompiler() { - return E(47575) - }, - get Parser() { - return E(17381) - }, - get PrefetchPlugin() { - return E(93380) - }, - get ProgressPlugin() { - return E(6535) - }, - get ProvidePlugin() { - return E(73238) - }, - get RuntimeGlobals() { - return E(56727) - }, - get RuntimeModule() { - return E(27462) - }, - get SingleEntryPlugin() { - return P.deprecate( - () => E(17570), - 'SingleEntryPlugin was renamed to EntryPlugin', - 'DEP_WEBPACK_SINGLE_ENTRY_PLUGIN' - )() - }, - get SourceMapDevToolPlugin() { - return E(83814) - }, - get Stats() { - return E(26288) - }, - get Template() { - return E(95041) - }, - get UsageState() { - return E(11172).UsageState - }, - get WatchIgnorePlugin() { - return E(38849) - }, - get WebpackError() { - return E(71572) - }, - get WebpackOptionsApply() { - return E(27826) - }, - get WebpackOptionsDefaulter() { - return P.deprecate( - () => E(21247), - 'webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults', - 'DEP_WEBPACK_OPTIONS_DEFAULTER' - )() - }, - get WebpackOptionsValidationError() { - return E(38476).ValidationError - }, - get ValidationError() { - return E(38476).ValidationError - }, - cache: { - get MemoryCachePlugin() { - return E(66494) - }, - }, - config: { - get getNormalizedWebpackOptions() { - return E(47339).getNormalizedWebpackOptions - }, - get applyWebpackOptionsDefaults() { - return E(25801).applyWebpackOptionsDefaults - }, - }, - dependencies: { - get ModuleDependency() { - return E(77373) - }, - get HarmonyImportDependency() { - return E(69184) - }, - get ConstDependency() { - return E(60381) - }, - get NullDependency() { - return E(53139) - }, - }, - ids: { - get ChunkModuleIdRangePlugin() { - return E(1904) - }, - get NaturalModuleIdsPlugin() { - return E(98122) - }, - get OccurrenceModuleIdsPlugin() { - return E(40654) - }, - get NamedModuleIdsPlugin() { - return E(64908) - }, - get DeterministicChunkIdsPlugin() { - return E(89002) - }, - get DeterministicModuleIdsPlugin() { - return E(40288) - }, - get NamedChunkIdsPlugin() { - return E(38372) - }, - get OccurrenceChunkIdsPlugin() { - return E(12976) - }, - get HashedModuleIdsPlugin() { - return E(81973) - }, - }, - javascript: { - get EnableChunkLoadingPlugin() { - return E(73126) - }, - get JavascriptModulesPlugin() { - return E(89168) - }, - get JavascriptParser() { - return E(81532) - }, - }, - optimize: { - get AggressiveMergingPlugin() { - return E(3952) - }, - get AggressiveSplittingPlugin() { - return P.deprecate( - () => E(21684), - 'AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin', - 'DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN' - )() - }, - get InnerGraph() { - return E(88926) - }, - get LimitChunkCountPlugin() { - return E(17452) - }, - get MinChunkSizePlugin() { - return E(25971) - }, - get ModuleConcatenationPlugin() { - return E(30899) - }, - get RealContentHashPlugin() { - return E(71183) - }, - get RuntimeChunkPlugin() { - return E(89921) - }, - get SideEffectsFlagPlugin() { - return E(57214) - }, - get SplitChunksPlugin() { - return E(30829) - }, - }, - runtime: { - get GetChunkFilenameRuntimeModule() { - return E(10582) - }, - get LoadScriptRuntimeModule() { - return E(42159) - }, - }, - prefetch: { - get ChunkPrefetchPreloadPlugin() { - return E(37247) - }, - }, - web: { - get FetchCompileAsyncWasmPlugin() { - return E(52576) - }, - get FetchCompileWasmPlugin() { - return E(99900) - }, - get JsonpChunkLoadingRuntimeModule() { - return E(97810) - }, - get JsonpTemplatePlugin() { - return E(68511) - }, - }, - webworker: { - get WebWorkerTemplatePlugin() { - return E(20514) - }, - }, - node: { - get NodeEnvironmentPlugin() { - return E(74983) - }, - get NodeSourcePlugin() { - return E(44513) - }, - get NodeTargetPlugin() { - return E(56976) - }, - get NodeTemplatePlugin() { - return E(74578) - }, - get ReadFileCompileWasmPlugin() { - return E(63506) - }, - }, - electron: { - get ElectronTargetPlugin() { - return E(27558) - }, - }, - wasm: { - get AsyncWebAssemblyModulesPlugin() { - return E(70006) - }, - get EnableWasmLoadingPlugin() { - return E(50792) - }, - }, - library: { - get AbstractLibraryPlugin() { - return E(15893) - }, - get EnableLibraryPlugin() { - return E(60234) - }, - }, - container: { - get ContainerPlugin() { - return E(59826) - }, - get ContainerReferencePlugin() { - return E(10223) - }, - get ModuleFederationPlugin() { - return E(71863) - }, - get scope() { - return E(34869).scope - }, - }, - sharing: { - get ConsumeSharedPlugin() { - return E(73485) - }, - get ProvideSharedPlugin() { - return E(70610) - }, - get SharePlugin() { - return E(38084) - }, - get scope() { - return E(34869).scope - }, - }, - debug: { - get ProfilingPlugin() { - return E(85865) - }, - }, - util: { - get createHash() { - return E(74012) - }, - get comparators() { - return E(95648) - }, - get runtime() { - return E(1540) - }, - get serialization() { - return E(52456) - }, - get cleverMerge() { - return E(99454).cachedCleverMerge - }, - get LazySet() { - return E(12359) - }, - }, - get sources() { - return E(51255) - }, - experiments: { - schemes: { - get HttpUriPlugin() { - return E(73500) - }, - }, - ids: { - get SyncModuleIdsPlugin() { - return E(84441) - }, - }, - }, - }) - }, - 39799: function (k, v, E) { - 'use strict' - const { ConcatSource: P, PrefixSource: R, RawSource: L } = E(51255) - const { RuntimeGlobals: N } = E(94308) - const q = E(95733) - const ae = E(95041) - const { getCompilationHooks: le } = E(89168) - const { generateEntryStartup: pe, updateHashForEntryStartup: me } = - E(73777) - class ArrayPushCallbackChunkFormatPlugin { - apply(k) { - k.hooks.thisCompilation.tap( - 'ArrayPushCallbackChunkFormatPlugin', - (k) => { - k.hooks.additionalChunkRuntimeRequirements.tap( - 'ArrayPushCallbackChunkFormatPlugin', - (k, v, { chunkGraph: E }) => { - if (k.hasRuntime()) return - if (E.getNumberOfEntryModules(k) > 0) { - v.add(N.onChunksLoaded) - v.add(N.require) - } - v.add(N.chunkCallback) - } - ) - const v = le(k) - v.renderChunk.tap( - 'ArrayPushCallbackChunkFormatPlugin', - (E, le) => { - const { chunk: me, chunkGraph: ye, runtimeTemplate: _e } = le - const Ie = me instanceof q ? me : null - const Me = _e.globalObject - const Te = new P() - const je = ye.getChunkRuntimeModulesInOrder(me) - if (Ie) { - const k = _e.outputOptions.hotUpdateGlobal - Te.add(`${Me}[${JSON.stringify(k)}](`) - Te.add(`${JSON.stringify(me.id)},`) - Te.add(E) - if (je.length > 0) { - Te.add(',\n') - const k = ae.renderChunkRuntimeModules(je, le) - Te.add(k) - } - Te.add(')') - } else { - const q = _e.outputOptions.chunkLoadingGlobal - Te.add( - `(${Me}[${JSON.stringify(q)}] = ${Me}[${JSON.stringify( - q - )}] || []).push([` - ) - Te.add(`${JSON.stringify(me.ids)},`) - Te.add(E) - const Ie = Array.from( - ye.getChunkEntryModulesWithChunkGroupIterable(me) - ) - if (je.length > 0 || Ie.length > 0) { - const E = new P( - (_e.supportsArrowFunction() - ? `${N.require} =>` - : `function(${N.require})`) + - ' { // webpackRuntimeModules\n' - ) - if (je.length > 0) { - E.add( - ae.renderRuntimeModules(je, { - ...le, - codeGenerationResults: k.codeGenerationResults, - }) - ) - } - if (Ie.length > 0) { - const k = new L(pe(ye, _e, Ie, me, true)) - E.add( - v.renderStartup.call(k, Ie[Ie.length - 1][0], { - ...le, - inlined: false, - }) - ) - if ( - ye - .getChunkRuntimeRequirements(me) - .has(N.returnExportsFromRuntime) - ) { - E.add(`return ${N.exports};\n`) - } - } - E.add('}\n') - Te.add(',\n') - Te.add(new R('/******/ ', E)) - } - Te.add('])') - } - return Te - } - ) - v.chunkHash.tap( - 'ArrayPushCallbackChunkFormatPlugin', - (k, v, { chunkGraph: E, runtimeTemplate: P }) => { - if (k.hasRuntime()) return - v.update( - `ArrayPushCallbackChunkFormatPlugin1${P.outputOptions.chunkLoadingGlobal}${P.outputOptions.hotUpdateGlobal}${P.globalObject}` - ) - const R = Array.from( - E.getChunkEntryModulesWithChunkGroupIterable(k) - ) - me(v, E, R, k) - } - ) - } - ) - } - } - k.exports = ArrayPushCallbackChunkFormatPlugin - }, - 70037: function (k) { - 'use strict' - const v = 0 - const E = 1 - const P = 2 - const R = 3 - const L = 4 - const N = 5 - const q = 6 - const ae = 7 - const le = 8 - const pe = 9 - const me = 10 - const ye = 11 - const _e = 12 - const Ie = 13 - class BasicEvaluatedExpression { - constructor() { - this.type = v - 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.getMembersOptionals = undefined - this.getMemberRanges = undefined - this.expression = undefined - } - isUnknown() { - return this.type === v - } - isNull() { - return this.type === P - } - isUndefined() { - return this.type === E - } - isString() { - return this.type === R - } - isNumber() { - return this.type === L - } - isBigInt() { - return this.type === Ie - } - isBoolean() { - return this.type === N - } - isRegExp() { - return this.type === q - } - isConditional() { - return this.type === ae - } - isArray() { - return this.type === le - } - isConstArray() { - return this.type === pe - } - isIdentifier() { - return this.type === me - } - isWrapped() { - return this.type === ye - } - isTemplateString() { - return this.type === _e - } - isPrimitiveType() { - switch (this.type) { - case E: - case P: - case R: - case L: - case N: - case Ie: - case ye: - case _e: - return true - case q: - case le: - case pe: - return false - default: - return undefined - } - } - isCompileTimeValue() { - switch (this.type) { - case E: - case P: - case R: - case L: - case N: - case q: - case pe: - case Ie: - return true - default: - return false - } - } - asCompileTimeValue() { - switch (this.type) { - case E: - return undefined - case P: - return null - case R: - return this.string - case L: - return this.number - case N: - return this.bool - case q: - return this.regExp - case pe: - return this.array - case Ie: - 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 k = this.asString() - if (typeof k === 'string') return k !== '' - } - return undefined - } - asNullish() { - const k = this.isNullish() - if (k === true || this.isNull() || this.isUndefined()) return true - if (k === 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 k = [] - for (const v of this.items) { - const E = v.asString() - if (E === undefined) return undefined - k.push(E) - } - return `${k}` - } - if (this.isConstArray()) return `${this.array}` - if (this.isTemplateString()) { - let k = '' - for (const v of this.parts) { - const E = v.asString() - if (E === undefined) return undefined - k += E - } - return k - } - return undefined - } - setString(k) { - this.type = R - this.string = k - this.sideEffects = false - return this - } - setUndefined() { - this.type = E - this.sideEffects = false - return this - } - setNull() { - this.type = P - this.sideEffects = false - return this - } - setNumber(k) { - this.type = L - this.number = k - this.sideEffects = false - return this - } - setBigInt(k) { - this.type = Ie - this.bigint = k - this.sideEffects = false - return this - } - setBoolean(k) { - this.type = N - this.bool = k - this.sideEffects = false - return this - } - setRegExp(k) { - this.type = q - this.regExp = k - this.sideEffects = false - return this - } - setIdentifier(k, v, E, P, R) { - this.type = me - this.identifier = k - this.rootInfo = v - this.getMembers = E - this.getMembersOptionals = P - this.getMemberRanges = R - this.sideEffects = true - return this - } - setWrapped(k, v, E) { - this.type = ye - this.prefix = k - this.postfix = v - this.wrappedInnerExpressions = E - this.sideEffects = true - return this - } - setOptions(k) { - this.type = ae - this.options = k - this.sideEffects = true - return this - } - addOptions(k) { - if (!this.options) { - this.type = ae - this.options = [] - this.sideEffects = true - } - for (const v of k) { - this.options.push(v) - } - return this - } - setItems(k) { - this.type = le - this.items = k - this.sideEffects = k.some((k) => k.couldHaveSideEffects()) - return this - } - setArray(k) { - this.type = pe - this.array = k - this.sideEffects = false - return this - } - setTemplateString(k, v, E) { - this.type = _e - this.quasis = k - this.parts = v - this.templateStringKind = E - this.sideEffects = v.some((k) => k.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(k) { - this.nullish = k - if (k) return this.setFalsy() - return this - } - setRange(k) { - this.range = k - return this - } - setSideEffects(k = true) { - this.sideEffects = k - return this - } - setExpression(k) { - this.expression = k - return this - } - } - BasicEvaluatedExpression.isValidRegExpFlags = (k) => { - const v = k.length - if (v === 0) return true - if (v > 4) return false - let E = 0 - for (let P = 0; P < v; P++) - switch (k.charCodeAt(P)) { - case 103: - if (E & 8) return false - E |= 8 - break - case 105: - if (E & 4) return false - E |= 4 - break - case 109: - if (E & 2) return false - E |= 2 - break - case 121: - if (E & 1) return false - E |= 1 - break - default: - return false - } - return true - } - k.exports = BasicEvaluatedExpression - }, - 72130: function (k, v, E) { - 'use strict' - const P = E(10969) - const getAllChunks = (k, v, E) => { - const R = new Set([k]) - const L = new Set() - for (const k of R) { - for (const P of k.chunks) { - if (P === v) continue - if (P === E) continue - L.add(P) - } - for (const v of k.parentsIterable) { - if (v instanceof P) R.add(v) - } - } - return L - } - v.getAllChunks = getAllChunks - }, - 45542: function (k, v, E) { - 'use strict' - const { ConcatSource: P, RawSource: R } = E(51255) - const L = E(56727) - const N = E(95041) - const { getChunkFilenameTemplate: q, getCompilationHooks: ae } = E(89168) - const { generateEntryStartup: le, updateHashForEntryStartup: pe } = - E(73777) - class CommonJsChunkFormatPlugin { - apply(k) { - k.hooks.thisCompilation.tap('CommonJsChunkFormatPlugin', (k) => { - k.hooks.additionalChunkRuntimeRequirements.tap( - 'CommonJsChunkLoadingPlugin', - (k, v, { chunkGraph: E }) => { - if (k.hasRuntime()) return - if (E.getNumberOfEntryModules(k) > 0) { - v.add(L.require) - v.add(L.startupEntrypoint) - v.add(L.externalInstallChunk) - } - } - ) - const v = ae(k) - v.renderChunk.tap('CommonJsChunkFormatPlugin', (E, ae) => { - const { chunk: pe, chunkGraph: me, runtimeTemplate: ye } = ae - const _e = new P() - _e.add(`exports.id = ${JSON.stringify(pe.id)};\n`) - _e.add(`exports.ids = ${JSON.stringify(pe.ids)};\n`) - _e.add(`exports.modules = `) - _e.add(E) - _e.add(';\n') - const Ie = me.getChunkRuntimeModulesInOrder(pe) - if (Ie.length > 0) { - _e.add('exports.runtime =\n') - _e.add(N.renderChunkRuntimeModules(Ie, ae)) - } - const Me = Array.from( - me.getChunkEntryModulesWithChunkGroupIterable(pe) - ) - if (Me.length > 0) { - const E = Me[0][1].getRuntimeChunk() - const N = k - .getPath(q(pe, k.outputOptions), { - chunk: pe, - contentHashType: 'javascript', - }) - .split('/') - const Ie = k - .getPath(q(E, k.outputOptions), { - chunk: E, - contentHashType: 'javascript', - }) - .split('/') - N.pop() - while (N.length > 0 && Ie.length > 0 && N[0] === Ie[0]) { - N.shift() - Ie.shift() - } - const Te = - (N.length > 0 ? '../'.repeat(N.length) : './') + Ie.join('/') - const je = new P() - je.add( - `(${ye.supportsArrowFunction() ? '() => ' : 'function() '}{\n` - ) - je.add('var exports = {};\n') - je.add(_e) - je.add(';\n\n// load runtime\n') - je.add(`var ${L.require} = require(${JSON.stringify(Te)});\n`) - je.add(`${L.externalInstallChunk}(exports);\n`) - const Ne = new R(le(me, ye, Me, pe, false)) - je.add( - v.renderStartup.call(Ne, Me[Me.length - 1][0], { - ...ae, - inlined: false, - }) - ) - je.add('\n})()') - return je - } - return _e - }) - v.chunkHash.tap( - 'CommonJsChunkFormatPlugin', - (k, v, { chunkGraph: E }) => { - if (k.hasRuntime()) return - v.update('CommonJsChunkFormatPlugin') - v.update('1') - const P = Array.from( - E.getChunkEntryModulesWithChunkGroupIterable(k) - ) - pe(v, E, P, k) - } - ) - }) - } - } - k.exports = CommonJsChunkFormatPlugin - }, - 73126: function (k, v, E) { - 'use strict' - const P = new WeakMap() - const getEnabledTypes = (k) => { - let v = P.get(k) - if (v === undefined) { - v = new Set() - P.set(k, v) - } - return v - } - class EnableChunkLoadingPlugin { - constructor(k) { - this.type = k - } - static setEnabled(k, v) { - getEnabledTypes(k).add(v) - } - static checkEnabled(k, v) { - if (!getEnabledTypes(k).has(v)) { - throw new Error( - `Chunk loading type "${v}" 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 chunk loading types to "output.enabledChunkLoadingTypes". ' + - 'These types are enabled: ' + - Array.from(getEnabledTypes(k)).join(', ') - ) - } - } - apply(k) { - const { type: v } = this - const P = getEnabledTypes(k) - if (P.has(v)) return - P.add(v) - if (typeof v === 'string') { - switch (v) { - case 'jsonp': { - const v = E(58746) - new v().apply(k) - break - } - case 'import-scripts': { - const v = E(9366) - new v().apply(k) - break - } - case 'require': { - const v = E(16574) - new v({ asyncChunkLoading: false }).apply(k) - break - } - case 'async-node': { - const v = E(16574) - new v({ asyncChunkLoading: true }).apply(k) - break - } - case 'import': { - const v = E(21879) - new v().apply(k) - break - } - case 'universal': - throw new Error( - 'Universal Chunk Loading is not implemented yet' - ) - default: - throw new Error( - `Unsupported chunk loading type ${v}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.` - ) - } - } else { - } - } - } - k.exports = EnableChunkLoadingPlugin - }, - 2166: function (k, v, E) { - 'use strict' - const P = E(73837) - const { RawSource: R, ReplaceSource: L } = E(51255) - const N = E(91597) - const q = E(88113) - const ae = E(2075) - const le = P.deprecate( - (k, v, E) => k.getInitFragments(v, E), - 'DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)', - 'DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS' - ) - const pe = new Set(['javascript']) - class JavascriptGenerator extends N { - getTypes(k) { - return pe - } - getSize(k, v) { - const E = k.originalSource() - if (!E) { - return 39 - } - return E.size() - } - getConcatenationBailoutReason(k, v) { - if ( - !k.buildMeta || - k.buildMeta.exportsType !== 'namespace' || - k.presentationalDependencies === undefined || - !k.presentationalDependencies.some((k) => k instanceof ae) - ) { - return 'Module is not an ECMAScript module' - } - if (k.buildInfo && k.buildInfo.moduleConcatenationBailout) { - return `Module uses ${k.buildInfo.moduleConcatenationBailout}` - } - } - generate(k, v) { - const E = k.originalSource() - if (!E) { - return new R("throw new Error('No source available');") - } - const P = new L(E) - const N = [] - this.sourceModule(k, N, P, v) - return q.addToSource(P, N, v) - } - sourceModule(k, v, E, P) { - for (const R of k.dependencies) { - this.sourceDependency(k, R, v, E, P) - } - if (k.presentationalDependencies !== undefined) { - for (const R of k.presentationalDependencies) { - this.sourceDependency(k, R, v, E, P) - } - } - for (const R of k.blocks) { - this.sourceBlock(k, R, v, E, P) - } - } - sourceBlock(k, v, E, P, R) { - for (const L of v.dependencies) { - this.sourceDependency(k, L, E, P, R) - } - for (const L of v.blocks) { - this.sourceBlock(k, L, E, P, R) - } - } - sourceDependency(k, v, E, P, R) { - const L = v.constructor - const N = R.dependencyTemplates.get(L) - if (!N) { - throw new Error('No template for dependency: ' + v.constructor.name) - } - const q = { - runtimeTemplate: R.runtimeTemplate, - dependencyTemplates: R.dependencyTemplates, - moduleGraph: R.moduleGraph, - chunkGraph: R.chunkGraph, - module: k, - runtime: R.runtime, - runtimeRequirements: R.runtimeRequirements, - concatenationScope: R.concatenationScope, - codeGenerationResults: R.codeGenerationResults, - initFragments: E, - } - N.apply(v, P, q) - if ('getInitFragments' in N) { - const k = le(N, v, q) - if (k) { - for (const v of k) { - E.push(v) - } - } - } - } - } - k.exports = JavascriptGenerator - }, - 89168: function (k, v, E) { - 'use strict' - const { SyncWaterfallHook: P, SyncHook: R, SyncBailHook: L } = E(79846) - const N = E(26144) - const { - ConcatSource: q, - OriginalSource: ae, - PrefixSource: le, - RawSource: pe, - CachedSource: me, - } = E(51255) - const ye = E(27747) - const { tryRunOrWebpackError: _e } = E(82104) - const Ie = E(95733) - const Me = E(88113) - const { - JAVASCRIPT_MODULE_TYPE_AUTO: Te, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: je, - JAVASCRIPT_MODULE_TYPE_ESM: Ne, - WEBPACK_MODULE_TYPE_RUNTIME: Be, - } = E(93622) - const qe = E(56727) - const Ue = E(95041) - const { last: Ge, someInIterable: He } = E(54480) - const We = E(96181) - const { compareModulesByIdentifier: Qe } = E(95648) - const Je = E(74012) - const Ve = E(64119) - const { intersectRuntime: Ke } = E(1540) - const Ye = E(2166) - const Xe = E(81532) - const chunkHasJs = (k, v) => { - if (v.getNumberOfEntryModules(k) > 0) return true - return v.getChunkModulesIterableBySourceType(k, 'javascript') - ? true - : false - } - const printGeneratedCodeForStack = (k, v) => { - const E = v.split('\n') - const P = `${E.length}`.length - return `\n\nGenerated code for ${k.identifier()}\n${E.map((k, v, E) => { - const R = `${v + 1}` - return `${' '.repeat(P - R.length)}${R} | ${k}` - }).join('\n')}` - } - const Ze = new WeakMap() - const et = 'JavascriptModulesPlugin' - class JavascriptModulesPlugin { - static getCompilationHooks(k) { - if (!(k instanceof ye)) { - throw new TypeError( - "The 'compilation' argument must be an instance of Compilation" - ) - } - let v = Ze.get(k) - if (v === undefined) { - v = { - renderModuleContent: new P(['source', 'module', 'renderContext']), - renderModuleContainer: new P([ - 'source', - 'module', - 'renderContext', - ]), - renderModulePackage: new P(['source', 'module', 'renderContext']), - render: new P(['source', 'renderContext']), - renderContent: new P(['source', 'renderContext']), - renderStartup: new P([ - 'source', - 'module', - 'startupRenderContext', - ]), - renderChunk: new P(['source', 'renderContext']), - renderMain: new P(['source', 'renderContext']), - renderRequire: new P(['code', 'renderContext']), - inlineInRuntimeBailout: new L(['module', 'renderContext']), - embedInRuntimeBailout: new L(['module', 'renderContext']), - strictRuntimeBailout: new L(['renderContext']), - chunkHash: new R(['chunk', 'hash', 'context']), - useSourceMap: new L(['chunk', 'renderContext']), - } - Ze.set(k, v) - } - return v - } - constructor(k = {}) { - this.options = k - this._moduleFactoryCache = new WeakMap() - } - apply(k) { - k.hooks.compilation.tap(et, (k, { normalModuleFactory: v }) => { - const E = JavascriptModulesPlugin.getCompilationHooks(k) - v.hooks.createParser.for(Te).tap(et, (k) => new Xe('auto')) - v.hooks.createParser.for(je).tap(et, (k) => new Xe('script')) - v.hooks.createParser.for(Ne).tap(et, (k) => new Xe('module')) - v.hooks.createGenerator.for(Te).tap(et, () => new Ye()) - v.hooks.createGenerator.for(je).tap(et, () => new Ye()) - v.hooks.createGenerator.for(Ne).tap(et, () => new Ye()) - k.hooks.renderManifest.tap(et, (v, P) => { - const { - hash: R, - chunk: L, - chunkGraph: N, - moduleGraph: q, - runtimeTemplate: ae, - dependencyTemplates: le, - outputOptions: pe, - codeGenerationResults: me, - } = P - const ye = L instanceof Ie ? L : null - let _e - const Me = JavascriptModulesPlugin.getChunkFilenameTemplate(L, pe) - if (ye) { - _e = () => - this.renderChunk( - { - chunk: L, - dependencyTemplates: le, - runtimeTemplate: ae, - moduleGraph: q, - chunkGraph: N, - codeGenerationResults: me, - strictMode: ae.isModule(), - }, - E - ) - } else if (L.hasRuntime()) { - _e = () => - this.renderMain( - { - hash: R, - chunk: L, - dependencyTemplates: le, - runtimeTemplate: ae, - moduleGraph: q, - chunkGraph: N, - codeGenerationResults: me, - strictMode: ae.isModule(), - }, - E, - k - ) - } else { - if (!chunkHasJs(L, N)) { - return v - } - _e = () => - this.renderChunk( - { - chunk: L, - dependencyTemplates: le, - runtimeTemplate: ae, - moduleGraph: q, - chunkGraph: N, - codeGenerationResults: me, - strictMode: ae.isModule(), - }, - E - ) - } - v.push({ - render: _e, - filenameTemplate: Me, - pathOptions: { - hash: R, - runtime: L.runtime, - chunk: L, - contentHashType: 'javascript', - }, - info: { javascriptModule: k.runtimeTemplate.isModule() }, - identifier: ye ? `hotupdatechunk${L.id}` : `chunk${L.id}`, - hash: L.contentHash.javascript, - }) - return v - }) - k.hooks.chunkHash.tap(et, (k, v, P) => { - E.chunkHash.call(k, v, P) - if (k.hasRuntime()) { - this.updateHashWithBootstrap( - v, - { - hash: '0000', - chunk: k, - codeGenerationResults: P.codeGenerationResults, - chunkGraph: P.chunkGraph, - moduleGraph: P.moduleGraph, - runtimeTemplate: P.runtimeTemplate, - }, - E - ) - } - }) - k.hooks.contentHash.tap(et, (v) => { - const { - chunkGraph: P, - codeGenerationResults: R, - moduleGraph: L, - runtimeTemplate: N, - outputOptions: { - hashSalt: q, - hashDigest: ae, - hashDigestLength: le, - hashFunction: pe, - }, - } = k - const me = Je(pe) - if (q) me.update(q) - if (v.hasRuntime()) { - this.updateHashWithBootstrap( - me, - { - hash: '0000', - chunk: v, - codeGenerationResults: R, - chunkGraph: k.chunkGraph, - moduleGraph: k.moduleGraph, - runtimeTemplate: k.runtimeTemplate, - }, - E - ) - } else { - me.update(`${v.id} `) - me.update(v.ids ? v.ids.join(',') : '') - } - E.chunkHash.call(v, me, { - chunkGraph: P, - codeGenerationResults: R, - moduleGraph: L, - runtimeTemplate: N, - }) - const ye = P.getChunkModulesIterableBySourceType(v, 'javascript') - if (ye) { - const k = new We() - for (const E of ye) { - k.add(P.getModuleHash(E, v.runtime)) - } - k.updateHash(me) - } - const _e = P.getChunkModulesIterableBySourceType(v, Be) - if (_e) { - const k = new We() - for (const E of _e) { - k.add(P.getModuleHash(E, v.runtime)) - } - k.updateHash(me) - } - const Ie = me.digest(ae) - v.contentHash.javascript = Ve(Ie, le) - }) - k.hooks.additionalTreeRuntimeRequirements.tap( - et, - (k, v, { chunkGraph: E }) => { - if ( - !v.has(qe.startupNoDefault) && - E.hasChunkEntryDependentChunks(k) - ) { - v.add(qe.onChunksLoaded) - v.add(qe.require) - } - } - ) - k.hooks.executeModule.tap(et, (k, v) => { - const E = k.codeGenerationResult.sources.get('javascript') - if (E === undefined) return - const { module: P, moduleObject: R } = k - const L = E.source() - const q = N.runInThisContext( - `(function(${P.moduleArgument}, ${P.exportsArgument}, ${qe.require}) {\n${L}\n/**/})`, - { filename: P.identifier(), lineOffset: -1 } - ) - try { - q.call(R.exports, R, R.exports, v.__webpack_require__) - } catch (v) { - v.stack += printGeneratedCodeForStack(k.module, L) - throw v - } - }) - k.hooks.executeModule.tap(et, (k, v) => { - const E = k.codeGenerationResult.sources.get('runtime') - if (E === undefined) return - let P = E.source() - if (typeof P !== 'string') P = P.toString() - const R = N.runInThisContext( - `(function(${qe.require}) {\n${P}\n/**/})`, - { filename: k.module.identifier(), lineOffset: -1 } - ) - try { - R.call(null, v.__webpack_require__) - } catch (v) { - v.stack += printGeneratedCodeForStack(k.module, P) - throw v - } - }) - }) - } - static getChunkFilenameTemplate(k, v) { - if (k.filenameTemplate) { - return k.filenameTemplate - } else if (k instanceof Ie) { - return v.hotUpdateChunkFilename - } else if (k.canBeInitial()) { - return v.filename - } else { - return v.chunkFilename - } - } - renderModule(k, v, E, P) { - const { - chunk: R, - chunkGraph: L, - runtimeTemplate: N, - codeGenerationResults: ae, - strictMode: le, - } = v - try { - const pe = ae.get(k, R.runtime) - const ye = pe.sources.get('javascript') - if (!ye) return null - if (pe.data !== undefined) { - const k = pe.data.get('chunkInitFragments') - if (k) { - for (const E of k) v.chunkInitFragments.push(E) - } - } - const Ie = _e( - () => E.renderModuleContent.call(ye, k, v), - 'JavascriptModulesPlugin.getCompilationHooks().renderModuleContent' - ) - let Me - if (P) { - const P = L.getModuleRuntimeRequirements(k, R.runtime) - const ae = P.has(qe.module) - const pe = P.has(qe.exports) - const ye = P.has(qe.require) || P.has(qe.requireScope) - const Te = P.has(qe.thisAsExports) - const je = k.buildInfo.strict && !le - const Ne = this._moduleFactoryCache.get(Ie) - let Be - if ( - Ne && - Ne.needModule === ae && - Ne.needExports === pe && - Ne.needRequire === ye && - Ne.needThisAsExports === Te && - Ne.needStrict === je - ) { - Be = Ne.source - } else { - const v = new q() - const E = [] - if (pe || ye || ae) - E.push( - ae - ? k.moduleArgument - : '__unused_webpack_' + k.moduleArgument - ) - if (pe || ye) - E.push( - pe - ? k.exportsArgument - : '__unused_webpack_' + k.exportsArgument - ) - if (ye) E.push(qe.require) - if (!Te && N.supportsArrowFunction()) { - v.add('/***/ ((' + E.join(', ') + ') => {\n\n') - } else { - v.add('/***/ (function(' + E.join(', ') + ') {\n\n') - } - if (je) { - v.add('"use strict";\n') - } - v.add(Ie) - v.add('\n\n/***/ })') - Be = new me(v) - this._moduleFactoryCache.set(Ie, { - source: Be, - needModule: ae, - needExports: pe, - needRequire: ye, - needThisAsExports: Te, - needStrict: je, - }) - } - Me = _e( - () => E.renderModuleContainer.call(Be, k, v), - 'JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer' - ) - } else { - Me = Ie - } - return _e( - () => E.renderModulePackage.call(Me, k, v), - 'JavascriptModulesPlugin.getCompilationHooks().renderModulePackage' - ) - } catch (v) { - v.module = k - throw v - } - } - renderChunk(k, v) { - const { chunk: E, chunkGraph: P } = k - const R = P.getOrderedChunkModulesIterableBySourceType( - E, - 'javascript', - Qe - ) - const L = R ? Array.from(R) : [] - let N - let ae = k.strictMode - if (!ae && L.every((k) => k.buildInfo.strict)) { - const E = v.strictRuntimeBailout.call(k) - N = E - ? `// runtime can't be in strict mode because ${E}.\n` - : '"use strict";\n' - if (!E) ae = true - } - const le = { ...k, chunkInitFragments: [], strictMode: ae } - const me = - Ue.renderChunkModules(le, L, (k) => - this.renderModule(k, le, v, true) - ) || new pe('{}') - let ye = _e( - () => v.renderChunk.call(me, le), - 'JavascriptModulesPlugin.getCompilationHooks().renderChunk' - ) - ye = _e( - () => v.renderContent.call(ye, le), - 'JavascriptModulesPlugin.getCompilationHooks().renderContent' - ) - if (!ye) { - throw new Error( - 'JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something' - ) - } - ye = Me.addToSource(ye, le.chunkInitFragments, le) - ye = _e( - () => v.render.call(ye, le), - 'JavascriptModulesPlugin.getCompilationHooks().render' - ) - if (!ye) { - throw new Error( - 'JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something' - ) - } - E.rendered = true - return N - ? new q(N, ye, ';') - : k.runtimeTemplate.isModule() - ? ye - : new q(ye, ';') - } - renderMain(k, v, E) { - const { chunk: P, chunkGraph: R, runtimeTemplate: L } = k - const N = R.getTreeRuntimeRequirements(P) - const me = L.isIIFE() - const ye = this.renderBootstrap(k, v) - const Ie = v.useSourceMap.call(P, k) - const Te = Array.from( - R.getOrderedChunkModulesIterableBySourceType(P, 'javascript', Qe) || - [] - ) - const je = R.getNumberOfEntryModules(P) > 0 - let Ne - if (ye.allowInlineStartup && je) { - Ne = new Set(R.getChunkEntryModulesIterable(P)) - } - let Be = new q() - let He - if (me) { - if (L.supportsArrowFunction()) { - Be.add('/******/ (() => { // webpackBootstrap\n') - } else { - Be.add('/******/ (function() { // webpackBootstrap\n') - } - He = '/******/ \t' - } else { - He = '/******/ ' - } - let We = k.strictMode - if (!We && Te.every((k) => k.buildInfo.strict)) { - const E = v.strictRuntimeBailout.call(k) - if (E) { - Be.add(He + `// runtime can't be in strict mode because ${E}.\n`) - } else { - We = true - Be.add(He + '"use strict";\n') - } - } - const Je = { ...k, chunkInitFragments: [], strictMode: We } - const Ve = Ue.renderChunkModules( - Je, - Ne ? Te.filter((k) => !Ne.has(k)) : Te, - (k) => this.renderModule(k, Je, v, true), - He - ) - if ( - Ve || - N.has(qe.moduleFactories) || - N.has(qe.moduleFactoriesAddOnly) || - N.has(qe.require) - ) { - Be.add(He + 'var __webpack_modules__ = (') - Be.add(Ve || '{}') - Be.add(');\n') - Be.add( - '/************************************************************************/\n' - ) - } - if (ye.header.length > 0) { - const k = Ue.asString(ye.header) + '\n' - Be.add(new le(He, Ie ? new ae(k, 'webpack/bootstrap') : new pe(k))) - Be.add( - '/************************************************************************/\n' - ) - } - const Ke = k.chunkGraph.getChunkRuntimeModulesInOrder(P) - if (Ke.length > 0) { - Be.add(new le(He, Ue.renderRuntimeModules(Ke, Je))) - Be.add( - '/************************************************************************/\n' - ) - for (const k of Ke) { - E.codeGeneratedModules.add(k) - } - } - if (Ne) { - if (ye.beforeStartup.length > 0) { - const k = Ue.asString(ye.beforeStartup) + '\n' - Be.add( - new le(He, Ie ? new ae(k, 'webpack/before-startup') : new pe(k)) - ) - } - const E = Ge(Ne) - const me = new q() - me.add(`var ${qe.exports} = {};\n`) - for (const N of Ne) { - const q = this.renderModule(N, Je, v, false) - if (q) { - const ae = !We && N.buildInfo.strict - const le = R.getModuleRuntimeRequirements(N, P.runtime) - const pe = le.has(qe.exports) - const ye = pe && N.exportsArgument === qe.exports - let _e = ae - ? 'it need to be in strict mode.' - : Ne.size > 1 - ? 'it need to be isolated against other entry modules.' - : Ve - ? 'it need to be isolated against other modules in the chunk.' - : pe && !ye - ? `it uses a non-standard name for the exports (${N.exportsArgument}).` - : v.embedInRuntimeBailout.call(N, k) - let Ie - if (_e !== undefined) { - me.add( - `// This entry need to be wrapped in an IIFE because ${_e}\n` - ) - const k = L.supportsArrowFunction() - if (k) { - me.add('(() => {\n') - Ie = '\n})();\n\n' - } else { - me.add('!function() {\n') - Ie = '\n}();\n' - } - if (ae) me.add('"use strict";\n') - } else { - Ie = '\n' - } - if (pe) { - if (N !== E) me.add(`var ${N.exportsArgument} = {};\n`) - else if (N.exportsArgument !== qe.exports) - me.add(`var ${N.exportsArgument} = ${qe.exports};\n`) - } - me.add(q) - me.add(Ie) - } - } - if (N.has(qe.onChunksLoaded)) { - me.add(`${qe.exports} = ${qe.onChunksLoaded}(${qe.exports});\n`) - } - Be.add(v.renderStartup.call(me, E, { ...k, inlined: true })) - if (ye.afterStartup.length > 0) { - const k = Ue.asString(ye.afterStartup) + '\n' - Be.add( - new le(He, Ie ? new ae(k, 'webpack/after-startup') : new pe(k)) - ) - } - } else { - const E = Ge(R.getChunkEntryModulesIterable(P)) - const L = Ie - ? (k, v) => new ae(Ue.asString(k), v) - : (k) => new pe(Ue.asString(k)) - Be.add( - new le( - He, - new q( - L(ye.beforeStartup, 'webpack/before-startup'), - '\n', - v.renderStartup.call( - L(ye.startup.concat(''), 'webpack/startup'), - E, - { ...k, inlined: false } - ), - L(ye.afterStartup, 'webpack/after-startup'), - '\n' - ) - ) - ) - } - if (je && N.has(qe.returnExportsFromRuntime)) { - Be.add(`${He}return ${qe.exports};\n`) - } - if (me) { - Be.add('/******/ })()\n') - } - let Ye = _e( - () => v.renderMain.call(Be, k), - 'JavascriptModulesPlugin.getCompilationHooks().renderMain' - ) - if (!Ye) { - throw new Error( - 'JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something' - ) - } - Ye = _e( - () => v.renderContent.call(Ye, k), - 'JavascriptModulesPlugin.getCompilationHooks().renderContent' - ) - if (!Ye) { - throw new Error( - 'JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something' - ) - } - Ye = Me.addToSource(Ye, Je.chunkInitFragments, Je) - Ye = _e( - () => v.render.call(Ye, k), - 'JavascriptModulesPlugin.getCompilationHooks().render' - ) - if (!Ye) { - throw new Error( - 'JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something' - ) - } - P.rendered = true - return me ? new q(Ye, ';') : Ye - } - updateHashWithBootstrap(k, v, E) { - const P = this.renderBootstrap(v, E) - for (const v of Object.keys(P)) { - k.update(v) - if (Array.isArray(P[v])) { - for (const E of P[v]) { - k.update(E) - } - } else { - k.update(JSON.stringify(P[v])) - } - } - } - renderBootstrap(k, v) { - const { - chunkGraph: E, - codeGenerationResults: P, - moduleGraph: R, - chunk: L, - runtimeTemplate: N, - } = k - const q = E.getTreeRuntimeRequirements(L) - const ae = q.has(qe.require) - const le = q.has(qe.moduleCache) - const pe = q.has(qe.moduleFactories) - const me = q.has(qe.module) - const ye = q.has(qe.requireScope) - const _e = q.has(qe.interceptModuleExecution) - const Ie = ae || _e || me - const Me = { - header: [], - beforeStartup: [], - startup: [], - afterStartup: [], - allowInlineStartup: true, - } - let { - header: Te, - startup: je, - beforeStartup: Ne, - afterStartup: Be, - } = Me - if (Me.allowInlineStartup && pe) { - je.push( - '// module factories are used so entry inlining is disabled' - ) - Me.allowInlineStartup = false - } - if (Me.allowInlineStartup && le) { - je.push('// module cache are used so entry inlining is disabled') - Me.allowInlineStartup = false - } - if (Me.allowInlineStartup && _e) { - je.push( - '// module execution is intercepted so entry inlining is disabled' - ) - Me.allowInlineStartup = false - } - if (Ie || le) { - Te.push('// The module cache') - Te.push('var __webpack_module_cache__ = {};') - Te.push('') - } - if (Ie) { - Te.push('// The require function') - Te.push(`function ${qe.require}(moduleId) {`) - Te.push(Ue.indent(this.renderRequire(k, v))) - Te.push('}') - Te.push('') - } else if (q.has(qe.requireScope)) { - Te.push('// The require scope') - Te.push(`var ${qe.require} = {};`) - Te.push('') - } - if (pe || q.has(qe.moduleFactoriesAddOnly)) { - Te.push('// expose the modules object (__webpack_modules__)') - Te.push(`${qe.moduleFactories} = __webpack_modules__;`) - Te.push('') - } - if (le) { - Te.push('// expose the module cache') - Te.push(`${qe.moduleCache} = __webpack_module_cache__;`) - Te.push('') - } - if (_e) { - Te.push('// expose the module execution interceptor') - Te.push(`${qe.interceptModuleExecution} = [];`) - Te.push('') - } - if (!q.has(qe.startupNoDefault)) { - if (E.getNumberOfEntryModules(L) > 0) { - const q = [] - const ae = E.getTreeRuntimeRequirements(L) - q.push('// Load entry module and return exports') - let le = E.getNumberOfEntryModules(L) - for (const [ - pe, - me, - ] of E.getChunkEntryModulesWithChunkGroupIterable(L)) { - const _e = me.chunks.filter((k) => k !== L) - if (Me.allowInlineStartup && _e.length > 0) { - q.push( - '// This entry module depends on other loaded chunks and execution need to be delayed' - ) - Me.allowInlineStartup = false - } - if ( - Me.allowInlineStartup && - He( - R.getIncomingConnectionsByOriginModule(pe), - ([k, v]) => - k && - v.some((k) => k.isTargetActive(L.runtime)) && - He( - E.getModuleRuntimes(k), - (k) => Ke(k, L.runtime) !== undefined - ) - ) - ) { - q.push( - "// This entry module is referenced by other modules so it can't be inlined" - ) - Me.allowInlineStartup = false - } - let Te - if (P.has(pe, L.runtime)) { - const k = P.get(pe, L.runtime) - Te = k.data - } - if ( - Me.allowInlineStartup && - (!Te || !Te.get('topLevelDeclarations')) && - (!pe.buildInfo || !pe.buildInfo.topLevelDeclarations) - ) { - q.push( - "// This entry module doesn't tell about it's top-level declarations so it can't be inlined" - ) - Me.allowInlineStartup = false - } - if (Me.allowInlineStartup) { - const E = v.inlineInRuntimeBailout.call(pe, k) - if (E !== undefined) { - q.push(`// This entry module can't be inlined because ${E}`) - Me.allowInlineStartup = false - } - } - le-- - const je = E.getModuleId(pe) - const Ne = E.getModuleRuntimeRequirements(pe, L.runtime) - let Be = JSON.stringify(je) - if (ae.has(qe.entryModuleId)) { - Be = `${qe.entryModuleId} = ${Be}` - } - if (Me.allowInlineStartup && Ne.has(qe.module)) { - Me.allowInlineStartup = false - q.push( - "// This entry module used 'module' so it can't be inlined" - ) - } - if (_e.length > 0) { - q.push( - `${le === 0 ? `var ${qe.exports} = ` : ''}${ - qe.onChunksLoaded - }(undefined, ${JSON.stringify( - _e.map((k) => k.id) - )}, ${N.returningFunction(`${qe.require}(${Be})`)})` - ) - } else if (Ie) { - q.push( - `${le === 0 ? `var ${qe.exports} = ` : ''}${ - qe.require - }(${Be});` - ) - } else { - if (le === 0) q.push(`var ${qe.exports} = {};`) - if (ye) { - q.push( - `__webpack_modules__[${Be}](0, ${ - le === 0 ? qe.exports : '{}' - }, ${qe.require});` - ) - } else if (Ne.has(qe.exports)) { - q.push( - `__webpack_modules__[${Be}](0, ${ - le === 0 ? qe.exports : '{}' - });` - ) - } else { - q.push(`__webpack_modules__[${Be}]();`) - } - } - } - if (ae.has(qe.onChunksLoaded)) { - q.push(`${qe.exports} = ${qe.onChunksLoaded}(${qe.exports});`) - } - if ( - ae.has(qe.startup) || - (ae.has(qe.startupOnlyBefore) && ae.has(qe.startupOnlyAfter)) - ) { - Me.allowInlineStartup = false - Te.push('// the startup function') - Te.push( - `${qe.startup} = ${N.basicFunction('', [ - ...q, - `return ${qe.exports};`, - ])};` - ) - Te.push('') - je.push('// run startup') - je.push(`var ${qe.exports} = ${qe.startup}();`) - } else if (ae.has(qe.startupOnlyBefore)) { - Te.push('// the startup function') - Te.push(`${qe.startup} = ${N.emptyFunction()};`) - Ne.push('// run runtime startup') - Ne.push(`${qe.startup}();`) - je.push('// startup') - je.push(Ue.asString(q)) - } else if (ae.has(qe.startupOnlyAfter)) { - Te.push('// the startup function') - Te.push(`${qe.startup} = ${N.emptyFunction()};`) - je.push('// startup') - je.push(Ue.asString(q)) - Be.push('// run runtime startup') - Be.push(`${qe.startup}();`) - } else { - je.push('// startup') - je.push(Ue.asString(q)) - } - } else if ( - q.has(qe.startup) || - q.has(qe.startupOnlyBefore) || - q.has(qe.startupOnlyAfter) - ) { - Te.push( - '// the startup function', - "// It's empty as no entry modules are in this chunk", - `${qe.startup} = ${N.emptyFunction()};`, - '' - ) - } - } else if ( - q.has(qe.startup) || - q.has(qe.startupOnlyBefore) || - q.has(qe.startupOnlyAfter) - ) { - Me.allowInlineStartup = false - Te.push( - '// the startup function', - "// It's empty as some runtime module handles the default behavior", - `${qe.startup} = ${N.emptyFunction()};` - ) - je.push('// run startup') - je.push(`var ${qe.exports} = ${qe.startup}();`) - } - return Me - } - renderRequire(k, v) { - const { - chunk: E, - chunkGraph: P, - runtimeTemplate: { outputOptions: R }, - } = k - const L = P.getTreeRuntimeRequirements(E) - const N = L.has(qe.interceptModuleExecution) - ? Ue.asString([ - `var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: ${qe.require} };`, - `${qe.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`, - 'module = execOptions.module;', - 'execOptions.factory.call(module.exports, module, module.exports, execOptions.require);', - ]) - : L.has(qe.thisAsExports) - ? Ue.asString([ - `__webpack_modules__[moduleId].call(module.exports, module, module.exports, ${qe.require});`, - ]) - : Ue.asString([ - `__webpack_modules__[moduleId](module, module.exports, ${qe.require});`, - ]) - const q = L.has(qe.moduleId) - const ae = L.has(qe.moduleLoaded) - const le = Ue.asString([ - '// Check if module is in cache', - 'var cachedModule = __webpack_module_cache__[moduleId];', - 'if (cachedModule !== undefined) {', - R.strictModuleErrorHandling - ? Ue.indent([ - 'if (cachedModule.error !== undefined) throw cachedModule.error;', - 'return cachedModule.exports;', - ]) - : Ue.indent('return cachedModule.exports;'), - '}', - '// Create a new module (and put it into the cache)', - 'var module = __webpack_module_cache__[moduleId] = {', - Ue.indent([ - q ? 'id: moduleId,' : '// no module.id needed', - ae ? 'loaded: false,' : '// no module.loaded needed', - 'exports: {}', - ]), - '};', - '', - R.strictModuleExceptionHandling - ? Ue.asString([ - '// Execute the module function', - 'var threw = true;', - 'try {', - Ue.indent([N, 'threw = false;']), - '} finally {', - Ue.indent([ - 'if(threw) delete __webpack_module_cache__[moduleId];', - ]), - '}', - ]) - : R.strictModuleErrorHandling - ? Ue.asString([ - '// Execute the module function', - 'try {', - Ue.indent(N), - '} catch(e) {', - Ue.indent(['module.error = e;', 'throw e;']), - '}', - ]) - : Ue.asString(['// Execute the module function', N]), - ae - ? Ue.asString([ - '', - '// Flag the module as loaded', - `${qe.moduleLoaded} = true;`, - '', - ]) - : '', - '// Return the exports of the module', - 'return module.exports;', - ]) - return _e( - () => v.renderRequire.call(le, k), - 'JavascriptModulesPlugin.getCompilationHooks().renderRequire' - ) - } - } - k.exports = JavascriptModulesPlugin - k.exports.chunkHasJs = chunkHasJs - }, - 81532: function (k, v, E) { - 'use strict' - const { Parser: P } = E(31988) - const { importAssertions: R } = E(46348) - const { SyncBailHook: L, HookMap: N } = E(79846) - const q = E(26144) - const ae = E(17381) - const le = E(25728) - const pe = E(43759) - const me = E(20631) - const ye = E(70037) - const _e = [] - const Ie = 1 - const Me = 2 - const Te = 3 - const je = P.extend(R) - class VariableInfo { - constructor(k, v, E) { - this.declaredScope = k - this.freeName = v - this.tagInfo = E - } - } - const joinRanges = (k, v) => { - if (!v) return k - if (!k) return v - return [k[0], v[1]] - } - const objectAndMembersToName = (k, v) => { - let E = k - for (let k = v.length - 1; k >= 0; k--) { - E = E + '.' + v[k] - } - return E - } - const getRootName = (k) => { - switch (k.type) { - case 'Identifier': - return k.name - case 'ThisExpression': - return 'this' - case 'MetaProperty': - return `${k.meta.name}.${k.property.name}` - default: - return undefined - } - } - const Ne = { - ranges: true, - locations: true, - ecmaVersion: 'latest', - sourceType: 'module', - allowHashBang: true, - onComment: null, - } - const Be = new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/) - const qe = { options: null, errors: null } - class JavascriptParser extends ae { - constructor(k = 'auto') { - super() - this.hooks = Object.freeze({ - evaluateTypeof: new N(() => new L(['expression'])), - evaluate: new N(() => new L(['expression'])), - evaluateIdentifier: new N(() => new L(['expression'])), - evaluateDefinedIdentifier: new N(() => new L(['expression'])), - evaluateNewExpression: new N(() => new L(['expression'])), - evaluateCallExpression: new N(() => new L(['expression'])), - evaluateCallExpressionMember: new N( - () => new L(['expression', 'param']) - ), - isPure: new N(() => new L(['expression', 'commentsStartPosition'])), - preStatement: new L(['statement']), - blockPreStatement: new L(['declaration']), - statement: new L(['statement']), - statementIf: new L(['statement']), - classExtendsExpression: new L(['expression', 'classDefinition']), - classBodyElement: new L(['element', 'classDefinition']), - classBodyValue: new L(['expression', 'element', 'classDefinition']), - label: new N(() => new L(['statement'])), - import: new L(['statement', 'source']), - importSpecifier: new L([ - 'statement', - 'source', - 'exportName', - 'identifierName', - ]), - export: new L(['statement']), - exportImport: new L(['statement', 'source']), - exportDeclaration: new L(['statement', 'declaration']), - exportExpression: new L(['statement', 'declaration']), - exportSpecifier: new L([ - 'statement', - 'identifierName', - 'exportName', - 'index', - ]), - exportImportSpecifier: new L([ - 'statement', - 'source', - 'identifierName', - 'exportName', - 'index', - ]), - preDeclarator: new L(['declarator', 'statement']), - declarator: new L(['declarator', 'statement']), - varDeclaration: new N(() => new L(['declaration'])), - varDeclarationLet: new N(() => new L(['declaration'])), - varDeclarationConst: new N(() => new L(['declaration'])), - varDeclarationVar: new N(() => new L(['declaration'])), - pattern: new N(() => new L(['pattern'])), - canRename: new N(() => new L(['initExpression'])), - rename: new N(() => new L(['initExpression'])), - assign: new N(() => new L(['expression'])), - assignMemberChain: new N(() => new L(['expression', 'members'])), - typeof: new N(() => new L(['expression'])), - importCall: new L(['expression']), - topLevelAwait: new L(['expression']), - call: new N(() => new L(['expression'])), - callMemberChain: new N( - () => - new L([ - 'expression', - 'members', - 'membersOptionals', - 'memberRanges', - ]) - ), - memberChainOfCallMemberChain: new N( - () => - new L([ - 'expression', - 'calleeMembers', - 'callExpression', - 'members', - ]) - ), - callMemberChainOfCallMemberChain: new N( - () => - new L([ - 'expression', - 'calleeMembers', - 'innerCallExpression', - 'members', - ]) - ), - optionalChaining: new L(['optionalChaining']), - new: new N(() => new L(['expression'])), - binaryExpression: new L(['binaryExpression']), - expression: new N(() => new L(['expression'])), - expressionMemberChain: new N( - () => - new L([ - 'expression', - 'members', - 'membersOptionals', - 'memberRanges', - ]) - ), - unhandledExpressionMemberChain: new N( - () => new L(['expression', 'members']) - ), - expressionConditionalOperator: new L(['expression']), - expressionLogicalOperator: new L(['expression']), - program: new L(['ast', 'comments']), - finish: new L(['ast', 'comments']), - }) - this.sourceType = k - this.scope = undefined - this.state = undefined - this.comments = undefined - this.semicolons = undefined - this.statementPath = undefined - this.prevStatement = undefined - this.destructuringAssignmentProperties = undefined - this.currentTagData = undefined - this._initializeEvaluating() - } - _initializeEvaluating() { - this.hooks.evaluate.for('Literal').tap('JavascriptParser', (k) => { - const v = k - switch (typeof v.value) { - case 'number': - return new ye().setNumber(v.value).setRange(v.range) - case 'bigint': - return new ye().setBigInt(v.value).setRange(v.range) - case 'string': - return new ye().setString(v.value).setRange(v.range) - case 'boolean': - return new ye().setBoolean(v.value).setRange(v.range) - } - if (v.value === null) { - return new ye().setNull().setRange(v.range) - } - if (v.value instanceof RegExp) { - return new ye().setRegExp(v.value).setRange(v.range) - } - }) - this.hooks.evaluate - .for('NewExpression') - .tap('JavascriptParser', (k) => { - const v = k - const E = v.callee - if (E.type !== 'Identifier') return - if (E.name !== 'RegExp') { - return this.callHooksForName( - this.hooks.evaluateNewExpression, - E.name, - v - ) - } else if ( - v.arguments.length > 2 || - this.getVariableInfo('RegExp') !== 'RegExp' - ) - return - let P, R - const L = v.arguments[0] - if (L) { - if (L.type === 'SpreadElement') return - const k = this.evaluateExpression(L) - if (!k) return - P = k.asString() - if (!P) return - } else { - return new ye().setRegExp(new RegExp('')).setRange(v.range) - } - const N = v.arguments[1] - if (N) { - if (N.type === 'SpreadElement') return - const k = this.evaluateExpression(N) - if (!k) return - if (!k.isUndefined()) { - R = k.asString() - if (R === undefined || !ye.isValidRegExpFlags(R)) return - } - } - return new ye() - .setRegExp(R ? new RegExp(P, R) : new RegExp(P)) - .setRange(v.range) - }) - this.hooks.evaluate - .for('LogicalExpression') - .tap('JavascriptParser', (k) => { - const v = k - const E = this.evaluateExpression(v.left) - let P = false - let R - if (v.operator === '&&') { - const k = E.asBool() - if (k === false) return E.setRange(v.range) - P = k === true - R = false - } else if (v.operator === '||') { - const k = E.asBool() - if (k === true) return E.setRange(v.range) - P = k === false - R = true - } else if (v.operator === '??') { - const k = E.asNullish() - if (k === false) return E.setRange(v.range) - if (k !== true) return - P = true - } else return - const L = this.evaluateExpression(v.right) - if (P) { - if (E.couldHaveSideEffects()) L.setSideEffects() - return L.setRange(v.range) - } - const N = L.asBool() - if (R === true && N === true) { - return new ye().setRange(v.range).setTruthy() - } else if (R === false && N === false) { - return new ye().setRange(v.range).setFalsy() - } - }) - const valueAsExpression = (k, v, E) => { - switch (typeof k) { - case 'boolean': - return new ye() - .setBoolean(k) - .setSideEffects(E) - .setRange(v.range) - case 'number': - return new ye().setNumber(k).setSideEffects(E).setRange(v.range) - case 'bigint': - return new ye().setBigInt(k).setSideEffects(E).setRange(v.range) - case 'string': - return new ye().setString(k).setSideEffects(E).setRange(v.range) - } - } - this.hooks.evaluate - .for('BinaryExpression') - .tap('JavascriptParser', (k) => { - const v = k - const handleConstOperation = (k) => { - const E = this.evaluateExpression(v.left) - if (!E.isCompileTimeValue()) return - const P = this.evaluateExpression(v.right) - if (!P.isCompileTimeValue()) return - const R = k(E.asCompileTimeValue(), P.asCompileTimeValue()) - return valueAsExpression( - R, - v, - E.couldHaveSideEffects() || P.couldHaveSideEffects() - ) - } - const isAlwaysDifferent = (k, v) => - (k === true && v === false) || (k === false && v === true) - const handleTemplateStringCompare = (k, v, E, P) => { - const getPrefix = (k) => { - let v = '' - for (const E of k) { - const k = E.asString() - if (k !== undefined) v += k - else break - } - return v - } - const getSuffix = (k) => { - let v = '' - for (let E = k.length - 1; E >= 0; E--) { - const P = k[E].asString() - if (P !== undefined) v = P + v - else break - } - return v - } - const R = getPrefix(k.parts) - const L = getPrefix(v.parts) - const N = getSuffix(k.parts) - const q = getSuffix(v.parts) - const ae = Math.min(R.length, L.length) - const le = Math.min(N.length, q.length) - const pe = ae > 0 && R.slice(0, ae) !== L.slice(0, ae) - const me = le > 0 && N.slice(-le) !== q.slice(-le) - if (pe || me) { - return E.setBoolean(!P).setSideEffects( - k.couldHaveSideEffects() || v.couldHaveSideEffects() - ) - } - } - const handleStrictEqualityComparison = (k) => { - const E = this.evaluateExpression(v.left) - const P = this.evaluateExpression(v.right) - const R = new ye() - R.setRange(v.range) - const L = E.isCompileTimeValue() - const N = P.isCompileTimeValue() - if (L && N) { - return R.setBoolean( - k === (E.asCompileTimeValue() === P.asCompileTimeValue()) - ).setSideEffects( - E.couldHaveSideEffects() || P.couldHaveSideEffects() - ) - } - if (E.isArray() && P.isArray()) { - return R.setBoolean(!k).setSideEffects( - E.couldHaveSideEffects() || P.couldHaveSideEffects() - ) - } - if (E.isTemplateString() && P.isTemplateString()) { - return handleTemplateStringCompare(E, P, R, k) - } - const q = E.isPrimitiveType() - const ae = P.isPrimitiveType() - if ( - (q === false && (L || ae === true)) || - (ae === false && (N || q === true)) || - isAlwaysDifferent(E.asBool(), P.asBool()) || - isAlwaysDifferent(E.asNullish(), P.asNullish()) - ) { - return R.setBoolean(!k).setSideEffects( - E.couldHaveSideEffects() || P.couldHaveSideEffects() - ) - } - } - const handleAbstractEqualityComparison = (k) => { - const E = this.evaluateExpression(v.left) - const P = this.evaluateExpression(v.right) - const R = new ye() - R.setRange(v.range) - const L = E.isCompileTimeValue() - const N = P.isCompileTimeValue() - if (L && N) { - return R.setBoolean( - k === (E.asCompileTimeValue() == P.asCompileTimeValue()) - ).setSideEffects( - E.couldHaveSideEffects() || P.couldHaveSideEffects() - ) - } - if (E.isArray() && P.isArray()) { - return R.setBoolean(!k).setSideEffects( - E.couldHaveSideEffects() || P.couldHaveSideEffects() - ) - } - if (E.isTemplateString() && P.isTemplateString()) { - return handleTemplateStringCompare(E, P, R, k) - } - } - if (v.operator === '+') { - const k = this.evaluateExpression(v.left) - const E = this.evaluateExpression(v.right) - const P = new ye() - if (k.isString()) { - if (E.isString()) { - P.setString(k.string + E.string) - } else if (E.isNumber()) { - P.setString(k.string + E.number) - } else if (E.isWrapped() && E.prefix && E.prefix.isString()) { - P.setWrapped( - new ye() - .setString(k.string + E.prefix.string) - .setRange(joinRanges(k.range, E.prefix.range)), - E.postfix, - E.wrappedInnerExpressions - ) - } else if (E.isWrapped()) { - P.setWrapped(k, E.postfix, E.wrappedInnerExpressions) - } else { - P.setWrapped(k, null, [E]) - } - } else if (k.isNumber()) { - if (E.isString()) { - P.setString(k.number + E.string) - } else if (E.isNumber()) { - P.setNumber(k.number + E.number) - } else { - return - } - } else if (k.isBigInt()) { - if (E.isBigInt()) { - P.setBigInt(k.bigint + E.bigint) - } - } else if (k.isWrapped()) { - if (k.postfix && k.postfix.isString() && E.isString()) { - P.setWrapped( - k.prefix, - new ye() - .setString(k.postfix.string + E.string) - .setRange(joinRanges(k.postfix.range, E.range)), - k.wrappedInnerExpressions - ) - } else if ( - k.postfix && - k.postfix.isString() && - E.isNumber() - ) { - P.setWrapped( - k.prefix, - new ye() - .setString(k.postfix.string + E.number) - .setRange(joinRanges(k.postfix.range, E.range)), - k.wrappedInnerExpressions - ) - } else if (E.isString()) { - P.setWrapped(k.prefix, E, k.wrappedInnerExpressions) - } else if (E.isNumber()) { - P.setWrapped( - k.prefix, - new ye().setString(E.number + '').setRange(E.range), - k.wrappedInnerExpressions - ) - } else if (E.isWrapped()) { - P.setWrapped( - k.prefix, - E.postfix, - k.wrappedInnerExpressions && - E.wrappedInnerExpressions && - k.wrappedInnerExpressions - .concat(k.postfix ? [k.postfix] : []) - .concat(E.prefix ? [E.prefix] : []) - .concat(E.wrappedInnerExpressions) - ) - } else { - P.setWrapped( - k.prefix, - null, - k.wrappedInnerExpressions && - k.wrappedInnerExpressions.concat( - k.postfix ? [k.postfix, E] : [E] - ) - ) - } - } else { - if (E.isString()) { - P.setWrapped(null, E, [k]) - } else if (E.isWrapped()) { - P.setWrapped( - null, - E.postfix, - E.wrappedInnerExpressions && - (E.prefix ? [k, E.prefix] : [k]).concat( - E.wrappedInnerExpressions - ) - ) - } else { - return - } - } - if (k.couldHaveSideEffects() || E.couldHaveSideEffects()) - P.setSideEffects() - P.setRange(v.range) - return P - } else if (v.operator === '-') { - return handleConstOperation((k, v) => k - v) - } else if (v.operator === '*') { - return handleConstOperation((k, v) => k * v) - } else if (v.operator === '/') { - return handleConstOperation((k, v) => k / v) - } else if (v.operator === '**') { - return handleConstOperation((k, v) => k ** v) - } else if (v.operator === '===') { - return handleStrictEqualityComparison(true) - } else if (v.operator === '==') { - return handleAbstractEqualityComparison(true) - } else if (v.operator === '!==') { - return handleStrictEqualityComparison(false) - } else if (v.operator === '!=') { - return handleAbstractEqualityComparison(false) - } else if (v.operator === '&') { - return handleConstOperation((k, v) => k & v) - } else if (v.operator === '|') { - return handleConstOperation((k, v) => k | v) - } else if (v.operator === '^') { - return handleConstOperation((k, v) => k ^ v) - } else if (v.operator === '>>>') { - return handleConstOperation((k, v) => k >>> v) - } else if (v.operator === '>>') { - return handleConstOperation((k, v) => k >> v) - } else if (v.operator === '<<') { - return handleConstOperation((k, v) => k << v) - } else if (v.operator === '<') { - return handleConstOperation((k, v) => k < v) - } else if (v.operator === '>') { - return handleConstOperation((k, v) => k > v) - } else if (v.operator === '<=') { - return handleConstOperation((k, v) => k <= v) - } else if (v.operator === '>=') { - return handleConstOperation((k, v) => k >= v) - } - }) - this.hooks.evaluate - .for('UnaryExpression') - .tap('JavascriptParser', (k) => { - const v = k - const handleConstOperation = (k) => { - const E = this.evaluateExpression(v.argument) - if (!E.isCompileTimeValue()) return - const P = k(E.asCompileTimeValue()) - return valueAsExpression(P, v, E.couldHaveSideEffects()) - } - if (v.operator === 'typeof') { - switch (v.argument.type) { - case 'Identifier': { - const k = this.callHooksForName( - this.hooks.evaluateTypeof, - v.argument.name, - v - ) - if (k !== undefined) return k - break - } - case 'MetaProperty': { - const k = this.callHooksForName( - this.hooks.evaluateTypeof, - getRootName(v.argument), - v - ) - if (k !== undefined) return k - break - } - case 'MemberExpression': { - const k = this.callHooksForExpression( - this.hooks.evaluateTypeof, - v.argument, - v - ) - if (k !== undefined) return k - break - } - case 'ChainExpression': { - const k = this.callHooksForExpression( - this.hooks.evaluateTypeof, - v.argument.expression, - v - ) - if (k !== undefined) return k - break - } - case 'FunctionExpression': { - return new ye().setString('function').setRange(v.range) - } - } - const k = this.evaluateExpression(v.argument) - if (k.isUnknown()) return - if (k.isString()) { - return new ye().setString('string').setRange(v.range) - } - if (k.isWrapped()) { - return new ye() - .setString('string') - .setSideEffects() - .setRange(v.range) - } - if (k.isUndefined()) { - return new ye().setString('undefined').setRange(v.range) - } - if (k.isNumber()) { - return new ye().setString('number').setRange(v.range) - } - if (k.isBigInt()) { - return new ye().setString('bigint').setRange(v.range) - } - if (k.isBoolean()) { - return new ye().setString('boolean').setRange(v.range) - } - if (k.isConstArray() || k.isRegExp() || k.isNull()) { - return new ye().setString('object').setRange(v.range) - } - if (k.isArray()) { - return new ye() - .setString('object') - .setSideEffects(k.couldHaveSideEffects()) - .setRange(v.range) - } - } else if (v.operator === '!') { - const k = this.evaluateExpression(v.argument) - const E = k.asBool() - if (typeof E !== 'boolean') return - return new ye() - .setBoolean(!E) - .setSideEffects(k.couldHaveSideEffects()) - .setRange(v.range) - } else if (v.operator === '~') { - return handleConstOperation((k) => ~k) - } else if (v.operator === '+') { - return handleConstOperation((k) => +k) - } else if (v.operator === '-') { - return handleConstOperation((k) => -k) - } - }) - this.hooks.evaluateTypeof - .for('undefined') - .tap('JavascriptParser', (k) => - new ye().setString('undefined').setRange(k.range) - ) - this.hooks.evaluate.for('Identifier').tap('JavascriptParser', (k) => { - if (k.name === 'undefined') { - return new ye().setUndefined().setRange(k.range) - } - }) - const tapEvaluateWithVariableInfo = (k, v) => { - let E = undefined - let P = undefined - this.hooks.evaluate.for(k).tap('JavascriptParser', (k) => { - const R = k - const L = v(k) - if (L !== undefined) { - return this.callHooksForInfoWithFallback( - this.hooks.evaluateIdentifier, - L.name, - (k) => { - E = R - P = L - }, - (k) => { - const v = this.hooks.evaluateDefinedIdentifier.get(k) - if (v !== undefined) { - return v.call(R) - } - }, - R - ) - } - }) - this.hooks.evaluate - .for(k) - .tap({ name: 'JavascriptParser', stage: 100 }, (k) => { - const R = E === k ? P : v(k) - if (R !== undefined) { - return new ye() - .setIdentifier( - R.name, - R.rootInfo, - R.getMembers, - R.getMembersOptionals, - R.getMemberRanges - ) - .setRange(k.range) - } - }) - this.hooks.finish.tap('JavascriptParser', () => { - E = P = undefined - }) - } - tapEvaluateWithVariableInfo('Identifier', (k) => { - const v = this.getVariableInfo(k.name) - if ( - typeof v === 'string' || - (v instanceof VariableInfo && typeof v.freeName === 'string') - ) { - return { - name: v, - rootInfo: v, - getMembers: () => [], - getMembersOptionals: () => [], - getMemberRanges: () => [], - } - } - }) - tapEvaluateWithVariableInfo('ThisExpression', (k) => { - const v = this.getVariableInfo('this') - if ( - typeof v === 'string' || - (v instanceof VariableInfo && typeof v.freeName === 'string') - ) { - return { - name: v, - rootInfo: v, - getMembers: () => [], - getMembersOptionals: () => [], - getMemberRanges: () => [], - } - } - }) - this.hooks.evaluate - .for('MetaProperty') - .tap('JavascriptParser', (k) => { - const v = k - return this.callHooksForName( - this.hooks.evaluateIdentifier, - getRootName(k), - v - ) - }) - tapEvaluateWithVariableInfo('MemberExpression', (k) => - this.getMemberExpressionInfo(k, Me) - ) - this.hooks.evaluate - .for('CallExpression') - .tap('JavascriptParser', (k) => { - const v = k - if ( - v.callee.type === 'MemberExpression' && - v.callee.property.type === - (v.callee.computed ? 'Literal' : 'Identifier') - ) { - const k = this.evaluateExpression(v.callee.object) - const E = - v.callee.property.type === 'Literal' - ? `${v.callee.property.value}` - : v.callee.property.name - const P = this.hooks.evaluateCallExpressionMember.get(E) - if (P !== undefined) { - return P.call(v, k) - } - } else if (v.callee.type === 'Identifier') { - return this.callHooksForName( - this.hooks.evaluateCallExpression, - v.callee.name, - v - ) - } - }) - this.hooks.evaluateCallExpressionMember - .for('indexOf') - .tap('JavascriptParser', (k, v) => { - if (!v.isString()) return - if (k.arguments.length === 0) return - const [E, P] = k.arguments - if (E.type === 'SpreadElement') return - const R = this.evaluateExpression(E) - if (!R.isString()) return - const L = R.string - let N - if (P) { - if (P.type === 'SpreadElement') return - const k = this.evaluateExpression(P) - if (!k.isNumber()) return - N = v.string.indexOf(L, k.number) - } else { - N = v.string.indexOf(L) - } - return new ye() - .setNumber(N) - .setSideEffects(v.couldHaveSideEffects()) - .setRange(k.range) - }) - this.hooks.evaluateCallExpressionMember - .for('replace') - .tap('JavascriptParser', (k, v) => { - if (!v.isString()) return - if (k.arguments.length !== 2) return - if (k.arguments[0].type === 'SpreadElement') return - if (k.arguments[1].type === 'SpreadElement') return - let E = this.evaluateExpression(k.arguments[0]) - let P = this.evaluateExpression(k.arguments[1]) - if (!E.isString() && !E.isRegExp()) return - const R = E.regExp || E.string - if (!P.isString()) return - const L = P.string - return new ye() - .setString(v.string.replace(R, L)) - .setSideEffects(v.couldHaveSideEffects()) - .setRange(k.range) - }) - ;['substr', 'substring', 'slice'].forEach((k) => { - this.hooks.evaluateCallExpressionMember - .for(k) - .tap('JavascriptParser', (v, E) => { - if (!E.isString()) return - let P - let R, - L = E.string - switch (v.arguments.length) { - case 1: - if (v.arguments[0].type === 'SpreadElement') return - P = this.evaluateExpression(v.arguments[0]) - if (!P.isNumber()) return - R = L[k](P.number) - break - case 2: { - if (v.arguments[0].type === 'SpreadElement') return - if (v.arguments[1].type === 'SpreadElement') return - P = this.evaluateExpression(v.arguments[0]) - const E = this.evaluateExpression(v.arguments[1]) - if (!P.isNumber()) return - if (!E.isNumber()) return - R = L[k](P.number, E.number) - break - } - default: - return - } - return new ye() - .setString(R) - .setSideEffects(E.couldHaveSideEffects()) - .setRange(v.range) - }) - }) - const getSimplifiedTemplateResult = (k, v) => { - const E = [] - const P = [] - for (let R = 0; R < v.quasis.length; R++) { - const L = v.quasis[R] - const N = L.value[k] - if (R > 0) { - const k = P[P.length - 1] - const E = this.evaluateExpression(v.expressions[R - 1]) - const q = E.asString() - if (typeof q === 'string' && !E.couldHaveSideEffects()) { - k.setString(k.string + q + N) - k.setRange([k.range[0], L.range[1]]) - k.setExpression(undefined) - continue - } - P.push(E) - } - const q = new ye().setString(N).setRange(L.range).setExpression(L) - E.push(q) - P.push(q) - } - return { quasis: E, parts: P } - } - this.hooks.evaluate - .for('TemplateLiteral') - .tap('JavascriptParser', (k) => { - const v = k - const { quasis: E, parts: P } = getSimplifiedTemplateResult( - 'cooked', - v - ) - if (P.length === 1) { - return P[0].setRange(v.range) - } - return new ye() - .setTemplateString(E, P, 'cooked') - .setRange(v.range) - }) - this.hooks.evaluate - .for('TaggedTemplateExpression') - .tap('JavascriptParser', (k) => { - const v = k - const E = this.evaluateExpression(v.tag) - if (E.isIdentifier() && E.identifier === 'String.raw') { - const { quasis: k, parts: E } = getSimplifiedTemplateResult( - 'raw', - v.quasi - ) - return new ye().setTemplateString(k, E, 'raw').setRange(v.range) - } - }) - this.hooks.evaluateCallExpressionMember - .for('concat') - .tap('JavascriptParser', (k, v) => { - if (!v.isString() && !v.isWrapped()) return - let E = null - let P = false - const R = [] - for (let v = k.arguments.length - 1; v >= 0; v--) { - const L = k.arguments[v] - if (L.type === 'SpreadElement') return - const N = this.evaluateExpression(L) - if (P || (!N.isString() && !N.isNumber())) { - P = true - R.push(N) - continue - } - const q = N.isString() ? N.string : '' + N.number - const ae = q + (E ? E.string : '') - const le = [N.range[0], (E || N).range[1]] - E = new ye() - .setString(ae) - .setSideEffects( - (E && E.couldHaveSideEffects()) || N.couldHaveSideEffects() - ) - .setRange(le) - } - if (P) { - const P = v.isString() ? v : v.prefix - const L = - v.isWrapped() && v.wrappedInnerExpressions - ? v.wrappedInnerExpressions.concat(R.reverse()) - : R.reverse() - return new ye().setWrapped(P, E, L).setRange(k.range) - } else if (v.isWrapped()) { - const P = E || v.postfix - const L = v.wrappedInnerExpressions - ? v.wrappedInnerExpressions.concat(R.reverse()) - : R.reverse() - return new ye().setWrapped(v.prefix, P, L).setRange(k.range) - } else { - const P = v.string + (E ? E.string : '') - return new ye() - .setString(P) - .setSideEffects( - (E && E.couldHaveSideEffects()) || v.couldHaveSideEffects() - ) - .setRange(k.range) - } - }) - this.hooks.evaluateCallExpressionMember - .for('split') - .tap('JavascriptParser', (k, v) => { - if (!v.isString()) return - if (k.arguments.length !== 1) return - if (k.arguments[0].type === 'SpreadElement') return - let E - const P = this.evaluateExpression(k.arguments[0]) - if (P.isString()) { - E = v.string.split(P.string) - } else if (P.isRegExp()) { - E = v.string.split(P.regExp) - } else { - return - } - return new ye() - .setArray(E) - .setSideEffects(v.couldHaveSideEffects()) - .setRange(k.range) - }) - this.hooks.evaluate - .for('ConditionalExpression') - .tap('JavascriptParser', (k) => { - const v = k - const E = this.evaluateExpression(v.test) - const P = E.asBool() - let R - if (P === undefined) { - const k = this.evaluateExpression(v.consequent) - const E = this.evaluateExpression(v.alternate) - R = new ye() - if (k.isConditional()) { - R.setOptions(k.options) - } else { - R.setOptions([k]) - } - if (E.isConditional()) { - R.addOptions(E.options) - } else { - R.addOptions([E]) - } - } else { - R = this.evaluateExpression(P ? v.consequent : v.alternate) - if (E.couldHaveSideEffects()) R.setSideEffects() - } - R.setRange(v.range) - return R - }) - this.hooks.evaluate - .for('ArrayExpression') - .tap('JavascriptParser', (k) => { - const v = k - const E = v.elements.map( - (k) => - k !== null && - k.type !== 'SpreadElement' && - this.evaluateExpression(k) - ) - if (!E.every(Boolean)) return - return new ye().setItems(E).setRange(v.range) - }) - this.hooks.evaluate - .for('ChainExpression') - .tap('JavascriptParser', (k) => { - const v = k - const E = [] - let P = v.expression - while ( - P.type === 'MemberExpression' || - P.type === 'CallExpression' - ) { - if (P.type === 'MemberExpression') { - if (P.optional) { - E.push(P.object) - } - P = P.object - } else { - if (P.optional) { - E.push(P.callee) - } - P = P.callee - } - } - while (E.length > 0) { - const v = E.pop() - const P = this.evaluateExpression(v) - if (P.asNullish()) { - return P.setRange(k.range) - } - } - return this.evaluateExpression(v.expression) - }) - } - destructuringAssignmentPropertiesFor(k) { - if (!this.destructuringAssignmentProperties) return undefined - return this.destructuringAssignmentProperties.get(k) - } - getRenameIdentifier(k) { - const v = this.evaluateExpression(k) - if (v.isIdentifier()) { - return v.identifier - } - } - walkClass(k) { - if (k.superClass) { - if (!this.hooks.classExtendsExpression.call(k.superClass, k)) { - this.walkExpression(k.superClass) - } - } - if (k.body && k.body.type === 'ClassBody') { - const v = [] - if (k.id) { - v.push(k.id) - } - this.inClassScope(true, v, () => { - for (const v of k.body.body) { - if (!this.hooks.classBodyElement.call(v, k)) { - if (v.computed && v.key) { - this.walkExpression(v.key) - } - if (v.value) { - if (!this.hooks.classBodyValue.call(v.value, v, k)) { - const k = this.scope.topLevelScope - this.scope.topLevelScope = false - this.walkExpression(v.value) - this.scope.topLevelScope = k - } - } else if (v.type === 'StaticBlock') { - const k = this.scope.topLevelScope - this.scope.topLevelScope = false - this.walkBlockStatement(v) - this.scope.topLevelScope = k - } - } - } - }) - } - } - preWalkStatements(k) { - for (let v = 0, E = k.length; v < E; v++) { - const E = k[v] - this.preWalkStatement(E) - } - } - blockPreWalkStatements(k) { - for (let v = 0, E = k.length; v < E; v++) { - const E = k[v] - this.blockPreWalkStatement(E) - } - } - walkStatements(k) { - for (let v = 0, E = k.length; v < E; v++) { - const E = k[v] - this.walkStatement(E) - } - } - preWalkStatement(k) { - this.statementPath.push(k) - if (this.hooks.preStatement.call(k)) { - this.prevStatement = this.statementPath.pop() - return - } - switch (k.type) { - case 'BlockStatement': - this.preWalkBlockStatement(k) - break - case 'DoWhileStatement': - this.preWalkDoWhileStatement(k) - break - case 'ForInStatement': - this.preWalkForInStatement(k) - break - case 'ForOfStatement': - this.preWalkForOfStatement(k) - break - case 'ForStatement': - this.preWalkForStatement(k) - break - case 'FunctionDeclaration': - this.preWalkFunctionDeclaration(k) - break - case 'IfStatement': - this.preWalkIfStatement(k) - break - case 'LabeledStatement': - this.preWalkLabeledStatement(k) - break - case 'SwitchStatement': - this.preWalkSwitchStatement(k) - break - case 'TryStatement': - this.preWalkTryStatement(k) - break - case 'VariableDeclaration': - this.preWalkVariableDeclaration(k) - break - case 'WhileStatement': - this.preWalkWhileStatement(k) - break - case 'WithStatement': - this.preWalkWithStatement(k) - break - } - this.prevStatement = this.statementPath.pop() - } - blockPreWalkStatement(k) { - this.statementPath.push(k) - if (this.hooks.blockPreStatement.call(k)) { - this.prevStatement = this.statementPath.pop() - return - } - switch (k.type) { - case 'ImportDeclaration': - this.blockPreWalkImportDeclaration(k) - break - case 'ExportAllDeclaration': - this.blockPreWalkExportAllDeclaration(k) - break - case 'ExportDefaultDeclaration': - this.blockPreWalkExportDefaultDeclaration(k) - break - case 'ExportNamedDeclaration': - this.blockPreWalkExportNamedDeclaration(k) - break - case 'VariableDeclaration': - this.blockPreWalkVariableDeclaration(k) - break - case 'ClassDeclaration': - this.blockPreWalkClassDeclaration(k) - break - case 'ExpressionStatement': - this.blockPreWalkExpressionStatement(k) - } - this.prevStatement = this.statementPath.pop() - } - walkStatement(k) { - this.statementPath.push(k) - if (this.hooks.statement.call(k) !== undefined) { - this.prevStatement = this.statementPath.pop() - return - } - switch (k.type) { - case 'BlockStatement': - this.walkBlockStatement(k) - break - case 'ClassDeclaration': - this.walkClassDeclaration(k) - break - case 'DoWhileStatement': - this.walkDoWhileStatement(k) - break - case 'ExportDefaultDeclaration': - this.walkExportDefaultDeclaration(k) - break - case 'ExportNamedDeclaration': - this.walkExportNamedDeclaration(k) - break - case 'ExpressionStatement': - this.walkExpressionStatement(k) - break - case 'ForInStatement': - this.walkForInStatement(k) - break - case 'ForOfStatement': - this.walkForOfStatement(k) - break - case 'ForStatement': - this.walkForStatement(k) - break - case 'FunctionDeclaration': - this.walkFunctionDeclaration(k) - break - case 'IfStatement': - this.walkIfStatement(k) - break - case 'LabeledStatement': - this.walkLabeledStatement(k) - break - case 'ReturnStatement': - this.walkReturnStatement(k) - break - case 'SwitchStatement': - this.walkSwitchStatement(k) - break - case 'ThrowStatement': - this.walkThrowStatement(k) - break - case 'TryStatement': - this.walkTryStatement(k) - break - case 'VariableDeclaration': - this.walkVariableDeclaration(k) - break - case 'WhileStatement': - this.walkWhileStatement(k) - break - case 'WithStatement': - this.walkWithStatement(k) - break - } - this.prevStatement = this.statementPath.pop() - } - walkNestedStatement(k) { - this.prevStatement = undefined - this.walkStatement(k) - } - preWalkBlockStatement(k) { - this.preWalkStatements(k.body) - } - walkBlockStatement(k) { - this.inBlockScope(() => { - const v = k.body - const E = this.prevStatement - this.blockPreWalkStatements(v) - this.prevStatement = E - this.walkStatements(v) - }) - } - walkExpressionStatement(k) { - this.walkExpression(k.expression) - } - preWalkIfStatement(k) { - this.preWalkStatement(k.consequent) - if (k.alternate) { - this.preWalkStatement(k.alternate) - } - } - walkIfStatement(k) { - const v = this.hooks.statementIf.call(k) - if (v === undefined) { - this.walkExpression(k.test) - this.walkNestedStatement(k.consequent) - if (k.alternate) { - this.walkNestedStatement(k.alternate) - } - } else { - if (v) { - this.walkNestedStatement(k.consequent) - } else if (k.alternate) { - this.walkNestedStatement(k.alternate) - } - } - } - preWalkLabeledStatement(k) { - this.preWalkStatement(k.body) - } - walkLabeledStatement(k) { - const v = this.hooks.label.get(k.label.name) - if (v !== undefined) { - const E = v.call(k) - if (E === true) return - } - this.walkNestedStatement(k.body) - } - preWalkWithStatement(k) { - this.preWalkStatement(k.body) - } - walkWithStatement(k) { - this.walkExpression(k.object) - this.walkNestedStatement(k.body) - } - preWalkSwitchStatement(k) { - this.preWalkSwitchCases(k.cases) - } - walkSwitchStatement(k) { - this.walkExpression(k.discriminant) - this.walkSwitchCases(k.cases) - } - walkTerminatingStatement(k) { - if (k.argument) this.walkExpression(k.argument) - } - walkReturnStatement(k) { - this.walkTerminatingStatement(k) - } - walkThrowStatement(k) { - this.walkTerminatingStatement(k) - } - preWalkTryStatement(k) { - this.preWalkStatement(k.block) - if (k.handler) this.preWalkCatchClause(k.handler) - if (k.finalizer) this.preWalkStatement(k.finalizer) - } - walkTryStatement(k) { - if (this.scope.inTry) { - this.walkStatement(k.block) - } else { - this.scope.inTry = true - this.walkStatement(k.block) - this.scope.inTry = false - } - if (k.handler) this.walkCatchClause(k.handler) - if (k.finalizer) this.walkStatement(k.finalizer) - } - preWalkWhileStatement(k) { - this.preWalkStatement(k.body) - } - walkWhileStatement(k) { - this.walkExpression(k.test) - this.walkNestedStatement(k.body) - } - preWalkDoWhileStatement(k) { - this.preWalkStatement(k.body) - } - walkDoWhileStatement(k) { - this.walkNestedStatement(k.body) - this.walkExpression(k.test) - } - preWalkForStatement(k) { - if (k.init) { - if (k.init.type === 'VariableDeclaration') { - this.preWalkStatement(k.init) - } - } - this.preWalkStatement(k.body) - } - walkForStatement(k) { - this.inBlockScope(() => { - if (k.init) { - if (k.init.type === 'VariableDeclaration') { - this.blockPreWalkVariableDeclaration(k.init) - this.prevStatement = undefined - this.walkStatement(k.init) - } else { - this.walkExpression(k.init) - } - } - if (k.test) { - this.walkExpression(k.test) - } - if (k.update) { - this.walkExpression(k.update) - } - const v = k.body - if (v.type === 'BlockStatement') { - const k = this.prevStatement - this.blockPreWalkStatements(v.body) - this.prevStatement = k - this.walkStatements(v.body) - } else { - this.walkNestedStatement(v) - } - }) - } - preWalkForInStatement(k) { - if (k.left.type === 'VariableDeclaration') { - this.preWalkVariableDeclaration(k.left) - } - this.preWalkStatement(k.body) - } - walkForInStatement(k) { - this.inBlockScope(() => { - if (k.left.type === 'VariableDeclaration') { - this.blockPreWalkVariableDeclaration(k.left) - this.walkVariableDeclaration(k.left) - } else { - this.walkPattern(k.left) - } - this.walkExpression(k.right) - const v = k.body - if (v.type === 'BlockStatement') { - const k = this.prevStatement - this.blockPreWalkStatements(v.body) - this.prevStatement = k - this.walkStatements(v.body) - } else { - this.walkNestedStatement(v) - } - }) - } - preWalkForOfStatement(k) { - if (k.await && this.scope.topLevelScope === true) { - this.hooks.topLevelAwait.call(k) - } - if (k.left.type === 'VariableDeclaration') { - this.preWalkVariableDeclaration(k.left) - } - this.preWalkStatement(k.body) - } - walkForOfStatement(k) { - this.inBlockScope(() => { - if (k.left.type === 'VariableDeclaration') { - this.blockPreWalkVariableDeclaration(k.left) - this.walkVariableDeclaration(k.left) - } else { - this.walkPattern(k.left) - } - this.walkExpression(k.right) - const v = k.body - if (v.type === 'BlockStatement') { - const k = this.prevStatement - this.blockPreWalkStatements(v.body) - this.prevStatement = k - this.walkStatements(v.body) - } else { - this.walkNestedStatement(v) - } - }) - } - preWalkFunctionDeclaration(k) { - if (k.id) { - this.defineVariable(k.id.name) - } - } - walkFunctionDeclaration(k) { - const v = this.scope.topLevelScope - this.scope.topLevelScope = false - this.inFunctionScope(true, k.params, () => { - for (const v of k.params) { - this.walkPattern(v) - } - if (k.body.type === 'BlockStatement') { - this.detectMode(k.body.body) - const v = this.prevStatement - this.preWalkStatement(k.body) - this.prevStatement = v - this.walkStatement(k.body) - } else { - this.walkExpression(k.body) - } - }) - this.scope.topLevelScope = v - } - blockPreWalkExpressionStatement(k) { - const v = k.expression - switch (v.type) { - case 'AssignmentExpression': - this.preWalkAssignmentExpression(v) - } - } - preWalkAssignmentExpression(k) { - if ( - k.left.type !== 'ObjectPattern' || - !this.destructuringAssignmentProperties - ) - return - const v = this._preWalkObjectPattern(k.left) - if (!v) return - if (this.destructuringAssignmentProperties.has(k)) { - const E = this.destructuringAssignmentProperties.get(k) - this.destructuringAssignmentProperties.delete(k) - for (const k of E) v.add(k) - } - this.destructuringAssignmentProperties.set( - k.right.type === 'AwaitExpression' ? k.right.argument : k.right, - v - ) - if (k.right.type === 'AssignmentExpression') { - this.preWalkAssignmentExpression(k.right) - } - } - blockPreWalkImportDeclaration(k) { - const v = k.source.value - this.hooks.import.call(k, v) - for (const E of k.specifiers) { - const P = E.local.name - switch (E.type) { - case 'ImportDefaultSpecifier': - if (!this.hooks.importSpecifier.call(k, v, 'default', P)) { - this.defineVariable(P) - } - break - case 'ImportSpecifier': - if ( - !this.hooks.importSpecifier.call( - k, - v, - E.imported.name || E.imported.value, - P - ) - ) { - this.defineVariable(P) - } - break - case 'ImportNamespaceSpecifier': - if (!this.hooks.importSpecifier.call(k, v, null, P)) { - this.defineVariable(P) - } - break - default: - this.defineVariable(P) - } - } - } - enterDeclaration(k, v) { - switch (k.type) { - case 'VariableDeclaration': - for (const E of k.declarations) { - switch (E.type) { - case 'VariableDeclarator': { - this.enterPattern(E.id, v) - break - } - } - } - break - case 'FunctionDeclaration': - this.enterPattern(k.id, v) - break - case 'ClassDeclaration': - this.enterPattern(k.id, v) - break - } - } - blockPreWalkExportNamedDeclaration(k) { - let v - if (k.source) { - v = k.source.value - this.hooks.exportImport.call(k, v) - } else { - this.hooks.export.call(k) - } - if (k.declaration) { - if (!this.hooks.exportDeclaration.call(k, k.declaration)) { - const v = this.prevStatement - this.preWalkStatement(k.declaration) - this.prevStatement = v - this.blockPreWalkStatement(k.declaration) - let E = 0 - this.enterDeclaration(k.declaration, (v) => { - this.hooks.exportSpecifier.call(k, v, v, E++) - }) - } - } - if (k.specifiers) { - for (let E = 0; E < k.specifiers.length; E++) { - const P = k.specifiers[E] - switch (P.type) { - case 'ExportSpecifier': { - const R = P.exported.name || P.exported.value - if (v) { - this.hooks.exportImportSpecifier.call( - k, - v, - P.local.name, - R, - E - ) - } else { - this.hooks.exportSpecifier.call(k, P.local.name, R, E) - } - break - } - } - } - } - } - walkExportNamedDeclaration(k) { - if (k.declaration) { - this.walkStatement(k.declaration) - } - } - blockPreWalkExportDefaultDeclaration(k) { - const v = this.prevStatement - this.preWalkStatement(k.declaration) - this.prevStatement = v - this.blockPreWalkStatement(k.declaration) - if ( - k.declaration.id && - k.declaration.type !== 'FunctionExpression' && - k.declaration.type !== 'ClassExpression' - ) { - this.hooks.exportSpecifier.call( - k, - k.declaration.id.name, - 'default', - undefined - ) - } - } - walkExportDefaultDeclaration(k) { - this.hooks.export.call(k) - if ( - k.declaration.id && - k.declaration.type !== 'FunctionExpression' && - k.declaration.type !== 'ClassExpression' - ) { - if (!this.hooks.exportDeclaration.call(k, k.declaration)) { - this.walkStatement(k.declaration) - } - } else { - if ( - k.declaration.type === 'FunctionDeclaration' || - k.declaration.type === 'ClassDeclaration' - ) { - this.walkStatement(k.declaration) - } else { - this.walkExpression(k.declaration) - } - if (!this.hooks.exportExpression.call(k, k.declaration)) { - this.hooks.exportSpecifier.call( - k, - k.declaration, - 'default', - undefined - ) - } - } - } - blockPreWalkExportAllDeclaration(k) { - const v = k.source.value - const E = k.exported ? k.exported.name : null - this.hooks.exportImport.call(k, v) - this.hooks.exportImportSpecifier.call(k, v, null, E, 0) - } - preWalkVariableDeclaration(k) { - if (k.kind !== 'var') return - this._preWalkVariableDeclaration(k, this.hooks.varDeclarationVar) - } - blockPreWalkVariableDeclaration(k) { - if (k.kind === 'var') return - const v = - k.kind === 'const' - ? this.hooks.varDeclarationConst - : this.hooks.varDeclarationLet - this._preWalkVariableDeclaration(k, v) - } - _preWalkVariableDeclaration(k, v) { - for (const E of k.declarations) { - switch (E.type) { - case 'VariableDeclarator': { - this.preWalkVariableDeclarator(E) - if (!this.hooks.preDeclarator.call(E, k)) { - this.enterPattern(E.id, (k, E) => { - let P = v.get(k) - if (P === undefined || !P.call(E)) { - P = this.hooks.varDeclaration.get(k) - if (P === undefined || !P.call(E)) { - this.defineVariable(k) - } - } - }) - } - break - } - } - } - } - _preWalkObjectPattern(k) { - const v = new Set() - const E = k.properties - for (let k = 0; k < E.length; k++) { - const P = E[k] - if (P.type !== 'Property') return - const R = P.key - if (R.type === 'Identifier') { - v.add(R.name) - } else { - const k = this.evaluateExpression(R) - const E = k.asString() - if (E) { - v.add(E) - } else { - return - } - } - } - return v - } - preWalkVariableDeclarator(k) { - if ( - !k.init || - k.id.type !== 'ObjectPattern' || - !this.destructuringAssignmentProperties - ) - return - const v = this._preWalkObjectPattern(k.id) - if (!v) return - this.destructuringAssignmentProperties.set( - k.init.type === 'AwaitExpression' ? k.init.argument : k.init, - v - ) - if (k.init.type === 'AssignmentExpression') { - this.preWalkAssignmentExpression(k.init) - } - } - walkVariableDeclaration(k) { - for (const v of k.declarations) { - switch (v.type) { - case 'VariableDeclarator': { - const E = v.init && this.getRenameIdentifier(v.init) - if (E && v.id.type === 'Identifier') { - const k = this.hooks.canRename.get(E) - if (k !== undefined && k.call(v.init)) { - const k = this.hooks.rename.get(E) - if (k === undefined || !k.call(v.init)) { - this.setVariable(v.id.name, E) - } - break - } - } - if (!this.hooks.declarator.call(v, k)) { - this.walkPattern(v.id) - if (v.init) this.walkExpression(v.init) - } - break - } - } - } - } - blockPreWalkClassDeclaration(k) { - if (k.id) { - this.defineVariable(k.id.name) - } - } - walkClassDeclaration(k) { - this.walkClass(k) - } - preWalkSwitchCases(k) { - for (let v = 0, E = k.length; v < E; v++) { - const E = k[v] - this.preWalkStatements(E.consequent) - } - } - walkSwitchCases(k) { - this.inBlockScope(() => { - const v = k.length - for (let E = 0; E < v; E++) { - const v = k[E] - if (v.consequent.length > 0) { - const k = this.prevStatement - this.blockPreWalkStatements(v.consequent) - this.prevStatement = k - } - } - for (let E = 0; E < v; E++) { - const v = k[E] - if (v.test) { - this.walkExpression(v.test) - } - if (v.consequent.length > 0) { - this.walkStatements(v.consequent) - } - } - }) - } - preWalkCatchClause(k) { - this.preWalkStatement(k.body) - } - walkCatchClause(k) { - this.inBlockScope(() => { - if (k.param !== null) { - this.enterPattern(k.param, (k) => { - this.defineVariable(k) - }) - this.walkPattern(k.param) - } - const v = this.prevStatement - this.blockPreWalkStatement(k.body) - this.prevStatement = v - this.walkStatement(k.body) - }) - } - walkPattern(k) { - switch (k.type) { - case 'ArrayPattern': - this.walkArrayPattern(k) - break - case 'AssignmentPattern': - this.walkAssignmentPattern(k) - break - case 'MemberExpression': - this.walkMemberExpression(k) - break - case 'ObjectPattern': - this.walkObjectPattern(k) - break - case 'RestElement': - this.walkRestElement(k) - break - } - } - walkAssignmentPattern(k) { - this.walkExpression(k.right) - this.walkPattern(k.left) - } - walkObjectPattern(k) { - for (let v = 0, E = k.properties.length; v < E; v++) { - const E = k.properties[v] - if (E) { - if (E.computed) this.walkExpression(E.key) - if (E.value) this.walkPattern(E.value) - } - } - } - walkArrayPattern(k) { - for (let v = 0, E = k.elements.length; v < E; v++) { - const E = k.elements[v] - if (E) this.walkPattern(E) - } - } - walkRestElement(k) { - this.walkPattern(k.argument) - } - walkExpressions(k) { - for (const v of k) { - if (v) { - this.walkExpression(v) - } - } - } - walkExpression(k) { - switch (k.type) { - case 'ArrayExpression': - this.walkArrayExpression(k) - break - case 'ArrowFunctionExpression': - this.walkArrowFunctionExpression(k) - break - case 'AssignmentExpression': - this.walkAssignmentExpression(k) - break - case 'AwaitExpression': - this.walkAwaitExpression(k) - break - case 'BinaryExpression': - this.walkBinaryExpression(k) - break - case 'CallExpression': - this.walkCallExpression(k) - break - case 'ChainExpression': - this.walkChainExpression(k) - break - case 'ClassExpression': - this.walkClassExpression(k) - break - case 'ConditionalExpression': - this.walkConditionalExpression(k) - break - case 'FunctionExpression': - this.walkFunctionExpression(k) - break - case 'Identifier': - this.walkIdentifier(k) - break - case 'ImportExpression': - this.walkImportExpression(k) - break - case 'LogicalExpression': - this.walkLogicalExpression(k) - break - case 'MetaProperty': - this.walkMetaProperty(k) - break - case 'MemberExpression': - this.walkMemberExpression(k) - break - case 'NewExpression': - this.walkNewExpression(k) - break - case 'ObjectExpression': - this.walkObjectExpression(k) - break - case 'SequenceExpression': - this.walkSequenceExpression(k) - break - case 'SpreadElement': - this.walkSpreadElement(k) - break - case 'TaggedTemplateExpression': - this.walkTaggedTemplateExpression(k) - break - case 'TemplateLiteral': - this.walkTemplateLiteral(k) - break - case 'ThisExpression': - this.walkThisExpression(k) - break - case 'UnaryExpression': - this.walkUnaryExpression(k) - break - case 'UpdateExpression': - this.walkUpdateExpression(k) - break - case 'YieldExpression': - this.walkYieldExpression(k) - break - } - } - walkAwaitExpression(k) { - if (this.scope.topLevelScope === true) - this.hooks.topLevelAwait.call(k) - this.walkExpression(k.argument) - } - walkArrayExpression(k) { - if (k.elements) { - this.walkExpressions(k.elements) - } - } - walkSpreadElement(k) { - if (k.argument) { - this.walkExpression(k.argument) - } - } - walkObjectExpression(k) { - for (let v = 0, E = k.properties.length; v < E; v++) { - const E = k.properties[v] - this.walkProperty(E) - } - } - walkProperty(k) { - if (k.type === 'SpreadElement') { - this.walkExpression(k.argument) - return - } - if (k.computed) { - this.walkExpression(k.key) - } - if (k.shorthand && k.value && k.value.type === 'Identifier') { - this.scope.inShorthand = k.value.name - this.walkIdentifier(k.value) - this.scope.inShorthand = false - } else { - this.walkExpression(k.value) - } - } - walkFunctionExpression(k) { - const v = this.scope.topLevelScope - this.scope.topLevelScope = false - const E = [...k.params] - if (k.id) { - E.push(k.id) - } - this.inFunctionScope(true, E, () => { - for (const v of k.params) { - this.walkPattern(v) - } - if (k.body.type === 'BlockStatement') { - this.detectMode(k.body.body) - const v = this.prevStatement - this.preWalkStatement(k.body) - this.prevStatement = v - this.walkStatement(k.body) - } else { - this.walkExpression(k.body) - } - }) - this.scope.topLevelScope = v - } - walkArrowFunctionExpression(k) { - const v = this.scope.topLevelScope - this.scope.topLevelScope = v ? 'arrow' : false - this.inFunctionScope(false, k.params, () => { - for (const v of k.params) { - this.walkPattern(v) - } - if (k.body.type === 'BlockStatement') { - this.detectMode(k.body.body) - const v = this.prevStatement - this.preWalkStatement(k.body) - this.prevStatement = v - this.walkStatement(k.body) - } else { - this.walkExpression(k.body) - } - }) - this.scope.topLevelScope = v - } - walkSequenceExpression(k) { - if (!k.expressions) return - const v = this.statementPath[this.statementPath.length - 1] - if ( - v === k || - (v.type === 'ExpressionStatement' && v.expression === k) - ) { - const v = this.statementPath.pop() - for (const v of k.expressions) { - this.statementPath.push(v) - this.walkExpression(v) - this.statementPath.pop() - } - this.statementPath.push(v) - } else { - this.walkExpressions(k.expressions) - } - } - walkUpdateExpression(k) { - this.walkExpression(k.argument) - } - walkUnaryExpression(k) { - if (k.operator === 'typeof') { - const v = this.callHooksForExpression( - this.hooks.typeof, - k.argument, - k - ) - if (v === true) return - if (k.argument.type === 'ChainExpression') { - const v = this.callHooksForExpression( - this.hooks.typeof, - k.argument.expression, - k - ) - if (v === true) return - } - } - this.walkExpression(k.argument) - } - walkLeftRightExpression(k) { - this.walkExpression(k.left) - this.walkExpression(k.right) - } - walkBinaryExpression(k) { - if (this.hooks.binaryExpression.call(k) === undefined) { - this.walkLeftRightExpression(k) - } - } - walkLogicalExpression(k) { - const v = this.hooks.expressionLogicalOperator.call(k) - if (v === undefined) { - this.walkLeftRightExpression(k) - } else { - if (v) { - this.walkExpression(k.right) - } - } - } - walkAssignmentExpression(k) { - if (k.left.type === 'Identifier') { - const v = this.getRenameIdentifier(k.right) - if (v) { - if (this.callHooksForInfo(this.hooks.canRename, v, k.right)) { - if (!this.callHooksForInfo(this.hooks.rename, v, k.right)) { - this.setVariable( - k.left.name, - typeof v === 'string' ? this.getVariableInfo(v) : v - ) - } - return - } - } - this.walkExpression(k.right) - this.enterPattern(k.left, (v, E) => { - if (!this.callHooksForName(this.hooks.assign, v, k)) { - this.walkExpression(k.left) - } - }) - return - } - if (k.left.type.endsWith('Pattern')) { - this.walkExpression(k.right) - this.enterPattern(k.left, (v, E) => { - if (!this.callHooksForName(this.hooks.assign, v, k)) { - this.defineVariable(v) - } - }) - this.walkPattern(k.left) - } else if (k.left.type === 'MemberExpression') { - const v = this.getMemberExpressionInfo(k.left, Me) - if (v) { - if ( - this.callHooksForInfo( - this.hooks.assignMemberChain, - v.rootInfo, - k, - v.getMembers() - ) - ) { - return - } - } - this.walkExpression(k.right) - this.walkExpression(k.left) - } else { - this.walkExpression(k.right) - this.walkExpression(k.left) - } - } - walkConditionalExpression(k) { - const v = this.hooks.expressionConditionalOperator.call(k) - if (v === undefined) { - this.walkExpression(k.test) - this.walkExpression(k.consequent) - if (k.alternate) { - this.walkExpression(k.alternate) - } - } else { - if (v) { - this.walkExpression(k.consequent) - } else if (k.alternate) { - this.walkExpression(k.alternate) - } - } - } - walkNewExpression(k) { - const v = this.callHooksForExpression(this.hooks.new, k.callee, k) - if (v === true) return - this.walkExpression(k.callee) - if (k.arguments) { - this.walkExpressions(k.arguments) - } - } - walkYieldExpression(k) { - if (k.argument) { - this.walkExpression(k.argument) - } - } - walkTemplateLiteral(k) { - if (k.expressions) { - this.walkExpressions(k.expressions) - } - } - walkTaggedTemplateExpression(k) { - if (k.tag) { - this.walkExpression(k.tag) - } - if (k.quasi && k.quasi.expressions) { - this.walkExpressions(k.quasi.expressions) - } - } - walkClassExpression(k) { - this.walkClass(k) - } - walkChainExpression(k) { - const v = this.hooks.optionalChaining.call(k) - if (v === undefined) { - if (k.expression.type === 'CallExpression') { - this.walkCallExpression(k.expression) - } else { - this.walkMemberExpression(k.expression) - } - } - } - _walkIIFE(k, v, E) { - const getVarInfo = (k) => { - const v = this.getRenameIdentifier(k) - if (v) { - if (this.callHooksForInfo(this.hooks.canRename, v, k)) { - if (!this.callHooksForInfo(this.hooks.rename, v, k)) { - return typeof v === 'string' ? this.getVariableInfo(v) : v - } - } - } - this.walkExpression(k) - } - const { params: P, type: R } = k - const L = R === 'ArrowFunctionExpression' - const N = E ? getVarInfo(E) : null - const q = v.map(getVarInfo) - const ae = this.scope.topLevelScope - this.scope.topLevelScope = ae && L ? 'arrow' : false - const le = P.filter((k, v) => !q[v]) - if (k.id) { - le.push(k.id.name) - } - this.inFunctionScope(true, le, () => { - if (N && !L) { - this.setVariable('this', N) - } - for (let k = 0; k < q.length; k++) { - const v = q[k] - if (!v) continue - if (!P[k] || P[k].type !== 'Identifier') continue - this.setVariable(P[k].name, v) - } - if (k.body.type === 'BlockStatement') { - this.detectMode(k.body.body) - const v = this.prevStatement - this.preWalkStatement(k.body) - this.prevStatement = v - this.walkStatement(k.body) - } else { - this.walkExpression(k.body) - } - }) - this.scope.topLevelScope = ae - } - walkImportExpression(k) { - let v = this.hooks.importCall.call(k) - if (v === true) return - this.walkExpression(k.source) - } - walkCallExpression(k) { - const isSimpleFunction = (k) => - k.params.every((k) => k.type === 'Identifier') - if ( - k.callee.type === 'MemberExpression' && - k.callee.object.type.endsWith('FunctionExpression') && - !k.callee.computed && - (k.callee.property.name === 'call' || - k.callee.property.name === 'bind') && - k.arguments.length > 0 && - isSimpleFunction(k.callee.object) - ) { - this._walkIIFE( - k.callee.object, - k.arguments.slice(1), - k.arguments[0] - ) - } else if ( - k.callee.type.endsWith('FunctionExpression') && - isSimpleFunction(k.callee) - ) { - this._walkIIFE(k.callee, k.arguments, null) - } else { - if (k.callee.type === 'MemberExpression') { - const v = this.getMemberExpressionInfo(k.callee, Ie) - if (v && v.type === 'call') { - const E = this.callHooksForInfo( - this.hooks.callMemberChainOfCallMemberChain, - v.rootInfo, - k, - v.getCalleeMembers(), - v.call, - v.getMembers() - ) - if (E === true) return - } - } - const v = this.evaluateExpression(k.callee) - if (v.isIdentifier()) { - const E = this.callHooksForInfo( - this.hooks.callMemberChain, - v.rootInfo, - k, - v.getMembers(), - v.getMembersOptionals - ? v.getMembersOptionals() - : v.getMembers().map(() => false), - v.getMemberRanges ? v.getMemberRanges() : [] - ) - if (E === true) return - const P = this.callHooksForInfo(this.hooks.call, v.identifier, k) - if (P === true) return - } - if (k.callee) { - if (k.callee.type === 'MemberExpression') { - this.walkExpression(k.callee.object) - if (k.callee.computed === true) - this.walkExpression(k.callee.property) - } else { - this.walkExpression(k.callee) - } - } - if (k.arguments) this.walkExpressions(k.arguments) - } - } - walkMemberExpression(k) { - const v = this.getMemberExpressionInfo(k, Te) - if (v) { - switch (v.type) { - case 'expression': { - const E = this.callHooksForInfo( - this.hooks.expression, - v.name, - k - ) - if (E === true) return - const P = v.getMembers() - const R = v.getMembersOptionals() - const L = v.getMemberRanges() - const N = this.callHooksForInfo( - this.hooks.expressionMemberChain, - v.rootInfo, - k, - P, - R, - L - ) - if (N === true) return - this.walkMemberExpressionWithExpressionName( - k, - v.name, - v.rootInfo, - P.slice(), - () => - this.callHooksForInfo( - this.hooks.unhandledExpressionMemberChain, - v.rootInfo, - k, - P - ) - ) - return - } - case 'call': { - const E = this.callHooksForInfo( - this.hooks.memberChainOfCallMemberChain, - v.rootInfo, - k, - v.getCalleeMembers(), - v.call, - v.getMembers() - ) - if (E === true) return - this.walkExpression(v.call) - return - } - } - } - this.walkExpression(k.object) - if (k.computed === true) this.walkExpression(k.property) - } - walkMemberExpressionWithExpressionName(k, v, E, P, R) { - if (k.object.type === 'MemberExpression') { - const L = k.property.name || `${k.property.value}` - v = v.slice(0, -L.length - 1) - P.pop() - const N = this.callHooksForInfo(this.hooks.expression, v, k.object) - if (N === true) return - this.walkMemberExpressionWithExpressionName(k.object, v, E, P, R) - } else if (!R || !R()) { - this.walkExpression(k.object) - } - if (k.computed === true) this.walkExpression(k.property) - } - walkThisExpression(k) { - this.callHooksForName(this.hooks.expression, 'this', k) - } - walkIdentifier(k) { - this.callHooksForName(this.hooks.expression, k.name, k) - } - walkMetaProperty(k) { - this.hooks.expression.for(getRootName(k)).call(k) - } - callHooksForExpression(k, v, ...E) { - return this.callHooksForExpressionWithFallback( - k, - v, - undefined, - undefined, - ...E - ) - } - callHooksForExpressionWithFallback(k, v, E, P, ...R) { - const L = this.getMemberExpressionInfo(v, Me) - if (L !== undefined) { - const v = L.getMembers() - return this.callHooksForInfoWithFallback( - k, - v.length === 0 ? L.rootInfo : L.name, - E && ((k) => E(k, L.rootInfo, L.getMembers)), - P && (() => P(L.name)), - ...R - ) - } - } - callHooksForName(k, v, ...E) { - return this.callHooksForNameWithFallback( - k, - v, - undefined, - undefined, - ...E - ) - } - callHooksForInfo(k, v, ...E) { - return this.callHooksForInfoWithFallback( - k, - v, - undefined, - undefined, - ...E - ) - } - callHooksForInfoWithFallback(k, v, E, P, ...R) { - let L - if (typeof v === 'string') { - L = v - } else { - if (!(v instanceof VariableInfo)) { - if (P !== undefined) { - return P() - } - return - } - let E = v.tagInfo - while (E !== undefined) { - const v = k.get(E.tag) - if (v !== undefined) { - this.currentTagData = E.data - const k = v.call(...R) - this.currentTagData = undefined - if (k !== undefined) return k - } - E = E.next - } - if (v.freeName === true) { - if (P !== undefined) { - return P() - } - return - } - L = v.freeName - } - const N = k.get(L) - if (N !== undefined) { - const k = N.call(...R) - if (k !== undefined) return k - } - if (E !== undefined) { - return E(L) - } - } - callHooksForNameWithFallback(k, v, E, P, ...R) { - return this.callHooksForInfoWithFallback( - k, - this.getVariableInfo(v), - E, - P, - ...R - ) - } - inScope(k, v) { - const E = this.scope - this.scope = { - topLevelScope: E.topLevelScope, - inTry: false, - inShorthand: false, - isStrict: E.isStrict, - isAsmJs: E.isAsmJs, - definitions: E.definitions.createChild(), - } - this.undefineVariable('this') - this.enterPatterns(k, (k, v) => { - this.defineVariable(k) - }) - v() - this.scope = E - } - inClassScope(k, v, E) { - const P = this.scope - this.scope = { - topLevelScope: P.topLevelScope, - inTry: false, - inShorthand: false, - isStrict: P.isStrict, - isAsmJs: P.isAsmJs, - definitions: P.definitions.createChild(), - } - if (k) { - this.undefineVariable('this') - } - this.enterPatterns(v, (k, v) => { - this.defineVariable(k) - }) - E() - this.scope = P - } - inFunctionScope(k, v, E) { - const P = this.scope - this.scope = { - topLevelScope: P.topLevelScope, - inTry: false, - inShorthand: false, - isStrict: P.isStrict, - isAsmJs: P.isAsmJs, - definitions: P.definitions.createChild(), - } - if (k) { - this.undefineVariable('this') - } - this.enterPatterns(v, (k, v) => { - this.defineVariable(k) - }) - E() - this.scope = P - } - inBlockScope(k) { - const v = this.scope - this.scope = { - topLevelScope: v.topLevelScope, - inTry: v.inTry, - inShorthand: false, - isStrict: v.isStrict, - isAsmJs: v.isAsmJs, - definitions: v.definitions.createChild(), - } - k() - this.scope = v - } - detectMode(k) { - const v = - k.length >= 1 && - k[0].type === 'ExpressionStatement' && - k[0].expression.type === 'Literal' - if (v && k[0].expression.value === 'use strict') { - this.scope.isStrict = true - } - if (v && k[0].expression.value === 'use asm') { - this.scope.isAsmJs = true - } - } - enterPatterns(k, v) { - for (const E of k) { - if (typeof E !== 'string') { - this.enterPattern(E, v) - } else if (E) { - v(E) - } - } - } - enterPattern(k, v) { - if (!k) return - switch (k.type) { - case 'ArrayPattern': - this.enterArrayPattern(k, v) - break - case 'AssignmentPattern': - this.enterAssignmentPattern(k, v) - break - case 'Identifier': - this.enterIdentifier(k, v) - break - case 'ObjectPattern': - this.enterObjectPattern(k, v) - break - case 'RestElement': - this.enterRestElement(k, v) - break - case 'Property': - if (k.shorthand && k.value.type === 'Identifier') { - this.scope.inShorthand = k.value.name - this.enterIdentifier(k.value, v) - this.scope.inShorthand = false - } else { - this.enterPattern(k.value, v) - } - break - } - } - enterIdentifier(k, v) { - if (!this.callHooksForName(this.hooks.pattern, k.name, k)) { - v(k.name, k) - } - } - enterObjectPattern(k, v) { - for (let E = 0, P = k.properties.length; E < P; E++) { - const P = k.properties[E] - this.enterPattern(P, v) - } - } - enterArrayPattern(k, v) { - for (let E = 0, P = k.elements.length; E < P; E++) { - const P = k.elements[E] - this.enterPattern(P, v) - } - } - enterRestElement(k, v) { - this.enterPattern(k.argument, v) - } - enterAssignmentPattern(k, v) { - this.enterPattern(k.left, v) - } - evaluateExpression(k) { - try { - const v = this.hooks.evaluate.get(k.type) - if (v !== undefined) { - const E = v.call(k) - if (E !== undefined && E !== null) { - E.setExpression(k) - return E - } - } - } catch (k) { - console.warn(k) - } - return new ye().setRange(k.range).setExpression(k) - } - parseString(k) { - switch (k.type) { - case 'BinaryExpression': - if (k.operator === '+') { - return this.parseString(k.left) + this.parseString(k.right) - } - break - case 'Literal': - return k.value + '' - } - throw new Error(k.type + ' is not supported as parameter for require') - } - parseCalculatedString(k) { - switch (k.type) { - case 'BinaryExpression': - if (k.operator === '+') { - const v = this.parseCalculatedString(k.left) - const E = this.parseCalculatedString(k.right) - if (v.code) { - return { - range: v.range, - value: v.value, - code: true, - conditional: false, - } - } else if (E.code) { - return { - range: [v.range[0], E.range ? E.range[1] : v.range[1]], - value: v.value + E.value, - code: true, - conditional: false, - } - } else { - return { - range: [v.range[0], E.range[1]], - value: v.value + E.value, - code: false, - conditional: false, - } - } - } - break - case 'ConditionalExpression': { - const v = this.parseCalculatedString(k.consequent) - const E = this.parseCalculatedString(k.alternate) - const P = [] - if (v.conditional) { - P.push(...v.conditional) - } else if (!v.code) { - P.push(v) - } else { - break - } - if (E.conditional) { - P.push(...E.conditional) - } else if (!E.code) { - P.push(E) - } else { - break - } - return { range: undefined, value: '', code: true, conditional: P } - } - case 'Literal': - return { - range: k.range, - value: k.value + '', - code: false, - conditional: false, - } - } - return { range: undefined, value: '', code: true, conditional: false } - } - parse(k, v) { - let E - let P - const R = new Set() - if (k === null) { - throw new Error('source must not be null') - } - if (Buffer.isBuffer(k)) { - k = k.toString('utf-8') - } - if (typeof k === 'object') { - E = k - P = k.comments - } else { - P = [] - E = JavascriptParser._parse(k, { - sourceType: this.sourceType, - onComment: P, - onInsertedSemicolon: (k) => R.add(k), - }) - } - const L = this.scope - const N = this.state - const q = this.comments - const ae = this.semicolons - const pe = this.statementPath - const me = this.prevStatement - this.scope = { - topLevelScope: true, - inTry: false, - inShorthand: false, - isStrict: false, - isAsmJs: false, - definitions: new le(), - } - this.state = v - this.comments = P - this.semicolons = R - this.statementPath = [] - this.prevStatement = undefined - if (this.hooks.program.call(E, P) === undefined) { - this.destructuringAssignmentProperties = new WeakMap() - this.detectMode(E.body) - this.preWalkStatements(E.body) - this.prevStatement = undefined - this.blockPreWalkStatements(E.body) - this.prevStatement = undefined - this.walkStatements(E.body) - this.destructuringAssignmentProperties = undefined - } - this.hooks.finish.call(E, P) - this.scope = L - this.state = N - this.comments = q - this.semicolons = ae - this.statementPath = pe - this.prevStatement = me - return v - } - evaluate(k) { - const v = JavascriptParser._parse('(' + k + ')', { - sourceType: this.sourceType, - locations: false, - }) - if (v.body.length !== 1 || v.body[0].type !== 'ExpressionStatement') { - throw new Error('evaluate: Source is not a expression') - } - return this.evaluateExpression(v.body[0].expression) - } - isPure(k, v) { - if (!k) return true - const E = this.hooks.isPure.for(k.type).call(k, v) - if (typeof E === 'boolean') return E - switch (k.type) { - case 'ClassDeclaration': - case 'ClassExpression': { - if (k.body.type !== 'ClassBody') return false - if (k.superClass && !this.isPure(k.superClass, k.range[0])) { - return false - } - const v = k.body.body - return v.every((k) => { - if (k.computed && k.key && !this.isPure(k.key, k.range[0])) { - return false - } - if ( - k.static && - k.value && - !this.isPure(k.value, k.key ? k.key.range[1] : k.range[0]) - ) { - return false - } - if (k.type === 'StaticBlock') { - return false - } - return true - }) - } - case 'FunctionDeclaration': - case 'FunctionExpression': - case 'ArrowFunctionExpression': - case 'ThisExpression': - case 'Literal': - case 'TemplateLiteral': - case 'Identifier': - case 'PrivateIdentifier': - return true - case 'VariableDeclaration': - return k.declarations.every((k) => - this.isPure(k.init, k.range[0]) - ) - case 'ConditionalExpression': - return ( - this.isPure(k.test, v) && - this.isPure(k.consequent, k.test.range[1]) && - this.isPure(k.alternate, k.consequent.range[1]) - ) - case 'LogicalExpression': - return ( - this.isPure(k.left, v) && this.isPure(k.right, k.left.range[1]) - ) - case 'SequenceExpression': - return k.expressions.every((k) => { - const E = this.isPure(k, v) - v = k.range[1] - return E - }) - case 'CallExpression': { - const E = - k.range[0] - v > 12 && - this.getComments([v, k.range[0]]).some( - (k) => - k.type === 'Block' && /^\s*(#|@)__PURE__\s*$/.test(k.value) - ) - if (!E) return false - v = k.callee.range[1] - return k.arguments.every((k) => { - if (k.type === 'SpreadElement') return false - const E = this.isPure(k, v) - v = k.range[1] - return E - }) - } - } - const P = this.evaluateExpression(k) - return !P.couldHaveSideEffects() - } - getComments(k) { - const [v, E] = k - const compare = (k, v) => k.range[0] - v - let P = pe.ge(this.comments, v, compare) - let R = [] - while (this.comments[P] && this.comments[P].range[1] <= E) { - R.push(this.comments[P]) - P++ - } - return R - } - isAsiPosition(k) { - const v = this.statementPath[this.statementPath.length - 1] - if (v === undefined) throw new Error('Not in statement') - return ( - (v.range[1] === k && this.semicolons.has(k)) || - (v.range[0] === k && - this.prevStatement !== undefined && - this.semicolons.has(this.prevStatement.range[1])) - ) - } - unsetAsiPosition(k) { - this.semicolons.delete(k) - } - isStatementLevelExpression(k) { - const v = this.statementPath[this.statementPath.length - 1] - return ( - k === v || (v.type === 'ExpressionStatement' && v.expression === k) - ) - } - getTagData(k, v) { - const E = this.scope.definitions.get(k) - if (E instanceof VariableInfo) { - let k = E.tagInfo - while (k !== undefined) { - if (k.tag === v) return k.data - k = k.next - } - } - } - tagVariable(k, v, E) { - const P = this.scope.definitions.get(k) - let R - if (P === undefined) { - R = new VariableInfo(this.scope, k, { - tag: v, - data: E, - next: undefined, - }) - } else if (P instanceof VariableInfo) { - R = new VariableInfo(P.declaredScope, P.freeName, { - tag: v, - data: E, - next: P.tagInfo, - }) - } else { - R = new VariableInfo(P, true, { tag: v, data: E, next: undefined }) - } - this.scope.definitions.set(k, R) - } - defineVariable(k) { - const v = this.scope.definitions.get(k) - if (v instanceof VariableInfo && v.declaredScope === this.scope) - return - this.scope.definitions.set(k, this.scope) - } - undefineVariable(k) { - this.scope.definitions.delete(k) - } - isVariableDefined(k) { - const v = this.scope.definitions.get(k) - if (v === undefined) return false - if (v instanceof VariableInfo) { - return v.freeName === true - } - return true - } - getVariableInfo(k) { - const v = this.scope.definitions.get(k) - if (v === undefined) { - return k - } else { - return v - } - } - setVariable(k, v) { - if (typeof v === 'string') { - if (v === k) { - this.scope.definitions.delete(k) - } else { - this.scope.definitions.set( - k, - new VariableInfo(this.scope, v, undefined) - ) - } - } else { - this.scope.definitions.set(k, v) - } - } - evaluatedVariable(k) { - return new VariableInfo(this.scope, undefined, k) - } - parseCommentOptions(k) { - const v = this.getComments(k) - if (v.length === 0) { - return qe - } - let E = {} - let P = [] - for (const k of v) { - const { value: v } = k - if (v && Be.test(v)) { - try { - for (let [k, P] of Object.entries( - q.runInNewContext(`(function(){return {${v}};})()`) - )) { - if (typeof P === 'object' && P !== null) { - if (P.constructor.name === 'RegExp') P = new RegExp(P) - else P = JSON.parse(JSON.stringify(P)) - } - E[k] = P - } - } catch (v) { - const E = new Error(String(v.message)) - E.stack = String(v.stack) - Object.assign(E, { comment: k }) - P.push(E) - } - } - } - return { options: E, errors: P } - } - extractMemberExpressionChain(k) { - let v = k - const E = [] - const P = [] - const R = [] - while (v.type === 'MemberExpression') { - if (v.computed) { - if (v.property.type !== 'Literal') break - E.push(`${v.property.value}`) - R.push(v.object.range) - } else { - if (v.property.type !== 'Identifier') break - E.push(v.property.name) - R.push(v.object.range) - } - P.push(v.optional) - v = v.object - } - return { members: E, membersOptionals: P, memberRanges: R, object: v } - } - getFreeInfoFromVariable(k) { - const v = this.getVariableInfo(k) - let E - if (v instanceof VariableInfo) { - E = v.freeName - if (typeof E !== 'string') return undefined - } else if (typeof v !== 'string') { - return undefined - } else { - E = v - } - return { info: v, name: E } - } - getMemberExpressionInfo(k, v) { - const { - object: E, - members: P, - membersOptionals: R, - memberRanges: L, - } = this.extractMemberExpressionChain(k) - switch (E.type) { - case 'CallExpression': { - if ((v & Ie) === 0) return undefined - let k = E.callee - let N = _e - if (k.type === 'MemberExpression') { - ;({ object: k, members: N } = - this.extractMemberExpressionChain(k)) - } - const q = getRootName(k) - if (!q) return undefined - const ae = this.getFreeInfoFromVariable(q) - if (!ae) return undefined - const { info: le, name: pe } = ae - const ye = objectAndMembersToName(pe, N) - return { - type: 'call', - call: E, - calleeName: ye, - rootInfo: le, - getCalleeMembers: me(() => N.reverse()), - name: objectAndMembersToName(`${ye}()`, P), - getMembers: me(() => P.reverse()), - getMembersOptionals: me(() => R.reverse()), - getMemberRanges: me(() => L.reverse()), - } - } - case 'Identifier': - case 'MetaProperty': - case 'ThisExpression': { - if ((v & Me) === 0) return undefined - const k = getRootName(E) - if (!k) return undefined - const N = this.getFreeInfoFromVariable(k) - if (!N) return undefined - const { info: q, name: ae } = N - return { - type: 'expression', - name: objectAndMembersToName(ae, P), - rootInfo: q, - getMembers: me(() => P.reverse()), - getMembersOptionals: me(() => R.reverse()), - getMemberRanges: me(() => L.reverse()), - } - } - } - } - getNameForExpression(k) { - return this.getMemberExpressionInfo(k, Me) - } - static _parse(k, v) { - const E = v ? v.sourceType : 'module' - const P = { - ...Ne, - allowReturnOutsideFunction: E === 'script', - ...v, - sourceType: E === 'auto' ? 'module' : E, - } - let R - let L - let N = false - try { - R = je.parse(k, P) - } catch (k) { - L = k - N = true - } - if (N && E === 'auto') { - P.sourceType = 'script' - if (!('allowReturnOutsideFunction' in v)) { - P.allowReturnOutsideFunction = true - } - if (Array.isArray(P.onComment)) { - P.onComment.length = 0 - } - try { - R = je.parse(k, P) - N = false - } catch (k) {} - } - if (N) { - throw L - } - return R - } - } - k.exports = JavascriptParser - k.exports.ALLOWED_MEMBER_TYPES_ALL = Te - k.exports.ALLOWED_MEMBER_TYPES_EXPRESSION = Me - k.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION = Ie - }, - 80784: function (k, v, E) { - 'use strict' - const P = E(9415) - const R = E(60381) - const L = E(70037) - v.toConstantDependency = (k, v, E) => - function constDependency(P) { - const L = new R(v, P.range, E) - L.loc = P.loc - k.state.module.addPresentationalDependency(L) - return true - } - v.evaluateToString = (k) => - function stringExpression(v) { - return new L().setString(k).setRange(v.range) - } - v.evaluateToNumber = (k) => - function stringExpression(v) { - return new L().setNumber(k).setRange(v.range) - } - v.evaluateToBoolean = (k) => - function booleanExpression(v) { - return new L().setBoolean(k).setRange(v.range) - } - v.evaluateToIdentifier = (k, v, E, P) => - function identifierExpression(R) { - let N = new L() - .setIdentifier(k, v, E) - .setSideEffects(false) - .setRange(R.range) - switch (P) { - case true: - N.setTruthy() - break - case null: - N.setNullish(true) - break - case false: - N.setFalsy() - break - } - return N - } - v.expressionIsUnsupported = (k, v) => - function unsupportedExpression(E) { - const L = new R('(void 0)', E.range, null) - L.loc = E.loc - k.state.module.addPresentationalDependency(L) - if (!k.state.module) return - k.state.module.addWarning(new P(v, E.loc)) - return true - } - v.skipTraversal = () => true - v.approve = () => true - }, - 73777: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(95041) - const { isSubset: L } = E(59959) - const { getAllChunks: N } = E(72130) - const q = `var ${P.exports} = ` - v.generateEntryStartup = (k, v, E, ae, le) => { - const pe = [ - `var __webpack_exec__ = ${v.returningFunction( - `${P.require}(${P.entryModuleId} = moduleId)`, - 'moduleId' - )}`, - ] - const runModule = (k) => `__webpack_exec__(${JSON.stringify(k)})` - const outputCombination = (k, E, R) => { - if (k.size === 0) { - pe.push(`${R ? q : ''}(${E.map(runModule).join(', ')});`) - } else { - const L = v.returningFunction(E.map(runModule).join(', ')) - pe.push( - `${R && !le ? q : ''}${ - le ? P.onChunksLoaded : P.startupEntrypoint - }(0, ${JSON.stringify(Array.from(k, (k) => k.id))}, ${L});` - ) - if (R && le) { - pe.push(`${q}${P.onChunksLoaded}();`) - } - } - } - let me = undefined - let ye = undefined - for (const [v, P] of E) { - const E = P.getRuntimeChunk() - const R = k.getModuleId(v) - const q = N(P, ae, E) - if (me && me.size === q.size && L(me, q)) { - ye.push(R) - } else { - if (me) { - outputCombination(me, ye) - } - me = q - ye = [R] - } - } - if (me) { - outputCombination(me, ye, true) - } - pe.push('') - return R.asString(pe) - } - v.updateHashForEntryStartup = (k, v, E, P) => { - for (const [R, L] of E) { - const E = L.getRuntimeChunk() - const q = v.getModuleId(R) - k.update(`${q}`) - for (const v of N(L, P, E)) k.update(`${v.id}`) - } - } - v.getInitialChunkIds = (k, v, E) => { - const P = new Set(k.ids) - for (const R of k.getAllInitialChunks()) { - if (R === k || E(R, v)) continue - for (const k of R.ids) P.add(k) - } - return P - } - }, - 15114: function (k, v, E) { - 'use strict' - const { register: P } = E(52456) - class JsonData { - constructor(k) { - this._buffer = undefined - this._data = undefined - if (Buffer.isBuffer(k)) { - this._buffer = k - } else { - this._data = k - } - } - get() { - if (this._data === undefined && this._buffer !== undefined) { - this._data = JSON.parse(this._buffer.toString()) - } - return this._data - } - updateHash(k) { - if (this._buffer === undefined && this._data !== undefined) { - this._buffer = Buffer.from(JSON.stringify(this._data)) - } - if (this._buffer) k.update(this._buffer) - } - } - P(JsonData, 'webpack/lib/json/JsonData', null, { - serialize(k, { write: v }) { - if (k._buffer === undefined && k._data !== undefined) { - k._buffer = Buffer.from(JSON.stringify(k._data)) - } - v(k._buffer) - }, - deserialize({ read: k }) { - return new JsonData(k()) - }, - }) - k.exports = JsonData - }, - 44734: function (k, v, E) { - 'use strict' - const { RawSource: P } = E(51255) - const R = E(91213) - const { UsageState: L } = E(11172) - const N = E(91597) - const q = E(56727) - const stringifySafe = (k) => { - const v = JSON.stringify(k) - if (!v) { - return undefined - } - return v.replace(/\u2028|\u2029/g, (k) => - k === '\u2029' ? '\\u2029' : '\\u2028' - ) - } - const createObjectForExportsInfo = (k, v, E) => { - if (v.otherExportsInfo.getUsed(E) !== L.Unused) return k - const P = Array.isArray(k) - const R = P ? [] : {} - for (const P of Object.keys(k)) { - const N = v.getReadOnlyExportInfo(P) - const q = N.getUsed(E) - if (q === L.Unused) continue - let ae - if (q === L.OnlyPropertiesUsed && N.exportsInfo) { - ae = createObjectForExportsInfo(k[P], N.exportsInfo, E) - } else { - ae = k[P] - } - const le = N.getUsedName(P, E) - R[le] = ae - } - if (P) { - let P = - v.getReadOnlyExportInfo('length').getUsed(E) !== L.Unused - ? k.length - : undefined - let N = 0 - for (let k = 0; k < R.length; k++) { - if (R[k] === undefined) { - N -= 2 - } else { - N += `${k}`.length + 3 - } - } - if (P !== undefined) { - N += `${P}`.length + 8 - (P - R.length) * 2 - } - if (N < 0) - return Object.assign(P === undefined ? {} : { length: P }, R) - const q = P !== undefined ? Math.max(P, R.length) : R.length - for (let k = 0; k < q; k++) { - if (R[k] === undefined) { - R[k] = 0 - } - } - } - return R - } - const ae = new Set(['javascript']) - class JsonGenerator extends N { - getTypes(k) { - return ae - } - getSize(k, v) { - const E = - k.buildInfo && k.buildInfo.jsonData && k.buildInfo.jsonData.get() - if (!E) return 0 - return stringifySafe(E).length + 10 - } - getConcatenationBailoutReason(k, v) { - return undefined - } - generate( - k, - { - moduleGraph: v, - runtimeTemplate: E, - runtimeRequirements: N, - runtime: ae, - concatenationScope: le, - } - ) { - const pe = - k.buildInfo && k.buildInfo.jsonData && k.buildInfo.jsonData.get() - if (pe === undefined) { - return new P(E.missingModuleStatement({ request: k.rawRequest })) - } - const me = v.getExportsInfo(k) - let ye = - typeof pe === 'object' && - pe && - me.otherExportsInfo.getUsed(ae) === L.Unused - ? createObjectForExportsInfo(pe, me, ae) - : pe - const _e = stringifySafe(ye) - const Ie = - _e.length > 20 && typeof ye === 'object' - ? `JSON.parse('${_e.replace(/[\\']/g, '\\$&')}')` - : _e - let Me - if (le) { - Me = `${E.supportsConst() ? 'const' : 'var'} ${ - R.NAMESPACE_OBJECT_EXPORT - } = ${Ie};` - le.registerNamespaceExport(R.NAMESPACE_OBJECT_EXPORT) - } else { - N.add(q.module) - Me = `${k.moduleArgument}.exports = ${Ie};` - } - return new P(Me) - } - } - k.exports = JsonGenerator - }, - 7671: function (k, v, E) { - 'use strict' - const { JSON_MODULE_TYPE: P } = E(93622) - const R = E(92198) - const L = E(44734) - const N = E(61117) - const q = R(E(57583), () => E(40013), { - name: 'Json Modules Plugin', - baseDataPath: 'parser', - }) - const ae = 'JsonModulesPlugin' - class JsonModulesPlugin { - apply(k) { - k.hooks.compilation.tap(ae, (k, { normalModuleFactory: v }) => { - v.hooks.createParser.for(P).tap(ae, (k) => { - q(k) - return new N(k) - }) - v.hooks.createGenerator.for(P).tap(ae, () => new L()) - }) - } - } - k.exports = JsonModulesPlugin - }, - 61117: function (k, v, E) { - 'use strict' - const P = E(17381) - const R = E(19179) - const L = E(20631) - const N = E(15114) - const q = L(() => E(54650)) - class JsonParser extends P { - constructor(k) { - super() - this.options = k || {} - } - parse(k, v) { - if (Buffer.isBuffer(k)) { - k = k.toString('utf-8') - } - const E = - typeof this.options.parse === 'function' ? this.options.parse : q() - let P - try { - P = - typeof k === 'object' ? k : E(k[0] === '\ufeff' ? k.slice(1) : k) - } catch (k) { - throw new Error(`Cannot parse JSON: ${k.message}`) - } - const L = new N(P) - const ae = v.module.buildInfo - ae.jsonData = L - ae.strict = true - const le = v.module.buildMeta - le.exportsType = 'default' - le.defaultObject = typeof P === 'object' ? 'redirect-warn' : false - v.module.addDependency(new R(L)) - return v - } - } - k.exports = JsonParser - }, - 15893: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(89168) - const L = - "Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'." - class AbstractLibraryPlugin { - constructor({ pluginName: k, type: v }) { - this._pluginName = k - this._type = v - this._parseCache = new WeakMap() - } - apply(k) { - const { _pluginName: v } = this - k.hooks.thisCompilation.tap(v, (k) => { - k.hooks.finishModules.tap({ name: v, stage: 10 }, () => { - for (const [ - v, - { - dependencies: E, - options: { library: P }, - }, - ] of k.entries) { - const R = this._parseOptionsCached( - P !== undefined ? P : k.outputOptions.library - ) - if (R !== false) { - const P = E[E.length - 1] - if (P) { - const E = k.moduleGraph.getModule(P) - if (E) { - this.finishEntryModule(E, v, { - options: R, - compilation: k, - chunkGraph: k.chunkGraph, - }) - } - } - } - } - }) - const getOptionsForChunk = (v) => { - if (k.chunkGraph.getNumberOfEntryModules(v) === 0) return false - const E = v.getEntryOptions() - const P = E && E.library - return this._parseOptionsCached( - P !== undefined ? P : k.outputOptions.library - ) - } - if ( - this.render !== AbstractLibraryPlugin.prototype.render || - this.runtimeRequirements !== - AbstractLibraryPlugin.prototype.runtimeRequirements - ) { - k.hooks.additionalChunkRuntimeRequirements.tap( - v, - (v, E, { chunkGraph: P }) => { - const R = getOptionsForChunk(v) - if (R !== false) { - this.runtimeRequirements(v, E, { - options: R, - compilation: k, - chunkGraph: P, - }) - } - } - ) - } - const E = R.getCompilationHooks(k) - if (this.render !== AbstractLibraryPlugin.prototype.render) { - E.render.tap(v, (v, E) => { - const P = getOptionsForChunk(E.chunk) - if (P === false) return v - return this.render(v, E, { - options: P, - compilation: k, - chunkGraph: k.chunkGraph, - }) - }) - } - if ( - this.embedInRuntimeBailout !== - AbstractLibraryPlugin.prototype.embedInRuntimeBailout - ) { - E.embedInRuntimeBailout.tap(v, (v, E) => { - const P = getOptionsForChunk(E.chunk) - if (P === false) return - return this.embedInRuntimeBailout(v, E, { - options: P, - compilation: k, - chunkGraph: k.chunkGraph, - }) - }) - } - if ( - this.strictRuntimeBailout !== - AbstractLibraryPlugin.prototype.strictRuntimeBailout - ) { - E.strictRuntimeBailout.tap(v, (v) => { - const E = getOptionsForChunk(v.chunk) - if (E === false) return - return this.strictRuntimeBailout(v, { - options: E, - compilation: k, - chunkGraph: k.chunkGraph, - }) - }) - } - if ( - this.renderStartup !== - AbstractLibraryPlugin.prototype.renderStartup - ) { - E.renderStartup.tap(v, (v, E, P) => { - const R = getOptionsForChunk(P.chunk) - if (R === false) return v - return this.renderStartup(v, E, P, { - options: R, - compilation: k, - chunkGraph: k.chunkGraph, - }) - }) - } - E.chunkHash.tap(v, (v, E, P) => { - const R = getOptionsForChunk(v) - if (R === false) return - this.chunkHash(v, E, P, { - options: R, - compilation: k, - chunkGraph: k.chunkGraph, - }) - }) - }) - } - _parseOptionsCached(k) { - if (!k) return false - if (k.type !== this._type) return false - const v = this._parseCache.get(k) - if (v !== undefined) return v - const E = this.parseOptions(k) - this._parseCache.set(k, E) - return E - } - parseOptions(k) { - const v = E(60386) - throw new v() - } - finishEntryModule(k, v, E) {} - embedInRuntimeBailout(k, v, E) { - return undefined - } - strictRuntimeBailout(k, v) { - return undefined - } - runtimeRequirements(k, v, E) { - if (this.render !== AbstractLibraryPlugin.prototype.render) - v.add(P.returnExportsFromRuntime) - } - render(k, v, E) { - return k - } - renderStartup(k, v, E, P) { - return k - } - chunkHash(k, v, E, P) { - const R = this._parseOptionsCached( - P.compilation.outputOptions.library - ) - v.update(this._pluginName) - v.update(JSON.stringify(R)) - } - } - AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE = L - k.exports = AbstractLibraryPlugin - }, - 54035: function (k, v, E) { - 'use strict' - const { ConcatSource: P } = E(51255) - const R = E(10849) - const L = E(95041) - const N = E(15893) - class AmdLibraryPlugin extends N { - constructor(k) { - super({ pluginName: 'AmdLibraryPlugin', type: k.type }) - this.requireAsWrapper = k.requireAsWrapper - } - parseOptions(k) { - const { name: v, amdContainer: E } = k - if (this.requireAsWrapper) { - if (v) { - throw new Error( - `AMD library name must be unset. ${N.COMMON_LIBRARY_NAME_MESSAGE}` - ) - } - } else { - if (v && typeof v !== 'string') { - throw new Error( - `AMD library name must be a simple string or unset. ${N.COMMON_LIBRARY_NAME_MESSAGE}` - ) - } - } - return { name: v, amdContainer: E } - } - render( - k, - { chunkGraph: v, chunk: E, runtimeTemplate: N }, - { options: q, compilation: ae } - ) { - const le = N.supportsArrowFunction() - const pe = v.getChunkModules(E).filter((k) => k instanceof R) - const me = pe - const ye = JSON.stringify( - me.map((k) => - typeof k.request === 'object' && !Array.isArray(k.request) - ? k.request.amd - : k.request - ) - ) - const _e = me - .map( - (k) => - `__WEBPACK_EXTERNAL_MODULE_${L.toIdentifier( - `${v.getModuleId(k)}` - )}__` - ) - .join(', ') - const Ie = N.isIIFE() - const Me = - (le ? `(${_e}) => {` : `function(${_e}) {`) + - (Ie || !E.hasRuntime() ? ' return ' : '\n') - const Te = Ie ? ';\n}' : '\n}' - let je = '' - if (q.amdContainer) { - je = `${q.amdContainer}.` - } - if (this.requireAsWrapper) { - return new P(`${je}require(${ye}, ${Me}`, k, `${Te});`) - } else if (q.name) { - const v = ae.getPath(q.name, { chunk: E }) - return new P( - `${je}define(${JSON.stringify(v)}, ${ye}, ${Me}`, - k, - `${Te});` - ) - } else if (_e) { - return new P(`${je}define(${ye}, ${Me}`, k, `${Te});`) - } else { - return new P(`${je}define(${Me}`, k, `${Te});`) - } - } - chunkHash(k, v, E, { options: P, compilation: R }) { - v.update('AmdLibraryPlugin') - if (this.requireAsWrapper) { - v.update('requireAsWrapper') - } else if (P.name) { - v.update('named') - const E = R.getPath(P.name, { chunk: k }) - v.update(E) - } else if (P.amdContainer) { - v.update('amdContainer') - v.update(P.amdContainer) - } - } - } - k.exports = AmdLibraryPlugin - }, - 56768: function (k, v, E) { - 'use strict' - const { ConcatSource: P } = E(51255) - const { UsageState: R } = E(11172) - const L = E(56727) - const N = E(95041) - const q = E(10720) - const { getEntryRuntime: ae } = E(1540) - const le = E(15893) - const pe = - /^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/ - const me = /^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu - const isNameValid = (k) => !pe.test(k) && me.test(k) - const accessWithInit = (k, v, E = false) => { - const P = k[0] - if (k.length === 1 && !E) return P - let R = v > 0 ? P : `(${P} = typeof ${P} === "undefined" ? {} : ${P})` - let L = 1 - let N - if (v > L) { - N = k.slice(1, v) - L = v - R += q(N) - } else { - N = [] - } - const ae = E ? k.length : k.length - 1 - for (; L < ae; L++) { - const v = k[L] - N.push(v) - R = `(${R}${q([v])} = ${P}${q(N)} || {})` - } - if (L < k.length) R = `${R}${q([k[k.length - 1]])}` - return R - } - class AssignLibraryPlugin extends le { - constructor(k) { - super({ pluginName: 'AssignLibraryPlugin', type: k.type }) - this.prefix = k.prefix - this.declare = k.declare - this.unnamed = k.unnamed - this.named = k.named || 'assign' - } - parseOptions(k) { - const { name: v } = k - if (this.unnamed === 'error') { - if (typeof v !== 'string' && !Array.isArray(v)) { - throw new Error( - `Library name must be a string or string array. ${le.COMMON_LIBRARY_NAME_MESSAGE}` - ) - } - } else { - if (v && typeof v !== 'string' && !Array.isArray(v)) { - throw new Error( - `Library name must be a string, string array or unset. ${le.COMMON_LIBRARY_NAME_MESSAGE}` - ) - } - } - return { name: v, export: k.export } - } - finishEntryModule( - k, - v, - { options: E, compilation: P, compilation: { moduleGraph: L } } - ) { - const N = ae(P, v) - if (E.export) { - const v = L.getExportInfo( - k, - Array.isArray(E.export) ? E.export[0] : E.export - ) - v.setUsed(R.Used, N) - v.canMangleUse = false - } else { - const v = L.getExportsInfo(k) - v.setUsedInUnknownWay(N) - } - L.addExtraReason(k, 'used as library export') - } - _getPrefix(k) { - return this.prefix === 'global' - ? [k.runtimeTemplate.globalObject] - : this.prefix - } - _getResolvedFullName(k, v, E) { - const P = this._getPrefix(E) - const R = k.name ? P.concat(k.name) : P - return R.map((k) => E.getPath(k, { chunk: v })) - } - render(k, { chunk: v }, { options: E, compilation: R }) { - const L = this._getResolvedFullName(E, v, R) - if (this.declare) { - const v = L[0] - if (!isNameValid(v)) { - throw new Error( - `Library name base (${v}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${N.toIdentifier( - v - )}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${ - le.COMMON_LIBRARY_NAME_MESSAGE - }` - ) - } - k = new P(`${this.declare} ${v};\n`, k) - } - return k - } - embedInRuntimeBailout( - k, - { chunk: v, codeGenerationResults: E }, - { options: P, compilation: R } - ) { - const { data: L } = E.get(k, v.runtime) - const N = - (L && L.get('topLevelDeclarations')) || - (k.buildInfo && k.buildInfo.topLevelDeclarations) - if (!N) return "it doesn't tell about top level declarations." - const q = this._getResolvedFullName(P, v, R) - const ae = q[0] - if (N.has(ae)) - return `it declares '${ae}' on top-level, which conflicts with the current library output.` - } - strictRuntimeBailout({ chunk: k }, { options: v, compilation: E }) { - if ( - this.declare || - this.prefix === 'global' || - this.prefix.length > 0 || - !v.name - ) { - return - } - return 'a global variable is assign and maybe created' - } - renderStartup( - k, - v, - { moduleGraph: E, chunk: R }, - { options: N, compilation: ae } - ) { - const le = this._getResolvedFullName(N, R, ae) - const pe = this.unnamed === 'static' - const me = N.export - ? q(Array.isArray(N.export) ? N.export : [N.export]) - : '' - const ye = new P(k) - if (pe) { - const k = E.getExportsInfo(v) - const P = accessWithInit(le, this._getPrefix(ae).length, true) - for (const v of k.orderedExports) { - if (!v.provided) continue - const k = q([v.name]) - ye.add(`${P}${k} = ${L.exports}${me}${k};\n`) - } - ye.add( - `Object.defineProperty(${P}, "__esModule", { value: true });\n` - ) - } else if (N.name ? this.named === 'copy' : this.unnamed === 'copy') { - ye.add( - `var __webpack_export_target__ = ${accessWithInit( - le, - this._getPrefix(ae).length, - true - )};\n` - ) - let k = L.exports - if (me) { - ye.add(`var __webpack_exports_export__ = ${L.exports}${me};\n`) - k = '__webpack_exports_export__' - } - ye.add( - `for(var i in ${k}) __webpack_export_target__[i] = ${k}[i];\n` - ) - ye.add( - `if(${k}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n` - ) - } else { - ye.add( - `${accessWithInit(le, this._getPrefix(ae).length, false)} = ${ - L.exports - }${me};\n` - ) - } - return ye - } - runtimeRequirements(k, v, E) {} - chunkHash(k, v, E, { options: P, compilation: R }) { - v.update('AssignLibraryPlugin') - const L = this._getResolvedFullName(P, k, R) - if (P.name ? this.named === 'copy' : this.unnamed === 'copy') { - v.update('copy') - } - if (this.declare) { - v.update(this.declare) - } - v.update(L.join('.')) - if (P.export) { - v.update(`${P.export}`) - } - } - } - k.exports = AssignLibraryPlugin - }, - 60234: function (k, v, E) { - 'use strict' - const P = new WeakMap() - const getEnabledTypes = (k) => { - let v = P.get(k) - if (v === undefined) { - v = new Set() - P.set(k, v) - } - return v - } - class EnableLibraryPlugin { - constructor(k) { - this.type = k - } - static setEnabled(k, v) { - getEnabledTypes(k).add(v) - } - static checkEnabled(k, v) { - if (!getEnabledTypes(k).has(v)) { - throw new Error( - `Library type "${v}" 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". ' + - 'These types are enabled: ' + - Array.from(getEnabledTypes(k)).join(', ') - ) - } - } - apply(k) { - const { type: v } = this - const P = getEnabledTypes(k) - if (P.has(v)) return - P.add(v) - if (typeof v === 'string') { - const enableExportProperty = () => { - const P = E(73849) - new P({ type: v, nsObjectUsed: v !== 'module' }).apply(k) - } - switch (v) { - case 'var': { - const P = E(56768) - new P({ - type: v, - prefix: [], - declare: 'var', - unnamed: 'error', - }).apply(k) - break - } - case 'assign-properties': { - const P = E(56768) - new P({ - type: v, - prefix: [], - declare: false, - unnamed: 'error', - named: 'copy', - }).apply(k) - break - } - case 'assign': { - const P = E(56768) - new P({ - type: v, - prefix: [], - declare: false, - unnamed: 'error', - }).apply(k) - break - } - case 'this': { - const P = E(56768) - new P({ - type: v, - prefix: ['this'], - declare: false, - unnamed: 'copy', - }).apply(k) - break - } - case 'window': { - const P = E(56768) - new P({ - type: v, - prefix: ['window'], - declare: false, - unnamed: 'copy', - }).apply(k) - break - } - case 'self': { - const P = E(56768) - new P({ - type: v, - prefix: ['self'], - declare: false, - unnamed: 'copy', - }).apply(k) - break - } - case 'global': { - const P = E(56768) - new P({ - type: v, - prefix: 'global', - declare: false, - unnamed: 'copy', - }).apply(k) - break - } - case 'commonjs': { - const P = E(56768) - new P({ - type: v, - prefix: ['exports'], - declare: false, - unnamed: 'copy', - }).apply(k) - break - } - case 'commonjs-static': { - const P = E(56768) - new P({ - type: v, - prefix: ['exports'], - declare: false, - unnamed: 'static', - }).apply(k) - break - } - case 'commonjs2': - case 'commonjs-module': { - const P = E(56768) - new P({ - type: v, - prefix: ['module', 'exports'], - declare: false, - unnamed: 'assign', - }).apply(k) - break - } - case 'amd': - case 'amd-require': { - enableExportProperty() - const P = E(54035) - new P({ type: v, requireAsWrapper: v === 'amd-require' }).apply( - k - ) - break - } - case 'umd': - case 'umd2': { - enableExportProperty() - const P = E(52594) - new P({ - type: v, - optionalAmdExternalAsGlobal: v === 'umd2', - }).apply(k) - break - } - case 'system': { - enableExportProperty() - const P = E(51327) - new P({ type: v }).apply(k) - break - } - case 'jsonp': { - enableExportProperty() - const P = E(94206) - new P({ type: v }).apply(k) - break - } - case 'module': { - enableExportProperty() - const P = E(65587) - new P({ type: v }).apply(k) - break - } - default: - throw new Error( - `Unsupported library type ${v}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.` - ) - } - } else { - } - } - } - k.exports = EnableLibraryPlugin - }, - 73849: function (k, v, E) { - 'use strict' - const { ConcatSource: P } = E(51255) - const { UsageState: R } = E(11172) - const L = E(56727) - const N = E(10720) - const { getEntryRuntime: q } = E(1540) - const ae = E(15893) - class ExportPropertyLibraryPlugin extends ae { - constructor({ type: k, nsObjectUsed: v }) { - super({ pluginName: 'ExportPropertyLibraryPlugin', type: k }) - this.nsObjectUsed = v - } - parseOptions(k) { - return { export: k.export } - } - finishEntryModule( - k, - v, - { options: E, compilation: P, compilation: { moduleGraph: L } } - ) { - const N = q(P, v) - if (E.export) { - const v = L.getExportInfo( - k, - Array.isArray(E.export) ? E.export[0] : E.export - ) - v.setUsed(R.Used, N) - v.canMangleUse = false - } else { - const v = L.getExportsInfo(k) - if (this.nsObjectUsed) { - v.setUsedInUnknownWay(N) - } else { - v.setAllKnownExportsUsed(N) - } - } - L.addExtraReason(k, 'used as library export') - } - runtimeRequirements(k, v, E) {} - renderStartup(k, v, E, { options: R }) { - if (!R.export) return k - const q = `${L.exports} = ${L.exports}${N( - Array.isArray(R.export) ? R.export : [R.export] - )};\n` - return new P(k, q) - } - } - k.exports = ExportPropertyLibraryPlugin - }, - 94206: function (k, v, E) { - 'use strict' - const { ConcatSource: P } = E(51255) - const R = E(15893) - class JsonpLibraryPlugin extends R { - constructor(k) { - super({ pluginName: 'JsonpLibraryPlugin', type: k.type }) - } - parseOptions(k) { - const { name: v } = k - if (typeof v !== 'string') { - throw new Error( - `Jsonp library name must be a simple string. ${R.COMMON_LIBRARY_NAME_MESSAGE}` - ) - } - return { name: v } - } - render(k, { chunk: v }, { options: E, compilation: R }) { - const L = R.getPath(E.name, { chunk: v }) - return new P(`${L}(`, k, ')') - } - chunkHash(k, v, E, { options: P, compilation: R }) { - v.update('JsonpLibraryPlugin') - v.update(R.getPath(P.name, { chunk: k })) - } - } - k.exports = JsonpLibraryPlugin - }, - 65587: function (k, v, E) { - 'use strict' - const { ConcatSource: P } = E(51255) - const R = E(56727) - const L = E(95041) - const N = E(10720) - const q = E(15893) - class ModuleLibraryPlugin extends q { - constructor(k) { - super({ pluginName: 'ModuleLibraryPlugin', type: k.type }) - } - parseOptions(k) { - const { name: v } = k - if (v) { - throw new Error( - `Library name must be unset. ${q.COMMON_LIBRARY_NAME_MESSAGE}` - ) - } - return { name: v } - } - renderStartup( - k, - v, - { moduleGraph: E, chunk: q }, - { options: ae, compilation: le } - ) { - const pe = new P(k) - const me = E.getExportsInfo(v) - const ye = [] - const _e = E.isAsync(v) - if (_e) { - pe.add(`${R.exports} = await ${R.exports};\n`) - } - for (const k of me.orderedExports) { - if (!k.provided) continue - const v = `${R.exports}${L.toIdentifier(k.name)}` - pe.add( - `var ${v} = ${R.exports}${N([ - k.getUsedName(k.name, q.runtime), - ])};\n` - ) - ye.push(`${v} as ${k.name}`) - } - if (ye.length > 0) { - pe.add(`export { ${ye.join(', ')} };\n`) - } - return pe - } - } - k.exports = ModuleLibraryPlugin - }, - 51327: function (k, v, E) { - 'use strict' - const { ConcatSource: P } = E(51255) - const { UsageState: R } = E(11172) - const L = E(10849) - const N = E(95041) - const q = E(10720) - const ae = E(15893) - class SystemLibraryPlugin extends ae { - constructor(k) { - super({ pluginName: 'SystemLibraryPlugin', type: k.type }) - } - parseOptions(k) { - const { name: v } = k - if (v && typeof v !== 'string') { - throw new Error( - `System.js library name must be a simple string or unset. ${ae.COMMON_LIBRARY_NAME_MESSAGE}` - ) - } - return { name: v } - } - render( - k, - { chunkGraph: v, moduleGraph: E, chunk: ae }, - { options: le, compilation: pe } - ) { - const me = v - .getChunkModules(ae) - .filter((k) => k instanceof L && k.externalType === 'system') - const ye = me - const _e = le.name - ? `${JSON.stringify(pe.getPath(le.name, { chunk: ae }))}, ` - : '' - const Ie = JSON.stringify( - ye.map((k) => - typeof k.request === 'object' && !Array.isArray(k.request) - ? k.request.amd - : k.request - ) - ) - const Me = '__WEBPACK_DYNAMIC_EXPORT__' - const Te = ye.map( - (k) => - `__WEBPACK_EXTERNAL_MODULE_${N.toIdentifier( - `${v.getModuleId(k)}` - )}__` - ) - const je = Te.map((k) => `var ${k} = {};`).join('\n') - const Ne = [] - const Be = - Te.length === 0 - ? '' - : N.asString([ - 'setters: [', - N.indent( - ye - .map((k, v) => { - const P = Te[v] - const L = E.getExportsInfo(k) - const le = - L.otherExportsInfo.getUsed(ae.runtime) === R.Unused - const pe = [] - const me = [] - for (const k of L.orderedExports) { - const v = k.getUsedName(undefined, ae.runtime) - if (v) { - if (le || v !== k.name) { - pe.push(`${P}${q([v])} = module${q([k.name])};`) - me.push(k.name) - } - } else { - me.push(k.name) - } - } - if (!le) { - if ( - !Array.isArray(k.request) || - k.request.length === 1 - ) { - Ne.push( - `Object.defineProperty(${P}, "__esModule", { value: true });` - ) - } - if (me.length > 0) { - const k = `${P}handledNames` - Ne.push(`var ${k} = ${JSON.stringify(me)};`) - pe.push( - N.asString([ - 'Object.keys(module).forEach(function(key) {', - N.indent([ - `if(${k}.indexOf(key) >= 0)`, - N.indent(`${P}[key] = module[key];`), - ]), - '});', - ]) - ) - } else { - pe.push( - N.asString([ - 'Object.keys(module).forEach(function(key) {', - N.indent([`${P}[key] = module[key];`]), - '});', - ]) - ) - } - } - if (pe.length === 0) return 'function() {}' - return N.asString([ - 'function(module) {', - N.indent(pe), - '}', - ]) - }) - .join(',\n') - ), - '],', - ]) - return new P( - N.asString([ - `System.register(${_e}${Ie}, function(${Me}, __system_context__) {`, - N.indent([ - je, - N.asString(Ne), - 'return {', - N.indent([Be, 'execute: function() {', N.indent(`${Me}(`)]), - ]), - '', - ]), - k, - N.asString([ - '', - N.indent([N.indent([N.indent([');']), '}']), '};']), - '})', - ]) - ) - } - chunkHash(k, v, E, { options: P, compilation: R }) { - v.update('SystemLibraryPlugin') - if (P.name) { - v.update(R.getPath(P.name, { chunk: k })) - } - } - } - k.exports = SystemLibraryPlugin - }, - 52594: function (k, v, E) { - 'use strict' - const { ConcatSource: P, OriginalSource: R } = E(51255) - const L = E(10849) - const N = E(95041) - const q = E(15893) - const accessorToObjectAccess = (k) => - k.map((k) => `[${JSON.stringify(k)}]`).join('') - const accessorAccess = (k, v, E = ', ') => { - const P = Array.isArray(v) ? v : [v] - return P.map((v, E) => { - const R = k - ? k + accessorToObjectAccess(P.slice(0, E + 1)) - : P[0] + accessorToObjectAccess(P.slice(1, E + 1)) - if (E === P.length - 1) return R - if (E === 0 && k === undefined) - return `${R} = typeof ${R} === "object" ? ${R} : {}` - return `${R} = ${R} || {}` - }).join(E) - } - class UmdLibraryPlugin extends q { - constructor(k) { - super({ pluginName: 'UmdLibraryPlugin', type: k.type }) - this.optionalAmdExternalAsGlobal = k.optionalAmdExternalAsGlobal - } - parseOptions(k) { - let v - let E - if (typeof k.name === 'object' && !Array.isArray(k.name)) { - v = k.name.root || k.name.amd || k.name.commonjs - E = k.name - } else { - v = k.name - const P = Array.isArray(v) ? v[0] : v - E = { commonjs: P, root: k.name, amd: P } - } - return { - name: v, - names: E, - auxiliaryComment: k.auxiliaryComment, - namedDefine: k.umdNamedDefine, - } - } - render( - k, - { chunkGraph: v, runtimeTemplate: E, chunk: q, moduleGraph: ae }, - { options: le, compilation: pe } - ) { - const me = v - .getChunkModules(q) - .filter( - (k) => - k instanceof L && - (k.externalType === 'umd' || k.externalType === 'umd2') - ) - let ye = me - const _e = [] - let Ie = [] - if (this.optionalAmdExternalAsGlobal) { - for (const k of ye) { - if (k.isOptional(ae)) { - _e.push(k) - } else { - Ie.push(k) - } - } - ye = Ie.concat(_e) - } else { - Ie = ye - } - const replaceKeys = (k) => pe.getPath(k, { chunk: q }) - const externalsDepsArray = (k) => - `[${replaceKeys( - k - .map((k) => - JSON.stringify( - typeof k.request === 'object' ? k.request.amd : k.request - ) - ) - .join(', ') - )}]` - const externalsRootArray = (k) => - replaceKeys( - k - .map((k) => { - let v = k.request - if (typeof v === 'object') v = v.root - return `root${accessorToObjectAccess([].concat(v))}` - }) - .join(', ') - ) - const externalsRequireArray = (k) => - replaceKeys( - ye - .map((v) => { - let E - let P = v.request - if (typeof P === 'object') { - P = P[k] - } - if (P === undefined) { - throw new Error( - 'Missing external configuration for type:' + k - ) - } - if (Array.isArray(P)) { - E = `require(${JSON.stringify( - P[0] - )})${accessorToObjectAccess(P.slice(1))}` - } else { - E = `require(${JSON.stringify(P)})` - } - if (v.isOptional(ae)) { - E = `(function webpackLoadOptionalExternalModule() { try { return ${E}; } catch(e) {} }())` - } - return E - }) - .join(', ') - ) - const externalsArguments = (k) => - k - .map( - (k) => - `__WEBPACK_EXTERNAL_MODULE_${N.toIdentifier( - `${v.getModuleId(k)}` - )}__` - ) - .join(', ') - const libraryName = (k) => - JSON.stringify(replaceKeys([].concat(k).pop())) - let Me - if (_e.length > 0) { - const k = externalsArguments(Ie) - const v = - Ie.length > 0 - ? externalsArguments(Ie) + ', ' + externalsRootArray(_e) - : externalsRootArray(_e) - Me = - `function webpackLoadOptionalExternalModuleAmd(${k}) {\n` + - `\t\t\treturn factory(${v});\n` + - '\t\t}' - } else { - Me = 'factory' - } - const { auxiliaryComment: Te, namedDefine: je, names: Ne } = le - const getAuxiliaryComment = (k) => { - if (Te) { - if (typeof Te === 'string') return '\t//' + Te + '\n' - if (Te[k]) return '\t//' + Te[k] + '\n' - } - return '' - } - return new P( - new R( - '(function webpackUniversalModuleDefinition(root, factory) {\n' + - getAuxiliaryComment('commonjs2') + - "\tif(typeof exports === 'object' && typeof module === 'object')\n" + - '\t\tmodule.exports = factory(' + - externalsRequireArray('commonjs2') + - ');\n' + - getAuxiliaryComment('amd') + - "\telse if(typeof define === 'function' && define.amd)\n" + - (Ie.length > 0 - ? Ne.amd && je === true - ? '\t\tdefine(' + - libraryName(Ne.amd) + - ', ' + - externalsDepsArray(Ie) + - ', ' + - Me + - ');\n' - : '\t\tdefine(' + - externalsDepsArray(Ie) + - ', ' + - Me + - ');\n' - : Ne.amd && je === true - ? '\t\tdefine(' + libraryName(Ne.amd) + ', [], ' + Me + ');\n' - : '\t\tdefine([], ' + Me + ');\n') + - (Ne.root || Ne.commonjs - ? getAuxiliaryComment('commonjs') + - "\telse if(typeof exports === 'object')\n" + - '\t\texports[' + - libraryName(Ne.commonjs || Ne.root) + - '] = factory(' + - externalsRequireArray('commonjs') + - ');\n' + - getAuxiliaryComment('root') + - '\telse\n' + - '\t\t' + - replaceKeys( - accessorAccess('root', Ne.root || Ne.commonjs) - ) + - ' = factory(' + - externalsRootArray(ye) + - ');\n' - : '\telse {\n' + - (ye.length > 0 - ? "\t\tvar a = typeof exports === 'object' ? factory(" + - externalsRequireArray('commonjs') + - ') : factory(' + - externalsRootArray(ye) + - ');\n' - : '\t\tvar a = factory();\n') + - "\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n" + - '\t}\n') + - `})(${E.outputOptions.globalObject}, ${ - E.supportsArrowFunction() - ? `(${externalsArguments(ye)}) =>` - : `function(${externalsArguments(ye)})` - } {\nreturn `, - 'webpack/universalModuleDefinition' - ), - k, - ';\n})' - ) - } - } - k.exports = UmdLibraryPlugin - }, - 13905: function (k, v) { - 'use strict' - const E = 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', - }) - v.LogType = E - const P = Symbol('webpack logger raw log method') - const R = Symbol('webpack logger times') - const L = Symbol('webpack logger aggregated times') - class WebpackLogger { - constructor(k, v) { - this[P] = k - this.getChildLogger = v - } - error(...k) { - this[P](E.error, k) - } - warn(...k) { - this[P](E.warn, k) - } - info(...k) { - this[P](E.info, k) - } - log(...k) { - this[P](E.log, k) - } - debug(...k) { - this[P](E.debug, k) - } - assert(k, ...v) { - if (!k) { - this[P](E.error, v) - } - } - trace() { - this[P](E.trace, ['Trace']) - } - clear() { - this[P](E.clear) - } - status(...k) { - this[P](E.status, k) - } - group(...k) { - this[P](E.group, k) - } - groupCollapsed(...k) { - this[P](E.groupCollapsed, k) - } - groupEnd(...k) { - this[P](E.groupEnd, k) - } - profile(k) { - this[P](E.profile, [k]) - } - profileEnd(k) { - this[P](E.profileEnd, [k]) - } - time(k) { - this[R] = this[R] || new Map() - this[R].set(k, process.hrtime()) - } - timeLog(k) { - const v = this[R] && this[R].get(k) - if (!v) { - throw new Error(`No such label '${k}' for WebpackLogger.timeLog()`) - } - const L = process.hrtime(v) - this[P](E.time, [k, ...L]) - } - timeEnd(k) { - const v = this[R] && this[R].get(k) - if (!v) { - throw new Error(`No such label '${k}' for WebpackLogger.timeEnd()`) - } - const L = process.hrtime(v) - this[R].delete(k) - this[P](E.time, [k, ...L]) - } - timeAggregate(k) { - const v = this[R] && this[R].get(k) - if (!v) { - throw new Error( - `No such label '${k}' for WebpackLogger.timeAggregate()` - ) - } - const E = process.hrtime(v) - this[R].delete(k) - this[L] = this[L] || new Map() - const P = this[L].get(k) - if (P !== undefined) { - if (E[1] + P[1] > 1e9) { - E[0] += P[0] + 1 - E[1] = E[1] - 1e9 + P[1] - } else { - E[0] += P[0] - E[1] += P[1] - } - } - this[L].set(k, E) - } - timeAggregateEnd(k) { - if (this[L] === undefined) return - const v = this[L].get(k) - if (v === undefined) return - this[L].delete(k) - this[P](E.time, [k, ...v]) - } - } - v.Logger = WebpackLogger - }, - 41748: function (k, v, E) { - 'use strict' - const { LogType: P } = E(13905) - const filterToFunction = (k) => { - if (typeof k === 'string') { - const v = new RegExp( - `[\\\\/]${k.replace( - /[-[\]{}()*+?.\\^$|]/g, - '\\$&' - )}([\\\\/]|$|!|\\?)` - ) - return (k) => v.test(k) - } - if (k && typeof k === 'object' && typeof k.test === 'function') { - return (v) => k.test(v) - } - if (typeof k === 'function') { - return k - } - if (typeof k === 'boolean') { - return () => k - } - } - const R = { - none: 6, - false: 6, - error: 5, - warn: 4, - info: 3, - log: 2, - true: 2, - verbose: 1, - } - k.exports = ({ level: k = 'info', debug: v = false, console: E }) => { - const L = - typeof v === 'boolean' - ? [() => v] - : [].concat(v).map(filterToFunction) - const N = R[`${k}`] || 0 - const logger = (k, v, q) => { - const labeledArgs = () => { - if (Array.isArray(q)) { - if (q.length > 0 && typeof q[0] === 'string') { - return [`[${k}] ${q[0]}`, ...q.slice(1)] - } else { - return [`[${k}]`, ...q] - } - } else { - return [] - } - } - const ae = L.some((v) => v(k)) - switch (v) { - case P.debug: - if (!ae) return - if (typeof E.debug === 'function') { - E.debug(...labeledArgs()) - } else { - E.log(...labeledArgs()) - } - break - case P.log: - if (!ae && N > R.log) return - E.log(...labeledArgs()) - break - case P.info: - if (!ae && N > R.info) return - E.info(...labeledArgs()) - break - case P.warn: - if (!ae && N > R.warn) return - E.warn(...labeledArgs()) - break - case P.error: - if (!ae && N > R.error) return - E.error(...labeledArgs()) - break - case P.trace: - if (!ae) return - E.trace() - break - case P.groupCollapsed: - if (!ae && N > R.log) return - if (!ae && N > R.verbose) { - if (typeof E.groupCollapsed === 'function') { - E.groupCollapsed(...labeledArgs()) - } else { - E.log(...labeledArgs()) - } - break - } - case P.group: - if (!ae && N > R.log) return - if (typeof E.group === 'function') { - E.group(...labeledArgs()) - } else { - E.log(...labeledArgs()) - } - break - case P.groupEnd: - if (!ae && N > R.log) return - if (typeof E.groupEnd === 'function') { - E.groupEnd() - } - break - case P.time: { - if (!ae && N > R.log) return - const v = q[1] * 1e3 + q[2] / 1e6 - const P = `[${k}] ${q[0]}: ${v} ms` - if (typeof E.logTime === 'function') { - E.logTime(P) - } else { - E.log(P) - } - break - } - case P.profile: - if (typeof E.profile === 'function') { - E.profile(...labeledArgs()) - } - break - case P.profileEnd: - if (typeof E.profileEnd === 'function') { - E.profileEnd(...labeledArgs()) - } - break - case P.clear: - if (!ae && N > R.log) return - if (typeof E.clear === 'function') { - E.clear() - } - break - case P.status: - if (!ae && N > R.info) return - if (typeof E.status === 'function') { - if (q.length === 0) { - E.status() - } else { - E.status(...labeledArgs()) - } - } else { - if (q.length !== 0) { - E.info(...labeledArgs()) - } - } - break - default: - throw new Error(`Unexpected LogType ${v}`) - } - } - return logger - } - }, - 64755: function (k) { - 'use strict' - const arraySum = (k) => { - let v = 0 - for (const E of k) v += E - return v - } - const truncateArgs = (k, v) => { - const E = k.map((k) => `${k}`.length) - const P = v - E.length + 1 - if (P > 0 && k.length === 1) { - if (P >= k[0].length) { - return k - } else if (P > 3) { - return ['...' + k[0].slice(-P + 3)] - } else { - return [k[0].slice(-P)] - } - } - if (P < arraySum(E.map((k) => Math.min(k, 6)))) { - if (k.length > 1) return truncateArgs(k.slice(0, k.length - 1), v) - return [] - } - let R = arraySum(E) - if (R <= P) return k - while (R > P) { - const k = Math.max(...E) - const v = E.filter((v) => v !== k) - const L = v.length > 0 ? Math.max(...v) : 0 - const N = k - L - let q = E.length - v.length - let ae = R - P - for (let v = 0; v < E.length; v++) { - if (E[v] === k) { - const k = Math.min(Math.floor(ae / q), N) - E[v] -= k - R -= k - ae -= k - q-- - } - } - } - return k.map((k, v) => { - const P = `${k}` - const R = E[v] - if (P.length === R) { - return P - } else if (R > 5) { - return '...' + P.slice(-R + 3) - } else if (R > 0) { - return P.slice(-R) - } else { - return '' - } - }) - } - k.exports = truncateArgs - }, - 16574: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(31626) - class CommonJsChunkLoadingPlugin { - constructor(k = {}) { - this._asyncChunkLoading = k.asyncChunkLoading - } - apply(k) { - const v = this._asyncChunkLoading ? E(92172) : E(14461) - const L = this._asyncChunkLoading ? 'async-node' : 'require' - new R({ - chunkLoading: L, - asyncChunkLoading: this._asyncChunkLoading, - }).apply(k) - k.hooks.thisCompilation.tap('CommonJsChunkLoadingPlugin', (k) => { - const E = k.outputOptions.chunkLoading - const isEnabledForChunk = (k) => { - const v = k.getEntryOptions() - const P = v && v.chunkLoading !== undefined ? v.chunkLoading : E - return P === L - } - const R = new WeakSet() - const handler = (E, L) => { - if (R.has(E)) return - R.add(E) - if (!isEnabledForChunk(E)) return - L.add(P.moduleFactoriesAddOnly) - L.add(P.hasOwnProperty) - k.addRuntimeModule(E, new v(L)) - } - k.hooks.runtimeRequirementInTree - .for(P.ensureChunkHandlers) - .tap('CommonJsChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.hmrDownloadUpdateHandlers) - .tap('CommonJsChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.hmrDownloadManifest) - .tap('CommonJsChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.baseURI) - .tap('CommonJsChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.externalInstallChunk) - .tap('CommonJsChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.onChunksLoaded) - .tap('CommonJsChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.ensureChunkHandlers) - .tap('CommonJsChunkLoadingPlugin', (k, v) => { - if (!isEnabledForChunk(k)) return - v.add(P.getChunkScriptFilename) - }) - k.hooks.runtimeRequirementInTree - .for(P.hmrDownloadUpdateHandlers) - .tap('CommonJsChunkLoadingPlugin', (k, v) => { - if (!isEnabledForChunk(k)) return - v.add(P.getChunkUpdateScriptFilename) - v.add(P.moduleCache) - v.add(P.hmrModuleData) - v.add(P.moduleFactoriesAddOnly) - }) - k.hooks.runtimeRequirementInTree - .for(P.hmrDownloadManifest) - .tap('CommonJsChunkLoadingPlugin', (k, v) => { - if (!isEnabledForChunk(k)) return - v.add(P.getUpdateManifestFilename) - }) - }) - } - } - k.exports = CommonJsChunkLoadingPlugin - }, - 74983: function (k, v, E) { - 'use strict' - const P = E(75943) - const R = E(56450) - const L = E(41748) - const N = E(60432) - const q = E(73362) - class NodeEnvironmentPlugin { - constructor(k) { - this.options = k - } - apply(k) { - const { infrastructureLogging: v } = this.options - k.infrastructureLogger = L({ - level: v.level || 'info', - debug: v.debug || false, - console: - v.console || - q({ - colors: v.colors, - appendOnly: v.appendOnly, - stream: v.stream, - }), - }) - k.inputFileSystem = new P(R, 6e4) - const E = k.inputFileSystem - k.outputFileSystem = R - k.intermediateFileSystem = R - k.watchFileSystem = new N(k.inputFileSystem) - k.hooks.beforeRun.tap('NodeEnvironmentPlugin', (k) => { - if (k.inputFileSystem === E) { - k.fsStartTime = Date.now() - E.purge() - } - }) - } - } - k.exports = NodeEnvironmentPlugin - }, - 44513: function (k) { - 'use strict' - class NodeSourcePlugin { - apply(k) {} - } - k.exports = NodeSourcePlugin - }, - 56976: function (k, v, E) { - 'use strict' - const P = E(53757) - const R = [ - 'assert', - 'assert/strict', - 'async_hooks', - 'buffer', - 'child_process', - 'cluster', - 'console', - 'constants', - 'crypto', - 'dgram', - 'diagnostics_channel', - 'dns', - 'dns/promises', - 'domain', - 'events', - 'fs', - 'fs/promises', - 'http', - 'http2', - 'https', - 'inspector', - 'inspector/promises', - 'module', - 'net', - 'os', - 'path', - 'path/posix', - 'path/win32', - 'perf_hooks', - 'process', - 'punycode', - 'querystring', - 'readline', - 'readline/promises', - 'repl', - 'stream', - 'stream/consumers', - 'stream/promises', - 'stream/web', - 'string_decoder', - 'sys', - 'timers', - 'timers/promises', - 'tls', - 'trace_events', - 'tty', - 'url', - 'util', - 'util/types', - 'v8', - 'vm', - 'wasi', - 'worker_threads', - 'zlib', - /^node:/, - 'pnpapi', - ] - class NodeTargetPlugin { - apply(k) { - new P('node-commonjs', R).apply(k) - } - } - k.exports = NodeTargetPlugin - }, - 74578: function (k, v, E) { - 'use strict' - const P = E(45542) - const R = E(73126) - class NodeTemplatePlugin { - constructor(k = {}) { - this._options = k - } - apply(k) { - const v = this._options.asyncChunkLoading ? 'async-node' : 'require' - k.options.output.chunkLoading = v - new P().apply(k) - new R(v).apply(k) - } - } - k.exports = NodeTemplatePlugin - }, - 60432: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = E(28978) - class NodeWatchFileSystem { - constructor(k) { - this.inputFileSystem = k - this.watcherOptions = { aggregateTimeout: 0 } - this.watcher = new R(this.watcherOptions) - } - watch(k, v, E, L, N, q, ae) { - if (!k || typeof k[Symbol.iterator] !== 'function') { - throw new Error("Invalid arguments: 'files'") - } - if (!v || typeof v[Symbol.iterator] !== 'function') { - throw new Error("Invalid arguments: 'directories'") - } - if (!E || typeof E[Symbol.iterator] !== 'function') { - throw new Error("Invalid arguments: 'missing'") - } - if (typeof q !== 'function') { - throw new Error("Invalid arguments: 'callback'") - } - if (typeof L !== 'number' && L) { - throw new Error("Invalid arguments: 'startTime'") - } - if (typeof N !== 'object') { - throw new Error("Invalid arguments: 'options'") - } - if (typeof ae !== 'function' && ae) { - throw new Error("Invalid arguments: 'callbackUndelayed'") - } - const le = this.watcher - this.watcher = new R(N) - if (ae) { - this.watcher.once('change', ae) - } - const fetchTimeInfo = () => { - const k = new Map() - const v = new Map() - if (this.watcher) { - this.watcher.collectTimeInfoEntries(k, v) - } - return { fileTimeInfoEntries: k, contextTimeInfoEntries: v } - } - this.watcher.once('aggregated', (k, v) => { - this.watcher.pause() - if (this.inputFileSystem && this.inputFileSystem.purge) { - const E = this.inputFileSystem - for (const v of k) { - E.purge(v) - } - for (const k of v) { - E.purge(k) - } - } - const { fileTimeInfoEntries: E, contextTimeInfoEntries: P } = - fetchTimeInfo() - q(null, E, P, k, v) - }) - this.watcher.watch({ - files: k, - directories: v, - missing: E, - startTime: L, - }) - if (le) { - le.close() - } - return { - close: () => { - if (this.watcher) { - this.watcher.close() - this.watcher = null - } - }, - pause: () => { - if (this.watcher) { - this.watcher.pause() - } - }, - getAggregatedRemovals: P.deprecate( - () => { - const k = this.watcher && this.watcher.aggregatedRemovals - if (k && this.inputFileSystem && this.inputFileSystem.purge) { - const v = this.inputFileSystem - for (const E of k) { - v.purge(E) - } - } - return k - }, - "Watcher.getAggregatedRemovals is deprecated in favor of Watcher.getInfo since that's more performant.", - 'DEP_WEBPACK_WATCHER_GET_AGGREGATED_REMOVALS' - ), - getAggregatedChanges: P.deprecate( - () => { - const k = this.watcher && this.watcher.aggregatedChanges - if (k && this.inputFileSystem && this.inputFileSystem.purge) { - const v = this.inputFileSystem - for (const E of k) { - v.purge(E) - } - } - return k - }, - "Watcher.getAggregatedChanges is deprecated in favor of Watcher.getInfo since that's more performant.", - 'DEP_WEBPACK_WATCHER_GET_AGGREGATED_CHANGES' - ), - getFileTimeInfoEntries: P.deprecate( - () => fetchTimeInfo().fileTimeInfoEntries, - "Watcher.getFileTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.", - 'DEP_WEBPACK_WATCHER_FILE_TIME_INFO_ENTRIES' - ), - getContextTimeInfoEntries: P.deprecate( - () => fetchTimeInfo().contextTimeInfoEntries, - "Watcher.getContextTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.", - 'DEP_WEBPACK_WATCHER_CONTEXT_TIME_INFO_ENTRIES' - ), - getInfo: () => { - const k = this.watcher && this.watcher.aggregatedRemovals - const v = this.watcher && this.watcher.aggregatedChanges - if (this.inputFileSystem && this.inputFileSystem.purge) { - const E = this.inputFileSystem - if (k) { - for (const v of k) { - E.purge(v) - } - } - if (v) { - for (const k of v) { - E.purge(k) - } - } - } - const { fileTimeInfoEntries: E, contextTimeInfoEntries: P } = - fetchTimeInfo() - return { - changes: v, - removals: k, - fileTimeInfoEntries: E, - contextTimeInfoEntries: P, - } - }, - } - } - } - k.exports = NodeWatchFileSystem - }, - 92172: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - const { chunkHasJs: N, getChunkFilenameTemplate: q } = E(89168) - const { getInitialChunkIds: ae } = E(73777) - const le = E(21751) - const { getUndoPath: pe } = E(65315) - class ReadFileChunkLoadingRuntimeModule extends R { - constructor(k) { - super('readFile chunk loading', R.STAGE_ATTACH) - this.runtimeRequirements = k - } - _generateBaseUri(k, v) { - const E = k.getEntryOptions() - if (E && E.baseUri) { - return `${P.baseURI} = ${JSON.stringify(E.baseUri)};` - } - return `${P.baseURI} = require("url").pathToFileURL(${ - v ? `__dirname + ${JSON.stringify('/' + v)}` : '__filename' - });` - } - generate() { - const { chunkGraph: k, chunk: v } = this - const { runtimeTemplate: E } = this.compilation - const R = P.ensureChunkHandlers - const me = this.runtimeRequirements.has(P.baseURI) - const ye = this.runtimeRequirements.has(P.externalInstallChunk) - const _e = this.runtimeRequirements.has(P.onChunksLoaded) - const Ie = this.runtimeRequirements.has(P.ensureChunkHandlers) - const Me = this.runtimeRequirements.has(P.hmrDownloadUpdateHandlers) - const Te = this.runtimeRequirements.has(P.hmrDownloadManifest) - const je = k.getChunkConditionMap(v, N) - const Ne = le(je) - const Be = ae(v, k, N) - const qe = this.compilation.getPath( - q(v, this.compilation.outputOptions), - { chunk: v, contentHashType: 'javascript' } - ) - const Ue = pe(qe, this.compilation.outputOptions.path, false) - const Ge = Me ? `${P.hmrRuntimeStatePrefix}_readFileVm` : undefined - return L.asString([ - me ? this._generateBaseUri(v, Ue) : '// no baseURI', - '', - '// object to store loaded chunks', - '// "0" means "already loaded", Promise means loading', - `var installedChunks = ${Ge ? `${Ge} = ${Ge} || ` : ''}{`, - L.indent( - Array.from(Be, (k) => `${JSON.stringify(k)}: 0`).join(',\n') - ), - '};', - '', - _e - ? `${P.onChunksLoaded}.readFileVm = ${E.returningFunction( - 'installedChunks[chunkId] === 0', - 'chunkId' - )};` - : '// no on chunks loaded', - '', - Ie || ye - ? `var installChunk = ${E.basicFunction('chunk', [ - 'var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;', - 'for(var moduleId in moreModules) {', - L.indent([ - `if(${P.hasOwnProperty}(moreModules, moduleId)) {`, - L.indent([ - `${P.moduleFactories}[moduleId] = moreModules[moduleId];`, - ]), - '}', - ]), - '}', - `if(runtime) runtime(${P.require});`, - 'for(var i = 0; i < chunkIds.length; i++) {', - L.indent([ - 'if(installedChunks[chunkIds[i]]) {', - L.indent(['installedChunks[chunkIds[i]][0]();']), - '}', - 'installedChunks[chunkIds[i]] = 0;', - ]), - '}', - _e ? `${P.onChunksLoaded}();` : '', - ])};` - : '// no chunk install function needed', - '', - Ie - ? L.asString([ - '// ReadFile + VM.run chunk loading for javascript', - `${R}.readFileVm = function(chunkId, promises) {`, - Ne !== false - ? L.indent([ - '', - 'var installedChunkData = installedChunks[chunkId];', - 'if(installedChunkData !== 0) { // 0 means "already installed".', - L.indent([ - '// array of [resolve, reject, promise] means "currently loading"', - 'if(installedChunkData) {', - L.indent(['promises.push(installedChunkData[2]);']), - '} else {', - L.indent([ - Ne === true - ? 'if(true) { // all chunks have JS' - : `if(${Ne('chunkId')}) {`, - L.indent([ - '// load the chunk and return promise to it', - 'var promise = new Promise(function(resolve, reject) {', - L.indent([ - 'installedChunkData = installedChunks[chunkId] = [resolve, reject];', - `var filename = require('path').join(__dirname, ${JSON.stringify( - Ue - )} + ${P.getChunkScriptFilename}(chunkId));`, - "require('fs').readFile(filename, 'utf-8', function(err, content) {", - L.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);', - ]), - Ne === true - ? '}' - : '} else installedChunks[chunkId] = 0;', - ]), - '}', - ]), - '}', - ]) - : L.indent(['installedChunks[chunkId] = 0;']), - '};', - ]) - : '// no chunk loading', - '', - ye - ? L.asString([ - `module.exports = ${P.require};`, - `${P.externalInstallChunk} = installChunk;`, - ]) - : '// no external install chunk', - '', - Me - ? L.asString([ - 'function loadUpdateChunk(chunkId, updatedModulesList) {', - L.indent([ - 'return new Promise(function(resolve, reject) {', - L.indent([ - `var filename = require('path').join(__dirname, ${JSON.stringify( - Ue - )} + ${P.getChunkUpdateScriptFilename}(chunkId));`, - "require('fs').readFile(filename, 'utf-8', function(err, content) {", - L.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) {', - L.indent([ - `if(${P.hasOwnProperty}(updatedModules, moduleId)) {`, - L.indent([ - `currentUpdate[moduleId] = updatedModules[moduleId];`, - 'if(updatedModulesList) updatedModulesList.push(moduleId);', - ]), - '}', - ]), - '}', - 'if(runtime) currentUpdateRuntime.push(runtime);', - 'resolve();', - ]), - '});', - ]), - '});', - ]), - '}', - '', - L.getFunctionContent( - require('./JavascriptHotModuleReplacement.runtime.js') - ) - .replace(/\$key\$/g, 'readFileVm') - .replace(/\$installedChunks\$/g, 'installedChunks') - .replace(/\$loadUpdateChunk\$/g, 'loadUpdateChunk') - .replace(/\$moduleCache\$/g, P.moduleCache) - .replace(/\$moduleFactories\$/g, P.moduleFactories) - .replace(/\$ensureChunkHandlers\$/g, P.ensureChunkHandlers) - .replace(/\$hasOwnProperty\$/g, P.hasOwnProperty) - .replace(/\$hmrModuleData\$/g, P.hmrModuleData) - .replace( - /\$hmrDownloadUpdateHandlers\$/g, - P.hmrDownloadUpdateHandlers - ) - .replace( - /\$hmrInvalidateModuleHandlers\$/g, - P.hmrInvalidateModuleHandlers - ), - ]) - : '// no HMR', - '', - Te - ? L.asString([ - `${P.hmrDownloadManifest} = function() {`, - L.indent([ - 'return new Promise(function(resolve, reject) {', - L.indent([ - `var filename = require('path').join(__dirname, ${JSON.stringify( - Ue - )} + ${P.getUpdateManifestFilename}());`, - "require('fs').readFile(filename, 'utf-8', function(err, content) {", - L.indent([ - 'if(err) {', - L.indent([ - 'if(err.code === "ENOENT") return resolve();', - 'return reject(err);', - ]), - '}', - 'try { resolve(JSON.parse(content)); }', - 'catch(e) { reject(e); }', - ]), - '});', - ]), - '});', - ]), - '}', - ]) - : '// no HMR manifest', - ]) - } - } - k.exports = ReadFileChunkLoadingRuntimeModule - }, - 39842: function (k, v, E) { - 'use strict' - const { WEBASSEMBLY_MODULE_TYPE_ASYNC: P } = E(93622) - const R = E(56727) - const L = E(95041) - const N = E(99393) - class ReadFileCompileAsyncWasmPlugin { - constructor({ type: k = 'async-node', import: v = false } = {}) { - this._type = k - this._import = v - } - apply(k) { - k.hooks.thisCompilation.tap('ReadFileCompileAsyncWasmPlugin', (k) => { - const v = k.outputOptions.wasmLoading - const isEnabledForChunk = (k) => { - const E = k.getEntryOptions() - const P = E && E.wasmLoading !== undefined ? E.wasmLoading : v - return P === this._type - } - const { importMetaName: E } = k.outputOptions - const q = this._import - ? (k) => - L.asString([ - "Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {", - L.indent([ - `readFile(new URL(${k}, ${E}.url), (err, buffer) => {`, - L.indent([ - 'if (err) return reject(err);', - '', - '// Fake fetch response', - 'resolve({', - L.indent(['arrayBuffer() { return buffer; }']), - '});', - ]), - '});', - ]), - '}))', - ]) - : (k) => - L.asString([ - 'new Promise(function (resolve, reject) {', - L.indent([ - 'try {', - L.indent([ - "var { readFile } = require('fs');", - "var { join } = require('path');", - '', - `readFile(join(__dirname, ${k}), function(err, buffer){`, - L.indent([ - 'if (err) return reject(err);', - '', - '// Fake fetch response', - 'resolve({', - L.indent(['arrayBuffer() { return buffer; }']), - '});', - ]), - '});', - ]), - '} catch (err) { reject(err); }', - ]), - '})', - ]) - k.hooks.runtimeRequirementInTree - .for(R.instantiateWasm) - .tap('ReadFileCompileAsyncWasmPlugin', (v, E) => { - if (!isEnabledForChunk(v)) return - const L = k.chunkGraph - if (!L.hasModuleInGraph(v, (k) => k.type === P)) { - return - } - E.add(R.publicPath) - k.addRuntimeModule( - v, - new N({ generateLoadBinaryCode: q, supportsStreaming: false }) - ) - }) - }) - } - } - k.exports = ReadFileCompileAsyncWasmPlugin - }, - 63506: function (k, v, E) { - 'use strict' - const { WEBASSEMBLY_MODULE_TYPE_SYNC: P } = E(93622) - const R = E(56727) - const L = E(95041) - const N = E(68403) - class ReadFileCompileWasmPlugin { - constructor(k = {}) { - this.options = k - } - apply(k) { - k.hooks.thisCompilation.tap('ReadFileCompileWasmPlugin', (k) => { - const v = k.outputOptions.wasmLoading - const isEnabledForChunk = (k) => { - const E = k.getEntryOptions() - const P = E && E.wasmLoading !== undefined ? E.wasmLoading : v - return P === 'async-node' - } - const generateLoadBinaryCode = (k) => - L.asString([ - 'new Promise(function (resolve, reject) {', - L.indent([ - "var { readFile } = require('fs');", - "var { join } = require('path');", - '', - 'try {', - L.indent([ - `readFile(join(__dirname, ${k}), function(err, buffer){`, - L.indent([ - 'if (err) return reject(err);', - '', - '// Fake fetch response', - 'resolve({', - L.indent(['arrayBuffer() { return buffer; }']), - '});', - ]), - '});', - ]), - '} catch (err) { reject(err); }', - ]), - '})', - ]) - k.hooks.runtimeRequirementInTree - .for(R.ensureChunkHandlers) - .tap('ReadFileCompileWasmPlugin', (v, E) => { - if (!isEnabledForChunk(v)) return - const L = k.chunkGraph - if (!L.hasModuleInGraph(v, (k) => k.type === P)) { - return - } - E.add(R.moduleCache) - k.addRuntimeModule( - v, - new N({ - generateLoadBinaryCode: generateLoadBinaryCode, - supportsStreaming: false, - mangleImports: this.options.mangleImports, - runtimeRequirements: E, - }) - ) - }) - }) - } - } - k.exports = ReadFileCompileWasmPlugin - }, - 14461: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - const { chunkHasJs: N, getChunkFilenameTemplate: q } = E(89168) - const { getInitialChunkIds: ae } = E(73777) - const le = E(21751) - const { getUndoPath: pe } = E(65315) - class RequireChunkLoadingRuntimeModule extends R { - constructor(k) { - super('require chunk loading', R.STAGE_ATTACH) - this.runtimeRequirements = k - } - _generateBaseUri(k, v) { - const E = k.getEntryOptions() - if (E && E.baseUri) { - return `${P.baseURI} = ${JSON.stringify(E.baseUri)};` - } - return `${P.baseURI} = require("url").pathToFileURL(${ - v !== './' ? `__dirname + ${JSON.stringify('/' + v)}` : '__filename' - });` - } - generate() { - const { chunkGraph: k, chunk: v } = this - const { runtimeTemplate: E } = this.compilation - const R = P.ensureChunkHandlers - const me = this.runtimeRequirements.has(P.baseURI) - const ye = this.runtimeRequirements.has(P.externalInstallChunk) - const _e = this.runtimeRequirements.has(P.onChunksLoaded) - const Ie = this.runtimeRequirements.has(P.ensureChunkHandlers) - const Me = this.runtimeRequirements.has(P.hmrDownloadUpdateHandlers) - const Te = this.runtimeRequirements.has(P.hmrDownloadManifest) - const je = k.getChunkConditionMap(v, N) - const Ne = le(je) - const Be = ae(v, k, N) - const qe = this.compilation.getPath( - q(v, this.compilation.outputOptions), - { chunk: v, contentHashType: 'javascript' } - ) - const Ue = pe(qe, this.compilation.outputOptions.path, true) - const Ge = Me ? `${P.hmrRuntimeStatePrefix}_require` : undefined - return L.asString([ - me ? this._generateBaseUri(v, Ue) : '// no baseURI', - '', - '// object to store loaded chunks', - '// "1" means "loaded", otherwise not loaded yet', - `var installedChunks = ${Ge ? `${Ge} = ${Ge} || ` : ''}{`, - L.indent( - Array.from(Be, (k) => `${JSON.stringify(k)}: 1`).join(',\n') - ), - '};', - '', - _e - ? `${P.onChunksLoaded}.require = ${E.returningFunction( - 'installedChunks[chunkId]', - 'chunkId' - )};` - : '// no on chunks loaded', - '', - Ie || ye - ? `var installChunk = ${E.basicFunction('chunk', [ - 'var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;', - 'for(var moduleId in moreModules) {', - L.indent([ - `if(${P.hasOwnProperty}(moreModules, moduleId)) {`, - L.indent([ - `${P.moduleFactories}[moduleId] = moreModules[moduleId];`, - ]), - '}', - ]), - '}', - `if(runtime) runtime(${P.require});`, - 'for(var i = 0; i < chunkIds.length; i++)', - L.indent('installedChunks[chunkIds[i]] = 1;'), - _e ? `${P.onChunksLoaded}();` : '', - ])};` - : '// no chunk install function needed', - '', - Ie - ? L.asString([ - '// require() chunk loading for javascript', - `${R}.require = ${E.basicFunction( - 'chunkId, promises', - Ne !== false - ? [ - '// "1" is the signal for "already loaded"', - 'if(!installedChunks[chunkId]) {', - L.indent([ - Ne === true - ? 'if(true) { // all chunks have JS' - : `if(${Ne('chunkId')}) {`, - L.indent([ - `installChunk(require(${JSON.stringify(Ue)} + ${ - P.getChunkScriptFilename - }(chunkId)));`, - ]), - '} else installedChunks[chunkId] = 1;', - '', - ]), - '}', - ] - : 'installedChunks[chunkId] = 1;' - )};`, - ]) - : '// no chunk loading', - '', - ye - ? L.asString([ - `module.exports = ${P.require};`, - `${P.externalInstallChunk} = installChunk;`, - ]) - : '// no external install chunk', - '', - Me - ? L.asString([ - 'function loadUpdateChunk(chunkId, updatedModulesList) {', - L.indent([ - `var update = require(${JSON.stringify(Ue)} + ${ - P.getChunkUpdateScriptFilename - }(chunkId));`, - 'var updatedModules = update.modules;', - 'var runtime = update.runtime;', - 'for(var moduleId in updatedModules) {', - L.indent([ - `if(${P.hasOwnProperty}(updatedModules, moduleId)) {`, - L.indent([ - `currentUpdate[moduleId] = updatedModules[moduleId];`, - 'if(updatedModulesList) updatedModulesList.push(moduleId);', - ]), - '}', - ]), - '}', - 'if(runtime) currentUpdateRuntime.push(runtime);', - ]), - '}', - '', - L.getFunctionContent( - require('./JavascriptHotModuleReplacement.runtime.js') - ) - .replace(/\$key\$/g, 'require') - .replace(/\$installedChunks\$/g, 'installedChunks') - .replace(/\$loadUpdateChunk\$/g, 'loadUpdateChunk') - .replace(/\$moduleCache\$/g, P.moduleCache) - .replace(/\$moduleFactories\$/g, P.moduleFactories) - .replace(/\$ensureChunkHandlers\$/g, P.ensureChunkHandlers) - .replace(/\$hasOwnProperty\$/g, P.hasOwnProperty) - .replace(/\$hmrModuleData\$/g, P.hmrModuleData) - .replace( - /\$hmrDownloadUpdateHandlers\$/g, - P.hmrDownloadUpdateHandlers - ) - .replace( - /\$hmrInvalidateModuleHandlers\$/g, - P.hmrInvalidateModuleHandlers - ), - ]) - : '// no HMR', - '', - Te - ? L.asString([ - `${P.hmrDownloadManifest} = function() {`, - L.indent([ - 'return Promise.resolve().then(function() {', - L.indent([ - `return require(${JSON.stringify(Ue)} + ${ - P.getUpdateManifestFilename - }());`, - ]), - "})['catch'](function(err) { if(err.code !== 'MODULE_NOT_FOUND') throw err; });", - ]), - '}', - ]) - : '// no HMR manifest', - ]) - } - } - k.exports = RequireChunkLoadingRuntimeModule - }, - 73362: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = E(64755) - k.exports = ({ colors: k, appendOnly: v, stream: E }) => { - let L = undefined - let N = false - let q = '' - let ae = 0 - const indent = (v, E, P, R) => { - if (v === '') return v - E = q + E - if (k) { - return E + P + v.replace(/\n/g, R + '\n' + E + P) + R - } else { - return E + v.replace(/\n/g, '\n' + E) - } - } - const clearStatusMessage = () => { - if (N) { - E.write('\r') - N = false - } - } - const writeStatusMessage = () => { - if (!L) return - const k = E.columns || 40 - const v = R(L, k - 1) - const P = v.join(' ') - const q = `${P}` - E.write(`\r${q}`) - N = true - } - const writeColored = - (k, v, R) => - (...L) => { - if (ae > 0) return - clearStatusMessage() - const N = indent(P.format(...L), k, v, R) - E.write(N + '\n') - writeStatusMessage() - } - const le = writeColored('<-> ', '', '') - const pe = writeColored('<+> ', '', '') - return { - log: writeColored(' ', '', ''), - debug: writeColored(' ', '', ''), - trace: writeColored(' ', '', ''), - info: writeColored(' ', '', ''), - warn: writeColored(' ', '', ''), - error: writeColored(' ', '', ''), - logTime: writeColored(' ', '', ''), - group: (...k) => { - le(...k) - if (ae > 0) { - ae++ - } else { - q += ' ' - } - }, - groupCollapsed: (...k) => { - pe(...k) - ae++ - }, - groupEnd: () => { - if (ae > 0) ae-- - else if (q.length >= 2) q = q.slice(0, q.length - 2) - }, - profile: console.profile && ((k) => console.profile(k)), - profileEnd: console.profileEnd && ((k) => console.profileEnd(k)), - clear: - !v && - console.clear && - (() => { - clearStatusMessage() - console.clear() - writeStatusMessage() - }), - status: v - ? writeColored(' ', '', '') - : (k, ...v) => { - v = v.filter(Boolean) - if (k === undefined && v.length === 0) { - clearStatusMessage() - L = undefined - } else if ( - typeof k === 'string' && - k.startsWith('[webpack.Progress] ') - ) { - L = [k.slice(19), ...v] - writeStatusMessage() - } else if (k === '[webpack.Progress]') { - L = [...v] - writeStatusMessage() - } else { - L = [k, ...v] - writeStatusMessage() - } - }, - } - } - }, - 3952: function (k, v, E) { - 'use strict' - const { STAGE_ADVANCED: P } = E(99134) - class AggressiveMergingPlugin { - constructor(k) { - if ((k !== undefined && typeof k !== 'object') || Array.isArray(k)) { - 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 = k || {} - } - apply(k) { - const v = this.options - const E = v.minSizeReduce || 1.5 - k.hooks.thisCompilation.tap('AggressiveMergingPlugin', (k) => { - k.hooks.optimizeChunks.tap( - { name: 'AggressiveMergingPlugin', stage: P }, - (v) => { - const P = k.chunkGraph - let R = [] - for (const k of v) { - if (k.canBeInitial()) continue - for (const E of v) { - if (E.canBeInitial()) continue - if (E === k) break - if (!P.canChunksBeIntegrated(k, E)) { - continue - } - const v = P.getChunkSize(E, { chunkOverhead: 0 }) - const L = P.getChunkSize(k, { chunkOverhead: 0 }) - const N = P.getIntegratedChunksSize(E, k, { - chunkOverhead: 0, - }) - const q = (v + L) / N - R.push({ a: k, b: E, improvement: q }) - } - } - R.sort((k, v) => v.improvement - k.improvement) - const L = R[0] - if (!L) return - if (L.improvement < E) return - P.integrateChunks(L.b, L.a) - k.chunks.delete(L.a) - return true - } - ) - }) - } - } - k.exports = AggressiveMergingPlugin - }, - 21684: function (k, v, E) { - 'use strict' - const { STAGE_ADVANCED: P } = E(99134) - const { intersect: R } = E(59959) - const { compareModulesByIdentifier: L, compareChunks: N } = E(95648) - const q = E(92198) - const ae = E(65315) - const le = q(E(70971), () => E(20443), { - name: 'Aggressive Splitting Plugin', - baseDataPath: 'options', - }) - const moveModuleBetween = (k, v, E) => (P) => { - k.disconnectChunkAndModule(v, P) - k.connectChunkAndModule(E, P) - } - const isNotAEntryModule = (k, v) => (E) => !k.isEntryModuleInChunk(E, v) - const pe = new WeakSet() - class AggressiveSplittingPlugin { - constructor(k = {}) { - le(k) - this.options = k - 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(k) { - return pe.has(k) - } - apply(k) { - k.hooks.thisCompilation.tap('AggressiveSplittingPlugin', (v) => { - let E = false - let q - let le - let me - v.hooks.optimize.tap('AggressiveSplittingPlugin', () => { - q = [] - le = new Set() - me = new Map() - }) - v.hooks.optimizeChunks.tap( - { name: 'AggressiveSplittingPlugin', stage: P }, - (E) => { - const P = v.chunkGraph - const pe = new Map() - const ye = new Map() - const _e = ae.makePathsRelative.bindContextCache( - k.context, - k.root - ) - for (const k of v.modules) { - const v = _e(k.identifier()) - pe.set(v, k) - ye.set(k, v) - } - const Ie = new Set() - for (const k of E) { - Ie.add(k.id) - } - const Me = (v.records && v.records.aggressiveSplits) || [] - const Te = q ? Me.concat(q) : Me - const je = this.options.minSize - const Ne = this.options.maxSize - const applySplit = (k) => { - if (k.id !== undefined && Ie.has(k.id)) { - return false - } - const E = k.modules.map((k) => pe.get(k)) - if (!E.every(Boolean)) return false - let L = 0 - for (const k of E) L += k.size() - if (L !== k.size) return false - const N = R( - E.map((k) => new Set(P.getModuleChunksIterable(k))) - ) - if (N.size === 0) return false - if ( - N.size === 1 && - P.getNumberOfChunkModules(Array.from(N)[0]) === E.length - ) { - const v = Array.from(N)[0] - if (le.has(v)) return false - le.add(v) - me.set(v, k) - return true - } - const q = v.addChunk() - q.chunkReason = 'aggressive splitted' - for (const k of N) { - E.forEach(moveModuleBetween(P, k, q)) - k.split(q) - k.name = null - } - le.add(q) - me.set(q, k) - if (k.id !== null && k.id !== undefined) { - q.id = k.id - q.ids = [k.id] - } - return true - } - let Be = false - for (let k = 0; k < Te.length; k++) { - const v = Te[k] - if (applySplit(v)) Be = true - } - const qe = N(P) - const Ue = Array.from(E).sort((k, v) => { - const E = P.getChunkModulesSize(v) - P.getChunkModulesSize(k) - if (E) return E - const R = - P.getNumberOfChunkModules(k) - P.getNumberOfChunkModules(v) - if (R) return R - return qe(k, v) - }) - for (const k of Ue) { - if (le.has(k)) continue - const v = P.getChunkModulesSize(k) - if (v > Ne && P.getNumberOfChunkModules(k) > 1) { - const v = P.getOrderedChunkModules(k, L).filter( - isNotAEntryModule(P, k) - ) - const E = [] - let R = 0 - for (let k = 0; k < v.length; k++) { - const P = v[k] - const L = R + P.size() - if (L > Ne && R >= je) { - break - } - R = L - E.push(P) - } - if (E.length === 0) continue - const N = { - modules: E.map((k) => ye.get(k)).sort(), - size: R, - } - if (applySplit(N)) { - q = (q || []).concat(N) - Be = true - } - } - } - if (Be) return true - } - ) - v.hooks.recordHash.tap('AggressiveSplittingPlugin', (k) => { - const P = new Set() - const R = new Set() - for (const k of v.chunks) { - const v = me.get(k) - if (v !== undefined) { - if (v.hash && k.hash !== v.hash) { - R.add(v) - } - } - } - if (R.size > 0) { - k.aggressiveSplits = k.aggressiveSplits.filter((k) => !R.has(k)) - E = true - } else { - for (const k of v.chunks) { - const v = me.get(k) - if (v !== undefined) { - v.hash = k.hash - v.id = k.id - P.add(v) - pe.add(k) - } - } - const L = v.records && v.records.aggressiveSplits - if (L) { - for (const k of L) { - if (!R.has(k)) P.add(k) - } - } - k.aggressiveSplits = Array.from(P) - E = false - } - }) - v.hooks.needAdditionalSeal.tap('AggressiveSplittingPlugin', () => { - if (E) { - E = false - return true - } - }) - }) - } - } - k.exports = AggressiveSplittingPlugin - }, - 94978: function (k, v, E) { - 'use strict' - const P = E(12836) - const R = E(48648) - const { CachedSource: L, ConcatSource: N, ReplaceSource: q } = E(51255) - const ae = E(91213) - const { UsageState: le } = E(11172) - const pe = E(88396) - const { JAVASCRIPT_MODULE_TYPE_ESM: me } = E(93622) - const ye = E(56727) - const _e = E(95041) - const Ie = E(69184) - const Me = E(81532) - const { equals: Te } = E(68863) - const je = E(12359) - const { concatComparators: Ne } = E(95648) - const Be = E(74012) - const { makePathsRelative: qe } = E(65315) - const Ue = E(58528) - const Ge = E(10720) - const { propertyName: He } = E(72627) - const { - filterRuntime: We, - intersectRuntime: Qe, - mergeRuntimeCondition: Je, - mergeRuntimeConditionNonFalse: Ve, - runtimeConditionToString: Ke, - subtractRuntimeCondition: Ye, - } = E(1540) - const Xe = R - if (!Xe.prototype.PropertyDefinition) { - Xe.prototype.PropertyDefinition = Xe.prototype.Property - } - const Ze = new Set( - [ - ae.DEFAULT_EXPORT, - ae.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,require,define', - '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 createComparator = (k, v) => (E, P) => v(E[k], P[k]) - const compareNumbers = (k, v) => { - if (isNaN(k)) { - if (!isNaN(v)) { - return 1 - } - } else { - if (isNaN(v)) { - return -1 - } - if (k !== v) { - return k < v ? -1 : 1 - } - } - return 0 - } - const et = createComparator('sourceOrder', compareNumbers) - const tt = createComparator('rangeStart', compareNumbers) - const joinIterableWithComma = (k) => { - let v = '' - let E = true - for (const P of k) { - if (E) { - E = false - } else { - v += ', ' - } - v += P - } - return v - } - const getFinalBinding = ( - k, - v, - E, - P, - R, - L, - N, - q, - ae, - le, - pe, - me = new Set() - ) => { - const ye = v.module.getExportsType(k, le) - if (E.length === 0) { - switch (ye) { - case 'default-only': - v.interopNamespaceObject2Used = true - return { - info: v, - rawName: v.interopNamespaceObject2Name, - ids: E, - exportName: E, - } - case 'default-with-named': - v.interopNamespaceObjectUsed = true - return { - info: v, - rawName: v.interopNamespaceObjectName, - ids: E, - exportName: E, - } - case 'namespace': - case 'dynamic': - break - default: - throw new Error(`Unexpected exportsType ${ye}`) - } - } else { - switch (ye) { - case 'namespace': - break - case 'default-with-named': - switch (E[0]) { - case 'default': - E = E.slice(1) - break - case '__esModule': - return { - info: v, - rawName: '/* __esModule */true', - ids: E.slice(1), - exportName: E, - } - } - break - case 'default-only': { - const k = E[0] - if (k === '__esModule') { - return { - info: v, - rawName: '/* __esModule */true', - ids: E.slice(1), - exportName: E, - } - } - E = E.slice(1) - if (k !== 'default') { - return { - info: v, - rawName: - '/* non-default import from default-exporting module */undefined', - ids: E, - exportName: E, - } - } - break - } - case 'dynamic': - switch (E[0]) { - case 'default': { - E = E.slice(1) - v.interopDefaultAccessUsed = true - const k = ae - ? `${v.interopDefaultAccessName}()` - : pe - ? `(${v.interopDefaultAccessName}())` - : pe === false - ? `;(${v.interopDefaultAccessName}())` - : `${v.interopDefaultAccessName}.a` - return { info: v, rawName: k, ids: E, exportName: E } - } - case '__esModule': - return { - info: v, - rawName: '/* __esModule */true', - ids: E.slice(1), - exportName: E, - } - } - break - default: - throw new Error(`Unexpected exportsType ${ye}`) - } - } - if (E.length === 0) { - switch (v.type) { - case 'concatenated': - q.add(v) - return { - info: v, - rawName: v.namespaceObjectName, - ids: E, - exportName: E, - } - case 'external': - return { info: v, rawName: v.name, ids: E, exportName: E } - } - } - const Ie = k.getExportsInfo(v.module) - const Me = Ie.getExportInfo(E[0]) - if (me.has(Me)) { - return { - info: v, - rawName: '/* circular reexport */ Object(function x() { x() }())', - ids: [], - exportName: E, - } - } - me.add(Me) - switch (v.type) { - case 'concatenated': { - const le = E[0] - if (Me.provided === false) { - q.add(v) - return { - info: v, - rawName: v.namespaceObjectName, - ids: E, - exportName: E, - } - } - const ye = v.exportMap && v.exportMap.get(le) - if (ye) { - const k = Ie.getUsedName(E, R) - if (!k) { - return { - info: v, - rawName: '/* unused export */ undefined', - ids: E.slice(1), - exportName: E, - } - } - return { info: v, name: ye, ids: k.slice(1), exportName: E } - } - const _e = v.rawExportMap && v.rawExportMap.get(le) - if (_e) { - return { info: v, rawName: _e, ids: E.slice(1), exportName: E } - } - const Te = Me.findTarget(k, (k) => P.has(k)) - if (Te === false) { - throw new Error( - `Target module of reexport from '${v.module.readableIdentifier( - L - )}' is not part of the concatenation (export '${le}')\nModules in the concatenation:\n${Array.from( - P, - ([k, v]) => ` * ${v.type} ${k.readableIdentifier(L)}` - ).join('\n')}` - ) - } - if (Te) { - const le = P.get(Te.module) - return getFinalBinding( - k, - le, - Te.export ? [...Te.export, ...E.slice(1)] : E.slice(1), - P, - R, - L, - N, - q, - ae, - v.module.buildMeta.strictHarmonyModule, - pe, - me - ) - } - if (v.namespaceExportSymbol) { - const k = Ie.getUsedName(E, R) - return { - info: v, - rawName: v.namespaceObjectName, - ids: k, - exportName: E, - } - } - throw new Error( - `Cannot get final name for export '${E.join( - '.' - )}' of ${v.module.readableIdentifier(L)}` - ) - } - case 'external': { - const k = Ie.getUsedName(E, R) - if (!k) { - return { - info: v, - rawName: '/* unused export */ undefined', - ids: E.slice(1), - exportName: E, - } - } - const P = Te(k, E) ? '' : _e.toNormalComment(`${E.join('.')}`) - return { info: v, rawName: v.name + P, ids: k, exportName: E } - } - } - } - const getFinalName = (k, v, E, P, R, L, N, q, ae, le, pe, me) => { - const ye = getFinalBinding(k, v, E, P, R, L, N, q, ae, pe, me) - { - const { ids: k, comment: v } = ye - let E - let P - if ('rawName' in ye) { - E = `${ye.rawName}${v || ''}${Ge(k)}` - P = k.length > 0 - } else { - const { info: R, name: N } = ye - const q = R.internalNames.get(N) - if (!q) { - throw new Error( - `The export "${N}" in "${R.module.readableIdentifier( - L - )}" has no internal name (existing names: ${ - Array.from(R.internalNames, ([k, v]) => `${k}: ${v}`).join( - ', ' - ) || 'none' - })` - ) - } - E = `${q}${v || ''}${Ge(k)}` - P = k.length > 1 - } - if (P && ae && le === false) { - return me - ? `(0,${E})` - : me === false - ? `;(0,${E})` - : `/*#__PURE__*/Object(${E})` - } - return E - } - } - const addScopeSymbols = (k, v, E, P) => { - let R = k - while (R) { - if (E.has(R)) break - if (P.has(R)) break - E.add(R) - for (const k of R.variables) { - v.add(k.name) - } - R = R.upper - } - } - const getAllReferences = (k) => { - let v = k.references - const E = new Set(k.identifiers) - for (const P of k.scope.childScopes) { - for (const k of P.variables) { - if (k.identifiers.some((k) => E.has(k))) { - v = v.concat(k.references) - break - } - } - } - return v - } - const getPathInAst = (k, v) => { - if (k === v) { - return [] - } - const E = v.range - const enterNode = (k) => { - if (!k) return undefined - const P = k.range - if (P) { - if (P[0] <= E[0] && P[1] >= E[1]) { - const E = getPathInAst(k, v) - if (E) { - E.push(k) - return E - } - } - } - return undefined - } - if (Array.isArray(k)) { - for (let v = 0; v < k.length; v++) { - const E = enterNode(k[v]) - if (E !== undefined) return E - } - } else if (k && typeof k === 'object') { - const E = Object.keys(k) - for (let P = 0; P < E.length; P++) { - const R = k[E[P]] - if (Array.isArray(R)) { - const k = getPathInAst(R, v) - if (k !== undefined) return k - } else if (R && typeof R === 'object') { - const k = enterNode(R) - if (k !== undefined) return k - } - } - } - } - const nt = new Set(['javascript']) - class ConcatenatedModule extends pe { - static create(k, v, E, P, R = 'md4') { - const L = ConcatenatedModule._createIdentifier(k, v, P, R) - return new ConcatenatedModule({ - identifier: L, - rootModule: k, - modules: v, - runtime: E, - }) - } - constructor({ identifier: k, rootModule: v, modules: E, runtime: P }) { - super(me, null, v && v.layer) - this._identifier = k - this.rootModule = v - this._modules = E - this._runtime = P - this.factoryMeta = v && v.factoryMeta - } - updateCacheModule(k) { - throw new Error('Must not be called') - } - getSourceTypes() { - return nt - } - get modules() { - return Array.from(this._modules) - } - identifier() { - return this._identifier - } - readableIdentifier(k) { - return ( - this.rootModule.readableIdentifier(k) + - ` + ${this._modules.size - 1} modules` - ) - } - libIdent(k) { - return this.rootModule.libIdent(k) - } - nameForCondition() { - return this.rootModule.nameForCondition() - } - getSideEffectsConnectionState(k) { - return this.rootModule.getSideEffectsConnectionState(k) - } - build(k, v, E, P, R) { - const { rootModule: L } = this - this.buildInfo = { - strict: true, - cacheable: true, - moduleArgument: L.buildInfo.moduleArgument, - exportsArgument: L.buildInfo.exportsArgument, - fileDependencies: new je(), - contextDependencies: new je(), - missingDependencies: new je(), - topLevelDeclarations: new Set(), - assets: undefined, - } - this.buildMeta = L.buildMeta - this.clearDependenciesAndBlocks() - this.clearWarningsAndErrors() - for (const k of this._modules) { - if (!k.buildInfo.cacheable) { - this.buildInfo.cacheable = false - } - for (const E of k.dependencies.filter( - (k) => - !(k instanceof Ie) || - !this._modules.has(v.moduleGraph.getModule(k)) - )) { - this.dependencies.push(E) - } - for (const v of k.blocks) { - this.blocks.push(v) - } - const E = k.getWarnings() - if (E !== undefined) { - for (const k of E) { - this.addWarning(k) - } - } - const P = k.getErrors() - if (P !== undefined) { - for (const k of P) { - this.addError(k) - } - } - if (k.buildInfo.topLevelDeclarations) { - const v = this.buildInfo.topLevelDeclarations - if (v !== undefined) { - for (const E of k.buildInfo.topLevelDeclarations) { - v.add(E) - } - } - } else { - this.buildInfo.topLevelDeclarations = undefined - } - if (k.buildInfo.assets) { - if (this.buildInfo.assets === undefined) { - this.buildInfo.assets = Object.create(null) - } - Object.assign(this.buildInfo.assets, k.buildInfo.assets) - } - if (k.buildInfo.assetsInfo) { - if (this.buildInfo.assetsInfo === undefined) { - this.buildInfo.assetsInfo = new Map() - } - for (const [v, E] of k.buildInfo.assetsInfo) { - this.buildInfo.assetsInfo.set(v, E) - } - } - } - R() - } - size(k) { - let v = 0 - for (const E of this._modules) { - v += E.size(k) - } - return v - } - _createConcatenationList(k, v, E, P) { - const R = [] - const L = new Map() - const getConcatenatedImports = (v) => { - let R = Array.from(P.getOutgoingConnections(v)) - if (v === k) { - for (const k of P.getOutgoingConnections(this)) R.push(k) - } - const L = R.filter((k) => { - if (!(k.dependency instanceof Ie)) return false - return ( - k && - k.resolvedOriginModule === v && - k.module && - k.isTargetActive(E) - ) - }).map((k) => { - const v = k.dependency - return { - connection: k, - sourceOrder: v.sourceOrder, - rangeStart: v.range && v.range[0], - } - }) - L.sort(Ne(et, tt)) - const N = new Map() - for (const { connection: k } of L) { - const v = We(E, (v) => k.isTargetActive(v)) - if (v === false) continue - const P = k.module - const R = N.get(P) - if (R === undefined) { - N.set(P, { connection: k, runtimeCondition: v }) - continue - } - R.runtimeCondition = Ve(R.runtimeCondition, v, E) - } - return N.values() - } - const enterModule = (k, P) => { - const N = k.module - if (!N) return - const q = L.get(N) - if (q === true) { - return - } - if (v.has(N)) { - L.set(N, true) - if (P !== true) { - throw new Error( - `Cannot runtime-conditional concatenate a module (${N.identifier()} in ${this.rootModule.identifier()}, ${Ke( - P - )}). This should not happen.` - ) - } - const v = getConcatenatedImports(N) - for (const { connection: k, runtimeCondition: E } of v) - enterModule(k, E) - R.push({ - type: 'concatenated', - module: k.module, - runtimeCondition: P, - }) - } else { - if (q !== undefined) { - const v = Ye(P, q, E) - if (v === false) return - P = v - L.set(k.module, Ve(q, P, E)) - } else { - L.set(k.module, P) - } - if (R.length > 0) { - const v = R[R.length - 1] - if (v.type === 'external' && v.module === k.module) { - v.runtimeCondition = Je(v.runtimeCondition, P, E) - return - } - } - R.push({ - type: 'external', - get module() { - return k.module - }, - runtimeCondition: P, - }) - } - } - L.set(k, true) - const N = getConcatenatedImports(k) - for (const { connection: k, runtimeCondition: v } of N) - enterModule(k, v) - R.push({ type: 'concatenated', module: k, runtimeCondition: true }) - return R - } - static _createIdentifier(k, v, E, P = 'md4') { - const R = qe.bindContextCache(k.context, E) - let L = [] - for (const k of v) { - L.push(R(k.identifier())) - } - L.sort() - const N = Be(P) - N.update(L.join(' ')) - return k.identifier() + '|' + N.digest('hex') - } - addCacheDependencies(k, v, E, P) { - for (const R of this._modules) { - R.addCacheDependencies(k, v, E, P) - } - } - codeGeneration({ - dependencyTemplates: k, - runtimeTemplate: v, - moduleGraph: E, - chunkGraph: P, - runtime: R, - codeGenerationResults: q, - }) { - const pe = new Set() - const me = Qe(R, this._runtime) - const _e = v.requestShortener - const [Ie, Me] = this._getModulesWithInfo(E, me) - const Te = new Set() - for (const R of Me.values()) { - this._analyseModule(Me, R, k, v, E, P, me, q) - } - const je = new Set(Ze) - const Ne = new Set() - const Be = new Map() - const getUsedNamesInScopeInfo = (k, v) => { - const E = `${k}-${v}` - let P = Be.get(E) - if (P === undefined) { - P = { usedNames: new Set(), alreadyCheckedScopes: new Set() } - Be.set(E, P) - } - return P - } - const qe = new Set() - for (const k of Ie) { - if (k.type === 'concatenated') { - if (k.moduleScope) { - qe.add(k.moduleScope) - } - const P = new WeakMap() - const getSuperClassExpressions = (k) => { - const v = P.get(k) - if (v !== undefined) return v - const E = [] - for (const v of k.childScopes) { - if (v.type !== 'class') continue - const k = v.block - if ( - (k.type === 'ClassDeclaration' || - k.type === 'ClassExpression') && - k.superClass - ) { - E.push({ - range: k.superClass.range, - variables: v.variables, - }) - } - } - P.set(k, E) - return E - } - if (k.globalScope) { - for (const P of k.globalScope.through) { - const R = P.identifier.name - if (ae.isModuleReference(R)) { - const L = ae.matchModuleReference(R) - if (!L) continue - const N = Ie[L.index] - if (N.type === 'reference') - throw new Error( - "Module reference can't point to a reference" - ) - const q = getFinalBinding( - E, - N, - L.ids, - Me, - me, - _e, - v, - Te, - false, - k.module.buildMeta.strictHarmonyModule, - true - ) - if (!q.ids) continue - const { usedNames: le, alreadyCheckedScopes: pe } = - getUsedNamesInScopeInfo( - q.info.module.identifier(), - 'name' in q ? q.name : '' - ) - for (const k of getSuperClassExpressions(P.from)) { - if ( - k.range[0] <= P.identifier.range[0] && - k.range[1] >= P.identifier.range[1] - ) { - for (const v of k.variables) { - le.add(v.name) - } - } - } - addScopeSymbols(P.from, le, pe, qe) - } else { - je.add(R) - } - } - } - } - } - for (const k of Me.values()) { - const { usedNames: v } = getUsedNamesInScopeInfo( - k.module.identifier(), - '' - ) - switch (k.type) { - case 'concatenated': { - for (const v of k.moduleScope.variables) { - const E = v.name - const { usedNames: P, alreadyCheckedScopes: R } = - getUsedNamesInScopeInfo(k.module.identifier(), E) - if (je.has(E) || P.has(E)) { - const L = getAllReferences(v) - for (const k of L) { - addScopeSymbols(k.from, P, R, qe) - } - const N = this.findNewName( - E, - je, - P, - k.module.readableIdentifier(_e) - ) - je.add(N) - k.internalNames.set(E, N) - Ne.add(N) - const q = k.source - const ae = new Set( - L.map((k) => k.identifier).concat(v.identifiers) - ) - for (const v of ae) { - const E = v.range - const P = getPathInAst(k.ast, v) - if (P && P.length > 1) { - const k = - P[1].type === 'AssignmentPattern' && - P[1].left === P[0] - ? P[2] - : P[1] - if (k.type === 'Property' && k.shorthand) { - q.insert(E[1], `: ${N}`) - continue - } - } - q.replace(E[0], E[1] - 1, N) - } - } else { - je.add(E) - k.internalNames.set(E, E) - Ne.add(E) - } - } - let E - if (k.namespaceExportSymbol) { - E = k.internalNames.get(k.namespaceExportSymbol) - } else { - E = this.findNewName( - 'namespaceObject', - je, - v, - k.module.readableIdentifier(_e) - ) - je.add(E) - } - k.namespaceObjectName = E - Ne.add(E) - break - } - case 'external': { - const E = this.findNewName( - '', - je, - v, - k.module.readableIdentifier(_e) - ) - je.add(E) - k.name = E - Ne.add(E) - break - } - } - if (k.module.buildMeta.exportsType !== 'namespace') { - const E = this.findNewName( - 'namespaceObject', - je, - v, - k.module.readableIdentifier(_e) - ) - je.add(E) - k.interopNamespaceObjectName = E - Ne.add(E) - } - if ( - k.module.buildMeta.exportsType === 'default' && - k.module.buildMeta.defaultObject !== 'redirect' - ) { - const E = this.findNewName( - 'namespaceObject2', - je, - v, - k.module.readableIdentifier(_e) - ) - je.add(E) - k.interopNamespaceObject2Name = E - Ne.add(E) - } - if ( - k.module.buildMeta.exportsType === 'dynamic' || - !k.module.buildMeta.exportsType - ) { - const E = this.findNewName( - 'default', - je, - v, - k.module.readableIdentifier(_e) - ) - je.add(E) - k.interopDefaultAccessName = E - Ne.add(E) - } - } - for (const k of Me.values()) { - if (k.type === 'concatenated') { - for (const P of k.globalScope.through) { - const R = P.identifier.name - const L = ae.matchModuleReference(R) - if (L) { - const R = Ie[L.index] - if (R.type === 'reference') - throw new Error( - "Module reference can't point to a reference" - ) - const N = getFinalName( - E, - R, - L.ids, - Me, - me, - _e, - v, - Te, - L.call, - !L.directImport, - k.module.buildMeta.strictHarmonyModule, - L.asiSafe - ) - const q = P.identifier.range - const ae = k.source - ae.replace(q[0], q[1] + 1, N) - } - } - } - } - const Ue = new Map() - const Ge = new Set() - const We = Me.get(this.rootModule) - const Je = We.module.buildMeta.strictHarmonyModule - const Ve = E.getExportsInfo(We.module) - for (const k of Ve.orderedExports) { - const P = k.name - if (k.provided === false) continue - const R = k.getUsedName(undefined, me) - if (!R) { - Ge.add(P) - continue - } - Ue.set(R, (L) => { - try { - const R = getFinalName( - E, - We, - [P], - Me, - me, - L, - v, - Te, - false, - false, - Je, - true - ) - return `/* ${k.isReexport() ? 'reexport' : 'binding'} */ ${R}` - } catch (k) { - k.message += `\nwhile generating the root export '${P}' (used name: '${R}')` - throw k - } - }) - } - const Ke = new N() - if ( - E.getExportsInfo(this).otherExportsInfo.getUsed(me) !== le.Unused - ) { - Ke.add(`// ESM COMPAT FLAG\n`) - Ke.add( - v.defineEsModuleFlagStatement({ - exportsArgument: this.exportsArgument, - runtimeRequirements: pe, - }) - ) - } - if (Ue.size > 0) { - pe.add(ye.exports) - pe.add(ye.definePropertyGetters) - const k = [] - for (const [E, P] of Ue) { - k.push(`\n ${He(E)}: ${v.returningFunction(P(_e))}`) - } - Ke.add(`\n// EXPORTS\n`) - Ke.add( - `${ye.definePropertyGetters}(${this.exportsArgument}, {${k.join( - ',' - )}\n});\n` - ) - } - if (Ge.size > 0) { - Ke.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(Ge)}\n`) - } - const Ye = new Map() - for (const k of Te) { - if (k.namespaceExportSymbol) continue - const P = [] - const R = E.getExportsInfo(k.module) - for (const L of R.orderedExports) { - if (L.provided === false) continue - const R = L.getUsedName(undefined, me) - if (R) { - const N = getFinalName( - E, - k, - [L.name], - Me, - me, - _e, - v, - Te, - false, - undefined, - k.module.buildMeta.strictHarmonyModule, - true - ) - P.push(`\n ${He(R)}: ${v.returningFunction(N)}`) - } - } - const L = k.namespaceObjectName - const N = - P.length > 0 - ? `${ye.definePropertyGetters}(${L}, {${P.join(',')}\n});\n` - : '' - if (P.length > 0) pe.add(ye.definePropertyGetters) - Ye.set( - k, - `\n// NAMESPACE OBJECT: ${k.module.readableIdentifier( - _e - )}\nvar ${L} = {};\n${ye.makeNamespaceObject}(${L});\n${N}` - ) - pe.add(ye.makeNamespaceObject) - } - for (const k of Ie) { - if (k.type === 'concatenated') { - const v = Ye.get(k) - if (!v) continue - Ke.add(v) - } - } - const Xe = [] - for (const k of Ie) { - let E - let R = false - const L = k.type === 'reference' ? k.target : k - switch (L.type) { - case 'concatenated': { - Ke.add( - `\n;// CONCATENATED MODULE: ${L.module.readableIdentifier( - _e - )}\n` - ) - Ke.add(L.source) - if (L.chunkInitFragments) { - for (const k of L.chunkInitFragments) Xe.push(k) - } - if (L.runtimeRequirements) { - for (const k of L.runtimeRequirements) { - pe.add(k) - } - } - E = L.namespaceObjectName - break - } - case 'external': { - Ke.add( - `\n// EXTERNAL MODULE: ${L.module.readableIdentifier(_e)}\n` - ) - pe.add(ye.require) - const { runtimeCondition: N } = k - const q = v.runtimeConditionExpression({ - chunkGraph: P, - runtimeCondition: N, - runtime: me, - runtimeRequirements: pe, - }) - if (q !== 'true') { - R = true - Ke.add(`if (${q}) {\n`) - } - Ke.add( - `var ${L.name} = ${ye.require}(${JSON.stringify( - P.getModuleId(L.module) - )});` - ) - E = L.name - break - } - default: - throw new Error( - `Unsupported concatenation entry type ${L.type}` - ) - } - if (L.interopNamespaceObjectUsed) { - pe.add(ye.createFakeNamespaceObject) - Ke.add( - `\nvar ${L.interopNamespaceObjectName} = /*#__PURE__*/${ye.createFakeNamespaceObject}(${E}, 2);` - ) - } - if (L.interopNamespaceObject2Used) { - pe.add(ye.createFakeNamespaceObject) - Ke.add( - `\nvar ${L.interopNamespaceObject2Name} = /*#__PURE__*/${ye.createFakeNamespaceObject}(${E});` - ) - } - if (L.interopDefaultAccessUsed) { - pe.add(ye.compatGetDefaultExport) - Ke.add( - `\nvar ${L.interopDefaultAccessName} = /*#__PURE__*/${ye.compatGetDefaultExport}(${E});` - ) - } - if (R) { - Ke.add('\n}') - } - } - const et = new Map() - if (Xe.length > 0) et.set('chunkInitFragments', Xe) - et.set('topLevelDeclarations', Ne) - const tt = { - sources: new Map([['javascript', new L(Ke)]]), - data: et, - runtimeRequirements: pe, - } - return tt - } - _analyseModule(k, v, E, R, L, N, le, pe) { - if (v.type === 'concatenated') { - const me = v.module - try { - const ye = new ae(k, v) - const _e = me.codeGeneration({ - dependencyTemplates: E, - runtimeTemplate: R, - moduleGraph: L, - chunkGraph: N, - runtime: le, - concatenationScope: ye, - codeGenerationResults: pe, - sourceTypes: nt, - }) - const Ie = _e.sources.get('javascript') - const Te = _e.data - const je = Te && Te.get('chunkInitFragments') - const Ne = Ie.source().toString() - let Be - try { - Be = Me._parse(Ne, { sourceType: 'module' }) - } catch (k) { - if ( - k.loc && - typeof k.loc === 'object' && - typeof k.loc.line === 'number' - ) { - const v = k.loc.line - const E = Ne.split('\n') - k.message += - '\n| ' + E.slice(Math.max(0, v - 3), v + 2).join('\n| ') - } - throw k - } - const qe = P.analyze(Be, { - ecmaVersion: 6, - sourceType: 'module', - optimistic: true, - ignoreEval: true, - impliedStrict: true, - }) - const Ue = qe.acquire(Be) - const Ge = Ue.childScopes[0] - const He = new q(Ie) - v.runtimeRequirements = _e.runtimeRequirements - v.ast = Be - v.internalSource = Ie - v.source = He - v.chunkInitFragments = je - v.globalScope = Ue - v.moduleScope = Ge - } catch (k) { - k.message += `\nwhile analyzing module ${me.identifier()} for concatenation` - throw k - } - } - } - _getModulesWithInfo(k, v) { - const E = this._createConcatenationList( - this.rootModule, - this._modules, - v, - k - ) - const P = new Map() - const R = E.map((k, v) => { - let E = P.get(k.module) - if (E === undefined) { - switch (k.type) { - case 'concatenated': - E = { - type: 'concatenated', - module: k.module, - index: v, - 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': - E = { - type: 'external', - module: k.module, - runtimeCondition: k.runtimeCondition, - index: v, - name: undefined, - interopNamespaceObjectUsed: false, - interopNamespaceObjectName: undefined, - interopNamespaceObject2Used: false, - interopNamespaceObject2Name: undefined, - interopDefaultAccessUsed: false, - interopDefaultAccessName: undefined, - } - break - default: - throw new Error( - `Unsupported concatenation entry type ${k.type}` - ) - } - P.set(E.module, E) - return E - } else { - const v = { - type: 'reference', - runtimeCondition: k.runtimeCondition, - target: E, - } - return v - } - }) - return [R, P] - } - findNewName(k, v, E, P) { - let R = k - if (R === ae.DEFAULT_EXPORT) { - R = '' - } - if (R === ae.NAMESPACE_OBJECT_EXPORT) { - R = 'namespaceObject' - } - P = P.replace( - /\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g, - '' - ) - const L = P.split('/') - while (L.length) { - R = L.pop() + (R ? '_' + R : '') - const k = _e.toIdentifier(R) - if (!v.has(k) && (!E || !E.has(k))) return k - } - let N = 0 - let q = _e.toIdentifier(`${R}_${N}`) - while (v.has(q) || (E && E.has(q))) { - N++ - q = _e.toIdentifier(`${R}_${N}`) - } - return q - } - updateHash(k, v) { - const { chunkGraph: E, runtime: P } = v - for (const R of this._createConcatenationList( - this.rootModule, - this._modules, - Qe(P, this._runtime), - E.moduleGraph - )) { - switch (R.type) { - case 'concatenated': - R.module.updateHash(k, v) - break - case 'external': - k.update(`${E.getModuleId(R.module)}`) - break - } - } - super.updateHash(k, v) - } - static deserialize(k) { - const v = new ConcatenatedModule({ - identifier: undefined, - rootModule: undefined, - modules: undefined, - runtime: undefined, - }) - v.deserialize(k) - return v - } - } - Ue(ConcatenatedModule, 'webpack/lib/optimize/ConcatenatedModule') - k.exports = ConcatenatedModule - }, - 4945: function (k, v, E) { - 'use strict' - const { STAGE_BASIC: P } = E(99134) - class EnsureChunkConditionsPlugin { - apply(k) { - k.hooks.compilation.tap('EnsureChunkConditionsPlugin', (k) => { - const handler = (v) => { - const E = k.chunkGraph - const P = new Set() - const R = new Set() - for (const v of k.modules) { - if (!v.hasChunkCondition()) continue - for (const L of E.getModuleChunksIterable(v)) { - if (!v.chunkCondition(L, k)) { - P.add(L) - for (const k of L.groupsIterable) { - R.add(k) - } - } - } - if (P.size === 0) continue - const L = new Set() - e: for (const E of R) { - for (const P of E.chunks) { - if (v.chunkCondition(P, k)) { - L.add(P) - continue e - } - } - if (E.isInitial()) { - throw new Error( - 'Cannot fullfil chunk condition of ' + v.identifier() - ) - } - for (const k of E.parentsIterable) { - R.add(k) - } - } - for (const k of P) { - E.disconnectChunkAndModule(k, v) - } - for (const k of L) { - E.connectChunkAndModule(k, v) - } - P.clear() - R.clear() - } - } - k.hooks.optimizeChunks.tap( - { name: 'EnsureChunkConditionsPlugin', stage: P }, - handler - ) - }) - } - } - k.exports = EnsureChunkConditionsPlugin - }, - 63511: function (k) { - 'use strict' - class FlagIncludedChunksPlugin { - apply(k) { - k.hooks.compilation.tap('FlagIncludedChunksPlugin', (k) => { - k.hooks.optimizeChunkIds.tap('FlagIncludedChunksPlugin', (v) => { - const E = k.chunkGraph - const P = new WeakMap() - const R = k.modules.size - const L = 1 / Math.pow(1 / R, 1 / 31) - const N = Array.from({ length: 31 }, (k, v) => Math.pow(L, v) | 0) - let q = 0 - for (const v of k.modules) { - let k = 30 - while (q % N[k] !== 0) { - k-- - } - P.set(v, 1 << k) - q++ - } - const ae = new WeakMap() - for (const k of v) { - let v = 0 - for (const R of E.getChunkModulesIterable(k)) { - v |= P.get(R) - } - ae.set(k, v) - } - for (const k of v) { - const v = ae.get(k) - const P = E.getNumberOfChunkModules(k) - if (P === 0) continue - let R = undefined - for (const v of E.getChunkModulesIterable(k)) { - if ( - R === undefined || - E.getNumberOfModuleChunks(R) > E.getNumberOfModuleChunks(v) - ) - R = v - } - e: for (const L of E.getModuleChunksIterable(R)) { - if (k === L) continue - const R = E.getNumberOfChunkModules(L) - if (R === 0) continue - if (P > R) continue - const N = ae.get(L) - if ((N & v) !== v) continue - for (const v of E.getChunkModulesIterable(k)) { - if (!E.isModuleInChunk(v, L)) continue e - } - L.ids.push(k.id) - } - } - }) - }) - } - } - k.exports = FlagIncludedChunksPlugin - }, - 88926: function (k, v, E) { - 'use strict' - const { UsageState: P } = E(11172) - const R = new WeakMap() - const L = Symbol('top level symbol') - function getState(k) { - return R.get(k) - } - v.bailout = (k) => { - R.set(k, false) - } - v.enable = (k) => { - const v = R.get(k) - if (v === false) { - return - } - R.set(k, { - innerGraph: new Map(), - currentTopLevelSymbol: undefined, - usageCallbackMap: new Map(), - }) - } - v.isEnabled = (k) => { - const v = R.get(k) - return !!v - } - v.addUsage = (k, v, E) => { - const P = getState(k) - if (P) { - const { innerGraph: k } = P - const R = k.get(v) - if (E === true) { - k.set(v, true) - } else if (R === undefined) { - k.set(v, new Set([E])) - } else if (R !== true) { - R.add(E) - } - } - } - v.addVariableUsage = (k, E, P) => { - const R = k.getTagData(E, L) || v.tagTopLevelSymbol(k, E) - if (R) { - v.addUsage(k.state, R, P) - } - } - v.inferDependencyUsage = (k) => { - const v = getState(k) - if (!v) { - return - } - const { innerGraph: E, usageCallbackMap: P } = v - const R = new Map() - const L = new Set(E.keys()) - while (L.size > 0) { - for (const k of L) { - let v = new Set() - let P = true - const N = E.get(k) - let q = R.get(k) - if (q === undefined) { - q = new Set() - R.set(k, q) - } - if (N !== true && N !== undefined) { - for (const k of N) { - q.add(k) - } - for (const R of N) { - if (typeof R === 'string') { - v.add(R) - } else { - const L = E.get(R) - if (L === true) { - v = true - break - } - if (L !== undefined) { - for (const E of L) { - if (E === k) continue - if (q.has(E)) continue - v.add(E) - if (typeof E !== 'string') { - P = false - } - } - } - } - } - if (v === true) { - E.set(k, true) - } else if (v.size === 0) { - E.set(k, undefined) - } else { - E.set(k, v) - } - } - if (P) { - L.delete(k) - if (k === null) { - const k = E.get(null) - if (k) { - for (const [v, P] of E) { - if (v !== null && P !== true) { - if (k === true) { - E.set(v, true) - } else { - const R = new Set(P) - for (const v of k) { - R.add(v) - } - E.set(v, R) - } - } - } - } - } - } - } - } - for (const [k, v] of P) { - const P = E.get(k) - for (const k of v) { - k(P === undefined ? false : P) - } - } - } - v.onUsage = (k, v) => { - const E = getState(k) - if (E) { - const { usageCallbackMap: k, currentTopLevelSymbol: P } = E - if (P) { - let E = k.get(P) - if (E === undefined) { - E = new Set() - k.set(P, E) - } - E.add(v) - } else { - v(true) - } - } else { - v(undefined) - } - } - v.setTopLevelSymbol = (k, v) => { - const E = getState(k) - if (E) { - E.currentTopLevelSymbol = v - } - } - v.getTopLevelSymbol = (k) => { - const v = getState(k) - if (v) { - return v.currentTopLevelSymbol - } - } - v.tagTopLevelSymbol = (k, v) => { - const E = getState(k.state) - if (!E) return - k.defineVariable(v) - const P = k.getTagData(v, L) - if (P) { - return P - } - const R = new TopLevelSymbol(v) - k.tagVariable(v, L, R) - return R - } - v.isDependencyUsedByExports = (k, v, E, R) => { - if (v === false) return false - if (v !== true && v !== undefined) { - const L = E.getParentModule(k) - const N = E.getExportsInfo(L) - let q = false - for (const k of v) { - if (N.getUsed(k, R) !== P.Unused) q = true - } - if (!q) return false - } - return true - } - v.getDependencyUsedByExportsCondition = (k, v, E) => { - if (v === false) return false - if (v !== true && v !== undefined) { - const R = E.getParentModule(k) - const L = E.getExportsInfo(R) - return (k, E) => { - for (const k of v) { - if (L.getUsed(k, E) !== P.Unused) return true - } - return false - } - } - return null - } - class TopLevelSymbol { - constructor(k) { - this.name = k - } - } - v.TopLevelSymbol = TopLevelSymbol - v.topLevelSymbolTag = L - }, - 31911: function (k, v, E) { - 'use strict' - const { JAVASCRIPT_MODULE_TYPE_AUTO: P, JAVASCRIPT_MODULE_TYPE_ESM: R } = - E(93622) - const L = E(19308) - const N = E(88926) - const { topLevelSymbolTag: q } = N - const ae = 'InnerGraphPlugin' - class InnerGraphPlugin { - apply(k) { - k.hooks.compilation.tap(ae, (k, { normalModuleFactory: v }) => { - const E = k.getLogger('webpack.InnerGraphPlugin') - k.dependencyTemplates.set(L, new L.Template()) - const handler = (k, v) => { - const onUsageSuper = (v) => { - N.onUsage(k.state, (E) => { - switch (E) { - case undefined: - case true: - return - default: { - const P = new L(v.range) - P.loc = v.loc - P.usedByExports = E - k.state.module.addDependency(P) - break - } - } - }) - } - k.hooks.program.tap(ae, () => { - N.enable(k.state) - }) - k.hooks.finish.tap(ae, () => { - if (!N.isEnabled(k.state)) return - E.time('infer dependency usage') - N.inferDependencyUsage(k.state) - E.timeAggregate('infer dependency usage') - }) - const P = new WeakMap() - const R = new WeakMap() - const le = new WeakMap() - const pe = new WeakMap() - const me = new WeakSet() - k.hooks.preStatement.tap(ae, (v) => { - if (!N.isEnabled(k.state)) return - if (k.scope.topLevelScope === true) { - if (v.type === 'FunctionDeclaration') { - const E = v.id ? v.id.name : '*default*' - const R = N.tagTopLevelSymbol(k, E) - P.set(v, R) - return true - } - } - }) - k.hooks.blockPreStatement.tap(ae, (v) => { - if (!N.isEnabled(k.state)) return - if (k.scope.topLevelScope === true) { - if ( - v.type === 'ClassDeclaration' && - k.isPure(v, v.range[0]) - ) { - const E = v.id ? v.id.name : '*default*' - const P = N.tagTopLevelSymbol(k, E) - le.set(v, P) - return true - } - if (v.type === 'ExportDefaultDeclaration') { - const E = '*default*' - const L = N.tagTopLevelSymbol(k, E) - const q = v.declaration - if ( - (q.type === 'ClassExpression' || - q.type === 'ClassDeclaration') && - k.isPure(q, q.range[0]) - ) { - le.set(q, L) - } else if (k.isPure(q, v.range[0])) { - P.set(v, L) - if ( - !q.type.endsWith('FunctionExpression') && - !q.type.endsWith('Declaration') && - q.type !== 'Literal' - ) { - R.set(v, q) - } - } - } - } - }) - k.hooks.preDeclarator.tap(ae, (v, E) => { - if (!N.isEnabled(k.state)) return - if ( - k.scope.topLevelScope === true && - v.init && - v.id.type === 'Identifier' - ) { - const E = v.id.name - if ( - v.init.type === 'ClassExpression' && - k.isPure(v.init, v.id.range[1]) - ) { - const P = N.tagTopLevelSymbol(k, E) - le.set(v.init, P) - } else if (k.isPure(v.init, v.id.range[1])) { - const P = N.tagTopLevelSymbol(k, E) - pe.set(v, P) - if ( - !v.init.type.endsWith('FunctionExpression') && - v.init.type !== 'Literal' - ) { - me.add(v) - } - return true - } - } - }) - k.hooks.statement.tap(ae, (v) => { - if (!N.isEnabled(k.state)) return - if (k.scope.topLevelScope === true) { - N.setTopLevelSymbol(k.state, undefined) - const E = P.get(v) - if (E) { - N.setTopLevelSymbol(k.state, E) - const P = R.get(v) - if (P) { - N.onUsage(k.state, (E) => { - switch (E) { - case undefined: - case true: - return - default: { - const R = new L(P.range) - R.loc = v.loc - R.usedByExports = E - k.state.module.addDependency(R) - break - } - } - }) - } - } - } - }) - k.hooks.classExtendsExpression.tap(ae, (v, E) => { - if (!N.isEnabled(k.state)) return - if (k.scope.topLevelScope === true) { - const P = le.get(E) - if (P && k.isPure(v, E.id ? E.id.range[1] : E.range[0])) { - N.setTopLevelSymbol(k.state, P) - onUsageSuper(v) - } - } - }) - k.hooks.classBodyElement.tap(ae, (v, E) => { - if (!N.isEnabled(k.state)) return - if (k.scope.topLevelScope === true) { - const v = le.get(E) - if (v) { - N.setTopLevelSymbol(k.state, undefined) - } - } - }) - k.hooks.classBodyValue.tap(ae, (v, E, P) => { - if (!N.isEnabled(k.state)) return - if (k.scope.topLevelScope === true) { - const R = le.get(P) - if (R) { - if ( - !E.static || - k.isPure(v, E.key ? E.key.range[1] : E.range[0]) - ) { - N.setTopLevelSymbol(k.state, R) - if (E.type !== 'MethodDefinition' && E.static) { - N.onUsage(k.state, (E) => { - switch (E) { - case undefined: - case true: - return - default: { - const P = new L(v.range) - P.loc = v.loc - P.usedByExports = E - k.state.module.addDependency(P) - break - } - } - }) - } - } else { - N.setTopLevelSymbol(k.state, undefined) - } - } - } - }) - k.hooks.declarator.tap(ae, (v, E) => { - if (!N.isEnabled(k.state)) return - const P = pe.get(v) - if (P) { - N.setTopLevelSymbol(k.state, P) - if (me.has(v)) { - if (v.init.type === 'ClassExpression') { - if (v.init.superClass) { - onUsageSuper(v.init.superClass) - } - } else { - N.onUsage(k.state, (E) => { - switch (E) { - case undefined: - case true: - return - default: { - const P = new L(v.init.range) - P.loc = v.loc - P.usedByExports = E - k.state.module.addDependency(P) - break - } - } - }) - } - } - k.walkExpression(v.init) - N.setTopLevelSymbol(k.state, undefined) - return true - } - }) - k.hooks.expression.for(q).tap(ae, () => { - const v = k.currentTagData - const E = N.getTopLevelSymbol(k.state) - N.addUsage(k.state, v, E || true) - }) - k.hooks.assign.for(q).tap(ae, (v) => { - if (!N.isEnabled(k.state)) return - if (v.operator === '=') return true - }) - } - v.hooks.parser.for(P).tap(ae, handler) - v.hooks.parser.for(R).tap(ae, handler) - k.hooks.finishModules.tap(ae, () => { - E.timeAggregateEnd('infer dependency usage') - }) - }) - } - } - k.exports = InnerGraphPlugin - }, - 17452: function (k, v, E) { - 'use strict' - const { STAGE_ADVANCED: P } = E(99134) - const R = E(50680) - const { compareChunks: L } = E(95648) - const N = E(92198) - const q = N(E(39559), () => E(30355), { - name: 'Limit Chunk Count Plugin', - baseDataPath: 'options', - }) - const addToSetMap = (k, v, E) => { - const P = k.get(v) - if (P === undefined) { - k.set(v, new Set([E])) - } else { - P.add(E) - } - } - class LimitChunkCountPlugin { - constructor(k) { - q(k) - this.options = k - } - apply(k) { - const v = this.options - k.hooks.compilation.tap('LimitChunkCountPlugin', (k) => { - k.hooks.optimizeChunks.tap( - { name: 'LimitChunkCountPlugin', stage: P }, - (E) => { - const P = k.chunkGraph - const N = v.maxChunks - if (!N) return - if (N < 1) return - if (k.chunks.size <= N) return - let q = k.chunks.size - N - const ae = L(P) - const le = Array.from(E).sort(ae) - const pe = new R( - (k) => k.sizeDiff, - (k, v) => v - k, - (k) => k.integratedSize, - (k, v) => k - v, - (k) => k.bIdx - k.aIdx, - (k, v) => k - v, - (k, v) => k.bIdx - v.bIdx - ) - const me = new Map() - le.forEach((k, E) => { - for (let R = 0; R < E; R++) { - const L = le[R] - if (!P.canChunksBeIntegrated(L, k)) continue - const N = P.getIntegratedChunksSize(L, k, v) - const q = P.getChunkSize(L, v) - const ae = P.getChunkSize(k, v) - const ye = { - deleted: false, - sizeDiff: q + ae - N, - integratedSize: N, - a: L, - b: k, - aIdx: R, - bIdx: E, - aSize: q, - bSize: ae, - } - pe.add(ye) - addToSetMap(me, L, ye) - addToSetMap(me, k, ye) - } - return pe - }) - const ye = new Set() - let _e = false - e: while (true) { - const E = pe.popFirst() - if (E === undefined) break - E.deleted = true - const { a: R, b: L, integratedSize: N } = E - if (ye.size > 0) { - const k = new Set(R.groupsIterable) - for (const v of L.groupsIterable) { - k.add(v) - } - for (const v of k) { - for (const k of ye) { - if (k !== R && k !== L && k.isInGroup(v)) { - q-- - if (q <= 0) break e - ye.add(R) - ye.add(L) - continue e - } - } - for (const E of v.parentsIterable) { - k.add(E) - } - } - } - if (P.canChunksBeIntegrated(R, L)) { - P.integrateChunks(R, L) - k.chunks.delete(L) - ye.add(R) - _e = true - q-- - if (q <= 0) break - for (const k of me.get(R)) { - if (k.deleted) continue - k.deleted = true - pe.delete(k) - } - for (const k of me.get(L)) { - if (k.deleted) continue - if (k.a === L) { - if (!P.canChunksBeIntegrated(R, k.b)) { - k.deleted = true - pe.delete(k) - continue - } - const E = P.getIntegratedChunksSize(R, k.b, v) - const L = pe.startUpdate(k) - k.a = R - k.integratedSize = E - k.aSize = N - k.sizeDiff = k.bSize + N - E - L() - } else if (k.b === L) { - if (!P.canChunksBeIntegrated(k.a, R)) { - k.deleted = true - pe.delete(k) - continue - } - const E = P.getIntegratedChunksSize(k.a, R, v) - const L = pe.startUpdate(k) - k.b = R - k.integratedSize = E - k.bSize = N - k.sizeDiff = N + k.aSize - E - L() - } - } - me.set(R, me.get(L)) - me.delete(L) - } - } - if (_e) return true - } - ) - }) - } - } - k.exports = LimitChunkCountPlugin - }, - 45287: function (k, v, E) { - 'use strict' - const { UsageState: P } = E(11172) - const { - numberToIdentifier: R, - NUMBER_OF_IDENTIFIER_START_CHARS: L, - NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS: N, - } = E(95041) - const { assignDeterministicIds: q } = E(88667) - const { compareSelect: ae, compareStringsNumeric: le } = E(95648) - const canMangle = (k) => { - if (k.otherExportsInfo.getUsed(undefined) !== P.Unused) return false - let v = false - for (const E of k.exports) { - if (E.canMangle === true) { - v = true - } - } - return v - } - const pe = ae((k) => k.name, le) - const mangleExportsInfo = (k, v, E) => { - if (!canMangle(v)) return - const ae = new Set() - const le = [] - let me = !E - if (!me && k) { - for (const k of v.ownedExports) { - if (k.provided !== false) { - me = true - break - } - } - } - for (const E of v.ownedExports) { - const v = E.name - if (!E.hasUsedName()) { - if ( - E.canMangle !== true || - (v.length === 1 && /^[a-zA-Z0-9_$]/.test(v)) || - (k && - v.length === 2 && - /^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(v)) || - (me && E.provided !== true) - ) { - E.setUsedName(v) - ae.add(v) - } else { - le.push(E) - } - } - if (E.exportsInfoOwned) { - const v = E.getUsed(undefined) - if (v === P.OnlyPropertiesUsed || v === P.Unused) { - mangleExportsInfo(k, E.exportsInfo, false) - } - } - } - if (k) { - q( - le, - (k) => k.name, - pe, - (k, v) => { - const E = R(v) - const P = ae.size - ae.add(E) - if (P === ae.size) return false - k.setUsedName(E) - return true - }, - [L, L * N], - N, - ae.size - ) - } else { - const k = [] - const v = [] - for (const E of le) { - if (E.getUsed(undefined) === P.Unused) { - v.push(E) - } else { - k.push(E) - } - } - k.sort(pe) - v.sort(pe) - let E = 0 - for (const P of [k, v]) { - for (const k of P) { - let v - do { - v = R(E++) - } while (ae.has(v)) - k.setUsedName(v) - } - } - } - } - class MangleExportsPlugin { - constructor(k) { - this._deterministic = k - } - apply(k) { - const { _deterministic: v } = this - k.hooks.compilation.tap('MangleExportsPlugin', (k) => { - const E = k.moduleGraph - k.hooks.optimizeCodeGeneration.tap('MangleExportsPlugin', (P) => { - if (k.moduleMemCaches) { - throw new Error( - "optimization.mangleExports can't be used with cacheUnaffected as export mangling is a global effect" - ) - } - for (const k of P) { - const P = k.buildMeta && k.buildMeta.exportsType === 'namespace' - const R = E.getExportsInfo(k) - mangleExportsInfo(v, R, P) - } - }) - }) - } - } - k.exports = MangleExportsPlugin - }, - 79008: function (k, v, E) { - 'use strict' - const { STAGE_BASIC: P } = E(99134) - const { runtimeEqual: R } = E(1540) - class MergeDuplicateChunksPlugin { - apply(k) { - k.hooks.compilation.tap('MergeDuplicateChunksPlugin', (k) => { - k.hooks.optimizeChunks.tap( - { name: 'MergeDuplicateChunksPlugin', stage: P }, - (v) => { - const { chunkGraph: E, moduleGraph: P } = k - const L = new Set() - for (const N of v) { - let v - for (const k of E.getChunkModulesIterable(N)) { - if (v === undefined) { - for (const P of E.getModuleChunksIterable(k)) { - if ( - P !== N && - E.getNumberOfChunkModules(N) === - E.getNumberOfChunkModules(P) && - !L.has(P) - ) { - if (v === undefined) { - v = new Set() - } - v.add(P) - } - } - if (v === undefined) break - } else { - for (const P of v) { - if (!E.isModuleInChunk(k, P)) { - v.delete(P) - } - } - if (v.size === 0) break - } - } - if (v !== undefined && v.size > 0) { - e: for (const L of v) { - if (L.hasRuntime() !== N.hasRuntime()) continue - if (E.getNumberOfEntryModules(N) > 0) continue - if (E.getNumberOfEntryModules(L) > 0) continue - if (!R(N.runtime, L.runtime)) { - for (const k of E.getChunkModulesIterable(N)) { - const v = P.getExportsInfo(k) - if (!v.isEquallyUsed(N.runtime, L.runtime)) { - continue e - } - } - } - if (E.canChunksBeIntegrated(N, L)) { - E.integrateChunks(N, L) - k.chunks.delete(L) - } - } - } - L.add(N) - } - } - ) - }) - } - } - k.exports = MergeDuplicateChunksPlugin - }, - 25971: function (k, v, E) { - 'use strict' - const { STAGE_ADVANCED: P } = E(99134) - const R = E(92198) - const L = R(E(30666), () => E(78782), { - name: 'Min Chunk Size Plugin', - baseDataPath: 'options', - }) - class MinChunkSizePlugin { - constructor(k) { - L(k) - this.options = k - } - apply(k) { - const v = this.options - const E = v.minChunkSize - k.hooks.compilation.tap('MinChunkSizePlugin', (k) => { - k.hooks.optimizeChunks.tap( - { name: 'MinChunkSizePlugin', stage: P }, - (P) => { - const R = k.chunkGraph - const L = { chunkOverhead: 1, entryChunkMultiplicator: 1 } - const N = new Map() - const q = [] - const ae = [] - const le = [] - for (const k of P) { - if (R.getChunkSize(k, L) < E) { - ae.push(k) - for (const v of le) { - if (R.canChunksBeIntegrated(v, k)) q.push([v, k]) - } - } else { - for (const v of ae) { - if (R.canChunksBeIntegrated(v, k)) q.push([v, k]) - } - } - N.set(k, R.getChunkSize(k, v)) - le.push(k) - } - const pe = q - .map((k) => { - const E = N.get(k[0]) - const P = N.get(k[1]) - const L = R.getIntegratedChunksSize(k[0], k[1], v) - const q = [E + P - L, L, k[0], k[1]] - return q - }) - .sort((k, v) => { - const E = v[0] - k[0] - if (E !== 0) return E - return k[1] - v[1] - }) - if (pe.length === 0) return - const me = pe[0] - R.integrateChunks(me[2], me[3]) - k.chunks.delete(me[3]) - return true - } - ) - }) - } - } - k.exports = MinChunkSizePlugin - }, - 47490: function (k, v, E) { - 'use strict' - const P = E(3386) - const R = E(71572) - class MinMaxSizeWarning extends R { - constructor(k, v, E) { - let R = 'Fallback cache group' - if (k) { - R = - k.length > 1 - ? `Cache groups ${k.sort().join(', ')}` - : `Cache group ${k[0]}` - } - super( - `SplitChunksPlugin\n` + - `${R}\n` + - `Configured minSize (${P.formatSize(v)}) is ` + - `bigger than maxSize (${P.formatSize(E)}).\n` + - 'This seem to be a invalid optimization.splitChunks configuration.' - ) - } - } - k.exports = MinMaxSizeWarning - }, - 30899: function (k, v, E) { - 'use strict' - const P = E(78175) - const R = E(38317) - const L = E(88223) - const { STAGE_DEFAULT: N } = E(99134) - const q = E(69184) - const { compareModulesByIdentifier: ae } = E(95648) - const { - intersectRuntime: le, - mergeRuntimeOwned: pe, - filterRuntime: me, - runtimeToString: ye, - mergeRuntime: _e, - } = E(1540) - const Ie = E(94978) - const formatBailoutReason = (k) => 'ModuleConcatenation bailout: ' + k - class ModuleConcatenationPlugin { - constructor(k) { - if (typeof k !== 'object') k = {} - this.options = k - } - apply(k) { - const { _backCompat: v } = k - k.hooks.compilation.tap('ModuleConcatenationPlugin', (E) => { - if (E.moduleMemCaches) { - throw new Error( - "optimization.concatenateModules can't be used with cacheUnaffected as module concatenation is a global effect" - ) - } - const ae = E.moduleGraph - const le = new Map() - const setBailoutReason = (k, v) => { - setInnerBailoutReason(k, v) - ae.getOptimizationBailout(k).push( - typeof v === 'function' - ? (k) => formatBailoutReason(v(k)) - : formatBailoutReason(v) - ) - } - const setInnerBailoutReason = (k, v) => { - le.set(k, v) - } - const getInnerBailoutReason = (k, v) => { - const E = le.get(k) - if (typeof E === 'function') return E(v) - return E - } - const formatBailoutWarning = (k, v) => (E) => { - if (typeof v === 'function') { - return formatBailoutReason( - `Cannot concat with ${k.readableIdentifier(E)}: ${v(E)}` - ) - } - const P = getInnerBailoutReason(k, E) - const R = P ? `: ${P}` : '' - if (k === v) { - return formatBailoutReason( - `Cannot concat with ${k.readableIdentifier(E)}${R}` - ) - } else { - return formatBailoutReason( - `Cannot concat with ${k.readableIdentifier( - E - )} because of ${v.readableIdentifier(E)}${R}` - ) - } - } - E.hooks.optimizeChunkModules.tapAsync( - { name: 'ModuleConcatenationPlugin', stage: N }, - (N, ae, le) => { - const ye = E.getLogger('webpack.ModuleConcatenationPlugin') - const { chunkGraph: _e, moduleGraph: Me } = E - const Te = [] - const je = new Set() - const Ne = { chunkGraph: _e, moduleGraph: Me } - ye.time('select relevant modules') - for (const k of ae) { - let v = true - let E = true - const P = k.getConcatenationBailoutReason(Ne) - if (P) { - setBailoutReason(k, P) - continue - } - if (Me.isAsync(k)) { - setBailoutReason(k, `Module is async`) - continue - } - if (!k.buildInfo.strict) { - setBailoutReason(k, `Module is not in strict mode`) - continue - } - if (_e.getNumberOfModuleChunks(k) === 0) { - setBailoutReason(k, 'Module is not in any chunk') - continue - } - const R = Me.getExportsInfo(k) - const L = R.getRelevantExports(undefined) - const N = L.filter((k) => k.isReexport() && !k.getTarget(Me)) - if (N.length > 0) { - setBailoutReason( - k, - `Reexports in this module do not have a static target (${Array.from( - N, - (k) => - `${k.name || 'other exports'}: ${k.getUsedInfo()}` - ).join(', ')})` - ) - continue - } - const q = L.filter((k) => k.provided !== true) - if (q.length > 0) { - setBailoutReason( - k, - `List of module exports is dynamic (${Array.from( - q, - (k) => - `${ - k.name || 'other exports' - }: ${k.getProvidedInfo()} and ${k.getUsedInfo()}` - ).join(', ')})` - ) - v = false - } - if (_e.isEntryModule(k)) { - setInnerBailoutReason(k, 'Module is an entry point') - E = false - } - if (v) Te.push(k) - if (E) je.add(k) - } - ye.timeEnd('select relevant modules') - ye.debug( - `${Te.length} potential root modules, ${je.size} potential inner modules` - ) - ye.time('sort relevant modules') - Te.sort((k, v) => Me.getDepth(k) - Me.getDepth(v)) - ye.timeEnd('sort relevant modules') - const Be = { - cached: 0, - alreadyInConfig: 0, - invalidModule: 0, - incorrectChunks: 0, - incorrectDependency: 0, - incorrectModuleDependency: 0, - incorrectChunksOfImporter: 0, - incorrectRuntimeCondition: 0, - importerFailed: 0, - added: 0, - } - let qe = 0 - let Ue = 0 - let Ge = 0 - ye.time('find modules to concatenate') - const He = [] - const We = new Set() - for (const k of Te) { - if (We.has(k)) continue - let v = undefined - for (const E of _e.getModuleRuntimes(k)) { - v = pe(v, E) - } - const P = Me.getExportsInfo(k) - const R = me(v, (k) => P.isModuleUsed(k)) - const L = R === true ? v : R === false ? undefined : R - const N = new ConcatConfiguration(k, L) - const q = new Map() - const ae = new Set() - for (const v of this._getImports(E, k, L)) { - ae.add(v) - } - for (const k of ae) { - const P = new Set() - const R = this._tryToAdd( - E, - N, - k, - v, - L, - je, - P, - q, - _e, - true, - Be - ) - if (R) { - q.set(k, R) - N.addWarning(k, R) - } else { - for (const k of P) { - ae.add(k) - } - } - } - qe += ae.size - if (!N.isEmpty()) { - const k = N.getModules() - Ue += k.size - He.push(N) - for (const v of k) { - if (v !== N.rootModule) { - We.add(v) - } - } - } else { - Ge++ - const v = Me.getOptimizationBailout(k) - for (const k of N.getWarningsSorted()) { - v.push(formatBailoutWarning(k[0], k[1])) - } - } - } - ye.timeEnd('find modules to concatenate') - ye.debug( - `${He.length} successful concat configurations (avg size: ${ - Ue / He.length - }), ${Ge} bailed out completely` - ) - ye.debug( - `${qe} candidates were considered for adding (${Be.cached} cached failure, ${Be.alreadyInConfig} already in config, ${Be.invalidModule} invalid module, ${Be.incorrectChunks} incorrect chunks, ${Be.incorrectDependency} incorrect dependency, ${Be.incorrectChunksOfImporter} incorrect chunks of importer, ${Be.incorrectModuleDependency} incorrect module dependency, ${Be.incorrectRuntimeCondition} incorrect runtime condition, ${Be.importerFailed} importer failed, ${Be.added} added)` - ) - ye.time(`sort concat configurations`) - He.sort((k, v) => v.modules.size - k.modules.size) - ye.timeEnd(`sort concat configurations`) - const Qe = new Set() - ye.time('create concatenated modules') - P.each( - He, - (P, N) => { - const ae = P.rootModule - if (Qe.has(ae)) return N() - const le = P.getModules() - for (const k of le) { - Qe.add(k) - } - let pe = Ie.create( - ae, - le, - P.runtime, - k.root, - E.outputOptions.hashFunction - ) - const build = () => { - pe.build(k.options, E, null, null, (k) => { - if (k) { - if (!k.module) { - k.module = pe - } - return N(k) - } - integrate() - }) - } - const integrate = () => { - if (v) { - R.setChunkGraphForModule(pe, _e) - L.setModuleGraphForModule(pe, Me) - } - for (const k of P.getWarningsSorted()) { - Me.getOptimizationBailout(pe).push( - formatBailoutWarning(k[0], k[1]) - ) - } - Me.cloneModuleAttributes(ae, pe) - for (const k of le) { - if (E.builtModules.has(k)) { - E.builtModules.add(pe) - } - if (k !== ae) { - Me.copyOutgoingModuleConnections( - k, - pe, - (v) => - v.originModule === k && - !(v.dependency instanceof q && le.has(v.module)) - ) - for (const v of _e.getModuleChunksIterable(ae)) { - const E = _e.getChunkModuleSourceTypes(v, k) - if (E.size === 1) { - _e.disconnectChunkAndModule(v, k) - } else { - const P = new Set(E) - P.delete('javascript') - _e.setChunkModuleSourceTypes(v, k, P) - } - } - } - } - E.modules.delete(ae) - R.clearChunkGraphForModule(ae) - L.clearModuleGraphForModule(ae) - _e.replaceModule(ae, pe) - Me.moveModuleConnections(ae, pe, (k) => { - const v = k.module === ae ? k.originModule : k.module - const E = k.dependency instanceof q && le.has(v) - return !E - }) - E.modules.add(pe) - N() - } - build() - }, - (k) => { - ye.timeEnd('create concatenated modules') - process.nextTick(le.bind(null, k)) - } - ) - } - ) - }) - } - _getImports(k, v, E) { - const P = k.moduleGraph - const R = new Set() - for (const L of v.dependencies) { - if (!(L instanceof q)) continue - const N = P.getConnection(L) - if (!N || !N.module || !N.isTargetActive(E)) { - continue - } - const ae = k.getDependencyReferencedExports(L, undefined) - if ( - ae.every((k) => - Array.isArray(k) ? k.length > 0 : k.name.length > 0 - ) || - Array.isArray(P.getProvidedExports(v)) - ) { - R.add(N.module) - } - } - return R - } - _tryToAdd(k, v, E, P, R, L, N, Ie, Me, Te, je) { - const Ne = Ie.get(E) - if (Ne) { - je.cached++ - return Ne - } - if (v.has(E)) { - je.alreadyInConfig++ - return null - } - if (!L.has(E)) { - je.invalidModule++ - Ie.set(E, E) - return E - } - const Be = Array.from( - Me.getModuleChunksIterable(v.rootModule) - ).filter((k) => !Me.isModuleInChunk(E, k)) - if (Be.length > 0) { - const problem = (k) => { - const v = Array.from( - new Set(Be.map((k) => k.name || 'unnamed chunk(s)')) - ).sort() - const P = Array.from( - new Set( - Array.from(Me.getModuleChunksIterable(E)).map( - (k) => k.name || 'unnamed chunk(s)' - ) - ) - ).sort() - return `Module ${E.readableIdentifier( - k - )} is not in the same chunk(s) (expected in chunk(s) ${v.join( - ', ' - )}, module is in chunk(s) ${P.join(', ')})` - } - je.incorrectChunks++ - Ie.set(E, problem) - return problem - } - const qe = k.moduleGraph - const Ue = qe.getIncomingConnectionsByOriginModule(E) - const Ge = Ue.get(null) || Ue.get(undefined) - if (Ge) { - const k = Ge.filter((k) => k.isActive(P)) - if (k.length > 0) { - const problem = (v) => { - const P = new Set(k.map((k) => k.explanation).filter(Boolean)) - const R = Array.from(P).sort() - return `Module ${E.readableIdentifier(v)} is referenced ${ - R.length > 0 ? `by: ${R.join(', ')}` : 'in an unsupported way' - }` - } - je.incorrectDependency++ - Ie.set(E, problem) - return problem - } - } - const He = new Map() - for (const [k, v] of Ue) { - if (k) { - if (Me.getNumberOfModuleChunks(k) === 0) continue - let E = undefined - for (const v of Me.getModuleRuntimes(k)) { - E = pe(E, v) - } - if (!le(P, E)) continue - const R = v.filter((k) => k.isActive(P)) - if (R.length > 0) He.set(k, R) - } - } - const We = Array.from(He.keys()) - const Qe = We.filter((k) => { - for (const E of Me.getModuleChunksIterable(v.rootModule)) { - if (!Me.isModuleInChunk(k, E)) { - return true - } - } - return false - }) - if (Qe.length > 0) { - const problem = (k) => { - const v = Qe.map((v) => v.readableIdentifier(k)).sort() - return `Module ${E.readableIdentifier( - k - )} is referenced from different chunks by these modules: ${v.join( - ', ' - )}` - } - je.incorrectChunksOfImporter++ - Ie.set(E, problem) - return problem - } - const Je = new Map() - for (const [k, v] of He) { - const E = v.filter( - (k) => !k.dependency || !(k.dependency instanceof q) - ) - if (E.length > 0) Je.set(k, v) - } - if (Je.size > 0) { - const problem = (k) => { - const v = Array.from(Je) - .map( - ([v, E]) => - `${v.readableIdentifier(k)} (referenced with ${Array.from( - new Set( - E.map((k) => k.dependency && k.dependency.type).filter( - Boolean - ) - ) - ) - .sort() - .join(', ')})` - ) - .sort() - return `Module ${E.readableIdentifier( - k - )} is referenced from these modules with unsupported syntax: ${v.join( - ', ' - )}` - } - je.incorrectModuleDependency++ - Ie.set(E, problem) - return problem - } - if (P !== undefined && typeof P !== 'string') { - const k = [] - e: for (const [v, E] of He) { - let R = false - for (const k of E) { - const v = me(P, (v) => k.isTargetActive(v)) - if (v === false) continue - if (v === true) continue e - if (R !== false) { - R = _e(R, v) - } else { - R = v - } - } - if (R !== false) { - k.push({ originModule: v, runtimeCondition: R }) - } - } - if (k.length > 0) { - const problem = (v) => - `Module ${E.readableIdentifier( - v - )} is runtime-dependent referenced by these modules: ${Array.from( - k, - ({ originModule: k, runtimeCondition: E }) => - `${k.readableIdentifier(v)} (expected runtime ${ye( - P - )}, module is only referenced in ${ye(E)})` - ).join(', ')}` - je.incorrectRuntimeCondition++ - Ie.set(E, problem) - return problem - } - } - let Ve - if (Te) { - Ve = v.snapshot() - } - v.add(E) - We.sort(ae) - for (const q of We) { - const ae = this._tryToAdd(k, v, q, P, R, L, N, Ie, Me, false, je) - if (ae) { - if (Ve !== undefined) v.rollback(Ve) - je.importerFailed++ - Ie.set(E, ae) - return ae - } - } - for (const v of this._getImports(k, E, P)) { - N.add(v) - } - je.added++ - return null - } - } - class ConcatConfiguration { - constructor(k, v) { - this.rootModule = k - this.runtime = v - this.modules = new Set() - this.modules.add(k) - this.warnings = new Map() - } - add(k) { - this.modules.add(k) - } - has(k) { - return this.modules.has(k) - } - isEmpty() { - return this.modules.size === 1 - } - addWarning(k, v) { - this.warnings.set(k, v) - } - getWarningsSorted() { - return new Map( - Array.from(this.warnings).sort((k, v) => { - const E = k[0].identifier() - const P = v[0].identifier() - if (E < P) return -1 - if (E > P) return 1 - return 0 - }) - ) - } - getModules() { - return this.modules - } - snapshot() { - return this.modules.size - } - rollback(k) { - const v = this.modules - for (const E of v) { - if (k === 0) { - v.delete(E) - } else { - k-- - } - } - } - } - k.exports = ModuleConcatenationPlugin - }, - 71183: function (k, v, E) { - 'use strict' - const { SyncBailHook: P } = E(79846) - const { RawSource: R, CachedSource: L, CompatSource: N } = E(51255) - const q = E(27747) - const ae = E(71572) - const { compareSelect: le, compareStrings: pe } = E(95648) - const me = E(74012) - const ye = new Set() - const addToList = (k, v) => { - if (Array.isArray(k)) { - for (const E of k) { - v.add(E) - } - } else if (k) { - v.add(k) - } - } - const mapAndDeduplicateBuffers = (k, v) => { - const E = [] - e: for (const P of k) { - const k = v(P) - for (const v of E) { - if (k.equals(v)) continue e - } - E.push(k) - } - return E - } - const quoteMeta = (k) => k.replace(/[-[\]\\/{}()*+?.^$|]/g, '\\$&') - const _e = new WeakMap() - const toCachedSource = (k) => { - if (k instanceof L) { - return k - } - const v = _e.get(k) - if (v !== undefined) return v - const E = new L(N.from(k)) - _e.set(k, E) - return E - } - const Ie = new WeakMap() - class RealContentHashPlugin { - static getCompilationHooks(k) { - if (!(k instanceof q)) { - throw new TypeError( - "The 'compilation' argument must be an instance of Compilation" - ) - } - let v = Ie.get(k) - if (v === undefined) { - v = { updateHash: new P(['content', 'oldHash']) } - Ie.set(k, v) - } - return v - } - constructor({ hashFunction: k, hashDigest: v }) { - this._hashFunction = k - this._hashDigest = v - } - apply(k) { - k.hooks.compilation.tap('RealContentHashPlugin', (k) => { - const v = k.getCache('RealContentHashPlugin|analyse') - const E = k.getCache('RealContentHashPlugin|generate') - const P = RealContentHashPlugin.getCompilationHooks(k) - k.hooks.processAssets.tapPromise( - { - name: 'RealContentHashPlugin', - stage: q.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH, - }, - async () => { - const L = k.getAssets() - const N = [] - const q = new Map() - for (const { source: k, info: v, name: E } of L) { - const P = toCachedSource(k) - const R = P.source() - const L = new Set() - addToList(v.contenthash, L) - const ae = { - name: E, - info: v, - source: P, - newSource: undefined, - newSourceWithoutOwn: undefined, - content: R, - ownHashes: undefined, - contentComputePromise: undefined, - contentComputeWithoutOwnPromise: undefined, - referencedHashes: undefined, - hashes: L, - } - N.push(ae) - for (const k of L) { - const v = q.get(k) - if (v === undefined) { - q.set(k, [ae]) - } else { - v.push(ae) - } - } - } - if (q.size === 0) return - const _e = new RegExp( - Array.from(q.keys(), quoteMeta).join('|'), - 'g' - ) - await Promise.all( - N.map(async (k) => { - const { name: E, source: P, content: R, hashes: L } = k - if (Buffer.isBuffer(R)) { - k.referencedHashes = ye - k.ownHashes = ye - return - } - const N = v.mergeEtags( - v.getLazyHashedEtag(P), - Array.from(L).join('|') - ) - ;[k.referencedHashes, k.ownHashes] = await v.providePromise( - E, - N, - () => { - const k = new Set() - let v = new Set() - const E = R.match(_e) - if (E) { - for (const P of E) { - if (L.has(P)) { - v.add(P) - continue - } - k.add(P) - } - } - return [k, v] - } - ) - }) - ) - const getDependencies = (v) => { - const E = q.get(v) - if (!E) { - const E = N.filter((k) => k.referencedHashes.has(v)) - const P = new ae( - `RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${v}) 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${E.map( - (k) => { - const E = new RegExp( - `.{0,20}${quoteMeta(v)}.{0,20}` - ).exec(k.content) - return ` - ${k.name}: ...${E ? E[0] : '???'}...` - } - ).join('\n')}` - ) - k.errors.push(P) - return undefined - } - const P = new Set() - for (const { referencedHashes: k, ownHashes: R } of E) { - if (!R.has(v)) { - for (const k of R) { - P.add(k) - } - } - for (const v of k) { - P.add(v) - } - } - return P - } - const hashInfo = (k) => { - const v = q.get(k) - return `${k} (${Array.from(v, (k) => k.name)})` - } - const Ie = new Set() - for (const k of q.keys()) { - const add = (k, v) => { - const E = getDependencies(k) - if (!E) return - v.add(k) - for (const k of E) { - if (Ie.has(k)) continue - if (v.has(k)) { - throw new Error( - `Circular hash dependency ${Array.from( - v, - hashInfo - ).join(' -> ')} -> ${hashInfo(k)}` - ) - } - add(k, v) - } - Ie.add(k) - v.delete(k) - } - if (Ie.has(k)) continue - add(k, new Set()) - } - const Me = new Map() - const getEtag = (k) => - E.mergeEtags( - E.getLazyHashedEtag(k.source), - Array.from(k.referencedHashes, (k) => Me.get(k)).join('|') - ) - const computeNewContent = (k) => { - if (k.contentComputePromise) return k.contentComputePromise - return (k.contentComputePromise = (async () => { - if ( - k.ownHashes.size > 0 || - Array.from(k.referencedHashes).some( - (k) => Me.get(k) !== k - ) - ) { - const v = k.name - const P = getEtag(k) - k.newSource = await E.providePromise(v, P, () => { - const v = k.content.replace(_e, (k) => Me.get(k)) - return new R(v) - }) - } - })()) - } - const computeNewContentWithoutOwn = (k) => { - if (k.contentComputeWithoutOwnPromise) - return k.contentComputeWithoutOwnPromise - return (k.contentComputeWithoutOwnPromise = (async () => { - if ( - k.ownHashes.size > 0 || - Array.from(k.referencedHashes).some( - (k) => Me.get(k) !== k - ) - ) { - const v = k.name + '|without-own' - const P = getEtag(k) - k.newSourceWithoutOwn = await E.providePromise( - v, - P, - () => { - const v = k.content.replace(_e, (v) => { - if (k.ownHashes.has(v)) { - return '' - } - return Me.get(v) - }) - return new R(v) - } - ) - } - })()) - } - const Te = le((k) => k.name, pe) - for (const v of Ie) { - const E = q.get(v) - E.sort(Te) - await Promise.all( - E.map((k) => - k.ownHashes.has(v) - ? computeNewContentWithoutOwn(k) - : computeNewContent(k) - ) - ) - const R = mapAndDeduplicateBuffers(E, (k) => { - if (k.ownHashes.has(v)) { - return k.newSourceWithoutOwn - ? k.newSourceWithoutOwn.buffer() - : k.source.buffer() - } else { - return k.newSource - ? k.newSource.buffer() - : k.source.buffer() - } - }) - let L = P.updateHash.call(R, v) - if (!L) { - const E = me(this._hashFunction) - if (k.outputOptions.hashSalt) { - E.update(k.outputOptions.hashSalt) - } - for (const k of R) { - E.update(k) - } - const P = E.digest(this._hashDigest) - L = P.slice(0, v.length) - } - Me.set(v, L) - } - await Promise.all( - N.map(async (v) => { - await computeNewContent(v) - const E = v.name.replace(_e, (k) => Me.get(k)) - const P = {} - const R = v.info.contenthash - P.contenthash = Array.isArray(R) - ? R.map((k) => Me.get(k)) - : Me.get(R) - if (v.newSource !== undefined) { - k.updateAsset(v.name, v.newSource, P) - } else { - k.updateAsset(v.name, v.source, P) - } - if (v.name !== E) { - k.renameAsset(v.name, E) - } - }) - ) - } - ) - }) - } - } - k.exports = RealContentHashPlugin - }, - 37238: function (k, v, E) { - 'use strict' - const { STAGE_BASIC: P, STAGE_ADVANCED: R } = E(99134) - class RemoveEmptyChunksPlugin { - apply(k) { - k.hooks.compilation.tap('RemoveEmptyChunksPlugin', (k) => { - const handler = (v) => { - const E = k.chunkGraph - for (const P of v) { - if ( - E.getNumberOfChunkModules(P) === 0 && - !P.hasRuntime() && - E.getNumberOfEntryModules(P) === 0 - ) { - k.chunkGraph.disconnectChunk(P) - k.chunks.delete(P) - } - } - } - k.hooks.optimizeChunks.tap( - { name: 'RemoveEmptyChunksPlugin', stage: P }, - handler - ) - k.hooks.optimizeChunks.tap( - { name: 'RemoveEmptyChunksPlugin', stage: R }, - handler - ) - }) - } - } - k.exports = RemoveEmptyChunksPlugin - }, - 21352: function (k, v, E) { - 'use strict' - const { STAGE_BASIC: P } = E(99134) - const R = E(28226) - const { intersect: L } = E(59959) - class RemoveParentModulesPlugin { - apply(k) { - k.hooks.compilation.tap('RemoveParentModulesPlugin', (k) => { - const handler = (v, E) => { - const P = k.chunkGraph - const N = new R() - const q = new WeakMap() - for (const v of k.entrypoints.values()) { - q.set(v, new Set()) - for (const k of v.childrenIterable) { - N.enqueue(k) - } - } - for (const v of k.asyncEntrypoints) { - q.set(v, new Set()) - for (const k of v.childrenIterable) { - N.enqueue(k) - } - } - while (N.length > 0) { - const k = N.dequeue() - let v = q.get(k) - let E = false - for (const R of k.parentsIterable) { - const L = q.get(R) - if (L !== undefined) { - if (v === undefined) { - v = new Set(L) - for (const k of R.chunks) { - for (const E of P.getChunkModulesIterable(k)) { - v.add(E) - } - } - q.set(k, v) - E = true - } else { - for (const k of v) { - if (!P.isModuleInChunkGroup(k, R) && !L.has(k)) { - v.delete(k) - E = true - } - } - } - } - } - if (E) { - for (const v of k.childrenIterable) { - N.enqueue(v) - } - } - } - for (const k of v) { - const v = Array.from(k.groupsIterable, (k) => q.get(k)) - if (v.some((k) => k === undefined)) continue - const E = v.length === 1 ? v[0] : L(v) - const R = P.getNumberOfChunkModules(k) - const N = new Set() - if (R < E.size) { - for (const v of P.getChunkModulesIterable(k)) { - if (E.has(v)) { - N.add(v) - } - } - } else { - for (const v of E) { - if (P.isModuleInChunk(v, k)) { - N.add(v) - } - } - } - for (const v of N) { - P.disconnectChunkAndModule(k, v) - } - } - } - k.hooks.optimizeChunks.tap( - { name: 'RemoveParentModulesPlugin', stage: P }, - handler - ) - }) - } - } - k.exports = RemoveParentModulesPlugin - }, - 89921: function (k) { - 'use strict' - class RuntimeChunkPlugin { - constructor(k) { - this.options = { name: (k) => `runtime~${k.name}`, ...k } - } - apply(k) { - k.hooks.thisCompilation.tap('RuntimeChunkPlugin', (k) => { - k.hooks.addEntry.tap('RuntimeChunkPlugin', (v, { name: E }) => { - if (E === undefined) return - const P = k.entries.get(E) - if (P.options.runtime === undefined && !P.options.dependOn) { - let k = this.options.name - if (typeof k === 'function') { - k = k({ name: E }) - } - P.options.runtime = k - } - }) - }) - } - } - k.exports = RuntimeChunkPlugin - }, - 57214: function (k, v, E) { - 'use strict' - const P = E(21660) - const { - JAVASCRIPT_MODULE_TYPE_AUTO: R, - JAVASCRIPT_MODULE_TYPE_ESM: L, - JAVASCRIPT_MODULE_TYPE_DYNAMIC: N, - } = E(93622) - const { STAGE_DEFAULT: q } = E(99134) - const ae = E(44827) - const le = E(56390) - const pe = E(1811) - const me = new WeakMap() - const globToRegexp = (k, v) => { - const E = v.get(k) - if (E !== undefined) return E - if (!k.includes('/')) { - k = `**/${k}` - } - const R = P(k, { globstar: true, extended: true }) - const L = R.source - const N = new RegExp('^(\\./)?' + L.slice(1)) - v.set(k, N) - return N - } - const ye = 'SideEffectsFlagPlugin' - class SideEffectsFlagPlugin { - constructor(k = true) { - this._analyseSource = k - } - apply(k) { - let v = me.get(k.root) - if (v === undefined) { - v = new Map() - me.set(k.root, v) - } - k.hooks.compilation.tap(ye, (k, { normalModuleFactory: E }) => { - const P = k.moduleGraph - E.hooks.module.tap(ye, (k, E) => { - const P = E.resourceResolveData - if (P && P.descriptionFileData && P.relativePath) { - const E = P.descriptionFileData.sideEffects - if (E !== undefined) { - if (k.factoryMeta === undefined) { - k.factoryMeta = {} - } - const R = SideEffectsFlagPlugin.moduleHasSideEffects( - P.relativePath, - E, - v - ) - k.factoryMeta.sideEffectFree = !R - } - } - return k - }) - E.hooks.module.tap(ye, (k, v) => { - if (typeof v.settings.sideEffects === 'boolean') { - if (k.factoryMeta === undefined) { - k.factoryMeta = {} - } - k.factoryMeta.sideEffectFree = !v.settings.sideEffects - } - return k - }) - if (this._analyseSource) { - const parserHandler = (k) => { - let v - k.hooks.program.tap(ye, () => { - v = undefined - }) - k.hooks.statement.tap({ name: ye, stage: -100 }, (E) => { - if (v) return - if (k.scope.topLevelScope !== true) return - switch (E.type) { - case 'ExpressionStatement': - if (!k.isPure(E.expression, E.range[0])) { - v = E - } - break - case 'IfStatement': - case 'WhileStatement': - case 'DoWhileStatement': - if (!k.isPure(E.test, E.range[0])) { - v = E - } - break - case 'ForStatement': - if ( - !k.isPure(E.init, E.range[0]) || - !k.isPure( - E.test, - E.init ? E.init.range[1] : E.range[0] - ) || - !k.isPure( - E.update, - E.test - ? E.test.range[1] - : E.init - ? E.init.range[1] - : E.range[0] - ) - ) { - v = E - } - break - case 'SwitchStatement': - if (!k.isPure(E.discriminant, E.range[0])) { - v = E - } - break - case 'VariableDeclaration': - case 'ClassDeclaration': - case 'FunctionDeclaration': - if (!k.isPure(E, E.range[0])) { - v = E - } - break - case 'ExportNamedDeclaration': - case 'ExportDefaultDeclaration': - if (!k.isPure(E.declaration, E.range[0])) { - v = E - } - break - case 'LabeledStatement': - case 'BlockStatement': - break - case 'EmptyStatement': - break - case 'ExportAllDeclaration': - case 'ImportDeclaration': - break - default: - v = E - break - } - }) - k.hooks.finish.tap(ye, () => { - if (v === undefined) { - k.state.module.buildMeta.sideEffectFree = true - } else { - const { loc: E, type: R } = v - P.getOptimizationBailout(k.state.module).push( - () => - `Statement (${R}) with side effects in source code at ${pe( - E - )}` - ) - } - }) - } - for (const k of [R, L, N]) { - E.hooks.parser.for(k).tap(ye, parserHandler) - } - } - k.hooks.optimizeDependencies.tap({ name: ye, stage: q }, (v) => { - const E = k.getLogger('webpack.SideEffectsFlagPlugin') - E.time('update dependencies') - for (const k of v) { - if (k.getSideEffectsConnectionState(P) === false) { - const v = P.getExportsInfo(k) - for (const E of P.getIncomingConnections(k)) { - const k = E.dependency - let R - if ( - (R = k instanceof ae) || - (k instanceof le && !k.namespaceObjectAsContext) - ) { - if (R && k.name) { - const v = P.getExportInfo(E.originModule, k.name) - v.moveTarget( - P, - ({ module: k }) => - k.getSideEffectsConnectionState(P) === false, - ({ module: v, export: E }) => { - P.updateModule(k, v) - P.addExplanation( - k, - '(skipped side-effect-free modules)' - ) - const R = k.getIds(P) - k.setIds(P, E ? [...E, ...R.slice(1)] : R.slice(1)) - return P.getConnection(k) - } - ) - continue - } - const L = k.getIds(P) - if (L.length > 0) { - const E = v.getExportInfo(L[0]) - const R = E.getTarget( - P, - ({ module: k }) => - k.getSideEffectsConnectionState(P) === false - ) - if (!R) continue - P.updateModule(k, R.module) - P.addExplanation( - k, - '(skipped side-effect-free modules)' - ) - k.setIds( - P, - R.export ? [...R.export, ...L.slice(1)] : L.slice(1) - ) - } - } - } - } - } - E.timeEnd('update dependencies') - }) - }) - } - static moduleHasSideEffects(k, v, E) { - switch (typeof v) { - case 'undefined': - return true - case 'boolean': - return v - case 'string': - return globToRegexp(v, E).test(k) - case 'object': - return v.some((v) => - SideEffectsFlagPlugin.moduleHasSideEffects(k, v, E) - ) - } - } - } - k.exports = SideEffectsFlagPlugin - }, - 30829: function (k, v, E) { - 'use strict' - const P = E(8247) - const { STAGE_ADVANCED: R } = E(99134) - const L = E(71572) - const { requestToId: N } = E(88667) - const { isSubset: q } = E(59959) - const ae = E(46081) - const { compareModulesByIdentifier: le, compareIterables: pe } = E(95648) - const me = E(74012) - const ye = E(12271) - const { makePathsRelative: _e } = E(65315) - const Ie = E(20631) - const Me = E(47490) - const defaultGetName = () => {} - const Te = ye - const je = new WeakMap() - const hashFilename = (k, v) => { - const E = me(v.hashFunction).update(k).digest(v.hashDigest) - return E.slice(0, 8) - } - const getRequests = (k) => { - let v = 0 - for (const E of k.groupsIterable) { - v = Math.max(v, E.chunks.length) - } - return v - } - const mapObject = (k, v) => { - const E = Object.create(null) - for (const P of Object.keys(k)) { - E[P] = v(k[P], P) - } - return E - } - const isOverlap = (k, v) => { - for (const E of k) { - if (v.has(E)) return true - } - return false - } - const Ne = pe(le) - const compareEntries = (k, v) => { - const E = k.cacheGroup.priority - v.cacheGroup.priority - if (E) return E - const P = k.chunks.size - v.chunks.size - if (P) return P - const R = totalSize(k.sizes) * (k.chunks.size - 1) - const L = totalSize(v.sizes) * (v.chunks.size - 1) - const N = R - L - if (N) return N - const q = v.cacheGroupIndex - k.cacheGroupIndex - if (q) return q - const ae = k.modules - const le = v.modules - const pe = ae.size - le.size - if (pe) return pe - ae.sort() - le.sort() - return Ne(ae, le) - } - const INITIAL_CHUNK_FILTER = (k) => k.canBeInitial() - const ASYNC_CHUNK_FILTER = (k) => !k.canBeInitial() - const ALL_CHUNK_FILTER = (k) => true - const normalizeSizes = (k, v) => { - if (typeof k === 'number') { - const E = {} - for (const P of v) E[P] = k - return E - } else if (typeof k === 'object' && k !== null) { - return { ...k } - } else { - return {} - } - } - const mergeSizes = (...k) => { - let v = {} - for (let E = k.length - 1; E >= 0; E--) { - v = Object.assign(v, k[E]) - } - return v - } - const hasNonZeroSizes = (k) => { - for (const v of Object.keys(k)) { - if (k[v] > 0) return true - } - return false - } - const combineSizes = (k, v, E) => { - const P = new Set(Object.keys(k)) - const R = new Set(Object.keys(v)) - const L = {} - for (const N of P) { - if (R.has(N)) { - L[N] = E(k[N], v[N]) - } else { - L[N] = k[N] - } - } - for (const k of R) { - if (!P.has(k)) { - L[k] = v[k] - } - } - return L - } - const checkMinSize = (k, v) => { - for (const E of Object.keys(v)) { - const P = k[E] - if (P === undefined || P === 0) continue - if (P < v[E]) return false - } - return true - } - const checkMinSizeReduction = (k, v, E) => { - for (const P of Object.keys(v)) { - const R = k[P] - if (R === undefined || R === 0) continue - if (R * E < v[P]) return false - } - return true - } - const getViolatingMinSizes = (k, v) => { - let E - for (const P of Object.keys(v)) { - const R = k[P] - if (R === undefined || R === 0) continue - if (R < v[P]) { - if (E === undefined) E = [P] - else E.push(P) - } - } - return E - } - const totalSize = (k) => { - let v = 0 - for (const E of Object.keys(k)) { - v += k[E] - } - return v - } - const normalizeName = (k) => { - if (typeof k === 'string') { - return () => k - } - if (typeof k === 'function') { - return k - } - } - const normalizeChunksFilter = (k) => { - if (k === 'initial') { - return INITIAL_CHUNK_FILTER - } - if (k === 'async') { - return ASYNC_CHUNK_FILTER - } - if (k === 'all') { - return ALL_CHUNK_FILTER - } - if (k instanceof RegExp) { - return (v) => (v.name ? k.test(v.name) : false) - } - if (typeof k === 'function') { - return k - } - } - const normalizeCacheGroups = (k, v) => { - if (typeof k === 'function') { - return k - } - if (typeof k === 'object' && k !== null) { - const E = [] - for (const P of Object.keys(k)) { - const R = k[P] - if (R === false) { - continue - } - if (typeof R === 'string' || R instanceof RegExp) { - const k = createCacheGroupSource({}, P, v) - E.push((v, E, P) => { - if (checkTest(R, v, E)) { - P.push(k) - } - }) - } else if (typeof R === 'function') { - const k = new WeakMap() - E.push((E, L, N) => { - const q = R(E) - if (q) { - const E = Array.isArray(q) ? q : [q] - for (const R of E) { - const E = k.get(R) - if (E !== undefined) { - N.push(E) - } else { - const E = createCacheGroupSource(R, P, v) - k.set(R, E) - N.push(E) - } - } - } - }) - } else { - const k = createCacheGroupSource(R, P, v) - E.push((v, E, P) => { - if ( - checkTest(R.test, v, E) && - checkModuleType(R.type, v) && - checkModuleLayer(R.layer, v) - ) { - P.push(k) - } - }) - } - } - const fn = (k, v) => { - let P = [] - for (const R of E) { - R(k, v, P) - } - return P - } - return fn - } - return () => null - } - const checkTest = (k, v, E) => { - if (k === undefined) return true - if (typeof k === 'function') { - return k(v, E) - } - if (typeof k === 'boolean') return k - if (typeof k === 'string') { - const E = v.nameForCondition() - return E && E.startsWith(k) - } - if (k instanceof RegExp) { - const E = v.nameForCondition() - return E && k.test(E) - } - return false - } - const checkModuleType = (k, v) => { - if (k === undefined) return true - if (typeof k === 'function') { - return k(v.type) - } - if (typeof k === 'string') { - const E = v.type - return k === E - } - if (k instanceof RegExp) { - const E = v.type - return k.test(E) - } - return false - } - const checkModuleLayer = (k, v) => { - if (k === undefined) return true - if (typeof k === 'function') { - return k(v.layer) - } - if (typeof k === 'string') { - const E = v.layer - return k === '' ? !E : E && E.startsWith(k) - } - if (k instanceof RegExp) { - const E = v.layer - return k.test(E) - } - return false - } - const createCacheGroupSource = (k, v, E) => { - const P = normalizeSizes(k.minSize, E) - const R = normalizeSizes(k.minSizeReduction, E) - const L = normalizeSizes(k.maxSize, E) - return { - key: v, - priority: k.priority, - getName: normalizeName(k.name), - chunksFilter: normalizeChunksFilter(k.chunks), - enforce: k.enforce, - minSize: P, - minSizeReduction: R, - minRemainingSize: mergeSizes( - normalizeSizes(k.minRemainingSize, E), - P - ), - enforceSizeThreshold: normalizeSizes(k.enforceSizeThreshold, E), - maxAsyncSize: mergeSizes(normalizeSizes(k.maxAsyncSize, E), L), - maxInitialSize: mergeSizes(normalizeSizes(k.maxInitialSize, E), L), - minChunks: k.minChunks, - maxAsyncRequests: k.maxAsyncRequests, - maxInitialRequests: k.maxInitialRequests, - filename: k.filename, - idHint: k.idHint, - automaticNameDelimiter: k.automaticNameDelimiter, - reuseExistingChunk: k.reuseExistingChunk, - usedExports: k.usedExports, - } - } - k.exports = class SplitChunksPlugin { - constructor(k = {}) { - const v = k.defaultSizeTypes || ['javascript', 'unknown'] - const E = k.fallbackCacheGroup || {} - const P = normalizeSizes(k.minSize, v) - const R = normalizeSizes(k.minSizeReduction, v) - const L = normalizeSizes(k.maxSize, v) - this.options = { - chunksFilter: normalizeChunksFilter(k.chunks || 'all'), - defaultSizeTypes: v, - minSize: P, - minSizeReduction: R, - minRemainingSize: mergeSizes( - normalizeSizes(k.minRemainingSize, v), - P - ), - enforceSizeThreshold: normalizeSizes(k.enforceSizeThreshold, v), - maxAsyncSize: mergeSizes(normalizeSizes(k.maxAsyncSize, v), L), - maxInitialSize: mergeSizes(normalizeSizes(k.maxInitialSize, v), L), - minChunks: k.minChunks || 1, - maxAsyncRequests: k.maxAsyncRequests || 1, - maxInitialRequests: k.maxInitialRequests || 1, - hidePathInfo: k.hidePathInfo || false, - filename: k.filename || undefined, - getCacheGroups: normalizeCacheGroups(k.cacheGroups, v), - getName: k.name ? normalizeName(k.name) : defaultGetName, - automaticNameDelimiter: k.automaticNameDelimiter, - usedExports: k.usedExports, - fallbackCacheGroup: { - chunksFilter: normalizeChunksFilter( - E.chunks || k.chunks || 'all' - ), - minSize: mergeSizes(normalizeSizes(E.minSize, v), P), - maxAsyncSize: mergeSizes( - normalizeSizes(E.maxAsyncSize, v), - normalizeSizes(E.maxSize, v), - normalizeSizes(k.maxAsyncSize, v), - normalizeSizes(k.maxSize, v) - ), - maxInitialSize: mergeSizes( - normalizeSizes(E.maxInitialSize, v), - normalizeSizes(E.maxSize, v), - normalizeSizes(k.maxInitialSize, v), - normalizeSizes(k.maxSize, v) - ), - automaticNameDelimiter: - E.automaticNameDelimiter || k.automaticNameDelimiter || '~', - }, - } - this._cacheGroupCache = new WeakMap() - } - _getCacheGroup(k) { - const v = this._cacheGroupCache.get(k) - if (v !== undefined) return v - const E = mergeSizes( - k.minSize, - k.enforce ? undefined : this.options.minSize - ) - const P = mergeSizes( - k.minSizeReduction, - k.enforce ? undefined : this.options.minSizeReduction - ) - const R = mergeSizes( - k.minRemainingSize, - k.enforce ? undefined : this.options.minRemainingSize - ) - const L = mergeSizes( - k.enforceSizeThreshold, - k.enforce ? undefined : this.options.enforceSizeThreshold - ) - const N = { - key: k.key, - priority: k.priority || 0, - chunksFilter: k.chunksFilter || this.options.chunksFilter, - minSize: E, - minSizeReduction: P, - minRemainingSize: R, - enforceSizeThreshold: L, - maxAsyncSize: mergeSizes( - k.maxAsyncSize, - k.enforce ? undefined : this.options.maxAsyncSize - ), - maxInitialSize: mergeSizes( - k.maxInitialSize, - k.enforce ? undefined : this.options.maxInitialSize - ), - minChunks: - k.minChunks !== undefined - ? k.minChunks - : k.enforce - ? 1 - : this.options.minChunks, - maxAsyncRequests: - k.maxAsyncRequests !== undefined - ? k.maxAsyncRequests - : k.enforce - ? Infinity - : this.options.maxAsyncRequests, - maxInitialRequests: - k.maxInitialRequests !== undefined - ? k.maxInitialRequests - : k.enforce - ? Infinity - : this.options.maxInitialRequests, - getName: k.getName !== undefined ? k.getName : this.options.getName, - usedExports: - k.usedExports !== undefined - ? k.usedExports - : this.options.usedExports, - filename: - k.filename !== undefined ? k.filename : this.options.filename, - automaticNameDelimiter: - k.automaticNameDelimiter !== undefined - ? k.automaticNameDelimiter - : this.options.automaticNameDelimiter, - idHint: k.idHint !== undefined ? k.idHint : k.key, - reuseExistingChunk: k.reuseExistingChunk || false, - _validateSize: hasNonZeroSizes(E), - _validateRemainingSize: hasNonZeroSizes(R), - _minSizeForMaxSize: mergeSizes(k.minSize, this.options.minSize), - _conditionalEnforce: hasNonZeroSizes(L), - } - this._cacheGroupCache.set(k, N) - return N - } - apply(k) { - const v = _e.bindContextCache(k.context, k.root) - k.hooks.thisCompilation.tap('SplitChunksPlugin', (k) => { - const E = k.getLogger('webpack.SplitChunksPlugin') - let pe = false - k.hooks.unseal.tap('SplitChunksPlugin', () => { - pe = false - }) - k.hooks.optimizeChunks.tap( - { name: 'SplitChunksPlugin', stage: R }, - (R) => { - if (pe) return - pe = true - E.time('prepare') - const me = k.chunkGraph - const ye = k.moduleGraph - const _e = new Map() - const Ne = BigInt('0') - const Be = BigInt('1') - const qe = Be << BigInt('31') - let Ue = qe - for (const k of R) { - _e.set(k, Ue | BigInt((Math.random() * 2147483647) | 0)) - Ue = Ue << Be - } - const getKey = (k) => { - const v = k[Symbol.iterator]() - let E = v.next() - if (E.done) return Ne - const P = E.value - E = v.next() - if (E.done) return P - let R = _e.get(P) | _e.get(E.value) - while (!(E = v.next()).done) { - const k = _e.get(E.value) - R = R ^ k - } - return R - } - const keyToString = (k) => { - if (typeof k === 'bigint') return k.toString(16) - return _e.get(k).toString(16) - } - const Ge = Ie(() => { - const v = new Map() - const E = new Set() - for (const P of k.modules) { - const k = me.getModuleChunksIterable(P) - const R = getKey(k) - if (typeof R === 'bigint') { - if (!v.has(R)) { - v.set(R, new Set(k)) - } - } else { - E.add(R) - } - } - return { chunkSetsInGraph: v, singleChunkSets: E } - }) - const groupChunksByExports = (k) => { - const v = ye.getExportsInfo(k) - const E = new Map() - for (const P of me.getModuleChunksIterable(k)) { - const k = v.getUsageKey(P.runtime) - const R = E.get(k) - if (R !== undefined) { - R.push(P) - } else { - E.set(k, [P]) - } - } - return E.values() - } - const He = new Map() - const We = Ie(() => { - const v = new Map() - const E = new Set() - for (const P of k.modules) { - const k = Array.from(groupChunksByExports(P)) - He.set(P, k) - for (const P of k) { - if (P.length === 1) { - E.add(P[0]) - } else { - const k = getKey(P) - if (!v.has(k)) { - v.set(k, new Set(P)) - } - } - } - } - return { chunkSetsInGraph: v, singleChunkSets: E } - }) - const groupChunkSetsByCount = (k) => { - const v = new Map() - for (const E of k) { - const k = E.size - let P = v.get(k) - if (P === undefined) { - P = [] - v.set(k, P) - } - P.push(E) - } - return v - } - const Qe = Ie(() => - groupChunkSetsByCount(Ge().chunkSetsInGraph.values()) - ) - const Je = Ie(() => - groupChunkSetsByCount(We().chunkSetsInGraph.values()) - ) - const createGetCombinations = (k, v, E) => { - const R = new Map() - return (L) => { - const N = R.get(L) - if (N !== undefined) return N - if (L instanceof P) { - const k = [L] - R.set(L, k) - return k - } - const ae = k.get(L) - const le = [ae] - for (const [k, v] of E) { - if (k < ae.size) { - for (const k of v) { - if (q(ae, k)) { - le.push(k) - } - } - } - } - for (const k of v) { - if (ae.has(k)) { - le.push(k) - } - } - R.set(L, le) - return le - } - } - const Ve = Ie(() => { - const { chunkSetsInGraph: k, singleChunkSets: v } = Ge() - return createGetCombinations(k, v, Qe()) - }) - const getCombinations = (k) => Ve()(k) - const Ke = Ie(() => { - const { chunkSetsInGraph: k, singleChunkSets: v } = We() - return createGetCombinations(k, v, Je()) - }) - const getExportsCombinations = (k) => Ke()(k) - const Ye = new WeakMap() - const getSelectedChunks = (k, v) => { - let E = Ye.get(k) - if (E === undefined) { - E = new WeakMap() - Ye.set(k, E) - } - let R = E.get(v) - if (R === undefined) { - const L = [] - if (k instanceof P) { - if (v(k)) L.push(k) - } else { - for (const E of k) { - if (v(E)) L.push(E) - } - } - R = { chunks: L, key: getKey(L) } - E.set(v, R) - } - return R - } - const Xe = new Map() - const Ze = new Set() - const et = new Map() - const addModuleToChunksInfoMap = (v, E, P, R, N) => { - if (P.length < v.minChunks) return - const q = v.getName(N, P, v.key) - const pe = k.namedChunks.get(q) - if (pe) { - const E = `${q}|${typeof R === 'bigint' ? R : R.debugId}` - const N = Xe.get(E) - if (N === false) return - if (N === undefined) { - let R = true - const N = new Set() - for (const k of P) { - for (const v of k.groupsIterable) { - N.add(v) - } - } - for (const k of N) { - if (pe.isInGroup(k)) continue - let v = false - for (const E of k.parentsIterable) { - v = true - N.add(E) - } - if (!v) { - R = false - } - } - const ae = R - Xe.set(E, ae) - if (!ae) { - if (!Ze.has(q)) { - Ze.add(q) - k.errors.push( - new L( - 'SplitChunksPlugin\n' + - `Cache group "${v.key}" conflicts with existing chunk.\n` + - `Both have the same name "${q}" and existing chunk is not a parent of the selected modules.\n` + - 'Use a different name for the cache group or make sure that the existing chunk is a parent (e. g. via dependOn).\n' + - 'HINT: You can omit "name" to automatically create a name.\n' + - 'BREAKING CHANGE: webpack < 5 used to allow to use an entrypoint as splitChunk. ' + - 'This is no longer allowed when the entrypoint is not a parent of the selected modules.\n' + - "Remove this entrypoint and add modules to cache group's 'test' instead. " + - 'If you need modules to be evaluated on startup, add them to the existing entrypoints (make them arrays). ' + - 'See migration guide of more info.' - ) - ) - } - return - } - } - } - const me = - v.key + (q ? ` name:${q}` : ` chunks:${keyToString(R)}`) - let ye = et.get(me) - if (ye === undefined) { - et.set( - me, - (ye = { - modules: new ae(undefined, le), - cacheGroup: v, - cacheGroupIndex: E, - name: q, - sizes: {}, - chunks: new Set(), - reuseableChunks: new Set(), - chunksKeys: new Set(), - }) - ) - } - const _e = ye.modules.size - ye.modules.add(N) - if (ye.modules.size !== _e) { - for (const k of N.getSourceTypes()) { - ye.sizes[k] = (ye.sizes[k] || 0) + N.size(k) - } - } - const Ie = ye.chunksKeys.size - ye.chunksKeys.add(R) - if (Ie !== ye.chunksKeys.size) { - for (const k of P) { - ye.chunks.add(k) - } - } - } - const tt = { moduleGraph: ye, chunkGraph: me } - E.timeEnd('prepare') - E.time('modules') - for (const v of k.modules) { - let k = this.options.getCacheGroups(v, tt) - if (!Array.isArray(k) || k.length === 0) { - continue - } - const E = Ie(() => { - const k = me.getModuleChunksIterable(v) - const E = getKey(k) - return getCombinations(E) - }) - const R = Ie(() => { - We() - const k = new Set() - const E = He.get(v) - for (const v of E) { - const E = getKey(v) - for (const v of getExportsCombinations(E)) k.add(v) - } - return k - }) - let L = 0 - for (const N of k) { - const k = this._getCacheGroup(N) - const q = k.usedExports ? R() : E() - for (const E of q) { - const R = E instanceof P ? 1 : E.size - if (R < k.minChunks) continue - const { chunks: N, key: q } = getSelectedChunks( - E, - k.chunksFilter - ) - addModuleToChunksInfoMap(k, L, N, q, v) - } - L++ - } - } - E.timeEnd('modules') - E.time('queue') - const removeModulesWithSourceType = (k, v) => { - for (const E of k.modules) { - const P = E.getSourceTypes() - if (v.some((k) => P.has(k))) { - k.modules.delete(E) - for (const v of P) { - k.sizes[v] -= E.size(v) - } - } - } - } - const removeMinSizeViolatingModules = (k) => { - if (!k.cacheGroup._validateSize) return false - const v = getViolatingMinSizes(k.sizes, k.cacheGroup.minSize) - if (v === undefined) return false - removeModulesWithSourceType(k, v) - return k.modules.size === 0 - } - for (const [k, v] of et) { - if (removeMinSizeViolatingModules(v)) { - et.delete(k) - } else if ( - !checkMinSizeReduction( - v.sizes, - v.cacheGroup.minSizeReduction, - v.chunks.size - ) - ) { - et.delete(k) - } - } - const nt = new Map() - while (et.size > 0) { - let v - let E - for (const k of et) { - const P = k[0] - const R = k[1] - if (E === undefined || compareEntries(E, R) < 0) { - E = R - v = P - } - } - const P = E - et.delete(v) - let R = P.name - let L - let N = false - let q = false - if (R) { - const v = k.namedChunks.get(R) - if (v !== undefined) { - L = v - const k = P.chunks.size - P.chunks.delete(L) - N = P.chunks.size !== k - } - } else if (P.cacheGroup.reuseExistingChunk) { - e: for (const k of P.chunks) { - if (me.getNumberOfChunkModules(k) !== P.modules.size) { - continue - } - if ( - P.chunks.size > 1 && - me.getNumberOfEntryModules(k) > 0 - ) { - continue - } - for (const v of P.modules) { - if (!me.isModuleInChunk(v, k)) { - continue e - } - } - if (!L || !L.name) { - L = k - } else if (k.name && k.name.length < L.name.length) { - L = k - } else if ( - k.name && - k.name.length === L.name.length && - k.name < L.name - ) { - L = k - } - } - if (L) { - P.chunks.delete(L) - R = undefined - N = true - q = true - } - } - const ae = - P.cacheGroup._conditionalEnforce && - checkMinSize(P.sizes, P.cacheGroup.enforceSizeThreshold) - const le = new Set(P.chunks) - if ( - !ae && - (Number.isFinite(P.cacheGroup.maxInitialRequests) || - Number.isFinite(P.cacheGroup.maxAsyncRequests)) - ) { - for (const k of le) { - const v = k.isOnlyInitial() - ? P.cacheGroup.maxInitialRequests - : k.canBeInitial() - ? Math.min( - P.cacheGroup.maxInitialRequests, - P.cacheGroup.maxAsyncRequests - ) - : P.cacheGroup.maxAsyncRequests - if (isFinite(v) && getRequests(k) >= v) { - le.delete(k) - } - } - } - e: for (const k of le) { - for (const v of P.modules) { - if (me.isModuleInChunk(v, k)) continue e - } - le.delete(k) - } - if (le.size < P.chunks.size) { - if (N) le.add(L) - if (le.size >= P.cacheGroup.minChunks) { - const k = Array.from(le) - for (const v of P.modules) { - addModuleToChunksInfoMap( - P.cacheGroup, - P.cacheGroupIndex, - k, - getKey(le), - v - ) - } - } - continue - } - if ( - !ae && - P.cacheGroup._validateRemainingSize && - le.size === 1 - ) { - const [k] = le - let E = Object.create(null) - for (const v of me.getChunkModulesIterable(k)) { - if (!P.modules.has(v)) { - for (const k of v.getSourceTypes()) { - E[k] = (E[k] || 0) + v.size(k) - } - } - } - const R = getViolatingMinSizes( - E, - P.cacheGroup.minRemainingSize - ) - if (R !== undefined) { - const k = P.modules.size - removeModulesWithSourceType(P, R) - if (P.modules.size > 0 && P.modules.size !== k) { - et.set(v, P) - } - continue - } - } - if (L === undefined) { - L = k.addChunk(R) - } - for (const k of le) { - k.split(L) - } - L.chunkReason = - (L.chunkReason ? L.chunkReason + ', ' : '') + - (q ? 'reused as split chunk' : 'split chunk') - if (P.cacheGroup.key) { - L.chunkReason += ` (cache group: ${P.cacheGroup.key})` - } - if (R) { - L.chunkReason += ` (name: ${R})` - } - if (P.cacheGroup.filename) { - L.filenameTemplate = P.cacheGroup.filename - } - if (P.cacheGroup.idHint) { - L.idNameHints.add(P.cacheGroup.idHint) - } - if (!q) { - for (const v of P.modules) { - if (!v.chunkCondition(L, k)) continue - me.connectChunkAndModule(L, v) - for (const k of le) { - me.disconnectChunkAndModule(k, v) - } - } - } else { - for (const k of P.modules) { - for (const v of le) { - me.disconnectChunkAndModule(v, k) - } - } - } - if ( - Object.keys(P.cacheGroup.maxAsyncSize).length > 0 || - Object.keys(P.cacheGroup.maxInitialSize).length > 0 - ) { - const k = nt.get(L) - nt.set(L, { - minSize: k - ? combineSizes( - k.minSize, - P.cacheGroup._minSizeForMaxSize, - Math.max - ) - : P.cacheGroup.minSize, - maxAsyncSize: k - ? combineSizes( - k.maxAsyncSize, - P.cacheGroup.maxAsyncSize, - Math.min - ) - : P.cacheGroup.maxAsyncSize, - maxInitialSize: k - ? combineSizes( - k.maxInitialSize, - P.cacheGroup.maxInitialSize, - Math.min - ) - : P.cacheGroup.maxInitialSize, - automaticNameDelimiter: - P.cacheGroup.automaticNameDelimiter, - keys: k - ? k.keys.concat(P.cacheGroup.key) - : [P.cacheGroup.key], - }) - } - for (const [k, v] of et) { - if (isOverlap(v.chunks, le)) { - let E = false - for (const k of P.modules) { - if (v.modules.has(k)) { - v.modules.delete(k) - for (const E of k.getSourceTypes()) { - v.sizes[E] -= k.size(E) - } - E = true - } - } - if (E) { - if (v.modules.size === 0) { - et.delete(k) - continue - } - if ( - removeMinSizeViolatingModules(v) || - !checkMinSizeReduction( - v.sizes, - v.cacheGroup.minSizeReduction, - v.chunks.size - ) - ) { - et.delete(k) - continue - } - } - } - } - } - E.timeEnd('queue') - E.time('maxSize') - const st = new Set() - const { outputOptions: rt } = k - const { fallbackCacheGroup: ot } = this.options - for (const E of Array.from(k.chunks)) { - const P = nt.get(E) - const { - minSize: R, - maxAsyncSize: L, - maxInitialSize: q, - automaticNameDelimiter: ae, - } = P || ot - if (!P && !ot.chunksFilter(E)) continue - let le - if (E.isOnlyInitial()) { - le = q - } else if (E.canBeInitial()) { - le = combineSizes(L, q, Math.min) - } else { - le = L - } - if (Object.keys(le).length === 0) { - continue - } - for (const v of Object.keys(le)) { - const E = le[v] - const L = R[v] - if (typeof L === 'number' && L > E) { - const v = P && P.keys - const R = `${v && v.join()} ${L} ${E}` - if (!st.has(R)) { - st.add(R) - k.warnings.push(new Me(v, L, E)) - } - } - } - const pe = Te({ - minSize: R, - maxSize: mapObject(le, (k, v) => { - const E = R[v] - return typeof E === 'number' ? Math.max(k, E) : k - }), - items: me.getChunkModulesIterable(E), - getKey(k) { - const E = je.get(k) - if (E !== undefined) return E - const P = v(k.identifier()) - const R = k.nameForCondition && k.nameForCondition() - const L = R ? v(R) : P.replace(/^.*!|\?[^?!]*$/g, '') - const q = L + ae + hashFilename(P, rt) - const le = N(q) - je.set(k, le) - return le - }, - getSize(k) { - const v = Object.create(null) - for (const E of k.getSourceTypes()) { - v[E] = k.size(E) - } - return v - }, - }) - if (pe.length <= 1) { - continue - } - for (let v = 0; v < pe.length; v++) { - const P = pe[v] - const R = this.options.hidePathInfo - ? hashFilename(P.key, rt) - : P.key - let L = E.name ? E.name + ae + R : null - if (L && L.length > 100) { - L = L.slice(0, 100) + ae + hashFilename(L, rt) - } - if (v !== pe.length - 1) { - const v = k.addChunk(L) - E.split(v) - v.chunkReason = E.chunkReason - for (const R of P.items) { - if (!R.chunkCondition(v, k)) { - continue - } - me.connectChunkAndModule(v, R) - me.disconnectChunkAndModule(E, R) - } - } else { - E.name = L - } - } - } - E.timeEnd('maxSize') - } - ) - }) - } - } - }, - 63601: function (k, v, E) { - 'use strict' - const { formatSize: P } = E(3386) - const R = E(71572) - k.exports = class AssetsOverSizeLimitWarning extends R { - constructor(k, v) { - const E = k.map((k) => `\n ${k.name} (${P(k.size)})`).join('') - super( - `asset size limit: The following asset(s) exceed the recommended size limit (${P( - v - )}).\nThis can impact web performance.\nAssets: ${E}` - ) - this.name = 'AssetsOverSizeLimitWarning' - this.assets = k - } - } - }, - 1260: function (k, v, E) { - 'use strict' - const { formatSize: P } = E(3386) - const R = E(71572) - k.exports = class EntrypointsOverSizeLimitWarning extends R { - constructor(k, v) { - const E = k - .map( - (k) => - `\n ${k.name} (${P(k.size)})\n${k.files - .map((k) => ` ${k}`) - .join('\n')}` - ) - .join('') - super( - `entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${P( - v - )}). This can impact web performance.\nEntrypoints:${E}\n` - ) - this.name = 'EntrypointsOverSizeLimitWarning' - this.entrypoints = k - } - } - }, - 38234: function (k, v, E) { - 'use strict' - const P = E(71572) - k.exports = class NoAsyncChunksWarning extends P { - 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' - } - } - }, - 338: function (k, v, E) { - 'use strict' - const { find: P } = E(59959) - const R = E(63601) - const L = E(1260) - const N = E(38234) - const q = new WeakSet() - const excludeSourceMap = (k, v, E) => !E.development - k.exports = class SizeLimitsPlugin { - constructor(k) { - this.hints = k.hints - this.maxAssetSize = k.maxAssetSize - this.maxEntrypointSize = k.maxEntrypointSize - this.assetFilter = k.assetFilter - } - static isOverSizeLimit(k) { - return q.has(k) - } - apply(k) { - const v = this.maxEntrypointSize - const E = this.maxAssetSize - const ae = this.hints - const le = this.assetFilter || excludeSourceMap - k.hooks.afterEmit.tap('SizeLimitsPlugin', (k) => { - const pe = [] - const getEntrypointSize = (v) => { - let E = 0 - for (const P of v.getFiles()) { - const v = k.getAsset(P) - if (v && le(v.name, v.source, v.info) && v.source) { - E += v.info.size || v.source.size() - } - } - return E - } - const me = [] - for (const { name: v, source: P, info: R } of k.getAssets()) { - if (!le(v, P, R) || !P) { - continue - } - const k = R.size || P.size() - if (k > E) { - me.push({ name: v, size: k }) - q.add(P) - } - } - const fileFilter = (v) => { - const E = k.getAsset(v) - return E && le(E.name, E.source, E.info) - } - const ye = [] - for (const [E, P] of k.entrypoints) { - const k = getEntrypointSize(P) - if (k > v) { - ye.push({ - name: E, - size: k, - files: P.getFiles().filter(fileFilter), - }) - q.add(P) - } - } - if (ae) { - if (me.length > 0) { - pe.push(new R(me, E)) - } - if (ye.length > 0) { - pe.push(new L(ye, v)) - } - if (pe.length > 0) { - const v = P(k.chunks, (k) => !k.canBeInitial()) - if (!v) { - pe.push(new N()) - } - if (ae === 'error') { - k.errors.push(...pe) - } else { - k.warnings.push(...pe) - } - } - } - }) - } - } - }, - 64764: function (k, v, E) { - 'use strict' - const P = E(27462) - const R = E(95041) - class ChunkPrefetchFunctionRuntimeModule extends P { - constructor(k, v, E) { - super(`chunk ${k} function`) - this.childType = k - this.runtimeFunction = v - this.runtimeHandlers = E - } - generate() { - const { runtimeFunction: k, runtimeHandlers: v } = this - const { runtimeTemplate: E } = this.compilation - return R.asString([ - `${v} = {};`, - `${k} = ${E.basicFunction('chunkId', [ - `Object.keys(${v}).map(${E.basicFunction( - 'key', - `${v}[key](chunkId);` - )});`, - ])}`, - ]) - } - } - k.exports = ChunkPrefetchFunctionRuntimeModule - }, - 37247: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(64764) - const L = E(18175) - const N = E(66594) - const q = E(68931) - class ChunkPrefetchPreloadPlugin { - apply(k) { - k.hooks.compilation.tap('ChunkPrefetchPreloadPlugin', (k) => { - k.hooks.additionalChunkRuntimeRequirements.tap( - 'ChunkPrefetchPreloadPlugin', - (v, E, { chunkGraph: R }) => { - if (R.getNumberOfEntryModules(v) === 0) return - const N = v.getChildrenOfTypeInOrder(R, 'prefetchOrder') - if (N) { - E.add(P.prefetchChunk) - E.add(P.onChunksLoaded) - k.addRuntimeModule(v, new L(N)) - } - } - ) - k.hooks.additionalTreeRuntimeRequirements.tap( - 'ChunkPrefetchPreloadPlugin', - (v, E, { chunkGraph: R }) => { - const L = v.getChildIdsByOrdersMap(R, false) - if (L.prefetch) { - E.add(P.prefetchChunk) - k.addRuntimeModule(v, new N(L.prefetch)) - } - if (L.preload) { - E.add(P.preloadChunk) - k.addRuntimeModule(v, new q(L.preload)) - } - } - ) - k.hooks.runtimeRequirementInTree - .for(P.prefetchChunk) - .tap('ChunkPrefetchPreloadPlugin', (v, E) => { - k.addRuntimeModule( - v, - new R('prefetch', P.prefetchChunk, P.prefetchChunkHandlers) - ) - E.add(P.prefetchChunkHandlers) - }) - k.hooks.runtimeRequirementInTree - .for(P.preloadChunk) - .tap('ChunkPrefetchPreloadPlugin', (v, E) => { - k.addRuntimeModule( - v, - new R('preload', P.preloadChunk, P.preloadChunkHandlers) - ) - E.add(P.preloadChunkHandlers) - }) - }) - } - } - k.exports = ChunkPrefetchPreloadPlugin - }, - 18175: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class ChunkPrefetchStartupRuntimeModule extends R { - constructor(k) { - super('startup prefetch', R.STAGE_TRIGGER) - this.startupChunks = k - } - generate() { - const { startupChunks: k, chunk: v } = this - const { runtimeTemplate: E } = this.compilation - return L.asString( - k.map( - ({ onChunks: k, chunks: R }) => - `${P.onChunksLoaded}(0, ${JSON.stringify( - k.filter((k) => k === v).map((k) => k.id) - )}, ${E.basicFunction( - '', - R.size < 3 - ? Array.from( - R, - (k) => `${P.prefetchChunk}(${JSON.stringify(k.id)});` - ) - : `${JSON.stringify(Array.from(R, (k) => k.id))}.map(${ - P.prefetchChunk - });` - )}, 5);` - ) - ) - } - } - k.exports = ChunkPrefetchStartupRuntimeModule - }, - 66594: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class ChunkPrefetchTriggerRuntimeModule extends R { - constructor(k) { - super(`chunk prefetch trigger`, R.STAGE_TRIGGER) - this.chunkMap = k - } - generate() { - const { chunkMap: k } = this - const { runtimeTemplate: v } = this.compilation - const E = [ - 'var chunks = chunkToChildrenMap[chunkId];', - `Array.isArray(chunks) && chunks.map(${P.prefetchChunk});`, - ] - return L.asString([ - L.asString([ - `var chunkToChildrenMap = ${JSON.stringify(k, null, '\t')};`, - `${P.ensureChunkHandlers}.prefetch = ${v.expressionFunction( - `Promise.all(promises).then(${v.basicFunction('', E)})`, - 'chunkId, promises' - )};`, - ]), - ]) - } - } - k.exports = ChunkPrefetchTriggerRuntimeModule - }, - 68931: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class ChunkPreloadTriggerRuntimeModule extends R { - constructor(k) { - super(`chunk preload trigger`, R.STAGE_TRIGGER) - this.chunkMap = k - } - generate() { - const { chunkMap: k } = this - const { runtimeTemplate: v } = this.compilation - const E = [ - 'var chunks = chunkToChildrenMap[chunkId];', - `Array.isArray(chunks) && chunks.map(${P.preloadChunk});`, - ] - return L.asString([ - L.asString([ - `var chunkToChildrenMap = ${JSON.stringify(k, null, '\t')};`, - `${P.ensureChunkHandlers}.preload = ${v.basicFunction( - 'chunkId', - E - )};`, - ]), - ]) - } - } - k.exports = ChunkPreloadTriggerRuntimeModule - }, - 4345: function (k) { - 'use strict' - class BasicEffectRulePlugin { - constructor(k, v) { - this.ruleProperty = k - this.effectType = v || k - } - apply(k) { - k.hooks.rule.tap('BasicEffectRulePlugin', (k, v, E, P, R) => { - if (E.has(this.ruleProperty)) { - E.delete(this.ruleProperty) - const k = v[this.ruleProperty] - P.effects.push({ type: this.effectType, value: k }) - } - }) - } - } - k.exports = BasicEffectRulePlugin - }, - 559: function (k) { - 'use strict' - class BasicMatcherRulePlugin { - constructor(k, v, E) { - this.ruleProperty = k - this.dataProperty = v || k - this.invert = E || false - } - apply(k) { - k.hooks.rule.tap('BasicMatcherRulePlugin', (v, E, P, R) => { - if (P.has(this.ruleProperty)) { - P.delete(this.ruleProperty) - const L = E[this.ruleProperty] - const N = k.compileCondition(`${v}.${this.ruleProperty}`, L) - const q = N.fn - R.conditions.push({ - property: this.dataProperty, - matchWhenEmpty: this.invert - ? !N.matchWhenEmpty - : N.matchWhenEmpty, - fn: this.invert ? (k) => !q(k) : q, - }) - } - }) - } - } - k.exports = BasicMatcherRulePlugin - }, - 73799: function (k) { - 'use strict' - class ObjectMatcherRulePlugin { - constructor(k, v) { - this.ruleProperty = k - this.dataProperty = v || k - } - apply(k) { - const { ruleProperty: v, dataProperty: E } = this - k.hooks.rule.tap('ObjectMatcherRulePlugin', (P, R, L, N) => { - if (L.has(v)) { - L.delete(v) - const q = R[v] - for (const R of Object.keys(q)) { - const L = R.split('.') - const ae = k.compileCondition(`${P}.${v}.${R}`, q[R]) - N.conditions.push({ - property: [E, ...L], - matchWhenEmpty: ae.matchWhenEmpty, - fn: ae.fn, - }) - } - } - }) - } - } - k.exports = ObjectMatcherRulePlugin - }, - 87536: function (k, v, E) { - 'use strict' - const { SyncHook: P } = E(79846) - class RuleSetCompiler { - constructor(k) { - this.hooks = Object.freeze({ - rule: new P([ - 'path', - 'rule', - 'unhandledProperties', - 'compiledRule', - 'references', - ]), - }) - if (k) { - for (const v of k) { - v.apply(this) - } - } - } - compile(k) { - const v = new Map() - const E = this.compileRules('ruleSet', k, v) - const execRule = (k, v, E) => { - for (const E of v.conditions) { - const v = E.property - if (Array.isArray(v)) { - let P = k - for (const k of v) { - if ( - P && - typeof P === 'object' && - Object.prototype.hasOwnProperty.call(P, k) - ) { - P = P[k] - } else { - P = undefined - break - } - } - if (P !== undefined) { - if (!E.fn(P)) return false - continue - } - } else if (v in k) { - const P = k[v] - if (P !== undefined) { - if (!E.fn(P)) return false - continue - } - } - if (!E.matchWhenEmpty) { - return false - } - } - for (const P of v.effects) { - if (typeof P === 'function') { - const v = P(k) - for (const k of v) { - E.push(k) - } - } else { - E.push(P) - } - } - if (v.rules) { - for (const P of v.rules) { - execRule(k, P, E) - } - } - if (v.oneOf) { - for (const P of v.oneOf) { - if (execRule(k, P, E)) { - break - } - } - } - return true - } - return { - references: v, - exec: (k) => { - const v = [] - for (const P of E) { - execRule(k, P, v) - } - return v - }, - } - } - compileRules(k, v, E) { - return v.map((v, P) => this.compileRule(`${k}[${P}]`, v, E)) - } - compileRule(k, v, E) { - const P = new Set(Object.keys(v).filter((k) => v[k] !== undefined)) - const R = { - conditions: [], - effects: [], - rules: undefined, - oneOf: undefined, - } - this.hooks.rule.call(k, v, P, R, E) - if (P.has('rules')) { - P.delete('rules') - const L = v.rules - if (!Array.isArray(L)) - throw this.error(k, L, 'Rule.rules must be an array of rules') - R.rules = this.compileRules(`${k}.rules`, L, E) - } - if (P.has('oneOf')) { - P.delete('oneOf') - const L = v.oneOf - if (!Array.isArray(L)) - throw this.error(k, L, 'Rule.oneOf must be an array of rules') - R.oneOf = this.compileRules(`${k}.oneOf`, L, E) - } - if (P.size > 0) { - throw this.error( - k, - v, - `Properties ${Array.from(P).join(', ')} are unknown` - ) - } - return R - } - compileCondition(k, v) { - if (v === '') { - return { matchWhenEmpty: true, fn: (k) => k === '' } - } - if (!v) { - throw this.error(k, v, 'Expected condition but got falsy value') - } - if (typeof v === 'string') { - return { - matchWhenEmpty: v.length === 0, - fn: (k) => typeof k === 'string' && k.startsWith(v), - } - } - if (typeof v === 'function') { - try { - return { matchWhenEmpty: v(''), fn: v } - } catch (E) { - throw this.error( - k, - v, - 'Evaluation of condition function threw error' - ) - } - } - if (v instanceof RegExp) { - return { - matchWhenEmpty: v.test(''), - fn: (k) => typeof k === 'string' && v.test(k), - } - } - if (Array.isArray(v)) { - const E = v.map((v, E) => this.compileCondition(`${k}[${E}]`, v)) - return this.combineConditionsOr(E) - } - if (typeof v !== 'object') { - throw this.error( - k, - v, - `Unexpected ${typeof v} when condition was expected` - ) - } - const E = [] - for (const P of Object.keys(v)) { - const R = v[P] - switch (P) { - case 'or': - if (R) { - if (!Array.isArray(R)) { - throw this.error( - `${k}.or`, - v.and, - 'Expected array of conditions' - ) - } - E.push(this.compileCondition(`${k}.or`, R)) - } - break - case 'and': - if (R) { - if (!Array.isArray(R)) { - throw this.error( - `${k}.and`, - v.and, - 'Expected array of conditions' - ) - } - let P = 0 - for (const v of R) { - E.push(this.compileCondition(`${k}.and[${P}]`, v)) - P++ - } - } - break - case 'not': - if (R) { - const v = this.compileCondition(`${k}.not`, R) - const P = v.fn - E.push({ - matchWhenEmpty: !v.matchWhenEmpty, - fn: (k) => !P(k), - }) - } - break - default: - throw this.error( - `${k}.${P}`, - v[P], - `Unexpected property ${P} in condition` - ) - } - } - if (E.length === 0) { - throw this.error(k, v, 'Expected condition, but got empty thing') - } - return this.combineConditionsAnd(E) - } - combineConditionsOr(k) { - if (k.length === 0) { - return { matchWhenEmpty: false, fn: () => false } - } else if (k.length === 1) { - return k[0] - } else { - return { - matchWhenEmpty: k.some((k) => k.matchWhenEmpty), - fn: (v) => k.some((k) => k.fn(v)), - } - } - } - combineConditionsAnd(k) { - if (k.length === 0) { - return { matchWhenEmpty: false, fn: () => false } - } else if (k.length === 1) { - return k[0] - } else { - return { - matchWhenEmpty: k.every((k) => k.matchWhenEmpty), - fn: (v) => k.every((k) => k.fn(v)), - } - } - } - error(k, v, E) { - return new Error(`Compiling RuleSet failed: ${E} (at ${k}: ${v})`) - } - } - k.exports = RuleSetCompiler - }, - 53998: function (k, v, E) { - 'use strict' - const P = E(73837) - class UseEffectRulePlugin { - apply(k) { - k.hooks.rule.tap('UseEffectRulePlugin', (v, E, R, L, N) => { - const conflictWith = (P, L) => { - if (R.has(P)) { - throw k.error( - `${v}.${P}`, - E[P], - `A Rule must not have a '${P}' property when it has a '${L}' property` - ) - } - } - if (R.has('use')) { - R.delete('use') - R.delete('enforce') - conflictWith('loader', 'use') - conflictWith('options', 'use') - const k = E.use - const q = E.enforce - const ae = q ? `use-${q}` : 'use' - const useToEffect = (k, v, E) => { - if (typeof E === 'function') { - return (v) => useToEffectsWithoutIdent(k, E(v)) - } else { - return useToEffectRaw(k, v, E) - } - } - const useToEffectRaw = (k, v, E) => { - if (typeof E === 'string') { - return { - type: ae, - value: { loader: E, options: undefined, ident: undefined }, - } - } else { - const R = E.loader - const L = E.options - let ae = E.ident - if (L && typeof L === 'object') { - if (!ae) ae = v - N.set(ae, L) - } - if (typeof L === 'string') { - P.deprecate( - () => {}, - `Using a string as loader options is deprecated (${k}.options)`, - 'DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING' - )() - } - return { - type: q ? `use-${q}` : 'use', - value: { loader: R, options: L, ident: ae }, - } - } - } - const useToEffectsWithoutIdent = (k, v) => { - if (Array.isArray(v)) { - return v.map((v, E) => - useToEffectRaw(`${k}[${E}]`, '[[missing ident]]', v) - ) - } - return [useToEffectRaw(k, '[[missing ident]]', v)] - } - const useToEffects = (k, v) => { - if (Array.isArray(v)) { - return v.map((v, E) => { - const P = `${k}[${E}]` - return useToEffect(P, P, v) - }) - } - return [useToEffect(k, k, v)] - } - if (typeof k === 'function') { - L.effects.push((E) => - useToEffectsWithoutIdent(`${v}.use`, k(E)) - ) - } else { - for (const E of useToEffects(`${v}.use`, k)) { - L.effects.push(E) - } - } - } - if (R.has('loader')) { - R.delete('loader') - R.delete('options') - R.delete('enforce') - const q = E.loader - const ae = E.options - const le = E.enforce - if (q.includes('!')) { - throw k.error( - `${v}.loader`, - q, - "Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays" - ) - } - if (q.includes('?')) { - throw k.error( - `${v}.loader`, - q, - "Query arguments on 'loader' has been removed in favor of the 'options' property" - ) - } - if (typeof ae === 'string') { - P.deprecate( - () => {}, - `Using a string as loader options is deprecated (${v}.options)`, - 'DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING' - )() - } - const pe = ae && typeof ae === 'object' ? v : undefined - N.set(pe, ae) - L.effects.push({ - type: le ? `use-${le}` : 'use', - value: { loader: q, options: ae, ident: pe }, - }) - } - }) - } - useItemToEffects(k, v) {} - } - k.exports = UseEffectRulePlugin - }, - 43120: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(95041) - const L = E(25945) - class AsyncModuleRuntimeModule extends L { - constructor() { - super('async module') - } - generate() { - const { runtimeTemplate: k } = this.compilation - const v = P.asyncModule - return R.asString([ - 'var webpackQueues = typeof Symbol === "function" ? Symbol("webpack queues") : "__webpack_queues__";', - `var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "${P.exports}";`, - 'var webpackError = typeof Symbol === "function" ? Symbol("webpack error") : "__webpack_error__";', - `var resolveQueue = ${k.basicFunction('queue', [ - 'if(queue && !queue.d) {', - R.indent([ - 'queue.d = 1;', - `queue.forEach(${k.expressionFunction('fn.r--', 'fn')});`, - `queue.forEach(${k.expressionFunction( - 'fn.r-- ? fn.r++ : fn()', - 'fn' - )});`, - ]), - '}', - ])}`, - `var wrapDeps = ${k.returningFunction( - `deps.map(${k.basicFunction('dep', [ - 'if(dep !== null && typeof dep === "object") {', - R.indent([ - 'if(dep[webpackQueues]) return dep;', - 'if(dep.then) {', - R.indent([ - 'var queue = [];', - 'queue.d = 0;', - `dep.then(${k.basicFunction('r', [ - 'obj[webpackExports] = r;', - 'resolveQueue(queue);', - ])}, ${k.basicFunction('e', [ - 'obj[webpackError] = e;', - 'resolveQueue(queue);', - ])});`, - 'var obj = {};', - `obj[webpackQueues] = ${k.expressionFunction( - `fn(queue)`, - 'fn' - )};`, - 'return obj;', - ]), - '}', - ]), - '}', - 'var ret = {};', - `ret[webpackQueues] = ${k.emptyFunction()};`, - 'ret[webpackExports] = dep;', - 'return ret;', - ])})`, - 'deps' - )};`, - `${v} = ${k.basicFunction('module, body, hasAwait', [ - 'var queue;', - 'hasAwait && ((queue = []).d = 1);', - 'var depQueues = new Set();', - 'var exports = module.exports;', - 'var currentDeps;', - 'var outerResolve;', - 'var reject;', - `var promise = new Promise(${k.basicFunction('resolve, rej', [ - 'reject = rej;', - 'outerResolve = resolve;', - ])});`, - 'promise[webpackExports] = exports;', - `promise[webpackQueues] = ${k.expressionFunction( - `queue && fn(queue), depQueues.forEach(fn), promise["catch"](${k.emptyFunction()})`, - 'fn' - )};`, - 'module.exports = promise;', - `body(${k.basicFunction('deps', [ - 'currentDeps = wrapDeps(deps);', - 'var fn;', - `var getResult = ${k.returningFunction( - `currentDeps.map(${k.basicFunction('d', [ - 'if(d[webpackError]) throw d[webpackError];', - 'return d[webpackExports];', - ])})` - )}`, - `var promise = new Promise(${k.basicFunction('resolve', [ - `fn = ${k.expressionFunction('resolve(getResult)', '')};`, - 'fn.r = 0;', - `var fnQueue = ${k.expressionFunction( - 'q !== queue && !depQueues.has(q) && (depQueues.add(q), q && !q.d && (fn.r++, q.push(fn)))', - 'q' - )};`, - `currentDeps.map(${k.expressionFunction( - 'dep[webpackQueues](fnQueue)', - 'dep' - )});`, - ])});`, - 'return fn.r ? promise : getResult();', - ])}, ${k.expressionFunction( - '(err ? reject(promise[webpackError] = err) : outerResolve(exports)), resolveQueue(queue)', - 'err' - )});`, - 'queue && (queue.d = 0);', - ])};`, - ]) - } - } - k.exports = AsyncModuleRuntimeModule - }, - 30982: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - const N = E(89168) - const { getUndoPath: q } = E(65315) - class AutoPublicPathRuntimeModule extends R { - constructor() { - super('publicPath', R.STAGE_BASIC) - } - generate() { - const { compilation: k } = this - const { scriptType: v, importMetaName: E, path: R } = k.outputOptions - const ae = k.getPath( - N.getChunkFilenameTemplate(this.chunk, k.outputOptions), - { chunk: this.chunk, contentHashType: 'javascript' } - ) - const le = q(ae, R, false) - return L.asString([ - 'var scriptUrl;', - v === 'module' - ? `if (typeof ${E}.url === "string") scriptUrl = ${E}.url` - : L.asString([ - `if (${P.global}.importScripts) scriptUrl = ${P.global}.location + "";`, - `var document = ${P.global}.document;`, - 'if (!scriptUrl && document) {', - L.indent([ - `if (document.currentScript)`, - L.indent(`scriptUrl = document.currentScript.src;`), - 'if (!scriptUrl) {', - L.indent([ - 'var scripts = document.getElementsByTagName("script");', - 'if(scripts.length) {', - L.indent([ - 'var i = scripts.length - 1;', - 'while (i > -1 && !scriptUrl) scriptUrl = scripts[i--].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(/\\/[^\\/]+$/, "/");', - !le - ? `${P.publicPath} = scriptUrl;` - : `${P.publicPath} = scriptUrl + ${JSON.stringify(le)};`, - ]) - } - } - k.exports = AutoPublicPathRuntimeModule - }, - 95308: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - class BaseUriRuntimeModule extends R { - constructor() { - super('base uri', R.STAGE_ATTACH) - } - generate() { - const { chunk: k } = this - const v = k.getEntryOptions() - return `${P.baseURI} = ${ - v.baseUri === undefined ? 'undefined' : JSON.stringify(v.baseUri) - };` - } - } - k.exports = BaseUriRuntimeModule - }, - 32861: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - class ChunkNameRuntimeModule extends R { - constructor(k) { - super('chunkName') - this.chunkName = k - } - generate() { - return `${P.chunkName} = ${JSON.stringify(this.chunkName)};` - } - } - k.exports = ChunkNameRuntimeModule - }, - 75916: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(95041) - const L = E(25945) - class CompatGetDefaultExportRuntimeModule extends L { - constructor() { - super('compat get default export') - } - generate() { - const { runtimeTemplate: k } = this.compilation - const v = P.compatGetDefaultExport - return R.asString([ - '// getDefaultExport function for compatibility with non-harmony modules', - `${v} = ${k.basicFunction('module', [ - 'var getter = module && module.__esModule ?', - R.indent([ - `${k.returningFunction("module['default']")} :`, - `${k.returningFunction('module')};`, - ]), - `${P.definePropertyGetters}(getter, { a: getter });`, - 'return getter;', - ])};`, - ]) - } - } - k.exports = CompatGetDefaultExportRuntimeModule - }, - 9518: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - class CompatRuntimeModule extends R { - constructor() { - super('compat', R.STAGE_ATTACH) - this.fullHash = true - } - generate() { - const { chunkGraph: k, chunk: v, compilation: E } = this - const { - runtimeTemplate: R, - mainTemplate: L, - moduleTemplates: N, - dependencyTemplates: q, - } = E - const ae = L.hooks.bootstrap.call( - '', - v, - E.hash || 'XXXX', - N.javascript, - q - ) - const le = L.hooks.localVars.call('', v, E.hash || 'XXXX') - const pe = L.hooks.requireExtensions.call('', v, E.hash || 'XXXX') - const me = k.getTreeRuntimeRequirements(v) - let ye = '' - if (me.has(P.ensureChunk)) { - const k = L.hooks.requireEnsure.call( - '', - v, - E.hash || 'XXXX', - 'chunkId' - ) - if (k) { - ye = `${P.ensureChunkHandlers}.compat = ${R.basicFunction( - 'chunkId, promises', - k - )};` - } - } - return [ae, le, ye, pe].filter(Boolean).join('\n') - } - shouldIsolate() { - return false - } - } - k.exports = CompatRuntimeModule - }, - 23466: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(95041) - const L = E(25945) - class CreateFakeNamespaceObjectRuntimeModule extends L { - constructor() { - super('create fake namespace object') - } - generate() { - const { runtimeTemplate: k } = this.compilation - const v = P.createFakeNamespaceObject - return R.asString([ - `var getProto = Object.getPrototypeOf ? ${k.returningFunction( - 'Object.getPrototypeOf(obj)', - 'obj' - )} : ${k.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', - `${v} = function(value, mode) {`, - R.indent([ - `if(mode & 1) value = this(value);`, - `if(mode & 8) return value;`, - "if(typeof value === 'object' && value) {", - R.indent([ - 'if((mode & 4) && value.__esModule) return value;', - "if((mode & 16) && typeof value.then === 'function') return value;", - ]), - '}', - 'var ns = Object.create(null);', - `${P.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)) {", - R.indent([ - `Object.getOwnPropertyNames(current).forEach(${k.expressionFunction( - `def[key] = ${k.returningFunction('value[key]', '')}`, - 'key' - )});`, - ]), - '}', - `def['default'] = ${k.returningFunction('value', '')};`, - `${P.definePropertyGetters}(ns, def);`, - 'return ns;', - ]), - '};', - ]) - } - } - k.exports = CreateFakeNamespaceObjectRuntimeModule - }, - 39358: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(95041) - const L = E(25945) - class CreateScriptRuntimeModule extends L { - constructor() { - super('trusted types script') - } - generate() { - const { compilation: k } = this - const { runtimeTemplate: v, outputOptions: E } = k - const { trustedTypes: L } = E - const N = P.createScript - return R.asString( - `${N} = ${v.returningFunction( - L - ? `${P.getTrustedTypesPolicy}().createScript(script)` - : 'script', - 'script' - )};` - ) - } - } - k.exports = CreateScriptRuntimeModule - }, - 16797: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(95041) - const L = E(25945) - class CreateScriptUrlRuntimeModule extends L { - constructor() { - super('trusted types script url') - } - generate() { - const { compilation: k } = this - const { runtimeTemplate: v, outputOptions: E } = k - const { trustedTypes: L } = E - const N = P.createScriptUrl - return R.asString( - `${N} = ${v.returningFunction( - L ? `${P.getTrustedTypesPolicy}().createScriptURL(url)` : 'url', - 'url' - )};` - ) - } - } - k.exports = CreateScriptUrlRuntimeModule - }, - 71662: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(95041) - const L = E(25945) - class DefinePropertyGettersRuntimeModule extends L { - constructor() { - super('define property getters') - } - generate() { - const { runtimeTemplate: k } = this.compilation - const v = P.definePropertyGetters - return R.asString([ - '// define getter functions for harmony exports', - `${v} = ${k.basicFunction('exports, definition', [ - `for(var key in definition) {`, - R.indent([ - `if(${P.hasOwnProperty}(definition, key) && !${P.hasOwnProperty}(exports, key)) {`, - R.indent([ - 'Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });', - ]), - '}', - ]), - '}', - ])};`, - ]) - } - } - k.exports = DefinePropertyGettersRuntimeModule - }, - 33442: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class EnsureChunkRuntimeModule extends R { - constructor(k) { - super('ensure chunk') - this.runtimeRequirements = k - } - generate() { - const { runtimeTemplate: k } = this.compilation - if (this.runtimeRequirements.has(P.ensureChunkHandlers)) { - const v = P.ensureChunkHandlers - return L.asString([ - `${v} = {};`, - '// This file contains only the entry chunk.', - '// The chunk loading function for additional chunks', - `${P.ensureChunk} = ${k.basicFunction('chunkId', [ - `return Promise.all(Object.keys(${v}).reduce(${k.basicFunction( - 'promises, key', - [`${v}[key](chunkId, promises);`, 'return promises;'] - )}, []));`, - ])};`, - ]) - } else { - return L.asString([ - '// The chunk loading function for additional chunks', - '// Since all referenced chunks are already included', - '// in this file, this function is empty here.', - `${P.ensureChunk} = ${k.returningFunction('Promise.resolve()')};`, - ]) - } - } - } - k.exports = EnsureChunkRuntimeModule - }, - 10582: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - const { first: N } = E(59959) - class GetChunkFilenameRuntimeModule extends R { - constructor(k, v, E, P, R) { - super(`get ${v} chunk filename`) - this.contentType = k - this.global = E - this.getFilenameForChunk = P - this.allChunks = R - this.dependentHash = true - } - generate() { - const { - global: k, - chunk: v, - chunkGraph: E, - contentType: R, - getFilenameForChunk: q, - allChunks: ae, - compilation: le, - } = this - const { runtimeTemplate: pe } = le - const me = new Map() - let ye = 0 - let _e - const addChunk = (k) => { - const v = q(k) - if (v) { - let E = me.get(v) - if (E === undefined) { - me.set(v, (E = new Set())) - } - E.add(k) - if (typeof v === 'string') { - if (E.size < ye) return - if (E.size === ye) { - if (v.length < _e.length) { - return - } - if (v.length === _e.length) { - if (v < _e) { - return - } - } - } - ye = E.size - _e = v - } - } - } - const Ie = [] - if (ae) { - Ie.push('all chunks') - for (const k of v.getAllReferencedChunks()) { - addChunk(k) - } - } else { - Ie.push('async chunks') - for (const k of v.getAllAsyncChunks()) { - addChunk(k) - } - const k = E.getTreeRuntimeRequirements(v).has( - P.ensureChunkIncludeEntries - ) - if (k) { - Ie.push('sibling chunks for the entrypoint') - for (const k of E.getChunkEntryDependentChunksIterable(v)) { - addChunk(k) - } - } - } - for (const k of v.getAllReferencedAsyncEntrypoints()) { - addChunk(k.chunks[k.chunks.length - 1]) - } - const Me = new Map() - const Te = new Set() - const addStaticUrl = (k, v) => { - const unquotedStringify = (v) => { - const E = `${v}` - if (E.length >= 5 && E === `${k.id}`) { - return '" + chunkId + "' - } - const P = JSON.stringify(E) - return P.slice(1, P.length - 1) - } - const unquotedStringifyWithLength = (k) => (v) => - unquotedStringify(`${k}`.slice(0, v)) - const E = - typeof v === 'function' - ? JSON.stringify(v({ chunk: k, contentHashType: R })) - : JSON.stringify(v) - const L = le.getPath(E, { - hash: `" + ${P.getFullHash}() + "`, - hashWithLength: (k) => - `" + ${P.getFullHash}().slice(0, ${k}) + "`, - chunk: { - id: unquotedStringify(k.id), - hash: unquotedStringify(k.renderedHash), - hashWithLength: unquotedStringifyWithLength(k.renderedHash), - name: unquotedStringify(k.name || k.id), - contentHash: { [R]: unquotedStringify(k.contentHash[R]) }, - contentHashWithLength: { - [R]: unquotedStringifyWithLength(k.contentHash[R]), - }, - }, - contentHashType: R, - }) - let N = Me.get(L) - if (N === undefined) { - Me.set(L, (N = new Set())) - } - N.add(k.id) - } - for (const [k, v] of me) { - if (k !== _e) { - for (const E of v) addStaticUrl(E, k) - } else { - for (const k of v) Te.add(k) - } - } - const createMap = (k) => { - const v = {} - let E = false - let P - let R = 0 - for (const L of Te) { - const N = k(L) - if (N === L.id) { - E = true - } else { - v[L.id] = N - P = L.id - R++ - } - } - if (R === 0) return 'chunkId' - if (R === 1) { - return E - ? `(chunkId === ${JSON.stringify(P)} ? ${JSON.stringify( - v[P] - )} : chunkId)` - : JSON.stringify(v[P]) - } - return E - ? `(${JSON.stringify(v)}[chunkId] || chunkId)` - : `${JSON.stringify(v)}[chunkId]` - } - const mapExpr = (k) => `" + ${createMap(k)} + "` - const mapExprWithLength = (k) => (v) => - `" + ${createMap((E) => `${k(E)}`.slice(0, v))} + "` - const je = - _e && - le.getPath(JSON.stringify(_e), { - hash: `" + ${P.getFullHash}() + "`, - hashWithLength: (k) => - `" + ${P.getFullHash}().slice(0, ${k}) + "`, - chunk: { - id: `" + chunkId + "`, - hash: mapExpr((k) => k.renderedHash), - hashWithLength: mapExprWithLength((k) => k.renderedHash), - name: mapExpr((k) => k.name || k.id), - contentHash: { [R]: mapExpr((k) => k.contentHash[R]) }, - contentHashWithLength: { - [R]: mapExprWithLength((k) => k.contentHash[R]), - }, - }, - contentHashType: R, - }) - return L.asString([ - `// This function allow to reference ${Ie.join(' and ')}`, - `${k} = ${pe.basicFunction( - 'chunkId', - Me.size > 0 - ? [ - '// return url for filenames not based on template', - L.asString( - Array.from(Me, ([k, v]) => { - const E = - v.size === 1 - ? `chunkId === ${JSON.stringify(N(v))}` - : `{${Array.from( - v, - (k) => `${JSON.stringify(k)}:1` - ).join(',')}}[chunkId]` - return `if (${E}) return ${k};` - }) - ), - '// return url for filenames based on template', - `return ${je};`, - ] - : [ - '// return url for filenames based on template', - `return ${je};`, - ] - )};`, - ]) - } - } - k.exports = GetChunkFilenameRuntimeModule - }, - 5e3: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - class GetFullHashRuntimeModule extends R { - constructor() { - super('getFullHash') - this.fullHash = true - } - generate() { - const { runtimeTemplate: k } = this.compilation - return `${P.getFullHash} = ${k.returningFunction( - JSON.stringify(this.compilation.hash || 'XXXX') - )}` - } - } - k.exports = GetFullHashRuntimeModule - }, - 21794: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class GetMainFilenameRuntimeModule extends R { - constructor(k, v, E) { - super(`get ${k} filename`) - this.global = v - this.filename = E - } - generate() { - const { global: k, filename: v, compilation: E, chunk: R } = this - const { runtimeTemplate: N } = E - const q = E.getPath(JSON.stringify(v), { - hash: `" + ${P.getFullHash}() + "`, - hashWithLength: (k) => `" + ${P.getFullHash}().slice(0, ${k}) + "`, - chunk: R, - runtime: R.runtime, - }) - return L.asString([`${k} = ${N.returningFunction(q)};`]) - } - } - k.exports = GetMainFilenameRuntimeModule - }, - 66537: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(95041) - const L = E(25945) - class GetTrustedTypesPolicyRuntimeModule extends L { - constructor(k) { - super('trusted types policy') - this.runtimeRequirements = k - } - generate() { - const { compilation: k } = this - const { runtimeTemplate: v, outputOptions: E } = k - const { trustedTypes: L } = E - const N = P.getTrustedTypesPolicy - const q = L ? L.onPolicyCreationFailure === 'continue' : false - return R.asString([ - 'var policy;', - `${N} = ${v.basicFunction('', [ - "// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.", - 'if (policy === undefined) {', - R.indent([ - 'policy = {', - R.indent( - [ - ...(this.runtimeRequirements.has(P.createScript) - ? [ - `createScript: ${v.returningFunction( - 'script', - 'script' - )}`, - ] - : []), - ...(this.runtimeRequirements.has(P.createScriptUrl) - ? [ - `createScriptURL: ${v.returningFunction( - 'url', - 'url' - )}`, - ] - : []), - ].join(',\n') - ), - '};', - ...(L - ? [ - 'if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) {', - R.indent([ - ...(q ? ['try {'] : []), - ...[ - `policy = trustedTypes.createPolicy(${JSON.stringify( - L.policyName - )}, policy);`, - ].map((k) => (q ? R.indent(k) : k)), - ...(q - ? [ - '} catch (e) {', - R.indent([ - `console.warn('Could not create trusted-types policy ${JSON.stringify( - L.policyName - )}');`, - ]), - '}', - ] - : []), - ]), - '}', - ] - : []), - ]), - '}', - 'return policy;', - ])};`, - ]) - } - } - k.exports = GetTrustedTypesPolicyRuntimeModule - }, - 75013: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class GlobalRuntimeModule extends R { - constructor() { - super('global') - } - generate() { - return L.asString([ - `${P.global} = (function() {`, - L.indent([ - "if (typeof globalThis === 'object') return globalThis;", - 'try {', - L.indent("return this || new Function('return this')();"), - '} catch (e) {', - L.indent("if (typeof window === 'object') return window;"), - '}', - ]), - '})();', - ]) - } - } - k.exports = GlobalRuntimeModule - }, - 43840: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class HasOwnPropertyRuntimeModule extends R { - constructor() { - super('hasOwnProperty shorthand') - } - generate() { - const { runtimeTemplate: k } = this.compilation - return L.asString([ - `${P.hasOwnProperty} = ${k.returningFunction( - 'Object.prototype.hasOwnProperty.call(obj, prop)', - 'obj, prop' - )}`, - ]) - } - } - k.exports = HasOwnPropertyRuntimeModule - }, - 25945: function (k, v, E) { - 'use strict' - const P = E(27462) - class HelperRuntimeModule extends P { - constructor(k) { - super(k) - } - } - k.exports = HelperRuntimeModule - }, - 42159: function (k, v, E) { - 'use strict' - const { SyncWaterfallHook: P } = E(79846) - const R = E(27747) - const L = E(56727) - const N = E(95041) - const q = E(25945) - const ae = new WeakMap() - class LoadScriptRuntimeModule extends q { - static getCompilationHooks(k) { - if (!(k instanceof R)) { - throw new TypeError( - "The 'compilation' argument must be an instance of Compilation" - ) - } - let v = ae.get(k) - if (v === undefined) { - v = { createScript: new P(['source', 'chunk']) } - ae.set(k, v) - } - return v - } - constructor(k) { - super('load script') - this._withCreateScriptUrl = k - } - generate() { - const { compilation: k } = this - const { runtimeTemplate: v, outputOptions: E } = k - const { - scriptType: P, - chunkLoadTimeout: R, - crossOriginLoading: q, - uniqueName: ae, - charset: le, - } = E - const pe = L.loadScript - const { createScript: me } = - LoadScriptRuntimeModule.getCompilationHooks(k) - const ye = N.asString([ - "script = document.createElement('script');", - P ? `script.type = ${JSON.stringify(P)};` : '', - le ? "script.charset = 'utf-8';" : '', - `script.timeout = ${R / 1e3};`, - `if (${L.scriptNonce}) {`, - N.indent(`script.setAttribute("nonce", ${L.scriptNonce});`), - '}', - ae - ? 'script.setAttribute("data-webpack", dataWebpackPrefix + key);' - : '', - `script.src = ${ - this._withCreateScriptUrl ? `${L.createScriptUrl}(url)` : 'url' - };`, - q - ? q === 'use-credentials' - ? 'script.crossOrigin = "use-credentials";' - : N.asString([ - "if (script.src.indexOf(window.location.origin + '/') !== 0) {", - N.indent(`script.crossOrigin = ${JSON.stringify(q)};`), - '}', - ]) - : '', - ]) - return N.asString([ - 'var inProgress = {};', - ae - ? `var dataWebpackPrefix = ${JSON.stringify(ae + ':')};` - : '// data-webpack is not used as build has no uniqueName', - '// loadScript function to load a script via script tag', - `${pe} = ${v.basicFunction('url, done, key, chunkId', [ - 'if(inProgress[url]) { inProgress[url].push(done); return; }', - 'var script, needAttach;', - 'if(key !== undefined) {', - N.indent([ - 'var scripts = document.getElementsByTagName("script");', - 'for(var i = 0; i < scripts.length; i++) {', - N.indent([ - 'var s = scripts[i];', - `if(s.getAttribute("src") == url${ - ae - ? ' || s.getAttribute("data-webpack") == dataWebpackPrefix + key' - : '' - }) { script = s; break; }`, - ]), - '}', - ]), - '}', - 'if(!script) {', - N.indent(['needAttach = true;', me.call(ye, this.chunk)]), - '}', - 'inProgress[url] = [done];', - 'var onScriptComplete = ' + - v.basicFunction( - 'prev, event', - N.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(${v.returningFunction( - 'fn(event)', - 'fn' - )});`, - 'if(prev) return prev(event);', - ]) - ), - `var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${R});`, - 'script.onerror = onScriptComplete.bind(null, script.onerror);', - 'script.onload = onScriptComplete.bind(null, script.onload);', - 'needAttach && document.head.appendChild(script);', - ])};`, - ]) - } - } - k.exports = LoadScriptRuntimeModule - }, - 22016: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(95041) - const L = E(25945) - class MakeNamespaceObjectRuntimeModule extends L { - constructor() { - super('make namespace object') - } - generate() { - const { runtimeTemplate: k } = this.compilation - const v = P.makeNamespaceObject - return R.asString([ - '// define __esModule on exports', - `${v} = ${k.basicFunction('exports', [ - "if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {", - R.indent([ - "Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });", - ]), - '}', - "Object.defineProperty(exports, '__esModule', { value: true });", - ])};`, - ]) - } - } - k.exports = MakeNamespaceObjectRuntimeModule - }, - 17800: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - class NonceRuntimeModule extends R { - constructor() { - super('nonce', R.STAGE_ATTACH) - } - generate() { - return `${P.scriptNonce} = undefined;` - } - } - k.exports = NonceRuntimeModule - }, - 10887: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class OnChunksLoadedRuntimeModule extends R { - constructor() { - super('chunk loaded') - } - generate() { - const { compilation: k } = this - const { runtimeTemplate: v } = k - return L.asString([ - 'var deferred = [];', - `${P.onChunksLoaded} = ${v.basicFunction( - 'result, chunkIds, fn, priority', - [ - 'if(chunkIds) {', - L.indent([ - 'priority = priority || 0;', - 'for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];', - 'deferred[i] = [chunkIds, fn, priority];', - 'return;', - ]), - '}', - 'var notFulfilled = Infinity;', - 'for (var i = 0; i < deferred.length; i++) {', - L.indent([ - v.destructureArray( - ['chunkIds', 'fn', 'priority'], - 'deferred[i]' - ), - 'var fulfilled = true;', - 'for (var j = 0; j < chunkIds.length; j++) {', - L.indent([ - `if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${ - P.onChunksLoaded - }).every(${v.returningFunction( - `${P.onChunksLoaded}[key](chunkIds[j])`, - 'key' - )})) {`, - L.indent(['chunkIds.splice(j--, 1);']), - '} else {', - L.indent([ - 'fulfilled = false;', - 'if(priority < notFulfilled) notFulfilled = priority;', - ]), - '}', - ]), - '}', - 'if(fulfilled) {', - L.indent([ - 'deferred.splice(i--, 1)', - 'var r = fn();', - 'if (r !== undefined) result = r;', - ]), - '}', - ]), - '}', - 'return result;', - ] - )};`, - ]) - } - } - k.exports = OnChunksLoadedRuntimeModule - }, - 67415: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - class PublicPathRuntimeModule extends R { - constructor(k) { - super('publicPath', R.STAGE_BASIC) - this.publicPath = k - } - generate() { - const { compilation: k, publicPath: v } = this - return `${P.publicPath} = ${JSON.stringify( - k.getPath(v || '', { hash: k.hash || 'XXXX' }) - )};` - } - } - k.exports = PublicPathRuntimeModule - }, - 96272: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(95041) - const L = E(25945) - class RelativeUrlRuntimeModule extends L { - constructor() { - super('relative url') - } - generate() { - const { runtimeTemplate: k } = this.compilation - return R.asString([ - `${P.relativeUrl} = function RelativeURL(url) {`, - R.indent([ - 'var realUrl = new URL(url, "x:/");', - 'var values = {};', - 'for (var key in realUrl) values[key] = realUrl[key];', - 'values.href = url;', - 'values.pathname = url.replace(/[?#].*/, "");', - 'values.origin = values.protocol = "";', - `values.toString = values.toJSON = ${k.returningFunction( - 'url' - )};`, - 'for (var key in values) Object.defineProperty(this, key, { enumerable: true, configurable: true, value: values[key] });', - ]), - '};', - `${P.relativeUrl}.prototype = URL.prototype;`, - ]) - } - } - k.exports = RelativeUrlRuntimeModule - }, - 8062: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - class RuntimeIdRuntimeModule extends R { - constructor() { - super('runtimeId') - } - generate() { - const { chunkGraph: k, chunk: v } = this - const E = v.runtime - if (typeof E !== 'string') - throw new Error( - 'RuntimeIdRuntimeModule must be in a single runtime' - ) - const R = k.getRuntimeId(E) - return `${P.runtimeId} = ${JSON.stringify(R)};` - } - } - k.exports = RuntimeIdRuntimeModule - }, - 31626: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(1433) - const L = E(5989) - class StartupChunkDependenciesPlugin { - constructor(k) { - this.chunkLoading = k.chunkLoading - this.asyncChunkLoading = - typeof k.asyncChunkLoading === 'boolean' - ? k.asyncChunkLoading - : true - } - apply(k) { - k.hooks.thisCompilation.tap('StartupChunkDependenciesPlugin', (k) => { - const v = k.outputOptions.chunkLoading - const isEnabledForChunk = (k) => { - const E = k.getEntryOptions() - const P = E && E.chunkLoading !== undefined ? E.chunkLoading : v - return P === this.chunkLoading - } - k.hooks.additionalTreeRuntimeRequirements.tap( - 'StartupChunkDependenciesPlugin', - (v, E, { chunkGraph: L }) => { - if (!isEnabledForChunk(v)) return - if (L.hasChunkEntryDependentChunks(v)) { - E.add(P.startup) - E.add(P.ensureChunk) - E.add(P.ensureChunkIncludeEntries) - k.addRuntimeModule(v, new R(this.asyncChunkLoading)) - } - } - ) - k.hooks.runtimeRequirementInTree - .for(P.startupEntrypoint) - .tap('StartupChunkDependenciesPlugin', (v, E) => { - if (!isEnabledForChunk(v)) return - E.add(P.require) - E.add(P.ensureChunk) - E.add(P.ensureChunkIncludeEntries) - k.addRuntimeModule(v, new L(this.asyncChunkLoading)) - }) - }) - } - } - k.exports = StartupChunkDependenciesPlugin - }, - 1433: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class StartupChunkDependenciesRuntimeModule extends R { - constructor(k) { - super('startup chunk dependencies', R.STAGE_TRIGGER) - this.asyncChunkLoading = k - } - generate() { - const { chunkGraph: k, chunk: v, compilation: E } = this - const { runtimeTemplate: R } = E - const N = Array.from(k.getChunkEntryDependentChunksIterable(v)).map( - (k) => k.id - ) - return L.asString([ - `var next = ${P.startup};`, - `${P.startup} = ${R.basicFunction( - '', - !this.asyncChunkLoading - ? N.map( - (k) => `${P.ensureChunk}(${JSON.stringify(k)});` - ).concat('return next();') - : N.length === 1 - ? `return ${P.ensureChunk}(${JSON.stringify(N[0])}).then(next);` - : N.length > 2 - ? [ - `return Promise.all(${JSON.stringify(N)}.map(${ - P.ensureChunk - }, ${P.require})).then(next);`, - ] - : [ - 'return Promise.all([', - L.indent( - N.map( - (k) => `${P.ensureChunk}(${JSON.stringify(k)})` - ).join(',\n') - ), - ']).then(next);', - ] - )};`, - ]) - } - } - k.exports = StartupChunkDependenciesRuntimeModule - }, - 5989: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - class StartupEntrypointRuntimeModule extends R { - constructor(k) { - super('startup entrypoint') - this.asyncChunkLoading = k - } - generate() { - const { compilation: k } = this - const { runtimeTemplate: v } = k - return `${P.startupEntrypoint} = ${v.basicFunction( - 'result, chunkIds, fn', - [ - '// arguments: chunkIds, moduleId are deprecated', - 'var moduleId = chunkIds;', - `if(!fn) chunkIds = result, fn = ${v.returningFunction( - `${P.require}(${P.entryModuleId} = moduleId)` - )};`, - ...(this.asyncChunkLoading - ? [ - `return Promise.all(chunkIds.map(${P.ensureChunk}, ${ - P.require - })).then(${v.basicFunction('', [ - 'var r = fn();', - 'return r === undefined ? result : r;', - ])})`, - ] - : [ - `chunkIds.map(${P.ensureChunk}, ${P.require})`, - 'var r = fn();', - 'return r === undefined ? result : r;', - ]), - ] - )}` - } - } - k.exports = StartupEntrypointRuntimeModule - }, - 34108: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - class SystemContextRuntimeModule extends R { - constructor() { - super('__system_context__') - } - generate() { - return `${P.systemContext} = __system_context__;` - } - } - k.exports = SystemContextRuntimeModule - }, - 82599: function (k, v, E) { - 'use strict' - const P = E(38224) - const R = /^data:([^;,]+)?((?:;[^;,]+)*?)(?:;(base64))?,(.*)$/i - const decodeDataURI = (k) => { - const v = R.exec(k) - if (!v) return null - const E = v[3] - const P = v[4] - if (E) { - return Buffer.from(P, 'base64') - } - try { - return Buffer.from(decodeURIComponent(P), 'ascii') - } catch (k) { - return Buffer.from(P, 'ascii') - } - } - class DataUriPlugin { - apply(k) { - k.hooks.compilation.tap( - 'DataUriPlugin', - (k, { normalModuleFactory: v }) => { - v.hooks.resolveForScheme.for('data').tap('DataUriPlugin', (k) => { - const v = R.exec(k.resource) - if (v) { - k.data.mimetype = v[1] || '' - k.data.parameters = v[2] || '' - k.data.encoding = v[3] || false - k.data.encodedContent = v[4] || '' - } - }) - P.getCompilationHooks(k) - .readResourceForScheme.for('data') - .tap('DataUriPlugin', (k) => decodeDataURI(k)) - } - ) - } - } - k.exports = DataUriPlugin - }, - 28730: function (k, v, E) { - 'use strict' - const { URL: P, fileURLToPath: R } = E(57310) - const { NormalModule: L } = E(94308) - class FileUriPlugin { - apply(k) { - k.hooks.compilation.tap( - 'FileUriPlugin', - (k, { normalModuleFactory: v }) => { - v.hooks.resolveForScheme.for('file').tap('FileUriPlugin', (k) => { - const v = new P(k.resource) - const E = R(v) - const L = v.search - const N = v.hash - k.path = E - k.query = L - k.fragment = N - k.resource = E + L + N - return true - }) - const E = L.getCompilationHooks(k) - E.readResource - .for(undefined) - .tapAsync('FileUriPlugin', (k, v) => { - const { resourcePath: E } = k - k.addDependency(E) - k.fs.readFile(E, v) - }) - } - ) - } - } - k.exports = FileUriPlugin - }, - 73500: function (k, v, E) { - 'use strict' - const P = E(82361) - const { extname: R, basename: L } = E(71017) - const { URL: N } = E(57310) - const { - createGunzip: q, - createBrotliDecompress: ae, - createInflate: le, - } = E(59796) - const pe = E(38224) - const me = E(92198) - const ye = E(74012) - const { mkdirp: _e, dirname: Ie, join: Me } = E(57825) - const Te = E(20631) - const je = Te(() => E(13685)) - const Ne = Te(() => E(95687)) - const proxyFetch = (k, v) => (E, R, L) => { - const q = new P() - const doRequest = (v) => - k - .get(E, { ...R, ...(v && { socket: v }) }, L) - .on('error', q.emit.bind(q, 'error')) - if (v) { - const { hostname: k, port: P } = new N(v) - je() - .request({ host: k, port: P, method: 'CONNECT', path: E.host }) - .on('connect', (k, v) => { - if (k.statusCode === 200) { - doRequest(v) - } - }) - .on('error', (k) => { - q.emit( - 'error', - new Error( - `Failed to connect to proxy server "${v}": ${k.message}` - ) - ) - }) - .end() - } else { - doRequest() - } - return q - } - let Be = undefined - const qe = me(E(95892), () => E(72789), { - name: 'Http Uri Plugin', - baseDataPath: 'options', - }) - const toSafePath = (k) => - k - .replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g, '') - .replace(/[^a-zA-Z0-9._-]+/g, '_') - const computeIntegrity = (k) => { - const v = ye('sha512') - v.update(k) - const E = 'sha512-' + v.digest('base64') - return E - } - const verifyIntegrity = (k, v) => { - if (v === 'ignore') return true - return computeIntegrity(k) === v - } - const parseKeyValuePairs = (k) => { - const v = {} - for (const E of k.split(',')) { - const k = E.indexOf('=') - if (k >= 0) { - const P = E.slice(0, k).trim() - const R = E.slice(k + 1).trim() - v[P] = R - } else { - const k = E.trim() - if (!k) continue - v[k] = k - } - } - return v - } - const parseCacheControl = (k, v) => { - let E = true - let P = true - let R = 0 - if (k) { - const L = parseKeyValuePairs(k) - if (L['no-cache']) E = P = false - if (L['max-age'] && !isNaN(+L['max-age'])) { - R = v + +L['max-age'] * 1e3 - } - if (L['must-revalidate']) R = 0 - } - return { storeLock: P, storeCache: E, validUntil: R } - } - const areLockfileEntriesEqual = (k, v) => - k.resolved === v.resolved && - k.integrity === v.integrity && - k.contentType === v.contentType - const entryToString = (k) => - `resolved: ${k.resolved}, integrity: ${k.integrity}, contentType: ${k.contentType}` - class Lockfile { - constructor() { - this.version = 1 - this.entries = new Map() - } - static parse(k) { - const v = JSON.parse(k) - if (v.version !== 1) - throw new Error(`Unsupported lockfile version ${v.version}`) - const E = new Lockfile() - for (const k of Object.keys(v)) { - if (k === 'version') continue - const P = v[k] - E.entries.set(k, typeof P === 'string' ? P : { resolved: k, ...P }) - } - return E - } - toString() { - let k = '{\n' - const v = Array.from(this.entries).sort(([k], [v]) => - k < v ? -1 : 1 - ) - for (const [E, P] of v) { - if (typeof P === 'string') { - k += ` ${JSON.stringify(E)}: ${JSON.stringify(P)},\n` - } else { - k += ` ${JSON.stringify(E)}: { ` - if (P.resolved !== E) - k += `"resolved": ${JSON.stringify(P.resolved)}, ` - k += `"integrity": ${JSON.stringify( - P.integrity - )}, "contentType": ${JSON.stringify(P.contentType)} },\n` - } - } - k += ` "version": ${this.version}\n}\n` - return k - } - } - const cachedWithoutKey = (k) => { - let v = false - let E = undefined - let P = undefined - let R = undefined - return (L) => { - if (v) { - if (P !== undefined) return L(null, P) - if (E !== undefined) return L(E) - if (R === undefined) R = [L] - else R.push(L) - return - } - v = true - k((k, v) => { - if (k) E = k - else P = v - const N = R - R = undefined - L(k, v) - if (N !== undefined) for (const E of N) E(k, v) - }) - } - } - const cachedWithKey = (k, v = k) => { - const E = new Map() - const resultFn = (v, P) => { - const R = E.get(v) - if (R !== undefined) { - if (R.result !== undefined) return P(null, R.result) - if (R.error !== undefined) return P(R.error) - if (R.callbacks === undefined) R.callbacks = [P] - else R.callbacks.push(P) - return - } - const L = { - result: undefined, - error: undefined, - callbacks: undefined, - } - E.set(v, L) - k(v, (k, v) => { - if (k) L.error = k - else L.result = v - const E = L.callbacks - L.callbacks = undefined - P(k, v) - if (E !== undefined) for (const P of E) P(k, v) - }) - } - resultFn.force = (k, P) => { - const R = E.get(k) - if (R !== undefined && R.force) { - if (R.result !== undefined) return P(null, R.result) - if (R.error !== undefined) return P(R.error) - if (R.callbacks === undefined) R.callbacks = [P] - else R.callbacks.push(P) - return - } - const L = { - result: undefined, - error: undefined, - callbacks: undefined, - force: true, - } - E.set(k, L) - v(k, (k, v) => { - if (k) L.error = k - else L.result = v - const E = L.callbacks - L.callbacks = undefined - P(k, v) - if (E !== undefined) for (const P of E) P(k, v) - }) - } - return resultFn - } - class HttpUriPlugin { - constructor(k) { - qe(k) - this._lockfileLocation = k.lockfileLocation - this._cacheLocation = k.cacheLocation - this._upgrade = k.upgrade - this._frozen = k.frozen - this._allowedUris = k.allowedUris - this._proxy = k.proxy - } - apply(k) { - const v = - this._proxy || - process.env['http_proxy'] || - process.env['HTTP_PROXY'] - const E = [ - { scheme: 'http', fetch: proxyFetch(je(), v) }, - { scheme: 'https', fetch: proxyFetch(Ne(), v) }, - ] - let P - k.hooks.compilation.tap( - 'HttpUriPlugin', - (v, { normalModuleFactory: me }) => { - const Te = k.intermediateFileSystem - const je = v.inputFileSystem - const Ne = v.getCache('webpack.HttpUriPlugin') - const qe = v.getLogger('webpack.HttpUriPlugin') - const Ue = - this._lockfileLocation || - Me( - Te, - k.context, - k.name ? `${toSafePath(k.name)}.webpack.lock` : 'webpack.lock' - ) - const Ge = - this._cacheLocation !== undefined - ? this._cacheLocation - : Ue + '.data' - const He = this._upgrade || false - const We = this._frozen || false - const Qe = 'sha512' - const Je = 'hex' - const Ve = 20 - const Ke = this._allowedUris - let Ye = false - const Xe = new Map() - const getCacheKey = (k) => { - const v = Xe.get(k) - if (v !== undefined) return v - const E = _getCacheKey(k) - Xe.set(k, E) - return E - } - const _getCacheKey = (k) => { - const v = new N(k) - const E = toSafePath(v.origin) - const P = toSafePath(v.pathname) - const L = toSafePath(v.search) - let q = R(P) - if (q.length > 20) q = '' - const ae = q ? P.slice(0, -q.length) : P - const le = ye(Qe) - le.update(k) - const pe = le.digest(Je).slice(0, Ve) - return `${E.slice(-50)}/${`${ae}${L ? `_${L}` : ''}`.slice( - 0, - 150 - )}_${pe}${q}` - } - const Ze = cachedWithoutKey((E) => { - const readLockfile = () => { - Te.readFile(Ue, (R, L) => { - if (R && R.code !== 'ENOENT') { - v.missingDependencies.add(Ue) - return E(R) - } - v.fileDependencies.add(Ue) - v.fileSystemInfo.createSnapshot( - k.fsStartTime, - L ? [Ue] : [], - [], - L ? [] : [Ue], - { timestamp: true }, - (k, v) => { - if (k) return E(k) - const R = L - ? Lockfile.parse(L.toString('utf-8')) - : new Lockfile() - P = { lockfile: R, snapshot: v } - E(null, R) - } - ) - }) - } - if (P) { - v.fileSystemInfo.checkSnapshotValid(P.snapshot, (k, v) => { - if (k) return E(k) - if (!v) return readLockfile() - E(null, P.lockfile) - }) - } else { - readLockfile() - } - }) - let et = undefined - const storeLockEntry = (k, v, E) => { - const P = k.entries.get(v) - if (et === undefined) et = new Map() - et.set(v, E) - k.entries.set(v, E) - if (!P) { - qe.log(`${v} added to lockfile`) - } else if (typeof P === 'string') { - if (typeof E === 'string') { - qe.log(`${v} updated in lockfile: ${P} -> ${E}`) - } else { - qe.log(`${v} updated in lockfile: ${P} -> ${E.resolved}`) - } - } else if (typeof E === 'string') { - qe.log(`${v} updated in lockfile: ${P.resolved} -> ${E}`) - } else if (P.resolved !== E.resolved) { - qe.log( - `${v} updated in lockfile: ${P.resolved} -> ${E.resolved}` - ) - } else if (P.integrity !== E.integrity) { - qe.log(`${v} updated in lockfile: content changed`) - } else if (P.contentType !== E.contentType) { - qe.log( - `${v} updated in lockfile: ${P.contentType} -> ${E.contentType}` - ) - } else { - qe.log(`${v} updated in lockfile`) - } - } - const storeResult = (k, v, E, P) => { - if (E.storeLock) { - storeLockEntry(k, v, E.entry) - if (!Ge || !E.content) return P(null, E) - const R = getCacheKey(E.entry.resolved) - const L = Me(Te, Ge, R) - _e(Te, Ie(Te, L), (k) => { - if (k) return P(k) - Te.writeFile(L, E.content, (k) => { - if (k) return P(k) - P(null, E) - }) - }) - } else { - storeLockEntry(k, v, 'no-cache') - P(null, E) - } - } - for (const { scheme: k, fetch: P } of E) { - const resolveContent = (k, v, P) => { - const handleResult = (R, L) => { - if (R) return P(R) - if ('location' in L) { - return resolveContent(L.location, v, (k, v) => { - if (k) return P(k) - P(null, { - entry: v.entry, - content: v.content, - storeLock: v.storeLock && L.storeLock, - }) - }) - } else { - if ( - !L.fresh && - v && - L.entry.integrity !== v && - !verifyIntegrity(L.content, v) - ) { - return E.force(k, handleResult) - } - return P(null, { - entry: L.entry, - content: L.content, - storeLock: L.storeLock, - }) - } - } - E(k, handleResult) - } - const fetchContentRaw = (k, v, E) => { - const R = Date.now() - P( - new N(k), - { - headers: { - 'accept-encoding': 'gzip, deflate, br', - 'user-agent': 'webpack', - 'if-none-match': v ? v.etag || null : null, - }, - }, - (P) => { - const L = P.headers['etag'] - const pe = P.headers['location'] - const me = P.headers['cache-control'] - const { - storeLock: ye, - storeCache: _e, - validUntil: Ie, - } = parseCacheControl(me, R) - const finishWith = (v) => { - if ('location' in v) { - qe.debug( - `GET ${k} [${P.statusCode}] -> ${v.location}` - ) - } else { - qe.debug( - `GET ${k} [${P.statusCode}] ${Math.ceil( - v.content.length / 1024 - )} kB${!ye ? ' no-cache' : ''}` - ) - } - const R = { - ...v, - fresh: true, - storeLock: ye, - storeCache: _e, - validUntil: Ie, - etag: L, - } - if (!_e) { - qe.log( - `${k} can't be stored in cache, due to Cache-Control header: ${me}` - ) - return E(null, R) - } - Ne.store(k, null, { ...R, fresh: false }, (v) => { - if (v) { - qe.warn( - `${k} can't be stored in cache: ${v.message}` - ) - qe.debug(v.stack) - } - E(null, R) - }) - } - if (P.statusCode === 304) { - if ( - v.validUntil < Ie || - v.storeLock !== ye || - v.storeCache !== _e || - v.etag !== L - ) { - return finishWith(v) - } else { - qe.debug(`GET ${k} [${P.statusCode}] (unchanged)`) - return E(null, { ...v, fresh: true }) - } - } - if (pe && P.statusCode >= 301 && P.statusCode <= 308) { - const R = { location: new N(pe, k).href } - if ( - !v || - !('location' in v) || - v.location !== R.location || - v.validUntil < Ie || - v.storeLock !== ye || - v.storeCache !== _e || - v.etag !== L - ) { - return finishWith(R) - } else { - qe.debug(`GET ${k} [${P.statusCode}] (unchanged)`) - return E(null, { - ...R, - fresh: true, - storeLock: ye, - storeCache: _e, - validUntil: Ie, - etag: L, - }) - } - } - const Me = P.headers['content-type'] || '' - const Te = [] - const je = P.headers['content-encoding'] - let Be = P - if (je === 'gzip') { - Be = Be.pipe(q()) - } else if (je === 'br') { - Be = Be.pipe(ae()) - } else if (je === 'deflate') { - Be = Be.pipe(le()) - } - Be.on('data', (k) => { - Te.push(k) - }) - Be.on('end', () => { - if (!P.complete) { - qe.log(`GET ${k} [${P.statusCode}] (terminated)`) - return E(new Error(`${k} request was terminated`)) - } - const v = Buffer.concat(Te) - if (P.statusCode !== 200) { - qe.log(`GET ${k} [${P.statusCode}]`) - return E( - new Error( - `${k} request status code = ${ - P.statusCode - }\n${v.toString('utf-8')}` - ) - ) - } - const R = computeIntegrity(v) - const L = { resolved: k, integrity: R, contentType: Me } - finishWith({ entry: L, content: v }) - }) - } - ).on('error', (v) => { - qe.log(`GET ${k} (error)`) - v.message += `\nwhile fetching ${k}` - E(v) - }) - } - const E = cachedWithKey( - (k, v) => { - Ne.get(k, null, (E, P) => { - if (E) return v(E) - if (P) { - const k = P.validUntil >= Date.now() - if (k) return v(null, P) - } - fetchContentRaw(k, P, v) - }) - }, - (k, v) => fetchContentRaw(k, undefined, v) - ) - const isAllowed = (k) => { - for (const v of Ke) { - if (typeof v === 'string') { - if (k.startsWith(v)) return true - } else if (typeof v === 'function') { - if (v(k)) return true - } else { - if (v.test(k)) return true - } - } - return false - } - const R = cachedWithKey((k, v) => { - if (!isAllowed(k)) { - return v( - new Error( - `${k} doesn't match the allowedUris policy. These URIs are allowed:\n${Ke.map( - (k) => ` - ${k}` - ).join('\n')}` - ) - ) - } - Ze((E, P) => { - if (E) return v(E) - const R = P.entries.get(k) - if (!R) { - if (We) { - return v( - new Error( - `${k} has no lockfile entry and lockfile is frozen` - ) - ) - } - resolveContent(k, null, (E, R) => { - if (E) return v(E) - storeResult(P, k, R, v) - }) - return - } - if (typeof R === 'string') { - const E = R - resolveContent(k, null, (R, L) => { - if (R) return v(R) - if (!L.storeLock || E === 'ignore') return v(null, L) - if (We) { - return v( - new Error( - `${k} used to have ${E} lockfile entry and has content now, but lockfile is frozen` - ) - ) - } - if (!He) { - return v( - new Error( - `${k} used to have ${E} lockfile entry and has content now.\nThis should be reflected in the lockfile, so this lockfile entry must be upgraded, but upgrading is not enabled.\nRemove this line from the lockfile to force upgrading.` - ) - ) - } - storeResult(P, k, L, v) - }) - return - } - let L = R - const doFetch = (E) => { - resolveContent(k, L.integrity, (R, N) => { - if (R) { - if (E) { - qe.warn( - `Upgrade request to ${k} failed: ${R.message}` - ) - qe.debug(R.stack) - return v(null, { entry: L, content: E }) - } - return v(R) - } - if (!N.storeLock) { - if (We) { - return v( - new Error( - `${k} has a lockfile entry and is no-cache now, but lockfile is frozen\nLockfile: ${entryToString( - L - )}` - ) - ) - } - storeResult(P, k, N, v) - return - } - if (!areLockfileEntriesEqual(N.entry, L)) { - if (We) { - return v( - new Error( - `${k} has an outdated lockfile entry, but lockfile is frozen\nLockfile: ${entryToString( - L - )}\nExpected: ${entryToString(N.entry)}` - ) - ) - } - storeResult(P, k, N, v) - return - } - if (!E && Ge) { - if (We) { - return v( - new Error( - `${k} is missing content in the lockfile cache, but lockfile is frozen\nLockfile: ${entryToString( - L - )}` - ) - ) - } - storeResult(P, k, N, v) - return - } - return v(null, N) - }) - } - if (Ge) { - const E = getCacheKey(L.resolved) - const R = Me(Te, Ge, E) - je.readFile(R, (E, N) => { - const q = N - if (E) { - if (E.code === 'ENOENT') return doFetch() - return v(E) - } - const continueWithCachedContent = (k) => { - if (!He) { - return v(null, { entry: L, content: q }) - } - return doFetch(q) - } - if (!verifyIntegrity(q, L.integrity)) { - let E - let N = false - try { - E = Buffer.from( - q.toString('utf-8').replace(/\r\n/g, '\n') - ) - N = verifyIntegrity(E, L.integrity) - } catch (k) {} - if (N) { - if (!Ye) { - const k = `Incorrect end of line sequence was detected in the lockfile cache.\nThe lockfile cache is protected by integrity checks, so any external modification will lead to a corrupted lockfile cache.\nWhen using git make sure to configure .gitattributes correctly for the lockfile cache:\n **/*webpack.lock.data/** -text\nThis will avoid that the end of line sequence is changed by git on Windows.` - if (We) { - qe.error(k) - } else { - qe.warn(k) - qe.info( - 'Lockfile cache will be automatically fixed now, but when lockfile is frozen this would result in an error.' - ) - } - Ye = true - } - if (!We) { - qe.log( - `${R} fixed end of line sequence (\\r\\n instead of \\n).` - ) - Te.writeFile(R, E, (k) => { - if (k) return v(k) - continueWithCachedContent(E) - }) - return - } - } - if (We) { - return v( - new Error( - `${ - L.resolved - } integrity mismatch, expected content with integrity ${ - L.integrity - } but got ${computeIntegrity( - q - )}.\nLockfile corrupted (${ - N - ? 'end of line sequence was unexpectedly changed' - : 'incorrectly merged? changed by other tools?' - }).\nRun build with un-frozen lockfile to automatically fix lockfile.` - ) - ) - } else { - L = { ...L, integrity: computeIntegrity(q) } - storeLockEntry(P, k, L) - } - } - continueWithCachedContent(N) - }) - } else { - doFetch() - } - }) - }) - const respondWithUrlModule = (k, v, E) => { - R(k.href, (P, R) => { - if (P) return E(P) - v.resource = k.href - v.path = k.origin + k.pathname - v.query = k.search - v.fragment = k.hash - v.context = new N('.', R.entry.resolved).href.slice(0, -1) - v.data.mimetype = R.entry.contentType - E(null, true) - }) - } - me.hooks.resolveForScheme - .for(k) - .tapAsync('HttpUriPlugin', (k, v, E) => { - respondWithUrlModule(new N(k.resource), k, E) - }) - me.hooks.resolveInScheme - .for(k) - .tapAsync('HttpUriPlugin', (k, v, E) => { - if ( - v.dependencyType !== 'url' && - !/^\.{0,2}\//.test(k.resource) - ) { - return E() - } - respondWithUrlModule( - new N(k.resource, v.context + '/'), - k, - E - ) - }) - const L = pe.getCompilationHooks(v) - L.readResourceForScheme - .for(k) - .tapAsync('HttpUriPlugin', (k, v, E) => - R(k, (k, P) => { - if (k) return E(k) - v.buildInfo.resourceIntegrity = P.entry.integrity - E(null, P.content) - }) - ) - L.needBuild.tapAsync('HttpUriPlugin', (v, E, P) => { - if (v.resource && v.resource.startsWith(`${k}://`)) { - R(v.resource, (k, E) => { - if (k) return P(k) - if (E.entry.integrity !== v.buildInfo.resourceIntegrity) { - return P(null, true) - } - P() - }) - } else { - return P() - } - }) - } - v.hooks.finishModules.tapAsync('HttpUriPlugin', (k, v) => { - if (!et) return v() - const E = R(Ue) - const P = Me( - Te, - Ie(Te, Ue), - `.${L(Ue, E)}.${(Math.random() * 1e4) | 0}${E}` - ) - const writeDone = () => { - const k = Be.shift() - if (k) { - k() - } else { - Be = undefined - } - } - const runWrite = () => { - Te.readFile(Ue, (k, E) => { - if (k && k.code !== 'ENOENT') { - writeDone() - return v(k) - } - const R = E - ? Lockfile.parse(E.toString('utf-8')) - : new Lockfile() - for (const [k, v] of et) { - R.entries.set(k, v) - } - Te.writeFile(P, R.toString(), (k) => { - if (k) { - writeDone() - return Te.unlink(P, () => v(k)) - } - Te.rename(P, Ue, (k) => { - if (k) { - writeDone() - return Te.unlink(P, () => v(k)) - } - writeDone() - v() - }) - }) - }) - } - if (Be) { - Be.push(runWrite) - } else { - Be = [] - runWrite() - } - }) - } - ) - } - } - k.exports = HttpUriPlugin - }, - 73184: function (k) { - 'use strict' - class ArraySerializer { - serialize(k, v) { - v.write(k.length) - for (const E of k) v.write(E) - } - deserialize(k) { - const v = k.read() - const E = [] - for (let P = 0; P < v; P++) { - E.push(k.read()) - } - return E - } - } - k.exports = ArraySerializer - }, - 94071: function (k, v, E) { - 'use strict' - const P = E(20631) - const R = E(5505) - const L = 11 - const N = 12 - const q = 13 - const ae = 14 - const le = 16 - const pe = 17 - const me = 18 - const ye = 19 - const _e = 20 - const Ie = 21 - const Me = 22 - const Te = 23 - const je = 24 - const Ne = 26 - const Be = 27 - const qe = 28 - const Ue = 30 - const Ge = 31 - const He = 96 - const We = 64 - const Qe = 32 - const Je = 128 - const Ve = 224 - const Ke = 31 - const Ye = 127 - const Xe = 1 - const Ze = 1 - const et = 4 - const tt = 8 - const nt = Symbol('MEASURE_START_OPERATION') - const st = Symbol('MEASURE_END_OPERATION') - const identifyNumber = (k) => { - if (k === (k | 0)) { - if (k <= 127 && k >= -128) return 0 - if (k <= 2147483647 && k >= -2147483648) return 1 - } - return 2 - } - const identifyBigInt = (k) => { - if (k <= BigInt(127) && k >= BigInt(-128)) return 0 - if (k <= BigInt(2147483647) && k >= BigInt(-2147483648)) return 1 - return 2 - } - class BinaryMiddleware extends R { - serialize(k, v) { - return this._serialize(k, v) - } - _serializeLazy(k, v) { - return R.serializeLazy(k, (k) => this._serialize(k, v)) - } - _serialize( - k, - v, - E = { allocationSize: 1024, increaseCounter: 0, leftOverBuffer: null } - ) { - let P = null - let Ve = [] - let Ke = E ? E.leftOverBuffer : null - E.leftOverBuffer = null - let Ye = 0 - if (Ke === null) { - Ke = Buffer.allocUnsafe(E.allocationSize) - } - const allocate = (k) => { - if (Ke !== null) { - if (Ke.length - Ye >= k) return - flush() - } - if (P && P.length >= k) { - Ke = P - P = null - } else { - Ke = Buffer.allocUnsafe(Math.max(k, E.allocationSize)) - if ( - !(E.increaseCounter = (E.increaseCounter + 1) % 4) && - E.allocationSize < 16777216 - ) { - E.allocationSize = E.allocationSize << 1 - } - } - } - const flush = () => { - if (Ke !== null) { - if (Ye > 0) { - Ve.push(Buffer.from(Ke.buffer, Ke.byteOffset, Ye)) - } - if (!P || P.length < Ke.length - Ye) { - P = Buffer.from( - Ke.buffer, - Ke.byteOffset + Ye, - Ke.byteLength - Ye - ) - } - Ke = null - Ye = 0 - } - } - const writeU8 = (k) => { - Ke.writeUInt8(k, Ye++) - } - const writeU32 = (k) => { - Ke.writeUInt32LE(k, Ye) - Ye += 4 - } - const rt = [] - const measureStart = () => { - rt.push(Ve.length, Ye) - } - const measureEnd = () => { - const k = rt.pop() - const v = rt.pop() - let E = Ye - k - for (let k = v; k < Ve.length; k++) { - E += Ve[k].length - } - return E - } - for (let rt = 0; rt < k.length; rt++) { - const ot = k[rt] - switch (typeof ot) { - case 'function': { - if (!R.isLazy(ot)) throw new Error('Unexpected function ' + ot) - let k = R.getLazySerializedValue(ot) - if (k === undefined) { - if (R.isLazy(ot, this)) { - flush() - E.leftOverBuffer = P - const L = ot() - const N = this._serialize(L, v, E) - P = E.leftOverBuffer - E.leftOverBuffer = null - R.setLazySerializedValue(ot, N) - k = N - } else { - k = this._serializeLazy(ot, v) - flush() - Ve.push(k) - break - } - } else { - if (typeof k === 'function') { - flush() - Ve.push(k) - break - } - } - const N = [] - for (const v of k) { - let k - if (typeof v === 'function') { - N.push(0) - } else if (v.length === 0) { - } else if (N.length > 0 && (k = N[N.length - 1]) !== 0) { - const E = 4294967295 - k - if (E >= v.length) { - N[N.length - 1] += v.length - } else { - N.push(v.length - E) - N[N.length - 2] = 4294967295 - } - } else { - N.push(v.length) - } - } - allocate(5 + N.length * 4) - writeU8(L) - writeU32(N.length) - for (const k of N) { - writeU32(k) - } - flush() - for (const v of k) { - Ve.push(v) - } - break - } - case 'string': { - const k = Buffer.byteLength(ot) - if (k >= 128 || k !== ot.length) { - allocate(k + Xe + et) - writeU8(Ue) - writeU32(k) - Ke.write(ot, Ye) - Ye += k - } else if (k >= 70) { - allocate(k + Xe) - writeU8(Je | k) - Ke.write(ot, Ye, 'latin1') - Ye += k - } else { - allocate(k + Xe) - writeU8(Je | k) - for (let v = 0; v < k; v++) { - Ke[Ye++] = ot.charCodeAt(v) - } - } - break - } - case 'bigint': { - const v = identifyBigInt(ot) - if (v === 0 && ot >= 0 && ot <= BigInt(10)) { - allocate(Xe + Ze) - writeU8(Be) - writeU8(Number(ot)) - break - } - switch (v) { - case 0: { - let v = 1 - allocate(Xe + Ze * v) - writeU8(Be | (v - 1)) - while (v > 0) { - Ke.writeInt8(Number(k[rt]), Ye) - Ye += Ze - v-- - rt++ - } - rt-- - break - } - case 1: { - let v = 1 - allocate(Xe + et * v) - writeU8(qe | (v - 1)) - while (v > 0) { - Ke.writeInt32LE(Number(k[rt]), Ye) - Ye += et - v-- - rt++ - } - rt-- - break - } - default: { - const k = ot.toString() - const v = Buffer.byteLength(k) - allocate(v + Xe + et) - writeU8(Ne) - writeU32(v) - Ke.write(k, Ye) - Ye += v - break - } - } - break - } - case 'number': { - const v = identifyNumber(ot) - if (v === 0 && ot >= 0 && ot <= 10) { - allocate(Ze) - writeU8(ot) - break - } - let E = 1 - for (; E < 32 && rt + E < k.length; E++) { - const P = k[rt + E] - if (typeof P !== 'number') break - if (identifyNumber(P) !== v) break - } - switch (v) { - case 0: - allocate(Xe + Ze * E) - writeU8(He | (E - 1)) - while (E > 0) { - Ke.writeInt8(k[rt], Ye) - Ye += Ze - E-- - rt++ - } - break - case 1: - allocate(Xe + et * E) - writeU8(We | (E - 1)) - while (E > 0) { - Ke.writeInt32LE(k[rt], Ye) - Ye += et - E-- - rt++ - } - break - case 2: - allocate(Xe + tt * E) - writeU8(Qe | (E - 1)) - while (E > 0) { - Ke.writeDoubleLE(k[rt], Ye) - Ye += tt - E-- - rt++ - } - break - } - rt-- - break - } - case 'boolean': { - let v = ot === true ? 1 : 0 - const E = [] - let P = 1 - let R - for (R = 1; R < 4294967295 && rt + R < k.length; R++) { - const L = k[rt + R] - if (typeof L !== 'boolean') break - const N = P & 7 - if (N === 0) { - E.push(v) - v = L === true ? 1 : 0 - } else if (L === true) { - v |= 1 << N - } - P++ - } - rt += P - 1 - if (P === 1) { - allocate(Xe) - writeU8(v === 1 ? N : q) - } else if (P === 2) { - allocate(Xe * 2) - writeU8(v & 1 ? N : q) - writeU8(v & 2 ? N : q) - } else if (P <= 6) { - allocate(Xe + Ze) - writeU8(ae) - writeU8((1 << P) | v) - } else if (P <= 133) { - allocate(Xe + Ze + Ze * E.length + Ze) - writeU8(ae) - writeU8(128 | (P - 7)) - for (const k of E) writeU8(k) - writeU8(v) - } else { - allocate(Xe + Ze + et + Ze * E.length + Ze) - writeU8(ae) - writeU8(255) - writeU32(P) - for (const k of E) writeU8(k) - writeU8(v) - } - break - } - case 'object': { - if (ot === null) { - let v - for (v = 1; v < 4294967556 && rt + v < k.length; v++) { - const E = k[rt + v] - if (E !== null) break - } - rt += v - 1 - if (v === 1) { - if (rt + 1 < k.length) { - const v = k[rt + 1] - if (v === true) { - allocate(Xe) - writeU8(Te) - rt++ - } else if (v === false) { - allocate(Xe) - writeU8(je) - rt++ - } else if (typeof v === 'number') { - const k = identifyNumber(v) - if (k === 0) { - allocate(Xe + Ze) - writeU8(Ie) - Ke.writeInt8(v, Ye) - Ye += Ze - rt++ - } else if (k === 1) { - allocate(Xe + et) - writeU8(Me) - Ke.writeInt32LE(v, Ye) - Ye += et - rt++ - } else { - allocate(Xe) - writeU8(le) - } - } else { - allocate(Xe) - writeU8(le) - } - } else { - allocate(Xe) - writeU8(le) - } - } else if (v === 2) { - allocate(Xe) - writeU8(pe) - } else if (v === 3) { - allocate(Xe) - writeU8(me) - } else if (v < 260) { - allocate(Xe + Ze) - writeU8(ye) - writeU8(v - 4) - } else { - allocate(Xe + et) - writeU8(_e) - writeU32(v - 260) - } - } else if (Buffer.isBuffer(ot)) { - if (ot.length < 8192) { - allocate(Xe + et + ot.length) - writeU8(Ge) - writeU32(ot.length) - ot.copy(Ke, Ye) - Ye += ot.length - } else { - allocate(Xe + et) - writeU8(Ge) - writeU32(ot.length) - flush() - Ve.push(ot) - } - } - break - } - case 'symbol': { - if (ot === nt) { - measureStart() - } else if (ot === st) { - const k = measureEnd() - allocate(Xe + et) - writeU8(We) - Ke.writeInt32LE(k, Ye) - Ye += et - } - break - } - } - } - flush() - E.leftOverBuffer = P - Ke = null - P = null - E = undefined - const ot = Ve - Ve = undefined - return ot - } - deserialize(k, v) { - return this._deserialize(k, v) - } - _createLazyDeserialized(k, v) { - return R.createLazy( - P(() => this._deserialize(k, v)), - this, - undefined, - k - ) - } - _deserializeLazy(k, v) { - return R.deserializeLazy(k, (k) => this._deserialize(k, v)) - } - _deserialize(k, v) { - let E = 0 - let P = k[0] - let R = Buffer.isBuffer(P) - let Xe = 0 - const nt = v.retainedBuffer || ((k) => k) - const checkOverflow = () => { - if (Xe >= P.length) { - Xe = 0 - E++ - P = E < k.length ? k[E] : null - R = Buffer.isBuffer(P) - } - } - const isInCurrentBuffer = (k) => R && k + Xe <= P.length - const ensureBuffer = () => { - if (!R) { - throw new Error( - P === null - ? 'Unexpected end of stream' - : 'Unexpected lazy element in stream' - ) - } - } - const read = (v) => { - ensureBuffer() - const L = P.length - Xe - if (L < v) { - const N = [read(L)] - v -= L - ensureBuffer() - while (P.length < v) { - const L = P - N.push(L) - v -= L.length - E++ - P = E < k.length ? k[E] : null - R = Buffer.isBuffer(P) - ensureBuffer() - } - N.push(read(v)) - return Buffer.concat(N) - } - const N = P - const q = Buffer.from(N.buffer, N.byteOffset + Xe, v) - Xe += v - checkOverflow() - return q - } - const readUpTo = (k) => { - ensureBuffer() - const v = P.length - Xe - if (v < k) { - k = v - } - const E = P - const R = Buffer.from(E.buffer, E.byteOffset + Xe, k) - Xe += k - checkOverflow() - return R - } - const readU8 = () => { - ensureBuffer() - const k = P.readUInt8(Xe) - Xe += Ze - checkOverflow() - return k - } - const readU32 = () => read(et).readUInt32LE(0) - const readBits = (k, v) => { - let E = 1 - while (v !== 0) { - rt.push((k & E) !== 0) - E = E << 1 - v-- - } - } - const st = Array.from({ length: 256 }).map((st, ot) => { - switch (ot) { - case L: - return () => { - const L = readU32() - const N = Array.from({ length: L }).map(() => readU32()) - const q = [] - for (let v of N) { - if (v === 0) { - if (typeof P !== 'function') { - throw new Error('Unexpected non-lazy element in stream') - } - q.push(P) - E++ - P = E < k.length ? k[E] : null - R = Buffer.isBuffer(P) - } else { - do { - const k = readUpTo(v) - v -= k.length - q.push(nt(k)) - } while (v > 0) - } - } - rt.push(this._createLazyDeserialized(q, v)) - } - case Ge: - return () => { - const k = readU32() - rt.push(nt(read(k))) - } - case N: - return () => rt.push(true) - case q: - return () => rt.push(false) - case me: - return () => rt.push(null, null, null) - case pe: - return () => rt.push(null, null) - case le: - return () => rt.push(null) - case Te: - return () => rt.push(null, true) - case je: - return () => rt.push(null, false) - case Ie: - return () => { - if (R) { - rt.push(null, P.readInt8(Xe)) - Xe += Ze - checkOverflow() - } else { - rt.push(null, read(Ze).readInt8(0)) - } - } - case Me: - return () => { - rt.push(null) - if (isInCurrentBuffer(et)) { - rt.push(P.readInt32LE(Xe)) - Xe += et - checkOverflow() - } else { - rt.push(read(et).readInt32LE(0)) - } - } - case ye: - return () => { - const k = readU8() + 4 - for (let v = 0; v < k; v++) { - rt.push(null) - } - } - case _e: - return () => { - const k = readU32() + 260 - for (let v = 0; v < k; v++) { - rt.push(null) - } - } - case ae: - return () => { - const k = readU8() - if ((k & 240) === 0) { - readBits(k, 3) - } else if ((k & 224) === 0) { - readBits(k, 4) - } else if ((k & 192) === 0) { - readBits(k, 5) - } else if ((k & 128) === 0) { - readBits(k, 6) - } else if (k !== 255) { - let v = (k & 127) + 7 - while (v > 8) { - readBits(readU8(), 8) - v -= 8 - } - readBits(readU8(), v) - } else { - let k = readU32() - while (k > 8) { - readBits(readU8(), 8) - k -= 8 - } - readBits(readU8(), k) - } - } - case Ue: - return () => { - const k = readU32() - if (isInCurrentBuffer(k) && Xe + k < 2147483647) { - rt.push(P.toString(undefined, Xe, Xe + k)) - Xe += k - checkOverflow() - } else { - rt.push(read(k).toString()) - } - } - case Je: - return () => rt.push('') - case Je | 1: - return () => { - if (R && Xe < 2147483646) { - rt.push(P.toString('latin1', Xe, Xe + 1)) - Xe++ - checkOverflow() - } else { - rt.push(read(1).toString('latin1')) - } - } - case He: - return () => { - if (R) { - rt.push(P.readInt8(Xe)) - Xe++ - checkOverflow() - } else { - rt.push(read(1).readInt8(0)) - } - } - case Be: { - const k = 1 - return () => { - const v = Ze * k - if (isInCurrentBuffer(v)) { - for (let v = 0; v < k; v++) { - const k = P.readInt8(Xe) - rt.push(BigInt(k)) - Xe += Ze - } - checkOverflow() - } else { - const E = read(v) - for (let v = 0; v < k; v++) { - const k = E.readInt8(v * Ze) - rt.push(BigInt(k)) - } - } - } - } - case qe: { - const k = 1 - return () => { - const v = et * k - if (isInCurrentBuffer(v)) { - for (let v = 0; v < k; v++) { - const k = P.readInt32LE(Xe) - rt.push(BigInt(k)) - Xe += et - } - checkOverflow() - } else { - const E = read(v) - for (let v = 0; v < k; v++) { - const k = E.readInt32LE(v * et) - rt.push(BigInt(k)) - } - } - } - } - case Ne: { - return () => { - const k = readU32() - if (isInCurrentBuffer(k) && Xe + k < 2147483647) { - const v = P.toString(undefined, Xe, Xe + k) - rt.push(BigInt(v)) - Xe += k - checkOverflow() - } else { - const v = read(k).toString() - rt.push(BigInt(v)) - } - } - } - default: - if (ot <= 10) { - return () => rt.push(ot) - } else if ((ot & Je) === Je) { - const k = ot & Ye - return () => { - if (isInCurrentBuffer(k) && Xe + k < 2147483647) { - rt.push(P.toString('latin1', Xe, Xe + k)) - Xe += k - checkOverflow() - } else { - rt.push(read(k).toString('latin1')) - } - } - } else if ((ot & Ve) === Qe) { - const k = (ot & Ke) + 1 - return () => { - const v = tt * k - if (isInCurrentBuffer(v)) { - for (let v = 0; v < k; v++) { - rt.push(P.readDoubleLE(Xe)) - Xe += tt - } - checkOverflow() - } else { - const E = read(v) - for (let v = 0; v < k; v++) { - rt.push(E.readDoubleLE(v * tt)) - } - } - } - } else if ((ot & Ve) === We) { - const k = (ot & Ke) + 1 - return () => { - const v = et * k - if (isInCurrentBuffer(v)) { - for (let v = 0; v < k; v++) { - rt.push(P.readInt32LE(Xe)) - Xe += et - } - checkOverflow() - } else { - const E = read(v) - for (let v = 0; v < k; v++) { - rt.push(E.readInt32LE(v * et)) - } - } - } - } else if ((ot & Ve) === He) { - const k = (ot & Ke) + 1 - return () => { - const v = Ze * k - if (isInCurrentBuffer(v)) { - for (let v = 0; v < k; v++) { - rt.push(P.readInt8(Xe)) - Xe += Ze - } - checkOverflow() - } else { - const E = read(v) - for (let v = 0; v < k; v++) { - rt.push(E.readInt8(v * Ze)) - } - } - } - } else { - return () => { - throw new Error( - `Unexpected header byte 0x${ot.toString(16)}` - ) - } - } - } - }) - let rt = [] - while (P !== null) { - if (typeof P === 'function') { - rt.push(this._deserializeLazy(P, v)) - E++ - P = E < k.length ? k[E] : null - R = Buffer.isBuffer(P) - } else { - const k = readU8() - st[k]() - } - } - let ot = rt - rt = undefined - return ot - } - } - k.exports = BinaryMiddleware - k.exports.MEASURE_START_OPERATION = nt - k.exports.MEASURE_END_OPERATION = st - }, - 4671: function (k) { - 'use strict' - class DateObjectSerializer { - serialize(k, v) { - v.write(k.getTime()) - } - deserialize(k) { - return new Date(k.read()) - } - } - k.exports = DateObjectSerializer - }, - 52596: function (k) { - 'use strict' - class ErrorObjectSerializer { - constructor(k) { - this.Type = k - } - serialize(k, v) { - v.write(k.message) - v.write(k.stack) - v.write(k.cause) - } - deserialize(k) { - const v = new this.Type() - v.message = k.read() - v.stack = k.read() - v.cause = k.read() - return v - } - } - k.exports = ErrorObjectSerializer - }, - 26607: function (k, v, E) { - 'use strict' - const { constants: P } = E(14300) - const { pipeline: R } = E(12781) - const { - createBrotliCompress: L, - createBrotliDecompress: N, - createGzip: q, - createGunzip: ae, - constants: le, - } = E(59796) - const pe = E(74012) - const { dirname: me, join: ye, mkdirp: _e } = E(57825) - const Ie = E(20631) - const Me = E(5505) - const Te = 23294071 - const je = 2147418112 - const Ne = 511 * 1024 * 1024 - const hashForName = (k, v) => { - const E = pe(v) - for (const v of k) E.update(v) - return E.digest('hex') - } - const Be = 100 * 1024 * 1024 - const qe = 100 * 1024 * 1024 - const Ue = Buffer.prototype.writeBigUInt64LE - ? (k, v, E) => { - k.writeBigUInt64LE(BigInt(v), E) - } - : (k, v, E) => { - const P = v % 4294967296 - const R = (v - P) / 4294967296 - k.writeUInt32LE(P, E) - k.writeUInt32LE(R, E + 4) - } - const Ge = Buffer.prototype.readBigUInt64LE - ? (k, v) => Number(k.readBigUInt64LE(v)) - : (k, v) => { - const E = k.readUInt32LE(v) - const P = k.readUInt32LE(v + 4) - return P * 4294967296 + E - } - const serialize = async (k, v, E, P, R = 'md4') => { - const L = [] - const N = new WeakMap() - let q = undefined - for (const E of await v) { - if (typeof E === 'function') { - if (!Me.isLazy(E)) throw new Error('Unexpected function') - if (!Me.isLazy(E, k)) { - throw new Error( - "Unexpected lazy value with non-this target (can't pass through lazy values)" - ) - } - q = undefined - const v = Me.getLazySerializedValue(E) - if (v) { - if (typeof v === 'function') { - throw new Error( - "Unexpected lazy value with non-this target (can't pass through lazy values)" - ) - } else { - L.push(v) - } - } else { - const v = E() - if (v) { - const q = Me.getLazyOptions(E) - L.push( - serialize(k, v, (q && q.name) || true, P, R).then((k) => { - E.options.size = k.size - N.set(k, E) - return k - }) - ) - } else { - throw new Error( - 'Unexpected falsy value returned by lazy value function' - ) - } - } - } else if (E) { - if (q) { - q.push(E) - } else { - q = [E] - L.push(q) - } - } else { - throw new Error('Unexpected falsy value in items array') - } - } - const ae = [] - const le = (await Promise.all(L)).map((k) => { - if (Array.isArray(k) || Buffer.isBuffer(k)) return k - ae.push(k.backgroundJob) - const v = k.name - const E = Buffer.from(v) - const P = Buffer.allocUnsafe(8 + E.length) - Ue(P, k.size, 0) - E.copy(P, 8, 0) - const R = N.get(k) - Me.setLazySerializedValue(R, P) - return P - }) - const pe = [] - for (const k of le) { - if (Array.isArray(k)) { - let v = 0 - for (const E of k) v += E.length - while (v > 2147483647) { - pe.push(2147483647) - v -= 2147483647 - } - pe.push(v) - } else if (k) { - pe.push(-k.length) - } else { - throw new Error('Unexpected falsy value in resolved data ' + k) - } - } - const me = Buffer.allocUnsafe(8 + pe.length * 4) - me.writeUInt32LE(Te, 0) - me.writeUInt32LE(pe.length, 4) - for (let k = 0; k < pe.length; k++) { - me.writeInt32LE(pe[k], 8 + k * 4) - } - const ye = [me] - for (const k of le) { - if (Array.isArray(k)) { - for (const v of k) ye.push(v) - } else if (k) { - ye.push(k) - } - } - if (E === true) { - E = hashForName(ye, R) - } - let _e = 0 - for (const k of ye) _e += k.length - ae.push(P(E, ye, _e)) - return { - size: _e, - name: E, - backgroundJob: ae.length === 1 ? ae[0] : Promise.all(ae), - } - } - const deserialize = async (k, v, E) => { - const P = await E(v) - if (P.length === 0) throw new Error('Empty file ' + v) - let R = 0 - let L = P[0] - let N = L.length - let q = 0 - if (N === 0) throw new Error('Empty file ' + v) - const nextContent = () => { - R++ - L = P[R] - N = L.length - q = 0 - } - const ensureData = (k) => { - if (q === N) { - nextContent() - } - while (N - q < k) { - const v = L.slice(q) - let E = k - v.length - const ae = [v] - for (let k = R + 1; k < P.length; k++) { - const v = P[k].length - if (v > E) { - ae.push(P[k].slice(0, E)) - P[k] = P[k].slice(E) - E = 0 - break - } else { - ae.push(P[k]) - R = k - E -= v - } - } - if (E > 0) throw new Error('Unexpected end of data') - L = Buffer.concat(ae, k) - N = k - q = 0 - } - } - const readUInt32LE = () => { - ensureData(4) - const k = L.readUInt32LE(q) - q += 4 - return k - } - const readInt32LE = () => { - ensureData(4) - const k = L.readInt32LE(q) - q += 4 - return k - } - const readSlice = (k) => { - ensureData(k) - if (q === 0 && N === k) { - const v = L - if (R + 1 < P.length) { - nextContent() - } else { - q = k - } - return v - } - const v = L.slice(q, q + k) - q += k - return k * 2 < L.buffer.byteLength ? Buffer.from(v) : v - } - const ae = readUInt32LE() - if (ae !== Te) { - throw new Error('Invalid file version') - } - const le = readUInt32LE() - const pe = [] - let me = false - for (let k = 0; k < le; k++) { - const k = readInt32LE() - const v = k >= 0 - if (me && v) { - pe[pe.length - 1] += k - } else { - pe.push(k) - me = v - } - } - const ye = [] - for (let v of pe) { - if (v < 0) { - const P = readSlice(-v) - const R = Number(Ge(P, 0)) - const L = P.slice(8) - const N = L.toString() - ye.push( - Me.createLazy( - Ie(() => deserialize(k, N, E)), - k, - { name: N, size: R }, - P - ) - ) - } else { - if (q === N) { - nextContent() - } else if (q !== 0) { - if (v <= N - q) { - ye.push(Buffer.from(L.buffer, L.byteOffset + q, v)) - q += v - v = 0 - } else { - const k = N - q - ye.push(Buffer.from(L.buffer, L.byteOffset + q, k)) - v -= k - q = N - } - } else { - if (v >= N) { - ye.push(L) - v -= N - q = N - } else { - ye.push(Buffer.from(L.buffer, L.byteOffset, v)) - q += v - v = 0 - } - } - while (v > 0) { - nextContent() - if (v >= N) { - ye.push(L) - v -= N - q = N - } else { - ye.push(Buffer.from(L.buffer, L.byteOffset, v)) - q += v - v = 0 - } - } - } - } - return ye - } - class FileMiddleware extends Me { - constructor(k, v = 'md4') { - super() - this.fs = k - this._hashFunction = v - } - serialize(k, v) { - const { filename: E, extension: P = '' } = v - return new Promise((v, N) => { - _e(this.fs, me(this.fs, E), (ae) => { - if (ae) return N(ae) - const pe = new Set() - const writeFile = async (k, v, N) => { - const ae = k ? ye(this.fs, E, `../${k}${P}`) : E - await new Promise((k, E) => { - let P = this.fs.createWriteStream(ae + '_') - let pe - if (ae.endsWith('.gz')) { - pe = q({ chunkSize: Be, level: le.Z_BEST_SPEED }) - } else if (ae.endsWith('.br')) { - pe = L({ - chunkSize: Be, - params: { - [le.BROTLI_PARAM_MODE]: le.BROTLI_MODE_TEXT, - [le.BROTLI_PARAM_QUALITY]: 2, - [le.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]: true, - [le.BROTLI_PARAM_SIZE_HINT]: N, - }, - }) - } - if (pe) { - R(pe, P, E) - P = pe - P.on('finish', () => k()) - } else { - P.on('error', (k) => E(k)) - P.on('finish', () => k()) - } - const me = [] - for (const k of v) { - if (k.length < Ne) { - me.push(k) - } else { - for (let v = 0; v < k.length; v += Ne) { - me.push(k.slice(v, v + Ne)) - } - } - } - const ye = me.length - let _e = 0 - const batchWrite = (k) => { - if (k) return - if (_e === ye) { - P.end() - return - } - let v = _e - let E = me[v++].length - while (v < ye) { - E += me[v].length - if (E > je) break - v++ - } - while (_e < v - 1) { - P.write(me[_e++]) - } - P.write(me[_e++], batchWrite) - } - batchWrite() - }) - if (k) pe.add(ae) - } - v( - serialize(this, k, false, writeFile, this._hashFunction).then( - async ({ backgroundJob: k }) => { - await k - await new Promise((k) => - this.fs.rename(E, E + '.old', (v) => { - k() - }) - ) - await Promise.all( - Array.from( - pe, - (k) => - new Promise((v, E) => { - this.fs.rename(k + '_', k, (k) => { - if (k) return E(k) - v() - }) - }) - ) - ) - await new Promise((k) => { - this.fs.rename(E + '_', E, (v) => { - if (v) return N(v) - k() - }) - }) - return true - } - ) - ) - }) - }) - } - deserialize(k, v) { - const { filename: E, extension: R = '' } = v - const readFile = (k) => - new Promise((v, L) => { - const q = k ? ye(this.fs, E, `../${k}${R}`) : E - this.fs.stat(q, (k, E) => { - if (k) { - L(k) - return - } - let R = E.size - let le - let pe - const me = [] - let ye - if (q.endsWith('.gz')) { - ye = ae({ chunkSize: qe }) - } else if (q.endsWith('.br')) { - ye = N({ chunkSize: qe }) - } - if (ye) { - let k, E - v( - Promise.all([ - new Promise((v, P) => { - k = v - E = P - }), - new Promise((k, v) => { - ye.on('data', (k) => me.push(k)) - ye.on('end', () => k()) - ye.on('error', (k) => v(k)) - }), - ]).then(() => me) - ) - v = k - L = E - } - this.fs.open(q, 'r', (k, E) => { - if (k) { - L(k) - return - } - const read = () => { - if (le === undefined) { - le = Buffer.allocUnsafeSlow( - Math.min(P.MAX_LENGTH, R, ye ? qe : Infinity) - ) - pe = 0 - } - let k = le - let N = pe - let q = le.length - pe - if (N > 2147483647) { - k = le.slice(N) - N = 0 - } - if (q > 2147483647) { - q = 2147483647 - } - this.fs.read(E, k, N, q, null, (k, P) => { - if (k) { - this.fs.close(E, () => { - L(k) - }) - return - } - pe += P - R -= P - if (pe === le.length) { - if (ye) { - ye.write(le) - } else { - me.push(le) - } - le = undefined - if (R === 0) { - if (ye) { - ye.end() - } - this.fs.close(E, (k) => { - if (k) { - L(k) - return - } - v(me) - }) - return - } - } - read() - }) - } - read() - }) - }) - }) - return deserialize(this, false, readFile) - } - } - k.exports = FileMiddleware - }, - 61681: function (k) { - 'use strict' - class MapObjectSerializer { - serialize(k, v) { - v.write(k.size) - for (const E of k.keys()) { - v.write(E) - } - for (const E of k.values()) { - v.write(E) - } - } - deserialize(k) { - let v = k.read() - const E = new Map() - const P = [] - for (let E = 0; E < v; E++) { - P.push(k.read()) - } - for (let R = 0; R < v; R++) { - E.set(P[R], k.read()) - } - return E - } - } - k.exports = MapObjectSerializer - }, - 20205: function (k) { - 'use strict' - class NullPrototypeObjectSerializer { - serialize(k, v) { - const E = Object.keys(k) - for (const k of E) { - v.write(k) - } - v.write(null) - for (const P of E) { - v.write(k[P]) - } - } - deserialize(k) { - const v = Object.create(null) - const E = [] - let P = k.read() - while (P !== null) { - E.push(P) - P = k.read() - } - for (const P of E) { - v[P] = k.read() - } - return v - } - } - k.exports = NullPrototypeObjectSerializer - }, - 67085: function (k, v, E) { - 'use strict' - const P = E(74012) - const R = E(73184) - const L = E(4671) - const N = E(52596) - const q = E(61681) - const ae = E(20205) - const le = E(90103) - const pe = E(50986) - const me = E(5505) - const ye = E(73618) - const setSetSize = (k, v) => { - let E = 0 - for (const P of k) { - if (E++ >= v) { - k.delete(P) - } - } - } - const setMapSize = (k, v) => { - let E = 0 - for (const P of k.keys()) { - if (E++ >= v) { - k.delete(P) - } - } - } - const toHash = (k, v) => { - const E = P(v) - E.update(k) - return E.digest('latin1') - } - const _e = null - const Ie = null - const Me = true - const Te = false - const je = 2 - const Ne = new Map() - const Be = new Map() - const qe = new Set() - const Ue = {} - const Ge = new Map() - Ge.set(Object, new le()) - Ge.set(Array, new R()) - Ge.set(null, new ae()) - Ge.set(Map, new q()) - Ge.set(Set, new ye()) - Ge.set(Date, new L()) - Ge.set(RegExp, new pe()) - Ge.set(Error, new N(Error)) - Ge.set(EvalError, new N(EvalError)) - Ge.set(RangeError, new N(RangeError)) - Ge.set(ReferenceError, new N(ReferenceError)) - Ge.set(SyntaxError, new N(SyntaxError)) - Ge.set(TypeError, new N(TypeError)) - if (v.constructor !== Object) { - const k = v.constructor - const E = k.constructor - for (const [k, v] of Array.from(Ge)) { - if (k) { - const P = new E(`return ${k.name};`)() - Ge.set(P, v) - } - } - } - { - let k = 1 - for (const [v, E] of Ge) { - Ne.set(v, { request: '', name: k++, serializer: E }) - } - } - for (const { request: k, name: v, serializer: E } of Ne.values()) { - Be.set(`${k}/${v}`, E) - } - const He = new Map() - class ObjectMiddleware extends me { - constructor(k, v = 'md4') { - super() - this.extendContext = k - this._hashFunction = v - } - static registerLoader(k, v) { - He.set(k, v) - } - static register(k, v, E, P) { - const R = v + '/' + E - if (Ne.has(k)) { - throw new Error( - `ObjectMiddleware.register: serializer for ${k.name} is already registered` - ) - } - if (Be.has(R)) { - throw new Error( - `ObjectMiddleware.register: serializer for ${R} is already registered` - ) - } - Ne.set(k, { request: v, name: E, serializer: P }) - Be.set(R, P) - } - static registerNotSerializable(k) { - if (Ne.has(k)) { - throw new Error( - `ObjectMiddleware.registerNotSerializable: serializer for ${k.name} is already registered` - ) - } - Ne.set(k, Ue) - } - static getSerializerFor(k) { - const v = Object.getPrototypeOf(k) - let E - if (v === null) { - E = null - } else { - E = v.constructor - if (!E) { - throw new Error( - 'Serialization of objects with prototype without valid constructor property not possible' - ) - } - } - const P = Ne.get(E) - if (!P) throw new Error(`No serializer registered for ${E.name}`) - if (P === Ue) throw Ue - return P - } - static getDeserializerFor(k, v) { - const E = k + '/' + v - const P = Be.get(E) - if (P === undefined) { - throw new Error(`No deserializer registered for ${E}`) - } - return P - } - static _getDeserializerForWithoutError(k, v) { - const E = k + '/' + v - const P = Be.get(E) - return P - } - serialize(k, v) { - let E = [je] - let P = 0 - let R = new Map() - const addReferenceable = (k) => { - R.set(k, P++) - } - let L = new Map() - const dedupeBuffer = (k) => { - const v = k.length - const E = L.get(v) - if (E === undefined) { - L.set(v, k) - return k - } - if (Buffer.isBuffer(E)) { - if (v < 32) { - if (k.equals(E)) { - return E - } - L.set(v, [E, k]) - return k - } else { - const P = toHash(E, this._hashFunction) - const R = new Map() - R.set(P, E) - L.set(v, R) - const N = toHash(k, this._hashFunction) - if (P === N) { - return E - } - return k - } - } else if (Array.isArray(E)) { - if (E.length < 16) { - for (const v of E) { - if (k.equals(v)) { - return v - } - } - E.push(k) - return k - } else { - const P = new Map() - const R = toHash(k, this._hashFunction) - let N - for (const k of E) { - const v = toHash(k, this._hashFunction) - P.set(v, k) - if (N === undefined && v === R) N = k - } - L.set(v, P) - if (N === undefined) { - P.set(R, k) - return k - } else { - return N - } - } - } else { - const v = toHash(k, this._hashFunction) - const P = E.get(v) - if (P !== undefined) { - return P - } - E.set(v, k) - return k - } - } - let N = 0 - let q = new Map() - const ae = new Set() - const stackToString = (k) => { - const v = Array.from(ae) - v.push(k) - return v - .map((k) => { - if (typeof k === 'string') { - if (k.length > 100) { - return `String ${JSON.stringify(k.slice(0, 100)).slice( - 0, - -1 - )}..."` - } - return `String ${JSON.stringify(k)}` - } - try { - const { request: v, name: E } = - ObjectMiddleware.getSerializerFor(k) - if (v) { - return `${v}${E ? `.${E}` : ''}` - } - } catch (k) {} - if (typeof k === 'object' && k !== null) { - if (k.constructor) { - if (k.constructor === Object) - return `Object { ${Object.keys(k).join(', ')} }` - if (k.constructor === Map) return `Map { ${k.size} items }` - if (k.constructor === Array) - return `Array { ${k.length} items }` - if (k.constructor === Set) return `Set { ${k.size} items }` - if (k.constructor === RegExp) return k.toString() - return `${k.constructor.name}` - } - return `Object [null prototype] { ${Object.keys(k).join( - ', ' - )} }` - } - if (typeof k === 'bigint') { - return `BigInt ${k}n` - } - try { - return `${k}` - } catch (k) { - return `(${k.message})` - } - }) - .join(' -> ') - } - let le - let pe = { - write(k, v) { - try { - process(k) - } catch (v) { - if (v !== Ue) { - if (le === undefined) le = new WeakSet() - if (!le.has(v)) { - v.message += `\nwhile serializing ${stackToString(k)}` - le.add(v) - } - } - throw v - } - }, - setCircularReference(k) { - addReferenceable(k) - }, - snapshot() { - return { - length: E.length, - cycleStackSize: ae.size, - referenceableSize: R.size, - currentPos: P, - objectTypeLookupSize: q.size, - currentPosTypeLookup: N, - } - }, - rollback(k) { - E.length = k.length - setSetSize(ae, k.cycleStackSize) - setMapSize(R, k.referenceableSize) - P = k.currentPos - setMapSize(q, k.objectTypeLookupSize) - N = k.currentPosTypeLookup - }, - ...v, - } - this.extendContext(pe) - const process = (k) => { - if (Buffer.isBuffer(k)) { - const v = R.get(k) - if (v !== undefined) { - E.push(_e, v - P) - return - } - const L = dedupeBuffer(k) - if (L !== k) { - const v = R.get(L) - if (v !== undefined) { - R.set(k, v) - E.push(_e, v - P) - return - } - k = L - } - addReferenceable(k) - E.push(k) - } else if (k === _e) { - E.push(_e, Ie) - } else if (typeof k === 'object') { - const v = R.get(k) - if (v !== undefined) { - E.push(_e, v - P) - return - } - if (ae.has(k)) { - throw new Error( - `This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.` - ) - } - const { - request: L, - name: le, - serializer: me, - } = ObjectMiddleware.getSerializerFor(k) - const ye = `${L}/${le}` - const Ie = q.get(ye) - if (Ie === undefined) { - q.set(ye, N++) - E.push(_e, L, le) - } else { - E.push(_e, N - Ie) - } - ae.add(k) - try { - me.serialize(k, pe) - } finally { - ae.delete(k) - } - E.push(_e, Me) - addReferenceable(k) - } else if (typeof k === 'string') { - if (k.length > 1) { - const v = R.get(k) - if (v !== undefined) { - E.push(_e, v - P) - return - } - addReferenceable(k) - } - if (k.length > 102400 && v.logger) { - v.logger.warn( - `Serializing big strings (${Math.round( - k.length / 1024 - )}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)` - ) - } - E.push(k) - } else if (typeof k === 'function') { - if (!me.isLazy(k)) throw new Error('Unexpected function ' + k) - const P = me.getLazySerializedValue(k) - if (P !== undefined) { - if (typeof P === 'function') { - E.push(P) - } else { - throw new Error('Not implemented') - } - } else if (me.isLazy(k, this)) { - throw new Error('Not implemented') - } else { - const P = me.serializeLazy(k, (k) => this.serialize([k], v)) - me.setLazySerializedValue(k, P) - E.push(P) - } - } else if (k === undefined) { - E.push(_e, Te) - } else { - E.push(k) - } - } - try { - for (const v of k) { - process(v) - } - return E - } catch (k) { - if (k === Ue) return null - throw k - } finally { - k = E = R = L = q = pe = undefined - } - } - deserialize(k, v) { - let E = 0 - const read = () => { - if (E >= k.length) throw new Error('Unexpected end of stream') - return k[E++] - } - if (read() !== je) - throw new Error('Version mismatch, serializer changed') - let P = 0 - let R = [] - const addReferenceable = (k) => { - R.push(k) - P++ - } - let L = 0 - let N = [] - let q = [] - let ae = { - read() { - return decodeValue() - }, - setCircularReference(k) { - addReferenceable(k) - }, - ...v, - } - this.extendContext(ae) - const decodeValue = () => { - const k = read() - if (k === _e) { - const k = read() - if (k === Ie) { - return _e - } else if (k === Te) { - return undefined - } else if (k === Me) { - throw new Error(`Unexpected end of object at position ${E - 1}`) - } else { - const v = k - let q - if (typeof v === 'number') { - if (v < 0) { - return R[P + v] - } - q = N[L - v] - } else { - if (typeof v !== 'string') { - throw new Error( - `Unexpected type (${typeof v}) of request ` + - `at position ${E - 1}` - ) - } - const k = read() - q = ObjectMiddleware._getDeserializerForWithoutError(v, k) - if (q === undefined) { - if (v && !qe.has(v)) { - let k = false - for (const [E, P] of He) { - if (E.test(v)) { - if (P(v)) { - k = true - break - } - } - } - if (!k) { - require(v) - } - qe.add(v) - } - q = ObjectMiddleware.getDeserializerFor(v, k) - } - N.push(q) - L++ - } - try { - const k = q.deserialize(ae) - const v = read() - if (v !== _e) { - throw new Error('Expected end of object') - } - const E = read() - if (E !== Me) { - throw new Error('Expected end of object') - } - addReferenceable(k) - return k - } catch (k) { - let v - for (const k of Ne) { - if (k[1].serializer === q) { - v = k - break - } - } - const E = !v - ? 'unknown' - : !v[1].request - ? v[0].name - : v[1].name - ? `${v[1].request} ${v[1].name}` - : v[1].request - k.message += `\n(during deserialization of ${E})` - throw k - } - } - } else if (typeof k === 'string') { - if (k.length > 1) { - addReferenceable(k) - } - return k - } else if (Buffer.isBuffer(k)) { - addReferenceable(k) - return k - } else if (typeof k === 'function') { - return me.deserializeLazy(k, (k) => this.deserialize(k, v)[0]) - } else { - return k - } - } - try { - while (E < k.length) { - q.push(decodeValue()) - } - return q - } finally { - q = R = k = N = ae = undefined - } - } - } - k.exports = ObjectMiddleware - k.exports.NOT_SERIALIZABLE = Ue - }, - 90103: function (k) { - 'use strict' - const v = new WeakMap() - class ObjectStructure { - constructor() { - this.keys = undefined - this.children = undefined - } - getKeys(k) { - if (this.keys === undefined) this.keys = k - return this.keys - } - key(k) { - if (this.children === undefined) this.children = new Map() - const v = this.children.get(k) - if (v !== undefined) return v - const E = new ObjectStructure() - this.children.set(k, E) - return E - } - } - const getCachedKeys = (k, E) => { - let P = v.get(E) - if (P === undefined) { - P = new ObjectStructure() - v.set(E, P) - } - let R = P - for (const v of k) { - R = R.key(v) - } - return R.getKeys(k) - } - class PlainObjectSerializer { - serialize(k, v) { - const E = Object.keys(k) - if (E.length > 128) { - v.write(E) - for (const P of E) { - v.write(k[P]) - } - } else if (E.length > 1) { - v.write(getCachedKeys(E, v.write)) - for (const P of E) { - v.write(k[P]) - } - } else if (E.length === 1) { - const P = E[0] - v.write(P) - v.write(k[P]) - } else { - v.write(null) - } - } - deserialize(k) { - const v = k.read() - const E = {} - if (Array.isArray(v)) { - for (const P of v) { - E[P] = k.read() - } - } else if (v !== null) { - E[v] = k.read() - } - return E - } - } - k.exports = PlainObjectSerializer - }, - 50986: function (k) { - 'use strict' - class RegExpObjectSerializer { - serialize(k, v) { - v.write(k.source) - v.write(k.flags) - } - deserialize(k) { - return new RegExp(k.read(), k.read()) - } - } - k.exports = RegExpObjectSerializer - }, - 90827: function (k) { - 'use strict' - class Serializer { - constructor(k, v) { - this.serializeMiddlewares = k.slice() - this.deserializeMiddlewares = k.slice().reverse() - this.context = v - } - serialize(k, v) { - const E = { ...v, ...this.context } - let P = k - for (const k of this.serializeMiddlewares) { - if (P && typeof P.then === 'function') { - P = P.then((v) => v && k.serialize(v, E)) - } else if (P) { - try { - P = k.serialize(P, E) - } catch (k) { - P = Promise.reject(k) - } - } else break - } - return P - } - deserialize(k, v) { - const E = { ...v, ...this.context } - let P = k - for (const k of this.deserializeMiddlewares) { - if (P && typeof P.then === 'function') { - P = P.then((v) => k.deserialize(v, E)) - } else { - P = k.deserialize(P, E) - } - } - return P - } - } - k.exports = Serializer - }, - 5505: function (k, v, E) { - 'use strict' - const P = E(20631) - const R = Symbol('lazy serialization target') - const L = Symbol('lazy serialization data') - class SerializerMiddleware { - serialize(k, v) { - const P = E(60386) - throw new P() - } - deserialize(k, v) { - const P = E(60386) - throw new P() - } - static createLazy(k, v, E = {}, P) { - if (SerializerMiddleware.isLazy(k, v)) return k - const N = typeof k === 'function' ? k : () => k - N[R] = v - N.options = E - N[L] = P - return N - } - static isLazy(k, v) { - if (typeof k !== 'function') return false - const E = k[R] - return v ? E === v : !!E - } - static getLazyOptions(k) { - if (typeof k !== 'function') return undefined - return k.options - } - static getLazySerializedValue(k) { - if (typeof k !== 'function') return undefined - return k[L] - } - static setLazySerializedValue(k, v) { - k[L] = v - } - static serializeLazy(k, v) { - const E = P(() => { - const E = k() - if (E && typeof E.then === 'function') { - return E.then((k) => k && v(k)) - } - return v(E) - }) - E[R] = k[R] - E.options = k.options - k[L] = E - return E - } - static deserializeLazy(k, v) { - const E = P(() => { - const E = k() - if (E && typeof E.then === 'function') { - return E.then((k) => v(k)) - } - return v(E) - }) - E[R] = k[R] - E.options = k.options - E[L] = k - return E - } - static unMemoizeLazy(k) { - if (!SerializerMiddleware.isLazy(k)) return k - const fn = () => { - throw new Error( - "A lazy value that has been unmemorized can't be called again" - ) - } - fn[L] = SerializerMiddleware.unMemoizeLazy(k[L]) - fn[R] = k[R] - fn.options = k.options - return fn - } - } - k.exports = SerializerMiddleware - }, - 73618: function (k) { - 'use strict' - class SetObjectSerializer { - serialize(k, v) { - v.write(k.size) - for (const E of k) { - v.write(E) - } - } - deserialize(k) { - let v = k.read() - const E = new Set() - for (let P = 0; P < v; P++) { - E.add(k.read()) - } - return E - } - } - k.exports = SetObjectSerializer - }, - 90341: function (k, v, E) { - 'use strict' - const P = E(5505) - class SingleItemMiddleware extends P { - serialize(k, v) { - return [k] - } - deserialize(k, v) { - return k[0] - } - } - k.exports = SingleItemMiddleware - }, - 18036: function (k, v, E) { - 'use strict' - const P = E(77373) - const R = E(58528) - class ConsumeSharedFallbackDependency extends P { - constructor(k) { - super(k) - } - get type() { - return 'consume shared fallback' - } - get category() { - return 'esm' - } - } - R( - ConsumeSharedFallbackDependency, - 'webpack/lib/sharing/ConsumeSharedFallbackDependency' - ) - k.exports = ConsumeSharedFallbackDependency - }, - 81860: function (k, v, E) { - 'use strict' - const { RawSource: P } = E(51255) - const R = E(75081) - const L = E(88396) - const { WEBPACK_MODULE_TYPE_CONSUME_SHARED_MODULE: N } = E(93622) - const q = E(56727) - const ae = E(58528) - const { rangeToString: le, stringifyHoley: pe } = E(51542) - const me = E(18036) - const ye = new Set(['consume-shared']) - class ConsumeSharedModule extends L { - constructor(k, v) { - super(N, k) - this.options = v - } - identifier() { - const { - shareKey: k, - shareScope: v, - importResolved: E, - requiredVersion: P, - strictVersion: R, - singleton: L, - eager: q, - } = this.options - return `${N}|${v}|${k}|${P && le(P)}|${R}|${E}|${L}|${q}` - } - readableIdentifier(k) { - const { - shareKey: v, - shareScope: E, - importResolved: P, - requiredVersion: R, - strictVersion: L, - singleton: N, - eager: q, - } = this.options - return `consume shared module (${E}) ${v}@${R ? le(R) : '*'}${ - L ? ' (strict)' : '' - }${N ? ' (singleton)' : ''}${ - P ? ` (fallback: ${k.shorten(P)})` : '' - }${q ? ' (eager)' : ''}` - } - libIdent(k) { - const { shareKey: v, shareScope: E, import: P } = this.options - return `${ - this.layer ? `(${this.layer})/` : '' - }webpack/sharing/consume/${E}/${v}${P ? `/${P}` : ''}` - } - needBuild(k, v) { - v(null, !this.buildInfo) - } - build(k, v, E, P, L) { - this.buildMeta = {} - this.buildInfo = {} - if (this.options.import) { - const k = new me(this.options.import) - if (this.options.eager) { - this.addDependency(k) - } else { - const v = new R({}) - v.addDependency(k) - this.addBlock(v) - } - } - L() - } - getSourceTypes() { - return ye - } - size(k) { - return 42 - } - updateHash(k, v) { - k.update(JSON.stringify(this.options)) - super.updateHash(k, v) - } - codeGeneration({ chunkGraph: k, moduleGraph: v, runtimeTemplate: E }) { - const R = new Set([q.shareScopeMap]) - const { - shareScope: L, - shareKey: N, - strictVersion: ae, - requiredVersion: le, - import: me, - singleton: ye, - eager: _e, - } = this.options - let Ie - if (me) { - if (_e) { - const v = this.dependencies[0] - Ie = E.syncModuleFactory({ - dependency: v, - chunkGraph: k, - runtimeRequirements: R, - request: this.options.import, - }) - } else { - const v = this.blocks[0] - Ie = E.asyncModuleFactory({ - block: v, - chunkGraph: k, - runtimeRequirements: R, - request: this.options.import, - }) - } - } - let Me = 'load' - const Te = [JSON.stringify(L), JSON.stringify(N)] - if (le) { - if (ae) { - Me += 'Strict' - } - if (ye) { - Me += 'Singleton' - } - Te.push(pe(le)) - Me += 'VersionCheck' - } else { - if (ye) { - Me += 'Singleton' - } - } - if (Ie) { - Me += 'Fallback' - Te.push(Ie) - } - const je = E.returningFunction(`${Me}(${Te.join(', ')})`) - const Ne = new Map() - Ne.set('consume-shared', new P(je)) - return { runtimeRequirements: R, sources: Ne } - } - serialize(k) { - const { write: v } = k - v(this.options) - super.serialize(k) - } - deserialize(k) { - const { read: v } = k - this.options = v() - super.deserialize(k) - } - } - ae(ConsumeSharedModule, 'webpack/lib/sharing/ConsumeSharedModule') - k.exports = ConsumeSharedModule - }, - 73485: function (k, v, E) { - 'use strict' - const P = E(69734) - const R = E(56727) - const L = E(71572) - const { parseOptions: N } = E(34869) - const q = E(12359) - const ae = E(92198) - const { parseRange: le } = E(51542) - const pe = E(18036) - const me = E(81860) - const ye = E(91847) - const _e = E(27150) - const { resolveMatchedConfigs: Ie } = E(466) - const { - isRequiredVersion: Me, - getDescriptionFile: Te, - getRequiredVersionFromDescriptionFile: je, - } = E(54068) - const Ne = ae(E(93859), () => E(61334), { - name: 'Consume Shared Plugin', - baseDataPath: 'options', - }) - const Be = { dependencyType: 'esm' } - const qe = 'ConsumeSharedPlugin' - class ConsumeSharedPlugin { - constructor(k) { - if (typeof k !== 'string') { - Ne(k) - } - this._consumes = N( - k.consumes, - (v, E) => { - if (Array.isArray(v)) - throw new Error('Unexpected array in options') - let P = - v === E || !Me(v) - ? { - import: E, - shareScope: k.shareScope || 'default', - shareKey: E, - requiredVersion: undefined, - packageName: undefined, - strictVersion: false, - singleton: false, - eager: false, - } - : { - import: E, - shareScope: k.shareScope || 'default', - shareKey: E, - requiredVersion: le(v), - strictVersion: true, - packageName: undefined, - singleton: false, - eager: false, - } - return P - }, - (v, E) => ({ - import: v.import === false ? undefined : v.import || E, - shareScope: v.shareScope || k.shareScope || 'default', - shareKey: v.shareKey || E, - requiredVersion: - typeof v.requiredVersion === 'string' - ? le(v.requiredVersion) - : v.requiredVersion, - strictVersion: - typeof v.strictVersion === 'boolean' - ? v.strictVersion - : v.import !== false && !v.singleton, - packageName: v.packageName, - singleton: !!v.singleton, - eager: !!v.eager, - }) - ) - } - apply(k) { - k.hooks.thisCompilation.tap(qe, (v, { normalModuleFactory: E }) => { - v.dependencyFactories.set(pe, E) - let N, ae, Me - const Ne = Ie(v, this._consumes).then( - ({ resolved: k, unresolved: v, prefixed: E }) => { - ae = k - N = v - Me = E - } - ) - const Ue = v.resolverFactory.get('normal', Be) - const createConsumeSharedModule = (E, R, N) => { - const requiredVersionWarning = (k) => { - const E = new L( - `No required version specified and unable to automatically determine one. ${k}` - ) - E.file = `shared module ${R}` - v.warnings.push(E) - } - const ae = - N.import && /^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(N.import) - return Promise.all([ - new Promise((L) => { - if (!N.import) return L() - const le = { - fileDependencies: new q(), - contextDependencies: new q(), - missingDependencies: new q(), - } - Ue.resolve({}, ae ? k.context : E, N.import, le, (k, E) => { - v.contextDependencies.addAll(le.contextDependencies) - v.fileDependencies.addAll(le.fileDependencies) - v.missingDependencies.addAll(le.missingDependencies) - if (k) { - v.errors.push( - new P(null, k, { - name: `resolving fallback for shared module ${R}`, - }) - ) - return L() - } - L(E) - }) - }), - new Promise((k) => { - if (N.requiredVersion !== undefined) - return k(N.requiredVersion) - let P = N.packageName - if (P === undefined) { - if (/^(\/|[A-Za-z]:|\\\\)/.test(R)) { - return k() - } - const v = /^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec(R) - if (!v) { - requiredVersionWarning( - 'Unable to extract the package name from request.' - ) - return k() - } - P = v[0] - } - Te(v.inputFileSystem, E, ['package.json'], (v, R) => { - if (v) { - requiredVersionWarning( - `Unable to read description file: ${v}` - ) - return k() - } - const { data: L, path: N } = R - if (!L) { - requiredVersionWarning( - `Unable to find description file in ${E}.` - ) - return k() - } - if (L.name === P) { - return k() - } - const q = je(L, P) - if (typeof q !== 'string') { - requiredVersionWarning( - `Unable to find required version for "${P}" in description file (${N}). It need to be in dependencies, devDependencies or peerDependencies.` - ) - return k() - } - k(le(q)) - }) - }), - ]).then( - ([v, P]) => - new me(ae ? k.context : E, { - ...N, - importResolved: v, - import: v ? N.import : undefined, - requiredVersion: P, - }) - ) - } - E.hooks.factorize.tapPromise( - qe, - ({ context: k, request: v, dependencies: E }) => - Ne.then(() => { - if (E[0] instanceof pe || E[0] instanceof _e) { - return - } - const P = N.get(v) - if (P !== undefined) { - return createConsumeSharedModule(k, v, P) - } - for (const [E, P] of Me) { - if (v.startsWith(E)) { - const R = v.slice(E.length) - return createConsumeSharedModule(k, v, { - ...P, - import: P.import ? P.import + R : undefined, - shareKey: P.shareKey + R, - }) - } - } - }) - ) - E.hooks.createModule.tapPromise( - qe, - ({ resource: k }, { context: v, dependencies: E }) => { - if (E[0] instanceof pe || E[0] instanceof _e) { - return Promise.resolve() - } - const P = ae.get(k) - if (P !== undefined) { - return createConsumeSharedModule(v, k, P) - } - return Promise.resolve() - } - ) - v.hooks.additionalTreeRuntimeRequirements.tap(qe, (k, E) => { - E.add(R.module) - E.add(R.moduleCache) - E.add(R.moduleFactoriesAddOnly) - E.add(R.shareScopeMap) - E.add(R.initializeSharing) - E.add(R.hasOwnProperty) - v.addRuntimeModule(k, new ye(E)) - }) - }) - } - } - k.exports = ConsumeSharedPlugin - }, - 91847: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - const { - parseVersionRuntimeCode: N, - versionLtRuntimeCode: q, - rangeToStringRuntimeCode: ae, - satisfyRuntimeCode: le, - } = E(51542) - class ConsumeSharedRuntimeModule extends R { - constructor(k) { - super('consumes', R.STAGE_ATTACH) - this._runtimeRequirements = k - } - generate() { - const { compilation: k, chunkGraph: v } = this - const { runtimeTemplate: E, codeGenerationResults: R } = k - const pe = {} - const me = new Map() - const ye = [] - const addModules = (k, E, P) => { - for (const L of k) { - const k = L - const N = v.getModuleId(k) - P.push(N) - me.set(N, R.getSource(k, E.runtime, 'consume-shared')) - } - } - for (const k of this.chunk.getAllAsyncChunks()) { - const E = v.getChunkModulesIterableBySourceType(k, 'consume-shared') - if (!E) continue - addModules(E, k, (pe[k.id] = [])) - } - for (const k of this.chunk.getAllInitialChunks()) { - const E = v.getChunkModulesIterableBySourceType(k, 'consume-shared') - if (!E) continue - addModules(E, k, ye) - } - if (me.size === 0) return null - return L.asString([ - N(E), - q(E), - ae(E), - le(E), - `var ensureExistence = ${E.basicFunction('scopeName, key', [ - `var scope = ${P.shareScopeMap}[scopeName];`, - `if(!scope || !${P.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( - 'scope, key, version, requiredVersion', - [ - `return "Unsatisfied version " + version + " from " + (version && scope[key][version].from) + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`, - ] - )};`, - `var getSingleton = ${E.basicFunction( - 'scope, scopeName, key, requiredVersion', - [ - 'var version = findSingletonVersionKey(scope, key);', - 'return get(scope[key][version]);', - ] - )};`, - `var getSingletonVersion = ${E.basicFunction( - 'scope, scopeName, key, requiredVersion', - [ - 'var version = findSingletonVersionKey(scope, key);', - 'if (!satisfy(requiredVersion, version)) warn(getInvalidSingletonVersionMessage(scope, 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(scope, 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 warn = ${ - this.compilation.options.output.ignoreBrowserWarnings - ? E.basicFunction('', '') - : E.basicFunction('msg', [ - 'if (typeof console !== "undefined" && console.warn) console.warn(msg);', - ]) - };`, - `var warnInvalidVersion = ${E.basicFunction( - 'scope, scopeName, key, requiredVersion', - [ - 'warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));', - ] - )};`, - `var get = ${E.basicFunction('entry', [ - 'entry.loaded = 1;', - 'return entry.get()', - ])};`, - `var init = ${E.returningFunction( - L.asString([ - 'function(scopeName, a, b, c) {', - L.indent([ - `var promise = ${P.initializeSharing}(scopeName);`, - `if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${P.shareScopeMap}[scopeName], a, b, c));`, - `return fn(scopeName, ${P.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 && ${P.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 loadSingleton = /*#__PURE__*/ init(${E.basicFunction( - 'scopeName, scope, key', - [ - 'ensureExistence(scopeName, key);', - 'return getSingleton(scope, scopeName, 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 || !${P.hasOwnProperty}(scope, key)) return fallback();`, - 'return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));', - ] - )});`, - `var loadSingletonFallback = /*#__PURE__*/ init(${E.basicFunction( - 'scopeName, scope, key, fallback', - [ - `if(!scope || !${P.hasOwnProperty}(scope, key)) return fallback();`, - 'return getSingleton(scope, scopeName, key);', - ] - )});`, - `var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${E.basicFunction( - 'scopeName, scope, key, version, fallback', - [ - `if(!scope || !${P.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 && ${P.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 || !${P.hasOwnProperty}(scope, key)) return fallback();`, - 'return getStrictSingletonVersion(scope, scopeName, key, version);', - ] - )});`, - 'var installedModules = {};', - 'var moduleToHandlerMapping = {', - L.indent( - Array.from( - me, - ([k, v]) => `${JSON.stringify(k)}: ${v.source()}` - ).join(',\n') - ), - '};', - ye.length > 0 - ? L.asString([ - `var initialConsumes = ${JSON.stringify(ye)};`, - `initialConsumes.forEach(${E.basicFunction('id', [ - `${P.moduleFactories}[id] = ${E.basicFunction('module', [ - '// Handle case when module is used sync', - 'installedModules[id] = 0;', - `delete ${P.moduleCache}[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(P.ensureChunkHandlers) - ? L.asString([ - `var chunkMapping = ${JSON.stringify(pe, null, '\t')};`, - `${P.ensureChunkHandlers}.consumes = ${E.basicFunction( - 'chunkId, promises', - [ - `if(${P.hasOwnProperty}(chunkMapping, chunkId)) {`, - L.indent([ - `chunkMapping[chunkId].forEach(${E.basicFunction('id', [ - `if(${P.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`, - `var onFactory = ${E.basicFunction('factory', [ - 'installedModules[id] = 0;', - `${P.moduleFactories}[id] = ${E.basicFunction( - 'module', - [ - `delete ${P.moduleCache}[id];`, - 'module.exports = factory();', - ] - )}`, - ])};`, - `var onError = ${E.basicFunction('error', [ - 'delete installedModules[id];', - `${P.moduleFactories}[id] = ${E.basicFunction( - 'module', - [`delete ${P.moduleCache}[id];`, 'throw error;'] - )}`, - ])};`, - 'try {', - L.indent([ - 'var promise = moduleToHandlerMapping[id]();', - 'if(promise.then) {', - L.indent( - "promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));" - ), - '} else onFactory(promise);', - ]), - '} catch(e) { onError(e); }', - ])});`, - ]), - '}', - ] - )}`, - ]) - : '// no chunk loading of consumes', - ]) - } - } - k.exports = ConsumeSharedRuntimeModule - }, - 27150: function (k, v, E) { - 'use strict' - const P = E(77373) - const R = E(58528) - class ProvideForSharedDependency extends P { - constructor(k) { - super(k) - } - get type() { - return 'provide module for shared' - } - get category() { - return 'esm' - } - } - R( - ProvideForSharedDependency, - 'webpack/lib/sharing/ProvideForSharedDependency' - ) - k.exports = ProvideForSharedDependency - }, - 49637: function (k, v, E) { - 'use strict' - const P = E(16848) - const R = E(58528) - class ProvideSharedDependency extends P { - constructor(k, v, E, P, R) { - super() - this.shareScope = k - this.name = v - this.version = E - this.request = P - this.eager = R - } - get type() { - return 'provide shared module' - } - getResourceIdentifier() { - return `provide module (${this.shareScope}) ${this.request} as ${ - this.name - } @ ${this.version}${this.eager ? ' (eager)' : ''}` - } - serialize(k) { - k.write(this.shareScope) - k.write(this.name) - k.write(this.request) - k.write(this.version) - k.write(this.eager) - super.serialize(k) - } - static deserialize(k) { - const { read: v } = k - const E = new ProvideSharedDependency(v(), v(), v(), v(), v()) - this.shareScope = k.read() - E.deserialize(k) - return E - } - } - R(ProvideSharedDependency, 'webpack/lib/sharing/ProvideSharedDependency') - k.exports = ProvideSharedDependency - }, - 31100: function (k, v, E) { - 'use strict' - const P = E(75081) - const R = E(88396) - const { WEBPACK_MODULE_TYPE_PROVIDE: L } = E(93622) - const N = E(56727) - const q = E(58528) - const ae = E(27150) - const le = new Set(['share-init']) - class ProvideSharedModule extends R { - constructor(k, v, E, P, R) { - super(L) - this._shareScope = k - this._name = v - this._version = E - this._request = P - this._eager = R - } - identifier() { - return `provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}` - } - readableIdentifier(k) { - return `provide shared module (${this._shareScope}) ${this._name}@${ - this._version - } = ${k.shorten(this._request)}` - } - libIdent(k) { - return `${ - this.layer ? `(${this.layer})/` : '' - }webpack/sharing/provide/${this._shareScope}/${this._name}` - } - needBuild(k, v) { - v(null, !this.buildInfo) - } - build(k, v, E, R, L) { - this.buildMeta = {} - this.buildInfo = { strict: true } - this.clearDependenciesAndBlocks() - const N = new ae(this._request) - if (this._eager) { - this.addDependency(N) - } else { - const k = new P({}) - k.addDependency(N) - this.addBlock(k) - } - L() - } - size(k) { - return 42 - } - getSourceTypes() { - return le - } - codeGeneration({ runtimeTemplate: k, moduleGraph: v, chunkGraph: E }) { - const P = new Set([N.initializeSharing]) - const R = `register(${JSON.stringify(this._name)}, ${JSON.stringify( - this._version || '0' - )}, ${ - this._eager - ? k.syncModuleFactory({ - dependency: this.dependencies[0], - chunkGraph: E, - request: this._request, - runtimeRequirements: P, - }) - : k.asyncModuleFactory({ - block: this.blocks[0], - chunkGraph: E, - request: this._request, - runtimeRequirements: P, - }) - }${this._eager ? ', 1' : ''});` - const L = new Map() - const q = new Map() - q.set('share-init', [ - { shareScope: this._shareScope, initStage: 10, init: R }, - ]) - return { sources: L, data: q, runtimeRequirements: P } - } - serialize(k) { - const { write: v } = k - v(this._shareScope) - v(this._name) - v(this._version) - v(this._request) - v(this._eager) - super.serialize(k) - } - static deserialize(k) { - const { read: v } = k - const E = new ProvideSharedModule(v(), v(), v(), v(), v()) - E.deserialize(k) - return E - } - } - q(ProvideSharedModule, 'webpack/lib/sharing/ProvideSharedModule') - k.exports = ProvideSharedModule - }, - 85579: function (k, v, E) { - 'use strict' - const P = E(66043) - const R = E(31100) - class ProvideSharedModuleFactory extends P { - create(k, v) { - const E = k.dependencies[0] - v(null, { - module: new R(E.shareScope, E.name, E.version, E.request, E.eager), - }) - } - } - k.exports = ProvideSharedModuleFactory - }, - 70610: function (k, v, E) { - 'use strict' - const P = E(71572) - const { parseOptions: R } = E(34869) - const L = E(92198) - const N = E(27150) - const q = E(49637) - const ae = E(85579) - const le = L(E(82285), () => E(15958), { - name: 'Provide Shared Plugin', - baseDataPath: 'options', - }) - class ProvideSharedPlugin { - constructor(k) { - le(k) - this._provides = R( - k.provides, - (v) => { - if (Array.isArray(v)) - throw new Error('Unexpected array of provides') - const E = { - shareKey: v, - version: undefined, - shareScope: k.shareScope || 'default', - eager: false, - } - return E - }, - (v) => ({ - shareKey: v.shareKey, - version: v.version, - shareScope: v.shareScope || k.shareScope || 'default', - eager: !!v.eager, - }) - ) - this._provides.sort(([k], [v]) => { - if (k < v) return -1 - if (v < k) return 1 - return 0 - }) - } - apply(k) { - const v = new WeakMap() - k.hooks.compilation.tap( - 'ProvideSharedPlugin', - (k, { normalModuleFactory: E }) => { - const R = new Map() - const L = new Map() - const N = new Map() - for (const [k, v] of this._provides) { - if (/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(k)) { - R.set(k, { config: v, version: v.version }) - } else if (/^(\/|[A-Za-z]:\\|\\\\)/.test(k)) { - R.set(k, { config: v, version: v.version }) - } else if (k.endsWith('/')) { - N.set(k, v) - } else { - L.set(k, v) - } - } - v.set(k, R) - const provideSharedModule = (v, E, L, N) => { - let q = E.version - if (q === undefined) { - let E = '' - if (!N) { - E = `No resolve data provided from resolver.` - } else { - const k = N.descriptionFileData - if (!k) { - E = - 'No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config.' - } else if (!k.version) { - E = `No version in description file (usually package.json). Add version to description file ${N.descriptionFilePath}, or manually specify version in shared config.` - } else { - q = k.version - } - } - if (!q) { - const R = new P( - `No version specified and unable to automatically determine one. ${E}` - ) - R.file = `shared module ${v} -> ${L}` - k.warnings.push(R) - } - } - R.set(L, { config: E, version: q }) - } - E.hooks.module.tap( - 'ProvideSharedPlugin', - (k, { resource: v, resourceResolveData: E }, P) => { - if (R.has(v)) { - return k - } - const { request: q } = P - { - const k = L.get(q) - if (k !== undefined) { - provideSharedModule(q, k, v, E) - P.cacheable = false - } - } - for (const [k, R] of N) { - if (q.startsWith(k)) { - const L = q.slice(k.length) - provideSharedModule( - v, - { ...R, shareKey: R.shareKey + L }, - v, - E - ) - P.cacheable = false - } - } - return k - } - ) - } - ) - k.hooks.finishMake.tapPromise('ProvideSharedPlugin', (E) => { - const P = v.get(E) - if (!P) return Promise.resolve() - return Promise.all( - Array.from( - P, - ([v, { config: P, version: R }]) => - new Promise((L, N) => { - E.addInclude( - k.context, - new q(P.shareScope, P.shareKey, R || false, v, P.eager), - { name: undefined }, - (k) => { - if (k) return N(k) - L() - } - ) - }) - ) - ).then(() => {}) - }) - k.hooks.compilation.tap( - 'ProvideSharedPlugin', - (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(N, v) - k.dependencyFactories.set(q, new ae()) - } - ) - } - } - k.exports = ProvideSharedPlugin - }, - 38084: function (k, v, E) { - 'use strict' - const { parseOptions: P } = E(34869) - const R = E(73485) - const L = E(70610) - const { isRequiredVersion: N } = E(54068) - class SharePlugin { - constructor(k) { - const v = P( - k.shared, - (k, v) => { - if (typeof k !== 'string') - throw new Error('Unexpected array in shared') - const E = - k === v || !N(k) - ? { import: k } - : { import: v, requiredVersion: k } - return E - }, - (k) => k - ) - const E = v.map(([k, v]) => ({ - [k]: { - import: v.import, - shareKey: v.shareKey || k, - shareScope: v.shareScope, - requiredVersion: v.requiredVersion, - strictVersion: v.strictVersion, - singleton: v.singleton, - packageName: v.packageName, - eager: v.eager, - }, - })) - const R = v - .filter(([, k]) => k.import !== false) - .map(([k, v]) => ({ - [v.import || k]: { - shareKey: v.shareKey || k, - shareScope: v.shareScope, - version: v.version, - eager: v.eager, - }, - })) - this._shareScope = k.shareScope - this._consumes = E - this._provides = R - } - apply(k) { - new R({ - shareScope: this._shareScope, - consumes: this._consumes, - }).apply(k) - new L({ - shareScope: this._shareScope, - provides: this._provides, - }).apply(k) - } - } - k.exports = SharePlugin - }, - 6717: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - const { compareModulesByIdentifier: N, compareStrings: q } = E(95648) - class ShareRuntimeModule extends R { - constructor() { - super('sharing') - } - generate() { - const { compilation: k, chunkGraph: v } = this - const { - runtimeTemplate: E, - codeGenerationResults: R, - outputOptions: { uniqueName: ae }, - } = k - const le = new Map() - for (const k of this.chunk.getAllReferencedChunks()) { - const E = v.getOrderedChunkModulesIterableBySourceType( - k, - 'share-init', - N - ) - if (!E) continue - for (const v of E) { - const E = R.getData(v, k.runtime, 'share-init') - if (!E) continue - for (const k of E) { - const { shareScope: v, initStage: E, init: P } = k - let R = le.get(v) - if (R === undefined) { - le.set(v, (R = new Map())) - } - let L = R.get(E || 0) - if (L === undefined) { - R.set(E || 0, (L = new Set())) - } - L.add(P) - } - } - } - return L.asString([ - `${P.shareScopeMap} = {};`, - 'var initPromises = {};', - 'var initTokens = {};', - `${P.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(!${P.hasOwnProperty}(${P.shareScopeMap}, name)) ${P.shareScopeMap}[name] = {};`, - '// runs all init snippets from all modules reachable', - `var scope = ${P.shareScopeMap}[name];`, - `var warn = ${ - this.compilation.options.output.ignoreBrowserWarnings - ? E.basicFunction('', '') - : E.basicFunction('msg', [ - 'if (typeof console !== "undefined" && console.warn) console.warn(msg);', - ]) - };`, - `var uniqueName = ${JSON.stringify(ae || undefined)};`, - `var register = ${E.basicFunction( - 'name, version, factory, eager', - [ - 'var versions = scope[name] = scope[name] || {};', - 'var activeVersion = versions[version];', - 'if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };', - ] - )};`, - `var initExternal = ${E.basicFunction('id', [ - `var handleError = ${E.expressionFunction( - 'warn("Initialization of sharing external failed: " + err)', - 'err' - )};`, - 'try {', - L.indent([ - `var module = ${P.require}(id);`, - 'if(!module) return;', - `var initFn = ${E.returningFunction( - `module && module.init && module.init(${P.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(le) - .sort(([k], [v]) => q(k, v)) - .map(([k, v]) => - L.indent([ - `case ${JSON.stringify(k)}: {`, - L.indent( - Array.from(v) - .sort(([k], [v]) => k - v) - .map(([, k]) => L.asString(Array.from(k))) - ), - '}', - 'break;', - ]) - ), - '}', - 'if(!promises.length) return initPromises[name] = 1;', - `return initPromises[name] = Promise.all(promises).then(${E.returningFunction( - 'initPromises[name] = 1' - )});`, - ])};`, - ]) - } - } - k.exports = ShareRuntimeModule - }, - 466: function (k, v, E) { - 'use strict' - const P = E(69734) - const R = E(12359) - const L = { dependencyType: 'esm' } - v.resolveMatchedConfigs = (k, v) => { - const E = new Map() - const N = new Map() - const q = new Map() - const ae = { - fileDependencies: new R(), - contextDependencies: new R(), - missingDependencies: new R(), - } - const le = k.resolverFactory.get('normal', L) - const pe = k.compiler.context - return Promise.all( - v.map(([v, R]) => { - if (/^\.\.?(\/|$)/.test(v)) { - return new Promise((L) => { - le.resolve({}, pe, v, ae, (N, q) => { - if (N || q === false) { - N = N || new Error(`Can't resolve ${v}`) - k.errors.push( - new P(null, N, { name: `shared module ${v}` }) - ) - return L() - } - E.set(q, R) - L() - }) - }) - } else if (/^(\/|[A-Za-z]:\\|\\\\)/.test(v)) { - E.set(v, R) - } else if (v.endsWith('/')) { - q.set(v, R) - } else { - N.set(v, R) - } - }) - ).then(() => { - k.contextDependencies.addAll(ae.contextDependencies) - k.fileDependencies.addAll(ae.fileDependencies) - k.missingDependencies.addAll(ae.missingDependencies) - return { resolved: E, unresolved: N, prefixed: q } - }) - } - }, - 54068: function (k, v, E) { - 'use strict' - const { join: P, dirname: R, readJson: L } = E(57825) - const N = /^[^/@:.\s][^/@:\s]*\/[^@:\s]*[^/@:\s]#\S+/ - const q = /^(github|gitlab|bitbucket|gist):\/?[^/.]+\/?/i - const ae = - /^((git\+)?(ssh|https?|file)|git|github|gitlab|bitbucket|gist):$/i - const le = /^((git\+)?(ssh|https?|file)|git):\/\//i - const pe = /#(?:semver:)?(.+)/ - const me = /^(?:[^/.]+(\.[^/]+)+|localhost)$/ - const ye = /([^/@#:.]+(?:\.[^/@#:.]+)+|localhost):([^#/0-9]+)/ - const _e = /^([^/@#:.]+(?:\.[^/@#:.]+)+)/ - const Ie = /^([\d^=v<>~]|[*xX]$)/ - const Me = ['github:', 'gitlab:', 'bitbucket:', 'gist:', 'file:'] - const Te = 'git+ssh://' - const je = { - 'github.com': (k, v) => { - let [, E, P, R, L] = k.split('/', 5) - if (R && R !== 'tree') { - return - } - if (!R) { - L = v - } else { - L = '#' + L - } - if (P && P.endsWith('.git')) { - P = P.slice(0, -4) - } - if (!E || !P) { - return - } - return L - }, - 'gitlab.com': (k, v) => { - const E = k.slice(1) - if (E.includes('/-/') || E.includes('/archive.tar.gz')) { - return - } - const P = E.split('/') - let R = P.pop() - if (R.endsWith('.git')) { - R = R.slice(0, -4) - } - const L = P.join('/') - if (!L || !R) { - return - } - return v - }, - 'bitbucket.org': (k, v) => { - let [, E, P, R] = k.split('/', 4) - if (['get'].includes(R)) { - return - } - if (P && P.endsWith('.git')) { - P = P.slice(0, -4) - } - if (!E || !P) { - return - } - return v - }, - 'gist.github.com': (k, v) => { - let [, E, P, R] = k.split('/', 4) - if (R === 'raw') { - return - } - if (!P) { - if (!E) { - return - } - P = E - E = null - } - if (P.endsWith('.git')) { - P = P.slice(0, -4) - } - return v - }, - } - function getCommithash(k) { - let { hostname: v, pathname: E, hash: P } = k - v = v.replace(/^www\./, '') - try { - P = decodeURIComponent(P) - } catch (k) {} - if (je[v]) { - return je[v](E, P) || '' - } - return P - } - function correctUrl(k) { - return k.replace(ye, '$1/$2') - } - function correctProtocol(k) { - if (q.test(k)) { - return k - } - if (!le.test(k)) { - return `${Te}${k}` - } - return k - } - function getVersionFromHash(k) { - const v = k.match(pe) - return (v && v[1]) || '' - } - function canBeDecoded(k) { - try { - decodeURIComponent(k) - } catch (k) { - return false - } - return true - } - function getGitUrlVersion(k) { - let v = k - if (N.test(k)) { - k = 'github:' + k - } else { - k = correctProtocol(k) - } - k = correctUrl(k) - let E - try { - E = new URL(k) - } catch (k) {} - if (!E) { - return '' - } - const { - protocol: P, - hostname: R, - pathname: L, - username: q, - password: le, - } = E - if (!ae.test(P)) { - return '' - } - if (!L || !canBeDecoded(L)) { - return '' - } - if (_e.test(v) && !q && !le) { - return '' - } - if (!Me.includes(P.toLowerCase())) { - if (!me.test(R)) { - return '' - } - const k = getCommithash(E) - return getVersionFromHash(k) || k - } - return getVersionFromHash(k) - } - function isRequiredVersion(k) { - return Ie.test(k) - } - v.isRequiredVersion = isRequiredVersion - function normalizeVersion(k) { - k = (k && k.trim()) || '' - if (isRequiredVersion(k)) { - return k - } - return getGitUrlVersion(k.toLowerCase()) - } - v.normalizeVersion = normalizeVersion - const getDescriptionFile = (k, v, E, N) => { - let q = 0 - const tryLoadCurrent = () => { - if (q >= E.length) { - const P = R(k, v) - if (!P || P === v) return N() - return getDescriptionFile(k, P, E, N) - } - const ae = P(k, v, E[q]) - L(k, ae, (k, v) => { - if (k) { - if ('code' in k && k.code === 'ENOENT') { - q++ - return tryLoadCurrent() - } - return N(k) - } - if (!v || typeof v !== 'object' || Array.isArray(v)) { - return N(new Error(`Description file ${ae} is not an object`)) - } - N(null, { data: v, path: ae }) - }) - } - tryLoadCurrent() - } - v.getDescriptionFile = getDescriptionFile - v.getRequiredVersionFromDescriptionFile = (k, v) => { - if ( - k.optionalDependencies && - typeof k.optionalDependencies === 'object' && - v in k.optionalDependencies - ) { - return normalizeVersion(k.optionalDependencies[v]) - } - if ( - k.dependencies && - typeof k.dependencies === 'object' && - v in k.dependencies - ) { - return normalizeVersion(k.dependencies[v]) - } - if ( - k.peerDependencies && - typeof k.peerDependencies === 'object' && - v in k.peerDependencies - ) { - return normalizeVersion(k.peerDependencies[v]) - } - if ( - k.devDependencies && - typeof k.devDependencies === 'object' && - v in k.devDependencies - ) { - return normalizeVersion(k.devDependencies[v]) - } - } - }, - 57686: function (k, v, E) { - 'use strict' - const P = E(73837) - const { WEBPACK_MODULE_TYPE_RUNTIME: R } = E(93622) - const L = E(77373) - const N = E(1811) - const { LogType: q } = E(13905) - const ae = E(21684) - const le = E(338) - const { countIterable: pe } = E(54480) - const { - compareLocations: me, - compareChunksById: ye, - compareNumbers: _e, - compareIds: Ie, - concatComparators: Me, - compareSelect: Te, - compareModulesByIdentifier: je, - } = E(95648) - const { makePathsRelative: Ne, parseResource: Be } = E(65315) - const uniqueArray = (k, v) => { - const E = new Set() - for (const P of k) { - for (const k of v(P)) { - E.add(k) - } - } - return Array.from(E) - } - const uniqueOrderedArray = (k, v, E) => uniqueArray(k, v).sort(E) - const mapObject = (k, v) => { - const E = Object.create(null) - for (const P of Object.keys(k)) { - E[P] = v(k[P], P) - } - return E - } - const countWithChildren = (k, v) => { - let E = v(k, '').length - for (const P of k.children) { - E += countWithChildren(P, (k, E) => - v(k, `.children[].compilation${E}`) - ) - } - return E - } - const qe = { - _: (k, v, E, { requestShortener: P }) => { - if (typeof v === 'string') { - k.message = v - } else { - if (v.chunk) { - k.chunkName = v.chunk.name - k.chunkEntry = v.chunk.hasRuntime() - k.chunkInitial = v.chunk.canBeInitial() - } - if (v.file) { - k.file = v.file - } - if (v.module) { - k.moduleIdentifier = v.module.identifier() - k.moduleName = v.module.readableIdentifier(P) - } - if (v.loc) { - k.loc = N(v.loc) - } - k.message = v.message - } - }, - ids: (k, v, { compilation: { chunkGraph: E } }) => { - if (typeof v !== 'string') { - if (v.chunk) { - k.chunkId = v.chunk.id - } - if (v.module) { - k.moduleId = E.getModuleId(v.module) - } - } - }, - moduleTrace: (k, v, E, P, R) => { - if (typeof v !== 'string' && v.module) { - const { - type: P, - compilation: { moduleGraph: L }, - } = E - const N = new Set() - const q = [] - let ae = v.module - while (ae) { - if (N.has(ae)) break - N.add(ae) - const k = L.getIssuer(ae) - if (!k) break - q.push({ origin: k, module: ae }) - ae = k - } - k.moduleTrace = R.create(`${P}.moduleTrace`, q, E) - } - }, - errorDetails: ( - k, - v, - { type: E, compilation: P, cachedGetErrors: R, cachedGetWarnings: L }, - { errorDetails: N } - ) => { - if ( - typeof v !== 'string' && - (N === true || (E.endsWith('.error') && R(P).length < 3)) - ) { - k.details = v.details - } - }, - errorStack: (k, v) => { - if (typeof v !== 'string') { - k.stack = v.stack - } - }, - } - const Ue = { - compilation: { - _: (k, v, P, R) => { - if (!P.makePathsRelative) { - P.makePathsRelative = Ne.bindContextCache( - v.compiler.context, - v.compiler.root - ) - } - if (!P.cachedGetErrors) { - const k = new WeakMap() - P.cachedGetErrors = (v) => - k.get(v) || ((E) => (k.set(v, E), E))(v.getErrors()) - } - if (!P.cachedGetWarnings) { - const k = new WeakMap() - P.cachedGetWarnings = (v) => - k.get(v) || ((E) => (k.set(v, E), E))(v.getWarnings()) - } - if (v.name) { - k.name = v.name - } - if (v.needAdditionalPass) { - k.needAdditionalPass = true - } - const { logging: L, loggingDebug: N, loggingTrace: ae } = R - if (L || (N && N.length > 0)) { - const P = E(73837) - k.logging = {} - let le - let pe = false - switch (L) { - default: - le = new Set() - break - case 'error': - le = new Set([q.error]) - break - case 'warn': - le = new Set([q.error, q.warn]) - break - case 'info': - le = new Set([q.error, q.warn, q.info]) - break - case 'log': - le = new Set([ - q.error, - q.warn, - q.info, - q.log, - q.group, - q.groupEnd, - q.groupCollapsed, - q.clear, - ]) - break - case 'verbose': - le = new Set([ - q.error, - q.warn, - q.info, - q.log, - q.group, - q.groupEnd, - q.groupCollapsed, - q.profile, - q.profileEnd, - q.time, - q.status, - q.clear, - ]) - pe = true - break - } - const me = Ne.bindContextCache(R.context, v.compiler.root) - let ye = 0 - for (const [E, R] of v.logging) { - const v = N.some((k) => k(E)) - if (L === false && !v) continue - const _e = [] - const Ie = [] - let Me = Ie - let Te = 0 - for (const k of R) { - let E = k.type - if (!v && !le.has(E)) continue - if (E === q.groupCollapsed && (v || pe)) E = q.group - if (ye === 0) { - Te++ - } - if (E === q.groupEnd) { - _e.pop() - if (_e.length > 0) { - Me = _e[_e.length - 1].children - } else { - Me = Ie - } - if (ye > 0) ye-- - continue - } - let R = undefined - if (k.type === q.time) { - R = `${k.args[0]}: ${k.args[1] * 1e3 + k.args[2] / 1e6} ms` - } else if (k.args && k.args.length > 0) { - R = P.format(k.args[0], ...k.args.slice(1)) - } - const L = { - ...k, - type: E, - message: R, - trace: ae ? k.trace : undefined, - children: - E === q.group || E === q.groupCollapsed ? [] : undefined, - } - Me.push(L) - if (L.children) { - _e.push(L) - Me = L.children - if (ye > 0) { - ye++ - } else if (E === q.groupCollapsed) { - ye = 1 - } - } - } - let je = me(E).replace(/\|/g, ' ') - if (je in k.logging) { - let v = 1 - while (`${je}#${v}` in k.logging) { - v++ - } - je = `${je}#${v}` - } - k.logging[je] = { - entries: Ie, - filteredEntries: R.length - Te, - debug: v, - } - } - } - }, - hash: (k, v) => { - k.hash = v.hash - }, - version: (k) => { - k.version = E(35479).i8 - }, - env: (k, v, E, { _env: P }) => { - k.env = P - }, - timings: (k, v) => { - k.time = v.endTime - v.startTime - }, - builtAt: (k, v) => { - k.builtAt = v.endTime - }, - publicPath: (k, v) => { - k.publicPath = v.getPath(v.outputOptions.publicPath) - }, - outputPath: (k, v) => { - k.outputPath = v.outputOptions.path - }, - assets: (k, v, E, P, R) => { - const { type: L } = E - const N = new Map() - const q = new Map() - for (const k of v.chunks) { - for (const v of k.files) { - let E = N.get(v) - if (E === undefined) { - E = [] - N.set(v, E) - } - E.push(k) - } - for (const v of k.auxiliaryFiles) { - let E = q.get(v) - if (E === undefined) { - E = [] - q.set(v, E) - } - E.push(k) - } - } - const ae = new Map() - const le = new Set() - for (const k of v.getAssets()) { - const v = { ...k, type: 'asset', related: undefined } - le.add(v) - ae.set(k.name, v) - } - for (const k of ae.values()) { - const v = k.info.related - if (!v) continue - for (const E of Object.keys(v)) { - const P = v[E] - const R = Array.isArray(P) ? P : [P] - for (const v of R) { - const P = ae.get(v) - if (!P) continue - le.delete(P) - P.type = E - k.related = k.related || [] - k.related.push(P) - } - } - } - k.assetsByChunkName = {} - for (const [v, E] of N) { - for (const P of E) { - const E = P.name - if (!E) continue - if ( - !Object.prototype.hasOwnProperty.call(k.assetsByChunkName, E) - ) { - k.assetsByChunkName[E] = [] - } - k.assetsByChunkName[E].push(v) - } - } - const pe = R.create(`${L}.assets`, Array.from(le), { - ...E, - compilationFileToChunks: N, - compilationAuxiliaryFileToChunks: q, - }) - const me = spaceLimited(pe, P.assetsSpace) - k.assets = me.children - k.filteredAssets = me.filteredChildren - }, - chunks: (k, v, E, P, R) => { - const { type: L } = E - k.chunks = R.create(`${L}.chunks`, Array.from(v.chunks), E) - }, - modules: (k, v, E, P, R) => { - const { type: L } = E - const N = Array.from(v.modules) - const q = R.create(`${L}.modules`, N, E) - const ae = spaceLimited(q, P.modulesSpace) - k.modules = ae.children - k.filteredModules = ae.filteredChildren - }, - entrypoints: ( - k, - v, - E, - { - entrypoints: P, - chunkGroups: R, - chunkGroupAuxiliary: L, - chunkGroupChildren: N, - }, - q - ) => { - const { type: ae } = E - const le = Array.from(v.entrypoints, ([k, v]) => ({ - name: k, - chunkGroup: v, - })) - if (P === 'auto' && !R) { - if (le.length > 5) return - if ( - !N && - le.every(({ chunkGroup: k }) => { - if (k.chunks.length !== 1) return false - const v = k.chunks[0] - return ( - v.files.size === 1 && (!L || v.auxiliaryFiles.size === 0) - ) - }) - ) { - return - } - } - k.entrypoints = q.create(`${ae}.entrypoints`, le, E) - }, - chunkGroups: (k, v, E, P, R) => { - const { type: L } = E - const N = Array.from(v.namedChunkGroups, ([k, v]) => ({ - name: k, - chunkGroup: v, - })) - k.namedChunkGroups = R.create(`${L}.namedChunkGroups`, N, E) - }, - errors: (k, v, E, P, R) => { - const { type: L, cachedGetErrors: N } = E - const q = N(v) - const ae = R.create(`${L}.errors`, N(v), E) - let le = 0 - if (P.errorDetails === 'auto' && q.length >= 3) { - le = q - .map((k) => typeof k !== 'string' && k.details) - .filter(Boolean).length - } - if (P.errorDetails === true || !Number.isFinite(P.errorsSpace)) { - k.errors = ae - if (le) k.filteredErrorDetailsCount = le - return - } - const [pe, me] = errorsSpaceLimit(ae, P.errorsSpace) - k.filteredErrorDetailsCount = le + me - k.errors = pe - }, - errorsCount: (k, v, { cachedGetErrors: E }) => { - k.errorsCount = countWithChildren(v, (k) => E(k)) - }, - warnings: (k, v, E, P, R) => { - const { type: L, cachedGetWarnings: N } = E - const q = R.create(`${L}.warnings`, N(v), E) - let ae = 0 - if (P.errorDetails === 'auto') { - ae = N(v) - .map((k) => typeof k !== 'string' && k.details) - .filter(Boolean).length - } - if (P.errorDetails === true || !Number.isFinite(P.warningsSpace)) { - k.warnings = q - if (ae) k.filteredWarningDetailsCount = ae - return - } - const [le, pe] = errorsSpaceLimit(q, P.warningsSpace) - k.filteredWarningDetailsCount = ae + pe - k.warnings = le - }, - warningsCount: (k, v, E, { warningsFilter: P }, R) => { - const { type: L, cachedGetWarnings: N } = E - k.warningsCount = countWithChildren(v, (k, v) => { - if (!P && P.length === 0) return N(k) - return R.create(`${L}${v}.warnings`, N(k), E).filter((k) => { - const v = Object.keys(k) - .map((v) => `${k[v]}`) - .join('\n') - return !P.some((E) => E(k, v)) - }) - }) - }, - children: (k, v, E, P, R) => { - const { type: L } = E - k.children = R.create(`${L}.children`, v.children, E) - }, - }, - asset: { - _: (k, v, E, P, R) => { - const { compilation: L } = E - k.type = v.type - k.name = v.name - k.size = v.source.size() - k.emitted = L.emittedAssets.has(v.name) - k.comparedForEmit = L.comparedForEmitAssets.has(v.name) - const N = !k.emitted && !k.comparedForEmit - k.cached = N - k.info = v.info - if (!N || P.cachedAssets) { - Object.assign(k, R.create(`${E.type}$visible`, v, E)) - } - }, - }, - asset$visible: { - _: ( - k, - v, - { - compilation: E, - compilationFileToChunks: P, - compilationAuxiliaryFileToChunks: R, - } - ) => { - const L = P.get(v.name) || [] - const N = R.get(v.name) || [] - k.chunkNames = uniqueOrderedArray( - L, - (k) => (k.name ? [k.name] : []), - Ie - ) - k.chunkIdHints = uniqueOrderedArray( - L, - (k) => Array.from(k.idNameHints), - Ie - ) - k.auxiliaryChunkNames = uniqueOrderedArray( - N, - (k) => (k.name ? [k.name] : []), - Ie - ) - k.auxiliaryChunkIdHints = uniqueOrderedArray( - N, - (k) => Array.from(k.idNameHints), - Ie - ) - k.filteredRelated = v.related ? v.related.length : undefined - }, - relatedAssets: (k, v, E, P, R) => { - const { type: L } = E - k.related = R.create(`${L.slice(0, -8)}.related`, v.related, E) - k.filteredRelated = v.related - ? v.related.length - k.related.length - : undefined - }, - ids: ( - k, - v, - { compilationFileToChunks: E, compilationAuxiliaryFileToChunks: P } - ) => { - const R = E.get(v.name) || [] - const L = P.get(v.name) || [] - k.chunks = uniqueOrderedArray(R, (k) => k.ids, Ie) - k.auxiliaryChunks = uniqueOrderedArray(L, (k) => k.ids, Ie) - }, - performance: (k, v) => { - k.isOverSizeLimit = le.isOverSizeLimit(v.source) - }, - }, - chunkGroup: { - _: ( - k, - { name: v, chunkGroup: E }, - { compilation: P, compilation: { moduleGraph: R, chunkGraph: L } }, - { - ids: N, - chunkGroupAuxiliary: q, - chunkGroupChildren: ae, - chunkGroupMaxAssets: le, - } - ) => { - const pe = ae && E.getChildrenByOrders(R, L) - const toAsset = (k) => { - const v = P.getAsset(k) - return { name: k, size: v ? v.info.size : -1 } - } - const sizeReducer = (k, { size: v }) => k + v - const me = uniqueArray(E.chunks, (k) => k.files).map(toAsset) - const ye = uniqueOrderedArray( - E.chunks, - (k) => k.auxiliaryFiles, - Ie - ).map(toAsset) - const _e = me.reduce(sizeReducer, 0) - const Me = ye.reduce(sizeReducer, 0) - const Te = { - name: v, - chunks: N ? E.chunks.map((k) => k.id) : undefined, - assets: me.length <= le ? me : undefined, - filteredAssets: me.length <= le ? 0 : me.length, - assetsSize: _e, - auxiliaryAssets: q && ye.length <= le ? ye : undefined, - filteredAuxiliaryAssets: q && ye.length <= le ? 0 : ye.length, - auxiliaryAssetsSize: Me, - children: pe - ? mapObject(pe, (k) => - k.map((k) => { - const v = uniqueArray(k.chunks, (k) => k.files).map( - toAsset - ) - const E = uniqueOrderedArray( - k.chunks, - (k) => k.auxiliaryFiles, - Ie - ).map(toAsset) - const P = { - name: k.name, - chunks: N ? k.chunks.map((k) => k.id) : undefined, - assets: v.length <= le ? v : undefined, - filteredAssets: v.length <= le ? 0 : v.length, - auxiliaryAssets: q && E.length <= le ? E : undefined, - filteredAuxiliaryAssets: - q && E.length <= le ? 0 : E.length, - } - return P - }) - ) - : undefined, - childAssets: pe - ? mapObject(pe, (k) => { - const v = new Set() - for (const E of k) { - for (const k of E.chunks) { - for (const E of k.files) { - v.add(E) - } - } - } - return Array.from(v) - }) - : undefined, - } - Object.assign(k, Te) - }, - performance: (k, { chunkGroup: v }) => { - k.isOverSizeLimit = le.isOverSizeLimit(v) - }, - }, - module: { - _: (k, v, E, P, R) => { - const { compilation: L, type: N } = E - const q = L.builtModules.has(v) - const ae = L.codeGeneratedModules.has(v) - const le = L.buildTimeExecutedModules.has(v) - const pe = {} - for (const k of v.getSourceTypes()) { - pe[k] = v.size(k) - } - const me = { - type: 'module', - moduleType: v.type, - layer: v.layer, - size: v.size(), - sizes: pe, - built: q, - codeGenerated: ae, - buildTimeExecuted: le, - cached: !q && !ae, - } - Object.assign(k, me) - if (q || ae || P.cachedModules) { - Object.assign(k, R.create(`${N}$visible`, v, E)) - } - }, - }, - module$visible: { - _: (k, v, E, { requestShortener: P }, R) => { - const { compilation: L, type: N, rootModules: q } = E - const { moduleGraph: ae } = L - const le = [] - const me = ae.getIssuer(v) - let ye = me - while (ye) { - le.push(ye) - ye = ae.getIssuer(ye) - } - le.reverse() - const _e = ae.getProfile(v) - const Ie = v.getErrors() - const Me = Ie !== undefined ? pe(Ie) : 0 - const Te = v.getWarnings() - const je = Te !== undefined ? pe(Te) : 0 - const Ne = {} - for (const k of v.getSourceTypes()) { - Ne[k] = v.size(k) - } - const Be = { - identifier: v.identifier(), - name: v.readableIdentifier(P), - nameForCondition: v.nameForCondition(), - index: ae.getPreOrderIndex(v), - preOrderIndex: ae.getPreOrderIndex(v), - index2: ae.getPostOrderIndex(v), - postOrderIndex: ae.getPostOrderIndex(v), - cacheable: v.buildInfo.cacheable, - optional: v.isOptional(ae), - orphan: - !N.endsWith('module.modules[].module$visible') && - L.chunkGraph.getNumberOfModuleChunks(v) === 0, - dependent: q ? !q.has(v) : undefined, - issuer: me && me.identifier(), - issuerName: me && me.readableIdentifier(P), - issuerPath: me && R.create(`${N.slice(0, -8)}.issuerPath`, le, E), - failed: Me > 0, - errors: Me, - warnings: je, - } - Object.assign(k, Be) - if (_e) { - k.profile = R.create(`${N.slice(0, -8)}.profile`, _e, E) - } - }, - ids: (k, v, { compilation: { chunkGraph: E, moduleGraph: P } }) => { - k.id = E.getModuleId(v) - const R = P.getIssuer(v) - k.issuerId = R && E.getModuleId(R) - k.chunks = Array.from( - E.getOrderedModuleChunksIterable(v, ye), - (k) => k.id - ) - }, - moduleAssets: (k, v) => { - k.assets = v.buildInfo.assets ? Object.keys(v.buildInfo.assets) : [] - }, - reasons: (k, v, E, P, R) => { - const { - type: L, - compilation: { moduleGraph: N }, - } = E - const q = R.create( - `${L.slice(0, -8)}.reasons`, - Array.from(N.getIncomingConnections(v)), - E - ) - const ae = spaceLimited(q, P.reasonsSpace) - k.reasons = ae.children - k.filteredReasons = ae.filteredChildren - }, - usedExports: ( - k, - v, - { runtime: E, compilation: { moduleGraph: P } } - ) => { - const R = P.getUsedExports(v, E) - if (R === null) { - k.usedExports = null - } else if (typeof R === 'boolean') { - k.usedExports = R - } else { - k.usedExports = Array.from(R) - } - }, - providedExports: (k, v, { compilation: { moduleGraph: E } }) => { - const P = E.getProvidedExports(v) - k.providedExports = Array.isArray(P) ? P : null - }, - optimizationBailout: ( - k, - v, - { compilation: { moduleGraph: E } }, - { requestShortener: P } - ) => { - k.optimizationBailout = E.getOptimizationBailout(v).map((k) => { - if (typeof k === 'function') return k(P) - return k - }) - }, - depth: (k, v, { compilation: { moduleGraph: E } }) => { - k.depth = E.getDepth(v) - }, - nestedModules: (k, v, E, P, R) => { - const { type: L } = E - const N = v.modules - if (Array.isArray(N)) { - const v = R.create(`${L.slice(0, -8)}.modules`, N, E) - const q = spaceLimited(v, P.nestedModulesSpace) - k.modules = q.children - k.filteredModules = q.filteredChildren - } - }, - source: (k, v) => { - const E = v.originalSource() - if (E) { - k.source = E.source() - } - }, - }, - profile: { - _: (k, v) => { - const E = { - total: - v.factory + - v.restoring + - v.integration + - v.building + - v.storing, - resolving: v.factory, - restoring: v.restoring, - building: v.building, - integration: v.integration, - storing: v.storing, - additionalResolving: v.additionalFactories, - additionalIntegration: v.additionalIntegration, - factory: v.factory, - dependencies: v.additionalFactories, - } - Object.assign(k, E) - }, - }, - moduleIssuer: { - _: (k, v, E, { requestShortener: P }, R) => { - const { compilation: L, type: N } = E - const { moduleGraph: q } = L - const ae = q.getProfile(v) - const le = { - identifier: v.identifier(), - name: v.readableIdentifier(P), - } - Object.assign(k, le) - if (ae) { - k.profile = R.create(`${N}.profile`, ae, E) - } - }, - ids: (k, v, { compilation: { chunkGraph: E } }) => { - k.id = E.getModuleId(v) - }, - }, - moduleReason: { - _: (k, v, { runtime: E }, { requestShortener: P }) => { - const R = v.dependency - const q = R && R instanceof L ? R : undefined - const ae = { - moduleIdentifier: v.originModule - ? v.originModule.identifier() - : null, - module: v.originModule - ? v.originModule.readableIdentifier(P) - : null, - moduleName: v.originModule - ? v.originModule.readableIdentifier(P) - : null, - resolvedModuleIdentifier: v.resolvedOriginModule - ? v.resolvedOriginModule.identifier() - : null, - resolvedModule: v.resolvedOriginModule - ? v.resolvedOriginModule.readableIdentifier(P) - : null, - type: v.dependency ? v.dependency.type : null, - active: v.isActive(E), - explanation: v.explanation, - userRequest: (q && q.userRequest) || null, - } - Object.assign(k, ae) - if (v.dependency) { - const E = N(v.dependency.loc) - if (E) { - k.loc = E - } - } - }, - ids: (k, v, { compilation: { chunkGraph: E } }) => { - k.moduleId = v.originModule ? E.getModuleId(v.originModule) : null - k.resolvedModuleId = v.resolvedOriginModule - ? E.getModuleId(v.resolvedOriginModule) - : null - }, - }, - chunk: { - _: ( - k, - v, - { makePathsRelative: E, compilation: { chunkGraph: P } } - ) => { - const R = v.getChildIdsByOrders(P) - const L = { - rendered: v.rendered, - initial: v.canBeInitial(), - entry: v.hasRuntime(), - recorded: ae.wasChunkRecorded(v), - reason: v.chunkReason, - size: P.getChunkModulesSize(v), - sizes: P.getChunkModulesSizes(v), - names: v.name ? [v.name] : [], - idHints: Array.from(v.idNameHints), - runtime: - v.runtime === undefined - ? undefined - : typeof v.runtime === 'string' - ? [E(v.runtime)] - : Array.from(v.runtime.sort(), E), - files: Array.from(v.files), - auxiliaryFiles: Array.from(v.auxiliaryFiles).sort(Ie), - hash: v.renderedHash, - childrenByOrder: R, - } - Object.assign(k, L) - }, - ids: (k, v) => { - k.id = v.id - }, - chunkRelations: (k, v, { compilation: { chunkGraph: E } }) => { - const P = new Set() - const R = new Set() - const L = new Set() - for (const k of v.groupsIterable) { - for (const v of k.parentsIterable) { - for (const k of v.chunks) { - P.add(k.id) - } - } - for (const v of k.childrenIterable) { - for (const k of v.chunks) { - R.add(k.id) - } - } - for (const E of k.chunks) { - if (E !== v) L.add(E.id) - } - } - k.siblings = Array.from(L).sort(Ie) - k.parents = Array.from(P).sort(Ie) - k.children = Array.from(R).sort(Ie) - }, - chunkModules: (k, v, E, P, R) => { - const { - type: L, - compilation: { chunkGraph: N }, - } = E - const q = N.getChunkModules(v) - const ae = R.create(`${L}.modules`, q, { - ...E, - runtime: v.runtime, - rootModules: new Set(N.getChunkRootModules(v)), - }) - const le = spaceLimited(ae, P.chunkModulesSpace) - k.modules = le.children - k.filteredModules = le.filteredChildren - }, - chunkOrigins: (k, v, E, P, R) => { - const { - type: L, - compilation: { chunkGraph: q }, - } = E - const ae = new Set() - const le = [] - for (const k of v.groupsIterable) { - le.push(...k.origins) - } - const pe = le.filter((k) => { - const v = [ - k.module ? q.getModuleId(k.module) : undefined, - N(k.loc), - k.request, - ].join() - if (ae.has(v)) return false - ae.add(v) - return true - }) - k.origins = R.create(`${L}.origins`, pe, E) - }, - }, - chunkOrigin: { - _: (k, v, E, { requestShortener: P }) => { - const R = { - module: v.module ? v.module.identifier() : '', - moduleIdentifier: v.module ? v.module.identifier() : '', - moduleName: v.module ? v.module.readableIdentifier(P) : '', - loc: N(v.loc), - request: v.request, - } - Object.assign(k, R) - }, - ids: (k, v, { compilation: { chunkGraph: E } }) => { - k.moduleId = v.module ? E.getModuleId(v.module) : undefined - }, - }, - error: qe, - warning: qe, - moduleTraceItem: { - _: (k, { origin: v, module: E }, P, { requestShortener: R }, L) => { - const { - type: N, - compilation: { moduleGraph: q }, - } = P - k.originIdentifier = v.identifier() - k.originName = v.readableIdentifier(R) - k.moduleIdentifier = E.identifier() - k.moduleName = E.readableIdentifier(R) - const ae = Array.from(q.getIncomingConnections(E)) - .filter((k) => k.resolvedOriginModule === v && k.dependency) - .map((k) => k.dependency) - k.dependencies = L.create( - `${N}.dependencies`, - Array.from(new Set(ae)), - P - ) - }, - ids: ( - k, - { origin: v, module: E }, - { compilation: { chunkGraph: P } } - ) => { - k.originId = P.getModuleId(v) - k.moduleId = P.getModuleId(E) - }, - }, - moduleTraceDependency: { - _: (k, v) => { - k.loc = N(v.loc) - }, - }, - } - const Ge = { - 'module.reasons': { - '!orphanModules': (k, { compilation: { chunkGraph: v } }) => { - if ( - k.originModule && - v.getNumberOfModuleChunks(k.originModule) === 0 - ) { - return false - } - }, - }, - } - const He = { - 'compilation.warnings': { - warningsFilter: P.deprecate( - (k, v, { warningsFilter: E }) => { - const P = Object.keys(k) - .map((v) => `${k[v]}`) - .join('\n') - return !E.some((v) => v(k, P)) - }, - 'config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings', - 'DEP_WEBPACK_STATS_WARNINGS_FILTER' - ), - }, - } - const We = { - _: (k, { compilation: { moduleGraph: v } }) => { - k.push( - Te((k) => v.getDepth(k), _e), - Te((k) => v.getPreOrderIndex(k), _e), - Te((k) => k.identifier(), Ie) - ) - }, - } - const Qe = { - 'compilation.chunks': { - _: (k) => { - k.push(Te((k) => k.id, Ie)) - }, - }, - 'compilation.modules': We, - 'chunk.rootModules': We, - 'chunk.modules': We, - 'module.modules': We, - 'module.reasons': { - _: (k, { compilation: { chunkGraph: v } }) => { - k.push(Te((k) => k.originModule, je)) - k.push(Te((k) => k.resolvedOriginModule, je)) - k.push( - Te( - (k) => k.dependency, - Me( - Te((k) => k.loc, me), - Te((k) => k.type, Ie) - ) - ) - ) - }, - }, - 'chunk.origins': { - _: (k, { compilation: { chunkGraph: v } }) => { - k.push( - Te((k) => (k.module ? v.getModuleId(k.module) : undefined), Ie), - Te((k) => N(k.loc), Ie), - Te((k) => k.request, Ie) - ) - }, - }, - } - const getItemSize = (k) => - !k.children - ? 1 - : k.filteredChildren - ? 2 + getTotalSize(k.children) - : 1 + getTotalSize(k.children) - const getTotalSize = (k) => { - let v = 0 - for (const E of k) { - v += getItemSize(E) - } - return v - } - const getTotalItems = (k) => { - let v = 0 - for (const E of k) { - if (!E.children && !E.filteredChildren) { - v++ - } else { - if (E.children) v += getTotalItems(E.children) - if (E.filteredChildren) v += E.filteredChildren - } - } - return v - } - const collapse = (k) => { - const v = [] - for (const E of k) { - if (E.children) { - let k = E.filteredChildren || 0 - k += getTotalItems(E.children) - v.push({ ...E, children: undefined, filteredChildren: k }) - } else { - v.push(E) - } - } - return v - } - const spaceLimited = (k, v, E = false) => { - if (v < 1) { - return { children: undefined, filteredChildren: getTotalItems(k) } - } - let P = undefined - let R = undefined - const L = [] - const N = [] - const q = [] - let ae = 0 - for (const v of k) { - if (!v.children && !v.filteredChildren) { - q.push(v) - } else { - L.push(v) - const k = getItemSize(v) - N.push(k) - ae += k - } - } - if (ae + q.length <= v) { - P = L.length > 0 ? L.concat(q) : q - } else if (L.length === 0) { - const k = v - (E ? 0 : 1) - R = q.length - k - q.length = k - P = q - } else { - const le = L.length + (E || q.length === 0 ? 0 : 1) - if (le < v) { - let k - while ((k = ae + q.length + (R && !E ? 1 : 0) - v) > 0) { - const v = Math.max(...N) - if (v < q.length) { - R = q.length - q.length = 0 - continue - } - for (let E = 0; E < L.length; E++) { - if (N[E] === v) { - const P = L[E] - const R = P.filteredChildren ? 2 : 1 - const q = spaceLimited( - P.children, - v - Math.ceil(k / L.length) - R, - R === 2 - ) - L[E] = { - ...P, - children: q.children, - filteredChildren: q.filteredChildren - ? (P.filteredChildren || 0) + q.filteredChildren - : P.filteredChildren, - } - const le = getItemSize(L[E]) - ae -= v - le - N[E] = le - break - } - } - } - P = L.concat(q) - } else if (le === v) { - P = collapse(L) - R = q.length - } else { - R = getTotalItems(k) - } - } - return { children: P, filteredChildren: R } - } - const errorsSpaceLimit = (k, v) => { - let E = 0 - if (k.length + 1 >= v) - return [ - k.map((k) => { - if (typeof k === 'string' || !k.details) return k - E++ - return { ...k, details: '' } - }), - E, - ] - let P = k.length - let R = k - let L = 0 - for (; L < k.length; L++) { - const N = k[L] - if (typeof N !== 'string' && N.details) { - const q = N.details.split('\n') - const ae = q.length - P += ae - if (P > v) { - R = L > 0 ? k.slice(0, L) : [] - const N = P - v + 1 - const q = k[L++] - R.push({ - ...q, - details: q.details.split('\n').slice(0, -N).join('\n'), - filteredDetails: N, - }) - E = k.length - L - for (; L < k.length; L++) { - const v = k[L] - if (typeof v === 'string' || !v.details) R.push(v) - R.push({ ...v, details: '' }) - } - break - } else if (P === v) { - R = k.slice(0, ++L) - E = k.length - L - for (; L < k.length; L++) { - const v = k[L] - if (typeof v === 'string' || !v.details) R.push(v) - R.push({ ...v, details: '' }) - } - break - } - } - } - return [R, E] - } - const assetGroup = (k, v) => { - let E = 0 - for (const v of k) { - E += v.size - } - return { size: E } - } - const moduleGroup = (k, v) => { - let E = 0 - const P = {} - for (const v of k) { - E += v.size - for (const k of Object.keys(v.sizes)) { - P[k] = (P[k] || 0) + v.sizes[k] - } - } - return { size: E, sizes: P } - } - const reasonGroup = (k, v) => { - let E = false - for (const v of k) { - E = E || v.active - } - return { active: E } - } - const Je = /(\.[^.]+?)(?:\?|(?: \+ \d+ modules?)?$)/ - const Ve = /(.+)[/\\][^/\\]+?(?:\?|(?: \+ \d+ modules?)?$)/ - const Ke = { - _: (k, v, E) => { - const groupByFlag = (v, E) => { - k.push({ - getKeys: (k) => (k[v] ? ['1'] : undefined), - getOptions: () => ({ groupChildren: !E, force: E }), - createGroup: (k, P, R) => - E - ? { - type: 'assets by status', - [v]: !!k, - filteredChildren: R.length, - ...assetGroup(P, R), - } - : { - type: 'assets by status', - [v]: !!k, - children: P, - ...assetGroup(P, R), - }, - }) - } - const { - groupAssetsByEmitStatus: P, - groupAssetsByPath: R, - groupAssetsByExtension: L, - } = E - if (P) { - groupByFlag('emitted') - groupByFlag('comparedForEmit') - groupByFlag('isOverSizeLimit') - } - if (P || !E.cachedAssets) { - groupByFlag('cached', !E.cachedAssets) - } - if (R || L) { - k.push({ - getKeys: (k) => { - const v = L && Je.exec(k.name) - const E = v ? v[1] : '' - const P = R && Ve.exec(k.name) - const N = P ? P[1].split(/[/\\]/) : [] - const q = [] - if (R) { - q.push('.') - if (E) q.push(N.length ? `${N.join('/')}/*${E}` : `*${E}`) - while (N.length > 0) { - q.push(N.join('/') + '/') - N.pop() - } - } else { - if (E) q.push(`*${E}`) - } - return q - }, - createGroup: (k, v, E) => ({ - type: R ? 'assets by path' : 'assets by extension', - name: k, - children: v, - ...assetGroup(v, E), - }), - }) - } - }, - groupAssetsByInfo: (k, v, E) => { - const groupByAssetInfoFlag = (v) => { - k.push({ - getKeys: (k) => (k.info && k.info[v] ? ['1'] : undefined), - createGroup: (k, E, P) => ({ - type: 'assets by info', - info: { [v]: !!k }, - children: E, - ...assetGroup(E, P), - }), - }) - } - groupByAssetInfoFlag('immutable') - groupByAssetInfoFlag('development') - groupByAssetInfoFlag('hotModuleReplacement') - }, - groupAssetsByChunk: (k, v, E) => { - const groupByNames = (v) => { - k.push({ - getKeys: (k) => k[v], - createGroup: (k, E, P) => ({ - type: 'assets by chunk', - [v]: [k], - children: E, - ...assetGroup(E, P), - }), - }) - } - groupByNames('chunkNames') - groupByNames('auxiliaryChunkNames') - groupByNames('chunkIdHints') - groupByNames('auxiliaryChunkIdHints') - }, - excludeAssets: (k, v, { excludeAssets: E }) => { - k.push({ - getKeys: (k) => { - const v = k.name - const P = E.some((E) => E(v, k)) - if (P) return ['excluded'] - }, - getOptions: () => ({ groupChildren: false, force: true }), - createGroup: (k, v, E) => ({ - type: 'hidden assets', - filteredChildren: E.length, - ...assetGroup(v, E), - }), - }) - }, - } - const MODULES_GROUPERS = (k) => ({ - _: (k, v, E) => { - const groupByFlag = (v, E, P) => { - k.push({ - getKeys: (k) => (k[v] ? ['1'] : undefined), - getOptions: () => ({ groupChildren: !P, force: P }), - createGroup: (k, R, L) => ({ - type: E, - [v]: !!k, - ...(P ? { filteredChildren: L.length } : { children: R }), - ...moduleGroup(R, L), - }), - }) - } - const { - groupModulesByCacheStatus: P, - groupModulesByLayer: L, - groupModulesByAttributes: N, - groupModulesByType: q, - groupModulesByPath: ae, - groupModulesByExtension: le, - } = E - if (N) { - groupByFlag('errors', 'modules with errors') - groupByFlag('warnings', 'modules with warnings') - groupByFlag('assets', 'modules with assets') - groupByFlag('optional', 'optional modules') - } - if (P) { - groupByFlag('cacheable', 'cacheable modules') - groupByFlag('built', 'built modules') - groupByFlag('codeGenerated', 'code generated modules') - } - if (P || !E.cachedModules) { - groupByFlag('cached', 'cached modules', !E.cachedModules) - } - if (N || !E.orphanModules) { - groupByFlag('orphan', 'orphan modules', !E.orphanModules) - } - if (N || !E.dependentModules) { - groupByFlag('dependent', 'dependent modules', !E.dependentModules) - } - if (q || !E.runtimeModules) { - k.push({ - getKeys: (k) => { - if (!k.moduleType) return - if (q) { - return [k.moduleType.split('/', 1)[0]] - } else if (k.moduleType === R) { - return [R] - } - }, - getOptions: (k) => { - const v = k === R && !E.runtimeModules - return { groupChildren: !v, force: v } - }, - createGroup: (k, v, P) => { - const L = k === R && !E.runtimeModules - return { - type: `${k} modules`, - moduleType: k, - ...(L ? { filteredChildren: P.length } : { children: v }), - ...moduleGroup(v, P), - } - }, - }) - } - if (L) { - k.push({ - getKeys: (k) => [k.layer], - createGroup: (k, v, E) => ({ - type: 'modules by layer', - layer: k, - children: v, - ...moduleGroup(v, E), - }), - }) - } - if (ae || le) { - k.push({ - getKeys: (k) => { - if (!k.name) return - const v = Be(k.name.split('!').pop()).path - const E = /^data:[^,;]+/.exec(v) - if (E) return [E[0]] - const P = le && Je.exec(v) - const R = P ? P[1] : '' - const L = ae && Ve.exec(v) - const N = L ? L[1].split(/[/\\]/) : [] - const q = [] - if (ae) { - if (R) q.push(N.length ? `${N.join('/')}/*${R}` : `*${R}`) - while (N.length > 0) { - q.push(N.join('/') + '/') - N.pop() - } - } else { - if (R) q.push(`*${R}`) - } - return q - }, - createGroup: (k, v, E) => { - const P = k.startsWith('data:') - return { - type: P - ? 'modules by mime type' - : ae - ? 'modules by path' - : 'modules by extension', - name: P ? k.slice(5) : k, - children: v, - ...moduleGroup(v, E), - } - }, - }) - } - }, - excludeModules: (v, E, { excludeModules: P }) => { - v.push({ - getKeys: (v) => { - const E = v.name - if (E) { - const R = P.some((P) => P(E, v, k)) - if (R) return ['1'] - } - }, - getOptions: () => ({ groupChildren: false, force: true }), - createGroup: (k, v, E) => ({ - type: 'hidden modules', - filteredChildren: v.length, - ...moduleGroup(v, E), - }), - }) - }, - }) - const Ye = { - 'compilation.assets': Ke, - 'asset.related': Ke, - 'compilation.modules': MODULES_GROUPERS('module'), - 'chunk.modules': MODULES_GROUPERS('chunk'), - 'chunk.rootModules': MODULES_GROUPERS('root-of-chunk'), - 'module.modules': MODULES_GROUPERS('nested'), - 'module.reasons': { - groupReasonsByOrigin: (k) => { - k.push({ - getKeys: (k) => [k.module], - createGroup: (k, v, E) => ({ - type: 'from origin', - module: k, - children: v, - ...reasonGroup(v, E), - }), - }) - }, - }, - } - const normalizeFieldKey = (k) => { - if (k[0] === '!') { - return k.slice(1) - } - return k - } - const sortOrderRegular = (k) => { - if (k[0] === '!') { - return false - } - return true - } - const sortByField = (k) => { - if (!k) { - const noSort = (k, v) => 0 - return noSort - } - const v = normalizeFieldKey(k) - let E = Te((k) => k[v], Ie) - const P = sortOrderRegular(k) - if (!P) { - const k = E - E = (v, E) => k(E, v) - } - return E - } - const Xe = { - assetsSort: (k, v, { assetsSort: E }) => { - k.push(sortByField(E)) - }, - _: (k) => { - k.push(Te((k) => k.name, Ie)) - }, - } - const Ze = { - 'compilation.chunks': { - chunksSort: (k, v, { chunksSort: E }) => { - k.push(sortByField(E)) - }, - }, - 'compilation.modules': { - modulesSort: (k, v, { modulesSort: E }) => { - k.push(sortByField(E)) - }, - }, - 'chunk.modules': { - chunkModulesSort: (k, v, { chunkModulesSort: E }) => { - k.push(sortByField(E)) - }, - }, - 'module.modules': { - nestedModulesSort: (k, v, { nestedModulesSort: E }) => { - k.push(sortByField(E)) - }, - }, - 'compilation.assets': Xe, - 'asset.related': Xe, - } - const iterateConfig = (k, v, E) => { - for (const P of Object.keys(k)) { - const R = k[P] - for (const k of Object.keys(R)) { - if (k !== '_') { - if (k.startsWith('!')) { - if (v[k.slice(1)]) continue - } else { - const E = v[k] - if ( - E === false || - E === undefined || - (Array.isArray(E) && E.length === 0) - ) - continue - } - } - E(P, R[k]) - } - } - } - const et = { - '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 mergeToObject = (k) => { - const v = Object.create(null) - for (const E of k) { - v[E.name] = E - } - return v - } - const tt = { - 'compilation.entrypoints': mergeToObject, - 'compilation.namedChunkGroups': mergeToObject, - } - class DefaultStatsFactoryPlugin { - apply(k) { - k.hooks.compilation.tap('DefaultStatsFactoryPlugin', (k) => { - k.hooks.statsFactory.tap('DefaultStatsFactoryPlugin', (v, E, P) => { - iterateConfig(Ue, E, (k, P) => { - v.hooks.extract - .for(k) - .tap('DefaultStatsFactoryPlugin', (k, R, L) => - P(k, R, L, E, v) - ) - }) - iterateConfig(Ge, E, (k, P) => { - v.hooks.filter - .for(k) - .tap('DefaultStatsFactoryPlugin', (k, v, R, L) => - P(k, v, E, R, L) - ) - }) - iterateConfig(He, E, (k, P) => { - v.hooks.filterResults - .for(k) - .tap('DefaultStatsFactoryPlugin', (k, v, R, L) => - P(k, v, E, R, L) - ) - }) - iterateConfig(Qe, E, (k, P) => { - v.hooks.sort - .for(k) - .tap('DefaultStatsFactoryPlugin', (k, v) => P(k, v, E)) - }) - iterateConfig(Ze, E, (k, P) => { - v.hooks.sortResults - .for(k) - .tap('DefaultStatsFactoryPlugin', (k, v) => P(k, v, E)) - }) - iterateConfig(Ye, E, (k, P) => { - v.hooks.groupResults - .for(k) - .tap('DefaultStatsFactoryPlugin', (k, v) => P(k, v, E)) - }) - for (const k of Object.keys(et)) { - const E = et[k] - v.hooks.getItemName - .for(k) - .tap('DefaultStatsFactoryPlugin', () => E) - } - for (const k of Object.keys(tt)) { - const E = tt[k] - v.hooks.merge.for(k).tap('DefaultStatsFactoryPlugin', E) - } - if (E.children) { - if (Array.isArray(E.children)) { - v.hooks.getItemFactory - .for('compilation.children[].compilation') - .tap('DefaultStatsFactoryPlugin', (v, { _index: R }) => { - if (R < E.children.length) { - return k.createStatsFactory( - k.createStatsOptions(E.children[R], P) - ) - } - }) - } else if (E.children !== true) { - const R = k.createStatsFactory( - k.createStatsOptions(E.children, P) - ) - v.hooks.getItemFactory - .for('compilation.children[].compilation') - .tap('DefaultStatsFactoryPlugin', () => R) - } - } - }) - }) - } - } - k.exports = DefaultStatsFactoryPlugin - }, - 8808: function (k, v, E) { - 'use strict' - const P = E(91227) - const applyDefaults = (k, v) => { - for (const E of Object.keys(v)) { - if (typeof k[E] === 'undefined') { - k[E] = v[E] - } - } - } - const R = { - 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, - errorsSpace: Infinity, - warningsSpace: Infinity, - modulesSpace: Infinity, - chunkModulesSpace: Infinity, - assetsSpace: Infinity, - reasonsSpace: 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, - errorsSpace: 1e3, - warningsSpace: 1e3, - modulesSpace: 1e3, - assetsSpace: 1e3, - reasonsSpace: 1e3, - }, - minimal: { - all: false, - version: true, - timings: true, - modules: true, - errorsSpace: 0, - warningsSpace: 0, - modulesSpace: 0, - assets: true, - assetsSpace: 0, - errors: true, - errorsCount: true, - warnings: true, - warningsCount: true, - logging: 'warn', - }, - 'errors-only': { - all: false, - errors: true, - errorsCount: true, - errorsSpace: Infinity, - moduleTrace: true, - logging: 'error', - }, - 'errors-warnings': { - all: false, - errors: true, - errorsCount: true, - errorsSpace: Infinity, - warnings: true, - warningsCount: true, - warningsSpace: Infinity, - logging: 'warn', - }, - summary: { - all: false, - version: true, - errorsCount: true, - warningsCount: true, - }, - none: { all: false }, - } - const NORMAL_ON = ({ all: k }) => k !== false - const NORMAL_OFF = ({ all: k }) => k === true - const ON_FOR_TO_STRING = ({ all: k }, { forToString: v }) => - v ? k !== false : k === true - const OFF_FOR_TO_STRING = ({ all: k }, { forToString: v }) => - v ? k === true : k !== false - const AUTO_FOR_TO_STRING = ({ all: k }, { forToString: v }) => { - if (k === false) return false - if (k === true) return true - if (v) return 'auto' - return true - } - const L = { - context: (k, v, E) => E.compiler.context, - requestShortener: (k, v, E) => - E.compiler.context === k.context - ? E.requestShortener - : new P(k.context, E.compiler.root), - performance: NORMAL_ON, - hash: OFF_FOR_TO_STRING, - env: NORMAL_OFF, - version: NORMAL_ON, - timings: NORMAL_ON, - builtAt: OFF_FOR_TO_STRING, - assets: NORMAL_ON, - entrypoints: AUTO_FOR_TO_STRING, - chunkGroups: OFF_FOR_TO_STRING, - chunkGroupAuxiliary: OFF_FOR_TO_STRING, - chunkGroupChildren: OFF_FOR_TO_STRING, - chunkGroupMaxAssets: (k, { forToString: v }) => (v ? 5 : Infinity), - chunks: OFF_FOR_TO_STRING, - chunkRelations: OFF_FOR_TO_STRING, - chunkModules: ({ all: k, modules: v }) => { - if (k === false) return false - if (k === true) return true - if (v) return false - return true - }, - dependentModules: OFF_FOR_TO_STRING, - chunkOrigins: OFF_FOR_TO_STRING, - ids: OFF_FOR_TO_STRING, - modules: ( - { all: k, chunks: v, chunkModules: E }, - { forToString: P } - ) => { - if (k === false) return false - if (k === true) return true - if (P && v && E) return false - return true - }, - nestedModules: OFF_FOR_TO_STRING, - groupModulesByType: ON_FOR_TO_STRING, - groupModulesByCacheStatus: ON_FOR_TO_STRING, - groupModulesByLayer: ON_FOR_TO_STRING, - groupModulesByAttributes: ON_FOR_TO_STRING, - groupModulesByPath: ON_FOR_TO_STRING, - groupModulesByExtension: ON_FOR_TO_STRING, - modulesSpace: (k, { forToString: v }) => (v ? 15 : Infinity), - chunkModulesSpace: (k, { forToString: v }) => (v ? 10 : Infinity), - nestedModulesSpace: (k, { forToString: v }) => (v ? 10 : Infinity), - relatedAssets: OFF_FOR_TO_STRING, - groupAssetsByEmitStatus: ON_FOR_TO_STRING, - groupAssetsByInfo: ON_FOR_TO_STRING, - groupAssetsByPath: ON_FOR_TO_STRING, - groupAssetsByExtension: ON_FOR_TO_STRING, - groupAssetsByChunk: ON_FOR_TO_STRING, - assetsSpace: (k, { forToString: v }) => (v ? 15 : Infinity), - orphanModules: OFF_FOR_TO_STRING, - runtimeModules: ({ all: k, runtime: v }, { forToString: E }) => - v !== undefined ? v : E ? k === true : k !== false, - cachedModules: ({ all: k, cached: v }, { forToString: E }) => - v !== undefined ? v : E ? k === true : k !== false, - moduleAssets: OFF_FOR_TO_STRING, - depth: OFF_FOR_TO_STRING, - cachedAssets: OFF_FOR_TO_STRING, - reasons: OFF_FOR_TO_STRING, - reasonsSpace: (k, { forToString: v }) => (v ? 15 : Infinity), - groupReasonsByOrigin: ON_FOR_TO_STRING, - usedExports: OFF_FOR_TO_STRING, - providedExports: OFF_FOR_TO_STRING, - optimizationBailout: OFF_FOR_TO_STRING, - children: OFF_FOR_TO_STRING, - source: NORMAL_OFF, - moduleTrace: NORMAL_ON, - errors: NORMAL_ON, - errorsCount: NORMAL_ON, - errorDetails: AUTO_FOR_TO_STRING, - errorStack: OFF_FOR_TO_STRING, - warnings: NORMAL_ON, - warningsCount: NORMAL_ON, - publicPath: OFF_FOR_TO_STRING, - logging: ({ all: k }, { forToString: v }) => - v && k !== false ? 'info' : false, - loggingDebug: () => [], - loggingTrace: OFF_FOR_TO_STRING, - excludeModules: () => [], - excludeAssets: () => [], - modulesSort: () => 'depth', - chunkModulesSort: () => 'name', - nestedModulesSort: () => false, - chunksSort: () => false, - assetsSort: () => '!size', - outputPath: OFF_FOR_TO_STRING, - colors: () => false, - } - const normalizeFilter = (k) => { - if (typeof k === 'string') { - const v = new RegExp( - `[\\\\/]${k.replace( - /[-[\]{}()*+?.\\^$|]/g, - '\\$&' - )}([\\\\/]|$|!|\\?)` - ) - return (k) => v.test(k) - } - if (k && typeof k === 'object' && typeof k.test === 'function') { - return (v) => k.test(v) - } - if (typeof k === 'function') { - return k - } - if (typeof k === 'boolean') { - return () => k - } - } - const N = { - excludeModules: (k) => { - if (!Array.isArray(k)) { - k = k ? [k] : [] - } - return k.map(normalizeFilter) - }, - excludeAssets: (k) => { - if (!Array.isArray(k)) { - k = k ? [k] : [] - } - return k.map(normalizeFilter) - }, - warningsFilter: (k) => { - if (!Array.isArray(k)) { - k = k ? [k] : [] - } - return k.map((k) => { - if (typeof k === 'string') { - return (v, E) => E.includes(k) - } - if (k instanceof RegExp) { - return (v, E) => k.test(E) - } - if (typeof k === 'function') { - return k - } - throw new Error( - `Can only filter warnings with Strings or RegExps. (Given: ${k})` - ) - }) - }, - logging: (k) => { - if (k === true) k = 'log' - return k - }, - loggingDebug: (k) => { - if (!Array.isArray(k)) { - k = k ? [k] : [] - } - return k.map(normalizeFilter) - }, - } - class DefaultStatsPresetPlugin { - apply(k) { - k.hooks.compilation.tap('DefaultStatsPresetPlugin', (k) => { - for (const v of Object.keys(R)) { - const E = R[v] - k.hooks.statsPreset - .for(v) - .tap('DefaultStatsPresetPlugin', (k, v) => { - applyDefaults(k, E) - }) - } - k.hooks.statsNormalize.tap('DefaultStatsPresetPlugin', (v, E) => { - for (const P of Object.keys(L)) { - if (v[P] === undefined) v[P] = L[P](v, E, k) - } - for (const k of Object.keys(N)) { - v[k] = N[k](v[k]) - } - }) - }) - } - } - k.exports = DefaultStatsPresetPlugin - }, - 81363: function (k, v, E) { - 'use strict' - const P = 16 - const R = 80 - const plural = (k, v, E) => (k === 1 ? v : E) - const printSizes = (k, { formatSize: v = (k) => `${k}` }) => { - const E = Object.keys(k) - if (E.length > 1) { - return E.map((E) => `${v(k[E])} (${E})`).join(' ') - } else if (E.length === 1) { - return v(k[E[0]]) - } - } - const getResourceName = (k) => { - const v = /^data:[^,]+,/.exec(k) - if (!v) return k - const E = v[0].length + P - if (k.length < E) return k - return `${k.slice(0, Math.min(k.length - 2, E))}..` - } - const getModuleName = (k) => { - const [, v, E] = /^(.*!)?([^!]*)$/.exec(k) - if (E.length > R) { - const k = `${E.slice(0, Math.min(E.length - 14, R))}...(truncated)` - return [v, getResourceName(k)] - } - return [v, getResourceName(E)] - } - const mapLines = (k, v) => k.split('\n').map(v).join('\n') - const twoDigit = (k) => (k >= 10 ? `${k}` : `0${k}`) - const isValidId = (k) => typeof k === 'number' || k - const moreCount = (k, v) => (k && k.length > 0 ? `+ ${v}` : `${v}`) - const L = { - 'compilation.summary!': ( - k, - { - type: v, - bold: E, - green: P, - red: R, - yellow: L, - formatDateTime: N, - formatTime: q, - compilation: { - name: ae, - hash: le, - version: pe, - time: me, - builtAt: ye, - errorsCount: _e, - warningsCount: Ie, - }, - } - ) => { - const Me = v === 'compilation.summary!' - const Te = - Ie > 0 ? L(`${Ie} ${plural(Ie, 'warning', 'warnings')}`) : '' - const je = _e > 0 ? R(`${_e} ${plural(_e, 'error', 'errors')}`) : '' - const Ne = Me && me ? ` in ${q(me)}` : '' - const Be = le ? ` (${le})` : '' - const qe = Me && ye ? `${N(ye)}: ` : '' - const Ue = Me && pe ? `webpack ${pe}` : '' - const Ge = - Me && ae ? E(ae) : ae ? `Child ${E(ae)}` : Me ? '' : 'Child' - const He = Ge && Ue ? `${Ge} (${Ue})` : Ue || Ge || 'webpack' - let We - if (je && Te) { - We = `compiled with ${je} and ${Te}` - } else if (je) { - We = `compiled with ${je}` - } else if (Te) { - We = `compiled with ${Te}` - } else if (_e === 0 && Ie === 0) { - We = `compiled ${P('successfully')}` - } else { - We = `compiled` - } - if (qe || Ue || je || Te || (_e === 0 && Ie === 0) || Ne || Be) - return `${qe}${He} ${We}${Ne}${Be}` - }, - 'compilation.filteredWarningDetailsCount': (k) => - k - ? `${k} ${plural( - k, - 'warning has', - 'warnings have' - )} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.` - : undefined, - 'compilation.filteredErrorDetailsCount': (k, { yellow: v }) => - k - ? v( - `${k} ${plural( - k, - 'error has', - 'errors have' - )} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.` - ) - : undefined, - 'compilation.env': (k, { bold: v }) => - k - ? `Environment (--env): ${v(JSON.stringify(k, null, 2))}` - : undefined, - 'compilation.publicPath': (k, { bold: v }) => - `PublicPath: ${v(k || '(none)')}`, - 'compilation.entrypoints': (k, v, E) => - Array.isArray(k) - ? undefined - : E.print(v.type, Object.values(k), { - ...v, - chunkGroupKind: 'Entrypoint', - }), - 'compilation.namedChunkGroups': (k, v, E) => { - if (!Array.isArray(k)) { - const { - compilation: { entrypoints: P }, - } = v - let R = Object.values(k) - if (P) { - R = R.filter( - (k) => !Object.prototype.hasOwnProperty.call(P, k.name) - ) - } - return E.print(v.type, R, { ...v, chunkGroupKind: 'Chunk Group' }) - } - }, - 'compilation.assetsByChunkName': () => '', - 'compilation.filteredModules': (k, { compilation: { modules: v } }) => - k > 0 - ? `${moreCount(v, k)} ${plural(k, 'module', 'modules')}` - : undefined, - 'compilation.filteredAssets': (k, { compilation: { assets: v } }) => - k > 0 - ? `${moreCount(v, k)} ${plural(k, 'asset', 'assets')}` - : undefined, - 'compilation.logging': (k, v, E) => - Array.isArray(k) - ? undefined - : E.print( - v.type, - Object.entries(k).map(([k, v]) => ({ ...v, name: k })), - v - ), - 'compilation.warningsInChildren!': ( - k, - { yellow: v, compilation: E } - ) => { - if (!E.children && E.warningsCount > 0 && E.warnings) { - const k = E.warningsCount - E.warnings.length - if (k > 0) { - return v( - `${k} ${plural( - k, - 'WARNING', - 'WARNINGS' - )} in child compilations${ - E.children - ? '' - : " (Use 'stats.children: true' resp. '--stats-children' for more details)" - }` - ) - } - } - }, - 'compilation.errorsInChildren!': (k, { red: v, compilation: E }) => { - if (!E.children && E.errorsCount > 0 && E.errors) { - const k = E.errorsCount - E.errors.length - if (k > 0) { - return v( - `${k} ${plural(k, 'ERROR', 'ERRORS')} in child compilations${ - E.children - ? '' - : " (Use 'stats.children: true' resp. '--stats-children' for more details)" - }` - ) - } - } - }, - 'asset.type': (k) => k, - 'asset.name': ( - k, - { formatFilename: v, asset: { isOverSizeLimit: E } } - ) => v(k, E), - 'asset.size': ( - k, - { asset: { isOverSizeLimit: v }, yellow: E, green: P, formatSize: R } - ) => (v ? E(R(k)) : R(k)), - 'asset.emitted': (k, { green: v, formatFlag: E }) => - k ? v(E('emitted')) : undefined, - 'asset.comparedForEmit': (k, { yellow: v, formatFlag: E }) => - k ? v(E('compared for emit')) : undefined, - 'asset.cached': (k, { green: v, formatFlag: E }) => - k ? v(E('cached')) : undefined, - 'asset.isOverSizeLimit': (k, { yellow: v, formatFlag: E }) => - k ? v(E('big')) : undefined, - 'asset.info.immutable': (k, { green: v, formatFlag: E }) => - k ? v(E('immutable')) : undefined, - 'asset.info.javascriptModule': (k, { formatFlag: v }) => - k ? v('javascript module') : undefined, - 'asset.info.sourceFilename': (k, { formatFlag: v }) => - k ? v(k === true ? 'from source file' : `from: ${k}`) : undefined, - 'asset.info.development': (k, { green: v, formatFlag: E }) => - k ? v(E('dev')) : undefined, - 'asset.info.hotModuleReplacement': (k, { green: v, formatFlag: E }) => - k ? v(E('hmr')) : undefined, - 'asset.separator!': () => '\n', - 'asset.filteredRelated': (k, { asset: { related: v } }) => - k > 0 - ? `${moreCount(v, k)} related ${plural(k, 'asset', 'assets')}` - : undefined, - 'asset.filteredChildren': (k, { asset: { children: v } }) => - k > 0 - ? `${moreCount(v, k)} ${plural(k, 'asset', 'assets')}` - : undefined, - assetChunk: (k, { formatChunkId: v }) => v(k), - assetChunkName: (k) => k, - assetChunkIdHint: (k) => k, - 'module.type': (k) => (k !== 'module' ? k : undefined), - 'module.id': (k, { formatModuleId: v }) => - isValidId(k) ? v(k) : undefined, - 'module.name': (k, { bold: v }) => { - const [E, P] = getModuleName(k) - return `${E || ''}${v(P || '')}` - }, - 'module.identifier': (k) => undefined, - 'module.layer': (k, { formatLayer: v }) => (k ? v(k) : undefined), - 'module.sizes': printSizes, - 'module.chunks[]': (k, { formatChunkId: v }) => v(k), - 'module.depth': (k, { formatFlag: v }) => - k !== null ? v(`depth ${k}`) : undefined, - 'module.cacheable': (k, { formatFlag: v, red: E }) => - k === false ? E(v('not cacheable')) : undefined, - 'module.orphan': (k, { formatFlag: v, yellow: E }) => - k ? E(v('orphan')) : undefined, - 'module.runtime': (k, { formatFlag: v, yellow: E }) => - k ? E(v('runtime')) : undefined, - 'module.optional': (k, { formatFlag: v, yellow: E }) => - k ? E(v('optional')) : undefined, - 'module.dependent': (k, { formatFlag: v, cyan: E }) => - k ? E(v('dependent')) : undefined, - 'module.built': (k, { formatFlag: v, yellow: E }) => - k ? E(v('built')) : undefined, - 'module.codeGenerated': (k, { formatFlag: v, yellow: E }) => - k ? E(v('code generated')) : undefined, - 'module.buildTimeExecuted': (k, { formatFlag: v, green: E }) => - k ? E(v('build time executed')) : undefined, - 'module.cached': (k, { formatFlag: v, green: E }) => - k ? E(v('cached')) : undefined, - 'module.assets': (k, { formatFlag: v, magenta: E }) => - k && k.length - ? E(v(`${k.length} ${plural(k.length, 'asset', 'assets')}`)) - : undefined, - 'module.warnings': (k, { formatFlag: v, yellow: E }) => - k === true - ? E(v('warnings')) - : k - ? E(v(`${k} ${plural(k, 'warning', 'warnings')}`)) - : undefined, - 'module.errors': (k, { formatFlag: v, red: E }) => - k === true - ? E(v('errors')) - : k - ? E(v(`${k} ${plural(k, 'error', 'errors')}`)) - : undefined, - 'module.providedExports': (k, { formatFlag: v, cyan: E }) => { - if (Array.isArray(k)) { - if (k.length === 0) return E(v('no exports')) - return E(v(`exports: ${k.join(', ')}`)) - } - }, - 'module.usedExports': (k, { formatFlag: v, cyan: E, module: P }) => { - if (k !== true) { - if (k === null) return E(v('used exports unknown')) - if (k === false) return E(v('module unused')) - if (Array.isArray(k)) { - if (k.length === 0) return E(v('no exports used')) - const R = Array.isArray(P.providedExports) - ? P.providedExports.length - : null - if (R !== null && R === k.length) { - return E(v('all exports used')) - } else { - return E(v(`only some exports used: ${k.join(', ')}`)) - } - } - } - }, - 'module.optimizationBailout[]': (k, { yellow: v }) => v(k), - 'module.issuerPath': (k, { module: v }) => (v.profile ? undefined : ''), - 'module.profile': (k) => undefined, - 'module.filteredModules': (k, { module: { modules: v } }) => - k > 0 - ? `${moreCount(v, k)} nested ${plural(k, 'module', 'modules')}` - : undefined, - 'module.filteredReasons': (k, { module: { reasons: v } }) => - k > 0 - ? `${moreCount(v, k)} ${plural(k, 'reason', 'reasons')}` - : undefined, - 'module.filteredChildren': (k, { module: { children: v } }) => - k > 0 - ? `${moreCount(v, k)} ${plural(k, 'module', 'modules')}` - : undefined, - 'module.separator!': () => '\n', - 'moduleIssuer.id': (k, { formatModuleId: v }) => v(k), - 'moduleIssuer.profile.total': (k, { formatTime: v }) => v(k), - 'moduleReason.type': (k) => k, - 'moduleReason.userRequest': (k, { cyan: v }) => v(getResourceName(k)), - 'moduleReason.moduleId': (k, { formatModuleId: v }) => - isValidId(k) ? v(k) : undefined, - 'moduleReason.module': (k, { magenta: v }) => v(k), - 'moduleReason.loc': (k) => k, - 'moduleReason.explanation': (k, { cyan: v }) => v(k), - 'moduleReason.active': (k, { formatFlag: v }) => - k ? undefined : v('inactive'), - 'moduleReason.resolvedModule': (k, { magenta: v }) => v(k), - 'moduleReason.filteredChildren': ( - k, - { moduleReason: { children: v } } - ) => - k > 0 - ? `${moreCount(v, k)} ${plural(k, 'reason', 'reasons')}` - : undefined, - 'module.profile.total': (k, { formatTime: v }) => v(k), - 'module.profile.resolving': (k, { formatTime: v }) => - `resolving: ${v(k)}`, - 'module.profile.restoring': (k, { formatTime: v }) => - `restoring: ${v(k)}`, - 'module.profile.integration': (k, { formatTime: v }) => - `integration: ${v(k)}`, - 'module.profile.building': (k, { formatTime: v }) => - `building: ${v(k)}`, - 'module.profile.storing': (k, { formatTime: v }) => `storing: ${v(k)}`, - 'module.profile.additionalResolving': (k, { formatTime: v }) => - k ? `additional resolving: ${v(k)}` : undefined, - 'module.profile.additionalIntegration': (k, { formatTime: v }) => - k ? `additional integration: ${v(k)}` : undefined, - 'chunkGroup.kind!': (k, { chunkGroupKind: v }) => v, - 'chunkGroup.separator!': () => '\n', - 'chunkGroup.name': (k, { bold: v }) => v(k), - 'chunkGroup.isOverSizeLimit': (k, { formatFlag: v, yellow: E }) => - k ? E(v('big')) : undefined, - 'chunkGroup.assetsSize': (k, { formatSize: v }) => - k ? v(k) : undefined, - 'chunkGroup.auxiliaryAssetsSize': (k, { formatSize: v }) => - k ? `(${v(k)})` : undefined, - 'chunkGroup.filteredAssets': (k, { chunkGroup: { assets: v } }) => - k > 0 - ? `${moreCount(v, k)} ${plural(k, 'asset', 'assets')}` - : undefined, - 'chunkGroup.filteredAuxiliaryAssets': ( - k, - { chunkGroup: { auxiliaryAssets: v } } - ) => - k > 0 - ? `${moreCount(v, k)} auxiliary ${plural(k, 'asset', 'assets')}` - : undefined, - 'chunkGroup.is!': () => '=', - 'chunkGroupAsset.name': (k, { green: v }) => v(k), - 'chunkGroupAsset.size': (k, { formatSize: v, chunkGroup: E }) => - E.assets.length > 1 || - (E.auxiliaryAssets && E.auxiliaryAssets.length > 0) - ? v(k) - : undefined, - 'chunkGroup.children': (k, v, E) => - Array.isArray(k) - ? undefined - : E.print( - v.type, - Object.keys(k).map((v) => ({ type: v, children: k[v] })), - v - ), - 'chunkGroupChildGroup.type': (k) => `${k}:`, - 'chunkGroupChild.assets[]': (k, { formatFilename: v }) => v(k), - 'chunkGroupChild.chunks[]': (k, { formatChunkId: v }) => v(k), - 'chunkGroupChild.name': (k) => (k ? `(name: ${k})` : undefined), - 'chunk.id': (k, { formatChunkId: v }) => v(k), - 'chunk.files[]': (k, { formatFilename: v }) => v(k), - 'chunk.names[]': (k) => k, - 'chunk.idHints[]': (k) => k, - 'chunk.runtime[]': (k) => k, - 'chunk.sizes': (k, v) => printSizes(k, v), - 'chunk.parents[]': (k, v) => v.formatChunkId(k, 'parent'), - 'chunk.siblings[]': (k, v) => v.formatChunkId(k, 'sibling'), - 'chunk.children[]': (k, v) => v.formatChunkId(k, 'child'), - 'chunk.childrenByOrder': (k, v, E) => - Array.isArray(k) - ? undefined - : E.print( - v.type, - Object.keys(k).map((v) => ({ type: v, children: k[v] })), - v - ), - 'chunk.childrenByOrder[].type': (k) => `${k}:`, - 'chunk.childrenByOrder[].children[]': (k, { formatChunkId: v }) => - isValidId(k) ? v(k) : undefined, - 'chunk.entry': (k, { formatFlag: v, yellow: E }) => - k ? E(v('entry')) : undefined, - 'chunk.initial': (k, { formatFlag: v, yellow: E }) => - k ? E(v('initial')) : undefined, - 'chunk.rendered': (k, { formatFlag: v, green: E }) => - k ? E(v('rendered')) : undefined, - 'chunk.recorded': (k, { formatFlag: v, green: E }) => - k ? E(v('recorded')) : undefined, - 'chunk.reason': (k, { yellow: v }) => (k ? v(k) : undefined), - 'chunk.filteredModules': (k, { chunk: { modules: v } }) => - k > 0 - ? `${moreCount(v, k)} chunk ${plural(k, 'module', 'modules')}` - : undefined, - 'chunk.separator!': () => '\n', - 'chunkOrigin.request': (k) => k, - 'chunkOrigin.moduleId': (k, { formatModuleId: v }) => - isValidId(k) ? v(k) : undefined, - 'chunkOrigin.moduleName': (k, { bold: v }) => v(k), - 'chunkOrigin.loc': (k) => k, - 'error.compilerPath': (k, { bold: v }) => (k ? v(`(${k})`) : undefined), - 'error.chunkId': (k, { formatChunkId: v }) => - isValidId(k) ? v(k) : undefined, - 'error.chunkEntry': (k, { formatFlag: v }) => - k ? v('entry') : undefined, - 'error.chunkInitial': (k, { formatFlag: v }) => - k ? v('initial') : undefined, - 'error.file': (k, { bold: v }) => v(k), - 'error.moduleName': (k, { bold: v }) => - k.includes('!') - ? `${v(k.replace(/^(\s|\S)*!/, ''))} (${k})` - : `${v(k)}`, - 'error.loc': (k, { green: v }) => v(k), - 'error.message': (k, { bold: v, formatError: E }) => - k.includes('[') ? k : v(E(k)), - 'error.details': (k, { formatError: v }) => v(k), - 'error.filteredDetails': (k) => (k ? `+ ${k} hidden lines` : undefined), - 'error.stack': (k) => k, - 'error.moduleTrace': (k) => undefined, - 'error.separator!': () => '\n', - 'loggingEntry(error).loggingEntry.message': (k, { red: v }) => - mapLines(k, (k) => ` ${v(k)}`), - 'loggingEntry(warn).loggingEntry.message': (k, { yellow: v }) => - mapLines(k, (k) => ` ${v(k)}`), - 'loggingEntry(info).loggingEntry.message': (k, { green: v }) => - mapLines(k, (k) => ` ${v(k)}`), - 'loggingEntry(log).loggingEntry.message': (k, { bold: v }) => - mapLines(k, (k) => ` ${v(k)}`), - 'loggingEntry(debug).loggingEntry.message': (k) => - mapLines(k, (k) => ` ${k}`), - 'loggingEntry(trace).loggingEntry.message': (k) => - mapLines(k, (k) => ` ${k}`), - 'loggingEntry(status).loggingEntry.message': (k, { magenta: v }) => - mapLines(k, (k) => ` ${v(k)}`), - 'loggingEntry(profile).loggingEntry.message': (k, { magenta: v }) => - mapLines(k, (k) => `

${v(k)}`), - 'loggingEntry(profileEnd).loggingEntry.message': (k, { magenta: v }) => - mapLines(k, (k) => `

${v(k)}`), - 'loggingEntry(time).loggingEntry.message': (k, { magenta: v }) => - mapLines(k, (k) => ` ${v(k)}`), - 'loggingEntry(group).loggingEntry.message': (k, { cyan: v }) => - mapLines(k, (k) => `<-> ${v(k)}`), - 'loggingEntry(groupCollapsed).loggingEntry.message': (k, { cyan: v }) => - mapLines(k, (k) => `<+> ${v(k)}`), - 'loggingEntry(clear).loggingEntry': () => ' -------', - 'loggingEntry(groupCollapsed).loggingEntry.children': () => '', - 'loggingEntry.trace[]': (k) => - k ? mapLines(k, (k) => `| ${k}`) : undefined, - 'moduleTraceItem.originName': (k) => k, - loggingGroup: (k) => (k.entries.length === 0 ? '' : undefined), - 'loggingGroup.debug': (k, { red: v }) => (k ? v('DEBUG') : undefined), - 'loggingGroup.name': (k, { bold: v }) => v(`LOG from ${k}`), - 'loggingGroup.separator!': () => '\n', - 'loggingGroup.filteredEntries': (k) => - k > 0 ? `+ ${k} hidden lines` : undefined, - 'moduleTraceDependency.loc': (k) => k, - } - const N = { - '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', - 'moduleReason.children[]': 'moduleReason', - 'module.issuerPath[]': 'moduleIssuer', - 'chunk.origins[]': 'chunkOrigin', - 'chunk.modules[]': 'module', - 'loggingGroup.entries[]': (k) => `loggingEntry(${k.type}).loggingEntry`, - 'loggingEntry.children[]': (k) => - `loggingEntry(${k.type}).loggingEntry`, - 'error.moduleTrace[]': 'moduleTraceItem', - 'moduleTraceItem.dependencies[]': 'moduleTraceDependency', - } - const q = [ - 'compilerPath', - 'chunkId', - 'chunkEntry', - 'chunkInitial', - 'file', - 'separator!', - 'moduleName', - 'loc', - 'separator!', - 'message', - 'separator!', - 'details', - 'separator!', - 'filteredDetails', - 'separator!', - 'stack', - 'separator!', - 'missing', - 'separator!', - 'moduleTrace', - ] - const ae = { - compilation: [ - 'name', - 'hash', - 'version', - 'time', - 'builtAt', - 'env', - 'publicPath', - 'assets', - 'filteredAssets', - 'entrypoints', - 'namedChunkGroups', - 'chunks', - 'modules', - 'filteredModules', - 'children', - 'logging', - 'warnings', - 'warningsInChildren!', - 'filteredWarningDetailsCount', - 'errors', - 'errorsInChildren!', - 'filteredErrorDetailsCount', - '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', - 'layer', - 'sizes', - 'chunks', - 'depth', - 'cacheable', - 'orphan', - 'runtime', - 'optional', - 'dependent', - 'built', - 'codeGenerated', - 'cached', - 'assets', - 'failed', - 'warnings', - 'errors', - 'children', - 'filteredChildren', - 'providedExports', - 'usedExports', - 'optimizationBailout', - 'reasons', - 'filteredReasons', - 'issuerPath', - 'profile', - 'modules', - 'filteredModules', - ], - moduleReason: [ - 'active', - 'type', - 'userRequest', - 'moduleId', - 'module', - 'resolvedModule', - 'loc', - 'explanation', - 'children', - 'filteredChildren', - ], - '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: q, - warning: q, - 'chunk.childrenByOrder[]': ['type', 'children'], - loggingGroup: [ - 'debug', - 'name', - 'separator!', - 'entries', - 'separator!', - 'filteredEntries', - ], - loggingEntry: ['message', 'trace', 'children'], - } - const itemsJoinOneLine = (k) => k.filter(Boolean).join(' ') - const itemsJoinOneLineBrackets = (k) => - k.length > 0 ? `(${k.filter(Boolean).join(' ')})` : undefined - const itemsJoinMoreSpacing = (k) => k.filter(Boolean).join('\n\n') - const itemsJoinComma = (k) => k.filter(Boolean).join(', ') - const itemsJoinCommaBrackets = (k) => - k.length > 0 ? `(${k.filter(Boolean).join(', ')})` : undefined - const itemsJoinCommaBracketsWithName = (k) => (v) => - v.length > 0 ? `(${k}: ${v.filter(Boolean).join(', ')})` : undefined - const le = { - 'chunk.parents': itemsJoinOneLine, - 'chunk.siblings': itemsJoinOneLine, - 'chunk.children': itemsJoinOneLine, - 'chunk.names': itemsJoinCommaBrackets, - 'chunk.idHints': itemsJoinCommaBracketsWithName('id hint'), - 'chunk.runtime': itemsJoinCommaBracketsWithName('runtime'), - 'chunk.files': itemsJoinComma, - 'chunk.childrenByOrder': itemsJoinOneLine, - 'chunk.childrenByOrder[].children': itemsJoinOneLine, - 'chunkGroup.assets': itemsJoinOneLine, - 'chunkGroup.auxiliaryAssets': itemsJoinOneLineBrackets, - 'chunkGroupChildGroup.children': itemsJoinComma, - 'chunkGroupChild.assets': itemsJoinOneLine, - 'chunkGroupChild.auxiliaryAssets': itemsJoinOneLineBrackets, - 'asset.chunks': itemsJoinComma, - 'asset.auxiliaryChunks': itemsJoinCommaBrackets, - 'asset.chunkNames': itemsJoinCommaBracketsWithName('name'), - 'asset.auxiliaryChunkNames': - itemsJoinCommaBracketsWithName('auxiliary name'), - 'asset.chunkIdHints': itemsJoinCommaBracketsWithName('id hint'), - 'asset.auxiliaryChunkIdHints': - itemsJoinCommaBracketsWithName('auxiliary id hint'), - 'module.chunks': itemsJoinOneLine, - 'module.issuerPath': (k) => - k - .filter(Boolean) - .map((k) => `${k} ->`) - .join(' '), - 'compilation.errors': itemsJoinMoreSpacing, - 'compilation.warnings': itemsJoinMoreSpacing, - 'compilation.logging': itemsJoinMoreSpacing, - 'compilation.children': (k) => indent(itemsJoinMoreSpacing(k), ' '), - 'moduleTraceItem.dependencies': itemsJoinOneLine, - 'loggingEntry.children': (k) => - indent(k.filter(Boolean).join('\n'), ' ', false), - } - const joinOneLine = (k) => - k - .map((k) => k.content) - .filter(Boolean) - .join(' ') - const joinInBrackets = (k) => { - const v = [] - let E = 0 - for (const P of k) { - if (P.element === 'separator!') { - switch (E) { - case 0: - case 1: - E += 2 - break - case 4: - v.push(')') - E = 3 - break - } - } - if (!P.content) continue - switch (E) { - case 0: - E = 1 - break - case 1: - v.push(' ') - break - case 2: - v.push('(') - E = 4 - break - case 3: - v.push(' (') - E = 4 - break - case 4: - v.push(', ') - break - } - v.push(P.content) - } - if (E === 4) v.push(')') - return v.join('') - } - const indent = (k, v, E) => { - const P = k.replace(/\n([^\n])/g, '\n' + v + '$1') - if (E) return P - const R = k[0] === '\n' ? '' : v - return R + P - } - const joinExplicitNewLine = (k, v) => { - let E = true - let P = true - return k - .map((k) => { - if (!k || !k.content) return - let R = indent(k.content, P ? '' : v, !E) - if (E) { - R = R.replace(/^\n+/, '') - } - if (!R) return - P = false - const L = E || R.startsWith('\n') - E = R.endsWith('\n') - return L ? R : ' ' + R - }) - .filter(Boolean) - .join('') - .trim() - } - const joinError = - (k) => - (v, { red: E, yellow: P }) => - `${k ? E('ERROR') : P('WARNING')} in ${joinExplicitNewLine(v, '')}` - const pe = { - compilation: (k) => { - const v = [] - let E = false - for (const P of k) { - if (!P.content) continue - const k = - P.element === 'warnings' || - P.element === 'filteredWarningDetailsCount' || - P.element === 'errors' || - P.element === 'filteredErrorDetailsCount' || - P.element === 'logging' - if (v.length !== 0) { - v.push(k || E ? '\n\n' : '\n') - } - v.push(P.content) - E = k - } - if (E) v.push('\n') - return v.join('') - }, - asset: (k) => - joinExplicitNewLine( - k.map((k) => { - if ( - (k.element === 'related' || k.element === 'children') && - k.content - ) { - return { ...k, content: `\n${k.content}\n` } - } - return k - }), - ' ' - ), - 'asset.info': joinOneLine, - module: (k, { module: v }) => { - let E = false - return joinExplicitNewLine( - k.map((k) => { - switch (k.element) { - case 'id': - if (v.id === v.name) { - if (E) return false - if (k.content) E = true - } - break - case 'name': - if (E) return false - if (k.content) E = true - break - case 'providedExports': - case 'usedExports': - case 'optimizationBailout': - case 'reasons': - case 'issuerPath': - case 'profile': - case 'children': - case 'modules': - if (k.content) { - return { ...k, content: `\n${k.content}\n` } - } - break - } - return k - }), - ' ' - ) - }, - chunk: (k) => { - let v = false - return ( - 'chunk ' + - joinExplicitNewLine( - k.filter((k) => { - switch (k.element) { - case 'entry': - if (k.content) v = true - break - case 'initial': - if (v) return false - break - } - return true - }), - ' ' - ) - ) - }, - 'chunk.childrenByOrder[]': (k) => `(${joinOneLine(k)})`, - chunkGroup: (k) => joinExplicitNewLine(k, ' '), - chunkGroupAsset: joinOneLine, - chunkGroupChildGroup: joinOneLine, - chunkGroupChild: joinOneLine, - moduleReason: (k, { moduleReason: v }) => { - let E = false - return joinExplicitNewLine( - k.map((k) => { - switch (k.element) { - case 'moduleId': - if (v.moduleId === v.module && k.content) E = true - break - case 'module': - if (E) return false - break - case 'resolvedModule': - if (v.module === v.resolvedModule) return false - break - case 'children': - if (k.content) { - return { ...k, content: `\n${k.content}\n` } - } - break - } - return k - }), - ' ' - ) - }, - 'module.profile': joinInBrackets, - moduleIssuer: joinOneLine, - chunkOrigin: (k) => '> ' + joinOneLine(k), - 'errors[].error': joinError(true), - 'warnings[].error': joinError(false), - loggingGroup: (k) => joinExplicitNewLine(k, '').trimEnd(), - moduleTraceItem: (k) => ' @ ' + joinOneLine(k), - moduleTraceDependency: joinOneLine, - } - const me = { - bold: '', - yellow: '', - red: '', - green: '', - cyan: '', - magenta: '', - } - const ye = { - formatChunkId: (k, { yellow: v }, E) => { - switch (E) { - case 'parent': - return `<{${v(k)}}>` - case 'sibling': - return `={${v(k)}}=` - case 'child': - return `>{${v(k)}}<` - default: - return `{${v(k)}}` - } - }, - formatModuleId: (k) => `[${k}]`, - formatFilename: (k, { green: v, yellow: E }, P) => (P ? E : v)(k), - formatFlag: (k) => `[${k}]`, - formatLayer: (k) => `(in ${k})`, - formatSize: E(3386).formatSize, - formatDateTime: (k, { bold: v }) => { - const E = new Date(k) - const P = twoDigit - const R = `${E.getFullYear()}-${P(E.getMonth() + 1)}-${P( - E.getDate() - )}` - const L = `${P(E.getHours())}:${P(E.getMinutes())}:${P( - E.getSeconds() - )}` - return `${R} ${v(L)}` - }, - formatTime: ( - k, - { timeReference: v, bold: E, green: P, yellow: R, red: L }, - N - ) => { - const q = ' ms' - if (v && k !== v) { - const N = [v / 2, v / 4, v / 8, v / 16] - if (k < N[3]) return `${k}${q}` - else if (k < N[2]) return E(`${k}${q}`) - else if (k < N[1]) return P(`${k}${q}`) - else if (k < N[0]) return R(`${k}${q}`) - else return L(`${k}${q}`) - } else { - return `${N ? E(k) : k}${q}` - } - }, - formatError: (k, { green: v, yellow: E, red: P }) => { - if (k.includes('[')) return k - const R = [ - { regExp: /(Did you mean .+)/g, format: v }, - { - regExp: /(Set 'mode' option to 'development' or 'production')/g, - format: v, - }, - { regExp: /(\(module has no exports\))/g, format: P }, - { regExp: /\(possible exports: (.+)\)/g, format: v }, - { regExp: /(?:^|\n)(.* doesn't exist)/g, format: P }, - { regExp: /('\w+' option has not been set)/g, format: P }, - { - regExp: /(Emitted value instead of an instance of Error)/g, - format: E, - }, - { regExp: /(Used? .+ instead)/gi, format: E }, - { regExp: /\b(deprecated|must|required)\b/g, format: E }, - { regExp: /\b(BREAKING CHANGE)\b/gi, format: P }, - { - regExp: - /\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi, - format: P, - }, - ] - for (const { regExp: v, format: E } of R) { - k = k.replace(v, (k, v) => k.replace(v, E(v))) - } - return k - }, - } - const _e = { 'module.modules': (k) => indent(k, '| ') } - const createOrder = (k, v) => { - const E = k.slice() - const P = new Set(k) - const R = new Set() - k.length = 0 - for (const E of v) { - if (E.endsWith('!') || P.has(E)) { - k.push(E) - R.add(E) - } - } - for (const v of E) { - if (!R.has(v)) { - k.push(v) - } - } - return k - } - class DefaultStatsPrinterPlugin { - apply(k) { - k.hooks.compilation.tap('DefaultStatsPrinterPlugin', (k) => { - k.hooks.statsPrinter.tap('DefaultStatsPrinterPlugin', (k, v, E) => { - k.hooks.print - .for('compilation') - .tap('DefaultStatsPrinterPlugin', (k, E) => { - for (const k of Object.keys(me)) { - let P - if (v.colors) { - if ( - typeof v.colors === 'object' && - typeof v.colors[k] === 'string' - ) { - P = v.colors[k] - } else { - P = me[k] - } - } - if (P) { - E[k] = (k) => - `${P}${ - typeof k === 'string' - ? k.replace( - /((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g, - `$1${P}` - ) - : k - }` - } else { - E[k] = (k) => k - } - } - for (const k of Object.keys(ye)) { - E[k] = (v, ...P) => ye[k](v, E, ...P) - } - E.timeReference = k.time - }) - for (const v of Object.keys(L)) { - k.hooks.print - .for(v) - .tap('DefaultStatsPrinterPlugin', (E, P) => L[v](E, P, k)) - } - for (const v of Object.keys(ae)) { - const E = ae[v] - k.hooks.sortElements - .for(v) - .tap('DefaultStatsPrinterPlugin', (k, v) => { - createOrder(k, E) - }) - } - for (const v of Object.keys(N)) { - const E = N[v] - k.hooks.getItemName - .for(v) - .tap( - 'DefaultStatsPrinterPlugin', - typeof E === 'string' ? () => E : E - ) - } - for (const v of Object.keys(le)) { - const E = le[v] - k.hooks.printItems.for(v).tap('DefaultStatsPrinterPlugin', E) - } - for (const v of Object.keys(pe)) { - const E = pe[v] - k.hooks.printElements.for(v).tap('DefaultStatsPrinterPlugin', E) - } - for (const v of Object.keys(_e)) { - const E = _e[v] - k.hooks.result.for(v).tap('DefaultStatsPrinterPlugin', E) - } - }) - }) - } - } - k.exports = DefaultStatsPrinterPlugin - }, - 12231: function (k, v, E) { - 'use strict' - const { HookMap: P, SyncBailHook: R, SyncWaterfallHook: L } = E(79846) - const { concatComparators: N, keepOriginalOrder: q } = E(95648) - const ae = E(53501) - class StatsFactory { - constructor() { - this.hooks = Object.freeze({ - extract: new P(() => new R(['object', 'data', 'context'])), - filter: new P( - () => new R(['item', 'context', 'index', 'unfilteredIndex']) - ), - sort: new P(() => new R(['comparators', 'context'])), - filterSorted: new P( - () => new R(['item', 'context', 'index', 'unfilteredIndex']) - ), - groupResults: new P(() => new R(['groupConfigs', 'context'])), - sortResults: new P(() => new R(['comparators', 'context'])), - filterResults: new P( - () => new R(['item', 'context', 'index', 'unfilteredIndex']) - ), - merge: new P(() => new R(['items', 'context'])), - result: new P(() => new L(['result', 'context'])), - getItemName: new P(() => new R(['item', 'context'])), - getItemFactory: new P(() => new R(['item', 'context'])), - }) - const k = this.hooks - this._caches = {} - for (const v of Object.keys(k)) { - this._caches[v] = new Map() - } - this._inCreate = false - } - _getAllLevelHooks(k, v, E) { - const P = v.get(E) - if (P !== undefined) { - return P - } - const R = [] - const L = E.split('.') - for (let v = 0; v < L.length; v++) { - const E = k.get(L.slice(v).join('.')) - if (E) { - R.push(E) - } - } - v.set(E, R) - return R - } - _forEachLevel(k, v, E, P) { - for (const R of this._getAllLevelHooks(k, v, E)) { - const k = P(R) - if (k !== undefined) return k - } - } - _forEachLevelWaterfall(k, v, E, P, R) { - for (const L of this._getAllLevelHooks(k, v, E)) { - P = R(L, P) - } - return P - } - _forEachLevelFilter(k, v, E, P, R, L) { - const N = this._getAllLevelHooks(k, v, E) - if (N.length === 0) return L ? P.slice() : P - let q = 0 - return P.filter((k, v) => { - for (const E of N) { - const P = R(E, k, v, q) - if (P !== undefined) { - if (P) q++ - return P - } - } - q++ - return true - }) - } - create(k, v, E) { - if (this._inCreate) { - return this._create(k, v, E) - } else { - try { - this._inCreate = true - return this._create(k, v, E) - } finally { - for (const k of Object.keys(this._caches)) this._caches[k].clear() - this._inCreate = false - } - } - } - _create(k, v, E) { - const P = { ...E, type: k, [k]: v } - if (Array.isArray(v)) { - const E = this._forEachLevelFilter( - this.hooks.filter, - this._caches.filter, - k, - v, - (k, v, E, R) => k.call(v, P, E, R), - true - ) - const R = [] - this._forEachLevel(this.hooks.sort, this._caches.sort, k, (k) => - k.call(R, P) - ) - if (R.length > 0) { - E.sort(N(...R, q(E))) - } - const L = this._forEachLevelFilter( - this.hooks.filterSorted, - this._caches.filterSorted, - k, - E, - (k, v, E, R) => k.call(v, P, E, R), - false - ) - let le = L.map((v, E) => { - const R = { ...P, _index: E } - const L = this._forEachLevel( - this.hooks.getItemName, - this._caches.getItemName, - `${k}[]`, - (k) => k.call(v, R) - ) - if (L) R[L] = v - const N = L ? `${k}[].${L}` : `${k}[]` - const q = - this._forEachLevel( - this.hooks.getItemFactory, - this._caches.getItemFactory, - N, - (k) => k.call(v, R) - ) || this - return q.create(N, v, R) - }) - const pe = [] - this._forEachLevel( - this.hooks.sortResults, - this._caches.sortResults, - k, - (k) => k.call(pe, P) - ) - if (pe.length > 0) { - le.sort(N(...pe, q(le))) - } - const me = [] - this._forEachLevel( - this.hooks.groupResults, - this._caches.groupResults, - k, - (k) => k.call(me, P) - ) - if (me.length > 0) { - le = ae(le, me) - } - const ye = this._forEachLevelFilter( - this.hooks.filterResults, - this._caches.filterResults, - k, - le, - (k, v, E, R) => k.call(v, P, E, R), - false - ) - let _e = this._forEachLevel( - this.hooks.merge, - this._caches.merge, - k, - (k) => k.call(ye, P) - ) - if (_e === undefined) _e = ye - return this._forEachLevelWaterfall( - this.hooks.result, - this._caches.result, - k, - _e, - (k, v) => k.call(v, P) - ) - } else { - const E = {} - this._forEachLevel( - this.hooks.extract, - this._caches.extract, - k, - (k) => k.call(E, v, P) - ) - return this._forEachLevelWaterfall( - this.hooks.result, - this._caches.result, - k, - E, - (k, v) => k.call(v, P) - ) - } - } - } - k.exports = StatsFactory - }, - 54052: function (k, v, E) { - 'use strict' - const { HookMap: P, SyncWaterfallHook: R, SyncBailHook: L } = E(79846) - class StatsPrinter { - constructor() { - this.hooks = Object.freeze({ - sortElements: new P(() => new L(['elements', 'context'])), - printElements: new P(() => new L(['printedElements', 'context'])), - sortItems: new P(() => new L(['items', 'context'])), - getItemName: new P(() => new L(['item', 'context'])), - printItems: new P(() => new L(['printedItems', 'context'])), - print: new P(() => new L(['object', 'context'])), - result: new P(() => new R(['result', 'context'])), - }) - this._levelHookCache = new Map() - this._inPrint = false - } - _getAllLevelHooks(k, v) { - let E = this._levelHookCache.get(k) - if (E === undefined) { - E = new Map() - this._levelHookCache.set(k, E) - } - const P = E.get(v) - if (P !== undefined) { - return P - } - const R = [] - const L = v.split('.') - for (let v = 0; v < L.length; v++) { - const E = k.get(L.slice(v).join('.')) - if (E) { - R.push(E) - } - } - E.set(v, R) - return R - } - _forEachLevel(k, v, E) { - for (const P of this._getAllLevelHooks(k, v)) { - const k = E(P) - if (k !== undefined) return k - } - } - _forEachLevelWaterfall(k, v, E, P) { - for (const R of this._getAllLevelHooks(k, v)) { - E = P(R, E) - } - return E - } - print(k, v, E) { - if (this._inPrint) { - return this._print(k, v, E) - } else { - try { - this._inPrint = true - return this._print(k, v, E) - } finally { - this._levelHookCache.clear() - this._inPrint = false - } - } - } - _print(k, v, E) { - const P = { ...E, type: k, [k]: v } - let R = this._forEachLevel(this.hooks.print, k, (k) => k.call(v, P)) - if (R === undefined) { - if (Array.isArray(v)) { - const E = v.slice() - this._forEachLevel(this.hooks.sortItems, k, (k) => k.call(E, P)) - const L = E.map((v, E) => { - const R = { ...P, _index: E } - const L = this._forEachLevel( - this.hooks.getItemName, - `${k}[]`, - (k) => k.call(v, R) - ) - if (L) R[L] = v - return this.print(L ? `${k}[].${L}` : `${k}[]`, v, R) - }) - R = this._forEachLevel(this.hooks.printItems, k, (k) => - k.call(L, P) - ) - if (R === undefined) { - const k = L.filter(Boolean) - if (k.length > 0) R = k.join('\n') - } - } else if (v !== null && typeof v === 'object') { - const E = Object.keys(v).filter((k) => v[k] !== undefined) - this._forEachLevel(this.hooks.sortElements, k, (k) => - k.call(E, P) - ) - const L = E.map((E) => { - const R = this.print(`${k}.${E}`, v[E], { - ...P, - _parent: v, - _element: E, - [E]: v[E], - }) - return { element: E, content: R } - }) - R = this._forEachLevel(this.hooks.printElements, k, (k) => - k.call(L, P) - ) - if (R === undefined) { - const k = L.map((k) => k.content).filter(Boolean) - if (k.length > 0) R = k.join('\n') - } - } - } - return this._forEachLevelWaterfall(this.hooks.result, k, R, (k, v) => - k.call(v, P) - ) - } - } - k.exports = StatsPrinter - }, - 68863: function (k, v) { - 'use strict' - v.equals = (k, v) => { - if (k.length !== v.length) return false - for (let E = 0; E < k.length; E++) { - if (k[E] !== v[E]) return false - } - return true - } - v.groupBy = (k = [], v) => - k.reduce( - (k, E) => { - k[v(E) ? 0 : 1].push(E) - return k - }, - [[], []] - ) - }, - 12970: function (k) { - 'use strict' - class ArrayQueue { - constructor(k) { - this._list = k ? Array.from(k) : [] - this._listReversed = [] - } - get length() { - return this._list.length + this._listReversed.length - } - clear() { - this._list.length = 0 - this._listReversed.length = 0 - } - enqueue(k) { - this._list.push(k) - } - dequeue() { - if (this._listReversed.length === 0) { - if (this._list.length === 0) return undefined - if (this._list.length === 1) return this._list.pop() - if (this._list.length < 16) return this._list.shift() - const k = this._listReversed - this._listReversed = this._list - this._listReversed.reverse() - this._list = k - } - return this._listReversed.pop() - } - delete(k) { - const v = this._list.indexOf(k) - if (v >= 0) { - this._list.splice(v, 1) - } else { - const v = this._listReversed.indexOf(k) - if (v >= 0) this._listReversed.splice(v, 1) - } - } - [Symbol.iterator]() { - let k = -1 - let v = false - return { - next: () => { - if (!v) { - k++ - if (k < this._list.length) { - return { done: false, value: this._list[k] } - } - v = true - k = this._listReversed.length - } - k-- - if (k < 0) { - return { done: true, value: undefined } - } - return { done: false, value: this._listReversed[k] } - }, - } - } - } - k.exports = ArrayQueue - }, - 89262: function (k, v, E) { - 'use strict' - const { SyncHook: P, AsyncSeriesHook: R } = E(79846) - const { makeWebpackError: L } = E(82104) - const N = E(71572) - const q = E(12970) - const ae = 0 - const le = 1 - const pe = 2 - let me = 0 - class AsyncQueueEntry { - constructor(k, v) { - this.item = k - this.state = ae - this.callback = v - this.callbacks = undefined - this.result = undefined - this.error = undefined - } - } - class AsyncQueue { - constructor({ - name: k, - parallelism: v, - parent: E, - processor: L, - getKey: N, - }) { - this._name = k - this._parallelism = v || 1 - this._processor = L - this._getKey = N || ((k) => k) - this._entries = new Map() - this._queued = new q() - this._children = undefined - this._activeTasks = 0 - this._willEnsureProcessing = false - this._needProcessing = false - this._stopped = false - this._root = E ? E._root : this - if (E) { - if (this._root._children === undefined) { - this._root._children = [this] - } else { - this._root._children.push(this) - } - } - this.hooks = { - beforeAdd: new R(['item']), - added: new P(['item']), - beforeStart: new R(['item']), - started: new P(['item']), - result: new P(['item', 'error', 'result']), - } - this._ensureProcessing = this._ensureProcessing.bind(this) - } - add(k, v) { - if (this._stopped) return v(new N('Queue was stopped')) - this.hooks.beforeAdd.callAsync(k, (E) => { - if (E) { - v(L(E, `AsyncQueue(${this._name}).hooks.beforeAdd`)) - return - } - const P = this._getKey(k) - const R = this._entries.get(P) - if (R !== undefined) { - if (R.state === pe) { - if (me++ > 3) { - process.nextTick(() => v(R.error, R.result)) - } else { - v(R.error, R.result) - } - me-- - } else if (R.callbacks === undefined) { - R.callbacks = [v] - } else { - R.callbacks.push(v) - } - return - } - const q = new AsyncQueueEntry(k, v) - if (this._stopped) { - this.hooks.added.call(k) - this._root._activeTasks++ - process.nextTick(() => - this._handleResult(q, new N('Queue was stopped')) - ) - } else { - this._entries.set(P, q) - this._queued.enqueue(q) - const v = this._root - v._needProcessing = true - if (v._willEnsureProcessing === false) { - v._willEnsureProcessing = true - setImmediate(v._ensureProcessing) - } - this.hooks.added.call(k) - } - }) - } - invalidate(k) { - const v = this._getKey(k) - const E = this._entries.get(v) - this._entries.delete(v) - if (E.state === ae) { - this._queued.delete(E) - } - } - waitFor(k, v) { - const E = this._getKey(k) - const P = this._entries.get(E) - if (P === undefined) { - return v( - new N('waitFor can only be called for an already started item') - ) - } - if (P.state === pe) { - process.nextTick(() => v(P.error, P.result)) - } else if (P.callbacks === undefined) { - P.callbacks = [v] - } else { - P.callbacks.push(v) - } - } - stop() { - this._stopped = true - const k = this._queued - this._queued = new q() - const v = this._root - for (const E of k) { - this._entries.delete(this._getKey(E.item)) - v._activeTasks++ - this._handleResult(E, new N('Queue was stopped')) - } - } - increaseParallelism() { - const k = this._root - k._parallelism++ - if (k._willEnsureProcessing === false && k._needProcessing) { - k._willEnsureProcessing = true - setImmediate(k._ensureProcessing) - } - } - decreaseParallelism() { - const k = this._root - k._parallelism-- - } - isProcessing(k) { - const v = this._getKey(k) - const E = this._entries.get(v) - return E !== undefined && E.state === le - } - isQueued(k) { - const v = this._getKey(k) - const E = this._entries.get(v) - return E !== undefined && E.state === ae - } - isDone(k) { - const v = this._getKey(k) - const E = this._entries.get(v) - return E !== undefined && E.state === pe - } - _ensureProcessing() { - while (this._activeTasks < this._parallelism) { - const k = this._queued.dequeue() - if (k === undefined) break - this._activeTasks++ - k.state = le - this._startProcessing(k) - } - this._willEnsureProcessing = false - if (this._queued.length > 0) return - if (this._children !== undefined) { - for (const k of this._children) { - while (this._activeTasks < this._parallelism) { - const v = k._queued.dequeue() - if (v === undefined) break - this._activeTasks++ - v.state = le - k._startProcessing(v) - } - if (k._queued.length > 0) return - } - } - if (!this._willEnsureProcessing) this._needProcessing = false - } - _startProcessing(k) { - this.hooks.beforeStart.callAsync(k.item, (v) => { - if (v) { - this._handleResult( - k, - L(v, `AsyncQueue(${this._name}).hooks.beforeStart`) - ) - return - } - let E = false - try { - this._processor(k.item, (v, P) => { - E = true - this._handleResult(k, v, P) - }) - } catch (v) { - if (E) throw v - this._handleResult(k, v, null) - } - this.hooks.started.call(k.item) - }) - } - _handleResult(k, v, E) { - this.hooks.result.callAsync(k.item, v, E, (P) => { - const R = P ? L(P, `AsyncQueue(${this._name}).hooks.result`) : v - const N = k.callback - const q = k.callbacks - k.state = pe - k.callback = undefined - k.callbacks = undefined - k.result = E - k.error = R - const ae = this._root - ae._activeTasks-- - if (ae._willEnsureProcessing === false && ae._needProcessing) { - ae._willEnsureProcessing = true - setImmediate(ae._ensureProcessing) - } - if (me++ > 3) { - process.nextTick(() => { - N(R, E) - if (q !== undefined) { - for (const k of q) { - k(R, E) - } - } - }) - } else { - N(R, E) - if (q !== undefined) { - for (const k of q) { - k(R, E) - } - } - } - me-- - }) - } - clear() { - this._entries.clear() - this._queued.clear() - this._activeTasks = 0 - this._willEnsureProcessing = false - this._needProcessing = false - this._stopped = false - } - } - k.exports = AsyncQueue - }, - 40466: function (k, v, E) { - 'use strict' - class Hash { - update(k, v) { - const P = E(60386) - throw new P() - } - digest(k) { - const v = E(60386) - throw new v() - } - } - k.exports = Hash - }, - 54480: function (k, v) { - 'use strict' - const last = (k) => { - let v - for (const E of k) v = E - return v - } - const someInIterable = (k, v) => { - for (const E of k) { - if (v(E)) return true - } - return false - } - const countIterable = (k) => { - let v = 0 - for (const E of k) v++ - return v - } - v.last = last - v.someInIterable = someInIterable - v.countIterable = countIterable - }, - 50680: function (k, v, E) { - 'use strict' - const { first: P } = E(59959) - const R = E(46081) - class LazyBucketSortedSet { - constructor(k, v, ...E) { - this._getKey = k - this._innerArgs = E - this._leaf = E.length <= 1 - this._keys = new R(undefined, v) - this._map = new Map() - this._unsortedItems = new Set() - this.size = 0 - } - add(k) { - this.size++ - this._unsortedItems.add(k) - } - _addInternal(k, v) { - let E = this._map.get(k) - if (E === undefined) { - E = this._leaf - ? new R(undefined, this._innerArgs[0]) - : new LazyBucketSortedSet(...this._innerArgs) - this._keys.add(k) - this._map.set(k, E) - } - E.add(v) - } - delete(k) { - this.size-- - if (this._unsortedItems.has(k)) { - this._unsortedItems.delete(k) - return - } - const v = this._getKey(k) - const E = this._map.get(v) - E.delete(k) - if (E.size === 0) { - this._deleteKey(v) - } - } - _deleteKey(k) { - this._keys.delete(k) - this._map.delete(k) - } - popFirst() { - if (this.size === 0) return undefined - this.size-- - if (this._unsortedItems.size > 0) { - for (const k of this._unsortedItems) { - const v = this._getKey(k) - this._addInternal(v, k) - } - this._unsortedItems.clear() - } - this._keys.sort() - const k = P(this._keys) - const v = this._map.get(k) - if (this._leaf) { - const E = v - E.sort() - const R = P(E) - E.delete(R) - if (E.size === 0) { - this._deleteKey(k) - } - return R - } else { - const E = v - const P = E.popFirst() - if (E.size === 0) { - this._deleteKey(k) - } - return P - } - } - startUpdate(k) { - if (this._unsortedItems.has(k)) { - return (v) => { - if (v) { - this._unsortedItems.delete(k) - this.size-- - return - } - } - } - const v = this._getKey(k) - if (this._leaf) { - const E = this._map.get(v) - return (P) => { - if (P) { - this.size-- - E.delete(k) - if (E.size === 0) { - this._deleteKey(v) - } - return - } - const R = this._getKey(k) - if (v === R) { - E.add(k) - } else { - E.delete(k) - if (E.size === 0) { - this._deleteKey(v) - } - this._addInternal(R, k) - } - } - } else { - const E = this._map.get(v) - const P = E.startUpdate(k) - return (R) => { - if (R) { - this.size-- - P(true) - if (E.size === 0) { - this._deleteKey(v) - } - return - } - const L = this._getKey(k) - if (v === L) { - P() - } else { - P(true) - if (E.size === 0) { - this._deleteKey(v) - } - this._addInternal(L, k) - } - } - } - } - _appendIterators(k) { - if (this._unsortedItems.size > 0) - k.push(this._unsortedItems[Symbol.iterator]()) - for (const v of this._keys) { - const E = this._map.get(v) - if (this._leaf) { - const v = E - const P = v[Symbol.iterator]() - k.push(P) - } else { - const v = E - v._appendIterators(k) - } - } - } - [Symbol.iterator]() { - const k = [] - this._appendIterators(k) - k.reverse() - let v = k.pop() - return { - next: () => { - const E = v.next() - if (E.done) { - if (k.length === 0) return E - v = k.pop() - return v.next() - } - return E - }, - } - } - } - k.exports = LazyBucketSortedSet - }, - 12359: function (k, v, E) { - 'use strict' - const P = E(58528) - const merge = (k, v) => { - for (const E of v) { - for (const v of E) { - k.add(v) - } - } - } - const flatten = (k, v) => { - for (const E of v) { - if (E._set.size > 0) k.add(E._set) - if (E._needMerge) { - for (const v of E._toMerge) { - k.add(v) - } - flatten(k, E._toDeepMerge) - } - } - } - class LazySet { - constructor(k) { - this._set = new Set(k) - this._toMerge = new Set() - this._toDeepMerge = [] - this._needMerge = false - this._deopt = false - } - _flatten() { - flatten(this._toMerge, this._toDeepMerge) - this._toDeepMerge.length = 0 - } - _merge() { - this._flatten() - merge(this._set, this._toMerge) - this._toMerge.clear() - this._needMerge = false - } - _isEmpty() { - return ( - this._set.size === 0 && - this._toMerge.size === 0 && - this._toDeepMerge.length === 0 - ) - } - get size() { - if (this._needMerge) this._merge() - return this._set.size - } - add(k) { - this._set.add(k) - return this - } - addAll(k) { - if (this._deopt) { - const v = this._set - for (const E of k) { - v.add(E) - } - } else { - if (k instanceof LazySet) { - if (k._isEmpty()) return this - this._toDeepMerge.push(k) - this._needMerge = true - if (this._toDeepMerge.length > 1e5) { - this._flatten() - } - } else { - this._toMerge.add(k) - this._needMerge = true - } - 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(k) { - if (this._needMerge) this._merge() - return this._set.delete(k) - } - entries() { - this._deopt = true - if (this._needMerge) this._merge() - return this._set.entries() - } - forEach(k, v) { - this._deopt = true - if (this._needMerge) this._merge() - this._set.forEach(k, v) - } - has(k) { - if (this._needMerge) this._merge() - return this._set.has(k) - } - 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: k }) { - if (this._needMerge) this._merge() - k(this._set.size) - for (const v of this._set) k(v) - } - static deserialize({ read: k }) { - const v = k() - const E = [] - for (let P = 0; P < v; P++) { - E.push(k()) - } - return new LazySet(E) - } - } - P(LazySet, 'webpack/lib/util/LazySet') - k.exports = LazySet - }, - 47978: function (k, v) { - 'use strict' - v.getOrInsert = (k, v, E) => { - const P = k.get(v) - if (P !== undefined) return P - const R = E() - k.set(v, R) - return R - } - }, - 99593: function (k, v, E) { - 'use strict' - const P = E(43759) - class ParallelismFactorCalculator { - constructor() { - this._rangePoints = [] - this._rangeCallbacks = [] - } - range(k, v, E) { - if (k === v) return E(1) - this._rangePoints.push(k) - this._rangePoints.push(v) - this._rangeCallbacks.push(E) - } - calculate() { - const k = Array.from(new Set(this._rangePoints)).sort((k, v) => - k < v ? -1 : 1 - ) - const v = k.map(() => 0) - const E = [] - for (let R = 0; R < this._rangePoints.length; R += 2) { - const L = this._rangePoints[R] - const N = this._rangePoints[R + 1] - let q = P.eq(k, L) - E.push(q) - do { - v[q]++ - q++ - } while (k[q] < N) - } - for (let P = 0; P < this._rangeCallbacks.length; P++) { - const R = this._rangePoints[P * 2] - const L = this._rangePoints[P * 2 + 1] - let N = E[P] - let q = 0 - let ae = 0 - let le = R - do { - const E = v[N] - N++ - const P = k[N] - le - ae += P - le = k[N] - q += E * P - } while (le < L) - this._rangeCallbacks[P](q / ae) - } - } - } - k.exports = ParallelismFactorCalculator - }, - 28226: function (k) { - 'use strict' - class Queue { - constructor(k) { - this._set = new Set(k) - this._iterator = this._set[Symbol.iterator]() - } - get length() { - return this._set.size - } - enqueue(k) { - this._set.add(k) - } - dequeue() { - const k = this._iterator.next() - if (k.done) return undefined - this._set.delete(k.value) - return k.value - } - } - k.exports = Queue - }, - 59959: function (k, v) { - 'use strict' - const intersect = (k) => { - if (k.length === 0) return new Set() - if (k.length === 1) return new Set(k[0]) - let v = Infinity - let E = -1 - for (let P = 0; P < k.length; P++) { - const R = k[P].size - if (R < v) { - E = P - v = R - } - } - const P = new Set(k[E]) - for (let v = 0; v < k.length; v++) { - if (v === E) continue - const R = k[v] - for (const k of P) { - if (!R.has(k)) { - P.delete(k) - } - } - } - return P - } - const isSubset = (k, v) => { - if (k.size < v.size) return false - for (const E of v) { - if (!k.has(E)) return false - } - return true - } - const find = (k, v) => { - for (const E of k) { - if (v(E)) return E - } - } - const first = (k) => { - const v = k.values().next() - return v.done ? undefined : v.value - } - const combine = (k, v) => { - if (v.size === 0) return k - if (k.size === 0) return v - const E = new Set(k) - for (const k of v) E.add(k) - return E - } - v.intersect = intersect - v.isSubset = isSubset - v.find = find - v.first = first - v.combine = combine - }, - 46081: function (k) { - 'use strict' - const v = Symbol('not sorted') - class SortableSet extends Set { - constructor(k, E) { - super(k) - this._sortFn = E - this._lastActiveSortFn = v - this._cache = undefined - this._cacheOrderIndependent = undefined - } - add(k) { - this._lastActiveSortFn = v - this._invalidateCache() - this._invalidateOrderedCache() - super.add(k) - return this - } - delete(k) { - this._invalidateCache() - this._invalidateOrderedCache() - return super.delete(k) - } - clear() { - this._invalidateCache() - this._invalidateOrderedCache() - return super.clear() - } - sortWith(k) { - if (this.size <= 1 || k === this._lastActiveSortFn) { - return - } - const v = Array.from(this).sort(k) - super.clear() - for (let k = 0; k < v.length; k += 1) { - super.add(v[k]) - } - this._lastActiveSortFn = k - this._invalidateCache() - } - sort() { - this.sortWith(this._sortFn) - return this - } - getFromCache(k) { - if (this._cache === undefined) { - this._cache = new Map() - } else { - const v = this._cache.get(k) - const E = v - if (E !== undefined) { - return E - } - } - const v = k(this) - this._cache.set(k, v) - return v - } - getFromUnorderedCache(k) { - if (this._cacheOrderIndependent === undefined) { - this._cacheOrderIndependent = new Map() - } else { - const v = this._cacheOrderIndependent.get(k) - const E = v - if (E !== undefined) { - return E - } - } - const v = k(this) - this._cacheOrderIndependent.set(k, v) - return v - } - _invalidateCache() { - if (this._cache !== undefined) { - this._cache.clear() - } - } - _invalidateOrderedCache() { - if (this._cacheOrderIndependent !== undefined) { - this._cacheOrderIndependent.clear() - } - } - toJSON() { - return Array.from(this) - } - } - k.exports = SortableSet - }, - 11333: function (k) { - 'use strict' - class StackedCacheMap { - constructor() { - this.map = new Map() - this.stack = [] - } - addAll(k, v) { - if (v) { - this.stack.push(k) - for (let v = this.stack.length - 1; v > 0; v--) { - const E = this.stack[v - 1] - if (E.size >= k.size) break - this.stack[v] = E - this.stack[v - 1] = k - } - } else { - for (const [v, E] of k) { - this.map.set(v, E) - } - } - } - set(k, v) { - this.map.set(k, v) - } - delete(k) { - throw new Error("Items can't be deleted from a StackedCacheMap") - } - has(k) { - throw new Error( - 'Checking StackedCacheMap.has before reading is inefficient, use StackedCacheMap.get and check for undefined' - ) - } - get(k) { - for (const v of this.stack) { - const E = v.get(k) - if (E !== undefined) return E - } - return this.map.get(k) - } - clear() { - this.stack.length = 0 - this.map.clear() - } - get size() { - let k = this.map.size - for (const v of this.stack) { - k += v.size - } - return k - } - [Symbol.iterator]() { - const k = this.stack.map((k) => k[Symbol.iterator]()) - let v = this.map[Symbol.iterator]() - return { - next() { - let E = v.next() - while (E.done && k.length > 0) { - v = k.pop() - E = v.next() - } - return E - }, - } - } - } - k.exports = StackedCacheMap - }, - 25728: function (k) { - 'use strict' - const v = Symbol('tombstone') - const E = Symbol('undefined') - const extractPair = (k) => { - const P = k[0] - const R = k[1] - if (R === E || R === v) { - return [P, undefined] - } else { - return k - } - } - class StackedMap { - constructor(k) { - this.map = new Map() - this.stack = k === undefined ? [] : k.slice() - this.stack.push(this.map) - } - set(k, v) { - this.map.set(k, v === undefined ? E : v) - } - delete(k) { - if (this.stack.length > 1) { - this.map.set(k, v) - } else { - this.map.delete(k) - } - } - has(k) { - const E = this.map.get(k) - if (E !== undefined) { - return E !== v - } - if (this.stack.length > 1) { - for (let E = this.stack.length - 2; E >= 0; E--) { - const P = this.stack[E].get(k) - if (P !== undefined) { - this.map.set(k, P) - return P !== v - } - } - this.map.set(k, v) - } - return false - } - get(k) { - const P = this.map.get(k) - if (P !== undefined) { - return P === v || P === E ? undefined : P - } - if (this.stack.length > 1) { - for (let P = this.stack.length - 2; P >= 0; P--) { - const R = this.stack[P].get(k) - if (R !== undefined) { - this.map.set(k, R) - return R === v || R === E ? undefined : R - } - } - this.map.set(k, v) - } - return undefined - } - _compress() { - if (this.stack.length === 1) return - this.map = new Map() - for (const k of this.stack) { - for (const E of k) { - if (E[1] === v) { - this.map.delete(E[0]) - } else { - this.map.set(E[0], E[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(), extractPair) - } - asMap() { - return new Map(this.asPairArray()) - } - get size() { - this._compress() - return this.map.size - } - createChild() { - return new StackedMap(this.stack) - } - } - k.exports = StackedMap - }, - 96181: function (k) { - 'use strict' - class StringXor { - constructor() { - this._value = undefined - } - add(k) { - const v = k.length - const E = this._value - if (E === undefined) { - const E = (this._value = Buffer.allocUnsafe(v)) - for (let P = 0; P < v; P++) { - E[P] = k.charCodeAt(P) - } - return - } - const P = E.length - if (P < v) { - const R = (this._value = Buffer.allocUnsafe(v)) - let L - for (L = 0; L < P; L++) { - R[L] = E[L] ^ k.charCodeAt(L) - } - for (; L < v; L++) { - R[L] = k.charCodeAt(L) - } - } else { - for (let P = 0; P < v; P++) { - E[P] = E[P] ^ k.charCodeAt(P) - } - } - } - toString() { - const k = this._value - return k === undefined ? '' : k.toString('latin1') - } - updateHash(k) { - const v = this._value - if (v !== undefined) k.update(v) - } - } - k.exports = StringXor - }, - 19361: function (k, v, E) { - 'use strict' - const P = E(71307) - class TupleQueue { - constructor(k) { - this._set = new P(k) - this._iterator = this._set[Symbol.iterator]() - } - get length() { - return this._set.size - } - enqueue(...k) { - this._set.add(...k) - } - dequeue() { - const k = this._iterator.next() - if (k.done) { - if (this._set.size > 0) { - this._iterator = this._set[Symbol.iterator]() - const k = this._iterator.next().value - this._set.delete(...k) - return k - } - return undefined - } - this._set.delete(...k.value) - return k.value - } - } - k.exports = TupleQueue - }, - 71307: function (k) { - 'use strict' - class TupleSet { - constructor(k) { - this._map = new Map() - this.size = 0 - if (k) { - for (const v of k) { - this.add(...v) - } - } - } - add(...k) { - let v = this._map - for (let E = 0; E < k.length - 2; E++) { - const P = k[E] - const R = v.get(P) - if (R === undefined) { - v.set(P, (v = new Map())) - } else { - v = R - } - } - const E = k[k.length - 2] - let P = v.get(E) - if (P === undefined) { - v.set(E, (P = new Set())) - } - const R = k[k.length - 1] - this.size -= P.size - P.add(R) - this.size += P.size - } - has(...k) { - let v = this._map - for (let E = 0; E < k.length - 2; E++) { - const P = k[E] - v = v.get(P) - if (v === undefined) { - return false - } - } - const E = k[k.length - 2] - let P = v.get(E) - if (P === undefined) { - return false - } - const R = k[k.length - 1] - return P.has(R) - } - delete(...k) { - let v = this._map - for (let E = 0; E < k.length - 2; E++) { - const P = k[E] - v = v.get(P) - if (v === undefined) { - return - } - } - const E = k[k.length - 2] - let P = v.get(E) - if (P === undefined) { - return - } - const R = k[k.length - 1] - this.size -= P.size - P.delete(R) - this.size += P.size - } - [Symbol.iterator]() { - const k = [] - const v = [] - let E = undefined - const next = (P) => { - const R = P.next() - if (R.done) { - if (k.length === 0) return false - v.pop() - return next(k.pop()) - } - const [L, N] = R.value - k.push(P) - v.push(L) - if (N instanceof Set) { - E = N[Symbol.iterator]() - return true - } else { - return next(N[Symbol.iterator]()) - } - } - next(this._map[Symbol.iterator]()) - return { - next() { - while (E) { - const P = E.next() - if (P.done) { - v.pop() - if (!next(k.pop())) { - E = undefined - } - } else { - return { done: false, value: v.concat(P.value) } - } - } - return { done: true, value: undefined } - }, - } - } - } - k.exports = TupleSet - }, - 78296: function (k, v) { - 'use strict' - const E = '\\'.charCodeAt(0) - const P = '/'.charCodeAt(0) - const R = 'a'.charCodeAt(0) - const L = 'z'.charCodeAt(0) - const N = 'A'.charCodeAt(0) - const q = 'Z'.charCodeAt(0) - const ae = '0'.charCodeAt(0) - const le = '9'.charCodeAt(0) - const pe = '+'.charCodeAt(0) - const me = '-'.charCodeAt(0) - const ye = ':'.charCodeAt(0) - const _e = '#'.charCodeAt(0) - const Ie = '?'.charCodeAt(0) - function getScheme(k) { - const v = k.charCodeAt(0) - if ((v < R || v > L) && (v < N || v > q)) { - return undefined - } - let Me = 1 - let Te = k.charCodeAt(Me) - while ( - (Te >= R && Te <= L) || - (Te >= N && Te <= q) || - (Te >= ae && Te <= le) || - Te === pe || - Te === me - ) { - if (++Me === k.length) return undefined - Te = k.charCodeAt(Me) - } - if (Te !== ye) return undefined - if (Me === 1) { - const v = Me + 1 < k.length ? k.charCodeAt(Me + 1) : 0 - if (v === 0 || v === E || v === P || v === _e || v === Ie) { - return undefined - } - } - return k.slice(0, Me).toLowerCase() - } - function getProtocol(k) { - const v = getScheme(k) - return v === undefined ? undefined : v + ':' - } - v.getScheme = getScheme - v.getProtocol = getProtocol - }, - 69752: function (k) { - 'use strict' - const isWeakKey = (k) => typeof k === 'object' && k !== null - class WeakTupleMap { - constructor() { - this.f = 0 - this.v = undefined - this.m = undefined - this.w = undefined - } - set(...k) { - let v = this - for (let E = 0; E < k.length - 1; E++) { - v = v._get(k[E]) - } - v._setValue(k[k.length - 1]) - } - has(...k) { - let v = this - for (let E = 0; E < k.length; E++) { - v = v._peek(k[E]) - if (v === undefined) return false - } - return v._hasValue() - } - get(...k) { - let v = this - for (let E = 0; E < k.length; E++) { - v = v._peek(k[E]) - if (v === undefined) return undefined - } - return v._getValue() - } - provide(...k) { - let v = this - for (let E = 0; E < k.length - 1; E++) { - v = v._get(k[E]) - } - if (v._hasValue()) return v._getValue() - const E = k[k.length - 1] - const P = E(...k.slice(0, -1)) - v._setValue(P) - return P - } - delete(...k) { - let v = this - for (let E = 0; E < k.length; E++) { - v = v._peek(k[E]) - if (v === undefined) return - } - v._deleteValue() - } - clear() { - this.f = 0 - this.v = undefined - this.w = undefined - this.m = undefined - } - _getValue() { - return this.v - } - _hasValue() { - return (this.f & 1) === 1 - } - _setValue(k) { - this.f |= 1 - this.v = k - } - _deleteValue() { - this.f &= 6 - this.v = undefined - } - _peek(k) { - if (isWeakKey(k)) { - if ((this.f & 4) !== 4) return undefined - return this.w.get(k) - } else { - if ((this.f & 2) !== 2) return undefined - return this.m.get(k) - } - } - _get(k) { - if (isWeakKey(k)) { - if ((this.f & 4) !== 4) { - const v = new WeakMap() - this.f |= 4 - const E = new WeakTupleMap() - ;(this.w = v).set(k, E) - return E - } - const v = this.w.get(k) - if (v !== undefined) { - return v - } - const E = new WeakTupleMap() - this.w.set(k, E) - return E - } else { - if ((this.f & 2) !== 2) { - const v = new Map() - this.f |= 2 - const E = new WeakTupleMap() - ;(this.m = v).set(k, E) - return E - } - const v = this.m.get(k) - if (v !== undefined) { - return v - } - const E = new WeakTupleMap() - this.m.set(k, E) - return E - } - } - } - k.exports = WeakTupleMap - }, - 43759: function (k) { - 'use strict' - const compileSearch = (k, v, E, P, R) => { - const L = [ - 'function ', - k, - '(a,l,h,', - P.join(','), - '){', - R ? '' : 'var i=', - E ? 'l-1' : 'h+1', - ';while(l<=h){var m=(l+h)>>>1,x=a[m]', - ] - if (R) { - if (v.indexOf('c') < 0) { - L.push(';if(x===y){return m}else if(x<=y){') - } else { - L.push(';var p=c(x,y);if(p===0){return m}else if(p<=0){') - } - } else { - L.push(';if(', v, '){i=m;') - } - if (E) { - L.push('l=m+1}else{h=m-1}') - } else { - L.push('h=m-1}else{l=m+1}') - } - L.push('}') - if (R) { - L.push('return -1};') - } else { - L.push('return i};') - } - return L.join('') - } - const compileBoundsSearch = (k, v, E, P) => { - const R = compileSearch('A', 'x' + k + 'y', v, ['y'], P) - const L = compileSearch('P', 'c(x,y)' + k + '0', v, ['y', 'c'], P) - const N = 'function dispatchBinarySearch' - const q = - "(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch" - const ae = [R, L, N, E, q, E] - const le = ae.join('') - const pe = new Function(le) - return pe() - } - k.exports = { - ge: compileBoundsSearch('>=', false, 'GE'), - gt: compileBoundsSearch('>', false, 'GT'), - lt: compileBoundsSearch('<', true, 'LT'), - le: compileBoundsSearch('<=', true, 'LE'), - eq: compileBoundsSearch('-', true, 'EQ', true), - } - }, - 99454: function (k, v) { - 'use strict' - const E = new WeakMap() - const P = new WeakMap() - const R = Symbol('DELETE') - const L = Symbol('cleverMerge dynamic info') - const cachedCleverMerge = (k, v) => { - if (v === undefined) return k - if (k === undefined) return v - if (typeof v !== 'object' || v === null) return v - if (typeof k !== 'object' || k === null) return k - let P = E.get(k) - if (P === undefined) { - P = new WeakMap() - E.set(k, P) - } - const R = P.get(v) - if (R !== undefined) return R - const L = _cleverMerge(k, v, true) - P.set(v, L) - return L - } - const cachedSetProperty = (k, v, E) => { - let R = P.get(k) - if (R === undefined) { - R = new Map() - P.set(k, R) - } - let L = R.get(v) - if (L === undefined) { - L = new Map() - R.set(v, L) - } - let N = L.get(E) - if (N) return N - N = { ...k, [v]: E } - L.set(E, N) - return N - } - const N = new WeakMap() - const cachedParseObject = (k) => { - const v = N.get(k) - if (v !== undefined) return v - const E = parseObject(k) - N.set(k, E) - return E - } - const parseObject = (k) => { - const v = new Map() - let E - const getInfo = (k) => { - const E = v.get(k) - if (E !== undefined) return E - const P = { - base: undefined, - byProperty: undefined, - byValues: undefined, - } - v.set(k, P) - return P - } - for (const v of Object.keys(k)) { - if (v.startsWith('by')) { - const P = v - const R = k[P] - if (typeof R === 'object') { - for (const k of Object.keys(R)) { - const v = R[k] - for (const E of Object.keys(v)) { - const L = getInfo(E) - if (L.byProperty === undefined) { - L.byProperty = P - L.byValues = new Map() - } else if (L.byProperty !== P) { - throw new Error( - `${P} and ${L.byProperty} for a single property is not supported` - ) - } - L.byValues.set(k, v[E]) - if (k === 'default') { - for (const k of Object.keys(R)) { - if (!L.byValues.has(k)) L.byValues.set(k, undefined) - } - } - } - } - } else if (typeof R === 'function') { - if (E === undefined) { - E = { byProperty: v, fn: R } - } else { - throw new Error( - `${v} and ${E.byProperty} when both are functions is not supported` - ) - } - } else { - const E = getInfo(v) - E.base = k[v] - } - } else { - const E = getInfo(v) - E.base = k[v] - } - } - return { static: v, dynamic: E } - } - const serializeObject = (k, v) => { - const E = {} - for (const v of k.values()) { - if (v.byProperty !== undefined) { - const k = (E[v.byProperty] = E[v.byProperty] || {}) - for (const E of v.byValues.keys()) { - k[E] = k[E] || {} - } - } - } - for (const [v, P] of k) { - if (P.base !== undefined) { - E[v] = P.base - } - if (P.byProperty !== undefined) { - const k = (E[P.byProperty] = E[P.byProperty] || {}) - for (const E of Object.keys(k)) { - const R = getFromByValues(P.byValues, E) - if (R !== undefined) k[E][v] = R - } - } - } - if (v !== undefined) { - E[v.byProperty] = v.fn - } - return E - } - const q = 0 - const ae = 1 - const le = 2 - const pe = 3 - const me = 4 - const getValueType = (k) => { - if (k === undefined) { - return q - } else if (k === R) { - return me - } else if (Array.isArray(k)) { - if (k.lastIndexOf('...') !== -1) return le - return ae - } else if ( - typeof k === 'object' && - k !== null && - (!k.constructor || k.constructor === Object) - ) { - return pe - } - return ae - } - const cleverMerge = (k, v) => { - if (v === undefined) return k - if (k === undefined) return v - if (typeof v !== 'object' || v === null) return v - if (typeof k !== 'object' || k === null) return k - return _cleverMerge(k, v, false) - } - const _cleverMerge = (k, v, E = false) => { - const P = E ? cachedParseObject(k) : parseObject(k) - const { static: R, dynamic: N } = P - if (N !== undefined) { - let { byProperty: k, fn: R } = N - const q = R[L] - if (q) { - v = E ? cachedCleverMerge(q[1], v) : cleverMerge(q[1], v) - R = q[0] - } - const newFn = (...k) => { - const P = R(...k) - return E ? cachedCleverMerge(P, v) : cleverMerge(P, v) - } - newFn[L] = [R, v] - return serializeObject(P.static, { byProperty: k, fn: newFn }) - } - const q = E ? cachedParseObject(v) : parseObject(v) - const { static: ae, dynamic: le } = q - const pe = new Map() - for (const [k, v] of R) { - const P = ae.get(k) - const R = P !== undefined ? mergeEntries(v, P, E) : v - pe.set(k, R) - } - for (const [k, v] of ae) { - if (!R.has(k)) { - pe.set(k, v) - } - } - return serializeObject(pe, le) - } - const mergeEntries = (k, v, E) => { - switch (getValueType(v.base)) { - case ae: - case me: - return v - case q: - if (!k.byProperty) { - return { - base: k.base, - byProperty: v.byProperty, - byValues: v.byValues, - } - } else if (k.byProperty !== v.byProperty) { - throw new Error( - `${k.byProperty} and ${v.byProperty} for a single property is not supported` - ) - } else { - const P = new Map(k.byValues) - for (const [R, L] of v.byValues) { - const v = getFromByValues(k.byValues, R) - P.set(R, mergeSingleValue(v, L, E)) - } - return { base: k.base, byProperty: k.byProperty, byValues: P } - } - default: { - if (!k.byProperty) { - return { - base: mergeSingleValue(k.base, v.base, E), - byProperty: v.byProperty, - byValues: v.byValues, - } - } - let P - const R = new Map(k.byValues) - for (const [k, P] of R) { - R.set(k, mergeSingleValue(P, v.base, E)) - } - if ( - Array.from(k.byValues.values()).every((k) => { - const v = getValueType(k) - return v === ae || v === me - }) - ) { - P = mergeSingleValue(k.base, v.base, E) - } else { - P = k.base - if (!R.has('default')) R.set('default', v.base) - } - if (!v.byProperty) { - return { base: P, byProperty: k.byProperty, byValues: R } - } else if (k.byProperty !== v.byProperty) { - throw new Error( - `${k.byProperty} and ${v.byProperty} for a single property is not supported` - ) - } - const L = new Map(R) - for (const [k, P] of v.byValues) { - const v = getFromByValues(R, k) - L.set(k, mergeSingleValue(v, P, E)) - } - return { base: P, byProperty: k.byProperty, byValues: L } - } - } - } - const getFromByValues = (k, v) => { - if (v !== 'default' && k.has(v)) { - return k.get(v) - } - return k.get('default') - } - const mergeSingleValue = (k, v, E) => { - const P = getValueType(v) - const R = getValueType(k) - switch (P) { - case me: - case ae: - return v - case pe: { - return R !== pe - ? v - : E - ? cachedCleverMerge(k, v) - : cleverMerge(k, v) - } - case q: - return k - case le: - switch (R !== ae ? R : Array.isArray(k) ? le : pe) { - case q: - return v - case me: - return v.filter((k) => k !== '...') - case le: { - const E = [] - for (const P of v) { - if (P === '...') { - for (const v of k) { - E.push(v) - } - } else { - E.push(P) - } - } - return E - } - case pe: - return v.map((v) => (v === '...' ? k : v)) - default: - throw new Error('Not implemented') - } - default: - throw new Error('Not implemented') - } - } - const removeOperations = (k) => { - const v = {} - for (const E of Object.keys(k)) { - const P = k[E] - const R = getValueType(P) - switch (R) { - case q: - case me: - break - case pe: - v[E] = removeOperations(P) - break - case le: - v[E] = P.filter((k) => k !== '...') - break - default: - v[E] = P - break - } - } - return v - } - const resolveByProperty = (k, v, ...E) => { - if (typeof k !== 'object' || k === null || !(v in k)) { - return k - } - const { [v]: P, ...R } = k - const L = R - const N = P - if (typeof N === 'object') { - const k = E[0] - if (k in N) { - return cachedCleverMerge(L, N[k]) - } else if ('default' in N) { - return cachedCleverMerge(L, N.default) - } else { - return L - } - } else if (typeof N === 'function') { - const k = N.apply(null, E) - return cachedCleverMerge(L, resolveByProperty(k, v, ...E)) - } - } - v.cachedSetProperty = cachedSetProperty - v.cachedCleverMerge = cachedCleverMerge - v.cleverMerge = cleverMerge - v.resolveByProperty = resolveByProperty - v.removeOperations = removeOperations - v.DELETE = R - }, - 95648: function (k, v, E) { - 'use strict' - const { compareRuntime: P } = E(1540) - const createCachedParameterizedComparator = (k) => { - const v = new WeakMap() - return (E) => { - const P = v.get(E) - if (P !== undefined) return P - const R = k.bind(null, E) - v.set(E, R) - return R - } - } - v.compareChunksById = (k, v) => compareIds(k.id, v.id) - v.compareModulesByIdentifier = (k, v) => - compareIds(k.identifier(), v.identifier()) - const compareModulesById = (k, v, E) => - compareIds(k.getModuleId(v), k.getModuleId(E)) - v.compareModulesById = - createCachedParameterizedComparator(compareModulesById) - const compareNumbers = (k, v) => { - if (typeof k !== typeof v) { - return typeof k < typeof v ? -1 : 1 - } - if (k < v) return -1 - if (k > v) return 1 - return 0 - } - v.compareNumbers = compareNumbers - const compareStringsNumeric = (k, v) => { - const E = k.split(/(\d+)/) - const P = v.split(/(\d+)/) - const R = Math.min(E.length, P.length) - for (let k = 0; k < R; k++) { - const v = E[k] - const R = P[k] - if (k % 2 === 0) { - if (v.length > R.length) { - if (v.slice(0, R.length) > R) return 1 - return -1 - } else if (R.length > v.length) { - if (R.slice(0, v.length) > v) return -1 - return 1 - } else { - if (v < R) return -1 - if (v > R) return 1 - } - } else { - const k = +v - const E = +R - if (k < E) return -1 - if (k > E) return 1 - } - } - if (P.length < E.length) return 1 - if (P.length > E.length) return -1 - return 0 - } - v.compareStringsNumeric = compareStringsNumeric - const compareModulesByPostOrderIndexOrIdentifier = (k, v, E) => { - const P = compareNumbers(k.getPostOrderIndex(v), k.getPostOrderIndex(E)) - if (P !== 0) return P - return compareIds(v.identifier(), E.identifier()) - } - v.compareModulesByPostOrderIndexOrIdentifier = - createCachedParameterizedComparator( - compareModulesByPostOrderIndexOrIdentifier - ) - const compareModulesByPreOrderIndexOrIdentifier = (k, v, E) => { - const P = compareNumbers(k.getPreOrderIndex(v), k.getPreOrderIndex(E)) - if (P !== 0) return P - return compareIds(v.identifier(), E.identifier()) - } - v.compareModulesByPreOrderIndexOrIdentifier = - createCachedParameterizedComparator( - compareModulesByPreOrderIndexOrIdentifier - ) - const compareModulesByIdOrIdentifier = (k, v, E) => { - const P = compareIds(k.getModuleId(v), k.getModuleId(E)) - if (P !== 0) return P - return compareIds(v.identifier(), E.identifier()) - } - v.compareModulesByIdOrIdentifier = createCachedParameterizedComparator( - compareModulesByIdOrIdentifier - ) - const compareChunks = (k, v, E) => k.compareChunks(v, E) - v.compareChunks = createCachedParameterizedComparator(compareChunks) - const compareIds = (k, v) => { - if (typeof k !== typeof v) { - return typeof k < typeof v ? -1 : 1 - } - if (k < v) return -1 - if (k > v) return 1 - return 0 - } - v.compareIds = compareIds - const compareStrings = (k, v) => { - if (k < v) return -1 - if (k > v) return 1 - return 0 - } - v.compareStrings = compareStrings - const compareChunkGroupsByIndex = (k, v) => (k.index < v.index ? -1 : 1) - v.compareChunkGroupsByIndex = compareChunkGroupsByIndex - class TwoKeyWeakMap { - constructor() { - this._map = new WeakMap() - } - get(k, v) { - const E = this._map.get(k) - if (E === undefined) { - return undefined - } - return E.get(v) - } - set(k, v, E) { - let P = this._map.get(k) - if (P === undefined) { - P = new WeakMap() - this._map.set(k, P) - } - P.set(v, E) - } - } - const R = new TwoKeyWeakMap() - const concatComparators = (k, v, ...E) => { - if (E.length > 0) { - const [P, ...R] = E - return concatComparators(k, concatComparators(v, P, ...R)) - } - const P = R.get(k, v) - if (P !== undefined) return P - const result = (E, P) => { - const R = k(E, P) - if (R !== 0) return R - return v(E, P) - } - R.set(k, v, result) - return result - } - v.concatComparators = concatComparators - const L = new TwoKeyWeakMap() - const compareSelect = (k, v) => { - const E = L.get(k, v) - if (E !== undefined) return E - const result = (E, P) => { - const R = k(E) - const L = k(P) - if (R !== undefined && R !== null) { - if (L !== undefined && L !== null) { - return v(R, L) - } - return -1 - } else { - if (L !== undefined && L !== null) { - return 1 - } - return 0 - } - } - L.set(k, v, result) - return result - } - v.compareSelect = compareSelect - const N = new WeakMap() - const compareIterables = (k) => { - const v = N.get(k) - if (v !== undefined) return v - const result = (v, E) => { - const P = v[Symbol.iterator]() - const R = E[Symbol.iterator]() - while (true) { - const v = P.next() - const E = R.next() - if (v.done) { - return E.done ? 0 : -1 - } else if (E.done) { - return 1 - } - const L = k(v.value, E.value) - if (L !== 0) return L - } - } - N.set(k, result) - return result - } - v.compareIterables = compareIterables - v.keepOriginalOrder = (k) => { - const v = new Map() - let E = 0 - for (const P of k) { - v.set(P, E++) - } - return (k, E) => compareNumbers(v.get(k), v.get(E)) - } - v.compareChunksNatural = (k) => { - const E = v.compareModulesById(k) - const R = compareIterables(E) - return concatComparators( - compareSelect((k) => k.name, compareIds), - compareSelect((k) => k.runtime, P), - compareSelect((v) => k.getOrderedChunkModulesIterable(v, E), R) - ) - } - v.compareLocations = (k, v) => { - let E = typeof k === 'object' && k !== null - let P = typeof v === 'object' && v !== null - if (!E || !P) { - if (E) return 1 - if (P) return -1 - return 0 - } - if ('start' in k) { - if ('start' in v) { - const E = k.start - const P = v.start - if (E.line < P.line) return -1 - if (E.line > P.line) return 1 - if (E.column < P.column) return -1 - if (E.column > P.column) return 1 - } else return -1 - } else if ('start' in v) return 1 - if ('name' in k) { - if ('name' in v) { - if (k.name < v.name) return -1 - if (k.name > v.name) return 1 - } else return -1 - } else if ('name' in v) return 1 - if ('index' in k) { - if ('index' in v) { - if (k.index < v.index) return -1 - if (k.index > v.index) return 1 - } else return -1 - } else if ('index' in v) return 1 - return 0 - } - }, - 21751: function (k) { - 'use strict' - const quoteMeta = (k) => k.replace(/[-[\]\\/{}()*+?.^$|]/g, '\\$&') - const toSimpleString = (k) => { - if (`${+k}` === k) { - return k - } - return JSON.stringify(k) - } - const compileBooleanMatcher = (k) => { - const v = Object.keys(k).filter((v) => k[v]) - const E = Object.keys(k).filter((v) => !k[v]) - if (v.length === 0) return false - if (E.length === 0) return true - return compileBooleanMatcherFromLists(v, E) - } - const compileBooleanMatcherFromLists = (k, v) => { - if (k.length === 0) return () => 'false' - if (v.length === 0) return () => 'true' - if (k.length === 1) return (v) => `${toSimpleString(k[0])} == ${v}` - if (v.length === 1) return (k) => `${toSimpleString(v[0])} != ${k}` - const E = itemsToRegexp(k) - const P = itemsToRegexp(v) - if (E.length <= P.length) { - return (k) => `/^${E}$/.test(${k})` - } else { - return (k) => `!/^${P}$/.test(${k})` - } - } - const popCommonItems = (k, v, E) => { - const P = new Map() - for (const E of k) { - const k = v(E) - if (k) { - let v = P.get(k) - if (v === undefined) { - v = [] - P.set(k, v) - } - v.push(E) - } - } - const R = [] - for (const v of P.values()) { - if (E(v)) { - for (const E of v) { - k.delete(E) - } - R.push(v) - } - } - return R - } - const getCommonPrefix = (k) => { - let v = k[0] - for (let E = 1; E < k.length; E++) { - const P = k[E] - for (let k = 0; k < v.length; k++) { - if (P[k] !== v[k]) { - v = v.slice(0, k) - break - } - } - } - return v - } - const getCommonSuffix = (k) => { - let v = k[0] - for (let E = 1; E < k.length; E++) { - const P = k[E] - for (let k = P.length - 1, E = v.length - 1; E >= 0; k--, E--) { - if (P[k] !== v[E]) { - v = v.slice(E + 1) - break - } - } - } - return v - } - const itemsToRegexp = (k) => { - if (k.length === 1) { - return quoteMeta(k[0]) - } - const v = [] - let E = 0 - for (const v of k) { - if (v.length === 1) { - E++ - } - } - if (E === k.length) { - return `[${quoteMeta(k.sort().join(''))}]` - } - const P = new Set(k.sort()) - if (E > 2) { - let k = '' - for (const v of P) { - if (v.length === 1) { - k += v - P.delete(v) - } - } - v.push(`[${quoteMeta(k)}]`) - } - if (v.length === 0 && P.size === 2) { - const v = getCommonPrefix(k) - const E = getCommonSuffix(k.map((k) => k.slice(v.length))) - if (v.length > 0 || E.length > 0) { - return `${quoteMeta(v)}${itemsToRegexp( - k.map((k) => k.slice(v.length, -E.length || undefined)) - )}${quoteMeta(E)}` - } - } - if (v.length === 0 && P.size === 2) { - const k = P[Symbol.iterator]() - const v = k.next().value - const E = k.next().value - if (v.length > 0 && E.length > 0 && v.slice(-1) === E.slice(-1)) { - return `${itemsToRegexp([ - v.slice(0, -1), - E.slice(0, -1), - ])}${quoteMeta(v.slice(-1))}` - } - } - const R = popCommonItems( - P, - (k) => (k.length >= 1 ? k[0] : false), - (k) => { - if (k.length >= 3) return true - if (k.length <= 1) return false - return k[0][1] === k[1][1] - } - ) - for (const k of R) { - const E = getCommonPrefix(k) - v.push( - `${quoteMeta(E)}${itemsToRegexp(k.map((k) => k.slice(E.length)))}` - ) - } - const L = popCommonItems( - P, - (k) => (k.length >= 1 ? k.slice(-1) : false), - (k) => { - if (k.length >= 3) return true - if (k.length <= 1) return false - return k[0].slice(-2) === k[1].slice(-2) - } - ) - for (const k of L) { - const E = getCommonSuffix(k) - v.push( - `${itemsToRegexp(k.map((k) => k.slice(0, -E.length)))}${quoteMeta( - E - )}` - ) - } - const N = v.concat(Array.from(P, quoteMeta)) - if (N.length === 1) return N[0] - return `(${N.join('|')})` - } - compileBooleanMatcher.fromLists = compileBooleanMatcherFromLists - compileBooleanMatcher.itemsToRegexp = itemsToRegexp - k.exports = compileBooleanMatcher - }, - 92198: function (k, v, E) { - 'use strict' - const P = E(20631) - const R = P(() => E(38476).validate) - const createSchemaValidation = (k, v, L) => { - v = P(v) - return (P) => { - if (k && !k(P)) { - R()(v(), P, L) - if (k) { - E(73837).deprecate( - () => {}, - 'webpack bug: Pre-compiled schema reports error while real schema is happy. This has performance drawbacks.', - 'DEP_WEBPACK_PRE_COMPILED_SCHEMA_INVALID' - )() - } - } - } - } - k.exports = createSchemaValidation - }, - 74012: function (k, v, E) { - 'use strict' - const P = E(40466) - const R = 2e3 - const L = {} - class BulkUpdateDecorator extends P { - constructor(k, v) { - super() - this.hashKey = v - if (typeof k === 'function') { - this.hashFactory = k - this.hash = undefined - } else { - this.hashFactory = undefined - this.hash = k - } - this.buffer = '' - } - update(k, v) { - if (v !== undefined || typeof k !== 'string' || k.length > R) { - if (this.hash === undefined) this.hash = this.hashFactory() - if (this.buffer.length > 0) { - this.hash.update(this.buffer) - this.buffer = '' - } - this.hash.update(k, v) - } else { - this.buffer += k - if (this.buffer.length > R) { - if (this.hash === undefined) this.hash = this.hashFactory() - this.hash.update(this.buffer) - this.buffer = '' - } - } - return this - } - digest(k) { - let v - const E = this.buffer - if (this.hash === undefined) { - const P = `${this.hashKey}-${k}` - v = L[P] - if (v === undefined) { - v = L[P] = new Map() - } - const R = v.get(E) - if (R !== undefined) return R - this.hash = this.hashFactory() - } - if (E.length > 0) { - this.hash.update(E) - } - const P = this.hash.digest(k) - const R = typeof P === 'string' ? P : P.toString() - if (v !== undefined) { - v.set(E, R) - } - return R - } - } - class DebugHash extends P { - constructor() { - super() - this.string = '' - } - update(k, v) { - if (typeof k !== 'string') k = k.toString('utf-8') - const E = Buffer.from('@webpack-debug-digest@').toString('hex') - if (k.startsWith(E)) { - k = Buffer.from(k.slice(E.length), 'hex').toString() - } - this.string += `[${k}](${new Error().stack.split('\n', 3)[2]})\n` - return this - } - digest(k) { - return Buffer.from('@webpack-debug-digest@' + this.string).toString( - 'hex' - ) - } - } - let N = undefined - let q = undefined - let ae = undefined - let le = undefined - k.exports = (k) => { - if (typeof k === 'function') { - return new BulkUpdateDecorator(() => new k()) - } - switch (k) { - case 'debug': - return new DebugHash() - case 'xxhash64': - if (q === undefined) { - q = E(82747) - if (le === undefined) { - le = E(96940) - } - } - return new le(q()) - case 'md4': - if (ae === undefined) { - ae = E(6078) - if (le === undefined) { - le = E(96940) - } - } - return new le(ae()) - case 'native-md4': - if (N === undefined) N = E(6113) - return new BulkUpdateDecorator(() => N.createHash('md4'), 'md4') - default: - if (N === undefined) N = E(6113) - return new BulkUpdateDecorator(() => N.createHash(k), k) - } - } - }, - 61883: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = new Map() - const createDeprecation = (k, v) => { - const E = R.get(k) - if (E !== undefined) return E - const L = P.deprecate(() => {}, k, 'DEP_WEBPACK_DEPRECATION_' + v) - R.set(k, L) - return L - } - const L = [ - 'concat', - 'entry', - 'filter', - 'find', - 'findIndex', - 'includes', - 'indexOf', - 'join', - 'lastIndexOf', - 'map', - 'reduce', - 'reduceRight', - 'slice', - 'some', - ] - const N = [ - 'copyWithin', - 'entries', - 'fill', - 'keys', - 'pop', - 'reverse', - 'shift', - 'splice', - 'sort', - 'unshift', - ] - v.arrayToSetDeprecation = (k, v) => { - for (const E of L) { - if (k[E]) continue - const P = createDeprecation( - `${v} was changed from Array to Set (using Array method '${E}' is deprecated)`, - 'ARRAY_TO_SET' - ) - k[E] = function () { - P() - const k = Array.from(this) - return Array.prototype[E].apply(k, arguments) - } - } - const E = createDeprecation( - `${v} was changed from Array to Set (using Array method 'push' is deprecated)`, - 'ARRAY_TO_SET_PUSH' - ) - const P = createDeprecation( - `${v} was changed from Array to Set (using Array property 'length' is deprecated)`, - 'ARRAY_TO_SET_LENGTH' - ) - const R = createDeprecation( - `${v} was changed from Array to Set (indexing Array is deprecated)`, - 'ARRAY_TO_SET_INDEXER' - ) - k.push = function () { - E() - for (const k of Array.from(arguments)) { - this.add(k) - } - return this.size - } - for (const E of N) { - if (k[E]) continue - k[E] = () => { - throw new Error( - `${v} was changed from Array to Set (using Array method '${E}' is not possible)` - ) - } - } - const createIndexGetter = (k) => { - const fn = function () { - R() - let v = 0 - for (const E of this) { - if (v++ === k) return E - } - return undefined - } - return fn - } - const defineIndexGetter = (E) => { - Object.defineProperty(k, E, { - get: createIndexGetter(E), - set(k) { - throw new Error( - `${v} was changed from Array to Set (indexing Array with write is not possible)` - ) - }, - }) - } - defineIndexGetter(0) - let q = 1 - Object.defineProperty(k, 'length', { - get() { - P() - const k = this.size - for (q; q < k + 1; q++) { - defineIndexGetter(q) - } - return k - }, - set(k) { - throw new Error( - `${v} was changed from Array to Set (writing to Array property 'length' is not possible)` - ) - }, - }) - k[Symbol.isConcatSpreadable] = true - } - v.createArrayToSetDeprecationSet = (k) => { - let E = false - class SetDeprecatedArray extends Set { - constructor(P) { - super(P) - if (!E) { - E = true - v.arrayToSetDeprecation(SetDeprecatedArray.prototype, k) - } - } - } - return SetDeprecatedArray - } - v.soonFrozenObjectDeprecation = (k, v, E, R = '') => { - const L = `${v} will be frozen in future, all modifications are deprecated.${ - R && `\n${R}` - }` - return new Proxy(k, { - set: P.deprecate((k, v, E, P) => Reflect.set(k, v, E, P), L, E), - defineProperty: P.deprecate( - (k, v, E) => Reflect.defineProperty(k, v, E), - L, - E - ), - deleteProperty: P.deprecate( - (k, v) => Reflect.deleteProperty(k, v), - L, - E - ), - setPrototypeOf: P.deprecate( - (k, v) => Reflect.setPrototypeOf(k, v), - L, - E - ), - }) - } - const deprecateAllProperties = (k, v, E) => { - const R = {} - const L = Object.getOwnPropertyDescriptors(k) - for (const k of Object.keys(L)) { - const N = L[k] - if (typeof N.value === 'function') { - Object.defineProperty(R, k, { - ...N, - value: P.deprecate(N.value, v, E), - }) - } else if (N.get || N.set) { - Object.defineProperty(R, k, { - ...N, - get: N.get && P.deprecate(N.get, v, E), - set: N.set && P.deprecate(N.set, v, E), - }) - } else { - let L = N.value - Object.defineProperty(R, k, { - configurable: N.configurable, - enumerable: N.enumerable, - get: P.deprecate(() => L, v, E), - set: N.writable ? P.deprecate((k) => (L = k), v, E) : undefined, - }) - } - } - return R - } - v.deprecateAllProperties = deprecateAllProperties - v.createFakeHook = (k, v, E) => { - if (v && E) { - k = deprecateAllProperties(k, v, E) - } - return Object.freeze(Object.assign(k, { _fakeHook: true })) - } - }, - 12271: function (k) { - 'use strict' - const similarity = (k, v) => { - const E = Math.min(k.length, v.length) - let P = 0 - for (let R = 0; R < E; R++) { - const E = k.charCodeAt(R) - const L = v.charCodeAt(R) - P += Math.max(0, 10 - Math.abs(E - L)) - } - return P - } - const getName = (k, v, E) => { - const P = Math.min(k.length, v.length) - let R = 0 - while (R < P) { - if (k.charCodeAt(R) !== v.charCodeAt(R)) { - R++ - break - } - R++ - } - while (R < P) { - const v = k.slice(0, R) - const P = v.toLowerCase() - if (!E.has(P)) { - E.add(P) - return v - } - R++ - } - return k - } - const addSizeTo = (k, v) => { - for (const E of Object.keys(v)) { - k[E] = (k[E] || 0) + v[E] - } - } - const subtractSizeFrom = (k, v) => { - for (const E of Object.keys(v)) { - k[E] -= v[E] - } - } - const sumSize = (k) => { - const v = Object.create(null) - for (const E of k) { - addSizeTo(v, E.size) - } - return v - } - const isTooBig = (k, v) => { - for (const E of Object.keys(k)) { - const P = k[E] - if (P === 0) continue - const R = v[E] - if (typeof R === 'number') { - if (P > R) return true - } - } - return false - } - const isTooSmall = (k, v) => { - for (const E of Object.keys(k)) { - const P = k[E] - if (P === 0) continue - const R = v[E] - if (typeof R === 'number') { - if (P < R) return true - } - } - return false - } - const getTooSmallTypes = (k, v) => { - const E = new Set() - for (const P of Object.keys(k)) { - const R = k[P] - if (R === 0) continue - const L = v[P] - if (typeof L === 'number') { - if (R < L) E.add(P) - } - } - return E - } - const getNumberOfMatchingSizeTypes = (k, v) => { - let E = 0 - for (const P of Object.keys(k)) { - if (k[P] !== 0 && v.has(P)) E++ - } - return E - } - const selectiveSizeSum = (k, v) => { - let E = 0 - for (const P of Object.keys(k)) { - if (k[P] !== 0 && v.has(P)) E += k[P] - } - return E - } - class Node { - constructor(k, v, E) { - this.item = k - this.key = v - this.size = E - } - } - class Group { - constructor(k, v, E) { - this.nodes = k - this.similarities = v - this.size = E || sumSize(k) - this.key = undefined - } - popNodes(k) { - const v = [] - const E = [] - const P = [] - let R - for (let L = 0; L < this.nodes.length; L++) { - const N = this.nodes[L] - if (k(N)) { - P.push(N) - } else { - if (v.length > 0) { - E.push( - R === this.nodes[L - 1] - ? this.similarities[L - 1] - : similarity(R.key, N.key) - ) - } - v.push(N) - R = N - } - } - if (P.length === this.nodes.length) return undefined - this.nodes = v - this.similarities = E - this.size = sumSize(v) - return P - } - } - const getSimilarities = (k) => { - const v = [] - let E = undefined - for (const P of k) { - if (E !== undefined) { - v.push(similarity(E.key, P.key)) - } - E = P - } - return v - } - k.exports = ({ - maxSize: k, - minSize: v, - items: E, - getSize: P, - getKey: R, - }) => { - const L = [] - const N = Array.from(E, (k) => new Node(k, R(k), P(k))) - const q = [] - N.sort((k, v) => { - if (k.key < v.key) return -1 - if (k.key > v.key) return 1 - return 0 - }) - for (const E of N) { - if (isTooBig(E.size, k) && !isTooSmall(E.size, v)) { - L.push(new Group([E], [])) - } else { - q.push(E) - } - } - if (q.length > 0) { - const E = new Group(q, getSimilarities(q)) - const removeProblematicNodes = (k, E = k.size) => { - const P = getTooSmallTypes(E, v) - if (P.size > 0) { - const v = k.popNodes( - (k) => getNumberOfMatchingSizeTypes(k.size, P) > 0 - ) - if (v === undefined) return false - const E = L.filter( - (k) => getNumberOfMatchingSizeTypes(k.size, P) > 0 - ) - if (E.length > 0) { - const k = E.reduce((k, v) => { - const E = getNumberOfMatchingSizeTypes(k, P) - const R = getNumberOfMatchingSizeTypes(v, P) - if (E !== R) return E < R ? v : k - if (selectiveSizeSum(k.size, P) > selectiveSizeSum(v.size, P)) - return v - return k - }) - for (const E of v) k.nodes.push(E) - k.nodes.sort((k, v) => { - if (k.key < v.key) return -1 - if (k.key > v.key) return 1 - return 0 - }) - } else { - L.push(new Group(v, null)) - } - return true - } else { - return false - } - } - if (E.nodes.length > 0) { - const P = [E] - while (P.length) { - const E = P.pop() - if (!isTooBig(E.size, k)) { - L.push(E) - continue - } - if (removeProblematicNodes(E)) { - P.push(E) - continue - } - let R = 1 - let N = Object.create(null) - addSizeTo(N, E.nodes[0].size) - while (R < E.nodes.length && isTooSmall(N, v)) { - addSizeTo(N, E.nodes[R].size) - R++ - } - let q = E.nodes.length - 2 - let ae = Object.create(null) - addSizeTo(ae, E.nodes[E.nodes.length - 1].size) - while (q >= 0 && isTooSmall(ae, v)) { - addSizeTo(ae, E.nodes[q].size) - q-- - } - if (R - 1 > q) { - let k - if (q < E.nodes.length - R) { - subtractSizeFrom(ae, E.nodes[q + 1].size) - k = ae - } else { - subtractSizeFrom(N, E.nodes[R - 1].size) - k = N - } - if (removeProblematicNodes(E, k)) { - P.push(E) - continue - } - L.push(E) - continue - } - if (R <= q) { - let k = -1 - let P = Infinity - let ae = R - let le = sumSize(E.nodes.slice(ae)) - while (ae <= q + 1) { - const R = E.similarities[ae - 1] - if (R < P && !isTooSmall(N, v) && !isTooSmall(le, v)) { - k = ae - P = R - } - addSizeTo(N, E.nodes[ae].size) - subtractSizeFrom(le, E.nodes[ae].size) - ae++ - } - if (k < 0) { - L.push(E) - continue - } - R = k - q = k - 1 - } - const le = [E.nodes[q + 1]] - const pe = [] - for (let k = q + 2; k < E.nodes.length; k++) { - pe.push(E.similarities[k - 1]) - le.push(E.nodes[k]) - } - P.push(new Group(le, pe)) - const me = [E.nodes[0]] - const ye = [] - for (let k = 1; k < R; k++) { - ye.push(E.similarities[k - 1]) - me.push(E.nodes[k]) - } - P.push(new Group(me, ye)) - } - } - } - L.sort((k, v) => { - if (k.nodes[0].key < v.nodes[0].key) return -1 - if (k.nodes[0].key > v.nodes[0].key) return 1 - return 0 - }) - const ae = new Set() - for (let k = 0; k < L.length; k++) { - const v = L[k] - if (v.nodes.length === 1) { - v.key = v.nodes[0].key - } else { - const k = v.nodes[0] - const E = v.nodes[v.nodes.length - 1] - const P = getName(k.key, E.key, ae) - v.key = P - } - } - return L.map((k) => ({ - key: k.key, - items: k.nodes.map((k) => k.item), - size: k.size, - })) - } - }, - 21053: function (k) { - 'use strict' - k.exports = function extractUrlAndGlobal(k) { - const v = k.indexOf('@') - if (v <= 0 || v === k.length - 1) { - throw new Error(`Invalid request "${k}"`) - } - return [k.substring(v + 1), k.substring(0, v)] - } - }, - 34271: function (k) { - 'use strict' - const v = 0 - const E = 1 - const P = 2 - const R = 3 - const L = 4 - class Node { - constructor(k) { - this.item = k - this.dependencies = new Set() - this.marker = v - this.cycle = undefined - this.incoming = 0 - } - } - class Cycle { - constructor() { - this.nodes = new Set() - } - } - k.exports = (k, N) => { - const q = new Map() - for (const v of k) { - const k = new Node(v) - q.set(v, k) - } - if (q.size <= 1) return k - for (const k of q.values()) { - for (const v of N(k.item)) { - const E = q.get(v) - if (E !== undefined) { - k.dependencies.add(E) - } - } - } - const ae = new Set() - const le = new Set() - for (const k of q.values()) { - if (k.marker === v) { - k.marker = E - const N = [{ node: k, openEdges: Array.from(k.dependencies) }] - while (N.length > 0) { - const k = N[N.length - 1] - if (k.openEdges.length > 0) { - const q = k.openEdges.pop() - switch (q.marker) { - case v: - N.push({ node: q, openEdges: Array.from(q.dependencies) }) - q.marker = E - break - case E: { - let k = q.cycle - if (!k) { - k = new Cycle() - k.nodes.add(q) - q.cycle = k - } - for (let v = N.length - 1; N[v].node !== q; v--) { - const E = N[v].node - if (E.cycle) { - if (E.cycle !== k) { - for (const v of E.cycle.nodes) { - v.cycle = k - k.nodes.add(v) - } - } - } else { - E.cycle = k - k.nodes.add(E) - } - } - break - } - case L: - q.marker = P - ae.delete(q) - break - case R: - le.delete(q.cycle) - q.marker = P - break - } - } else { - N.pop() - k.node.marker = P - } - } - const q = k.cycle - if (q) { - for (const k of q.nodes) { - k.marker = R - } - le.add(q) - } else { - k.marker = L - ae.add(k) - } - } - } - for (const k of le) { - let v = 0 - const E = new Set() - const P = k.nodes - for (const k of P) { - for (const R of k.dependencies) { - if (P.has(R)) { - R.incoming++ - if (R.incoming < v) continue - if (R.incoming > v) { - E.clear() - v = R.incoming - } - E.add(R) - } - } - } - for (const k of E) { - ae.add(k) - } - } - if (ae.size > 0) { - return Array.from(ae, (k) => k.item) - } else { - throw new Error('Implementation of findGraphRoots is broken') - } - } - }, - 57825: function (k, v, E) { - 'use strict' - const P = E(71017) - const relative = (k, v, E) => { - if (k && k.relative) { - return k.relative(v, E) - } else if (P.posix.isAbsolute(v)) { - return P.posix.relative(v, E) - } else if (P.win32.isAbsolute(v)) { - return P.win32.relative(v, E) - } else { - throw new Error( - `${v} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system` - ) - } - } - v.relative = relative - const join = (k, v, E) => { - if (k && k.join) { - return k.join(v, E) - } else if (P.posix.isAbsolute(v)) { - return P.posix.join(v, E) - } else if (P.win32.isAbsolute(v)) { - return P.win32.join(v, E) - } else { - throw new Error( - `${v} is neither a posix nor a windows path, and there is no 'join' method defined in the file system` - ) - } - } - v.join = join - const dirname = (k, v) => { - if (k && k.dirname) { - return k.dirname(v) - } else if (P.posix.isAbsolute(v)) { - return P.posix.dirname(v) - } else if (P.win32.isAbsolute(v)) { - return P.win32.dirname(v) - } else { - throw new Error( - `${v} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system` - ) - } - } - v.dirname = dirname - const mkdirp = (k, v, E) => { - k.mkdir(v, (P) => { - if (P) { - if (P.code === 'ENOENT') { - const R = dirname(k, v) - if (R === v) { - E(P) - return - } - mkdirp(k, R, (P) => { - if (P) { - E(P) - return - } - k.mkdir(v, (k) => { - if (k) { - if (k.code === 'EEXIST') { - E() - return - } - E(k) - return - } - E() - }) - }) - return - } else if (P.code === 'EEXIST') { - E() - return - } - E(P) - return - } - E() - }) - } - v.mkdirp = mkdirp - const mkdirpSync = (k, v) => { - try { - k.mkdirSync(v) - } catch (E) { - if (E) { - if (E.code === 'ENOENT') { - const P = dirname(k, v) - if (P === v) { - throw E - } - mkdirpSync(k, P) - k.mkdirSync(v) - return - } else if (E.code === 'EEXIST') { - return - } - throw E - } - } - } - v.mkdirpSync = mkdirpSync - const readJson = (k, v, E) => { - if ('readJson' in k) return k.readJson(v, E) - k.readFile(v, (k, v) => { - if (k) return E(k) - let P - try { - P = JSON.parse(v.toString('utf-8')) - } catch (k) { - return E(k) - } - return E(null, P) - }) - } - v.readJson = readJson - const lstatReadlinkAbsolute = (k, v, E) => { - let P = 3 - const doReadLink = () => { - k.readlink(v, (R, L) => { - if (R && --P > 0) { - return doStat() - } - if (R || !L) return doStat() - const N = L.toString() - E(null, join(k, dirname(k, v), N)) - }) - } - const doStat = () => { - if ('lstat' in k) { - return k.lstat(v, (k, v) => { - if (k) return E(k) - if (v.isSymbolicLink()) { - return doReadLink() - } - E(null, v) - }) - } else { - return k.stat(v, E) - } - } - if ('lstat' in k) return doStat() - doReadLink() - } - v.lstatReadlinkAbsolute = lstatReadlinkAbsolute - }, - 96940: function (k, v, E) { - 'use strict' - const P = E(40466) - const R = E(87747).MAX_SHORT_STRING - class BatchedHash extends P { - constructor(k) { - super() - this.string = undefined - this.encoding = undefined - this.hash = k - } - update(k, v) { - if (this.string !== undefined) { - if ( - typeof k === 'string' && - v === this.encoding && - this.string.length + k.length < R - ) { - this.string += k - return this - } - this.hash.update(this.string, this.encoding) - this.string = undefined - } - if (typeof k === 'string') { - if (k.length < R && (!v || !v.startsWith('ba'))) { - this.string = k - this.encoding = v - } else { - this.hash.update(k, v) - } - } else { - this.hash.update(k) - } - return this - } - digest(k) { - if (this.string !== undefined) { - this.hash.update(this.string, this.encoding) - } - return this.hash.digest(k) - } - } - k.exports = BatchedHash - }, - 6078: function (k, v, E) { - 'use strict' - const P = E(87747) - const R = new WebAssembly.Module( - Buffer.from( - 'AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqJEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvQCgEZfyMBIQUjAiECIwMhAyMEIQQDQCAAIAFLBEAgASgCBCIOIAQgAyABKAIAIg8gBSAEIAIgAyAEc3FzampBA3ciCCACIANzcXNqakEHdyEJIAEoAgwiBiACIAggASgCCCIQIAMgAiAJIAIgCHNxc2pqQQt3IgogCCAJc3FzampBE3chCyABKAIUIgcgCSAKIAEoAhAiESAIIAkgCyAJIApzcXNqakEDdyIMIAogC3Nxc2pqQQd3IQ0gASgCHCIJIAsgDCABKAIYIgggCiALIA0gCyAMc3FzampBC3ciEiAMIA1zcXNqakETdyETIAEoAiQiFCANIBIgASgCICIVIAwgDSATIA0gEnNxc2pqQQN3IgwgEiATc3FzampBB3chDSABKAIsIgsgEyAMIAEoAigiCiASIBMgDSAMIBNzcXNqakELdyISIAwgDXNxc2pqQRN3IRMgASgCNCIWIA0gEiABKAIwIhcgDCANIBMgDSASc3FzampBA3ciGCASIBNzcXNqakEHdyEZIBggASgCPCINIBMgGCABKAI4IgwgEiATIBkgEyAYc3FzampBC3ciEiAYIBlzcXNqakETdyITIBIgGXJxIBIgGXFyaiAPakGZ84nUBWpBA3ciGCATIBIgGSAYIBIgE3JxIBIgE3FyaiARakGZ84nUBWpBBXciEiATIBhycSATIBhxcmogFWpBmfOJ1AVqQQl3IhMgEiAYcnEgEiAYcXJqIBdqQZnzidQFakENdyIYIBIgE3JxIBIgE3FyaiAOakGZ84nUBWpBA3ciGSAYIBMgEiAZIBMgGHJxIBMgGHFyaiAHakGZ84nUBWpBBXciEiAYIBlycSAYIBlxcmogFGpBmfOJ1AVqQQl3IhMgEiAZcnEgEiAZcXJqIBZqQZnzidQFakENdyIYIBIgE3JxIBIgE3FyaiAQakGZ84nUBWpBA3ciGSAYIBMgEiAZIBMgGHJxIBMgGHFyaiAIakGZ84nUBWpBBXciEiAYIBlycSAYIBlxcmogCmpBmfOJ1AVqQQl3IhMgEiAZcnEgEiAZcXJqIAxqQZnzidQFakENdyIYIBIgE3JxIBIgE3FyaiAGakGZ84nUBWpBA3ciGSAYIBMgEiAZIBMgGHJxIBMgGHFyaiAJakGZ84nUBWpBBXciEiAYIBlycSAYIBlxcmogC2pBmfOJ1AVqQQl3IhMgEiAZcnEgEiAZcXJqIA1qQZnzidQFakENdyIYIBNzIBJzaiAPakGh1+f2BmpBA3ciDyAYIBMgEiAPIBhzIBNzaiAVakGh1+f2BmpBCXciEiAPcyAYc2ogEWpBodfn9gZqQQt3IhEgEnMgD3NqIBdqQaHX5/YGakEPdyIPIBFzIBJzaiAQakGh1+f2BmpBA3ciECAPIBEgEiAPIBBzIBFzaiAKakGh1+f2BmpBCXciCiAQcyAPc2ogCGpBodfn9gZqQQt3IgggCnMgEHNqIAxqQaHX5/YGakEPdyIMIAhzIApzaiAOakGh1+f2BmpBA3ciDiAMIAggCiAMIA5zIAhzaiAUakGh1+f2BmpBCXciCCAOcyAMc2ogB2pBodfn9gZqQQt3IgcgCHMgDnNqIBZqQaHX5/YGakEPdyIKIAdzIAhzaiAGakGh1+f2BmpBA3ciBiAFaiEFIAIgCiAHIAggBiAKcyAHc2ogC2pBodfn9gZqQQl3IgcgBnMgCnNqIAlqQaHX5/YGakELdyIIIAdzIAZzaiANakGh1+f2BmpBD3dqIQIgAyAIaiEDIAQgB2ohBCABQUBrIQEMAQsLIAUkASACJAIgAyQDIAQkBAsNACAAEAEjACAAaiQAC/8EAgN/AX4jACAAaq1CA4YhBCAAQcgAakFAcSICQQhrIQMgACIBQQFqIQAgAUGAAToAAANAIAAgAklBACAAQQdxGwRAIABBADoAACAAQQFqIQAMAQsLA0AgACACSQRAIABCADcDACAAQQhqIQAMAQsLIAMgBDcDACACEAFBACMBrSIEQv//A4MgBEKAgPz/D4NCEIaEIgRC/4GAgPAfgyAEQoD+g4CA4D+DQgiGhCIEQo+AvIDwgcAHg0IIhiAEQvCBwIeAnoD4AINCBIiEIgRChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IARCsODAgYOGjJgwhHw3AwBBCCMCrSIEQv//A4MgBEKAgPz/D4NCEIaEIgRC/4GAgPAfgyAEQoD+g4CA4D+DQgiGhCIEQo+AvIDwgcAHg0IIhiAEQvCBwIeAnoD4AINCBIiEIgRChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IARCsODAgYOGjJgwhHw3AwBBECMDrSIEQv//A4MgBEKAgPz/D4NCEIaEIgRC/4GAgPAfgyAEQoD+g4CA4D+DQgiGhCIEQo+AvIDwgcAHg0IIhiAEQvCBwIeAnoD4AINCBIiEIgRChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IARCsODAgYOGjJgwhHw3AwBBGCMErSIEQv//A4MgBEKAgPz/D4NCEIaEIgRC/4GAgPAfgyAEQoD+g4CA4D+DQgiGhCIEQo+AvIDwgcAHg0IIhiAEQvCBwIeAnoD4AINCBIiEIgRChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IARCsODAgYOGjJgwhHw3AwAL', - 'base64' - ) - ) - k.exports = P.bind(null, R, [], 64, 32) - }, - 87747: function (k) { - 'use strict' - const v = Math.floor((65536 - 64) / 4) & ~3 - class WasmHash { - constructor(k, v, E, P) { - const R = k.exports - R.init() - this.exports = R - this.mem = Buffer.from(R.memory.buffer, 0, 65536) - this.buffered = 0 - this.instancesPool = v - this.chunkSize = E - this.digestSize = P - } - reset() { - this.buffered = 0 - this.exports.init() - } - update(k, E) { - if (typeof k === 'string') { - while (k.length > v) { - this._updateWithShortString(k.slice(0, v), E) - k = k.slice(v) - } - this._updateWithShortString(k, E) - return this - } - this._updateWithBuffer(k) - return this - } - _updateWithShortString(k, v) { - const { exports: E, buffered: P, mem: R, chunkSize: L } = this - let N - if (k.length < 70) { - if (!v || v === 'utf-8' || v === 'utf8') { - N = P - for (let E = 0; E < k.length; E++) { - const P = k.charCodeAt(E) - if (P < 128) R[N++] = P - else if (P < 2048) { - R[N] = (P >> 6) | 192 - R[N + 1] = (P & 63) | 128 - N += 2 - } else { - N += R.write(k.slice(E), N, v) - break - } - } - } else if (v === 'latin1') { - N = P - for (let v = 0; v < k.length; v++) { - const E = k.charCodeAt(v) - R[N++] = E - } - } else { - N = P + R.write(k, P, v) - } - } else { - N = P + R.write(k, P, v) - } - if (N < L) { - this.buffered = N - } else { - const k = N & ~(this.chunkSize - 1) - E.update(k) - const v = N - k - this.buffered = v - if (v > 0) R.copyWithin(0, k, N) - } - } - _updateWithBuffer(k) { - const { exports: v, buffered: E, mem: P } = this - const R = k.length - if (E + R < this.chunkSize) { - k.copy(P, E, 0, R) - this.buffered += R - } else { - const L = (E + R) & ~(this.chunkSize - 1) - if (L > 65536) { - let R = 65536 - E - k.copy(P, E, 0, R) - v.update(65536) - const N = L - E - 65536 - while (R < N) { - k.copy(P, 0, R, R + 65536) - v.update(65536) - R += 65536 - } - k.copy(P, 0, R, L - E) - v.update(L - E - R) - } else { - k.copy(P, E, 0, L - E) - v.update(L) - } - const N = R + E - L - this.buffered = N - if (N > 0) k.copy(P, 0, R - N, R) - } - } - digest(k) { - const { exports: v, buffered: E, mem: P, digestSize: R } = this - v.final(E) - this.instancesPool.push(this) - const L = P.toString('latin1', 0, R) - if (k === 'hex') return L - if (k === 'binary' || !k) return Buffer.from(L, 'hex') - return Buffer.from(L, 'hex').toString(k) - } - } - const create = (k, v, E, P) => { - if (v.length > 0) { - const k = v.pop() - k.reset() - return k - } else { - return new WasmHash(new WebAssembly.Instance(k), v, E, P) - } - } - k.exports = create - k.exports.MAX_SHORT_STRING = v - }, - 82747: function (k, v, E) { - 'use strict' - const P = E(87747) - const R = new WebAssembly.Module( - Buffer.from( - 'AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrIIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAFBIGoiASAASQ0ACyACJAAgAyQBIAQkAiAFJAMLqAYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEAgAiABNQIAQoeVr6+Ytt6bnn9+hUIXiULP1tO+0ser2UJ+Qvnz3fGZ9pmrFnwhAiABQQRqIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAkIdiCAChUL5893xmfaZqxZ+IgJCIIggAoUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL', - 'base64' - ) - ) - k.exports = P.bind(null, R, [], 32, 16) - }, - 65315: function (k, v, E) { - 'use strict' - const P = E(71017) - const R = /^[a-zA-Z]:[\\/]/ - const L = /([|!])/ - const N = /\\/g - const relativePathToRequest = (k) => { - if (k === '') return './.' - if (k === '..') return '../.' - if (k.startsWith('../')) return k - return `./${k}` - } - const absoluteToRequest = (k, v) => { - if (v[0] === '/') { - if (v.length > 1 && v[v.length - 1] === '/') { - return v - } - const E = v.indexOf('?') - let R = E === -1 ? v : v.slice(0, E) - R = relativePathToRequest(P.posix.relative(k, R)) - return E === -1 ? R : R + v.slice(E) - } - if (R.test(v)) { - const E = v.indexOf('?') - let L = E === -1 ? v : v.slice(0, E) - L = P.win32.relative(k, L) - if (!R.test(L)) { - L = relativePathToRequest(L.replace(N, '/')) - } - return E === -1 ? L : L + v.slice(E) - } - return v - } - const requestToAbsolute = (k, v) => { - if (v.startsWith('./') || v.startsWith('../')) return P.join(k, v) - return v - } - const makeCacheable = (k) => { - const v = new WeakMap() - const getCache = (k) => { - const E = v.get(k) - if (E !== undefined) return E - const P = new Map() - v.set(k, P) - return P - } - const fn = (v, E) => { - if (!E) return k(v) - const P = getCache(E) - const R = P.get(v) - if (R !== undefined) return R - const L = k(v) - P.set(v, L) - return L - } - fn.bindCache = (v) => { - const E = getCache(v) - return (v) => { - const P = E.get(v) - if (P !== undefined) return P - const R = k(v) - E.set(v, R) - return R - } - } - return fn - } - const makeCacheableWithContext = (k) => { - const v = new WeakMap() - const cachedFn = (E, P, R) => { - if (!R) return k(E, P) - let L = v.get(R) - if (L === undefined) { - L = new Map() - v.set(R, L) - } - let N - let q = L.get(E) - if (q === undefined) { - L.set(E, (q = new Map())) - } else { - N = q.get(P) - } - if (N !== undefined) { - return N - } else { - const v = k(E, P) - q.set(P, v) - return v - } - } - cachedFn.bindCache = (E) => { - let P - if (E) { - P = v.get(E) - if (P === undefined) { - P = new Map() - v.set(E, P) - } - } else { - P = new Map() - } - const boundFn = (v, E) => { - let R - let L = P.get(v) - if (L === undefined) { - P.set(v, (L = new Map())) - } else { - R = L.get(E) - } - if (R !== undefined) { - return R - } else { - const P = k(v, E) - L.set(E, P) - return P - } - } - return boundFn - } - cachedFn.bindContextCache = (E, P) => { - let R - if (P) { - let k = v.get(P) - if (k === undefined) { - k = new Map() - v.set(P, k) - } - R = k.get(E) - if (R === undefined) { - k.set(E, (R = new Map())) - } - } else { - R = new Map() - } - const boundFn = (v) => { - const P = R.get(v) - if (P !== undefined) { - return P - } else { - const P = k(E, v) - R.set(v, P) - return P - } - } - return boundFn - } - return cachedFn - } - const _makePathsRelative = (k, v) => - v - .split(L) - .map((v) => absoluteToRequest(k, v)) - .join('') - v.makePathsRelative = makeCacheableWithContext(_makePathsRelative) - const _makePathsAbsolute = (k, v) => - v - .split(L) - .map((v) => requestToAbsolute(k, v)) - .join('') - v.makePathsAbsolute = makeCacheableWithContext(_makePathsAbsolute) - const _contextify = (k, v) => - v - .split('!') - .map((v) => absoluteToRequest(k, v)) - .join('!') - const q = makeCacheableWithContext(_contextify) - v.contextify = q - const _absolutify = (k, v) => - v - .split('!') - .map((v) => requestToAbsolute(k, v)) - .join('!') - const ae = makeCacheableWithContext(_absolutify) - v.absolutify = ae - const le = /^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/ - const pe = /^((?:\0.|[^?\0])*)(\?.*)?$/ - const _parseResource = (k) => { - const v = le.exec(k) - return { - resource: k, - path: v[1].replace(/\0(.)/g, '$1'), - query: v[2] ? v[2].replace(/\0(.)/g, '$1') : '', - fragment: v[3] || '', - } - } - v.parseResource = makeCacheable(_parseResource) - const _parseResourceWithoutFragment = (k) => { - const v = pe.exec(k) - return { - resource: k, - path: v[1].replace(/\0(.)/g, '$1'), - query: v[2] ? v[2].replace(/\0(.)/g, '$1') : '', - } - } - v.parseResourceWithoutFragment = makeCacheable( - _parseResourceWithoutFragment - ) - v.getUndoPath = (k, v, E) => { - let P = -1 - let R = '' - v = v.replace(/[\\/]$/, '') - for (const E of k.split(/[/\\]+/)) { - if (E === '..') { - if (P > -1) { - P-- - } else { - const k = v.lastIndexOf('/') - const E = v.lastIndexOf('\\') - const P = k < 0 ? E : E < 0 ? k : Math.max(k, E) - if (P < 0) return v + '/' - R = v.slice(P + 1) + '/' + R - v = v.slice(0, P) - } - } else if (E !== '.') { - P++ - } - } - return P > 0 ? `${'../'.repeat(P)}${R}` : E ? `./${R}` : R - } - }, - 51455: function (k, v, E) { - 'use strict' - k.exports = { - AsyncDependenciesBlock: () => E(75081), - CommentCompilationWarning: () => E(68160), - ContextModule: () => E(48630), - 'cache/PackFileCacheStrategy': () => E(30124), - 'cache/ResolverCachePlugin': () => E(6247), - 'container/ContainerEntryDependency': () => E(22886), - 'container/ContainerEntryModule': () => E(4268), - 'container/ContainerExposedDependency': () => E(85455), - 'container/FallbackDependency': () => E(52030), - 'container/FallbackItemDependency': () => E(37119), - 'container/FallbackModule': () => E(7583), - 'container/RemoteModule': () => E(39878), - 'container/RemoteToExternalDependency': () => E(51691), - 'dependencies/AMDDefineDependency': () => E(43804), - 'dependencies/AMDRequireArrayDependency': () => E(78326), - 'dependencies/AMDRequireContextDependency': () => E(54220), - 'dependencies/AMDRequireDependenciesBlock': () => E(39892), - 'dependencies/AMDRequireDependency': () => E(83138), - 'dependencies/AMDRequireItemDependency': () => E(80760), - 'dependencies/CachedConstDependency': () => E(11602), - 'dependencies/CreateScriptUrlDependency': () => E(98857), - 'dependencies/CommonJsRequireContextDependency': () => E(5103), - 'dependencies/CommonJsExportRequireDependency': () => E(21542), - 'dependencies/CommonJsExportsDependency': () => E(57771), - 'dependencies/CommonJsFullRequireDependency': () => E(73946), - 'dependencies/CommonJsRequireDependency': () => E(41655), - 'dependencies/CommonJsSelfReferenceDependency': () => E(23343), - 'dependencies/ConstDependency': () => E(60381), - 'dependencies/ContextDependency': () => E(51395), - 'dependencies/ContextElementDependency': () => E(16624), - 'dependencies/CriticalDependencyWarning': () => E(43418), - 'dependencies/CssImportDependency': () => E(38490), - 'dependencies/CssLocalIdentifierDependency': () => E(27746), - 'dependencies/CssSelfLocalIdentifierDependency': () => E(58943), - 'dependencies/CssExportDependency': () => E(55101), - 'dependencies/CssUrlDependency': () => E(97006), - 'dependencies/DelegatedSourceDependency': () => E(47788), - 'dependencies/DllEntryDependency': () => E(50478), - 'dependencies/EntryDependency': () => E(25248), - 'dependencies/ExportsInfoDependency': () => E(70762), - 'dependencies/HarmonyAcceptDependency': () => E(95077), - 'dependencies/HarmonyAcceptImportDependency': () => E(46325), - 'dependencies/HarmonyCompatibilityDependency': () => E(2075), - 'dependencies/HarmonyExportExpressionDependency': () => E(33579), - 'dependencies/HarmonyExportHeaderDependency': () => E(66057), - 'dependencies/HarmonyExportImportedSpecifierDependency': () => E(44827), - 'dependencies/HarmonyExportSpecifierDependency': () => E(95040), - 'dependencies/HarmonyImportSideEffectDependency': () => E(59398), - 'dependencies/HarmonyImportSpecifierDependency': () => E(56390), - 'dependencies/HarmonyEvaluatedImportSpecifierDependency': () => E(5107), - 'dependencies/ImportContextDependency': () => E(94722), - 'dependencies/ImportDependency': () => E(75516), - 'dependencies/ImportEagerDependency': () => E(72073), - 'dependencies/ImportWeakDependency': () => E(82591), - 'dependencies/JsonExportsDependency': () => E(19179), - 'dependencies/LocalModule': () => E(53377), - 'dependencies/LocalModuleDependency': () => E(41808), - 'dependencies/ModuleDecoratorDependency': () => E(10699), - 'dependencies/ModuleHotAcceptDependency': () => E(77691), - 'dependencies/ModuleHotDeclineDependency': () => E(90563), - 'dependencies/ImportMetaHotAcceptDependency': () => E(40867), - 'dependencies/ImportMetaHotDeclineDependency': () => E(83894), - 'dependencies/ImportMetaContextDependency': () => E(91194), - 'dependencies/ProvidedDependency': () => E(17779), - 'dependencies/PureExpressionDependency': () => E(19308), - 'dependencies/RequireContextDependency': () => E(71038), - 'dependencies/RequireEnsureDependenciesBlock': () => E(34385), - 'dependencies/RequireEnsureDependency': () => E(42780), - 'dependencies/RequireEnsureItemDependency': () => E(47785), - 'dependencies/RequireHeaderDependency': () => E(72330), - 'dependencies/RequireIncludeDependency': () => E(72846), - 'dependencies/RequireIncludeDependencyParserPlugin': () => E(97229), - 'dependencies/RequireResolveContextDependency': () => E(12204), - 'dependencies/RequireResolveDependency': () => E(29961), - 'dependencies/RequireResolveHeaderDependency': () => E(53765), - 'dependencies/RuntimeRequirementsDependency': () => E(84985), - 'dependencies/StaticExportsDependency': () => E(93414), - 'dependencies/SystemPlugin': () => E(3674), - 'dependencies/UnsupportedDependency': () => E(63639), - 'dependencies/URLDependency': () => E(65961), - 'dependencies/WebAssemblyExportImportedDependency': () => E(74476), - 'dependencies/WebAssemblyImportDependency': () => E(22734), - 'dependencies/WebpackIsIncludedDependency': () => E(83143), - 'dependencies/WorkerDependency': () => E(15200), - 'json/JsonData': () => E(15114), - 'optimize/ConcatenatedModule': () => E(94978), - DelegatedModule: () => E(50901), - DependenciesBlock: () => E(38706), - DllModule: () => E(2168), - ExternalModule: () => E(10849), - FileSystemInfo: () => E(18144), - InitFragment: () => E(88113), - InvalidDependenciesModuleWarning: () => E(44017), - Module: () => E(88396), - ModuleBuildError: () => E(23804), - ModuleDependencyWarning: () => E(84018), - ModuleError: () => E(47560), - ModuleGraph: () => E(88223), - ModuleParseError: () => E(63591), - ModuleWarning: () => E(95801), - NormalModule: () => E(38224), - CssModule: () => E(51585), - RawDataUrlModule: () => E(26619), - RawModule: () => E(91169), - 'sharing/ConsumeSharedModule': () => E(81860), - 'sharing/ConsumeSharedFallbackDependency': () => E(18036), - 'sharing/ProvideSharedModule': () => E(31100), - 'sharing/ProvideSharedDependency': () => E(49637), - 'sharing/ProvideForSharedDependency': () => E(27150), - UnsupportedFeatureWarning: () => E(9415), - 'util/LazySet': () => E(12359), - UnhandledSchemeError: () => E(57975), - NodeStuffInWebError: () => E(86770), - WebpackError: () => E(71572), - 'util/registerExternalSerializer': () => {}, - } - }, - 58528: function (k, v, E) { - 'use strict' - const { register: P } = E(52456) - class ClassSerializer { - constructor(k) { - this.Constructor = k - } - serialize(k, v) { - k.serialize(v) - } - deserialize(k) { - if (typeof this.Constructor.deserialize === 'function') { - return this.Constructor.deserialize(k) - } - const v = new this.Constructor() - v.deserialize(k) - return v - } - } - k.exports = (k, v, E = null) => { - P(k, v, E, new ClassSerializer(k)) - } - }, - 20631: function (k) { - 'use strict' - const memoize = (k) => { - let v = false - let E = undefined - return () => { - if (v) { - return E - } else { - E = k() - v = true - k = undefined - return E - } - } - } - k.exports = memoize - }, - 64119: function (k) { - 'use strict' - const v = 'a'.charCodeAt(0) - k.exports = (k, E) => { - if (E < 1) return '' - const P = k.slice(0, E) - if (P.match(/[^\d]/)) return P - return `${String.fromCharCode(v + (parseInt(k[0], 10) % 6))}${P.slice( - 1 - )}` - } - }, - 30747: function (k) { - 'use strict' - const v = 2147483648 - const E = v - 1 - const P = 4 - const R = [0, 0, 0, 0, 0] - const L = [3, 7, 17, 19] - k.exports = (k, N) => { - R.fill(0) - for (let v = 0; v < k.length; v++) { - const N = k.charCodeAt(v) - R[0] = (R[0] + N * L[0] + R[3]) & E - R[1] = (R[1] + N * L[1] + R[0]) & E - R[2] = (R[2] + N * L[2] + R[1]) & E - R[3] = (R[3] + N * L[3] + R[2]) & E - R[0] = R[0] ^ (R[R[0] % P] >> 1) - R[1] = R[1] ^ (R[R[1] % P] >> 1) - R[2] = R[2] ^ (R[R[2] % P] >> 1) - R[3] = R[3] ^ (R[R[3] % P] >> 1) - } - if (N <= E) { - return (R[0] + R[1] + R[2] + R[3]) % N - } else { - const k = Math.floor(N / v) - const P = (R[0] + R[2]) & E - const L = (R[0] + R[2]) % k - return (L * v + P) % N - } - } - }, - 38254: function (k) { - 'use strict' - const processAsyncTree = (k, v, E, P) => { - const R = Array.from(k) - if (R.length === 0) return P() - let L = 0 - let N = false - let q = true - const push = (k) => { - R.push(k) - if (!q && L < v) { - q = true - process.nextTick(processQueue) - } - } - const processorCallback = (k) => { - L-- - if (k && !N) { - N = true - P(k) - return - } - if (!q) { - q = true - process.nextTick(processQueue) - } - } - const processQueue = () => { - if (N) return - while (L < v && R.length > 0) { - L++ - const k = R.pop() - E(k, push, processorCallback) - } - q = false - if (R.length === 0 && L === 0 && !N) { - N = true - P() - } - } - processQueue() - } - k.exports = processAsyncTree - }, - 10720: function (k, v, E) { - 'use strict' - const { SAFE_IDENTIFIER: P, RESERVED_IDENTIFIER: R } = E(72627) - const propertyAccess = (k, v = 0) => { - let E = '' - for (let L = v; L < k.length; L++) { - const v = k[L] - if (`${+v}` === v) { - E += `[${v}]` - } else if (P.test(v) && !R.has(v)) { - E += `.${v}` - } else { - E += `[${JSON.stringify(v)}]` - } - } - return E - } - k.exports = propertyAccess - }, - 72627: function (k) { - 'use strict' - const v = /^[_a-zA-Z$][_a-zA-Z$0-9]*$/ - const E = new Set([ - 'break', - 'case', - 'catch', - 'class', - 'const', - 'continue', - 'debugger', - 'default', - 'delete', - 'do', - 'else', - 'export', - 'extends', - 'finally', - 'for', - 'function', - 'if', - 'import', - 'in', - 'instanceof', - 'new', - 'return', - 'super', - 'switch', - 'this', - 'throw', - 'try', - 'typeof', - 'var', - 'void', - 'while', - 'with', - 'enum', - 'implements', - 'interface', - 'let', - 'package', - 'private', - 'protected', - 'public', - 'static', - 'yield', - 'yield', - 'await', - 'null', - 'true', - 'false', - ]) - const propertyName = (k) => { - if (v.test(k) && !E.has(k)) { - return k - } else { - return JSON.stringify(k) - } - } - k.exports = { - SAFE_IDENTIFIER: v, - RESERVED_IDENTIFIER: E, - propertyName: propertyName, - } - }, - 5618: function (k, v, E) { - 'use strict' - const { register: P } = E(52456) - const R = E(31988).Position - const L = E(31988).SourceLocation - const N = E(94362).Z - const { - CachedSource: q, - ConcatSource: ae, - OriginalSource: le, - PrefixSource: pe, - RawSource: me, - ReplaceSource: ye, - SourceMapSource: _e, - } = E(51255) - const Ie = 'webpack/lib/util/registerExternalSerializer' - P( - q, - Ie, - 'webpack-sources/CachedSource', - new (class CachedSourceSerializer { - serialize(k, { write: v, writeLazy: E }) { - if (E) { - E(k.originalLazy()) - } else { - v(k.original()) - } - v(k.getCachedData()) - } - deserialize({ read: k }) { - const v = k() - const E = k() - return new q(v, E) - } - })() - ) - P( - me, - Ie, - 'webpack-sources/RawSource', - new (class RawSourceSerializer { - serialize(k, { write: v }) { - v(k.buffer()) - v(!k.isBuffer()) - } - deserialize({ read: k }) { - const v = k() - const E = k() - return new me(v, E) - } - })() - ) - P( - ae, - Ie, - 'webpack-sources/ConcatSource', - new (class ConcatSourceSerializer { - serialize(k, { write: v }) { - v(k.getChildren()) - } - deserialize({ read: k }) { - const v = new ae() - v.addAllSkipOptimizing(k()) - return v - } - })() - ) - P( - pe, - Ie, - 'webpack-sources/PrefixSource', - new (class PrefixSourceSerializer { - serialize(k, { write: v }) { - v(k.getPrefix()) - v(k.original()) - } - deserialize({ read: k }) { - return new pe(k(), k()) - } - })() - ) - P( - ye, - Ie, - 'webpack-sources/ReplaceSource', - new (class ReplaceSourceSerializer { - serialize(k, { write: v }) { - v(k.original()) - v(k.getName()) - const E = k.getReplacements() - v(E.length) - for (const k of E) { - v(k.start) - v(k.end) - } - for (const k of E) { - v(k.content) - v(k.name) - } - } - deserialize({ read: k }) { - const v = new ye(k(), k()) - const E = k() - const P = [] - for (let v = 0; v < E; v++) { - P.push(k(), k()) - } - let R = 0 - for (let L = 0; L < E; L++) { - v.replace(P[R++], P[R++], k(), k()) - } - return v - } - })() - ) - P( - le, - Ie, - 'webpack-sources/OriginalSource', - new (class OriginalSourceSerializer { - serialize(k, { write: v }) { - v(k.buffer()) - v(k.getName()) - } - deserialize({ read: k }) { - const v = k() - const E = k() - return new le(v, E) - } - })() - ) - P( - L, - Ie, - 'acorn/SourceLocation', - new (class SourceLocationSerializer { - serialize(k, { write: v }) { - v(k.start.line) - v(k.start.column) - v(k.end.line) - v(k.end.column) - } - deserialize({ read: k }) { - return { - start: { line: k(), column: k() }, - end: { line: k(), column: k() }, - } - } - })() - ) - P( - R, - Ie, - 'acorn/Position', - new (class PositionSerializer { - serialize(k, { write: v }) { - v(k.line) - v(k.column) - } - deserialize({ read: k }) { - return { line: k(), column: k() } - } - })() - ) - P( - _e, - Ie, - 'webpack-sources/SourceMapSource', - new (class SourceMapSourceSerializer { - serialize(k, { write: v }) { - v(k.getArgsAsBuffers()) - } - deserialize({ read: k }) { - return new _e(...k()) - } - })() - ) - P( - N, - Ie, - 'schema-utils/ValidationError', - new (class ValidationErrorSerializer { - serialize(k, { write: v }) { - v(k.errors) - v(k.schema) - v({ - name: k.headerName, - baseDataPath: k.baseDataPath, - postFormatter: k.postFormatter, - }) - } - deserialize({ read: k }) { - return new N(k(), k(), k()) - } - })() - ) - }, - 1540: function (k, v, E) { - 'use strict' - const P = E(46081) - v.getEntryRuntime = (k, v, E) => { - let P - let R - if (E) { - ;({ dependOn: P, runtime: R } = E) - } else { - const E = k.entries.get(v) - if (!E) return v - ;({ dependOn: P, runtime: R } = E.options) - } - if (P) { - let E = undefined - const R = new Set(P) - for (const v of R) { - const P = k.entries.get(v) - if (!P) continue - const { dependOn: L, runtime: N } = P.options - if (L) { - for (const k of L) { - R.add(k) - } - } else { - E = mergeRuntimeOwned(E, N || v) - } - } - return E || v - } else { - return R || v - } - } - v.forEachRuntime = (k, v, E = false) => { - if (k === undefined) { - v(undefined) - } else if (typeof k === 'string') { - v(k) - } else { - if (E) k.sort() - for (const E of k) { - v(E) - } - } - } - const getRuntimesKey = (k) => { - k.sort() - return Array.from(k).join('\n') - } - const getRuntimeKey = (k) => { - if (k === undefined) return '*' - if (typeof k === 'string') return k - return k.getFromUnorderedCache(getRuntimesKey) - } - v.getRuntimeKey = getRuntimeKey - const keyToRuntime = (k) => { - if (k === '*') return undefined - const v = k.split('\n') - if (v.length === 1) return v[0] - return new P(v) - } - v.keyToRuntime = keyToRuntime - const getRuntimesString = (k) => { - k.sort() - return Array.from(k).join('+') - } - const runtimeToString = (k) => { - if (k === undefined) return '*' - if (typeof k === 'string') return k - return k.getFromUnorderedCache(getRuntimesString) - } - v.runtimeToString = runtimeToString - v.runtimeConditionToString = (k) => { - if (k === true) return 'true' - if (k === false) return 'false' - return runtimeToString(k) - } - const runtimeEqual = (k, v) => { - if (k === v) { - return true - } else if ( - k === undefined || - v === undefined || - typeof k === 'string' || - typeof v === 'string' - ) { - return false - } else if (k.size !== v.size) { - return false - } else { - k.sort() - v.sort() - const E = k[Symbol.iterator]() - const P = v[Symbol.iterator]() - for (;;) { - const k = E.next() - if (k.done) return true - const v = P.next() - if (k.value !== v.value) return false - } - } - } - v.runtimeEqual = runtimeEqual - v.compareRuntime = (k, v) => { - if (k === v) { - return 0 - } else if (k === undefined) { - return -1 - } else if (v === undefined) { - return 1 - } else { - const E = getRuntimeKey(k) - const P = getRuntimeKey(v) - if (E < P) return -1 - if (E > P) return 1 - return 0 - } - } - const mergeRuntime = (k, v) => { - if (k === undefined) { - return v - } else if (v === undefined) { - return k - } else if (k === v) { - return k - } else if (typeof k === 'string') { - if (typeof v === 'string') { - const E = new P() - E.add(k) - E.add(v) - return E - } else if (v.has(k)) { - return v - } else { - const E = new P(v) - E.add(k) - return E - } - } else { - if (typeof v === 'string') { - if (k.has(v)) return k - const E = new P(k) - E.add(v) - return E - } else { - const E = new P(k) - for (const k of v) E.add(k) - if (E.size === k.size) return k - return E - } - } - } - v.mergeRuntime = mergeRuntime - v.mergeRuntimeCondition = (k, v, E) => { - if (k === false) return v - if (v === false) return k - if (k === true || v === true) return true - const P = mergeRuntime(k, v) - if (P === undefined) return undefined - if (typeof P === 'string') { - if (typeof E === 'string' && P === E) return true - return P - } - if (typeof E === 'string' || E === undefined) return P - if (P.size === E.size) return true - return P - } - v.mergeRuntimeConditionNonFalse = (k, v, E) => { - if (k === true || v === true) return true - const P = mergeRuntime(k, v) - if (P === undefined) return undefined - if (typeof P === 'string') { - if (typeof E === 'string' && P === E) return true - return P - } - if (typeof E === 'string' || E === undefined) return P - if (P.size === E.size) return true - return P - } - const mergeRuntimeOwned = (k, v) => { - if (v === undefined) { - return k - } else if (k === v) { - return k - } else if (k === undefined) { - if (typeof v === 'string') { - return v - } else { - return new P(v) - } - } else if (typeof k === 'string') { - if (typeof v === 'string') { - const E = new P() - E.add(k) - E.add(v) - return E - } else { - const E = new P(v) - E.add(k) - return E - } - } else { - if (typeof v === 'string') { - k.add(v) - return k - } else { - for (const E of v) k.add(E) - return k - } - } - } - v.mergeRuntimeOwned = mergeRuntimeOwned - v.intersectRuntime = (k, v) => { - if (k === undefined) { - return v - } else if (v === undefined) { - return k - } else if (k === v) { - return k - } else if (typeof k === 'string') { - if (typeof v === 'string') { - return undefined - } else if (v.has(k)) { - return k - } else { - return undefined - } - } else { - if (typeof v === 'string') { - if (k.has(v)) return v - return undefined - } else { - const E = new P() - for (const P of v) { - if (k.has(P)) E.add(P) - } - if (E.size === 0) return undefined - if (E.size === 1) for (const k of E) return k - return E - } - } - } - const subtractRuntime = (k, v) => { - if (k === undefined) { - return undefined - } else if (v === undefined) { - return k - } else if (k === v) { - return undefined - } else if (typeof k === 'string') { - if (typeof v === 'string') { - return k - } else if (v.has(k)) { - return undefined - } else { - return k - } - } else { - if (typeof v === 'string') { - if (!k.has(v)) return k - if (k.size === 2) { - for (const E of k) { - if (E !== v) return E - } - } - const E = new P(k) - E.delete(v) - } else { - const E = new P() - for (const P of k) { - if (!v.has(P)) E.add(P) - } - if (E.size === 0) return undefined - if (E.size === 1) for (const k of E) return k - return E - } - } - } - v.subtractRuntime = subtractRuntime - v.subtractRuntimeCondition = (k, v, E) => { - if (v === true) return false - if (v === false) return k - if (k === false) return false - const P = subtractRuntime(k === true ? E : k, v) - return P === undefined ? false : P - } - v.filterRuntime = (k, v) => { - if (k === undefined) return v(undefined) - if (typeof k === 'string') return v(k) - let E = false - let P = true - let R = undefined - for (const L of k) { - const k = v(L) - if (k) { - E = true - R = mergeRuntimeOwned(R, L) - } else { - P = false - } - } - if (!E) return false - if (P) return true - return R - } - class RuntimeSpecMap { - constructor(k) { - this._mode = k ? k._mode : 0 - this._singleRuntime = k ? k._singleRuntime : undefined - this._singleValue = k ? k._singleValue : undefined - this._map = k && k._map ? new Map(k._map) : undefined - } - get(k) { - switch (this._mode) { - case 0: - return undefined - case 1: - return runtimeEqual(this._singleRuntime, k) - ? this._singleValue - : undefined - default: - return this._map.get(getRuntimeKey(k)) - } - } - has(k) { - switch (this._mode) { - case 0: - return false - case 1: - return runtimeEqual(this._singleRuntime, k) - default: - return this._map.has(getRuntimeKey(k)) - } - } - set(k, v) { - switch (this._mode) { - case 0: - this._mode = 1 - this._singleRuntime = k - this._singleValue = v - break - case 1: - if (runtimeEqual(this._singleRuntime, k)) { - this._singleValue = v - break - } - this._mode = 2 - this._map = new Map() - this._map.set( - getRuntimeKey(this._singleRuntime), - this._singleValue - ) - this._singleRuntime = undefined - this._singleValue = undefined - default: - this._map.set(getRuntimeKey(k), v) - } - } - provide(k, v) { - switch (this._mode) { - case 0: - this._mode = 1 - this._singleRuntime = k - return (this._singleValue = v()) - case 1: { - if (runtimeEqual(this._singleRuntime, k)) { - return this._singleValue - } - this._mode = 2 - this._map = new Map() - this._map.set( - getRuntimeKey(this._singleRuntime), - this._singleValue - ) - this._singleRuntime = undefined - this._singleValue = undefined - const E = v() - this._map.set(getRuntimeKey(k), E) - return E - } - default: { - const E = getRuntimeKey(k) - const P = this._map.get(E) - if (P !== undefined) return P - const R = v() - this._map.set(E, R) - return R - } - } - } - delete(k) { - switch (this._mode) { - case 0: - return - case 1: - if (runtimeEqual(this._singleRuntime, k)) { - this._mode = 0 - this._singleRuntime = undefined - this._singleValue = undefined - } - return - default: - this._map.delete(getRuntimeKey(k)) - } - } - update(k, v) { - switch (this._mode) { - case 0: - throw new Error('runtime passed to update must exist') - case 1: { - if (runtimeEqual(this._singleRuntime, k)) { - this._singleValue = v(this._singleValue) - break - } - const E = v(undefined) - if (E !== undefined) { - this._mode = 2 - this._map = new Map() - this._map.set( - getRuntimeKey(this._singleRuntime), - this._singleValue - ) - this._singleRuntime = undefined - this._singleValue = undefined - this._map.set(getRuntimeKey(k), E) - } - break - } - default: { - const E = getRuntimeKey(k) - const P = this._map.get(E) - const R = v(P) - if (R !== P) this._map.set(E, R) - } - } - } - keys() { - switch (this._mode) { - case 0: - return [] - case 1: - return [this._singleRuntime] - default: - return Array.from(this._map.keys(), keyToRuntime) - } - } - values() { - switch (this._mode) { - case 0: - return [][Symbol.iterator]() - case 1: - return [this._singleValue][Symbol.iterator]() - default: - return this._map.values() - } - } - get size() { - if (this._mode <= 1) return this._mode - return this._map.size - } - } - v.RuntimeSpecMap = RuntimeSpecMap - class RuntimeSpecSet { - constructor(k) { - this._map = new Map() - if (k) { - for (const v of k) { - this.add(v) - } - } - } - add(k) { - this._map.set(getRuntimeKey(k), k) - } - has(k) { - return this._map.has(getRuntimeKey(k)) - } - [Symbol.iterator]() { - return this._map.values() - } - get size() { - return this._map.size - } - } - v.RuntimeSpecSet = RuntimeSpecSet - }, - 51542: function (k, v) { - 'use strict' - const parseVersion = (k) => { - var splitAndConvert = function (k) { - return k.split('.').map(function (k) { - return +k == k ? +k : k - }) - } - var v = /^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(k) - var E = v[1] ? splitAndConvert(v[1]) : [] - if (v[2]) { - E.length++ - E.push.apply(E, splitAndConvert(v[2])) - } - if (v[3]) { - E.push([]) - E.push.apply(E, splitAndConvert(v[3])) - } - return E - } - v.parseVersion = parseVersion - const versionLt = (k, v) => { - k = parseVersion(k) - v = parseVersion(v) - var E = 0 - for (;;) { - if (E >= k.length) return E < v.length && (typeof v[E])[0] != 'u' - var P = k[E] - var R = (typeof P)[0] - if (E >= v.length) return R == 'u' - var L = v[E] - var N = (typeof L)[0] - if (R == N) { - if (R != 'o' && R != 'u' && P != L) { - return P < L - } - E++ - } else { - if (R == 'o' && N == 'n') return true - return N == 's' || R == 'u' - } - } - } - v.versionLt = versionLt - v.parseRange = (k) => { - const splitAndConvert = (k) => - k.split('.').map((k) => (k !== 'NaN' && `${+k}` === k ? +k : k)) - const parsePartial = (k) => { - const v = /^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(k) - const E = v[1] ? [0, ...splitAndConvert(v[1])] : [0] - if (v[2]) { - E.length++ - E.push.apply(E, splitAndConvert(v[2])) - } - let P = E[E.length - 1] - while (E.length && (P === undefined || /^[*xX]$/.test(P))) { - E.pop() - P = E[E.length - 1] - } - return E - } - const toFixed = (k) => { - if (k.length === 1) { - return [0] - } else if (k.length === 2) { - return [1, ...k.slice(1)] - } else if (k.length === 3) { - return [2, ...k.slice(1)] - } else { - return [k.length, ...k.slice(1)] - } - } - const negate = (k) => [-k[0] - 1, ...k.slice(1)] - const parseSimple = (k) => { - const v = /^(\^|~|<=|<|>=|>|=|v|!)/.exec(k) - const E = v ? v[0] : '' - const P = parsePartial(E.length ? k.slice(E.length).trim() : k.trim()) - switch (E) { - case '^': - if (P.length > 1 && P[1] === 0) { - if (P.length > 2 && P[2] === 0) { - return [3, ...P.slice(1)] - } - return [2, ...P.slice(1)] - } - return [1, ...P.slice(1)] - case '~': - return [2, ...P.slice(1)] - case '>=': - return P - case '=': - case 'v': - case '': - return toFixed(P) - case '<': - return negate(P) - case '>': { - const k = toFixed(P) - return [, k, 0, P, 2] - } - case '<=': - return [, toFixed(P), negate(P), 1] - case '!': { - const k = toFixed(P) - return [, k, 0] - } - default: - throw new Error('Unexpected start value') - } - } - const combine = (k, v) => { - if (k.length === 1) return k[0] - const E = [] - for (const v of k.slice().reverse()) { - if (0 in v) { - E.push(v) - } else { - E.push(...v.slice(1)) - } - } - return [, ...E, ...k.slice(1).map(() => v)] - } - const parseRange = (k) => { - const v = k.split(/\s+-\s+/) - if (v.length === 1) { - const v = k - .trim() - .split(/(?<=[-0-9A-Za-z])\s+/g) - .map(parseSimple) - return combine(v, 2) - } - const E = parsePartial(v[0]) - const P = parsePartial(v[1]) - return [, toFixed(P), negate(P), 1, E, 2] - } - const parseLogicalOr = (k) => { - const v = k.split(/\s*\|\|\s*/).map(parseRange) - return combine(v, 1) - } - return parseLogicalOr(k) - } - const rangeToString = (k) => { - var v = k[0] - var E = '' - if (k.length === 1) { - return '*' - } else if (v + 0.5) { - E += - v == 0 - ? '>=' - : v == -1 - ? '<' - : v == 1 - ? '^' - : v == 2 - ? '~' - : v > 0 - ? '=' - : '!=' - var P = 1 - for (var R = 1; R < k.length; R++) { - var L = k[R] - var N = (typeof L)[0] - P-- - E += N == 'u' ? '-' : (P > 0 ? '.' : '') + ((P = 2), L) - } - return E - } else { - var q = [] - for (var R = 1; R < k.length; R++) { - var L = k[R] - q.push( - L === 0 - ? 'not(' + pop() + ')' - : L === 1 - ? '(' + pop() + ' || ' + pop() + ')' - : L === 2 - ? q.pop() + ' ' + q.pop() - : rangeToString(L) - ) - } - return pop() - } - function pop() { - return q.pop().replace(/^\((.+)\)$/, '$1') - } - } - v.rangeToString = rangeToString - const satisfy = (k, v) => { - if (0 in k) { - v = parseVersion(v) - var E = k[0] - var P = E < 0 - if (P) E = -E - 1 - for (var R = 0, L = 1, N = true; ; L++, R++) { - var q = L < k.length ? (typeof k[L])[0] : '' - var ae - var le - if (R >= v.length || ((ae = v[R]), (le = (typeof ae)[0]) == 'o')) { - if (!N) return true - if (q == 'u') return L > E && !P - return (q == '') != P - } - if (le == 'u') { - if (!N || q != 'u') { - return false - } - } else if (N) { - if (q == le) { - if (L <= E) { - if (ae != k[L]) { - return false - } - } else { - if (P ? ae > k[L] : ae < k[L]) { - return false - } - if (ae != k[L]) N = false - } - } else if (q != 's' && q != 'n') { - if (P || L <= E) return false - N = false - L-- - } else if (L <= E || le < q != P) { - return false - } else { - N = false - } - } else { - if (q != 's' && q != 'n') { - N = false - L-- - } - } - } - } - var pe = [] - var me = pe.pop.bind(pe) - for (var R = 1; R < k.length; R++) { - var ye = k[R] - pe.push( - ye == 1 - ? me() | me() - : ye == 2 - ? me() & me() - : ye - ? satisfy(ye, v) - : !me() - ) - } - return !!me() - } - v.satisfy = satisfy - v.stringifyHoley = (k) => { - switch (typeof k) { - case 'undefined': - return '' - case 'object': - if (Array.isArray(k)) { - let v = '[' - for (let E = 0; E < k.length; E++) { - if (E !== 0) v += ',' - v += this.stringifyHoley(k[E]) - } - v += ']' - return v - } else { - return JSON.stringify(k) - } - default: - return JSON.stringify(k) - } - } - v.parseVersionRuntimeCode = (k) => - `var parseVersion = ${k.basicFunction('str', [ - '// see webpack/lib/util/semver.js for original code', - `var p=${ - k.supportsArrowFunction() ? 'p=>' : 'function(p)' - }{return p.split(".").map((${ - k.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;`, - ])}` - v.versionLtRuntimeCode = (k) => - `var versionLt = ${k.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 = ${k.basicFunction('range', [ - '// see webpack/lib/util/semver.js for original code', - 'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a - `var satisfy = ${k.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 E(94071)) - const L = P(() => E(67085)) - const N = P(() => E(90341)) - const q = P(() => E(90827)) - const ae = P(() => E(5505)) - const le = P(() => new (R())()) - const pe = P(() => { - E(5618) - const k = E(51455) - L().registerLoader(/^webpack\/lib\//, (v) => { - const E = k[v.slice('webpack/lib/'.length)] - if (E) { - E() - } else { - console.warn(`${v} not found in internalSerializables`) - } - return true - }) - }) - let me - k.exports = { - get register() { - return L().register - }, - get registerLoader() { - return L().registerLoader - }, - get registerNotSerializable() { - return L().registerNotSerializable - }, - get NOT_SERIALIZABLE() { - return L().NOT_SERIALIZABLE - }, - get MEASURE_START_OPERATION() { - return R().MEASURE_START_OPERATION - }, - get MEASURE_END_OPERATION() { - return R().MEASURE_END_OPERATION - }, - get buffersSerializer() { - if (me !== undefined) return me - pe() - const k = q() - const v = le() - const E = ae() - const P = N() - return (me = new k([ - new P(), - new (L())((k) => { - if (k.write) { - k.writeLazy = (P) => { - k.write(E.createLazy(P, v)) - } - } - }, 'md4'), - v, - ])) - }, - createFileSerializer: (k, v) => { - pe() - const P = q() - const R = E(26607) - const me = new R(k, v) - const ye = le() - const _e = ae() - const Ie = N() - return new P([ - new Ie(), - new (L())((k) => { - if (k.write) { - k.writeLazy = (v) => { - k.write(_e.createLazy(v, ye)) - } - k.writeSeparate = (v, E) => { - const P = _e.createLazy(v, me, E) - k.write(P) - return P - } - } - }, v), - ye, - me, - ]) - }, - } - }, - 53501: function (k) { - 'use strict' - const smartGrouping = (k, v) => { - const E = new Set() - const P = new Map() - for (const R of k) { - const k = new Set() - for (let E = 0; E < v.length; E++) { - const L = v[E] - const N = L.getKeys(R) - if (N) { - for (const v of N) { - const R = `${E}:${v}` - let N = P.get(R) - if (N === undefined) { - P.set( - R, - (N = { - config: L, - name: v, - alreadyGrouped: false, - items: undefined, - }) - ) - } - k.add(N) - } - } - } - E.add({ item: R, groups: k }) - } - const runGrouping = (k) => { - const v = k.size - for (const v of k) { - for (const k of v.groups) { - if (k.alreadyGrouped) continue - const E = k.items - if (E === undefined) { - k.items = new Set([v]) - } else { - E.add(v) - } - } - } - const E = new Map() - for (const k of P.values()) { - if (k.items) { - const v = k.items - k.items = undefined - E.set(k, { items: v, options: undefined, used: false }) - } - } - const R = [] - for (;;) { - let P = undefined - let L = -1 - let N = undefined - let q = undefined - for (const [R, ae] of E) { - const { items: E, used: le } = ae - let pe = ae.options - if (pe === undefined) { - const k = R.config - ae.options = pe = - (k.getOptions && - k.getOptions( - R.name, - Array.from(E, ({ item: k }) => k) - )) || - false - } - const me = pe && pe.force - if (!me) { - if (q && q.force) continue - if (le) continue - if (E.size <= 1 || v - E.size <= 1) { - continue - } - } - const ye = (pe && pe.targetGroupCount) || 4 - let _e = me - ? E.size - : Math.min(E.size, (v * 2) / ye + k.size - E.size) - if (_e > L || (me && (!q || !q.force))) { - P = R - L = _e - N = E - q = pe - } - } - if (P === undefined) { - break - } - const ae = new Set(N) - const le = q - const pe = !le || le.groupChildren !== false - for (const v of ae) { - k.delete(v) - for (const k of v.groups) { - const P = E.get(k) - if (P !== undefined) { - P.items.delete(v) - if (P.items.size === 0) { - E.delete(k) - } else { - P.options = undefined - if (pe) { - P.used = true - } - } - } - } - } - E.delete(P) - const me = P.name - const ye = P.config - const _e = Array.from(ae, ({ item: k }) => k) - P.alreadyGrouped = true - const Ie = pe ? runGrouping(ae) : _e - P.alreadyGrouped = false - R.push(ye.createGroup(me, Ie, _e)) - } - for (const { item: v } of k) { - R.push(v) - } - return R - } - return runGrouping(E) - } - k.exports = smartGrouping - }, - 71435: function (k, v) { - 'use strict' - const E = new WeakMap() - const _isSourceEqual = (k, v) => { - let E = typeof k.buffer === 'function' ? k.buffer() : k.source() - let P = typeof v.buffer === 'function' ? v.buffer() : v.source() - if (E === P) return true - if (typeof E === 'string' && typeof P === 'string') return false - if (!Buffer.isBuffer(E)) E = Buffer.from(E, 'utf-8') - if (!Buffer.isBuffer(P)) P = Buffer.from(P, 'utf-8') - return E.equals(P) - } - const isSourceEqual = (k, v) => { - if (k === v) return true - const P = E.get(k) - if (P !== undefined) { - const k = P.get(v) - if (k !== undefined) return k - } - const R = _isSourceEqual(k, v) - if (P !== undefined) { - P.set(v, R) - } else { - const P = new WeakMap() - P.set(v, R) - E.set(k, P) - } - const L = E.get(v) - if (L !== undefined) { - L.set(k, R) - } else { - const P = new WeakMap() - P.set(k, R) - E.set(v, P) - } - return R - } - v.isSourceEqual = isSourceEqual - }, - 11458: function (k, v, E) { - 'use strict' - const { validate: P } = E(38476) - const R = { - 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 L = { - concord: - 'BREAKING CHANGE: resolve.concord has been removed and is no longer available.', - devtoolLineToLine: - 'BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available.', - } - const validateSchema = (k, v, E) => { - P( - k, - v, - E || { - name: 'Webpack', - postFormatter: (k, v) => { - const E = v.children - if ( - E && - E.some( - (k) => - k.keyword === 'absolutePath' && - k.dataPath === '.output.filename' - ) - ) { - return `${k}\nPlease use output.path to specify absolute path and output.filename for the file name.` - } - if ( - E && - E.some( - (k) => k.keyword === 'pattern' && k.dataPath === '.devtool' - ) - ) { - return ( - `${k}\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 (v.keyword === 'additionalProperties') { - const E = v.params - if ( - Object.prototype.hasOwnProperty.call(R, E.additionalProperty) - ) { - return `${k}\nDid you mean ${R[E.additionalProperty]}?` - } - if ( - Object.prototype.hasOwnProperty.call(L, E.additionalProperty) - ) { - return `${k}\n${L[E.additionalProperty]}?` - } - if (!v.dataPath) { - if (E.additionalProperty === 'debug') { - return ( - `${k}\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 (E.additionalProperty) { - return ( - `${k}\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.additionalProperty}: …\n` + - ' }\n' + - ' })\n' + - ' ]' - ) - } - } - } - return k - }, - } - ) - } - k.exports = validateSchema - }, - 99393: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - class AsyncWasmLoadingRuntimeModule extends R { - constructor({ generateLoadBinaryCode: k, supportsStreaming: v }) { - super('wasm loading', R.STAGE_NORMAL) - this.generateLoadBinaryCode = k - this.supportsStreaming = v - } - generate() { - const { compilation: k, chunk: v } = this - const { outputOptions: E, runtimeTemplate: R } = k - const N = P.instantiateWasm - const q = k.getPath(JSON.stringify(E.webassemblyModuleFilename), { - hash: `" + ${P.getFullHash}() + "`, - hashWithLength: (k) => `" + ${P.getFullHash}}().slice(0, ${k}) + "`, - module: { - id: '" + wasmModuleId + "', - hash: `" + wasmModuleHash + "`, - hashWithLength(k) { - return `" + wasmModuleHash.slice(0, ${k}) + "` - }, - }, - runtime: v.runtime, - }) - return `${N} = ${R.basicFunction( - 'exports, wasmModuleId, wasmModuleHash, importsObj', - [ - `var req = ${this.generateLoadBinaryCode(q)};`, - this.supportsStreaming - ? L.asString([ - "if (typeof WebAssembly.instantiateStreaming === 'function') {", - L.indent([ - 'return WebAssembly.instantiateStreaming(req, importsObj)', - L.indent([ - `.then(${R.returningFunction( - 'Object.assign(exports, res.instance.exports)', - 'res' - )});`, - ]), - ]), - '}', - ]) - : '// no support for streaming compilation', - 'return req', - L.indent([ - `.then(${R.returningFunction('x.arrayBuffer()', 'x')})`, - `.then(${R.returningFunction( - 'WebAssembly.instantiate(bytes, importsObj)', - 'bytes' - )})`, - `.then(${R.returningFunction( - 'Object.assign(exports, res.instance.exports)', - 'res' - )});`, - ]), - ] - )};` - } - } - k.exports = AsyncWasmLoadingRuntimeModule - }, - 67290: function (k, v, E) { - 'use strict' - const P = E(91597) - const R = new Set(['webassembly']) - class AsyncWebAssemblyGenerator extends P { - constructor(k) { - super() - this.options = k - } - getTypes(k) { - return R - } - getSize(k, v) { - const E = k.originalSource() - if (!E) { - return 0 - } - return E.size() - } - generate(k, v) { - return k.originalSource() - } - } - k.exports = AsyncWebAssemblyGenerator - }, - 16332: function (k, v, E) { - 'use strict' - const { RawSource: P } = E(51255) - const R = E(91597) - const L = E(88113) - const N = E(56727) - const q = E(95041) - const ae = E(22734) - const le = new Set(['webassembly']) - class AsyncWebAssemblyJavascriptGenerator extends R { - constructor(k) { - super() - this.filenameTemplate = k - } - getTypes(k) { - return le - } - getSize(k, v) { - return 40 + k.dependencies.length * 10 - } - generate(k, v) { - const { - runtimeTemplate: E, - chunkGraph: R, - moduleGraph: le, - runtimeRequirements: pe, - runtime: me, - } = v - pe.add(N.module) - pe.add(N.moduleId) - pe.add(N.exports) - pe.add(N.instantiateWasm) - const ye = [] - const _e = new Map() - const Ie = new Map() - for (const v of k.dependencies) { - if (v instanceof ae) { - const k = le.getModule(v) - if (!_e.has(k)) { - _e.set(k, { - request: v.request, - importVar: `WEBPACK_IMPORTED_MODULE_${_e.size}`, - }) - } - let E = Ie.get(v.request) - if (E === undefined) { - E = [] - Ie.set(v.request, E) - } - E.push(v) - } - } - const Me = [] - const Te = Array.from(_e, ([v, { request: P, importVar: L }]) => { - if (le.isAsync(v)) { - Me.push(L) - } - return E.importStatement({ - update: false, - module: v, - chunkGraph: R, - request: P, - originModule: k, - importVar: L, - runtimeRequirements: pe, - }) - }) - const je = Te.map(([k]) => k).join('') - const Ne = Te.map(([k, v]) => v).join('') - const Be = Array.from(Ie, ([v, P]) => { - const R = P.map((P) => { - const R = le.getModule(P) - const L = _e.get(R).importVar - return `${JSON.stringify(P.name)}: ${E.exportFromImport({ - moduleGraph: le, - module: R, - request: v, - exportName: P.name, - originModule: k, - asiSafe: true, - isCall: false, - callContext: false, - defaultInterop: true, - importVar: L, - initFragments: ye, - runtime: me, - runtimeRequirements: pe, - })}` - }) - return q.asString([ - `${JSON.stringify(v)}: {`, - q.indent(R.join(',\n')), - '}', - ]) - }) - const qe = - Be.length > 0 - ? q.asString(['{', q.indent(Be.join(',\n')), '}']) - : undefined - const Ue = - `${N.instantiateWasm}(${k.exportsArgument}, ${ - k.moduleArgument - }.id, ${JSON.stringify(R.getRenderedModuleHash(k, me))}` + - (qe ? `, ${qe})` : `)`) - if (Me.length > 0) pe.add(N.asyncModule) - const Ge = new P( - Me.length > 0 - ? q.asString([ - `var __webpack_instantiate__ = ${E.basicFunction( - `[${Me.join(', ')}]`, - `${Ne}return ${Ue};` - )}`, - `${N.asyncModule}(${ - k.moduleArgument - }, async ${E.basicFunction( - '__webpack_handle_async_dependencies__, __webpack_async_result__', - [ - 'try {', - je, - `var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${Me.join( - ', ' - )}]);`, - `var [${Me.join( - ', ' - )}] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__;`, - `${Ne}await ${Ue};`, - '__webpack_async_result__();', - '} catch(e) { __webpack_async_result__(e); }', - ] - )}, 1);`, - ]) - : `${je}${Ne}module.exports = ${Ue};` - ) - return L.addToSource(Ge, ye, v) - } - } - k.exports = AsyncWebAssemblyJavascriptGenerator - }, - 70006: function (k, v, E) { - 'use strict' - const { SyncWaterfallHook: P } = E(79846) - const R = E(27747) - const L = E(91597) - const { tryRunOrWebpackError: N } = E(82104) - const { WEBASSEMBLY_MODULE_TYPE_ASYNC: q } = E(93622) - const ae = E(22734) - const { compareModulesByIdentifier: le } = E(95648) - const pe = E(20631) - const me = pe(() => E(67290)) - const ye = pe(() => E(16332)) - const _e = pe(() => E(13115)) - const Ie = new WeakMap() - const Me = 'AsyncWebAssemblyModulesPlugin' - class AsyncWebAssemblyModulesPlugin { - static getCompilationHooks(k) { - if (!(k instanceof R)) { - throw new TypeError( - "The 'compilation' argument must be an instance of Compilation" - ) - } - let v = Ie.get(k) - if (v === undefined) { - v = { - renderModuleContent: new P(['source', 'module', 'renderContext']), - } - Ie.set(k, v) - } - return v - } - constructor(k) { - this.options = k - } - apply(k) { - k.hooks.compilation.tap(Me, (k, { normalModuleFactory: v }) => { - const E = AsyncWebAssemblyModulesPlugin.getCompilationHooks(k) - k.dependencyFactories.set(ae, v) - v.hooks.createParser.for(q).tap(Me, () => { - const k = _e() - return new k() - }) - v.hooks.createGenerator.for(q).tap(Me, () => { - const v = ye() - const E = me() - return L.byType({ - javascript: new v(k.outputOptions.webassemblyModuleFilename), - webassembly: new E(this.options), - }) - }) - k.hooks.renderManifest.tap('WebAssemblyModulesPlugin', (v, P) => { - const { moduleGraph: R, chunkGraph: L, runtimeTemplate: N } = k - const { - chunk: ae, - outputOptions: pe, - dependencyTemplates: me, - codeGenerationResults: ye, - } = P - for (const k of L.getOrderedChunkModulesIterable(ae, le)) { - if (k.type === q) { - const P = pe.webassemblyModuleFilename - v.push({ - render: () => - this.renderModule( - k, - { - chunk: ae, - dependencyTemplates: me, - runtimeTemplate: N, - moduleGraph: R, - chunkGraph: L, - codeGenerationResults: ye, - }, - E - ), - filenameTemplate: P, - pathOptions: { - module: k, - runtime: ae.runtime, - chunkGraph: L, - }, - auxiliary: true, - identifier: `webassemblyAsyncModule${L.getModuleId(k)}`, - hash: L.getModuleHash(k, ae.runtime), - }) - } - } - return v - }) - }) - } - renderModule(k, v, E) { - const { codeGenerationResults: P, chunk: R } = v - try { - const L = P.getSource(k, R.runtime, 'webassembly') - return N( - () => E.renderModuleContent.call(L, k, v), - 'AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent' - ) - } catch (v) { - v.module = k - throw v - } - } - } - k.exports = AsyncWebAssemblyModulesPlugin - }, - 13115: function (k, v, E) { - 'use strict' - const P = E(26333) - const { decode: R } = E(57480) - const L = E(17381) - const N = E(93414) - const q = E(22734) - const ae = { - ignoreCodeSection: true, - ignoreDataSection: true, - ignoreCustomNameSection: true, - } - class WebAssemblyParser extends L { - constructor(k) { - super() - this.hooks = Object.freeze({}) - this.options = k - } - parse(k, v) { - if (!Buffer.isBuffer(k)) { - throw new Error('WebAssemblyParser input must be a Buffer') - } - v.module.buildInfo.strict = true - v.module.buildMeta.exportsType = 'namespace' - v.module.buildMeta.async = true - const E = R(k, ae) - const L = E.body[0] - const le = [] - P.traverse(L, { - ModuleExport({ node: k }) { - le.push(k.name) - }, - ModuleImport({ node: k }) { - const E = new q(k.module, k.name, k.descr, false) - v.module.addDependency(E) - }, - }) - v.module.addDependency(new N(le, false)) - return v - } - } - k.exports = WebAssemblyParser - }, - 42626: function (k, v, E) { - 'use strict' - const P = E(71572) - k.exports = class UnsupportedWebAssemblyFeatureError extends P { - constructor(k) { - super(k) - this.name = 'UnsupportedWebAssemblyFeatureError' - this.hideStack = true - } - } - }, - 68403: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - const { compareModulesByIdentifier: N } = E(95648) - const q = E(91702) - const getAllWasmModules = (k, v, E) => { - const P = E.getAllAsyncChunks() - const R = [] - for (const k of P) { - for (const E of v.getOrderedChunkModulesIterable(k, N)) { - if (E.type.startsWith('webassembly')) { - R.push(E) - } - } - } - return R - } - const generateImportObject = (k, v, E, R, N) => { - const ae = k.moduleGraph - const le = new Map() - const pe = [] - const me = q.getUsedDependencies(ae, v, E) - for (const v of me) { - const E = v.dependency - const q = ae.getModule(E) - const me = E.name - const ye = q && ae.getExportsInfo(q).getUsedName(me, N) - const _e = E.description - const Ie = E.onlyDirectImport - const Me = v.module - const Te = v.name - if (Ie) { - const v = `m${le.size}` - le.set(v, k.getModuleId(q)) - pe.push({ - module: Me, - name: Te, - value: `${v}[${JSON.stringify(ye)}]`, - }) - } else { - const v = _e.signature.params.map((k, v) => 'p' + v + k.valtype) - const E = `${P.moduleCache}[${JSON.stringify(k.getModuleId(q))}]` - const N = `${E}.exports` - const ae = `wasmImportedFuncCache${R.length}` - R.push(`var ${ae};`) - pe.push({ - module: Me, - name: Te, - value: L.asString([ - (q.type.startsWith('webassembly') - ? `${E} ? ${N}[${JSON.stringify(ye)}] : ` - : '') + `function(${v}) {`, - L.indent([ - `if(${ae} === undefined) ${ae} = ${N};`, - `return ${ae}[${JSON.stringify(ye)}](${v});`, - ]), - '}', - ]), - }) - } - } - let ye - if (E) { - ye = [ - 'return {', - L.indent([ - pe - .map((k) => `${JSON.stringify(k.name)}: ${k.value}`) - .join(',\n'), - ]), - '};', - ] - } else { - const k = new Map() - for (const v of pe) { - let E = k.get(v.module) - if (E === undefined) { - k.set(v.module, (E = [])) - } - E.push(v) - } - ye = [ - 'return {', - L.indent([ - Array.from(k, ([k, v]) => - L.asString([ - `${JSON.stringify(k)}: {`, - L.indent([ - v - .map((k) => `${JSON.stringify(k.name)}: ${k.value}`) - .join(',\n'), - ]), - '}', - ]) - ).join(',\n'), - ]), - '};', - ] - } - const _e = JSON.stringify(k.getModuleId(v)) - if (le.size === 1) { - const k = Array.from(le.values())[0] - const v = `installedWasmModules[${JSON.stringify(k)}]` - const E = Array.from(le.keys())[0] - return L.asString([ - `${_e}: function() {`, - L.indent([ - `return promiseResolve().then(function() { return ${v}; }).then(function(${E}) {`, - L.indent(ye), - '});', - ]), - '},', - ]) - } else if (le.size > 0) { - const k = Array.from( - le.values(), - (k) => `installedWasmModules[${JSON.stringify(k)}]` - ).join(', ') - const v = Array.from(le.keys(), (k, v) => `${k} = array[${v}]`).join( - ', ' - ) - return L.asString([ - `${_e}: function() {`, - L.indent([ - `return promiseResolve().then(function() { return Promise.all([${k}]); }).then(function(array) {`, - L.indent([`var ${v};`, ...ye]), - '});', - ]), - '},', - ]) - } else { - return L.asString([`${_e}: function() {`, L.indent(ye), '},']) - } - } - class WasmChunkLoadingRuntimeModule extends R { - constructor({ - generateLoadBinaryCode: k, - supportsStreaming: v, - mangleImports: E, - runtimeRequirements: P, - }) { - super('wasm chunk loading', R.STAGE_ATTACH) - this.generateLoadBinaryCode = k - this.supportsStreaming = v - this.mangleImports = E - this._runtimeRequirements = P - } - generate() { - const { - chunkGraph: k, - compilation: v, - chunk: E, - mangleImports: R, - } = this - const { moduleGraph: N, outputOptions: ae } = v - const le = P.ensureChunkHandlers - const pe = this._runtimeRequirements.has(P.hmrDownloadUpdateHandlers) - const me = getAllWasmModules(N, k, E) - const ye = [] - const _e = me.map((v) => - generateImportObject(k, v, this.mangleImports, ye, E.runtime) - ) - const Ie = k.getChunkModuleIdMap(E, (k) => - k.type.startsWith('webassembly') - ) - const createImportObject = (k) => - R ? `{ ${JSON.stringify(q.MANGLED_MODULE)}: ${k} }` : k - const Me = v.getPath(JSON.stringify(ae.webassemblyModuleFilename), { - hash: `" + ${P.getFullHash}() + "`, - hashWithLength: (k) => `" + ${P.getFullHash}}().slice(0, ${k}) + "`, - module: { - id: '" + wasmModuleId + "', - hash: `" + ${JSON.stringify( - k.getChunkModuleRenderedHashMap(E, (k) => - k.type.startsWith('webassembly') - ) - )}[chunkId][wasmModuleId] + "`, - hashWithLength(v) { - return `" + ${JSON.stringify( - k.getChunkModuleRenderedHashMap( - E, - (k) => k.type.startsWith('webassembly'), - v - ) - )}[chunkId][wasmModuleId] + "` - }, - }, - runtime: E.runtime, - }) - const Te = pe ? `${P.hmrRuntimeStatePrefix}_wasm` : undefined - return L.asString([ - '// object to store loaded and loading wasm modules', - `var installedWasmModules = ${Te ? `${Te} = ${Te} || ` : ''}{};`, - '', - 'function promiseResolve() { return Promise.resolve(); }', - '', - L.asString(ye), - 'var wasmImportObjects = {', - L.indent(_e), - '};', - '', - `var wasmModuleMap = ${JSON.stringify(Ie, undefined, '\t')};`, - '', - '// object with all WebAssembly.instance exports', - `${P.wasmInstances} = {};`, - '', - '// Fetch + compile chunk loading for webassembly', - `${le}.wasm = function(chunkId, promises) {`, - L.indent([ - '', - `var wasmModules = wasmModuleMap[chunkId] || [];`, - '', - 'wasmModules.forEach(function(wasmModuleId, idx) {', - L.indent([ - 'var installedWasmModuleData = installedWasmModules[wasmModuleId];', - '', - '// a Promise means "currently loading" or "already loaded".', - 'if(installedWasmModuleData)', - L.indent(['promises.push(installedWasmModuleData);']), - 'else {', - L.indent([ - `var importObject = wasmImportObjects[wasmModuleId]();`, - `var req = ${this.generateLoadBinaryCode(Me)};`, - 'var promise;', - this.supportsStreaming - ? L.asString([ - "if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {", - L.indent([ - 'promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {', - L.indent([ - `return WebAssembly.instantiate(items[0], ${createImportObject( - 'items[1]' - )});`, - ]), - '});', - ]), - "} else if(typeof WebAssembly.instantiateStreaming === 'function') {", - L.indent([ - `promise = WebAssembly.instantiateStreaming(req, ${createImportObject( - 'importObject' - )});`, - ]), - ]) - : L.asString([ - "if(importObject && typeof importObject.then === 'function') {", - L.indent([ - 'var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });', - 'promise = Promise.all([', - L.indent([ - 'bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),', - 'importObject', - ]), - ']).then(function(items) {', - L.indent([ - `return WebAssembly.instantiate(items[0], ${createImportObject( - 'items[1]' - )});`, - ]), - '});', - ]), - ]), - '} else {', - L.indent([ - 'var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });', - 'promise = bytesPromise.then(function(bytes) {', - L.indent([ - `return WebAssembly.instantiate(bytes, ${createImportObject( - 'importObject' - )});`, - ]), - '});', - ]), - '}', - 'promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {', - L.indent([ - `return ${P.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`, - ]), - '}));', - ]), - '}', - ]), - '});', - ]), - '};', - ]) - } - } - k.exports = WasmChunkLoadingRuntimeModule - }, - 6754: function (k, v, E) { - 'use strict' - const P = E(1811) - const R = E(42626) - class WasmFinalizeExportsPlugin { - apply(k) { - k.hooks.compilation.tap('WasmFinalizeExportsPlugin', (k) => { - k.hooks.finishModules.tap('WasmFinalizeExportsPlugin', (v) => { - for (const E of v) { - if (E.type.startsWith('webassembly') === true) { - const v = E.buildMeta.jsIncompatibleExports - if (v === undefined) { - continue - } - for (const L of k.moduleGraph.getIncomingConnections(E)) { - if ( - L.isTargetActive(undefined) && - L.originModule.type.startsWith('webassembly') === false - ) { - const N = k.getDependencyReferencedExports( - L.dependency, - undefined - ) - for (const q of N) { - const N = Array.isArray(q) ? q : q.name - if (N.length === 0) continue - const ae = N[0] - if (typeof ae === 'object') continue - if (Object.prototype.hasOwnProperty.call(v, ae)) { - const N = new R( - `Export "${ae}" with ${v[ae]} can only be used for direct wasm to wasm dependencies\n` + - `It's used from ${L.originModule.readableIdentifier( - k.requestShortener - )} at ${P(L.dependency.loc)}.` - ) - N.module = E - k.errors.push(N) - } - } - } - } - } - } - }) - }) - } - } - k.exports = WasmFinalizeExportsPlugin - }, - 96157: function (k, v, E) { - 'use strict' - const { RawSource: P } = E(51255) - const R = E(91597) - const L = E(91702) - const N = E(26333) - const { moduleContextFromModuleAST: q } = E(26333) - const { editWithAST: ae, addWithAST: le } = E(12092) - const { decode: pe } = E(57480) - const me = E(74476) - const compose = (...k) => - k.reduce( - (k, v) => (E) => v(k(E)), - (k) => k - ) - const removeStartFunc = (k) => (v) => - ae(k.ast, v, { - Start(k) { - k.remove() - }, - }) - const getImportedGlobals = (k) => { - const v = [] - N.traverse(k, { - ModuleImport({ node: k }) { - if (N.isGlobalType(k.descr)) { - v.push(k) - } - }, - }) - return v - } - const getCountImportedFunc = (k) => { - let v = 0 - N.traverse(k, { - ModuleImport({ node: k }) { - if (N.isFuncImportDescr(k.descr)) { - v++ - } - }, - }) - return v - } - const getNextTypeIndex = (k) => { - const v = N.getSectionMetadata(k, 'type') - if (v === undefined) { - return N.indexLiteral(0) - } - return N.indexLiteral(v.vectorOfSize.value) - } - const getNextFuncIndex = (k, v) => { - const E = N.getSectionMetadata(k, 'func') - if (E === undefined) { - return N.indexLiteral(0 + v) - } - const P = E.vectorOfSize.value - return N.indexLiteral(P + v) - } - const createDefaultInitForGlobal = (k) => { - if (k.valtype[0] === 'i') { - return N.objectInstruction('const', k.valtype, [ - N.numberLiteralFromRaw(66), - ]) - } else if (k.valtype[0] === 'f') { - return N.objectInstruction('const', k.valtype, [ - N.floatLiteral(66, false, false, '66'), - ]) - } else { - throw new Error('unknown type: ' + k.valtype) - } - } - const rewriteImportedGlobals = (k) => (v) => { - const E = k.additionalInitCode - const P = [] - v = ae(k.ast, v, { - ModuleImport(k) { - if (N.isGlobalType(k.node.descr)) { - const v = k.node.descr - v.mutability = 'var' - const E = [createDefaultInitForGlobal(v), N.instruction('end')] - P.push(N.global(v, E)) - k.remove() - } - }, - Global(k) { - const { node: v } = k - const [R] = v.init - if (R.id === 'get_global') { - v.globalType.mutability = 'var' - const k = R.args[0] - v.init = [ - createDefaultInitForGlobal(v.globalType), - N.instruction('end'), - ] - E.push( - N.instruction('get_local', [k]), - N.instruction('set_global', [N.indexLiteral(P.length)]) - ) - } - P.push(v) - k.remove() - }, - }) - return le(k.ast, v, P) - } - const rewriteExportNames = - ({ - ast: k, - moduleGraph: v, - module: E, - externalExports: P, - runtime: R, - }) => - (L) => - ae(k, L, { - ModuleExport(k) { - const L = P.has(k.node.name) - if (L) { - k.remove() - return - } - const N = v.getExportsInfo(E).getUsedName(k.node.name, R) - if (!N) { - k.remove() - return - } - k.node.name = N - }, - }) - const rewriteImports = - ({ ast: k, usedDependencyMap: v }) => - (E) => - ae(k, E, { - ModuleImport(k) { - const E = v.get(k.node.module + ':' + k.node.name) - if (E !== undefined) { - k.node.module = E.module - k.node.name = E.name - } - }, - }) - const addInitFunction = - ({ - ast: k, - initFuncId: v, - startAtFuncOffset: E, - importedGlobals: P, - additionalInitCode: R, - nextFuncIndex: L, - nextTypeIndex: q, - }) => - (ae) => { - const pe = P.map((k) => { - const v = N.identifier(`${k.module}.${k.name}`) - return N.funcParam(k.descr.valtype, v) - }) - const me = [] - P.forEach((k, v) => { - const E = [N.indexLiteral(v)] - const P = [ - N.instruction('get_local', E), - N.instruction('set_global', E), - ] - me.push(...P) - }) - if (typeof E === 'number') { - me.push(N.callInstruction(N.numberLiteralFromRaw(E))) - } - for (const k of R) { - me.push(k) - } - me.push(N.instruction('end')) - const ye = [] - const _e = N.signature(pe, ye) - const Ie = N.func(v, _e, me) - const Me = N.typeInstruction(undefined, _e) - const Te = N.indexInFuncSection(q) - const je = N.moduleExport(v.value, N.moduleExportDescr('Func', L)) - return le(k, ae, [Ie, je, Te, Me]) - } - const getUsedDependencyMap = (k, v, E) => { - const P = new Map() - for (const R of L.getUsedDependencies(k, v, E)) { - const k = R.dependency - const v = k.request - const E = k.name - P.set(v + ':' + E, R) - } - return P - } - const ye = new Set(['webassembly']) - class WebAssemblyGenerator extends R { - constructor(k) { - super() - this.options = k - } - getTypes(k) { - return ye - } - getSize(k, v) { - const E = k.originalSource() - if (!E) { - return 0 - } - return E.size() - } - generate(k, { moduleGraph: v, runtime: E }) { - const R = k.originalSource().source() - const L = N.identifier('') - const ae = pe(R, { - ignoreDataSection: true, - ignoreCodeSection: true, - ignoreCustomNameSection: true, - }) - const le = q(ae.body[0]) - const ye = getImportedGlobals(ae) - const _e = getCountImportedFunc(ae) - const Ie = le.getStart() - const Me = getNextFuncIndex(ae, _e) - const Te = getNextTypeIndex(ae) - const je = getUsedDependencyMap(v, k, this.options.mangleImports) - const Ne = new Set( - k.dependencies - .filter((k) => k instanceof me) - .map((k) => { - const v = k - return v.exportName - }) - ) - const Be = [] - const qe = compose( - rewriteExportNames({ - ast: ae, - moduleGraph: v, - module: k, - externalExports: Ne, - runtime: E, - }), - removeStartFunc({ ast: ae }), - rewriteImportedGlobals({ ast: ae, additionalInitCode: Be }), - rewriteImports({ ast: ae, usedDependencyMap: je }), - addInitFunction({ - ast: ae, - initFuncId: L, - importedGlobals: ye, - additionalInitCode: Be, - startAtFuncOffset: Ie, - nextFuncIndex: Me, - nextTypeIndex: Te, - }) - ) - const Ue = qe(R) - const Ge = Buffer.from(Ue) - return new P(Ge) - } - } - k.exports = WebAssemblyGenerator - }, - 83454: function (k, v, E) { - 'use strict' - const P = E(71572) - const getInitialModuleChains = (k, v, E, P) => { - const R = [{ head: k, message: k.readableIdentifier(P) }] - const L = new Set() - const N = new Set() - const q = new Set() - for (const k of R) { - const { head: ae, message: le } = k - let pe = true - const me = new Set() - for (const k of v.getIncomingConnections(ae)) { - const v = k.originModule - if (v) { - if (!E.getModuleChunks(v).some((k) => k.canBeInitial())) continue - pe = false - if (me.has(v)) continue - me.add(v) - const L = v.readableIdentifier(P) - const ae = k.explanation ? ` (${k.explanation})` : '' - const ye = `${L}${ae} --\x3e ${le}` - if (q.has(v)) { - N.add(`... --\x3e ${ye}`) - continue - } - q.add(v) - R.push({ head: v, message: ye }) - } else { - pe = false - const v = k.explanation ? `(${k.explanation}) --\x3e ${le}` : le - L.add(v) - } - } - if (pe) { - L.add(le) - } - } - for (const k of N) { - L.add(k) - } - return Array.from(L) - } - k.exports = class WebAssemblyInInitialChunkError extends P { - constructor(k, v, E, P) { - const R = getInitialModuleChains(k, v, E, P) - const L = `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${R.map( - (k) => `* ${k}` - ).join('\n')}` - super(L) - this.name = 'WebAssemblyInInitialChunkError' - this.hideStack = true - this.module = k - } - } - }, - 26106: function (k, v, E) { - 'use strict' - const { RawSource: P } = E(51255) - const { UsageState: R } = E(11172) - const L = E(91597) - const N = E(88113) - const q = E(56727) - const ae = E(95041) - const le = E(77373) - const pe = E(74476) - const me = E(22734) - const ye = new Set(['webassembly']) - class WebAssemblyJavascriptGenerator extends L { - getTypes(k) { - return ye - } - getSize(k, v) { - return 95 + k.dependencies.length * 5 - } - generate(k, v) { - const { - runtimeTemplate: E, - moduleGraph: L, - chunkGraph: ye, - runtimeRequirements: _e, - runtime: Ie, - } = v - const Me = [] - const Te = L.getExportsInfo(k) - let je = false - const Ne = new Map() - const Be = [] - let qe = 0 - for (const v of k.dependencies) { - const P = v && v instanceof le ? v : undefined - if (L.getModule(v)) { - let R = Ne.get(L.getModule(v)) - if (R === undefined) { - Ne.set( - L.getModule(v), - (R = { - importVar: `m${qe}`, - index: qe, - request: (P && P.userRequest) || undefined, - names: new Set(), - reexports: [], - }) - ) - qe++ - } - if (v instanceof me) { - R.names.add(v.name) - if (v.description.type === 'GlobalType') { - const P = v.name - const N = L.getModule(v) - if (N) { - const q = L.getExportsInfo(N).getUsedName(P, Ie) - if (q) { - Be.push( - E.exportFromImport({ - moduleGraph: L, - module: N, - request: v.request, - importVar: R.importVar, - originModule: k, - exportName: v.name, - asiSafe: true, - isCall: false, - callContext: null, - defaultInterop: true, - initFragments: Me, - runtime: Ie, - runtimeRequirements: _e, - }) - ) - } - } - } - } - if (v instanceof pe) { - R.names.add(v.name) - const P = L.getExportsInfo(k).getUsedName(v.exportName, Ie) - if (P) { - _e.add(q.exports) - const N = `${k.exportsArgument}[${JSON.stringify(P)}]` - const le = ae.asString([ - `${N} = ${E.exportFromImport({ - moduleGraph: L, - module: L.getModule(v), - request: v.request, - importVar: R.importVar, - originModule: k, - exportName: v.name, - asiSafe: true, - isCall: false, - callContext: null, - defaultInterop: true, - initFragments: Me, - runtime: Ie, - runtimeRequirements: _e, - })};`, - `if(WebAssembly.Global) ${N} = ` + - `new WebAssembly.Global({ value: ${JSON.stringify( - v.valueType - )} }, ${N});`, - ]) - R.reexports.push(le) - je = true - } - } - } - } - const Ue = ae.asString( - Array.from( - Ne, - ([k, { importVar: v, request: P, reexports: R }]) => { - const L = E.importStatement({ - module: k, - chunkGraph: ye, - request: P, - importVar: v, - originModule: k, - runtimeRequirements: _e, - }) - return L[0] + L[1] + R.join('\n') - } - ) - ) - const Ge = Te.otherExportsInfo.getUsed(Ie) === R.Unused && !je - _e.add(q.module) - _e.add(q.moduleId) - _e.add(q.wasmInstances) - if (Te.otherExportsInfo.getUsed(Ie) !== R.Unused) { - _e.add(q.makeNamespaceObject) - _e.add(q.exports) - } - if (!Ge) { - _e.add(q.exports) - } - const He = new P( - [ - '"use strict";', - '// Instantiate WebAssembly module', - `var wasmExports = ${q.wasmInstances}[${k.moduleArgument}.id];`, - Te.otherExportsInfo.getUsed(Ie) !== R.Unused - ? `${q.makeNamespaceObject}(${k.exportsArgument});` - : '', - '// export exports from WebAssembly module', - Ge - ? `${k.moduleArgument}.exports = wasmExports;` - : 'for(var name in wasmExports) ' + - `if(name) ` + - `${k.exportsArgument}[name] = wasmExports[name];`, - '// exec imports from WebAssembly module (for esm order)', - Ue, - '', - '// exec wasm module', - `wasmExports[""](${Be.join(', ')})`, - ].join('\n') - ) - return N.addToSource(He, Me, v) - } - } - k.exports = WebAssemblyJavascriptGenerator - }, - 3843: function (k, v, E) { - 'use strict' - const P = E(91597) - const { WEBASSEMBLY_MODULE_TYPE_SYNC: R } = E(93622) - const L = E(74476) - const N = E(22734) - const { compareModulesByIdentifier: q } = E(95648) - const ae = E(20631) - const le = E(83454) - const pe = ae(() => E(96157)) - const me = ae(() => E(26106)) - const ye = ae(() => E(32799)) - const _e = 'WebAssemblyModulesPlugin' - class WebAssemblyModulesPlugin { - constructor(k) { - this.options = k - } - apply(k) { - k.hooks.compilation.tap(_e, (k, { normalModuleFactory: v }) => { - k.dependencyFactories.set(N, v) - k.dependencyFactories.set(L, v) - v.hooks.createParser.for(R).tap(_e, () => { - const k = ye() - return new k() - }) - v.hooks.createGenerator.for(R).tap(_e, () => { - const k = me() - const v = pe() - return P.byType({ - javascript: new k(), - webassembly: new v(this.options), - }) - }) - k.hooks.renderManifest.tap(_e, (v, E) => { - const { chunkGraph: P } = k - const { - chunk: L, - outputOptions: N, - codeGenerationResults: ae, - } = E - for (const k of P.getOrderedChunkModulesIterable(L, q)) { - if (k.type === R) { - const E = N.webassemblyModuleFilename - v.push({ - render: () => ae.getSource(k, L.runtime, 'webassembly'), - filenameTemplate: E, - pathOptions: { - module: k, - runtime: L.runtime, - chunkGraph: P, - }, - auxiliary: true, - identifier: `webassemblyModule${P.getModuleId(k)}`, - hash: P.getModuleHash(k, L.runtime), - }) - } - } - return v - }) - k.hooks.afterChunks.tap(_e, () => { - const v = k.chunkGraph - const E = new Set() - for (const P of k.chunks) { - if (P.canBeInitial()) { - for (const k of v.getChunkModulesIterable(P)) { - if (k.type === R) { - E.add(k) - } - } - } - } - for (const v of E) { - k.errors.push( - new le(v, k.moduleGraph, k.chunkGraph, k.requestShortener) - ) - } - }) - }) - } - } - k.exports = WebAssemblyModulesPlugin - }, - 32799: function (k, v, E) { - 'use strict' - const P = E(26333) - const { moduleContextFromModuleAST: R } = E(26333) - const { decode: L } = E(57480) - const N = E(17381) - const q = E(93414) - const ae = E(74476) - const le = E(22734) - const pe = new Set(['i32', 'i64', 'f32', 'f64']) - const getJsIncompatibleType = (k) => { - for (const v of k.params) { - if (!pe.has(v.valtype)) { - return `${v.valtype} as parameter` - } - } - for (const v of k.results) { - if (!pe.has(v)) return `${v} as result` - } - return null - } - const getJsIncompatibleTypeOfFuncSignature = (k) => { - for (const v of k.args) { - if (!pe.has(v)) { - return `${v} as parameter` - } - } - for (const v of k.result) { - if (!pe.has(v)) return `${v} as result` - } - return null - } - const me = { - ignoreCodeSection: true, - ignoreDataSection: true, - ignoreCustomNameSection: true, - } - class WebAssemblyParser extends N { - constructor(k) { - super() - this.hooks = Object.freeze({}) - this.options = k - } - parse(k, v) { - if (!Buffer.isBuffer(k)) { - throw new Error('WebAssemblyParser input must be a Buffer') - } - v.module.buildInfo.strict = true - v.module.buildMeta.exportsType = 'namespace' - const E = L(k, me) - const N = E.body[0] - const ye = R(N) - const _e = [] - let Ie = (v.module.buildMeta.jsIncompatibleExports = undefined) - const Me = [] - P.traverse(N, { - ModuleExport({ node: k }) { - const E = k.descr - if (E.exportType === 'Func') { - const P = E.id.value - const R = ye.getFunction(P) - const L = getJsIncompatibleTypeOfFuncSignature(R) - if (L) { - if (Ie === undefined) { - Ie = v.module.buildMeta.jsIncompatibleExports = {} - } - Ie[k.name] = L - } - } - _e.push(k.name) - if (k.descr && k.descr.exportType === 'Global') { - const E = Me[k.descr.id.value] - if (E) { - const P = new ae(k.name, E.module, E.name, E.descr.valtype) - v.module.addDependency(P) - } - } - }, - Global({ node: k }) { - const v = k.init[0] - let E = null - if (v.id === 'get_global') { - const k = v.args[0].value - if (k < Me.length) { - E = Me[k] - } - } - Me.push(E) - }, - ModuleImport({ node: k }) { - let E = false - if (P.isMemory(k.descr) === true) { - E = 'Memory' - } else if (P.isTable(k.descr) === true) { - E = 'Table' - } else if (P.isFuncImportDescr(k.descr) === true) { - const v = getJsIncompatibleType(k.descr.signature) - if (v) { - E = `Non-JS-compatible Func Signature (${v})` - } - } else if (P.isGlobalType(k.descr) === true) { - const v = k.descr.valtype - if (!pe.has(v)) { - E = `Non-JS-compatible Global Type (${v})` - } - } - const R = new le(k.module, k.name, k.descr, E) - v.module.addDependency(R) - if (P.isGlobalType(k.descr)) { - Me.push(k) - } - }, - }) - v.module.addDependency(new q(_e, false)) - return v - } - } - k.exports = WebAssemblyParser - }, - 91702: function (k, v, E) { - 'use strict' - const P = E(95041) - const R = E(22734) - const L = 'a' - const getUsedDependencies = (k, v, E) => { - const N = [] - let q = 0 - for (const ae of v.dependencies) { - if (ae instanceof R) { - if ( - ae.description.type === 'GlobalType' || - k.getModule(ae) === null - ) { - continue - } - const v = ae.name - if (E) { - N.push({ - dependency: ae, - name: P.numberToIdentifier(q++), - module: L, - }) - } else { - N.push({ dependency: ae, name: v, module: ae.request }) - } - } - } - return N - } - v.getUsedDependencies = getUsedDependencies - v.MANGLED_MODULE = L - }, - 50792: function (k, v, E) { - 'use strict' - const P = new WeakMap() - const getEnabledTypes = (k) => { - let v = P.get(k) - if (v === undefined) { - v = new Set() - P.set(k, v) - } - return v - } - class EnableWasmLoadingPlugin { - constructor(k) { - this.type = k - } - static setEnabled(k, v) { - getEnabledTypes(k).add(v) - } - static checkEnabled(k, v) { - if (!getEnabledTypes(k).has(v)) { - throw new Error( - `Library type "${v}" 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". ' + - 'These types are enabled: ' + - Array.from(getEnabledTypes(k)).join(', ') - ) - } - } - apply(k) { - const { type: v } = this - const P = getEnabledTypes(k) - if (P.has(v)) return - P.add(v) - if (typeof v === 'string') { - switch (v) { - case 'fetch': { - const v = E(99900) - const P = E(52576) - new v({ - mangleImports: k.options.optimization.mangleWasmImports, - }).apply(k) - new P().apply(k) - break - } - case 'async-node': { - const P = E(63506) - const R = E(39842) - new P({ - mangleImports: k.options.optimization.mangleWasmImports, - }).apply(k) - new R({ type: v }).apply(k) - break - } - case 'async-node-module': { - const P = E(39842) - new P({ type: v, import: true }).apply(k) - break - } - case 'universal': - throw new Error( - 'Universal WebAssembly Loading is not implemented yet' - ) - default: - throw new Error( - `Unsupported wasm loading type ${v}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.` - ) - } - } else { - } - } - } - k.exports = EnableWasmLoadingPlugin - }, - 52576: function (k, v, E) { - 'use strict' - const { WEBASSEMBLY_MODULE_TYPE_ASYNC: P } = E(93622) - const R = E(56727) - const L = E(99393) - class FetchCompileAsyncWasmPlugin { - apply(k) { - k.hooks.thisCompilation.tap('FetchCompileAsyncWasmPlugin', (k) => { - const v = k.outputOptions.wasmLoading - const isEnabledForChunk = (k) => { - const E = k.getEntryOptions() - const P = E && E.wasmLoading !== undefined ? E.wasmLoading : v - return P === 'fetch' - } - const generateLoadBinaryCode = (k) => - `fetch(${R.publicPath} + ${k})` - k.hooks.runtimeRequirementInTree - .for(R.instantiateWasm) - .tap('FetchCompileAsyncWasmPlugin', (v, E) => { - if (!isEnabledForChunk(v)) return - const N = k.chunkGraph - if (!N.hasModuleInGraph(v, (k) => k.type === P)) { - return - } - E.add(R.publicPath) - k.addRuntimeModule( - v, - new L({ - generateLoadBinaryCode: generateLoadBinaryCode, - supportsStreaming: true, - }) - ) - }) - }) - } - } - k.exports = FetchCompileAsyncWasmPlugin - }, - 99900: function (k, v, E) { - 'use strict' - const { WEBASSEMBLY_MODULE_TYPE_SYNC: P } = E(93622) - const R = E(56727) - const L = E(68403) - const N = 'FetchCompileWasmPlugin' - class FetchCompileWasmPlugin { - constructor(k = {}) { - this.options = k - } - apply(k) { - k.hooks.thisCompilation.tap(N, (k) => { - const v = k.outputOptions.wasmLoading - const isEnabledForChunk = (k) => { - const E = k.getEntryOptions() - const P = E && E.wasmLoading !== undefined ? E.wasmLoading : v - return P === 'fetch' - } - const generateLoadBinaryCode = (k) => - `fetch(${R.publicPath} + ${k})` - k.hooks.runtimeRequirementInTree - .for(R.ensureChunkHandlers) - .tap(N, (v, E) => { - if (!isEnabledForChunk(v)) return - const N = k.chunkGraph - if (!N.hasModuleInGraph(v, (k) => k.type === P)) { - return - } - E.add(R.moduleCache) - E.add(R.publicPath) - k.addRuntimeModule( - v, - new L({ - generateLoadBinaryCode: generateLoadBinaryCode, - supportsStreaming: true, - mangleImports: this.options.mangleImports, - runtimeRequirements: E, - }) - ) - }) - }) - } - } - k.exports = FetchCompileWasmPlugin - }, - 58746: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(97810) - class JsonpChunkLoadingPlugin { - apply(k) { - k.hooks.thisCompilation.tap('JsonpChunkLoadingPlugin', (k) => { - const v = k.outputOptions.chunkLoading - const isEnabledForChunk = (k) => { - const E = k.getEntryOptions() - const P = E && E.chunkLoading !== undefined ? E.chunkLoading : v - return P === 'jsonp' - } - const E = new WeakSet() - const handler = (v, L) => { - if (E.has(v)) return - E.add(v) - if (!isEnabledForChunk(v)) return - L.add(P.moduleFactoriesAddOnly) - L.add(P.hasOwnProperty) - k.addRuntimeModule(v, new R(L)) - } - k.hooks.runtimeRequirementInTree - .for(P.ensureChunkHandlers) - .tap('JsonpChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.hmrDownloadUpdateHandlers) - .tap('JsonpChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.hmrDownloadManifest) - .tap('JsonpChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.baseURI) - .tap('JsonpChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.onChunksLoaded) - .tap('JsonpChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.ensureChunkHandlers) - .tap('JsonpChunkLoadingPlugin', (k, v) => { - if (!isEnabledForChunk(k)) return - v.add(P.publicPath) - v.add(P.loadScript) - v.add(P.getChunkScriptFilename) - }) - k.hooks.runtimeRequirementInTree - .for(P.hmrDownloadUpdateHandlers) - .tap('JsonpChunkLoadingPlugin', (k, v) => { - if (!isEnabledForChunk(k)) return - v.add(P.publicPath) - v.add(P.loadScript) - v.add(P.getChunkUpdateScriptFilename) - v.add(P.moduleCache) - v.add(P.hmrModuleData) - v.add(P.moduleFactoriesAddOnly) - }) - k.hooks.runtimeRequirementInTree - .for(P.hmrDownloadManifest) - .tap('JsonpChunkLoadingPlugin', (k, v) => { - if (!isEnabledForChunk(k)) return - v.add(P.publicPath) - v.add(P.getUpdateManifestFilename) - }) - }) - } - } - k.exports = JsonpChunkLoadingPlugin - }, - 97810: function (k, v, E) { - 'use strict' - const { SyncWaterfallHook: P } = E(79846) - const R = E(27747) - const L = E(56727) - const N = E(27462) - const q = E(95041) - const ae = E(89168).chunkHasJs - const { getInitialChunkIds: le } = E(73777) - const pe = E(21751) - const me = new WeakMap() - class JsonpChunkLoadingRuntimeModule extends N { - static getCompilationHooks(k) { - if (!(k instanceof R)) { - throw new TypeError( - "The 'compilation' argument must be an instance of Compilation" - ) - } - let v = me.get(k) - if (v === undefined) { - v = { - linkPreload: new P(['source', 'chunk']), - linkPrefetch: new P(['source', 'chunk']), - } - me.set(k, v) - } - return v - } - constructor(k) { - super('jsonp chunk loading', N.STAGE_ATTACH) - this._runtimeRequirements = k - } - _generateBaseUri(k) { - const v = k.getEntryOptions() - if (v && v.baseUri) { - return `${L.baseURI} = ${JSON.stringify(v.baseUri)};` - } else { - return `${L.baseURI} = document.baseURI || self.location.href;` - } - } - generate() { - const { chunkGraph: k, compilation: v, chunk: E } = this - const { - runtimeTemplate: P, - outputOptions: { - chunkLoadingGlobal: R, - hotUpdateGlobal: N, - crossOriginLoading: me, - scriptType: ye, - }, - } = v - const _e = P.globalObject - const { linkPreload: Ie, linkPrefetch: Me } = - JsonpChunkLoadingRuntimeModule.getCompilationHooks(v) - const Te = L.ensureChunkHandlers - const je = this._runtimeRequirements.has(L.baseURI) - const Ne = this._runtimeRequirements.has(L.ensureChunkHandlers) - const Be = this._runtimeRequirements.has(L.chunkCallback) - const qe = this._runtimeRequirements.has(L.onChunksLoaded) - const Ue = this._runtimeRequirements.has(L.hmrDownloadUpdateHandlers) - const Ge = this._runtimeRequirements.has(L.hmrDownloadManifest) - const He = this._runtimeRequirements.has(L.prefetchChunkHandlers) - const We = this._runtimeRequirements.has(L.preloadChunkHandlers) - const Qe = `${_e}[${JSON.stringify(R)}]` - const Je = k.getChunkConditionMap(E, ae) - const Ve = pe(Je) - const Ke = le(E, k, ae) - const Ye = Ue ? `${L.hmrRuntimeStatePrefix}_jsonp` : undefined - return q.asString([ - je ? this._generateBaseUri(E) : '// no baseURI', - '', - '// object to store loaded and loading chunks', - '// undefined = chunk not loaded, null = chunk preloaded/prefetched', - '// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded', - `var installedChunks = ${Ye ? `${Ye} = ${Ye} || ` : ''}{`, - q.indent( - Array.from(Ke, (k) => `${JSON.stringify(k)}: 0`).join(',\n') - ), - '};', - '', - Ne - ? q.asString([ - `${Te}.j = ${P.basicFunction( - 'chunkId, promises', - Ve !== false - ? q.indent([ - '// JSONP chunk loading for javascript', - `var installedChunkData = ${L.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`, - 'if(installedChunkData !== 0) { // 0 means "already installed".', - q.indent([ - '', - '// a Promise means "currently loading".', - 'if(installedChunkData) {', - q.indent(['promises.push(installedChunkData[2]);']), - '} else {', - q.indent([ - Ve === true - ? 'if(true) { // all chunks have JS' - : `if(${Ve('chunkId')}) {`, - q.indent([ - '// setup Promise in chunk cache', - `var promise = new Promise(${P.expressionFunction( - `installedChunkData = installedChunks[chunkId] = [resolve, reject]`, - 'resolve, reject' - )});`, - 'promises.push(installedChunkData[2] = promise);', - '', - '// start chunk loading', - `var url = ${L.publicPath} + ${L.getChunkScriptFilename}(chunkId);`, - '// create error before stack unwound to get useful stacktrace later', - 'var error = new Error();', - `var loadingEnded = ${P.basicFunction('event', [ - `if(${L.hasOwnProperty}(installedChunks, chunkId)) {`, - q.indent([ - 'installedChunkData = installedChunks[chunkId];', - 'if(installedChunkData !== 0) installedChunks[chunkId] = undefined;', - 'if(installedChunkData) {', - q.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);', - ]), - '}', - ]), - '}', - ])};`, - `${L.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`, - ]), - Ve === true - ? '}' - : '} else installedChunks[chunkId] = 0;', - ]), - '}', - ]), - '}', - ]) - : q.indent(['installedChunks[chunkId] = 0;']) - )};`, - ]) - : '// no chunk on demand loading', - '', - He && Ve !== false - ? `${L.prefetchChunkHandlers}.j = ${P.basicFunction('chunkId', [ - `if((!${ - L.hasOwnProperty - }(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${ - Ve === true ? 'true' : Ve('chunkId') - }) {`, - q.indent([ - 'installedChunks[chunkId] = null;', - Me.call( - q.asString([ - "var link = document.createElement('link');", - me ? `link.crossOrigin = ${JSON.stringify(me)};` : '', - `if (${L.scriptNonce}) {`, - q.indent( - `link.setAttribute("nonce", ${L.scriptNonce});` - ), - '}', - 'link.rel = "prefetch";', - 'link.as = "script";', - `link.href = ${L.publicPath} + ${L.getChunkScriptFilename}(chunkId);`, - ]), - E - ), - 'document.head.appendChild(link);', - ]), - '}', - ])};` - : '// no prefetching', - '', - We && Ve !== false - ? `${L.preloadChunkHandlers}.j = ${P.basicFunction('chunkId', [ - `if((!${ - L.hasOwnProperty - }(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${ - Ve === true ? 'true' : Ve('chunkId') - }) {`, - q.indent([ - 'installedChunks[chunkId] = null;', - Ie.call( - q.asString([ - "var link = document.createElement('link');", - ye && ye !== 'module' - ? `link.type = ${JSON.stringify(ye)};` - : '', - "link.charset = 'utf-8';", - `if (${L.scriptNonce}) {`, - q.indent( - `link.setAttribute("nonce", ${L.scriptNonce});` - ), - '}', - ye === 'module' - ? 'link.rel = "modulepreload";' - : 'link.rel = "preload";', - ye === 'module' ? '' : 'link.as = "script";', - `link.href = ${L.publicPath} + ${L.getChunkScriptFilename}(chunkId);`, - me - ? me === 'use-credentials' - ? 'link.crossOrigin = "use-credentials";' - : q.asString([ - "if (link.href.indexOf(window.location.origin + '/') !== 0) {", - q.indent( - `link.crossOrigin = ${JSON.stringify(me)};` - ), - '}', - ]) - : '', - ]), - E - ), - 'document.head.appendChild(link);', - ]), - '}', - ])};` - : '// no preloaded', - '', - Ue - ? q.asString([ - 'var currentUpdatedModulesList;', - 'var waitingUpdateResolves = {};', - 'function loadUpdateChunk(chunkId, updatedModulesList) {', - q.indent([ - 'currentUpdatedModulesList = updatedModulesList;', - `return new Promise(${P.basicFunction('resolve, reject', [ - 'waitingUpdateResolves[chunkId] = resolve;', - '// start update chunk loading', - `var url = ${L.publicPath} + ${L.getChunkUpdateScriptFilename}(chunkId);`, - '// create error before stack unwound to get useful stacktrace later', - 'var error = new Error();', - `var loadingEnded = ${P.basicFunction('event', [ - 'if(waitingUpdateResolves[chunkId]) {', - q.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);', - ]), - '}', - ])};`, - `${L.loadScript}(url, loadingEnded);`, - ])});`, - ]), - '}', - '', - `${_e}[${JSON.stringify(N)}] = ${P.basicFunction( - 'chunkId, moreModules, runtime', - [ - 'for(var moduleId in moreModules) {', - q.indent([ - `if(${L.hasOwnProperty}(moreModules, moduleId)) {`, - q.indent([ - 'currentUpdate[moduleId] = moreModules[moduleId];', - 'if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);', - ]), - '}', - ]), - '}', - 'if(runtime) currentUpdateRuntime.push(runtime);', - 'if(waitingUpdateResolves[chunkId]) {', - q.indent([ - 'waitingUpdateResolves[chunkId]();', - 'waitingUpdateResolves[chunkId] = undefined;', - ]), - '}', - ] - )};`, - '', - q - .getFunctionContent( - require('./JavascriptHotModuleReplacement.runtime.js') - ) - .replace(/\$key\$/g, 'jsonp') - .replace(/\$installedChunks\$/g, 'installedChunks') - .replace(/\$loadUpdateChunk\$/g, 'loadUpdateChunk') - .replace(/\$moduleCache\$/g, L.moduleCache) - .replace(/\$moduleFactories\$/g, L.moduleFactories) - .replace(/\$ensureChunkHandlers\$/g, L.ensureChunkHandlers) - .replace(/\$hasOwnProperty\$/g, L.hasOwnProperty) - .replace(/\$hmrModuleData\$/g, L.hmrModuleData) - .replace( - /\$hmrDownloadUpdateHandlers\$/g, - L.hmrDownloadUpdateHandlers - ) - .replace( - /\$hmrInvalidateModuleHandlers\$/g, - L.hmrInvalidateModuleHandlers - ), - ]) - : '// no HMR', - '', - Ge - ? q.asString([ - `${L.hmrDownloadManifest} = ${P.basicFunction('', [ - 'if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");', - `return fetch(${L.publicPath} + ${ - L.getUpdateManifestFilename - }()).then(${P.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', - '', - qe - ? `${L.onChunksLoaded}.j = ${P.returningFunction( - 'installedChunks[chunkId] === 0', - 'chunkId' - )};` - : '// no on chunks loaded', - '', - Be || Ne - ? q.asString([ - '// install a JSONP callback for chunk loading', - `var webpackJsonpCallback = ${P.basicFunction( - 'parentChunkLoadingFunction, data', - [ - P.destructureArray( - ['chunkIds', 'moreModules', 'runtime'], - 'data' - ), - '// add "moreModules" to the modules object,', - '// then flag all "chunkIds" as loaded and fire callback', - 'var moduleId, chunkId, i = 0;', - `if(chunkIds.some(${P.returningFunction( - 'installedChunks[id] !== 0', - 'id' - )})) {`, - q.indent([ - 'for(moduleId in moreModules) {', - q.indent([ - `if(${L.hasOwnProperty}(moreModules, moduleId)) {`, - q.indent( - `${L.moduleFactories}[moduleId] = moreModules[moduleId];` - ), - '}', - ]), - '}', - `if(runtime) var result = runtime(${L.require});`, - ]), - '}', - 'if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);', - 'for(;i < chunkIds.length; i++) {', - q.indent([ - 'chunkId = chunkIds[i];', - `if(${L.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`, - q.indent('installedChunks[chunkId][0]();'), - '}', - 'installedChunks[chunkId] = 0;', - ]), - '}', - qe ? `return ${L.onChunksLoaded}(result);` : '', - ] - )}`, - '', - `var chunkLoadingGlobal = ${Qe} = ${Qe} || [];`, - 'chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));', - 'chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));', - ]) - : '// no jsonp function', - ]) - } - } - k.exports = JsonpChunkLoadingRuntimeModule - }, - 68511: function (k, v, E) { - 'use strict' - const P = E(39799) - const R = E(73126) - const L = E(97810) - class JsonpTemplatePlugin { - static getCompilationHooks(k) { - return L.getCompilationHooks(k) - } - apply(k) { - k.options.output.chunkLoading = 'jsonp' - new P().apply(k) - new R('jsonp').apply(k) - } - } - k.exports = JsonpTemplatePlugin - }, - 10463: function (k, v, E) { - 'use strict' - const P = E(73837) - const R = E(38537) - const L = E(98625) - const N = E(2170) - const q = E(47575) - const ae = E(27826) - const { - applyWebpackOptionsDefaults: le, - applyWebpackOptionsBaseDefaults: pe, - } = E(25801) - const { getNormalizedWebpackOptions: me } = E(47339) - const ye = E(74983) - const _e = E(20631) - const Ie = _e(() => E(11458)) - const createMultiCompiler = (k, v) => { - const E = k.map((k) => createCompiler(k)) - const P = new q(E, v) - for (const k of E) { - if (k.options.dependencies) { - P.setDependencies(k, k.options.dependencies) - } - } - return P - } - const createCompiler = (k) => { - const v = me(k) - pe(v) - const E = new N(v.context, v) - new ye({ infrastructureLogging: v.infrastructureLogging }).apply(E) - if (Array.isArray(v.plugins)) { - for (const k of v.plugins) { - if (typeof k === 'function') { - k.call(E, E) - } else { - k.apply(E) - } - } - } - le(v) - E.hooks.environment.call() - E.hooks.afterEnvironment.call() - new ae().process(v, E) - E.hooks.initialize.call() - return E - } - const asArray = (k) => (Array.isArray(k) ? Array.from(k) : [k]) - const webpack = (k, v) => { - const create = () => { - if (!asArray(k).every(R)) { - Ie()(L, k) - P.deprecate( - () => {}, - 'webpack bug: Pre-compiled schema reports error while real schema is happy. This has performance drawbacks.', - 'DEP_WEBPACK_PRE_COMPILED_SCHEMA_INVALID' - )() - } - let v - let E = false - let N - if (Array.isArray(k)) { - v = createMultiCompiler(k, k) - E = k.some((k) => k.watch) - N = k.map((k) => k.watchOptions || {}) - } else { - const P = k - v = createCompiler(P) - E = P.watch - N = P.watchOptions || {} - } - return { compiler: v, watch: E, watchOptions: N } - } - if (v) { - try { - const { compiler: k, watch: E, watchOptions: P } = create() - if (E) { - k.watch(P, v) - } else { - k.run((E, P) => { - k.close((k) => { - v(E || k, P) - }) - }) - } - return k - } catch (k) { - process.nextTick(() => v(k)) - return null - } - } else { - const { compiler: k, watch: v } = create() - if (v) { - P.deprecate( - () => {}, - "A 'callback' argument needs 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 k - } - } - k.exports = webpack - }, - 9366: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(31626) - const L = E(77567) - class ImportScriptsChunkLoadingPlugin { - apply(k) { - new R({ - chunkLoading: 'import-scripts', - asyncChunkLoading: true, - }).apply(k) - k.hooks.thisCompilation.tap( - 'ImportScriptsChunkLoadingPlugin', - (k) => { - const v = k.outputOptions.chunkLoading - const isEnabledForChunk = (k) => { - const E = k.getEntryOptions() - const P = E && E.chunkLoading !== undefined ? E.chunkLoading : v - return P === 'import-scripts' - } - const E = new WeakSet() - const handler = (v, R) => { - if (E.has(v)) return - E.add(v) - if (!isEnabledForChunk(v)) return - const N = !!k.outputOptions.trustedTypes - R.add(P.moduleFactoriesAddOnly) - R.add(P.hasOwnProperty) - if (N) { - R.add(P.createScriptUrl) - } - k.addRuntimeModule(v, new L(R, N)) - } - k.hooks.runtimeRequirementInTree - .for(P.ensureChunkHandlers) - .tap('ImportScriptsChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.hmrDownloadUpdateHandlers) - .tap('ImportScriptsChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.hmrDownloadManifest) - .tap('ImportScriptsChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.baseURI) - .tap('ImportScriptsChunkLoadingPlugin', handler) - k.hooks.runtimeRequirementInTree - .for(P.ensureChunkHandlers) - .tap('ImportScriptsChunkLoadingPlugin', (k, v) => { - if (!isEnabledForChunk(k)) return - v.add(P.publicPath) - v.add(P.getChunkScriptFilename) - }) - k.hooks.runtimeRequirementInTree - .for(P.hmrDownloadUpdateHandlers) - .tap('ImportScriptsChunkLoadingPlugin', (k, v) => { - if (!isEnabledForChunk(k)) return - v.add(P.publicPath) - v.add(P.getChunkUpdateScriptFilename) - v.add(P.moduleCache) - v.add(P.hmrModuleData) - v.add(P.moduleFactoriesAddOnly) - }) - k.hooks.runtimeRequirementInTree - .for(P.hmrDownloadManifest) - .tap('ImportScriptsChunkLoadingPlugin', (k, v) => { - if (!isEnabledForChunk(k)) return - v.add(P.publicPath) - v.add(P.getUpdateManifestFilename) - }) - } - ) - } - } - k.exports = ImportScriptsChunkLoadingPlugin - }, - 77567: function (k, v, E) { - 'use strict' - const P = E(56727) - const R = E(27462) - const L = E(95041) - const { getChunkFilenameTemplate: N, chunkHasJs: q } = E(89168) - const { getInitialChunkIds: ae } = E(73777) - const le = E(21751) - const { getUndoPath: pe } = E(65315) - class ImportScriptsChunkLoadingRuntimeModule extends R { - constructor(k, v) { - super('importScripts chunk loading', R.STAGE_ATTACH) - this.runtimeRequirements = k - this._withCreateScriptUrl = v - } - _generateBaseUri(k) { - const v = k.getEntryOptions() - if (v && v.baseUri) { - return `${P.baseURI} = ${JSON.stringify(v.baseUri)};` - } - const E = this.compilation.getPath( - N(k, this.compilation.outputOptions), - { chunk: k, contentHashType: 'javascript' } - ) - const R = pe(E, this.compilation.outputOptions.path, false) - return `${P.baseURI} = self.location + ${JSON.stringify( - R ? '/../' + R : '' - )};` - } - generate() { - const { - chunk: k, - chunkGraph: v, - compilation: { - runtimeTemplate: E, - outputOptions: { chunkLoadingGlobal: R, hotUpdateGlobal: N }, - }, - _withCreateScriptUrl: pe, - } = this - const me = E.globalObject - const ye = P.ensureChunkHandlers - const _e = this.runtimeRequirements.has(P.baseURI) - const Ie = this.runtimeRequirements.has(P.ensureChunkHandlers) - const Me = this.runtimeRequirements.has(P.hmrDownloadUpdateHandlers) - const Te = this.runtimeRequirements.has(P.hmrDownloadManifest) - const je = `${me}[${JSON.stringify(R)}]` - const Ne = le(v.getChunkConditionMap(k, q)) - const Be = ae(k, v, q) - const qe = Me ? `${P.hmrRuntimeStatePrefix}_importScripts` : undefined - return L.asString([ - _e ? this._generateBaseUri(k) : '// no baseURI', - '', - '// object to store loaded chunks', - '// "1" means "already loaded"', - `var installedChunks = ${qe ? `${qe} = ${qe} || ` : ''}{`, - L.indent( - Array.from(Be, (k) => `${JSON.stringify(k)}: 1`).join(',\n') - ), - '};', - '', - Ie - ? L.asString([ - '// importScripts chunk loading', - `var installChunk = ${E.basicFunction('data', [ - E.destructureArray( - ['chunkIds', 'moreModules', 'runtime'], - 'data' - ), - 'for(var moduleId in moreModules) {', - L.indent([ - `if(${P.hasOwnProperty}(moreModules, moduleId)) {`, - L.indent( - `${P.moduleFactories}[moduleId] = moreModules[moduleId];` - ), - '}', - ]), - '}', - `if(runtime) runtime(${P.require});`, - 'while(chunkIds.length)', - L.indent('installedChunks[chunkIds.pop()] = 1;'), - 'parentChunkLoadingFunction(data);', - ])};`, - ]) - : '// no chunk install function needed', - Ie - ? L.asString([ - `${ye}.i = ${E.basicFunction( - 'chunkId, promises', - Ne !== false - ? [ - '// "1" is the signal for "already loaded"', - 'if(!installedChunks[chunkId]) {', - L.indent([ - Ne === true - ? 'if(true) { // all chunks have JS' - : `if(${Ne('chunkId')}) {`, - L.indent( - `importScripts(${ - pe - ? `${P.createScriptUrl}(${P.publicPath} + ${P.getChunkScriptFilename}(chunkId))` - : `${P.publicPath} + ${P.getChunkScriptFilename}(chunkId)` - });` - ), - '}', - ]), - '}', - ] - : 'installedChunks[chunkId] = 1;' - )};`, - '', - `var chunkLoadingGlobal = ${je} = ${je} || [];`, - 'var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);', - 'chunkLoadingGlobal.push = installChunk;', - ]) - : '// no chunk loading', - '', - Me - ? L.asString([ - 'function loadUpdateChunk(chunkId, updatedModulesList) {', - L.indent([ - 'var success = false;', - `${me}[${JSON.stringify(N)}] = ${E.basicFunction( - '_, moreModules, runtime', - [ - 'for(var moduleId in moreModules) {', - L.indent([ - `if(${P.hasOwnProperty}(moreModules, moduleId)) {`, - L.indent([ - 'currentUpdate[moduleId] = moreModules[moduleId];', - 'if(updatedModulesList) updatedModulesList.push(moduleId);', - ]), - '}', - ]), - '}', - 'if(runtime) currentUpdateRuntime.push(runtime);', - 'success = true;', - ] - )};`, - '// start update chunk loading', - `importScripts(${ - pe - ? `${P.createScriptUrl}(${P.publicPath} + ${P.getChunkUpdateScriptFilename}(chunkId))` - : `${P.publicPath} + ${P.getChunkUpdateScriptFilename}(chunkId)` - });`, - 'if(!success) throw new Error("Loading update chunk failed for unknown reason");', - ]), - '}', - '', - L.getFunctionContent( - require('./JavascriptHotModuleReplacement.runtime.js') - ) - .replace(/\$key\$/g, 'importScrips') - .replace(/\$installedChunks\$/g, 'installedChunks') - .replace(/\$loadUpdateChunk\$/g, 'loadUpdateChunk') - .replace(/\$moduleCache\$/g, P.moduleCache) - .replace(/\$moduleFactories\$/g, P.moduleFactories) - .replace(/\$ensureChunkHandlers\$/g, P.ensureChunkHandlers) - .replace(/\$hasOwnProperty\$/g, P.hasOwnProperty) - .replace(/\$hmrModuleData\$/g, P.hmrModuleData) - .replace( - /\$hmrDownloadUpdateHandlers\$/g, - P.hmrDownloadUpdateHandlers - ) - .replace( - /\$hmrInvalidateModuleHandlers\$/g, - P.hmrInvalidateModuleHandlers - ), - ]) - : '// no HMR', - '', - Te - ? L.asString([ - `${P.hmrDownloadManifest} = ${E.basicFunction('', [ - 'if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");', - `return fetch(${P.publicPath} + ${ - P.getUpdateManifestFilename - }()).then(${E.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', - ]) - } - } - k.exports = ImportScriptsChunkLoadingRuntimeModule - }, - 20514: function (k, v, E) { - 'use strict' - const P = E(39799) - const R = E(73126) - class WebWorkerTemplatePlugin { - apply(k) { - k.options.output.chunkLoading = 'import-scripts' - new P().apply(k) - new R('import-scripts').apply(k) - } - } - k.exports = WebWorkerTemplatePlugin - }, - 38537: function (k) { - const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ - ;(k.exports = we), (k.exports['default'] = we) - const E = { - definitions: { - Amd: { anyOf: [{ enum: [!1] }, { type: 'object' }] }, - AmdContainer: { type: 'string', minLength: 1 }, - AssetFilterItemTypes: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !1 }, - { instanceof: 'Function' }, - ], - }, - AssetFilterTypes: { - anyOf: [ - { - type: 'array', - items: { - oneOf: [{ $ref: '#/definitions/AssetFilterItemTypes' }], - }, - }, - { $ref: '#/definitions/AssetFilterItemTypes' }, - ], - }, - AssetGeneratorDataUrl: { - anyOf: [ - { $ref: '#/definitions/AssetGeneratorDataUrlOptions' }, - { $ref: '#/definitions/AssetGeneratorDataUrlFunction' }, - ], - }, - AssetGeneratorDataUrlFunction: { instanceof: 'Function' }, - AssetGeneratorDataUrlOptions: { - type: 'object', - additionalProperties: !1, - properties: { - encoding: { enum: [!1, 'base64'] }, - mimetype: { type: 'string' }, - }, - }, - AssetGeneratorOptions: { - type: 'object', - additionalProperties: !1, - properties: { - dataUrl: { $ref: '#/definitions/AssetGeneratorDataUrl' }, - emit: { type: 'boolean' }, - filename: { $ref: '#/definitions/FilenameTemplate' }, - outputPath: { $ref: '#/definitions/AssetModuleOutputPath' }, - publicPath: { $ref: '#/definitions/RawPublicPath' }, - }, - }, - AssetInlineGeneratorOptions: { - type: 'object', - additionalProperties: !1, - properties: { - dataUrl: { $ref: '#/definitions/AssetGeneratorDataUrl' }, - }, - }, - AssetModuleFilename: { - anyOf: [ - { type: 'string', absolutePath: !1 }, - { instanceof: 'Function' }, - ], - }, - AssetModuleOutputPath: { - anyOf: [ - { type: 'string', absolutePath: !1 }, - { instanceof: 'Function' }, - ], - }, - AssetParserDataUrlFunction: { instanceof: 'Function' }, - AssetParserDataUrlOptions: { - type: 'object', - additionalProperties: !1, - properties: { maxSize: { type: 'number' } }, - }, - AssetParserOptions: { - type: 'object', - additionalProperties: !1, - properties: { - dataUrlCondition: { - anyOf: [ - { $ref: '#/definitions/AssetParserDataUrlOptions' }, - { $ref: '#/definitions/AssetParserDataUrlFunction' }, - ], - }, - }, - }, - AssetResourceGeneratorOptions: { - type: 'object', - additionalProperties: !1, - properties: { - emit: { type: 'boolean' }, - filename: { $ref: '#/definitions/FilenameTemplate' }, - outputPath: { $ref: '#/definitions/AssetModuleOutputPath' }, - publicPath: { $ref: '#/definitions/RawPublicPath' }, - }, - }, - AuxiliaryComment: { - anyOf: [ - { type: 'string' }, - { $ref: '#/definitions/LibraryCustomUmdCommentObject' }, - ], - }, - Bail: { type: 'boolean' }, - CacheOptions: { - anyOf: [ - { enum: [!0] }, - { $ref: '#/definitions/CacheOptionsNormalized' }, - ], - }, - CacheOptionsNormalized: { - anyOf: [ - { enum: [!1] }, - { $ref: '#/definitions/MemoryCacheOptions' }, - { $ref: '#/definitions/FileCacheOptions' }, - ], - }, - Charset: { type: 'boolean' }, - ChunkFilename: { - oneOf: [{ $ref: '#/definitions/FilenameTemplate' }], - }, - ChunkFormat: { - anyOf: [ - { enum: ['array-push', 'commonjs', 'module', !1] }, - { type: 'string' }, - ], - }, - ChunkLoadTimeout: { type: 'number' }, - ChunkLoading: { - anyOf: [ - { enum: [!1] }, - { $ref: '#/definitions/ChunkLoadingType' }, - ], - }, - ChunkLoadingGlobal: { type: 'string' }, - ChunkLoadingType: { - anyOf: [ - { - enum: [ - 'jsonp', - 'import-scripts', - 'require', - 'async-node', - 'import', - ], - }, - { type: 'string' }, - ], - }, - Clean: { - anyOf: [ - { type: 'boolean' }, - { $ref: '#/definitions/CleanOptions' }, - ], - }, - CleanOptions: { - type: 'object', - additionalProperties: !1, - properties: { - dry: { type: 'boolean' }, - keep: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !1 }, - { instanceof: 'Function' }, - ], - }, - }, - }, - CompareBeforeEmit: { type: 'boolean' }, - Context: { type: 'string', absolutePath: !0 }, - CrossOriginLoading: { enum: [!1, 'anonymous', 'use-credentials'] }, - CssChunkFilename: { - oneOf: [{ $ref: '#/definitions/FilenameTemplate' }], - }, - CssExperimentOptions: { - type: 'object', - additionalProperties: !1, - properties: { exportsOnly: { type: 'boolean' } }, - }, - CssFilename: { - oneOf: [{ $ref: '#/definitions/FilenameTemplate' }], - }, - CssGeneratorOptions: { - type: 'object', - additionalProperties: !1, - properties: {}, - }, - CssParserOptions: { - type: 'object', - additionalProperties: !1, - properties: {}, - }, - Dependencies: { type: 'array', items: { type: 'string' } }, - DevServer: { type: 'object' }, - DevTool: { - anyOf: [ - { enum: [!1, 'eval'] }, - { - type: 'string', - pattern: - '^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$', - }, - ], - }, - DevtoolFallbackModuleFilenameTemplate: { - anyOf: [{ type: 'string' }, { instanceof: 'Function' }], - }, - DevtoolModuleFilenameTemplate: { - anyOf: [{ type: 'string' }, { instanceof: 'Function' }], - }, - DevtoolNamespace: { type: 'string' }, - EmptyGeneratorOptions: { type: 'object', additionalProperties: !1 }, - EmptyParserOptions: { type: 'object', additionalProperties: !1 }, - EnabledChunkLoadingTypes: { - type: 'array', - items: { $ref: '#/definitions/ChunkLoadingType' }, - }, - EnabledLibraryTypes: { - type: 'array', - items: { $ref: '#/definitions/LibraryType' }, - }, - EnabledWasmLoadingTypes: { - type: 'array', - items: { $ref: '#/definitions/WasmLoadingType' }, - }, - Entry: { - anyOf: [ - { $ref: '#/definitions/EntryDynamic' }, - { $ref: '#/definitions/EntryStatic' }, - ], - }, - EntryDescription: { - type: 'object', - additionalProperties: !1, - properties: { - asyncChunks: { type: 'boolean' }, - baseUri: { type: 'string' }, - chunkLoading: { $ref: '#/definitions/ChunkLoading' }, - dependOn: { - anyOf: [ - { - type: 'array', - items: { type: 'string', minLength: 1 }, - minItems: 1, - uniqueItems: !0, - }, - { type: 'string', minLength: 1 }, - ], - }, - filename: { $ref: '#/definitions/EntryFilename' }, - import: { $ref: '#/definitions/EntryItem' }, - layer: { $ref: '#/definitions/Layer' }, - library: { $ref: '#/definitions/LibraryOptions' }, - publicPath: { $ref: '#/definitions/PublicPath' }, - runtime: { $ref: '#/definitions/EntryRuntime' }, - wasmLoading: { $ref: '#/definitions/WasmLoading' }, - }, - required: ['import'], - }, - EntryDescriptionNormalized: { - type: 'object', - additionalProperties: !1, - properties: { - asyncChunks: { type: 'boolean' }, - baseUri: { type: 'string' }, - chunkLoading: { $ref: '#/definitions/ChunkLoading' }, - dependOn: { - type: 'array', - items: { type: 'string', minLength: 1 }, - minItems: 1, - uniqueItems: !0, - }, - filename: { $ref: '#/definitions/Filename' }, - import: { - type: 'array', - items: { type: 'string', minLength: 1 }, - minItems: 1, - uniqueItems: !0, - }, - layer: { $ref: '#/definitions/Layer' }, - library: { $ref: '#/definitions/LibraryOptions' }, - publicPath: { $ref: '#/definitions/PublicPath' }, - runtime: { $ref: '#/definitions/EntryRuntime' }, - wasmLoading: { $ref: '#/definitions/WasmLoading' }, - }, - }, - EntryDynamic: { instanceof: 'Function' }, - EntryDynamicNormalized: { instanceof: 'Function' }, - EntryFilename: { - oneOf: [{ $ref: '#/definitions/FilenameTemplate' }], - }, - EntryItem: { - anyOf: [ - { - type: 'array', - items: { type: 'string', minLength: 1 }, - minItems: 1, - uniqueItems: !0, - }, - { type: 'string', minLength: 1 }, - ], - }, - EntryNormalized: { - anyOf: [ - { $ref: '#/definitions/EntryDynamicNormalized' }, - { $ref: '#/definitions/EntryStaticNormalized' }, - ], - }, - EntryObject: { - type: 'object', - additionalProperties: { - anyOf: [ - { $ref: '#/definitions/EntryItem' }, - { $ref: '#/definitions/EntryDescription' }, - ], - }, - }, - EntryRuntime: { - anyOf: [{ enum: [!1] }, { type: 'string', minLength: 1 }], - }, - EntryStatic: { - anyOf: [ - { $ref: '#/definitions/EntryObject' }, - { $ref: '#/definitions/EntryUnnamed' }, - ], - }, - EntryStaticNormalized: { - type: 'object', - additionalProperties: { - oneOf: [{ $ref: '#/definitions/EntryDescriptionNormalized' }], - }, - }, - EntryUnnamed: { oneOf: [{ $ref: '#/definitions/EntryItem' }] }, - Environment: { - type: 'object', - additionalProperties: !1, - properties: { - arrowFunction: { type: 'boolean' }, - bigIntLiteral: { type: 'boolean' }, - const: { type: 'boolean' }, - destructuring: { type: 'boolean' }, - dynamicImport: { type: 'boolean' }, - dynamicImportInWorker: { type: 'boolean' }, - forOf: { type: 'boolean' }, - globalThis: { type: 'boolean' }, - module: { type: 'boolean' }, - optionalChaining: { type: 'boolean' }, - templateLiteral: { type: 'boolean' }, - }, - }, - Experiments: { - type: 'object', - additionalProperties: !1, - properties: { - asyncWebAssembly: { type: 'boolean' }, - backCompat: { type: 'boolean' }, - buildHttp: { - anyOf: [ - { $ref: '#/definitions/HttpUriAllowedUris' }, - { $ref: '#/definitions/HttpUriOptions' }, - ], - }, - cacheUnaffected: { type: 'boolean' }, - css: { - anyOf: [ - { type: 'boolean' }, - { $ref: '#/definitions/CssExperimentOptions' }, - ], - }, - futureDefaults: { type: 'boolean' }, - layers: { type: 'boolean' }, - lazyCompilation: { - anyOf: [ - { type: 'boolean' }, - { $ref: '#/definitions/LazyCompilationOptions' }, - ], - }, - outputModule: { type: 'boolean' }, - syncWebAssembly: { type: 'boolean' }, - topLevelAwait: { type: 'boolean' }, - }, - }, - ExperimentsCommon: { - type: 'object', - additionalProperties: !1, - properties: { - asyncWebAssembly: { type: 'boolean' }, - backCompat: { type: 'boolean' }, - cacheUnaffected: { type: 'boolean' }, - futureDefaults: { type: 'boolean' }, - layers: { type: 'boolean' }, - outputModule: { type: 'boolean' }, - syncWebAssembly: { type: 'boolean' }, - topLevelAwait: { type: 'boolean' }, - }, - }, - ExperimentsNormalized: { - type: 'object', - additionalProperties: !1, - properties: { - asyncWebAssembly: { type: 'boolean' }, - backCompat: { type: 'boolean' }, - buildHttp: { - oneOf: [{ $ref: '#/definitions/HttpUriOptions' }], - }, - cacheUnaffected: { type: 'boolean' }, - css: { - anyOf: [ - { enum: [!1] }, - { $ref: '#/definitions/CssExperimentOptions' }, - ], - }, - futureDefaults: { type: 'boolean' }, - layers: { type: 'boolean' }, - lazyCompilation: { - anyOf: [ - { enum: [!1] }, - { $ref: '#/definitions/LazyCompilationOptions' }, - ], - }, - outputModule: { type: 'boolean' }, - syncWebAssembly: { type: 'boolean' }, - topLevelAwait: { type: 'boolean' }, - }, - }, - Extends: { - anyOf: [ - { type: 'array', items: { $ref: '#/definitions/ExtendsItem' } }, - { $ref: '#/definitions/ExtendsItem' }, - ], - }, - ExtendsItem: { type: 'string' }, - ExternalItem: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string' }, - { - type: 'object', - additionalProperties: { - $ref: '#/definitions/ExternalItemValue', - }, - properties: { - byLayer: { - anyOf: [ - { - type: 'object', - additionalProperties: { - $ref: '#/definitions/ExternalItem', - }, - }, - { instanceof: 'Function' }, - ], - }, - }, - }, - { instanceof: 'Function' }, - ], - }, - ExternalItemFunctionData: { - type: 'object', - additionalProperties: !1, - properties: { - context: { type: 'string' }, - contextInfo: { type: 'object' }, - dependencyType: { type: 'string' }, - getResolve: { instanceof: 'Function' }, - request: { type: 'string' }, - }, - }, - ExternalItemValue: { - anyOf: [ - { type: 'array', items: { type: 'string', minLength: 1 } }, - { type: 'boolean' }, - { type: 'string' }, - { type: 'object' }, - ], - }, - Externals: { - anyOf: [ - { - type: 'array', - items: { $ref: '#/definitions/ExternalItem' }, - }, - { $ref: '#/definitions/ExternalItem' }, - ], - }, - ExternalsPresets: { - type: 'object', - additionalProperties: !1, - properties: { - electron: { type: 'boolean' }, - electronMain: { type: 'boolean' }, - electronPreload: { type: 'boolean' }, - electronRenderer: { type: 'boolean' }, - node: { type: 'boolean' }, - nwjs: { type: 'boolean' }, - web: { type: 'boolean' }, - webAsync: { type: 'boolean' }, - }, - }, - ExternalsType: { - enum: [ - 'var', - 'module', - 'assign', - 'this', - 'window', - 'self', - 'global', - 'commonjs', - 'commonjs2', - 'commonjs-module', - 'commonjs-static', - 'amd', - 'amd-require', - 'umd', - 'umd2', - 'jsonp', - 'system', - 'promise', - 'import', - 'script', - 'node-commonjs', - ], - }, - FileCacheOptions: { - type: 'object', - additionalProperties: !1, - properties: { - allowCollectingMemory: { type: 'boolean' }, - buildDependencies: { - type: 'object', - additionalProperties: { - type: 'array', - items: { type: 'string', minLength: 1 }, - }, - }, - cacheDirectory: { type: 'string', absolutePath: !0 }, - cacheLocation: { type: 'string', absolutePath: !0 }, - compression: { enum: [!1, 'gzip', 'brotli'] }, - hashAlgorithm: { type: 'string' }, - idleTimeout: { type: 'number', minimum: 0 }, - idleTimeoutAfterLargeChanges: { type: 'number', minimum: 0 }, - idleTimeoutForInitialStore: { type: 'number', minimum: 0 }, - immutablePaths: { - type: 'array', - items: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !0, minLength: 1 }, - ], - }, - }, - managedPaths: { - type: 'array', - items: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !0, minLength: 1 }, - ], - }, - }, - maxAge: { type: 'number', minimum: 0 }, - maxMemoryGenerations: { type: 'number', minimum: 0 }, - memoryCacheUnaffected: { type: 'boolean' }, - name: { type: 'string' }, - profile: { type: 'boolean' }, - readonly: { type: 'boolean' }, - store: { enum: ['pack'] }, - type: { enum: ['filesystem'] }, - version: { type: 'string' }, - }, - required: ['type'], - }, - Filename: { oneOf: [{ $ref: '#/definitions/FilenameTemplate' }] }, - FilenameTemplate: { - anyOf: [ - { type: 'string', absolutePath: !1, minLength: 1 }, - { instanceof: 'Function' }, - ], - }, - FilterItemTypes: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !1 }, - { instanceof: 'Function' }, - ], - }, - FilterTypes: { - anyOf: [ - { - type: 'array', - items: { oneOf: [{ $ref: '#/definitions/FilterItemTypes' }] }, - }, - { $ref: '#/definitions/FilterItemTypes' }, - ], - }, - GeneratorOptionsByModuleType: { - type: 'object', - additionalProperties: { - type: 'object', - additionalProperties: !0, - }, - properties: { - asset: { $ref: '#/definitions/AssetGeneratorOptions' }, - 'asset/inline': { - $ref: '#/definitions/AssetInlineGeneratorOptions', - }, - 'asset/resource': { - $ref: '#/definitions/AssetResourceGeneratorOptions', - }, - javascript: { $ref: '#/definitions/EmptyGeneratorOptions' }, - 'javascript/auto': { - $ref: '#/definitions/EmptyGeneratorOptions', - }, - 'javascript/dynamic': { - $ref: '#/definitions/EmptyGeneratorOptions', - }, - 'javascript/esm': { - $ref: '#/definitions/EmptyGeneratorOptions', - }, - }, - }, - GlobalObject: { type: 'string', minLength: 1 }, - HashDigest: { type: 'string' }, - HashDigestLength: { type: 'number', minimum: 1 }, - HashFunction: { - anyOf: [ - { type: 'string', minLength: 1 }, - { instanceof: 'Function' }, - ], - }, - HashSalt: { type: 'string', minLength: 1 }, - HotUpdateChunkFilename: { type: 'string', absolutePath: !1 }, - HotUpdateGlobal: { type: 'string' }, - HotUpdateMainFilename: { type: 'string', absolutePath: !1 }, - HttpUriAllowedUris: { - oneOf: [{ $ref: '#/definitions/HttpUriOptionsAllowedUris' }], - }, - HttpUriOptions: { - type: 'object', - additionalProperties: !1, - properties: { - allowedUris: { - $ref: '#/definitions/HttpUriOptionsAllowedUris', - }, - cacheLocation: { - anyOf: [{ enum: [!1] }, { type: 'string', absolutePath: !0 }], - }, - frozen: { type: 'boolean' }, - lockfileLocation: { type: 'string', absolutePath: !0 }, - proxy: { type: 'string' }, - upgrade: { type: 'boolean' }, - }, - required: ['allowedUris'], - }, - HttpUriOptionsAllowedUris: { - type: 'array', - items: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', pattern: '^https?://' }, - { instanceof: 'Function' }, - ], - }, - }, - IgnoreWarnings: { - type: 'array', - items: { - anyOf: [ - { instanceof: 'RegExp' }, - { - type: 'object', - additionalProperties: !1, - properties: { - file: { instanceof: 'RegExp' }, - message: { instanceof: 'RegExp' }, - module: { instanceof: 'RegExp' }, - }, - }, - { instanceof: 'Function' }, - ], - }, - }, - IgnoreWarningsNormalized: { - type: 'array', - items: { instanceof: 'Function' }, - }, - Iife: { type: 'boolean' }, - ImportFunctionName: { type: 'string' }, - ImportMetaName: { type: 'string' }, - InfrastructureLogging: { - type: 'object', - additionalProperties: !1, - properties: { - appendOnly: { type: 'boolean' }, - colors: { type: 'boolean' }, - console: {}, - debug: { - anyOf: [ - { type: 'boolean' }, - { $ref: '#/definitions/FilterTypes' }, - ], - }, - level: { - enum: ['none', 'error', 'warn', 'info', 'log', 'verbose'], - }, - stream: {}, - }, - }, - JavascriptParserOptions: { - type: 'object', - additionalProperties: !0, - properties: { - amd: { $ref: '#/definitions/Amd' }, - browserify: { type: 'boolean' }, - commonjs: { type: 'boolean' }, - commonjsMagicComments: { type: 'boolean' }, - createRequire: { - anyOf: [{ type: 'boolean' }, { type: 'string' }], - }, - dynamicImportMode: { - enum: ['eager', 'weak', 'lazy', 'lazy-once'], - }, - dynamicImportPrefetch: { - anyOf: [{ type: 'number' }, { type: 'boolean' }], - }, - dynamicImportPreload: { - anyOf: [{ type: 'number' }, { type: 'boolean' }], - }, - exportsPresence: { enum: ['error', 'warn', 'auto', !1] }, - exprContextCritical: { type: 'boolean' }, - exprContextRecursive: { type: 'boolean' }, - exprContextRegExp: { - anyOf: [{ instanceof: 'RegExp' }, { type: 'boolean' }], - }, - exprContextRequest: { type: 'string' }, - harmony: { type: 'boolean' }, - import: { type: 'boolean' }, - importExportsPresence: { enum: ['error', 'warn', 'auto', !1] }, - importMeta: { type: 'boolean' }, - importMetaContext: { type: 'boolean' }, - node: { $ref: '#/definitions/Node' }, - reexportExportsPresence: { - enum: ['error', 'warn', 'auto', !1], - }, - requireContext: { type: 'boolean' }, - requireEnsure: { type: 'boolean' }, - requireInclude: { type: 'boolean' }, - requireJs: { type: 'boolean' }, - strictExportPresence: { type: 'boolean' }, - strictThisContextOnImports: { type: 'boolean' }, - system: { type: 'boolean' }, - unknownContextCritical: { type: 'boolean' }, - unknownContextRecursive: { type: 'boolean' }, - unknownContextRegExp: { - anyOf: [{ instanceof: 'RegExp' }, { type: 'boolean' }], - }, - unknownContextRequest: { type: 'string' }, - url: { anyOf: [{ enum: ['relative'] }, { type: 'boolean' }] }, - worker: { - anyOf: [ - { type: 'array', items: { type: 'string', minLength: 1 } }, - { type: 'boolean' }, - ], - }, - wrappedContextCritical: { type: 'boolean' }, - wrappedContextRecursive: { type: 'boolean' }, - wrappedContextRegExp: { instanceof: 'RegExp' }, - }, - }, - Layer: { - anyOf: [{ enum: [null] }, { type: 'string', minLength: 1 }], - }, - LazyCompilationDefaultBackendOptions: { - type: 'object', - additionalProperties: !1, - properties: { - client: { type: 'string' }, - listen: { - anyOf: [ - { type: 'number' }, - { - type: 'object', - additionalProperties: !0, - properties: { - host: { type: 'string' }, - port: { type: 'number' }, - }, - }, - { instanceof: 'Function' }, - ], - }, - protocol: { enum: ['http', 'https'] }, - server: { - anyOf: [ - { - type: 'object', - additionalProperties: !0, - properties: {}, - }, - { instanceof: 'Function' }, - ], - }, - }, - }, - LazyCompilationOptions: { - type: 'object', - additionalProperties: !1, - properties: { - backend: { - anyOf: [ - { instanceof: 'Function' }, - { - $ref: '#/definitions/LazyCompilationDefaultBackendOptions', - }, - ], - }, - entries: { type: 'boolean' }, - imports: { type: 'boolean' }, - test: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string' }, - { instanceof: 'Function' }, - ], - }, - }, - }, - Library: { - anyOf: [ - { $ref: '#/definitions/LibraryName' }, - { $ref: '#/definitions/LibraryOptions' }, - ], - }, - LibraryCustomUmdCommentObject: { - type: 'object', - additionalProperties: !1, - properties: { - amd: { type: 'string' }, - commonjs: { type: 'string' }, - commonjs2: { type: 'string' }, - root: { type: 'string' }, - }, - }, - LibraryCustomUmdObject: { - type: 'object', - additionalProperties: !1, - properties: { - amd: { type: 'string', minLength: 1 }, - commonjs: { type: 'string', minLength: 1 }, - root: { - anyOf: [ - { type: 'array', items: { type: 'string', minLength: 1 } }, - { type: 'string', minLength: 1 }, - ], - }, - }, - }, - LibraryExport: { - anyOf: [ - { type: 'array', items: { type: 'string', minLength: 1 } }, - { type: 'string', minLength: 1 }, - ], - }, - LibraryName: { - anyOf: [ - { - type: 'array', - items: { type: 'string', minLength: 1 }, - minItems: 1, - }, - { type: 'string', minLength: 1 }, - { $ref: '#/definitions/LibraryCustomUmdObject' }, - ], - }, - LibraryOptions: { - type: 'object', - additionalProperties: !1, - properties: { - amdContainer: { $ref: '#/definitions/AmdContainer' }, - auxiliaryComment: { $ref: '#/definitions/AuxiliaryComment' }, - export: { $ref: '#/definitions/LibraryExport' }, - name: { $ref: '#/definitions/LibraryName' }, - type: { $ref: '#/definitions/LibraryType' }, - umdNamedDefine: { $ref: '#/definitions/UmdNamedDefine' }, - }, - required: ['type'], - }, - LibraryType: { - anyOf: [ - { - enum: [ - 'var', - 'module', - 'assign', - 'assign-properties', - 'this', - 'window', - 'self', - 'global', - 'commonjs', - 'commonjs2', - 'commonjs-module', - 'commonjs-static', - 'amd', - 'amd-require', - 'umd', - 'umd2', - 'jsonp', - 'system', - ], - }, - { type: 'string' }, - ], - }, - Loader: { type: 'object' }, - MemoryCacheOptions: { - type: 'object', - additionalProperties: !1, - properties: { - cacheUnaffected: { type: 'boolean' }, - maxGenerations: { type: 'number', minimum: 1 }, - type: { enum: ['memory'] }, - }, - required: ['type'], - }, - Mode: { enum: ['development', 'production', 'none'] }, - ModuleFilterItemTypes: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !1 }, - { instanceof: 'Function' }, - ], - }, - ModuleFilterTypes: { - anyOf: [ - { - type: 'array', - items: { - oneOf: [{ $ref: '#/definitions/ModuleFilterItemTypes' }], - }, - }, - { $ref: '#/definitions/ModuleFilterItemTypes' }, - ], - }, - ModuleOptions: { - type: 'object', - additionalProperties: !1, - properties: { - defaultRules: { - oneOf: [{ $ref: '#/definitions/RuleSetRules' }], - }, - exprContextCritical: { type: 'boolean' }, - exprContextRecursive: { type: 'boolean' }, - exprContextRegExp: { - anyOf: [{ instanceof: 'RegExp' }, { type: 'boolean' }], - }, - exprContextRequest: { type: 'string' }, - generator: { - $ref: '#/definitions/GeneratorOptionsByModuleType', - }, - noParse: { $ref: '#/definitions/NoParse' }, - parser: { $ref: '#/definitions/ParserOptionsByModuleType' }, - rules: { oneOf: [{ $ref: '#/definitions/RuleSetRules' }] }, - strictExportPresence: { type: 'boolean' }, - strictThisContextOnImports: { type: 'boolean' }, - unknownContextCritical: { type: 'boolean' }, - unknownContextRecursive: { type: 'boolean' }, - unknownContextRegExp: { - anyOf: [{ instanceof: 'RegExp' }, { type: 'boolean' }], - }, - unknownContextRequest: { type: 'string' }, - unsafeCache: { - anyOf: [{ type: 'boolean' }, { instanceof: 'Function' }], - }, - wrappedContextCritical: { type: 'boolean' }, - wrappedContextRecursive: { type: 'boolean' }, - wrappedContextRegExp: { instanceof: 'RegExp' }, - }, - }, - ModuleOptionsNormalized: { - type: 'object', - additionalProperties: !1, - properties: { - defaultRules: { - oneOf: [{ $ref: '#/definitions/RuleSetRules' }], - }, - generator: { - $ref: '#/definitions/GeneratorOptionsByModuleType', - }, - noParse: { $ref: '#/definitions/NoParse' }, - parser: { $ref: '#/definitions/ParserOptionsByModuleType' }, - rules: { oneOf: [{ $ref: '#/definitions/RuleSetRules' }] }, - unsafeCache: { - anyOf: [{ type: 'boolean' }, { instanceof: 'Function' }], - }, - }, - required: ['defaultRules', 'generator', 'parser', 'rules'], - }, - Name: { type: 'string' }, - NoParse: { - anyOf: [ - { - type: 'array', - items: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !0 }, - { instanceof: 'Function' }, - ], - }, - minItems: 1, - }, - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !0 }, - { instanceof: 'Function' }, - ], - }, - Node: { - anyOf: [{ enum: [!1] }, { $ref: '#/definitions/NodeOptions' }], - }, - NodeOptions: { - type: 'object', - additionalProperties: !1, - properties: { - __dirname: { enum: [!1, !0, 'warn-mock', 'mock', 'eval-only'] }, - __filename: { - enum: [!1, !0, 'warn-mock', 'mock', 'eval-only'], - }, - global: { enum: [!1, !0, 'warn'] }, - }, - }, - Optimization: { - type: 'object', - additionalProperties: !1, - properties: { - checkWasmTypes: { type: 'boolean' }, - chunkIds: { - enum: [ - 'natural', - 'named', - 'deterministic', - 'size', - 'total-size', - !1, - ], - }, - concatenateModules: { type: 'boolean' }, - emitOnErrors: { type: 'boolean' }, - flagIncludedChunks: { type: 'boolean' }, - innerGraph: { type: 'boolean' }, - mangleExports: { - anyOf: [ - { enum: ['size', 'deterministic'] }, - { type: 'boolean' }, - ], - }, - mangleWasmImports: { type: 'boolean' }, - mergeDuplicateChunks: { type: 'boolean' }, - minimize: { type: 'boolean' }, - minimizer: { - type: 'array', - items: { - anyOf: [ - { enum: ['...'] }, - { $ref: '#/definitions/WebpackPluginInstance' }, - { $ref: '#/definitions/WebpackPluginFunction' }, - ], - }, - }, - moduleIds: { - enum: [ - 'natural', - 'named', - 'hashed', - 'deterministic', - 'size', - !1, - ], - }, - noEmitOnErrors: { type: 'boolean' }, - nodeEnv: { anyOf: [{ enum: [!1] }, { type: 'string' }] }, - portableRecords: { type: 'boolean' }, - providedExports: { type: 'boolean' }, - realContentHash: { type: 'boolean' }, - removeAvailableModules: { type: 'boolean' }, - removeEmptyChunks: { type: 'boolean' }, - runtimeChunk: { - $ref: '#/definitions/OptimizationRuntimeChunk', - }, - sideEffects: { - anyOf: [{ enum: ['flag'] }, { type: 'boolean' }], - }, - splitChunks: { - anyOf: [ - { enum: [!1] }, - { $ref: '#/definitions/OptimizationSplitChunksOptions' }, - ], - }, - usedExports: { - anyOf: [{ enum: ['global'] }, { type: 'boolean' }], - }, - }, - }, - OptimizationRuntimeChunk: { - anyOf: [ - { enum: ['single', 'multiple'] }, - { type: 'boolean' }, - { - type: 'object', - additionalProperties: !1, - properties: { - name: { - anyOf: [{ type: 'string' }, { instanceof: 'Function' }], - }, - }, - }, - ], - }, - OptimizationRuntimeChunkNormalized: { - anyOf: [ - { enum: [!1] }, - { - type: 'object', - additionalProperties: !1, - properties: { name: { instanceof: 'Function' } }, - }, - ], - }, - OptimizationSplitChunksCacheGroup: { - type: 'object', - additionalProperties: !1, - properties: { - automaticNameDelimiter: { type: 'string', minLength: 1 }, - chunks: { - anyOf: [ - { enum: ['initial', 'async', 'all'] }, - { instanceof: 'RegExp' }, - { instanceof: 'Function' }, - ], - }, - enforce: { type: 'boolean' }, - enforceSizeThreshold: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - filename: { - anyOf: [ - { type: 'string', absolutePath: !1, minLength: 1 }, - { instanceof: 'Function' }, - ], - }, - idHint: { type: 'string' }, - layer: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string' }, - { instanceof: 'Function' }, - ], - }, - maxAsyncRequests: { type: 'number', minimum: 1 }, - maxAsyncSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - maxInitialRequests: { type: 'number', minimum: 1 }, - maxInitialSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - maxSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - minChunks: { type: 'number', minimum: 1 }, - minRemainingSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - minSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - minSizeReduction: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - name: { - anyOf: [ - { enum: [!1] }, - { type: 'string' }, - { instanceof: 'Function' }, - ], - }, - priority: { type: 'number' }, - reuseExistingChunk: { type: 'boolean' }, - test: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string' }, - { instanceof: 'Function' }, - ], - }, - type: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string' }, - { instanceof: 'Function' }, - ], - }, - usedExports: { type: 'boolean' }, - }, - }, - OptimizationSplitChunksGetCacheGroups: { instanceof: 'Function' }, - OptimizationSplitChunksOptions: { - type: 'object', - additionalProperties: !1, - properties: { - automaticNameDelimiter: { type: 'string', minLength: 1 }, - cacheGroups: { - type: 'object', - additionalProperties: { - anyOf: [ - { enum: [!1] }, - { instanceof: 'RegExp' }, - { type: 'string' }, - { instanceof: 'Function' }, - { - $ref: '#/definitions/OptimizationSplitChunksCacheGroup', - }, - ], - }, - not: { - type: 'object', - additionalProperties: !0, - properties: { - test: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string' }, - { instanceof: 'Function' }, - ], - }, - }, - required: ['test'], - }, - }, - chunks: { - anyOf: [ - { enum: ['initial', 'async', 'all'] }, - { instanceof: 'RegExp' }, - { instanceof: 'Function' }, - ], - }, - defaultSizeTypes: { - type: 'array', - items: { type: 'string' }, - minItems: 1, - }, - enforceSizeThreshold: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - fallbackCacheGroup: { - type: 'object', - additionalProperties: !1, - properties: { - automaticNameDelimiter: { type: 'string', minLength: 1 }, - chunks: { - anyOf: [ - { enum: ['initial', 'async', 'all'] }, - { instanceof: 'RegExp' }, - { instanceof: 'Function' }, - ], - }, - maxAsyncSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - maxInitialSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - maxSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - minSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - minSizeReduction: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - }, - }, - filename: { - anyOf: [ - { type: 'string', absolutePath: !1, minLength: 1 }, - { instanceof: 'Function' }, - ], - }, - hidePathInfo: { type: 'boolean' }, - maxAsyncRequests: { type: 'number', minimum: 1 }, - maxAsyncSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - maxInitialRequests: { type: 'number', minimum: 1 }, - maxInitialSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - maxSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - minChunks: { type: 'number', minimum: 1 }, - minRemainingSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - minSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - minSizeReduction: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - name: { - anyOf: [ - { enum: [!1] }, - { type: 'string' }, - { instanceof: 'Function' }, - ], - }, - usedExports: { type: 'boolean' }, - }, - }, - OptimizationSplitChunksSizes: { - anyOf: [ - { type: 'number', minimum: 0 }, - { type: 'object', additionalProperties: { type: 'number' } }, - ], - }, - Output: { - type: 'object', - additionalProperties: !1, - properties: { - amdContainer: { - oneOf: [{ $ref: '#/definitions/AmdContainer' }], - }, - assetModuleFilename: { - $ref: '#/definitions/AssetModuleFilename', - }, - asyncChunks: { type: 'boolean' }, - auxiliaryComment: { - 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', - }, - clean: { $ref: '#/definitions/Clean' }, - compareBeforeEmit: { $ref: '#/definitions/CompareBeforeEmit' }, - crossOriginLoading: { - $ref: '#/definitions/CrossOriginLoading', - }, - cssChunkFilename: { $ref: '#/definitions/CssChunkFilename' }, - cssFilename: { $ref: '#/definitions/CssFilename' }, - 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', - }, - ignoreBrowserWarnings: { type: 'boolean' }, - iife: { $ref: '#/definitions/Iife' }, - importFunctionName: { - $ref: '#/definitions/ImportFunctionName', - }, - importMetaName: { $ref: '#/definitions/ImportMetaName' }, - library: { $ref: '#/definitions/Library' }, - libraryExport: { - oneOf: [{ $ref: '#/definitions/LibraryExport' }], - }, - libraryTarget: { - 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' }, - strictModuleErrorHandling: { - $ref: '#/definitions/StrictModuleErrorHandling', - }, - strictModuleExceptionHandling: { - $ref: '#/definitions/StrictModuleExceptionHandling', - }, - trustedTypes: { - anyOf: [ - { enum: [!0] }, - { type: 'string', minLength: 1 }, - { $ref: '#/definitions/TrustedTypes' }, - ], - }, - umdNamedDefine: { - oneOf: [{ $ref: '#/definitions/UmdNamedDefine' }], - }, - uniqueName: { $ref: '#/definitions/UniqueName' }, - wasmLoading: { $ref: '#/definitions/WasmLoading' }, - webassemblyModuleFilename: { - $ref: '#/definitions/WebassemblyModuleFilename', - }, - workerChunkLoading: { $ref: '#/definitions/ChunkLoading' }, - workerPublicPath: { $ref: '#/definitions/WorkerPublicPath' }, - workerWasmLoading: { $ref: '#/definitions/WasmLoading' }, - }, - }, - OutputModule: { type: 'boolean' }, - OutputNormalized: { - type: 'object', - additionalProperties: !1, - properties: { - assetModuleFilename: { - $ref: '#/definitions/AssetModuleFilename', - }, - asyncChunks: { type: 'boolean' }, - charset: { $ref: '#/definitions/Charset' }, - chunkFilename: { $ref: '#/definitions/ChunkFilename' }, - chunkFormat: { $ref: '#/definitions/ChunkFormat' }, - chunkLoadTimeout: { $ref: '#/definitions/ChunkLoadTimeout' }, - chunkLoading: { $ref: '#/definitions/ChunkLoading' }, - chunkLoadingGlobal: { - $ref: '#/definitions/ChunkLoadingGlobal', - }, - clean: { $ref: '#/definitions/Clean' }, - compareBeforeEmit: { $ref: '#/definitions/CompareBeforeEmit' }, - crossOriginLoading: { - $ref: '#/definitions/CrossOriginLoading', - }, - cssChunkFilename: { $ref: '#/definitions/CssChunkFilename' }, - cssFilename: { $ref: '#/definitions/CssFilename' }, - 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', - }, - ignoreBrowserWarnings: { type: 'boolean' }, - 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' }, - strictModuleErrorHandling: { - $ref: '#/definitions/StrictModuleErrorHandling', - }, - strictModuleExceptionHandling: { - $ref: '#/definitions/StrictModuleExceptionHandling', - }, - trustedTypes: { $ref: '#/definitions/TrustedTypes' }, - uniqueName: { $ref: '#/definitions/UniqueName' }, - wasmLoading: { $ref: '#/definitions/WasmLoading' }, - webassemblyModuleFilename: { - $ref: '#/definitions/WebassemblyModuleFilename', - }, - workerChunkLoading: { $ref: '#/definitions/ChunkLoading' }, - workerPublicPath: { $ref: '#/definitions/WorkerPublicPath' }, - workerWasmLoading: { $ref: '#/definitions/WasmLoading' }, - }, - }, - Parallelism: { type: 'number', minimum: 1 }, - ParserOptionsByModuleType: { - type: 'object', - additionalProperties: { - type: 'object', - additionalProperties: !0, - }, - properties: { - asset: { $ref: '#/definitions/AssetParserOptions' }, - 'asset/inline': { $ref: '#/definitions/EmptyParserOptions' }, - 'asset/resource': { $ref: '#/definitions/EmptyParserOptions' }, - 'asset/source': { $ref: '#/definitions/EmptyParserOptions' }, - javascript: { $ref: '#/definitions/JavascriptParserOptions' }, - 'javascript/auto': { - $ref: '#/definitions/JavascriptParserOptions', - }, - 'javascript/dynamic': { - $ref: '#/definitions/JavascriptParserOptions', - }, - 'javascript/esm': { - $ref: '#/definitions/JavascriptParserOptions', - }, - }, - }, - Path: { type: 'string', absolutePath: !0 }, - Pathinfo: { anyOf: [{ enum: ['verbose'] }, { type: 'boolean' }] }, - Performance: { - anyOf: [ - { enum: [!1] }, - { $ref: '#/definitions/PerformanceOptions' }, - ], - }, - PerformanceOptions: { - type: 'object', - additionalProperties: !1, - properties: { - assetFilter: { instanceof: 'Function' }, - hints: { enum: [!1, 'warning', 'error'] }, - maxAssetSize: { type: 'number' }, - maxEntrypointSize: { type: 'number' }, - }, - }, - Plugins: { - type: 'array', - items: { - anyOf: [ - { $ref: '#/definitions/WebpackPluginInstance' }, - { $ref: '#/definitions/WebpackPluginFunction' }, - ], - }, - }, - Profile: { type: 'boolean' }, - PublicPath: { - anyOf: [ - { enum: ['auto'] }, - { $ref: '#/definitions/RawPublicPath' }, - ], - }, - RawPublicPath: { - anyOf: [{ type: 'string' }, { instanceof: 'Function' }], - }, - RecordsInputPath: { - anyOf: [{ enum: [!1] }, { type: 'string', absolutePath: !0 }], - }, - RecordsOutputPath: { - anyOf: [{ enum: [!1] }, { type: 'string', absolutePath: !0 }], - }, - RecordsPath: { - anyOf: [{ enum: [!1] }, { type: 'string', absolutePath: !0 }], - }, - Resolve: { oneOf: [{ $ref: '#/definitions/ResolveOptions' }] }, - ResolveAlias: { - anyOf: [ - { - type: 'array', - items: { - type: 'object', - additionalProperties: !1, - properties: { - alias: { - anyOf: [ - { - type: 'array', - items: { type: 'string', minLength: 1 }, - }, - { enum: [!1] }, - { type: 'string', minLength: 1 }, - ], - }, - name: { type: 'string' }, - onlyModule: { type: 'boolean' }, - }, - required: ['alias', 'name'], - }, - }, - { - type: 'object', - additionalProperties: { - anyOf: [ - { - type: 'array', - items: { type: 'string', minLength: 1 }, - }, - { enum: [!1] }, - { type: 'string', minLength: 1 }, - ], - }, - }, - ], - }, - ResolveLoader: { - oneOf: [{ $ref: '#/definitions/ResolveOptions' }], - }, - ResolveOptions: { - type: 'object', - additionalProperties: !1, - properties: { - alias: { $ref: '#/definitions/ResolveAlias' }, - aliasFields: { - type: 'array', - items: { - anyOf: [ - { - type: 'array', - items: { type: 'string', minLength: 1 }, - }, - { type: 'string', minLength: 1 }, - ], - }, - }, - byDependency: { - type: 'object', - additionalProperties: { - oneOf: [{ $ref: '#/definitions/ResolveOptions' }], - }, - }, - cache: { type: 'boolean' }, - cachePredicate: { instanceof: 'Function' }, - cacheWithContext: { type: 'boolean' }, - conditionNames: { type: 'array', items: { type: 'string' } }, - descriptionFiles: { - type: 'array', - items: { type: 'string', minLength: 1 }, - }, - enforceExtension: { type: 'boolean' }, - exportsFields: { type: 'array', items: { type: 'string' } }, - extensionAlias: { - type: 'object', - additionalProperties: { - anyOf: [ - { - type: 'array', - items: { type: 'string', minLength: 1 }, - }, - { type: 'string', minLength: 1 }, - ], - }, - }, - extensions: { type: 'array', items: { type: 'string' } }, - fallback: { oneOf: [{ $ref: '#/definitions/ResolveAlias' }] }, - fileSystem: {}, - fullySpecified: { type: 'boolean' }, - importsFields: { type: 'array', items: { type: 'string' } }, - mainFields: { - type: 'array', - items: { - anyOf: [ - { - type: 'array', - items: { type: 'string', minLength: 1 }, - }, - { type: 'string', minLength: 1 }, - ], - }, - }, - mainFiles: { - type: 'array', - items: { type: 'string', minLength: 1 }, - }, - modules: { - type: 'array', - items: { type: 'string', minLength: 1 }, - }, - plugins: { - type: 'array', - items: { - anyOf: [ - { enum: ['...'] }, - { $ref: '#/definitions/ResolvePluginInstance' }, - ], - }, - }, - preferAbsolute: { type: 'boolean' }, - preferRelative: { type: 'boolean' }, - resolver: {}, - restrictions: { - type: 'array', - items: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !0, minLength: 1 }, - ], - }, - }, - roots: { type: 'array', items: { type: 'string' } }, - symlinks: { type: 'boolean' }, - unsafeCache: { - anyOf: [ - { type: 'boolean' }, - { type: 'object', additionalProperties: !0 }, - ], - }, - useSyncFileSystemCalls: { type: 'boolean' }, - }, - }, - ResolvePluginInstance: { - type: 'object', - additionalProperties: !0, - properties: { apply: { instanceof: 'Function' } }, - required: ['apply'], - }, - RuleSetCondition: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string' }, - { instanceof: 'Function' }, - { $ref: '#/definitions/RuleSetLogicalConditions' }, - { $ref: '#/definitions/RuleSetConditions' }, - ], - }, - RuleSetConditionAbsolute: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !0 }, - { instanceof: 'Function' }, - { $ref: '#/definitions/RuleSetLogicalConditionsAbsolute' }, - { $ref: '#/definitions/RuleSetConditionsAbsolute' }, - ], - }, - RuleSetConditionOrConditions: { - anyOf: [ - { $ref: '#/definitions/RuleSetCondition' }, - { $ref: '#/definitions/RuleSetConditions' }, - ], - }, - RuleSetConditionOrConditionsAbsolute: { - anyOf: [ - { $ref: '#/definitions/RuleSetConditionAbsolute' }, - { $ref: '#/definitions/RuleSetConditionsAbsolute' }, - ], - }, - RuleSetConditions: { - type: 'array', - items: { oneOf: [{ $ref: '#/definitions/RuleSetCondition' }] }, - }, - RuleSetConditionsAbsolute: { - type: 'array', - items: { - oneOf: [{ $ref: '#/definitions/RuleSetConditionAbsolute' }], - }, - }, - RuleSetLoader: { type: 'string', minLength: 1 }, - RuleSetLoaderOptions: { - anyOf: [{ type: 'string' }, { type: 'object' }], - }, - RuleSetLogicalConditions: { - type: 'object', - additionalProperties: !1, - properties: { - and: { oneOf: [{ $ref: '#/definitions/RuleSetConditions' }] }, - not: { oneOf: [{ $ref: '#/definitions/RuleSetCondition' }] }, - or: { oneOf: [{ $ref: '#/definitions/RuleSetConditions' }] }, - }, - }, - RuleSetLogicalConditionsAbsolute: { - type: 'object', - additionalProperties: !1, - properties: { - and: { - oneOf: [{ $ref: '#/definitions/RuleSetConditionsAbsolute' }], - }, - not: { - oneOf: [{ $ref: '#/definitions/RuleSetConditionAbsolute' }], - }, - or: { - oneOf: [{ $ref: '#/definitions/RuleSetConditionsAbsolute' }], - }, - }, - }, - RuleSetRule: { - type: 'object', - additionalProperties: !1, - properties: { - assert: { - type: 'object', - additionalProperties: { - $ref: '#/definitions/RuleSetConditionOrConditions', - }, - }, - compiler: { - oneOf: [ - { $ref: '#/definitions/RuleSetConditionOrConditions' }, - ], - }, - dependency: { - oneOf: [ - { $ref: '#/definitions/RuleSetConditionOrConditions' }, - ], - }, - descriptionData: { - type: 'object', - additionalProperties: { - $ref: '#/definitions/RuleSetConditionOrConditions', - }, - }, - enforce: { enum: ['pre', 'post'] }, - exclude: { - oneOf: [ - { - $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute', - }, - ], - }, - generator: { type: 'object' }, - include: { - oneOf: [ - { - $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute', - }, - ], - }, - issuer: { - oneOf: [ - { - $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute', - }, - ], - }, - issuerLayer: { - oneOf: [ - { $ref: '#/definitions/RuleSetConditionOrConditions' }, - ], - }, - layer: { type: 'string' }, - loader: { oneOf: [{ $ref: '#/definitions/RuleSetLoader' }] }, - mimetype: { - oneOf: [ - { $ref: '#/definitions/RuleSetConditionOrConditions' }, - ], - }, - oneOf: { - type: 'array', - items: { oneOf: [{ $ref: '#/definitions/RuleSetRule' }] }, - }, - options: { - oneOf: [{ $ref: '#/definitions/RuleSetLoaderOptions' }], - }, - parser: { type: 'object', additionalProperties: !0 }, - realResource: { - oneOf: [ - { - $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute', - }, - ], - }, - resolve: { - type: 'object', - oneOf: [{ $ref: '#/definitions/ResolveOptions' }], - }, - resource: { - oneOf: [ - { - $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute', - }, - ], - }, - resourceFragment: { - oneOf: [ - { $ref: '#/definitions/RuleSetConditionOrConditions' }, - ], - }, - resourceQuery: { - oneOf: [ - { $ref: '#/definitions/RuleSetConditionOrConditions' }, - ], - }, - rules: { - type: 'array', - items: { oneOf: [{ $ref: '#/definitions/RuleSetRule' }] }, - }, - scheme: { - oneOf: [ - { $ref: '#/definitions/RuleSetConditionOrConditions' }, - ], - }, - sideEffects: { type: 'boolean' }, - test: { - oneOf: [ - { - $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute', - }, - ], - }, - type: { type: 'string' }, - use: { oneOf: [{ $ref: '#/definitions/RuleSetUse' }] }, - }, - }, - RuleSetRules: { - type: 'array', - items: { - anyOf: [ - { enum: ['...'] }, - { $ref: '#/definitions/RuleSetRule' }, - ], - }, - }, - RuleSetUse: { - anyOf: [ - { - type: 'array', - items: { oneOf: [{ $ref: '#/definitions/RuleSetUseItem' }] }, - }, - { instanceof: 'Function' }, - { $ref: '#/definitions/RuleSetUseItem' }, - ], - }, - RuleSetUseItem: { - anyOf: [ - { - type: 'object', - additionalProperties: !1, - properties: { - ident: { type: 'string' }, - loader: { - oneOf: [{ $ref: '#/definitions/RuleSetLoader' }], - }, - options: { - oneOf: [{ $ref: '#/definitions/RuleSetLoaderOptions' }], - }, - }, - }, - { instanceof: 'Function' }, - { $ref: '#/definitions/RuleSetLoader' }, - ], - }, - ScriptType: { enum: [!1, 'text/javascript', 'module'] }, - SnapshotOptions: { - type: 'object', - additionalProperties: !1, - properties: { - buildDependencies: { - type: 'object', - additionalProperties: !1, - properties: { - hash: { type: 'boolean' }, - timestamp: { type: 'boolean' }, - }, - }, - immutablePaths: { - type: 'array', - items: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !0, minLength: 1 }, - ], - }, - }, - managedPaths: { - type: 'array', - items: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !0, minLength: 1 }, - ], - }, - }, - module: { - type: 'object', - additionalProperties: !1, - properties: { - hash: { type: 'boolean' }, - timestamp: { type: 'boolean' }, - }, - }, - resolve: { - type: 'object', - additionalProperties: !1, - properties: { - hash: { type: 'boolean' }, - timestamp: { type: 'boolean' }, - }, - }, - resolveBuildDependencies: { - type: 'object', - additionalProperties: !1, - properties: { - hash: { type: 'boolean' }, - timestamp: { type: 'boolean' }, - }, - }, - }, - }, - SourceMapFilename: { type: 'string', absolutePath: !1 }, - SourcePrefix: { type: 'string' }, - StatsOptions: { - type: 'object', - additionalProperties: !1, - properties: { - all: { type: 'boolean' }, - assets: { type: 'boolean' }, - assetsSort: { type: 'string' }, - assetsSpace: { type: 'number' }, - builtAt: { type: 'boolean' }, - cached: { type: 'boolean' }, - cachedAssets: { type: 'boolean' }, - cachedModules: { type: 'boolean' }, - children: { type: 'boolean' }, - chunkGroupAuxiliary: { type: 'boolean' }, - chunkGroupChildren: { type: 'boolean' }, - chunkGroupMaxAssets: { type: 'number' }, - chunkGroups: { type: 'boolean' }, - chunkModules: { type: 'boolean' }, - chunkModulesSpace: { type: 'number' }, - chunkOrigins: { type: 'boolean' }, - chunkRelations: { type: 'boolean' }, - chunks: { type: 'boolean' }, - chunksSort: { type: 'string' }, - colors: { - anyOf: [ - { type: 'boolean' }, - { - type: 'object', - additionalProperties: !1, - properties: { - bold: { type: 'string' }, - cyan: { type: 'string' }, - green: { type: 'string' }, - magenta: { type: 'string' }, - red: { type: 'string' }, - yellow: { type: 'string' }, - }, - }, - ], - }, - context: { type: 'string', absolutePath: !0 }, - dependentModules: { type: 'boolean' }, - depth: { type: 'boolean' }, - entrypoints: { - anyOf: [{ enum: ['auto'] }, { type: 'boolean' }], - }, - env: { type: 'boolean' }, - errorDetails: { - anyOf: [{ enum: ['auto'] }, { type: 'boolean' }], - }, - errorStack: { type: 'boolean' }, - errors: { type: 'boolean' }, - errorsCount: { type: 'boolean' }, - errorsSpace: { type: 'number' }, - exclude: { - anyOf: [ - { type: 'boolean' }, - { $ref: '#/definitions/ModuleFilterTypes' }, - ], - }, - excludeAssets: { - oneOf: [{ $ref: '#/definitions/AssetFilterTypes' }], - }, - excludeModules: { - anyOf: [ - { type: 'boolean' }, - { $ref: '#/definitions/ModuleFilterTypes' }, - ], - }, - groupAssetsByChunk: { type: 'boolean' }, - groupAssetsByEmitStatus: { type: 'boolean' }, - groupAssetsByExtension: { type: 'boolean' }, - groupAssetsByInfo: { type: 'boolean' }, - groupAssetsByPath: { type: 'boolean' }, - groupModulesByAttributes: { type: 'boolean' }, - groupModulesByCacheStatus: { type: 'boolean' }, - groupModulesByExtension: { type: 'boolean' }, - groupModulesByLayer: { type: 'boolean' }, - groupModulesByPath: { type: 'boolean' }, - groupModulesByType: { type: 'boolean' }, - groupReasonsByOrigin: { type: 'boolean' }, - hash: { type: 'boolean' }, - ids: { type: 'boolean' }, - logging: { - anyOf: [ - { - enum: ['none', 'error', 'warn', 'info', 'log', 'verbose'], - }, - { type: 'boolean' }, - ], - }, - loggingDebug: { - anyOf: [ - { type: 'boolean' }, - { $ref: '#/definitions/FilterTypes' }, - ], - }, - loggingTrace: { type: 'boolean' }, - moduleAssets: { type: 'boolean' }, - moduleTrace: { type: 'boolean' }, - modules: { type: 'boolean' }, - modulesSort: { type: 'string' }, - modulesSpace: { type: 'number' }, - nestedModules: { type: 'boolean' }, - nestedModulesSpace: { type: 'number' }, - optimizationBailout: { type: 'boolean' }, - orphanModules: { type: 'boolean' }, - outputPath: { type: 'boolean' }, - performance: { type: 'boolean' }, - preset: { anyOf: [{ type: 'boolean' }, { type: 'string' }] }, - providedExports: { type: 'boolean' }, - publicPath: { type: 'boolean' }, - reasons: { type: 'boolean' }, - reasonsSpace: { type: 'number' }, - relatedAssets: { type: 'boolean' }, - runtime: { type: 'boolean' }, - runtimeModules: { type: 'boolean' }, - source: { type: 'boolean' }, - timings: { type: 'boolean' }, - usedExports: { type: 'boolean' }, - version: { type: 'boolean' }, - warnings: { type: 'boolean' }, - warningsCount: { type: 'boolean' }, - warningsFilter: { - oneOf: [{ $ref: '#/definitions/WarningFilterTypes' }], - }, - warningsSpace: { type: 'number' }, - }, - }, - StatsValue: { - anyOf: [ - { - enum: [ - 'none', - 'summary', - 'errors-only', - 'errors-warnings', - 'minimal', - 'normal', - 'detailed', - 'verbose', - ], - }, - { type: 'boolean' }, - { $ref: '#/definitions/StatsOptions' }, - ], - }, - StrictModuleErrorHandling: { type: 'boolean' }, - StrictModuleExceptionHandling: { type: 'boolean' }, - Target: { - anyOf: [ - { - type: 'array', - items: { type: 'string', minLength: 1 }, - minItems: 1, - }, - { enum: [!1] }, - { type: 'string', minLength: 1 }, - ], - }, - TrustedTypes: { - type: 'object', - additionalProperties: !1, - properties: { - onPolicyCreationFailure: { enum: ['continue', 'stop'] }, - policyName: { type: 'string', minLength: 1 }, - }, - }, - UmdNamedDefine: { type: 'boolean' }, - UniqueName: { type: 'string', minLength: 1 }, - WarningFilterItemTypes: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !1 }, - { instanceof: 'Function' }, - ], - }, - WarningFilterTypes: { - anyOf: [ - { - type: 'array', - items: { - oneOf: [{ $ref: '#/definitions/WarningFilterItemTypes' }], - }, - }, - { $ref: '#/definitions/WarningFilterItemTypes' }, - ], - }, - WasmLoading: { - anyOf: [ - { enum: [!1] }, - { $ref: '#/definitions/WasmLoadingType' }, - ], - }, - WasmLoadingType: { - anyOf: [ - { enum: ['fetch-streaming', 'fetch', 'async-node'] }, - { type: 'string' }, - ], - }, - Watch: { type: 'boolean' }, - WatchOptions: { - type: 'object', - additionalProperties: !1, - properties: { - aggregateTimeout: { type: 'number' }, - followSymlinks: { type: 'boolean' }, - ignored: { - anyOf: [ - { type: 'array', items: { type: 'string', minLength: 1 } }, - { instanceof: 'RegExp' }, - { type: 'string', minLength: 1 }, - ], - }, - poll: { anyOf: [{ type: 'number' }, { type: 'boolean' }] }, - stdin: { type: 'boolean' }, - }, - }, - WebassemblyModuleFilename: { type: 'string', absolutePath: !1 }, - WebpackOptionsNormalized: { - type: 'object', - additionalProperties: !1, - 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/ExperimentsNormalized' }, - 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/ModuleOptionsNormalized' }, - 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: { instanceof: 'Function' }, - WebpackPluginInstance: { - type: 'object', - additionalProperties: !0, - properties: { apply: { instanceof: 'Function' } }, - required: ['apply'], - }, - WorkerPublicPath: { type: 'string' }, - }, - type: 'object', - additionalProperties: !1, - 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' }, - extends: { $ref: '#/definitions/Extends' }, - 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' }, - }, - }, - P = Object.prototype.hasOwnProperty, - R = { - type: 'object', - additionalProperties: !1, - properties: { - allowCollectingMemory: { type: 'boolean' }, - buildDependencies: { - type: 'object', - additionalProperties: { - type: 'array', - items: { type: 'string', minLength: 1 }, - }, - }, - cacheDirectory: { type: 'string', absolutePath: !0 }, - cacheLocation: { type: 'string', absolutePath: !0 }, - compression: { enum: [!1, 'gzip', 'brotli'] }, - hashAlgorithm: { type: 'string' }, - idleTimeout: { type: 'number', minimum: 0 }, - idleTimeoutAfterLargeChanges: { type: 'number', minimum: 0 }, - idleTimeoutForInitialStore: { type: 'number', minimum: 0 }, - immutablePaths: { - type: 'array', - items: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !0, minLength: 1 }, - ], - }, - }, - managedPaths: { - type: 'array', - items: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !0, minLength: 1 }, - ], - }, - }, - maxAge: { type: 'number', minimum: 0 }, - maxMemoryGenerations: { type: 'number', minimum: 0 }, - memoryCacheUnaffected: { type: 'boolean' }, - name: { type: 'string' }, - profile: { type: 'boolean' }, - readonly: { type: 'boolean' }, - store: { enum: ['pack'] }, - type: { enum: ['filesystem'] }, - version: { type: 'string' }, - }, - required: ['type'], - } - function o( - k, - { - instancePath: E = '', - parentData: L, - parentDataProperty: N, - rootData: q = k, - } = {} - ) { - let ae = null, - le = 0 - const pe = le - let me = !1 - const ye = le - if (!1 !== k) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - var _e = ye === le - if (((me = me || _e), !me)) { - const E = le - if (le == le) - if (k && 'object' == typeof k && !Array.isArray(k)) { - let v - if (void 0 === k.type && (v = 'type')) { - const k = { params: { missingProperty: v } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } else { - const v = le - for (const v in k) - if ( - 'cacheUnaffected' !== v && - 'maxGenerations' !== v && - 'type' !== v - ) { - const k = { params: { additionalProperty: v } } - null === ae ? (ae = [k]) : ae.push(k), le++ - break - } - if (v === le) { - if (void 0 !== k.cacheUnaffected) { - const v = le - if ('boolean' != typeof k.cacheUnaffected) { - const k = { params: { type: 'boolean' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - var Ie = v === le - } else Ie = !0 - if (Ie) { - if (void 0 !== k.maxGenerations) { - let v = k.maxGenerations - const E = le - if (le === E) - if ('number' == typeof v) { - if (v < 1 || isNaN(v)) { - const k = { params: { comparison: '>=', limit: 1 } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - } else { - const k = { params: { type: 'number' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - Ie = E === le - } else Ie = !0 - if (Ie) - if (void 0 !== k.type) { - const v = le - if ('memory' !== k.type) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - Ie = v === le - } else Ie = !0 - } - } - } - } else { - const k = { params: { type: 'object' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - if (((_e = E === le), (me = me || _e), !me)) { - const E = le - if (le == le) - if (k && 'object' == typeof k && !Array.isArray(k)) { - let E - if (void 0 === k.type && (E = 'type')) { - const k = { params: { missingProperty: E } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } else { - const E = le - for (const v in k) - if (!P.call(R.properties, v)) { - const k = { params: { additionalProperty: v } } - null === ae ? (ae = [k]) : ae.push(k), le++ - break - } - if (E === le) { - if (void 0 !== k.allowCollectingMemory) { - const v = le - if ('boolean' != typeof k.allowCollectingMemory) { - const k = { params: { type: 'boolean' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - var Me = v === le - } else Me = !0 - if (Me) { - if (void 0 !== k.buildDependencies) { - let v = k.buildDependencies - const E = le - if (le === E) - if (v && 'object' == typeof v && !Array.isArray(v)) - for (const k in v) { - let E = v[k] - const P = le - if (le === P) - if (Array.isArray(E)) { - const k = E.length - for (let v = 0; v < k; v++) { - let k = E[v] - const P = le - if (le === P) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), - le++ - } - } else { - const k = { params: { type: 'string' } } - null === ae ? (ae = [k]) : ae.push(k), - le++ - } - if (P !== le) break - } - } else { - const k = { params: { type: 'array' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - if (P !== le) break - } - else { - const k = { params: { type: 'object' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - Me = E === le - } else Me = !0 - if (Me) { - if (void 0 !== k.cacheDirectory) { - let E = k.cacheDirectory - const P = le - if (le === P) - if ('string' == typeof E) { - if (E.includes('!') || !0 !== v.test(E)) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - } else { - const k = { params: { type: 'string' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - Me = P === le - } else Me = !0 - if (Me) { - if (void 0 !== k.cacheLocation) { - let E = k.cacheLocation - const P = le - if (le === P) - if ('string' == typeof E) { - if (E.includes('!') || !0 !== v.test(E)) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - } else { - const k = { params: { type: 'string' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - Me = P === le - } else Me = !0 - if (Me) { - if (void 0 !== k.compression) { - let v = k.compression - const E = le - if (!1 !== v && 'gzip' !== v && 'brotli' !== v) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - Me = E === le - } else Me = !0 - if (Me) { - if (void 0 !== k.hashAlgorithm) { - const v = le - if ('string' != typeof k.hashAlgorithm) { - const k = { params: { type: 'string' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - Me = v === le - } else Me = !0 - if (Me) { - if (void 0 !== k.idleTimeout) { - let v = k.idleTimeout - const E = le - if (le === E) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === ae ? (ae = [k]) : ae.push(k), - le++ - } - } else { - const k = { params: { type: 'number' } } - null === ae ? (ae = [k]) : ae.push(k), - le++ - } - Me = E === le - } else Me = !0 - if (Me) { - if ( - void 0 !== k.idleTimeoutAfterLargeChanges - ) { - let v = k.idleTimeoutAfterLargeChanges - const E = le - if (le === E) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === ae ? (ae = [k]) : ae.push(k), - le++ - } - } else { - const k = { params: { type: 'number' } } - null === ae ? (ae = [k]) : ae.push(k), - le++ - } - Me = E === le - } else Me = !0 - if (Me) { - if ( - void 0 !== k.idleTimeoutForInitialStore - ) { - let v = k.idleTimeoutForInitialStore - const E = le - if (le === E) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === ae ? (ae = [k]) : ae.push(k), - le++ - } - Me = E === le - } else Me = !0 - if (Me) { - if (void 0 !== k.immutablePaths) { - let E = k.immutablePaths - const P = le - if (le === P) - if (Array.isArray(E)) { - const k = E.length - for (let P = 0; P < k; P++) { - let k = E[P] - const R = le, - L = le - let N = !1 - const q = le - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - var Te = q === le - if (((N = N || Te), !N)) { - const E = le - if (le === E) - if ('string' == typeof k) { - if ( - k.includes('!') || - !0 !== v.test(k) - ) { - const k = { params: {} } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } else if (k.length < 1) { - const k = { params: {} } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - } else { - const k = { - params: { - type: 'string', - }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - ;(Te = E === le), (N = N || Te) - } - if (N) - (le = L), - null !== ae && - (L - ? (ae.length = L) - : (ae = null)) - else { - const k = { params: {} } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - if (R !== le) break - } - } else { - const k = { - params: { type: 'array' }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - Me = P === le - } else Me = !0 - if (Me) { - if (void 0 !== k.managedPaths) { - let E = k.managedPaths - const P = le - if (le === P) - if (Array.isArray(E)) { - const k = E.length - for (let P = 0; P < k; P++) { - let k = E[P] - const R = le, - L = le - let N = !1 - const q = le - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - var je = q === le - if (((N = N || je), !N)) { - const E = le - if (le === E) - if ('string' == typeof k) { - if ( - k.includes('!') || - !0 !== v.test(k) - ) { - const k = { params: {} } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } else if (k.length < 1) { - const k = { params: {} } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - } else { - const k = { - params: { - type: 'string', - }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - ;(je = E === le), - (N = N || je) - } - if (N) - (le = L), - null !== ae && - (L - ? (ae.length = L) - : (ae = null)) - else { - const k = { params: {} } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - if (R !== le) break - } - } else { - const k = { - params: { type: 'array' }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - Me = P === le - } else Me = !0 - if (Me) { - if (void 0 !== k.maxAge) { - let v = k.maxAge - const E = le - if (le === E) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - Me = E === le - } else Me = !0 - if (Me) { - if ( - void 0 !== k.maxMemoryGenerations - ) { - let v = k.maxMemoryGenerations - const E = le - if (le === E) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - Me = E === le - } else Me = !0 - if (Me) { - if ( - void 0 !== - k.memoryCacheUnaffected - ) { - const v = le - if ( - 'boolean' != - typeof k.memoryCacheUnaffected - ) { - const k = { - params: { type: 'boolean' }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - Me = v === le - } else Me = !0 - if (Me) { - if (void 0 !== k.name) { - const v = le - if ( - 'string' != typeof k.name - ) { - const k = { - params: { - type: 'string', - }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - Me = v === le - } else Me = !0 - if (Me) { - if (void 0 !== k.profile) { - const v = le - if ( - 'boolean' != - typeof k.profile - ) { - const k = { - params: { - type: 'boolean', - }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - Me = v === le - } else Me = !0 - if (Me) { - if (void 0 !== k.readonly) { - const v = le - if ( - 'boolean' != - typeof k.readonly - ) { - const k = { - params: { - type: 'boolean', - }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - Me = v === le - } else Me = !0 - if (Me) { - if (void 0 !== k.store) { - const v = le - if ( - 'pack' !== k.store - ) { - const k = { - params: {}, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - Me = v === le - } else Me = !0 - if (Me) { - if (void 0 !== k.type) { - const v = le - if ( - 'filesystem' !== - k.type - ) { - const k = { - params: {}, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - Me = v === le - } else Me = !0 - if (Me) - if ( - void 0 !== k.version - ) { - const v = le - if ( - 'string' != - typeof k.version - ) { - const k = { - params: { - type: 'string', - }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - Me = v === le - } else Me = !0 - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } else { - const k = { params: { type: 'object' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - ;(_e = E === le), (me = me || _e) - } - } - if (!me) { - const k = { params: {} } - return ( - null === ae ? (ae = [k]) : ae.push(k), le++, (o.errors = ae), !1 - ) - } - return ( - (le = pe), - null !== ae && (pe ? (ae.length = pe) : (ae = null)), - (o.errors = ae), - 0 === le - ) - } - function s( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (!0 !== k) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const q = N - o(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? o.errors : L.concat(o.errors)), (N = L.length)), - (pe = q === N), - (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (s.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (s.errors = L), - 0 === N - ) - } - const L = { - type: 'object', - additionalProperties: !1, - properties: { - asyncChunks: { type: 'boolean' }, - baseUri: { type: 'string' }, - chunkLoading: { $ref: '#/definitions/ChunkLoading' }, - dependOn: { - anyOf: [ - { - type: 'array', - items: { type: 'string', minLength: 1 }, - minItems: 1, - uniqueItems: !0, - }, - { type: 'string', minLength: 1 }, - ], - }, - filename: { $ref: '#/definitions/EntryFilename' }, - import: { $ref: '#/definitions/EntryItem' }, - layer: { $ref: '#/definitions/Layer' }, - library: { $ref: '#/definitions/LibraryOptions' }, - publicPath: { $ref: '#/definitions/PublicPath' }, - runtime: { $ref: '#/definitions/EntryRuntime' }, - wasmLoading: { $ref: '#/definitions/WasmLoading' }, - }, - required: ['import'], - } - function a( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (!1 !== k) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const v = N, - E = N - let P = !1 - const R = N - if ( - 'jsonp' !== k && - 'import-scripts' !== k && - 'require' !== k && - 'async-node' !== k && - 'import' !== k - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = R === N - if (((P = P || me), !P)) { - const v = N - if ('string' != typeof k) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = v === N), (P = P || me) - } - if (P) (N = E), null !== L && (E ? (L.length = E) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (a.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (a.errors = L), - 0 === N - ) - } - function l( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - const ae = q - let le = !1, - pe = null - const me = q, - ye = q - let _e = !1 - const Ie = q - if (q === Ie) - if ('string' == typeof k) { - if (k.includes('!') || !1 !== v.test(k)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } else if (k.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var Me = Ie === q - if (((_e = _e || Me), !_e)) { - const v = q - if (!(k instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(Me = v === q), (_e = _e || Me) - } - if (_e) (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - if ((me === q && ((le = !0), (pe = 0)), !le)) { - const k = { params: { passingSchemas: pe } } - return null === N ? (N = [k]) : N.push(k), q++, (l.errors = N), !1 - } - return ( - (q = ae), - null !== N && (ae ? (N.length = ae) : (N = null)), - (l.errors = N), - 0 === q - ) - } - function p( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if ('string' != typeof k) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const v = N - if (N == N) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const v = N - for (const v in k) - if ( - 'amd' !== v && - 'commonjs' !== v && - 'commonjs2' !== v && - 'root' !== v - ) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (v === N) { - if (void 0 !== k.amd) { - const v = N - if ('string' != typeof k.amd) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = v === N - } else me = !0 - if (me) { - if (void 0 !== k.commonjs) { - const v = N - if ('string' != typeof k.commonjs) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = v === N - } else me = !0 - if (me) { - if (void 0 !== k.commonjs2) { - const v = N - if ('string' != typeof k.commonjs2) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = v === N - } else me = !0 - if (me) - if (void 0 !== k.root) { - const v = N - if ('string' != typeof k.root) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = v === N - } else me = !0 - } - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (p.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (p.errors = L), - 0 === N - ) - } - function f( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) - if (k.length < 1) { - const k = { params: { limit: 1 } } - null === L ? (L = [k]) : L.push(k), N++ - } else { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = N - if (N === P) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - } - else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const v = N - if (N === v) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((pe = v === N), (ae = ae || pe), !ae)) { - const v = N - if (N == N) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const v = N - for (const v in k) - if ('amd' !== v && 'commonjs' !== v && 'root' !== v) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (v === N) { - if (void 0 !== k.amd) { - let v = k.amd - const E = N - if (N === E) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = E === N - } else me = !0 - if (me) { - if (void 0 !== k.commonjs) { - let v = k.commonjs - const E = N - if (N === E) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = E === N - } else me = !0 - if (me) - if (void 0 !== k.root) { - let v = k.root - const E = N, - P = N - let R = !1 - const q = N - if (N === q) - if (Array.isArray(v)) { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = N - if (N === P) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var ye = q === N - if (((R = R || ye), !R)) { - const k = N - if (N === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ye = k === N), (R = R || ye) - } - if (R) - (N = P), - null !== L && (P ? (L.length = P) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - me = E === N - } else me = !0 - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (f.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (f.errors = L), - 0 === N - ) - } - function u( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (u.errors = [{ params: { type: 'object' } }]), !1 - { - let E - if (void 0 === k.type && (E = 'type')) - return (u.errors = [{ params: { missingProperty: E } }]), !1 - { - const E = N - for (const v in k) - if ( - 'amdContainer' !== v && - 'auxiliaryComment' !== v && - 'export' !== v && - 'name' !== v && - 'type' !== v && - 'umdNamedDefine' !== v - ) - return ( - (u.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (E === N) { - if (void 0 !== k.amdContainer) { - let v = k.amdContainer - const E = N - if (N == N) { - if ('string' != typeof v) - return (u.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (u.errors = [{ params: {} }]), !1 - } - var q = E === N - } else q = !0 - if (q) { - if (void 0 !== k.auxiliaryComment) { - const E = N - p(k.auxiliaryComment, { - instancePath: v + '/auxiliaryComment', - parentData: k, - parentDataProperty: 'auxiliaryComment', - rootData: R, - }) || - ((L = null === L ? p.errors : L.concat(p.errors)), - (N = L.length)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k.export) { - let v = k.export - const E = N, - P = N - let R = !1 - const le = N - if (N === le) - if (Array.isArray(v)) { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = N - if (N === P) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var ae = le === N - if (((R = R || ae), !R)) { - const k = N - if (N === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ae = k === N), (R = R || ae) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (u.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k.name) { - const E = N - f(k.name, { - instancePath: v + '/name', - parentData: k, - parentDataProperty: 'name', - rootData: R, - }) || - ((L = null === L ? f.errors : L.concat(f.errors)), - (N = L.length)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k.type) { - let v = k.type - const E = N, - P = N - let R = !1 - const ae = N - if ( - 'var' !== v && - 'module' !== v && - 'assign' !== v && - 'assign-properties' !== v && - 'this' !== v && - 'window' !== v && - 'self' !== v && - 'global' !== v && - 'commonjs' !== v && - 'commonjs2' !== v && - 'commonjs-module' !== v && - 'commonjs-static' !== v && - 'amd' !== v && - 'amd-require' !== v && - 'umd' !== v && - 'umd2' !== v && - 'jsonp' !== v && - 'system' !== v - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var le = ae === N - if (((R = R || le), !R)) { - const k = N - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(le = k === N), (R = R || le) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (u.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (q = E === N) - } else q = !0 - if (q) - if (void 0 !== k.umdNamedDefine) { - const v = N - if ('boolean' != typeof k.umdNamedDefine) - return ( - (u.errors = [{ params: { type: 'boolean' } }]), - !1 - ) - q = v === N - } else q = !0 - } - } - } - } - } - } - } - } - return (u.errors = L), 0 === N - } - function c( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if ('auto' !== k) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const v = N, - E = N - let P = !1 - const R = N - if ('string' != typeof k) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = R === N - if (((P = P || me), !P)) { - const v = N - if (!(k instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = v === N), (P = P || me) - } - if (P) (N = E), null !== L && (E ? (L.length = E) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (c.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (c.errors = L), - 0 === N - ) - } - function y( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (!1 !== k) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const v = N, - E = N - let P = !1 - const R = N - if ('fetch-streaming' !== k && 'fetch' !== k && 'async-node' !== k) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = R === N - if (((P = P || me), !P)) { - const v = N - if ('string' != typeof k) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = v === N), (P = P || me) - } - if (P) (N = E), null !== L && (E ? (L.length = E) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (y.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (y.errors = L), - 0 === N - ) - } - function m( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: R, - rootData: N = k, - } = {} - ) { - let q = null, - ae = 0 - if (0 === ae) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (m.errors = [{ params: { type: 'object' } }]), !1 - { - let E - if (void 0 === k.import && (E = 'import')) - return (m.errors = [{ params: { missingProperty: E } }]), !1 - { - const E = ae - for (const v in k) - if (!P.call(L.properties, v)) - return ( - (m.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (E === ae) { - if (void 0 !== k.asyncChunks) { - const v = ae - if ('boolean' != typeof k.asyncChunks) - return (m.errors = [{ params: { type: 'boolean' } }]), !1 - var le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.baseUri) { - const v = ae - if ('string' != typeof k.baseUri) - return (m.errors = [{ params: { type: 'string' } }]), !1 - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunkLoading) { - const E = ae - a(k.chunkLoading, { - instancePath: v + '/chunkLoading', - parentData: k, - parentDataProperty: 'chunkLoading', - rootData: N, - }) || - ((q = null === q ? a.errors : q.concat(a.errors)), - (ae = q.length)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.dependOn) { - let v = k.dependOn - const E = ae, - P = ae - let R = !1 - const L = ae - if (ae === L) - if (Array.isArray(v)) - if (v.length < 1) { - const k = { params: { limit: 1 } } - null === q ? (q = [k]) : q.push(k), ae++ - } else { - var pe = !0 - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = ae - if (ae === P) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (!(pe = P === ae)) break - } - if (pe) { - let k, - E = v.length - if (E > 1) { - const P = {} - for (; E--; ) { - let R = v[E] - if ('string' == typeof R) { - if ('number' == typeof P[R]) { - k = P[R] - const v = { params: { i: E, j: k } } - null === q ? (q = [v]) : q.push(v), ae++ - break - } - P[R] = E - } - } - } - } - } - else { - const k = { params: { type: 'array' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var me = L === ae - if (((R = R || me), !R)) { - const k = ae - if (ae === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(me = k === ae), (R = R || me) - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (m.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.filename) { - const E = ae - l(k.filename, { - instancePath: v + '/filename', - parentData: k, - parentDataProperty: 'filename', - rootData: N, - }) || - ((q = null === q ? l.errors : q.concat(l.errors)), - (ae = q.length)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.import) { - let v = k.import - const E = ae, - P = ae - let R = !1 - const L = ae - if (ae === L) - if (Array.isArray(v)) - if (v.length < 1) { - const k = { params: { limit: 1 } } - null === q ? (q = [k]) : q.push(k), ae++ - } else { - var ye = !0 - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = ae - if (ae === P) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), - ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (!(ye = P === ae)) break - } - if (ye) { - let k, - E = v.length - if (E > 1) { - const P = {} - for (; E--; ) { - let R = v[E] - if ('string' == typeof R) { - if ('number' == typeof P[R]) { - k = P[R] - const v = { params: { i: E, j: k } } - null === q ? (q = [v]) : q.push(v), - ae++ - break - } - P[R] = E - } - } - } - } - } - else { - const k = { params: { type: 'array' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var _e = L === ae - if (((R = R || _e), !R)) { - const k = ae - if (ae === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(_e = k === ae), (R = R || _e) - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (m.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.layer) { - let v = k.layer - const E = ae, - P = ae - let R = !1 - const L = ae - if (null !== v) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var Ie = L === ae - if (((R = R || Ie), !R)) { - const k = ae - if (ae === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(Ie = k === ae), (R = R || Ie) - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (m.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.library) { - const E = ae - u(k.library, { - instancePath: v + '/library', - parentData: k, - parentDataProperty: 'library', - rootData: N, - }) || - ((q = - null === q ? u.errors : q.concat(u.errors)), - (ae = q.length)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.publicPath) { - const E = ae - c(k.publicPath, { - instancePath: v + '/publicPath', - parentData: k, - parentDataProperty: 'publicPath', - rootData: N, - }) || - ((q = - null === q - ? c.errors - : q.concat(c.errors)), - (ae = q.length)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.runtime) { - let v = k.runtime - const E = ae, - P = ae - let R = !1 - const L = ae - if (!1 !== v) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var Me = L === ae - if (((R = R || Me), !R)) { - const k = ae - if (ae === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'string' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - ;(Me = k === ae), (R = R || Me) - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (m.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) - if (void 0 !== k.wasmLoading) { - const E = ae - y(k.wasmLoading, { - instancePath: v + '/wasmLoading', - parentData: k, - parentDataProperty: 'wasmLoading', - rootData: N, - }) || - ((q = - null === q - ? y.errors - : q.concat(y.errors)), - (ae = q.length)), - (le = E === ae) - } else le = !0 - } - } - } - } - } - } - } - } - } - } - } - } - } - return (m.errors = q), 0 === ae - } - function d( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (d.errors = [{ params: { type: 'object' } }]), !1 - for (const E in k) { - let P = k[E] - const pe = N, - me = N - let ye = !1 - const _e = N, - Ie = N - let Me = !1 - const Te = N - if (N === Te) - if (Array.isArray(P)) - if (P.length < 1) { - const k = { params: { limit: 1 } } - null === L ? (L = [k]) : L.push(k), N++ - } else { - var q = !0 - const k = P.length - for (let v = 0; v < k; v++) { - let k = P[v] - const E = N - if (N === E) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (!(q = E === N)) break - } - if (q) { - let k, - v = P.length - if (v > 1) { - const E = {} - for (; v--; ) { - let R = P[v] - if ('string' == typeof R) { - if ('number' == typeof E[R]) { - k = E[R] - const P = { params: { i: v, j: k } } - null === L ? (L = [P]) : L.push(P), N++ - break - } - E[R] = v - } - } - } - } - } - else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var ae = Te === N - if (((Me = Me || ae), !Me)) { - const k = N - if (N === k) - if ('string' == typeof P) { - if (P.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ae = k === N), (Me = Me || ae) - } - if (Me) (N = Ie), null !== L && (Ie ? (L.length = Ie) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var le = _e === N - if (((ye = ye || le), !ye)) { - const q = N - m(P, { - instancePath: - v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: k, - parentDataProperty: E, - rootData: R, - }) || - ((L = null === L ? m.errors : L.concat(m.errors)), - (N = L.length)), - (le = q === N), - (ye = ye || le) - } - if (!ye) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (d.errors = L), !1 - } - if ( - ((N = me), - null !== L && (me ? (L.length = me) : (L = null)), - pe !== N) - ) - break - } - } - return (d.errors = L), 0 === N - } - function h( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1, - le = null - const pe = N, - me = N - let ye = !1 - const _e = N - if (N === _e) - if (Array.isArray(k)) - if (k.length < 1) { - const k = { params: { limit: 1 } } - null === L ? (L = [k]) : L.push(k), N++ - } else { - var Ie = !0 - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = N - if (N === P) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (!(Ie = P === N)) break - } - if (Ie) { - let v, - E = k.length - if (E > 1) { - const P = {} - for (; E--; ) { - let R = k[E] - if ('string' == typeof R) { - if ('number' == typeof P[R]) { - v = P[R] - const k = { params: { i: E, j: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - P[R] = E - } - } - } - } - } - else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var Me = _e === N - if (((ye = ye || Me), !ye)) { - const v = N - if (N === v) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(Me = v === N), (ye = ye || Me) - } - if (ye) (N = me), null !== L && (me ? (L.length = me) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if ((pe === N && ((ae = !0), (le = 0)), !ae)) { - const k = { params: { passingSchemas: le } } - return null === L ? (L = [k]) : L.push(k), N++, (h.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (h.errors = L), - 0 === N - ) - } - function g( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - d(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || ((L = null === L ? d.errors : L.concat(d.errors)), (N = L.length)) - var pe = le === N - if (((ae = ae || pe), !ae)) { - const q = N - h(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? h.errors : L.concat(h.errors)), (N = L.length)), - (pe = q === N), - (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (g.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (g.errors = L), - 0 === N - ) - } - function b( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (!(k instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const q = N - g(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? g.errors : L.concat(g.errors)), (N = L.length)), - (pe = q === N), - (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (b.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (b.errors = L), - 0 === N - ) - } - const N = { - type: 'object', - additionalProperties: !1, - properties: { - asyncWebAssembly: { type: 'boolean' }, - backCompat: { type: 'boolean' }, - buildHttp: { - anyOf: [ - { $ref: '#/definitions/HttpUriAllowedUris' }, - { $ref: '#/definitions/HttpUriOptions' }, - ], - }, - cacheUnaffected: { type: 'boolean' }, - css: { - anyOf: [ - { type: 'boolean' }, - { $ref: '#/definitions/CssExperimentOptions' }, - ], - }, - futureDefaults: { type: 'boolean' }, - layers: { type: 'boolean' }, - lazyCompilation: { - anyOf: [ - { type: 'boolean' }, - { $ref: '#/definitions/LazyCompilationOptions' }, - ], - }, - outputModule: { type: 'boolean' }, - syncWebAssembly: { type: 'boolean' }, - topLevelAwait: { type: 'boolean' }, - }, - }, - q = new RegExp('^https?://', 'u') - function D( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const ae = N - let le = !1, - pe = null - const me = N - if (N == N) - if (Array.isArray(k)) { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = N, - R = N - let ae = !1 - const le = N - if (!(v instanceof RegExp)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var ye = le === N - if (((ae = ae || ye), !ae)) { - const k = N - if (N === k) - if ('string' == typeof v) { - if (!q.test(v)) { - const k = { params: { pattern: '^https?://' } } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((ye = k === N), (ae = ae || ye), !ae)) { - const k = N - if (!(v instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ye = k === N), (ae = ae || ye) - } - } - if (ae) (N = R), null !== L && (R ? (L.length = R) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if ((me === N && ((le = !0), (pe = 0)), !le)) { - const k = { params: { passingSchemas: pe } } - return null === L ? (L = [k]) : L.push(k), N++, (D.errors = L), !1 - } - return ( - (N = ae), - null !== L && (ae ? (L.length = ae) : (L = null)), - (D.errors = L), - 0 === N - ) - } - function O( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - ae = 0 - if (0 === ae) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (O.errors = [{ params: { type: 'object' } }]), !1 - { - let E - if (void 0 === k.allowedUris && (E = 'allowedUris')) - return (O.errors = [{ params: { missingProperty: E } }]), !1 - { - const E = ae - for (const v in k) - if ( - 'allowedUris' !== v && - 'cacheLocation' !== v && - 'frozen' !== v && - 'lockfileLocation' !== v && - 'proxy' !== v && - 'upgrade' !== v - ) - return ( - (O.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (E === ae) { - if (void 0 !== k.allowedUris) { - let v = k.allowedUris - const E = ae - if (ae == ae) { - if (!Array.isArray(v)) - return (O.errors = [{ params: { type: 'array' } }]), !1 - { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = ae, - R = ae - let L = !1 - const pe = ae - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), ae++ - } - var le = pe === ae - if (((L = L || le), !L)) { - const v = ae - if (ae === v) - if ('string' == typeof k) { - if (!q.test(k)) { - const k = { params: { pattern: '^https?://' } } - null === N ? (N = [k]) : N.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), ae++ - } - if (((le = v === ae), (L = L || le), !L)) { - const v = ae - if (!(k instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), ae++ - } - ;(le = v === ae), (L = L || le) - } - } - if (!L) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - ae++, - (O.errors = N), - !1 - ) - } - if ( - ((ae = R), - null !== N && (R ? (N.length = R) : (N = null)), - P !== ae) - ) - break - } - } - } - var pe = E === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.cacheLocation) { - let E = k.cacheLocation - const P = ae, - R = ae - let L = !1 - const q = ae - if (!1 !== E) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), ae++ - } - var me = q === ae - if (((L = L || me), !L)) { - const k = ae - if (ae === k) - if ('string' == typeof E) { - if (E.includes('!') || !0 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), ae++ - } - ;(me = k === ae), (L = L || me) - } - if (!L) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - ae++, - (O.errors = N), - !1 - ) - } - ;(ae = R), - null !== N && (R ? (N.length = R) : (N = null)), - (pe = P === ae) - } else pe = !0 - if (pe) { - if (void 0 !== k.frozen) { - const v = ae - if ('boolean' != typeof k.frozen) - return ( - (O.errors = [{ params: { type: 'boolean' } }]), !1 - ) - pe = v === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.lockfileLocation) { - let E = k.lockfileLocation - const P = ae - if (ae === P) { - if ('string' != typeof E) - return ( - (O.errors = [{ params: { type: 'string' } }]), !1 - ) - if (E.includes('!') || !0 !== v.test(E)) - return (O.errors = [{ params: {} }]), !1 - } - pe = P === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.proxy) { - const v = ae - if ('string' != typeof k.proxy) - return ( - (O.errors = [{ params: { type: 'string' } }]), !1 - ) - pe = v === ae - } else pe = !0 - if (pe) - if (void 0 !== k.upgrade) { - const v = ae - if ('boolean' != typeof k.upgrade) - return ( - (O.errors = [{ params: { type: 'boolean' } }]), - !1 - ) - pe = v === ae - } else pe = !0 - } - } - } - } - } - } - } - } - return (O.errors = N), 0 === ae - } - function x( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (x.errors = [{ params: { type: 'object' } }]), !1 - { - const v = N - for (const v in k) - if ( - 'backend' !== v && - 'entries' !== v && - 'imports' !== v && - 'test' !== v - ) - return (x.errors = [{ params: { additionalProperty: v } }]), !1 - if (v === N) { - if (void 0 !== k.backend) { - let v = k.backend - const E = N, - P = N - let R = !1 - const _e = N - if (!(v instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = _e === N - if (((R = R || q), !R)) { - const k = N - if (N == N) - if (v && 'object' == typeof v && !Array.isArray(v)) { - const k = N - for (const k in v) - if ( - 'client' !== k && - 'listen' !== k && - 'protocol' !== k && - 'server' !== k - ) { - const v = { params: { additionalProperty: k } } - null === L ? (L = [v]) : L.push(v), N++ - break - } - if (k === N) { - if (void 0 !== v.client) { - const k = N - if ('string' != typeof v.client) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var ae = k === N - } else ae = !0 - if (ae) { - if (void 0 !== v.listen) { - let k = v.listen - const E = N, - P = N - let R = !1 - const q = N - if ('number' != typeof k) { - const k = { params: { type: 'number' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var le = q === N - if (((R = R || le), !R)) { - const v = N - if (N === v) - if ( - k && - 'object' == typeof k && - !Array.isArray(k) - ) { - if (void 0 !== k.host) { - const v = N - if ('string' != typeof k.host) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = v === N - } else pe = !0 - if (pe) - if (void 0 !== k.port) { - const v = N - if ('number' != typeof k.port) { - const k = { params: { type: 'number' } } - null === L ? (L = [k]) : L.push(k), N++ - } - pe = v === N - } else pe = !0 - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((le = v === N), (R = R || le), !R)) { - const v = N - if (!(k instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(le = v === N), (R = R || le) - } - } - if (R) - (N = P), - null !== L && (P ? (L.length = P) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ae = E === N - } else ae = !0 - if (ae) { - if (void 0 !== v.protocol) { - let k = v.protocol - const E = N - if ('http' !== k && 'https' !== k) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ae = E === N - } else ae = !0 - if (ae) - if (void 0 !== v.server) { - let k = v.server - const E = N, - P = N - let R = !1 - const q = N - if (N === q) - if ( - k && - 'object' == typeof k && - !Array.isArray(k) - ); - else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = q === N - if (((R = R || me), !R)) { - const v = N - if (!(k instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = v === N), (R = R || me) - } - if (R) - (N = P), - null !== L && - (P ? (L.length = P) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ae = E === N - } else ae = !0 - } - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(q = k === N), (R = R || q) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), N++, (x.errors = L), !1 - ) - } - ;(N = P), null !== L && (P ? (L.length = P) : (L = null)) - var ye = E === N - } else ye = !0 - if (ye) { - if (void 0 !== k.entries) { - const v = N - if ('boolean' != typeof k.entries) - return (x.errors = [{ params: { type: 'boolean' } }]), !1 - ye = v === N - } else ye = !0 - if (ye) { - if (void 0 !== k.imports) { - const v = N - if ('boolean' != typeof k.imports) - return (x.errors = [{ params: { type: 'boolean' } }]), !1 - ye = v === N - } else ye = !0 - if (ye) - if (void 0 !== k.test) { - let v = k.test - const E = N, - P = N - let R = !1 - const q = N - if (!(v instanceof RegExp)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var _e = q === N - if (((R = R || _e), !R)) { - const k = N - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((_e = k === N), (R = R || _e), !R)) { - const k = N - if (!(v instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(_e = k === N), (R = R || _e) - } - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (x.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (ye = E === N) - } else ye = !0 - } - } - } - } - } - return (x.errors = L), 0 === N - } - function A( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let q = null, - ae = 0 - if (0 === ae) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (A.errors = [{ params: { type: 'object' } }]), !1 - { - const E = ae - for (const v in k) - if (!P.call(N.properties, v)) - return (A.errors = [{ params: { additionalProperty: v } }]), !1 - if (E === ae) { - if (void 0 !== k.asyncWebAssembly) { - const v = ae - if ('boolean' != typeof k.asyncWebAssembly) - return (A.errors = [{ params: { type: 'boolean' } }]), !1 - var le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.backCompat) { - const v = ae - if ('boolean' != typeof k.backCompat) - return (A.errors = [{ params: { type: 'boolean' } }]), !1 - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.buildHttp) { - let E = k.buildHttp - const P = ae, - R = ae - let N = !1 - const me = ae - D(E, { - instancePath: v + '/buildHttp', - parentData: k, - parentDataProperty: 'buildHttp', - rootData: L, - }) || - ((q = null === q ? D.errors : q.concat(D.errors)), - (ae = q.length)) - var pe = me === ae - if (((N = N || pe), !N)) { - const P = ae - O(E, { - instancePath: v + '/buildHttp', - parentData: k, - parentDataProperty: 'buildHttp', - rootData: L, - }) || - ((q = null === q ? O.errors : q.concat(O.errors)), - (ae = q.length)), - (pe = P === ae), - (N = N || pe) - } - if (!N) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (A.errors = q), - !1 - ) - } - ;(ae = R), - null !== q && (R ? (q.length = R) : (q = null)), - (le = P === ae) - } else le = !0 - if (le) { - if (void 0 !== k.cacheUnaffected) { - const v = ae - if ('boolean' != typeof k.cacheUnaffected) - return ( - (A.errors = [{ params: { type: 'boolean' } }]), !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.css) { - let v = k.css - const E = ae, - P = ae - let R = !1 - const L = ae - if ('boolean' != typeof v) { - const k = { params: { type: 'boolean' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var me = L === ae - if (((R = R || me), !R)) { - const k = ae - if (ae == ae) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) { - const k = ae - for (const k in v) - if ('exportsOnly' !== k) { - const v = { - params: { additionalProperty: k }, - } - null === q ? (q = [v]) : q.push(v), ae++ - break - } - if ( - k === ae && - void 0 !== v.exportsOnly && - 'boolean' != typeof v.exportsOnly - ) { - const k = { params: { type: 'boolean' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'object' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(me = k === ae), (R = R || me) - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (A.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.futureDefaults) { - const v = ae - if ('boolean' != typeof k.futureDefaults) - return ( - (A.errors = [{ params: { type: 'boolean' } }]), !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.layers) { - const v = ae - if ('boolean' != typeof k.layers) - return ( - (A.errors = [{ params: { type: 'boolean' } }]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.lazyCompilation) { - let E = k.lazyCompilation - const P = ae, - R = ae - let N = !1 - const pe = ae - if ('boolean' != typeof E) { - const k = { params: { type: 'boolean' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var ye = pe === ae - if (((N = N || ye), !N)) { - const P = ae - x(E, { - instancePath: v + '/lazyCompilation', - parentData: k, - parentDataProperty: 'lazyCompilation', - rootData: L, - }) || - ((q = - null === q ? x.errors : q.concat(x.errors)), - (ae = q.length)), - (ye = P === ae), - (N = N || ye) - } - if (!N) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (A.errors = q), - !1 - ) - } - ;(ae = R), - null !== q && (R ? (q.length = R) : (q = null)), - (le = P === ae) - } else le = !0 - if (le) { - if (void 0 !== k.outputModule) { - const v = ae - if ('boolean' != typeof k.outputModule) - return ( - (A.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.syncWebAssembly) { - const v = ae - if ('boolean' != typeof k.syncWebAssembly) - return ( - (A.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) - if (void 0 !== k.topLevelAwait) { - const v = ae - if ('boolean' != typeof k.topLevelAwait) - return ( - (A.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - } - } - } - } - } - } - } - } - } - } - } - } - return (A.errors = q), 0 === ae - } - function C( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) { - const v = k.length - for (let E = 0; E < v; E++) { - const v = N - if ('string' != typeof k[E]) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (v !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const v = N - if ('string' != typeof k) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (C.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (C.errors = L), - 0 === N - ) - } - const ae = { validate: $ } - function $( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let le = !1 - const pe = N - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = pe === N - if (((le = le || me), !le)) { - const E = N - if ('string' != typeof k) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((me = E === N), (le = le || me), !le)) { - const E = N - if (N === E) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const E = N - for (const v in k) - if ('byLayer' !== v) { - let E = k[v] - const P = N, - R = N - let q = !1 - const ae = N - if (N === ae) - if (Array.isArray(E)) { - const k = E.length - for (let v = 0; v < k; v++) { - let k = E[v] - const P = N - if (N === P) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var ye = ae === N - if (((q = q || ye), !q)) { - const k = N - if ('boolean' != typeof E) { - const k = { params: { type: 'boolean' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((ye = k === N), (q = q || ye), !q)) { - const k = N - if ('string' != typeof E) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((ye = k === N), (q = q || ye), !q)) { - const k = N - if (!E || 'object' != typeof E || Array.isArray(E)) { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ye = k === N), (q = q || ye) - } - } - } - if (q) - (N = R), null !== L && (R ? (L.length = R) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - if (E === N && void 0 !== k.byLayer) { - let E = k.byLayer - const P = N - let q = !1 - const le = N - if (N === le) - if (E && 'object' == typeof E && !Array.isArray(E)) - for (const k in E) { - const P = N - if ( - (ae.validate(E[k], { - instancePath: - v + - '/byLayer/' + - k.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: E, - parentDataProperty: k, - rootData: R, - }) || - ((L = - null === L - ? ae.validate.errors - : L.concat(ae.validate.errors)), - (N = L.length)), - P !== N) - ) - break - } - else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var _e = le === N - if (((q = q || _e), !q)) { - const k = N - if (!(E instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(_e = k === N), (q = q || _e) - } - if (q) - (N = P), null !== L && (P ? (L.length = P) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((me = E === N), (le = le || me), !le)) { - const v = N - if (!(k instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = v === N), (le = le || me) - } - } - } - if (!le) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, ($.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - ($.errors = L), - 0 === N - ) - } - function S( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) { - const E = k.length - for (let P = 0; P < E; P++) { - const E = N - if ( - ($(k[P], { - instancePath: v + '/' + P, - parentData: k, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? $.errors : L.concat($.errors)), - (N = L.length)), - E !== N) - ) - break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const q = N - $(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? $.errors : L.concat($.errors)), (N = L.length)), - (pe = q === N), - (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (S.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (S.errors = L), - 0 === N - ) - } - function j( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - const ae = q - let le = !1 - const pe = q - if (q === pe) - if (Array.isArray(k)) { - const E = k.length - for (let P = 0; P < E; P++) { - let E = k[P] - const R = q, - L = q - let ae = !1, - le = null - const pe = q, - ye = q - let _e = !1 - const Ie = q - if (!(E instanceof RegExp)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - var me = Ie === q - if (((_e = _e || me), !_e)) { - const k = q - if (q === k) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (((me = k === q), (_e = _e || me), !_e)) { - const k = q - if (!(E instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(me = k === q), (_e = _e || me) - } - } - if (_e) - (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - if ((pe === q && ((ae = !0), (le = 0)), ae)) - (q = L), null !== N && (L ? (N.length = L) : (N = null)) - else { - const k = { params: { passingSchemas: le } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (R !== q) break - } - } else { - const k = { params: { type: 'array' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var ye = pe === q - if (((le = le || ye), !le)) { - const E = q, - P = q - let R = !1 - const L = q - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - var _e = L === q - if (((R = R || _e), !R)) { - const E = q - if (q === E) - if ('string' == typeof k) { - if (k.includes('!') || !1 !== v.test(k)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (((_e = E === q), (R = R || _e), !R)) { - const v = q - if (!(k instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(_e = v === q), (R = R || _e) - } - } - if (R) (q = P), null !== N && (P ? (N.length = P) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(ye = E === q), (le = le || ye) - } - if (!le) { - const k = { params: {} } - return null === N ? (N = [k]) : N.push(k), q++, (j.errors = N), !1 - } - return ( - (q = ae), - null !== N && (ae ? (N.length = ae) : (N = null)), - (j.errors = N), - 0 === q - ) - } - function F( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (F.errors = [{ params: { type: 'object' } }]), !1 - { - const E = N - for (const v in k) - if ( - 'appendOnly' !== v && - 'colors' !== v && - 'console' !== v && - 'debug' !== v && - 'level' !== v && - 'stream' !== v - ) - return (F.errors = [{ params: { additionalProperty: v } }]), !1 - if (E === N) { - if (void 0 !== k.appendOnly) { - const v = N - if ('boolean' != typeof k.appendOnly) - return (F.errors = [{ params: { type: 'boolean' } }]), !1 - var q = v === N - } else q = !0 - if (q) { - if (void 0 !== k.colors) { - const v = N - if ('boolean' != typeof k.colors) - return (F.errors = [{ params: { type: 'boolean' } }]), !1 - q = v === N - } else q = !0 - if (q) { - if (void 0 !== k.debug) { - let E = k.debug - const P = N, - le = N - let pe = !1 - const me = N - if ('boolean' != typeof E) { - const k = { params: { type: 'boolean' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var ae = me === N - if (((pe = pe || ae), !pe)) { - const P = N - j(E, { - instancePath: v + '/debug', - parentData: k, - parentDataProperty: 'debug', - rootData: R, - }) || - ((L = null === L ? j.errors : L.concat(j.errors)), - (N = L.length)), - (ae = P === N), - (pe = pe || ae) - } - if (!pe) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (F.errors = L), - !1 - ) - } - ;(N = le), - null !== L && (le ? (L.length = le) : (L = null)), - (q = P === N) - } else q = !0 - if (q) - if (void 0 !== k.level) { - let v = k.level - const E = N - if ( - 'none' !== v && - 'error' !== v && - 'warn' !== v && - 'info' !== v && - 'log' !== v && - 'verbose' !== v - ) - return (F.errors = [{ params: {} }]), !1 - q = E === N - } else q = !0 - } - } - } - } - } - return (F.errors = L), 0 === N - } - const le = { - type: 'object', - additionalProperties: !1, - properties: { - defaultRules: { oneOf: [{ $ref: '#/definitions/RuleSetRules' }] }, - exprContextCritical: { type: 'boolean' }, - exprContextRecursive: { type: 'boolean' }, - exprContextRegExp: { - anyOf: [{ instanceof: 'RegExp' }, { type: 'boolean' }], - }, - exprContextRequest: { type: 'string' }, - generator: { $ref: '#/definitions/GeneratorOptionsByModuleType' }, - noParse: { $ref: '#/definitions/NoParse' }, - parser: { $ref: '#/definitions/ParserOptionsByModuleType' }, - rules: { oneOf: [{ $ref: '#/definitions/RuleSetRules' }] }, - strictExportPresence: { type: 'boolean' }, - strictThisContextOnImports: { type: 'boolean' }, - unknownContextCritical: { type: 'boolean' }, - unknownContextRecursive: { type: 'boolean' }, - unknownContextRegExp: { - anyOf: [{ instanceof: 'RegExp' }, { type: 'boolean' }], - }, - unknownContextRequest: { type: 'string' }, - unsafeCache: { - anyOf: [{ type: 'boolean' }, { instanceof: 'Function' }], - }, - wrappedContextCritical: { type: 'boolean' }, - wrappedContextRecursive: { type: 'boolean' }, - wrappedContextRegExp: { instanceof: 'RegExp' }, - }, - }, - pe = { - type: 'object', - additionalProperties: !1, - properties: { - assert: { - type: 'object', - additionalProperties: { - $ref: '#/definitions/RuleSetConditionOrConditions', - }, - }, - compiler: { - oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], - }, - dependency: { - oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], - }, - descriptionData: { - type: 'object', - additionalProperties: { - $ref: '#/definitions/RuleSetConditionOrConditions', - }, - }, - enforce: { enum: ['pre', 'post'] }, - exclude: { - oneOf: [ - { $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute' }, - ], - }, - generator: { type: 'object' }, - include: { - oneOf: [ - { $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute' }, - ], - }, - issuer: { - oneOf: [ - { $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute' }, - ], - }, - issuerLayer: { - oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], - }, - layer: { type: 'string' }, - loader: { oneOf: [{ $ref: '#/definitions/RuleSetLoader' }] }, - mimetype: { - oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], - }, - oneOf: { - type: 'array', - items: { oneOf: [{ $ref: '#/definitions/RuleSetRule' }] }, - }, - options: { - oneOf: [{ $ref: '#/definitions/RuleSetLoaderOptions' }], - }, - parser: { type: 'object', additionalProperties: !0 }, - realResource: { - oneOf: [ - { $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute' }, - ], - }, - resolve: { - type: 'object', - oneOf: [{ $ref: '#/definitions/ResolveOptions' }], - }, - resource: { - oneOf: [ - { $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute' }, - ], - }, - resourceFragment: { - oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], - }, - resourceQuery: { - oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], - }, - rules: { - type: 'array', - items: { oneOf: [{ $ref: '#/definitions/RuleSetRule' }] }, - }, - scheme: { - oneOf: [{ $ref: '#/definitions/RuleSetConditionOrConditions' }], - }, - sideEffects: { type: 'boolean' }, - test: { - oneOf: [ - { $ref: '#/definitions/RuleSetConditionOrConditionsAbsolute' }, - ], - }, - type: { type: 'string' }, - use: { oneOf: [{ $ref: '#/definitions/RuleSetUse' }] }, - }, - }, - me = { validate: w } - function z( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!Array.isArray(k)) - return (z.errors = [{ params: { type: 'array' } }]), !1 - { - const E = k.length - for (let P = 0; P < E; P++) { - const E = N, - q = N - let ae = !1, - le = null - const pe = N - if ( - (me.validate(k[P], { - instancePath: v + '/' + P, - parentData: k, - parentDataProperty: P, - rootData: R, - }) || - ((L = - null === L - ? me.validate.errors - : L.concat(me.validate.errors)), - (N = L.length)), - pe === N && ((ae = !0), (le = 0)), - !ae) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === L ? (L = [k]) : L.push(k), N++, (z.errors = L), !1 - ) - } - if ( - ((N = q), - null !== L && (q ? (L.length = q) : (L = null)), - E !== N) - ) - break - } - } - } - return (z.errors = L), 0 === N - } - function M( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (M.errors = [{ params: { type: 'object' } }]), !1 - { - const E = N - for (const v in k) - if ('and' !== v && 'not' !== v && 'or' !== v) - return (M.errors = [{ params: { additionalProperty: v } }]), !1 - if (E === N) { - if (void 0 !== k.and) { - const E = N, - P = N - let ae = !1, - le = null - const pe = N - if ( - (z(k.and, { - instancePath: v + '/and', - parentData: k, - parentDataProperty: 'and', - rootData: R, - }) || - ((L = null === L ? z.errors : L.concat(z.errors)), - (N = L.length)), - pe === N && ((ae = !0), (le = 0)), - !ae) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === L ? (L = [k]) : L.push(k), N++, (M.errors = L), !1 - ) - } - ;(N = P), null !== L && (P ? (L.length = P) : (L = null)) - var q = E === N - } else q = !0 - if (q) { - if (void 0 !== k.not) { - const E = N, - P = N - let ae = !1, - le = null - const pe = N - if ( - (me.validate(k.not, { - instancePath: v + '/not', - parentData: k, - parentDataProperty: 'not', - rootData: R, - }) || - ((L = - null === L - ? me.validate.errors - : L.concat(me.validate.errors)), - (N = L.length)), - pe === N && ((ae = !0), (le = 0)), - !ae) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (M.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (q = E === N) - } else q = !0 - if (q) - if (void 0 !== k.or) { - const E = N, - P = N - let ae = !1, - le = null - const pe = N - if ( - (z(k.or, { - instancePath: v + '/or', - parentData: k, - parentDataProperty: 'or', - rootData: R, - }) || - ((L = null === L ? z.errors : L.concat(z.errors)), - (N = L.length)), - pe === N && ((ae = !0), (le = 0)), - !ae) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (M.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (q = E === N) - } else q = !0 - } - } - } - } - return (M.errors = L), 0 === N - } - function w( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const q = N - if ('string' != typeof k) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((pe = q === N), (ae = ae || pe), !ae)) { - const q = N - if (!(k instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((pe = q === N), (ae = ae || pe), !ae)) { - const q = N - if ( - (M(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? M.errors : L.concat(M.errors)), - (N = L.length)), - (pe = q === N), - (ae = ae || pe), - !ae) - ) { - const q = N - z(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? z.errors : L.concat(z.errors)), - (N = L.length)), - (pe = q === N), - (ae = ae || pe) - } - } - } - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (w.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (w.errors = L), - 0 === N - ) - } - function T( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - w(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || ((L = null === L ? w.errors : L.concat(w.errors)), (N = L.length)) - var pe = le === N - if (((ae = ae || pe), !ae)) { - const q = N - z(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? z.errors : L.concat(z.errors)), (N = L.length)), - (pe = q === N), - (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (T.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (T.errors = L), - 0 === N - ) - } - const ye = { validate: W } - function I( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!Array.isArray(k)) - return (I.errors = [{ params: { type: 'array' } }]), !1 - { - const E = k.length - for (let P = 0; P < E; P++) { - const E = N, - q = N - let ae = !1, - le = null - const pe = N - if ( - (ye.validate(k[P], { - instancePath: v + '/' + P, - parentData: k, - parentDataProperty: P, - rootData: R, - }) || - ((L = - null === L - ? ye.validate.errors - : L.concat(ye.validate.errors)), - (N = L.length)), - pe === N && ((ae = !0), (le = 0)), - !ae) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === L ? (L = [k]) : L.push(k), N++, (I.errors = L), !1 - ) - } - if ( - ((N = q), - null !== L && (q ? (L.length = q) : (L = null)), - E !== N) - ) - break - } - } - } - return (I.errors = L), 0 === N - } - function U( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (U.errors = [{ params: { type: 'object' } }]), !1 - { - const E = N - for (const v in k) - if ('and' !== v && 'not' !== v && 'or' !== v) - return (U.errors = [{ params: { additionalProperty: v } }]), !1 - if (E === N) { - if (void 0 !== k.and) { - const E = N, - P = N - let ae = !1, - le = null - const pe = N - if ( - (I(k.and, { - instancePath: v + '/and', - parentData: k, - parentDataProperty: 'and', - rootData: R, - }) || - ((L = null === L ? I.errors : L.concat(I.errors)), - (N = L.length)), - pe === N && ((ae = !0), (le = 0)), - !ae) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === L ? (L = [k]) : L.push(k), N++, (U.errors = L), !1 - ) - } - ;(N = P), null !== L && (P ? (L.length = P) : (L = null)) - var q = E === N - } else q = !0 - if (q) { - if (void 0 !== k.not) { - const E = N, - P = N - let ae = !1, - le = null - const pe = N - if ( - (ye.validate(k.not, { - instancePath: v + '/not', - parentData: k, - parentDataProperty: 'not', - rootData: R, - }) || - ((L = - null === L - ? ye.validate.errors - : L.concat(ye.validate.errors)), - (N = L.length)), - pe === N && ((ae = !0), (le = 0)), - !ae) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (U.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (q = E === N) - } else q = !0 - if (q) - if (void 0 !== k.or) { - const E = N, - P = N - let ae = !1, - le = null - const pe = N - if ( - (I(k.or, { - instancePath: v + '/or', - parentData: k, - parentDataProperty: 'or', - rootData: R, - }) || - ((L = null === L ? I.errors : L.concat(I.errors)), - (N = L.length)), - pe === N && ((ae = !0), (le = 0)), - !ae) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (U.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (q = E === N) - } else q = !0 - } - } - } - } - return (U.errors = L), 0 === N - } - function W( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - const ae = q - let le = !1 - const pe = q - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - var me = pe === q - if (((le = le || me), !le)) { - const ae = q - if (q === ae) - if ('string' == typeof k) { - if (k.includes('!') || !0 !== v.test(k)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (((me = ae === q), (le = le || me), !le)) { - const v = q - if (!(k instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - if (((me = v === q), (le = le || me), !le)) { - const v = q - if ( - (U(k, { - instancePath: E, - parentData: P, - parentDataProperty: R, - rootData: L, - }) || - ((N = null === N ? U.errors : N.concat(U.errors)), - (q = N.length)), - (me = v === q), - (le = le || me), - !le) - ) { - const v = q - I(k, { - instancePath: E, - parentData: P, - parentDataProperty: R, - rootData: L, - }) || - ((N = null === N ? I.errors : N.concat(I.errors)), - (q = N.length)), - (me = v === q), - (le = le || me) - } - } - } - } - if (!le) { - const k = { params: {} } - return null === N ? (N = [k]) : N.push(k), q++, (W.errors = N), !1 - } - return ( - (q = ae), - null !== N && (ae ? (N.length = ae) : (N = null)), - (W.errors = N), - 0 === q - ) - } - function G( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - W(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || ((L = null === L ? W.errors : L.concat(W.errors)), (N = L.length)) - var pe = le === N - if (((ae = ae || pe), !ae)) { - const q = N - I(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? I.errors : L.concat(I.errors)), (N = L.length)), - (pe = q === N), - (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (G.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (G.errors = L), - 0 === N - ) - } - const _e = { - type: 'object', - additionalProperties: !1, - properties: { - alias: { $ref: '#/definitions/ResolveAlias' }, - aliasFields: { - type: 'array', - items: { - anyOf: [ - { type: 'array', items: { type: 'string', minLength: 1 } }, - { type: 'string', minLength: 1 }, - ], - }, - }, - byDependency: { - type: 'object', - additionalProperties: { - oneOf: [{ $ref: '#/definitions/ResolveOptions' }], - }, - }, - cache: { type: 'boolean' }, - cachePredicate: { instanceof: 'Function' }, - cacheWithContext: { type: 'boolean' }, - conditionNames: { type: 'array', items: { type: 'string' } }, - descriptionFiles: { - type: 'array', - items: { type: 'string', minLength: 1 }, - }, - enforceExtension: { type: 'boolean' }, - exportsFields: { type: 'array', items: { type: 'string' } }, - extensionAlias: { - type: 'object', - additionalProperties: { - anyOf: [ - { type: 'array', items: { type: 'string', minLength: 1 } }, - { type: 'string', minLength: 1 }, - ], - }, - }, - extensions: { type: 'array', items: { type: 'string' } }, - fallback: { oneOf: [{ $ref: '#/definitions/ResolveAlias' }] }, - fileSystem: {}, - fullySpecified: { type: 'boolean' }, - importsFields: { type: 'array', items: { type: 'string' } }, - mainFields: { - type: 'array', - items: { - anyOf: [ - { type: 'array', items: { type: 'string', minLength: 1 } }, - { type: 'string', minLength: 1 }, - ], - }, - }, - mainFiles: { - type: 'array', - items: { type: 'string', minLength: 1 }, - }, - modules: { type: 'array', items: { type: 'string', minLength: 1 } }, - plugins: { - type: 'array', - items: { - anyOf: [ - { enum: ['...'] }, - { $ref: '#/definitions/ResolvePluginInstance' }, - ], - }, - }, - preferAbsolute: { type: 'boolean' }, - preferRelative: { type: 'boolean' }, - resolver: {}, - restrictions: { - type: 'array', - items: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', absolutePath: !0, minLength: 1 }, - ], - }, - }, - roots: { type: 'array', items: { type: 'string' } }, - symlinks: { type: 'boolean' }, - unsafeCache: { - anyOf: [ - { type: 'boolean' }, - { type: 'object', additionalProperties: !0 }, - ], - }, - useSyncFileSystemCalls: { type: 'boolean' }, - }, - }, - Ie = { validate: H } - function H( - k, - { - instancePath: E = '', - parentData: R, - parentDataProperty: L, - rootData: N = k, - } = {} - ) { - let q = null, - ae = 0 - if (0 === ae) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (H.errors = [{ params: { type: 'object' } }]), !1 - { - const R = ae - for (const v in k) - if (!P.call(_e.properties, v)) - return (H.errors = [{ params: { additionalProperty: v } }]), !1 - if (R === ae) { - if (void 0 !== k.alias) { - let v = k.alias - const E = ae, - P = ae - let R = !1 - const L = ae - if (ae === L) - if (Array.isArray(v)) { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = ae - if (ae === P) - if (k && 'object' == typeof k && !Array.isArray(k)) { - let v - if ( - (void 0 === k.alias && (v = 'alias')) || - (void 0 === k.name && (v = 'name')) - ) { - const k = { params: { missingProperty: v } } - null === q ? (q = [k]) : q.push(k), ae++ - } else { - const v = ae - for (const v in k) - if ( - 'alias' !== v && - 'name' !== v && - 'onlyModule' !== v - ) { - const k = { params: { additionalProperty: v } } - null === q ? (q = [k]) : q.push(k), ae++ - break - } - if (v === ae) { - if (void 0 !== k.alias) { - let v = k.alias - const E = ae, - P = ae - let R = !1 - const L = ae - if (ae === L) - if (Array.isArray(v)) { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = ae - if (ae === P) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'string' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - if (P !== ae) break - } - } else { - const k = { params: { type: 'array' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var le = L === ae - if (((R = R || le), !R)) { - const k = ae - if (!1 !== v) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (((le = k === ae), (R = R || le), !R)) { - const k = ae - if (ae === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), - ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(le = k === ae), (R = R || le) - } - } - if (R) - (ae = P), - null !== q && - (P ? (q.length = P) : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var pe = E === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.name) { - const v = ae - if ('string' != typeof k.name) { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - pe = v === ae - } else pe = !0 - if (pe) - if (void 0 !== k.onlyModule) { - const v = ae - if ('boolean' != typeof k.onlyModule) { - const k = { params: { type: 'boolean' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - pe = v === ae - } else pe = !0 - } - } - } - } else { - const k = { params: { type: 'object' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (P !== ae) break - } - } else { - const k = { params: { type: 'array' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var me = L === ae - if (((R = R || me), !R)) { - const k = ae - if (ae === k) - if (v && 'object' == typeof v && !Array.isArray(v)) - for (const k in v) { - let E = v[k] - const P = ae, - R = ae - let L = !1 - const N = ae - if (ae === N) - if (Array.isArray(E)) { - const k = E.length - for (let v = 0; v < k; v++) { - let k = E[v] - const P = ae - if (ae === P) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (P !== ae) break - } - } else { - const k = { params: { type: 'array' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var ye = N === ae - if (((L = L || ye), !L)) { - const k = ae - if (!1 !== E) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (((ye = k === ae), (L = L || ye), !L)) { - const k = ae - if (ae === k) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(ye = k === ae), (L = L || ye) - } - } - if (L) - (ae = R), - null !== q && (R ? (q.length = R) : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (P !== ae) break - } - else { - const k = { params: { type: 'object' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(me = k === ae), (R = R || me) - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), ae++, (H.errors = q), !1 - ) - } - ;(ae = P), null !== q && (P ? (q.length = P) : (q = null)) - var Me = E === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.aliasFields) { - let v = k.aliasFields - const E = ae - if (ae === E) { - if (!Array.isArray(v)) - return (H.errors = [{ params: { type: 'array' } }]), !1 - { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = ae, - R = ae - let L = !1 - const N = ae - if (ae === N) - if (Array.isArray(k)) { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = ae - if (ae === P) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (P !== ae) break - } - } else { - const k = { params: { type: 'array' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var Te = N === ae - if (((L = L || Te), !L)) { - const v = ae - if (ae === v) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(Te = v === ae), (L = L || Te) - } - if (!L) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (H.errors = q), - !1 - ) - } - if ( - ((ae = R), - null !== q && (R ? (q.length = R) : (q = null)), - P !== ae) - ) - break - } - } - } - Me = E === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.byDependency) { - let v = k.byDependency - const P = ae - if (ae === P) { - if (!v || 'object' != typeof v || Array.isArray(v)) - return (H.errors = [{ params: { type: 'object' } }]), !1 - for (const k in v) { - const P = ae, - R = ae - let L = !1, - le = null - const pe = ae - if ( - (Ie.validate(v[k], { - instancePath: - E + - '/byDependency/' + - k.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: v, - parentDataProperty: k, - rootData: N, - }) || - ((q = - null === q - ? Ie.validate.errors - : q.concat(Ie.validate.errors)), - (ae = q.length)), - pe === ae && ((L = !0), (le = 0)), - !L) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (H.errors = q), - !1 - ) - } - if ( - ((ae = R), - null !== q && (R ? (q.length = R) : (q = null)), - P !== ae) - ) - break - } - } - Me = P === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.cache) { - const v = ae - if ('boolean' != typeof k.cache) - return ( - (H.errors = [{ params: { type: 'boolean' } }]), !1 - ) - Me = v === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.cachePredicate) { - const v = ae - if (!(k.cachePredicate instanceof Function)) - return (H.errors = [{ params: {} }]), !1 - Me = v === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.cacheWithContext) { - const v = ae - if ('boolean' != typeof k.cacheWithContext) - return ( - (H.errors = [{ params: { type: 'boolean' } }]), !1 - ) - Me = v === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.conditionNames) { - let v = k.conditionNames - const E = ae - if (ae === E) { - if (!Array.isArray(v)) - return ( - (H.errors = [{ params: { type: 'array' } }]), - !1 - ) - { - const k = v.length - for (let E = 0; E < k; E++) { - const k = ae - if ('string' != typeof v[E]) - return ( - (H.errors = [ - { params: { type: 'string' } }, - ]), - !1 - ) - if (k !== ae) break - } - } - } - Me = E === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.descriptionFiles) { - let v = k.descriptionFiles - const E = ae - if (ae === E) { - if (!Array.isArray(v)) - return ( - (H.errors = [ - { params: { type: 'array' } }, - ]), - !1 - ) - { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = ae - if (ae === P) { - if ('string' != typeof k) - return ( - (H.errors = [ - { params: { type: 'string' } }, - ]), - !1 - ) - if (k.length < 1) - return (H.errors = [{ params: {} }]), !1 - } - if (P !== ae) break - } - } - } - Me = E === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.enforceExtension) { - const v = ae - if ('boolean' != typeof k.enforceExtension) - return ( - (H.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - Me = v === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.exportsFields) { - let v = k.exportsFields - const E = ae - if (ae === E) { - if (!Array.isArray(v)) - return ( - (H.errors = [ - { params: { type: 'array' } }, - ]), - !1 - ) - { - const k = v.length - for (let E = 0; E < k; E++) { - const k = ae - if ('string' != typeof v[E]) - return ( - (H.errors = [ - { params: { type: 'string' } }, - ]), - !1 - ) - if (k !== ae) break - } - } - } - Me = E === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.extensionAlias) { - let v = k.extensionAlias - const E = ae - if (ae === E) { - if ( - !v || - 'object' != typeof v || - Array.isArray(v) - ) - return ( - (H.errors = [ - { params: { type: 'object' } }, - ]), - !1 - ) - for (const k in v) { - let E = v[k] - const P = ae, - R = ae - let L = !1 - const N = ae - if (ae === N) - if (Array.isArray(E)) { - const k = E.length - for (let v = 0; v < k; v++) { - let k = E[v] - const P = ae - if (ae === P) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'string' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (P !== ae) break - } - } else { - const k = { - params: { type: 'array' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - var je = N === ae - if (((L = L || je), !L)) { - const k = ae - if (ae === k) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'string' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(je = k === ae), (L = L || je) - } - if (!L) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (H.errors = q), - !1 - ) - } - if ( - ((ae = R), - null !== q && - (R ? (q.length = R) : (q = null)), - P !== ae) - ) - break - } - } - Me = E === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.extensions) { - let v = k.extensions - const E = ae - if (ae === E) { - if (!Array.isArray(v)) - return ( - (H.errors = [ - { params: { type: 'array' } }, - ]), - !1 - ) - { - const k = v.length - for (let E = 0; E < k; E++) { - const k = ae - if ('string' != typeof v[E]) - return ( - (H.errors = [ - { - params: { type: 'string' }, - }, - ]), - !1 - ) - if (k !== ae) break - } - } - } - Me = E === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.fallback) { - let v = k.fallback - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - le = ae - let pe = !1 - const me = ae - if (ae === me) - if (Array.isArray(v)) { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = ae - if (ae === P) - if ( - k && - 'object' == typeof k && - !Array.isArray(k) - ) { - let v - if ( - (void 0 === k.alias && - (v = 'alias')) || - (void 0 === k.name && - (v = 'name')) - ) { - const k = { - params: { - missingProperty: v, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } else { - const v = ae - for (const v in k) - if ( - 'alias' !== v && - 'name' !== v && - 'onlyModule' !== v - ) { - const k = { - params: { - additionalProperty: - v, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - break - } - if (v === ae) { - if (void 0 !== k.alias) { - let v = k.alias - const E = ae, - P = ae - let R = !1 - const L = ae - if (ae === L) - if ( - Array.isArray(v) - ) { - const k = v.length - for ( - let E = 0; - E < k; - E++ - ) { - let k = v[E] - const P = ae - if (ae === P) - if ( - 'string' == - typeof k - ) { - if ( - k.length < 1 - ) { - const k = { - params: - {}, - } - null === q - ? (q = [ - k, - ]) - : q.push( - k - ), - ae++ - } - } else { - const k = { - params: { - type: 'string', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (P !== ae) - break - } - } else { - const k = { - params: { - type: 'array', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Ne = L === ae - if ( - ((R = R || Ne), !R) - ) { - const k = ae - if (!1 !== v) { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if ( - ((Ne = k === ae), - (R = R || Ne), - !R) - ) { - const k = ae - if (ae === k) - if ( - 'string' == - typeof v - ) { - if ( - v.length < 1 - ) { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { - type: 'string', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Ne = k === ae), - (R = R || Ne) - } - } - if (R) - (ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)) - else { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Be = E === ae - } else Be = !0 - if (Be) { - if (void 0 !== k.name) { - const v = ae - if ( - 'string' != - typeof k.name - ) { - const k = { - params: { - type: 'string', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - Be = v === ae - } else Be = !0 - if (Be) - if ( - void 0 !== - k.onlyModule - ) { - const v = ae - if ( - 'boolean' != - typeof k.onlyModule - ) { - const k = { - params: { - type: 'boolean', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - Be = v === ae - } else Be = !0 - } - } - } - } else { - const k = { - params: { type: 'object' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (P !== ae) break - } - } else { - const k = { - params: { type: 'array' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - var qe = me === ae - if (((pe = pe || qe), !pe)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) - for (const k in v) { - let E = v[k] - const P = ae, - R = ae - let L = !1 - const N = ae - if (ae === N) - if (Array.isArray(E)) { - const k = E.length - for ( - let v = 0; - v < k; - v++ - ) { - let k = E[v] - const P = ae - if (ae === P) - if ( - 'string' == typeof k - ) { - if (k.length < 1) { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { - type: 'string', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (P !== ae) break - } - } else { - const k = { - params: { type: 'array' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Ue = N === ae - if (((L = L || Ue), !L)) { - const k = ae - if (!1 !== E) { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if ( - ((Ue = k === ae), - (L = L || Ue), - !L) - ) { - const k = ae - if (ae === k) - if ( - 'string' == typeof E - ) { - if (E.length < 1) { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { - type: 'string', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Ue = k === ae), - (L = L || Ue) - } - } - if (L) - (ae = R), - null !== q && - (R - ? (q.length = R) - : (q = null)) - else { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (P !== ae) break - } - else { - const k = { - params: { type: 'object' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(qe = k === ae), (pe = pe || qe) - } - if (pe) - (ae = le), - null !== q && - (le - ? (q.length = le) - : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), - ae++ - } - if ( - (N === ae && ((R = !0), (L = 0)), !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (H.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (Me = E === ae) - } else Me = !0 - if (Me) { - if (void 0 !== k.fullySpecified) { - const v = ae - if ( - 'boolean' != typeof k.fullySpecified - ) - return ( - (H.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - Me = v === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.importsFields) { - let v = k.importsFields - const E = ae - if (ae === E) { - if (!Array.isArray(v)) - return ( - (H.errors = [ - { - params: { type: 'array' }, - }, - ]), - !1 - ) - { - const k = v.length - for (let E = 0; E < k; E++) { - const k = ae - if ('string' != typeof v[E]) - return ( - (H.errors = [ - { - params: { - type: 'string', - }, - }, - ]), - !1 - ) - if (k !== ae) break - } - } - } - Me = E === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.mainFields) { - let v = k.mainFields - const E = ae - if (ae === E) { - if (!Array.isArray(v)) - return ( - (H.errors = [ - { - params: { - type: 'array', - }, - }, - ]), - !1 - ) - { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = ae, - R = ae - let L = !1 - const N = ae - if (ae === N) - if (Array.isArray(k)) { - const v = k.length - for ( - let E = 0; - E < v; - E++ - ) { - let v = k[E] - const P = ae - if (ae === P) - if ( - 'string' == - typeof v - ) { - if ( - v.length < 1 - ) { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { - type: 'string', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (P !== ae) break - } - } else { - const k = { - params: { - type: 'array', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Ge = N === ae - if (((L = L || Ge), !L)) { - const v = ae - if (ae === v) - if ( - 'string' == typeof k - ) { - if (k.length < 1) { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { - type: 'string', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Ge = v === ae), - (L = L || Ge) - } - if (!L) { - const k = { params: {} } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (H.errors = q), - !1 - ) - } - if ( - ((ae = R), - null !== q && - (R - ? (q.length = R) - : (q = null)), - P !== ae) - ) - break - } - } - } - Me = E === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.mainFiles) { - let v = k.mainFiles - const E = ae - if (ae === E) { - if (!Array.isArray(v)) - return ( - (H.errors = [ - { - params: { - type: 'array', - }, - }, - ]), - !1 - ) - { - const k = v.length - for ( - let E = 0; - E < k; - E++ - ) { - let k = v[E] - const P = ae - if (ae === P) { - if ( - 'string' != typeof k - ) - return ( - (H.errors = [ - { - params: { - type: 'string', - }, - }, - ]), - !1 - ) - if (k.length < 1) - return ( - (H.errors = [ - { params: {} }, - ]), - !1 - ) - } - if (P !== ae) break - } - } - } - Me = E === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.modules) { - let v = k.modules - const E = ae - if (ae === E) { - if (!Array.isArray(v)) - return ( - (H.errors = [ - { - params: { - type: 'array', - }, - }, - ]), - !1 - ) - { - const k = v.length - for ( - let E = 0; - E < k; - E++ - ) { - let k = v[E] - const P = ae - if (ae === P) { - if ( - 'string' != typeof k - ) - return ( - (H.errors = [ - { - params: { - type: 'string', - }, - }, - ]), - !1 - ) - if (k.length < 1) - return ( - (H.errors = [ - { params: {} }, - ]), - !1 - ) - } - if (P !== ae) break - } - } - } - Me = E === ae - } else Me = !0 - if (Me) { - if (void 0 !== k.plugins) { - let v = k.plugins - const E = ae - if (ae === E) { - if (!Array.isArray(v)) - return ( - (H.errors = [ - { - params: { - type: 'array', - }, - }, - ]), - !1 - ) - { - const k = v.length - for ( - let E = 0; - E < k; - E++ - ) { - let k = v[E] - const P = ae, - R = ae - let L = !1 - const N = ae - if ('...' !== k) { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var He = N === ae - if ( - ((L = L || He), !L) - ) { - const v = ae - if (ae == ae) - if ( - k && - 'object' == - typeof k && - !Array.isArray( - k - ) - ) { - let v - if ( - void 0 === - k.apply && - (v = 'apply') - ) { - const k = { - params: { - missingProperty: - v, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } else if ( - void 0 !== - k.apply && - !( - k.apply instanceof - Function - ) - ) { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { - type: 'object', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(He = v === ae), - (L = L || He) - } - if (!L) { - const k = { - params: {}, - } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (H.errors = q), - !1 - ) - } - if ( - ((ae = R), - null !== q && - (R - ? (q.length = R) - : (q = null)), - P !== ae) - ) - break - } - } - } - Me = E === ae - } else Me = !0 - if (Me) { - if ( - void 0 !== - k.preferAbsolute - ) { - const v = ae - if ( - 'boolean' != - typeof k.preferAbsolute - ) - return ( - (H.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - Me = v === ae - } else Me = !0 - if (Me) { - if ( - void 0 !== - k.preferRelative - ) { - const v = ae - if ( - 'boolean' != - typeof k.preferRelative - ) - return ( - (H.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - Me = v === ae - } else Me = !0 - if (Me) { - if ( - void 0 !== - k.restrictions - ) { - let E = k.restrictions - const P = ae - if (ae === P) { - if ( - !Array.isArray(E) - ) - return ( - (H.errors = [ - { - params: { - type: 'array', - }, - }, - ]), - !1 - ) - { - const k = E.length - for ( - let P = 0; - P < k; - P++ - ) { - let k = E[P] - const R = ae, - L = ae - let N = !1 - const le = ae - if ( - !( - k instanceof - RegExp - ) - ) { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var We = - le === ae - if ( - ((N = - N || We), - !N) - ) { - const E = ae - if (ae === E) - if ( - 'string' == - typeof k - ) { - if ( - k.includes( - '!' - ) || - !0 !== - v.test( - k - ) - ) { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } else if ( - k.length < - 1 - ) { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === q - ? (q = [ - k, - ]) - : q.push( - k - ), - ae++ - } - ;(We = - E === ae), - (N = - N || We) - } - if (!N) { - const k = { - params: {}, - } - return ( - null === q - ? (q = [ - k, - ]) - : q.push( - k - ), - ae++, - (H.errors = - q), - !1 - ) - } - if ( - ((ae = L), - null !== q && - (L - ? (q.length = - L) - : (q = - null)), - R !== ae) - ) - break - } - } - } - Me = P === ae - } else Me = !0 - if (Me) { - if ( - void 0 !== k.roots - ) { - let v = k.roots - const E = ae - if (ae === E) { - if ( - !Array.isArray( - v - ) - ) - return ( - (H.errors = [ - { - params: { - type: 'array', - }, - }, - ]), - !1 - ) - { - const k = - v.length - for ( - let E = 0; - E < k; - E++ - ) { - const k = ae - if ( - 'string' != - typeof v[E] - ) - return ( - (H.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - if (k !== ae) - break - } - } - } - Me = E === ae - } else Me = !0 - if (Me) { - if ( - void 0 !== - k.symlinks - ) { - const v = ae - if ( - 'boolean' != - typeof k.symlinks - ) - return ( - (H.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - Me = v === ae - } else Me = !0 - if (Me) { - if ( - void 0 !== - k.unsafeCache - ) { - let v = - k.unsafeCache - const E = ae, - P = ae - let R = !1 - const L = ae - if ( - 'boolean' != - typeof v - ) { - const k = { - params: { - type: 'boolean', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Qe = - L === ae - if ( - ((R = - R || Qe), - !R) - ) { - const k = ae - if (ae === k) - if ( - v && - 'object' == - typeof v && - !Array.isArray( - v - ) - ); - else { - const k = - { - params: - { - type: 'object', - }, - } - null === q - ? (q = [ - k, - ]) - : q.push( - k - ), - ae++ - } - ;(Qe = - k === ae), - (R = - R || Qe) - } - if (!R) { - const k = { - params: {}, - } - return ( - null === q - ? (q = [ - k, - ]) - : q.push( - k - ), - ae++, - (H.errors = - q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = - P) - : (q = - null)), - (Me = - E === ae) - } else Me = !0 - if (Me) - if ( - void 0 !== - k.useSyncFileSystemCalls - ) { - const v = ae - if ( - 'boolean' != - typeof k.useSyncFileSystemCalls - ) - return ( - (H.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Me = v === ae - } else Me = !0 - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return (H.errors = q), 0 === ae - } - function _( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const v = N - for (const v in k) - if ('ident' !== v && 'loader' !== v && 'options' !== v) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (v === N) { - if (void 0 !== k.ident) { - const v = N - if ('string' != typeof k.ident) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = v === N - } else pe = !0 - if (pe) { - if (void 0 !== k.loader) { - let v = k.loader - const E = N, - P = N - let R = !1, - q = null - const ae = N - if (N == N) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if ((ae === N && ((R = !0), (q = 0)), R)) - (N = P), null !== L && (P ? (L.length = P) : (L = null)) - else { - const k = { params: { passingSchemas: q } } - null === L ? (L = [k]) : L.push(k), N++ - } - pe = E === N - } else pe = !0 - if (pe) - if (void 0 !== k.options) { - let v = k.options - const E = N, - P = N - let R = !1, - q = null - const ae = N, - le = N - let ye = !1 - const _e = N - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = _e === N - if (((ye = ye || me), !ye)) { - const k = N - if (!v || 'object' != typeof v || Array.isArray(v)) { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = k === N), (ye = ye || me) - } - if (ye) - (N = le), - null !== L && (le ? (L.length = le) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if ((ae === N && ((R = !0), (q = 0)), R)) - (N = P), null !== L && (P ? (L.length = P) : (L = null)) - else { - const k = { params: { passingSchemas: q } } - null === L ? (L = [k]) : L.push(k), N++ - } - pe = E === N - } else pe = !0 - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var ye = le === N - if (((ae = ae || ye), !ae)) { - const v = N - if (!(k instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((ye = v === N), (ae = ae || ye), !ae)) { - const v = N - if (N == N) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ye = v === N), (ae = ae || ye) - } - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (_.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (_.errors = L), - 0 === N - ) - } - function J( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) { - const E = k.length - for (let P = 0; P < E; P++) { - const E = N, - q = N - let ae = !1, - le = null - const pe = N - if ( - (_(k[P], { - instancePath: v + '/' + P, - parentData: k, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? _.errors : L.concat(_.errors)), - (N = L.length)), - pe === N && ((ae = !0), (le = 0)), - ae) - ) - (N = q), null !== L && (q ? (L.length = q) : (L = null)) - else { - const k = { params: { passingSchemas: le } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (E !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const q = N - if (!(k instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((pe = q === N), (ae = ae || pe), !ae)) { - const q = N - _(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? _.errors : L.concat(_.errors)), - (N = L.length)), - (pe = q === N), - (ae = ae || pe) - } - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (J.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (J.errors = L), - 0 === N - ) - } - const Me = { validate: V } - function V( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - if (0 === q) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (V.errors = [{ params: { type: 'object' } }]), !1 - { - const E = q - for (const v in k) - if (!P.call(pe.properties, v)) - return (V.errors = [{ params: { additionalProperty: v } }]), !1 - if (E === q) { - if (void 0 !== k.assert) { - let E = k.assert - const P = q - if (q === P) { - if (!E || 'object' != typeof E || Array.isArray(E)) - return (V.errors = [{ params: { type: 'object' } }]), !1 - for (const k in E) { - const P = q - if ( - (T(E[k], { - instancePath: - v + - '/assert/' + - k.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: E, - parentDataProperty: k, - rootData: L, - }) || - ((N = null === N ? T.errors : N.concat(T.errors)), - (q = N.length)), - P !== q) - ) - break - } - } - var ae = P === q - } else ae = !0 - if (ae) { - if (void 0 !== k.compiler) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (T(k.compiler, { - instancePath: v + '/compiler', - parentData: k, - parentDataProperty: 'compiler', - rootData: L, - }) || - ((N = null === N ? T.errors : N.concat(T.errors)), - (q = N.length)), - pe === q && ((R = !0), (le = 0)), - !R) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.dependency) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (T(k.dependency, { - instancePath: v + '/dependency', - parentData: k, - parentDataProperty: 'dependency', - rootData: L, - }) || - ((N = null === N ? T.errors : N.concat(T.errors)), - (q = N.length)), - pe === q && ((R = !0), (le = 0)), - !R) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.descriptionData) { - let E = k.descriptionData - const P = q - if (q === P) { - if (!E || 'object' != typeof E || Array.isArray(E)) - return ( - (V.errors = [{ params: { type: 'object' } }]), !1 - ) - for (const k in E) { - const P = q - if ( - (T(E[k], { - instancePath: - v + - '/descriptionData/' + - k.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: E, - parentDataProperty: k, - rootData: L, - }) || - ((N = null === N ? T.errors : N.concat(T.errors)), - (q = N.length)), - P !== q) - ) - break - } - } - ae = P === q - } else ae = !0 - if (ae) { - if (void 0 !== k.enforce) { - let v = k.enforce - const E = q - if ('pre' !== v && 'post' !== v) - return (V.errors = [{ params: {} }]), !1 - ae = E === q - } else ae = !0 - if (ae) { - if (void 0 !== k.exclude) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (G(k.exclude, { - instancePath: v + '/exclude', - parentData: k, - parentDataProperty: 'exclude', - rootData: L, - }) || - ((N = null === N ? G.errors : N.concat(G.errors)), - (q = N.length)), - pe === q && ((R = !0), (le = 0)), - !R) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.generator) { - let v = k.generator - const E = q - if (!v || 'object' != typeof v || Array.isArray(v)) - return ( - (V.errors = [{ params: { type: 'object' } }]), - !1 - ) - ae = E === q - } else ae = !0 - if (ae) { - if (void 0 !== k.include) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (G(k.include, { - instancePath: v + '/include', - parentData: k, - parentDataProperty: 'include', - rootData: L, - }) || - ((N = - null === N ? G.errors : N.concat(G.errors)), - (q = N.length)), - pe === q && ((R = !0), (le = 0)), - !R) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.issuer) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (G(k.issuer, { - instancePath: v + '/issuer', - parentData: k, - parentDataProperty: 'issuer', - rootData: L, - }) || - ((N = - null === N - ? G.errors - : N.concat(G.errors)), - (q = N.length)), - pe === q && ((R = !0), (le = 0)), - !R) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.issuerLayer) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (T(k.issuerLayer, { - instancePath: v + '/issuerLayer', - parentData: k, - parentDataProperty: 'issuerLayer', - rootData: L, - }) || - ((N = - null === N - ? T.errors - : N.concat(T.errors)), - (q = N.length)), - pe === q && ((R = !0), (le = 0)), - !R) - ) { - const k = { params: { passingSchemas: le } } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.layer) { - const v = q - if ('string' != typeof k.layer) - return ( - (V.errors = [ - { params: { type: 'string' } }, - ]), - !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.loader) { - let v = k.loader - const E = q, - P = q - let R = !1, - L = null - const le = q - if (q == q) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), - q++ - } - } else { - const k = { - params: { type: 'string' }, - } - null === N ? (N = [k]) : N.push(k), - q++ - } - if ( - (le === q && ((R = !0), (L = 0)), !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.mimetype) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (T(k.mimetype, { - instancePath: v + '/mimetype', - parentData: k, - parentDataProperty: 'mimetype', - rootData: L, - }) || - ((N = - null === N - ? T.errors - : N.concat(T.errors)), - (q = N.length)), - pe === q && ((R = !0), (le = 0)), - !R) - ) { - const k = { - params: { passingSchemas: le }, - } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.oneOf) { - let E = k.oneOf - const P = q - if (q === P) { - if (!Array.isArray(E)) - return ( - (V.errors = [ - { params: { type: 'array' } }, - ]), - !1 - ) - { - const k = E.length - for (let P = 0; P < k; P++) { - const k = q, - R = q - let ae = !1, - le = null - const pe = q - if ( - (Me.validate(E[P], { - instancePath: - v + '/oneOf/' + P, - parentData: E, - parentDataProperty: P, - rootData: L, - }) || - ((N = - null === N - ? Me.validate.errors - : N.concat( - Me.validate.errors - )), - (q = N.length)), - pe === q && - ((ae = !0), (le = 0)), - !ae) - ) { - const k = { - params: { - passingSchemas: le, - }, - } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - if ( - ((q = R), - null !== N && - (R - ? (N.length = R) - : (N = null)), - k !== q) - ) - break - } - } - } - ae = P === q - } else ae = !0 - if (ae) { - if (void 0 !== k.options) { - let v = k.options - const E = q, - P = q - let R = !1, - L = null - const pe = q, - me = q - let ye = !1 - const _e = q - if ('string' != typeof v) { - const k = { - params: { type: 'string' }, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - var le = _e === q - if (((ye = ye || le), !ye)) { - const k = q - if ( - !v || - 'object' != typeof v || - Array.isArray(v) - ) { - const k = { - params: { type: 'object' }, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - ;(le = k === q), (ye = ye || le) - } - if (ye) - (q = me), - null !== N && - (me - ? (N.length = me) - : (N = null)) - else { - const k = { params: {} } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - if ( - (pe === q && ((R = !0), (L = 0)), - !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P - ? (N.length = P) - : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.parser) { - let v = k.parser - const E = q - if ( - q === E && - (!v || - 'object' != typeof v || - Array.isArray(v)) - ) - return ( - (V.errors = [ - { - params: { - type: 'object', - }, - }, - ]), - !1 - ) - ae = E === q - } else ae = !0 - if (ae) { - if (void 0 !== k.realResource) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (G(k.realResource, { - instancePath: - v + '/realResource', - parentData: k, - parentDataProperty: - 'realResource', - rootData: L, - }) || - ((N = - null === N - ? G.errors - : N.concat(G.errors)), - (q = N.length)), - pe === q && - ((R = !0), (le = 0)), - !R) - ) { - const k = { - params: { - passingSchemas: le, - }, - } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P - ? (N.length = P) - : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.resolve) { - let E = k.resolve - const P = q - if ( - !E || - 'object' != typeof E || - Array.isArray(E) - ) - return ( - (V.errors = [ - { - params: { - type: 'object', - }, - }, - ]), - !1 - ) - const R = q - let le = !1, - pe = null - const me = q - if ( - (H(E, { - instancePath: - v + '/resolve', - parentData: k, - parentDataProperty: - 'resolve', - rootData: L, - }) || - ((N = - null === N - ? H.errors - : N.concat(H.errors)), - (q = N.length)), - me === q && - ((le = !0), (pe = 0)), - !le) - ) { - const k = { - params: { - passingSchemas: pe, - }, - } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = R), - null !== N && - (R - ? (N.length = R) - : (N = null)), - (ae = P === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.resource) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (G(k.resource, { - instancePath: - v + '/resource', - parentData: k, - parentDataProperty: - 'resource', - rootData: L, - }) || - ((N = - null === N - ? G.errors - : N.concat( - G.errors - )), - (q = N.length)), - pe === q && - ((R = !0), (le = 0)), - !R) - ) { - const k = { - params: { - passingSchemas: le, - }, - } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P - ? (N.length = P) - : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.resourceFragment - ) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (T(k.resourceFragment, { - instancePath: - v + - '/resourceFragment', - parentData: k, - parentDataProperty: - 'resourceFragment', - rootData: L, - }) || - ((N = - null === N - ? T.errors - : N.concat( - T.errors - )), - (q = N.length)), - pe === q && - ((R = !0), (le = 0)), - !R) - ) { - const k = { - params: { - passingSchemas: le, - }, - } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P - ? (N.length = P) - : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.resourceQuery - ) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (T(k.resourceQuery, { - instancePath: - v + - '/resourceQuery', - parentData: k, - parentDataProperty: - 'resourceQuery', - rootData: L, - }) || - ((N = - null === N - ? T.errors - : N.concat( - T.errors - )), - (q = N.length)), - pe === q && - ((R = !0), - (le = 0)), - !R) - ) { - const k = { - params: { - passingSchemas: - le, - }, - } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P - ? (N.length = P) - : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if ( - void 0 !== k.rules - ) { - let E = k.rules - const P = q - if (q === P) { - if ( - !Array.isArray(E) - ) - return ( - (V.errors = [ - { - params: { - type: 'array', - }, - }, - ]), - !1 - ) - { - const k = E.length - for ( - let P = 0; - P < k; - P++ - ) { - const k = q, - R = q - let ae = !1, - le = null - const pe = q - if ( - (Me.validate( - E[P], - { - instancePath: - v + - '/rules/' + - P, - parentData: - E, - parentDataProperty: - P, - rootData: - L, - } - ) || - ((N = - null === N - ? Me - .validate - .errors - : N.concat( - Me - .validate - .errors - )), - (q = - N.length)), - pe === q && - ((ae = !0), - (le = 0)), - !ae) - ) { - const k = { - params: { - passingSchemas: - le, - }, - } - return ( - null === N - ? (N = [ - k, - ]) - : N.push( - k - ), - q++, - (V.errors = - N), - !1 - ) - } - if ( - ((q = R), - null !== N && - (R - ? (N.length = - R) - : (N = - null)), - k !== q) - ) - break - } - } - } - ae = P === q - } else ae = !0 - if (ae) { - if ( - void 0 !== k.scheme - ) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (T(k.scheme, { - instancePath: - v + '/scheme', - parentData: k, - parentDataProperty: - 'scheme', - rootData: L, - }) || - ((N = - null === N - ? T.errors - : N.concat( - T.errors - )), - (q = N.length)), - pe === q && - ((R = !0), - (le = 0)), - !R) - ) { - const k = { - params: { - passingSchemas: - le, - }, - } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (V.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P - ? (N.length = - P) - : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.sideEffects - ) { - const v = q - if ( - 'boolean' != - typeof k.sideEffects - ) - return ( - (V.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.test - ) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (G(k.test, { - instancePath: - v + - '/test', - parentData: - k, - parentDataProperty: - 'test', - rootData: L, - }) || - ((N = - null === N - ? G.errors - : N.concat( - G.errors - )), - (q = - N.length)), - pe === q && - ((R = !0), - (le = 0)), - !R) - ) { - const k = { - params: { - passingSchemas: - le, - }, - } - return ( - null === N - ? (N = [ - k, - ]) - : N.push( - k - ), - q++, - (V.errors = - N), - !1 - ) - } - ;(q = P), - null !== N && - (P - ? (N.length = - P) - : (N = - null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.type - ) { - const v = q - if ( - 'string' != - typeof k.type - ) - return ( - (V.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - ae = v === q - } else ae = !0 - if (ae) - if ( - void 0 !== - k.use - ) { - const E = q, - P = q - let R = !1, - le = null - const pe = q - if ( - (J( - k.use, - { - instancePath: - v + - '/use', - parentData: - k, - parentDataProperty: - 'use', - rootData: - L, - } - ) || - ((N = - null === - N - ? J.errors - : N.concat( - J.errors - )), - (q = - N.length)), - pe === - q && - ((R = - !0), - (le = 0)), - !R) - ) { - const k = - { - params: - { - passingSchemas: - le, - }, - } - return ( - null === - N - ? (N = - [ - k, - ]) - : N.push( - k - ), - q++, - (V.errors = - N), - !1 - ) - } - ;(q = P), - null !== - N && - (P - ? (N.length = - P) - : (N = - null)), - (ae = - E === q) - } else ae = !0 - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return (V.errors = N), 0 === q - } - function Z( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!Array.isArray(k)) - return (Z.errors = [{ params: { type: 'array' } }]), !1 - { - const E = k.length - for (let P = 0; P < E; P++) { - let E = k[P] - const ae = N, - le = N - let pe = !1 - const me = N - if ('...' !== E) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = me === N - if (((pe = pe || q), !pe)) { - const ae = N - V(E, { - instancePath: v + '/' + P, - parentData: k, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? V.errors : L.concat(V.errors)), - (N = L.length)), - (q = ae === N), - (pe = pe || q) - } - if (!pe) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), N++, (Z.errors = L), !1 - ) - } - if ( - ((N = le), - null !== L && (le ? (L.length = le) : (L = null)), - ae !== N) - ) - break - } - } - } - return (Z.errors = L), 0 === N - } - function K( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N == N) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const v = N - for (const v in k) - if ('encoding' !== v && 'mimetype' !== v) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (v === N) { - if (void 0 !== k.encoding) { - let v = k.encoding - const E = N - if (!1 !== v && 'base64' !== v) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = E === N - } else pe = !0 - if (pe) - if (void 0 !== k.mimetype) { - const v = N - if ('string' != typeof k.mimetype) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - pe = v === N - } else pe = !0 - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = le === N - if (((ae = ae || me), !ae)) { - const v = N - if (!(k instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = v === N), (ae = ae || me) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (K.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (K.errors = L), - 0 === N - ) - } - function X( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - if (0 === q) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (X.errors = [{ params: { type: 'object' } }]), !1 - { - const P = q - for (const v in k) - if ( - 'dataUrl' !== v && - 'emit' !== v && - 'filename' !== v && - 'outputPath' !== v && - 'publicPath' !== v - ) - return (X.errors = [{ params: { additionalProperty: v } }]), !1 - if (P === q) { - if (void 0 !== k.dataUrl) { - const v = q - K(k.dataUrl, { - instancePath: E + '/dataUrl', - parentData: k, - parentDataProperty: 'dataUrl', - rootData: L, - }) || - ((N = null === N ? K.errors : N.concat(K.errors)), - (q = N.length)) - var ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.emit) { - const v = q - if ('boolean' != typeof k.emit) - return (X.errors = [{ params: { type: 'boolean' } }]), !1 - ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.filename) { - let E = k.filename - const P = q, - R = q - let L = !1 - const pe = q - if (q === pe) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } else if (E.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var le = pe === q - if (((L = L || le), !L)) { - const k = q - if (!(E instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(le = k === q), (L = L || le) - } - if (!L) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (X.errors = N), - !1 - ) - } - ;(q = R), - null !== N && (R ? (N.length = R) : (N = null)), - (ae = P === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.outputPath) { - let E = k.outputPath - const P = q, - R = q - let L = !1 - const le = q - if (q === le) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var pe = le === q - if (((L = L || pe), !L)) { - const k = q - if (!(E instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(pe = k === q), (L = L || pe) - } - if (!L) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (X.errors = N), - !1 - ) - } - ;(q = R), - null !== N && (R ? (N.length = R) : (N = null)), - (ae = P === q) - } else ae = !0 - if (ae) - if (void 0 !== k.publicPath) { - let v = k.publicPath - const E = q, - P = q - let R = !1 - const L = q - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var me = L === q - if (((R = R || me), !R)) { - const k = q - if (!(v instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(me = k === q), (R = R || me) - } - if (!R) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (X.errors = N), - !1 - ) - } - ;(q = P), - null !== N && (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - } - } - } - } - } - } - return (X.errors = N), 0 === q - } - function Y( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (Y.errors = [{ params: { type: 'object' } }]), !1 - { - const E = N - for (const v in k) - if ('dataUrl' !== v) - return (Y.errors = [{ params: { additionalProperty: v } }]), !1 - E === N && - void 0 !== k.dataUrl && - (K(k.dataUrl, { - instancePath: v + '/dataUrl', - parentData: k, - parentDataProperty: 'dataUrl', - rootData: R, - }) || - ((L = null === L ? K.errors : L.concat(K.errors)), - (N = L.length))) - } - } - return (Y.errors = L), 0 === N - } - function ee( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - if (0 === q) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (ee.errors = [{ params: { type: 'object' } }]), !1 - { - const E = q - for (const v in k) - if ( - 'emit' !== v && - 'filename' !== v && - 'outputPath' !== v && - 'publicPath' !== v - ) - return (ee.errors = [{ params: { additionalProperty: v } }]), !1 - if (E === q) { - if (void 0 !== k.emit) { - const v = q - if ('boolean' != typeof k.emit) - return (ee.errors = [{ params: { type: 'boolean' } }]), !1 - var ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.filename) { - let E = k.filename - const P = q, - R = q - let L = !1 - const pe = q - if (q === pe) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } else if (E.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var le = pe === q - if (((L = L || le), !L)) { - const k = q - if (!(E instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(le = k === q), (L = L || le) - } - if (!L) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (ee.errors = N), - !1 - ) - } - ;(q = R), - null !== N && (R ? (N.length = R) : (N = null)), - (ae = P === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.outputPath) { - let E = k.outputPath - const P = q, - R = q - let L = !1 - const le = q - if (q === le) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var pe = le === q - if (((L = L || pe), !L)) { - const k = q - if (!(E instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(pe = k === q), (L = L || pe) - } - if (!L) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (ee.errors = N), - !1 - ) - } - ;(q = R), - null !== N && (R ? (N.length = R) : (N = null)), - (ae = P === q) - } else ae = !0 - if (ae) - if (void 0 !== k.publicPath) { - let v = k.publicPath - const E = q, - P = q - let R = !1 - const L = q - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var me = L === q - if (((R = R || me), !R)) { - const k = q - if (!(v instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(me = k === q), (R = R || me) - } - if (!R) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (ee.errors = N), - !1 - ) - } - ;(q = P), - null !== N && (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - } - } - } - } - } - return (ee.errors = N), 0 === q - } - function te( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (te.errors = [{ params: { type: 'object' } }]), !1 - { - const E = N - for (const v in k) - if ( - 'asset' !== v && - 'asset/inline' !== v && - 'asset/resource' !== v && - 'javascript' !== v && - 'javascript/auto' !== v && - 'javascript/dynamic' !== v && - 'javascript/esm' !== v - ) { - let E = k[v] - const P = N - if (N === P && (!E || 'object' != typeof E || Array.isArray(E))) - return (te.errors = [{ params: { type: 'object' } }]), !1 - if (P !== N) break - } - if (E === N) { - if (void 0 !== k.asset) { - const E = N - X(k.asset, { - instancePath: v + '/asset', - parentData: k, - parentDataProperty: 'asset', - rootData: R, - }) || - ((L = null === L ? X.errors : L.concat(X.errors)), - (N = L.length)) - var q = E === N - } else q = !0 - if (q) { - if (void 0 !== k['asset/inline']) { - const E = N - Y(k['asset/inline'], { - instancePath: v + '/asset~1inline', - parentData: k, - parentDataProperty: 'asset/inline', - rootData: R, - }) || - ((L = null === L ? Y.errors : L.concat(Y.errors)), - (N = L.length)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k['asset/resource']) { - const E = N - ee(k['asset/resource'], { - instancePath: v + '/asset~1resource', - parentData: k, - parentDataProperty: 'asset/resource', - rootData: R, - }) || - ((L = null === L ? ee.errors : L.concat(ee.errors)), - (N = L.length)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k.javascript) { - let v = k.javascript - const E = N - if (N == N) { - if (!v || 'object' != typeof v || Array.isArray(v)) - return ( - (te.errors = [{ params: { type: 'object' } }]), !1 - ) - for (const k in v) - return ( - (te.errors = [ - { params: { additionalProperty: k } }, - ]), - !1 - ) - } - q = E === N - } else q = !0 - if (q) { - if (void 0 !== k['javascript/auto']) { - let v = k['javascript/auto'] - const E = N - if (N == N) { - if (!v || 'object' != typeof v || Array.isArray(v)) - return ( - (te.errors = [{ params: { type: 'object' } }]), !1 - ) - for (const k in v) - return ( - (te.errors = [ - { params: { additionalProperty: k } }, - ]), - !1 - ) - } - q = E === N - } else q = !0 - if (q) { - if (void 0 !== k['javascript/dynamic']) { - let v = k['javascript/dynamic'] - const E = N - if (N == N) { - if (!v || 'object' != typeof v || Array.isArray(v)) - return ( - (te.errors = [{ params: { type: 'object' } }]), - !1 - ) - for (const k in v) - return ( - (te.errors = [ - { params: { additionalProperty: k } }, - ]), - !1 - ) - } - q = E === N - } else q = !0 - if (q) - if (void 0 !== k['javascript/esm']) { - let v = k['javascript/esm'] - const E = N - if (N == N) { - if ( - !v || - 'object' != typeof v || - Array.isArray(v) - ) - return ( - (te.errors = [ - { params: { type: 'object' } }, - ]), - !1 - ) - for (const k in v) - return ( - (te.errors = [ - { params: { additionalProperty: k } }, - ]), - !1 - ) - } - q = E === N - } else q = !0 - } - } - } - } - } - } - } - } - return (te.errors = L), 0 === N - } - function ne( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (ne.errors = [{ params: { type: 'object' } }]), !1 - { - const v = N - for (const v in k) - if ('dataUrlCondition' !== v) - return (ne.errors = [{ params: { additionalProperty: v } }]), !1 - if (v === N && void 0 !== k.dataUrlCondition) { - let v = k.dataUrlCondition - const E = N - let P = !1 - const R = N - if (N == N) - if (v && 'object' == typeof v && !Array.isArray(v)) { - const k = N - for (const k in v) - if ('maxSize' !== k) { - const v = { params: { additionalProperty: k } } - null === L ? (L = [v]) : L.push(v), N++ - break - } - if ( - k === N && - void 0 !== v.maxSize && - 'number' != typeof v.maxSize - ) { - const k = { params: { type: 'number' } } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = R === N - if (((P = P || q), !P)) { - const k = N - if (!(v instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(q = k === N), (P = P || q) - } - if (!P) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), N++, (ne.errors = L), !1 - ) - } - ;(N = E), null !== L && (E ? (L.length = E) : (L = null)) - } - } - } - return (ne.errors = L), 0 === N - } - function re( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (!1 !== k) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const v = N - if (N == N) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const v = N - for (const v in k) - if ('__dirname' !== v && '__filename' !== v && 'global' !== v) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (v === N) { - if (void 0 !== k.__dirname) { - let v = k.__dirname - const E = N - if ( - !1 !== v && - !0 !== v && - 'warn-mock' !== v && - 'mock' !== v && - 'eval-only' !== v - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = E === N - } else me = !0 - if (me) { - if (void 0 !== k.__filename) { - let v = k.__filename - const E = N - if ( - !1 !== v && - !0 !== v && - 'warn-mock' !== v && - 'mock' !== v && - 'eval-only' !== v - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - me = E === N - } else me = !0 - if (me) - if (void 0 !== k.global) { - let v = k.global - const E = N - if (!1 !== v && !0 !== v && 'warn' !== v) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - me = E === N - } else me = !0 - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (re.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (re.errors = L), - 0 === N - ) - } - function oe( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (oe.errors = [{ params: { type: 'object' } }]), !1 - if (void 0 !== k.amd) { - let v = k.amd - const E = N, - P = N - let R = !1 - const le = N - if (!1 !== v) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = le === N - if (((R = R || q), !R)) { - const k = N - if (!v || 'object' != typeof v || Array.isArray(v)) { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(q = k === N), (R = R || q) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), N++, (oe.errors = L), !1 - ) - } - ;(N = P), null !== L && (P ? (L.length = P) : (L = null)) - var ae = E === N - } else ae = !0 - if (ae) { - if (void 0 !== k.browserify) { - const v = N - if ('boolean' != typeof k.browserify) - return (oe.errors = [{ params: { type: 'boolean' } }]), !1 - ae = v === N - } else ae = !0 - if (ae) { - if (void 0 !== k.commonjs) { - const v = N - if ('boolean' != typeof k.commonjs) - return (oe.errors = [{ params: { type: 'boolean' } }]), !1 - ae = v === N - } else ae = !0 - if (ae) { - if (void 0 !== k.commonjsMagicComments) { - const v = N - if ('boolean' != typeof k.commonjsMagicComments) - return (oe.errors = [{ params: { type: 'boolean' } }]), !1 - ae = v === N - } else ae = !0 - if (ae) { - if (void 0 !== k.createRequire) { - let v = k.createRequire - const E = N, - P = N - let R = !1 - const q = N - if ('boolean' != typeof v) { - const k = { params: { type: 'boolean' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var le = q === N - if (((R = R || le), !R)) { - const k = N - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(le = k === N), (R = R || le) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (oe.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (ae = E === N) - } else ae = !0 - if (ae) { - if (void 0 !== k.dynamicImportMode) { - let v = k.dynamicImportMode - const E = N - if ( - 'eager' !== v && - 'weak' !== v && - 'lazy' !== v && - 'lazy-once' !== v - ) - return (oe.errors = [{ params: {} }]), !1 - ae = E === N - } else ae = !0 - if (ae) { - if (void 0 !== k.dynamicImportPrefetch) { - let v = k.dynamicImportPrefetch - const E = N, - P = N - let R = !1 - const q = N - if ('number' != typeof v) { - const k = { params: { type: 'number' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = q === N - if (((R = R || pe), !R)) { - const k = N - if ('boolean' != typeof v) { - const k = { params: { type: 'boolean' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = k === N), (R = R || pe) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (oe.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (ae = E === N) - } else ae = !0 - if (ae) { - if (void 0 !== k.dynamicImportPreload) { - let v = k.dynamicImportPreload - const E = N, - P = N - let R = !1 - const q = N - if ('number' != typeof v) { - const k = { params: { type: 'number' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = q === N - if (((R = R || me), !R)) { - const k = N - if ('boolean' != typeof v) { - const k = { params: { type: 'boolean' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = k === N), (R = R || me) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (oe.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (ae = E === N) - } else ae = !0 - if (ae) { - if (void 0 !== k.exportsPresence) { - let v = k.exportsPresence - const E = N - if ( - 'error' !== v && - 'warn' !== v && - 'auto' !== v && - !1 !== v - ) - return (oe.errors = [{ params: {} }]), !1 - ae = E === N - } else ae = !0 - if (ae) { - if (void 0 !== k.exprContextCritical) { - const v = N - if ('boolean' != typeof k.exprContextCritical) - return ( - (oe.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if (void 0 !== k.exprContextRecursive) { - const v = N - if ('boolean' != typeof k.exprContextRecursive) - return ( - (oe.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if (void 0 !== k.exprContextRegExp) { - let v = k.exprContextRegExp - const E = N, - P = N - let R = !1 - const q = N - if (!(v instanceof RegExp)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var ye = q === N - if (((R = R || ye), !R)) { - const k = N - if ('boolean' != typeof v) { - const k = { params: { type: 'boolean' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ye = k === N), (R = R || ye) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (oe.errors = L), - !1 - ) - } - ;(N = P), - null !== L && - (P ? (L.length = P) : (L = null)), - (ae = E === N) - } else ae = !0 - if (ae) { - if (void 0 !== k.exprContextRequest) { - const v = N - if ('string' != typeof k.exprContextRequest) - return ( - (oe.errors = [ - { params: { type: 'string' } }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if (void 0 !== k.harmony) { - const v = N - if ('boolean' != typeof k.harmony) - return ( - (oe.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if (void 0 !== k.import) { - const v = N - if ('boolean' != typeof k.import) - return ( - (oe.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if ( - void 0 !== k.importExportsPresence - ) { - let v = k.importExportsPresence - const E = N - if ( - 'error' !== v && - 'warn' !== v && - 'auto' !== v && - !1 !== v - ) - return ( - (oe.errors = [{ params: {} }]), !1 - ) - ae = E === N - } else ae = !0 - if (ae) { - if (void 0 !== k.importMeta) { - const v = N - if ( - 'boolean' != typeof k.importMeta - ) - return ( - (oe.errors = [ - { - params: { type: 'boolean' }, - }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if ( - void 0 !== k.importMetaContext - ) { - const v = N - if ( - 'boolean' != - typeof k.importMetaContext - ) - return ( - (oe.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if (void 0 !== k.node) { - const E = N - re(k.node, { - instancePath: v + '/node', - parentData: k, - parentDataProperty: 'node', - rootData: R, - }) || - ((L = - null === L - ? re.errors - : L.concat(re.errors)), - (N = L.length)), - (ae = E === N) - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.reexportExportsPresence - ) { - let v = - k.reexportExportsPresence - const E = N - if ( - 'error' !== v && - 'warn' !== v && - 'auto' !== v && - !1 !== v - ) - return ( - (oe.errors = [ - { params: {} }, - ]), - !1 - ) - ae = E === N - } else ae = !0 - if (ae) { - if ( - void 0 !== k.requireContext - ) { - const v = N - if ( - 'boolean' != - typeof k.requireContext - ) - return ( - (oe.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if ( - void 0 !== k.requireEnsure - ) { - const v = N - if ( - 'boolean' != - typeof k.requireEnsure - ) - return ( - (oe.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.requireInclude - ) { - const v = N - if ( - 'boolean' != - typeof k.requireInclude - ) - return ( - (oe.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if ( - void 0 !== k.requireJs - ) { - const v = N - if ( - 'boolean' != - typeof k.requireJs - ) - return ( - (oe.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.strictExportPresence - ) { - const v = N - if ( - 'boolean' != - typeof k.strictExportPresence - ) - return ( - (oe.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.strictThisContextOnImports - ) { - const v = N - if ( - 'boolean' != - typeof k.strictThisContextOnImports - ) - return ( - (oe.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.system - ) { - const v = N - if ( - 'boolean' != - typeof k.system - ) - return ( - (oe.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.unknownContextCritical - ) { - const v = N - if ( - 'boolean' != - typeof k.unknownContextCritical - ) - return ( - (oe.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.unknownContextRecursive - ) { - const v = N - if ( - 'boolean' != - typeof k.unknownContextRecursive - ) - return ( - (oe.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === N - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.unknownContextRegExp - ) { - let v = - k.unknownContextRegExp - const E = - N, - P = N - let R = !1 - const q = - N - if ( - !( - v instanceof - RegExp - ) - ) { - const k = - { - params: - {}, - } - null === - L - ? (L = - [ - k, - ]) - : L.push( - k - ), - N++ - } - var _e = - q === N - if ( - ((R = - R || - _e), - !R) - ) { - const k = - N - if ( - 'boolean' != - typeof v - ) { - const k = - { - params: - { - type: 'boolean', - }, - } - null === - L - ? (L = - [ - k, - ]) - : L.push( - k - ), - N++ - } - ;(_e = - k === - N), - (R = - R || - _e) - } - if (!R) { - const k = - { - params: - {}, - } - return ( - null === - L - ? (L = - [ - k, - ]) - : L.push( - k - ), - N++, - (oe.errors = - L), - !1 - ) - } - ;(N = P), - null !== - L && - (P - ? (L.length = - P) - : (L = - null)), - (ae = - E === - N) - } else - ae = !0 - if (ae) { - if ( - void 0 !== - k.unknownContextRequest - ) { - const v = - N - if ( - 'string' != - typeof k.unknownContextRequest - ) - return ( - (oe.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - ae = - v === - N - } else - ae = !0 - if (ae) { - if ( - void 0 !== - k.url - ) { - let v = - k.url - const E = - N, - P = - N - let R = - !1 - const q = - N - if ( - 'relative' !== - v - ) { - const k = - { - params: - {}, - } - null === - L - ? (L = - [ - k, - ]) - : L.push( - k - ), - N++ - } - var Ie = - q === - N - if ( - ((R = - R || - Ie), - !R) - ) { - const k = - N - if ( - 'boolean' != - typeof v - ) { - const k = - { - params: - { - type: 'boolean', - }, - } - null === - L - ? (L = - [ - k, - ]) - : L.push( - k - ), - N++ - } - ;(Ie = - k === - N), - (R = - R || - Ie) - } - if ( - !R - ) { - const k = - { - params: - {}, - } - return ( - null === - L - ? (L = - [ - k, - ]) - : L.push( - k - ), - N++, - (oe.errors = - L), - !1 - ) - } - ;(N = - P), - null !== - L && - (P - ? (L.length = - P) - : (L = - null)), - (ae = - E === - N) - } else - ae = - !0 - if ( - ae - ) { - if ( - void 0 !== - k.worker - ) { - let v = - k.worker - const E = - N, - P = - N - let R = - !1 - const q = - N - if ( - N === - q - ) - if ( - Array.isArray( - v - ) - ) { - const k = - v.length - for ( - let E = 0; - E < - k; - E++ - ) { - let k = - v[ - E - ] - const P = - N - if ( - N === - P - ) - if ( - 'string' == - typeof k - ) { - if ( - k.length < - 1 - ) { - const k = - { - params: - {}, - } - null === - L - ? (L = - [ - k, - ]) - : L.push( - k - ), - N++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - L - ? (L = - [ - k, - ]) - : L.push( - k - ), - N++ - } - if ( - P !== - N - ) - break - } - } else { - const k = - { - params: - { - type: 'array', - }, - } - null === - L - ? (L = - [ - k, - ]) - : L.push( - k - ), - N++ - } - var Me = - q === - N - if ( - ((R = - R || - Me), - !R) - ) { - const k = - N - if ( - 'boolean' != - typeof v - ) { - const k = - { - params: - { - type: 'boolean', - }, - } - null === - L - ? (L = - [ - k, - ]) - : L.push( - k - ), - N++ - } - ;(Me = - k === - N), - (R = - R || - Me) - } - if ( - !R - ) { - const k = - { - params: - {}, - } - return ( - null === - L - ? (L = - [ - k, - ]) - : L.push( - k - ), - N++, - (oe.errors = - L), - !1 - ) - } - ;(N = - P), - null !== - L && - (P - ? (L.length = - P) - : (L = - null)), - (ae = - E === - N) - } else - ae = - !0 - if ( - ae - ) { - if ( - void 0 !== - k.wrappedContextCritical - ) { - const v = - N - if ( - 'boolean' != - typeof k.wrappedContextCritical - ) - return ( - (oe.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = - v === - N - } else - ae = - !0 - if ( - ae - ) { - if ( - void 0 !== - k.wrappedContextRecursive - ) { - const v = - N - if ( - 'boolean' != - typeof k.wrappedContextRecursive - ) - return ( - (oe.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = - v === - N - } else - ae = - !0 - if ( - ae - ) - if ( - void 0 !== - k.wrappedContextRegExp - ) { - const v = - N - if ( - !( - k.wrappedContextRegExp instanceof - RegExp - ) - ) - return ( - (oe.errors = - [ - { - params: - {}, - }, - ]), - !1 - ) - ae = - v === - N - } else - ae = - !0 - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return (oe.errors = L), 0 === N - } - function se( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (se.errors = [{ params: { type: 'object' } }]), !1 - { - const E = N - for (const v in k) - if ( - 'asset' !== v && - 'asset/inline' !== v && - 'asset/resource' !== v && - 'asset/source' !== v && - 'javascript' !== v && - 'javascript/auto' !== v && - 'javascript/dynamic' !== v && - 'javascript/esm' !== v - ) { - let E = k[v] - const P = N - if (N === P && (!E || 'object' != typeof E || Array.isArray(E))) - return (se.errors = [{ params: { type: 'object' } }]), !1 - if (P !== N) break - } - if (E === N) { - if (void 0 !== k.asset) { - const E = N - ne(k.asset, { - instancePath: v + '/asset', - parentData: k, - parentDataProperty: 'asset', - rootData: R, - }) || - ((L = null === L ? ne.errors : L.concat(ne.errors)), - (N = L.length)) - var q = E === N - } else q = !0 - if (q) { - if (void 0 !== k['asset/inline']) { - let v = k['asset/inline'] - const E = N - if (N == N) { - if (!v || 'object' != typeof v || Array.isArray(v)) - return (se.errors = [{ params: { type: 'object' } }]), !1 - for (const k in v) - return ( - (se.errors = [{ params: { additionalProperty: k } }]), - !1 - ) - } - q = E === N - } else q = !0 - if (q) { - if (void 0 !== k['asset/resource']) { - let v = k['asset/resource'] - const E = N - if (N == N) { - if (!v || 'object' != typeof v || Array.isArray(v)) - return ( - (se.errors = [{ params: { type: 'object' } }]), !1 - ) - for (const k in v) - return ( - (se.errors = [{ params: { additionalProperty: k } }]), - !1 - ) - } - q = E === N - } else q = !0 - if (q) { - if (void 0 !== k['asset/source']) { - let v = k['asset/source'] - const E = N - if (N == N) { - if (!v || 'object' != typeof v || Array.isArray(v)) - return ( - (se.errors = [{ params: { type: 'object' } }]), !1 - ) - for (const k in v) - return ( - (se.errors = [ - { params: { additionalProperty: k } }, - ]), - !1 - ) - } - q = E === N - } else q = !0 - if (q) { - if (void 0 !== k.javascript) { - const E = N - oe(k.javascript, { - instancePath: v + '/javascript', - parentData: k, - parentDataProperty: 'javascript', - rootData: R, - }) || - ((L = null === L ? oe.errors : L.concat(oe.errors)), - (N = L.length)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k['javascript/auto']) { - const E = N - oe(k['javascript/auto'], { - instancePath: v + '/javascript~1auto', - parentData: k, - parentDataProperty: 'javascript/auto', - rootData: R, - }) || - ((L = null === L ? oe.errors : L.concat(oe.errors)), - (N = L.length)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k['javascript/dynamic']) { - const E = N - oe(k['javascript/dynamic'], { - instancePath: v + '/javascript~1dynamic', - parentData: k, - parentDataProperty: 'javascript/dynamic', - rootData: R, - }) || - ((L = - null === L ? oe.errors : L.concat(oe.errors)), - (N = L.length)), - (q = E === N) - } else q = !0 - if (q) - if (void 0 !== k['javascript/esm']) { - const E = N - oe(k['javascript/esm'], { - instancePath: v + '/javascript~1esm', - parentData: k, - parentDataProperty: 'javascript/esm', - rootData: R, - }) || - ((L = - null === L ? oe.errors : L.concat(oe.errors)), - (N = L.length)), - (q = E === N) - } else q = !0 - } - } - } - } - } - } - } - } - } - return (se.errors = L), 0 === N - } - function ie( - k, - { - instancePath: E = '', - parentData: R, - parentDataProperty: L, - rootData: N = k, - } = {} - ) { - let q = null, - ae = 0 - if (0 === ae) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (ie.errors = [{ params: { type: 'object' } }]), !1 - { - const R = ae - for (const v in k) - if (!P.call(le.properties, v)) - return (ie.errors = [{ params: { additionalProperty: v } }]), !1 - if (R === ae) { - if (void 0 !== k.defaultRules) { - const v = ae, - P = ae - let R = !1, - L = null - const le = ae - if ( - (Z(k.defaultRules, { - instancePath: E + '/defaultRules', - parentData: k, - parentDataProperty: 'defaultRules', - rootData: N, - }) || - ((q = null === q ? Z.errors : q.concat(Z.errors)), - (ae = q.length)), - le === ae && ((R = !0), (L = 0)), - !R) - ) { - const k = { params: { passingSchemas: L } } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ie.errors = q), - !1 - ) - } - ;(ae = P), null !== q && (P ? (q.length = P) : (q = null)) - var pe = v === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.exprContextCritical) { - const v = ae - if ('boolean' != typeof k.exprContextCritical) - return (ie.errors = [{ params: { type: 'boolean' } }]), !1 - pe = v === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.exprContextRecursive) { - const v = ae - if ('boolean' != typeof k.exprContextRecursive) - return (ie.errors = [{ params: { type: 'boolean' } }]), !1 - pe = v === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.exprContextRegExp) { - let v = k.exprContextRegExp - const E = ae, - P = ae - let R = !1 - const L = ae - if (!(v instanceof RegExp)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var me = L === ae - if (((R = R || me), !R)) { - const k = ae - if ('boolean' != typeof v) { - const k = { params: { type: 'boolean' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(me = k === ae), (R = R || me) - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ie.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (pe = E === ae) - } else pe = !0 - if (pe) { - if (void 0 !== k.exprContextRequest) { - const v = ae - if ('string' != typeof k.exprContextRequest) - return ( - (ie.errors = [{ params: { type: 'string' } }]), !1 - ) - pe = v === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.generator) { - const v = ae - te(k.generator, { - instancePath: E + '/generator', - parentData: k, - parentDataProperty: 'generator', - rootData: N, - }) || - ((q = null === q ? te.errors : q.concat(te.errors)), - (ae = q.length)), - (pe = v === ae) - } else pe = !0 - if (pe) { - if (void 0 !== k.noParse) { - let E = k.noParse - const P = ae, - R = ae - let L = !1 - const N = ae - if (ae === N) - if (Array.isArray(E)) - if (E.length < 1) { - const k = { params: { limit: 1 } } - null === q ? (q = [k]) : q.push(k), ae++ - } else { - const k = E.length - for (let P = 0; P < k; P++) { - let k = E[P] - const R = ae, - L = ae - let N = !1 - const le = ae - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var ye = le === ae - if (((N = N || ye), !N)) { - const E = ae - if (ae === E) - if ('string' == typeof k) { - if ( - k.includes('!') || - !0 !== v.test(k) - ) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'string' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - if ( - ((ye = E === ae), (N = N || ye), !N) - ) { - const v = ae - if (!(k instanceof Function)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), - ae++ - } - ;(ye = v === ae), (N = N || ye) - } - } - if (N) - (ae = L), - null !== q && - (L ? (q.length = L) : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (R !== ae) break - } - } - else { - const k = { params: { type: 'array' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var _e = N === ae - if (((L = L || _e), !L)) { - const k = ae - if (!(E instanceof RegExp)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (((_e = k === ae), (L = L || _e), !L)) { - const k = ae - if (ae === k) - if ('string' == typeof E) { - if (E.includes('!') || !0 !== v.test(E)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (((_e = k === ae), (L = L || _e), !L)) { - const k = ae - if (!(E instanceof Function)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(_e = k === ae), (L = L || _e) - } - } - } - if (!L) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ie.errors = q), - !1 - ) - } - ;(ae = R), - null !== q && (R ? (q.length = R) : (q = null)), - (pe = P === ae) - } else pe = !0 - if (pe) { - if (void 0 !== k.parser) { - const v = ae - se(k.parser, { - instancePath: E + '/parser', - parentData: k, - parentDataProperty: 'parser', - rootData: N, - }) || - ((q = - null === q ? se.errors : q.concat(se.errors)), - (ae = q.length)), - (pe = v === ae) - } else pe = !0 - if (pe) { - if (void 0 !== k.rules) { - const v = ae, - P = ae - let R = !1, - L = null - const le = ae - if ( - (Z(k.rules, { - instancePath: E + '/rules', - parentData: k, - parentDataProperty: 'rules', - rootData: N, - }) || - ((q = - null === q - ? Z.errors - : q.concat(Z.errors)), - (ae = q.length)), - le === ae && ((R = !0), (L = 0)), - !R) - ) { - const k = { params: { passingSchemas: L } } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ie.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (pe = v === ae) - } else pe = !0 - if (pe) { - if (void 0 !== k.strictExportPresence) { - const v = ae - if ( - 'boolean' != typeof k.strictExportPresence - ) - return ( - (ie.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - pe = v === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.strictThisContextOnImports) { - const v = ae - if ( - 'boolean' != - typeof k.strictThisContextOnImports - ) - return ( - (ie.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - pe = v === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.unknownContextCritical) { - const v = ae - if ( - 'boolean' != - typeof k.unknownContextCritical - ) - return ( - (ie.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - pe = v === ae - } else pe = !0 - if (pe) { - if ( - void 0 !== k.unknownContextRecursive - ) { - const v = ae - if ( - 'boolean' != - typeof k.unknownContextRecursive - ) - return ( - (ie.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - pe = v === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.unknownContextRegExp) { - let v = k.unknownContextRegExp - const E = ae, - P = ae - let R = !1 - const L = ae - if (!(v instanceof RegExp)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), - ae++ - } - var Ie = L === ae - if (((R = R || Ie), !R)) { - const k = ae - if ('boolean' != typeof v) { - const k = { - params: { type: 'boolean' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Ie = k === ae), (R = R || Ie) - } - if (!R) { - const k = { params: {} } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (ie.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (pe = E === ae) - } else pe = !0 - if (pe) { - if ( - void 0 !== k.unknownContextRequest - ) { - const v = ae - if ( - 'string' != - typeof k.unknownContextRequest - ) - return ( - (ie.errors = [ - { - params: { type: 'string' }, - }, - ]), - !1 - ) - pe = v === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.unsafeCache) { - let v = k.unsafeCache - const E = ae, - P = ae - let R = !1 - const L = ae - if ('boolean' != typeof v) { - const k = { - params: { type: 'boolean' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Me = L === ae - if (((R = R || Me), !R)) { - const k = ae - if (!(v instanceof Function)) { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Me = k === ae), (R = R || Me) - } - if (!R) { - const k = { params: {} } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (ie.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (pe = E === ae) - } else pe = !0 - if (pe) { - if ( - void 0 !== - k.wrappedContextCritical - ) { - const v = ae - if ( - 'boolean' != - typeof k.wrappedContextCritical - ) - return ( - (ie.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - pe = v === ae - } else pe = !0 - if (pe) { - if ( - void 0 !== - k.wrappedContextRecursive - ) { - const v = ae - if ( - 'boolean' != - typeof k.wrappedContextRecursive - ) - return ( - (ie.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - pe = v === ae - } else pe = !0 - if (pe) - if ( - void 0 !== - k.wrappedContextRegExp - ) { - const v = ae - if ( - !( - k.wrappedContextRegExp instanceof - RegExp - ) - ) - return ( - (ie.errors = [ - { params: {} }, - ]), - !1 - ) - pe = v === ae - } else pe = !0 - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return (ie.errors = q), 0 === ae - } - const Te = { - type: 'object', - additionalProperties: !1, - properties: { - checkWasmTypes: { type: 'boolean' }, - chunkIds: { - enum: [ - 'natural', - 'named', - 'deterministic', - 'size', - 'total-size', - !1, - ], - }, - concatenateModules: { type: 'boolean' }, - emitOnErrors: { type: 'boolean' }, - flagIncludedChunks: { type: 'boolean' }, - innerGraph: { type: 'boolean' }, - mangleExports: { - anyOf: [{ enum: ['size', 'deterministic'] }, { type: 'boolean' }], - }, - mangleWasmImports: { type: 'boolean' }, - mergeDuplicateChunks: { type: 'boolean' }, - minimize: { type: 'boolean' }, - minimizer: { - type: 'array', - items: { - anyOf: [ - { enum: ['...'] }, - { $ref: '#/definitions/WebpackPluginInstance' }, - { $ref: '#/definitions/WebpackPluginFunction' }, - ], - }, - }, - moduleIds: { - enum: ['natural', 'named', 'hashed', 'deterministic', 'size', !1], - }, - noEmitOnErrors: { type: 'boolean' }, - nodeEnv: { anyOf: [{ enum: [!1] }, { type: 'string' }] }, - portableRecords: { type: 'boolean' }, - providedExports: { type: 'boolean' }, - realContentHash: { type: 'boolean' }, - removeAvailableModules: { type: 'boolean' }, - removeEmptyChunks: { type: 'boolean' }, - runtimeChunk: { $ref: '#/definitions/OptimizationRuntimeChunk' }, - sideEffects: { anyOf: [{ enum: ['flag'] }, { type: 'boolean' }] }, - splitChunks: { - anyOf: [ - { enum: [!1] }, - { $ref: '#/definitions/OptimizationSplitChunksOptions' }, - ], - }, - usedExports: { anyOf: [{ enum: ['global'] }, { type: 'boolean' }] }, - }, - }, - je = { - type: 'object', - additionalProperties: !1, - properties: { - automaticNameDelimiter: { type: 'string', minLength: 1 }, - cacheGroups: { - type: 'object', - additionalProperties: { - anyOf: [ - { enum: [!1] }, - { instanceof: 'RegExp' }, - { type: 'string' }, - { instanceof: 'Function' }, - { $ref: '#/definitions/OptimizationSplitChunksCacheGroup' }, - ], - }, - not: { - type: 'object', - additionalProperties: !0, - properties: { - test: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string' }, - { instanceof: 'Function' }, - ], - }, - }, - required: ['test'], - }, - }, - chunks: { - anyOf: [ - { enum: ['initial', 'async', 'all'] }, - { instanceof: 'RegExp' }, - { instanceof: 'Function' }, - ], - }, - defaultSizeTypes: { - type: 'array', - items: { type: 'string' }, - minItems: 1, - }, - enforceSizeThreshold: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - fallbackCacheGroup: { - type: 'object', - additionalProperties: !1, - properties: { - automaticNameDelimiter: { type: 'string', minLength: 1 }, - chunks: { - anyOf: [ - { enum: ['initial', 'async', 'all'] }, - { instanceof: 'RegExp' }, - { instanceof: 'Function' }, - ], - }, - maxAsyncSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - maxInitialSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - maxSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - minSize: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - minSizeReduction: { - oneOf: [ - { $ref: '#/definitions/OptimizationSplitChunksSizes' }, - ], - }, - }, - }, - filename: { - anyOf: [ - { type: 'string', absolutePath: !1, minLength: 1 }, - { instanceof: 'Function' }, - ], - }, - hidePathInfo: { type: 'boolean' }, - maxAsyncRequests: { type: 'number', minimum: 1 }, - maxAsyncSize: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - maxInitialRequests: { type: 'number', minimum: 1 }, - maxInitialSize: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - maxSize: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - minChunks: { type: 'number', minimum: 1 }, - minRemainingSize: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - minSize: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - minSizeReduction: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - name: { - anyOf: [ - { enum: [!1] }, - { type: 'string' }, - { instanceof: 'Function' }, - ], - }, - usedExports: { type: 'boolean' }, - }, - }, - Ne = { - type: 'object', - additionalProperties: !1, - properties: { - automaticNameDelimiter: { type: 'string', minLength: 1 }, - chunks: { - anyOf: [ - { enum: ['initial', 'async', 'all'] }, - { instanceof: 'RegExp' }, - { instanceof: 'Function' }, - ], - }, - enforce: { type: 'boolean' }, - enforceSizeThreshold: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - filename: { - anyOf: [ - { type: 'string', absolutePath: !1, minLength: 1 }, - { instanceof: 'Function' }, - ], - }, - idHint: { type: 'string' }, - layer: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string' }, - { instanceof: 'Function' }, - ], - }, - maxAsyncRequests: { type: 'number', minimum: 1 }, - maxAsyncSize: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - maxInitialRequests: { type: 'number', minimum: 1 }, - maxInitialSize: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - maxSize: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - minChunks: { type: 'number', minimum: 1 }, - minRemainingSize: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - minSize: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - minSizeReduction: { - oneOf: [{ $ref: '#/definitions/OptimizationSplitChunksSizes' }], - }, - name: { - anyOf: [ - { enum: [!1] }, - { type: 'string' }, - { instanceof: 'Function' }, - ], - }, - priority: { type: 'number' }, - reuseExistingChunk: { type: 'boolean' }, - test: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string' }, - { instanceof: 'Function' }, - ], - }, - type: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string' }, - { instanceof: 'Function' }, - ], - }, - usedExports: { type: 'boolean' }, - }, - } - function fe( - k, - { - instancePath: E = '', - parentData: R, - parentDataProperty: L, - rootData: N = k, - } = {} - ) { - let q = null, - ae = 0 - if (0 === ae) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (fe.errors = [{ params: { type: 'object' } }]), !1 - { - const E = ae - for (const v in k) - if (!P.call(Ne.properties, v)) - return (fe.errors = [{ params: { additionalProperty: v } }]), !1 - if (E === ae) { - if (void 0 !== k.automaticNameDelimiter) { - let v = k.automaticNameDelimiter - const E = ae - if (ae === E) { - if ('string' != typeof v) - return (fe.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (fe.errors = [{ params: {} }]), !1 - } - var le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunks) { - let v = k.chunks - const E = ae, - P = ae - let R = !1 - const L = ae - if ('initial' !== v && 'async' !== v && 'all' !== v) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var pe = L === ae - if (((R = R || pe), !R)) { - const k = ae - if (!(v instanceof RegExp)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (((pe = k === ae), (R = R || pe), !R)) { - const k = ae - if (!(v instanceof Function)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(pe = k === ae), (R = R || pe) - } - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (fe.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.enforce) { - const v = ae - if ('boolean' != typeof k.enforce) - return (fe.errors = [{ params: { type: 'boolean' } }]), !1 - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.enforceSizeThreshold) { - let v = k.enforceSizeThreshold - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let ye = !1 - const _e = ae - if (ae === _e) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { params: { comparison: '>=', limit: 0 } } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'number' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var me = _e === ae - if (((ye = ye || me), !ye)) { - const k = ae - if (ae === k) - if (v && 'object' == typeof v && !Array.isArray(v)) - for (const k in v) { - const E = ae - if ('number' != typeof v[k]) { - const k = { params: { type: 'number' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (E !== ae) break - } - else { - const k = { params: { type: 'object' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(me = k === ae), (ye = ye || me) - } - if (ye) - (ae = pe), - null !== q && (pe ? (q.length = pe) : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if ((N === ae && ((R = !0), (L = 0)), !R)) { - const k = { params: { passingSchemas: L } } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (fe.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.filename) { - let E = k.filename - const P = ae, - R = ae - let L = !1 - const N = ae - if (ae === N) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } else if (E.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var ye = N === ae - if (((L = L || ye), !L)) { - const k = ae - if (!(E instanceof Function)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(ye = k === ae), (L = L || ye) - } - if (!L) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (fe.errors = q), - !1 - ) - } - ;(ae = R), - null !== q && (R ? (q.length = R) : (q = null)), - (le = P === ae) - } else le = !0 - if (le) { - if (void 0 !== k.idHint) { - const v = ae - if ('string' != typeof k.idHint) - return ( - (fe.errors = [{ params: { type: 'string' } }]), !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.layer) { - let v = k.layer - const E = ae, - P = ae - let R = !1 - const L = ae - if (!(v instanceof RegExp)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var _e = L === ae - if (((R = R || _e), !R)) { - const k = ae - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (((_e = k === ae), (R = R || _e), !R)) { - const k = ae - if (!(v instanceof Function)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(_e = k === ae), (R = R || _e) - } - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (fe.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.maxAsyncRequests) { - let v = k.maxAsyncRequests - const E = ae - if (ae === E) { - if ('number' != typeof v) - return ( - (fe.errors = [ - { params: { type: 'number' } }, - ]), - !1 - ) - if (v < 1 || isNaN(v)) - return ( - (fe.errors = [ - { - params: { comparison: '>=', limit: 1 }, - }, - ]), - !1 - ) - } - le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.maxAsyncSize) { - let v = k.maxAsyncSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let me = !1 - const ye = ae - if (ae === ye) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { comparison: '>=', limit: 0 }, - } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'number' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var Ie = ye === ae - if (((me = me || Ie), !me)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) - for (const k in v) { - const E = ae - if ('number' != typeof v[k]) { - const k = { - params: { type: 'number' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { params: { type: 'object' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(Ie = k === ae), (me = me || Ie) - } - if (me) - (ae = pe), - null !== q && - (pe ? (q.length = pe) : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if ((N === ae && ((R = !0), (L = 0)), !R)) { - const k = { params: { passingSchemas: L } } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (fe.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.maxInitialRequests) { - let v = k.maxInitialRequests - const E = ae - if (ae === E) { - if ('number' != typeof v) - return ( - (fe.errors = [ - { params: { type: 'number' } }, - ]), - !1 - ) - if (v < 1 || isNaN(v)) - return ( - (fe.errors = [ - { - params: { - comparison: '>=', - limit: 1, - }, - }, - ]), - !1 - ) - } - le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.maxInitialSize) { - let v = k.maxInitialSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let me = !1 - const ye = ae - if (ae === ye) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - } else { - const k = { params: { type: 'number' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var Me = ye === ae - if (((me = me || Me), !me)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) - for (const k in v) { - const E = ae - if ('number' != typeof v[k]) { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { type: 'object' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - ;(Me = k === ae), (me = me || Me) - } - if (me) - (ae = pe), - null !== q && - (pe ? (q.length = pe) : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if ((N === ae && ((R = !0), (L = 0)), !R)) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (fe.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.maxSize) { - let v = k.maxSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let me = !1 - const ye = ae - if (ae === ye) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - var Te = ye === ae - if (((me = me || Te), !me)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) - for (const k in v) { - const E = ae - if ('number' != typeof v[k]) { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { type: 'object' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - ;(Te = k === ae), (me = me || Te) - } - if (me) - (ae = pe), - null !== q && - (pe ? (q.length = pe) : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if ( - (N === ae && ((R = !0), (L = 0)), !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (fe.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.minChunks) { - let v = k.minChunks - const E = ae - if (ae === E) { - if ('number' != typeof v) - return ( - (fe.errors = [ - { params: { type: 'number' } }, - ]), - !1 - ) - if (v < 1 || isNaN(v)) - return ( - (fe.errors = [ - { - params: { - comparison: '>=', - limit: 1, - }, - }, - ]), - !1 - ) - } - le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.minRemainingSize) { - let v = k.minRemainingSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let me = !1 - const ye = ae - if (ae === ye) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var je = ye === ae - if (((me = me || je), !me)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) - for (const k in v) { - const E = ae - if ('number' != typeof v[k]) { - const k = { - params: { - type: 'number', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { type: 'object' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(je = k === ae), (me = me || je) - } - if (me) - (ae = pe), - null !== q && - (pe - ? (q.length = pe) - : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), - ae++ - } - if ( - (N === ae && ((R = !0), (L = 0)), - !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (fe.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.minSize) { - let v = k.minSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let me = !1 - const ye = ae - if (ae === ye) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Be = ye === ae - if (((me = me || Be), !me)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) - for (const k in v) { - const E = ae - if ( - 'number' != typeof v[k] - ) { - const k = { - params: { - type: 'number', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { type: 'object' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Be = k === ae), (me = me || Be) - } - if (me) - (ae = pe), - null !== q && - (pe - ? (q.length = pe) - : (q = null)) - else { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if ( - (N === ae && ((R = !0), (L = 0)), - !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (fe.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.minSizeReduction) { - let v = k.minSizeReduction - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let me = !1 - const ye = ae - if (ae === ye) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var qe = ye === ae - if (((me = me || qe), !me)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) - for (const k in v) { - const E = ae - if ( - 'number' != typeof v[k] - ) { - const k = { - params: { - type: 'number', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { - type: 'object', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(qe = k === ae), - (me = me || qe) - } - if (me) - (ae = pe), - null !== q && - (pe - ? (q.length = pe) - : (q = null)) - else { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if ( - (N === ae && - ((R = !0), (L = 0)), - !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (fe.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.name) { - let v = k.name - const E = ae, - P = ae - let R = !1 - const L = ae - if (!1 !== v) { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Ue = L === ae - if (((R = R || Ue), !R)) { - const k = ae - if ('string' != typeof v) { - const k = { - params: { - type: 'string', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if ( - ((Ue = k === ae), - (R = R || Ue), - !R) - ) { - const k = ae - if ( - !(v instanceof Function) - ) { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Ue = k === ae), - (R = R || Ue) - } - } - if (!R) { - const k = { params: {} } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (fe.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.priority) { - const v = ae - if ( - 'number' != - typeof k.priority - ) - return ( - (fe.errors = [ - { - params: { - type: 'number', - }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if ( - void 0 !== - k.reuseExistingChunk - ) { - const v = ae - if ( - 'boolean' != - typeof k.reuseExistingChunk - ) - return ( - (fe.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.test) { - let v = k.test - const E = ae, - P = ae - let R = !1 - const L = ae - if ( - !(v instanceof RegExp) - ) { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Ge = L === ae - if (((R = R || Ge), !R)) { - const k = ae - if ( - 'string' != typeof v - ) { - const k = { - params: { - type: 'string', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if ( - ((Ge = k === ae), - (R = R || Ge), - !R) - ) { - const k = ae - if ( - !( - v instanceof - Function - ) - ) { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Ge = k === ae), - (R = R || Ge) - } - } - if (!R) { - const k = { params: {} } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (fe.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.type) { - let v = k.type - const E = ae, - P = ae - let R = !1 - const L = ae - if ( - !(v instanceof RegExp) - ) { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var He = L === ae - if ( - ((R = R || He), !R) - ) { - const k = ae - if ( - 'string' != typeof v - ) { - const k = { - params: { - type: 'string', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if ( - ((He = k === ae), - (R = R || He), - !R) - ) { - const k = ae - if ( - !( - v instanceof - Function - ) - ) { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(He = k === ae), - (R = R || He) - } - } - if (!R) { - const k = { - params: {}, - } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (fe.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (le = E === ae) - } else le = !0 - if (le) - if ( - void 0 !== - k.usedExports - ) { - const v = ae - if ( - 'boolean' != - typeof k.usedExports - ) - return ( - (fe.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return (fe.errors = q), 0 === ae - } - function ue( - k, - { - instancePath: E = '', - parentData: R, - parentDataProperty: L, - rootData: N = k, - } = {} - ) { - let q = null, - ae = 0 - if (0 === ae) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (ue.errors = [{ params: { type: 'object' } }]), !1 - { - const R = ae - for (const v in k) - if (!P.call(je.properties, v)) - return (ue.errors = [{ params: { additionalProperty: v } }]), !1 - if (R === ae) { - if (void 0 !== k.automaticNameDelimiter) { - let v = k.automaticNameDelimiter - const E = ae - if (ae === E) { - if ('string' != typeof v) - return (ue.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (ue.errors = [{ params: {} }]), !1 - } - var le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.cacheGroups) { - let v = k.cacheGroups - const P = ae, - R = ae, - L = ae - if (ae === L) - if (v && 'object' == typeof v && !Array.isArray(v)) { - let k - if (void 0 === v.test && (k = 'test')) { - const k = {} - null === q ? (q = [k]) : q.push(k), ae++ - } else if (void 0 !== v.test) { - let k = v.test - const E = ae - let P = !1 - const R = ae - if (!(k instanceof RegExp)) { - const k = {} - null === q ? (q = [k]) : q.push(k), ae++ - } - var pe = R === ae - if (((P = P || pe), !P)) { - const v = ae - if ('string' != typeof k) { - const k = {} - null === q ? (q = [k]) : q.push(k), ae++ - } - if (((pe = v === ae), (P = P || pe), !P)) { - const v = ae - if (!(k instanceof Function)) { - const k = {} - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(pe = v === ae), (P = P || pe) - } - } - if (P) - (ae = E), - null !== q && (E ? (q.length = E) : (q = null)) - else { - const k = {} - null === q ? (q = [k]) : q.push(k), ae++ - } - } - } else { - const k = {} - null === q ? (q = [k]) : q.push(k), ae++ - } - if (L === ae) return (ue.errors = [{ params: {} }]), !1 - if ( - ((ae = R), - null !== q && (R ? (q.length = R) : (q = null)), - ae === P) - ) { - if (!v || 'object' != typeof v || Array.isArray(v)) - return (ue.errors = [{ params: { type: 'object' } }]), !1 - for (const k in v) { - let P = v[k] - const R = ae, - L = ae - let le = !1 - const pe = ae - if (!1 !== P) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var me = pe === ae - if (((le = le || me), !le)) { - const R = ae - if (!(P instanceof RegExp)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (((me = R === ae), (le = le || me), !le)) { - const R = ae - if ('string' != typeof P) { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (((me = R === ae), (le = le || me), !le)) { - const R = ae - if (!(P instanceof Function)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (((me = R === ae), (le = le || me), !le)) { - const R = ae - fe(P, { - instancePath: - E + - '/cacheGroups/' + - k.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: v, - parentDataProperty: k, - rootData: N, - }) || - ((q = - null === q ? fe.errors : q.concat(fe.errors)), - (ae = q.length)), - (me = R === ae), - (le = le || me) - } - } - } - } - if (!le) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - if ( - ((ae = L), - null !== q && (L ? (q.length = L) : (q = null)), - R !== ae) - ) - break - } - } - le = P === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunks) { - let v = k.chunks - const E = ae, - P = ae - let R = !1 - const L = ae - if ('initial' !== v && 'async' !== v && 'all' !== v) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var ye = L === ae - if (((R = R || ye), !R)) { - const k = ae - if (!(v instanceof RegExp)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (((ye = k === ae), (R = R || ye), !R)) { - const k = ae - if (!(v instanceof Function)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(ye = k === ae), (R = R || ye) - } - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.defaultSizeTypes) { - let v = k.defaultSizeTypes - const E = ae - if (ae === E) { - if (!Array.isArray(v)) - return ( - (ue.errors = [{ params: { type: 'array' } }]), !1 - ) - if (v.length < 1) - return (ue.errors = [{ params: { limit: 1 } }]), !1 - { - const k = v.length - for (let E = 0; E < k; E++) { - const k = ae - if ('string' != typeof v[E]) - return ( - (ue.errors = [{ params: { type: 'string' } }]), - !1 - ) - if (k !== ae) break - } - } - } - le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.enforceSizeThreshold) { - let v = k.enforceSizeThreshold - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let me = !1 - const ye = ae - if (ae === ye) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { comparison: '>=', limit: 0 }, - } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'number' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var _e = ye === ae - if (((me = me || _e), !me)) { - const k = ae - if (ae === k) - if (v && 'object' == typeof v && !Array.isArray(v)) - for (const k in v) { - const E = ae - if ('number' != typeof v[k]) { - const k = { params: { type: 'number' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (E !== ae) break - } - else { - const k = { params: { type: 'object' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(_e = k === ae), (me = me || _e) - } - if (me) - (ae = pe), - null !== q && (pe ? (q.length = pe) : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if ((N === ae && ((R = !0), (L = 0)), !R)) { - const k = { params: { passingSchemas: L } } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.fallbackCacheGroup) { - let v = k.fallbackCacheGroup - const E = ae - if (ae === E) { - if (!v || 'object' != typeof v || Array.isArray(v)) - return ( - (ue.errors = [{ params: { type: 'object' } }]), - !1 - ) - { - const k = ae - for (const k in v) - if ( - 'automaticNameDelimiter' !== k && - 'chunks' !== k && - 'maxAsyncSize' !== k && - 'maxInitialSize' !== k && - 'maxSize' !== k && - 'minSize' !== k && - 'minSizeReduction' !== k - ) - return ( - (ue.errors = [ - { params: { additionalProperty: k } }, - ]), - !1 - ) - if (k === ae) { - if (void 0 !== v.automaticNameDelimiter) { - let k = v.automaticNameDelimiter - const E = ae - if (ae === E) { - if ('string' != typeof k) - return ( - (ue.errors = [ - { params: { type: 'string' } }, - ]), - !1 - ) - if (k.length < 1) - return (ue.errors = [{ params: {} }]), !1 - } - var Ie = E === ae - } else Ie = !0 - if (Ie) { - if (void 0 !== v.chunks) { - let k = v.chunks - const E = ae, - P = ae - let R = !1 - const L = ae - if ( - 'initial' !== k && - 'async' !== k && - 'all' !== k - ) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var Me = L === ae - if (((R = R || Me), !R)) { - const v = ae - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if ( - ((Me = v === ae), (R = R || Me), !R) - ) { - const v = ae - if (!(k instanceof Function)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), - ae++ - } - ;(Me = v === ae), (R = R || Me) - } - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (Ie = E === ae) - } else Ie = !0 - if (Ie) { - if (void 0 !== v.maxAsyncSize) { - let k = v.maxAsyncSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - le = ae - let pe = !1 - const me = ae - if (ae === me) - if ('number' == typeof k) { - if (k < 0 || isNaN(k)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - var Te = me === ae - if (((pe = pe || Te), !pe)) { - const v = ae - if (ae === v) - if ( - k && - 'object' == typeof k && - !Array.isArray(k) - ) - for (const v in k) { - const E = ae - if ('number' != typeof k[v]) { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { type: 'object' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - ;(Te = v === ae), (pe = pe || Te) - } - if (pe) - (ae = le), - null !== q && - (le ? (q.length = le) : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if ( - (N === ae && ((R = !0), (L = 0)), !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (Ie = E === ae) - } else Ie = !0 - if (Ie) { - if (void 0 !== v.maxInitialSize) { - let k = v.maxInitialSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - le = ae - let pe = !1 - const me = ae - if (ae === me) - if ('number' == typeof k) { - if (k < 0 || isNaN(k)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - var Ne = me === ae - if (((pe = pe || Ne), !pe)) { - const v = ae - if (ae === v) - if ( - k && - 'object' == typeof k && - !Array.isArray(k) - ) - for (const v in k) { - const E = ae - if ('number' != typeof k[v]) { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { type: 'object' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Ne = v === ae), (pe = pe || Ne) - } - if (pe) - (ae = le), - null !== q && - (le - ? (q.length = le) - : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), - ae++ - } - if ( - (N === ae && ((R = !0), (L = 0)), !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (Ie = E === ae) - } else Ie = !0 - if (Ie) { - if (void 0 !== v.maxSize) { - let k = v.maxSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - le = ae - let pe = !1 - const me = ae - if (ae === me) - if ('number' == typeof k) { - if (k < 0 || isNaN(k)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Be = me === ae - if (((pe = pe || Be), !pe)) { - const v = ae - if (ae === v) - if ( - k && - 'object' == typeof k && - !Array.isArray(k) - ) - for (const v in k) { - const E = ae - if ('number' != typeof k[v]) { - const k = { - params: { - type: 'number', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { type: 'object' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Be = v === ae), (pe = pe || Be) - } - if (pe) - (ae = le), - null !== q && - (le - ? (q.length = le) - : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), - ae++ - } - if ( - (N === ae && ((R = !0), (L = 0)), - !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (Ie = E === ae) - } else Ie = !0 - if (Ie) { - if (void 0 !== v.minSize) { - let k = v.minSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - le = ae - let pe = !1 - const me = ae - if (ae === me) - if ('number' == typeof k) { - if (k < 0 || isNaN(k)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var qe = me === ae - if (((pe = pe || qe), !pe)) { - const v = ae - if (ae === v) - if ( - k && - 'object' == typeof k && - !Array.isArray(k) - ) - for (const v in k) { - const E = ae - if ( - 'number' != typeof k[v] - ) { - const k = { - params: { - type: 'number', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { type: 'object' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(qe = v === ae), (pe = pe || qe) - } - if (pe) - (ae = le), - null !== q && - (le - ? (q.length = le) - : (q = null)) - else { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if ( - (N === ae && ((R = !0), (L = 0)), - !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (Ie = E === ae) - } else Ie = !0 - if (Ie) - if (void 0 !== v.minSizeReduction) { - let k = v.minSizeReduction - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - le = ae - let pe = !1 - const me = ae - if (ae === me) - if ('number' == typeof k) { - if (k < 0 || isNaN(k)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Ue = me === ae - if (((pe = pe || Ue), !pe)) { - const v = ae - if (ae === v) - if ( - k && - 'object' == typeof k && - !Array.isArray(k) - ) - for (const v in k) { - const E = ae - if ( - 'number' != typeof k[v] - ) { - const k = { - params: { - type: 'number', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { - type: 'object', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Ue = v === ae), - (pe = pe || Ue) - } - if (pe) - (ae = le), - null !== q && - (le - ? (q.length = le) - : (q = null)) - else { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if ( - (N === ae && - ((R = !0), (L = 0)), - !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (Ie = E === ae) - } else Ie = !0 - } - } - } - } - } - } - } - } - le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.filename) { - let E = k.filename - const P = ae, - R = ae - let L = !1 - const N = ae - if (ae === N) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } else if (E.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var Ge = N === ae - if (((L = L || Ge), !L)) { - const k = ae - if (!(E instanceof Function)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(Ge = k === ae), (L = L || Ge) - } - if (!L) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = R), - null !== q && (R ? (q.length = R) : (q = null)), - (le = P === ae) - } else le = !0 - if (le) { - if (void 0 !== k.hidePathInfo) { - const v = ae - if ('boolean' != typeof k.hidePathInfo) - return ( - (ue.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.maxAsyncRequests) { - let v = k.maxAsyncRequests - const E = ae - if (ae === E) { - if ('number' != typeof v) - return ( - (ue.errors = [ - { params: { type: 'number' } }, - ]), - !1 - ) - if (v < 1 || isNaN(v)) - return ( - (ue.errors = [ - { - params: { - comparison: '>=', - limit: 1, - }, - }, - ]), - !1 - ) - } - le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.maxAsyncSize) { - let v = k.maxAsyncSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let me = !1 - const ye = ae - if (ae === ye) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'number' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var He = ye === ae - if (((me = me || He), !me)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) - for (const k in v) { - const E = ae - if ('number' != typeof v[k]) { - const k = { - params: { type: 'number' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { params: { type: 'object' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(He = k === ae), (me = me || He) - } - if (me) - (ae = pe), - null !== q && - (pe ? (q.length = pe) : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if ((N === ae && ((R = !0), (L = 0)), !R)) { - const k = { params: { passingSchemas: L } } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.maxInitialRequests) { - let v = k.maxInitialRequests - const E = ae - if (ae === E) { - if ('number' != typeof v) - return ( - (ue.errors = [ - { params: { type: 'number' } }, - ]), - !1 - ) - if (v < 1 || isNaN(v)) - return ( - (ue.errors = [ - { - params: { - comparison: '>=', - limit: 1, - }, - }, - ]), - !1 - ) - } - le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.maxInitialSize) { - let v = k.maxInitialSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let me = !1 - const ye = ae - if (ae === ye) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - var We = ye === ae - if (((me = me || We), !me)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) - for (const k in v) { - const E = ae - if ('number' != typeof v[k]) { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { type: 'object' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - ;(We = k === ae), (me = me || We) - } - if (me) - (ae = pe), - null !== q && - (pe ? (q.length = pe) : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if ( - (N === ae && ((R = !0), (L = 0)), !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.maxSize) { - let v = k.maxSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let me = !1 - const ye = ae - if (ae === ye) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === q ? (q = [k]) : q.push(k), - ae++ - } - var Qe = ye === ae - if (((me = me || Qe), !me)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) - for (const k in v) { - const E = ae - if ('number' != typeof v[k]) { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { type: 'object' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Qe = k === ae), (me = me || Qe) - } - if (me) - (ae = pe), - null !== q && - (pe - ? (q.length = pe) - : (q = null)) - else { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), - ae++ - } - if ( - (N === ae && ((R = !0), (L = 0)), !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.minChunks) { - let v = k.minChunks - const E = ae - if (ae === E) { - if ('number' != typeof v) - return ( - (ue.errors = [ - { - params: { type: 'number' }, - }, - ]), - !1 - ) - if (v < 1 || isNaN(v)) - return ( - (ue.errors = [ - { - params: { - comparison: '>=', - limit: 1, - }, - }, - ]), - !1 - ) - } - le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.minRemainingSize) { - let v = k.minRemainingSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let me = !1 - const ye = ae - if (ae === ye) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Je = ye === ae - if (((me = me || Je), !me)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) - for (const k in v) { - const E = ae - if ( - 'number' != typeof v[k] - ) { - const k = { - params: { - type: 'number', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { type: 'object' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Je = k === ae), (me = me || Je) - } - if (me) - (ae = pe), - null !== q && - (pe - ? (q.length = pe) - : (q = null)) - else { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if ( - (N === ae && ((R = !0), (L = 0)), - !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.minSize) { - let v = k.minSize - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let me = !1 - const ye = ae - if (ae === ye) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { type: 'number' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Ve = ye === ae - if (((me = me || Ve), !me)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) - for (const k in v) { - const E = ae - if ( - 'number' != typeof v[k] - ) { - const k = { - params: { - type: 'number', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { - type: 'object', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Ve = k === ae), - (me = me || Ve) - } - if (me) - (ae = pe), - null !== q && - (pe - ? (q.length = pe) - : (q = null)) - else { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if ( - (N === ae && - ((R = !0), (L = 0)), - !R) - ) { - const k = { - params: { passingSchemas: L }, - } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if ( - void 0 !== k.minSizeReduction - ) { - let v = k.minSizeReduction - const E = ae, - P = ae - let R = !1, - L = null - const N = ae, - pe = ae - let me = !1 - const ye = ae - if (ae === ye) - if ('number' == typeof v) { - if (v < 0 || isNaN(v)) { - const k = { - params: { - comparison: '>=', - limit: 0, - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - } else { - const k = { - params: { - type: 'number', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Ke = ye === ae - if (((me = me || Ke), !me)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == typeof v && - !Array.isArray(v) - ) - for (const k in v) { - const E = ae - if ( - 'number' != - typeof v[k] - ) { - const k = { - params: { - type: 'number', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if (E !== ae) break - } - else { - const k = { - params: { - type: 'object', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Ke = k === ae), - (me = me || Ke) - } - if (me) - (ae = pe), - null !== q && - (pe - ? (q.length = pe) - : (q = null)) - else { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if ( - (N === ae && - ((R = !0), (L = 0)), - !R) - ) { - const k = { - params: { - passingSchemas: L, - }, - } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.name) { - let v = k.name - const E = ae, - P = ae - let R = !1 - const L = ae - if (!1 !== v) { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var Ye = L === ae - if (((R = R || Ye), !R)) { - const k = ae - if ('string' != typeof v) { - const k = { - params: { - type: 'string', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - if ( - ((Ye = k === ae), - (R = R || Ye), - !R) - ) { - const k = ae - if ( - !(v instanceof Function) - ) { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(Ye = k === ae), - (R = R || Ye) - } - } - if (!R) { - const k = { params: {} } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (ue.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (le = E === ae) - } else le = !0 - if (le) - if ( - void 0 !== k.usedExports - ) { - const v = ae - if ( - 'boolean' != - typeof k.usedExports - ) - return ( - (ue.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return (ue.errors = q), 0 === ae - } - function ce( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - if (0 === q) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (ce.errors = [{ params: { type: 'object' } }]), !1 - { - const E = q - for (const v in k) - if (!P.call(Te.properties, v)) - return (ce.errors = [{ params: { additionalProperty: v } }]), !1 - if (E === q) { - if (void 0 !== k.checkWasmTypes) { - const v = q - if ('boolean' != typeof k.checkWasmTypes) - return (ce.errors = [{ params: { type: 'boolean' } }]), !1 - var ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.chunkIds) { - let v = k.chunkIds - const E = q - if ( - 'natural' !== v && - 'named' !== v && - 'deterministic' !== v && - 'size' !== v && - 'total-size' !== v && - !1 !== v - ) - return (ce.errors = [{ params: {} }]), !1 - ae = E === q - } else ae = !0 - if (ae) { - if (void 0 !== k.concatenateModules) { - const v = q - if ('boolean' != typeof k.concatenateModules) - return (ce.errors = [{ params: { type: 'boolean' } }]), !1 - ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.emitOnErrors) { - const v = q - if ('boolean' != typeof k.emitOnErrors) - return ( - (ce.errors = [{ params: { type: 'boolean' } }]), !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.flagIncludedChunks) { - const v = q - if ('boolean' != typeof k.flagIncludedChunks) - return ( - (ce.errors = [{ params: { type: 'boolean' } }]), !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.innerGraph) { - const v = q - if ('boolean' != typeof k.innerGraph) - return ( - (ce.errors = [{ params: { type: 'boolean' } }]), - !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.mangleExports) { - let v = k.mangleExports - const E = q, - P = q - let R = !1 - const L = q - if ('size' !== v && 'deterministic' !== v) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - var le = L === q - if (((R = R || le), !R)) { - const k = q - if ('boolean' != typeof v) { - const k = { params: { type: 'boolean' } } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(le = k === q), (R = R || le) - } - if (!R) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (ce.errors = N), - !1 - ) - } - ;(q = P), - null !== N && (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.mangleWasmImports) { - const v = q - if ('boolean' != typeof k.mangleWasmImports) - return ( - (ce.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.mergeDuplicateChunks) { - const v = q - if ('boolean' != typeof k.mergeDuplicateChunks) - return ( - (ce.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.minimize) { - const v = q - if ('boolean' != typeof k.minimize) - return ( - (ce.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.minimizer) { - let v = k.minimizer - const E = q - if (q === E) { - if (!Array.isArray(v)) - return ( - (ce.errors = [ - { params: { type: 'array' } }, - ]), - !1 - ) - { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = q, - R = q - let L = !1 - const ae = q - if ('...' !== k) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), - q++ - } - var pe = ae === q - if (((L = L || pe), !L)) { - const v = q - if (q == q) - if ( - k && - 'object' == typeof k && - !Array.isArray(k) - ) { - let v - if ( - void 0 === k.apply && - (v = 'apply') - ) { - const k = { - params: { - missingProperty: v, - }, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } else if ( - void 0 !== k.apply && - !(k.apply instanceof Function) - ) { - const k = { params: {} } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - } else { - const k = { - params: { type: 'object' }, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - if ( - ((pe = v === q), - (L = L || pe), - !L) - ) { - const v = q - if (!(k instanceof Function)) { - const k = { params: {} } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - ;(pe = v === q), (L = L || pe) - } - } - if (!L) { - const k = { params: {} } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (ce.errors = N), - !1 - ) - } - if ( - ((q = R), - null !== N && - (R ? (N.length = R) : (N = null)), - P !== q) - ) - break - } - } - } - ae = E === q - } else ae = !0 - if (ae) { - if (void 0 !== k.moduleIds) { - let v = k.moduleIds - const E = q - if ( - 'natural' !== v && - 'named' !== v && - 'hashed' !== v && - 'deterministic' !== v && - 'size' !== v && - !1 !== v - ) - return ( - (ce.errors = [{ params: {} }]), !1 - ) - ae = E === q - } else ae = !0 - if (ae) { - if (void 0 !== k.noEmitOnErrors) { - const v = q - if ( - 'boolean' != typeof k.noEmitOnErrors - ) - return ( - (ce.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.nodeEnv) { - let v = k.nodeEnv - const E = q, - P = q - let R = !1 - const L = q - if (!1 !== v) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), - q++ - } - var me = L === q - if (((R = R || me), !R)) { - const k = q - if ('string' != typeof v) { - const k = { - params: { type: 'string' }, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - ;(me = k === q), (R = R || me) - } - if (!R) { - const k = { params: {} } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (ce.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.portableRecords) { - const v = q - if ( - 'boolean' != - typeof k.portableRecords - ) - return ( - (ce.errors = [ - { - params: { type: 'boolean' }, - }, - ]), - !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.providedExports) { - const v = q - if ( - 'boolean' != - typeof k.providedExports - ) - return ( - (ce.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if ( - void 0 !== k.realContentHash - ) { - const v = q - if ( - 'boolean' != - typeof k.realContentHash - ) - return ( - (ce.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.removeAvailableModules - ) { - const v = q - if ( - 'boolean' != - typeof k.removeAvailableModules - ) - return ( - (ce.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.removeEmptyChunks - ) { - const v = q - if ( - 'boolean' != - typeof k.removeEmptyChunks - ) - return ( - (ce.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - ae = v === q - } else ae = !0 - if (ae) { - if ( - void 0 !== k.runtimeChunk - ) { - let v = k.runtimeChunk - const E = q, - P = q - let R = !1 - const L = q - if ( - 'single' !== v && - 'multiple' !== v - ) { - const k = { params: {} } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - var ye = L === q - if (((R = R || ye), !R)) { - const k = q - if ( - 'boolean' != typeof v - ) { - const k = { - params: { - type: 'boolean', - }, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - if ( - ((ye = k === q), - (R = R || ye), - !R) - ) { - const k = q - if (q === k) - if ( - v && - 'object' == - typeof v && - !Array.isArray(v) - ) { - const k = q - for (const k in v) - if ( - 'name' !== k - ) { - const v = { - params: { - additionalProperty: - k, - }, - } - null === N - ? (N = [v]) - : N.push(v), - q++ - break - } - if ( - k === q && - void 0 !== - v.name - ) { - let k = v.name - const E = q - let P = !1 - const R = q - if ( - 'string' != - typeof k - ) { - const k = { - params: { - type: 'string', - }, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - var _e = R === q - if ( - ((P = - P || _e), - !P) - ) { - const v = q - if ( - !( - k instanceof - Function - ) - ) { - const k = { - params: - {}, - } - null === N - ? (N = [ - k, - ]) - : N.push( - k - ), - q++ - } - ;(_e = - v === q), - (P = - P || _e) - } - if (P) - (q = E), - null !== - N && - (E - ? (N.length = - E) - : (N = - null)) - else { - const k = { - params: {}, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - } - } else { - const k = { - params: { - type: 'object', - }, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - ;(ye = k === q), - (R = R || ye) - } - } - if (!R) { - const k = { params: {} } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (ce.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P - ? (N.length = P) - : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if ( - void 0 !== k.sideEffects - ) { - let v = k.sideEffects - const E = q, - P = q - let R = !1 - const L = q - if ('flag' !== v) { - const k = { - params: {}, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - var Ie = L === q - if ( - ((R = R || Ie), !R) - ) { - const k = q - if ( - 'boolean' != - typeof v - ) { - const k = { - params: { - type: 'boolean', - }, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - ;(Ie = k === q), - (R = R || Ie) - } - if (!R) { - const k = { - params: {}, - } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (ce.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P - ? (N.length = P) - : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) { - if ( - void 0 !== - k.splitChunks - ) { - let E = k.splitChunks - const P = q, - R = q - let le = !1 - const pe = q - if (!1 !== E) { - const k = { - params: {}, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - var Me = pe === q - if ( - ((le = le || Me), - !le) - ) { - const P = q - ue(E, { - instancePath: - v + - '/splitChunks', - parentData: k, - parentDataProperty: - 'splitChunks', - rootData: L, - }) || - ((N = - null === N - ? ue.errors - : N.concat( - ue.errors - )), - (q = N.length)), - (Me = P === q), - (le = le || Me) - } - if (!le) { - const k = { - params: {}, - } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (ce.errors = N), - !1 - ) - } - ;(q = R), - null !== N && - (R - ? (N.length = R) - : (N = null)), - (ae = P === q) - } else ae = !0 - if (ae) - if ( - void 0 !== - k.usedExports - ) { - let v = - k.usedExports - const E = q, - P = q - let R = !1 - const L = q - if ( - 'global' !== v - ) { - const k = { - params: {}, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - var je = L === q - if ( - ((R = R || je), - !R) - ) { - const k = q - if ( - 'boolean' != - typeof v - ) { - const k = { - params: { - type: 'boolean', - }, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - ;(je = k === q), - (R = R || je) - } - if (!R) { - const k = { - params: {}, - } - return ( - null === N - ? (N = [k]) - : N.push(k), - q++, - (ce.errors = N), - !1 - ) - } - ;(q = P), - null !== N && - (P - ? (N.length = - P) - : (N = null)), - (ae = E === q) - } else ae = !0 - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return (ce.errors = N), 0 === q - } - const Be = { - type: 'object', - additionalProperties: !1, - properties: { - amdContainer: { oneOf: [{ $ref: '#/definitions/AmdContainer' }] }, - assetModuleFilename: { $ref: '#/definitions/AssetModuleFilename' }, - asyncChunks: { type: 'boolean' }, - auxiliaryComment: { - 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' }, - clean: { $ref: '#/definitions/Clean' }, - compareBeforeEmit: { $ref: '#/definitions/CompareBeforeEmit' }, - crossOriginLoading: { $ref: '#/definitions/CrossOriginLoading' }, - cssChunkFilename: { $ref: '#/definitions/CssChunkFilename' }, - cssFilename: { $ref: '#/definitions/CssFilename' }, - 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', - }, - ignoreBrowserWarnings: { type: 'boolean' }, - iife: { $ref: '#/definitions/Iife' }, - importFunctionName: { $ref: '#/definitions/ImportFunctionName' }, - importMetaName: { $ref: '#/definitions/ImportMetaName' }, - library: { $ref: '#/definitions/Library' }, - libraryExport: { oneOf: [{ $ref: '#/definitions/LibraryExport' }] }, - libraryTarget: { 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' }, - strictModuleErrorHandling: { - $ref: '#/definitions/StrictModuleErrorHandling', - }, - strictModuleExceptionHandling: { - $ref: '#/definitions/StrictModuleExceptionHandling', - }, - trustedTypes: { - anyOf: [ - { enum: [!0] }, - { type: 'string', minLength: 1 }, - { $ref: '#/definitions/TrustedTypes' }, - ], - }, - umdNamedDefine: { - oneOf: [{ $ref: '#/definitions/UmdNamedDefine' }], - }, - uniqueName: { $ref: '#/definitions/UniqueName' }, - wasmLoading: { $ref: '#/definitions/WasmLoading' }, - webassemblyModuleFilename: { - $ref: '#/definitions/WebassemblyModuleFilename', - }, - workerChunkLoading: { $ref: '#/definitions/ChunkLoading' }, - workerPublicPath: { $ref: '#/definitions/WorkerPublicPath' }, - workerWasmLoading: { $ref: '#/definitions/WasmLoading' }, - }, - }, - qe = { - type: 'object', - additionalProperties: !1, - properties: { - arrowFunction: { type: 'boolean' }, - bigIntLiteral: { type: 'boolean' }, - const: { type: 'boolean' }, - destructuring: { type: 'boolean' }, - dynamicImport: { type: 'boolean' }, - dynamicImportInWorker: { type: 'boolean' }, - forOf: { type: 'boolean' }, - globalThis: { type: 'boolean' }, - module: { type: 'boolean' }, - optionalChaining: { type: 'boolean' }, - templateLiteral: { type: 'boolean' }, - }, - } - function de( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - const ae = q - let le = !1, - pe = null - const me = q, - ye = q - let _e = !1 - const Ie = q - if (q === Ie) - if ('string' == typeof k) { - if (k.includes('!') || !1 !== v.test(k)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } else if (k.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var Me = Ie === q - if (((_e = _e || Me), !_e)) { - const v = q - if (!(k instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(Me = v === q), (_e = _e || Me) - } - if (_e) (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - if ((me === q && ((le = !0), (pe = 0)), !le)) { - const k = { params: { passingSchemas: pe } } - return null === N ? (N = [k]) : N.push(k), q++, (de.errors = N), !1 - } - return ( - (q = ae), - null !== N && (ae ? (N.length = ae) : (N = null)), - (de.errors = N), - 0 === q - ) - } - function he( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - const ae = q - let le = !1 - const pe = q - if ('boolean' != typeof k) { - const k = { params: { type: 'boolean' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var me = pe === q - if (((le = le || me), !le)) { - const E = q - if (q == q) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const E = q - for (const v in k) - if ('dry' !== v && 'keep' !== v) { - const k = { params: { additionalProperty: v } } - null === N ? (N = [k]) : N.push(k), q++ - break - } - if (E === q) { - if (void 0 !== k.dry) { - const v = q - if ('boolean' != typeof k.dry) { - const k = { params: { type: 'boolean' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var ye = v === q - } else ye = !0 - if (ye) - if (void 0 !== k.keep) { - let E = k.keep - const P = q, - R = q - let L = !1 - const ae = q - if (!(E instanceof RegExp)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - var _e = ae === q - if (((L = L || _e), !L)) { - const k = q - if (q === k) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (((_e = k === q), (L = L || _e), !L)) { - const k = q - if (!(E instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(_e = k === q), (L = L || _e) - } - } - if (L) - (q = R), null !== N && (R ? (N.length = R) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ye = P === q - } else ye = !0 - } - } else { - const k = { params: { type: 'object' } } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(me = E === q), (le = le || me) - } - if (!le) { - const k = { params: {} } - return null === N ? (N = [k]) : N.push(k), q++, (he.errors = N), !1 - } - return ( - (q = ae), - null !== N && (ae ? (N.length = ae) : (N = null)), - (he.errors = N), - 0 === q - ) - } - function ge( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - const ae = q - let le = !1, - pe = null - const me = q, - ye = q - let _e = !1 - const Ie = q - if (q === Ie) - if ('string' == typeof k) { - if (k.includes('!') || !1 !== v.test(k)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } else if (k.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var Me = Ie === q - if (((_e = _e || Me), !_e)) { - const v = q - if (!(k instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(Me = v === q), (_e = _e || Me) - } - if (_e) (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - if ((me === q && ((le = !0), (pe = 0)), !le)) { - const k = { params: { passingSchemas: pe } } - return null === N ? (N = [k]) : N.push(k), q++, (ge.errors = N), !1 - } - return ( - (q = ae), - null !== N && (ae ? (N.length = ae) : (N = null)), - (ge.errors = N), - 0 === q - ) - } - function be( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - const ae = q - let le = !1, - pe = null - const me = q, - ye = q - let _e = !1 - const Ie = q - if (q === Ie) - if ('string' == typeof k) { - if (k.includes('!') || !1 !== v.test(k)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } else if (k.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var Me = Ie === q - if (((_e = _e || Me), !_e)) { - const v = q - if (!(k instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(Me = v === q), (_e = _e || Me) - } - if (_e) (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - if ((me === q && ((le = !0), (pe = 0)), !le)) { - const k = { params: { passingSchemas: pe } } - return null === N ? (N = [k]) : N.push(k), q++, (be.errors = N), !1 - } - return ( - (q = ae), - null !== N && (ae ? (N.length = ae) : (N = null)), - (be.errors = N), - 0 === q - ) - } - function ve( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!Array.isArray(k)) - return (ve.errors = [{ params: { type: 'array' } }]), !1 - { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = N, - R = N - let ae = !1 - const le = N - if ( - 'jsonp' !== v && - 'import-scripts' !== v && - 'require' !== v && - 'async-node' !== v && - 'import' !== v - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = le === N - if (((ae = ae || q), !ae)) { - const k = N - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(q = k === N), (ae = ae || q) - } - if (!ae) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), N++, (ve.errors = L), !1 - ) - } - if ( - ((N = R), - null !== L && (R ? (L.length = R) : (L = null)), - P !== N) - ) - break - } - } - } - return (ve.errors = L), 0 === N - } - function Pe( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!Array.isArray(k)) - return (Pe.errors = [{ params: { type: 'array' } }]), !1 - { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = N, - R = N - let ae = !1 - const le = N - if ( - 'var' !== v && - 'module' !== v && - 'assign' !== v && - 'assign-properties' !== v && - 'this' !== v && - 'window' !== v && - 'self' !== v && - 'global' !== v && - 'commonjs' !== v && - 'commonjs2' !== v && - 'commonjs-module' !== v && - 'commonjs-static' !== v && - 'amd' !== v && - 'amd-require' !== v && - 'umd' !== v && - 'umd2' !== v && - 'jsonp' !== v && - 'system' !== v - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = le === N - if (((ae = ae || q), !ae)) { - const k = N - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(q = k === N), (ae = ae || q) - } - if (!ae) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), N++, (Pe.errors = L), !1 - ) - } - if ( - ((N = R), - null !== L && (R ? (L.length = R) : (L = null)), - P !== N) - ) - break - } - } - } - return (Pe.errors = L), 0 === N - } - function De( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!Array.isArray(k)) - return (De.errors = [{ params: { type: 'array' } }]), !1 - { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = N, - R = N - let ae = !1 - const le = N - if ( - 'fetch-streaming' !== v && - 'fetch' !== v && - 'async-node' !== v - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = le === N - if (((ae = ae || q), !ae)) { - const k = N - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(q = k === N), (ae = ae || q) - } - if (!ae) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), N++, (De.errors = L), !1 - ) - } - if ( - ((N = R), - null !== L && (R ? (L.length = R) : (L = null)), - P !== N) - ) - break - } - } - } - return (De.errors = L), 0 === N - } - function Oe( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - const ae = q - let le = !1, - pe = null - const me = q, - ye = q - let _e = !1 - const Ie = q - if (q === Ie) - if ('string' == typeof k) { - if (k.includes('!') || !1 !== v.test(k)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } else if (k.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var Me = Ie === q - if (((_e = _e || Me), !_e)) { - const v = q - if (!(k instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(Me = v === q), (_e = _e || Me) - } - if (_e) (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - if ((me === q && ((le = !0), (pe = 0)), !le)) { - const k = { params: { passingSchemas: pe } } - return null === N ? (N = [k]) : N.push(k), q++, (Oe.errors = N), !1 - } - return ( - (q = ae), - null !== N && (ae ? (N.length = ae) : (N = null)), - (Oe.errors = N), - 0 === q - ) - } - function xe( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - f(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || ((L = null === L ? f.errors : L.concat(f.errors)), (N = L.length)) - var pe = le === N - if (((ae = ae || pe), !ae)) { - const q = N - u(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? u.errors : L.concat(u.errors)), (N = L.length)), - (pe = q === N), - (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (xe.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (xe.errors = L), - 0 === N - ) - } - function Ae( - k, - { - instancePath: E = '', - parentData: R, - parentDataProperty: L, - rootData: N = k, - } = {} - ) { - let q = null, - ae = 0 - if (0 === ae) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (Ae.errors = [{ params: { type: 'object' } }]), !1 - { - const R = ae - for (const v in k) - if (!P.call(Be.properties, v)) - return (Ae.errors = [{ params: { additionalProperty: v } }]), !1 - if (R === ae) { - if (void 0 !== k.amdContainer) { - let v = k.amdContainer - const E = ae, - P = ae - let R = !1, - L = null - const N = ae - if (ae == ae) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - if ((N === ae && ((R = !0), (L = 0)), !R)) { - const k = { params: { passingSchemas: L } } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (Ae.errors = q), - !1 - ) - } - ;(ae = P), null !== q && (P ? (q.length = P) : (q = null)) - var le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.assetModuleFilename) { - let E = k.assetModuleFilename - const P = ae, - R = ae - let L = !1 - const N = ae - if (ae === N) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - var pe = N === ae - if (((L = L || pe), !L)) { - const k = ae - if (!(E instanceof Function)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(pe = k === ae), (L = L || pe) - } - if (!L) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (Ae.errors = q), - !1 - ) - } - ;(ae = R), - null !== q && (R ? (q.length = R) : (q = null)), - (le = P === ae) - } else le = !0 - if (le) { - if (void 0 !== k.asyncChunks) { - const v = ae - if ('boolean' != typeof k.asyncChunks) - return (Ae.errors = [{ params: { type: 'boolean' } }]), !1 - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.auxiliaryComment) { - const v = ae, - P = ae - let R = !1, - L = null - const pe = ae - if ( - (p(k.auxiliaryComment, { - instancePath: E + '/auxiliaryComment', - parentData: k, - parentDataProperty: 'auxiliaryComment', - rootData: N, - }) || - ((q = null === q ? p.errors : q.concat(p.errors)), - (ae = q.length)), - pe === ae && ((R = !0), (L = 0)), - !R) - ) { - const k = { params: { passingSchemas: L } } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (Ae.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (le = v === ae) - } else le = !0 - if (le) { - if (void 0 !== k.charset) { - const v = ae - if ('boolean' != typeof k.charset) - return ( - (Ae.errors = [{ params: { type: 'boolean' } }]), !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunkFilename) { - const v = ae - de(k.chunkFilename, { - instancePath: E + '/chunkFilename', - parentData: k, - parentDataProperty: 'chunkFilename', - rootData: N, - }) || - ((q = null === q ? de.errors : q.concat(de.errors)), - (ae = q.length)), - (le = v === ae) - } else le = !0 - if (le) { - if (void 0 !== k.chunkFormat) { - let v = k.chunkFormat - const E = ae, - P = ae - let R = !1 - const L = ae - if ( - 'array-push' !== v && - 'commonjs' !== v && - 'module' !== v && - !1 !== v - ) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var me = L === ae - if (((R = R || me), !R)) { - const k = ae - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(me = k === ae), (R = R || me) - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (Ae.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.chunkLoadTimeout) { - const v = ae - if ('number' != typeof k.chunkLoadTimeout) - return ( - (Ae.errors = [ - { params: { type: 'number' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunkLoading) { - const v = ae - a(k.chunkLoading, { - instancePath: E + '/chunkLoading', - parentData: k, - parentDataProperty: 'chunkLoading', - rootData: N, - }) || - ((q = - null === q ? a.errors : q.concat(a.errors)), - (ae = q.length)), - (le = v === ae) - } else le = !0 - if (le) { - if (void 0 !== k.chunkLoadingGlobal) { - const v = ae - if ('string' != typeof k.chunkLoadingGlobal) - return ( - (Ae.errors = [ - { params: { type: 'string' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.clean) { - const v = ae - he(k.clean, { - instancePath: E + '/clean', - parentData: k, - parentDataProperty: 'clean', - rootData: N, - }) || - ((q = - null === q - ? he.errors - : q.concat(he.errors)), - (ae = q.length)), - (le = v === ae) - } else le = !0 - if (le) { - if (void 0 !== k.compareBeforeEmit) { - const v = ae - if ( - 'boolean' != typeof k.compareBeforeEmit - ) - return ( - (Ae.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.crossOriginLoading) { - let v = k.crossOriginLoading - const E = ae - if ( - !1 !== v && - 'anonymous' !== v && - 'use-credentials' !== v - ) - return ( - (Ae.errors = [{ params: {} }]), !1 - ) - le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.cssChunkFilename) { - const v = ae - ge(k.cssChunkFilename, { - instancePath: - E + '/cssChunkFilename', - parentData: k, - parentDataProperty: - 'cssChunkFilename', - rootData: N, - }) || - ((q = - null === q - ? ge.errors - : q.concat(ge.errors)), - (ae = q.length)), - (le = v === ae) - } else le = !0 - if (le) { - if (void 0 !== k.cssFilename) { - const v = ae - be(k.cssFilename, { - instancePath: E + '/cssFilename', - parentData: k, - parentDataProperty: 'cssFilename', - rootData: N, - }) || - ((q = - null === q - ? be.errors - : q.concat(be.errors)), - (ae = q.length)), - (le = v === ae) - } else le = !0 - if (le) { - if ( - void 0 !== - k.devtoolFallbackModuleFilenameTemplate - ) { - let v = - k.devtoolFallbackModuleFilenameTemplate - const E = ae, - P = ae - let R = !1 - const L = ae - if ('string' != typeof v) { - const k = { - params: { type: 'string' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var ye = L === ae - if (((R = R || ye), !R)) { - const k = ae - if (!(v instanceof Function)) { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(ye = k === ae), (R = R || ye) - } - if (!R) { - const k = { params: {} } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (Ae.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if ( - void 0 !== - k.devtoolModuleFilenameTemplate - ) { - let v = - k.devtoolModuleFilenameTemplate - const E = ae, - P = ae - let R = !1 - const L = ae - if ('string' != typeof v) { - const k = { - params: { type: 'string' }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var _e = L === ae - if (((R = R || _e), !R)) { - const k = ae - if ( - !(v instanceof Function) - ) { - const k = { params: {} } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(_e = k === ae), - (R = R || _e) - } - if (!R) { - const k = { params: {} } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (Ae.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if ( - void 0 !== k.devtoolNamespace - ) { - const v = ae - if ( - 'string' != - typeof k.devtoolNamespace - ) - return ( - (Ae.errors = [ - { - params: { - type: 'string', - }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if ( - void 0 !== - k.enabledChunkLoadingTypes - ) { - const v = ae - ve( - k.enabledChunkLoadingTypes, - { - instancePath: - E + - '/enabledChunkLoadingTypes', - parentData: k, - parentDataProperty: - 'enabledChunkLoadingTypes', - rootData: N, - } - ) || - ((q = - null === q - ? ve.errors - : q.concat( - ve.errors - )), - (ae = q.length)), - (le = v === ae) - } else le = !0 - if (le) { - if ( - void 0 !== - k.enabledLibraryTypes - ) { - const v = ae - Pe( - k.enabledLibraryTypes, - { - instancePath: - E + - '/enabledLibraryTypes', - parentData: k, - parentDataProperty: - 'enabledLibraryTypes', - rootData: N, - } - ) || - ((q = - null === q - ? Pe.errors - : q.concat( - Pe.errors - )), - (ae = q.length)), - (le = v === ae) - } else le = !0 - if (le) { - if ( - void 0 !== - k.enabledWasmLoadingTypes - ) { - const v = ae - De( - k.enabledWasmLoadingTypes, - { - instancePath: - E + - '/enabledWasmLoadingTypes', - parentData: k, - parentDataProperty: - 'enabledWasmLoadingTypes', - rootData: N, - } - ) || - ((q = - null === q - ? De.errors - : q.concat( - De.errors - )), - (ae = q.length)), - (le = v === ae) - } else le = !0 - if (le) { - if ( - void 0 !== - k.environment - ) { - let v = k.environment - const E = ae - if (ae == ae) { - if ( - !v || - 'object' != - typeof v || - Array.isArray(v) - ) - return ( - (Ae.errors = [ - { - params: { - type: 'object', - }, - }, - ]), - !1 - ) - { - const k = ae - for (const k in v) - if ( - !P.call( - qe.properties, - k - ) - ) - return ( - (Ae.errors = - [ - { - params: - { - additionalProperty: - k, - }, - }, - ]), - !1 - ) - if (k === ae) { - if ( - void 0 !== - v.arrowFunction - ) { - const k = ae - if ( - 'boolean' != - typeof v.arrowFunction - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - var Ie = - k === ae - } else Ie = !0 - if (Ie) { - if ( - void 0 !== - v.bigIntLiteral - ) { - const k = ae - if ( - 'boolean' != - typeof v.bigIntLiteral - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Ie = - k === ae - } else Ie = !0 - if (Ie) { - if ( - void 0 !== - v.const - ) { - const k = - ae - if ( - 'boolean' != - typeof v.const - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Ie = - k === ae - } else - Ie = !0 - if (Ie) { - if ( - void 0 !== - v.destructuring - ) { - const k = - ae - if ( - 'boolean' != - typeof v.destructuring - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Ie = - k === - ae - } else - Ie = !0 - if (Ie) { - if ( - void 0 !== - v.dynamicImport - ) { - const k = - ae - if ( - 'boolean' != - typeof v.dynamicImport - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Ie = - k === - ae - } else - Ie = - !0 - if ( - Ie - ) { - if ( - void 0 !== - v.dynamicImportInWorker - ) { - const k = - ae - if ( - 'boolean' != - typeof v.dynamicImportInWorker - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Ie = - k === - ae - } else - Ie = - !0 - if ( - Ie - ) { - if ( - void 0 !== - v.forOf - ) { - const k = - ae - if ( - 'boolean' != - typeof v.forOf - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Ie = - k === - ae - } else - Ie = - !0 - if ( - Ie - ) { - if ( - void 0 !== - v.globalThis - ) { - const k = - ae - if ( - 'boolean' != - typeof v.globalThis - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Ie = - k === - ae - } else - Ie = - !0 - if ( - Ie - ) { - if ( - void 0 !== - v.module - ) { - const k = - ae - if ( - 'boolean' != - typeof v.module - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Ie = - k === - ae - } else - Ie = - !0 - if ( - Ie - ) { - if ( - void 0 !== - v.optionalChaining - ) { - const k = - ae - if ( - 'boolean' != - typeof v.optionalChaining - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Ie = - k === - ae - } else - Ie = - !0 - if ( - Ie - ) - if ( - void 0 !== - v.templateLiteral - ) { - const k = - ae - if ( - 'boolean' != - typeof v.templateLiteral - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Ie = - k === - ae - } else - Ie = - !0 - } - } - } - } - } - } - } - } - } - } - } - } - le = E === ae - } else le = !0 - if (le) { - if ( - void 0 !== - k.filename - ) { - const v = ae - Oe(k.filename, { - instancePath: - E + '/filename', - parentData: k, - parentDataProperty: - 'filename', - rootData: N, - }) || - ((q = - null === q - ? Oe.errors - : q.concat( - Oe.errors - )), - (ae = q.length)), - (le = v === ae) - } else le = !0 - if (le) { - if ( - void 0 !== - k.globalObject - ) { - let v = - k.globalObject - const E = ae - if (ae == ae) { - if ( - 'string' != - typeof v - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - if ( - v.length < 1 - ) - return ( - (Ae.errors = - [ - { - params: - {}, - }, - ]), - !1 - ) - } - le = E === ae - } else le = !0 - if (le) { - if ( - void 0 !== - k.hashDigest - ) { - const v = ae - if ( - 'string' != - typeof k.hashDigest - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if ( - void 0 !== - k.hashDigestLength - ) { - let v = - k.hashDigestLength - const E = ae - if ( - ae == ae - ) { - if ( - 'number' != - typeof v - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'number', - }, - }, - ]), - !1 - ) - if ( - v < 1 || - isNaN(v) - ) - return ( - (Ae.errors = - [ - { - params: - { - comparison: - '>=', - limit: 1, - }, - }, - ]), - !1 - ) - } - le = E === ae - } else le = !0 - if (le) { - if ( - void 0 !== - k.hashFunction - ) { - let v = - k.hashFunction - const E = - ae, - P = ae - let R = !1 - const L = ae - if ( - ae === L - ) - if ( - 'string' == - typeof v - ) { - if ( - v.length < - 1 - ) { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - var Me = - L === ae - if ( - ((R = - R || - Me), - !R) - ) { - const k = - ae - if ( - !( - v instanceof - Function - ) - ) { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - ;(Me = - k === - ae), - (R = - R || - Me) - } - if (!R) { - const k = - { - params: - {}, - } - return ( - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++, - (Ae.errors = - q), - !1 - ) - } - ;(ae = P), - null !== - q && - (P - ? (q.length = - P) - : (q = - null)), - (le = - E === - ae) - } else le = !0 - if (le) { - if ( - void 0 !== - k.hashSalt - ) { - let v = - k.hashSalt - const E = - ae - if ( - ae == ae - ) { - if ( - 'string' != - typeof v - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - if ( - v.length < - 1 - ) - return ( - (Ae.errors = - [ - { - params: - {}, - }, - ]), - !1 - ) - } - le = - E === ae - } else - le = !0 - if (le) { - if ( - void 0 !== - k.hotUpdateChunkFilename - ) { - let E = - k.hotUpdateChunkFilename - const P = - ae - if ( - ae == - ae - ) { - if ( - 'string' != - typeof E - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - if ( - E.includes( - '!' - ) || - !1 !== - v.test( - E - ) - ) - return ( - (Ae.errors = - [ - { - params: - {}, - }, - ]), - !1 - ) - } - le = - P === - ae - } else - le = !0 - if (le) { - if ( - void 0 !== - k.hotUpdateGlobal - ) { - const v = - ae - if ( - 'string' != - typeof k.hotUpdateGlobal - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.hotUpdateMainFilename - ) { - let E = - k.hotUpdateMainFilename - const P = - ae - if ( - ae == - ae - ) { - if ( - 'string' != - typeof E - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - if ( - E.includes( - '!' - ) || - !1 !== - v.test( - E - ) - ) - return ( - (Ae.errors = - [ - { - params: - {}, - }, - ]), - !1 - ) - } - le = - P === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.ignoreBrowserWarnings - ) { - const v = - ae - if ( - 'boolean' != - typeof k.ignoreBrowserWarnings - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.iife - ) { - const v = - ae - if ( - 'boolean' != - typeof k.iife - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.importFunctionName - ) { - const v = - ae - if ( - 'string' != - typeof k.importFunctionName - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.importMetaName - ) { - const v = - ae - if ( - 'string' != - typeof k.importMetaName - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.library - ) { - const v = - ae - xe( - k.library, - { - instancePath: - E + - '/library', - parentData: - k, - parentDataProperty: - 'library', - rootData: - N, - } - ) || - ((q = - null === - q - ? xe.errors - : q.concat( - xe.errors - )), - (ae = - q.length)), - (le = - v === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.libraryExport - ) { - let v = - k.libraryExport - const E = - ae, - P = - ae - let R = - !1, - L = - null - const N = - ae, - pe = - ae - let me = - !1 - const ye = - ae - if ( - ae === - ye - ) - if ( - Array.isArray( - v - ) - ) { - const k = - v.length - for ( - let E = 0; - E < - k; - E++ - ) { - let k = - v[ - E - ] - const P = - ae - if ( - ae === - P - ) - if ( - 'string' == - typeof k - ) { - if ( - k.length < - 1 - ) { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - if ( - P !== - ae - ) - break - } - } else { - const k = - { - params: - { - type: 'array', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - var Te = - ye === - ae - if ( - ((me = - me || - Te), - !me) - ) { - const k = - ae - if ( - ae === - k - ) - if ( - 'string' == - typeof v - ) { - if ( - v.length < - 1 - ) { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - ;(Te = - k === - ae), - (me = - me || - Te) - } - if ( - me - ) - (ae = - pe), - null !== - q && - (pe - ? (q.length = - pe) - : (q = - null)) - else { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - if ( - (N === - ae && - ((R = - !0), - (L = 0)), - !R) - ) { - const k = - { - params: - { - passingSchemas: - L, - }, - } - return ( - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++, - (Ae.errors = - q), - !1 - ) - } - ;(ae = - P), - null !== - q && - (P - ? (q.length = - P) - : (q = - null)), - (le = - E === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.libraryTarget - ) { - let v = - k.libraryTarget - const E = - ae, - P = - ae - let R = - !1, - L = - null - const N = - ae, - pe = - ae - let me = - !1 - const ye = - ae - if ( - 'var' !== - v && - 'module' !== - v && - 'assign' !== - v && - 'assign-properties' !== - v && - 'this' !== - v && - 'window' !== - v && - 'self' !== - v && - 'global' !== - v && - 'commonjs' !== - v && - 'commonjs2' !== - v && - 'commonjs-module' !== - v && - 'commonjs-static' !== - v && - 'amd' !== - v && - 'amd-require' !== - v && - 'umd' !== - v && - 'umd2' !== - v && - 'jsonp' !== - v && - 'system' !== - v - ) { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - var je = - ye === - ae - if ( - ((me = - me || - je), - !me) - ) { - const k = - ae - if ( - 'string' != - typeof v - ) { - const k = - { - params: - { - type: 'string', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - ;(je = - k === - ae), - (me = - me || - je) - } - if ( - me - ) - (ae = - pe), - null !== - q && - (pe - ? (q.length = - pe) - : (q = - null)) - else { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - if ( - (N === - ae && - ((R = - !0), - (L = 0)), - !R) - ) { - const k = - { - params: - { - passingSchemas: - L, - }, - } - return ( - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++, - (Ae.errors = - q), - !1 - ) - } - ;(ae = - P), - null !== - q && - (P - ? (q.length = - P) - : (q = - null)), - (le = - E === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.module - ) { - const v = - ae - if ( - 'boolean' != - typeof k.module - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.path - ) { - let E = - k.path - const P = - ae - if ( - ae == - ae - ) { - if ( - 'string' != - typeof E - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - if ( - E.includes( - '!' - ) || - !0 !== - v.test( - E - ) - ) - return ( - (Ae.errors = - [ - { - params: - {}, - }, - ]), - !1 - ) - } - le = - P === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.pathinfo - ) { - let v = - k.pathinfo - const E = - ae, - P = - ae - let R = - !1 - const L = - ae - if ( - 'verbose' !== - v - ) { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - var Ne = - L === - ae - if ( - ((R = - R || - Ne), - !R) - ) { - const k = - ae - if ( - 'boolean' != - typeof v - ) { - const k = - { - params: - { - type: 'boolean', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - ;(Ne = - k === - ae), - (R = - R || - Ne) - } - if ( - !R - ) { - const k = - { - params: - {}, - } - return ( - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++, - (Ae.errors = - q), - !1 - ) - } - ;(ae = - P), - null !== - q && - (P - ? (q.length = - P) - : (q = - null)), - (le = - E === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.publicPath - ) { - const v = - ae - c( - k.publicPath, - { - instancePath: - E + - '/publicPath', - parentData: - k, - parentDataProperty: - 'publicPath', - rootData: - N, - } - ) || - ((q = - null === - q - ? c.errors - : q.concat( - c.errors - )), - (ae = - q.length)), - (le = - v === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.scriptType - ) { - let v = - k.scriptType - const E = - ae - if ( - !1 !== - v && - 'text/javascript' !== - v && - 'module' !== - v - ) - return ( - (Ae.errors = - [ - { - params: - {}, - }, - ]), - !1 - ) - le = - E === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.sourceMapFilename - ) { - let E = - k.sourceMapFilename - const P = - ae - if ( - ae == - ae - ) { - if ( - 'string' != - typeof E - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - if ( - E.includes( - '!' - ) || - !1 !== - v.test( - E - ) - ) - return ( - (Ae.errors = - [ - { - params: - {}, - }, - ]), - !1 - ) - } - le = - P === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.sourcePrefix - ) { - const v = - ae - if ( - 'string' != - typeof k.sourcePrefix - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.strictModuleErrorHandling - ) { - const v = - ae - if ( - 'boolean' != - typeof k.strictModuleErrorHandling - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.strictModuleExceptionHandling - ) { - const v = - ae - if ( - 'boolean' != - typeof k.strictModuleExceptionHandling - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.trustedTypes - ) { - let v = - k.trustedTypes - const E = - ae, - P = - ae - let R = - !1 - const L = - ae - if ( - !0 !== - v - ) { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - var Ue = - L === - ae - if ( - ((R = - R || - Ue), - !R) - ) { - const k = - ae - if ( - ae === - k - ) - if ( - 'string' == - typeof v - ) { - if ( - v.length < - 1 - ) { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - if ( - ((Ue = - k === - ae), - (R = - R || - Ue), - !R) - ) { - const k = - ae - if ( - ae == - ae - ) - if ( - v && - 'object' == - typeof v && - !Array.isArray( - v - ) - ) { - const k = - ae - for (const k in v) - if ( - 'onPolicyCreationFailure' !== - k && - 'policyName' !== - k - ) { - const v = - { - params: - { - additionalProperty: - k, - }, - } - null === - q - ? (q = - [ - v, - ]) - : q.push( - v - ), - ae++ - break - } - if ( - k === - ae - ) { - if ( - void 0 !== - v.onPolicyCreationFailure - ) { - let k = - v.onPolicyCreationFailure - const E = - ae - if ( - 'continue' !== - k && - 'stop' !== - k - ) { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - var Ge = - E === - ae - } else - Ge = - !0 - if ( - Ge - ) - if ( - void 0 !== - v.policyName - ) { - let k = - v.policyName - const E = - ae - if ( - ae === - E - ) - if ( - 'string' == - typeof k - ) { - if ( - k.length < - 1 - ) { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - Ge = - E === - ae - } else - Ge = - !0 - } - } else { - const k = - { - params: - { - type: 'object', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - ;(Ue = - k === - ae), - (R = - R || - Ue) - } - } - if ( - !R - ) { - const k = - { - params: - {}, - } - return ( - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++, - (Ae.errors = - q), - !1 - ) - } - ;(ae = - P), - null !== - q && - (P - ? (q.length = - P) - : (q = - null)), - (le = - E === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.umdNamedDefine - ) { - const v = - ae, - E = - ae - let P = - !1, - R = - null - const L = - ae - if ( - 'boolean' != - typeof k.umdNamedDefine - ) { - const k = - { - params: - { - type: 'boolean', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - if ( - (L === - ae && - ((P = - !0), - (R = 0)), - !P) - ) { - const k = - { - params: - { - passingSchemas: - R, - }, - } - return ( - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++, - (Ae.errors = - q), - !1 - ) - } - ;(ae = - E), - null !== - q && - (E - ? (q.length = - E) - : (q = - null)), - (le = - v === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.uniqueName - ) { - let v = - k.uniqueName - const E = - ae - if ( - ae == - ae - ) { - if ( - 'string' != - typeof v - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - if ( - v.length < - 1 - ) - return ( - (Ae.errors = - [ - { - params: - {}, - }, - ]), - !1 - ) - } - le = - E === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.wasmLoading - ) { - const v = - ae - y( - k.wasmLoading, - { - instancePath: - E + - '/wasmLoading', - parentData: - k, - parentDataProperty: - 'wasmLoading', - rootData: - N, - } - ) || - ((q = - null === - q - ? y.errors - : q.concat( - y.errors - )), - (ae = - q.length)), - (le = - v === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.webassemblyModuleFilename - ) { - let E = - k.webassemblyModuleFilename - const P = - ae - if ( - ae == - ae - ) { - if ( - 'string' != - typeof E - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - if ( - E.includes( - '!' - ) || - !1 !== - v.test( - E - ) - ) - return ( - (Ae.errors = - [ - { - params: - {}, - }, - ]), - !1 - ) - } - le = - P === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.workerChunkLoading - ) { - const v = - ae - a( - k.workerChunkLoading, - { - instancePath: - E + - '/workerChunkLoading', - parentData: - k, - parentDataProperty: - 'workerChunkLoading', - rootData: - N, - } - ) || - ((q = - null === - q - ? a.errors - : q.concat( - a.errors - )), - (ae = - q.length)), - (le = - v === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.workerPublicPath - ) { - const v = - ae - if ( - 'string' != - typeof k.workerPublicPath - ) - return ( - (Ae.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) - if ( - void 0 !== - k.workerWasmLoading - ) { - const v = - ae - y( - k.workerWasmLoading, - { - instancePath: - E + - '/workerWasmLoading', - parentData: - k, - parentDataProperty: - 'workerWasmLoading', - rootData: - N, - } - ) || - ((q = - null === - q - ? y.errors - : q.concat( - y.errors - )), - (ae = - q.length)), - (le = - v === - ae) - } else - le = - !0 - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return (Ae.errors = q), 0 === ae - } - function Ce( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (!1 !== k) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const v = N - if (N == N) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const v = N - for (const v in k) - if ( - 'assetFilter' !== v && - 'hints' !== v && - 'maxAssetSize' !== v && - 'maxEntrypointSize' !== v - ) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (v === N) { - if (void 0 !== k.assetFilter) { - const v = N - if (!(k.assetFilter instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = v === N - } else me = !0 - if (me) { - if (void 0 !== k.hints) { - let v = k.hints - const E = N - if (!1 !== v && 'warning' !== v && 'error' !== v) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - me = E === N - } else me = !0 - if (me) { - if (void 0 !== k.maxAssetSize) { - const v = N - if ('number' != typeof k.maxAssetSize) { - const k = { params: { type: 'number' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = v === N - } else me = !0 - if (me) - if (void 0 !== k.maxEntrypointSize) { - const v = N - if ('number' != typeof k.maxEntrypointSize) { - const k = { params: { type: 'number' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = v === N - } else me = !0 - } - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (Ce.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (Ce.errors = L), - 0 === N - ) - } - function ke( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!Array.isArray(k)) - return (ke.errors = [{ params: { type: 'array' } }]), !1 - { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = N, - R = N - let ae = !1 - const le = N - if (N == N) - if (v && 'object' == typeof v && !Array.isArray(v)) { - let k - if (void 0 === v.apply && (k = 'apply')) { - const v = { params: { missingProperty: k } } - null === L ? (L = [v]) : L.push(v), N++ - } else if ( - void 0 !== v.apply && - !(v.apply instanceof Function) - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = le === N - if (((ae = ae || q), !ae)) { - const k = N - if (!(v instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(q = k === N), (ae = ae || q) - } - if (!ae) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), N++, (ke.errors = L), !1 - ) - } - if ( - ((N = R), - null !== L && (R ? (L.length = R) : (L = null)), - P !== N) - ) - break - } - } - } - return (ke.errors = L), 0 === N - } - function $e( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1, - le = null - const pe = N - if ( - (H(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? H.errors : L.concat(H.errors)), (N = L.length)), - pe === N && ((ae = !0), (le = 0)), - !ae) - ) { - const k = { params: { passingSchemas: le } } - return null === L ? (L = [k]) : L.push(k), N++, ($e.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - ($e.errors = L), - 0 === N - ) - } - function Se( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1, - le = null - const pe = N - if ( - (H(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? H.errors : L.concat(H.errors)), (N = L.length)), - pe === N && ((ae = !0), (le = 0)), - !ae) - ) { - const k = { params: { passingSchemas: le } } - return null === L ? (L = [k]) : L.push(k), N++, (Se.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (Se.errors = L), - 0 === N - ) - } - const Ue = { - type: 'object', - additionalProperties: !1, - properties: { - all: { type: 'boolean' }, - assets: { type: 'boolean' }, - assetsSort: { type: 'string' }, - assetsSpace: { type: 'number' }, - builtAt: { type: 'boolean' }, - cached: { type: 'boolean' }, - cachedAssets: { type: 'boolean' }, - cachedModules: { type: 'boolean' }, - children: { type: 'boolean' }, - chunkGroupAuxiliary: { type: 'boolean' }, - chunkGroupChildren: { type: 'boolean' }, - chunkGroupMaxAssets: { type: 'number' }, - chunkGroups: { type: 'boolean' }, - chunkModules: { type: 'boolean' }, - chunkModulesSpace: { type: 'number' }, - chunkOrigins: { type: 'boolean' }, - chunkRelations: { type: 'boolean' }, - chunks: { type: 'boolean' }, - chunksSort: { type: 'string' }, - colors: { - anyOf: [ - { type: 'boolean' }, - { - type: 'object', - additionalProperties: !1, - properties: { - bold: { type: 'string' }, - cyan: { type: 'string' }, - green: { type: 'string' }, - magenta: { type: 'string' }, - red: { type: 'string' }, - yellow: { type: 'string' }, - }, - }, - ], - }, - context: { type: 'string', absolutePath: !0 }, - dependentModules: { type: 'boolean' }, - depth: { type: 'boolean' }, - entrypoints: { anyOf: [{ enum: ['auto'] }, { type: 'boolean' }] }, - env: { type: 'boolean' }, - errorDetails: { anyOf: [{ enum: ['auto'] }, { type: 'boolean' }] }, - errorStack: { type: 'boolean' }, - errors: { type: 'boolean' }, - errorsCount: { type: 'boolean' }, - errorsSpace: { type: 'number' }, - exclude: { - anyOf: [ - { type: 'boolean' }, - { $ref: '#/definitions/ModuleFilterTypes' }, - ], - }, - excludeAssets: { - oneOf: [{ $ref: '#/definitions/AssetFilterTypes' }], - }, - excludeModules: { - anyOf: [ - { type: 'boolean' }, - { $ref: '#/definitions/ModuleFilterTypes' }, - ], - }, - groupAssetsByChunk: { type: 'boolean' }, - groupAssetsByEmitStatus: { type: 'boolean' }, - groupAssetsByExtension: { type: 'boolean' }, - groupAssetsByInfo: { type: 'boolean' }, - groupAssetsByPath: { type: 'boolean' }, - groupModulesByAttributes: { type: 'boolean' }, - groupModulesByCacheStatus: { type: 'boolean' }, - groupModulesByExtension: { type: 'boolean' }, - groupModulesByLayer: { type: 'boolean' }, - groupModulesByPath: { type: 'boolean' }, - groupModulesByType: { type: 'boolean' }, - groupReasonsByOrigin: { type: 'boolean' }, - hash: { type: 'boolean' }, - ids: { type: 'boolean' }, - logging: { - anyOf: [ - { enum: ['none', 'error', 'warn', 'info', 'log', 'verbose'] }, - { type: 'boolean' }, - ], - }, - loggingDebug: { - anyOf: [{ type: 'boolean' }, { $ref: '#/definitions/FilterTypes' }], - }, - loggingTrace: { type: 'boolean' }, - moduleAssets: { type: 'boolean' }, - moduleTrace: { type: 'boolean' }, - modules: { type: 'boolean' }, - modulesSort: { type: 'string' }, - modulesSpace: { type: 'number' }, - nestedModules: { type: 'boolean' }, - nestedModulesSpace: { type: 'number' }, - optimizationBailout: { type: 'boolean' }, - orphanModules: { type: 'boolean' }, - outputPath: { type: 'boolean' }, - performance: { type: 'boolean' }, - preset: { anyOf: [{ type: 'boolean' }, { type: 'string' }] }, - providedExports: { type: 'boolean' }, - publicPath: { type: 'boolean' }, - reasons: { type: 'boolean' }, - reasonsSpace: { type: 'number' }, - relatedAssets: { type: 'boolean' }, - runtime: { type: 'boolean' }, - runtimeModules: { type: 'boolean' }, - source: { type: 'boolean' }, - timings: { type: 'boolean' }, - usedExports: { type: 'boolean' }, - version: { type: 'boolean' }, - warnings: { type: 'boolean' }, - warningsCount: { type: 'boolean' }, - warningsFilter: { - oneOf: [{ $ref: '#/definitions/WarningFilterTypes' }], - }, - warningsSpace: { type: 'number' }, - }, - } - function Fe( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - const ae = q - let le = !1 - const pe = q - if (q === pe) - if (Array.isArray(k)) { - const E = k.length - for (let P = 0; P < E; P++) { - let E = k[P] - const R = q, - L = q - let ae = !1, - le = null - const pe = q, - ye = q - let _e = !1 - const Ie = q - if (!(E instanceof RegExp)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - var me = Ie === q - if (((_e = _e || me), !_e)) { - const k = q - if (q === k) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (((me = k === q), (_e = _e || me), !_e)) { - const k = q - if (!(E instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(me = k === q), (_e = _e || me) - } - } - if (_e) - (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - if ((pe === q && ((ae = !0), (le = 0)), ae)) - (q = L), null !== N && (L ? (N.length = L) : (N = null)) - else { - const k = { params: { passingSchemas: le } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (R !== q) break - } - } else { - const k = { params: { type: 'array' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var ye = pe === q - if (((le = le || ye), !le)) { - const E = q, - P = q - let R = !1 - const L = q - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - var _e = L === q - if (((R = R || _e), !R)) { - const E = q - if (q === E) - if ('string' == typeof k) { - if (k.includes('!') || !1 !== v.test(k)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (((_e = E === q), (R = R || _e), !R)) { - const v = q - if (!(k instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(_e = v === q), (R = R || _e) - } - } - if (R) (q = P), null !== N && (P ? (N.length = P) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(ye = E === q), (le = le || ye) - } - if (!le) { - const k = { params: {} } - return null === N ? (N = [k]) : N.push(k), q++, (Fe.errors = N), !1 - } - return ( - (q = ae), - null !== N && (ae ? (N.length = ae) : (N = null)), - (Fe.errors = N), - 0 === q - ) - } - function Re( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - const ae = q - let le = !1 - const pe = q - if (q === pe) - if (Array.isArray(k)) { - const E = k.length - for (let P = 0; P < E; P++) { - let E = k[P] - const R = q, - L = q - let ae = !1, - le = null - const pe = q, - ye = q - let _e = !1 - const Ie = q - if (!(E instanceof RegExp)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - var me = Ie === q - if (((_e = _e || me), !_e)) { - const k = q - if (q === k) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (((me = k === q), (_e = _e || me), !_e)) { - const k = q - if (!(E instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(me = k === q), (_e = _e || me) - } - } - if (_e) - (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - if ((pe === q && ((ae = !0), (le = 0)), ae)) - (q = L), null !== N && (L ? (N.length = L) : (N = null)) - else { - const k = { params: { passingSchemas: le } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (R !== q) break - } - } else { - const k = { params: { type: 'array' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var ye = pe === q - if (((le = le || ye), !le)) { - const E = q, - P = q - let R = !1 - const L = q - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - var _e = L === q - if (((R = R || _e), !R)) { - const E = q - if (q === E) - if ('string' == typeof k) { - if (k.includes('!') || !1 !== v.test(k)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (((_e = E === q), (R = R || _e), !R)) { - const v = q - if (!(k instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(_e = v === q), (R = R || _e) - } - } - if (R) (q = P), null !== N && (P ? (N.length = P) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(ye = E === q), (le = le || ye) - } - if (!le) { - const k = { params: {} } - return null === N ? (N = [k]) : N.push(k), q++, (Re.errors = N), !1 - } - return ( - (q = ae), - null !== N && (ae ? (N.length = ae) : (N = null)), - (Re.errors = N), - 0 === q - ) - } - function Ee( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - const ae = q - let le = !1 - const pe = q - if (q === pe) - if (Array.isArray(k)) { - const E = k.length - for (let P = 0; P < E; P++) { - let E = k[P] - const R = q, - L = q - let ae = !1, - le = null - const pe = q, - ye = q - let _e = !1 - const Ie = q - if (!(E instanceof RegExp)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - var me = Ie === q - if (((_e = _e || me), !_e)) { - const k = q - if (q === k) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (((me = k === q), (_e = _e || me), !_e)) { - const k = q - if (!(E instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(me = k === q), (_e = _e || me) - } - } - if (_e) - (q = ye), null !== N && (ye ? (N.length = ye) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - if ((pe === q && ((ae = !0), (le = 0)), ae)) - (q = L), null !== N && (L ? (N.length = L) : (N = null)) - else { - const k = { params: { passingSchemas: le } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (R !== q) break - } - } else { - const k = { params: { type: 'array' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var ye = pe === q - if (((le = le || ye), !le)) { - const E = q, - P = q - let R = !1 - const L = q - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - var _e = L === q - if (((R = R || _e), !R)) { - const E = q - if (q === E) - if ('string' == typeof k) { - if (k.includes('!') || !1 !== v.test(k)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (((_e = E === q), (R = R || _e), !R)) { - const v = q - if (!(k instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(_e = v === q), (R = R || _e) - } - } - if (R) (q = P), null !== N && (P ? (N.length = P) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(ye = E === q), (le = le || ye) - } - if (!le) { - const k = { params: {} } - return null === N ? (N = [k]) : N.push(k), q++, (Ee.errors = N), !1 - } - return ( - (q = ae), - null !== N && (ae ? (N.length = ae) : (N = null)), - (Ee.errors = N), - 0 === q - ) - } - function Le( - k, - { - instancePath: E = '', - parentData: R, - parentDataProperty: L, - rootData: N = k, - } = {} - ) { - let q = null, - ae = 0 - if (0 === ae) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (Le.errors = [{ params: { type: 'object' } }]), !1 - { - const R = ae - for (const v in k) - if (!P.call(Ue.properties, v)) - return (Le.errors = [{ params: { additionalProperty: v } }]), !1 - if (R === ae) { - if (void 0 !== k.all) { - const v = ae - if ('boolean' != typeof k.all) - return (Le.errors = [{ params: { type: 'boolean' } }]), !1 - var le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.assets) { - const v = ae - if ('boolean' != typeof k.assets) - return (Le.errors = [{ params: { type: 'boolean' } }]), !1 - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.assetsSort) { - const v = ae - if ('string' != typeof k.assetsSort) - return (Le.errors = [{ params: { type: 'string' } }]), !1 - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.assetsSpace) { - const v = ae - if ('number' != typeof k.assetsSpace) - return ( - (Le.errors = [{ params: { type: 'number' } }]), !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.builtAt) { - const v = ae - if ('boolean' != typeof k.builtAt) - return ( - (Le.errors = [{ params: { type: 'boolean' } }]), !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.cached) { - const v = ae - if ('boolean' != typeof k.cached) - return ( - (Le.errors = [{ params: { type: 'boolean' } }]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.cachedAssets) { - const v = ae - if ('boolean' != typeof k.cachedAssets) - return ( - (Le.errors = [{ params: { type: 'boolean' } }]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.cachedModules) { - const v = ae - if ('boolean' != typeof k.cachedModules) - return ( - (Le.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.children) { - const v = ae - if ('boolean' != typeof k.children) - return ( - (Le.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunkGroupAuxiliary) { - const v = ae - if ('boolean' != typeof k.chunkGroupAuxiliary) - return ( - (Le.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunkGroupChildren) { - const v = ae - if ( - 'boolean' != typeof k.chunkGroupChildren - ) - return ( - (Le.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunkGroupMaxAssets) { - const v = ae - if ( - 'number' != typeof k.chunkGroupMaxAssets - ) - return ( - (Le.errors = [ - { params: { type: 'number' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunkGroups) { - const v = ae - if ('boolean' != typeof k.chunkGroups) - return ( - (Le.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunkModules) { - const v = ae - if ( - 'boolean' != typeof k.chunkModules - ) - return ( - (Le.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunkModulesSpace) { - const v = ae - if ( - 'number' != - typeof k.chunkModulesSpace - ) - return ( - (Le.errors = [ - { - params: { type: 'number' }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunkOrigins) { - const v = ae - if ( - 'boolean' != - typeof k.chunkOrigins - ) - return ( - (Le.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunkRelations) { - const v = ae - if ( - 'boolean' != - typeof k.chunkRelations - ) - return ( - (Le.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunks) { - const v = ae - if ( - 'boolean' != typeof k.chunks - ) - return ( - (Le.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.chunksSort) { - const v = ae - if ( - 'string' != - typeof k.chunksSort - ) - return ( - (Le.errors = [ - { - params: { - type: 'string', - }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.colors) { - let v = k.colors - const E = ae, - P = ae - let R = !1 - const L = ae - if ( - 'boolean' != typeof v - ) { - const k = { - params: { - type: 'boolean', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var pe = L === ae - if (((R = R || pe), !R)) { - const k = ae - if (ae === k) - if ( - v && - 'object' == - typeof v && - !Array.isArray(v) - ) { - const k = ae - for (const k in v) - if ( - 'bold' !== k && - 'cyan' !== k && - 'green' !== k && - 'magenta' !== - k && - 'red' !== k && - 'yellow' !== k - ) { - const v = { - params: { - additionalProperty: - k, - }, - } - null === q - ? (q = [v]) - : q.push(v), - ae++ - break - } - if (k === ae) { - if ( - void 0 !== - v.bold - ) { - const k = ae - if ( - 'string' != - typeof v.bold - ) { - const k = { - params: { - type: 'string', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var me = - k === ae - } else me = !0 - if (me) { - if ( - void 0 !== - v.cyan - ) { - const k = ae - if ( - 'string' != - typeof v.cyan - ) { - const k = { - params: { - type: 'string', - }, - } - null === q - ? (q = [ - k, - ]) - : q.push( - k - ), - ae++ - } - me = k === ae - } else me = !0 - if (me) { - if ( - void 0 !== - v.green - ) { - const k = ae - if ( - 'string' != - typeof v.green - ) { - const k = - { - params: - { - type: 'string', - }, - } - null === q - ? (q = [ - k, - ]) - : q.push( - k - ), - ae++ - } - me = - k === ae - } else me = !0 - if (me) { - if ( - void 0 !== - v.magenta - ) { - const k = - ae - if ( - 'string' != - typeof v.magenta - ) { - const k = - { - params: - { - type: 'string', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - me = - k === ae - } else - me = !0 - if (me) { - if ( - void 0 !== - v.red - ) { - const k = - ae - if ( - 'string' != - typeof v.red - ) { - const k = - { - params: - { - type: 'string', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - me = - k === - ae - } else - me = !0 - if (me) - if ( - void 0 !== - v.yellow - ) { - const k = - ae - if ( - 'string' != - typeof v.yellow - ) { - const k = - { - params: - { - type: 'string', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - me = - k === - ae - } else - me = - !0 - } - } - } - } - } - } else { - const k = { - params: { - type: 'object', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(pe = k === ae), - (R = R || pe) - } - if (!R) { - const k = { params: {} } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (Le.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = P) - : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if ( - void 0 !== k.context - ) { - let E = k.context - const P = ae - if (ae === P) { - if ( - 'string' != typeof E - ) - return ( - (Le.errors = [ - { - params: { - type: 'string', - }, - }, - ]), - !1 - ) - if ( - E.includes('!') || - !0 !== v.test(E) - ) - return ( - (Le.errors = [ - { params: {} }, - ]), - !1 - ) - } - le = P === ae - } else le = !0 - if (le) { - if ( - void 0 !== - k.dependentModules - ) { - const v = ae - if ( - 'boolean' != - typeof k.dependentModules - ) - return ( - (Le.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if ( - void 0 !== k.depth - ) { - const v = ae - if ( - 'boolean' != - typeof k.depth - ) - return ( - (Le.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if ( - void 0 !== - k.entrypoints - ) { - let v = - k.entrypoints - const E = ae, - P = ae - let R = !1 - const L = ae - if ( - 'auto' !== v - ) { - const k = { - params: {}, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - var ye = L === ae - if ( - ((R = R || ye), - !R) - ) { - const k = ae - if ( - 'boolean' != - typeof v - ) { - const k = { - params: { - type: 'boolean', - }, - } - null === q - ? (q = [k]) - : q.push(k), - ae++ - } - ;(ye = - k === ae), - (R = R || ye) - } - if (!R) { - const k = { - params: {}, - } - return ( - null === q - ? (q = [k]) - : q.push(k), - ae++, - (Le.errors = - q), - !1 - ) - } - ;(ae = P), - null !== q && - (P - ? (q.length = - P) - : (q = - null)), - (le = E === ae) - } else le = !0 - if (le) { - if ( - void 0 !== k.env - ) { - const v = ae - if ( - 'boolean' != - typeof k.env - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if ( - void 0 !== - k.errorDetails - ) { - let v = - k.errorDetails - const E = ae, - P = ae - let R = !1 - const L = ae - if ( - 'auto' !== v - ) { - const k = { - params: - {}, - } - null === q - ? (q = [ - k, - ]) - : q.push( - k - ), - ae++ - } - var _e = - L === ae - if ( - ((R = - R || _e), - !R) - ) { - const k = ae - if ( - 'boolean' != - typeof v - ) { - const k = - { - params: - { - type: 'boolean', - }, - } - null === q - ? (q = [ - k, - ]) - : q.push( - k - ), - ae++ - } - ;(_e = - k === ae), - (R = - R || _e) - } - if (!R) { - const k = { - params: - {}, - } - return ( - null === q - ? (q = [ - k, - ]) - : q.push( - k - ), - ae++, - (Le.errors = - q), - !1 - ) - } - ;(ae = P), - null !== - q && - (P - ? (q.length = - P) - : (q = - null)), - (le = - E === ae) - } else le = !0 - if (le) { - if ( - void 0 !== - k.errorStack - ) { - const v = ae - if ( - 'boolean' != - typeof k.errorStack - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === ae - } else le = !0 - if (le) { - if ( - void 0 !== - k.errors - ) { - const v = - ae - if ( - 'boolean' != - typeof k.errors - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === ae - } else - le = !0 - if (le) { - if ( - void 0 !== - k.errorsCount - ) { - const v = - ae - if ( - 'boolean' != - typeof k.errorsCount - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = !0 - if (le) { - if ( - void 0 !== - k.errorsSpace - ) { - const v = - ae - if ( - 'number' != - typeof k.errorsSpace - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'number', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.exclude - ) { - let v = - k.exclude - const P = - ae, - R = - ae - let L = - !1 - const pe = - ae - if ( - 'boolean' != - typeof v - ) { - const k = - { - params: - { - type: 'boolean', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - var Ie = - pe === - ae - if ( - ((L = - L || - Ie), - !L) - ) { - const P = - ae - Fe( - v, - { - instancePath: - E + - '/exclude', - parentData: - k, - parentDataProperty: - 'exclude', - rootData: - N, - } - ) || - ((q = - null === - q - ? Fe.errors - : q.concat( - Fe.errors - )), - (ae = - q.length)), - (Ie = - P === - ae), - (L = - L || - Ie) - } - if ( - !L - ) { - const k = - { - params: - {}, - } - return ( - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++, - (Le.errors = - q), - !1 - ) - } - ;(ae = - R), - null !== - q && - (R - ? (q.length = - R) - : (q = - null)), - (le = - P === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.excludeAssets - ) { - const v = - ae, - P = - ae - let R = - !1, - L = - null - const pe = - ae - if ( - (Re( - k.excludeAssets, - { - instancePath: - E + - '/excludeAssets', - parentData: - k, - parentDataProperty: - 'excludeAssets', - rootData: - N, - } - ) || - ((q = - null === - q - ? Re.errors - : q.concat( - Re.errors - )), - (ae = - q.length)), - pe === - ae && - ((R = - !0), - (L = 0)), - !R) - ) { - const k = - { - params: - { - passingSchemas: - L, - }, - } - return ( - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++, - (Le.errors = - q), - !1 - ) - } - ;(ae = - P), - null !== - q && - (P - ? (q.length = - P) - : (q = - null)), - (le = - v === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.excludeModules - ) { - let v = - k.excludeModules - const P = - ae, - R = - ae - let L = - !1 - const pe = - ae - if ( - 'boolean' != - typeof v - ) { - const k = - { - params: - { - type: 'boolean', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - var Me = - pe === - ae - if ( - ((L = - L || - Me), - !L) - ) { - const P = - ae - Fe( - v, - { - instancePath: - E + - '/excludeModules', - parentData: - k, - parentDataProperty: - 'excludeModules', - rootData: - N, - } - ) || - ((q = - null === - q - ? Fe.errors - : q.concat( - Fe.errors - )), - (ae = - q.length)), - (Me = - P === - ae), - (L = - L || - Me) - } - if ( - !L - ) { - const k = - { - params: - {}, - } - return ( - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++, - (Le.errors = - q), - !1 - ) - } - ;(ae = - R), - null !== - q && - (R - ? (q.length = - R) - : (q = - null)), - (le = - P === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.groupAssetsByChunk - ) { - const v = - ae - if ( - 'boolean' != - typeof k.groupAssetsByChunk - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.groupAssetsByEmitStatus - ) { - const v = - ae - if ( - 'boolean' != - typeof k.groupAssetsByEmitStatus - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.groupAssetsByExtension - ) { - const v = - ae - if ( - 'boolean' != - typeof k.groupAssetsByExtension - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.groupAssetsByInfo - ) { - const v = - ae - if ( - 'boolean' != - typeof k.groupAssetsByInfo - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.groupAssetsByPath - ) { - const v = - ae - if ( - 'boolean' != - typeof k.groupAssetsByPath - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.groupModulesByAttributes - ) { - const v = - ae - if ( - 'boolean' != - typeof k.groupModulesByAttributes - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.groupModulesByCacheStatus - ) { - const v = - ae - if ( - 'boolean' != - typeof k.groupModulesByCacheStatus - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.groupModulesByExtension - ) { - const v = - ae - if ( - 'boolean' != - typeof k.groupModulesByExtension - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.groupModulesByLayer - ) { - const v = - ae - if ( - 'boolean' != - typeof k.groupModulesByLayer - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.groupModulesByPath - ) { - const v = - ae - if ( - 'boolean' != - typeof k.groupModulesByPath - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.groupModulesByType - ) { - const v = - ae - if ( - 'boolean' != - typeof k.groupModulesByType - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.groupReasonsByOrigin - ) { - const v = - ae - if ( - 'boolean' != - typeof k.groupReasonsByOrigin - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.hash - ) { - const v = - ae - if ( - 'boolean' != - typeof k.hash - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.ids - ) { - const v = - ae - if ( - 'boolean' != - typeof k.ids - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.logging - ) { - let v = - k.logging - const E = - ae, - P = - ae - let R = - !1 - const L = - ae - if ( - 'none' !== - v && - 'error' !== - v && - 'warn' !== - v && - 'info' !== - v && - 'log' !== - v && - 'verbose' !== - v - ) { - const k = - { - params: - {}, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - var Te = - L === - ae - if ( - ((R = - R || - Te), - !R) - ) { - const k = - ae - if ( - 'boolean' != - typeof v - ) { - const k = - { - params: - { - type: 'boolean', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - ;(Te = - k === - ae), - (R = - R || - Te) - } - if ( - !R - ) { - const k = - { - params: - {}, - } - return ( - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++, - (Le.errors = - q), - !1 - ) - } - ;(ae = - P), - null !== - q && - (P - ? (q.length = - P) - : (q = - null)), - (le = - E === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.loggingDebug - ) { - let v = - k.loggingDebug - const P = - ae, - R = - ae - let L = - !1 - const pe = - ae - if ( - 'boolean' != - typeof v - ) { - const k = - { - params: - { - type: 'boolean', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - var je = - pe === - ae - if ( - ((L = - L || - je), - !L) - ) { - const P = - ae - j( - v, - { - instancePath: - E + - '/loggingDebug', - parentData: - k, - parentDataProperty: - 'loggingDebug', - rootData: - N, - } - ) || - ((q = - null === - q - ? j.errors - : q.concat( - j.errors - )), - (ae = - q.length)), - (je = - P === - ae), - (L = - L || - je) - } - if ( - !L - ) { - const k = - { - params: - {}, - } - return ( - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++, - (Le.errors = - q), - !1 - ) - } - ;(ae = - R), - null !== - q && - (R - ? (q.length = - R) - : (q = - null)), - (le = - P === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.loggingTrace - ) { - const v = - ae - if ( - 'boolean' != - typeof k.loggingTrace - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.moduleAssets - ) { - const v = - ae - if ( - 'boolean' != - typeof k.moduleAssets - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.moduleTrace - ) { - const v = - ae - if ( - 'boolean' != - typeof k.moduleTrace - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.modules - ) { - const v = - ae - if ( - 'boolean' != - typeof k.modules - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.modulesSort - ) { - const v = - ae - if ( - 'string' != - typeof k.modulesSort - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'string', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.modulesSpace - ) { - const v = - ae - if ( - 'number' != - typeof k.modulesSpace - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'number', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.nestedModules - ) { - const v = - ae - if ( - 'boolean' != - typeof k.nestedModules - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.nestedModulesSpace - ) { - const v = - ae - if ( - 'number' != - typeof k.nestedModulesSpace - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'number', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.optimizationBailout - ) { - const v = - ae - if ( - 'boolean' != - typeof k.optimizationBailout - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.orphanModules - ) { - const v = - ae - if ( - 'boolean' != - typeof k.orphanModules - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.outputPath - ) { - const v = - ae - if ( - 'boolean' != - typeof k.outputPath - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.performance - ) { - const v = - ae - if ( - 'boolean' != - typeof k.performance - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.preset - ) { - let v = - k.preset - const E = - ae, - P = - ae - let R = - !1 - const L = - ae - if ( - 'boolean' != - typeof v - ) { - const k = - { - params: - { - type: 'boolean', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - var Ne = - L === - ae - if ( - ((R = - R || - Ne), - !R) - ) { - const k = - ae - if ( - 'string' != - typeof v - ) { - const k = - { - params: - { - type: 'string', - }, - } - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++ - } - ;(Ne = - k === - ae), - (R = - R || - Ne) - } - if ( - !R - ) { - const k = - { - params: - {}, - } - return ( - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++, - (Le.errors = - q), - !1 - ) - } - ;(ae = - P), - null !== - q && - (P - ? (q.length = - P) - : (q = - null)), - (le = - E === - ae) - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.providedExports - ) { - const v = - ae - if ( - 'boolean' != - typeof k.providedExports - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.publicPath - ) { - const v = - ae - if ( - 'boolean' != - typeof k.publicPath - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.reasons - ) { - const v = - ae - if ( - 'boolean' != - typeof k.reasons - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.reasonsSpace - ) { - const v = - ae - if ( - 'number' != - typeof k.reasonsSpace - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'number', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.relatedAssets - ) { - const v = - ae - if ( - 'boolean' != - typeof k.relatedAssets - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.runtime - ) { - const v = - ae - if ( - 'boolean' != - typeof k.runtime - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.runtimeModules - ) { - const v = - ae - if ( - 'boolean' != - typeof k.runtimeModules - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.source - ) { - const v = - ae - if ( - 'boolean' != - typeof k.source - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.timings - ) { - const v = - ae - if ( - 'boolean' != - typeof k.timings - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.usedExports - ) { - const v = - ae - if ( - 'boolean' != - typeof k.usedExports - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.version - ) { - const v = - ae - if ( - 'boolean' != - typeof k.version - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.warnings - ) { - const v = - ae - if ( - 'boolean' != - typeof k.warnings - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.warningsCount - ) { - const v = - ae - if ( - 'boolean' != - typeof k.warningsCount - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - if ( - le - ) { - if ( - void 0 !== - k.warningsFilter - ) { - const v = - ae, - P = - ae - let R = - !1, - L = - null - const pe = - ae - if ( - (Ee( - k.warningsFilter, - { - instancePath: - E + - '/warningsFilter', - parentData: - k, - parentDataProperty: - 'warningsFilter', - rootData: - N, - } - ) || - ((q = - null === - q - ? Ee.errors - : q.concat( - Ee.errors - )), - (ae = - q.length)), - pe === - ae && - ((R = - !0), - (L = 0)), - !R) - ) { - const k = - { - params: - { - passingSchemas: - L, - }, - } - return ( - null === - q - ? (q = - [ - k, - ]) - : q.push( - k - ), - ae++, - (Le.errors = - q), - !1 - ) - } - ;(ae = - P), - null !== - q && - (P - ? (q.length = - P) - : (q = - null)), - (le = - v === - ae) - } else - le = - !0 - if ( - le - ) - if ( - void 0 !== - k.warningsSpace - ) { - const v = - ae - if ( - 'number' != - typeof k.warningsSpace - ) - return ( - (Le.errors = - [ - { - params: - { - type: 'number', - }, - }, - ]), - !1 - ) - le = - v === - ae - } else - le = - !0 - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return (Le.errors = q), 0 === ae - } - function ze( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if ( - 'none' !== k && - 'summary' !== k && - 'errors-only' !== k && - 'errors-warnings' !== k && - 'minimal' !== k && - 'normal' !== k && - 'detailed' !== k && - 'verbose' !== k - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const q = N - if ('boolean' != typeof k) { - const k = { params: { type: 'boolean' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((pe = q === N), (ae = ae || pe), !ae)) { - const q = N - Le(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? Le.errors : L.concat(Le.errors)), - (N = L.length)), - (pe = q === N), - (ae = ae || pe) - } - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (ze.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (ze.errors = L), - 0 === N - ) - } - const Ge = new RegExp( - '^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$', - 'u' - ) - function we( - k, - { - instancePath: R = '', - parentData: L, - parentDataProperty: N, - rootData: q = k, - } = {} - ) { - let ae = null, - le = 0 - if (0 === le) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (we.errors = [{ params: { type: 'object' } }]), !1 - { - const L = le - for (const v in k) - if (!P.call(E.properties, v)) - return (we.errors = [{ params: { additionalProperty: v } }]), !1 - if (L === le) { - if (void 0 !== k.amd) { - let v = k.amd - const E = le, - P = le - let R = !1 - const L = le - if (!1 !== v) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - var pe = L === le - if (((R = R || pe), !R)) { - const k = le - if (!v || 'object' != typeof v || Array.isArray(v)) { - const k = { params: { type: 'object' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - ;(pe = k === le), (R = R || pe) - } - if (!R) { - const k = { params: {} } - return ( - null === ae ? (ae = [k]) : ae.push(k), - le++, - (we.errors = ae), - !1 - ) - } - ;(le = P), null !== ae && (P ? (ae.length = P) : (ae = null)) - var me = E === le - } else me = !0 - if (me) { - if (void 0 !== k.bail) { - const v = le - if ('boolean' != typeof k.bail) - return (we.errors = [{ params: { type: 'boolean' } }]), !1 - me = v === le - } else me = !0 - if (me) { - if (void 0 !== k.cache) { - const v = le - s(k.cache, { - instancePath: R + '/cache', - parentData: k, - parentDataProperty: 'cache', - rootData: q, - }) || - ((ae = null === ae ? s.errors : ae.concat(s.errors)), - (le = ae.length)), - (me = v === le) - } else me = !0 - if (me) { - if (void 0 !== k.context) { - let E = k.context - const P = le - if (le == le) { - if ('string' != typeof E) - return ( - (we.errors = [{ params: { type: 'string' } }]), !1 - ) - if (E.includes('!') || !0 !== v.test(E)) - return (we.errors = [{ params: {} }]), !1 - } - me = P === le - } else me = !0 - if (me) { - if (void 0 !== k.dependencies) { - let v = k.dependencies - const E = le - if (le == le) { - if (!Array.isArray(v)) - return ( - (we.errors = [{ params: { type: 'array' } }]), !1 - ) - { - const k = v.length - for (let E = 0; E < k; E++) { - const k = le - if ('string' != typeof v[E]) - return ( - (we.errors = [ - { params: { type: 'string' } }, - ]), - !1 - ) - if (k !== le) break - } - } - } - me = E === le - } else me = !0 - if (me) { - if (void 0 !== k.devServer) { - let v = k.devServer - const E = le - if (!v || 'object' != typeof v || Array.isArray(v)) - return ( - (we.errors = [{ params: { type: 'object' } }]), !1 - ) - me = E === le - } else me = !0 - if (me) { - if (void 0 !== k.devtool) { - let v = k.devtool - const E = le, - P = le - let R = !1 - const L = le - if (!1 !== v && 'eval' !== v) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - var ye = L === le - if (((R = R || ye), !R)) { - const k = le - if (le === k) - if ('string' == typeof v) { - if (!Ge.test(v)) { - const k = { - params: { - pattern: - '^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$', - }, - } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - } else { - const k = { params: { type: 'string' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - ;(ye = k === le), (R = R || ye) - } - if (!R) { - const k = { params: {} } - return ( - null === ae ? (ae = [k]) : ae.push(k), - le++, - (we.errors = ae), - !1 - ) - } - ;(le = P), - null !== ae && - (P ? (ae.length = P) : (ae = null)), - (me = E === le) - } else me = !0 - if (me) { - if (void 0 !== k.entry) { - const v = le - b(k.entry, { - instancePath: R + '/entry', - parentData: k, - parentDataProperty: 'entry', - rootData: q, - }) || - ((ae = - null === ae ? b.errors : ae.concat(b.errors)), - (le = ae.length)), - (me = v === le) - } else me = !0 - if (me) { - if (void 0 !== k.experiments) { - const v = le - A(k.experiments, { - instancePath: R + '/experiments', - parentData: k, - parentDataProperty: 'experiments', - rootData: q, - }) || - ((ae = - null === ae - ? A.errors - : ae.concat(A.errors)), - (le = ae.length)), - (me = v === le) - } else me = !0 - if (me) { - if (void 0 !== k.extends) { - const v = le - C(k.extends, { - instancePath: R + '/extends', - parentData: k, - parentDataProperty: 'extends', - rootData: q, - }) || - ((ae = - null === ae - ? C.errors - : ae.concat(C.errors)), - (le = ae.length)), - (me = v === le) - } else me = !0 - if (me) { - if (void 0 !== k.externals) { - const v = le - S(k.externals, { - instancePath: R + '/externals', - parentData: k, - parentDataProperty: 'externals', - rootData: q, - }) || - ((ae = - null === ae - ? S.errors - : ae.concat(S.errors)), - (le = ae.length)), - (me = v === le) - } else me = !0 - if (me) { - if (void 0 !== k.externalsPresets) { - let v = k.externalsPresets - const E = le - if (le == le) { - if ( - !v || - 'object' != typeof v || - Array.isArray(v) - ) - return ( - (we.errors = [ - { params: { type: 'object' } }, - ]), - !1 - ) - { - const k = le - for (const k in v) - if ( - 'electron' !== k && - 'electronMain' !== k && - 'electronPreload' !== k && - 'electronRenderer' !== k && - 'node' !== k && - 'nwjs' !== k && - 'web' !== k && - 'webAsync' !== k - ) - return ( - (we.errors = [ - { - params: { - additionalProperty: k, - }, - }, - ]), - !1 - ) - if (k === le) { - if (void 0 !== v.electron) { - const k = le - if ( - 'boolean' != typeof v.electron - ) - return ( - (we.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - var _e = k === le - } else _e = !0 - if (_e) { - if (void 0 !== v.electronMain) { - const k = le - if ( - 'boolean' != - typeof v.electronMain - ) - return ( - (we.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - _e = k === le - } else _e = !0 - if (_e) { - if ( - void 0 !== v.electronPreload - ) { - const k = le - if ( - 'boolean' != - typeof v.electronPreload - ) - return ( - (we.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - _e = k === le - } else _e = !0 - if (_e) { - if ( - void 0 !== - v.electronRenderer - ) { - const k = le - if ( - 'boolean' != - typeof v.electronRenderer - ) - return ( - (we.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - _e = k === le - } else _e = !0 - if (_e) { - if (void 0 !== v.node) { - const k = le - if ( - 'boolean' != - typeof v.node - ) - return ( - (we.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - _e = k === le - } else _e = !0 - if (_e) { - if (void 0 !== v.nwjs) { - const k = le - if ( - 'boolean' != - typeof v.nwjs - ) - return ( - (we.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - _e = k === le - } else _e = !0 - if (_e) { - if (void 0 !== v.web) { - const k = le - if ( - 'boolean' != - typeof v.web - ) - return ( - (we.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - _e = k === le - } else _e = !0 - if (_e) - if ( - void 0 !== - v.webAsync - ) { - const k = le - if ( - 'boolean' != - typeof v.webAsync - ) - return ( - (we.errors = [ - { - params: { - type: 'boolean', - }, - }, - ]), - !1 - ) - _e = k === le - } else _e = !0 - } - } - } - } - } - } - } - } - } - me = E === le - } else me = !0 - if (me) { - if (void 0 !== k.externalsType) { - let v = k.externalsType - const E = le - if ( - 'var' !== v && - 'module' !== v && - 'assign' !== v && - 'this' !== v && - 'window' !== v && - 'self' !== v && - 'global' !== v && - 'commonjs' !== v && - 'commonjs2' !== v && - 'commonjs-module' !== v && - 'commonjs-static' !== v && - 'amd' !== v && - 'amd-require' !== v && - 'umd' !== v && - 'umd2' !== v && - 'jsonp' !== v && - 'system' !== v && - 'promise' !== v && - 'import' !== v && - 'script' !== v && - 'node-commonjs' !== v - ) - return ( - (we.errors = [{ params: {} }]), !1 - ) - me = E === le - } else me = !0 - if (me) { - if (void 0 !== k.ignoreWarnings) { - let v = k.ignoreWarnings - const E = le - if (le == le) { - if (!Array.isArray(v)) - return ( - (we.errors = [ - { params: { type: 'array' } }, - ]), - !1 - ) - { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = le, - R = le - let L = !1 - const N = le - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - var Ie = N === le - if (((L = L || Ie), !L)) { - const v = le - if (le === v) - if ( - k && - 'object' == typeof k && - !Array.isArray(k) - ) { - const v = le - for (const v in k) - if ( - 'file' !== v && - 'message' !== v && - 'module' !== v - ) { - const k = { - params: { - additionalProperty: - v, - }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - break - } - if (v === le) { - if (void 0 !== k.file) { - const v = le - if ( - !( - k.file instanceof - RegExp - ) - ) { - const k = { - params: {}, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - var Me = v === le - } else Me = !0 - if (Me) { - if ( - void 0 !== k.message - ) { - const v = le - if ( - !( - k.message instanceof - RegExp - ) - ) { - const k = { - params: {}, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - Me = v === le - } else Me = !0 - if (Me) - if ( - void 0 !== - k.module - ) { - const v = le - if ( - !( - k.module instanceof - RegExp - ) - ) { - const k = { - params: {}, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - Me = v === le - } else Me = !0 - } - } - } else { - const k = { - params: { - type: 'object', - }, - } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - if ( - ((Ie = v === le), - (L = L || Ie), - !L) - ) { - const v = le - if ( - !(k instanceof Function) - ) { - const k = { params: {} } - null === ae - ? (ae = [k]) - : ae.push(k), - le++ - } - ;(Ie = v === le), - (L = L || Ie) - } - } - if (!L) { - const k = { params: {} } - return ( - null === ae - ? (ae = [k]) - : ae.push(k), - le++, - (we.errors = ae), - !1 - ) - } - if ( - ((le = R), - null !== ae && - (R - ? (ae.length = R) - : (ae = null)), - P !== le) - ) - break - } - } - } - me = E === le - } else me = !0 - if (me) { - if ( - void 0 !== k.infrastructureLogging - ) { - const v = le - F(k.infrastructureLogging, { - instancePath: - R + '/infrastructureLogging', - parentData: k, - parentDataProperty: - 'infrastructureLogging', - rootData: q, - }) || - ((ae = - null === ae - ? F.errors - : ae.concat(F.errors)), - (le = ae.length)), - (me = v === le) - } else me = !0 - if (me) { - if (void 0 !== k.loader) { - let v = k.loader - const E = le - if ( - !v || - 'object' != typeof v || - Array.isArray(v) - ) - return ( - (we.errors = [ - { - params: { - type: 'object', - }, - }, - ]), - !1 - ) - me = E === le - } else me = !0 - if (me) { - if (void 0 !== k.mode) { - let v = k.mode - const E = le - if ( - 'development' !== v && - 'production' !== v && - 'none' !== v - ) - return ( - (we.errors = [ - { params: {} }, - ]), - !1 - ) - me = E === le - } else me = !0 - if (me) { - if (void 0 !== k.module) { - const v = le - ie(k.module, { - instancePath: R + '/module', - parentData: k, - parentDataProperty: - 'module', - rootData: q, - }) || - ((ae = - null === ae - ? ie.errors - : ae.concat(ie.errors)), - (le = ae.length)), - (me = v === le) - } else me = !0 - if (me) { - if (void 0 !== k.name) { - const v = le - if ( - 'string' != typeof k.name - ) - return ( - (we.errors = [ - { - params: { - type: 'string', - }, - }, - ]), - !1 - ) - me = v === le - } else me = !0 - if (me) { - if (void 0 !== k.node) { - const v = le - re(k.node, { - instancePath: - R + '/node', - parentData: k, - parentDataProperty: - 'node', - rootData: q, - }) || - ((ae = - null === ae - ? re.errors - : ae.concat( - re.errors - )), - (le = ae.length)), - (me = v === le) - } else me = !0 - if (me) { - if ( - void 0 !== - k.optimization - ) { - const v = le - ce(k.optimization, { - instancePath: - R + '/optimization', - parentData: k, - parentDataProperty: - 'optimization', - rootData: q, - }) || - ((ae = - null === ae - ? ce.errors - : ae.concat( - ce.errors - )), - (le = ae.length)), - (me = v === le) - } else me = !0 - if (me) { - if ( - void 0 !== k.output - ) { - const v = le - Ae(k.output, { - instancePath: - R + '/output', - parentData: k, - parentDataProperty: - 'output', - rootData: q, - }) || - ((ae = - null === ae - ? Ae.errors - : ae.concat( - Ae.errors - )), - (le = ae.length)), - (me = v === le) - } else me = !0 - if (me) { - if ( - void 0 !== - k.parallelism - ) { - let v = - k.parallelism - const E = le - if (le == le) { - if ( - 'number' != - typeof v - ) - return ( - (we.errors = [ - { - params: { - type: 'number', - }, - }, - ]), - !1 - ) - if ( - v < 1 || - isNaN(v) - ) - return ( - (we.errors = [ - { - params: { - comparison: - '>=', - limit: 1, - }, - }, - ]), - !1 - ) - } - me = E === le - } else me = !0 - if (me) { - if ( - void 0 !== - k.performance - ) { - const v = le - Ce( - k.performance, - { - instancePath: - R + - '/performance', - parentData: k, - parentDataProperty: - 'performance', - rootData: q, - } - ) || - ((ae = - null === ae - ? Ce.errors - : ae.concat( - Ce.errors - )), - (le = - ae.length)), - (me = v === le) - } else me = !0 - if (me) { - if ( - void 0 !== - k.plugins - ) { - const v = le - ke(k.plugins, { - instancePath: - R + - '/plugins', - parentData: k, - parentDataProperty: - 'plugins', - rootData: q, - }) || - ((ae = - null === ae - ? ke.errors - : ae.concat( - ke.errors - )), - (le = - ae.length)), - (me = - v === le) - } else me = !0 - if (me) { - if ( - void 0 !== - k.profile - ) { - const v = le - if ( - 'boolean' != - typeof k.profile - ) - return ( - (we.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - me = v === le - } else me = !0 - if (me) { - if ( - void 0 !== - k.recordsInputPath - ) { - let E = - k.recordsInputPath - const P = - le, - R = le - let L = !1 - const N = le - if ( - !1 !== E - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [k]) - : ae.push( - k - ), - le++ - } - var Te = - N === le - if ( - ((L = - L || - Te), - !L) - ) { - const k = - le - if ( - le === k - ) - if ( - 'string' == - typeof E - ) { - if ( - E.includes( - '!' - ) || - !0 !== - v.test( - E - ) - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - ;(Te = - k === - le), - (L = - L || - Te) - } - if (!L) { - const k = - { - params: - {}, - } - return ( - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++, - (we.errors = - ae), - !1 - ) - } - ;(le = R), - null !== - ae && - (R - ? (ae.length = - R) - : (ae = - null)), - (me = - P === - le) - } else me = !0 - if (me) { - if ( - void 0 !== - k.recordsOutputPath - ) { - let E = - k.recordsOutputPath - const P = - le, - R = le - let L = !1 - const N = - le - if ( - !1 !== E - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - var je = - N === le - if ( - ((L = - L || - je), - !L) - ) { - const k = - le - if ( - le === - k - ) - if ( - 'string' == - typeof E - ) { - if ( - E.includes( - '!' - ) || - !0 !== - v.test( - E - ) - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - ;(je = - k === - le), - (L = - L || - je) - } - if (!L) { - const k = - { - params: - {}, - } - return ( - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++, - (we.errors = - ae), - !1 - ) - } - ;(le = R), - null !== - ae && - (R - ? (ae.length = - R) - : (ae = - null)), - (me = - P === - le) - } else - me = !0 - if (me) { - if ( - void 0 !== - k.recordsPath - ) { - let E = - k.recordsPath - const P = - le, - R = le - let L = - !1 - const N = - le - if ( - !1 !== - E - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - var Ne = - N === - le - if ( - ((L = - L || - Ne), - !L) - ) { - const k = - le - if ( - le === - k - ) - if ( - 'string' == - typeof E - ) { - if ( - E.includes( - '!' - ) || - !0 !== - v.test( - E - ) - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - ;(Ne = - k === - le), - (L = - L || - Ne) - } - if ( - !L - ) { - const k = - { - params: - {}, - } - return ( - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++, - (we.errors = - ae), - !1 - ) - } - ;(le = - R), - null !== - ae && - (R - ? (ae.length = - R) - : (ae = - null)), - (me = - P === - le) - } else - me = !0 - if (me) { - if ( - void 0 !== - k.resolve - ) { - const v = - le - $e( - k.resolve, - { - instancePath: - R + - '/resolve', - parentData: - k, - parentDataProperty: - 'resolve', - rootData: - q, - } - ) || - ((ae = - null === - ae - ? $e.errors - : ae.concat( - $e.errors - )), - (le = - ae.length)), - (me = - v === - le) - } else - me = - !0 - if ( - me - ) { - if ( - void 0 !== - k.resolveLoader - ) { - const v = - le - Se( - k.resolveLoader, - { - instancePath: - R + - '/resolveLoader', - parentData: - k, - parentDataProperty: - 'resolveLoader', - rootData: - q, - } - ) || - ((ae = - null === - ae - ? Se.errors - : ae.concat( - Se.errors - )), - (le = - ae.length)), - (me = - v === - le) - } else - me = - !0 - if ( - me - ) { - if ( - void 0 !== - k.snapshot - ) { - let E = - k.snapshot - const P = - le - if ( - le == - le - ) { - if ( - !E || - 'object' != - typeof E || - Array.isArray( - E - ) - ) - return ( - (we.errors = - [ - { - params: - { - type: 'object', - }, - }, - ]), - !1 - ) - { - const k = - le - for (const k in E) - if ( - 'buildDependencies' !== - k && - 'immutablePaths' !== - k && - 'managedPaths' !== - k && - 'module' !== - k && - 'resolve' !== - k && - 'resolveBuildDependencies' !== - k - ) - return ( - (we.errors = - [ - { - params: - { - additionalProperty: - k, - }, - }, - ]), - !1 - ) - if ( - k === - le - ) { - if ( - void 0 !== - E.buildDependencies - ) { - let k = - E.buildDependencies - const v = - le - if ( - le === - v - ) { - if ( - !k || - 'object' != - typeof k || - Array.isArray( - k - ) - ) - return ( - (we.errors = - [ - { - params: - { - type: 'object', - }, - }, - ]), - !1 - ) - { - const v = - le - for (const v in k) - if ( - 'hash' !== - v && - 'timestamp' !== - v - ) - return ( - (we.errors = - [ - { - params: - { - additionalProperty: - v, - }, - }, - ]), - !1 - ) - if ( - v === - le - ) { - if ( - void 0 !== - k.hash - ) { - const v = - le - if ( - 'boolean' != - typeof k.hash - ) - return ( - (we.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - var Be = - v === - le - } else - Be = - !0 - if ( - Be - ) - if ( - void 0 !== - k.timestamp - ) { - const v = - le - if ( - 'boolean' != - typeof k.timestamp - ) - return ( - (we.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Be = - v === - le - } else - Be = - !0 - } - } - } - var qe = - v === - le - } else - qe = - !0 - if ( - qe - ) { - if ( - void 0 !== - E.immutablePaths - ) { - let k = - E.immutablePaths - const P = - le - if ( - le === - P - ) { - if ( - !Array.isArray( - k - ) - ) - return ( - (we.errors = - [ - { - params: - { - type: 'array', - }, - }, - ]), - !1 - ) - { - const E = - k.length - for ( - let P = 0; - P < - E; - P++ - ) { - let E = - k[ - P - ] - const R = - le, - L = - le - let N = - !1 - const q = - le - if ( - !( - E instanceof - RegExp - ) - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - var Ue = - q === - le - if ( - ((N = - N || - Ue), - !N) - ) { - const k = - le - if ( - le === - k - ) - if ( - 'string' == - typeof E - ) { - if ( - E.includes( - '!' - ) || - !0 !== - v.test( - E - ) - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } else if ( - E.length < - 1 - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - ;(Ue = - k === - le), - (N = - N || - Ue) - } - if ( - !N - ) { - const k = - { - params: - {}, - } - return ( - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++, - (we.errors = - ae), - !1 - ) - } - if ( - ((le = - L), - null !== - ae && - (L - ? (ae.length = - L) - : (ae = - null)), - R !== - le) - ) - break - } - } - } - qe = - P === - le - } else - qe = - !0 - if ( - qe - ) { - if ( - void 0 !== - E.managedPaths - ) { - let k = - E.managedPaths - const P = - le - if ( - le === - P - ) { - if ( - !Array.isArray( - k - ) - ) - return ( - (we.errors = - [ - { - params: - { - type: 'array', - }, - }, - ]), - !1 - ) - { - const E = - k.length - for ( - let P = 0; - P < - E; - P++ - ) { - let E = - k[ - P - ] - const R = - le, - L = - le - let N = - !1 - const q = - le - if ( - !( - E instanceof - RegExp - ) - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - var He = - q === - le - if ( - ((N = - N || - He), - !N) - ) { - const k = - le - if ( - le === - k - ) - if ( - 'string' == - typeof E - ) { - if ( - E.includes( - '!' - ) || - !0 !== - v.test( - E - ) - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } else if ( - E.length < - 1 - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - ;(He = - k === - le), - (N = - N || - He) - } - if ( - !N - ) { - const k = - { - params: - {}, - } - return ( - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++, - (we.errors = - ae), - !1 - ) - } - if ( - ((le = - L), - null !== - ae && - (L - ? (ae.length = - L) - : (ae = - null)), - R !== - le) - ) - break - } - } - } - qe = - P === - le - } else - qe = - !0 - if ( - qe - ) { - if ( - void 0 !== - E.module - ) { - let k = - E.module - const v = - le - if ( - le === - v - ) { - if ( - !k || - 'object' != - typeof k || - Array.isArray( - k - ) - ) - return ( - (we.errors = - [ - { - params: - { - type: 'object', - }, - }, - ]), - !1 - ) - { - const v = - le - for (const v in k) - if ( - 'hash' !== - v && - 'timestamp' !== - v - ) - return ( - (we.errors = - [ - { - params: - { - additionalProperty: - v, - }, - }, - ]), - !1 - ) - if ( - v === - le - ) { - if ( - void 0 !== - k.hash - ) { - const v = - le - if ( - 'boolean' != - typeof k.hash - ) - return ( - (we.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - var We = - v === - le - } else - We = - !0 - if ( - We - ) - if ( - void 0 !== - k.timestamp - ) { - const v = - le - if ( - 'boolean' != - typeof k.timestamp - ) - return ( - (we.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - We = - v === - le - } else - We = - !0 - } - } - } - qe = - v === - le - } else - qe = - !0 - if ( - qe - ) { - if ( - void 0 !== - E.resolve - ) { - let k = - E.resolve - const v = - le - if ( - le === - v - ) { - if ( - !k || - 'object' != - typeof k || - Array.isArray( - k - ) - ) - return ( - (we.errors = - [ - { - params: - { - type: 'object', - }, - }, - ]), - !1 - ) - { - const v = - le - for (const v in k) - if ( - 'hash' !== - v && - 'timestamp' !== - v - ) - return ( - (we.errors = - [ - { - params: - { - additionalProperty: - v, - }, - }, - ]), - !1 - ) - if ( - v === - le - ) { - if ( - void 0 !== - k.hash - ) { - const v = - le - if ( - 'boolean' != - typeof k.hash - ) - return ( - (we.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - var Qe = - v === - le - } else - Qe = - !0 - if ( - Qe - ) - if ( - void 0 !== - k.timestamp - ) { - const v = - le - if ( - 'boolean' != - typeof k.timestamp - ) - return ( - (we.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Qe = - v === - le - } else - Qe = - !0 - } - } - } - qe = - v === - le - } else - qe = - !0 - if ( - qe - ) - if ( - void 0 !== - E.resolveBuildDependencies - ) { - let k = - E.resolveBuildDependencies - const v = - le - if ( - le === - v - ) { - if ( - !k || - 'object' != - typeof k || - Array.isArray( - k - ) - ) - return ( - (we.errors = - [ - { - params: - { - type: 'object', - }, - }, - ]), - !1 - ) - { - const v = - le - for (const v in k) - if ( - 'hash' !== - v && - 'timestamp' !== - v - ) - return ( - (we.errors = - [ - { - params: - { - additionalProperty: - v, - }, - }, - ]), - !1 - ) - if ( - v === - le - ) { - if ( - void 0 !== - k.hash - ) { - const v = - le - if ( - 'boolean' != - typeof k.hash - ) - return ( - (we.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - var Je = - v === - le - } else - Je = - !0 - if ( - Je - ) - if ( - void 0 !== - k.timestamp - ) { - const v = - le - if ( - 'boolean' != - typeof k.timestamp - ) - return ( - (we.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Je = - v === - le - } else - Je = - !0 - } - } - } - qe = - v === - le - } else - qe = - !0 - } - } - } - } - } - } - } - me = - P === - le - } else - me = - !0 - if ( - me - ) { - if ( - void 0 !== - k.stats - ) { - const v = - le - ze( - k.stats, - { - instancePath: - R + - '/stats', - parentData: - k, - parentDataProperty: - 'stats', - rootData: - q, - } - ) || - ((ae = - null === - ae - ? ze.errors - : ae.concat( - ze.errors - )), - (le = - ae.length)), - (me = - v === - le) - } else - me = - !0 - if ( - me - ) { - if ( - void 0 !== - k.target - ) { - let v = - k.target - const E = - le, - P = - le - let R = - !1 - const L = - le - if ( - le === - L - ) - if ( - Array.isArray( - v - ) - ) - if ( - v.length < - 1 - ) { - const k = - { - params: - { - limit: 1, - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } else { - const k = - v.length - for ( - let E = 0; - E < - k; - E++ - ) { - let k = - v[ - E - ] - const P = - le - if ( - le === - P - ) - if ( - 'string' == - typeof k - ) { - if ( - k.length < - 1 - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - if ( - P !== - le - ) - break - } - } - else { - const k = - { - params: - { - type: 'array', - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - var Ve = - L === - le - if ( - ((R = - R || - Ve), - !R) - ) { - const k = - le - if ( - !1 !== - v - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - if ( - ((Ve = - k === - le), - (R = - R || - Ve), - !R) - ) { - const k = - le - if ( - le === - k - ) - if ( - 'string' == - typeof v - ) { - if ( - v.length < - 1 - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - ;(Ve = - k === - le), - (R = - R || - Ve) - } - } - if ( - !R - ) { - const k = - { - params: - {}, - } - return ( - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++, - (we.errors = - ae), - !1 - ) - } - ;(le = - P), - null !== - ae && - (P - ? (ae.length = - P) - : (ae = - null)), - (me = - E === - le) - } else - me = - !0 - if ( - me - ) { - if ( - void 0 !== - k.watch - ) { - const v = - le - if ( - 'boolean' != - typeof k.watch - ) - return ( - (we.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - me = - v === - le - } else - me = - !0 - if ( - me - ) - if ( - void 0 !== - k.watchOptions - ) { - let v = - k.watchOptions - const E = - le - if ( - le == - le - ) { - if ( - !v || - 'object' != - typeof v || - Array.isArray( - v - ) - ) - return ( - (we.errors = - [ - { - params: - { - type: 'object', - }, - }, - ]), - !1 - ) - { - const k = - le - for (const k in v) - if ( - 'aggregateTimeout' !== - k && - 'followSymlinks' !== - k && - 'ignored' !== - k && - 'poll' !== - k && - 'stdin' !== - k - ) - return ( - (we.errors = - [ - { - params: - { - additionalProperty: - k, - }, - }, - ]), - !1 - ) - if ( - k === - le - ) { - if ( - void 0 !== - v.aggregateTimeout - ) { - const k = - le - if ( - 'number' != - typeof v.aggregateTimeout - ) - return ( - (we.errors = - [ - { - params: - { - type: 'number', - }, - }, - ]), - !1 - ) - var Ke = - k === - le - } else - Ke = - !0 - if ( - Ke - ) { - if ( - void 0 !== - v.followSymlinks - ) { - const k = - le - if ( - 'boolean' != - typeof v.followSymlinks - ) - return ( - (we.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Ke = - k === - le - } else - Ke = - !0 - if ( - Ke - ) { - if ( - void 0 !== - v.ignored - ) { - let k = - v.ignored - const E = - le, - P = - le - let R = - !1 - const L = - le - if ( - le === - L - ) - if ( - Array.isArray( - k - ) - ) { - const v = - k.length - for ( - let E = 0; - E < - v; - E++ - ) { - let v = - k[ - E - ] - const P = - le - if ( - le === - P - ) - if ( - 'string' == - typeof v - ) { - if ( - v.length < - 1 - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - if ( - P !== - le - ) - break - } - } else { - const k = - { - params: - { - type: 'array', - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - var Ye = - L === - le - if ( - ((R = - R || - Ye), - !R) - ) { - const v = - le - if ( - !( - k instanceof - RegExp - ) - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - if ( - ((Ye = - v === - le), - (R = - R || - Ye), - !R) - ) { - const v = - le - if ( - le === - v - ) - if ( - 'string' == - typeof k - ) { - if ( - k.length < - 1 - ) { - const k = - { - params: - {}, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - } else { - const k = - { - params: - { - type: 'string', - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - ;(Ye = - v === - le), - (R = - R || - Ye) - } - } - if ( - !R - ) { - const k = - { - params: - {}, - } - return ( - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++, - (we.errors = - ae), - !1 - ) - } - ;(le = - P), - null !== - ae && - (P - ? (ae.length = - P) - : (ae = - null)), - (Ke = - E === - le) - } else - Ke = - !0 - if ( - Ke - ) { - if ( - void 0 !== - v.poll - ) { - let k = - v.poll - const E = - le, - P = - le - let R = - !1 - const L = - le - if ( - 'number' != - typeof k - ) { - const k = - { - params: - { - type: 'number', - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - var Xe = - L === - le - if ( - ((R = - R || - Xe), - !R) - ) { - const v = - le - if ( - 'boolean' != - typeof k - ) { - const k = - { - params: - { - type: 'boolean', - }, - } - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++ - } - ;(Xe = - v === - le), - (R = - R || - Xe) - } - if ( - !R - ) { - const k = - { - params: - {}, - } - return ( - null === - ae - ? (ae = - [ - k, - ]) - : ae.push( - k - ), - le++, - (we.errors = - ae), - !1 - ) - } - ;(le = - P), - null !== - ae && - (P - ? (ae.length = - P) - : (ae = - null)), - (Ke = - E === - le) - } else - Ke = - !0 - if ( - Ke - ) - if ( - void 0 !== - v.stdin - ) { - const k = - le - if ( - 'boolean' != - typeof v.stdin - ) - return ( - (we.errors = - [ - { - params: - { - type: 'boolean', - }, - }, - ]), - !1 - ) - Ke = - k === - le - } else - Ke = - !0 - } - } - } - } - } - } - me = - E === - le - } else - me = - !0 - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return (we.errors = ae), 0 === le - } - }, - 85797: function (k) { - 'use strict' - function n( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = N, - R = N - let q = !1, - ae = null - const le = N, - me = N - let ye = !1 - const _e = N - if (!(v instanceof RegExp)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = _e === N - if (((ye = ye || pe), !ye)) { - const k = N - if (N === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = k === N), (ye = ye || pe) - } - if (ye) - (N = me), null !== L && (me ? (L.length = me) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if ((le === N && ((q = !0), (ae = 0)), q)) - (N = R), null !== L && (R ? (L.length = R) : (L = null)) - else { - const k = { params: { passingSchemas: ae } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = le === N - if (((ae = ae || me), !ae)) { - const v = N, - E = N - let P = !1 - const R = N - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var ye = R === N - if (((P = P || ye), !P)) { - const v = N - if (N === v) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ye = v === N), (P = P || ye) - } - if (P) (N = E), null !== L && (E ? (L.length = E) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = v === N), (ae = ae || me) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (n.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (n.errors = L), - 0 === N - ) - } - function t( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const E = N - if (N === E) - if (k && 'object' == typeof k && !Array.isArray(k)) { - let E - if (void 0 === k.banner && (E = 'banner')) { - const k = { params: { missingProperty: E } } - null === L ? (L = [k]) : L.push(k), N++ - } else { - const E = N - for (const v in k) - if ( - 'banner' !== v && - 'entryOnly' !== v && - 'exclude' !== v && - 'footer' !== v && - 'include' !== v && - 'raw' !== v && - 'test' !== v - ) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (E === N) { - if (void 0 !== k.banner) { - let v = k.banner - const E = N, - P = N - let R = !1 - const q = N - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = q === N - if (((R = R || me), !R)) { - const k = N - if (!(v instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = k === N), (R = R || me) - } - if (R) - (N = P), null !== L && (P ? (L.length = P) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var ye = E === N - } else ye = !0 - if (ye) { - if (void 0 !== k.entryOnly) { - const v = N - if ('boolean' != typeof k.entryOnly) { - const k = { params: { type: 'boolean' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ye = v === N - } else ye = !0 - if (ye) { - if (void 0 !== k.exclude) { - const E = N, - P = N - let q = !1, - ae = null - const le = N - if ( - (n(k.exclude, { - instancePath: v + '/exclude', - parentData: k, - parentDataProperty: 'exclude', - rootData: R, - }) || - ((L = null === L ? n.errors : L.concat(n.errors)), - (N = L.length)), - le === N && ((q = !0), (ae = 0)), - q) - ) - (N = P), - null !== L && (P ? (L.length = P) : (L = null)) - else { - const k = { params: { passingSchemas: ae } } - null === L ? (L = [k]) : L.push(k), N++ - } - ye = E === N - } else ye = !0 - if (ye) { - if (void 0 !== k.footer) { - const v = N - if ('boolean' != typeof k.footer) { - const k = { params: { type: 'boolean' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ye = v === N - } else ye = !0 - if (ye) { - if (void 0 !== k.include) { - const E = N, - P = N - let q = !1, - ae = null - const le = N - if ( - (n(k.include, { - instancePath: v + '/include', - parentData: k, - parentDataProperty: 'include', - rootData: R, - }) || - ((L = - null === L ? n.errors : L.concat(n.errors)), - (N = L.length)), - le === N && ((q = !0), (ae = 0)), - q) - ) - (N = P), - null !== L && (P ? (L.length = P) : (L = null)) - else { - const k = { params: { passingSchemas: ae } } - null === L ? (L = [k]) : L.push(k), N++ - } - ye = E === N - } else ye = !0 - if (ye) { - if (void 0 !== k.raw) { - const v = N - if ('boolean' != typeof k.raw) { - const k = { params: { type: 'boolean' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ye = v === N - } else ye = !0 - if (ye) - if (void 0 !== k.test) { - const E = N, - P = N - let q = !1, - ae = null - const le = N - if ( - (n(k.test, { - instancePath: v + '/test', - parentData: k, - parentDataProperty: 'test', - rootData: R, - }) || - ((L = - null === L - ? n.errors - : L.concat(n.errors)), - (N = L.length)), - le === N && ((q = !0), (ae = 0)), - q) - ) - (N = P), - null !== L && - (P ? (L.length = P) : (L = null)) - else { - const k = { params: { passingSchemas: ae } } - null === L ? (L = [k]) : L.push(k), N++ - } - ye = E === N - } else ye = !0 - } - } - } - } - } - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((pe = E === N), (ae = ae || pe), !ae)) { - const v = N - if (!(k instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (t.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (t.errors = L), - 0 === N - ) - } - ;(k.exports = t), (k.exports['default'] = t) - }, - 79339: function (k) { - 'use strict' - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - { - let v - if (void 0 === k.path && (v = 'path')) - return (r.errors = [{ params: { missingProperty: v } }]), !1 - { - const v = 0 - for (const v in k) - if ( - 'context' !== v && - 'entryOnly' !== v && - 'format' !== v && - 'name' !== v && - 'path' !== v && - 'type' !== v - ) - return (r.errors = [{ params: { additionalProperty: v } }]), !1 - if (0 === v) { - if (void 0 !== k.context) { - let v = k.context - const E = 0 - if (0 === E) { - if ('string' != typeof v) - return (r.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (r.errors = [{ params: {} }]), !1 - } - var L = 0 === E - } else L = !0 - if (L) { - if (void 0 !== k.entryOnly) { - const v = 0 - if ('boolean' != typeof k.entryOnly) - return (r.errors = [{ params: { type: 'boolean' } }]), !1 - L = 0 === v - } else L = !0 - if (L) { - if (void 0 !== k.format) { - const v = 0 - if ('boolean' != typeof k.format) - return (r.errors = [{ params: { type: 'boolean' } }]), !1 - L = 0 === v - } else L = !0 - if (L) { - if (void 0 !== k.name) { - let v = k.name - const E = 0 - if (0 === E) { - if ('string' != typeof v) - return ( - (r.errors = [{ params: { type: 'string' } }]), !1 - ) - if (v.length < 1) - return (r.errors = [{ params: {} }]), !1 - } - L = 0 === E - } else L = !0 - if (L) { - if (void 0 !== k.path) { - let v = k.path - const E = 0 - if (0 === E) { - if ('string' != typeof v) - return ( - (r.errors = [{ params: { type: 'string' } }]), !1 - ) - if (v.length < 1) - return (r.errors = [{ params: {} }]), !1 - } - L = 0 === E - } else L = !0 - if (L) - if (void 0 !== k.type) { - let v = k.type - const E = 0 - if (0 === E) { - if ('string' != typeof v) - return ( - (r.errors = [{ params: { type: 'string' } }]), - !1 - ) - if (v.length < 1) - return (r.errors = [{ params: {} }]), !1 - } - L = 0 === E - } else L = !0 - } - } - } - } - } - } - } - return (r.errors = null), !0 - } - ;(k.exports = r), (k.exports['default'] = r) - }, - 70959: function (k) { - const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ - function t( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (t.errors = [{ params: { type: 'object' } }]), !1 - { - let v - if (void 0 === k.content && (v = 'content')) - return (t.errors = [{ params: { missingProperty: v } }]), !1 - { - const v = N - for (const v in k) - if ('content' !== v && 'name' !== v && 'type' !== v) - return ( - (t.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (v === N) { - if (void 0 !== k.content) { - let v = k.content - const E = N, - P = N - let R = !1, - me = null - const ye = N - if (N == N) - if (v && 'object' == typeof v && !Array.isArray(v)) - if (Object.keys(v).length < 1) { - const k = { params: { limit: 1 } } - null === L ? (L = [k]) : L.push(k), N++ - } else - for (const k in v) { - let E = v[k] - const P = N - if (N === P) - if ( - E && - 'object' == typeof E && - !Array.isArray(E) - ) { - let k - if (void 0 === E.id && (k = 'id')) { - const v = { params: { missingProperty: k } } - null === L ? (L = [v]) : L.push(v), N++ - } else { - const k = N - for (const k in E) - if ( - 'buildMeta' !== k && - 'exports' !== k && - 'id' !== k - ) { - const v = { - params: { additionalProperty: k }, - } - null === L ? (L = [v]) : L.push(v), N++ - break - } - if (k === N) { - if (void 0 !== E.buildMeta) { - let k = E.buildMeta - const v = N - if ( - !k || - 'object' != typeof k || - Array.isArray(k) - ) { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = v === N - } else q = !0 - if (q) { - if (void 0 !== E.exports) { - let k = E.exports - const v = N, - P = N - let R = !1 - const le = N - if (N === le) - if (Array.isArray(k)) { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = N - if (N === P) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L - ? (L = [k]) - : L.push(k), - N++ - } - } else { - const k = { - params: { type: 'string' }, - } - null === L - ? (L = [k]) - : L.push(k), - N++ - } - if (P !== N) break - } - } else { - const k = { - params: { type: 'array' }, - } - null === L ? (L = [k]) : L.push(k), - N++ - } - var ae = le === N - if (((R = R || ae), !R)) { - const v = N - if (!0 !== k) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), - N++ - } - ;(ae = v === N), (R = R || ae) - } - if (R) - (N = P), - null !== L && - (P ? (L.length = P) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - q = v === N - } else q = !0 - if (q) - if (void 0 !== E.id) { - let k = E.id - const v = N, - P = N - let R = !1 - const ae = N - if ('number' != typeof k) { - const k = { - params: { type: 'number' }, - } - null === L ? (L = [k]) : L.push(k), - N++ - } - var le = ae === N - if (((R = R || le), !R)) { - const v = N - if (N === v) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L - ? (L = [k]) - : L.push(k), - N++ - } - } else { - const k = { - params: { type: 'string' }, - } - null === L - ? (L = [k]) - : L.push(k), - N++ - } - ;(le = v === N), (R = R || le) - } - if (R) - (N = P), - null !== L && - (P ? (L.length = P) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), - N++ - } - q = v === N - } else q = !0 - } - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if ((ye === N && ((R = !0), (me = 0)), !R)) { - const k = { params: { passingSchemas: me } } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (t.errors = L), - !1 - ) - } - ;(N = P), null !== L && (P ? (L.length = P) : (L = null)) - var pe = E === N - } else pe = !0 - if (pe) { - if (void 0 !== k.name) { - let v = k.name - const E = N - if (N === E) { - if ('string' != typeof v) - return (t.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (t.errors = [{ params: {} }]), !1 - } - pe = E === N - } else pe = !0 - if (pe) - if (void 0 !== k.type) { - let v = k.type - const E = N, - P = N - let R = !1, - q = null - const ae = N - if ( - 'var' !== v && - 'assign' !== v && - 'this' !== v && - 'window' !== v && - 'global' !== v && - 'commonjs' !== v && - 'commonjs2' !== v && - 'commonjs-module' !== v && - 'amd' !== v && - 'amd-require' !== v && - 'umd' !== v && - 'umd2' !== v && - 'jsonp' !== v && - 'system' !== v - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if ((ae === N && ((R = !0), (q = 0)), !R)) { - const k = { params: { passingSchemas: q } } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (t.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (pe = E === N) - } else pe = !0 - } - } - } - } - } - return (t.errors = L), 0 === N - } - function e( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - const ae = q - let le = !1 - const pe = q - if (q === pe) - if (k && 'object' == typeof k && !Array.isArray(k)) { - let P - if (void 0 === k.manifest && (P = 'manifest')) { - const k = { params: { missingProperty: P } } - null === N ? (N = [k]) : N.push(k), q++ - } else { - const P = q - for (const v in k) - if ( - 'context' !== v && - 'extensions' !== v && - 'manifest' !== v && - 'name' !== v && - 'scope' !== v && - 'sourceType' !== v && - 'type' !== v - ) { - const k = { params: { additionalProperty: v } } - null === N ? (N = [k]) : N.push(k), q++ - break - } - if (P === q) { - if (void 0 !== k.context) { - let E = k.context - const P = q - if (q === P) - if ('string' == typeof E) { - if (E.includes('!') || !0 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var me = P === q - } else me = !0 - if (me) { - if (void 0 !== k.extensions) { - let v = k.extensions - const E = q - if (q === E) - if (Array.isArray(v)) { - const k = v.length - for (let E = 0; E < k; E++) { - const k = q - if ('string' != typeof v[E]) { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (k !== q) break - } - } else { - const k = { params: { type: 'array' } } - null === N ? (N = [k]) : N.push(k), q++ - } - me = E === q - } else me = !0 - if (me) { - if (void 0 !== k.manifest) { - let P = k.manifest - const R = q, - ae = q - let le = !1 - const pe = q - if (q === pe) - if ('string' == typeof P) { - if (P.includes('!') || !0 !== v.test(P)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var ye = pe === q - if (((le = le || ye), !le)) { - const v = q - t(P, { - instancePath: E + '/manifest', - parentData: k, - parentDataProperty: 'manifest', - rootData: L, - }) || - ((N = null === N ? t.errors : N.concat(t.errors)), - (q = N.length)), - (ye = v === q), - (le = le || ye) - } - if (le) - (q = ae), - null !== N && (ae ? (N.length = ae) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - me = R === q - } else me = !0 - if (me) { - if (void 0 !== k.name) { - let v = k.name - const E = q - if (q === E) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - me = E === q - } else me = !0 - if (me) { - if (void 0 !== k.scope) { - let v = k.scope - const E = q - if (q === E) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - me = E === q - } else me = !0 - if (me) { - if (void 0 !== k.sourceType) { - let v = k.sourceType - const E = q, - P = q - let R = !1, - L = null - const ae = q - if ( - 'var' !== v && - 'assign' !== v && - 'this' !== v && - 'window' !== v && - 'global' !== v && - 'commonjs' !== v && - 'commonjs2' !== v && - 'commonjs-module' !== v && - 'amd' !== v && - 'amd-require' !== v && - 'umd' !== v && - 'umd2' !== v && - 'jsonp' !== v && - 'system' !== v - ) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - if ((ae === q && ((R = !0), (L = 0)), R)) - (q = P), - null !== N && (P ? (N.length = P) : (N = null)) - else { - const k = { params: { passingSchemas: L } } - null === N ? (N = [k]) : N.push(k), q++ - } - me = E === q - } else me = !0 - if (me) - if (void 0 !== k.type) { - let v = k.type - const E = q - if ('require' !== v && 'object' !== v) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - me = E === q - } else me = !0 - } - } - } - } - } - } - } - } else { - const k = { params: { type: 'object' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var _e = pe === q - if (((le = le || _e), !le)) { - const E = q - if (q === E) - if (k && 'object' == typeof k && !Array.isArray(k)) { - let E - if ( - (void 0 === k.content && (E = 'content')) || - (void 0 === k.name && (E = 'name')) - ) { - const k = { params: { missingProperty: E } } - null === N ? (N = [k]) : N.push(k), q++ - } else { - const E = q - for (const v in k) - if ( - 'content' !== v && - 'context' !== v && - 'extensions' !== v && - 'name' !== v && - 'scope' !== v && - 'sourceType' !== v && - 'type' !== v - ) { - const k = { params: { additionalProperty: v } } - null === N ? (N = [k]) : N.push(k), q++ - break - } - if (E === q) { - if (void 0 !== k.content) { - let v = k.content - const E = q, - P = q - let R = !1, - L = null - const ae = q - if (q == q) - if (v && 'object' == typeof v && !Array.isArray(v)) - if (Object.keys(v).length < 1) { - const k = { params: { limit: 1 } } - null === N ? (N = [k]) : N.push(k), q++ - } else - for (const k in v) { - let E = v[k] - const P = q - if (q === P) - if ( - E && - 'object' == typeof E && - !Array.isArray(E) - ) { - let k - if (void 0 === E.id && (k = 'id')) { - const v = { params: { missingProperty: k } } - null === N ? (N = [v]) : N.push(v), q++ - } else { - const k = q - for (const k in E) - if ( - 'buildMeta' !== k && - 'exports' !== k && - 'id' !== k - ) { - const v = { - params: { additionalProperty: k }, - } - null === N ? (N = [v]) : N.push(v), q++ - break - } - if (k === q) { - if (void 0 !== E.buildMeta) { - let k = E.buildMeta - const v = q - if ( - !k || - 'object' != typeof k || - Array.isArray(k) - ) { - const k = { params: { type: 'object' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var Ie = v === q - } else Ie = !0 - if (Ie) { - if (void 0 !== E.exports) { - let k = E.exports - const v = q, - P = q - let R = !1 - const L = q - if (q === L) - if (Array.isArray(k)) { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = q - if (q === P) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - } else { - const k = { - params: { type: 'string' }, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - if (P !== q) break - } - } else { - const k = { - params: { type: 'array' }, - } - null === N ? (N = [k]) : N.push(k), - q++ - } - var Me = L === q - if (((R = R || Me), !R)) { - const v = q - if (!0 !== k) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), - q++ - } - ;(Me = v === q), (R = R || Me) - } - if (R) - (q = P), - null !== N && - (P ? (N.length = P) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), - q++ - } - Ie = v === q - } else Ie = !0 - if (Ie) - if (void 0 !== E.id) { - let k = E.id - const v = q, - P = q - let R = !1 - const L = q - if ('number' != typeof k) { - const k = { - params: { type: 'number' }, - } - null === N ? (N = [k]) : N.push(k), - q++ - } - var Te = L === q - if (((R = R || Te), !R)) { - const v = q - if (q === v) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - } else { - const k = { - params: { type: 'string' }, - } - null === N - ? (N = [k]) - : N.push(k), - q++ - } - ;(Te = v === q), (R = R || Te) - } - if (R) - (q = P), - null !== N && - (P - ? (N.length = P) - : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), - q++ - } - Ie = v === q - } else Ie = !0 - } - } - } - } else { - const k = { params: { type: 'object' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (P !== q) break - } - else { - const k = { params: { type: 'object' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if ((ae === q && ((R = !0), (L = 0)), R)) - (q = P), null !== N && (P ? (N.length = P) : (N = null)) - else { - const k = { params: { passingSchemas: L } } - null === N ? (N = [k]) : N.push(k), q++ - } - var je = E === q - } else je = !0 - if (je) { - if (void 0 !== k.context) { - let E = k.context - const P = q - if (q === P) - if ('string' == typeof E) { - if (E.includes('!') || !0 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - je = P === q - } else je = !0 - if (je) { - if (void 0 !== k.extensions) { - let v = k.extensions - const E = q - if (q === E) - if (Array.isArray(v)) { - const k = v.length - for (let E = 0; E < k; E++) { - const k = q - if ('string' != typeof v[E]) { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - if (k !== q) break - } - } else { - const k = { params: { type: 'array' } } - null === N ? (N = [k]) : N.push(k), q++ - } - je = E === q - } else je = !0 - if (je) { - if (void 0 !== k.name) { - let v = k.name - const E = q - if (q === E) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - je = E === q - } else je = !0 - if (je) { - if (void 0 !== k.scope) { - let v = k.scope - const E = q - if (q === E) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - je = E === q - } else je = !0 - if (je) { - if (void 0 !== k.sourceType) { - let v = k.sourceType - const E = q, - P = q - let R = !1, - L = null - const ae = q - if ( - 'var' !== v && - 'assign' !== v && - 'this' !== v && - 'window' !== v && - 'global' !== v && - 'commonjs' !== v && - 'commonjs2' !== v && - 'commonjs-module' !== v && - 'amd' !== v && - 'amd-require' !== v && - 'umd' !== v && - 'umd2' !== v && - 'jsonp' !== v && - 'system' !== v - ) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - if ((ae === q && ((R = !0), (L = 0)), R)) - (q = P), - null !== N && - (P ? (N.length = P) : (N = null)) - else { - const k = { params: { passingSchemas: L } } - null === N ? (N = [k]) : N.push(k), q++ - } - je = E === q - } else je = !0 - if (je) - if (void 0 !== k.type) { - let v = k.type - const E = q - if ('require' !== v && 'object' !== v) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - je = E === q - } else je = !0 - } - } - } - } - } - } - } - } else { - const k = { params: { type: 'object' } } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(_e = E === q), (le = le || _e) - } - if (!le) { - const k = { params: {} } - return null === N ? (N = [k]) : N.push(k), q++, (e.errors = N), !1 - } - return ( - (q = ae), - null !== N && (ae ? (N.length = ae) : (N = null)), - (e.errors = N), - 0 === q - ) - } - ;(k.exports = e), (k.exports['default'] = e) - }, - 9543: function (k) { - const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ - function e( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - if (0 === q) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (e.errors = [{ params: { type: 'object' } }]), !1 - { - const E = q - for (const v in k) - if ( - 'context' !== v && - 'hashDigest' !== v && - 'hashDigestLength' !== v && - 'hashFunction' !== v - ) - return (e.errors = [{ params: { additionalProperty: v } }]), !1 - if (E === q) { - if (void 0 !== k.context) { - let E = k.context - const P = q - if (q === P) { - if ('string' != typeof E) - return (e.errors = [{ params: { type: 'string' } }]), !1 - if (E.includes('!') || !0 !== v.test(E)) - return (e.errors = [{ params: {} }]), !1 - } - var ae = P === q - } else ae = !0 - if (ae) { - if (void 0 !== k.hashDigest) { - let v = k.hashDigest - const E = q - if ('hex' !== v && 'latin1' !== v && 'base64' !== v) - return (e.errors = [{ params: {} }]), !1 - ae = E === q - } else ae = !0 - if (ae) { - if (void 0 !== k.hashDigestLength) { - let v = k.hashDigestLength - const E = q - if (q === E) { - if ('number' != typeof v) - return (e.errors = [{ params: { type: 'number' } }]), !1 - if (v < 1 || isNaN(v)) - return ( - (e.errors = [ - { params: { comparison: '>=', limit: 1 } }, - ]), - !1 - ) - } - ae = E === q - } else ae = !0 - if (ae) - if (void 0 !== k.hashFunction) { - let v = k.hashFunction - const E = q, - P = q - let R = !1, - L = null - const pe = q, - me = q - let ye = !1 - const _e = q - if (q === _e) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var le = _e === q - if (((ye = ye || le), !ye)) { - const k = q - if (!(v instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(le = k === q), (ye = ye || le) - } - if (ye) - (q = me), - null !== N && (me ? (N.length = me) : (N = null)) - else { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - if ((pe === q && ((R = !0), (L = 0)), !R)) { - const k = { params: { passingSchemas: L } } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (e.errors = N), - !1 - ) - } - ;(q = P), - null !== N && (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - } - } - } - } - } - return (e.errors = N), 0 === q - } - ;(k.exports = e), (k.exports['default'] = e) - }, - 4552: function (k) { - 'use strict' - function e( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (k && 'object' == typeof k && !Array.isArray(k)) { - let v - if (void 0 === k.resourceRegExp && (v = 'resourceRegExp')) { - const k = { params: { missingProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - } else { - const v = N - for (const v in k) - if ('contextRegExp' !== v && 'resourceRegExp' !== v) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (v === N) { - if (void 0 !== k.contextRegExp) { - const v = N - if (!(k.contextRegExp instanceof RegExp)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = v === N - } else pe = !0 - if (pe) - if (void 0 !== k.resourceRegExp) { - const v = N - if (!(k.resourceRegExp instanceof RegExp)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - pe = v === N - } else pe = !0 - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = le === N - if (((ae = ae || me), !ae)) { - const v = N - if (N === v) - if (k && 'object' == typeof k && !Array.isArray(k)) { - let v - if (void 0 === k.checkResource && (v = 'checkResource')) { - const k = { params: { missingProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - } else { - const v = N - for (const v in k) - if ('checkResource' !== v) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if ( - v === N && - void 0 !== k.checkResource && - !(k.checkResource instanceof Function) - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = v === N), (ae = ae || me) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (e.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (e.errors = L), - 0 === N - ) - } - ;(k.exports = e), (k.exports['default'] = e) - }, - 57583: function (k) { - 'use strict' - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - { - const v = 0 - for (const v in k) - if ('parse' !== v) - return (r.errors = [{ params: { additionalProperty: v } }]), !1 - if (0 === v && void 0 !== k.parse && !(k.parse instanceof Function)) - return (r.errors = [{ params: {} }]), !1 - } - return (r.errors = null), !0 - } - ;(k.exports = r), (k.exports['default'] = r) - }, - 12072: function (k) { - const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ - function e( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (e.errors = [{ params: { type: 'object' } }]), !1 - if (void 0 !== k.debug) { - const v = 0 - if ('boolean' != typeof k.debug) - return (e.errors = [{ params: { type: 'boolean' } }]), !1 - var N = 0 === v - } else N = !0 - if (N) { - if (void 0 !== k.minimize) { - const v = 0 - if ('boolean' != typeof k.minimize) - return (e.errors = [{ params: { type: 'boolean' } }]), !1 - N = 0 === v - } else N = !0 - if (N) - if (void 0 !== k.options) { - let E = k.options - const P = 0 - if (0 === P) { - if (!E || 'object' != typeof E || Array.isArray(E)) - return (e.errors = [{ params: { type: 'object' } }]), !1 - if (void 0 !== E.context) { - let k = E.context - if ('string' != typeof k) - return (e.errors = [{ params: { type: 'string' } }]), !1 - if (k.includes('!') || !0 !== v.test(k)) - return (e.errors = [{ params: {} }]), !1 - } - } - N = 0 === P - } else N = !0 - } - return (e.errors = null), !0 - } - ;(k.exports = e), (k.exports['default'] = e) - }, - 53912: function (k) { - 'use strict' - ;(k.exports = t), (k.exports['default'] = t) - const v = { - type: 'object', - additionalProperties: !1, - properties: { - activeModules: { type: 'boolean' }, - dependencies: { type: 'boolean' }, - dependenciesCount: { type: 'number' }, - entries: { type: 'boolean' }, - handler: { oneOf: [{ $ref: '#/definitions/HandlerFunction' }] }, - modules: { type: 'boolean' }, - modulesCount: { type: 'number' }, - percentBy: { enum: ['entries', 'modules', 'dependencies', null] }, - profile: { enum: [!0, !1, null] }, - }, - }, - E = Object.prototype.hasOwnProperty - function n( - k, - { - instancePath: P = '', - parentData: R, - parentDataProperty: L, - rootData: N = k, - } = {} - ) { - let q = null, - ae = 0 - if (0 === ae) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (n.errors = [{ params: { type: 'object' } }]), !1 - { - const P = ae - for (const P in k) - if (!E.call(v.properties, P)) - return (n.errors = [{ params: { additionalProperty: P } }]), !1 - if (P === ae) { - if (void 0 !== k.activeModules) { - const v = ae - if ('boolean' != typeof k.activeModules) - return (n.errors = [{ params: { type: 'boolean' } }]), !1 - var le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.dependencies) { - const v = ae - if ('boolean' != typeof k.dependencies) - return (n.errors = [{ params: { type: 'boolean' } }]), !1 - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.dependenciesCount) { - const v = ae - if ('number' != typeof k.dependenciesCount) - return (n.errors = [{ params: { type: 'number' } }]), !1 - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.entries) { - const v = ae - if ('boolean' != typeof k.entries) - return ( - (n.errors = [{ params: { type: 'boolean' } }]), !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.handler) { - const v = ae, - E = ae - let P = !1, - R = null - const L = ae - if (!(k.handler instanceof Function)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - if ((L === ae && ((P = !0), (R = 0)), !P)) { - const k = { params: { passingSchemas: R } } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (n.errors = q), - !1 - ) - } - ;(ae = E), - null !== q && (E ? (q.length = E) : (q = null)), - (le = v === ae) - } else le = !0 - if (le) { - if (void 0 !== k.modules) { - const v = ae - if ('boolean' != typeof k.modules) - return ( - (n.errors = [{ params: { type: 'boolean' } }]), !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.modulesCount) { - const v = ae - if ('number' != typeof k.modulesCount) - return ( - (n.errors = [{ params: { type: 'number' } }]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.percentBy) { - let v = k.percentBy - const E = ae - if ( - 'entries' !== v && - 'modules' !== v && - 'dependencies' !== v && - null !== v - ) - return (n.errors = [{ params: {} }]), !1 - le = E === ae - } else le = !0 - if (le) - if (void 0 !== k.profile) { - let v = k.profile - const E = ae - if (!0 !== v && !1 !== v && null !== v) - return (n.errors = [{ params: {} }]), !1 - le = E === ae - } else le = !0 - } - } - } - } - } - } - } - } - } - } - return (n.errors = q), 0 === ae - } - function t( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - n(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || ((L = null === L ? n.errors : L.concat(n.errors)), (N = L.length)) - var pe = le === N - if (((ae = ae || pe), !ae)) { - const v = N - if (!(k instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (t.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (t.errors = L), - 0 === N - ) - } - }, - 49623: function (k) { - const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ - ;(k.exports = l), (k.exports['default'] = l) - const E = { - definitions: { - rule: { - anyOf: [ - { instanceof: 'RegExp' }, - { type: 'string', minLength: 1 }, - ], - }, - rules: { - anyOf: [ - { - type: 'array', - items: { oneOf: [{ $ref: '#/definitions/rule' }] }, - }, - { $ref: '#/definitions/rule' }, - ], - }, - }, - type: 'object', - additionalProperties: !1, - properties: { - append: { - anyOf: [ - { enum: [!1, null] }, - { type: 'string', minLength: 1 }, - { instanceof: 'Function' }, - ], - }, - columns: { type: 'boolean' }, - exclude: { oneOf: [{ $ref: '#/definitions/rules' }] }, - fallbackModuleFilenameTemplate: { - anyOf: [ - { type: 'string', minLength: 1 }, - { instanceof: 'Function' }, - ], - }, - fileContext: { type: 'string' }, - filename: { - anyOf: [ - { enum: [!1, null] }, - { type: 'string', absolutePath: !1, minLength: 1 }, - ], - }, - include: { oneOf: [{ $ref: '#/definitions/rules' }] }, - module: { type: 'boolean' }, - moduleFilenameTemplate: { - anyOf: [ - { type: 'string', minLength: 1 }, - { instanceof: 'Function' }, - ], - }, - namespace: { type: 'string' }, - noSources: { type: 'boolean' }, - publicPath: { type: 'string' }, - sourceRoot: { type: 'string' }, - test: { $ref: '#/definitions/rules' }, - }, - }, - P = Object.prototype.hasOwnProperty - function s( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = N, - R = N - let q = !1, - ae = null - const le = N, - me = N - let ye = !1 - const _e = N - if (!(v instanceof RegExp)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = _e === N - if (((ye = ye || pe), !ye)) { - const k = N - if (N === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = k === N), (ye = ye || pe) - } - if (ye) - (N = me), null !== L && (me ? (L.length = me) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if ((le === N && ((q = !0), (ae = 0)), q)) - (N = R), null !== L && (R ? (L.length = R) : (L = null)) - else { - const k = { params: { passingSchemas: ae } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = le === N - if (((ae = ae || me), !ae)) { - const v = N, - E = N - let P = !1 - const R = N - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var ye = R === N - if (((P = P || ye), !P)) { - const v = N - if (N === v) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ye = v === N), (P = P || ye) - } - if (P) (N = E), null !== L && (E ? (L.length = E) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = v === N), (ae = ae || me) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (s.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (s.errors = L), - 0 === N - ) - } - function l( - k, - { - instancePath: R = '', - parentData: L, - parentDataProperty: N, - rootData: q = k, - } = {} - ) { - let ae = null, - le = 0 - if (0 === le) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (l.errors = [{ params: { type: 'object' } }]), !1 - { - const L = le - for (const v in k) - if (!P.call(E.properties, v)) - return (l.errors = [{ params: { additionalProperty: v } }]), !1 - if (L === le) { - if (void 0 !== k.append) { - let v = k.append - const E = le, - P = le - let R = !1 - const L = le - if (!1 !== v && null !== v) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - var pe = L === le - if (((R = R || pe), !R)) { - const k = le - if (le === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - } else { - const k = { params: { type: 'string' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - if (((pe = k === le), (R = R || pe), !R)) { - const k = le - if (!(v instanceof Function)) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - ;(pe = k === le), (R = R || pe) - } - } - if (!R) { - const k = { params: {} } - return ( - null === ae ? (ae = [k]) : ae.push(k), - le++, - (l.errors = ae), - !1 - ) - } - ;(le = P), null !== ae && (P ? (ae.length = P) : (ae = null)) - var me = E === le - } else me = !0 - if (me) { - if (void 0 !== k.columns) { - const v = le - if ('boolean' != typeof k.columns) - return (l.errors = [{ params: { type: 'boolean' } }]), !1 - me = v === le - } else me = !0 - if (me) { - if (void 0 !== k.exclude) { - const v = le, - E = le - let P = !1, - L = null - const N = le - if ( - (s(k.exclude, { - instancePath: R + '/exclude', - parentData: k, - parentDataProperty: 'exclude', - rootData: q, - }) || - ((ae = null === ae ? s.errors : ae.concat(s.errors)), - (le = ae.length)), - N === le && ((P = !0), (L = 0)), - !P) - ) { - const k = { params: { passingSchemas: L } } - return ( - null === ae ? (ae = [k]) : ae.push(k), - le++, - (l.errors = ae), - !1 - ) - } - ;(le = E), - null !== ae && (E ? (ae.length = E) : (ae = null)), - (me = v === le) - } else me = !0 - if (me) { - if (void 0 !== k.fallbackModuleFilenameTemplate) { - let v = k.fallbackModuleFilenameTemplate - const E = le, - P = le - let R = !1 - const L = le - if (le === L) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - } else { - const k = { params: { type: 'string' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - var ye = L === le - if (((R = R || ye), !R)) { - const k = le - if (!(v instanceof Function)) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - ;(ye = k === le), (R = R || ye) - } - if (!R) { - const k = { params: {} } - return ( - null === ae ? (ae = [k]) : ae.push(k), - le++, - (l.errors = ae), - !1 - ) - } - ;(le = P), - null !== ae && (P ? (ae.length = P) : (ae = null)), - (me = E === le) - } else me = !0 - if (me) { - if (void 0 !== k.fileContext) { - const v = le - if ('string' != typeof k.fileContext) - return ( - (l.errors = [{ params: { type: 'string' } }]), !1 - ) - me = v === le - } else me = !0 - if (me) { - if (void 0 !== k.filename) { - let E = k.filename - const P = le, - R = le - let L = !1 - const N = le - if (!1 !== E && null !== E) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - var _e = N === le - if (((L = L || _e), !L)) { - const k = le - if (le === k) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } else if (E.length < 1) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - } else { - const k = { params: { type: 'string' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - ;(_e = k === le), (L = L || _e) - } - if (!L) { - const k = { params: {} } - return ( - null === ae ? (ae = [k]) : ae.push(k), - le++, - (l.errors = ae), - !1 - ) - } - ;(le = R), - null !== ae && (R ? (ae.length = R) : (ae = null)), - (me = P === le) - } else me = !0 - if (me) { - if (void 0 !== k.include) { - const v = le, - E = le - let P = !1, - L = null - const N = le - if ( - (s(k.include, { - instancePath: R + '/include', - parentData: k, - parentDataProperty: 'include', - rootData: q, - }) || - ((ae = - null === ae ? s.errors : ae.concat(s.errors)), - (le = ae.length)), - N === le && ((P = !0), (L = 0)), - !P) - ) { - const k = { params: { passingSchemas: L } } - return ( - null === ae ? (ae = [k]) : ae.push(k), - le++, - (l.errors = ae), - !1 - ) - } - ;(le = E), - null !== ae && - (E ? (ae.length = E) : (ae = null)), - (me = v === le) - } else me = !0 - if (me) { - if (void 0 !== k.module) { - const v = le - if ('boolean' != typeof k.module) - return ( - (l.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - me = v === le - } else me = !0 - if (me) { - if (void 0 !== k.moduleFilenameTemplate) { - let v = k.moduleFilenameTemplate - const E = le, - P = le - let R = !1 - const L = le - if (le === L) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), - le++ - } - } else { - const k = { params: { type: 'string' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - var Ie = L === le - if (((R = R || Ie), !R)) { - const k = le - if (!(v instanceof Function)) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - ;(Ie = k === le), (R = R || Ie) - } - if (!R) { - const k = { params: {} } - return ( - null === ae ? (ae = [k]) : ae.push(k), - le++, - (l.errors = ae), - !1 - ) - } - ;(le = P), - null !== ae && - (P ? (ae.length = P) : (ae = null)), - (me = E === le) - } else me = !0 - if (me) { - if (void 0 !== k.namespace) { - const v = le - if ('string' != typeof k.namespace) - return ( - (l.errors = [ - { params: { type: 'string' } }, - ]), - !1 - ) - me = v === le - } else me = !0 - if (me) { - if (void 0 !== k.noSources) { - const v = le - if ('boolean' != typeof k.noSources) - return ( - (l.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - me = v === le - } else me = !0 - if (me) { - if (void 0 !== k.publicPath) { - const v = le - if ('string' != typeof k.publicPath) - return ( - (l.errors = [ - { params: { type: 'string' } }, - ]), - !1 - ) - me = v === le - } else me = !0 - if (me) { - if (void 0 !== k.sourceRoot) { - const v = le - if ('string' != typeof k.sourceRoot) - return ( - (l.errors = [ - { params: { type: 'string' } }, - ]), - !1 - ) - me = v === le - } else me = !0 - if (me) - if (void 0 !== k.test) { - const v = le - s(k.test, { - instancePath: R + '/test', - parentData: k, - parentDataProperty: 'test', - rootData: q, - }) || - ((ae = - null === ae - ? s.errors - : ae.concat(s.errors)), - (le = ae.length)), - (me = v === le) - } else me = !0 - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return (l.errors = ae), 0 === le - } - }, - 24318: function (k) { - 'use strict' - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - { - let v - if (void 0 === k.paths && (v = 'paths')) - return (r.errors = [{ params: { missingProperty: v } }]), !1 - { - const v = N - for (const v in k) - if ('paths' !== v) - return ( - (r.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (v === N && void 0 !== k.paths) { - let v = k.paths - if (N == N) { - if (!Array.isArray(v)) - return (r.errors = [{ params: { type: 'array' } }]), !1 - if (v.length < 1) - return (r.errors = [{ params: { limit: 1 } }]), !1 - { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = N, - R = N - let ae = !1 - const le = N - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = le === N - if (((ae = ae || q), !ae)) { - const v = N - if ('string' != typeof k) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(q = v === N), (ae = ae || q) - } - if (!ae) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (r.errors = L), - !1 - ) - } - if ( - ((N = R), - null !== L && (R ? (L.length = R) : (L = null)), - P !== N) - ) - break - } - } - } - } - } - } - } - return (r.errors = L), 0 === N - } - ;(k.exports = r), (k.exports['default'] = r) - }, - 38070: function (k) { - const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ - function n( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N == N) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const v = N - for (const v in k) - if ('encoding' !== v && 'mimetype' !== v) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (v === N) { - if (void 0 !== k.encoding) { - let v = k.encoding - const E = N - if (!1 !== v && 'base64' !== v) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = E === N - } else pe = !0 - if (pe) - if (void 0 !== k.mimetype) { - const v = N - if ('string' != typeof k.mimetype) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - pe = v === N - } else pe = !0 - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = le === N - if (((ae = ae || me), !ae)) { - const v = N - if (!(k instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = v === N), (ae = ae || me) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (n.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (n.errors = L), - 0 === N - ) - } - function r( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - if (0 === q) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - { - const P = q - for (const v in k) - if ( - 'dataUrl' !== v && - 'emit' !== v && - 'filename' !== v && - 'outputPath' !== v && - 'publicPath' !== v - ) - return (r.errors = [{ params: { additionalProperty: v } }]), !1 - if (P === q) { - if (void 0 !== k.dataUrl) { - const v = q - n(k.dataUrl, { - instancePath: E + '/dataUrl', - parentData: k, - parentDataProperty: 'dataUrl', - rootData: L, - }) || - ((N = null === N ? n.errors : N.concat(n.errors)), - (q = N.length)) - var ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.emit) { - const v = q - if ('boolean' != typeof k.emit) - return (r.errors = [{ params: { type: 'boolean' } }]), !1 - ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.filename) { - let E = k.filename - const P = q, - R = q - let L = !1 - const pe = q - if (q === pe) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } else if (E.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var le = pe === q - if (((L = L || le), !L)) { - const k = q - if (!(E instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(le = k === q), (L = L || le) - } - if (!L) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (r.errors = N), - !1 - ) - } - ;(q = R), - null !== N && (R ? (N.length = R) : (N = null)), - (ae = P === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.outputPath) { - let E = k.outputPath - const P = q, - R = q - let L = !1 - const le = q - if (q === le) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var pe = le === q - if (((L = L || pe), !L)) { - const k = q - if (!(E instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(pe = k === q), (L = L || pe) - } - if (!L) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (r.errors = N), - !1 - ) - } - ;(q = R), - null !== N && (R ? (N.length = R) : (N = null)), - (ae = P === q) - } else ae = !0 - if (ae) - if (void 0 !== k.publicPath) { - let v = k.publicPath - const E = q, - P = q - let R = !1 - const L = q - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var me = L === q - if (((R = R || me), !R)) { - const k = q - if (!(v instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(me = k === q), (R = R || me) - } - if (!R) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (r.errors = N), - !1 - ) - } - ;(q = P), - null !== N && (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - } - } - } - } - } - } - return (r.errors = N), 0 === q - } - function e( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - return ( - r(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? r.errors : L.concat(r.errors)), (N = L.length)), - (e.errors = L), - 0 === N - ) - } - ;(k.exports = e), (k.exports['default'] = e) - }, - 62853: function (k) { - 'use strict' - function t( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N == N) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const v = N - for (const v in k) - if ('encoding' !== v && 'mimetype' !== v) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (v === N) { - if (void 0 !== k.encoding) { - let v = k.encoding - const E = N - if (!1 !== v && 'base64' !== v) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = E === N - } else pe = !0 - if (pe) - if (void 0 !== k.mimetype) { - const v = N - if ('string' != typeof k.mimetype) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - pe = v === N - } else pe = !0 - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = le === N - if (((ae = ae || me), !ae)) { - const v = N - if (!(k instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(me = v === N), (ae = ae || me) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (t.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (t.errors = L), - 0 === N - ) - } - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - { - const E = N - for (const v in k) - if ('dataUrl' !== v) - return (r.errors = [{ params: { additionalProperty: v } }]), !1 - E === N && - void 0 !== k.dataUrl && - (t(k.dataUrl, { - instancePath: v + '/dataUrl', - parentData: k, - parentDataProperty: 'dataUrl', - rootData: R, - }) || - ((L = null === L ? t.errors : L.concat(t.errors)), - (N = L.length))) - } - } - return (r.errors = L), 0 === N - } - function a( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - return ( - r(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? r.errors : L.concat(r.errors)), (N = L.length)), - (a.errors = L), - 0 === N - ) - } - ;(k.exports = a), (k.exports['default'] = a) - }, - 60578: function (k) { - 'use strict' - function t( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (t.errors = [{ params: { type: 'object' } }]), !1 - { - const v = N - for (const v in k) - if ('dataUrlCondition' !== v) - return (t.errors = [{ params: { additionalProperty: v } }]), !1 - if (v === N && void 0 !== k.dataUrlCondition) { - let v = k.dataUrlCondition - const E = N - let P = !1 - const R = N - if (N == N) - if (v && 'object' == typeof v && !Array.isArray(v)) { - const k = N - for (const k in v) - if ('maxSize' !== k) { - const v = { params: { additionalProperty: k } } - null === L ? (L = [v]) : L.push(v), N++ - break - } - if ( - k === N && - void 0 !== v.maxSize && - 'number' != typeof v.maxSize - ) { - const k = { params: { type: 'number' } } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = R === N - if (((P = P || q), !P)) { - const k = N - if (!(v instanceof Function)) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(q = k === N), (P = P || q) - } - if (!P) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), N++, (t.errors = L), !1 - ) - } - ;(N = E), null !== L && (E ? (L.length = E) : (L = null)) - } - } - } - return (t.errors = L), 0 === N - } - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - return ( - t(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? t.errors : L.concat(t.errors)), (N = L.length)), - (r.errors = L), - 0 === N - ) - } - ;(k.exports = r), (k.exports['default'] = r) - }, - 77964: function (k) { - const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ - function n( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - if (0 === q) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (n.errors = [{ params: { type: 'object' } }]), !1 - { - const E = q - for (const v in k) - if ( - 'emit' !== v && - 'filename' !== v && - 'outputPath' !== v && - 'publicPath' !== v - ) - return (n.errors = [{ params: { additionalProperty: v } }]), !1 - if (E === q) { - if (void 0 !== k.emit) { - const v = q - if ('boolean' != typeof k.emit) - return (n.errors = [{ params: { type: 'boolean' } }]), !1 - var ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.filename) { - let E = k.filename - const P = q, - R = q - let L = !1 - const pe = q - if (q === pe) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } else if (E.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var le = pe === q - if (((L = L || le), !L)) { - const k = q - if (!(E instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(le = k === q), (L = L || le) - } - if (!L) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (n.errors = N), - !1 - ) - } - ;(q = R), - null !== N && (R ? (N.length = R) : (N = null)), - (ae = P === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.outputPath) { - let E = k.outputPath - const P = q, - R = q - let L = !1 - const le = q - if (q === le) - if ('string' == typeof E) { - if (E.includes('!') || !1 !== v.test(E)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var pe = le === q - if (((L = L || pe), !L)) { - const k = q - if (!(E instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(pe = k === q), (L = L || pe) - } - if (!L) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (n.errors = N), - !1 - ) - } - ;(q = R), - null !== N && (R ? (N.length = R) : (N = null)), - (ae = P === q) - } else ae = !0 - if (ae) - if (void 0 !== k.publicPath) { - let v = k.publicPath - const E = q, - P = q - let R = !1 - const L = q - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - var me = L === q - if (((R = R || me), !R)) { - const k = q - if (!(v instanceof Function)) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(me = k === q), (R = R || me) - } - if (!R) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (n.errors = N), - !1 - ) - } - ;(q = P), - null !== N && (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - } - } - } - } - } - return (n.errors = N), 0 === q - } - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - return ( - n(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? n.errors : L.concat(n.errors)), (N = L.length)), - (r.errors = L), - 0 === N - ) - } - ;(k.exports = r), (k.exports['default'] = r) - }, - 50807: function (k) { - const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ - function t( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - if (!Array.isArray(k)) - return (t.errors = [{ params: { type: 'array' } }]), !1 - { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = 0 - if ('string' != typeof v) - return (t.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (t.errors = [{ params: {} }]), !1 - if (0 !== P) break - } - } - return (t.errors = null), !0 - } - function e( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (e.errors = [{ params: { type: 'object' } }]), !1 - { - let E - if (void 0 === k.import && (E = 'import')) - return (e.errors = [{ params: { missingProperty: E } }]), !1 - { - const E = N - for (const v in k) - if ('import' !== v && 'name' !== v) - return ( - (e.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (E === N) { - if (void 0 !== k.import) { - let E = k.import - const P = N, - le = N - let pe = !1 - const me = N - if (N == N) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = me === N - if (((pe = pe || q), !pe)) { - const P = N - t(E, { - instancePath: v + '/import', - parentData: k, - parentDataProperty: 'import', - rootData: R, - }) || - ((L = null === L ? t.errors : L.concat(t.errors)), - (N = L.length)), - (q = P === N), - (pe = pe || q) - } - if (!pe) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (e.errors = L), - !1 - ) - } - ;(N = le), null !== L && (le ? (L.length = le) : (L = null)) - var ae = P === N - } else ae = !0 - if (ae) - if (void 0 !== k.name) { - const v = N - if ('string' != typeof k.name) - return (e.errors = [{ params: { type: 'string' } }]), !1 - ae = v === N - } else ae = !0 - } - } - } - } - return (e.errors = L), 0 === N - } - function n( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (n.errors = [{ params: { type: 'object' } }]), !1 - for (const E in k) { - let P = k[E] - const ae = N, - le = N - let pe = !1 - const me = N - e(P, { - instancePath: - v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: k, - parentDataProperty: E, - rootData: R, - }) || - ((L = null === L ? e.errors : L.concat(e.errors)), (N = L.length)) - var q = me === N - if (((pe = pe || q), !pe)) { - const ae = N - if (N == N) - if ('string' == typeof P) { - if (P.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((q = ae === N), (pe = pe || q), !pe)) { - const ae = N - t(P, { - instancePath: - v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: k, - parentDataProperty: E, - rootData: R, - }) || - ((L = null === L ? t.errors : L.concat(t.errors)), - (N = L.length)), - (q = ae === N), - (pe = pe || q) - } - } - if (!pe) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (n.errors = L), !1 - } - if ( - ((N = le), - null !== L && (le ? (L.length = le) : (L = null)), - ae !== N) - ) - break - } - } - return (n.errors = L), 0 === N - } - function s( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) { - const E = k.length - for (let P = 0; P < E; P++) { - let E = k[P] - const q = N, - ae = N - let le = !1 - const me = N - if (N == N) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = me === N - if (((le = le || pe), !le)) { - const q = N - n(E, { - instancePath: v + '/' + P, - parentData: k, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? n.errors : L.concat(n.errors)), - (N = L.length)), - (pe = q === N), - (le = le || pe) - } - if (le) - (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if (q !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = le === N - if (((ae = ae || me), !ae)) { - const q = N - n(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? n.errors : L.concat(n.errors)), (N = L.length)), - (me = q === N), - (ae = ae || me) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (s.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (s.errors = L), - 0 === N - ) - } - function a( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if ('string' != typeof k) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const v = N - if (N == N) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const v = N - for (const v in k) - if ( - 'amd' !== v && - 'commonjs' !== v && - 'commonjs2' !== v && - 'root' !== v - ) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (v === N) { - if (void 0 !== k.amd) { - const v = N - if ('string' != typeof k.amd) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = v === N - } else me = !0 - if (me) { - if (void 0 !== k.commonjs) { - const v = N - if ('string' != typeof k.commonjs) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = v === N - } else me = !0 - if (me) { - if (void 0 !== k.commonjs2) { - const v = N - if ('string' != typeof k.commonjs2) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = v === N - } else me = !0 - if (me) - if (void 0 !== k.root) { - const v = N - if ('string' != typeof k.root) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = v === N - } else me = !0 - } - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (a.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (a.errors = L), - 0 === N - ) - } - function o( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) - if (k.length < 1) { - const k = { params: { limit: 1 } } - null === L ? (L = [k]) : L.push(k), N++ - } else { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = N - if (N === P) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - } - else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const v = N - if (N === v) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((pe = v === N), (ae = ae || pe), !ae)) { - const v = N - if (N == N) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const v = N - for (const v in k) - if ('amd' !== v && 'commonjs' !== v && 'root' !== v) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (v === N) { - if (void 0 !== k.amd) { - let v = k.amd - const E = N - if (N === E) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = E === N - } else me = !0 - if (me) { - if (void 0 !== k.commonjs) { - let v = k.commonjs - const E = N - if (N === E) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = E === N - } else me = !0 - if (me) - if (void 0 !== k.root) { - let v = k.root - const E = N, - P = N - let R = !1 - const q = N - if (N === q) - if (Array.isArray(v)) { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = N - if (N === P) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var ye = q === N - if (((R = R || ye), !R)) { - const k = N - if (N === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ye = k === N), (R = R || ye) - } - if (R) - (N = P), - null !== L && (P ? (L.length = P) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - me = E === N - } else me = !0 - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (o.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (o.errors = L), - 0 === N - ) - } - function i( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (i.errors = [{ params: { type: 'object' } }]), !1 - { - let E - if (void 0 === k.type && (E = 'type')) - return (i.errors = [{ params: { missingProperty: E } }]), !1 - { - const E = N - for (const v in k) - if ( - 'amdContainer' !== v && - 'auxiliaryComment' !== v && - 'export' !== v && - 'name' !== v && - 'type' !== v && - 'umdNamedDefine' !== v - ) - return ( - (i.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (E === N) { - if (void 0 !== k.amdContainer) { - let v = k.amdContainer - const E = N - if (N == N) { - if ('string' != typeof v) - return (i.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (i.errors = [{ params: {} }]), !1 - } - var q = E === N - } else q = !0 - if (q) { - if (void 0 !== k.auxiliaryComment) { - const E = N - a(k.auxiliaryComment, { - instancePath: v + '/auxiliaryComment', - parentData: k, - parentDataProperty: 'auxiliaryComment', - rootData: R, - }) || - ((L = null === L ? a.errors : L.concat(a.errors)), - (N = L.length)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k.export) { - let v = k.export - const E = N, - P = N - let R = !1 - const le = N - if (N === le) - if (Array.isArray(v)) { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = N - if (N === P) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var ae = le === N - if (((R = R || ae), !R)) { - const k = N - if (N === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ae = k === N), (R = R || ae) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (i.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k.name) { - const E = N - o(k.name, { - instancePath: v + '/name', - parentData: k, - parentDataProperty: 'name', - rootData: R, - }) || - ((L = null === L ? o.errors : L.concat(o.errors)), - (N = L.length)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k.type) { - let v = k.type - const E = N, - P = N - let R = !1 - const ae = N - if ( - 'var' !== v && - 'module' !== v && - 'assign' !== v && - 'assign-properties' !== v && - 'this' !== v && - 'window' !== v && - 'self' !== v && - 'global' !== v && - 'commonjs' !== v && - 'commonjs2' !== v && - 'commonjs-module' !== v && - 'commonjs-static' !== v && - 'amd' !== v && - 'amd-require' !== v && - 'umd' !== v && - 'umd2' !== v && - 'jsonp' !== v && - 'system' !== v - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var le = ae === N - if (((R = R || le), !R)) { - const k = N - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(le = k === N), (R = R || le) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (i.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (q = E === N) - } else q = !0 - if (q) - if (void 0 !== k.umdNamedDefine) { - const v = N - if ('boolean' != typeof k.umdNamedDefine) - return ( - (i.errors = [{ params: { type: 'boolean' } }]), - !1 - ) - q = v === N - } else q = !0 - } - } - } - } - } - } - } - } - return (i.errors = L), 0 === N - } - function l( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - let N = null, - q = 0 - if (0 === q) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (l.errors = [{ params: { type: 'object' } }]), !1 - { - let P - if ( - (void 0 === k.name && (P = 'name')) || - (void 0 === k.exposes && (P = 'exposes')) - ) - return (l.errors = [{ params: { missingProperty: P } }]), !1 - { - const P = q - for (const v in k) - if ( - 'exposes' !== v && - 'filename' !== v && - 'library' !== v && - 'name' !== v && - 'runtime' !== v && - 'shareScope' !== v - ) - return ( - (l.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (P === q) { - if (void 0 !== k.exposes) { - const v = q - s(k.exposes, { - instancePath: E + '/exposes', - parentData: k, - parentDataProperty: 'exposes', - rootData: L, - }) || - ((N = null === N ? s.errors : N.concat(s.errors)), - (q = N.length)) - var ae = v === q - } else ae = !0 - if (ae) { - if (void 0 !== k.filename) { - let E = k.filename - const P = q - if (q === P) { - if ('string' != typeof E) - return (l.errors = [{ params: { type: 'string' } }]), !1 - if (E.includes('!') || !1 !== v.test(E)) - return (l.errors = [{ params: {} }]), !1 - if (E.length < 1) return (l.errors = [{ params: {} }]), !1 - } - ae = P === q - } else ae = !0 - if (ae) { - if (void 0 !== k.library) { - const v = q - i(k.library, { - instancePath: E + '/library', - parentData: k, - parentDataProperty: 'library', - rootData: L, - }) || - ((N = null === N ? i.errors : N.concat(i.errors)), - (q = N.length)), - (ae = v === q) - } else ae = !0 - if (ae) { - if (void 0 !== k.name) { - let v = k.name - const E = q - if (q === E) { - if ('string' != typeof v) - return ( - (l.errors = [{ params: { type: 'string' } }]), !1 - ) - if (v.length < 1) - return (l.errors = [{ params: {} }]), !1 - } - ae = E === q - } else ae = !0 - if (ae) { - if (void 0 !== k.runtime) { - let v = k.runtime - const E = q, - P = q - let R = !1 - const L = q - if (!1 !== v) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - var le = L === q - if (((R = R || le), !R)) { - const k = q - if (q === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === N ? (N = [k]) : N.push(k), q++ - } - } else { - const k = { params: { type: 'string' } } - null === N ? (N = [k]) : N.push(k), q++ - } - ;(le = k === q), (R = R || le) - } - if (!R) { - const k = { params: {} } - return ( - null === N ? (N = [k]) : N.push(k), - q++, - (l.errors = N), - !1 - ) - } - ;(q = P), - null !== N && (P ? (N.length = P) : (N = null)), - (ae = E === q) - } else ae = !0 - if (ae) - if (void 0 !== k.shareScope) { - let v = k.shareScope - const E = q - if (q === E) { - if ('string' != typeof v) - return ( - (l.errors = [{ params: { type: 'string' } }]), - !1 - ) - if (v.length < 1) - return (l.errors = [{ params: {} }]), !1 - } - ae = E === q - } else ae = !0 - } - } - } - } - } - } - } - } - return (l.errors = N), 0 === q - } - ;(k.exports = l), (k.exports['default'] = l) - }, - 19152: function (k) { - 'use strict' - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - if (!Array.isArray(k)) - return (r.errors = [{ params: { type: 'array' } }]), !1 - { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = 0 - if ('string' != typeof v) - return (r.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (r.errors = [{ params: {} }]), !1 - if (0 !== P) break - } - } - return (r.errors = null), !0 - } - function t( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (t.errors = [{ params: { type: 'object' } }]), !1 - { - let E - if (void 0 === k.external && (E = 'external')) - return (t.errors = [{ params: { missingProperty: E } }]), !1 - { - const E = N - for (const v in k) - if ('external' !== v && 'shareScope' !== v) - return ( - (t.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (E === N) { - if (void 0 !== k.external) { - let E = k.external - const P = N, - le = N - let pe = !1 - const me = N - if (N == N) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = me === N - if (((pe = pe || q), !pe)) { - const P = N - r(E, { - instancePath: v + '/external', - parentData: k, - parentDataProperty: 'external', - rootData: R, - }) || - ((L = null === L ? r.errors : L.concat(r.errors)), - (N = L.length)), - (q = P === N), - (pe = pe || q) - } - if (!pe) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (t.errors = L), - !1 - ) - } - ;(N = le), null !== L && (le ? (L.length = le) : (L = null)) - var ae = P === N - } else ae = !0 - if (ae) - if (void 0 !== k.shareScope) { - let v = k.shareScope - const E = N - if (N === E) { - if ('string' != typeof v) - return (t.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (t.errors = [{ params: {} }]), !1 - } - ae = E === N - } else ae = !0 - } - } - } - } - return (t.errors = L), 0 === N - } - function e( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (e.errors = [{ params: { type: 'object' } }]), !1 - for (const E in k) { - let P = k[E] - const ae = N, - le = N - let pe = !1 - const me = N - t(P, { - instancePath: - v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: k, - parentDataProperty: E, - rootData: R, - }) || - ((L = null === L ? t.errors : L.concat(t.errors)), (N = L.length)) - var q = me === N - if (((pe = pe || q), !pe)) { - const ae = N - if (N == N) - if ('string' == typeof P) { - if (P.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((q = ae === N), (pe = pe || q), !pe)) { - const ae = N - r(P, { - instancePath: - v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: k, - parentDataProperty: E, - rootData: R, - }) || - ((L = null === L ? r.errors : L.concat(r.errors)), - (N = L.length)), - (q = ae === N), - (pe = pe || q) - } - } - if (!pe) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (e.errors = L), !1 - } - if ( - ((N = le), - null !== L && (le ? (L.length = le) : (L = null)), - ae !== N) - ) - break - } - } - return (e.errors = L), 0 === N - } - function a( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) { - const E = k.length - for (let P = 0; P < E; P++) { - let E = k[P] - const q = N, - ae = N - let le = !1 - const me = N - if (N == N) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = me === N - if (((le = le || pe), !le)) { - const q = N - e(E, { - instancePath: v + '/' + P, - parentData: k, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? e.errors : L.concat(e.errors)), - (N = L.length)), - (pe = q === N), - (le = le || pe) - } - if (le) - (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if (q !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = le === N - if (((ae = ae || me), !ae)) { - const q = N - e(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? e.errors : L.concat(e.errors)), (N = L.length)), - (me = q === N), - (ae = ae || me) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (a.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (a.errors = L), - 0 === N - ) - } - function n( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (n.errors = [{ params: { type: 'object' } }]), !1 - { - let E - if ( - (void 0 === k.remoteType && (E = 'remoteType')) || - (void 0 === k.remotes && (E = 'remotes')) - ) - return (n.errors = [{ params: { missingProperty: E } }]), !1 - { - const E = N - for (const v in k) - if ('remoteType' !== v && 'remotes' !== v && 'shareScope' !== v) - return ( - (n.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (E === N) { - if (void 0 !== k.remoteType) { - let v = k.remoteType - const E = N, - P = N - let R = !1, - ae = null - const le = N - if ( - 'var' !== v && - 'module' !== v && - 'assign' !== v && - 'this' !== v && - 'window' !== v && - 'self' !== v && - 'global' !== v && - 'commonjs' !== v && - 'commonjs2' !== v && - 'commonjs-module' !== v && - 'commonjs-static' !== v && - 'amd' !== v && - 'amd-require' !== v && - 'umd' !== v && - 'umd2' !== v && - 'jsonp' !== v && - 'system' !== v && - 'promise' !== v && - 'import' !== v && - 'script' !== v && - 'node-commonjs' !== v - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if ((le === N && ((R = !0), (ae = 0)), !R)) { - const k = { params: { passingSchemas: ae } } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (n.errors = L), - !1 - ) - } - ;(N = P), null !== L && (P ? (L.length = P) : (L = null)) - var q = E === N - } else q = !0 - if (q) { - if (void 0 !== k.remotes) { - const E = N - a(k.remotes, { - instancePath: v + '/remotes', - parentData: k, - parentDataProperty: 'remotes', - rootData: R, - }) || - ((L = null === L ? a.errors : L.concat(a.errors)), - (N = L.length)), - (q = E === N) - } else q = !0 - if (q) - if (void 0 !== k.shareScope) { - let v = k.shareScope - const E = N - if (N === E) { - if ('string' != typeof v) - return ( - (n.errors = [{ params: { type: 'string' } }]), !1 - ) - if (v.length < 1) - return (n.errors = [{ params: {} }]), !1 - } - q = E === N - } else q = !0 - } - } - } - } - } - return (n.errors = L), 0 === N - } - ;(k.exports = n), (k.exports['default'] = n) - }, - 50153: function (k) { - 'use strict' - function o( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - return 'var' !== k && - 'module' !== k && - 'assign' !== k && - 'this' !== k && - 'window' !== k && - 'self' !== k && - 'global' !== k && - 'commonjs' !== k && - 'commonjs2' !== k && - 'commonjs-module' !== k && - 'commonjs-static' !== k && - 'amd' !== k && - 'amd-require' !== k && - 'umd' !== k && - 'umd2' !== k && - 'jsonp' !== k && - 'system' !== k && - 'promise' !== k && - 'import' !== k && - 'script' !== k && - 'node-commonjs' !== k - ? ((o.errors = [{ params: {} }]), !1) - : ((o.errors = null), !0) - } - ;(k.exports = o), (k.exports['default'] = o) - }, - 13038: function (k) { - const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ - ;(k.exports = D), (k.exports['default'] = D) - const E = { - definitions: { - AmdContainer: { type: 'string', minLength: 1 }, - AuxiliaryComment: { - anyOf: [ - { type: 'string' }, - { $ref: '#/definitions/LibraryCustomUmdCommentObject' }, - ], - }, - EntryRuntime: { - anyOf: [{ enum: [!1] }, { type: 'string', minLength: 1 }], - }, - Exposes: { - anyOf: [ - { - type: 'array', - items: { - anyOf: [ - { $ref: '#/definitions/ExposesItem' }, - { $ref: '#/definitions/ExposesObject' }, - ], - }, - }, - { $ref: '#/definitions/ExposesObject' }, - ], - }, - ExposesConfig: { - type: 'object', - additionalProperties: !1, - properties: { - import: { - anyOf: [ - { $ref: '#/definitions/ExposesItem' }, - { $ref: '#/definitions/ExposesItems' }, - ], - }, - name: { type: 'string' }, - }, - required: ['import'], - }, - ExposesItem: { type: 'string', minLength: 1 }, - ExposesItems: { - type: 'array', - items: { $ref: '#/definitions/ExposesItem' }, - }, - ExposesObject: { - type: 'object', - additionalProperties: { - anyOf: [ - { $ref: '#/definitions/ExposesConfig' }, - { $ref: '#/definitions/ExposesItem' }, - { $ref: '#/definitions/ExposesItems' }, - ], - }, - }, - ExternalsType: { - enum: [ - 'var', - 'module', - 'assign', - 'this', - 'window', - 'self', - 'global', - 'commonjs', - 'commonjs2', - 'commonjs-module', - 'commonjs-static', - 'amd', - 'amd-require', - 'umd', - 'umd2', - 'jsonp', - 'system', - 'promise', - 'import', - 'script', - 'node-commonjs', - ], - }, - LibraryCustomUmdCommentObject: { - type: 'object', - additionalProperties: !1, - properties: { - amd: { type: 'string' }, - commonjs: { type: 'string' }, - commonjs2: { type: 'string' }, - root: { type: 'string' }, - }, - }, - LibraryCustomUmdObject: { - type: 'object', - additionalProperties: !1, - properties: { - amd: { type: 'string', minLength: 1 }, - commonjs: { type: 'string', minLength: 1 }, - root: { - anyOf: [ - { type: 'array', items: { type: 'string', minLength: 1 } }, - { type: 'string', minLength: 1 }, - ], - }, - }, - }, - LibraryExport: { - anyOf: [ - { type: 'array', items: { type: 'string', minLength: 1 } }, - { type: 'string', minLength: 1 }, - ], - }, - LibraryName: { - anyOf: [ - { - type: 'array', - items: { type: 'string', minLength: 1 }, - minItems: 1, - }, - { type: 'string', minLength: 1 }, - { $ref: '#/definitions/LibraryCustomUmdObject' }, - ], - }, - LibraryOptions: { - type: 'object', - additionalProperties: !1, - properties: { - amdContainer: { $ref: '#/definitions/AmdContainer' }, - auxiliaryComment: { $ref: '#/definitions/AuxiliaryComment' }, - export: { $ref: '#/definitions/LibraryExport' }, - name: { $ref: '#/definitions/LibraryName' }, - type: { $ref: '#/definitions/LibraryType' }, - umdNamedDefine: { $ref: '#/definitions/UmdNamedDefine' }, - }, - required: ['type'], - }, - LibraryType: { - anyOf: [ - { - enum: [ - 'var', - 'module', - 'assign', - 'assign-properties', - 'this', - 'window', - 'self', - 'global', - 'commonjs', - 'commonjs2', - 'commonjs-module', - 'commonjs-static', - 'amd', - 'amd-require', - 'umd', - 'umd2', - 'jsonp', - 'system', - ], - }, - { type: 'string' }, - ], - }, - Remotes: { - anyOf: [ - { - type: 'array', - items: { - anyOf: [ - { $ref: '#/definitions/RemotesItem' }, - { $ref: '#/definitions/RemotesObject' }, - ], - }, - }, - { $ref: '#/definitions/RemotesObject' }, - ], - }, - RemotesConfig: { - type: 'object', - additionalProperties: !1, - properties: { - external: { - anyOf: [ - { $ref: '#/definitions/RemotesItem' }, - { $ref: '#/definitions/RemotesItems' }, - ], - }, - shareScope: { type: 'string', minLength: 1 }, - }, - required: ['external'], - }, - RemotesItem: { type: 'string', minLength: 1 }, - RemotesItems: { - type: 'array', - items: { $ref: '#/definitions/RemotesItem' }, - }, - RemotesObject: { - type: 'object', - additionalProperties: { - anyOf: [ - { $ref: '#/definitions/RemotesConfig' }, - { $ref: '#/definitions/RemotesItem' }, - { $ref: '#/definitions/RemotesItems' }, - ], - }, - }, - Shared: { - anyOf: [ - { - type: 'array', - items: { - anyOf: [ - { $ref: '#/definitions/SharedItem' }, - { $ref: '#/definitions/SharedObject' }, - ], - }, - }, - { $ref: '#/definitions/SharedObject' }, - ], - }, - SharedConfig: { - type: 'object', - additionalProperties: !1, - properties: { - eager: { type: 'boolean' }, - import: { - anyOf: [{ enum: [!1] }, { $ref: '#/definitions/SharedItem' }], - }, - packageName: { type: 'string', minLength: 1 }, - requiredVersion: { - anyOf: [{ enum: [!1] }, { type: 'string' }], - }, - shareKey: { type: 'string', minLength: 1 }, - shareScope: { type: 'string', minLength: 1 }, - singleton: { type: 'boolean' }, - strictVersion: { type: 'boolean' }, - version: { anyOf: [{ enum: [!1] }, { type: 'string' }] }, - }, - }, - SharedItem: { type: 'string', minLength: 1 }, - SharedObject: { - type: 'object', - additionalProperties: { - anyOf: [ - { $ref: '#/definitions/SharedConfig' }, - { $ref: '#/definitions/SharedItem' }, - ], - }, - }, - UmdNamedDefine: { type: 'boolean' }, - }, - type: 'object', - additionalProperties: !1, - properties: { - exposes: { $ref: '#/definitions/Exposes' }, - filename: { type: 'string', absolutePath: !1 }, - library: { $ref: '#/definitions/LibraryOptions' }, - name: { type: 'string' }, - remoteType: { oneOf: [{ $ref: '#/definitions/ExternalsType' }] }, - remotes: { $ref: '#/definitions/Remotes' }, - runtime: { $ref: '#/definitions/EntryRuntime' }, - shareScope: { type: 'string', minLength: 1 }, - shared: { $ref: '#/definitions/Shared' }, - }, - }, - P = Object.prototype.hasOwnProperty - function n( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - if (!Array.isArray(k)) - return (n.errors = [{ params: { type: 'array' } }]), !1 - { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = 0 - if ('string' != typeof v) - return (n.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (n.errors = [{ params: {} }]), !1 - if (0 !== P) break - } - } - return (n.errors = null), !0 - } - function s( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (s.errors = [{ params: { type: 'object' } }]), !1 - { - let E - if (void 0 === k.import && (E = 'import')) - return (s.errors = [{ params: { missingProperty: E } }]), !1 - { - const E = N - for (const v in k) - if ('import' !== v && 'name' !== v) - return ( - (s.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (E === N) { - if (void 0 !== k.import) { - let E = k.import - const P = N, - le = N - let pe = !1 - const me = N - if (N == N) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = me === N - if (((pe = pe || q), !pe)) { - const P = N - n(E, { - instancePath: v + '/import', - parentData: k, - parentDataProperty: 'import', - rootData: R, - }) || - ((L = null === L ? n.errors : L.concat(n.errors)), - (N = L.length)), - (q = P === N), - (pe = pe || q) - } - if (!pe) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (s.errors = L), - !1 - ) - } - ;(N = le), null !== L && (le ? (L.length = le) : (L = null)) - var ae = P === N - } else ae = !0 - if (ae) - if (void 0 !== k.name) { - const v = N - if ('string' != typeof k.name) - return (s.errors = [{ params: { type: 'string' } }]), !1 - ae = v === N - } else ae = !0 - } - } - } - } - return (s.errors = L), 0 === N - } - function a( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (a.errors = [{ params: { type: 'object' } }]), !1 - for (const E in k) { - let P = k[E] - const ae = N, - le = N - let pe = !1 - const me = N - s(P, { - instancePath: - v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: k, - parentDataProperty: E, - rootData: R, - }) || - ((L = null === L ? s.errors : L.concat(s.errors)), (N = L.length)) - var q = me === N - if (((pe = pe || q), !pe)) { - const ae = N - if (N == N) - if ('string' == typeof P) { - if (P.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((q = ae === N), (pe = pe || q), !pe)) { - const ae = N - n(P, { - instancePath: - v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: k, - parentDataProperty: E, - rootData: R, - }) || - ((L = null === L ? n.errors : L.concat(n.errors)), - (N = L.length)), - (q = ae === N), - (pe = pe || q) - } - } - if (!pe) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (a.errors = L), !1 - } - if ( - ((N = le), - null !== L && (le ? (L.length = le) : (L = null)), - ae !== N) - ) - break - } - } - return (a.errors = L), 0 === N - } - function o( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) { - const E = k.length - for (let P = 0; P < E; P++) { - let E = k[P] - const q = N, - ae = N - let le = !1 - const me = N - if (N == N) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = me === N - if (((le = le || pe), !le)) { - const q = N - a(E, { - instancePath: v + '/' + P, - parentData: k, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? a.errors : L.concat(a.errors)), - (N = L.length)), - (pe = q === N), - (le = le || pe) - } - if (le) - (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if (q !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = le === N - if (((ae = ae || me), !ae)) { - const q = N - a(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? a.errors : L.concat(a.errors)), (N = L.length)), - (me = q === N), - (ae = ae || me) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (o.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (o.errors = L), - 0 === N - ) - } - function i( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if ('string' != typeof k) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const v = N - if (N == N) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const v = N - for (const v in k) - if ( - 'amd' !== v && - 'commonjs' !== v && - 'commonjs2' !== v && - 'root' !== v - ) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (v === N) { - if (void 0 !== k.amd) { - const v = N - if ('string' != typeof k.amd) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = v === N - } else me = !0 - if (me) { - if (void 0 !== k.commonjs) { - const v = N - if ('string' != typeof k.commonjs) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = v === N - } else me = !0 - if (me) { - if (void 0 !== k.commonjs2) { - const v = N - if ('string' != typeof k.commonjs2) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = v === N - } else me = !0 - if (me) - if (void 0 !== k.root) { - const v = N - if ('string' != typeof k.root) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = v === N - } else me = !0 - } - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (i.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (i.errors = L), - 0 === N - ) - } - function l( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) - if (k.length < 1) { - const k = { params: { limit: 1 } } - null === L ? (L = [k]) : L.push(k), N++ - } else { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = N - if (N === P) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - } - else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = le === N - if (((ae = ae || pe), !ae)) { - const v = N - if (N === v) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((pe = v === N), (ae = ae || pe), !ae)) { - const v = N - if (N == N) - if (k && 'object' == typeof k && !Array.isArray(k)) { - const v = N - for (const v in k) - if ('amd' !== v && 'commonjs' !== v && 'root' !== v) { - const k = { params: { additionalProperty: v } } - null === L ? (L = [k]) : L.push(k), N++ - break - } - if (v === N) { - if (void 0 !== k.amd) { - let v = k.amd - const E = N - if (N === E) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = E === N - } else me = !0 - if (me) { - if (void 0 !== k.commonjs) { - let v = k.commonjs - const E = N - if (N === E) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - me = E === N - } else me = !0 - if (me) - if (void 0 !== k.root) { - let v = k.root - const E = N, - P = N - let R = !1 - const q = N - if (N === q) - if (Array.isArray(v)) { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = N - if (N === P) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var ye = q === N - if (((R = R || ye), !R)) { - const k = N - if (N === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ye = k === N), (R = R || ye) - } - if (R) - (N = P), - null !== L && (P ? (L.length = P) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - me = E === N - } else me = !0 - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(pe = v === N), (ae = ae || pe) - } - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (l.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (l.errors = L), - 0 === N - ) - } - function p( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (p.errors = [{ params: { type: 'object' } }]), !1 - { - let E - if (void 0 === k.type && (E = 'type')) - return (p.errors = [{ params: { missingProperty: E } }]), !1 - { - const E = N - for (const v in k) - if ( - 'amdContainer' !== v && - 'auxiliaryComment' !== v && - 'export' !== v && - 'name' !== v && - 'type' !== v && - 'umdNamedDefine' !== v - ) - return ( - (p.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (E === N) { - if (void 0 !== k.amdContainer) { - let v = k.amdContainer - const E = N - if (N == N) { - if ('string' != typeof v) - return (p.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (p.errors = [{ params: {} }]), !1 - } - var q = E === N - } else q = !0 - if (q) { - if (void 0 !== k.auxiliaryComment) { - const E = N - i(k.auxiliaryComment, { - instancePath: v + '/auxiliaryComment', - parentData: k, - parentDataProperty: 'auxiliaryComment', - rootData: R, - }) || - ((L = null === L ? i.errors : L.concat(i.errors)), - (N = L.length)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k.export) { - let v = k.export - const E = N, - P = N - let R = !1 - const le = N - if (N === le) - if (Array.isArray(v)) { - const k = v.length - for (let E = 0; E < k; E++) { - let k = v[E] - const P = N - if (N === P) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (P !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var ae = le === N - if (((R = R || ae), !R)) { - const k = N - if (N === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ae = k === N), (R = R || ae) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (p.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k.name) { - const E = N - l(k.name, { - instancePath: v + '/name', - parentData: k, - parentDataProperty: 'name', - rootData: R, - }) || - ((L = null === L ? l.errors : L.concat(l.errors)), - (N = L.length)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k.type) { - let v = k.type - const E = N, - P = N - let R = !1 - const ae = N - if ( - 'var' !== v && - 'module' !== v && - 'assign' !== v && - 'assign-properties' !== v && - 'this' !== v && - 'window' !== v && - 'self' !== v && - 'global' !== v && - 'commonjs' !== v && - 'commonjs2' !== v && - 'commonjs-module' !== v && - 'commonjs-static' !== v && - 'amd' !== v && - 'amd-require' !== v && - 'umd' !== v && - 'umd2' !== v && - 'jsonp' !== v && - 'system' !== v - ) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var le = ae === N - if (((R = R || le), !R)) { - const k = N - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(le = k === N), (R = R || le) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (p.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (q = E === N) - } else q = !0 - if (q) - if (void 0 !== k.umdNamedDefine) { - const v = N - if ('boolean' != typeof k.umdNamedDefine) - return ( - (p.errors = [{ params: { type: 'boolean' } }]), - !1 - ) - q = v === N - } else q = !0 - } - } - } - } - } - } - } - } - return (p.errors = L), 0 === N - } - function f( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - if (!Array.isArray(k)) - return (f.errors = [{ params: { type: 'array' } }]), !1 - { - const v = k.length - for (let E = 0; E < v; E++) { - let v = k[E] - const P = 0 - if ('string' != typeof v) - return (f.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (f.errors = [{ params: {} }]), !1 - if (0 !== P) break - } - } - return (f.errors = null), !0 - } - function c( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (c.errors = [{ params: { type: 'object' } }]), !1 - { - let E - if (void 0 === k.external && (E = 'external')) - return (c.errors = [{ params: { missingProperty: E } }]), !1 - { - const E = N - for (const v in k) - if ('external' !== v && 'shareScope' !== v) - return ( - (c.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (E === N) { - if (void 0 !== k.external) { - let E = k.external - const P = N, - le = N - let pe = !1 - const me = N - if (N == N) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = me === N - if (((pe = pe || q), !pe)) { - const P = N - f(E, { - instancePath: v + '/external', - parentData: k, - parentDataProperty: 'external', - rootData: R, - }) || - ((L = null === L ? f.errors : L.concat(f.errors)), - (N = L.length)), - (q = P === N), - (pe = pe || q) - } - if (!pe) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (c.errors = L), - !1 - ) - } - ;(N = le), null !== L && (le ? (L.length = le) : (L = null)) - var ae = P === N - } else ae = !0 - if (ae) - if (void 0 !== k.shareScope) { - let v = k.shareScope - const E = N - if (N === E) { - if ('string' != typeof v) - return (c.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (c.errors = [{ params: {} }]), !1 - } - ae = E === N - } else ae = !0 - } - } - } - } - return (c.errors = L), 0 === N - } - function m( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (m.errors = [{ params: { type: 'object' } }]), !1 - for (const E in k) { - let P = k[E] - const ae = N, - le = N - let pe = !1 - const me = N - c(P, { - instancePath: - v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: k, - parentDataProperty: E, - rootData: R, - }) || - ((L = null === L ? c.errors : L.concat(c.errors)), (N = L.length)) - var q = me === N - if (((pe = pe || q), !pe)) { - const ae = N - if (N == N) - if ('string' == typeof P) { - if (P.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - if (((q = ae === N), (pe = pe || q), !pe)) { - const ae = N - f(P, { - instancePath: - v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: k, - parentDataProperty: E, - rootData: R, - }) || - ((L = null === L ? f.errors : L.concat(f.errors)), - (N = L.length)), - (q = ae === N), - (pe = pe || q) - } - } - if (!pe) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (m.errors = L), !1 - } - if ( - ((N = le), - null !== L && (le ? (L.length = le) : (L = null)), - ae !== N) - ) - break - } - } - return (m.errors = L), 0 === N - } - function u( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) { - const E = k.length - for (let P = 0; P < E; P++) { - let E = k[P] - const q = N, - ae = N - let le = !1 - const me = N - if (N == N) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = me === N - if (((le = le || pe), !le)) { - const q = N - m(E, { - instancePath: v + '/' + P, - parentData: k, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? m.errors : L.concat(m.errors)), - (N = L.length)), - (pe = q === N), - (le = le || pe) - } - if (le) - (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if (q !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = le === N - if (((ae = ae || me), !ae)) { - const q = N - m(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? m.errors : L.concat(m.errors)), (N = L.length)), - (me = q === N), - (ae = ae || me) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (u.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (u.errors = L), - 0 === N - ) - } - const R = { - type: 'object', - additionalProperties: !1, - properties: { - eager: { type: 'boolean' }, - import: { - anyOf: [{ enum: [!1] }, { $ref: '#/definitions/SharedItem' }], - }, - packageName: { type: 'string', minLength: 1 }, - requiredVersion: { anyOf: [{ enum: [!1] }, { type: 'string' }] }, - shareKey: { type: 'string', minLength: 1 }, - shareScope: { type: 'string', minLength: 1 }, - singleton: { type: 'boolean' }, - strictVersion: { type: 'boolean' }, - version: { anyOf: [{ enum: [!1] }, { type: 'string' }] }, - }, - } - function h( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: L, - rootData: N = k, - } = {} - ) { - let q = null, - ae = 0 - if (0 === ae) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (h.errors = [{ params: { type: 'object' } }]), !1 - { - const v = ae - for (const v in k) - if (!P.call(R.properties, v)) - return (h.errors = [{ params: { additionalProperty: v } }]), !1 - if (v === ae) { - if (void 0 !== k.eager) { - const v = ae - if ('boolean' != typeof k.eager) - return (h.errors = [{ params: { type: 'boolean' } }]), !1 - var le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.import) { - let v = k.import - const E = ae, - P = ae - let R = !1 - const L = ae - if (!1 !== v) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var pe = L === ae - if (((R = R || pe), !R)) { - const k = ae - if (ae == ae) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(pe = k === ae), (R = R || pe) - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (h.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.packageName) { - let v = k.packageName - const E = ae - if (ae === E) { - if ('string' != typeof v) - return (h.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (h.errors = [{ params: {} }]), !1 - } - le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.requiredVersion) { - let v = k.requiredVersion - const E = ae, - P = ae - let R = !1 - const L = ae - if (!1 !== v) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var me = L === ae - if (((R = R || me), !R)) { - const k = ae - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(me = k === ae), (R = R || me) - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (h.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - if (le) { - if (void 0 !== k.shareKey) { - let v = k.shareKey - const E = ae - if (ae === E) { - if ('string' != typeof v) - return ( - (h.errors = [{ params: { type: 'string' } }]), !1 - ) - if (v.length < 1) - return (h.errors = [{ params: {} }]), !1 - } - le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.shareScope) { - let v = k.shareScope - const E = ae - if (ae === E) { - if ('string' != typeof v) - return ( - (h.errors = [{ params: { type: 'string' } }]), - !1 - ) - if (v.length < 1) - return (h.errors = [{ params: {} }]), !1 - } - le = E === ae - } else le = !0 - if (le) { - if (void 0 !== k.singleton) { - const v = ae - if ('boolean' != typeof k.singleton) - return ( - (h.errors = [{ params: { type: 'boolean' } }]), - !1 - ) - le = v === ae - } else le = !0 - if (le) { - if (void 0 !== k.strictVersion) { - const v = ae - if ('boolean' != typeof k.strictVersion) - return ( - (h.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - le = v === ae - } else le = !0 - if (le) - if (void 0 !== k.version) { - let v = k.version - const E = ae, - P = ae - let R = !1 - const L = ae - if (!1 !== v) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var ye = L === ae - if (((R = R || ye), !R)) { - const k = ae - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(ye = k === ae), (R = R || ye) - } - if (!R) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (h.errors = q), - !1 - ) - } - ;(ae = P), - null !== q && - (P ? (q.length = P) : (q = null)), - (le = E === ae) - } else le = !0 - } - } - } - } - } - } - } - } - } - } - return (h.errors = q), 0 === ae - } - function g( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (g.errors = [{ params: { type: 'object' } }]), !1 - for (const E in k) { - let P = k[E] - const ae = N, - le = N - let pe = !1 - const me = N - h(P, { - instancePath: - v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: k, - parentDataProperty: E, - rootData: R, - }) || - ((L = null === L ? h.errors : L.concat(h.errors)), (N = L.length)) - var q = me === N - if (((pe = pe || q), !pe)) { - const k = N - if (N == N) - if ('string' == typeof P) { - if (P.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(q = k === N), (pe = pe || q) - } - if (!pe) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (g.errors = L), !1 - } - if ( - ((N = le), - null !== L && (le ? (L.length = le) : (L = null)), - ae !== N) - ) - break - } - } - return (g.errors = L), 0 === N - } - function d( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) { - const E = k.length - for (let P = 0; P < E; P++) { - let E = k[P] - const q = N, - ae = N - let le = !1 - const me = N - if (N == N) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = me === N - if (((le = le || pe), !le)) { - const q = N - g(E, { - instancePath: v + '/' + P, - parentData: k, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? g.errors : L.concat(g.errors)), - (N = L.length)), - (pe = q === N), - (le = le || pe) - } - if (le) - (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if (q !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = le === N - if (((ae = ae || me), !ae)) { - const q = N - g(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? g.errors : L.concat(g.errors)), (N = L.length)), - (me = q === N), - (ae = ae || me) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (d.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (d.errors = L), - 0 === N - ) - } - function D( - k, - { - instancePath: R = '', - parentData: L, - parentDataProperty: N, - rootData: q = k, - } = {} - ) { - let ae = null, - le = 0 - if (0 === le) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (D.errors = [{ params: { type: 'object' } }]), !1 - { - const L = le - for (const v in k) - if (!P.call(E.properties, v)) - return (D.errors = [{ params: { additionalProperty: v } }]), !1 - if (L === le) { - if (void 0 !== k.exposes) { - const v = le - o(k.exposes, { - instancePath: R + '/exposes', - parentData: k, - parentDataProperty: 'exposes', - rootData: q, - }) || - ((ae = null === ae ? o.errors : ae.concat(o.errors)), - (le = ae.length)) - var pe = v === le - } else pe = !0 - if (pe) { - if (void 0 !== k.filename) { - let E = k.filename - const P = le - if (le === P) { - if ('string' != typeof E) - return (D.errors = [{ params: { type: 'string' } }]), !1 - if (E.includes('!') || !1 !== v.test(E)) - return (D.errors = [{ params: {} }]), !1 - } - pe = P === le - } else pe = !0 - if (pe) { - if (void 0 !== k.library) { - const v = le - p(k.library, { - instancePath: R + '/library', - parentData: k, - parentDataProperty: 'library', - rootData: q, - }) || - ((ae = null === ae ? p.errors : ae.concat(p.errors)), - (le = ae.length)), - (pe = v === le) - } else pe = !0 - if (pe) { - if (void 0 !== k.name) { - const v = le - if ('string' != typeof k.name) - return (D.errors = [{ params: { type: 'string' } }]), !1 - pe = v === le - } else pe = !0 - if (pe) { - if (void 0 !== k.remoteType) { - let v = k.remoteType - const E = le, - P = le - let R = !1, - L = null - const N = le - if ( - 'var' !== v && - 'module' !== v && - 'assign' !== v && - 'this' !== v && - 'window' !== v && - 'self' !== v && - 'global' !== v && - 'commonjs' !== v && - 'commonjs2' !== v && - 'commonjs-module' !== v && - 'commonjs-static' !== v && - 'amd' !== v && - 'amd-require' !== v && - 'umd' !== v && - 'umd2' !== v && - 'jsonp' !== v && - 'system' !== v && - 'promise' !== v && - 'import' !== v && - 'script' !== v && - 'node-commonjs' !== v - ) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - if ((N === le && ((R = !0), (L = 0)), !R)) { - const k = { params: { passingSchemas: L } } - return ( - null === ae ? (ae = [k]) : ae.push(k), - le++, - (D.errors = ae), - !1 - ) - } - ;(le = P), - null !== ae && (P ? (ae.length = P) : (ae = null)), - (pe = E === le) - } else pe = !0 - if (pe) { - if (void 0 !== k.remotes) { - const v = le - u(k.remotes, { - instancePath: R + '/remotes', - parentData: k, - parentDataProperty: 'remotes', - rootData: q, - }) || - ((ae = - null === ae ? u.errors : ae.concat(u.errors)), - (le = ae.length)), - (pe = v === le) - } else pe = !0 - if (pe) { - if (void 0 !== k.runtime) { - let v = k.runtime - const E = le, - P = le - let R = !1 - const L = le - if (!1 !== v) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - var me = L === le - if (((R = R || me), !R)) { - const k = le - if (le === k) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - } else { - const k = { params: { type: 'string' } } - null === ae ? (ae = [k]) : ae.push(k), le++ - } - ;(me = k === le), (R = R || me) - } - if (!R) { - const k = { params: {} } - return ( - null === ae ? (ae = [k]) : ae.push(k), - le++, - (D.errors = ae), - !1 - ) - } - ;(le = P), - null !== ae && - (P ? (ae.length = P) : (ae = null)), - (pe = E === le) - } else pe = !0 - if (pe) { - if (void 0 !== k.shareScope) { - let v = k.shareScope - const E = le - if (le === E) { - if ('string' != typeof v) - return ( - (D.errors = [ - { params: { type: 'string' } }, - ]), - !1 - ) - if (v.length < 1) - return (D.errors = [{ params: {} }]), !1 - } - pe = E === le - } else pe = !0 - if (pe) - if (void 0 !== k.shared) { - const v = le - d(k.shared, { - instancePath: R + '/shared', - parentData: k, - parentDataProperty: 'shared', - rootData: q, - }) || - ((ae = - null === ae - ? d.errors - : ae.concat(d.errors)), - (le = ae.length)), - (pe = v === le) - } else pe = !0 - } - } - } - } - } - } - } - } - } - } - return (D.errors = ae), 0 === le - } - }, - 87816: function (k) { - 'use strict' - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - for (const v in k) - return (r.errors = [{ params: { additionalProperty: v } }]), !1 - return (r.errors = null), !0 - } - ;(k.exports = r), (k.exports['default'] = r) - }, - 32706: function (k) { - 'use strict' - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - for (const v in k) - return (r.errors = [{ params: { additionalProperty: v } }]), !1 - return (r.errors = null), !0 - } - ;(k.exports = r), (k.exports['default'] = r) - }, - 63114: function (k) { - const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ - function t( - k, - { - instancePath: E = '', - parentData: P, - parentDataProperty: R, - rootData: L = k, - } = {} - ) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (t.errors = [{ params: { type: 'object' } }]), !1 - { - const E = 0 - for (const v in k) - if ('outputPath' !== v) - return (t.errors = [{ params: { additionalProperty: v } }]), !1 - if (0 === E && void 0 !== k.outputPath) { - let E = k.outputPath - if ('string' != typeof E) - return (t.errors = [{ params: { type: 'string' } }]), !1 - if (E.includes('!') || !0 !== v.test(E)) - return (t.errors = [{ params: {} }]), !1 - } - } - return (t.errors = null), !0 - } - ;(k.exports = t), (k.exports['default'] = t) - }, - 59169: function (k) { - 'use strict' - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - { - const v = 0 - for (const v in k) - if ('prioritiseInitial' !== v) - return (r.errors = [{ params: { additionalProperty: v } }]), !1 - if ( - 0 === v && - void 0 !== k.prioritiseInitial && - 'boolean' != typeof k.prioritiseInitial - ) - return (r.errors = [{ params: { type: 'boolean' } }]), !1 - } - return (r.errors = null), !0 - } - ;(k.exports = r), (k.exports['default'] = r) - }, - 98550: function (k) { - 'use strict' - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - { - const v = 0 - for (const v in k) - if ('prioritiseInitial' !== v) - return (r.errors = [{ params: { additionalProperty: v } }]), !1 - if ( - 0 === v && - void 0 !== k.prioritiseInitial && - 'boolean' != typeof k.prioritiseInitial - ) - return (r.errors = [{ params: { type: 'boolean' } }]), !1 - } - return (r.errors = null), !0 - } - ;(k.exports = r), (k.exports['default'] = r) - }, - 70971: function (k) { - 'use strict' - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - { - const v = 0 - for (const v in k) - if ( - 'chunkOverhead' !== v && - 'entryChunkMultiplicator' !== v && - 'maxSize' !== v && - 'minSize' !== v - ) - return (r.errors = [{ params: { additionalProperty: v } }]), !1 - if (0 === v) { - if (void 0 !== k.chunkOverhead) { - const v = 0 - if ('number' != typeof k.chunkOverhead) - return (r.errors = [{ params: { type: 'number' } }]), !1 - var L = 0 === v - } else L = !0 - if (L) { - if (void 0 !== k.entryChunkMultiplicator) { - const v = 0 - if ('number' != typeof k.entryChunkMultiplicator) - return (r.errors = [{ params: { type: 'number' } }]), !1 - L = 0 === v - } else L = !0 - if (L) { - if (void 0 !== k.maxSize) { - const v = 0 - if ('number' != typeof k.maxSize) - return (r.errors = [{ params: { type: 'number' } }]), !1 - L = 0 === v - } else L = !0 - if (L) - if (void 0 !== k.minSize) { - const v = 0 - if ('number' != typeof k.minSize) - return (r.errors = [{ params: { type: 'number' } }]), !1 - L = 0 === v - } else L = !0 - } - } - } - } - return (r.errors = null), !0 - } - ;(k.exports = r), (k.exports['default'] = r) - }, - 39559: function (k) { - 'use strict' - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - { - let v - if (void 0 === k.maxChunks && (v = 'maxChunks')) - return (r.errors = [{ params: { missingProperty: v } }]), !1 - { - const v = 0 - for (const v in k) - if ( - 'chunkOverhead' !== v && - 'entryChunkMultiplicator' !== v && - 'maxChunks' !== v - ) - return (r.errors = [{ params: { additionalProperty: v } }]), !1 - if (0 === v) { - if (void 0 !== k.chunkOverhead) { - const v = 0 - if ('number' != typeof k.chunkOverhead) - return (r.errors = [{ params: { type: 'number' } }]), !1 - var L = 0 === v - } else L = !0 - if (L) { - if (void 0 !== k.entryChunkMultiplicator) { - const v = 0 - if ('number' != typeof k.entryChunkMultiplicator) - return (r.errors = [{ params: { type: 'number' } }]), !1 - L = 0 === v - } else L = !0 - if (L) - if (void 0 !== k.maxChunks) { - let v = k.maxChunks - const E = 0 - if (0 === E) { - if ('number' != typeof v) - return (r.errors = [{ params: { type: 'number' } }]), !1 - if (v < 1 || isNaN(v)) - return ( - (r.errors = [ - { params: { comparison: '>=', limit: 1 } }, - ]), - !1 - ) - } - L = 0 === E - } else L = !0 - } - } - } - } - return (r.errors = null), !0 - } - ;(k.exports = r), (k.exports['default'] = r) - }, - 30666: function (k) { - 'use strict' - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - { - let v - if (void 0 === k.minChunkSize && (v = 'minChunkSize')) - return (r.errors = [{ params: { missingProperty: v } }]), !1 - { - const v = 0 - for (const v in k) - if ( - 'chunkOverhead' !== v && - 'entryChunkMultiplicator' !== v && - 'minChunkSize' !== v - ) - return (r.errors = [{ params: { additionalProperty: v } }]), !1 - if (0 === v) { - if (void 0 !== k.chunkOverhead) { - const v = 0 - if ('number' != typeof k.chunkOverhead) - return (r.errors = [{ params: { type: 'number' } }]), !1 - var L = 0 === v - } else L = !0 - if (L) { - if (void 0 !== k.entryChunkMultiplicator) { - const v = 0 - if ('number' != typeof k.entryChunkMultiplicator) - return (r.errors = [{ params: { type: 'number' } }]), !1 - L = 0 === v - } else L = !0 - if (L) - if (void 0 !== k.minChunkSize) { - const v = 0 - if ('number' != typeof k.minChunkSize) - return (r.errors = [{ params: { type: 'number' } }]), !1 - L = 0 === v - } else L = !0 - } - } - } - } - return (r.errors = null), !0 - } - ;(k.exports = r), (k.exports['default'] = r) - }, - 95892: function (k) { - const v = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/ - ;(k.exports = n), (k.exports['default'] = n) - const E = new RegExp('^https?://', 'u') - function e( - k, - { - instancePath: P = '', - parentData: R, - parentDataProperty: L, - rootData: N = k, - } = {} - ) { - let q = null, - ae = 0 - if (0 === ae) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (e.errors = [{ params: { type: 'object' } }]), !1 - { - let P - if (void 0 === k.allowedUris && (P = 'allowedUris')) - return (e.errors = [{ params: { missingProperty: P } }]), !1 - { - const P = ae - for (const v in k) - if ( - 'allowedUris' !== v && - 'cacheLocation' !== v && - 'frozen' !== v && - 'lockfileLocation' !== v && - 'proxy' !== v && - 'upgrade' !== v - ) - return ( - (e.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (P === ae) { - if (void 0 !== k.allowedUris) { - let v = k.allowedUris - const P = ae - if (ae == ae) { - if (!Array.isArray(v)) - return (e.errors = [{ params: { type: 'array' } }]), !1 - { - const k = v.length - for (let P = 0; P < k; P++) { - let k = v[P] - const R = ae, - L = ae - let N = !1 - const pe = ae - if (!(k instanceof RegExp)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var le = pe === ae - if (((N = N || le), !N)) { - const v = ae - if (ae === v) - if ('string' == typeof k) { - if (!E.test(k)) { - const k = { params: { pattern: '^https?://' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - if (((le = v === ae), (N = N || le), !N)) { - const v = ae - if (!(k instanceof Function)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(le = v === ae), (N = N || le) - } - } - if (!N) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (e.errors = q), - !1 - ) - } - if ( - ((ae = L), - null !== q && (L ? (q.length = L) : (q = null)), - R !== ae) - ) - break - } - } - } - var pe = P === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.cacheLocation) { - let E = k.cacheLocation - const P = ae, - R = ae - let L = !1 - const N = ae - if (!1 !== E) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - var me = N === ae - if (((L = L || me), !L)) { - const k = ae - if (ae === k) - if ('string' == typeof E) { - if (E.includes('!') || !0 !== v.test(E)) { - const k = { params: {} } - null === q ? (q = [k]) : q.push(k), ae++ - } - } else { - const k = { params: { type: 'string' } } - null === q ? (q = [k]) : q.push(k), ae++ - } - ;(me = k === ae), (L = L || me) - } - if (!L) { - const k = { params: {} } - return ( - null === q ? (q = [k]) : q.push(k), - ae++, - (e.errors = q), - !1 - ) - } - ;(ae = R), - null !== q && (R ? (q.length = R) : (q = null)), - (pe = P === ae) - } else pe = !0 - if (pe) { - if (void 0 !== k.frozen) { - const v = ae - if ('boolean' != typeof k.frozen) - return ( - (e.errors = [{ params: { type: 'boolean' } }]), !1 - ) - pe = v === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.lockfileLocation) { - let E = k.lockfileLocation - const P = ae - if (ae === P) { - if ('string' != typeof E) - return ( - (e.errors = [{ params: { type: 'string' } }]), !1 - ) - if (E.includes('!') || !0 !== v.test(E)) - return (e.errors = [{ params: {} }]), !1 - } - pe = P === ae - } else pe = !0 - if (pe) { - if (void 0 !== k.proxy) { - const v = ae - if ('string' != typeof k.proxy) - return ( - (e.errors = [{ params: { type: 'string' } }]), !1 - ) - pe = v === ae - } else pe = !0 - if (pe) - if (void 0 !== k.upgrade) { - const v = ae - if ('boolean' != typeof k.upgrade) - return ( - (e.errors = [{ params: { type: 'boolean' } }]), - !1 - ) - pe = v === ae - } else pe = !0 - } - } - } - } - } - } - } - } - return (e.errors = q), 0 === ae - } - function n( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1, - le = null - const pe = N - if ( - (e(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? e.errors : L.concat(e.errors)), (N = L.length)), - pe === N && ((ae = !0), (le = 0)), - !ae) - ) { - const k = { params: { passingSchemas: le } } - return null === L ? (L = [k]) : L.push(k), N++, (n.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (n.errors = L), - 0 === N - ) - } - }, - 93859: function (k) { - 'use strict' - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - { - const v = N - for (const v in k) - if ( - 'eager' !== v && - 'import' !== v && - 'packageName' !== v && - 'requiredVersion' !== v && - 'shareKey' !== v && - 'shareScope' !== v && - 'singleton' !== v && - 'strictVersion' !== v - ) - return (r.errors = [{ params: { additionalProperty: v } }]), !1 - if (v === N) { - if (void 0 !== k.eager) { - const v = N - if ('boolean' != typeof k.eager) - return (r.errors = [{ params: { type: 'boolean' } }]), !1 - var q = v === N - } else q = !0 - if (q) { - if (void 0 !== k.import) { - let v = k.import - const E = N, - P = N - let R = !1 - const le = N - if (!1 !== v) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var ae = le === N - if (((R = R || ae), !R)) { - const k = N - if (N == N) - if ('string' == typeof v) { - if (v.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ae = k === N), (R = R || ae) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (r.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k.packageName) { - let v = k.packageName - const E = N - if (N === E) { - if ('string' != typeof v) - return (r.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (r.errors = [{ params: {} }]), !1 - } - q = E === N - } else q = !0 - if (q) { - if (void 0 !== k.requiredVersion) { - let v = k.requiredVersion - const E = N, - P = N - let R = !1 - const ae = N - if (!1 !== v) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var le = ae === N - if (((R = R || le), !R)) { - const k = N - if ('string' != typeof v) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(le = k === N), (R = R || le) - } - if (!R) { - const k = { params: {} } - return ( - null === L ? (L = [k]) : L.push(k), - N++, - (r.errors = L), - !1 - ) - } - ;(N = P), - null !== L && (P ? (L.length = P) : (L = null)), - (q = E === N) - } else q = !0 - if (q) { - if (void 0 !== k.shareKey) { - let v = k.shareKey - const E = N - if (N === E) { - if ('string' != typeof v) - return ( - (r.errors = [{ params: { type: 'string' } }]), !1 - ) - if (v.length < 1) - return (r.errors = [{ params: {} }]), !1 - } - q = E === N - } else q = !0 - if (q) { - if (void 0 !== k.shareScope) { - let v = k.shareScope - const E = N - if (N === E) { - if ('string' != typeof v) - return ( - (r.errors = [{ params: { type: 'string' } }]), - !1 - ) - if (v.length < 1) - return (r.errors = [{ params: {} }]), !1 - } - q = E === N - } else q = !0 - if (q) { - if (void 0 !== k.singleton) { - const v = N - if ('boolean' != typeof k.singleton) - return ( - (r.errors = [{ params: { type: 'boolean' } }]), - !1 - ) - q = v === N - } else q = !0 - if (q) - if (void 0 !== k.strictVersion) { - const v = N - if ('boolean' != typeof k.strictVersion) - return ( - (r.errors = [ - { params: { type: 'boolean' } }, - ]), - !1 - ) - q = v === N - } else q = !0 - } - } - } - } - } - } - } - } - } - return (r.errors = L), 0 === N - } - function e( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (e.errors = [{ params: { type: 'object' } }]), !1 - for (const E in k) { - let P = k[E] - const ae = N, - le = N - let pe = !1 - const me = N - r(P, { - instancePath: - v + '/' + E.replace(/~/g, '~0').replace(/\//g, '~1'), - parentData: k, - parentDataProperty: E, - rootData: R, - }) || - ((L = null === L ? r.errors : L.concat(r.errors)), (N = L.length)) - var q = me === N - if (((pe = pe || q), !pe)) { - const k = N - if (N == N) - if ('string' == typeof P) { - if (P.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(q = k === N), (pe = pe || q) - } - if (!pe) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (e.errors = L), !1 - } - if ( - ((N = le), - null !== L && (le ? (L.length = le) : (L = null)), - ae !== N) - ) - break - } - } - return (e.errors = L), 0 === N - } - function t( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) { - const E = k.length - for (let P = 0; P < E; P++) { - let E = k[P] - const q = N, - ae = N - let le = !1 - const me = N - if (N == N) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = me === N - if (((le = le || pe), !le)) { - const q = N - e(E, { - instancePath: v + '/' + P, - parentData: k, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? e.errors : L.concat(e.errors)), - (N = L.length)), - (pe = q === N), - (le = le || pe) - } - if (le) - (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if (q !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = le === N - if (((ae = ae || me), !ae)) { - const q = N - e(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? e.errors : L.concat(e.errors)), (N = L.length)), - (me = q === N), - (ae = ae || me) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (t.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (t.errors = L), - 0 === N - ) - } - function n( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (n.errors = [{ params: { type: 'object' } }]), !1 - { - let E - if (void 0 === k.consumes && (E = 'consumes')) - return (n.errors = [{ params: { missingProperty: E } }]), !1 - { - const E = N - for (const v in k) - if ('consumes' !== v && 'shareScope' !== v) - return ( - (n.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (E === N) { - if (void 0 !== k.consumes) { - const E = N - t(k.consumes, { - instancePath: v + '/consumes', - parentData: k, - parentDataProperty: 'consumes', - rootData: R, - }) || - ((L = null === L ? t.errors : L.concat(t.errors)), - (N = L.length)) - var q = E === N - } else q = !0 - if (q) - if (void 0 !== k.shareScope) { - let v = k.shareScope - const E = N - if (N === E) { - if ('string' != typeof v) - return (n.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (n.errors = [{ params: {} }]), !1 - } - q = E === N - } else q = !0 - } - } - } - } - return (n.errors = L), 0 === N - } - ;(k.exports = n), (k.exports['default'] = n) - }, - 82285: function (k) { - 'use strict' - function r( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (r.errors = [{ params: { type: 'object' } }]), !1 - for (const v in k) { - let E = k[v] - const P = N, - R = N - let pe = !1 - const me = N - if (N == N) - if (E && 'object' == typeof E && !Array.isArray(E)) { - const k = N - for (const k in E) - if ( - 'eager' !== k && - 'shareKey' !== k && - 'shareScope' !== k && - 'version' !== k - ) { - const v = { params: { additionalProperty: k } } - null === L ? (L = [v]) : L.push(v), N++ - break - } - if (k === N) { - if (void 0 !== E.eager) { - const k = N - if ('boolean' != typeof E.eager) { - const k = { params: { type: 'boolean' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var q = k === N - } else q = !0 - if (q) { - if (void 0 !== E.shareKey) { - let k = E.shareKey - const v = N - if (N === v) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - q = v === N - } else q = !0 - if (q) { - if (void 0 !== E.shareScope) { - let k = E.shareScope - const v = N - if (N === v) - if ('string' == typeof k) { - if (k.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - q = v === N - } else q = !0 - if (q) - if (void 0 !== E.version) { - let k = E.version - const v = N, - P = N - let R = !1 - const le = N - if (!1 !== k) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - var ae = le === N - if (((R = R || ae), !R)) { - const v = N - if ('string' != typeof k) { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(ae = v === N), (R = R || ae) - } - if (R) - (N = P), - null !== L && (P ? (L.length = P) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - q = v === N - } else q = !0 - } - } - } - } else { - const k = { params: { type: 'object' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var le = me === N - if (((pe = pe || le), !pe)) { - const k = N - if (N == N) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - ;(le = k === N), (pe = pe || le) - } - if (!pe) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (r.errors = L), !1 - } - if ( - ((N = R), - null !== L && (R ? (L.length = R) : (L = null)), - P !== N) - ) - break - } - } - return (r.errors = L), 0 === N - } - function t( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - const q = N - let ae = !1 - const le = N - if (N === le) - if (Array.isArray(k)) { - const E = k.length - for (let P = 0; P < E; P++) { - let E = k[P] - const q = N, - ae = N - let le = !1 - const me = N - if (N == N) - if ('string' == typeof E) { - if (E.length < 1) { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - } else { - const k = { params: { type: 'string' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var pe = me === N - if (((le = le || pe), !le)) { - const q = N - r(E, { - instancePath: v + '/' + P, - parentData: k, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? r.errors : L.concat(r.errors)), - (N = L.length)), - (pe = q === N), - (le = le || pe) - } - if (le) - (N = ae), null !== L && (ae ? (L.length = ae) : (L = null)) - else { - const k = { params: {} } - null === L ? (L = [k]) : L.push(k), N++ - } - if (q !== N) break - } - } else { - const k = { params: { type: 'array' } } - null === L ? (L = [k]) : L.push(k), N++ - } - var me = le === N - if (((ae = ae || me), !ae)) { - const q = N - r(k, { - instancePath: v, - parentData: E, - parentDataProperty: P, - rootData: R, - }) || - ((L = null === L ? r.errors : L.concat(r.errors)), (N = L.length)), - (me = q === N), - (ae = ae || me) - } - if (!ae) { - const k = { params: {} } - return null === L ? (L = [k]) : L.push(k), N++, (t.errors = L), !1 - } - return ( - (N = q), - null !== L && (q ? (L.length = q) : (L = null)), - (t.errors = L), - 0 === N - ) - } - function e( - k, - { - instancePath: v = '', - parentData: E, - parentDataProperty: P, - rootData: R = k, - } = {} - ) { - let L = null, - N = 0 - if (0 === N) { - if (!k || 'object' != typeof k || Array.isArray(k)) - return (e.errors = [{ params: { type: 'object' } }]), !1 - { - let E - if (void 0 === k.provides && (E = 'provides')) - return (e.errors = [{ params: { missingProperty: E } }]), !1 - { - const E = N - for (const v in k) - if ('provides' !== v && 'shareScope' !== v) - return ( - (e.errors = [{ params: { additionalProperty: v } }]), !1 - ) - if (E === N) { - if (void 0 !== k.provides) { - const E = N - t(k.provides, { - instancePath: v + '/provides', - parentData: k, - parentDataProperty: 'provides', - rootData: R, - }) || - ((L = null === L ? t.errors : L.concat(t.errors)), - (N = L.length)) - var q = E === N - } else q = !0 - if (q) - if (void 0 !== k.shareScope) { - let v = k.shareScope - const E = N - if (N === E) { - if ('string' != typeof v) - return (e.errors = [{ params: { type: 'string' } }]), !1 - if (v.length < 1) return (e.errors = [{ params: {} }]), !1 - } - q = E === N - } else q = !0 - } - } - } - } - return (e.errors = L), 0 === N - } - ;(k.exports = e), (k.exports['default'] = e) - }, - 83182: function (k, v, E) { - k.exports = function () { - return { - BasicEvaluatedExpression: E(70037), - ModuleFilenameHelpers: E(98612), - NodeTargetPlugin: E(56976), - NodeTemplatePlugin: E(74578), - LibraryTemplatePlugin: E(9021), - LimitChunkCountPlugin: E(17452), - WebWorkerTemplatePlugin: E(20514), - ExternalsPlugin: E(53757), - SingleEntryPlugin: E(48640), - FetchCompileAsyncWasmPlugin: E(52576), - FetchCompileWasmPlugin: E(99900), - StringXor: E(96181), - NormalModule: E(38224), - sources: E(94308).sources, - webpack: E(94308), - package: { version: E(35479).i8 }, - } - } - }, - 39491: function (k) { - 'use strict' - k.exports = require('assert') - }, - 14300: function (k) { - 'use strict' - k.exports = require('buffer') - }, - 22057: function (k) { - 'use strict' - k.exports = require('constants') - }, - 6113: function (k) { - 'use strict' - k.exports = require('crypto') - }, - 82361: function (k) { - 'use strict' - k.exports = require('events') - }, - 57147: function (k) { - 'use strict' - k.exports = require('fs') - }, - 13685: function (k) { - 'use strict' - k.exports = require('http') - }, - 95687: function (k) { - 'use strict' - k.exports = require('https') - }, - 31405: function (k) { - 'use strict' - k.exports = require('inspector') - }, - 98188: function (k) { - 'use strict' - k.exports = require('module') - }, - 55302: function (k) { - 'use strict' - k.exports = require('next/dist/build/webpack/plugins/terser-webpack-plugin') - }, - 31988: function (k) { - 'use strict' - k.exports = require('next/dist/compiled/acorn') - }, - 14907: function (k) { - 'use strict' - k.exports = require('next/dist/compiled/browserslist') - }, - 22955: function (k) { - 'use strict' - k.exports = require('next/dist/compiled/loader-runner') - }, - 78175: function (k) { - 'use strict' - k.exports = require('next/dist/compiled/neo-async') - }, - 38476: function (k) { - 'use strict' - k.exports = require('next/dist/compiled/schema-utils3') - }, - 51255: function (k) { - 'use strict' - k.exports = require('next/dist/compiled/webpack-sources3') - }, - 71017: function (k) { - 'use strict' - k.exports = require('path') - }, - 35125: function (k) { - 'use strict' - k.exports = require('pnpapi') - }, - 77282: function (k) { - 'use strict' - k.exports = require('process') - }, - 63477: function (k) { - 'use strict' - k.exports = require('querystring') - }, - 12781: function (k) { - 'use strict' - k.exports = require('stream') - }, - 57310: function (k) { - 'use strict' - k.exports = require('url') - }, - 73837: function (k) { - 'use strict' - k.exports = require('util') - }, - 26144: function (k) { - 'use strict' - k.exports = require('vm') - }, - 28978: function (k) { - 'use strict' - k.exports = require('watchpack') - }, - 59796: function (k) { - 'use strict' - k.exports = require('zlib') - }, - 97998: function (k, v) { - 'use strict' - ;(v.init = void 0), (v.parse = parse) - const E = 1 === new Uint8Array(new Uint16Array([1]).buffer)[0] - function parse(k, v = '@') { - if (!P) return R.then(() => parse(k)) - const L = k.length + 1, - N = - (P.__heap_base.value || P.__heap_base) + - 4 * L - - P.memory.buffer.byteLength - N > 0 && P.memory.grow(Math.ceil(N / 65536)) - const q = P.sa(L - 1) - if ( - ((E ? B : Q)(k, new Uint16Array(P.memory.buffer, q, L)), !P.parse()) - ) - throw Object.assign( - new Error( - `Parse error ${v}:${k.slice(0, P.e()).split('\n').length}:${ - P.e() - k.lastIndexOf('\n', P.e() - 1) - }` - ), - { idx: P.e() } - ) - const ae = [], - le = [] - for (; P.ri(); ) { - const v = P.is(), - E = P.ie(), - R = P.ai(), - L = P.id(), - N = P.ss(), - q = P.se() - let le - P.ip() && - (le = J(k.slice(-1 === L ? v - 1 : v, -1 === L ? E + 1 : E))), - ae.push({ n: le, s: v, e: E, ss: N, se: q, d: L, a: R }) - } - for (; P.re(); ) { - const v = P.es(), - E = P.ee(), - R = P.els(), - L = P.ele(), - N = k.slice(v, E), - q = N[0], - ae = R < 0 ? void 0 : k.slice(R, L), - pe = ae ? ae[0] : '' - le.push({ - s: v, - e: E, - ls: R, - le: L, - n: '"' === q || "'" === q ? J(N) : N, - ln: '"' === pe || "'" === pe ? J(ae) : ae, - }) - } - function J(k) { - try { - return (0, eval)(k) - } catch (k) {} - } - return [ae, le, !!P.f()] - } - function Q(k, v) { - const E = k.length - let P = 0 - for (; P < E; ) { - const E = k.charCodeAt(P) - v[P++] = ((255 & E) << 8) | (E >>> 8) - } - } - function B(k, v) { - const E = k.length - let P = 0 - for (; P < E; ) v[P] = k.charCodeAt(P++) - } - let P - const R = WebAssembly.compile( - ((L = - 'AGFzbQEAAAABKghgAX8Bf2AEf39/fwBgAAF/YAAAYAF/AGADf39/AX9gAn9/AX9gAn9/AAMvLgABAQICAgICAgICAgICAgICAgIAAwMDBAQAAAADAAAAAAMDAAUGAAAABwAGAgUEBQFwAQEBBQMBAAEGDwJ/AUGw8gALfwBBsPIACwdwEwZtZW1vcnkCAAJzYQAAAWUAAwJpcwAEAmllAAUCc3MABgJzZQAHAmFpAAgCaWQACQJpcAAKAmVzAAsCZWUADANlbHMADQNlbGUADgJyaQAPAnJlABABZgARBXBhcnNlABILX19oZWFwX2Jhc2UDAQqHPC5oAQF/QQAgADYC9AlBACgC0AkiASAAQQF0aiIAQQA7AQBBACAAQQJqIgA2AvgJQQAgADYC/AlBAEEANgLUCUEAQQA2AuQJQQBBADYC3AlBAEEANgLYCUEAQQA2AuwJQQBBADYC4AkgAQufAQEDf0EAKALkCSEEQQBBACgC/AkiBTYC5AlBACAENgLoCUEAIAVBIGo2AvwJIARBHGpB1AkgBBsgBTYCAEEAKALICSEEQQAoAsQJIQYgBSABNgIAIAUgADYCCCAFIAIgAkECakEAIAYgA0YbIAQgA0YbNgIMIAUgAzYCFCAFQQA2AhAgBSACNgIEIAVBADYCHCAFQQAoAsQJIANGOgAYC1YBAX9BACgC7AkiBEEQakHYCSAEG0EAKAL8CSIENgIAQQAgBDYC7AlBACAEQRRqNgL8CSAEQQA2AhAgBCADNgIMIAQgAjYCCCAEIAE2AgQgBCAANgIACwgAQQAoAoAKCxUAQQAoAtwJKAIAQQAoAtAJa0EBdQseAQF/QQAoAtwJKAIEIgBBACgC0AlrQQF1QX8gABsLFQBBACgC3AkoAghBACgC0AlrQQF1Cx4BAX9BACgC3AkoAgwiAEEAKALQCWtBAXVBfyAAGwseAQF/QQAoAtwJKAIQIgBBACgC0AlrQQF1QX8gABsLOwEBfwJAQQAoAtwJKAIUIgBBACgCxAlHDQBBfw8LAkAgAEEAKALICUcNAEF+DwsgAEEAKALQCWtBAXULCwBBACgC3AktABgLFQBBACgC4AkoAgBBACgC0AlrQQF1CxUAQQAoAuAJKAIEQQAoAtAJa0EBdQseAQF/QQAoAuAJKAIIIgBBACgC0AlrQQF1QX8gABsLHgEBf0EAKALgCSgCDCIAQQAoAtAJa0EBdUF/IAAbCyUBAX9BAEEAKALcCSIAQRxqQdQJIAAbKAIAIgA2AtwJIABBAEcLJQEBf0EAQQAoAuAJIgBBEGpB2AkgABsoAgAiADYC4AkgAEEARwsIAEEALQCECgvmDAEGfyMAQYDQAGsiACQAQQBBAToAhApBAEEAKALMCTYCjApBAEEAKALQCUF+aiIBNgKgCkEAIAFBACgC9AlBAXRqIgI2AqQKQQBBADsBhgpBAEEAOwGICkEAQQA6AJAKQQBBADYCgApBAEEAOgDwCUEAIABBgBBqNgKUCkEAIAA2ApgKQQBBADoAnAoCQAJAAkACQANAQQAgAUECaiIDNgKgCiABIAJPDQECQCADLwEAIgJBd2pBBUkNAAJAAkACQAJAAkAgAkGbf2oOBQEICAgCAAsgAkEgRg0EIAJBL0YNAyACQTtGDQIMBwtBAC8BiAoNASADEBNFDQEgAUEEakGCCEEKEC0NARAUQQAtAIQKDQFBAEEAKAKgCiIBNgKMCgwHCyADEBNFDQAgAUEEakGMCEEKEC0NABAVC0EAQQAoAqAKNgKMCgwBCwJAIAEvAQQiA0EqRg0AIANBL0cNBBAWDAELQQEQFwtBACgCpAohAkEAKAKgCiEBDAALC0EAIQIgAyEBQQAtAPAJDQIMAQtBACABNgKgCkEAQQA6AIQKCwNAQQAgAUECaiIDNgKgCgJAAkACQAJAAkACQAJAAkACQCABQQAoAqQKTw0AIAMvAQAiAkF3akEFSQ0IAkACQAJAAkACQAJAAkACQAJAAkAgAkFgag4KEhEGEREREQUBAgALAkACQAJAAkAgAkGgf2oOCgsUFAMUARQUFAIACyACQYV/ag4DBRMGCQtBAC8BiAoNEiADEBNFDRIgAUEEakGCCEEKEC0NEhAUDBILIAMQE0UNESABQQRqQYwIQQoQLQ0REBUMEQsgAxATRQ0QIAEpAARC7ICEg7COwDlSDRAgAS8BDCIDQXdqIgFBF0sNDkEBIAF0QZ+AgARxRQ0ODA8LQQBBAC8BiAoiAUEBajsBiApBACgClAogAUEDdGoiAUEBNgIAIAFBACgCjAo2AgQMDwtBAC8BiAoiAkUNC0EAIAJBf2oiBDsBiApBAC8BhgoiAkUNDiACQQJ0QQAoApgKakF8aigCACIFKAIUQQAoApQKIARB//8DcUEDdGooAgRHDQ4CQCAFKAIEDQAgBSADNgIEC0EAIAJBf2o7AYYKIAUgAUEEajYCDAwOCwJAQQAoAowKIgEvAQBBKUcNAEEAKALkCSIDRQ0AIAMoAgQgAUcNAEEAQQAoAugJIgM2AuQJAkAgA0UNACADQQA2AhwMAQtBAEEANgLUCQtBAEEALwGICiIDQQFqOwGICkEAKAKUCiADQQN0aiIDQQZBAkEALQCcChs2AgAgAyABNgIEQQBBADoAnAoMDQtBAC8BiAoiAUUNCUEAIAFBf2oiATsBiApBACgClAogAUH//wNxQQN0aigCAEEERg0EDAwLQScQGAwLC0EiEBgMCgsgAkEvRw0JAkACQCABLwEEIgFBKkYNACABQS9HDQEQFgwMC0EBEBcMCwsCQAJAQQAoAowKIgEvAQAiAxAZRQ0AAkACQCADQVVqDgQACAEDCAsgAUF+ai8BAEErRg0GDAcLIAFBfmovAQBBLUYNBQwGCwJAIANB/QBGDQAgA0EpRw0FQQAoApQKQQAvAYgKQQN0aigCBBAaRQ0FDAYLQQAoApQKQQAvAYgKQQN0aiICKAIEEBsNBSACKAIAQQZGDQUMBAsgAUF+ai8BAEFQakH//wNxQQpJDQMMBAtBACgClApBAC8BiAoiAUEDdCIDakEAKAKMCjYCBEEAIAFBAWo7AYgKQQAoApQKIANqQQM2AgALEBwMBwtBAC0A8AlBAC8BhgpBAC8BiApyckUhAgwJCyABEB0NACADRQ0AIANBL0ZBAC0AkApBAEdxDQAgAUF+aiEBQQAoAtAJIQICQANAIAFBAmoiBCACTQ0BQQAgATYCjAogAS8BACEDIAFBfmoiBCEBIAMQHkUNAAsgBEECaiEEC0EBIQUgA0H//wNxEB9FDQEgBEF+aiEBAkADQCABQQJqIgMgAk0NAUEAIAE2AowKIAEvAQAhAyABQX5qIgQhASADEB8NAAsgBEECaiEDCyADECBFDQEQIUEAQQA6AJAKDAULECFBACEFC0EAIAU6AJAKDAMLECJBACECDAULIANBoAFHDQELQQBBAToAnAoLQQBBACgCoAo2AowKC0EAKAKgCiEBDAALCyAAQYDQAGokACACCxoAAkBBACgC0AkgAEcNAEEBDwsgAEF+ahAjC80JAQV/QQBBACgCoAoiAEEMaiIBNgKgCkEAKALsCSECQQEQJyEDAkACQAJAAkACQAJAAkACQAJAAkBBACgCoAoiBCABRw0AIAMQJkUNAQsCQAJAAkACQCADQSpGDQAgA0H7AEcNAUEAIARBAmo2AqAKQQEQJyEEQQAoAqAKIQEDQAJAAkAgBEH//wNxIgNBIkYNACADQSdGDQAgAxAqGkEAKAKgCiEDDAELIAMQGEEAQQAoAqAKQQJqIgM2AqAKC0EBECcaAkAgASADECsiBEEsRw0AQQBBACgCoApBAmo2AqAKQQEQJyEEC0EAKAKgCiEDIARB/QBGDQMgAyABRg0NIAMhASADQQAoAqQKTQ0ADA0LC0EAIARBAmo2AqAKQQEQJxpBACgCoAoiAyADECsaDAILQQBBADoAhAoCQAJAAkACQAJAAkAgA0Gff2oODAIIBAEIAwgICAgIBQALIANB9gBGDQQMBwtBACAEQQ5qIgM2AqAKAkACQAJAQQEQJ0Gff2oOBgAQAhAQARALQQAoAqAKIgEpAAJC84Dkg+CNwDFSDQ8gAS8BChAfRQ0PQQAgAUEKajYCoApBABAnGgtBACgCoAoiAUECakGiCEEOEC0NDiABLwEQIgBBd2oiAkEXSw0LQQEgAnRBn4CABHFFDQsMDAtBACgCoAoiASkAAkLsgISDsI7AOVINDSABLwEKIgBBd2oiAkEXTQ0HDAgLQQAgBEEKajYCoApBABAnGkEAKAKgCiEEC0EAIARBEGo2AqAKAkBBARAnIgRBKkcNAEEAQQAoAqAKQQJqNgKgCkEBECchBAtBACgCoAohAyAEECoaIANBACgCoAoiBCADIAQQAkEAQQAoAqAKQX5qNgKgCg8LAkAgBCkAAkLsgISDsI7AOVINACAELwEKEB5FDQBBACAEQQpqNgKgCkEBECchBEEAKAKgCiEDIAQQKhogA0EAKAKgCiIEIAMgBBACQQBBACgCoApBfmo2AqAKDwtBACAEQQRqIgQ2AqAKC0EAIARBBGoiAzYCoApBAEEAOgCECgJAA0BBACADQQJqNgKgCkEBECchBEEAKAKgCiEDIAQQKkEgckH7AEYNAUEAKAKgCiIEIANGDQQgAyAEIAMgBBACQQEQJ0EsRw0BQQAoAqAKIQMMAAsLQQBBACgCoApBfmo2AqAKDwtBACADQQJqNgKgCgtBARAnIQRBACgCoAohAwJAIARB5gBHDQAgA0ECakGcCEEGEC0NAEEAIANBCGo2AqAKIABBARAnECkgAkEQakHYCSACGyEDA0AgAygCACIDRQ0CIANCADcCCCADQRBqIQMMAAsLQQAgA0F+ajYCoAoLDwtBASACdEGfgIAEcQ0BCyAAQaABRg0AIABB+wBHDQQLQQAgAUEKajYCoApBARAnIgFB+wBGDQMMAgsCQCAAQVhqDgMBAwEACyAAQaABRw0CC0EAIAFBEGo2AqAKAkBBARAnIgFBKkcNAEEAQQAoAqAKQQJqNgKgCkEBECchAQsgAUEoRg0BC0EAKAKgCiECIAEQKhpBACgCoAoiASACTQ0AIAQgAyACIAEQAkEAQQAoAqAKQX5qNgKgCg8LIAQgA0EAQQAQAkEAIARBDGo2AqAKDwsQIgvUBgEEf0EAQQAoAqAKIgBBDGoiATYCoAoCQAJAAkACQAJAAkACQAJAAkACQEEBECciAkFZag4IBAIBBAEBAQMACyACQSJGDQMgAkH7AEYNBAtBACgCoAogAUcNAkEAIABBCmo2AqAKDwtBACgClApBAC8BiAoiAkEDdGoiAUEAKAKgCjYCBEEAIAJBAWo7AYgKIAFBBTYCAEEAKAKMCi8BAEEuRg0DQQBBACgCoAoiAUECajYCoApBARAnIQIgAEEAKAKgCkEAIAEQAUEAQQAvAYYKIgFBAWo7AYYKQQAoApgKIAFBAnRqQQAoAuQJNgIAAkAgAkEiRg0AIAJBJ0YNAEEAQQAoAqAKQX5qNgKgCg8LIAIQGEEAQQAoAqAKQQJqIgI2AqAKAkACQAJAQQEQJ0FXag4EAQICAAILQQBBACgCoApBAmo2AqAKQQEQJxpBACgC5AkiASACNgIEIAFBAToAGCABQQAoAqAKIgI2AhBBACACQX5qNgKgCg8LQQAoAuQJIgEgAjYCBCABQQE6ABhBAEEALwGICkF/ajsBiAogAUEAKAKgCkECajYCDEEAQQAvAYYKQX9qOwGGCg8LQQBBACgCoApBfmo2AqAKDwtBAEEAKAKgCkECajYCoApBARAnQe0ARw0CQQAoAqAKIgJBAmpBlghBBhAtDQICQEEAKAKMCiIBECgNACABLwEAQS5GDQMLIAAgACACQQhqQQAoAsgJEAEPC0EALwGICg0CQQAoAqAKIQJBACgCpAohAwNAIAIgA08NBQJAAkAgAi8BACIBQSdGDQAgAUEiRw0BCyAAIAEQKQ8LQQAgAkECaiICNgKgCgwACwtBACgCoAohAkEALwGICg0CAkADQAJAAkACQCACQQAoAqQKTw0AQQEQJyICQSJGDQEgAkEnRg0BIAJB/QBHDQJBAEEAKAKgCkECajYCoAoLQQEQJyEBQQAoAqAKIQICQCABQeYARw0AIAJBAmpBnAhBBhAtDQgLQQAgAkEIajYCoApBARAnIgJBIkYNAyACQSdGDQMMBwsgAhAYC0EAQQAoAqAKQQJqIgI2AqAKDAALCyAAIAIQKQsPC0EAQQAoAqAKQX5qNgKgCg8LQQAgAkF+ajYCoAoPCxAiC0cBA39BACgCoApBAmohAEEAKAKkCiEBAkADQCAAIgJBfmogAU8NASACQQJqIQAgAi8BAEF2ag4EAQAAAQALC0EAIAI2AqAKC5gBAQN/QQBBACgCoAoiAUECajYCoAogAUEGaiEBQQAoAqQKIQIDQAJAAkACQCABQXxqIAJPDQAgAUF+ai8BACEDAkACQCAADQAgA0EqRg0BIANBdmoOBAIEBAIECyADQSpHDQMLIAEvAQBBL0cNAkEAIAFBfmo2AqAKDAELIAFBfmohAQtBACABNgKgCg8LIAFBAmohAQwACwuIAQEEf0EAKAKgCiEBQQAoAqQKIQICQAJAA0AgASIDQQJqIQEgAyACTw0BIAEvAQAiBCAARg0CAkAgBEHcAEYNACAEQXZqDgQCAQECAQsgA0EEaiEBIAMvAQRBDUcNACADQQZqIAEgAy8BBkEKRhshAQwACwtBACABNgKgChAiDwtBACABNgKgCgtsAQF/AkACQCAAQV9qIgFBBUsNAEEBIAF0QTFxDQELIABBRmpB//8DcUEGSQ0AIABBKUcgAEFYakH//wNxQQdJcQ0AAkAgAEGlf2oOBAEAAAEACyAAQf0ARyAAQYV/akH//wNxQQRJcQ8LQQELLgEBf0EBIQECQCAAQZYJQQUQJA0AIABBoAlBAxAkDQAgAEGmCUECECQhAQsgAQuDAQECf0EBIQECQAJAAkACQAJAAkAgAC8BACICQUVqDgQFBAQBAAsCQCACQZt/ag4EAwQEAgALIAJBKUYNBCACQfkARw0DIABBfmpBsglBBhAkDwsgAEF+ai8BAEE9Rg8LIABBfmpBqglBBBAkDwsgAEF+akG+CUEDECQPC0EAIQELIAEL3gEBBH9BACgCoAohAEEAKAKkCiEBAkACQAJAA0AgACICQQJqIQAgAiABTw0BAkACQAJAIAAvAQAiA0Gkf2oOBQIDAwMBAAsgA0EkRw0CIAIvAQRB+wBHDQJBACACQQRqIgA2AqAKQQBBAC8BiAoiAkEBajsBiApBACgClAogAkEDdGoiAkEENgIAIAIgADYCBA8LQQAgADYCoApBAEEALwGICkF/aiIAOwGICkEAKAKUCiAAQf//A3FBA3RqKAIAQQNHDQMMBAsgAkEEaiEADAALC0EAIAA2AqAKCxAiCwu0AwECf0EAIQECQAJAAkACQAJAAkACQAJAAkACQCAALwEAQZx/ag4UAAECCQkJCQMJCQQFCQkGCQcJCQgJCwJAAkAgAEF+ai8BAEGXf2oOBAAKCgEKCyAAQXxqQboIQQIQJA8LIABBfGpBvghBAxAkDwsCQAJAAkAgAEF+ai8BAEGNf2oOAwABAgoLAkAgAEF8ai8BACICQeEARg0AIAJB7ABHDQogAEF6akHlABAlDwsgAEF6akHjABAlDwsgAEF8akHECEEEECQPCyAAQXxqQcwIQQYQJA8LIABBfmovAQBB7wBHDQYgAEF8ai8BAEHlAEcNBgJAIABBemovAQAiAkHwAEYNACACQeMARw0HIABBeGpB2AhBBhAkDwsgAEF4akHkCEECECQPCyAAQX5qQegIQQQQJA8LQQEhASAAQX5qIgBB6QAQJQ0EIABB8AhBBRAkDwsgAEF+akHkABAlDwsgAEF+akH6CEEHECQPCyAAQX5qQYgJQQQQJA8LAkAgAEF+ai8BACICQe8ARg0AIAJB5QBHDQEgAEF8akHuABAlDwsgAEF8akGQCUEDECQhAQsgAQs0AQF/QQEhAQJAIABBd2pB//8DcUEFSQ0AIABBgAFyQaABRg0AIABBLkcgABAmcSEBCyABCzABAX8CQAJAIABBd2oiAUEXSw0AQQEgAXRBjYCABHENAQsgAEGgAUYNAEEADwtBAQtOAQJ/QQAhAQJAAkAgAC8BACICQeUARg0AIAJB6wBHDQEgAEF+akHoCEEEECQPCyAAQX5qLwEAQfUARw0AIABBfGpBzAhBBhAkIQELIAELcAECfwJAAkADQEEAQQAoAqAKIgBBAmoiATYCoAogAEEAKAKkCk8NAQJAAkACQCABLwEAIgFBpX9qDgIBAgALAkAgAUF2ag4EBAMDBAALIAFBL0cNAgwECxAsGgwBC0EAIABBBGo2AqAKDAALCxAiCws1AQF/QQBBAToA8AlBACgCoAohAEEAQQAoAqQKQQJqNgKgCkEAIABBACgC0AlrQQF1NgKACgtDAQJ/QQEhAQJAIAAvAQAiAkF3akH//wNxQQVJDQAgAkGAAXJBoAFGDQBBACEBIAIQJkUNACACQS5HIAAQKHIPCyABC0YBA39BACEDAkAgACACQQF0IgJrIgRBAmoiAEEAKALQCSIFSQ0AIAAgASACEC0NAAJAIAAgBUcNAEEBDwsgBBAjIQMLIAMLPQECf0EAIQICQEEAKALQCSIDIABLDQAgAC8BACABRw0AAkAgAyAARw0AQQEPCyAAQX5qLwEAEB4hAgsgAgtoAQJ/QQEhAQJAAkAgAEFfaiICQQVLDQBBASACdEExcQ0BCyAAQfj/A3FBKEYNACAAQUZqQf//A3FBBkkNAAJAIABBpX9qIgJBA0sNACACQQFHDQELIABBhX9qQf//A3FBBEkhAQsgAQucAQEDf0EAKAKgCiEBAkADQAJAAkAgAS8BACICQS9HDQACQCABLwECIgFBKkYNACABQS9HDQQQFgwCCyAAEBcMAQsCQAJAIABFDQAgAkF3aiIBQRdLDQFBASABdEGfgIAEcUUNAQwCCyACEB9FDQMMAQsgAkGgAUcNAgtBAEEAKAKgCiIDQQJqIgE2AqAKIANBACgCpApJDQALCyACCzEBAX9BACEBAkAgAC8BAEEuRw0AIABBfmovAQBBLkcNACAAQXxqLwEAQS5GIQELIAELiQQBAX8CQCABQSJGDQAgAUEnRg0AECIPC0EAKAKgCiECIAEQGCAAIAJBAmpBACgCoApBACgCxAkQAUEAQQAoAqAKQQJqNgKgCgJAAkACQAJAQQAQJyIBQeEARg0AIAFB9wBGDQFBACgCoAohAQwCC0EAKAKgCiIBQQJqQbAIQQoQLQ0BQQYhAAwCC0EAKAKgCiIBLwECQekARw0AIAEvAQRB9ABHDQBBBCEAIAEvAQZB6ABGDQELQQAgAUF+ajYCoAoPC0EAIAEgAEEBdGo2AqAKAkBBARAnQfsARg0AQQAgATYCoAoPC0EAKAKgCiICIQADQEEAIABBAmo2AqAKAkACQAJAQQEQJyIAQSJGDQAgAEEnRw0BQScQGEEAQQAoAqAKQQJqNgKgCkEBECchAAwCC0EiEBhBAEEAKAKgCkECajYCoApBARAnIQAMAQsgABAqIQALAkAgAEE6Rg0AQQAgATYCoAoPC0EAQQAoAqAKQQJqNgKgCgJAQQEQJyIAQSJGDQAgAEEnRg0AQQAgATYCoAoPCyAAEBhBAEEAKAKgCkECajYCoAoCQAJAQQEQJyIAQSxGDQAgAEH9AEYNAUEAIAE2AqAKDwtBAEEAKAKgCkECajYCoApBARAnQf0ARg0AQQAoAqAKIQAMAQsLQQAoAuQJIgEgAjYCECABQQAoAqAKQQJqNgIMC20BAn8CQAJAA0ACQCAAQf//A3EiAUF3aiICQRdLDQBBASACdEGfgIAEcQ0CCyABQaABRg0BIAAhAiABECYNAkEAIQJBAEEAKAKgCiIAQQJqNgKgCiAALwECIgANAAwCCwsgACECCyACQf//A3ELqwEBBH8CQAJAQQAoAqAKIgIvAQAiA0HhAEYNACABIQQgACEFDAELQQAgAkEEajYCoApBARAnIQJBACgCoAohBQJAAkAgAkEiRg0AIAJBJ0YNACACECoaQQAoAqAKIQQMAQsgAhAYQQBBACgCoApBAmoiBDYCoAoLQQEQJyEDQQAoAqAKIQILAkAgAiAFRg0AIAUgBEEAIAAgACABRiICG0EAIAEgAhsQAgsgAwtyAQR/QQAoAqAKIQBBACgCpAohAQJAAkADQCAAQQJqIQIgACABTw0BAkACQCACLwEAIgNBpH9qDgIBBAALIAIhACADQXZqDgQCAQECAQsgAEEEaiEADAALC0EAIAI2AqAKECJBAA8LQQAgAjYCoApB3QALSQEDf0EAIQMCQCACRQ0AAkADQCAALQAAIgQgAS0AACIFRw0BIAFBAWohASAAQQFqIQAgAkF/aiICDQAMAgsLIAQgBWshAwsgAwsL4gECAEGACAvEAQAAeABwAG8AcgB0AG0AcABvAHIAdABlAHQAYQByAG8AbQB1AG4AYwB0AGkAbwBuAHMAcwBlAHIAdAB2AG8AeQBpAGUAZABlAGwAZQBjAG8AbgB0AGkAbgBpAG4AcwB0AGEAbgB0AHkAYgByAGUAYQByAGUAdAB1AHIAZABlAGIAdQBnAGcAZQBhAHcAYQBpAHQAaAByAHcAaABpAGwAZQBmAG8AcgBpAGYAYwBhAHQAYwBmAGkAbgBhAGwAbABlAGwAcwAAQcQJCxABAAAAAgAAAAAEAAAwOQAA'), - 'undefined' != typeof Buffer - ? Buffer.from(L, 'base64') - : Uint8Array.from(atob(L), (k) => k.charCodeAt(0))) - ) - .then(WebAssembly.instantiate) - .then(({ exports: k }) => { - P = k - }) - var L - v.init = R - }, - 13348: function (k) { - 'use strict' - k.exports = { i8: '5.1.1' } - }, - 14730: function (k) { - 'use strict' - k.exports = { version: '4.3.0' } - }, - 61752: function (k) { - 'use strict' - k.exports = { i8: '4.3.0' } - }, - 66282: function (k) { - 'use strict' - k.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/captive+json":{"source":"iana","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/clr":{"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":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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/jscalendar+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},"application/mrb-publish+xml":{"source":"iana","compressible":true},"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/opc-nodeset+xml":{"source":"iana","compressible":true},"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.cyn":{"source":"iana","charset":"7-BIT"},"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/sarif+json":{"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/ubjson":{"compressible":false,"extensions":["ubj"]},"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,"extensions":["td"]},"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.interworking-data":{"source":"iana"},"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.cmoca-cmresource":{"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-cmtable":{"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":["key"]},"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.cryptomator.encrypted":{"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.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"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","extensions":["dbf"]},"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.slides":{"source":"iana"},"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.nebumind.line":{"source":"iana"},"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+cbor":{"source":"iana"},"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","extensions":["rar"]},"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.seis+json":{"source":"iana","compressible":true},"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.sycle+xml":{"source":"iana","compressible":true},"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.dpp":{"source":"iana"},"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},"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":["xsl","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","extensions":["amr"]},"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","opus"]},"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/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"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/tsvcis":{"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/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"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/ktx2":{"source":"iana","extensions":["ktx2"]},"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.pco.b16":{"source":"iana","extensions":["b16"]},"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/e57":{"source":"iana"},"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.sap.vds":{"source":"iana","extensions":["vds"]},"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/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"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/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"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/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"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.hans":{"source":"iana"},"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/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"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","extensions":["m4s"]},"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/scip":{"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}}' - ) - }, - 35479: function (k) { - 'use strict' - k.exports = { i8: '5.86.0' } - }, - 98625: function (k) { - 'use strict' - k.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"}]},"AmdContainer":{"description":"Add a container for define/require functions in the AMD module.","type":"string","minLength":1},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string. It can have a string as \'ident\' property which contributes to the module hash.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"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"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"outputPath":{"$ref":"#/definitions/AssetModuleOutputPath"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"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)"}]},"AssetModuleOutputPath":{"description":"Emit the asset in the specified folder relative to \'output.path\'. This should only be needed when custom \'publicPath\' is specified to match the folder structure there.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"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)"},"AssetParserDataUrlOptions":{"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"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"outputPath":{"$ref":"#/definitions/AssetModuleOutputPath"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"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":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), \'module\' (ESM), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs","module",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), \'import\' (ESM), \'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), \'import\' (ESM), \'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","import"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"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"]},"CssChunkFilename":{"description":"Specifies the filename template of non-initial output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"CssExperimentOptions":{"description":"Options for css handling.","type":"object","additionalProperties":false,"properties":{"exportsOnly":{"description":"Avoid generating and loading a stylesheet and only embed exports from css into output javascript files.","type":"boolean"}}},"CssFilename":{"description":"Specifies the filename template of output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"CssGeneratorOptions":{"description":"Generator options for css modules.","type":"object","additionalProperties":false,"properties":{}},"CssParserOptions":{"description":"Parser options for css modules.","type":"object","additionalProperties":false,"properties":{}},"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"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"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":{"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"baseUri":{"description":"Base uri for this entry.","type":"string"},"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/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"baseUri":{"description":"Base uri for this entry.","type":"string"},"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},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"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)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"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.","anyOf":[{"enum":[false]},{"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"},"dynamicImportInWorker":{"description":"The environment supports an async import() is available when creating a worker.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"globalThis":{"description":"The environment supports \'globalThis\'.","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"},"optionalChaining":{"description":"The environment supports optional chaining (\'obj?.a\' or \'obj?.()\').","type":"boolean"},"templateLiteral":{"description":"The environment supports template literals.","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","anyOf":[{"$ref":"#/definitions/HttpUriAllowedUris"},{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"css":{"description":"Enable css support.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CssExperimentOptions"}]},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/LazyCompilationOptions"}]},"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"}}},"ExperimentsCommon":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","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"}}},"ExperimentsNormalized":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"css":{"description":"Enable css support.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/CssExperimentOptions"}]},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/LazyCompilationOptions"}]},"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"}}},"Extends":{"description":"Extend configuration from another configuration (only works when using webpack-cli).","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExtendsItem"}},{"$ref":"#/definitions/ExtendsItem"}]},"ExtendsItem":{"description":"Path to the configuration to be extended (only works when using webpack-cli).","type":"string"},"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":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"dependencyType":{"description":"The category of the referencing dependencies.","type":"string"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"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"}]},"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","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"allowCollectingMemory":{"description":"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.","type":"boolean"},"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},"compression":{"description":"Compression type used for the cache files.","enum":[false,"gzip","brotli"]},"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.","type":"number","minimum":0},"idleTimeoutAfterLargeChanges":{"description":"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen.","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":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an 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":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"memoryCacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.","type":"boolean"},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"profile":{"description":"Track and log detailed timing information for individual cache items.","type":"boolean"},"readonly":{"description":"Enable/disable readonly mode.","type":"boolean"},"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 filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","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"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"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},"HttpUriAllowedUris":{"description":"List of allowed URIs for building http resources.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/HttpUriOptionsAllowedUris"}]},"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"proxy":{"description":"Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.","type":"string"},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}},"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":{"appendOnly":{"description":"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.","type":"boolean"},"colors":{"description":"Enables/Disables colorful output. This option is only used when no custom console is provided.","type":"boolean"},"console":{"description":"Custom console used for logging.","tsType":"Console"},"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"]},"stream":{"description":"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.","tsType":"NodeJS.WritableStream"}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"createRequire":{"description":"Enable/disable parsing \\"import { createRequire } from \\"module\\"\\" and evaluating createRequire().","anyOf":[{"type":"boolean"},{"type":"string"}]},"dynamicImportMode":{"description":"Specifies global mode for dynamic import.","enum":["eager","weak","lazy","lazy-once"]},"dynamicImportPrefetch":{"description":"Specifies global prefetch for dynamic import.","anyOf":[{"type":"number"},{"type":"boolean"}]},"dynamicImportPreload":{"description":"Specifies global preload for dynamic import.","anyOf":[{"type":"number"},{"type":"boolean"}]},"exportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\" and \\"export ... from ...\\".","enum":["error","warn","auto",false]},"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"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"importExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\".","enum":["error","warn","auto",false]},"importMeta":{"description":"Enable/disable evaluating import.meta.","type":"boolean"},"importMetaContext":{"description":"Enable/disable evaluating import.meta.webpackContext.","type":"boolean"},"node":{"$ref":"#/definitions/Node"},"reexportExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"export ... from ...\\". This might be useful to disable during the migration from \\"export ... from ...\\" to \\"export type ... from ...\\" when reexporting types in TypeScript.","enum":["error","warn","auto",false]},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Deprecated in favor of \\"exportsPresence\\". 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"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","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"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"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"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"LazyCompilationDefaultBackendOptions":{"description":"Options for the default backend.","type":"object","additionalProperties":false,"properties":{"client":{"description":"A custom client.","type":"string"},"listen":{"description":"Specifies where to listen to from the server.","anyOf":[{"description":"A port.","type":"number"},{"description":"Listen options.","type":"object","additionalProperties":true,"properties":{"host":{"description":"A host.","type":"string"},"port":{"description":"A port.","type":"number"}},"tsType":"import(\\"net\\").ListenOptions"},{"description":"A custom listen function.","instanceof":"Function","tsType":"((server: import(\\"net\\").Server) => void)"}]},"protocol":{"description":"Specifies the protocol the client should use to connect to the server.","enum":["http","https"]},"server":{"description":"Specifies how to create the server handling the EventSource requests.","anyOf":[{"description":"ServerOptions for the http or https createServer call.","type":"object","additionalProperties":true,"properties":{},"tsType":"(import(\\"https\\").ServerOptions | import(\\"http\\").ServerOptions)"},{"description":"A custom create server function.","instanceof":"Function","tsType":"(() => import(\\"net\\").Server)"}]}}},"LazyCompilationOptions":{"description":"Options for compiling entrypoints and import()s only when they are accessed.","type":"object","additionalProperties":false,"properties":{"backend":{"description":"Specifies the backend that should be used for handling client keep alive.","anyOf":[{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), callback: (err?: Error, api?: import(\\"../lib/hmr/LazyCompilationPlugin\\").BackendApi) => void) => void) | ((compiler: import(\'../lib/Compiler\')) => Promise))"},{"$ref":"#/definitions/LazyCompilationDefaultBackendOptions"}]},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}},"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},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"amdContainer":{"$ref":"#/definitions/AmdContainer"},"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\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'commonjs-static\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","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":{"cacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"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. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"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. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","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. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"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"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","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"}]},"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,"warn-mock","mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","enum":[false,true,"warn"]}}},"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":"RegExp","tsType":"RegExp"},{"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"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"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"}]},"minSizeReduction":{"description":"Minimum size reduction due to 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":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}},"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":"RegExp","tsType":"RegExp"},{"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"},"minItems":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},"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":"RegExp","tsType":"RegExp"},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"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"}]},"minSizeReduction":{"description":"Minimum size reduction due to 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"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","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":{"amdContainer":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AmdContainer"}]},"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"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"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"cssChunkFilename":{"$ref":"#/definitions/CssChunkFilename"},"cssFilename":{"$ref":"#/definitions/CssFilename"},"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"},"ignoreBrowserWarnings":{"description":"Ignore warnings in the browser.","type":"boolean"},"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"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks. \'output.uniqueName\' is used a default policy name. Passing a string sets a custom policy name.","anyOf":[{"enum":[true]},{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1},{"$ref":"#/definitions/TrustedTypes"}]},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerPublicPath":{"$ref":"#/definitions/WorkerPublicPath"},"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"},"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"cssChunkFilename":{"$ref":"#/definitions/CssChunkFilename"},"cssFilename":{"$ref":"#/definitions/CssFilename"},"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"},"ignoreBrowserWarnings":{"description":"Ignore warnings in the browser.","type":"boolean"},"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"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"$ref":"#/definitions/TrustedTypes"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerPublicPath":{"$ref":"#/definitions/WorkerPublicPath"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"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"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"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"}},"extensionAlias":{"description":"An object which maps extension to extension aliases.","type":"object","additionalProperties":{"description":"Extension alias.","anyOf":[{"description":"Multiple extensions.","type":"array","items":{"description":"Aliased extension.","type":"string","minLength":1}},{"description":"Aliased extension.","type":"string","minLength":1}]}},"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"}},"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"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"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.","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"},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditions"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditionsAbsolute"},{"$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"}]},"RuleSetLogicalConditions":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},"RuleSetLogicalConditionsAbsolute":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"assert":{"description":"Match on import assertions of the dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"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"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"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"}]}},"scheme":{"description":"Match module scheme.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"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":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an 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":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"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"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"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).","anyOf":[{"enum":["auto"]},{"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"},"errorsSpace":{"description":"Space to display errors (value is in number of lines).","type":"number"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"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"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"groupReasonsByOrigin":{"description":"Group reasons by their origin module.","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, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"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"},"reasonsSpace":{"description":"Space to display reasons (groups will be collapsed to fit this space).","type":"number"},"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/WarningFilterTypes"}]},"warningsSpace":{"description":"Space to display warnings (value is in number of lines).","type":"number"}}},"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"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","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}]},"TrustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks.","type":"object","additionalProperties":false,"properties":{"onPolicyCreationFailure":{"description":"If the call to `trustedTypes.createPolicy(...)` fails -- e.g., due to the policy name missing from the CSP `trusted-types` list, or it being a duplicate name, etc. -- controls whether to continue with loading in the hope that `require-trusted-types-for \'script\'` isn\'t enforced yet, versus fail immediately. Default behavior is \'stop\'.","enum":["continue","stop"]},"policyName":{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","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},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"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/ExperimentsNormalized"},"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/ModuleOptionsNormalized"},"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"]},"WorkerPublicPath":{"description":"Worker public path. Much like the public path, this sets the location where the worker script file is intended to be found. If not set, webpack will use the publicPath. Don\'t set this option unless your worker scripts are located at a different path from your other script files.","type":"string"}},"title":"WebpackOptions","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"},"extends":{"$ref":"#/definitions/Extends"},"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"}}}' - ) - }, - 98156: function (k) { - 'use strict' - k.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"}]},"footer":{"description":"If true, banner will be placed at the end of the output.","type":"boolean"},"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"}]}' - ) - }, - 10519: function (k) { - 'use strict' - k.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"]}' - ) - }, - 18498: function (k) { - 'use strict' - k.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"]}]}' - ) - }, - 23884: function (k) { - 'use strict' - k.exports = JSON.parse( - '{"definitions":{"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\')"}]}},"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.","oneOf":[{"$ref":"#/definitions/HashFunction"}]}}}' - ) - }, - 19134: function (k) { - 'use strict' - k.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"}},"required":["resourceRegExp"]},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}},"required":["checkResource"]}]}' - ) - }, - 40013: function (k) { - 'use strict' - k.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)"}}}' - ) - }, - 27667: function (k) { - 'use strict' - k.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}}}}}' - ) - }, - 13689: function (k) { - 'use strict' - k.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"}]}' - ) - }, - 45441: function (k) { - 'use strict' - k.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},{"instanceof":"Function","tsType":"((pathData: import(\\"../../lib/Compilation\\").PathData, assetInfo?: import(\\"../../lib/Compilation\\").AssetInfo) => string)"}]},"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"}}}' - ) - }, - 41084: function (k) { - 'use strict' - k.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"]}' - ) - }, - 97253: function (k) { - 'use strict' - k.exports = JSON.parse( - '{"definitions":{"AmdContainer":{"description":"Add a container for define/require functions in the AMD module.","type":"string","minLength":1},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"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.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"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"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"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},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"amdContainer":{"$ref":"#/definitions/AmdContainer"},"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\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'commonjs-static\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","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},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}' - ) - }, - 52899: function (k) { - 'use strict' - k.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","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"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"]}' - ) - }, - 80707: function (k) { - 'use strict' - k.exports = JSON.parse( - '{"definitions":{"AmdContainer":{"description":"Add a container for define/require functions in the AMD module.","type":"string","minLength":1},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"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.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"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"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"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","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"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},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"amdContainer":{"$ref":"#/definitions/AmdContainer"},"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\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'commonjs-static\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","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"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}' - ) - }, - 5877: function (k) { - 'use strict' - k.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}}}' - ) - }, - 41565: function (k) { - 'use strict' - k.exports = JSON.parse( - '{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}' - ) - }, - 71967: function (k) { - 'use strict' - k.exports = JSON.parse( - '{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}' - ) - }, - 20443: function (k) { - 'use strict' - k.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"}}}' - ) - }, - 30355: function (k) { - 'use strict' - k.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"]}' - ) - }, - 78782: function (k) { - 'use strict' - k.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"]}' - ) - }, - 72789: function (k) { - 'use strict' - k.exports = JSON.parse( - '{"definitions":{"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"proxy":{"description":"Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.","type":"string"},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}}},"title":"HttpUriPluginOptions","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]}' - ) - }, - 61334: function (k) { - 'use strict' - k.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"]}' - ) - }, - 15958: function (k) { - 'use strict' - k.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"]}' - ) - }, - } - var v = {} - function __webpack_require__(E) { - var P = v[E] - if (P !== undefined) { - return P.exports - } - var R = (v[E] = { exports: {} }) - var L = true - try { - k[E].call(R.exports, R, R.exports, __webpack_require__) - L = false - } finally { - if (L) delete v[E] - } - return R.exports - } - if (typeof __webpack_require__ !== 'undefined') - __webpack_require__.ab = __dirname + '/' - var E = __webpack_require__(83182) - module.exports = E -})() +var v;var E;var P;var R;var L;var N;var q;var ae;var le;var pe;var me;var ye;var _e;var Ie;var Me;var Te;var je;var Ne;var Be;var qe;var Ue;var Ge;(function(v){var E=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(k){v(createExporter(E,createExporter(k)))}))}else if(true&&typeof k.exports==="object"){v(createExporter(E,createExporter(k.exports)))}else{v(createExporter(E))}function createExporter(k,v){if(k!==E){if(typeof Object.create==="function"){Object.defineProperty(k,"__esModule",{value:true})}else{k.__esModule=true}}return function(E,P){return k[E]=v?v(E,P):P}}})((function(k){var He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,v){k.__proto__=v}||function(k,v){for(var E in v)if(v.hasOwnProperty(E))k[E]=v[E]};v=function(k,v){He(k,v);function __(){this.constructor=k}k.prototype=v===null?Object.create(v):(__.prototype=v.prototype,new __)};E=Object.assign||function(k){for(var v,E=1,P=arguments.length;E=0;q--)if(N=k[q])L=(R<3?N(L):R>3?N(v,E,L):N(v,E))||L;return R>3&&L&&Object.defineProperty(v,E,L),L};L=function(k,v){return function(E,P){v(E,P,k)}};N=function(k,v){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(k,v)};q=function(k,v,E,P){function adopt(k){return k instanceof E?k:new E((function(v){v(k)}))}return new(E||(E=Promise))((function(E,R){function fulfilled(k){try{step(P.next(k))}catch(k){R(k)}}function rejected(k){try{step(P["throw"](k))}catch(k){R(k)}}function step(k){k.done?E(k.value):adopt(k.value).then(fulfilled,rejected)}step((P=P.apply(k,v||[])).next())}))};ae=function(k,v){var E={label:0,sent:function(){if(L[0]&1)throw L[1];return L[1]},trys:[],ops:[]},P,R,L,N;return N={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(N[Symbol.iterator]=function(){return this}),N;function verb(k){return function(v){return step([k,v])}}function step(N){if(P)throw new TypeError("Generator is already executing.");while(E)try{if(P=1,R&&(L=N[0]&2?R["return"]:N[0]?R["throw"]||((L=R["return"])&&L.call(R),0):R.next)&&!(L=L.call(R,N[1])).done)return L;if(R=0,L)N=[N[0]&2,L.value];switch(N[0]){case 0:case 1:L=N;break;case 4:E.label++;return{value:N[1],done:false};case 5:E.label++;R=N[1];N=[0];continue;case 7:N=E.ops.pop();E.trys.pop();continue;default:if(!(L=E.trys,L=L.length>0&&L[L.length-1])&&(N[0]===6||N[0]===2)){E=0;continue}if(N[0]===3&&(!L||N[1]>L[0]&&N[1]=k.length)k=void 0;return{value:k&&k[P++],done:!k}}};throw new TypeError(v?"Object is not iterable.":"Symbol.iterator is not defined.")};me=function(k,v){var E=typeof Symbol==="function"&&k[Symbol.iterator];if(!E)return k;var P=E.call(k),R,L=[],N;try{while((v===void 0||v-- >0)&&!(R=P.next()).done)L.push(R.value)}catch(k){N={error:k}}finally{try{if(R&&!R.done&&(E=P["return"]))E.call(P)}finally{if(N)throw N.error}}return L};ye=function(){for(var k=[],v=0;v1||resume(k,v)}))}}function resume(k,v){try{step(P[k](v))}catch(k){settle(L[0][3],k)}}function step(k){k.value instanceof Ie?Promise.resolve(k.value.v).then(fulfill,reject):settle(L[0][2],k)}function fulfill(k){resume("next",k)}function reject(k){resume("throw",k)}function settle(k,v){if(k(v),L.shift(),L.length)resume(L[0][0],L[0][1])}};Te=function(k){var v,E;return v={},verb("next"),verb("throw",(function(k){throw k})),verb("return"),v[Symbol.iterator]=function(){return this},v;function verb(P,R){v[P]=k[P]?function(v){return(E=!E)?{value:Ie(k[P](v)),done:P==="return"}:R?R(v):v}:R}};je=function(k){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var v=k[Symbol.asyncIterator],E;return v?v.call(k):(k=typeof pe==="function"?pe(k):k[Symbol.iterator](),E={},verb("next"),verb("throw"),verb("return"),E[Symbol.asyncIterator]=function(){return this},E);function verb(v){E[v]=k[v]&&function(E){return new Promise((function(P,R){E=k[v](E),settle(P,R,E.done,E.value)}))}}function settle(k,v,E,P){Promise.resolve(P).then((function(v){k({value:v,done:E})}),v)}};Ne=function(k,v){if(Object.defineProperty){Object.defineProperty(k,"raw",{value:v})}else{k.raw=v}return k};Be=function(k){if(k&&k.__esModule)return k;var v={};if(k!=null)for(var E in k)if(Object.hasOwnProperty.call(k,E))v[E]=k[E];v["default"]=k;return v};qe=function(k){return k&&k.__esModule?k:{default:k}};Ue=function(k,v){if(!v.has(k)){throw new TypeError("attempted to get private field on non-instance")}return v.get(k)};Ge=function(k,v,E){if(!v.has(k)){throw new TypeError("attempted to set private field on non-instance")}v.set(k,E);return E};k("__extends",v);k("__assign",E);k("__rest",P);k("__decorate",R);k("__param",L);k("__metadata",N);k("__awaiter",q);k("__generator",ae);k("__exportStar",le);k("__values",pe);k("__read",me);k("__spread",ye);k("__spreadArrays",_e);k("__await",Ie);k("__asyncGenerator",Me);k("__asyncDelegator",Te);k("__asyncValues",je);k("__makeTemplateObject",Ne);k("__importStar",Be);k("__importDefault",qe);k("__classPrivateFieldGet",Ue);k("__classPrivateFieldSet",Ge)}))},99494:function(k,v,E){"use strict";const P=E(88113);const{JAVASCRIPT_MODULE_TYPE_AUTO:R,JAVASCRIPT_MODULE_TYPE_DYNAMIC:L,JAVASCRIPT_MODULE_TYPE_ESM:N}=E(93622);const q=E(56727);const ae=E(71572);const le=E(60381);const pe=E(70037);const me=E(89168);const{toConstantDependency:ye,evaluateToString:_e}=E(80784);const Ie=E(32861);const Me=E(5e3);function getReplacements(k,v){return{__webpack_require__:{expr:q.require,req:[q.require],type:"function",assign:false},__webpack_public_path__:{expr:q.publicPath,req:[q.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:q.baseURI,req:[q.baseURI],type:"string",assign:true},__webpack_modules__:{expr:q.moduleFactories,req:[q.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:q.ensureChunk,req:[q.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:k?`__WEBPACK_EXTERNAL_createRequire(${v}.url)`:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:q.scriptNonce,req:[q.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${q.getFullHash}()`,req:[q.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:q.chunkName,req:[q.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:q.getChunkScriptFilename,req:[q.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:q.runtimeId,req:[q.runtimeId],assign:false},"require.onError":{expr:q.uncaughtErrorHandler,req:[q.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:q.systemContext,req:[q.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:q.shareScopeMap,req:[q.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:q.initializeSharing,req:[q.initializeSharing],type:"function",assign:true}}}const Te="APIPlugin";class APIPlugin{constructor(k={}){this.options=k}apply(k){k.hooks.compilation.tap(Te,((k,{normalModuleFactory:v})=>{const{importMetaName:E}=k.outputOptions;const je=getReplacements(this.options.module,E);k.dependencyTemplates.set(le,new le.Template);k.hooks.runtimeRequirementInTree.for(q.chunkName).tap(Te,(v=>{k.addRuntimeModule(v,new Ie(v.name));return true}));k.hooks.runtimeRequirementInTree.for(q.getFullHash).tap(Te,((v,E)=>{k.addRuntimeModule(v,new Me);return true}));const Ne=me.getCompilationHooks(k);Ne.renderModuleContent.tap(Te,((k,v,E)=>{if(v.buildInfo.needCreateRequire){const k=[new P('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',P.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];E.chunkInitFragments.push(...k)}return k}));const handler=k=>{Object.keys(je).forEach((v=>{const E=je[v];k.hooks.expression.for(v).tap(Te,(P=>{const R=ye(k,E.expr,E.req);if(v==="__non_webpack_require__"&&this.options.module){k.state.module.buildInfo.needCreateRequire=true}return R(P)}));if(E.assign===false){k.hooks.assign.for(v).tap(Te,(k=>{const E=new ae(`${v} must not be assigned`);E.loc=k.loc;throw E}))}if(E.type){k.hooks.evaluateTypeof.for(v).tap(Te,_e(E.type))}}));k.hooks.expression.for("__webpack_layer__").tap(Te,(v=>{const E=new le(JSON.stringify(k.state.module.layer),v.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}));k.hooks.evaluateIdentifier.for("__webpack_layer__").tap(Te,(v=>(k.state.module.layer===null?(new pe).setNull():(new pe).setString(k.state.module.layer)).setRange(v.range)));k.hooks.evaluateTypeof.for("__webpack_layer__").tap(Te,(v=>(new pe).setString(k.state.module.layer===null?"object":"string").setRange(v.range)));k.hooks.expression.for("__webpack_module__.id").tap(Te,(v=>{k.state.module.buildInfo.moduleConcatenationBailout="__webpack_module__.id";const E=new le(k.state.module.moduleArgument+".id",v.range,[q.moduleId]);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}));k.hooks.expression.for("__webpack_module__").tap(Te,(v=>{k.state.module.buildInfo.moduleConcatenationBailout="__webpack_module__";const E=new le(k.state.module.moduleArgument,v.range,[q.module]);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}));k.hooks.evaluateTypeof.for("__webpack_module__").tap(Te,_e("object"))};v.hooks.parser.for(R).tap(Te,handler);v.hooks.parser.for(L).tap(Te,handler);v.hooks.parser.for(N).tap(Te,handler)}))}}k.exports=APIPlugin},60386:function(k,v,E){"use strict";const P=E(71572);const R=/at ([a-zA-Z0-9_.]*)/;function createMessage(k){return`Abstract method${k?" "+k:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const k=this.stack.split("\n")[3].match(R);this.message=k&&k[1]?createMessage(k[1]):createMessage()}class AbstractMethodError extends P{constructor(){super((new Message).message);this.name="AbstractMethodError"}}k.exports=AbstractMethodError},75081:function(k,v,E){"use strict";const P=E(38706);const R=E(58528);class AsyncDependenciesBlock extends P{constructor(k,v,E){super();if(typeof k==="string"){k={name:k}}else if(!k){k={name:undefined}}this.groupOptions=k;this.loc=v;this.request=E;this._stringifiedGroupOptions=undefined}get chunkName(){return this.groupOptions.name}set chunkName(k){if(this.groupOptions.name!==k){this.groupOptions.name=k;this._stringifiedGroupOptions=undefined}}updateHash(k,v){const{chunkGraph:E}=v;if(this._stringifiedGroupOptions===undefined){this._stringifiedGroupOptions=JSON.stringify(this.groupOptions)}const P=E.getBlockChunkGroup(this);k.update(`${this._stringifiedGroupOptions}${P?P.id:""}`);super.updateHash(k,v)}serialize(k){const{write:v}=k;v(this.groupOptions);v(this.loc);v(this.request);super.serialize(k)}deserialize(k){const{read:v}=k;this.groupOptions=v();this.loc=v();this.request=v();super.deserialize(k)}}R(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)")}});k.exports=AsyncDependenciesBlock},51641:function(k,v,E){"use strict";const P=E(71572);class AsyncDependencyToInitialChunkError extends P{constructor(k,v,E){super(`It's not allowed to load an initial chunk on demand. The chunk name "${k}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=v;this.loc=E}}k.exports=AsyncDependencyToInitialChunkError},75250:function(k,v,E){"use strict";const P=E(78175);const R=E(38224);const L=E(85992);class AutomaticPrefetchPlugin{apply(k){k.hooks.compilation.tap("AutomaticPrefetchPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(L,v)}));let v=null;k.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(k=>{v=[];for(const E of k.modules){if(E instanceof R){v.push({context:E.context,request:E.request})}}}));k.hooks.make.tapAsync("AutomaticPrefetchPlugin",((E,R)=>{if(!v)return R();P.forEach(v,((v,P)=>{E.addModuleChain(v.context||k.context,new L(`!!${v.request}`),P)}),(k=>{v=null;R(k)}))}))}}k.exports=AutomaticPrefetchPlugin},13991:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const R=E(27747);const L=E(98612);const N=E(95041);const q=E(92198);const ae=q(E(85797),(()=>E(98156)),{name:"Banner Plugin",baseDataPath:"options"});const wrapComment=k=>{if(!k.includes("\n")){return N.toComment(k)}return`/*!\n * ${k.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimEnd()}\n */`};class BannerPlugin{constructor(k){if(typeof k==="string"||typeof k==="function"){k={banner:k}}ae(k);this.options=k;const v=k.banner;if(typeof v==="function"){const k=v;this.banner=this.options.raw?k:v=>wrapComment(k(v))}else{const k=this.options.raw?v:wrapComment(v);this.banner=()=>k}}apply(k){const v=this.options;const E=this.banner;const N=L.matchObject.bind(undefined,v);const q=new WeakMap;k.hooks.compilation.tap("BannerPlugin",(k=>{k.hooks.processAssets.tap({name:"BannerPlugin",stage:R.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const R of k.chunks){if(v.entryOnly&&!R.canBeInitial()){continue}for(const L of R.files){if(!N(L)){continue}const ae={chunk:R,filename:L};const le=k.getPath(E,ae);k.updateAsset(L,(k=>{let E=q.get(k);if(!E||E.comment!==le){const E=v.footer?new P(k,"\n",le):new P(le,"\n",k);q.set(k,{source:E,comment:le});return E}return E.source}))}}}))}))}}k.exports=BannerPlugin},89802:function(k,v,E){"use strict";const{AsyncParallelHook:P,AsyncSeriesBailHook:R,SyncHook:L}=E(79846);const{makeWebpackError:N,makeWebpackErrorCallback:q}=E(82104);const needCalls=(k,v)=>E=>{if(--k===0){return v(E)}if(E&&k>0){k=0;return v(E)}};class Cache{constructor(){this.hooks={get:new R(["identifier","etag","gotHandlers"]),store:new P(["identifier","etag","data"]),storeBuildDependencies:new P(["dependencies"]),beginIdle:new L([]),endIdle:new P([]),shutdown:new P([])}}get(k,v,E){const P=[];this.hooks.get.callAsync(k,v,P,((k,v)=>{if(k){E(N(k,"Cache.hooks.get"));return}if(v===null){v=undefined}if(P.length>1){const k=needCalls(P.length,(()=>E(null,v)));for(const E of P){E(v,k)}}else if(P.length===1){P[0](v,(()=>E(null,v)))}else{E(null,v)}}))}store(k,v,E,P){this.hooks.store.callAsync(k,v,E,q(P,"Cache.hooks.store"))}storeBuildDependencies(k,v){this.hooks.storeBuildDependencies.callAsync(k,q(v,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(k){this.hooks.endIdle.callAsync(q(k,"Cache.hooks.endIdle"))}shutdown(k){this.hooks.shutdown.callAsync(q(k,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;k.exports=Cache},90580:function(k,v,E){"use strict";const{forEachBail:P}=E(90006);const R=E(78175);const L=E(76222);const N=E(87045);class MultiItemCache{constructor(k){this._items=k;if(k.length===1)return k[0]}get(k){P(this._items,((k,v)=>k.get(v)),k)}getPromise(){const next=k=>this._items[k].getPromise().then((v=>{if(v!==undefined)return v;if(++kv.store(k,E)),v)}storePromise(k){return Promise.all(this._items.map((v=>v.storePromise(k)))).then((()=>{}))}}class ItemCacheFacade{constructor(k,v,E){this._cache=k;this._name=v;this._etag=E}get(k){this._cache.get(this._name,this._etag,k)}getPromise(){return new Promise(((k,v)=>{this._cache.get(this._name,this._etag,((E,P)=>{if(E){v(E)}else{k(P)}}))}))}store(k,v){this._cache.store(this._name,this._etag,k,v)}storePromise(k){return new Promise(((v,E)=>{this._cache.store(this._name,this._etag,k,(k=>{if(k){E(k)}else{v()}}))}))}provide(k,v){this.get(((E,P)=>{if(E)return v(E);if(P!==undefined)return P;k(((k,E)=>{if(k)return v(k);this.store(E,(k=>{if(k)return v(k);v(null,E)}))}))}))}async providePromise(k){const v=await this.getPromise();if(v!==undefined)return v;const E=await k();await this.storePromise(E);return E}}class CacheFacade{constructor(k,v,E){this._cache=k;this._name=v;this._hashFunction=E}getChildCache(k){return new CacheFacade(this._cache,`${this._name}|${k}`,this._hashFunction)}getItemCache(k,v){return new ItemCacheFacade(this._cache,`${this._name}|${k}`,v)}getLazyHashedEtag(k){return L(k,this._hashFunction)}mergeEtags(k,v){return N(k,v)}get(k,v,E){this._cache.get(`${this._name}|${k}`,v,E)}getPromise(k,v){return new Promise(((E,P)=>{this._cache.get(`${this._name}|${k}`,v,((k,v)=>{if(k){P(k)}else{E(v)}}))}))}store(k,v,E,P){this._cache.store(`${this._name}|${k}`,v,E,P)}storePromise(k,v,E){return new Promise(((P,R)=>{this._cache.store(`${this._name}|${k}`,v,E,(k=>{if(k){R(k)}else{P()}}))}))}provide(k,v,E,P){this.get(k,v,((R,L)=>{if(R)return P(R);if(L!==undefined)return L;E(((E,R)=>{if(E)return P(E);this.store(k,v,R,(k=>{if(k)return P(k);P(null,R)}))}))}))}async providePromise(k,v,E){const P=await this.getPromise(k,v);if(P!==undefined)return P;const R=await E();await this.storePromise(k,v,R);return R}}k.exports=CacheFacade;k.exports.ItemCacheFacade=ItemCacheFacade;k.exports.MultiItemCache=MultiItemCache},94046:function(k,v,E){"use strict";const P=E(71572);const sortModules=k=>k.sort(((k,v)=>{const E=k.identifier();const P=v.identifier();if(EP)return 1;return 0}));const createModulesListMessage=(k,v)=>k.map((k=>{let E=`* ${k.identifier()}`;const P=Array.from(v.getIncomingConnectionsByOriginModule(k).keys()).filter((k=>k));if(P.length>0){E+=`\n Used by ${P.length} module(s), i. e.`;E+=`\n ${P[0].identifier()}`}return E})).join("\n");class CaseSensitiveModulesWarning extends P{constructor(k,v){const E=sortModules(Array.from(k));const P=createModulesListMessage(E,v);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${P}`);this.name="CaseSensitiveModulesWarning";this.module=E[0]}}k.exports=CaseSensitiveModulesWarning},8247:function(k,v,E){"use strict";const P=E(38317);const R=E(10969);const{intersect:L}=E(59959);const N=E(46081);const q=E(96181);const{compareModulesByIdentifier:ae,compareChunkGroupsByIndex:le,compareModulesById:pe}=E(95648);const{createArrayToSetDeprecationSet:me}=E(61883);const{mergeRuntime:ye}=E(1540);const _e=me("chunk.files");let Ie=1e3;class Chunk{constructor(k,v=true){this.id=null;this.ids=null;this.debugId=Ie++;this.name=k;this.idNameHints=new N;this.preventIntegration=false;this.filenameTemplate=undefined;this.cssFilenameTemplate=undefined;this._groups=new N(undefined,le);this.runtime=undefined;this.files=v?new _e:new Set;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 k=Array.from(P.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(k.length===0){return undefined}else if(k.length===1){return k[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return P.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(k){const v=P.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(v.isModuleInChunk(k,this))return false;v.connectChunkAndModule(this,k);return true}removeModule(k){P.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,k)}getNumberOfModules(){return P.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const k=P.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return k.getOrderedChunkModulesIterable(this,ae)}compareTo(k){const v=P.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return v.compareChunks(this,k)}containsModule(k){return P.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(k,this)}getModules(){return P.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const k=P.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");k.disconnectChunk(this);this.disconnectFromGroups()}moveModule(k,v){const E=P.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");E.disconnectChunkAndModule(this,k);E.connectChunkAndModule(v,k)}integrate(k){const v=P.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(v.canChunksBeIntegrated(this,k)){v.integrateChunks(this,k);return true}else{return false}}canBeIntegrated(k){const v=P.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return v.canChunksBeIntegrated(this,k)}isEmpty(){const k=P.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return k.getNumberOfChunkModules(this)===0}modulesSize(){const k=P.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return k.getChunkModulesSize(this)}size(k={}){const v=P.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return v.getChunkSize(this,k)}integratedSize(k,v){const E=P.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return E.getIntegratedChunksSize(this,k,v)}getChunkModuleMaps(k){const v=P.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const E=Object.create(null);const R=Object.create(null);for(const P of this.getAllAsyncChunks()){let L;for(const N of v.getOrderedChunkModulesIterable(P,pe(v))){if(k(N)){if(L===undefined){L=[];E[P.id]=L}const k=v.getModuleId(N);L.push(k);R[k]=v.getRenderedModuleHash(N,undefined)}}}return{id:E,hash:R}}hasModuleInGraph(k,v){const E=P.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return E.hasModuleInGraph(this,k,v)}getChunkMaps(k){const v=Object.create(null);const E=Object.create(null);const P=Object.create(null);for(const R of this.getAllAsyncChunks()){const L=R.id;v[L]=k?R.hash:R.renderedHash;for(const k of Object.keys(R.contentHash)){if(!E[k]){E[k]=Object.create(null)}E[k][L]=R.contentHash[k]}if(R.name){P[L]=R.name}}return{hash:v,contentHash:E,name:P}}hasRuntime(){for(const k of this._groups){if(k instanceof R&&k.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const k of this._groups){if(k.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const k of this._groups){if(!k.isInitial())return false}return true}getEntryOptions(){for(const k of this._groups){if(k instanceof R){return k.options}}return undefined}addGroup(k){this._groups.add(k)}removeGroup(k){this._groups.delete(k)}isInGroup(k){return this._groups.has(k)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const k of this._groups){k.removeChunk(this)}}split(k){for(const v of this._groups){v.insertChunk(k,this);k.addGroup(v)}for(const v of this.idNameHints){k.idNameHints.add(v)}k.runtime=ye(k.runtime,this.runtime)}updateHash(k,v){k.update(`${this.id} ${this.ids?this.ids.join():""} ${this.name||""} `);const E=new q;for(const k of v.getChunkModulesIterable(this)){E.add(v.getModuleHash(k,this.runtime))}E.updateHash(k);const P=v.getChunkEntryModulesWithChunkGroupIterable(this);for(const[E,R]of P){k.update(`entry${v.getModuleId(E)}${R.id}`)}}getAllAsyncChunks(){const k=new Set;const v=new Set;const E=L(Array.from(this.groupsIterable,(k=>new Set(k.chunks))));const P=new Set(this.groupsIterable);for(const v of P){for(const E of v.childrenIterable){if(E instanceof R){P.add(E)}else{k.add(E)}}}for(const P of k){for(const k of P.chunks){if(!E.has(k)){v.add(k)}}for(const v of P.childrenIterable){k.add(v)}}return v}getAllInitialChunks(){const k=new Set;const v=new Set(this.groupsIterable);for(const E of v){if(E.isInitial()){for(const v of E.chunks)k.add(v);for(const k of E.childrenIterable)v.add(k)}}return k}getAllReferencedChunks(){const k=new Set(this.groupsIterable);const v=new Set;for(const E of k){for(const k of E.chunks){v.add(k)}for(const v of E.childrenIterable){k.add(v)}}return v}getAllReferencedAsyncEntrypoints(){const k=new Set(this.groupsIterable);const v=new Set;for(const E of k){for(const k of E.asyncEntrypointsIterable){v.add(k)}for(const v of E.childrenIterable){k.add(v)}}return v}hasAsyncChunks(){const k=new Set;const v=L(Array.from(this.groupsIterable,(k=>new Set(k.chunks))));for(const v of this.groupsIterable){for(const E of v.childrenIterable){k.add(E)}}for(const E of k){for(const k of E.chunks){if(!v.has(k)){return true}}for(const v of E.childrenIterable){k.add(v)}}return false}getChildIdsByOrders(k,v){const E=new Map;for(const k of this.groupsIterable){if(k.chunks[k.chunks.length-1]===this){for(const v of k.childrenIterable){for(const k of Object.keys(v.options)){if(k.endsWith("Order")){const P=k.slice(0,k.length-"Order".length);let R=E.get(P);if(R===undefined){R=[];E.set(P,R)}R.push({order:v.options[k],group:v})}}}}}const P=Object.create(null);for(const[R,L]of E){L.sort(((v,E)=>{const P=E.order-v.order;if(P!==0)return P;return v.group.compareTo(k,E.group)}));const E=new Set;for(const P of L){for(const R of P.group.chunks){if(v&&!v(R,k))continue;E.add(R.id)}}if(E.size>0){P[R]=Array.from(E)}}return P}getChildrenOfTypeInOrder(k,v){const E=[];for(const k of this.groupsIterable){for(const P of k.childrenIterable){const R=P.options[v];if(R===undefined)continue;E.push({order:R,group:k,childGroup:P})}}if(E.length===0)return undefined;E.sort(((v,E)=>{const P=E.order-v.order;if(P!==0)return P;return v.group.compareTo(k,E.group)}));const P=[];let R;for(const{group:k,childGroup:v}of E){if(R&&R.onChunks===k.chunks){for(const k of v.chunks){R.chunks.add(k)}}else{P.push(R={onChunks:k.chunks,chunks:new Set(v.chunks)})}}return P}getChildIdsByOrdersMap(k,v,E){const P=Object.create(null);const addChildIdsByOrdersToMap=v=>{const R=v.getChildIdsByOrders(k,E);for(const k of Object.keys(R)){let E=P[k];if(E===undefined){P[k]=E=Object.create(null)}E[v.id]=R[k]}};if(v){const k=new Set;for(const v of this.groupsIterable){for(const E of v.chunks){k.add(E)}}for(const v of k){addChildIdsByOrdersToMap(v)}}for(const k of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(k)}return P}}k.exports=Chunk},38317:function(k,v,E){"use strict";const P=E(73837);const R=E(10969);const L=E(86267);const{first:N}=E(59959);const q=E(46081);const{compareModulesById:ae,compareIterables:le,compareModulesByIdentifier:pe,concatComparators:me,compareSelect:ye,compareIds:_e}=E(95648);const Ie=E(74012);const Me=E(34271);const{RuntimeSpecMap:Te,RuntimeSpecSet:je,runtimeToString:Ne,mergeRuntime:Be,forEachRuntime:qe}=E(1540);const Ue=new Set;const Ge=BigInt(0);const He=le(pe);class ModuleHashInfo{constructor(k,v){this.hash=k;this.renderedHash=v}}const getArray=k=>Array.from(k);const getModuleRuntimes=k=>{const v=new je;for(const E of k){v.add(E.runtime)}return v};const modulesBySourceType=k=>v=>{const E=new Map;for(const P of v){const v=k&&k.get(P)||P.getSourceTypes();for(const k of v){let v=E.get(k);if(v===undefined){v=new q;E.set(k,v)}v.add(P)}}for(const[k,P]of E){if(P.size===v.size){E.set(k,v)}}return E};const We=modulesBySourceType(undefined);const Qe=new WeakMap;const createOrderedArrayFunction=k=>{let v=Qe.get(k);if(v!==undefined)return v;v=v=>{v.sortWith(k);return Array.from(v)};Qe.set(k,v);return v};const getModulesSize=k=>{let v=0;for(const E of k){for(const k of E.getSourceTypes()){v+=E.size(k)}}return v};const getModulesSizes=k=>{let v=Object.create(null);for(const E of k){for(const k of E.getSourceTypes()){v[k]=(v[k]||0)+E.size(k)}}return v};const isAvailableChunk=(k,v)=>{const E=new Set(v.groupsIterable);for(const v of E){if(k.isInGroup(v))continue;if(v.isInitial())return false;for(const k of v.parentsIterable){E.add(k)}}return true};class ChunkGraphModule{constructor(){this.chunks=new q;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new q;this.sourceTypesByModule=undefined;this.entryModules=new Map;this.runtimeModules=new q;this.fullHashModules=undefined;this.dependentHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set;this._modulesBySourceType=We}}class ChunkGraph{constructor(k,v="md4"){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=k;this._hashFunction=v;this._getGraphRoots=this._getGraphRoots.bind(this)}_getChunkGraphModule(k){let v=this._modules.get(k);if(v===undefined){v=new ChunkGraphModule;this._modules.set(k,v)}return v}_getChunkGraphChunk(k){let v=this._chunks.get(k);if(v===undefined){v=new ChunkGraphChunk;this._chunks.set(k,v)}return v}_getGraphRoots(k){const{moduleGraph:v}=this;return Array.from(Me(k,(k=>{const E=new Set;const addDependencies=k=>{for(const P of v.getOutgoingConnections(k)){if(!P.module)continue;const k=P.getActiveState(undefined);if(k===false)continue;if(k===L.TRANSITIVE_ONLY){addDependencies(P.module);continue}E.add(P.module)}};addDependencies(k);return E}))).sort(pe)}connectChunkAndModule(k,v){const E=this._getChunkGraphModule(v);const P=this._getChunkGraphChunk(k);E.chunks.add(k);P.modules.add(v)}disconnectChunkAndModule(k,v){const E=this._getChunkGraphModule(v);const P=this._getChunkGraphChunk(k);P.modules.delete(v);if(P.sourceTypesByModule)P.sourceTypesByModule.delete(v);E.chunks.delete(k)}disconnectChunk(k){const v=this._getChunkGraphChunk(k);for(const E of v.modules){const v=this._getChunkGraphModule(E);v.chunks.delete(k)}v.modules.clear();k.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(k)}attachModules(k,v){const E=this._getChunkGraphChunk(k);for(const k of v){E.modules.add(k)}}attachRuntimeModules(k,v){const E=this._getChunkGraphChunk(k);for(const k of v){E.runtimeModules.add(k)}}attachFullHashModules(k,v){const E=this._getChunkGraphChunk(k);if(E.fullHashModules===undefined)E.fullHashModules=new Set;for(const k of v){E.fullHashModules.add(k)}}attachDependentHashModules(k,v){const E=this._getChunkGraphChunk(k);if(E.dependentHashModules===undefined)E.dependentHashModules=new Set;for(const k of v){E.dependentHashModules.add(k)}}replaceModule(k,v){const E=this._getChunkGraphModule(k);const P=this._getChunkGraphModule(v);for(const R of E.chunks){const E=this._getChunkGraphChunk(R);E.modules.delete(k);E.modules.add(v);P.chunks.add(R)}E.chunks.clear();if(E.entryInChunks!==undefined){if(P.entryInChunks===undefined){P.entryInChunks=new Set}for(const R of E.entryInChunks){const E=this._getChunkGraphChunk(R);const L=E.entryModules.get(k);const N=new Map;for(const[P,R]of E.entryModules){if(P===k){N.set(v,L)}else{N.set(P,R)}}E.entryModules=N;P.entryInChunks.add(R)}E.entryInChunks=undefined}if(E.runtimeInChunks!==undefined){if(P.runtimeInChunks===undefined){P.runtimeInChunks=new Set}for(const R of E.runtimeInChunks){const E=this._getChunkGraphChunk(R);E.runtimeModules.delete(k);E.runtimeModules.add(v);P.runtimeInChunks.add(R);if(E.fullHashModules!==undefined&&E.fullHashModules.has(k)){E.fullHashModules.delete(k);E.fullHashModules.add(v)}if(E.dependentHashModules!==undefined&&E.dependentHashModules.has(k)){E.dependentHashModules.delete(k);E.dependentHashModules.add(v)}}E.runtimeInChunks=undefined}}isModuleInChunk(k,v){const E=this._getChunkGraphChunk(v);return E.modules.has(k)}isModuleInChunkGroup(k,v){for(const E of v.chunks){if(this.isModuleInChunk(k,E))return true}return false}isEntryModule(k){const v=this._getChunkGraphModule(k);return v.entryInChunks!==undefined}getModuleChunksIterable(k){const v=this._getChunkGraphModule(k);return v.chunks}getOrderedModuleChunksIterable(k,v){const E=this._getChunkGraphModule(k);E.chunks.sortWith(v);return E.chunks}getModuleChunks(k){const v=this._getChunkGraphModule(k);return v.chunks.getFromCache(getArray)}getNumberOfModuleChunks(k){const v=this._getChunkGraphModule(k);return v.chunks.size}getModuleRuntimes(k){const v=this._getChunkGraphModule(k);return v.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(k){const v=this._getChunkGraphChunk(k);return v.modules.size}getNumberOfChunkFullHashModules(k){const v=this._getChunkGraphChunk(k);return v.fullHashModules===undefined?0:v.fullHashModules.size}getChunkModulesIterable(k){const v=this._getChunkGraphChunk(k);return v.modules}getChunkModulesIterableBySourceType(k,v){const E=this._getChunkGraphChunk(k);const P=E.modules.getFromUnorderedCache(E._modulesBySourceType).get(v);return P}setChunkModuleSourceTypes(k,v,E){const P=this._getChunkGraphChunk(k);if(P.sourceTypesByModule===undefined){P.sourceTypesByModule=new WeakMap}P.sourceTypesByModule.set(v,E);P._modulesBySourceType=modulesBySourceType(P.sourceTypesByModule)}getChunkModuleSourceTypes(k,v){const E=this._getChunkGraphChunk(k);if(E.sourceTypesByModule===undefined){return v.getSourceTypes()}return E.sourceTypesByModule.get(v)||v.getSourceTypes()}getModuleSourceTypes(k){return this._getOverwrittenModuleSourceTypes(k)||k.getSourceTypes()}_getOverwrittenModuleSourceTypes(k){let v=false;let E;for(const P of this.getModuleChunksIterable(k)){const R=this._getChunkGraphChunk(P);if(R.sourceTypesByModule===undefined)return;const L=R.sourceTypesByModule.get(k);if(L===undefined)return;if(!E){E=L;continue}else if(!v){for(const k of L){if(!v){if(!E.has(k)){v=true;E=new Set(E);E.add(k)}}else{E.add(k)}}}else{for(const k of L)E.add(k)}}return E}getOrderedChunkModulesIterable(k,v){const E=this._getChunkGraphChunk(k);E.modules.sortWith(v);return E.modules}getOrderedChunkModulesIterableBySourceType(k,v,E){const P=this._getChunkGraphChunk(k);const R=P.modules.getFromUnorderedCache(P._modulesBySourceType).get(v);if(R===undefined)return undefined;R.sortWith(E);return R}getChunkModules(k){const v=this._getChunkGraphChunk(k);return v.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(k,v){const E=this._getChunkGraphChunk(k);const P=createOrderedArrayFunction(v);return E.modules.getFromUnorderedCache(P)}getChunkModuleIdMap(k,v,E=false){const P=Object.create(null);for(const R of E?k.getAllReferencedChunks():k.getAllAsyncChunks()){let k;for(const E of this.getOrderedChunkModulesIterable(R,ae(this))){if(v(E)){if(k===undefined){k=[];P[R.id]=k}const v=this.getModuleId(E);k.push(v)}}}return P}getChunkModuleRenderedHashMap(k,v,E=0,P=false){const R=Object.create(null);for(const L of P?k.getAllReferencedChunks():k.getAllAsyncChunks()){let k;for(const P of this.getOrderedChunkModulesIterable(L,ae(this))){if(v(P)){if(k===undefined){k=Object.create(null);R[L.id]=k}const v=this.getModuleId(P);const N=this.getRenderedModuleHash(P,L.runtime);k[v]=E?N.slice(0,E):N}}}return R}getChunkConditionMap(k,v){const E=Object.create(null);for(const P of k.getAllReferencedChunks()){E[P.id]=v(P,this)}return E}hasModuleInGraph(k,v,E){const P=new Set(k.groupsIterable);const R=new Set;for(const k of P){for(const P of k.chunks){if(!R.has(P)){R.add(P);if(!E||E(P,this)){for(const k of this.getChunkModulesIterable(P)){if(v(k)){return true}}}}}for(const v of k.childrenIterable){P.add(v)}}return false}compareChunks(k,v){const E=this._getChunkGraphChunk(k);const P=this._getChunkGraphChunk(v);if(E.modules.size>P.modules.size)return-1;if(E.modules.size0||this.getNumberOfEntryModules(v)>0){return false}return true}integrateChunks(k,v){if(k.name&&v.name){if(this.getNumberOfEntryModules(k)>0===this.getNumberOfEntryModules(v)>0){if(k.name.length!==v.name.length){k.name=k.name.length0){k.name=v.name}}else if(v.name){k.name=v.name}for(const E of v.idNameHints){k.idNameHints.add(E)}k.runtime=Be(k.runtime,v.runtime);for(const E of this.getChunkModules(v)){this.disconnectChunkAndModule(v,E);this.connectChunkAndModule(k,E)}for(const[E,P]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(v))){this.disconnectChunkAndEntryModule(v,E);this.connectChunkAndEntryModule(k,E,P)}for(const E of v.groupsIterable){E.replaceChunk(v,k);k.addGroup(E);v.removeGroup(E)}ChunkGraph.clearChunkGraphForChunk(v)}upgradeDependentToFullHashModules(k){const v=this._getChunkGraphChunk(k);if(v.dependentHashModules===undefined)return;if(v.fullHashModules===undefined){v.fullHashModules=v.dependentHashModules}else{for(const k of v.dependentHashModules){v.fullHashModules.add(k)}v.dependentHashModules=undefined}}isEntryModuleInChunk(k,v){const E=this._getChunkGraphChunk(v);return E.entryModules.has(k)}connectChunkAndEntryModule(k,v,E){const P=this._getChunkGraphModule(v);const R=this._getChunkGraphChunk(k);if(P.entryInChunks===undefined){P.entryInChunks=new Set}P.entryInChunks.add(k);R.entryModules.set(v,E)}connectChunkAndRuntimeModule(k,v){const E=this._getChunkGraphModule(v);const P=this._getChunkGraphChunk(k);if(E.runtimeInChunks===undefined){E.runtimeInChunks=new Set}E.runtimeInChunks.add(k);P.runtimeModules.add(v)}addFullHashModuleToChunk(k,v){const E=this._getChunkGraphChunk(k);if(E.fullHashModules===undefined)E.fullHashModules=new Set;E.fullHashModules.add(v)}addDependentHashModuleToChunk(k,v){const E=this._getChunkGraphChunk(k);if(E.dependentHashModules===undefined)E.dependentHashModules=new Set;E.dependentHashModules.add(v)}disconnectChunkAndEntryModule(k,v){const E=this._getChunkGraphModule(v);const P=this._getChunkGraphChunk(k);E.entryInChunks.delete(k);if(E.entryInChunks.size===0){E.entryInChunks=undefined}P.entryModules.delete(v)}disconnectChunkAndRuntimeModule(k,v){const E=this._getChunkGraphModule(v);const P=this._getChunkGraphChunk(k);E.runtimeInChunks.delete(k);if(E.runtimeInChunks.size===0){E.runtimeInChunks=undefined}P.runtimeModules.delete(v)}disconnectEntryModule(k){const v=this._getChunkGraphModule(k);for(const E of v.entryInChunks){const v=this._getChunkGraphChunk(E);v.entryModules.delete(k)}v.entryInChunks=undefined}disconnectEntries(k){const v=this._getChunkGraphChunk(k);for(const E of v.entryModules.keys()){const v=this._getChunkGraphModule(E);v.entryInChunks.delete(k);if(v.entryInChunks.size===0){v.entryInChunks=undefined}}v.entryModules.clear()}getNumberOfEntryModules(k){const v=this._getChunkGraphChunk(k);return v.entryModules.size}getNumberOfRuntimeModules(k){const v=this._getChunkGraphChunk(k);return v.runtimeModules.size}getChunkEntryModulesIterable(k){const v=this._getChunkGraphChunk(k);return v.entryModules.keys()}getChunkEntryDependentChunksIterable(k){const v=new Set;for(const E of k.groupsIterable){if(E instanceof R){const P=E.getEntrypointChunk();const R=this._getChunkGraphChunk(P);for(const E of R.entryModules.values()){for(const R of E.chunks){if(R!==k&&R!==P&&!R.hasRuntime()){v.add(R)}}}}}return v}hasChunkEntryDependentChunks(k){const v=this._getChunkGraphChunk(k);for(const E of v.entryModules.values()){for(const v of E.chunks){if(v!==k){return true}}}return false}getChunkRuntimeModulesIterable(k){const v=this._getChunkGraphChunk(k);return v.runtimeModules}getChunkRuntimeModulesInOrder(k){const v=this._getChunkGraphChunk(k);const E=Array.from(v.runtimeModules);E.sort(me(ye((k=>k.stage),_e),pe));return E}getChunkFullHashModulesIterable(k){const v=this._getChunkGraphChunk(k);return v.fullHashModules}getChunkFullHashModulesSet(k){const v=this._getChunkGraphChunk(k);return v.fullHashModules}getChunkDependentHashModulesIterable(k){const v=this._getChunkGraphChunk(k);return v.dependentHashModules}getChunkEntryModulesWithChunkGroupIterable(k){const v=this._getChunkGraphChunk(k);return v.entryModules}getBlockChunkGroup(k){return this._blockChunkGroups.get(k)}connectBlockAndChunkGroup(k,v){this._blockChunkGroups.set(k,v);v.addBlock(k)}disconnectChunkGroup(k){for(const v of k.blocksIterable){this._blockChunkGroups.delete(v)}k._blocks.clear()}getModuleId(k){const v=this._getChunkGraphModule(k);return v.id}setModuleId(k,v){const E=this._getChunkGraphModule(k);E.id=v}getRuntimeId(k){return this._runtimeIds.get(k)}setRuntimeId(k,v){this._runtimeIds.set(k,v)}_getModuleHashInfo(k,v,E){if(!v){throw new Error(`Module ${k.identifier()} has no hash info for runtime ${Ne(E)} (hashes not set at all)`)}else if(E===undefined){const E=new Set(v.values());if(E.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${k.identifier()} (existing runtimes: ${Array.from(v.keys(),(k=>Ne(k))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return N(E)}else{const P=v.get(E);if(!P){throw new Error(`Module ${k.identifier()} has no hash info for runtime ${Ne(E)} (available runtimes ${Array.from(v.keys(),Ne).join(", ")})`)}return P}}hasModuleHashes(k,v){const E=this._getChunkGraphModule(k);const P=E.hashes;return P&&P.has(v)}getModuleHash(k,v){const E=this._getChunkGraphModule(k);const P=E.hashes;return this._getModuleHashInfo(k,P,v).hash}getRenderedModuleHash(k,v){const E=this._getChunkGraphModule(k);const P=E.hashes;return this._getModuleHashInfo(k,P,v).renderedHash}setModuleHashes(k,v,E,P){const R=this._getChunkGraphModule(k);if(R.hashes===undefined){R.hashes=new Te}R.hashes.set(v,new ModuleHashInfo(E,P))}addModuleRuntimeRequirements(k,v,E,P=true){const R=this._getChunkGraphModule(k);const L=R.runtimeRequirements;if(L===undefined){const k=new Te;k.set(v,P?E:new Set(E));R.runtimeRequirements=k;return}L.update(v,(k=>{if(k===undefined){return P?E:new Set(E)}else if(!P||k.size>=E.size){for(const v of E)k.add(v);return k}else{for(const v of k)E.add(v);return E}}))}addChunkRuntimeRequirements(k,v){const E=this._getChunkGraphChunk(k);const P=E.runtimeRequirements;if(P===undefined){E.runtimeRequirements=v}else if(P.size>=v.size){for(const k of v)P.add(k)}else{for(const k of P)v.add(k);E.runtimeRequirements=v}}addTreeRuntimeRequirements(k,v){const E=this._getChunkGraphChunk(k);const P=E.runtimeRequirementsInTree;for(const k of v)P.add(k)}getModuleRuntimeRequirements(k,v){const E=this._getChunkGraphModule(k);const P=E.runtimeRequirements&&E.runtimeRequirements.get(v);return P===undefined?Ue:P}getChunkRuntimeRequirements(k){const v=this._getChunkGraphChunk(k);const E=v.runtimeRequirements;return E===undefined?Ue:E}getModuleGraphHash(k,v,E=true){const P=this._getChunkGraphModule(k);return E?this._getModuleGraphHashWithConnections(P,k,v):this._getModuleGraphHashBigInt(P,k,v).toString(16)}getModuleGraphHashBigInt(k,v,E=true){const P=this._getChunkGraphModule(k);return E?BigInt(`0x${this._getModuleGraphHashWithConnections(P,k,v)}`):this._getModuleGraphHashBigInt(P,k,v)}_getModuleGraphHashBigInt(k,v,E){if(k.graphHashes===undefined){k.graphHashes=new Te}const P=k.graphHashes.provide(E,(()=>{const P=Ie(this._hashFunction);P.update(`${k.id}${this.moduleGraph.isAsync(v)}`);const R=this._getOverwrittenModuleSourceTypes(v);if(R!==undefined){for(const k of R)P.update(k)}this.moduleGraph.getExportsInfo(v).updateHash(P,E);return BigInt(`0x${P.digest("hex")}`)}));return P}_getModuleGraphHashWithConnections(k,v,E){if(k.graphHashesWithConnections===undefined){k.graphHashesWithConnections=new Te}const activeStateToString=k=>{if(k===false)return"F";if(k===true)return"T";if(k===L.TRANSITIVE_ONLY)return"O";throw new Error("Not implemented active state")};const P=v.buildMeta&&v.buildMeta.strictHarmonyModule;return k.graphHashesWithConnections.provide(E,(()=>{const R=this._getModuleGraphHashBigInt(k,v,E).toString(16);const L=this.moduleGraph.getOutgoingConnections(v);const q=new Set;const ae=new Map;const processConnection=(k,v)=>{const E=k.module;v+=E.getExportsType(this.moduleGraph,P);if(v==="Tnamespace")q.add(E);else{const k=ae.get(v);if(k===undefined){ae.set(v,E)}else if(k instanceof Set){k.add(E)}else if(k!==E){ae.set(v,new Set([k,E]))}}};if(E===undefined||typeof E==="string"){for(const k of L){const v=k.getActiveState(E);if(v===false)continue;processConnection(k,v===true?"T":"O")}}else{for(const k of L){const v=new Set;let P="";qe(E,(E=>{const R=k.getActiveState(E);v.add(R);P+=activeStateToString(R)+E}),true);if(v.size===1){const k=N(v);if(k===false)continue;P=activeStateToString(k)}processConnection(k,P)}}if(q.size===0&&ae.size===0)return R;const le=ae.size>1?Array.from(ae).sort((([k],[v])=>k{pe.update(this._getModuleGraphHashBigInt(this._getChunkGraphModule(k),k,E).toString(16))};const addModulesToHash=k=>{let v=Ge;for(const P of k){v=v^this._getModuleGraphHashBigInt(this._getChunkGraphModule(P),P,E)}pe.update(v.toString(16))};if(q.size===1)addModuleToHash(q.values().next().value);else if(q.size>1)addModulesToHash(q);for(const[k,v]of le){pe.update(k);if(v instanceof Set){addModulesToHash(v)}else{addModuleToHash(v)}}pe.update(R);return pe.digest("hex")}))}getTreeRuntimeRequirements(k){const v=this._getChunkGraphChunk(k);return v.runtimeRequirementsInTree}static getChunkGraphForModule(k,v,E){const R=Ke.get(v);if(R)return R(k);const L=P.deprecate((k=>{const E=Je.get(k);if(!E)throw new Error(v+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return E}),v+": Use new ChunkGraph API",E);Ke.set(v,L);return L(k)}static setChunkGraphForModule(k,v){Je.set(k,v)}static clearChunkGraphForModule(k){Je.delete(k)}static getChunkGraphForChunk(k,v,E){const R=Ye.get(v);if(R)return R(k);const L=P.deprecate((k=>{const E=Ve.get(k);if(!E)throw new Error(v+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return E}),v+": Use new ChunkGraph API",E);Ye.set(v,L);return L(k)}static setChunkGraphForChunk(k,v){Ve.set(k,v)}static clearChunkGraphForChunk(k){Ve.delete(k)}}const Je=new WeakMap;const Ve=new WeakMap;const Ke=new Map;const Ye=new Map;k.exports=ChunkGraph},28541:function(k,v,E){"use strict";const P=E(73837);const R=E(46081);const{compareLocations:L,compareChunks:N,compareIterables:q}=E(95648);let ae=5e3;const getArray=k=>Array.from(k);const sortById=(k,v)=>{if(k.id{const E=k.module?k.module.identifier():"";const P=v.module?v.module.identifier():"";if(EP)return 1;return L(k.loc,v.loc)};class ChunkGroup{constructor(k){if(typeof k==="string"){k={name:k}}else if(!k){k={name:undefined}}this.groupDebugId=ae++;this.options=k;this._children=new R(undefined,sortById);this._parents=new R(undefined,sortById);this._asyncEntrypoints=new R(undefined,sortById);this._blocks=new R;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(k){for(const v of Object.keys(k)){if(this.options[v]===undefined){this.options[v]=k[v]}else if(this.options[v]!==k[v]){if(v.endsWith("Order")){this.options[v]=Math.max(this.options[v],k[v])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${v}`)}}}}get name(){return this.options.name}set name(k){this.options.name=k}get debugId(){return Array.from(this.chunks,(k=>k.debugId)).join("+")}get id(){return Array.from(this.chunks,(k=>k.id)).join("+")}unshiftChunk(k){const v=this.chunks.indexOf(k);if(v>0){this.chunks.splice(v,1);this.chunks.unshift(k)}else if(v<0){this.chunks.unshift(k);return true}return false}insertChunk(k,v){const E=this.chunks.indexOf(k);const P=this.chunks.indexOf(v);if(P<0){throw new Error("before chunk not found")}if(E>=0&&E>P){this.chunks.splice(E,1);this.chunks.splice(P,0,k)}else if(E<0){this.chunks.splice(P,0,k);return true}return false}pushChunk(k){const v=this.chunks.indexOf(k);if(v>=0){return false}this.chunks.push(k);return true}replaceChunk(k,v){const E=this.chunks.indexOf(k);if(E<0)return false;const P=this.chunks.indexOf(v);if(P<0){this.chunks[E]=v;return true}if(P=0){this.chunks.splice(v,1);return true}return false}isInitial(){return false}addChild(k){const v=this._children.size;this._children.add(k);return v!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(k){if(!this._children.has(k)){return false}this._children.delete(k);k.removeParent(this);return true}addParent(k){if(!this._parents.has(k)){this._parents.add(k);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(k){return this._parents.has(k)}get parentsIterable(){return this._parents}removeParent(k){if(this._parents.delete(k)){k.removeChild(this);return true}return false}addAsyncEntrypoint(k){const v=this._asyncEntrypoints.size;this._asyncEntrypoints.add(k);return v!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(k){return this._blocks.has(k)}get blocksIterable(){return this._blocks}addBlock(k){if(!this._blocks.has(k)){this._blocks.add(k);return true}return false}addOrigin(k,v,E){this.origins.push({module:k,loc:v,request:E})}getFiles(){const k=new Set;for(const v of this.chunks){for(const E of v.files){k.add(E)}}return Array.from(k)}remove(){for(const k of this._parents){k._children.delete(this);for(const v of this._children){v.addParent(k);k.addChild(v)}}for(const k of this._children){k._parents.delete(this)}for(const k of this.chunks){k.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(k,v){if(this.chunks.length>v.chunks.length)return-1;if(this.chunks.length{const P=E.order-k.order;if(P!==0)return P;return k.group.compareTo(v,E.group)}));P[k]=R.map((k=>k.group))}return P}setModulePreOrderIndex(k,v){this._modulePreOrderIndices.set(k,v)}getModulePreOrderIndex(k){return this._modulePreOrderIndices.get(k)}setModulePostOrderIndex(k,v){this._modulePostOrderIndices.set(k,v)}getModulePostOrderIndex(k){return this._modulePostOrderIndices.get(k)}checkConstraints(){const k=this;for(const v of k._children){if(!v._parents.has(k)){throw new Error(`checkConstraints: child missing parent ${k.debugId} -> ${v.debugId}`)}}for(const v of k._parents){if(!v._children.has(k)){throw new Error(`checkConstraints: parent missing child ${v.debugId} <- ${k.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=P.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=P.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");k.exports=ChunkGroup},76496:function(k,v,E){"use strict";const P=E(71572);class ChunkRenderError extends P{constructor(k,v,E){super();this.name="ChunkRenderError";this.error=E;this.message=E.message;this.details=E.stack;this.file=v;this.chunk=k}}k.exports=ChunkRenderError},97095:function(k,v,E){"use strict";const P=E(73837);const R=E(20631);const L=R((()=>E(89168)));class ChunkTemplate{constructor(k,v){this._outputOptions=k||{};this.hooks=Object.freeze({renderManifest:{tap:P.deprecate(((k,E)=>{v.hooks.renderManifest.tap(k,((k,v)=>{if(v.chunk.hasRuntime())return k;return E(k,v)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).renderChunk.tap(k,((k,P)=>E(k,v.moduleTemplates.javascript,P)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).renderChunk.tap(k,((k,P)=>E(k,v.moduleTemplates.javascript,P)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).render.tap(k,((k,v)=>{if(v.chunkGraph.getNumberOfEntryModules(v.chunk)===0||v.chunk.hasRuntime()){return k}return E(k,v.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:P.deprecate(((k,E)=>{v.hooks.fullHash.tap(k,E)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).chunkHash.tap(k,((k,v,P)=>{if(k.hasRuntime())return;E(v,k,P)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:P.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});k.exports=ChunkTemplate},69155:function(k,v,E){"use strict";const P=E(78175);const{SyncBailHook:R}=E(79846);const L=E(27747);const N=E(92198);const{join:q}=E(57825);const ae=E(38254);const le=N(undefined,(()=>{const{definitions:k}=E(98625);return{definitions:k,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}),{name:"Clean Plugin",baseDataPath:"options"});const pe=10*1e3;const mergeAssets=(k,v)=>{for(const[E,P]of v){const v=k.get(E);if(!v||P>v)k.set(E,P)}};const getDiffToFs=(k,v,E,R)=>{const L=new Set;for(const[k]of E){L.add(k.replace(/(^|\/)[^/]*$/,""))}for(const k of L){L.add(k.replace(/(^|\/)[^/]*$/,""))}const N=new Set;P.forEachLimit(L,10,((P,R)=>{k.readdir(q(k,v,P),((k,v)=>{if(k){if(k.code==="ENOENT")return R();if(k.code==="ENOTDIR"){N.add(P);return R()}return R(k)}for(const k of v){const v=k;const R=P?`${P}/${v}`:v;if(!L.has(R)&&!E.has(R)){N.add(R)}}R()}))}),(k=>{if(k)return R(k);R(null,N)}))};const getDiffToOldAssets=(k,v)=>{const E=new Set;const P=Date.now();for(const[R,L]of v){if(L>=P)continue;if(!k.has(R))E.add(R)}return E};const doStat=(k,v,E)=>{if("lstat"in k){k.lstat(v,E)}else{k.stat(v,E)}};const applyDiff=(k,v,E,P,R,L,N)=>{const log=k=>{if(E){P.info(k)}else{P.log(k)}};const le=Array.from(R.keys(),(k=>({type:"check",filename:k,parent:undefined})));const pe=new Map;ae(le,10,(({type:R,filename:N,parent:ae},le,me)=>{const handleError=k=>{if(k.code==="ENOENT"){log(`${N} was removed during cleaning by something else`);handleParent();return me()}return me(k)};const handleParent=()=>{if(ae&&--ae.remaining===0)le(ae.job)};const ye=q(k,v,N);switch(R){case"check":if(L(N)){pe.set(N,0);log(`${N} will be kept`);return process.nextTick(me)}doStat(k,ye,((v,E)=>{if(v)return handleError(v);if(!E.isDirectory()){le({type:"unlink",filename:N,parent:ae});return me()}k.readdir(ye,((k,v)=>{if(k)return handleError(k);const E={type:"rmdir",filename:N,parent:ae};if(v.length===0){le(E)}else{const k={remaining:v.length,job:E};for(const E of v){const v=E;if(v.startsWith(".")){log(`${N} will be kept (dot-files will never be removed)`);continue}le({type:"check",filename:`${N}/${v}`,parent:k})}}return me()}))}));break;case"rmdir":log(`${N} will be removed`);if(E){handleParent();return process.nextTick(me)}if(!k.rmdir){P.warn(`${N} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(me)}k.rmdir(ye,(k=>{if(k)return handleError(k);handleParent();me()}));break;case"unlink":log(`${N} will be removed`);if(E){handleParent();return process.nextTick(me)}if(!k.unlink){P.warn(`${N} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(me)}k.unlink(ye,(k=>{if(k)return handleError(k);handleParent();me()}));break}}),(k=>{if(k)return N(k);N(undefined,pe)}))};const me=new WeakMap;class CleanPlugin{static getCompilationHooks(k){if(!(k instanceof L)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=me.get(k);if(v===undefined){v={keep:new R(["ignore"])};me.set(k,v)}return v}constructor(k={}){le(k);this.options={dry:false,...k}}apply(k){const{dry:v,keep:E}=this.options;const P=typeof E==="function"?E:typeof E==="string"?k=>k.startsWith(E):typeof E==="object"&&E.test?k=>E.test(k):()=>false;let R;k.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((E,L)=>{const N=CleanPlugin.getCompilationHooks(E);const q=E.getLogger("webpack.CleanPlugin");const ae=k.outputFileSystem;if(!ae.readdir){return L(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const le=new Map;const me=Date.now();for(const k of Object.keys(E.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(k))continue;let v;let P=k.replace(/\\/g,"/");do{v=P;P=v.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while(P!==v);if(v.startsWith("../"))continue;const R=E.assetsInfo.get(k);if(R&&R.hotModuleReplacement){le.set(v,me+pe)}else{le.set(v,0)}}const ye=E.getPath(k.outputPath,{});const isKept=k=>{const v=N.keep.call(k);if(v!==undefined)return v;return P(k)};const diffCallback=(k,E)=>{if(k){R=undefined;L(k);return}applyDiff(ae,ye,v,q,E,isKept,((k,v)=>{if(k){R=undefined}else{if(R)mergeAssets(le,R);R=le;if(v)mergeAssets(R,v)}L(k)}))};if(R){diffCallback(null,getDiffToOldAssets(le,R))}else{getDiffToFs(ae,ye,le,diffCallback)}}))}}k.exports=CleanPlugin},42179:function(k,v,E){"use strict";const P=E(71572);class CodeGenerationError extends P{constructor(k,v){super();this.name="CodeGenerationError";this.error=v;this.message=v.message;this.details=v.stack;this.module=k}}k.exports=CodeGenerationError},12021:function(k,v,E){"use strict";const{getOrInsert:P}=E(47978);const{first:R}=E(59959);const L=E(74012);const{runtimeToString:N,RuntimeSpecMap:q}=E(1540);class CodeGenerationResults{constructor(k="md4"){this.map=new Map;this._hashFunction=k}get(k,v){const E=this.map.get(k);if(E===undefined){throw new Error(`No code generation entry for ${k.identifier()} (existing entries: ${Array.from(this.map.keys(),(k=>k.identifier())).join(", ")})`)}if(v===undefined){if(E.size>1){const v=new Set(E.values());if(v.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${k.identifier()} (existing runtimes: ${Array.from(E.keys(),(k=>N(k))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return R(v)}return E.values().next().value}const P=E.get(v);if(P===undefined){throw new Error(`No code generation entry for runtime ${N(v)} for ${k.identifier()} (existing runtimes: ${Array.from(E.keys(),(k=>N(k))).join(", ")})`)}return P}has(k,v){const E=this.map.get(k);if(E===undefined){return false}if(v!==undefined){return E.has(v)}else if(E.size>1){const k=new Set(E.values());return k.size===1}else{return E.size===1}}getSource(k,v,E){return this.get(k,v).sources.get(E)}getRuntimeRequirements(k,v){return this.get(k,v).runtimeRequirements}getData(k,v,E){const P=this.get(k,v).data;return P===undefined?undefined:P.get(E)}getHash(k,v){const E=this.get(k,v);if(E.hash!==undefined)return E.hash;const P=L(this._hashFunction);for(const[k,v]of E.sources){P.update(k);v.updateHash(P)}if(E.runtimeRequirements){for(const k of E.runtimeRequirements)P.update(k)}return E.hash=P.digest("hex")}add(k,v,E){const R=P(this.map,k,(()=>new q));R.set(v,E)}}k.exports=CodeGenerationResults},68160:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class CommentCompilationWarning extends P{constructor(k,v){super(k);this.name="CommentCompilationWarning";this.loc=v}}R(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");k.exports=CommentCompilationWarning},8305:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(56727);const q=E(60381);const ae=Symbol("nested webpack identifier");const le="CompatibilityPlugin";class CompatibilityPlugin{apply(k){k.hooks.compilation.tap(le,((k,{normalModuleFactory:v})=>{k.dependencyTemplates.set(q,new q.Template);v.hooks.parser.for(P).tap(le,((k,v)=>{if(v.browserify!==undefined&&!v.browserify)return;k.hooks.call.for("require").tap(le,(v=>{if(v.arguments.length!==2)return;const E=k.evaluateExpression(v.arguments[1]);if(!E.isBoolean())return;if(E.asBool()!==true)return;const P=new q("require",v.callee.range);P.loc=v.loc;if(k.state.current.dependencies.length>0){const v=k.state.current.dependencies[k.state.current.dependencies.length-1];if(v.critical&&v.options&&v.options.request==="."&&v.userRequest==="."&&v.options.recursive)k.state.current.dependencies.pop()}k.state.module.addPresentationalDependency(P);return true}))}));const handler=k=>{k.hooks.preStatement.tap(le,(v=>{if(v.type==="FunctionDeclaration"&&v.id&&v.id.name===N.require){const E=`__nested_webpack_require_${v.range[0]}__`;k.tagVariable(v.id.name,ae,{name:E,declaration:{updated:false,loc:v.id.loc,range:v.id.range}});return true}}));k.hooks.pattern.for(N.require).tap(le,(v=>{const E=`__nested_webpack_require_${v.range[0]}__`;k.tagVariable(v.name,ae,{name:E,declaration:{updated:false,loc:v.loc,range:v.range}});return true}));k.hooks.pattern.for(N.exports).tap(le,(v=>{k.tagVariable(v.name,ae,{name:"__nested_webpack_exports__",declaration:{updated:false,loc:v.loc,range:v.range}});return true}));k.hooks.expression.for(ae).tap(le,(v=>{const{name:E,declaration:P}=k.currentTagData;if(!P.updated){const v=new q(E,P.range);v.loc=P.loc;k.state.module.addPresentationalDependency(v);P.updated=true}const R=new q(E,v.range);R.loc=v.loc;k.state.module.addPresentationalDependency(R);return true}));k.hooks.program.tap(le,((v,E)=>{if(E.length===0)return;const P=E[0];if(P.type==="Line"&&P.range[0]===0){if(k.state.source.slice(0,2).toString()!=="#!")return;const v=new q("//",0);v.loc=P.loc;k.state.module.addPresentationalDependency(v)}}))};v.hooks.parser.for(P).tap(le,handler);v.hooks.parser.for(R).tap(le,handler);v.hooks.parser.for(L).tap(le,handler)}))}}k.exports=CompatibilityPlugin},27747:function(k,v,E){"use strict";const P=E(78175);const{HookMap:R,SyncHook:L,SyncBailHook:N,SyncWaterfallHook:q,AsyncSeriesHook:ae,AsyncSeriesBailHook:le,AsyncParallelHook:pe}=E(79846);const me=E(73837);const{CachedSource:ye}=E(51255);const{MultiItemCache:_e}=E(90580);const Ie=E(8247);const Me=E(38317);const Te=E(28541);const je=E(76496);const Ne=E(97095);const Be=E(42179);const qe=E(12021);const Ue=E(16848);const Ge=E(3175);const He=E(10969);const We=E(53657);const Qe=E(18144);const{connectChunkGroupAndChunk:Je,connectChunkGroupParentAndChild:Ve}=E(18467);const{makeWebpackError:Ke,tryRunOrWebpackError:Ye}=E(82104);const Xe=E(98954);const Ze=E(88396);const et=E(36428);const tt=E(84018);const nt=E(88223);const st=E(83139);const rt=E(69734);const ot=E(52200);const it=E(48575);const at=E(57177);const ct=E(3304);const{WEBPACK_MODULE_TYPE_RUNTIME:lt}=E(93622);const ut=E(56727);const pt=E(89240);const dt=E(26288);const ft=E(71572);const ht=E(82551);const mt=E(10408);const{Logger:gt,LogType:yt}=E(13905);const bt=E(12231);const xt=E(54052);const{equals:kt}=E(68863);const vt=E(89262);const wt=E(12359);const{getOrInsert:At}=E(47978);const Et=E(69752);const{cachedCleverMerge:Ct}=E(99454);const{compareLocations:St,concatComparators:_t,compareSelect:It,compareIds:Mt,compareStringsNumeric:Pt,compareModulesByIdentifier:Ot}=E(95648);const Dt=E(74012);const{arrayToSetDeprecation:Rt,soonFrozenObjectDeprecation:Tt,createFakeHook:$t}=E(61883);const Ft=E(38254);const{getRuntimeKey:jt}=E(1540);const{isSourceEqual:Lt}=E(71435);const Nt=Object.freeze({});const Bt="esm";const qt=me.deprecate((k=>E(38224).getCompilationHooks(k).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const defineRemovedModuleTemplates=k=>{Object.defineProperties(k,{asset:{enumerable:false,configurable:false,get:()=>{throw new ft("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get:()=>{throw new ft("Compilation.moduleTemplates.webassembly has been removed")}}});k=undefined};const zt=It((k=>k.id),Mt);const Ut=_t(It((k=>k.name),Mt),It((k=>k.fullHash),Mt));const Gt=It((k=>`${k.message}`),Pt);const Ht=It((k=>k.module&&k.module.identifier()||""),Pt);const Wt=It((k=>k.loc),St);const Qt=_t(Ht,Wt,Gt);const Jt=new WeakMap;const Vt=new WeakMap;class Compilation{constructor(k,v){this._backCompat=k._backCompat;const getNormalModuleLoader=()=>qt(this);const E=new ae(["assets"]);let P=new Set;const popNewAssets=k=>{let v=undefined;for(const E of Object.keys(k)){if(P.has(E))continue;if(v===undefined){v=Object.create(null)}v[E]=k[E];P.add(E)}return v};E.intercept({name:"Compilation",call:()=>{P=new Set(Object.keys(this.assets))},register:k=>{const{type:v,name:E}=k;const{fn:P,additionalAssets:R,...L}=k;const N=R===true?P:R;const q=N?new WeakSet:undefined;switch(v){case"sync":if(N){this.hooks.processAdditionalAssets.tap(E,(k=>{if(q.has(this.assets))N(k)}))}return{...L,type:"async",fn:(k,v)=>{try{P(k)}catch(k){return v(k)}if(q!==undefined)q.add(this.assets);const E=popNewAssets(k);if(E!==undefined){this.hooks.processAdditionalAssets.callAsync(E,v);return}v()}};case"async":if(N){this.hooks.processAdditionalAssets.tapAsync(E,((k,v)=>{if(q.has(this.assets))return N(k,v);v()}))}return{...L,fn:(k,v)=>{P(k,(E=>{if(E)return v(E);if(q!==undefined)q.add(this.assets);const P=popNewAssets(k);if(P!==undefined){this.hooks.processAdditionalAssets.callAsync(P,v);return}v()}))}};case"promise":if(N){this.hooks.processAdditionalAssets.tapPromise(E,(k=>{if(q.has(this.assets))return N(k);return Promise.resolve()}))}return{...L,fn:k=>{const v=P(k);if(!v||!v.then)return v;return v.then((()=>{if(q!==undefined)q.add(this.assets);const v=popNewAssets(k);if(v!==undefined){return this.hooks.processAdditionalAssets.promise(v)}}))}}}}});const ye=new L(["assets"]);const createProcessAssetsHook=(k,v,P,R)=>{if(!this._backCompat&&R)return undefined;const errorMessage=v=>`Can't automatically convert plugin using Compilation.hooks.${k} to Compilation.hooks.processAssets because ${v}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=k=>{if(typeof k==="string")k={name:k};if(k.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...k,stage:v}};return $t({name:k,intercept(k){throw new Error(errorMessage("it's using 'intercept'"))},tap:(k,v)=>{E.tap(getOptions(k),(()=>v(...P())))},tapAsync:(k,v)=>{E.tapAsync(getOptions(k),((k,E)=>v(...P(),E)))},tapPromise:(k,v)=>{E.tapPromise(getOptions(k),(()=>v(...P())))}},`${k} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,R)};this.hooks=Object.freeze({buildModule:new L(["module"]),rebuildModule:new L(["module"]),failedModule:new L(["module","error"]),succeedModule:new L(["module"]),stillValidModule:new L(["module"]),addEntry:new L(["entry","options"]),failedEntry:new L(["entry","options","error"]),succeedEntry:new L(["entry","options","module"]),dependencyReferencedExports:new q(["referencedExports","dependency","runtime"]),executeModule:new L(["options","context"]),prepareModuleExecution:new pe(["options","context"]),finishModules:new ae(["modules"]),finishRebuildingModule:new ae(["module"]),unseal:new L([]),seal:new L([]),beforeChunks:new L([]),afterChunks:new L(["chunks"]),optimizeDependencies:new N(["modules"]),afterOptimizeDependencies:new L(["modules"]),optimize:new L([]),optimizeModules:new N(["modules"]),afterOptimizeModules:new L(["modules"]),optimizeChunks:new N(["chunks","chunkGroups"]),afterOptimizeChunks:new L(["chunks","chunkGroups"]),optimizeTree:new ae(["chunks","modules"]),afterOptimizeTree:new L(["chunks","modules"]),optimizeChunkModules:new le(["chunks","modules"]),afterOptimizeChunkModules:new L(["chunks","modules"]),shouldRecord:new N([]),additionalChunkRuntimeRequirements:new L(["chunk","runtimeRequirements","context"]),runtimeRequirementInChunk:new R((()=>new N(["chunk","runtimeRequirements","context"]))),additionalModuleRuntimeRequirements:new L(["module","runtimeRequirements","context"]),runtimeRequirementInModule:new R((()=>new N(["module","runtimeRequirements","context"]))),additionalTreeRuntimeRequirements:new L(["chunk","runtimeRequirements","context"]),runtimeRequirementInTree:new R((()=>new N(["chunk","runtimeRequirements","context"]))),runtimeModule:new L(["module","chunk"]),reviveModules:new L(["modules","records"]),beforeModuleIds:new L(["modules"]),moduleIds:new L(["modules"]),optimizeModuleIds:new L(["modules"]),afterOptimizeModuleIds:new L(["modules"]),reviveChunks:new L(["chunks","records"]),beforeChunkIds:new L(["chunks"]),chunkIds:new L(["chunks"]),optimizeChunkIds:new L(["chunks"]),afterOptimizeChunkIds:new L(["chunks"]),recordModules:new L(["modules","records"]),recordChunks:new L(["chunks","records"]),optimizeCodeGeneration:new L(["modules"]),beforeModuleHash:new L([]),afterModuleHash:new L([]),beforeCodeGeneration:new L([]),afterCodeGeneration:new L([]),beforeRuntimeRequirements:new L([]),afterRuntimeRequirements:new L([]),beforeHash:new L([]),contentHash:new L(["chunk"]),afterHash:new L([]),recordHash:new L(["records"]),record:new L(["compilation","records"]),beforeModuleAssets:new L([]),shouldGenerateChunkAssets:new N([]),beforeChunkAssets:new L([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:E,afterOptimizeAssets:ye,processAssets:E,afterProcessAssets:ye,processAdditionalAssets:new ae(["assets"]),needAdditionalSeal:new N([]),afterSeal:new ae([]),renderManifest:new q(["result","options"]),fullHash:new L(["hash"]),chunkHash:new L(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new L(["module","filename"]),chunkAsset:new L(["chunk","filename"]),assetPath:new q(["path","options","assetInfo"]),needAdditionalPass:new N([]),childCompiler:new L(["childCompiler","compilerName","compilerIndex"]),log:new N(["origin","logEntry"]),processWarnings:new q(["warnings"]),processErrors:new q(["errors"]),statsPreset:new R((()=>new L(["options","context"]))),statsNormalize:new L(["options","context"]),statsFactory:new L(["statsFactory","options"]),statsPrinter:new L(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=k;this.resolverFactory=k.resolverFactory;this.inputFileSystem=k.inputFileSystem;this.fileSystemInfo=new Qe(this.inputFileSystem,{managedPaths:k.managedPaths,immutablePaths:k.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo"),hashFunction:k.options.output.hashFunction});if(k.fileTimestamps){this.fileSystemInfo.addFileTimestamps(k.fileTimestamps,true)}if(k.contextTimestamps){this.fileSystemInfo.addContextTimestamps(k.contextTimestamps,true)}this.valueCacheVersions=new Map;this.requestShortener=k.requestShortener;this.compilerPath=k.compilerPath;this.logger=this.getLogger("webpack.Compilation");const _e=k.options;this.options=_e;this.outputOptions=_e&&_e.output;this.bail=_e&&_e.bail||false;this.profile=_e&&_e.profile||false;this.params=v;this.mainTemplate=new Xe(this.outputOptions,this);this.chunkTemplate=new Ne(this.outputOptions,this);this.runtimeTemplate=new pt(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new ct(this.runtimeTemplate,this)};defineRemovedModuleTemplates(this.moduleTemplates);this.moduleMemCaches=undefined;this.moduleMemCaches2=undefined;this.moduleGraph=new nt;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new vt({name:"processDependencies",parallelism:_e.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new vt({name:"addModule",parent:this.processDependenciesQueue,getKey:k=>k.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new vt({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new vt({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new vt({name:"rebuild",parallelism:_e.parallelism||100,processor:this._rebuildModule.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;this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;if(this._backCompat){Rt(this.chunks,"Compilation.chunks");Rt(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 Ge(this.outputOptions.hashFunction);this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this._restoredUnsafeCacheModuleEntries=new Set;this._restoredUnsafeCacheEntries=new Map;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this.buildTimeExecutedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new wt;this.contextDependencies=new wt;this.missingDependencies=new wt;this.buildDependencies=new wt;this.compilationDependencies={add:me.deprecate((k=>this.fileDependencies.add(k)),"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");const Ie=_e.module.unsafeCache;this._unsafeCache=!!Ie;this._unsafeCachePredicate=typeof Ie==="function"?Ie:()=>true}getStats(){return new dt(this)}createStatsOptions(k,v={}){if(typeof k==="boolean"||typeof k==="string"){k={preset:k}}if(typeof k==="object"&&k!==null){const E={};for(const v in k){E[v]=k[v]}if(E.preset!==undefined){this.hooks.statsPreset.for(E.preset).call(E,v)}this.hooks.statsNormalize.call(E,v);return E}else{const k={};this.hooks.statsNormalize.call(k,v);return k}}createStatsFactory(k){const v=new bt;this.hooks.statsFactory.call(v,k);return v}createStatsPrinter(k){const v=new xt;this.hooks.statsPrinter.call(v,k);return v}getCache(k){return this.compiler.getCache(k)}getLogger(k){if(!k){throw new TypeError("Compilation.getLogger(name) called without a name")}let v;return new gt(((E,P)=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let R;switch(E){case yt.warn:case yt.error:case yt.trace:R=We.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const L={time:Date.now(),type:E,args:P,trace:R};if(this.hooks.log.call(k,L)===undefined){if(L.type===yt.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${k}] ${L.args[0]}`)}}if(v===undefined){v=this.logging.get(k);if(v===undefined){v=[];this.logging.set(k,v)}}v.push(L);if(L.type===yt.profile){if(typeof console.profile==="function"){console.profile(`[${k}] ${L.args[0]}`)}}}}),(v=>{if(typeof k==="function"){if(typeof v==="function"){return this.getLogger((()=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof v==="function"){v=v();if(!v){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${k}/${v}`}))}else{return this.getLogger((()=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${k}/${v}`}))}}else{if(typeof v==="function"){return this.getLogger((()=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${k}/${v}`}))}else{return this.getLogger(`${k}/${v}`)}}}))}addModule(k,v){this.addModuleQueue.add(k,v)}_addModule(k,v){const E=k.identifier();const P=this._modules.get(E);if(P){return v(null,P)}const R=this.profile?this.moduleGraph.getProfile(k):undefined;if(R!==undefined){R.markRestoringStart()}this._modulesCache.get(E,null,((P,L)=>{if(P)return v(new it(k,P));if(R!==undefined){R.markRestoringEnd();R.markIntegrationStart()}if(L){L.updateCacheModule(k);k=L}this._modules.set(E,k);this.modules.add(k);if(this._backCompat)nt.setModuleGraphForModule(k,this.moduleGraph);if(R!==undefined){R.markIntegrationEnd()}v(null,k)}))}getModule(k){const v=k.identifier();return this._modules.get(v)}findModule(k){return this._modules.get(k)}buildModule(k,v){this.buildQueue.add(k,v)}_buildModule(k,v){const E=this.profile?this.moduleGraph.getProfile(k):undefined;if(E!==undefined){E.markBuildingStart()}k.needBuild({compilation:this,fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},((P,R)=>{if(P)return v(P);if(!R){if(E!==undefined){E.markBuildingEnd()}this.hooks.stillValidModule.call(k);return v()}this.hooks.buildModule.call(k);this.builtModules.add(k);k.build(this.options,this,this.resolverFactory.get("normal",k.resolveOptions),this.inputFileSystem,(P=>{if(E!==undefined){E.markBuildingEnd()}if(P){this.hooks.failedModule.call(k,P);return v(P)}if(E!==undefined){E.markStoringStart()}this._modulesCache.store(k.identifier(),null,k,(P=>{if(E!==undefined){E.markStoringEnd()}if(P){this.hooks.failedModule.call(k,P);return v(new at(k,P))}this.hooks.succeedModule.call(k);return v()}))}))}))}processModuleDependencies(k,v){this.processDependenciesQueue.add(k,v)}processModuleDependenciesNonRecursive(k){const processDependenciesBlock=v=>{if(v.dependencies){let E=0;for(const P of v.dependencies){this.moduleGraph.setParents(P,v,k,E++)}}if(v.blocks){for(const k of v.blocks)processDependenciesBlock(k)}};processDependenciesBlock(k)}_processModuleDependencies(k,v){const E=[];let P;let R;let L;let N;let q;let ae;let le;let pe;let me=1;let ye=1;const onDependenciesSorted=k=>{if(k)return v(k);if(E.length===0&&ye===1){return v()}this.processDependenciesQueue.increaseParallelism();for(const k of E){ye++;this.handleModuleCreation(k,(k=>{if(k&&this.bail){if(ye<=0)return;ye=-1;k.stack=k.stack;onTransitiveTasksFinished(k);return}if(--ye===0)onTransitiveTasksFinished()}))}if(--ye===0)onTransitiveTasksFinished()};const onTransitiveTasksFinished=k=>{if(k)return v(k);this.processDependenciesQueue.decreaseParallelism();return v()};const processDependency=(v,E)=>{this.moduleGraph.setParents(v,P,k,E);if(this._unsafeCache){try{const E=Jt.get(v);if(E===null)return;if(E!==undefined){if(this._restoredUnsafeCacheModuleEntries.has(E)){this._handleExistingModuleFromUnsafeCache(k,v,E);return}const P=E.identifier();const R=this._restoredUnsafeCacheEntries.get(P);if(R!==undefined){Jt.set(v,R);this._handleExistingModuleFromUnsafeCache(k,v,R);return}me++;this._modulesCache.get(P,null,((R,L)=>{if(R){if(me<=0)return;me=-1;onDependenciesSorted(R);return}try{if(!this._restoredUnsafeCacheEntries.has(P)){const R=Vt.get(L);if(R===undefined){processDependencyForResolving(v);if(--me===0)onDependenciesSorted();return}if(L!==E){Jt.set(v,L)}L.restoreFromUnsafeCache(R,this.params.normalModuleFactory,this.params);this._restoredUnsafeCacheEntries.set(P,L);this._restoredUnsafeCacheModuleEntries.add(L);if(!this.modules.has(L)){ye++;this._handleNewModuleFromUnsafeCache(k,v,L,(k=>{if(k){if(ye<=0)return;ye=-1;onTransitiveTasksFinished(k)}if(--ye===0)return onTransitiveTasksFinished()}));if(--me===0)onDependenciesSorted();return}}if(E!==L){Jt.set(v,L)}this._handleExistingModuleFromUnsafeCache(k,v,L)}catch(R){if(me<=0)return;me=-1;onDependenciesSorted(R);return}if(--me===0)onDependenciesSorted()}));return}}catch(k){console.error(k)}}processDependencyForResolving(v)};const processDependencyForResolving=v=>{const P=v.getResourceIdentifier();if(P!==undefined&&P!==null){const me=v.category;const ye=v.constructor;if(L===ye){if(ae===me&&le===P){pe.push(v);return}}else{const k=this.dependencyFactories.get(ye);if(k===undefined){throw new Error(`No module factory available for dependency type: ${ye.name}`)}if(N===k){L=ye;if(ae===me&&le===P){pe.push(v);return}}else{if(N!==undefined){if(R===undefined)R=new Map;R.set(N,q);q=R.get(k);if(q===undefined){q=new Map}}else{q=new Map}L=ye;N=k}}const _e=me===Bt?P:`${me}${P}`;let Ie=q.get(_e);if(Ie===undefined){q.set(_e,Ie=[]);E.push({factory:N,dependencies:Ie,context:v.getContext(),originModule:k})}Ie.push(v);ae=me;le=P;pe=Ie}};try{const v=[k];do{const k=v.pop();if(k.dependencies){P=k;let v=0;for(const E of k.dependencies)processDependency(E,v++)}if(k.blocks){for(const E of k.blocks)v.push(E)}}while(v.length!==0)}catch(k){return v(k)}if(--me===0)onDependenciesSorted()}_handleNewModuleFromUnsafeCache(k,v,E,P){const R=this.moduleGraph;R.setResolvedModule(k,v,E);R.setIssuerIfUnset(E,k!==undefined?k:null);this._modules.set(E.identifier(),E);this.modules.add(E);if(this._backCompat)nt.setModuleGraphForModule(E,this.moduleGraph);this._handleModuleBuildAndDependencies(k,E,true,P)}_handleExistingModuleFromUnsafeCache(k,v,E){const P=this.moduleGraph;P.setResolvedModule(k,v,E)}handleModuleCreation({factory:k,dependencies:v,originModule:E,contextInfo:P,context:R,recursive:L=true,connectOrigin:N=L},q){const ae=this.moduleGraph;const le=this.profile?new ot:undefined;this.factorizeModule({currentProfile:le,factory:k,dependencies:v,factoryResult:true,originModule:E,contextInfo:P,context:R},((k,P)=>{const applyFactoryResultDependencies=()=>{const{fileDependencies:k,contextDependencies:v,missingDependencies:E}=P;if(k){this.fileDependencies.addAll(k)}if(v){this.contextDependencies.addAll(v)}if(E){this.missingDependencies.addAll(E)}};if(k){if(P)applyFactoryResultDependencies();if(v.every((k=>k.optional))){this.warnings.push(k);return q()}else{this.errors.push(k);return q(k)}}const R=P.module;if(!R){applyFactoryResultDependencies();return q()}if(le!==undefined){ae.setProfile(R,le)}this.addModule(R,((k,pe)=>{if(k){applyFactoryResultDependencies();if(!k.module){k.module=pe}this.errors.push(k);return q(k)}if(this._unsafeCache&&P.cacheable!==false&&pe.restoreFromUnsafeCache&&this._unsafeCachePredicate(pe)){const k=pe;for(let P=0;P{if(R!==undefined){R.delete(v)}if(k){if(!k.module){k.module=v}this.errors.push(k);return P(k)}if(!E){this.processModuleDependenciesNonRecursive(v);P(null,v);return}if(this.processDependenciesQueue.isProcessing(v)){return P(null,v)}this.processModuleDependencies(v,(k=>{if(k){return P(k)}P(null,v)}))}))}_factorizeModule({currentProfile:k,factory:v,dependencies:E,originModule:P,factoryResult:R,contextInfo:L,context:N},q){if(k!==undefined){k.markFactoryStart()}v.create({contextInfo:{issuer:P?P.nameForCondition():"",issuerLayer:P?P.layer:null,compiler:this.compiler.name,...L},resolveOptions:P?P.resolveOptions:undefined,context:N?N:P?P.context:this.compiler.context,dependencies:E},((v,L)=>{if(L){if(L.module===undefined&&L instanceof Ze){L={module:L}}if(!R){const{fileDependencies:k,contextDependencies:v,missingDependencies:E}=L;if(k){this.fileDependencies.addAll(k)}if(v){this.contextDependencies.addAll(v)}if(E){this.missingDependencies.addAll(E)}}}if(v){const k=new rt(P,v,E.map((k=>k.loc)).filter(Boolean)[0]);return q(k,R?L:undefined)}if(!L){return q()}if(k!==undefined){k.markFactoryEnd()}q(null,R?L:L.module)}))}addModuleChain(k,v,E){return this.addModuleTree({context:k,dependency:v},E)}addModuleTree({context:k,dependency:v,contextInfo:E},P){if(typeof v!=="object"||v===null||!v.constructor){return P(new ft("Parameter 'dependency' must be a Dependency"))}const R=v.constructor;const L=this.dependencyFactories.get(R);if(!L){return P(new ft(`No dependency factory available for this dependency type: ${v.constructor.name}`))}this.handleModuleCreation({factory:L,dependencies:[v],originModule:null,contextInfo:E,context:k},((k,v)=>{if(k&&this.bail){P(k);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else if(!k&&v){P(null,v)}else{P()}}))}addEntry(k,v,E,P){const R=typeof E==="object"?E:{name:E};this._addEntryItem(k,v,"dependencies",R,P)}addInclude(k,v,E,P){this._addEntryItem(k,v,"includeDependencies",E,P)}_addEntryItem(k,v,E,P,R){const{name:L}=P;let N=L!==undefined?this.entries.get(L):this.globalEntry;if(N===undefined){N={dependencies:[],includeDependencies:[],options:{name:undefined,...P}};N[E].push(v);this.entries.set(L,N)}else{N[E].push(v);for(const k of Object.keys(P)){if(P[k]===undefined)continue;if(N.options[k]===P[k])continue;if(Array.isArray(N.options[k])&&Array.isArray(P[k])&&kt(N.options[k],P[k])){continue}if(N.options[k]===undefined){N.options[k]=P[k]}else{return R(new ft(`Conflicting entry option ${k} = ${N.options[k]} vs ${P[k]}`))}}}this.hooks.addEntry.call(v,P);this.addModuleTree({context:k,dependency:v,contextInfo:N.options.layer?{issuerLayer:N.options.layer}:undefined},((k,E)=>{if(k){this.hooks.failedEntry.call(v,P,k);return R(k)}this.hooks.succeedEntry.call(v,P,E);return R(null,E)}))}rebuildModule(k,v){this.rebuildQueue.add(k,v)}_rebuildModule(k,v){this.hooks.rebuildModule.call(k);const E=k.dependencies.slice();const P=k.blocks.slice();k.invalidateBuild();this.buildQueue.invalidate(k);this.buildModule(k,(R=>{if(R){return this.hooks.finishRebuildingModule.callAsync(k,(k=>{if(k){v(Ke(k,"Compilation.hooks.finishRebuildingModule"));return}v(R)}))}this.processDependenciesQueue.invalidate(k);this.moduleGraph.unfreeze();this.processModuleDependencies(k,(R=>{if(R)return v(R);this.removeReasonsOfDependencyBlock(k,{dependencies:E,blocks:P});this.hooks.finishRebuildingModule.callAsync(k,(E=>{if(E){v(Ke(E,"Compilation.hooks.finishRebuildingModule"));return}v(null,k)}))}))}))}_computeAffectedModules(k){const v=this.compiler.moduleMemCaches;if(!v)return;if(!this.moduleMemCaches){this.moduleMemCaches=new Map;this.moduleGraph.setModuleMemCaches(this.moduleMemCaches)}const{moduleGraph:E,moduleMemCaches:P}=this;const R=new Set;const L=new Set;let N=0;let q=0;let ae=0;let le=0;let pe=0;const computeReferences=k=>{let v=undefined;for(const P of E.getOutgoingConnections(k)){const k=P.dependency;const E=P.module;if(!k||!E||Jt.has(k))continue;if(v===undefined)v=new WeakMap;v.set(k,E)}return v};const compareReferences=(k,v)=>{if(v===undefined)return true;for(const P of E.getOutgoingConnections(k)){const k=P.dependency;if(!k)continue;const E=v.get(k);if(E===undefined)continue;if(E!==P.module)return false}return true};const me=new Set(k);for(const[k,E]of v){if(me.has(k)){const N=k.buildInfo;if(N){if(E.buildInfo!==N){const v=new Et;P.set(k,v);R.add(k);E.buildInfo=N;E.references=computeReferences(k);E.memCache=v;q++}else if(!compareReferences(k,E.references)){const v=new Et;P.set(k,v);R.add(k);E.references=computeReferences(k);E.memCache=v;le++}else{P.set(k,E.memCache);ae++}}else{L.add(k);v.delete(k);pe++}me.delete(k)}else{v.delete(k)}}for(const k of me){const E=k.buildInfo;if(E){const L=new Et;v.set(k,{buildInfo:E,references:computeReferences(k),memCache:L});P.set(k,L);R.add(k);N++}else{L.add(k);pe++}}const reduceAffectType=k=>{let v=false;for(const{dependency:E}of k){if(!E)continue;const k=E.couldAffectReferencingModule();if(k===Ue.TRANSITIVE)return Ue.TRANSITIVE;if(k===false)continue;v=true}return v};const ye=new Set;for(const k of L){for(const[v,P]of E.getIncomingConnectionsByOriginModule(k)){if(!v)continue;if(L.has(v))continue;const k=reduceAffectType(P);if(!k)continue;if(k===true){ye.add(v)}else{L.add(v)}}}for(const k of ye)L.add(k);const _e=new Set;for(const k of R){for(const[N,q]of E.getIncomingConnectionsByOriginModule(k)){if(!N)continue;if(L.has(N))continue;if(R.has(N))continue;const k=reduceAffectType(q);if(!k)continue;if(k===true){_e.add(N)}else{R.add(N)}const E=new Et;const ae=v.get(N);ae.memCache=E;P.set(N,E)}}for(const k of _e)R.add(k);this.logger.log(`${Math.round(100*(R.size+L.size)/this.modules.size)}% (${R.size} affected + ${L.size} infected of ${this.modules.size}) modules flagged as affected (${N} new modules, ${q} changed, ${le} references changed, ${ae} unchanged, ${pe} were not built)`)}_computeAffectedModulesWithChunkGraph(){const{moduleMemCaches:k}=this;if(!k)return;const v=this.moduleMemCaches2=new Map;const{moduleGraph:E,chunkGraph:P}=this;const R="memCache2";let L=0;let N=0;let q=0;const computeReferences=k=>{const v=P.getModuleId(k);let R=undefined;let L=undefined;const N=E.getOutgoingConnectionsByModule(k);if(N!==undefined){for(const k of N.keys()){if(!k)continue;if(R===undefined)R=new Map;R.set(k,P.getModuleId(k))}}if(k.blocks.length>0){L=[];const v=Array.from(k.blocks);for(const k of v){const E=P.getBlockChunkGroup(k);if(E){for(const k of E.chunks){L.push(k.id)}}else{L.push(null)}v.push.apply(v,k.blocks)}}return{id:v,modules:R,blocks:L}};const compareReferences=(k,{id:v,modules:E,blocks:R})=>{if(v!==P.getModuleId(k))return false;if(E!==undefined){for(const[k,v]of E){if(P.getModuleId(k)!==v)return false}}if(R!==undefined){const v=Array.from(k.blocks);let E=0;for(const k of v){const L=P.getBlockChunkGroup(k);if(L){for(const k of L.chunks){if(E>=R.length||R[E++]!==k.id)return false}}else{if(E>=R.length||R[E++]!==null)return false}v.push.apply(v,k.blocks)}if(E!==R.length)return false}return true};for(const[E,P]of k){const k=P.get(R);if(k===undefined){const k=new Et;P.set(R,{references:computeReferences(E),memCache:k});v.set(E,k);q++}else if(!compareReferences(E,k.references)){const P=new Et;k.references=computeReferences(E);k.memCache=P;v.set(E,P);N++}else{v.set(E,k.memCache);L++}}this.logger.log(`${Math.round(100*N/(q+N+L))}% modules flagged as affected by chunk graph (${q} new modules, ${N} changed, ${L} unchanged)`)}finish(k){this.factorizeQueue.clear();if(this.profile){this.logger.time("finish module profiles");const k=E(99593);const v=new k;const P=this.moduleGraph;const R=new Map;for(const k of this.modules){const E=P.getProfile(k);if(!E)continue;R.set(k,E);v.range(E.buildingStartTime,E.buildingEndTime,(k=>E.buildingParallelismFactor=k));v.range(E.factoryStartTime,E.factoryEndTime,(k=>E.factoryParallelismFactor=k));v.range(E.integrationStartTime,E.integrationEndTime,(k=>E.integrationParallelismFactor=k));v.range(E.storingStartTime,E.storingEndTime,(k=>E.storingParallelismFactor=k));v.range(E.restoringStartTime,E.restoringEndTime,(k=>E.restoringParallelismFactor=k));if(E.additionalFactoryTimes){for(const{start:k,end:P}of E.additionalFactoryTimes){const R=(P-k)/E.additionalFactories;v.range(k,P,(k=>E.additionalFactoriesParallelismFactor+=k*R))}}}v.calculate();const L=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(k,v)=>{if(k>1e3){L.error(v)}else if(k>500){L.warn(v)}else if(k>200){L.info(v)}else if(k>30){L.log(v)}else{L.debug(v)}};const logNormalSummary=(k,v,E)=>{let P=0;let L=0;for(const[N,q]of R){const R=E(q);const ae=v(q);if(ae===0||R===0)continue;const le=ae/R;P+=le;if(le<=10)continue;logByValue(le,` | ${Math.round(le)} ms${R>=1.1?` (parallelism ${Math.round(R*10)/10})`:""} ${k} > ${N.readableIdentifier(this.requestShortener)}`);L=Math.max(L,le)}if(P<=10)return;logByValue(Math.max(P/10,L),`${Math.round(P)} ms ${k}`)};const logByLoadersSummary=(k,v,E)=>{const P=new Map;for(const[k,v]of R){const E=At(P,k.type+"!"+k.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));E.push({module:k,profile:v})}let L=0;let N=0;for(const[R,q]of P){let P=0;let ae=0;for(const{module:R,profile:L}of q){const N=E(L);const q=v(L);if(q===0||N===0)continue;const le=q/N;P+=le;if(le<=10)continue;logByValue(le,` | | ${Math.round(le)} ms${N>=1.1?` (parallelism ${Math.round(N*10)/10})`:""} ${k} > ${R.readableIdentifier(this.requestShortener)}`);ae=Math.max(ae,le)}L+=P;if(P<=10)continue;const le=R.indexOf("!");const pe=R.slice(le+1);const me=R.slice(0,le);const ye=Math.max(P/10,ae);logByValue(ye,` | ${Math.round(P)} ms ${k} > ${pe?`${q.length} x ${me} with ${this.requestShortener.shorten(pe)}`:`${q.length} x ${me}`}`);N=Math.max(N,ye)}if(L<=10)return;logByValue(Math.max(L/10,N),`${Math.round(L)} ms ${k}`)};logNormalSummary("resolve to new modules",(k=>k.factory),(k=>k.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(k=>k.additionalFactories),(k=>k.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(k=>k.restoring),(k=>k.restoringParallelismFactor));logByLoadersSummary("build modules",(k=>k.building),(k=>k.buildingParallelismFactor));logNormalSummary("store modules",(k=>k.storing),(k=>k.storingParallelismFactor));logNormalSummary("restore modules",(k=>k.restoring),(k=>k.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("compute affected modules");this._computeAffectedModules(this.modules);this.logger.timeEnd("compute affected modules");this.logger.time("finish modules");const{modules:v,moduleMemCaches:P}=this;this.hooks.finishModules.callAsync(v,(E=>{this.logger.timeEnd("finish modules");if(E)return k(E);this.moduleGraph.freeze("dependency errors");this.logger.time("report dependency errors and warnings");for(const k of v){const v=P&&P.get(k);if(v&&v.get("noWarningsOrErrors"))continue;let E=this.reportDependencyErrorsAndWarnings(k,[k]);const R=k.getErrors();if(R!==undefined){for(const v of R){if(!v.module){v.module=k}this.errors.push(v);E=true}}const L=k.getWarnings();if(L!==undefined){for(const v of L){if(!v.module){v.module=k}this.warnings.push(v);E=true}}if(!E&&v)v.set("noWarningsOrErrors",true)}this.moduleGraph.unfreeze();this.logger.timeEnd("report dependency errors and warnings");k()}))}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();this.moduleGraph.unfreeze();this.moduleMemCaches2=undefined}seal(k){const finalCallback=v=>{this.factorizeQueue.clear();this.buildQueue.clear();this.rebuildQueue.clear();this.processDependenciesQueue.clear();this.addModuleQueue.clear();return k(v)};const v=new Me(this.moduleGraph,this.outputOptions.hashFunction);this.chunkGraph=v;if(this._backCompat){for(const k of this.modules){Me.setChunkGraphForModule(k,v)}}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();this.moduleGraph.freeze("seal");const E=new Map;for(const[k,{dependencies:P,includeDependencies:R,options:L}]of this.entries){const N=this.addChunk(k);if(L.filename){N.filenameTemplate=L.filename}const q=new He(L);if(!L.dependOn&&!L.runtime){q.setRuntimeChunk(N)}q.setEntrypointChunk(N);this.namedChunkGroups.set(k,q);this.entrypoints.set(k,q);this.chunkGroups.push(q);Je(q,N);const ae=new Set;for(const R of[...this.globalEntry.dependencies,...P]){q.addOrigin(null,{name:k},R.request);const P=this.moduleGraph.getModule(R);if(P){v.connectChunkAndEntryModule(N,P,q);ae.add(P);const k=E.get(q);if(k===undefined){E.set(q,[P])}else{k.push(P)}}}this.assignDepths(ae);const mapAndSort=k=>k.map((k=>this.moduleGraph.getModule(k))).filter(Boolean).sort(Ot);const le=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort(R)];let pe=E.get(q);if(pe===undefined){E.set(q,pe=[])}for(const k of le){this.assignDepth(k);pe.push(k)}}const P=new Set;e:for(const[k,{options:{dependOn:v,runtime:E}}]of this.entries){if(v&&E){const v=new ft(`Entrypoint '${k}' 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 E=this.entrypoints.get(k);v.chunk=E.getEntrypointChunk();this.errors.push(v)}if(v){const E=this.entrypoints.get(k);const P=E.getEntrypointChunk().getAllReferencedChunks();const R=[];for(const L of v){const v=this.entrypoints.get(L);if(!v){throw new Error(`Entry ${k} depends on ${L}, but this entry was not found`)}if(P.has(v.getEntrypointChunk())){const v=new ft(`Entrypoints '${k}' and '${L}' use 'dependOn' to depend on each other in a circular way.`);const P=E.getEntrypointChunk();v.chunk=P;this.errors.push(v);E.setRuntimeChunk(P);continue e}R.push(v)}for(const k of R){Ve(k,E)}}else if(E){const v=this.entrypoints.get(k);let R=this.namedChunks.get(E);if(R){if(!P.has(R)){const P=new ft(`Entrypoint '${k}' has a 'runtime' option which points to another entrypoint named '${E}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(E)}' instead to allow using entrypoint '${k}' within the runtime of entrypoint '${E}'? For this '${E}' must always be loaded when '${k}' is used.\nOr do you want to use the entrypoints '${k}' and '${E}' 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 R=v.getEntrypointChunk();P.chunk=R;this.errors.push(P);v.setRuntimeChunk(R);continue}}else{R=this.addChunk(E);R.preventIntegration=true;P.add(R)}v.unshiftChunk(R);R.addGroup(v);v.setRuntimeChunk(R)}}ht(this,E);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,(v=>{if(v){return finalCallback(Ke(v,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(v=>{if(v){return finalCallback(Ke(v,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const E=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.logger.time("compute affected modules with chunk graph");this._computeAffectedModulesWithChunkGraph();this.logger.timeEnd("compute affected modules with chunk graph");this.sortItemsWithChunkIds();if(E){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((v=>{if(v){return finalCallback(v)}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();const P=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs(P,(v=>{if(v){return finalCallback(v)}if(E){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 cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(v=>{if(v){return finalCallback(Ke(v,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=this._backCompat?Tt(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_*.`):Object.freeze(this.assets);this.summarizeDependencies();if(E){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(k)}return this.hooks.afterSeal.callAsync((k=>{if(k){return finalCallback(Ke(k,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();finalCallback()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((k=>{this.logger.timeEnd("create chunk assets");if(k){return finalCallback(k)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(k,v){let E=false;for(let P=0;P1){const R=new Map;for(const L of P){const P=v.getModuleHash(k,L);const N=R.get(P);if(N===undefined){const v={module:k,hash:P,runtime:L,runtimes:[L]};E.push(v);R.set(P,v)}else{N.runtimes.push(L)}}}}this._runCodeGenerationJobs(E,k)}_runCodeGenerationJobs(k,v){if(k.length===0){return v()}let E=0;let R=0;const{chunkGraph:L,moduleGraph:N,dependencyTemplates:q,runtimeTemplate:ae}=this;const le=this.codeGenerationResults;const pe=[];let me=undefined;const runIteration=()=>{let ye=[];let _e=new Set;P.eachLimit(k,this.options.parallelism,((k,v)=>{const{module:P}=k;const{codeGenerationDependencies:Ie}=P;if(Ie!==undefined){if(me===undefined||Ie.some((k=>{const v=N.getModule(k);return me.has(v)}))){ye.push(k);_e.add(P);return v()}}const{hash:Me,runtime:Te,runtimes:je}=k;this._codeGenerationModule(P,Te,je,Me,q,L,N,ae,pe,le,((k,P)=>{if(P)R++;else E++;v(k)}))}),(P=>{if(P)return v(P);if(ye.length>0){if(ye.length===k.length){return v(new Error(`Unable to make progress during code generation because of circular code generation dependency: ${Array.from(_e,(k=>k.identifier())).join(", ")}`))}k=ye;ye=[];me=_e;_e=new Set;return runIteration()}if(pe.length>0){pe.sort(It((k=>k.module),Ot));for(const k of pe){this.errors.push(k)}}this.logger.log(`${Math.round(100*R/(R+E))}% code generated (${R} generated, ${E} from cache)`);v()}))};runIteration()}_codeGenerationModule(k,v,E,P,R,L,N,q,ae,le,pe){let me=false;const ye=new _e(E.map((v=>this._codeGenerationCache.getItemCache(`${k.identifier()}|${jt(v)}`,`${P}|${R.getHash()}`))));ye.get(((P,_e)=>{if(P)return pe(P);let Ie;if(!_e){try{me=true;this.codeGeneratedModules.add(k);Ie=k.codeGeneration({chunkGraph:L,moduleGraph:N,dependencyTemplates:R,runtimeTemplate:q,runtime:v,codeGenerationResults:le,compilation:this})}catch(P){ae.push(new Be(k,P));Ie=_e={sources:new Map,runtimeRequirements:null}}}else{Ie=_e}for(const v of E){le.add(k,v,Ie)}if(!_e){ye.store(Ie,(k=>pe(k,me)))}else{pe(null,me)}}))}_getChunkGraphEntries(){const k=new Set;for(const v of this.entrypoints.values()){const E=v.getRuntimeChunk();if(E)k.add(E)}for(const v of this.asyncEntrypoints){const E=v.getRuntimeChunk();if(E)k.add(E)}return k}processRuntimeRequirements({chunkGraph:k=this.chunkGraph,modules:v=this.modules,chunks:E=this.chunks,codeGenerationResults:P=this.codeGenerationResults,chunkGraphEntries:R=this._getChunkGraphEntries()}={}){const L={chunkGraph:k,codeGenerationResults:P};const{moduleMemCaches2:N}=this;this.logger.time("runtime requirements.modules");const q=this.hooks.additionalModuleRuntimeRequirements;const ae=this.hooks.runtimeRequirementInModule;for(const E of v){if(k.getNumberOfModuleChunks(E)>0){const v=N&&N.get(E);for(const R of k.getModuleRuntimes(E)){if(v){const P=v.get(`moduleRuntimeRequirements-${jt(R)}`);if(P!==undefined){if(P!==null){k.addModuleRuntimeRequirements(E,R,P,false)}continue}}let N;const le=P.getRuntimeRequirements(E,R);if(le&&le.size>0){N=new Set(le)}else if(q.isUsed()){N=new Set}else{if(v){v.set(`moduleRuntimeRequirements-${jt(R)}`,null)}continue}q.call(E,N,L);for(const k of N){const v=ae.get(k);if(v!==undefined)v.call(E,N,L)}if(N.size===0){if(v){v.set(`moduleRuntimeRequirements-${jt(R)}`,null)}}else{if(v){v.set(`moduleRuntimeRequirements-${jt(R)}`,N);k.addModuleRuntimeRequirements(E,R,N,false)}else{k.addModuleRuntimeRequirements(E,R,N)}}}}}this.logger.timeEnd("runtime requirements.modules");this.logger.time("runtime requirements.chunks");for(const v of E){const E=new Set;for(const P of k.getChunkModulesIterable(v)){const R=k.getModuleRuntimeRequirements(P,v.runtime);for(const k of R)E.add(k)}this.hooks.additionalChunkRuntimeRequirements.call(v,E,L);for(const k of E){this.hooks.runtimeRequirementInChunk.for(k).call(v,E,L)}k.addChunkRuntimeRequirements(v,E)}this.logger.timeEnd("runtime requirements.chunks");this.logger.time("runtime requirements.entries");for(const v of R){const E=new Set;for(const P of v.getAllReferencedChunks()){const v=k.getChunkRuntimeRequirements(P);for(const k of v)E.add(k)}this.hooks.additionalTreeRuntimeRequirements.call(v,E,L);for(const k of E){this.hooks.runtimeRequirementInTree.for(k).call(v,E,L)}k.addTreeRuntimeRequirements(v,E)}this.logger.timeEnd("runtime requirements.entries")}addRuntimeModule(k,v,E=this.chunkGraph){if(this._backCompat)nt.setModuleGraphForModule(v,this.moduleGraph);this.modules.add(v);this._modules.set(v.identifier(),v);E.connectChunkAndModule(k,v);E.connectChunkAndRuntimeModule(k,v);if(v.fullHash){E.addFullHashModuleToChunk(k,v)}else if(v.dependentHash){E.addDependentHashModuleToChunk(k,v)}v.attach(this,k,E);const P=this.moduleGraph.getExportsInfo(v);P.setHasProvideInfo();if(typeof k.runtime==="string"){P.setUsedForSideEffectsOnly(k.runtime)}else if(k.runtime===undefined){P.setUsedForSideEffectsOnly(undefined)}else{for(const v of k.runtime){P.setUsedForSideEffectsOnly(v)}}E.addModuleRuntimeRequirements(v,k.runtime,new Set([ut.requireScope]));E.setModuleId(v,"");this.hooks.runtimeModule.call(v,k)}addChunkInGroup(k,v,E,P){if(typeof k==="string"){k={name:k}}const R=k.name;if(R){const L=this.namedChunkGroups.get(R);if(L!==undefined){L.addOptions(k);if(v){L.addOrigin(v,E,P)}return L}}const L=new Te(k);if(v)L.addOrigin(v,E,P);const N=this.addChunk(R);Je(L,N);this.chunkGroups.push(L);if(R){this.namedChunkGroups.set(R,L)}return L}addAsyncEntrypoint(k,v,E,P){const R=k.name;if(R){const k=this.namedChunkGroups.get(R);if(k instanceof He){if(k!==undefined){if(v){k.addOrigin(v,E,P)}return k}}else if(k){throw new Error(`Cannot add an async entrypoint with the name '${R}', because there is already an chunk group with this name`)}}const L=this.addChunk(R);if(k.filename){L.filenameTemplate=k.filename}const N=new He(k,false);N.setRuntimeChunk(L);N.setEntrypointChunk(L);if(R){this.namedChunkGroups.set(R,N)}this.chunkGroups.push(N);this.asyncEntrypoints.push(N);Je(N,L);if(v){N.addOrigin(v,E,P)}return N}addChunk(k){if(k){const v=this.namedChunks.get(k);if(v!==undefined){return v}}const v=new Ie(k,this._backCompat);this.chunks.add(v);if(this._backCompat)Me.setChunkGraphForChunk(v,this.chunkGraph);if(k){this.namedChunks.set(k,v)}return v}assignDepth(k){const v=this.moduleGraph;const E=new Set([k]);let P;v.setDepth(k,0);const processModule=k=>{if(!v.setDepthIfLower(k,P))return;E.add(k)};for(k of E){E.delete(k);P=v.getDepth(k)+1;for(const E of v.getOutgoingConnections(k)){const k=E.module;if(k){processModule(k)}}}}assignDepths(k){const v=this.moduleGraph;const E=new Set(k);E.add(1);let P=0;let R=0;for(const k of E){R++;if(typeof k==="number"){P=k;if(E.size===R)return;E.add(P+1)}else{v.setDepth(k,P);for(const{module:P}of v.getOutgoingConnections(k)){if(P){E.add(P)}}}}}getDependencyReferencedExports(k,v){const E=k.getReferencedExports(this.moduleGraph,v);return this.hooks.dependencyReferencedExports.call(E,k,v)}removeReasonsOfDependencyBlock(k,v){if(v.blocks){for(const E of v.blocks){this.removeReasonsOfDependencyBlock(k,E)}}if(v.dependencies){for(const k of v.dependencies){const v=this.moduleGraph.getModule(k);if(v){this.moduleGraph.removeConnection(k);if(this.chunkGraph){for(const k of this.chunkGraph.getModuleChunks(v)){this.patchChunksAfterReasonRemoval(v,k)}}}}}}patchChunksAfterReasonRemoval(k,v){if(!k.hasReasons(this.moduleGraph,v.runtime)){this.removeReasonsOfDependencyBlock(k,k)}if(!k.hasReasonForChunk(v,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(k,v)){this.chunkGraph.disconnectChunkAndModule(v,k);this.removeChunkFromDependencies(k,v)}}}removeChunkFromDependencies(k,v){const iteratorDependency=k=>{const E=this.moduleGraph.getModule(k);if(!E){return}this.patchChunksAfterReasonRemoval(E,v)};const E=k.blocks;for(let v=0;v{const E=v.options.runtime||v.name;const P=v.getRuntimeChunk();k.setRuntimeId(E,P.id)};for(const k of this.entrypoints.values()){processEntrypoint(k)}for(const k of this.asyncEntrypoints){processEntrypoint(k)}}sortItemsWithChunkIds(){for(const k of this.chunkGroups){k.sortItems()}this.errors.sort(Qt);this.warnings.sort(Qt);this.children.sort(Ut)}summarizeDependencies(){for(let k=0;k0){ae.sort(It((k=>k.module),Ot));for(const k of ae){this.errors.push(k)}}this.logger.log(`${k} modules hashed, ${v} from cache (${Math.round(100*(k+v)/this.modules.size)/100} variants per module in average)`)}_createModuleHash(k,v,E,P,R,L,N,q){let ae;try{const N=Dt(P);k.updateHash(N,{chunkGraph:v,runtime:E,runtimeTemplate:R});ae=N.digest(L)}catch(v){q.push(new st(k,v));ae="XXXXXX"}v.setModuleHashes(k,E,ae,ae.slice(0,N));return ae}createHash(){this.logger.time("hashing: initialize hash");const k=this.chunkGraph;const v=this.runtimeTemplate;const E=this.outputOptions;const P=E.hashFunction;const R=E.hashDigest;const L=E.hashDigestLength;const N=Dt(P);if(E.hashSalt){N.update(E.hashSalt)}this.logger.timeEnd("hashing: initialize hash");if(this.children.length>0){this.logger.time("hashing: hash child compilations");for(const k of this.children){N.update(k.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const k of this.warnings){N.update(`${k.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const k of this.errors){N.update(`${k.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const q=[];const ae=[];for(const k of this.chunks){if(k.hasRuntime()){q.push(k)}else{ae.push(k)}}q.sort(zt);ae.sort(zt);const le=new Map;for(const k of q){le.set(k,{chunk:k,referencedBy:[],remaining:0})}let pe=0;for(const k of le.values()){for(const v of new Set(Array.from(k.chunk.getAllReferencedAsyncEntrypoints()).map((k=>k.chunks[k.chunks.length-1])))){const E=le.get(v);E.referencedBy.push(k);k.remaining++;pe++}}const me=[];for(const k of le.values()){if(k.remaining===0){me.push(k.chunk)}}if(pe>0){const v=[];for(const E of me){const P=k.getNumberOfChunkFullHashModules(E)!==0;const R=le.get(E);for(const E of R.referencedBy){if(P){k.upgradeDependentToFullHashModules(E.chunk)}pe--;if(--E.remaining===0){v.push(E.chunk)}}if(v.length>0){v.sort(zt);for(const k of v)me.push(k);v.length=0}}}if(pe>0){let k=[];for(const v of le.values()){if(v.remaining!==0){k.push(v)}}k.sort(It((k=>k.chunk),zt));const v=new ft(`Circular dependency between chunks with runtime (${Array.from(k,(k=>k.chunk.name||k.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);v.chunk=k[0].chunk;this.warnings.push(v);for(const v of k)me.push(v.chunk)}this.logger.timeEnd("hashing: sort chunks");const ye=new Set;const _e=[];const Ie=new Map;const Me=[];const processChunk=q=>{this.logger.time("hashing: hash runtime modules");const ae=q.runtime;for(const E of k.getChunkModulesIterable(q)){if(!k.hasModuleHashes(E,ae)){const N=this._createModuleHash(E,k,ae,P,v,R,L,Me);let q=Ie.get(N);if(q){const k=q.get(E);if(k){k.runtimes.push(ae);continue}}else{q=new Map;Ie.set(N,q)}const le={module:E,hash:N,runtime:ae,runtimes:[ae]};q.set(E,le);_e.push(le)}}this.logger.timeAggregate("hashing: hash runtime modules");try{this.logger.time("hashing: hash chunks");const v=Dt(P);if(E.hashSalt){v.update(E.hashSalt)}q.updateHash(v,k);this.hooks.chunkHash.call(q,v,{chunkGraph:k,codeGenerationResults:this.codeGenerationResults,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const ae=v.digest(R);N.update(ae);q.hash=ae;q.renderedHash=q.hash.slice(0,L);const le=k.getChunkFullHashModulesIterable(q);if(le){ye.add(q)}else{this.hooks.contentHash.call(q)}}catch(k){this.errors.push(new je(q,"",k))}this.logger.timeAggregate("hashing: hash chunks")};ae.forEach(processChunk);for(const k of me)processChunk(k);if(Me.length>0){Me.sort(It((k=>k.module),Ot));for(const k of Me){this.errors.push(k)}}this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(N);this.fullHash=N.digest(R);this.hash=this.fullHash.slice(0,L);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const E of ye){for(const N of k.getChunkFullHashModulesIterable(E)){const q=Dt(P);N.updateHash(q,{chunkGraph:k,runtime:E.runtime,runtimeTemplate:v});const ae=q.digest(R);const le=k.getModuleHash(N,E.runtime);k.setModuleHashes(N,E.runtime,ae,ae.slice(0,L));Ie.get(le).get(N).hash=ae}const N=Dt(P);N.update(E.hash);N.update(this.hash);const q=N.digest(R);E.hash=q;E.renderedHash=E.hash.slice(0,L);this.hooks.contentHash.call(E)}this.logger.timeEnd("hashing: process full hash modules");return _e}emitAsset(k,v,E={}){if(this.assets[k]){if(!Lt(this.assets[k],v)){this.errors.push(new ft(`Conflict: Multiple assets emit different content to the same filename ${k}${E.sourceFilename?`. Original source ${E.sourceFilename}`:""}`));this.assets[k]=v;this._setAssetInfo(k,E);return}const P=this.assetsInfo.get(k);const R=Object.assign({},P,E);this._setAssetInfo(k,R,P);return}this.assets[k]=v;this._setAssetInfo(k,E,undefined)}_setAssetInfo(k,v,E=this.assetsInfo.get(k)){if(v===undefined){this.assetsInfo.delete(k)}else{this.assetsInfo.set(k,v)}const P=E&&E.related;const R=v&&v.related;if(P){for(const v of Object.keys(P)){const remove=E=>{const P=this._assetsRelatedIn.get(E);if(P===undefined)return;const R=P.get(v);if(R===undefined)return;R.delete(k);if(R.size!==0)return;P.delete(v);if(P.size===0)this._assetsRelatedIn.delete(E)};const E=P[v];if(Array.isArray(E)){E.forEach(remove)}else if(E){remove(E)}}}if(R){for(const v of Object.keys(R)){const add=E=>{let P=this._assetsRelatedIn.get(E);if(P===undefined){this._assetsRelatedIn.set(E,P=new Map)}let R=P.get(v);if(R===undefined){P.set(v,R=new Set)}R.add(k)};const E=R[v];if(Array.isArray(E)){E.forEach(add)}else if(E){add(E)}}}}updateAsset(k,v,E=undefined){if(!this.assets[k]){throw new Error(`Called Compilation.updateAsset for not existing filename ${k}`)}if(typeof v==="function"){this.assets[k]=v(this.assets[k])}else{this.assets[k]=v}if(E!==undefined){const v=this.assetsInfo.get(k)||Nt;if(typeof E==="function"){this._setAssetInfo(k,E(v),v)}else{this._setAssetInfo(k,Ct(v,E),v)}}}renameAsset(k,v){const E=this.assets[k];if(!E){throw new Error(`Called Compilation.renameAsset for not existing filename ${k}`)}if(this.assets[v]){if(!Lt(this.assets[k],E)){this.errors.push(new ft(`Conflict: Called Compilation.renameAsset for already existing filename ${v} with different content`))}}const P=this.assetsInfo.get(k);const R=this._assetsRelatedIn.get(k);if(R){for(const[E,P]of R){for(const R of P){const P=this.assetsInfo.get(R);if(!P)continue;const L=P.related;if(!L)continue;const N=L[E];let q;if(Array.isArray(N)){q=N.map((E=>E===k?v:E))}else if(N===k){q=v}else continue;this.assetsInfo.set(R,{...P,related:{...L,[E]:q}})}}}this._setAssetInfo(k,undefined,P);this._setAssetInfo(v,P);delete this.assets[k];this.assets[v]=E;for(const E of this.chunks){{const P=E.files.size;E.files.delete(k);if(P!==E.files.size){E.files.add(v)}}{const P=E.auxiliaryFiles.size;E.auxiliaryFiles.delete(k);if(P!==E.auxiliaryFiles.size){E.auxiliaryFiles.add(v)}}}}deleteAsset(k){if(!this.assets[k]){return}delete this.assets[k];const v=this.assetsInfo.get(k);this._setAssetInfo(k,undefined,v);const E=v&&v.related;if(E){for(const k of Object.keys(E)){const checkUsedAndDelete=k=>{if(!this._assetsRelatedIn.has(k)){this.deleteAsset(k)}};const v=E[k];if(Array.isArray(v)){v.forEach(checkUsedAndDelete)}else if(v){checkUsedAndDelete(v)}}}for(const v of this.chunks){v.files.delete(k);v.auxiliaryFiles.delete(k)}}getAssets(){const k=[];for(const v of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,v)){k.push({name:v,source:this.assets[v],info:this.assetsInfo.get(v)||Nt})}}return k}getAsset(k){if(!Object.prototype.hasOwnProperty.call(this.assets,k))return undefined;return{name:k,source:this.assets[k],info:this.assetsInfo.get(k)||Nt}}clearAssets(){for(const k of this.chunks){k.files.clear();k.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:k}=this;for(const v of this.modules){if(v.buildInfo.assets){const E=v.buildInfo.assetsInfo;for(const P of Object.keys(v.buildInfo.assets)){const R=this.getPath(P,{chunkGraph:this.chunkGraph,module:v});for(const E of k.getModuleChunksIterable(v)){E.auxiliaryFiles.add(R)}this.emitAsset(R,v.buildInfo.assets[P],E?E.get(P):undefined);this.hooks.moduleAsset.call(v,R)}}}}getRenderManifest(k){return this.hooks.renderManifest.call([],k)}createChunkAssets(k){const v=this.outputOptions;const E=new WeakMap;const R=new Map;P.forEachLimit(this.chunks,15,((k,L)=>{let N;try{N=this.getRenderManifest({chunk:k,hash:this.hash,fullHash:this.fullHash,outputOptions:v,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(v){this.errors.push(new je(k,"",v));return L()}P.forEach(N,((v,P)=>{const L=v.identifier;const N=v.hash;const q=this._assetsCache.getItemCache(L,N);q.get(((L,ae)=>{let le;let pe;let me;let _e=true;const errorAndCallback=v=>{const E=pe||(typeof pe==="string"?pe:typeof le==="string"?le:"");this.errors.push(new je(k,E,v));_e=false;return P()};try{if("filename"in v){pe=v.filename;me=v.info}else{le=v.filenameTemplate;const k=this.getPathWithInfo(le,v.pathOptions);pe=k.path;me=v.info?{...k.info,...v.info}:k.info}if(L){return errorAndCallback(L)}let Ie=ae;const Me=R.get(pe);if(Me!==undefined){if(Me.hash!==N){_e=false;return P(new ft(`Conflict: Multiple chunks emit assets to the same filename ${pe}`+` (chunks ${Me.chunk.id} and ${k.id})`))}else{Ie=Me.source}}else if(!Ie){Ie=v.render();if(!(Ie instanceof ye)){const k=E.get(Ie);if(k){Ie=k}else{const k=new ye(Ie);E.set(Ie,k);Ie=k}}}this.emitAsset(pe,Ie,me);if(v.auxiliary){k.auxiliaryFiles.add(pe)}else{k.files.add(pe)}this.hooks.chunkAsset.call(k,pe);R.set(pe,{hash:N,source:Ie,chunk:k});if(Ie!==ae){q.store(Ie,(k=>{if(k)return errorAndCallback(k);_e=false;return P()}))}else{_e=false;P()}}catch(L){if(!_e)throw L;errorAndCallback(L)}}))}),L)}),k)}getPath(k,v={}){if(!v.hash){v={hash:this.hash,...v}}return this.getAssetPath(k,v)}getPathWithInfo(k,v={}){if(!v.hash){v={hash:this.hash,...v}}return this.getAssetPathWithInfo(k,v)}getAssetPath(k,v){return this.hooks.assetPath.call(typeof k==="function"?k(v):k,v,undefined)}getAssetPathWithInfo(k,v){const E={};const P=this.hooks.assetPath.call(typeof k==="function"?k(v,E):k,v,E);return{path:P,info:E}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(k,v,E){const P=this.childrenCounters[k]||0;this.childrenCounters[k]=P+1;return this.compiler.createChildCompiler(this,k,P,v,E)}executeModule(k,v,E){const R=new Set([k]);Ft(R,10,((k,v,E)=>{this.buildQueue.waitFor(k,(P=>{if(P)return E(P);this.processDependenciesQueue.waitFor(k,(P=>{if(P)return E(P);for(const{module:E}of this.moduleGraph.getOutgoingConnections(k)){const k=R.size;R.add(E);if(R.size!==k)v(E)}E()}))}))}),(L=>{if(L)return E(L);const N=new Me(this.moduleGraph,this.outputOptions.hashFunction);const q="build time";const{hashFunction:ae,hashDigest:le,hashDigestLength:pe}=this.outputOptions;const me=this.runtimeTemplate;const ye=new Ie("build time chunk",this._backCompat);ye.id=ye.name;ye.ids=[ye.id];ye.runtime=q;const _e=new He({runtime:q,chunkLoading:false,...v.entryOptions});N.connectChunkAndEntryModule(ye,k,_e);Je(_e,ye);_e.setRuntimeChunk(ye);_e.setEntrypointChunk(ye);const Te=new Set([ye]);for(const k of R){const v=k.identifier();N.setModuleId(k,v);N.connectChunkAndModule(ye,k)}const je=[];for(const k of R){this._createModuleHash(k,N,q,ae,me,le,pe,je)}const Ne=new qe(this.outputOptions.hashFunction);const codeGen=(k,v)=>{this._codeGenerationModule(k,q,[q],N.getModuleHash(k,q),this.dependencyTemplates,N,this.moduleGraph,me,je,Ne,((k,E)=>{v(k)}))};const reportErrors=()=>{if(je.length>0){je.sort(It((k=>k.module),Ot));for(const k of je){this.errors.push(k)}je.length=0}};P.eachLimit(R,10,codeGen,(v=>{if(v)return E(v);reportErrors();const L=this.chunkGraph;this.chunkGraph=N;this.processRuntimeRequirements({chunkGraph:N,modules:R,chunks:Te,codeGenerationResults:Ne,chunkGraphEntries:Te});this.chunkGraph=L;const _e=N.getChunkRuntimeModulesIterable(ye);for(const k of _e){R.add(k);this._createModuleHash(k,N,q,ae,me,le,pe)}P.eachLimit(_e,10,codeGen,(v=>{if(v)return E(v);reportErrors();const L=new Map;const ae=new Map;const le=new wt;const pe=new wt;const me=new wt;const _e=new wt;const Ie=new Map;let Me=true;const Te={assets:Ie,__webpack_require__:undefined,chunk:ye,chunkGraph:N};P.eachLimit(R,10,((k,v)=>{const E=Ne.get(k,q);const P={module:k,codeGenerationResult:E,preparedInfo:undefined,moduleObject:undefined};L.set(k,P);ae.set(k.identifier(),P);k.addCacheDependencies(le,pe,me,_e);if(k.buildInfo.cacheable===false){Me=false}if(k.buildInfo&&k.buildInfo.assets){const{assets:v,assetsInfo:E}=k.buildInfo;for(const k of Object.keys(v)){Ie.set(k,{source:v[k],info:E?E.get(k):undefined})}}this.hooks.prepareModuleExecution.callAsync(P,Te,v)}),(v=>{if(v)return E(v);let P;try{const{strictModuleErrorHandling:v,strictModuleExceptionHandling:E}=this.outputOptions;const __nested_webpack_require_153754__=k=>{const v=q[k];if(v!==undefined){if(v.error)throw v.error;return v.exports}const E=ae.get(k);return __webpack_require_module__(E,k)};const R=__nested_webpack_require_153754__[ut.interceptModuleExecution.replace(`${ut.require}.`,"")]=[];const q=__nested_webpack_require_153754__[ut.moduleCache.replace(`${ut.require}.`,"")]={};Te.__webpack_require__=__nested_webpack_require_153754__;const __webpack_require_module__=(k,P)=>{var L={id:P,module:{id:P,exports:{},loaded:false,error:undefined},require:__nested_webpack_require_153754__};R.forEach((k=>k(L)));const N=k.module;this.buildTimeExecutedModules.add(N);const ae=L.module;k.moduleObject=ae;try{if(P)q[P]=ae;Ye((()=>this.hooks.executeModule.call(k,Te)),"Compilation.hooks.executeModule");ae.loaded=true;return ae.exports}catch(k){if(E){if(P)delete q[P]}else if(v){ae.error=k}if(!k.module)k.module=N;throw k}};for(const k of N.getChunkRuntimeModulesInOrder(ye)){__webpack_require_module__(L.get(k))}P=__nested_webpack_require_153754__(k.identifier())}catch(v){const P=new ft(`Execution of module code from module graph (${k.readableIdentifier(this.requestShortener)}) failed: ${v.message}`);P.stack=v.stack;P.module=v.module;return E(P)}E(null,{exports:P,assets:Ie,cacheable:Me,fileDependencies:le,contextDependencies:pe,missingDependencies:me,buildDependencies:_e})}))}))}))}))}checkConstraints(){const k=this.chunkGraph;const v=new Set;for(const E of this.modules){if(E.type===lt)continue;const P=k.getModuleId(E);if(P===null)continue;if(v.has(P)){throw new Error(`checkConstraints: duplicate module id ${P}`)}v.add(P)}for(const v of this.chunks){for(const E of k.getChunkModulesIterable(v)){if(!this.modules.has(E)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${v.debugId} ${E.debugId}`)}}for(const E of k.getChunkEntryModulesIterable(v)){if(!this.modules.has(E)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${v.debugId} ${E.debugId}`)}}}for(const k of this.chunkGroups){k.checkConstraints()}}}Compilation.prototype.factorizeModule=function(k,v){this.factorizeQueue.add(k,v)};const Kt=Compilation.prototype;Object.defineProperty(Kt,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(Kt,"cache",{enumerable:false,configurable:false,get:me.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:me.deprecate((k=>{}),"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;k.exports=Compilation},2170:function(k,v,E){"use strict";const P=E(54650);const R=E(78175);const{SyncHook:L,SyncBailHook:N,AsyncParallelHook:q,AsyncSeriesHook:ae}=E(79846);const{SizeOnlySource:le}=E(51255);const pe=E(94308);const me=E(89802);const ye=E(90580);const _e=E(38317);const Ie=E(27747);const Me=E(4539);const Te=E(20467);const je=E(88223);const Ne=E(14062);const Be=E(91227);const qe=E(51660);const Ue=E(26288);const Ge=E(50526);const He=E(71572);const{Logger:We}=E(13905);const{join:Qe,dirname:Je,mkdirp:Ve}=E(57825);const{makePathsRelative:Ke}=E(65315);const{isSourceEqual:Ye}=E(71435);const isSorted=k=>{for(let v=1;vk[v])return false}return true};const sortObject=(k,v)=>{const E={};for(const P of v.sort()){E[P]=k[P]}return E};const includesHash=(k,v)=>{if(!v)return false;if(Array.isArray(v)){return v.some((v=>k.includes(v)))}else{return k.includes(v)}};class Compiler{constructor(k,v={}){this.hooks=Object.freeze({initialize:new L([]),shouldEmit:new N(["compilation"]),done:new ae(["stats"]),afterDone:new L(["stats"]),additionalPass:new ae([]),beforeRun:new ae(["compiler"]),run:new ae(["compiler"]),emit:new ae(["compilation"]),assetEmitted:new ae(["file","info"]),afterEmit:new ae(["compilation"]),thisCompilation:new L(["compilation","params"]),compilation:new L(["compilation","params"]),normalModuleFactory:new L(["normalModuleFactory"]),contextModuleFactory:new L(["contextModuleFactory"]),beforeCompile:new ae(["params"]),compile:new L(["params"]),make:new q(["compilation"]),finishMake:new ae(["compilation"]),afterCompile:new ae(["compilation"]),readRecords:new ae([]),emitRecords:new ae([]),watchRun:new ae(["compiler"]),failed:new L(["error"]),invalid:new L(["filename","changeTime"]),watchClose:new L([]),shutdown:new ae([]),infrastructureLog:new N(["origin","type","args"]),environment:new L([]),afterEnvironment:new L([]),afterPlugins:new L(["compiler"]),afterResolvers:new L(["compiler"]),entryOption:new N(["context","entry"])});this.webpack=pe;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.fsStartTime=undefined;this.resolverFactory=new qe;this.infrastructureLogger=undefined;this.options=v;this.context=k;this.requestShortener=new Be(k,this.root);this.cache=new me;this.moduleMemCaches=undefined;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._backCompat=this.options.experiments.backCompat!==false;this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map;this._assetEmittingPreviousFiles=new Set}getCache(k){return new ye(this.cache,`${this.compilerPath}${k}`,this.options.output.hashFunction)}getInfrastructureLogger(k){if(!k){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new We(((v,E)=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(k,v,E)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(k,v,E)}}}),(v=>{if(typeof k==="function"){if(typeof v==="function"){return this.getInfrastructureLogger((()=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof v==="function"){v=v();if(!v){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${k}/${v}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof k==="function"){k=k();if(!k){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${k}/${v}`}))}}else{if(typeof v==="function"){return this.getInfrastructureLogger((()=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${k}/${v}`}))}else{return this.getInfrastructureLogger(`${k}/${v}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const k of this._lastCompilation.modules){_e.clearChunkGraphForModule(k);je.clearModuleGraphForModule(k);k.cleanupForCache()}for(const k of this._lastCompilation.chunks){_e.clearChunkGraphForChunk(k)}this._lastCompilation=undefined}}_cleanupLastNormalModuleFactory(){if(this._lastNormalModuleFactory!==undefined){this._lastNormalModuleFactory.cleanupForCache();this._lastNormalModuleFactory=undefined}}watch(k,v){if(this.running){return v(new Me)}this.running=true;this.watchMode=true;this.watching=new Ge(this,k,v);return this.watching}run(k){if(this.running){return k(new Me)}let v;const finalCallback=(E,P)=>{if(v)v.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(v)v.timeEnd("beginIdle");this.running=false;if(E){this.hooks.failed.call(E)}if(k!==undefined)k(E,P);this.hooks.afterDone.call(P)};const E=Date.now();this.running=true;const onCompiled=(k,P)=>{if(k)return finalCallback(k);if(this.hooks.shouldEmit.call(P)===false){P.startTime=E;P.endTime=Date.now();const k=new Ue(P);this.hooks.done.callAsync(k,(v=>{if(v)return finalCallback(v);return finalCallback(null,k)}));return}process.nextTick((()=>{v=P.getLogger("webpack.Compiler");v.time("emitAssets");this.emitAssets(P,(k=>{v.timeEnd("emitAssets");if(k)return finalCallback(k);if(P.hooks.needAdditionalPass.call()){P.needAdditionalPass=true;P.startTime=E;P.endTime=Date.now();v.time("done hook");const k=new Ue(P);this.hooks.done.callAsync(k,(k=>{v.timeEnd("done hook");if(k)return finalCallback(k);this.hooks.additionalPass.callAsync((k=>{if(k)return finalCallback(k);this.compile(onCompiled)}))}));return}v.time("emitRecords");this.emitRecords((k=>{v.timeEnd("emitRecords");if(k)return finalCallback(k);P.startTime=E;P.endTime=Date.now();v.time("done hook");const R=new Ue(P);this.hooks.done.callAsync(R,(k=>{v.timeEnd("done hook");if(k)return finalCallback(k);this.cache.storeBuildDependencies(P.buildDependencies,(k=>{if(k)return finalCallback(k);return finalCallback(null,R)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(k=>{if(k)return finalCallback(k);this.hooks.run.callAsync(this,(k=>{if(k)return finalCallback(k);this.readRecords((k=>{if(k)return finalCallback(k);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((k=>{if(k)return finalCallback(k);this.idle=false;run()}))}else{run()}}runAsChild(k){const v=Date.now();const finalCallback=(v,E,P)=>{try{k(v,E,P)}catch(k){const v=new He(`compiler.runAsChild callback error: ${k}`);v.details=k.stack;this.parentCompilation.errors.push(v)}};this.compile(((k,E)=>{if(k)return finalCallback(k);this.parentCompilation.children.push(E);for(const{name:k,source:v,info:P}of E.getAssets()){this.parentCompilation.emitAsset(k,v,P)}const P=[];for(const k of E.entrypoints.values()){P.push(...k.chunks)}E.startTime=v;E.endTime=Date.now();return finalCallback(null,P,E)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(k,v){let E;const emitFiles=P=>{if(P)return v(P);const L=k.getAssets();k.assets={...k.assets};const N=new Map;const q=new Set;R.forEachLimit(L,15,(({name:v,source:P,info:R},L)=>{let ae=v;let pe=R.immutable;const me=ae.indexOf("?");if(me>=0){ae=ae.slice(0,me);pe=pe&&(includesHash(ae,R.contenthash)||includesHash(ae,R.chunkhash)||includesHash(ae,R.modulehash)||includesHash(ae,R.fullhash))}const writeOut=R=>{if(R)return L(R);const me=Qe(this.outputFileSystem,E,ae);q.add(me);const ye=this._assetEmittingWrittenFiles.get(me);let _e=this._assetEmittingSourceCache.get(P);if(_e===undefined){_e={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set(P,_e)}let Ie;const checkSimilarFile=()=>{const k=me.toLowerCase();Ie=N.get(k);if(Ie!==undefined){const{path:k,source:E}=Ie;if(Ye(E,P)){if(Ie.size!==undefined){updateWithReplacementSource(Ie.size)}else{if(!Ie.waiting)Ie.waiting=[];Ie.waiting.push({file:v,cacheEntry:_e})}alreadyWritten()}else{const E=new He(`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${me}\n${k}`);E.file=v;L(E)}return true}else{N.set(k,Ie={path:me,source:P,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof P.buffer==="function"){return P.buffer()}else{const k=P.source();if(Buffer.isBuffer(k)){return k}else{return Buffer.from(k,"utf8")}}};const alreadyWritten=()=>{if(ye===undefined){const k=1;this._assetEmittingWrittenFiles.set(me,k);_e.writtenTo.set(me,k)}else{_e.writtenTo.set(me,ye)}L()};const doWrite=R=>{this.outputFileSystem.writeFile(me,R,(N=>{if(N)return L(N);k.emittedAssets.add(v);const q=ye===undefined?1:ye+1;_e.writtenTo.set(me,q);this._assetEmittingWrittenFiles.set(me,q);this.hooks.assetEmitted.callAsync(v,{content:R,source:P,outputPath:E,compilation:k,targetPath:me},L)}))};const updateWithReplacementSource=k=>{updateFileWithReplacementSource(v,_e,k);Ie.size=k;if(Ie.waiting!==undefined){for(const{file:v,cacheEntry:E}of Ie.waiting){updateFileWithReplacementSource(v,E,k)}}};const updateFileWithReplacementSource=(v,E,P)=>{if(!E.sizeOnlySource){E.sizeOnlySource=new le(P)}k.updateAsset(v,E.sizeOnlySource,{size:P})};const processExistingFile=E=>{if(pe){updateWithReplacementSource(E.size);return alreadyWritten()}const P=getContent();updateWithReplacementSource(P.length);if(P.length===E.size){k.comparedForEmitAssets.add(v);return this.outputFileSystem.readFile(me,((k,v)=>{if(k||!P.equals(v)){return doWrite(P)}else{return alreadyWritten()}}))}return doWrite(P)};const processMissingFile=()=>{const k=getContent();updateWithReplacementSource(k.length);return doWrite(k)};if(ye!==undefined){const E=_e.writtenTo.get(me);if(E===ye){if(this._assetEmittingPreviousFiles.has(me)){k.updateAsset(v,_e.sizeOnlySource,{size:_e.sizeOnlySource.size()});return L()}else{pe=true}}else if(!pe){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(me,((k,v)=>{const E=!k&&v.isFile();if(E){processExistingFile(v)}else{processMissingFile()}}))}else{processMissingFile()}};if(ae.match(/\/|\\/)){const k=this.outputFileSystem;const v=Je(k,Qe(k,E,ae));Ve(k,v,writeOut)}else{writeOut()}}),(E=>{N.clear();if(E){this._assetEmittingPreviousFiles.clear();return v(E)}this._assetEmittingPreviousFiles=q;this.hooks.afterEmit.callAsync(k,(k=>{if(k)return v(k);return v()}))}))};this.hooks.emit.callAsync(k,(P=>{if(P)return v(P);E=k.getPath(this.outputPath,{});Ve(this.outputFileSystem,E,emitFiles)}))}emitRecords(k){if(this.hooks.emitRecords.isUsed()){if(this.recordsOutputPath){R.parallel([k=>this.hooks.emitRecords.callAsync(k),this._emitRecords.bind(this)],(v=>k(v)))}else{this.hooks.emitRecords.callAsync(k)}}else{if(this.recordsOutputPath){this._emitRecords(k)}else{k()}}}_emitRecords(k){const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((k,v)=>{if(typeof v==="object"&&v!==null&&!Array.isArray(v)){const k=Object.keys(v);if(!isSorted(k)){return sortObject(v,k)}}return v}),2),k)};const v=Je(this.outputFileSystem,this.recordsOutputPath);if(!v){return writeFile()}Ve(this.outputFileSystem,v,(v=>{if(v)return k(v);writeFile()}))}readRecords(k){if(this.hooks.readRecords.isUsed()){if(this.recordsInputPath){R.parallel([k=>this.hooks.readRecords.callAsync(k),this._readRecords.bind(this)],(v=>k(v)))}else{this.records={};this.hooks.readRecords.callAsync(k)}}else{if(this.recordsInputPath){this._readRecords(k)}else{this.records={};k()}}}_readRecords(k){if(!this.recordsInputPath){this.records={};return k()}this.inputFileSystem.stat(this.recordsInputPath,(v=>{if(v)return k();this.inputFileSystem.readFile(this.recordsInputPath,((v,E)=>{if(v)return k(v);try{this.records=P(E.toString("utf-8"))}catch(v){return k(new Error(`Cannot parse records: ${v.message}`))}return k()}))}))}createChildCompiler(k,v,E,P,R){const L=new Compiler(this.context,{...this.options,output:{...this.options.output,...P}});L.name=v;L.outputPath=this.outputPath;L.inputFileSystem=this.inputFileSystem;L.outputFileSystem=null;L.resolverFactory=this.resolverFactory;L.modifiedFiles=this.modifiedFiles;L.removedFiles=this.removedFiles;L.fileTimestamps=this.fileTimestamps;L.contextTimestamps=this.contextTimestamps;L.fsStartTime=this.fsStartTime;L.cache=this.cache;L.compilerPath=`${this.compilerPath}${v}|${E}|`;L._backCompat=this._backCompat;const N=Ke(this.context,v,this.root);if(!this.records[N]){this.records[N]=[]}if(this.records[N][E]){L.records=this.records[N][E]}else{this.records[N].push(L.records={})}L.parentCompilation=k;L.root=this.root;if(Array.isArray(R)){for(const k of R){k.apply(L)}}for(const k in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(k)){if(L.hooks[k]){L.hooks[k].taps=this.hooks[k].taps.slice()}}}k.hooks.childCompiler.call(L,v,E);return L}isChild(){return!!this.parentCompilation}createCompilation(k){this._cleanupLastCompilation();return this._lastCompilation=new Ie(this,k)}newCompilation(k){const v=this.createCompilation(k);v.name=this.name;v.records=this.records;this.hooks.thisCompilation.call(v,k);this.hooks.compilation.call(v,k);return v}createNormalModuleFactory(){this._cleanupLastNormalModuleFactory();const k=new Ne({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this._lastNormalModuleFactory=k;this.hooks.normalModuleFactory.call(k);return k}createContextModuleFactory(){const k=new Te(this.resolverFactory);this.hooks.contextModuleFactory.call(k);return k}newCompilationParams(){const k={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return k}compile(k){const v=this.newCompilationParams();this.hooks.beforeCompile.callAsync(v,(E=>{if(E)return k(E);this.hooks.compile.call(v);const P=this.newCompilation(v);const R=P.getLogger("webpack.Compiler");R.time("make hook");this.hooks.make.callAsync(P,(v=>{R.timeEnd("make hook");if(v)return k(v);R.time("finish make hook");this.hooks.finishMake.callAsync(P,(v=>{R.timeEnd("finish make hook");if(v)return k(v);process.nextTick((()=>{R.time("finish compilation");P.finish((v=>{R.timeEnd("finish compilation");if(v)return k(v);R.time("seal compilation");P.seal((v=>{R.timeEnd("seal compilation");if(v)return k(v);R.time("afterCompile hook");this.hooks.afterCompile.callAsync(P,(v=>{R.timeEnd("afterCompile hook");if(v)return k(v);return k(null,P)}))}))}))}))}))}))}))}close(k){if(this.watching){this.watching.close((v=>{this.close(k)}));return}this.hooks.shutdown.callAsync((v=>{if(v)return k(v);this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this.cache.shutdown(k)}))}}k.exports=Compiler},91213:function(k){"use strict";const v=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const E="__WEBPACK_DEFAULT_EXPORT__";const P="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(k,v){this._currentModule=v;if(Array.isArray(k)){const v=new Map;for(const E of k){v.set(E.module,E)}k=v}this._modulesMap=k}isModuleInScope(k){return this._modulesMap.has(k)}registerExport(k,v){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(k)){this._currentModule.exportMap.set(k,v)}}registerRawExport(k,v){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(k)){this._currentModule.rawExportMap.set(k,v)}}registerNamespaceExport(k){this._currentModule.namespaceExportSymbol=k}createModuleReference(k,{ids:v=undefined,call:E=false,directImport:P=false,asiSafe:R=false}){const L=this._modulesMap.get(k);const N=E?"_call":"";const q=P?"_directImport":"";const ae=R?"_asiSafe1":R===false?"_asiSafe0":"";const le=v?Buffer.from(JSON.stringify(v),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${L.index}_${le}${N}${q}${ae}__._`}static isModuleReference(k){return v.test(k)}static matchModuleReference(k){const E=v.exec(k);if(!E)return null;const P=+E[1];const R=E[5];return{index:P,ids:E[2]==="ns"?[]:JSON.parse(Buffer.from(E[2],"hex").toString("utf-8")),call:!!E[3],directImport:!!E[4],asiSafe:R?R==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=E;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=P;k.exports=ConcatenationScope},4539:function(k,v,E){"use strict";const P=E(71572);k.exports=class ConcurrentCompilationError extends P{constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."}}},33769:function(k,v,E){"use strict";const{ConcatSource:P,PrefixSource:R}=E(51255);const L=E(88113);const N=E(95041);const{mergeRuntime:q}=E(1540);const wrapInCondition=(k,v)=>{if(typeof v==="string"){return N.asString([`if (${k}) {`,N.indent(v),"}",""])}else{return new P(`if (${k}) {\n`,new R("\t",v),"}\n")}};class ConditionalInitFragment extends L{constructor(k,v,E,P,R=true,L){super(k,v,E,P,L);this.runtimeCondition=R}getContent(k){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const v=k.runtimeTemplate.runtimeConditionExpression({chunkGraph:k.chunkGraph,runtimeRequirements:k.runtimeRequirements,runtime:k.runtime,runtimeCondition:this.runtimeCondition});if(v==="true")return this.content;return wrapInCondition(v,this.content)}getEndContent(k){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const v=k.runtimeTemplate.runtimeConditionExpression({chunkGraph:k.chunkGraph,runtimeRequirements:k.runtimeRequirements,runtime:k.runtime,runtimeCondition:this.runtimeCondition});if(v==="true")return this.endContent;return wrapInCondition(v,this.endContent)}merge(k){if(this.runtimeCondition===true)return this;if(k.runtimeCondition===true)return k;if(this.runtimeCondition===false)return k;if(k.runtimeCondition===false)return this;const v=q(this.runtimeCondition,k.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,v,this.endContent)}}k.exports=ConditionalInitFragment},11512:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(11602);const q=E(60381);const{evaluateToString:ae}=E(80784);const{parseResource:le}=E(65315);const collectDeclaration=(k,v)=>{const E=[v];while(E.length>0){const v=E.pop();switch(v.type){case"Identifier":k.add(v.name);break;case"ArrayPattern":for(const k of v.elements){if(k){E.push(k)}}break;case"AssignmentPattern":E.push(v.left);break;case"ObjectPattern":for(const k of v.properties){E.push(k.value)}break;case"RestElement":E.push(v.argument);break}}};const getHoistedDeclarations=(k,v)=>{const E=new Set;const P=[k];while(P.length>0){const k=P.pop();if(!k)continue;switch(k.type){case"BlockStatement":for(const v of k.body){P.push(v)}break;case"IfStatement":P.push(k.consequent);P.push(k.alternate);break;case"ForStatement":P.push(k.init);P.push(k.body);break;case"ForInStatement":case"ForOfStatement":P.push(k.left);P.push(k.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":P.push(k.body);break;case"SwitchStatement":for(const v of k.cases){for(const k of v.consequent){P.push(k)}}break;case"TryStatement":P.push(k.block);if(k.handler){P.push(k.handler.body)}P.push(k.finalizer);break;case"FunctionDeclaration":if(v){collectDeclaration(E,k.id)}break;case"VariableDeclaration":if(k.kind==="var"){for(const v of k.declarations){collectDeclaration(E,v.id)}}break}}return Array.from(E)};const pe="ConstPlugin";class ConstPlugin{apply(k){const v=le.bindCache(k.root);k.hooks.compilation.tap(pe,((k,{normalModuleFactory:E})=>{k.dependencyTemplates.set(q,new q.Template);k.dependencyTemplates.set(N,new N.Template);const handler=k=>{k.hooks.statementIf.tap(pe,(v=>{if(k.scope.isAsmJs)return;const E=k.evaluateExpression(v.test);const P=E.asBool();if(typeof P==="boolean"){if(!E.couldHaveSideEffects()){const R=new q(`${P}`,E.range);R.loc=v.loc;k.state.module.addPresentationalDependency(R)}else{k.walkExpression(v.test)}const R=P?v.alternate:v.consequent;if(R){let v;if(k.scope.isStrict){v=getHoistedDeclarations(R,false)}else{v=getHoistedDeclarations(R,true)}let E;if(v.length>0){E=`{ var ${v.join(", ")}; }`}else{E="{}"}const P=new q(E,R.range);P.loc=R.loc;k.state.module.addPresentationalDependency(P)}return P}}));k.hooks.expressionConditionalOperator.tap(pe,(v=>{if(k.scope.isAsmJs)return;const E=k.evaluateExpression(v.test);const P=E.asBool();if(typeof P==="boolean"){if(!E.couldHaveSideEffects()){const R=new q(` ${P}`,E.range);R.loc=v.loc;k.state.module.addPresentationalDependency(R)}else{k.walkExpression(v.test)}const R=P?v.alternate:v.consequent;const L=new q("0",R.range);L.loc=R.loc;k.state.module.addPresentationalDependency(L);return P}}));k.hooks.expressionLogicalOperator.tap(pe,(v=>{if(k.scope.isAsmJs)return;if(v.operator==="&&"||v.operator==="||"){const E=k.evaluateExpression(v.left);const P=E.asBool();if(typeof P==="boolean"){const R=v.operator==="&&"&&P||v.operator==="||"&&!P;if(!E.couldHaveSideEffects()&&(E.isBoolean()||R)){const R=new q(` ${P}`,E.range);R.loc=v.loc;k.state.module.addPresentationalDependency(R)}else{k.walkExpression(v.left)}if(!R){const E=new q("0",v.right.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E)}return R}}else if(v.operator==="??"){const E=k.evaluateExpression(v.left);const P=E.asNullish();if(typeof P==="boolean"){if(!E.couldHaveSideEffects()&&P){const P=new q(" null",E.range);P.loc=v.loc;k.state.module.addPresentationalDependency(P)}else{const E=new q("0",v.right.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E);k.walkExpression(v.left)}return P}}}));k.hooks.optionalChaining.tap(pe,(v=>{const E=[];let P=v.expression;while(P.type==="MemberExpression"||P.type==="CallExpression"){if(P.type==="MemberExpression"){if(P.optional){E.push(P.object)}P=P.object}else{if(P.optional){E.push(P.callee)}P=P.callee}}while(E.length){const P=E.pop();const R=k.evaluateExpression(P);if(R.asNullish()){const E=new q(" undefined",v.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}}}));k.hooks.evaluateIdentifier.for("__resourceQuery").tap(pe,(E=>{if(k.scope.isAsmJs)return;if(!k.state.module)return;return ae(v(k.state.module.resource).query)(E)}));k.hooks.expression.for("__resourceQuery").tap(pe,(E=>{if(k.scope.isAsmJs)return;if(!k.state.module)return;const P=new N(JSON.stringify(v(k.state.module.resource).query),E.range,"__resourceQuery");P.loc=E.loc;k.state.module.addPresentationalDependency(P);return true}));k.hooks.evaluateIdentifier.for("__resourceFragment").tap(pe,(E=>{if(k.scope.isAsmJs)return;if(!k.state.module)return;return ae(v(k.state.module.resource).fragment)(E)}));k.hooks.expression.for("__resourceFragment").tap(pe,(E=>{if(k.scope.isAsmJs)return;if(!k.state.module)return;const P=new N(JSON.stringify(v(k.state.module.resource).fragment),E.range,"__resourceFragment");P.loc=E.loc;k.state.module.addPresentationalDependency(P);return true}))};E.hooks.parser.for(P).tap(pe,handler);E.hooks.parser.for(R).tap(pe,handler);E.hooks.parser.for(L).tap(pe,handler)}))}}k.exports=ConstPlugin},41454:function(k){"use strict";class ContextExclusionPlugin{constructor(k){this.negativeMatcher=k}apply(k){k.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(k=>{k.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(k=>k.filter((k=>!this.negativeMatcher.test(k)))))}))}}k.exports=ContextExclusionPlugin},48630:function(k,v,E){"use strict";const{OriginalSource:P,RawSource:R}=E(51255);const L=E(75081);const{makeWebpackError:N}=E(82104);const q=E(88396);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:ae}=E(93622);const le=E(56727);const pe=E(95041);const me=E(71572);const{compareLocations:ye,concatComparators:_e,compareSelect:Ie,keepOriginalOrder:Me,compareModulesById:Te}=E(95648);const{contextify:je,parseResource:Ne,makePathsRelative:Be}=E(65315);const qe=E(58528);const Ue={timestamp:true};const Ge=new Set(["javascript"]);class ContextModule extends q{constructor(k,v){if(!v||typeof v.resource==="string"){const k=Ne(v?v.resource:"");const E=k.path;const P=v&&v.resourceQuery||k.query;const R=v&&v.resourceFragment||k.fragment;const L=v&&v.layer;super(ae,E,L);this.options={...v,resource:E,resourceQuery:P,resourceFragment:R}}else{super(ae,undefined,v.layer);this.options={...v,resource:v.resource,resourceQuery:v.resourceQuery||"",resourceFragment:v.resourceFragment||""}}this.resolveDependencies=k;if(v&&v.resolveOptions!==undefined){this.resolveOptions=v.resolveOptions}if(v&&typeof v.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return Ge}updateCacheModule(k){const v=k;this.resolveDependencies=v.resolveDependencies;this.options=v.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}_prettyRegExp(k,v=true){const E=(k+"").replace(/!/g,"%21").replace(/\|/g,"%7C");return v?E.substring(1,E.length-1):E}_createIdentifier(){let k=this.context||(typeof this.options.resource==="string"||this.options.resource===false?`${this.options.resource}`:this.options.resource.join("|"));if(this.options.resourceQuery){k+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){k+=`|${this.options.resourceFragment}`}if(this.options.mode){k+=`|${this.options.mode}`}if(!this.options.recursive){k+="|nonrecursive"}if(this.options.addon){k+=`|${this.options.addon}`}if(this.options.regExp){k+=`|${this._prettyRegExp(this.options.regExp,false)}`}if(this.options.include){k+=`|include: ${this._prettyRegExp(this.options.include,false)}`}if(this.options.exclude){k+=`|exclude: ${this._prettyRegExp(this.options.exclude,false)}`}if(this.options.referencedExports){k+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){k+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){k+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){k+="|strict namespace object"}else if(this.options.namespaceObject){k+="|namespace object"}return k}identifier(){return this._identifier}readableIdentifier(k){let v;if(this.context){v=k.shorten(this.context)+"/"}else if(typeof this.options.resource==="string"||this.options.resource===false){v=k.shorten(`${this.options.resource}`)+"/"}else{v=this.options.resource.map((v=>k.shorten(v)+"/")).join(" ")}if(this.options.resourceQuery){v+=` ${this.options.resourceQuery}`}if(this.options.mode){v+=` ${this.options.mode}`}if(!this.options.recursive){v+=" nonrecursive"}if(this.options.addon){v+=` ${k.shorten(this.options.addon)}`}if(this.options.regExp){v+=` ${this._prettyRegExp(this.options.regExp)}`}if(this.options.include){v+=` include: ${this._prettyRegExp(this.options.include)}`}if(this.options.exclude){v+=` exclude: ${this._prettyRegExp(this.options.exclude)}`}if(this.options.referencedExports){v+=` referencedExports: ${this.options.referencedExports.map((k=>k.join("."))).join(", ")}`}if(this.options.chunkName){v+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const k=this.options.groupOptions;for(const E of Object.keys(k)){v+=` ${E}: ${k[E]}`}}if(this.options.namespaceObject==="strict"){v+=" strict namespace object"}else if(this.options.namespaceObject){v+=" namespace object"}return v}libIdent(k){let v;if(this.context){v=je(k.context,this.context,k.associatedObjectForCache)}else if(typeof this.options.resource==="string"){v=je(k.context,this.options.resource,k.associatedObjectForCache)}else if(this.options.resource===false){v="false"}else{v=this.options.resource.map((v=>je(k.context,v,k.associatedObjectForCache))).join(" ")}if(this.layer)v=`(${this.layer})/${v}`;if(this.options.mode){v+=` ${this.options.mode}`}if(this.options.recursive){v+=" recursive"}if(this.options.addon){v+=` ${je(k.context,this.options.addon,k.associatedObjectForCache)}`}if(this.options.regExp){v+=` ${this._prettyRegExp(this.options.regExp)}`}if(this.options.include){v+=` include: ${this._prettyRegExp(this.options.include)}`}if(this.options.exclude){v+=` exclude: ${this._prettyRegExp(this.options.exclude)}`}if(this.options.referencedExports){v+=` referencedExports: ${this.options.referencedExports.map((k=>k.join("."))).join(", ")}`}return v}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:k},v){if(this._forceBuild)return v(null,true);if(!this.buildInfo.snapshot)return v(null,Boolean(this.context||this.options.resource));k.checkSnapshotValid(this.buildInfo.snapshot,((k,E)=>{v(k,!E)}))}build(k,v,E,P,R){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const q=Date.now();this.resolveDependencies(P,this.options,((k,E)=>{if(k){return R(N(k,"ContextModule.resolveDependencies"))}if(!E){R();return}for(const k of E){k.loc={name:k.userRequest};k.request=this.options.addon+k.request}E.sort(_e(Ie((k=>k.loc),ye),Me(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=E}else if(this.options.mode==="lazy-once"){if(E.length>0){const k=new L({...this.options.groupOptions,name:this.options.chunkName});for(const v of E){k.addDependency(v)}this.addBlock(k)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const k of E){k.weak=true}this.dependencies=E}else if(this.options.mode==="lazy"){let k=0;for(const v of E){let E=this.options.chunkName;if(E){if(!/\[(index|request)\]/.test(E)){E+="[index]"}E=E.replace(/\[index\]/g,`${k++}`);E=E.replace(/\[request\]/g,pe.toPath(v.userRequest))}const P=new L({...this.options.groupOptions,name:E},v.loc,v.userRequest);P.addDependency(v);this.addBlock(P)}}else{R(new me(`Unsupported mode "${this.options.mode}" in context`));return}if(!this.context&&!this.options.resource)return R();v.fileSystemInfo.createSnapshot(q,null,this.context?[this.context]:typeof this.options.resource==="string"?[this.options.resource]:this.options.resource,null,Ue,((k,v)=>{if(k)return R(k);this.buildInfo.snapshot=v;R()}))}))}addCacheDependencies(k,v,E,P){if(this.context){v.add(this.context)}else if(typeof this.options.resource==="string"){v.add(this.options.resource)}else if(this.options.resource===false){return}else{for(const k of this.options.resource)v.add(k)}}getUserRequestMap(k,v){const E=v.moduleGraph;const P=k.filter((k=>E.getModule(k))).sort(((k,v)=>{if(k.userRequest===v.userRequest){return 0}return k.userRequestE.getModule(k))).filter(Boolean).sort(R);const N=Object.create(null);for(const k of L){const R=k.getExportsType(E,this.options.namespaceObject==="strict");const L=v.getModuleId(k);switch(R){case"namespace":N[L]=9;P|=1;break;case"dynamic":N[L]=7;P|=2;break;case"default-only":N[L]=1;P|=4;break;case"default-with-named":N[L]=3;P|=8;break;default:throw new Error(`Unexpected exports type ${R}`)}}if(P===1){return 9}if(P===2){return 7}if(P===4){return 1}if(P===8){return 3}if(P===0){return 9}return N}getFakeMapInitStatement(k){return typeof k==="object"?`var fakeMap = ${JSON.stringify(k,null,"\t")};`:""}getReturn(k,v){if(k===9){return`${le.require}(id)`}return`${le.createFakeNamespaceObject}(id, ${k}${v?" | 16":""})`}getReturnModuleObjectSource(k,v,E="fakeMap[id]"){if(typeof k==="number"){return`return ${this.getReturn(k,v)};`}return`return ${le.createFakeNamespaceObject}(id, ${E}${v?" | 16":""})`}getSyncSource(k,v,E){const P=this.getUserRequestMap(k,E);const R=this.getFakeMap(k,E);const L=this.getReturnModuleObjectSource(R);return`var map = ${JSON.stringify(P,null,"\t")};\n${this.getFakeMapInitStatement(R)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${L}\n}\nfunction webpackContextResolve(req) {\n\tif(!${le.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(v)};`}getWeakSyncSource(k,v,E){const P=this.getUserRequestMap(k,E);const R=this.getFakeMap(k,E);const L=this.getReturnModuleObjectSource(R);return`var map = ${JSON.stringify(P,null,"\t")};\n${this.getFakeMapInitStatement(R)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${le.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${L}\n}\nfunction webpackContextResolve(req) {\n\tif(!${le.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(v)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(k,v,{chunkGraph:E,runtimeTemplate:P}){const R=P.supportsArrowFunction();const L=this.getUserRequestMap(k,E);const N=this.getFakeMap(k,E);const q=this.getReturnModuleObjectSource(N,true);return`var map = ${JSON.stringify(L,null,"\t")};\n${this.getFakeMapInitStatement(N)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${R?"id =>":"function(id)"} {\n\t\tif(!${le.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${q}\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(${R?"() =>":"function()"} {\n\t\tif(!${le.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 = ${P.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(v)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(k,v,{chunkGraph:E,runtimeTemplate:P}){const R=P.supportsArrowFunction();const L=this.getUserRequestMap(k,E);const N=this.getFakeMap(k,E);const q=N!==9?`${R?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(N)}\n\t}`:le.require;return`var map = ${JSON.stringify(L,null,"\t")};\n${this.getFakeMapInitStatement(N)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${q});\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(${R?"() =>":"function()"} {\n\t\tif(!${le.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 = ${P.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(v)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(k,v,E,{runtimeTemplate:P,chunkGraph:R}){const L=P.blockPromise({chunkGraph:R,block:k,message:"lazy-once context",runtimeRequirements:new Set});const N=P.supportsArrowFunction();const q=this.getUserRequestMap(v,R);const ae=this.getFakeMap(v,R);const pe=ae!==9?`${N?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(ae,true)};\n\t}`:le.require;return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(ae)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${pe});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${L}.then(${N?"() =>":"function()"} {\n\t\tif(!${le.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 = ${P.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackAsyncContext;`}getLazySource(k,v,{chunkGraph:E,runtimeTemplate:P}){const R=E.moduleGraph;const L=P.supportsArrowFunction();let N=false;let q=true;const ae=this.getFakeMap(k.map((k=>k.dependencies[0])),E);const pe=typeof ae==="object";const me=k.map((k=>{const v=k.dependencies[0];return{dependency:v,module:R.getModule(v),block:k,userRequest:v.userRequest,chunks:undefined}})).filter((k=>k.module));for(const k of me){const v=E.getBlockChunkGroup(k.block);const P=v&&v.chunks||[];k.chunks=P;if(P.length>0){q=false}if(P.length!==1){N=true}}const ye=q&&!pe;const _e=me.sort(((k,v)=>{if(k.userRequest===v.userRequest)return 0;return k.userRequestk.id)))}}const Me=pe?2:1;const Te=q?"Promise.resolve()":N?`Promise.all(ids.slice(${Me}).map(${le.ensureChunk}))`:`${le.ensureChunk}(ids[${Me}])`;const je=this.getReturnModuleObjectSource(ae,true,ye?"invalid":"ids[1]");const Ne=Te==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${L?"() =>":"function()"} {\n\t\tif(!${le.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${ye?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${je}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${le.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${L?"() =>":"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 ${Te}.then(${L?"() =>":"function()"} {\n\t\t${je}\n\t});\n}`;return`var map = ${JSON.stringify(Ie,null,"\t")};\n${Ne}\nwebpackAsyncContext.keys = ${P.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(v)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(k,v){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 = ${v.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(k)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(k,v){const E=v.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(${E?"() =>":"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 = ${v.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(k)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(k,{runtimeTemplate:v,chunkGraph:E}){const P=E.getModuleId(this);if(k==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,P,{runtimeTemplate:v,chunkGraph:E})}return this.getSourceForEmptyAsyncContext(P,v)}if(k==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,P,{chunkGraph:E,runtimeTemplate:v})}return this.getSourceForEmptyAsyncContext(P,v)}if(k==="lazy-once"){const k=this.blocks[0];if(k){return this.getLazyOnceSource(k,k.dependencies,P,{runtimeTemplate:v,chunkGraph:E})}return this.getSourceForEmptyAsyncContext(P,v)}if(k==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,P,{chunkGraph:E,runtimeTemplate:v})}return this.getSourceForEmptyAsyncContext(P,v)}if(k==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,P,E)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,P,E)}return this.getSourceForEmptyContext(P,v)}getSource(k,v){if(this.useSourceMap||this.useSimpleSourceMap){return new P(k,`webpack://${Be(v&&v.compiler.context||"",this.identifier(),v&&v.compiler.root)}`)}return new R(k)}codeGeneration(k){const{chunkGraph:v,compilation:E}=k;const P=new Map;P.set("javascript",this.getSource(this.getSourceString(this.options.mode,k),E));const R=new Set;const L=this.dependencies.length>0?this.dependencies.slice():[];for(const k of this.blocks)for(const v of k.dependencies)L.push(v);R.add(le.module);R.add(le.hasOwnProperty);if(L.length>0){const k=this.options.mode;R.add(le.require);if(k==="weak"){R.add(le.moduleFactories)}else if(k==="async-weak"){R.add(le.moduleFactories);R.add(le.ensureChunk)}else if(k==="lazy"||k==="lazy-once"){R.add(le.ensureChunk)}if(this.getFakeMap(L,v)!==9){R.add(le.createFakeNamespaceObject)}}return{sources:P,runtimeRequirements:R}}size(k){let v=160;for(const k of this.dependencies){const E=k;v+=5+E.userRequest.length}return v}serialize(k){const{write:v}=k;v(this._identifier);v(this._forceBuild);super.serialize(k)}deserialize(k){const{read:v}=k;this._identifier=v();this._forceBuild=v();super.deserialize(k)}}qe(ContextModule,"webpack/lib/ContextModule");k.exports=ContextModule},20467:function(k,v,E){"use strict";const P=E(78175);const{AsyncSeriesWaterfallHook:R,SyncWaterfallHook:L}=E(79846);const N=E(48630);const q=E(66043);const ae=E(16624);const le=E(12359);const{cachedSetProperty:pe}=E(99454);const{createFakeHook:me}=E(61883);const{join:ye}=E(57825);const _e={};k.exports=class ContextModuleFactory extends q{constructor(k){super();const v=new R(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new R(["data"]),afterResolve:new R(["data"]),contextModuleFiles:new L(["files"]),alternatives:me({name:"alternatives",intercept:k=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(k,E)=>{v.tap(k,E)},tapAsync:(k,E)=>{v.tapAsync(k,((k,v,P)=>E(k,P)))},tapPromise:(k,E)=>{v.tapPromise(k,E)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:v});this.resolverFactory=k}create(k,v){const E=k.context;const R=k.dependencies;const L=k.resolveOptions;const q=R[0];const ae=new le;const me=new le;const ye=new le;this.hooks.beforeResolve.callAsync({context:E,dependencies:R,layer:k.contextInfo.issuerLayer,resolveOptions:L,fileDependencies:ae,missingDependencies:me,contextDependencies:ye,...q.options},((k,E)=>{if(k){return v(k,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye})}if(!E){return v(null,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye})}const L=E.context;const q=E.request;const le=E.resolveOptions;let Ie,Me,Te="";const je=q.lastIndexOf("!");if(je>=0){let k=q.slice(0,je+1);let v;for(v=0;v0?pe(le||_e,"dependencyType",R[0].category):le);const Be=this.resolverFactory.get("loader");P.parallel([k=>{const v=[];const yield_=k=>v.push(k);Ne.resolve({},L,Me,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye,yield:yield_},(E=>{if(E)return k(E);k(null,v)}))},k=>{P.map(Ie,((k,v)=>{Be.resolve({},L,k,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye},((k,E)=>{if(k)return v(k);v(null,E)}))}),k)}],((k,P)=>{if(k){return v(k,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye})}let[R,L]=P;if(R.length>1){const k=R[0];R=R.filter((k=>k.path));if(R.length===0)R.push(k)}this.hooks.afterResolve.callAsync({addon:Te+L.join("!")+(L.length>0?"!":""),resource:R.length>1?R.map((k=>k.path)):R[0].path,resolveDependencies:this.resolveDependencies.bind(this),resourceQuery:R[0].query,resourceFragment:R[0].fragment,...E},((k,E)=>{if(k){return v(k,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye})}if(!E){return v(null,{fileDependencies:ae,missingDependencies:me,contextDependencies:ye})}return v(null,{module:new N(E.resolveDependencies,E),fileDependencies:ae,missingDependencies:me,contextDependencies:ye})}))}))}))}resolveDependencies(k,v,E){const R=this;const{resource:L,resourceQuery:N,resourceFragment:q,recursive:le,regExp:pe,include:me,exclude:_e,referencedExports:Ie,category:Me,typePrefix:Te}=v;if(!pe||!L)return E(null,[]);const addDirectoryChecked=(v,E,P,R)=>{k.realpath(E,((k,L)=>{if(k)return R(k);if(P.has(L))return R(null,[]);let N;addDirectory(v,E,((k,E,R)=>{if(N===undefined){N=new Set(P);N.add(L)}addDirectoryChecked(v,E,N,R)}),R)}))};const addDirectory=(E,L,je,Ne)=>{k.readdir(L,((Be,qe)=>{if(Be)return Ne(Be);const Ue=R.hooks.contextModuleFiles.call(qe.map((k=>k.normalize("NFC"))));if(!Ue||Ue.length===0)return Ne(null,[]);P.map(Ue.filter((k=>k.indexOf(".")!==0)),((P,R)=>{const Ne=ye(k,L,P);if(!_e||!Ne.match(_e)){k.stat(Ne,((k,P)=>{if(k){if(k.code==="ENOENT"){return R()}else{return R(k)}}if(P.isDirectory()){if(!le)return R();je(E,Ne,R)}else if(P.isFile()&&(!me||Ne.match(me))){const k={context:E,request:"."+Ne.slice(E.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([k],v,((k,v)=>{if(k)return R(k);v=v.filter((k=>pe.test(k.request))).map((k=>{const v=new ae(`${k.request}${N}${q}`,k.request,Te,Me,Ie,k.context);v.optional=true;return v}));R(null,v)}))}else{R()}}))}else{R()}}),((k,v)=>{if(k)return Ne(k);if(!v)return Ne(null,[]);const E=[];for(const k of v){if(k)E.push(...k)}Ne(null,E)}))}))};const addSubDirectory=(k,v,E)=>addDirectory(k,v,addSubDirectory,E);const visitResource=(v,E)=>{if(typeof k.realpath==="function"){addDirectoryChecked(v,v,new Set,E)}else{addDirectory(v,v,addSubDirectory,E)}};if(typeof L==="string"){visitResource(L,E)}else{P.map(L,visitResource,((k,v)=>{if(k)return E(k);const P=new Set;const R=[];for(let k=0;k{v(null,E)}}else if(typeof v==="string"&&typeof E==="function"){this.newContentResource=v;this.newContentCreateContextMap=E}else{if(typeof v!=="string"){P=E;E=v;v=undefined}if(typeof E!=="boolean"){P=E;E=undefined}this.newContentResource=v;this.newContentRecursive=E;this.newContentRegExp=P}}apply(k){const v=this.resourceRegExp;const E=this.newContentCallback;const P=this.newContentResource;const L=this.newContentRecursive;const N=this.newContentRegExp;const q=this.newContentCreateContextMap;k.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(ae=>{ae.hooks.beforeResolve.tap("ContextReplacementPlugin",(k=>{if(!k)return;if(v.test(k.request)){if(P!==undefined){k.request=P}if(L!==undefined){k.recursive=L}if(N!==undefined){k.regExp=N}if(typeof E==="function"){E(k)}else{for(const v of k.dependencies){if(v.critical)v.critical=false}}}return k}));ae.hooks.afterResolve.tap("ContextReplacementPlugin",(ae=>{if(!ae)return;if(v.test(ae.resource)){if(P!==undefined){if(P.startsWith("/")||P.length>1&&P[1]===":"){ae.resource=P}else{ae.resource=R(k.inputFileSystem,ae.resource,P)}}if(L!==undefined){ae.recursive=L}if(N!==undefined){ae.regExp=N}if(typeof q==="function"){ae.resolveDependencies=createResolveDependenciesFromContextMap(q)}if(typeof E==="function"){const v=ae.resource;E(ae);if(ae.resource!==v&&!ae.resource.startsWith("/")&&(ae.resource.length<=1||ae.resource[1]!==":")){ae.resource=R(k.inputFileSystem,v,ae.resource)}}else{for(const k of ae.dependencies){if(k.critical)k.critical=false}}}return ae}))}))}}const createResolveDependenciesFromContextMap=k=>{const resolveDependenciesFromContextMap=(v,E,R)=>{k(v,((k,v)=>{if(k)return R(k);const L=Object.keys(v).map((k=>new P(v[k]+E.resourceQuery+E.resourceFragment,k,E.category,E.referencedExports)));R(null,L)}))};return resolveDependenciesFromContextMap};k.exports=ContextReplacementPlugin},51585:function(k,v,E){"use strict";const P=E(38224);const R=E(58528);class CssModule extends P{constructor(k){super(k);this.cssLayer=k.cssLayer;this.supports=k.supports;this.media=k.media;this.inheritance=k.inheritance}identifier(){let k=super.identifier();if(this.cssLayer){k+=`|${this.cssLayer}`}if(this.supports){k+=`|${this.supports}`}if(this.media){k+=`|${this.media}`}if(this.inheritance){const v=this.inheritance.map(((k,v)=>`inheritance_${v}|${k[0]||""}|${k[1]||""}|${k[2]||""}`));k+=`|${v.join("|")}`}return k}readableIdentifier(k){const v=super.readableIdentifier(k);let E=`css ${v}`;if(this.cssLayer){E+=` (layer: ${this.cssLayer})`}if(this.supports){E+=` (supports: ${this.supports})`}if(this.media){E+=` (media: ${this.media})`}return E}updateCacheModule(k){super.updateCacheModule(k);const v=k;this.cssLayer=v.cssLayer;this.supports=v.supports;this.media=v.media;this.inheritance=v.inheritance}serialize(k){const{write:v}=k;v(this.cssLayer);v(this.supports);v(this.media);v(this.inheritance);super.serialize(k)}static deserialize(k){const v=new CssModule({layer:null,type:"",resource:"",context:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null,cssLayer:null,supports:null,media:null,inheritance:null});v.deserialize(k);return v}deserialize(k){const{read:v}=k;this.cssLayer=v();this.supports=v();this.media=v();this.inheritance=v();super.deserialize(k)}}R(CssModule,"webpack/lib/CssModule");k.exports=CssModule},91602:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_ESM:R,JAVASCRIPT_MODULE_TYPE_DYNAMIC:L}=E(93622);const N=E(56727);const q=E(71572);const ae=E(60381);const le=E(70037);const{evaluateToString:pe,toConstantDependency:me}=E(80784);const ye=E(74012);class RuntimeValue{constructor(k,v){this.fn=k;if(Array.isArray(v)){v={fileDependencies:v}}this.options=v||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(k,v,E){const P=k.state.module.buildInfo;if(this.options===true){P.cacheable=false}else{if(this.options.fileDependencies){for(const k of this.options.fileDependencies){P.fileDependencies.add(k)}}if(this.options.contextDependencies){for(const k of this.options.contextDependencies){P.contextDependencies.add(k)}}if(this.options.missingDependencies){for(const k of this.options.missingDependencies){P.missingDependencies.add(k)}}if(this.options.buildDependencies){for(const k of this.options.buildDependencies){P.buildDependencies.add(k)}}}return this.fn({module:k.state.module,key:E,get version(){return v.get(Ie+E)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(k,v,E,P,R,L,N,q)=>{let ae;let le=Array.isArray(k);if(le){ae=`[${k.map((k=>toCode(k,v,E,P,R,L,null))).join(",")}]`}else{let P=Object.keys(k);if(q){if(q.size===0)P=[];else P=P.filter((k=>q.has(k)))}ae=`{${P.map((P=>{const N=k[P];return JSON.stringify(P)+":"+toCode(N,v,E,P,R,L,null)})).join(",")}}`}switch(N){case null:return ae;case true:return le?ae:`(${ae})`;case false:return le?`;${ae}`:`;(${ae})`;default:return`/*#__PURE__*/Object(${ae})`}};const toCode=(k,v,E,P,R,L,N,q)=>{const transformToCode=()=>{if(k===null){return"null"}if(k===undefined){return"undefined"}if(Object.is(k,-0)){return"-0"}if(k instanceof RuntimeValue){return toCode(k.exec(v,E,P),v,E,P,R,L,N)}if(k instanceof RegExp&&k.toString){return k.toString()}if(typeof k==="function"&&k.toString){return"("+k.toString()+")"}if(typeof k==="object"){return stringifyObj(k,v,E,P,R,L,N,q)}if(typeof k==="bigint"){return R.supportsBigIntLiteral()?`${k}n`:`BigInt("${k}")`}return k+""};const ae=transformToCode();L.log(`Replaced "${P}" with "${ae}"`);return ae};const toCacheVersion=k=>{if(k===null){return"null"}if(k===undefined){return"undefined"}if(Object.is(k,-0)){return"-0"}if(k instanceof RuntimeValue){return k.getCacheVersion()}if(k instanceof RegExp&&k.toString){return k.toString()}if(typeof k==="function"&&k.toString){return"("+k.toString()+")"}if(typeof k==="object"){const v=Object.keys(k).map((v=>({key:v,value:toCacheVersion(k[v])})));if(v.some((({value:k})=>k===undefined)))return undefined;return`{${v.map((({key:k,value:v})=>`${k}: ${v}`)).join(", ")}}`}if(typeof k==="bigint"){return`${k}n`}return k+""};const _e="DefinePlugin";const Ie=`webpack/${_e} `;const Me=`webpack/${_e}_hash`;const Te=/^typeof\s+/;const je=/__webpack_require__\s*(!?\.)/;const Ne=/__webpack_require__/;class DefinePlugin{constructor(k){this.definitions=k}static runtimeValue(k,v){return new RuntimeValue(k,v)}apply(k){const v=this.definitions;k.hooks.compilation.tap(_e,((k,{normalModuleFactory:E})=>{const Be=k.getLogger("webpack.DefinePlugin");k.dependencyTemplates.set(ae,new ae.Template);const{runtimeTemplate:qe}=k;const Ue=ye(k.outputOptions.hashFunction);Ue.update(k.valueCacheVersions.get(Me)||"");const handler=E=>{const P=k.valueCacheVersions.get(Me);E.hooks.program.tap(_e,(()=>{const{buildInfo:k}=E.state.module;if(!k.valueDependencies)k.valueDependencies=new Map;k.valueDependencies.set(Me,P)}));const addValueDependency=v=>{const{buildInfo:P}=E.state.module;P.valueDependencies.set(Ie+v,k.valueCacheVersions.get(Ie+v))};const withValueDependency=(k,v)=>(...E)=>{addValueDependency(k);return v(...E)};const walkDefinitions=(k,v)=>{Object.keys(k).forEach((E=>{const P=k[E];if(P&&typeof P==="object"&&!(P instanceof RuntimeValue)&&!(P instanceof RegExp)){walkDefinitions(P,v+E+".");applyObjectDefine(v+E,P);return}applyDefineKey(v,E);applyDefine(v+E,P)}))};const applyDefineKey=(k,v)=>{const P=v.split(".");P.slice(1).forEach(((R,L)=>{const N=k+P.slice(0,L+1).join(".");E.hooks.canRename.for(N).tap(_e,(()=>{addValueDependency(v);return true}))}))};const applyDefine=(v,P)=>{const R=v;const L=Te.test(v);if(L)v=v.replace(Te,"");let q=false;let ae=false;if(!L){E.hooks.canRename.for(v).tap(_e,(()=>{addValueDependency(R);return true}));E.hooks.evaluateIdentifier.for(v).tap(_e,(L=>{if(q)return;addValueDependency(R);q=true;const N=E.evaluate(toCode(P,E,k.valueCacheVersions,v,qe,Be,null));q=false;N.setRange(L.range);return N}));E.hooks.expression.for(v).tap(_e,(v=>{addValueDependency(R);let L=toCode(P,E,k.valueCacheVersions,R,qe,Be,!E.isAsiPosition(v.range[0]),E.destructuringAssignmentPropertiesFor(v));if(E.scope.inShorthand){L=E.scope.inShorthand+":"+L}if(je.test(L)){return me(E,L,[N.require])(v)}else if(Ne.test(L)){return me(E,L,[N.requireScope])(v)}else{return me(E,L)(v)}}))}E.hooks.evaluateTypeof.for(v).tap(_e,(v=>{if(ae)return;ae=true;addValueDependency(R);const N=toCode(P,E,k.valueCacheVersions,R,qe,Be,null);const q=L?N:"typeof ("+N+")";const le=E.evaluate(q);ae=false;le.setRange(v.range);return le}));E.hooks.typeof.for(v).tap(_e,(v=>{addValueDependency(R);const N=toCode(P,E,k.valueCacheVersions,R,qe,Be,null);const q=L?N:"typeof ("+N+")";const ae=E.evaluate(q);if(!ae.isString())return;return me(E,JSON.stringify(ae.string)).bind(E)(v)}))};const applyObjectDefine=(v,P)=>{E.hooks.canRename.for(v).tap(_e,(()=>{addValueDependency(v);return true}));E.hooks.evaluateIdentifier.for(v).tap(_e,(k=>{addValueDependency(v);return(new le).setTruthy().setSideEffects(false).setRange(k.range)}));E.hooks.evaluateTypeof.for(v).tap(_e,withValueDependency(v,pe("object")));E.hooks.expression.for(v).tap(_e,(R=>{addValueDependency(v);let L=stringifyObj(P,E,k.valueCacheVersions,v,qe,Be,!E.isAsiPosition(R.range[0]),E.destructuringAssignmentPropertiesFor(R));if(E.scope.inShorthand){L=E.scope.inShorthand+":"+L}if(je.test(L)){return me(E,L,[N.require])(R)}else if(Ne.test(L)){return me(E,L,[N.requireScope])(R)}else{return me(E,L)(R)}}));E.hooks.typeof.for(v).tap(_e,withValueDependency(v,me(E,JSON.stringify("object"))))};walkDefinitions(v,"")};E.hooks.parser.for(P).tap(_e,handler);E.hooks.parser.for(L).tap(_e,handler);E.hooks.parser.for(R).tap(_e,handler);const walkDefinitionsForValues=(v,E)=>{Object.keys(v).forEach((P=>{const R=v[P];const L=toCacheVersion(R);const N=Ie+E+P;Ue.update("|"+E+P);const ae=k.valueCacheVersions.get(N);if(ae===undefined){k.valueCacheVersions.set(N,L)}else if(ae!==L){const v=new q(`${_e}\nConflicting values for '${E+P}'`);v.details=`'${ae}' !== '${L}'`;v.hideStack=true;k.warnings.push(v)}if(R&&typeof R==="object"&&!(R instanceof RuntimeValue)&&!(R instanceof RegExp)){walkDefinitionsForValues(R,E+P+".")}}))};walkDefinitionsForValues(v,"");k.valueCacheVersions.set(Me,Ue.digest("hex").slice(0,8))}))}}k.exports=DefinePlugin},50901:function(k,v,E){"use strict";const{OriginalSource:P,RawSource:R}=E(51255);const L=E(88396);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:N}=E(93622);const q=E(56727);const ae=E(47788);const le=E(93414);const pe=E(58528);const me=new Set(["javascript"]);const ye=new Set([q.module,q.require]);class DelegatedModule extends L{constructor(k,v,E,P,R){super(N,null);this.sourceRequest=k;this.request=v.id;this.delegationType=E;this.userRequest=P;this.originalRequest=R;this.delegateData=v;this.delegatedSourceDependency=undefined}getSourceTypes(){return me}libIdent(k){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(k)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(k){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(k,v){return v(null,!this.buildMeta)}build(k,v,E,P,R){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new ae(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new le(this.delegateData.exports||true,false));R()}codeGeneration({runtimeTemplate:k,moduleGraph:v,chunkGraph:E}){const L=this.dependencies[0];const N=v.getModule(L);let q;if(!N){q=k.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{q=`module.exports = (${k.moduleExports({module:N,chunkGraph:E,request:L.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":q+=`(${JSON.stringify(this.request)})`;break;case"object":q+=`[${JSON.stringify(this.request)}]`;break}q+=";"}const ae=new Map;if(this.useSourceMap||this.useSimpleSourceMap){ae.set("javascript",new P(q,this.identifier()))}else{ae.set("javascript",new R(q))}return{sources:ae,runtimeRequirements:ye}}size(k){return 42}updateHash(k,v){k.update(this.delegationType);k.update(JSON.stringify(this.request));super.updateHash(k,v)}serialize(k){const{write:v}=k;v(this.sourceRequest);v(this.delegateData);v(this.delegationType);v(this.userRequest);v(this.originalRequest);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new DelegatedModule(v(),v(),v(),v(),v());E.deserialize(k);return E}updateCacheModule(k){super.updateCacheModule(k);const v=k;this.delegationType=v.delegationType;this.userRequest=v.userRequest;this.originalRequest=v.originalRequest;this.delegateData=v.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}pe(DelegatedModule,"webpack/lib/DelegatedModule");k.exports=DelegatedModule},42126:function(k,v,E){"use strict";const P=E(50901);class DelegatedModuleFactoryPlugin{constructor(k){this.options=k;k.type=k.type||"require";k.extensions=k.extensions||["",".js",".json",".wasm"]}apply(k){const v=this.options.scope;if(v){k.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((k,E)=>{const[R]=k.dependencies;const{request:L}=R;if(L&&L.startsWith(`${v}/`)){const k="."+L.slice(v.length);let R;if(k in this.options.content){R=this.options.content[k];return E(null,new P(this.options.source,R,this.options.type,k,L))}for(let v=0;v{const v=k.libIdent(this.options);if(v){if(v in this.options.content){const E=this.options.content[v];return new P(this.options.source,E,this.options.type,v,k)}}return k}))}}}k.exports=DelegatedModuleFactoryPlugin},27064:function(k,v,E){"use strict";const P=E(42126);const R=E(47788);class DelegatedPlugin{constructor(k){this.options=k}apply(k){k.hooks.compilation.tap("DelegatedPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(R,v)}));k.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:v})=>{new P({associatedObjectForCache:k.root,...this.options}).apply(v)}))}}k.exports=DelegatedPlugin},38706:function(k,v,E){"use strict";const P=E(58528);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.parent=undefined}getRootBlock(){let k=this;while(k.parent)k=k.parent;return k}addBlock(k){this.blocks.push(k);k.parent=this}addDependency(k){this.dependencies.push(k)}removeDependency(k){const v=this.dependencies.indexOf(k);if(v>=0){this.dependencies.splice(v,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(k,v){for(const E of this.dependencies){E.updateHash(k,v)}for(const E of this.blocks){E.updateHash(k,v)}}serialize({write:k}){k(this.dependencies);k(this.blocks)}deserialize({read:k}){this.dependencies=k();this.blocks=k();for(const k of this.blocks){k.parent=this}}}P(DependenciesBlock,"webpack/lib/DependenciesBlock");k.exports=DependenciesBlock},16848:function(k,v,E){"use strict";const P=E(20631);const R=Symbol("transitive");const L=P((()=>{const k=E(91169);return new k("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this._parentModule=undefined;this._parentDependenciesBlock=undefined;this._parentDependenciesBlockIndex=-1;this.weak=false;this.optional=false;this._locSL=0;this._locSC=0;this._locEL=0;this._locEC=0;this._locI=undefined;this._locN=undefined;this._loc=undefined}get type(){return"unknown"}get category(){return"unknown"}get loc(){if(this._loc!==undefined)return this._loc;const k={};if(this._locSL>0){k.start={line:this._locSL,column:this._locSC}}if(this._locEL>0){k.end={line:this._locEL,column:this._locEC}}if(this._locN!==undefined){k.name=this._locN}if(this._locI!==undefined){k.index=this._locI}return this._loc=k}set loc(k){if("start"in k&&typeof k.start==="object"){this._locSL=k.start.line||0;this._locSC=k.start.column||0}else{this._locSL=0;this._locSC=0}if("end"in k&&typeof k.end==="object"){this._locEL=k.end.line||0;this._locEC=k.end.column||0}else{this._locEL=0;this._locEC=0}if("index"in k){this._locI=k.index}else{this._locI=undefined}if("name"in k){this._locN=k.name}else{this._locN=undefined}this._loc=k}setLoc(k,v,E,P){this._locSL=k;this._locSC=v;this._locEL=E;this._locEC=P;this._locI=undefined;this._locN=undefined;this._loc=undefined}getContext(){return undefined}getResourceIdentifier(){return null}couldAffectReferencingModule(){return R}getReference(k){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(k,v){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(k){return null}getExports(k){return undefined}getWarnings(k){return null}getErrors(k){return null}updateHash(k,v){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(k){return true}createIgnoredModule(k){return L()}serialize({write:k}){k(this.weak);k(this.optional);k(this._locSL);k(this._locSC);k(this._locEL);k(this._locEC);k(this._locI);k(this._locN)}deserialize({read:k}){this.weak=k();this.optional=k();this._locSL=k();this._locSC=k();this._locEL=k();this._locEC=k();this._locI=k();this._locN=k()}}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)")}});Dependency.TRANSITIVE=R;k.exports=Dependency},30601:function(k,v,E){"use strict";class DependencyTemplate{apply(k,v,P){const R=E(60386);throw new R}}k.exports=DependencyTemplate},3175:function(k,v,E){"use strict";const P=E(74012);class DependencyTemplates{constructor(k="md4"){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0";this._hashFunction=k}get(k){return this._map.get(k)}set(k,v){this._map.set(k,v)}updateHash(k){const v=P(this._hashFunction);v.update(`${this._hash}${k}`);this._hash=v.digest("hex")}getHash(){return this._hash}clone(){const k=new DependencyTemplates(this._hashFunction);k._map=new Map(this._map);k._hash=this._hash;return k}}k.exports=DependencyTemplates},8958:function(k,v,E){"use strict";const P=E(20821);const R=E(50478);const L=E(25248);class DllEntryPlugin{constructor(k,v,E){this.context=k;this.entries=v;this.options=E}apply(k){k.hooks.compilation.tap("DllEntryPlugin",((k,{normalModuleFactory:v})=>{const E=new P;k.dependencyFactories.set(R,E);k.dependencyFactories.set(L,v)}));k.hooks.make.tapAsync("DllEntryPlugin",((k,v)=>{k.addEntry(this.context,new R(this.entries.map(((k,v)=>{const E=new L(k);E.loc={name:this.options.name,index:v};return E})),this.options.name),this.options,v)}))}}k.exports=DllEntryPlugin},2168:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(88396);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:L}=E(93622);const N=E(56727);const q=E(58528);const ae=new Set(["javascript"]);const le=new Set([N.require,N.module]);class DllModule extends R{constructor(k,v,E){super(L,k);this.dependencies=v;this.name=E}getSourceTypes(){return ae}identifier(){return`dll ${this.name}`}readableIdentifier(k){return`dll ${this.name}`}build(k,v,E,P,R){this.buildMeta={};this.buildInfo={};return R()}codeGeneration(k){const v=new Map;v.set("javascript",new P(`module.exports = ${N.require};`));return{sources:v,runtimeRequirements:le}}needBuild(k,v){return v(null,!this.buildMeta)}size(k){return 12}updateHash(k,v){k.update(`dll module${this.name||""}`);super.updateHash(k,v)}serialize(k){k.write(this.name);super.serialize(k)}deserialize(k){this.name=k.read();super.deserialize(k)}updateCacheModule(k){super.updateCacheModule(k);this.dependencies=k.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}q(DllModule,"webpack/lib/DllModule");k.exports=DllModule},20821:function(k,v,E){"use strict";const P=E(2168);const R=E(66043);class DllModuleFactory extends R{constructor(){super();this.hooks=Object.freeze({})}create(k,v){const E=k.dependencies[0];v(null,{module:new P(k.context,E.dependencies,E.name)})}}k.exports=DllModuleFactory},97765:function(k,v,E){"use strict";const P=E(8958);const R=E(17092);const L=E(98060);const N=E(92198);const q=N(E(79339),(()=>E(10519)),{name:"Dll Plugin",baseDataPath:"options"});class DllPlugin{constructor(k){q(k);this.options={...k,entryOnly:k.entryOnly!==false}}apply(k){k.hooks.entryOption.tap("DllPlugin",((v,E)=>{if(typeof E!=="function"){for(const R of Object.keys(E)){const L={name:R,filename:E.filename};new P(v,E[R].import,L).apply(k)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new L(this.options).apply(k);if(!this.options.entryOnly){new R("DllPlugin").apply(k)}}}k.exports=DllPlugin},95619:function(k,v,E){"use strict";const P=E(54650);const R=E(42126);const L=E(37368);const N=E(71572);const q=E(47788);const ae=E(92198);const le=E(65315).makePathsRelative;const pe=ae(E(70959),(()=>E(18498)),{name:"Dll Reference Plugin",baseDataPath:"options"});class DllReferencePlugin{constructor(k){pe(k);this.options=k;this._compilationData=new WeakMap}apply(k){k.hooks.compilation.tap("DllReferencePlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(q,v)}));k.hooks.beforeCompile.tapAsync("DllReferencePlugin",((v,E)=>{if("manifest"in this.options){const R=this.options.manifest;if(typeof R==="string"){k.inputFileSystem.readFile(R,((L,N)=>{if(L)return E(L);const q={path:R,data:undefined,error:undefined};try{q.data=P(N.toString("utf-8"))}catch(v){const E=le(k.options.context,R,k.root);q.error=new DllManifestError(E,v.message)}this._compilationData.set(v,q);return E()}));return}}return E()}));k.hooks.compile.tap("DllReferencePlugin",(v=>{let E=this.options.name;let P=this.options.sourceType;let N="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let k=this.options.manifest;let R;if(typeof k==="string"){const k=this._compilationData.get(v);if(k.error){return}R=k.data}else{R=k}if(R){if(!E)E=R.name;if(!P)P=R.type;if(!N)N=R.content}}const q={};const ae="dll-reference "+E;q[ae]=E;const le=v.normalModuleFactory;new L(P||"var",q).apply(le);new R({source:ae,type:this.options.type,scope:this.options.scope,context:this.options.context||k.options.context,content:N,extensions:this.options.extensions,associatedObjectForCache:k.root}).apply(le)}));k.hooks.compilation.tap("DllReferencePlugin",((k,v)=>{if("manifest"in this.options){let E=this.options.manifest;if(typeof E==="string"){const P=this._compilationData.get(v);if(P.error){k.errors.push(P.error)}k.fileDependencies.add(E)}}}))}}class DllManifestError extends N{constructor(k,v){super();this.name="DllManifestError";this.message=`Dll manifest ${k}\n${v}`}}k.exports=DllReferencePlugin},54602:function(k,v,E){"use strict";const P=E(26591);const R=E(17570);const L=E(25248);class DynamicEntryPlugin{constructor(k,v){this.context=k;this.entry=v}apply(k){k.hooks.compilation.tap("DynamicEntryPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(L,v)}));k.hooks.make.tapPromise("DynamicEntryPlugin",((v,E)=>Promise.resolve(this.entry()).then((E=>{const L=[];for(const N of Object.keys(E)){const q=E[N];const ae=P.entryDescriptionToOptions(k,N,q);for(const k of q.import){L.push(new Promise(((E,P)=>{v.addEntry(this.context,R.createDependency(k,ae),ae,(k=>{if(k)return P(k);E()}))})))}}return Promise.all(L)})).then((k=>{}))))}}k.exports=DynamicEntryPlugin},26591:function(k,v,E){"use strict";class EntryOptionPlugin{apply(k){k.hooks.entryOption.tap("EntryOptionPlugin",((v,E)=>{EntryOptionPlugin.applyEntryOption(k,v,E);return true}))}static applyEntryOption(k,v,P){if(typeof P==="function"){const R=E(54602);new R(v,P).apply(k)}else{const R=E(17570);for(const E of Object.keys(P)){const L=P[E];const N=EntryOptionPlugin.entryDescriptionToOptions(k,E,L);for(const E of L.import){new R(v,E,N).apply(k)}}}}static entryDescriptionToOptions(k,v,P){const R={name:v,filename:P.filename,runtime:P.runtime,layer:P.layer,dependOn:P.dependOn,baseUri:P.baseUri,publicPath:P.publicPath,chunkLoading:P.chunkLoading,asyncChunks:P.asyncChunks,wasmLoading:P.wasmLoading,library:P.library};if(P.layer!==undefined&&!k.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if(P.chunkLoading){const v=E(73126);v.checkEnabled(k,P.chunkLoading)}if(P.wasmLoading){const v=E(50792);v.checkEnabled(k,P.wasmLoading)}if(P.library){const v=E(60234);v.checkEnabled(k,P.library.type)}return R}}k.exports=EntryOptionPlugin},17570:function(k,v,E){"use strict";const P=E(25248);class EntryPlugin{constructor(k,v,E){this.context=k;this.entry=v;this.options=E||""}apply(k){k.hooks.compilation.tap("EntryPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(P,v)}));const{entry:v,options:E,context:R}=this;const L=EntryPlugin.createDependency(v,E);k.hooks.make.tapAsync("EntryPlugin",((k,v)=>{k.addEntry(R,L,E,(k=>{v(k)}))}))}static createDependency(k,v){const E=new P(k);E.loc={name:typeof v==="object"?v.name:v};return E}}k.exports=EntryPlugin},10969:function(k,v,E){"use strict";const P=E(28541);class Entrypoint extends P{constructor(k,v=true){if(typeof k==="string"){k={name:k}}super({name:k.name});this.options=k;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=v}isInitial(){return this._initial}setRuntimeChunk(k){this._runtimeChunk=k}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const k of this.parentsIterable){if(k instanceof Entrypoint)return k.getRuntimeChunk()}return null}setEntrypointChunk(k){this._entrypointChunk=k}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(k,v){if(this._runtimeChunk===k)this._runtimeChunk=v;if(this._entrypointChunk===k)this._entrypointChunk=v;return super.replaceChunk(k,v)}}k.exports=Entrypoint},32149:function(k,v,E){"use strict";const P=E(91602);const R=E(71572);class EnvironmentPlugin{constructor(...k){if(k.length===1&&Array.isArray(k[0])){this.keys=k[0];this.defaultValues={}}else if(k.length===1&&k[0]&&typeof k[0]==="object"){this.keys=Object.keys(k[0]);this.defaultValues=k[0]}else{this.keys=k;this.defaultValues={}}}apply(k){const v={};for(const E of this.keys){const P=process.env[E]!==undefined?process.env[E]:this.defaultValues[E];if(P===undefined){k.hooks.thisCompilation.tap("EnvironmentPlugin",(k=>{const v=new R(`EnvironmentPlugin - ${E} 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.");v.name="EnvVariableNotDefinedError";k.errors.push(v)}))}v[`process.env.${E}`]=P===undefined?"undefined":JSON.stringify(P)}new P(v).apply(k)}}k.exports=EnvironmentPlugin},53657:function(k,v){"use strict";const E="LOADER_EXECUTION";const P="WEBPACK_OPTIONS";const cutOffByFlag=(k,v)=>{const E=k.split("\n");for(let k=0;kcutOffByFlag(k,E);const cutOffWebpackOptions=k=>cutOffByFlag(k,P);const cutOffMultilineMessage=(k,v)=>{const E=k.split("\n");const P=v.split("\n");const R=[];E.forEach(((k,v)=>{if(!k.includes(P[v]))R.push(k)}));return R.join("\n")};const cutOffMessage=(k,v)=>{const E=k.indexOf("\n");if(E===-1){return k===v?"":k}else{const P=k.slice(0,E);return P===v?k.slice(E+1):k}};const cleanUp=(k,v)=>{k=cutOffLoaderExecution(k);k=cutOffMessage(k,v);return k};const cleanUpWebpackOptions=(k,v)=>{k=cutOffWebpackOptions(k);k=cutOffMultilineMessage(k,v);return k};v.cutOffByFlag=cutOffByFlag;v.cutOffLoaderExecution=cutOffLoaderExecution;v.cutOffWebpackOptions=cutOffWebpackOptions;v.cutOffMultilineMessage=cutOffMultilineMessage;v.cutOffMessage=cutOffMessage;v.cleanUp=cleanUp;v.cleanUpWebpackOptions=cleanUpWebpackOptions},87543:function(k,v,E){"use strict";const{ConcatSource:P,RawSource:R}=E(51255);const L=E(10849);const N=E(98612);const q=E(56727);const ae=E(89168);const le=new WeakMap;const pe=new R(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is 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(k){this.namespace=k.namespace||"";this.sourceUrlComment=k.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=k.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(k){k.hooks.compilation.tap("EvalDevToolModulePlugin",(k=>{const v=ae.getCompilationHooks(k);v.renderModuleContent.tap("EvalDevToolModulePlugin",((v,E,{runtimeTemplate:P,chunkGraph:ae})=>{const pe=le.get(v);if(pe!==undefined)return pe;if(E instanceof L){le.set(v,v);return v}const me=v.source();const ye=N.createFilename(E,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:P.requestShortener,chunkGraph:ae,hashFunction:k.outputOptions.hashFunction});const _e="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(ye).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const Ie=new R(`eval(${k.outputOptions.trustedTypes?`${q.createScript}(${JSON.stringify(me+_e)})`:JSON.stringify(me+_e)});`);le.set(v,Ie);return Ie}));v.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));v.render.tap("EvalDevToolModulePlugin",(k=>new P(pe,k)));v.chunkHash.tap("EvalDevToolModulePlugin",((k,v)=>{v.update("EvalDevToolModulePlugin");v.update("2")}));if(k.outputOptions.trustedTypes){k.hooks.additionalModuleRuntimeRequirements.tap("EvalDevToolModulePlugin",((k,v,E)=>{v.add(q.createScript)}))}}))}}k.exports=EvalDevToolModulePlugin},21234:function(k,v,E){"use strict";const{ConcatSource:P,RawSource:R}=E(51255);const L=E(98612);const N=E(38224);const q=E(56727);const ae=E(10518);const le=E(89168);const pe=E(94978);const{makePathsAbsolute:me}=E(65315);const ye=new WeakMap;const _e=new R(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is 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(k){let v;if(typeof k==="string"){v={append:k}}else{v=k}this.sourceMapComment=v.append&&typeof v.append!=="function"?v.append:"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=v.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=v.namespace||"";this.options=v}apply(k){const v=this.options;k.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(E=>{const Ie=le.getCompilationHooks(E);new ae(v).apply(E);const Me=L.matchObject.bind(L,v);Ie.renderModuleContent.tap("EvalSourceMapDevToolPlugin",((P,ae,{runtimeTemplate:le,chunkGraph:_e})=>{const Ie=ye.get(P);if(Ie!==undefined){return Ie}const result=k=>{ye.set(P,k);return k};if(ae instanceof N){const k=ae;if(!Me(k.resource)){return result(P)}}else if(ae instanceof pe){const k=ae;if(k.rootModule instanceof N){const v=k.rootModule;if(!Me(v.resource)){return result(P)}}else{return result(P)}}else{return result(P)}let Te;let je;if(P.sourceAndMap){const k=P.sourceAndMap(v);Te=k.map;je=k.source}else{Te=P.map(v);je=P.source()}if(!Te){return result(P)}Te={...Te};const Ne=k.options.context;const Be=k.root;const qe=Te.sources.map((k=>{if(!k.startsWith("webpack://"))return k;k=me(Ne,k.slice(10),Be);const v=E.findModule(k);return v||k}));let Ue=qe.map((k=>L.createFilename(k,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:le.requestShortener,chunkGraph:_e,hashFunction:E.outputOptions.hashFunction})));Ue=L.replaceDuplicates(Ue,((k,v,E)=>{for(let v=0;v"the eval-source-map devtool is used."));Ie.render.tap("EvalSourceMapDevToolPlugin",(k=>new P(_e,k)));Ie.chunkHash.tap("EvalSourceMapDevToolPlugin",((k,v)=>{v.update("EvalSourceMapDevToolPlugin");v.update("2")}));if(E.outputOptions.trustedTypes){E.hooks.additionalModuleRuntimeRequirements.tap("EvalSourceMapDevToolPlugin",((k,v,E)=>{v.add(q.createScript)}))}}))}}k.exports=EvalSourceMapDevToolPlugin},11172:function(k,v,E){"use strict";const{equals:P}=E(68863);const R=E(46081);const L=E(58528);const{forEachRuntime:N}=E(1540);const q=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const RETURNS_TRUE=()=>true;const ae=Symbol("circular target");class RestoreProvidedData{constructor(k,v,E,P){this.exports=k;this.otherProvided=v;this.otherCanMangleProvide=E;this.otherTerminalBinding=P}serialize({write:k}){k(this.exports);k(this.otherProvided);k(this.otherCanMangleProvide);k(this.otherTerminalBinding)}static deserialize({read:k}){return new RestoreProvidedData(k(),k(),k(),k())}}L(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 k=new Map(this._redirectTo._exports);for(const[v,E]of this._exports){k.set(v,E)}return k.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const k=new Map(Array.from(this._redirectTo.orderedExports,(k=>[k.name,k])));for(const[v,E]of this._exports){k.set(v,E)}this._sortExportsMap(k);return k.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(k){if(k.size>1){const v=[];for(const E of k.values()){v.push(E.name)}v.sort();let E=0;for(const P of k.values()){const k=v[E];if(P.name!==k)break;E++}for(;E0){const v=this.getReadOnlyExportInfo(k[0]);if(!v.exportsInfo)return undefined;return v.exportsInfo.getNestedExportsInfo(k.slice(1))}return this}setUnknownExportsProvided(k,v,E,P,R){let L=false;if(v){for(const k of v){this.getExportInfo(k)}}for(const R of this._exports.values()){if(!k&&R.canMangleProvide!==false){R.canMangleProvide=false;L=true}if(v&&v.has(R.name))continue;if(R.provided!==true&&R.provided!==null){R.provided=null;L=true}if(E){R.setTarget(E,P,[R.name],-1)}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(k,v,E,P,R)){L=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;L=true}if(!k&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;L=true}if(E){this._otherExportsInfo.setTarget(E,P,undefined,R)}}return L}setUsedInUnknownWay(k){let v=false;for(const E of this._exports.values()){if(E.setUsedInUnknownWay(k)){v=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(k)){v=true}}else{if(this._otherExportsInfo.setUsedConditionally((k=>kk===q.Unused),q.Used,k)}isUsed(k){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(k)){return true}}else{if(this._otherExportsInfo.getUsed(k)!==q.Unused){return true}}for(const v of this._exports.values()){if(v.getUsed(k)!==q.Unused){return true}}return false}isModuleUsed(k){if(this.isUsed(k))return true;if(this._sideEffectsOnlyInfo.getUsed(k)!==q.Unused)return true;return false}getUsedExports(k){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(k)){case q.NoInfo:return null;case q.Unknown:case q.OnlyPropertiesUsed:case q.Used:return true}}const v=[];if(!this._exportsAreOrdered)this._sortExports();for(const E of this._exports.values()){switch(E.getUsed(k)){case q.NoInfo:return null;case q.Unknown:return true;case q.OnlyPropertiesUsed:case q.Used:v.push(E.name)}}if(this._redirectTo!==undefined){const E=this._redirectTo.getUsedExports(k);if(E===null)return null;if(E===true)return true;if(E!==false){for(const k of E){v.push(k)}}}if(v.length===0){switch(this._sideEffectsOnlyInfo.getUsed(k)){case q.NoInfo:return null;case q.Unused:return false}}return new R(v)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const k=[];if(!this._exportsAreOrdered)this._sortExports();for(const v of this._exports.values()){switch(v.provided){case undefined:return null;case null:return true;case true:k.push(v.name)}}if(this._redirectTo!==undefined){const v=this._redirectTo.getProvidedExports();if(v===null)return null;if(v===true)return true;for(const E of v){if(!k.includes(E)){k.push(E)}}}return k}getRelevantExports(k){const v=[];for(const E of this._exports.values()){const P=E.getUsed(k);if(P===q.Unused)continue;if(E.provided===false)continue;v.push(E)}if(this._redirectTo!==undefined){for(const E of this._redirectTo.getRelevantExports(k)){if(!this._exports.has(E.name))v.push(E)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(k)!==q.Unused){v.push(this._otherExportsInfo)}return v}isExportProvided(k){if(Array.isArray(k)){const v=this.getReadOnlyExportInfo(k[0]);if(v.exportsInfo&&k.length>1){return v.exportsInfo.isExportProvided(k.slice(1))}return v.provided?k.length===1||undefined:v.provided}const v=this.getReadOnlyExportInfo(k);return v.provided}getUsageKey(k){const v=[];if(this._redirectTo!==undefined){v.push(this._redirectTo.getUsageKey(k))}else{v.push(this._otherExportsInfo.getUsed(k))}v.push(this._sideEffectsOnlyInfo.getUsed(k));for(const E of this.orderedOwnedExports){v.push(E.getUsed(k))}return v.join("|")}isEquallyUsed(k,v){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(k,v))return false}else{if(this._otherExportsInfo.getUsed(k)!==this._otherExportsInfo.getUsed(v)){return false}}if(this._sideEffectsOnlyInfo.getUsed(k)!==this._sideEffectsOnlyInfo.getUsed(v)){return false}for(const E of this.ownedExports){if(E.getUsed(k)!==E.getUsed(v))return false}return true}getUsed(k,v){if(Array.isArray(k)){if(k.length===0)return this.otherExportsInfo.getUsed(v);let E=this.getReadOnlyExportInfo(k[0]);if(E.exportsInfo&&k.length>1){return E.exportsInfo.getUsed(k.slice(1),v)}return E.getUsed(v)}let E=this.getReadOnlyExportInfo(k);return E.getUsed(v)}getUsedName(k,v){if(Array.isArray(k)){if(k.length===0){if(!this.isUsed(v))return false;return k}let E=this.getReadOnlyExportInfo(k[0]);const P=E.getUsedName(k[0],v);if(P===false)return false;const R=P===k[0]&&k.length===1?k:[P];if(k.length===1){return R}if(E.exportsInfo&&E.getUsed(v)===q.OnlyPropertiesUsed){const P=E.exportsInfo.getUsedName(k.slice(1),v);if(!P)return false;return R.concat(P)}else{return R.concat(k.slice(1))}}else{let E=this.getReadOnlyExportInfo(k);const P=E.getUsedName(k,v);return P}}updateHash(k,v){this._updateHash(k,v,new Set)}_updateHash(k,v,E){const P=new Set(E);P.add(this);for(const E of this.orderedExports){if(E.hasInfo(this._otherExportsInfo,v)){E._updateHash(k,v,P)}}this._sideEffectsOnlyInfo._updateHash(k,v,P);this._otherExportsInfo._updateHash(k,v,P);if(this._redirectTo!==undefined){this._redirectTo._updateHash(k,v,P)}}getRestoreProvidedData(){const k=this._otherExportsInfo.provided;const v=this._otherExportsInfo.canMangleProvide;const E=this._otherExportsInfo.terminalBinding;const P=[];for(const R of this.orderedExports){if(R.provided!==k||R.canMangleProvide!==v||R.terminalBinding!==E||R.exportsInfoOwned){P.push({name:R.name,provided:R.provided,canMangleProvide:R.canMangleProvide,terminalBinding:R.terminalBinding,exportsInfo:R.exportsInfoOwned?R.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData(P,k,v,E)}restoreProvided({otherProvided:k,otherCanMangleProvide:v,otherTerminalBinding:E,exports:P}){let R=true;for(const P of this._exports.values()){R=false;P.provided=k;P.canMangleProvide=v;P.terminalBinding=E}this._otherExportsInfo.provided=k;this._otherExportsInfo.canMangleProvide=v;this._otherExportsInfo.terminalBinding=E;for(const k of P){const v=this.getExportInfo(k.name);v.provided=k.provided;v.canMangleProvide=k.canMangleProvide;v.terminalBinding=k.terminalBinding;if(k.exportsInfo){const E=v.createNestedExportsInfo();E.restoreProvided(k.exportsInfo)}}if(R)this._exportsAreOrdered=true}}class ExportInfo{constructor(k,v){this.name=k;this._usedName=v?v._usedName:null;this._globalUsed=v?v._globalUsed:undefined;this._usedInRuntime=v&&v._usedInRuntime?new Map(v._usedInRuntime):undefined;this._hasUseInRuntimeInfo=v?v._hasUseInRuntimeInfo:false;this.provided=v?v.provided:undefined;this.terminalBinding=v?v.terminalBinding:false;this.canMangleProvide=v?v.canMangleProvide:undefined;this.canMangleUse=v?v.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(v&&v._target){this._target=new Map;for(const[E,P]of v._target){this._target.set(E,{connection:P.connection,export:P.export||[k],priority:P.priority})}}this._maxTarget=undefined}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(k){throw new Error("REMOVED")}set usedName(k){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(k){let v=false;if(this.setUsedConditionally((k=>kthis._usedInRuntime.set(k,v)));return true}}else{let P=false;N(E,(E=>{let R=this._usedInRuntime.get(E);if(R===undefined)R=q.Unused;if(v!==R&&k(R)){if(v===q.Unused){this._usedInRuntime.delete(E)}else{this._usedInRuntime.set(E,v)}P=true}}));if(P){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(k,v){if(v===undefined){if(this._globalUsed!==k){this._globalUsed=k;return true}}else if(this._usedInRuntime===undefined){if(k!==q.Unused){this._usedInRuntime=new Map;N(v,(v=>this._usedInRuntime.set(v,k)));return true}}else{let E=false;N(v,(v=>{let P=this._usedInRuntime.get(v);if(P===undefined)P=q.Unused;if(k!==P){if(k===q.Unused){this._usedInRuntime.delete(v)}else{this._usedInRuntime.set(v,k)}E=true}}));if(E){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}unsetTarget(k){if(!this._target)return false;if(this._target.delete(k)){this._maxTarget=undefined;return true}return false}setTarget(k,v,E,R=0){if(E)E=[...E];if(!this._target){this._target=new Map;this._target.set(k,{connection:v,export:E,priority:R});return true}const L=this._target.get(k);if(!L){if(L===null&&!v)return false;this._target.set(k,{connection:v,export:E,priority:R});this._maxTarget=undefined;return true}if(L.connection!==v||L.priority!==R||(E?!L.export||!P(L.export,E):L.export)){L.connection=v;L.export=E;L.priority=R;this._maxTarget=undefined;return true}return false}getUsed(k){if(!this._hasUseInRuntimeInfo)return q.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return q.Unused}else if(typeof k==="string"){const v=this._usedInRuntime.get(k);return v===undefined?q.Unused:v}else if(k===undefined){let k=q.Unused;for(const v of this._usedInRuntime.values()){if(v===q.Used){return q.Used}if(k!this._usedInRuntime.has(k)))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||k}hasUsedName(){return this._usedName!==null}setUsedName(k){this._usedName=k}getTerminalBinding(k,v=RETURNS_TRUE){if(this.terminalBinding)return this;const E=this.getTarget(k,v);if(!E)return undefined;const P=k.getExportsInfo(E.module);if(!E.export)return P;return P.getReadOnlyExportInfoRecursive(E.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}_getMaxTarget(){if(this._maxTarget!==undefined)return this._maxTarget;if(this._target.size<=1)return this._maxTarget=this._target;let k=-Infinity;let v=Infinity;for(const{priority:E}of this._target.values()){if(kE)v=E}if(k===v)return this._maxTarget=this._target;const E=new Map;for(const[v,P]of this._target){if(k===P.priority){E.set(v,P)}}this._maxTarget=E;return E}findTarget(k,v){return this._findTarget(k,v,new Set)}_findTarget(k,v,E){if(!this._target||this._target.size===0)return undefined;let P=this._getMaxTarget().values().next().value;if(!P)return undefined;let R={module:P.connection.module,export:P.export};for(;;){if(v(R.module))return R;const P=k.getExportsInfo(R.module);const L=P.getExportInfo(R.export[0]);if(E.has(L))return null;const N=L._findTarget(k,v,E);if(!N)return false;if(R.export.length===1){R=N}else{R={module:N.module,export:N.export?N.export.concat(R.export.slice(1)):R.export.slice(1)}}}}getTarget(k,v=RETURNS_TRUE){const E=this._getTarget(k,v,undefined);if(E===ae)return undefined;return E}_getTarget(k,v,E){const resolveTarget=(E,P)=>{if(!E)return null;if(!E.export){return{module:E.connection.module,connection:E.connection,export:undefined}}let R={module:E.connection.module,connection:E.connection,export:E.export};if(!v(R))return R;let L=false;for(;;){const E=k.getExportsInfo(R.module);const N=E.getExportInfo(R.export[0]);if(!N)return R;if(P.has(N))return ae;const q=N._getTarget(k,v,P);if(q===ae)return ae;if(!q)return R;if(R.export.length===1){R=q;if(!R.export)return R}else{R={module:q.module,connection:q.connection,export:q.export?q.export.concat(R.export.slice(1)):R.export.slice(1)}}if(!v(R))return R;if(!L){P=new Set(P);L=true}P.add(N)}};if(!this._target||this._target.size===0)return undefined;if(E&&E.has(this))return ae;const R=new Set(E);R.add(this);const L=this._getMaxTarget().values();const N=resolveTarget(L.next().value,R);if(N===ae)return ae;if(N===null)return undefined;let q=L.next();while(!q.done){const k=resolveTarget(q.value,R);if(k===ae)return ae;if(k===null)return undefined;if(k.module!==N.module)return undefined;if(!k.export!==!N.export)return undefined;if(N.export&&!P(k.export,N.export))return undefined;q=L.next()}return N}moveTarget(k,v,E){const P=this._getTarget(k,v,undefined);if(P===ae)return undefined;if(!P)return undefined;const R=this._getMaxTarget().values().next().value;if(R.connection===P.connection&&R.export===P.export){return undefined}this._target.clear();this._target.set(undefined,{connection:E?E(P):P.connection,export:P.export,priority:0});return P}createNestedExportsInfo(){if(this.exportsInfoOwned)return this.exportsInfo;this.exportsInfoOwned=true;const k=this.exportsInfo;this.exportsInfo=new ExportsInfo;this.exportsInfo.setHasProvideInfo();if(k){this.exportsInfo.setRedirectNamedTo(k)}return this.exportsInfo}getNestedExportsInfo(){return this.exportsInfo}hasInfo(k,v){return this._usedName&&this._usedName!==this.name||this.provided||this.terminalBinding||this.getUsed(v)!==k.getUsed(v)}updateHash(k,v){this._updateHash(k,v,new Set)}_updateHash(k,v,E){k.update(`${this._usedName||this.name}${this.getUsed(v)}${this.provided}${this.terminalBinding}`);if(this.exportsInfo&&!E.has(this.exportsInfo)){this.exportsInfo._updateHash(k,v,E)}}getUsedInfo(){if(this._globalUsed!==undefined){switch(this._globalUsed){case q.Unused:return"unused";case q.NoInfo:return"no usage info";case q.Unknown:return"maybe used (runtime-defined)";case q.Used:return"used";case q.OnlyPropertiesUsed:return"only properties used"}}else if(this._usedInRuntime!==undefined){const k=new Map;for(const[v,E]of this._usedInRuntime){const P=k.get(E);if(P!==undefined)P.push(v);else k.set(E,[v])}const v=Array.from(k,(([k,v])=>{switch(k){case q.NoInfo:return`no usage info in ${v.join(", ")}`;case q.Unknown:return`maybe used in ${v.join(", ")} (runtime-defined)`;case q.Used:return`used in ${v.join(", ")}`;case q.OnlyPropertiesUsed:return`only properties used in ${v.join(", ")}`}}));if(v.length>0){return v.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}`)}}k.exports=ExportsInfo;k.exports.ExportInfo=ExportInfo;k.exports.UsageState=q},25889:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(60381);const q=E(70762);const ae="ExportsInfoApiPlugin";class ExportsInfoApiPlugin{apply(k){k.hooks.compilation.tap(ae,((k,{normalModuleFactory:v})=>{k.dependencyTemplates.set(q,new q.Template);const handler=k=>{k.hooks.expressionMemberChain.for("__webpack_exports_info__").tap(ae,((v,E)=>{const P=E.length>=2?new q(v.range,E.slice(0,-1),E[E.length-1]):new q(v.range,null,E[0]);P.loc=v.loc;k.state.module.addDependency(P);return true}));k.hooks.expression.for("__webpack_exports_info__").tap(ae,(v=>{const E=new N("true",v.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}))};v.hooks.parser.for(P).tap(ae,handler);v.hooks.parser.for(R).tap(ae,handler);v.hooks.parser.for(L).tap(ae,handler)}))}}k.exports=ExportsInfoApiPlugin},10849:function(k,v,E){"use strict";const{OriginalSource:P,RawSource:R}=E(51255);const L=E(91213);const{UsageState:N}=E(11172);const q=E(88113);const ae=E(88396);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:le}=E(93622);const pe=E(56727);const me=E(95041);const ye=E(93414);const _e=E(74012);const Ie=E(21053);const Me=E(58528);const Te=E(10720);const{register:je}=E(52456);const Ne=new Set(["javascript"]);const Be=new Set(["css-import"]);const qe=new Set([pe.module]);const Ue=new Set([pe.loadScript]);const Ge=new Set([pe.definePropertyGetters]);const He=new Set([]);const getSourceForGlobalVariableExternal=(k,v)=>{if(!Array.isArray(k)){k=[k]}const E=k.map((k=>`[${JSON.stringify(k)}]`)).join("");return{iife:v==="this",expression:`${v}${E}`}};const getSourceForCommonJsExternal=k=>{if(!Array.isArray(k)){return{expression:`require(${JSON.stringify(k)})`}}const v=k[0];return{expression:`require(${JSON.stringify(v)})${Te(k,1)}`}};const getSourceForCommonJsExternalInNodeModule=(k,v)=>{const E=[new q('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',q.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];if(!Array.isArray(k)){return{chunkInitFragments:E,expression:`__WEBPACK_EXTERNAL_createRequire(${v}.url)(${JSON.stringify(k)})`}}const P=k[0];return{chunkInitFragments:E,expression:`__WEBPACK_EXTERNAL_createRequire(${v}.url)(${JSON.stringify(P)})${Te(k,1)}`}};const getSourceForImportExternal=(k,v)=>{const E=v.outputOptions.importFunctionName;if(!v.supportsDynamicImport()&&E==="import"){throw new Error("The target environment doesn't support 'import()' so it's not possible to use external type 'import'")}if(!Array.isArray(k)){return{expression:`${E}(${JSON.stringify(k)});`}}if(k.length===1){return{expression:`${E}(${JSON.stringify(k[0])});`}}const P=k[0];return{expression:`${E}(${JSON.stringify(P)}).then(${v.returningFunction(`module${Te(k,1)}`,"module")});`}};class ModuleExternalInitFragment extends q{constructor(k,v,E="md4"){if(v===undefined){v=me.toIdentifier(k);if(v!==k){v+=`_${_e(E).update(k).digest("hex").slice(0,8)}`}}const P=`__WEBPACK_EXTERNAL_MODULE_${v}__`;super(`import * as ${P} from ${JSON.stringify(k)};\n`,q.STAGE_HARMONY_IMPORTS,0,`external module import ${v}`);this._ident=v;this._identifier=P;this._request=k}getNamespaceIdentifier(){return this._identifier}}je(ModuleExternalInitFragment,"webpack/lib/ExternalModule","ModuleExternalInitFragment",{serialize(k,{write:v}){v(k._request);v(k._ident)},deserialize({read:k}){return new ModuleExternalInitFragment(k(),k())}});const generateModuleRemapping=(k,v,E)=>{if(v.otherExportsInfo.getUsed(E)===N.Unused){const P=[];for(const R of v.orderedExports){const v=R.getUsedName(R.name,E);if(!v)continue;const L=R.getNestedExportsInfo();if(L){const E=generateModuleRemapping(`${k}${Te([R.name])}`,L);if(E){P.push(`[${JSON.stringify(v)}]: y(${E})`);continue}}P.push(`[${JSON.stringify(v)}]: () => ${k}${Te([R.name])}`)}return`x({ ${P.join(", ")} })`}};const getSourceForModuleExternal=(k,v,E,P)=>{if(!Array.isArray(k))k=[k];const R=new ModuleExternalInitFragment(k[0],undefined,P);const L=`${R.getNamespaceIdentifier()}${Te(k,1)}`;const N=generateModuleRemapping(L,v,E);let q=N||L;return{expression:q,init:`var x = y => { var x = {}; ${pe.definePropertyGetters}(x, y); return x; }\nvar y = x => () => x`,runtimeRequirements:N?Ge:undefined,chunkInitFragments:[R]}};const getSourceForScriptExternal=(k,v)=>{if(typeof k==="string"){k=Ie(k)}const E=k[0];const P=k[1];return{init:"var __webpack_error__ = new Error();",expression:`new Promise(${v.basicFunction("resolve, reject",[`if(typeof ${P} !== "undefined") return resolve();`,`${pe.loadScript}(${JSON.stringify(E)}, ${v.basicFunction("event",[`if(typeof ${P} !== "undefined") return resolve();`,"var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';","__webpack_error__.name = 'ScriptExternalLoadError';","__webpack_error__.type = errorType;","__webpack_error__.request = realSrc;","reject(__webpack_error__);"])}, ${JSON.stringify(P)});`])}).then(${v.returningFunction(`${P}${Te(k,2)}`)})`,runtimeRequirements:Ue}};const checkExternalVariable=(k,v,E)=>`if(typeof ${k} === 'undefined') { ${E.throwMissingModuleErrorBlock({request:v})} }\n`;const getSourceForAmdOrUmdExternal=(k,v,E,P)=>{const R=`__WEBPACK_EXTERNAL_MODULE_${me.toIdentifier(`${k}`)}__`;return{init:v?checkExternalVariable(R,Array.isArray(E)?E.join("."):E,P):undefined,expression:R}};const getSourceForDefaultCase=(k,v,E)=>{if(!Array.isArray(v)){v=[v]}const P=v[0];const R=Te(v,1);return{init:k?checkExternalVariable(P,v.join("."),E):undefined,expression:`${P}${R}`}};class ExternalModule extends ae{constructor(k,v,E){super(le,null);this.request=k;this.externalType=v;this.userRequest=E}getSourceTypes(){return this.externalType==="css-import"?Be:Ne}libIdent(k){return this.userRequest}chunkCondition(k,{chunkGraph:v}){return this.externalType==="css-import"?true:v.getNumberOfEntryModules(k)>0}identifier(){return`external ${this.externalType} ${JSON.stringify(this.request)}`}readableIdentifier(k){return"external "+JSON.stringify(this.request)}needBuild(k,v){return v(null,!this.buildMeta)}build(k,v,E,P,R){this.buildMeta={async:false,exportsType:undefined};this.buildInfo={strict:true,topLevelDeclarations:new Set,module:v.outputOptions.module};const{request:L,externalType:N}=this._getRequestAndExternalType();this.buildMeta.exportsType="dynamic";let q=false;this.clearDependenciesAndBlocks();switch(N){case"this":this.buildInfo.strict=false;break;case"system":if(!Array.isArray(L)||L.length===1){this.buildMeta.exportsType="namespace";q=true}break;case"module":if(this.buildInfo.module){if(!Array.isArray(L)||L.length===1){this.buildMeta.exportsType="namespace";q=true}}else{this.buildMeta.async=true;if(!Array.isArray(L)||L.length===1){this.buildMeta.exportsType="namespace";q=false}}break;case"script":case"promise":this.buildMeta.async=true;break;case"import":this.buildMeta.async=true;if(!Array.isArray(L)||L.length===1){this.buildMeta.exportsType="namespace";q=false}break}this.addDependency(new ye(true,q));R()}restoreFromUnsafeCache(k,v){this._restoreFromUnsafeCache(k,v)}getConcatenationBailoutReason({moduleGraph:k}){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}_getRequestAndExternalType(){let{request:k,externalType:v}=this;if(typeof k==="object"&&!Array.isArray(k))k=k[v];return{request:k,externalType:v}}_getSourceData(k,v,E,P,R,L){switch(v){case"this":case"window":case"self":return getSourceForGlobalVariableExternal(k,this.externalType);case"global":return getSourceForGlobalVariableExternal(k,E.globalObject);case"commonjs":case"commonjs2":case"commonjs-module":case"commonjs-static":return getSourceForCommonJsExternal(k);case"node-commonjs":return this.buildInfo.module?getSourceForCommonJsExternalInNodeModule(k,E.outputOptions.importMetaName):getSourceForCommonJsExternal(k);case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":{const v=R.getModuleId(this);return getSourceForAmdOrUmdExternal(v!==null?v:this.identifier(),this.isOptional(P),k,E)}case"import":return getSourceForImportExternal(k,E);case"script":return getSourceForScriptExternal(k,E);case"module":{if(!this.buildInfo.module){if(!E.supportsDynamicImport()){throw new Error("The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script"+(E.supportsEcmaScriptModuleSyntax()?"\nDid you mean to build a EcmaScript Module ('output.module: true')?":""))}return getSourceForImportExternal(k,E)}if(!E.supportsEcmaScriptModuleSyntax()){throw new Error("The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'")}return getSourceForModuleExternal(k,P.getExportsInfo(this),L,E.outputOptions.hashFunction)}case"var":case"promise":case"const":case"let":case"assign":default:return getSourceForDefaultCase(this.isOptional(P),k,E)}}codeGeneration({runtimeTemplate:k,moduleGraph:v,chunkGraph:E,runtime:N,concatenationScope:q}){const{request:ae,externalType:le}=this._getRequestAndExternalType();switch(le){case"asset":{const k=new Map;k.set("javascript",new R(`module.exports = ${JSON.stringify(ae)};`));const v=new Map;v.set("url",ae);return{sources:k,runtimeRequirements:qe,data:v}}case"css-import":{const k=new Map;k.set("css-import",new R(`@import url(${JSON.stringify(ae)});`));return{sources:k,runtimeRequirements:He}}default:{const me=this._getSourceData(ae,le,k,v,E,N);let ye=me.expression;if(me.iife)ye=`(function() { return ${ye}; }())`;if(q){ye=`${k.supportsConst()?"const":"var"} ${L.NAMESPACE_OBJECT_EXPORT} = ${ye};`;q.registerNamespaceExport(L.NAMESPACE_OBJECT_EXPORT)}else{ye=`module.exports = ${ye};`}if(me.init)ye=`${me.init}\n${ye}`;let _e=undefined;if(me.chunkInitFragments){_e=new Map;_e.set("chunkInitFragments",me.chunkInitFragments)}const Ie=new Map;if(this.useSourceMap||this.useSimpleSourceMap){Ie.set("javascript",new P(ye,this.identifier()))}else{Ie.set("javascript",new R(ye))}let Me=me.runtimeRequirements;if(!q){if(!Me){Me=qe}else{const k=new Set(Me);k.add(pe.module);Me=k}}return{sources:Ie,runtimeRequirements:Me||He,data:_e}}}}size(k){return 42}updateHash(k,v){const{chunkGraph:E}=v;k.update(`${this.externalType}${JSON.stringify(this.request)}${this.isOptional(E.moduleGraph)}`);super.updateHash(k,v)}serialize(k){const{write:v}=k;v(this.request);v(this.externalType);v(this.userRequest);super.serialize(k)}deserialize(k){const{read:v}=k;this.request=v();this.externalType=v();this.userRequest=v();super.deserialize(k)}}Me(ExternalModule,"webpack/lib/ExternalModule");k.exports=ExternalModule},37368:function(k,v,E){"use strict";const P=E(73837);const R=E(10849);const{resolveByProperty:L,cachedSetProperty:N}=E(99454);const q=/^[a-z0-9-]+ /;const ae={};const le=P.deprecate(((k,v,E,P)=>{k.call(null,v,E,P)}),"The externals-function should be defined like ({context, request}, cb) => { ... }","DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS");const pe=new WeakMap;const resolveLayer=(k,v)=>{let E=pe.get(k);if(E===undefined){E=new Map;pe.set(k,E)}else{const k=E.get(v);if(k!==undefined)return k}const P=L(k,"byLayer",v);E.set(v,P);return P};class ExternalModuleFactoryPlugin{constructor(k,v){this.type=k;this.externals=v}apply(k){const v=this.type;k.hooks.factorize.tapAsync("ExternalModuleFactoryPlugin",((E,P)=>{const L=E.context;const pe=E.contextInfo;const me=E.dependencies[0];const ye=E.dependencyType;const handleExternal=(k,E,P)=>{if(k===false){return P()}let L;if(k===true){L=me.request}else{L=k}if(E===undefined){if(typeof L==="string"&&q.test(L)){const k=L.indexOf(" ");E=L.slice(0,k);L=L.slice(k+1)}else if(Array.isArray(L)&&L.length>0&&q.test(L[0])){const k=L[0];const v=k.indexOf(" ");E=k.slice(0,v);L=[k.slice(v+1),...L.slice(1)]}}P(null,new R(L,E||v,me.request))};const handleExternals=(v,P)=>{if(typeof v==="string"){if(v===me.request){return handleExternal(me.request,undefined,P)}}else if(Array.isArray(v)){let k=0;const next=()=>{let E;const handleExternalsAndCallback=(k,v)=>{if(k)return P(k);if(!v){if(E){E=false;return}return next()}P(null,v)};do{E=true;if(k>=v.length)return P();handleExternals(v[k++],handleExternalsAndCallback)}while(!E);E=false};next();return}else if(v instanceof RegExp){if(v.test(me.request)){return handleExternal(me.request,undefined,P)}}else if(typeof v==="function"){const cb=(k,v,E)=>{if(k)return P(k);if(v!==undefined){handleExternal(v,E,P)}else{P()}};if(v.length===3){le(v,L,me.request,cb)}else{const P=v({context:L,request:me.request,dependencyType:ye,contextInfo:pe,getResolve:v=>(P,R,L)=>{const q={fileDependencies:E.fileDependencies,missingDependencies:E.missingDependencies,contextDependencies:E.contextDependencies};let le=k.getResolver("normal",ye?N(E.resolveOptions||ae,"dependencyType",ye):E.resolveOptions);if(v)le=le.withOptions(v);if(L){le.resolve({},P,R,q,L)}else{return new Promise(((k,v)=>{le.resolve({},P,R,q,((E,P)=>{if(E)v(E);else k(P)}))}))}}},cb);if(P&&P.then)P.then((k=>cb(null,k)),cb)}return}else if(typeof v==="object"){const k=resolveLayer(v,pe.issuerLayer);if(Object.prototype.hasOwnProperty.call(k,me.request)){return handleExternal(k[me.request],undefined,P)}}P()};handleExternals(this.externals,P)}))}}k.exports=ExternalModuleFactoryPlugin},53757:function(k,v,E){"use strict";const P=E(37368);class ExternalsPlugin{constructor(k,v){this.type=k;this.externals=v}apply(k){k.hooks.compile.tap("ExternalsPlugin",(({normalModuleFactory:k})=>{new P(this.type,this.externals).apply(k)}))}}k.exports=ExternalsPlugin},18144:function(k,v,E){"use strict";const{create:P}=E(90006);const R=E(98188);const L=E(78175);const{isAbsolute:N}=E(71017);const q=E(89262);const ae=E(11333);const le=E(74012);const{join:pe,dirname:me,relative:ye,lstatReadlinkAbsolute:_e}=E(57825);const Ie=E(58528);const Me=E(38254);const Te=+process.versions.modules>=83;const je=new Set(R.builtinModules);let Ne=2e3;const Be=new Set;const qe=0;const Ue=1;const Ge=2;const He=3;const We=4;const Qe=5;const Je=6;const Ve=7;const Ke=8;const Ye=9;const Xe=Symbol("invalid");const Ze=(new Set).keys().next();class SnapshotIterator{constructor(k){this.next=k}}class SnapshotIterable{constructor(k,v){this.snapshot=k;this.getMaps=v}[Symbol.iterator](){let k=0;let v;let E;let P;let R;let L;return new SnapshotIterator((()=>{for(;;){switch(k){case 0:R=this.snapshot;E=this.getMaps;P=E(R);k=1;case 1:if(P.length>0){const E=P.pop();if(E!==undefined){v=E.keys();k=2}else{break}}else{k=3;break}case 2:{const E=v.next();if(!E.done)return E;k=1;break}case 3:{const v=R.children;if(v!==undefined){if(v.size===1){for(const k of v)R=k;P=E(R);k=1;break}if(L===undefined)L=[];for(const k of v){L.push(k)}}if(L!==undefined&&L.length>0){R=L.pop();P=E(R);k=1;break}else{k=4}}case 4:return Ze}}}))}}class Snapshot{constructor(){this._flags=0;this._cachedFileIterable=undefined;this._cachedContextIterable=undefined;this._cachedMissingIterable=undefined;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(k){this._flags=this._flags|1;this.startTime=k}setMergedStartTime(k,v){if(k){if(v.hasStartTime()){this.setStartTime(Math.min(k,v.startTime))}else{this.setStartTime(k)}}else{if(v.hasStartTime())this.setStartTime(v.startTime)}}hasFileTimestamps(){return(this._flags&2)!==0}setFileTimestamps(k){this._flags=this._flags|2;this.fileTimestamps=k}hasFileHashes(){return(this._flags&4)!==0}setFileHashes(k){this._flags=this._flags|4;this.fileHashes=k}hasFileTshs(){return(this._flags&8)!==0}setFileTshs(k){this._flags=this._flags|8;this.fileTshs=k}hasContextTimestamps(){return(this._flags&16)!==0}setContextTimestamps(k){this._flags=this._flags|16;this.contextTimestamps=k}hasContextHashes(){return(this._flags&32)!==0}setContextHashes(k){this._flags=this._flags|32;this.contextHashes=k}hasContextTshs(){return(this._flags&64)!==0}setContextTshs(k){this._flags=this._flags|64;this.contextTshs=k}hasMissingExistence(){return(this._flags&128)!==0}setMissingExistence(k){this._flags=this._flags|128;this.missingExistence=k}hasManagedItemInfo(){return(this._flags&256)!==0}setManagedItemInfo(k){this._flags=this._flags|256;this.managedItemInfo=k}hasManagedFiles(){return(this._flags&512)!==0}setManagedFiles(k){this._flags=this._flags|512;this.managedFiles=k}hasManagedContexts(){return(this._flags&1024)!==0}setManagedContexts(k){this._flags=this._flags|1024;this.managedContexts=k}hasManagedMissing(){return(this._flags&2048)!==0}setManagedMissing(k){this._flags=this._flags|2048;this.managedMissing=k}hasChildren(){return(this._flags&4096)!==0}setChildren(k){this._flags=this._flags|4096;this.children=k}addChild(k){if(!this.hasChildren()){this.setChildren(new Set)}this.children.add(k)}serialize({write:k}){k(this._flags);if(this.hasStartTime())k(this.startTime);if(this.hasFileTimestamps())k(this.fileTimestamps);if(this.hasFileHashes())k(this.fileHashes);if(this.hasFileTshs())k(this.fileTshs);if(this.hasContextTimestamps())k(this.contextTimestamps);if(this.hasContextHashes())k(this.contextHashes);if(this.hasContextTshs())k(this.contextTshs);if(this.hasMissingExistence())k(this.missingExistence);if(this.hasManagedItemInfo())k(this.managedItemInfo);if(this.hasManagedFiles())k(this.managedFiles);if(this.hasManagedContexts())k(this.managedContexts);if(this.hasManagedMissing())k(this.managedMissing);if(this.hasChildren())k(this.children)}deserialize({read:k}){this._flags=k();if(this.hasStartTime())this.startTime=k();if(this.hasFileTimestamps())this.fileTimestamps=k();if(this.hasFileHashes())this.fileHashes=k();if(this.hasFileTshs())this.fileTshs=k();if(this.hasContextTimestamps())this.contextTimestamps=k();if(this.hasContextHashes())this.contextHashes=k();if(this.hasContextTshs())this.contextTshs=k();if(this.hasMissingExistence())this.missingExistence=k();if(this.hasManagedItemInfo())this.managedItemInfo=k();if(this.hasManagedFiles())this.managedFiles=k();if(this.hasManagedContexts())this.managedContexts=k();if(this.hasManagedMissing())this.managedMissing=k();if(this.hasChildren())this.children=k()}_createIterable(k){return new SnapshotIterable(this,k)}getFileIterable(){if(this._cachedFileIterable===undefined){this._cachedFileIterable=this._createIterable((k=>[k.fileTimestamps,k.fileHashes,k.fileTshs,k.managedFiles]))}return this._cachedFileIterable}getContextIterable(){if(this._cachedContextIterable===undefined){this._cachedContextIterable=this._createIterable((k=>[k.contextTimestamps,k.contextHashes,k.contextTshs,k.managedContexts]))}return this._cachedContextIterable}getMissingIterable(){if(this._cachedMissingIterable===undefined){this._cachedMissingIterable=this._createIterable((k=>[k.missingExistence,k.managedMissing]))}return this._cachedMissingIterable}}Ie(Snapshot,"webpack/lib/FileSystemInfo","Snapshot");const et=3;class SnapshotOptimization{constructor(k,v,E,P=true,R=false){this._has=k;this._get=v;this._set=E;this._useStartTime=P;this._isSet=R;this._map=new Map;this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}getStatisticMessage(){const k=this._statItemsShared+this._statItemsUnshared;if(k===0)return undefined;return`${this._statItemsShared&&Math.round(this._statItemsShared*100/k)}% (${this._statItemsShared}/${k}) entries shared via ${this._statSharedSnapshots} shared snapshots (${this._statReusedSharedSnapshots+this._statSharedSnapshots} times referenced)`}clear(){this._map.clear();this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}optimize(k,v){const increaseSharedAndStoreOptimizationEntry=k=>{if(k.children!==undefined){k.children.forEach(increaseSharedAndStoreOptimizationEntry)}k.shared++;storeOptimizationEntry(k)};const storeOptimizationEntry=k=>{for(const E of k.snapshotContent){const P=this._map.get(E);if(P.shared0){if(this._useStartTime&&k.startTime&&(!P.startTime||P.startTime>k.startTime)){continue}const R=new Set;const L=E.snapshotContent;const N=this._get(P);for(const k of L){if(!v.has(k)){if(!N.has(k)){continue e}R.add(k);continue}}if(R.size===0){k.addChild(P);increaseSharedAndStoreOptimizationEntry(E);this._statReusedSharedSnapshots++}else{const v=L.size-R.size;if(v{if(k[0]==="'")k=`"${k.slice(1,-1).replace(/"/g,'\\"')}"`;return JSON.parse(k)};const applyMtime=k=>{if(Ne>1&&k%2!==0)Ne=1;else if(Ne>10&&k%20!==0)Ne=10;else if(Ne>100&&k%200!==0)Ne=100;else if(Ne>1e3&&k%2e3!==0)Ne=1e3};const mergeMaps=(k,v)=>{if(!v||v.size===0)return k;if(!k||k.size===0)return v;const E=new Map(k);for(const[k,P]of v){E.set(k,P)}return E};const mergeSets=(k,v)=>{if(!v||v.size===0)return k;if(!k||k.size===0)return v;const E=new Set(k);for(const k of v){E.add(k)}return E};const getManagedItem=(k,v)=>{let E=k.length;let P=1;let R=true;e:while(E=E+13&&v.charCodeAt(E+1)===110&&v.charCodeAt(E+2)===111&&v.charCodeAt(E+3)===100&&v.charCodeAt(E+4)===101&&v.charCodeAt(E+5)===95&&v.charCodeAt(E+6)===109&&v.charCodeAt(E+7)===111&&v.charCodeAt(E+8)===100&&v.charCodeAt(E+9)===117&&v.charCodeAt(E+10)===108&&v.charCodeAt(E+11)===101&&v.charCodeAt(E+12)===115){if(v.length===E+13){return v}const k=v.charCodeAt(E+13);if(k===47||k===92){return getManagedItem(v.slice(0,E+14),v)}}return v.slice(0,E)};const getResolvedTimestamp=k=>{if(k===null)return null;if(k.resolved!==undefined)return k.resolved;return k.symlinks===undefined?k:undefined};const getResolvedHash=k=>{if(k===null)return null;if(k.resolved!==undefined)return k.resolved;return k.symlinks===undefined?k.hash:undefined};const addAll=(k,v)=>{for(const E of k)v.add(E)};class FileSystemInfo{constructor(k,{managedPaths:v=[],immutablePaths:E=[],logger:P,hashFunction:R="md4"}={}){this.fs=k;this.logger=P;this._remainingLogs=P?40:0;this._loggedPaths=P?new Set:undefined;this._hashFunction=R;this._snapshotCache=new WeakMap;this._fileTimestampsOptimization=new SnapshotOptimization((k=>k.hasFileTimestamps()),(k=>k.fileTimestamps),((k,v)=>k.setFileTimestamps(v)));this._fileHashesOptimization=new SnapshotOptimization((k=>k.hasFileHashes()),(k=>k.fileHashes),((k,v)=>k.setFileHashes(v)),false);this._fileTshsOptimization=new SnapshotOptimization((k=>k.hasFileTshs()),(k=>k.fileTshs),((k,v)=>k.setFileTshs(v)));this._contextTimestampsOptimization=new SnapshotOptimization((k=>k.hasContextTimestamps()),(k=>k.contextTimestamps),((k,v)=>k.setContextTimestamps(v)));this._contextHashesOptimization=new SnapshotOptimization((k=>k.hasContextHashes()),(k=>k.contextHashes),((k,v)=>k.setContextHashes(v)),false);this._contextTshsOptimization=new SnapshotOptimization((k=>k.hasContextTshs()),(k=>k.contextTshs),((k,v)=>k.setContextTshs(v)));this._missingExistenceOptimization=new SnapshotOptimization((k=>k.hasMissingExistence()),(k=>k.missingExistence),((k,v)=>k.setMissingExistence(v)),false);this._managedItemInfoOptimization=new SnapshotOptimization((k=>k.hasManagedItemInfo()),(k=>k.managedItemInfo),((k,v)=>k.setManagedItemInfo(v)),false);this._managedFilesOptimization=new SnapshotOptimization((k=>k.hasManagedFiles()),(k=>k.managedFiles),((k,v)=>k.setManagedFiles(v)),false,true);this._managedContextsOptimization=new SnapshotOptimization((k=>k.hasManagedContexts()),(k=>k.managedContexts),((k,v)=>k.setManagedContexts(v)),false,true);this._managedMissingOptimization=new SnapshotOptimization((k=>k.hasManagedMissing()),(k=>k.managedMissing),((k,v)=>k.setManagedMissing(v)),false,true);this._fileTimestamps=new ae;this._fileHashes=new Map;this._fileTshs=new Map;this._contextTimestamps=new ae;this._contextHashes=new Map;this._contextTshs=new Map;this._managedItems=new Map;this.fileTimestampQueue=new q({name:"file timestamp",parallelism:30,processor:this._readFileTimestamp.bind(this)});this.fileHashQueue=new q({name:"file hash",parallelism:10,processor:this._readFileHash.bind(this)});this.contextTimestampQueue=new q({name:"context timestamp",parallelism:2,processor:this._readContextTimestamp.bind(this)});this.contextHashQueue=new q({name:"context hash",parallelism:2,processor:this._readContextHash.bind(this)});this.contextTshQueue=new q({name:"context hash and timestamp",parallelism:2,processor:this._readContextTimestampAndHash.bind(this)});this.managedItemQueue=new q({name:"managed item info",parallelism:10,processor:this._getManagedItemInfo.bind(this)});this.managedItemDirectoryQueue=new q({name:"managed item directory info",parallelism:10,processor:this._getManagedItemDirectoryInfo.bind(this)});this.managedPaths=Array.from(v);this.managedPathsWithSlash=this.managedPaths.filter((k=>typeof k==="string")).map((v=>pe(k,v,"_").slice(0,-1)));this.managedPathsRegExps=this.managedPaths.filter((k=>typeof k!=="string"));this.immutablePaths=Array.from(E);this.immutablePathsWithSlash=this.immutablePaths.filter((k=>typeof k==="string")).map((v=>pe(k,v,"_").slice(0,-1)));this.immutablePathsRegExps=this.immutablePaths.filter((k=>typeof k!=="string"));this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._warnAboutExperimentalEsmTracking=false;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}logStatistics(){const logWhenMessage=(k,v)=>{if(v){this.logger.log(`${k}: ${v}`)}};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`);logWhenMessage(`File timestamp snapshot optimization`,this._fileTimestampsOptimization.getStatisticMessage());logWhenMessage(`File hash snapshot optimization`,this._fileHashesOptimization.getStatisticMessage());logWhenMessage(`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`);logWhenMessage(`Directory timestamp snapshot optimization`,this._contextTimestampsOptimization.getStatisticMessage());logWhenMessage(`Directory hash snapshot optimization`,this._contextHashesOptimization.getStatisticMessage());logWhenMessage(`Directory timestamp hash combination snapshot optimization`,this._contextTshsOptimization.getStatisticMessage());logWhenMessage(`Missing items snapshot optimization`,this._missingExistenceOptimization.getStatisticMessage());this.logger.log(`Managed items info in cache: ${this._managedItems.size} items`);logWhenMessage(`Managed items snapshot optimization`,this._managedItemInfoOptimization.getStatisticMessage());logWhenMessage(`Managed files snapshot optimization`,this._managedFilesOptimization.getStatisticMessage());logWhenMessage(`Managed contexts snapshot optimization`,this._managedContextsOptimization.getStatisticMessage());logWhenMessage(`Managed missing snapshot optimization`,this._managedMissingOptimization.getStatisticMessage())}_log(k,v,...E){const P=k+v;if(this._loggedPaths.has(P))return;this._loggedPaths.add(P);this.logger.debug(`${k} invalidated because ${v}`,...E);if(--this._remainingLogs===0){this.logger.debug("Logging limit has been reached and no further logging will be emitted by FileSystemInfo")}}clear(){this._remainingLogs=this.logger?40:0;if(this._loggedPaths!==undefined)this._loggedPaths.clear();this._snapshotCache=new WeakMap;this._fileTimestampsOptimization.clear();this._fileHashesOptimization.clear();this._fileTshsOptimization.clear();this._contextTimestampsOptimization.clear();this._contextHashesOptimization.clear();this._contextTshsOptimization.clear();this._missingExistenceOptimization.clear();this._managedItemInfoOptimization.clear();this._managedFilesOptimization.clear();this._managedContextsOptimization.clear();this._managedMissingOptimization.clear();this._fileTimestamps.clear();this._fileHashes.clear();this._fileTshs.clear();this._contextTimestamps.clear();this._contextHashes.clear();this._contextTshs.clear();this._managedItems.clear();this._managedItems.clear();this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}addFileTimestamps(k,v){this._fileTimestamps.addAll(k,v);this._cachedDeprecatedFileTimestamps=undefined}addContextTimestamps(k,v){this._contextTimestamps.addAll(k,v);this._cachedDeprecatedContextTimestamps=undefined}getFileTimestamp(k,v){const E=this._fileTimestamps.get(k);if(E!==undefined)return v(null,E);this.fileTimestampQueue.add(k,v)}getContextTimestamp(k,v){const E=this._contextTimestamps.get(k);if(E!==undefined){if(E==="ignore")return v(null,"ignore");const k=getResolvedTimestamp(E);if(k!==undefined)return v(null,k);return this._resolveContextTimestamp(E,v)}this.contextTimestampQueue.add(k,((k,E)=>{if(k)return v(k);const P=getResolvedTimestamp(E);if(P!==undefined)return v(null,P);this._resolveContextTimestamp(E,v)}))}_getUnresolvedContextTimestamp(k,v){const E=this._contextTimestamps.get(k);if(E!==undefined)return v(null,E);this.contextTimestampQueue.add(k,v)}getFileHash(k,v){const E=this._fileHashes.get(k);if(E!==undefined)return v(null,E);this.fileHashQueue.add(k,v)}getContextHash(k,v){const E=this._contextHashes.get(k);if(E!==undefined){const k=getResolvedHash(E);if(k!==undefined)return v(null,k);return this._resolveContextHash(E,v)}this.contextHashQueue.add(k,((k,E)=>{if(k)return v(k);const P=getResolvedHash(E);if(P!==undefined)return v(null,P);this._resolveContextHash(E,v)}))}_getUnresolvedContextHash(k,v){const E=this._contextHashes.get(k);if(E!==undefined)return v(null,E);this.contextHashQueue.add(k,v)}getContextTsh(k,v){const E=this._contextTshs.get(k);if(E!==undefined){const k=getResolvedTimestamp(E);if(k!==undefined)return v(null,k);return this._resolveContextTsh(E,v)}this.contextTshQueue.add(k,((k,E)=>{if(k)return v(k);const P=getResolvedTimestamp(E);if(P!==undefined)return v(null,P);this._resolveContextTsh(E,v)}))}_getUnresolvedContextTsh(k,v){const E=this._contextTshs.get(k);if(E!==undefined)return v(null,E);this.contextTshQueue.add(k,v)}_createBuildDependenciesResolvers(){const k=P({resolveToContext:true,exportsFields:[],fileSystem:this.fs});const v=P({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:["exports"],fileSystem:this.fs});const E=P({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:[],fileSystem:this.fs});const R=P({extensions:[".js",".json",".node"],fullySpecified:true,conditionNames:["import","node"],exportsFields:["exports"],fileSystem:this.fs});return{resolveContext:k,resolveEsm:R,resolveCjs:v,resolveCjsAsChild:E}}resolveBuildDependencies(k,v,P){const{resolveContext:R,resolveEsm:L,resolveCjs:q,resolveCjsAsChild:ae}=this._createBuildDependenciesResolvers();const le=new Set;const _e=new Set;const Ie=new Set;const Ne=new Set;const Be=new Set;const Xe=new Set;const Ze=new Set;const et=new Set;const tt=new Map;const nt=new Set;const st={fileDependencies:Xe,contextDependencies:Ze,missingDependencies:et};const expectedToString=k=>k?` (expected ${k})`:"";const jobToString=k=>{switch(k.type){case qe:return`resolve commonjs ${k.path}${expectedToString(k.expected)}`;case Ue:return`resolve esm ${k.path}${expectedToString(k.expected)}`;case Ge:return`resolve directory ${k.path}`;case He:return`resolve commonjs file ${k.path}${expectedToString(k.expected)}`;case Qe:return`resolve esm file ${k.path}${expectedToString(k.expected)}`;case Je:return`directory ${k.path}`;case Ve:return`file ${k.path}`;case Ke:return`directory dependencies ${k.path}`;case Ye:return`file dependencies ${k.path}`}return`unknown ${k.type} ${k.path}`};const pathToString=k=>{let v=` at ${jobToString(k)}`;k=k.issuer;while(k!==undefined){v+=`\n at ${jobToString(k)}`;k=k.issuer}return v};Me(Array.from(v,(v=>({type:qe,context:k,path:v,expected:undefined,issuer:undefined}))),20,((k,v,P)=>{const{type:Me,context:Be,path:Ze,expected:rt}=k;const resolveDirectory=E=>{const L=`d\n${Be}\n${E}`;if(tt.has(L)){return P()}tt.set(L,undefined);R(Be,E,st,((R,N,q)=>{if(R){if(rt===false){tt.set(L,false);return P()}nt.add(L);R.message+=`\nwhile resolving '${E}' in ${Be} to a directory`;return P(R)}const ae=q.path;tt.set(L,ae);v({type:Je,context:undefined,path:ae,expected:undefined,issuer:k});P()}))};const resolveFile=(E,R,L)=>{const N=`${R}\n${Be}\n${E}`;if(tt.has(N)){return P()}tt.set(N,undefined);L(Be,E,st,((R,L,q)=>{if(typeof rt==="string"){if(!R&&q&&q.path===rt){tt.set(N,q.path)}else{nt.add(N);this.logger.warn(`Resolving '${E}' in ${Be} for build dependencies doesn't lead to expected result '${rt}', but to '${R||q&&q.path}' instead. Resolving dependencies are ignored for this path.\n${pathToString(k)}`)}}else{if(R){if(rt===false){tt.set(N,false);return P()}nt.add(N);R.message+=`\nwhile resolving '${E}' in ${Be} as file\n${pathToString(k)}`;return P(R)}const L=q.path;tt.set(N,L);v({type:Ve,context:undefined,path:L,expected:undefined,issuer:k})}P()}))};switch(Me){case qe:{const k=/[\\/]$/.test(Ze);if(k){resolveDirectory(Ze.slice(0,Ze.length-1))}else{resolveFile(Ze,"f",q)}break}case Ue:{const k=/[\\/]$/.test(Ze);if(k){resolveDirectory(Ze.slice(0,Ze.length-1))}else{resolveFile(Ze)}break}case Ge:{resolveDirectory(Ze);break}case He:{resolveFile(Ze,"f",q);break}case We:{resolveFile(Ze,"c",ae);break}case Qe:{resolveFile(Ze,"e",L);break}case Ve:{if(le.has(Ze)){P();break}le.add(Ze);this.fs.realpath(Ze,((E,R)=>{if(E)return P(E);const L=R;if(L!==Ze){_e.add(Ze);Xe.add(Ze);if(le.has(L))return P();le.add(L)}v({type:Ye,context:undefined,path:L,expected:undefined,issuer:k});P()}));break}case Je:{if(Ie.has(Ze)){P();break}Ie.add(Ze);this.fs.realpath(Ze,((E,R)=>{if(E)return P(E);const L=R;if(L!==Ze){Ne.add(Ze);Xe.add(Ze);if(Ie.has(L))return P();Ie.add(L)}v({type:Ke,context:undefined,path:L,expected:undefined,issuer:k});P()}));break}case Ye:{if(/\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test(Ze)){process.nextTick(P);break}const R=require.cache[Ze];if(R&&Array.isArray(R.children)){e:for(const E of R.children){let P=E.filename;if(P){v({type:Ve,context:undefined,path:P,expected:undefined,issuer:k});const L=me(this.fs,Ze);for(const N of R.paths){if(P.startsWith(N)){let R=P.slice(N.length+1);const q=/^(@[^\\/]+[\\/])[^\\/]+/.exec(R);if(q){v({type:Ve,context:undefined,path:N+P[N.length]+q[0]+P[N.length]+"package.json",expected:false,issuer:k})}let ae=R.replace(/\\/g,"/");if(ae.endsWith(".js"))ae=ae.slice(0,-3);v({type:We,context:L,path:ae,expected:E.filename,issuer:k});continue e}}let q=ye(this.fs,L,P);if(q.endsWith(".js"))q=q.slice(0,-3);q=q.replace(/\\/g,"/");if(!q.startsWith("../")&&!N(q)){q=`./${q}`}v({type:He,context:L,path:q,expected:E.filename,issuer:k})}}}else if(Te&&/\.m?js$/.test(Ze)){if(!this._warnAboutExperimentalEsmTracking){this.logger.log("Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n"+"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n"+"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.");this._warnAboutExperimentalEsmTracking=true}const R=E(97998);R.init.then((()=>{this.fs.readFile(Ze,((E,L)=>{if(E)return P(E);try{const E=me(this.fs,Ze);const P=L.toString();const[N]=R.parse(P);for(const R of N){try{let L;if(R.d===-1){L=parseString(P.substring(R.s-1,R.e+1))}else if(R.d>-1){let k=P.substring(R.s,R.e).trim();L=parseString(k)}else{continue}if(L.startsWith("node:"))continue;if(je.has(L))continue;v({type:Qe,context:E,path:L,expected:undefined,issuer:k})}catch(v){this.logger.warn(`Parsing of ${Ze} for build dependencies failed at 'import(${P.substring(R.s,R.e)})'.\n`+"Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.");this.logger.debug(pathToString(k));this.logger.debug(v.stack)}}}catch(v){this.logger.warn(`Parsing of ${Ze} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..`);this.logger.debug(pathToString(k));this.logger.debug(v.stack)}process.nextTick(P)}))}),P);break}else{this.logger.log(`Assuming ${Ze} has no dependencies as we were unable to assign it to any module system.`);this.logger.debug(pathToString(k))}process.nextTick(P);break}case Ke:{const E=/(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec(Ze);const R=E?E[1]:Ze;const L=pe(this.fs,R,"package.json");this.fs.readFile(L,((E,N)=>{if(E){if(E.code==="ENOENT"){et.add(L);const E=me(this.fs,R);if(E!==R){v({type:Ke,context:undefined,path:E,expected:undefined,issuer:k})}P();return}return P(E)}Xe.add(L);let q;try{q=JSON.parse(N.toString("utf-8"))}catch(k){return P(k)}const ae=q.dependencies;const le=q.optionalDependencies;const pe=new Set;const ye=new Set;if(typeof ae==="object"&&ae){for(const k of Object.keys(ae)){pe.add(k)}}if(typeof le==="object"&&le){for(const k of Object.keys(le)){pe.add(k);ye.add(k)}}for(const E of pe){v({type:Ge,context:R,path:E,expected:!ye.has(E),issuer:k})}P()}));break}}}),(k=>{if(k)return P(k);for(const k of _e)le.delete(k);for(const k of Ne)Ie.delete(k);for(const k of nt)tt.delete(k);P(null,{files:le,directories:Ie,missing:Be,resolveResults:tt,resolveDependencies:{files:Xe,directories:Ze,missing:et}})}))}checkResolveResultsValid(k,v){const{resolveCjs:E,resolveCjsAsChild:P,resolveEsm:R,resolveContext:N}=this._createBuildDependenciesResolvers();L.eachLimit(k,20,(([k,v],L)=>{const[q,ae,le]=k.split("\n");switch(q){case"d":N(ae,le,{},((k,E,P)=>{if(v===false)return L(k?undefined:Xe);if(k)return L(k);const R=P.path;if(R!==v)return L(Xe);L()}));break;case"f":E(ae,le,{},((k,E,P)=>{if(v===false)return L(k?undefined:Xe);if(k)return L(k);const R=P.path;if(R!==v)return L(Xe);L()}));break;case"c":P(ae,le,{},((k,E,P)=>{if(v===false)return L(k?undefined:Xe);if(k)return L(k);const R=P.path;if(R!==v)return L(Xe);L()}));break;case"e":R(ae,le,{},((k,E,P)=>{if(v===false)return L(k?undefined:Xe);if(k)return L(k);const R=P.path;if(R!==v)return L(Xe);L()}));break;default:L(new Error("Unexpected type in resolve result key"));break}}),(k=>{if(k===Xe){return v(null,false)}if(k){return v(k)}return v(null,true)}))}createSnapshot(k,v,E,P,R,L){const N=new Map;const q=new Map;const ae=new Map;const le=new Map;const me=new Map;const ye=new Map;const _e=new Map;const Ie=new Map;const Me=new Set;const Te=new Set;const je=new Set;const Ne=new Set;const Be=new Snapshot;if(k)Be.setStartTime(k);const qe=new Set;const Ue=R&&R.hash?R.timestamp?3:2:1;let Ge=1;const jobDone=()=>{if(--Ge===0){if(N.size!==0){Be.setFileTimestamps(N)}if(q.size!==0){Be.setFileHashes(q)}if(ae.size!==0){Be.setFileTshs(ae)}if(le.size!==0){Be.setContextTimestamps(le)}if(me.size!==0){Be.setContextHashes(me)}if(ye.size!==0){Be.setContextTshs(ye)}if(_e.size!==0){Be.setMissingExistence(_e)}if(Ie.size!==0){Be.setManagedItemInfo(Ie)}this._managedFilesOptimization.optimize(Be,Me);if(Me.size!==0){Be.setManagedFiles(Me)}this._managedContextsOptimization.optimize(Be,Te);if(Te.size!==0){Be.setManagedContexts(Te)}this._managedMissingOptimization.optimize(Be,je);if(je.size!==0){Be.setManagedMissing(je)}if(Ne.size!==0){Be.setChildren(Ne)}this._snapshotCache.set(Be,true);this._statCreatedSnapshots++;L(null,Be)}};const jobError=()=>{if(Ge>0){Ge=-1e8;L(null,null)}};const checkManaged=(k,v)=>{for(const E of this.immutablePathsRegExps){if(E.test(k)){v.add(k);return true}}for(const E of this.immutablePathsWithSlash){if(k.startsWith(E)){v.add(k);return true}}for(const E of this.managedPathsRegExps){const P=E.exec(k);if(P){const E=getManagedItem(P[1],k);if(E){qe.add(E);v.add(k);return true}}}for(const E of this.managedPathsWithSlash){if(k.startsWith(E)){const P=getManagedItem(E,k);if(P){qe.add(P);v.add(k);return true}}}return false};const captureNonManaged=(k,v)=>{const E=new Set;for(const P of k){if(!checkManaged(P,v))E.add(P)}return E};const processCapturedFiles=k=>{switch(Ue){case 3:this._fileTshsOptimization.optimize(Be,k);for(const v of k){const k=this._fileTshs.get(v);if(k!==undefined){ae.set(v,k)}else{Ge++;this._getFileTimestampAndHash(v,((k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting file timestamp hash combination of ${v}: ${k.stack}`)}jobError()}else{ae.set(v,E);jobDone()}}))}}break;case 2:this._fileHashesOptimization.optimize(Be,k);for(const v of k){const k=this._fileHashes.get(v);if(k!==undefined){q.set(v,k)}else{Ge++;this.fileHashQueue.add(v,((k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting file hash of ${v}: ${k.stack}`)}jobError()}else{q.set(v,E);jobDone()}}))}}break;case 1:this._fileTimestampsOptimization.optimize(Be,k);for(const v of k){const k=this._fileTimestamps.get(v);if(k!==undefined){if(k!=="ignore"){N.set(v,k)}}else{Ge++;this.fileTimestampQueue.add(v,((k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting file timestamp of ${v}: ${k.stack}`)}jobError()}else{N.set(v,E);jobDone()}}))}}break}};if(v){processCapturedFiles(captureNonManaged(v,Me))}const processCapturedDirectories=k=>{switch(Ue){case 3:this._contextTshsOptimization.optimize(Be,k);for(const v of k){const k=this._contextTshs.get(v);let E;if(k!==undefined&&(E=getResolvedTimestamp(k))!==undefined){ye.set(v,E)}else{Ge++;const callback=(k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting context timestamp hash combination of ${v}: ${k.stack}`)}jobError()}else{ye.set(v,E);jobDone()}};if(k!==undefined){this._resolveContextTsh(k,callback)}else{this.getContextTsh(v,callback)}}}break;case 2:this._contextHashesOptimization.optimize(Be,k);for(const v of k){const k=this._contextHashes.get(v);let E;if(k!==undefined&&(E=getResolvedHash(k))!==undefined){me.set(v,E)}else{Ge++;const callback=(k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting context hash of ${v}: ${k.stack}`)}jobError()}else{me.set(v,E);jobDone()}};if(k!==undefined){this._resolveContextHash(k,callback)}else{this.getContextHash(v,callback)}}}break;case 1:this._contextTimestampsOptimization.optimize(Be,k);for(const v of k){const k=this._contextTimestamps.get(v);if(k==="ignore")continue;let E;if(k!==undefined&&(E=getResolvedTimestamp(k))!==undefined){le.set(v,E)}else{Ge++;const callback=(k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting context timestamp of ${v}: ${k.stack}`)}jobError()}else{le.set(v,E);jobDone()}};if(k!==undefined){this._resolveContextTimestamp(k,callback)}else{this.getContextTimestamp(v,callback)}}}break}};if(E){processCapturedDirectories(captureNonManaged(E,Te))}const processCapturedMissing=k=>{this._missingExistenceOptimization.optimize(Be,k);for(const v of k){const k=this._fileTimestamps.get(v);if(k!==undefined){if(k!=="ignore"){_e.set(v,Boolean(k))}}else{Ge++;this.fileTimestampQueue.add(v,((k,E)=>{if(k){if(this.logger){this.logger.debug(`Error snapshotting missing timestamp of ${v}: ${k.stack}`)}jobError()}else{_e.set(v,Boolean(E));jobDone()}}))}}};if(P){processCapturedMissing(captureNonManaged(P,je))}this._managedItemInfoOptimization.optimize(Be,qe);for(const k of qe){const v=this._managedItems.get(k);if(v!==undefined){if(!v.startsWith("*")){Me.add(pe(this.fs,k,"package.json"))}else if(v==="*nested"){je.add(pe(this.fs,k,"package.json"))}Ie.set(k,v)}else{Ge++;this.managedItemQueue.add(k,((E,P)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting managed item ${k}: ${E.stack}`)}jobError()}else if(P){if(!P.startsWith("*")){Me.add(pe(this.fs,k,"package.json"))}else if(v==="*nested"){je.add(pe(this.fs,k,"package.json"))}Ie.set(k,P);jobDone()}else{const process=(v,E)=>{if(v.size===0)return;const P=new Set;for(const E of v){if(E.startsWith(k))P.add(E)}if(P.size>0)E(P)};process(Me,processCapturedFiles);process(Te,processCapturedDirectories);process(je,processCapturedMissing);jobDone()}}))}}jobDone()}mergeSnapshots(k,v){const E=new Snapshot;if(k.hasStartTime()&&v.hasStartTime())E.setStartTime(Math.min(k.startTime,v.startTime));else if(v.hasStartTime())E.startTime=v.startTime;else if(k.hasStartTime())E.startTime=k.startTime;if(k.hasFileTimestamps()||v.hasFileTimestamps()){E.setFileTimestamps(mergeMaps(k.fileTimestamps,v.fileTimestamps))}if(k.hasFileHashes()||v.hasFileHashes()){E.setFileHashes(mergeMaps(k.fileHashes,v.fileHashes))}if(k.hasFileTshs()||v.hasFileTshs()){E.setFileTshs(mergeMaps(k.fileTshs,v.fileTshs))}if(k.hasContextTimestamps()||v.hasContextTimestamps()){E.setContextTimestamps(mergeMaps(k.contextTimestamps,v.contextTimestamps))}if(k.hasContextHashes()||v.hasContextHashes()){E.setContextHashes(mergeMaps(k.contextHashes,v.contextHashes))}if(k.hasContextTshs()||v.hasContextTshs()){E.setContextTshs(mergeMaps(k.contextTshs,v.contextTshs))}if(k.hasMissingExistence()||v.hasMissingExistence()){E.setMissingExistence(mergeMaps(k.missingExistence,v.missingExistence))}if(k.hasManagedItemInfo()||v.hasManagedItemInfo()){E.setManagedItemInfo(mergeMaps(k.managedItemInfo,v.managedItemInfo))}if(k.hasManagedFiles()||v.hasManagedFiles()){E.setManagedFiles(mergeSets(k.managedFiles,v.managedFiles))}if(k.hasManagedContexts()||v.hasManagedContexts()){E.setManagedContexts(mergeSets(k.managedContexts,v.managedContexts))}if(k.hasManagedMissing()||v.hasManagedMissing()){E.setManagedMissing(mergeSets(k.managedMissing,v.managedMissing))}if(k.hasChildren()||v.hasChildren()){E.setChildren(mergeSets(k.children,v.children))}if(this._snapshotCache.get(k)===true&&this._snapshotCache.get(v)===true){this._snapshotCache.set(E,true)}return E}checkSnapshotValid(k,v){const E=this._snapshotCache.get(k);if(E!==undefined){this._statTestedSnapshotsCached++;if(typeof E==="boolean"){v(null,E)}else{E.push(v)}return}this._statTestedSnapshotsNotCached++;this._checkSnapshotValidNoCache(k,v)}_checkSnapshotValidNoCache(k,v){let E=undefined;if(k.hasStartTime()){E=k.startTime}let P=1;const jobDone=()=>{if(--P===0){this._snapshotCache.set(k,true);v(null,true)}};const invalid=()=>{if(P>0){P=-1e8;this._snapshotCache.set(k,false);v(null,false)}};const invalidWithError=(k,v)=>{if(this._remainingLogs>0){this._log(k,`error occurred: %s`,v)}invalid()};const checkHash=(k,v,E)=>{if(v!==E){if(this._remainingLogs>0){this._log(k,`hashes differ (%s != %s)`,v,E)}return false}return true};const checkExistence=(k,v,E)=>{if(!v!==!E){if(this._remainingLogs>0){this._log(k,v?"it didn't exist before":"it does no longer exist")}return false}return true};const checkFile=(k,v,P,R=true)=>{if(v===P)return true;if(!checkExistence(k,Boolean(v),Boolean(P)))return false;if(v){if(typeof E==="number"&&v.safeTime>E){if(R&&this._remainingLogs>0){this._log(k,`it may have changed (%d) after the start time of the snapshot (%d)`,v.safeTime,E)}return false}if(P.timestamp!==undefined&&v.timestamp!==P.timestamp){if(R&&this._remainingLogs>0){this._log(k,`timestamps differ (%d != %d)`,v.timestamp,P.timestamp)}return false}}return true};const checkContext=(k,v,P,R=true)=>{if(v===P)return true;if(!checkExistence(k,Boolean(v),Boolean(P)))return false;if(v){if(typeof E==="number"&&v.safeTime>E){if(R&&this._remainingLogs>0){this._log(k,`it may have changed (%d) after the start time of the snapshot (%d)`,v.safeTime,E)}return false}if(P.timestampHash!==undefined&&v.timestampHash!==P.timestampHash){if(R&&this._remainingLogs>0){this._log(k,`timestamps hashes differ (%s != %s)`,v.timestampHash,P.timestampHash)}return false}}return true};if(k.hasChildren()){const childCallback=(k,v)=>{if(k||!v)return invalid();else jobDone()};for(const v of k.children){const k=this._snapshotCache.get(v);if(k!==undefined){this._statTestedChildrenCached++;if(typeof k==="boolean"){if(k===false){invalid();return}}else{P++;k.push(childCallback)}}else{this._statTestedChildrenNotCached++;P++;this._checkSnapshotValidNoCache(v,childCallback)}}}if(k.hasFileTimestamps()){const{fileTimestamps:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){const v=this._fileTimestamps.get(k);if(v!==undefined){if(v!=="ignore"&&!checkFile(k,v,E)){invalid();return}}else{P++;this.fileTimestampQueue.add(k,((v,P)=>{if(v)return invalidWithError(k,v);if(!checkFile(k,P,E)){invalid()}else{jobDone()}}))}}}const processFileHashSnapshot=(k,v)=>{const E=this._fileHashes.get(k);if(E!==undefined){if(E!=="ignore"&&!checkHash(k,E,v)){invalid();return}}else{P++;this.fileHashQueue.add(k,((E,P)=>{if(E)return invalidWithError(k,E);if(!checkHash(k,P,v)){invalid()}else{jobDone()}}))}};if(k.hasFileHashes()){const{fileHashes:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){processFileHashSnapshot(k,E)}}if(k.hasFileTshs()){const{fileTshs:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){if(typeof E==="string"){processFileHashSnapshot(k,E)}else{const v=this._fileTimestamps.get(k);if(v!==undefined){if(v==="ignore"||!checkFile(k,v,E,false)){processFileHashSnapshot(k,E&&E.hash)}}else{P++;this.fileTimestampQueue.add(k,((v,P)=>{if(v)return invalidWithError(k,v);if(!checkFile(k,P,E,false)){processFileHashSnapshot(k,E&&E.hash)}jobDone()}))}}}}if(k.hasContextTimestamps()){const{contextTimestamps:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){const v=this._contextTimestamps.get(k);if(v==="ignore")continue;let R;if(v!==undefined&&(R=getResolvedTimestamp(v))!==undefined){if(!checkContext(k,R,E)){invalid();return}}else{P++;const callback=(v,P)=>{if(v)return invalidWithError(k,v);if(!checkContext(k,P,E)){invalid()}else{jobDone()}};if(v!==undefined){this._resolveContextTimestamp(v,callback)}else{this.getContextTimestamp(k,callback)}}}}const processContextHashSnapshot=(k,v)=>{const E=this._contextHashes.get(k);let R;if(E!==undefined&&(R=getResolvedHash(E))!==undefined){if(!checkHash(k,R,v)){invalid();return}}else{P++;const callback=(E,P)=>{if(E)return invalidWithError(k,E);if(!checkHash(k,P,v)){invalid()}else{jobDone()}};if(E!==undefined){this._resolveContextHash(E,callback)}else{this.getContextHash(k,callback)}}};if(k.hasContextHashes()){const{contextHashes:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){processContextHashSnapshot(k,E)}}if(k.hasContextTshs()){const{contextTshs:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){if(typeof E==="string"){processContextHashSnapshot(k,E)}else{const v=this._contextTimestamps.get(k);if(v==="ignore")continue;let R;if(v!==undefined&&(R=getResolvedTimestamp(v))!==undefined){if(!checkContext(k,R,E,false)){processContextHashSnapshot(k,E&&E.hash)}}else{P++;const callback=(v,P)=>{if(v)return invalidWithError(k,v);if(!checkContext(k,P,E,false)){processContextHashSnapshot(k,E&&E.hash)}jobDone()};if(v!==undefined){this._resolveContextTimestamp(v,callback)}else{this.getContextTimestamp(k,callback)}}}}}if(k.hasMissingExistence()){const{missingExistence:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){const v=this._fileTimestamps.get(k);if(v!==undefined){if(v!=="ignore"&&!checkExistence(k,Boolean(v),Boolean(E))){invalid();return}}else{P++;this.fileTimestampQueue.add(k,((v,P)=>{if(v)return invalidWithError(k,v);if(!checkExistence(k,Boolean(P),Boolean(E))){invalid()}else{jobDone()}}))}}}if(k.hasManagedItemInfo()){const{managedItemInfo:v}=k;this._statTestedEntries+=v.size;for(const[k,E]of v){const v=this._managedItems.get(k);if(v!==undefined){if(!checkHash(k,v,E)){invalid();return}}else{P++;this.managedItemQueue.add(k,((v,P)=>{if(v)return invalidWithError(k,v);if(!checkHash(k,P,E)){invalid()}else{jobDone()}}))}}}jobDone();if(P>0){const E=[v];v=(k,v)=>{for(const P of E)P(k,v)};this._snapshotCache.set(k,E)}}_readFileTimestamp(k,v){this.fs.stat(k,((E,P)=>{if(E){if(E.code==="ENOENT"){this._fileTimestamps.set(k,null);this._cachedDeprecatedFileTimestamps=undefined;return v(null,null)}return v(E)}let R;if(P.isDirectory()){R={safeTime:0,timestamp:undefined}}else{const k=+P.mtime;if(k)applyMtime(k);R={safeTime:k?k+Ne:Infinity,timestamp:k}}this._fileTimestamps.set(k,R);this._cachedDeprecatedFileTimestamps=undefined;v(null,R)}))}_readFileHash(k,v){this.fs.readFile(k,((E,P)=>{if(E){if(E.code==="EISDIR"){this._fileHashes.set(k,"directory");return v(null,"directory")}if(E.code==="ENOENT"){this._fileHashes.set(k,null);return v(null,null)}if(E.code==="ERR_FS_FILE_TOO_LARGE"){this.logger.warn(`Ignoring ${k} for hashing as it's very large`);this._fileHashes.set(k,"too large");return v(null,"too large")}return v(E)}const R=le(this._hashFunction);R.update(P);const L=R.digest("hex");this._fileHashes.set(k,L);v(null,L)}))}_getFileTimestampAndHash(k,v){const continueWithHash=E=>{const P=this._fileTimestamps.get(k);if(P!==undefined){if(P!=="ignore"){const R={...P,hash:E};this._fileTshs.set(k,R);return v(null,R)}else{this._fileTshs.set(k,E);return v(null,E)}}else{this.fileTimestampQueue.add(k,((P,R)=>{if(P){return v(P)}const L={...R,hash:E};this._fileTshs.set(k,L);return v(null,L)}))}};const E=this._fileHashes.get(k);if(E!==undefined){continueWithHash(E)}else{this.fileHashQueue.add(k,((k,E)=>{if(k){return v(k)}continueWithHash(E)}))}}_readContext({path:k,fromImmutablePath:v,fromManagedItem:E,fromSymlink:P,fromFile:R,fromDirectory:N,reduce:q},ae){this.fs.readdir(k,((le,me)=>{if(le){if(le.code==="ENOENT"){return ae(null,null)}return ae(le)}const ye=me.map((k=>k.normalize("NFC"))).filter((k=>!/^\./.test(k))).sort();L.map(ye,((L,q)=>{const ae=pe(this.fs,k,L);for(const E of this.immutablePathsRegExps){if(E.test(k)){return q(null,v(k))}}for(const E of this.immutablePathsWithSlash){if(k.startsWith(E)){return q(null,v(k))}}for(const v of this.managedPathsRegExps){const P=v.exec(k);if(P){const v=getManagedItem(P[1],k);if(v){return this.managedItemQueue.add(v,((k,v)=>{if(k)return q(k);return q(null,E(v))}))}}}for(const v of this.managedPathsWithSlash){if(k.startsWith(v)){const k=getManagedItem(v,ae);if(k){return this.managedItemQueue.add(k,((k,v)=>{if(k)return q(k);return q(null,E(v))}))}}}_e(this.fs,ae,((k,v)=>{if(k)return q(k);if(typeof v==="string"){return P(ae,v,q)}if(v.isFile()){return R(ae,v,q)}if(v.isDirectory()){return N(ae,v,q)}q(null,null)}))}),((k,v)=>{if(k)return ae(k);const E=q(ye,v);ae(null,E)}))}))}_readContextTimestamp(k,v){this._readContext({path:k,fromImmutablePath:()=>null,fromManagedItem:k=>({safeTime:0,timestampHash:k}),fromSymlink:(k,v,E)=>{E(null,{timestampHash:v,symlinks:new Set([v])})},fromFile:(k,v,E)=>{const P=this._fileTimestamps.get(k);if(P!==undefined)return E(null,P==="ignore"?null:P);const R=+v.mtime;if(R)applyMtime(R);const L={safeTime:R?R+Ne:Infinity,timestamp:R};this._fileTimestamps.set(k,L);this._cachedDeprecatedFileTimestamps=undefined;E(null,L)},fromDirectory:(k,v,E)=>{this.contextTimestampQueue.increaseParallelism();this._getUnresolvedContextTimestamp(k,((k,v)=>{this.contextTimestampQueue.decreaseParallelism();E(k,v)}))},reduce:(k,v)=>{let E=undefined;const P=le(this._hashFunction);for(const v of k)P.update(v);let R=0;for(const k of v){if(!k){P.update("n");continue}if(k.timestamp){P.update("f");P.update(`${k.timestamp}`)}else if(k.timestampHash){P.update("d");P.update(`${k.timestampHash}`)}if(k.symlinks!==undefined){if(E===undefined)E=new Set;addAll(k.symlinks,E)}if(k.safeTime){R=Math.max(R,k.safeTime)}}const L=P.digest("hex");const N={safeTime:R,timestampHash:L};if(E)N.symlinks=E;return N}},((E,P)=>{if(E)return v(E);this._contextTimestamps.set(k,P);this._cachedDeprecatedContextTimestamps=undefined;v(null,P)}))}_resolveContextTimestamp(k,v){const E=[];let P=0;Me(k.symlinks,10,((k,v,R)=>{this._getUnresolvedContextTimestamp(k,((k,L)=>{if(k)return R(k);if(L&&L!=="ignore"){E.push(L.timestampHash);if(L.safeTime){P=Math.max(P,L.safeTime)}if(L.symlinks!==undefined){for(const k of L.symlinks)v(k)}}R()}))}),(R=>{if(R)return v(R);const L=le(this._hashFunction);L.update(k.timestampHash);if(k.safeTime){P=Math.max(P,k.safeTime)}E.sort();for(const k of E){L.update(k)}v(null,k.resolved={safeTime:P,timestampHash:L.digest("hex")})}))}_readContextHash(k,v){this._readContext({path:k,fromImmutablePath:()=>"",fromManagedItem:k=>k||"",fromSymlink:(k,v,E)=>{E(null,{hash:v,symlinks:new Set([v])})},fromFile:(k,v,E)=>this.getFileHash(k,((k,v)=>{E(k,v||"")})),fromDirectory:(k,v,E)=>{this.contextHashQueue.increaseParallelism();this._getUnresolvedContextHash(k,((k,v)=>{this.contextHashQueue.decreaseParallelism();E(k,v||"")}))},reduce:(k,v)=>{let E=undefined;const P=le(this._hashFunction);for(const v of k)P.update(v);for(const k of v){if(typeof k==="string"){P.update(k)}else{P.update(k.hash);if(k.symlinks){if(E===undefined)E=new Set;addAll(k.symlinks,E)}}}const R={hash:P.digest("hex")};if(E)R.symlinks=E;return R}},((E,P)=>{if(E)return v(E);this._contextHashes.set(k,P);return v(null,P)}))}_resolveContextHash(k,v){const E=[];Me(k.symlinks,10,((k,v,P)=>{this._getUnresolvedContextHash(k,((k,R)=>{if(k)return P(k);if(R){E.push(R.hash);if(R.symlinks!==undefined){for(const k of R.symlinks)v(k)}}P()}))}),(P=>{if(P)return v(P);const R=le(this._hashFunction);R.update(k.hash);E.sort();for(const k of E){R.update(k)}v(null,k.resolved=R.digest("hex"))}))}_readContextTimestampAndHash(k,v){const finalize=(E,P)=>{const R=E==="ignore"?P:{...E,...P};this._contextTshs.set(k,R);v(null,R)};const E=this._contextHashes.get(k);const P=this._contextTimestamps.get(k);if(E!==undefined){if(P!==undefined){finalize(P,E)}else{this.contextTimestampQueue.add(k,((k,P)=>{if(k)return v(k);finalize(P,E)}))}}else{if(P!==undefined){this.contextHashQueue.add(k,((k,E)=>{if(k)return v(k);finalize(P,E)}))}else{this._readContext({path:k,fromImmutablePath:()=>null,fromManagedItem:k=>({safeTime:0,timestampHash:k,hash:k||""}),fromSymlink:(k,v,E)=>{E(null,{timestampHash:v,hash:v,symlinks:new Set([v])})},fromFile:(k,v,E)=>{this._getFileTimestampAndHash(k,E)},fromDirectory:(k,v,E)=>{this.contextTshQueue.increaseParallelism();this.contextTshQueue.add(k,((k,v)=>{this.contextTshQueue.decreaseParallelism();E(k,v)}))},reduce:(k,v)=>{let E=undefined;const P=le(this._hashFunction);const R=le(this._hashFunction);for(const v of k){P.update(v);R.update(v)}let L=0;for(const k of v){if(!k){P.update("n");continue}if(typeof k==="string"){P.update("n");R.update(k);continue}if(k.timestamp){P.update("f");P.update(`${k.timestamp}`)}else if(k.timestampHash){P.update("d");P.update(`${k.timestampHash}`)}if(k.symlinks!==undefined){if(E===undefined)E=new Set;addAll(k.symlinks,E)}if(k.safeTime){L=Math.max(L,k.safeTime)}R.update(k.hash)}const N={safeTime:L,timestampHash:P.digest("hex"),hash:R.digest("hex")};if(E)N.symlinks=E;return N}},((E,P)=>{if(E)return v(E);this._contextTshs.set(k,P);return v(null,P)}))}}}_resolveContextTsh(k,v){const E=[];const P=[];let R=0;Me(k.symlinks,10,((k,v,L)=>{this._getUnresolvedContextTsh(k,((k,N)=>{if(k)return L(k);if(N){E.push(N.hash);if(N.timestampHash)P.push(N.timestampHash);if(N.safeTime){R=Math.max(R,N.safeTime)}if(N.symlinks!==undefined){for(const k of N.symlinks)v(k)}}L()}))}),(L=>{if(L)return v(L);const N=le(this._hashFunction);const q=le(this._hashFunction);N.update(k.hash);if(k.timestampHash)q.update(k.timestampHash);if(k.safeTime){R=Math.max(R,k.safeTime)}E.sort();for(const k of E){N.update(k)}P.sort();for(const k of P){q.update(k)}v(null,k.resolved={safeTime:R,timestampHash:q.digest("hex"),hash:N.digest("hex")})}))}_getManagedItemDirectoryInfo(k,v){this.fs.readdir(k,((E,P)=>{if(E){if(E.code==="ENOENT"||E.code==="ENOTDIR"){return v(null,Be)}return v(E)}const R=new Set(P.map((v=>pe(this.fs,k,v))));v(null,R)}))}_getManagedItemInfo(k,v){const E=me(this.fs,k);this.managedItemDirectoryQueue.add(E,((E,P)=>{if(E){return v(E)}if(!P.has(k)){this._managedItems.set(k,"*missing");return v(null,"*missing")}if(k.endsWith("node_modules")&&(k.endsWith("/node_modules")||k.endsWith("\\node_modules"))){this._managedItems.set(k,"*node_modules");return v(null,"*node_modules")}const R=pe(this.fs,k,"package.json");this.fs.readFile(R,((E,P)=>{if(E){if(E.code==="ENOENT"||E.code==="ENOTDIR"){this.fs.readdir(k,((E,P)=>{if(!E&&P.length===1&&P[0]==="node_modules"){this._managedItems.set(k,"*nested");return v(null,"*nested")}this.logger.warn(`Managed item ${k} isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)`);return v()}));return}return v(E)}let L;try{L=JSON.parse(P.toString("utf-8"))}catch(k){return v(k)}if(!L.name){this.logger.warn(`${R} doesn't contain a "name" property (see snapshot.managedPaths option)`);return v()}const N=`${L.name||""}@${L.version||""}`;this._managedItems.set(k,N);v(null,N)}))}))}getDeprecatedFileTimestamps(){if(this._cachedDeprecatedFileTimestamps!==undefined)return this._cachedDeprecatedFileTimestamps;const k=new Map;for(const[v,E]of this._fileTimestamps){if(E)k.set(v,typeof E==="object"?E.safeTime:null)}return this._cachedDeprecatedFileTimestamps=k}getDeprecatedContextTimestamps(){if(this._cachedDeprecatedContextTimestamps!==undefined)return this._cachedDeprecatedContextTimestamps;const k=new Map;for(const[v,E]of this._contextTimestamps){if(E)k.set(v,typeof E==="object"?E.safeTime:null)}return this._cachedDeprecatedContextTimestamps=k}}k.exports=FileSystemInfo;k.exports.Snapshot=Snapshot},17092:function(k,v,E){"use strict";const{getEntryRuntime:P,mergeRuntimeOwned:R}=E(1540);const L="FlagAllModulesAsUsedPlugin";class FlagAllModulesAsUsedPlugin{constructor(k){this.explanation=k}apply(k){k.hooks.compilation.tap(L,(k=>{const v=k.moduleGraph;k.hooks.optimizeDependencies.tap(L,(E=>{let L=undefined;for(const[v,{options:E}]of k.entries){L=R(L,P(k,v,E))}for(const k of E){const E=v.getExportsInfo(k);E.setUsedInUnknownWay(L);v.addExtraReason(k,this.explanation);if(k.factoryMeta===undefined){k.factoryMeta={}}k.factoryMeta.sideEffectFree=false}}))}))}}k.exports=FlagAllModulesAsUsedPlugin},13893:function(k,v,E){"use strict";const P=E(78175);const R=E(28226);const L="FlagDependencyExportsPlugin";const N=`webpack.${L}`;class FlagDependencyExportsPlugin{apply(k){k.hooks.compilation.tap(L,(k=>{const v=k.moduleGraph;const E=k.getCache(L);k.hooks.finishModules.tapAsync(L,((L,q)=>{const ae=k.getLogger(N);let le=0;let pe=0;let me=0;let ye=0;let _e=0;let Ie=0;const{moduleMemCaches:Me}=k;const Te=new R;ae.time("restore cached provided exports");P.each(L,((k,P)=>{const R=v.getExportsInfo(k);if(!k.buildMeta||!k.buildMeta.exportsType){if(R.otherExportsInfo.provided!==null){me++;R.setHasProvideInfo();R.setUnknownExportsProvided();return P()}}if(typeof k.buildInfo.hash!=="string"){ye++;Te.enqueue(k);R.setHasProvideInfo();return P()}const L=Me&&Me.get(k);const N=L&&L.get(this);if(N!==undefined){le++;R.restoreProvided(N);return P()}E.get(k.identifier(),k.buildInfo.hash,((v,E)=>{if(v)return P(v);if(E!==undefined){pe++;R.restoreProvided(E)}else{_e++;Te.enqueue(k);R.setHasProvideInfo()}P()}))}),(k=>{ae.timeEnd("restore cached provided exports");if(k)return q(k);const R=new Set;const L=new Map;let N;let je;const Ne=new Map;let Be=true;let qe=false;const processDependenciesBlock=k=>{for(const v of k.dependencies){processDependency(v)}for(const v of k.blocks){processDependenciesBlock(v)}};const processDependency=k=>{const E=k.getExports(v);if(!E)return;Ne.set(k,E)};const processExportsSpec=(k,E)=>{const P=E.exports;const R=E.canMangle;const q=E.from;const ae=E.priority;const le=E.terminalBinding||false;const pe=E.dependencies;if(E.hideExports){for(const v of E.hideExports){const E=je.getExportInfo(v);E.unsetTarget(k)}}if(P===true){if(je.setUnknownExportsProvided(R,E.excludeExports,q&&k,q,ae)){qe=true}}else if(Array.isArray(P)){const mergeExports=(E,P)=>{for(const pe of P){let P;let me=R;let ye=le;let _e=undefined;let Ie=q;let Me=undefined;let Te=ae;let je=false;if(typeof pe==="string"){P=pe}else{P=pe.name;if(pe.canMangle!==undefined)me=pe.canMangle;if(pe.export!==undefined)Me=pe.export;if(pe.exports!==undefined)_e=pe.exports;if(pe.from!==undefined)Ie=pe.from;if(pe.priority!==undefined)Te=pe.priority;if(pe.terminalBinding!==undefined)ye=pe.terminalBinding;if(pe.hidden!==undefined)je=pe.hidden}const Ne=E.getExportInfo(P);if(Ne.provided===false||Ne.provided===null){Ne.provided=true;qe=true}if(Ne.canMangleProvide!==false&&me===false){Ne.canMangleProvide=false;qe=true}if(ye&&!Ne.terminalBinding){Ne.terminalBinding=true;qe=true}if(_e){const k=Ne.createNestedExportsInfo();mergeExports(k,_e)}if(Ie&&(je?Ne.unsetTarget(k):Ne.setTarget(k,Ie,Me===undefined?[P]:Me,Te))){qe=true}const Be=Ne.getTarget(v);let Ue=undefined;if(Be){const k=v.getExportsInfo(Be.module);Ue=k.getNestedExportsInfo(Be.export);const E=L.get(Be.module);if(E===undefined){L.set(Be.module,new Set([N]))}else{E.add(N)}}if(Ne.exportsInfoOwned){if(Ne.exportsInfo.setRedirectNamedTo(Ue)){qe=true}}else if(Ne.exportsInfo!==Ue){Ne.exportsInfo=Ue;qe=true}}};mergeExports(je,P)}if(pe){Be=false;for(const k of pe){const v=L.get(k);if(v===undefined){L.set(k,new Set([N]))}else{v.add(N)}}}};const notifyDependencies=()=>{const k=L.get(N);if(k!==undefined){for(const v of k){Te.enqueue(v)}}};ae.time("figure out provided exports");while(Te.length>0){N=Te.dequeue();Ie++;je=v.getExportsInfo(N);Be=true;qe=false;Ne.clear();v.freeze();processDependenciesBlock(N);v.unfreeze();for(const[k,v]of Ne){processExportsSpec(k,v)}if(Be){R.add(N)}if(qe){notifyDependencies()}}ae.timeEnd("figure out provided exports");ae.log(`${Math.round(100*(ye+_e)/(le+pe+_e+ye+me))}% of exports of modules have been determined (${me} no declared exports, ${_e} not cached, ${ye} flagged uncacheable, ${pe} from cache, ${le} from mem cache, ${Ie-_e-ye} additional calculations due to dependencies)`);ae.time("store provided exports into cache");P.each(R,((k,P)=>{if(typeof k.buildInfo.hash!=="string"){return P()}const R=v.getExportsInfo(k).getRestoreProvidedData();const L=Me&&Me.get(k);if(L){L.set(this,R)}E.store(k.identifier(),k.buildInfo.hash,R,P)}),(k=>{ae.timeEnd("store provided exports into cache");q(k)}))}))}));const q=new WeakMap;k.hooks.rebuildModule.tap(L,(k=>{q.set(k,v.getExportsInfo(k).getRestoreProvidedData())}));k.hooks.finishRebuildingModule.tap(L,(k=>{v.getExportsInfo(k).restoreProvided(q.get(k))}))}))}}k.exports=FlagDependencyExportsPlugin},25984:function(k,v,E){"use strict";const P=E(16848);const{UsageState:R}=E(11172);const L=E(86267);const{STAGE_DEFAULT:N}=E(99134);const q=E(12970);const ae=E(19361);const{getEntryRuntime:le,mergeRuntimeOwned:pe}=E(1540);const{NO_EXPORTS_REFERENCED:me,EXPORTS_OBJECT_REFERENCED:ye}=P;const _e="FlagDependencyUsagePlugin";const Ie=`webpack.${_e}`;class FlagDependencyUsagePlugin{constructor(k){this.global=k}apply(k){k.hooks.compilation.tap(_e,(k=>{const v=k.moduleGraph;k.hooks.optimizeDependencies.tap({name:_e,stage:N},(E=>{if(k.moduleMemCaches){throw new Error("optimization.usedExports can't be used with cacheUnaffected as export usage is a global effect")}const P=k.getLogger(Ie);const N=new Map;const _e=new ae;const processReferencedModule=(k,E,P,L)=>{const q=v.getExportsInfo(k);if(E.length>0){if(!k.buildMeta||!k.buildMeta.exportsType){if(q.setUsedWithoutInfo(P)){_e.enqueue(k,P)}return}for(const v of E){let E;let L=true;if(Array.isArray(v)){E=v}else{E=v.name;L=v.canMangle!==false}if(E.length===0){if(q.setUsedInUnknownWay(P)){_e.enqueue(k,P)}}else{let v=q;for(let ae=0;aek===R.Unused),R.OnlyPropertiesUsed,P)){const E=v===q?k:N.get(v);if(E){_e.enqueue(E,P)}}v=E;continue}}if(le.setUsedConditionally((k=>k!==R.Used),R.Used,P)){const E=v===q?k:N.get(v);if(E){_e.enqueue(E,P)}}break}}}}else{if(!L&&k.factoryMeta!==undefined&&k.factoryMeta.sideEffectFree){return}if(q.setUsedForSideEffectsOnly(P)){_e.enqueue(k,P)}}};const processModule=(E,P,R)=>{const N=new Map;const ae=new q;ae.enqueue(E);for(;;){const E=ae.dequeue();if(E===undefined)break;for(const k of E.blocks){if(!this.global&&k.groupOptions&&k.groupOptions.entryOptions){processModule(k,k.groupOptions.entryOptions.runtime||undefined,true)}else{ae.enqueue(k)}}for(const R of E.dependencies){const E=v.getConnection(R);if(!E||!E.module){continue}const q=E.getActiveState(P);if(q===false)continue;const{module:ae}=E;if(q===L.TRANSITIVE_ONLY){processModule(ae,P,false);continue}const le=N.get(ae);if(le===ye){continue}const pe=k.getDependencyReferencedExports(R,P);if(le===undefined||le===me||pe===ye){N.set(ae,pe)}else if(le!==undefined&&pe===me){continue}else{let k;if(Array.isArray(le)){k=new Map;for(const v of le){if(Array.isArray(v)){k.set(v.join("\n"),v)}else{k.set(v.name.join("\n"),v)}}N.set(ae,k)}else{k=le}for(const v of pe){if(Array.isArray(v)){const E=v.join("\n");const P=k.get(E);if(P===undefined){k.set(E,v)}}else{const E=v.name.join("\n");const P=k.get(E);if(P===undefined||Array.isArray(P)){k.set(E,v)}else{k.set(E,{name:v.name,canMangle:v.canMangle&&P.canMangle})}}}}}}for(const[k,v]of N){if(Array.isArray(v)){processReferencedModule(k,v,P,R)}else{processReferencedModule(k,Array.from(v.values()),P,R)}}};P.time("initialize exports usage");for(const k of E){const E=v.getExportsInfo(k);N.set(E,k);E.setHasUseInfo()}P.timeEnd("initialize exports usage");P.time("trace exports usage in graph");const processEntryDependency=(k,E)=>{const P=v.getModule(k);if(P){processReferencedModule(P,me,E,true)}};let Me=undefined;for(const[v,{dependencies:E,includeDependencies:P,options:R}]of k.entries){const L=this.global?undefined:le(k,v,R);for(const k of E){processEntryDependency(k,L)}for(const k of P){processEntryDependency(k,L)}Me=pe(Me,L)}for(const v of k.globalEntry.dependencies){processEntryDependency(v,Me)}for(const v of k.globalEntry.includeDependencies){processEntryDependency(v,Me)}while(_e.length){const[k,v]=_e.dequeue();processModule(k,v,false)}P.timeEnd("trace exports usage in graph")}))}))}}k.exports=FlagDependencyUsagePlugin},91597:function(k,v,E){"use strict";class Generator{static byType(k){return new ByTypeGenerator(k)}getTypes(k){const v=E(60386);throw new v}getSize(k,v){const P=E(60386);throw new P}generate(k,{dependencyTemplates:v,runtimeTemplate:P,moduleGraph:R,type:L}){const N=E(60386);throw new N}getConcatenationBailoutReason(k,v){return`Module Concatenation is not implemented for ${this.constructor.name}`}updateHash(k,{module:v,runtime:E}){}}class ByTypeGenerator extends Generator{constructor(k){super();this.map=k;this._types=new Set(Object.keys(k))}getTypes(k){return this._types}getSize(k,v){const E=v||"javascript";const P=this.map[E];return P?P.getSize(k,E):0}generate(k,v){const E=v.type;const P=this.map[E];if(!P){throw new Error(`Generator.byType: no generator specified for ${E}`)}return P.generate(k,v)}}k.exports=Generator},18467:function(k,v){"use strict";const connectChunkGroupAndChunk=(k,v)=>{if(k.pushChunk(v)){v.addGroup(k)}};const connectChunkGroupParentAndChild=(k,v)=>{if(k.addChild(v)){v.addParent(k)}};v.connectChunkGroupAndChunk=connectChunkGroupAndChunk;v.connectChunkGroupParentAndChild=connectChunkGroupParentAndChild},36473:function(k,v,E){"use strict";const P=E(71572);k.exports=class HarmonyLinkingError extends P{constructor(k){super(k);this.name="HarmonyLinkingError";this.hideStack=true}}},82104:function(k,v,E){"use strict";const P=E(71572);class HookWebpackError extends P{constructor(k,v){super(k.message);this.name="HookWebpackError";this.hook=v;this.error=k;this.hideStack=true;this.details=`caused by plugins in ${v}\n${k.stack}`;this.stack+=`\n-- inner error --\n${k.stack}`}}k.exports=HookWebpackError;const makeWebpackError=(k,v)=>{if(k instanceof P)return k;return new HookWebpackError(k,v)};k.exports.makeWebpackError=makeWebpackError;const makeWebpackErrorCallback=(k,v)=>(E,R)=>{if(E){if(E instanceof P){k(E);return}k(new HookWebpackError(E,v));return}k(null,R)};k.exports.makeWebpackErrorCallback=makeWebpackErrorCallback;const tryRunOrWebpackError=(k,v)=>{let E;try{E=k()}catch(k){if(k instanceof P){throw k}throw new HookWebpackError(k,v)}return E};k.exports.tryRunOrWebpackError=tryRunOrWebpackError},29898:function(k,v,E){"use strict";const{SyncBailHook:P}=E(79846);const{RawSource:R}=E(51255);const L=E(38317);const N=E(27747);const q=E(95733);const ae=E(38224);const le=E(56727);const pe=E(71572);const me=E(60381);const ye=E(40867);const _e=E(83894);const Ie=E(77691);const Me=E(90563);const Te=E(55223);const je=E(81532);const{evaluateToIdentifier:Ne}=E(80784);const{find:Be,isSubset:qe}=E(59959);const Ue=E(71307);const{compareModulesById:Ge}=E(95648);const{getRuntimeKey:He,keyToRuntime:We,forEachRuntime:Qe,mergeRuntimeOwned:Je,subtractRuntime:Ve,intersectRuntime:Ke}=E(1540);const{JAVASCRIPT_MODULE_TYPE_AUTO:Ye,JAVASCRIPT_MODULE_TYPE_DYNAMIC:Xe,JAVASCRIPT_MODULE_TYPE_ESM:Ze,WEBPACK_MODULE_TYPE_RUNTIME:et}=E(93622);const tt=new WeakMap;const nt="HotModuleReplacementPlugin";class HotModuleReplacementPlugin{static getParserHooks(k){if(!(k instanceof je)){throw new TypeError("The 'parser' argument must be an instance of JavascriptParser")}let v=tt.get(k);if(v===undefined){v={hotAcceptCallback:new P(["expression","requests"]),hotAcceptWithoutCallback:new P(["expression","requests"])};tt.set(k,v)}return v}constructor(k){this.options=k||{}}apply(k){const{_backCompat:v}=k;if(k.options.output.strictModuleErrorHandling===undefined)k.options.output.strictModuleErrorHandling=true;const E=[le.module];const createAcceptHandler=(k,v)=>{const{hotAcceptCallback:P,hotAcceptWithoutCallback:R}=HotModuleReplacementPlugin.getParserHooks(k);return L=>{const N=k.state.module;const q=new me(`${N.moduleArgument}.hot.accept`,L.callee.range,E);q.loc=L.loc;N.addPresentationalDependency(q);N.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(L.arguments.length>=1){const E=k.evaluateExpression(L.arguments[0]);let q=[];let ae=[];if(E.isString()){q=[E]}else if(E.isArray()){q=E.items.filter((k=>k.isString()))}if(q.length>0){q.forEach(((k,E)=>{const P=k.string;const R=new v(P,k.range);R.optional=true;R.loc=Object.create(L.loc);R.loc.index=E;N.addDependency(R);ae.push(P)}));if(L.arguments.length>1){P.call(L.arguments[1],ae);for(let v=1;vP=>{const R=k.state.module;const L=new me(`${R.moduleArgument}.hot.decline`,P.callee.range,E);L.loc=P.loc;R.addPresentationalDependency(L);R.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(P.arguments.length===1){const E=k.evaluateExpression(P.arguments[0]);let L=[];if(E.isString()){L=[E]}else if(E.isArray()){L=E.items.filter((k=>k.isString()))}L.forEach(((k,E)=>{const L=new v(k.string,k.range);L.optional=true;L.loc=Object.create(P.loc);L.loc.index=E;R.addDependency(L)}))}return true};const createHMRExpressionHandler=k=>v=>{const P=k.state.module;const R=new me(`${P.moduleArgument}.hot`,v.range,E);R.loc=v.loc;P.addPresentationalDependency(R);P.buildInfo.moduleConcatenationBailout="Hot Module Replacement";return true};const applyModuleHot=k=>{k.hooks.evaluateIdentifier.for("module.hot").tap({name:nt,before:"NodeStuffPlugin"},(k=>Ne("module.hot","module",(()=>["hot"]),true)(k)));k.hooks.call.for("module.hot.accept").tap(nt,createAcceptHandler(k,Ie));k.hooks.call.for("module.hot.decline").tap(nt,createDeclineHandler(k,Me));k.hooks.expression.for("module.hot").tap(nt,createHMRExpressionHandler(k))};const applyImportMetaHot=k=>{k.hooks.evaluateIdentifier.for("import.meta.webpackHot").tap(nt,(k=>Ne("import.meta.webpackHot","import.meta",(()=>["webpackHot"]),true)(k)));k.hooks.call.for("import.meta.webpackHot.accept").tap(nt,createAcceptHandler(k,ye));k.hooks.call.for("import.meta.webpackHot.decline").tap(nt,createDeclineHandler(k,_e));k.hooks.expression.for("import.meta.webpackHot").tap(nt,createHMRExpressionHandler(k))};k.hooks.compilation.tap(nt,((E,{normalModuleFactory:P})=>{if(E.compiler!==k)return;E.dependencyFactories.set(Ie,P);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyFactories.set(Me,P);E.dependencyTemplates.set(Me,new Me.Template);E.dependencyFactories.set(ye,P);E.dependencyTemplates.set(ye,new ye.Template);E.dependencyFactories.set(_e,P);E.dependencyTemplates.set(_e,new _e.Template);let me=0;const je={};const Ne={};E.hooks.record.tap(nt,((k,v)=>{if(v.hash===k.hash)return;const E=k.chunkGraph;v.hash=k.hash;v.hotIndex=me;v.fullHashChunkModuleHashes=je;v.chunkModuleHashes=Ne;v.chunkHashes={};v.chunkRuntime={};for(const E of k.chunks){v.chunkHashes[E.id]=E.hash;v.chunkRuntime[E.id]=He(E.runtime)}v.chunkModuleIds={};for(const P of k.chunks){v.chunkModuleIds[P.id]=Array.from(E.getOrderedChunkModulesIterable(P,Ge(E)),(k=>E.getModuleId(k)))}}));const tt=new Ue;const st=new Ue;const rt=new Ue;E.hooks.fullHash.tap(nt,(k=>{const v=E.chunkGraph;const P=E.records;for(const k of E.chunks){const getModuleHash=P=>{if(E.codeGenerationResults.has(P,k.runtime)){return E.codeGenerationResults.getHash(P,k.runtime)}else{rt.add(P,k.runtime);return v.getModuleHash(P,k.runtime)}};const R=v.getChunkFullHashModulesSet(k);if(R!==undefined){for(const v of R){st.add(v,k)}}const L=v.getChunkModulesIterable(k);if(L!==undefined){if(P.chunkModuleHashes){if(R!==undefined){for(const v of L){const E=`${k.id}|${v.identifier()}`;const L=getModuleHash(v);if(R.has(v)){if(P.fullHashChunkModuleHashes[E]!==L){tt.add(v,k)}je[E]=L}else{if(P.chunkModuleHashes[E]!==L){tt.add(v,k)}Ne[E]=L}}}else{for(const v of L){const E=`${k.id}|${v.identifier()}`;const R=getModuleHash(v);if(P.chunkModuleHashes[E]!==R){tt.add(v,k)}Ne[E]=R}}}else{if(R!==undefined){for(const v of L){const E=`${k.id}|${v.identifier()}`;const P=getModuleHash(v);if(R.has(v)){je[E]=P}else{Ne[E]=P}}}else{for(const v of L){const E=`${k.id}|${v.identifier()}`;const P=getModuleHash(v);Ne[E]=P}}}}}me=P.hotIndex||0;if(tt.size>0)me++;k.update(`${me}`)}));E.hooks.processAssets.tap({name:nt,stage:N.PROCESS_ASSETS_STAGE_ADDITIONAL},(()=>{const k=E.chunkGraph;const P=E.records;if(P.hash===E.hash)return;if(!P.chunkModuleHashes||!P.chunkHashes||!P.chunkModuleIds){return}for(const[v,R]of st){const L=`${R.id}|${v.identifier()}`;const N=rt.has(v,R.runtime)?k.getModuleHash(v,R.runtime):E.codeGenerationResults.getHash(v,R.runtime);if(P.chunkModuleHashes[L]!==N){tt.add(v,R)}Ne[L]=N}const N=new Map;let ae;for(const k of Object.keys(P.chunkRuntime)){const v=We(P.chunkRuntime[k]);ae=Je(ae,v)}Qe(ae,(k=>{const{path:v,info:R}=E.getPathWithInfo(E.outputOptions.hotUpdateMainFilename,{hash:P.hash,runtime:k});N.set(k,{updatedChunkIds:new Set,removedChunkIds:new Set,removedModules:new Set,filename:v,assetInfo:R})}));if(N.size===0)return;const le=new Map;for(const v of E.modules){const E=k.getModuleId(v);le.set(E,v)}const me=new Set;for(const R of Object.keys(P.chunkHashes)){const pe=We(P.chunkRuntime[R]);const ye=[];for(const k of P.chunkModuleIds[R]){const v=le.get(k);if(v===undefined){me.add(k)}else{ye.push(v)}}let _e;let Ie;let Me;let Te;let je;let Ne;let qe;const Ue=Be(E.chunks,(k=>`${k.id}`===R));if(Ue){_e=Ue.id;Ne=Ke(Ue.runtime,ae);if(Ne===undefined)continue;Ie=k.getChunkModules(Ue).filter((k=>tt.has(k,Ue)));Me=Array.from(k.getChunkRuntimeModulesIterable(Ue)).filter((k=>tt.has(k,Ue)));const v=k.getChunkFullHashModulesIterable(Ue);Te=v&&Array.from(v).filter((k=>tt.has(k,Ue)));const E=k.getChunkDependentHashModulesIterable(Ue);je=E&&Array.from(E).filter((k=>tt.has(k,Ue)));qe=Ve(pe,Ne)}else{_e=`${+R}`===R?+R:R;qe=pe;Ne=pe}if(qe){Qe(qe,(k=>{N.get(k).removedChunkIds.add(_e)}));for(const v of ye){const L=`${R}|${v.identifier()}`;const q=P.chunkModuleHashes[L];const ae=k.getModuleRuntimes(v);if(pe===Ne&&ae.has(Ne)){const P=rt.has(v,Ne)?k.getModuleHash(v,Ne):E.codeGenerationResults.getHash(v,Ne);if(P!==q){if(v.type===et){Me=Me||[];Me.push(v)}else{Ie=Ie||[];Ie.push(v)}}}else{Qe(qe,(k=>{for(const v of ae){if(typeof v==="string"){if(v===k)return}else if(v!==undefined){if(v.has(k))return}}N.get(k).removedModules.add(v)}))}}}if(Ie&&Ie.length>0||Me&&Me.length>0){const R=new q;if(v)L.setChunkGraphForChunk(R,k);R.id=_e;R.runtime=Ne;if(Ue){for(const k of Ue.groupsIterable)R.addGroup(k)}k.attachModules(R,Ie||[]);k.attachRuntimeModules(R,Me||[]);if(Te){k.attachFullHashModules(R,Te)}if(je){k.attachDependentHashModules(R,je)}const ae=E.getRenderManifest({chunk:R,hash:P.hash,fullHash:P.hash,outputOptions:E.outputOptions,moduleTemplates:E.moduleTemplates,dependencyTemplates:E.dependencyTemplates,codeGenerationResults:E.codeGenerationResults,runtimeTemplate:E.runtimeTemplate,moduleGraph:E.moduleGraph,chunkGraph:k});for(const k of ae){let v;let P;if("filename"in k){v=k.filename;P=k.info}else{({path:v,info:P}=E.getPathWithInfo(k.filenameTemplate,k.pathOptions))}const R=k.render();E.additionalChunkAssets.push(v);E.emitAsset(v,R,{hotModuleReplacement:true,...P});if(Ue){Ue.files.add(v);E.hooks.chunkAsset.call(Ue,v)}}Qe(Ne,(k=>{N.get(k).updatedChunkIds.add(_e)}))}}const ye=Array.from(me);const _e=new Map;for(const{removedChunkIds:k,removedModules:v,updatedChunkIds:P,filename:R,assetInfo:L}of N.values()){const N=_e.get(R);if(N&&(!qe(N.removedChunkIds,k)||!qe(N.removedModules,v)||!qe(N.updatedChunkIds,P))){E.warnings.push(new pe(`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 v of k)N.removedChunkIds.add(v);for(const k of v)N.removedModules.add(k);for(const k of P)N.updatedChunkIds.add(k);continue}_e.set(R,{removedChunkIds:k,removedModules:v,updatedChunkIds:P,assetInfo:L})}for(const[v,{removedChunkIds:P,removedModules:L,updatedChunkIds:N,assetInfo:q}]of _e){const ae={c:Array.from(N),r:Array.from(P),m:L.size===0?ye:ye.concat(Array.from(L,(v=>k.getModuleId(v))))};const le=new R(JSON.stringify(ae));E.emitAsset(v,le,{hotModuleReplacement:true,...q})}}));E.hooks.additionalTreeRuntimeRequirements.tap(nt,((k,v)=>{v.add(le.hmrDownloadManifest);v.add(le.hmrDownloadUpdateHandlers);v.add(le.interceptModuleExecution);v.add(le.moduleCache);E.addRuntimeModule(k,new Te)}));P.hooks.parser.for(Ye).tap(nt,(k=>{applyModuleHot(k);applyImportMetaHot(k)}));P.hooks.parser.for(Xe).tap(nt,(k=>{applyModuleHot(k)}));P.hooks.parser.for(Ze).tap(nt,(k=>{applyImportMetaHot(k)}));ae.getCompilationHooks(E).loader.tap(nt,(k=>{k.hot=true}))}))}}k.exports=HotModuleReplacementPlugin},95733:function(k,v,E){"use strict";const P=E(8247);class HotUpdateChunk extends P{constructor(){super()}}k.exports=HotUpdateChunk},95224:function(k,v,E){"use strict";const P=E(66043);class IgnoreErrorModuleFactory extends P{constructor(k){super();this.normalModuleFactory=k}create(k,v){this.normalModuleFactory.create(k,((k,E)=>v(null,E)))}}k.exports=IgnoreErrorModuleFactory},69200:function(k,v,E){"use strict";const P=E(92198);const R=P(E(4552),(()=>E(19134)),{name:"Ignore Plugin",baseDataPath:"options"});class IgnorePlugin{constructor(k){R(k);this.options=k;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(k){if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(k.request,k.context)){return false}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(k.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(k.context)){return false}}else{return false}}}apply(k){k.hooks.normalModuleFactory.tap("IgnorePlugin",(k=>{k.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}));k.hooks.contextModuleFactory.tap("IgnorePlugin",(k=>{k.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}))}}k.exports=IgnorePlugin},21324:function(k){"use strict";class IgnoreWarningsPlugin{constructor(k){this._ignoreWarnings=k}apply(k){k.hooks.compilation.tap("IgnoreWarningsPlugin",(k=>{k.hooks.processWarnings.tap("IgnoreWarningsPlugin",(v=>v.filter((v=>!this._ignoreWarnings.some((E=>E(v,k)))))))}))}}k.exports=IgnoreWarningsPlugin},88113:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const R=E(58528);const extractFragmentIndex=(k,v)=>[k,v];const sortFragmentWithIndex=([k,v],[E,P])=>{const R=k.stage-E.stage;if(R!==0)return R;const L=k.position-E.position;if(L!==0)return L;return v-P};class InitFragment{constructor(k,v,E,P,R){this.content=k;this.stage=v;this.position=E;this.key=P;this.endContent=R}getContent(k){return this.content}getEndContent(k){return this.endContent}static addToSource(k,v,E){if(v.length>0){const R=v.map(extractFragmentIndex).sort(sortFragmentWithIndex);const L=new Map;for(const[k]of R){if(typeof k.mergeAll==="function"){if(!k.key){throw new Error(`InitFragment with mergeAll function must have a valid key: ${k.constructor.name}`)}const v=L.get(k.key);if(v===undefined){L.set(k.key,k)}else if(Array.isArray(v)){v.push(k)}else{L.set(k.key,[v,k])}continue}else if(typeof k.merge==="function"){const v=L.get(k.key);if(v!==undefined){L.set(k.key,k.merge(v));continue}}L.set(k.key||Symbol(),k)}const N=new P;const q=[];for(let k of L.values()){if(Array.isArray(k)){k=k[0].mergeAll(k)}N.add(k.getContent(E));const v=k.getEndContent(E);if(v){q.push(v)}}N.add(k);for(const k of q.reverse()){N.add(k)}return N}else{return k}}serialize(k){const{write:v}=k;v(this.content);v(this.stage);v(this.position);v(this.key);v(this.endContent)}deserialize(k){const{read:v}=k;this.content=v();this.stage=v();this.position=v();this.key=v();this.endContent=v()}}R(InitFragment,"webpack/lib/InitFragment");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;k.exports=InitFragment},44017:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class InvalidDependenciesModuleWarning extends P{constructor(k,v){const E=v?Array.from(v).sort():[];const P=E.map((k=>` * ${JSON.stringify(k)}`));super(`Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${P.slice(0,3).join("\n")}${P.length>3?"\n * and more ...":""}`);this.name="InvalidDependenciesModuleWarning";this.details=P.slice(3).join("\n");this.module=k}}R(InvalidDependenciesModuleWarning,"webpack/lib/InvalidDependenciesModuleWarning");k.exports=InvalidDependenciesModuleWarning},28027:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(88926);const q="JavascriptMetaInfoPlugin";class JavascriptMetaInfoPlugin{apply(k){k.hooks.compilation.tap(q,((k,{normalModuleFactory:v})=>{const handler=k=>{k.hooks.call.for("eval").tap(q,(()=>{k.state.module.buildInfo.moduleConcatenationBailout="eval()";k.state.module.buildInfo.usingEval=true;const v=N.getTopLevelSymbol(k.state);if(v){N.addUsage(k.state,null,v)}else{N.bailout(k.state)}}));k.hooks.finish.tap(q,(()=>{let v=k.state.module.buildInfo.topLevelDeclarations;if(v===undefined){v=k.state.module.buildInfo.topLevelDeclarations=new Set}for(const E of k.scope.definitions.asSet()){const P=k.getFreeInfoFromVariable(E);if(P===undefined){v.add(E)}}}))};v.hooks.parser.for(P).tap(q,handler);v.hooks.parser.for(R).tap(q,handler);v.hooks.parser.for(L).tap(q,handler)}))}}k.exports=JavascriptMetaInfoPlugin},98060:function(k,v,E){"use strict";const P=E(78175);const R=E(25248);const{someInIterable:L}=E(54480);const{compareModulesById:N}=E(95648);const{dirname:q,mkdirp:ae}=E(57825);class LibManifestPlugin{constructor(k){this.options=k}apply(k){k.hooks.emit.tapAsync("LibManifestPlugin",((v,E)=>{const le=v.moduleGraph;P.forEach(Array.from(v.chunks),((E,P)=>{if(!E.canBeInitial()){P();return}const pe=v.chunkGraph;const me=v.getPath(this.options.path,{chunk:E});const ye=this.options.name&&v.getPath(this.options.name,{chunk:E,contentHashType:"javascript"});const _e=Object.create(null);for(const v of pe.getOrderedChunkModulesIterable(E,N(pe))){if(this.options.entryOnly&&!L(le.getIncomingConnections(v),(k=>k.dependency instanceof R))){continue}const E=v.libIdent({context:this.options.context||k.options.context,associatedObjectForCache:k.root});if(E){const k=le.getExportsInfo(v);const P=k.getProvidedExports();const R={id:pe.getModuleId(v),buildMeta:v.buildMeta,exports:Array.isArray(P)?P:undefined};_e[E]=R}}const Ie={name:ye,type:this.options.type,content:_e};const Me=this.options.format?JSON.stringify(Ie,null,2):JSON.stringify(Ie);const Te=Buffer.from(Me,"utf8");ae(k.intermediateFileSystem,q(k.intermediateFileSystem,me),(v=>{if(v)return P(v);k.intermediateFileSystem.writeFile(me,Te,P)}))}),E)}))}}k.exports=LibManifestPlugin},9021:function(k,v,E){"use strict";const P=E(60234);class LibraryTemplatePlugin{constructor(k,v,E,P,R){this.library={type:v||"var",name:k,umdNamedDefine:E,auxiliaryComment:P,export:R}}apply(k){const{output:v}=k.options;v.library=this.library;new P(this.library.type).apply(k)}}k.exports=LibraryTemplatePlugin},69056:function(k,v,E){"use strict";const P=E(98612);const R=E(38224);const L=E(92198);const N=L(E(12072),(()=>E(27667)),{name:"Loader Options Plugin",baseDataPath:"options"});class LoaderOptionsPlugin{constructor(k={}){N(k);if(typeof k!=="object")k={};if(!k.test){const v={test:()=>true};k.test=v}this.options=k}apply(k){const v=this.options;k.hooks.compilation.tap("LoaderOptionsPlugin",(k=>{R.getCompilationHooks(k).loader.tap("LoaderOptionsPlugin",((k,E)=>{const R=E.resource;if(!R)return;const L=R.indexOf("?");if(P.matchObject(v,L<0?R:R.slice(0,L))){for(const E of Object.keys(v)){if(E==="include"||E==="exclude"||E==="test"){continue}k[E]=v[E]}}}))}))}}k.exports=LoaderOptionsPlugin},49429:function(k,v,E){"use strict";const P=E(38224);class LoaderTargetPlugin{constructor(k){this.target=k}apply(k){k.hooks.compilation.tap("LoaderTargetPlugin",(k=>{P.getCompilationHooks(k).loader.tap("LoaderTargetPlugin",(k=>{k.target=this.target}))}))}}k.exports=LoaderTargetPlugin},98954:function(k,v,E){"use strict";const{SyncWaterfallHook:P}=E(79846);const R=E(73837);const L=E(56727);const N=E(20631);const q=N((()=>E(89168)));const ae=N((()=>E(68511)));const le=N((()=>E(42159)));class MainTemplate{constructor(k,v){this._outputOptions=k||{};this.hooks=Object.freeze({renderManifest:{tap:R.deprecate(((k,E)=>{v.hooks.renderManifest.tap(k,((k,v)=>{if(!v.chunk.hasRuntime())return k;return E(k,v)}))}),"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:R.deprecate(((k,E)=>{q().getCompilationHooks(v).renderRequire.tap(k,E)}),"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:R.deprecate(((k,E)=>{q().getCompilationHooks(v).render.tap(k,((k,P)=>{if(P.chunkGraph.getNumberOfEntryModules(P.chunk)===0||!P.chunk.hasRuntime()){return k}return E(k,P.chunk,v.hash,v.moduleTemplates.javascript,v.dependencyTemplates)}))}),"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER")},renderWithEntry:{tap:R.deprecate(((k,E)=>{q().getCompilationHooks(v).render.tap(k,((k,P)=>{if(P.chunkGraph.getNumberOfEntryModules(P.chunk)===0||!P.chunk.hasRuntime()){return k}return E(k,P.chunk,v.hash)}))}),"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY")},assetPath:{tap:R.deprecate(((k,E)=>{v.hooks.assetPath.tap(k,E)}),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH"),call:R.deprecate(((k,E)=>v.getAssetPath(k,E)),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH")},hash:{tap:R.deprecate(((k,E)=>{v.hooks.fullHash.tap(k,E)}),"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH")},hashForChunk:{tap:R.deprecate(((k,E)=>{q().getCompilationHooks(v).chunkHash.tap(k,((k,v)=>{if(!k.hasRuntime())return;return E(v,k)}))}),"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHashPaths:{tap:R.deprecate((()=>{}),"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHash:{tap:R.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 P(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new P(["source","chunk","hash"]),requireExtensions:new P(["source","chunk","hash"]),requireEnsure:new P(["source","chunk","hash","chunkIdExpression"]),get jsonpScript(){const k=le().getCompilationHooks(v);return k.createScript},get linkPrefetch(){const k=ae().getCompilationHooks(v);return k.linkPrefetch},get linkPreload(){const k=ae().getCompilationHooks(v);return k.linkPreload}});this.renderCurrentHashCode=R.deprecate(((k,v)=>{if(v){return`${L.getFullHash} ? ${L.getFullHash}().slice(0, ${v}) : ${k.slice(0,v)}`}return`${L.getFullHash} ? ${L.getFullHash}() : ${k}`}),"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE");this.getPublicPath=R.deprecate((k=>v.getAssetPath(v.outputOptions.publicPath,k)),"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH");this.getAssetPath=R.deprecate(((k,E)=>v.getAssetPath(k,E)),"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH");this.getAssetPathWithInfo=R.deprecate(((k,E)=>v.getAssetPathWithInfo(k,E)),"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO")}}Object.defineProperty(MainTemplate.prototype,"requireFn",{get:R.deprecate((()=>L.require),`MainTemplate.requireFn is deprecated (use "${L.require}")`,"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN")});Object.defineProperty(MainTemplate.prototype,"outputOptions",{get:R.deprecate((function(){return this._outputOptions}),"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS")});k.exports=MainTemplate},88396:function(k,v,E){"use strict";const P=E(73837);const R=E(38317);const L=E(38706);const N=E(88223);const q=E(56727);const{first:ae}=E(59959);const{compareChunksById:le}=E(95648);const pe=E(58528);const me={};let ye=1e3;const _e=new Set(["unknown"]);const Ie=new Set(["javascript"]);const Me=P.deprecate(((k,v)=>k.needRebuild(v.fileSystemInfo.getDeprecatedFileTimestamps(),v.fileSystemInfo.getDeprecatedContextTimestamps())),"Module.needRebuild is deprecated in favor of Module.needBuild","DEP_WEBPACK_MODULE_NEED_REBUILD");class Module extends L{constructor(k,v=null,E=null){super();this.type=k;this.context=v;this.layer=E;this.needId=true;this.debugId=ye++;this.resolveOptions=me;this.factoryMeta=undefined;this.useSourceMap=false;this.useSimpleSourceMap=false;this._warnings=undefined;this._errors=undefined;this.buildMeta=undefined;this.buildInfo=undefined;this.presentationalDependencies=undefined;this.codeGenerationDependencies=undefined}get id(){return R.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").getModuleId(this)}set id(k){if(k===""){this.needId=false;return}R.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").setModuleId(this,k)}get hash(){return R.getChunkGraphForModule(this,"Module.hash","DEP_WEBPACK_MODULE_HASH").getModuleHash(this,undefined)}get renderedHash(){return R.getChunkGraphForModule(this,"Module.renderedHash","DEP_WEBPACK_MODULE_RENDERED_HASH").getRenderedModuleHash(this,undefined)}get profile(){return N.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").getProfile(this)}set profile(k){N.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").setProfile(this,k)}get index(){return N.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").getPreOrderIndex(this)}set index(k){N.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").setPreOrderIndex(this,k)}get index2(){return N.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").getPostOrderIndex(this)}set index2(k){N.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").setPostOrderIndex(this,k)}get depth(){return N.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").getDepth(this)}set depth(k){N.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").setDepth(this,k)}get issuer(){return N.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").getIssuer(this)}set issuer(k){N.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").setIssuer(this,k)}get usedExports(){return N.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").getUsedExports(this,undefined)}get optimizationBailout(){return N.getModuleGraphForModule(this,"Module.optimizationBailout","DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT").getOptimizationBailout(this)}get optional(){return this.isOptional(N.getModuleGraphForModule(this,"Module.optional","DEP_WEBPACK_MODULE_OPTIONAL"))}addChunk(k){const v=R.getChunkGraphForModule(this,"Module.addChunk","DEP_WEBPACK_MODULE_ADD_CHUNK");if(v.isModuleInChunk(this,k))return false;v.connectChunkAndModule(k,this);return true}removeChunk(k){return R.getChunkGraphForModule(this,"Module.removeChunk","DEP_WEBPACK_MODULE_REMOVE_CHUNK").disconnectChunkAndModule(k,this)}isInChunk(k){return R.getChunkGraphForModule(this,"Module.isInChunk","DEP_WEBPACK_MODULE_IS_IN_CHUNK").isModuleInChunk(this,k)}isEntryModule(){return R.getChunkGraphForModule(this,"Module.isEntryModule","DEP_WEBPACK_MODULE_IS_ENTRY_MODULE").isEntryModule(this)}getChunks(){return R.getChunkGraphForModule(this,"Module.getChunks","DEP_WEBPACK_MODULE_GET_CHUNKS").getModuleChunks(this)}getNumberOfChunks(){return R.getChunkGraphForModule(this,"Module.getNumberOfChunks","DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS").getNumberOfModuleChunks(this)}get chunksIterable(){return R.getChunkGraphForModule(this,"Module.chunksIterable","DEP_WEBPACK_MODULE_CHUNKS_ITERABLE").getOrderedModuleChunksIterable(this,le)}isProvided(k){return N.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").isExportProvided(this,k)}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}getExportsType(k,v){switch(this.buildMeta&&this.buildMeta.exportsType){case"flagged":return v?"default-with-named":"namespace";case"namespace":return"namespace";case"default":switch(this.buildMeta.defaultObject){case"redirect":return"default-with-named";case"redirect-warn":return v?"default-only":"default-with-named";default:return"default-only"}case"dynamic":{if(v)return"default-with-named";const handleDefault=()=>{switch(this.buildMeta.defaultObject){case"redirect":case"redirect-warn":return"default-with-named";default:return"default-only"}};const E=k.getReadOnlyExportInfo(this,"__esModule");if(E.provided===false){return handleDefault()}const P=E.getTarget(k);if(!P||!P.export||P.export.length!==1||P.export[0]!=="__esModule"){return"dynamic"}switch(P.module.buildMeta&&P.module.buildMeta.exportsType){case"flagged":case"namespace":return"namespace";case"default":return handleDefault();default:return"dynamic"}}default:return v?"default-with-named":"dynamic"}}addPresentationalDependency(k){if(this.presentationalDependencies===undefined){this.presentationalDependencies=[]}this.presentationalDependencies.push(k)}addCodeGenerationDependency(k){if(this.codeGenerationDependencies===undefined){this.codeGenerationDependencies=[]}this.codeGenerationDependencies.push(k)}clearDependenciesAndBlocks(){if(this.presentationalDependencies!==undefined){this.presentationalDependencies.length=0}if(this.codeGenerationDependencies!==undefined){this.codeGenerationDependencies.length=0}super.clearDependenciesAndBlocks()}addWarning(k){if(this._warnings===undefined){this._warnings=[]}this._warnings.push(k)}getWarnings(){return this._warnings}getNumberOfWarnings(){return this._warnings!==undefined?this._warnings.length:0}addError(k){if(this._errors===undefined){this._errors=[]}this._errors.push(k)}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(k){let v=false;for(const E of k.getIncomingConnections(this)){if(!E.dependency||!E.dependency.optional||!E.isTargetActive(undefined)){return false}v=true}return v}isAccessibleInChunk(k,v,E){for(const E of v.groupsIterable){if(!this.isAccessibleInChunkGroup(k,E))return false}return true}isAccessibleInChunkGroup(k,v,E){const P=new Set([v]);e:for(const R of P){for(const v of R.chunks){if(v!==E&&k.isModuleInChunk(this,v))continue e}if(v.isInitial())return false;for(const k of v.parentsIterable)P.add(k)}return true}hasReasonForChunk(k,v,E){for(const[P,R]of v.getIncomingConnectionsByOriginModule(this)){if(!R.some((v=>v.isTargetActive(k.runtime))))continue;for(const v of E.getModuleChunksIterable(P)){if(!this.isAccessibleInChunk(E,v,k))return true}}return false}hasReasons(k,v){for(const E of k.getIncomingConnections(this)){if(E.isTargetActive(v))return true}return false}toString(){return`Module[${this.debugId}: ${this.identifier()}]`}needBuild(k,v){v(null,!this.buildMeta||this.needRebuild===Module.prototype.needRebuild||Me(this,k))}needRebuild(k,v){return true}updateHash(k,v={chunkGraph:R.getChunkGraphForModule(this,"Module.updateHash","DEP_WEBPACK_MODULE_UPDATE_HASH"),runtime:undefined}){const{chunkGraph:E,runtime:P}=v;k.update(E.getModuleGraphHash(this,P));if(this.presentationalDependencies!==undefined){for(const E of this.presentationalDependencies){E.updateHash(k,v)}}super.updateHash(k,v)}invalidateBuild(){}identifier(){const k=E(60386);throw new k}readableIdentifier(k){const v=E(60386);throw new v}build(k,v,P,R,L){const N=E(60386);throw new N}getSourceTypes(){if(this.source===Module.prototype.source){return _e}else{return Ie}}source(k,v,P="javascript"){if(this.codeGeneration===Module.prototype.codeGeneration){const k=E(60386);throw new k}const L=R.getChunkGraphForModule(this,"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead","DEP_WEBPACK_MODULE_SOURCE");const N={dependencyTemplates:k,runtimeTemplate:v,moduleGraph:L.moduleGraph,chunkGraph:L,runtime:undefined,codeGenerationResults:undefined};const q=this.codeGeneration(N).sources;return P?q.get(P):q.get(ae(this.getSourceTypes()))}size(k){const v=E(60386);throw new v}libIdent(k){return null}nameForCondition(){return null}getConcatenationBailoutReason(k){return`Module Concatenation is not implemented for ${this.constructor.name}`}getSideEffectsConnectionState(k){return true}codeGeneration(k){const v=new Map;for(const E of this.getSourceTypes()){if(E!=="unknown"){v.set(E,this.source(k.dependencyTemplates,k.runtimeTemplate,E))}}return{sources:v,runtimeRequirements:new Set([q.module,q.exports,q.require])}}chunkCondition(k,v){return true}hasChunkCondition(){return this.chunkCondition!==Module.prototype.chunkCondition}updateCacheModule(k){this.type=k.type;this.layer=k.layer;this.context=k.context;this.factoryMeta=k.factoryMeta;this.resolveOptions=k.resolveOptions}getUnsafeCacheData(){return{factoryMeta:this.factoryMeta,resolveOptions:this.resolveOptions}}_restoreFromUnsafeCache(k,v){this.factoryMeta=k.factoryMeta;this.resolveOptions=k.resolveOptions}cleanupForCache(){this.factoryMeta=undefined;this.resolveOptions=undefined}originalSource(){return null}addCacheDependencies(k,v,E,P){}serialize(k){const{write:v}=k;v(this.type);v(this.layer);v(this.context);v(this.resolveOptions);v(this.factoryMeta);v(this.useSourceMap);v(this.useSimpleSourceMap);v(this._warnings!==undefined&&this._warnings.length===0?undefined:this._warnings);v(this._errors!==undefined&&this._errors.length===0?undefined:this._errors);v(this.buildMeta);v(this.buildInfo);v(this.presentationalDependencies);v(this.codeGenerationDependencies);super.serialize(k)}deserialize(k){const{read:v}=k;this.type=v();this.layer=v();this.context=v();this.resolveOptions=v();this.factoryMeta=v();this.useSourceMap=v();this.useSimpleSourceMap=v();this._warnings=v();this._errors=v();this.buildMeta=v();this.buildInfo=v();this.presentationalDependencies=v();this.codeGenerationDependencies=v();super.deserialize(k)}}pe(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:P.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:P.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(k){throw new Error("Module.used was refactored (use ModuleGraph.setUsedExports instead)")}});k.exports=Module},23804:function(k,v,E){"use strict";const{cutOffLoaderExecution:P}=E(53657);const R=E(71572);const L=E(58528);class ModuleBuildError extends R{constructor(k,{from:v=null}={}){let E="Module build failed";let R=undefined;if(v){E+=` (from ${v}):\n`}else{E+=": "}if(k!==null&&typeof k==="object"){if(typeof k.stack==="string"&&k.stack){const v=P(k.stack);if(!k.hideStack){E+=v}else{R=v;if(typeof k.message==="string"&&k.message){E+=k.message}else{E+=k}}}else if(typeof k.message==="string"&&k.message){E+=k.message}else{E+=String(k)}}else{E+=String(k)}super(E);this.name="ModuleBuildError";this.details=R;this.error=k}serialize(k){const{write:v}=k;v(this.error);super.serialize(k)}deserialize(k){const{read:v}=k;this.error=v();super.deserialize(k)}}L(ModuleBuildError,"webpack/lib/ModuleBuildError");k.exports=ModuleBuildError},36428:function(k,v,E){"use strict";const P=E(71572);class ModuleDependencyError extends P{constructor(k,v,E){super(v.message);this.name="ModuleDependencyError";this.details=v&&!v.hideStack?v.stack.split("\n").slice(1).join("\n"):undefined;this.module=k;this.loc=E;this.error=v;if(v&&v.hideStack){this.stack=v.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}k.exports=ModuleDependencyError},84018:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class ModuleDependencyWarning extends P{constructor(k,v,E){super(v?v.message:"");this.name="ModuleDependencyWarning";this.details=v&&!v.hideStack?v.stack.split("\n").slice(1).join("\n"):undefined;this.module=k;this.loc=E;this.error=v;if(v&&v.hideStack){this.stack=v.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}R(ModuleDependencyWarning,"webpack/lib/ModuleDependencyWarning");k.exports=ModuleDependencyWarning},47560:function(k,v,E){"use strict";const{cleanUp:P}=E(53657);const R=E(71572);const L=E(58528);class ModuleError extends R{constructor(k,{from:v=null}={}){let E="Module Error";if(v){E+=` (from ${v}):\n`}else{E+=": "}if(k&&typeof k==="object"&&k.message){E+=k.message}else if(k){E+=k}super(E);this.name="ModuleError";this.error=k;this.details=k&&typeof k==="object"&&k.stack?P(k.stack,this.message):undefined}serialize(k){const{write:v}=k;v(this.error);super.serialize(k)}deserialize(k){const{read:v}=k;this.error=v();super.deserialize(k)}}L(ModuleError,"webpack/lib/ModuleError");k.exports=ModuleError},66043:function(k,v,E){"use strict";class ModuleFactory{create(k,v){const P=E(60386);throw new P}}k.exports=ModuleFactory},98612:function(k,v,E){"use strict";const P=E(38224);const R=E(74012);const L=E(20631);const N=v;N.ALL_LOADERS_RESOURCE="[all-loaders][resource]";N.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;N.LOADERS_RESOURCE="[loaders][resource]";N.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;N.RESOURCE="[resource]";N.REGEXP_RESOURCE=/\[resource\]/gi;N.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";N.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;N.RESOURCE_PATH="[resource-path]";N.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;N.ALL_LOADERS="[all-loaders]";N.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;N.LOADERS="[loaders]";N.REGEXP_LOADERS=/\[loaders\]/gi;N.QUERY="[query]";N.REGEXP_QUERY=/\[query\]/gi;N.ID="[id]";N.REGEXP_ID=/\[id\]/gi;N.HASH="[hash]";N.REGEXP_HASH=/\[hash\]/gi;N.NAMESPACE="[namespace]";N.REGEXP_NAMESPACE=/\[namespace\]/gi;const getAfter=(k,v)=>()=>{const E=k();const P=E.indexOf(v);return P<0?"":E.slice(P)};const getBefore=(k,v)=>()=>{const E=k();const P=E.lastIndexOf(v);return P<0?"":E.slice(0,P)};const getHash=(k,v)=>()=>{const E=R(v);E.update(k());const P=E.digest("hex");return P.slice(0,4)};const asRegExp=k=>{if(typeof k==="string"){k=new RegExp("^"+k.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return k};const lazyObject=k=>{const v={};for(const E of Object.keys(k)){const P=k[E];Object.defineProperty(v,E,{get:()=>P(),set:k=>{Object.defineProperty(v,E,{value:k,enumerable:true,writable:true})},enumerable:true,configurable:true})}return v};const q=/\[\\*([\w-]+)\\*\]/gi;N.createFilename=(k="",v,{requestShortener:E,chunkGraph:R,hashFunction:ae="md4"})=>{const le={namespace:"",moduleFilenameTemplate:"",...typeof v==="object"?v:{moduleFilenameTemplate:v}};let pe;let me;let ye;let _e;let Ie;if(typeof k==="string"){Ie=L((()=>E.shorten(k)));ye=Ie;_e=()=>"";pe=()=>k.split("!").pop();me=getHash(ye,ae)}else{Ie=L((()=>k.readableIdentifier(E)));ye=L((()=>E.shorten(k.identifier())));_e=()=>R.getModuleId(k);pe=()=>k instanceof P?k.resource:k.identifier().split("!").pop();me=getHash(ye,ae)}const Me=L((()=>Ie().split("!").pop()));const Te=getBefore(Ie,"!");const je=getBefore(ye,"!");const Ne=getAfter(Me,"?");const resourcePath=()=>{const k=Ne().length;return k===0?Me():Me().slice(0,-k)};if(typeof le.moduleFilenameTemplate==="function"){return le.moduleFilenameTemplate(lazyObject({identifier:ye,shortIdentifier:Ie,resource:Me,resourcePath:L(resourcePath),absoluteResourcePath:L(pe),loaders:L(Te),allLoaders:L(je),query:L(Ne),moduleId:L(_e),hash:L(me),namespace:()=>le.namespace}))}const Be=new Map([["identifier",ye],["short-identifier",Ie],["resource",Me],["resource-path",resourcePath],["resourcepath",resourcePath],["absolute-resource-path",pe],["abs-resource-path",pe],["absoluteresource-path",pe],["absresource-path",pe],["absolute-resourcepath",pe],["abs-resourcepath",pe],["absoluteresourcepath",pe],["absresourcepath",pe],["all-loaders",je],["allloaders",je],["loaders",Te],["query",Ne],["id",_e],["hash",me],["namespace",()=>le.namespace]]);return le.moduleFilenameTemplate.replace(N.REGEXP_ALL_LOADERS_RESOURCE,"[identifier]").replace(N.REGEXP_LOADERS_RESOURCE,"[short-identifier]").replace(q,((k,v)=>{if(v.length+2===k.length){const k=Be.get(v.toLowerCase());if(k!==undefined){return k()}}else if(k.startsWith("[\\")&&k.endsWith("\\]")){return`[${k.slice(2,-2)}]`}return k}))};N.replaceDuplicates=(k,v,E)=>{const P=Object.create(null);const R=Object.create(null);k.forEach(((k,v)=>{P[k]=P[k]||[];P[k].push(v);R[k]=0}));if(E){Object.keys(P).forEach((k=>{P[k].sort(E)}))}return k.map(((k,L)=>{if(P[k].length>1){if(E&&P[k][0]===L)return k;return v(k,L,R[k]++)}else{return k}}))};N.matchPart=(k,v)=>{if(!v)return true;if(Array.isArray(v)){return v.map(asRegExp).some((v=>v.test(k)))}else{return asRegExp(v).test(k)}};N.matchObject=(k,v)=>{if(k.test){if(!N.matchPart(v,k.test)){return false}}if(k.include){if(!N.matchPart(v,k.include)){return false}}if(k.exclude){if(N.matchPart(v,k.exclude)){return false}}return true}},88223:function(k,v,E){"use strict";const P=E(73837);const R=E(11172);const L=E(86267);const N=E(46081);const q=E(69752);const ae=new Set;const getConnectionsByOriginModule=k=>{const v=new Map;let E=0;let P=undefined;for(const R of k){const{originModule:k}=R;if(E===k){P.push(R)}else{E=k;const L=v.get(k);if(L!==undefined){P=L;L.push(R)}else{const E=[R];P=E;v.set(k,E)}}}return v};const getConnectionsByModule=k=>{const v=new Map;let E=0;let P=undefined;for(const R of k){const{module:k}=R;if(E===k){P.push(R)}else{E=k;const L=v.get(k);if(L!==undefined){P=L;L.push(R)}else{const E=[R];P=E;v.set(k,E)}}}return v};class ModuleGraphModule{constructor(){this.incomingConnections=new N;this.outgoingConnections=undefined;this.issuer=undefined;this.optimizationBailout=[];this.exports=new R;this.preOrderIndex=null;this.postOrderIndex=null;this.depth=null;this.profile=undefined;this.async=false;this._unassignedConnections=undefined}}class ModuleGraph{constructor(){this._dependencyMap=new WeakMap;this._moduleMap=new Map;this._metaMap=new WeakMap;this._cache=undefined;this._moduleMemCaches=undefined;this._cacheStage=undefined}_getModuleGraphModule(k){let v=this._moduleMap.get(k);if(v===undefined){v=new ModuleGraphModule;this._moduleMap.set(k,v)}return v}setParents(k,v,E,P=-1){k._parentDependenciesBlockIndex=P;k._parentDependenciesBlock=v;k._parentModule=E}getParentModule(k){return k._parentModule}getParentBlock(k){return k._parentDependenciesBlock}getParentBlockIndex(k){return k._parentDependenciesBlockIndex}setResolvedModule(k,v,E){const P=new L(k,v,E,undefined,v.weak,v.getCondition(this));const R=this._getModuleGraphModule(E).incomingConnections;R.add(P);if(k){const v=this._getModuleGraphModule(k);if(v._unassignedConnections===undefined){v._unassignedConnections=[]}v._unassignedConnections.push(P);if(v.outgoingConnections===undefined){v.outgoingConnections=new N}v.outgoingConnections.add(P)}else{this._dependencyMap.set(v,P)}}updateModule(k,v){const E=this.getConnection(k);if(E.module===v)return;const P=E.clone();P.module=v;this._dependencyMap.set(k,P);E.setActive(false);const R=this._getModuleGraphModule(E.originModule);R.outgoingConnections.add(P);const L=this._getModuleGraphModule(v);L.incomingConnections.add(P)}removeConnection(k){const v=this.getConnection(k);const E=this._getModuleGraphModule(v.module);E.incomingConnections.delete(v);const P=this._getModuleGraphModule(v.originModule);P.outgoingConnections.delete(v);this._dependencyMap.set(k,null)}addExplanation(k,v){const E=this.getConnection(k);E.addExplanation(v)}cloneModuleAttributes(k,v){const E=this._getModuleGraphModule(k);const P=this._getModuleGraphModule(v);P.postOrderIndex=E.postOrderIndex;P.preOrderIndex=E.preOrderIndex;P.depth=E.depth;P.exports=E.exports;P.async=E.async}removeModuleAttributes(k){const v=this._getModuleGraphModule(k);v.postOrderIndex=null;v.preOrderIndex=null;v.depth=null;v.async=false}removeAllModuleAttributes(){for(const k of this._moduleMap.values()){k.postOrderIndex=null;k.preOrderIndex=null;k.depth=null;k.async=false}}moveModuleConnections(k,v,E){if(k===v)return;const P=this._getModuleGraphModule(k);const R=this._getModuleGraphModule(v);const L=P.outgoingConnections;if(L!==undefined){if(R.outgoingConnections===undefined){R.outgoingConnections=new N}const k=R.outgoingConnections;for(const P of L){if(E(P)){P.originModule=v;k.add(P);L.delete(P)}}}const q=P.incomingConnections;const ae=R.incomingConnections;for(const k of q){if(E(k)){k.module=v;ae.add(k);q.delete(k)}}}copyOutgoingModuleConnections(k,v,E){if(k===v)return;const P=this._getModuleGraphModule(k);const R=this._getModuleGraphModule(v);const L=P.outgoingConnections;if(L!==undefined){if(R.outgoingConnections===undefined){R.outgoingConnections=new N}const k=R.outgoingConnections;for(const P of L){if(E(P)){const E=P.clone();E.originModule=v;k.add(E);if(E.module!==undefined){const k=this._getModuleGraphModule(E.module);k.incomingConnections.add(E)}}}}}addExtraReason(k,v){const E=this._getModuleGraphModule(k).incomingConnections;E.add(new L(null,null,k,v))}getResolvedModule(k){const v=this.getConnection(k);return v!==undefined?v.resolvedModule:null}getConnection(k){const v=this._dependencyMap.get(k);if(v===undefined){const v=this.getParentModule(k);if(v!==undefined){const E=this._getModuleGraphModule(v);if(E._unassignedConnections&&E._unassignedConnections.length!==0){let v;for(const P of E._unassignedConnections){this._dependencyMap.set(P.dependency,P);if(P.dependency===k)v=P}E._unassignedConnections.length=0;if(v!==undefined){return v}}}this._dependencyMap.set(k,null);return undefined}return v===null?undefined:v}getModule(k){const v=this.getConnection(k);return v!==undefined?v.module:null}getOrigin(k){const v=this.getConnection(k);return v!==undefined?v.originModule:null}getResolvedOrigin(k){const v=this.getConnection(k);return v!==undefined?v.resolvedOriginModule:null}getIncomingConnections(k){const v=this._getModuleGraphModule(k).incomingConnections;return v}getOutgoingConnections(k){const v=this._getModuleGraphModule(k).outgoingConnections;return v===undefined?ae:v}getIncomingConnectionsByOriginModule(k){const v=this._getModuleGraphModule(k).incomingConnections;return v.getFromUnorderedCache(getConnectionsByOriginModule)}getOutgoingConnectionsByModule(k){const v=this._getModuleGraphModule(k).outgoingConnections;return v===undefined?undefined:v.getFromUnorderedCache(getConnectionsByModule)}getProfile(k){const v=this._getModuleGraphModule(k);return v.profile}setProfile(k,v){const E=this._getModuleGraphModule(k);E.profile=v}getIssuer(k){const v=this._getModuleGraphModule(k);return v.issuer}setIssuer(k,v){const E=this._getModuleGraphModule(k);E.issuer=v}setIssuerIfUnset(k,v){const E=this._getModuleGraphModule(k);if(E.issuer===undefined)E.issuer=v}getOptimizationBailout(k){const v=this._getModuleGraphModule(k);return v.optimizationBailout}getProvidedExports(k){const v=this._getModuleGraphModule(k);return v.exports.getProvidedExports()}isExportProvided(k,v){const E=this._getModuleGraphModule(k);const P=E.exports.isExportProvided(v);return P===undefined?null:P}getExportsInfo(k){const v=this._getModuleGraphModule(k);return v.exports}getExportInfo(k,v){const E=this._getModuleGraphModule(k);return E.exports.getExportInfo(v)}getReadOnlyExportInfo(k,v){const E=this._getModuleGraphModule(k);return E.exports.getReadOnlyExportInfo(v)}getUsedExports(k,v){const E=this._getModuleGraphModule(k);return E.exports.getUsedExports(v)}getPreOrderIndex(k){const v=this._getModuleGraphModule(k);return v.preOrderIndex}getPostOrderIndex(k){const v=this._getModuleGraphModule(k);return v.postOrderIndex}setPreOrderIndex(k,v){const E=this._getModuleGraphModule(k);E.preOrderIndex=v}setPreOrderIndexIfUnset(k,v){const E=this._getModuleGraphModule(k);if(E.preOrderIndex===null){E.preOrderIndex=v;return true}return false}setPostOrderIndex(k,v){const E=this._getModuleGraphModule(k);E.postOrderIndex=v}setPostOrderIndexIfUnset(k,v){const E=this._getModuleGraphModule(k);if(E.postOrderIndex===null){E.postOrderIndex=v;return true}return false}getDepth(k){const v=this._getModuleGraphModule(k);return v.depth}setDepth(k,v){const E=this._getModuleGraphModule(k);E.depth=v}setDepthIfLower(k,v){const E=this._getModuleGraphModule(k);if(E.depth===null||E.depth>v){E.depth=v;return true}return false}isAsync(k){const v=this._getModuleGraphModule(k);return v.async}setAsync(k){const v=this._getModuleGraphModule(k);v.async=true}getMeta(k){let v=this._metaMap.get(k);if(v===undefined){v=Object.create(null);this._metaMap.set(k,v)}return v}getMetaIfExisting(k){return this._metaMap.get(k)}freeze(k){this._cache=new q;this._cacheStage=k}unfreeze(){this._cache=undefined;this._cacheStage=undefined}cached(k,...v){if(this._cache===undefined)return k(this,...v);return this._cache.provide(k,...v,(()=>k(this,...v)))}setModuleMemCaches(k){this._moduleMemCaches=k}dependencyCacheProvide(k,...v){const E=v.pop();if(this._moduleMemCaches&&this._cacheStage){const P=this._moduleMemCaches.get(this.getParentModule(k));if(P!==undefined){return P.provide(k,this._cacheStage,...v,(()=>E(this,k,...v)))}}if(this._cache===undefined)return E(this,k,...v);return this._cache.provide(k,...v,(()=>E(this,k,...v)))}static getModuleGraphForModule(k,v,E){const R=pe.get(v);if(R)return R(k);const L=P.deprecate((k=>{const E=le.get(k);if(!E)throw new Error(v+"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)");return E}),v+": Use new ModuleGraph API",E);pe.set(v,L);return L(k)}static setModuleGraphForModule(k,v){le.set(k,v)}static clearModuleGraphForModule(k){le.delete(k)}}const le=new WeakMap;const pe=new Map;k.exports=ModuleGraph;k.exports.ModuleGraphConnection=L},86267:function(k){"use strict";const v=Symbol("transitive only");const E=Symbol("circular connection");const addConnectionStates=(k,E)=>{if(k===true||E===true)return true;if(k===false)return E;if(E===false)return k;if(k===v)return E;if(E===v)return k;return k};const intersectConnectionStates=(k,v)=>{if(k===false||v===false)return false;if(k===true)return v;if(v===true)return k;if(k===E)return v;if(v===E)return k;return k};class ModuleGraphConnection{constructor(k,v,E,P,R=false,L=undefined){this.originModule=k;this.resolvedOriginModule=k;this.dependency=v;this.resolvedModule=E;this.module=E;this.weak=R;this.conditional=!!L;this._active=L!==false;this.condition=L||undefined;this.explanations=undefined;if(P){this.explanations=new Set;this.explanations.add(P)}}clone(){const k=new ModuleGraphConnection(this.resolvedOriginModule,this.dependency,this.resolvedModule,undefined,this.weak,this.condition);k.originModule=this.originModule;k.module=this.module;k.conditional=this.conditional;k._active=this._active;if(this.explanations)k.explanations=new Set(this.explanations);return k}addCondition(k){if(this.conditional){const v=this.condition;this.condition=(E,P)=>intersectConnectionStates(v(E,P),k(E,P))}else if(this._active){this.conditional=true;this.condition=k}}addExplanation(k){if(this.explanations===undefined){this.explanations=new Set}this.explanations.add(k)}get explanation(){if(this.explanations===undefined)return"";return Array.from(this.explanations).join(" ")}get active(){throw new Error("Use getActiveState instead")}isActive(k){if(!this.conditional)return this._active;return this.condition(this,k)!==false}isTargetActive(k){if(!this.conditional)return this._active;return this.condition(this,k)===true}getActiveState(k){if(!this.conditional)return this._active;return this.condition(this,k)}setActive(k){this.conditional=false;this._active=k}set active(k){throw new Error("Use setActive instead")}}k.exports=ModuleGraphConnection;k.exports.addConnectionStates=addConnectionStates;k.exports.TRANSITIVE_ONLY=v;k.exports.CIRCULAR_CONNECTION=E},83139:function(k,v,E){"use strict";const P=E(71572);class ModuleHashingError extends P{constructor(k,v){super();this.name="ModuleHashingError";this.error=v;this.message=v.message;this.details=v.stack;this.module=k}}k.exports=ModuleHashingError},50444:function(k,v,E){"use strict";const{ConcatSource:P,RawSource:R,CachedSource:L}=E(51255);const{UsageState:N}=E(11172);const q=E(95041);const ae=E(89168);const joinIterableWithComma=k=>{let v="";let E=true;for(const P of k){if(E){E=false}else{v+=", "}v+=P}return v};const printExportsInfoToSource=(k,v,E,P,R,L=new Set)=>{const ae=E.otherExportsInfo;let le=0;const pe=[];for(const k of E.orderedExports){if(!L.has(k)){L.add(k);pe.push(k)}else{le++}}let me=false;if(!L.has(ae)){L.add(ae);me=true}else{le++}for(const E of pe){const N=E.getTarget(P);k.add(q.toComment(`${v}export ${JSON.stringify(E.name).slice(1,-1)} [${E.getProvidedInfo()}] [${E.getUsedInfo()}] [${E.getRenameInfo()}]${N?` -> ${N.module.readableIdentifier(R)}${N.export?` .${N.export.map((k=>JSON.stringify(k).slice(1,-1))).join(".")}`:""}`:""}`)+"\n");if(E.exportsInfo){printExportsInfoToSource(k,v+" ",E.exportsInfo,P,R,L)}}if(le){k.add(q.toComment(`${v}... (${le} already listed exports)`)+"\n")}if(me){const E=ae.getTarget(P);if(E||ae.provided!==false||ae.getUsed(undefined)!==N.Unused){const P=pe.length>0||le>0?"other exports":"exports";k.add(q.toComment(`${v}${P} [${ae.getProvidedInfo()}] [${ae.getUsedInfo()}]${E?` -> ${E.module.readableIdentifier(R)}`:""}`)+"\n")}}};const le=new WeakMap;class ModuleInfoHeaderPlugin{constructor(k=true){this._verbose=k}apply(k){const{_verbose:v}=this;k.hooks.compilation.tap("ModuleInfoHeaderPlugin",(k=>{const E=ae.getCompilationHooks(k);E.renderModulePackage.tap("ModuleInfoHeaderPlugin",((k,E,{chunk:N,chunkGraph:ae,moduleGraph:pe,runtimeTemplate:me})=>{const{requestShortener:ye}=me;let _e;let Ie=le.get(ye);if(Ie===undefined){le.set(ye,Ie=new WeakMap);Ie.set(E,_e={header:undefined,full:new WeakMap})}else{_e=Ie.get(E);if(_e===undefined){Ie.set(E,_e={header:undefined,full:new WeakMap})}else if(!v){const v=_e.full.get(k);if(v!==undefined)return v}}const Me=new P;let Te=_e.header;if(Te===undefined){const k=E.readableIdentifier(ye);const v=k.replace(/\*\//g,"*_/");const P="*".repeat(v.length);const L=`/*!****${P}****!*\\\n !*** ${v} ***!\n \\****${P}****/\n`;Te=new R(L);_e.header=Te}Me.add(Te);if(v){const v=E.buildMeta.exportsType;Me.add(q.toComment(v?`${v} exports`:"unknown exports (runtime-defined)")+"\n");if(v){const k=pe.getExportsInfo(E);printExportsInfoToSource(Me,"",k,pe,ye)}Me.add(q.toComment(`runtime requirements: ${joinIterableWithComma(ae.getModuleRuntimeRequirements(E,N.runtime))}`)+"\n");const P=pe.getOptimizationBailout(E);if(P){for(const k of P){let v;if(typeof k==="function"){v=k(ye)}else{v=k}Me.add(q.toComment(`${v}`)+"\n")}}Me.add(k);return Me}else{Me.add(k);const v=new L(Me);_e.full.set(k,v);return v}}));E.chunkHash.tap("ModuleInfoHeaderPlugin",((k,v)=>{v.update("ModuleInfoHeaderPlugin");v.update("1")}))}))}}k.exports=ModuleInfoHeaderPlugin},69734:function(k,v,E){"use strict";const P=E(71572);const R={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 P{constructor(k,v,E){let P=`Module not found: ${v.toString()}`;const L=v.message.match(/Can't resolve '([^']+)'/);if(L){const k=L[1];const v=R[k];if(v){const E=v.indexOf("/");const R=E>0?v.slice(0,E):v;P+="\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";P+="If you want to include a polyfill, you need to:\n"+`\t- add a fallback 'resolve.fallback: { "${k}": require.resolve("${v}") }'\n`+`\t- install '${R}'\n`;P+="If you don't want to include a polyfill, you can use an empty module like this:\n"+`\tresolve.fallback: { "${k}": false }`}}super(P);this.name="ModuleNotFoundError";this.details=v.details;this.module=k;this.error=v;this.loc=E}}k.exports=ModuleNotFoundError},63591:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);const L=Buffer.from([0,97,115,109]);class ModuleParseError extends P{constructor(k,v,E,P){let R="Module parse failed: "+(v&&v.message);let N=undefined;if((Buffer.isBuffer(k)&&k.slice(0,4).equals(L)||typeof k==="string"&&/^\0asm/.test(k))&&!P.startsWith("webassembly")){R+="\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.";R+="\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.";R+="\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).";R+="\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(!E){R+="\nYou may need an appropriate loader to handle this file type."}else if(E.length>=1){R+=`\nFile was processed with these loaders:${E.map((k=>`\n * ${k}`)).join("")}`;R+="\nYou may need an additional loader to handle the result of these loaders."}else{R+="\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(v&&v.loc&&typeof v.loc==="object"&&typeof v.loc.line==="number"){var q=v.loc.line;if(Buffer.isBuffer(k)||/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(k)){R+="\n(Source code omitted for this binary file)"}else{const v=k.split(/\r?\n/);const E=Math.max(0,q-3);const P=v.slice(E,q-1);const L=v[q-1];const N=v.slice(q,q+2);R+=P.map((k=>`\n| ${k}`)).join("")+`\n> ${L}`+N.map((k=>`\n| ${k}`)).join("")}N={start:v.loc}}else if(v&&v.stack){R+="\n"+v.stack}super(R);this.name="ModuleParseError";this.loc=N;this.error=v}serialize(k){const{write:v}=k;v(this.error);super.serialize(k)}deserialize(k){const{read:v}=k;this.error=v();super.deserialize(k)}}R(ModuleParseError,"webpack/lib/ModuleParseError");k.exports=ModuleParseError},52200:function(k){"use strict";class ModuleProfile{constructor(){this.startTime=Date.now();this.factoryStartTime=0;this.factoryEndTime=0;this.factory=0;this.factoryParallelismFactor=0;this.restoringStartTime=0;this.restoringEndTime=0;this.restoring=0;this.restoringParallelismFactor=0;this.integrationStartTime=0;this.integrationEndTime=0;this.integration=0;this.integrationParallelismFactor=0;this.buildingStartTime=0;this.buildingEndTime=0;this.building=0;this.buildingParallelismFactor=0;this.storingStartTime=0;this.storingEndTime=0;this.storing=0;this.storingParallelismFactor=0;this.additionalFactoryTimes=undefined;this.additionalFactories=0;this.additionalFactoriesParallelismFactor=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(k){k.additionalFactories=this.factory;(k.additionalFactoryTimes=k.additionalFactoryTimes||[]).push({start:this.factoryStartTime,end:this.factoryEndTime})}}k.exports=ModuleProfile},48575:function(k,v,E){"use strict";const P=E(71572);class ModuleRestoreError extends P{constructor(k,v){let E="Module restore failed: ";let P=undefined;if(v!==null&&typeof v==="object"){if(typeof v.stack==="string"&&v.stack){const k=v.stack;E+=k}else if(typeof v.message==="string"&&v.message){E+=v.message}else{E+=v}}else{E+=String(v)}super(E);this.name="ModuleRestoreError";this.details=P;this.module=k;this.error=v}}k.exports=ModuleRestoreError},57177:function(k,v,E){"use strict";const P=E(71572);class ModuleStoreError extends P{constructor(k,v){let E="Module storing failed: ";let P=undefined;if(v!==null&&typeof v==="object"){if(typeof v.stack==="string"&&v.stack){const k=v.stack;E+=k}else if(typeof v.message==="string"&&v.message){E+=v.message}else{E+=v}}else{E+=String(v)}super(E);this.name="ModuleStoreError";this.details=P;this.module=k;this.error=v}}k.exports=ModuleStoreError},3304:function(k,v,E){"use strict";const P=E(73837);const R=E(20631);const L=R((()=>E(89168)));class ModuleTemplate{constructor(k,v){this._runtimeTemplate=k;this.type="javascript";this.hooks=Object.freeze({content:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).renderModuleContent.tap(k,((k,v,P)=>E(k,v,P,P.dependencyTemplates)))}),"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_CONTENT")},module:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).renderModuleContent.tap(k,((k,v,P)=>E(k,v,P,P.dependencyTemplates)))}),"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_MODULE")},render:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).renderModuleContainer.tap(k,((k,v,P)=>E(k,v,P,P.dependencyTemplates)))}),"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)","DEP_MODULE_TEMPLATE_RENDER")},package:{tap:P.deprecate(((k,E)=>{L().getCompilationHooks(v).renderModulePackage.tap(k,((k,v,P)=>E(k,v,P,P.dependencyTemplates)))}),"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)","DEP_MODULE_TEMPLATE_PACKAGE")},hash:{tap:P.deprecate(((k,E)=>{v.hooks.fullHash.tap(k,E)}),"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_MODULE_TEMPLATE_HASH")}})}}Object.defineProperty(ModuleTemplate.prototype,"runtimeTemplate",{get:P.deprecate((function(){return this._runtimeTemplate}),"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});k.exports=ModuleTemplate},93622:function(k,v){"use strict";const E="javascript/auto";const P="javascript/dynamic";const R="javascript/esm";const L="json";const N="webassembly/async";const q="webassembly/sync";const ae="css";const le="css/global";const pe="css/module";const me="asset";const ye="asset/inline";const _e="asset/resource";const Ie="asset/source";const Me="asset/raw-data-url";const Te="runtime";const je="fallback-module";const Ne="remote-module";const Be="provide-module";const qe="consume-shared-module";const Ue="lazy-compilation-proxy";v.ASSET_MODULE_TYPE=me;v.ASSET_MODULE_TYPE_RAW_DATA_URL=Me;v.ASSET_MODULE_TYPE_SOURCE=Ie;v.ASSET_MODULE_TYPE_RESOURCE=_e;v.ASSET_MODULE_TYPE_INLINE=ye;v.JAVASCRIPT_MODULE_TYPE_AUTO=E;v.JAVASCRIPT_MODULE_TYPE_DYNAMIC=P;v.JAVASCRIPT_MODULE_TYPE_ESM=R;v.JSON_MODULE_TYPE=L;v.WEBASSEMBLY_MODULE_TYPE_ASYNC=N;v.WEBASSEMBLY_MODULE_TYPE_SYNC=q;v.CSS_MODULE_TYPE=ae;v.CSS_MODULE_TYPE_GLOBAL=le;v.CSS_MODULE_TYPE_MODULE=pe;v.WEBPACK_MODULE_TYPE_RUNTIME=Te;v.WEBPACK_MODULE_TYPE_FALLBACK=je;v.WEBPACK_MODULE_TYPE_REMOTE=Ne;v.WEBPACK_MODULE_TYPE_PROVIDE=Be;v.WEBPACK_MODULE_TYPE_CONSUME_SHARED_MODULE=qe;v.WEBPACK_MODULE_TYPE_LAZY_COMPILATION_PROXY=Ue},95801:function(k,v,E){"use strict";const{cleanUp:P}=E(53657);const R=E(71572);const L=E(58528);class ModuleWarning extends R{constructor(k,{from:v=null}={}){let E="Module Warning";if(v){E+=` (from ${v}):\n`}else{E+=": "}if(k&&typeof k==="object"&&k.message){E+=k.message}else if(k){E+=String(k)}super(E);this.name="ModuleWarning";this.warning=k;this.details=k&&typeof k==="object"&&k.stack?P(k.stack,this.message):undefined}serialize(k){const{write:v}=k;v(this.warning);super.serialize(k)}deserialize(k){const{read:v}=k;this.warning=v();super.deserialize(k)}}L(ModuleWarning,"webpack/lib/ModuleWarning");k.exports=ModuleWarning},47575:function(k,v,E){"use strict";const P=E(78175);const{SyncHook:R,MultiHook:L}=E(79846);const N=E(4539);const q=E(14976);const ae=E(73463);const le=E(12970);k.exports=class MultiCompiler{constructor(k,v){if(!Array.isArray(k)){k=Object.keys(k).map((v=>{k[v].name=v;return k[v]}))}this.hooks=Object.freeze({done:new R(["stats"]),invalid:new L(k.map((k=>k.hooks.invalid))),run:new L(k.map((k=>k.hooks.run))),watchClose:new R([]),watchRun:new L(k.map((k=>k.hooks.watchRun))),infrastructureLog:new L(k.map((k=>k.hooks.infrastructureLog)))});this.compilers=k;this._options={parallelism:v.parallelism||Infinity};this.dependencies=new WeakMap;this.running=false;const E=this.compilers.map((()=>null));let P=0;for(let k=0;k{if(!L){L=true;P++}E[R]=k;if(P===this.compilers.length){this.hooks.done.call(new q(E))}}));v.hooks.invalid.tap("MultiCompiler",(()=>{if(L){L=false;P--}}))}}get options(){return Object.assign(this.compilers.map((k=>k.options)),this._options)}get outputPath(){let k=this.compilers[0].outputPath;for(const v of this.compilers){while(v.outputPath.indexOf(k)!==0&&/[/\\]/.test(k)){k=k.replace(/[/\\][^/\\]*$/,"")}}if(!k&&this.compilers[0].outputPath[0]==="/")return"/";return k}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(k){for(const v of this.compilers){v.inputFileSystem=k}}set outputFileSystem(k){for(const v of this.compilers){v.outputFileSystem=k}}set watchFileSystem(k){for(const v of this.compilers){v.watchFileSystem=k}}set intermediateFileSystem(k){for(const v of this.compilers){v.intermediateFileSystem=k}}getInfrastructureLogger(k){return this.compilers[0].getInfrastructureLogger(k)}setDependencies(k,v){this.dependencies.set(k,v)}validateDependencies(k){const v=new Set;const E=[];const targetFound=k=>{for(const E of v){if(E.target===k){return true}}return false};const sortEdges=(k,v)=>k.source.name.localeCompare(v.source.name)||k.target.name.localeCompare(v.target.name);for(const k of this.compilers){const P=this.dependencies.get(k);if(P){for(const R of P){const P=this.compilers.find((k=>k.name===R));if(!P){E.push(R)}else{v.add({source:k,target:P})}}}}const P=E.map((k=>`Compiler dependency \`${k}\` not found.`));const R=this.compilers.filter((k=>!targetFound(k)));while(R.length>0){const k=R.pop();for(const E of v){if(E.source===k){v.delete(E);const k=E.target;if(!targetFound(k)){R.push(k)}}}}if(v.size>0){const k=Array.from(v).sort(sortEdges).map((k=>`${k.source.name} -> ${k.target.name}`));k.unshift("Circular dependency found in compiler dependencies.");P.unshift(k.join("\n"))}if(P.length>0){const v=P.join("\n");k(new Error(v));return false}return true}runWithDependencies(k,v,E){const R=new Set;let L=k;const isDependencyFulfilled=k=>R.has(k);const getReadyCompilers=()=>{let k=[];let v=L;L=[];for(const E of v){const v=this.dependencies.get(E);const P=!v||v.every(isDependencyFulfilled);if(P){k.push(E)}else{L.push(E)}}return k};const runCompilers=k=>{if(L.length===0)return k();P.map(getReadyCompilers(),((k,E)=>{v(k,(v=>{if(v)return E(v);R.add(k.name);runCompilers(E)}))}),k)};runCompilers(E)}_runGraph(k,v,E){const R=this.compilers.map((k=>({compiler:k,setupResult:undefined,result:undefined,state:"blocked",children:[],parents:[]})));const L=new Map;for(const k of R)L.set(k.compiler.name,k);for(const k of R){const v=this.dependencies.get(k.compiler);if(!v)continue;for(const E of v){const v=L.get(E);k.parents.push(v);v.children.push(k)}}const N=new le;for(const k of R){if(k.parents.length===0){k.state="queued";N.enqueue(k)}}let ae=false;let pe=0;const me=this._options.parallelism;const nodeDone=(k,v,L)=>{if(ae)return;if(v){ae=true;return P.each(R,((k,v)=>{if(k.compiler.watching){k.compiler.watching.close(v)}else{v()}}),(()=>E(v)))}k.result=L;pe--;if(k.state==="running"){k.state="done";for(const v of k.children){if(v.state==="blocked")N.enqueue(v)}}else if(k.state==="running-outdated"){k.state="blocked";N.enqueue(k)}processQueue()};const nodeInvalidFromParent=k=>{if(k.state==="done"){k.state="blocked"}else if(k.state==="running"){k.state="running-outdated"}for(const v of k.children){nodeInvalidFromParent(v)}};const nodeInvalid=k=>{if(k.state==="done"){k.state="pending"}else if(k.state==="running"){k.state="running-outdated"}for(const v of k.children){nodeInvalidFromParent(v)}};const nodeChange=k=>{nodeInvalid(k);if(k.state==="pending"){k.state="blocked"}if(k.state==="blocked"){N.enqueue(k);processQueue()}};const ye=[];R.forEach(((v,E)=>{ye.push(v.setupResult=k(v.compiler,E,nodeDone.bind(null,v),(()=>v.state!=="starting"&&v.state!=="running"),(()=>nodeChange(v)),(()=>nodeInvalid(v))))}));let _e=true;const processQueue=()=>{if(_e)return;_e=true;process.nextTick(processQueueWorker)};const processQueueWorker=()=>{while(pe0&&!ae){const k=N.dequeue();if(k.state==="queued"||k.state==="blocked"&&k.parents.every((k=>k.state==="done"))){pe++;k.state="starting";v(k.compiler,k.setupResult,nodeDone.bind(null,k));k.state="running"}}_e=false;if(!ae&&pe===0&&R.every((k=>k.state==="done"))){const k=[];for(const v of R){const E=v.result;if(E){v.result=undefined;k.push(E)}}if(k.length>0){E(null,new q(k))}}};processQueueWorker();return ye}watch(k,v){if(this.running){return v(new N)}this.running=true;if(this.validateDependencies(v)){const E=this._runGraph(((v,E,P,R,L,N)=>{const q=v.watch(Array.isArray(k)?k[E]:k,P);if(q){q._onInvalid=N;q._onChange=L;q._isBlocked=R}return q}),((k,v,E)=>{if(k.watching!==v)return;if(!v.running)v.invalidate()}),v);return new ae(E,this)}return new ae([],this)}run(k){if(this.running){return k(new N)}this.running=true;if(this.validateDependencies(k)){this._runGraph((()=>{}),((k,v,E)=>k.run(E)),((v,E)=>{this.running=false;if(k!==undefined){return k(v,E)}}))}}purgeInputFileSystem(){for(const k of this.compilers){if(k.inputFileSystem&&k.inputFileSystem.purge){k.inputFileSystem.purge()}}}close(k){P.each(this.compilers,((k,v)=>{k.close(v)}),k)}}},14976:function(k,v,E){"use strict";const P=E(65315);const indent=(k,v)=>{const E=k.replace(/\n([^\n])/g,"\n"+v+"$1");return v+E};class MultiStats{constructor(k){this.stats=k}get hash(){return this.stats.map((k=>k.hash)).join("")}hasErrors(){return this.stats.some((k=>k.hasErrors()))}hasWarnings(){return this.stats.some((k=>k.hasWarnings()))}_createChildOptions(k,v){if(!k){k={}}const{children:E=undefined,...P}=typeof k==="string"?{preset:k}:k;const R=this.stats.map(((k,R)=>{const L=Array.isArray(E)?E[R]:E;return k.compilation.createStatsOptions({...P,...typeof L==="string"?{preset:L}:L&&typeof L==="object"?L:undefined},v)}));return{version:R.every((k=>k.version)),hash:R.every((k=>k.hash)),errorsCount:R.every((k=>k.errorsCount)),warningsCount:R.every((k=>k.warningsCount)),errors:R.every((k=>k.errors)),warnings:R.every((k=>k.warnings)),children:R}}toJson(k){k=this._createChildOptions(k,{forToString:false});const v={};v.children=this.stats.map(((v,E)=>{const R=v.toJson(k.children[E]);const L=v.compilation.name;const N=L&&P.makePathsRelative(k.context,L,v.compilation.compiler.root);R.name=N;return R}));if(k.version){v.version=v.children[0].version}if(k.hash){v.hash=v.children.map((k=>k.hash)).join("")}const mapError=(k,v)=>({...v,compilerPath:v.compilerPath?`${k.name}.${v.compilerPath}`:k.name});if(k.errors){v.errors=[];for(const k of v.children){for(const E of k.errors){v.errors.push(mapError(k,E))}}}if(k.warnings){v.warnings=[];for(const k of v.children){for(const E of k.warnings){v.warnings.push(mapError(k,E))}}}if(k.errorsCount){v.errorsCount=0;for(const k of v.children){v.errorsCount+=k.errorsCount}}if(k.warningsCount){v.warningsCount=0;for(const k of v.children){v.warningsCount+=k.warningsCount}}return v}toString(k){k=this._createChildOptions(k,{forToString:true});const v=this.stats.map(((v,E)=>{const R=v.toString(k.children[E]);const L=v.compilation.name;const N=L&&P.makePathsRelative(k.context,L,v.compilation.compiler.root).replace(/\|/g," ");if(!R)return R;return N?`${N}:\n${indent(R," ")}`:R}));return v.filter(Boolean).join("\n\n")}}k.exports=MultiStats},73463:function(k,v,E){"use strict";const P=E(78175);class MultiWatching{constructor(k,v){this.watchings=k;this.compiler=v}invalidate(k){if(k){P.each(this.watchings,((k,v)=>k.invalidate(v)),k)}else{for(const k of this.watchings){k.invalidate()}}}suspend(){for(const k of this.watchings){k.suspend()}}resume(){for(const k of this.watchings){k.resume()}}close(k){P.forEach(this.watchings,((k,v)=>{k.close(v)}),(v=>{this.compiler.hooks.watchClose.call();if(typeof k==="function"){this.compiler.running=false;k(v)}}))}}k.exports=MultiWatching},75018:function(k){"use strict";class NoEmitOnErrorsPlugin{apply(k){k.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",(k=>{if(k.getStats().hasErrors())return false}));k.hooks.compilation.tap("NoEmitOnErrorsPlugin",(k=>{k.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",(()=>{if(k.getStats().hasErrors())return false}))}))}}k.exports=NoEmitOnErrorsPlugin},2940:function(k,v,E){"use strict";const P=E(71572);k.exports=class NoModeWarning extends P{constructor(){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n"+"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/"}}},86770:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class NodeStuffInWebError extends P{constructor(k,v,E){super(`${JSON.stringify(v)} has been used, it will be undefined in next major version.\n${E}`);this.name="NodeStuffInWebError";this.loc=k}}R(NodeStuffInWebError,"webpack/lib/NodeStuffInWebError");k.exports=NodeStuffInWebError},12661:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R}=E(93622);const L=E(86770);const N=E(56727);const q=E(11602);const ae=E(60381);const{evaluateToString:le,expressionIsUnsupported:pe}=E(80784);const{relative:me}=E(57825);const{parseResource:ye}=E(65315);const _e="NodeStuffPlugin";class NodeStuffPlugin{constructor(k){this.options=k}apply(k){const v=this.options;k.hooks.compilation.tap(_e,((E,{normalModuleFactory:Ie})=>{const handler=(E,P)=>{if(P.node===false)return;let R=v;if(P.node){R={...R,...P.node}}if(R.global!==false){const k=R.global==="warn";E.hooks.expression.for("global").tap(_e,(v=>{const P=new ae(N.global,v.range,[N.global]);P.loc=v.loc;E.state.module.addPresentationalDependency(P);if(k){E.state.module.addWarning(new L(P.loc,"global","The global namespace object is a Node.js feature and isn't available in browsers."))}}));E.hooks.rename.for("global").tap(_e,(k=>{const v=new ae(N.global,k.range,[N.global]);v.loc=k.loc;E.state.module.addPresentationalDependency(v);return false}))}const setModuleConstant=(k,v,P)=>{E.hooks.expression.for(k).tap(_e,(R=>{const N=new q(JSON.stringify(v(E.state.module)),R.range,k);N.loc=R.loc;E.state.module.addPresentationalDependency(N);if(P){E.state.module.addWarning(new L(N.loc,k,P))}return true}))};const setConstant=(k,v,E)=>setModuleConstant(k,(()=>v),E);const Ie=k.context;if(R.__filename){switch(R.__filename){case"mock":setConstant("__filename","/index.js");break;case"warn-mock":setConstant("__filename","/index.js","__filename is a Node.js feature and isn't available in browsers.");break;case true:setModuleConstant("__filename",(v=>me(k.inputFileSystem,Ie,v.resource)));break}E.hooks.evaluateIdentifier.for("__filename").tap(_e,(k=>{if(!E.state.module)return;const v=ye(E.state.module.resource);return le(v.path)(k)}))}if(R.__dirname){switch(R.__dirname){case"mock":setConstant("__dirname","/");break;case"warn-mock":setConstant("__dirname","/","__dirname is a Node.js feature and isn't available in browsers.");break;case true:setModuleConstant("__dirname",(v=>me(k.inputFileSystem,Ie,v.context)));break}E.hooks.evaluateIdentifier.for("__dirname").tap(_e,(k=>{if(!E.state.module)return;return le(E.state.module.context)(k)}))}E.hooks.expression.for("require.extensions").tap(_e,pe(E,"require.extensions is not supported by webpack. Use a loader instead."))};Ie.hooks.parser.for(P).tap(_e,handler);Ie.hooks.parser.for(R).tap(_e,handler)}))}}k.exports=NodeStuffPlugin},38224:function(k,v,E){"use strict";const P=E(54650);const{getContext:R,runLoaders:L}=E(22955);const N=E(63477);const{HookMap:q,SyncHook:ae,AsyncSeriesBailHook:le}=E(79846);const{CachedSource:pe,OriginalSource:me,RawSource:ye,SourceMapSource:_e}=E(51255);const Ie=E(27747);const Me=E(82104);const Te=E(88396);const je=E(23804);const Ne=E(47560);const Be=E(86267);const qe=E(63591);const{JAVASCRIPT_MODULE_TYPE_AUTO:Ue}=E(93622);const Ge=E(95801);const He=E(56727);const We=E(57975);const Qe=E(71572);const Je=E(1811);const Ve=E(12359);const{isSubset:Ke}=E(59959);const{getScheme:Ye}=E(78296);const{compareLocations:Xe,concatComparators:Ze,compareSelect:et,keepOriginalOrder:tt}=E(95648);const nt=E(74012);const{createFakeHook:st}=E(61883);const{join:rt}=E(57825);const{contextify:ot,absolutify:it,makePathsRelative:at}=E(65315);const ct=E(58528);const lt=E(20631);const ut=lt((()=>E(44017)));const pt=lt((()=>E(38476).validate));const dt=/^([a-zA-Z]:\\|\\\\|\/)/;const contextifySourceUrl=(k,v,E)=>{if(v.startsWith("webpack://"))return v;return`webpack://${at(k,v,E)}`};const contextifySourceMap=(k,v,E)=>{if(!Array.isArray(v.sources))return v;const{sourceRoot:P}=v;const R=!P?k=>k:P.endsWith("/")?k=>k.startsWith("/")?`${P.slice(0,-1)}${k}`:`${P}${k}`:k=>k.startsWith("/")?`${P}${k}`:`${P}/${k}`;const L=v.sources.map((v=>contextifySourceUrl(k,R(v),E)));return{...v,file:"x",sourceRoot:undefined,sources:L}};const asString=k=>{if(Buffer.isBuffer(k)){return k.toString("utf-8")}return k};const asBuffer=k=>{if(!Buffer.isBuffer(k)){return Buffer.from(k,"utf-8")}return k};class NonErrorEmittedError extends Qe{constructor(k){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+k}}ct(NonErrorEmittedError,"webpack/lib/NormalModule","NonErrorEmittedError");const ft=new WeakMap;class NormalModule extends Te{static getCompilationHooks(k){if(!(k instanceof Ie)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=ft.get(k);if(v===undefined){v={loader:new ae(["loaderContext","module"]),beforeLoaders:new ae(["loaders","module","loaderContext"]),beforeParse:new ae(["module"]),beforeSnapshot:new ae(["module"]),readResourceForScheme:new q((k=>{const E=v.readResource.for(k);return st({tap:(k,v)=>E.tap(k,(k=>v(k.resource,k._module))),tapAsync:(k,v)=>E.tapAsync(k,((k,E)=>v(k.resource,k._module,E))),tapPromise:(k,v)=>E.tapPromise(k,(k=>v(k.resource,k._module)))})})),readResource:new q((()=>new le(["loaderContext"]))),needBuild:new le(["module","context"])};ft.set(k,v)}return v}constructor({layer:k,type:v,request:E,userRequest:P,rawRequest:L,loaders:N,resource:q,resourceResolveData:ae,context:le,matchResource:pe,parser:me,parserOptions:ye,generator:_e,generatorOptions:Ie,resolveOptions:Me}){super(v,le||R(q),k);this.request=E;this.userRequest=P;this.rawRequest=L;this.binary=/^(asset|webassembly)\b/.test(v);this.parser=me;this.parserOptions=ye;this.generator=_e;this.generatorOptions=Ie;this.resource=q;this.resourceResolveData=ae;this.matchResource=pe;this.loaders=N;if(Me!==undefined){this.resolveOptions=Me}this.error=null;this._source=null;this._sourceSizes=undefined;this._sourceTypes=undefined;this._lastSuccessfulBuildMeta={};this._forceBuild=true;this._isEvaluatingSideEffects=false;this._addedSideEffectsBailout=undefined;this._codeGeneratorData=new Map}identifier(){if(this.layer===null){if(this.type===Ue){return this.request}else{return`${this.type}|${this.request}`}}else{return`${this.type}|${this.request}|${this.layer}`}}readableIdentifier(k){return k.shorten(this.userRequest)}libIdent(k){let v=ot(k.context,this.userRequest,k.associatedObjectForCache);if(this.layer)v=`(${this.layer})/${v}`;return v}nameForCondition(){const k=this.matchResource||this.resource;const v=k.indexOf("?");if(v>=0)return k.slice(0,v);return k}updateCacheModule(k){super.updateCacheModule(k);const v=k;this.binary=v.binary;this.request=v.request;this.userRequest=v.userRequest;this.rawRequest=v.rawRequest;this.parser=v.parser;this.parserOptions=v.parserOptions;this.generator=v.generator;this.generatorOptions=v.generatorOptions;this.resource=v.resource;this.resourceResolveData=v.resourceResolveData;this.context=v.context;this.matchResource=v.matchResource;this.loaders=v.loaders}cleanupForCache(){if(this.buildInfo){if(this._sourceTypes===undefined)this.getSourceTypes();for(const k of this._sourceTypes){this.size(k)}}super.cleanupForCache();this.parser=undefined;this.parserOptions=undefined;this.generator=undefined;this.generatorOptions=undefined}getUnsafeCacheData(){const k=super.getUnsafeCacheData();k.parserOptions=this.parserOptions;k.generatorOptions=this.generatorOptions;return k}restoreFromUnsafeCache(k,v){this._restoreFromUnsafeCache(k,v)}_restoreFromUnsafeCache(k,v){super._restoreFromUnsafeCache(k,v);this.parserOptions=k.parserOptions;this.parser=v.getParser(this.type,this.parserOptions);this.generatorOptions=k.generatorOptions;this.generator=v.getGenerator(this.type,this.generatorOptions)}createSourceForAsset(k,v,E,P,R){if(P){if(typeof P==="string"&&(this.useSourceMap||this.useSimpleSourceMap)){return new me(E,contextifySourceUrl(k,P,R))}if(this.useSourceMap){return new _e(E,v,contextifySourceMap(k,P,R))}}return new ye(E)}_createLoaderContext(k,v,E,R,L){const{requestShortener:q}=E.runtimeTemplate;const getCurrentLoaderName=()=>{const k=this.getCurrentLoader(_e);if(!k)return"(not in loader scope)";return q.shorten(k.loader)};const getResolveContext=()=>({fileDependencies:{add:k=>_e.addDependency(k)},contextDependencies:{add:k=>_e.addContextDependency(k)},missingDependencies:{add:k=>_e.addMissingDependency(k)}});const ae=lt((()=>it.bindCache(E.compiler.root)));const le=lt((()=>it.bindContextCache(this.context,E.compiler.root)));const pe=lt((()=>ot.bindCache(E.compiler.root)));const me=lt((()=>ot.bindContextCache(this.context,E.compiler.root)));const ye={absolutify:(k,v)=>k===this.context?le()(v):ae()(k,v),contextify:(k,v)=>k===this.context?me()(v):pe()(k,v),createHash:k=>nt(k||E.outputOptions.hashFunction)};const _e={version:2,getOptions:k=>{const v=this.getCurrentLoader(_e);let{options:E}=v;if(typeof E==="string"){if(E.startsWith("{")&&E.endsWith("}")){try{E=P(E)}catch(k){throw new Error(`Cannot parse string options: ${k.message}`)}}else{E=N.parse(E,"&","=",{maxKeys:0})}}if(E===null||E===undefined){E={}}if(k){let v="Loader";let P="options";let R;if(k.title&&(R=/^(.+) (.+)$/.exec(k.title))){[,v,P]=R}pt()(k,E,{name:v,baseDataPath:P})}return E},emitWarning:k=>{if(!(k instanceof Error)){k=new NonErrorEmittedError(k)}this.addWarning(new Ge(k,{from:getCurrentLoaderName()}))},emitError:k=>{if(!(k instanceof Error)){k=new NonErrorEmittedError(k)}this.addError(new Ne(k,{from:getCurrentLoaderName()}))},getLogger:k=>{const v=this.getCurrentLoader(_e);return E.getLogger((()=>[v&&v.loader,k,this.identifier()].filter(Boolean).join("|")))},resolve(v,E,P){k.resolve({},v,E,getResolveContext(),P)},getResolve(v){const E=v?k.withOptions(v):k;return(k,v,P)=>{if(P){E.resolve({},k,v,getResolveContext(),P)}else{return new Promise(((P,R)=>{E.resolve({},k,v,getResolveContext(),((k,v)=>{if(k)R(k);else P(v)}))}))}}},emitFile:(k,P,R,L)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[k]=this.createSourceForAsset(v.context,k,P,R,E.compiler.root);this.buildInfo.assetsInfo.set(k,L)},addBuildDependency:k=>{if(this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new Ve}this.buildInfo.buildDependencies.add(k)},utils:ye,rootContext:v.context,webpack:true,sourceMap:!!this.useSourceMap,mode:v.mode||"production",_module:this,_compilation:E,_compiler:E.compiler,fs:R};Object.assign(_e,v.loader);L.loader.call(_e,this);return _e}getCurrentLoader(k,v=k.loaderIndex){if(this.loaders&&this.loaders.length&&v=0&&this.loaders[v]){return this.loaders[v]}return null}createSource(k,v,E,P){if(Buffer.isBuffer(v)){return new ye(v)}if(!this.identifier){return new ye(v)}const R=this.identifier();if(this.useSourceMap&&E){return new _e(v,contextifySourceUrl(k,R,P),contextifySourceMap(k,E,P))}if(this.useSourceMap||this.useSimpleSourceMap){return new me(v,contextifySourceUrl(k,R,P))}return new ye(v)}_doBuild(k,v,E,P,R,N){const q=this._createLoaderContext(E,k,v,P,R);const processResult=(E,P)=>{if(E){if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}const k=this.getCurrentLoader(q);const P=new je(E,{from:k&&v.runtimeTemplate.requestShortener.shorten(k.loader)});return N(P)}const R=P[0];const L=P.length>=1?P[1]:null;const ae=P.length>=2?P[2]:null;if(!Buffer.isBuffer(R)&&typeof R!=="string"){const k=this.getCurrentLoader(q,0);const E=new Error(`Final loader (${k?v.runtimeTemplate.requestShortener.shorten(k.loader):"unknown"}) didn't return a Buffer or String`);const P=new je(E);return N(P)}this._source=this.createSource(k.context,this.binary?asBuffer(R):asString(R),L,v.compiler.root);if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._ast=typeof ae==="object"&&ae!==null&&ae.webpackAST!==undefined?ae.webpackAST:null;return N()};this.buildInfo.fileDependencies=new Ve;this.buildInfo.contextDependencies=new Ve;this.buildInfo.missingDependencies=new Ve;this.buildInfo.cacheable=true;try{R.beforeLoaders.call(this.loaders,this,q)}catch(k){processResult(k);return}if(this.loaders.length>0){this.buildInfo.buildDependencies=new Ve}L({resource:this.resource,loaders:this.loaders,context:q,processResource:(k,v,E)=>{const P=k.resource;const L=Ye(P);R.readResource.for(L).callAsync(k,((k,v)=>{if(k)return E(k);if(typeof v!=="string"&&!v){return E(new We(L,P))}return E(null,v)}))}},((k,v)=>{q._compilation=q._compiler=q._module=q.fs=undefined;if(!v){this.buildInfo.cacheable=false;return processResult(k||new Error("No result from loader-runner processing"),null)}this.buildInfo.fileDependencies.addAll(v.fileDependencies);this.buildInfo.contextDependencies.addAll(v.contextDependencies);this.buildInfo.missingDependencies.addAll(v.missingDependencies);for(const k of this.loaders){this.buildInfo.buildDependencies.add(k.loader)}this.buildInfo.cacheable=this.buildInfo.cacheable&&v.cacheable;processResult(k,v.result)}))}markModuleAsErrored(k){this.buildMeta={...this._lastSuccessfulBuildMeta};this.error=k;this.addError(k)}applyNoParseRule(k,v){if(typeof k==="string"){return v.startsWith(k)}if(typeof k==="function"){return k(v)}return k.test(v)}shouldPreventParsing(k,v){if(!k){return false}if(!Array.isArray(k)){return this.applyNoParseRule(k,v)}for(let E=0;E{if(E){this.markModuleAsErrored(E);this._initBuildHash(v);return R()}const handleParseError=E=>{const P=this._source.source();const L=this.loaders.map((E=>ot(k.context,E.loader,v.compiler.root)));const N=new qe(P,E,L,this.type);this.markModuleAsErrored(N);this._initBuildHash(v);return R()};const handleParseResult=k=>{this.dependencies.sort(Ze(et((k=>k.loc),Xe),tt(this.dependencies)));this._initBuildHash(v);this._lastSuccessfulBuildMeta=this.buildMeta;return handleBuildDone()};const handleBuildDone=()=>{try{N.beforeSnapshot.call(this)}catch(k){this.markModuleAsErrored(k);return R()}const k=v.options.snapshot.module;if(!this.buildInfo.cacheable||!k){return R()}let E=undefined;const checkDependencies=k=>{for(const P of k){if(!dt.test(P)){if(E===undefined)E=new Set;E.add(P);k.delete(P);try{const E=P.replace(/[\\/]?\*.*$/,"");const R=rt(v.fileSystemInfo.fs,this.context,E);if(R!==P&&dt.test(R)){(E!==P?this.buildInfo.contextDependencies:k).add(R)}}catch(k){}}}};checkDependencies(this.buildInfo.fileDependencies);checkDependencies(this.buildInfo.missingDependencies);checkDependencies(this.buildInfo.contextDependencies);if(E!==undefined){const k=ut();this.addWarning(new k(this,E))}v.fileSystemInfo.createSnapshot(L,this.buildInfo.fileDependencies,this.buildInfo.contextDependencies,this.buildInfo.missingDependencies,k,((k,v)=>{if(k){this.markModuleAsErrored(k);return}this.buildInfo.fileDependencies=undefined;this.buildInfo.contextDependencies=undefined;this.buildInfo.missingDependencies=undefined;this.buildInfo.snapshot=v;return R()}))};try{N.beforeParse.call(this)}catch(E){this.markModuleAsErrored(E);this._initBuildHash(v);return R()}const P=k.module&&k.module.noParse;if(this.shouldPreventParsing(P,this.request)){this.buildInfo.parsed=false;this._initBuildHash(v);return handleBuildDone()}let q;try{const E=this._source.source();q=this.parser.parse(this._ast||E,{source:E,current:this,module:this,compilation:v,options:k})}catch(k){handleParseError(k);return}handleParseResult(q)}))}getConcatenationBailoutReason(k){return this.generator.getConcatenationBailoutReason(this,k)}getSideEffectsConnectionState(k){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 Be.CIRCULAR_CONNECTION;this._isEvaluatingSideEffects=true;let v=false;for(const E of this.dependencies){const P=E.getModuleEvaluationSideEffectsState(k);if(P===true){if(this._addedSideEffectsBailout===undefined?(this._addedSideEffectsBailout=new WeakSet,true):!this._addedSideEffectsBailout.has(k)){this._addedSideEffectsBailout.add(k);k.getOptimizationBailout(this).push((()=>`Dependency (${E.type}) with side effects at ${Je(E.loc)}`))}this._isEvaluatingSideEffects=false;return true}else if(P!==Be.CIRCULAR_CONNECTION){v=Be.addConnectionStates(v,P)}}this._isEvaluatingSideEffects=false;return v}else{return true}}getSourceTypes(){if(this._sourceTypes===undefined){this._sourceTypes=this.generator.getTypes(this)}return this._sourceTypes}codeGeneration({dependencyTemplates:k,runtimeTemplate:v,moduleGraph:E,chunkGraph:P,runtime:R,concatenationScope:L,codeGenerationResults:N,sourceTypes:q}){const ae=new Set;if(!this.buildInfo.parsed){ae.add(He.module);ae.add(He.exports);ae.add(He.thisAsExports)}const getData=()=>this._codeGeneratorData;const le=new Map;for(const me of q||P.getModuleSourceTypes(this)){const q=this.error?new ye("throw new Error("+JSON.stringify(this.error.message)+");"):this.generator.generate(this,{dependencyTemplates:k,runtimeTemplate:v,moduleGraph:E,chunkGraph:P,runtimeRequirements:ae,runtime:R,concatenationScope:L,codeGenerationResults:N,getData:getData,type:me});if(q){le.set(me,new pe(q))}}const me={sources:le,runtimeRequirements:ae,data:this._codeGeneratorData};return me}originalSource(){return this._source}invalidateBuild(){this._forceBuild=true}needBuild(k,v){const{fileSystemInfo:E,compilation:P,valueCacheVersions:R}=k;if(this._forceBuild)return v(null,true);if(this.error)return v(null,true);if(!this.buildInfo.cacheable)return v(null,true);if(!this.buildInfo.snapshot)return v(null,true);const L=this.buildInfo.valueDependencies;if(L){if(!R)return v(null,true);for(const[k,E]of L){if(E===undefined)return v(null,true);const P=R.get(k);if(E!==P&&(typeof E==="string"||typeof P==="string"||P===undefined||!Ke(E,P))){return v(null,true)}}}E.checkSnapshotValid(this.buildInfo.snapshot,((E,R)=>{if(E)return v(E);if(!R)return v(null,true);const L=NormalModule.getCompilationHooks(P);L.needBuild.callAsync(this,k,((k,E)=>{if(k){return v(Me.makeWebpackError(k,"NormalModule.getCompilationHooks().needBuild"))}v(null,!!E)}))}))}size(k){const v=this._sourceSizes===undefined?undefined:this._sourceSizes.get(k);if(v!==undefined){return v}const E=Math.max(1,this.generator.getSize(this,k));if(this._sourceSizes===undefined){this._sourceSizes=new Map}this._sourceSizes.set(k,E);return E}addCacheDependencies(k,v,E,P){const{snapshot:R,buildDependencies:L}=this.buildInfo;if(R){k.addAll(R.getFileIterable());v.addAll(R.getContextIterable());E.addAll(R.getMissingIterable())}else{const{fileDependencies:P,contextDependencies:R,missingDependencies:L}=this.buildInfo;if(P!==undefined)k.addAll(P);if(R!==undefined)v.addAll(R);if(L!==undefined)E.addAll(L)}if(L!==undefined){P.addAll(L)}}updateHash(k,v){k.update(this.buildInfo.hash);this.generator.updateHash(k,{module:this,...v});super.updateHash(k,v)}serialize(k){const{write:v}=k;v(this._source);v(this.error);v(this._lastSuccessfulBuildMeta);v(this._forceBuild);v(this._codeGeneratorData);super.serialize(k)}static deserialize(k){const v=new NormalModule({layer:null,type:"",resource:"",context:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null});v.deserialize(k);return v}deserialize(k){const{read:v}=k;this._source=v();this.error=v();this._lastSuccessfulBuildMeta=v();this._forceBuild=v();this._codeGeneratorData=v();super.deserialize(k)}}ct(NormalModule,"webpack/lib/NormalModule");k.exports=NormalModule},14062:function(k,v,E){"use strict";const{getContext:P}=E(22955);const R=E(78175);const{AsyncSeriesBailHook:L,SyncWaterfallHook:N,SyncBailHook:q,SyncHook:ae,HookMap:le}=E(79846);const pe=E(38317);const me=E(88396);const ye=E(66043);const _e=E(88223);const{JAVASCRIPT_MODULE_TYPE_AUTO:Ie}=E(93622);const Me=E(38224);const Te=E(4345);const je=E(559);const Ne=E(73799);const Be=E(87536);const qe=E(53998);const Ue=E(12359);const{getScheme:Ge}=E(78296);const{cachedCleverMerge:He,cachedSetProperty:We}=E(99454);const{join:Qe}=E(57825);const{parseResource:Je,parseResourceWithoutFragment:Ve}=E(65315);const Ke={};const Ye={};const Xe={};const Ze=[];const et=/^([^!]+)!=!/;const tt=/^[^.]/;const loaderToIdent=k=>{if(!k.options){return k.loader}if(typeof k.options==="string"){return k.loader+"?"+k.options}if(typeof k.options!=="object"){throw new Error("loader options must be string or object")}if(k.ident){return k.loader+"??"+k.ident}return k.loader+"?"+JSON.stringify(k.options)};const stringifyLoadersAndResource=(k,v)=>{let E="";for(const v of k){E+=loaderToIdent(v)+"!"}return E+v};const needCalls=(k,v)=>E=>{if(--k===0){return v(E)}if(E&&k>0){k=NaN;return v(E)}};const mergeGlobalOptions=(k,v,E)=>{const P=v.split("/");let R;let L="";for(const v of P){L=L?`${L}/${v}`:v;const E=k[L];if(typeof E==="object"){if(R===undefined){R=E}else{R=He(R,E)}}}if(R===undefined){return E}else{return He(R,E)}};const deprecationChangedHookMessage=(k,v)=>{const E=v.taps.map((k=>k.name)).join(", ");return`NormalModuleFactory.${k} (${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 nt=new Be([new je("test","resource"),new je("scheme"),new je("mimetype"),new je("dependency"),new je("include","resource"),new je("exclude","resource",true),new je("resource"),new je("resourceQuery"),new je("resourceFragment"),new je("realResource"),new je("issuer"),new je("compiler"),new je("issuerLayer"),new Ne("assert","assertions"),new Ne("descriptionData"),new Te("type"),new Te("sideEffects"),new Te("parser"),new Te("resolve"),new Te("generator"),new Te("layer"),new qe]);class NormalModuleFactory extends ye{constructor({context:k,fs:v,resolverFactory:E,options:R,associatedObjectForCache:pe,layers:ye=false}){super();this.hooks=Object.freeze({resolve:new L(["resolveData"]),resolveForScheme:new le((()=>new L(["resourceData","resolveData"]))),resolveInScheme:new le((()=>new L(["resourceData","resolveData"]))),factorize:new L(["resolveData"]),beforeResolve:new L(["resolveData"]),afterResolve:new L(["resolveData"]),createModule:new L(["createData","resolveData"]),module:new N(["module","createData","resolveData"]),createParser:new le((()=>new q(["parserOptions"]))),parser:new le((()=>new ae(["parser","parserOptions"]))),createGenerator:new le((()=>new q(["generatorOptions"]))),generator:new le((()=>new ae(["generator","generatorOptions"]))),createModuleClass:new le((()=>new q(["createData","resolveData"])))});this.resolverFactory=E;this.ruleSet=nt.compile([{rules:R.defaultRules},{rules:R.rules}]);this.context=k||"";this.fs=v;this._globalParserOptions=R.parser;this._globalGeneratorOptions=R.generator;this.parserCache=new Map;this.generatorCache=new Map;this._restoredUnsafeCacheEntries=new Set;const _e=Je.bindCache(pe);const Te=Ve.bindCache(pe);this._parseResourceWithoutFragment=Te;this.hooks.factorize.tapAsync({name:"NormalModuleFactory",stage:100},((k,v)=>{this.hooks.resolve.callAsync(k,((E,P)=>{if(E)return v(E);if(P===false)return v();if(P instanceof me)return v(null,P);if(typeof P==="object")throw new Error(deprecationChangedHookMessage("resolve",this.hooks.resolve)+" Returning a Module object will result in this module used as result.");this.hooks.afterResolve.callAsync(k,((E,P)=>{if(E)return v(E);if(typeof P==="object")throw new Error(deprecationChangedHookMessage("afterResolve",this.hooks.afterResolve));if(P===false)return v();const R=k.createData;this.hooks.createModule.callAsync(R,k,((E,P)=>{if(!P){if(!k.request){return v(new Error("Empty dependency (no request)"))}P=this.hooks.createModuleClass.for(R.settings.type).call(R,k);if(!P){P=new Me(R)}}P=this.hooks.module.call(P,R,k);return v(null,P)}))}))}))}));this.hooks.resolve.tapAsync({name:"NormalModuleFactory",stage:100},((k,v)=>{const{contextInfo:E,context:R,dependencies:L,dependencyType:N,request:q,assertions:ae,resolveOptions:le,fileDependencies:pe,missingDependencies:me,contextDependencies:Me}=k;const je=this.getResolver("loader");let Ne=undefined;let Be;let qe;let Ue=false;let Je=false;let Ve=false;const Ye=Ge(R);let Xe=Ge(q);if(!Xe){let k=q;const v=et.exec(q);if(v){let E=v[1];if(E.charCodeAt(0)===46){const k=E.charCodeAt(1);if(k===47||k===46&&E.charCodeAt(2)===47){E=Qe(this.fs,R,E)}}Ne={resource:E,..._e(E)};k=q.slice(v[0].length)}Xe=Ge(k);if(!Xe&&!Ye){const v=k.charCodeAt(0);const E=k.charCodeAt(1);Ue=v===45&&E===33;Je=Ue||v===33;Ve=v===33&&E===33;const P=k.slice(Ue||Ve?2:Je?1:0).split(/!+/);Be=P.pop();qe=P.map((k=>{const{path:v,query:E}=Te(k);return{loader:v,options:E?E.slice(1):undefined}}));Xe=Ge(Be)}else{Be=k;qe=Ze}}else{Be=q;qe=Ze}const tt={fileDependencies:pe,missingDependencies:me,contextDependencies:Me};let nt;let st;const rt=needCalls(2,(le=>{if(le)return v(le);try{for(const k of st){if(typeof k.options==="string"&&k.options[0]==="?"){const v=k.options.slice(1);if(v==="[[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.")}k.options=this.ruleSet.references.get(v);if(k.options===undefined){throw new Error("Invalid ident is provided by referenced loader")}k.ident=v}}}catch(k){return v(k)}if(!nt){return v(null,L[0].createIgnoredModule(R))}const pe=(Ne!==undefined?`${Ne.resource}!=!`:"")+stringifyLoadersAndResource(st,nt.resource);const me={};const _e=[];const Me=[];const Te=[];let Be;let qe;if(Ne&&typeof(Be=Ne.resource)==="string"&&(qe=/\.webpack\[([^\]]+)\]$/.exec(Be))){me.type=qe[1];Ne.resource=Ne.resource.slice(0,-me.type.length-10)}else{me.type=Ie;const k=Ne||nt;const v=this.ruleSet.exec({resource:k.path,realResource:nt.path,resourceQuery:k.query,resourceFragment:k.fragment,scheme:Xe,assertions:ae,mimetype:Ne?"":nt.data.mimetype||"",dependency:N,descriptionData:Ne?undefined:nt.data.descriptionFileData,issuer:E.issuer,compiler:E.compiler,issuerLayer:E.issuerLayer||""});for(const k of v){if(k.type==="type"&&Ve){continue}if(k.type==="use"){if(!Je&&!Ve){Me.push(k.value)}}else if(k.type==="use-post"){if(!Ve){_e.push(k.value)}}else if(k.type==="use-pre"){if(!Ue&&!Ve){Te.push(k.value)}}else if(typeof k.value==="object"&&k.value!==null&&typeof me[k.type]==="object"&&me[k.type]!==null){me[k.type]=He(me[k.type],k.value)}else{me[k.type]=k.value}}}let Ge,We,Qe;const Ke=needCalls(3,(R=>{if(R){return v(R)}const L=Ge;if(Ne===undefined){for(const k of st)L.push(k);for(const k of We)L.push(k)}else{for(const k of We)L.push(k);for(const k of st)L.push(k)}for(const k of Qe)L.push(k);let N=me.type;const ae=me.resolve;const le=me.layer;if(le!==undefined&&!ye){return v(new Error("'Rule.layer' is only allowed when 'experiments.layers' is enabled"))}try{Object.assign(k.createData,{layer:le===undefined?E.issuerLayer||null:le,request:stringifyLoadersAndResource(L,nt.resource),userRequest:pe,rawRequest:q,loaders:L,resource:nt.resource,context:nt.context||P(nt.resource),matchResource:Ne?Ne.resource:undefined,resourceResolveData:nt.data,settings:me,type:N,parser:this.getParser(N,me.parser),parserOptions:me.parser,generator:this.getGenerator(N,me.generator),generatorOptions:me.generator,resolveOptions:ae})}catch(k){return v(k)}v()}));this.resolveRequestArray(E,this.context,_e,je,tt,((k,v)=>{Ge=v;Ke(k)}));this.resolveRequestArray(E,this.context,Me,je,tt,((k,v)=>{We=v;Ke(k)}));this.resolveRequestArray(E,this.context,Te,je,tt,((k,v)=>{Qe=v;Ke(k)}))}));this.resolveRequestArray(E,Ye?this.context:R,qe,je,tt,((k,v)=>{if(k)return rt(k);st=v;rt()}));const defaultResolve=k=>{if(/^($|\?)/.test(Be)){nt={resource:Be,data:{},..._e(Be)};rt()}else{const v=this.getResolver("normal",N?We(le||Ke,"dependencyType",N):le);this.resolveResource(E,k,Be,v,tt,((k,v,E)=>{if(k)return rt(k);if(v!==false){nt={resource:v,data:E,..._e(v)}}rt()}))}};if(Xe){nt={resource:Be,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveForScheme.for(Xe).callAsync(nt,k,(k=>{if(k)return rt(k);rt()}))}else if(Ye){nt={resource:Be,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveInScheme.for(Ye).callAsync(nt,k,((k,v)=>{if(k)return rt(k);if(!v)return defaultResolve(this.context);rt()}))}else defaultResolve(R)}))}cleanupForCache(){for(const k of this._restoredUnsafeCacheEntries){pe.clearChunkGraphForModule(k);_e.clearModuleGraphForModule(k);k.cleanupForCache()}}create(k,v){const E=k.dependencies;const P=k.context||this.context;const R=k.resolveOptions||Ke;const L=E[0];const N=L.request;const q=L.assertions;const ae=k.contextInfo;const le=new Ue;const pe=new Ue;const me=new Ue;const ye=E.length>0&&E[0].category||"";const _e={contextInfo:ae,resolveOptions:R,context:P,request:N,assertions:q,dependencies:E,dependencyType:ye,fileDependencies:le,missingDependencies:pe,contextDependencies:me,createData:{},cacheable:true};this.hooks.beforeResolve.callAsync(_e,((k,E)=>{if(k){return v(k,{fileDependencies:le,missingDependencies:pe,contextDependencies:me,cacheable:false})}if(E===false){return v(null,{fileDependencies:le,missingDependencies:pe,contextDependencies:me,cacheable:_e.cacheable})}if(typeof E==="object")throw new Error(deprecationChangedHookMessage("beforeResolve",this.hooks.beforeResolve));this.hooks.factorize.callAsync(_e,((k,E)=>{if(k){return v(k,{fileDependencies:le,missingDependencies:pe,contextDependencies:me,cacheable:false})}const P={module:E,fileDependencies:le,missingDependencies:pe,contextDependencies:me,cacheable:_e.cacheable};v(null,P)}))}))}resolveResource(k,v,E,P,R,L){P.resolve(k,v,E,R,((N,q,ae)=>{if(N){return this._resolveResourceErrorHints(N,k,v,E,P,R,((k,v)=>{if(k){N.message+=`\nA fatal error happened during resolving additional hints for this error: ${k.message}`;N.stack+=`\n\nA fatal error happened during resolving additional hints for this error:\n${k.stack}`;return L(N)}if(v&&v.length>0){N.message+=`\n${v.join("\n\n")}`}let E=false;const R=Array.from(P.options.extensions);const q=R.map((k=>{if(tt.test(k)){E=true;return`.${k}`}return k}));if(E){N.message+=`\nDid you miss the leading dot in 'resolve.extensions'? Did you mean '${JSON.stringify(q)}' instead of '${JSON.stringify(R)}'?`}L(N)}))}L(N,q,ae)}))}_resolveResourceErrorHints(k,v,E,P,L,N,q){R.parallel([k=>{if(!L.options.fullySpecified)return k();L.withOptions({fullySpecified:false}).resolve(v,E,P,N,((v,E)=>{if(!v&&E){const v=Je(E).path.replace(/^.*[\\/]/,"");return k(null,`Did you mean '${v}'?\nBREAKING CHANGE: The request '${P}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, 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.`)}k()}))},k=>{if(!L.options.enforceExtension)return k();L.withOptions({enforceExtension:false,extensions:[]}).resolve(v,E,P,N,((v,E)=>{if(!v&&E){let v="";const E=/(\.[^.]+)(\?|$)/.exec(P);if(E){const k=P.replace(/(\.[^.]+)(\?|$)/,"$2");if(L.options.extensions.has(E[1])){v=`Did you mean '${k}'?`}else{v=`Did you mean '${k}'? Also note that '${E[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?`}}else{v=`Did you mean to omit the extension or to remove 'resolve.enforceExtension'?`}return k(null,`The request '${P}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${v}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?`)}k()}))},k=>{if(/^\.\.?\//.test(P)||L.options.preferRelative){return k()}L.resolve(v,E,`./${P}`,N,((v,E)=>{if(v||!E)return k();const R=L.options.modules.map((k=>Array.isArray(k)?k.join(", "):k)).join(", ");k(null,`Did you mean './${P}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${R}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.`)}))}],((k,v)=>{if(k)return q(k);q(null,v.filter(Boolean))}))}resolveRequestArray(k,v,E,P,L,N){if(E.length===0)return N(null,E);R.map(E,((E,R)=>{P.resolve(k,v,E.loader,L,((N,q,ae)=>{if(N&&/^[^/]*$/.test(E.loader)&&!/-loader$/.test(E.loader)){return P.resolve(k,v,E.loader+"-loader",L,(k=>{if(!k){N.message=N.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${E.loader}-loader' instead of '${E.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}R(N)}))}if(N)return R(N);const le=this._parseResourceWithoutFragment(q);const pe=/\.mjs$/i.test(le.path)?"module":/\.cjs$/i.test(le.path)?"commonjs":ae.descriptionFileData===undefined?undefined:ae.descriptionFileData.type;const me={loader:le.path,type:pe,options:E.options===undefined?le.query?le.query.slice(1):undefined:E.options,ident:E.options===undefined?undefined:E.ident};return R(null,me)}))}),N)}getParser(k,v=Ye){let E=this.parserCache.get(k);if(E===undefined){E=new WeakMap;this.parserCache.set(k,E)}let P=E.get(v);if(P===undefined){P=this.createParser(k,v);E.set(v,P)}return P}createParser(k,v={}){v=mergeGlobalOptions(this._globalParserOptions,k,v);const E=this.hooks.createParser.for(k).call(v);if(!E){throw new Error(`No parser registered for ${k}`)}this.hooks.parser.for(k).call(E,v);return E}getGenerator(k,v=Xe){let E=this.generatorCache.get(k);if(E===undefined){E=new WeakMap;this.generatorCache.set(k,E)}let P=E.get(v);if(P===undefined){P=this.createGenerator(k,v);E.set(v,P)}return P}createGenerator(k,v={}){v=mergeGlobalOptions(this._globalGeneratorOptions,k,v);const E=this.hooks.createGenerator.for(k).call(v);if(!E){throw new Error(`No generator registered for ${k}`)}this.hooks.generator.for(k).call(E,v);return E}getResolver(k,v){return this.resolverFactory.get(k,v)}}k.exports=NormalModuleFactory},35548:function(k,v,E){"use strict";const{join:P,dirname:R}=E(57825);class NormalModuleReplacementPlugin{constructor(k,v){this.resourceRegExp=k;this.newResource=v}apply(k){const v=this.resourceRegExp;const E=this.newResource;k.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",(L=>{L.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",(k=>{if(v.test(k.request)){if(typeof E==="function"){E(k)}else{k.request=E}}}));L.hooks.afterResolve.tap("NormalModuleReplacementPlugin",(L=>{const N=L.createData;if(v.test(N.resource)){if(typeof E==="function"){E(L)}else{const v=k.inputFileSystem;if(E.startsWith("/")||E.length>1&&E[1]===":"){N.resource=E}else{N.resource=P(v,R(v,N.resource),E)}}}}))}))}}k.exports=NormalModuleReplacementPlugin},99134:function(k,v){"use strict";v.STAGE_BASIC=-10;v.STAGE_DEFAULT=0;v.STAGE_ADVANCED=10},64593:function(k){"use strict";class OptionsApply{process(k,v){}}k.exports=OptionsApply},17381:function(k,v,E){"use strict";class Parser{parse(k,v){const P=E(60386);throw new P}}k.exports=Parser},93380:function(k,v,E){"use strict";const P=E(85992);class PrefetchPlugin{constructor(k,v){if(v){this.context=k;this.request=v}else{this.context=null;this.request=k}}apply(k){k.hooks.compilation.tap("PrefetchPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(P,v)}));k.hooks.make.tapAsync("PrefetchPlugin",((v,E)=>{v.addModuleChain(this.context||k.context,new P(this.request),(k=>{E(k)}))}))}}k.exports=PrefetchPlugin},6535:function(k,v,E){"use strict";const P=E(2170);const R=E(47575);const L=E(38224);const N=E(92198);const{contextify:q}=E(65315);const ae=N(E(53912),(()=>E(13689)),{name:"Progress Plugin",baseDataPath:"options"});const median3=(k,v,E)=>k+v+E-Math.max(k,v,E)-Math.min(k,v,E);const createDefaultHandler=(k,v)=>{const E=[];const defaultHandler=(P,R,...L)=>{if(k){if(P===0){E.length=0}const k=[R,...L];const N=k.map((k=>k.replace(/\d+\/\d+ /g,"")));const q=Date.now();const ae=Math.max(N.length,E.length);for(let k=ae;k>=0;k--){const P=k0){P=E[k-1].value+" > "+P}const N=`${" | ".repeat(k)}${L} ms ${P}`;const q=L;{if(q>1e4){v.error(N)}else if(q>1e3){v.warn(N)}else if(q>10){v.info(N)}else if(q>5){v.log(N)}else{v.debug(N)}}}if(P===undefined){E.length=k}else{R.value=P;R.time=q;E.length=k+1}}}else{E[k]={value:P,time:q}}}}v.status(`${Math.floor(P*100)}%`,R,...L);if(P===1||!R&&L.length===0)v.status()};return defaultHandler};const le=new WeakMap;class ProgressPlugin{static getReporter(k){return le.get(k)}constructor(k={}){if(typeof k==="function"){k={handler:k}}ae(k);k={...ProgressPlugin.defaultOptions,...k};this.profile=k.profile;this.handler=k.handler;this.modulesCount=k.modulesCount;this.dependenciesCount=k.dependenciesCount;this.showEntries=k.entries;this.showModules=k.modules;this.showDependencies=k.dependencies;this.showActiveModules=k.activeModules;this.percentBy=k.percentBy}apply(k){const v=this.handler||createDefaultHandler(this.profile,k.getInfrastructureLogger("webpack.Progress"));if(k instanceof R){this._applyOnMultiCompiler(k,v)}else if(k instanceof P){this._applyOnCompiler(k,v)}}_applyOnMultiCompiler(k,v){const E=k.compilers.map((()=>[0]));k.compilers.forEach(((k,P)=>{new ProgressPlugin(((k,R,...L)=>{E[P]=[k,R,...L];let N=0;for(const[k]of E)N+=k;v(N/E.length,`[${P}] ${R}`,...L)})).apply(k)}))}_applyOnCompiler(k,v){const E=this.showEntries;const P=this.showModules;const R=this.showDependencies;const L=this.showActiveModules;let N="";let ae="";let pe=0;let me=0;let ye=0;let _e=0;let Ie=0;let Me=1;let Te=0;let je=0;let Ne=0;const Be=new Set;let qe=0;const updateThrottled=()=>{if(qe+500{const le=[];const Ue=Te/Math.max(pe||this.modulesCount||1,_e);const Ge=Ne/Math.max(ye||this.dependenciesCount||1,Me);const He=je/Math.max(me||1,Ie);let We;switch(this.percentBy){case"entries":We=Ge;break;case"dependencies":We=He;break;case"modules":We=Ue;break;default:We=median3(Ue,Ge,He)}const Qe=.1+We*.55;if(ae){le.push(`import loader ${q(k.context,ae,k.root)}`)}else{const k=[];if(E){k.push(`${Ne}/${Me} entries`)}if(R){k.push(`${je}/${Ie} dependencies`)}if(P){k.push(`${Te}/${_e} modules`)}if(L){k.push(`${Be.size} active`)}if(k.length>0){le.push(k.join(" "))}if(L){le.push(N)}}v(Qe,"building",...le);qe=Date.now()};const factorizeAdd=()=>{Ie++;if(Ie<50||Ie%100===0)updateThrottled()};const factorizeDone=()=>{je++;if(je<50||je%100===0)updateThrottled()};const moduleAdd=()=>{_e++;if(_e<50||_e%100===0)updateThrottled()};const moduleBuild=k=>{const v=k.identifier();if(v){Be.add(v);N=v;update()}};const entryAdd=(k,v)=>{Me++;if(Me<5||Me%10===0)updateThrottled()};const moduleDone=k=>{Te++;if(L){const v=k.identifier();if(v){Be.delete(v);if(N===v){N="";for(const k of Be){N=k}update();return}}}if(Te<50||Te%100===0)updateThrottled()};const entryDone=(k,v)=>{Ne++;update()};const Ue=k.getCache("ProgressPlugin").getItemCache("counts",null);let Ge;k.hooks.beforeCompile.tap("ProgressPlugin",(()=>{if(!Ge){Ge=Ue.getPromise().then((k=>{if(k){pe=pe||k.modulesCount;me=me||k.dependenciesCount}return k}),(k=>{}))}}));k.hooks.afterCompile.tapPromise("ProgressPlugin",(k=>{if(k.compiler.isChild())return Promise.resolve();return Ge.then((async k=>{if(!k||k.modulesCount!==_e||k.dependenciesCount!==Ie){await Ue.storePromise({modulesCount:_e,dependenciesCount:Ie})}}))}));k.hooks.compilation.tap("ProgressPlugin",(E=>{if(E.compiler.isChild())return;pe=_e;ye=Me;me=Ie;_e=Ie=Me=0;Te=je=Ne=0;E.factorizeQueue.hooks.added.tap("ProgressPlugin",factorizeAdd);E.factorizeQueue.hooks.result.tap("ProgressPlugin",factorizeDone);E.addModuleQueue.hooks.added.tap("ProgressPlugin",moduleAdd);E.processDependenciesQueue.hooks.result.tap("ProgressPlugin",moduleDone);if(L){E.hooks.buildModule.tap("ProgressPlugin",moduleBuild)}E.hooks.addEntry.tap("ProgressPlugin",entryAdd);E.hooks.failedEntry.tap("ProgressPlugin",entryDone);E.hooks.succeedEntry.tap("ProgressPlugin",entryDone);if(false){}const P={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 R=Object.keys(P).length;Object.keys(P).forEach(((L,N)=>{const q=P[L];const ae=N/R*.25+.7;E.hooks[L].intercept({name:"ProgressPlugin",call(){v(ae,"sealing",q)},done(){le.set(k,undefined);v(ae,"sealing",q)},result(){v(ae,"sealing",q)},error(){v(ae,"sealing",q)},tap(k){le.set(E.compiler,((E,...P)=>{v(ae,"sealing",q,k.name,...P)}));v(ae,"sealing",q,k.name)}})}))}));k.hooks.make.intercept({name:"ProgressPlugin",call(){v(.1,"building")},done(){v(.65,"building")}});const interceptHook=(E,P,R,L)=>{E.intercept({name:"ProgressPlugin",call(){v(P,R,L)},done(){le.set(k,undefined);v(P,R,L)},result(){v(P,R,L)},error(){v(P,R,L)},tap(E){le.set(k,((k,...N)=>{v(P,R,L,E.name,...N)}));v(P,R,L,E.name)}})};k.cache.hooks.endIdle.intercept({name:"ProgressPlugin",call(){v(0,"")}});interceptHook(k.cache.hooks.endIdle,.01,"cache","end idle");k.hooks.beforeRun.intercept({name:"ProgressPlugin",call(){v(0,"")}});interceptHook(k.hooks.beforeRun,.01,"setup","before run");interceptHook(k.hooks.run,.02,"setup","run");interceptHook(k.hooks.watchRun,.03,"setup","watch run");interceptHook(k.hooks.normalModuleFactory,.04,"setup","normal module factory");interceptHook(k.hooks.contextModuleFactory,.05,"setup","context module factory");interceptHook(k.hooks.beforeCompile,.06,"setup","before compile");interceptHook(k.hooks.compile,.07,"setup","compile");interceptHook(k.hooks.thisCompilation,.08,"setup","compilation");interceptHook(k.hooks.compilation,.09,"setup","compilation");interceptHook(k.hooks.finishMake,.69,"building","finish");interceptHook(k.hooks.emit,.95,"emitting","emit");interceptHook(k.hooks.afterEmit,.98,"emitting","after emit");interceptHook(k.hooks.done,.99,"done","plugins");k.hooks.done.intercept({name:"ProgressPlugin",done(){v(.99,"")}});interceptHook(k.cache.hooks.storeBuildDependencies,.99,"cache","store build dependencies");interceptHook(k.cache.hooks.shutdown,.99,"cache","shutdown");interceptHook(k.cache.hooks.beginIdle,.99,"cache","begin idle");interceptHook(k.hooks.watchClose,.99,"end","closing watch compilation");k.cache.hooks.beginIdle.intercept({name:"ProgressPlugin",done(){v(1,"")}});k.cache.hooks.shutdown.intercept({name:"ProgressPlugin",done(){v(1,"")}})}}ProgressPlugin.defaultOptions={profile:false,modulesCount:5e3,dependenciesCount:1e4,modules:true,dependencies:true,activeModules:false,entries:true};ProgressPlugin.createDefaultHandler=createDefaultHandler;k.exports=ProgressPlugin},73238:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(60381);const q=E(17779);const{approve:ae}=E(80784);const le="ProvidePlugin";class ProvidePlugin{constructor(k){this.definitions=k}apply(k){const v=this.definitions;k.hooks.compilation.tap(le,((k,{normalModuleFactory:E})=>{k.dependencyTemplates.set(N,new N.Template);k.dependencyFactories.set(q,E);k.dependencyTemplates.set(q,new q.Template);const handler=(k,E)=>{Object.keys(v).forEach((E=>{const P=[].concat(v[E]);const R=E.split(".");if(R.length>0){R.slice(1).forEach(((v,E)=>{const P=R.slice(0,E+1).join(".");k.hooks.canRename.for(P).tap(le,ae)}))}k.hooks.expression.for(E).tap(le,(v=>{const R=E.includes(".")?`__webpack_provided_${E.replace(/\./g,"_dot_")}`:E;const L=new q(P[0],R,P.slice(1),v.range);L.loc=v.loc;k.state.module.addDependency(L);return true}));k.hooks.call.for(E).tap(le,(v=>{const R=E.includes(".")?`__webpack_provided_${E.replace(/\./g,"_dot_")}`:E;const L=new q(P[0],R,P.slice(1),v.callee.range);L.loc=v.callee.loc;k.state.module.addDependency(L);k.walkExpressions(v.arguments);return true}))}))};E.hooks.parser.for(P).tap(le,handler);E.hooks.parser.for(R).tap(le,handler);E.hooks.parser.for(L).tap(le,handler)}))}}k.exports=ProvidePlugin},91169:function(k,v,E){"use strict";const{OriginalSource:P,RawSource:R}=E(51255);const L=E(88396);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:N}=E(93622);const q=E(58528);const ae=new Set(["javascript"]);class RawModule extends L{constructor(k,v,E,P){super(N,null);this.sourceStr=k;this.identifierStr=v||this.sourceStr;this.readableIdentifierStr=E||this.identifierStr;this.runtimeRequirements=P||null}getSourceTypes(){return ae}identifier(){return this.identifierStr}size(k){return Math.max(1,this.sourceStr.length)}readableIdentifier(k){return k.shorten(this.readableIdentifierStr)}needBuild(k,v){return v(null,!this.buildMeta)}build(k,v,E,P,R){this.buildMeta={};this.buildInfo={cacheable:true};R()}codeGeneration(k){const v=new Map;if(this.useSourceMap||this.useSimpleSourceMap){v.set("javascript",new P(this.sourceStr,this.identifier()))}else{v.set("javascript",new R(this.sourceStr))}return{sources:v,runtimeRequirements:this.runtimeRequirements}}updateHash(k,v){k.update(this.sourceStr);super.updateHash(k,v)}serialize(k){const{write:v}=k;v(this.sourceStr);v(this.identifierStr);v(this.readableIdentifierStr);v(this.runtimeRequirements);super.serialize(k)}deserialize(k){const{read:v}=k;this.sourceStr=v();this.identifierStr=v();this.readableIdentifierStr=v();this.runtimeRequirements=v();super.deserialize(k)}}q(RawModule,"webpack/lib/RawModule");k.exports=RawModule},3437:function(k,v,E){"use strict";const{compareNumbers:P}=E(95648);const R=E(65315);class RecordIdsPlugin{constructor(k){this.options=k||{}}apply(k){const v=this.options.portableIds;const E=R.makePathsRelative.bindContextCache(k.context,k.root);const getModuleIdentifier=k=>{if(v){return E(k.identifier())}return k.identifier()};k.hooks.compilation.tap("RecordIdsPlugin",(k=>{k.hooks.recordModules.tap("RecordIdsPlugin",((v,E)=>{const R=k.chunkGraph;if(!E.modules)E.modules={};if(!E.modules.byIdentifier)E.modules.byIdentifier={};const L=new Set;for(const k of v){const v=R.getModuleId(k);if(typeof v!=="number")continue;const P=getModuleIdentifier(k);E.modules.byIdentifier[P]=v;L.add(v)}E.modules.usedIds=Array.from(L).sort(P)}));k.hooks.reviveModules.tap("RecordIdsPlugin",((v,E)=>{if(!E.modules)return;if(E.modules.byIdentifier){const P=k.chunkGraph;const R=new Set;for(const k of v){const v=P.getModuleId(k);if(v!==null)continue;const L=getModuleIdentifier(k);const N=E.modules.byIdentifier[L];if(N===undefined)continue;if(R.has(N))continue;R.add(N);P.setModuleId(k,N)}}if(Array.isArray(E.modules.usedIds)){k.usedModuleIds=new Set(E.modules.usedIds)}}));const getChunkSources=k=>{const v=[];for(const E of k.groupsIterable){const P=E.chunks.indexOf(k);if(E.name){v.push(`${P} ${E.name}`)}else{for(const k of E.origins){if(k.module){if(k.request){v.push(`${P} ${getModuleIdentifier(k.module)} ${k.request}`)}else if(typeof k.loc==="string"){v.push(`${P} ${getModuleIdentifier(k.module)} ${k.loc}`)}else if(k.loc&&typeof k.loc==="object"&&"start"in k.loc){v.push(`${P} ${getModuleIdentifier(k.module)} ${JSON.stringify(k.loc.start)}`)}}}}}return v};k.hooks.recordChunks.tap("RecordIdsPlugin",((k,v)=>{if(!v.chunks)v.chunks={};if(!v.chunks.byName)v.chunks.byName={};if(!v.chunks.bySource)v.chunks.bySource={};const E=new Set;for(const P of k){if(typeof P.id!=="number")continue;const k=P.name;if(k)v.chunks.byName[k]=P.id;const R=getChunkSources(P);for(const k of R){v.chunks.bySource[k]=P.id}E.add(P.id)}v.chunks.usedIds=Array.from(E).sort(P)}));k.hooks.reviveChunks.tap("RecordIdsPlugin",((v,E)=>{if(!E.chunks)return;const P=new Set;if(E.chunks.byName){for(const k of v){if(k.id!==null)continue;if(!k.name)continue;const v=E.chunks.byName[k.name];if(v===undefined)continue;if(P.has(v))continue;P.add(v);k.id=v;k.ids=[v]}}if(E.chunks.bySource){for(const k of v){if(k.id!==null)continue;const v=getChunkSources(k);for(const R of v){const v=E.chunks.bySource[R];if(v===undefined)continue;if(P.has(v))continue;P.add(v);k.id=v;k.ids=[v];break}}}if(Array.isArray(E.chunks.usedIds)){k.usedChunkIds=new Set(E.chunks.usedIds)}}))}))}}k.exports=RecordIdsPlugin},91227:function(k,v,E){"use strict";const{contextify:P}=E(65315);class RequestShortener{constructor(k,v){this.contextify=P.bindContextCache(k,v)}shorten(k){if(!k){return k}return this.contextify(k)}}k.exports=RequestShortener},97679:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R}=E(93622);const L=E(56727);const N=E(60381);const{toConstantDependency:q}=E(80784);const ae="RequireJsStuffPlugin";k.exports=class RequireJsStuffPlugin{apply(k){k.hooks.compilation.tap(ae,((k,{normalModuleFactory:v})=>{k.dependencyTemplates.set(N,new N.Template);const handler=(k,v)=>{if(v.requireJs===undefined||!v.requireJs){return}k.hooks.call.for("require.config").tap(ae,q(k,"undefined"));k.hooks.call.for("requirejs.config").tap(ae,q(k,"undefined"));k.hooks.expression.for("require.version").tap(ae,q(k,JSON.stringify("0.0.0")));k.hooks.expression.for("requirejs.onError").tap(ae,q(k,L.uncaughtErrorHandler,[L.uncaughtErrorHandler]))};v.hooks.parser.for(P).tap(ae,handler);v.hooks.parser.for(R).tap(ae,handler)}))}}},51660:function(k,v,E){"use strict";const P=E(90006).ResolverFactory;const{HookMap:R,SyncHook:L,SyncWaterfallHook:N}=E(79846);const{cachedCleverMerge:q,removeOperations:ae,resolveByProperty:le}=E(99454);const pe={};const convertToResolveOptions=k=>{const{dependencyType:v,plugins:E,...P}=k;const R={...P,plugins:E&&E.filter((k=>k!=="..."))};if(!R.fileSystem){throw new Error("fileSystem is missing in resolveOptions, but it's required for enhanced-resolve")}const L=R;return ae(le(L,"byDependency",v))};k.exports=class ResolverFactory{constructor(){this.hooks=Object.freeze({resolveOptions:new R((()=>new N(["resolveOptions"]))),resolver:new R((()=>new L(["resolver","resolveOptions","userResolveOptions"])))});this.cache=new Map}get(k,v=pe){let E=this.cache.get(k);if(!E){E={direct:new WeakMap,stringified:new Map};this.cache.set(k,E)}const P=E.direct.get(v);if(P){return P}const R=JSON.stringify(v);const L=E.stringified.get(R);if(L){E.direct.set(v,L);return L}const N=this._create(k,v);E.direct.set(v,N);E.stringified.set(R,N);return N}_create(k,v){const E={...v};const R=convertToResolveOptions(this.hooks.resolveOptions.for(k).call(v));const L=P.createResolver(R);if(!L){throw new Error("No resolver created")}const N=new WeakMap;L.withOptions=v=>{const P=N.get(v);if(P!==undefined)return P;const R=q(E,v);const L=this.get(k,R);N.set(v,L);return L};this.hooks.resolver.for(k).call(L,R,E);return L}}},56727:function(k,v){"use strict";v.require="__webpack_require__";v.requireScope="__webpack_require__.*";v.exports="__webpack_exports__";v.thisAsExports="top-level-this-exports";v.returnExportsFromRuntime="return-exports-from-runtime";v.module="module";v.moduleId="module.id";v.moduleLoaded="module.loaded";v.publicPath="__webpack_require__.p";v.entryModuleId="__webpack_require__.s";v.moduleCache="__webpack_require__.c";v.moduleFactories="__webpack_require__.m";v.moduleFactoriesAddOnly="__webpack_require__.m (add only)";v.ensureChunk="__webpack_require__.e";v.ensureChunkHandlers="__webpack_require__.f";v.ensureChunkIncludeEntries="__webpack_require__.f (include entries)";v.prefetchChunk="__webpack_require__.E";v.prefetchChunkHandlers="__webpack_require__.F";v.preloadChunk="__webpack_require__.G";v.preloadChunkHandlers="__webpack_require__.H";v.definePropertyGetters="__webpack_require__.d";v.makeNamespaceObject="__webpack_require__.r";v.createFakeNamespaceObject="__webpack_require__.t";v.compatGetDefaultExport="__webpack_require__.n";v.harmonyModuleDecorator="__webpack_require__.hmd";v.nodeModuleDecorator="__webpack_require__.nmd";v.getFullHash="__webpack_require__.h";v.wasmInstances="__webpack_require__.w";v.instantiateWasm="__webpack_require__.v";v.uncaughtErrorHandler="__webpack_require__.oe";v.scriptNonce="__webpack_require__.nc";v.loadScript="__webpack_require__.l";v.createScript="__webpack_require__.ts";v.createScriptUrl="__webpack_require__.tu";v.getTrustedTypesPolicy="__webpack_require__.tt";v.chunkName="__webpack_require__.cn";v.runtimeId="__webpack_require__.j";v.getChunkScriptFilename="__webpack_require__.u";v.getChunkCssFilename="__webpack_require__.k";v.hasCssModules="has css modules";v.getChunkUpdateScriptFilename="__webpack_require__.hu";v.getChunkUpdateCssFilename="__webpack_require__.hk";v.startup="__webpack_require__.x";v.startupNoDefault="__webpack_require__.x (no default handler)";v.startupOnlyAfter="__webpack_require__.x (only after)";v.startupOnlyBefore="__webpack_require__.x (only before)";v.chunkCallback="webpackChunk";v.startupEntrypoint="__webpack_require__.X";v.onChunksLoaded="__webpack_require__.O";v.externalInstallChunk="__webpack_require__.C";v.interceptModuleExecution="__webpack_require__.i";v.global="__webpack_require__.g";v.shareScopeMap="__webpack_require__.S";v.initializeSharing="__webpack_require__.I";v.currentRemoteGetScope="__webpack_require__.R";v.getUpdateManifestFilename="__webpack_require__.hmrF";v.hmrDownloadManifest="__webpack_require__.hmrM";v.hmrDownloadUpdateHandlers="__webpack_require__.hmrC";v.hmrModuleData="__webpack_require__.hmrD";v.hmrInvalidateModuleHandlers="__webpack_require__.hmrI";v.hmrRuntimeStatePrefix="__webpack_require__.hmrS";v.amdDefine="__webpack_require__.amdD";v.amdOptions="__webpack_require__.amdO";v.system="__webpack_require__.System";v.hasOwnProperty="__webpack_require__.o";v.systemContext="__webpack_require__.y";v.baseURI="__webpack_require__.b";v.relativeUrl="__webpack_require__.U";v.asyncModule="__webpack_require__.a"},27462:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(51255).OriginalSource;const L=E(88396);const{WEBPACK_MODULE_TYPE_RUNTIME:N}=E(93622);const q=new Set([N]);class RuntimeModule extends L{constructor(k,v=0){super(N);this.name=k;this.stage=v;this.buildMeta={};this.buildInfo={};this.compilation=undefined;this.chunk=undefined;this.chunkGraph=undefined;this.fullHash=false;this.dependentHash=false;this._cachedGeneratedCode=undefined}attach(k,v,E=k.chunkGraph){this.compilation=k;this.chunk=v;this.chunkGraph=E}identifier(){return`webpack/runtime/${this.name}`}readableIdentifier(k){return`webpack/runtime/${this.name}`}needBuild(k,v){return v(null,false)}build(k,v,E,P,R){R()}updateHash(k,v){k.update(this.name);k.update(`${this.stage}`);try{if(this.fullHash||this.dependentHash){k.update(this.generate())}else{k.update(this.getGeneratedCode())}}catch(v){k.update(v.message)}super.updateHash(k,v)}getSourceTypes(){return q}codeGeneration(k){const v=new Map;const E=this.getGeneratedCode();if(E){v.set(N,this.useSourceMap||this.useSimpleSourceMap?new R(E,this.identifier()):new P(E))}return{sources:v,runtimeRequirements:null}}size(k){try{const k=this.getGeneratedCode();return k?k.length:0}catch(k){return 0}}generate(){const k=E(60386);throw new k}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;k.exports=RuntimeModule},10734:function(k,v,E){"use strict";const P=E(56727);const{getChunkFilenameTemplate:R}=E(76395);const L=E(84985);const N=E(89168);const q=E(43120);const ae=E(30982);const le=E(95308);const pe=E(75916);const me=E(9518);const ye=E(23466);const _e=E(39358);const Ie=E(16797);const Me=E(71662);const Te=E(33442);const je=E(10582);const Ne=E(21794);const Be=E(66537);const qe=E(75013);const Ue=E(43840);const Ge=E(42159);const He=E(22016);const We=E(17800);const Qe=E(10887);const Je=E(67415);const Ve=E(96272);const Ke=E(8062);const Ye=E(34108);const Xe=E(6717);const Ze=E(96181);const et=[P.chunkName,P.runtimeId,P.compatGetDefaultExport,P.createFakeNamespaceObject,P.createScript,P.createScriptUrl,P.getTrustedTypesPolicy,P.definePropertyGetters,P.ensureChunk,P.entryModuleId,P.getFullHash,P.global,P.makeNamespaceObject,P.moduleCache,P.moduleFactories,P.moduleFactoriesAddOnly,P.interceptModuleExecution,P.publicPath,P.baseURI,P.relativeUrl,P.scriptNonce,P.uncaughtErrorHandler,P.asyncModule,P.wasmInstances,P.instantiateWasm,P.shareScopeMap,P.initializeSharing,P.loadScript,P.systemContext,P.onChunksLoaded];const tt={[P.moduleLoaded]:[P.module],[P.moduleId]:[P.module]};const nt={[P.definePropertyGetters]:[P.hasOwnProperty],[P.compatGetDefaultExport]:[P.definePropertyGetters],[P.createFakeNamespaceObject]:[P.definePropertyGetters,P.makeNamespaceObject,P.require],[P.initializeSharing]:[P.shareScopeMap],[P.shareScopeMap]:[P.hasOwnProperty]};class RuntimePlugin{apply(k){k.hooks.compilation.tap("RuntimePlugin",(k=>{const v=k.outputOptions.chunkLoading;const isChunkLoadingDisabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.chunkLoading!==undefined?E.chunkLoading:v;return P===false};k.dependencyTemplates.set(L,new L.Template);for(const v of et){k.hooks.runtimeRequirementInModule.for(v).tap("RuntimePlugin",((k,v)=>{v.add(P.requireScope)}));k.hooks.runtimeRequirementInTree.for(v).tap("RuntimePlugin",((k,v)=>{v.add(P.requireScope)}))}for(const v of Object.keys(nt)){const E=nt[v];k.hooks.runtimeRequirementInTree.for(v).tap("RuntimePlugin",((k,v)=>{for(const k of E)v.add(k)}))}for(const v of Object.keys(tt)){const E=tt[v];k.hooks.runtimeRequirementInModule.for(v).tap("RuntimePlugin",((k,v)=>{for(const k of E)v.add(k)}))}k.hooks.runtimeRequirementInTree.for(P.definePropertyGetters).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new Me);return true}));k.hooks.runtimeRequirementInTree.for(P.makeNamespaceObject).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new He);return true}));k.hooks.runtimeRequirementInTree.for(P.createFakeNamespaceObject).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new ye);return true}));k.hooks.runtimeRequirementInTree.for(P.hasOwnProperty).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new Ue);return true}));k.hooks.runtimeRequirementInTree.for(P.compatGetDefaultExport).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new pe);return true}));k.hooks.runtimeRequirementInTree.for(P.runtimeId).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new Ke);return true}));k.hooks.runtimeRequirementInTree.for(P.publicPath).tap("RuntimePlugin",((v,E)=>{const{outputOptions:R}=k;const{publicPath:L,scriptType:N}=R;const q=v.getEntryOptions();const le=q&&q.publicPath!==undefined?q.publicPath:L;if(le==="auto"){const R=new ae;if(N!=="module")E.add(P.global);k.addRuntimeModule(v,R)}else{const E=new Je(le);if(typeof le!=="string"||/\[(full)?hash\]/.test(le)){E.fullHash=true}k.addRuntimeModule(v,E)}return true}));k.hooks.runtimeRequirementInTree.for(P.global).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new qe);return true}));k.hooks.runtimeRequirementInTree.for(P.asyncModule).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new q);return true}));k.hooks.runtimeRequirementInTree.for(P.systemContext).tap("RuntimePlugin",(v=>{const{outputOptions:E}=k;const{library:P}=E;const R=v.getEntryOptions();const L=R&&R.library!==undefined?R.library.type:P.type;if(L==="system"){k.addRuntimeModule(v,new Ye)}return true}));k.hooks.runtimeRequirementInTree.for(P.getChunkScriptFilename).tap("RuntimePlugin",((v,E)=>{if(typeof k.outputOptions.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(k.outputOptions.chunkFilename)){E.add(P.getFullHash)}k.addRuntimeModule(v,new je("javascript","javascript",P.getChunkScriptFilename,(v=>v.filenameTemplate||(v.canBeInitial()?k.outputOptions.filename:k.outputOptions.chunkFilename)),false));return true}));k.hooks.runtimeRequirementInTree.for(P.getChunkCssFilename).tap("RuntimePlugin",((v,E)=>{if(typeof k.outputOptions.cssChunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(k.outputOptions.cssChunkFilename)){E.add(P.getFullHash)}k.addRuntimeModule(v,new je("css","css",P.getChunkCssFilename,(v=>R(v,k.outputOptions)),E.has(P.hmrDownloadUpdateHandlers)));return true}));k.hooks.runtimeRequirementInTree.for(P.getChunkUpdateScriptFilename).tap("RuntimePlugin",((v,E)=>{if(/\[(full)?hash(:\d+)?\]/.test(k.outputOptions.hotUpdateChunkFilename))E.add(P.getFullHash);k.addRuntimeModule(v,new je("javascript","javascript update",P.getChunkUpdateScriptFilename,(v=>k.outputOptions.hotUpdateChunkFilename),true));return true}));k.hooks.runtimeRequirementInTree.for(P.getUpdateManifestFilename).tap("RuntimePlugin",((v,E)=>{if(/\[(full)?hash(:\d+)?\]/.test(k.outputOptions.hotUpdateMainFilename)){E.add(P.getFullHash)}k.addRuntimeModule(v,new Ne("update manifest",P.getUpdateManifestFilename,k.outputOptions.hotUpdateMainFilename));return true}));k.hooks.runtimeRequirementInTree.for(P.ensureChunk).tap("RuntimePlugin",((v,E)=>{const R=v.hasAsyncChunks();if(R){E.add(P.ensureChunkHandlers)}k.addRuntimeModule(v,new Te(E));return true}));k.hooks.runtimeRequirementInTree.for(P.ensureChunkIncludeEntries).tap("RuntimePlugin",((k,v)=>{v.add(P.ensureChunkHandlers)}));k.hooks.runtimeRequirementInTree.for(P.shareScopeMap).tap("RuntimePlugin",((v,E)=>{k.addRuntimeModule(v,new Xe);return true}));k.hooks.runtimeRequirementInTree.for(P.loadScript).tap("RuntimePlugin",((v,E)=>{const R=!!k.outputOptions.trustedTypes;if(R){E.add(P.createScriptUrl)}k.addRuntimeModule(v,new Ge(R));return true}));k.hooks.runtimeRequirementInTree.for(P.createScript).tap("RuntimePlugin",((v,E)=>{if(k.outputOptions.trustedTypes){E.add(P.getTrustedTypesPolicy)}k.addRuntimeModule(v,new _e);return true}));k.hooks.runtimeRequirementInTree.for(P.createScriptUrl).tap("RuntimePlugin",((v,E)=>{if(k.outputOptions.trustedTypes){E.add(P.getTrustedTypesPolicy)}k.addRuntimeModule(v,new Ie);return true}));k.hooks.runtimeRequirementInTree.for(P.getTrustedTypesPolicy).tap("RuntimePlugin",((v,E)=>{k.addRuntimeModule(v,new Be(E));return true}));k.hooks.runtimeRequirementInTree.for(P.relativeUrl).tap("RuntimePlugin",((v,E)=>{k.addRuntimeModule(v,new Ve);return true}));k.hooks.runtimeRequirementInTree.for(P.onChunksLoaded).tap("RuntimePlugin",((v,E)=>{k.addRuntimeModule(v,new Qe);return true}));k.hooks.runtimeRequirementInTree.for(P.baseURI).tap("RuntimePlugin",(v=>{if(isChunkLoadingDisabledForChunk(v)){k.addRuntimeModule(v,new le);return true}}));k.hooks.runtimeRequirementInTree.for(P.scriptNonce).tap("RuntimePlugin",(v=>{k.addRuntimeModule(v,new We);return true}));k.hooks.additionalTreeRuntimeRequirements.tap("RuntimePlugin",((v,E)=>{const{mainTemplate:P}=k;if(P.hooks.bootstrap.isUsed()||P.hooks.localVars.isUsed()||P.hooks.requireEnsure.isUsed()||P.hooks.requireExtensions.isUsed()){k.addRuntimeModule(v,new me)}}));N.getCompilationHooks(k).chunkHash.tap("RuntimePlugin",((k,v,{chunkGraph:E})=>{const P=new Ze;for(const v of E.getChunkRuntimeModulesIterable(k)){P.add(E.getModuleHash(v,k.runtime))}P.updateHash(v)}))}))}}k.exports=RuntimePlugin},89240:function(k,v,E){"use strict";const P=E(88113);const R=E(56727);const L=E(95041);const{equals:N}=E(68863);const q=E(21751);const ae=E(10720);const{forEachRuntime:le,subtractRuntime:pe}=E(1540);const noModuleIdErrorMessage=(k,v)=>`Module ${k.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${Array.from(v.getModuleChunksIterable(k),(k=>k.name||k.id||k.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(v.moduleGraph.getIncomingConnections(k),(k=>`\n - ${k.originModule&&k.originModule.identifier()} ${k.dependency&&k.dependency.type} ${k.explanations&&Array.from(k.explanations).join(", ")||""}`)).join("")}`;function getGlobalObject(k){if(!k)return k;const v=k.trim();if(v.match(/^[_\p{L}][_0-9\p{L}]*$/iu)||v.match(/^([_\p{L}][_0-9\p{L}]*)?\(.*\)$/iu))return v;return`Object(${v})`}class RuntimeTemplate{constructor(k,v,E){this.compilation=k;this.outputOptions=v||{};this.requestShortener=E;this.globalObject=getGlobalObject(v.globalObject);this.contentHashReplacement="X".repeat(v.hashDigestLength)}isIIFE(){return this.outputOptions.iife}isModule(){return this.outputOptions.module}supportsConst(){return this.outputOptions.environment.const}supportsArrowFunction(){return this.outputOptions.environment.arrowFunction}supportsOptionalChaining(){return this.outputOptions.environment.optionalChaining}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 this.outputOptions.environment.templateLiteral}returningFunction(k,v=""){return this.supportsArrowFunction()?`(${v}) => (${k})`:`function(${v}) { return ${k}; }`}basicFunction(k,v){return this.supportsArrowFunction()?`(${k}) => {\n${L.indent(v)}\n}`:`function(${k}) {\n${L.indent(v)}\n}`}concatenation(...k){const v=k.length;if(v===2)return this._es5Concatenation(k);if(v===0)return'""';if(v===1){return typeof k[0]==="string"?JSON.stringify(k[0]):`"" + ${k[0].expr}`}if(!this.supportTemplateLiteral())return this._es5Concatenation(k);let E=0;let P=0;let R=false;for(const v of k){const k=typeof v!=="string";if(k){E+=3;P+=R?1:4}R=k}if(R)P-=3;if(typeof k[0]!=="string"&&typeof k[1]==="string")P-=3;if(P<=E)return this._es5Concatenation(k);return`\`${k.map((k=>typeof k==="string"?k:`\${${k.expr}}`)).join("")}\``}_es5Concatenation(k){const v=k.map((k=>typeof k==="string"?JSON.stringify(k):k.expr)).join(" + ");return typeof k[0]!=="string"&&typeof k[1]!=="string"?`"" + ${v}`:v}expressionFunction(k,v=""){return this.supportsArrowFunction()?`(${v}) => (${k})`:`function(${v}) { ${k}; }`}emptyFunction(){return this.supportsArrowFunction()?"x => {}":"function() {}"}destructureArray(k,v){return this.supportsDestructuring()?`var [${k.join(", ")}] = ${v};`:L.asString(k.map(((k,E)=>`var ${k} = ${v}[${E}];`)))}destructureObject(k,v){return this.supportsDestructuring()?`var {${k.join(", ")}} = ${v};`:L.asString(k.map((k=>`var ${k} = ${v}${ae([k])};`)))}iife(k,v){return`(${this.basicFunction(k,v)})()`}forEach(k,v,E){return this.supportsForOf()?`for(const ${k} of ${v}) {\n${L.indent(E)}\n}`:`${v}.forEach(function(${k}) {\n${L.indent(E)}\n});`}comment({request:k,chunkName:v,chunkReason:E,message:P,exportName:R}){let N;if(this.outputOptions.pathinfo){N=[P,k,v,E].filter(Boolean).map((k=>this.requestShortener.shorten(k))).join(" | ")}else{N=[P,v,E].filter(Boolean).map((k=>this.requestShortener.shorten(k))).join(" | ")}if(!N)return"";if(this.outputOptions.pathinfo){return L.toComment(N)+" "}else{return L.toNormalComment(N)+" "}}throwMissingModuleErrorBlock({request:k}){const v=`Cannot find module '${k}'`;return`var e = new Error(${JSON.stringify(v)}); e.code = 'MODULE_NOT_FOUND'; throw e;`}throwMissingModuleErrorFunction({request:k}){return`function webpackMissingModule() { ${this.throwMissingModuleErrorBlock({request:k})} }`}missingModule({request:k}){return`Object(${this.throwMissingModuleErrorFunction({request:k})}())`}missingModuleStatement({request:k}){return`${this.missingModule({request:k})};\n`}missingModulePromise({request:k}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:k})})`}weakError({module:k,chunkGraph:v,request:E,idExpr:P,type:R}){const N=v.getModuleId(k);const q=N===null?JSON.stringify("Module is not available (weak dependency)"):P?`"Module '" + ${P} + "' is not available (weak dependency)"`:JSON.stringify(`Module '${N}' is not available (weak dependency)`);const ae=E?L.toNormalComment(E)+" ":"";const le=`var e = new Error(${q}); `+ae+"e.code = 'MODULE_NOT_FOUND'; throw e;";switch(R){case"statements":return le;case"promise":return`Promise.resolve().then(${this.basicFunction("",le)})`;case"expression":return this.iife("",le)}}moduleId({module:k,chunkGraph:v,request:E,weak:P}){if(!k){return this.missingModule({request:E})}const R=v.getModuleId(k);if(R===null){if(P){return"null /* weak dependency, without id */"}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(k,v)}`)}return`${this.comment({request:E})}${JSON.stringify(R)}`}moduleRaw({module:k,chunkGraph:v,request:E,weak:P,runtimeRequirements:L}){if(!k){return this.missingModule({request:E})}const N=v.getModuleId(k);if(N===null){if(P){return this.weakError({module:k,chunkGraph:v,request:E,type:"expression"})}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(k,v)}`)}L.add(R.require);return`${R.require}(${this.moduleId({module:k,chunkGraph:v,request:E,weak:P})})`}moduleExports({module:k,chunkGraph:v,request:E,weak:P,runtimeRequirements:R}){return this.moduleRaw({module:k,chunkGraph:v,request:E,weak:P,runtimeRequirements:R})}moduleNamespace({module:k,chunkGraph:v,request:E,strict:P,weak:L,runtimeRequirements:N}){if(!k){return this.missingModule({request:E})}if(v.getModuleId(k)===null){if(L){return this.weakError({module:k,chunkGraph:v,request:E,type:"expression"})}throw new Error(`RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage(k,v)}`)}const q=this.moduleId({module:k,chunkGraph:v,request:E,weak:L});const ae=k.getExportsType(v.moduleGraph,P);switch(ae){case"namespace":return this.moduleRaw({module:k,chunkGraph:v,request:E,weak:L,runtimeRequirements:N});case"default-with-named":N.add(R.createFakeNamespaceObject);return`${R.createFakeNamespaceObject}(${q}, 3)`;case"default-only":N.add(R.createFakeNamespaceObject);return`${R.createFakeNamespaceObject}(${q}, 1)`;case"dynamic":N.add(R.createFakeNamespaceObject);return`${R.createFakeNamespaceObject}(${q}, 7)`}}moduleNamespacePromise({chunkGraph:k,block:v,module:E,request:P,message:L,strict:N,weak:q,runtimeRequirements:ae}){if(!E){return this.missingModulePromise({request:P})}const le=k.getModuleId(E);if(le===null){if(q){return this.weakError({module:E,chunkGraph:k,request:P,type:"promise"})}throw new Error(`RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage(E,k)}`)}const pe=this.blockPromise({chunkGraph:k,block:v,message:L,runtimeRequirements:ae});let me;let ye=JSON.stringify(k.getModuleId(E));const _e=this.comment({request:P});let Ie="";if(q){if(ye.length>8){Ie+=`var id = ${ye}; `;ye="id"}ae.add(R.moduleFactories);Ie+=`if(!${R.moduleFactories}[${ye}]) { ${this.weakError({module:E,chunkGraph:k,request:P,idExpr:ye,type:"statements"})} } `}const Me=this.moduleId({module:E,chunkGraph:k,request:P,weak:q});const Te=E.getExportsType(k.moduleGraph,N);let je=16;switch(Te){case"namespace":if(Ie){const v=this.moduleRaw({module:E,chunkGraph:k,request:P,weak:q,runtimeRequirements:ae});me=`.then(${this.basicFunction("",`${Ie}return ${v};`)})`}else{ae.add(R.require);me=`.then(${R.require}.bind(${R.require}, ${_e}${ye}))`}break;case"dynamic":je|=4;case"default-with-named":je|=2;case"default-only":ae.add(R.createFakeNamespaceObject);if(k.moduleGraph.isAsync(E)){if(Ie){const v=this.moduleRaw({module:E,chunkGraph:k,request:P,weak:q,runtimeRequirements:ae});me=`.then(${this.basicFunction("",`${Ie}return ${v};`)})`}else{ae.add(R.require);me=`.then(${R.require}.bind(${R.require}, ${_e}${ye}))`}me+=`.then(${this.returningFunction(`${R.createFakeNamespaceObject}(m, ${je})`,"m")})`}else{je|=1;if(Ie){const k=`${R.createFakeNamespaceObject}(${Me}, ${je})`;me=`.then(${this.basicFunction("",`${Ie}return ${k};`)})`}else{me=`.then(${R.createFakeNamespaceObject}.bind(${R.require}, ${_e}${ye}, ${je}))`}}break}return`${pe||"Promise.resolve()"}${me}`}runtimeConditionExpression({chunkGraph:k,runtimeCondition:v,runtime:E,runtimeRequirements:P}){if(v===undefined)return"true";if(typeof v==="boolean")return`${v}`;const L=new Set;le(v,(v=>L.add(`${k.getRuntimeId(v)}`)));const N=new Set;le(pe(E,v),(v=>N.add(`${k.getRuntimeId(v)}`)));P.add(R.runtimeId);return q.fromLists(Array.from(L),Array.from(N))(R.runtimeId)}importStatement({update:k,module:v,chunkGraph:E,request:P,importVar:L,originModule:N,weak:q,runtimeRequirements:ae}){if(!v){return[this.missingModuleStatement({request:P}),""]}if(E.getModuleId(v)===null){if(q){return[this.weakError({module:v,chunkGraph:E,request:P,type:"statements"}),""]}throw new Error(`RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage(v,E)}`)}const le=this.moduleId({module:v,chunkGraph:E,request:P,weak:q});const pe=k?"":"var ";const me=v.getExportsType(E.moduleGraph,N.buildMeta.strictHarmonyModule);ae.add(R.require);const ye=`/* harmony import */ ${pe}${L} = ${R.require}(${le});\n`;if(me==="dynamic"){ae.add(R.compatGetDefaultExport);return[ye,`/* harmony import */ ${pe}${L}_default = /*#__PURE__*/${R.compatGetDefaultExport}(${L});\n`]}return[ye,""]}exportFromImport({moduleGraph:k,module:v,request:E,exportName:q,originModule:le,asiSafe:pe,isCall:me,callContext:ye,defaultInterop:_e,importVar:Ie,initFragments:Me,runtime:Te,runtimeRequirements:je}){if(!v){return this.missingModule({request:E})}if(!Array.isArray(q)){q=q?[q]:[]}const Ne=v.getExportsType(k,le.buildMeta.strictHarmonyModule);if(_e){if(q.length>0&&q[0]==="default"){switch(Ne){case"dynamic":if(me){return`${Ie}_default()${ae(q,1)}`}else{return pe?`(${Ie}_default()${ae(q,1)})`:pe===false?`;(${Ie}_default()${ae(q,1)})`:`${Ie}_default.a${ae(q,1)}`}case"default-only":case"default-with-named":q=q.slice(1);break}}else if(q.length>0){if(Ne==="default-only"){return"/* non-default import from non-esm module */undefined"+ae(q,1)}else if(Ne!=="namespace"&&q[0]==="__esModule"){return"/* __esModule */true"}}else if(Ne==="default-only"||Ne==="default-with-named"){je.add(R.createFakeNamespaceObject);Me.push(new P(`var ${Ie}_namespace_cache;\n`,P.STAGE_CONSTANTS,-1,`${Ie}_namespace_cache`));return`/*#__PURE__*/ ${pe?"":pe===false?";":"Object"}(${Ie}_namespace_cache || (${Ie}_namespace_cache = ${R.createFakeNamespaceObject}(${Ie}${Ne==="default-only"?"":", 2"})))`}}if(q.length>0){const E=k.getExportsInfo(v);const P=E.getUsedName(q,Te);if(!P){const k=L.toNormalComment(`unused export ${ae(q)}`);return`${k} undefined`}const R=N(P,q)?"":L.toNormalComment(ae(q))+" ";const le=`${Ie}${R}${ae(P)}`;if(me&&ye===false){return pe?`(0,${le})`:pe===false?`;(0,${le})`:`/*#__PURE__*/Object(${le})`}return le}else{return Ie}}blockPromise({block:k,message:v,chunkGraph:E,runtimeRequirements:P}){if(!k){const k=this.comment({message:v});return`Promise.resolve(${k.trim()})`}const L=E.getBlockChunkGroup(k);if(!L||L.chunks.length===0){const k=this.comment({message:v});return`Promise.resolve(${k.trim()})`}const N=L.chunks.filter((k=>!k.hasRuntime()&&k.id!==null));const q=this.comment({message:v,chunkName:k.chunkName});if(N.length===1){const k=JSON.stringify(N[0].id);P.add(R.ensureChunk);return`${R.ensureChunk}(${q}${k})`}else if(N.length>0){P.add(R.ensureChunk);const requireChunkId=k=>`${R.ensureChunk}(${JSON.stringify(k.id)})`;return`Promise.all(${q.trim()}[${N.map(requireChunkId).join(", ")}])`}else{return`Promise.resolve(${q.trim()})`}}asyncModuleFactory({block:k,chunkGraph:v,runtimeRequirements:E,request:P}){const R=k.dependencies[0];const L=v.moduleGraph.getModule(R);const N=this.blockPromise({block:k,message:"",chunkGraph:v,runtimeRequirements:E});const q=this.returningFunction(this.moduleRaw({module:L,chunkGraph:v,request:P,runtimeRequirements:E}));return this.returningFunction(N.startsWith("Promise.resolve(")?`${q}`:`${N}.then(${this.returningFunction(q)})`)}syncModuleFactory({dependency:k,chunkGraph:v,runtimeRequirements:E,request:P}){const R=v.moduleGraph.getModule(k);const L=this.returningFunction(this.moduleRaw({module:R,chunkGraph:v,request:P,runtimeRequirements:E}));return this.returningFunction(L)}defineEsModuleFlagStatement({exportsArgument:k,runtimeRequirements:v}){v.add(R.makeNamespaceObject);v.add(R.exports);return`${R.makeNamespaceObject}(${k});\n`}assetUrl({publicPath:k,runtime:v,module:E,codeGenerationResults:P}){if(!E){return"data:,"}const R=P.get(E,v);const{data:L}=R;const N=L.get("url");if(N)return N.toString();const q=L.get("filename");return k+q}}k.exports=RuntimeTemplate},15844:function(k){"use strict";class SelfModuleFactory{constructor(k){this.moduleGraph=k}create(k,v){const E=this.moduleGraph.getParentModule(k.dependencies[0]);v(null,{module:E})}}k.exports=SelfModuleFactory},48640:function(k,v,E){"use strict";k.exports=E(17570)},3386:function(k,v){"use strict";v.formatSize=k=>{if(typeof k!=="number"||Number.isNaN(k)===true){return"unknown size"}if(k<=0){return"0 bytes"}const v=["bytes","KiB","MiB","GiB"];const E=Math.floor(Math.log(k)/Math.log(1024));return`${+(k/Math.pow(1024,E)).toPrecision(3)} ${v[E]}`}},10518:function(k,v,E){"use strict";const P=E(89168);class SourceMapDevToolModuleOptionsPlugin{constructor(k){this.options=k}apply(k){const v=this.options;if(v.module!==false){k.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(k=>{k.useSourceMap=true}));k.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(k=>{k.useSourceMap=true}))}else{k.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(k=>{k.useSimpleSourceMap=true}));k.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(k=>{k.useSimpleSourceMap=true}))}P.getCompilationHooks(k).useSourceMap.tap("SourceMapDevToolModuleOptionsPlugin",(()=>true))}}k.exports=SourceMapDevToolModuleOptionsPlugin},83814:function(k,v,E){"use strict";const P=E(78175);const{ConcatSource:R,RawSource:L}=E(51255);const N=E(27747);const q=E(98612);const ae=E(6535);const le=E(10518);const pe=E(92198);const me=E(74012);const{relative:ye,dirname:_e}=E(57825);const{makePathsAbsolute:Ie}=E(65315);const Me=pe(E(49623),(()=>E(45441)),{name:"SourceMap DevTool Plugin",baseDataPath:"options"});const Te=/[-[\]\\/{}()*+?.^$|]/g;const je=/\[contenthash(:\w+)?\]/;const Ne=/\.((c|m)?js|css)($|\?)/i;const Be=/\.css($|\?)/i;const qe=/\[map\]/g;const Ue=/\[url\]/g;const Ge=/^\n\/\/(.*)$/;const resetRegexpState=k=>{k.lastIndex=-1};const quoteMeta=k=>k.replace(Te,"\\$&");const getTaskForFile=(k,v,E,P,R,L)=>{let N;let q;if(v.sourceAndMap){const k=v.sourceAndMap(P);q=k.map;N=k.source}else{q=v.map(P);N=v.source()}if(!q||typeof N!=="string")return;const ae=R.options.context;const le=R.compiler.root;const pe=Ie.bindContextCache(ae,le);const me=q.sources.map((k=>{if(!k.startsWith("webpack://"))return k;k=pe(k.slice(10));const v=R.findModule(k);return v||k}));return{file:k,asset:v,source:N,assetInfo:E,sourceMap:q,modules:me,cacheItem:L}};class SourceMapDevToolPlugin{constructor(k={}){Me(k);this.sourceMapFilename=k.filename;this.sourceMappingURLComment=k.append===false?false:k.append||"\n//# source"+"MappingURL=[url]";this.moduleFilenameTemplate=k.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=k.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=k.namespace||"";this.options=k}apply(k){const v=k.outputFileSystem;const E=this.sourceMapFilename;const pe=this.sourceMappingURLComment;const Ie=this.moduleFilenameTemplate;const Me=this.namespace;const Te=this.fallbackModuleFilenameTemplate;const He=k.requestShortener;const We=this.options;We.test=We.test||Ne;const Qe=q.matchObject.bind(undefined,We);k.hooks.compilation.tap("SourceMapDevToolPlugin",(k=>{new le(We).apply(k);k.hooks.processAssets.tapAsync({name:"SourceMapDevToolPlugin",stage:N.PROCESS_ASSETS_STAGE_DEV_TOOLING,additionalAssets:true},((N,le)=>{const Ne=k.chunkGraph;const Je=k.getCache("SourceMapDevToolPlugin");const Ve=new Map;const Ke=ae.getReporter(k.compiler)||(()=>{});const Ye=new Map;for(const v of k.chunks){for(const k of v.files){Ye.set(k,v)}for(const k of v.auxiliaryFiles){Ye.set(k,v)}}const Xe=[];for(const k of Object.keys(N)){if(Qe(k)){Xe.push(k)}}Ke(0);const Ze=[];let et=0;P.each(Xe,((v,E)=>{const P=k.getAsset(v);if(P.info.related&&P.info.related.sourceMap){et++;return E()}const R=Je.getItemCache(v,Je.mergeEtags(Je.getLazyHashedEtag(P.source),Me));R.get(((L,N)=>{if(L){return E(L)}if(N){const{assets:P,assetsInfo:R}=N;for(const E of Object.keys(P)){if(E===v){k.updateAsset(E,P[E],R[E])}else{k.emitAsset(E,P[E],R[E])}if(E!==v){const k=Ye.get(v);if(k!==undefined)k.auxiliaryFiles.add(E)}}Ke(.5*++et/Xe.length,v,"restored cached SourceMap");return E()}Ke(.5*et/Xe.length,v,"generate SourceMap");const ae=getTaskForFile(v,P.source,P.info,{module:We.module,columns:We.columns},k,R);if(ae){const v=ae.modules;for(let E=0;E{if(N){return le(N)}Ke(.5,"resolve sources");const ae=new Set(Ve.values());const Ie=new Set;const Qe=Array.from(Ve.keys()).sort(((k,v)=>{const E=typeof k==="string"?k:k.identifier();const P=typeof v==="string"?v:v.identifier();return E.length-P.length}));for(let v=0;v{const q=Object.create(null);const ae=Object.create(null);const le=P.file;const Ie=Ye.get(le);const Me=P.sourceMap;const Te=P.source;const Ne=P.modules;Ke(.5+.5*Je/Ze.length,le,"attach SourceMap");const He=Ne.map((k=>Ve.get(k)));Me.sources=He;if(We.noSources){Me.sourcesContent=undefined}Me.sourceRoot=We.sourceRoot||"";Me.file=le;const Qe=E&&je.test(E);resetRegexpState(je);if(Qe&&P.assetInfo.contenthash){const k=P.assetInfo.contenthash;let v;if(Array.isArray(k)){v=k.map(quoteMeta).join("|")}else{v=quoteMeta(k)}Me.file=Me.file.replace(new RegExp(v,"g"),(k=>"x".repeat(k.length)))}let Xe=pe;let et=Be.test(le);resetRegexpState(Be);if(Xe!==false&&typeof Xe!=="function"&&et){Xe=Xe.replace(Ge,"\n/*$1*/")}const tt=JSON.stringify(Me);if(E){let P=le;const N=Qe&&me(k.outputOptions.hashFunction).update(tt).digest("hex");const pe={chunk:Ie,filename:We.fileContext?ye(v,`/${We.fileContext}`,`/${P}`):P,contentHash:N};const{path:Me,info:je}=k.getPathWithInfo(E,pe);const Ne=We.publicPath?We.publicPath+Me:ye(v,_e(v,`/${le}`),`/${Me}`);let Be=new L(Te);if(Xe!==false){Be=new R(Be,k.getPath(Xe,Object.assign({url:Ne},pe)))}const qe={related:{sourceMap:Me}};q[le]=Be;ae[le]=qe;k.updateAsset(le,Be,qe);const Ue=new L(tt);const Ge={...je,development:true};q[Me]=Ue;ae[Me]=Ge;k.emitAsset(Me,Ue,Ge);if(Ie!==undefined)Ie.auxiliaryFiles.add(Me)}else{if(Xe===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}if(typeof Xe==="function"){throw new Error("SourceMapDevToolPlugin: append can't be a function when no filename is provided")}const v=new R(new L(Te),Xe.replace(qe,(()=>tt)).replace(Ue,(()=>`data:application/json;charset=utf-8;base64,${Buffer.from(tt,"utf-8").toString("base64")}`)));q[le]=v;ae[le]=undefined;k.updateAsset(le,v)}P.cacheItem.store({assets:q,assetsInfo:ae},(k=>{Ke(.5+.5*++Je/Ze.length,P.file,"attached SourceMap");if(k){return N(k)}N()}))}),(k=>{Ke(1);le(k)}))}))}))}))}}k.exports=SourceMapDevToolPlugin},26288:function(k){"use strict";class Stats{constructor(k){this.compilation=k}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((k=>k.getStats().hasWarnings()))}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some((k=>k.getStats().hasErrors()))}toJson(k){k=this.compilation.createStatsOptions(k,{forToString:false});const v=this.compilation.createStatsFactory(k);return v.create("compilation",this.compilation,{compilation:this.compilation})}toString(k){k=this.compilation.createStatsOptions(k,{forToString:true});const v=this.compilation.createStatsFactory(k);const E=this.compilation.createStatsPrinter(k);const P=v.create("compilation",this.compilation,{compilation:this.compilation});const R=E.print("compilation",P);return R===undefined?"":R}}k.exports=Stats},95041:function(k,v,E){"use strict";const{ConcatSource:P,PrefixSource:R}=E(51255);const{WEBPACK_MODULE_TYPE_RUNTIME:L}=E(93622);const N=E(56727);const q="a".charCodeAt(0);const ae="A".charCodeAt(0);const le="z".charCodeAt(0)-q+1;const pe=le*2+2;const me=pe+10;const ye=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const _e=/^\t/gm;const Ie=/\r?\n/g;const Me=/^([^a-zA-Z$_])/;const Te=/[^a-zA-Z0-9$]+/g;const je=/\*\//g;const Ne=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const Be=/^-|-$/g;class Template{static getFunctionContent(k){return k.toString().replace(ye,"").replace(_e,"").replace(Ie,"\n")}static toIdentifier(k){if(typeof k!=="string")return"";return k.replace(Me,"_$1").replace(Te,"_")}static toComment(k){if(!k)return"";return`/*! ${k.replace(je,"* /")} */`}static toNormalComment(k){if(!k)return"";return`/* ${k.replace(je,"* /")} */`}static toPath(k){if(typeof k!=="string")return"";return k.replace(Ne,"-").replace(Be,"")}static numberToIdentifier(k){if(k>=pe){return Template.numberToIdentifier(k%pe)+Template.numberToIdentifierContinuation(Math.floor(k/pe))}if(k=me){return Template.numberToIdentifierContinuation(k%me)+Template.numberToIdentifierContinuation(Math.floor(k/me))}if(kk)E=k}if(E<16+(""+E).length){E=0}let P=-1;for(const v of k){P+=`${v.id}`.length+2}const R=E===0?v:16+`${E}`.length+v;return R({id:L.getModuleId(k),source:E(k)||"false"})));const ae=Template.getModulesArrayBounds(q);if(ae){const k=ae[0];const v=ae[1];if(k!==0){N.add(`Array(${k}).concat(`)}N.add("[\n");const E=new Map;for(const k of q){E.set(k.id,k)}for(let P=k;P<=v;P++){const v=E.get(P);if(P!==k){N.add(",\n")}N.add(`/* ${P} */`);if(v){N.add("\n");N.add(v.source)}}N.add("\n"+R+"]");if(k!==0){N.add(")")}}else{N.add("{\n");for(let k=0;k {\n");E.add(new R("\t",N));E.add("\n})();\n\n")}else{E.add("!function() {\n");E.add(new R("\t",N));E.add("\n}();\n\n")}}}return E}static renderChunkRuntimeModules(k,v){return new R("/******/ ",new P(`function(${N.require}) { // webpackRuntimeModules\n`,this.renderRuntimeModules(k,v),"}\n"))}}k.exports=Template;k.exports.NUMBER_OF_IDENTIFIER_START_CHARS=pe;k.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS=me},39294:function(k,v,E){"use strict";const P=E(24230);const{basename:R,extname:L}=E(71017);const N=E(73837);const q=E(8247);const ae=E(88396);const{parseResource:le}=E(65315);const pe=/\[\\*([\w:]+)\\*\]/gi;const prepareId=k=>{if(typeof k!=="string")return k;if(/^"\s\+*.*\+\s*"$/.test(k)){const v=/^"\s\+*\s*(.*)\s*\+\s*"$/.exec(k);return`" + (${v[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`}return k.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};const hashLength=(k,v,E,P)=>{const fn=(R,L,N)=>{let q;const ae=L&&parseInt(L,10);if(ae&&v){q=v(ae)}else{const v=k(R,L,N);q=ae?v.slice(0,ae):v}if(E){E.immutable=true;if(Array.isArray(E[P])){E[P]=[...E[P],q]}else if(E[P]){E[P]=[E[P],q]}else{E[P]=q}}return q};return fn};const replacer=(k,v)=>{const fn=(E,P,R)=>{if(typeof k==="function"){k=k()}if(k===null||k===undefined){if(!v){throw new Error(`Path variable ${E} not implemented in this context: ${R}`)}return""}else{return`${k}`}};return fn};const me=new Map;const ye=(()=>()=>{})();const deprecated=(k,v,E)=>{let P=me.get(v);if(P===undefined){P=N.deprecate(ye,v,E);me.set(v,P)}return(...v)=>{P();return k(...v)}};const replacePathVariables=(k,v,E)=>{const N=v.chunkGraph;const me=new Map;if(typeof v.filename==="string"){let k=v.filename.match(/^data:([^;,]+)/);if(k){const v=P.extension(k[1]);const E=replacer("",true);me.set("file",E);me.set("query",E);me.set("fragment",E);me.set("path",E);me.set("base",E);me.set("name",E);me.set("ext",replacer(v?`.${v}`:"",true));me.set("filebase",deprecated(E,"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}else{const{path:k,query:E,fragment:P}=le(v.filename);const N=L(k);const q=R(k);const ae=q.slice(0,q.length-N.length);const pe=k.slice(0,k.length-q.length);me.set("file",replacer(k));me.set("query",replacer(E,true));me.set("fragment",replacer(P,true));me.set("path",replacer(pe,true));me.set("base",replacer(q));me.set("name",replacer(ae));me.set("ext",replacer(N,true));me.set("filebase",deprecated(replacer(q),"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}}if(v.hash){const k=hashLength(replacer(v.hash),v.hashWithLength,E,"fullhash");me.set("fullhash",k);me.set("hash",deprecated(k,"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH"))}if(v.chunk){const k=v.chunk;const P=v.contentHashType;const R=replacer(k.id);const L=replacer(k.name||k.id);const N=hashLength(replacer(k instanceof q?k.renderedHash:k.hash),"hashWithLength"in k?k.hashWithLength:undefined,E,"chunkhash");const ae=hashLength(replacer(v.contentHash||P&&k.contentHash&&k.contentHash[P]),v.contentHashWithLength||("contentHashWithLength"in k&&k.contentHashWithLength?k.contentHashWithLength[P]:undefined),E,"contenthash");me.set("id",R);me.set("name",L);me.set("chunkhash",N);me.set("contenthash",ae)}if(v.module){const k=v.module;const P=replacer((()=>prepareId(k instanceof ae?N.getModuleId(k):k.id)));const R=hashLength(replacer((()=>k instanceof ae?N.getRenderedModuleHash(k,v.runtime):k.hash)),"hashWithLength"in k?k.hashWithLength:undefined,E,"modulehash");const L=hashLength(replacer(v.contentHash),undefined,E,"contenthash");me.set("id",P);me.set("modulehash",R);me.set("contenthash",L);me.set("hash",v.contentHash?L:R);me.set("moduleid",deprecated(P,"[moduleid] is now [id]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID"))}if(v.url){me.set("url",replacer(v.url))}if(typeof v.runtime==="string"){me.set("runtime",replacer((()=>prepareId(v.runtime))))}else{me.set("runtime",replacer("_"))}if(typeof k==="function"){k=k(v,E)}k=k.replace(pe,((v,E)=>{if(E.length+2===v.length){const P=/^(\w+)(?::(\w+))?$/.exec(E);if(!P)return v;const[,R,L]=P;const N=me.get(R);if(N!==undefined){return N(v,L,k)}}else if(v.startsWith("[\\")&&v.endsWith("\\]")){return`[${v.slice(2,-2)}]`}return v}));return k};const _e="TemplatedPathPlugin";class TemplatedPathPlugin{apply(k){k.hooks.compilation.tap(_e,(k=>{k.hooks.assetPath.tap(_e,replacePathVariables)}))}}k.exports=TemplatedPathPlugin},57975:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class UnhandledSchemeError extends P{constructor(k,v){super(`Reading from "${v}" is not handled by plugins (Unhandled scheme).`+'\nWebpack supports "data:" and "file:" URIs by default.'+`\nYou may need an additional plugin to handle "${k}:" URIs.`);this.file=v;this.name="UnhandledSchemeError"}}R(UnhandledSchemeError,"webpack/lib/UnhandledSchemeError","UnhandledSchemeError");k.exports=UnhandledSchemeError},9415:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class UnsupportedFeatureWarning extends P{constructor(k,v){super(k);this.name="UnsupportedFeatureWarning";this.loc=v;this.hideStack=true}}R(UnsupportedFeatureWarning,"webpack/lib/UnsupportedFeatureWarning");k.exports=UnsupportedFeatureWarning},10862:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(60381);const q="UseStrictPlugin";class UseStrictPlugin{apply(k){k.hooks.compilation.tap(q,((k,{normalModuleFactory:v})=>{const handler=k=>{k.hooks.program.tap(q,(v=>{const E=v.body[0];if(E&&E.type==="ExpressionStatement"&&E.expression.type==="Literal"&&E.expression.value==="use strict"){const v=new N("",E.range);v.loc=E.loc;k.state.module.addPresentationalDependency(v);k.state.module.buildInfo.strict=true}}))};v.hooks.parser.for(P).tap(q,handler);v.hooks.parser.for(R).tap(q,handler);v.hooks.parser.for(L).tap(q,handler)}))}}k.exports=UseStrictPlugin},7326:function(k,v,E){"use strict";const P=E(94046);class WarnCaseSensitiveModulesPlugin{apply(k){k.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",(k=>{k.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",(()=>{const v=new Map;for(const E of k.modules){const k=E.identifier();if(E.resourceResolveData!==undefined&&E.resourceResolveData.encodedContent!==undefined){continue}const P=k.toLowerCase();let R=v.get(P);if(R===undefined){R=new Map;v.set(P,R)}R.set(k,E)}for(const E of v){const v=E[1];if(v.size>1){k.warnings.push(new P(v.values(),k.moduleGraph))}}}))}))}}k.exports=WarnCaseSensitiveModulesPlugin},80025:function(k,v,E){"use strict";const P=E(71572);class WarnDeprecatedOptionPlugin{constructor(k,v,E){this.option=k;this.value=v;this.suggestion=E}apply(k){k.hooks.thisCompilation.tap("WarnDeprecatedOptionPlugin",(k=>{k.warnings.push(new DeprecatedOptionWarning(this.option,this.value,this.suggestion))}))}}class DeprecatedOptionWarning extends P{constructor(k,v,E){super();this.name="DeprecatedOptionWarning";this.message="configuration\n"+`The value '${v}' for option '${k}' is deprecated. `+`Use '${E}' instead.`}}k.exports=WarnDeprecatedOptionPlugin},41744:function(k,v,E){"use strict";const P=E(2940);class WarnNoModeSetPlugin{apply(k){k.hooks.thisCompilation.tap("WarnNoModeSetPlugin",(k=>{k.warnings.push(new P)}))}}k.exports=WarnNoModeSetPlugin},38849:function(k,v,E){"use strict";const{groupBy:P}=E(68863);const R=E(92198);const L=R(E(24318),(()=>E(41084)),{name:"Watch Ignore Plugin",baseDataPath:"options"});const N="ignore";class IgnoringWatchFileSystem{constructor(k,v){this.wfs=k;this.paths=v}watch(k,v,E,R,L,q,ae){k=Array.from(k);v=Array.from(v);const ignored=k=>this.paths.some((v=>v instanceof RegExp?v.test(k):k.indexOf(v)===0));const[le,pe]=P(k,ignored);const[me,ye]=P(v,ignored);const _e=this.wfs.watch(pe,ye,E,R,L,((k,v,E,P,R)=>{if(k)return q(k);for(const k of le){v.set(k,N)}for(const k of me){E.set(k,N)}q(k,v,E,P,R)}),ae);return{close:()=>_e.close(),pause:()=>_e.pause(),getContextTimeInfoEntries:()=>{const k=_e.getContextTimeInfoEntries();for(const v of me){k.set(v,N)}return k},getFileTimeInfoEntries:()=>{const k=_e.getFileTimeInfoEntries();for(const v of le){k.set(v,N)}return k},getInfo:_e.getInfo&&(()=>{const k=_e.getInfo();const{fileTimeInfoEntries:v,contextTimeInfoEntries:E}=k;for(const k of le){v.set(k,N)}for(const k of me){E.set(k,N)}return k})}}}class WatchIgnorePlugin{constructor(k){L(k);this.paths=k.paths}apply(k){k.hooks.afterEnvironment.tap("WatchIgnorePlugin",(()=>{k.watchFileSystem=new IgnoringWatchFileSystem(k.watchFileSystem,this.paths)}))}}k.exports=WatchIgnorePlugin},50526:function(k,v,E){"use strict";const P=E(26288);class Watching{constructor(k,v,E){this.startTime=null;this.invalid=false;this.handler=E;this.callbacks=[];this._closeCallbacks=undefined;this.closed=false;this.suspended=false;this.blocked=false;this._isBlocked=()=>false;this._onChange=()=>{};this._onInvalid=()=>{};if(typeof v==="number"){this.watchOptions={aggregateTimeout:v}}else if(v&&typeof v==="object"){this.watchOptions={...v}}else{this.watchOptions={}}if(typeof this.watchOptions.aggregateTimeout!=="number"){this.watchOptions.aggregateTimeout=20}this.compiler=k;this.running=false;this._initial=true;this._invalidReported=true;this._needRecords=true;this.watcher=undefined;this.pausedWatcher=undefined;this._collectedChangedFiles=undefined;this._collectedRemovedFiles=undefined;this._done=this._done.bind(this);process.nextTick((()=>{if(this._initial)this._invalidate()}))}_mergeWithCollected(k,v){if(!k)return;if(!this._collectedChangedFiles){this._collectedChangedFiles=new Set(k);this._collectedRemovedFiles=new Set(v)}else{for(const v of k){this._collectedChangedFiles.add(v);this._collectedRemovedFiles.delete(v)}for(const k of v){this._collectedChangedFiles.delete(k);this._collectedRemovedFiles.add(k)}}}_go(k,v,E,R){this._initial=false;if(this.startTime===null)this.startTime=Date.now();this.running=true;if(this.watcher){this.pausedWatcher=this.watcher;this.lastWatcherStartTime=Date.now();this.watcher.pause();this.watcher=null}else if(!this.lastWatcherStartTime){this.lastWatcherStartTime=Date.now()}this.compiler.fsStartTime=Date.now();if(E&&R&&k&&v){this._mergeWithCollected(E,R);this.compiler.fileTimestamps=k;this.compiler.contextTimestamps=v}else if(this.pausedWatcher){if(this.pausedWatcher.getInfo){const{changes:k,removals:v,fileTimeInfoEntries:E,contextTimeInfoEntries:P}=this.pausedWatcher.getInfo();this._mergeWithCollected(k,v);this.compiler.fileTimestamps=E;this.compiler.contextTimestamps=P}else{this._mergeWithCollected(this.pausedWatcher.getAggregatedChanges&&this.pausedWatcher.getAggregatedChanges(),this.pausedWatcher.getAggregatedRemovals&&this.pausedWatcher.getAggregatedRemovals());this.compiler.fileTimestamps=this.pausedWatcher.getFileTimeInfoEntries();this.compiler.contextTimestamps=this.pausedWatcher.getContextTimeInfoEntries()}}this.compiler.modifiedFiles=this._collectedChangedFiles;this._collectedChangedFiles=undefined;this.compiler.removedFiles=this._collectedRemovedFiles;this._collectedRemovedFiles=undefined;const run=()=>{if(this.compiler.idle){return this.compiler.cache.endIdle((k=>{if(k)return this._done(k);this.compiler.idle=false;run()}))}if(this._needRecords){return this.compiler.readRecords((k=>{if(k)return this._done(k);this._needRecords=false;run()}))}this.invalid=false;this._invalidReported=false;this.compiler.hooks.watchRun.callAsync(this.compiler,(k=>{if(k)return this._done(k);const onCompiled=(k,v)=>{if(k)return this._done(k,v);if(this.invalid)return this._done(null,v);if(this.compiler.hooks.shouldEmit.call(v)===false){return this._done(null,v)}process.nextTick((()=>{const k=v.getLogger("webpack.Compiler");k.time("emitAssets");this.compiler.emitAssets(v,(E=>{k.timeEnd("emitAssets");if(E)return this._done(E,v);if(this.invalid)return this._done(null,v);k.time("emitRecords");this.compiler.emitRecords((E=>{k.timeEnd("emitRecords");if(E)return this._done(E,v);if(v.hooks.needAdditionalPass.call()){v.needAdditionalPass=true;v.startTime=this.startTime;v.endTime=Date.now();k.time("done hook");const E=new P(v);this.compiler.hooks.done.callAsync(E,(E=>{k.timeEnd("done hook");if(E)return this._done(E,v);this.compiler.hooks.additionalPass.callAsync((k=>{if(k)return this._done(k,v);this.compiler.compile(onCompiled)}))}));return}return this._done(null,v)}))}))}))};this.compiler.compile(onCompiled)}))};run()}_getStats(k){const v=new P(k);return v}_done(k,v){this.running=false;const E=v&&v.getLogger("webpack.Watching");let R=null;const handleError=(k,v)=>{this.compiler.hooks.failed.call(k);this.compiler.cache.beginIdle();this.compiler.idle=true;this.handler(k,R);if(!v){v=this.callbacks;this.callbacks=[]}for(const E of v)E(k)};if(this.invalid&&!this.suspended&&!this.blocked&&!(this._isBlocked()&&(this.blocked=true))){if(v){E.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(v.buildDependencies,(k=>{E.timeEnd("storeBuildDependencies");if(k)return handleError(k);this._go()}))}else{this._go()}return}if(v){v.startTime=this.startTime;v.endTime=Date.now();R=new P(v)}this.startTime=null;if(k)return handleError(k);const L=this.callbacks;this.callbacks=[];E.time("done hook");this.compiler.hooks.done.callAsync(R,(k=>{E.timeEnd("done hook");if(k)return handleError(k,L);this.handler(null,R);E.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(v.buildDependencies,(k=>{E.timeEnd("storeBuildDependencies");if(k)return handleError(k,L);E.time("beginIdle");this.compiler.cache.beginIdle();this.compiler.idle=true;E.timeEnd("beginIdle");process.nextTick((()=>{if(!this.closed){this.watch(v.fileDependencies,v.contextDependencies,v.missingDependencies)}}));for(const k of L)k(null);this.compiler.hooks.afterDone.call(R)}))}))}watch(k,v,E){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(k,v,E,this.lastWatcherStartTime,this.watchOptions,((k,v,E,P,R)=>{if(k){this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;return this.handler(k)}this._invalidate(v,E,P,R);this._onChange()}),((k,v)=>{if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(k,v)}this._onInvalid()}))}invalidate(k){if(k){this.callbacks.push(k)}if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(null,Date.now())}this._onChange();this._invalidate()}_invalidate(k,v,E,P){if(this.suspended||this._isBlocked()&&(this.blocked=true)){this._mergeWithCollected(E,P);return}if(this.running){this._mergeWithCollected(E,P);this.invalid=true}else{this._go(k,v,E,P)}}suspend(){this.suspended=true}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}close(k){if(this._closeCallbacks){if(k){this._closeCallbacks.push(k)}return}const finalCallback=(k,v)=>{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;this.compiler.fsStartTime=undefined;const shutdown=k=>{this.compiler.hooks.watchClose.call();const v=this._closeCallbacks;this._closeCallbacks=undefined;for(const E of v)E(k)};if(v){const E=v.getLogger("webpack.Watching");E.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(v.buildDependencies,(v=>{E.timeEnd("storeBuildDependencies");shutdown(k||v)}))}else{shutdown(k)}};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}this._closeCallbacks=[];if(k){this._closeCallbacks.push(k)}if(this.running){this.invalid=true;this._done=finalCallback}else{finalCallback()}}}k.exports=Watching},71572:function(k,v,E){"use strict";const P=E(73837).inspect.custom;const R=E(58528);class WebpackError extends Error{constructor(k){super(k);this.details=undefined;this.module=undefined;this.loc=undefined;this.hideStack=undefined;this.chunk=undefined;this.file=undefined}[P](){return this.stack+(this.details?`\n${this.details}`:"")}serialize({write:k}){k(this.name);k(this.message);k(this.stack);k(this.details);k(this.loc);k(this.hideStack)}deserialize({read:k}){this.name=k();this.message=k();this.stack=k();this.details=k();this.loc=k();this.hideStack=k()}}R(WebpackError,"webpack/lib/WebpackError");k.exports=WebpackError},55095:function(k,v,E){"use strict";const P=E(95224);const{JAVASCRIPT_MODULE_TYPE_AUTO:R,JAVASCRIPT_MODULE_TYPE_DYNAMIC:L,JAVASCRIPT_MODULE_TYPE_ESM:N}=E(93622);const q=E(83143);const{toConstantDependency:ae}=E(80784);const le="WebpackIsIncludedPlugin";class WebpackIsIncludedPlugin{apply(k){k.hooks.compilation.tap(le,((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(q,new P(v));k.dependencyTemplates.set(q,new q.Template);const handler=k=>{k.hooks.call.for("__webpack_is_included__").tap(le,(v=>{if(v.type!=="CallExpression"||v.arguments.length!==1||v.arguments[0].type==="SpreadElement")return;const E=k.evaluateExpression(v.arguments[0]);if(!E.isString())return;const P=new q(E.string,v.range);P.loc=v.loc;k.state.module.addDependency(P);return true}));k.hooks.typeof.for("__webpack_is_included__").tap(le,ae(k,JSON.stringify("function")))};v.hooks.parser.for(R).tap(le,handler);v.hooks.parser.for(L).tap(le,handler);v.hooks.parser.for(N).tap(le,handler)}))}}k.exports=WebpackIsIncludedPlugin},27826:function(k,v,E){"use strict";const P=E(64593);const R=E(43722);const L=E(89168);const N=E(7671);const q=E(37247);const ae=E(26591);const le=E(3437);const pe=E(10734);const me=E(99494);const ye=E(8305);const _e=E(11512);const Ie=E(25889);const Me=E(55095);const Te=E(39294);const je=E(10862);const Ne=E(7326);const Be=E(82599);const qe=E(28730);const Ue=E(6247);const Ge=E(45575);const He=E(64476);const We=E(96090);const Qe=E(31615);const Je=E(3970);const Ve=E(63733);const Ke=E(69286);const Ye=E(34949);const Xe=E(80250);const Ze=E(3674);const et=E(50703);const tt=E(95918);const nt=E(53877);const st=E(28027);const rt=E(57686);const ot=E(8808);const it=E(81363);const{cleverMerge:at}=E(99454);class WebpackOptionsApply extends P{constructor(){super()}process(k,v){v.outputPath=k.output.path;v.recordsInputPath=k.recordsInputPath||null;v.recordsOutputPath=k.recordsOutputPath||null;v.name=k.name;if(k.externals){const P=E(53757);new P(k.externalsType,k.externals).apply(v)}if(k.externalsPresets.node){const k=E(56976);(new k).apply(v)}if(k.externalsPresets.electronMain){const k=E(27558);new k("main").apply(v)}if(k.externalsPresets.electronPreload){const k=E(27558);new k("preload").apply(v)}if(k.externalsPresets.electronRenderer){const k=E(27558);new k("renderer").apply(v)}if(k.externalsPresets.electron&&!k.externalsPresets.electronMain&&!k.externalsPresets.electronPreload&&!k.externalsPresets.electronRenderer){const k=E(27558);(new k).apply(v)}if(k.externalsPresets.nwjs){const k=E(53757);new k("node-commonjs","nw.gui").apply(v)}if(k.externalsPresets.webAsync){const P=E(53757);new P("import",(({request:v,dependencyType:E},P)=>{if(E==="url"){if(/^(\/\/|https?:\/\/|#)/.test(v))return P(null,`asset ${v}`)}else if(k.experiments.css&&E==="css-import"){if(/^(\/\/|https?:\/\/|#)/.test(v))return P(null,`css-import ${v}`)}else if(k.experiments.css&&/^(\/\/|https?:\/\/|std:)/.test(v)){if(/^\.css(\?|$)/.test(v))return P(null,`css-import ${v}`);return P(null,`import ${v}`)}P()})).apply(v)}else if(k.externalsPresets.web){const P=E(53757);new P("module",(({request:v,dependencyType:E},P)=>{if(E==="url"){if(/^(\/\/|https?:\/\/|#)/.test(v))return P(null,`asset ${v}`)}else if(k.experiments.css&&E==="css-import"){if(/^(\/\/|https?:\/\/|#)/.test(v))return P(null,`css-import ${v}`)}else if(/^(\/\/|https?:\/\/|std:)/.test(v)){if(k.experiments.css&&/^\.css((\?)|$)/.test(v))return P(null,`css-import ${v}`);return P(null,`module ${v}`)}P()})).apply(v)}else if(k.externalsPresets.node){if(k.experiments.css){const k=E(53757);new k("module",(({request:k,dependencyType:v},E)=>{if(v==="url"){if(/^(\/\/|https?:\/\/|#)/.test(k))return E(null,`asset ${k}`)}else if(v==="css-import"){if(/^(\/\/|https?:\/\/|#)/.test(k))return E(null,`css-import ${k}`)}else if(/^(\/\/|https?:\/\/|std:)/.test(k)){if(/^\.css(\?|$)/.test(k))return E(null,`css-import ${k}`);return E(null,`module ${k}`)}E()})).apply(v)}}(new q).apply(v);if(typeof k.output.chunkFormat==="string"){switch(k.output.chunkFormat){case"array-push":{const k=E(39799);(new k).apply(v);break}case"commonjs":{const k=E(45542);(new k).apply(v);break}case"module":{const k=E(14504);(new k).apply(v);break}default:throw new Error("Unsupported chunk format '"+k.output.chunkFormat+"'.")}}if(k.output.enabledChunkLoadingTypes.length>0){for(const P of k.output.enabledChunkLoadingTypes){const k=E(73126);new k(P).apply(v)}}if(k.output.enabledWasmLoadingTypes.length>0){for(const P of k.output.enabledWasmLoadingTypes){const k=E(50792);new k(P).apply(v)}}if(k.output.enabledLibraryTypes.length>0){for(const P of k.output.enabledLibraryTypes){const k=E(60234);new k(P).apply(v)}}if(k.output.pathinfo){const P=E(50444);new P(k.output.pathinfo!==true).apply(v)}if(k.output.clean){const P=E(69155);new P(k.output.clean===true?{}:k.output.clean).apply(v)}if(k.devtool){if(k.devtool.includes("source-map")){const P=k.devtool.includes("hidden");const R=k.devtool.includes("inline");const L=k.devtool.includes("eval");const N=k.devtool.includes("cheap");const q=k.devtool.includes("module");const ae=k.devtool.includes("nosources");const le=L?E(21234):E(83814);new le({filename:R?null:k.output.sourceMapFilename,moduleFilenameTemplate:k.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:k.output.devtoolFallbackModuleFilenameTemplate,append:P?false:undefined,module:q?true:N?false:true,columns:N?false:true,noSources:ae,namespace:k.output.devtoolNamespace}).apply(v)}else if(k.devtool.includes("eval")){const P=E(87543);new P({moduleFilenameTemplate:k.output.devtoolModuleFilenameTemplate,namespace:k.output.devtoolNamespace}).apply(v)}}(new L).apply(v);(new N).apply(v);(new R).apply(v);if(!k.experiments.outputModule){if(k.output.module){throw new Error("'output.module: true' is only allowed when 'experiments.outputModule' is enabled")}if(k.output.enabledLibraryTypes.includes("module")){throw new Error("library type \"module\" is only allowed when 'experiments.outputModule' is enabled")}if(k.externalsType==="module"){throw new Error("'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled")}}if(k.experiments.syncWebAssembly){const P=E(3843);new P({mangleImports:k.optimization.mangleWasmImports}).apply(v)}if(k.experiments.asyncWebAssembly){const P=E(70006);new P({mangleImports:k.optimization.mangleWasmImports}).apply(v)}if(k.experiments.css){const P=E(76395);new P(k.experiments.css).apply(v)}if(k.experiments.lazyCompilation){const P=E(93239);const R=typeof k.experiments.lazyCompilation==="object"?k.experiments.lazyCompilation:null;new P({backend:typeof R.backend==="function"?R.backend:E(75218)({...R.backend,client:R.backend&&R.backend.client||k.externalsPresets.node?E.ab+"lazy-compilation-node.js":E.ab+"lazy-compilation-web.js"}),entries:!R||R.entries!==false,imports:!R||R.imports!==false,test:R&&R.test||undefined}).apply(v)}if(k.experiments.buildHttp){const P=E(73500);const R=k.experiments.buildHttp;new P(R).apply(v)}(new ae).apply(v);v.hooks.entryOption.call(k.context,k.entry);(new pe).apply(v);(new nt).apply(v);(new Be).apply(v);(new qe).apply(v);(new ye).apply(v);new He({topLevelAwait:k.experiments.topLevelAwait}).apply(v);if(k.amd!==false){const P=E(80471);const R=E(97679);new P(k.amd||{}).apply(v);(new R).apply(v)}(new Ge).apply(v);new Ve({}).apply(v);if(k.node!==false){const P=E(12661);new P(k.node).apply(v)}new me({module:k.output.module}).apply(v);(new Ie).apply(v);(new Me).apply(v);(new _e).apply(v);(new je).apply(v);(new Xe).apply(v);(new Ye).apply(v);(new Ke).apply(v);(new Je).apply(v);(new We).apply(v);(new Ze).apply(v);(new Qe).apply(v);(new et).apply(v);new tt(k.output.workerChunkLoading,k.output.workerWasmLoading,k.output.module,k.output.workerPublicPath).apply(v);(new rt).apply(v);(new ot).apply(v);(new it).apply(v);(new st).apply(v);if(typeof k.mode!=="string"){const k=E(41744);(new k).apply(v)}const P=E(4945);(new P).apply(v);if(k.optimization.removeAvailableModules){const k=E(21352);(new k).apply(v)}if(k.optimization.removeEmptyChunks){const k=E(37238);(new k).apply(v)}if(k.optimization.mergeDuplicateChunks){const k=E(79008);(new k).apply(v)}if(k.optimization.flagIncludedChunks){const k=E(63511);(new k).apply(v)}if(k.optimization.sideEffects){const P=E(57214);new P(k.optimization.sideEffects===true).apply(v)}if(k.optimization.providedExports){const k=E(13893);(new k).apply(v)}if(k.optimization.usedExports){const P=E(25984);new P(k.optimization.usedExports==="global").apply(v)}if(k.optimization.innerGraph){const k=E(31911);(new k).apply(v)}if(k.optimization.mangleExports){const P=E(45287);new P(k.optimization.mangleExports!=="size").apply(v)}if(k.optimization.concatenateModules){const k=E(30899);(new k).apply(v)}if(k.optimization.splitChunks){const P=E(30829);new P(k.optimization.splitChunks).apply(v)}if(k.optimization.runtimeChunk){const P=E(89921);new P(k.optimization.runtimeChunk).apply(v)}if(!k.optimization.emitOnErrors){const k=E(75018);(new k).apply(v)}if(k.optimization.realContentHash){const P=E(71183);new P({hashFunction:k.output.hashFunction,hashDigest:k.output.hashDigest}).apply(v)}if(k.optimization.checkWasmTypes){const k=E(6754);(new k).apply(v)}const ct=k.optimization.moduleIds;if(ct){switch(ct){case"natural":{const k=E(98122);(new k).apply(v);break}case"named":{const k=E(64908);(new k).apply(v);break}case"hashed":{const P=E(80025);const R=E(81973);new P("optimization.moduleIds","hashed","deterministic").apply(v);new R({hashFunction:k.output.hashFunction}).apply(v);break}case"deterministic":{const k=E(40288);(new k).apply(v);break}case"size":{const k=E(40654);new k({prioritiseInitial:true}).apply(v);break}default:throw new Error(`webpack bug: moduleIds: ${ct} is not implemented`)}}const lt=k.optimization.chunkIds;if(lt){switch(lt){case"natural":{const k=E(76914);(new k).apply(v);break}case"named":{const k=E(38372);(new k).apply(v);break}case"deterministic":{const k=E(89002);(new k).apply(v);break}case"size":{const k=E(12976);new k({prioritiseInitial:true}).apply(v);break}case"total-size":{const k=E(12976);new k({prioritiseInitial:false}).apply(v);break}default:throw new Error(`webpack bug: chunkIds: ${lt} is not implemented`)}}if(k.optimization.nodeEnv){const P=E(91602);new P({"process.env.NODE_ENV":JSON.stringify(k.optimization.nodeEnv)}).apply(v)}if(k.optimization.minimize){for(const E of k.optimization.minimizer){if(typeof E==="function"){E.call(v,v)}else if(E!=="..."){E.apply(v)}}}if(k.performance){const P=E(338);new P(k.performance).apply(v)}(new Te).apply(v);new le({portableIds:k.optimization.portableRecords}).apply(v);(new Ne).apply(v);const ut=E(79438);new ut(k.snapshot.managedPaths,k.snapshot.immutablePaths).apply(v);if(k.cache&&typeof k.cache==="object"){const P=k.cache;switch(P.type){case"memory":{if(isFinite(P.maxGenerations)){const k=E(17882);new k({maxGenerations:P.maxGenerations}).apply(v)}else{const k=E(66494);(new k).apply(v)}if(P.cacheUnaffected){if(!k.experiments.cacheUnaffected){throw new Error("'cache.cacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}v.moduleMemCaches=new Map}break}case"filesystem":{const R=E(26876);for(const k in P.buildDependencies){const E=P.buildDependencies[k];new R(E).apply(v)}if(!isFinite(P.maxMemoryGenerations)){const k=E(66494);(new k).apply(v)}else if(P.maxMemoryGenerations!==0){const k=E(17882);new k({maxGenerations:P.maxMemoryGenerations}).apply(v)}if(P.memoryCacheUnaffected){if(!k.experiments.cacheUnaffected){throw new Error("'cache.memoryCacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}v.moduleMemCaches=new Map}switch(P.store){case"pack":{const R=E(87251);const L=E(30124);new R(new L({compiler:v,fs:v.intermediateFileSystem,context:k.context,cacheLocation:P.cacheLocation,version:P.version,logger:v.getInfrastructureLogger("webpack.cache.PackFileCacheStrategy"),snapshot:k.snapshot,maxAge:P.maxAge,profile:P.profile,allowCollectingMemory:P.allowCollectingMemory,compression:P.compression,readonly:P.readonly}),P.idleTimeout,P.idleTimeoutForInitialStore,P.idleTimeoutAfterLargeChanges).apply(v);break}default:throw new Error("Unhandled value for cache.store")}break}default:throw new Error(`Unknown cache type ${P.type}`)}}(new Ue).apply(v);if(k.ignoreWarnings&&k.ignoreWarnings.length>0){const P=E(21324);new P(k.ignoreWarnings).apply(v)}v.hooks.afterPlugins.call(v);if(!v.inputFileSystem){throw new Error("No input filesystem provided")}v.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",(E=>{E=at(k.resolve,E);E.fileSystem=v.inputFileSystem;return E}));v.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",(E=>{E=at(k.resolve,E);E.fileSystem=v.inputFileSystem;E.resolveToContext=true;return E}));v.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",(E=>{E=at(k.resolveLoader,E);E.fileSystem=v.inputFileSystem;return E}));v.hooks.afterResolvers.call(v);return k}}k.exports=WebpackOptionsApply},21247:function(k,v,E){"use strict";const{applyWebpackOptionsDefaults:P}=E(25801);const{getNormalizedWebpackOptions:R}=E(47339);class WebpackOptionsDefaulter{process(k){k=R(k);P(k);return k}}k.exports=WebpackOptionsDefaulter},38200:function(k,v,E){"use strict";const P=E(24230);const R=E(71017);const{RawSource:L}=E(51255);const N=E(91213);const q=E(91597);const{ASSET_MODULE_TYPE:ae}=E(93622);const le=E(56727);const pe=E(74012);const{makePathsRelative:me}=E(65315);const ye=E(64119);const mergeMaybeArrays=(k,v)=>{const E=new Set;if(Array.isArray(k))for(const v of k)E.add(v);else E.add(k);if(Array.isArray(v))for(const k of v)E.add(k);else E.add(v);return Array.from(E)};const mergeAssetInfo=(k,v)=>{const E={...k,...v};for(const P of Object.keys(k)){if(P in v){if(k[P]===v[P])continue;switch(P){case"fullhash":case"chunkhash":case"modulehash":case"contenthash":E[P]=mergeMaybeArrays(k[P],v[P]);break;case"immutable":case"development":case"hotModuleReplacement":case"javascriptModule":E[P]=k[P]||v[P];break;case"related":E[P]=mergeRelatedInfo(k[P],v[P]);break;default:throw new Error(`Can't handle conflicting asset info for ${P}`)}}}return E};const mergeRelatedInfo=(k,v)=>{const E={...k,...v};for(const P of Object.keys(k)){if(P in v){if(k[P]===v[P])continue;E[P]=mergeMaybeArrays(k[P],v[P])}}return E};const encodeDataUri=(k,v)=>{let E;switch(k){case"base64":{E=v.buffer().toString("base64");break}case false:{const k=v.source();if(typeof k!=="string"){E=k.toString("utf-8")}E=encodeURIComponent(E).replace(/[!'()*]/g,(k=>"%"+k.codePointAt(0).toString(16)));break}default:throw new Error(`Unsupported encoding '${k}'`)}return E};const decodeDataUriContent=(k,v)=>{const E=k==="base64";if(E){return Buffer.from(v,"base64")}try{return Buffer.from(decodeURIComponent(v),"ascii")}catch(k){return Buffer.from(v,"ascii")}};const _e=new Set(["javascript"]);const Ie=new Set(["javascript",ae]);const Me="base64";class AssetGenerator extends q{constructor(k,v,E,P,R){super();this.dataUrlOptions=k;this.filename=v;this.publicPath=E;this.outputPath=P;this.emit=R}getSourceFileName(k,v){return me(v.compilation.compiler.context,k.matchResource||k.resource,v.compilation.compiler.root).replace(/^\.\//,"")}getConcatenationBailoutReason(k,v){return undefined}getMimeType(k){if(typeof this.dataUrlOptions==="function"){throw new Error("This method must not be called when dataUrlOptions is a function")}let v=this.dataUrlOptions.mimetype;if(v===undefined){const E=R.extname(k.nameForCondition());if(k.resourceResolveData&&k.resourceResolveData.mimetype!==undefined){v=k.resourceResolveData.mimetype+k.resourceResolveData.parameters}else if(E){v=P.lookup(E);if(typeof v!=="string"){throw new Error("DataUrl can't be generated automatically, "+`because there is no mimetype for "${E}" in mimetype database. `+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}}}if(typeof v!=="string"){throw new Error("DataUrl can't be generated automatically. "+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}return v}generate(k,{runtime:v,concatenationScope:E,chunkGraph:P,runtimeTemplate:q,runtimeRequirements:me,type:_e,getData:Ie}){switch(_e){case ae:return k.originalSource();default:{let ae;const _e=k.originalSource();if(k.buildInfo.dataUrl){let v;if(typeof this.dataUrlOptions==="function"){v=this.dataUrlOptions.call(null,_e.source(),{filename:k.matchResource||k.resource,module:k})}else{let E=this.dataUrlOptions.encoding;if(E===undefined){if(k.resourceResolveData&&k.resourceResolveData.encoding!==undefined){E=k.resourceResolveData.encoding}}if(E===undefined){E=Me}const P=this.getMimeType(k);let R;if(k.resourceResolveData&&k.resourceResolveData.encoding===E&&decodeDataUriContent(k.resourceResolveData.encoding,k.resourceResolveData.encodedContent).equals(_e.buffer())){R=k.resourceResolveData.encodedContent}else{R=encodeDataUri(E,_e)}v=`data:${P}${E?`;${E}`:""},${R}`}const E=Ie();E.set("url",Buffer.from(v));ae=JSON.stringify(v)}else{const E=this.filename||q.outputOptions.assetModuleFilename;const L=pe(q.outputOptions.hashFunction);if(q.outputOptions.hashSalt){L.update(q.outputOptions.hashSalt)}L.update(_e.buffer());const N=L.digest(q.outputOptions.hashDigest);const Me=ye(N,q.outputOptions.hashDigestLength);k.buildInfo.fullContentHash=N;const Te=this.getSourceFileName(k,q);let{path:je,info:Ne}=q.compilation.getAssetPathWithInfo(E,{module:k,runtime:v,filename:Te,chunkGraph:P,contentHash:Me});let Be;if(this.publicPath!==undefined){const{path:E,info:R}=q.compilation.getAssetPathWithInfo(this.publicPath,{module:k,runtime:v,filename:Te,chunkGraph:P,contentHash:Me});Ne=mergeAssetInfo(Ne,R);Be=JSON.stringify(E+je)}else{me.add(le.publicPath);Be=q.concatenation({expr:le.publicPath},je)}Ne={sourceFilename:Te,...Ne};if(this.outputPath){const{path:E,info:L}=q.compilation.getAssetPathWithInfo(this.outputPath,{module:k,runtime:v,filename:Te,chunkGraph:P,contentHash:Me});Ne=mergeAssetInfo(Ne,L);je=R.posix.join(E,je)}k.buildInfo.filename=je;k.buildInfo.assetInfo=Ne;if(Ie){const k=Ie();k.set("fullContentHash",N);k.set("filename",je);k.set("assetInfo",Ne)}ae=Be}if(E){E.registerNamespaceExport(N.NAMESPACE_OBJECT_EXPORT);return new L(`${q.supportsConst()?"const":"var"} ${N.NAMESPACE_OBJECT_EXPORT} = ${ae};`)}else{me.add(le.module);return new L(`${le.module}.exports = ${ae};`)}}}}getTypes(k){if(k.buildInfo&&k.buildInfo.dataUrl||this.emit===false){return _e}else{return Ie}}getSize(k,v){switch(v){case ae:{const v=k.originalSource();if(!v){return 0}return v.size()}default:if(k.buildInfo&&k.buildInfo.dataUrl){const v=k.originalSource();if(!v){return 0}return v.size()*1.34+36}else{return 42}}}updateHash(k,{module:v,runtime:E,runtimeTemplate:P,chunkGraph:R}){if(v.buildInfo.dataUrl){k.update("data-url");if(typeof this.dataUrlOptions==="function"){const v=this.dataUrlOptions.ident;if(v)k.update(v)}else{if(this.dataUrlOptions.encoding&&this.dataUrlOptions.encoding!==Me){k.update(this.dataUrlOptions.encoding)}if(this.dataUrlOptions.mimetype)k.update(this.dataUrlOptions.mimetype)}}else{k.update("resource");const L={module:v,runtime:E,filename:this.getSourceFileName(v,P),chunkGraph:R,contentHash:P.contentHashReplacement};if(typeof this.publicPath==="function"){k.update("path");const v={};k.update(this.publicPath(L,v));k.update(JSON.stringify(v))}else if(this.publicPath){k.update("path");k.update(this.publicPath)}else{k.update("no-path")}const N=this.filename||P.outputOptions.assetModuleFilename;const{path:q,info:ae}=P.compilation.getAssetPathWithInfo(N,L);k.update(q);k.update(JSON.stringify(ae))}}}k.exports=AssetGenerator},43722:function(k,v,E){"use strict";const{ASSET_MODULE_TYPE_RESOURCE:P,ASSET_MODULE_TYPE_INLINE:R,ASSET_MODULE_TYPE:L,ASSET_MODULE_TYPE_SOURCE:N}=E(93622);const{cleverMerge:q}=E(99454);const{compareModulesByIdentifier:ae}=E(95648);const le=E(92198);const pe=E(20631);const getSchema=k=>{const{definitions:v}=E(98625);return{definitions:v,oneOf:[{$ref:`#/definitions/${k}`}]}};const me={name:"Asset Modules Plugin",baseDataPath:"generator"};const ye={asset:le(E(38070),(()=>getSchema("AssetGeneratorOptions")),me),"asset/resource":le(E(77964),(()=>getSchema("AssetResourceGeneratorOptions")),me),"asset/inline":le(E(62853),(()=>getSchema("AssetInlineGeneratorOptions")),me)};const _e=le(E(60578),(()=>getSchema("AssetParserOptions")),{name:"Asset Modules Plugin",baseDataPath:"parser"});const Ie=pe((()=>E(38200)));const Me=pe((()=>E(47930)));const Te=pe((()=>E(51073)));const je=pe((()=>E(15140)));const Ne=L;const Be="AssetModulesPlugin";class AssetModulesPlugin{apply(k){k.hooks.compilation.tap(Be,((v,{normalModuleFactory:E})=>{E.hooks.createParser.for(L).tap(Be,(v=>{_e(v);v=q(k.options.module.parser.asset,v);let E=v.dataUrlCondition;if(!E||typeof E==="object"){E={maxSize:8096,...E}}const P=Me();return new P(E)}));E.hooks.createParser.for(R).tap(Be,(k=>{const v=Me();return new v(true)}));E.hooks.createParser.for(P).tap(Be,(k=>{const v=Me();return new v(false)}));E.hooks.createParser.for(N).tap(Be,(k=>{const v=Te();return new v}));for(const k of[L,R,P]){E.hooks.createGenerator.for(k).tap(Be,(v=>{ye[k](v);let E=undefined;if(k!==P){E=v.dataUrl;if(!E||typeof E==="object"){E={encoding:undefined,mimetype:undefined,...E}}}let L=undefined;let N=undefined;let q=undefined;if(k!==R){L=v.filename;N=v.publicPath;q=v.outputPath}const ae=Ie();return new ae(E,L,N,q,v.emit!==false)}))}E.hooks.createGenerator.for(N).tap(Be,(()=>{const k=je();return new k}));v.hooks.renderManifest.tap(Be,((k,E)=>{const{chunkGraph:P}=v;const{chunk:R,codeGenerationResults:N}=E;const q=P.getOrderedChunkModulesIterableBySourceType(R,L,ae);if(q){for(const v of q){try{const E=N.get(v,R.runtime);k.push({render:()=>E.sources.get(Ne),filename:v.buildInfo.filename||E.data.get("filename"),info:v.buildInfo.assetInfo||E.data.get("assetInfo"),auxiliary:true,identifier:`assetModule${P.getModuleId(v)}`,hash:v.buildInfo.fullContentHash||E.data.get("fullContentHash")})}catch(k){k.message+=`\nduring rendering of asset ${v.identifier()}`;throw k}}}return k}));v.hooks.prepareModuleExecution.tap("AssetModulesPlugin",((k,v)=>{const{codeGenerationResult:E}=k;const P=E.sources.get(L);if(P===undefined)return;v.assets.set(E.data.get("filename"),{source:P,info:E.data.get("assetInfo")})}))}))}}k.exports=AssetModulesPlugin},47930:function(k,v,E){"use strict";const P=E(17381);class AssetParser extends P{constructor(k){super();this.dataUrlCondition=k}parse(k,v){if(typeof k==="object"&&!Buffer.isBuffer(k)){throw new Error("AssetParser doesn't accept preparsed AST")}v.module.buildInfo.strict=true;v.module.buildMeta.exportsType="default";v.module.buildMeta.defaultObject=false;if(typeof this.dataUrlCondition==="function"){v.module.buildInfo.dataUrl=this.dataUrlCondition(k,{filename:v.module.matchResource||v.module.resource,module:v.module})}else if(typeof this.dataUrlCondition==="boolean"){v.module.buildInfo.dataUrl=this.dataUrlCondition}else if(this.dataUrlCondition&&typeof this.dataUrlCondition==="object"){v.module.buildInfo.dataUrl=Buffer.byteLength(k)<=this.dataUrlCondition.maxSize}else{throw new Error("Unexpected dataUrlCondition type")}return v}}k.exports=AssetParser},15140:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(91213);const L=E(91597);const N=E(56727);const q=new Set(["javascript"]);class AssetSourceGenerator extends L{generate(k,{concatenationScope:v,chunkGraph:E,runtimeTemplate:L,runtimeRequirements:q}){const ae=k.originalSource();if(!ae){return new P("")}const le=ae.source();let pe;if(typeof le==="string"){pe=le}else{pe=le.toString("utf-8")}let me;if(v){v.registerNamespaceExport(R.NAMESPACE_OBJECT_EXPORT);me=`${L.supportsConst()?"const":"var"} ${R.NAMESPACE_OBJECT_EXPORT} = ${JSON.stringify(pe)};`}else{q.add(N.module);me=`${N.module}.exports = ${JSON.stringify(pe)};`}return new P(me)}getConcatenationBailoutReason(k,v){return undefined}getTypes(k){return q}getSize(k,v){const E=k.originalSource();if(!E){return 0}return E.size()+12}}k.exports=AssetSourceGenerator},51073:function(k,v,E){"use strict";const P=E(17381);class AssetSourceParser extends P{parse(k,v){if(typeof k==="object"&&!Buffer.isBuffer(k)){throw new Error("AssetSourceParser doesn't accept preparsed AST")}const{module:E}=v;E.buildInfo.strict=true;E.buildMeta.exportsType="default";v.module.buildMeta.defaultObject=false;return v}}k.exports=AssetSourceParser},26619:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(88396);const{ASSET_MODULE_TYPE_RAW_DATA_URL:L}=E(93622);const N=E(56727);const q=E(58528);const ae=new Set(["javascript"]);class RawDataUrlModule extends R{constructor(k,v,E){super(L,null);this.url=k;this.urlBuffer=k?Buffer.from(k):undefined;this.identifierStr=v||this.url;this.readableIdentifierStr=E||this.identifierStr}getSourceTypes(){return ae}identifier(){return this.identifierStr}size(k){if(this.url===undefined)this.url=this.urlBuffer.toString();return Math.max(1,this.url.length)}readableIdentifier(k){return k.shorten(this.readableIdentifierStr)}needBuild(k,v){return v(null,!this.buildMeta)}build(k,v,E,P,R){this.buildMeta={};this.buildInfo={cacheable:true};R()}codeGeneration(k){if(this.url===undefined)this.url=this.urlBuffer.toString();const v=new Map;v.set("javascript",new P(`module.exports = ${JSON.stringify(this.url)};`));const E=new Map;E.set("url",this.urlBuffer);const R=new Set;R.add(N.module);return{sources:v,runtimeRequirements:R,data:E}}updateHash(k,v){k.update(this.urlBuffer);super.updateHash(k,v)}serialize(k){const{write:v}=k;v(this.urlBuffer);v(this.identifierStr);v(this.readableIdentifierStr);super.serialize(k)}deserialize(k){const{read:v}=k;this.urlBuffer=v();this.identifierStr=v();this.readableIdentifierStr=v();super.deserialize(k)}}q(RawDataUrlModule,"webpack/lib/asset/RawDataUrlModule");k.exports=RawDataUrlModule},55770:function(k,v,E){"use strict";const P=E(88113);const R=E(56727);const L=E(95041);class AwaitDependenciesInitFragment extends P{constructor(k){super(undefined,P.STAGE_ASYNC_DEPENDENCIES,0,"await-dependencies");this.promises=k}merge(k){const v=new Set(k.promises);for(const k of this.promises){v.add(k)}return new AwaitDependenciesInitFragment(v)}getContent({runtimeRequirements:k}){k.add(R.module);const v=this.promises;if(v.size===0){return""}if(v.size===1){for(const k of v){return L.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${k}]);`,`${k} = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];`,""])}}const E=Array.from(v).join(", ");return L.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${E}]);`,`([${E}] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);`,""])}}k.exports=AwaitDependenciesInitFragment},53877:function(k,v,E){"use strict";const P=E(69184);class InferAsyncModulesPlugin{apply(k){k.hooks.compilation.tap("InferAsyncModulesPlugin",(k=>{const{moduleGraph:v}=k;k.hooks.finishModules.tap("InferAsyncModulesPlugin",(k=>{const E=new Set;for(const v of k){if(v.buildMeta&&v.buildMeta.async){E.add(v)}}for(const k of E){v.setAsync(k);for(const[R,L]of v.getIncomingConnectionsByOriginModule(k)){if(L.some((k=>k.dependency instanceof P&&k.isTargetActive(undefined)))){E.add(R)}}}}))}))}}k.exports=InferAsyncModulesPlugin},82551:function(k,v,E){"use strict";const P=E(51641);const{connectChunkGroupParentAndChild:R}=E(18467);const L=E(86267);const{getEntryRuntime:N,mergeRuntime:q}=E(1540);const ae=new Set;ae.plus=ae;const bySetSize=(k,v)=>v.size+v.plus.size-k.size-k.plus.size;const extractBlockModules=(k,v,E,P)=>{let R;let N;const q=[];const ae=[k];while(ae.length>0){const k=ae.pop();const v=[];q.push(v);P.set(k,v);for(const v of k.blocks){ae.push(v)}}for(const L of v.getOutgoingConnections(k)){const k=L.dependency;if(!k)continue;const q=L.module;if(!q)continue;if(L.weak)continue;const ae=L.getActiveState(E);if(ae===false)continue;const le=v.getParentBlock(k);let pe=v.getParentBlockIndex(k);if(pe<0){pe=le.dependencies.indexOf(k)}if(R!==le){N=P.get(R=le)}const me=pe<<2;N[me]=q;N[me+1]=ae}for(const k of q){if(k.length===0)continue;let v;let E=0;e:for(let P=0;P30){v=new Map;for(let P=0;P{const{moduleGraph:me,chunkGraph:ye,moduleMemCaches:_e}=v;const Ie=new Map;let Me=false;let Te;const getBlockModules=(v,E)=>{if(Me!==E){Te=Ie.get(E);if(Te===undefined){Te=new Map;Ie.set(E,Te)}}let P=Te.get(v);if(P!==undefined)return P;const R=v.getRootBlock();const L=_e&&_e.get(R);if(L!==undefined){const P=L.provide("bundleChunkGraph.blockModules",E,(()=>{k.time("visitModules: prepare");const v=new Map;extractBlockModules(R,me,E,v);k.timeAggregate("visitModules: prepare");return v}));for(const[k,v]of P)Te.set(k,v);return P.get(v)}else{k.time("visitModules: prepare");extractBlockModules(R,me,E,Te);P=Te.get(v);k.timeAggregate("visitModules: prepare");return P}};let je=0;let Ne=0;let Be=0;let qe=0;let Ue=0;let Ge=0;let He=0;let We=0;let Qe=0;let Je=0;let Ve=0;let Ke=0;let Ye=0;let Xe=0;let Ze=0;let et=0;const tt=new Map;const nt=new Map;const st=new Map;const rt=0;const ot=1;const it=2;const at=3;const ct=4;const lt=5;let ut=[];const pt=new Map;const dt=new Set;for(const[k,P]of E){const E=N(v,k.name,k.options);const L={chunkGroup:k,runtime:E,minAvailableModules:undefined,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0,chunkLoading:k.options.chunkLoading!==undefined?k.options.chunkLoading!==false:v.outputOptions.chunkLoading!==false,asyncChunks:k.options.asyncChunks!==undefined?k.options.asyncChunks:v.outputOptions.asyncChunks!==false};k.index=Xe++;if(k.getNumberOfParents()>0){const k=new Set;for(const v of P){k.add(v)}L.skippedItems=k;dt.add(L)}else{L.minAvailableModules=ae;const v=k.getEntrypointChunk();for(const E of P){ut.push({action:ot,block:E,module:E,chunk:v,chunkGroup:k,chunkGroupInfo:L})}}R.set(k,L);if(k.name){nt.set(k.name,L)}}for(const k of dt){const{chunkGroup:v}=k;k.availableSources=new Set;for(const E of v.parentsIterable){const v=R.get(E);k.availableSources.add(v);if(v.availableChildren===undefined){v.availableChildren=new Set}v.availableChildren.add(k)}}ut.reverse();const ft=new Set;const ht=new Set;let mt=[];const gt=[];const yt=[];const bt=[];let xt;let kt;let vt;let wt;let At;const iteratorBlock=k=>{let E=tt.get(k);let N;let q;const le=k.groupOptions&&k.groupOptions.entryOptions;if(E===undefined){const me=k.groupOptions&&k.groupOptions.name||k.chunkName;if(le){E=st.get(me);if(!E){q=v.addAsyncEntrypoint(le,xt,k.loc,k.request);q.index=Xe++;E={chunkGroup:q,runtime:q.options.runtime||q.name,minAvailableModules:ae,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0,chunkLoading:le.chunkLoading!==undefined?le.chunkLoading!==false:At.chunkLoading,asyncChunks:le.asyncChunks!==undefined?le.asyncChunks:At.asyncChunks};R.set(q,E);ye.connectBlockAndChunkGroup(k,q);if(me){st.set(me,E)}}else{q=E.chunkGroup;q.addOrigin(xt,k.loc,k.request);ye.connectBlockAndChunkGroup(k,q)}mt.push({action:ct,block:k,module:xt,chunk:q.chunks[0],chunkGroup:q,chunkGroupInfo:E})}else if(!At.asyncChunks||!At.chunkLoading){ut.push({action:at,block:k,module:xt,chunk:kt,chunkGroup:vt,chunkGroupInfo:At})}else{E=me&&nt.get(me);if(!E){N=v.addChunkInGroup(k.groupOptions||k.chunkName,xt,k.loc,k.request);N.index=Xe++;E={chunkGroup:N,runtime:At.runtime,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0,chunkLoading:At.chunkLoading,asyncChunks:At.asyncChunks};pe.add(N);R.set(N,E);if(me){nt.set(me,E)}}else{N=E.chunkGroup;if(N.isInitial()){v.errors.push(new P(me,xt,k.loc));N=vt}else{N.addOptions(k.groupOptions)}N.addOrigin(xt,k.loc,k.request)}L.set(k,[])}tt.set(k,E)}else if(le){q=E.chunkGroup}else{N=E.chunkGroup}if(N!==undefined){L.get(k).push({originChunkGroupInfo:At,chunkGroup:N});let v=pt.get(At);if(v===undefined){v=new Set;pt.set(At,v)}v.add(E);mt.push({action:at,block:k,module:xt,chunk:N.chunks[0],chunkGroup:N,chunkGroupInfo:E})}else if(q!==undefined){At.chunkGroup.addAsyncEntrypoint(q)}};const processBlock=k=>{Ne++;const v=getBlockModules(k,At.runtime);if(v!==undefined){const{minAvailableModules:k}=At;for(let E=0;E0){let{skippedModuleConnections:k}=At;if(k===undefined){At.skippedModuleConnections=k=new Set}for(let v=gt.length-1;v>=0;v--){k.add(gt[v])}gt.length=0}if(yt.length>0){let{skippedItems:k}=At;if(k===undefined){At.skippedItems=k=new Set}for(let v=yt.length-1;v>=0;v--){k.add(yt[v])}yt.length=0}if(bt.length>0){for(let k=bt.length-1;k>=0;k--){ut.push(bt[k])}bt.length=0}}for(const v of k.blocks){iteratorBlock(v)}if(k.blocks.length>0&&xt!==k){le.add(k)}};const processEntryBlock=k=>{Ne++;const v=getBlockModules(k,At.runtime);if(v!==undefined){for(let k=0;k0){for(let k=bt.length-1;k>=0;k--){ut.push(bt[k])}bt.length=0}}for(const v of k.blocks){iteratorBlock(v)}if(k.blocks.length>0&&xt!==k){le.add(k)}};const processQueue=()=>{while(ut.length){je++;const k=ut.pop();xt=k.module;wt=k.block;kt=k.chunk;vt=k.chunkGroup;At=k.chunkGroupInfo;switch(k.action){case rt:ye.connectChunkAndEntryModule(kt,xt,vt);case ot:{if(ye.isModuleInChunk(xt,kt)){break}ye.connectChunkAndModule(kt,xt)}case it:{const v=vt.getModulePreOrderIndex(xt);if(v===undefined){vt.setModulePreOrderIndex(xt,At.preOrderIndex++)}if(me.setPreOrderIndexIfUnset(xt,Ze)){Ze++}k.action=lt;ut.push(k)}case at:{processBlock(wt);break}case ct:{processEntryBlock(wt);break}case lt:{const k=vt.getModulePostOrderIndex(xt);if(k===undefined){vt.setModulePostOrderIndex(xt,At.postOrderIndex++)}if(me.setPostOrderIndexIfUnset(xt,et)){et++}break}}}};const calculateResultingAvailableModules=k=>{if(k.resultingAvailableModules)return k.resultingAvailableModules;const v=k.minAvailableModules;let E;if(v.size>v.plus.size){E=new Set;for(const k of v.plus)v.add(k);v.plus=ae;E.plus=v;k.minAvailableModulesOwned=false}else{E=new Set(v);E.plus=v.plus}for(const v of k.chunkGroup.chunks){for(const k of ye.getChunkModulesIterable(v)){E.add(k)}}return k.resultingAvailableModules=E};const processConnectQueue=()=>{for(const[k,v]of pt){if(k.children===undefined){k.children=v}else{for(const E of v){k.children.add(E)}}const E=calculateResultingAvailableModules(k);const P=k.runtime;for(const k of v){k.availableModulesToBeMerged.push(E);ht.add(k);const v=k.runtime;const R=q(v,P);if(v!==R){k.runtime=R;ft.add(k)}}Be+=v.size}pt.clear()};const processChunkGroupsForMerging=()=>{qe+=ht.size;for(const k of ht){const v=k.availableModulesToBeMerged;let E=k.minAvailableModules;Ue+=v.length;if(v.length>1){v.sort(bySetSize)}let P=false;e:for(const R of v){if(E===undefined){E=R;k.minAvailableModules=E;k.minAvailableModulesOwned=false;P=true}else{if(k.minAvailableModulesOwned){if(E.plus===R.plus){for(const k of E){if(!R.has(k)){E.delete(k);P=true}}}else{for(const k of E){if(!R.has(k)&&!R.plus.has(k)){E.delete(k);P=true}}for(const k of E.plus){if(!R.has(k)&&!R.plus.has(k)){const v=E.plus[Symbol.iterator]();let L;while(!(L=v.next()).done){const v=L.value;if(v===k)break;E.add(v)}while(!(L=v.next()).done){const k=L.value;if(R.has(k)||R.plus.has(k)){E.add(k)}}E.plus=ae;P=true;continue e}}}}else if(E.plus===R.plus){if(R.size{for(const k of dt){for(const v of k.availableSources){if(!v.minAvailableModules){dt.delete(k);break}}}for(const k of dt){const v=new Set;v.plus=ae;const mergeSet=k=>{if(k.size>v.plus.size){for(const k of v.plus)v.add(k);v.plus=k}else{for(const E of k)v.add(E)}};for(const v of k.availableSources){const k=calculateResultingAvailableModules(v);mergeSet(k);mergeSet(k.plus)}k.minAvailableModules=v;k.minAvailableModulesOwned=false;k.resultingAvailableModules=undefined;ft.add(k)}dt.clear()};const processOutdatedChunkGroupInfo=()=>{Ke+=ft.size;for(const k of ft){if(k.skippedItems!==undefined){const{minAvailableModules:v}=k;for(const E of k.skippedItems){if(!v.has(E)&&!v.plus.has(E)){ut.push({action:ot,block:E,module:E,chunk:k.chunkGroup.chunks[0],chunkGroup:k.chunkGroup,chunkGroupInfo:k});k.skippedItems.delete(E)}}}if(k.skippedModuleConnections!==undefined){const{minAvailableModules:v}=k;for(const E of k.skippedModuleConnections){const[P,R]=E;if(R===false)continue;if(R===true){k.skippedModuleConnections.delete(E)}if(R===true&&(v.has(P)||v.plus.has(P))){k.skippedItems.add(P);continue}ut.push({action:R===true?ot:at,block:P,module:P,chunk:k.chunkGroup.chunks[0],chunkGroup:k.chunkGroup,chunkGroupInfo:k})}}if(k.children!==undefined){Ye+=k.children.size;for(const v of k.children){let E=pt.get(k);if(E===undefined){E=new Set;pt.set(k,E)}E.add(v)}}if(k.availableChildren!==undefined){for(const v of k.availableChildren){dt.add(v)}}}ft.clear()};while(ut.length||pt.size){k.time("visitModules: visiting");processQueue();k.timeAggregateEnd("visitModules: prepare");k.timeEnd("visitModules: visiting");if(dt.size>0){k.time("visitModules: combine available modules");processChunkGroupsForCombining();k.timeEnd("visitModules: combine available modules")}if(pt.size>0){k.time("visitModules: calculating available modules");processConnectQueue();k.timeEnd("visitModules: calculating available modules");if(ht.size>0){k.time("visitModules: merging available modules");processChunkGroupsForMerging();k.timeEnd("visitModules: merging available modules")}}if(ft.size>0){k.time("visitModules: check modules for revisit");processOutdatedChunkGroupInfo();k.timeEnd("visitModules: check modules for revisit")}if(ut.length===0){const k=ut;ut=mt.reverse();mt=k}}k.log(`${je} queue items processed (${Ne} blocks)`);k.log(`${Be} chunk groups connected`);k.log(`${qe} chunk groups processed for merging (${Ue} module sets, ${Ge} forked, ${He} + ${We} modules forked, ${Qe} + ${Je} modules merged into fork, ${Ve} resulting modules)`);k.log(`${Ke} chunk group info updated (${Ye} already connected chunk groups reconnected)`)};const connectChunkGroups=(k,v,E,P)=>{const{chunkGraph:L}=k;const areModulesAvailable=(k,v)=>{for(const E of k.chunks){for(const k of L.getChunkModulesIterable(E)){if(!v.has(k)&&!v.plus.has(k))return false}}return true};for(const[k,P]of E){if(!v.has(k)&&P.every((({chunkGroup:k,originChunkGroupInfo:v})=>areModulesAvailable(k,v.resultingAvailableModules)))){continue}for(let v=0;v{const{chunkGraph:E}=k;for(const P of v){if(P.getNumberOfParents()===0){for(const v of P.chunks){k.chunks.delete(v);E.disconnectChunk(v)}E.disconnectChunkGroup(P);P.remove()}}};const buildChunkGraph=(k,v)=>{const E=k.getLogger("webpack.buildChunkGraph");const P=new Map;const R=new Set;const L=new Map;const N=new Set;E.time("visitModules");visitModules(E,k,v,L,P,N,R);E.timeEnd("visitModules");E.time("connectChunkGroups");connectChunkGroups(k,N,P,L);E.timeEnd("connectChunkGroups");for(const[k,v]of L){for(const E of k.chunks)E.runtime=q(E.runtime,v.runtime)}E.time("cleanup");cleanupUnconnectedGroups(k,R);E.timeEnd("cleanup")};k.exports=buildChunkGraph},26876:function(k){"use strict";class AddBuildDependenciesPlugin{constructor(k){this.buildDependencies=new Set(k)}apply(k){k.hooks.compilation.tap("AddBuildDependenciesPlugin",(k=>{k.buildDependencies.addAll(this.buildDependencies)}))}}k.exports=AddBuildDependenciesPlugin},79438:function(k){"use strict";class AddManagedPathsPlugin{constructor(k,v){this.managedPaths=new Set(k);this.immutablePaths=new Set(v)}apply(k){for(const v of this.managedPaths){k.managedPaths.add(v)}for(const v of this.immutablePaths){k.immutablePaths.add(v)}}}k.exports=AddManagedPathsPlugin},87251:function(k,v,E){"use strict";const P=E(89802);const R=E(6535);const L=Symbol();class IdleFileCachePlugin{constructor(k,v,E,P){this.strategy=k;this.idleTimeout=v;this.idleTimeoutForInitialStore=E;this.idleTimeoutAfterLargeChanges=P}apply(k){let v=this.strategy;const E=this.idleTimeout;const N=Math.min(E,this.idleTimeoutForInitialStore);const q=this.idleTimeoutAfterLargeChanges;const ae=Promise.resolve();let le=0;let pe=0;let me=0;const ye=new Map;k.cache.hooks.store.tap({name:"IdleFileCachePlugin",stage:P.STAGE_DISK},((k,E,P)=>{ye.set(k,(()=>v.store(k,E,P)))}));k.cache.hooks.get.tapPromise({name:"IdleFileCachePlugin",stage:P.STAGE_DISK},((k,E,P)=>{const restore=()=>v.restore(k,E).then((R=>{if(R===undefined){P.push(((P,R)=>{if(P!==undefined){ye.set(k,(()=>v.store(k,E,P)))}R()}))}else{return R}}));const R=ye.get(k);if(R!==undefined){ye.delete(k);return R().then(restore)}return restore()}));k.cache.hooks.storeBuildDependencies.tap({name:"IdleFileCachePlugin",stage:P.STAGE_DISK},(k=>{ye.set(L,(()=>v.storeBuildDependencies(k)))}));k.cache.hooks.shutdown.tapPromise({name:"IdleFileCachePlugin",stage:P.STAGE_DISK},(()=>{if(Te){clearTimeout(Te);Te=undefined}Ie=false;const E=R.getReporter(k);const P=Array.from(ye.values());if(E)E(0,"process pending cache items");const L=P.map((k=>k()));ye.clear();L.push(_e);const N=Promise.all(L);_e=N.then((()=>v.afterAllStored()));if(E){_e=_e.then((()=>{E(1,`stored`)}))}return _e.then((()=>{if(v.clear)v.clear()}))}));let _e=ae;let Ie=false;let Me=true;const processIdleTasks=()=>{if(Ie){const E=Date.now();if(ye.size>0){const k=[_e];const v=E+100;let P=100;for(const[E,R]of ye){ye.delete(E);k.push(R());if(P--<=0||Date.now()>v)break}_e=Promise.all(k);_e.then((()=>{pe+=Date.now()-E;Te=setTimeout(processIdleTasks,0);Te.unref()}));return}_e=_e.then((async()=>{await v.afterAllStored();pe+=Date.now()-E;me=Math.max(me,pe)*.9+pe*.1;pe=0;le=0})).catch((v=>{const E=k.getInfrastructureLogger("IdleFileCachePlugin");E.warn(`Background tasks during idle failed: ${v.message}`);E.debug(v.stack)}));Me=false}};let Te=undefined;k.cache.hooks.beginIdle.tap({name:"IdleFileCachePlugin",stage:P.STAGE_DISK},(()=>{const v=le>me*2;if(Me&&N{Te=undefined;Ie=true;ae.then(processIdleTasks)}),Math.min(Me?N:Infinity,v?q:Infinity,E));Te.unref()}));k.cache.hooks.endIdle.tap({name:"IdleFileCachePlugin",stage:P.STAGE_DISK},(()=>{if(Te){clearTimeout(Te);Te=undefined}Ie=false}));k.hooks.done.tap("IdleFileCachePlugin",(k=>{le*=.9;le+=k.endTime-k.startTime}))}}k.exports=IdleFileCachePlugin},66494:function(k,v,E){"use strict";const P=E(89802);class MemoryCachePlugin{apply(k){const v=new Map;k.cache.hooks.store.tap({name:"MemoryCachePlugin",stage:P.STAGE_MEMORY},((k,E,P)=>{v.set(k,{etag:E,data:P})}));k.cache.hooks.get.tap({name:"MemoryCachePlugin",stage:P.STAGE_MEMORY},((k,E,P)=>{const R=v.get(k);if(R===null){return null}else if(R!==undefined){return R.etag===E?R.data:null}P.push(((P,R)=>{if(P===undefined){v.set(k,null)}else{v.set(k,{etag:E,data:P})}return R()}))}));k.cache.hooks.shutdown.tap({name:"MemoryCachePlugin",stage:P.STAGE_MEMORY},(()=>{v.clear()}))}}k.exports=MemoryCachePlugin},17882:function(k,v,E){"use strict";const P=E(89802);class MemoryWithGcCachePlugin{constructor({maxGenerations:k}){this._maxGenerations=k}apply(k){const v=this._maxGenerations;const E=new Map;const R=new Map;let L=0;let N=0;const q=k.getInfrastructureLogger("MemoryWithGcCachePlugin");k.hooks.afterDone.tap("MemoryWithGcCachePlugin",(()=>{L++;let k=0;let P;for(const[v,N]of R){if(N.until>L)break;R.delete(v);if(E.get(v)===undefined){E.delete(v);k++;P=v}}if(k>0||R.size>0){q.log(`${E.size-R.size} active entries, ${R.size} recently unused cached entries${k>0?`, ${k} old unused cache entries removed e. g. ${P}`:""}`)}let ae=E.size/v|0;let le=N>=E.size?0:N;N=le+ae;for(const[k,P]of E){if(le!==0){le--;continue}if(P!==undefined){E.set(k,undefined);R.delete(k);R.set(k,{entry:P,until:L+v});if(ae--===0)break}}}));k.cache.hooks.store.tap({name:"MemoryWithGcCachePlugin",stage:P.STAGE_MEMORY},((k,v,P)=>{E.set(k,{etag:v,data:P})}));k.cache.hooks.get.tap({name:"MemoryWithGcCachePlugin",stage:P.STAGE_MEMORY},((k,v,P)=>{const L=E.get(k);if(L===null){return null}else if(L!==undefined){return L.etag===v?L.data:null}const N=R.get(k);if(N!==undefined){const P=N.entry;if(P===null){R.delete(k);E.set(k,P);return null}else{if(P.etag!==v)return null;R.delete(k);E.set(k,P);return P.data}}P.push(((P,R)=>{if(P===undefined){E.set(k,null)}else{E.set(k,{etag:v,data:P})}return R()}))}));k.cache.hooks.shutdown.tap({name:"MemoryWithGcCachePlugin",stage:P.STAGE_MEMORY},(()=>{E.clear();R.clear()}))}}k.exports=MemoryWithGcCachePlugin},30124:function(k,v,E){"use strict";const P=E(18144);const R=E(6535);const{formatSize:L}=E(3386);const N=E(5505);const q=E(12359);const ae=E(58528);const le=E(20631);const{createFileSerializer:pe,NOT_SERIALIZABLE:me}=E(52456);class PackContainer{constructor(k,v,E,P,R,L){this.data=k;this.version=v;this.buildSnapshot=E;this.buildDependencies=P;this.resolveResults=R;this.resolveBuildDependenciesSnapshot=L}serialize({write:k,writeLazy:v}){k(this.version);k(this.buildSnapshot);k(this.buildDependencies);k(this.resolveResults);k(this.resolveBuildDependenciesSnapshot);v(this.data)}deserialize({read:k}){this.version=k();this.buildSnapshot=k();this.buildDependencies=k();this.resolveResults=k();this.resolveBuildDependenciesSnapshot=k();this.data=k()}}ae(PackContainer,"webpack/lib/cache/PackFileCacheStrategy","PackContainer");const ye=1024*1024;const _e=10;const Ie=100;const Me=5e4;const Te=1*60*1e3;class PackItemInfo{constructor(k,v,E){this.identifier=k;this.etag=v;this.location=-1;this.lastAccess=Date.now();this.freshValue=E}}class Pack{constructor(k,v){this.itemInfo=new Map;this.requests=[];this.requestsTimeout=undefined;this.freshContent=new Map;this.content=[];this.invalid=false;this.logger=k;this.maxAge=v}_addRequest(k){this.requests.push(k);if(this.requestsTimeout===undefined){this.requestsTimeout=setTimeout((()=>{this.requests.push(undefined);this.requestsTimeout=undefined}),Te);if(this.requestsTimeout.unref)this.requestsTimeout.unref()}}stopCapturingRequests(){if(this.requestsTimeout!==undefined){clearTimeout(this.requestsTimeout);this.requestsTimeout=undefined}}get(k,v){const E=this.itemInfo.get(k);this._addRequest(k);if(E===undefined){return undefined}if(E.etag!==v)return null;E.lastAccess=Date.now();const P=E.location;if(P===-1){return E.freshValue}else{if(!this.content[P]){return undefined}return this.content[P].get(k)}}set(k,v,E){if(!this.invalid){this.invalid=true;this.logger.log(`Pack got invalid because of write to: ${k}`)}const P=this.itemInfo.get(k);if(P===undefined){const P=new PackItemInfo(k,v,E);this.itemInfo.set(k,P);this._addRequest(k);this.freshContent.set(k,P)}else{const R=P.location;if(R>=0){this._addRequest(k);this.freshContent.set(k,P);const v=this.content[R];v.delete(k);if(v.items.size===0){this.content[R]=undefined;this.logger.debug("Pack %d got empty and is removed",R)}}P.freshValue=E;P.lastAccess=Date.now();P.etag=v;P.location=-1}}getContentStats(){let k=0;let v=0;for(const E of this.content){if(E!==undefined){k++;const P=E.getSize();if(P>0){v+=P}}}return{count:k,size:v}}_findLocation(){let k;for(k=0;kthis.maxAge){this.itemInfo.delete(N);k.delete(N);v.delete(N);P++;R=N}else{q.location=E}}if(P>0){this.logger.log("Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s",P,E,k.size,R)}}_persistFreshContent(){const k=this.freshContent.size;if(k>0){const v=Math.ceil(k/Me);const E=Math.ceil(k/v);const P=[];let R=0;let L=false;const createNextPack=()=>{const k=this._findLocation();this.content[k]=null;const v={items:new Set,map:new Map,loc:k};P.push(v);return v};let N=createNextPack();if(this.requestsTimeout!==undefined)clearTimeout(this.requestsTimeout);for(const k of this.requests){if(k===undefined){if(L){L=false}else if(N.items.size>=Ie){R=0;N=createNextPack()}continue}const v=this.freshContent.get(k);if(v===undefined)continue;N.items.add(k);N.map.set(k,v.freshValue);v.location=N.loc;v.freshValue=undefined;this.freshContent.delete(k);if(++R>E){R=0;N=createNextPack();L=true}}this.requests.length=0;for(const k of P){this.content[k.loc]=new PackContent(k.items,new Set(k.items),new PackContentItems(k.map))}this.logger.log(`${k} fresh items in cache put into pack ${P.length>1?P.map((k=>`${k.loc} (${k.items.size} items)`)).join(", "):P[0].loc}`)}}_optimizeSmallContent(){const k=[];let v=0;const E=[];let P=0;for(let R=0;Rye)continue;if(L.used.size>0){k.push(R);v+=N}else{E.push(R);P+=N}}let R;if(k.length>=_e||v>ye){R=k}else if(E.length>=_e||P>ye){R=E}else return;const L=[];for(const k of R){L.push(this.content[k]);this.content[k]=undefined}const N=new Set;const q=new Set;const ae=[];for(const k of L){for(const v of k.items){N.add(v)}for(const v of k.used){q.add(v)}ae.push((async v=>{await k.unpack("it should be merged with other small pack contents");for(const[E,P]of k.content){v.set(E,P)}}))}const pe=this._findLocation();this._gcAndUpdateLocation(N,q,pe);if(N.size>0){this.content[pe]=new PackContent(N,q,le((async()=>{const k=new Map;await Promise.all(ae.map((v=>v(k))));return new PackContentItems(k)})));this.logger.log("Merged %d small files with %d cache items into pack %d",L.length,N.size,pe)}}_optimizeUnusedContent(){for(let k=0;k0&&P0){this.content[P]=new PackContent(E,new Set(E),(async()=>{await v.unpack("it should be splitted into used and unused items");const k=new Map;for(const P of E){k.set(P,v.content.get(P))}return new PackContentItems(k)}))}const R=new Set(v.items);const L=new Set;for(const k of E){R.delete(k)}const N=this._findLocation();this._gcAndUpdateLocation(R,L,N);if(R.size>0){this.content[N]=new PackContent(R,L,(async()=>{await v.unpack("it should be splitted into used and unused items");const k=new Map;for(const E of R){k.set(E,v.content.get(E))}return new PackContentItems(k)}))}this.logger.log("Split pack %d into pack %d with %d used items and pack %d with %d unused items",k,P,E.size,N,R.size);return}}}_gcOldestContent(){let k=undefined;for(const v of this.itemInfo.values()){if(k===undefined||v.lastAccessthis.maxAge){const v=k.location;if(v<0)return;const E=this.content[v];const P=new Set(E.items);const R=new Set(E.used);this._gcAndUpdateLocation(P,R,v);this.content[v]=P.size>0?new PackContent(P,R,(async()=>{await E.unpack("it contains old items that should be garbage collected");const k=new Map;for(const v of P){k.set(v,E.content.get(v))}return new PackContentItems(k)})):undefined}}serialize({write:k,writeSeparate:v}){this._persistFreshContent();this._optimizeSmallContent();this._optimizeUnusedContent();this._gcOldestContent();for(const v of this.itemInfo.keys()){k(v)}k(null);for(const v of this.itemInfo.values()){k(v.etag)}for(const v of this.itemInfo.values()){k(v.lastAccess)}for(let E=0;Ev(k,{name:`${E}`})))}else{k(undefined)}}k(null)}deserialize({read:k,logger:v}){this.logger=v;{const v=[];let E=k();while(E!==null){v.push(E);E=k()}this.itemInfo.clear();const P=v.map((k=>{const v=new PackItemInfo(k,undefined,undefined);this.itemInfo.set(k,v);return v}));for(const v of P){v.etag=k()}for(const v of P){v.lastAccess=k()}}this.content.length=0;let E=k();while(E!==null){if(E===undefined){this.content.push(E)}else{const P=this.content.length;const R=k();this.content.push(new PackContent(E,new Set,R,v,`${this.content.length}`));for(const k of E){this.itemInfo.get(k).location=P}}E=k()}}}ae(Pack,"webpack/lib/cache/PackFileCacheStrategy","Pack");class PackContentItems{constructor(k){this.map=k}serialize({write:k,snapshot:v,rollback:E,logger:P,profile:R}){if(R){k(false);for(const[R,L]of this.map){const N=v();try{k(R);const v=process.hrtime();k(L);const E=process.hrtime(v);const N=E[0]*1e3+E[1]/1e6;if(N>1){if(N>500)P.error(`Serialization of '${R}': ${N} ms`);else if(N>50)P.warn(`Serialization of '${R}': ${N} ms`);else if(N>10)P.info(`Serialization of '${R}': ${N} ms`);else if(N>5)P.log(`Serialization of '${R}': ${N} ms`);else P.debug(`Serialization of '${R}': ${N} ms`)}}catch(k){E(N);if(k===me)continue;const v="Skipped not serializable cache item";if(k.message.includes("ModuleBuildError")){P.log(`${v} (in build error): ${k.message}`);P.debug(`${v} '${R}' (in build error): ${k.stack}`)}else{P.warn(`${v}: ${k.message}`);P.debug(`${v} '${R}': ${k.stack}`)}}}k(null);return}const L=v();try{k(true);k(this.map)}catch(R){E(L);k(false);for(const[R,L]of this.map){const N=v();try{k(R);k(L)}catch(k){E(N);if(k===me)continue;P.warn(`Skipped not serializable cache item '${R}': ${k.message}`);P.debug(k.stack)}}k(null)}}deserialize({read:k,logger:v,profile:E}){if(k()){this.map=k()}else if(E){const E=new Map;let P=k();while(P!==null){const R=process.hrtime();const L=k();const N=process.hrtime(R);const q=N[0]*1e3+N[1]/1e6;if(q>1){if(q>100)v.error(`Deserialization of '${P}': ${q} ms`);else if(q>20)v.warn(`Deserialization of '${P}': ${q} ms`);else if(q>5)v.info(`Deserialization of '${P}': ${q} ms`);else if(q>2)v.log(`Deserialization of '${P}': ${q} ms`);else v.debug(`Deserialization of '${P}': ${q} ms`)}E.set(P,L);P=k()}this.map=E}else{const v=new Map;let E=k();while(E!==null){v.set(E,k());E=k()}this.map=v}}}ae(PackContentItems,"webpack/lib/cache/PackFileCacheStrategy","PackContentItems");class PackContent{constructor(k,v,E,P,R){this.items=k;this.lazy=typeof E==="function"?E:undefined;this.content=typeof E==="function"?undefined:E.map;this.outdated=false;this.used=v;this.logger=P;this.lazyName=R}get(k){this.used.add(k);if(this.content){return this.content.get(k)}const{lazyName:v}=this;let E;if(v){this.lazyName=undefined;E=`restore cache content ${v} (${L(this.getSize())})`;this.logger.log(`starting to restore cache content ${v} (${L(this.getSize())}) because of request to: ${k}`);this.logger.time(E)}const P=this.lazy();if("then"in P){return P.then((v=>{const P=v.map;if(E){this.logger.timeEnd(E)}this.content=P;this.lazy=N.unMemoizeLazy(this.lazy);return P.get(k)}))}else{const v=P.map;if(E){this.logger.timeEnd(E)}this.content=v;this.lazy=N.unMemoizeLazy(this.lazy);return v.get(k)}}unpack(k){if(this.content)return;if(this.lazy){const{lazyName:v}=this;let E;if(v){this.lazyName=undefined;E=`unpack cache content ${v} (${L(this.getSize())})`;this.logger.log(`starting to unpack cache content ${v} (${L(this.getSize())}) because ${k}`);this.logger.time(E)}const P=this.lazy();if("then"in P){return P.then((k=>{if(E){this.logger.timeEnd(E)}this.content=k.map}))}else{if(E){this.logger.timeEnd(E)}this.content=P.map}}}getSize(){if(!this.lazy)return-1;const k=this.lazy.options;if(!k)return-1;const v=k.size;if(typeof v!=="number")return-1;return v}delete(k){this.items.delete(k);this.used.delete(k);this.outdated=true}writeLazy(k){if(!this.outdated&&this.lazy){k(this.lazy);return}if(!this.outdated&&this.content){const v=new Map(this.content);this.lazy=N.unMemoizeLazy(k((()=>new PackContentItems(v))));return}if(this.content){const v=new Map;for(const k of this.items){v.set(k,this.content.get(k))}this.outdated=false;this.content=v;this.lazy=N.unMemoizeLazy(k((()=>new PackContentItems(v))));return}const{lazyName:v}=this;let E;if(v){this.lazyName=undefined;E=`unpack cache content ${v} (${L(this.getSize())})`;this.logger.log(`starting to unpack cache content ${v} (${L(this.getSize())}) because it's outdated and need to be serialized`);this.logger.time(E)}const P=this.lazy();this.outdated=false;if("then"in P){this.lazy=k((()=>P.then((k=>{if(E){this.logger.timeEnd(E)}const v=k.map;const P=new Map;for(const k of this.items){P.set(k,v.get(k))}this.content=P;this.lazy=N.unMemoizeLazy(this.lazy);return new PackContentItems(P)}))))}else{if(E){this.logger.timeEnd(E)}const v=P.map;const R=new Map;for(const k of this.items){R.set(k,v.get(k))}this.content=R;this.lazy=k((()=>new PackContentItems(R)))}}}const allowCollectingMemory=k=>{const v=k.buffer.byteLength-k.byteLength;if(v>8192&&(v>1048576||v>k.byteLength)){return Buffer.from(k)}return k};class PackFileCacheStrategy{constructor({compiler:k,fs:v,context:E,cacheLocation:R,version:L,logger:N,snapshot:ae,maxAge:le,profile:me,allowCollectingMemory:ye,compression:_e,readonly:Ie}){this.fileSerializer=pe(v,k.options.output.hashFunction);this.fileSystemInfo=new P(v,{managedPaths:ae.managedPaths,immutablePaths:ae.immutablePaths,logger:N.getChildLogger("webpack.FileSystemInfo"),hashFunction:k.options.output.hashFunction});this.compiler=k;this.context=E;this.cacheLocation=R;this.version=L;this.logger=N;this.maxAge=le;this.profile=me;this.readonly=Ie;this.allowCollectingMemory=ye;this.compression=_e;this._extension=_e==="brotli"?".pack.br":_e==="gzip"?".pack.gz":".pack";this.snapshot=ae;this.buildDependencies=new Set;this.newBuildDependencies=new q;this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=this._openPack();this.storePromise=Promise.resolve()}_getPack(){if(this.packPromise===undefined){this.packPromise=this.storePromise.then((()=>this._openPack()))}return this.packPromise}_openPack(){const{logger:k,profile:v,cacheLocation:E,version:P}=this;let R;let L;let N;let q;let ae;k.time("restore cache container");return this.fileSerializer.deserialize(null,{filename:`${E}/index${this._extension}`,extension:`${this._extension}`,logger:k,profile:v,retainedBuffer:this.allowCollectingMemory?allowCollectingMemory:undefined}).catch((v=>{if(v.code!=="ENOENT"){k.warn(`Restoring pack failed from ${E}${this._extension}: ${v}`);k.debug(v.stack)}else{k.debug(`No pack exists at ${E}${this._extension}: ${v}`)}return undefined})).then((v=>{k.timeEnd("restore cache container");if(!v)return undefined;if(!(v instanceof PackContainer)){k.warn(`Restored pack from ${E}${this._extension}, but contained content is unexpected.`,v);return undefined}if(v.version!==P){k.log(`Restored pack from ${E}${this._extension}, but version doesn't match.`);return undefined}k.time("check build dependencies");return Promise.all([new Promise(((P,L)=>{this.fileSystemInfo.checkSnapshotValid(v.buildSnapshot,((L,N)=>{if(L){k.log(`Restored pack from ${E}${this._extension}, but checking snapshot of build dependencies errored: ${L}.`);k.debug(L.stack);return P(false)}if(!N){k.log(`Restored pack from ${E}${this._extension}, but build dependencies have changed.`);return P(false)}R=v.buildSnapshot;return P(true)}))})),new Promise(((P,R)=>{this.fileSystemInfo.checkSnapshotValid(v.resolveBuildDependenciesSnapshot,((R,le)=>{if(R){k.log(`Restored pack from ${E}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${R}.`);k.debug(R.stack);return P(false)}if(le){q=v.resolveBuildDependenciesSnapshot;L=v.buildDependencies;ae=v.resolveResults;return P(true)}k.log("resolving of build dependencies is invalid, will re-resolve build dependencies");this.fileSystemInfo.checkResolveResultsValid(v.resolveResults,((R,L)=>{if(R){k.log(`Restored pack from ${E}${this._extension}, but resolving of build dependencies errored: ${R}.`);k.debug(R.stack);return P(false)}if(L){N=v.buildDependencies;ae=v.resolveResults;return P(true)}k.log(`Restored pack from ${E}${this._extension}, but build dependencies resolve to different locations.`);return P(false)}))}))}))]).catch((v=>{k.timeEnd("check build dependencies");throw v})).then((([E,P])=>{k.timeEnd("check build dependencies");if(E&&P){k.time("restore cache content metadata");const E=v.data();k.timeEnd("restore cache content metadata");return E}return undefined}))})).then((v=>{if(v){v.maxAge=this.maxAge;this.buildSnapshot=R;if(L)this.buildDependencies=L;if(N)this.newBuildDependencies.addAll(N);this.resolveResults=ae;this.resolveBuildDependenciesSnapshot=q;return v}return new Pack(k,this.maxAge)})).catch((v=>{this.logger.warn(`Restoring pack from ${E}${this._extension} failed: ${v}`);this.logger.debug(v.stack);return new Pack(k,this.maxAge)}))}store(k,v,E){if(this.readonly)return Promise.resolve();return this._getPack().then((P=>{P.set(k,v===null?null:v.toString(),E)}))}restore(k,v){return this._getPack().then((E=>E.get(k,v===null?null:v.toString()))).catch((v=>{if(v&&v.code!=="ENOENT"){this.logger.warn(`Restoring failed for ${k} from pack: ${v}`);this.logger.debug(v.stack)}}))}storeBuildDependencies(k){if(this.readonly)return;this.newBuildDependencies.addAll(k)}afterAllStored(){const k=this.packPromise;if(k===undefined)return Promise.resolve();const v=R.getReporter(this.compiler);return this.storePromise=k.then((k=>{k.stopCapturingRequests();if(!k.invalid)return;this.packPromise=undefined;this.logger.log(`Storing pack...`);let E;const P=new Set;for(const k of this.newBuildDependencies){if(!this.buildDependencies.has(k)){P.add(k)}}if(P.size>0||!this.buildSnapshot){if(v)v(.5,"resolve build dependencies");this.logger.debug(`Capturing build dependencies... (${Array.from(P).join(", ")})`);E=new Promise(((k,E)=>{this.logger.time("resolve build dependencies");this.fileSystemInfo.resolveBuildDependencies(this.context,P,((P,R)=>{this.logger.timeEnd("resolve build dependencies");if(P)return E(P);this.logger.time("snapshot build dependencies");const{files:L,directories:N,missing:q,resolveResults:ae,resolveDependencies:le}=R;if(this.resolveResults){for(const[k,v]of ae){this.resolveResults.set(k,v)}}else{this.resolveResults=ae}if(v){v(.6,"snapshot build dependencies","resolving")}this.fileSystemInfo.createSnapshot(undefined,le.files,le.directories,le.missing,this.snapshot.resolveBuildDependencies,((P,R)=>{if(P){this.logger.timeEnd("snapshot build dependencies");return E(P)}if(!R){this.logger.timeEnd("snapshot build dependencies");return E(new Error("Unable to snapshot resolve dependencies"))}if(this.resolveBuildDependenciesSnapshot){this.resolveBuildDependenciesSnapshot=this.fileSystemInfo.mergeSnapshots(this.resolveBuildDependenciesSnapshot,R)}else{this.resolveBuildDependenciesSnapshot=R}if(v){v(.7,"snapshot build dependencies","modules")}this.fileSystemInfo.createSnapshot(undefined,L,N,q,this.snapshot.buildDependencies,((v,P)=>{this.logger.timeEnd("snapshot build dependencies");if(v)return E(v);if(!P){return E(new Error("Unable to snapshot build dependencies"))}this.logger.debug("Captured build dependencies");if(this.buildSnapshot){this.buildSnapshot=this.fileSystemInfo.mergeSnapshots(this.buildSnapshot,P)}else{this.buildSnapshot=P}k()}))}))}))}))}else{E=Promise.resolve()}return E.then((()=>{if(v)v(.8,"serialize pack");this.logger.time(`store pack`);const E=new Set(this.buildDependencies);for(const k of P){E.add(k)}const R=new PackContainer(k,this.version,this.buildSnapshot,E,this.resolveResults,this.resolveBuildDependenciesSnapshot);return this.fileSerializer.serialize(R,{filename:`${this.cacheLocation}/index${this._extension}`,extension:`${this._extension}`,logger:this.logger,profile:this.profile}).then((()=>{for(const k of P){this.buildDependencies.add(k)}this.newBuildDependencies.clear();this.logger.timeEnd(`store pack`);const v=k.getContentStats();this.logger.log("Stored pack (%d items, %d files, %d MiB)",k.itemInfo.size,v.count,Math.round(v.size/1024/1024))})).catch((k=>{this.logger.timeEnd(`store pack`);this.logger.warn(`Caching failed for pack: ${k}`);this.logger.debug(k.stack)}))}))})).catch((k=>{this.logger.warn(`Caching failed for pack: ${k}`);this.logger.debug(k.stack)}))}clear(){this.fileSystemInfo.clear();this.buildDependencies.clear();this.newBuildDependencies.clear();this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=undefined}}k.exports=PackFileCacheStrategy},6247:function(k,v,E){"use strict";const P=E(12359);const R=E(58528);class CacheEntry{constructor(k,v){this.result=k;this.snapshot=v}serialize({write:k}){k(this.result);k(this.snapshot)}deserialize({read:k}){this.result=k();this.snapshot=k()}}R(CacheEntry,"webpack/lib/cache/ResolverCachePlugin");const addAllToSet=(k,v)=>{if(k instanceof P){k.addAll(v)}else{for(const E of v){k.add(E)}}};const objectToString=(k,v)=>{let E="";for(const P in k){if(v&&P==="context")continue;const R=k[P];if(typeof R==="object"&&R!==null){E+=`|${P}=[${objectToString(R,false)}|]`}else{E+=`|${P}=|${R}`}}return E};class ResolverCachePlugin{apply(k){const v=k.getCache("ResolverCachePlugin");let E;let R;let L=0;let N=0;let q=0;let ae=0;k.hooks.thisCompilation.tap("ResolverCachePlugin",(k=>{R=k.options.snapshot.resolve;E=k.fileSystemInfo;k.hooks.finishModules.tap("ResolverCachePlugin",(()=>{if(L+N>0){const v=k.getLogger("webpack.ResolverCachePlugin");v.log(`${Math.round(100*L/(L+N))}% really resolved (${L} real resolves with ${q} cached but invalid, ${N} cached valid, ${ae} concurrent)`);L=0;N=0;q=0;ae=0}}))}));const doRealResolve=(k,v,N,q,ae)=>{L++;const le={_ResolverCachePluginCacheMiss:true,...q};const pe={...N,stack:new Set,missingDependencies:new P,fileDependencies:new P,contextDependencies:new P};let me;let ye=false;if(typeof pe.yield==="function"){me=[];ye=true;pe.yield=k=>me.push(k)}const propagate=k=>{if(N[k]){addAllToSet(N[k],pe[k])}};const _e=Date.now();v.doResolve(v.hooks.resolve,le,"Cache miss",pe,((v,P)=>{propagate("fileDependencies");propagate("contextDependencies");propagate("missingDependencies");if(v)return ae(v);const L=pe.fileDependencies;const N=pe.contextDependencies;const q=pe.missingDependencies;E.createSnapshot(_e,L,N,q,R,((v,E)=>{if(v)return ae(v);const R=ye?me:P;if(ye&&P)me.push(P);if(!E){if(R)return ae(null,R);return ae()}k.store(new CacheEntry(R,E),(k=>{if(k)return ae(k);if(R)return ae(null,R);ae()}))}))}))};k.resolverFactory.hooks.resolver.intercept({factory(k,P){const R=new Map;const L=new Map;P.tap("ResolverCachePlugin",((P,ae,le)=>{if(ae.cache!==true)return;const pe=objectToString(le,false);const me=ae.cacheWithContext!==undefined?ae.cacheWithContext:false;P.hooks.resolve.tapAsync({name:"ResolverCachePlugin",stage:-100},((ae,le,ye)=>{if(ae._ResolverCachePluginCacheMiss||!E){return ye()}const _e=typeof le.yield==="function";const Ie=`${k}${_e?"|yield":"|default"}${pe}${objectToString(ae,!me)}`;if(_e){const k=L.get(Ie);if(k){k[0].push(ye);k[1].push(le.yield);return}}else{const k=R.get(Ie);if(k){k.push(ye);return}}const Me=v.getItemCache(Ie,null);let Te,je;const Ne=_e?(k,v)=>{if(Te===undefined){if(k){ye(k)}else{if(v)for(const k of v)le.yield(k);ye(null,null)}je=undefined;Te=false}else{if(k){for(const v of Te)v(k)}else{for(let k=0;k{if(Te===undefined){ye(k,v);Te=false}else{for(const E of Te){E(k,v)}R.delete(Ie);Te=false}};const processCacheResult=(k,v)=>{if(k)return Ne(k);if(v){const{snapshot:k,result:R}=v;E.checkSnapshotValid(k,((v,E)=>{if(v||!E){q++;return doRealResolve(Me,P,le,ae,Ne)}N++;if(le.missingDependencies){addAllToSet(le.missingDependencies,k.getMissingIterable())}if(le.fileDependencies){addAllToSet(le.fileDependencies,k.getFileIterable())}if(le.contextDependencies){addAllToSet(le.contextDependencies,k.getContextIterable())}Ne(null,R)}))}else{doRealResolve(Me,P,le,ae,Ne)}};Me.get(processCacheResult);if(_e&&Te===undefined){Te=[ye];je=[le.yield];L.set(Ie,[Te,je])}else if(Te===undefined){Te=[ye];R.set(Ie,Te)}}))}));return P}})}}k.exports=ResolverCachePlugin},76222:function(k,v,E){"use strict";const P=E(74012);class LazyHashedEtag{constructor(k,v="md4"){this._obj=k;this._hash=undefined;this._hashFunction=v}toString(){if(this._hash===undefined){const k=P(this._hashFunction);this._obj.updateHash(k);this._hash=k.digest("base64")}return this._hash}}const R=new Map;const L=new WeakMap;const getter=(k,v="md4")=>{let E;if(typeof v==="string"){E=R.get(v);if(E===undefined){const P=new LazyHashedEtag(k,v);E=new WeakMap;E.set(k,P);R.set(v,E);return P}}else{E=L.get(v);if(E===undefined){const P=new LazyHashedEtag(k,v);E=new WeakMap;E.set(k,P);L.set(v,E);return P}}const P=E.get(k);if(P!==undefined)return P;const N=new LazyHashedEtag(k,v);E.set(k,N);return N};k.exports=getter},87045:function(k){"use strict";class MergedEtag{constructor(k,v){this.a=k;this.b=v}toString(){return`${this.a.toString()}|${this.b.toString()}`}}const v=new WeakMap;const E=new WeakMap;const mergeEtags=(k,P)=>{if(typeof k==="string"){if(typeof P==="string"){return`${k}|${P}`}else{const v=P;P=k;k=v}}else{if(typeof P!=="string"){let E=v.get(k);if(E===undefined){v.set(k,E=new WeakMap)}const R=E.get(P);if(R===undefined){const v=new MergedEtag(k,P);E.set(P,v);return v}else{return R}}}let R=E.get(k);if(R===undefined){E.set(k,R=new Map)}const L=R.get(P);if(L===undefined){const v=new MergedEtag(k,P);R.set(P,v);return v}else{return L}};k.exports=mergeEtags},20069:function(k,v,E){"use strict";const P=E(71017);const R=E(98625);const getArguments=(k=R)=>{const v={};const pathToArgumentName=k=>k.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 getSchemaPart=v=>{const E=v.split("/");let P=k;for(let k=1;k{for(const{schema:v}of k){if(v.cli){if(v.cli.helper)continue;if(v.cli.description)return v.cli.description}if(v.description)return v.description}};const getNegatedDescription=k=>{for(const{schema:v}of k){if(v.cli){if(v.cli.helper)continue;if(v.cli.negatedDescription)return v.cli.negatedDescription}}};const getResetDescription=k=>{for(const{schema:v}of k){if(v.cli){if(v.cli.helper)continue;if(v.cli.resetDescription)return v.cli.resetDescription}}};const schemaToArgumentConfig=k=>{if(k.enum){return{type:"enum",values:k.enum}}switch(k.type){case"number":return{type:"number"};case"string":return{type:k.absolutePath?"path":"string"};case"boolean":return{type:"boolean"}}if(k.instanceof==="RegExp"){return{type:"RegExp"}}return undefined};const addResetFlag=k=>{const E=k[0].path;const P=pathToArgumentName(`${E}.reset`);const R=getResetDescription(k)||`Clear all items provided in '${E}' configuration. ${getDescription(k)}`;v[P]={configs:[{type:"reset",multiple:false,description:R,path:E}],description:undefined,simpleType:undefined,multiple:undefined}};const addFlag=(k,E)=>{const P=schemaToArgumentConfig(k[0].schema);if(!P)return 0;const R=getNegatedDescription(k);const L=pathToArgumentName(k[0].path);const N={...P,multiple:E,description:getDescription(k),path:k[0].path};if(R){N.negatedDescription=R}if(!v[L]){v[L]={configs:[],description:undefined,simpleType:undefined,multiple:undefined}}if(v[L].configs.some((k=>JSON.stringify(k)===JSON.stringify(N)))){return 0}if(v[L].configs.some((k=>k.type===N.type&&k.multiple!==E))){if(E){throw new Error(`Conflicting schema for ${k[0].path} with ${N.type} type (array type must be before single item type)`)}return 0}v[L].configs.push(N);return 1};const traverse=(k,v="",E=[],P=null)=>{while(k.$ref){k=getSchemaPart(k.$ref)}const R=E.filter((({schema:v})=>v===k));if(R.length>=2||R.some((({path:k})=>k===v))){return 0}if(k.cli&&k.cli.exclude)return 0;const L=[{schema:k,path:v},...E];let N=0;N+=addFlag(L,!!P);if(k.type==="object"){if(k.properties){for(const E of Object.keys(k.properties)){N+=traverse(k.properties[E],v?`${v}.${E}`:E,L,P)}}return N}if(k.type==="array"){if(P){return 0}if(Array.isArray(k.items)){let E=0;for(const P of k.items){N+=traverse(P,`${v}.${E}`,L,v)}return N}N+=traverse(k.items,`${v}[]`,L,v);if(N>0){addResetFlag(L);N++}return N}const q=k.oneOf||k.anyOf||k.allOf;if(q){const k=q;for(let E=0;E{if(!k)return v;if(!v)return k;if(k.includes(v))return k;return`${k} ${v}`}),undefined);E.simpleType=E.configs.reduce(((k,v)=>{let E="string";switch(v.type){case"number":E="number";break;case"reset":case"boolean":E="boolean";break;case"enum":if(v.values.every((k=>typeof k==="boolean")))E="boolean";if(v.values.every((k=>typeof k==="number")))E="number";break}if(k===undefined)return E;return k===E?k:"string"}),undefined);E.multiple=E.configs.some((k=>k.multiple))}return v};const L=new WeakMap;const getObjectAndProperty=(k,v,E=0)=>{if(!v)return{value:k};const P=v.split(".");let R=P.pop();let N=k;let q=0;for(const k of P){const v=k.endsWith("[]");const R=v?k.slice(0,-2):k;let ae=N[R];if(v){if(ae===undefined){ae={};N[R]=[...Array.from({length:E}),ae];L.set(N[R],E+1)}else if(!Array.isArray(ae)){return{problem:{type:"unexpected-non-array-in-path",path:P.slice(0,q).join(".")}}}else{let k=L.get(ae)||0;while(k<=E){ae.push(undefined);k++}L.set(ae,k);const v=ae.length-k+E;if(ae[v]===undefined){ae[v]={}}else if(ae[v]===null||typeof ae[v]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:P.slice(0,q).join(".")}}}ae=ae[v]}}else{if(ae===undefined){ae=N[R]={}}else if(ae===null||typeof ae!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:P.slice(0,q).join(".")}}}}N=ae;q++}let ae=N[R];if(R.endsWith("[]")){const k=R.slice(0,-2);const P=N[k];if(P===undefined){N[k]=[...Array.from({length:E}),undefined];L.set(N[k],E+1);return{object:N[k],property:E,value:undefined}}else if(!Array.isArray(P)){N[k]=[P,...Array.from({length:E}),undefined];L.set(N[k],E+1);return{object:N[k],property:E+1,value:undefined}}else{let k=L.get(P)||0;while(k<=E){P.push(undefined);k++}L.set(P,k);const R=P.length-k+E;if(P[R]===undefined){P[R]={}}else if(P[R]===null||typeof P[R]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:v}}}return{object:P,property:R,value:P[R]}}}return{object:N,property:R,value:ae}};const setValue=(k,v,E,P)=>{const{problem:R,object:L,property:N}=getObjectAndProperty(k,v,P);if(R)return R;L[N]=E;return null};const processArgumentConfig=(k,v,E,P)=>{if(P!==undefined&&!k.multiple){return{type:"multiple-values-unexpected",path:k.path}}const R=parseValueForArgumentConfig(k,E);if(R===undefined){return{type:"invalid-value",path:k.path,expected:getExpectedValue(k)}}const L=setValue(v,k.path,R,P);if(L)return L;return null};const getExpectedValue=k=>{switch(k.type){default:return k.type;case"boolean":return"true | false";case"RegExp":return"regular expression (example: /ab?c*/)";case"enum":return k.values.map((k=>`${k}`)).join(" | ");case"reset":return"true (will reset the previous value to an empty array)"}};const parseValueForArgumentConfig=(k,v)=>{switch(k.type){case"string":if(typeof v==="string"){return v}break;case"path":if(typeof v==="string"){return P.resolve(v)}break;case"number":if(typeof v==="number")return v;if(typeof v==="string"&&/^[+-]?\d*(\.\d*)[eE]\d+$/){const k=+v;if(!isNaN(k))return k}break;case"boolean":if(typeof v==="boolean")return v;if(v==="true")return true;if(v==="false")return false;break;case"RegExp":if(v instanceof RegExp)return v;if(typeof v==="string"){const k=/^\/(.*)\/([yugi]*)$/.exec(v);if(k&&!/[^\\]\//.test(k[1]))return new RegExp(k[1],k[2])}break;case"enum":if(k.values.includes(v))return v;for(const E of k.values){if(`${E}`===v)return E}break;case"reset":if(v===true)return[];break}};const processArguments=(k,v,E)=>{const P=[];for(const R of Object.keys(E)){const L=k[R];if(!L){P.push({type:"unknown-argument",path:"",argument:R});continue}const processValue=(k,E)=>{const N=[];for(const P of L.configs){const L=processArgumentConfig(P,v,k,E);if(!L){return}N.push({...L,argument:R,value:k,index:E})}P.push(...N)};let N=E[R];if(Array.isArray(N)){for(let k=0;k{if(!k){return{}}if(R.isAbsolute(k)){const[,v,E]=L.exec(k)||[];return{configPath:v,env:E}}const E=P.findConfig(v);if(E&&Object.keys(E).includes(k)){return{env:k}}return{query:k}};const load=(k,v)=>{const{configPath:E,env:R,query:L}=parse(k,v);const N=L?L:E?P.loadConfig({config:E,env:R}):P.loadConfig({path:v,env:R});if(!N)return;return P(N)};const resolve=k=>{const rawChecker=v=>k.every((k=>{const[E,P]=k.split(" ");if(!E)return false;const R=v[E];if(!R)return false;const[L,N]=P==="TP"?[Infinity,Infinity]:P.split(".");if(typeof R==="number"){return+L>=R}return R[0]===+L?+N>=R[1]:+L>R[0]}));const v=k.some((k=>/^node /.test(k)));const E=k.some((k=>/^(?!node)/.test(k)));const P=!E?false:v?null:true;const R=!v?false:E?null:true;const L=rawChecker({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:[12,17]});return{const:rawChecker({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:rawChecker({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:rawChecker({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:rawChecker({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:rawChecker({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:rawChecker({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:[12,17]}),dynamicImport:L,dynamicImportInWorker:L&&!v,globalThis:rawChecker({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}),optionalChaining:rawChecker({chrome:80,and_chr:80,edge:80,firefox:74,and_ff:79,opera:67,op_mob:64,safari:[13,1],ios_saf:[13,4],samsung:13,android:80,node:14}),templateLiteral:rawChecker({chrome:41,and_chr:41,edge:13,firefox:34,and_ff:34,opera:29,op_mob:64,safari:[9,1],ios_saf:9,samsung:4,android:41,and_qq:[10,4],baidu:[7,12],and_uc:[12,12],kaios:[2,5],node:4}),browser:P,electron:false,node:R,nwjs:false,web:P,webworker:false,document:P,fetchWasm:P,global:R,importScripts:false,importScriptsInWorker:true,nodeBuiltins:R,require:R}};k.exports={resolve:resolve,load:load}},25801:function(k,v,E){"use strict";const P=E(57147);const R=E(71017);const{JAVASCRIPT_MODULE_TYPE_AUTO:L,JSON_MODULE_TYPE:N,WEBASSEMBLY_MODULE_TYPE_ASYNC:q,JAVASCRIPT_MODULE_TYPE_ESM:ae,JAVASCRIPT_MODULE_TYPE_DYNAMIC:le,WEBASSEMBLY_MODULE_TYPE_SYNC:pe,ASSET_MODULE_TYPE:me,CSS_MODULE_TYPE:ye}=E(93622);const _e=E(95041);const{cleverMerge:Ie}=E(99454);const{getTargetsProperties:Me,getTargetProperties:Te,getDefaultTarget:je}=E(30391);const Ne=/[\\/]node_modules[\\/]/i;const D=(k,v,E)=>{if(k[v]===undefined){k[v]=E}};const F=(k,v,E)=>{if(k[v]===undefined){k[v]=E()}};const A=(k,v,E)=>{const P=k[v];if(P===undefined){k[v]=E()}else if(Array.isArray(P)){let R=undefined;for(let L=0;L{F(k,"context",(()=>process.cwd()));applyInfrastructureLoggingDefaults(k.infrastructureLogging)};const applyWebpackOptionsDefaults=k=>{F(k,"context",(()=>process.cwd()));F(k,"target",(()=>je(k.context)));const{mode:v,name:P,target:R}=k;let L=R===false?false:typeof R==="string"?Te(R,k.context):Me(R,k.context);const N=v==="development";const q=v==="production"||!v;if(typeof k.entry!=="function"){for(const v of Object.keys(k.entry)){F(k.entry[v],"import",(()=>["./src"]))}}F(k,"devtool",(()=>N?"eval":false));D(k,"watch",false);D(k,"profile",false);D(k,"parallelism",100);D(k,"recordsInputPath",false);D(k,"recordsOutputPath",false);applyExperimentsDefaults(k.experiments,{production:q,development:N,targetProperties:L});const ae=k.experiments.futureDefaults;F(k,"cache",(()=>N?{type:"memory"}:false));applyCacheDefaults(k.cache,{name:P||"default",mode:v||"production",development:N,cacheUnaffected:k.experiments.cacheUnaffected});const le=!!k.cache;applySnapshotDefaults(k.snapshot,{production:q,futureDefaults:ae});applyModuleDefaults(k.module,{cache:le,syncWebAssembly:k.experiments.syncWebAssembly,asyncWebAssembly:k.experiments.asyncWebAssembly,css:k.experiments.css,futureDefaults:ae,isNode:L&&L.node===true});applyOutputDefaults(k.output,{context:k.context,targetProperties:L,isAffectedByBrowserslist:R===undefined||typeof R==="string"&&R.startsWith("browserslist")||Array.isArray(R)&&R.some((k=>k.startsWith("browserslist"))),outputModule:k.experiments.outputModule,development:N,entry:k.entry,module:k.module,futureDefaults:ae});applyExternalsPresetsDefaults(k.externalsPresets,{targetProperties:L,buildHttp:!!k.experiments.buildHttp});applyLoaderDefaults(k.loader,{targetProperties:L,environment:k.output.environment});F(k,"externalsType",(()=>{const v=E(98625).definitions.ExternalsType["enum"];return k.output.library&&v.includes(k.output.library.type)?k.output.library.type:k.output.module?"module":"var"}));applyNodeDefaults(k.node,{futureDefaults:k.experiments.futureDefaults,targetProperties:L});F(k,"performance",(()=>q&&L&&(L.browser||L.browser===null)?{}:false));applyPerformanceDefaults(k.performance,{production:q});applyOptimizationDefaults(k.optimization,{development:N,production:q,css:k.experiments.css,records:!!(k.recordsInputPath||k.recordsOutputPath)});k.resolve=Ie(getResolveDefaults({cache:le,context:k.context,targetProperties:L,mode:k.mode}),k.resolve);k.resolveLoader=Ie(getResolveLoaderDefaults({cache:le}),k.resolveLoader)};const applyExperimentsDefaults=(k,{production:v,development:E,targetProperties:P})=>{D(k,"futureDefaults",false);D(k,"backCompat",!k.futureDefaults);D(k,"syncWebAssembly",false);D(k,"asyncWebAssembly",k.futureDefaults);D(k,"outputModule",false);D(k,"layers",false);D(k,"lazyCompilation",undefined);D(k,"buildHttp",undefined);D(k,"cacheUnaffected",k.futureDefaults);F(k,"css",(()=>k.futureDefaults?{}:undefined));let R=true;if(typeof k.topLevelAwait==="boolean"){R=k.topLevelAwait}D(k,"topLevelAwait",R);if(typeof k.buildHttp==="object"){D(k.buildHttp,"frozen",v);D(k.buildHttp,"upgrade",false)}if(typeof k.css==="object"){D(k.css,"exportsOnly",!P||!P.document)}};const applyCacheDefaults=(k,{name:v,mode:E,development:L,cacheUnaffected:N})=>{if(k===false)return;switch(k.type){case"filesystem":F(k,"name",(()=>v+"-"+E));D(k,"version","");F(k,"cacheDirectory",(()=>{const k=process.cwd();let v=k;for(;;){try{if(P.statSync(R.join(v,"package.json")).isFile())break}catch(k){}const k=R.dirname(v);if(v===k){v=undefined;break}v=k}if(!v){return R.resolve(k,".cache/webpack")}else if(process.versions.pnp==="1"){return R.resolve(v,".pnp/.cache/webpack")}else if(process.versions.pnp==="3"){return R.resolve(v,".yarn/.cache/webpack")}else{return R.resolve(v,"node_modules/.cache/webpack")}}));F(k,"cacheLocation",(()=>R.resolve(k.cacheDirectory,k.name)));D(k,"hashAlgorithm","md4");D(k,"store","pack");D(k,"compression",false);D(k,"profile",false);D(k,"idleTimeout",6e4);D(k,"idleTimeoutForInitialStore",5e3);D(k,"idleTimeoutAfterLargeChanges",1e3);D(k,"maxMemoryGenerations",L?5:Infinity);D(k,"maxAge",1e3*60*60*24*60);D(k,"allowCollectingMemory",L);D(k,"memoryCacheUnaffected",L&&N);D(k,"readonly",false);D(k.buildDependencies,"defaultWebpack",[R.resolve(__dirname,"..")+R.sep]);break;case"memory":D(k,"maxGenerations",Infinity);D(k,"cacheUnaffected",L&&N);break}};const applySnapshotDefaults=(k,{production:v,futureDefaults:E})=>{if(E){F(k,"managedPaths",(()=>process.versions.pnp==="3"?[/^(.+?(?:[\\/]\.yarn[\\/]unplugged[\\/][^\\/]+)?[\\/]node_modules[\\/])/]:[/^(.+?[\\/]node_modules[\\/])/]));F(k,"immutablePaths",(()=>process.versions.pnp==="3"?[/^(.+?[\\/]cache[\\/][^\\/]+\.zip[\\/]node_modules[\\/])/]:[]))}else{A(k,"managedPaths",(()=>{if(process.versions.pnp==="3"){const k=/^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(28978);if(k){return[R.resolve(k[1],"unplugged")]}}else{const k=/^(.+?[\\/]node_modules[\\/])/.exec(28978);if(k){return[k[1]]}}return[]}));A(k,"immutablePaths",(()=>{if(process.versions.pnp==="1"){const k=/^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec(28978);if(k){return[k[1]]}}else if(process.versions.pnp==="3"){const k=/^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(28978);if(k){return[k[1]]}}return[]}))}F(k,"resolveBuildDependencies",(()=>({timestamp:true,hash:true})));F(k,"buildDependencies",(()=>({timestamp:true,hash:true})));F(k,"module",(()=>v?{timestamp:true,hash:true}:{timestamp:true}));F(k,"resolve",(()=>v?{timestamp:true,hash:true}:{timestamp:true}))};const applyJavascriptParserOptionsDefaults=(k,{futureDefaults:v,isNode:E})=>{D(k,"unknownContextRequest",".");D(k,"unknownContextRegExp",false);D(k,"unknownContextRecursive",true);D(k,"unknownContextCritical",true);D(k,"exprContextRequest",".");D(k,"exprContextRegExp",false);D(k,"exprContextRecursive",true);D(k,"exprContextCritical",true);D(k,"wrappedContextRegExp",/.*/);D(k,"wrappedContextRecursive",true);D(k,"wrappedContextCritical",false);D(k,"strictThisContextOnImports",false);D(k,"importMeta",true);D(k,"dynamicImportMode","lazy");D(k,"dynamicImportPrefetch",false);D(k,"dynamicImportPreload",false);D(k,"createRequire",E);if(v)D(k,"exportsPresence","error")};const applyModuleDefaults=(k,{cache:v,syncWebAssembly:E,asyncWebAssembly:P,css:R,futureDefaults:_e,isNode:Ie})=>{if(v){D(k,"unsafeCache",(k=>{const v=k.nameForCondition();return v&&Ne.test(v)}))}else{D(k,"unsafeCache",false)}F(k.parser,me,(()=>({})));F(k.parser.asset,"dataUrlCondition",(()=>({})));if(typeof k.parser.asset.dataUrlCondition==="object"){D(k.parser.asset.dataUrlCondition,"maxSize",8096)}F(k.parser,"javascript",(()=>({})));applyJavascriptParserOptionsDefaults(k.parser.javascript,{futureDefaults:_e,isNode:Ie});A(k,"defaultRules",(()=>{const k={type:ae,resolve:{byDependency:{esm:{fullySpecified:true}}}};const v={type:le};const me=[{mimetype:"application/node",type:L},{test:/\.json$/i,type:N},{mimetype:"application/json",type:N},{test:/\.mjs$/i,...k},{test:/\.js$/i,descriptionData:{type:"module"},...k},{test:/\.cjs$/i,...v},{test:/\.js$/i,descriptionData:{type:"commonjs"},...v},{mimetype:{or:["text/javascript","application/javascript"]},...k}];if(P){const k={type:q,rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};me.push({test:/\.wasm$/i,...k});me.push({mimetype:"application/wasm",...k})}else if(E){const k={type:pe,rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};me.push({test:/\.wasm$/i,...k});me.push({mimetype:"application/wasm",...k})}if(R){const k={type:ye,resolve:{fullySpecified:true,preferRelative:true}};const v={type:"css/module",resolve:{fullySpecified:true}};me.push({test:/\.css$/i,oneOf:[{test:/\.module\.css$/i,...v},{...k}]});me.push({mimetype:"text/css+module",...v});me.push({mimetype:"text/css",...k})}me.push({dependency:"url",oneOf:[{scheme:/^data$/,type:"asset/inline"},{type:"asset/resource"}]},{assert:{type:"json"},type:N});return me}))};const applyOutputDefaults=(k,{context:v,targetProperties:E,isAffectedByBrowserslist:L,outputModule:N,development:q,entry:ae,module:le,futureDefaults:pe})=>{const getLibraryName=k=>{const v=typeof k==="object"&&k&&!Array.isArray(k)&&"type"in k?k.name:k;if(Array.isArray(v)){return v.join(".")}else if(typeof v==="object"){return getLibraryName(v.root)}else if(typeof v==="string"){return v}return""};F(k,"uniqueName",(()=>{const E=getLibraryName(k.library).replace(/^\[(\\*[\w:]+\\*)\](\.)|(\.)\[(\\*[\w:]+\\*)\](?=\.|$)|\[(\\*[\w:]+\\*)\]/g,((k,v,E,P,R,L)=>{const N=v||R||L;return N.startsWith("\\")&&N.endsWith("\\")?`${P||""}[${N.slice(1,-1)}]${E||""}`:""}));if(E)return E;const L=R.resolve(v,"package.json");try{const k=JSON.parse(P.readFileSync(L,"utf-8"));return k.name||""}catch(k){if(k.code!=="ENOENT"){k.message+=`\nwhile determining default 'output.uniqueName' from 'name' in ${L}`;throw k}return""}}));F(k,"module",(()=>!!N));D(k,"filename",k.module?"[name].mjs":"[name].js");F(k,"iife",(()=>!k.module));D(k,"importFunctionName","import");D(k,"importMetaName","import.meta");F(k,"chunkFilename",(()=>{const v=k.filename;if(typeof v!=="function"){const k=v.includes("[name]");const E=v.includes("[id]");const P=v.includes("[chunkhash]");const R=v.includes("[contenthash]");if(P||R||k||E)return v;return v.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return k.module?"[id].mjs":"[id].js"}));F(k,"cssFilename",(()=>{const v=k.filename;if(typeof v!=="function"){return v.replace(/\.[mc]?js(\?|$)/,".css$1")}return"[id].css"}));F(k,"cssChunkFilename",(()=>{const v=k.chunkFilename;if(typeof v!=="function"){return v.replace(/\.[mc]?js(\?|$)/,".css$1")}return"[id].css"}));D(k,"assetModuleFilename","[hash][ext][query]");D(k,"webassemblyModuleFilename","[hash].module.wasm");D(k,"compareBeforeEmit",true);D(k,"charset",true);F(k,"hotUpdateGlobal",(()=>_e.toIdentifier("webpackHotUpdate"+_e.toIdentifier(k.uniqueName))));F(k,"chunkLoadingGlobal",(()=>_e.toIdentifier("webpackChunk"+_e.toIdentifier(k.uniqueName))));F(k,"globalObject",(()=>{if(E){if(E.global)return"global";if(E.globalThis)return"globalThis"}return"self"}));F(k,"chunkFormat",(()=>{if(E){const v=L?"Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly.":"Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly.";if(k.module){if(E.dynamicImport)return"module";if(E.document)return"array-push";throw new Error("For the selected environment is no default ESM chunk format available:\n"+"ESM exports can be chosen when 'import()' is available.\n"+"JSONP Array push can be chosen when 'document' is available.\n"+v)}else{if(E.document)return"array-push";if(E.require)return"commonjs";if(E.nodeBuiltins)return"commonjs";if(E.importScripts)return"array-push";throw new Error("For the selected environment is no default script chunk format available:\n"+"JSONP Array push can be chosen when 'document' or 'importScripts' is available.\n"+"CommonJs exports can be chosen when 'require' or node builtins are available.\n"+v)}}throw new Error("Chunk format can't be selected by default when no target is specified")}));D(k,"asyncChunks",true);F(k,"chunkLoading",(()=>{if(E){switch(k.chunkFormat){case"array-push":if(E.document)return"jsonp";if(E.importScripts)return"import-scripts";break;case"commonjs":if(E.require)return"require";if(E.nodeBuiltins)return"async-node";break;case"module":if(E.dynamicImport)return"import";break}if(E.require===null||E.nodeBuiltins===null||E.document===null||E.importScripts===null){return"universal"}}return false}));F(k,"workerChunkLoading",(()=>{if(E){switch(k.chunkFormat){case"array-push":if(E.importScriptsInWorker)return"import-scripts";break;case"commonjs":if(E.require)return"require";if(E.nodeBuiltins)return"async-node";break;case"module":if(E.dynamicImportInWorker)return"import";break}if(E.require===null||E.nodeBuiltins===null||E.importScriptsInWorker===null){return"universal"}}return false}));F(k,"wasmLoading",(()=>{if(E){if(E.fetchWasm)return"fetch";if(E.nodeBuiltins)return k.module?"async-node-module":"async-node";if(E.nodeBuiltins===null||E.fetchWasm===null){return"universal"}}return false}));F(k,"workerWasmLoading",(()=>k.wasmLoading));F(k,"devtoolNamespace",(()=>k.uniqueName));if(k.library){F(k.library,"type",(()=>k.module?"module":"var"))}F(k,"path",(()=>R.join(process.cwd(),"dist")));F(k,"pathinfo",(()=>q));D(k,"sourceMapFilename","[file].map[query]");D(k,"hotUpdateChunkFilename",`[id].[fullhash].hot-update.${k.module?"mjs":"js"}`);D(k,"hotUpdateMainFilename","[runtime].[fullhash].hot-update.json");D(k,"crossOriginLoading",false);F(k,"scriptType",(()=>k.module?"module":false));D(k,"publicPath",E&&(E.document||E.importScripts)||k.scriptType==="module"?"auto":"");D(k,"workerPublicPath","");D(k,"chunkLoadTimeout",12e4);D(k,"hashFunction",pe?"xxhash64":"md4");D(k,"hashDigest","hex");D(k,"hashDigestLength",pe?16:20);D(k,"strictModuleExceptionHandling",false);const me=k.environment;const optimistic=k=>k||k===undefined;const conditionallyOptimistic=(k,v)=>k===undefined&&v||k;F(me,"globalThis",(()=>E&&E.globalThis));F(me,"bigIntLiteral",(()=>E&&E.bigIntLiteral));F(me,"const",(()=>E&&optimistic(E.const)));F(me,"arrowFunction",(()=>E&&optimistic(E.arrowFunction)));F(me,"forOf",(()=>E&&optimistic(E.forOf)));F(me,"destructuring",(()=>E&&optimistic(E.destructuring)));F(me,"optionalChaining",(()=>E&&optimistic(E.optionalChaining)));F(me,"templateLiteral",(()=>E&&optimistic(E.templateLiteral)));F(me,"dynamicImport",(()=>conditionallyOptimistic(E&&E.dynamicImport,k.module)));F(me,"dynamicImportInWorker",(()=>conditionallyOptimistic(E&&E.dynamicImportInWorker,k.module)));F(me,"module",(()=>conditionallyOptimistic(E&&E.module,k.module)));const{trustedTypes:ye}=k;if(ye){F(ye,"policyName",(()=>k.uniqueName.replace(/[^a-zA-Z0-9\-#=_/@.%]+/g,"_")||"webpack"));D(ye,"onPolicyCreationFailure","stop")}const forEachEntry=k=>{for(const v of Object.keys(ae)){k(ae[v])}};A(k,"enabledLibraryTypes",(()=>{const v=[];if(k.library){v.push(k.library.type)}forEachEntry((k=>{if(k.library){v.push(k.library.type)}}));return v}));A(k,"enabledChunkLoadingTypes",(()=>{const v=new Set;if(k.chunkLoading){v.add(k.chunkLoading)}if(k.workerChunkLoading){v.add(k.workerChunkLoading)}forEachEntry((k=>{if(k.chunkLoading){v.add(k.chunkLoading)}}));return Array.from(v)}));A(k,"enabledWasmLoadingTypes",(()=>{const v=new Set;if(k.wasmLoading){v.add(k.wasmLoading)}if(k.workerWasmLoading){v.add(k.workerWasmLoading)}forEachEntry((k=>{if(k.wasmLoading){v.add(k.wasmLoading)}}));return Array.from(v)}))};const applyExternalsPresetsDefaults=(k,{targetProperties:v,buildHttp:E})=>{D(k,"web",!E&&v&&v.web);D(k,"node",v&&v.node);D(k,"nwjs",v&&v.nwjs);D(k,"electron",v&&v.electron);D(k,"electronMain",v&&v.electron&&v.electronMain);D(k,"electronPreload",v&&v.electron&&v.electronPreload);D(k,"electronRenderer",v&&v.electron&&v.electronRenderer)};const applyLoaderDefaults=(k,{targetProperties:v,environment:E})=>{F(k,"target",(()=>{if(v){if(v.electron){if(v.electronMain)return"electron-main";if(v.electronPreload)return"electron-preload";if(v.electronRenderer)return"electron-renderer";return"electron"}if(v.nwjs)return"nwjs";if(v.node)return"node";if(v.web)return"web"}}));D(k,"environment",E)};const applyNodeDefaults=(k,{futureDefaults:v,targetProperties:E})=>{if(k===false)return;F(k,"global",(()=>{if(E&&E.global)return false;return v?"warn":true}));F(k,"__filename",(()=>{if(E&&E.node)return"eval-only";return v?"warn-mock":"mock"}));F(k,"__dirname",(()=>{if(E&&E.node)return"eval-only";return v?"warn-mock":"mock"}))};const applyPerformanceDefaults=(k,{production:v})=>{if(k===false)return;D(k,"maxAssetSize",25e4);D(k,"maxEntrypointSize",25e4);F(k,"hints",(()=>v?"warning":false))};const applyOptimizationDefaults=(k,{production:v,development:P,css:R,records:L})=>{D(k,"removeAvailableModules",false);D(k,"removeEmptyChunks",true);D(k,"mergeDuplicateChunks",true);D(k,"flagIncludedChunks",v);F(k,"moduleIds",(()=>{if(v)return"deterministic";if(P)return"named";return"natural"}));F(k,"chunkIds",(()=>{if(v)return"deterministic";if(P)return"named";return"natural"}));F(k,"sideEffects",(()=>v?true:"flag"));D(k,"providedExports",true);D(k,"usedExports",v);D(k,"innerGraph",v);D(k,"mangleExports",v);D(k,"concatenateModules",v);D(k,"runtimeChunk",false);D(k,"emitOnErrors",!v);D(k,"checkWasmTypes",v);D(k,"mangleWasmImports",false);D(k,"portableRecords",L);D(k,"realContentHash",v);D(k,"minimize",v);A(k,"minimizer",(()=>[{apply:k=>{const v=E(55302);new v({terserOptions:{compress:{passes:2}}}).apply(k)}}]));F(k,"nodeEnv",(()=>{if(v)return"production";if(P)return"development";return false}));const{splitChunks:N}=k;if(N){A(N,"defaultSizeTypes",(()=>R?["javascript","css","unknown"]:["javascript","unknown"]));D(N,"hidePathInfo",v);D(N,"chunks","async");D(N,"usedExports",k.usedExports===true);D(N,"minChunks",1);F(N,"minSize",(()=>v?2e4:1e4));F(N,"minRemainingSize",(()=>P?0:undefined));F(N,"enforceSizeThreshold",(()=>v?5e4:3e4));F(N,"maxAsyncRequests",(()=>v?30:Infinity));F(N,"maxInitialRequests",(()=>v?30:Infinity));D(N,"automaticNameDelimiter","-");const E=N.cacheGroups;F(E,"default",(()=>({idHint:"",reuseExistingChunk:true,minChunks:2,priority:-20})));F(E,"defaultVendors",(()=>({idHint:"vendors",reuseExistingChunk:true,test:Ne,priority:-10})))}};const getResolveDefaults=({cache:k,context:v,targetProperties:E,mode:P})=>{const R=["webpack"];R.push(P==="development"?"development":"production");if(E){if(E.webworker)R.push("worker");if(E.node)R.push("node");if(E.web)R.push("browser");if(E.electron)R.push("electron");if(E.nwjs)R.push("nwjs")}const L=[".js",".json",".wasm"];const N=E;const q=N&&N.web&&(!N.node||N.electron&&N.electronRenderer);const cjsDeps=()=>({aliasFields:q?["browser"]:[],mainFields:q?["browser","module","..."]:["module","..."],conditionNames:["require","module","..."],extensions:[...L]});const esmDeps=()=>({aliasFields:q?["browser"]:[],mainFields:q?["browser","module","..."]:["module","..."],conditionNames:["import","module","..."],extensions:[...L]});const ae={cache:k,modules:["node_modules"],conditionNames:R,mainFiles:["index"],extensions:[],aliasFields:[],exportsFields:["exports"],roots:[v],mainFields:["main"],byDependency:{wasm:esmDeps(),esm:esmDeps(),loaderImport:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()}};return ae};const getResolveLoaderDefaults=({cache:k})=>{const v={cache:k,conditionNames:["loader","require","node"],exportsFields:["exports"],mainFields:["loader","main"],extensions:[".js"],mainFiles:["index"]};return v};const applyInfrastructureLoggingDefaults=k=>{F(k,"stream",(()=>process.stderr));const v=k.stream.isTTY&&process.env.TERM!=="dumb";D(k,"level","info");D(k,"debug",false);D(k,"colors",v);D(k,"appendOnly",!v)};v.applyWebpackOptionsBaseDefaults=applyWebpackOptionsBaseDefaults;v.applyWebpackOptionsDefaults=applyWebpackOptionsDefaults},47339:function(k,v,E){"use strict";const P=E(73837);const R=P.deprecate(((k,v)=>{if(v!==undefined&&!k===!v){throw new Error("Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.")}return!k}),"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors","DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS");const nestedConfig=(k,v)=>k===undefined?v({}):v(k);const cloneObject=k=>({...k});const optionalNestedConfig=(k,v)=>k===undefined?undefined:v(k);const nestedArray=(k,v)=>Array.isArray(k)?v(k):v([]);const optionalNestedArray=(k,v)=>Array.isArray(k)?v(k):undefined;const keyedNestedConfig=(k,v,E)=>{const P=k===undefined?{}:Object.keys(k).reduce(((P,R)=>(P[R]=(E&&R in E?E[R]:v)(k[R]),P)),{});if(E){for(const k of Object.keys(E)){if(!(k in P)){P[k]=E[k]({})}}}return P};const getNormalizedWebpackOptions=k=>({amd:k.amd,bail:k.bail,cache:optionalNestedConfig(k.cache,(k=>{if(k===false)return false;if(k===true){return{type:"memory",maxGenerations:undefined}}switch(k.type){case"filesystem":return{type:"filesystem",allowCollectingMemory:k.allowCollectingMemory,maxMemoryGenerations:k.maxMemoryGenerations,maxAge:k.maxAge,profile:k.profile,buildDependencies:cloneObject(k.buildDependencies),cacheDirectory:k.cacheDirectory,cacheLocation:k.cacheLocation,hashAlgorithm:k.hashAlgorithm,compression:k.compression,idleTimeout:k.idleTimeout,idleTimeoutForInitialStore:k.idleTimeoutForInitialStore,idleTimeoutAfterLargeChanges:k.idleTimeoutAfterLargeChanges,name:k.name,store:k.store,version:k.version,readonly:k.readonly};case undefined:case"memory":return{type:"memory",maxGenerations:k.maxGenerations};default:throw new Error(`Not implemented cache.type ${k.type}`)}})),context:k.context,dependencies:k.dependencies,devServer:optionalNestedConfig(k.devServer,(k=>({...k}))),devtool:k.devtool,entry:k.entry===undefined?{main:{}}:typeof k.entry==="function"?(k=>()=>Promise.resolve().then(k).then(getNormalizedEntryStatic))(k.entry):getNormalizedEntryStatic(k.entry),experiments:nestedConfig(k.experiments,(k=>({...k,buildHttp:optionalNestedConfig(k.buildHttp,(k=>Array.isArray(k)?{allowedUris:k}:k)),lazyCompilation:optionalNestedConfig(k.lazyCompilation,(k=>k===true?{}:k)),css:optionalNestedConfig(k.css,(k=>k===true?{}:k))}))),externals:k.externals,externalsPresets:cloneObject(k.externalsPresets),externalsType:k.externalsType,ignoreWarnings:k.ignoreWarnings?k.ignoreWarnings.map((k=>{if(typeof k==="function")return k;const v=k instanceof RegExp?{message:k}:k;return(k,{requestShortener:E})=>{if(!v.message&&!v.module&&!v.file)return false;if(v.message&&!v.message.test(k.message)){return false}if(v.module&&(!k.module||!v.module.test(k.module.readableIdentifier(E)))){return false}if(v.file&&(!k.file||!v.file.test(k.file))){return false}return true}})):undefined,infrastructureLogging:cloneObject(k.infrastructureLogging),loader:cloneObject(k.loader),mode:k.mode,module:nestedConfig(k.module,(k=>({noParse:k.noParse,unsafeCache:k.unsafeCache,parser:keyedNestedConfig(k.parser,cloneObject,{javascript:v=>({unknownContextRequest:k.unknownContextRequest,unknownContextRegExp:k.unknownContextRegExp,unknownContextRecursive:k.unknownContextRecursive,unknownContextCritical:k.unknownContextCritical,exprContextRequest:k.exprContextRequest,exprContextRegExp:k.exprContextRegExp,exprContextRecursive:k.exprContextRecursive,exprContextCritical:k.exprContextCritical,wrappedContextRegExp:k.wrappedContextRegExp,wrappedContextRecursive:k.wrappedContextRecursive,wrappedContextCritical:k.wrappedContextCritical,strictExportPresence:k.strictExportPresence,strictThisContextOnImports:k.strictThisContextOnImports,...v})}),generator:cloneObject(k.generator),defaultRules:optionalNestedArray(k.defaultRules,(k=>[...k])),rules:nestedArray(k.rules,(k=>[...k]))}))),name:k.name,node:nestedConfig(k.node,(k=>k&&{...k})),optimization:nestedConfig(k.optimization,(k=>({...k,runtimeChunk:getNormalizedOptimizationRuntimeChunk(k.runtimeChunk),splitChunks:nestedConfig(k.splitChunks,(k=>k&&{...k,defaultSizeTypes:k.defaultSizeTypes?[...k.defaultSizeTypes]:["..."],cacheGroups:cloneObject(k.cacheGroups)})),emitOnErrors:k.noEmitOnErrors!==undefined?R(k.noEmitOnErrors,k.emitOnErrors):k.emitOnErrors}))),output:nestedConfig(k.output,(k=>{const{library:v}=k;const E=v;const P=typeof v==="object"&&v&&!Array.isArray(v)&&"type"in v?v:E||k.libraryTarget?{name:E}:undefined;const R={assetModuleFilename:k.assetModuleFilename,asyncChunks:k.asyncChunks,charset:k.charset,chunkFilename:k.chunkFilename,chunkFormat:k.chunkFormat,chunkLoading:k.chunkLoading,chunkLoadingGlobal:k.chunkLoadingGlobal,chunkLoadTimeout:k.chunkLoadTimeout,cssFilename:k.cssFilename,cssChunkFilename:k.cssChunkFilename,clean:k.clean,compareBeforeEmit:k.compareBeforeEmit,crossOriginLoading:k.crossOriginLoading,devtoolFallbackModuleFilenameTemplate:k.devtoolFallbackModuleFilenameTemplate,devtoolModuleFilenameTemplate:k.devtoolModuleFilenameTemplate,devtoolNamespace:k.devtoolNamespace,environment:cloneObject(k.environment),enabledChunkLoadingTypes:k.enabledChunkLoadingTypes?[...k.enabledChunkLoadingTypes]:["..."],enabledLibraryTypes:k.enabledLibraryTypes?[...k.enabledLibraryTypes]:["..."],enabledWasmLoadingTypes:k.enabledWasmLoadingTypes?[...k.enabledWasmLoadingTypes]:["..."],filename:k.filename,globalObject:k.globalObject,hashDigest:k.hashDigest,hashDigestLength:k.hashDigestLength,hashFunction:k.hashFunction,hashSalt:k.hashSalt,hotUpdateChunkFilename:k.hotUpdateChunkFilename,hotUpdateGlobal:k.hotUpdateGlobal,hotUpdateMainFilename:k.hotUpdateMainFilename,ignoreBrowserWarnings:k.ignoreBrowserWarnings,iife:k.iife,importFunctionName:k.importFunctionName,importMetaName:k.importMetaName,scriptType:k.scriptType,library:P&&{type:k.libraryTarget!==undefined?k.libraryTarget:P.type,auxiliaryComment:k.auxiliaryComment!==undefined?k.auxiliaryComment:P.auxiliaryComment,amdContainer:k.amdContainer!==undefined?k.amdContainer:P.amdContainer,export:k.libraryExport!==undefined?k.libraryExport:P.export,name:P.name,umdNamedDefine:k.umdNamedDefine!==undefined?k.umdNamedDefine:P.umdNamedDefine},module:k.module,path:k.path,pathinfo:k.pathinfo,publicPath:k.publicPath,sourceMapFilename:k.sourceMapFilename,sourcePrefix:k.sourcePrefix,strictModuleExceptionHandling:k.strictModuleExceptionHandling,trustedTypes:optionalNestedConfig(k.trustedTypes,(k=>{if(k===true)return{};if(typeof k==="string")return{policyName:k};return{...k}})),uniqueName:k.uniqueName,wasmLoading:k.wasmLoading,webassemblyModuleFilename:k.webassemblyModuleFilename,workerPublicPath:k.workerPublicPath,workerChunkLoading:k.workerChunkLoading,workerWasmLoading:k.workerWasmLoading};return R})),parallelism:k.parallelism,performance:optionalNestedConfig(k.performance,(k=>{if(k===false)return false;return{...k}})),plugins:nestedArray(k.plugins,(k=>[...k])),profile:k.profile,recordsInputPath:k.recordsInputPath!==undefined?k.recordsInputPath:k.recordsPath,recordsOutputPath:k.recordsOutputPath!==undefined?k.recordsOutputPath:k.recordsPath,resolve:nestedConfig(k.resolve,(k=>({...k,byDependency:keyedNestedConfig(k.byDependency,cloneObject)}))),resolveLoader:cloneObject(k.resolveLoader),snapshot:nestedConfig(k.snapshot,(k=>({resolveBuildDependencies:optionalNestedConfig(k.resolveBuildDependencies,(k=>({timestamp:k.timestamp,hash:k.hash}))),buildDependencies:optionalNestedConfig(k.buildDependencies,(k=>({timestamp:k.timestamp,hash:k.hash}))),resolve:optionalNestedConfig(k.resolve,(k=>({timestamp:k.timestamp,hash:k.hash}))),module:optionalNestedConfig(k.module,(k=>({timestamp:k.timestamp,hash:k.hash}))),immutablePaths:optionalNestedArray(k.immutablePaths,(k=>[...k])),managedPaths:optionalNestedArray(k.managedPaths,(k=>[...k]))}))),stats:nestedConfig(k.stats,(k=>{if(k===false){return{preset:"none"}}if(k===true){return{preset:"normal"}}if(typeof k==="string"){return{preset:k}}return{...k}})),target:k.target,watch:k.watch,watchOptions:cloneObject(k.watchOptions)});const getNormalizedEntryStatic=k=>{if(typeof k==="string"){return{main:{import:[k]}}}if(Array.isArray(k)){return{main:{import:k}}}const v={};for(const E of Object.keys(k)){const P=k[E];if(typeof P==="string"){v[E]={import:[P]}}else if(Array.isArray(P)){v[E]={import:P}}else{v[E]={import:P.import&&(Array.isArray(P.import)?P.import:[P.import]),filename:P.filename,layer:P.layer,runtime:P.runtime,baseUri:P.baseUri,publicPath:P.publicPath,chunkLoading:P.chunkLoading,asyncChunks:P.asyncChunks,wasmLoading:P.wasmLoading,dependOn:P.dependOn&&(Array.isArray(P.dependOn)?P.dependOn:[P.dependOn]),library:P.library}}}return v};const getNormalizedOptimizationRuntimeChunk=k=>{if(k===undefined)return undefined;if(k===false)return false;if(k==="single"){return{name:()=>"runtime"}}if(k===true||k==="multiple"){return{name:k=>`runtime~${k.name}`}}const{name:v}=k;return{name:typeof v==="function"?v:()=>v}};v.getNormalizedWebpackOptions=getNormalizedWebpackOptions},30391:function(k,v,E){"use strict";const P=E(20631);const R=P((()=>E(6305)));const getDefaultTarget=k=>{const v=R().load(null,k);return v?"browserslist":"web"};const versionDependent=(k,v)=>{if(!k){return()=>undefined}const E=+k;const P=v?+v:0;return(k,v=0)=>E>k||E===k&&P>=v};const L=[["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(?::(.+))?$/,(k,v)=>{const E=R();const P=E.load(k?k.trim():null,v);if(!P){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 E.resolve(P)}],["web","Web browser.",/^web$/,()=>({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$/,()=>({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+))?)?$/,(k,v,E)=>{const P=versionDependent(v,E);return{node:true,electron:false,nwjs:false,web:false,webworker:false,browser:false,require:!k,nodeBuiltins:true,global:true,document:false,fetchWasm:false,importScripts:false,importScriptsInWorker:false,globalThis:P(12),const:P(6),templateLiteral:P(4),optionalChaining:P(14),arrowFunction:P(6),forOf:P(5),destructuring:P(6),bigIntLiteral:P(10,4),dynamicImport:P(12,17),dynamicImportInWorker:v?false:undefined,module:P(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)$/,(k,v,E)=>{const P=versionDependent(k,v);return{node:true,electron:true,web:E!=="main",webworker:false,browser:false,nwjs:false,electronMain:E==="main",electronPreload:E==="preload",electronRenderer:E==="renderer",global:true,nodeBuiltins:true,require:true,document:E==="renderer",fetchWasm:E==="renderer",importScripts:false,importScriptsInWorker:true,globalThis:P(5),const:P(1,1),templateLiteral:P(1,1),optionalChaining:P(8),arrowFunction:P(1,1),forOf:P(0,36),destructuring:P(1,1),bigIntLiteral:P(4),dynamicImport:P(11),dynamicImportInWorker:k?false:undefined,module:P(11)}}],["nwjs[X[.Y]] / node-webkit[X[.Y]]","NW.js in version X.Y.",/^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/,(k,v)=>{const E=versionDependent(k,v);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:E(0,43),const:E(0,15),templateLiteral:E(0,13),optionalChaining:E(0,44),arrowFunction:E(0,15),forOf:E(0,13),destructuring:E(0,15),bigIntLiteral:E(0,32),dynamicImport:E(0,43),dynamicImportInWorker:k?false:undefined,module:E(0,43)}}],["esX","EcmaScript in this version. Examples: es2020, es5.",/^es(\d+)$/,k=>{let v=+k;if(v<1e3)v=v+2009;return{const:v>=2015,templateLiteral:v>=2015,optionalChaining:v>=2020,arrowFunction:v>=2015,forOf:v>=2015,destructuring:v>=2015,module:v>=2015,globalThis:v>=2020,bigIntLiteral:v>=2020,dynamicImport:v>=2020,dynamicImportInWorker:v>=2020}}]];const getTargetProperties=(k,v)=>{for(const[,,E,P]of L){const R=E.exec(k);if(R){const[,...k]=R;const E=P(...k,v);if(E)return E}}throw new Error(`Unknown target '${k}'. The following targets are supported:\n${L.map((([k,v])=>`* ${k}: ${v}`)).join("\n")}`)};const mergeTargetProperties=k=>{const v=new Set;for(const E of k){for(const k of Object.keys(E)){v.add(k)}}const E={};for(const P of v){let v=false;let R=false;for(const E of k){const k=E[P];switch(k){case true:v=true;break;case false:R=true;break}}if(v||R)E[P]=R&&v?null:v?true:false}return E};const getTargetsProperties=(k,v)=>mergeTargetProperties(k.map((k=>getTargetProperties(k,v))));v.getDefaultTarget=getDefaultTarget;v.getTargetProperties=getTargetProperties;v.getTargetsProperties=getTargetsProperties},22886:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);class ContainerEntryDependency extends P{constructor(k,v,E){super();this.name=k;this.exposes=v;this.shareScope=E}getResourceIdentifier(){return`container-entry-${this.name}`}get type(){return"container entry"}get category(){return"esm"}}R(ContainerEntryDependency,"webpack/lib/container/ContainerEntryDependency");k.exports=ContainerEntryDependency},4268:function(k,v,E){"use strict";const{OriginalSource:P,RawSource:R}=E(51255);const L=E(75081);const N=E(88396);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:q}=E(93622);const ae=E(56727);const le=E(95041);const pe=E(93414);const me=E(58528);const ye=E(85455);const _e=new Set(["javascript"]);class ContainerEntryModule extends N{constructor(k,v,E){super(q,null);this._name=k;this._exposes=v;this._shareScope=E}getSourceTypes(){return _e}identifier(){return`container entry (${this._shareScope}) ${JSON.stringify(this._exposes)}`}readableIdentifier(k){return`container entry`}libIdent(k){return`${this.layer?`(${this.layer})/`:""}webpack/container/entry/${this._name}`}needBuild(k,v){return v(null,!this.buildMeta)}build(k,v,E,P,R){this.buildMeta={};this.buildInfo={strict:true,topLevelDeclarations:new Set(["moduleMap","get","init"])};this.buildMeta.exportsType="namespace";this.clearDependenciesAndBlocks();for(const[k,v]of this._exposes){const E=new L({name:v.name},{name:k},v.import[v.import.length-1]);let P=0;for(const R of v.import){const v=new ye(k,R);v.loc={name:k,index:P++};E.addDependency(v)}this.addBlock(E)}this.addDependency(new pe(["get","init"],false));R()}codeGeneration({moduleGraph:k,chunkGraph:v,runtimeTemplate:E}){const L=new Map;const N=new Set([ae.definePropertyGetters,ae.hasOwnProperty,ae.exports]);const q=[];for(const P of this.blocks){const{dependencies:R}=P;const L=R.map((v=>{const E=v;return{name:E.exposedName,module:k.getModule(E),request:E.userRequest}}));let ae;if(L.some((k=>!k.module))){ae=E.throwMissingModuleErrorBlock({request:L.map((k=>k.request)).join(", ")})}else{ae=`return ${E.blockPromise({block:P,message:"",chunkGraph:v,runtimeRequirements:N})}.then(${E.returningFunction(E.returningFunction(`(${L.map((({module:k,request:P})=>E.moduleRaw({module:k,chunkGraph:v,request:P,weak:false,runtimeRequirements:N}))).join(", ")})`))});`}q.push(`${JSON.stringify(L[0].name)}: ${E.basicFunction("",ae)}`)}const pe=le.asString([`var moduleMap = {`,le.indent(q.join(",\n")),"};",`var get = ${E.basicFunction("module, getScope",[`${ae.currentRemoteGetScope} = getScope;`,"getScope = (",le.indent([`${ae.hasOwnProperty}(moduleMap, module)`,le.indent(["? moduleMap[module]()",`: Promise.resolve().then(${E.basicFunction("","throw new Error('Module \"' + module + '\" does not exist in container.');")})`])]),");",`${ae.currentRemoteGetScope} = undefined;`,"return getScope;"])};`,`var init = ${E.basicFunction("shareScope, initScope",[`if (!${ae.shareScopeMap}) return;`,`var name = ${JSON.stringify(this._shareScope)}`,`var oldScope = ${ae.shareScopeMap}[name];`,`if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`,`${ae.shareScopeMap}[name] = shareScope;`,`return ${ae.initializeSharing}(name, initScope);`])};`,"","// This exports getters to disallow modifications",`${ae.definePropertyGetters}(exports, {`,le.indent([`get: ${E.returningFunction("get")},`,`init: ${E.returningFunction("init")}`]),"});"]);L.set("javascript",this.useSourceMap||this.useSimpleSourceMap?new P(pe,"webpack/container-entry"):new R(pe));return{sources:L,runtimeRequirements:N}}size(k){return 42}serialize(k){const{write:v}=k;v(this._name);v(this._exposes);v(this._shareScope);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new ContainerEntryModule(v(),v(),v());E.deserialize(k);return E}}me(ContainerEntryModule,"webpack/lib/container/ContainerEntryModule");k.exports=ContainerEntryModule},70929:function(k,v,E){"use strict";const P=E(66043);const R=E(4268);k.exports=class ContainerEntryModuleFactory extends P{create({dependencies:[k]},v){const E=k;v(null,{module:new R(E.name,E.exposes,E.shareScope)})}}},85455:function(k,v,E){"use strict";const P=E(77373);const R=E(58528);class ContainerExposedDependency extends P{constructor(k,v){super(v);this.exposedName=k}get type(){return"container exposed"}get category(){return"esm"}getResourceIdentifier(){return`exposed dependency ${this.exposedName}=${this.request}`}serialize(k){k.write(this.exposedName);super.serialize(k)}deserialize(k){this.exposedName=k.read();super.deserialize(k)}}R(ContainerExposedDependency,"webpack/lib/container/ContainerExposedDependency");k.exports=ContainerExposedDependency},59826:function(k,v,E){"use strict";const P=E(92198);const R=E(22886);const L=E(70929);const N=E(85455);const{parseOptions:q}=E(34869);const ae=P(E(50807),(()=>E(97253)),{name:"Container Plugin",baseDataPath:"options"});const le="ContainerPlugin";class ContainerPlugin{constructor(k){ae(k);this._options={name:k.name,shareScope:k.shareScope||"default",library:k.library||{type:"var",name:k.name},runtime:k.runtime,filename:k.filename||undefined,exposes:q(k.exposes,(k=>({import:Array.isArray(k)?k:[k],name:undefined})),(k=>({import:Array.isArray(k.import)?k.import:[k.import],name:k.name||undefined})))}}apply(k){const{name:v,exposes:E,shareScope:P,filename:q,library:ae,runtime:pe}=this._options;if(!k.options.output.enabledLibraryTypes.includes(ae.type)){k.options.output.enabledLibraryTypes.push(ae.type)}k.hooks.make.tapAsync(le,((k,L)=>{const N=new R(v,E,P);N.loc={name:v};k.addEntry(k.options.context,N,{name:v,filename:q,runtime:pe,library:ae},(k=>{if(k)return L(k);L()}))}));k.hooks.thisCompilation.tap(le,((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(R,new L);k.dependencyFactories.set(N,v)}))}}k.exports=ContainerPlugin},10223:function(k,v,E){"use strict";const P=E(53757);const R=E(56727);const L=E(92198);const N=E(52030);const q=E(37119);const ae=E(85961);const le=E(39878);const pe=E(63142);const me=E(51691);const{parseOptions:ye}=E(34869);const _e=L(E(19152),(()=>E(52899)),{name:"Container Reference Plugin",baseDataPath:"options"});const Ie="/".charCodeAt(0);class ContainerReferencePlugin{constructor(k){_e(k);this._remoteType=k.remoteType;this._remotes=ye(k.remotes,(v=>({external:Array.isArray(v)?v:[v],shareScope:k.shareScope||"default"})),(v=>({external:Array.isArray(v.external)?v.external:[v.external],shareScope:v.shareScope||k.shareScope||"default"})))}apply(k){const{_remotes:v,_remoteType:E}=this;const L={};for(const[k,E]of v){let v=0;for(const P of E.external){if(P.startsWith("internal "))continue;L[`webpack/container/reference/${k}${v?`/fallback-${v}`:""}`]=P;v++}}new P(E,L).apply(k);k.hooks.compilation.tap("ContainerReferencePlugin",((k,{normalModuleFactory:E})=>{k.dependencyFactories.set(me,E);k.dependencyFactories.set(q,E);k.dependencyFactories.set(N,new ae);E.hooks.factorize.tap("ContainerReferencePlugin",(k=>{if(!k.request.includes("!")){for(const[E,P]of v){if(k.request.startsWith(`${E}`)&&(k.request.length===E.length||k.request.charCodeAt(E.length)===Ie)){return new le(k.request,P.external.map(((k,v)=>k.startsWith("internal ")?k.slice(9):`webpack/container/reference/${E}${v?`/fallback-${v}`:""}`)),`.${k.request.slice(E.length)}`,P.shareScope)}}}}));k.hooks.runtimeRequirementInTree.for(R.ensureChunkHandlers).tap("ContainerReferencePlugin",((v,E)=>{E.add(R.module);E.add(R.moduleFactoriesAddOnly);E.add(R.hasOwnProperty);E.add(R.initializeSharing);E.add(R.shareScopeMap);k.addRuntimeModule(v,new pe)}))}))}}k.exports=ContainerReferencePlugin},52030:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);class FallbackDependency extends P{constructor(k){super();this.requests=k}getResourceIdentifier(){return`fallback ${this.requests.join(" ")}`}get type(){return"fallback"}get category(){return"esm"}serialize(k){const{write:v}=k;v(this.requests);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new FallbackDependency(v());E.deserialize(k);return E}}R(FallbackDependency,"webpack/lib/container/FallbackDependency");k.exports=FallbackDependency},37119:function(k,v,E){"use strict";const P=E(77373);const R=E(58528);class FallbackItemDependency extends P{constructor(k){super(k)}get type(){return"fallback item"}get category(){return"esm"}}R(FallbackItemDependency,"webpack/lib/container/FallbackItemDependency");k.exports=FallbackItemDependency},7583:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(88396);const{WEBPACK_MODULE_TYPE_FALLBACK:L}=E(93622);const N=E(56727);const q=E(95041);const ae=E(58528);const le=E(37119);const pe=new Set(["javascript"]);const me=new Set([N.module]);class FallbackModule extends R{constructor(k){super(L);this.requests=k;this._identifier=`fallback ${this.requests.join(" ")}`}identifier(){return this._identifier}readableIdentifier(k){return this._identifier}libIdent(k){return`${this.layer?`(${this.layer})/`:""}webpack/container/fallback/${this.requests[0]}/and ${this.requests.length-1} more`}chunkCondition(k,{chunkGraph:v}){return v.getNumberOfEntryModules(k)>0}needBuild(k,v){v(null,!this.buildInfo)}build(k,v,E,P,R){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const k of this.requests)this.addDependency(new le(k));R()}size(k){return this.requests.length*5+42}getSourceTypes(){return pe}codeGeneration({runtimeTemplate:k,moduleGraph:v,chunkGraph:E}){const R=this.dependencies.map((k=>E.getModuleId(v.getModule(k))));const L=q.asString([`var ids = ${JSON.stringify(R)};`,"var error, result, i = 0;",`var loop = ${k.basicFunction("next",["while(i < ids.length) {",q.indent([`try { next = ${N.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 = ${k.basicFunction("result",["if(result) return result;","return loop();"])};`,`var handleError = ${k.basicFunction("e",["error = e;","return loop();"])};`,"module.exports = loop();"]);const ae=new Map;ae.set("javascript",new P(L));return{sources:ae,runtimeRequirements:me}}serialize(k){const{write:v}=k;v(this.requests);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new FallbackModule(v());E.deserialize(k);return E}}ae(FallbackModule,"webpack/lib/container/FallbackModule");k.exports=FallbackModule},85961:function(k,v,E){"use strict";const P=E(66043);const R=E(7583);k.exports=class FallbackModuleFactory extends P{create({dependencies:[k]},v){const E=k;v(null,{module:new R(E.requests)})}}},71863:function(k,v,E){"use strict";const P=E(50153);const R=E(38084);const L=E(92198);const N=E(59826);const q=E(10223);const ae=L(E(13038),(()=>E(80707)),{name:"Module Federation Plugin",baseDataPath:"options"});class ModuleFederationPlugin{constructor(k){ae(k);this._options=k}apply(k){const{_options:v}=this;const E=v.library||{type:"var",name:v.name};const L=v.remoteType||(v.library&&P(v.library.type)?v.library.type:"script");if(E&&!k.options.output.enabledLibraryTypes.includes(E.type)){k.options.output.enabledLibraryTypes.push(E.type)}k.hooks.afterPlugins.tap("ModuleFederationPlugin",(()=>{if(v.exposes&&(Array.isArray(v.exposes)?v.exposes.length>0:Object.keys(v.exposes).length>0)){new N({name:v.name,library:E,filename:v.filename,runtime:v.runtime,shareScope:v.shareScope,exposes:v.exposes}).apply(k)}if(v.remotes&&(Array.isArray(v.remotes)?v.remotes.length>0:Object.keys(v.remotes).length>0)){new q({remoteType:L,shareScope:v.shareScope,remotes:v.remotes}).apply(k)}if(v.shared){new R({shared:v.shared,shareScope:v.shareScope}).apply(k)}}))}}k.exports=ModuleFederationPlugin},39878:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(88396);const{WEBPACK_MODULE_TYPE_REMOTE:L}=E(93622);const N=E(56727);const q=E(58528);const ae=E(52030);const le=E(51691);const pe=new Set(["remote","share-init"]);const me=new Set([N.module]);class RemoteModule extends R{constructor(k,v,E,P){super(L);this.request=k;this.externalRequests=v;this.internalRequest=E;this.shareScope=P;this._identifier=`remote (${P}) ${this.externalRequests.join(" ")} ${this.internalRequest}`}identifier(){return this._identifier}readableIdentifier(k){return`remote ${this.request}`}libIdent(k){return`${this.layer?`(${this.layer})/`:""}webpack/container/remote/${this.request}`}needBuild(k,v){v(null,!this.buildInfo)}build(k,v,E,P,R){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();if(this.externalRequests.length===1){this.addDependency(new le(this.externalRequests[0]))}else{this.addDependency(new ae(this.externalRequests))}R()}size(k){return 6}getSourceTypes(){return pe}nameForCondition(){return this.request}codeGeneration({runtimeTemplate:k,moduleGraph:v,chunkGraph:E}){const R=v.getModule(this.dependencies[0]);const L=R&&E.getModuleId(R);const N=new Map;N.set("remote",new P(""));const q=new Map;q.set("share-init",[{shareScope:this.shareScope,initStage:20,init:L===undefined?"":`initExternal(${JSON.stringify(L)});`}]);return{sources:N,data:q,runtimeRequirements:me}}serialize(k){const{write:v}=k;v(this.request);v(this.externalRequests);v(this.internalRequest);v(this.shareScope);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new RemoteModule(v(),v(),v(),v());E.deserialize(k);return E}}q(RemoteModule,"webpack/lib/container/RemoteModule");k.exports=RemoteModule},63142:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class RemoteRuntimeModule extends R{constructor(){super("remotes loading")}generate(){const{compilation:k,chunkGraph:v}=this;const{runtimeTemplate:E,moduleGraph:R}=k;const N={};const q={};for(const k of this.chunk.getAllAsyncChunks()){const E=v.getChunkModulesIterableBySourceType(k,"remote");if(!E)continue;const P=N[k.id]=[];for(const k of E){const E=k;const L=E.internalRequest;const N=v.getModuleId(E);const ae=E.shareScope;const le=E.dependencies[0];const pe=R.getModule(le);const me=pe&&v.getModuleId(pe);P.push(N);q[N]=[ae,L,me]}}return L.asString([`var chunkMapping = ${JSON.stringify(N,null,"\t")};`,`var idToExternalAndNameMapping = ${JSON.stringify(q,null,"\t")};`,`${P.ensureChunkHandlers}.remotes = ${E.basicFunction("chunkId, promises",[`if(${P.hasOwnProperty}(chunkMapping, chunkId)) {`,L.indent([`chunkMapping[chunkId].forEach(${E.basicFunction("id",[`var getScope = ${P.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")',L.indent(`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`),`${P.moduleFactories}[id] = ${E.basicFunction("",["throw error;"])}`,"data.p = 0;"])};`,`var handleFunction = ${E.basicFunction("fn, arg1, arg2, d, next, first",["try {",L.indent(["var promise = fn(arg1, arg2);","if(promise && promise.then) {",L.indent([`var p = promise.then(${E.returningFunction("next(result, d)","result")}, onError);`,`if(first) promises.push(data.p = p); else return p;`]),"} else {",L.indent(["return next(promise, d, first);"]),"}"]),"} catch(error) {",L.indent(["onError(error);"]),"}"])}`,`var onExternal = ${E.returningFunction(`external ? handleFunction(${P.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;",`${P.moduleFactories}[id] = ${E.basicFunction("module",["module.exports = factory();"])}`])};`,`handleFunction(${P.require}, data[2], 0, 0, onExternal, 1);`])});`]),"}"])}`])}}k.exports=RemoteRuntimeModule},51691:function(k,v,E){"use strict";const P=E(77373);const R=E(58528);class RemoteToExternalDependency extends P{constructor(k){super(k)}get type(){return"remote to external"}get category(){return"esm"}}R(RemoteToExternalDependency,"webpack/lib/container/RemoteToExternalDependency");k.exports=RemoteToExternalDependency},34869:function(k,v){"use strict";const process=(k,v,E,P)=>{const array=k=>{for(const E of k){if(typeof E==="string"){P(E,v(E,E))}else if(E&&typeof E==="object"){object(E)}else{throw new Error("Unexpected options format")}}};const object=k=>{for(const[R,L]of Object.entries(k)){if(typeof L==="string"||Array.isArray(L)){P(R,v(L,R))}else{P(R,E(L,R))}}};if(!k){return}else if(Array.isArray(k)){array(k)}else if(typeof k==="object"){object(k)}else{throw new Error("Unexpected options format")}};const parseOptions=(k,v,E)=>{const P=[];process(k,v,E,((k,v)=>{P.push([k,v])}));return P};const scope=(k,v)=>{const E={};process(v,(k=>k),(k=>k),((v,P)=>{E[v.startsWith("./")?`${k}${v.slice(1)}`:`${k}/${v}`]=P}));return E};v.parseOptions=parseOptions;v.scope=scope},97766:function(k,v,E){"use strict";const{ReplaceSource:P,RawSource:R,ConcatSource:L}=E(51255);const{UsageState:N}=E(11172);const q=E(91597);const ae=E(56727);const le=E(95041);const pe=new Set(["javascript"]);class CssExportsGenerator extends q{constructor(){super()}generate(k,v){const E=new P(new R(""));const q=[];const pe=new Map;v.runtimeRequirements.add(ae.module);const me=new Set;const ye={runtimeTemplate:v.runtimeTemplate,dependencyTemplates:v.dependencyTemplates,moduleGraph:v.moduleGraph,chunkGraph:v.chunkGraph,module:k,runtime:v.runtime,runtimeRequirements:me,concatenationScope:v.concatenationScope,codeGenerationResults:v.codeGenerationResults,initFragments:q,cssExports:pe};const handleDependency=k=>{const P=k.constructor;const R=v.dependencyTemplates.get(P);if(!R){throw new Error("No template for dependency: "+k.constructor.name)}R.apply(k,E,ye)};k.dependencies.forEach(handleDependency);if(v.concatenationScope){const k=new L;const E=new Set;for(const[P,R]of pe){let L=le.toIdentifier(P);let N=0;while(E.has(L)){L=le.toIdentifier(P+N)}E.add(L);v.concatenationScope.registerExport(P,L);k.add(`${v.runtimeTemplate.supportsConst?"const":"var"} ${L} = ${JSON.stringify(R)};\n`)}return k}else{const E=v.moduleGraph.getExportsInfo(k).otherExportsInfo.getUsed(v.runtime)!==N.Unused;if(E){v.runtimeRequirements.add(ae.makeNamespaceObject)}return new R(`${E?`${ae.makeNamespaceObject}(`:""}${k.moduleArgument}.exports = {\n${Array.from(pe,(([k,v])=>`\t${JSON.stringify(k)}: ${JSON.stringify(v)}`)).join(",\n")}\n}${E?")":""};`)}}getTypes(k){return pe}getSize(k,v){return 42}updateHash(k,{module:v}){}}k.exports=CssExportsGenerator},65956:function(k,v,E){"use strict";const{ReplaceSource:P}=E(51255);const R=E(91597);const L=E(88113);const N=E(56727);const q=new Set(["css"]);class CssGenerator extends R{constructor(){super()}generate(k,v){const E=k.originalSource();const R=new P(E);const q=[];const ae=new Map;v.runtimeRequirements.add(N.hasCssModules);const le={runtimeTemplate:v.runtimeTemplate,dependencyTemplates:v.dependencyTemplates,moduleGraph:v.moduleGraph,chunkGraph:v.chunkGraph,module:k,runtime:v.runtime,runtimeRequirements:v.runtimeRequirements,concatenationScope:v.concatenationScope,codeGenerationResults:v.codeGenerationResults,initFragments:q,cssExports:ae};const handleDependency=k=>{const E=k.constructor;const P=v.dependencyTemplates.get(E);if(!P){throw new Error("No template for dependency: "+k.constructor.name)}P.apply(k,R,le)};k.dependencies.forEach(handleDependency);if(k.presentationalDependencies!==undefined)k.presentationalDependencies.forEach(handleDependency);if(ae.size>0){const k=v.getData();k.set("css-exports",ae)}return L.addToSource(R,q,v)}getTypes(k){return q}getSize(k,v){const E=k.originalSource();if(!E){return 0}return E.size()}updateHash(k,{module:v}){}}k.exports=CssGenerator},3483:function(k,v,E){"use strict";const{SyncWaterfallHook:P}=E(79846);const R=E(27747);const L=E(56727);const N=E(27462);const q=E(95041);const ae=E(21751);const{chunkHasCss:le}=E(76395);const pe=new WeakMap;class CssLoadingRuntimeModule extends N{static getCompilationHooks(k){if(!(k instanceof R)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=pe.get(k);if(v===undefined){v={createStylesheet:new P(["source","chunk"])};pe.set(k,v)}return v}constructor(k){super("css loading",10);this._runtimeRequirements=k}generate(){const{compilation:k,chunk:v,_runtimeRequirements:E}=this;const{chunkGraph:P,runtimeTemplate:R,outputOptions:{crossOriginLoading:N,uniqueName:pe,chunkLoadTimeout:me}}=k;const ye=L.ensureChunkHandlers;const _e=P.getChunkConditionMap(v,((k,v)=>!!v.getChunkModulesIterableBySourceType(k,"css")));const Ie=ae(_e);const Me=E.has(L.ensureChunkHandlers)&&Ie!==false;const Te=E.has(L.hmrDownloadUpdateHandlers);const je=new Set;const Ne=new Set;for(const k of v.getAllInitialChunks()){(le(k,P)?je:Ne).add(k.id)}if(!Me&&!Te&&je.size===0){return null}const{createStylesheet:Be}=CssLoadingRuntimeModule.getCompilationHooks(k);const qe=Te?`${L.hmrRuntimeStatePrefix}_css`:undefined;const Ue=q.asString(["link = document.createElement('link');",pe?'link.setAttribute("data-webpack", uniqueName + ":" + key);':"","link.setAttribute(loadingAttribute, 1);",'link.rel = "stylesheet";',"link.href = url;",N?N==="use-credentials"?'link.crossOrigin = "use-credentials";':q.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",q.indent(`link.crossOrigin = ${JSON.stringify(N)};`),"}"]):""]);const cc=k=>k.charCodeAt(0);return q.asString(["// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${qe?`${qe} = ${qe} || `:""}{${Array.from(Ne,(k=>`${JSON.stringify(k)}:0`)).join(",")}};`,"",pe?`var uniqueName = ${JSON.stringify(R.outputOptions.uniqueName)};`:"// data-webpack is not used as build has no uniqueName",`var loadCssChunkData = ${R.basicFunction("target, link, chunkId",[`var data, token = "", token2, exports = {}, exportsWithId = [], exportsWithDashes = [], ${Te?"moduleIds = [], ":""}i = 0, cc = 1;`,"try { if(!link) link = loadStylesheet(chunkId); data = link.sheet.cssRules; data = data[data.length - 1].style; } catch(e) { data = getComputedStyle(document.head); }",`data = data.getPropertyValue(${pe?R.concatenation("--webpack-",{expr:"uniqueName"},"-",{expr:"chunkId"}):R.concatenation("--webpack-",{expr:"chunkId"})});`,"if(!data) return [];","for(; cc; i++) {",q.indent(["cc = data.charCodeAt(i);",`if(cc == ${cc("(")}) { token2 = token; token = ""; }`,`else if(cc == ${cc(")")}) { exports[token2.replace(/^_/, "")] = token.replace(/^_/, ""); token = ""; }`,`else if(cc == ${cc("/")} || cc == ${cc("%")}) { token = token.replace(/^_/, ""); exports[token] = token; exportsWithId.push(token); if(cc == ${cc("%")}) exportsWithDashes.push(token); token = ""; }`,`else if(!cc || cc == ${cc(",")}) { token = token.replace(/^_/, ""); exportsWithId.forEach(${R.expressionFunction(`exports[x] = ${pe?R.concatenation({expr:"uniqueName"},"-",{expr:"token"},"-",{expr:"exports[x]"}):R.concatenation({expr:"token"},"-",{expr:"exports[x]"})}`,"x")}); exportsWithDashes.forEach(${R.expressionFunction(`exports[x] = "--" + exports[x]`,"x")}); ${L.makeNamespaceObject}(exports); target[token] = (${R.basicFunction("exports, module",`module.exports = exports;`)}).bind(null, exports); ${Te?"moduleIds.push(token); ":""}token = ""; exports = {}; exportsWithId.length = 0; }`,`else if(cc == ${cc("\\")}) { token += data[++i] }`,`else { token += data[i]; }`]),"}",`${Te?`if(target == ${L.moduleFactories}) `:""}installedChunks[chunkId] = 0;`,Te?"return moduleIds;":""])}`,'var loadingAttribute = "data-webpack-loading";',`var loadStylesheet = ${R.basicFunction("chunkId, url, done"+(Te?", hmr":""),['var link, needAttach, key = "chunk-" + chunkId;',Te?"if(!hmr) {":"",'var links = document.getElementsByTagName("link");',"for(var i = 0; i < links.length; i++) {",q.indent(["var l = links[i];",`if(l.rel == "stylesheet" && (${Te?'l.href.startsWith(url) || l.getAttribute("href").startsWith(url)':'l.href == url || l.getAttribute("href") == url'}${pe?' || l.getAttribute("data-webpack") == uniqueName + ":" + key':""})) { link = l; break; }`]),"}","if(!done) return link;",Te?"}":"","if(!link) {",q.indent(["needAttach = true;",Be.call(Ue,this.chunk)]),"}",`var onLinkComplete = ${R.basicFunction("prev, event",q.asString(["link.onerror = link.onload = null;","link.removeAttribute(loadingAttribute);","clearTimeout(timeout);",'if(event && event.type != "load") link.parentNode.removeChild(link)',"done(event);","if(prev) return prev(event);"]))};`,"if(link.getAttribute(loadingAttribute)) {",q.indent([`var timeout = setTimeout(onLinkComplete.bind(null, undefined, { type: 'timeout', target: link }), ${me});`,"link.onerror = onLinkComplete.bind(null, link.onerror);","link.onload = onLinkComplete.bind(null, link.onload);"]),"} else onLinkComplete(undefined, { type: 'load', target: link });",Te?"hmr ? document.head.insertBefore(link, hmr) :":"","needAttach && document.head.appendChild(link);","return link;"])};`,je.size>2?`${JSON.stringify(Array.from(je))}.forEach(loadCssChunkData.bind(null, ${L.moduleFactories}, 0));`:je.size>0?`${Array.from(je,(k=>`loadCssChunkData(${L.moduleFactories}, 0, ${JSON.stringify(k)});`)).join("")}`:"// no initial css","",Me?q.asString([`${ye}.css = ${R.basicFunction("chunkId, promises",["// css chunk loading",`var installedChunkData = ${L.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',q.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",q.indent(["promises.push(installedChunkData[2]);"]),"} else {",q.indent([Ie===true?"if(true) { // all chunks have CSS":`if(${Ie("chunkId")}) {`,q.indent(["// setup Promise in chunk cache",`var promise = new Promise(${R.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${L.publicPath} + ${L.getChunkCssFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${R.basicFunction("event",[`if(${L.hasOwnProperty}(installedChunks, chunkId)) {`,q.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",q.indent(['if(event.type !== "load") {',q.indent(["var errorType = event && event.type;","var realSrc = event && event.target && event.target.src;","error.message = 'Loading css chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","installedChunkData[1](error);"]),"} else {",q.indent([`loadCssChunkData(${L.moduleFactories}, link, chunkId);`,"installedChunkData[0]();"]),"}"]),"}"]),"}"])};`,"var link = loadStylesheet(chunkId, url, loadingEnded);"]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"])};`]):"// no chunk loading","",Te?q.asString(["var oldTags = [];","var newTags = [];",`var applyHandler = ${R.basicFunction("options",[`return { dispose: ${R.basicFunction("",[])}, apply: ${R.basicFunction("",["var moduleIds = [];",`newTags.forEach(${R.expressionFunction("info[1].sheet.disabled = false","info")});`,"while(oldTags.length) {",q.indent(["var oldTag = oldTags.pop();","if(oldTag.parentNode) oldTag.parentNode.removeChild(oldTag);"]),"}","while(newTags.length) {",q.indent([`var info = newTags.pop();`,`var chunkModuleIds = loadCssChunkData(${L.moduleFactories}, info[1], info[0]);`,`chunkModuleIds.forEach(${R.expressionFunction("moduleIds.push(id)","id")});`]),"}","return moduleIds;"])} };`])}`,`var cssTextKey = ${R.returningFunction(`Array.from(link.sheet.cssRules, ${R.returningFunction("r.cssText","r")}).join()`,"link")}`,`${L.hmrDownloadUpdateHandlers}.css = ${R.basicFunction("chunkIds, removedChunks, removedModules, promises, applyHandlers, updatedModulesList",["applyHandlers.push(applyHandler);",`chunkIds.forEach(${R.basicFunction("chunkId",[`var filename = ${L.getChunkCssFilename}(chunkId);`,`var url = ${L.publicPath} + filename;`,"var oldTag = loadStylesheet(chunkId, url);","if(!oldTag) return;",`promises.push(new Promise(${R.basicFunction("resolve, reject",[`var link = loadStylesheet(chunkId, url + (url.indexOf("?") < 0 ? "?" : "&") + "hmr=" + Date.now(), ${R.basicFunction("event",['if(event.type !== "load") {',q.indent(["var errorType = event && event.type;","var realSrc = event && event.target && event.target.src;","error.message = 'Loading css hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"]),"} else {",q.indent(["try { if(cssTextKey(oldTag) == cssTextKey(link)) { if(link.parentNode) link.parentNode.removeChild(link); return resolve(); } } catch(e) {}","var factories = {};","loadCssChunkData(factories, link, chunkId);",`Object.keys(factories).forEach(${R.expressionFunction("updatedModulesList.push(id)","id")})`,"link.sheet.disabled = true;","oldTags.push(oldTag);","newTags.push([chunkId, link]);","resolve();"]),"}"])}, oldTag);`])}));`])});`])}`]):"// no hmr"])}}k.exports=CssLoadingRuntimeModule},76395:function(k,v,E){"use strict";const{ConcatSource:P,PrefixSource:R}=E(51255);const L=E(51585);const N=E(95733);const{CSS_MODULE_TYPE:q,CSS_MODULE_TYPE_GLOBAL:ae,CSS_MODULE_TYPE_MODULE:le}=E(93622);const pe=E(56727);const me=E(15844);const ye=E(71572);const _e=E(55101);const Ie=E(38490);const Me=E(27746);const Te=E(58943);const je=E(97006);const Ne=E(93414);const{compareModulesByIdentifier:Be}=E(95648);const qe=E(92198);const Ue=E(74012);const Ge=E(20631);const He=E(64119);const We=E(97766);const Qe=E(65956);const Je=E(29605);const Ve=Ge((()=>E(3483)));const getSchema=k=>{const{definitions:v}=E(98625);return{definitions:v,oneOf:[{$ref:`#/definitions/${k}`}]}};const Ke=qe(E(87816),(()=>getSchema("CssGeneratorOptions")),{name:"Css Modules Plugin",baseDataPath:"parser"});const Ye=qe(E(32706),(()=>getSchema("CssParserOptions")),{name:"Css Modules Plugin",baseDataPath:"parser"});const escapeCss=(k,v)=>{const E=`${k}`.replace(/[^a-zA-Z0-9_\u0081-\uffff-]/g,(k=>`\\${k}`));return!v&&/^(?!--)[0-9_-]/.test(E)?`_${E}`:E};const Xe="CssModulesPlugin";class CssModulesPlugin{constructor({exportsOnly:k=false}){this._exportsOnly=k}apply(k){k.hooks.compilation.tap(Xe,((k,{normalModuleFactory:v})=>{const E=new me(k.moduleGraph);k.dependencyFactories.set(je,v);k.dependencyTemplates.set(je,new je.Template);k.dependencyTemplates.set(Me,new Me.Template);k.dependencyFactories.set(Te,E);k.dependencyTemplates.set(Te,new Te.Template);k.dependencyTemplates.set(_e,new _e.Template);k.dependencyFactories.set(Ie,v);k.dependencyTemplates.set(Ie,new Ie.Template);k.dependencyTemplates.set(Ne,new Ne.Template);for(const E of[q,ae,le]){v.hooks.createParser.for(E).tap(Xe,(k=>{Ye(k);switch(E){case q:return new Je;case ae:return new Je({allowModeSwitch:false});case le:return new Je({defaultMode:"local"})}}));v.hooks.createGenerator.for(E).tap(Xe,(k=>{Ke(k);return this._exportsOnly?new We:new Qe}));v.hooks.createModuleClass.for(E).tap(Xe,((v,E)=>{if(E.dependencies.length>0){const P=E.dependencies[0];if(P instanceof Ie){const E=k.moduleGraph.getParentModule(P);if(E instanceof L){let k;if(E.cssLayer!==null&&E.cssLayer!==undefined||E.supports||E.media){if(!k){k=[]}k.push([E.cssLayer,E.supports,E.media])}if(E.inheritance){if(!k){k=[]}k.push(...E.inheritance)}return new L({...v,cssLayer:P.layer,supports:P.supports,media:P.media,inheritance:k})}return new L({...v,cssLayer:P.layer,supports:P.supports,media:P.media})}}return new L(v)}))}const P=new WeakMap;k.hooks.afterCodeGeneration.tap("CssModulesPlugin",(()=>{const{chunkGraph:v}=k;for(const E of k.chunks){if(CssModulesPlugin.chunkHasCss(E,v)){P.set(E,this.getOrderedChunkCssModules(E,v,k))}}}));k.hooks.contentHash.tap("CssModulesPlugin",(v=>{const{chunkGraph:E,outputOptions:{hashSalt:R,hashDigest:L,hashDigestLength:N,hashFunction:q}}=k;const ae=P.get(v);if(ae===undefined)return;const le=Ue(q);if(R)le.update(R);for(const k of ae){le.update(E.getModuleHash(k,v.runtime))}const pe=le.digest(L);v.contentHash.css=He(pe,N)}));k.hooks.renderManifest.tap(Xe,((v,E)=>{const{chunkGraph:R}=k;const{hash:L,chunk:q,codeGenerationResults:ae}=E;if(q instanceof N)return v;const le=P.get(q);if(le!==undefined){v.push({render:()=>this.renderChunk({chunk:q,chunkGraph:R,codeGenerationResults:ae,uniqueName:k.outputOptions.uniqueName,modules:le}),filenameTemplate:CssModulesPlugin.getChunkFilenameTemplate(q,k.outputOptions),pathOptions:{hash:L,runtime:q.runtime,chunk:q,contentHashType:"css"},identifier:`css${q.id}`,hash:q.contentHash.css})}return v}));const R=k.outputOptions.chunkLoading;const isEnabledForChunk=k=>{const v=k.getEntryOptions();const E=v&&v.chunkLoading!==undefined?v.chunkLoading:R;return E==="jsonp"};const ye=new WeakSet;const handler=(v,E)=>{if(ye.has(v))return;ye.add(v);if(!isEnabledForChunk(v))return;E.add(pe.publicPath);E.add(pe.getChunkCssFilename);E.add(pe.hasOwnProperty);E.add(pe.moduleFactoriesAddOnly);E.add(pe.makeNamespaceObject);const P=Ve();k.addRuntimeModule(v,new P(E))};k.hooks.runtimeRequirementInTree.for(pe.hasCssModules).tap(Xe,handler);k.hooks.runtimeRequirementInTree.for(pe.ensureChunkHandlers).tap(Xe,handler);k.hooks.runtimeRequirementInTree.for(pe.hmrDownloadUpdateHandlers).tap(Xe,handler)}))}getModulesInOrder(k,v,E){if(!v)return[];const P=[...v];const R=Array.from(k.groupsIterable,(k=>{const v=P.map((v=>({module:v,index:k.getModulePostOrderIndex(v)}))).filter((k=>k.index!==undefined)).sort(((k,v)=>v.index-k.index)).map((k=>k.module));return{list:v,set:new Set(v)}}));if(R.length===1)return R[0].list.reverse();const compareModuleLists=({list:k},{list:v})=>{if(k.length===0){return v.length===0?0:1}else{if(v.length===0)return-1;return Be(k[k.length-1],v[v.length-1])}};R.sort(compareModuleLists);const L=[];for(;;){const v=new Set;const P=R[0].list;if(P.length===0){break}let N=P[P.length-1];let q=undefined;e:for(;;){for(const{list:k,set:E}of R){if(k.length===0)continue;const P=k[k.length-1];if(P===N)continue;if(!E.has(N))continue;v.add(N);if(v.has(P)){q=P;continue}N=P;q=false;continue e}break}if(q){if(E){E.warnings.push(new ye(`chunk ${k.name||k.id}\nConflicting order between ${q.readableIdentifier(E.requestShortener)} and ${N.readableIdentifier(E.requestShortener)}`))}N=q}L.push(N);for(const{list:k,set:v}of R){const E=k[k.length-1];if(E===N)k.pop();else if(q&&v.has(N)){const v=k.indexOf(N);if(v>=0)k.splice(v,1)}}R.sort(compareModuleLists)}return L}getOrderedChunkCssModules(k,v,E){return[...this.getModulesInOrder(k,v.getOrderedChunkModulesIterableBySourceType(k,"css-import",Be),E),...this.getModulesInOrder(k,v.getOrderedChunkModulesIterableBySourceType(k,"css",Be),E)]}renderChunk({uniqueName:k,chunk:v,chunkGraph:E,codeGenerationResults:L,modules:N}){const q=new P;const ae=[];for(const le of N){try{const N=L.get(le,v.runtime);let pe=N.sources.get("css")||N.sources.get("css-import");let me=[[le.cssLayer,le.supports,le.media]];if(le.inheritance){me.push(...le.inheritance)}for(let k=0;k{const P=`${k?k+"-":""}${_e}-${v}`;return E===P?`${escapeCss(v)}/`:E==="--"+P?`${escapeCss(v)}%`:`${escapeCss(v)}(${escapeCss(E)})`})).join(""):""}${escapeCss(_e)}`)}catch(k){k.message+=`\nduring rendering of css ${le.identifier()}`;throw k}}q.add(`head{--webpack-${escapeCss((k?k+"-":"")+v.id,true)}:${ae.join(",")};}`);return q}static getChunkFilenameTemplate(k,v){if(k.cssFilenameTemplate){return k.cssFilenameTemplate}else if(k.canBeInitial()){return v.cssFilename}else{return v.cssChunkFilename}}static chunkHasCss(k,v){return!!v.getChunkModulesIterableBySourceType(k,"css")||!!v.getChunkModulesIterableBySourceType(k,"css-import")}}k.exports=CssModulesPlugin},29605:function(k,v,E){"use strict";const P=E(84018);const R=E(17381);const L=E(71572);const N=E(60381);const q=E(55101);const ae=E(38490);const le=E(27746);const pe=E(58943);const me=E(97006);const ye=E(93414);const _e=E(54753);const Ie="{".charCodeAt(0);const Me="}".charCodeAt(0);const Te=":".charCodeAt(0);const je="/".charCodeAt(0);const Ne=";".charCodeAt(0);const Be=/\\[\n\r\f]/g;const qe=/(^[ \t\n\r\f]*|[ \t\n\r\f]*$)/g;const Ue=/\\([0-9a-fA-F]{1,6}[ \t\n\r\f]?|[\s\S])/g;const Ge=/^(-\w+-)?image-set$/i;const He=/^@(-\w+-)?keyframes$/;const We=/^(-\w+-)?animation(-name)?$/i;const normalizeUrl=(k,v)=>{if(v){k=k.replace(Be,"")}k=k.replace(qe,"").replace(Ue,(k=>{if(k.length>2){return String.fromCharCode(parseInt(k.slice(1).trim(),16))}else{return k[1]}}));if(/^data:/i.test(k)){return k}if(k.includes("%")){try{k=decodeURIComponent(k)}catch(k){}}return k};class LocConverter{constructor(k){this._input=k;this.line=1;this.column=0;this.pos=0}get(k){if(this.pos!==k){if(this.pos0&&(E=v.lastIndexOf("\n",E-1))!==-1)this.line++}}else{let v=this._input.lastIndexOf("\n",this.pos);while(v>=k){this.line--;v=v>0?this._input.lastIndexOf("\n",v-1):-1}this.column=k-v}this.pos=k}return this}}const Qe=0;const Je=1;const Ve=2;const Ke=3;const Ye=4;class CssParser extends R{constructor({allowModeSwitch:k=true,defaultMode:v="global"}={}){super();this.allowModeSwitch=k;this.defaultMode=v}_emitWarning(k,v,E,R,N){const{line:q,column:ae}=E.get(R);const{line:le,column:pe}=E.get(N);k.current.addWarning(new P(k.module,new L(v),{start:{line:q,column:ae},end:{line:le,column:pe}}))}parse(k,v){if(Buffer.isBuffer(k)){k=k.toString("utf-8")}else if(typeof k==="object"){throw new Error("webpackAst is unexpected for the CssParser")}if(k[0]==="\ufeff"){k=k.slice(1)}const E=v.module;const P=new LocConverter(k);const R=new Set;let L=Qe;let Be=0;let qe=true;let Ue=undefined;let Xe=undefined;let Ze=[];let et=undefined;let tt=false;let nt=true;const isNextNestedSyntax=(k,v)=>{v=_e.eatWhitespaceAndComments(k,v);if(k[v]==="}"){return false}const E=_e.isIdentStartCodePoint(k.charCodeAt(v));return!E};const isLocalMode=()=>Ue==="local"||this.defaultMode==="local"&&Ue===undefined;const eatUntil=k=>{const v=Array.from({length:k.length},((v,E)=>k.charCodeAt(E)));const E=Array.from({length:v.reduce(((k,v)=>Math.max(k,v)),0)+1},(()=>false));v.forEach((k=>E[k]=true));return(k,v)=>{for(;;){const P=k.charCodeAt(v);if(P{let P="";for(;;){if(k.charCodeAt(v)===je){const E=_e.eatComments(k,v);if(v!==E){v=E;if(v===k.length)break}else{P+="/";v++;if(v===k.length)break}}const R=E(k,v);if(v!==R){P+=k.slice(v,R);v=R}else{break}if(v===k.length)break}return[v,P.trimEnd()]};const st=eatUntil(":};/");const rt=eatUntil("};/");const parseExports=(k,R)=>{R=_e.eatWhitespaceAndComments(k,R);const L=k.charCodeAt(R);if(L!==Ie){this._emitWarning(v,`Unexpected '${k[R]}' at ${R} during parsing of ':export' (expected '{')`,P,R,R);return R}R++;R=_e.eatWhitespaceAndComments(k,R);for(;;){if(k.charCodeAt(R)===Me)break;R=_e.eatWhitespaceAndComments(k,R);if(R===k.length)return R;let L=R;let N;[R,N]=eatText(k,R,st);if(R===k.length)return R;if(k.charCodeAt(R)!==Te){this._emitWarning(v,`Unexpected '${k[R]}' at ${R} during parsing of export name in ':export' (expected ':')`,P,L,R);return R}R++;if(R===k.length)return R;R=_e.eatWhitespaceAndComments(k,R);if(R===k.length)return R;let ae;[R,ae]=eatText(k,R,rt);if(R===k.length)return R;const le=k.charCodeAt(R);if(le===Ne){R++;if(R===k.length)return R;R=_e.eatWhitespaceAndComments(k,R);if(R===k.length)return R}else if(le!==Me){this._emitWarning(v,`Unexpected '${k[R]}' at ${R} during parsing of export value in ':export' (expected ';' or '}')`,P,L,R);return R}const pe=new q(N,ae);const{line:me,column:ye}=P.get(L);const{line:Ie,column:je}=P.get(R);pe.setLoc(me,ye,Ie,je);E.addDependency(pe)}R++;if(R===k.length)return R;R=_e.eatWhiteLine(k,R);return R};const ot=eatUntil(":{};");const processLocalDeclaration=(k,v,L)=>{Ue=undefined;v=_e.eatWhitespaceAndComments(k,v);const N=v;const[q,ae]=eatText(k,v,ot);if(k.charCodeAt(q)!==Te)return L;v=q+1;if(ae.startsWith("--")){const{line:k,column:v}=P.get(N);const{line:L,column:pe}=P.get(q);const me=ae.slice(2);const ye=new le(me,[N,q],"--");ye.setLoc(k,v,L,pe);E.addDependency(ye);R.add(me)}else if(!ae.startsWith("--")&&We.test(ae)){tt=true}return v};const processDeclarationValueDone=k=>{if(tt&&Xe){const{line:v,column:R}=P.get(Xe[0]);const{line:L,column:N}=P.get(Xe[1]);const q=k.slice(Xe[0],Xe[1]);const ae=new pe(q,Xe);ae.setLoc(v,R,L,N);E.addDependency(ae);Xe=undefined}};const it=eatUntil("{};/");const at=eatUntil(",)};/");_e(k,{isSelector:()=>nt,url:(k,R,N,q,ae)=>{let le=normalizeUrl(k.slice(q,ae),false);switch(L){case Ve:{if(et.inSupports){break}if(et.url){this._emitWarning(v,`Duplicate of 'url(...)' in '${k.slice(et.start,N)}'`,P,R,N);break}et.url=le;et.urlStart=R;et.urlEnd=N;break}case Ye:case Ke:{break}case Je:{if(le.length===0){break}const k=new me(le,[R,N],"url");const{line:v,column:L}=P.get(R);const{line:q,column:ae}=P.get(N);k.setLoc(v,L,q,ae);E.addDependency(k);E.addCodeGenerationDependency(k);break}}return N},string:(k,R,N)=>{switch(L){case Ve:{const E=Ze[Ze.length-1]&&Ze[Ze.length-1][0]==="url";if(et.inSupports||!E&&et.url){break}if(E&&et.url){this._emitWarning(v,`Duplicate of 'url(...)' in '${k.slice(et.start,N)}'`,P,R,N);break}et.url=normalizeUrl(k.slice(R+1,N-1),true);if(!E){et.urlStart=R;et.urlEnd=N}break}case Je:{const v=Ze[Ze.length-1];if(v&&(v[0].replace(/\\/g,"").toLowerCase()==="url"||Ge.test(v[0].replace(/\\/g,"")))){let L=normalizeUrl(k.slice(R+1,N-1),true);if(L.length===0){break}const q=v[0].replace(/\\/g,"").toLowerCase()==="url";const ae=new me(L,[R,N],q?"string":"url");const{line:le,column:pe}=P.get(R);const{line:ye,column:_e}=P.get(N);ae.setLoc(le,pe,ye,_e);E.addDependency(ae);E.addCodeGenerationDependency(ae)}}}return N},atKeyword:(k,N,q)=>{const ae=k.slice(N,q).toLowerCase();if(ae==="@namespace"){L=Ye;this._emitWarning(v,"'@namespace' is not supported in bundled CSS",P,N,q);return q}else if(ae==="@import"){if(!qe){L=Ke;this._emitWarning(v,"Any '@import' rules must precede all other rules",P,N,q);return q}L=Ve;et={start:N}}else if(this.allowModeSwitch&&He.test(ae)){let R=q;R=_e.eatWhitespaceAndComments(k,R);if(R===k.length)return R;const[L,ae]=eatText(k,R,it);if(L===k.length)return L;if(k.charCodeAt(L)!==Ie){this._emitWarning(v,`Unexpected '${k[L]}' at ${L} during parsing of @keyframes (expected '{')`,P,N,q);return L}const{line:pe,column:me}=P.get(R);const{line:ye,column:Me}=P.get(L);const Te=new le(ae,[R,L]);Te.setLoc(pe,me,ye,Me);E.addDependency(Te);R=L;return R+1}else if(this.allowModeSwitch&&ae==="@property"){let L=q;L=_e.eatWhitespaceAndComments(k,L);if(L===k.length)return L;const ae=L;const[pe,me]=eatText(k,L,it);if(pe===k.length)return pe;if(!me.startsWith("--"))return pe;if(k.charCodeAt(pe)!==Ie){this._emitWarning(v,`Unexpected '${k[pe]}' at ${pe} during parsing of @property (expected '{')`,P,N,q);return pe}const{line:ye,column:Me}=P.get(L);const{line:Te,column:je}=P.get(pe);const Ne=me.slice(2);const Be=new le(Ne,[ae,pe],"--");Be.setLoc(ye,Me,Te,je);E.addDependency(Be);R.add(Ne);L=pe;return L+1}else if(ae==="@media"||ae==="@supports"||ae==="@layer"||ae==="@container"){Ue=isLocalMode()?"local":"global";nt=true;return q}else if(this.allowModeSwitch){Ue="global";nt=false}return q},semicolon:(k,R,q)=>{switch(L){case Ve:{const{start:R}=et;if(et.url===undefined){this._emitWarning(v,`Expected URL in '${k.slice(R,q)}'`,P,R,q);et=undefined;L=Qe;return q}if(et.urlStart>et.layerStart||et.urlStart>et.supportsStart){this._emitWarning(v,`An URL in '${k.slice(R,q)}' should be before 'layer(...)' or 'supports(...)'`,P,R,q);et=undefined;L=Qe;return q}if(et.layerStart>et.supportsStart){this._emitWarning(v,`The 'layer(...)' in '${k.slice(R,q)}' should be before 'supports(...)'`,P,R,q);et=undefined;L=Qe;return q}const le=q;q=_e.eatWhiteLine(k,q+1);const{line:pe,column:me}=P.get(R);const{line:ye,column:Ie}=P.get(q);const Me=et.supportsEnd||et.layerEnd||et.urlEnd||R;const Te=_e.eatWhitespaceAndComments(k,Me);if(Te!==le-1){et.media=k.slice(Me,le-1).trim()}const je=et.url.trim();if(je.length===0){const k=new N("",[R,q]);E.addPresentationalDependency(k);k.setLoc(pe,me,ye,Ie)}else{const k=new ae(je,[R,q],et.layer,et.supports,et.media&&et.media.length>0?et.media:undefined);k.setLoc(pe,me,ye,Ie);E.addDependency(k)}et=undefined;L=Qe;break}case Ke:case Ye:{L=Qe;break}case Je:{if(this.allowModeSwitch){processDeclarationValueDone(k);tt=false;nt=isNextNestedSyntax(k,q)}break}}return q},leftCurlyBracket:(k,v,E)=>{switch(L){case Qe:{qe=false;L=Je;Be=1;if(this.allowModeSwitch){nt=isNextNestedSyntax(k,E)}break}case Je:{Be++;if(this.allowModeSwitch){nt=isNextNestedSyntax(k,E)}break}}return E},rightCurlyBracket:(k,v,E)=>{switch(L){case Je:{if(isLocalMode()){processDeclarationValueDone(k);tt=false}if(--Be===0){L=Qe;if(this.allowModeSwitch){nt=true;Ue=undefined}}else if(this.allowModeSwitch){nt=isNextNestedSyntax(k,E)}break}}return E},identifier:(k,v,E)=>{switch(L){case Je:{if(isLocalMode()){if(tt&&Ze.length===0){Xe=[v,E]}else{return processLocalDeclaration(k,v,E)}}break}case Ve:{if(k.slice(v,E).toLowerCase()==="layer"){et.layer="";et.layerStart=v;et.layerEnd=E}break}}return E},class:(k,v,R)=>{if(isLocalMode()){const L=k.slice(v+1,R);const N=new le(L,[v+1,R]);const{line:q,column:ae}=P.get(v);const{line:pe,column:me}=P.get(R);N.setLoc(q,ae,pe,me);E.addDependency(N)}return R},id:(k,v,R)=>{if(isLocalMode()){const L=k.slice(v+1,R);const N=new le(L,[v+1,R]);const{line:q,column:ae}=P.get(v);const{line:pe,column:me}=P.get(R);N.setLoc(q,ae,pe,me);E.addDependency(N)}return R},function:(k,v,N)=>{let q=k.slice(v,N-1);Ze.push([q,v,N]);if(L===Ve&&q.toLowerCase()==="supports"){et.inSupports=true}if(isLocalMode()){q=q.toLowerCase();if(tt&&Ze.length===1){Xe=undefined}if(q==="var"){let v=_e.eatWhitespaceAndComments(k,N);if(v===k.length)return v;const[L,q]=eatText(k,v,at);if(!q.startsWith("--"))return N;const{line:ae,column:le}=P.get(v);const{line:me,column:ye}=P.get(L);const Ie=new pe(q.slice(2),[v,L],"--",R);Ie.setLoc(ae,le,me,ye);E.addDependency(Ie);return L}}return N},leftParenthesis:(k,v,E)=>{Ze.push(["(",v,E]);return E},rightParenthesis:(k,v,P)=>{const R=Ze[Ze.length-1];const q=Ze.pop();if(this.allowModeSwitch&&q&&(q[0]===":local"||q[0]===":global")){Ue=Ze[Ze.length-1]?Ze[Ze.length-1][0]:undefined;const k=new N("",[v,P]);E.addPresentationalDependency(k);return P}switch(L){case Ve:{if(R&&R[0]==="url"&&!et.inSupports){et.urlStart=R[1];et.urlEnd=P}else if(R&&R[0].toLowerCase()==="layer"&&!et.inSupports){et.layer=k.slice(R[2],P-1).trim();et.layerStart=R[1];et.layerEnd=P}else if(R&&R[0].toLowerCase()==="supports"){et.supports=k.slice(R[2],P-1).trim();et.supportsStart=R[1];et.supportsEnd=P;et.inSupports=false}break}}return P},pseudoClass:(k,v,P)=>{if(this.allowModeSwitch){const R=k.slice(v,P).toLowerCase();if(R===":global"){Ue="global";P=_e.eatWhitespace(k,P);const R=new N("",[v,P]);E.addPresentationalDependency(R);return P}else if(R===":local"){Ue="local";P=_e.eatWhitespace(k,P);const R=new N("",[v,P]);E.addPresentationalDependency(R);return P}switch(L){case Qe:{if(R===":export"){const R=parseExports(k,P);const L=new N("",[v,R]);E.addPresentationalDependency(L);return R}break}}}return P},pseudoFunction:(k,v,P)=>{let R=k.slice(v,P-1);Ze.push([R,v,P]);if(this.allowModeSwitch){R=R.toLowerCase();if(R===":global"){Ue="global";const k=new N("",[v,P]);E.addPresentationalDependency(k)}else if(R===":local"){Ue="local";const k=new N("",[v,P]);E.addPresentationalDependency(k)}}return P},comma:(k,v,E)=>{if(this.allowModeSwitch){Ue=undefined;switch(L){case Je:{if(isLocalMode()){processDeclarationValueDone(k)}break}}}return E}});E.buildInfo.strict=true;E.buildMeta.exportsType="namespace";E.addDependency(new ye([],true));return v}}k.exports=CssParser},54753:function(k){"use strict";const v="\n".charCodeAt(0);const E="\r".charCodeAt(0);const P="\f".charCodeAt(0);const R="\t".charCodeAt(0);const L=" ".charCodeAt(0);const N="/".charCodeAt(0);const q="\\".charCodeAt(0);const ae="*".charCodeAt(0);const le="(".charCodeAt(0);const pe=")".charCodeAt(0);const me="{".charCodeAt(0);const ye="}".charCodeAt(0);const _e="[".charCodeAt(0);const Ie="]".charCodeAt(0);const Me='"'.charCodeAt(0);const Te="'".charCodeAt(0);const je=".".charCodeAt(0);const Ne=":".charCodeAt(0);const Be=";".charCodeAt(0);const qe=",".charCodeAt(0);const Ue="%".charCodeAt(0);const Ge="@".charCodeAt(0);const He="_".charCodeAt(0);const We="a".charCodeAt(0);const Qe="u".charCodeAt(0);const Je="e".charCodeAt(0);const Ve="z".charCodeAt(0);const Ke="A".charCodeAt(0);const Ye="E".charCodeAt(0);const Xe="U".charCodeAt(0);const Ze="Z".charCodeAt(0);const et="0".charCodeAt(0);const tt="9".charCodeAt(0);const nt="#".charCodeAt(0);const st="+".charCodeAt(0);const rt="-".charCodeAt(0);const ot="<".charCodeAt(0);const it=">".charCodeAt(0);const _isNewLine=k=>k===v||k===E||k===P;const consumeSpace=(k,v,E)=>{let P;do{v++;P=k.charCodeAt(v)}while(_isWhiteSpace(P));return v};const _isNewline=k=>k===v||k===E||k===P;const _isSpace=k=>k===R||k===L;const _isWhiteSpace=k=>_isNewline(k)||_isSpace(k);const isIdentStartCodePoint=k=>k>=We&&k<=Ve||k>=Ke&&k<=Ze||k===He||k>=128;const consumeDelimToken=(k,v,E)=>v+1;const consumeComments=(k,v,E)=>{if(k.charCodeAt(v)===N&&k.charCodeAt(v+1)===ae){v+=1;while(v(v,E,P)=>{const R=E;E=_consumeString(v,E,k);if(P.string!==undefined){E=P.string(v,R,E)}return E};const _consumeString=(k,v,E)=>{v++;for(;;){if(v===k.length)return v;const P=k.charCodeAt(v);if(P===E)return v+1;if(_isNewLine(P)){return v}if(P===q){v++;if(v===k.length)return v;v++}else{v++}}};const _isIdentifierStartCode=k=>k===He||k>=We&&k<=Ve||k>=Ke&&k<=Ze||k>128;const _isTwoCodePointsAreValidEscape=(k,v)=>{if(k!==q)return false;if(_isNewLine(v))return false;return true};const _isDigit=k=>k>=et&&k<=tt;const _startsIdentifier=(k,v)=>{const E=k.charCodeAt(v);if(E===rt){if(v===k.length)return false;const E=k.charCodeAt(v+1);if(E===rt)return true;if(E===q){const E=k.charCodeAt(v+2);return!_isNewLine(E)}return _isIdentifierStartCode(E)}if(E===q){const E=k.charCodeAt(v+1);return!_isNewLine(E)}return _isIdentifierStartCode(E)};const consumeNumberSign=(k,v,E)=>{const P=v;v++;if(v===k.length)return v;if(E.isSelector(k,v)&&_startsIdentifier(k,v)){v=_consumeIdentifier(k,v,E);if(E.id!==undefined){return E.id(k,P,v)}}return v};const consumeMinus=(k,v,E)=>{const P=v;v++;if(v===k.length)return v;const R=k.charCodeAt(v);if(R===je||_isDigit(R)){return consumeNumericToken(k,v,E)}else if(R===rt){v++;if(v===k.length)return v;const R=k.charCodeAt(v);if(R===it){return v+1}else{v=_consumeIdentifier(k,v,E);if(E.identifier!==undefined){return E.identifier(k,P,v)}}}else if(R===q){if(v+1===k.length)return v;const R=k.charCodeAt(v+1);if(_isNewLine(R))return v;v=_consumeIdentifier(k,v,E);if(E.identifier!==undefined){return E.identifier(k,P,v)}}else if(_isIdentifierStartCode(R)){v=consumeOtherIdentifier(k,v-1,E)}return v};const consumeDot=(k,v,E)=>{const P=v;v++;if(v===k.length)return v;const R=k.charCodeAt(v);if(_isDigit(R))return consumeNumericToken(k,v-2,E);if(!E.isSelector(k,v)||!_startsIdentifier(k,v))return v;v=_consumeIdentifier(k,v,E);if(E.class!==undefined)return E.class(k,P,v);return v};const consumeNumericToken=(k,v,E)=>{v=_consumeNumber(k,v,E);if(v===k.length)return v;if(_startsIdentifier(k,v))return _consumeIdentifier(k,v,E);const P=k.charCodeAt(v);if(P===Ue)return v+1;return v};const consumeOtherIdentifier=(k,v,E)=>{const P=v;v=_consumeIdentifier(k,v,E);if(v!==k.length&&k.charCodeAt(v)===le){v++;if(E.function!==undefined){return E.function(k,P,v)}}else{if(E.identifier!==undefined){return E.identifier(k,P,v)}}return v};const consumePotentialUrl=(k,v,E)=>{const P=v;v=_consumeIdentifier(k,v,E);const R=v+1;if(v===P+3&&k.slice(P,R).toLowerCase()==="url("){v++;let L=k.charCodeAt(v);while(_isWhiteSpace(L)){v++;if(v===k.length)return v;L=k.charCodeAt(v)}if(L===Me||L===Te){if(E.function!==undefined){return E.function(k,P,R)}return R}else{const R=v;let N;for(;;){if(L===q){v++;if(v===k.length)return v;v++}else if(_isWhiteSpace(L)){N=v;do{v++;if(v===k.length)return v;L=k.charCodeAt(v)}while(_isWhiteSpace(L));if(L!==pe)return v;v++;if(E.url!==undefined){return E.url(k,P,v,R,N)}return v}else if(L===pe){N=v;v++;if(E.url!==undefined){return E.url(k,P,v,R,N)}return v}else if(L===le){return v}else{v++}if(v===k.length)return v;L=k.charCodeAt(v)}}}else{if(E.identifier!==undefined){return E.identifier(k,P,v)}return v}};const consumePotentialPseudo=(k,v,E)=>{const P=v;v++;if(!E.isSelector(k,v)||!_startsIdentifier(k,v))return v;v=_consumeIdentifier(k,v,E);let R=k.charCodeAt(v);if(R===le){v++;if(E.pseudoFunction!==undefined){return E.pseudoFunction(k,P,v)}return v}if(E.pseudoClass!==undefined){return E.pseudoClass(k,P,v)}return v};const consumeLeftParenthesis=(k,v,E)=>{v++;if(E.leftParenthesis!==undefined){return E.leftParenthesis(k,v-1,v)}return v};const consumeRightParenthesis=(k,v,E)=>{v++;if(E.rightParenthesis!==undefined){return E.rightParenthesis(k,v-1,v)}return v};const consumeLeftCurlyBracket=(k,v,E)=>{v++;if(E.leftCurlyBracket!==undefined){return E.leftCurlyBracket(k,v-1,v)}return v};const consumeRightCurlyBracket=(k,v,E)=>{v++;if(E.rightCurlyBracket!==undefined){return E.rightCurlyBracket(k,v-1,v)}return v};const consumeSemicolon=(k,v,E)=>{v++;if(E.semicolon!==undefined){return E.semicolon(k,v-1,v)}return v};const consumeComma=(k,v,E)=>{v++;if(E.comma!==undefined){return E.comma(k,v-1,v)}return v};const _consumeIdentifier=(k,v)=>{for(;;){const E=k.charCodeAt(v);if(E===q){v++;if(v===k.length)return v;v++}else if(_isIdentifierStartCode(E)||_isDigit(E)||E===rt){v++}else{return v}}};const _consumeNumber=(k,v)=>{v++;if(v===k.length)return v;let E=k.charCodeAt(v);while(_isDigit(E)){v++;if(v===k.length)return v;E=k.charCodeAt(v)}if(E===je&&v+1!==k.length){const P=k.charCodeAt(v+1);if(_isDigit(P)){v+=2;E=k.charCodeAt(v);while(_isDigit(E)){v++;if(v===k.length)return v;E=k.charCodeAt(v)}}}if(E===Je||E===Ye){if(v+1!==k.length){const E=k.charCodeAt(v+2);if(_isDigit(E)){v+=2}else if((E===rt||E===st)&&v+2!==k.length){const E=k.charCodeAt(v+2);if(_isDigit(E)){v+=3}else{return v}}else{return v}}}else{return v}E=k.charCodeAt(v);while(_isDigit(E)){v++;if(v===k.length)return v;E=k.charCodeAt(v)}return v};const consumeLessThan=(k,v,E)=>{if(k.slice(v+1,v+4)==="!--")return v+4;return v+1};const consumeAt=(k,v,E)=>{const P=v;v++;if(v===k.length)return v;if(_startsIdentifier(k,v)){v=_consumeIdentifier(k,v,E);if(E.atKeyword!==undefined){v=E.atKeyword(k,P,v)}}return v};const consumeReverseSolidus=(k,v,E)=>{const P=v;v++;if(v===k.length)return v;if(_isTwoCodePointsAreValidEscape(k.charCodeAt(P),k.charCodeAt(v))){return consumeOtherIdentifier(k,v-1,E)}return v};const at=Array.from({length:128},((k,N)=>{switch(N){case v:case E:case P:case R:case L:return consumeSpace;case Me:return consumeString(N);case nt:return consumeNumberSign;case Te:return consumeString(N);case le:return consumeLeftParenthesis;case pe:return consumeRightParenthesis;case st:return consumeNumericToken;case qe:return consumeComma;case rt:return consumeMinus;case je:return consumeDot;case Ne:return consumePotentialPseudo;case Be:return consumeSemicolon;case ot:return consumeLessThan;case Ge:return consumeAt;case _e:return consumeDelimToken;case q:return consumeReverseSolidus;case Ie:return consumeDelimToken;case me:return consumeLeftCurlyBracket;case ye:return consumeRightCurlyBracket;case Qe:case Xe:return consumePotentialUrl;default:if(_isDigit(N))return consumeNumericToken;if(isIdentStartCodePoint(N)){return consumeOtherIdentifier}return consumeDelimToken}}));k.exports=(k,v)=>{let E=0;while(E{for(;;){let E=v;v=consumeComments(k,v,{});if(E===v){break}}return v};k.exports.eatWhitespace=(k,v)=>{while(_isWhiteSpace(k.charCodeAt(v))){v++}return v};k.exports.eatWhitespaceAndComments=(k,v)=>{for(;;){let E=v;v=consumeComments(k,v,{});while(_isWhiteSpace(k.charCodeAt(v))){v++}if(E===v){break}}return v};k.exports.eatWhiteLine=(k,P)=>{for(;;){const R=k.charCodeAt(P);if(_isSpace(R)){P++;continue}if(_isNewLine(R))P++;if(R===E&&k.charCodeAt(P+1)===v)P++;break}return P}},85865:function(k,v,E){"use strict";const{Tracer:P}=E(86853);const{JAVASCRIPT_MODULE_TYPE_AUTO:R,JAVASCRIPT_MODULE_TYPE_DYNAMIC:L,JAVASCRIPT_MODULE_TYPE_ESM:N,WEBASSEMBLY_MODULE_TYPE_ASYNC:q,WEBASSEMBLY_MODULE_TYPE_SYNC:ae,JSON_MODULE_TYPE:le}=E(93622);const pe=E(92198);const{dirname:me,mkdirpSync:ye}=E(57825);const _e=pe(E(63114),(()=>E(5877)),{name:"Profiling Plugin",baseDataPath:"options"});let Ie=undefined;try{Ie=E(31405)}catch(k){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(k){this.session=undefined;this.inspector=k;this._startTime=0}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new Ie.Session;this.session.connect()}catch(k){this.session=undefined;return Promise.resolve()}const k=process.hrtime();this._startTime=k[0]*1e6+Math.round(k[1]/1e3);return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(k,v){if(this.hasSession()){return new Promise(((E,P)=>this.session.post(k,v,((k,v)=>{if(k!==null){P(k)}else{E(v)}}))))}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop").then((({profile:k})=>{const v=process.hrtime();const E=v[0]*1e6+Math.round(v[1]/1e3);if(k.startTimeE){const v=k.endTime-k.startTime;const P=E-this._startTime;const R=Math.max(0,P-v);k.startTime=this._startTime+R/2;k.endTime=E-R/2}return{profile:k}}))}}const createTrace=(k,v)=>{const E=new P;const R=new Profiler(Ie);if(/\/|\\/.test(v)){const E=me(k,v);ye(k,E)}const L=k.createWriteStream(v);let N=0;E.pipe(L);E.instantEvent({name:"TracingStartedInPage",id:++N,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});E.instantEvent({name:"TracingStartedInBrowser",id:++N,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:E,counter:N,profiler:R,end:k=>{E.push("]");L.on("close",(()=>{k()}));E.push(null)}}};const Me="ProfilingPlugin";class ProfilingPlugin{constructor(k={}){_e(k);this.outputPath=k.outputPath||"events.json"}apply(k){const v=createTrace(k.intermediateFileSystem,this.outputPath);v.profiler.startProfiling();Object.keys(k.hooks).forEach((E=>{const P=k.hooks[E];if(P){P.intercept(makeInterceptorFor("Compiler",v)(E))}}));Object.keys(k.resolverFactory.hooks).forEach((E=>{const P=k.resolverFactory.hooks[E];if(P){P.intercept(makeInterceptorFor("Resolver",v)(E))}}));k.hooks.compilation.tap(Me,((k,{normalModuleFactory:E,contextModuleFactory:P})=>{interceptAllHooksFor(k,v,"Compilation");interceptAllHooksFor(E,v,"Normal Module Factory");interceptAllHooksFor(P,v,"Context Module Factory");interceptAllParserHooks(E,v);interceptAllJavascriptModulesPluginHooks(k,v)}));k.hooks.done.tapAsync({name:Me,stage:Infinity},((E,P)=>{if(k.watchMode)return P();v.profiler.stopProfiling().then((k=>{if(k===undefined){v.profiler.destroy();v.end(P);return}const E=k.profile.startTime;const R=k.profile.endTime;v.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++v.counter,cat:["toplevel"],ts:E,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});v.trace.completeEvent({name:"EvaluateScript",id:++v.counter,cat:["devtools.timeline"],ts:E,dur:R-E,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});v.trace.instantEvent({name:"CpuProfile",id:++v.counter,cat:["disabled-by-default-devtools.timeline"],ts:R,args:{data:{cpuProfile:k.profile}}});v.profiler.destroy();v.end(P)}))}))}}const interceptAllHooksFor=(k,v,E)=>{if(Reflect.has(k,"hooks")){Object.keys(k.hooks).forEach((P=>{const R=k.hooks[P];if(R&&!R._fakeHook){R.intercept(makeInterceptorFor(E,v)(P))}}))}};const interceptAllParserHooks=(k,v)=>{const E=[R,L,N,le,q,ae];E.forEach((E=>{k.hooks.parser.for(E).tap(Me,((k,E)=>{interceptAllHooksFor(k,v,"Parser")}))}))};const interceptAllJavascriptModulesPluginHooks=(k,v)=>{interceptAllHooksFor({hooks:E(89168).getCompilationHooks(k)},v,"JavascriptModulesPlugin")};const makeInterceptorFor=(k,v)=>k=>({register:E=>{const{name:P,type:R,fn:L}=E;const N=P===Me?L:makeNewProfiledTapFn(k,v,{name:P,type:R,fn:L});return{...E,fn:N}}});const makeNewProfiledTapFn=(k,v,{name:E,type:P,fn:R})=>{const L=["blink.user_timing"];switch(P){case"promise":return(...k)=>{const P=++v.counter;v.trace.begin({name:E,id:P,cat:L});const N=R(...k);return N.then((k=>{v.trace.end({name:E,id:P,cat:L});return k}))};case"async":return(...k)=>{const P=++v.counter;v.trace.begin({name:E,id:P,cat:L});const N=k.pop();R(...k,((...k)=>{v.trace.end({name:E,id:P,cat:L});N(...k)}))};case"sync":return(...k)=>{const P=++v.counter;if(E===Me){return R(...k)}v.trace.begin({name:E,id:P,cat:L});let N;try{N=R(...k)}catch(k){v.trace.end({name:E,id:P,cat:L});throw k}v.trace.end({name:E,id:P,cat:L});return N};default:break}};k.exports=ProfilingPlugin;k.exports.Profiler=Profiler},43804:function(k,v,E){"use strict";const P=E(56727);const R=E(58528);const L=E(53139);const N={f:{definition:"var __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, ${P.require}, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[P.require,P.exports,P.module]},o:{definition:"",content:"!(module.exports = #)",requests:[P.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, ${P.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:[P.require,P.exports,P.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:[P.exports,P.module]},ao:{definition:"",content:"!(#, module.exports = #)",requests:[P.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:[P.exports,P.module]},lf:{definition:"var XXX, XXXmodule;",content:`!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, ${P.require}, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))`,requests:[P.require,P.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, ${P.require}, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))`,requests:[P.require,P.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 L{constructor(k,v,E,P,R){super();this.range=k;this.arrayRange=v;this.functionRange=E;this.objectRange=P;this.namedModule=R;this.localModule=null}get type(){return"amd define"}serialize(k){const{write:v}=k;v(this.range);v(this.arrayRange);v(this.functionRange);v(this.objectRange);v(this.namedModule);v(this.localModule);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.arrayRange=v();this.functionRange=v();this.objectRange=v();this.namedModule=v();this.localModule=v();super.deserialize(k)}}R(AMDDefineDependency,"webpack/lib/dependencies/AMDDefineDependency");AMDDefineDependency.Template=class AMDDefineDependencyTemplate extends L.Template{apply(k,v,{runtimeRequirements:E}){const P=k;const R=this.branch(P);const{definition:L,content:q,requests:ae}=N[R];for(const k of ae){E.add(k)}this.replace(P,v,L,q)}localModuleVar(k){return k.localModule&&k.localModule.used&&k.localModule.variableName()}branch(k){const v=this.localModuleVar(k)?"l":"";const E=k.arrayRange?"a":"";const P=k.objectRange?"o":"";const R=k.functionRange?"f":"";return v+E+P+R}replace(k,v,E,P){const R=this.localModuleVar(k);if(R){P=P.replace(/XXX/g,R.replace(/\$/g,"$$$$"));E=E.replace(/XXX/g,R.replace(/\$/g,"$$$$"))}if(k.namedModule){P=P.replace(/YYY/g,JSON.stringify(k.namedModule))}const L=P.split("#");if(E)v.insert(0,E);let N=k.range[0];if(k.arrayRange){v.replace(N,k.arrayRange[0]-1,L.shift());N=k.arrayRange[1]}if(k.objectRange){v.replace(N,k.objectRange[0]-1,L.shift());N=k.objectRange[1]}else if(k.functionRange){v.replace(N,k.functionRange[0]-1,L.shift());N=k.functionRange[1]}v.replace(N,k.range[1]-1,L.shift());if(L.length>0)throw new Error("Implementation error")}};k.exports=AMDDefineDependency},87655:function(k,v,E){"use strict";const P=E(56727);const R=E(43804);const L=E(78326);const N=E(54220);const q=E(80760);const ae=E(60381);const le=E(25012);const pe=E(71203);const me=E(41808);const{addLocalModule:ye,getLocalModule:_e}=E(18363);const isBoundFunctionExpression=k=>{if(k.type!=="CallExpression")return false;if(k.callee.type!=="MemberExpression")return false;if(k.callee.computed)return false;if(k.callee.object.type!=="FunctionExpression")return false;if(k.callee.property.type!=="Identifier")return false;if(k.callee.property.name!=="bind")return false;return true};const isUnboundFunctionExpression=k=>{if(k.type==="FunctionExpression")return true;if(k.type==="ArrowFunctionExpression")return true;return false};const isCallable=k=>{if(isUnboundFunctionExpression(k))return true;if(isBoundFunctionExpression(k))return true;return false};class AMDDefineDependencyParserPlugin{constructor(k){this.options=k}apply(k){k.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,k))}processArray(k,v,E,R,L){if(E.isArray()){E.items.forEach(((E,P)=>{if(E.isString()&&["require","module","exports"].includes(E.string))R[P]=E.string;const N=this.processItem(k,v,E,L);if(N===undefined){this.processContext(k,v,E)}}));return true}else if(E.isConstArray()){const L=[];E.array.forEach(((E,N)=>{let q;let ae;if(E==="require"){R[N]=E;q=P.require}else if(["exports","module"].includes(E)){R[N]=E;q=E}else if(ae=_e(k.state,E)){ae.flagUsed();q=new me(ae,undefined,false);q.loc=v.loc;k.state.module.addPresentationalDependency(q)}else{q=this.newRequireItemDependency(E);q.loc=v.loc;q.optional=!!k.scope.inTry;k.state.current.addDependency(q)}L.push(q)}));const N=this.newRequireArrayDependency(L,E.range);N.loc=v.loc;N.optional=!!k.scope.inTry;k.state.module.addPresentationalDependency(N);return true}}processItem(k,v,E,R){if(E.isConditional()){E.options.forEach((E=>{const P=this.processItem(k,v,E);if(P===undefined){this.processContext(k,v,E)}}));return true}else if(E.isString()){let L,N;if(E.string==="require"){L=new ae(P.require,E.range,[P.require])}else if(E.string==="exports"){L=new ae("exports",E.range,[P.exports])}else if(E.string==="module"){L=new ae("module",E.range,[P.module])}else if(N=_e(k.state,E.string,R)){N.flagUsed();L=new me(N,E.range,false)}else{L=this.newRequireItemDependency(E.string,E.range);L.optional=!!k.scope.inTry;k.state.current.addDependency(L);return true}L.loc=v.loc;k.state.module.addPresentationalDependency(L);return true}}processContext(k,v,E){const P=le.create(N,E.range,E,v,this.options,{category:"amd"},k);if(!P)return;P.loc=v.loc;P.optional=!!k.scope.inTry;k.state.current.addDependency(P);return true}processCallDefine(k,v){let E,P,R,L;switch(v.arguments.length){case 1:if(isCallable(v.arguments[0])){P=v.arguments[0]}else if(v.arguments[0].type==="ObjectExpression"){R=v.arguments[0]}else{R=P=v.arguments[0]}break;case 2:if(v.arguments[0].type==="Literal"){L=v.arguments[0].value;if(isCallable(v.arguments[1])){P=v.arguments[1]}else if(v.arguments[1].type==="ObjectExpression"){R=v.arguments[1]}else{R=P=v.arguments[1]}}else{E=v.arguments[0];if(isCallable(v.arguments[1])){P=v.arguments[1]}else if(v.arguments[1].type==="ObjectExpression"){R=v.arguments[1]}else{R=P=v.arguments[1]}}break;case 3:L=v.arguments[0].value;E=v.arguments[1];if(isCallable(v.arguments[2])){P=v.arguments[2]}else if(v.arguments[2].type==="ObjectExpression"){R=v.arguments[2]}else{R=P=v.arguments[2]}break;default:return}pe.bailout(k.state);let N=null;let q=0;if(P){if(isUnboundFunctionExpression(P)){N=P.params}else if(isBoundFunctionExpression(P)){N=P.callee.object.params;q=P.arguments.length-1;if(q<0){q=0}}}let ae=new Map;if(E){const P={};const R=k.evaluateExpression(E);const le=this.processArray(k,v,R,P,L);if(!le)return;if(N){N=N.slice(q).filter(((v,E)=>{if(P[E]){ae.set(v.name,k.getVariableInfo(P[E]));return false}return true}))}}else{const v=["require","exports","module"];if(N){N=N.slice(q).filter(((E,P)=>{if(v[P]){ae.set(E.name,k.getVariableInfo(v[P]));return false}return true}))}}let le;if(P&&isUnboundFunctionExpression(P)){le=k.scope.inTry;k.inScope(N,(()=>{for(const[v,E]of ae){k.setVariable(v,E)}k.scope.inTry=le;if(P.body.type==="BlockStatement"){k.detectMode(P.body.body);const v=k.prevStatement;k.preWalkStatement(P.body);k.prevStatement=v;k.walkStatement(P.body)}else{k.walkExpression(P.body)}}))}else if(P&&isBoundFunctionExpression(P)){le=k.scope.inTry;k.inScope(P.callee.object.params.filter((k=>!["require","module","exports"].includes(k.name))),(()=>{for(const[v,E]of ae){k.setVariable(v,E)}k.scope.inTry=le;if(P.callee.object.body.type==="BlockStatement"){k.detectMode(P.callee.object.body.body);const v=k.prevStatement;k.preWalkStatement(P.callee.object.body);k.prevStatement=v;k.walkStatement(P.callee.object.body)}else{k.walkExpression(P.callee.object.body)}}));if(P.arguments){k.walkExpressions(P.arguments)}}else if(P||R){k.walkExpression(P||R)}const me=this.newDefineDependency(v.range,E?E.range:null,P?P.range:null,R?R.range:null,L?L:null);me.loc=v.loc;if(L){me.localModule=ye(k.state,L)}k.state.module.addPresentationalDependency(me);return true}newDefineDependency(k,v,E,P,L){return new R(k,v,E,P,L)}newRequireArrayDependency(k,v){return new L(k,v)}newRequireItemDependency(k,v){return new q(k,v)}}k.exports=AMDDefineDependencyParserPlugin},80471:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R}=E(93622);const L=E(56727);const{approve:N,evaluateToIdentifier:q,evaluateToString:ae,toConstantDependency:le}=E(80784);const pe=E(43804);const me=E(87655);const ye=E(78326);const _e=E(54220);const Ie=E(45746);const Me=E(83138);const Te=E(80760);const{AMDDefineRuntimeModule:je,AMDOptionsRuntimeModule:Ne}=E(60814);const Be=E(60381);const qe=E(41808);const Ue=E(63639);const Ge="AMDPlugin";class AMDPlugin{constructor(k){this.amdOptions=k}apply(k){const v=this.amdOptions;k.hooks.compilation.tap(Ge,((k,{contextModuleFactory:E,normalModuleFactory:He})=>{k.dependencyTemplates.set(Me,new Me.Template);k.dependencyFactories.set(Te,He);k.dependencyTemplates.set(Te,new Te.Template);k.dependencyTemplates.set(ye,new ye.Template);k.dependencyFactories.set(_e,E);k.dependencyTemplates.set(_e,new _e.Template);k.dependencyTemplates.set(pe,new pe.Template);k.dependencyTemplates.set(Ue,new Ue.Template);k.dependencyTemplates.set(qe,new qe.Template);k.hooks.runtimeRequirementInModule.for(L.amdDefine).tap(Ge,((k,v)=>{v.add(L.require)}));k.hooks.runtimeRequirementInModule.for(L.amdOptions).tap(Ge,((k,v)=>{v.add(L.requireScope)}));k.hooks.runtimeRequirementInTree.for(L.amdDefine).tap(Ge,((v,E)=>{k.addRuntimeModule(v,new je)}));k.hooks.runtimeRequirementInTree.for(L.amdOptions).tap(Ge,((E,P)=>{k.addRuntimeModule(E,new Ne(v))}));const handler=(k,v)=>{if(v.amd!==undefined&&!v.amd)return;const tapOptionsHooks=(v,E,P)=>{k.hooks.expression.for(v).tap(Ge,le(k,L.amdOptions,[L.amdOptions]));k.hooks.evaluateIdentifier.for(v).tap(Ge,q(v,E,P,true));k.hooks.evaluateTypeof.for(v).tap(Ge,ae("object"));k.hooks.typeof.for(v).tap(Ge,le(k,JSON.stringify("object")))};new Ie(v).apply(k);new me(v).apply(k);tapOptionsHooks("define.amd","define",(()=>"amd"));tapOptionsHooks("require.amd","require",(()=>["amd"]));tapOptionsHooks("__webpack_amd_options__","__webpack_amd_options__",(()=>[]));k.hooks.expression.for("define").tap(Ge,(v=>{const E=new Be(L.amdDefine,v.range,[L.amdDefine]);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}));k.hooks.typeof.for("define").tap(Ge,le(k,JSON.stringify("function")));k.hooks.evaluateTypeof.for("define").tap(Ge,ae("function"));k.hooks.canRename.for("define").tap(Ge,N);k.hooks.rename.for("define").tap(Ge,(v=>{const E=new Be(L.amdDefine,v.range,[L.amdDefine]);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return false}));k.hooks.typeof.for("require").tap(Ge,le(k,JSON.stringify("function")));k.hooks.evaluateTypeof.for("require").tap(Ge,ae("function"))};He.hooks.parser.for(P).tap(Ge,handler);He.hooks.parser.for(R).tap(Ge,handler)}))}}k.exports=AMDPlugin},78326:function(k,v,E){"use strict";const P=E(30601);const R=E(58528);const L=E(53139);class AMDRequireArrayDependency extends L{constructor(k,v){super();this.depsArray=k;this.range=v}get type(){return"amd require array"}get category(){return"amd"}serialize(k){const{write:v}=k;v(this.depsArray);v(this.range);super.serialize(k)}deserialize(k){const{read:v}=k;this.depsArray=v();this.range=v();super.deserialize(k)}}R(AMDRequireArrayDependency,"webpack/lib/dependencies/AMDRequireArrayDependency");AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate extends P{apply(k,v,E){const P=k;const R=this.getContent(P,E);v.replace(P.range[0],P.range[1]-1,R)}getContent(k,v){const E=k.depsArray.map((k=>this.contentForDependency(k,v)));return`[${E.join(", ")}]`}contentForDependency(k,{runtimeTemplate:v,moduleGraph:E,chunkGraph:P,runtimeRequirements:R}){if(typeof k==="string"){return k}if(k.localModule){return k.localModule.variableName()}else{return v.moduleExports({module:E.getModule(k),chunkGraph:P,request:k.request,runtimeRequirements:R})}}};k.exports=AMDRequireArrayDependency},54220:function(k,v,E){"use strict";const P=E(58528);const R=E(51395);class AMDRequireContextDependency extends R{constructor(k,v,E){super(k);this.range=v;this.valueRange=E}get type(){return"amd require context"}get category(){return"amd"}serialize(k){const{write:v}=k;v(this.range);v(this.valueRange);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.valueRange=v();super.deserialize(k)}}P(AMDRequireContextDependency,"webpack/lib/dependencies/AMDRequireContextDependency");AMDRequireContextDependency.Template=E(64077);k.exports=AMDRequireContextDependency},39892:function(k,v,E){"use strict";const P=E(75081);const R=E(58528);class AMDRequireDependenciesBlock extends P{constructor(k,v){super(null,k,v)}}R(AMDRequireDependenciesBlock,"webpack/lib/dependencies/AMDRequireDependenciesBlock");k.exports=AMDRequireDependenciesBlock},45746:function(k,v,E){"use strict";const P=E(56727);const R=E(9415);const L=E(78326);const N=E(54220);const q=E(39892);const ae=E(83138);const le=E(80760);const pe=E(60381);const me=E(25012);const ye=E(41808);const{getLocalModule:_e}=E(18363);const Ie=E(63639);const Me=E(21271);class AMDRequireDependenciesBlockParserPlugin{constructor(k){this.options=k}processFunctionArgument(k,v){let E=true;const P=Me(v);if(P){k.inScope(P.fn.params.filter((k=>!["require","module","exports"].includes(k.name))),(()=>{if(P.fn.body.type==="BlockStatement"){k.walkStatement(P.fn.body)}else{k.walkExpression(P.fn.body)}}));k.walkExpressions(P.expressions);if(P.needThis===false){E=false}}else{k.walkExpression(v)}return E}apply(k){k.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,k))}processArray(k,v,E){if(E.isArray()){for(const P of E.items){const E=this.processItem(k,v,P);if(E===undefined){this.processContext(k,v,P)}}return true}else if(E.isConstArray()){const R=[];for(const L of E.array){let E,N;if(L==="require"){E=P.require}else if(["exports","module"].includes(L)){E=L}else if(N=_e(k.state,L)){N.flagUsed();E=new ye(N,undefined,false);E.loc=v.loc;k.state.module.addPresentationalDependency(E)}else{E=this.newRequireItemDependency(L);E.loc=v.loc;E.optional=!!k.scope.inTry;k.state.current.addDependency(E)}R.push(E)}const L=this.newRequireArrayDependency(R,E.range);L.loc=v.loc;L.optional=!!k.scope.inTry;k.state.module.addPresentationalDependency(L);return true}}processItem(k,v,E){if(E.isConditional()){for(const P of E.options){const E=this.processItem(k,v,P);if(E===undefined){this.processContext(k,v,P)}}return true}else if(E.isString()){let R,L;if(E.string==="require"){R=new pe(P.require,E.string,[P.require])}else if(E.string==="module"){R=new pe(k.state.module.buildInfo.moduleArgument,E.range,[P.module])}else if(E.string==="exports"){R=new pe(k.state.module.buildInfo.exportsArgument,E.range,[P.exports])}else if(L=_e(k.state,E.string)){L.flagUsed();R=new ye(L,E.range,false)}else{R=this.newRequireItemDependency(E.string,E.range);R.loc=v.loc;R.optional=!!k.scope.inTry;k.state.current.addDependency(R);return true}R.loc=v.loc;k.state.module.addPresentationalDependency(R);return true}}processContext(k,v,E){const P=me.create(N,E.range,E,v,this.options,{category:"amd"},k);if(!P)return;P.loc=v.loc;P.optional=!!k.scope.inTry;k.state.current.addDependency(P);return true}processArrayForRequestString(k){if(k.isArray()){const v=k.items.map((k=>this.processItemForRequestString(k)));if(v.every(Boolean))return v.join(" ")}else if(k.isConstArray()){return k.array.join(" ")}}processItemForRequestString(k){if(k.isConditional()){const v=k.options.map((k=>this.processItemForRequestString(k)));if(v.every(Boolean))return v.join("|")}else if(k.isString()){return k.string}}processCallRequire(k,v){let E;let P;let L;let N;const q=k.state.current;if(v.arguments.length>=1){E=k.evaluateExpression(v.arguments[0]);P=this.newRequireDependenciesBlock(v.loc,this.processArrayForRequestString(E));L=this.newRequireDependency(v.range,E.range,v.arguments.length>1?v.arguments[1].range:null,v.arguments.length>2?v.arguments[2].range:null);L.loc=v.loc;P.addDependency(L);k.state.current=P}if(v.arguments.length===1){k.inScope([],(()=>{N=this.processArray(k,v,E)}));k.state.current=q;if(!N)return;k.state.current.addBlock(P);return true}if(v.arguments.length===2||v.arguments.length===3){try{k.inScope([],(()=>{N=this.processArray(k,v,E)}));if(!N){const E=new Ie("unsupported",v.range);q.addPresentationalDependency(E);if(k.state.module){k.state.module.addError(new R("Cannot statically analyse 'require(…, …)' in line "+v.loc.start.line,v.loc))}P=null;return true}L.functionBindThis=this.processFunctionArgument(k,v.arguments[1]);if(v.arguments.length===3){L.errorCallbackBindThis=this.processFunctionArgument(k,v.arguments[2])}}finally{k.state.current=q;if(P)k.state.current.addBlock(P)}return true}}newRequireDependenciesBlock(k,v){return new q(k,v)}newRequireDependency(k,v,E,P){return new ae(k,v,E,P)}newRequireItemDependency(k,v){return new le(k,v)}newRequireArrayDependency(k,v){return new L(k,v)}}k.exports=AMDRequireDependenciesBlockParserPlugin},83138:function(k,v,E){"use strict";const P=E(56727);const R=E(58528);const L=E(53139);class AMDRequireDependency extends L{constructor(k,v,E,P){super();this.outerRange=k;this.arrayRange=v;this.functionRange=E;this.errorCallbackRange=P;this.functionBindThis=false;this.errorCallbackBindThis=false}get category(){return"amd"}serialize(k){const{write:v}=k;v(this.outerRange);v(this.arrayRange);v(this.functionRange);v(this.errorCallbackRange);v(this.functionBindThis);v(this.errorCallbackBindThis);super.serialize(k)}deserialize(k){const{read:v}=k;this.outerRange=v();this.arrayRange=v();this.functionRange=v();this.errorCallbackRange=v();this.functionBindThis=v();this.errorCallbackBindThis=v();super.deserialize(k)}}R(AMDRequireDependency,"webpack/lib/dependencies/AMDRequireDependency");AMDRequireDependency.Template=class AMDRequireDependencyTemplate extends L.Template{apply(k,v,{runtimeTemplate:E,moduleGraph:R,chunkGraph:L,runtimeRequirements:N}){const q=k;const ae=R.getParentBlock(q);const le=E.blockPromise({chunkGraph:L,block:ae,message:"AMD require",runtimeRequirements:N});if(q.arrayRange&&!q.functionRange){const k=`${le}.then(function() {`;const E=`;})['catch'](${P.uncaughtErrorHandler})`;N.add(P.uncaughtErrorHandler);v.replace(q.outerRange[0],q.arrayRange[0]-1,k);v.replace(q.arrayRange[1],q.outerRange[1]-1,E);return}if(q.functionRange&&!q.arrayRange){const k=`${le}.then((`;const E=`).bind(exports, ${P.require}, exports, module))['catch'](${P.uncaughtErrorHandler})`;N.add(P.uncaughtErrorHandler);v.replace(q.outerRange[0],q.functionRange[0]-1,k);v.replace(q.functionRange[1],q.outerRange[1]-1,E);return}if(q.arrayRange&&q.functionRange&&q.errorCallbackRange){const k=`${le}.then(function() { `;const E=`}${q.functionBindThis?".bind(this)":""})['catch'](`;const P=`${q.errorCallbackBindThis?".bind(this)":""})`;v.replace(q.outerRange[0],q.arrayRange[0]-1,k);v.insert(q.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");v.replace(q.arrayRange[1],q.functionRange[0]-1,"; (");v.insert(q.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");v.replace(q.functionRange[1],q.errorCallbackRange[0]-1,E);v.replace(q.errorCallbackRange[1],q.outerRange[1]-1,P);return}if(q.arrayRange&&q.functionRange){const k=`${le}.then(function() { `;const E=`}${q.functionBindThis?".bind(this)":""})['catch'](${P.uncaughtErrorHandler})`;N.add(P.uncaughtErrorHandler);v.replace(q.outerRange[0],q.arrayRange[0]-1,k);v.insert(q.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");v.replace(q.arrayRange[1],q.functionRange[0]-1,"; (");v.insert(q.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");v.replace(q.functionRange[1],q.outerRange[1]-1,E)}}};k.exports=AMDRequireDependency},80760:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(29729);class AMDRequireItemDependency extends R{constructor(k,v){super(k);this.range=v}get type(){return"amd require"}get category(){return"amd"}}P(AMDRequireItemDependency,"webpack/lib/dependencies/AMDRequireItemDependency");AMDRequireItemDependency.Template=L;k.exports=AMDRequireItemDependency},60814:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class AMDDefineRuntimeModule extends R{constructor(){super("amd define")}generate(){return L.asString([`${P.amdDefine} = function () {`,L.indent("throw new Error('define cannot be used indirect');"),"};"])}}class AMDOptionsRuntimeModule extends R{constructor(k){super("amd options");this.options=k}generate(){return L.asString([`${P.amdOptions} = ${JSON.stringify(this.options)};`])}}v.AMDDefineRuntimeModule=AMDDefineRuntimeModule;v.AMDOptionsRuntimeModule=AMDOptionsRuntimeModule},11602:function(k,v,E){"use strict";const P=E(30601);const R=E(88113);const L=E(58528);const N=E(53139);class CachedConstDependency extends N{constructor(k,v,E){super();this.expression=k;this.range=v;this.identifier=E;this._hashUpdate=undefined}updateHash(k,v){if(this._hashUpdate===undefined)this._hashUpdate=""+this.identifier+this.range+this.expression;k.update(this._hashUpdate)}serialize(k){const{write:v}=k;v(this.expression);v(this.range);v(this.identifier);super.serialize(k)}deserialize(k){const{read:v}=k;this.expression=v();this.range=v();this.identifier=v();super.deserialize(k)}}L(CachedConstDependency,"webpack/lib/dependencies/CachedConstDependency");CachedConstDependency.Template=class CachedConstDependencyTemplate extends P{apply(k,v,{runtimeTemplate:E,dependencyTemplates:P,initFragments:L}){const N=k;L.push(new R(`var ${N.identifier} = ${N.expression};\n`,R.STAGE_CONSTANTS,0,`const ${N.identifier}`));if(typeof N.range==="number"){v.insert(N.range,N.identifier);return}v.replace(N.range[0],N.range[1]-1,N.identifier)}};k.exports=CachedConstDependency},73892:function(k,v,E){"use strict";const P=E(56727);v.handleDependencyBase=(k,v,E)=>{let R=undefined;let L;switch(k){case"exports":E.add(P.exports);R=v.exportsArgument;L="expression";break;case"module.exports":E.add(P.module);R=`${v.moduleArgument}.exports`;L="expression";break;case"this":E.add(P.thisAsExports);R="this";L="expression";break;case"Object.defineProperty(exports)":E.add(P.exports);R=v.exportsArgument;L="Object.defineProperty";break;case"Object.defineProperty(module.exports)":E.add(P.module);R=`${v.moduleArgument}.exports`;L="Object.defineProperty";break;case"Object.defineProperty(this)":E.add(P.thisAsExports);R="this";L="Object.defineProperty";break;default:throw new Error(`Unsupported base ${k}`)}return[L,R]}},21542:function(k,v,E){"use strict";const P=E(16848);const{UsageState:R}=E(11172);const L=E(95041);const{equals:N}=E(68863);const q=E(58528);const ae=E(10720);const{handleDependencyBase:le}=E(73892);const pe=E(77373);const me=E(49798);const ye=Symbol("CommonJsExportRequireDependency.ids");const _e={};class CommonJsExportRequireDependency extends pe{constructor(k,v,E,P,R,L,N){super(R);this.range=k;this.valueRange=v;this.base=E;this.names=P;this.ids=L;this.resultUsed=N;this.asiSafe=undefined}get type(){return"cjs export require"}couldAffectReferencingModule(){return P.TRANSITIVE}getIds(k){return k.getMeta(this)[ye]||this.ids}setIds(k,v){k.getMeta(this)[ye]=v}getReferencedExports(k,v){const E=this.getIds(k);const getFullResult=()=>{if(E.length===0){return P.EXPORTS_OBJECT_REFERENCED}else{return[{name:E,canMangle:false}]}};if(this.resultUsed)return getFullResult();let L=k.getExportsInfo(k.getParentModule(this));for(const k of this.names){const E=L.getReadOnlyExportInfo(k);const N=E.getUsed(v);if(N===R.Unused)return P.NO_EXPORTS_REFERENCED;if(N!==R.OnlyPropertiesUsed)return getFullResult();L=E.exportsInfo;if(!L)return getFullResult()}if(L.otherExportsInfo.getUsed(v)!==R.Unused){return getFullResult()}const N=[];for(const k of L.orderedExports){me(v,N,E.concat(k.name),k,false)}return N.map((k=>({name:k,canMangle:false})))}getExports(k){const v=this.getIds(k);if(this.names.length===1){const E=this.names[0];const P=k.getConnection(this);if(!P)return;return{exports:[{name:E,from:P,export:v.length===0?null:v,canMangle:!(E in _e)&&false}],dependencies:[P.module]}}else if(this.names.length>0){const k=this.names[0];return{exports:[{name:k,canMangle:!(k in _e)&&false}],dependencies:undefined}}else{const E=k.getConnection(this);if(!E)return;const P=this.getStarReexports(k,undefined,E.module);if(P){return{exports:Array.from(P.exports,(k=>({name:k,from:E,export:v.concat(k),canMangle:!(k in _e)&&false}))),dependencies:[E.module]}}else{return{exports:true,from:v.length===0?E:undefined,canMangle:false,dependencies:[E.module]}}}}getStarReexports(k,v,E=k.getModule(this)){let P=k.getExportsInfo(E);const L=this.getIds(k);if(L.length>0)P=P.getNestedExportsInfo(L);let N=k.getExportsInfo(k.getParentModule(this));if(this.names.length>0)N=N.getNestedExportsInfo(this.names);const q=P&&P.otherExportsInfo.provided===false;const ae=N&&N.otherExportsInfo.getUsed(v)===R.Unused;if(!q&&!ae){return}const le=E.getExportsType(k,false)==="namespace";const pe=new Set;const me=new Set;if(ae){for(const k of N.orderedExports){const E=k.name;if(k.getUsed(v)===R.Unused)continue;if(E==="__esModule"&&le){pe.add(E)}else if(P){const k=P.getReadOnlyExportInfo(E);if(k.provided===false)continue;pe.add(E);if(k.provided===true)continue;me.add(E)}else{pe.add(E);me.add(E)}}}else if(q){for(const k of P.orderedExports){const E=k.name;if(k.provided===false)continue;if(N){const k=N.getReadOnlyExportInfo(E);if(k.getUsed(v)===R.Unused)continue}pe.add(E);if(k.provided===true)continue;me.add(E)}if(le){pe.add("__esModule");me.delete("__esModule")}}return{exports:pe,checked:me}}serialize(k){const{write:v}=k;v(this.asiSafe);v(this.range);v(this.valueRange);v(this.base);v(this.names);v(this.ids);v(this.resultUsed);super.serialize(k)}deserialize(k){const{read:v}=k;this.asiSafe=v();this.range=v();this.valueRange=v();this.base=v();this.names=v();this.ids=v();this.resultUsed=v();super.deserialize(k)}}q(CommonJsExportRequireDependency,"webpack/lib/dependencies/CommonJsExportRequireDependency");CommonJsExportRequireDependency.Template=class CommonJsExportRequireDependencyTemplate extends pe.Template{apply(k,v,{module:E,runtimeTemplate:P,chunkGraph:R,moduleGraph:q,runtimeRequirements:pe,runtime:me}){const ye=k;const _e=q.getExportsInfo(E).getUsedName(ye.names,me);const[Ie,Me]=le(ye.base,E,pe);const Te=q.getModule(ye);let je=P.moduleExports({module:Te,chunkGraph:R,request:ye.request,weak:ye.weak,runtimeRequirements:pe});if(Te){const k=ye.getIds(q);const v=q.getExportsInfo(Te).getUsedName(k,me);if(v){const E=N(v,k)?"":L.toNormalComment(ae(k))+" ";je+=`${E}${ae(v)}`}}switch(Ie){case"expression":v.replace(ye.range[0],ye.range[1]-1,_e?`${Me}${ae(_e)} = ${je}`:`/* unused reexport */ ${je}`);return;case"Object.defineProperty":throw new Error("TODO");default:throw new Error("Unexpected type")}}};k.exports=CommonJsExportRequireDependency},57771:function(k,v,E){"use strict";const P=E(88113);const R=E(58528);const L=E(10720);const{handleDependencyBase:N}=E(73892);const q=E(53139);const ae={};class CommonJsExportsDependency extends q{constructor(k,v,E,P){super();this.range=k;this.valueRange=v;this.base=E;this.names=P}get type(){return"cjs exports"}getExports(k){const v=this.names[0];return{exports:[{name:v,canMangle:!(v in ae)}],dependencies:undefined}}serialize(k){const{write:v}=k;v(this.range);v(this.valueRange);v(this.base);v(this.names);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.valueRange=v();this.base=v();this.names=v();super.deserialize(k)}}R(CommonJsExportsDependency,"webpack/lib/dependencies/CommonJsExportsDependency");CommonJsExportsDependency.Template=class CommonJsExportsDependencyTemplate extends q.Template{apply(k,v,{module:E,moduleGraph:R,initFragments:q,runtimeRequirements:ae,runtime:le}){const pe=k;const me=R.getExportsInfo(E).getUsedName(pe.names,le);const[ye,_e]=N(pe.base,E,ae);switch(ye){case"expression":if(!me){q.push(new P("var __webpack_unused_export__;\n",P.STAGE_CONSTANTS,0,"__webpack_unused_export__"));v.replace(pe.range[0],pe.range[1]-1,"__webpack_unused_export__");return}v.replace(pe.range[0],pe.range[1]-1,`${_e}${L(me)}`);return;case"Object.defineProperty":if(!me){q.push(new P("var __webpack_unused_export__;\n",P.STAGE_CONSTANTS,0,"__webpack_unused_export__"));v.replace(pe.range[0],pe.valueRange[0]-1,"__webpack_unused_export__ = (");v.replace(pe.valueRange[1],pe.range[1]-1,")");return}v.replace(pe.range[0],pe.valueRange[0]-1,`Object.defineProperty(${_e}${L(me.slice(0,-1))}, ${JSON.stringify(me[me.length-1])}, (`);v.replace(pe.valueRange[1],pe.range[1]-1,"))");return}}};k.exports=CommonJsExportsDependency},416:function(k,v,E){"use strict";const P=E(56727);const R=E(1811);const{evaluateToString:L}=E(80784);const N=E(10720);const q=E(21542);const ae=E(57771);const le=E(23343);const pe=E(71203);const me=E(71803);const ye=E(10699);const getValueOfPropertyDescription=k=>{if(k.type!=="ObjectExpression")return;for(const v of k.properties){if(v.computed)continue;const k=v.key;if(k.type!=="Identifier"||k.name!=="value")continue;return v.value}};const isTruthyLiteral=k=>{switch(k.type){case"Literal":return!!k.value;case"UnaryExpression":if(k.operator==="!")return isFalsyLiteral(k.argument)}return false};const isFalsyLiteral=k=>{switch(k.type){case"Literal":return!k.value;case"UnaryExpression":if(k.operator==="!")return isTruthyLiteral(k.argument)}return false};const parseRequireCall=(k,v)=>{const E=[];while(v.type==="MemberExpression"){if(v.object.type==="Super")return;if(!v.property)return;const k=v.property;if(v.computed){if(k.type!=="Literal")return;E.push(`${k.value}`)}else{if(k.type!=="Identifier")return;E.push(k.name)}v=v.object}if(v.type!=="CallExpression"||v.arguments.length!==1)return;const P=v.callee;if(P.type!=="Identifier"||k.getVariableInfo(P.name)!=="require"){return}const R=v.arguments[0];if(R.type==="SpreadElement")return;const L=k.evaluateExpression(R);return{argument:L,ids:E.reverse()}};class CommonJsExportsParserPlugin{constructor(k){this.moduleGraph=k}apply(k){const enableStructuredExports=()=>{pe.enable(k.state)};const checkNamespace=(v,E,P)=>{if(!pe.isEnabled(k.state))return;if(E.length>0&&E[0]==="__esModule"){if(P&&isTruthyLiteral(P)&&v){pe.setFlagged(k.state)}else{pe.setDynamic(k.state)}}};const bailout=v=>{pe.bailout(k.state);if(v)bailoutHint(v)};const bailoutHint=v=>{this.moduleGraph.getOptimizationBailout(k.state.module).push(`CommonJS bailout: ${v}`)};k.hooks.evaluateTypeof.for("module").tap("CommonJsExportsParserPlugin",L("object"));k.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",L("object"));const handleAssignExport=(v,E,P)=>{if(me.isEnabled(k.state))return;const R=parseRequireCall(k,v.right);if(R&&R.argument.isString()&&(P.length===0||P[0]!=="__esModule")){enableStructuredExports();if(P.length===0)pe.setDynamic(k.state);const L=new q(v.range,null,E,P,R.argument.string,R.ids,!k.isStatementLevelExpression(v));L.loc=v.loc;L.optional=!!k.scope.inTry;k.state.module.addDependency(L);return true}if(P.length===0)return;enableStructuredExports();const L=P;checkNamespace(k.statementPath.length===1&&k.isStatementLevelExpression(v),L,v.right);const N=new ae(v.left.range,null,E,L);N.loc=v.loc;k.state.module.addDependency(N);k.walkExpression(v.right);return true};k.hooks.assignMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((k,v)=>handleAssignExport(k,"exports",v)));k.hooks.assignMemberChain.for("this").tap("CommonJsExportsParserPlugin",((v,E)=>{if(!k.scope.topLevelScope)return;return handleAssignExport(v,"this",E)}));k.hooks.assignMemberChain.for("module").tap("CommonJsExportsParserPlugin",((k,v)=>{if(v[0]!=="exports")return;return handleAssignExport(k,"module.exports",v.slice(1))}));k.hooks.call.for("Object.defineProperty").tap("CommonJsExportsParserPlugin",(v=>{const E=v;if(!k.isStatementLevelExpression(E))return;if(E.arguments.length!==3)return;if(E.arguments[0].type==="SpreadElement")return;if(E.arguments[1].type==="SpreadElement")return;if(E.arguments[2].type==="SpreadElement")return;const P=k.evaluateExpression(E.arguments[0]);if(!P.isIdentifier())return;if(P.identifier!=="exports"&&P.identifier!=="module.exports"&&(P.identifier!=="this"||!k.scope.topLevelScope)){return}const R=k.evaluateExpression(E.arguments[1]);const L=R.asString();if(typeof L!=="string")return;enableStructuredExports();const N=E.arguments[2];checkNamespace(k.statementPath.length===1,[L],getValueOfPropertyDescription(N));const q=new ae(E.range,E.arguments[2].range,`Object.defineProperty(${P.identifier})`,[L]);q.loc=E.loc;k.state.module.addDependency(q);k.walkExpression(E.arguments[2]);return true}));const handleAccessExport=(v,E,P,L=undefined)=>{if(me.isEnabled(k.state))return;if(P.length===0){bailout(`${E} is used directly at ${R(v.loc)}`)}if(L&&P.length===1){bailoutHint(`${E}${N(P)}(...) prevents optimization as ${E} is passed as call context at ${R(v.loc)}`)}const q=new le(v.range,E,P,!!L);q.loc=v.loc;k.state.module.addDependency(q);if(L){k.walkExpressions(L.arguments)}return true};k.hooks.callMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((k,v)=>handleAccessExport(k.callee,"exports",v,k)));k.hooks.expressionMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((k,v)=>handleAccessExport(k,"exports",v)));k.hooks.expression.for("exports").tap("CommonJsExportsParserPlugin",(k=>handleAccessExport(k,"exports",[])));k.hooks.callMemberChain.for("module").tap("CommonJsExportsParserPlugin",((k,v)=>{if(v[0]!=="exports")return;return handleAccessExport(k.callee,"module.exports",v.slice(1),k)}));k.hooks.expressionMemberChain.for("module").tap("CommonJsExportsParserPlugin",((k,v)=>{if(v[0]!=="exports")return;return handleAccessExport(k,"module.exports",v.slice(1))}));k.hooks.expression.for("module.exports").tap("CommonJsExportsParserPlugin",(k=>handleAccessExport(k,"module.exports",[])));k.hooks.callMemberChain.for("this").tap("CommonJsExportsParserPlugin",((v,E)=>{if(!k.scope.topLevelScope)return;return handleAccessExport(v.callee,"this",E,v)}));k.hooks.expressionMemberChain.for("this").tap("CommonJsExportsParserPlugin",((v,E)=>{if(!k.scope.topLevelScope)return;return handleAccessExport(v,"this",E)}));k.hooks.expression.for("this").tap("CommonJsExportsParserPlugin",(v=>{if(!k.scope.topLevelScope)return;return handleAccessExport(v,"this",[])}));k.hooks.expression.for("module").tap("CommonJsPlugin",(v=>{bailout();const E=me.isEnabled(k.state);const R=new ye(E?P.harmonyModuleDecorator:P.nodeModuleDecorator,!E);R.loc=v.loc;k.state.module.addDependency(R);return true}))}}k.exports=CommonJsExportsParserPlugin},73946:function(k,v,E){"use strict";const P=E(95041);const{equals:R}=E(68863);const L=E(58528);const N=E(10720);const q=E(77373);class CommonJsFullRequireDependency extends q{constructor(k,v,E){super(k);this.range=v;this.names=E;this.call=false;this.asiSafe=undefined}getReferencedExports(k,v){if(this.call){const v=k.getModule(this);if(!v||v.getExportsType(k,false)!=="namespace"){return[this.names.slice(0,-1)]}}return[this.names]}serialize(k){const{write:v}=k;v(this.names);v(this.call);v(this.asiSafe);super.serialize(k)}deserialize(k){const{read:v}=k;this.names=v();this.call=v();this.asiSafe=v();super.deserialize(k)}get type(){return"cjs full require"}get category(){return"commonjs"}}CommonJsFullRequireDependency.Template=class CommonJsFullRequireDependencyTemplate extends q.Template{apply(k,v,{module:E,runtimeTemplate:L,moduleGraph:q,chunkGraph:ae,runtimeRequirements:le,runtime:pe,initFragments:me}){const ye=k;if(!ye.range)return;const _e=q.getModule(ye);let Ie=L.moduleExports({module:_e,chunkGraph:ae,request:ye.request,weak:ye.weak,runtimeRequirements:le});if(_e){const k=ye.names;const v=q.getExportsInfo(_e).getUsedName(k,pe);if(v){const E=R(v,k)?"":P.toNormalComment(N(k))+" ";const L=`${E}${N(v)}`;Ie=ye.asiSafe===true?`(${Ie}${L})`:`${Ie}${L}`}}v.replace(ye.range[0],ye.range[1]-1,Ie)}};L(CommonJsFullRequireDependency,"webpack/lib/dependencies/CommonJsFullRequireDependency");k.exports=CommonJsFullRequireDependency},17042:function(k,v,E){"use strict";const{fileURLToPath:P}=E(57310);const R=E(68160);const L=E(56727);const N=E(9415);const q=E(71572);const ae=E(70037);const{evaluateToIdentifier:le,evaluateToString:pe,expressionIsUnsupported:me,toConstantDependency:ye}=E(80784);const _e=E(73946);const Ie=E(5103);const Me=E(41655);const Te=E(60381);const je=E(25012);const Ne=E(41808);const{getLocalModule:Be}=E(18363);const qe=E(72330);const Ue=E(12204);const Ge=E(29961);const He=E(53765);const We=Symbol("createRequire");const Qe=Symbol("createRequire()");class CommonJsImportsParserPlugin{constructor(k){this.options=k}apply(k){const v=this.options;const getContext=()=>{if(k.currentTagData){const{context:v}=k.currentTagData;return v}};const tapRequireExpression=(v,E)=>{k.hooks.typeof.for(v).tap("CommonJsImportsParserPlugin",ye(k,JSON.stringify("function")));k.hooks.evaluateTypeof.for(v).tap("CommonJsImportsParserPlugin",pe("function"));k.hooks.evaluateIdentifier.for(v).tap("CommonJsImportsParserPlugin",le(v,"require",E,true))};const tapRequireExpressionTag=v=>{k.hooks.typeof.for(v).tap("CommonJsImportsParserPlugin",ye(k,JSON.stringify("function")));k.hooks.evaluateTypeof.for(v).tap("CommonJsImportsParserPlugin",pe("function"))};tapRequireExpression("require",(()=>[]));tapRequireExpression("require.resolve",(()=>["resolve"]));tapRequireExpression("require.resolveWeak",(()=>["resolveWeak"]));k.hooks.assign.for("require").tap("CommonJsImportsParserPlugin",(v=>{const E=new Te("var require;",0);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}));k.hooks.expression.for("require.main").tap("CommonJsImportsParserPlugin",me(k,"require.main is not supported by webpack."));k.hooks.call.for("require.main.require").tap("CommonJsImportsParserPlugin",me(k,"require.main.require is not supported by webpack."));k.hooks.expression.for("module.parent.require").tap("CommonJsImportsParserPlugin",me(k,"module.parent.require is not supported by webpack."));k.hooks.call.for("module.parent.require").tap("CommonJsImportsParserPlugin",me(k,"module.parent.require is not supported by webpack."));const defineUndefined=v=>{const E=new Te("undefined",v.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return false};k.hooks.canRename.for("require").tap("CommonJsImportsParserPlugin",(()=>true));k.hooks.rename.for("require").tap("CommonJsImportsParserPlugin",defineUndefined);const E=ye(k,L.moduleCache,[L.moduleCache,L.moduleId,L.moduleLoaded]);k.hooks.expression.for("require.cache").tap("CommonJsImportsParserPlugin",E);const requireAsExpressionHandler=E=>{const P=new Ie({request:v.unknownContextRequest,recursive:v.unknownContextRecursive,regExp:v.unknownContextRegExp,mode:"sync"},E.range,undefined,k.scope.inShorthand,getContext());P.critical=v.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";P.loc=E.loc;P.optional=!!k.scope.inTry;k.state.current.addDependency(P);return true};k.hooks.expression.for("require").tap("CommonJsImportsParserPlugin",requireAsExpressionHandler);const processRequireItem=(v,E)=>{if(E.isString()){const P=new Me(E.string,E.range,getContext());P.loc=v.loc;P.optional=!!k.scope.inTry;k.state.current.addDependency(P);return true}};const processRequireContext=(E,P)=>{const R=je.create(Ie,E.range,P,E,v,{category:"commonjs"},k,undefined,getContext());if(!R)return;R.loc=E.loc;R.optional=!!k.scope.inTry;k.state.current.addDependency(R);return true};const createRequireHandler=E=>P=>{if(v.commonjsMagicComments){const{options:v,errors:E}=k.parseCommentOptions(P.range);if(E){for(const v of E){const{comment:E}=v;k.state.module.addWarning(new R(`Compilation error while processing magic comment(-s): /*${E.value}*/: ${v.message}`,E.loc))}}if(v){if(v.webpackIgnore!==undefined){if(typeof v.webpackIgnore!=="boolean"){k.state.module.addWarning(new N(`\`webpackIgnore\` expected a boolean, but received: ${v.webpackIgnore}.`,P.loc))}else{if(v.webpackIgnore){return true}}}}}if(P.arguments.length!==1)return;let L;const q=k.evaluateExpression(P.arguments[0]);if(q.isConditional()){let v=false;for(const k of q.options){const E=processRequireItem(P,k);if(E===undefined){v=true}}if(!v){const v=new qe(P.callee.range);v.loc=P.loc;k.state.module.addPresentationalDependency(v);return true}}if(q.isString()&&(L=Be(k.state,q.string))){L.flagUsed();const v=new Ne(L,P.range,E);v.loc=P.loc;k.state.module.addPresentationalDependency(v);return true}else{const v=processRequireItem(P,q);if(v===undefined){processRequireContext(P,q)}else{const v=new qe(P.callee.range);v.loc=P.loc;k.state.module.addPresentationalDependency(v)}return true}};k.hooks.call.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));k.hooks.new.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));k.hooks.call.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));k.hooks.new.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));const chainHandler=(v,E,P,R)=>{if(P.arguments.length!==1)return;const L=k.evaluateExpression(P.arguments[0]);if(L.isString()&&!Be(k.state,L.string)){const E=new _e(L.string,v.range,R);E.asiSafe=!k.isAsiPosition(v.range[0]);E.optional=!!k.scope.inTry;E.loc=v.loc;k.state.current.addDependency(E);return true}};const callChainHandler=(v,E,P,R)=>{if(P.arguments.length!==1)return;const L=k.evaluateExpression(P.arguments[0]);if(L.isString()&&!Be(k.state,L.string)){const E=new _e(L.string,v.callee.range,R);E.call=true;E.asiSafe=!k.isAsiPosition(v.range[0]);E.optional=!!k.scope.inTry;E.loc=v.callee.loc;k.state.current.addDependency(E);k.walkExpressions(v.arguments);return true}};k.hooks.memberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",chainHandler);k.hooks.memberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",chainHandler);k.hooks.callMemberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",callChainHandler);k.hooks.callMemberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",callChainHandler);const processResolve=(v,E)=>{if(v.arguments.length!==1)return;const P=k.evaluateExpression(v.arguments[0]);if(P.isConditional()){for(const k of P.options){const P=processResolveItem(v,k,E);if(P===undefined){processResolveContext(v,k,E)}}const R=new He(v.callee.range);R.loc=v.loc;k.state.module.addPresentationalDependency(R);return true}else{const R=processResolveItem(v,P,E);if(R===undefined){processResolveContext(v,P,E)}const L=new He(v.callee.range);L.loc=v.loc;k.state.module.addPresentationalDependency(L);return true}};const processResolveItem=(v,E,P)=>{if(E.isString()){const R=new Ge(E.string,E.range,getContext());R.loc=v.loc;R.optional=!!k.scope.inTry;R.weak=P;k.state.current.addDependency(R);return true}};const processResolveContext=(E,P,R)=>{const L=je.create(Ue,P.range,P,E,v,{category:"commonjs",mode:R?"weak":"sync"},k,getContext());if(!L)return;L.loc=E.loc;L.optional=!!k.scope.inTry;k.state.current.addDependency(L);return true};k.hooks.call.for("require.resolve").tap("CommonJsImportsParserPlugin",(k=>processResolve(k,false)));k.hooks.call.for("require.resolveWeak").tap("CommonJsImportsParserPlugin",(k=>processResolve(k,true)));if(!v.createRequire)return;let Je=[];let Ve;if(v.createRequire===true){Je=["module","node:module"];Ve="createRequire"}else{let k;const E=/^(.*) from (.*)$/.exec(v.createRequire);if(E){[,Ve,k]=E}if(!Ve||!k){const k=new q(`Parsing javascript parser option "createRequire" failed, got ${JSON.stringify(v.createRequire)}`);k.details='Expected string in format "createRequire from module", where "createRequire" is specifier name and "module" name of the module';throw k}}tapRequireExpressionTag(Qe);tapRequireExpressionTag(We);k.hooks.evaluateCallExpression.for(We).tap("CommonJsImportsParserPlugin",(v=>{const E=parseCreateRequireArguments(v);if(E===undefined)return;const P=k.evaluatedVariable({tag:Qe,data:{context:E},next:undefined});return(new ae).setIdentifier(P,P,(()=>[])).setSideEffects(false).setRange(v.range)}));k.hooks.unhandledExpressionMemberChain.for(Qe).tap("CommonJsImportsParserPlugin",((v,E)=>me(k,`createRequire().${E.join(".")} is not supported by webpack.`)(v)));k.hooks.canRename.for(Qe).tap("CommonJsImportsParserPlugin",(()=>true));k.hooks.canRename.for(We).tap("CommonJsImportsParserPlugin",(()=>true));k.hooks.rename.for(We).tap("CommonJsImportsParserPlugin",defineUndefined);k.hooks.expression.for(Qe).tap("CommonJsImportsParserPlugin",requireAsExpressionHandler);k.hooks.call.for(Qe).tap("CommonJsImportsParserPlugin",createRequireHandler(false));const parseCreateRequireArguments=v=>{const E=v.arguments;if(E.length!==1){const E=new q("module.createRequire supports only one argument.");E.loc=v.loc;k.state.module.addWarning(E);return}const R=E[0];const L=k.evaluateExpression(R);if(!L.isString()){const v=new q("module.createRequire failed parsing argument.");v.loc=R.loc;k.state.module.addWarning(v);return}const N=L.string.startsWith("file://")?P(L.string):L.string;return N.slice(0,N.lastIndexOf(N.startsWith("/")?"/":"\\"))};k.hooks.import.tap({name:"CommonJsImportsParserPlugin",stage:-10},((v,E)=>{if(!Je.includes(E)||v.specifiers.length!==1||v.specifiers[0].type!=="ImportSpecifier"||v.specifiers[0].imported.type!=="Identifier"||v.specifiers[0].imported.name!==Ve)return;const P=new Te(k.isAsiPosition(v.range[0])?";":"",v.range);P.loc=v.loc;k.state.module.addPresentationalDependency(P);k.unsetAsiPosition(v.range[1]);return true}));k.hooks.importSpecifier.tap({name:"CommonJsImportsParserPlugin",stage:-10},((v,E,P,R)=>{if(!Je.includes(E)||P!==Ve)return;k.tagVariable(R,We);return true}));k.hooks.preDeclarator.tap("CommonJsImportsParserPlugin",(v=>{if(v.id.type!=="Identifier"||!v.init||v.init.type!=="CallExpression"||v.init.callee.type!=="Identifier")return;const E=k.getVariableInfo(v.init.callee.name);if(E&&E.tagInfo&&E.tagInfo.tag===We){const E=parseCreateRequireArguments(v.init);if(E===undefined)return;k.tagVariable(v.id.name,Qe,{name:v.id.name,context:E});return true}}));k.hooks.memberChainOfCallMemberChain.for(We).tap("CommonJsImportsParserPlugin",((k,v,P,R)=>{if(v.length!==0||R.length!==1||R[0]!=="cache")return;const L=parseCreateRequireArguments(P);if(L===undefined)return;return E(k)}));k.hooks.callMemberChainOfCallMemberChain.for(We).tap("CommonJsImportsParserPlugin",((k,v,E,P)=>{if(v.length!==0||P.length!==1||P[0]!=="resolve")return;return processResolve(k,false)}));k.hooks.expressionMemberChain.for(Qe).tap("CommonJsImportsParserPlugin",((k,v)=>{if(v.length===1&&v[0]==="cache"){return E(k)}}));k.hooks.callMemberChain.for(Qe).tap("CommonJsImportsParserPlugin",((k,v)=>{if(v.length===1&&v[0]==="resolve"){return processResolve(k,false)}}));k.hooks.call.for(We).tap("CommonJsImportsParserPlugin",(v=>{const E=new Te("/* createRequire() */ undefined",v.range);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}))}}k.exports=CommonJsImportsParserPlugin},45575:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(15844);const N=E(95041);const q=E(57771);const ae=E(73946);const le=E(5103);const pe=E(41655);const me=E(23343);const ye=E(10699);const _e=E(72330);const Ie=E(12204);const Me=E(29961);const Te=E(53765);const je=E(84985);const Ne=E(416);const Be=E(17042);const{JAVASCRIPT_MODULE_TYPE_AUTO:qe,JAVASCRIPT_MODULE_TYPE_DYNAMIC:Ue}=E(93622);const{evaluateToIdentifier:Ge,toConstantDependency:He}=E(80784);const We=E(21542);const Qe="CommonJsPlugin";class CommonJsPlugin{apply(k){k.hooks.compilation.tap(Qe,((k,{contextModuleFactory:v,normalModuleFactory:E})=>{k.dependencyFactories.set(pe,E);k.dependencyTemplates.set(pe,new pe.Template);k.dependencyFactories.set(ae,E);k.dependencyTemplates.set(ae,new ae.Template);k.dependencyFactories.set(le,v);k.dependencyTemplates.set(le,new le.Template);k.dependencyFactories.set(Me,E);k.dependencyTemplates.set(Me,new Me.Template);k.dependencyFactories.set(Ie,v);k.dependencyTemplates.set(Ie,new Ie.Template);k.dependencyTemplates.set(Te,new Te.Template);k.dependencyTemplates.set(_e,new _e.Template);k.dependencyTemplates.set(q,new q.Template);k.dependencyFactories.set(We,E);k.dependencyTemplates.set(We,new We.Template);const R=new L(k.moduleGraph);k.dependencyFactories.set(me,R);k.dependencyTemplates.set(me,new me.Template);k.dependencyFactories.set(ye,R);k.dependencyTemplates.set(ye,new ye.Template);k.hooks.runtimeRequirementInModule.for(P.harmonyModuleDecorator).tap(Qe,((k,v)=>{v.add(P.module);v.add(P.requireScope)}));k.hooks.runtimeRequirementInModule.for(P.nodeModuleDecorator).tap(Qe,((k,v)=>{v.add(P.module);v.add(P.requireScope)}));k.hooks.runtimeRequirementInTree.for(P.harmonyModuleDecorator).tap(Qe,((v,E)=>{k.addRuntimeModule(v,new HarmonyModuleDecoratorRuntimeModule)}));k.hooks.runtimeRequirementInTree.for(P.nodeModuleDecorator).tap(Qe,((v,E)=>{k.addRuntimeModule(v,new NodeModuleDecoratorRuntimeModule)}));const handler=(v,E)=>{if(E.commonjs!==undefined&&!E.commonjs)return;v.hooks.typeof.for("module").tap(Qe,He(v,JSON.stringify("object")));v.hooks.expression.for("require.main").tap(Qe,He(v,`${P.moduleCache}[${P.entryModuleId}]`,[P.moduleCache,P.entryModuleId]));v.hooks.expression.for(P.moduleLoaded).tap(Qe,(k=>{v.state.module.buildInfo.moduleConcatenationBailout=P.moduleLoaded;const E=new je([P.moduleLoaded]);E.loc=k.loc;v.state.module.addPresentationalDependency(E);return true}));v.hooks.expression.for(P.moduleId).tap(Qe,(k=>{v.state.module.buildInfo.moduleConcatenationBailout=P.moduleId;const E=new je([P.moduleId]);E.loc=k.loc;v.state.module.addPresentationalDependency(E);return true}));v.hooks.evaluateIdentifier.for("module.hot").tap(Qe,Ge("module.hot","module",(()=>["hot"]),null));new Be(E).apply(v);new Ne(k.moduleGraph).apply(v)};E.hooks.parser.for(qe).tap(Qe,handler);E.hooks.parser.for(Ue).tap(Qe,handler)}))}}class HarmonyModuleDecoratorRuntimeModule extends R{constructor(){super("harmony module decorator")}generate(){const{runtimeTemplate:k}=this.compilation;return N.asString([`${P.harmonyModuleDecorator} = ${k.basicFunction("module",["module = Object.create(module);","if (!module.children) module.children = [];","Object.defineProperty(module, 'exports', {",N.indent(["enumerable: true,",`set: ${k.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 R{constructor(){super("node module decorator")}generate(){const{runtimeTemplate:k}=this.compilation;return N.asString([`${P.nodeModuleDecorator} = ${k.basicFunction("module",["module.paths = [];","if (!module.children) module.children = [];","return module;"])};`])}}k.exports=CommonJsPlugin},5103:function(k,v,E){"use strict";const P=E(58528);const R=E(51395);const L=E(64077);class CommonJsRequireContextDependency extends R{constructor(k,v,E,P,R){super(k,R);this.range=v;this.valueRange=E;this.inShorthand=P}get type(){return"cjs require context"}serialize(k){const{write:v}=k;v(this.range);v(this.valueRange);v(this.inShorthand);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.valueRange=v();this.inShorthand=v();super.deserialize(k)}}P(CommonJsRequireContextDependency,"webpack/lib/dependencies/CommonJsRequireContextDependency");CommonJsRequireContextDependency.Template=L;k.exports=CommonJsRequireContextDependency},41655:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(3312);class CommonJsRequireDependency extends R{constructor(k,v,E){super(k);this.range=v;this._context=E}get type(){return"cjs require"}get category(){return"commonjs"}}CommonJsRequireDependency.Template=L;P(CommonJsRequireDependency,"webpack/lib/dependencies/CommonJsRequireDependency");k.exports=CommonJsRequireDependency},23343:function(k,v,E){"use strict";const P=E(56727);const{equals:R}=E(68863);const L=E(58528);const N=E(10720);const q=E(53139);class CommonJsSelfReferenceDependency extends q{constructor(k,v,E,P){super();this.range=k;this.base=v;this.names=E;this.call=P}get type(){return"cjs self exports reference"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(k,v){return[this.call?this.names.slice(0,-1):this.names]}serialize(k){const{write:v}=k;v(this.range);v(this.base);v(this.names);v(this.call);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.base=v();this.names=v();this.call=v();super.deserialize(k)}}L(CommonJsSelfReferenceDependency,"webpack/lib/dependencies/CommonJsSelfReferenceDependency");CommonJsSelfReferenceDependency.Template=class CommonJsSelfReferenceDependencyTemplate extends q.Template{apply(k,v,{module:E,moduleGraph:L,runtime:q,runtimeRequirements:ae}){const le=k;let pe;if(le.names.length===0){pe=le.names}else{pe=L.getExportsInfo(E).getUsedName(le.names,q)}if(!pe){throw new Error("Self-reference dependency has unused export name: This should not happen")}let me=undefined;switch(le.base){case"exports":ae.add(P.exports);me=E.exportsArgument;break;case"module.exports":ae.add(P.module);me=`${E.moduleArgument}.exports`;break;case"this":ae.add(P.thisAsExports);me="this";break;default:throw new Error(`Unsupported base ${le.base}`)}if(me===le.base&&R(pe,le.names)){return}v.replace(le.range[0],le.range[1]-1,`${me}${N(pe)}`)}};k.exports=CommonJsSelfReferenceDependency},60381:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class ConstDependency extends R{constructor(k,v,E){super();this.expression=k;this.range=v;this.runtimeRequirements=E?new Set(E):null;this._hashUpdate=undefined}updateHash(k,v){if(this._hashUpdate===undefined){let k=""+this.range+"|"+this.expression;if(this.runtimeRequirements){for(const v of this.runtimeRequirements){k+="|";k+=v}}this._hashUpdate=k}k.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(k){return false}serialize(k){const{write:v}=k;v(this.expression);v(this.range);v(this.runtimeRequirements);super.serialize(k)}deserialize(k){const{read:v}=k;this.expression=v();this.range=v();this.runtimeRequirements=v();super.deserialize(k)}}P(ConstDependency,"webpack/lib/dependencies/ConstDependency");ConstDependency.Template=class ConstDependencyTemplate extends R.Template{apply(k,v,E){const P=k;if(P.runtimeRequirements){for(const k of P.runtimeRequirements){E.runtimeRequirements.add(k)}}if(typeof P.range==="number"){v.insert(P.range,P.expression);return}v.replace(P.range[0],P.range[1]-1,P.expression)}};k.exports=ConstDependency},51395:function(k,v,E){"use strict";const P=E(16848);const R=E(30601);const L=E(58528);const N=E(20631);const q=N((()=>E(43418)));const regExpToString=k=>k?k+"":"";class ContextDependency extends P{constructor(k,v){super();this.options=k;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.inShorthand=undefined;this.replaces=undefined;this._requestContext=v}getContext(){return this._requestContext}get category(){return"commonjs"}couldAffectReferencingModule(){return true}getResourceIdentifier(){return`context${this._requestContext||""}|ctx request${this.options.request} ${this.options.recursive} `+`${regExpToString(this.options.regExp)} ${regExpToString(this.options.include)} ${regExpToString(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(k){let v=super.getWarnings(k);if(this.critical){if(!v)v=[];const k=q();v.push(new k(this.critical))}if(this.hadGlobalOrStickyRegExp){if(!v)v=[];const k=q();v.push(new k("Contexts can't use RegExps with the 'g' or 'y' flags."))}return v}serialize(k){const{write:v}=k;v(this.options);v(this.userRequest);v(this.critical);v(this.hadGlobalOrStickyRegExp);v(this.request);v(this._requestContext);v(this.range);v(this.valueRange);v(this.prepend);v(this.replaces);super.serialize(k)}deserialize(k){const{read:v}=k;this.options=v();this.userRequest=v();this.critical=v();this.hadGlobalOrStickyRegExp=v();this.request=v();this._requestContext=v();this.range=v();this.valueRange=v();this.prepend=v();this.replaces=v();super.deserialize(k)}}L(ContextDependency,"webpack/lib/dependencies/ContextDependency");ContextDependency.Template=R;k.exports=ContextDependency},25012:function(k,v,E){"use strict";const{parseResource:P}=E(65315);const quoteMeta=k=>k.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const splitContextFromPrefix=k=>{const v=k.lastIndexOf("/");let E=".";if(v>=0){E=k.slice(0,v);k=`.${k.slice(v)}`}return{context:E,prefix:k}};v.create=(k,v,E,R,L,N,q,...ae)=>{if(E.isTemplateString()){let le=E.quasis[0].string;let pe=E.quasis.length>1?E.quasis[E.quasis.length-1].string:"";const me=E.range;const{context:ye,prefix:_e}=splitContextFromPrefix(le);const{path:Ie,query:Me,fragment:Te}=P(pe,q);const je=E.quasis.slice(1,E.quasis.length-1);const Ne=L.wrappedContextRegExp.source+je.map((k=>quoteMeta(k.string)+L.wrappedContextRegExp.source)).join("");const Be=new RegExp(`^${quoteMeta(_e)}${Ne}${quoteMeta(Ie)}$`);const qe=new k({request:ye+Me+Te,recursive:L.wrappedContextRecursive,regExp:Be,mode:"sync",...N},v,me,...ae);qe.loc=R.loc;const Ue=[];E.parts.forEach(((k,v)=>{if(v%2===0){let P=k.range;let R=k.string;if(E.templateStringKind==="cooked"){R=JSON.stringify(R);R=R.slice(1,R.length-1)}if(v===0){R=_e;P=[E.range[0],k.range[1]];R=(E.templateStringKind==="cooked"?"`":"String.raw`")+R}else if(v===E.parts.length-1){R=Ie;P=[k.range[0],E.range[1]];R=R+"`"}else if(k.expression&&k.expression.type==="TemplateElement"&&k.expression.value.raw===R){return}Ue.push({range:P,value:R})}else{q.walkExpression(k.expression)}}));qe.replaces=Ue;qe.critical=L.wrappedContextCritical&&"a part of the request of a dependency is an expression";return qe}else if(E.isWrapped()&&(E.prefix&&E.prefix.isString()||E.postfix&&E.postfix.isString())){let le=E.prefix&&E.prefix.isString()?E.prefix.string:"";let pe=E.postfix&&E.postfix.isString()?E.postfix.string:"";const me=E.prefix&&E.prefix.isString()?E.prefix.range:null;const ye=E.postfix&&E.postfix.isString()?E.postfix.range:null;const _e=E.range;const{context:Ie,prefix:Me}=splitContextFromPrefix(le);const{path:Te,query:je,fragment:Ne}=P(pe,q);const Be=new RegExp(`^${quoteMeta(Me)}${L.wrappedContextRegExp.source}${quoteMeta(Te)}$`);const qe=new k({request:Ie+je+Ne,recursive:L.wrappedContextRecursive,regExp:Be,mode:"sync",...N},v,_e,...ae);qe.loc=R.loc;const Ue=[];if(me){Ue.push({range:me,value:JSON.stringify(Me)})}if(ye){Ue.push({range:ye,value:JSON.stringify(Te)})}qe.replaces=Ue;qe.critical=L.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(q&&E.wrappedInnerExpressions){for(const k of E.wrappedInnerExpressions){if(k.expression)q.walkExpression(k.expression)}}return qe}else{const P=new k({request:L.exprContextRequest,recursive:L.exprContextRecursive,regExp:L.exprContextRegExp,mode:"sync",...N},v,E.range,...ae);P.loc=R.loc;P.critical=L.exprContextCritical&&"the request of a dependency is an expression";q.walkExpression(E.expression);return P}}},16213:function(k,v,E){"use strict";const P=E(51395);class ContextDependencyTemplateAsId extends P.Template{apply(k,v,{runtimeTemplate:E,moduleGraph:P,chunkGraph:R,runtimeRequirements:L}){const N=k;const q=E.moduleExports({module:P.getModule(N),chunkGraph:R,request:N.request,weak:N.weak,runtimeRequirements:L});if(P.getModule(N)){if(N.valueRange){if(Array.isArray(N.replaces)){for(let k=0;k({name:k,canMangle:false}))):P.EXPORTS_OBJECT_REFERENCED}serialize(k){const{write:v}=k;v(this._typePrefix);v(this._category);v(this.referencedExports);super.serialize(k)}deserialize(k){const{read:v}=k;this._typePrefix=v();this._category=v();this.referencedExports=v();super.deserialize(k)}}R(ContextElementDependency,"webpack/lib/dependencies/ContextElementDependency");k.exports=ContextElementDependency},98857:function(k,v,E){"use strict";const P=E(56727);const R=E(58528);const L=E(53139);class CreateScriptUrlDependency extends L{constructor(k){super();this.range=k}get type(){return"create script url"}serialize(k){const{write:v}=k;v(this.range);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();super.deserialize(k)}}CreateScriptUrlDependency.Template=class CreateScriptUrlDependencyTemplate extends L.Template{apply(k,v,{runtimeRequirements:E}){const R=k;E.add(P.createScriptUrl);v.insert(R.range[0],`${P.createScriptUrl}(`);v.insert(R.range[1],")")}};R(CreateScriptUrlDependency,"webpack/lib/dependencies/CreateScriptUrlDependency");k.exports=CreateScriptUrlDependency},43418:function(k,v,E){"use strict";const P=E(71572);const R=E(58528);class CriticalDependencyWarning extends P{constructor(k){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+k}}R(CriticalDependencyWarning,"webpack/lib/dependencies/CriticalDependencyWarning");k.exports=CriticalDependencyWarning},55101:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class CssExportDependency extends R{constructor(k,v){super();this.name=k;this.value=v}get type(){return"css :export"}getExports(k){const v=this.name;return{exports:[{name:v,canMangle:true}],dependencies:undefined}}serialize(k){const{write:v}=k;v(this.name);v(this.value);super.serialize(k)}deserialize(k){const{read:v}=k;this.name=v();this.value=v();super.deserialize(k)}}CssExportDependency.Template=class CssExportDependencyTemplate extends R.Template{apply(k,v,{cssExports:E}){const P=k;E.set(P.name,P.value)}};P(CssExportDependency,"webpack/lib/dependencies/CssExportDependency");k.exports=CssExportDependency},38490:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);class CssImportDependency extends R{constructor(k,v,E,P,R){super(k);this.range=v;this.layer=E;this.supports=P;this.media=R}get type(){return"css @import"}get category(){return"css-import"}getResourceIdentifier(){let k=`context${this._context||""}|module${this.request}`;if(this.layer){k+=`|layer${this.layer}`}if(this.supports){k+=`|supports${this.supports}`}if(this.media){k+=`|media${this.media}`}return k}createIgnoredModule(k){return null}serialize(k){const{write:v}=k;v(this.layer);v(this.supports);v(this.media);super.serialize(k)}deserialize(k){const{read:v}=k;this.layer=v();this.supports=v();this.media=v();super.deserialize(k)}}CssImportDependency.Template=class CssImportDependencyTemplate extends R.Template{apply(k,v,E){const P=k;v.replace(P.range[0],P.range[1]-1,"")}};P(CssImportDependency,"webpack/lib/dependencies/CssImportDependency");k.exports=CssImportDependency},27746:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class CssLocalIdentifierDependency extends R{constructor(k,v,E=""){super();this.name=k;this.range=v;this.prefix=E}get type(){return"css local identifier"}getExports(k){const v=this.name;return{exports:[{name:v,canMangle:true}],dependencies:undefined}}serialize(k){const{write:v}=k;v(this.name);v(this.range);v(this.prefix);super.serialize(k)}deserialize(k){const{read:v}=k;this.name=v();this.range=v();this.prefix=v();super.deserialize(k)}}const escapeCssIdentifier=(k,v)=>{const E=`${k}`.replace(/[^a-zA-Z0-9_\u0081-\uffff-]/g,(k=>`\\${k}`));return!v&&/^(?!--)[0-9-]/.test(E)?`_${E}`:E};CssLocalIdentifierDependency.Template=class CssLocalIdentifierDependencyTemplate extends R.Template{apply(k,v,{module:E,moduleGraph:P,chunkGraph:R,runtime:L,runtimeTemplate:N,cssExports:q}){const ae=k;const le=P.getExportInfo(E,ae.name).getUsedName(ae.name,L);const pe=R.getModuleId(E);const me=ae.prefix+(N.outputOptions.uniqueName?N.outputOptions.uniqueName+"-":"")+(le?pe+"-"+le:"-");v.replace(ae.range[0],ae.range[1]-1,escapeCssIdentifier(me,ae.prefix));if(le)q.set(le,me)}};P(CssLocalIdentifierDependency,"webpack/lib/dependencies/CssLocalIdentifierDependency");k.exports=CssLocalIdentifierDependency},58943:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);const L=E(27746);class CssSelfLocalIdentifierDependency extends L{constructor(k,v,E="",P=undefined){super(k,v,E);this.declaredSet=P}get type(){return"css self local identifier"}get category(){return"self"}getResourceIdentifier(){return`self`}getExports(k){if(this.declaredSet&&!this.declaredSet.has(this.name))return;return super.getExports(k)}getReferencedExports(k,v){if(this.declaredSet&&!this.declaredSet.has(this.name))return P.NO_EXPORTS_REFERENCED;return[[this.name]]}serialize(k){const{write:v}=k;v(this.declaredSet);super.serialize(k)}deserialize(k){const{read:v}=k;this.declaredSet=v();super.deserialize(k)}}CssSelfLocalIdentifierDependency.Template=class CssSelfLocalIdentifierDependencyTemplate extends L.Template{apply(k,v,E){const P=k;if(P.declaredSet&&!P.declaredSet.has(P.name))return;super.apply(k,v,E)}};R(CssSelfLocalIdentifierDependency,"webpack/lib/dependencies/CssSelfLocalIdentifierDependency");k.exports=CssSelfLocalIdentifierDependency},97006:function(k,v,E){"use strict";const P=E(58528);const R=E(20631);const L=E(77373);const N=R((()=>E(26619)));class CssUrlDependency extends L{constructor(k,v,E){super(k);this.range=v;this.urlType=E}get type(){return"css url()"}get category(){return"url"}createIgnoredModule(k){const v=N();return new v("data:,",`ignored-asset`,`(ignored asset)`)}serialize(k){const{write:v}=k;v(this.urlType);super.serialize(k)}deserialize(k){const{read:v}=k;this.urlType=v();super.deserialize(k)}}const cssEscapeString=k=>{let v=0;let E=0;let P=0;for(let R=0;R`\\${k}`))}else if(E<=P){return`"${k.replace(/[\n"\\]/g,(k=>`\\${k}`))}"`}else{return`'${k.replace(/[\n'\\]/g,(k=>`\\${k}`))}'`}};CssUrlDependency.Template=class CssUrlDependencyTemplate extends L.Template{apply(k,v,{moduleGraph:E,runtimeTemplate:P,codeGenerationResults:R}){const L=k;let N;switch(L.urlType){case"string":N=cssEscapeString(P.assetUrl({publicPath:"",module:E.getModule(L),codeGenerationResults:R}));break;case"url":N=`url(${cssEscapeString(P.assetUrl({publicPath:"",module:E.getModule(L),codeGenerationResults:R}))})`;break}v.replace(L.range[0],L.range[1]-1,N)}};P(CssUrlDependency,"webpack/lib/dependencies/CssUrlDependency");k.exports=CssUrlDependency},47788:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);class DelegatedSourceDependency extends R{constructor(k){super(k)}get type(){return"delegated source"}get category(){return"esm"}}P(DelegatedSourceDependency,"webpack/lib/dependencies/DelegatedSourceDependency");k.exports=DelegatedSourceDependency},50478:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);class DllEntryDependency extends P{constructor(k,v){super();this.dependencies=k;this.name=v}get type(){return"dll entry"}serialize(k){const{write:v}=k;v(this.dependencies);v(this.name);super.serialize(k)}deserialize(k){const{read:v}=k;this.dependencies=v();this.name=v();super.deserialize(k)}}R(DllEntryDependency,"webpack/lib/dependencies/DllEntryDependency");k.exports=DllEntryDependency},71203:function(k,v){"use strict";const E=new WeakMap;v.bailout=k=>{const v=E.get(k);E.set(k,false);if(v===true){k.module.buildMeta.exportsType=undefined;k.module.buildMeta.defaultObject=false}};v.enable=k=>{const v=E.get(k);if(v===false)return;E.set(k,true);if(v!==true){k.module.buildMeta.exportsType="default";k.module.buildMeta.defaultObject="redirect"}};v.setFlagged=k=>{const v=E.get(k);if(v!==true)return;const P=k.module.buildMeta;if(P.exportsType==="dynamic")return;P.exportsType="flagged"};v.setDynamic=k=>{const v=E.get(k);if(v!==true)return;k.module.buildMeta.exportsType="dynamic"};v.isEnabled=k=>{const v=E.get(k);return v===true}},25248:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);class EntryDependency extends R{constructor(k){super(k)}get type(){return"entry"}get category(){return"esm"}}P(EntryDependency,"webpack/lib/dependencies/EntryDependency");k.exports=EntryDependency},70762:function(k,v,E){"use strict";const{UsageState:P}=E(11172);const R=E(58528);const L=E(53139);const getProperty=(k,v,E,R,L)=>{if(!E){switch(R){case"usedExports":{const E=k.getExportsInfo(v).getUsedExports(L);if(typeof E==="boolean"||E===undefined||E===null){return E}return Array.from(E).sort()}}}switch(R){case"canMangle":{const P=k.getExportsInfo(v);const R=P.getExportInfo(E);if(R)return R.canMangle;return P.otherExportsInfo.canMangle}case"used":return k.getExportsInfo(v).getUsed(E,L)!==P.Unused;case"useInfo":{const R=k.getExportsInfo(v).getUsed(E,L);switch(R){case P.Used:case P.OnlyPropertiesUsed:return true;case P.Unused:return false;case P.NoInfo:return undefined;case P.Unknown:return null;default:throw new Error(`Unexpected UsageState ${R}`)}}case"provideInfo":return k.getExportsInfo(v).isExportProvided(E)}return undefined};class ExportsInfoDependency extends L{constructor(k,v,E){super();this.range=k;this.exportName=v;this.property=E}serialize(k){const{write:v}=k;v(this.range);v(this.exportName);v(this.property);super.serialize(k)}static deserialize(k){const v=new ExportsInfoDependency(k.read(),k.read(),k.read());v.deserialize(k);return v}}R(ExportsInfoDependency,"webpack/lib/dependencies/ExportsInfoDependency");ExportsInfoDependency.Template=class ExportsInfoDependencyTemplate extends L.Template{apply(k,v,{module:E,moduleGraph:P,runtime:R}){const L=k;const N=getProperty(P,E,L.exportName,L.property,R);v.replace(L.range[0],L.range[1]-1,N===undefined?"undefined":JSON.stringify(N))}};k.exports=ExportsInfoDependency},95077:function(k,v,E){"use strict";const P=E(95041);const R=E(58528);const L=E(69184);const N=E(53139);class HarmonyAcceptDependency extends N{constructor(k,v,E){super();this.range=k;this.dependencies=v;this.hasCallback=E}get type(){return"accepted harmony modules"}serialize(k){const{write:v}=k;v(this.range);v(this.dependencies);v(this.hasCallback);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.dependencies=v();this.hasCallback=v();super.deserialize(k)}}R(HarmonyAcceptDependency,"webpack/lib/dependencies/HarmonyAcceptDependency");HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate extends N.Template{apply(k,v,E){const R=k;const{module:N,runtime:q,runtimeRequirements:ae,runtimeTemplate:le,moduleGraph:pe,chunkGraph:me}=E;const ye=R.dependencies.map((k=>{const v=pe.getModule(k);return{dependency:k,runtimeCondition:v?L.Template.getImportEmittedRuntime(N,v):false}})).filter((({runtimeCondition:k})=>k!==false)).map((({dependency:k,runtimeCondition:v})=>{const R=le.runtimeConditionExpression({chunkGraph:me,runtime:q,runtimeCondition:v,runtimeRequirements:ae});const L=k.getImportStatement(true,E);const N=L[0]+L[1];if(R!=="true"){return`if (${R}) {\n${P.indent(N)}\n}\n`}return N})).join("");if(R.hasCallback){if(le.supportsArrowFunction()){v.insert(R.range[0],`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${ye}(`);v.insert(R.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }")}else{v.insert(R.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${ye}(`);v.insert(R.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)")}return}const _e=le.supportsArrowFunction();v.insert(R.range[1]-.5,`, ${_e?"() =>":"function()"} { ${ye} }`)}};k.exports=HarmonyAcceptDependency},46325:function(k,v,E){"use strict";const P=E(58528);const R=E(69184);const L=E(53139);class HarmonyAcceptImportDependency extends R{constructor(k){super(k,NaN);this.weak=true}get type(){return"harmony accept"}}P(HarmonyAcceptImportDependency,"webpack/lib/dependencies/HarmonyAcceptImportDependency");HarmonyAcceptImportDependency.Template=L.Template;k.exports=HarmonyAcceptImportDependency},2075:function(k,v,E){"use strict";const{UsageState:P}=E(11172);const R=E(88113);const L=E(56727);const N=E(58528);const q=E(53139);class HarmonyCompatibilityDependency extends q{get type(){return"harmony export header"}}N(HarmonyCompatibilityDependency,"webpack/lib/dependencies/HarmonyCompatibilityDependency");HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate extends q.Template{apply(k,v,{module:E,runtimeTemplate:N,moduleGraph:q,initFragments:ae,runtimeRequirements:le,runtime:pe,concatenationScope:me}){if(me)return;const ye=q.getExportsInfo(E);if(ye.getReadOnlyExportInfo("__esModule").getUsed(pe)!==P.Unused){const k=N.defineEsModuleFlagStatement({exportsArgument:E.exportsArgument,runtimeRequirements:le});ae.push(new R(k,R.STAGE_HARMONY_EXPORTS,0,"harmony compatibility"))}if(q.isAsync(E)){le.add(L.module);le.add(L.asyncModule);ae.push(new R(N.supportsArrowFunction()?`${L.asyncModule}(${E.moduleArgument}, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {\n`:`${L.asyncModule}(${E.moduleArgument}, async function (__webpack_handle_async_dependencies__, __webpack_async_result__) { try {\n`,R.STAGE_ASYNC_BOUNDARY,0,undefined,`\n__webpack_async_result__();\n} catch(e) { __webpack_async_result__(e); } }${E.buildMeta.async?", 1":""});`))}}};k.exports=HarmonyCompatibilityDependency},23144:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_ESM:P}=E(93622);const R=E(71203);const L=E(2075);const N=E(71803);k.exports=class HarmonyDetectionParserPlugin{constructor(k){const{topLevelAwait:v=false}=k||{};this.topLevelAwait=v}apply(k){k.hooks.program.tap("HarmonyDetectionParserPlugin",(v=>{const E=k.state.module.type===P;const q=E||v.body.some((k=>k.type==="ImportDeclaration"||k.type==="ExportDefaultDeclaration"||k.type==="ExportNamedDeclaration"||k.type==="ExportAllDeclaration"));if(q){const v=k.state.module;const P=new L;P.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};v.addPresentationalDependency(P);R.bailout(k.state);N.enable(k.state,E);k.scope.isStrict=true}}));k.hooks.topLevelAwait.tap("HarmonyDetectionParserPlugin",(()=>{const v=k.state.module;if(!this.topLevelAwait){throw new Error("The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)")}if(!N.isEnabled(k.state)){throw new Error("Top-level-await is only supported in EcmaScript Modules")}v.buildMeta.async=true}));const skipInHarmony=()=>{if(N.isEnabled(k.state)){return true}};const nullInHarmony=()=>{if(N.isEnabled(k.state)){return null}};const v=["define","exports"];for(const E of v){k.hooks.evaluateTypeof.for(E).tap("HarmonyDetectionParserPlugin",nullInHarmony);k.hooks.typeof.for(E).tap("HarmonyDetectionParserPlugin",skipInHarmony);k.hooks.evaluate.for(E).tap("HarmonyDetectionParserPlugin",nullInHarmony);k.hooks.expression.for(E).tap("HarmonyDetectionParserPlugin",skipInHarmony);k.hooks.call.for(E).tap("HarmonyDetectionParserPlugin",skipInHarmony)}}}},5107:function(k,v,E){"use strict";const P=E(58528);const R=E(56390);class HarmonyEvaluatedImportSpecifierDependency extends R{constructor(k,v,E,P,R,L,N){super(k,v,E,P,R,false,L,[]);this.operator=N}get type(){return`evaluated X ${this.operator} harmony import specifier`}serialize(k){super.serialize(k);const{write:v}=k;v(this.operator)}deserialize(k){super.deserialize(k);const{read:v}=k;this.operator=v()}}P(HarmonyEvaluatedImportSpecifierDependency,"webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency");HarmonyEvaluatedImportSpecifierDependency.Template=class HarmonyEvaluatedImportSpecifierDependencyTemplate extends R.Template{apply(k,v,E){const P=k;const{module:R,moduleGraph:L,runtime:N}=E;const q=L.getConnection(P);if(q&&!q.isTargetActive(N))return;const ae=L.getExportsInfo(q.module);const le=P.getIds(L);let pe;const me=q.module.getExportsType(L,R.buildMeta.strictHarmonyModule);switch(me){case"default-with-named":{if(le[0]==="default"){pe=le.length===1||ae.isExportProvided(le.slice(1))}else{pe=ae.isExportProvided(le)}break}case"namespace":{if(le[0]==="__esModule"){pe=le.length===1||undefined}else{pe=ae.isExportProvided(le)}break}case"dynamic":{if(le[0]!=="default"){pe=ae.isExportProvided(le)}break}}if(typeof pe==="boolean"){v.replace(P.range[0],P.range[1]-1,` ${pe}`)}else{const k=ae.getUsedName(le,N);const R=this._getCodeForIds(P,v,E,le.slice(0,-1));v.replace(P.range[0],P.range[1]-1,`${k?JSON.stringify(k[k.length-1]):'""'} in ${R}`)}}};k.exports=HarmonyEvaluatedImportSpecifierDependency},33866:function(k,v,E){"use strict";const P=E(88926);const R=E(60381);const L=E(33579);const N=E(66057);const q=E(44827);const ae=E(95040);const{ExportPresenceModes:le}=E(69184);const{harmonySpecifierTag:pe,getAssertions:me}=E(57737);const ye=E(59398);const{HarmonyStarExportsList:_e}=q;k.exports=class HarmonyExportDependencyParserPlugin{constructor(k){this.exportPresenceMode=k.reexportExportsPresence!==undefined?le.fromUserOption(k.reexportExportsPresence):k.exportsPresence!==undefined?le.fromUserOption(k.exportsPresence):k.strictExportPresence?le.ERROR:le.AUTO}apply(k){const{exportPresenceMode:v}=this;k.hooks.export.tap("HarmonyExportDependencyParserPlugin",(v=>{const E=new N(v.declaration&&v.declaration.range,v.range);E.loc=Object.create(v.loc);E.loc.index=-1;k.state.module.addPresentationalDependency(E);return true}));k.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",((v,E)=>{k.state.lastHarmonyImportOrder=(k.state.lastHarmonyImportOrder||0)+1;const P=new R("",v.range);P.loc=Object.create(v.loc);P.loc.index=-1;k.state.module.addPresentationalDependency(P);const L=new ye(E,k.state.lastHarmonyImportOrder,me(v));L.loc=Object.create(v.loc);L.loc.index=-1;k.state.current.addDependency(L);return true}));k.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",((v,E)=>{const R=E.type==="FunctionDeclaration";const N=k.getComments([v.range[0],E.range[0]]);const q=new L(E.range,v.range,N.map((k=>{switch(k.type){case"Block":return`/*${k.value}*/`;case"Line":return`//${k.value}\n`}return""})).join(""),E.type.endsWith("Declaration")&&E.id?E.id.name:R?{id:E.id?E.id.name:undefined,range:[E.range[0],E.params.length>0?E.params[0].range[0]:E.body.range[0]],prefix:`${E.async?"async ":""}function${E.generator?"*":""} `,suffix:`(${E.params.length>0?"":") "}`}:undefined);q.loc=Object.create(v.loc);q.loc.index=-1;k.state.current.addDependency(q);P.addVariableUsage(k,E.type.endsWith("Declaration")&&E.id?E.id.name:"*default*","default");return true}));k.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",((E,R,L,N)=>{const le=k.getTagData(R,pe);let me;const ye=k.state.harmonyNamedExports=k.state.harmonyNamedExports||new Set;ye.add(L);P.addVariableUsage(k,R,L);if(le){me=new q(le.source,le.sourceOrder,le.ids,L,ye,null,v,null,le.assertions)}else{me=new ae(R,L)}me.loc=Object.create(E.loc);me.loc.index=N;k.state.current.addDependency(me);return true}));k.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",((E,P,R,L,N)=>{const ae=k.state.harmonyNamedExports=k.state.harmonyNamedExports||new Set;let le=null;if(L){ae.add(L)}else{le=k.state.harmonyStarExports=k.state.harmonyStarExports||new _e}const pe=new q(P,k.state.lastHarmonyImportOrder,R?[R]:[],L,ae,le&&le.slice(),v,le);if(le){le.push(pe)}pe.loc=Object.create(E.loc);pe.loc.index=N;k.state.current.addDependency(pe);return true}))}}},33579:function(k,v,E){"use strict";const P=E(91213);const R=E(56727);const L=E(58528);const N=E(10720);const q=E(89661);const ae=E(53139);class HarmonyExportExpressionDependency extends ae{constructor(k,v,E,P){super();this.range=k;this.rangeStatement=v;this.prefix=E;this.declarationId=P}get type(){return"harmony export expression"}getExports(k){return{exports:["default"],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(k){return false}serialize(k){const{write:v}=k;v(this.range);v(this.rangeStatement);v(this.prefix);v(this.declarationId);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.rangeStatement=v();this.prefix=v();this.declarationId=v();super.deserialize(k)}}L(HarmonyExportExpressionDependency,"webpack/lib/dependencies/HarmonyExportExpressionDependency");HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate extends ae.Template{apply(k,v,{module:E,moduleGraph:L,runtimeTemplate:ae,runtimeRequirements:le,initFragments:pe,runtime:me,concatenationScope:ye}){const _e=k;const{declarationId:Ie}=_e;const Me=E.exportsArgument;if(Ie){let k;if(typeof Ie==="string"){k=Ie}else{k=P.DEFAULT_EXPORT;v.replace(Ie.range[0],Ie.range[1]-1,`${Ie.prefix}${k}${Ie.suffix}`)}if(ye){ye.registerExport("default",k)}else{const v=L.getExportsInfo(E).getUsedName("default",me);if(v){const E=new Map;E.set(v,`/* export default binding */ ${k}`);pe.push(new q(Me,E))}}v.replace(_e.rangeStatement[0],_e.range[0]-1,`/* harmony default export */ ${_e.prefix}`)}else{let k;const Ie=P.DEFAULT_EXPORT;if(ae.supportsConst()){k=`/* harmony default export */ const ${Ie} = `;if(ye){ye.registerExport("default",Ie)}else{const v=L.getExportsInfo(E).getUsedName("default",me);if(v){le.add(R.exports);const k=new Map;k.set(v,Ie);pe.push(new q(Me,k))}else{k=`/* unused harmony default export */ var ${Ie} = `}}}else if(ye){k=`/* harmony default export */ var ${Ie} = `;ye.registerExport("default",Ie)}else{const v=L.getExportsInfo(E).getUsedName("default",me);if(v){le.add(R.exports);k=`/* harmony default export */ ${Me}${N(typeof v==="string"?[v]:v)} = `}else{k=`/* unused harmony default export */ var ${Ie} = `}}if(_e.range){v.replace(_e.rangeStatement[0],_e.range[0]-1,k+"("+_e.prefix);v.replace(_e.range[1],_e.rangeStatement[1]-.5,");");return}v.replace(_e.rangeStatement[0],_e.rangeStatement[1]-1,k)}}};k.exports=HarmonyExportExpressionDependency},66057:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class HarmonyExportHeaderDependency extends R{constructor(k,v){super();this.range=k;this.rangeStatement=v}get type(){return"harmony export header"}serialize(k){const{write:v}=k;v(this.range);v(this.rangeStatement);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.rangeStatement=v();super.deserialize(k)}}P(HarmonyExportHeaderDependency,"webpack/lib/dependencies/HarmonyExportHeaderDependency");HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate extends R.Template{apply(k,v,E){const P=k;const R="";const L=P.range?P.range[0]-1:P.rangeStatement[1]-1;v.replace(P.rangeStatement[0],L,R)}};k.exports=HarmonyExportHeaderDependency},44827:function(k,v,E){"use strict";const P=E(16848);const{UsageState:R}=E(11172);const L=E(36473);const N=E(88113);const q=E(56727);const ae=E(95041);const{countIterable:le}=E(54480);const{first:pe,combine:me}=E(59959);const ye=E(58528);const _e=E(10720);const{propertyName:Ie}=E(72627);const{getRuntimeKey:Me,keyToRuntime:Te}=E(1540);const je=E(89661);const Ne=E(69184);const Be=E(49798);const{ExportPresenceModes:qe}=Ne;const Ue=Symbol("HarmonyExportImportedSpecifierDependency.ids");class NormalReexportItem{constructor(k,v,E,P,R){this.name=k;this.ids=v;this.exportInfo=E;this.checked=P;this.hidden=R}}class ExportMode{constructor(k){this.type=k;this.items=null;this.name=null;this.partialNamespaceExportInfo=null;this.ignored=null;this.hidden=null;this.userRequest=null;this.fakeType=0}}const determineExportAssignments=(k,v,E)=>{const P=new Set;const R=[];if(E){v=v.concat(E)}for(const E of v){const v=R.length;R[v]=P.size;const L=k.getModule(E);if(L){const E=k.getExportsInfo(L);for(const k of E.exports){if(k.provided===true&&k.name!=="default"&&!P.has(k.name)){P.add(k.name);R[v]=P.size}}}}R.push(P.size);return{names:Array.from(P),dependencyIndices:R}};const findDependencyForName=({names:k,dependencyIndices:v},E,P)=>{const R=P[Symbol.iterator]();const L=v[Symbol.iterator]();let N=R.next();let q=L.next();if(q.done)return;for(let v=0;v=q.value){N=R.next();q=L.next();if(q.done)return}if(k[v]===E)return N.value}return undefined};const getMode=(k,v,E)=>{const P=k.getModule(v);if(!P){const k=new ExportMode("missing");k.userRequest=v.userRequest;return k}const L=v.name;const N=Te(E);const q=k.getParentModule(v);const ae=k.getExportsInfo(q);if(L?ae.getUsed(L,N)===R.Unused:ae.isUsed(N)===false){const k=new ExportMode("unused");k.name=L||"*";return k}const le=P.getExportsType(k,q.buildMeta.strictHarmonyModule);const pe=v.getIds(k);if(L&&pe.length>0&&pe[0]==="default"){switch(le){case"dynamic":{const k=new ExportMode("reexport-dynamic-default");k.name=L;return k}case"default-only":case"default-with-named":{const k=ae.getReadOnlyExportInfo(L);const v=new ExportMode("reexport-named-default");v.name=L;v.partialNamespaceExportInfo=k;return v}}}if(L){let k;const v=ae.getReadOnlyExportInfo(L);if(pe.length>0){switch(le){case"default-only":k=new ExportMode("reexport-undefined");k.name=L;break;default:k=new ExportMode("normal-reexport");k.items=[new NormalReexportItem(L,pe,v,false,false)];break}}else{switch(le){case"default-only":k=new ExportMode("reexport-fake-namespace-object");k.name=L;k.partialNamespaceExportInfo=v;k.fakeType=0;break;case"default-with-named":k=new ExportMode("reexport-fake-namespace-object");k.name=L;k.partialNamespaceExportInfo=v;k.fakeType=2;break;case"dynamic":default:k=new ExportMode("reexport-namespace-object");k.name=L;k.partialNamespaceExportInfo=v}}return k}const{ignoredExports:me,exports:ye,checked:_e,hidden:Ie}=v.getStarReexports(k,N,ae,P);if(!ye){const k=new ExportMode("dynamic-reexport");k.ignored=me;k.hidden=Ie;return k}if(ye.size===0){const k=new ExportMode("empty-star");k.hidden=Ie;return k}const Me=new ExportMode("normal-reexport");Me.items=Array.from(ye,(k=>new NormalReexportItem(k,[k],ae.getReadOnlyExportInfo(k),_e.has(k),false)));if(Ie!==undefined){for(const k of Ie){Me.items.push(new NormalReexportItem(k,[k],ae.getReadOnlyExportInfo(k),false,true))}}return Me};class HarmonyExportImportedSpecifierDependency extends Ne{constructor(k,v,E,P,R,L,N,q,ae){super(k,v,ae);this.ids=E;this.name=P;this.activeExports=R;this.otherStarExports=L;this.exportPresenceMode=N;this.allStarExports=q}couldAffectReferencingModule(){return P.TRANSITIVE}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(k){return k.getMeta(this)[Ue]||this.ids}setIds(k,v){k.getMeta(this)[Ue]=v}getMode(k,v){return k.dependencyCacheProvide(this,Me(v),getMode)}getStarReexports(k,v,E=k.getExportsInfo(k.getParentModule(this)),P=k.getModule(this)){const L=k.getExportsInfo(P);const N=L.otherExportsInfo.provided===false;const q=E.otherExportsInfo.getUsed(v)===R.Unused;const ae=new Set(["default",...this.activeExports]);let le=undefined;const pe=this._discoverActiveExportsFromOtherStarExports(k);if(pe!==undefined){le=new Set;for(let k=0;k{const P=this.getMode(k,E);return P.type!=="unused"&&P.type!=="empty-star"}}getModuleEvaluationSideEffectsState(k){return false}getReferencedExports(k,v){const E=this.getMode(k,v);switch(E.type){case"missing":case"unused":case"empty-star":case"reexport-undefined":return P.NO_EXPORTS_REFERENCED;case"reexport-dynamic-default":return P.EXPORTS_OBJECT_REFERENCED;case"reexport-named-default":{if(!E.partialNamespaceExportInfo)return P.EXPORTS_OBJECT_REFERENCED;const k=[];Be(v,k,[],E.partialNamespaceExportInfo);return k}case"reexport-namespace-object":case"reexport-fake-namespace-object":{if(!E.partialNamespaceExportInfo)return P.EXPORTS_OBJECT_REFERENCED;const k=[];Be(v,k,[],E.partialNamespaceExportInfo,E.type==="reexport-fake-namespace-object");return k}case"dynamic-reexport":return P.EXPORTS_OBJECT_REFERENCED;case"normal-reexport":{const k=[];for(const{ids:P,exportInfo:R,hidden:L}of E.items){if(L)continue;Be(v,k,P,R,false)}return k}default:throw new Error(`Unknown mode ${E.type}`)}}_discoverActiveExportsFromOtherStarExports(k){if(!this.otherStarExports)return undefined;const v="length"in this.otherStarExports?this.otherStarExports.length:le(this.otherStarExports);if(v===0)return undefined;if(this.allStarExports){const{names:E,dependencyIndices:P}=k.cached(determineExportAssignments,this.allStarExports.dependencies);return{names:E,namesSlice:P[v-1],dependencyIndices:P,dependencyIndex:v}}const{names:E,dependencyIndices:P}=k.cached(determineExportAssignments,this.otherStarExports,this);return{names:E,namesSlice:P[v-1],dependencyIndices:P,dependencyIndex:v}}getExports(k){const v=this.getMode(k,undefined);switch(v.type){case"missing":return undefined;case"dynamic-reexport":{const E=k.getConnection(this);return{exports:true,from:E,canMangle:false,excludeExports:v.hidden?me(v.ignored,v.hidden):v.ignored,hideExports:v.hidden,dependencies:[E.module]}}case"empty-star":return{exports:[],hideExports:v.hidden,dependencies:[k.getModule(this)]};case"normal-reexport":{const E=k.getConnection(this);return{exports:Array.from(v.items,(k=>({name:k.name,from:E,export:k.ids,hidden:k.hidden}))),priority:1,dependencies:[E.module]}}case"reexport-dynamic-default":{{const E=k.getConnection(this);return{exports:[{name:v.name,from:E,export:["default"]}],priority:1,dependencies:[E.module]}}}case"reexport-undefined":return{exports:[v.name],dependencies:[k.getModule(this)]};case"reexport-fake-namespace-object":{const E=k.getConnection(this);return{exports:[{name:v.name,from:E,export:null,exports:[{name:"default",canMangle:false,from:E,export:null}]}],priority:1,dependencies:[E.module]}}case"reexport-namespace-object":{const E=k.getConnection(this);return{exports:[{name:v.name,from:E,export:null}],priority:1,dependencies:[E.module]}}case"reexport-named-default":{const E=k.getConnection(this);return{exports:[{name:v.name,from:E,export:["default"]}],priority:1,dependencies:[E.module]}}default:throw new Error(`Unknown mode ${v.type}`)}}_getEffectiveExportPresenceLevel(k){if(this.exportPresenceMode!==qe.AUTO)return this.exportPresenceMode;return k.getParentModule(this).buildMeta.strictHarmonyModule?qe.ERROR:qe.WARN}getWarnings(k){const v=this._getEffectiveExportPresenceLevel(k);if(v===qe.WARN){return this._getErrors(k)}return null}getErrors(k){const v=this._getEffectiveExportPresenceLevel(k);if(v===qe.ERROR){return this._getErrors(k)}return null}_getErrors(k){const v=this.getIds(k);let E=this.getLinkingErrors(k,v,`(reexported as '${this.name}')`);if(v.length===0&&this.name===null){const v=this._discoverActiveExportsFromOtherStarExports(k);if(v&&v.namesSlice>0){const P=new Set(v.names.slice(v.namesSlice,v.dependencyIndices[v.dependencyIndex]));const R=k.getModule(this);if(R){const N=k.getExportsInfo(R);const q=new Map;for(const E of N.orderedExports){if(E.provided!==true)continue;if(E.name==="default")continue;if(this.activeExports.has(E.name))continue;if(P.has(E.name))continue;const L=findDependencyForName(v,E.name,this.allStarExports?this.allStarExports.dependencies:[...this.otherStarExports,this]);if(!L)continue;const N=E.getTerminalBinding(k);if(!N)continue;const ae=k.getModule(L);if(ae===R)continue;const le=k.getExportInfo(ae,E.name);const pe=le.getTerminalBinding(k);if(!pe)continue;if(N===pe)continue;const me=q.get(L.request);if(me===undefined){q.set(L.request,[E.name])}else{me.push(E.name)}}for(const[k,v]of q){if(!E)E=[];E.push(new L(`The requested module '${this.request}' contains conflicting star exports for the ${v.length>1?"names":"name"} ${v.map((k=>`'${k}'`)).join(", ")} with the previous requested module '${k}'`))}}}}return E}serialize(k){const{write:v,setCircularReference:E}=k;E(this);v(this.ids);v(this.name);v(this.activeExports);v(this.otherStarExports);v(this.exportPresenceMode);v(this.allStarExports);super.serialize(k)}deserialize(k){const{read:v,setCircularReference:E}=k;E(this);this.ids=v();this.name=v();this.activeExports=v();this.otherStarExports=v();this.exportPresenceMode=v();this.allStarExports=v();super.deserialize(k)}}ye(HarmonyExportImportedSpecifierDependency,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency");k.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends Ne.Template{apply(k,v,E){const{moduleGraph:P,runtime:R,concatenationScope:L}=E;const N=k;const q=N.getMode(P,R);if(L){switch(q.type){case"reexport-undefined":L.registerRawExport(q.name,"/* reexport non-default export from non-harmony */ undefined")}return}if(q.type!=="unused"&&q.type!=="empty-star"){super.apply(k,v,E);this._addExportFragments(E.initFragments,N,q,E.module,P,R,E.runtimeTemplate,E.runtimeRequirements)}}_addExportFragments(k,v,E,P,R,L,le,ye){const _e=R.getModule(v);const Ie=v.getImportVar(R);switch(E.type){case"missing":case"empty-star":k.push(new N("/* empty/unused harmony star reexport */\n",N.STAGE_HARMONY_EXPORTS,1));break;case"unused":k.push(new N(`${ae.toNormalComment(`unused harmony reexport ${E.name}`)}\n`,N.STAGE_HARMONY_EXPORTS,1));break;case"reexport-dynamic-default":k.push(this.getReexportFragment(P,"reexport default from dynamic",R.getExportsInfo(P).getUsedName(E.name,L),Ie,null,ye));break;case"reexport-fake-namespace-object":k.push(...this.getReexportFakeNamespaceObjectFragments(P,R.getExportsInfo(P).getUsedName(E.name,L),Ie,E.fakeType,ye));break;case"reexport-undefined":k.push(this.getReexportFragment(P,"reexport non-default export from non-harmony",R.getExportsInfo(P).getUsedName(E.name,L),"undefined","",ye));break;case"reexport-named-default":k.push(this.getReexportFragment(P,"reexport default export from named module",R.getExportsInfo(P).getUsedName(E.name,L),Ie,"",ye));break;case"reexport-namespace-object":k.push(this.getReexportFragment(P,"reexport module object",R.getExportsInfo(P).getUsedName(E.name,L),Ie,"",ye));break;case"normal-reexport":for(const{name:q,ids:ae,checked:le,hidden:pe}of E.items){if(pe)continue;if(le){k.push(new N("/* harmony reexport (checked) */ "+this.getConditionalReexportStatement(P,q,Ie,ae,ye),R.isAsync(_e)?N.STAGE_ASYNC_HARMONY_IMPORTS:N.STAGE_HARMONY_IMPORTS,v.sourceOrder))}else{k.push(this.getReexportFragment(P,"reexport safe",R.getExportsInfo(P).getUsedName(q,L),Ie,R.getExportsInfo(_e).getUsedName(ae,L),ye))}}break;case"dynamic-reexport":{const L=E.hidden?me(E.ignored,E.hidden):E.ignored;const ae=le.supportsConst()&&le.supportsArrowFunction();let Me="/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n"+`/* harmony reexport (unknown) */ for(${ae?"const":"var"} __WEBPACK_IMPORT_KEY__ in ${Ie}) `;if(L.size>1){Me+="if("+JSON.stringify(Array.from(L))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else if(L.size===1){Me+=`if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(pe(L))}) `}Me+=`__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;if(ae){Me+=`() => ${Ie}[__WEBPACK_IMPORT_KEY__]`}else{Me+=`function(key) { return ${Ie}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`}ye.add(q.exports);ye.add(q.definePropertyGetters);const Te=P.exportsArgument;k.push(new N(`${Me}\n/* harmony reexport (unknown) */ ${q.definePropertyGetters}(${Te}, __WEBPACK_REEXPORT_OBJECT__);\n`,R.isAsync(_e)?N.STAGE_ASYNC_HARMONY_IMPORTS:N.STAGE_HARMONY_IMPORTS,v.sourceOrder));break}default:throw new Error(`Unknown mode ${E.type}`)}}getReexportFragment(k,v,E,P,R,L){const N=this.getReturnValue(P,R);L.add(q.exports);L.add(q.definePropertyGetters);const ae=new Map;ae.set(E,`/* ${v} */ ${N}`);return new je(k.exportsArgument,ae)}getReexportFakeNamespaceObjectFragments(k,v,E,P,R){R.add(q.exports);R.add(q.definePropertyGetters);R.add(q.createFakeNamespaceObject);const L=new Map;L.set(v,`/* reexport fake namespace object from non-harmony */ ${E}_namespace_cache || (${E}_namespace_cache = ${q.createFakeNamespaceObject}(${E}${P?`, ${P}`:""}))`);return[new N(`var ${E}_namespace_cache;\n`,N.STAGE_CONSTANTS,-1,`${E}_namespace_cache`),new je(k.exportsArgument,L)]}getConditionalReexportStatement(k,v,E,P,R){if(P===false){return"/* unused export */\n"}const L=k.exportsArgument;const N=this.getReturnValue(E,P);R.add(q.exports);R.add(q.definePropertyGetters);R.add(q.hasOwnProperty);return`if(${q.hasOwnProperty}(${E}, ${JSON.stringify(P[0])})) ${q.definePropertyGetters}(${L}, { ${Ie(v)}: function() { return ${N}; } });\n`}getReturnValue(k,v){if(v===null){return`${k}_default.a`}if(v===""){return k}if(v===false){return"/* unused export */ undefined"}return`${k}${_e(v)}`}};class HarmonyStarExportsList{constructor(){this.dependencies=[]}push(k){this.dependencies.push(k)}slice(){return this.dependencies.slice()}serialize({write:k,setCircularReference:v}){v(this);k(this.dependencies)}deserialize({read:k,setCircularReference:v}){v(this);this.dependencies=k()}}ye(HarmonyStarExportsList,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency","HarmonyStarExportsList");k.exports.HarmonyStarExportsList=HarmonyStarExportsList},89661:function(k,v,E){"use strict";const P=E(88113);const R=E(56727);const{first:L}=E(59959);const{propertyName:N}=E(72627);const joinIterableWithComma=k=>{let v="";let E=true;for(const P of k){if(E){E=false}else{v+=", "}v+=P}return v};const q=new Map;const ae=new Set;class HarmonyExportInitFragment extends P{constructor(k,v=q,E=ae){super(undefined,P.STAGE_HARMONY_EXPORTS,1,"harmony-exports");this.exportsArgument=k;this.exportMap=v;this.unusedExports=E}mergeAll(k){let v;let E=false;let P;let R=false;for(const L of k){if(L.exportMap.size!==0){if(v===undefined){v=L.exportMap;E=false}else{if(!E){v=new Map(v);E=true}for(const[k,E]of L.exportMap){if(!v.has(k))v.set(k,E)}}}if(L.unusedExports.size!==0){if(P===undefined){P=L.unusedExports;R=false}else{if(!R){P=new Set(P);R=true}for(const k of L.unusedExports){P.add(k)}}}}return new HarmonyExportInitFragment(this.exportsArgument,v,P)}merge(k){let v;if(this.exportMap.size===0){v=k.exportMap}else if(k.exportMap.size===0){v=this.exportMap}else{v=new Map(k.exportMap);for(const[k,E]of this.exportMap){if(!v.has(k))v.set(k,E)}}let E;if(this.unusedExports.size===0){E=k.unusedExports}else if(k.unusedExports.size===0){E=this.unusedExports}else{E=new Set(k.unusedExports);for(const k of this.unusedExports){E.add(k)}}return new HarmonyExportInitFragment(this.exportsArgument,v,E)}getContent({runtimeTemplate:k,runtimeRequirements:v}){v.add(R.exports);v.add(R.definePropertyGetters);const E=this.unusedExports.size>1?`/* unused harmony exports ${joinIterableWithComma(this.unusedExports)} */\n`:this.unusedExports.size>0?`/* unused harmony export ${L(this.unusedExports)} */\n`:"";const P=[];const q=Array.from(this.exportMap).sort((([k],[v])=>k0?`/* harmony export */ ${R.definePropertyGetters}(${this.exportsArgument}, {${P.join(",")}\n/* harmony export */ });\n`:"";return`${ae}${E}`}}k.exports=HarmonyExportInitFragment},95040:function(k,v,E){"use strict";const P=E(58528);const R=E(89661);const L=E(53139);class HarmonyExportSpecifierDependency extends L{constructor(k,v){super();this.id=k;this.name=v}get type(){return"harmony export specifier"}getExports(k){return{exports:[this.name],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(k){return false}serialize(k){const{write:v}=k;v(this.id);v(this.name);super.serialize(k)}deserialize(k){const{read:v}=k;this.id=v();this.name=v();super.deserialize(k)}}P(HarmonyExportSpecifierDependency,"webpack/lib/dependencies/HarmonyExportSpecifierDependency");HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate extends L.Template{apply(k,v,{module:E,moduleGraph:P,initFragments:L,runtime:N,concatenationScope:q}){const ae=k;if(q){q.registerExport(ae.name,ae.id);return}const le=P.getExportsInfo(E).getUsedName(ae.name,N);if(!le){const k=new Set;k.add(ae.name||"namespace");L.push(new R(E.exportsArgument,undefined,k));return}const pe=new Map;pe.set(le,`/* binding */ ${ae.id}`);L.push(new R(E.exportsArgument,pe,undefined))}};k.exports=HarmonyExportSpecifierDependency},71803:function(k,v,E){"use strict";const P=E(56727);const R=new WeakMap;v.enable=(k,v)=>{const E=R.get(k);if(E===false)return;R.set(k,true);if(E!==true){k.module.buildMeta.exportsType="namespace";k.module.buildInfo.strict=true;k.module.buildInfo.exportsArgument=P.exports;if(v){k.module.buildMeta.strictHarmonyModule=true;k.module.buildInfo.moduleArgument="__webpack_module__"}}};v.isEnabled=k=>{const v=R.get(k);return v===true}},69184:function(k,v,E){"use strict";const P=E(33769);const R=E(16848);const L=E(36473);const N=E(88113);const q=E(95041);const ae=E(55770);const{filterRuntime:le,mergeRuntime:pe}=E(1540);const me=E(77373);const ye={NONE:0,WARN:1,AUTO:2,ERROR:3,fromUserOption(k){switch(k){case"error":return ye.ERROR;case"warn":return ye.WARN;case"auto":return ye.AUTO;case false:return ye.NONE;default:throw new Error(`Invalid export presence value ${k}`)}}};class HarmonyImportDependency extends me{constructor(k,v,E){super(k);this.sourceOrder=v;this.assertions=E}get category(){return"esm"}getReferencedExports(k,v){return R.NO_EXPORTS_REFERENCED}getImportVar(k){const v=k.getParentModule(this);const E=k.getMeta(v);let P=E.importVarMap;if(!P)E.importVarMap=P=new Map;let R=P.get(k.getModule(this));if(R)return R;R=`${q.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${P.size}__`;P.set(k.getModule(this),R);return R}getImportStatement(k,{runtimeTemplate:v,module:E,moduleGraph:P,chunkGraph:R,runtimeRequirements:L}){return v.importStatement({update:k,module:P.getModule(this),chunkGraph:R,importVar:this.getImportVar(P),request:this.request,originModule:E,runtimeRequirements:L})}getLinkingErrors(k,v,E){const P=k.getModule(this);if(!P||P.getNumberOfErrors()>0){return}const R=k.getParentModule(this);const N=P.getExportsType(k,R.buildMeta.strictHarmonyModule);if(N==="namespace"||N==="default-with-named"){if(v.length===0){return}if((N!=="default-with-named"||v[0]!=="default")&&k.isExportProvided(P,v)===false){let R=0;let N=k.getExportsInfo(P);while(R`'${k}'`)).join(".")} ${E} was not found in '${this.userRequest}'${P}`)]}N=P.getNestedExportsInfo()}return[new L(`export ${v.map((k=>`'${k}'`)).join(".")} ${E} was not found in '${this.userRequest}'`)]}}switch(N){case"default-only":if(v.length>0&&v[0]!=="default"){return[new L(`Can't import the named export ${v.map((k=>`'${k}'`)).join(".")} ${E} from default-exporting module (only default export is available)`)]}break;case"default-with-named":if(v.length>0&&v[0]!=="default"&&P.buildMeta.defaultObject==="redirect-warn"){return[new L(`Should not import the named export ${v.map((k=>`'${k}'`)).join(".")} ${E} from default-exporting module (only default export is available soon)`)]}break}}serialize(k){const{write:v}=k;v(this.sourceOrder);v(this.assertions);super.serialize(k)}deserialize(k){const{read:v}=k;this.sourceOrder=v();this.assertions=v();super.deserialize(k)}}k.exports=HarmonyImportDependency;const _e=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate extends me.Template{apply(k,v,E){const R=k;const{module:L,chunkGraph:q,moduleGraph:me,runtime:ye}=E;const Ie=me.getConnection(R);if(Ie&&!Ie.isTargetActive(ye))return;const Me=Ie&&Ie.module;if(Ie&&Ie.weak&&Me&&q.getModuleId(Me)===null){return}const Te=Me?Me.identifier():R.request;const je=`harmony import ${Te}`;const Ne=R.weak?false:Ie?le(ye,(k=>Ie.isTargetActive(k))):true;if(L&&Me){let k=_e.get(L);if(k===undefined){k=new WeakMap;_e.set(L,k)}let v=Ne;const E=k.get(Me)||false;if(E!==false&&v!==true){if(v===false||E===true){v=E}else{v=pe(E,v)}}k.set(Me,v)}const Be=R.getImportStatement(false,E);if(Me&&E.moduleGraph.isAsync(Me)){E.initFragments.push(new P(Be[0],N.STAGE_HARMONY_IMPORTS,R.sourceOrder,je,Ne));E.initFragments.push(new ae(new Set([R.getImportVar(E.moduleGraph)])));E.initFragments.push(new P(Be[1],N.STAGE_ASYNC_HARMONY_IMPORTS,R.sourceOrder,je+" compat",Ne))}else{E.initFragments.push(new P(Be[0]+Be[1],N.STAGE_HARMONY_IMPORTS,R.sourceOrder,je,Ne))}}static getImportEmittedRuntime(k,v){const E=_e.get(k);if(E===undefined)return false;return E.get(v)||false}};k.exports.ExportPresenceModes=ye},57737:function(k,v,E){"use strict";const P=E(29898);const R=E(88926);const L=E(60381);const N=E(95077);const q=E(46325);const ae=E(5107);const le=E(71803);const{ExportPresenceModes:pe}=E(69184);const me=E(59398);const ye=E(56390);const _e=Symbol("harmony import");function getAssertions(k){const v=k.assertions;if(v===undefined){return undefined}const E={};for(const k of v){const v=k.key.type==="Identifier"?k.key.name:k.key.value;E[v]=k.value.value}return E}k.exports=class HarmonyImportDependencyParserPlugin{constructor(k){this.exportPresenceMode=k.importExportsPresence!==undefined?pe.fromUserOption(k.importExportsPresence):k.exportsPresence!==undefined?pe.fromUserOption(k.exportsPresence):k.strictExportPresence?pe.ERROR:pe.AUTO;this.strictThisContextOnImports=k.strictThisContextOnImports}apply(k){const{exportPresenceMode:v}=this;function getNonOptionalPart(k,v){let E=0;while(E{const E=v;if(k.isVariableDefined(E.name)||k.getTagData(E.name,_e)){return true}}));k.hooks.import.tap("HarmonyImportDependencyParserPlugin",((v,E)=>{k.state.lastHarmonyImportOrder=(k.state.lastHarmonyImportOrder||0)+1;const P=new L(k.isAsiPosition(v.range[0])?";":"",v.range);P.loc=v.loc;k.state.module.addPresentationalDependency(P);k.unsetAsiPosition(v.range[1]);const R=getAssertions(v);const N=new me(E,k.state.lastHarmonyImportOrder,R);N.loc=v.loc;k.state.module.addDependency(N);return true}));k.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",((v,E,P,R)=>{const L=P===null?[]:[P];k.tagVariable(R,_e,{name:R,source:E,ids:L,sourceOrder:k.state.lastHarmonyImportOrder,assertions:getAssertions(v)});return true}));k.hooks.binaryExpression.tap("HarmonyImportDependencyParserPlugin",(v=>{if(v.operator!=="in")return;const E=k.evaluateExpression(v.left);if(E.couldHaveSideEffects())return;const P=E.asString();if(!P)return;const L=k.evaluateExpression(v.right);if(!L.isIdentifier())return;const N=L.rootInfo;if(typeof N==="string"||!N||!N.tagInfo||N.tagInfo.tag!==_e)return;const q=N.tagInfo.data;const le=L.getMembers();const pe=new ae(q.source,q.sourceOrder,q.ids.concat(le).concat([P]),q.name,v.range,q.assertions,"in");pe.directImport=le.length===0;pe.asiSafe=!k.isAsiPosition(v.range[0]);pe.loc=v.loc;k.state.module.addDependency(pe);R.onUsage(k.state,(k=>pe.usedByExports=k));return true}));k.hooks.expression.for(_e).tap("HarmonyImportDependencyParserPlugin",(E=>{const P=k.currentTagData;const L=new ye(P.source,P.sourceOrder,P.ids,P.name,E.range,v,P.assertions,[]);L.referencedPropertiesInDestructuring=k.destructuringAssignmentPropertiesFor(E);L.shorthand=k.scope.inShorthand;L.directImport=true;L.asiSafe=!k.isAsiPosition(E.range[0]);L.loc=E.loc;k.state.module.addDependency(L);R.onUsage(k.state,(k=>L.usedByExports=k));return true}));k.hooks.expressionMemberChain.for(_e).tap("HarmonyImportDependencyParserPlugin",((E,P,L,N)=>{const q=k.currentTagData;const ae=getNonOptionalPart(P,L);const le=N.slice(0,N.length-(P.length-ae.length));const pe=ae!==P?getNonOptionalMemberChain(E,P.length-ae.length):E;const me=q.ids.concat(ae);const _e=new ye(q.source,q.sourceOrder,me,q.name,pe.range,v,q.assertions,le);_e.referencedPropertiesInDestructuring=k.destructuringAssignmentPropertiesFor(pe);_e.asiSafe=!k.isAsiPosition(pe.range[0]);_e.loc=pe.loc;k.state.module.addDependency(_e);R.onUsage(k.state,(k=>_e.usedByExports=k));return true}));k.hooks.callMemberChain.for(_e).tap("HarmonyImportDependencyParserPlugin",((E,P,L,N)=>{const{arguments:q,callee:ae}=E;const le=k.currentTagData;const pe=getNonOptionalPart(P,L);const me=N.slice(0,N.length-(P.length-pe.length));const _e=pe!==P?getNonOptionalMemberChain(ae,P.length-pe.length):ae;const Ie=le.ids.concat(pe);const Me=new ye(le.source,le.sourceOrder,Ie,le.name,_e.range,v,le.assertions,me);Me.directImport=P.length===0;Me.call=true;Me.asiSafe=!k.isAsiPosition(_e.range[0]);Me.namespaceObjectAsContext=P.length>0&&this.strictThisContextOnImports;Me.loc=_e.loc;k.state.module.addDependency(Me);if(q)k.walkExpressions(q);R.onUsage(k.state,(k=>Me.usedByExports=k));return true}));const{hotAcceptCallback:E,hotAcceptWithoutCallback:pe}=P.getParserHooks(k);E.tap("HarmonyImportDependencyParserPlugin",((v,E)=>{if(!le.isEnabled(k.state)){return}const P=E.map((E=>{const P=new q(E);P.loc=v.loc;k.state.module.addDependency(P);return P}));if(P.length>0){const E=new N(v.range,P,true);E.loc=v.loc;k.state.module.addDependency(E)}}));pe.tap("HarmonyImportDependencyParserPlugin",((v,E)=>{if(!le.isEnabled(k.state)){return}const P=E.map((E=>{const P=new q(E);P.loc=v.loc;k.state.module.addDependency(P);return P}));if(P.length>0){const E=new N(v.range,P,false);E.loc=v.loc;k.state.module.addDependency(E)}}))}};k.exports.harmonySpecifierTag=_e;k.exports.getAssertions=getAssertions},59398:function(k,v,E){"use strict";const P=E(58528);const R=E(69184);class HarmonyImportSideEffectDependency extends R{constructor(k,v,E){super(k,v,E)}get type(){return"harmony side effect evaluation"}getCondition(k){return v=>{const E=v.resolvedModule;if(!E)return true;return E.getSideEffectsConnectionState(k)}}getModuleEvaluationSideEffectsState(k){const v=k.getModule(this);if(!v)return true;return v.getSideEffectsConnectionState(k)}}P(HarmonyImportSideEffectDependency,"webpack/lib/dependencies/HarmonyImportSideEffectDependency");HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends R.Template{apply(k,v,E){const{moduleGraph:P,concatenationScope:R}=E;if(R){const v=P.getModule(k);if(R.isModuleInScope(v)){return}}super.apply(k,v,E)}};k.exports=HarmonyImportSideEffectDependency},56390:function(k,v,E){"use strict";const P=E(16848);const{getDependencyUsedByExportsCondition:R}=E(88926);const L=E(58528);const N=E(10720);const q=E(69184);const ae=Symbol("HarmonyImportSpecifierDependency.ids");const{ExportPresenceModes:le}=q;class HarmonyImportSpecifierDependency extends q{constructor(k,v,E,P,R,L,N,q){super(k,v,N);this.ids=E;this.name=P;this.range=R;this.idRanges=q;this.exportPresenceMode=L;this.namespaceObjectAsContext=false;this.call=undefined;this.directImport=undefined;this.shorthand=undefined;this.asiSafe=undefined;this.usedByExports=undefined;this.referencedPropertiesInDestructuring=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(k){const v=k.getMetaIfExisting(this);if(v===undefined)return this.ids;const E=v[ae];return E!==undefined?E:this.ids}setIds(k,v){k.getMeta(this)[ae]=v}getCondition(k){return R(this,this.usedByExports,k)}getModuleEvaluationSideEffectsState(k){return false}getReferencedExports(k,v){let E=this.getIds(k);if(E.length===0)return this._getReferencedExportsInDestructuring();let R=this.namespaceObjectAsContext;if(E[0]==="default"){const v=k.getParentModule(this);const L=k.getModule(this);switch(L.getExportsType(k,v.buildMeta.strictHarmonyModule)){case"default-only":case"default-with-named":if(E.length===1)return this._getReferencedExportsInDestructuring();E=E.slice(1);R=true;break;case"dynamic":return P.EXPORTS_OBJECT_REFERENCED}}if(this.call&&!this.directImport&&(R||E.length>1)){if(E.length===1)return P.EXPORTS_OBJECT_REFERENCED;E=E.slice(0,-1)}return this._getReferencedExportsInDestructuring(E)}_getReferencedExportsInDestructuring(k){if(this.referencedPropertiesInDestructuring){const v=[];for(const E of this.referencedPropertiesInDestructuring){v.push({name:k?k.concat([E]):[E],canMangle:false})}return v}else{return k?[k]:P.EXPORTS_OBJECT_REFERENCED}}_getEffectiveExportPresenceLevel(k){if(this.exportPresenceMode!==le.AUTO)return this.exportPresenceMode;return k.getParentModule(this).buildMeta.strictHarmonyModule?le.ERROR:le.WARN}getWarnings(k){const v=this._getEffectiveExportPresenceLevel(k);if(v===le.WARN){return this._getErrors(k)}return null}getErrors(k){const v=this._getEffectiveExportPresenceLevel(k);if(v===le.ERROR){return this._getErrors(k)}return null}_getErrors(k){const v=this.getIds(k);return this.getLinkingErrors(k,v,`(imported as '${this.name}')`)}getNumberOfIdOccurrences(){return 0}serialize(k){const{write:v}=k;v(this.ids);v(this.name);v(this.range);v(this.idRanges);v(this.exportPresenceMode);v(this.namespaceObjectAsContext);v(this.call);v(this.directImport);v(this.shorthand);v(this.asiSafe);v(this.usedByExports);v(this.referencedPropertiesInDestructuring);super.serialize(k)}deserialize(k){const{read:v}=k;this.ids=v();this.name=v();this.range=v();this.idRanges=v();this.exportPresenceMode=v();this.namespaceObjectAsContext=v();this.call=v();this.directImport=v();this.shorthand=v();this.asiSafe=v();this.usedByExports=v();this.referencedPropertiesInDestructuring=v();super.deserialize(k)}}L(HarmonyImportSpecifierDependency,"webpack/lib/dependencies/HarmonyImportSpecifierDependency");HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends q.Template{apply(k,v,E){const P=k;const{moduleGraph:R,runtime:L}=E;const N=R.getConnection(P);if(N&&!N.isTargetActive(L))return;const q=P.getIds(R);let ae=this._trimIdsToThoseImported(q,R,P);let[le,pe]=P.range;if(ae.length!==q.length){const k=P.idRanges===undefined?-1:P.idRanges.length+(ae.length-q.length);if(k<0||k>=P.idRanges.length){ae=q}else{[le,pe]=P.idRanges[k]}}const me=this._getCodeForIds(P,v,E,ae);if(P.shorthand){v.insert(pe,`: ${me}`)}else{v.replace(le,pe-1,me)}}_trimIdsToThoseImported(k,v,E){let P=[];const R=v.getExportsInfo(v.getModule(E));let L=R;for(let v=0;v{k.dependencyTemplates.set(L,new L.Template);k.dependencyFactories.set(me,v);k.dependencyTemplates.set(me,new me.Template);k.dependencyFactories.set(ye,v);k.dependencyTemplates.set(ye,new ye.Template);k.dependencyFactories.set(N,v);k.dependencyTemplates.set(N,new N.Template);k.dependencyTemplates.set(ae,new ae.Template);k.dependencyTemplates.set(q,new q.Template);k.dependencyTemplates.set(pe,new pe.Template);k.dependencyFactories.set(le,v);k.dependencyTemplates.set(le,new le.Template);k.dependencyTemplates.set(P,new P.Template);k.dependencyFactories.set(R,v);k.dependencyTemplates.set(R,new R.Template);const handler=(k,v)=>{if(v.harmony!==undefined&&!v.harmony)return;new Me(this.options).apply(k);new je(v).apply(k);new Te(v).apply(k);(new Ne).apply(k)};v.hooks.parser.for(_e).tap(Be,handler);v.hooks.parser.for(Ie).tap(Be,handler)}))}}k.exports=HarmonyModulesPlugin},37848:function(k,v,E){"use strict";const P=E(60381);const R=E(71803);class HarmonyTopLevelThisParserPlugin{apply(k){k.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",(v=>{if(!k.scope.topLevelScope)return;if(R.isEnabled(k.state)){const E=new P("undefined",v.range,null);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return this}}))}}k.exports=HarmonyTopLevelThisParserPlugin},94722:function(k,v,E){"use strict";const P=E(58528);const R=E(51395);const L=E(64077);class ImportContextDependency extends R{constructor(k,v,E){super(k);this.range=v;this.valueRange=E}get type(){return`import() context ${this.options.mode}`}get category(){return"esm"}serialize(k){const{write:v}=k;v(this.valueRange);super.serialize(k)}deserialize(k){const{read:v}=k;this.valueRange=v();super.deserialize(k)}}P(ImportContextDependency,"webpack/lib/dependencies/ImportContextDependency");ImportContextDependency.Template=L;k.exports=ImportContextDependency},75516:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);const L=E(77373);class ImportDependency extends L{constructor(k,v,E){super(k);this.range=v;this.referencedExports=E}get type(){return"import()"}get category(){return"esm"}getReferencedExports(k,v){return this.referencedExports?this.referencedExports.map((k=>({name:k,canMangle:false}))):P.EXPORTS_OBJECT_REFERENCED}serialize(k){k.write(this.range);k.write(this.referencedExports);super.serialize(k)}deserialize(k){this.range=k.read();this.referencedExports=k.read();super.deserialize(k)}}R(ImportDependency,"webpack/lib/dependencies/ImportDependency");ImportDependency.Template=class ImportDependencyTemplate extends L.Template{apply(k,v,{runtimeTemplate:E,module:P,moduleGraph:R,chunkGraph:L,runtimeRequirements:N}){const q=k;const ae=R.getParentBlock(q);const le=E.moduleNamespacePromise({chunkGraph:L,block:ae,module:R.getModule(q),request:q.request,strict:P.buildMeta.strictHarmonyModule,message:"import()",runtimeRequirements:N});v.replace(q.range[0],q.range[1]-1,le)}};k.exports=ImportDependency},72073:function(k,v,E){"use strict";const P=E(58528);const R=E(75516);class ImportEagerDependency extends R{constructor(k,v,E){super(k,v,E)}get type(){return"import() eager"}get category(){return"esm"}}P(ImportEagerDependency,"webpack/lib/dependencies/ImportEagerDependency");ImportEagerDependency.Template=class ImportEagerDependencyTemplate extends R.Template{apply(k,v,{runtimeTemplate:E,module:P,moduleGraph:R,chunkGraph:L,runtimeRequirements:N}){const q=k;const ae=E.moduleNamespacePromise({chunkGraph:L,module:R.getModule(q),request:q.request,strict:P.buildMeta.strictHarmonyModule,message:"import() eager",runtimeRequirements:N});v.replace(q.range[0],q.range[1]-1,ae)}};k.exports=ImportEagerDependency},91194:function(k,v,E){"use strict";const P=E(58528);const R=E(51395);const L=E(29729);class ImportMetaContextDependency extends R{constructor(k,v){super(k);this.range=v}get category(){return"esm"}get type(){return`import.meta.webpackContext ${this.options.mode}`}}P(ImportMetaContextDependency,"webpack/lib/dependencies/ImportMetaContextDependency");ImportMetaContextDependency.Template=L;k.exports=ImportMetaContextDependency},28394:function(k,v,E){"use strict";const P=E(71572);const{evaluateToIdentifier:R}=E(80784);const L=E(91194);function createPropertyParseError(k,v){return createError(`Parsing import.meta.webpackContext options failed. Unknown value for property ${JSON.stringify(k.key.name)}, expected type ${v}.`,k.value.loc)}function createError(k,v){const E=new P(k);E.name="ImportMetaContextError";E.loc=v;return E}k.exports=class ImportMetaContextDependencyParserPlugin{apply(k){k.hooks.evaluateIdentifier.for("import.meta.webpackContext").tap("ImportMetaContextDependencyParserPlugin",(k=>R("import.meta.webpackContext","import.meta",(()=>["webpackContext"]),true)(k)));k.hooks.call.for("import.meta.webpackContext").tap("ImportMetaContextDependencyParserPlugin",(v=>{if(v.arguments.length<1||v.arguments.length>2)return;const[E,P]=v.arguments;if(P&&P.type!=="ObjectExpression")return;const R=k.evaluateExpression(E);if(!R.isString())return;const N=R.string;const q=[];let ae=/^\.\/.*$/;let le=true;let pe="sync";let me;let ye;const _e={};let Ie;let Me;if(P){for(const v of P.properties){if(v.type!=="Property"||v.key.type!=="Identifier"){q.push(createError("Parsing import.meta.webpackContext options failed.",P.loc));break}switch(v.key.name){case"regExp":{const E=k.evaluateExpression(v.value);if(!E.isRegExp()){q.push(createPropertyParseError(v,"RegExp"))}else{ae=E.regExp}break}case"include":{const E=k.evaluateExpression(v.value);if(!E.isRegExp()){q.push(createPropertyParseError(v,"RegExp"))}else{me=E.regExp}break}case"exclude":{const E=k.evaluateExpression(v.value);if(!E.isRegExp()){q.push(createPropertyParseError(v,"RegExp"))}else{ye=E.regExp}break}case"mode":{const E=k.evaluateExpression(v.value);if(!E.isString()){q.push(createPropertyParseError(v,"string"))}else{pe=E.string}break}case"chunkName":{const E=k.evaluateExpression(v.value);if(!E.isString()){q.push(createPropertyParseError(v,"string"))}else{Ie=E.string}break}case"exports":{const E=k.evaluateExpression(v.value);if(E.isString()){Me=[[E.string]]}else if(E.isArray()){const k=E.items;if(k.every((k=>{if(!k.isArray())return false;const v=k.items;return v.every((k=>k.isString()))}))){Me=[];for(const v of k){const k=[];for(const E of v.items){k.push(E.string)}Me.push(k)}}else{q.push(createPropertyParseError(v,"string|string[][]"))}}else{q.push(createPropertyParseError(v,"string|string[][]"))}break}case"prefetch":{const E=k.evaluateExpression(v.value);if(E.isBoolean()){_e.prefetchOrder=0}else if(E.isNumber()){_e.prefetchOrder=E.number}else{q.push(createPropertyParseError(v,"boolean|number"))}break}case"preload":{const E=k.evaluateExpression(v.value);if(E.isBoolean()){_e.preloadOrder=0}else if(E.isNumber()){_e.preloadOrder=E.number}else{q.push(createPropertyParseError(v,"boolean|number"))}break}case"recursive":{const E=k.evaluateExpression(v.value);if(!E.isBoolean()){q.push(createPropertyParseError(v,"boolean"))}else{le=E.bool}break}default:q.push(createError(`Parsing import.meta.webpackContext options failed. Unknown property ${JSON.stringify(v.key.name)}.`,P.loc))}}}if(q.length){for(const v of q)k.state.current.addError(v);return}const Te=new L({request:N,include:me,exclude:ye,recursive:le,regExp:ae,groupOptions:_e,chunkName:Ie,referencedExports:Me,mode:pe,category:"esm"},v.range);Te.loc=v.loc;Te.optional=!!k.scope.inTry;k.state.current.addDependency(Te);return true}))}}},96090:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_ESM:R}=E(93622);const L=E(16624);const N=E(91194);const q=E(28394);const ae="ImportMetaContextPlugin";class ImportMetaContextPlugin{apply(k){k.hooks.compilation.tap(ae,((k,{contextModuleFactory:v,normalModuleFactory:E})=>{k.dependencyFactories.set(N,v);k.dependencyTemplates.set(N,new N.Template);k.dependencyFactories.set(L,E);const handler=(k,v)=>{if(v.importMetaContext!==undefined&&!v.importMetaContext)return;(new q).apply(k)};E.hooks.parser.for(P).tap(ae,handler);E.hooks.parser.for(R).tap(ae,handler)}))}}k.exports=ImportMetaContextPlugin},40867:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(3312);class ImportMetaHotAcceptDependency extends R{constructor(k,v){super(k);this.range=v;this.weak=true}get type(){return"import.meta.webpackHot.accept"}get category(){return"esm"}}P(ImportMetaHotAcceptDependency,"webpack/lib/dependencies/ImportMetaHotAcceptDependency");ImportMetaHotAcceptDependency.Template=L;k.exports=ImportMetaHotAcceptDependency},83894:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(3312);class ImportMetaHotDeclineDependency extends R{constructor(k,v){super(k);this.range=v;this.weak=true}get type(){return"import.meta.webpackHot.decline"}get category(){return"esm"}}P(ImportMetaHotDeclineDependency,"webpack/lib/dependencies/ImportMetaHotDeclineDependency");ImportMetaHotDeclineDependency.Template=L;k.exports=ImportMetaHotDeclineDependency},31615:function(k,v,E){"use strict";const{pathToFileURL:P}=E(57310);const R=E(84018);const{JAVASCRIPT_MODULE_TYPE_AUTO:L,JAVASCRIPT_MODULE_TYPE_ESM:N}=E(93622);const q=E(95041);const ae=E(70037);const{evaluateToIdentifier:le,toConstantDependency:pe,evaluateToString:me,evaluateToNumber:ye}=E(80784);const _e=E(20631);const Ie=E(10720);const Me=E(60381);const Te=_e((()=>E(43418)));const je="ImportMetaPlugin";class ImportMetaPlugin{apply(k){k.hooks.compilation.tap(je,((k,{normalModuleFactory:v})=>{const getUrl=k=>P(k.resource).toString();const parserHandler=(v,{importMeta:P})=>{if(P===false){const{importMetaName:E}=k.outputOptions;if(E==="import.meta")return;v.hooks.expression.for("import.meta").tap(je,(k=>{const P=new Me(E,k.range);P.loc=k.loc;v.state.module.addPresentationalDependency(P);return true}));return}const L=parseInt(E(35479).i8,10);const importMetaUrl=()=>JSON.stringify(getUrl(v.state.module));const importMetaWebpackVersion=()=>JSON.stringify(L);const importMetaUnknownProperty=k=>`${q.toNormalComment("unsupported import.meta."+k.join("."))} undefined${Ie(k,1)}`;v.hooks.typeof.for("import.meta").tap(je,pe(v,JSON.stringify("object")));v.hooks.expression.for("import.meta").tap(je,(k=>{const E=v.destructuringAssignmentPropertiesFor(k);if(!E){const E=Te();v.state.module.addWarning(new R(v.state.module,new E("Accessing import.meta directly is unsupported (only property access or destructuring is supported)"),k.loc));const P=new Me(`${v.isAsiPosition(k.range[0])?";":""}({})`,k.range);P.loc=k.loc;v.state.module.addPresentationalDependency(P);return true}let P="";for(const k of E){switch(k){case"url":P+=`url: ${importMetaUrl()},`;break;case"webpack":P+=`webpack: ${importMetaWebpackVersion()},`;break;default:P+=`[${JSON.stringify(k)}]: ${importMetaUnknownProperty([k])},`;break}}const L=new Me(`({${P}})`,k.range);L.loc=k.loc;v.state.module.addPresentationalDependency(L);return true}));v.hooks.evaluateTypeof.for("import.meta").tap(je,me("object"));v.hooks.evaluateIdentifier.for("import.meta").tap(je,le("import.meta","import.meta",(()=>[]),true));v.hooks.typeof.for("import.meta.url").tap(je,pe(v,JSON.stringify("string")));v.hooks.expression.for("import.meta.url").tap(je,(k=>{const E=new Me(importMetaUrl(),k.range);E.loc=k.loc;v.state.module.addPresentationalDependency(E);return true}));v.hooks.evaluateTypeof.for("import.meta.url").tap(je,me("string"));v.hooks.evaluateIdentifier.for("import.meta.url").tap(je,(k=>(new ae).setString(getUrl(v.state.module)).setRange(k.range)));v.hooks.typeof.for("import.meta.webpack").tap(je,pe(v,JSON.stringify("number")));v.hooks.expression.for("import.meta.webpack").tap(je,pe(v,importMetaWebpackVersion()));v.hooks.evaluateTypeof.for("import.meta.webpack").tap(je,me("number"));v.hooks.evaluateIdentifier.for("import.meta.webpack").tap(je,ye(L));v.hooks.unhandledExpressionMemberChain.for("import.meta").tap(je,((k,E)=>{const P=new Me(importMetaUnknownProperty(E),k.range);P.loc=k.loc;v.state.module.addPresentationalDependency(P);return true}));v.hooks.evaluate.for("MemberExpression").tap(je,(k=>{const v=k;if(v.object.type==="MetaProperty"&&v.object.meta.name==="import"&&v.object.property.name==="meta"&&v.property.type===(v.computed?"Literal":"Identifier")){return(new ae).setUndefined().setRange(v.range)}}))};v.hooks.parser.for(L).tap(je,parserHandler);v.hooks.parser.for(N).tap(je,parserHandler)}))}}k.exports=ImportMetaPlugin},89825:function(k,v,E){"use strict";const P=E(75081);const R=E(68160);const L=E(9415);const N=E(25012);const q=E(94722);const ae=E(75516);const le=E(72073);const pe=E(82591);class ImportParserPlugin{constructor(k){this.options=k}apply(k){const exportsFromEnumerable=k=>Array.from(k,(k=>[k]));k.hooks.importCall.tap("ImportParserPlugin",(v=>{const E=k.evaluateExpression(v.source);let me=null;let ye=this.options.dynamicImportMode;let _e=null;let Ie=null;let Me=null;const Te={};const{dynamicImportPreload:je,dynamicImportPrefetch:Ne}=this.options;if(je!==undefined&&je!==false)Te.preloadOrder=je===true?0:je;if(Ne!==undefined&&Ne!==false)Te.prefetchOrder=Ne===true?0:Ne;const{options:Be,errors:qe}=k.parseCommentOptions(v.range);if(qe){for(const v of qe){const{comment:E}=v;k.state.module.addWarning(new R(`Compilation error while processing magic comment(-s): /*${E.value}*/: ${v.message}`,E.loc))}}if(Be){if(Be.webpackIgnore!==undefined){if(typeof Be.webpackIgnore!=="boolean"){k.state.module.addWarning(new L(`\`webpackIgnore\` expected a boolean, but received: ${Be.webpackIgnore}.`,v.loc))}else{if(Be.webpackIgnore){return false}}}if(Be.webpackChunkName!==undefined){if(typeof Be.webpackChunkName!=="string"){k.state.module.addWarning(new L(`\`webpackChunkName\` expected a string, but received: ${Be.webpackChunkName}.`,v.loc))}else{me=Be.webpackChunkName}}if(Be.webpackMode!==undefined){if(typeof Be.webpackMode!=="string"){k.state.module.addWarning(new L(`\`webpackMode\` expected a string, but received: ${Be.webpackMode}.`,v.loc))}else{ye=Be.webpackMode}}if(Be.webpackPrefetch!==undefined){if(Be.webpackPrefetch===true){Te.prefetchOrder=0}else if(typeof Be.webpackPrefetch==="number"){Te.prefetchOrder=Be.webpackPrefetch}else{k.state.module.addWarning(new L(`\`webpackPrefetch\` expected true or a number, but received: ${Be.webpackPrefetch}.`,v.loc))}}if(Be.webpackPreload!==undefined){if(Be.webpackPreload===true){Te.preloadOrder=0}else if(typeof Be.webpackPreload==="number"){Te.preloadOrder=Be.webpackPreload}else{k.state.module.addWarning(new L(`\`webpackPreload\` expected true or a number, but received: ${Be.webpackPreload}.`,v.loc))}}if(Be.webpackInclude!==undefined){if(!Be.webpackInclude||!(Be.webpackInclude instanceof RegExp)){k.state.module.addWarning(new L(`\`webpackInclude\` expected a regular expression, but received: ${Be.webpackInclude}.`,v.loc))}else{_e=Be.webpackInclude}}if(Be.webpackExclude!==undefined){if(!Be.webpackExclude||!(Be.webpackExclude instanceof RegExp)){k.state.module.addWarning(new L(`\`webpackExclude\` expected a regular expression, but received: ${Be.webpackExclude}.`,v.loc))}else{Ie=Be.webpackExclude}}if(Be.webpackExports!==undefined){if(!(typeof Be.webpackExports==="string"||Array.isArray(Be.webpackExports)&&Be.webpackExports.every((k=>typeof k==="string")))){k.state.module.addWarning(new L(`\`webpackExports\` expected a string or an array of strings, but received: ${Be.webpackExports}.`,v.loc))}else{if(typeof Be.webpackExports==="string"){Me=[[Be.webpackExports]]}else{Me=exportsFromEnumerable(Be.webpackExports)}}}}if(ye!=="lazy"&&ye!=="lazy-once"&&ye!=="eager"&&ye!=="weak"){k.state.module.addWarning(new L(`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${ye}.`,v.loc));ye="lazy"}const Ue=k.destructuringAssignmentPropertiesFor(v);if(Ue){if(Me){k.state.module.addWarning(new L(`\`webpackExports\` could not be used with destructuring assignment.`,v.loc))}Me=exportsFromEnumerable(Ue)}if(E.isString()){if(ye==="eager"){const P=new le(E.string,v.range,Me);k.state.current.addDependency(P)}else if(ye==="weak"){const P=new pe(E.string,v.range,Me);k.state.current.addDependency(P)}else{const R=new P({...Te,name:me},v.loc,E.string);const L=new ae(E.string,v.range,Me);L.loc=v.loc;R.addDependency(L);k.state.current.addBlock(R)}return true}else{if(ye==="weak"){ye="async-weak"}const P=N.create(q,v.range,E,v,this.options,{chunkName:me,groupOptions:Te,include:_e,exclude:Ie,mode:ye,namespaceObject:k.state.module.buildMeta.strictHarmonyModule?"strict":true,typePrefix:"import()",category:"esm",referencedExports:Me},k);if(!P)return;P.loc=v.loc;P.optional=!!k.scope.inTry;k.state.current.addDependency(P);return true}}))}}k.exports=ImportParserPlugin},3970:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(94722);const q=E(75516);const ae=E(72073);const le=E(89825);const pe=E(82591);const me="ImportPlugin";class ImportPlugin{apply(k){k.hooks.compilation.tap(me,((k,{contextModuleFactory:v,normalModuleFactory:E})=>{k.dependencyFactories.set(q,E);k.dependencyTemplates.set(q,new q.Template);k.dependencyFactories.set(ae,E);k.dependencyTemplates.set(ae,new ae.Template);k.dependencyFactories.set(pe,E);k.dependencyTemplates.set(pe,new pe.Template);k.dependencyFactories.set(N,v);k.dependencyTemplates.set(N,new N.Template);const handler=(k,v)=>{if(v.import!==undefined&&!v.import)return;new le(v).apply(k)};E.hooks.parser.for(P).tap(me,handler);E.hooks.parser.for(R).tap(me,handler);E.hooks.parser.for(L).tap(me,handler)}))}}k.exports=ImportPlugin},82591:function(k,v,E){"use strict";const P=E(58528);const R=E(75516);class ImportWeakDependency extends R{constructor(k,v,E){super(k,v,E);this.weak=true}get type(){return"import() weak"}}P(ImportWeakDependency,"webpack/lib/dependencies/ImportWeakDependency");ImportWeakDependency.Template=class ImportDependencyTemplate extends R.Template{apply(k,v,{runtimeTemplate:E,module:P,moduleGraph:R,chunkGraph:L,runtimeRequirements:N}){const q=k;const ae=E.moduleNamespacePromise({chunkGraph:L,module:R.getModule(q),request:q.request,strict:P.buildMeta.strictHarmonyModule,message:"import() weak",weak:true,runtimeRequirements:N});v.replace(q.range[0],q.range[1]-1,ae)}};k.exports=ImportWeakDependency},19179:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);const getExportsFromData=k=>{if(k&&typeof k==="object"){if(Array.isArray(k)){return k.length<100?k.map(((k,v)=>({name:`${v}`,canMangle:true,exports:getExportsFromData(k)}))):undefined}else{const v=[];for(const E of Object.keys(k)){v.push({name:E,canMangle:true,exports:getExportsFromData(k[E])})}return v}}return undefined};class JsonExportsDependency extends R{constructor(k){super();this.data=k}get type(){return"json exports"}getExports(k){return{exports:getExportsFromData(this.data&&this.data.get()),dependencies:undefined}}updateHash(k,v){this.data.updateHash(k)}serialize(k){const{write:v}=k;v(this.data);super.serialize(k)}deserialize(k){const{read:v}=k;this.data=v();super.deserialize(k)}}P(JsonExportsDependency,"webpack/lib/dependencies/JsonExportsDependency");k.exports=JsonExportsDependency},74611:function(k,v,E){"use strict";const P=E(77373);class LoaderDependency extends P{constructor(k){super(k)}get type(){return"loader"}get category(){return"loader"}getCondition(k){return false}}k.exports=LoaderDependency},89056:function(k,v,E){"use strict";const P=E(77373);class LoaderImportDependency extends P{constructor(k){super(k);this.weak=true}get type(){return"loader import"}get category(){return"loaderImport"}getCondition(k){return false}}k.exports=LoaderImportDependency},63733:function(k,v,E){"use strict";const P=E(38224);const R=E(12359);const L=E(74611);const N=E(89056);class LoaderPlugin{constructor(k={}){}apply(k){k.hooks.compilation.tap("LoaderPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(L,v);k.dependencyFactories.set(N,v)}));k.hooks.compilation.tap("LoaderPlugin",(k=>{const v=k.moduleGraph;P.getCompilationHooks(k).loader.tap("LoaderPlugin",(E=>{E.loadModule=(P,N)=>{const q=new L(P);q.loc={name:P};const ae=k.dependencyFactories.get(q.constructor);if(ae===undefined){return N(new Error(`No module factory available for dependency type: ${q.constructor.name}`))}k.buildQueue.increaseParallelism();k.handleModuleCreation({factory:ae,dependencies:[q],originModule:E._module,context:E.context,recursive:false},(P=>{k.buildQueue.decreaseParallelism();if(P){return N(P)}const L=v.getModule(q);if(!L){return N(new Error("Cannot load the module"))}if(L.getNumberOfErrors()>0){return N(new Error("The loaded module contains errors"))}const ae=L.originalSource();if(!ae){return N(new Error("The module created for a LoaderDependency must have an original source"))}let le,pe;if(ae.sourceAndMap){const k=ae.sourceAndMap();pe=k.map;le=k.source}else{pe=ae.map();le=ae.source()}const me=new R;const ye=new R;const _e=new R;const Ie=new R;L.addCacheDependencies(me,ye,_e,Ie);for(const k of me){E.addDependency(k)}for(const k of ye){E.addContextDependency(k)}for(const k of _e){E.addMissingDependency(k)}for(const k of Ie){E.addBuildDependency(k)}return N(null,le,pe,L)}))};const importModule=(P,R,L)=>{const q=new N(P);q.loc={name:P};const ae=k.dependencyFactories.get(q.constructor);if(ae===undefined){return L(new Error(`No module factory available for dependency type: ${q.constructor.name}`))}k.buildQueue.increaseParallelism();k.handleModuleCreation({factory:ae,dependencies:[q],originModule:E._module,contextInfo:{issuerLayer:R.layer},context:E.context,connectOrigin:false},(P=>{k.buildQueue.decreaseParallelism();if(P){return L(P)}const N=v.getModule(q);if(!N){return L(new Error("Cannot load the module"))}k.executeModule(N,{entryOptions:{baseUri:R.baseUri,publicPath:R.publicPath}},((k,v)=>{if(k)return L(k);for(const k of v.fileDependencies){E.addDependency(k)}for(const k of v.contextDependencies){E.addContextDependency(k)}for(const k of v.missingDependencies){E.addMissingDependency(k)}for(const k of v.buildDependencies){E.addBuildDependency(k)}if(v.cacheable===false)E.cacheable(false);for(const[k,{source:P,info:R}]of v.assets){const{buildInfo:v}=E._module;if(!v.assets){v.assets=Object.create(null);v.assetsInfo=new Map}v.assets[k]=P;v.assetsInfo.set(k,R)}L(null,v.exports)}))}))};E.importModule=(k,v,E)=>{if(!E){return new Promise(((E,P)=>{importModule(k,v||{},((k,v)=>{if(k)P(k);else E(v)}))}))}return importModule(k,v||{},E)}}))}))}}k.exports=LoaderPlugin},53377:function(k,v,E){"use strict";const P=E(58528);class LocalModule{constructor(k,v){this.name=k;this.idx=v;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}serialize(k){const{write:v}=k;v(this.name);v(this.idx);v(this.used)}deserialize(k){const{read:v}=k;this.name=v();this.idx=v();this.used=v()}}P(LocalModule,"webpack/lib/dependencies/LocalModule");k.exports=LocalModule},41808:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class LocalModuleDependency extends R{constructor(k,v,E){super();this.localModule=k;this.range=v;this.callNew=E}serialize(k){const{write:v}=k;v(this.localModule);v(this.range);v(this.callNew);super.serialize(k)}deserialize(k){const{read:v}=k;this.localModule=v();this.range=v();this.callNew=v();super.deserialize(k)}}P(LocalModuleDependency,"webpack/lib/dependencies/LocalModuleDependency");LocalModuleDependency.Template=class LocalModuleDependencyTemplate extends R.Template{apply(k,v,E){const P=k;if(!P.range)return;const R=P.callNew?`new (function () { return ${P.localModule.variableName()}; })()`:P.localModule.variableName();v.replace(P.range[0],P.range[1]-1,R)}};k.exports=LocalModuleDependency},18363:function(k,v,E){"use strict";const P=E(53377);const lookup=(k,v)=>{if(v.charAt(0)!==".")return v;var E=k.split("/");var P=v.split("/");E.pop();for(let k=0;k{if(!k.localModules){k.localModules=[]}const E=new P(v,k.localModules.length);k.localModules.push(E);return E};v.getLocalModule=(k,v,E)=>{if(!k.localModules)return null;if(E){v=lookup(E,v)}for(let E=0;EE(91169)));class ModuleDependency extends P{constructor(k){super();this.request=k;this.userRequest=k;this.range=undefined;this.assertions=undefined;this._context=undefined}getContext(){return this._context}getResourceIdentifier(){let k=`context${this._context||""}|module${this.request}`;if(this.assertions!==undefined){k+=JSON.stringify(this.assertions)}return k}couldAffectReferencingModule(){return true}createIgnoredModule(k){const v=N();return new v("/* (ignored) */",`ignored|${k}|${this.request}`,`${this.request} (ignored)`)}serialize(k){const{write:v}=k;v(this.request);v(this.userRequest);v(this._context);v(this.range);super.serialize(k)}deserialize(k){const{read:v}=k;this.request=v();this.userRequest=v();this._context=v();this.range=v();super.deserialize(k)}}ModuleDependency.Template=R;k.exports=ModuleDependency},3312:function(k,v,E){"use strict";const P=E(77373);class ModuleDependencyTemplateAsId extends P.Template{apply(k,v,{runtimeTemplate:E,moduleGraph:P,chunkGraph:R}){const L=k;if(!L.range)return;const N=E.moduleId({module:P.getModule(L),chunkGraph:R,request:L.request,weak:L.weak});v.replace(L.range[0],L.range[1]-1,N)}}k.exports=ModuleDependencyTemplateAsId},29729:function(k,v,E){"use strict";const P=E(77373);class ModuleDependencyTemplateAsRequireId extends P.Template{apply(k,v,{runtimeTemplate:E,moduleGraph:P,chunkGraph:R,runtimeRequirements:L}){const N=k;if(!N.range)return;const q=E.moduleExports({module:P.getModule(N),chunkGraph:R,request:N.request,weak:N.weak,runtimeRequirements:L});v.replace(N.range[0],N.range[1]-1,q)}}k.exports=ModuleDependencyTemplateAsRequireId},77691:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(3312);class ModuleHotAcceptDependency extends R{constructor(k,v){super(k);this.range=v;this.weak=true}get type(){return"module.hot.accept"}get category(){return"commonjs"}}P(ModuleHotAcceptDependency,"webpack/lib/dependencies/ModuleHotAcceptDependency");ModuleHotAcceptDependency.Template=L;k.exports=ModuleHotAcceptDependency},90563:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(3312);class ModuleHotDeclineDependency extends R{constructor(k,v){super(k);this.range=v;this.weak=true}get type(){return"module.hot.decline"}get category(){return"commonjs"}}P(ModuleHotDeclineDependency,"webpack/lib/dependencies/ModuleHotDeclineDependency");ModuleHotDeclineDependency.Template=L;k.exports=ModuleHotDeclineDependency},53139:function(k,v,E){"use strict";const P=E(16848);const R=E(30601);class NullDependency extends P{get type(){return"null"}couldAffectReferencingModule(){return false}}NullDependency.Template=class NullDependencyTemplate extends R{apply(k,v,E){}};k.exports=NullDependency},85992:function(k,v,E){"use strict";const P=E(77373);class PrefetchDependency extends P{constructor(k){super(k)}get type(){return"prefetch"}get category(){return"esm"}}k.exports=PrefetchDependency},17779:function(k,v,E){"use strict";const P=E(16848);const R=E(88113);const L=E(58528);const N=E(77373);const pathToString=k=>k!==null&&k.length>0?k.map((k=>`[${JSON.stringify(k)}]`)).join(""):"";class ProvidedDependency extends N{constructor(k,v,E,P){super(k);this.identifier=v;this.ids=E;this.range=P;this._hashUpdate=undefined}get type(){return"provided"}get category(){return"esm"}getReferencedExports(k,v){let E=this.ids;if(E.length===0)return P.EXPORTS_OBJECT_REFERENCED;return[E]}updateHash(k,v){if(this._hashUpdate===undefined){this._hashUpdate=this.identifier+(this.ids?this.ids.join(","):"")}k.update(this._hashUpdate)}serialize(k){const{write:v}=k;v(this.identifier);v(this.ids);super.serialize(k)}deserialize(k){const{read:v}=k;this.identifier=v();this.ids=v();super.deserialize(k)}}L(ProvidedDependency,"webpack/lib/dependencies/ProvidedDependency");class ProvidedDependencyTemplate extends N.Template{apply(k,v,{runtime:E,runtimeTemplate:P,moduleGraph:L,chunkGraph:N,initFragments:q,runtimeRequirements:ae}){const le=k;const pe=L.getConnection(le);const me=L.getExportsInfo(pe.module);const ye=me.getUsedName(le.ids,E);q.push(new R(`/* provided dependency */ var ${le.identifier} = ${P.moduleExports({module:L.getModule(le),chunkGraph:N,request:le.request,runtimeRequirements:ae})}${pathToString(ye)};\n`,R.STAGE_PROVIDES,1,`provided ${le.identifier}`));v.replace(le.range[0],le.range[1]-1,le.identifier)}}ProvidedDependency.Template=ProvidedDependencyTemplate;k.exports=ProvidedDependency},19308:function(k,v,E){"use strict";const{UsageState:P}=E(11172);const R=E(58528);const{filterRuntime:L}=E(1540);const N=E(53139);class PureExpressionDependency extends N{constructor(k){super();this.range=k;this.usedByExports=false;this._hashUpdate=undefined}updateHash(k,v){if(this._hashUpdate===undefined){this._hashUpdate=this.range+""}k.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(k){return false}serialize(k){const{write:v}=k;v(this.range);v(this.usedByExports);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.usedByExports=v();super.deserialize(k)}}R(PureExpressionDependency,"webpack/lib/dependencies/PureExpressionDependency");PureExpressionDependency.Template=class PureExpressionDependencyTemplate extends N.Template{apply(k,v,{chunkGraph:E,moduleGraph:R,runtime:N,runtimeTemplate:q,runtimeRequirements:ae}){const le=k;const pe=le.usedByExports;if(pe!==false){const k=R.getParentModule(le);const me=R.getExportsInfo(k);const ye=L(N,(k=>{for(const v of pe){if(me.getUsed(v,k)!==P.Unused){return true}}return false}));if(ye===true)return;if(ye!==false){const k=q.runtimeConditionExpression({chunkGraph:E,runtime:N,runtimeCondition:ye,runtimeRequirements:ae});v.insert(le.range[0],`(/* runtime-dependent pure expression or super */ ${k} ? (`);v.insert(le.range[1],") : null)");return}}v.insert(le.range[0],`(/* unused pure expression or super */ null && (`);v.insert(le.range[1],"))")}};k.exports=PureExpressionDependency},71038:function(k,v,E){"use strict";const P=E(58528);const R=E(51395);const L=E(29729);class RequireContextDependency extends R{constructor(k,v){super(k);this.range=v}get type(){return"require.context"}}P(RequireContextDependency,"webpack/lib/dependencies/RequireContextDependency");RequireContextDependency.Template=L;k.exports=RequireContextDependency},52635:function(k,v,E){"use strict";const P=E(71038);k.exports=class RequireContextDependencyParserPlugin{apply(k){k.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",(v=>{let E=/^\.\/.*$/;let R=true;let L="sync";switch(v.arguments.length){case 4:{const E=k.evaluateExpression(v.arguments[3]);if(!E.isString())return;L=E.string}case 3:{const P=k.evaluateExpression(v.arguments[2]);if(!P.isRegExp())return;E=P.regExp}case 2:{const E=k.evaluateExpression(v.arguments[1]);if(!E.isBoolean())return;R=E.bool}case 1:{const N=k.evaluateExpression(v.arguments[0]);if(!N.isString())return;const q=new P({request:N.string,recursive:R,regExp:E,mode:L,category:"commonjs"},v.range);q.loc=v.loc;q.optional=!!k.scope.inTry;k.state.current.addDependency(q);return true}}}))}}},69286:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R}=E(93622);const{cachedSetProperty:L}=E(99454);const N=E(16624);const q=E(71038);const ae=E(52635);const le={};const pe="RequireContextPlugin";class RequireContextPlugin{apply(k){k.hooks.compilation.tap(pe,((v,{contextModuleFactory:E,normalModuleFactory:me})=>{v.dependencyFactories.set(q,E);v.dependencyTemplates.set(q,new q.Template);v.dependencyFactories.set(N,me);const handler=(k,v)=>{if(v.requireContext!==undefined&&!v.requireContext)return;(new ae).apply(k)};me.hooks.parser.for(P).tap(pe,handler);me.hooks.parser.for(R).tap(pe,handler);E.hooks.alternativeRequests.tap(pe,((v,E)=>{if(v.length===0)return v;const P=k.resolverFactory.get("normal",L(E.resolveOptions||le,"dependencyType",E.category)).options;let R;if(!P.fullySpecified){R=[];for(const k of v){const{request:v,context:E}=k;for(const k of P.extensions){if(v.endsWith(k)){R.push({context:E,request:v.slice(0,-k.length)})}}if(!P.enforceExtension){R.push(k)}}v=R;R=[];for(const k of v){const{request:v,context:E}=k;for(const k of P.mainFiles){if(v.endsWith(`/${k}`)){R.push({context:E,request:v.slice(0,-k.length)});R.push({context:E,request:v.slice(0,-k.length-1)})}}R.push(k)}v=R}R=[];for(const k of v){let v=false;for(const E of P.modules){if(Array.isArray(E)){for(const P of E){if(k.request.startsWith(`./${P}/`)){R.push({context:k.context,request:k.request.slice(P.length+3)});v=true}}}else{const v=E.replace(/\\/g,"/");const P=k.context.replace(/\\/g,"/")+k.request.slice(1);if(P.startsWith(v)){R.push({context:k.context,request:P.slice(v.length+1)})}}}if(!v){R.push(k)}}return R}))}))}}k.exports=RequireContextPlugin},34385:function(k,v,E){"use strict";const P=E(75081);const R=E(58528);class RequireEnsureDependenciesBlock extends P{constructor(k,v){super(k,v,null)}}R(RequireEnsureDependenciesBlock,"webpack/lib/dependencies/RequireEnsureDependenciesBlock");k.exports=RequireEnsureDependenciesBlock},14016:function(k,v,E){"use strict";const P=E(34385);const R=E(42780);const L=E(47785);const N=E(21271);k.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(k){k.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",(v=>{let E=null;let q=null;let ae=null;switch(v.arguments.length){case 4:{const P=k.evaluateExpression(v.arguments[3]);if(!P.isString())return;E=P.string}case 3:{q=v.arguments[2];ae=N(q);if(!ae&&!E){const P=k.evaluateExpression(v.arguments[2]);if(!P.isString())return;E=P.string}}case 2:{const le=k.evaluateExpression(v.arguments[0]);const pe=le.isArray()?le.items:[le];const me=v.arguments[1];const ye=N(me);if(ye){k.walkExpressions(ye.expressions)}if(ae){k.walkExpressions(ae.expressions)}const _e=new P(E,v.loc);const Ie=v.arguments.length===4||!E&&v.arguments.length===3;const Me=new R(v.range,v.arguments[1].range,Ie&&v.arguments[2].range);Me.loc=v.loc;_e.addDependency(Me);const Te=k.state.current;k.state.current=_e;try{let E=false;k.inScope([],(()=>{for(const k of pe){if(k.isString()){const E=new L(k.string);E.loc=k.loc||v.loc;_e.addDependency(E)}else{E=true}}}));if(E){return}if(ye){if(ye.fn.body.type==="BlockStatement"){k.walkStatement(ye.fn.body)}else{k.walkExpression(ye.fn.body)}}Te.addBlock(_e)}finally{k.state.current=Te}if(!ye){k.walkExpression(me)}if(ae){if(ae.fn.body.type==="BlockStatement"){k.walkStatement(ae.fn.body)}else{k.walkExpression(ae.fn.body)}}else if(q){k.walkExpression(q)}return true}}}))}}},42780:function(k,v,E){"use strict";const P=E(56727);const R=E(58528);const L=E(53139);class RequireEnsureDependency extends L{constructor(k,v,E){super();this.range=k;this.contentRange=v;this.errorHandlerRange=E}get type(){return"require.ensure"}serialize(k){const{write:v}=k;v(this.range);v(this.contentRange);v(this.errorHandlerRange);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.contentRange=v();this.errorHandlerRange=v();super.deserialize(k)}}R(RequireEnsureDependency,"webpack/lib/dependencies/RequireEnsureDependency");RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate extends L.Template{apply(k,v,{runtimeTemplate:E,moduleGraph:R,chunkGraph:L,runtimeRequirements:N}){const q=k;const ae=R.getParentBlock(q);const le=E.blockPromise({chunkGraph:L,block:ae,message:"require.ensure",runtimeRequirements:N});const pe=q.range;const me=q.contentRange;const ye=q.errorHandlerRange;v.replace(pe[0],me[0]-1,`${le}.then((`);if(ye){v.replace(me[1],ye[0]-1,`).bind(null, ${P.require}))['catch'](`);v.replace(ye[1],pe[1]-1,")")}else{v.replace(me[1],pe[1]-1,`).bind(null, ${P.require}))['catch'](${P.uncaughtErrorHandler})`)}}};k.exports=RequireEnsureDependency},47785:function(k,v,E){"use strict";const P=E(58528);const R=E(77373);const L=E(53139);class RequireEnsureItemDependency extends R{constructor(k){super(k)}get type(){return"require.ensure item"}get category(){return"commonjs"}}P(RequireEnsureItemDependency,"webpack/lib/dependencies/RequireEnsureItemDependency");RequireEnsureItemDependency.Template=L.Template;k.exports=RequireEnsureItemDependency},34949:function(k,v,E){"use strict";const P=E(42780);const R=E(47785);const L=E(14016);const{JAVASCRIPT_MODULE_TYPE_AUTO:N,JAVASCRIPT_MODULE_TYPE_DYNAMIC:q}=E(93622);const{evaluateToString:ae,toConstantDependency:le}=E(80784);const pe="RequireEnsurePlugin";class RequireEnsurePlugin{apply(k){k.hooks.compilation.tap(pe,((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(R,v);k.dependencyTemplates.set(R,new R.Template);k.dependencyTemplates.set(P,new P.Template);const handler=(k,v)=>{if(v.requireEnsure!==undefined&&!v.requireEnsure)return;(new L).apply(k);k.hooks.evaluateTypeof.for("require.ensure").tap(pe,ae("function"));k.hooks.typeof.for("require.ensure").tap(pe,le(k,JSON.stringify("function")))};v.hooks.parser.for(N).tap(pe,handler);v.hooks.parser.for(q).tap(pe,handler)}))}}k.exports=RequireEnsurePlugin},72330:function(k,v,E){"use strict";const P=E(56727);const R=E(58528);const L=E(53139);class RequireHeaderDependency extends L{constructor(k){super();if(!Array.isArray(k))throw new Error("range must be valid");this.range=k}serialize(k){const{write:v}=k;v(this.range);super.serialize(k)}static deserialize(k){const v=new RequireHeaderDependency(k.read());v.deserialize(k);return v}}R(RequireHeaderDependency,"webpack/lib/dependencies/RequireHeaderDependency");RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate extends L.Template{apply(k,v,{runtimeRequirements:E}){const R=k;E.add(P.require);v.replace(R.range[0],R.range[1]-1,P.require)}};k.exports=RequireHeaderDependency},72846:function(k,v,E){"use strict";const P=E(16848);const R=E(95041);const L=E(58528);const N=E(77373);class RequireIncludeDependency extends N{constructor(k,v){super(k);this.range=v}getReferencedExports(k,v){return P.NO_EXPORTS_REFERENCED}get type(){return"require.include"}get category(){return"commonjs"}}L(RequireIncludeDependency,"webpack/lib/dependencies/RequireIncludeDependency");RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate extends N.Template{apply(k,v,{runtimeTemplate:E}){const P=k;const L=E.outputOptions.pathinfo?R.toComment(`require.include ${E.requestShortener.shorten(P.request)}`):"";v.replace(P.range[0],P.range[1]-1,`undefined${L}`)}};k.exports=RequireIncludeDependency},97229:function(k,v,E){"use strict";const P=E(71572);const{evaluateToString:R,toConstantDependency:L}=E(80784);const N=E(58528);const q=E(72846);k.exports=class RequireIncludeDependencyParserPlugin{constructor(k){this.warn=k}apply(k){const{warn:v}=this;k.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",(E=>{if(E.arguments.length!==1)return;const P=k.evaluateExpression(E.arguments[0]);if(!P.isString())return;if(v){k.state.module.addWarning(new RequireIncludeDeprecationWarning(E.loc))}const R=new q(P.string,E.range);R.loc=E.loc;k.state.current.addDependency(R);return true}));k.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",(E=>{if(v){k.state.module.addWarning(new RequireIncludeDeprecationWarning(E.loc))}return R("function")(E)}));k.hooks.typeof.for("require.include").tap("RequireIncludePlugin",(E=>{if(v){k.state.module.addWarning(new RequireIncludeDeprecationWarning(E.loc))}return L(k,JSON.stringify("function"))(E)}))}};class RequireIncludeDeprecationWarning extends P{constructor(k){super("require.include() is deprecated and will be removed soon.");this.name="RequireIncludeDeprecationWarning";this.loc=k}}N(RequireIncludeDeprecationWarning,"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin","RequireIncludeDeprecationWarning")},80250:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R}=E(93622);const L=E(72846);const N=E(97229);const q="RequireIncludePlugin";class RequireIncludePlugin{apply(k){k.hooks.compilation.tap(q,((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(L,v);k.dependencyTemplates.set(L,new L.Template);const handler=(k,v)=>{if(v.requireInclude===false)return;const E=v.requireInclude===undefined;new N(E).apply(k)};v.hooks.parser.for(P).tap(q,handler);v.hooks.parser.for(R).tap(q,handler)}))}}k.exports=RequireIncludePlugin},12204:function(k,v,E){"use strict";const P=E(58528);const R=E(51395);const L=E(16213);class RequireResolveContextDependency extends R{constructor(k,v,E,P){super(k,P);this.range=v;this.valueRange=E}get type(){return"amd require context"}serialize(k){const{write:v}=k;v(this.range);v(this.valueRange);super.serialize(k)}deserialize(k){const{read:v}=k;this.range=v();this.valueRange=v();super.deserialize(k)}}P(RequireResolveContextDependency,"webpack/lib/dependencies/RequireResolveContextDependency");RequireResolveContextDependency.Template=L;k.exports=RequireResolveContextDependency},29961:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);const L=E(77373);const N=E(3312);class RequireResolveDependency extends L{constructor(k,v,E){super(k);this.range=v;this._context=E}get type(){return"require.resolve"}get category(){return"commonjs"}getReferencedExports(k,v){return P.NO_EXPORTS_REFERENCED}}R(RequireResolveDependency,"webpack/lib/dependencies/RequireResolveDependency");RequireResolveDependency.Template=N;k.exports=RequireResolveDependency},53765:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class RequireResolveHeaderDependency extends R{constructor(k){super();if(!Array.isArray(k))throw new Error("range must be valid");this.range=k}serialize(k){const{write:v}=k;v(this.range);super.serialize(k)}static deserialize(k){const v=new RequireResolveHeaderDependency(k.read());v.deserialize(k);return v}}P(RequireResolveHeaderDependency,"webpack/lib/dependencies/RequireResolveHeaderDependency");RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate extends R.Template{apply(k,v,E){const P=k;v.replace(P.range[0],P.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(k,v,E){E.replace(v.range[0],v.range[1]-1,"/*require.resolve*/")}};k.exports=RequireResolveHeaderDependency},84985:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class RuntimeRequirementsDependency extends R{constructor(k){super();this.runtimeRequirements=new Set(k);this._hashUpdate=undefined}updateHash(k,v){if(this._hashUpdate===undefined){this._hashUpdate=Array.from(this.runtimeRequirements).join()+""}k.update(this._hashUpdate)}serialize(k){const{write:v}=k;v(this.runtimeRequirements);super.serialize(k)}deserialize(k){const{read:v}=k;this.runtimeRequirements=v();super.deserialize(k)}}P(RuntimeRequirementsDependency,"webpack/lib/dependencies/RuntimeRequirementsDependency");RuntimeRequirementsDependency.Template=class RuntimeRequirementsDependencyTemplate extends R.Template{apply(k,v,{runtimeRequirements:E}){const P=k;for(const k of P.runtimeRequirements){E.add(k)}}};k.exports=RuntimeRequirementsDependency},93414:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class StaticExportsDependency extends R{constructor(k,v){super();this.exports=k;this.canMangle=v}get type(){return"static exports"}getExports(k){return{exports:this.exports,canMangle:this.canMangle,dependencies:undefined}}serialize(k){const{write:v}=k;v(this.exports);v(this.canMangle);super.serialize(k)}deserialize(k){const{read:v}=k;this.exports=v();this.canMangle=v();super.deserialize(k)}}P(StaticExportsDependency,"webpack/lib/dependencies/StaticExportsDependency");k.exports=StaticExportsDependency},3674:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_DYNAMIC:R}=E(93622);const L=E(56727);const N=E(71572);const{evaluateToString:q,expressionIsUnsupported:ae,toConstantDependency:le}=E(80784);const pe=E(58528);const me=E(60381);const ye=E(92464);const _e="SystemPlugin";class SystemPlugin{apply(k){k.hooks.compilation.tap(_e,((k,{normalModuleFactory:v})=>{k.hooks.runtimeRequirementInModule.for(L.system).tap(_e,((k,v)=>{v.add(L.requireScope)}));k.hooks.runtimeRequirementInTree.for(L.system).tap(_e,((v,E)=>{k.addRuntimeModule(v,new ye)}));const handler=(k,v)=>{if(v.system===undefined||!v.system){return}const setNotSupported=v=>{k.hooks.evaluateTypeof.for(v).tap(_e,q("undefined"));k.hooks.expression.for(v).tap(_e,ae(k,v+" is not supported by webpack."))};k.hooks.typeof.for("System.import").tap(_e,le(k,JSON.stringify("function")));k.hooks.evaluateTypeof.for("System.import").tap(_e,q("function"));k.hooks.typeof.for("System").tap(_e,le(k,JSON.stringify("object")));k.hooks.evaluateTypeof.for("System").tap(_e,q("object"));setNotSupported("System.set");setNotSupported("System.get");setNotSupported("System.register");k.hooks.expression.for("System").tap(_e,(v=>{const E=new me(L.system,v.range,[L.system]);E.loc=v.loc;k.state.module.addPresentationalDependency(E);return true}));k.hooks.call.for("System.import").tap(_e,(v=>{k.state.module.addWarning(new SystemImportDeprecationWarning(v.loc));return k.hooks.importCall.call({type:"ImportExpression",source:v.arguments[0],loc:v.loc,range:v.range})}))};v.hooks.parser.for(P).tap(_e,handler);v.hooks.parser.for(R).tap(_e,handler)}))}}class SystemImportDeprecationWarning extends N{constructor(k){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=k}}pe(SystemImportDeprecationWarning,"webpack/lib/dependencies/SystemPlugin","SystemImportDeprecationWarning");k.exports=SystemPlugin;k.exports.SystemImportDeprecationWarning=SystemImportDeprecationWarning},92464:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class SystemRuntimeModule extends R{constructor(){super("system")}generate(){return L.asString([`${P.system} = {`,L.indent(["import: function () {",L.indent("throw new Error('System.import cannot be used indirectly');"),"}"]),"};"])}}k.exports=SystemRuntimeModule},65961:function(k,v,E){"use strict";const P=E(56727);const{getDependencyUsedByExportsCondition:R}=E(88926);const L=E(58528);const N=E(20631);const q=E(77373);const ae=N((()=>E(26619)));class URLDependency extends q{constructor(k,v,E,P){super(k);this.range=v;this.outerRange=E;this.relative=P||false;this.usedByExports=undefined}get type(){return"new URL()"}get category(){return"url"}getCondition(k){return R(this,this.usedByExports,k)}createIgnoredModule(k){const v=ae();return new v("data:,",`ignored-asset`,`(ignored asset)`)}serialize(k){const{write:v}=k;v(this.outerRange);v(this.relative);v(this.usedByExports);super.serialize(k)}deserialize(k){const{read:v}=k;this.outerRange=v();this.relative=v();this.usedByExports=v();super.deserialize(k)}}URLDependency.Template=class URLDependencyTemplate extends q.Template{apply(k,v,E){const{chunkGraph:R,moduleGraph:L,runtimeRequirements:N,runtimeTemplate:q,runtime:ae}=E;const le=k;const pe=L.getConnection(le);if(pe&&!pe.isTargetActive(ae)){v.replace(le.outerRange[0],le.outerRange[1]-1,"/* unused asset import */ undefined");return}N.add(P.require);if(le.relative){N.add(P.relativeUrl);v.replace(le.outerRange[0],le.outerRange[1]-1,`/* asset import */ new ${P.relativeUrl}(${q.moduleRaw({chunkGraph:R,module:L.getModule(le),request:le.request,runtimeRequirements:N,weak:false})})`)}else{N.add(P.baseURI);v.replace(le.range[0],le.range[1]-1,`/* asset import */ ${q.moduleRaw({chunkGraph:R,module:L.getModule(le),request:le.request,runtimeRequirements:N,weak:false})}, ${P.baseURI}`)}}};L(URLDependency,"webpack/lib/dependencies/URLDependency");k.exports=URLDependency},50703:function(k,v,E){"use strict";const{pathToFileURL:P}=E(57310);const{JAVASCRIPT_MODULE_TYPE_AUTO:R,JAVASCRIPT_MODULE_TYPE_ESM:L}=E(93622);const N=E(70037);const{approve:q}=E(80784);const ae=E(88926);const le=E(65961);const pe="URLPlugin";class URLPlugin{apply(k){k.hooks.compilation.tap(pe,((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(le,v);k.dependencyTemplates.set(le,new le.Template);const getUrl=k=>P(k.resource);const parserCallback=(k,v)=>{if(v.url===false)return;const E=v.url==="relative";const getUrlRequest=v=>{if(v.arguments.length!==2)return;const[E,P]=v.arguments;if(P.type!=="MemberExpression"||E.type==="SpreadElement")return;const R=k.extractMemberExpressionChain(P);if(R.members.length!==1||R.object.type!=="MetaProperty"||R.object.meta.name!=="import"||R.object.property.name!=="meta"||R.members[0]!=="url")return;return k.evaluateExpression(E).asString()};k.hooks.canRename.for("URL").tap(pe,q);k.hooks.evaluateNewExpression.for("URL").tap(pe,(v=>{const E=getUrlRequest(v);if(!E)return;const P=new URL(E,getUrl(k.state.module));return(new N).setString(P.toString()).setRange(v.range)}));k.hooks.new.for("URL").tap(pe,(v=>{const P=v;const R=getUrlRequest(P);if(!R)return;const[L,N]=P.arguments;const q=new le(R,[L.range[0],N.range[1]],P.range,E);q.loc=P.loc;k.state.current.addDependency(q);ae.onUsage(k.state,(k=>q.usedByExports=k));return true}));k.hooks.isPure.for("NewExpression").tap(pe,(v=>{const E=v;const{callee:P}=E;if(P.type!=="Identifier")return;const R=k.getFreeInfoFromVariable(P.name);if(!R||R.name!=="URL")return;const L=getUrlRequest(E);if(L)return true}))};v.hooks.parser.for(R).tap(pe,parserCallback);v.hooks.parser.for(L).tap(pe,parserCallback)}))}}k.exports=URLPlugin},63639:function(k,v,E){"use strict";const P=E(58528);const R=E(53139);class UnsupportedDependency extends R{constructor(k,v){super();this.request=k;this.range=v}serialize(k){const{write:v}=k;v(this.request);v(this.range);super.serialize(k)}deserialize(k){const{read:v}=k;this.request=v();this.range=v();super.deserialize(k)}}P(UnsupportedDependency,"webpack/lib/dependencies/UnsupportedDependency");UnsupportedDependency.Template=class UnsupportedDependencyTemplate extends R.Template{apply(k,v,{runtimeTemplate:E}){const P=k;v.replace(P.range[0],P.range[1],E.missingModule({request:P.request}))}};k.exports=UnsupportedDependency},74476:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);const L=E(77373);class WebAssemblyExportImportedDependency extends L{constructor(k,v,E,P){super(v);this.exportName=k;this.name=E;this.valueType=P}couldAffectReferencingModule(){return P.TRANSITIVE}getReferencedExports(k,v){return[[this.name]]}get type(){return"wasm export import"}get category(){return"wasm"}serialize(k){const{write:v}=k;v(this.exportName);v(this.name);v(this.valueType);super.serialize(k)}deserialize(k){const{read:v}=k;this.exportName=v();this.name=v();this.valueType=v();super.deserialize(k)}}R(WebAssemblyExportImportedDependency,"webpack/lib/dependencies/WebAssemblyExportImportedDependency");k.exports=WebAssemblyExportImportedDependency},22734:function(k,v,E){"use strict";const P=E(58528);const R=E(42626);const L=E(77373);class WebAssemblyImportDependency extends L{constructor(k,v,E,P){super(k);this.name=v;this.description=E;this.onlyDirectImport=P}get type(){return"wasm import"}get category(){return"wasm"}getReferencedExports(k,v){return[[this.name]]}getErrors(k){const v=k.getModule(this);if(this.onlyDirectImport&&v&&!v.type.startsWith("webassembly")){return[new R(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}serialize(k){const{write:v}=k;v(this.name);v(this.description);v(this.onlyDirectImport);super.serialize(k)}deserialize(k){const{read:v}=k;this.name=v();this.description=v();this.onlyDirectImport=v();super.deserialize(k)}}P(WebAssemblyImportDependency,"webpack/lib/dependencies/WebAssemblyImportDependency");k.exports=WebAssemblyImportDependency},83143:function(k,v,E){"use strict";const P=E(16848);const R=E(95041);const L=E(58528);const N=E(77373);class WebpackIsIncludedDependency extends N{constructor(k,v){super(k);this.weak=true;this.range=v}getReferencedExports(k,v){return P.NO_EXPORTS_REFERENCED}get type(){return"__webpack_is_included__"}}L(WebpackIsIncludedDependency,"webpack/lib/dependencies/WebpackIsIncludedDependency");WebpackIsIncludedDependency.Template=class WebpackIsIncludedDependencyTemplate extends N.Template{apply(k,v,{runtimeTemplate:E,chunkGraph:P,moduleGraph:L}){const N=k;const q=L.getConnection(N);const ae=q?P.getNumberOfModuleChunks(q.module)>0:false;const le=E.outputOptions.pathinfo?R.toComment(`__webpack_is_included__ ${E.requestShortener.shorten(N.request)}`):"";v.replace(N.range[0],N.range[1]-1,`${le}${JSON.stringify(ae)}`)}};k.exports=WebpackIsIncludedDependency},15200:function(k,v,E){"use strict";const P=E(16848);const R=E(56727);const L=E(58528);const N=E(77373);class WorkerDependency extends N{constructor(k,v,E){super(k);this.range=v;this.options=E;this._hashUpdate=undefined}getReferencedExports(k,v){return P.NO_EXPORTS_REFERENCED}get type(){return"new Worker()"}get category(){return"worker"}updateHash(k,v){if(this._hashUpdate===undefined){this._hashUpdate=JSON.stringify(this.options)}k.update(this._hashUpdate)}serialize(k){const{write:v}=k;v(this.options);super.serialize(k)}deserialize(k){const{read:v}=k;this.options=v();super.deserialize(k)}}WorkerDependency.Template=class WorkerDependencyTemplate extends N.Template{apply(k,v,E){const{chunkGraph:P,moduleGraph:L,runtimeRequirements:N}=E;const q=k;const ae=L.getParentBlock(k);const le=P.getBlockChunkGroup(ae);const pe=le.getEntrypointChunk();const me=q.options.publicPath?`"${q.options.publicPath}"`:R.publicPath;N.add(R.publicPath);N.add(R.baseURI);N.add(R.getChunkScriptFilename);v.replace(q.range[0],q.range[1]-1,`/* worker import */ ${me} + ${R.getChunkScriptFilename}(${JSON.stringify(pe.id)}), ${R.baseURI}`)}};L(WorkerDependency,"webpack/lib/dependencies/WorkerDependency");k.exports=WorkerDependency},95918:function(k,v,E){"use strict";const{pathToFileURL:P}=E(57310);const R=E(75081);const L=E(68160);const{JAVASCRIPT_MODULE_TYPE_AUTO:N,JAVASCRIPT_MODULE_TYPE_ESM:q}=E(93622);const ae=E(9415);const le=E(73126);const{equals:pe}=E(68863);const me=E(74012);const{contextify:ye}=E(65315);const _e=E(50792);const Ie=E(60381);const Me=E(98857);const{harmonySpecifierTag:Te}=E(57737);const je=E(15200);const getUrl=k=>P(k.resource).toString();const Ne=Symbol("worker specifier tag");const Be=["Worker","SharedWorker","navigator.serviceWorker.register()","Worker from worker_threads"];const qe=new WeakMap;const Ue="WorkerPlugin";class WorkerPlugin{constructor(k,v,E,P){this._chunkLoading=k;this._wasmLoading=v;this._module=E;this._workerPublicPath=P}apply(k){if(this._chunkLoading){new le(this._chunkLoading).apply(k)}if(this._wasmLoading){new _e(this._wasmLoading).apply(k)}const v=ye.bindContextCache(k.context,k.root);k.hooks.thisCompilation.tap(Ue,((k,{normalModuleFactory:E})=>{k.dependencyFactories.set(je,E);k.dependencyTemplates.set(je,new je.Template);k.dependencyTemplates.set(Me,new Me.Template);const parseModuleUrl=(k,v)=>{if(v.type!=="NewExpression"||v.callee.type==="Super"||v.arguments.length!==2)return;const[E,P]=v.arguments;if(E.type==="SpreadElement")return;if(P.type==="SpreadElement")return;const R=k.evaluateExpression(v.callee);if(!R.isIdentifier()||R.identifier!=="URL")return;const L=k.evaluateExpression(P);if(!L.isString()||!L.string.startsWith("file://")||L.string!==getUrl(k.state.module)){return}const N=k.evaluateExpression(E);return[N,[E.range[0],P.range[1]]]};const parseObjectExpression=(k,v)=>{const E={};const P={};const R=[];let L=false;for(const N of v.properties){if(N.type==="SpreadElement"){L=true}else if(N.type==="Property"&&!N.method&&!N.computed&&N.key.type==="Identifier"){P[N.key.name]=N.value;if(!N.shorthand&&!N.value.type.endsWith("Pattern")){const v=k.evaluateExpression(N.value);if(v.isCompileTimeValue())E[N.key.name]=v.asCompileTimeValue()}}else{R.push(N)}}const N=v.properties.length>0?"comma":"single";const q=v.properties[v.properties.length-1].range[1];return{expressions:P,otherElements:R,values:E,spread:L,insertType:N,insertLocation:q}};const parserPlugin=(E,P)=>{if(P.worker===false)return;const N=!Array.isArray(P.worker)?["..."]:P.worker;const handleNewWorker=P=>{if(P.arguments.length===0||P.arguments.length>2)return;const[N,q]=P.arguments;if(N.type==="SpreadElement")return;if(q&&q.type==="SpreadElement")return;const le=parseModuleUrl(E,N);if(!le)return;const[pe,ye]=le;if(!pe.isString())return;const{expressions:_e,otherElements:Te,values:Ne,spread:Be,insertType:Ue,insertLocation:Ge}=q&&q.type==="ObjectExpression"?parseObjectExpression(E,q):{expressions:{},otherElements:[],values:{},spread:false,insertType:q?"spread":"argument",insertLocation:q?q.range:N.range[1]};const{options:He,errors:We}=E.parseCommentOptions(P.range);if(We){for(const k of We){const{comment:v}=k;E.state.module.addWarning(new L(`Compilation error while processing magic comment(-s): /*${v.value}*/: ${k.message}`,v.loc))}}let Qe={};if(He){if(He.webpackIgnore!==undefined){if(typeof He.webpackIgnore!=="boolean"){E.state.module.addWarning(new ae(`\`webpackIgnore\` expected a boolean, but received: ${He.webpackIgnore}.`,P.loc))}else{if(He.webpackIgnore){return false}}}if(He.webpackEntryOptions!==undefined){if(typeof He.webpackEntryOptions!=="object"||He.webpackEntryOptions===null){E.state.module.addWarning(new ae(`\`webpackEntryOptions\` expected a object, but received: ${He.webpackEntryOptions}.`,P.loc))}else{Object.assign(Qe,He.webpackEntryOptions)}}if(He.webpackChunkName!==undefined){if(typeof He.webpackChunkName!=="string"){E.state.module.addWarning(new ae(`\`webpackChunkName\` expected a string, but received: ${He.webpackChunkName}.`,P.loc))}else{Qe.name=He.webpackChunkName}}}if(!Object.prototype.hasOwnProperty.call(Qe,"name")&&Ne&&typeof Ne.name==="string"){Qe.name=Ne.name}if(Qe.runtime===undefined){let P=qe.get(E.state)||0;qe.set(E.state,P+1);let R=`${v(E.state.module.identifier())}|${P}`;const L=me(k.outputOptions.hashFunction);L.update(R);const N=L.digest(k.outputOptions.hashDigest);Qe.runtime=N.slice(0,k.outputOptions.hashDigestLength)}const Je=new R({name:Qe.name,entryOptions:{chunkLoading:this._chunkLoading,wasmLoading:this._wasmLoading,...Qe}});Je.loc=P.loc;const Ve=new je(pe.string,ye,{publicPath:this._workerPublicPath});Ve.loc=P.loc;Je.addDependency(Ve);E.state.module.addBlock(Je);if(k.outputOptions.trustedTypes){const k=new Me(P.arguments[0].range);k.loc=P.loc;E.state.module.addDependency(k)}if(_e.type){const k=_e.type;if(Ne.type!==false){const v=new Ie(this._module?'"module"':"undefined",k.range);v.loc=k.loc;E.state.module.addPresentationalDependency(v);_e.type=undefined}}else if(Ue==="comma"){if(this._module||Be){const k=new Ie(`, type: ${this._module?'"module"':"undefined"}`,Ge);k.loc=P.loc;E.state.module.addPresentationalDependency(k)}}else if(Ue==="spread"){const k=new Ie("Object.assign({}, ",Ge[0]);const v=new Ie(`, { type: ${this._module?'"module"':"undefined"} })`,Ge[1]);k.loc=P.loc;v.loc=P.loc;E.state.module.addPresentationalDependency(k);E.state.module.addPresentationalDependency(v)}else if(Ue==="argument"){if(this._module){const k=new Ie(', { type: "module" }',Ge);k.loc=P.loc;E.state.module.addPresentationalDependency(k)}}E.walkExpression(P.callee);for(const k of Object.keys(_e)){if(_e[k])E.walkExpression(_e[k])}for(const k of Te){E.walkProperty(k)}if(Ue==="spread"){E.walkExpression(q)}return true};const processItem=k=>{if(k.startsWith("*")&&k.includes(".")&&k.endsWith("()")){const v=k.indexOf(".");const P=k.slice(1,v);const R=k.slice(v+1,-2);E.hooks.pattern.for(P).tap(Ue,(k=>{E.tagVariable(k.name,Ne);return true}));E.hooks.callMemberChain.for(Ne).tap(Ue,((k,v)=>{if(R!==v.join(".")){return}return handleNewWorker(k)}))}else if(k.endsWith("()")){E.hooks.call.for(k.slice(0,-2)).tap(Ue,handleNewWorker)}else{const v=/^(.+?)(\(\))?\s+from\s+(.+)$/.exec(k);if(v){const k=v[1].split(".");const P=v[2];const R=v[3];(P?E.hooks.call:E.hooks.new).for(Te).tap(Ue,(v=>{const P=E.currentTagData;if(!P||P.source!==R||!pe(P.ids,k)){return}return handleNewWorker(v)}))}else{E.hooks.new.for(k).tap(Ue,handleNewWorker)}}};for(const k of N){if(k==="..."){Be.forEach(processItem)}else processItem(k)}};E.hooks.parser.for(N).tap(Ue,parserPlugin);E.hooks.parser.for(q).tap(Ue,parserPlugin)}))}}k.exports=WorkerPlugin},21271:function(k){"use strict";k.exports=k=>{if(k.type==="FunctionExpression"||k.type==="ArrowFunctionExpression"){return{fn:k,expressions:[],needThis:false}}if(k.type==="CallExpression"&&k.callee.type==="MemberExpression"&&k.callee.object.type==="FunctionExpression"&&k.callee.property.type==="Identifier"&&k.callee.property.name==="bind"&&k.arguments.length===1){return{fn:k.callee.object,expressions:[k.arguments[0]],needThis:undefined}}if(k.type==="CallExpression"&&k.callee.type==="FunctionExpression"&&k.callee.body.type==="BlockStatement"&&k.arguments.length===1&&k.arguments[0].type==="ThisExpression"&&k.callee.body.body&&k.callee.body.body.length===1&&k.callee.body.body[0].type==="ReturnStatement"&&k.callee.body.body[0].argument&&k.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:k.callee.body.body[0].argument,expressions:[],needThis:true}}}},49798:function(k,v,E){"use strict";const{UsageState:P}=E(11172);const processExportInfo=(k,v,E,R,L=false,N=new Set)=>{if(!R){v.push(E);return}const q=R.getUsed(k);if(q===P.Unused)return;if(N.has(R)){v.push(E);return}N.add(R);if(q!==P.OnlyPropertiesUsed||!R.exportsInfo||R.exportsInfo.otherExportsInfo.getUsed(k)!==P.Unused){N.delete(R);v.push(E);return}const ae=R.exportsInfo;for(const P of ae.orderedExports){processExportInfo(k,v,L&&P.name==="default"?E:E.concat(P.name),P,false,N)}N.delete(R)};k.exports=processExportInfo},27558:function(k,v,E){"use strict";const P=E(53757);class ElectronTargetPlugin{constructor(k){this._context=k}apply(k){new P("node-commonjs",["clipboard","crash-reporter","electron","ipc","native-image","original-fs","screen","shell"]).apply(k);switch(this._context){case"main":new P("node-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(k);break;case"preload":case"renderer":new P("node-commonjs",["desktop-capturer","ipc-renderer","remote","web-frame"]).apply(k);break}}}k.exports=ElectronTargetPlugin},10408:function(k,v,E){"use strict";const P=E(71572);class BuildCycleError extends P{constructor(k){super("There is a circular build dependency, which makes it impossible to create this module");this.name="BuildCycleError";this.module=k}}k.exports=BuildCycleError},25427:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class ExportWebpackRequireRuntimeModule extends R{constructor(){super("export webpack runtime",R.STAGE_ATTACH)}shouldIsolate(){return false}generate(){return`export default ${P.require};`}}k.exports=ExportWebpackRequireRuntimeModule},14504:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const{RuntimeGlobals:R}=E(94308);const L=E(95733);const N=E(95041);const{getAllChunks:q}=E(72130);const{chunkHasJs:ae,getCompilationHooks:le,getChunkFilenameTemplate:pe}=E(89168);const{updateHashForEntryStartup:me}=E(73777);class ModuleChunkFormatPlugin{apply(k){k.hooks.thisCompilation.tap("ModuleChunkFormatPlugin",(k=>{k.hooks.additionalChunkRuntimeRequirements.tap("ModuleChunkFormatPlugin",((v,E)=>{if(v.hasRuntime())return;if(k.chunkGraph.getNumberOfEntryModules(v)>0){E.add(R.require);E.add(R.startupEntrypoint);E.add(R.externalInstallChunk)}}));const v=le(k);v.renderChunk.tap("ModuleChunkFormatPlugin",((E,le)=>{const{chunk:me,chunkGraph:ye,runtimeTemplate:_e}=le;const Ie=me instanceof L?me:null;const Me=new P;if(Ie){throw new Error("HMR is not implemented for module chunk format yet")}else{Me.add(`export const id = ${JSON.stringify(me.id)};\n`);Me.add(`export const ids = ${JSON.stringify(me.ids)};\n`);Me.add(`export const modules = `);Me.add(E);Me.add(`;\n`);const L=ye.getChunkRuntimeModulesInOrder(me);if(L.length>0){Me.add("export const runtime =\n");Me.add(N.renderChunkRuntimeModules(L,le))}const Ie=Array.from(ye.getChunkEntryModulesWithChunkGroupIterable(me));if(Ie.length>0){const E=Ie[0][1].getRuntimeChunk();const L=k.getPath(pe(me,k.outputOptions),{chunk:me,contentHashType:"javascript"}).split("/");L.pop();const getRelativePath=v=>{const E=L.slice();const P=k.getPath(pe(v,k.outputOptions),{chunk:v,contentHashType:"javascript"}).split("/");while(E.length>0&&P.length>0&&E[0]===P[0]){E.shift();P.shift()}return(E.length>0?"../".repeat(E.length):"./")+P.join("/")};const N=new P;N.add(Me);N.add(";\n\n// load runtime\n");N.add(`import ${R.require} from ${JSON.stringify(getRelativePath(E))};\n`);const Te=new P;Te.add(`var __webpack_exec__ = ${_e.returningFunction(`${R.require}(${R.entryModuleId} = moduleId)`,"moduleId")}\n`);const je=new Set;let Ne=0;for(let k=0;k{if(k.hasRuntime())return;v.update("ModuleChunkFormatPlugin");v.update("1");const R=Array.from(E.getChunkEntryModulesWithChunkGroupIterable(k));me(v,E,R,k)}))}))}}k.exports=ModuleChunkFormatPlugin},21879:function(k,v,E){"use strict";const P=E(56727);const R=E(25427);const L=E(68748);class ModuleChunkLoadingPlugin{apply(k){k.hooks.thisCompilation.tap("ModuleChunkLoadingPlugin",(k=>{const v=k.outputOptions.chunkLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.chunkLoading!==undefined?E.chunkLoading:v;return P==="import"};const E=new WeakSet;const handler=(v,R)=>{if(E.has(v))return;E.add(v);if(!isEnabledForChunk(v))return;R.add(P.moduleFactoriesAddOnly);R.add(P.hasOwnProperty);k.addRuntimeModule(v,new L(R))};k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.baseURI).tap("ModuleChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.externalInstallChunk).tap("ModuleChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.onChunksLoaded).tap("ModuleChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.externalInstallChunk).tap("ModuleChunkLoadingPlugin",((v,E)=>{if(!isEnabledForChunk(v))return;k.addRuntimeModule(v,new R)}));k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.getChunkScriptFilename)}))}))}}k.exports=ModuleChunkLoadingPlugin},68748:function(k,v,E){"use strict";const{SyncWaterfallHook:P}=E(79846);const R=E(27747);const L=E(56727);const N=E(27462);const q=E(95041);const{getChunkFilenameTemplate:ae,chunkHasJs:le}=E(89168);const{getInitialChunkIds:pe}=E(73777);const me=E(21751);const{getUndoPath:ye}=E(65315);const _e=new WeakMap;class ModuleChunkLoadingRuntimeModule extends N{static getCompilationHooks(k){if(!(k instanceof R)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=_e.get(k);if(v===undefined){v={linkPreload:new P(["source","chunk"]),linkPrefetch:new P(["source","chunk"])};_e.set(k,v)}return v}constructor(k){super("import chunk loading",N.STAGE_ATTACH);this._runtimeRequirements=k}_generateBaseUri(k,v){const E=k.getEntryOptions();if(E&&E.baseUri){return`${L.baseURI} = ${JSON.stringify(E.baseUri)};`}const P=this.compilation;const{outputOptions:{importMetaName:R}}=P;return`${L.baseURI} = new URL(${JSON.stringify(v)}, ${R}.url);`}generate(){const k=this.compilation;const v=this.chunkGraph;const E=this.chunk;const{runtimeTemplate:P,outputOptions:{importFunctionName:R}}=k;const N=L.ensureChunkHandlers;const _e=this._runtimeRequirements.has(L.baseURI);const Ie=this._runtimeRequirements.has(L.externalInstallChunk);const Me=this._runtimeRequirements.has(L.ensureChunkHandlers);const Te=this._runtimeRequirements.has(L.onChunksLoaded);const je=this._runtimeRequirements.has(L.hmrDownloadUpdateHandlers);const Ne=v.getChunkConditionMap(E,le);const Be=me(Ne);const qe=pe(E,v,le);const Ue=k.getPath(ae(E,k.outputOptions),{chunk:E,contentHashType:"javascript"});const Ge=ye(Ue,k.outputOptions.path,true);const He=je?`${L.hmrRuntimeStatePrefix}_module`:undefined;return q.asString([_e?this._generateBaseUri(E,Ge):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${He?`${He} = ${He} || `:""}{`,q.indent(Array.from(qe,(k=>`${JSON.stringify(k)}: 0`)).join(",\n")),"};","",Me||Ie?`var installChunk = ${P.basicFunction("data",[P.destructureObject(["ids","modules","runtime"],"data"),'// add "modules" to the modules object,','// then flag all "ids" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in modules) {",q.indent([`if(${L.hasOwnProperty}(modules, moduleId)) {`,q.indent(`${L.moduleFactories}[moduleId] = modules[moduleId];`),"}"]),"}",`if(runtime) runtime(${L.require});`,"for(;i < ids.length; i++) {",q.indent(["chunkId = ids[i];",`if(${L.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,q.indent("installedChunks[chunkId][0]();"),"}","installedChunks[ids[i]] = 0;"]),"}",Te?`${L.onChunksLoaded}();`:""])}`:"// no install chunk","",Me?q.asString([`${N}.j = ${P.basicFunction("chunkId, promises",Be!==false?q.indent(["// import() chunk loading for javascript",`var installedChunkData = ${L.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',q.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",q.indent(["promises.push(installedChunkData[1]);"]),"} else {",q.indent([Be===true?"if(true) { // all chunks have JS":`if(${Be("chunkId")}) {`,q.indent(["// setup Promise in chunk cache",`var promise = ${R}(${JSON.stringify(Ge)} + ${L.getChunkScriptFilename}(chunkId)).then(installChunk, ${P.basicFunction("e",["if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;","throw e;"])});`,`var promise = Promise.race([promise, new Promise(${P.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve]`,"resolve")})])`,`promises.push(installedChunkData[1] = promise);`]),Be===true?"}":"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):q.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Ie?q.asString([`${L.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Te?`${L.onChunksLoaded}.j = ${P.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded"])}}k.exports=ModuleChunkLoadingRuntimeModule},1811:function(k){"use strict";const formatPosition=k=>{if(k&&typeof k==="object"){if("line"in k&&"column"in k){return`${k.line}:${k.column}`}else if("line"in k){return`${k.line}:?`}}return""};const formatLocation=k=>{if(k&&typeof k==="object"){if("start"in k&&k.start&&"end"in k&&k.end){if(typeof k.start==="object"&&typeof k.start.line==="number"&&typeof k.end==="object"&&typeof k.end.line==="number"&&typeof k.end.column==="number"&&k.start.line===k.end.line){return`${formatPosition(k.start)}-${k.end.column}`}else if(typeof k.start==="object"&&typeof k.start.line==="number"&&typeof k.start.column!=="number"&&typeof k.end==="object"&&typeof k.end.line==="number"&&typeof k.end.column!=="number"){return`${k.start.line}-${k.end.line}`}else{return`${formatPosition(k.start)}-${formatPosition(k.end)}`}}if("start"in k&&k.start){return formatPosition(k.start)}if("name"in k&&"index"in k){return`${k.name}[${k.index}]`}if("name"in k){return k.name}}return""};k.exports=formatLocation},55223:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class HotModuleReplacementRuntimeModule extends R{constructor(){super("hot module replacement",R.STAGE_BASIC)}generate(){return L.getFunctionContent(require("./HotModuleReplacement.runtime.js")).replace(/\$getFullHash\$/g,P.getFullHash).replace(/\$interceptModuleExecution\$/g,P.interceptModuleExecution).replace(/\$moduleCache\$/g,P.moduleCache).replace(/\$hmrModuleData\$/g,P.hmrModuleData).replace(/\$hmrDownloadManifest\$/g,P.hmrDownloadManifest).replace(/\$hmrInvalidateModuleHandlers\$/g,P.hmrInvalidateModuleHandlers).replace(/\$hmrDownloadUpdateHandlers\$/g,P.hmrDownloadUpdateHandlers)}}k.exports=HotModuleReplacementRuntimeModule},93239:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(75081);const L=E(16848);const N=E(88396);const q=E(66043);const{WEBPACK_MODULE_TYPE_LAZY_COMPILATION_PROXY:ae}=E(93622);const le=E(56727);const pe=E(95041);const me=E(41655);const{registerNotSerializable:ye}=E(52456);const _e=new Set(["import.meta.webpackHot.accept","import.meta.webpackHot.decline","module.hot.accept","module.hot.decline"]);const checkTest=(k,v)=>{if(k===undefined)return true;if(typeof k==="function"){return k(v)}if(typeof k==="string"){const E=v.nameForCondition();return E&&E.startsWith(k)}if(k instanceof RegExp){const E=v.nameForCondition();return E&&k.test(E)}return false};const Ie=new Set(["javascript"]);class LazyCompilationDependency extends L{constructor(k){super();this.proxyModule=k}get category(){return"esm"}get type(){return"lazy import()"}getResourceIdentifier(){return this.proxyModule.originalModule.identifier()}}ye(LazyCompilationDependency);class LazyCompilationProxyModule extends N{constructor(k,v,E,P,R,L){super(ae,k,v.layer);this.originalModule=v;this.request=E;this.client=P;this.data=R;this.active=L}identifier(){return`${ae}|${this.originalModule.identifier()}`}readableIdentifier(k){return`${ae} ${this.originalModule.readableIdentifier(k)}`}updateCacheModule(k){super.updateCacheModule(k);const v=k;this.originalModule=v.originalModule;this.request=v.request;this.client=v.client;this.data=v.data;this.active=v.active}libIdent(k){return`${this.originalModule.libIdent(k)}!${ae}`}needBuild(k,v){v(null,!this.buildInfo||this.buildInfo.active!==this.active)}build(k,v,E,P,L){this.buildInfo={active:this.active};this.buildMeta={};this.clearDependenciesAndBlocks();const N=new me(this.client);this.addDependency(N);if(this.active){const k=new LazyCompilationDependency(this);const v=new R({});v.addDependency(k);this.addBlock(v)}L()}getSourceTypes(){return Ie}size(k){return 200}codeGeneration({runtimeTemplate:k,chunkGraph:v,moduleGraph:E}){const R=new Map;const L=new Set;L.add(le.module);const N=this.dependencies[0];const q=E.getModule(N);const ae=this.blocks[0];const me=pe.asString([`var client = ${k.moduleExports({module:q,chunkGraph:v,request:N.userRequest,runtimeRequirements:L})}`,`var data = ${JSON.stringify(this.data)};`]);const ye=pe.asString([`var dispose = client.keepAlive({ data: data, active: ${JSON.stringify(!!ae)}, module: module, onError: onError });`]);let _e;if(ae){const P=ae.dependencies[0];const R=E.getModule(P);_e=pe.asString([me,`module.exports = ${k.moduleNamespacePromise({chunkGraph:v,block:ae,module:R,request:this.request,strict:false,message:"import()",runtimeRequirements:L})};`,"if (module.hot) {",pe.indent(["module.hot.accept();",`module.hot.accept(${JSON.stringify(v.getModuleId(R))}, function() { module.hot.invalidate(); });`,"module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);"]),"}","function onError() { /* ignore */ }",ye])}else{_e=pe.asString([me,"var resolveSelf, onError;",`module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`,"if (module.hot) {",pe.indent(["module.hot.accept();","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);","module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });"]),"}",ye])}R.set("javascript",new P(_e));return{sources:R,runtimeRequirements:L}}updateHash(k,v){super.updateHash(k,v);k.update(this.active?"active":"");k.update(JSON.stringify(this.data))}}ye(LazyCompilationProxyModule);class LazyCompilationDependencyFactory extends q{constructor(k){super();this._factory=k}create(k,v){const E=k.dependencies[0];v(null,{module:E.proxyModule.originalModule})}}class LazyCompilationPlugin{constructor({backend:k,entries:v,imports:E,test:P}){this.backend=k;this.entries=v;this.imports=E;this.test=P}apply(k){let v;k.hooks.beforeCompile.tapAsync("LazyCompilationPlugin",((E,P)=>{if(v!==undefined)return P();const R=this.backend(k,((k,E)=>{if(k)return P(k);v=E;P()}));if(R&&R.then){R.then((k=>{v=k;P()}),P)}}));k.hooks.thisCompilation.tap("LazyCompilationPlugin",((E,{normalModuleFactory:P})=>{P.hooks.module.tap("LazyCompilationPlugin",((P,R,L)=>{if(L.dependencies.every((k=>_e.has(k.type)))){const k=L.dependencies[0];const v=E.moduleGraph.getParentModule(k);const P=v.blocks.some((v=>v.dependencies.some((v=>v.type==="import()"&&v.request===k.request))));if(!P)return}else if(!L.dependencies.every((k=>_e.has(k.type)||this.imports&&(k.type==="import()"||k.type==="import() context element")||this.entries&&k.type==="entry")))return;if(/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client|webpack-hot-middleware[/\\]client/.test(L.request)||!checkTest(this.test,P))return;const N=v.module(P);if(!N)return;const{client:q,data:ae,active:le}=N;return new LazyCompilationProxyModule(k.context,P,L.request,q,ae,le)}));E.dependencyFactories.set(LazyCompilationDependency,new LazyCompilationDependencyFactory)}));k.hooks.shutdown.tapAsync("LazyCompilationPlugin",(k=>{v.dispose(k)}))}}k.exports=LazyCompilationPlugin},75218:function(k,v,E){"use strict";k.exports=k=>(v,P)=>{const R=v.getInfrastructureLogger("LazyCompilationBackend");const L=new Map;const N="/lazy-compilation-using-";const q=k.protocol==="https"||typeof k.server==="object"&&("key"in k.server||"pfx"in k.server);const ae=typeof k.server==="function"?k.server:(()=>{const v=q?E(95687):E(13685);return v.createServer.bind(v,k.server)})();const le=typeof k.listen==="function"?k.listen:v=>{let E=k.listen;if(typeof E==="object"&&!("port"in E))E={...E,port:undefined};v.listen(E)};const pe=k.protocol||(q?"https":"http");const requestListener=(k,E)=>{const P=k.url.slice(N.length).split("@");k.socket.on("close",(()=>{setTimeout((()=>{for(const k of P){const v=L.get(k)||0;L.set(k,v-1);if(v===1){R.log(`${k} is no longer in use. Next compilation will skip this module.`)}}}),12e4)}));k.socket.setNoDelay(true);E.writeHead(200,{"content-type":"text/event-stream","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"*"});E.write("\n");let q=false;for(const k of P){const v=L.get(k)||0;L.set(k,v+1);if(v===0){R.log(`${k} is now in use and will be compiled.`);q=true}}if(q&&v.watching)v.watching.invalidate()};const me=ae();me.on("request",requestListener);let ye=false;const _e=new Set;me.on("connection",(k=>{_e.add(k);k.on("close",(()=>{_e.delete(k)}));if(ye)k.destroy()}));me.on("clientError",(k=>{if(k.message!=="Server is disposing")R.warn(k)}));me.on("listening",(v=>{if(v)return P(v);const E=me.address();if(typeof E==="string")throw new Error("addr must not be a string");const q=E.address==="::"||E.address==="0.0.0.0"?`${pe}://localhost:${E.port}`:E.family==="IPv6"?`${pe}://[${E.address}]:${E.port}`:`${pe}://${E.address}:${E.port}`;R.log(`Server-Sent-Events server for lazy compilation open at ${q}.`);P(null,{dispose(k){ye=true;me.off("request",requestListener);me.close((v=>{k(v)}));for(const k of _e){k.destroy(new Error("Server is disposing"))}},module(v){const E=`${encodeURIComponent(v.identifier().replace(/\\/g,"/").replace(/@/g,"_")).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g,decodeURIComponent)}`;const P=L.get(E)>0;return{client:`${k.client}?${encodeURIComponent(q+N)}`,data:E,active:P}}})}));le(me)}},1904:function(k,v,E){"use strict";const{find:P}=E(59959);const{compareModulesByPreOrderIndexOrIdentifier:R,compareModulesByPostOrderIndexOrIdentifier:L}=E(95648);class ChunkModuleIdRangePlugin{constructor(k){this.options=k}apply(k){const v=this.options;k.hooks.compilation.tap("ChunkModuleIdRangePlugin",(k=>{const E=k.moduleGraph;k.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",(N=>{const q=k.chunkGraph;const ae=P(k.chunks,(k=>k.name===v.name));if(!ae){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${v.name}"' was not found`)}let le;if(v.order){let k;switch(v.order){case"index":case"preOrderIndex":k=R(E);break;case"index2":case"postOrderIndex":k=L(E);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}le=q.getOrderedChunkModules(ae,k)}else{le=Array.from(N).filter((k=>q.isModuleInChunk(k,ae))).sort(R(E))}let pe=v.start||0;for(let k=0;kv.end)break}}))}))}}k.exports=ChunkModuleIdRangePlugin},89002:function(k,v,E){"use strict";const{compareChunksNatural:P}=E(95648);const{getFullChunkName:R,getUsedChunkIds:L,assignDeterministicIds:N}=E(88667);class DeterministicChunkIdsPlugin{constructor(k={}){this.options=k}apply(k){k.hooks.compilation.tap("DeterministicChunkIdsPlugin",(v=>{v.hooks.chunkIds.tap("DeterministicChunkIdsPlugin",(E=>{const q=v.chunkGraph;const ae=this.options.context?this.options.context:k.context;const le=this.options.maxLength||3;const pe=P(q);const me=L(v);N(Array.from(E).filter((k=>k.id===null)),(v=>R(v,q,ae,k.root)),pe,((k,v)=>{const E=me.size;me.add(`${v}`);if(E===me.size)return false;k.id=v;k.ids=[v];return true}),[Math.pow(10,le)],10,me.size)}))}))}}k.exports=DeterministicChunkIdsPlugin},40288:function(k,v,E){"use strict";const{compareModulesByPreOrderIndexOrIdentifier:P}=E(95648);const{getUsedModuleIdsAndModules:R,getFullModuleName:L,assignDeterministicIds:N}=E(88667);class DeterministicModuleIdsPlugin{constructor(k={}){this.options=k}apply(k){k.hooks.compilation.tap("DeterministicModuleIdsPlugin",(v=>{v.hooks.moduleIds.tap("DeterministicModuleIdsPlugin",(()=>{const E=v.chunkGraph;const q=this.options.context?this.options.context:k.context;const ae=this.options.maxLength||3;const le=this.options.failOnConflict||false;const pe=this.options.fixedLength||false;const me=this.options.salt||0;let ye=0;const[_e,Ie]=R(v,this.options.test);N(Ie,(v=>L(v,q,k.root)),le?()=>0:P(v.moduleGraph),((k,v)=>{const P=_e.size;_e.add(`${v}`);if(P===_e.size){ye++;return false}E.setModuleId(k,v);return true}),[Math.pow(10,ae)],pe?0:10,_e.size,me);if(le&&ye)throw new Error(`Assigning deterministic module ids has lead to ${ye} conflict${ye>1?"s":""}.\nIncrease the 'maxLength' to increase the id space and make conflicts less likely (recommended when there are many conflicts or application is expected to grow), or add an 'salt' number to try another hash starting value in the same id space (recommended when there is only a single conflict).`)}))}))}}k.exports=DeterministicModuleIdsPlugin},81973:function(k,v,E){"use strict";const{compareModulesByPreOrderIndexOrIdentifier:P}=E(95648);const R=E(92198);const L=E(74012);const{getUsedModuleIdsAndModules:N,getFullModuleName:q}=E(88667);const ae=R(E(9543),(()=>E(23884)),{name:"Hashed Module Ids Plugin",baseDataPath:"options"});class HashedModuleIdsPlugin{constructor(k={}){ae(k);this.options={context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4,...k}}apply(k){const v=this.options;k.hooks.compilation.tap("HashedModuleIdsPlugin",(E=>{E.hooks.moduleIds.tap("HashedModuleIdsPlugin",(()=>{const R=E.chunkGraph;const ae=this.options.context?this.options.context:k.context;const[le,pe]=N(E);const me=pe.sort(P(E.moduleGraph));for(const E of me){const P=q(E,ae,k.root);const N=L(v.hashFunction);N.update(P||"");const pe=N.digest(v.hashDigest);let me=v.hashDigestLength;while(le.has(pe.slice(0,me)))me++;const ye=pe.slice(0,me);R.setModuleId(E,ye);le.add(ye)}}))}))}}k.exports=HashedModuleIdsPlugin},88667:function(k,v,E){"use strict";const P=E(74012);const{makePathsRelative:R}=E(65315);const L=E(30747);const getHash=(k,v,E)=>{const R=P(E);R.update(k);const L=R.digest("hex");return L.slice(0,v)};const avoidNumber=k=>{if(k.length>21)return k;const v=k.charCodeAt(0);if(v<49){if(v!==45)return k}else if(v>57){return k}if(k===+k+""){return`_${k}`}return k};const requestToId=k=>k.replace(/^(\.\.?\/)+/,"").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_");v.requestToId=requestToId;const shortenLongString=(k,v,E)=>{if(k.length<100)return k;return k.slice(0,100-6-v.length)+v+getHash(k,6,E)};const getShortModuleName=(k,v,E)=>{const P=k.libIdent({context:v,associatedObjectForCache:E});if(P)return avoidNumber(P);const L=k.nameForCondition();if(L)return avoidNumber(R(v,L,E));return""};v.getShortModuleName=getShortModuleName;const getLongModuleName=(k,v,E,P,R)=>{const L=getFullModuleName(v,E,R);return`${k}?${getHash(L,4,P)}`};v.getLongModuleName=getLongModuleName;const getFullModuleName=(k,v,E)=>R(v,k.identifier(),E);v.getFullModuleName=getFullModuleName;const getShortChunkName=(k,v,E,P,R,L)=>{const N=v.getChunkRootModules(k);const q=N.map((k=>requestToId(getShortModuleName(k,E,L))));k.idNameHints.sort();const ae=Array.from(k.idNameHints).concat(q).filter(Boolean).join(P);return shortenLongString(ae,P,R)};v.getShortChunkName=getShortChunkName;const getLongChunkName=(k,v,E,P,R,L)=>{const N=v.getChunkRootModules(k);const q=N.map((k=>requestToId(getShortModuleName(k,E,L))));const ae=N.map((k=>requestToId(getLongModuleName("",k,E,R,L))));k.idNameHints.sort();const le=Array.from(k.idNameHints).concat(q,ae).filter(Boolean).join(P);return shortenLongString(le,P,R)};v.getLongChunkName=getLongChunkName;const getFullChunkName=(k,v,E,P)=>{if(k.name)return k.name;const L=v.getChunkRootModules(k);const N=L.map((k=>R(E,k.identifier(),P)));return N.join()};v.getFullChunkName=getFullChunkName;const addToMapOfItems=(k,v,E)=>{let P=k.get(v);if(P===undefined){P=[];k.set(v,P)}P.push(E)};const getUsedModuleIdsAndModules=(k,v)=>{const E=k.chunkGraph;const P=[];const R=new Set;if(k.usedModuleIds){for(const v of k.usedModuleIds){R.add(v+"")}}for(const L of k.modules){if(!L.needId)continue;const k=E.getModuleId(L);if(k!==null){R.add(k+"")}else{if((!v||v(L))&&E.getNumberOfModuleChunks(L)!==0){P.push(L)}}}return[R,P]};v.getUsedModuleIdsAndModules=getUsedModuleIdsAndModules;const getUsedChunkIds=k=>{const v=new Set;if(k.usedChunkIds){for(const E of k.usedChunkIds){v.add(E+"")}}for(const E of k.chunks){const k=E.id;if(k!==null){v.add(k+"")}}return v};v.getUsedChunkIds=getUsedChunkIds;const assignNames=(k,v,E,P,R,L)=>{const N=new Map;for(const E of k){const k=v(E);addToMapOfItems(N,k,E)}const q=new Map;for(const[k,v]of N){if(v.length>1||!k){for(const P of v){const v=E(P,k);addToMapOfItems(q,v,P)}}else{addToMapOfItems(q,k,v[0])}}const ae=[];for(const[k,v]of q){if(!k){for(const k of v){ae.push(k)}}else if(v.length===1&&!R.has(k)){L(v[0],k);R.add(k)}else{v.sort(P);let E=0;for(const P of v){while(q.has(k+E)&&R.has(k+E))E++;L(P,k+E);R.add(k+E);E++}}}ae.sort(P);return ae};v.assignNames=assignNames;const assignDeterministicIds=(k,v,E,P,R=[10],N=10,q=0,ae=0)=>{k.sort(E);const le=Math.min(k.length*20+q,Number.MAX_SAFE_INTEGER);let pe=0;let me=R[pe];while(me{const P=E.chunkGraph;let R=0;let L;if(k.size>0){L=v=>{if(P.getModuleId(v)===null){while(k.has(R+""))R++;P.setModuleId(v,R++)}}}else{L=k=>{if(P.getModuleId(k)===null){P.setModuleId(k,R++)}}}for(const k of v){L(k)}};v.assignAscendingModuleIds=assignAscendingModuleIds;const assignAscendingChunkIds=(k,v)=>{const E=getUsedChunkIds(v);let P=0;if(E.size>0){for(const v of k){if(v.id===null){while(E.has(P+""))P++;v.id=P;v.ids=[P];P++}}}else{for(const v of k){if(v.id===null){v.id=P;v.ids=[P];P++}}}};v.assignAscendingChunkIds=assignAscendingChunkIds},38372:function(k,v,E){"use strict";const{compareChunksNatural:P}=E(95648);const{getShortChunkName:R,getLongChunkName:L,assignNames:N,getUsedChunkIds:q,assignAscendingChunkIds:ae}=E(88667);class NamedChunkIdsPlugin{constructor(k){this.delimiter=k&&k.delimiter||"-";this.context=k&&k.context}apply(k){k.hooks.compilation.tap("NamedChunkIdsPlugin",(v=>{const E=v.outputOptions.hashFunction;v.hooks.chunkIds.tap("NamedChunkIdsPlugin",(le=>{const pe=v.chunkGraph;const me=this.context?this.context:k.context;const ye=this.delimiter;const _e=N(Array.from(le).filter((k=>{if(k.name){k.id=k.name;k.ids=[k.name]}return k.id===null})),(v=>R(v,pe,me,ye,E,k.root)),(v=>L(v,pe,me,ye,E,k.root)),P(pe),q(v),((k,v)=>{k.id=v;k.ids=[v]}));if(_e.length>0){ae(_e,v)}}))}))}}k.exports=NamedChunkIdsPlugin},64908:function(k,v,E){"use strict";const{compareModulesByIdentifier:P}=E(95648);const{getShortModuleName:R,getLongModuleName:L,assignNames:N,getUsedModuleIdsAndModules:q,assignAscendingModuleIds:ae}=E(88667);class NamedModuleIdsPlugin{constructor(k={}){this.options=k}apply(k){const{root:v}=k;k.hooks.compilation.tap("NamedModuleIdsPlugin",(E=>{const le=E.outputOptions.hashFunction;E.hooks.moduleIds.tap("NamedModuleIdsPlugin",(()=>{const pe=E.chunkGraph;const me=this.options.context?this.options.context:k.context;const[ye,_e]=q(E);const Ie=N(_e,(k=>R(k,me,v)),((k,E)=>L(E,k,me,le,v)),P,ye,((k,v)=>pe.setModuleId(k,v)));if(Ie.length>0){ae(ye,Ie,E)}}))}))}}k.exports=NamedModuleIdsPlugin},76914:function(k,v,E){"use strict";const{compareChunksNatural:P}=E(95648);const{assignAscendingChunkIds:R}=E(88667);class NaturalChunkIdsPlugin{apply(k){k.hooks.compilation.tap("NaturalChunkIdsPlugin",(k=>{k.hooks.chunkIds.tap("NaturalChunkIdsPlugin",(v=>{const E=k.chunkGraph;const L=P(E);const N=Array.from(v).sort(L);R(N,k)}))}))}}k.exports=NaturalChunkIdsPlugin},98122:function(k,v,E){"use strict";const{compareModulesByPreOrderIndexOrIdentifier:P}=E(95648);const{assignAscendingModuleIds:R,getUsedModuleIdsAndModules:L}=E(88667);class NaturalModuleIdsPlugin{apply(k){k.hooks.compilation.tap("NaturalModuleIdsPlugin",(k=>{k.hooks.moduleIds.tap("NaturalModuleIdsPlugin",(v=>{const[E,N]=L(k);N.sort(P(k.moduleGraph));R(E,N,k)}))}))}}k.exports=NaturalModuleIdsPlugin},12976:function(k,v,E){"use strict";const{compareChunksNatural:P}=E(95648);const R=E(92198);const{assignAscendingChunkIds:L}=E(88667);const N=R(E(59169),(()=>E(41565)),{name:"Occurrence Order Chunk Ids Plugin",baseDataPath:"options"});class OccurrenceChunkIdsPlugin{constructor(k={}){N(k);this.options=k}apply(k){const v=this.options.prioritiseInitial;k.hooks.compilation.tap("OccurrenceChunkIdsPlugin",(k=>{k.hooks.chunkIds.tap("OccurrenceChunkIdsPlugin",(E=>{const R=k.chunkGraph;const N=new Map;const q=P(R);for(const k of E){let v=0;for(const E of k.groupsIterable){for(const k of E.parentsIterable){if(k.isInitial())v++}}N.set(k,v)}const ae=Array.from(E).sort(((k,E)=>{if(v){const v=N.get(k);const P=N.get(E);if(v>P)return-1;if(vR)return-1;if(PE(71967)),{name:"Occurrence Order Module Ids Plugin",baseDataPath:"options"});class OccurrenceModuleIdsPlugin{constructor(k={}){q(k);this.options=k}apply(k){const v=this.options.prioritiseInitial;k.hooks.compilation.tap("OccurrenceModuleIdsPlugin",(k=>{const E=k.moduleGraph;k.hooks.moduleIds.tap("OccurrenceModuleIdsPlugin",(()=>{const R=k.chunkGraph;const[q,ae]=N(k);const le=new Map;const pe=new Map;const me=new Map;const ye=new Map;for(const k of ae){let v=0;let E=0;for(const P of R.getModuleChunksIterable(k)){if(P.canBeInitial())v++;if(R.isEntryModuleInChunk(k,P))E++}me.set(k,v);ye.set(k,E)}const countOccursInEntry=k=>{let v=0;for(const[P,R]of E.getIncomingConnectionsByOriginModule(k)){if(!P)continue;if(!R.some((k=>k.isTargetActive(undefined))))continue;v+=me.get(P)||0}return v};const countOccurs=k=>{let v=0;for(const[P,L]of E.getIncomingConnectionsByOriginModule(k)){if(!P)continue;const k=R.getNumberOfModuleChunks(P);for(const E of L){if(!E.isTargetActive(undefined))continue;if(!E.dependency)continue;const P=E.dependency.getNumberOfIdOccurrences();if(P===0)continue;v+=P*k}}return v};if(v){for(const k of ae){const v=countOccursInEntry(k)+me.get(k)+ye.get(k);le.set(k,v)}}for(const k of ae){const v=countOccurs(k)+R.getNumberOfModuleChunks(k)+ye.get(k);pe.set(k,v)}const _e=P(k.moduleGraph);ae.sort(((k,E)=>{if(v){const v=le.get(k);const P=le.get(E);if(v>P)return-1;if(vR)return-1;if(Ptrue);const R=!P||P==="merge"||P==="update";this._read=R||P==="read";this._write=R||P==="create";this._prune=P==="update"}apply(k){let v;let E=false;if(this._read){k.hooks.readRecords.tapAsync(L,(P=>{const R=k.intermediateFileSystem;R.readFile(this._path,((k,R)=>{if(k){if(k.code!=="ENOENT"){return P(k)}return P()}const L=JSON.parse(R.toString());v=new Map;for(const k of Object.keys(L)){v.set(k,L[k])}E=false;return P()}))}))}if(this._write){k.hooks.emitRecords.tapAsync(L,(P=>{if(!v||!E)return P();const R={};const L=Array.from(v).sort((([k],[v])=>k{const q=k.root;const ae=this._context||k.context;if(this._read){N.hooks.reviveModules.tap(L,((k,E)=>{if(!v)return;const{chunkGraph:L}=N;const[le,pe]=R(N,this._test);for(const k of pe){const E=k.libIdent({context:ae,associatedObjectForCache:q});if(!E)continue;const R=v.get(E);const pe=`${R}`;if(le.has(pe)){const v=new P(`SyncModuleIdsPlugin: Unable to restore id '${R}' from '${this._path}' as it's already used.`);v.module=k;N.errors.push(v)}L.setModuleId(k,R);le.add(pe)}}))}if(this._write){N.hooks.recordModules.tap(L,(k=>{const{chunkGraph:P}=N;let R=v;if(!R){R=v=new Map}else if(this._prune){v=new Map}for(const L of k){if(this._test(L)){const k=L.libIdent({context:ae,associatedObjectForCache:q});if(!k)continue;const N=P.getModuleId(L);if(N===null)continue;const le=R.get(k);if(le!==N){E=true}else if(v===R){continue}v.set(k,N)}}if(v.size!==R.size)E=true}))}}))}}k.exports=SyncModuleIdsPlugin},94308:function(k,v,E){"use strict";const P=E(73837);const R=E(20631);const lazyFunction=k=>{const v=R(k);const f=(...k)=>v()(...k);return f};const mergeExports=(k,v)=>{const E=Object.getOwnPropertyDescriptors(v);for(const v of Object.keys(E)){const P=E[v];if(P.get){const E=P.get;Object.defineProperty(k,v,{configurable:false,enumerable:true,get:R(E)})}else if(typeof P.value==="object"){Object.defineProperty(k,v,{configurable:false,enumerable:true,writable:false,value:mergeExports({},P.value)})}else{throw new Error("Exposed values must be either a getter or an nested object")}}return Object.freeze(k)};const L=lazyFunction((()=>E(10463)));k.exports=mergeExports(L,{get webpack(){return E(10463)},get validate(){const k=E(38537);const v=R((()=>{const k=E(11458);const v=E(98625);return E=>k(v,E)}));return E=>{if(!k(E))v()(E)}},get validateSchema(){const k=E(11458);return k},get version(){return E(35479).i8},get cli(){return E(20069)},get AutomaticPrefetchPlugin(){return E(75250)},get AsyncDependenciesBlock(){return E(75081)},get BannerPlugin(){return E(13991)},get Cache(){return E(89802)},get Chunk(){return E(8247)},get ChunkGraph(){return E(38317)},get CleanPlugin(){return E(69155)},get Compilation(){return E(27747)},get Compiler(){return E(2170)},get ConcatenationScope(){return E(91213)},get ContextExclusionPlugin(){return E(41454)},get ContextReplacementPlugin(){return E(98047)},get DefinePlugin(){return E(91602)},get DelegatedPlugin(){return E(27064)},get Dependency(){return E(16848)},get DllPlugin(){return E(97765)},get DllReferencePlugin(){return E(95619)},get DynamicEntryPlugin(){return E(54602)},get EntryOptionPlugin(){return E(26591)},get EntryPlugin(){return E(17570)},get EnvironmentPlugin(){return E(32149)},get EvalDevToolModulePlugin(){return E(87543)},get EvalSourceMapDevToolPlugin(){return E(21234)},get ExternalModule(){return E(10849)},get ExternalsPlugin(){return E(53757)},get Generator(){return E(91597)},get HotUpdateChunk(){return E(95733)},get HotModuleReplacementPlugin(){return E(29898)},get IgnorePlugin(){return E(69200)},get JavascriptModulesPlugin(){return P.deprecate((()=>E(89168)),"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin","DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN")()},get LibManifestPlugin(){return E(98060)},get LibraryTemplatePlugin(){return P.deprecate((()=>E(9021)),"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 E(69056)},get LoaderTargetPlugin(){return E(49429)},get Module(){return E(88396)},get ModuleFilenameHelpers(){return E(98612)},get ModuleGraph(){return E(88223)},get ModuleGraphConnection(){return E(86267)},get NoEmitOnErrorsPlugin(){return E(75018)},get NormalModule(){return E(38224)},get NormalModuleReplacementPlugin(){return E(35548)},get MultiCompiler(){return E(47575)},get Parser(){return E(17381)},get PrefetchPlugin(){return E(93380)},get ProgressPlugin(){return E(6535)},get ProvidePlugin(){return E(73238)},get RuntimeGlobals(){return E(56727)},get RuntimeModule(){return E(27462)},get SingleEntryPlugin(){return P.deprecate((()=>E(17570)),"SingleEntryPlugin was renamed to EntryPlugin","DEP_WEBPACK_SINGLE_ENTRY_PLUGIN")()},get SourceMapDevToolPlugin(){return E(83814)},get Stats(){return E(26288)},get Template(){return E(95041)},get UsageState(){return E(11172).UsageState},get WatchIgnorePlugin(){return E(38849)},get WebpackError(){return E(71572)},get WebpackOptionsApply(){return E(27826)},get WebpackOptionsDefaulter(){return P.deprecate((()=>E(21247)),"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults","DEP_WEBPACK_OPTIONS_DEFAULTER")()},get WebpackOptionsValidationError(){return E(38476).ValidationError},get ValidationError(){return E(38476).ValidationError},cache:{get MemoryCachePlugin(){return E(66494)}},config:{get getNormalizedWebpackOptions(){return E(47339).getNormalizedWebpackOptions},get applyWebpackOptionsDefaults(){return E(25801).applyWebpackOptionsDefaults}},dependencies:{get ModuleDependency(){return E(77373)},get HarmonyImportDependency(){return E(69184)},get ConstDependency(){return E(60381)},get NullDependency(){return E(53139)}},ids:{get ChunkModuleIdRangePlugin(){return E(1904)},get NaturalModuleIdsPlugin(){return E(98122)},get OccurrenceModuleIdsPlugin(){return E(40654)},get NamedModuleIdsPlugin(){return E(64908)},get DeterministicChunkIdsPlugin(){return E(89002)},get DeterministicModuleIdsPlugin(){return E(40288)},get NamedChunkIdsPlugin(){return E(38372)},get OccurrenceChunkIdsPlugin(){return E(12976)},get HashedModuleIdsPlugin(){return E(81973)}},javascript:{get EnableChunkLoadingPlugin(){return E(73126)},get JavascriptModulesPlugin(){return E(89168)},get JavascriptParser(){return E(81532)}},optimize:{get AggressiveMergingPlugin(){return E(3952)},get AggressiveSplittingPlugin(){return P.deprecate((()=>E(21684)),"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin","DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN")()},get InnerGraph(){return E(88926)},get LimitChunkCountPlugin(){return E(17452)},get MinChunkSizePlugin(){return E(25971)},get ModuleConcatenationPlugin(){return E(30899)},get RealContentHashPlugin(){return E(71183)},get RuntimeChunkPlugin(){return E(89921)},get SideEffectsFlagPlugin(){return E(57214)},get SplitChunksPlugin(){return E(30829)}},runtime:{get GetChunkFilenameRuntimeModule(){return E(10582)},get LoadScriptRuntimeModule(){return E(42159)}},prefetch:{get ChunkPrefetchPreloadPlugin(){return E(37247)}},web:{get FetchCompileAsyncWasmPlugin(){return E(52576)},get FetchCompileWasmPlugin(){return E(99900)},get JsonpChunkLoadingRuntimeModule(){return E(97810)},get JsonpTemplatePlugin(){return E(68511)}},webworker:{get WebWorkerTemplatePlugin(){return E(20514)}},node:{get NodeEnvironmentPlugin(){return E(74983)},get NodeSourcePlugin(){return E(44513)},get NodeTargetPlugin(){return E(56976)},get NodeTemplatePlugin(){return E(74578)},get ReadFileCompileWasmPlugin(){return E(63506)}},electron:{get ElectronTargetPlugin(){return E(27558)}},wasm:{get AsyncWebAssemblyModulesPlugin(){return E(70006)},get EnableWasmLoadingPlugin(){return E(50792)}},library:{get AbstractLibraryPlugin(){return E(15893)},get EnableLibraryPlugin(){return E(60234)}},container:{get ContainerPlugin(){return E(59826)},get ContainerReferencePlugin(){return E(10223)},get ModuleFederationPlugin(){return E(71863)},get scope(){return E(34869).scope}},sharing:{get ConsumeSharedPlugin(){return E(73485)},get ProvideSharedPlugin(){return E(70610)},get SharePlugin(){return E(38084)},get scope(){return E(34869).scope}},debug:{get ProfilingPlugin(){return E(85865)}},util:{get createHash(){return E(74012)},get comparators(){return E(95648)},get runtime(){return E(1540)},get serialization(){return E(52456)},get cleverMerge(){return E(99454).cachedCleverMerge},get LazySet(){return E(12359)}},get sources(){return E(51255)},experiments:{schemes:{get HttpUriPlugin(){return E(73500)}},ids:{get SyncModuleIdsPlugin(){return E(84441)}}}})},39799:function(k,v,E){"use strict";const{ConcatSource:P,PrefixSource:R,RawSource:L}=E(51255);const{RuntimeGlobals:N}=E(94308);const q=E(95733);const ae=E(95041);const{getCompilationHooks:le}=E(89168);const{generateEntryStartup:pe,updateHashForEntryStartup:me}=E(73777);class ArrayPushCallbackChunkFormatPlugin{apply(k){k.hooks.thisCompilation.tap("ArrayPushCallbackChunkFormatPlugin",(k=>{k.hooks.additionalChunkRuntimeRequirements.tap("ArrayPushCallbackChunkFormatPlugin",((k,v,{chunkGraph:E})=>{if(k.hasRuntime())return;if(E.getNumberOfEntryModules(k)>0){v.add(N.onChunksLoaded);v.add(N.require)}v.add(N.chunkCallback)}));const v=le(k);v.renderChunk.tap("ArrayPushCallbackChunkFormatPlugin",((E,le)=>{const{chunk:me,chunkGraph:ye,runtimeTemplate:_e}=le;const Ie=me instanceof q?me:null;const Me=_e.globalObject;const Te=new P;const je=ye.getChunkRuntimeModulesInOrder(me);if(Ie){const k=_e.outputOptions.hotUpdateGlobal;Te.add(`${Me}[${JSON.stringify(k)}](`);Te.add(`${JSON.stringify(me.id)},`);Te.add(E);if(je.length>0){Te.add(",\n");const k=ae.renderChunkRuntimeModules(je,le);Te.add(k)}Te.add(")")}else{const q=_e.outputOptions.chunkLoadingGlobal;Te.add(`(${Me}[${JSON.stringify(q)}] = ${Me}[${JSON.stringify(q)}] || []).push([`);Te.add(`${JSON.stringify(me.ids)},`);Te.add(E);const Ie=Array.from(ye.getChunkEntryModulesWithChunkGroupIterable(me));if(je.length>0||Ie.length>0){const E=new P((_e.supportsArrowFunction()?`${N.require} =>`:`function(${N.require})`)+" { // webpackRuntimeModules\n");if(je.length>0){E.add(ae.renderRuntimeModules(je,{...le,codeGenerationResults:k.codeGenerationResults}))}if(Ie.length>0){const k=new L(pe(ye,_e,Ie,me,true));E.add(v.renderStartup.call(k,Ie[Ie.length-1][0],{...le,inlined:false}));if(ye.getChunkRuntimeRequirements(me).has(N.returnExportsFromRuntime)){E.add(`return ${N.exports};\n`)}}E.add("}\n");Te.add(",\n");Te.add(new R("/******/ ",E))}Te.add("])")}return Te}));v.chunkHash.tap("ArrayPushCallbackChunkFormatPlugin",((k,v,{chunkGraph:E,runtimeTemplate:P})=>{if(k.hasRuntime())return;v.update(`ArrayPushCallbackChunkFormatPlugin1${P.outputOptions.chunkLoadingGlobal}${P.outputOptions.hotUpdateGlobal}${P.globalObject}`);const R=Array.from(E.getChunkEntryModulesWithChunkGroupIterable(k));me(v,E,R,k)}))}))}}k.exports=ArrayPushCallbackChunkFormatPlugin},70037:function(k){"use strict";const v=0;const E=1;const P=2;const R=3;const L=4;const N=5;const q=6;const ae=7;const le=8;const pe=9;const me=10;const ye=11;const _e=12;const Ie=13;class BasicEvaluatedExpression{constructor(){this.type=v;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.getMembersOptionals=undefined;this.getMemberRanges=undefined;this.expression=undefined}isUnknown(){return this.type===v}isNull(){return this.type===P}isUndefined(){return this.type===E}isString(){return this.type===R}isNumber(){return this.type===L}isBigInt(){return this.type===Ie}isBoolean(){return this.type===N}isRegExp(){return this.type===q}isConditional(){return this.type===ae}isArray(){return this.type===le}isConstArray(){return this.type===pe}isIdentifier(){return this.type===me}isWrapped(){return this.type===ye}isTemplateString(){return this.type===_e}isPrimitiveType(){switch(this.type){case E:case P:case R:case L:case N:case Ie:case ye:case _e:return true;case q:case le:case pe:return false;default:return undefined}}isCompileTimeValue(){switch(this.type){case E:case P:case R:case L:case N:case q:case pe:case Ie:return true;default:return false}}asCompileTimeValue(){switch(this.type){case E:return undefined;case P:return null;case R:return this.string;case L:return this.number;case N:return this.bool;case q:return this.regExp;case pe:return this.array;case Ie: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 k=this.asString();if(typeof k==="string")return k!==""}return undefined}asNullish(){const k=this.isNullish();if(k===true||this.isNull()||this.isUndefined())return true;if(k===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 k=[];for(const v of this.items){const E=v.asString();if(E===undefined)return undefined;k.push(E)}return`${k}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let k="";for(const v of this.parts){const E=v.asString();if(E===undefined)return undefined;k+=E}return k}return undefined}setString(k){this.type=R;this.string=k;this.sideEffects=false;return this}setUndefined(){this.type=E;this.sideEffects=false;return this}setNull(){this.type=P;this.sideEffects=false;return this}setNumber(k){this.type=L;this.number=k;this.sideEffects=false;return this}setBigInt(k){this.type=Ie;this.bigint=k;this.sideEffects=false;return this}setBoolean(k){this.type=N;this.bool=k;this.sideEffects=false;return this}setRegExp(k){this.type=q;this.regExp=k;this.sideEffects=false;return this}setIdentifier(k,v,E,P,R){this.type=me;this.identifier=k;this.rootInfo=v;this.getMembers=E;this.getMembersOptionals=P;this.getMemberRanges=R;this.sideEffects=true;return this}setWrapped(k,v,E){this.type=ye;this.prefix=k;this.postfix=v;this.wrappedInnerExpressions=E;this.sideEffects=true;return this}setOptions(k){this.type=ae;this.options=k;this.sideEffects=true;return this}addOptions(k){if(!this.options){this.type=ae;this.options=[];this.sideEffects=true}for(const v of k){this.options.push(v)}return this}setItems(k){this.type=le;this.items=k;this.sideEffects=k.some((k=>k.couldHaveSideEffects()));return this}setArray(k){this.type=pe;this.array=k;this.sideEffects=false;return this}setTemplateString(k,v,E){this.type=_e;this.quasis=k;this.parts=v;this.templateStringKind=E;this.sideEffects=v.some((k=>k.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(k){this.nullish=k;if(k)return this.setFalsy();return this}setRange(k){this.range=k;return this}setSideEffects(k=true){this.sideEffects=k;return this}setExpression(k){this.expression=k;return this}}BasicEvaluatedExpression.isValidRegExpFlags=k=>{const v=k.length;if(v===0)return true;if(v>4)return false;let E=0;for(let P=0;P{const R=new Set([k]);const L=new Set;for(const k of R){for(const P of k.chunks){if(P===v)continue;if(P===E)continue;L.add(P)}for(const v of k.parentsIterable){if(v instanceof P)R.add(v)}}return L};v.getAllChunks=getAllChunks},45542:function(k,v,E){"use strict";const{ConcatSource:P,RawSource:R}=E(51255);const L=E(56727);const N=E(95041);const{getChunkFilenameTemplate:q,getCompilationHooks:ae}=E(89168);const{generateEntryStartup:le,updateHashForEntryStartup:pe}=E(73777);class CommonJsChunkFormatPlugin{apply(k){k.hooks.thisCompilation.tap("CommonJsChunkFormatPlugin",(k=>{k.hooks.additionalChunkRuntimeRequirements.tap("CommonJsChunkLoadingPlugin",((k,v,{chunkGraph:E})=>{if(k.hasRuntime())return;if(E.getNumberOfEntryModules(k)>0){v.add(L.require);v.add(L.startupEntrypoint);v.add(L.externalInstallChunk)}}));const v=ae(k);v.renderChunk.tap("CommonJsChunkFormatPlugin",((E,ae)=>{const{chunk:pe,chunkGraph:me,runtimeTemplate:ye}=ae;const _e=new P;_e.add(`exports.id = ${JSON.stringify(pe.id)};\n`);_e.add(`exports.ids = ${JSON.stringify(pe.ids)};\n`);_e.add(`exports.modules = `);_e.add(E);_e.add(";\n");const Ie=me.getChunkRuntimeModulesInOrder(pe);if(Ie.length>0){_e.add("exports.runtime =\n");_e.add(N.renderChunkRuntimeModules(Ie,ae))}const Me=Array.from(me.getChunkEntryModulesWithChunkGroupIterable(pe));if(Me.length>0){const E=Me[0][1].getRuntimeChunk();const N=k.getPath(q(pe,k.outputOptions),{chunk:pe,contentHashType:"javascript"}).split("/");const Ie=k.getPath(q(E,k.outputOptions),{chunk:E,contentHashType:"javascript"}).split("/");N.pop();while(N.length>0&&Ie.length>0&&N[0]===Ie[0]){N.shift();Ie.shift()}const Te=(N.length>0?"../".repeat(N.length):"./")+Ie.join("/");const je=new P;je.add(`(${ye.supportsArrowFunction()?"() => ":"function() "}{\n`);je.add("var exports = {};\n");je.add(_e);je.add(";\n\n// load runtime\n");je.add(`var ${L.require} = require(${JSON.stringify(Te)});\n`);je.add(`${L.externalInstallChunk}(exports);\n`);const Ne=new R(le(me,ye,Me,pe,false));je.add(v.renderStartup.call(Ne,Me[Me.length-1][0],{...ae,inlined:false}));je.add("\n})()");return je}return _e}));v.chunkHash.tap("CommonJsChunkFormatPlugin",((k,v,{chunkGraph:E})=>{if(k.hasRuntime())return;v.update("CommonJsChunkFormatPlugin");v.update("1");const P=Array.from(E.getChunkEntryModulesWithChunkGroupIterable(k));pe(v,E,P,k)}))}))}}k.exports=CommonJsChunkFormatPlugin},73126:function(k,v,E){"use strict";const P=new WeakMap;const getEnabledTypes=k=>{let v=P.get(k);if(v===undefined){v=new Set;P.set(k,v)}return v};class EnableChunkLoadingPlugin{constructor(k){this.type=k}static setEnabled(k,v){getEnabledTypes(k).add(v)}static checkEnabled(k,v){if(!getEnabledTypes(k).has(v)){throw new Error(`Chunk loading type "${v}" 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 chunk loading types to "output.enabledChunkLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(k)).join(", "))}}apply(k){const{type:v}=this;const P=getEnabledTypes(k);if(P.has(v))return;P.add(v);if(typeof v==="string"){switch(v){case"jsonp":{const v=E(58746);(new v).apply(k);break}case"import-scripts":{const v=E(9366);(new v).apply(k);break}case"require":{const v=E(16574);new v({asyncChunkLoading:false}).apply(k);break}case"async-node":{const v=E(16574);new v({asyncChunkLoading:true}).apply(k);break}case"import":{const v=E(21879);(new v).apply(k);break}case"universal":throw new Error("Universal Chunk Loading is not implemented yet");default:throw new Error(`Unsupported chunk loading type ${v}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}k.exports=EnableChunkLoadingPlugin},2166:function(k,v,E){"use strict";const P=E(73837);const{RawSource:R,ReplaceSource:L}=E(51255);const N=E(91597);const q=E(88113);const ae=E(2075);const le=P.deprecate(((k,v,E)=>k.getInitFragments(v,E)),"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)","DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS");const pe=new Set(["javascript"]);class JavascriptGenerator extends N{getTypes(k){return pe}getSize(k,v){const E=k.originalSource();if(!E){return 39}return E.size()}getConcatenationBailoutReason(k,v){if(!k.buildMeta||k.buildMeta.exportsType!=="namespace"||k.presentationalDependencies===undefined||!k.presentationalDependencies.some((k=>k instanceof ae))){return"Module is not an ECMAScript module"}if(k.buildInfo&&k.buildInfo.moduleConcatenationBailout){return`Module uses ${k.buildInfo.moduleConcatenationBailout}`}}generate(k,v){const E=k.originalSource();if(!E){return new R("throw new Error('No source available');")}const P=new L(E);const N=[];this.sourceModule(k,N,P,v);return q.addToSource(P,N,v)}sourceModule(k,v,E,P){for(const R of k.dependencies){this.sourceDependency(k,R,v,E,P)}if(k.presentationalDependencies!==undefined){for(const R of k.presentationalDependencies){this.sourceDependency(k,R,v,E,P)}}for(const R of k.blocks){this.sourceBlock(k,R,v,E,P)}}sourceBlock(k,v,E,P,R){for(const L of v.dependencies){this.sourceDependency(k,L,E,P,R)}for(const L of v.blocks){this.sourceBlock(k,L,E,P,R)}}sourceDependency(k,v,E,P,R){const L=v.constructor;const N=R.dependencyTemplates.get(L);if(!N){throw new Error("No template for dependency: "+v.constructor.name)}const q={runtimeTemplate:R.runtimeTemplate,dependencyTemplates:R.dependencyTemplates,moduleGraph:R.moduleGraph,chunkGraph:R.chunkGraph,module:k,runtime:R.runtime,runtimeRequirements:R.runtimeRequirements,concatenationScope:R.concatenationScope,codeGenerationResults:R.codeGenerationResults,initFragments:E};N.apply(v,P,q);if("getInitFragments"in N){const k=le(N,v,q);if(k){for(const v of k){E.push(v)}}}}}k.exports=JavascriptGenerator},89168:function(k,v,E){"use strict";const{SyncWaterfallHook:P,SyncHook:R,SyncBailHook:L}=E(79846);const N=E(26144);const{ConcatSource:q,OriginalSource:ae,PrefixSource:le,RawSource:pe,CachedSource:me}=E(51255);const ye=E(27747);const{tryRunOrWebpackError:_e}=E(82104);const Ie=E(95733);const Me=E(88113);const{JAVASCRIPT_MODULE_TYPE_AUTO:Te,JAVASCRIPT_MODULE_TYPE_DYNAMIC:je,JAVASCRIPT_MODULE_TYPE_ESM:Ne,WEBPACK_MODULE_TYPE_RUNTIME:Be}=E(93622);const qe=E(56727);const Ue=E(95041);const{last:Ge,someInIterable:He}=E(54480);const We=E(96181);const{compareModulesByIdentifier:Qe}=E(95648);const Je=E(74012);const Ve=E(64119);const{intersectRuntime:Ke}=E(1540);const Ye=E(2166);const Xe=E(81532);const chunkHasJs=(k,v)=>{if(v.getNumberOfEntryModules(k)>0)return true;return v.getChunkModulesIterableBySourceType(k,"javascript")?true:false};const printGeneratedCodeForStack=(k,v)=>{const E=v.split("\n");const P=`${E.length}`.length;return`\n\nGenerated code for ${k.identifier()}\n${E.map(((k,v,E)=>{const R=`${v+1}`;return`${" ".repeat(P-R.length)}${R} | ${k}`})).join("\n")}`};const Ze=new WeakMap;const et="JavascriptModulesPlugin";class JavascriptModulesPlugin{static getCompilationHooks(k){if(!(k instanceof ye)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=Ze.get(k);if(v===undefined){v={renderModuleContent:new P(["source","module","renderContext"]),renderModuleContainer:new P(["source","module","renderContext"]),renderModulePackage:new P(["source","module","renderContext"]),render:new P(["source","renderContext"]),renderContent:new P(["source","renderContext"]),renderStartup:new P(["source","module","startupRenderContext"]),renderChunk:new P(["source","renderContext"]),renderMain:new P(["source","renderContext"]),renderRequire:new P(["code","renderContext"]),inlineInRuntimeBailout:new L(["module","renderContext"]),embedInRuntimeBailout:new L(["module","renderContext"]),strictRuntimeBailout:new L(["renderContext"]),chunkHash:new R(["chunk","hash","context"]),useSourceMap:new L(["chunk","renderContext"])};Ze.set(k,v)}return v}constructor(k={}){this.options=k;this._moduleFactoryCache=new WeakMap}apply(k){k.hooks.compilation.tap(et,((k,{normalModuleFactory:v})=>{const E=JavascriptModulesPlugin.getCompilationHooks(k);v.hooks.createParser.for(Te).tap(et,(k=>new Xe("auto")));v.hooks.createParser.for(je).tap(et,(k=>new Xe("script")));v.hooks.createParser.for(Ne).tap(et,(k=>new Xe("module")));v.hooks.createGenerator.for(Te).tap(et,(()=>new Ye));v.hooks.createGenerator.for(je).tap(et,(()=>new Ye));v.hooks.createGenerator.for(Ne).tap(et,(()=>new Ye));k.hooks.renderManifest.tap(et,((v,P)=>{const{hash:R,chunk:L,chunkGraph:N,moduleGraph:q,runtimeTemplate:ae,dependencyTemplates:le,outputOptions:pe,codeGenerationResults:me}=P;const ye=L instanceof Ie?L:null;let _e;const Me=JavascriptModulesPlugin.getChunkFilenameTemplate(L,pe);if(ye){_e=()=>this.renderChunk({chunk:L,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:q,chunkGraph:N,codeGenerationResults:me,strictMode:ae.isModule()},E)}else if(L.hasRuntime()){_e=()=>this.renderMain({hash:R,chunk:L,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:q,chunkGraph:N,codeGenerationResults:me,strictMode:ae.isModule()},E,k)}else{if(!chunkHasJs(L,N)){return v}_e=()=>this.renderChunk({chunk:L,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:q,chunkGraph:N,codeGenerationResults:me,strictMode:ae.isModule()},E)}v.push({render:_e,filenameTemplate:Me,pathOptions:{hash:R,runtime:L.runtime,chunk:L,contentHashType:"javascript"},info:{javascriptModule:k.runtimeTemplate.isModule()},identifier:ye?`hotupdatechunk${L.id}`:`chunk${L.id}`,hash:L.contentHash.javascript});return v}));k.hooks.chunkHash.tap(et,((k,v,P)=>{E.chunkHash.call(k,v,P);if(k.hasRuntime()){this.updateHashWithBootstrap(v,{hash:"0000",chunk:k,codeGenerationResults:P.codeGenerationResults,chunkGraph:P.chunkGraph,moduleGraph:P.moduleGraph,runtimeTemplate:P.runtimeTemplate},E)}}));k.hooks.contentHash.tap(et,(v=>{const{chunkGraph:P,codeGenerationResults:R,moduleGraph:L,runtimeTemplate:N,outputOptions:{hashSalt:q,hashDigest:ae,hashDigestLength:le,hashFunction:pe}}=k;const me=Je(pe);if(q)me.update(q);if(v.hasRuntime()){this.updateHashWithBootstrap(me,{hash:"0000",chunk:v,codeGenerationResults:R,chunkGraph:k.chunkGraph,moduleGraph:k.moduleGraph,runtimeTemplate:k.runtimeTemplate},E)}else{me.update(`${v.id} `);me.update(v.ids?v.ids.join(","):"")}E.chunkHash.call(v,me,{chunkGraph:P,codeGenerationResults:R,moduleGraph:L,runtimeTemplate:N});const ye=P.getChunkModulesIterableBySourceType(v,"javascript");if(ye){const k=new We;for(const E of ye){k.add(P.getModuleHash(E,v.runtime))}k.updateHash(me)}const _e=P.getChunkModulesIterableBySourceType(v,Be);if(_e){const k=new We;for(const E of _e){k.add(P.getModuleHash(E,v.runtime))}k.updateHash(me)}const Ie=me.digest(ae);v.contentHash.javascript=Ve(Ie,le)}));k.hooks.additionalTreeRuntimeRequirements.tap(et,((k,v,{chunkGraph:E})=>{if(!v.has(qe.startupNoDefault)&&E.hasChunkEntryDependentChunks(k)){v.add(qe.onChunksLoaded);v.add(qe.require)}}));k.hooks.executeModule.tap(et,((k,v)=>{const E=k.codeGenerationResult.sources.get("javascript");if(E===undefined)return;const{module:P,moduleObject:R}=k;const L=E.source();const q=N.runInThisContext(`(function(${P.moduleArgument}, ${P.exportsArgument}, ${qe.require}) {\n${L}\n/**/})`,{filename:P.identifier(),lineOffset:-1});try{q.call(R.exports,R,R.exports,v.__webpack_require__)}catch(v){v.stack+=printGeneratedCodeForStack(k.module,L);throw v}}));k.hooks.executeModule.tap(et,((k,v)=>{const E=k.codeGenerationResult.sources.get("runtime");if(E===undefined)return;let P=E.source();if(typeof P!=="string")P=P.toString();const R=N.runInThisContext(`(function(${qe.require}) {\n${P}\n/**/})`,{filename:k.module.identifier(),lineOffset:-1});try{R.call(null,v.__webpack_require__)}catch(v){v.stack+=printGeneratedCodeForStack(k.module,P);throw v}}))}))}static getChunkFilenameTemplate(k,v){if(k.filenameTemplate){return k.filenameTemplate}else if(k instanceof Ie){return v.hotUpdateChunkFilename}else if(k.canBeInitial()){return v.filename}else{return v.chunkFilename}}renderModule(k,v,E,P){const{chunk:R,chunkGraph:L,runtimeTemplate:N,codeGenerationResults:ae,strictMode:le}=v;try{const pe=ae.get(k,R.runtime);const ye=pe.sources.get("javascript");if(!ye)return null;if(pe.data!==undefined){const k=pe.data.get("chunkInitFragments");if(k){for(const E of k)v.chunkInitFragments.push(E)}}const Ie=_e((()=>E.renderModuleContent.call(ye,k,v)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent");let Me;if(P){const P=L.getModuleRuntimeRequirements(k,R.runtime);const ae=P.has(qe.module);const pe=P.has(qe.exports);const ye=P.has(qe.require)||P.has(qe.requireScope);const Te=P.has(qe.thisAsExports);const je=k.buildInfo.strict&&!le;const Ne=this._moduleFactoryCache.get(Ie);let Be;if(Ne&&Ne.needModule===ae&&Ne.needExports===pe&&Ne.needRequire===ye&&Ne.needThisAsExports===Te&&Ne.needStrict===je){Be=Ne.source}else{const v=new q;const E=[];if(pe||ye||ae)E.push(ae?k.moduleArgument:"__unused_webpack_"+k.moduleArgument);if(pe||ye)E.push(pe?k.exportsArgument:"__unused_webpack_"+k.exportsArgument);if(ye)E.push(qe.require);if(!Te&&N.supportsArrowFunction()){v.add("/***/ (("+E.join(", ")+") => {\n\n")}else{v.add("/***/ (function("+E.join(", ")+") {\n\n")}if(je){v.add('"use strict";\n')}v.add(Ie);v.add("\n\n/***/ })");Be=new me(v);this._moduleFactoryCache.set(Ie,{source:Be,needModule:ae,needExports:pe,needRequire:ye,needThisAsExports:Te,needStrict:je})}Me=_e((()=>E.renderModuleContainer.call(Be,k,v)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer")}else{Me=Ie}return _e((()=>E.renderModulePackage.call(Me,k,v)),"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage")}catch(v){v.module=k;throw v}}renderChunk(k,v){const{chunk:E,chunkGraph:P}=k;const R=P.getOrderedChunkModulesIterableBySourceType(E,"javascript",Qe);const L=R?Array.from(R):[];let N;let ae=k.strictMode;if(!ae&&L.every((k=>k.buildInfo.strict))){const E=v.strictRuntimeBailout.call(k);N=E?`// runtime can't be in strict mode because ${E}.\n`:'"use strict";\n';if(!E)ae=true}const le={...k,chunkInitFragments:[],strictMode:ae};const me=Ue.renderChunkModules(le,L,(k=>this.renderModule(k,le,v,true)))||new pe("{}");let ye=_e((()=>v.renderChunk.call(me,le)),"JavascriptModulesPlugin.getCompilationHooks().renderChunk");ye=_e((()=>v.renderContent.call(ye,le)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!ye){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}ye=Me.addToSource(ye,le.chunkInitFragments,le);ye=_e((()=>v.render.call(ye,le)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!ye){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}E.rendered=true;return N?new q(N,ye,";"):k.runtimeTemplate.isModule()?ye:new q(ye,";")}renderMain(k,v,E){const{chunk:P,chunkGraph:R,runtimeTemplate:L}=k;const N=R.getTreeRuntimeRequirements(P);const me=L.isIIFE();const ye=this.renderBootstrap(k,v);const Ie=v.useSourceMap.call(P,k);const Te=Array.from(R.getOrderedChunkModulesIterableBySourceType(P,"javascript",Qe)||[]);const je=R.getNumberOfEntryModules(P)>0;let Ne;if(ye.allowInlineStartup&&je){Ne=new Set(R.getChunkEntryModulesIterable(P))}let Be=new q;let He;if(me){if(L.supportsArrowFunction()){Be.add("/******/ (() => { // webpackBootstrap\n")}else{Be.add("/******/ (function() { // webpackBootstrap\n")}He="/******/ \t"}else{He="/******/ "}let We=k.strictMode;if(!We&&Te.every((k=>k.buildInfo.strict))){const E=v.strictRuntimeBailout.call(k);if(E){Be.add(He+`// runtime can't be in strict mode because ${E}.\n`)}else{We=true;Be.add(He+'"use strict";\n')}}const Je={...k,chunkInitFragments:[],strictMode:We};const Ve=Ue.renderChunkModules(Je,Ne?Te.filter((k=>!Ne.has(k))):Te,(k=>this.renderModule(k,Je,v,true)),He);if(Ve||N.has(qe.moduleFactories)||N.has(qe.moduleFactoriesAddOnly)||N.has(qe.require)){Be.add(He+"var __webpack_modules__ = (");Be.add(Ve||"{}");Be.add(");\n");Be.add("/************************************************************************/\n")}if(ye.header.length>0){const k=Ue.asString(ye.header)+"\n";Be.add(new le(He,Ie?new ae(k,"webpack/bootstrap"):new pe(k)));Be.add("/************************************************************************/\n")}const Ke=k.chunkGraph.getChunkRuntimeModulesInOrder(P);if(Ke.length>0){Be.add(new le(He,Ue.renderRuntimeModules(Ke,Je)));Be.add("/************************************************************************/\n");for(const k of Ke){E.codeGeneratedModules.add(k)}}if(Ne){if(ye.beforeStartup.length>0){const k=Ue.asString(ye.beforeStartup)+"\n";Be.add(new le(He,Ie?new ae(k,"webpack/before-startup"):new pe(k)))}const E=Ge(Ne);const me=new q;me.add(`var ${qe.exports} = {};\n`);for(const N of Ne){const q=this.renderModule(N,Je,v,false);if(q){const ae=!We&&N.buildInfo.strict;const le=R.getModuleRuntimeRequirements(N,P.runtime);const pe=le.has(qe.exports);const ye=pe&&N.exportsArgument===qe.exports;let _e=ae?"it need to be in strict mode.":Ne.size>1?"it need to be isolated against other entry modules.":Ve?"it need to be isolated against other modules in the chunk.":pe&&!ye?`it uses a non-standard name for the exports (${N.exportsArgument}).`:v.embedInRuntimeBailout.call(N,k);let Ie;if(_e!==undefined){me.add(`// This entry need to be wrapped in an IIFE because ${_e}\n`);const k=L.supportsArrowFunction();if(k){me.add("(() => {\n");Ie="\n})();\n\n"}else{me.add("!function() {\n");Ie="\n}();\n"}if(ae)me.add('"use strict";\n')}else{Ie="\n"}if(pe){if(N!==E)me.add(`var ${N.exportsArgument} = {};\n`);else if(N.exportsArgument!==qe.exports)me.add(`var ${N.exportsArgument} = ${qe.exports};\n`)}me.add(q);me.add(Ie)}}if(N.has(qe.onChunksLoaded)){me.add(`${qe.exports} = ${qe.onChunksLoaded}(${qe.exports});\n`)}Be.add(v.renderStartup.call(me,E,{...k,inlined:true}));if(ye.afterStartup.length>0){const k=Ue.asString(ye.afterStartup)+"\n";Be.add(new le(He,Ie?new ae(k,"webpack/after-startup"):new pe(k)))}}else{const E=Ge(R.getChunkEntryModulesIterable(P));const L=Ie?(k,v)=>new ae(Ue.asString(k),v):k=>new pe(Ue.asString(k));Be.add(new le(He,new q(L(ye.beforeStartup,"webpack/before-startup"),"\n",v.renderStartup.call(L(ye.startup.concat(""),"webpack/startup"),E,{...k,inlined:false}),L(ye.afterStartup,"webpack/after-startup"),"\n")))}if(je&&N.has(qe.returnExportsFromRuntime)){Be.add(`${He}return ${qe.exports};\n`)}if(me){Be.add("/******/ })()\n")}let Ye=_e((()=>v.renderMain.call(Be,k)),"JavascriptModulesPlugin.getCompilationHooks().renderMain");if(!Ye){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something")}Ye=_e((()=>v.renderContent.call(Ye,k)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Ye){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Ye=Me.addToSource(Ye,Je.chunkInitFragments,Je);Ye=_e((()=>v.render.call(Ye,k)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Ye){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}P.rendered=true;return me?new q(Ye,";"):Ye}updateHashWithBootstrap(k,v,E){const P=this.renderBootstrap(v,E);for(const v of Object.keys(P)){k.update(v);if(Array.isArray(P[v])){for(const E of P[v]){k.update(E)}}else{k.update(JSON.stringify(P[v]))}}}renderBootstrap(k,v){const{chunkGraph:E,codeGenerationResults:P,moduleGraph:R,chunk:L,runtimeTemplate:N}=k;const q=E.getTreeRuntimeRequirements(L);const ae=q.has(qe.require);const le=q.has(qe.moduleCache);const pe=q.has(qe.moduleFactories);const me=q.has(qe.module);const ye=q.has(qe.requireScope);const _e=q.has(qe.interceptModuleExecution);const Ie=ae||_e||me;const Me={header:[],beforeStartup:[],startup:[],afterStartup:[],allowInlineStartup:true};let{header:Te,startup:je,beforeStartup:Ne,afterStartup:Be}=Me;if(Me.allowInlineStartup&&pe){je.push("// module factories are used so entry inlining is disabled");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&le){je.push("// module cache are used so entry inlining is disabled");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&_e){je.push("// module execution is intercepted so entry inlining is disabled");Me.allowInlineStartup=false}if(Ie||le){Te.push("// The module cache");Te.push("var __webpack_module_cache__ = {};");Te.push("")}if(Ie){Te.push("// The require function");Te.push(`function ${qe.require}(moduleId) {`);Te.push(Ue.indent(this.renderRequire(k,v)));Te.push("}");Te.push("")}else if(q.has(qe.requireScope)){Te.push("// The require scope");Te.push(`var ${qe.require} = {};`);Te.push("")}if(pe||q.has(qe.moduleFactoriesAddOnly)){Te.push("// expose the modules object (__webpack_modules__)");Te.push(`${qe.moduleFactories} = __webpack_modules__;`);Te.push("")}if(le){Te.push("// expose the module cache");Te.push(`${qe.moduleCache} = __webpack_module_cache__;`);Te.push("")}if(_e){Te.push("// expose the module execution interceptor");Te.push(`${qe.interceptModuleExecution} = [];`);Te.push("")}if(!q.has(qe.startupNoDefault)){if(E.getNumberOfEntryModules(L)>0){const q=[];const ae=E.getTreeRuntimeRequirements(L);q.push("// Load entry module and return exports");let le=E.getNumberOfEntryModules(L);for(const[pe,me]of E.getChunkEntryModulesWithChunkGroupIterable(L)){const _e=me.chunks.filter((k=>k!==L));if(Me.allowInlineStartup&&_e.length>0){q.push("// This entry module depends on other loaded chunks and execution need to be delayed");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&He(R.getIncomingConnectionsByOriginModule(pe),(([k,v])=>k&&v.some((k=>k.isTargetActive(L.runtime)))&&He(E.getModuleRuntimes(k),(k=>Ke(k,L.runtime)!==undefined))))){q.push("// This entry module is referenced by other modules so it can't be inlined");Me.allowInlineStartup=false}let Te;if(P.has(pe,L.runtime)){const k=P.get(pe,L.runtime);Te=k.data}if(Me.allowInlineStartup&&(!Te||!Te.get("topLevelDeclarations"))&&(!pe.buildInfo||!pe.buildInfo.topLevelDeclarations)){q.push("// This entry module doesn't tell about it's top-level declarations so it can't be inlined");Me.allowInlineStartup=false}if(Me.allowInlineStartup){const E=v.inlineInRuntimeBailout.call(pe,k);if(E!==undefined){q.push(`// This entry module can't be inlined because ${E}`);Me.allowInlineStartup=false}}le--;const je=E.getModuleId(pe);const Ne=E.getModuleRuntimeRequirements(pe,L.runtime);let Be=JSON.stringify(je);if(ae.has(qe.entryModuleId)){Be=`${qe.entryModuleId} = ${Be}`}if(Me.allowInlineStartup&&Ne.has(qe.module)){Me.allowInlineStartup=false;q.push("// This entry module used 'module' so it can't be inlined")}if(_e.length>0){q.push(`${le===0?`var ${qe.exports} = `:""}${qe.onChunksLoaded}(undefined, ${JSON.stringify(_e.map((k=>k.id)))}, ${N.returningFunction(`${qe.require}(${Be})`)})`)}else if(Ie){q.push(`${le===0?`var ${qe.exports} = `:""}${qe.require}(${Be});`)}else{if(le===0)q.push(`var ${qe.exports} = {};`);if(ye){q.push(`__webpack_modules__[${Be}](0, ${le===0?qe.exports:"{}"}, ${qe.require});`)}else if(Ne.has(qe.exports)){q.push(`__webpack_modules__[${Be}](0, ${le===0?qe.exports:"{}"});`)}else{q.push(`__webpack_modules__[${Be}]();`)}}}if(ae.has(qe.onChunksLoaded)){q.push(`${qe.exports} = ${qe.onChunksLoaded}(${qe.exports});`)}if(ae.has(qe.startup)||ae.has(qe.startupOnlyBefore)&&ae.has(qe.startupOnlyAfter)){Me.allowInlineStartup=false;Te.push("// the startup function");Te.push(`${qe.startup} = ${N.basicFunction("",[...q,`return ${qe.exports};`])};`);Te.push("");je.push("// run startup");je.push(`var ${qe.exports} = ${qe.startup}();`)}else if(ae.has(qe.startupOnlyBefore)){Te.push("// the startup function");Te.push(`${qe.startup} = ${N.emptyFunction()};`);Ne.push("// run runtime startup");Ne.push(`${qe.startup}();`);je.push("// startup");je.push(Ue.asString(q))}else if(ae.has(qe.startupOnlyAfter)){Te.push("// the startup function");Te.push(`${qe.startup} = ${N.emptyFunction()};`);je.push("// startup");je.push(Ue.asString(q));Be.push("// run runtime startup");Be.push(`${qe.startup}();`)}else{je.push("// startup");je.push(Ue.asString(q))}}else if(q.has(qe.startup)||q.has(qe.startupOnlyBefore)||q.has(qe.startupOnlyAfter)){Te.push("// the startup function","// It's empty as no entry modules are in this chunk",`${qe.startup} = ${N.emptyFunction()};`,"")}}else if(q.has(qe.startup)||q.has(qe.startupOnlyBefore)||q.has(qe.startupOnlyAfter)){Me.allowInlineStartup=false;Te.push("// the startup function","// It's empty as some runtime module handles the default behavior",`${qe.startup} = ${N.emptyFunction()};`);je.push("// run startup");je.push(`var ${qe.exports} = ${qe.startup}();`)}return Me}renderRequire(k,v){const{chunk:E,chunkGraph:P,runtimeTemplate:{outputOptions:R}}=k;const L=P.getTreeRuntimeRequirements(E);const N=L.has(qe.interceptModuleExecution)?Ue.asString([`var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: ${qe.require} };`,`${qe.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,"module = execOptions.module;","execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"]):L.has(qe.thisAsExports)?Ue.asString([`__webpack_modules__[moduleId].call(module.exports, module, module.exports, ${qe.require});`]):Ue.asString([`__webpack_modules__[moduleId](module, module.exports, ${qe.require});`]);const q=L.has(qe.moduleId);const ae=L.has(qe.moduleLoaded);const le=Ue.asString(["// Check if module is in cache","var cachedModule = __webpack_module_cache__[moduleId];","if (cachedModule !== undefined) {",R.strictModuleErrorHandling?Ue.indent(["if (cachedModule.error !== undefined) throw cachedModule.error;","return cachedModule.exports;"]):Ue.indent("return cachedModule.exports;"),"}","// Create a new module (and put it into the cache)","var module = __webpack_module_cache__[moduleId] = {",Ue.indent([q?"id: moduleId,":"// no module.id needed",ae?"loaded: false,":"// no module.loaded needed","exports: {}"]),"};","",R.strictModuleExceptionHandling?Ue.asString(["// Execute the module function","var threw = true;","try {",Ue.indent([N,"threw = false;"]),"} finally {",Ue.indent(["if(threw) delete __webpack_module_cache__[moduleId];"]),"}"]):R.strictModuleErrorHandling?Ue.asString(["// Execute the module function","try {",Ue.indent(N),"} catch(e) {",Ue.indent(["module.error = e;","throw e;"]),"}"]):Ue.asString(["// Execute the module function",N]),ae?Ue.asString(["","// Flag the module as loaded",`${qe.moduleLoaded} = true;`,""]):"","// Return the exports of the module","return module.exports;"]);return _e((()=>v.renderRequire.call(le,k)),"JavascriptModulesPlugin.getCompilationHooks().renderRequire")}}k.exports=JavascriptModulesPlugin;k.exports.chunkHasJs=chunkHasJs},81532:function(k,v,E){"use strict";const{Parser:P}=E(31988);const{importAssertions:R}=E(46348);const{SyncBailHook:L,HookMap:N}=E(79846);const q=E(26144);const ae=E(17381);const le=E(25728);const pe=E(43759);const me=E(20631);const ye=E(70037);const _e=[];const Ie=1;const Me=2;const Te=3;const je=P.extend(R);class VariableInfo{constructor(k,v,E){this.declaredScope=k;this.freeName=v;this.tagInfo=E}}const joinRanges=(k,v)=>{if(!v)return k;if(!k)return v;return[k[0],v[1]]};const objectAndMembersToName=(k,v)=>{let E=k;for(let k=v.length-1;k>=0;k--){E=E+"."+v[k]}return E};const getRootName=k=>{switch(k.type){case"Identifier":return k.name;case"ThisExpression":return"this";case"MetaProperty":return`${k.meta.name}.${k.property.name}`;default:return undefined}};const Ne={ranges:true,locations:true,ecmaVersion:"latest",sourceType:"module",allowHashBang:true,onComment:null};const Be=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const qe={options:null,errors:null};class JavascriptParser extends ae{constructor(k="auto"){super();this.hooks=Object.freeze({evaluateTypeof:new N((()=>new L(["expression"]))),evaluate:new N((()=>new L(["expression"]))),evaluateIdentifier:new N((()=>new L(["expression"]))),evaluateDefinedIdentifier:new N((()=>new L(["expression"]))),evaluateNewExpression:new N((()=>new L(["expression"]))),evaluateCallExpression:new N((()=>new L(["expression"]))),evaluateCallExpressionMember:new N((()=>new L(["expression","param"]))),isPure:new N((()=>new L(["expression","commentsStartPosition"]))),preStatement:new L(["statement"]),blockPreStatement:new L(["declaration"]),statement:new L(["statement"]),statementIf:new L(["statement"]),classExtendsExpression:new L(["expression","classDefinition"]),classBodyElement:new L(["element","classDefinition"]),classBodyValue:new L(["expression","element","classDefinition"]),label:new N((()=>new L(["statement"]))),import:new L(["statement","source"]),importSpecifier:new L(["statement","source","exportName","identifierName"]),export:new L(["statement"]),exportImport:new L(["statement","source"]),exportDeclaration:new L(["statement","declaration"]),exportExpression:new L(["statement","declaration"]),exportSpecifier:new L(["statement","identifierName","exportName","index"]),exportImportSpecifier:new L(["statement","source","identifierName","exportName","index"]),preDeclarator:new L(["declarator","statement"]),declarator:new L(["declarator","statement"]),varDeclaration:new N((()=>new L(["declaration"]))),varDeclarationLet:new N((()=>new L(["declaration"]))),varDeclarationConst:new N((()=>new L(["declaration"]))),varDeclarationVar:new N((()=>new L(["declaration"]))),pattern:new N((()=>new L(["pattern"]))),canRename:new N((()=>new L(["initExpression"]))),rename:new N((()=>new L(["initExpression"]))),assign:new N((()=>new L(["expression"]))),assignMemberChain:new N((()=>new L(["expression","members"]))),typeof:new N((()=>new L(["expression"]))),importCall:new L(["expression"]),topLevelAwait:new L(["expression"]),call:new N((()=>new L(["expression"]))),callMemberChain:new N((()=>new L(["expression","members","membersOptionals","memberRanges"]))),memberChainOfCallMemberChain:new N((()=>new L(["expression","calleeMembers","callExpression","members"]))),callMemberChainOfCallMemberChain:new N((()=>new L(["expression","calleeMembers","innerCallExpression","members"]))),optionalChaining:new L(["optionalChaining"]),new:new N((()=>new L(["expression"]))),binaryExpression:new L(["binaryExpression"]),expression:new N((()=>new L(["expression"]))),expressionMemberChain:new N((()=>new L(["expression","members","membersOptionals","memberRanges"]))),unhandledExpressionMemberChain:new N((()=>new L(["expression","members"]))),expressionConditionalOperator:new L(["expression"]),expressionLogicalOperator:new L(["expression"]),program:new L(["ast","comments"]),finish:new L(["ast","comments"])});this.sourceType=k;this.scope=undefined;this.state=undefined;this.comments=undefined;this.semicolons=undefined;this.statementPath=undefined;this.prevStatement=undefined;this.destructuringAssignmentProperties=undefined;this.currentTagData=undefined;this._initializeEvaluating()}_initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("JavascriptParser",(k=>{const v=k;switch(typeof v.value){case"number":return(new ye).setNumber(v.value).setRange(v.range);case"bigint":return(new ye).setBigInt(v.value).setRange(v.range);case"string":return(new ye).setString(v.value).setRange(v.range);case"boolean":return(new ye).setBoolean(v.value).setRange(v.range)}if(v.value===null){return(new ye).setNull().setRange(v.range)}if(v.value instanceof RegExp){return(new ye).setRegExp(v.value).setRange(v.range)}}));this.hooks.evaluate.for("NewExpression").tap("JavascriptParser",(k=>{const v=k;const E=v.callee;if(E.type!=="Identifier")return;if(E.name!=="RegExp"){return this.callHooksForName(this.hooks.evaluateNewExpression,E.name,v)}else if(v.arguments.length>2||this.getVariableInfo("RegExp")!=="RegExp")return;let P,R;const L=v.arguments[0];if(L){if(L.type==="SpreadElement")return;const k=this.evaluateExpression(L);if(!k)return;P=k.asString();if(!P)return}else{return(new ye).setRegExp(new RegExp("")).setRange(v.range)}const N=v.arguments[1];if(N){if(N.type==="SpreadElement")return;const k=this.evaluateExpression(N);if(!k)return;if(!k.isUndefined()){R=k.asString();if(R===undefined||!ye.isValidRegExpFlags(R))return}}return(new ye).setRegExp(R?new RegExp(P,R):new RegExp(P)).setRange(v.range)}));this.hooks.evaluate.for("LogicalExpression").tap("JavascriptParser",(k=>{const v=k;const E=this.evaluateExpression(v.left);let P=false;let R;if(v.operator==="&&"){const k=E.asBool();if(k===false)return E.setRange(v.range);P=k===true;R=false}else if(v.operator==="||"){const k=E.asBool();if(k===true)return E.setRange(v.range);P=k===false;R=true}else if(v.operator==="??"){const k=E.asNullish();if(k===false)return E.setRange(v.range);if(k!==true)return;P=true}else return;const L=this.evaluateExpression(v.right);if(P){if(E.couldHaveSideEffects())L.setSideEffects();return L.setRange(v.range)}const N=L.asBool();if(R===true&&N===true){return(new ye).setRange(v.range).setTruthy()}else if(R===false&&N===false){return(new ye).setRange(v.range).setFalsy()}}));const valueAsExpression=(k,v,E)=>{switch(typeof k){case"boolean":return(new ye).setBoolean(k).setSideEffects(E).setRange(v.range);case"number":return(new ye).setNumber(k).setSideEffects(E).setRange(v.range);case"bigint":return(new ye).setBigInt(k).setSideEffects(E).setRange(v.range);case"string":return(new ye).setString(k).setSideEffects(E).setRange(v.range)}};this.hooks.evaluate.for("BinaryExpression").tap("JavascriptParser",(k=>{const v=k;const handleConstOperation=k=>{const E=this.evaluateExpression(v.left);if(!E.isCompileTimeValue())return;const P=this.evaluateExpression(v.right);if(!P.isCompileTimeValue())return;const R=k(E.asCompileTimeValue(),P.asCompileTimeValue());return valueAsExpression(R,v,E.couldHaveSideEffects()||P.couldHaveSideEffects())};const isAlwaysDifferent=(k,v)=>k===true&&v===false||k===false&&v===true;const handleTemplateStringCompare=(k,v,E,P)=>{const getPrefix=k=>{let v="";for(const E of k){const k=E.asString();if(k!==undefined)v+=k;else break}return v};const getSuffix=k=>{let v="";for(let E=k.length-1;E>=0;E--){const P=k[E].asString();if(P!==undefined)v=P+v;else break}return v};const R=getPrefix(k.parts);const L=getPrefix(v.parts);const N=getSuffix(k.parts);const q=getSuffix(v.parts);const ae=Math.min(R.length,L.length);const le=Math.min(N.length,q.length);const pe=ae>0&&R.slice(0,ae)!==L.slice(0,ae);const me=le>0&&N.slice(-le)!==q.slice(-le);if(pe||me){return E.setBoolean(!P).setSideEffects(k.couldHaveSideEffects()||v.couldHaveSideEffects())}};const handleStrictEqualityComparison=k=>{const E=this.evaluateExpression(v.left);const P=this.evaluateExpression(v.right);const R=new ye;R.setRange(v.range);const L=E.isCompileTimeValue();const N=P.isCompileTimeValue();if(L&&N){return R.setBoolean(k===(E.asCompileTimeValue()===P.asCompileTimeValue())).setSideEffects(E.couldHaveSideEffects()||P.couldHaveSideEffects())}if(E.isArray()&&P.isArray()){return R.setBoolean(!k).setSideEffects(E.couldHaveSideEffects()||P.couldHaveSideEffects())}if(E.isTemplateString()&&P.isTemplateString()){return handleTemplateStringCompare(E,P,R,k)}const q=E.isPrimitiveType();const ae=P.isPrimitiveType();if(q===false&&(L||ae===true)||ae===false&&(N||q===true)||isAlwaysDifferent(E.asBool(),P.asBool())||isAlwaysDifferent(E.asNullish(),P.asNullish())){return R.setBoolean(!k).setSideEffects(E.couldHaveSideEffects()||P.couldHaveSideEffects())}};const handleAbstractEqualityComparison=k=>{const E=this.evaluateExpression(v.left);const P=this.evaluateExpression(v.right);const R=new ye;R.setRange(v.range);const L=E.isCompileTimeValue();const N=P.isCompileTimeValue();if(L&&N){return R.setBoolean(k===(E.asCompileTimeValue()==P.asCompileTimeValue())).setSideEffects(E.couldHaveSideEffects()||P.couldHaveSideEffects())}if(E.isArray()&&P.isArray()){return R.setBoolean(!k).setSideEffects(E.couldHaveSideEffects()||P.couldHaveSideEffects())}if(E.isTemplateString()&&P.isTemplateString()){return handleTemplateStringCompare(E,P,R,k)}};if(v.operator==="+"){const k=this.evaluateExpression(v.left);const E=this.evaluateExpression(v.right);const P=new ye;if(k.isString()){if(E.isString()){P.setString(k.string+E.string)}else if(E.isNumber()){P.setString(k.string+E.number)}else if(E.isWrapped()&&E.prefix&&E.prefix.isString()){P.setWrapped((new ye).setString(k.string+E.prefix.string).setRange(joinRanges(k.range,E.prefix.range)),E.postfix,E.wrappedInnerExpressions)}else if(E.isWrapped()){P.setWrapped(k,E.postfix,E.wrappedInnerExpressions)}else{P.setWrapped(k,null,[E])}}else if(k.isNumber()){if(E.isString()){P.setString(k.number+E.string)}else if(E.isNumber()){P.setNumber(k.number+E.number)}else{return}}else if(k.isBigInt()){if(E.isBigInt()){P.setBigInt(k.bigint+E.bigint)}}else if(k.isWrapped()){if(k.postfix&&k.postfix.isString()&&E.isString()){P.setWrapped(k.prefix,(new ye).setString(k.postfix.string+E.string).setRange(joinRanges(k.postfix.range,E.range)),k.wrappedInnerExpressions)}else if(k.postfix&&k.postfix.isString()&&E.isNumber()){P.setWrapped(k.prefix,(new ye).setString(k.postfix.string+E.number).setRange(joinRanges(k.postfix.range,E.range)),k.wrappedInnerExpressions)}else if(E.isString()){P.setWrapped(k.prefix,E,k.wrappedInnerExpressions)}else if(E.isNumber()){P.setWrapped(k.prefix,(new ye).setString(E.number+"").setRange(E.range),k.wrappedInnerExpressions)}else if(E.isWrapped()){P.setWrapped(k.prefix,E.postfix,k.wrappedInnerExpressions&&E.wrappedInnerExpressions&&k.wrappedInnerExpressions.concat(k.postfix?[k.postfix]:[]).concat(E.prefix?[E.prefix]:[]).concat(E.wrappedInnerExpressions))}else{P.setWrapped(k.prefix,null,k.wrappedInnerExpressions&&k.wrappedInnerExpressions.concat(k.postfix?[k.postfix,E]:[E]))}}else{if(E.isString()){P.setWrapped(null,E,[k])}else if(E.isWrapped()){P.setWrapped(null,E.postfix,E.wrappedInnerExpressions&&(E.prefix?[k,E.prefix]:[k]).concat(E.wrappedInnerExpressions))}else{return}}if(k.couldHaveSideEffects()||E.couldHaveSideEffects())P.setSideEffects();P.setRange(v.range);return P}else if(v.operator==="-"){return handleConstOperation(((k,v)=>k-v))}else if(v.operator==="*"){return handleConstOperation(((k,v)=>k*v))}else if(v.operator==="/"){return handleConstOperation(((k,v)=>k/v))}else if(v.operator==="**"){return handleConstOperation(((k,v)=>k**v))}else if(v.operator==="==="){return handleStrictEqualityComparison(true)}else if(v.operator==="=="){return handleAbstractEqualityComparison(true)}else if(v.operator==="!=="){return handleStrictEqualityComparison(false)}else if(v.operator==="!="){return handleAbstractEqualityComparison(false)}else if(v.operator==="&"){return handleConstOperation(((k,v)=>k&v))}else if(v.operator==="|"){return handleConstOperation(((k,v)=>k|v))}else if(v.operator==="^"){return handleConstOperation(((k,v)=>k^v))}else if(v.operator===">>>"){return handleConstOperation(((k,v)=>k>>>v))}else if(v.operator===">>"){return handleConstOperation(((k,v)=>k>>v))}else if(v.operator==="<<"){return handleConstOperation(((k,v)=>k<k"){return handleConstOperation(((k,v)=>k>v))}else if(v.operator==="<="){return handleConstOperation(((k,v)=>k<=v))}else if(v.operator===">="){return handleConstOperation(((k,v)=>k>=v))}}));this.hooks.evaluate.for("UnaryExpression").tap("JavascriptParser",(k=>{const v=k;const handleConstOperation=k=>{const E=this.evaluateExpression(v.argument);if(!E.isCompileTimeValue())return;const P=k(E.asCompileTimeValue());return valueAsExpression(P,v,E.couldHaveSideEffects())};if(v.operator==="typeof"){switch(v.argument.type){case"Identifier":{const k=this.callHooksForName(this.hooks.evaluateTypeof,v.argument.name,v);if(k!==undefined)return k;break}case"MetaProperty":{const k=this.callHooksForName(this.hooks.evaluateTypeof,getRootName(v.argument),v);if(k!==undefined)return k;break}case"MemberExpression":{const k=this.callHooksForExpression(this.hooks.evaluateTypeof,v.argument,v);if(k!==undefined)return k;break}case"ChainExpression":{const k=this.callHooksForExpression(this.hooks.evaluateTypeof,v.argument.expression,v);if(k!==undefined)return k;break}case"FunctionExpression":{return(new ye).setString("function").setRange(v.range)}}const k=this.evaluateExpression(v.argument);if(k.isUnknown())return;if(k.isString()){return(new ye).setString("string").setRange(v.range)}if(k.isWrapped()){return(new ye).setString("string").setSideEffects().setRange(v.range)}if(k.isUndefined()){return(new ye).setString("undefined").setRange(v.range)}if(k.isNumber()){return(new ye).setString("number").setRange(v.range)}if(k.isBigInt()){return(new ye).setString("bigint").setRange(v.range)}if(k.isBoolean()){return(new ye).setString("boolean").setRange(v.range)}if(k.isConstArray()||k.isRegExp()||k.isNull()){return(new ye).setString("object").setRange(v.range)}if(k.isArray()){return(new ye).setString("object").setSideEffects(k.couldHaveSideEffects()).setRange(v.range)}}else if(v.operator==="!"){const k=this.evaluateExpression(v.argument);const E=k.asBool();if(typeof E!=="boolean")return;return(new ye).setBoolean(!E).setSideEffects(k.couldHaveSideEffects()).setRange(v.range)}else if(v.operator==="~"){return handleConstOperation((k=>~k))}else if(v.operator==="+"){return handleConstOperation((k=>+k))}else if(v.operator==="-"){return handleConstOperation((k=>-k))}}));this.hooks.evaluateTypeof.for("undefined").tap("JavascriptParser",(k=>(new ye).setString("undefined").setRange(k.range)));this.hooks.evaluate.for("Identifier").tap("JavascriptParser",(k=>{if(k.name==="undefined"){return(new ye).setUndefined().setRange(k.range)}}));const tapEvaluateWithVariableInfo=(k,v)=>{let E=undefined;let P=undefined;this.hooks.evaluate.for(k).tap("JavascriptParser",(k=>{const R=k;const L=v(k);if(L!==undefined){return this.callHooksForInfoWithFallback(this.hooks.evaluateIdentifier,L.name,(k=>{E=R;P=L}),(k=>{const v=this.hooks.evaluateDefinedIdentifier.get(k);if(v!==undefined){return v.call(R)}}),R)}}));this.hooks.evaluate.for(k).tap({name:"JavascriptParser",stage:100},(k=>{const R=E===k?P:v(k);if(R!==undefined){return(new ye).setIdentifier(R.name,R.rootInfo,R.getMembers,R.getMembersOptionals,R.getMemberRanges).setRange(k.range)}}));this.hooks.finish.tap("JavascriptParser",(()=>{E=P=undefined}))};tapEvaluateWithVariableInfo("Identifier",(k=>{const v=this.getVariableInfo(k.name);if(typeof v==="string"||v instanceof VariableInfo&&typeof v.freeName==="string"){return{name:v,rootInfo:v,getMembers:()=>[],getMembersOptionals:()=>[],getMemberRanges:()=>[]}}}));tapEvaluateWithVariableInfo("ThisExpression",(k=>{const v=this.getVariableInfo("this");if(typeof v==="string"||v instanceof VariableInfo&&typeof v.freeName==="string"){return{name:v,rootInfo:v,getMembers:()=>[],getMembersOptionals:()=>[],getMemberRanges:()=>[]}}}));this.hooks.evaluate.for("MetaProperty").tap("JavascriptParser",(k=>{const v=k;return this.callHooksForName(this.hooks.evaluateIdentifier,getRootName(k),v)}));tapEvaluateWithVariableInfo("MemberExpression",(k=>this.getMemberExpressionInfo(k,Me)));this.hooks.evaluate.for("CallExpression").tap("JavascriptParser",(k=>{const v=k;if(v.callee.type==="MemberExpression"&&v.callee.property.type===(v.callee.computed?"Literal":"Identifier")){const k=this.evaluateExpression(v.callee.object);const E=v.callee.property.type==="Literal"?`${v.callee.property.value}`:v.callee.property.name;const P=this.hooks.evaluateCallExpressionMember.get(E);if(P!==undefined){return P.call(v,k)}}else if(v.callee.type==="Identifier"){return this.callHooksForName(this.hooks.evaluateCallExpression,v.callee.name,v)}}));this.hooks.evaluateCallExpressionMember.for("indexOf").tap("JavascriptParser",((k,v)=>{if(!v.isString())return;if(k.arguments.length===0)return;const[E,P]=k.arguments;if(E.type==="SpreadElement")return;const R=this.evaluateExpression(E);if(!R.isString())return;const L=R.string;let N;if(P){if(P.type==="SpreadElement")return;const k=this.evaluateExpression(P);if(!k.isNumber())return;N=v.string.indexOf(L,k.number)}else{N=v.string.indexOf(L)}return(new ye).setNumber(N).setSideEffects(v.couldHaveSideEffects()).setRange(k.range)}));this.hooks.evaluateCallExpressionMember.for("replace").tap("JavascriptParser",((k,v)=>{if(!v.isString())return;if(k.arguments.length!==2)return;if(k.arguments[0].type==="SpreadElement")return;if(k.arguments[1].type==="SpreadElement")return;let E=this.evaluateExpression(k.arguments[0]);let P=this.evaluateExpression(k.arguments[1]);if(!E.isString()&&!E.isRegExp())return;const R=E.regExp||E.string;if(!P.isString())return;const L=P.string;return(new ye).setString(v.string.replace(R,L)).setSideEffects(v.couldHaveSideEffects()).setRange(k.range)}));["substr","substring","slice"].forEach((k=>{this.hooks.evaluateCallExpressionMember.for(k).tap("JavascriptParser",((v,E)=>{if(!E.isString())return;let P;let R,L=E.string;switch(v.arguments.length){case 1:if(v.arguments[0].type==="SpreadElement")return;P=this.evaluateExpression(v.arguments[0]);if(!P.isNumber())return;R=L[k](P.number);break;case 2:{if(v.arguments[0].type==="SpreadElement")return;if(v.arguments[1].type==="SpreadElement")return;P=this.evaluateExpression(v.arguments[0]);const E=this.evaluateExpression(v.arguments[1]);if(!P.isNumber())return;if(!E.isNumber())return;R=L[k](P.number,E.number);break}default:return}return(new ye).setString(R).setSideEffects(E.couldHaveSideEffects()).setRange(v.range)}))}));const getSimplifiedTemplateResult=(k,v)=>{const E=[];const P=[];for(let R=0;R0){const k=P[P.length-1];const E=this.evaluateExpression(v.expressions[R-1]);const q=E.asString();if(typeof q==="string"&&!E.couldHaveSideEffects()){k.setString(k.string+q+N);k.setRange([k.range[0],L.range[1]]);k.setExpression(undefined);continue}P.push(E)}const q=(new ye).setString(N).setRange(L.range).setExpression(L);E.push(q);P.push(q)}return{quasis:E,parts:P}};this.hooks.evaluate.for("TemplateLiteral").tap("JavascriptParser",(k=>{const v=k;const{quasis:E,parts:P}=getSimplifiedTemplateResult("cooked",v);if(P.length===1){return P[0].setRange(v.range)}return(new ye).setTemplateString(E,P,"cooked").setRange(v.range)}));this.hooks.evaluate.for("TaggedTemplateExpression").tap("JavascriptParser",(k=>{const v=k;const E=this.evaluateExpression(v.tag);if(E.isIdentifier()&&E.identifier==="String.raw"){const{quasis:k,parts:E}=getSimplifiedTemplateResult("raw",v.quasi);return(new ye).setTemplateString(k,E,"raw").setRange(v.range)}}));this.hooks.evaluateCallExpressionMember.for("concat").tap("JavascriptParser",((k,v)=>{if(!v.isString()&&!v.isWrapped())return;let E=null;let P=false;const R=[];for(let v=k.arguments.length-1;v>=0;v--){const L=k.arguments[v];if(L.type==="SpreadElement")return;const N=this.evaluateExpression(L);if(P||!N.isString()&&!N.isNumber()){P=true;R.push(N);continue}const q=N.isString()?N.string:""+N.number;const ae=q+(E?E.string:"");const le=[N.range[0],(E||N).range[1]];E=(new ye).setString(ae).setSideEffects(E&&E.couldHaveSideEffects()||N.couldHaveSideEffects()).setRange(le)}if(P){const P=v.isString()?v:v.prefix;const L=v.isWrapped()&&v.wrappedInnerExpressions?v.wrappedInnerExpressions.concat(R.reverse()):R.reverse();return(new ye).setWrapped(P,E,L).setRange(k.range)}else if(v.isWrapped()){const P=E||v.postfix;const L=v.wrappedInnerExpressions?v.wrappedInnerExpressions.concat(R.reverse()):R.reverse();return(new ye).setWrapped(v.prefix,P,L).setRange(k.range)}else{const P=v.string+(E?E.string:"");return(new ye).setString(P).setSideEffects(E&&E.couldHaveSideEffects()||v.couldHaveSideEffects()).setRange(k.range)}}));this.hooks.evaluateCallExpressionMember.for("split").tap("JavascriptParser",((k,v)=>{if(!v.isString())return;if(k.arguments.length!==1)return;if(k.arguments[0].type==="SpreadElement")return;let E;const P=this.evaluateExpression(k.arguments[0]);if(P.isString()){E=v.string.split(P.string)}else if(P.isRegExp()){E=v.string.split(P.regExp)}else{return}return(new ye).setArray(E).setSideEffects(v.couldHaveSideEffects()).setRange(k.range)}));this.hooks.evaluate.for("ConditionalExpression").tap("JavascriptParser",(k=>{const v=k;const E=this.evaluateExpression(v.test);const P=E.asBool();let R;if(P===undefined){const k=this.evaluateExpression(v.consequent);const E=this.evaluateExpression(v.alternate);R=new ye;if(k.isConditional()){R.setOptions(k.options)}else{R.setOptions([k])}if(E.isConditional()){R.addOptions(E.options)}else{R.addOptions([E])}}else{R=this.evaluateExpression(P?v.consequent:v.alternate);if(E.couldHaveSideEffects())R.setSideEffects()}R.setRange(v.range);return R}));this.hooks.evaluate.for("ArrayExpression").tap("JavascriptParser",(k=>{const v=k;const E=v.elements.map((k=>k!==null&&k.type!=="SpreadElement"&&this.evaluateExpression(k)));if(!E.every(Boolean))return;return(new ye).setItems(E).setRange(v.range)}));this.hooks.evaluate.for("ChainExpression").tap("JavascriptParser",(k=>{const v=k;const E=[];let P=v.expression;while(P.type==="MemberExpression"||P.type==="CallExpression"){if(P.type==="MemberExpression"){if(P.optional){E.push(P.object)}P=P.object}else{if(P.optional){E.push(P.callee)}P=P.callee}}while(E.length>0){const v=E.pop();const P=this.evaluateExpression(v);if(P.asNullish()){return P.setRange(k.range)}}return this.evaluateExpression(v.expression)}))}destructuringAssignmentPropertiesFor(k){if(!this.destructuringAssignmentProperties)return undefined;return this.destructuringAssignmentProperties.get(k)}getRenameIdentifier(k){const v=this.evaluateExpression(k);if(v.isIdentifier()){return v.identifier}}walkClass(k){if(k.superClass){if(!this.hooks.classExtendsExpression.call(k.superClass,k)){this.walkExpression(k.superClass)}}if(k.body&&k.body.type==="ClassBody"){const v=[];if(k.id){v.push(k.id)}this.inClassScope(true,v,(()=>{for(const v of k.body.body){if(!this.hooks.classBodyElement.call(v,k)){if(v.computed&&v.key){this.walkExpression(v.key)}if(v.value){if(!this.hooks.classBodyValue.call(v.value,v,k)){const k=this.scope.topLevelScope;this.scope.topLevelScope=false;this.walkExpression(v.value);this.scope.topLevelScope=k}}else if(v.type==="StaticBlock"){const k=this.scope.topLevelScope;this.scope.topLevelScope=false;this.walkBlockStatement(v);this.scope.topLevelScope=k}}}}))}}preWalkStatements(k){for(let v=0,E=k.length;v{const v=k.body;const E=this.prevStatement;this.blockPreWalkStatements(v);this.prevStatement=E;this.walkStatements(v)}))}walkExpressionStatement(k){this.walkExpression(k.expression)}preWalkIfStatement(k){this.preWalkStatement(k.consequent);if(k.alternate){this.preWalkStatement(k.alternate)}}walkIfStatement(k){const v=this.hooks.statementIf.call(k);if(v===undefined){this.walkExpression(k.test);this.walkNestedStatement(k.consequent);if(k.alternate){this.walkNestedStatement(k.alternate)}}else{if(v){this.walkNestedStatement(k.consequent)}else if(k.alternate){this.walkNestedStatement(k.alternate)}}}preWalkLabeledStatement(k){this.preWalkStatement(k.body)}walkLabeledStatement(k){const v=this.hooks.label.get(k.label.name);if(v!==undefined){const E=v.call(k);if(E===true)return}this.walkNestedStatement(k.body)}preWalkWithStatement(k){this.preWalkStatement(k.body)}walkWithStatement(k){this.walkExpression(k.object);this.walkNestedStatement(k.body)}preWalkSwitchStatement(k){this.preWalkSwitchCases(k.cases)}walkSwitchStatement(k){this.walkExpression(k.discriminant);this.walkSwitchCases(k.cases)}walkTerminatingStatement(k){if(k.argument)this.walkExpression(k.argument)}walkReturnStatement(k){this.walkTerminatingStatement(k)}walkThrowStatement(k){this.walkTerminatingStatement(k)}preWalkTryStatement(k){this.preWalkStatement(k.block);if(k.handler)this.preWalkCatchClause(k.handler);if(k.finalizer)this.preWalkStatement(k.finalizer)}walkTryStatement(k){if(this.scope.inTry){this.walkStatement(k.block)}else{this.scope.inTry=true;this.walkStatement(k.block);this.scope.inTry=false}if(k.handler)this.walkCatchClause(k.handler);if(k.finalizer)this.walkStatement(k.finalizer)}preWalkWhileStatement(k){this.preWalkStatement(k.body)}walkWhileStatement(k){this.walkExpression(k.test);this.walkNestedStatement(k.body)}preWalkDoWhileStatement(k){this.preWalkStatement(k.body)}walkDoWhileStatement(k){this.walkNestedStatement(k.body);this.walkExpression(k.test)}preWalkForStatement(k){if(k.init){if(k.init.type==="VariableDeclaration"){this.preWalkStatement(k.init)}}this.preWalkStatement(k.body)}walkForStatement(k){this.inBlockScope((()=>{if(k.init){if(k.init.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(k.init);this.prevStatement=undefined;this.walkStatement(k.init)}else{this.walkExpression(k.init)}}if(k.test){this.walkExpression(k.test)}if(k.update){this.walkExpression(k.update)}const v=k.body;if(v.type==="BlockStatement"){const k=this.prevStatement;this.blockPreWalkStatements(v.body);this.prevStatement=k;this.walkStatements(v.body)}else{this.walkNestedStatement(v)}}))}preWalkForInStatement(k){if(k.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(k.left)}this.preWalkStatement(k.body)}walkForInStatement(k){this.inBlockScope((()=>{if(k.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(k.left);this.walkVariableDeclaration(k.left)}else{this.walkPattern(k.left)}this.walkExpression(k.right);const v=k.body;if(v.type==="BlockStatement"){const k=this.prevStatement;this.blockPreWalkStatements(v.body);this.prevStatement=k;this.walkStatements(v.body)}else{this.walkNestedStatement(v)}}))}preWalkForOfStatement(k){if(k.await&&this.scope.topLevelScope===true){this.hooks.topLevelAwait.call(k)}if(k.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(k.left)}this.preWalkStatement(k.body)}walkForOfStatement(k){this.inBlockScope((()=>{if(k.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(k.left);this.walkVariableDeclaration(k.left)}else{this.walkPattern(k.left)}this.walkExpression(k.right);const v=k.body;if(v.type==="BlockStatement"){const k=this.prevStatement;this.blockPreWalkStatements(v.body);this.prevStatement=k;this.walkStatements(v.body)}else{this.walkNestedStatement(v)}}))}preWalkFunctionDeclaration(k){if(k.id){this.defineVariable(k.id.name)}}walkFunctionDeclaration(k){const v=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,k.params,(()=>{for(const v of k.params){this.walkPattern(v)}if(k.body.type==="BlockStatement"){this.detectMode(k.body.body);const v=this.prevStatement;this.preWalkStatement(k.body);this.prevStatement=v;this.walkStatement(k.body)}else{this.walkExpression(k.body)}}));this.scope.topLevelScope=v}blockPreWalkExpressionStatement(k){const v=k.expression;switch(v.type){case"AssignmentExpression":this.preWalkAssignmentExpression(v)}}preWalkAssignmentExpression(k){if(k.left.type!=="ObjectPattern"||!this.destructuringAssignmentProperties)return;const v=this._preWalkObjectPattern(k.left);if(!v)return;if(this.destructuringAssignmentProperties.has(k)){const E=this.destructuringAssignmentProperties.get(k);this.destructuringAssignmentProperties.delete(k);for(const k of E)v.add(k)}this.destructuringAssignmentProperties.set(k.right.type==="AwaitExpression"?k.right.argument:k.right,v);if(k.right.type==="AssignmentExpression"){this.preWalkAssignmentExpression(k.right)}}blockPreWalkImportDeclaration(k){const v=k.source.value;this.hooks.import.call(k,v);for(const E of k.specifiers){const P=E.local.name;switch(E.type){case"ImportDefaultSpecifier":if(!this.hooks.importSpecifier.call(k,v,"default",P)){this.defineVariable(P)}break;case"ImportSpecifier":if(!this.hooks.importSpecifier.call(k,v,E.imported.name||E.imported.value,P)){this.defineVariable(P)}break;case"ImportNamespaceSpecifier":if(!this.hooks.importSpecifier.call(k,v,null,P)){this.defineVariable(P)}break;default:this.defineVariable(P)}}}enterDeclaration(k,v){switch(k.type){case"VariableDeclaration":for(const E of k.declarations){switch(E.type){case"VariableDeclarator":{this.enterPattern(E.id,v);break}}}break;case"FunctionDeclaration":this.enterPattern(k.id,v);break;case"ClassDeclaration":this.enterPattern(k.id,v);break}}blockPreWalkExportNamedDeclaration(k){let v;if(k.source){v=k.source.value;this.hooks.exportImport.call(k,v)}else{this.hooks.export.call(k)}if(k.declaration){if(!this.hooks.exportDeclaration.call(k,k.declaration)){const v=this.prevStatement;this.preWalkStatement(k.declaration);this.prevStatement=v;this.blockPreWalkStatement(k.declaration);let E=0;this.enterDeclaration(k.declaration,(v=>{this.hooks.exportSpecifier.call(k,v,v,E++)}))}}if(k.specifiers){for(let E=0;E{let P=v.get(k);if(P===undefined||!P.call(E)){P=this.hooks.varDeclaration.get(k);if(P===undefined||!P.call(E)){this.defineVariable(k)}}}))}break}}}}_preWalkObjectPattern(k){const v=new Set;const E=k.properties;for(let k=0;k{const v=k.length;for(let E=0;E0){const k=this.prevStatement;this.blockPreWalkStatements(v.consequent);this.prevStatement=k}}for(let E=0;E0){this.walkStatements(v.consequent)}}}))}preWalkCatchClause(k){this.preWalkStatement(k.body)}walkCatchClause(k){this.inBlockScope((()=>{if(k.param!==null){this.enterPattern(k.param,(k=>{this.defineVariable(k)}));this.walkPattern(k.param)}const v=this.prevStatement;this.blockPreWalkStatement(k.body);this.prevStatement=v;this.walkStatement(k.body)}))}walkPattern(k){switch(k.type){case"ArrayPattern":this.walkArrayPattern(k);break;case"AssignmentPattern":this.walkAssignmentPattern(k);break;case"MemberExpression":this.walkMemberExpression(k);break;case"ObjectPattern":this.walkObjectPattern(k);break;case"RestElement":this.walkRestElement(k);break}}walkAssignmentPattern(k){this.walkExpression(k.right);this.walkPattern(k.left)}walkObjectPattern(k){for(let v=0,E=k.properties.length;v{for(const v of k.params){this.walkPattern(v)}if(k.body.type==="BlockStatement"){this.detectMode(k.body.body);const v=this.prevStatement;this.preWalkStatement(k.body);this.prevStatement=v;this.walkStatement(k.body)}else{this.walkExpression(k.body)}}));this.scope.topLevelScope=v}walkArrowFunctionExpression(k){const v=this.scope.topLevelScope;this.scope.topLevelScope=v?"arrow":false;this.inFunctionScope(false,k.params,(()=>{for(const v of k.params){this.walkPattern(v)}if(k.body.type==="BlockStatement"){this.detectMode(k.body.body);const v=this.prevStatement;this.preWalkStatement(k.body);this.prevStatement=v;this.walkStatement(k.body)}else{this.walkExpression(k.body)}}));this.scope.topLevelScope=v}walkSequenceExpression(k){if(!k.expressions)return;const v=this.statementPath[this.statementPath.length-1];if(v===k||v.type==="ExpressionStatement"&&v.expression===k){const v=this.statementPath.pop();for(const v of k.expressions){this.statementPath.push(v);this.walkExpression(v);this.statementPath.pop()}this.statementPath.push(v)}else{this.walkExpressions(k.expressions)}}walkUpdateExpression(k){this.walkExpression(k.argument)}walkUnaryExpression(k){if(k.operator==="typeof"){const v=this.callHooksForExpression(this.hooks.typeof,k.argument,k);if(v===true)return;if(k.argument.type==="ChainExpression"){const v=this.callHooksForExpression(this.hooks.typeof,k.argument.expression,k);if(v===true)return}}this.walkExpression(k.argument)}walkLeftRightExpression(k){this.walkExpression(k.left);this.walkExpression(k.right)}walkBinaryExpression(k){if(this.hooks.binaryExpression.call(k)===undefined){this.walkLeftRightExpression(k)}}walkLogicalExpression(k){const v=this.hooks.expressionLogicalOperator.call(k);if(v===undefined){this.walkLeftRightExpression(k)}else{if(v){this.walkExpression(k.right)}}}walkAssignmentExpression(k){if(k.left.type==="Identifier"){const v=this.getRenameIdentifier(k.right);if(v){if(this.callHooksForInfo(this.hooks.canRename,v,k.right)){if(!this.callHooksForInfo(this.hooks.rename,v,k.right)){this.setVariable(k.left.name,typeof v==="string"?this.getVariableInfo(v):v)}return}}this.walkExpression(k.right);this.enterPattern(k.left,((v,E)=>{if(!this.callHooksForName(this.hooks.assign,v,k)){this.walkExpression(k.left)}}));return}if(k.left.type.endsWith("Pattern")){this.walkExpression(k.right);this.enterPattern(k.left,((v,E)=>{if(!this.callHooksForName(this.hooks.assign,v,k)){this.defineVariable(v)}}));this.walkPattern(k.left)}else if(k.left.type==="MemberExpression"){const v=this.getMemberExpressionInfo(k.left,Me);if(v){if(this.callHooksForInfo(this.hooks.assignMemberChain,v.rootInfo,k,v.getMembers())){return}}this.walkExpression(k.right);this.walkExpression(k.left)}else{this.walkExpression(k.right);this.walkExpression(k.left)}}walkConditionalExpression(k){const v=this.hooks.expressionConditionalOperator.call(k);if(v===undefined){this.walkExpression(k.test);this.walkExpression(k.consequent);if(k.alternate){this.walkExpression(k.alternate)}}else{if(v){this.walkExpression(k.consequent)}else if(k.alternate){this.walkExpression(k.alternate)}}}walkNewExpression(k){const v=this.callHooksForExpression(this.hooks.new,k.callee,k);if(v===true)return;this.walkExpression(k.callee);if(k.arguments){this.walkExpressions(k.arguments)}}walkYieldExpression(k){if(k.argument){this.walkExpression(k.argument)}}walkTemplateLiteral(k){if(k.expressions){this.walkExpressions(k.expressions)}}walkTaggedTemplateExpression(k){if(k.tag){this.walkExpression(k.tag)}if(k.quasi&&k.quasi.expressions){this.walkExpressions(k.quasi.expressions)}}walkClassExpression(k){this.walkClass(k)}walkChainExpression(k){const v=this.hooks.optionalChaining.call(k);if(v===undefined){if(k.expression.type==="CallExpression"){this.walkCallExpression(k.expression)}else{this.walkMemberExpression(k.expression)}}}_walkIIFE(k,v,E){const getVarInfo=k=>{const v=this.getRenameIdentifier(k);if(v){if(this.callHooksForInfo(this.hooks.canRename,v,k)){if(!this.callHooksForInfo(this.hooks.rename,v,k)){return typeof v==="string"?this.getVariableInfo(v):v}}}this.walkExpression(k)};const{params:P,type:R}=k;const L=R==="ArrowFunctionExpression";const N=E?getVarInfo(E):null;const q=v.map(getVarInfo);const ae=this.scope.topLevelScope;this.scope.topLevelScope=ae&&L?"arrow":false;const le=P.filter(((k,v)=>!q[v]));if(k.id){le.push(k.id.name)}this.inFunctionScope(true,le,(()=>{if(N&&!L){this.setVariable("this",N)}for(let k=0;kk.params.every((k=>k.type==="Identifier"));if(k.callee.type==="MemberExpression"&&k.callee.object.type.endsWith("FunctionExpression")&&!k.callee.computed&&(k.callee.property.name==="call"||k.callee.property.name==="bind")&&k.arguments.length>0&&isSimpleFunction(k.callee.object)){this._walkIIFE(k.callee.object,k.arguments.slice(1),k.arguments[0])}else if(k.callee.type.endsWith("FunctionExpression")&&isSimpleFunction(k.callee)){this._walkIIFE(k.callee,k.arguments,null)}else{if(k.callee.type==="MemberExpression"){const v=this.getMemberExpressionInfo(k.callee,Ie);if(v&&v.type==="call"){const E=this.callHooksForInfo(this.hooks.callMemberChainOfCallMemberChain,v.rootInfo,k,v.getCalleeMembers(),v.call,v.getMembers());if(E===true)return}}const v=this.evaluateExpression(k.callee);if(v.isIdentifier()){const E=this.callHooksForInfo(this.hooks.callMemberChain,v.rootInfo,k,v.getMembers(),v.getMembersOptionals?v.getMembersOptionals():v.getMembers().map((()=>false)),v.getMemberRanges?v.getMemberRanges():[]);if(E===true)return;const P=this.callHooksForInfo(this.hooks.call,v.identifier,k);if(P===true)return}if(k.callee){if(k.callee.type==="MemberExpression"){this.walkExpression(k.callee.object);if(k.callee.computed===true)this.walkExpression(k.callee.property)}else{this.walkExpression(k.callee)}}if(k.arguments)this.walkExpressions(k.arguments)}}walkMemberExpression(k){const v=this.getMemberExpressionInfo(k,Te);if(v){switch(v.type){case"expression":{const E=this.callHooksForInfo(this.hooks.expression,v.name,k);if(E===true)return;const P=v.getMembers();const R=v.getMembersOptionals();const L=v.getMemberRanges();const N=this.callHooksForInfo(this.hooks.expressionMemberChain,v.rootInfo,k,P,R,L);if(N===true)return;this.walkMemberExpressionWithExpressionName(k,v.name,v.rootInfo,P.slice(),(()=>this.callHooksForInfo(this.hooks.unhandledExpressionMemberChain,v.rootInfo,k,P)));return}case"call":{const E=this.callHooksForInfo(this.hooks.memberChainOfCallMemberChain,v.rootInfo,k,v.getCalleeMembers(),v.call,v.getMembers());if(E===true)return;this.walkExpression(v.call);return}}}this.walkExpression(k.object);if(k.computed===true)this.walkExpression(k.property)}walkMemberExpressionWithExpressionName(k,v,E,P,R){if(k.object.type==="MemberExpression"){const L=k.property.name||`${k.property.value}`;v=v.slice(0,-L.length-1);P.pop();const N=this.callHooksForInfo(this.hooks.expression,v,k.object);if(N===true)return;this.walkMemberExpressionWithExpressionName(k.object,v,E,P,R)}else if(!R||!R()){this.walkExpression(k.object)}if(k.computed===true)this.walkExpression(k.property)}walkThisExpression(k){this.callHooksForName(this.hooks.expression,"this",k)}walkIdentifier(k){this.callHooksForName(this.hooks.expression,k.name,k)}walkMetaProperty(k){this.hooks.expression.for(getRootName(k)).call(k)}callHooksForExpression(k,v,...E){return this.callHooksForExpressionWithFallback(k,v,undefined,undefined,...E)}callHooksForExpressionWithFallback(k,v,E,P,...R){const L=this.getMemberExpressionInfo(v,Me);if(L!==undefined){const v=L.getMembers();return this.callHooksForInfoWithFallback(k,v.length===0?L.rootInfo:L.name,E&&(k=>E(k,L.rootInfo,L.getMembers)),P&&(()=>P(L.name)),...R)}}callHooksForName(k,v,...E){return this.callHooksForNameWithFallback(k,v,undefined,undefined,...E)}callHooksForInfo(k,v,...E){return this.callHooksForInfoWithFallback(k,v,undefined,undefined,...E)}callHooksForInfoWithFallback(k,v,E,P,...R){let L;if(typeof v==="string"){L=v}else{if(!(v instanceof VariableInfo)){if(P!==undefined){return P()}return}let E=v.tagInfo;while(E!==undefined){const v=k.get(E.tag);if(v!==undefined){this.currentTagData=E.data;const k=v.call(...R);this.currentTagData=undefined;if(k!==undefined)return k}E=E.next}if(v.freeName===true){if(P!==undefined){return P()}return}L=v.freeName}const N=k.get(L);if(N!==undefined){const k=N.call(...R);if(k!==undefined)return k}if(E!==undefined){return E(L)}}callHooksForNameWithFallback(k,v,E,P,...R){return this.callHooksForInfoWithFallback(k,this.getVariableInfo(v),E,P,...R)}inScope(k,v){const E=this.scope;this.scope={topLevelScope:E.topLevelScope,inTry:false,inShorthand:false,isStrict:E.isStrict,isAsmJs:E.isAsmJs,definitions:E.definitions.createChild()};this.undefineVariable("this");this.enterPatterns(k,((k,v)=>{this.defineVariable(k)}));v();this.scope=E}inClassScope(k,v,E){const P=this.scope;this.scope={topLevelScope:P.topLevelScope,inTry:false,inShorthand:false,isStrict:P.isStrict,isAsmJs:P.isAsmJs,definitions:P.definitions.createChild()};if(k){this.undefineVariable("this")}this.enterPatterns(v,((k,v)=>{this.defineVariable(k)}));E();this.scope=P}inFunctionScope(k,v,E){const P=this.scope;this.scope={topLevelScope:P.topLevelScope,inTry:false,inShorthand:false,isStrict:P.isStrict,isAsmJs:P.isAsmJs,definitions:P.definitions.createChild()};if(k){this.undefineVariable("this")}this.enterPatterns(v,((k,v)=>{this.defineVariable(k)}));E();this.scope=P}inBlockScope(k){const v=this.scope;this.scope={topLevelScope:v.topLevelScope,inTry:v.inTry,inShorthand:false,isStrict:v.isStrict,isAsmJs:v.isAsmJs,definitions:v.definitions.createChild()};k();this.scope=v}detectMode(k){const v=k.length>=1&&k[0].type==="ExpressionStatement"&&k[0].expression.type==="Literal";if(v&&k[0].expression.value==="use strict"){this.scope.isStrict=true}if(v&&k[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(k,v){for(const E of k){if(typeof E!=="string"){this.enterPattern(E,v)}else if(E){v(E)}}}enterPattern(k,v){if(!k)return;switch(k.type){case"ArrayPattern":this.enterArrayPattern(k,v);break;case"AssignmentPattern":this.enterAssignmentPattern(k,v);break;case"Identifier":this.enterIdentifier(k,v);break;case"ObjectPattern":this.enterObjectPattern(k,v);break;case"RestElement":this.enterRestElement(k,v);break;case"Property":if(k.shorthand&&k.value.type==="Identifier"){this.scope.inShorthand=k.value.name;this.enterIdentifier(k.value,v);this.scope.inShorthand=false}else{this.enterPattern(k.value,v)}break}}enterIdentifier(k,v){if(!this.callHooksForName(this.hooks.pattern,k.name,k)){v(k.name,k)}}enterObjectPattern(k,v){for(let E=0,P=k.properties.length;ER.add(k)})}const L=this.scope;const N=this.state;const q=this.comments;const ae=this.semicolons;const pe=this.statementPath;const me=this.prevStatement;this.scope={topLevelScope:true,inTry:false,inShorthand:false,isStrict:false,isAsmJs:false,definitions:new le};this.state=v;this.comments=P;this.semicolons=R;this.statementPath=[];this.prevStatement=undefined;if(this.hooks.program.call(E,P)===undefined){this.destructuringAssignmentProperties=new WeakMap;this.detectMode(E.body);this.preWalkStatements(E.body);this.prevStatement=undefined;this.blockPreWalkStatements(E.body);this.prevStatement=undefined;this.walkStatements(E.body);this.destructuringAssignmentProperties=undefined}this.hooks.finish.call(E,P);this.scope=L;this.state=N;this.comments=q;this.semicolons=ae;this.statementPath=pe;this.prevStatement=me;return v}evaluate(k){const v=JavascriptParser._parse("("+k+")",{sourceType:this.sourceType,locations:false});if(v.body.length!==1||v.body[0].type!=="ExpressionStatement"){throw new Error("evaluate: Source is not a expression")}return this.evaluateExpression(v.body[0].expression)}isPure(k,v){if(!k)return true;const E=this.hooks.isPure.for(k.type).call(k,v);if(typeof E==="boolean")return E;switch(k.type){case"ClassDeclaration":case"ClassExpression":{if(k.body.type!=="ClassBody")return false;if(k.superClass&&!this.isPure(k.superClass,k.range[0])){return false}const v=k.body.body;return v.every((k=>{if(k.computed&&k.key&&!this.isPure(k.key,k.range[0])){return false}if(k.static&&k.value&&!this.isPure(k.value,k.key?k.key.range[1]:k.range[0])){return false}if(k.type==="StaticBlock"){return false}return true}))}case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ThisExpression":case"Literal":case"TemplateLiteral":case"Identifier":case"PrivateIdentifier":return true;case"VariableDeclaration":return k.declarations.every((k=>this.isPure(k.init,k.range[0])));case"ConditionalExpression":return this.isPure(k.test,v)&&this.isPure(k.consequent,k.test.range[1])&&this.isPure(k.alternate,k.consequent.range[1]);case"LogicalExpression":return this.isPure(k.left,v)&&this.isPure(k.right,k.left.range[1]);case"SequenceExpression":return k.expressions.every((k=>{const E=this.isPure(k,v);v=k.range[1];return E}));case"CallExpression":{const E=k.range[0]-v>12&&this.getComments([v,k.range[0]]).some((k=>k.type==="Block"&&/^\s*(#|@)__PURE__\s*$/.test(k.value)));if(!E)return false;v=k.callee.range[1];return k.arguments.every((k=>{if(k.type==="SpreadElement")return false;const E=this.isPure(k,v);v=k.range[1];return E}))}}const P=this.evaluateExpression(k);return!P.couldHaveSideEffects()}getComments(k){const[v,E]=k;const compare=(k,v)=>k.range[0]-v;let P=pe.ge(this.comments,v,compare);let R=[];while(this.comments[P]&&this.comments[P].range[1]<=E){R.push(this.comments[P]);P++}return R}isAsiPosition(k){const v=this.statementPath[this.statementPath.length-1];if(v===undefined)throw new Error("Not in statement");return v.range[1]===k&&this.semicolons.has(k)||v.range[0]===k&&this.prevStatement!==undefined&&this.semicolons.has(this.prevStatement.range[1])}unsetAsiPosition(k){this.semicolons.delete(k)}isStatementLevelExpression(k){const v=this.statementPath[this.statementPath.length-1];return k===v||v.type==="ExpressionStatement"&&v.expression===k}getTagData(k,v){const E=this.scope.definitions.get(k);if(E instanceof VariableInfo){let k=E.tagInfo;while(k!==undefined){if(k.tag===v)return k.data;k=k.next}}}tagVariable(k,v,E){const P=this.scope.definitions.get(k);let R;if(P===undefined){R=new VariableInfo(this.scope,k,{tag:v,data:E,next:undefined})}else if(P instanceof VariableInfo){R=new VariableInfo(P.declaredScope,P.freeName,{tag:v,data:E,next:P.tagInfo})}else{R=new VariableInfo(P,true,{tag:v,data:E,next:undefined})}this.scope.definitions.set(k,R)}defineVariable(k){const v=this.scope.definitions.get(k);if(v instanceof VariableInfo&&v.declaredScope===this.scope)return;this.scope.definitions.set(k,this.scope)}undefineVariable(k){this.scope.definitions.delete(k)}isVariableDefined(k){const v=this.scope.definitions.get(k);if(v===undefined)return false;if(v instanceof VariableInfo){return v.freeName===true}return true}getVariableInfo(k){const v=this.scope.definitions.get(k);if(v===undefined){return k}else{return v}}setVariable(k,v){if(typeof v==="string"){if(v===k){this.scope.definitions.delete(k)}else{this.scope.definitions.set(k,new VariableInfo(this.scope,v,undefined))}}else{this.scope.definitions.set(k,v)}}evaluatedVariable(k){return new VariableInfo(this.scope,undefined,k)}parseCommentOptions(k){const v=this.getComments(k);if(v.length===0){return qe}let E={};let P=[];for(const k of v){const{value:v}=k;if(v&&Be.test(v)){try{for(let[k,P]of Object.entries(q.runInNewContext(`(function(){return {${v}};})()`))){if(typeof P==="object"&&P!==null){if(P.constructor.name==="RegExp")P=new RegExp(P);else P=JSON.parse(JSON.stringify(P))}E[k]=P}}catch(v){const E=new Error(String(v.message));E.stack=String(v.stack);Object.assign(E,{comment:k});P.push(E)}}}return{options:E,errors:P}}extractMemberExpressionChain(k){let v=k;const E=[];const P=[];const R=[];while(v.type==="MemberExpression"){if(v.computed){if(v.property.type!=="Literal")break;E.push(`${v.property.value}`);R.push(v.object.range)}else{if(v.property.type!=="Identifier")break;E.push(v.property.name);R.push(v.object.range)}P.push(v.optional);v=v.object}return{members:E,membersOptionals:P,memberRanges:R,object:v}}getFreeInfoFromVariable(k){const v=this.getVariableInfo(k);let E;if(v instanceof VariableInfo){E=v.freeName;if(typeof E!=="string")return undefined}else if(typeof v!=="string"){return undefined}else{E=v}return{info:v,name:E}}getMemberExpressionInfo(k,v){const{object:E,members:P,membersOptionals:R,memberRanges:L}=this.extractMemberExpressionChain(k);switch(E.type){case"CallExpression":{if((v&Ie)===0)return undefined;let k=E.callee;let N=_e;if(k.type==="MemberExpression"){({object:k,members:N}=this.extractMemberExpressionChain(k))}const q=getRootName(k);if(!q)return undefined;const ae=this.getFreeInfoFromVariable(q);if(!ae)return undefined;const{info:le,name:pe}=ae;const ye=objectAndMembersToName(pe,N);return{type:"call",call:E,calleeName:ye,rootInfo:le,getCalleeMembers:me((()=>N.reverse())),name:objectAndMembersToName(`${ye}()`,P),getMembers:me((()=>P.reverse())),getMembersOptionals:me((()=>R.reverse())),getMemberRanges:me((()=>L.reverse()))}}case"Identifier":case"MetaProperty":case"ThisExpression":{if((v&Me)===0)return undefined;const k=getRootName(E);if(!k)return undefined;const N=this.getFreeInfoFromVariable(k);if(!N)return undefined;const{info:q,name:ae}=N;return{type:"expression",name:objectAndMembersToName(ae,P),rootInfo:q,getMembers:me((()=>P.reverse())),getMembersOptionals:me((()=>R.reverse())),getMemberRanges:me((()=>L.reverse()))}}}}getNameForExpression(k){return this.getMemberExpressionInfo(k,Me)}static _parse(k,v){const E=v?v.sourceType:"module";const P={...Ne,allowReturnOutsideFunction:E==="script",...v,sourceType:E==="auto"?"module":E};let R;let L;let N=false;try{R=je.parse(k,P)}catch(k){L=k;N=true}if(N&&E==="auto"){P.sourceType="script";if(!("allowReturnOutsideFunction"in v)){P.allowReturnOutsideFunction=true}if(Array.isArray(P.onComment)){P.onComment.length=0}try{R=je.parse(k,P);N=false}catch(k){}}if(N){throw L}return R}}k.exports=JavascriptParser;k.exports.ALLOWED_MEMBER_TYPES_ALL=Te;k.exports.ALLOWED_MEMBER_TYPES_EXPRESSION=Me;k.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION=Ie},80784:function(k,v,E){"use strict";const P=E(9415);const R=E(60381);const L=E(70037);v.toConstantDependency=(k,v,E)=>function constDependency(P){const L=new R(v,P.range,E);L.loc=P.loc;k.state.module.addPresentationalDependency(L);return true};v.evaluateToString=k=>function stringExpression(v){return(new L).setString(k).setRange(v.range)};v.evaluateToNumber=k=>function stringExpression(v){return(new L).setNumber(k).setRange(v.range)};v.evaluateToBoolean=k=>function booleanExpression(v){return(new L).setBoolean(k).setRange(v.range)};v.evaluateToIdentifier=(k,v,E,P)=>function identifierExpression(R){let N=(new L).setIdentifier(k,v,E).setSideEffects(false).setRange(R.range);switch(P){case true:N.setTruthy();break;case null:N.setNullish(true);break;case false:N.setFalsy();break}return N};v.expressionIsUnsupported=(k,v)=>function unsupportedExpression(E){const L=new R("(void 0)",E.range,null);L.loc=E.loc;k.state.module.addPresentationalDependency(L);if(!k.state.module)return;k.state.module.addWarning(new P(v,E.loc));return true};v.skipTraversal=()=>true;v.approve=()=>true},73777:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const{isSubset:L}=E(59959);const{getAllChunks:N}=E(72130);const q=`var ${P.exports} = `;v.generateEntryStartup=(k,v,E,ae,le)=>{const pe=[`var __webpack_exec__ = ${v.returningFunction(`${P.require}(${P.entryModuleId} = moduleId)`,"moduleId")}`];const runModule=k=>`__webpack_exec__(${JSON.stringify(k)})`;const outputCombination=(k,E,R)=>{if(k.size===0){pe.push(`${R?q:""}(${E.map(runModule).join(", ")});`)}else{const L=v.returningFunction(E.map(runModule).join(", "));pe.push(`${R&&!le?q:""}${le?P.onChunksLoaded:P.startupEntrypoint}(0, ${JSON.stringify(Array.from(k,(k=>k.id)))}, ${L});`);if(R&&le){pe.push(`${q}${P.onChunksLoaded}();`)}}};let me=undefined;let ye=undefined;for(const[v,P]of E){const E=P.getRuntimeChunk();const R=k.getModuleId(v);const q=N(P,ae,E);if(me&&me.size===q.size&&L(me,q)){ye.push(R)}else{if(me){outputCombination(me,ye)}me=q;ye=[R]}}if(me){outputCombination(me,ye,true)}pe.push("");return R.asString(pe)};v.updateHashForEntryStartup=(k,v,E,P)=>{for(const[R,L]of E){const E=L.getRuntimeChunk();const q=v.getModuleId(R);k.update(`${q}`);for(const v of N(L,P,E))k.update(`${v.id}`)}};v.getInitialChunkIds=(k,v,E)=>{const P=new Set(k.ids);for(const R of k.getAllInitialChunks()){if(R===k||E(R,v))continue;for(const k of R.ids)P.add(k)}return P}},15114:function(k,v,E){"use strict";const{register:P}=E(52456);class JsonData{constructor(k){this._buffer=undefined;this._data=undefined;if(Buffer.isBuffer(k)){this._buffer=k}else{this._data=k}}get(){if(this._data===undefined&&this._buffer!==undefined){this._data=JSON.parse(this._buffer.toString())}return this._data}updateHash(k){if(this._buffer===undefined&&this._data!==undefined){this._buffer=Buffer.from(JSON.stringify(this._data))}if(this._buffer)k.update(this._buffer)}}P(JsonData,"webpack/lib/json/JsonData",null,{serialize(k,{write:v}){if(k._buffer===undefined&&k._data!==undefined){k._buffer=Buffer.from(JSON.stringify(k._data))}v(k._buffer)},deserialize({read:k}){return new JsonData(k())}});k.exports=JsonData},44734:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(91213);const{UsageState:L}=E(11172);const N=E(91597);const q=E(56727);const stringifySafe=k=>{const v=JSON.stringify(k);if(!v){return undefined}return v.replace(/\u2028|\u2029/g,(k=>k==="\u2029"?"\\u2029":"\\u2028"))};const createObjectForExportsInfo=(k,v,E)=>{if(v.otherExportsInfo.getUsed(E)!==L.Unused)return k;const P=Array.isArray(k);const R=P?[]:{};for(const P of Object.keys(k)){const N=v.getReadOnlyExportInfo(P);const q=N.getUsed(E);if(q===L.Unused)continue;let ae;if(q===L.OnlyPropertiesUsed&&N.exportsInfo){ae=createObjectForExportsInfo(k[P],N.exportsInfo,E)}else{ae=k[P]}const le=N.getUsedName(P,E);R[le]=ae}if(P){let P=v.getReadOnlyExportInfo("length").getUsed(E)!==L.Unused?k.length:undefined;let N=0;for(let k=0;k20&&typeof ye==="object"?`JSON.parse('${_e.replace(/[\\']/g,"\\$&")}')`:_e;let Me;if(le){Me=`${E.supportsConst()?"const":"var"} ${R.NAMESPACE_OBJECT_EXPORT} = ${Ie};`;le.registerNamespaceExport(R.NAMESPACE_OBJECT_EXPORT)}else{N.add(q.module);Me=`${k.moduleArgument}.exports = ${Ie};`}return new P(Me)}}k.exports=JsonGenerator},7671:function(k,v,E){"use strict";const{JSON_MODULE_TYPE:P}=E(93622);const R=E(92198);const L=E(44734);const N=E(61117);const q=R(E(57583),(()=>E(40013)),{name:"Json Modules Plugin",baseDataPath:"parser"});const ae="JsonModulesPlugin";class JsonModulesPlugin{apply(k){k.hooks.compilation.tap(ae,((k,{normalModuleFactory:v})=>{v.hooks.createParser.for(P).tap(ae,(k=>{q(k);return new N(k)}));v.hooks.createGenerator.for(P).tap(ae,(()=>new L))}))}}k.exports=JsonModulesPlugin},61117:function(k,v,E){"use strict";const P=E(17381);const R=E(19179);const L=E(20631);const N=E(15114);const q=L((()=>E(54650)));class JsonParser extends P{constructor(k){super();this.options=k||{}}parse(k,v){if(Buffer.isBuffer(k)){k=k.toString("utf-8")}const E=typeof this.options.parse==="function"?this.options.parse:q();let P;try{P=typeof k==="object"?k:E(k[0]==="\ufeff"?k.slice(1):k)}catch(k){throw new Error(`Cannot parse JSON: ${k.message}`)}const L=new N(P);const ae=v.module.buildInfo;ae.jsonData=L;ae.strict=true;const le=v.module.buildMeta;le.exportsType="default";le.defaultObject=typeof P==="object"?"redirect-warn":false;v.module.addDependency(new R(L));return v}}k.exports=JsonParser},15893:function(k,v,E){"use strict";const P=E(56727);const R=E(89168);const L="Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.";class AbstractLibraryPlugin{constructor({pluginName:k,type:v}){this._pluginName=k;this._type=v;this._parseCache=new WeakMap}apply(k){const{_pluginName:v}=this;k.hooks.thisCompilation.tap(v,(k=>{k.hooks.finishModules.tap({name:v,stage:10},(()=>{for(const[v,{dependencies:E,options:{library:P}}]of k.entries){const R=this._parseOptionsCached(P!==undefined?P:k.outputOptions.library);if(R!==false){const P=E[E.length-1];if(P){const E=k.moduleGraph.getModule(P);if(E){this.finishEntryModule(E,v,{options:R,compilation:k,chunkGraph:k.chunkGraph})}}}}}));const getOptionsForChunk=v=>{if(k.chunkGraph.getNumberOfEntryModules(v)===0)return false;const E=v.getEntryOptions();const P=E&&E.library;return this._parseOptionsCached(P!==undefined?P:k.outputOptions.library)};if(this.render!==AbstractLibraryPlugin.prototype.render||this.runtimeRequirements!==AbstractLibraryPlugin.prototype.runtimeRequirements){k.hooks.additionalChunkRuntimeRequirements.tap(v,((v,E,{chunkGraph:P})=>{const R=getOptionsForChunk(v);if(R!==false){this.runtimeRequirements(v,E,{options:R,compilation:k,chunkGraph:P})}}))}const E=R.getCompilationHooks(k);if(this.render!==AbstractLibraryPlugin.prototype.render){E.render.tap(v,((v,E)=>{const P=getOptionsForChunk(E.chunk);if(P===false)return v;return this.render(v,E,{options:P,compilation:k,chunkGraph:k.chunkGraph})}))}if(this.embedInRuntimeBailout!==AbstractLibraryPlugin.prototype.embedInRuntimeBailout){E.embedInRuntimeBailout.tap(v,((v,E)=>{const P=getOptionsForChunk(E.chunk);if(P===false)return;return this.embedInRuntimeBailout(v,E,{options:P,compilation:k,chunkGraph:k.chunkGraph})}))}if(this.strictRuntimeBailout!==AbstractLibraryPlugin.prototype.strictRuntimeBailout){E.strictRuntimeBailout.tap(v,(v=>{const E=getOptionsForChunk(v.chunk);if(E===false)return;return this.strictRuntimeBailout(v,{options:E,compilation:k,chunkGraph:k.chunkGraph})}))}if(this.renderStartup!==AbstractLibraryPlugin.prototype.renderStartup){E.renderStartup.tap(v,((v,E,P)=>{const R=getOptionsForChunk(P.chunk);if(R===false)return v;return this.renderStartup(v,E,P,{options:R,compilation:k,chunkGraph:k.chunkGraph})}))}E.chunkHash.tap(v,((v,E,P)=>{const R=getOptionsForChunk(v);if(R===false)return;this.chunkHash(v,E,P,{options:R,compilation:k,chunkGraph:k.chunkGraph})}))}))}_parseOptionsCached(k){if(!k)return false;if(k.type!==this._type)return false;const v=this._parseCache.get(k);if(v!==undefined)return v;const E=this.parseOptions(k);this._parseCache.set(k,E);return E}parseOptions(k){const v=E(60386);throw new v}finishEntryModule(k,v,E){}embedInRuntimeBailout(k,v,E){return undefined}strictRuntimeBailout(k,v){return undefined}runtimeRequirements(k,v,E){if(this.render!==AbstractLibraryPlugin.prototype.render)v.add(P.returnExportsFromRuntime)}render(k,v,E){return k}renderStartup(k,v,E,P){return k}chunkHash(k,v,E,P){const R=this._parseOptionsCached(P.compilation.outputOptions.library);v.update(this._pluginName);v.update(JSON.stringify(R))}}AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE=L;k.exports=AbstractLibraryPlugin},54035:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const R=E(10849);const L=E(95041);const N=E(15893);class AmdLibraryPlugin extends N{constructor(k){super({pluginName:"AmdLibraryPlugin",type:k.type});this.requireAsWrapper=k.requireAsWrapper}parseOptions(k){const{name:v,amdContainer:E}=k;if(this.requireAsWrapper){if(v){throw new Error(`AMD library name must be unset. ${N.COMMON_LIBRARY_NAME_MESSAGE}`)}}else{if(v&&typeof v!=="string"){throw new Error(`AMD library name must be a simple string or unset. ${N.COMMON_LIBRARY_NAME_MESSAGE}`)}}return{name:v,amdContainer:E}}render(k,{chunkGraph:v,chunk:E,runtimeTemplate:N},{options:q,compilation:ae}){const le=N.supportsArrowFunction();const pe=v.getChunkModules(E).filter((k=>k instanceof R));const me=pe;const ye=JSON.stringify(me.map((k=>typeof k.request==="object"&&!Array.isArray(k.request)?k.request.amd:k.request)));const _e=me.map((k=>`__WEBPACK_EXTERNAL_MODULE_${L.toIdentifier(`${v.getModuleId(k)}`)}__`)).join(", ");const Ie=N.isIIFE();const Me=(le?`(${_e}) => {`:`function(${_e}) {`)+(Ie||!E.hasRuntime()?" return ":"\n");const Te=Ie?";\n}":"\n}";let je="";if(q.amdContainer){je=`${q.amdContainer}.`}if(this.requireAsWrapper){return new P(`${je}require(${ye}, ${Me}`,k,`${Te});`)}else if(q.name){const v=ae.getPath(q.name,{chunk:E});return new P(`${je}define(${JSON.stringify(v)}, ${ye}, ${Me}`,k,`${Te});`)}else if(_e){return new P(`${je}define(${ye}, ${Me}`,k,`${Te});`)}else{return new P(`${je}define(${Me}`,k,`${Te});`)}}chunkHash(k,v,E,{options:P,compilation:R}){v.update("AmdLibraryPlugin");if(this.requireAsWrapper){v.update("requireAsWrapper")}else if(P.name){v.update("named");const E=R.getPath(P.name,{chunk:k});v.update(E)}else if(P.amdContainer){v.update("amdContainer");v.update(P.amdContainer)}}}k.exports=AmdLibraryPlugin},56768:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const{UsageState:R}=E(11172);const L=E(56727);const N=E(95041);const q=E(10720);const{getEntryRuntime:ae}=E(1540);const le=E(15893);const pe=/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;const me=/^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu;const isNameValid=k=>!pe.test(k)&&me.test(k);const accessWithInit=(k,v,E=false)=>{const P=k[0];if(k.length===1&&!E)return P;let R=v>0?P:`(${P} = typeof ${P} === "undefined" ? {} : ${P})`;let L=1;let N;if(v>L){N=k.slice(1,v);L=v;R+=q(N)}else{N=[]}const ae=E?k.length:k.length-1;for(;LE.getPath(k,{chunk:v})))}render(k,{chunk:v},{options:E,compilation:R}){const L=this._getResolvedFullName(E,v,R);if(this.declare){const v=L[0];if(!isNameValid(v)){throw new Error(`Library name base (${v}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${N.toIdentifier(v)}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${le.COMMON_LIBRARY_NAME_MESSAGE}`)}k=new P(`${this.declare} ${v};\n`,k)}return k}embedInRuntimeBailout(k,{chunk:v,codeGenerationResults:E},{options:P,compilation:R}){const{data:L}=E.get(k,v.runtime);const N=L&&L.get("topLevelDeclarations")||k.buildInfo&&k.buildInfo.topLevelDeclarations;if(!N)return"it doesn't tell about top level declarations.";const q=this._getResolvedFullName(P,v,R);const ae=q[0];if(N.has(ae))return`it declares '${ae}' on top-level, which conflicts with the current library output.`}strictRuntimeBailout({chunk:k},{options:v,compilation:E}){if(this.declare||this.prefix==="global"||this.prefix.length>0||!v.name){return}return"a global variable is assign and maybe created"}renderStartup(k,v,{moduleGraph:E,chunk:R},{options:N,compilation:ae}){const le=this._getResolvedFullName(N,R,ae);const pe=this.unnamed==="static";const me=N.export?q(Array.isArray(N.export)?N.export:[N.export]):"";const ye=new P(k);if(pe){const k=E.getExportsInfo(v);const P=accessWithInit(le,this._getPrefix(ae).length,true);for(const v of k.orderedExports){if(!v.provided)continue;const k=q([v.name]);ye.add(`${P}${k} = ${L.exports}${me}${k};\n`)}ye.add(`Object.defineProperty(${P}, "__esModule", { value: true });\n`)}else if(N.name?this.named==="copy":this.unnamed==="copy"){ye.add(`var __webpack_export_target__ = ${accessWithInit(le,this._getPrefix(ae).length,true)};\n`);let k=L.exports;if(me){ye.add(`var __webpack_exports_export__ = ${L.exports}${me};\n`);k="__webpack_exports_export__"}ye.add(`for(var i in ${k}) __webpack_export_target__[i] = ${k}[i];\n`);ye.add(`if(${k}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n`)}else{ye.add(`${accessWithInit(le,this._getPrefix(ae).length,false)} = ${L.exports}${me};\n`)}return ye}runtimeRequirements(k,v,E){}chunkHash(k,v,E,{options:P,compilation:R}){v.update("AssignLibraryPlugin");const L=this._getResolvedFullName(P,k,R);if(P.name?this.named==="copy":this.unnamed==="copy"){v.update("copy")}if(this.declare){v.update(this.declare)}v.update(L.join("."));if(P.export){v.update(`${P.export}`)}}}k.exports=AssignLibraryPlugin},60234:function(k,v,E){"use strict";const P=new WeakMap;const getEnabledTypes=k=>{let v=P.get(k);if(v===undefined){v=new Set;P.set(k,v)}return v};class EnableLibraryPlugin{constructor(k){this.type=k}static setEnabled(k,v){getEnabledTypes(k).add(v)}static checkEnabled(k,v){if(!getEnabledTypes(k).has(v)){throw new Error(`Library type "${v}" 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". '+"These types are enabled: "+Array.from(getEnabledTypes(k)).join(", "))}}apply(k){const{type:v}=this;const P=getEnabledTypes(k);if(P.has(v))return;P.add(v);if(typeof v==="string"){const enableExportProperty=()=>{const P=E(73849);new P({type:v,nsObjectUsed:v!=="module"}).apply(k)};switch(v){case"var":{const P=E(56768);new P({type:v,prefix:[],declare:"var",unnamed:"error"}).apply(k);break}case"assign-properties":{const P=E(56768);new P({type:v,prefix:[],declare:false,unnamed:"error",named:"copy"}).apply(k);break}case"assign":{const P=E(56768);new P({type:v,prefix:[],declare:false,unnamed:"error"}).apply(k);break}case"this":{const P=E(56768);new P({type:v,prefix:["this"],declare:false,unnamed:"copy"}).apply(k);break}case"window":{const P=E(56768);new P({type:v,prefix:["window"],declare:false,unnamed:"copy"}).apply(k);break}case"self":{const P=E(56768);new P({type:v,prefix:["self"],declare:false,unnamed:"copy"}).apply(k);break}case"global":{const P=E(56768);new P({type:v,prefix:"global",declare:false,unnamed:"copy"}).apply(k);break}case"commonjs":{const P=E(56768);new P({type:v,prefix:["exports"],declare:false,unnamed:"copy"}).apply(k);break}case"commonjs-static":{const P=E(56768);new P({type:v,prefix:["exports"],declare:false,unnamed:"static"}).apply(k);break}case"commonjs2":case"commonjs-module":{const P=E(56768);new P({type:v,prefix:["module","exports"],declare:false,unnamed:"assign"}).apply(k);break}case"amd":case"amd-require":{enableExportProperty();const P=E(54035);new P({type:v,requireAsWrapper:v==="amd-require"}).apply(k);break}case"umd":case"umd2":{enableExportProperty();const P=E(52594);new P({type:v,optionalAmdExternalAsGlobal:v==="umd2"}).apply(k);break}case"system":{enableExportProperty();const P=E(51327);new P({type:v}).apply(k);break}case"jsonp":{enableExportProperty();const P=E(94206);new P({type:v}).apply(k);break}case"module":{enableExportProperty();const P=E(65587);new P({type:v}).apply(k);break}default:throw new Error(`Unsupported library type ${v}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}k.exports=EnableLibraryPlugin},73849:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const{UsageState:R}=E(11172);const L=E(56727);const N=E(10720);const{getEntryRuntime:q}=E(1540);const ae=E(15893);class ExportPropertyLibraryPlugin extends ae{constructor({type:k,nsObjectUsed:v}){super({pluginName:"ExportPropertyLibraryPlugin",type:k});this.nsObjectUsed=v}parseOptions(k){return{export:k.export}}finishEntryModule(k,v,{options:E,compilation:P,compilation:{moduleGraph:L}}){const N=q(P,v);if(E.export){const v=L.getExportInfo(k,Array.isArray(E.export)?E.export[0]:E.export);v.setUsed(R.Used,N);v.canMangleUse=false}else{const v=L.getExportsInfo(k);if(this.nsObjectUsed){v.setUsedInUnknownWay(N)}else{v.setAllKnownExportsUsed(N)}}L.addExtraReason(k,"used as library export")}runtimeRequirements(k,v,E){}renderStartup(k,v,E,{options:R}){if(!R.export)return k;const q=`${L.exports} = ${L.exports}${N(Array.isArray(R.export)?R.export:[R.export])};\n`;return new P(k,q)}}k.exports=ExportPropertyLibraryPlugin},94206:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const R=E(15893);class JsonpLibraryPlugin extends R{constructor(k){super({pluginName:"JsonpLibraryPlugin",type:k.type})}parseOptions(k){const{name:v}=k;if(typeof v!=="string"){throw new Error(`Jsonp library name must be a simple string. ${R.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:v}}render(k,{chunk:v},{options:E,compilation:R}){const L=R.getPath(E.name,{chunk:v});return new P(`${L}(`,k,")")}chunkHash(k,v,E,{options:P,compilation:R}){v.update("JsonpLibraryPlugin");v.update(R.getPath(P.name,{chunk:k}))}}k.exports=JsonpLibraryPlugin},65587:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const R=E(56727);const L=E(95041);const N=E(10720);const q=E(15893);class ModuleLibraryPlugin extends q{constructor(k){super({pluginName:"ModuleLibraryPlugin",type:k.type})}parseOptions(k){const{name:v}=k;if(v){throw new Error(`Library name must be unset. ${q.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:v}}renderStartup(k,v,{moduleGraph:E,chunk:q},{options:ae,compilation:le}){const pe=new P(k);const me=E.getExportsInfo(v);const ye=[];const _e=E.isAsync(v);if(_e){pe.add(`${R.exports} = await ${R.exports};\n`)}for(const k of me.orderedExports){if(!k.provided)continue;const v=`${R.exports}${L.toIdentifier(k.name)}`;pe.add(`var ${v} = ${R.exports}${N([k.getUsedName(k.name,q.runtime)])};\n`);ye.push(`${v} as ${k.name}`)}if(ye.length>0){pe.add(`export { ${ye.join(", ")} };\n`)}return pe}}k.exports=ModuleLibraryPlugin},51327:function(k,v,E){"use strict";const{ConcatSource:P}=E(51255);const{UsageState:R}=E(11172);const L=E(10849);const N=E(95041);const q=E(10720);const ae=E(15893);class SystemLibraryPlugin extends ae{constructor(k){super({pluginName:"SystemLibraryPlugin",type:k.type})}parseOptions(k){const{name:v}=k;if(v&&typeof v!=="string"){throw new Error(`System.js library name must be a simple string or unset. ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:v}}render(k,{chunkGraph:v,moduleGraph:E,chunk:ae},{options:le,compilation:pe}){const me=v.getChunkModules(ae).filter((k=>k instanceof L&&k.externalType==="system"));const ye=me;const _e=le.name?`${JSON.stringify(pe.getPath(le.name,{chunk:ae}))}, `:"";const Ie=JSON.stringify(ye.map((k=>typeof k.request==="object"&&!Array.isArray(k.request)?k.request.amd:k.request)));const Me="__WEBPACK_DYNAMIC_EXPORT__";const Te=ye.map((k=>`__WEBPACK_EXTERNAL_MODULE_${N.toIdentifier(`${v.getModuleId(k)}`)}__`));const je=Te.map((k=>`var ${k} = {};`)).join("\n");const Ne=[];const Be=Te.length===0?"":N.asString(["setters: [",N.indent(ye.map(((k,v)=>{const P=Te[v];const L=E.getExportsInfo(k);const le=L.otherExportsInfo.getUsed(ae.runtime)===R.Unused;const pe=[];const me=[];for(const k of L.orderedExports){const v=k.getUsedName(undefined,ae.runtime);if(v){if(le||v!==k.name){pe.push(`${P}${q([v])} = module${q([k.name])};`);me.push(k.name)}}else{me.push(k.name)}}if(!le){if(!Array.isArray(k.request)||k.request.length===1){Ne.push(`Object.defineProperty(${P}, "__esModule", { value: true });`)}if(me.length>0){const k=`${P}handledNames`;Ne.push(`var ${k} = ${JSON.stringify(me)};`);pe.push(N.asString(["Object.keys(module).forEach(function(key) {",N.indent([`if(${k}.indexOf(key) >= 0)`,N.indent(`${P}[key] = module[key];`)]),"});"]))}else{pe.push(N.asString(["Object.keys(module).forEach(function(key) {",N.indent([`${P}[key] = module[key];`]),"});"]))}}if(pe.length===0)return"function() {}";return N.asString(["function(module) {",N.indent(pe),"}"])})).join(",\n")),"],"]);return new P(N.asString([`System.register(${_e}${Ie}, function(${Me}, __system_context__) {`,N.indent([je,N.asString(Ne),"return {",N.indent([Be,"execute: function() {",N.indent(`${Me}(`)])]),""]),k,N.asString(["",N.indent([N.indent([N.indent([");"]),"}"]),"};"]),"})"]))}chunkHash(k,v,E,{options:P,compilation:R}){v.update("SystemLibraryPlugin");if(P.name){v.update(R.getPath(P.name,{chunk:k}))}}}k.exports=SystemLibraryPlugin},52594:function(k,v,E){"use strict";const{ConcatSource:P,OriginalSource:R}=E(51255);const L=E(10849);const N=E(95041);const q=E(15893);const accessorToObjectAccess=k=>k.map((k=>`[${JSON.stringify(k)}]`)).join("");const accessorAccess=(k,v,E=", ")=>{const P=Array.isArray(v)?v:[v];return P.map(((v,E)=>{const R=k?k+accessorToObjectAccess(P.slice(0,E+1)):P[0]+accessorToObjectAccess(P.slice(1,E+1));if(E===P.length-1)return R;if(E===0&&k===undefined)return`${R} = typeof ${R} === "object" ? ${R} : {}`;return`${R} = ${R} || {}`})).join(E)};class UmdLibraryPlugin extends q{constructor(k){super({pluginName:"UmdLibraryPlugin",type:k.type});this.optionalAmdExternalAsGlobal=k.optionalAmdExternalAsGlobal}parseOptions(k){let v;let E;if(typeof k.name==="object"&&!Array.isArray(k.name)){v=k.name.root||k.name.amd||k.name.commonjs;E=k.name}else{v=k.name;const P=Array.isArray(v)?v[0]:v;E={commonjs:P,root:k.name,amd:P}}return{name:v,names:E,auxiliaryComment:k.auxiliaryComment,namedDefine:k.umdNamedDefine}}render(k,{chunkGraph:v,runtimeTemplate:E,chunk:q,moduleGraph:ae},{options:le,compilation:pe}){const me=v.getChunkModules(q).filter((k=>k instanceof L&&(k.externalType==="umd"||k.externalType==="umd2")));let ye=me;const _e=[];let Ie=[];if(this.optionalAmdExternalAsGlobal){for(const k of ye){if(k.isOptional(ae)){_e.push(k)}else{Ie.push(k)}}ye=Ie.concat(_e)}else{Ie=ye}const replaceKeys=k=>pe.getPath(k,{chunk:q});const externalsDepsArray=k=>`[${replaceKeys(k.map((k=>JSON.stringify(typeof k.request==="object"?k.request.amd:k.request))).join(", "))}]`;const externalsRootArray=k=>replaceKeys(k.map((k=>{let v=k.request;if(typeof v==="object")v=v.root;return`root${accessorToObjectAccess([].concat(v))}`})).join(", "));const externalsRequireArray=k=>replaceKeys(ye.map((v=>{let E;let P=v.request;if(typeof P==="object"){P=P[k]}if(P===undefined){throw new Error("Missing external configuration for type:"+k)}if(Array.isArray(P)){E=`require(${JSON.stringify(P[0])})${accessorToObjectAccess(P.slice(1))}`}else{E=`require(${JSON.stringify(P)})`}if(v.isOptional(ae)){E=`(function webpackLoadOptionalExternalModule() { try { return ${E}; } catch(e) {} }())`}return E})).join(", "));const externalsArguments=k=>k.map((k=>`__WEBPACK_EXTERNAL_MODULE_${N.toIdentifier(`${v.getModuleId(k)}`)}__`)).join(", ");const libraryName=k=>JSON.stringify(replaceKeys([].concat(k).pop()));let Me;if(_e.length>0){const k=externalsArguments(Ie);const v=Ie.length>0?externalsArguments(Ie)+", "+externalsRootArray(_e):externalsRootArray(_e);Me=`function webpackLoadOptionalExternalModuleAmd(${k}) {\n`+`\t\t\treturn factory(${v});\n`+"\t\t}"}else{Me="factory"}const{auxiliaryComment:Te,namedDefine:je,names:Ne}=le;const getAuxiliaryComment=k=>{if(Te){if(typeof Te==="string")return"\t//"+Te+"\n";if(Te[k])return"\t//"+Te[k]+"\n"}return""};return new P(new R("(function webpackUniversalModuleDefinition(root, factory) {\n"+getAuxiliaryComment("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+externalsRequireArray("commonjs2")+");\n"+getAuxiliaryComment("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(Ie.length>0?Ne.amd&&je===true?"\t\tdefine("+libraryName(Ne.amd)+", "+externalsDepsArray(Ie)+", "+Me+");\n":"\t\tdefine("+externalsDepsArray(Ie)+", "+Me+");\n":Ne.amd&&je===true?"\t\tdefine("+libraryName(Ne.amd)+", [], "+Me+");\n":"\t\tdefine([], "+Me+");\n")+(Ne.root||Ne.commonjs?getAuxiliaryComment("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+libraryName(Ne.commonjs||Ne.root)+"] = factory("+externalsRequireArray("commonjs")+");\n"+getAuxiliaryComment("root")+"\telse\n"+"\t\t"+replaceKeys(accessorAccess("root",Ne.root||Ne.commonjs))+" = factory("+externalsRootArray(ye)+");\n":"\telse {\n"+(ye.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+externalsRequireArray("commonjs")+") : factory("+externalsRootArray(ye)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${E.outputOptions.globalObject}, ${E.supportsArrowFunction()?`(${externalsArguments(ye)}) =>`:`function(${externalsArguments(ye)})`} {\nreturn `,"webpack/universalModuleDefinition"),k,";\n})")}}k.exports=UmdLibraryPlugin},13905:function(k,v){"use strict";const E=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"});v.LogType=E;const P=Symbol("webpack logger raw log method");const R=Symbol("webpack logger times");const L=Symbol("webpack logger aggregated times");class WebpackLogger{constructor(k,v){this[P]=k;this.getChildLogger=v}error(...k){this[P](E.error,k)}warn(...k){this[P](E.warn,k)}info(...k){this[P](E.info,k)}log(...k){this[P](E.log,k)}debug(...k){this[P](E.debug,k)}assert(k,...v){if(!k){this[P](E.error,v)}}trace(){this[P](E.trace,["Trace"])}clear(){this[P](E.clear)}status(...k){this[P](E.status,k)}group(...k){this[P](E.group,k)}groupCollapsed(...k){this[P](E.groupCollapsed,k)}groupEnd(...k){this[P](E.groupEnd,k)}profile(k){this[P](E.profile,[k])}profileEnd(k){this[P](E.profileEnd,[k])}time(k){this[R]=this[R]||new Map;this[R].set(k,process.hrtime())}timeLog(k){const v=this[R]&&this[R].get(k);if(!v){throw new Error(`No such label '${k}' for WebpackLogger.timeLog()`)}const L=process.hrtime(v);this[P](E.time,[k,...L])}timeEnd(k){const v=this[R]&&this[R].get(k);if(!v){throw new Error(`No such label '${k}' for WebpackLogger.timeEnd()`)}const L=process.hrtime(v);this[R].delete(k);this[P](E.time,[k,...L])}timeAggregate(k){const v=this[R]&&this[R].get(k);if(!v){throw new Error(`No such label '${k}' for WebpackLogger.timeAggregate()`)}const E=process.hrtime(v);this[R].delete(k);this[L]=this[L]||new Map;const P=this[L].get(k);if(P!==undefined){if(E[1]+P[1]>1e9){E[0]+=P[0]+1;E[1]=E[1]-1e9+P[1]}else{E[0]+=P[0];E[1]+=P[1]}}this[L].set(k,E)}timeAggregateEnd(k){if(this[L]===undefined)return;const v=this[L].get(k);if(v===undefined)return;this[L].delete(k);this[P](E.time,[k,...v])}}v.Logger=WebpackLogger},41748:function(k,v,E){"use strict";const{LogType:P}=E(13905);const filterToFunction=k=>{if(typeof k==="string"){const v=new RegExp(`[\\\\/]${k.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return k=>v.test(k)}if(k&&typeof k==="object"&&typeof k.test==="function"){return v=>k.test(v)}if(typeof k==="function"){return k}if(typeof k==="boolean"){return()=>k}};const R={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};k.exports=({level:k="info",debug:v=false,console:E})=>{const L=typeof v==="boolean"?[()=>v]:[].concat(v).map(filterToFunction);const N=R[`${k}`]||0;const logger=(k,v,q)=>{const labeledArgs=()=>{if(Array.isArray(q)){if(q.length>0&&typeof q[0]==="string"){return[`[${k}] ${q[0]}`,...q.slice(1)]}else{return[`[${k}]`,...q]}}else{return[]}};const ae=L.some((v=>v(k)));switch(v){case P.debug:if(!ae)return;if(typeof E.debug==="function"){E.debug(...labeledArgs())}else{E.log(...labeledArgs())}break;case P.log:if(!ae&&N>R.log)return;E.log(...labeledArgs());break;case P.info:if(!ae&&N>R.info)return;E.info(...labeledArgs());break;case P.warn:if(!ae&&N>R.warn)return;E.warn(...labeledArgs());break;case P.error:if(!ae&&N>R.error)return;E.error(...labeledArgs());break;case P.trace:if(!ae)return;E.trace();break;case P.groupCollapsed:if(!ae&&N>R.log)return;if(!ae&&N>R.verbose){if(typeof E.groupCollapsed==="function"){E.groupCollapsed(...labeledArgs())}else{E.log(...labeledArgs())}break}case P.group:if(!ae&&N>R.log)return;if(typeof E.group==="function"){E.group(...labeledArgs())}else{E.log(...labeledArgs())}break;case P.groupEnd:if(!ae&&N>R.log)return;if(typeof E.groupEnd==="function"){E.groupEnd()}break;case P.time:{if(!ae&&N>R.log)return;const v=q[1]*1e3+q[2]/1e6;const P=`[${k}] ${q[0]}: ${v} ms`;if(typeof E.logTime==="function"){E.logTime(P)}else{E.log(P)}break}case P.profile:if(typeof E.profile==="function"){E.profile(...labeledArgs())}break;case P.profileEnd:if(typeof E.profileEnd==="function"){E.profileEnd(...labeledArgs())}break;case P.clear:if(!ae&&N>R.log)return;if(typeof E.clear==="function"){E.clear()}break;case P.status:if(!ae&&N>R.info)return;if(typeof E.status==="function"){if(q.length===0){E.status()}else{E.status(...labeledArgs())}}else{if(q.length!==0){E.info(...labeledArgs())}}break;default:throw new Error(`Unexpected LogType ${v}`)}};return logger}},64755:function(k){"use strict";const arraySum=k=>{let v=0;for(const E of k)v+=E;return v};const truncateArgs=(k,v)=>{const E=k.map((k=>`${k}`.length));const P=v-E.length+1;if(P>0&&k.length===1){if(P>=k[0].length){return k}else if(P>3){return["..."+k[0].slice(-P+3)]}else{return[k[0].slice(-P)]}}if(PMath.min(k,6))))){if(k.length>1)return truncateArgs(k.slice(0,k.length-1),v);return[]}let R=arraySum(E);if(R<=P)return k;while(R>P){const k=Math.max(...E);const v=E.filter((v=>v!==k));const L=v.length>0?Math.max(...v):0;const N=k-L;let q=E.length-v.length;let ae=R-P;for(let v=0;v{const P=`${k}`;const R=E[v];if(P.length===R){return P}else if(R>5){return"..."+P.slice(-R+3)}else if(R>0){return P.slice(-R)}else{return""}}))};k.exports=truncateArgs},16574:function(k,v,E){"use strict";const P=E(56727);const R=E(31626);class CommonJsChunkLoadingPlugin{constructor(k={}){this._asyncChunkLoading=k.asyncChunkLoading}apply(k){const v=this._asyncChunkLoading?E(92172):E(14461);const L=this._asyncChunkLoading?"async-node":"require";new R({chunkLoading:L,asyncChunkLoading:this._asyncChunkLoading}).apply(k);k.hooks.thisCompilation.tap("CommonJsChunkLoadingPlugin",(k=>{const E=k.outputOptions.chunkLoading;const isEnabledForChunk=k=>{const v=k.getEntryOptions();const P=v&&v.chunkLoading!==undefined?v.chunkLoading:E;return P===L};const R=new WeakSet;const handler=(E,L)=>{if(R.has(E))return;R.add(E);if(!isEnabledForChunk(E))return;L.add(P.moduleFactoriesAddOnly);L.add(P.hasOwnProperty);k.addRuntimeModule(E,new v(L))};k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.baseURI).tap("CommonJsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.externalInstallChunk).tap("CommonJsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.onChunksLoaded).tap("CommonJsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.getChunkScriptFilename)}));k.hooks.runtimeRequirementInTree.for(P.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.getChunkUpdateScriptFilename);v.add(P.moduleCache);v.add(P.hmrModuleData);v.add(P.moduleFactoriesAddOnly)}));k.hooks.runtimeRequirementInTree.for(P.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.getUpdateManifestFilename)}))}))}}k.exports=CommonJsChunkLoadingPlugin},74983:function(k,v,E){"use strict";const P=E(75943);const R=E(56450);const L=E(41748);const N=E(60432);const q=E(73362);class NodeEnvironmentPlugin{constructor(k){this.options=k}apply(k){const{infrastructureLogging:v}=this.options;k.infrastructureLogger=L({level:v.level||"info",debug:v.debug||false,console:v.console||q({colors:v.colors,appendOnly:v.appendOnly,stream:v.stream})});k.inputFileSystem=new P(R,6e4);const E=k.inputFileSystem;k.outputFileSystem=R;k.intermediateFileSystem=R;k.watchFileSystem=new N(k.inputFileSystem);k.hooks.beforeRun.tap("NodeEnvironmentPlugin",(k=>{if(k.inputFileSystem===E){k.fsStartTime=Date.now();E.purge()}}))}}k.exports=NodeEnvironmentPlugin},44513:function(k){"use strict";class NodeSourcePlugin{apply(k){}}k.exports=NodeSourcePlugin},56976:function(k,v,E){"use strict";const P=E(53757);const R=["assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","inspector/promises","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","readline/promises","repl","stream","stream/consumers","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib",/^node:/,"pnpapi"];class NodeTargetPlugin{apply(k){new P("node-commonjs",R).apply(k)}}k.exports=NodeTargetPlugin},74578:function(k,v,E){"use strict";const P=E(45542);const R=E(73126);class NodeTemplatePlugin{constructor(k={}){this._options=k}apply(k){const v=this._options.asyncChunkLoading?"async-node":"require";k.options.output.chunkLoading=v;(new P).apply(k);new R(v).apply(k)}}k.exports=NodeTemplatePlugin},60432:function(k,v,E){"use strict";const P=E(73837);const R=E(28978);class NodeWatchFileSystem{constructor(k){this.inputFileSystem=k;this.watcherOptions={aggregateTimeout:0};this.watcher=new R(this.watcherOptions)}watch(k,v,E,L,N,q,ae){if(!k||typeof k[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'files'")}if(!v||typeof v[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'directories'")}if(!E||typeof E[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'missing'")}if(typeof q!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof L!=="number"&&L){throw new Error("Invalid arguments: 'startTime'")}if(typeof N!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof ae!=="function"&&ae){throw new Error("Invalid arguments: 'callbackUndelayed'")}const le=this.watcher;this.watcher=new R(N);if(ae){this.watcher.once("change",ae)}const fetchTimeInfo=()=>{const k=new Map;const v=new Map;if(this.watcher){this.watcher.collectTimeInfoEntries(k,v)}return{fileTimeInfoEntries:k,contextTimeInfoEntries:v}};this.watcher.once("aggregated",((k,v)=>{this.watcher.pause();if(this.inputFileSystem&&this.inputFileSystem.purge){const E=this.inputFileSystem;for(const v of k){E.purge(v)}for(const k of v){E.purge(k)}}const{fileTimeInfoEntries:E,contextTimeInfoEntries:P}=fetchTimeInfo();q(null,E,P,k,v)}));this.watcher.watch({files:k,directories:v,missing:E,startTime:L});if(le){le.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getAggregatedRemovals:P.deprecate((()=>{const k=this.watcher&&this.watcher.aggregatedRemovals;if(k&&this.inputFileSystem&&this.inputFileSystem.purge){const v=this.inputFileSystem;for(const E of k){v.purge(E)}}return k}),"Watcher.getAggregatedRemovals is deprecated in favor of Watcher.getInfo since that's more performant.","DEP_WEBPACK_WATCHER_GET_AGGREGATED_REMOVALS"),getAggregatedChanges:P.deprecate((()=>{const k=this.watcher&&this.watcher.aggregatedChanges;if(k&&this.inputFileSystem&&this.inputFileSystem.purge){const v=this.inputFileSystem;for(const E of k){v.purge(E)}}return k}),"Watcher.getAggregatedChanges is deprecated in favor of Watcher.getInfo since that's more performant.","DEP_WEBPACK_WATCHER_GET_AGGREGATED_CHANGES"),getFileTimeInfoEntries:P.deprecate((()=>fetchTimeInfo().fileTimeInfoEntries),"Watcher.getFileTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.","DEP_WEBPACK_WATCHER_FILE_TIME_INFO_ENTRIES"),getContextTimeInfoEntries:P.deprecate((()=>fetchTimeInfo().contextTimeInfoEntries),"Watcher.getContextTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.","DEP_WEBPACK_WATCHER_CONTEXT_TIME_INFO_ENTRIES"),getInfo:()=>{const k=this.watcher&&this.watcher.aggregatedRemovals;const v=this.watcher&&this.watcher.aggregatedChanges;if(this.inputFileSystem&&this.inputFileSystem.purge){const E=this.inputFileSystem;if(k){for(const v of k){E.purge(v)}}if(v){for(const k of v){E.purge(k)}}}const{fileTimeInfoEntries:E,contextTimeInfoEntries:P}=fetchTimeInfo();return{changes:v,removals:k,fileTimeInfoEntries:E,contextTimeInfoEntries:P}}}}}k.exports=NodeWatchFileSystem},92172:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{chunkHasJs:N,getChunkFilenameTemplate:q}=E(89168);const{getInitialChunkIds:ae}=E(73777);const le=E(21751);const{getUndoPath:pe}=E(65315);class ReadFileChunkLoadingRuntimeModule extends R{constructor(k){super("readFile chunk loading",R.STAGE_ATTACH);this.runtimeRequirements=k}_generateBaseUri(k,v){const E=k.getEntryOptions();if(E&&E.baseUri){return`${P.baseURI} = ${JSON.stringify(E.baseUri)};`}return`${P.baseURI} = require("url").pathToFileURL(${v?`__dirname + ${JSON.stringify("/"+v)}`:"__filename"});`}generate(){const{chunkGraph:k,chunk:v}=this;const{runtimeTemplate:E}=this.compilation;const R=P.ensureChunkHandlers;const me=this.runtimeRequirements.has(P.baseURI);const ye=this.runtimeRequirements.has(P.externalInstallChunk);const _e=this.runtimeRequirements.has(P.onChunksLoaded);const Ie=this.runtimeRequirements.has(P.ensureChunkHandlers);const Me=this.runtimeRequirements.has(P.hmrDownloadUpdateHandlers);const Te=this.runtimeRequirements.has(P.hmrDownloadManifest);const je=k.getChunkConditionMap(v,N);const Ne=le(je);const Be=ae(v,k,N);const qe=this.compilation.getPath(q(v,this.compilation.outputOptions),{chunk:v,contentHashType:"javascript"});const Ue=pe(qe,this.compilation.outputOptions.path,false);const Ge=Me?`${P.hmrRuntimeStatePrefix}_readFileVm`:undefined;return L.asString([me?this._generateBaseUri(v,Ue):"// no baseURI","","// object to store loaded chunks",'// "0" means "already loaded", Promise means loading',`var installedChunks = ${Ge?`${Ge} = ${Ge} || `:""}{`,L.indent(Array.from(Be,(k=>`${JSON.stringify(k)}: 0`)).join(",\n")),"};","",_e?`${P.onChunksLoaded}.readFileVm = ${E.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Ie||ye?`var installChunk = ${E.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",L.indent([`if(${P.hasOwnProperty}(moreModules, moduleId)) {`,L.indent([`${P.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(${P.require});`,"for(var i = 0; i < chunkIds.length; i++) {",L.indent(["if(installedChunks[chunkIds[i]]) {",L.indent(["installedChunks[chunkIds[i]][0]();"]),"}","installedChunks[chunkIds[i]] = 0;"]),"}",_e?`${P.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ie?L.asString(["// ReadFile + VM.run chunk loading for javascript",`${R}.readFileVm = function(chunkId, promises) {`,Ne!==false?L.indent(["","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',L.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",L.indent(["promises.push(installedChunkData[2]);"]),"} else {",L.indent([Ne===true?"if(true) { // all chunks have JS":`if(${Ne("chunkId")}) {`,L.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",L.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];",`var filename = require('path').join(__dirname, ${JSON.stringify(Ue)} + ${P.getChunkScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",L.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);"]),Ne===true?"}":"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):L.indent(["installedChunks[chunkId] = 0;"]),"};"]):"// no chunk loading","",ye?L.asString([`module.exports = ${P.require};`,`${P.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Me?L.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",L.indent(["return new Promise(function(resolve, reject) {",L.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(Ue)} + ${P.getChunkUpdateScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",L.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) {",L.indent([`if(${P.hasOwnProperty}(updatedModules, moduleId)) {`,L.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","resolve();"]),"});"]),"});"]),"}","",L.getFunctionContent(require("./JavascriptHotModuleReplacement.runtime.js")).replace(/\$key\$/g,"readFileVm").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,P.moduleCache).replace(/\$moduleFactories\$/g,P.moduleFactories).replace(/\$ensureChunkHandlers\$/g,P.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,P.hasOwnProperty).replace(/\$hmrModuleData\$/g,P.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,P.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,P.hmrInvalidateModuleHandlers)]):"// no HMR","",Te?L.asString([`${P.hmrDownloadManifest} = function() {`,L.indent(["return new Promise(function(resolve, reject) {",L.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(Ue)} + ${P.getUpdateManifestFilename}());`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",L.indent(["if(err) {",L.indent(['if(err.code === "ENOENT") return resolve();',"return reject(err);"]),"}","try { resolve(JSON.parse(content)); }","catch(e) { reject(e); }"]),"});"]),"});"]),"}"]):"// no HMR manifest"])}}k.exports=ReadFileChunkLoadingRuntimeModule},39842:function(k,v,E){"use strict";const{WEBASSEMBLY_MODULE_TYPE_ASYNC:P}=E(93622);const R=E(56727);const L=E(95041);const N=E(99393);class ReadFileCompileAsyncWasmPlugin{constructor({type:k="async-node",import:v=false}={}){this._type=k;this._import=v}apply(k){k.hooks.thisCompilation.tap("ReadFileCompileAsyncWasmPlugin",(k=>{const v=k.outputOptions.wasmLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.wasmLoading!==undefined?E.wasmLoading:v;return P===this._type};const{importMetaName:E}=k.outputOptions;const q=this._import?k=>L.asString(["Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {",L.indent([`readFile(new URL(${k}, ${E}.url), (err, buffer) => {`,L.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",L.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"}))"]):k=>L.asString(["new Promise(function (resolve, reject) {",L.indent(["try {",L.indent(["var { readFile } = require('fs');","var { join } = require('path');","",`readFile(join(__dirname, ${k}), function(err, buffer){`,L.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",L.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);k.hooks.runtimeRequirementInTree.for(R.instantiateWasm).tap("ReadFileCompileAsyncWasmPlugin",((v,E)=>{if(!isEnabledForChunk(v))return;const L=k.chunkGraph;if(!L.hasModuleInGraph(v,(k=>k.type===P))){return}E.add(R.publicPath);k.addRuntimeModule(v,new N({generateLoadBinaryCode:q,supportsStreaming:false}))}))}))}}k.exports=ReadFileCompileAsyncWasmPlugin},63506:function(k,v,E){"use strict";const{WEBASSEMBLY_MODULE_TYPE_SYNC:P}=E(93622);const R=E(56727);const L=E(95041);const N=E(68403);class ReadFileCompileWasmPlugin{constructor(k={}){this.options=k}apply(k){k.hooks.thisCompilation.tap("ReadFileCompileWasmPlugin",(k=>{const v=k.outputOptions.wasmLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.wasmLoading!==undefined?E.wasmLoading:v;return P==="async-node"};const generateLoadBinaryCode=k=>L.asString(["new Promise(function (resolve, reject) {",L.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",L.indent([`readFile(join(__dirname, ${k}), function(err, buffer){`,L.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",L.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);k.hooks.runtimeRequirementInTree.for(R.ensureChunkHandlers).tap("ReadFileCompileWasmPlugin",((v,E)=>{if(!isEnabledForChunk(v))return;const L=k.chunkGraph;if(!L.hasModuleInGraph(v,(k=>k.type===P))){return}E.add(R.moduleCache);k.addRuntimeModule(v,new N({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:false,mangleImports:this.options.mangleImports,runtimeRequirements:E}))}))}))}}k.exports=ReadFileCompileWasmPlugin},14461:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{chunkHasJs:N,getChunkFilenameTemplate:q}=E(89168);const{getInitialChunkIds:ae}=E(73777);const le=E(21751);const{getUndoPath:pe}=E(65315);class RequireChunkLoadingRuntimeModule extends R{constructor(k){super("require chunk loading",R.STAGE_ATTACH);this.runtimeRequirements=k}_generateBaseUri(k,v){const E=k.getEntryOptions();if(E&&E.baseUri){return`${P.baseURI} = ${JSON.stringify(E.baseUri)};`}return`${P.baseURI} = require("url").pathToFileURL(${v!=="./"?`__dirname + ${JSON.stringify("/"+v)}`:"__filename"});`}generate(){const{chunkGraph:k,chunk:v}=this;const{runtimeTemplate:E}=this.compilation;const R=P.ensureChunkHandlers;const me=this.runtimeRequirements.has(P.baseURI);const ye=this.runtimeRequirements.has(P.externalInstallChunk);const _e=this.runtimeRequirements.has(P.onChunksLoaded);const Ie=this.runtimeRequirements.has(P.ensureChunkHandlers);const Me=this.runtimeRequirements.has(P.hmrDownloadUpdateHandlers);const Te=this.runtimeRequirements.has(P.hmrDownloadManifest);const je=k.getChunkConditionMap(v,N);const Ne=le(je);const Be=ae(v,k,N);const qe=this.compilation.getPath(q(v,this.compilation.outputOptions),{chunk:v,contentHashType:"javascript"});const Ue=pe(qe,this.compilation.outputOptions.path,true);const Ge=Me?`${P.hmrRuntimeStatePrefix}_require`:undefined;return L.asString([me?this._generateBaseUri(v,Ue):"// no baseURI","","// object to store loaded chunks",'// "1" means "loaded", otherwise not loaded yet',`var installedChunks = ${Ge?`${Ge} = ${Ge} || `:""}{`,L.indent(Array.from(Be,(k=>`${JSON.stringify(k)}: 1`)).join(",\n")),"};","",_e?`${P.onChunksLoaded}.require = ${E.returningFunction("installedChunks[chunkId]","chunkId")};`:"// no on chunks loaded","",Ie||ye?`var installChunk = ${E.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",L.indent([`if(${P.hasOwnProperty}(moreModules, moduleId)) {`,L.indent([`${P.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(${P.require});`,"for(var i = 0; i < chunkIds.length; i++)",L.indent("installedChunks[chunkIds[i]] = 1;"),_e?`${P.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ie?L.asString(["// require() chunk loading for javascript",`${R}.require = ${E.basicFunction("chunkId, promises",Ne!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",L.indent([Ne===true?"if(true) { // all chunks have JS":`if(${Ne("chunkId")}) {`,L.indent([`installChunk(require(${JSON.stringify(Ue)} + ${P.getChunkScriptFilename}(chunkId)));`]),"} else installedChunks[chunkId] = 1;",""]),"}"]:"installedChunks[chunkId] = 1;")};`]):"// no chunk loading","",ye?L.asString([`module.exports = ${P.require};`,`${P.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Me?L.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",L.indent([`var update = require(${JSON.stringify(Ue)} + ${P.getChunkUpdateScriptFilename}(chunkId));`,"var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",L.indent([`if(${P.hasOwnProperty}(updatedModules, moduleId)) {`,L.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);"]),"}","",L.getFunctionContent(require("./JavascriptHotModuleReplacement.runtime.js")).replace(/\$key\$/g,"require").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,P.moduleCache).replace(/\$moduleFactories\$/g,P.moduleFactories).replace(/\$ensureChunkHandlers\$/g,P.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,P.hasOwnProperty).replace(/\$hmrModuleData\$/g,P.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,P.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,P.hmrInvalidateModuleHandlers)]):"// no HMR","",Te?L.asString([`${P.hmrDownloadManifest} = function() {`,L.indent(["return Promise.resolve().then(function() {",L.indent([`return require(${JSON.stringify(Ue)} + ${P.getUpdateManifestFilename}());`]),"})['catch'](function(err) { if(err.code !== 'MODULE_NOT_FOUND') throw err; });"]),"}"]):"// no HMR manifest"])}}k.exports=RequireChunkLoadingRuntimeModule},73362:function(k,v,E){"use strict";const P=E(73837);const R=E(64755);k.exports=({colors:k,appendOnly:v,stream:E})=>{let L=undefined;let N=false;let q="";let ae=0;const indent=(v,E,P,R)=>{if(v==="")return v;E=q+E;if(k){return E+P+v.replace(/\n/g,R+"\n"+E+P)+R}else{return E+v.replace(/\n/g,"\n"+E)}};const clearStatusMessage=()=>{if(N){E.write("\r");N=false}};const writeStatusMessage=()=>{if(!L)return;const k=E.columns||40;const v=R(L,k-1);const P=v.join(" ");const q=`${P}`;E.write(`\r${q}`);N=true};const writeColored=(k,v,R)=>(...L)=>{if(ae>0)return;clearStatusMessage();const N=indent(P.format(...L),k,v,R);E.write(N+"\n");writeStatusMessage()};const le=writeColored("<-> ","","");const pe=writeColored("<+> ","","");return{log:writeColored(" ","",""),debug:writeColored(" ","",""),trace:writeColored(" ","",""),info:writeColored(" ","",""),warn:writeColored(" ","",""),error:writeColored(" ","",""),logTime:writeColored(" ","",""),group:(...k)=>{le(...k);if(ae>0){ae++}else{q+=" "}},groupCollapsed:(...k)=>{pe(...k);ae++},groupEnd:()=>{if(ae>0)ae--;else if(q.length>=2)q=q.slice(0,q.length-2)},profile:console.profile&&(k=>console.profile(k)),profileEnd:console.profileEnd&&(k=>console.profileEnd(k)),clear:!v&&console.clear&&(()=>{clearStatusMessage();console.clear();writeStatusMessage()}),status:v?writeColored(" ","",""):(k,...v)=>{v=v.filter(Boolean);if(k===undefined&&v.length===0){clearStatusMessage();L=undefined}else if(typeof k==="string"&&k.startsWith("[webpack.Progress] ")){L=[k.slice(19),...v];writeStatusMessage()}else if(k==="[webpack.Progress]"){L=[...v];writeStatusMessage()}else{L=[k,...v];writeStatusMessage()}}}}},3952:function(k,v,E){"use strict";const{STAGE_ADVANCED:P}=E(99134);class AggressiveMergingPlugin{constructor(k){if(k!==undefined&&typeof k!=="object"||Array.isArray(k)){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=k||{}}apply(k){const v=this.options;const E=v.minSizeReduce||1.5;k.hooks.thisCompilation.tap("AggressiveMergingPlugin",(k=>{k.hooks.optimizeChunks.tap({name:"AggressiveMergingPlugin",stage:P},(v=>{const P=k.chunkGraph;let R=[];for(const k of v){if(k.canBeInitial())continue;for(const E of v){if(E.canBeInitial())continue;if(E===k)break;if(!P.canChunksBeIntegrated(k,E)){continue}const v=P.getChunkSize(E,{chunkOverhead:0});const L=P.getChunkSize(k,{chunkOverhead:0});const N=P.getIntegratedChunksSize(E,k,{chunkOverhead:0});const q=(v+L)/N;R.push({a:k,b:E,improvement:q})}}R.sort(((k,v)=>v.improvement-k.improvement));const L=R[0];if(!L)return;if(L.improvementE(20443)),{name:"Aggressive Splitting Plugin",baseDataPath:"options"});const moveModuleBetween=(k,v,E)=>P=>{k.disconnectChunkAndModule(v,P);k.connectChunkAndModule(E,P)};const isNotAEntryModule=(k,v)=>E=>!k.isEntryModuleInChunk(E,v);const pe=new WeakSet;class AggressiveSplittingPlugin{constructor(k={}){le(k);this.options=k;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(k){return pe.has(k)}apply(k){k.hooks.thisCompilation.tap("AggressiveSplittingPlugin",(v=>{let E=false;let q;let le;let me;v.hooks.optimize.tap("AggressiveSplittingPlugin",(()=>{q=[];le=new Set;me=new Map}));v.hooks.optimizeChunks.tap({name:"AggressiveSplittingPlugin",stage:P},(E=>{const P=v.chunkGraph;const pe=new Map;const ye=new Map;const _e=ae.makePathsRelative.bindContextCache(k.context,k.root);for(const k of v.modules){const v=_e(k.identifier());pe.set(v,k);ye.set(k,v)}const Ie=new Set;for(const k of E){Ie.add(k.id)}const Me=v.records&&v.records.aggressiveSplits||[];const Te=q?Me.concat(q):Me;const je=this.options.minSize;const Ne=this.options.maxSize;const applySplit=k=>{if(k.id!==undefined&&Ie.has(k.id)){return false}const E=k.modules.map((k=>pe.get(k)));if(!E.every(Boolean))return false;let L=0;for(const k of E)L+=k.size();if(L!==k.size)return false;const N=R(E.map((k=>new Set(P.getModuleChunksIterable(k)))));if(N.size===0)return false;if(N.size===1&&P.getNumberOfChunkModules(Array.from(N)[0])===E.length){const v=Array.from(N)[0];if(le.has(v))return false;le.add(v);me.set(v,k);return true}const q=v.addChunk();q.chunkReason="aggressive splitted";for(const k of N){E.forEach(moveModuleBetween(P,k,q));k.split(q);k.name=null}le.add(q);me.set(q,k);if(k.id!==null&&k.id!==undefined){q.id=k.id;q.ids=[k.id]}return true};let Be=false;for(let k=0;k{const E=P.getChunkModulesSize(v)-P.getChunkModulesSize(k);if(E)return E;const R=P.getNumberOfChunkModules(k)-P.getNumberOfChunkModules(v);if(R)return R;return qe(k,v)}));for(const k of Ue){if(le.has(k))continue;const v=P.getChunkModulesSize(k);if(v>Ne&&P.getNumberOfChunkModules(k)>1){const v=P.getOrderedChunkModules(k,L).filter(isNotAEntryModule(P,k));const E=[];let R=0;for(let k=0;kNe&&R>=je){break}R=L;E.push(P)}if(E.length===0)continue;const N={modules:E.map((k=>ye.get(k))).sort(),size:R};if(applySplit(N)){q=(q||[]).concat(N);Be=true}}}if(Be)return true}));v.hooks.recordHash.tap("AggressiveSplittingPlugin",(k=>{const P=new Set;const R=new Set;for(const k of v.chunks){const v=me.get(k);if(v!==undefined){if(v.hash&&k.hash!==v.hash){R.add(v)}}}if(R.size>0){k.aggressiveSplits=k.aggressiveSplits.filter((k=>!R.has(k)));E=true}else{for(const k of v.chunks){const v=me.get(k);if(v!==undefined){v.hash=k.hash;v.id=k.id;P.add(v);pe.add(k)}}const L=v.records&&v.records.aggressiveSplits;if(L){for(const k of L){if(!R.has(k))P.add(k)}}k.aggressiveSplits=Array.from(P);E=false}}));v.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",(()=>{if(E){E=false;return true}}))}))}}k.exports=AggressiveSplittingPlugin},94978:function(k,v,E){"use strict";const P=E(12836);const R=E(48648);const{CachedSource:L,ConcatSource:N,ReplaceSource:q}=E(51255);const ae=E(91213);const{UsageState:le}=E(11172);const pe=E(88396);const{JAVASCRIPT_MODULE_TYPE_ESM:me}=E(93622);const ye=E(56727);const _e=E(95041);const Ie=E(69184);const Me=E(81532);const{equals:Te}=E(68863);const je=E(12359);const{concatComparators:Ne}=E(95648);const Be=E(74012);const{makePathsRelative:qe}=E(65315);const Ue=E(58528);const Ge=E(10720);const{propertyName:He}=E(72627);const{filterRuntime:We,intersectRuntime:Qe,mergeRuntimeCondition:Je,mergeRuntimeConditionNonFalse:Ve,runtimeConditionToString:Ke,subtractRuntimeCondition:Ye}=E(1540);const Xe=R;if(!Xe.prototype.PropertyDefinition){Xe.prototype.PropertyDefinition=Xe.prototype.Property}const Ze=new Set([ae.DEFAULT_EXPORT,ae.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,require,define","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 createComparator=(k,v)=>(E,P)=>v(E[k],P[k]);const compareNumbers=(k,v)=>{if(isNaN(k)){if(!isNaN(v)){return 1}}else{if(isNaN(v)){return-1}if(k!==v){return k{let v="";let E=true;for(const P of k){if(E){E=false}else{v+=", "}v+=P}return v};const getFinalBinding=(k,v,E,P,R,L,N,q,ae,le,pe,me=new Set)=>{const ye=v.module.getExportsType(k,le);if(E.length===0){switch(ye){case"default-only":v.interopNamespaceObject2Used=true;return{info:v,rawName:v.interopNamespaceObject2Name,ids:E,exportName:E};case"default-with-named":v.interopNamespaceObjectUsed=true;return{info:v,rawName:v.interopNamespaceObjectName,ids:E,exportName:E};case"namespace":case"dynamic":break;default:throw new Error(`Unexpected exportsType ${ye}`)}}else{switch(ye){case"namespace":break;case"default-with-named":switch(E[0]){case"default":E=E.slice(1);break;case"__esModule":return{info:v,rawName:"/* __esModule */true",ids:E.slice(1),exportName:E}}break;case"default-only":{const k=E[0];if(k==="__esModule"){return{info:v,rawName:"/* __esModule */true",ids:E.slice(1),exportName:E}}E=E.slice(1);if(k!=="default"){return{info:v,rawName:"/* non-default import from default-exporting module */undefined",ids:E,exportName:E}}break}case"dynamic":switch(E[0]){case"default":{E=E.slice(1);v.interopDefaultAccessUsed=true;const k=ae?`${v.interopDefaultAccessName}()`:pe?`(${v.interopDefaultAccessName}())`:pe===false?`;(${v.interopDefaultAccessName}())`:`${v.interopDefaultAccessName}.a`;return{info:v,rawName:k,ids:E,exportName:E}}case"__esModule":return{info:v,rawName:"/* __esModule */true",ids:E.slice(1),exportName:E}}break;default:throw new Error(`Unexpected exportsType ${ye}`)}}if(E.length===0){switch(v.type){case"concatenated":q.add(v);return{info:v,rawName:v.namespaceObjectName,ids:E,exportName:E};case"external":return{info:v,rawName:v.name,ids:E,exportName:E}}}const Ie=k.getExportsInfo(v.module);const Me=Ie.getExportInfo(E[0]);if(me.has(Me)){return{info:v,rawName:"/* circular reexport */ Object(function x() { x() }())",ids:[],exportName:E}}me.add(Me);switch(v.type){case"concatenated":{const le=E[0];if(Me.provided===false){q.add(v);return{info:v,rawName:v.namespaceObjectName,ids:E,exportName:E}}const ye=v.exportMap&&v.exportMap.get(le);if(ye){const k=Ie.getUsedName(E,R);if(!k){return{info:v,rawName:"/* unused export */ undefined",ids:E.slice(1),exportName:E}}return{info:v,name:ye,ids:k.slice(1),exportName:E}}const _e=v.rawExportMap&&v.rawExportMap.get(le);if(_e){return{info:v,rawName:_e,ids:E.slice(1),exportName:E}}const Te=Me.findTarget(k,(k=>P.has(k)));if(Te===false){throw new Error(`Target module of reexport from '${v.module.readableIdentifier(L)}' is not part of the concatenation (export '${le}')\nModules in the concatenation:\n${Array.from(P,(([k,v])=>` * ${v.type} ${k.readableIdentifier(L)}`)).join("\n")}`)}if(Te){const le=P.get(Te.module);return getFinalBinding(k,le,Te.export?[...Te.export,...E.slice(1)]:E.slice(1),P,R,L,N,q,ae,v.module.buildMeta.strictHarmonyModule,pe,me)}if(v.namespaceExportSymbol){const k=Ie.getUsedName(E,R);return{info:v,rawName:v.namespaceObjectName,ids:k,exportName:E}}throw new Error(`Cannot get final name for export '${E.join(".")}' of ${v.module.readableIdentifier(L)}`)}case"external":{const k=Ie.getUsedName(E,R);if(!k){return{info:v,rawName:"/* unused export */ undefined",ids:E.slice(1),exportName:E}}const P=Te(k,E)?"":_e.toNormalComment(`${E.join(".")}`);return{info:v,rawName:v.name+P,ids:k,exportName:E}}}};const getFinalName=(k,v,E,P,R,L,N,q,ae,le,pe,me)=>{const ye=getFinalBinding(k,v,E,P,R,L,N,q,ae,pe,me);{const{ids:k,comment:v}=ye;let E;let P;if("rawName"in ye){E=`${ye.rawName}${v||""}${Ge(k)}`;P=k.length>0}else{const{info:R,name:N}=ye;const q=R.internalNames.get(N);if(!q){throw new Error(`The export "${N}" in "${R.module.readableIdentifier(L)}" has no internal name (existing names: ${Array.from(R.internalNames,(([k,v])=>`${k}: ${v}`)).join(", ")||"none"})`)}E=`${q}${v||""}${Ge(k)}`;P=k.length>1}if(P&&ae&&le===false){return me?`(0,${E})`:me===false?`;(0,${E})`:`/*#__PURE__*/Object(${E})`}return E}};const addScopeSymbols=(k,v,E,P)=>{let R=k;while(R){if(E.has(R))break;if(P.has(R))break;E.add(R);for(const k of R.variables){v.add(k.name)}R=R.upper}};const getAllReferences=k=>{let v=k.references;const E=new Set(k.identifiers);for(const P of k.scope.childScopes){for(const k of P.variables){if(k.identifiers.some((k=>E.has(k)))){v=v.concat(k.references);break}}}return v};const getPathInAst=(k,v)=>{if(k===v){return[]}const E=v.range;const enterNode=k=>{if(!k)return undefined;const P=k.range;if(P){if(P[0]<=E[0]&&P[1]>=E[1]){const E=getPathInAst(k,v);if(E){E.push(k);return E}}}return undefined};if(Array.isArray(k)){for(let v=0;v!(k instanceof Ie)||!this._modules.has(v.moduleGraph.getModule(k))))){this.dependencies.push(E)}for(const v of k.blocks){this.blocks.push(v)}const E=k.getWarnings();if(E!==undefined){for(const k of E){this.addWarning(k)}}const P=k.getErrors();if(P!==undefined){for(const k of P){this.addError(k)}}if(k.buildInfo.topLevelDeclarations){const v=this.buildInfo.topLevelDeclarations;if(v!==undefined){for(const E of k.buildInfo.topLevelDeclarations){v.add(E)}}}else{this.buildInfo.topLevelDeclarations=undefined}if(k.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,k.buildInfo.assets)}if(k.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[v,E]of k.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(v,E)}}}R()}size(k){let v=0;for(const E of this._modules){v+=E.size(k)}return v}_createConcatenationList(k,v,E,P){const R=[];const L=new Map;const getConcatenatedImports=v=>{let R=Array.from(P.getOutgoingConnections(v));if(v===k){for(const k of P.getOutgoingConnections(this))R.push(k)}const L=R.filter((k=>{if(!(k.dependency instanceof Ie))return false;return k&&k.resolvedOriginModule===v&&k.module&&k.isTargetActive(E)})).map((k=>{const v=k.dependency;return{connection:k,sourceOrder:v.sourceOrder,rangeStart:v.range&&v.range[0]}}));L.sort(Ne(et,tt));const N=new Map;for(const{connection:k}of L){const v=We(E,(v=>k.isTargetActive(v)));if(v===false)continue;const P=k.module;const R=N.get(P);if(R===undefined){N.set(P,{connection:k,runtimeCondition:v});continue}R.runtimeCondition=Ve(R.runtimeCondition,v,E)}return N.values()};const enterModule=(k,P)=>{const N=k.module;if(!N)return;const q=L.get(N);if(q===true){return}if(v.has(N)){L.set(N,true);if(P!==true){throw new Error(`Cannot runtime-conditional concatenate a module (${N.identifier()} in ${this.rootModule.identifier()}, ${Ke(P)}). This should not happen.`)}const v=getConcatenatedImports(N);for(const{connection:k,runtimeCondition:E}of v)enterModule(k,E);R.push({type:"concatenated",module:k.module,runtimeCondition:P})}else{if(q!==undefined){const v=Ye(P,q,E);if(v===false)return;P=v;L.set(k.module,Ve(q,P,E))}else{L.set(k.module,P)}if(R.length>0){const v=R[R.length-1];if(v.type==="external"&&v.module===k.module){v.runtimeCondition=Je(v.runtimeCondition,P,E);return}}R.push({type:"external",get module(){return k.module},runtimeCondition:P})}};L.set(k,true);const N=getConcatenatedImports(k);for(const{connection:k,runtimeCondition:v}of N)enterModule(k,v);R.push({type:"concatenated",module:k,runtimeCondition:true});return R}static _createIdentifier(k,v,E,P="md4"){const R=qe.bindContextCache(k.context,E);let L=[];for(const k of v){L.push(R(k.identifier()))}L.sort();const N=Be(P);N.update(L.join(" "));return k.identifier()+"|"+N.digest("hex")}addCacheDependencies(k,v,E,P){for(const R of this._modules){R.addCacheDependencies(k,v,E,P)}}codeGeneration({dependencyTemplates:k,runtimeTemplate:v,moduleGraph:E,chunkGraph:P,runtime:R,codeGenerationResults:q}){const pe=new Set;const me=Qe(R,this._runtime);const _e=v.requestShortener;const[Ie,Me]=this._getModulesWithInfo(E,me);const Te=new Set;for(const R of Me.values()){this._analyseModule(Me,R,k,v,E,P,me,q)}const je=new Set(Ze);const Ne=new Set;const Be=new Map;const getUsedNamesInScopeInfo=(k,v)=>{const E=`${k}-${v}`;let P=Be.get(E);if(P===undefined){P={usedNames:new Set,alreadyCheckedScopes:new Set};Be.set(E,P)}return P};const qe=new Set;for(const k of Ie){if(k.type==="concatenated"){if(k.moduleScope){qe.add(k.moduleScope)}const P=new WeakMap;const getSuperClassExpressions=k=>{const v=P.get(k);if(v!==undefined)return v;const E=[];for(const v of k.childScopes){if(v.type!=="class")continue;const k=v.block;if((k.type==="ClassDeclaration"||k.type==="ClassExpression")&&k.superClass){E.push({range:k.superClass.range,variables:v.variables})}}P.set(k,E);return E};if(k.globalScope){for(const P of k.globalScope.through){const R=P.identifier.name;if(ae.isModuleReference(R)){const L=ae.matchModuleReference(R);if(!L)continue;const N=Ie[L.index];if(N.type==="reference")throw new Error("Module reference can't point to a reference");const q=getFinalBinding(E,N,L.ids,Me,me,_e,v,Te,false,k.module.buildMeta.strictHarmonyModule,true);if(!q.ids)continue;const{usedNames:le,alreadyCheckedScopes:pe}=getUsedNamesInScopeInfo(q.info.module.identifier(),"name"in q?q.name:"");for(const k of getSuperClassExpressions(P.from)){if(k.range[0]<=P.identifier.range[0]&&k.range[1]>=P.identifier.range[1]){for(const v of k.variables){le.add(v.name)}}}addScopeSymbols(P.from,le,pe,qe)}else{je.add(R)}}}}}for(const k of Me.values()){const{usedNames:v}=getUsedNamesInScopeInfo(k.module.identifier(),"");switch(k.type){case"concatenated":{for(const v of k.moduleScope.variables){const E=v.name;const{usedNames:P,alreadyCheckedScopes:R}=getUsedNamesInScopeInfo(k.module.identifier(),E);if(je.has(E)||P.has(E)){const L=getAllReferences(v);for(const k of L){addScopeSymbols(k.from,P,R,qe)}const N=this.findNewName(E,je,P,k.module.readableIdentifier(_e));je.add(N);k.internalNames.set(E,N);Ne.add(N);const q=k.source;const ae=new Set(L.map((k=>k.identifier)).concat(v.identifiers));for(const v of ae){const E=v.range;const P=getPathInAst(k.ast,v);if(P&&P.length>1){const k=P[1].type==="AssignmentPattern"&&P[1].left===P[0]?P[2]:P[1];if(k.type==="Property"&&k.shorthand){q.insert(E[1],`: ${N}`);continue}}q.replace(E[0],E[1]-1,N)}}else{je.add(E);k.internalNames.set(E,E);Ne.add(E)}}let E;if(k.namespaceExportSymbol){E=k.internalNames.get(k.namespaceExportSymbol)}else{E=this.findNewName("namespaceObject",je,v,k.module.readableIdentifier(_e));je.add(E)}k.namespaceObjectName=E;Ne.add(E);break}case"external":{const E=this.findNewName("",je,v,k.module.readableIdentifier(_e));je.add(E);k.name=E;Ne.add(E);break}}if(k.module.buildMeta.exportsType!=="namespace"){const E=this.findNewName("namespaceObject",je,v,k.module.readableIdentifier(_e));je.add(E);k.interopNamespaceObjectName=E;Ne.add(E)}if(k.module.buildMeta.exportsType==="default"&&k.module.buildMeta.defaultObject!=="redirect"){const E=this.findNewName("namespaceObject2",je,v,k.module.readableIdentifier(_e));je.add(E);k.interopNamespaceObject2Name=E;Ne.add(E)}if(k.module.buildMeta.exportsType==="dynamic"||!k.module.buildMeta.exportsType){const E=this.findNewName("default",je,v,k.module.readableIdentifier(_e));je.add(E);k.interopDefaultAccessName=E;Ne.add(E)}}for(const k of Me.values()){if(k.type==="concatenated"){for(const P of k.globalScope.through){const R=P.identifier.name;const L=ae.matchModuleReference(R);if(L){const R=Ie[L.index];if(R.type==="reference")throw new Error("Module reference can't point to a reference");const N=getFinalName(E,R,L.ids,Me,me,_e,v,Te,L.call,!L.directImport,k.module.buildMeta.strictHarmonyModule,L.asiSafe);const q=P.identifier.range;const ae=k.source;ae.replace(q[0],q[1]+1,N)}}}}const Ue=new Map;const Ge=new Set;const We=Me.get(this.rootModule);const Je=We.module.buildMeta.strictHarmonyModule;const Ve=E.getExportsInfo(We.module);for(const k of Ve.orderedExports){const P=k.name;if(k.provided===false)continue;const R=k.getUsedName(undefined,me);if(!R){Ge.add(P);continue}Ue.set(R,(L=>{try{const R=getFinalName(E,We,[P],Me,me,L,v,Te,false,false,Je,true);return`/* ${k.isReexport()?"reexport":"binding"} */ ${R}`}catch(k){k.message+=`\nwhile generating the root export '${P}' (used name: '${R}')`;throw k}}))}const Ke=new N;if(E.getExportsInfo(this).otherExportsInfo.getUsed(me)!==le.Unused){Ke.add(`// ESM COMPAT FLAG\n`);Ke.add(v.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument,runtimeRequirements:pe}))}if(Ue.size>0){pe.add(ye.exports);pe.add(ye.definePropertyGetters);const k=[];for(const[E,P]of Ue){k.push(`\n ${He(E)}: ${v.returningFunction(P(_e))}`)}Ke.add(`\n// EXPORTS\n`);Ke.add(`${ye.definePropertyGetters}(${this.exportsArgument}, {${k.join(",")}\n});\n`)}if(Ge.size>0){Ke.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(Ge)}\n`)}const Ye=new Map;for(const k of Te){if(k.namespaceExportSymbol)continue;const P=[];const R=E.getExportsInfo(k.module);for(const L of R.orderedExports){if(L.provided===false)continue;const R=L.getUsedName(undefined,me);if(R){const N=getFinalName(E,k,[L.name],Me,me,_e,v,Te,false,undefined,k.module.buildMeta.strictHarmonyModule,true);P.push(`\n ${He(R)}: ${v.returningFunction(N)}`)}}const L=k.namespaceObjectName;const N=P.length>0?`${ye.definePropertyGetters}(${L}, {${P.join(",")}\n});\n`:"";if(P.length>0)pe.add(ye.definePropertyGetters);Ye.set(k,`\n// NAMESPACE OBJECT: ${k.module.readableIdentifier(_e)}\nvar ${L} = {};\n${ye.makeNamespaceObject}(${L});\n${N}`);pe.add(ye.makeNamespaceObject)}for(const k of Ie){if(k.type==="concatenated"){const v=Ye.get(k);if(!v)continue;Ke.add(v)}}const Xe=[];for(const k of Ie){let E;let R=false;const L=k.type==="reference"?k.target:k;switch(L.type){case"concatenated":{Ke.add(`\n;// CONCATENATED MODULE: ${L.module.readableIdentifier(_e)}\n`);Ke.add(L.source);if(L.chunkInitFragments){for(const k of L.chunkInitFragments)Xe.push(k)}if(L.runtimeRequirements){for(const k of L.runtimeRequirements){pe.add(k)}}E=L.namespaceObjectName;break}case"external":{Ke.add(`\n// EXTERNAL MODULE: ${L.module.readableIdentifier(_e)}\n`);pe.add(ye.require);const{runtimeCondition:N}=k;const q=v.runtimeConditionExpression({chunkGraph:P,runtimeCondition:N,runtime:me,runtimeRequirements:pe});if(q!=="true"){R=true;Ke.add(`if (${q}) {\n`)}Ke.add(`var ${L.name} = ${ye.require}(${JSON.stringify(P.getModuleId(L.module))});`);E=L.name;break}default:throw new Error(`Unsupported concatenation entry type ${L.type}`)}if(L.interopNamespaceObjectUsed){pe.add(ye.createFakeNamespaceObject);Ke.add(`\nvar ${L.interopNamespaceObjectName} = /*#__PURE__*/${ye.createFakeNamespaceObject}(${E}, 2);`)}if(L.interopNamespaceObject2Used){pe.add(ye.createFakeNamespaceObject);Ke.add(`\nvar ${L.interopNamespaceObject2Name} = /*#__PURE__*/${ye.createFakeNamespaceObject}(${E});`)}if(L.interopDefaultAccessUsed){pe.add(ye.compatGetDefaultExport);Ke.add(`\nvar ${L.interopDefaultAccessName} = /*#__PURE__*/${ye.compatGetDefaultExport}(${E});`)}if(R){Ke.add("\n}")}}const et=new Map;if(Xe.length>0)et.set("chunkInitFragments",Xe);et.set("topLevelDeclarations",Ne);const tt={sources:new Map([["javascript",new L(Ke)]]),data:et,runtimeRequirements:pe};return tt}_analyseModule(k,v,E,R,L,N,le,pe){if(v.type==="concatenated"){const me=v.module;try{const ye=new ae(k,v);const _e=me.codeGeneration({dependencyTemplates:E,runtimeTemplate:R,moduleGraph:L,chunkGraph:N,runtime:le,concatenationScope:ye,codeGenerationResults:pe,sourceTypes:nt});const Ie=_e.sources.get("javascript");const Te=_e.data;const je=Te&&Te.get("chunkInitFragments");const Ne=Ie.source().toString();let Be;try{Be=Me._parse(Ne,{sourceType:"module"})}catch(k){if(k.loc&&typeof k.loc==="object"&&typeof k.loc.line==="number"){const v=k.loc.line;const E=Ne.split("\n");k.message+="\n| "+E.slice(Math.max(0,v-3),v+2).join("\n| ")}throw k}const qe=P.analyze(Be,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const Ue=qe.acquire(Be);const Ge=Ue.childScopes[0];const He=new q(Ie);v.runtimeRequirements=_e.runtimeRequirements;v.ast=Be;v.internalSource=Ie;v.source=He;v.chunkInitFragments=je;v.globalScope=Ue;v.moduleScope=Ge}catch(k){k.message+=`\nwhile analyzing module ${me.identifier()} for concatenation`;throw k}}}_getModulesWithInfo(k,v){const E=this._createConcatenationList(this.rootModule,this._modules,v,k);const P=new Map;const R=E.map(((k,v)=>{let E=P.get(k.module);if(E===undefined){switch(k.type){case"concatenated":E={type:"concatenated",module:k.module,index:v,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":E={type:"external",module:k.module,runtimeCondition:k.runtimeCondition,index:v,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;default:throw new Error(`Unsupported concatenation entry type ${k.type}`)}P.set(E.module,E);return E}else{const v={type:"reference",runtimeCondition:k.runtimeCondition,target:E};return v}}));return[R,P]}findNewName(k,v,E,P){let R=k;if(R===ae.DEFAULT_EXPORT){R=""}if(R===ae.NAMESPACE_OBJECT_EXPORT){R="namespaceObject"}P=P.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const L=P.split("/");while(L.length){R=L.pop()+(R?"_"+R:"");const k=_e.toIdentifier(R);if(!v.has(k)&&(!E||!E.has(k)))return k}let N=0;let q=_e.toIdentifier(`${R}_${N}`);while(v.has(q)||E&&E.has(q)){N++;q=_e.toIdentifier(`${R}_${N}`)}return q}updateHash(k,v){const{chunkGraph:E,runtime:P}=v;for(const R of this._createConcatenationList(this.rootModule,this._modules,Qe(P,this._runtime),E.moduleGraph)){switch(R.type){case"concatenated":R.module.updateHash(k,v);break;case"external":k.update(`${E.getModuleId(R.module)}`);break}}super.updateHash(k,v)}static deserialize(k){const v=new ConcatenatedModule({identifier:undefined,rootModule:undefined,modules:undefined,runtime:undefined});v.deserialize(k);return v}}Ue(ConcatenatedModule,"webpack/lib/optimize/ConcatenatedModule");k.exports=ConcatenatedModule},4945:function(k,v,E){"use strict";const{STAGE_BASIC:P}=E(99134);class EnsureChunkConditionsPlugin{apply(k){k.hooks.compilation.tap("EnsureChunkConditionsPlugin",(k=>{const handler=v=>{const E=k.chunkGraph;const P=new Set;const R=new Set;for(const v of k.modules){if(!v.hasChunkCondition())continue;for(const L of E.getModuleChunksIterable(v)){if(!v.chunkCondition(L,k)){P.add(L);for(const k of L.groupsIterable){R.add(k)}}}if(P.size===0)continue;const L=new Set;e:for(const E of R){for(const P of E.chunks){if(v.chunkCondition(P,k)){L.add(P);continue e}}if(E.isInitial()){throw new Error("Cannot fullfil chunk condition of "+v.identifier())}for(const k of E.parentsIterable){R.add(k)}}for(const k of P){E.disconnectChunkAndModule(k,v)}for(const k of L){E.connectChunkAndModule(k,v)}P.clear();R.clear()}};k.hooks.optimizeChunks.tap({name:"EnsureChunkConditionsPlugin",stage:P},handler)}))}}k.exports=EnsureChunkConditionsPlugin},63511:function(k){"use strict";class FlagIncludedChunksPlugin{apply(k){k.hooks.compilation.tap("FlagIncludedChunksPlugin",(k=>{k.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",(v=>{const E=k.chunkGraph;const P=new WeakMap;const R=k.modules.size;const L=1/Math.pow(1/R,1/31);const N=Array.from({length:31},((k,v)=>Math.pow(L,v)|0));let q=0;for(const v of k.modules){let k=30;while(q%N[k]!==0){k--}P.set(v,1<E.getNumberOfModuleChunks(v))R=v}e:for(const L of E.getModuleChunksIterable(R)){if(k===L)continue;const R=E.getNumberOfChunkModules(L);if(R===0)continue;if(P>R)continue;const N=ae.get(L);if((N&v)!==v)continue;for(const v of E.getChunkModulesIterable(k)){if(!E.isModuleInChunk(v,L))continue e}L.ids.push(k.id)}}}))}))}}k.exports=FlagIncludedChunksPlugin},88926:function(k,v,E){"use strict";const{UsageState:P}=E(11172);const R=new WeakMap;const L=Symbol("top level symbol");function getState(k){return R.get(k)}v.bailout=k=>{R.set(k,false)};v.enable=k=>{const v=R.get(k);if(v===false){return}R.set(k,{innerGraph:new Map,currentTopLevelSymbol:undefined,usageCallbackMap:new Map})};v.isEnabled=k=>{const v=R.get(k);return!!v};v.addUsage=(k,v,E)=>{const P=getState(k);if(P){const{innerGraph:k}=P;const R=k.get(v);if(E===true){k.set(v,true)}else if(R===undefined){k.set(v,new Set([E]))}else if(R!==true){R.add(E)}}};v.addVariableUsage=(k,E,P)=>{const R=k.getTagData(E,L)||v.tagTopLevelSymbol(k,E);if(R){v.addUsage(k.state,R,P)}};v.inferDependencyUsage=k=>{const v=getState(k);if(!v){return}const{innerGraph:E,usageCallbackMap:P}=v;const R=new Map;const L=new Set(E.keys());while(L.size>0){for(const k of L){let v=new Set;let P=true;const N=E.get(k);let q=R.get(k);if(q===undefined){q=new Set;R.set(k,q)}if(N!==true&&N!==undefined){for(const k of N){q.add(k)}for(const R of N){if(typeof R==="string"){v.add(R)}else{const L=E.get(R);if(L===true){v=true;break}if(L!==undefined){for(const E of L){if(E===k)continue;if(q.has(E))continue;v.add(E);if(typeof E!=="string"){P=false}}}}}if(v===true){E.set(k,true)}else if(v.size===0){E.set(k,undefined)}else{E.set(k,v)}}if(P){L.delete(k);if(k===null){const k=E.get(null);if(k){for(const[v,P]of E){if(v!==null&&P!==true){if(k===true){E.set(v,true)}else{const R=new Set(P);for(const v of k){R.add(v)}E.set(v,R)}}}}}}}}for(const[k,v]of P){const P=E.get(k);for(const k of v){k(P===undefined?false:P)}}};v.onUsage=(k,v)=>{const E=getState(k);if(E){const{usageCallbackMap:k,currentTopLevelSymbol:P}=E;if(P){let E=k.get(P);if(E===undefined){E=new Set;k.set(P,E)}E.add(v)}else{v(true)}}else{v(undefined)}};v.setTopLevelSymbol=(k,v)=>{const E=getState(k);if(E){E.currentTopLevelSymbol=v}};v.getTopLevelSymbol=k=>{const v=getState(k);if(v){return v.currentTopLevelSymbol}};v.tagTopLevelSymbol=(k,v)=>{const E=getState(k.state);if(!E)return;k.defineVariable(v);const P=k.getTagData(v,L);if(P){return P}const R=new TopLevelSymbol(v);k.tagVariable(v,L,R);return R};v.isDependencyUsedByExports=(k,v,E,R)=>{if(v===false)return false;if(v!==true&&v!==undefined){const L=E.getParentModule(k);const N=E.getExportsInfo(L);let q=false;for(const k of v){if(N.getUsed(k,R)!==P.Unused)q=true}if(!q)return false}return true};v.getDependencyUsedByExportsCondition=(k,v,E)=>{if(v===false)return false;if(v!==true&&v!==undefined){const R=E.getParentModule(k);const L=E.getExportsInfo(R);return(k,E)=>{for(const k of v){if(L.getUsed(k,E)!==P.Unused)return true}return false}}return null};class TopLevelSymbol{constructor(k){this.name=k}}v.TopLevelSymbol=TopLevelSymbol;v.topLevelSymbolTag=L},31911:function(k,v,E){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:P,JAVASCRIPT_MODULE_TYPE_ESM:R}=E(93622);const L=E(19308);const N=E(88926);const{topLevelSymbolTag:q}=N;const ae="InnerGraphPlugin";class InnerGraphPlugin{apply(k){k.hooks.compilation.tap(ae,((k,{normalModuleFactory:v})=>{const E=k.getLogger("webpack.InnerGraphPlugin");k.dependencyTemplates.set(L,new L.Template);const handler=(k,v)=>{const onUsageSuper=v=>{N.onUsage(k.state,(E=>{switch(E){case undefined:case true:return;default:{const P=new L(v.range);P.loc=v.loc;P.usedByExports=E;k.state.module.addDependency(P);break}}}))};k.hooks.program.tap(ae,(()=>{N.enable(k.state)}));k.hooks.finish.tap(ae,(()=>{if(!N.isEnabled(k.state))return;E.time("infer dependency usage");N.inferDependencyUsage(k.state);E.timeAggregate("infer dependency usage")}));const P=new WeakMap;const R=new WeakMap;const le=new WeakMap;const pe=new WeakMap;const me=new WeakSet;k.hooks.preStatement.tap(ae,(v=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true){if(v.type==="FunctionDeclaration"){const E=v.id?v.id.name:"*default*";const R=N.tagTopLevelSymbol(k,E);P.set(v,R);return true}}}));k.hooks.blockPreStatement.tap(ae,(v=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true){if(v.type==="ClassDeclaration"&&k.isPure(v,v.range[0])){const E=v.id?v.id.name:"*default*";const P=N.tagTopLevelSymbol(k,E);le.set(v,P);return true}if(v.type==="ExportDefaultDeclaration"){const E="*default*";const L=N.tagTopLevelSymbol(k,E);const q=v.declaration;if((q.type==="ClassExpression"||q.type==="ClassDeclaration")&&k.isPure(q,q.range[0])){le.set(q,L)}else if(k.isPure(q,v.range[0])){P.set(v,L);if(!q.type.endsWith("FunctionExpression")&&!q.type.endsWith("Declaration")&&q.type!=="Literal"){R.set(v,q)}}}}}));k.hooks.preDeclarator.tap(ae,((v,E)=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true&&v.init&&v.id.type==="Identifier"){const E=v.id.name;if(v.init.type==="ClassExpression"&&k.isPure(v.init,v.id.range[1])){const P=N.tagTopLevelSymbol(k,E);le.set(v.init,P)}else if(k.isPure(v.init,v.id.range[1])){const P=N.tagTopLevelSymbol(k,E);pe.set(v,P);if(!v.init.type.endsWith("FunctionExpression")&&v.init.type!=="Literal"){me.add(v)}return true}}}));k.hooks.statement.tap(ae,(v=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true){N.setTopLevelSymbol(k.state,undefined);const E=P.get(v);if(E){N.setTopLevelSymbol(k.state,E);const P=R.get(v);if(P){N.onUsage(k.state,(E=>{switch(E){case undefined:case true:return;default:{const R=new L(P.range);R.loc=v.loc;R.usedByExports=E;k.state.module.addDependency(R);break}}}))}}}}));k.hooks.classExtendsExpression.tap(ae,((v,E)=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true){const P=le.get(E);if(P&&k.isPure(v,E.id?E.id.range[1]:E.range[0])){N.setTopLevelSymbol(k.state,P);onUsageSuper(v)}}}));k.hooks.classBodyElement.tap(ae,((v,E)=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true){const v=le.get(E);if(v){N.setTopLevelSymbol(k.state,undefined)}}}));k.hooks.classBodyValue.tap(ae,((v,E,P)=>{if(!N.isEnabled(k.state))return;if(k.scope.topLevelScope===true){const R=le.get(P);if(R){if(!E.static||k.isPure(v,E.key?E.key.range[1]:E.range[0])){N.setTopLevelSymbol(k.state,R);if(E.type!=="MethodDefinition"&&E.static){N.onUsage(k.state,(E=>{switch(E){case undefined:case true:return;default:{const P=new L(v.range);P.loc=v.loc;P.usedByExports=E;k.state.module.addDependency(P);break}}}))}}else{N.setTopLevelSymbol(k.state,undefined)}}}}));k.hooks.declarator.tap(ae,((v,E)=>{if(!N.isEnabled(k.state))return;const P=pe.get(v);if(P){N.setTopLevelSymbol(k.state,P);if(me.has(v)){if(v.init.type==="ClassExpression"){if(v.init.superClass){onUsageSuper(v.init.superClass)}}else{N.onUsage(k.state,(E=>{switch(E){case undefined:case true:return;default:{const P=new L(v.init.range);P.loc=v.loc;P.usedByExports=E;k.state.module.addDependency(P);break}}}))}}k.walkExpression(v.init);N.setTopLevelSymbol(k.state,undefined);return true}}));k.hooks.expression.for(q).tap(ae,(()=>{const v=k.currentTagData;const E=N.getTopLevelSymbol(k.state);N.addUsage(k.state,v,E||true)}));k.hooks.assign.for(q).tap(ae,(v=>{if(!N.isEnabled(k.state))return;if(v.operator==="=")return true}))};v.hooks.parser.for(P).tap(ae,handler);v.hooks.parser.for(R).tap(ae,handler);k.hooks.finishModules.tap(ae,(()=>{E.timeAggregateEnd("infer dependency usage")}))}))}}k.exports=InnerGraphPlugin},17452:function(k,v,E){"use strict";const{STAGE_ADVANCED:P}=E(99134);const R=E(50680);const{compareChunks:L}=E(95648);const N=E(92198);const q=N(E(39559),(()=>E(30355)),{name:"Limit Chunk Count Plugin",baseDataPath:"options"});const addToSetMap=(k,v,E)=>{const P=k.get(v);if(P===undefined){k.set(v,new Set([E]))}else{P.add(E)}};class LimitChunkCountPlugin{constructor(k){q(k);this.options=k}apply(k){const v=this.options;k.hooks.compilation.tap("LimitChunkCountPlugin",(k=>{k.hooks.optimizeChunks.tap({name:"LimitChunkCountPlugin",stage:P},(E=>{const P=k.chunkGraph;const N=v.maxChunks;if(!N)return;if(N<1)return;if(k.chunks.size<=N)return;let q=k.chunks.size-N;const ae=L(P);const le=Array.from(E).sort(ae);const pe=new R((k=>k.sizeDiff),((k,v)=>v-k),(k=>k.integratedSize),((k,v)=>k-v),(k=>k.bIdx-k.aIdx),((k,v)=>k-v),((k,v)=>k.bIdx-v.bIdx));const me=new Map;le.forEach(((k,E)=>{for(let R=0;R0){const k=new Set(R.groupsIterable);for(const v of L.groupsIterable){k.add(v)}for(const v of k){for(const k of ye){if(k!==R&&k!==L&&k.isInGroup(v)){q--;if(q<=0)break e;ye.add(R);ye.add(L);continue e}}for(const E of v.parentsIterable){k.add(E)}}}if(P.canChunksBeIntegrated(R,L)){P.integrateChunks(R,L);k.chunks.delete(L);ye.add(R);_e=true;q--;if(q<=0)break;for(const k of me.get(R)){if(k.deleted)continue;k.deleted=true;pe.delete(k)}for(const k of me.get(L)){if(k.deleted)continue;if(k.a===L){if(!P.canChunksBeIntegrated(R,k.b)){k.deleted=true;pe.delete(k);continue}const E=P.getIntegratedChunksSize(R,k.b,v);const L=pe.startUpdate(k);k.a=R;k.integratedSize=E;k.aSize=N;k.sizeDiff=k.bSize+N-E;L()}else if(k.b===L){if(!P.canChunksBeIntegrated(k.a,R)){k.deleted=true;pe.delete(k);continue}const E=P.getIntegratedChunksSize(k.a,R,v);const L=pe.startUpdate(k);k.b=R;k.integratedSize=E;k.bSize=N;k.sizeDiff=N+k.aSize-E;L()}}me.set(R,me.get(L));me.delete(L)}}if(_e)return true}))}))}}k.exports=LimitChunkCountPlugin},45287:function(k,v,E){"use strict";const{UsageState:P}=E(11172);const{numberToIdentifier:R,NUMBER_OF_IDENTIFIER_START_CHARS:L,NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:N}=E(95041);const{assignDeterministicIds:q}=E(88667);const{compareSelect:ae,compareStringsNumeric:le}=E(95648);const canMangle=k=>{if(k.otherExportsInfo.getUsed(undefined)!==P.Unused)return false;let v=false;for(const E of k.exports){if(E.canMangle===true){v=true}}return v};const pe=ae((k=>k.name),le);const mangleExportsInfo=(k,v,E)=>{if(!canMangle(v))return;const ae=new Set;const le=[];let me=!E;if(!me&&k){for(const k of v.ownedExports){if(k.provided!==false){me=true;break}}}for(const E of v.ownedExports){const v=E.name;if(!E.hasUsedName()){if(E.canMangle!==true||v.length===1&&/^[a-zA-Z0-9_$]/.test(v)||k&&v.length===2&&/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(v)||me&&E.provided!==true){E.setUsedName(v);ae.add(v)}else{le.push(E)}}if(E.exportsInfoOwned){const v=E.getUsed(undefined);if(v===P.OnlyPropertiesUsed||v===P.Unused){mangleExportsInfo(k,E.exportsInfo,false)}}}if(k){q(le,(k=>k.name),pe,((k,v)=>{const E=R(v);const P=ae.size;ae.add(E);if(P===ae.size)return false;k.setUsedName(E);return true}),[L,L*N],N,ae.size)}else{const k=[];const v=[];for(const E of le){if(E.getUsed(undefined)===P.Unused){v.push(E)}else{k.push(E)}}k.sort(pe);v.sort(pe);let E=0;for(const P of[k,v]){for(const k of P){let v;do{v=R(E++)}while(ae.has(v));k.setUsedName(v)}}}};class MangleExportsPlugin{constructor(k){this._deterministic=k}apply(k){const{_deterministic:v}=this;k.hooks.compilation.tap("MangleExportsPlugin",(k=>{const E=k.moduleGraph;k.hooks.optimizeCodeGeneration.tap("MangleExportsPlugin",(P=>{if(k.moduleMemCaches){throw new Error("optimization.mangleExports can't be used with cacheUnaffected as export mangling is a global effect")}for(const k of P){const P=k.buildMeta&&k.buildMeta.exportsType==="namespace";const R=E.getExportsInfo(k);mangleExportsInfo(v,R,P)}}))}))}}k.exports=MangleExportsPlugin},79008:function(k,v,E){"use strict";const{STAGE_BASIC:P}=E(99134);const{runtimeEqual:R}=E(1540);class MergeDuplicateChunksPlugin{apply(k){k.hooks.compilation.tap("MergeDuplicateChunksPlugin",(k=>{k.hooks.optimizeChunks.tap({name:"MergeDuplicateChunksPlugin",stage:P},(v=>{const{chunkGraph:E,moduleGraph:P}=k;const L=new Set;for(const N of v){let v;for(const k of E.getChunkModulesIterable(N)){if(v===undefined){for(const P of E.getModuleChunksIterable(k)){if(P!==N&&E.getNumberOfChunkModules(N)===E.getNumberOfChunkModules(P)&&!L.has(P)){if(v===undefined){v=new Set}v.add(P)}}if(v===undefined)break}else{for(const P of v){if(!E.isModuleInChunk(k,P)){v.delete(P)}}if(v.size===0)break}}if(v!==undefined&&v.size>0){e:for(const L of v){if(L.hasRuntime()!==N.hasRuntime())continue;if(E.getNumberOfEntryModules(N)>0)continue;if(E.getNumberOfEntryModules(L)>0)continue;if(!R(N.runtime,L.runtime)){for(const k of E.getChunkModulesIterable(N)){const v=P.getExportsInfo(k);if(!v.isEquallyUsed(N.runtime,L.runtime)){continue e}}}if(E.canChunksBeIntegrated(N,L)){E.integrateChunks(N,L);k.chunks.delete(L)}}}L.add(N)}}))}))}}k.exports=MergeDuplicateChunksPlugin},25971:function(k,v,E){"use strict";const{STAGE_ADVANCED:P}=E(99134);const R=E(92198);const L=R(E(30666),(()=>E(78782)),{name:"Min Chunk Size Plugin",baseDataPath:"options"});class MinChunkSizePlugin{constructor(k){L(k);this.options=k}apply(k){const v=this.options;const E=v.minChunkSize;k.hooks.compilation.tap("MinChunkSizePlugin",(k=>{k.hooks.optimizeChunks.tap({name:"MinChunkSizePlugin",stage:P},(P=>{const R=k.chunkGraph;const L={chunkOverhead:1,entryChunkMultiplicator:1};const N=new Map;const q=[];const ae=[];const le=[];for(const k of P){if(R.getChunkSize(k,L){const E=N.get(k[0]);const P=N.get(k[1]);const L=R.getIntegratedChunksSize(k[0],k[1],v);const q=[E+P-L,L,k[0],k[1]];return q})).sort(((k,v)=>{const E=v[0]-k[0];if(E!==0)return E;return k[1]-v[1]}));if(pe.length===0)return;const me=pe[0];R.integrateChunks(me[2],me[3]);k.chunks.delete(me[3]);return true}))}))}}k.exports=MinChunkSizePlugin},47490:function(k,v,E){"use strict";const P=E(3386);const R=E(71572);class MinMaxSizeWarning extends R{constructor(k,v,E){let R="Fallback cache group";if(k){R=k.length>1?`Cache groups ${k.sort().join(", ")}`:`Cache group ${k[0]}`}super(`SplitChunksPlugin\n`+`${R}\n`+`Configured minSize (${P.formatSize(v)}) is `+`bigger than maxSize (${P.formatSize(E)}).\n`+"This seem to be a invalid optimization.splitChunks configuration.")}}k.exports=MinMaxSizeWarning},30899:function(k,v,E){"use strict";const P=E(78175);const R=E(38317);const L=E(88223);const{STAGE_DEFAULT:N}=E(99134);const q=E(69184);const{compareModulesByIdentifier:ae}=E(95648);const{intersectRuntime:le,mergeRuntimeOwned:pe,filterRuntime:me,runtimeToString:ye,mergeRuntime:_e}=E(1540);const Ie=E(94978);const formatBailoutReason=k=>"ModuleConcatenation bailout: "+k;class ModuleConcatenationPlugin{constructor(k){if(typeof k!=="object")k={};this.options=k}apply(k){const{_backCompat:v}=k;k.hooks.compilation.tap("ModuleConcatenationPlugin",(E=>{if(E.moduleMemCaches){throw new Error("optimization.concatenateModules can't be used with cacheUnaffected as module concatenation is a global effect")}const ae=E.moduleGraph;const le=new Map;const setBailoutReason=(k,v)=>{setInnerBailoutReason(k,v);ae.getOptimizationBailout(k).push(typeof v==="function"?k=>formatBailoutReason(v(k)):formatBailoutReason(v))};const setInnerBailoutReason=(k,v)=>{le.set(k,v)};const getInnerBailoutReason=(k,v)=>{const E=le.get(k);if(typeof E==="function")return E(v);return E};const formatBailoutWarning=(k,v)=>E=>{if(typeof v==="function"){return formatBailoutReason(`Cannot concat with ${k.readableIdentifier(E)}: ${v(E)}`)}const P=getInnerBailoutReason(k,E);const R=P?`: ${P}`:"";if(k===v){return formatBailoutReason(`Cannot concat with ${k.readableIdentifier(E)}${R}`)}else{return formatBailoutReason(`Cannot concat with ${k.readableIdentifier(E)} because of ${v.readableIdentifier(E)}${R}`)}};E.hooks.optimizeChunkModules.tapAsync({name:"ModuleConcatenationPlugin",stage:N},((N,ae,le)=>{const ye=E.getLogger("webpack.ModuleConcatenationPlugin");const{chunkGraph:_e,moduleGraph:Me}=E;const Te=[];const je=new Set;const Ne={chunkGraph:_e,moduleGraph:Me};ye.time("select relevant modules");for(const k of ae){let v=true;let E=true;const P=k.getConcatenationBailoutReason(Ne);if(P){setBailoutReason(k,P);continue}if(Me.isAsync(k)){setBailoutReason(k,`Module is async`);continue}if(!k.buildInfo.strict){setBailoutReason(k,`Module is not in strict mode`);continue}if(_e.getNumberOfModuleChunks(k)===0){setBailoutReason(k,"Module is not in any chunk");continue}const R=Me.getExportsInfo(k);const L=R.getRelevantExports(undefined);const N=L.filter((k=>k.isReexport()&&!k.getTarget(Me)));if(N.length>0){setBailoutReason(k,`Reexports in this module do not have a static target (${Array.from(N,(k=>`${k.name||"other exports"}: ${k.getUsedInfo()}`)).join(", ")})`);continue}const q=L.filter((k=>k.provided!==true));if(q.length>0){setBailoutReason(k,`List of module exports is dynamic (${Array.from(q,(k=>`${k.name||"other exports"}: ${k.getProvidedInfo()} and ${k.getUsedInfo()}`)).join(", ")})`);v=false}if(_e.isEntryModule(k)){setInnerBailoutReason(k,"Module is an entry point");E=false}if(v)Te.push(k);if(E)je.add(k)}ye.timeEnd("select relevant modules");ye.debug(`${Te.length} potential root modules, ${je.size} potential inner modules`);ye.time("sort relevant modules");Te.sort(((k,v)=>Me.getDepth(k)-Me.getDepth(v)));ye.timeEnd("sort relevant modules");const Be={cached:0,alreadyInConfig:0,invalidModule:0,incorrectChunks:0,incorrectDependency:0,incorrectModuleDependency:0,incorrectChunksOfImporter:0,incorrectRuntimeCondition:0,importerFailed:0,added:0};let qe=0;let Ue=0;let Ge=0;ye.time("find modules to concatenate");const He=[];const We=new Set;for(const k of Te){if(We.has(k))continue;let v=undefined;for(const E of _e.getModuleRuntimes(k)){v=pe(v,E)}const P=Me.getExportsInfo(k);const R=me(v,(k=>P.isModuleUsed(k)));const L=R===true?v:R===false?undefined:R;const N=new ConcatConfiguration(k,L);const q=new Map;const ae=new Set;for(const v of this._getImports(E,k,L)){ae.add(v)}for(const k of ae){const P=new Set;const R=this._tryToAdd(E,N,k,v,L,je,P,q,_e,true,Be);if(R){q.set(k,R);N.addWarning(k,R)}else{for(const k of P){ae.add(k)}}}qe+=ae.size;if(!N.isEmpty()){const k=N.getModules();Ue+=k.size;He.push(N);for(const v of k){if(v!==N.rootModule){We.add(v)}}}else{Ge++;const v=Me.getOptimizationBailout(k);for(const k of N.getWarningsSorted()){v.push(formatBailoutWarning(k[0],k[1]))}}}ye.timeEnd("find modules to concatenate");ye.debug(`${He.length} successful concat configurations (avg size: ${Ue/He.length}), ${Ge} bailed out completely`);ye.debug(`${qe} candidates were considered for adding (${Be.cached} cached failure, ${Be.alreadyInConfig} already in config, ${Be.invalidModule} invalid module, ${Be.incorrectChunks} incorrect chunks, ${Be.incorrectDependency} incorrect dependency, ${Be.incorrectChunksOfImporter} incorrect chunks of importer, ${Be.incorrectModuleDependency} incorrect module dependency, ${Be.incorrectRuntimeCondition} incorrect runtime condition, ${Be.importerFailed} importer failed, ${Be.added} added)`);ye.time(`sort concat configurations`);He.sort(((k,v)=>v.modules.size-k.modules.size));ye.timeEnd(`sort concat configurations`);const Qe=new Set;ye.time("create concatenated modules");P.each(He,((P,N)=>{const ae=P.rootModule;if(Qe.has(ae))return N();const le=P.getModules();for(const k of le){Qe.add(k)}let pe=Ie.create(ae,le,P.runtime,k.root,E.outputOptions.hashFunction);const build=()=>{pe.build(k.options,E,null,null,(k=>{if(k){if(!k.module){k.module=pe}return N(k)}integrate()}))};const integrate=()=>{if(v){R.setChunkGraphForModule(pe,_e);L.setModuleGraphForModule(pe,Me)}for(const k of P.getWarningsSorted()){Me.getOptimizationBailout(pe).push(formatBailoutWarning(k[0],k[1]))}Me.cloneModuleAttributes(ae,pe);for(const k of le){if(E.builtModules.has(k)){E.builtModules.add(pe)}if(k!==ae){Me.copyOutgoingModuleConnections(k,pe,(v=>v.originModule===k&&!(v.dependency instanceof q&&le.has(v.module))));for(const v of _e.getModuleChunksIterable(ae)){const E=_e.getChunkModuleSourceTypes(v,k);if(E.size===1){_e.disconnectChunkAndModule(v,k)}else{const P=new Set(E);P.delete("javascript");_e.setChunkModuleSourceTypes(v,k,P)}}}}E.modules.delete(ae);R.clearChunkGraphForModule(ae);L.clearModuleGraphForModule(ae);_e.replaceModule(ae,pe);Me.moveModuleConnections(ae,pe,(k=>{const v=k.module===ae?k.originModule:k.module;const E=k.dependency instanceof q&&le.has(v);return!E}));E.modules.add(pe);N()};build()}),(k=>{ye.timeEnd("create concatenated modules");process.nextTick(le.bind(null,k))}))}))}))}_getImports(k,v,E){const P=k.moduleGraph;const R=new Set;for(const L of v.dependencies){if(!(L instanceof q))continue;const N=P.getConnection(L);if(!N||!N.module||!N.isTargetActive(E)){continue}const ae=k.getDependencyReferencedExports(L,undefined);if(ae.every((k=>Array.isArray(k)?k.length>0:k.name.length>0))||Array.isArray(P.getProvidedExports(v))){R.add(N.module)}}return R}_tryToAdd(k,v,E,P,R,L,N,Ie,Me,Te,je){const Ne=Ie.get(E);if(Ne){je.cached++;return Ne}if(v.has(E)){je.alreadyInConfig++;return null}if(!L.has(E)){je.invalidModule++;Ie.set(E,E);return E}const Be=Array.from(Me.getModuleChunksIterable(v.rootModule)).filter((k=>!Me.isModuleInChunk(E,k)));if(Be.length>0){const problem=k=>{const v=Array.from(new Set(Be.map((k=>k.name||"unnamed chunk(s)")))).sort();const P=Array.from(new Set(Array.from(Me.getModuleChunksIterable(E)).map((k=>k.name||"unnamed chunk(s)")))).sort();return`Module ${E.readableIdentifier(k)} is not in the same chunk(s) (expected in chunk(s) ${v.join(", ")}, module is in chunk(s) ${P.join(", ")})`};je.incorrectChunks++;Ie.set(E,problem);return problem}const qe=k.moduleGraph;const Ue=qe.getIncomingConnectionsByOriginModule(E);const Ge=Ue.get(null)||Ue.get(undefined);if(Ge){const k=Ge.filter((k=>k.isActive(P)));if(k.length>0){const problem=v=>{const P=new Set(k.map((k=>k.explanation)).filter(Boolean));const R=Array.from(P).sort();return`Module ${E.readableIdentifier(v)} is referenced ${R.length>0?`by: ${R.join(", ")}`:"in an unsupported way"}`};je.incorrectDependency++;Ie.set(E,problem);return problem}}const He=new Map;for(const[k,v]of Ue){if(k){if(Me.getNumberOfModuleChunks(k)===0)continue;let E=undefined;for(const v of Me.getModuleRuntimes(k)){E=pe(E,v)}if(!le(P,E))continue;const R=v.filter((k=>k.isActive(P)));if(R.length>0)He.set(k,R)}}const We=Array.from(He.keys());const Qe=We.filter((k=>{for(const E of Me.getModuleChunksIterable(v.rootModule)){if(!Me.isModuleInChunk(k,E)){return true}}return false}));if(Qe.length>0){const problem=k=>{const v=Qe.map((v=>v.readableIdentifier(k))).sort();return`Module ${E.readableIdentifier(k)} is referenced from different chunks by these modules: ${v.join(", ")}`};je.incorrectChunksOfImporter++;Ie.set(E,problem);return problem}const Je=new Map;for(const[k,v]of He){const E=v.filter((k=>!k.dependency||!(k.dependency instanceof q)));if(E.length>0)Je.set(k,v)}if(Je.size>0){const problem=k=>{const v=Array.from(Je).map((([v,E])=>`${v.readableIdentifier(k)} (referenced with ${Array.from(new Set(E.map((k=>k.dependency&&k.dependency.type)).filter(Boolean))).sort().join(", ")})`)).sort();return`Module ${E.readableIdentifier(k)} is referenced from these modules with unsupported syntax: ${v.join(", ")}`};je.incorrectModuleDependency++;Ie.set(E,problem);return problem}if(P!==undefined&&typeof P!=="string"){const k=[];e:for(const[v,E]of He){let R=false;for(const k of E){const v=me(P,(v=>k.isTargetActive(v)));if(v===false)continue;if(v===true)continue e;if(R!==false){R=_e(R,v)}else{R=v}}if(R!==false){k.push({originModule:v,runtimeCondition:R})}}if(k.length>0){const problem=v=>`Module ${E.readableIdentifier(v)} is runtime-dependent referenced by these modules: ${Array.from(k,(({originModule:k,runtimeCondition:E})=>`${k.readableIdentifier(v)} (expected runtime ${ye(P)}, module is only referenced in ${ye(E)})`)).join(", ")}`;je.incorrectRuntimeCondition++;Ie.set(E,problem);return problem}}let Ve;if(Te){Ve=v.snapshot()}v.add(E);We.sort(ae);for(const q of We){const ae=this._tryToAdd(k,v,q,P,R,L,N,Ie,Me,false,je);if(ae){if(Ve!==undefined)v.rollback(Ve);je.importerFailed++;Ie.set(E,ae);return ae}}for(const v of this._getImports(k,E,P)){N.add(v)}je.added++;return null}}class ConcatConfiguration{constructor(k,v){this.rootModule=k;this.runtime=v;this.modules=new Set;this.modules.add(k);this.warnings=new Map}add(k){this.modules.add(k)}has(k){return this.modules.has(k)}isEmpty(){return this.modules.size===1}addWarning(k,v){this.warnings.set(k,v)}getWarningsSorted(){return new Map(Array.from(this.warnings).sort(((k,v)=>{const E=k[0].identifier();const P=v[0].identifier();if(EP)return 1;return 0})))}getModules(){return this.modules}snapshot(){return this.modules.size}rollback(k){const v=this.modules;for(const E of v){if(k===0){v.delete(E)}else{k--}}}}k.exports=ModuleConcatenationPlugin},71183:function(k,v,E){"use strict";const{SyncBailHook:P}=E(79846);const{RawSource:R,CachedSource:L,CompatSource:N}=E(51255);const q=E(27747);const ae=E(71572);const{compareSelect:le,compareStrings:pe}=E(95648);const me=E(74012);const ye=new Set;const addToList=(k,v)=>{if(Array.isArray(k)){for(const E of k){v.add(E)}}else if(k){v.add(k)}};const mapAndDeduplicateBuffers=(k,v)=>{const E=[];e:for(const P of k){const k=v(P);for(const v of E){if(k.equals(v))continue e}E.push(k)}return E};const quoteMeta=k=>k.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const _e=new WeakMap;const toCachedSource=k=>{if(k instanceof L){return k}const v=_e.get(k);if(v!==undefined)return v;const E=new L(N.from(k));_e.set(k,E);return E};const Ie=new WeakMap;class RealContentHashPlugin{static getCompilationHooks(k){if(!(k instanceof q)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=Ie.get(k);if(v===undefined){v={updateHash:new P(["content","oldHash"])};Ie.set(k,v)}return v}constructor({hashFunction:k,hashDigest:v}){this._hashFunction=k;this._hashDigest=v}apply(k){k.hooks.compilation.tap("RealContentHashPlugin",(k=>{const v=k.getCache("RealContentHashPlugin|analyse");const E=k.getCache("RealContentHashPlugin|generate");const P=RealContentHashPlugin.getCompilationHooks(k);k.hooks.processAssets.tapPromise({name:"RealContentHashPlugin",stage:q.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH},(async()=>{const L=k.getAssets();const N=[];const q=new Map;for(const{source:k,info:v,name:E}of L){const P=toCachedSource(k);const R=P.source();const L=new Set;addToList(v.contenthash,L);const ae={name:E,info:v,source:P,newSource:undefined,newSourceWithoutOwn:undefined,content:R,ownHashes:undefined,contentComputePromise:undefined,contentComputeWithoutOwnPromise:undefined,referencedHashes:undefined,hashes:L};N.push(ae);for(const k of L){const v=q.get(k);if(v===undefined){q.set(k,[ae])}else{v.push(ae)}}}if(q.size===0)return;const _e=new RegExp(Array.from(q.keys(),quoteMeta).join("|"),"g");await Promise.all(N.map((async k=>{const{name:E,source:P,content:R,hashes:L}=k;if(Buffer.isBuffer(R)){k.referencedHashes=ye;k.ownHashes=ye;return}const N=v.mergeEtags(v.getLazyHashedEtag(P),Array.from(L).join("|"));[k.referencedHashes,k.ownHashes]=await v.providePromise(E,N,(()=>{const k=new Set;let v=new Set;const E=R.match(_e);if(E){for(const P of E){if(L.has(P)){v.add(P);continue}k.add(P)}}return[k,v]}))})));const getDependencies=v=>{const E=q.get(v);if(!E){const E=N.filter((k=>k.referencedHashes.has(v)));const P=new ae(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${v}) 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${E.map((k=>{const E=new RegExp(`.{0,20}${quoteMeta(v)}.{0,20}`).exec(k.content);return` - ${k.name}: ...${E?E[0]:"???"}...`})).join("\n")}`);k.errors.push(P);return undefined}const P=new Set;for(const{referencedHashes:k,ownHashes:R}of E){if(!R.has(v)){for(const k of R){P.add(k)}}for(const v of k){P.add(v)}}return P};const hashInfo=k=>{const v=q.get(k);return`${k} (${Array.from(v,(k=>k.name))})`};const Ie=new Set;for(const k of q.keys()){const add=(k,v)=>{const E=getDependencies(k);if(!E)return;v.add(k);for(const k of E){if(Ie.has(k))continue;if(v.has(k)){throw new Error(`Circular hash dependency ${Array.from(v,hashInfo).join(" -> ")} -> ${hashInfo(k)}`)}add(k,v)}Ie.add(k);v.delete(k)};if(Ie.has(k))continue;add(k,new Set)}const Me=new Map;const getEtag=k=>E.mergeEtags(E.getLazyHashedEtag(k.source),Array.from(k.referencedHashes,(k=>Me.get(k))).join("|"));const computeNewContent=k=>{if(k.contentComputePromise)return k.contentComputePromise;return k.contentComputePromise=(async()=>{if(k.ownHashes.size>0||Array.from(k.referencedHashes).some((k=>Me.get(k)!==k))){const v=k.name;const P=getEtag(k);k.newSource=await E.providePromise(v,P,(()=>{const v=k.content.replace(_e,(k=>Me.get(k)));return new R(v)}))}})()};const computeNewContentWithoutOwn=k=>{if(k.contentComputeWithoutOwnPromise)return k.contentComputeWithoutOwnPromise;return k.contentComputeWithoutOwnPromise=(async()=>{if(k.ownHashes.size>0||Array.from(k.referencedHashes).some((k=>Me.get(k)!==k))){const v=k.name+"|without-own";const P=getEtag(k);k.newSourceWithoutOwn=await E.providePromise(v,P,(()=>{const v=k.content.replace(_e,(v=>{if(k.ownHashes.has(v)){return""}return Me.get(v)}));return new R(v)}))}})()};const Te=le((k=>k.name),pe);for(const v of Ie){const E=q.get(v);E.sort(Te);await Promise.all(E.map((k=>k.ownHashes.has(v)?computeNewContentWithoutOwn(k):computeNewContent(k))));const R=mapAndDeduplicateBuffers(E,(k=>{if(k.ownHashes.has(v)){return k.newSourceWithoutOwn?k.newSourceWithoutOwn.buffer():k.source.buffer()}else{return k.newSource?k.newSource.buffer():k.source.buffer()}}));let L=P.updateHash.call(R,v);if(!L){const E=me(this._hashFunction);if(k.outputOptions.hashSalt){E.update(k.outputOptions.hashSalt)}for(const k of R){E.update(k)}const P=E.digest(this._hashDigest);L=P.slice(0,v.length)}Me.set(v,L)}await Promise.all(N.map((async v=>{await computeNewContent(v);const E=v.name.replace(_e,(k=>Me.get(k)));const P={};const R=v.info.contenthash;P.contenthash=Array.isArray(R)?R.map((k=>Me.get(k))):Me.get(R);if(v.newSource!==undefined){k.updateAsset(v.name,v.newSource,P)}else{k.updateAsset(v.name,v.source,P)}if(v.name!==E){k.renameAsset(v.name,E)}})))}))}))}}k.exports=RealContentHashPlugin},37238:function(k,v,E){"use strict";const{STAGE_BASIC:P,STAGE_ADVANCED:R}=E(99134);class RemoveEmptyChunksPlugin{apply(k){k.hooks.compilation.tap("RemoveEmptyChunksPlugin",(k=>{const handler=v=>{const E=k.chunkGraph;for(const P of v){if(E.getNumberOfChunkModules(P)===0&&!P.hasRuntime()&&E.getNumberOfEntryModules(P)===0){k.chunkGraph.disconnectChunk(P);k.chunks.delete(P)}}};k.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:P},handler);k.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:R},handler)}))}}k.exports=RemoveEmptyChunksPlugin},21352:function(k,v,E){"use strict";const{STAGE_BASIC:P}=E(99134);const R=E(28226);const{intersect:L}=E(59959);class RemoveParentModulesPlugin{apply(k){k.hooks.compilation.tap("RemoveParentModulesPlugin",(k=>{const handler=(v,E)=>{const P=k.chunkGraph;const N=new R;const q=new WeakMap;for(const v of k.entrypoints.values()){q.set(v,new Set);for(const k of v.childrenIterable){N.enqueue(k)}}for(const v of k.asyncEntrypoints){q.set(v,new Set);for(const k of v.childrenIterable){N.enqueue(k)}}while(N.length>0){const k=N.dequeue();let v=q.get(k);let E=false;for(const R of k.parentsIterable){const L=q.get(R);if(L!==undefined){if(v===undefined){v=new Set(L);for(const k of R.chunks){for(const E of P.getChunkModulesIterable(k)){v.add(E)}}q.set(k,v);E=true}else{for(const k of v){if(!P.isModuleInChunkGroup(k,R)&&!L.has(k)){v.delete(k);E=true}}}}}if(E){for(const v of k.childrenIterable){N.enqueue(v)}}}for(const k of v){const v=Array.from(k.groupsIterable,(k=>q.get(k)));if(v.some((k=>k===undefined)))continue;const E=v.length===1?v[0]:L(v);const R=P.getNumberOfChunkModules(k);const N=new Set;if(R`runtime~${k.name}`,...k}}apply(k){k.hooks.thisCompilation.tap("RuntimeChunkPlugin",(k=>{k.hooks.addEntry.tap("RuntimeChunkPlugin",((v,{name:E})=>{if(E===undefined)return;const P=k.entries.get(E);if(P.options.runtime===undefined&&!P.options.dependOn){let k=this.options.name;if(typeof k==="function"){k=k({name:E})}P.options.runtime=k}}))}))}}k.exports=RuntimeChunkPlugin},57214:function(k,v,E){"use strict";const P=E(21660);const{JAVASCRIPT_MODULE_TYPE_AUTO:R,JAVASCRIPT_MODULE_TYPE_ESM:L,JAVASCRIPT_MODULE_TYPE_DYNAMIC:N}=E(93622);const{STAGE_DEFAULT:q}=E(99134);const ae=E(44827);const le=E(56390);const pe=E(1811);const me=new WeakMap;const globToRegexp=(k,v)=>{const E=v.get(k);if(E!==undefined)return E;if(!k.includes("/")){k=`**/${k}`}const R=P(k,{globstar:true,extended:true});const L=R.source;const N=new RegExp("^(\\./)?"+L.slice(1));v.set(k,N);return N};const ye="SideEffectsFlagPlugin";class SideEffectsFlagPlugin{constructor(k=true){this._analyseSource=k}apply(k){let v=me.get(k.root);if(v===undefined){v=new Map;me.set(k.root,v)}k.hooks.compilation.tap(ye,((k,{normalModuleFactory:E})=>{const P=k.moduleGraph;E.hooks.module.tap(ye,((k,E)=>{const P=E.resourceResolveData;if(P&&P.descriptionFileData&&P.relativePath){const E=P.descriptionFileData.sideEffects;if(E!==undefined){if(k.factoryMeta===undefined){k.factoryMeta={}}const R=SideEffectsFlagPlugin.moduleHasSideEffects(P.relativePath,E,v);k.factoryMeta.sideEffectFree=!R}}return k}));E.hooks.module.tap(ye,((k,v)=>{if(typeof v.settings.sideEffects==="boolean"){if(k.factoryMeta===undefined){k.factoryMeta={}}k.factoryMeta.sideEffectFree=!v.settings.sideEffects}return k}));if(this._analyseSource){const parserHandler=k=>{let v;k.hooks.program.tap(ye,(()=>{v=undefined}));k.hooks.statement.tap({name:ye,stage:-100},(E=>{if(v)return;if(k.scope.topLevelScope!==true)return;switch(E.type){case"ExpressionStatement":if(!k.isPure(E.expression,E.range[0])){v=E}break;case"IfStatement":case"WhileStatement":case"DoWhileStatement":if(!k.isPure(E.test,E.range[0])){v=E}break;case"ForStatement":if(!k.isPure(E.init,E.range[0])||!k.isPure(E.test,E.init?E.init.range[1]:E.range[0])||!k.isPure(E.update,E.test?E.test.range[1]:E.init?E.init.range[1]:E.range[0])){v=E}break;case"SwitchStatement":if(!k.isPure(E.discriminant,E.range[0])){v=E}break;case"VariableDeclaration":case"ClassDeclaration":case"FunctionDeclaration":if(!k.isPure(E,E.range[0])){v=E}break;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":if(!k.isPure(E.declaration,E.range[0])){v=E}break;case"LabeledStatement":case"BlockStatement":break;case"EmptyStatement":break;case"ExportAllDeclaration":case"ImportDeclaration":break;default:v=E;break}}));k.hooks.finish.tap(ye,(()=>{if(v===undefined){k.state.module.buildMeta.sideEffectFree=true}else{const{loc:E,type:R}=v;P.getOptimizationBailout(k.state.module).push((()=>`Statement (${R}) with side effects in source code at ${pe(E)}`))}}))};for(const k of[R,L,N]){E.hooks.parser.for(k).tap(ye,parserHandler)}}k.hooks.optimizeDependencies.tap({name:ye,stage:q},(v=>{const E=k.getLogger("webpack.SideEffectsFlagPlugin");E.time("update dependencies");for(const k of v){if(k.getSideEffectsConnectionState(P)===false){const v=P.getExportsInfo(k);for(const E of P.getIncomingConnections(k)){const k=E.dependency;let R;if((R=k instanceof ae)||k instanceof le&&!k.namespaceObjectAsContext){if(R&&k.name){const v=P.getExportInfo(E.originModule,k.name);v.moveTarget(P,(({module:k})=>k.getSideEffectsConnectionState(P)===false),(({module:v,export:E})=>{P.updateModule(k,v);P.addExplanation(k,"(skipped side-effect-free modules)");const R=k.getIds(P);k.setIds(P,E?[...E,...R.slice(1)]:R.slice(1));return P.getConnection(k)}));continue}const L=k.getIds(P);if(L.length>0){const E=v.getExportInfo(L[0]);const R=E.getTarget(P,(({module:k})=>k.getSideEffectsConnectionState(P)===false));if(!R)continue;P.updateModule(k,R.module);P.addExplanation(k,"(skipped side-effect-free modules)");k.setIds(P,R.export?[...R.export,...L.slice(1)]:L.slice(1))}}}}}E.timeEnd("update dependencies")}))}))}static moduleHasSideEffects(k,v,E){switch(typeof v){case"undefined":return true;case"boolean":return v;case"string":return globToRegexp(v,E).test(k);case"object":return v.some((v=>SideEffectsFlagPlugin.moduleHasSideEffects(k,v,E)))}}}k.exports=SideEffectsFlagPlugin},30829:function(k,v,E){"use strict";const P=E(8247);const{STAGE_ADVANCED:R}=E(99134);const L=E(71572);const{requestToId:N}=E(88667);const{isSubset:q}=E(59959);const ae=E(46081);const{compareModulesByIdentifier:le,compareIterables:pe}=E(95648);const me=E(74012);const ye=E(12271);const{makePathsRelative:_e}=E(65315);const Ie=E(20631);const Me=E(47490);const defaultGetName=()=>{};const Te=ye;const je=new WeakMap;const hashFilename=(k,v)=>{const E=me(v.hashFunction).update(k).digest(v.hashDigest);return E.slice(0,8)};const getRequests=k=>{let v=0;for(const E of k.groupsIterable){v=Math.max(v,E.chunks.length)}return v};const mapObject=(k,v)=>{const E=Object.create(null);for(const P of Object.keys(k)){E[P]=v(k[P],P)}return E};const isOverlap=(k,v)=>{for(const E of k){if(v.has(E))return true}return false};const Ne=pe(le);const compareEntries=(k,v)=>{const E=k.cacheGroup.priority-v.cacheGroup.priority;if(E)return E;const P=k.chunks.size-v.chunks.size;if(P)return P;const R=totalSize(k.sizes)*(k.chunks.size-1);const L=totalSize(v.sizes)*(v.chunks.size-1);const N=R-L;if(N)return N;const q=v.cacheGroupIndex-k.cacheGroupIndex;if(q)return q;const ae=k.modules;const le=v.modules;const pe=ae.size-le.size;if(pe)return pe;ae.sort();le.sort();return Ne(ae,le)};const INITIAL_CHUNK_FILTER=k=>k.canBeInitial();const ASYNC_CHUNK_FILTER=k=>!k.canBeInitial();const ALL_CHUNK_FILTER=k=>true;const normalizeSizes=(k,v)=>{if(typeof k==="number"){const E={};for(const P of v)E[P]=k;return E}else if(typeof k==="object"&&k!==null){return{...k}}else{return{}}};const mergeSizes=(...k)=>{let v={};for(let E=k.length-1;E>=0;E--){v=Object.assign(v,k[E])}return v};const hasNonZeroSizes=k=>{for(const v of Object.keys(k)){if(k[v]>0)return true}return false};const combineSizes=(k,v,E)=>{const P=new Set(Object.keys(k));const R=new Set(Object.keys(v));const L={};for(const N of P){if(R.has(N)){L[N]=E(k[N],v[N])}else{L[N]=k[N]}}for(const k of R){if(!P.has(k)){L[k]=v[k]}}return L};const checkMinSize=(k,v)=>{for(const E of Object.keys(v)){const P=k[E];if(P===undefined||P===0)continue;if(P{for(const P of Object.keys(v)){const R=k[P];if(R===undefined||R===0)continue;if(R*E{let E;for(const P of Object.keys(v)){const R=k[P];if(R===undefined||R===0)continue;if(R{let v=0;for(const E of Object.keys(k)){v+=k[E]}return v};const normalizeName=k=>{if(typeof k==="string"){return()=>k}if(typeof k==="function"){return k}};const normalizeChunksFilter=k=>{if(k==="initial"){return INITIAL_CHUNK_FILTER}if(k==="async"){return ASYNC_CHUNK_FILTER}if(k==="all"){return ALL_CHUNK_FILTER}if(k instanceof RegExp){return v=>v.name?k.test(v.name):false}if(typeof k==="function"){return k}};const normalizeCacheGroups=(k,v)=>{if(typeof k==="function"){return k}if(typeof k==="object"&&k!==null){const E=[];for(const P of Object.keys(k)){const R=k[P];if(R===false){continue}if(typeof R==="string"||R instanceof RegExp){const k=createCacheGroupSource({},P,v);E.push(((v,E,P)=>{if(checkTest(R,v,E)){P.push(k)}}))}else if(typeof R==="function"){const k=new WeakMap;E.push(((E,L,N)=>{const q=R(E);if(q){const E=Array.isArray(q)?q:[q];for(const R of E){const E=k.get(R);if(E!==undefined){N.push(E)}else{const E=createCacheGroupSource(R,P,v);k.set(R,E);N.push(E)}}}}))}else{const k=createCacheGroupSource(R,P,v);E.push(((v,E,P)=>{if(checkTest(R.test,v,E)&&checkModuleType(R.type,v)&&checkModuleLayer(R.layer,v)){P.push(k)}}))}}const fn=(k,v)=>{let P=[];for(const R of E){R(k,v,P)}return P};return fn}return()=>null};const checkTest=(k,v,E)=>{if(k===undefined)return true;if(typeof k==="function"){return k(v,E)}if(typeof k==="boolean")return k;if(typeof k==="string"){const E=v.nameForCondition();return E&&E.startsWith(k)}if(k instanceof RegExp){const E=v.nameForCondition();return E&&k.test(E)}return false};const checkModuleType=(k,v)=>{if(k===undefined)return true;if(typeof k==="function"){return k(v.type)}if(typeof k==="string"){const E=v.type;return k===E}if(k instanceof RegExp){const E=v.type;return k.test(E)}return false};const checkModuleLayer=(k,v)=>{if(k===undefined)return true;if(typeof k==="function"){return k(v.layer)}if(typeof k==="string"){const E=v.layer;return k===""?!E:E&&E.startsWith(k)}if(k instanceof RegExp){const E=v.layer;return k.test(E)}return false};const createCacheGroupSource=(k,v,E)=>{const P=normalizeSizes(k.minSize,E);const R=normalizeSizes(k.minSizeReduction,E);const L=normalizeSizes(k.maxSize,E);return{key:v,priority:k.priority,getName:normalizeName(k.name),chunksFilter:normalizeChunksFilter(k.chunks),enforce:k.enforce,minSize:P,minSizeReduction:R,minRemainingSize:mergeSizes(normalizeSizes(k.minRemainingSize,E),P),enforceSizeThreshold:normalizeSizes(k.enforceSizeThreshold,E),maxAsyncSize:mergeSizes(normalizeSizes(k.maxAsyncSize,E),L),maxInitialSize:mergeSizes(normalizeSizes(k.maxInitialSize,E),L),minChunks:k.minChunks,maxAsyncRequests:k.maxAsyncRequests,maxInitialRequests:k.maxInitialRequests,filename:k.filename,idHint:k.idHint,automaticNameDelimiter:k.automaticNameDelimiter,reuseExistingChunk:k.reuseExistingChunk,usedExports:k.usedExports}};k.exports=class SplitChunksPlugin{constructor(k={}){const v=k.defaultSizeTypes||["javascript","unknown"];const E=k.fallbackCacheGroup||{};const P=normalizeSizes(k.minSize,v);const R=normalizeSizes(k.minSizeReduction,v);const L=normalizeSizes(k.maxSize,v);this.options={chunksFilter:normalizeChunksFilter(k.chunks||"all"),defaultSizeTypes:v,minSize:P,minSizeReduction:R,minRemainingSize:mergeSizes(normalizeSizes(k.minRemainingSize,v),P),enforceSizeThreshold:normalizeSizes(k.enforceSizeThreshold,v),maxAsyncSize:mergeSizes(normalizeSizes(k.maxAsyncSize,v),L),maxInitialSize:mergeSizes(normalizeSizes(k.maxInitialSize,v),L),minChunks:k.minChunks||1,maxAsyncRequests:k.maxAsyncRequests||1,maxInitialRequests:k.maxInitialRequests||1,hidePathInfo:k.hidePathInfo||false,filename:k.filename||undefined,getCacheGroups:normalizeCacheGroups(k.cacheGroups,v),getName:k.name?normalizeName(k.name):defaultGetName,automaticNameDelimiter:k.automaticNameDelimiter,usedExports:k.usedExports,fallbackCacheGroup:{chunksFilter:normalizeChunksFilter(E.chunks||k.chunks||"all"),minSize:mergeSizes(normalizeSizes(E.minSize,v),P),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,v),normalizeSizes(E.maxSize,v),normalizeSizes(k.maxAsyncSize,v),normalizeSizes(k.maxSize,v)),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,v),normalizeSizes(E.maxSize,v),normalizeSizes(k.maxInitialSize,v),normalizeSizes(k.maxSize,v)),automaticNameDelimiter:E.automaticNameDelimiter||k.automaticNameDelimiter||"~"}};this._cacheGroupCache=new WeakMap}_getCacheGroup(k){const v=this._cacheGroupCache.get(k);if(v!==undefined)return v;const E=mergeSizes(k.minSize,k.enforce?undefined:this.options.minSize);const P=mergeSizes(k.minSizeReduction,k.enforce?undefined:this.options.minSizeReduction);const R=mergeSizes(k.minRemainingSize,k.enforce?undefined:this.options.minRemainingSize);const L=mergeSizes(k.enforceSizeThreshold,k.enforce?undefined:this.options.enforceSizeThreshold);const N={key:k.key,priority:k.priority||0,chunksFilter:k.chunksFilter||this.options.chunksFilter,minSize:E,minSizeReduction:P,minRemainingSize:R,enforceSizeThreshold:L,maxAsyncSize:mergeSizes(k.maxAsyncSize,k.enforce?undefined:this.options.maxAsyncSize),maxInitialSize:mergeSizes(k.maxInitialSize,k.enforce?undefined:this.options.maxInitialSize),minChunks:k.minChunks!==undefined?k.minChunks:k.enforce?1:this.options.minChunks,maxAsyncRequests:k.maxAsyncRequests!==undefined?k.maxAsyncRequests:k.enforce?Infinity:this.options.maxAsyncRequests,maxInitialRequests:k.maxInitialRequests!==undefined?k.maxInitialRequests:k.enforce?Infinity:this.options.maxInitialRequests,getName:k.getName!==undefined?k.getName:this.options.getName,usedExports:k.usedExports!==undefined?k.usedExports:this.options.usedExports,filename:k.filename!==undefined?k.filename:this.options.filename,automaticNameDelimiter:k.automaticNameDelimiter!==undefined?k.automaticNameDelimiter:this.options.automaticNameDelimiter,idHint:k.idHint!==undefined?k.idHint:k.key,reuseExistingChunk:k.reuseExistingChunk||false,_validateSize:hasNonZeroSizes(E),_validateRemainingSize:hasNonZeroSizes(R),_minSizeForMaxSize:mergeSizes(k.minSize,this.options.minSize),_conditionalEnforce:hasNonZeroSizes(L)};this._cacheGroupCache.set(k,N);return N}apply(k){const v=_e.bindContextCache(k.context,k.root);k.hooks.thisCompilation.tap("SplitChunksPlugin",(k=>{const E=k.getLogger("webpack.SplitChunksPlugin");let pe=false;k.hooks.unseal.tap("SplitChunksPlugin",(()=>{pe=false}));k.hooks.optimizeChunks.tap({name:"SplitChunksPlugin",stage:R},(R=>{if(pe)return;pe=true;E.time("prepare");const me=k.chunkGraph;const ye=k.moduleGraph;const _e=new Map;const Ne=BigInt("0");const Be=BigInt("1");const qe=Be<{const v=k[Symbol.iterator]();let E=v.next();if(E.done)return Ne;const P=E.value;E=v.next();if(E.done)return P;let R=_e.get(P)|_e.get(E.value);while(!(E=v.next()).done){const k=_e.get(E.value);R=R^k}return R};const keyToString=k=>{if(typeof k==="bigint")return k.toString(16);return _e.get(k).toString(16)};const Ge=Ie((()=>{const v=new Map;const E=new Set;for(const P of k.modules){const k=me.getModuleChunksIterable(P);const R=getKey(k);if(typeof R==="bigint"){if(!v.has(R)){v.set(R,new Set(k))}}else{E.add(R)}}return{chunkSetsInGraph:v,singleChunkSets:E}}));const groupChunksByExports=k=>{const v=ye.getExportsInfo(k);const E=new Map;for(const P of me.getModuleChunksIterable(k)){const k=v.getUsageKey(P.runtime);const R=E.get(k);if(R!==undefined){R.push(P)}else{E.set(k,[P])}}return E.values()};const He=new Map;const We=Ie((()=>{const v=new Map;const E=new Set;for(const P of k.modules){const k=Array.from(groupChunksByExports(P));He.set(P,k);for(const P of k){if(P.length===1){E.add(P[0])}else{const k=getKey(P);if(!v.has(k)){v.set(k,new Set(P))}}}}return{chunkSetsInGraph:v,singleChunkSets:E}}));const groupChunkSetsByCount=k=>{const v=new Map;for(const E of k){const k=E.size;let P=v.get(k);if(P===undefined){P=[];v.set(k,P)}P.push(E)}return v};const Qe=Ie((()=>groupChunkSetsByCount(Ge().chunkSetsInGraph.values())));const Je=Ie((()=>groupChunkSetsByCount(We().chunkSetsInGraph.values())));const createGetCombinations=(k,v,E)=>{const R=new Map;return L=>{const N=R.get(L);if(N!==undefined)return N;if(L instanceof P){const k=[L];R.set(L,k);return k}const ae=k.get(L);const le=[ae];for(const[k,v]of E){if(k{const{chunkSetsInGraph:k,singleChunkSets:v}=Ge();return createGetCombinations(k,v,Qe())}));const getCombinations=k=>Ve()(k);const Ke=Ie((()=>{const{chunkSetsInGraph:k,singleChunkSets:v}=We();return createGetCombinations(k,v,Je())}));const getExportsCombinations=k=>Ke()(k);const Ye=new WeakMap;const getSelectedChunks=(k,v)=>{let E=Ye.get(k);if(E===undefined){E=new WeakMap;Ye.set(k,E)}let R=E.get(v);if(R===undefined){const L=[];if(k instanceof P){if(v(k))L.push(k)}else{for(const E of k){if(v(E))L.push(E)}}R={chunks:L,key:getKey(L)};E.set(v,R)}return R};const Xe=new Map;const Ze=new Set;const et=new Map;const addModuleToChunksInfoMap=(v,E,P,R,N)=>{if(P.length{const k=me.getModuleChunksIterable(v);const E=getKey(k);return getCombinations(E)}));const R=Ie((()=>{We();const k=new Set;const E=He.get(v);for(const v of E){const E=getKey(v);for(const v of getExportsCombinations(E))k.add(v)}return k}));let L=0;for(const N of k){const k=this._getCacheGroup(N);const q=k.usedExports?R():E();for(const E of q){const R=E instanceof P?1:E.size;if(R{for(const E of k.modules){const P=E.getSourceTypes();if(v.some((k=>P.has(k)))){k.modules.delete(E);for(const v of P){k.sizes[v]-=E.size(v)}}}};const removeMinSizeViolatingModules=k=>{if(!k.cacheGroup._validateSize)return false;const v=getViolatingMinSizes(k.sizes,k.cacheGroup.minSize);if(v===undefined)return false;removeModulesWithSourceType(k,v);return k.modules.size===0};for(const[k,v]of et){if(removeMinSizeViolatingModules(v)){et.delete(k)}else if(!checkMinSizeReduction(v.sizes,v.cacheGroup.minSizeReduction,v.chunks.size)){et.delete(k)}}const nt=new Map;while(et.size>0){let v;let E;for(const k of et){const P=k[0];const R=k[1];if(E===undefined||compareEntries(E,R)<0){E=R;v=P}}const P=E;et.delete(v);let R=P.name;let L;let N=false;let q=false;if(R){const v=k.namedChunks.get(R);if(v!==undefined){L=v;const k=P.chunks.size;P.chunks.delete(L);N=P.chunks.size!==k}}else if(P.cacheGroup.reuseExistingChunk){e:for(const k of P.chunks){if(me.getNumberOfChunkModules(k)!==P.modules.size){continue}if(P.chunks.size>1&&me.getNumberOfEntryModules(k)>0){continue}for(const v of P.modules){if(!me.isModuleInChunk(v,k)){continue e}}if(!L||!L.name){L=k}else if(k.name&&k.name.length=v){le.delete(k)}}}e:for(const k of le){for(const v of P.modules){if(me.isModuleInChunk(v,k))continue e}le.delete(k)}if(le.size=P.cacheGroup.minChunks){const k=Array.from(le);for(const v of P.modules){addModuleToChunksInfoMap(P.cacheGroup,P.cacheGroupIndex,k,getKey(le),v)}}continue}if(!ae&&P.cacheGroup._validateRemainingSize&&le.size===1){const[k]=le;let E=Object.create(null);for(const v of me.getChunkModulesIterable(k)){if(!P.modules.has(v)){for(const k of v.getSourceTypes()){E[k]=(E[k]||0)+v.size(k)}}}const R=getViolatingMinSizes(E,P.cacheGroup.minRemainingSize);if(R!==undefined){const k=P.modules.size;removeModulesWithSourceType(P,R);if(P.modules.size>0&&P.modules.size!==k){et.set(v,P)}continue}}if(L===undefined){L=k.addChunk(R)}for(const k of le){k.split(L)}L.chunkReason=(L.chunkReason?L.chunkReason+", ":"")+(q?"reused as split chunk":"split chunk");if(P.cacheGroup.key){L.chunkReason+=` (cache group: ${P.cacheGroup.key})`}if(R){L.chunkReason+=` (name: ${R})`}if(P.cacheGroup.filename){L.filenameTemplate=P.cacheGroup.filename}if(P.cacheGroup.idHint){L.idNameHints.add(P.cacheGroup.idHint)}if(!q){for(const v of P.modules){if(!v.chunkCondition(L,k))continue;me.connectChunkAndModule(L,v);for(const k of le){me.disconnectChunkAndModule(k,v)}}}else{for(const k of P.modules){for(const v of le){me.disconnectChunkAndModule(v,k)}}}if(Object.keys(P.cacheGroup.maxAsyncSize).length>0||Object.keys(P.cacheGroup.maxInitialSize).length>0){const k=nt.get(L);nt.set(L,{minSize:k?combineSizes(k.minSize,P.cacheGroup._minSizeForMaxSize,Math.max):P.cacheGroup.minSize,maxAsyncSize:k?combineSizes(k.maxAsyncSize,P.cacheGroup.maxAsyncSize,Math.min):P.cacheGroup.maxAsyncSize,maxInitialSize:k?combineSizes(k.maxInitialSize,P.cacheGroup.maxInitialSize,Math.min):P.cacheGroup.maxInitialSize,automaticNameDelimiter:P.cacheGroup.automaticNameDelimiter,keys:k?k.keys.concat(P.cacheGroup.key):[P.cacheGroup.key]})}for(const[k,v]of et){if(isOverlap(v.chunks,le)){let E=false;for(const k of P.modules){if(v.modules.has(k)){v.modules.delete(k);for(const E of k.getSourceTypes()){v.sizes[E]-=k.size(E)}E=true}}if(E){if(v.modules.size===0){et.delete(k);continue}if(removeMinSizeViolatingModules(v)||!checkMinSizeReduction(v.sizes,v.cacheGroup.minSizeReduction,v.chunks.size)){et.delete(k);continue}}}}}E.timeEnd("queue");E.time("maxSize");const st=new Set;const{outputOptions:rt}=k;const{fallbackCacheGroup:ot}=this.options;for(const E of Array.from(k.chunks)){const P=nt.get(E);const{minSize:R,maxAsyncSize:L,maxInitialSize:q,automaticNameDelimiter:ae}=P||ot;if(!P&&!ot.chunksFilter(E))continue;let le;if(E.isOnlyInitial()){le=q}else if(E.canBeInitial()){le=combineSizes(L,q,Math.min)}else{le=L}if(Object.keys(le).length===0){continue}for(const v of Object.keys(le)){const E=le[v];const L=R[v];if(typeof L==="number"&&L>E){const v=P&&P.keys;const R=`${v&&v.join()} ${L} ${E}`;if(!st.has(R)){st.add(R);k.warnings.push(new Me(v,L,E))}}}const pe=Te({minSize:R,maxSize:mapObject(le,((k,v)=>{const E=R[v];return typeof E==="number"?Math.max(k,E):k})),items:me.getChunkModulesIterable(E),getKey(k){const E=je.get(k);if(E!==undefined)return E;const P=v(k.identifier());const R=k.nameForCondition&&k.nameForCondition();const L=R?v(R):P.replace(/^.*!|\?[^?!]*$/g,"");const q=L+ae+hashFilename(P,rt);const le=N(q);je.set(k,le);return le},getSize(k){const v=Object.create(null);for(const E of k.getSourceTypes()){v[E]=k.size(E)}return v}});if(pe.length<=1){continue}for(let v=0;v100){L=L.slice(0,100)+ae+hashFilename(L,rt)}if(v!==pe.length-1){const v=k.addChunk(L);E.split(v);v.chunkReason=E.chunkReason;for(const R of P.items){if(!R.chunkCondition(v,k)){continue}me.connectChunkAndModule(v,R);me.disconnectChunkAndModule(E,R)}}else{E.name=L}}}E.timeEnd("maxSize")}))}))}}},63601:function(k,v,E){"use strict";const{formatSize:P}=E(3386);const R=E(71572);k.exports=class AssetsOverSizeLimitWarning extends R{constructor(k,v){const E=k.map((k=>`\n ${k.name} (${P(k.size)})`)).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${P(v)}).\nThis can impact web performance.\nAssets: ${E}`);this.name="AssetsOverSizeLimitWarning";this.assets=k}}},1260:function(k,v,E){"use strict";const{formatSize:P}=E(3386);const R=E(71572);k.exports=class EntrypointsOverSizeLimitWarning extends R{constructor(k,v){const E=k.map((k=>`\n ${k.name} (${P(k.size)})\n${k.files.map((k=>` ${k}`)).join("\n")}`)).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${P(v)}). This can impact web performance.\nEntrypoints:${E}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=k}}},38234:function(k,v,E){"use strict";const P=E(71572);k.exports=class NoAsyncChunksWarning extends P{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"}}},338:function(k,v,E){"use strict";const{find:P}=E(59959);const R=E(63601);const L=E(1260);const N=E(38234);const q=new WeakSet;const excludeSourceMap=(k,v,E)=>!E.development;k.exports=class SizeLimitsPlugin{constructor(k){this.hints=k.hints;this.maxAssetSize=k.maxAssetSize;this.maxEntrypointSize=k.maxEntrypointSize;this.assetFilter=k.assetFilter}static isOverSizeLimit(k){return q.has(k)}apply(k){const v=this.maxEntrypointSize;const E=this.maxAssetSize;const ae=this.hints;const le=this.assetFilter||excludeSourceMap;k.hooks.afterEmit.tap("SizeLimitsPlugin",(k=>{const pe=[];const getEntrypointSize=v=>{let E=0;for(const P of v.getFiles()){const v=k.getAsset(P);if(v&&le(v.name,v.source,v.info)&&v.source){E+=v.info.size||v.source.size()}}return E};const me=[];for(const{name:v,source:P,info:R}of k.getAssets()){if(!le(v,P,R)||!P){continue}const k=R.size||P.size();if(k>E){me.push({name:v,size:k});q.add(P)}}const fileFilter=v=>{const E=k.getAsset(v);return E&&le(E.name,E.source,E.info)};const ye=[];for(const[E,P]of k.entrypoints){const k=getEntrypointSize(P);if(k>v){ye.push({name:E,size:k,files:P.getFiles().filter(fileFilter)});q.add(P)}}if(ae){if(me.length>0){pe.push(new R(me,E))}if(ye.length>0){pe.push(new L(ye,v))}if(pe.length>0){const v=P(k.chunks,(k=>!k.canBeInitial()));if(!v){pe.push(new N)}if(ae==="error"){k.errors.push(...pe)}else{k.warnings.push(...pe)}}}}))}}},64764:function(k,v,E){"use strict";const P=E(27462);const R=E(95041);class ChunkPrefetchFunctionRuntimeModule extends P{constructor(k,v,E){super(`chunk ${k} function`);this.childType=k;this.runtimeFunction=v;this.runtimeHandlers=E}generate(){const{runtimeFunction:k,runtimeHandlers:v}=this;const{runtimeTemplate:E}=this.compilation;return R.asString([`${v} = {};`,`${k} = ${E.basicFunction("chunkId",[`Object.keys(${v}).map(${E.basicFunction("key",`${v}[key](chunkId);`)});`])}`])}}k.exports=ChunkPrefetchFunctionRuntimeModule},37247:function(k,v,E){"use strict";const P=E(56727);const R=E(64764);const L=E(18175);const N=E(66594);const q=E(68931);class ChunkPrefetchPreloadPlugin{apply(k){k.hooks.compilation.tap("ChunkPrefetchPreloadPlugin",(k=>{k.hooks.additionalChunkRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((v,E,{chunkGraph:R})=>{if(R.getNumberOfEntryModules(v)===0)return;const N=v.getChildrenOfTypeInOrder(R,"prefetchOrder");if(N){E.add(P.prefetchChunk);E.add(P.onChunksLoaded);k.addRuntimeModule(v,new L(N))}}));k.hooks.additionalTreeRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((v,E,{chunkGraph:R})=>{const L=v.getChildIdsByOrdersMap(R,false);if(L.prefetch){E.add(P.prefetchChunk);k.addRuntimeModule(v,new N(L.prefetch))}if(L.preload){E.add(P.preloadChunk);k.addRuntimeModule(v,new q(L.preload))}}));k.hooks.runtimeRequirementInTree.for(P.prefetchChunk).tap("ChunkPrefetchPreloadPlugin",((v,E)=>{k.addRuntimeModule(v,new R("prefetch",P.prefetchChunk,P.prefetchChunkHandlers));E.add(P.prefetchChunkHandlers)}));k.hooks.runtimeRequirementInTree.for(P.preloadChunk).tap("ChunkPrefetchPreloadPlugin",((v,E)=>{k.addRuntimeModule(v,new R("preload",P.preloadChunk,P.preloadChunkHandlers));E.add(P.preloadChunkHandlers)}))}))}}k.exports=ChunkPrefetchPreloadPlugin},18175:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class ChunkPrefetchStartupRuntimeModule extends R{constructor(k){super("startup prefetch",R.STAGE_TRIGGER);this.startupChunks=k}generate(){const{startupChunks:k,chunk:v}=this;const{runtimeTemplate:E}=this.compilation;return L.asString(k.map((({onChunks:k,chunks:R})=>`${P.onChunksLoaded}(0, ${JSON.stringify(k.filter((k=>k===v)).map((k=>k.id)))}, ${E.basicFunction("",R.size<3?Array.from(R,(k=>`${P.prefetchChunk}(${JSON.stringify(k.id)});`)):`${JSON.stringify(Array.from(R,(k=>k.id)))}.map(${P.prefetchChunk});`)}, 5);`)))}}k.exports=ChunkPrefetchStartupRuntimeModule},66594:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class ChunkPrefetchTriggerRuntimeModule extends R{constructor(k){super(`chunk prefetch trigger`,R.STAGE_TRIGGER);this.chunkMap=k}generate(){const{chunkMap:k}=this;const{runtimeTemplate:v}=this.compilation;const E=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${P.prefetchChunk});`];return L.asString([L.asString([`var chunkToChildrenMap = ${JSON.stringify(k,null,"\t")};`,`${P.ensureChunkHandlers}.prefetch = ${v.expressionFunction(`Promise.all(promises).then(${v.basicFunction("",E)})`,"chunkId, promises")};`])])}}k.exports=ChunkPrefetchTriggerRuntimeModule},68931:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class ChunkPreloadTriggerRuntimeModule extends R{constructor(k){super(`chunk preload trigger`,R.STAGE_TRIGGER);this.chunkMap=k}generate(){const{chunkMap:k}=this;const{runtimeTemplate:v}=this.compilation;const E=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${P.preloadChunk});`];return L.asString([L.asString([`var chunkToChildrenMap = ${JSON.stringify(k,null,"\t")};`,`${P.ensureChunkHandlers}.preload = ${v.basicFunction("chunkId",E)};`])])}}k.exports=ChunkPreloadTriggerRuntimeModule},4345:function(k){"use strict";class BasicEffectRulePlugin{constructor(k,v){this.ruleProperty=k;this.effectType=v||k}apply(k){k.hooks.rule.tap("BasicEffectRulePlugin",((k,v,E,P,R)=>{if(E.has(this.ruleProperty)){E.delete(this.ruleProperty);const k=v[this.ruleProperty];P.effects.push({type:this.effectType,value:k})}}))}}k.exports=BasicEffectRulePlugin},559:function(k){"use strict";class BasicMatcherRulePlugin{constructor(k,v,E){this.ruleProperty=k;this.dataProperty=v||k;this.invert=E||false}apply(k){k.hooks.rule.tap("BasicMatcherRulePlugin",((v,E,P,R)=>{if(P.has(this.ruleProperty)){P.delete(this.ruleProperty);const L=E[this.ruleProperty];const N=k.compileCondition(`${v}.${this.ruleProperty}`,L);const q=N.fn;R.conditions.push({property:this.dataProperty,matchWhenEmpty:this.invert?!N.matchWhenEmpty:N.matchWhenEmpty,fn:this.invert?k=>!q(k):q})}}))}}k.exports=BasicMatcherRulePlugin},73799:function(k){"use strict";class ObjectMatcherRulePlugin{constructor(k,v){this.ruleProperty=k;this.dataProperty=v||k}apply(k){const{ruleProperty:v,dataProperty:E}=this;k.hooks.rule.tap("ObjectMatcherRulePlugin",((P,R,L,N)=>{if(L.has(v)){L.delete(v);const q=R[v];for(const R of Object.keys(q)){const L=R.split(".");const ae=k.compileCondition(`${P}.${v}.${R}`,q[R]);N.conditions.push({property:[E,...L],matchWhenEmpty:ae.matchWhenEmpty,fn:ae.fn})}}}))}}k.exports=ObjectMatcherRulePlugin},87536:function(k,v,E){"use strict";const{SyncHook:P}=E(79846);class RuleSetCompiler{constructor(k){this.hooks=Object.freeze({rule:new P(["path","rule","unhandledProperties","compiledRule","references"])});if(k){for(const v of k){v.apply(this)}}}compile(k){const v=new Map;const E=this.compileRules("ruleSet",k,v);const execRule=(k,v,E)=>{for(const E of v.conditions){const v=E.property;if(Array.isArray(v)){let P=k;for(const k of v){if(P&&typeof P==="object"&&Object.prototype.hasOwnProperty.call(P,k)){P=P[k]}else{P=undefined;break}}if(P!==undefined){if(!E.fn(P))return false;continue}}else if(v in k){const P=k[v];if(P!==undefined){if(!E.fn(P))return false;continue}}if(!E.matchWhenEmpty){return false}}for(const P of v.effects){if(typeof P==="function"){const v=P(k);for(const k of v){E.push(k)}}else{E.push(P)}}if(v.rules){for(const P of v.rules){execRule(k,P,E)}}if(v.oneOf){for(const P of v.oneOf){if(execRule(k,P,E)){break}}}return true};return{references:v,exec:k=>{const v=[];for(const P of E){execRule(k,P,v)}return v}}}compileRules(k,v,E){return v.map(((v,P)=>this.compileRule(`${k}[${P}]`,v,E)))}compileRule(k,v,E){const P=new Set(Object.keys(v).filter((k=>v[k]!==undefined)));const R={conditions:[],effects:[],rules:undefined,oneOf:undefined};this.hooks.rule.call(k,v,P,R,E);if(P.has("rules")){P.delete("rules");const L=v.rules;if(!Array.isArray(L))throw this.error(k,L,"Rule.rules must be an array of rules");R.rules=this.compileRules(`${k}.rules`,L,E)}if(P.has("oneOf")){P.delete("oneOf");const L=v.oneOf;if(!Array.isArray(L))throw this.error(k,L,"Rule.oneOf must be an array of rules");R.oneOf=this.compileRules(`${k}.oneOf`,L,E)}if(P.size>0){throw this.error(k,v,`Properties ${Array.from(P).join(", ")} are unknown`)}return R}compileCondition(k,v){if(v===""){return{matchWhenEmpty:true,fn:k=>k===""}}if(!v){throw this.error(k,v,"Expected condition but got falsy value")}if(typeof v==="string"){return{matchWhenEmpty:v.length===0,fn:k=>typeof k==="string"&&k.startsWith(v)}}if(typeof v==="function"){try{return{matchWhenEmpty:v(""),fn:v}}catch(E){throw this.error(k,v,"Evaluation of condition function threw error")}}if(v instanceof RegExp){return{matchWhenEmpty:v.test(""),fn:k=>typeof k==="string"&&v.test(k)}}if(Array.isArray(v)){const E=v.map(((v,E)=>this.compileCondition(`${k}[${E}]`,v)));return this.combineConditionsOr(E)}if(typeof v!=="object"){throw this.error(k,v,`Unexpected ${typeof v} when condition was expected`)}const E=[];for(const P of Object.keys(v)){const R=v[P];switch(P){case"or":if(R){if(!Array.isArray(R)){throw this.error(`${k}.or`,v.and,"Expected array of conditions")}E.push(this.compileCondition(`${k}.or`,R))}break;case"and":if(R){if(!Array.isArray(R)){throw this.error(`${k}.and`,v.and,"Expected array of conditions")}let P=0;for(const v of R){E.push(this.compileCondition(`${k}.and[${P}]`,v));P++}}break;case"not":if(R){const v=this.compileCondition(`${k}.not`,R);const P=v.fn;E.push({matchWhenEmpty:!v.matchWhenEmpty,fn:k=>!P(k)})}break;default:throw this.error(`${k}.${P}`,v[P],`Unexpected property ${P} in condition`)}}if(E.length===0){throw this.error(k,v,"Expected condition, but got empty thing")}return this.combineConditionsAnd(E)}combineConditionsOr(k){if(k.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(k.length===1){return k[0]}else{return{matchWhenEmpty:k.some((k=>k.matchWhenEmpty)),fn:v=>k.some((k=>k.fn(v)))}}}combineConditionsAnd(k){if(k.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(k.length===1){return k[0]}else{return{matchWhenEmpty:k.every((k=>k.matchWhenEmpty)),fn:v=>k.every((k=>k.fn(v)))}}}error(k,v,E){return new Error(`Compiling RuleSet failed: ${E} (at ${k}: ${v})`)}}k.exports=RuleSetCompiler},53998:function(k,v,E){"use strict";const P=E(73837);class UseEffectRulePlugin{apply(k){k.hooks.rule.tap("UseEffectRulePlugin",((v,E,R,L,N)=>{const conflictWith=(P,L)=>{if(R.has(P)){throw k.error(`${v}.${P}`,E[P],`A Rule must not have a '${P}' property when it has a '${L}' property`)}};if(R.has("use")){R.delete("use");R.delete("enforce");conflictWith("loader","use");conflictWith("options","use");const k=E.use;const q=E.enforce;const ae=q?`use-${q}`:"use";const useToEffect=(k,v,E)=>{if(typeof E==="function"){return v=>useToEffectsWithoutIdent(k,E(v))}else{return useToEffectRaw(k,v,E)}};const useToEffectRaw=(k,v,E)=>{if(typeof E==="string"){return{type:ae,value:{loader:E,options:undefined,ident:undefined}}}else{const R=E.loader;const L=E.options;let ae=E.ident;if(L&&typeof L==="object"){if(!ae)ae=v;N.set(ae,L)}if(typeof L==="string"){P.deprecate((()=>{}),`Using a string as loader options is deprecated (${k}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}return{type:q?`use-${q}`:"use",value:{loader:R,options:L,ident:ae}}}};const useToEffectsWithoutIdent=(k,v)=>{if(Array.isArray(v)){return v.map(((v,E)=>useToEffectRaw(`${k}[${E}]`,"[[missing ident]]",v)))}return[useToEffectRaw(k,"[[missing ident]]",v)]};const useToEffects=(k,v)=>{if(Array.isArray(v)){return v.map(((v,E)=>{const P=`${k}[${E}]`;return useToEffect(P,P,v)}))}return[useToEffect(k,k,v)]};if(typeof k==="function"){L.effects.push((E=>useToEffectsWithoutIdent(`${v}.use`,k(E))))}else{for(const E of useToEffects(`${v}.use`,k)){L.effects.push(E)}}}if(R.has("loader")){R.delete("loader");R.delete("options");R.delete("enforce");const q=E.loader;const ae=E.options;const le=E.enforce;if(q.includes("!")){throw k.error(`${v}.loader`,q,"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays")}if(q.includes("?")){throw k.error(`${v}.loader`,q,"Query arguments on 'loader' has been removed in favor of the 'options' property")}if(typeof ae==="string"){P.deprecate((()=>{}),`Using a string as loader options is deprecated (${v}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}const pe=ae&&typeof ae==="object"?v:undefined;N.set(pe,ae);L.effects.push({type:le?`use-${le}`:"use",value:{loader:q,options:ae,ident:pe}})}}))}useItemToEffects(k,v){}}k.exports=UseEffectRulePlugin},43120:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class AsyncModuleRuntimeModule extends L{constructor(){super("async module")}generate(){const{runtimeTemplate:k}=this.compilation;const v=P.asyncModule;return R.asString(['var webpackQueues = typeof Symbol === "function" ? Symbol("webpack queues") : "__webpack_queues__";',`var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "${P.exports}";`,'var webpackError = typeof Symbol === "function" ? Symbol("webpack error") : "__webpack_error__";',`var resolveQueue = ${k.basicFunction("queue",["if(queue && !queue.d) {",R.indent(["queue.d = 1;",`queue.forEach(${k.expressionFunction("fn.r--","fn")});`,`queue.forEach(${k.expressionFunction("fn.r-- ? fn.r++ : fn()","fn")});`]),"}"])}`,`var wrapDeps = ${k.returningFunction(`deps.map(${k.basicFunction("dep",['if(dep !== null && typeof dep === "object") {',R.indent(["if(dep[webpackQueues]) return dep;","if(dep.then) {",R.indent(["var queue = [];","queue.d = 0;",`dep.then(${k.basicFunction("r",["obj[webpackExports] = r;","resolveQueue(queue);"])}, ${k.basicFunction("e",["obj[webpackError] = e;","resolveQueue(queue);"])});`,"var obj = {};",`obj[webpackQueues] = ${k.expressionFunction(`fn(queue)`,"fn")};`,"return obj;"]),"}"]),"}","var ret = {};",`ret[webpackQueues] = ${k.emptyFunction()};`,"ret[webpackExports] = dep;","return ret;"])})`,"deps")};`,`${v} = ${k.basicFunction("module, body, hasAwait",["var queue;","hasAwait && ((queue = []).d = 1);","var depQueues = new Set();","var exports = module.exports;","var currentDeps;","var outerResolve;","var reject;",`var promise = new Promise(${k.basicFunction("resolve, rej",["reject = rej;","outerResolve = resolve;"])});`,"promise[webpackExports] = exports;",`promise[webpackQueues] = ${k.expressionFunction(`queue && fn(queue), depQueues.forEach(fn), promise["catch"](${k.emptyFunction()})`,"fn")};`,"module.exports = promise;",`body(${k.basicFunction("deps",["currentDeps = wrapDeps(deps);","var fn;",`var getResult = ${k.returningFunction(`currentDeps.map(${k.basicFunction("d",["if(d[webpackError]) throw d[webpackError];","return d[webpackExports];"])})`)}`,`var promise = new Promise(${k.basicFunction("resolve",[`fn = ${k.expressionFunction("resolve(getResult)","")};`,"fn.r = 0;",`var fnQueue = ${k.expressionFunction("q !== queue && !depQueues.has(q) && (depQueues.add(q), q && !q.d && (fn.r++, q.push(fn)))","q")};`,`currentDeps.map(${k.expressionFunction("dep[webpackQueues](fnQueue)","dep")});`])});`,"return fn.r ? promise : getResult();"])}, ${k.expressionFunction("(err ? reject(promise[webpackError] = err) : outerResolve(exports)), resolveQueue(queue)","err")});`,"queue && (queue.d = 0);"])};`])}}k.exports=AsyncModuleRuntimeModule},30982:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const N=E(89168);const{getUndoPath:q}=E(65315);class AutoPublicPathRuntimeModule extends R{constructor(){super("publicPath",R.STAGE_BASIC)}generate(){const{compilation:k}=this;const{scriptType:v,importMetaName:E,path:R}=k.outputOptions;const ae=k.getPath(N.getChunkFilenameTemplate(this.chunk,k.outputOptions),{chunk:this.chunk,contentHashType:"javascript"});const le=q(ae,R,false);return L.asString(["var scriptUrl;",v==="module"?`if (typeof ${E}.url === "string") scriptUrl = ${E}.url`:L.asString([`if (${P.global}.importScripts) scriptUrl = ${P.global}.location + "";`,`var document = ${P.global}.document;`,"if (!scriptUrl && document) {",L.indent([`if (document.currentScript)`,L.indent(`scriptUrl = document.currentScript.src;`),"if (!scriptUrl) {",L.indent(['var scripts = document.getElementsByTagName("script");',"if(scripts.length) {",L.indent(["var i = scripts.length - 1;","while (i > -1 && !scriptUrl) scriptUrl = scripts[i--].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(/\\/[^\\/]+$/, "/");',!le?`${P.publicPath} = scriptUrl;`:`${P.publicPath} = scriptUrl + ${JSON.stringify(le)};`])}}k.exports=AutoPublicPathRuntimeModule},95308:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class BaseUriRuntimeModule extends R{constructor(){super("base uri",R.STAGE_ATTACH)}generate(){const{chunk:k}=this;const v=k.getEntryOptions();return`${P.baseURI} = ${v.baseUri===undefined?"undefined":JSON.stringify(v.baseUri)};`}}k.exports=BaseUriRuntimeModule},32861:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class ChunkNameRuntimeModule extends R{constructor(k){super("chunkName");this.chunkName=k}generate(){return`${P.chunkName} = ${JSON.stringify(this.chunkName)};`}}k.exports=ChunkNameRuntimeModule},75916:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class CompatGetDefaultExportRuntimeModule extends L{constructor(){super("compat get default export")}generate(){const{runtimeTemplate:k}=this.compilation;const v=P.compatGetDefaultExport;return R.asString(["// getDefaultExport function for compatibility with non-harmony modules",`${v} = ${k.basicFunction("module",["var getter = module && module.__esModule ?",R.indent([`${k.returningFunction("module['default']")} :`,`${k.returningFunction("module")};`]),`${P.definePropertyGetters}(getter, { a: getter });`,"return getter;"])};`])}}k.exports=CompatGetDefaultExportRuntimeModule},9518:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class CompatRuntimeModule extends R{constructor(){super("compat",R.STAGE_ATTACH);this.fullHash=true}generate(){const{chunkGraph:k,chunk:v,compilation:E}=this;const{runtimeTemplate:R,mainTemplate:L,moduleTemplates:N,dependencyTemplates:q}=E;const ae=L.hooks.bootstrap.call("",v,E.hash||"XXXX",N.javascript,q);const le=L.hooks.localVars.call("",v,E.hash||"XXXX");const pe=L.hooks.requireExtensions.call("",v,E.hash||"XXXX");const me=k.getTreeRuntimeRequirements(v);let ye="";if(me.has(P.ensureChunk)){const k=L.hooks.requireEnsure.call("",v,E.hash||"XXXX","chunkId");if(k){ye=`${P.ensureChunkHandlers}.compat = ${R.basicFunction("chunkId, promises",k)};`}}return[ae,le,ye,pe].filter(Boolean).join("\n")}shouldIsolate(){return false}}k.exports=CompatRuntimeModule},23466:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class CreateFakeNamespaceObjectRuntimeModule extends L{constructor(){super("create fake namespace object")}generate(){const{runtimeTemplate:k}=this.compilation;const v=P.createFakeNamespaceObject;return R.asString([`var getProto = Object.getPrototypeOf ? ${k.returningFunction("Object.getPrototypeOf(obj)","obj")} : ${k.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",`${v} = function(value, mode) {`,R.indent([`if(mode & 1) value = this(value);`,`if(mode & 8) return value;`,"if(typeof value === 'object' && value) {",R.indent(["if((mode & 4) && value.__esModule) return value;","if((mode & 16) && typeof value.then === 'function') return value;"]),"}","var ns = Object.create(null);",`${P.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)) {",R.indent([`Object.getOwnPropertyNames(current).forEach(${k.expressionFunction(`def[key] = ${k.returningFunction("value[key]","")}`,"key")});`]),"}",`def['default'] = ${k.returningFunction("value","")};`,`${P.definePropertyGetters}(ns, def);`,"return ns;"]),"};"])}}k.exports=CreateFakeNamespaceObjectRuntimeModule},39358:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class CreateScriptRuntimeModule extends L{constructor(){super("trusted types script")}generate(){const{compilation:k}=this;const{runtimeTemplate:v,outputOptions:E}=k;const{trustedTypes:L}=E;const N=P.createScript;return R.asString(`${N} = ${v.returningFunction(L?`${P.getTrustedTypesPolicy}().createScript(script)`:"script","script")};`)}}k.exports=CreateScriptRuntimeModule},16797:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class CreateScriptUrlRuntimeModule extends L{constructor(){super("trusted types script url")}generate(){const{compilation:k}=this;const{runtimeTemplate:v,outputOptions:E}=k;const{trustedTypes:L}=E;const N=P.createScriptUrl;return R.asString(`${N} = ${v.returningFunction(L?`${P.getTrustedTypesPolicy}().createScriptURL(url)`:"url","url")};`)}}k.exports=CreateScriptUrlRuntimeModule},71662:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class DefinePropertyGettersRuntimeModule extends L{constructor(){super("define property getters")}generate(){const{runtimeTemplate:k}=this.compilation;const v=P.definePropertyGetters;return R.asString(["// define getter functions for harmony exports",`${v} = ${k.basicFunction("exports, definition",[`for(var key in definition) {`,R.indent([`if(${P.hasOwnProperty}(definition, key) && !${P.hasOwnProperty}(exports, key)) {`,R.indent(["Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });"]),"}"]),"}"])};`])}}k.exports=DefinePropertyGettersRuntimeModule},33442:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class EnsureChunkRuntimeModule extends R{constructor(k){super("ensure chunk");this.runtimeRequirements=k}generate(){const{runtimeTemplate:k}=this.compilation;if(this.runtimeRequirements.has(P.ensureChunkHandlers)){const v=P.ensureChunkHandlers;return L.asString([`${v} = {};`,"// This file contains only the entry chunk.","// The chunk loading function for additional chunks",`${P.ensureChunk} = ${k.basicFunction("chunkId",[`return Promise.all(Object.keys(${v}).reduce(${k.basicFunction("promises, key",[`${v}[key](chunkId, promises);`,"return promises;"])}, []));`])};`])}else{return L.asString(["// The chunk loading function for additional chunks","// Since all referenced chunks are already included","// in this file, this function is empty here.",`${P.ensureChunk} = ${k.returningFunction("Promise.resolve()")};`])}}}k.exports=EnsureChunkRuntimeModule},10582:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{first:N}=E(59959);class GetChunkFilenameRuntimeModule extends R{constructor(k,v,E,P,R){super(`get ${v} chunk filename`);this.contentType=k;this.global=E;this.getFilenameForChunk=P;this.allChunks=R;this.dependentHash=true}generate(){const{global:k,chunk:v,chunkGraph:E,contentType:R,getFilenameForChunk:q,allChunks:ae,compilation:le}=this;const{runtimeTemplate:pe}=le;const me=new Map;let ye=0;let _e;const addChunk=k=>{const v=q(k);if(v){let E=me.get(v);if(E===undefined){me.set(v,E=new Set)}E.add(k);if(typeof v==="string"){if(E.size{const unquotedStringify=v=>{const E=`${v}`;if(E.length>=5&&E===`${k.id}`){return'" + chunkId + "'}const P=JSON.stringify(E);return P.slice(1,P.length-1)};const unquotedStringifyWithLength=k=>v=>unquotedStringify(`${k}`.slice(0,v));const E=typeof v==="function"?JSON.stringify(v({chunk:k,contentHashType:R})):JSON.stringify(v);const L=le.getPath(E,{hash:`" + ${P.getFullHash}() + "`,hashWithLength:k=>`" + ${P.getFullHash}().slice(0, ${k}) + "`,chunk:{id:unquotedStringify(k.id),hash:unquotedStringify(k.renderedHash),hashWithLength:unquotedStringifyWithLength(k.renderedHash),name:unquotedStringify(k.name||k.id),contentHash:{[R]:unquotedStringify(k.contentHash[R])},contentHashWithLength:{[R]:unquotedStringifyWithLength(k.contentHash[R])}},contentHashType:R});let N=Me.get(L);if(N===undefined){Me.set(L,N=new Set)}N.add(k.id)};for(const[k,v]of me){if(k!==_e){for(const E of v)addStaticUrl(E,k)}else{for(const k of v)Te.add(k)}}const createMap=k=>{const v={};let E=false;let P;let R=0;for(const L of Te){const N=k(L);if(N===L.id){E=true}else{v[L.id]=N;P=L.id;R++}}if(R===0)return"chunkId";if(R===1){return E?`(chunkId === ${JSON.stringify(P)} ? ${JSON.stringify(v[P])} : chunkId)`:JSON.stringify(v[P])}return E?`(${JSON.stringify(v)}[chunkId] || chunkId)`:`${JSON.stringify(v)}[chunkId]`};const mapExpr=k=>`" + ${createMap(k)} + "`;const mapExprWithLength=k=>v=>`" + ${createMap((E=>`${k(E)}`.slice(0,v)))} + "`;const je=_e&&le.getPath(JSON.stringify(_e),{hash:`" + ${P.getFullHash}() + "`,hashWithLength:k=>`" + ${P.getFullHash}().slice(0, ${k}) + "`,chunk:{id:`" + chunkId + "`,hash:mapExpr((k=>k.renderedHash)),hashWithLength:mapExprWithLength((k=>k.renderedHash)),name:mapExpr((k=>k.name||k.id)),contentHash:{[R]:mapExpr((k=>k.contentHash[R]))},contentHashWithLength:{[R]:mapExprWithLength((k=>k.contentHash[R]))}},contentHashType:R});return L.asString([`// This function allow to reference ${Ie.join(" and ")}`,`${k} = ${pe.basicFunction("chunkId",Me.size>0?["// return url for filenames not based on template",L.asString(Array.from(Me,(([k,v])=>{const E=v.size===1?`chunkId === ${JSON.stringify(N(v))}`:`{${Array.from(v,(k=>`${JSON.stringify(k)}:1`)).join(",")}}[chunkId]`;return`if (${E}) return ${k};`}))),"// return url for filenames based on template",`return ${je};`]:["// return url for filenames based on template",`return ${je};`])};`])}}k.exports=GetChunkFilenameRuntimeModule},5e3:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class GetFullHashRuntimeModule extends R{constructor(){super("getFullHash");this.fullHash=true}generate(){const{runtimeTemplate:k}=this.compilation;return`${P.getFullHash} = ${k.returningFunction(JSON.stringify(this.compilation.hash||"XXXX"))}`}}k.exports=GetFullHashRuntimeModule},21794:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class GetMainFilenameRuntimeModule extends R{constructor(k,v,E){super(`get ${k} filename`);this.global=v;this.filename=E}generate(){const{global:k,filename:v,compilation:E,chunk:R}=this;const{runtimeTemplate:N}=E;const q=E.getPath(JSON.stringify(v),{hash:`" + ${P.getFullHash}() + "`,hashWithLength:k=>`" + ${P.getFullHash}().slice(0, ${k}) + "`,chunk:R,runtime:R.runtime});return L.asString([`${k} = ${N.returningFunction(q)};`])}}k.exports=GetMainFilenameRuntimeModule},66537:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class GetTrustedTypesPolicyRuntimeModule extends L{constructor(k){super("trusted types policy");this.runtimeRequirements=k}generate(){const{compilation:k}=this;const{runtimeTemplate:v,outputOptions:E}=k;const{trustedTypes:L}=E;const N=P.getTrustedTypesPolicy;const q=L?L.onPolicyCreationFailure==="continue":false;return R.asString(["var policy;",`${N} = ${v.basicFunction("",["// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.","if (policy === undefined) {",R.indent(["policy = {",R.indent([...this.runtimeRequirements.has(P.createScript)?[`createScript: ${v.returningFunction("script","script")}`]:[],...this.runtimeRequirements.has(P.createScriptUrl)?[`createScriptURL: ${v.returningFunction("url","url")}`]:[]].join(",\n")),"};",...L?['if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) {',R.indent([...q?["try {"]:[],...[`policy = trustedTypes.createPolicy(${JSON.stringify(L.policyName)}, policy);`].map((k=>q?R.indent(k):k)),...q?["} catch (e) {",R.indent([`console.warn('Could not create trusted-types policy ${JSON.stringify(L.policyName)}');`]),"}"]:[]]),"}"]:[]]),"}","return policy;"])};`])}}k.exports=GetTrustedTypesPolicyRuntimeModule},75013:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class GlobalRuntimeModule extends R{constructor(){super("global")}generate(){return L.asString([`${P.global} = (function() {`,L.indent(["if (typeof globalThis === 'object') return globalThis;","try {",L.indent("return this || new Function('return this')();"),"} catch (e) {",L.indent("if (typeof window === 'object') return window;"),"}"]),"})();"])}}k.exports=GlobalRuntimeModule},43840:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class HasOwnPropertyRuntimeModule extends R{constructor(){super("hasOwnProperty shorthand")}generate(){const{runtimeTemplate:k}=this.compilation;return L.asString([`${P.hasOwnProperty} = ${k.returningFunction("Object.prototype.hasOwnProperty.call(obj, prop)","obj, prop")}`])}}k.exports=HasOwnPropertyRuntimeModule},25945:function(k,v,E){"use strict";const P=E(27462);class HelperRuntimeModule extends P{constructor(k){super(k)}}k.exports=HelperRuntimeModule},42159:function(k,v,E){"use strict";const{SyncWaterfallHook:P}=E(79846);const R=E(27747);const L=E(56727);const N=E(95041);const q=E(25945);const ae=new WeakMap;class LoadScriptRuntimeModule extends q{static getCompilationHooks(k){if(!(k instanceof R)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=ae.get(k);if(v===undefined){v={createScript:new P(["source","chunk"])};ae.set(k,v)}return v}constructor(k){super("load script");this._withCreateScriptUrl=k}generate(){const{compilation:k}=this;const{runtimeTemplate:v,outputOptions:E}=k;const{scriptType:P,chunkLoadTimeout:R,crossOriginLoading:q,uniqueName:ae,charset:le}=E;const pe=L.loadScript;const{createScript:me}=LoadScriptRuntimeModule.getCompilationHooks(k);const ye=N.asString(["script = document.createElement('script');",P?`script.type = ${JSON.stringify(P)};`:"",le?"script.charset = 'utf-8';":"",`script.timeout = ${R/1e3};`,`if (${L.scriptNonce}) {`,N.indent(`script.setAttribute("nonce", ${L.scriptNonce});`),"}",ae?'script.setAttribute("data-webpack", dataWebpackPrefix + key);':"",`script.src = ${this._withCreateScriptUrl?`${L.createScriptUrl}(url)`:"url"};`,q?q==="use-credentials"?'script.crossOrigin = "use-credentials";':N.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",N.indent(`script.crossOrigin = ${JSON.stringify(q)};`),"}"]):""]);return N.asString(["var inProgress = {};",ae?`var dataWebpackPrefix = ${JSON.stringify(ae+":")};`:"// data-webpack is not used as build has no uniqueName","// loadScript function to load a script via script tag",`${pe} = ${v.basicFunction("url, done, key, chunkId",["if(inProgress[url]) { inProgress[url].push(done); return; }","var script, needAttach;","if(key !== undefined) {",N.indent(['var scripts = document.getElementsByTagName("script");',"for(var i = 0; i < scripts.length; i++) {",N.indent(["var s = scripts[i];",`if(s.getAttribute("src") == url${ae?' || s.getAttribute("data-webpack") == dataWebpackPrefix + key':""}) { script = s; break; }`]),"}"]),"}","if(!script) {",N.indent(["needAttach = true;",me.call(ye,this.chunk)]),"}","inProgress[url] = [done];","var onScriptComplete = "+v.basicFunction("prev, event",N.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(${v.returningFunction("fn(event)","fn")});`,"if(prev) return prev(event);"])),`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${R});`,"script.onerror = onScriptComplete.bind(null, script.onerror);","script.onload = onScriptComplete.bind(null, script.onload);","needAttach && document.head.appendChild(script);"])};`])}}k.exports=LoadScriptRuntimeModule},22016:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class MakeNamespaceObjectRuntimeModule extends L{constructor(){super("make namespace object")}generate(){const{runtimeTemplate:k}=this.compilation;const v=P.makeNamespaceObject;return R.asString(["// define __esModule on exports",`${v} = ${k.basicFunction("exports",["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",R.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"])};`])}}k.exports=MakeNamespaceObjectRuntimeModule},17800:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class NonceRuntimeModule extends R{constructor(){super("nonce",R.STAGE_ATTACH)}generate(){return`${P.scriptNonce} = undefined;`}}k.exports=NonceRuntimeModule},10887:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class OnChunksLoadedRuntimeModule extends R{constructor(){super("chunk loaded")}generate(){const{compilation:k}=this;const{runtimeTemplate:v}=k;return L.asString(["var deferred = [];",`${P.onChunksLoaded} = ${v.basicFunction("result, chunkIds, fn, priority",["if(chunkIds) {",L.indent(["priority = priority || 0;","for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];","deferred[i] = [chunkIds, fn, priority];","return;"]),"}","var notFulfilled = Infinity;","for (var i = 0; i < deferred.length; i++) {",L.indent([v.destructureArray(["chunkIds","fn","priority"],"deferred[i]"),"var fulfilled = true;","for (var j = 0; j < chunkIds.length; j++) {",L.indent([`if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${P.onChunksLoaded}).every(${v.returningFunction(`${P.onChunksLoaded}[key](chunkIds[j])`,"key")})) {`,L.indent(["chunkIds.splice(j--, 1);"]),"} else {",L.indent(["fulfilled = false;","if(priority < notFulfilled) notFulfilled = priority;"]),"}"]),"}","if(fulfilled) {",L.indent(["deferred.splice(i--, 1)","var r = fn();","if (r !== undefined) result = r;"]),"}"]),"}","return result;"])};`])}}k.exports=OnChunksLoadedRuntimeModule},67415:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class PublicPathRuntimeModule extends R{constructor(k){super("publicPath",R.STAGE_BASIC);this.publicPath=k}generate(){const{compilation:k,publicPath:v}=this;return`${P.publicPath} = ${JSON.stringify(k.getPath(v||"",{hash:k.hash||"XXXX"}))};`}}k.exports=PublicPathRuntimeModule},96272:function(k,v,E){"use strict";const P=E(56727);const R=E(95041);const L=E(25945);class RelativeUrlRuntimeModule extends L{constructor(){super("relative url")}generate(){const{runtimeTemplate:k}=this.compilation;return R.asString([`${P.relativeUrl} = function RelativeURL(url) {`,R.indent(['var realUrl = new URL(url, "x:/");',"var values = {};","for (var key in realUrl) values[key] = realUrl[key];","values.href = url;",'values.pathname = url.replace(/[?#].*/, "");','values.origin = values.protocol = "";',`values.toString = values.toJSON = ${k.returningFunction("url")};`,"for (var key in values) Object.defineProperty(this, key, { enumerable: true, configurable: true, value: values[key] });"]),"};",`${P.relativeUrl}.prototype = URL.prototype;`])}}k.exports=RelativeUrlRuntimeModule},8062:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class RuntimeIdRuntimeModule extends R{constructor(){super("runtimeId")}generate(){const{chunkGraph:k,chunk:v}=this;const E=v.runtime;if(typeof E!=="string")throw new Error("RuntimeIdRuntimeModule must be in a single runtime");const R=k.getRuntimeId(E);return`${P.runtimeId} = ${JSON.stringify(R)};`}}k.exports=RuntimeIdRuntimeModule},31626:function(k,v,E){"use strict";const P=E(56727);const R=E(1433);const L=E(5989);class StartupChunkDependenciesPlugin{constructor(k){this.chunkLoading=k.chunkLoading;this.asyncChunkLoading=typeof k.asyncChunkLoading==="boolean"?k.asyncChunkLoading:true}apply(k){k.hooks.thisCompilation.tap("StartupChunkDependenciesPlugin",(k=>{const v=k.outputOptions.chunkLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.chunkLoading!==undefined?E.chunkLoading:v;return P===this.chunkLoading};k.hooks.additionalTreeRuntimeRequirements.tap("StartupChunkDependenciesPlugin",((v,E,{chunkGraph:L})=>{if(!isEnabledForChunk(v))return;if(L.hasChunkEntryDependentChunks(v)){E.add(P.startup);E.add(P.ensureChunk);E.add(P.ensureChunkIncludeEntries);k.addRuntimeModule(v,new R(this.asyncChunkLoading))}}));k.hooks.runtimeRequirementInTree.for(P.startupEntrypoint).tap("StartupChunkDependenciesPlugin",((v,E)=>{if(!isEnabledForChunk(v))return;E.add(P.require);E.add(P.ensureChunk);E.add(P.ensureChunkIncludeEntries);k.addRuntimeModule(v,new L(this.asyncChunkLoading))}))}))}}k.exports=StartupChunkDependenciesPlugin},1433:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class StartupChunkDependenciesRuntimeModule extends R{constructor(k){super("startup chunk dependencies",R.STAGE_TRIGGER);this.asyncChunkLoading=k}generate(){const{chunkGraph:k,chunk:v,compilation:E}=this;const{runtimeTemplate:R}=E;const N=Array.from(k.getChunkEntryDependentChunksIterable(v)).map((k=>k.id));return L.asString([`var next = ${P.startup};`,`${P.startup} = ${R.basicFunction("",!this.asyncChunkLoading?N.map((k=>`${P.ensureChunk}(${JSON.stringify(k)});`)).concat("return next();"):N.length===1?`return ${P.ensureChunk}(${JSON.stringify(N[0])}).then(next);`:N.length>2?[`return Promise.all(${JSON.stringify(N)}.map(${P.ensureChunk}, ${P.require})).then(next);`]:["return Promise.all([",L.indent(N.map((k=>`${P.ensureChunk}(${JSON.stringify(k)})`)).join(",\n")),"]).then(next);"])};`])}}k.exports=StartupChunkDependenciesRuntimeModule},5989:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class StartupEntrypointRuntimeModule extends R{constructor(k){super("startup entrypoint");this.asyncChunkLoading=k}generate(){const{compilation:k}=this;const{runtimeTemplate:v}=k;return`${P.startupEntrypoint} = ${v.basicFunction("result, chunkIds, fn",["// arguments: chunkIds, moduleId are deprecated","var moduleId = chunkIds;",`if(!fn) chunkIds = result, fn = ${v.returningFunction(`${P.require}(${P.entryModuleId} = moduleId)`)};`,...this.asyncChunkLoading?[`return Promise.all(chunkIds.map(${P.ensureChunk}, ${P.require})).then(${v.basicFunction("",["var r = fn();","return r === undefined ? result : r;"])})`]:[`chunkIds.map(${P.ensureChunk}, ${P.require})`,"var r = fn();","return r === undefined ? result : r;"]])}`}}k.exports=StartupEntrypointRuntimeModule},34108:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);class SystemContextRuntimeModule extends R{constructor(){super("__system_context__")}generate(){return`${P.systemContext} = __system_context__;`}}k.exports=SystemContextRuntimeModule},82599:function(k,v,E){"use strict";const P=E(38224);const R=/^data:([^;,]+)?((?:;[^;,]+)*?)(?:;(base64))?,(.*)$/i;const decodeDataURI=k=>{const v=R.exec(k);if(!v)return null;const E=v[3];const P=v[4];if(E){return Buffer.from(P,"base64")}try{return Buffer.from(decodeURIComponent(P),"ascii")}catch(k){return Buffer.from(P,"ascii")}};class DataUriPlugin{apply(k){k.hooks.compilation.tap("DataUriPlugin",((k,{normalModuleFactory:v})=>{v.hooks.resolveForScheme.for("data").tap("DataUriPlugin",(k=>{const v=R.exec(k.resource);if(v){k.data.mimetype=v[1]||"";k.data.parameters=v[2]||"";k.data.encoding=v[3]||false;k.data.encodedContent=v[4]||""}}));P.getCompilationHooks(k).readResourceForScheme.for("data").tap("DataUriPlugin",(k=>decodeDataURI(k)))}))}}k.exports=DataUriPlugin},28730:function(k,v,E){"use strict";const{URL:P,fileURLToPath:R}=E(57310);const{NormalModule:L}=E(94308);class FileUriPlugin{apply(k){k.hooks.compilation.tap("FileUriPlugin",((k,{normalModuleFactory:v})=>{v.hooks.resolveForScheme.for("file").tap("FileUriPlugin",(k=>{const v=new P(k.resource);const E=R(v);const L=v.search;const N=v.hash;k.path=E;k.query=L;k.fragment=N;k.resource=E+L+N;return true}));const E=L.getCompilationHooks(k);E.readResource.for(undefined).tapAsync("FileUriPlugin",((k,v)=>{const{resourcePath:E}=k;k.addDependency(E);k.fs.readFile(E,v)}))}))}}k.exports=FileUriPlugin},73500:function(k,v,E){"use strict";const P=E(82361);const{extname:R,basename:L}=E(71017);const{URL:N}=E(57310);const{createGunzip:q,createBrotliDecompress:ae,createInflate:le}=E(59796);const pe=E(38224);const me=E(92198);const ye=E(74012);const{mkdirp:_e,dirname:Ie,join:Me}=E(57825);const Te=E(20631);const je=Te((()=>E(13685)));const Ne=Te((()=>E(95687)));const proxyFetch=(k,v)=>(E,R,L)=>{const q=new P;const doRequest=v=>k.get(E,{...R,...v&&{socket:v}},L).on("error",q.emit.bind(q,"error"));if(v){const{hostname:k,port:P}=new N(v);je().request({host:k,port:P,method:"CONNECT",path:E.host}).on("connect",((k,v)=>{if(k.statusCode===200){doRequest(v)}})).on("error",(k=>{q.emit("error",new Error(`Failed to connect to proxy server "${v}": ${k.message}`))})).end()}else{doRequest()}return q};let Be=undefined;const qe=me(E(95892),(()=>E(72789)),{name:"Http Uri Plugin",baseDataPath:"options"});const toSafePath=k=>k.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g,"").replace(/[^a-zA-Z0-9._-]+/g,"_");const computeIntegrity=k=>{const v=ye("sha512");v.update(k);const E="sha512-"+v.digest("base64");return E};const verifyIntegrity=(k,v)=>{if(v==="ignore")return true;return computeIntegrity(k)===v};const parseKeyValuePairs=k=>{const v={};for(const E of k.split(",")){const k=E.indexOf("=");if(k>=0){const P=E.slice(0,k).trim();const R=E.slice(k+1).trim();v[P]=R}else{const k=E.trim();if(!k)continue;v[k]=k}}return v};const parseCacheControl=(k,v)=>{let E=true;let P=true;let R=0;if(k){const L=parseKeyValuePairs(k);if(L["no-cache"])E=P=false;if(L["max-age"]&&!isNaN(+L["max-age"])){R=v+ +L["max-age"]*1e3}if(L["must-revalidate"])R=0}return{storeLock:P,storeCache:E,validUntil:R}};const areLockfileEntriesEqual=(k,v)=>k.resolved===v.resolved&&k.integrity===v.integrity&&k.contentType===v.contentType;const entryToString=k=>`resolved: ${k.resolved}, integrity: ${k.integrity}, contentType: ${k.contentType}`;class Lockfile{constructor(){this.version=1;this.entries=new Map}static parse(k){const v=JSON.parse(k);if(v.version!==1)throw new Error(`Unsupported lockfile version ${v.version}`);const E=new Lockfile;for(const k of Object.keys(v)){if(k==="version")continue;const P=v[k];E.entries.set(k,typeof P==="string"?P:{resolved:k,...P})}return E}toString(){let k="{\n";const v=Array.from(this.entries).sort((([k],[v])=>k{let v=false;let E=undefined;let P=undefined;let R=undefined;return L=>{if(v){if(P!==undefined)return L(null,P);if(E!==undefined)return L(E);if(R===undefined)R=[L];else R.push(L);return}v=true;k(((k,v)=>{if(k)E=k;else P=v;const N=R;R=undefined;L(k,v);if(N!==undefined)for(const E of N)E(k,v)}))}};const cachedWithKey=(k,v=k)=>{const E=new Map;const resultFn=(v,P)=>{const R=E.get(v);if(R!==undefined){if(R.result!==undefined)return P(null,R.result);if(R.error!==undefined)return P(R.error);if(R.callbacks===undefined)R.callbacks=[P];else R.callbacks.push(P);return}const L={result:undefined,error:undefined,callbacks:undefined};E.set(v,L);k(v,((k,v)=>{if(k)L.error=k;else L.result=v;const E=L.callbacks;L.callbacks=undefined;P(k,v);if(E!==undefined)for(const P of E)P(k,v)}))};resultFn.force=(k,P)=>{const R=E.get(k);if(R!==undefined&&R.force){if(R.result!==undefined)return P(null,R.result);if(R.error!==undefined)return P(R.error);if(R.callbacks===undefined)R.callbacks=[P];else R.callbacks.push(P);return}const L={result:undefined,error:undefined,callbacks:undefined,force:true};E.set(k,L);v(k,((k,v)=>{if(k)L.error=k;else L.result=v;const E=L.callbacks;L.callbacks=undefined;P(k,v);if(E!==undefined)for(const P of E)P(k,v)}))};return resultFn};class HttpUriPlugin{constructor(k){qe(k);this._lockfileLocation=k.lockfileLocation;this._cacheLocation=k.cacheLocation;this._upgrade=k.upgrade;this._frozen=k.frozen;this._allowedUris=k.allowedUris;this._proxy=k.proxy}apply(k){const v=this._proxy||process.env["http_proxy"]||process.env["HTTP_PROXY"];const E=[{scheme:"http",fetch:proxyFetch(je(),v)},{scheme:"https",fetch:proxyFetch(Ne(),v)}];let P;k.hooks.compilation.tap("HttpUriPlugin",((v,{normalModuleFactory:me})=>{const Te=k.intermediateFileSystem;const je=v.inputFileSystem;const Ne=v.getCache("webpack.HttpUriPlugin");const qe=v.getLogger("webpack.HttpUriPlugin");const Ue=this._lockfileLocation||Me(Te,k.context,k.name?`${toSafePath(k.name)}.webpack.lock`:"webpack.lock");const Ge=this._cacheLocation!==undefined?this._cacheLocation:Ue+".data";const He=this._upgrade||false;const We=this._frozen||false;const Qe="sha512";const Je="hex";const Ve=20;const Ke=this._allowedUris;let Ye=false;const Xe=new Map;const getCacheKey=k=>{const v=Xe.get(k);if(v!==undefined)return v;const E=_getCacheKey(k);Xe.set(k,E);return E};const _getCacheKey=k=>{const v=new N(k);const E=toSafePath(v.origin);const P=toSafePath(v.pathname);const L=toSafePath(v.search);let q=R(P);if(q.length>20)q="";const ae=q?P.slice(0,-q.length):P;const le=ye(Qe);le.update(k);const pe=le.digest(Je).slice(0,Ve);return`${E.slice(-50)}/${`${ae}${L?`_${L}`:""}`.slice(0,150)}_${pe}${q}`};const Ze=cachedWithoutKey((E=>{const readLockfile=()=>{Te.readFile(Ue,((R,L)=>{if(R&&R.code!=="ENOENT"){v.missingDependencies.add(Ue);return E(R)}v.fileDependencies.add(Ue);v.fileSystemInfo.createSnapshot(k.fsStartTime,L?[Ue]:[],[],L?[]:[Ue],{timestamp:true},((k,v)=>{if(k)return E(k);const R=L?Lockfile.parse(L.toString("utf-8")):new Lockfile;P={lockfile:R,snapshot:v};E(null,R)}))}))};if(P){v.fileSystemInfo.checkSnapshotValid(P.snapshot,((k,v)=>{if(k)return E(k);if(!v)return readLockfile();E(null,P.lockfile)}))}else{readLockfile()}}));let et=undefined;const storeLockEntry=(k,v,E)=>{const P=k.entries.get(v);if(et===undefined)et=new Map;et.set(v,E);k.entries.set(v,E);if(!P){qe.log(`${v} added to lockfile`)}else if(typeof P==="string"){if(typeof E==="string"){qe.log(`${v} updated in lockfile: ${P} -> ${E}`)}else{qe.log(`${v} updated in lockfile: ${P} -> ${E.resolved}`)}}else if(typeof E==="string"){qe.log(`${v} updated in lockfile: ${P.resolved} -> ${E}`)}else if(P.resolved!==E.resolved){qe.log(`${v} updated in lockfile: ${P.resolved} -> ${E.resolved}`)}else if(P.integrity!==E.integrity){qe.log(`${v} updated in lockfile: content changed`)}else if(P.contentType!==E.contentType){qe.log(`${v} updated in lockfile: ${P.contentType} -> ${E.contentType}`)}else{qe.log(`${v} updated in lockfile`)}};const storeResult=(k,v,E,P)=>{if(E.storeLock){storeLockEntry(k,v,E.entry);if(!Ge||!E.content)return P(null,E);const R=getCacheKey(E.entry.resolved);const L=Me(Te,Ge,R);_e(Te,Ie(Te,L),(k=>{if(k)return P(k);Te.writeFile(L,E.content,(k=>{if(k)return P(k);P(null,E)}))}))}else{storeLockEntry(k,v,"no-cache");P(null,E)}};for(const{scheme:k,fetch:P}of E){const resolveContent=(k,v,P)=>{const handleResult=(R,L)=>{if(R)return P(R);if("location"in L){return resolveContent(L.location,v,((k,v)=>{if(k)return P(k);P(null,{entry:v.entry,content:v.content,storeLock:v.storeLock&&L.storeLock})}))}else{if(!L.fresh&&v&&L.entry.integrity!==v&&!verifyIntegrity(L.content,v)){return E.force(k,handleResult)}return P(null,{entry:L.entry,content:L.content,storeLock:L.storeLock})}};E(k,handleResult)};const fetchContentRaw=(k,v,E)=>{const R=Date.now();P(new N(k),{headers:{"accept-encoding":"gzip, deflate, br","user-agent":"webpack","if-none-match":v?v.etag||null:null}},(P=>{const L=P.headers["etag"];const pe=P.headers["location"];const me=P.headers["cache-control"];const{storeLock:ye,storeCache:_e,validUntil:Ie}=parseCacheControl(me,R);const finishWith=v=>{if("location"in v){qe.debug(`GET ${k} [${P.statusCode}] -> ${v.location}`)}else{qe.debug(`GET ${k} [${P.statusCode}] ${Math.ceil(v.content.length/1024)} kB${!ye?" no-cache":""}`)}const R={...v,fresh:true,storeLock:ye,storeCache:_e,validUntil:Ie,etag:L};if(!_e){qe.log(`${k} can't be stored in cache, due to Cache-Control header: ${me}`);return E(null,R)}Ne.store(k,null,{...R,fresh:false},(v=>{if(v){qe.warn(`${k} can't be stored in cache: ${v.message}`);qe.debug(v.stack)}E(null,R)}))};if(P.statusCode===304){if(v.validUntil=301&&P.statusCode<=308){const R={location:new N(pe,k).href};if(!v||!("location"in v)||v.location!==R.location||v.validUntil{Te.push(k)}));Be.on("end",(()=>{if(!P.complete){qe.log(`GET ${k} [${P.statusCode}] (terminated)`);return E(new Error(`${k} request was terminated`))}const v=Buffer.concat(Te);if(P.statusCode!==200){qe.log(`GET ${k} [${P.statusCode}]`);return E(new Error(`${k} request status code = ${P.statusCode}\n${v.toString("utf-8")}`))}const R=computeIntegrity(v);const L={resolved:k,integrity:R,contentType:Me};finishWith({entry:L,content:v})}))})).on("error",(v=>{qe.log(`GET ${k} (error)`);v.message+=`\nwhile fetching ${k}`;E(v)}))};const E=cachedWithKey(((k,v)=>{Ne.get(k,null,((E,P)=>{if(E)return v(E);if(P){const k=P.validUntil>=Date.now();if(k)return v(null,P)}fetchContentRaw(k,P,v)}))}),((k,v)=>fetchContentRaw(k,undefined,v)));const isAllowed=k=>{for(const v of Ke){if(typeof v==="string"){if(k.startsWith(v))return true}else if(typeof v==="function"){if(v(k))return true}else{if(v.test(k))return true}}return false};const R=cachedWithKey(((k,v)=>{if(!isAllowed(k)){return v(new Error(`${k} doesn't match the allowedUris policy. These URIs are allowed:\n${Ke.map((k=>` - ${k}`)).join("\n")}`))}Ze(((E,P)=>{if(E)return v(E);const R=P.entries.get(k);if(!R){if(We){return v(new Error(`${k} has no lockfile entry and lockfile is frozen`))}resolveContent(k,null,((E,R)=>{if(E)return v(E);storeResult(P,k,R,v)}));return}if(typeof R==="string"){const E=R;resolveContent(k,null,((R,L)=>{if(R)return v(R);if(!L.storeLock||E==="ignore")return v(null,L);if(We){return v(new Error(`${k} used to have ${E} lockfile entry and has content now, but lockfile is frozen`))}if(!He){return v(new Error(`${k} used to have ${E} lockfile entry and has content now.\nThis should be reflected in the lockfile, so this lockfile entry must be upgraded, but upgrading is not enabled.\nRemove this line from the lockfile to force upgrading.`))}storeResult(P,k,L,v)}));return}let L=R;const doFetch=E=>{resolveContent(k,L.integrity,((R,N)=>{if(R){if(E){qe.warn(`Upgrade request to ${k} failed: ${R.message}`);qe.debug(R.stack);return v(null,{entry:L,content:E})}return v(R)}if(!N.storeLock){if(We){return v(new Error(`${k} has a lockfile entry and is no-cache now, but lockfile is frozen\nLockfile: ${entryToString(L)}`))}storeResult(P,k,N,v);return}if(!areLockfileEntriesEqual(N.entry,L)){if(We){return v(new Error(`${k} has an outdated lockfile entry, but lockfile is frozen\nLockfile: ${entryToString(L)}\nExpected: ${entryToString(N.entry)}`))}storeResult(P,k,N,v);return}if(!E&&Ge){if(We){return v(new Error(`${k} is missing content in the lockfile cache, but lockfile is frozen\nLockfile: ${entryToString(L)}`))}storeResult(P,k,N,v);return}return v(null,N)}))};if(Ge){const E=getCacheKey(L.resolved);const R=Me(Te,Ge,E);je.readFile(R,((E,N)=>{const q=N;if(E){if(E.code==="ENOENT")return doFetch();return v(E)}const continueWithCachedContent=k=>{if(!He){return v(null,{entry:L,content:q})}return doFetch(q)};if(!verifyIntegrity(q,L.integrity)){let E;let N=false;try{E=Buffer.from(q.toString("utf-8").replace(/\r\n/g,"\n"));N=verifyIntegrity(E,L.integrity)}catch(k){}if(N){if(!Ye){const k=`Incorrect end of line sequence was detected in the lockfile cache.\nThe lockfile cache is protected by integrity checks, so any external modification will lead to a corrupted lockfile cache.\nWhen using git make sure to configure .gitattributes correctly for the lockfile cache:\n **/*webpack.lock.data/** -text\nThis will avoid that the end of line sequence is changed by git on Windows.`;if(We){qe.error(k)}else{qe.warn(k);qe.info("Lockfile cache will be automatically fixed now, but when lockfile is frozen this would result in an error.")}Ye=true}if(!We){qe.log(`${R} fixed end of line sequence (\\r\\n instead of \\n).`);Te.writeFile(R,E,(k=>{if(k)return v(k);continueWithCachedContent(E)}));return}}if(We){return v(new Error(`${L.resolved} integrity mismatch, expected content with integrity ${L.integrity} but got ${computeIntegrity(q)}.\nLockfile corrupted (${N?"end of line sequence was unexpectedly changed":"incorrectly merged? changed by other tools?"}).\nRun build with un-frozen lockfile to automatically fix lockfile.`))}else{L={...L,integrity:computeIntegrity(q)};storeLockEntry(P,k,L)}}continueWithCachedContent(N)}))}else{doFetch()}}))}));const respondWithUrlModule=(k,v,E)=>{R(k.href,((P,R)=>{if(P)return E(P);v.resource=k.href;v.path=k.origin+k.pathname;v.query=k.search;v.fragment=k.hash;v.context=new N(".",R.entry.resolved).href.slice(0,-1);v.data.mimetype=R.entry.contentType;E(null,true)}))};me.hooks.resolveForScheme.for(k).tapAsync("HttpUriPlugin",((k,v,E)=>{respondWithUrlModule(new N(k.resource),k,E)}));me.hooks.resolveInScheme.for(k).tapAsync("HttpUriPlugin",((k,v,E)=>{if(v.dependencyType!=="url"&&!/^\.{0,2}\//.test(k.resource)){return E()}respondWithUrlModule(new N(k.resource,v.context+"/"),k,E)}));const L=pe.getCompilationHooks(v);L.readResourceForScheme.for(k).tapAsync("HttpUriPlugin",((k,v,E)=>R(k,((k,P)=>{if(k)return E(k);v.buildInfo.resourceIntegrity=P.entry.integrity;E(null,P.content)}))));L.needBuild.tapAsync("HttpUriPlugin",((v,E,P)=>{if(v.resource&&v.resource.startsWith(`${k}://`)){R(v.resource,((k,E)=>{if(k)return P(k);if(E.entry.integrity!==v.buildInfo.resourceIntegrity){return P(null,true)}P()}))}else{return P()}}))}v.hooks.finishModules.tapAsync("HttpUriPlugin",((k,v)=>{if(!et)return v();const E=R(Ue);const P=Me(Te,Ie(Te,Ue),`.${L(Ue,E)}.${Math.random()*1e4|0}${E}`);const writeDone=()=>{const k=Be.shift();if(k){k()}else{Be=undefined}};const runWrite=()=>{Te.readFile(Ue,((k,E)=>{if(k&&k.code!=="ENOENT"){writeDone();return v(k)}const R=E?Lockfile.parse(E.toString("utf-8")):new Lockfile;for(const[k,v]of et){R.entries.set(k,v)}Te.writeFile(P,R.toString(),(k=>{if(k){writeDone();return Te.unlink(P,(()=>v(k)))}Te.rename(P,Ue,(k=>{if(k){writeDone();return Te.unlink(P,(()=>v(k)))}writeDone();v()}))}))}))};if(Be){Be.push(runWrite)}else{Be=[];runWrite()}}))}))}}k.exports=HttpUriPlugin},73184:function(k){"use strict";class ArraySerializer{serialize(k,v){v.write(k.length);for(const E of k)v.write(E)}deserialize(k){const v=k.read();const E=[];for(let P=0;P{if(k===(k|0)){if(k<=127&&k>=-128)return 0;if(k<=2147483647&&k>=-2147483648)return 1}return 2};const identifyBigInt=k=>{if(k<=BigInt(127)&&k>=BigInt(-128))return 0;if(k<=BigInt(2147483647)&&k>=BigInt(-2147483648))return 1;return 2};class BinaryMiddleware extends R{serialize(k,v){return this._serialize(k,v)}_serializeLazy(k,v){return R.serializeLazy(k,(k=>this._serialize(k,v)))}_serialize(k,v,E={allocationSize:1024,increaseCounter:0,leftOverBuffer:null}){let P=null;let Ve=[];let Ke=E?E.leftOverBuffer:null;E.leftOverBuffer=null;let Ye=0;if(Ke===null){Ke=Buffer.allocUnsafe(E.allocationSize)}const allocate=k=>{if(Ke!==null){if(Ke.length-Ye>=k)return;flush()}if(P&&P.length>=k){Ke=P;P=null}else{Ke=Buffer.allocUnsafe(Math.max(k,E.allocationSize));if(!(E.increaseCounter=(E.increaseCounter+1)%4)&&E.allocationSize<16777216){E.allocationSize=E.allocationSize<<1}}};const flush=()=>{if(Ke!==null){if(Ye>0){Ve.push(Buffer.from(Ke.buffer,Ke.byteOffset,Ye))}if(!P||P.length{Ke.writeUInt8(k,Ye++)};const writeU32=k=>{Ke.writeUInt32LE(k,Ye);Ye+=4};const rt=[];const measureStart=()=>{rt.push(Ve.length,Ye)};const measureEnd=()=>{const k=rt.pop();const v=rt.pop();let E=Ye-k;for(let k=v;k0&&(k=N[N.length-1])!==0){const E=4294967295-k;if(E>=v.length){N[N.length-1]+=v.length}else{N.push(v.length-E);N[N.length-2]=4294967295}}else{N.push(v.length)}}allocate(5+N.length*4);writeU8(L);writeU32(N.length);for(const k of N){writeU32(k)}flush();for(const v of k){Ve.push(v)}break}case"string":{const k=Buffer.byteLength(ot);if(k>=128||k!==ot.length){allocate(k+Xe+et);writeU8(Ue);writeU32(k);Ke.write(ot,Ye);Ye+=k}else if(k>=70){allocate(k+Xe);writeU8(Je|k);Ke.write(ot,Ye,"latin1");Ye+=k}else{allocate(k+Xe);writeU8(Je|k);for(let v=0;v=0&&ot<=BigInt(10)){allocate(Xe+Ze);writeU8(Be);writeU8(Number(ot));break}switch(v){case 0:{let v=1;allocate(Xe+Ze*v);writeU8(Be|v-1);while(v>0){Ke.writeInt8(Number(k[rt]),Ye);Ye+=Ze;v--;rt++}rt--;break}case 1:{let v=1;allocate(Xe+et*v);writeU8(qe|v-1);while(v>0){Ke.writeInt32LE(Number(k[rt]),Ye);Ye+=et;v--;rt++}rt--;break}default:{const k=ot.toString();const v=Buffer.byteLength(k);allocate(v+Xe+et);writeU8(Ne);writeU32(v);Ke.write(k,Ye);Ye+=v;break}}break}case"number":{const v=identifyNumber(ot);if(v===0&&ot>=0&&ot<=10){allocate(Ze);writeU8(ot);break}let E=1;for(;E<32&&rt+E0){Ke.writeInt8(k[rt],Ye);Ye+=Ze;E--;rt++}break;case 1:allocate(Xe+et*E);writeU8(We|E-1);while(E>0){Ke.writeInt32LE(k[rt],Ye);Ye+=et;E--;rt++}break;case 2:allocate(Xe+tt*E);writeU8(Qe|E-1);while(E>0){Ke.writeDoubleLE(k[rt],Ye);Ye+=tt;E--;rt++}break}rt--;break}case"boolean":{let v=ot===true?1:0;const E=[];let P=1;let R;for(R=1;R<4294967295&&rt+Rthis._deserialize(k,v))),this,undefined,k)}_deserializeLazy(k,v){return R.deserializeLazy(k,(k=>this._deserialize(k,v)))}_deserialize(k,v){let E=0;let P=k[0];let R=Buffer.isBuffer(P);let Xe=0;const nt=v.retainedBuffer||(k=>k);const checkOverflow=()=>{if(Xe>=P.length){Xe=0;E++;P=ER&&k+Xe<=P.length;const ensureBuffer=()=>{if(!R){throw new Error(P===null?"Unexpected end of stream":"Unexpected lazy element in stream")}};const read=v=>{ensureBuffer();const L=P.length-Xe;if(L{ensureBuffer();const v=P.length-Xe;if(v{ensureBuffer();const k=P.readUInt8(Xe);Xe+=Ze;checkOverflow();return k};const readU32=()=>read(et).readUInt32LE(0);const readBits=(k,v)=>{let E=1;while(v!==0){rt.push((k&E)!==0);E=E<<1;v--}};const st=Array.from({length:256}).map(((st,ot)=>{switch(ot){case L:return()=>{const L=readU32();const N=Array.from({length:L}).map((()=>readU32()));const q=[];for(let v of N){if(v===0){if(typeof P!=="function"){throw new Error("Unexpected non-lazy element in stream")}q.push(P);E++;P=E0)}}rt.push(this._createLazyDeserialized(q,v))};case Ge:return()=>{const k=readU32();rt.push(nt(read(k)))};case N:return()=>rt.push(true);case q:return()=>rt.push(false);case me:return()=>rt.push(null,null,null);case pe:return()=>rt.push(null,null);case le:return()=>rt.push(null);case Te:return()=>rt.push(null,true);case je:return()=>rt.push(null,false);case Ie:return()=>{if(R){rt.push(null,P.readInt8(Xe));Xe+=Ze;checkOverflow()}else{rt.push(null,read(Ze).readInt8(0))}};case Me:return()=>{rt.push(null);if(isInCurrentBuffer(et)){rt.push(P.readInt32LE(Xe));Xe+=et;checkOverflow()}else{rt.push(read(et).readInt32LE(0))}};case ye:return()=>{const k=readU8()+4;for(let v=0;v{const k=readU32()+260;for(let v=0;v{const k=readU8();if((k&240)===0){readBits(k,3)}else if((k&224)===0){readBits(k,4)}else if((k&192)===0){readBits(k,5)}else if((k&128)===0){readBits(k,6)}else if(k!==255){let v=(k&127)+7;while(v>8){readBits(readU8(),8);v-=8}readBits(readU8(),v)}else{let k=readU32();while(k>8){readBits(readU8(),8);k-=8}readBits(readU8(),k)}};case Ue:return()=>{const k=readU32();if(isInCurrentBuffer(k)&&Xe+k<2147483647){rt.push(P.toString(undefined,Xe,Xe+k));Xe+=k;checkOverflow()}else{rt.push(read(k).toString())}};case Je:return()=>rt.push("");case Je|1:return()=>{if(R&&Xe<2147483646){rt.push(P.toString("latin1",Xe,Xe+1));Xe++;checkOverflow()}else{rt.push(read(1).toString("latin1"))}};case He:return()=>{if(R){rt.push(P.readInt8(Xe));Xe++;checkOverflow()}else{rt.push(read(1).readInt8(0))}};case Be:{const k=1;return()=>{const v=Ze*k;if(isInCurrentBuffer(v)){for(let v=0;v{const v=et*k;if(isInCurrentBuffer(v)){for(let v=0;v{const k=readU32();if(isInCurrentBuffer(k)&&Xe+k<2147483647){const v=P.toString(undefined,Xe,Xe+k);rt.push(BigInt(v));Xe+=k;checkOverflow()}else{const v=read(k).toString();rt.push(BigInt(v))}}}default:if(ot<=10){return()=>rt.push(ot)}else if((ot&Je)===Je){const k=ot&Ye;return()=>{if(isInCurrentBuffer(k)&&Xe+k<2147483647){rt.push(P.toString("latin1",Xe,Xe+k));Xe+=k;checkOverflow()}else{rt.push(read(k).toString("latin1"))}}}else if((ot&Ve)===Qe){const k=(ot&Ke)+1;return()=>{const v=tt*k;if(isInCurrentBuffer(v)){for(let v=0;v{const v=et*k;if(isInCurrentBuffer(v)){for(let v=0;v{const v=Ze*k;if(isInCurrentBuffer(v)){for(let v=0;v{throw new Error(`Unexpected header byte 0x${ot.toString(16)}`)}}}}));let rt=[];while(P!==null){if(typeof P==="function"){rt.push(this._deserializeLazy(P,v));E++;P=E{const E=pe(v);for(const v of k)E.update(v);return E.digest("hex")};const Be=100*1024*1024;const qe=100*1024*1024;const Ue=Buffer.prototype.writeBigUInt64LE?(k,v,E)=>{k.writeBigUInt64LE(BigInt(v),E)}:(k,v,E)=>{const P=v%4294967296;const R=(v-P)/4294967296;k.writeUInt32LE(P,E);k.writeUInt32LE(R,E+4)};const Ge=Buffer.prototype.readBigUInt64LE?(k,v)=>Number(k.readBigUInt64LE(v)):(k,v)=>{const E=k.readUInt32LE(v);const P=k.readUInt32LE(v+4);return P*4294967296+E};const serialize=async(k,v,E,P,R="md4")=>{const L=[];const N=new WeakMap;let q=undefined;for(const E of await v){if(typeof E==="function"){if(!Me.isLazy(E))throw new Error("Unexpected function");if(!Me.isLazy(E,k)){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}q=undefined;const v=Me.getLazySerializedValue(E);if(v){if(typeof v==="function"){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}else{L.push(v)}}else{const v=E();if(v){const q=Me.getLazyOptions(E);L.push(serialize(k,v,q&&q.name||true,P,R).then((k=>{E.options.size=k.size;N.set(k,E);return k})))}else{throw new Error("Unexpected falsy value returned by lazy value function")}}}else if(E){if(q){q.push(E)}else{q=[E];L.push(q)}}else{throw new Error("Unexpected falsy value in items array")}}const ae=[];const le=(await Promise.all(L)).map((k=>{if(Array.isArray(k)||Buffer.isBuffer(k))return k;ae.push(k.backgroundJob);const v=k.name;const E=Buffer.from(v);const P=Buffer.allocUnsafe(8+E.length);Ue(P,k.size,0);E.copy(P,8,0);const R=N.get(k);Me.setLazySerializedValue(R,P);return P}));const pe=[];for(const k of le){if(Array.isArray(k)){let v=0;for(const E of k)v+=E.length;while(v>2147483647){pe.push(2147483647);v-=2147483647}pe.push(v)}else if(k){pe.push(-k.length)}else{throw new Error("Unexpected falsy value in resolved data "+k)}}const me=Buffer.allocUnsafe(8+pe.length*4);me.writeUInt32LE(Te,0);me.writeUInt32LE(pe.length,4);for(let k=0;k{const P=await E(v);if(P.length===0)throw new Error("Empty file "+v);let R=0;let L=P[0];let N=L.length;let q=0;if(N===0)throw new Error("Empty file "+v);const nextContent=()=>{R++;L=P[R];N=L.length;q=0};const ensureData=k=>{if(q===N){nextContent()}while(N-qE){ae.push(P[k].slice(0,E));P[k]=P[k].slice(E);E=0;break}else{ae.push(P[k]);R=k;E-=v}}if(E>0)throw new Error("Unexpected end of data");L=Buffer.concat(ae,k);N=k;q=0}};const readUInt32LE=()=>{ensureData(4);const k=L.readUInt32LE(q);q+=4;return k};const readInt32LE=()=>{ensureData(4);const k=L.readInt32LE(q);q+=4;return k};const readSlice=k=>{ensureData(k);if(q===0&&N===k){const v=L;if(R+1=0;if(me&&v){pe[pe.length-1]+=k}else{pe.push(k);me=v}}const ye=[];for(let v of pe){if(v<0){const P=readSlice(-v);const R=Number(Ge(P,0));const L=P.slice(8);const N=L.toString();ye.push(Me.createLazy(Ie((()=>deserialize(k,N,E))),k,{name:N,size:R},P))}else{if(q===N){nextContent()}else if(q!==0){if(v<=N-q){ye.push(Buffer.from(L.buffer,L.byteOffset+q,v));q+=v;v=0}else{const k=N-q;ye.push(Buffer.from(L.buffer,L.byteOffset+q,k));v-=k;q=N}}else{if(v>=N){ye.push(L);v-=N;q=N}else{ye.push(Buffer.from(L.buffer,L.byteOffset,v));q+=v;v=0}}while(v>0){nextContent();if(v>=N){ye.push(L);v-=N;q=N}else{ye.push(Buffer.from(L.buffer,L.byteOffset,v));q+=v;v=0}}}}return ye};class FileMiddleware extends Me{constructor(k,v="md4"){super();this.fs=k;this._hashFunction=v}serialize(k,v){const{filename:E,extension:P=""}=v;return new Promise(((v,N)=>{_e(this.fs,me(this.fs,E),(ae=>{if(ae)return N(ae);const pe=new Set;const writeFile=async(k,v,N)=>{const ae=k?ye(this.fs,E,`../${k}${P}`):E;await new Promise(((k,E)=>{let P=this.fs.createWriteStream(ae+"_");let pe;if(ae.endsWith(".gz")){pe=q({chunkSize:Be,level:le.Z_BEST_SPEED})}else if(ae.endsWith(".br")){pe=L({chunkSize:Be,params:{[le.BROTLI_PARAM_MODE]:le.BROTLI_MODE_TEXT,[le.BROTLI_PARAM_QUALITY]:2,[le.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]:true,[le.BROTLI_PARAM_SIZE_HINT]:N}})}if(pe){R(pe,P,E);P=pe;P.on("finish",(()=>k()))}else{P.on("error",(k=>E(k)));P.on("finish",(()=>k()))}const me=[];for(const k of v){if(k.length{if(k)return;if(_e===ye){P.end();return}let v=_e;let E=me[v++].length;while(vje)break;v++}while(_e{await k;await new Promise((k=>this.fs.rename(E,E+".old",(v=>{k()}))));await Promise.all(Array.from(pe,(k=>new Promise(((v,E)=>{this.fs.rename(k+"_",k,(k=>{if(k)return E(k);v()}))})))));await new Promise((k=>{this.fs.rename(E+"_",E,(v=>{if(v)return N(v);k()}))}));return true})))}))}))}deserialize(k,v){const{filename:E,extension:R=""}=v;const readFile=k=>new Promise(((v,L)=>{const q=k?ye(this.fs,E,`../${k}${R}`):E;this.fs.stat(q,((k,E)=>{if(k){L(k);return}let R=E.size;let le;let pe;const me=[];let ye;if(q.endsWith(".gz")){ye=ae({chunkSize:qe})}else if(q.endsWith(".br")){ye=N({chunkSize:qe})}if(ye){let k,E;v(Promise.all([new Promise(((v,P)=>{k=v;E=P})),new Promise(((k,v)=>{ye.on("data",(k=>me.push(k)));ye.on("end",(()=>k()));ye.on("error",(k=>v(k)))}))]).then((()=>me)));v=k;L=E}this.fs.open(q,"r",((k,E)=>{if(k){L(k);return}const read=()=>{if(le===undefined){le=Buffer.allocUnsafeSlow(Math.min(P.MAX_LENGTH,R,ye?qe:Infinity));pe=0}let k=le;let N=pe;let q=le.length-pe;if(N>2147483647){k=le.slice(N);N=0}if(q>2147483647){q=2147483647}this.fs.read(E,k,N,q,null,((k,P)=>{if(k){this.fs.close(E,(()=>{L(k)}));return}pe+=P;R-=P;if(pe===le.length){if(ye){ye.write(le)}else{me.push(le)}le=undefined;if(R===0){if(ye){ye.end()}this.fs.close(E,(k=>{if(k){L(k);return}v(me)}));return}}read()}))};read()}))}))}));return deserialize(this,false,readFile)}}k.exports=FileMiddleware},61681:function(k){"use strict";class MapObjectSerializer{serialize(k,v){v.write(k.size);for(const E of k.keys()){v.write(E)}for(const E of k.values()){v.write(E)}}deserialize(k){let v=k.read();const E=new Map;const P=[];for(let E=0;E{let E=0;for(const P of k){if(E++>=v){k.delete(P)}}};const setMapSize=(k,v)=>{let E=0;for(const P of k.keys()){if(E++>=v){k.delete(P)}}};const toHash=(k,v)=>{const E=P(v);E.update(k);return E.digest("latin1")};const _e=null;const Ie=null;const Me=true;const Te=false;const je=2;const Ne=new Map;const Be=new Map;const qe=new Set;const Ue={};const Ge=new Map;Ge.set(Object,new le);Ge.set(Array,new R);Ge.set(null,new ae);Ge.set(Map,new q);Ge.set(Set,new ye);Ge.set(Date,new L);Ge.set(RegExp,new pe);Ge.set(Error,new N(Error));Ge.set(EvalError,new N(EvalError));Ge.set(RangeError,new N(RangeError));Ge.set(ReferenceError,new N(ReferenceError));Ge.set(SyntaxError,new N(SyntaxError));Ge.set(TypeError,new N(TypeError));if(v.constructor!==Object){const k=v.constructor;const E=k.constructor;for(const[k,v]of Array.from(Ge)){if(k){const P=new E(`return ${k.name};`)();Ge.set(P,v)}}}{let k=1;for(const[v,E]of Ge){Ne.set(v,{request:"",name:k++,serializer:E})}}for(const{request:k,name:v,serializer:E}of Ne.values()){Be.set(`${k}/${v}`,E)}const He=new Map;class ObjectMiddleware extends me{constructor(k,v="md4"){super();this.extendContext=k;this._hashFunction=v}static registerLoader(k,v){He.set(k,v)}static register(k,v,E,P){const R=v+"/"+E;if(Ne.has(k)){throw new Error(`ObjectMiddleware.register: serializer for ${k.name} is already registered`)}if(Be.has(R)){throw new Error(`ObjectMiddleware.register: serializer for ${R} is already registered`)}Ne.set(k,{request:v,name:E,serializer:P});Be.set(R,P)}static registerNotSerializable(k){if(Ne.has(k)){throw new Error(`ObjectMiddleware.registerNotSerializable: serializer for ${k.name} is already registered`)}Ne.set(k,Ue)}static getSerializerFor(k){const v=Object.getPrototypeOf(k);let E;if(v===null){E=null}else{E=v.constructor;if(!E){throw new Error("Serialization of objects with prototype without valid constructor property not possible")}}const P=Ne.get(E);if(!P)throw new Error(`No serializer registered for ${E.name}`);if(P===Ue)throw Ue;return P}static getDeserializerFor(k,v){const E=k+"/"+v;const P=Be.get(E);if(P===undefined){throw new Error(`No deserializer registered for ${E}`)}return P}static _getDeserializerForWithoutError(k,v){const E=k+"/"+v;const P=Be.get(E);return P}serialize(k,v){let E=[je];let P=0;let R=new Map;const addReferenceable=k=>{R.set(k,P++)};let L=new Map;const dedupeBuffer=k=>{const v=k.length;const E=L.get(v);if(E===undefined){L.set(v,k);return k}if(Buffer.isBuffer(E)){if(v<32){if(k.equals(E)){return E}L.set(v,[E,k]);return k}else{const P=toHash(E,this._hashFunction);const R=new Map;R.set(P,E);L.set(v,R);const N=toHash(k,this._hashFunction);if(P===N){return E}return k}}else if(Array.isArray(E)){if(E.length<16){for(const v of E){if(k.equals(v)){return v}}E.push(k);return k}else{const P=new Map;const R=toHash(k,this._hashFunction);let N;for(const k of E){const v=toHash(k,this._hashFunction);P.set(v,k);if(N===undefined&&v===R)N=k}L.set(v,P);if(N===undefined){P.set(R,k);return k}else{return N}}}else{const v=toHash(k,this._hashFunction);const P=E.get(v);if(P!==undefined){return P}E.set(v,k);return k}};let N=0;let q=new Map;const ae=new Set;const stackToString=k=>{const v=Array.from(ae);v.push(k);return v.map((k=>{if(typeof k==="string"){if(k.length>100){return`String ${JSON.stringify(k.slice(0,100)).slice(0,-1)}..."`}return`String ${JSON.stringify(k)}`}try{const{request:v,name:E}=ObjectMiddleware.getSerializerFor(k);if(v){return`${v}${E?`.${E}`:""}`}}catch(k){}if(typeof k==="object"&&k!==null){if(k.constructor){if(k.constructor===Object)return`Object { ${Object.keys(k).join(", ")} }`;if(k.constructor===Map)return`Map { ${k.size} items }`;if(k.constructor===Array)return`Array { ${k.length} items }`;if(k.constructor===Set)return`Set { ${k.size} items }`;if(k.constructor===RegExp)return k.toString();return`${k.constructor.name}`}return`Object [null prototype] { ${Object.keys(k).join(", ")} }`}if(typeof k==="bigint"){return`BigInt ${k}n`}try{return`${k}`}catch(k){return`(${k.message})`}})).join(" -> ")};let le;let pe={write(k,v){try{process(k)}catch(v){if(v!==Ue){if(le===undefined)le=new WeakSet;if(!le.has(v)){v.message+=`\nwhile serializing ${stackToString(k)}`;le.add(v)}}throw v}},setCircularReference(k){addReferenceable(k)},snapshot(){return{length:E.length,cycleStackSize:ae.size,referenceableSize:R.size,currentPos:P,objectTypeLookupSize:q.size,currentPosTypeLookup:N}},rollback(k){E.length=k.length;setSetSize(ae,k.cycleStackSize);setMapSize(R,k.referenceableSize);P=k.currentPos;setMapSize(q,k.objectTypeLookupSize);N=k.currentPosTypeLookup},...v};this.extendContext(pe);const process=k=>{if(Buffer.isBuffer(k)){const v=R.get(k);if(v!==undefined){E.push(_e,v-P);return}const L=dedupeBuffer(k);if(L!==k){const v=R.get(L);if(v!==undefined){R.set(k,v);E.push(_e,v-P);return}k=L}addReferenceable(k);E.push(k)}else if(k===_e){E.push(_e,Ie)}else if(typeof k==="object"){const v=R.get(k);if(v!==undefined){E.push(_e,v-P);return}if(ae.has(k)){throw new Error(`This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.`)}const{request:L,name:le,serializer:me}=ObjectMiddleware.getSerializerFor(k);const ye=`${L}/${le}`;const Ie=q.get(ye);if(Ie===undefined){q.set(ye,N++);E.push(_e,L,le)}else{E.push(_e,N-Ie)}ae.add(k);try{me.serialize(k,pe)}finally{ae.delete(k)}E.push(_e,Me);addReferenceable(k)}else if(typeof k==="string"){if(k.length>1){const v=R.get(k);if(v!==undefined){E.push(_e,v-P);return}addReferenceable(k)}if(k.length>102400&&v.logger){v.logger.warn(`Serializing big strings (${Math.round(k.length/1024)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`)}E.push(k)}else if(typeof k==="function"){if(!me.isLazy(k))throw new Error("Unexpected function "+k);const P=me.getLazySerializedValue(k);if(P!==undefined){if(typeof P==="function"){E.push(P)}else{throw new Error("Not implemented")}}else if(me.isLazy(k,this)){throw new Error("Not implemented")}else{const P=me.serializeLazy(k,(k=>this.serialize([k],v)));me.setLazySerializedValue(k,P);E.push(P)}}else if(k===undefined){E.push(_e,Te)}else{E.push(k)}};try{for(const v of k){process(v)}return E}catch(k){if(k===Ue)return null;throw k}finally{k=E=R=L=q=pe=undefined}}deserialize(k,v){let E=0;const read=()=>{if(E>=k.length)throw new Error("Unexpected end of stream");return k[E++]};if(read()!==je)throw new Error("Version mismatch, serializer changed");let P=0;let R=[];const addReferenceable=k=>{R.push(k);P++};let L=0;let N=[];let q=[];let ae={read(){return decodeValue()},setCircularReference(k){addReferenceable(k)},...v};this.extendContext(ae);const decodeValue=()=>{const k=read();if(k===_e){const k=read();if(k===Ie){return _e}else if(k===Te){return undefined}else if(k===Me){throw new Error(`Unexpected end of object at position ${E-1}`)}else{const v=k;let q;if(typeof v==="number"){if(v<0){return R[P+v]}q=N[L-v]}else{if(typeof v!=="string"){throw new Error(`Unexpected type (${typeof v}) of request `+`at position ${E-1}`)}const k=read();q=ObjectMiddleware._getDeserializerForWithoutError(v,k);if(q===undefined){if(v&&!qe.has(v)){let k=false;for(const[E,P]of He){if(E.test(v)){if(P(v)){k=true;break}}}if(!k){require(v)}qe.add(v)}q=ObjectMiddleware.getDeserializerFor(v,k)}N.push(q);L++}try{const k=q.deserialize(ae);const v=read();if(v!==_e){throw new Error("Expected end of object")}const E=read();if(E!==Me){throw new Error("Expected end of object")}addReferenceable(k);return k}catch(k){let v;for(const k of Ne){if(k[1].serializer===q){v=k;break}}const E=!v?"unknown":!v[1].request?v[0].name:v[1].name?`${v[1].request} ${v[1].name}`:v[1].request;k.message+=`\n(during deserialization of ${E})`;throw k}}}else if(typeof k==="string"){if(k.length>1){addReferenceable(k)}return k}else if(Buffer.isBuffer(k)){addReferenceable(k);return k}else if(typeof k==="function"){return me.deserializeLazy(k,(k=>this.deserialize(k,v)[0]))}else{return k}};try{while(E{let P=v.get(E);if(P===undefined){P=new ObjectStructure;v.set(E,P)}let R=P;for(const v of k){R=R.key(v)}return R.getKeys(k)};class PlainObjectSerializer{serialize(k,v){const E=Object.keys(k);if(E.length>128){v.write(E);for(const P of E){v.write(k[P])}}else if(E.length>1){v.write(getCachedKeys(E,v.write));for(const P of E){v.write(k[P])}}else if(E.length===1){const P=E[0];v.write(P);v.write(k[P])}else{v.write(null)}}deserialize(k){const v=k.read();const E={};if(Array.isArray(v)){for(const P of v){E[P]=k.read()}}else if(v!==null){E[v]=k.read()}return E}}k.exports=PlainObjectSerializer},50986:function(k){"use strict";class RegExpObjectSerializer{serialize(k,v){v.write(k.source);v.write(k.flags)}deserialize(k){return new RegExp(k.read(),k.read())}}k.exports=RegExpObjectSerializer},90827:function(k){"use strict";class Serializer{constructor(k,v){this.serializeMiddlewares=k.slice();this.deserializeMiddlewares=k.slice().reverse();this.context=v}serialize(k,v){const E={...v,...this.context};let P=k;for(const k of this.serializeMiddlewares){if(P&&typeof P.then==="function"){P=P.then((v=>v&&k.serialize(v,E)))}else if(P){try{P=k.serialize(P,E)}catch(k){P=Promise.reject(k)}}else break}return P}deserialize(k,v){const E={...v,...this.context};let P=k;for(const k of this.deserializeMiddlewares){if(P&&typeof P.then==="function"){P=P.then((v=>k.deserialize(v,E)))}else{P=k.deserialize(P,E)}}return P}}k.exports=Serializer},5505:function(k,v,E){"use strict";const P=E(20631);const R=Symbol("lazy serialization target");const L=Symbol("lazy serialization data");class SerializerMiddleware{serialize(k,v){const P=E(60386);throw new P}deserialize(k,v){const P=E(60386);throw new P}static createLazy(k,v,E={},P){if(SerializerMiddleware.isLazy(k,v))return k;const N=typeof k==="function"?k:()=>k;N[R]=v;N.options=E;N[L]=P;return N}static isLazy(k,v){if(typeof k!=="function")return false;const E=k[R];return v?E===v:!!E}static getLazyOptions(k){if(typeof k!=="function")return undefined;return k.options}static getLazySerializedValue(k){if(typeof k!=="function")return undefined;return k[L]}static setLazySerializedValue(k,v){k[L]=v}static serializeLazy(k,v){const E=P((()=>{const E=k();if(E&&typeof E.then==="function"){return E.then((k=>k&&v(k)))}return v(E)}));E[R]=k[R];E.options=k.options;k[L]=E;return E}static deserializeLazy(k,v){const E=P((()=>{const E=k();if(E&&typeof E.then==="function"){return E.then((k=>v(k)))}return v(E)}));E[R]=k[R];E.options=k.options;E[L]=k;return E}static unMemoizeLazy(k){if(!SerializerMiddleware.isLazy(k))return k;const fn=()=>{throw new Error("A lazy value that has been unmemorized can't be called again")};fn[L]=SerializerMiddleware.unMemoizeLazy(k[L]);fn[R]=k[R];fn.options=k.options;return fn}}k.exports=SerializerMiddleware},73618:function(k){"use strict";class SetObjectSerializer{serialize(k,v){v.write(k.size);for(const E of k){v.write(E)}}deserialize(k){let v=k.read();const E=new Set;for(let P=0;PE(61334)),{name:"Consume Shared Plugin",baseDataPath:"options"});const Be={dependencyType:"esm"};const qe="ConsumeSharedPlugin";class ConsumeSharedPlugin{constructor(k){if(typeof k!=="string"){Ne(k)}this._consumes=N(k.consumes,((v,E)=>{if(Array.isArray(v))throw new Error("Unexpected array in options");let P=v===E||!Me(v)?{import:E,shareScope:k.shareScope||"default",shareKey:E,requiredVersion:undefined,packageName:undefined,strictVersion:false,singleton:false,eager:false}:{import:E,shareScope:k.shareScope||"default",shareKey:E,requiredVersion:le(v),strictVersion:true,packageName:undefined,singleton:false,eager:false};return P}),((v,E)=>({import:v.import===false?undefined:v.import||E,shareScope:v.shareScope||k.shareScope||"default",shareKey:v.shareKey||E,requiredVersion:typeof v.requiredVersion==="string"?le(v.requiredVersion):v.requiredVersion,strictVersion:typeof v.strictVersion==="boolean"?v.strictVersion:v.import!==false&&!v.singleton,packageName:v.packageName,singleton:!!v.singleton,eager:!!v.eager})))}apply(k){k.hooks.thisCompilation.tap(qe,((v,{normalModuleFactory:E})=>{v.dependencyFactories.set(pe,E);let N,ae,Me;const Ne=Ie(v,this._consumes).then((({resolved:k,unresolved:v,prefixed:E})=>{ae=k;N=v;Me=E}));const Ue=v.resolverFactory.get("normal",Be);const createConsumeSharedModule=(E,R,N)=>{const requiredVersionWarning=k=>{const E=new L(`No required version specified and unable to automatically determine one. ${k}`);E.file=`shared module ${R}`;v.warnings.push(E)};const ae=N.import&&/^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(N.import);return Promise.all([new Promise((L=>{if(!N.import)return L();const le={fileDependencies:new q,contextDependencies:new q,missingDependencies:new q};Ue.resolve({},ae?k.context:E,N.import,le,((k,E)=>{v.contextDependencies.addAll(le.contextDependencies);v.fileDependencies.addAll(le.fileDependencies);v.missingDependencies.addAll(le.missingDependencies);if(k){v.errors.push(new P(null,k,{name:`resolving fallback for shared module ${R}`}));return L()}L(E)}))})),new Promise((k=>{if(N.requiredVersion!==undefined)return k(N.requiredVersion);let P=N.packageName;if(P===undefined){if(/^(\/|[A-Za-z]:|\\\\)/.test(R)){return k()}const v=/^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec(R);if(!v){requiredVersionWarning("Unable to extract the package name from request.");return k()}P=v[0]}Te(v.inputFileSystem,E,["package.json"],((v,R)=>{if(v){requiredVersionWarning(`Unable to read description file: ${v}`);return k()}const{data:L,path:N}=R;if(!L){requiredVersionWarning(`Unable to find description file in ${E}.`);return k()}if(L.name===P){return k()}const q=je(L,P);if(typeof q!=="string"){requiredVersionWarning(`Unable to find required version for "${P}" in description file (${N}). It need to be in dependencies, devDependencies or peerDependencies.`);return k()}k(le(q))}))}))]).then((([v,P])=>new me(ae?k.context:E,{...N,importResolved:v,import:v?N.import:undefined,requiredVersion:P})))};E.hooks.factorize.tapPromise(qe,(({context:k,request:v,dependencies:E})=>Ne.then((()=>{if(E[0]instanceof pe||E[0]instanceof _e){return}const P=N.get(v);if(P!==undefined){return createConsumeSharedModule(k,v,P)}for(const[E,P]of Me){if(v.startsWith(E)){const R=v.slice(E.length);return createConsumeSharedModule(k,v,{...P,import:P.import?P.import+R:undefined,shareKey:P.shareKey+R})}}}))));E.hooks.createModule.tapPromise(qe,(({resource:k},{context:v,dependencies:E})=>{if(E[0]instanceof pe||E[0]instanceof _e){return Promise.resolve()}const P=ae.get(k);if(P!==undefined){return createConsumeSharedModule(v,k,P)}return Promise.resolve()}));v.hooks.additionalTreeRuntimeRequirements.tap(qe,((k,E)=>{E.add(R.module);E.add(R.moduleCache);E.add(R.moduleFactoriesAddOnly);E.add(R.shareScopeMap);E.add(R.initializeSharing);E.add(R.hasOwnProperty);v.addRuntimeModule(k,new ye(E))}))}))}}k.exports=ConsumeSharedPlugin},91847:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{parseVersionRuntimeCode:N,versionLtRuntimeCode:q,rangeToStringRuntimeCode:ae,satisfyRuntimeCode:le}=E(51542);class ConsumeSharedRuntimeModule extends R{constructor(k){super("consumes",R.STAGE_ATTACH);this._runtimeRequirements=k}generate(){const{compilation:k,chunkGraph:v}=this;const{runtimeTemplate:E,codeGenerationResults:R}=k;const pe={};const me=new Map;const ye=[];const addModules=(k,E,P)=>{for(const L of k){const k=L;const N=v.getModuleId(k);P.push(N);me.set(N,R.getSource(k,E.runtime,"consume-shared"))}};for(const k of this.chunk.getAllAsyncChunks()){const E=v.getChunkModulesIterableBySourceType(k,"consume-shared");if(!E)continue;addModules(E,k,pe[k.id]=[])}for(const k of this.chunk.getAllInitialChunks()){const E=v.getChunkModulesIterableBySourceType(k,"consume-shared");if(!E)continue;addModules(E,k,ye)}if(me.size===0)return null;return L.asString([N(E),q(E),ae(E),le(E),`var ensureExistence = ${E.basicFunction("scopeName, key",[`var scope = ${P.shareScopeMap}[scopeName];`,`if(!scope || !${P.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("scope, key, version, requiredVersion",[`return "Unsatisfied version " + version + " from " + (version && scope[key][version].from) + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`])};`,`var getSingleton = ${E.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","return get(scope[key][version]);"])};`,`var getSingletonVersion = ${E.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) warn(getInvalidSingletonVersionMessage(scope, 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(scope, 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 warn = ${this.compilation.options.output.ignoreBrowserWarnings?E.basicFunction("",""):E.basicFunction("msg",['if (typeof console !== "undefined" && console.warn) console.warn(msg);'])};`,`var warnInvalidVersion = ${E.basicFunction("scope, scopeName, key, requiredVersion",["warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));"])};`,`var get = ${E.basicFunction("entry",["entry.loaded = 1;","return entry.get()"])};`,`var init = ${E.returningFunction(L.asString(["function(scopeName, a, b, c) {",L.indent([`var promise = ${P.initializeSharing}(scopeName);`,`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${P.shareScopeMap}[scopeName], a, b, c));`,`return fn(scopeName, ${P.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 && ${P.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 loadSingleton = /*#__PURE__*/ init(${E.basicFunction("scopeName, scope, key",["ensureExistence(scopeName, key);","return getSingleton(scope, scopeName, 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 || !${P.hasOwnProperty}(scope, key)) return fallback();`,"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonFallback = /*#__PURE__*/ init(${E.basicFunction("scopeName, scope, key, fallback",[`if(!scope || !${P.hasOwnProperty}(scope, key)) return fallback();`,"return getSingleton(scope, scopeName, key);"])});`,`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${E.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${P.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 && ${P.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 || !${P.hasOwnProperty}(scope, key)) return fallback();`,"return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,"var installedModules = {};","var moduleToHandlerMapping = {",L.indent(Array.from(me,(([k,v])=>`${JSON.stringify(k)}: ${v.source()}`)).join(",\n")),"};",ye.length>0?L.asString([`var initialConsumes = ${JSON.stringify(ye)};`,`initialConsumes.forEach(${E.basicFunction("id",[`${P.moduleFactories}[id] = ${E.basicFunction("module",["// Handle case when module is used sync","installedModules[id] = 0;",`delete ${P.moduleCache}[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(P.ensureChunkHandlers)?L.asString([`var chunkMapping = ${JSON.stringify(pe,null,"\t")};`,`${P.ensureChunkHandlers}.consumes = ${E.basicFunction("chunkId, promises",[`if(${P.hasOwnProperty}(chunkMapping, chunkId)) {`,L.indent([`chunkMapping[chunkId].forEach(${E.basicFunction("id",[`if(${P.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,`var onFactory = ${E.basicFunction("factory",["installedModules[id] = 0;",`${P.moduleFactories}[id] = ${E.basicFunction("module",[`delete ${P.moduleCache}[id];`,"module.exports = factory();"])}`])};`,`var onError = ${E.basicFunction("error",["delete installedModules[id];",`${P.moduleFactories}[id] = ${E.basicFunction("module",[`delete ${P.moduleCache}[id];`,"throw error;"])}`])};`,"try {",L.indent(["var promise = moduleToHandlerMapping[id]();","if(promise.then) {",L.indent("promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));"),"} else onFactory(promise);"]),"} catch(e) { onError(e); }"])});`]),"}"])}`]):"// no chunk loading of consumes"])}}k.exports=ConsumeSharedRuntimeModule},27150:function(k,v,E){"use strict";const P=E(77373);const R=E(58528);class ProvideForSharedDependency extends P{constructor(k){super(k)}get type(){return"provide module for shared"}get category(){return"esm"}}R(ProvideForSharedDependency,"webpack/lib/sharing/ProvideForSharedDependency");k.exports=ProvideForSharedDependency},49637:function(k,v,E){"use strict";const P=E(16848);const R=E(58528);class ProvideSharedDependency extends P{constructor(k,v,E,P,R){super();this.shareScope=k;this.name=v;this.version=E;this.request=P;this.eager=R}get type(){return"provide shared module"}getResourceIdentifier(){return`provide module (${this.shareScope}) ${this.request} as ${this.name} @ ${this.version}${this.eager?" (eager)":""}`}serialize(k){k.write(this.shareScope);k.write(this.name);k.write(this.request);k.write(this.version);k.write(this.eager);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new ProvideSharedDependency(v(),v(),v(),v(),v());this.shareScope=k.read();E.deserialize(k);return E}}R(ProvideSharedDependency,"webpack/lib/sharing/ProvideSharedDependency");k.exports=ProvideSharedDependency},31100:function(k,v,E){"use strict";const P=E(75081);const R=E(88396);const{WEBPACK_MODULE_TYPE_PROVIDE:L}=E(93622);const N=E(56727);const q=E(58528);const ae=E(27150);const le=new Set(["share-init"]);class ProvideSharedModule extends R{constructor(k,v,E,P,R){super(L);this._shareScope=k;this._name=v;this._version=E;this._request=P;this._eager=R}identifier(){return`provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`}readableIdentifier(k){return`provide shared module (${this._shareScope}) ${this._name}@${this._version} = ${k.shorten(this._request)}`}libIdent(k){return`${this.layer?`(${this.layer})/`:""}webpack/sharing/provide/${this._shareScope}/${this._name}`}needBuild(k,v){v(null,!this.buildInfo)}build(k,v,E,R,L){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();const N=new ae(this._request);if(this._eager){this.addDependency(N)}else{const k=new P({});k.addDependency(N);this.addBlock(k)}L()}size(k){return 42}getSourceTypes(){return le}codeGeneration({runtimeTemplate:k,moduleGraph:v,chunkGraph:E}){const P=new Set([N.initializeSharing]);const R=`register(${JSON.stringify(this._name)}, ${JSON.stringify(this._version||"0")}, ${this._eager?k.syncModuleFactory({dependency:this.dependencies[0],chunkGraph:E,request:this._request,runtimeRequirements:P}):k.asyncModuleFactory({block:this.blocks[0],chunkGraph:E,request:this._request,runtimeRequirements:P})}${this._eager?", 1":""});`;const L=new Map;const q=new Map;q.set("share-init",[{shareScope:this._shareScope,initStage:10,init:R}]);return{sources:L,data:q,runtimeRequirements:P}}serialize(k){const{write:v}=k;v(this._shareScope);v(this._name);v(this._version);v(this._request);v(this._eager);super.serialize(k)}static deserialize(k){const{read:v}=k;const E=new ProvideSharedModule(v(),v(),v(),v(),v());E.deserialize(k);return E}}q(ProvideSharedModule,"webpack/lib/sharing/ProvideSharedModule");k.exports=ProvideSharedModule},85579:function(k,v,E){"use strict";const P=E(66043);const R=E(31100);class ProvideSharedModuleFactory extends P{create(k,v){const E=k.dependencies[0];v(null,{module:new R(E.shareScope,E.name,E.version,E.request,E.eager)})}}k.exports=ProvideSharedModuleFactory},70610:function(k,v,E){"use strict";const P=E(71572);const{parseOptions:R}=E(34869);const L=E(92198);const N=E(27150);const q=E(49637);const ae=E(85579);const le=L(E(82285),(()=>E(15958)),{name:"Provide Shared Plugin",baseDataPath:"options"});class ProvideSharedPlugin{constructor(k){le(k);this._provides=R(k.provides,(v=>{if(Array.isArray(v))throw new Error("Unexpected array of provides");const E={shareKey:v,version:undefined,shareScope:k.shareScope||"default",eager:false};return E}),(v=>({shareKey:v.shareKey,version:v.version,shareScope:v.shareScope||k.shareScope||"default",eager:!!v.eager})));this._provides.sort((([k],[v])=>{if(k{const R=new Map;const L=new Map;const N=new Map;for(const[k,v]of this._provides){if(/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(k)){R.set(k,{config:v,version:v.version})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(k)){R.set(k,{config:v,version:v.version})}else if(k.endsWith("/")){N.set(k,v)}else{L.set(k,v)}}v.set(k,R);const provideSharedModule=(v,E,L,N)=>{let q=E.version;if(q===undefined){let E="";if(!N){E=`No resolve data provided from resolver.`}else{const k=N.descriptionFileData;if(!k){E="No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config."}else if(!k.version){E=`No version in description file (usually package.json). Add version to description file ${N.descriptionFilePath}, or manually specify version in shared config.`}else{q=k.version}}if(!q){const R=new P(`No version specified and unable to automatically determine one. ${E}`);R.file=`shared module ${v} -> ${L}`;k.warnings.push(R)}}R.set(L,{config:E,version:q})};E.hooks.module.tap("ProvideSharedPlugin",((k,{resource:v,resourceResolveData:E},P)=>{if(R.has(v)){return k}const{request:q}=P;{const k=L.get(q);if(k!==undefined){provideSharedModule(q,k,v,E);P.cacheable=false}}for(const[k,R]of N){if(q.startsWith(k)){const L=q.slice(k.length);provideSharedModule(v,{...R,shareKey:R.shareKey+L},v,E);P.cacheable=false}}return k}))}));k.hooks.finishMake.tapPromise("ProvideSharedPlugin",(E=>{const P=v.get(E);if(!P)return Promise.resolve();return Promise.all(Array.from(P,(([v,{config:P,version:R}])=>new Promise(((L,N)=>{E.addInclude(k.context,new q(P.shareScope,P.shareKey,R||false,v,P.eager),{name:undefined},(k=>{if(k)return N(k);L()}))}))))).then((()=>{}))}));k.hooks.compilation.tap("ProvideSharedPlugin",((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(N,v);k.dependencyFactories.set(q,new ae)}))}}k.exports=ProvideSharedPlugin},38084:function(k,v,E){"use strict";const{parseOptions:P}=E(34869);const R=E(73485);const L=E(70610);const{isRequiredVersion:N}=E(54068);class SharePlugin{constructor(k){const v=P(k.shared,((k,v)=>{if(typeof k!=="string")throw new Error("Unexpected array in shared");const E=k===v||!N(k)?{import:k}:{import:v,requiredVersion:k};return E}),(k=>k));const E=v.map((([k,v])=>({[k]:{import:v.import,shareKey:v.shareKey||k,shareScope:v.shareScope,requiredVersion:v.requiredVersion,strictVersion:v.strictVersion,singleton:v.singleton,packageName:v.packageName,eager:v.eager}})));const R=v.filter((([,k])=>k.import!==false)).map((([k,v])=>({[v.import||k]:{shareKey:v.shareKey||k,shareScope:v.shareScope,version:v.version,eager:v.eager}})));this._shareScope=k.shareScope;this._consumes=E;this._provides=R}apply(k){new R({shareScope:this._shareScope,consumes:this._consumes}).apply(k);new L({shareScope:this._shareScope,provides:this._provides}).apply(k)}}k.exports=SharePlugin},6717:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{compareModulesByIdentifier:N,compareStrings:q}=E(95648);class ShareRuntimeModule extends R{constructor(){super("sharing")}generate(){const{compilation:k,chunkGraph:v}=this;const{runtimeTemplate:E,codeGenerationResults:R,outputOptions:{uniqueName:ae}}=k;const le=new Map;for(const k of this.chunk.getAllReferencedChunks()){const E=v.getOrderedChunkModulesIterableBySourceType(k,"share-init",N);if(!E)continue;for(const v of E){const E=R.getData(v,k.runtime,"share-init");if(!E)continue;for(const k of E){const{shareScope:v,initStage:E,init:P}=k;let R=le.get(v);if(R===undefined){le.set(v,R=new Map)}let L=R.get(E||0);if(L===undefined){R.set(E||0,L=new Set)}L.add(P)}}}return L.asString([`${P.shareScopeMap} = {};`,"var initPromises = {};","var initTokens = {};",`${P.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(!${P.hasOwnProperty}(${P.shareScopeMap}, name)) ${P.shareScopeMap}[name] = {};`,"// runs all init snippets from all modules reachable",`var scope = ${P.shareScopeMap}[name];`,`var warn = ${this.compilation.options.output.ignoreBrowserWarnings?E.basicFunction("",""):E.basicFunction("msg",['if (typeof console !== "undefined" && console.warn) console.warn(msg);'])};`,`var uniqueName = ${JSON.stringify(ae||undefined)};`,`var register = ${E.basicFunction("name, version, factory, eager",["var versions = scope[name] = scope[name] || {};","var activeVersion = versions[version];","if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };"])};`,`var initExternal = ${E.basicFunction("id",[`var handleError = ${E.expressionFunction('warn("Initialization of sharing external failed: " + err)',"err")};`,"try {",L.indent([`var module = ${P.require}(id);`,"if(!module) return;",`var initFn = ${E.returningFunction(`module && module.init && module.init(${P.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(le).sort((([k],[v])=>q(k,v))).map((([k,v])=>L.indent([`case ${JSON.stringify(k)}: {`,L.indent(Array.from(v).sort((([k],[v])=>k-v)).map((([,k])=>L.asString(Array.from(k))))),"}","break;"]))),"}","if(!promises.length) return initPromises[name] = 1;",`return initPromises[name] = Promise.all(promises).then(${E.returningFunction("initPromises[name] = 1")});`])};`])}}k.exports=ShareRuntimeModule},466:function(k,v,E){"use strict";const P=E(69734);const R=E(12359);const L={dependencyType:"esm"};v.resolveMatchedConfigs=(k,v)=>{const E=new Map;const N=new Map;const q=new Map;const ae={fileDependencies:new R,contextDependencies:new R,missingDependencies:new R};const le=k.resolverFactory.get("normal",L);const pe=k.compiler.context;return Promise.all(v.map((([v,R])=>{if(/^\.\.?(\/|$)/.test(v)){return new Promise((L=>{le.resolve({},pe,v,ae,((N,q)=>{if(N||q===false){N=N||new Error(`Can't resolve ${v}`);k.errors.push(new P(null,N,{name:`shared module ${v}`}));return L()}E.set(q,R);L()}))}))}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(v)){E.set(v,R)}else if(v.endsWith("/")){q.set(v,R)}else{N.set(v,R)}}))).then((()=>{k.contextDependencies.addAll(ae.contextDependencies);k.fileDependencies.addAll(ae.fileDependencies);k.missingDependencies.addAll(ae.missingDependencies);return{resolved:E,unresolved:N,prefixed:q}}))}},54068:function(k,v,E){"use strict";const{join:P,dirname:R,readJson:L}=E(57825);const N=/^[^/@:.\s][^/@:\s]*\/[^@:\s]*[^/@:\s]#\S+/;const q=/^(github|gitlab|bitbucket|gist):\/?[^/.]+\/?/i;const ae=/^((git\+)?(ssh|https?|file)|git|github|gitlab|bitbucket|gist):$/i;const le=/^((git\+)?(ssh|https?|file)|git):\/\//i;const pe=/#(?:semver:)?(.+)/;const me=/^(?:[^/.]+(\.[^/]+)+|localhost)$/;const ye=/([^/@#:.]+(?:\.[^/@#:.]+)+|localhost):([^#/0-9]+)/;const _e=/^([^/@#:.]+(?:\.[^/@#:.]+)+)/;const Ie=/^([\d^=v<>~]|[*xX]$)/;const Me=["github:","gitlab:","bitbucket:","gist:","file:"];const Te="git+ssh://";const je={"github.com":(k,v)=>{let[,E,P,R,L]=k.split("/",5);if(R&&R!=="tree"){return}if(!R){L=v}else{L="#"+L}if(P&&P.endsWith(".git")){P=P.slice(0,-4)}if(!E||!P){return}return L},"gitlab.com":(k,v)=>{const E=k.slice(1);if(E.includes("/-/")||E.includes("/archive.tar.gz")){return}const P=E.split("/");let R=P.pop();if(R.endsWith(".git")){R=R.slice(0,-4)}const L=P.join("/");if(!L||!R){return}return v},"bitbucket.org":(k,v)=>{let[,E,P,R]=k.split("/",4);if(["get"].includes(R)){return}if(P&&P.endsWith(".git")){P=P.slice(0,-4)}if(!E||!P){return}return v},"gist.github.com":(k,v)=>{let[,E,P,R]=k.split("/",4);if(R==="raw"){return}if(!P){if(!E){return}P=E;E=null}if(P.endsWith(".git")){P=P.slice(0,-4)}return v}};function getCommithash(k){let{hostname:v,pathname:E,hash:P}=k;v=v.replace(/^www\./,"");try{P=decodeURIComponent(P)}catch(k){}if(je[v]){return je[v](E,P)||""}return P}function correctUrl(k){return k.replace(ye,"$1/$2")}function correctProtocol(k){if(q.test(k)){return k}if(!le.test(k)){return`${Te}${k}`}return k}function getVersionFromHash(k){const v=k.match(pe);return v&&v[1]||""}function canBeDecoded(k){try{decodeURIComponent(k)}catch(k){return false}return true}function getGitUrlVersion(k){let v=k;if(N.test(k)){k="github:"+k}else{k=correctProtocol(k)}k=correctUrl(k);let E;try{E=new URL(k)}catch(k){}if(!E){return""}const{protocol:P,hostname:R,pathname:L,username:q,password:le}=E;if(!ae.test(P)){return""}if(!L||!canBeDecoded(L)){return""}if(_e.test(v)&&!q&&!le){return""}if(!Me.includes(P.toLowerCase())){if(!me.test(R)){return""}const k=getCommithash(E);return getVersionFromHash(k)||k}return getVersionFromHash(k)}function isRequiredVersion(k){return Ie.test(k)}v.isRequiredVersion=isRequiredVersion;function normalizeVersion(k){k=k&&k.trim()||"";if(isRequiredVersion(k)){return k}return getGitUrlVersion(k.toLowerCase())}v.normalizeVersion=normalizeVersion;const getDescriptionFile=(k,v,E,N)=>{let q=0;const tryLoadCurrent=()=>{if(q>=E.length){const P=R(k,v);if(!P||P===v)return N();return getDescriptionFile(k,P,E,N)}const ae=P(k,v,E[q]);L(k,ae,((k,v)=>{if(k){if("code"in k&&k.code==="ENOENT"){q++;return tryLoadCurrent()}return N(k)}if(!v||typeof v!=="object"||Array.isArray(v)){return N(new Error(`Description file ${ae} is not an object`))}N(null,{data:v,path:ae})}))};tryLoadCurrent()};v.getDescriptionFile=getDescriptionFile;v.getRequiredVersionFromDescriptionFile=(k,v)=>{if(k.optionalDependencies&&typeof k.optionalDependencies==="object"&&v in k.optionalDependencies){return normalizeVersion(k.optionalDependencies[v])}if(k.dependencies&&typeof k.dependencies==="object"&&v in k.dependencies){return normalizeVersion(k.dependencies[v])}if(k.peerDependencies&&typeof k.peerDependencies==="object"&&v in k.peerDependencies){return normalizeVersion(k.peerDependencies[v])}if(k.devDependencies&&typeof k.devDependencies==="object"&&v in k.devDependencies){return normalizeVersion(k.devDependencies[v])}}},57686:function(k,v,E){"use strict";const P=E(73837);const{WEBPACK_MODULE_TYPE_RUNTIME:R}=E(93622);const L=E(77373);const N=E(1811);const{LogType:q}=E(13905);const ae=E(21684);const le=E(338);const{countIterable:pe}=E(54480);const{compareLocations:me,compareChunksById:ye,compareNumbers:_e,compareIds:Ie,concatComparators:Me,compareSelect:Te,compareModulesByIdentifier:je}=E(95648);const{makePathsRelative:Ne,parseResource:Be}=E(65315);const uniqueArray=(k,v)=>{const E=new Set;for(const P of k){for(const k of v(P)){E.add(k)}}return Array.from(E)};const uniqueOrderedArray=(k,v,E)=>uniqueArray(k,v).sort(E);const mapObject=(k,v)=>{const E=Object.create(null);for(const P of Object.keys(k)){E[P]=v(k[P],P)}return E};const countWithChildren=(k,v)=>{let E=v(k,"").length;for(const P of k.children){E+=countWithChildren(P,((k,E)=>v(k,`.children[].compilation${E}`)))}return E};const qe={_:(k,v,E,{requestShortener:P})=>{if(typeof v==="string"){k.message=v}else{if(v.chunk){k.chunkName=v.chunk.name;k.chunkEntry=v.chunk.hasRuntime();k.chunkInitial=v.chunk.canBeInitial()}if(v.file){k.file=v.file}if(v.module){k.moduleIdentifier=v.module.identifier();k.moduleName=v.module.readableIdentifier(P)}if(v.loc){k.loc=N(v.loc)}k.message=v.message}},ids:(k,v,{compilation:{chunkGraph:E}})=>{if(typeof v!=="string"){if(v.chunk){k.chunkId=v.chunk.id}if(v.module){k.moduleId=E.getModuleId(v.module)}}},moduleTrace:(k,v,E,P,R)=>{if(typeof v!=="string"&&v.module){const{type:P,compilation:{moduleGraph:L}}=E;const N=new Set;const q=[];let ae=v.module;while(ae){if(N.has(ae))break;N.add(ae);const k=L.getIssuer(ae);if(!k)break;q.push({origin:k,module:ae});ae=k}k.moduleTrace=R.create(`${P}.moduleTrace`,q,E)}},errorDetails:(k,v,{type:E,compilation:P,cachedGetErrors:R,cachedGetWarnings:L},{errorDetails:N})=>{if(typeof v!=="string"&&(N===true||E.endsWith(".error")&&R(P).length<3)){k.details=v.details}},errorStack:(k,v)=>{if(typeof v!=="string"){k.stack=v.stack}}};const Ue={compilation:{_:(k,v,P,R)=>{if(!P.makePathsRelative){P.makePathsRelative=Ne.bindContextCache(v.compiler.context,v.compiler.root)}if(!P.cachedGetErrors){const k=new WeakMap;P.cachedGetErrors=v=>k.get(v)||(E=>(k.set(v,E),E))(v.getErrors())}if(!P.cachedGetWarnings){const k=new WeakMap;P.cachedGetWarnings=v=>k.get(v)||(E=>(k.set(v,E),E))(v.getWarnings())}if(v.name){k.name=v.name}if(v.needAdditionalPass){k.needAdditionalPass=true}const{logging:L,loggingDebug:N,loggingTrace:ae}=R;if(L||N&&N.length>0){const P=E(73837);k.logging={};let le;let pe=false;switch(L){default:le=new Set;break;case"error":le=new Set([q.error]);break;case"warn":le=new Set([q.error,q.warn]);break;case"info":le=new Set([q.error,q.warn,q.info]);break;case"log":le=new Set([q.error,q.warn,q.info,q.log,q.group,q.groupEnd,q.groupCollapsed,q.clear]);break;case"verbose":le=new Set([q.error,q.warn,q.info,q.log,q.group,q.groupEnd,q.groupCollapsed,q.profile,q.profileEnd,q.time,q.status,q.clear]);pe=true;break}const me=Ne.bindContextCache(R.context,v.compiler.root);let ye=0;for(const[E,R]of v.logging){const v=N.some((k=>k(E)));if(L===false&&!v)continue;const _e=[];const Ie=[];let Me=Ie;let Te=0;for(const k of R){let E=k.type;if(!v&&!le.has(E))continue;if(E===q.groupCollapsed&&(v||pe))E=q.group;if(ye===0){Te++}if(E===q.groupEnd){_e.pop();if(_e.length>0){Me=_e[_e.length-1].children}else{Me=Ie}if(ye>0)ye--;continue}let R=undefined;if(k.type===q.time){R=`${k.args[0]}: ${k.args[1]*1e3+k.args[2]/1e6} ms`}else if(k.args&&k.args.length>0){R=P.format(k.args[0],...k.args.slice(1))}const L={...k,type:E,message:R,trace:ae?k.trace:undefined,children:E===q.group||E===q.groupCollapsed?[]:undefined};Me.push(L);if(L.children){_e.push(L);Me=L.children;if(ye>0){ye++}else if(E===q.groupCollapsed){ye=1}}}let je=me(E).replace(/\|/g," ");if(je in k.logging){let v=1;while(`${je}#${v}`in k.logging){v++}je=`${je}#${v}`}k.logging[je]={entries:Ie,filteredEntries:R.length-Te,debug:v}}}},hash:(k,v)=>{k.hash=v.hash},version:k=>{k.version=E(35479).i8},env:(k,v,E,{_env:P})=>{k.env=P},timings:(k,v)=>{k.time=v.endTime-v.startTime},builtAt:(k,v)=>{k.builtAt=v.endTime},publicPath:(k,v)=>{k.publicPath=v.getPath(v.outputOptions.publicPath)},outputPath:(k,v)=>{k.outputPath=v.outputOptions.path},assets:(k,v,E,P,R)=>{const{type:L}=E;const N=new Map;const q=new Map;for(const k of v.chunks){for(const v of k.files){let E=N.get(v);if(E===undefined){E=[];N.set(v,E)}E.push(k)}for(const v of k.auxiliaryFiles){let E=q.get(v);if(E===undefined){E=[];q.set(v,E)}E.push(k)}}const ae=new Map;const le=new Set;for(const k of v.getAssets()){const v={...k,type:"asset",related:undefined};le.add(v);ae.set(k.name,v)}for(const k of ae.values()){const v=k.info.related;if(!v)continue;for(const E of Object.keys(v)){const P=v[E];const R=Array.isArray(P)?P:[P];for(const v of R){const P=ae.get(v);if(!P)continue;le.delete(P);P.type=E;k.related=k.related||[];k.related.push(P)}}}k.assetsByChunkName={};for(const[v,E]of N){for(const P of E){const E=P.name;if(!E)continue;if(!Object.prototype.hasOwnProperty.call(k.assetsByChunkName,E)){k.assetsByChunkName[E]=[]}k.assetsByChunkName[E].push(v)}}const pe=R.create(`${L}.assets`,Array.from(le),{...E,compilationFileToChunks:N,compilationAuxiliaryFileToChunks:q});const me=spaceLimited(pe,P.assetsSpace);k.assets=me.children;k.filteredAssets=me.filteredChildren},chunks:(k,v,E,P,R)=>{const{type:L}=E;k.chunks=R.create(`${L}.chunks`,Array.from(v.chunks),E)},modules:(k,v,E,P,R)=>{const{type:L}=E;const N=Array.from(v.modules);const q=R.create(`${L}.modules`,N,E);const ae=spaceLimited(q,P.modulesSpace);k.modules=ae.children;k.filteredModules=ae.filteredChildren},entrypoints:(k,v,E,{entrypoints:P,chunkGroups:R,chunkGroupAuxiliary:L,chunkGroupChildren:N},q)=>{const{type:ae}=E;const le=Array.from(v.entrypoints,(([k,v])=>({name:k,chunkGroup:v})));if(P==="auto"&&!R){if(le.length>5)return;if(!N&&le.every((({chunkGroup:k})=>{if(k.chunks.length!==1)return false;const v=k.chunks[0];return v.files.size===1&&(!L||v.auxiliaryFiles.size===0)}))){return}}k.entrypoints=q.create(`${ae}.entrypoints`,le,E)},chunkGroups:(k,v,E,P,R)=>{const{type:L}=E;const N=Array.from(v.namedChunkGroups,(([k,v])=>({name:k,chunkGroup:v})));k.namedChunkGroups=R.create(`${L}.namedChunkGroups`,N,E)},errors:(k,v,E,P,R)=>{const{type:L,cachedGetErrors:N}=E;const q=N(v);const ae=R.create(`${L}.errors`,N(v),E);let le=0;if(P.errorDetails==="auto"&&q.length>=3){le=q.map((k=>typeof k!=="string"&&k.details)).filter(Boolean).length}if(P.errorDetails===true||!Number.isFinite(P.errorsSpace)){k.errors=ae;if(le)k.filteredErrorDetailsCount=le;return}const[pe,me]=errorsSpaceLimit(ae,P.errorsSpace);k.filteredErrorDetailsCount=le+me;k.errors=pe},errorsCount:(k,v,{cachedGetErrors:E})=>{k.errorsCount=countWithChildren(v,(k=>E(k)))},warnings:(k,v,E,P,R)=>{const{type:L,cachedGetWarnings:N}=E;const q=R.create(`${L}.warnings`,N(v),E);let ae=0;if(P.errorDetails==="auto"){ae=N(v).map((k=>typeof k!=="string"&&k.details)).filter(Boolean).length}if(P.errorDetails===true||!Number.isFinite(P.warningsSpace)){k.warnings=q;if(ae)k.filteredWarningDetailsCount=ae;return}const[le,pe]=errorsSpaceLimit(q,P.warningsSpace);k.filteredWarningDetailsCount=ae+pe;k.warnings=le},warningsCount:(k,v,E,{warningsFilter:P},R)=>{const{type:L,cachedGetWarnings:N}=E;k.warningsCount=countWithChildren(v,((k,v)=>{if(!P&&P.length===0)return N(k);return R.create(`${L}${v}.warnings`,N(k),E).filter((k=>{const v=Object.keys(k).map((v=>`${k[v]}`)).join("\n");return!P.some((E=>E(k,v)))}))}))},children:(k,v,E,P,R)=>{const{type:L}=E;k.children=R.create(`${L}.children`,v.children,E)}},asset:{_:(k,v,E,P,R)=>{const{compilation:L}=E;k.type=v.type;k.name=v.name;k.size=v.source.size();k.emitted=L.emittedAssets.has(v.name);k.comparedForEmit=L.comparedForEmitAssets.has(v.name);const N=!k.emitted&&!k.comparedForEmit;k.cached=N;k.info=v.info;if(!N||P.cachedAssets){Object.assign(k,R.create(`${E.type}$visible`,v,E))}}},asset$visible:{_:(k,v,{compilation:E,compilationFileToChunks:P,compilationAuxiliaryFileToChunks:R})=>{const L=P.get(v.name)||[];const N=R.get(v.name)||[];k.chunkNames=uniqueOrderedArray(L,(k=>k.name?[k.name]:[]),Ie);k.chunkIdHints=uniqueOrderedArray(L,(k=>Array.from(k.idNameHints)),Ie);k.auxiliaryChunkNames=uniqueOrderedArray(N,(k=>k.name?[k.name]:[]),Ie);k.auxiliaryChunkIdHints=uniqueOrderedArray(N,(k=>Array.from(k.idNameHints)),Ie);k.filteredRelated=v.related?v.related.length:undefined},relatedAssets:(k,v,E,P,R)=>{const{type:L}=E;k.related=R.create(`${L.slice(0,-8)}.related`,v.related,E);k.filteredRelated=v.related?v.related.length-k.related.length:undefined},ids:(k,v,{compilationFileToChunks:E,compilationAuxiliaryFileToChunks:P})=>{const R=E.get(v.name)||[];const L=P.get(v.name)||[];k.chunks=uniqueOrderedArray(R,(k=>k.ids),Ie);k.auxiliaryChunks=uniqueOrderedArray(L,(k=>k.ids),Ie)},performance:(k,v)=>{k.isOverSizeLimit=le.isOverSizeLimit(v.source)}},chunkGroup:{_:(k,{name:v,chunkGroup:E},{compilation:P,compilation:{moduleGraph:R,chunkGraph:L}},{ids:N,chunkGroupAuxiliary:q,chunkGroupChildren:ae,chunkGroupMaxAssets:le})=>{const pe=ae&&E.getChildrenByOrders(R,L);const toAsset=k=>{const v=P.getAsset(k);return{name:k,size:v?v.info.size:-1}};const sizeReducer=(k,{size:v})=>k+v;const me=uniqueArray(E.chunks,(k=>k.files)).map(toAsset);const ye=uniqueOrderedArray(E.chunks,(k=>k.auxiliaryFiles),Ie).map(toAsset);const _e=me.reduce(sizeReducer,0);const Me=ye.reduce(sizeReducer,0);const Te={name:v,chunks:N?E.chunks.map((k=>k.id)):undefined,assets:me.length<=le?me:undefined,filteredAssets:me.length<=le?0:me.length,assetsSize:_e,auxiliaryAssets:q&&ye.length<=le?ye:undefined,filteredAuxiliaryAssets:q&&ye.length<=le?0:ye.length,auxiliaryAssetsSize:Me,children:pe?mapObject(pe,(k=>k.map((k=>{const v=uniqueArray(k.chunks,(k=>k.files)).map(toAsset);const E=uniqueOrderedArray(k.chunks,(k=>k.auxiliaryFiles),Ie).map(toAsset);const P={name:k.name,chunks:N?k.chunks.map((k=>k.id)):undefined,assets:v.length<=le?v:undefined,filteredAssets:v.length<=le?0:v.length,auxiliaryAssets:q&&E.length<=le?E:undefined,filteredAuxiliaryAssets:q&&E.length<=le?0:E.length};return P})))):undefined,childAssets:pe?mapObject(pe,(k=>{const v=new Set;for(const E of k){for(const k of E.chunks){for(const E of k.files){v.add(E)}}}return Array.from(v)})):undefined};Object.assign(k,Te)},performance:(k,{chunkGroup:v})=>{k.isOverSizeLimit=le.isOverSizeLimit(v)}},module:{_:(k,v,E,P,R)=>{const{compilation:L,type:N}=E;const q=L.builtModules.has(v);const ae=L.codeGeneratedModules.has(v);const le=L.buildTimeExecutedModules.has(v);const pe={};for(const k of v.getSourceTypes()){pe[k]=v.size(k)}const me={type:"module",moduleType:v.type,layer:v.layer,size:v.size(),sizes:pe,built:q,codeGenerated:ae,buildTimeExecuted:le,cached:!q&&!ae};Object.assign(k,me);if(q||ae||P.cachedModules){Object.assign(k,R.create(`${N}$visible`,v,E))}}},module$visible:{_:(k,v,E,{requestShortener:P},R)=>{const{compilation:L,type:N,rootModules:q}=E;const{moduleGraph:ae}=L;const le=[];const me=ae.getIssuer(v);let ye=me;while(ye){le.push(ye);ye=ae.getIssuer(ye)}le.reverse();const _e=ae.getProfile(v);const Ie=v.getErrors();const Me=Ie!==undefined?pe(Ie):0;const Te=v.getWarnings();const je=Te!==undefined?pe(Te):0;const Ne={};for(const k of v.getSourceTypes()){Ne[k]=v.size(k)}const Be={identifier:v.identifier(),name:v.readableIdentifier(P),nameForCondition:v.nameForCondition(),index:ae.getPreOrderIndex(v),preOrderIndex:ae.getPreOrderIndex(v),index2:ae.getPostOrderIndex(v),postOrderIndex:ae.getPostOrderIndex(v),cacheable:v.buildInfo.cacheable,optional:v.isOptional(ae),orphan:!N.endsWith("module.modules[].module$visible")&&L.chunkGraph.getNumberOfModuleChunks(v)===0,dependent:q?!q.has(v):undefined,issuer:me&&me.identifier(),issuerName:me&&me.readableIdentifier(P),issuerPath:me&&R.create(`${N.slice(0,-8)}.issuerPath`,le,E),failed:Me>0,errors:Me,warnings:je};Object.assign(k,Be);if(_e){k.profile=R.create(`${N.slice(0,-8)}.profile`,_e,E)}},ids:(k,v,{compilation:{chunkGraph:E,moduleGraph:P}})=>{k.id=E.getModuleId(v);const R=P.getIssuer(v);k.issuerId=R&&E.getModuleId(R);k.chunks=Array.from(E.getOrderedModuleChunksIterable(v,ye),(k=>k.id))},moduleAssets:(k,v)=>{k.assets=v.buildInfo.assets?Object.keys(v.buildInfo.assets):[]},reasons:(k,v,E,P,R)=>{const{type:L,compilation:{moduleGraph:N}}=E;const q=R.create(`${L.slice(0,-8)}.reasons`,Array.from(N.getIncomingConnections(v)),E);const ae=spaceLimited(q,P.reasonsSpace);k.reasons=ae.children;k.filteredReasons=ae.filteredChildren},usedExports:(k,v,{runtime:E,compilation:{moduleGraph:P}})=>{const R=P.getUsedExports(v,E);if(R===null){k.usedExports=null}else if(typeof R==="boolean"){k.usedExports=R}else{k.usedExports=Array.from(R)}},providedExports:(k,v,{compilation:{moduleGraph:E}})=>{const P=E.getProvidedExports(v);k.providedExports=Array.isArray(P)?P:null},optimizationBailout:(k,v,{compilation:{moduleGraph:E}},{requestShortener:P})=>{k.optimizationBailout=E.getOptimizationBailout(v).map((k=>{if(typeof k==="function")return k(P);return k}))},depth:(k,v,{compilation:{moduleGraph:E}})=>{k.depth=E.getDepth(v)},nestedModules:(k,v,E,P,R)=>{const{type:L}=E;const N=v.modules;if(Array.isArray(N)){const v=R.create(`${L.slice(0,-8)}.modules`,N,E);const q=spaceLimited(v,P.nestedModulesSpace);k.modules=q.children;k.filteredModules=q.filteredChildren}},source:(k,v)=>{const E=v.originalSource();if(E){k.source=E.source()}}},profile:{_:(k,v)=>{const E={total:v.factory+v.restoring+v.integration+v.building+v.storing,resolving:v.factory,restoring:v.restoring,building:v.building,integration:v.integration,storing:v.storing,additionalResolving:v.additionalFactories,additionalIntegration:v.additionalIntegration,factory:v.factory,dependencies:v.additionalFactories};Object.assign(k,E)}},moduleIssuer:{_:(k,v,E,{requestShortener:P},R)=>{const{compilation:L,type:N}=E;const{moduleGraph:q}=L;const ae=q.getProfile(v);const le={identifier:v.identifier(),name:v.readableIdentifier(P)};Object.assign(k,le);if(ae){k.profile=R.create(`${N}.profile`,ae,E)}},ids:(k,v,{compilation:{chunkGraph:E}})=>{k.id=E.getModuleId(v)}},moduleReason:{_:(k,v,{runtime:E},{requestShortener:P})=>{const R=v.dependency;const q=R&&R instanceof L?R:undefined;const ae={moduleIdentifier:v.originModule?v.originModule.identifier():null,module:v.originModule?v.originModule.readableIdentifier(P):null,moduleName:v.originModule?v.originModule.readableIdentifier(P):null,resolvedModuleIdentifier:v.resolvedOriginModule?v.resolvedOriginModule.identifier():null,resolvedModule:v.resolvedOriginModule?v.resolvedOriginModule.readableIdentifier(P):null,type:v.dependency?v.dependency.type:null,active:v.isActive(E),explanation:v.explanation,userRequest:q&&q.userRequest||null};Object.assign(k,ae);if(v.dependency){const E=N(v.dependency.loc);if(E){k.loc=E}}},ids:(k,v,{compilation:{chunkGraph:E}})=>{k.moduleId=v.originModule?E.getModuleId(v.originModule):null;k.resolvedModuleId=v.resolvedOriginModule?E.getModuleId(v.resolvedOriginModule):null}},chunk:{_:(k,v,{makePathsRelative:E,compilation:{chunkGraph:P}})=>{const R=v.getChildIdsByOrders(P);const L={rendered:v.rendered,initial:v.canBeInitial(),entry:v.hasRuntime(),recorded:ae.wasChunkRecorded(v),reason:v.chunkReason,size:P.getChunkModulesSize(v),sizes:P.getChunkModulesSizes(v),names:v.name?[v.name]:[],idHints:Array.from(v.idNameHints),runtime:v.runtime===undefined?undefined:typeof v.runtime==="string"?[E(v.runtime)]:Array.from(v.runtime.sort(),E),files:Array.from(v.files),auxiliaryFiles:Array.from(v.auxiliaryFiles).sort(Ie),hash:v.renderedHash,childrenByOrder:R};Object.assign(k,L)},ids:(k,v)=>{k.id=v.id},chunkRelations:(k,v,{compilation:{chunkGraph:E}})=>{const P=new Set;const R=new Set;const L=new Set;for(const k of v.groupsIterable){for(const v of k.parentsIterable){for(const k of v.chunks){P.add(k.id)}}for(const v of k.childrenIterable){for(const k of v.chunks){R.add(k.id)}}for(const E of k.chunks){if(E!==v)L.add(E.id)}}k.siblings=Array.from(L).sort(Ie);k.parents=Array.from(P).sort(Ie);k.children=Array.from(R).sort(Ie)},chunkModules:(k,v,E,P,R)=>{const{type:L,compilation:{chunkGraph:N}}=E;const q=N.getChunkModules(v);const ae=R.create(`${L}.modules`,q,{...E,runtime:v.runtime,rootModules:new Set(N.getChunkRootModules(v))});const le=spaceLimited(ae,P.chunkModulesSpace);k.modules=le.children;k.filteredModules=le.filteredChildren},chunkOrigins:(k,v,E,P,R)=>{const{type:L,compilation:{chunkGraph:q}}=E;const ae=new Set;const le=[];for(const k of v.groupsIterable){le.push(...k.origins)}const pe=le.filter((k=>{const v=[k.module?q.getModuleId(k.module):undefined,N(k.loc),k.request].join();if(ae.has(v))return false;ae.add(v);return true}));k.origins=R.create(`${L}.origins`,pe,E)}},chunkOrigin:{_:(k,v,E,{requestShortener:P})=>{const R={module:v.module?v.module.identifier():"",moduleIdentifier:v.module?v.module.identifier():"",moduleName:v.module?v.module.readableIdentifier(P):"",loc:N(v.loc),request:v.request};Object.assign(k,R)},ids:(k,v,{compilation:{chunkGraph:E}})=>{k.moduleId=v.module?E.getModuleId(v.module):undefined}},error:qe,warning:qe,moduleTraceItem:{_:(k,{origin:v,module:E},P,{requestShortener:R},L)=>{const{type:N,compilation:{moduleGraph:q}}=P;k.originIdentifier=v.identifier();k.originName=v.readableIdentifier(R);k.moduleIdentifier=E.identifier();k.moduleName=E.readableIdentifier(R);const ae=Array.from(q.getIncomingConnections(E)).filter((k=>k.resolvedOriginModule===v&&k.dependency)).map((k=>k.dependency));k.dependencies=L.create(`${N}.dependencies`,Array.from(new Set(ae)),P)},ids:(k,{origin:v,module:E},{compilation:{chunkGraph:P}})=>{k.originId=P.getModuleId(v);k.moduleId=P.getModuleId(E)}},moduleTraceDependency:{_:(k,v)=>{k.loc=N(v.loc)}}};const Ge={"module.reasons":{"!orphanModules":(k,{compilation:{chunkGraph:v}})=>{if(k.originModule&&v.getNumberOfModuleChunks(k.originModule)===0){return false}}}};const He={"compilation.warnings":{warningsFilter:P.deprecate(((k,v,{warningsFilter:E})=>{const P=Object.keys(k).map((v=>`${k[v]}`)).join("\n");return!E.some((v=>v(k,P)))}),"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings","DEP_WEBPACK_STATS_WARNINGS_FILTER")}};const We={_:(k,{compilation:{moduleGraph:v}})=>{k.push(Te((k=>v.getDepth(k)),_e),Te((k=>v.getPreOrderIndex(k)),_e),Te((k=>k.identifier()),Ie))}};const Qe={"compilation.chunks":{_:k=>{k.push(Te((k=>k.id),Ie))}},"compilation.modules":We,"chunk.rootModules":We,"chunk.modules":We,"module.modules":We,"module.reasons":{_:(k,{compilation:{chunkGraph:v}})=>{k.push(Te((k=>k.originModule),je));k.push(Te((k=>k.resolvedOriginModule),je));k.push(Te((k=>k.dependency),Me(Te((k=>k.loc),me),Te((k=>k.type),Ie))))}},"chunk.origins":{_:(k,{compilation:{chunkGraph:v}})=>{k.push(Te((k=>k.module?v.getModuleId(k.module):undefined),Ie),Te((k=>N(k.loc)),Ie),Te((k=>k.request),Ie))}}};const getItemSize=k=>!k.children?1:k.filteredChildren?2+getTotalSize(k.children):1+getTotalSize(k.children);const getTotalSize=k=>{let v=0;for(const E of k){v+=getItemSize(E)}return v};const getTotalItems=k=>{let v=0;for(const E of k){if(!E.children&&!E.filteredChildren){v++}else{if(E.children)v+=getTotalItems(E.children);if(E.filteredChildren)v+=E.filteredChildren}}return v};const collapse=k=>{const v=[];for(const E of k){if(E.children){let k=E.filteredChildren||0;k+=getTotalItems(E.children);v.push({...E,children:undefined,filteredChildren:k})}else{v.push(E)}}return v};const spaceLimited=(k,v,E=false)=>{if(v<1){return{children:undefined,filteredChildren:getTotalItems(k)}}let P=undefined;let R=undefined;const L=[];const N=[];const q=[];let ae=0;for(const v of k){if(!v.children&&!v.filteredChildren){q.push(v)}else{L.push(v);const k=getItemSize(v);N.push(k);ae+=k}}if(ae+q.length<=v){P=L.length>0?L.concat(q):q}else if(L.length===0){const k=v-(E?0:1);R=q.length-k;q.length=k;P=q}else{const le=L.length+(E||q.length===0?0:1);if(le0){const v=Math.max(...N);if(v{let E=0;if(k.length+1>=v)return[k.map((k=>{if(typeof k==="string"||!k.details)return k;E++;return{...k,details:""}})),E];let P=k.length;let R=k;let L=0;for(;Lv){R=L>0?k.slice(0,L):[];const N=P-v+1;const q=k[L++];R.push({...q,details:q.details.split("\n").slice(0,-N).join("\n"),filteredDetails:N});E=k.length-L;for(;L{let E=0;for(const v of k){E+=v.size}return{size:E}};const moduleGroup=(k,v)=>{let E=0;const P={};for(const v of k){E+=v.size;for(const k of Object.keys(v.sizes)){P[k]=(P[k]||0)+v.sizes[k]}}return{size:E,sizes:P}};const reasonGroup=(k,v)=>{let E=false;for(const v of k){E=E||v.active}return{active:E}};const Je=/(\.[^.]+?)(?:\?|(?: \+ \d+ modules?)?$)/;const Ve=/(.+)[/\\][^/\\]+?(?:\?|(?: \+ \d+ modules?)?$)/;const Ke={_:(k,v,E)=>{const groupByFlag=(v,E)=>{k.push({getKeys:k=>k[v]?["1"]:undefined,getOptions:()=>({groupChildren:!E,force:E}),createGroup:(k,P,R)=>E?{type:"assets by status",[v]:!!k,filteredChildren:R.length,...assetGroup(P,R)}:{type:"assets by status",[v]:!!k,children:P,...assetGroup(P,R)}})};const{groupAssetsByEmitStatus:P,groupAssetsByPath:R,groupAssetsByExtension:L}=E;if(P){groupByFlag("emitted");groupByFlag("comparedForEmit");groupByFlag("isOverSizeLimit")}if(P||!E.cachedAssets){groupByFlag("cached",!E.cachedAssets)}if(R||L){k.push({getKeys:k=>{const v=L&&Je.exec(k.name);const E=v?v[1]:"";const P=R&&Ve.exec(k.name);const N=P?P[1].split(/[/\\]/):[];const q=[];if(R){q.push(".");if(E)q.push(N.length?`${N.join("/")}/*${E}`:`*${E}`);while(N.length>0){q.push(N.join("/")+"/");N.pop()}}else{if(E)q.push(`*${E}`)}return q},createGroup:(k,v,E)=>({type:R?"assets by path":"assets by extension",name:k,children:v,...assetGroup(v,E)})})}},groupAssetsByInfo:(k,v,E)=>{const groupByAssetInfoFlag=v=>{k.push({getKeys:k=>k.info&&k.info[v]?["1"]:undefined,createGroup:(k,E,P)=>({type:"assets by info",info:{[v]:!!k},children:E,...assetGroup(E,P)})})};groupByAssetInfoFlag("immutable");groupByAssetInfoFlag("development");groupByAssetInfoFlag("hotModuleReplacement")},groupAssetsByChunk:(k,v,E)=>{const groupByNames=v=>{k.push({getKeys:k=>k[v],createGroup:(k,E,P)=>({type:"assets by chunk",[v]:[k],children:E,...assetGroup(E,P)})})};groupByNames("chunkNames");groupByNames("auxiliaryChunkNames");groupByNames("chunkIdHints");groupByNames("auxiliaryChunkIdHints")},excludeAssets:(k,v,{excludeAssets:E})=>{k.push({getKeys:k=>{const v=k.name;const P=E.some((E=>E(v,k)));if(P)return["excluded"]},getOptions:()=>({groupChildren:false,force:true}),createGroup:(k,v,E)=>({type:"hidden assets",filteredChildren:E.length,...assetGroup(v,E)})})}};const MODULES_GROUPERS=k=>({_:(k,v,E)=>{const groupByFlag=(v,E,P)=>{k.push({getKeys:k=>k[v]?["1"]:undefined,getOptions:()=>({groupChildren:!P,force:P}),createGroup:(k,R,L)=>({type:E,[v]:!!k,...P?{filteredChildren:L.length}:{children:R},...moduleGroup(R,L)})})};const{groupModulesByCacheStatus:P,groupModulesByLayer:L,groupModulesByAttributes:N,groupModulesByType:q,groupModulesByPath:ae,groupModulesByExtension:le}=E;if(N){groupByFlag("errors","modules with errors");groupByFlag("warnings","modules with warnings");groupByFlag("assets","modules with assets");groupByFlag("optional","optional modules")}if(P){groupByFlag("cacheable","cacheable modules");groupByFlag("built","built modules");groupByFlag("codeGenerated","code generated modules")}if(P||!E.cachedModules){groupByFlag("cached","cached modules",!E.cachedModules)}if(N||!E.orphanModules){groupByFlag("orphan","orphan modules",!E.orphanModules)}if(N||!E.dependentModules){groupByFlag("dependent","dependent modules",!E.dependentModules)}if(q||!E.runtimeModules){k.push({getKeys:k=>{if(!k.moduleType)return;if(q){return[k.moduleType.split("/",1)[0]]}else if(k.moduleType===R){return[R]}},getOptions:k=>{const v=k===R&&!E.runtimeModules;return{groupChildren:!v,force:v}},createGroup:(k,v,P)=>{const L=k===R&&!E.runtimeModules;return{type:`${k} modules`,moduleType:k,...L?{filteredChildren:P.length}:{children:v},...moduleGroup(v,P)}}})}if(L){k.push({getKeys:k=>[k.layer],createGroup:(k,v,E)=>({type:"modules by layer",layer:k,children:v,...moduleGroup(v,E)})})}if(ae||le){k.push({getKeys:k=>{if(!k.name)return;const v=Be(k.name.split("!").pop()).path;const E=/^data:[^,;]+/.exec(v);if(E)return[E[0]];const P=le&&Je.exec(v);const R=P?P[1]:"";const L=ae&&Ve.exec(v);const N=L?L[1].split(/[/\\]/):[];const q=[];if(ae){if(R)q.push(N.length?`${N.join("/")}/*${R}`:`*${R}`);while(N.length>0){q.push(N.join("/")+"/");N.pop()}}else{if(R)q.push(`*${R}`)}return q},createGroup:(k,v,E)=>{const P=k.startsWith("data:");return{type:P?"modules by mime type":ae?"modules by path":"modules by extension",name:P?k.slice(5):k,children:v,...moduleGroup(v,E)}}})}},excludeModules:(v,E,{excludeModules:P})=>{v.push({getKeys:v=>{const E=v.name;if(E){const R=P.some((P=>P(E,v,k)));if(R)return["1"]}},getOptions:()=>({groupChildren:false,force:true}),createGroup:(k,v,E)=>({type:"hidden modules",filteredChildren:v.length,...moduleGroup(v,E)})})}});const Ye={"compilation.assets":Ke,"asset.related":Ke,"compilation.modules":MODULES_GROUPERS("module"),"chunk.modules":MODULES_GROUPERS("chunk"),"chunk.rootModules":MODULES_GROUPERS("root-of-chunk"),"module.modules":MODULES_GROUPERS("nested"),"module.reasons":{groupReasonsByOrigin:k=>{k.push({getKeys:k=>[k.module],createGroup:(k,v,E)=>({type:"from origin",module:k,children:v,...reasonGroup(v,E)})})}}};const normalizeFieldKey=k=>{if(k[0]==="!"){return k.slice(1)}return k};const sortOrderRegular=k=>{if(k[0]==="!"){return false}return true};const sortByField=k=>{if(!k){const noSort=(k,v)=>0;return noSort}const v=normalizeFieldKey(k);let E=Te((k=>k[v]),Ie);const P=sortOrderRegular(k);if(!P){const k=E;E=(v,E)=>k(E,v)}return E};const Xe={assetsSort:(k,v,{assetsSort:E})=>{k.push(sortByField(E))},_:k=>{k.push(Te((k=>k.name),Ie))}};const Ze={"compilation.chunks":{chunksSort:(k,v,{chunksSort:E})=>{k.push(sortByField(E))}},"compilation.modules":{modulesSort:(k,v,{modulesSort:E})=>{k.push(sortByField(E))}},"chunk.modules":{chunkModulesSort:(k,v,{chunkModulesSort:E})=>{k.push(sortByField(E))}},"module.modules":{nestedModulesSort:(k,v,{nestedModulesSort:E})=>{k.push(sortByField(E))}},"compilation.assets":Xe,"asset.related":Xe};const iterateConfig=(k,v,E)=>{for(const P of Object.keys(k)){const R=k[P];for(const k of Object.keys(R)){if(k!=="_"){if(k.startsWith("!")){if(v[k.slice(1)])continue}else{const E=v[k];if(E===false||E===undefined||Array.isArray(E)&&E.length===0)continue}}E(P,R[k])}}};const et={"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 mergeToObject=k=>{const v=Object.create(null);for(const E of k){v[E.name]=E}return v};const tt={"compilation.entrypoints":mergeToObject,"compilation.namedChunkGroups":mergeToObject};class DefaultStatsFactoryPlugin{apply(k){k.hooks.compilation.tap("DefaultStatsFactoryPlugin",(k=>{k.hooks.statsFactory.tap("DefaultStatsFactoryPlugin",((v,E,P)=>{iterateConfig(Ue,E,((k,P)=>{v.hooks.extract.for(k).tap("DefaultStatsFactoryPlugin",((k,R,L)=>P(k,R,L,E,v)))}));iterateConfig(Ge,E,((k,P)=>{v.hooks.filter.for(k).tap("DefaultStatsFactoryPlugin",((k,v,R,L)=>P(k,v,E,R,L)))}));iterateConfig(He,E,((k,P)=>{v.hooks.filterResults.for(k).tap("DefaultStatsFactoryPlugin",((k,v,R,L)=>P(k,v,E,R,L)))}));iterateConfig(Qe,E,((k,P)=>{v.hooks.sort.for(k).tap("DefaultStatsFactoryPlugin",((k,v)=>P(k,v,E)))}));iterateConfig(Ze,E,((k,P)=>{v.hooks.sortResults.for(k).tap("DefaultStatsFactoryPlugin",((k,v)=>P(k,v,E)))}));iterateConfig(Ye,E,((k,P)=>{v.hooks.groupResults.for(k).tap("DefaultStatsFactoryPlugin",((k,v)=>P(k,v,E)))}));for(const k of Object.keys(et)){const E=et[k];v.hooks.getItemName.for(k).tap("DefaultStatsFactoryPlugin",(()=>E))}for(const k of Object.keys(tt)){const E=tt[k];v.hooks.merge.for(k).tap("DefaultStatsFactoryPlugin",E)}if(E.children){if(Array.isArray(E.children)){v.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",((v,{_index:R})=>{if(RR))}}}))}))}}k.exports=DefaultStatsFactoryPlugin},8808:function(k,v,E){"use strict";const P=E(91227);const applyDefaults=(k,v)=>{for(const E of Object.keys(v)){if(typeof k[E]==="undefined"){k[E]=v[E]}}};const R={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,errorsSpace:Infinity,warningsSpace:Infinity,modulesSpace:Infinity,chunkModulesSpace:Infinity,assetsSpace:Infinity,reasonsSpace: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,errorsSpace:1e3,warningsSpace:1e3,modulesSpace:1e3,assetsSpace:1e3,reasonsSpace:1e3},minimal:{all:false,version:true,timings:true,modules:true,errorsSpace:0,warningsSpace:0,modulesSpace:0,assets:true,assetsSpace:0,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},"errors-only":{all:false,errors:true,errorsCount:true,errorsSpace:Infinity,moduleTrace:true,logging:"error"},"errors-warnings":{all:false,errors:true,errorsCount:true,errorsSpace:Infinity,warnings:true,warningsCount:true,warningsSpace:Infinity,logging:"warn"},summary:{all:false,version:true,errorsCount:true,warningsCount:true},none:{all:false}};const NORMAL_ON=({all:k})=>k!==false;const NORMAL_OFF=({all:k})=>k===true;const ON_FOR_TO_STRING=({all:k},{forToString:v})=>v?k!==false:k===true;const OFF_FOR_TO_STRING=({all:k},{forToString:v})=>v?k===true:k!==false;const AUTO_FOR_TO_STRING=({all:k},{forToString:v})=>{if(k===false)return false;if(k===true)return true;if(v)return"auto";return true};const L={context:(k,v,E)=>E.compiler.context,requestShortener:(k,v,E)=>E.compiler.context===k.context?E.requestShortener:new P(k.context,E.compiler.root),performance:NORMAL_ON,hash:OFF_FOR_TO_STRING,env:NORMAL_OFF,version:NORMAL_ON,timings:NORMAL_ON,builtAt:OFF_FOR_TO_STRING,assets:NORMAL_ON,entrypoints:AUTO_FOR_TO_STRING,chunkGroups:OFF_FOR_TO_STRING,chunkGroupAuxiliary:OFF_FOR_TO_STRING,chunkGroupChildren:OFF_FOR_TO_STRING,chunkGroupMaxAssets:(k,{forToString:v})=>v?5:Infinity,chunks:OFF_FOR_TO_STRING,chunkRelations:OFF_FOR_TO_STRING,chunkModules:({all:k,modules:v})=>{if(k===false)return false;if(k===true)return true;if(v)return false;return true},dependentModules:OFF_FOR_TO_STRING,chunkOrigins:OFF_FOR_TO_STRING,ids:OFF_FOR_TO_STRING,modules:({all:k,chunks:v,chunkModules:E},{forToString:P})=>{if(k===false)return false;if(k===true)return true;if(P&&v&&E)return false;return true},nestedModules:OFF_FOR_TO_STRING,groupModulesByType:ON_FOR_TO_STRING,groupModulesByCacheStatus:ON_FOR_TO_STRING,groupModulesByLayer:ON_FOR_TO_STRING,groupModulesByAttributes:ON_FOR_TO_STRING,groupModulesByPath:ON_FOR_TO_STRING,groupModulesByExtension:ON_FOR_TO_STRING,modulesSpace:(k,{forToString:v})=>v?15:Infinity,chunkModulesSpace:(k,{forToString:v})=>v?10:Infinity,nestedModulesSpace:(k,{forToString:v})=>v?10:Infinity,relatedAssets:OFF_FOR_TO_STRING,groupAssetsByEmitStatus:ON_FOR_TO_STRING,groupAssetsByInfo:ON_FOR_TO_STRING,groupAssetsByPath:ON_FOR_TO_STRING,groupAssetsByExtension:ON_FOR_TO_STRING,groupAssetsByChunk:ON_FOR_TO_STRING,assetsSpace:(k,{forToString:v})=>v?15:Infinity,orphanModules:OFF_FOR_TO_STRING,runtimeModules:({all:k,runtime:v},{forToString:E})=>v!==undefined?v:E?k===true:k!==false,cachedModules:({all:k,cached:v},{forToString:E})=>v!==undefined?v:E?k===true:k!==false,moduleAssets:OFF_FOR_TO_STRING,depth:OFF_FOR_TO_STRING,cachedAssets:OFF_FOR_TO_STRING,reasons:OFF_FOR_TO_STRING,reasonsSpace:(k,{forToString:v})=>v?15:Infinity,groupReasonsByOrigin:ON_FOR_TO_STRING,usedExports:OFF_FOR_TO_STRING,providedExports:OFF_FOR_TO_STRING,optimizationBailout:OFF_FOR_TO_STRING,children:OFF_FOR_TO_STRING,source:NORMAL_OFF,moduleTrace:NORMAL_ON,errors:NORMAL_ON,errorsCount:NORMAL_ON,errorDetails:AUTO_FOR_TO_STRING,errorStack:OFF_FOR_TO_STRING,warnings:NORMAL_ON,warningsCount:NORMAL_ON,publicPath:OFF_FOR_TO_STRING,logging:({all:k},{forToString:v})=>v&&k!==false?"info":false,loggingDebug:()=>[],loggingTrace:OFF_FOR_TO_STRING,excludeModules:()=>[],excludeAssets:()=>[],modulesSort:()=>"depth",chunkModulesSort:()=>"name",nestedModulesSort:()=>false,chunksSort:()=>false,assetsSort:()=>"!size",outputPath:OFF_FOR_TO_STRING,colors:()=>false};const normalizeFilter=k=>{if(typeof k==="string"){const v=new RegExp(`[\\\\/]${k.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return k=>v.test(k)}if(k&&typeof k==="object"&&typeof k.test==="function"){return v=>k.test(v)}if(typeof k==="function"){return k}if(typeof k==="boolean"){return()=>k}};const N={excludeModules:k=>{if(!Array.isArray(k)){k=k?[k]:[]}return k.map(normalizeFilter)},excludeAssets:k=>{if(!Array.isArray(k)){k=k?[k]:[]}return k.map(normalizeFilter)},warningsFilter:k=>{if(!Array.isArray(k)){k=k?[k]:[]}return k.map((k=>{if(typeof k==="string"){return(v,E)=>E.includes(k)}if(k instanceof RegExp){return(v,E)=>k.test(E)}if(typeof k==="function"){return k}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${k})`)}))},logging:k=>{if(k===true)k="log";return k},loggingDebug:k=>{if(!Array.isArray(k)){k=k?[k]:[]}return k.map(normalizeFilter)}};class DefaultStatsPresetPlugin{apply(k){k.hooks.compilation.tap("DefaultStatsPresetPlugin",(k=>{for(const v of Object.keys(R)){const E=R[v];k.hooks.statsPreset.for(v).tap("DefaultStatsPresetPlugin",((k,v)=>{applyDefaults(k,E)}))}k.hooks.statsNormalize.tap("DefaultStatsPresetPlugin",((v,E)=>{for(const P of Object.keys(L)){if(v[P]===undefined)v[P]=L[P](v,E,k)}for(const k of Object.keys(N)){v[k]=N[k](v[k])}}))}))}}k.exports=DefaultStatsPresetPlugin},81363:function(k,v,E){"use strict";const P=16;const R=80;const plural=(k,v,E)=>k===1?v:E;const printSizes=(k,{formatSize:v=(k=>`${k}`)})=>{const E=Object.keys(k);if(E.length>1){return E.map((E=>`${v(k[E])} (${E})`)).join(" ")}else if(E.length===1){return v(k[E[0]])}};const getResourceName=k=>{const v=/^data:[^,]+,/.exec(k);if(!v)return k;const E=v[0].length+P;if(k.length{const[,v,E]=/^(.*!)?([^!]*)$/.exec(k);if(E.length>R){const k=`${E.slice(0,Math.min(E.length-14,R))}...(truncated)`;return[v,getResourceName(k)]}return[v,getResourceName(E)]};const mapLines=(k,v)=>k.split("\n").map(v).join("\n");const twoDigit=k=>k>=10?`${k}`:`0${k}`;const isValidId=k=>typeof k==="number"||k;const moreCount=(k,v)=>k&&k.length>0?`+ ${v}`:`${v}`;const L={"compilation.summary!":(k,{type:v,bold:E,green:P,red:R,yellow:L,formatDateTime:N,formatTime:q,compilation:{name:ae,hash:le,version:pe,time:me,builtAt:ye,errorsCount:_e,warningsCount:Ie}})=>{const Me=v==="compilation.summary!";const Te=Ie>0?L(`${Ie} ${plural(Ie,"warning","warnings")}`):"";const je=_e>0?R(`${_e} ${plural(_e,"error","errors")}`):"";const Ne=Me&&me?` in ${q(me)}`:"";const Be=le?` (${le})`:"";const qe=Me&&ye?`${N(ye)}: `:"";const Ue=Me&&pe?`webpack ${pe}`:"";const Ge=Me&&ae?E(ae):ae?`Child ${E(ae)}`:Me?"":"Child";const He=Ge&&Ue?`${Ge} (${Ue})`:Ue||Ge||"webpack";let We;if(je&&Te){We=`compiled with ${je} and ${Te}`}else if(je){We=`compiled with ${je}`}else if(Te){We=`compiled with ${Te}`}else if(_e===0&&Ie===0){We=`compiled ${P("successfully")}`}else{We=`compiled`}if(qe||Ue||je||Te||_e===0&&Ie===0||Ne||Be)return`${qe}${He} ${We}${Ne}${Be}`},"compilation.filteredWarningDetailsCount":k=>k?`${k} ${plural(k,"warning has","warnings have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`:undefined,"compilation.filteredErrorDetailsCount":(k,{yellow:v})=>k?v(`${k} ${plural(k,"error has","errors have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`):undefined,"compilation.env":(k,{bold:v})=>k?`Environment (--env): ${v(JSON.stringify(k,null,2))}`:undefined,"compilation.publicPath":(k,{bold:v})=>`PublicPath: ${v(k||"(none)")}`,"compilation.entrypoints":(k,v,E)=>Array.isArray(k)?undefined:E.print(v.type,Object.values(k),{...v,chunkGroupKind:"Entrypoint"}),"compilation.namedChunkGroups":(k,v,E)=>{if(!Array.isArray(k)){const{compilation:{entrypoints:P}}=v;let R=Object.values(k);if(P){R=R.filter((k=>!Object.prototype.hasOwnProperty.call(P,k.name)))}return E.print(v.type,R,{...v,chunkGroupKind:"Chunk Group"})}},"compilation.assetsByChunkName":()=>"","compilation.filteredModules":(k,{compilation:{modules:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"module","modules")}`:undefined,"compilation.filteredAssets":(k,{compilation:{assets:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"asset","assets")}`:undefined,"compilation.logging":(k,v,E)=>Array.isArray(k)?undefined:E.print(v.type,Object.entries(k).map((([k,v])=>({...v,name:k}))),v),"compilation.warningsInChildren!":(k,{yellow:v,compilation:E})=>{if(!E.children&&E.warningsCount>0&&E.warnings){const k=E.warningsCount-E.warnings.length;if(k>0){return v(`${k} ${plural(k,"WARNING","WARNINGS")} in child compilations${E.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"compilation.errorsInChildren!":(k,{red:v,compilation:E})=>{if(!E.children&&E.errorsCount>0&&E.errors){const k=E.errorsCount-E.errors.length;if(k>0){return v(`${k} ${plural(k,"ERROR","ERRORS")} in child compilations${E.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"asset.type":k=>k,"asset.name":(k,{formatFilename:v,asset:{isOverSizeLimit:E}})=>v(k,E),"asset.size":(k,{asset:{isOverSizeLimit:v},yellow:E,green:P,formatSize:R})=>v?E(R(k)):R(k),"asset.emitted":(k,{green:v,formatFlag:E})=>k?v(E("emitted")):undefined,"asset.comparedForEmit":(k,{yellow:v,formatFlag:E})=>k?v(E("compared for emit")):undefined,"asset.cached":(k,{green:v,formatFlag:E})=>k?v(E("cached")):undefined,"asset.isOverSizeLimit":(k,{yellow:v,formatFlag:E})=>k?v(E("big")):undefined,"asset.info.immutable":(k,{green:v,formatFlag:E})=>k?v(E("immutable")):undefined,"asset.info.javascriptModule":(k,{formatFlag:v})=>k?v("javascript module"):undefined,"asset.info.sourceFilename":(k,{formatFlag:v})=>k?v(k===true?"from source file":`from: ${k}`):undefined,"asset.info.development":(k,{green:v,formatFlag:E})=>k?v(E("dev")):undefined,"asset.info.hotModuleReplacement":(k,{green:v,formatFlag:E})=>k?v(E("hmr")):undefined,"asset.separator!":()=>"\n","asset.filteredRelated":(k,{asset:{related:v}})=>k>0?`${moreCount(v,k)} related ${plural(k,"asset","assets")}`:undefined,"asset.filteredChildren":(k,{asset:{children:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"asset","assets")}`:undefined,assetChunk:(k,{formatChunkId:v})=>v(k),assetChunkName:k=>k,assetChunkIdHint:k=>k,"module.type":k=>k!=="module"?k:undefined,"module.id":(k,{formatModuleId:v})=>isValidId(k)?v(k):undefined,"module.name":(k,{bold:v})=>{const[E,P]=getModuleName(k);return`${E||""}${v(P||"")}`},"module.identifier":k=>undefined,"module.layer":(k,{formatLayer:v})=>k?v(k):undefined,"module.sizes":printSizes,"module.chunks[]":(k,{formatChunkId:v})=>v(k),"module.depth":(k,{formatFlag:v})=>k!==null?v(`depth ${k}`):undefined,"module.cacheable":(k,{formatFlag:v,red:E})=>k===false?E(v("not cacheable")):undefined,"module.orphan":(k,{formatFlag:v,yellow:E})=>k?E(v("orphan")):undefined,"module.runtime":(k,{formatFlag:v,yellow:E})=>k?E(v("runtime")):undefined,"module.optional":(k,{formatFlag:v,yellow:E})=>k?E(v("optional")):undefined,"module.dependent":(k,{formatFlag:v,cyan:E})=>k?E(v("dependent")):undefined,"module.built":(k,{formatFlag:v,yellow:E})=>k?E(v("built")):undefined,"module.codeGenerated":(k,{formatFlag:v,yellow:E})=>k?E(v("code generated")):undefined,"module.buildTimeExecuted":(k,{formatFlag:v,green:E})=>k?E(v("build time executed")):undefined,"module.cached":(k,{formatFlag:v,green:E})=>k?E(v("cached")):undefined,"module.assets":(k,{formatFlag:v,magenta:E})=>k&&k.length?E(v(`${k.length} ${plural(k.length,"asset","assets")}`)):undefined,"module.warnings":(k,{formatFlag:v,yellow:E})=>k===true?E(v("warnings")):k?E(v(`${k} ${plural(k,"warning","warnings")}`)):undefined,"module.errors":(k,{formatFlag:v,red:E})=>k===true?E(v("errors")):k?E(v(`${k} ${plural(k,"error","errors")}`)):undefined,"module.providedExports":(k,{formatFlag:v,cyan:E})=>{if(Array.isArray(k)){if(k.length===0)return E(v("no exports"));return E(v(`exports: ${k.join(", ")}`))}},"module.usedExports":(k,{formatFlag:v,cyan:E,module:P})=>{if(k!==true){if(k===null)return E(v("used exports unknown"));if(k===false)return E(v("module unused"));if(Array.isArray(k)){if(k.length===0)return E(v("no exports used"));const R=Array.isArray(P.providedExports)?P.providedExports.length:null;if(R!==null&&R===k.length){return E(v("all exports used"))}else{return E(v(`only some exports used: ${k.join(", ")}`))}}}},"module.optimizationBailout[]":(k,{yellow:v})=>v(k),"module.issuerPath":(k,{module:v})=>v.profile?undefined:"","module.profile":k=>undefined,"module.filteredModules":(k,{module:{modules:v}})=>k>0?`${moreCount(v,k)} nested ${plural(k,"module","modules")}`:undefined,"module.filteredReasons":(k,{module:{reasons:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"reason","reasons")}`:undefined,"module.filteredChildren":(k,{module:{children:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"module","modules")}`:undefined,"module.separator!":()=>"\n","moduleIssuer.id":(k,{formatModuleId:v})=>v(k),"moduleIssuer.profile.total":(k,{formatTime:v})=>v(k),"moduleReason.type":k=>k,"moduleReason.userRequest":(k,{cyan:v})=>v(getResourceName(k)),"moduleReason.moduleId":(k,{formatModuleId:v})=>isValidId(k)?v(k):undefined,"moduleReason.module":(k,{magenta:v})=>v(k),"moduleReason.loc":k=>k,"moduleReason.explanation":(k,{cyan:v})=>v(k),"moduleReason.active":(k,{formatFlag:v})=>k?undefined:v("inactive"),"moduleReason.resolvedModule":(k,{magenta:v})=>v(k),"moduleReason.filteredChildren":(k,{moduleReason:{children:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"reason","reasons")}`:undefined,"module.profile.total":(k,{formatTime:v})=>v(k),"module.profile.resolving":(k,{formatTime:v})=>`resolving: ${v(k)}`,"module.profile.restoring":(k,{formatTime:v})=>`restoring: ${v(k)}`,"module.profile.integration":(k,{formatTime:v})=>`integration: ${v(k)}`,"module.profile.building":(k,{formatTime:v})=>`building: ${v(k)}`,"module.profile.storing":(k,{formatTime:v})=>`storing: ${v(k)}`,"module.profile.additionalResolving":(k,{formatTime:v})=>k?`additional resolving: ${v(k)}`:undefined,"module.profile.additionalIntegration":(k,{formatTime:v})=>k?`additional integration: ${v(k)}`:undefined,"chunkGroup.kind!":(k,{chunkGroupKind:v})=>v,"chunkGroup.separator!":()=>"\n","chunkGroup.name":(k,{bold:v})=>v(k),"chunkGroup.isOverSizeLimit":(k,{formatFlag:v,yellow:E})=>k?E(v("big")):undefined,"chunkGroup.assetsSize":(k,{formatSize:v})=>k?v(k):undefined,"chunkGroup.auxiliaryAssetsSize":(k,{formatSize:v})=>k?`(${v(k)})`:undefined,"chunkGroup.filteredAssets":(k,{chunkGroup:{assets:v}})=>k>0?`${moreCount(v,k)} ${plural(k,"asset","assets")}`:undefined,"chunkGroup.filteredAuxiliaryAssets":(k,{chunkGroup:{auxiliaryAssets:v}})=>k>0?`${moreCount(v,k)} auxiliary ${plural(k,"asset","assets")}`:undefined,"chunkGroup.is!":()=>"=","chunkGroupAsset.name":(k,{green:v})=>v(k),"chunkGroupAsset.size":(k,{formatSize:v,chunkGroup:E})=>E.assets.length>1||E.auxiliaryAssets&&E.auxiliaryAssets.length>0?v(k):undefined,"chunkGroup.children":(k,v,E)=>Array.isArray(k)?undefined:E.print(v.type,Object.keys(k).map((v=>({type:v,children:k[v]}))),v),"chunkGroupChildGroup.type":k=>`${k}:`,"chunkGroupChild.assets[]":(k,{formatFilename:v})=>v(k),"chunkGroupChild.chunks[]":(k,{formatChunkId:v})=>v(k),"chunkGroupChild.name":k=>k?`(name: ${k})`:undefined,"chunk.id":(k,{formatChunkId:v})=>v(k),"chunk.files[]":(k,{formatFilename:v})=>v(k),"chunk.names[]":k=>k,"chunk.idHints[]":k=>k,"chunk.runtime[]":k=>k,"chunk.sizes":(k,v)=>printSizes(k,v),"chunk.parents[]":(k,v)=>v.formatChunkId(k,"parent"),"chunk.siblings[]":(k,v)=>v.formatChunkId(k,"sibling"),"chunk.children[]":(k,v)=>v.formatChunkId(k,"child"),"chunk.childrenByOrder":(k,v,E)=>Array.isArray(k)?undefined:E.print(v.type,Object.keys(k).map((v=>({type:v,children:k[v]}))),v),"chunk.childrenByOrder[].type":k=>`${k}:`,"chunk.childrenByOrder[].children[]":(k,{formatChunkId:v})=>isValidId(k)?v(k):undefined,"chunk.entry":(k,{formatFlag:v,yellow:E})=>k?E(v("entry")):undefined,"chunk.initial":(k,{formatFlag:v,yellow:E})=>k?E(v("initial")):undefined,"chunk.rendered":(k,{formatFlag:v,green:E})=>k?E(v("rendered")):undefined,"chunk.recorded":(k,{formatFlag:v,green:E})=>k?E(v("recorded")):undefined,"chunk.reason":(k,{yellow:v})=>k?v(k):undefined,"chunk.filteredModules":(k,{chunk:{modules:v}})=>k>0?`${moreCount(v,k)} chunk ${plural(k,"module","modules")}`:undefined,"chunk.separator!":()=>"\n","chunkOrigin.request":k=>k,"chunkOrigin.moduleId":(k,{formatModuleId:v})=>isValidId(k)?v(k):undefined,"chunkOrigin.moduleName":(k,{bold:v})=>v(k),"chunkOrigin.loc":k=>k,"error.compilerPath":(k,{bold:v})=>k?v(`(${k})`):undefined,"error.chunkId":(k,{formatChunkId:v})=>isValidId(k)?v(k):undefined,"error.chunkEntry":(k,{formatFlag:v})=>k?v("entry"):undefined,"error.chunkInitial":(k,{formatFlag:v})=>k?v("initial"):undefined,"error.file":(k,{bold:v})=>v(k),"error.moduleName":(k,{bold:v})=>k.includes("!")?`${v(k.replace(/^(\s|\S)*!/,""))} (${k})`:`${v(k)}`,"error.loc":(k,{green:v})=>v(k),"error.message":(k,{bold:v,formatError:E})=>k.includes("[")?k:v(E(k)),"error.details":(k,{formatError:v})=>v(k),"error.filteredDetails":k=>k?`+ ${k} hidden lines`:undefined,"error.stack":k=>k,"error.moduleTrace":k=>undefined,"error.separator!":()=>"\n","loggingEntry(error).loggingEntry.message":(k,{red:v})=>mapLines(k,(k=>` ${v(k)}`)),"loggingEntry(warn).loggingEntry.message":(k,{yellow:v})=>mapLines(k,(k=>` ${v(k)}`)),"loggingEntry(info).loggingEntry.message":(k,{green:v})=>mapLines(k,(k=>` ${v(k)}`)),"loggingEntry(log).loggingEntry.message":(k,{bold:v})=>mapLines(k,(k=>` ${v(k)}`)),"loggingEntry(debug).loggingEntry.message":k=>mapLines(k,(k=>` ${k}`)),"loggingEntry(trace).loggingEntry.message":k=>mapLines(k,(k=>` ${k}`)),"loggingEntry(status).loggingEntry.message":(k,{magenta:v})=>mapLines(k,(k=>` ${v(k)}`)),"loggingEntry(profile).loggingEntry.message":(k,{magenta:v})=>mapLines(k,(k=>`

${v(k)}`)),"loggingEntry(profileEnd).loggingEntry.message":(k,{magenta:v})=>mapLines(k,(k=>`

${v(k)}`)),"loggingEntry(time).loggingEntry.message":(k,{magenta:v})=>mapLines(k,(k=>` ${v(k)}`)),"loggingEntry(group).loggingEntry.message":(k,{cyan:v})=>mapLines(k,(k=>`<-> ${v(k)}`)),"loggingEntry(groupCollapsed).loggingEntry.message":(k,{cyan:v})=>mapLines(k,(k=>`<+> ${v(k)}`)),"loggingEntry(clear).loggingEntry":()=>" -------","loggingEntry(groupCollapsed).loggingEntry.children":()=>"","loggingEntry.trace[]":k=>k?mapLines(k,(k=>`| ${k}`)):undefined,"moduleTraceItem.originName":k=>k,loggingGroup:k=>k.entries.length===0?"":undefined,"loggingGroup.debug":(k,{red:v})=>k?v("DEBUG"):undefined,"loggingGroup.name":(k,{bold:v})=>v(`LOG from ${k}`),"loggingGroup.separator!":()=>"\n","loggingGroup.filteredEntries":k=>k>0?`+ ${k} hidden lines`:undefined,"moduleTraceDependency.loc":k=>k};const N={"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","moduleReason.children[]":"moduleReason","module.issuerPath[]":"moduleIssuer","chunk.origins[]":"chunkOrigin","chunk.modules[]":"module","loggingGroup.entries[]":k=>`loggingEntry(${k.type}).loggingEntry`,"loggingEntry.children[]":k=>`loggingEntry(${k.type}).loggingEntry`,"error.moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const q=["compilerPath","chunkId","chunkEntry","chunkInitial","file","separator!","moduleName","loc","separator!","message","separator!","details","separator!","filteredDetails","separator!","stack","separator!","missing","separator!","moduleTrace"];const ae={compilation:["name","hash","version","time","builtAt","env","publicPath","assets","filteredAssets","entrypoints","namedChunkGroups","chunks","modules","filteredModules","children","logging","warnings","warningsInChildren!","filteredWarningDetailsCount","errors","errorsInChildren!","filteredErrorDetailsCount","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","layer","sizes","chunks","depth","cacheable","orphan","runtime","optional","dependent","built","codeGenerated","cached","assets","failed","warnings","errors","children","filteredChildren","providedExports","usedExports","optimizationBailout","reasons","filteredReasons","issuerPath","profile","modules","filteredModules"],moduleReason:["active","type","userRequest","moduleId","module","resolvedModule","loc","explanation","children","filteredChildren"],"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:q,warning:q,"chunk.childrenByOrder[]":["type","children"],loggingGroup:["debug","name","separator!","entries","separator!","filteredEntries"],loggingEntry:["message","trace","children"]};const itemsJoinOneLine=k=>k.filter(Boolean).join(" ");const itemsJoinOneLineBrackets=k=>k.length>0?`(${k.filter(Boolean).join(" ")})`:undefined;const itemsJoinMoreSpacing=k=>k.filter(Boolean).join("\n\n");const itemsJoinComma=k=>k.filter(Boolean).join(", ");const itemsJoinCommaBrackets=k=>k.length>0?`(${k.filter(Boolean).join(", ")})`:undefined;const itemsJoinCommaBracketsWithName=k=>v=>v.length>0?`(${k}: ${v.filter(Boolean).join(", ")})`:undefined;const le={"chunk.parents":itemsJoinOneLine,"chunk.siblings":itemsJoinOneLine,"chunk.children":itemsJoinOneLine,"chunk.names":itemsJoinCommaBrackets,"chunk.idHints":itemsJoinCommaBracketsWithName("id hint"),"chunk.runtime":itemsJoinCommaBracketsWithName("runtime"),"chunk.files":itemsJoinComma,"chunk.childrenByOrder":itemsJoinOneLine,"chunk.childrenByOrder[].children":itemsJoinOneLine,"chunkGroup.assets":itemsJoinOneLine,"chunkGroup.auxiliaryAssets":itemsJoinOneLineBrackets,"chunkGroupChildGroup.children":itemsJoinComma,"chunkGroupChild.assets":itemsJoinOneLine,"chunkGroupChild.auxiliaryAssets":itemsJoinOneLineBrackets,"asset.chunks":itemsJoinComma,"asset.auxiliaryChunks":itemsJoinCommaBrackets,"asset.chunkNames":itemsJoinCommaBracketsWithName("name"),"asset.auxiliaryChunkNames":itemsJoinCommaBracketsWithName("auxiliary name"),"asset.chunkIdHints":itemsJoinCommaBracketsWithName("id hint"),"asset.auxiliaryChunkIdHints":itemsJoinCommaBracketsWithName("auxiliary id hint"),"module.chunks":itemsJoinOneLine,"module.issuerPath":k=>k.filter(Boolean).map((k=>`${k} ->`)).join(" "),"compilation.errors":itemsJoinMoreSpacing,"compilation.warnings":itemsJoinMoreSpacing,"compilation.logging":itemsJoinMoreSpacing,"compilation.children":k=>indent(itemsJoinMoreSpacing(k)," "),"moduleTraceItem.dependencies":itemsJoinOneLine,"loggingEntry.children":k=>indent(k.filter(Boolean).join("\n")," ",false)};const joinOneLine=k=>k.map((k=>k.content)).filter(Boolean).join(" ");const joinInBrackets=k=>{const v=[];let E=0;for(const P of k){if(P.element==="separator!"){switch(E){case 0:case 1:E+=2;break;case 4:v.push(")");E=3;break}}if(!P.content)continue;switch(E){case 0:E=1;break;case 1:v.push(" ");break;case 2:v.push("(");E=4;break;case 3:v.push(" (");E=4;break;case 4:v.push(", ");break}v.push(P.content)}if(E===4)v.push(")");return v.join("")};const indent=(k,v,E)=>{const P=k.replace(/\n([^\n])/g,"\n"+v+"$1");if(E)return P;const R=k[0]==="\n"?"":v;return R+P};const joinExplicitNewLine=(k,v)=>{let E=true;let P=true;return k.map((k=>{if(!k||!k.content)return;let R=indent(k.content,P?"":v,!E);if(E){R=R.replace(/^\n+/,"")}if(!R)return;P=false;const L=E||R.startsWith("\n");E=R.endsWith("\n");return L?R:" "+R})).filter(Boolean).join("").trim()};const joinError=k=>(v,{red:E,yellow:P})=>`${k?E("ERROR"):P("WARNING")} in ${joinExplicitNewLine(v,"")}`;const pe={compilation:k=>{const v=[];let E=false;for(const P of k){if(!P.content)continue;const k=P.element==="warnings"||P.element==="filteredWarningDetailsCount"||P.element==="errors"||P.element==="filteredErrorDetailsCount"||P.element==="logging";if(v.length!==0){v.push(k||E?"\n\n":"\n")}v.push(P.content);E=k}if(E)v.push("\n");return v.join("")},asset:k=>joinExplicitNewLine(k.map((k=>{if((k.element==="related"||k.element==="children")&&k.content){return{...k,content:`\n${k.content}\n`}}return k}))," "),"asset.info":joinOneLine,module:(k,{module:v})=>{let E=false;return joinExplicitNewLine(k.map((k=>{switch(k.element){case"id":if(v.id===v.name){if(E)return false;if(k.content)E=true}break;case"name":if(E)return false;if(k.content)E=true;break;case"providedExports":case"usedExports":case"optimizationBailout":case"reasons":case"issuerPath":case"profile":case"children":case"modules":if(k.content){return{...k,content:`\n${k.content}\n`}}break}return k}))," ")},chunk:k=>{let v=false;return"chunk "+joinExplicitNewLine(k.filter((k=>{switch(k.element){case"entry":if(k.content)v=true;break;case"initial":if(v)return false;break}return true}))," ")},"chunk.childrenByOrder[]":k=>`(${joinOneLine(k)})`,chunkGroup:k=>joinExplicitNewLine(k," "),chunkGroupAsset:joinOneLine,chunkGroupChildGroup:joinOneLine,chunkGroupChild:joinOneLine,moduleReason:(k,{moduleReason:v})=>{let E=false;return joinExplicitNewLine(k.map((k=>{switch(k.element){case"moduleId":if(v.moduleId===v.module&&k.content)E=true;break;case"module":if(E)return false;break;case"resolvedModule":if(v.module===v.resolvedModule)return false;break;case"children":if(k.content){return{...k,content:`\n${k.content}\n`}}break}return k}))," ")},"module.profile":joinInBrackets,moduleIssuer:joinOneLine,chunkOrigin:k=>"> "+joinOneLine(k),"errors[].error":joinError(true),"warnings[].error":joinError(false),loggingGroup:k=>joinExplicitNewLine(k,"").trimEnd(),moduleTraceItem:k=>" @ "+joinOneLine(k),moduleTraceDependency:joinOneLine};const me={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const ye={formatChunkId:(k,{yellow:v},E)=>{switch(E){case"parent":return`<{${v(k)}}>`;case"sibling":return`={${v(k)}}=`;case"child":return`>{${v(k)}}<`;default:return`{${v(k)}}`}},formatModuleId:k=>`[${k}]`,formatFilename:(k,{green:v,yellow:E},P)=>(P?E:v)(k),formatFlag:k=>`[${k}]`,formatLayer:k=>`(in ${k})`,formatSize:E(3386).formatSize,formatDateTime:(k,{bold:v})=>{const E=new Date(k);const P=twoDigit;const R=`${E.getFullYear()}-${P(E.getMonth()+1)}-${P(E.getDate())}`;const L=`${P(E.getHours())}:${P(E.getMinutes())}:${P(E.getSeconds())}`;return`${R} ${v(L)}`},formatTime:(k,{timeReference:v,bold:E,green:P,yellow:R,red:L},N)=>{const q=" ms";if(v&&k!==v){const N=[v/2,v/4,v/8,v/16];if(k{if(k.includes("["))return k;const R=[{regExp:/(Did you mean .+)/g,format:v},{regExp:/(Set 'mode' option to 'development' or 'production')/g,format:v},{regExp:/(\(module has no exports\))/g,format:P},{regExp:/\(possible exports: (.+)\)/g,format:v},{regExp:/(?:^|\n)(.* doesn't exist)/g,format:P},{regExp:/('\w+' option has not been set)/g,format:P},{regExp:/(Emitted value instead of an instance of Error)/g,format:E},{regExp:/(Used? .+ instead)/gi,format:E},{regExp:/\b(deprecated|must|required)\b/g,format:E},{regExp:/\b(BREAKING CHANGE)\b/gi,format:P},{regExp:/\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi,format:P}];for(const{regExp:v,format:E}of R){k=k.replace(v,((k,v)=>k.replace(v,E(v))))}return k}};const _e={"module.modules":k=>indent(k,"| ")};const createOrder=(k,v)=>{const E=k.slice();const P=new Set(k);const R=new Set;k.length=0;for(const E of v){if(E.endsWith("!")||P.has(E)){k.push(E);R.add(E)}}for(const v of E){if(!R.has(v)){k.push(v)}}return k};class DefaultStatsPrinterPlugin{apply(k){k.hooks.compilation.tap("DefaultStatsPrinterPlugin",(k=>{k.hooks.statsPrinter.tap("DefaultStatsPrinterPlugin",((k,v,E)=>{k.hooks.print.for("compilation").tap("DefaultStatsPrinterPlugin",((k,E)=>{for(const k of Object.keys(me)){let P;if(v.colors){if(typeof v.colors==="object"&&typeof v.colors[k]==="string"){P=v.colors[k]}else{P=me[k]}}if(P){E[k]=k=>`${P}${typeof k==="string"?k.replace(/((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g,`$1${P}`):k}`}else{E[k]=k=>k}}for(const k of Object.keys(ye)){E[k]=(v,...P)=>ye[k](v,E,...P)}E.timeReference=k.time}));for(const v of Object.keys(L)){k.hooks.print.for(v).tap("DefaultStatsPrinterPlugin",((E,P)=>L[v](E,P,k)))}for(const v of Object.keys(ae)){const E=ae[v];k.hooks.sortElements.for(v).tap("DefaultStatsPrinterPlugin",((k,v)=>{createOrder(k,E)}))}for(const v of Object.keys(N)){const E=N[v];k.hooks.getItemName.for(v).tap("DefaultStatsPrinterPlugin",typeof E==="string"?()=>E:E)}for(const v of Object.keys(le)){const E=le[v];k.hooks.printItems.for(v).tap("DefaultStatsPrinterPlugin",E)}for(const v of Object.keys(pe)){const E=pe[v];k.hooks.printElements.for(v).tap("DefaultStatsPrinterPlugin",E)}for(const v of Object.keys(_e)){const E=_e[v];k.hooks.result.for(v).tap("DefaultStatsPrinterPlugin",E)}}))}))}}k.exports=DefaultStatsPrinterPlugin},12231:function(k,v,E){"use strict";const{HookMap:P,SyncBailHook:R,SyncWaterfallHook:L}=E(79846);const{concatComparators:N,keepOriginalOrder:q}=E(95648);const ae=E(53501);class StatsFactory{constructor(){this.hooks=Object.freeze({extract:new P((()=>new R(["object","data","context"]))),filter:new P((()=>new R(["item","context","index","unfilteredIndex"]))),sort:new P((()=>new R(["comparators","context"]))),filterSorted:new P((()=>new R(["item","context","index","unfilteredIndex"]))),groupResults:new P((()=>new R(["groupConfigs","context"]))),sortResults:new P((()=>new R(["comparators","context"]))),filterResults:new P((()=>new R(["item","context","index","unfilteredIndex"]))),merge:new P((()=>new R(["items","context"]))),result:new P((()=>new L(["result","context"]))),getItemName:new P((()=>new R(["item","context"]))),getItemFactory:new P((()=>new R(["item","context"])))});const k=this.hooks;this._caches={};for(const v of Object.keys(k)){this._caches[v]=new Map}this._inCreate=false}_getAllLevelHooks(k,v,E){const P=v.get(E);if(P!==undefined){return P}const R=[];const L=E.split(".");for(let v=0;v{for(const E of N){const P=R(E,k,v,q);if(P!==undefined){if(P)q++;return P}}q++;return true}))}create(k,v,E){if(this._inCreate){return this._create(k,v,E)}else{try{this._inCreate=true;return this._create(k,v,E)}finally{for(const k of Object.keys(this._caches))this._caches[k].clear();this._inCreate=false}}}_create(k,v,E){const P={...E,type:k,[k]:v};if(Array.isArray(v)){const E=this._forEachLevelFilter(this.hooks.filter,this._caches.filter,k,v,((k,v,E,R)=>k.call(v,P,E,R)),true);const R=[];this._forEachLevel(this.hooks.sort,this._caches.sort,k,(k=>k.call(R,P)));if(R.length>0){E.sort(N(...R,q(E)))}const L=this._forEachLevelFilter(this.hooks.filterSorted,this._caches.filterSorted,k,E,((k,v,E,R)=>k.call(v,P,E,R)),false);let le=L.map(((v,E)=>{const R={...P,_index:E};const L=this._forEachLevel(this.hooks.getItemName,this._caches.getItemName,`${k}[]`,(k=>k.call(v,R)));if(L)R[L]=v;const N=L?`${k}[].${L}`:`${k}[]`;const q=this._forEachLevel(this.hooks.getItemFactory,this._caches.getItemFactory,N,(k=>k.call(v,R)))||this;return q.create(N,v,R)}));const pe=[];this._forEachLevel(this.hooks.sortResults,this._caches.sortResults,k,(k=>k.call(pe,P)));if(pe.length>0){le.sort(N(...pe,q(le)))}const me=[];this._forEachLevel(this.hooks.groupResults,this._caches.groupResults,k,(k=>k.call(me,P)));if(me.length>0){le=ae(le,me)}const ye=this._forEachLevelFilter(this.hooks.filterResults,this._caches.filterResults,k,le,((k,v,E,R)=>k.call(v,P,E,R)),false);let _e=this._forEachLevel(this.hooks.merge,this._caches.merge,k,(k=>k.call(ye,P)));if(_e===undefined)_e=ye;return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,k,_e,((k,v)=>k.call(v,P)))}else{const E={};this._forEachLevel(this.hooks.extract,this._caches.extract,k,(k=>k.call(E,v,P)));return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,k,E,((k,v)=>k.call(v,P)))}}}k.exports=StatsFactory},54052:function(k,v,E){"use strict";const{HookMap:P,SyncWaterfallHook:R,SyncBailHook:L}=E(79846);class StatsPrinter{constructor(){this.hooks=Object.freeze({sortElements:new P((()=>new L(["elements","context"]))),printElements:new P((()=>new L(["printedElements","context"]))),sortItems:new P((()=>new L(["items","context"]))),getItemName:new P((()=>new L(["item","context"]))),printItems:new P((()=>new L(["printedItems","context"]))),print:new P((()=>new L(["object","context"]))),result:new P((()=>new R(["result","context"])))});this._levelHookCache=new Map;this._inPrint=false}_getAllLevelHooks(k,v){let E=this._levelHookCache.get(k);if(E===undefined){E=new Map;this._levelHookCache.set(k,E)}const P=E.get(v);if(P!==undefined){return P}const R=[];const L=v.split(".");for(let v=0;vk.call(v,P)));if(R===undefined){if(Array.isArray(v)){const E=v.slice();this._forEachLevel(this.hooks.sortItems,k,(k=>k.call(E,P)));const L=E.map(((v,E)=>{const R={...P,_index:E};const L=this._forEachLevel(this.hooks.getItemName,`${k}[]`,(k=>k.call(v,R)));if(L)R[L]=v;return this.print(L?`${k}[].${L}`:`${k}[]`,v,R)}));R=this._forEachLevel(this.hooks.printItems,k,(k=>k.call(L,P)));if(R===undefined){const k=L.filter(Boolean);if(k.length>0)R=k.join("\n")}}else if(v!==null&&typeof v==="object"){const E=Object.keys(v).filter((k=>v[k]!==undefined));this._forEachLevel(this.hooks.sortElements,k,(k=>k.call(E,P)));const L=E.map((E=>{const R=this.print(`${k}.${E}`,v[E],{...P,_parent:v,_element:E,[E]:v[E]});return{element:E,content:R}}));R=this._forEachLevel(this.hooks.printElements,k,(k=>k.call(L,P)));if(R===undefined){const k=L.map((k=>k.content)).filter(Boolean);if(k.length>0)R=k.join("\n")}}}return this._forEachLevelWaterfall(this.hooks.result,k,R,((k,v)=>k.call(v,P)))}}k.exports=StatsPrinter},68863:function(k,v){"use strict";v.equals=(k,v)=>{if(k.length!==v.length)return false;for(let E=0;Ek.reduce(((k,E)=>{k[v(E)?0:1].push(E);return k}),[[],[]])},12970:function(k){"use strict";class ArrayQueue{constructor(k){this._list=k?Array.from(k):[];this._listReversed=[]}get length(){return this._list.length+this._listReversed.length}clear(){this._list.length=0;this._listReversed.length=0}enqueue(k){this._list.push(k)}dequeue(){if(this._listReversed.length===0){if(this._list.length===0)return undefined;if(this._list.length===1)return this._list.pop();if(this._list.length<16)return this._list.shift();const k=this._listReversed;this._listReversed=this._list;this._listReversed.reverse();this._list=k}return this._listReversed.pop()}delete(k){const v=this._list.indexOf(k);if(v>=0){this._list.splice(v,1)}else{const v=this._listReversed.indexOf(k);if(v>=0)this._listReversed.splice(v,1)}}[Symbol.iterator](){let k=-1;let v=false;return{next:()=>{if(!v){k++;if(kk);this._entries=new Map;this._queued=new q;this._children=undefined;this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false;this._root=E?E._root:this;if(E){if(this._root._children===undefined){this._root._children=[this]}else{this._root._children.push(this)}}this.hooks={beforeAdd:new R(["item"]),added:new P(["item"]),beforeStart:new R(["item"]),started:new P(["item"]),result:new P(["item","error","result"])};this._ensureProcessing=this._ensureProcessing.bind(this)}add(k,v){if(this._stopped)return v(new N("Queue was stopped"));this.hooks.beforeAdd.callAsync(k,(E=>{if(E){v(L(E,`AsyncQueue(${this._name}).hooks.beforeAdd`));return}const P=this._getKey(k);const R=this._entries.get(P);if(R!==undefined){if(R.state===pe){if(me++>3){process.nextTick((()=>v(R.error,R.result)))}else{v(R.error,R.result)}me--}else if(R.callbacks===undefined){R.callbacks=[v]}else{R.callbacks.push(v)}return}const q=new AsyncQueueEntry(k,v);if(this._stopped){this.hooks.added.call(k);this._root._activeTasks++;process.nextTick((()=>this._handleResult(q,new N("Queue was stopped"))))}else{this._entries.set(P,q);this._queued.enqueue(q);const v=this._root;v._needProcessing=true;if(v._willEnsureProcessing===false){v._willEnsureProcessing=true;setImmediate(v._ensureProcessing)}this.hooks.added.call(k)}}))}invalidate(k){const v=this._getKey(k);const E=this._entries.get(v);this._entries.delete(v);if(E.state===ae){this._queued.delete(E)}}waitFor(k,v){const E=this._getKey(k);const P=this._entries.get(E);if(P===undefined){return v(new N("waitFor can only be called for an already started item"))}if(P.state===pe){process.nextTick((()=>v(P.error,P.result)))}else if(P.callbacks===undefined){P.callbacks=[v]}else{P.callbacks.push(v)}}stop(){this._stopped=true;const k=this._queued;this._queued=new q;const v=this._root;for(const E of k){this._entries.delete(this._getKey(E.item));v._activeTasks++;this._handleResult(E,new N("Queue was stopped"))}}increaseParallelism(){const k=this._root;k._parallelism++;if(k._willEnsureProcessing===false&&k._needProcessing){k._willEnsureProcessing=true;setImmediate(k._ensureProcessing)}}decreaseParallelism(){const k=this._root;k._parallelism--}isProcessing(k){const v=this._getKey(k);const E=this._entries.get(v);return E!==undefined&&E.state===le}isQueued(k){const v=this._getKey(k);const E=this._entries.get(v);return E!==undefined&&E.state===ae}isDone(k){const v=this._getKey(k);const E=this._entries.get(v);return E!==undefined&&E.state===pe}_ensureProcessing(){while(this._activeTasks0)return;if(this._children!==undefined){for(const k of this._children){while(this._activeTasks0)return}}if(!this._willEnsureProcessing)this._needProcessing=false}_startProcessing(k){this.hooks.beforeStart.callAsync(k.item,(v=>{if(v){this._handleResult(k,L(v,`AsyncQueue(${this._name}).hooks.beforeStart`));return}let E=false;try{this._processor(k.item,((v,P)=>{E=true;this._handleResult(k,v,P)}))}catch(v){if(E)throw v;this._handleResult(k,v,null)}this.hooks.started.call(k.item)}))}_handleResult(k,v,E){this.hooks.result.callAsync(k.item,v,E,(P=>{const R=P?L(P,`AsyncQueue(${this._name}).hooks.result`):v;const N=k.callback;const q=k.callbacks;k.state=pe;k.callback=undefined;k.callbacks=undefined;k.result=E;k.error=R;const ae=this._root;ae._activeTasks--;if(ae._willEnsureProcessing===false&&ae._needProcessing){ae._willEnsureProcessing=true;setImmediate(ae._ensureProcessing)}if(me++>3){process.nextTick((()=>{N(R,E);if(q!==undefined){for(const k of q){k(R,E)}}}))}else{N(R,E);if(q!==undefined){for(const k of q){k(R,E)}}}me--}))}clear(){this._entries.clear();this._queued.clear();this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false}}k.exports=AsyncQueue},40466:function(k,v,E){"use strict";class Hash{update(k,v){const P=E(60386);throw new P}digest(k){const v=E(60386);throw new v}}k.exports=Hash},54480:function(k,v){"use strict";const last=k=>{let v;for(const E of k)v=E;return v};const someInIterable=(k,v)=>{for(const E of k){if(v(E))return true}return false};const countIterable=k=>{let v=0;for(const E of k)v++;return v};v.last=last;v.someInIterable=someInIterable;v.countIterable=countIterable},50680:function(k,v,E){"use strict";const{first:P}=E(59959);const R=E(46081);class LazyBucketSortedSet{constructor(k,v,...E){this._getKey=k;this._innerArgs=E;this._leaf=E.length<=1;this._keys=new R(undefined,v);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(k){this.size++;this._unsortedItems.add(k)}_addInternal(k,v){let E=this._map.get(k);if(E===undefined){E=this._leaf?new R(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(k);this._map.set(k,E)}E.add(v)}delete(k){this.size--;if(this._unsortedItems.has(k)){this._unsortedItems.delete(k);return}const v=this._getKey(k);const E=this._map.get(v);E.delete(k);if(E.size===0){this._deleteKey(v)}}_deleteKey(k){this._keys.delete(k);this._map.delete(k)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const k of this._unsortedItems){const v=this._getKey(k);this._addInternal(v,k)}this._unsortedItems.clear()}this._keys.sort();const k=P(this._keys);const v=this._map.get(k);if(this._leaf){const E=v;E.sort();const R=P(E);E.delete(R);if(E.size===0){this._deleteKey(k)}return R}else{const E=v;const P=E.popFirst();if(E.size===0){this._deleteKey(k)}return P}}startUpdate(k){if(this._unsortedItems.has(k)){return v=>{if(v){this._unsortedItems.delete(k);this.size--;return}}}const v=this._getKey(k);if(this._leaf){const E=this._map.get(v);return P=>{if(P){this.size--;E.delete(k);if(E.size===0){this._deleteKey(v)}return}const R=this._getKey(k);if(v===R){E.add(k)}else{E.delete(k);if(E.size===0){this._deleteKey(v)}this._addInternal(R,k)}}}else{const E=this._map.get(v);const P=E.startUpdate(k);return R=>{if(R){this.size--;P(true);if(E.size===0){this._deleteKey(v)}return}const L=this._getKey(k);if(v===L){P()}else{P(true);if(E.size===0){this._deleteKey(v)}this._addInternal(L,k)}}}}_appendIterators(k){if(this._unsortedItems.size>0)k.push(this._unsortedItems[Symbol.iterator]());for(const v of this._keys){const E=this._map.get(v);if(this._leaf){const v=E;const P=v[Symbol.iterator]();k.push(P)}else{const v=E;v._appendIterators(k)}}}[Symbol.iterator](){const k=[];this._appendIterators(k);k.reverse();let v=k.pop();return{next:()=>{const E=v.next();if(E.done){if(k.length===0)return E;v=k.pop();return v.next()}return E}}}}k.exports=LazyBucketSortedSet},12359:function(k,v,E){"use strict";const P=E(58528);const merge=(k,v)=>{for(const E of v){for(const v of E){k.add(v)}}};const flatten=(k,v)=>{for(const E of v){if(E._set.size>0)k.add(E._set);if(E._needMerge){for(const v of E._toMerge){k.add(v)}flatten(k,E._toDeepMerge)}}};class LazySet{constructor(k){this._set=new Set(k);this._toMerge=new Set;this._toDeepMerge=[];this._needMerge=false;this._deopt=false}_flatten(){flatten(this._toMerge,this._toDeepMerge);this._toDeepMerge.length=0}_merge(){this._flatten();merge(this._set,this._toMerge);this._toMerge.clear();this._needMerge=false}_isEmpty(){return this._set.size===0&&this._toMerge.size===0&&this._toDeepMerge.length===0}get size(){if(this._needMerge)this._merge();return this._set.size}add(k){this._set.add(k);return this}addAll(k){if(this._deopt){const v=this._set;for(const E of k){v.add(E)}}else{if(k instanceof LazySet){if(k._isEmpty())return this;this._toDeepMerge.push(k);this._needMerge=true;if(this._toDeepMerge.length>1e5){this._flatten()}}else{this._toMerge.add(k);this._needMerge=true}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(k){if(this._needMerge)this._merge();return this._set.delete(k)}entries(){this._deopt=true;if(this._needMerge)this._merge();return this._set.entries()}forEach(k,v){this._deopt=true;if(this._needMerge)this._merge();this._set.forEach(k,v)}has(k){if(this._needMerge)this._merge();return this._set.has(k)}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:k}){if(this._needMerge)this._merge();k(this._set.size);for(const v of this._set)k(v)}static deserialize({read:k}){const v=k();const E=[];for(let P=0;P{const P=k.get(v);if(P!==undefined)return P;const R=E();k.set(v,R);return R}},99593:function(k,v,E){"use strict";const P=E(43759);class ParallelismFactorCalculator{constructor(){this._rangePoints=[];this._rangeCallbacks=[]}range(k,v,E){if(k===v)return E(1);this._rangePoints.push(k);this._rangePoints.push(v);this._rangeCallbacks.push(E)}calculate(){const k=Array.from(new Set(this._rangePoints)).sort(((k,v)=>k0));const E=[];for(let R=0;R{if(k.length===0)return new Set;if(k.length===1)return new Set(k[0]);let v=Infinity;let E=-1;for(let P=0;P{if(k.size{for(const E of k){if(v(E))return E}};const first=k=>{const v=k.values().next();return v.done?undefined:v.value};const combine=(k,v)=>{if(v.size===0)return k;if(k.size===0)return v;const E=new Set(k);for(const k of v)E.add(k);return E};v.intersect=intersect;v.isSubset=isSubset;v.find=find;v.first=first;v.combine=combine},46081:function(k){"use strict";const v=Symbol("not sorted");class SortableSet extends Set{constructor(k,E){super(k);this._sortFn=E;this._lastActiveSortFn=v;this._cache=undefined;this._cacheOrderIndependent=undefined}add(k){this._lastActiveSortFn=v;this._invalidateCache();this._invalidateOrderedCache();super.add(k);return this}delete(k){this._invalidateCache();this._invalidateOrderedCache();return super.delete(k)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(k){if(this.size<=1||k===this._lastActiveSortFn){return}const v=Array.from(this).sort(k);super.clear();for(let k=0;k0;v--){const E=this.stack[v-1];if(E.size>=k.size)break;this.stack[v]=E;this.stack[v-1]=k}}else{for(const[v,E]of k){this.map.set(v,E)}}}set(k,v){this.map.set(k,v)}delete(k){throw new Error("Items can't be deleted from a StackedCacheMap")}has(k){throw new Error("Checking StackedCacheMap.has before reading is inefficient, use StackedCacheMap.get and check for undefined")}get(k){for(const v of this.stack){const E=v.get(k);if(E!==undefined)return E}return this.map.get(k)}clear(){this.stack.length=0;this.map.clear()}get size(){let k=this.map.size;for(const v of this.stack){k+=v.size}return k}[Symbol.iterator](){const k=this.stack.map((k=>k[Symbol.iterator]()));let v=this.map[Symbol.iterator]();return{next(){let E=v.next();while(E.done&&k.length>0){v=k.pop();E=v.next()}return E}}}}k.exports=StackedCacheMap},25728:function(k){"use strict";const v=Symbol("tombstone");const E=Symbol("undefined");const extractPair=k=>{const P=k[0];const R=k[1];if(R===E||R===v){return[P,undefined]}else{return k}};class StackedMap{constructor(k){this.map=new Map;this.stack=k===undefined?[]:k.slice();this.stack.push(this.map)}set(k,v){this.map.set(k,v===undefined?E:v)}delete(k){if(this.stack.length>1){this.map.set(k,v)}else{this.map.delete(k)}}has(k){const E=this.map.get(k);if(E!==undefined){return E!==v}if(this.stack.length>1){for(let E=this.stack.length-2;E>=0;E--){const P=this.stack[E].get(k);if(P!==undefined){this.map.set(k,P);return P!==v}}this.map.set(k,v)}return false}get(k){const P=this.map.get(k);if(P!==undefined){return P===v||P===E?undefined:P}if(this.stack.length>1){for(let P=this.stack.length-2;P>=0;P--){const R=this.stack[P].get(k);if(R!==undefined){this.map.set(k,R);return R===v||R===E?undefined:R}}this.map.set(k,v)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const k of this.stack){for(const E of k){if(E[1]===v){this.map.delete(E[0])}else{this.map.set(E[0],E[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(),extractPair)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedMap(this.stack)}}k.exports=StackedMap},96181:function(k){"use strict";class StringXor{constructor(){this._value=undefined}add(k){const v=k.length;const E=this._value;if(E===undefined){const E=this._value=Buffer.allocUnsafe(v);for(let P=0;P0){this._iterator=this._set[Symbol.iterator]();const k=this._iterator.next().value;this._set.delete(...k);return k}return undefined}this._set.delete(...k.value);return k.value}}k.exports=TupleQueue},71307:function(k){"use strict";class TupleSet{constructor(k){this._map=new Map;this.size=0;if(k){for(const v of k){this.add(...v)}}}add(...k){let v=this._map;for(let E=0;E{const R=P.next();if(R.done){if(k.length===0)return false;v.pop();return next(k.pop())}const[L,N]=R.value;k.push(P);v.push(L);if(N instanceof Set){E=N[Symbol.iterator]();return true}else{return next(N[Symbol.iterator]())}};next(this._map[Symbol.iterator]());return{next(){while(E){const P=E.next();if(P.done){v.pop();if(!next(k.pop())){E=undefined}}else{return{done:false,value:v.concat(P.value)}}}return{done:true,value:undefined}}}}}k.exports=TupleSet},78296:function(k,v){"use strict";const E="\\".charCodeAt(0);const P="/".charCodeAt(0);const R="a".charCodeAt(0);const L="z".charCodeAt(0);const N="A".charCodeAt(0);const q="Z".charCodeAt(0);const ae="0".charCodeAt(0);const le="9".charCodeAt(0);const pe="+".charCodeAt(0);const me="-".charCodeAt(0);const ye=":".charCodeAt(0);const _e="#".charCodeAt(0);const Ie="?".charCodeAt(0);function getScheme(k){const v=k.charCodeAt(0);if((vL)&&(vq)){return undefined}let Me=1;let Te=k.charCodeAt(Me);while(Te>=R&&Te<=L||Te>=N&&Te<=q||Te>=ae&&Te<=le||Te===pe||Te===me){if(++Me===k.length)return undefined;Te=k.charCodeAt(Me)}if(Te!==ye)return undefined;if(Me===1){const v=Me+1typeof k==="object"&&k!==null;class WeakTupleMap{constructor(){this.f=0;this.v=undefined;this.m=undefined;this.w=undefined}set(...k){let v=this;for(let E=0;E{const L=["function ",k,"(a,l,h,",P.join(","),"){",R?"":"var i=",E?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];if(R){if(v.indexOf("c")<0){L.push(";if(x===y){return m}else if(x<=y){")}else{L.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){")}}else{L.push(";if(",v,"){i=m;")}if(E){L.push("l=m+1}else{h=m-1}")}else{L.push("h=m-1}else{l=m+1}")}L.push("}");if(R){L.push("return -1};")}else{L.push("return i};")}return L.join("")};const compileBoundsSearch=(k,v,E,P)=>{const R=compileSearch("A","x"+k+"y",v,["y"],P);const L=compileSearch("P","c(x,y)"+k+"0",v,["y","c"],P);const N="function dispatchBinarySearch";const q="(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch";const ae=[R,L,N,E,q,E];const le=ae.join("");const pe=new Function(le);return pe()};k.exports={ge:compileBoundsSearch(">=",false,"GE"),gt:compileBoundsSearch(">",false,"GT"),lt:compileBoundsSearch("<",true,"LT"),le:compileBoundsSearch("<=",true,"LE"),eq:compileBoundsSearch("-",true,"EQ",true)}},99454:function(k,v){"use strict";const E=new WeakMap;const P=new WeakMap;const R=Symbol("DELETE");const L=Symbol("cleverMerge dynamic info");const cachedCleverMerge=(k,v)=>{if(v===undefined)return k;if(k===undefined)return v;if(typeof v!=="object"||v===null)return v;if(typeof k!=="object"||k===null)return k;let P=E.get(k);if(P===undefined){P=new WeakMap;E.set(k,P)}const R=P.get(v);if(R!==undefined)return R;const L=_cleverMerge(k,v,true);P.set(v,L);return L};const cachedSetProperty=(k,v,E)=>{let R=P.get(k);if(R===undefined){R=new Map;P.set(k,R)}let L=R.get(v);if(L===undefined){L=new Map;R.set(v,L)}let N=L.get(E);if(N)return N;N={...k,[v]:E};L.set(E,N);return N};const N=new WeakMap;const cachedParseObject=k=>{const v=N.get(k);if(v!==undefined)return v;const E=parseObject(k);N.set(k,E);return E};const parseObject=k=>{const v=new Map;let E;const getInfo=k=>{const E=v.get(k);if(E!==undefined)return E;const P={base:undefined,byProperty:undefined,byValues:undefined};v.set(k,P);return P};for(const v of Object.keys(k)){if(v.startsWith("by")){const P=v;const R=k[P];if(typeof R==="object"){for(const k of Object.keys(R)){const v=R[k];for(const E of Object.keys(v)){const L=getInfo(E);if(L.byProperty===undefined){L.byProperty=P;L.byValues=new Map}else if(L.byProperty!==P){throw new Error(`${P} and ${L.byProperty} for a single property is not supported`)}L.byValues.set(k,v[E]);if(k==="default"){for(const k of Object.keys(R)){if(!L.byValues.has(k))L.byValues.set(k,undefined)}}}}}else if(typeof R==="function"){if(E===undefined){E={byProperty:v,fn:R}}else{throw new Error(`${v} and ${E.byProperty} when both are functions is not supported`)}}else{const E=getInfo(v);E.base=k[v]}}else{const E=getInfo(v);E.base=k[v]}}return{static:v,dynamic:E}};const serializeObject=(k,v)=>{const E={};for(const v of k.values()){if(v.byProperty!==undefined){const k=E[v.byProperty]=E[v.byProperty]||{};for(const E of v.byValues.keys()){k[E]=k[E]||{}}}}for(const[v,P]of k){if(P.base!==undefined){E[v]=P.base}if(P.byProperty!==undefined){const k=E[P.byProperty]=E[P.byProperty]||{};for(const E of Object.keys(k)){const R=getFromByValues(P.byValues,E);if(R!==undefined)k[E][v]=R}}}if(v!==undefined){E[v.byProperty]=v.fn}return E};const q=0;const ae=1;const le=2;const pe=3;const me=4;const getValueType=k=>{if(k===undefined){return q}else if(k===R){return me}else if(Array.isArray(k)){if(k.lastIndexOf("...")!==-1)return le;return ae}else if(typeof k==="object"&&k!==null&&(!k.constructor||k.constructor===Object)){return pe}return ae};const cleverMerge=(k,v)=>{if(v===undefined)return k;if(k===undefined)return v;if(typeof v!=="object"||v===null)return v;if(typeof k!=="object"||k===null)return k;return _cleverMerge(k,v,false)};const _cleverMerge=(k,v,E=false)=>{const P=E?cachedParseObject(k):parseObject(k);const{static:R,dynamic:N}=P;if(N!==undefined){let{byProperty:k,fn:R}=N;const q=R[L];if(q){v=E?cachedCleverMerge(q[1],v):cleverMerge(q[1],v);R=q[0]}const newFn=(...k)=>{const P=R(...k);return E?cachedCleverMerge(P,v):cleverMerge(P,v)};newFn[L]=[R,v];return serializeObject(P.static,{byProperty:k,fn:newFn})}const q=E?cachedParseObject(v):parseObject(v);const{static:ae,dynamic:le}=q;const pe=new Map;for(const[k,v]of R){const P=ae.get(k);const R=P!==undefined?mergeEntries(v,P,E):v;pe.set(k,R)}for(const[k,v]of ae){if(!R.has(k)){pe.set(k,v)}}return serializeObject(pe,le)};const mergeEntries=(k,v,E)=>{switch(getValueType(v.base)){case ae:case me:return v;case q:if(!k.byProperty){return{base:k.base,byProperty:v.byProperty,byValues:v.byValues}}else if(k.byProperty!==v.byProperty){throw new Error(`${k.byProperty} and ${v.byProperty} for a single property is not supported`)}else{const P=new Map(k.byValues);for(const[R,L]of v.byValues){const v=getFromByValues(k.byValues,R);P.set(R,mergeSingleValue(v,L,E))}return{base:k.base,byProperty:k.byProperty,byValues:P}}default:{if(!k.byProperty){return{base:mergeSingleValue(k.base,v.base,E),byProperty:v.byProperty,byValues:v.byValues}}let P;const R=new Map(k.byValues);for(const[k,P]of R){R.set(k,mergeSingleValue(P,v.base,E))}if(Array.from(k.byValues.values()).every((k=>{const v=getValueType(k);return v===ae||v===me}))){P=mergeSingleValue(k.base,v.base,E)}else{P=k.base;if(!R.has("default"))R.set("default",v.base)}if(!v.byProperty){return{base:P,byProperty:k.byProperty,byValues:R}}else if(k.byProperty!==v.byProperty){throw new Error(`${k.byProperty} and ${v.byProperty} for a single property is not supported`)}const L=new Map(R);for(const[k,P]of v.byValues){const v=getFromByValues(R,k);L.set(k,mergeSingleValue(v,P,E))}return{base:P,byProperty:k.byProperty,byValues:L}}}};const getFromByValues=(k,v)=>{if(v!=="default"&&k.has(v)){return k.get(v)}return k.get("default")};const mergeSingleValue=(k,v,E)=>{const P=getValueType(v);const R=getValueType(k);switch(P){case me:case ae:return v;case pe:{return R!==pe?v:E?cachedCleverMerge(k,v):cleverMerge(k,v)}case q:return k;case le:switch(R!==ae?R:Array.isArray(k)?le:pe){case q:return v;case me:return v.filter((k=>k!=="..."));case le:{const E=[];for(const P of v){if(P==="..."){for(const v of k){E.push(v)}}else{E.push(P)}}return E}case pe:return v.map((v=>v==="..."?k:v));default:throw new Error("Not implemented")}default:throw new Error("Not implemented")}};const removeOperations=k=>{const v={};for(const E of Object.keys(k)){const P=k[E];const R=getValueType(P);switch(R){case q:case me:break;case pe:v[E]=removeOperations(P);break;case le:v[E]=P.filter((k=>k!=="..."));break;default:v[E]=P;break}}return v};const resolveByProperty=(k,v,...E)=>{if(typeof k!=="object"||k===null||!(v in k)){return k}const{[v]:P,...R}=k;const L=R;const N=P;if(typeof N==="object"){const k=E[0];if(k in N){return cachedCleverMerge(L,N[k])}else if("default"in N){return cachedCleverMerge(L,N.default)}else{return L}}else if(typeof N==="function"){const k=N.apply(null,E);return cachedCleverMerge(L,resolveByProperty(k,v,...E))}};v.cachedSetProperty=cachedSetProperty;v.cachedCleverMerge=cachedCleverMerge;v.cleverMerge=cleverMerge;v.resolveByProperty=resolveByProperty;v.removeOperations=removeOperations;v.DELETE=R},95648:function(k,v,E){"use strict";const{compareRuntime:P}=E(1540);const createCachedParameterizedComparator=k=>{const v=new WeakMap;return E=>{const P=v.get(E);if(P!==undefined)return P;const R=k.bind(null,E);v.set(E,R);return R}};v.compareChunksById=(k,v)=>compareIds(k.id,v.id);v.compareModulesByIdentifier=(k,v)=>compareIds(k.identifier(),v.identifier());const compareModulesById=(k,v,E)=>compareIds(k.getModuleId(v),k.getModuleId(E));v.compareModulesById=createCachedParameterizedComparator(compareModulesById);const compareNumbers=(k,v)=>{if(typeof k!==typeof v){return typeof kv)return 1;return 0};v.compareNumbers=compareNumbers;const compareStringsNumeric=(k,v)=>{const E=k.split(/(\d+)/);const P=v.split(/(\d+)/);const R=Math.min(E.length,P.length);for(let k=0;kR.length){if(v.slice(0,R.length)>R)return 1;return-1}else if(R.length>v.length){if(R.slice(0,v.length)>v)return-1;return 1}else{if(vR)return 1}}else{const k=+v;const E=+R;if(kE)return 1}}if(P.lengthE.length)return-1;return 0};v.compareStringsNumeric=compareStringsNumeric;const compareModulesByPostOrderIndexOrIdentifier=(k,v,E)=>{const P=compareNumbers(k.getPostOrderIndex(v),k.getPostOrderIndex(E));if(P!==0)return P;return compareIds(v.identifier(),E.identifier())};v.compareModulesByPostOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPostOrderIndexOrIdentifier);const compareModulesByPreOrderIndexOrIdentifier=(k,v,E)=>{const P=compareNumbers(k.getPreOrderIndex(v),k.getPreOrderIndex(E));if(P!==0)return P;return compareIds(v.identifier(),E.identifier())};v.compareModulesByPreOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPreOrderIndexOrIdentifier);const compareModulesByIdOrIdentifier=(k,v,E)=>{const P=compareIds(k.getModuleId(v),k.getModuleId(E));if(P!==0)return P;return compareIds(v.identifier(),E.identifier())};v.compareModulesByIdOrIdentifier=createCachedParameterizedComparator(compareModulesByIdOrIdentifier);const compareChunks=(k,v,E)=>k.compareChunks(v,E);v.compareChunks=createCachedParameterizedComparator(compareChunks);const compareIds=(k,v)=>{if(typeof k!==typeof v){return typeof kv)return 1;return 0};v.compareIds=compareIds;const compareStrings=(k,v)=>{if(kv)return 1;return 0};v.compareStrings=compareStrings;const compareChunkGroupsByIndex=(k,v)=>k.index{if(E.length>0){const[P,...R]=E;return concatComparators(k,concatComparators(v,P,...R))}const P=R.get(k,v);if(P!==undefined)return P;const result=(E,P)=>{const R=k(E,P);if(R!==0)return R;return v(E,P)};R.set(k,v,result);return result};v.concatComparators=concatComparators;const L=new TwoKeyWeakMap;const compareSelect=(k,v)=>{const E=L.get(k,v);if(E!==undefined)return E;const result=(E,P)=>{const R=k(E);const L=k(P);if(R!==undefined&&R!==null){if(L!==undefined&&L!==null){return v(R,L)}return-1}else{if(L!==undefined&&L!==null){return 1}return 0}};L.set(k,v,result);return result};v.compareSelect=compareSelect;const N=new WeakMap;const compareIterables=k=>{const v=N.get(k);if(v!==undefined)return v;const result=(v,E)=>{const P=v[Symbol.iterator]();const R=E[Symbol.iterator]();while(true){const v=P.next();const E=R.next();if(v.done){return E.done?0:-1}else if(E.done){return 1}const L=k(v.value,E.value);if(L!==0)return L}};N.set(k,result);return result};v.compareIterables=compareIterables;v.keepOriginalOrder=k=>{const v=new Map;let E=0;for(const P of k){v.set(P,E++)}return(k,E)=>compareNumbers(v.get(k),v.get(E))};v.compareChunksNatural=k=>{const E=v.compareModulesById(k);const R=compareIterables(E);return concatComparators(compareSelect((k=>k.name),compareIds),compareSelect((k=>k.runtime),P),compareSelect((v=>k.getOrderedChunkModulesIterable(v,E)),R))};v.compareLocations=(k,v)=>{let E=typeof k==="object"&&k!==null;let P=typeof v==="object"&&v!==null;if(!E||!P){if(E)return 1;if(P)return-1;return 0}if("start"in k){if("start"in v){const E=k.start;const P=v.start;if(E.lineP.line)return 1;if(E.columnP.column)return 1}else return-1}else if("start"in v)return 1;if("name"in k){if("name"in v){if(k.namev.name)return 1}else return-1}else if("name"in v)return 1;if("index"in k){if("index"in v){if(k.indexv.index)return 1}else return-1}else if("index"in v)return 1;return 0}},21751:function(k){"use strict";const quoteMeta=k=>k.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const toSimpleString=k=>{if(`${+k}`===k){return k}return JSON.stringify(k)};const compileBooleanMatcher=k=>{const v=Object.keys(k).filter((v=>k[v]));const E=Object.keys(k).filter((v=>!k[v]));if(v.length===0)return false;if(E.length===0)return true;return compileBooleanMatcherFromLists(v,E)};const compileBooleanMatcherFromLists=(k,v)=>{if(k.length===0)return()=>"false";if(v.length===0)return()=>"true";if(k.length===1)return v=>`${toSimpleString(k[0])} == ${v}`;if(v.length===1)return k=>`${toSimpleString(v[0])} != ${k}`;const E=itemsToRegexp(k);const P=itemsToRegexp(v);if(E.length<=P.length){return k=>`/^${E}$/.test(${k})`}else{return k=>`!/^${P}$/.test(${k})`}};const popCommonItems=(k,v,E)=>{const P=new Map;for(const E of k){const k=v(E);if(k){let v=P.get(k);if(v===undefined){v=[];P.set(k,v)}v.push(E)}}const R=[];for(const v of P.values()){if(E(v)){for(const E of v){k.delete(E)}R.push(v)}}return R};const getCommonPrefix=k=>{let v=k[0];for(let E=1;E{let v=k[0];for(let E=1;E=0;k--,E--){if(P[k]!==v[E]){v=v.slice(E+1);break}}}return v};const itemsToRegexp=k=>{if(k.length===1){return quoteMeta(k[0])}const v=[];let E=0;for(const v of k){if(v.length===1){E++}}if(E===k.length){return`[${quoteMeta(k.sort().join(""))}]`}const P=new Set(k.sort());if(E>2){let k="";for(const v of P){if(v.length===1){k+=v;P.delete(v)}}v.push(`[${quoteMeta(k)}]`)}if(v.length===0&&P.size===2){const v=getCommonPrefix(k);const E=getCommonSuffix(k.map((k=>k.slice(v.length))));if(v.length>0||E.length>0){return`${quoteMeta(v)}${itemsToRegexp(k.map((k=>k.slice(v.length,-E.length||undefined))))}${quoteMeta(E)}`}}if(v.length===0&&P.size===2){const k=P[Symbol.iterator]();const v=k.next().value;const E=k.next().value;if(v.length>0&&E.length>0&&v.slice(-1)===E.slice(-1)){return`${itemsToRegexp([v.slice(0,-1),E.slice(0,-1)])}${quoteMeta(v.slice(-1))}`}}const R=popCommonItems(P,(k=>k.length>=1?k[0]:false),(k=>{if(k.length>=3)return true;if(k.length<=1)return false;return k[0][1]===k[1][1]}));for(const k of R){const E=getCommonPrefix(k);v.push(`${quoteMeta(E)}${itemsToRegexp(k.map((k=>k.slice(E.length))))}`)}const L=popCommonItems(P,(k=>k.length>=1?k.slice(-1):false),(k=>{if(k.length>=3)return true;if(k.length<=1)return false;return k[0].slice(-2)===k[1].slice(-2)}));for(const k of L){const E=getCommonSuffix(k);v.push(`${itemsToRegexp(k.map((k=>k.slice(0,-E.length))))}${quoteMeta(E)}`)}const N=v.concat(Array.from(P,quoteMeta));if(N.length===1)return N[0];return`(${N.join("|")})`};compileBooleanMatcher.fromLists=compileBooleanMatcherFromLists;compileBooleanMatcher.itemsToRegexp=itemsToRegexp;k.exports=compileBooleanMatcher},92198:function(k,v,E){"use strict";const P=E(20631);const R=P((()=>E(38476).validate));const createSchemaValidation=(k,v,L)=>{v=P(v);return P=>{if(k&&!k(P)){R()(v(),P,L);if(k){E(73837).deprecate((()=>{}),"webpack bug: Pre-compiled schema reports error while real schema is happy. This has performance drawbacks.","DEP_WEBPACK_PRE_COMPILED_SCHEMA_INVALID")()}}}};k.exports=createSchemaValidation},74012:function(k,v,E){"use strict";const P=E(40466);const R=2e3;const L={};class BulkUpdateDecorator extends P{constructor(k,v){super();this.hashKey=v;if(typeof k==="function"){this.hashFactory=k;this.hash=undefined}else{this.hashFactory=undefined;this.hash=k}this.buffer=""}update(k,v){if(v!==undefined||typeof k!=="string"||k.length>R){if(this.hash===undefined)this.hash=this.hashFactory();if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(k,v)}else{this.buffer+=k;if(this.buffer.length>R){if(this.hash===undefined)this.hash=this.hashFactory();this.hash.update(this.buffer);this.buffer=""}}return this}digest(k){let v;const E=this.buffer;if(this.hash===undefined){const P=`${this.hashKey}-${k}`;v=L[P];if(v===undefined){v=L[P]=new Map}const R=v.get(E);if(R!==undefined)return R;this.hash=this.hashFactory()}if(E.length>0){this.hash.update(E)}const P=this.hash.digest(k);const R=typeof P==="string"?P:P.toString();if(v!==undefined){v.set(E,R)}return R}}class DebugHash extends P{constructor(){super();this.string=""}update(k,v){if(typeof k!=="string")k=k.toString("utf-8");const E=Buffer.from("@webpack-debug-digest@").toString("hex");if(k.startsWith(E)){k=Buffer.from(k.slice(E.length),"hex").toString()}this.string+=`[${k}](${(new Error).stack.split("\n",3)[2]})\n`;return this}digest(k){return Buffer.from("@webpack-debug-digest@"+this.string).toString("hex")}}let N=undefined;let q=undefined;let ae=undefined;let le=undefined;k.exports=k=>{if(typeof k==="function"){return new BulkUpdateDecorator((()=>new k))}switch(k){case"debug":return new DebugHash;case"xxhash64":if(q===undefined){q=E(82747);if(le===undefined){le=E(96940)}}return new le(q());case"md4":if(ae===undefined){ae=E(6078);if(le===undefined){le=E(96940)}}return new le(ae());case"native-md4":if(N===undefined)N=E(6113);return new BulkUpdateDecorator((()=>N.createHash("md4")),"md4");default:if(N===undefined)N=E(6113);return new BulkUpdateDecorator((()=>N.createHash(k)),k)}}},61883:function(k,v,E){"use strict";const P=E(73837);const R=new Map;const createDeprecation=(k,v)=>{const E=R.get(k);if(E!==undefined)return E;const L=P.deprecate((()=>{}),k,"DEP_WEBPACK_DEPRECATION_"+v);R.set(k,L);return L};const L=["concat","entry","filter","find","findIndex","includes","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"];const N=["copyWithin","entries","fill","keys","pop","reverse","shift","splice","sort","unshift"];v.arrayToSetDeprecation=(k,v)=>{for(const E of L){if(k[E])continue;const P=createDeprecation(`${v} was changed from Array to Set (using Array method '${E}' is deprecated)`,"ARRAY_TO_SET");k[E]=function(){P();const k=Array.from(this);return Array.prototype[E].apply(k,arguments)}}const E=createDeprecation(`${v} was changed from Array to Set (using Array method 'push' is deprecated)`,"ARRAY_TO_SET_PUSH");const P=createDeprecation(`${v} was changed from Array to Set (using Array property 'length' is deprecated)`,"ARRAY_TO_SET_LENGTH");const R=createDeprecation(`${v} was changed from Array to Set (indexing Array is deprecated)`,"ARRAY_TO_SET_INDEXER");k.push=function(){E();for(const k of Array.from(arguments)){this.add(k)}return this.size};for(const E of N){if(k[E])continue;k[E]=()=>{throw new Error(`${v} was changed from Array to Set (using Array method '${E}' is not possible)`)}}const createIndexGetter=k=>{const fn=function(){R();let v=0;for(const E of this){if(v++===k)return E}return undefined};return fn};const defineIndexGetter=E=>{Object.defineProperty(k,E,{get:createIndexGetter(E),set(k){throw new Error(`${v} was changed from Array to Set (indexing Array with write is not possible)`)}})};defineIndexGetter(0);let q=1;Object.defineProperty(k,"length",{get(){P();const k=this.size;for(q;q{let E=false;class SetDeprecatedArray extends Set{constructor(P){super(P);if(!E){E=true;v.arrayToSetDeprecation(SetDeprecatedArray.prototype,k)}}}return SetDeprecatedArray};v.soonFrozenObjectDeprecation=(k,v,E,R="")=>{const L=`${v} will be frozen in future, all modifications are deprecated.${R&&`\n${R}`}`;return new Proxy(k,{set:P.deprecate(((k,v,E,P)=>Reflect.set(k,v,E,P)),L,E),defineProperty:P.deprecate(((k,v,E)=>Reflect.defineProperty(k,v,E)),L,E),deleteProperty:P.deprecate(((k,v)=>Reflect.deleteProperty(k,v)),L,E),setPrototypeOf:P.deprecate(((k,v)=>Reflect.setPrototypeOf(k,v)),L,E)})};const deprecateAllProperties=(k,v,E)=>{const R={};const L=Object.getOwnPropertyDescriptors(k);for(const k of Object.keys(L)){const N=L[k];if(typeof N.value==="function"){Object.defineProperty(R,k,{...N,value:P.deprecate(N.value,v,E)})}else if(N.get||N.set){Object.defineProperty(R,k,{...N,get:N.get&&P.deprecate(N.get,v,E),set:N.set&&P.deprecate(N.set,v,E)})}else{let L=N.value;Object.defineProperty(R,k,{configurable:N.configurable,enumerable:N.enumerable,get:P.deprecate((()=>L),v,E),set:N.writable?P.deprecate((k=>L=k),v,E):undefined})}}return R};v.deprecateAllProperties=deprecateAllProperties;v.createFakeHook=(k,v,E)=>{if(v&&E){k=deprecateAllProperties(k,v,E)}return Object.freeze(Object.assign(k,{_fakeHook:true}))}},12271:function(k){"use strict";const similarity=(k,v)=>{const E=Math.min(k.length,v.length);let P=0;for(let R=0;R{const P=Math.min(k.length,v.length);let R=0;while(R{for(const E of Object.keys(v)){k[E]=(k[E]||0)+v[E]}};const subtractSizeFrom=(k,v)=>{for(const E of Object.keys(v)){k[E]-=v[E]}};const sumSize=k=>{const v=Object.create(null);for(const E of k){addSizeTo(v,E.size)}return v};const isTooBig=(k,v)=>{for(const E of Object.keys(k)){const P=k[E];if(P===0)continue;const R=v[E];if(typeof R==="number"){if(P>R)return true}}return false};const isTooSmall=(k,v)=>{for(const E of Object.keys(k)){const P=k[E];if(P===0)continue;const R=v[E];if(typeof R==="number"){if(P{const E=new Set;for(const P of Object.keys(k)){const R=k[P];if(R===0)continue;const L=v[P];if(typeof L==="number"){if(R{let E=0;for(const P of Object.keys(k)){if(k[P]!==0&&v.has(P))E++}return E};const selectiveSizeSum=(k,v)=>{let E=0;for(const P of Object.keys(k)){if(k[P]!==0&&v.has(P))E+=k[P]}return E};class Node{constructor(k,v,E){this.item=k;this.key=v;this.size=E}}class Group{constructor(k,v,E){this.nodes=k;this.similarities=v;this.size=E||sumSize(k);this.key=undefined}popNodes(k){const v=[];const E=[];const P=[];let R;for(let L=0;L0){E.push(R===this.nodes[L-1]?this.similarities[L-1]:similarity(R.key,N.key))}v.push(N);R=N}}if(P.length===this.nodes.length)return undefined;this.nodes=v;this.similarities=E;this.size=sumSize(v);return P}}const getSimilarities=k=>{const v=[];let E=undefined;for(const P of k){if(E!==undefined){v.push(similarity(E.key,P.key))}E=P}return v};k.exports=({maxSize:k,minSize:v,items:E,getSize:P,getKey:R})=>{const L=[];const N=Array.from(E,(k=>new Node(k,R(k),P(k))));const q=[];N.sort(((k,v)=>{if(k.keyv.key)return 1;return 0}));for(const E of N){if(isTooBig(E.size,k)&&!isTooSmall(E.size,v)){L.push(new Group([E],[]))}else{q.push(E)}}if(q.length>0){const E=new Group(q,getSimilarities(q));const removeProblematicNodes=(k,E=k.size)=>{const P=getTooSmallTypes(E,v);if(P.size>0){const v=k.popNodes((k=>getNumberOfMatchingSizeTypes(k.size,P)>0));if(v===undefined)return false;const E=L.filter((k=>getNumberOfMatchingSizeTypes(k.size,P)>0));if(E.length>0){const k=E.reduce(((k,v)=>{const E=getNumberOfMatchingSizeTypes(k,P);const R=getNumberOfMatchingSizeTypes(v,P);if(E!==R)return EselectiveSizeSum(v.size,P))return v;return k}));for(const E of v)k.nodes.push(E);k.nodes.sort(((k,v)=>{if(k.keyv.key)return 1;return 0}))}else{L.push(new Group(v,null))}return true}else{return false}};if(E.nodes.length>0){const P=[E];while(P.length){const E=P.pop();if(!isTooBig(E.size,k)){L.push(E);continue}if(removeProblematicNodes(E)){P.push(E);continue}let R=1;let N=Object.create(null);addSizeTo(N,E.nodes[0].size);while(R=0&&isTooSmall(ae,v)){addSizeTo(ae,E.nodes[q].size);q--}if(R-1>q){let k;if(q{if(k.nodes[0].keyv.nodes[0].key)return 1;return 0}));const ae=new Set;for(let k=0;k({key:k.key,items:k.nodes.map((k=>k.item)),size:k.size})))}},21053:function(k){"use strict";k.exports=function extractUrlAndGlobal(k){const v=k.indexOf("@");if(v<=0||v===k.length-1){throw new Error(`Invalid request "${k}"`)}return[k.substring(v+1),k.substring(0,v)]}},34271:function(k){"use strict";const v=0;const E=1;const P=2;const R=3;const L=4;class Node{constructor(k){this.item=k;this.dependencies=new Set;this.marker=v;this.cycle=undefined;this.incoming=0}}class Cycle{constructor(){this.nodes=new Set}}k.exports=(k,N)=>{const q=new Map;for(const v of k){const k=new Node(v);q.set(v,k)}if(q.size<=1)return k;for(const k of q.values()){for(const v of N(k.item)){const E=q.get(v);if(E!==undefined){k.dependencies.add(E)}}}const ae=new Set;const le=new Set;for(const k of q.values()){if(k.marker===v){k.marker=E;const N=[{node:k,openEdges:Array.from(k.dependencies)}];while(N.length>0){const k=N[N.length-1];if(k.openEdges.length>0){const q=k.openEdges.pop();switch(q.marker){case v:N.push({node:q,openEdges:Array.from(q.dependencies)});q.marker=E;break;case E:{let k=q.cycle;if(!k){k=new Cycle;k.nodes.add(q);q.cycle=k}for(let v=N.length-1;N[v].node!==q;v--){const E=N[v].node;if(E.cycle){if(E.cycle!==k){for(const v of E.cycle.nodes){v.cycle=k;k.nodes.add(v)}}}else{E.cycle=k;k.nodes.add(E)}}break}case L:q.marker=P;ae.delete(q);break;case R:le.delete(q.cycle);q.marker=P;break}}else{N.pop();k.node.marker=P}}const q=k.cycle;if(q){for(const k of q.nodes){k.marker=R}le.add(q)}else{k.marker=L;ae.add(k)}}}for(const k of le){let v=0;const E=new Set;const P=k.nodes;for(const k of P){for(const R of k.dependencies){if(P.has(R)){R.incoming++;if(R.incomingv){E.clear();v=R.incoming}E.add(R)}}}for(const k of E){ae.add(k)}}if(ae.size>0){return Array.from(ae,(k=>k.item))}else{throw new Error("Implementation of findGraphRoots is broken")}}},57825:function(k,v,E){"use strict";const P=E(71017);const relative=(k,v,E)=>{if(k&&k.relative){return k.relative(v,E)}else if(P.posix.isAbsolute(v)){return P.posix.relative(v,E)}else if(P.win32.isAbsolute(v)){return P.win32.relative(v,E)}else{throw new Error(`${v} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`)}};v.relative=relative;const join=(k,v,E)=>{if(k&&k.join){return k.join(v,E)}else if(P.posix.isAbsolute(v)){return P.posix.join(v,E)}else if(P.win32.isAbsolute(v)){return P.win32.join(v,E)}else{throw new Error(`${v} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`)}};v.join=join;const dirname=(k,v)=>{if(k&&k.dirname){return k.dirname(v)}else if(P.posix.isAbsolute(v)){return P.posix.dirname(v)}else if(P.win32.isAbsolute(v)){return P.win32.dirname(v)}else{throw new Error(`${v} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`)}};v.dirname=dirname;const mkdirp=(k,v,E)=>{k.mkdir(v,(P=>{if(P){if(P.code==="ENOENT"){const R=dirname(k,v);if(R===v){E(P);return}mkdirp(k,R,(P=>{if(P){E(P);return}k.mkdir(v,(k=>{if(k){if(k.code==="EEXIST"){E();return}E(k);return}E()}))}));return}else if(P.code==="EEXIST"){E();return}E(P);return}E()}))};v.mkdirp=mkdirp;const mkdirpSync=(k,v)=>{try{k.mkdirSync(v)}catch(E){if(E){if(E.code==="ENOENT"){const P=dirname(k,v);if(P===v){throw E}mkdirpSync(k,P);k.mkdirSync(v);return}else if(E.code==="EEXIST"){return}throw E}}};v.mkdirpSync=mkdirpSync;const readJson=(k,v,E)=>{if("readJson"in k)return k.readJson(v,E);k.readFile(v,((k,v)=>{if(k)return E(k);let P;try{P=JSON.parse(v.toString("utf-8"))}catch(k){return E(k)}return E(null,P)}))};v.readJson=readJson;const lstatReadlinkAbsolute=(k,v,E)=>{let P=3;const doReadLink=()=>{k.readlink(v,((R,L)=>{if(R&&--P>0){return doStat()}if(R||!L)return doStat();const N=L.toString();E(null,join(k,dirname(k,v),N))}))};const doStat=()=>{if("lstat"in k){return k.lstat(v,((k,v)=>{if(k)return E(k);if(v.isSymbolicLink()){return doReadLink()}E(null,v)}))}else{return k.stat(v,E)}};if("lstat"in k)return doStat();doReadLink()};v.lstatReadlinkAbsolute=lstatReadlinkAbsolute},96940:function(k,v,E){"use strict";const P=E(40466);const R=E(87747).MAX_SHORT_STRING;class BatchedHash extends P{constructor(k){super();this.string=undefined;this.encoding=undefined;this.hash=k}update(k,v){if(this.string!==undefined){if(typeof k==="string"&&v===this.encoding&&this.string.length+k.lengthv){this._updateWithShortString(k.slice(0,v),E);k=k.slice(v)}this._updateWithShortString(k,E);return this}this._updateWithBuffer(k);return this}_updateWithShortString(k,v){const{exports:E,buffered:P,mem:R,chunkSize:L}=this;let N;if(k.length<70){if(!v||v==="utf-8"||v==="utf8"){N=P;for(let E=0;E>6|192;R[N+1]=P&63|128;N+=2}else{N+=R.write(k.slice(E),N,v);break}}}else if(v==="latin1"){N=P;for(let v=0;v0)R.copyWithin(0,k,N)}}_updateWithBuffer(k){const{exports:v,buffered:E,mem:P}=this;const R=k.length;if(E+R65536){let R=65536-E;k.copy(P,E,0,R);v.update(65536);const N=L-E-65536;while(R0)k.copy(P,0,R-N,R)}}digest(k){const{exports:v,buffered:E,mem:P,digestSize:R}=this;v.final(E);this.instancesPool.push(this);const L=P.toString("latin1",0,R);if(k==="hex")return L;if(k==="binary"||!k)return Buffer.from(L,"hex");return Buffer.from(L,"hex").toString(k)}}const create=(k,v,E,P)=>{if(v.length>0){const k=v.pop();k.reset();return k}else{return new WasmHash(new WebAssembly.Instance(k),v,E,P)}};k.exports=create;k.exports.MAX_SHORT_STRING=v},82747:function(k,v,E){"use strict";const P=E(87747);const R=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrIIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAFBIGoiASAASQ0ACyACJAAgAyQBIAQkAiAFJAMLqAYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEAgAiABNQIAQoeVr6+Ytt6bnn9+hUIXiULP1tO+0ser2UJ+Qvnz3fGZ9pmrFnwhAiABQQRqIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAkIdiCAChUL5893xmfaZqxZ+IgJCIIggAoUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL","base64"));k.exports=P.bind(null,R,[],32,16)},65315:function(k,v,E){"use strict";const P=E(71017);const R=/^[a-zA-Z]:[\\/]/;const L=/([|!])/;const N=/\\/g;const relativePathToRequest=k=>{if(k==="")return"./.";if(k==="..")return"../.";if(k.startsWith("../"))return k;return`./${k}`};const absoluteToRequest=(k,v)=>{if(v[0]==="/"){if(v.length>1&&v[v.length-1]==="/"){return v}const E=v.indexOf("?");let R=E===-1?v:v.slice(0,E);R=relativePathToRequest(P.posix.relative(k,R));return E===-1?R:R+v.slice(E)}if(R.test(v)){const E=v.indexOf("?");let L=E===-1?v:v.slice(0,E);L=P.win32.relative(k,L);if(!R.test(L)){L=relativePathToRequest(L.replace(N,"/"))}return E===-1?L:L+v.slice(E)}return v};const requestToAbsolute=(k,v)=>{if(v.startsWith("./")||v.startsWith("../"))return P.join(k,v);return v};const makeCacheable=k=>{const v=new WeakMap;const getCache=k=>{const E=v.get(k);if(E!==undefined)return E;const P=new Map;v.set(k,P);return P};const fn=(v,E)=>{if(!E)return k(v);const P=getCache(E);const R=P.get(v);if(R!==undefined)return R;const L=k(v);P.set(v,L);return L};fn.bindCache=v=>{const E=getCache(v);return v=>{const P=E.get(v);if(P!==undefined)return P;const R=k(v);E.set(v,R);return R}};return fn};const makeCacheableWithContext=k=>{const v=new WeakMap;const cachedFn=(E,P,R)=>{if(!R)return k(E,P);let L=v.get(R);if(L===undefined){L=new Map;v.set(R,L)}let N;let q=L.get(E);if(q===undefined){L.set(E,q=new Map)}else{N=q.get(P)}if(N!==undefined){return N}else{const v=k(E,P);q.set(P,v);return v}};cachedFn.bindCache=E=>{let P;if(E){P=v.get(E);if(P===undefined){P=new Map;v.set(E,P)}}else{P=new Map}const boundFn=(v,E)=>{let R;let L=P.get(v);if(L===undefined){P.set(v,L=new Map)}else{R=L.get(E)}if(R!==undefined){return R}else{const P=k(v,E);L.set(E,P);return P}};return boundFn};cachedFn.bindContextCache=(E,P)=>{let R;if(P){let k=v.get(P);if(k===undefined){k=new Map;v.set(P,k)}R=k.get(E);if(R===undefined){k.set(E,R=new Map)}}else{R=new Map}const boundFn=v=>{const P=R.get(v);if(P!==undefined){return P}else{const P=k(E,v);R.set(v,P);return P}};return boundFn};return cachedFn};const _makePathsRelative=(k,v)=>v.split(L).map((v=>absoluteToRequest(k,v))).join("");v.makePathsRelative=makeCacheableWithContext(_makePathsRelative);const _makePathsAbsolute=(k,v)=>v.split(L).map((v=>requestToAbsolute(k,v))).join("");v.makePathsAbsolute=makeCacheableWithContext(_makePathsAbsolute);const _contextify=(k,v)=>v.split("!").map((v=>absoluteToRequest(k,v))).join("!");const q=makeCacheableWithContext(_contextify);v.contextify=q;const _absolutify=(k,v)=>v.split("!").map((v=>requestToAbsolute(k,v))).join("!");const ae=makeCacheableWithContext(_absolutify);v.absolutify=ae;const le=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;const pe=/^((?:\0.|[^?\0])*)(\?.*)?$/;const _parseResource=k=>{const v=le.exec(k);return{resource:k,path:v[1].replace(/\0(.)/g,"$1"),query:v[2]?v[2].replace(/\0(.)/g,"$1"):"",fragment:v[3]||""}};v.parseResource=makeCacheable(_parseResource);const _parseResourceWithoutFragment=k=>{const v=pe.exec(k);return{resource:k,path:v[1].replace(/\0(.)/g,"$1"),query:v[2]?v[2].replace(/\0(.)/g,"$1"):""}};v.parseResourceWithoutFragment=makeCacheable(_parseResourceWithoutFragment);v.getUndoPath=(k,v,E)=>{let P=-1;let R="";v=v.replace(/[\\/]$/,"");for(const E of k.split(/[/\\]+/)){if(E===".."){if(P>-1){P--}else{const k=v.lastIndexOf("/");const E=v.lastIndexOf("\\");const P=k<0?E:E<0?k:Math.max(k,E);if(P<0)return v+"/";R=v.slice(P+1)+"/"+R;v=v.slice(0,P)}}else if(E!=="."){P++}}return P>0?`${"../".repeat(P)}${R}`:E?`./${R}`:R}},51455:function(k,v,E){"use strict";k.exports={AsyncDependenciesBlock:()=>E(75081),CommentCompilationWarning:()=>E(68160),ContextModule:()=>E(48630),"cache/PackFileCacheStrategy":()=>E(30124),"cache/ResolverCachePlugin":()=>E(6247),"container/ContainerEntryDependency":()=>E(22886),"container/ContainerEntryModule":()=>E(4268),"container/ContainerExposedDependency":()=>E(85455),"container/FallbackDependency":()=>E(52030),"container/FallbackItemDependency":()=>E(37119),"container/FallbackModule":()=>E(7583),"container/RemoteModule":()=>E(39878),"container/RemoteToExternalDependency":()=>E(51691),"dependencies/AMDDefineDependency":()=>E(43804),"dependencies/AMDRequireArrayDependency":()=>E(78326),"dependencies/AMDRequireContextDependency":()=>E(54220),"dependencies/AMDRequireDependenciesBlock":()=>E(39892),"dependencies/AMDRequireDependency":()=>E(83138),"dependencies/AMDRequireItemDependency":()=>E(80760),"dependencies/CachedConstDependency":()=>E(11602),"dependencies/CreateScriptUrlDependency":()=>E(98857),"dependencies/CommonJsRequireContextDependency":()=>E(5103),"dependencies/CommonJsExportRequireDependency":()=>E(21542),"dependencies/CommonJsExportsDependency":()=>E(57771),"dependencies/CommonJsFullRequireDependency":()=>E(73946),"dependencies/CommonJsRequireDependency":()=>E(41655),"dependencies/CommonJsSelfReferenceDependency":()=>E(23343),"dependencies/ConstDependency":()=>E(60381),"dependencies/ContextDependency":()=>E(51395),"dependencies/ContextElementDependency":()=>E(16624),"dependencies/CriticalDependencyWarning":()=>E(43418),"dependencies/CssImportDependency":()=>E(38490),"dependencies/CssLocalIdentifierDependency":()=>E(27746),"dependencies/CssSelfLocalIdentifierDependency":()=>E(58943),"dependencies/CssExportDependency":()=>E(55101),"dependencies/CssUrlDependency":()=>E(97006),"dependencies/DelegatedSourceDependency":()=>E(47788),"dependencies/DllEntryDependency":()=>E(50478),"dependencies/EntryDependency":()=>E(25248),"dependencies/ExportsInfoDependency":()=>E(70762),"dependencies/HarmonyAcceptDependency":()=>E(95077),"dependencies/HarmonyAcceptImportDependency":()=>E(46325),"dependencies/HarmonyCompatibilityDependency":()=>E(2075),"dependencies/HarmonyExportExpressionDependency":()=>E(33579),"dependencies/HarmonyExportHeaderDependency":()=>E(66057),"dependencies/HarmonyExportImportedSpecifierDependency":()=>E(44827),"dependencies/HarmonyExportSpecifierDependency":()=>E(95040),"dependencies/HarmonyImportSideEffectDependency":()=>E(59398),"dependencies/HarmonyImportSpecifierDependency":()=>E(56390),"dependencies/HarmonyEvaluatedImportSpecifierDependency":()=>E(5107),"dependencies/ImportContextDependency":()=>E(94722),"dependencies/ImportDependency":()=>E(75516),"dependencies/ImportEagerDependency":()=>E(72073),"dependencies/ImportWeakDependency":()=>E(82591),"dependencies/JsonExportsDependency":()=>E(19179),"dependencies/LocalModule":()=>E(53377),"dependencies/LocalModuleDependency":()=>E(41808),"dependencies/ModuleDecoratorDependency":()=>E(10699),"dependencies/ModuleHotAcceptDependency":()=>E(77691),"dependencies/ModuleHotDeclineDependency":()=>E(90563),"dependencies/ImportMetaHotAcceptDependency":()=>E(40867),"dependencies/ImportMetaHotDeclineDependency":()=>E(83894),"dependencies/ImportMetaContextDependency":()=>E(91194),"dependencies/ProvidedDependency":()=>E(17779),"dependencies/PureExpressionDependency":()=>E(19308),"dependencies/RequireContextDependency":()=>E(71038),"dependencies/RequireEnsureDependenciesBlock":()=>E(34385),"dependencies/RequireEnsureDependency":()=>E(42780),"dependencies/RequireEnsureItemDependency":()=>E(47785),"dependencies/RequireHeaderDependency":()=>E(72330),"dependencies/RequireIncludeDependency":()=>E(72846),"dependencies/RequireIncludeDependencyParserPlugin":()=>E(97229),"dependencies/RequireResolveContextDependency":()=>E(12204),"dependencies/RequireResolveDependency":()=>E(29961),"dependencies/RequireResolveHeaderDependency":()=>E(53765),"dependencies/RuntimeRequirementsDependency":()=>E(84985),"dependencies/StaticExportsDependency":()=>E(93414),"dependencies/SystemPlugin":()=>E(3674),"dependencies/UnsupportedDependency":()=>E(63639),"dependencies/URLDependency":()=>E(65961),"dependencies/WebAssemblyExportImportedDependency":()=>E(74476),"dependencies/WebAssemblyImportDependency":()=>E(22734),"dependencies/WebpackIsIncludedDependency":()=>E(83143),"dependencies/WorkerDependency":()=>E(15200),"json/JsonData":()=>E(15114),"optimize/ConcatenatedModule":()=>E(94978),DelegatedModule:()=>E(50901),DependenciesBlock:()=>E(38706),DllModule:()=>E(2168),ExternalModule:()=>E(10849),FileSystemInfo:()=>E(18144),InitFragment:()=>E(88113),InvalidDependenciesModuleWarning:()=>E(44017),Module:()=>E(88396),ModuleBuildError:()=>E(23804),ModuleDependencyWarning:()=>E(84018),ModuleError:()=>E(47560),ModuleGraph:()=>E(88223),ModuleParseError:()=>E(63591),ModuleWarning:()=>E(95801),NormalModule:()=>E(38224),CssModule:()=>E(51585),RawDataUrlModule:()=>E(26619),RawModule:()=>E(91169),"sharing/ConsumeSharedModule":()=>E(81860),"sharing/ConsumeSharedFallbackDependency":()=>E(18036),"sharing/ProvideSharedModule":()=>E(31100),"sharing/ProvideSharedDependency":()=>E(49637),"sharing/ProvideForSharedDependency":()=>E(27150),UnsupportedFeatureWarning:()=>E(9415),"util/LazySet":()=>E(12359),UnhandledSchemeError:()=>E(57975),NodeStuffInWebError:()=>E(86770),WebpackError:()=>E(71572),"util/registerExternalSerializer":()=>{}}},58528:function(k,v,E){"use strict";const{register:P}=E(52456);class ClassSerializer{constructor(k){this.Constructor=k}serialize(k,v){k.serialize(v)}deserialize(k){if(typeof this.Constructor.deserialize==="function"){return this.Constructor.deserialize(k)}const v=new this.Constructor;v.deserialize(k);return v}}k.exports=(k,v,E=null)=>{P(k,v,E,new ClassSerializer(k))}},20631:function(k){"use strict";const memoize=k=>{let v=false;let E=undefined;return()=>{if(v){return E}else{E=k();v=true;k=undefined;return E}}};k.exports=memoize},64119:function(k){"use strict";const v="a".charCodeAt(0);k.exports=(k,E)=>{if(E<1)return"";const P=k.slice(0,E);if(P.match(/[^\d]/))return P;return`${String.fromCharCode(v+parseInt(k[0],10)%6)}${P.slice(1)}`}},30747:function(k){"use strict";const v=2147483648;const E=v-1;const P=4;const R=[0,0,0,0,0];const L=[3,7,17,19];k.exports=(k,N)=>{R.fill(0);for(let v=0;v>1;R[1]=R[1]^R[R[1]%P]>>1;R[2]=R[2]^R[R[2]%P]>>1;R[3]=R[3]^R[R[3]%P]>>1}if(N<=E){return(R[0]+R[1]+R[2]+R[3])%N}else{const k=Math.floor(N/v);const P=R[0]+R[2]&E;const L=(R[0]+R[2])%k;return(L*v+P)%N}}},38254:function(k){"use strict";const processAsyncTree=(k,v,E,P)=>{const R=Array.from(k);if(R.length===0)return P();let L=0;let N=false;let q=true;const push=k=>{R.push(k);if(!q&&L{L--;if(k&&!N){N=true;P(k);return}if(!q){q=true;process.nextTick(processQueue)}};const processQueue=()=>{if(N)return;while(L0){L++;const k=R.pop();E(k,push,processorCallback)}q=false;if(R.length===0&&L===0&&!N){N=true;P()}};processQueue()};k.exports=processAsyncTree},10720:function(k,v,E){"use strict";const{SAFE_IDENTIFIER:P,RESERVED_IDENTIFIER:R}=E(72627);const propertyAccess=(k,v=0)=>{let E="";for(let L=v;L{if(v.test(k)&&!E.has(k)){return k}else{return JSON.stringify(k)}};k.exports={SAFE_IDENTIFIER:v,RESERVED_IDENTIFIER:E,propertyName:propertyName}},5618:function(k,v,E){"use strict";const{register:P}=E(52456);const R=E(31988).Position;const L=E(31988).SourceLocation;const N=E(94362).Z;const{CachedSource:q,ConcatSource:ae,OriginalSource:le,PrefixSource:pe,RawSource:me,ReplaceSource:ye,SourceMapSource:_e}=E(51255);const Ie="webpack/lib/util/registerExternalSerializer";P(q,Ie,"webpack-sources/CachedSource",new class CachedSourceSerializer{serialize(k,{write:v,writeLazy:E}){if(E){E(k.originalLazy())}else{v(k.original())}v(k.getCachedData())}deserialize({read:k}){const v=k();const E=k();return new q(v,E)}});P(me,Ie,"webpack-sources/RawSource",new class RawSourceSerializer{serialize(k,{write:v}){v(k.buffer());v(!k.isBuffer())}deserialize({read:k}){const v=k();const E=k();return new me(v,E)}});P(ae,Ie,"webpack-sources/ConcatSource",new class ConcatSourceSerializer{serialize(k,{write:v}){v(k.getChildren())}deserialize({read:k}){const v=new ae;v.addAllSkipOptimizing(k());return v}});P(pe,Ie,"webpack-sources/PrefixSource",new class PrefixSourceSerializer{serialize(k,{write:v}){v(k.getPrefix());v(k.original())}deserialize({read:k}){return new pe(k(),k())}});P(ye,Ie,"webpack-sources/ReplaceSource",new class ReplaceSourceSerializer{serialize(k,{write:v}){v(k.original());v(k.getName());const E=k.getReplacements();v(E.length);for(const k of E){v(k.start);v(k.end)}for(const k of E){v(k.content);v(k.name)}}deserialize({read:k}){const v=new ye(k(),k());const E=k();const P=[];for(let v=0;v{let P;let R;if(E){({dependOn:P,runtime:R}=E)}else{const E=k.entries.get(v);if(!E)return v;({dependOn:P,runtime:R}=E.options)}if(P){let E=undefined;const R=new Set(P);for(const v of R){const P=k.entries.get(v);if(!P)continue;const{dependOn:L,runtime:N}=P.options;if(L){for(const k of L){R.add(k)}}else{E=mergeRuntimeOwned(E,N||v)}}return E||v}else{return R||v}};v.forEachRuntime=(k,v,E=false)=>{if(k===undefined){v(undefined)}else if(typeof k==="string"){v(k)}else{if(E)k.sort();for(const E of k){v(E)}}};const getRuntimesKey=k=>{k.sort();return Array.from(k).join("\n")};const getRuntimeKey=k=>{if(k===undefined)return"*";if(typeof k==="string")return k;return k.getFromUnorderedCache(getRuntimesKey)};v.getRuntimeKey=getRuntimeKey;const keyToRuntime=k=>{if(k==="*")return undefined;const v=k.split("\n");if(v.length===1)return v[0];return new P(v)};v.keyToRuntime=keyToRuntime;const getRuntimesString=k=>{k.sort();return Array.from(k).join("+")};const runtimeToString=k=>{if(k===undefined)return"*";if(typeof k==="string")return k;return k.getFromUnorderedCache(getRuntimesString)};v.runtimeToString=runtimeToString;v.runtimeConditionToString=k=>{if(k===true)return"true";if(k===false)return"false";return runtimeToString(k)};const runtimeEqual=(k,v)=>{if(k===v){return true}else if(k===undefined||v===undefined||typeof k==="string"||typeof v==="string"){return false}else if(k.size!==v.size){return false}else{k.sort();v.sort();const E=k[Symbol.iterator]();const P=v[Symbol.iterator]();for(;;){const k=E.next();if(k.done)return true;const v=P.next();if(k.value!==v.value)return false}}};v.runtimeEqual=runtimeEqual;v.compareRuntime=(k,v)=>{if(k===v){return 0}else if(k===undefined){return-1}else if(v===undefined){return 1}else{const E=getRuntimeKey(k);const P=getRuntimeKey(v);if(EP)return 1;return 0}};const mergeRuntime=(k,v)=>{if(k===undefined){return v}else if(v===undefined){return k}else if(k===v){return k}else if(typeof k==="string"){if(typeof v==="string"){const E=new P;E.add(k);E.add(v);return E}else if(v.has(k)){return v}else{const E=new P(v);E.add(k);return E}}else{if(typeof v==="string"){if(k.has(v))return k;const E=new P(k);E.add(v);return E}else{const E=new P(k);for(const k of v)E.add(k);if(E.size===k.size)return k;return E}}};v.mergeRuntime=mergeRuntime;v.mergeRuntimeCondition=(k,v,E)=>{if(k===false)return v;if(v===false)return k;if(k===true||v===true)return true;const P=mergeRuntime(k,v);if(P===undefined)return undefined;if(typeof P==="string"){if(typeof E==="string"&&P===E)return true;return P}if(typeof E==="string"||E===undefined)return P;if(P.size===E.size)return true;return P};v.mergeRuntimeConditionNonFalse=(k,v,E)=>{if(k===true||v===true)return true;const P=mergeRuntime(k,v);if(P===undefined)return undefined;if(typeof P==="string"){if(typeof E==="string"&&P===E)return true;return P}if(typeof E==="string"||E===undefined)return P;if(P.size===E.size)return true;return P};const mergeRuntimeOwned=(k,v)=>{if(v===undefined){return k}else if(k===v){return k}else if(k===undefined){if(typeof v==="string"){return v}else{return new P(v)}}else if(typeof k==="string"){if(typeof v==="string"){const E=new P;E.add(k);E.add(v);return E}else{const E=new P(v);E.add(k);return E}}else{if(typeof v==="string"){k.add(v);return k}else{for(const E of v)k.add(E);return k}}};v.mergeRuntimeOwned=mergeRuntimeOwned;v.intersectRuntime=(k,v)=>{if(k===undefined){return v}else if(v===undefined){return k}else if(k===v){return k}else if(typeof k==="string"){if(typeof v==="string"){return undefined}else if(v.has(k)){return k}else{return undefined}}else{if(typeof v==="string"){if(k.has(v))return v;return undefined}else{const E=new P;for(const P of v){if(k.has(P))E.add(P)}if(E.size===0)return undefined;if(E.size===1)for(const k of E)return k;return E}}};const subtractRuntime=(k,v)=>{if(k===undefined){return undefined}else if(v===undefined){return k}else if(k===v){return undefined}else if(typeof k==="string"){if(typeof v==="string"){return k}else if(v.has(k)){return undefined}else{return k}}else{if(typeof v==="string"){if(!k.has(v))return k;if(k.size===2){for(const E of k){if(E!==v)return E}}const E=new P(k);E.delete(v)}else{const E=new P;for(const P of k){if(!v.has(P))E.add(P)}if(E.size===0)return undefined;if(E.size===1)for(const k of E)return k;return E}}};v.subtractRuntime=subtractRuntime;v.subtractRuntimeCondition=(k,v,E)=>{if(v===true)return false;if(v===false)return k;if(k===false)return false;const P=subtractRuntime(k===true?E:k,v);return P===undefined?false:P};v.filterRuntime=(k,v)=>{if(k===undefined)return v(undefined);if(typeof k==="string")return v(k);let E=false;let P=true;let R=undefined;for(const L of k){const k=v(L);if(k){E=true;R=mergeRuntimeOwned(R,L)}else{P=false}}if(!E)return false;if(P)return true;return R};class RuntimeSpecMap{constructor(k){this._mode=k?k._mode:0;this._singleRuntime=k?k._singleRuntime:undefined;this._singleValue=k?k._singleValue:undefined;this._map=k&&k._map?new Map(k._map):undefined}get(k){switch(this._mode){case 0:return undefined;case 1:return runtimeEqual(this._singleRuntime,k)?this._singleValue:undefined;default:return this._map.get(getRuntimeKey(k))}}has(k){switch(this._mode){case 0:return false;case 1:return runtimeEqual(this._singleRuntime,k);default:return this._map.has(getRuntimeKey(k))}}set(k,v){switch(this._mode){case 0:this._mode=1;this._singleRuntime=k;this._singleValue=v;break;case 1:if(runtimeEqual(this._singleRuntime,k)){this._singleValue=v;break}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;default:this._map.set(getRuntimeKey(k),v)}}provide(k,v){switch(this._mode){case 0:this._mode=1;this._singleRuntime=k;return this._singleValue=v();case 1:{if(runtimeEqual(this._singleRuntime,k)){return this._singleValue}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;const E=v();this._map.set(getRuntimeKey(k),E);return E}default:{const E=getRuntimeKey(k);const P=this._map.get(E);if(P!==undefined)return P;const R=v();this._map.set(E,R);return R}}}delete(k){switch(this._mode){case 0:return;case 1:if(runtimeEqual(this._singleRuntime,k)){this._mode=0;this._singleRuntime=undefined;this._singleValue=undefined}return;default:this._map.delete(getRuntimeKey(k))}}update(k,v){switch(this._mode){case 0:throw new Error("runtime passed to update must exist");case 1:{if(runtimeEqual(this._singleRuntime,k)){this._singleValue=v(this._singleValue);break}const E=v(undefined);if(E!==undefined){this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;this._map.set(getRuntimeKey(k),E)}break}default:{const E=getRuntimeKey(k);const P=this._map.get(E);const R=v(P);if(R!==P)this._map.set(E,R)}}}keys(){switch(this._mode){case 0:return[];case 1:return[this._singleRuntime];default:return Array.from(this._map.keys(),keyToRuntime)}}values(){switch(this._mode){case 0:return[][Symbol.iterator]();case 1:return[this._singleValue][Symbol.iterator]();default:return this._map.values()}}get size(){if(this._mode<=1)return this._mode;return this._map.size}}v.RuntimeSpecMap=RuntimeSpecMap;class RuntimeSpecSet{constructor(k){this._map=new Map;if(k){for(const v of k){this.add(v)}}}add(k){this._map.set(getRuntimeKey(k),k)}has(k){return this._map.has(getRuntimeKey(k))}[Symbol.iterator](){return this._map.values()}get size(){return this._map.size}}v.RuntimeSpecSet=RuntimeSpecSet},51542:function(k,v){"use strict";const parseVersion=k=>{var splitAndConvert=function(k){return k.split(".").map((function(k){return+k==k?+k:k}))};var v=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(k);var E=v[1]?splitAndConvert(v[1]):[];if(v[2]){E.length++;E.push.apply(E,splitAndConvert(v[2]))}if(v[3]){E.push([]);E.push.apply(E,splitAndConvert(v[3]))}return E};v.parseVersion=parseVersion;const versionLt=(k,v)=>{k=parseVersion(k);v=parseVersion(v);var E=0;for(;;){if(E>=k.length)return E=v.length)return R=="u";var L=v[E];var N=(typeof L)[0];if(R==N){if(R!="o"&&R!="u"&&P!=L){return P{const splitAndConvert=k=>k.split(".").map((k=>k!=="NaN"&&`${+k}`===k?+k:k));const parsePartial=k=>{const v=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(k);const E=v[1]?[0,...splitAndConvert(v[1])]:[0];if(v[2]){E.length++;E.push.apply(E,splitAndConvert(v[2]))}let P=E[E.length-1];while(E.length&&(P===undefined||/^[*xX]$/.test(P))){E.pop();P=E[E.length-1]}return E};const toFixed=k=>{if(k.length===1){return[0]}else if(k.length===2){return[1,...k.slice(1)]}else if(k.length===3){return[2,...k.slice(1)]}else{return[k.length,...k.slice(1)]}};const negate=k=>[-k[0]-1,...k.slice(1)];const parseSimple=k=>{const v=/^(\^|~|<=|<|>=|>|=|v|!)/.exec(k);const E=v?v[0]:"";const P=parsePartial(E.length?k.slice(E.length).trim():k.trim());switch(E){case"^":if(P.length>1&&P[1]===0){if(P.length>2&&P[2]===0){return[3,...P.slice(1)]}return[2,...P.slice(1)]}return[1,...P.slice(1)];case"~":return[2,...P.slice(1)];case">=":return P;case"=":case"v":case"":return toFixed(P);case"<":return negate(P);case">":{const k=toFixed(P);return[,k,0,P,2]}case"<=":return[,toFixed(P),negate(P),1];case"!":{const k=toFixed(P);return[,k,0]}default:throw new Error("Unexpected start value")}};const combine=(k,v)=>{if(k.length===1)return k[0];const E=[];for(const v of k.slice().reverse()){if(0 in v){E.push(v)}else{E.push(...v.slice(1))}}return[,...E,...k.slice(1).map((()=>v))]};const parseRange=k=>{const v=k.split(/\s+-\s+/);if(v.length===1){const v=k.trim().split(/(?<=[-0-9A-Za-z])\s+/g).map(parseSimple);return combine(v,2)}const E=parsePartial(v[0]);const P=parsePartial(v[1]);return[,toFixed(P),negate(P),1,E,2]};const parseLogicalOr=k=>{const v=k.split(/\s*\|\|\s*/).map(parseRange);return combine(v,1)};return parseLogicalOr(k)};const rangeToString=k=>{var v=k[0];var E="";if(k.length===1){return"*"}else if(v+.5){E+=v==0?">=":v==-1?"<":v==1?"^":v==2?"~":v>0?"=":"!=";var P=1;for(var R=1;R0?".":"")+(P=2,L)}return E}else{var q=[];for(var R=1;R{if(0 in k){v=parseVersion(v);var E=k[0];var P=E<0;if(P)E=-E-1;for(var R=0,L=1,N=true;;L++,R++){var q=L=v.length||(ae=v[R],(le=(typeof ae)[0])=="o")){if(!N)return true;if(q=="u")return L>E&&!P;return q==""!=P}if(le=="u"){if(!N||q!="u"){return false}}else if(N){if(q==le){if(L<=E){if(ae!=k[L]){return false}}else{if(P?ae>k[L]:ae{switch(typeof k){case"undefined":return"";case"object":if(Array.isArray(k)){let v="[";for(let E=0;E`var parseVersion = ${k.basicFunction("str",["// see webpack/lib/util/semver.js for original code",`var p=${k.supportsArrowFunction()?"p=>":"function(p)"}{return p.split(".").map((${k.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;`])}`;v.versionLtRuntimeCode=k=>`var versionLt = ${k.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 = ${k.basicFunction("range",["// see webpack/lib/util/semver.js for original code",'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a`var satisfy = ${k.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]:fE(94071)));const L=P((()=>E(67085)));const N=P((()=>E(90341)));const q=P((()=>E(90827)));const ae=P((()=>E(5505)));const le=P((()=>new(R())));const pe=P((()=>{E(5618);const k=E(51455);L().registerLoader(/^webpack\/lib\//,(v=>{const E=k[v.slice("webpack/lib/".length)];if(E){E()}else{console.warn(`${v} not found in internalSerializables`)}return true}))}));let me;k.exports={get register(){return L().register},get registerLoader(){return L().registerLoader},get registerNotSerializable(){return L().registerNotSerializable},get NOT_SERIALIZABLE(){return L().NOT_SERIALIZABLE},get MEASURE_START_OPERATION(){return R().MEASURE_START_OPERATION},get MEASURE_END_OPERATION(){return R().MEASURE_END_OPERATION},get buffersSerializer(){if(me!==undefined)return me;pe();const k=q();const v=le();const E=ae();const P=N();return me=new k([new P,new(L())((k=>{if(k.write){k.writeLazy=P=>{k.write(E.createLazy(P,v))}}}),"md4"),v])},createFileSerializer:(k,v)=>{pe();const P=q();const R=E(26607);const me=new R(k,v);const ye=le();const _e=ae();const Ie=N();return new P([new Ie,new(L())((k=>{if(k.write){k.writeLazy=v=>{k.write(_e.createLazy(v,ye))};k.writeSeparate=(v,E)=>{const P=_e.createLazy(v,me,E);k.write(P);return P}}}),v),ye,me])}}},53501:function(k){"use strict";const smartGrouping=(k,v)=>{const E=new Set;const P=new Map;for(const R of k){const k=new Set;for(let E=0;E{const v=k.size;for(const v of k){for(const k of v.groups){if(k.alreadyGrouped)continue;const E=k.items;if(E===undefined){k.items=new Set([v])}else{E.add(v)}}}const E=new Map;for(const k of P.values()){if(k.items){const v=k.items;k.items=undefined;E.set(k,{items:v,options:undefined,used:false})}}const R=[];for(;;){let P=undefined;let L=-1;let N=undefined;let q=undefined;for(const[R,ae]of E){const{items:E,used:le}=ae;let pe=ae.options;if(pe===undefined){const k=R.config;ae.options=pe=k.getOptions&&k.getOptions(R.name,Array.from(E,(({item:k})=>k)))||false}const me=pe&&pe.force;if(!me){if(q&&q.force)continue;if(le)continue;if(E.size<=1||v-E.size<=1){continue}}const ye=pe&&pe.targetGroupCount||4;let _e=me?E.size:Math.min(E.size,v*2/ye+k.size-E.size);if(_e>L||me&&(!q||!q.force)){P=R;L=_e;N=E;q=pe}}if(P===undefined){break}const ae=new Set(N);const le=q;const pe=!le||le.groupChildren!==false;for(const v of ae){k.delete(v);for(const k of v.groups){const P=E.get(k);if(P!==undefined){P.items.delete(v);if(P.items.size===0){E.delete(k)}else{P.options=undefined;if(pe){P.used=true}}}}}E.delete(P);const me=P.name;const ye=P.config;const _e=Array.from(ae,(({item:k})=>k));P.alreadyGrouped=true;const Ie=pe?runGrouping(ae):_e;P.alreadyGrouped=false;R.push(ye.createGroup(me,Ie,_e))}for(const{item:v}of k){R.push(v)}return R};return runGrouping(E)};k.exports=smartGrouping},71435:function(k,v){"use strict";const E=new WeakMap;const _isSourceEqual=(k,v)=>{let E=typeof k.buffer==="function"?k.buffer():k.source();let P=typeof v.buffer==="function"?v.buffer():v.source();if(E===P)return true;if(typeof E==="string"&&typeof P==="string")return false;if(!Buffer.isBuffer(E))E=Buffer.from(E,"utf-8");if(!Buffer.isBuffer(P))P=Buffer.from(P,"utf-8");return E.equals(P)};const isSourceEqual=(k,v)=>{if(k===v)return true;const P=E.get(k);if(P!==undefined){const k=P.get(v);if(k!==undefined)return k}const R=_isSourceEqual(k,v);if(P!==undefined){P.set(v,R)}else{const P=new WeakMap;P.set(v,R);E.set(k,P)}const L=E.get(v);if(L!==undefined){L.set(k,R)}else{const P=new WeakMap;P.set(k,R);E.set(v,P)}return R};v.isSourceEqual=isSourceEqual},11458:function(k,v,E){"use strict";const{validate:P}=E(38476);const R={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 L={concord:"BREAKING CHANGE: resolve.concord has been removed and is no longer available.",devtoolLineToLine:"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available."};const validateSchema=(k,v,E)=>{P(k,v,E||{name:"Webpack",postFormatter:(k,v)=>{const E=v.children;if(E&&E.some((k=>k.keyword==="absolutePath"&&k.dataPath===".output.filename"))){return`${k}\nPlease use output.path to specify absolute path and output.filename for the file name.`}if(E&&E.some((k=>k.keyword==="pattern"&&k.dataPath===".devtool"))){return`${k}\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(v.keyword==="additionalProperties"){const E=v.params;if(Object.prototype.hasOwnProperty.call(R,E.additionalProperty)){return`${k}\nDid you mean ${R[E.additionalProperty]}?`}if(Object.prototype.hasOwnProperty.call(L,E.additionalProperty)){return`${k}\n${L[E.additionalProperty]}?`}if(!v.dataPath){if(E.additionalProperty==="debug"){return`${k}\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(E.additionalProperty){return`${k}\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.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}}}return k}})};k.exports=validateSchema},99393:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);class AsyncWasmLoadingRuntimeModule extends R{constructor({generateLoadBinaryCode:k,supportsStreaming:v}){super("wasm loading",R.STAGE_NORMAL);this.generateLoadBinaryCode=k;this.supportsStreaming=v}generate(){const{compilation:k,chunk:v}=this;const{outputOptions:E,runtimeTemplate:R}=k;const N=P.instantiateWasm;const q=k.getPath(JSON.stringify(E.webassemblyModuleFilename),{hash:`" + ${P.getFullHash}() + "`,hashWithLength:k=>`" + ${P.getFullHash}}().slice(0, ${k}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + wasmModuleHash + "`,hashWithLength(k){return`" + wasmModuleHash.slice(0, ${k}) + "`}},runtime:v.runtime});return`${N} = ${R.basicFunction("exports, wasmModuleId, wasmModuleHash, importsObj",[`var req = ${this.generateLoadBinaryCode(q)};`,this.supportsStreaming?L.asString(["if (typeof WebAssembly.instantiateStreaming === 'function') {",L.indent(["return WebAssembly.instantiateStreaming(req, importsObj)",L.indent([`.then(${R.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])]),"}"]):"// no support for streaming compilation","return req",L.indent([`.then(${R.returningFunction("x.arrayBuffer()","x")})`,`.then(${R.returningFunction("WebAssembly.instantiate(bytes, importsObj)","bytes")})`,`.then(${R.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])])};`}}k.exports=AsyncWasmLoadingRuntimeModule},67290:function(k,v,E){"use strict";const P=E(91597);const R=new Set(["webassembly"]);class AsyncWebAssemblyGenerator extends P{constructor(k){super();this.options=k}getTypes(k){return R}getSize(k,v){const E=k.originalSource();if(!E){return 0}return E.size()}generate(k,v){return k.originalSource()}}k.exports=AsyncWebAssemblyGenerator},16332:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(91597);const L=E(88113);const N=E(56727);const q=E(95041);const ae=E(22734);const le=new Set(["webassembly"]);class AsyncWebAssemblyJavascriptGenerator extends R{constructor(k){super();this.filenameTemplate=k}getTypes(k){return le}getSize(k,v){return 40+k.dependencies.length*10}generate(k,v){const{runtimeTemplate:E,chunkGraph:R,moduleGraph:le,runtimeRequirements:pe,runtime:me}=v;pe.add(N.module);pe.add(N.moduleId);pe.add(N.exports);pe.add(N.instantiateWasm);const ye=[];const _e=new Map;const Ie=new Map;for(const v of k.dependencies){if(v instanceof ae){const k=le.getModule(v);if(!_e.has(k)){_e.set(k,{request:v.request,importVar:`WEBPACK_IMPORTED_MODULE_${_e.size}`})}let E=Ie.get(v.request);if(E===undefined){E=[];Ie.set(v.request,E)}E.push(v)}}const Me=[];const Te=Array.from(_e,(([v,{request:P,importVar:L}])=>{if(le.isAsync(v)){Me.push(L)}return E.importStatement({update:false,module:v,chunkGraph:R,request:P,originModule:k,importVar:L,runtimeRequirements:pe})}));const je=Te.map((([k])=>k)).join("");const Ne=Te.map((([k,v])=>v)).join("");const Be=Array.from(Ie,(([v,P])=>{const R=P.map((P=>{const R=le.getModule(P);const L=_e.get(R).importVar;return`${JSON.stringify(P.name)}: ${E.exportFromImport({moduleGraph:le,module:R,request:v,exportName:P.name,originModule:k,asiSafe:true,isCall:false,callContext:false,defaultInterop:true,importVar:L,initFragments:ye,runtime:me,runtimeRequirements:pe})}`}));return q.asString([`${JSON.stringify(v)}: {`,q.indent(R.join(",\n")),"}"])}));const qe=Be.length>0?q.asString(["{",q.indent(Be.join(",\n")),"}"]):undefined;const Ue=`${N.instantiateWasm}(${k.exportsArgument}, ${k.moduleArgument}.id, ${JSON.stringify(R.getRenderedModuleHash(k,me))}`+(qe?`, ${qe})`:`)`);if(Me.length>0)pe.add(N.asyncModule);const Ge=new P(Me.length>0?q.asString([`var __webpack_instantiate__ = ${E.basicFunction(`[${Me.join(", ")}]`,`${Ne}return ${Ue};`)}`,`${N.asyncModule}(${k.moduleArgument}, async ${E.basicFunction("__webpack_handle_async_dependencies__, __webpack_async_result__",["try {",je,`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${Me.join(", ")}]);`,`var [${Me.join(", ")}] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__;`,`${Ne}await ${Ue};`,"__webpack_async_result__();","} catch(e) { __webpack_async_result__(e); }"])}, 1);`]):`${je}${Ne}module.exports = ${Ue};`);return L.addToSource(Ge,ye,v)}}k.exports=AsyncWebAssemblyJavascriptGenerator},70006:function(k,v,E){"use strict";const{SyncWaterfallHook:P}=E(79846);const R=E(27747);const L=E(91597);const{tryRunOrWebpackError:N}=E(82104);const{WEBASSEMBLY_MODULE_TYPE_ASYNC:q}=E(93622);const ae=E(22734);const{compareModulesByIdentifier:le}=E(95648);const pe=E(20631);const me=pe((()=>E(67290)));const ye=pe((()=>E(16332)));const _e=pe((()=>E(13115)));const Ie=new WeakMap;const Me="AsyncWebAssemblyModulesPlugin";class AsyncWebAssemblyModulesPlugin{static getCompilationHooks(k){if(!(k instanceof R)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=Ie.get(k);if(v===undefined){v={renderModuleContent:new P(["source","module","renderContext"])};Ie.set(k,v)}return v}constructor(k){this.options=k}apply(k){k.hooks.compilation.tap(Me,((k,{normalModuleFactory:v})=>{const E=AsyncWebAssemblyModulesPlugin.getCompilationHooks(k);k.dependencyFactories.set(ae,v);v.hooks.createParser.for(q).tap(Me,(()=>{const k=_e();return new k}));v.hooks.createGenerator.for(q).tap(Me,(()=>{const v=ye();const E=me();return L.byType({javascript:new v(k.outputOptions.webassemblyModuleFilename),webassembly:new E(this.options)})}));k.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((v,P)=>{const{moduleGraph:R,chunkGraph:L,runtimeTemplate:N}=k;const{chunk:ae,outputOptions:pe,dependencyTemplates:me,codeGenerationResults:ye}=P;for(const k of L.getOrderedChunkModulesIterable(ae,le)){if(k.type===q){const P=pe.webassemblyModuleFilename;v.push({render:()=>this.renderModule(k,{chunk:ae,dependencyTemplates:me,runtimeTemplate:N,moduleGraph:R,chunkGraph:L,codeGenerationResults:ye},E),filenameTemplate:P,pathOptions:{module:k,runtime:ae.runtime,chunkGraph:L},auxiliary:true,identifier:`webassemblyAsyncModule${L.getModuleId(k)}`,hash:L.getModuleHash(k,ae.runtime)})}}return v}))}))}renderModule(k,v,E){const{codeGenerationResults:P,chunk:R}=v;try{const L=P.getSource(k,R.runtime,"webassembly");return N((()=>E.renderModuleContent.call(L,k,v)),"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent")}catch(v){v.module=k;throw v}}}k.exports=AsyncWebAssemblyModulesPlugin},13115:function(k,v,E){"use strict";const P=E(26333);const{decode:R}=E(57480);const L=E(17381);const N=E(93414);const q=E(22734);const ae={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends L{constructor(k){super();this.hooks=Object.freeze({});this.options=k}parse(k,v){if(!Buffer.isBuffer(k)){throw new Error("WebAssemblyParser input must be a Buffer")}v.module.buildInfo.strict=true;v.module.buildMeta.exportsType="namespace";v.module.buildMeta.async=true;const E=R(k,ae);const L=E.body[0];const le=[];P.traverse(L,{ModuleExport({node:k}){le.push(k.name)},ModuleImport({node:k}){const E=new q(k.module,k.name,k.descr,false);v.module.addDependency(E)}});v.module.addDependency(new N(le,false));return v}}k.exports=WebAssemblyParser},42626:function(k,v,E){"use strict";const P=E(71572);k.exports=class UnsupportedWebAssemblyFeatureError extends P{constructor(k){super(k);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true}}},68403:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{compareModulesByIdentifier:N}=E(95648);const q=E(91702);const getAllWasmModules=(k,v,E)=>{const P=E.getAllAsyncChunks();const R=[];for(const k of P){for(const E of v.getOrderedChunkModulesIterable(k,N)){if(E.type.startsWith("webassembly")){R.push(E)}}}return R};const generateImportObject=(k,v,E,R,N)=>{const ae=k.moduleGraph;const le=new Map;const pe=[];const me=q.getUsedDependencies(ae,v,E);for(const v of me){const E=v.dependency;const q=ae.getModule(E);const me=E.name;const ye=q&&ae.getExportsInfo(q).getUsedName(me,N);const _e=E.description;const Ie=E.onlyDirectImport;const Me=v.module;const Te=v.name;if(Ie){const v=`m${le.size}`;le.set(v,k.getModuleId(q));pe.push({module:Me,name:Te,value:`${v}[${JSON.stringify(ye)}]`})}else{const v=_e.signature.params.map(((k,v)=>"p"+v+k.valtype));const E=`${P.moduleCache}[${JSON.stringify(k.getModuleId(q))}]`;const N=`${E}.exports`;const ae=`wasmImportedFuncCache${R.length}`;R.push(`var ${ae};`);pe.push({module:Me,name:Te,value:L.asString([(q.type.startsWith("webassembly")?`${E} ? ${N}[${JSON.stringify(ye)}] : `:"")+`function(${v}) {`,L.indent([`if(${ae} === undefined) ${ae} = ${N};`,`return ${ae}[${JSON.stringify(ye)}](${v});`]),"}"])})}}let ye;if(E){ye=["return {",L.indent([pe.map((k=>`${JSON.stringify(k.name)}: ${k.value}`)).join(",\n")]),"};"]}else{const k=new Map;for(const v of pe){let E=k.get(v.module);if(E===undefined){k.set(v.module,E=[])}E.push(v)}ye=["return {",L.indent([Array.from(k,(([k,v])=>L.asString([`${JSON.stringify(k)}: {`,L.indent([v.map((k=>`${JSON.stringify(k.name)}: ${k.value}`)).join(",\n")]),"}"]))).join(",\n")]),"};"]}const _e=JSON.stringify(k.getModuleId(v));if(le.size===1){const k=Array.from(le.values())[0];const v=`installedWasmModules[${JSON.stringify(k)}]`;const E=Array.from(le.keys())[0];return L.asString([`${_e}: function() {`,L.indent([`return promiseResolve().then(function() { return ${v}; }).then(function(${E}) {`,L.indent(ye),"});"]),"},"])}else if(le.size>0){const k=Array.from(le.values(),(k=>`installedWasmModules[${JSON.stringify(k)}]`)).join(", ");const v=Array.from(le.keys(),((k,v)=>`${k} = array[${v}]`)).join(", ");return L.asString([`${_e}: function() {`,L.indent([`return promiseResolve().then(function() { return Promise.all([${k}]); }).then(function(array) {`,L.indent([`var ${v};`,...ye]),"});"]),"},"])}else{return L.asString([`${_e}: function() {`,L.indent(ye),"},"])}};class WasmChunkLoadingRuntimeModule extends R{constructor({generateLoadBinaryCode:k,supportsStreaming:v,mangleImports:E,runtimeRequirements:P}){super("wasm chunk loading",R.STAGE_ATTACH);this.generateLoadBinaryCode=k;this.supportsStreaming=v;this.mangleImports=E;this._runtimeRequirements=P}generate(){const{chunkGraph:k,compilation:v,chunk:E,mangleImports:R}=this;const{moduleGraph:N,outputOptions:ae}=v;const le=P.ensureChunkHandlers;const pe=this._runtimeRequirements.has(P.hmrDownloadUpdateHandlers);const me=getAllWasmModules(N,k,E);const ye=[];const _e=me.map((v=>generateImportObject(k,v,this.mangleImports,ye,E.runtime)));const Ie=k.getChunkModuleIdMap(E,(k=>k.type.startsWith("webassembly")));const createImportObject=k=>R?`{ ${JSON.stringify(q.MANGLED_MODULE)}: ${k} }`:k;const Me=v.getPath(JSON.stringify(ae.webassemblyModuleFilename),{hash:`" + ${P.getFullHash}() + "`,hashWithLength:k=>`" + ${P.getFullHash}}().slice(0, ${k}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(k.getChunkModuleRenderedHashMap(E,(k=>k.type.startsWith("webassembly"))))}[chunkId][wasmModuleId] + "`,hashWithLength(v){return`" + ${JSON.stringify(k.getChunkModuleRenderedHashMap(E,(k=>k.type.startsWith("webassembly")),v))}[chunkId][wasmModuleId] + "`}},runtime:E.runtime});const Te=pe?`${P.hmrRuntimeStatePrefix}_wasm`:undefined;return L.asString(["// object to store loaded and loading wasm modules",`var installedWasmModules = ${Te?`${Te} = ${Te} || `:""}{};`,"","function promiseResolve() { return Promise.resolve(); }","",L.asString(ye),"var wasmImportObjects = {",L.indent(_e),"};","",`var wasmModuleMap = ${JSON.stringify(Ie,undefined,"\t")};`,"","// object with all WebAssembly.instance exports",`${P.wasmInstances} = {};`,"","// Fetch + compile chunk loading for webassembly",`${le}.wasm = function(chunkId, promises) {`,L.indent(["",`var wasmModules = wasmModuleMap[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId, idx) {",L.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",L.indent(["promises.push(installedWasmModuleData);"]),"else {",L.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(Me)};`,"var promise;",this.supportsStreaming?L.asString(["if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {",L.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",L.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",L.indent([`promise = WebAssembly.instantiateStreaming(req, ${createImportObject("importObject")});`])]):L.asString(["if(importObject && typeof importObject.then === 'function') {",L.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",L.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",L.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"])]),"} else {",L.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",L.indent([`return WebAssembly.instantiate(bytes, ${createImportObject("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",L.indent([`return ${P.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"]),"};"])}}k.exports=WasmChunkLoadingRuntimeModule},6754:function(k,v,E){"use strict";const P=E(1811);const R=E(42626);class WasmFinalizeExportsPlugin{apply(k){k.hooks.compilation.tap("WasmFinalizeExportsPlugin",(k=>{k.hooks.finishModules.tap("WasmFinalizeExportsPlugin",(v=>{for(const E of v){if(E.type.startsWith("webassembly")===true){const v=E.buildMeta.jsIncompatibleExports;if(v===undefined){continue}for(const L of k.moduleGraph.getIncomingConnections(E)){if(L.isTargetActive(undefined)&&L.originModule.type.startsWith("webassembly")===false){const N=k.getDependencyReferencedExports(L.dependency,undefined);for(const q of N){const N=Array.isArray(q)?q:q.name;if(N.length===0)continue;const ae=N[0];if(typeof ae==="object")continue;if(Object.prototype.hasOwnProperty.call(v,ae)){const N=new R(`Export "${ae}" with ${v[ae]} can only be used for direct wasm to wasm dependencies\n`+`It's used from ${L.originModule.readableIdentifier(k.requestShortener)} at ${P(L.dependency.loc)}.`);N.module=E;k.errors.push(N)}}}}}}}))}))}}k.exports=WasmFinalizeExportsPlugin},96157:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const R=E(91597);const L=E(91702);const N=E(26333);const{moduleContextFromModuleAST:q}=E(26333);const{editWithAST:ae,addWithAST:le}=E(12092);const{decode:pe}=E(57480);const me=E(74476);const compose=(...k)=>k.reduce(((k,v)=>E=>v(k(E))),(k=>k));const removeStartFunc=k=>v=>ae(k.ast,v,{Start(k){k.remove()}});const getImportedGlobals=k=>{const v=[];N.traverse(k,{ModuleImport({node:k}){if(N.isGlobalType(k.descr)){v.push(k)}}});return v};const getCountImportedFunc=k=>{let v=0;N.traverse(k,{ModuleImport({node:k}){if(N.isFuncImportDescr(k.descr)){v++}}});return v};const getNextTypeIndex=k=>{const v=N.getSectionMetadata(k,"type");if(v===undefined){return N.indexLiteral(0)}return N.indexLiteral(v.vectorOfSize.value)};const getNextFuncIndex=(k,v)=>{const E=N.getSectionMetadata(k,"func");if(E===undefined){return N.indexLiteral(0+v)}const P=E.vectorOfSize.value;return N.indexLiteral(P+v)};const createDefaultInitForGlobal=k=>{if(k.valtype[0]==="i"){return N.objectInstruction("const",k.valtype,[N.numberLiteralFromRaw(66)])}else if(k.valtype[0]==="f"){return N.objectInstruction("const",k.valtype,[N.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+k.valtype)}};const rewriteImportedGlobals=k=>v=>{const E=k.additionalInitCode;const P=[];v=ae(k.ast,v,{ModuleImport(k){if(N.isGlobalType(k.node.descr)){const v=k.node.descr;v.mutability="var";const E=[createDefaultInitForGlobal(v),N.instruction("end")];P.push(N.global(v,E));k.remove()}},Global(k){const{node:v}=k;const[R]=v.init;if(R.id==="get_global"){v.globalType.mutability="var";const k=R.args[0];v.init=[createDefaultInitForGlobal(v.globalType),N.instruction("end")];E.push(N.instruction("get_local",[k]),N.instruction("set_global",[N.indexLiteral(P.length)]))}P.push(v);k.remove()}});return le(k.ast,v,P)};const rewriteExportNames=({ast:k,moduleGraph:v,module:E,externalExports:P,runtime:R})=>L=>ae(k,L,{ModuleExport(k){const L=P.has(k.node.name);if(L){k.remove();return}const N=v.getExportsInfo(E).getUsedName(k.node.name,R);if(!N){k.remove();return}k.node.name=N}});const rewriteImports=({ast:k,usedDependencyMap:v})=>E=>ae(k,E,{ModuleImport(k){const E=v.get(k.node.module+":"+k.node.name);if(E!==undefined){k.node.module=E.module;k.node.name=E.name}}});const addInitFunction=({ast:k,initFuncId:v,startAtFuncOffset:E,importedGlobals:P,additionalInitCode:R,nextFuncIndex:L,nextTypeIndex:q})=>ae=>{const pe=P.map((k=>{const v=N.identifier(`${k.module}.${k.name}`);return N.funcParam(k.descr.valtype,v)}));const me=[];P.forEach(((k,v)=>{const E=[N.indexLiteral(v)];const P=[N.instruction("get_local",E),N.instruction("set_global",E)];me.push(...P)}));if(typeof E==="number"){me.push(N.callInstruction(N.numberLiteralFromRaw(E)))}for(const k of R){me.push(k)}me.push(N.instruction("end"));const ye=[];const _e=N.signature(pe,ye);const Ie=N.func(v,_e,me);const Me=N.typeInstruction(undefined,_e);const Te=N.indexInFuncSection(q);const je=N.moduleExport(v.value,N.moduleExportDescr("Func",L));return le(k,ae,[Ie,je,Te,Me])};const getUsedDependencyMap=(k,v,E)=>{const P=new Map;for(const R of L.getUsedDependencies(k,v,E)){const k=R.dependency;const v=k.request;const E=k.name;P.set(v+":"+E,R)}return P};const ye=new Set(["webassembly"]);class WebAssemblyGenerator extends R{constructor(k){super();this.options=k}getTypes(k){return ye}getSize(k,v){const E=k.originalSource();if(!E){return 0}return E.size()}generate(k,{moduleGraph:v,runtime:E}){const R=k.originalSource().source();const L=N.identifier("");const ae=pe(R,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const le=q(ae.body[0]);const ye=getImportedGlobals(ae);const _e=getCountImportedFunc(ae);const Ie=le.getStart();const Me=getNextFuncIndex(ae,_e);const Te=getNextTypeIndex(ae);const je=getUsedDependencyMap(v,k,this.options.mangleImports);const Ne=new Set(k.dependencies.filter((k=>k instanceof me)).map((k=>{const v=k;return v.exportName})));const Be=[];const qe=compose(rewriteExportNames({ast:ae,moduleGraph:v,module:k,externalExports:Ne,runtime:E}),removeStartFunc({ast:ae}),rewriteImportedGlobals({ast:ae,additionalInitCode:Be}),rewriteImports({ast:ae,usedDependencyMap:je}),addInitFunction({ast:ae,initFuncId:L,importedGlobals:ye,additionalInitCode:Be,startAtFuncOffset:Ie,nextFuncIndex:Me,nextTypeIndex:Te}));const Ue=qe(R);const Ge=Buffer.from(Ue);return new P(Ge)}}k.exports=WebAssemblyGenerator},83454:function(k,v,E){"use strict";const P=E(71572);const getInitialModuleChains=(k,v,E,P)=>{const R=[{head:k,message:k.readableIdentifier(P)}];const L=new Set;const N=new Set;const q=new Set;for(const k of R){const{head:ae,message:le}=k;let pe=true;const me=new Set;for(const k of v.getIncomingConnections(ae)){const v=k.originModule;if(v){if(!E.getModuleChunks(v).some((k=>k.canBeInitial())))continue;pe=false;if(me.has(v))continue;me.add(v);const L=v.readableIdentifier(P);const ae=k.explanation?` (${k.explanation})`:"";const ye=`${L}${ae} --\x3e ${le}`;if(q.has(v)){N.add(`... --\x3e ${ye}`);continue}q.add(v);R.push({head:v,message:ye})}else{pe=false;const v=k.explanation?`(${k.explanation}) --\x3e ${le}`:le;L.add(v)}}if(pe){L.add(le)}}for(const k of N){L.add(k)}return Array.from(L)};k.exports=class WebAssemblyInInitialChunkError extends P{constructor(k,v,E,P){const R=getInitialModuleChains(k,v,E,P);const L=`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${R.map((k=>`* ${k}`)).join("\n")}`;super(L);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=k}}},26106:function(k,v,E){"use strict";const{RawSource:P}=E(51255);const{UsageState:R}=E(11172);const L=E(91597);const N=E(88113);const q=E(56727);const ae=E(95041);const le=E(77373);const pe=E(74476);const me=E(22734);const ye=new Set(["webassembly"]);class WebAssemblyJavascriptGenerator extends L{getTypes(k){return ye}getSize(k,v){return 95+k.dependencies.length*5}generate(k,v){const{runtimeTemplate:E,moduleGraph:L,chunkGraph:ye,runtimeRequirements:_e,runtime:Ie}=v;const Me=[];const Te=L.getExportsInfo(k);let je=false;const Ne=new Map;const Be=[];let qe=0;for(const v of k.dependencies){const P=v&&v instanceof le?v:undefined;if(L.getModule(v)){let R=Ne.get(L.getModule(v));if(R===undefined){Ne.set(L.getModule(v),R={importVar:`m${qe}`,index:qe,request:P&&P.userRequest||undefined,names:new Set,reexports:[]});qe++}if(v instanceof me){R.names.add(v.name);if(v.description.type==="GlobalType"){const P=v.name;const N=L.getModule(v);if(N){const q=L.getExportsInfo(N).getUsedName(P,Ie);if(q){Be.push(E.exportFromImport({moduleGraph:L,module:N,request:v.request,importVar:R.importVar,originModule:k,exportName:v.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Me,runtime:Ie,runtimeRequirements:_e}))}}}}if(v instanceof pe){R.names.add(v.name);const P=L.getExportsInfo(k).getUsedName(v.exportName,Ie);if(P){_e.add(q.exports);const N=`${k.exportsArgument}[${JSON.stringify(P)}]`;const le=ae.asString([`${N} = ${E.exportFromImport({moduleGraph:L,module:L.getModule(v),request:v.request,importVar:R.importVar,originModule:k,exportName:v.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Me,runtime:Ie,runtimeRequirements:_e})};`,`if(WebAssembly.Global) ${N} = `+`new WebAssembly.Global({ value: ${JSON.stringify(v.valueType)} }, ${N});`]);R.reexports.push(le);je=true}}}}const Ue=ae.asString(Array.from(Ne,(([k,{importVar:v,request:P,reexports:R}])=>{const L=E.importStatement({module:k,chunkGraph:ye,request:P,importVar:v,originModule:k,runtimeRequirements:_e});return L[0]+L[1]+R.join("\n")})));const Ge=Te.otherExportsInfo.getUsed(Ie)===R.Unused&&!je;_e.add(q.module);_e.add(q.moduleId);_e.add(q.wasmInstances);if(Te.otherExportsInfo.getUsed(Ie)!==R.Unused){_e.add(q.makeNamespaceObject);_e.add(q.exports)}if(!Ge){_e.add(q.exports)}const He=new P(['"use strict";',"// Instantiate WebAssembly module",`var wasmExports = ${q.wasmInstances}[${k.moduleArgument}.id];`,Te.otherExportsInfo.getUsed(Ie)!==R.Unused?`${q.makeNamespaceObject}(${k.exportsArgument});`:"","// export exports from WebAssembly module",Ge?`${k.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name) `+`${k.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",Ue,"","// exec wasm module",`wasmExports[""](${Be.join(", ")})`].join("\n"));return N.addToSource(He,Me,v)}}k.exports=WebAssemblyJavascriptGenerator},3843:function(k,v,E){"use strict";const P=E(91597);const{WEBASSEMBLY_MODULE_TYPE_SYNC:R}=E(93622);const L=E(74476);const N=E(22734);const{compareModulesByIdentifier:q}=E(95648);const ae=E(20631);const le=E(83454);const pe=ae((()=>E(96157)));const me=ae((()=>E(26106)));const ye=ae((()=>E(32799)));const _e="WebAssemblyModulesPlugin";class WebAssemblyModulesPlugin{constructor(k){this.options=k}apply(k){k.hooks.compilation.tap(_e,((k,{normalModuleFactory:v})=>{k.dependencyFactories.set(N,v);k.dependencyFactories.set(L,v);v.hooks.createParser.for(R).tap(_e,(()=>{const k=ye();return new k}));v.hooks.createGenerator.for(R).tap(_e,(()=>{const k=me();const v=pe();return P.byType({javascript:new k,webassembly:new v(this.options)})}));k.hooks.renderManifest.tap(_e,((v,E)=>{const{chunkGraph:P}=k;const{chunk:L,outputOptions:N,codeGenerationResults:ae}=E;for(const k of P.getOrderedChunkModulesIterable(L,q)){if(k.type===R){const E=N.webassemblyModuleFilename;v.push({render:()=>ae.getSource(k,L.runtime,"webassembly"),filenameTemplate:E,pathOptions:{module:k,runtime:L.runtime,chunkGraph:P},auxiliary:true,identifier:`webassemblyModule${P.getModuleId(k)}`,hash:P.getModuleHash(k,L.runtime)})}}return v}));k.hooks.afterChunks.tap(_e,(()=>{const v=k.chunkGraph;const E=new Set;for(const P of k.chunks){if(P.canBeInitial()){for(const k of v.getChunkModulesIterable(P)){if(k.type===R){E.add(k)}}}}for(const v of E){k.errors.push(new le(v,k.moduleGraph,k.chunkGraph,k.requestShortener))}}))}))}}k.exports=WebAssemblyModulesPlugin},32799:function(k,v,E){"use strict";const P=E(26333);const{moduleContextFromModuleAST:R}=E(26333);const{decode:L}=E(57480);const N=E(17381);const q=E(93414);const ae=E(74476);const le=E(22734);const pe=new Set(["i32","i64","f32","f64"]);const getJsIncompatibleType=k=>{for(const v of k.params){if(!pe.has(v.valtype)){return`${v.valtype} as parameter`}}for(const v of k.results){if(!pe.has(v))return`${v} as result`}return null};const getJsIncompatibleTypeOfFuncSignature=k=>{for(const v of k.args){if(!pe.has(v)){return`${v} as parameter`}}for(const v of k.result){if(!pe.has(v))return`${v} as result`}return null};const me={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends N{constructor(k){super();this.hooks=Object.freeze({});this.options=k}parse(k,v){if(!Buffer.isBuffer(k)){throw new Error("WebAssemblyParser input must be a Buffer")}v.module.buildInfo.strict=true;v.module.buildMeta.exportsType="namespace";const E=L(k,me);const N=E.body[0];const ye=R(N);const _e=[];let Ie=v.module.buildMeta.jsIncompatibleExports=undefined;const Me=[];P.traverse(N,{ModuleExport({node:k}){const E=k.descr;if(E.exportType==="Func"){const P=E.id.value;const R=ye.getFunction(P);const L=getJsIncompatibleTypeOfFuncSignature(R);if(L){if(Ie===undefined){Ie=v.module.buildMeta.jsIncompatibleExports={}}Ie[k.name]=L}}_e.push(k.name);if(k.descr&&k.descr.exportType==="Global"){const E=Me[k.descr.id.value];if(E){const P=new ae(k.name,E.module,E.name,E.descr.valtype);v.module.addDependency(P)}}},Global({node:k}){const v=k.init[0];let E=null;if(v.id==="get_global"){const k=v.args[0].value;if(k{const N=[];let q=0;for(const ae of v.dependencies){if(ae instanceof R){if(ae.description.type==="GlobalType"||k.getModule(ae)===null){continue}const v=ae.name;if(E){N.push({dependency:ae,name:P.numberToIdentifier(q++),module:L})}else{N.push({dependency:ae,name:v,module:ae.request})}}}return N};v.getUsedDependencies=getUsedDependencies;v.MANGLED_MODULE=L},50792:function(k,v,E){"use strict";const P=new WeakMap;const getEnabledTypes=k=>{let v=P.get(k);if(v===undefined){v=new Set;P.set(k,v)}return v};class EnableWasmLoadingPlugin{constructor(k){this.type=k}static setEnabled(k,v){getEnabledTypes(k).add(v)}static checkEnabled(k,v){if(!getEnabledTypes(k).has(v)){throw new Error(`Library type "${v}" 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". '+"These types are enabled: "+Array.from(getEnabledTypes(k)).join(", "))}}apply(k){const{type:v}=this;const P=getEnabledTypes(k);if(P.has(v))return;P.add(v);if(typeof v==="string"){switch(v){case"fetch":{const v=E(99900);const P=E(52576);new v({mangleImports:k.options.optimization.mangleWasmImports}).apply(k);(new P).apply(k);break}case"async-node":{const P=E(63506);const R=E(39842);new P({mangleImports:k.options.optimization.mangleWasmImports}).apply(k);new R({type:v}).apply(k);break}case"async-node-module":{const P=E(39842);new P({type:v,import:true}).apply(k);break}case"universal":throw new Error("Universal WebAssembly Loading is not implemented yet");default:throw new Error(`Unsupported wasm loading type ${v}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}k.exports=EnableWasmLoadingPlugin},52576:function(k,v,E){"use strict";const{WEBASSEMBLY_MODULE_TYPE_ASYNC:P}=E(93622);const R=E(56727);const L=E(99393);class FetchCompileAsyncWasmPlugin{apply(k){k.hooks.thisCompilation.tap("FetchCompileAsyncWasmPlugin",(k=>{const v=k.outputOptions.wasmLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.wasmLoading!==undefined?E.wasmLoading:v;return P==="fetch"};const generateLoadBinaryCode=k=>`fetch(${R.publicPath} + ${k})`;k.hooks.runtimeRequirementInTree.for(R.instantiateWasm).tap("FetchCompileAsyncWasmPlugin",((v,E)=>{if(!isEnabledForChunk(v))return;const N=k.chunkGraph;if(!N.hasModuleInGraph(v,(k=>k.type===P))){return}E.add(R.publicPath);k.addRuntimeModule(v,new L({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true}))}))}))}}k.exports=FetchCompileAsyncWasmPlugin},99900:function(k,v,E){"use strict";const{WEBASSEMBLY_MODULE_TYPE_SYNC:P}=E(93622);const R=E(56727);const L=E(68403);const N="FetchCompileWasmPlugin";class FetchCompileWasmPlugin{constructor(k={}){this.options=k}apply(k){k.hooks.thisCompilation.tap(N,(k=>{const v=k.outputOptions.wasmLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.wasmLoading!==undefined?E.wasmLoading:v;return P==="fetch"};const generateLoadBinaryCode=k=>`fetch(${R.publicPath} + ${k})`;k.hooks.runtimeRequirementInTree.for(R.ensureChunkHandlers).tap(N,((v,E)=>{if(!isEnabledForChunk(v))return;const N=k.chunkGraph;if(!N.hasModuleInGraph(v,(k=>k.type===P))){return}E.add(R.moduleCache);E.add(R.publicPath);k.addRuntimeModule(v,new L({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true,mangleImports:this.options.mangleImports,runtimeRequirements:E}))}))}))}}k.exports=FetchCompileWasmPlugin},58746:function(k,v,E){"use strict";const P=E(56727);const R=E(97810);class JsonpChunkLoadingPlugin{apply(k){k.hooks.thisCompilation.tap("JsonpChunkLoadingPlugin",(k=>{const v=k.outputOptions.chunkLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.chunkLoading!==undefined?E.chunkLoading:v;return P==="jsonp"};const E=new WeakSet;const handler=(v,L)=>{if(E.has(v))return;E.add(v);if(!isEnabledForChunk(v))return;L.add(P.moduleFactoriesAddOnly);L.add(P.hasOwnProperty);k.addRuntimeModule(v,new R(L))};k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.baseURI).tap("JsonpChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.onChunksLoaded).tap("JsonpChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.publicPath);v.add(P.loadScript);v.add(P.getChunkScriptFilename)}));k.hooks.runtimeRequirementInTree.for(P.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.publicPath);v.add(P.loadScript);v.add(P.getChunkUpdateScriptFilename);v.add(P.moduleCache);v.add(P.hmrModuleData);v.add(P.moduleFactoriesAddOnly)}));k.hooks.runtimeRequirementInTree.for(P.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.publicPath);v.add(P.getUpdateManifestFilename)}))}))}}k.exports=JsonpChunkLoadingPlugin},97810:function(k,v,E){"use strict";const{SyncWaterfallHook:P}=E(79846);const R=E(27747);const L=E(56727);const N=E(27462);const q=E(95041);const ae=E(89168).chunkHasJs;const{getInitialChunkIds:le}=E(73777);const pe=E(21751);const me=new WeakMap;class JsonpChunkLoadingRuntimeModule extends N{static getCompilationHooks(k){if(!(k instanceof R)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let v=me.get(k);if(v===undefined){v={linkPreload:new P(["source","chunk"]),linkPrefetch:new P(["source","chunk"])};me.set(k,v)}return v}constructor(k){super("jsonp chunk loading",N.STAGE_ATTACH);this._runtimeRequirements=k}_generateBaseUri(k){const v=k.getEntryOptions();if(v&&v.baseUri){return`${L.baseURI} = ${JSON.stringify(v.baseUri)};`}else{return`${L.baseURI} = document.baseURI || self.location.href;`}}generate(){const{chunkGraph:k,compilation:v,chunk:E}=this;const{runtimeTemplate:P,outputOptions:{chunkLoadingGlobal:R,hotUpdateGlobal:N,crossOriginLoading:me,scriptType:ye}}=v;const _e=P.globalObject;const{linkPreload:Ie,linkPrefetch:Me}=JsonpChunkLoadingRuntimeModule.getCompilationHooks(v);const Te=L.ensureChunkHandlers;const je=this._runtimeRequirements.has(L.baseURI);const Ne=this._runtimeRequirements.has(L.ensureChunkHandlers);const Be=this._runtimeRequirements.has(L.chunkCallback);const qe=this._runtimeRequirements.has(L.onChunksLoaded);const Ue=this._runtimeRequirements.has(L.hmrDownloadUpdateHandlers);const Ge=this._runtimeRequirements.has(L.hmrDownloadManifest);const He=this._runtimeRequirements.has(L.prefetchChunkHandlers);const We=this._runtimeRequirements.has(L.preloadChunkHandlers);const Qe=`${_e}[${JSON.stringify(R)}]`;const Je=k.getChunkConditionMap(E,ae);const Ve=pe(Je);const Ke=le(E,k,ae);const Ye=Ue?`${L.hmrRuntimeStatePrefix}_jsonp`:undefined;return q.asString([je?this._generateBaseUri(E):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${Ye?`${Ye} = ${Ye} || `:""}{`,q.indent(Array.from(Ke,(k=>`${JSON.stringify(k)}: 0`)).join(",\n")),"};","",Ne?q.asString([`${Te}.j = ${P.basicFunction("chunkId, promises",Ve!==false?q.indent(["// JSONP chunk loading for javascript",`var installedChunkData = ${L.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',q.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",q.indent(["promises.push(installedChunkData[2]);"]),"} else {",q.indent([Ve===true?"if(true) { // all chunks have JS":`if(${Ve("chunkId")}) {`,q.indent(["// setup Promise in chunk cache",`var promise = new Promise(${P.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${L.publicPath} + ${L.getChunkScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${P.basicFunction("event",[`if(${L.hasOwnProperty}(installedChunks, chunkId)) {`,q.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",q.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);"]),"}"]),"}"])};`,`${L.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`]),Ve===true?"}":"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):q.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",He&&Ve!==false?`${L.prefetchChunkHandlers}.j = ${P.basicFunction("chunkId",[`if((!${L.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ve===true?"true":Ve("chunkId")}) {`,q.indent(["installedChunks[chunkId] = null;",Me.call(q.asString(["var link = document.createElement('link');",me?`link.crossOrigin = ${JSON.stringify(me)};`:"",`if (${L.scriptNonce}) {`,q.indent(`link.setAttribute("nonce", ${L.scriptNonce});`),"}",'link.rel = "prefetch";','link.as = "script";',`link.href = ${L.publicPath} + ${L.getChunkScriptFilename}(chunkId);`]),E),"document.head.appendChild(link);"]),"}"])};`:"// no prefetching","",We&&Ve!==false?`${L.preloadChunkHandlers}.j = ${P.basicFunction("chunkId",[`if((!${L.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ve===true?"true":Ve("chunkId")}) {`,q.indent(["installedChunks[chunkId] = null;",Ie.call(q.asString(["var link = document.createElement('link');",ye&&ye!=="module"?`link.type = ${JSON.stringify(ye)};`:"","link.charset = 'utf-8';",`if (${L.scriptNonce}) {`,q.indent(`link.setAttribute("nonce", ${L.scriptNonce});`),"}",ye==="module"?'link.rel = "modulepreload";':'link.rel = "preload";',ye==="module"?"":'link.as = "script";',`link.href = ${L.publicPath} + ${L.getChunkScriptFilename}(chunkId);`,me?me==="use-credentials"?'link.crossOrigin = "use-credentials";':q.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",q.indent(`link.crossOrigin = ${JSON.stringify(me)};`),"}"]):""]),E),"document.head.appendChild(link);"]),"}"])};`:"// no preloaded","",Ue?q.asString(["var currentUpdatedModulesList;","var waitingUpdateResolves = {};","function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["currentUpdatedModulesList = updatedModulesList;",`return new Promise(${P.basicFunction("resolve, reject",["waitingUpdateResolves[chunkId] = resolve;","// start update chunk loading",`var url = ${L.publicPath} + ${L.getChunkUpdateScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${P.basicFunction("event",["if(waitingUpdateResolves[chunkId]) {",q.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);"]),"}"])};`,`${L.loadScript}(url, loadingEnded);`])});`]),"}","",`${_e}[${JSON.stringify(N)}] = ${P.basicFunction("chunkId, moreModules, runtime",["for(var moduleId in moreModules) {",q.indent([`if(${L.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","if(waitingUpdateResolves[chunkId]) {",q.indent(["waitingUpdateResolves[chunkId]();","waitingUpdateResolves[chunkId] = undefined;"]),"}"])};`,"",q.getFunctionContent(require("./JavascriptHotModuleReplacement.runtime.js")).replace(/\$key\$/g,"jsonp").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,L.moduleCache).replace(/\$moduleFactories\$/g,L.moduleFactories).replace(/\$ensureChunkHandlers\$/g,L.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,L.hasOwnProperty).replace(/\$hmrModuleData\$/g,L.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,L.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,L.hmrInvalidateModuleHandlers)]):"// no HMR","",Ge?q.asString([`${L.hmrDownloadManifest} = ${P.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${L.publicPath} + ${L.getUpdateManifestFilename}()).then(${P.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","",qe?`${L.onChunksLoaded}.j = ${P.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Be||Ne?q.asString(["// install a JSONP callback for chunk loading",`var webpackJsonpCallback = ${P.basicFunction("parentChunkLoadingFunction, data",[P.destructureArray(["chunkIds","moreModules","runtime"],"data"),'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0;",`if(chunkIds.some(${P.returningFunction("installedChunks[id] !== 0","id")})) {`,q.indent(["for(moduleId in moreModules) {",q.indent([`if(${L.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(`${L.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}",`if(runtime) var result = runtime(${L.require});`]),"}","if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);","for(;i < chunkIds.length; i++) {",q.indent(["chunkId = chunkIds[i];",`if(${L.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,q.indent("installedChunks[chunkId][0]();"),"}","installedChunks[chunkId] = 0;"]),"}",qe?`return ${L.onChunksLoaded}(result);`:""])}`,"",`var chunkLoadingGlobal = ${Qe} = ${Qe} || [];`,"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));","chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"]):"// no jsonp function"])}}k.exports=JsonpChunkLoadingRuntimeModule},68511:function(k,v,E){"use strict";const P=E(39799);const R=E(73126);const L=E(97810);class JsonpTemplatePlugin{static getCompilationHooks(k){return L.getCompilationHooks(k)}apply(k){k.options.output.chunkLoading="jsonp";(new P).apply(k);new R("jsonp").apply(k)}}k.exports=JsonpTemplatePlugin},10463:function(k,v,E){"use strict";const P=E(73837);const R=E(38537);const L=E(98625);const N=E(2170);const q=E(47575);const ae=E(27826);const{applyWebpackOptionsDefaults:le,applyWebpackOptionsBaseDefaults:pe}=E(25801);const{getNormalizedWebpackOptions:me}=E(47339);const ye=E(74983);const _e=E(20631);const Ie=_e((()=>E(11458)));const createMultiCompiler=(k,v)=>{const E=k.map((k=>createCompiler(k)));const P=new q(E,v);for(const k of E){if(k.options.dependencies){P.setDependencies(k,k.options.dependencies)}}return P};const createCompiler=k=>{const v=me(k);pe(v);const E=new N(v.context,v);new ye({infrastructureLogging:v.infrastructureLogging}).apply(E);if(Array.isArray(v.plugins)){for(const k of v.plugins){if(typeof k==="function"){k.call(E,E)}else{k.apply(E)}}}le(v);E.hooks.environment.call();E.hooks.afterEnvironment.call();(new ae).process(v,E);E.hooks.initialize.call();return E};const asArray=k=>Array.isArray(k)?Array.from(k):[k];const webpack=(k,v)=>{const create=()=>{if(!asArray(k).every(R)){Ie()(L,k);P.deprecate((()=>{}),"webpack bug: Pre-compiled schema reports error while real schema is happy. This has performance drawbacks.","DEP_WEBPACK_PRE_COMPILED_SCHEMA_INVALID")()}let v;let E=false;let N;if(Array.isArray(k)){v=createMultiCompiler(k,k);E=k.some((k=>k.watch));N=k.map((k=>k.watchOptions||{}))}else{const P=k;v=createCompiler(P);E=P.watch;N=P.watchOptions||{}}return{compiler:v,watch:E,watchOptions:N}};if(v){try{const{compiler:k,watch:E,watchOptions:P}=create();if(E){k.watch(P,v)}else{k.run(((E,P)=>{k.close((k=>{v(E||k,P)}))}))}return k}catch(k){process.nextTick((()=>v(k)));return null}}else{const{compiler:k,watch:v}=create();if(v){P.deprecate((()=>{}),"A 'callback' argument needs 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 k}};k.exports=webpack},9366:function(k,v,E){"use strict";const P=E(56727);const R=E(31626);const L=E(77567);class ImportScriptsChunkLoadingPlugin{apply(k){new R({chunkLoading:"import-scripts",asyncChunkLoading:true}).apply(k);k.hooks.thisCompilation.tap("ImportScriptsChunkLoadingPlugin",(k=>{const v=k.outputOptions.chunkLoading;const isEnabledForChunk=k=>{const E=k.getEntryOptions();const P=E&&E.chunkLoading!==undefined?E.chunkLoading:v;return P==="import-scripts"};const E=new WeakSet;const handler=(v,R)=>{if(E.has(v))return;E.add(v);if(!isEnabledForChunk(v))return;const N=!!k.outputOptions.trustedTypes;R.add(P.moduleFactoriesAddOnly);R.add(P.hasOwnProperty);if(N){R.add(P.createScriptUrl)}k.addRuntimeModule(v,new L(R,N))};k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.baseURI).tap("ImportScriptsChunkLoadingPlugin",handler);k.hooks.runtimeRequirementInTree.for(P.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.publicPath);v.add(P.getChunkScriptFilename)}));k.hooks.runtimeRequirementInTree.for(P.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.publicPath);v.add(P.getChunkUpdateScriptFilename);v.add(P.moduleCache);v.add(P.hmrModuleData);v.add(P.moduleFactoriesAddOnly)}));k.hooks.runtimeRequirementInTree.for(P.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",((k,v)=>{if(!isEnabledForChunk(k))return;v.add(P.publicPath);v.add(P.getUpdateManifestFilename)}))}))}}k.exports=ImportScriptsChunkLoadingPlugin},77567:function(k,v,E){"use strict";const P=E(56727);const R=E(27462);const L=E(95041);const{getChunkFilenameTemplate:N,chunkHasJs:q}=E(89168);const{getInitialChunkIds:ae}=E(73777);const le=E(21751);const{getUndoPath:pe}=E(65315);class ImportScriptsChunkLoadingRuntimeModule extends R{constructor(k,v){super("importScripts chunk loading",R.STAGE_ATTACH);this.runtimeRequirements=k;this._withCreateScriptUrl=v}_generateBaseUri(k){const v=k.getEntryOptions();if(v&&v.baseUri){return`${P.baseURI} = ${JSON.stringify(v.baseUri)};`}const E=this.compilation.getPath(N(k,this.compilation.outputOptions),{chunk:k,contentHashType:"javascript"});const R=pe(E,this.compilation.outputOptions.path,false);return`${P.baseURI} = self.location + ${JSON.stringify(R?"/../"+R:"")};`}generate(){const{chunk:k,chunkGraph:v,compilation:{runtimeTemplate:E,outputOptions:{chunkLoadingGlobal:R,hotUpdateGlobal:N}},_withCreateScriptUrl:pe}=this;const me=E.globalObject;const ye=P.ensureChunkHandlers;const _e=this.runtimeRequirements.has(P.baseURI);const Ie=this.runtimeRequirements.has(P.ensureChunkHandlers);const Me=this.runtimeRequirements.has(P.hmrDownloadUpdateHandlers);const Te=this.runtimeRequirements.has(P.hmrDownloadManifest);const je=`${me}[${JSON.stringify(R)}]`;const Ne=le(v.getChunkConditionMap(k,q));const Be=ae(k,v,q);const qe=Me?`${P.hmrRuntimeStatePrefix}_importScripts`:undefined;return L.asString([_e?this._generateBaseUri(k):"// no baseURI","","// object to store loaded chunks",'// "1" means "already loaded"',`var installedChunks = ${qe?`${qe} = ${qe} || `:""}{`,L.indent(Array.from(Be,(k=>`${JSON.stringify(k)}: 1`)).join(",\n")),"};","",Ie?L.asString(["// importScripts chunk loading",`var installChunk = ${E.basicFunction("data",[E.destructureArray(["chunkIds","moreModules","runtime"],"data"),"for(var moduleId in moreModules) {",L.indent([`if(${P.hasOwnProperty}(moreModules, moduleId)) {`,L.indent(`${P.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}",`if(runtime) runtime(${P.require});`,"while(chunkIds.length)",L.indent("installedChunks[chunkIds.pop()] = 1;"),"parentChunkLoadingFunction(data);"])};`]):"// no chunk install function needed",Ie?L.asString([`${ye}.i = ${E.basicFunction("chunkId, promises",Ne!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",L.indent([Ne===true?"if(true) { // all chunks have JS":`if(${Ne("chunkId")}) {`,L.indent(`importScripts(${pe?`${P.createScriptUrl}(${P.publicPath} + ${P.getChunkScriptFilename}(chunkId))`:`${P.publicPath} + ${P.getChunkScriptFilename}(chunkId)`});`),"}"]),"}"]:"installedChunks[chunkId] = 1;")};`,"",`var chunkLoadingGlobal = ${je} = ${je} || [];`,"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);","chunkLoadingGlobal.push = installChunk;"]):"// no chunk loading","",Me?L.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",L.indent(["var success = false;",`${me}[${JSON.stringify(N)}] = ${E.basicFunction("_, moreModules, runtime",["for(var moduleId in moreModules) {",L.indent([`if(${P.hasOwnProperty}(moreModules, moduleId)) {`,L.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","success = true;"])};`,"// start update chunk loading",`importScripts(${pe?`${P.createScriptUrl}(${P.publicPath} + ${P.getChunkUpdateScriptFilename}(chunkId))`:`${P.publicPath} + ${P.getChunkUpdateScriptFilename}(chunkId)`});`,'if(!success) throw new Error("Loading update chunk failed for unknown reason");']),"}","",L.getFunctionContent(require("./JavascriptHotModuleReplacement.runtime.js")).replace(/\$key\$/g,"importScrips").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,P.moduleCache).replace(/\$moduleFactories\$/g,P.moduleFactories).replace(/\$ensureChunkHandlers\$/g,P.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,P.hasOwnProperty).replace(/\$hmrModuleData\$/g,P.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,P.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,P.hmrInvalidateModuleHandlers)]):"// no HMR","",Te?L.asString([`${P.hmrDownloadManifest} = ${E.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${P.publicPath} + ${P.getUpdateManifestFilename}()).then(${E.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"])}}k.exports=ImportScriptsChunkLoadingRuntimeModule},20514:function(k,v,E){"use strict";const P=E(39799);const R=E(73126);class WebWorkerTemplatePlugin{apply(k){k.options.output.chunkLoading="import-scripts";(new P).apply(k);new R("import-scripts").apply(k)}}k.exports=WebWorkerTemplatePlugin},38537:function(k){const v=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;k.exports=we,k.exports["default"]=we;const E={definitions:{Amd:{anyOf:[{enum:[!1]},{type:"object"}]},AmdContainer:{type:"string",minLength:1},AssetFilterItemTypes:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!1},{instanceof:"Function"}]},AssetFilterTypes:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/AssetFilterItemTypes"}]}},{$ref:"#/definitions/AssetFilterItemTypes"}]},AssetGeneratorDataUrl:{anyOf:[{$ref:"#/definitions/AssetGeneratorDataUrlOptions"},{$ref:"#/definitions/AssetGeneratorDataUrlFunction"}]},AssetGeneratorDataUrlFunction:{instanceof:"Function"},AssetGeneratorDataUrlOptions:{type:"object",additionalProperties:!1,properties:{encoding:{enum:[!1,"base64"]},mimetype:{type:"string"}}},AssetGeneratorOptions:{type:"object",additionalProperties:!1,properties:{dataUrl:{$ref:"#/definitions/AssetGeneratorDataUrl"},emit:{type:"boolean"},filename:{$ref:"#/definitions/FilenameTemplate"},outputPath:{$ref:"#/definitions/AssetModuleOutputPath"},publicPath:{$ref:"#/definitions/RawPublicPath"}}},AssetInlineGeneratorOptions:{type:"object",additionalProperties:!1,properties:{dataUrl:{$ref:"#/definitions/AssetGeneratorDataUrl"}}},AssetModuleFilename:{anyOf:[{type:"string",absolutePath:!1},{instanceof:"Function"}]},AssetModuleOutputPath:{anyOf:[{type:"string",absolutePath:!1},{instanceof:"Function"}]},AssetParserDataUrlFunction:{instanceof:"Function"},AssetParserDataUrlOptions:{type:"object",additionalProperties:!1,properties:{maxSize:{type:"number"}}},AssetParserOptions:{type:"object",additionalProperties:!1,properties:{dataUrlCondition:{anyOf:[{$ref:"#/definitions/AssetParserDataUrlOptions"},{$ref:"#/definitions/AssetParserDataUrlFunction"}]}}},AssetResourceGeneratorOptions:{type:"object",additionalProperties:!1,properties:{emit:{type:"boolean"},filename:{$ref:"#/definitions/FilenameTemplate"},outputPath:{$ref:"#/definitions/AssetModuleOutputPath"},publicPath:{$ref:"#/definitions/RawPublicPath"}}},AuxiliaryComment:{anyOf:[{type:"string"},{$ref:"#/definitions/LibraryCustomUmdCommentObject"}]},Bail:{type:"boolean"},CacheOptions:{anyOf:[{enum:[!0]},{$ref:"#/definitions/CacheOptionsNormalized"}]},CacheOptionsNormalized:{anyOf:[{enum:[!1]},{$ref:"#/definitions/MemoryCacheOptions"},{$ref:"#/definitions/FileCacheOptions"}]},Charset:{type:"boolean"},ChunkFilename:{oneOf:[{$ref:"#/definitions/FilenameTemplate"}]},ChunkFormat:{anyOf:[{enum:["array-push","commonjs","module",!1]},{type:"string"}]},ChunkLoadTimeout:{type:"number"},ChunkLoading:{anyOf:[{enum:[!1]},{$ref:"#/definitions/ChunkLoadingType"}]},ChunkLoadingGlobal:{type:"string"},ChunkLoadingType:{anyOf:[{enum:["jsonp","import-scripts","require","async-node","import"]},{type:"string"}]},Clean:{anyOf:[{type:"boolean"},{$ref:"#/definitions/CleanOptions"}]},CleanOptions:{type:"object",additionalProperties:!1,properties:{dry:{type:"boolean"},keep:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!1},{instanceof:"Function"}]}}},CompareBeforeEmit:{type:"boolean"},Context:{type:"string",absolutePath:!0},CrossOriginLoading:{enum:[!1,"anonymous","use-credentials"]},CssChunkFilename:{oneOf:[{$ref:"#/definitions/FilenameTemplate"}]},CssExperimentOptions:{type:"object",additionalProperties:!1,properties:{exportsOnly:{type:"boolean"}}},CssFilename:{oneOf:[{$ref:"#/definitions/FilenameTemplate"}]},CssGeneratorOptions:{type:"object",additionalProperties:!1,properties:{}},CssParserOptions:{type:"object",additionalProperties:!1,properties:{}},Dependencies:{type:"array",items:{type:"string"}},DevServer:{type:"object"},DevTool:{anyOf:[{enum:[!1,"eval"]},{type:"string",pattern:"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}]},DevtoolFallbackModuleFilenameTemplate:{anyOf:[{type:"string"},{instanceof:"Function"}]},DevtoolModuleFilenameTemplate:{anyOf:[{type:"string"},{instanceof:"Function"}]},DevtoolNamespace:{type:"string"},EmptyGeneratorOptions:{type:"object",additionalProperties:!1},EmptyParserOptions:{type:"object",additionalProperties:!1},EnabledChunkLoadingTypes:{type:"array",items:{$ref:"#/definitions/ChunkLoadingType"}},EnabledLibraryTypes:{type:"array",items:{$ref:"#/definitions/LibraryType"}},EnabledWasmLoadingTypes:{type:"array",items:{$ref:"#/definitions/WasmLoadingType"}},Entry:{anyOf:[{$ref:"#/definitions/EntryDynamic"},{$ref:"#/definitions/EntryStatic"}]},EntryDescription:{type:"object",additionalProperties:!1,properties:{asyncChunks:{type:"boolean"},baseUri:{type:"string"},chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},filename:{$ref:"#/definitions/EntryFilename"},import:{$ref:"#/definitions/EntryItem"},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}},required:["import"]},EntryDescriptionNormalized:{type:"object",additionalProperties:!1,properties:{asyncChunks:{type:"boolean"},baseUri:{type:"string"},chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},filename:{$ref:"#/definitions/Filename"},import:{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}}},EntryDynamic:{instanceof:"Function"},EntryDynamicNormalized:{instanceof:"Function"},EntryFilename:{oneOf:[{$ref:"#/definitions/FilenameTemplate"}]},EntryItem:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},EntryNormalized:{anyOf:[{$ref:"#/definitions/EntryDynamicNormalized"},{$ref:"#/definitions/EntryStaticNormalized"}]},EntryObject:{type:"object",additionalProperties:{anyOf:[{$ref:"#/definitions/EntryItem"},{$ref:"#/definitions/EntryDescription"}]}},EntryRuntime:{anyOf:[{enum:[!1]},{type:"string",minLength:1}]},EntryStatic:{anyOf:[{$ref:"#/definitions/EntryObject"},{$ref:"#/definitions/EntryUnnamed"}]},EntryStaticNormalized:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/EntryDescriptionNormalized"}]}},EntryUnnamed:{oneOf:[{$ref:"#/definitions/EntryItem"}]},Environment:{type:"object",additionalProperties:!1,properties:{arrowFunction:{type:"boolean"},bigIntLiteral:{type:"boolean"},const:{type:"boolean"},destructuring:{type:"boolean"},dynamicImport:{type:"boolean"},dynamicImportInWorker:{type:"boolean"},forOf:{type:"boolean"},globalThis:{type:"boolean"},module:{type:"boolean"},optionalChaining:{type:"boolean"},templateLiteral:{type:"boolean"}}},Experiments:{type:"object",additionalProperties:!1,properties:{asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},buildHttp:{anyOf:[{$ref:"#/definitions/HttpUriAllowedUris"},{$ref:"#/definitions/HttpUriOptions"}]},cacheUnaffected:{type:"boolean"},css:{anyOf:[{type:"boolean"},{$ref:"#/definitions/CssExperimentOptions"}]},futureDefaults:{type:"boolean"},layers:{type:"boolean"},lazyCompilation:{anyOf:[{type:"boolean"},{$ref:"#/definitions/LazyCompilationOptions"}]},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}}},ExperimentsCommon:{type:"object",additionalProperties:!1,properties:{asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},cacheUnaffected:{type:"boolean"},futureDefaults:{type:"boolean"},layers:{type:"boolean"},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}}},ExperimentsNormalized:{type:"object",additionalProperties:!1,properties:{asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},buildHttp:{oneOf:[{$ref:"#/definitions/HttpUriOptions"}]},cacheUnaffected:{type:"boolean"},css:{anyOf:[{enum:[!1]},{$ref:"#/definitions/CssExperimentOptions"}]},futureDefaults:{type:"boolean"},layers:{type:"boolean"},lazyCompilation:{anyOf:[{enum:[!1]},{$ref:"#/definitions/LazyCompilationOptions"}]},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}}},Extends:{anyOf:[{type:"array",items:{$ref:"#/definitions/ExtendsItem"}},{$ref:"#/definitions/ExtendsItem"}]},ExtendsItem:{type:"string"},ExternalItem:{anyOf:[{instanceof:"RegExp"},{type:"string"},{type:"object",additionalProperties:{$ref:"#/definitions/ExternalItemValue"},properties:{byLayer:{anyOf:[{type:"object",additionalProperties:{$ref:"#/definitions/ExternalItem"}},{instanceof:"Function"}]}}},{instanceof:"Function"}]},ExternalItemFunctionData:{type:"object",additionalProperties:!1,properties:{context:{type:"string"},contextInfo:{type:"object"},dependencyType:{type:"string"},getResolve:{instanceof:"Function"},request:{type:"string"}}},ExternalItemValue:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"boolean"},{type:"string"},{type:"object"}]},Externals:{anyOf:[{type:"array",items:{$ref:"#/definitions/ExternalItem"}},{$ref:"#/definitions/ExternalItem"}]},ExternalsPresets:{type:"object",additionalProperties:!1,properties:{electron:{type:"boolean"},electronMain:{type:"boolean"},electronPreload:{type:"boolean"},electronRenderer:{type:"boolean"},node:{type:"boolean"},nwjs:{type:"boolean"},web:{type:"boolean"},webAsync:{type:"boolean"}}},ExternalsType:{enum:["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},FileCacheOptions:{type:"object",additionalProperties:!1,properties:{allowCollectingMemory:{type:"boolean"},buildDependencies:{type:"object",additionalProperties:{type:"array",items:{type:"string",minLength:1}}},cacheDirectory:{type:"string",absolutePath:!0},cacheLocation:{type:"string",absolutePath:!0},compression:{enum:[!1,"gzip","brotli"]},hashAlgorithm:{type:"string"},idleTimeout:{type:"number",minimum:0},idleTimeoutAfterLargeChanges:{type:"number",minimum:0},idleTimeoutForInitialStore:{type:"number",minimum:0},immutablePaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},managedPaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},maxAge:{type:"number",minimum:0},maxMemoryGenerations:{type:"number",minimum:0},memoryCacheUnaffected:{type:"boolean"},name:{type:"string"},profile:{type:"boolean"},readonly:{type:"boolean"},store:{enum:["pack"]},type:{enum:["filesystem"]},version:{type:"string"}},required:["type"]},Filename:{oneOf:[{$ref:"#/definitions/FilenameTemplate"}]},FilenameTemplate:{anyOf:[{type:"string",absolutePath:!1,minLength:1},{instanceof:"Function"}]},FilterItemTypes:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!1},{instanceof:"Function"}]},FilterTypes:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/FilterItemTypes"}]}},{$ref:"#/definitions/FilterItemTypes"}]},GeneratorOptionsByModuleType:{type:"object",additionalProperties:{type:"object",additionalProperties:!0},properties:{asset:{$ref:"#/definitions/AssetGeneratorOptions"},"asset/inline":{$ref:"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{$ref:"#/definitions/AssetResourceGeneratorOptions"},javascript:{$ref:"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{$ref:"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{$ref:"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{$ref:"#/definitions/EmptyGeneratorOptions"}}},GlobalObject:{type:"string",minLength:1},HashDigest:{type:"string"},HashDigestLength:{type:"number",minimum:1},HashFunction:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},HashSalt:{type:"string",minLength:1},HotUpdateChunkFilename:{type:"string",absolutePath:!1},HotUpdateGlobal:{type:"string"},HotUpdateMainFilename:{type:"string",absolutePath:!1},HttpUriAllowedUris:{oneOf:[{$ref:"#/definitions/HttpUriOptionsAllowedUris"}]},HttpUriOptions:{type:"object",additionalProperties:!1,properties:{allowedUris:{$ref:"#/definitions/HttpUriOptionsAllowedUris"},cacheLocation:{anyOf:[{enum:[!1]},{type:"string",absolutePath:!0}]},frozen:{type:"boolean"},lockfileLocation:{type:"string",absolutePath:!0},proxy:{type:"string"},upgrade:{type:"boolean"}},required:["allowedUris"]},HttpUriOptionsAllowedUris:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",pattern:"^https?://"},{instanceof:"Function"}]}},IgnoreWarnings:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"object",additionalProperties:!1,properties:{file:{instanceof:"RegExp"},message:{instanceof:"RegExp"},module:{instanceof:"RegExp"}}},{instanceof:"Function"}]}},IgnoreWarningsNormalized:{type:"array",items:{instanceof:"Function"}},Iife:{type:"boolean"},ImportFunctionName:{type:"string"},ImportMetaName:{type:"string"},InfrastructureLogging:{type:"object",additionalProperties:!1,properties:{appendOnly:{type:"boolean"},colors:{type:"boolean"},console:{},debug:{anyOf:[{type:"boolean"},{$ref:"#/definitions/FilterTypes"}]},level:{enum:["none","error","warn","info","log","verbose"]},stream:{}}},JavascriptParserOptions:{type:"object",additionalProperties:!0,properties:{amd:{$ref:"#/definitions/Amd"},browserify:{type:"boolean"},commonjs:{type:"boolean"},commonjsMagicComments:{type:"boolean"},createRequire:{anyOf:[{type:"boolean"},{type:"string"}]},dynamicImportMode:{enum:["eager","weak","lazy","lazy-once"]},dynamicImportPrefetch:{anyOf:[{type:"number"},{type:"boolean"}]},dynamicImportPreload:{anyOf:[{type:"number"},{type:"boolean"}]},exportsPresence:{enum:["error","warn","auto",!1]},exprContextCritical:{type:"boolean"},exprContextRecursive:{type:"boolean"},exprContextRegExp:{anyOf:[{instanceof:"RegExp"},{type:"boolean"}]},exprContextRequest:{type:"string"},harmony:{type:"boolean"},import:{type:"boolean"},importExportsPresence:{enum:["error","warn","auto",!1]},importMeta:{type:"boolean"},importMetaContext:{type:"boolean"},node:{$ref:"#/definitions/Node"},reexportExportsPresence:{enum:["error","warn","auto",!1]},requireContext:{type:"boolean"},requireEnsure:{type:"boolean"},requireInclude:{type:"boolean"},requireJs:{type:"boolean"},strictExportPresence:{type:"boolean"},strictThisContextOnImports:{type:"boolean"},system:{type:"boolean"},unknownContextCritical:{type:"boolean"},unknownContextRecursive:{type:"boolean"},unknownContextRegExp:{anyOf:[{instanceof:"RegExp"},{type:"boolean"}]},unknownContextRequest:{type:"string"},url:{anyOf:[{enum:["relative"]},{type:"boolean"}]},worker:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"boolean"}]},wrappedContextCritical:{type:"boolean"},wrappedContextRecursive:{type:"boolean"},wrappedContextRegExp:{instanceof:"RegExp"}}},Layer:{anyOf:[{enum:[null]},{type:"string",minLength:1}]},LazyCompilationDefaultBackendOptions:{type:"object",additionalProperties:!1,properties:{client:{type:"string"},listen:{anyOf:[{type:"number"},{type:"object",additionalProperties:!0,properties:{host:{type:"string"},port:{type:"number"}}},{instanceof:"Function"}]},protocol:{enum:["http","https"]},server:{anyOf:[{type:"object",additionalProperties:!0,properties:{}},{instanceof:"Function"}]}}},LazyCompilationOptions:{type:"object",additionalProperties:!1,properties:{backend:{anyOf:[{instanceof:"Function"},{$ref:"#/definitions/LazyCompilationDefaultBackendOptions"}]},entries:{type:"boolean"},imports:{type:"boolean"},test:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]}}},Library:{anyOf:[{$ref:"#/definitions/LibraryName"},{$ref:"#/definitions/LibraryOptions"}]},LibraryCustomUmdCommentObject:{type:"object",additionalProperties:!1,properties:{amd:{type:"string"},commonjs:{type:"string"},commonjs2:{type:"string"},root:{type:"string"}}},LibraryCustomUmdObject:{type:"object",additionalProperties:!1,properties:{amd:{type:"string",minLength:1},commonjs:{type:"string",minLength:1},root:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]}}},LibraryExport:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]},LibraryName:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1},{type:"string",minLength:1},{$ref:"#/definitions/LibraryCustomUmdObject"}]},LibraryOptions:{type:"object",additionalProperties:!1,properties:{amdContainer:{$ref:"#/definitions/AmdContainer"},auxiliaryComment:{$ref:"#/definitions/AuxiliaryComment"},export:{$ref:"#/definitions/LibraryExport"},name:{$ref:"#/definitions/LibraryName"},type:{$ref:"#/definitions/LibraryType"},umdNamedDefine:{$ref:"#/definitions/UmdNamedDefine"}},required:["type"]},LibraryType:{anyOf:[{enum:["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","amd","amd-require","umd","umd2","jsonp","system"]},{type:"string"}]},Loader:{type:"object"},MemoryCacheOptions:{type:"object",additionalProperties:!1,properties:{cacheUnaffected:{type:"boolean"},maxGenerations:{type:"number",minimum:1},type:{enum:["memory"]}},required:["type"]},Mode:{enum:["development","production","none"]},ModuleFilterItemTypes:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!1},{instanceof:"Function"}]},ModuleFilterTypes:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/ModuleFilterItemTypes"}]}},{$ref:"#/definitions/ModuleFilterItemTypes"}]},ModuleOptions:{type:"object",additionalProperties:!1,properties:{defaultRules:{oneOf:[{$ref:"#/definitions/RuleSetRules"}]},exprContextCritical:{type:"boolean"},exprContextRecursive:{type:"boolean"},exprContextRegExp:{anyOf:[{instanceof:"RegExp"},{type:"boolean"}]},exprContextRequest:{type:"string"},generator:{$ref:"#/definitions/GeneratorOptionsByModuleType"},noParse:{$ref:"#/definitions/NoParse"},parser:{$ref:"#/definitions/ParserOptionsByModuleType"},rules:{oneOf:[{$ref:"#/definitions/RuleSetRules"}]},strictExportPresence:{type:"boolean"},strictThisContextOnImports:{type:"boolean"},unknownContextCritical:{type:"boolean"},unknownContextRecursive:{type:"boolean"},unknownContextRegExp:{anyOf:[{instanceof:"RegExp"},{type:"boolean"}]},unknownContextRequest:{type:"string"},unsafeCache:{anyOf:[{type:"boolean"},{instanceof:"Function"}]},wrappedContextCritical:{type:"boolean"},wrappedContextRecursive:{type:"boolean"},wrappedContextRegExp:{instanceof:"RegExp"}}},ModuleOptionsNormalized:{type:"object",additionalProperties:!1,properties:{defaultRules:{oneOf:[{$ref:"#/definitions/RuleSetRules"}]},generator:{$ref:"#/definitions/GeneratorOptionsByModuleType"},noParse:{$ref:"#/definitions/NoParse"},parser:{$ref:"#/definitions/ParserOptionsByModuleType"},rules:{oneOf:[{$ref:"#/definitions/RuleSetRules"}]},unsafeCache:{anyOf:[{type:"boolean"},{instanceof:"Function"}]}},required:["defaultRules","generator","parser","rules"]},Name:{type:"string"},NoParse:{anyOf:[{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0},{instanceof:"Function"}]},minItems:1},{instanceof:"RegExp"},{type:"string",absolutePath:!0},{instanceof:"Function"}]},Node:{anyOf:[{enum:[!1]},{$ref:"#/definitions/NodeOptions"}]},NodeOptions:{type:"object",additionalProperties:!1,properties:{__dirname:{enum:[!1,!0,"warn-mock","mock","eval-only"]},__filename:{enum:[!1,!0,"warn-mock","mock","eval-only"]},global:{enum:[!1,!0,"warn"]}}},Optimization:{type:"object",additionalProperties:!1,properties:{checkWasmTypes:{type:"boolean"},chunkIds:{enum:["natural","named","deterministic","size","total-size",!1]},concatenateModules:{type:"boolean"},emitOnErrors:{type:"boolean"},flagIncludedChunks:{type:"boolean"},innerGraph:{type:"boolean"},mangleExports:{anyOf:[{enum:["size","deterministic"]},{type:"boolean"}]},mangleWasmImports:{type:"boolean"},mergeDuplicateChunks:{type:"boolean"},minimize:{type:"boolean"},minimizer:{type:"array",items:{anyOf:[{enum:["..."]},{$ref:"#/definitions/WebpackPluginInstance"},{$ref:"#/definitions/WebpackPluginFunction"}]}},moduleIds:{enum:["natural","named","hashed","deterministic","size",!1]},noEmitOnErrors:{type:"boolean"},nodeEnv:{anyOf:[{enum:[!1]},{type:"string"}]},portableRecords:{type:"boolean"},providedExports:{type:"boolean"},realContentHash:{type:"boolean"},removeAvailableModules:{type:"boolean"},removeEmptyChunks:{type:"boolean"},runtimeChunk:{$ref:"#/definitions/OptimizationRuntimeChunk"},sideEffects:{anyOf:[{enum:["flag"]},{type:"boolean"}]},splitChunks:{anyOf:[{enum:[!1]},{$ref:"#/definitions/OptimizationSplitChunksOptions"}]},usedExports:{anyOf:[{enum:["global"]},{type:"boolean"}]}}},OptimizationRuntimeChunk:{anyOf:[{enum:["single","multiple"]},{type:"boolean"},{type:"object",additionalProperties:!1,properties:{name:{anyOf:[{type:"string"},{instanceof:"Function"}]}}}]},OptimizationRuntimeChunkNormalized:{anyOf:[{enum:[!1]},{type:"object",additionalProperties:!1,properties:{name:{instanceof:"Function"}}}]},OptimizationSplitChunksCacheGroup:{type:"object",additionalProperties:!1,properties:{automaticNameDelimiter:{type:"string",minLength:1},chunks:{anyOf:[{enum:["initial","async","all"]},{instanceof:"RegExp"},{instanceof:"Function"}]},enforce:{type:"boolean"},enforceSizeThreshold:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},filename:{anyOf:[{type:"string",absolutePath:!1,minLength:1},{instanceof:"Function"}]},idHint:{type:"string"},layer:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]},maxAsyncRequests:{type:"number",minimum:1},maxAsyncSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxInitialRequests:{type:"number",minimum:1},maxInitialSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minChunks:{type:"number",minimum:1},minRemainingSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSizeReduction:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},name:{anyOf:[{enum:[!1]},{type:"string"},{instanceof:"Function"}]},priority:{type:"number"},reuseExistingChunk:{type:"boolean"},test:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]},type:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]},usedExports:{type:"boolean"}}},OptimizationSplitChunksGetCacheGroups:{instanceof:"Function"},OptimizationSplitChunksOptions:{type:"object",additionalProperties:!1,properties:{automaticNameDelimiter:{type:"string",minLength:1},cacheGroups:{type:"object",additionalProperties:{anyOf:[{enum:[!1]},{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"},{$ref:"#/definitions/OptimizationSplitChunksCacheGroup"}]},not:{type:"object",additionalProperties:!0,properties:{test:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"}]}},required:["test"]}},chunks:{anyOf:[{enum:["initial","async","all"]},{instanceof:"RegExp"},{instanceof:"Function"}]},defaultSizeTypes:{type:"array",items:{type:"string"},minItems:1},enforceSizeThreshold:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},fallbackCacheGroup:{type:"object",additionalProperties:!1,properties:{automaticNameDelimiter:{type:"string",minLength:1},chunks:{anyOf:[{enum:["initial","async","all"]},{instanceof:"RegExp"},{instanceof:"Function"}]},maxAsyncSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxInitialSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSizeReduction:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]}}},filename:{anyOf:[{type:"string",absolutePath:!1,minLength:1},{instanceof:"Function"}]},hidePathInfo:{type:"boolean"},maxAsyncRequests:{type:"number",minimum:1},maxAsyncSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxInitialRequests:{type:"number",minimum:1},maxInitialSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},maxSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minChunks:{type:"number",minimum:1},minRemainingSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSize:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},minSizeReduction:{oneOf:[{$ref:"#/definitions/OptimizationSplitChunksSizes"}]},name:{anyOf:[{enum:[!1]},{type:"string"},{instanceof:"Function"}]},usedExports:{type:"boolean"}}},OptimizationSplitChunksSizes:{anyOf:[{type:"number",minimum:0},{type:"object",additionalProperties:{type:"number"}}]},Output:{type:"object",additionalProperties:!1,properties:{amdContainer:{oneOf:[{$ref:"#/definitions/AmdContainer"}]},assetModuleFilename:{$ref:"#/definitions/AssetModuleFilename"},asyncChunks:{type:"boolean"},auxiliaryComment:{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"},clean:{$ref:"#/definitions/Clean"},compareBeforeEmit:{$ref:"#/definitions/CompareBeforeEmit"},crossOriginLoading:{$ref:"#/definitions/CrossOriginLoading"},cssChunkFilename:{$ref:"#/definitions/CssChunkFilename"},cssFilename:{$ref:"#/definitions/CssFilename"},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"},ignoreBrowserWarnings:{type:"boolean"},iife:{$ref:"#/definitions/Iife"},importFunctionName:{$ref:"#/definitions/ImportFunctionName"},importMetaName:{$ref:"#/definitions/ImportMetaName"},library:{$ref:"#/definitions/Library"},libraryExport:{oneOf:[{$ref:"#/definitions/LibraryExport"}]},libraryTarget:{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"},strictModuleErrorHandling:{$ref:"#/definitions/StrictModuleErrorHandling"},strictModuleExceptionHandling:{$ref:"#/definitions/StrictModuleExceptionHandling"},trustedTypes:{anyOf:[{enum:[!0]},{type:"string",minLength:1},{$ref:"#/definitions/TrustedTypes"}]},umdNamedDefine:{oneOf:[{$ref:"#/definitions/UmdNamedDefine"}]},uniqueName:{$ref:"#/definitions/UniqueName"},wasmLoading:{$ref:"#/definitions/WasmLoading"},webassemblyModuleFilename:{$ref:"#/definitions/WebassemblyModuleFilename"},workerChunkLoading:{$ref:"#/definitions/ChunkLoading"},workerPublicPath:{$ref:"#/definitions/WorkerPublicPath"},workerWasmLoading:{$ref:"#/definitions/WasmLoading"}}},OutputModule:{type:"boolean"},OutputNormalized:{type:"object",additionalProperties:!1,properties:{assetModuleFilename:{$ref:"#/definitions/AssetModuleFilename"},asyncChunks:{type:"boolean"},charset:{$ref:"#/definitions/Charset"},chunkFilename:{$ref:"#/definitions/ChunkFilename"},chunkFormat:{$ref:"#/definitions/ChunkFormat"},chunkLoadTimeout:{$ref:"#/definitions/ChunkLoadTimeout"},chunkLoading:{$ref:"#/definitions/ChunkLoading"},chunkLoadingGlobal:{$ref:"#/definitions/ChunkLoadingGlobal"},clean:{$ref:"#/definitions/Clean"},compareBeforeEmit:{$ref:"#/definitions/CompareBeforeEmit"},crossOriginLoading:{$ref:"#/definitions/CrossOriginLoading"},cssChunkFilename:{$ref:"#/definitions/CssChunkFilename"},cssFilename:{$ref:"#/definitions/CssFilename"},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"},ignoreBrowserWarnings:{type:"boolean"},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"},strictModuleErrorHandling:{$ref:"#/definitions/StrictModuleErrorHandling"},strictModuleExceptionHandling:{$ref:"#/definitions/StrictModuleExceptionHandling"},trustedTypes:{$ref:"#/definitions/TrustedTypes"},uniqueName:{$ref:"#/definitions/UniqueName"},wasmLoading:{$ref:"#/definitions/WasmLoading"},webassemblyModuleFilename:{$ref:"#/definitions/WebassemblyModuleFilename"},workerChunkLoading:{$ref:"#/definitions/ChunkLoading"},workerPublicPath:{$ref:"#/definitions/WorkerPublicPath"},workerWasmLoading:{$ref:"#/definitions/WasmLoading"}}},Parallelism:{type:"number",minimum:1},ParserOptionsByModuleType:{type:"object",additionalProperties:{type:"object",additionalProperties:!0},properties:{asset:{$ref:"#/definitions/AssetParserOptions"},"asset/inline":{$ref:"#/definitions/EmptyParserOptions"},"asset/resource":{$ref:"#/definitions/EmptyParserOptions"},"asset/source":{$ref:"#/definitions/EmptyParserOptions"},javascript:{$ref:"#/definitions/JavascriptParserOptions"},"javascript/auto":{$ref:"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{$ref:"#/definitions/JavascriptParserOptions"},"javascript/esm":{$ref:"#/definitions/JavascriptParserOptions"}}},Path:{type:"string",absolutePath:!0},Pathinfo:{anyOf:[{enum:["verbose"]},{type:"boolean"}]},Performance:{anyOf:[{enum:[!1]},{$ref:"#/definitions/PerformanceOptions"}]},PerformanceOptions:{type:"object",additionalProperties:!1,properties:{assetFilter:{instanceof:"Function"},hints:{enum:[!1,"warning","error"]},maxAssetSize:{type:"number"},maxEntrypointSize:{type:"number"}}},Plugins:{type:"array",items:{anyOf:[{$ref:"#/definitions/WebpackPluginInstance"},{$ref:"#/definitions/WebpackPluginFunction"}]}},Profile:{type:"boolean"},PublicPath:{anyOf:[{enum:["auto"]},{$ref:"#/definitions/RawPublicPath"}]},RawPublicPath:{anyOf:[{type:"string"},{instanceof:"Function"}]},RecordsInputPath:{anyOf:[{enum:[!1]},{type:"string",absolutePath:!0}]},RecordsOutputPath:{anyOf:[{enum:[!1]},{type:"string",absolutePath:!0}]},RecordsPath:{anyOf:[{enum:[!1]},{type:"string",absolutePath:!0}]},Resolve:{oneOf:[{$ref:"#/definitions/ResolveOptions"}]},ResolveAlias:{anyOf:[{type:"array",items:{type:"object",additionalProperties:!1,properties:{alias:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{enum:[!1]},{type:"string",minLength:1}]},name:{type:"string"},onlyModule:{type:"boolean"}},required:["alias","name"]}},{type:"object",additionalProperties:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{enum:[!1]},{type:"string",minLength:1}]}}]},ResolveLoader:{oneOf:[{$ref:"#/definitions/ResolveOptions"}]},ResolveOptions:{type:"object",additionalProperties:!1,properties:{alias:{$ref:"#/definitions/ResolveAlias"},aliasFields:{type:"array",items:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]}},byDependency:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/ResolveOptions"}]}},cache:{type:"boolean"},cachePredicate:{instanceof:"Function"},cacheWithContext:{type:"boolean"},conditionNames:{type:"array",items:{type:"string"}},descriptionFiles:{type:"array",items:{type:"string",minLength:1}},enforceExtension:{type:"boolean"},exportsFields:{type:"array",items:{type:"string"}},extensionAlias:{type:"object",additionalProperties:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]}},extensions:{type:"array",items:{type:"string"}},fallback:{oneOf:[{$ref:"#/definitions/ResolveAlias"}]},fileSystem:{},fullySpecified:{type:"boolean"},importsFields:{type:"array",items:{type:"string"}},mainFields:{type:"array",items:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]}},mainFiles:{type:"array",items:{type:"string",minLength:1}},modules:{type:"array",items:{type:"string",minLength:1}},plugins:{type:"array",items:{anyOf:[{enum:["..."]},{$ref:"#/definitions/ResolvePluginInstance"}]}},preferAbsolute:{type:"boolean"},preferRelative:{type:"boolean"},resolver:{},restrictions:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},roots:{type:"array",items:{type:"string"}},symlinks:{type:"boolean"},unsafeCache:{anyOf:[{type:"boolean"},{type:"object",additionalProperties:!0}]},useSyncFileSystemCalls:{type:"boolean"}}},ResolvePluginInstance:{type:"object",additionalProperties:!0,properties:{apply:{instanceof:"Function"}},required:["apply"]},RuleSetCondition:{anyOf:[{instanceof:"RegExp"},{type:"string"},{instanceof:"Function"},{$ref:"#/definitions/RuleSetLogicalConditions"},{$ref:"#/definitions/RuleSetConditions"}]},RuleSetConditionAbsolute:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0},{instanceof:"Function"},{$ref:"#/definitions/RuleSetLogicalConditionsAbsolute"},{$ref:"#/definitions/RuleSetConditionsAbsolute"}]},RuleSetConditionOrConditions:{anyOf:[{$ref:"#/definitions/RuleSetCondition"},{$ref:"#/definitions/RuleSetConditions"}]},RuleSetConditionOrConditionsAbsolute:{anyOf:[{$ref:"#/definitions/RuleSetConditionAbsolute"},{$ref:"#/definitions/RuleSetConditionsAbsolute"}]},RuleSetConditions:{type:"array",items:{oneOf:[{$ref:"#/definitions/RuleSetCondition"}]}},RuleSetConditionsAbsolute:{type:"array",items:{oneOf:[{$ref:"#/definitions/RuleSetConditionAbsolute"}]}},RuleSetLoader:{type:"string",minLength:1},RuleSetLoaderOptions:{anyOf:[{type:"string"},{type:"object"}]},RuleSetLogicalConditions:{type:"object",additionalProperties:!1,properties:{and:{oneOf:[{$ref:"#/definitions/RuleSetConditions"}]},not:{oneOf:[{$ref:"#/definitions/RuleSetCondition"}]},or:{oneOf:[{$ref:"#/definitions/RuleSetConditions"}]}}},RuleSetLogicalConditionsAbsolute:{type:"object",additionalProperties:!1,properties:{and:{oneOf:[{$ref:"#/definitions/RuleSetConditionsAbsolute"}]},not:{oneOf:[{$ref:"#/definitions/RuleSetConditionAbsolute"}]},or:{oneOf:[{$ref:"#/definitions/RuleSetConditionsAbsolute"}]}}},RuleSetRule:{type:"object",additionalProperties:!1,properties:{assert:{type:"object",additionalProperties:{$ref:"#/definitions/RuleSetConditionOrConditions"}},compiler:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},dependency:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},descriptionData:{type:"object",additionalProperties:{$ref:"#/definitions/RuleSetConditionOrConditions"}},enforce:{enum:["pre","post"]},exclude:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},generator:{type:"object"},include:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},issuer:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},issuerLayer:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},layer:{type:"string"},loader:{oneOf:[{$ref:"#/definitions/RuleSetLoader"}]},mimetype:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},oneOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/RuleSetRule"}]}},options:{oneOf:[{$ref:"#/definitions/RuleSetLoaderOptions"}]},parser:{type:"object",additionalProperties:!0},realResource:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},resolve:{type:"object",oneOf:[{$ref:"#/definitions/ResolveOptions"}]},resource:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},resourceFragment:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},resourceQuery:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},rules:{type:"array",items:{oneOf:[{$ref:"#/definitions/RuleSetRule"}]}},scheme:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditions"}]},sideEffects:{type:"boolean"},test:{oneOf:[{$ref:"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},type:{type:"string"},use:{oneOf:[{$ref:"#/definitions/RuleSetUse"}]}}},RuleSetRules:{type:"array",items:{anyOf:[{enum:["..."]},{$ref:"#/definitions/RuleSetRule"}]}},RuleSetUse:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/RuleSetUseItem"}]}},{instanceof:"Function"},{$ref:"#/definitions/RuleSetUseItem"}]},RuleSetUseItem:{anyOf:[{type:"object",additionalProperties:!1,properties:{ident:{type:"string"},loader:{oneOf:[{$ref:"#/definitions/RuleSetLoader"}]},options:{oneOf:[{$ref:"#/definitions/RuleSetLoaderOptions"}]}}},{instanceof:"Function"},{$ref:"#/definitions/RuleSetLoader"}]},ScriptType:{enum:[!1,"text/javascript","module"]},SnapshotOptions:{type:"object",additionalProperties:!1,properties:{buildDependencies:{type:"object",additionalProperties:!1,properties:{hash:{type:"boolean"},timestamp:{type:"boolean"}}},immutablePaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},managedPaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},module:{type:"object",additionalProperties:!1,properties:{hash:{type:"boolean"},timestamp:{type:"boolean"}}},resolve:{type:"object",additionalProperties:!1,properties:{hash:{type:"boolean"},timestamp:{type:"boolean"}}},resolveBuildDependencies:{type:"object",additionalProperties:!1,properties:{hash:{type:"boolean"},timestamp:{type:"boolean"}}}}},SourceMapFilename:{type:"string",absolutePath:!1},SourcePrefix:{type:"string"},StatsOptions:{type:"object",additionalProperties:!1,properties:{all:{type:"boolean"},assets:{type:"boolean"},assetsSort:{type:"string"},assetsSpace:{type:"number"},builtAt:{type:"boolean"},cached:{type:"boolean"},cachedAssets:{type:"boolean"},cachedModules:{type:"boolean"},children:{type:"boolean"},chunkGroupAuxiliary:{type:"boolean"},chunkGroupChildren:{type:"boolean"},chunkGroupMaxAssets:{type:"number"},chunkGroups:{type:"boolean"},chunkModules:{type:"boolean"},chunkModulesSpace:{type:"number"},chunkOrigins:{type:"boolean"},chunkRelations:{type:"boolean"},chunks:{type:"boolean"},chunksSort:{type:"string"},colors:{anyOf:[{type:"boolean"},{type:"object",additionalProperties:!1,properties:{bold:{type:"string"},cyan:{type:"string"},green:{type:"string"},magenta:{type:"string"},red:{type:"string"},yellow:{type:"string"}}}]},context:{type:"string",absolutePath:!0},dependentModules:{type:"boolean"},depth:{type:"boolean"},entrypoints:{anyOf:[{enum:["auto"]},{type:"boolean"}]},env:{type:"boolean"},errorDetails:{anyOf:[{enum:["auto"]},{type:"boolean"}]},errorStack:{type:"boolean"},errors:{type:"boolean"},errorsCount:{type:"boolean"},errorsSpace:{type:"number"},exclude:{anyOf:[{type:"boolean"},{$ref:"#/definitions/ModuleFilterTypes"}]},excludeAssets:{oneOf:[{$ref:"#/definitions/AssetFilterTypes"}]},excludeModules:{anyOf:[{type:"boolean"},{$ref:"#/definitions/ModuleFilterTypes"}]},groupAssetsByChunk:{type:"boolean"},groupAssetsByEmitStatus:{type:"boolean"},groupAssetsByExtension:{type:"boolean"},groupAssetsByInfo:{type:"boolean"},groupAssetsByPath:{type:"boolean"},groupModulesByAttributes:{type:"boolean"},groupModulesByCacheStatus:{type:"boolean"},groupModulesByExtension:{type:"boolean"},groupModulesByLayer:{type:"boolean"},groupModulesByPath:{type:"boolean"},groupModulesByType:{type:"boolean"},groupReasonsByOrigin:{type:"boolean"},hash:{type:"boolean"},ids:{type:"boolean"},logging:{anyOf:[{enum:["none","error","warn","info","log","verbose"]},{type:"boolean"}]},loggingDebug:{anyOf:[{type:"boolean"},{$ref:"#/definitions/FilterTypes"}]},loggingTrace:{type:"boolean"},moduleAssets:{type:"boolean"},moduleTrace:{type:"boolean"},modules:{type:"boolean"},modulesSort:{type:"string"},modulesSpace:{type:"number"},nestedModules:{type:"boolean"},nestedModulesSpace:{type:"number"},optimizationBailout:{type:"boolean"},orphanModules:{type:"boolean"},outputPath:{type:"boolean"},performance:{type:"boolean"},preset:{anyOf:[{type:"boolean"},{type:"string"}]},providedExports:{type:"boolean"},publicPath:{type:"boolean"},reasons:{type:"boolean"},reasonsSpace:{type:"number"},relatedAssets:{type:"boolean"},runtime:{type:"boolean"},runtimeModules:{type:"boolean"},source:{type:"boolean"},timings:{type:"boolean"},usedExports:{type:"boolean"},version:{type:"boolean"},warnings:{type:"boolean"},warningsCount:{type:"boolean"},warningsFilter:{oneOf:[{$ref:"#/definitions/WarningFilterTypes"}]},warningsSpace:{type:"number"}}},StatsValue:{anyOf:[{enum:["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{type:"boolean"},{$ref:"#/definitions/StatsOptions"}]},StrictModuleErrorHandling:{type:"boolean"},StrictModuleExceptionHandling:{type:"boolean"},Target:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1},{enum:[!1]},{type:"string",minLength:1}]},TrustedTypes:{type:"object",additionalProperties:!1,properties:{onPolicyCreationFailure:{enum:["continue","stop"]},policyName:{type:"string",minLength:1}}},UmdNamedDefine:{type:"boolean"},UniqueName:{type:"string",minLength:1},WarningFilterItemTypes:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!1},{instanceof:"Function"}]},WarningFilterTypes:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/WarningFilterItemTypes"}]}},{$ref:"#/definitions/WarningFilterItemTypes"}]},WasmLoading:{anyOf:[{enum:[!1]},{$ref:"#/definitions/WasmLoadingType"}]},WasmLoadingType:{anyOf:[{enum:["fetch-streaming","fetch","async-node"]},{type:"string"}]},Watch:{type:"boolean"},WatchOptions:{type:"object",additionalProperties:!1,properties:{aggregateTimeout:{type:"number"},followSymlinks:{type:"boolean"},ignored:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{instanceof:"RegExp"},{type:"string",minLength:1}]},poll:{anyOf:[{type:"number"},{type:"boolean"}]},stdin:{type:"boolean"}}},WebassemblyModuleFilename:{type:"string",absolutePath:!1},WebpackOptionsNormalized:{type:"object",additionalProperties:!1,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/ExperimentsNormalized"},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/ModuleOptionsNormalized"},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:{instanceof:"Function"},WebpackPluginInstance:{type:"object",additionalProperties:!0,properties:{apply:{instanceof:"Function"}},required:["apply"]},WorkerPublicPath:{type:"string"}},type:"object",additionalProperties:!1,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"},extends:{$ref:"#/definitions/Extends"},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"}}},P=Object.prototype.hasOwnProperty,R={type:"object",additionalProperties:!1,properties:{allowCollectingMemory:{type:"boolean"},buildDependencies:{type:"object",additionalProperties:{type:"array",items:{type:"string",minLength:1}}},cacheDirectory:{type:"string",absolutePath:!0},cacheLocation:{type:"string",absolutePath:!0},compression:{enum:[!1,"gzip","brotli"]},hashAlgorithm:{type:"string"},idleTimeout:{type:"number",minimum:0},idleTimeoutAfterLargeChanges:{type:"number",minimum:0},idleTimeoutForInitialStore:{type:"number",minimum:0},immutablePaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},managedPaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},maxAge:{type:"number",minimum:0},maxMemoryGenerations:{type:"number",minimum:0},memoryCacheUnaffected:{type:"boolean"},name:{type:"string"},profile:{type:"boolean"},readonly:{type:"boolean"},store:{enum:["pack"]},type:{enum:["filesystem"]},version:{type:"string"}},required:["type"]};function o(k,{instancePath:E="",parentData:L,parentDataProperty:N,rootData:q=k}={}){let ae=null,le=0;const pe=le;let me=!1;const ye=le;if(!1!==k){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}var _e=ye===le;if(me=me||_e,!me){const E=le;if(le==le)if(k&&"object"==typeof k&&!Array.isArray(k)){let v;if(void 0===k.type&&(v="type")){const k={params:{missingProperty:v}};null===ae?ae=[k]:ae.push(k),le++}else{const v=le;for(const v in k)if("cacheUnaffected"!==v&&"maxGenerations"!==v&&"type"!==v){const k={params:{additionalProperty:v}};null===ae?ae=[k]:ae.push(k),le++;break}if(v===le){if(void 0!==k.cacheUnaffected){const v=le;if("boolean"!=typeof k.cacheUnaffected){const k={params:{type:"boolean"}};null===ae?ae=[k]:ae.push(k),le++}var Ie=v===le}else Ie=!0;if(Ie){if(void 0!==k.maxGenerations){let v=k.maxGenerations;const E=le;if(le===E)if("number"==typeof v){if(v<1||isNaN(v)){const k={params:{comparison:">=",limit:1}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"number"}};null===ae?ae=[k]:ae.push(k),le++}Ie=E===le}else Ie=!0;if(Ie)if(void 0!==k.type){const v=le;if("memory"!==k.type){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}Ie=v===le}else Ie=!0}}}}else{const k={params:{type:"object"}};null===ae?ae=[k]:ae.push(k),le++}if(_e=E===le,me=me||_e,!me){const E=le;if(le==le)if(k&&"object"==typeof k&&!Array.isArray(k)){let E;if(void 0===k.type&&(E="type")){const k={params:{missingProperty:E}};null===ae?ae=[k]:ae.push(k),le++}else{const E=le;for(const v in k)if(!P.call(R.properties,v)){const k={params:{additionalProperty:v}};null===ae?ae=[k]:ae.push(k),le++;break}if(E===le){if(void 0!==k.allowCollectingMemory){const v=le;if("boolean"!=typeof k.allowCollectingMemory){const k={params:{type:"boolean"}};null===ae?ae=[k]:ae.push(k),le++}var Me=v===le}else Me=!0;if(Me){if(void 0!==k.buildDependencies){let v=k.buildDependencies;const E=le;if(le===E)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){let E=v[k];const P=le;if(le===P)if(Array.isArray(E)){const k=E.length;for(let v=0;v=",limit:0}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"number"}};null===ae?ae=[k]:ae.push(k),le++}Me=E===le}else Me=!0;if(Me){if(void 0!==k.idleTimeoutAfterLargeChanges){let v=k.idleTimeoutAfterLargeChanges;const E=le;if(le===E)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"number"}};null===ae?ae=[k]:ae.push(k),le++}Me=E===le}else Me=!0;if(Me){if(void 0!==k.idleTimeoutForInitialStore){let v=k.idleTimeoutForInitialStore;const E=le;if(le===E)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"number"}};null===ae?ae=[k]:ae.push(k),le++}Me=E===le}else Me=!0;if(Me){if(void 0!==k.immutablePaths){let E=k.immutablePaths;const P=le;if(le===P)if(Array.isArray(E)){const k=E.length;for(let P=0;P=",limit:0}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"number"}};null===ae?ae=[k]:ae.push(k),le++}Me=E===le}else Me=!0;if(Me){if(void 0!==k.maxMemoryGenerations){let v=k.maxMemoryGenerations;const E=le;if(le===E)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"number"}};null===ae?ae=[k]:ae.push(k),le++}Me=E===le}else Me=!0;if(Me){if(void 0!==k.memoryCacheUnaffected){const v=le;if("boolean"!=typeof k.memoryCacheUnaffected){const k={params:{type:"boolean"}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0;if(Me){if(void 0!==k.name){const v=le;if("string"!=typeof k.name){const k={params:{type:"string"}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0;if(Me){if(void 0!==k.profile){const v=le;if("boolean"!=typeof k.profile){const k={params:{type:"boolean"}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0;if(Me){if(void 0!==k.readonly){const v=le;if("boolean"!=typeof k.readonly){const k={params:{type:"boolean"}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0;if(Me){if(void 0!==k.store){const v=le;if("pack"!==k.store){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0;if(Me){if(void 0!==k.type){const v=le;if("filesystem"!==k.type){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0;if(Me)if(void 0!==k.version){const v=le;if("string"!=typeof k.version){const k={params:{type:"string"}};null===ae?ae=[k]:ae.push(k),le++}Me=v===le}else Me=!0}}}}}}}}}}}}}}}}}}}}}else{const k={params:{type:"object"}};null===ae?ae=[k]:ae.push(k),le++}_e=E===le,me=me||_e}}if(!me){const k={params:{}};return null===ae?ae=[k]:ae.push(k),le++,o.errors=ae,!1}return le=pe,null!==ae&&(pe?ae.length=pe:ae=null),o.errors=ae,0===le}function s(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if(!0!==k){const k={params:{}};null===L?L=[k]:L.push(k),N++}var pe=le===N;if(ae=ae||pe,!ae){const q=N;o(k,{instancePath:v,parentData:E,parentDataProperty:P,rootData:R})||(L=null===L?o.errors:L.concat(o.errors),N=L.length),pe=q===N,ae=ae||pe}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,s.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),s.errors=L,0===N}const L={type:"object",additionalProperties:!1,properties:{asyncChunks:{type:"boolean"},baseUri:{type:"string"},chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},filename:{$ref:"#/definitions/EntryFilename"},import:{$ref:"#/definitions/EntryItem"},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}},required:["import"]};function a(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if(!1!==k){const k={params:{}};null===L?L=[k]:L.push(k),N++}var pe=le===N;if(ae=ae||pe,!ae){const v=N,E=N;let P=!1;const R=N;if("jsonp"!==k&&"import-scripts"!==k&&"require"!==k&&"async-node"!==k&&"import"!==k){const k={params:{}};null===L?L=[k]:L.push(k),N++}var me=R===N;if(P=P||me,!P){const v=N;if("string"!=typeof k){const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}me=v===N,P=P||me}if(P)N=E,null!==L&&(E?L.length=E:L=null);else{const k={params:{}};null===L?L=[k]:L.push(k),N++}pe=v===N,ae=ae||pe}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,a.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),a.errors=L,0===N}function l(k,{instancePath:E="",parentData:P,parentDataProperty:R,rootData:L=k}={}){let N=null,q=0;const ae=q;let le=!1,pe=null;const me=q,ye=q;let _e=!1;const Ie=q;if(q===Ie)if("string"==typeof k){if(k.includes("!")||!1!==v.test(k)){const k={params:{}};null===N?N=[k]:N.push(k),q++}else if(k.length<1){const k={params:{}};null===N?N=[k]:N.push(k),q++}}else{const k={params:{type:"string"}};null===N?N=[k]:N.push(k),q++}var Me=Ie===q;if(_e=_e||Me,!_e){const v=q;if(!(k instanceof Function)){const k={params:{}};null===N?N=[k]:N.push(k),q++}Me=v===q,_e=_e||Me}if(_e)q=ye,null!==N&&(ye?N.length=ye:N=null);else{const k={params:{}};null===N?N=[k]:N.push(k),q++}if(me===q&&(le=!0,pe=0),!le){const k={params:{passingSchemas:pe}};return null===N?N=[k]:N.push(k),q++,l.errors=N,!1}return q=ae,null!==N&&(ae?N.length=ae:N=null),l.errors=N,0===q}function p(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if("string"!=typeof k){const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}var pe=le===N;if(ae=ae||pe,!ae){const v=N;if(N==N)if(k&&"object"==typeof k&&!Array.isArray(k)){const v=N;for(const v in k)if("amd"!==v&&"commonjs"!==v&&"commonjs2"!==v&&"root"!==v){const k={params:{additionalProperty:v}};null===L?L=[k]:L.push(k),N++;break}if(v===N){if(void 0!==k.amd){const v=N;if("string"!=typeof k.amd){const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}var me=v===N}else me=!0;if(me){if(void 0!==k.commonjs){const v=N;if("string"!=typeof k.commonjs){const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}me=v===N}else me=!0;if(me){if(void 0!==k.commonjs2){const v=N;if("string"!=typeof k.commonjs2){const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}me=v===N}else me=!0;if(me)if(void 0!==k.root){const v=N;if("string"!=typeof k.root){const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}me=v===N}else me=!0}}}}else{const k={params:{type:"object"}};null===L?L=[k]:L.push(k),N++}pe=v===N,ae=ae||pe}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,p.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),p.errors=L,0===N}function f(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if(N===le)if(Array.isArray(k))if(k.length<1){const k={params:{limit:1}};null===L?L=[k]:L.push(k),N++}else{const v=k.length;for(let E=0;E1){const P={};for(;E--;){let R=v[E];if("string"==typeof R){if("number"==typeof P[R]){k=P[R];const v={params:{i:E,j:k}};null===q?q=[v]:q.push(v),ae++;break}P[R]=E}}}}}else{const k={params:{type:"array"}};null===q?q=[k]:q.push(k),ae++}var me=L===ae;if(R=R||me,!R){const k=ae;if(ae===k)if("string"==typeof v){if(v.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}me=k===ae,R=R||me}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,m.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.filename){const E=ae;l(k.filename,{instancePath:v+"/filename",parentData:k,parentDataProperty:"filename",rootData:N})||(q=null===q?l.errors:q.concat(l.errors),ae=q.length),le=E===ae}else le=!0;if(le){if(void 0!==k.import){let v=k.import;const E=ae,P=ae;let R=!1;const L=ae;if(ae===L)if(Array.isArray(v))if(v.length<1){const k={params:{limit:1}};null===q?q=[k]:q.push(k),ae++}else{var ye=!0;const k=v.length;for(let E=0;E1){const P={};for(;E--;){let R=v[E];if("string"==typeof R){if("number"==typeof P[R]){k=P[R];const v={params:{i:E,j:k}};null===q?q=[v]:q.push(v),ae++;break}P[R]=E}}}}}else{const k={params:{type:"array"}};null===q?q=[k]:q.push(k),ae++}var _e=L===ae;if(R=R||_e,!R){const k=ae;if(ae===k)if("string"==typeof v){if(v.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}_e=k===ae,R=R||_e}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,m.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.layer){let v=k.layer;const E=ae,P=ae;let R=!1;const L=ae;if(null!==v){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var Ie=L===ae;if(R=R||Ie,!R){const k=ae;if(ae===k)if("string"==typeof v){if(v.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}Ie=k===ae,R=R||Ie}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,m.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.library){const E=ae;u(k.library,{instancePath:v+"/library",parentData:k,parentDataProperty:"library",rootData:N})||(q=null===q?u.errors:q.concat(u.errors),ae=q.length),le=E===ae}else le=!0;if(le){if(void 0!==k.publicPath){const E=ae;c(k.publicPath,{instancePath:v+"/publicPath",parentData:k,parentDataProperty:"publicPath",rootData:N})||(q=null===q?c.errors:q.concat(c.errors),ae=q.length),le=E===ae}else le=!0;if(le){if(void 0!==k.runtime){let v=k.runtime;const E=ae,P=ae;let R=!1;const L=ae;if(!1!==v){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var Me=L===ae;if(R=R||Me,!R){const k=ae;if(ae===k)if("string"==typeof v){if(v.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}Me=k===ae,R=R||Me}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,m.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le)if(void 0!==k.wasmLoading){const E=ae;y(k.wasmLoading,{instancePath:v+"/wasmLoading",parentData:k,parentDataProperty:"wasmLoading",rootData:N})||(q=null===q?y.errors:q.concat(y.errors),ae=q.length),le=E===ae}else le=!0}}}}}}}}}}}}}return m.errors=q,0===ae}function d(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;if(0===N){if(!k||"object"!=typeof k||Array.isArray(k))return d.errors=[{params:{type:"object"}}],!1;for(const E in k){let P=k[E];const pe=N,me=N;let ye=!1;const _e=N,Ie=N;let Me=!1;const Te=N;if(N===Te)if(Array.isArray(P))if(P.length<1){const k={params:{limit:1}};null===L?L=[k]:L.push(k),N++}else{var q=!0;const k=P.length;for(let v=0;v1){const E={};for(;v--;){let R=P[v];if("string"==typeof R){if("number"==typeof E[R]){k=E[R];const P={params:{i:v,j:k}};null===L?L=[P]:L.push(P),N++;break}E[R]=v}}}}}else{const k={params:{type:"array"}};null===L?L=[k]:L.push(k),N++}var ae=Te===N;if(Me=Me||ae,!Me){const k=N;if(N===k)if("string"==typeof P){if(P.length<1){const k={params:{}};null===L?L=[k]:L.push(k),N++}}else{const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}ae=k===N,Me=Me||ae}if(Me)N=Ie,null!==L&&(Ie?L.length=Ie:L=null);else{const k={params:{}};null===L?L=[k]:L.push(k),N++}var le=_e===N;if(ye=ye||le,!ye){const q=N;m(P,{instancePath:v+"/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:k,parentDataProperty:E,rootData:R})||(L=null===L?m.errors:L.concat(m.errors),N=L.length),le=q===N,ye=ye||le}if(!ye){const k={params:{}};return null===L?L=[k]:L.push(k),N++,d.errors=L,!1}if(N=me,null!==L&&(me?L.length=me:L=null),pe!==N)break}}return d.errors=L,0===N}function h(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1,le=null;const pe=N,me=N;let ye=!1;const _e=N;if(N===_e)if(Array.isArray(k))if(k.length<1){const k={params:{limit:1}};null===L?L=[k]:L.push(k),N++}else{var Ie=!0;const v=k.length;for(let E=0;E1){const P={};for(;E--;){let R=k[E];if("string"==typeof R){if("number"==typeof P[R]){v=P[R];const k={params:{i:E,j:v}};null===L?L=[k]:L.push(k),N++;break}P[R]=E}}}}}else{const k={params:{type:"array"}};null===L?L=[k]:L.push(k),N++}var Me=_e===N;if(ye=ye||Me,!ye){const v=N;if(N===v)if("string"==typeof k){if(k.length<1){const k={params:{}};null===L?L=[k]:L.push(k),N++}}else{const k={params:{type:"string"}};null===L?L=[k]:L.push(k),N++}Me=v===N,ye=ye||Me}if(ye)N=me,null!==L&&(me?L.length=me:L=null);else{const k={params:{}};null===L?L=[k]:L.push(k),N++}if(pe===N&&(ae=!0,le=0),!ae){const k={params:{passingSchemas:le}};return null===L?L=[k]:L.push(k),N++,h.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),h.errors=L,0===N}function g(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;d(k,{instancePath:v,parentData:E,parentDataProperty:P,rootData:R})||(L=null===L?d.errors:L.concat(d.errors),N=L.length);var pe=le===N;if(ae=ae||pe,!ae){const q=N;h(k,{instancePath:v,parentData:E,parentDataProperty:P,rootData:R})||(L=null===L?h.errors:L.concat(h.errors),N=L.length),pe=q===N,ae=ae||pe}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,g.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),g.errors=L,0===N}function b(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if(!(k instanceof Function)){const k={params:{}};null===L?L=[k]:L.push(k),N++}var pe=le===N;if(ae=ae||pe,!ae){const q=N;g(k,{instancePath:v,parentData:E,parentDataProperty:P,rootData:R})||(L=null===L?g.errors:L.concat(g.errors),N=L.length),pe=q===N,ae=ae||pe}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,b.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),b.errors=L,0===N}const N={type:"object",additionalProperties:!1,properties:{asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},buildHttp:{anyOf:[{$ref:"#/definitions/HttpUriAllowedUris"},{$ref:"#/definitions/HttpUriOptions"}]},cacheUnaffected:{type:"boolean"},css:{anyOf:[{type:"boolean"},{$ref:"#/definitions/CssExperimentOptions"}]},futureDefaults:{type:"boolean"},layers:{type:"boolean"},lazyCompilation:{anyOf:[{type:"boolean"},{$ref:"#/definitions/LazyCompilationOptions"}]},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}}},q=new RegExp("^https?://","u");function D(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const ae=N;let le=!1,pe=null;const me=N;if(N==N)if(Array.isArray(k)){const v=k.length;for(let E=0;E=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var me=_e===ae;if(ye=ye||me,!ye){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}me=k===ae,ye=ye||me}if(ye)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.filename){let E=k.filename;const P=ae,R=ae;let L=!1;const N=ae;if(ae===N)if("string"==typeof E){if(E.includes("!")||!1!==v.test(E)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}else if(E.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}var ye=N===ae;if(L=L||ye,!L){const k=ae;if(!(E instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}ye=k===ae,L=L||ye}if(!L){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=R,null!==q&&(R?q.length=R:q=null),le=P===ae}else le=!0;if(le){if(void 0!==k.idHint){const v=ae;if("string"!=typeof k.idHint)return fe.errors=[{params:{type:"string"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.layer){let v=k.layer;const E=ae,P=ae;let R=!1;const L=ae;if(!(v instanceof RegExp)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var _e=L===ae;if(R=R||_e,!R){const k=ae;if("string"!=typeof v){const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}if(_e=k===ae,R=R||_e,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}_e=k===ae,R=R||_e}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.maxAsyncRequests){let v=k.maxAsyncRequests;const E=ae;if(ae===E){if("number"!=typeof v)return fe.errors=[{params:{type:"number"}}],!1;if(v<1||isNaN(v))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.maxAsyncSize){let v=k.maxAsyncSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Ie=ye===ae;if(me=me||Ie,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Ie=k===ae,me=me||Ie}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.maxInitialRequests){let v=k.maxInitialRequests;const E=ae;if(ae===E){if("number"!=typeof v)return fe.errors=[{params:{type:"number"}}],!1;if(v<1||isNaN(v))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.maxInitialSize){let v=k.maxInitialSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Me=ye===ae;if(me=me||Me,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Me=k===ae,me=me||Me}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.maxSize){let v=k.maxSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Te=ye===ae;if(me=me||Te,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Te=k===ae,me=me||Te}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.minChunks){let v=k.minChunks;const E=ae;if(ae===E){if("number"!=typeof v)return fe.errors=[{params:{type:"number"}}],!1;if(v<1||isNaN(v))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.minRemainingSize){let v=k.minRemainingSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var je=ye===ae;if(me=me||je,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}je=k===ae,me=me||je}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.minSize){let v=k.minSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Be=ye===ae;if(me=me||Be,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Be=k===ae,me=me||Be}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.minSizeReduction){let v=k.minSizeReduction;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var qe=ye===ae;if(me=me||qe,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}qe=k===ae,me=me||qe}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.name){let v=k.name;const E=ae,P=ae;let R=!1;const L=ae;if(!1!==v){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var Ue=L===ae;if(R=R||Ue,!R){const k=ae;if("string"!=typeof v){const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}if(Ue=k===ae,R=R||Ue,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}Ue=k===ae,R=R||Ue}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.priority){const v=ae;if("number"!=typeof k.priority)return fe.errors=[{params:{type:"number"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.reuseExistingChunk){const v=ae;if("boolean"!=typeof k.reuseExistingChunk)return fe.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.test){let v=k.test;const E=ae,P=ae;let R=!1;const L=ae;if(!(v instanceof RegExp)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var Ge=L===ae;if(R=R||Ge,!R){const k=ae;if("string"!=typeof v){const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}if(Ge=k===ae,R=R||Ge,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}Ge=k===ae,R=R||Ge}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.type){let v=k.type;const E=ae,P=ae;let R=!1;const L=ae;if(!(v instanceof RegExp)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var He=L===ae;if(R=R||He,!R){const k=ae;if("string"!=typeof v){const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}if(He=k===ae,R=R||He,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}He=k===ae,R=R||He}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,fe.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le)if(void 0!==k.usedExports){const v=ae;if("boolean"!=typeof k.usedExports)return fe.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0}}}}}}}}}}}}}}}}}}}}}}}return fe.errors=q,0===ae}function ue(k,{instancePath:E="",parentData:R,parentDataProperty:L,rootData:N=k}={}){let q=null,ae=0;if(0===ae){if(!k||"object"!=typeof k||Array.isArray(k))return ue.errors=[{params:{type:"object"}}],!1;{const R=ae;for(const v in k)if(!P.call(je.properties,v))return ue.errors=[{params:{additionalProperty:v}}],!1;if(R===ae){if(void 0!==k.automaticNameDelimiter){let v=k.automaticNameDelimiter;const E=ae;if(ae===E){if("string"!=typeof v)return ue.errors=[{params:{type:"string"}}],!1;if(v.length<1)return ue.errors=[{params:{}}],!1}var le=E===ae}else le=!0;if(le){if(void 0!==k.cacheGroups){let v=k.cacheGroups;const P=ae,R=ae,L=ae;if(ae===L)if(v&&"object"==typeof v&&!Array.isArray(v)){let k;if(void 0===v.test&&(k="test")){const k={};null===q?q=[k]:q.push(k),ae++}else if(void 0!==v.test){let k=v.test;const E=ae;let P=!1;const R=ae;if(!(k instanceof RegExp)){const k={};null===q?q=[k]:q.push(k),ae++}var pe=R===ae;if(P=P||pe,!P){const v=ae;if("string"!=typeof k){const k={};null===q?q=[k]:q.push(k),ae++}if(pe=v===ae,P=P||pe,!P){const v=ae;if(!(k instanceof Function)){const k={};null===q?q=[k]:q.push(k),ae++}pe=v===ae,P=P||pe}}if(P)ae=E,null!==q&&(E?q.length=E:q=null);else{const k={};null===q?q=[k]:q.push(k),ae++}}}else{const k={};null===q?q=[k]:q.push(k),ae++}if(L===ae)return ue.errors=[{params:{}}],!1;if(ae=R,null!==q&&(R?q.length=R:q=null),ae===P){if(!v||"object"!=typeof v||Array.isArray(v))return ue.errors=[{params:{type:"object"}}],!1;for(const k in v){let P=v[k];const R=ae,L=ae;let le=!1;const pe=ae;if(!1!==P){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var me=pe===ae;if(le=le||me,!le){const R=ae;if(!(P instanceof RegExp)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(me=R===ae,le=le||me,!le){const R=ae;if("string"!=typeof P){const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}if(me=R===ae,le=le||me,!le){const R=ae;if(!(P instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(me=R===ae,le=le||me,!le){const R=ae;fe(P,{instancePath:E+"/cacheGroups/"+k.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:v,parentDataProperty:k,rootData:N})||(q=null===q?fe.errors:q.concat(fe.errors),ae=q.length),me=R===ae,le=le||me}}}}if(!le){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}if(ae=L,null!==q&&(L?q.length=L:q=null),R!==ae)break}}le=P===ae}else le=!0;if(le){if(void 0!==k.chunks){let v=k.chunks;const E=ae,P=ae;let R=!1;const L=ae;if("initial"!==v&&"async"!==v&&"all"!==v){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var ye=L===ae;if(R=R||ye,!R){const k=ae;if(!(v instanceof RegExp)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(ye=k===ae,R=R||ye,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}ye=k===ae,R=R||ye}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.defaultSizeTypes){let v=k.defaultSizeTypes;const E=ae;if(ae===E){if(!Array.isArray(v))return ue.errors=[{params:{type:"array"}}],!1;if(v.length<1)return ue.errors=[{params:{limit:1}}],!1;{const k=v.length;for(let E=0;E=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var _e=ye===ae;if(me=me||_e,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}_e=k===ae,me=me||_e}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.fallbackCacheGroup){let v=k.fallbackCacheGroup;const E=ae;if(ae===E){if(!v||"object"!=typeof v||Array.isArray(v))return ue.errors=[{params:{type:"object"}}],!1;{const k=ae;for(const k in v)if("automaticNameDelimiter"!==k&&"chunks"!==k&&"maxAsyncSize"!==k&&"maxInitialSize"!==k&&"maxSize"!==k&&"minSize"!==k&&"minSizeReduction"!==k)return ue.errors=[{params:{additionalProperty:k}}],!1;if(k===ae){if(void 0!==v.automaticNameDelimiter){let k=v.automaticNameDelimiter;const E=ae;if(ae===E){if("string"!=typeof k)return ue.errors=[{params:{type:"string"}}],!1;if(k.length<1)return ue.errors=[{params:{}}],!1}var Ie=E===ae}else Ie=!0;if(Ie){if(void 0!==v.chunks){let k=v.chunks;const E=ae,P=ae;let R=!1;const L=ae;if("initial"!==k&&"async"!==k&&"all"!==k){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var Me=L===ae;if(R=R||Me,!R){const v=ae;if(!(k instanceof RegExp)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(Me=v===ae,R=R||Me,!R){const v=ae;if(!(k instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}Me=v===ae,R=R||Me}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),Ie=E===ae}else Ie=!0;if(Ie){if(void 0!==v.maxAsyncSize){let k=v.maxAsyncSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,le=ae;let pe=!1;const me=ae;if(ae===me)if("number"==typeof k){if(k<0||isNaN(k)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Te=me===ae;if(pe=pe||Te,!pe){const v=ae;if(ae===v)if(k&&"object"==typeof k&&!Array.isArray(k))for(const v in k){const E=ae;if("number"!=typeof k[v]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Te=v===ae,pe=pe||Te}if(pe)ae=le,null!==q&&(le?q.length=le:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),Ie=E===ae}else Ie=!0;if(Ie){if(void 0!==v.maxInitialSize){let k=v.maxInitialSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,le=ae;let pe=!1;const me=ae;if(ae===me)if("number"==typeof k){if(k<0||isNaN(k)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Ne=me===ae;if(pe=pe||Ne,!pe){const v=ae;if(ae===v)if(k&&"object"==typeof k&&!Array.isArray(k))for(const v in k){const E=ae;if("number"!=typeof k[v]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Ne=v===ae,pe=pe||Ne}if(pe)ae=le,null!==q&&(le?q.length=le:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),Ie=E===ae}else Ie=!0;if(Ie){if(void 0!==v.maxSize){let k=v.maxSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,le=ae;let pe=!1;const me=ae;if(ae===me)if("number"==typeof k){if(k<0||isNaN(k)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Be=me===ae;if(pe=pe||Be,!pe){const v=ae;if(ae===v)if(k&&"object"==typeof k&&!Array.isArray(k))for(const v in k){const E=ae;if("number"!=typeof k[v]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Be=v===ae,pe=pe||Be}if(pe)ae=le,null!==q&&(le?q.length=le:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),Ie=E===ae}else Ie=!0;if(Ie){if(void 0!==v.minSize){let k=v.minSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,le=ae;let pe=!1;const me=ae;if(ae===me)if("number"==typeof k){if(k<0||isNaN(k)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var qe=me===ae;if(pe=pe||qe,!pe){const v=ae;if(ae===v)if(k&&"object"==typeof k&&!Array.isArray(k))for(const v in k){const E=ae;if("number"!=typeof k[v]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}qe=v===ae,pe=pe||qe}if(pe)ae=le,null!==q&&(le?q.length=le:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),Ie=E===ae}else Ie=!0;if(Ie)if(void 0!==v.minSizeReduction){let k=v.minSizeReduction;const E=ae,P=ae;let R=!1,L=null;const N=ae,le=ae;let pe=!1;const me=ae;if(ae===me)if("number"==typeof k){if(k<0||isNaN(k)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Ue=me===ae;if(pe=pe||Ue,!pe){const v=ae;if(ae===v)if(k&&"object"==typeof k&&!Array.isArray(k))for(const v in k){const E=ae;if("number"!=typeof k[v]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Ue=v===ae,pe=pe||Ue}if(pe)ae=le,null!==q&&(le?q.length=le:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),Ie=E===ae}else Ie=!0}}}}}}}}le=E===ae}else le=!0;if(le){if(void 0!==k.filename){let E=k.filename;const P=ae,R=ae;let L=!1;const N=ae;if(ae===N)if("string"==typeof E){if(E.includes("!")||!1!==v.test(E)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}else if(E.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}var Ge=N===ae;if(L=L||Ge,!L){const k=ae;if(!(E instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}Ge=k===ae,L=L||Ge}if(!L){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=R,null!==q&&(R?q.length=R:q=null),le=P===ae}else le=!0;if(le){if(void 0!==k.hidePathInfo){const v=ae;if("boolean"!=typeof k.hidePathInfo)return ue.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.maxAsyncRequests){let v=k.maxAsyncRequests;const E=ae;if(ae===E){if("number"!=typeof v)return ue.errors=[{params:{type:"number"}}],!1;if(v<1||isNaN(v))return ue.errors=[{params:{comparison:">=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.maxAsyncSize){let v=k.maxAsyncSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var He=ye===ae;if(me=me||He,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}He=k===ae,me=me||He}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.maxInitialRequests){let v=k.maxInitialRequests;const E=ae;if(ae===E){if("number"!=typeof v)return ue.errors=[{params:{type:"number"}}],!1;if(v<1||isNaN(v))return ue.errors=[{params:{comparison:">=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.maxInitialSize){let v=k.maxInitialSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var We=ye===ae;if(me=me||We,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}We=k===ae,me=me||We}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.maxSize){let v=k.maxSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Qe=ye===ae;if(me=me||Qe,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Qe=k===ae,me=me||Qe}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.minChunks){let v=k.minChunks;const E=ae;if(ae===E){if("number"!=typeof v)return ue.errors=[{params:{type:"number"}}],!1;if(v<1||isNaN(v))return ue.errors=[{params:{comparison:">=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.minRemainingSize){let v=k.minRemainingSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Je=ye===ae;if(me=me||Je,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Je=k===ae,me=me||Je}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.minSize){let v=k.minSize;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Ve=ye===ae;if(me=me||Ve,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Ve=k===ae,me=me||Ve}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.minSizeReduction){let v=k.minSizeReduction;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if("number"==typeof v){if(v<0||isNaN(v)){const k={params:{comparison:">=",limit:0}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}var Ke=ye===ae;if(me=me||Ke,!me){const k=ae;if(ae===k)if(v&&"object"==typeof v&&!Array.isArray(v))for(const k in v){const E=ae;if("number"!=typeof v[k]){const k={params:{type:"number"}};null===q?q=[k]:q.push(k),ae++}if(E!==ae)break}else{const k={params:{type:"object"}};null===q?q=[k]:q.push(k),ae++}Ke=k===ae,me=me||Ke}if(me)ae=pe,null!==q&&(pe?q.length=pe:q=null);else{const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(N===ae&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.name){let v=k.name;const E=ae,P=ae;let R=!1;const L=ae;if(!1!==v){const k={params:{}};null===q?q=[k]:q.push(k),ae++}var Ye=L===ae;if(R=R||Ye,!R){const k=ae;if("string"!=typeof v){const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}if(Ye=k===ae,R=R||Ye,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}Ye=k===ae,R=R||Ye}}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,ue.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le)if(void 0!==k.usedExports){const v=ae;if("boolean"!=typeof k.usedExports)return ue.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0}}}}}}}}}}}}}}}}}}}}return ue.errors=q,0===ae}function ce(k,{instancePath:v="",parentData:E,parentDataProperty:R,rootData:L=k}={}){let N=null,q=0;if(0===q){if(!k||"object"!=typeof k||Array.isArray(k))return ce.errors=[{params:{type:"object"}}],!1;{const E=q;for(const v in k)if(!P.call(Te.properties,v))return ce.errors=[{params:{additionalProperty:v}}],!1;if(E===q){if(void 0!==k.checkWasmTypes){const v=q;if("boolean"!=typeof k.checkWasmTypes)return ce.errors=[{params:{type:"boolean"}}],!1;var ae=v===q}else ae=!0;if(ae){if(void 0!==k.chunkIds){let v=k.chunkIds;const E=q;if("natural"!==v&&"named"!==v&&"deterministic"!==v&&"size"!==v&&"total-size"!==v&&!1!==v)return ce.errors=[{params:{}}],!1;ae=E===q}else ae=!0;if(ae){if(void 0!==k.concatenateModules){const v=q;if("boolean"!=typeof k.concatenateModules)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.emitOnErrors){const v=q;if("boolean"!=typeof k.emitOnErrors)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.flagIncludedChunks){const v=q;if("boolean"!=typeof k.flagIncludedChunks)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.innerGraph){const v=q;if("boolean"!=typeof k.innerGraph)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.mangleExports){let v=k.mangleExports;const E=q,P=q;let R=!1;const L=q;if("size"!==v&&"deterministic"!==v){const k={params:{}};null===N?N=[k]:N.push(k),q++}var le=L===q;if(R=R||le,!R){const k=q;if("boolean"!=typeof v){const k={params:{type:"boolean"}};null===N?N=[k]:N.push(k),q++}le=k===q,R=R||le}if(!R){const k={params:{}};return null===N?N=[k]:N.push(k),q++,ce.errors=N,!1}q=P,null!==N&&(P?N.length=P:N=null),ae=E===q}else ae=!0;if(ae){if(void 0!==k.mangleWasmImports){const v=q;if("boolean"!=typeof k.mangleWasmImports)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.mergeDuplicateChunks){const v=q;if("boolean"!=typeof k.mergeDuplicateChunks)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.minimize){const v=q;if("boolean"!=typeof k.minimize)return ce.errors=[{params:{type:"boolean"}}],!1;ae=v===q}else ae=!0;if(ae){if(void 0!==k.minimizer){let v=k.minimizer;const E=q;if(q===E){if(!Array.isArray(v))return ce.errors=[{params:{type:"array"}}],!1;{const k=v.length;for(let E=0;E=",limit:1}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.hashFunction){let v=k.hashFunction;const E=ae,P=ae;let R=!1;const L=ae;if(ae===L)if("string"==typeof v){if(v.length<1){const k={params:{}};null===q?q=[k]:q.push(k),ae++}}else{const k={params:{type:"string"}};null===q?q=[k]:q.push(k),ae++}var Me=L===ae;if(R=R||Me,!R){const k=ae;if(!(v instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}Me=k===ae,R=R||Me}if(!R){const k={params:{}};return null===q?q=[k]:q.push(k),ae++,Ae.errors=q,!1}ae=P,null!==q&&(P?q.length=P:q=null),le=E===ae}else le=!0;if(le){if(void 0!==k.hashSalt){let v=k.hashSalt;const E=ae;if(ae==ae){if("string"!=typeof v)return Ae.errors=[{params:{type:"string"}}],!1;if(v.length<1)return Ae.errors=[{params:{}}],!1}le=E===ae}else le=!0;if(le){if(void 0!==k.hotUpdateChunkFilename){let E=k.hotUpdateChunkFilename;const P=ae;if(ae==ae){if("string"!=typeof E)return Ae.errors=[{params:{type:"string"}}],!1;if(E.includes("!")||!1!==v.test(E))return Ae.errors=[{params:{}}],!1}le=P===ae}else le=!0;if(le){if(void 0!==k.hotUpdateGlobal){const v=ae;if("string"!=typeof k.hotUpdateGlobal)return Ae.errors=[{params:{type:"string"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.hotUpdateMainFilename){let E=k.hotUpdateMainFilename;const P=ae;if(ae==ae){if("string"!=typeof E)return Ae.errors=[{params:{type:"string"}}],!1;if(E.includes("!")||!1!==v.test(E))return Ae.errors=[{params:{}}],!1}le=P===ae}else le=!0;if(le){if(void 0!==k.ignoreBrowserWarnings){const v=ae;if("boolean"!=typeof k.ignoreBrowserWarnings)return Ae.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.iife){const v=ae;if("boolean"!=typeof k.iife)return Ae.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.importFunctionName){const v=ae;if("string"!=typeof k.importFunctionName)return Ae.errors=[{params:{type:"string"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.importMetaName){const v=ae;if("string"!=typeof k.importMetaName)return Ae.errors=[{params:{type:"string"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.library){const v=ae;xe(k.library,{instancePath:E+"/library",parentData:k,parentDataProperty:"library",rootData:N})||(q=null===q?xe.errors:q.concat(xe.errors),ae=q.length),le=v===ae}else le=!0;if(le){if(void 0!==k.libraryExport){let v=k.libraryExport;const E=ae,P=ae;let R=!1,L=null;const N=ae,pe=ae;let me=!1;const ye=ae;if(ae===ye)if(Array.isArray(v)){const k=v.length;for(let E=0;E=",limit:1}}],!1}me=E===le}else me=!0;if(me){if(void 0!==k.performance){const v=le;Ce(k.performance,{instancePath:R+"/performance",parentData:k,parentDataProperty:"performance",rootData:q})||(ae=null===ae?Ce.errors:ae.concat(Ce.errors),le=ae.length),me=v===le}else me=!0;if(me){if(void 0!==k.plugins){const v=le;ke(k.plugins,{instancePath:R+"/plugins",parentData:k,parentDataProperty:"plugins",rootData:q})||(ae=null===ae?ke.errors:ae.concat(ke.errors),le=ae.length),me=v===le}else me=!0;if(me){if(void 0!==k.profile){const v=le;if("boolean"!=typeof k.profile)return we.errors=[{params:{type:"boolean"}}],!1;me=v===le}else me=!0;if(me){if(void 0!==k.recordsInputPath){let E=k.recordsInputPath;const P=le,R=le;let L=!1;const N=le;if(!1!==E){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}var Te=N===le;if(L=L||Te,!L){const k=le;if(le===k)if("string"==typeof E){if(E.includes("!")||!0!==v.test(E)){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"string"}};null===ae?ae=[k]:ae.push(k),le++}Te=k===le,L=L||Te}if(!L){const k={params:{}};return null===ae?ae=[k]:ae.push(k),le++,we.errors=ae,!1}le=R,null!==ae&&(R?ae.length=R:ae=null),me=P===le}else me=!0;if(me){if(void 0!==k.recordsOutputPath){let E=k.recordsOutputPath;const P=le,R=le;let L=!1;const N=le;if(!1!==E){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}var je=N===le;if(L=L||je,!L){const k=le;if(le===k)if("string"==typeof E){if(E.includes("!")||!0!==v.test(E)){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"string"}};null===ae?ae=[k]:ae.push(k),le++}je=k===le,L=L||je}if(!L){const k={params:{}};return null===ae?ae=[k]:ae.push(k),le++,we.errors=ae,!1}le=R,null!==ae&&(R?ae.length=R:ae=null),me=P===le}else me=!0;if(me){if(void 0!==k.recordsPath){let E=k.recordsPath;const P=le,R=le;let L=!1;const N=le;if(!1!==E){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}var Ne=N===le;if(L=L||Ne,!L){const k=le;if(le===k)if("string"==typeof E){if(E.includes("!")||!0!==v.test(E)){const k={params:{}};null===ae?ae=[k]:ae.push(k),le++}}else{const k={params:{type:"string"}};null===ae?ae=[k]:ae.push(k),le++}Ne=k===le,L=L||Ne}if(!L){const k={params:{}};return null===ae?ae=[k]:ae.push(k),le++,we.errors=ae,!1}le=R,null!==ae&&(R?ae.length=R:ae=null),me=P===le}else me=!0;if(me){if(void 0!==k.resolve){const v=le;$e(k.resolve,{instancePath:R+"/resolve",parentData:k,parentDataProperty:"resolve",rootData:q})||(ae=null===ae?$e.errors:ae.concat($e.errors),le=ae.length),me=v===le}else me=!0;if(me){if(void 0!==k.resolveLoader){const v=le;Se(k.resolveLoader,{instancePath:R+"/resolveLoader",parentData:k,parentDataProperty:"resolveLoader",rootData:q})||(ae=null===ae?Se.errors:ae.concat(Se.errors),le=ae.length),me=v===le}else me=!0;if(me){if(void 0!==k.snapshot){let E=k.snapshot;const P=le;if(le==le){if(!E||"object"!=typeof E||Array.isArray(E))return we.errors=[{params:{type:"object"}}],!1;{const k=le;for(const k in E)if("buildDependencies"!==k&&"immutablePaths"!==k&&"managedPaths"!==k&&"module"!==k&&"resolve"!==k&&"resolveBuildDependencies"!==k)return we.errors=[{params:{additionalProperty:k}}],!1;if(k===le){if(void 0!==E.buildDependencies){let k=E.buildDependencies;const v=le;if(le===v){if(!k||"object"!=typeof k||Array.isArray(k))return we.errors=[{params:{type:"object"}}],!1;{const v=le;for(const v in k)if("hash"!==v&&"timestamp"!==v)return we.errors=[{params:{additionalProperty:v}}],!1;if(v===le){if(void 0!==k.hash){const v=le;if("boolean"!=typeof k.hash)return we.errors=[{params:{type:"boolean"}}],!1;var Be=v===le}else Be=!0;if(Be)if(void 0!==k.timestamp){const v=le;if("boolean"!=typeof k.timestamp)return we.errors=[{params:{type:"boolean"}}],!1;Be=v===le}else Be=!0}}}var qe=v===le}else qe=!0;if(qe){if(void 0!==E.immutablePaths){let k=E.immutablePaths;const P=le;if(le===P){if(!Array.isArray(k))return we.errors=[{params:{type:"array"}}],!1;{const E=k.length;for(let P=0;P=",limit:1}}],!1}ae=E===q}else ae=!0;if(ae)if(void 0!==k.hashFunction){let v=k.hashFunction;const E=q,P=q;let R=!1,L=null;const pe=q,me=q;let ye=!1;const _e=q;if(q===_e)if("string"==typeof v){if(v.length<1){const k={params:{}};null===N?N=[k]:N.push(k),q++}}else{const k={params:{type:"string"}};null===N?N=[k]:N.push(k),q++}var le=_e===q;if(ye=ye||le,!ye){const k=q;if(!(v instanceof Function)){const k={params:{}};null===N?N=[k]:N.push(k),q++}le=k===q,ye=ye||le}if(ye)q=me,null!==N&&(me?N.length=me:N=null);else{const k={params:{}};null===N?N=[k]:N.push(k),q++}if(pe===q&&(R=!0,L=0),!R){const k={params:{passingSchemas:L}};return null===N?N=[k]:N.push(k),q++,e.errors=N,!1}q=P,null!==N&&(P?N.length=P:N=null),ae=E===q}else ae=!0}}}}}return e.errors=N,0===q}k.exports=e,k.exports["default"]=e},4552:function(k){"use strict";function e(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if(N===le)if(k&&"object"==typeof k&&!Array.isArray(k)){let v;if(void 0===k.resourceRegExp&&(v="resourceRegExp")){const k={params:{missingProperty:v}};null===L?L=[k]:L.push(k),N++}else{const v=N;for(const v in k)if("contextRegExp"!==v&&"resourceRegExp"!==v){const k={params:{additionalProperty:v}};null===L?L=[k]:L.push(k),N++;break}if(v===N){if(void 0!==k.contextRegExp){const v=N;if(!(k.contextRegExp instanceof RegExp)){const k={params:{}};null===L?L=[k]:L.push(k),N++}var pe=v===N}else pe=!0;if(pe)if(void 0!==k.resourceRegExp){const v=N;if(!(k.resourceRegExp instanceof RegExp)){const k={params:{}};null===L?L=[k]:L.push(k),N++}pe=v===N}else pe=!0}}}else{const k={params:{type:"object"}};null===L?L=[k]:L.push(k),N++}var me=le===N;if(ae=ae||me,!ae){const v=N;if(N===v)if(k&&"object"==typeof k&&!Array.isArray(k)){let v;if(void 0===k.checkResource&&(v="checkResource")){const k={params:{missingProperty:v}};null===L?L=[k]:L.push(k),N++}else{const v=N;for(const v in k)if("checkResource"!==v){const k={params:{additionalProperty:v}};null===L?L=[k]:L.push(k),N++;break}if(v===N&&void 0!==k.checkResource&&!(k.checkResource instanceof Function)){const k={params:{}};null===L?L=[k]:L.push(k),N++}}}else{const k={params:{type:"object"}};null===L?L=[k]:L.push(k),N++}me=v===N,ae=ae||me}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,e.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),e.errors=L,0===N}k.exports=e,k.exports["default"]=e},57583:function(k){"use strict";function r(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){if(!k||"object"!=typeof k||Array.isArray(k))return r.errors=[{params:{type:"object"}}],!1;{const v=0;for(const v in k)if("parse"!==v)return r.errors=[{params:{additionalProperty:v}}],!1;if(0===v&&void 0!==k.parse&&!(k.parse instanceof Function))return r.errors=[{params:{}}],!1}return r.errors=null,!0}k.exports=r,k.exports["default"]=r},12072:function(k){const v=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(k,{instancePath:E="",parentData:P,parentDataProperty:R,rootData:L=k}={}){if(!k||"object"!=typeof k||Array.isArray(k))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==k.debug){const v=0;if("boolean"!=typeof k.debug)return e.errors=[{params:{type:"boolean"}}],!1;var N=0===v}else N=!0;if(N){if(void 0!==k.minimize){const v=0;if("boolean"!=typeof k.minimize)return e.errors=[{params:{type:"boolean"}}],!1;N=0===v}else N=!0;if(N)if(void 0!==k.options){let E=k.options;const P=0;if(0===P){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==E.context){let k=E.context;if("string"!=typeof k)return e.errors=[{params:{type:"string"}}],!1;if(k.includes("!")||!0!==v.test(k))return e.errors=[{params:{}}],!1}}N=0===P}else N=!0}return e.errors=null,!0}k.exports=e,k.exports["default"]=e},53912:function(k){"use strict";k.exports=t,k.exports["default"]=t;const v={type:"object",additionalProperties:!1,properties:{activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}}},E=Object.prototype.hasOwnProperty;function n(k,{instancePath:P="",parentData:R,parentDataProperty:L,rootData:N=k}={}){let q=null,ae=0;if(0===ae){if(!k||"object"!=typeof k||Array.isArray(k))return n.errors=[{params:{type:"object"}}],!1;{const P=ae;for(const P in k)if(!E.call(v.properties,P))return n.errors=[{params:{additionalProperty:P}}],!1;if(P===ae){if(void 0!==k.activeModules){const v=ae;if("boolean"!=typeof k.activeModules)return n.errors=[{params:{type:"boolean"}}],!1;var le=v===ae}else le=!0;if(le){if(void 0!==k.dependencies){const v=ae;if("boolean"!=typeof k.dependencies)return n.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.dependenciesCount){const v=ae;if("number"!=typeof k.dependenciesCount)return n.errors=[{params:{type:"number"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.entries){const v=ae;if("boolean"!=typeof k.entries)return n.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.handler){const v=ae,E=ae;let P=!1,R=null;const L=ae;if(!(k.handler instanceof Function)){const k={params:{}};null===q?q=[k]:q.push(k),ae++}if(L===ae&&(P=!0,R=0),!P){const k={params:{passingSchemas:R}};return null===q?q=[k]:q.push(k),ae++,n.errors=q,!1}ae=E,null!==q&&(E?q.length=E:q=null),le=v===ae}else le=!0;if(le){if(void 0!==k.modules){const v=ae;if("boolean"!=typeof k.modules)return n.errors=[{params:{type:"boolean"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.modulesCount){const v=ae;if("number"!=typeof k.modulesCount)return n.errors=[{params:{type:"number"}}],!1;le=v===ae}else le=!0;if(le){if(void 0!==k.percentBy){let v=k.percentBy;const E=ae;if("entries"!==v&&"modules"!==v&&"dependencies"!==v&&null!==v)return n.errors=[{params:{}}],!1;le=E===ae}else le=!0;if(le)if(void 0!==k.profile){let v=k.profile;const E=ae;if(!0!==v&&!1!==v&&null!==v)return n.errors=[{params:{}}],!1;le=E===ae}else le=!0}}}}}}}}}}return n.errors=q,0===ae}function t(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;n(k,{instancePath:v,parentData:E,parentDataProperty:P,rootData:R})||(L=null===L?n.errors:L.concat(n.errors),N=L.length);var pe=le===N;if(ae=ae||pe,!ae){const v=N;if(!(k instanceof Function)){const k={params:{}};null===L?L=[k]:L.push(k),N++}pe=v===N,ae=ae||pe}if(!ae){const k={params:{}};return null===L?L=[k]:L.push(k),N++,t.errors=L,!1}return N=q,null!==L&&(q?L.length=q:L=null),t.errors=L,0===N}},49623:function(k){const v=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;k.exports=l,k.exports["default"]=l;const E={definitions:{rule:{anyOf:[{instanceof:"RegExp"},{type:"string",minLength:1}]},rules:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/rule"}]}},{$ref:"#/definitions/rule"}]}},type:"object",additionalProperties:!1,properties:{append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1},{instanceof:"Function"}]},columns:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}}},P=Object.prototype.hasOwnProperty;function s(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){let L=null,N=0;const q=N;let ae=!1;const le=N;if(N===le)if(Array.isArray(k)){const v=k.length;for(let E=0;E=",limit:1}}],!1}L=0===E}else L=!0}}}}return r.errors=null,!0}k.exports=r,k.exports["default"]=r},30666:function(k){"use strict";function r(k,{instancePath:v="",parentData:E,parentDataProperty:P,rootData:R=k}={}){if(!k||"object"!=typeof k||Array.isArray(k))return r.errors=[{params:{type:"object"}}],!1;{let v;if(void 0===k.minChunkSize&&(v="minChunkSize"))return r.errors=[{params:{missingProperty:v}}],!1;{const v=0;for(const v in k)if("chunkOverhead"!==v&&"entryChunkMultiplicator"!==v&&"minChunkSize"!==v)return r.errors=[{params:{additionalProperty:v}}],!1;if(0===v){if(void 0!==k.chunkOverhead){const v=0;if("number"!=typeof k.chunkOverhead)return r.errors=[{params:{type:"number"}}],!1;var L=0===v}else L=!0;if(L){if(void 0!==k.entryChunkMultiplicator){const v=0;if("number"!=typeof k.entryChunkMultiplicator)return r.errors=[{params:{type:"number"}}],!1;L=0===v}else L=!0;if(L)if(void 0!==k.minChunkSize){const v=0;if("number"!=typeof k.minChunkSize)return r.errors=[{params:{type:"number"}}],!1;L=0===v}else L=!0}}}}return r.errors=null,!0}k.exports=r,k.exports["default"]=r},95892:function(k){const v=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;k.exports=n,k.exports["default"]=n;const E=new RegExp("^https?://","u");function e(k,{instancePath:P="",parentData:R,parentDataProperty:L,rootData:N=k}={}){let q=null,ae=0;if(0===ae){if(!k||"object"!=typeof k||Array.isArray(k))return e.errors=[{params:{type:"object"}}],!1;{let P;if(void 0===k.allowedUris&&(P="allowedUris"))return e.errors=[{params:{missingProperty:P}}],!1;{const P=ae;for(const v in k)if("allowedUris"!==v&&"cacheLocation"!==v&&"frozen"!==v&&"lockfileLocation"!==v&&"proxy"!==v&&"upgrade"!==v)return e.errors=[{params:{additionalProperty:v}}],!1;if(P===ae){if(void 0!==k.allowedUris){let v=k.allowedUris;const P=ae;if(ae==ae){if(!Array.isArray(v))return e.errors=[{params:{type:"array"}}],!1;{const k=v.length;for(let P=0;Pparse(k)));const L=k.length+1,N=(P.__heap_base.value||P.__heap_base)+4*L-P.memory.buffer.byteLength;N>0&&P.memory.grow(Math.ceil(N/65536));const q=P.sa(L-1);if((E?B:Q)(k,new Uint16Array(P.memory.buffer,q,L)),!P.parse())throw Object.assign(new Error(`Parse error ${v}:${k.slice(0,P.e()).split("\n").length}:${P.e()-k.lastIndexOf("\n",P.e()-1)}`),{idx:P.e()});const ae=[],le=[];for(;P.ri();){const v=P.is(),E=P.ie(),R=P.ai(),L=P.id(),N=P.ss(),q=P.se();let le;P.ip()&&(le=J(k.slice(-1===L?v-1:v,-1===L?E+1:E))),ae.push({n:le,s:v,e:E,ss:N,se:q,d:L,a:R})}for(;P.re();){const v=P.es(),E=P.ee(),R=P.els(),L=P.ele(),N=k.slice(v,E),q=N[0],ae=R<0?void 0:k.slice(R,L),pe=ae?ae[0]:"";le.push({s:v,e:E,ls:R,le:L,n:'"'===q||"'"===q?J(N):N,ln:'"'===pe||"'"===pe?J(ae):ae})}function J(k){try{return(0,eval)(k)}catch(k){}}return[ae,le,!!P.f()]}function Q(k,v){const E=k.length;let P=0;for(;P>>8}}function B(k,v){const E=k.length;let P=0;for(;Pk.charCodeAt(0))))).then(WebAssembly.instantiate).then((({exports:k})=>{P=k}));var L;v.init=R},13348:function(k){"use strict";k.exports={i8:"5.1.1"}},14730:function(k){"use strict";k.exports={version:"4.3.0"}},61752:function(k){"use strict";k.exports={i8:"4.3.0"}},66282:function(k){"use strict";k.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/captive+json":{"source":"iana","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/clr":{"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":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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/jscalendar+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},"application/mrb-publish+xml":{"source":"iana","compressible":true},"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/opc-nodeset+xml":{"source":"iana","compressible":true},"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.cyn":{"source":"iana","charset":"7-BIT"},"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/sarif+json":{"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/ubjson":{"compressible":false,"extensions":["ubj"]},"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,"extensions":["td"]},"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.interworking-data":{"source":"iana"},"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.cmoca-cmresource":{"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-cmtable":{"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":["key"]},"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.cryptomator.encrypted":{"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.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"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","extensions":["dbf"]},"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.slides":{"source":"iana"},"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.nebumind.line":{"source":"iana"},"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+cbor":{"source":"iana"},"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","extensions":["rar"]},"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.seis+json":{"source":"iana","compressible":true},"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.sycle+xml":{"source":"iana","compressible":true},"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.dpp":{"source":"iana"},"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},"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":["xsl","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","extensions":["amr"]},"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","opus"]},"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/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"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/tsvcis":{"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/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"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/ktx2":{"source":"iana","extensions":["ktx2"]},"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.pco.b16":{"source":"iana","extensions":["b16"]},"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/e57":{"source":"iana"},"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.sap.vds":{"source":"iana","extensions":["vds"]},"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/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"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/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"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/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"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.hans":{"source":"iana"},"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/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"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","extensions":["m4s"]},"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/scip":{"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}}')},35479:function(k){"use strict";k.exports={i8:"5.86.0"}},98625:function(k){"use strict";k.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"}]},"AmdContainer":{"description":"Add a container for define/require functions in the AMD module.","type":"string","minLength":1},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string. It can have a string as \'ident\' property which contributes to the module hash.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"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"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"outputPath":{"$ref":"#/definitions/AssetModuleOutputPath"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"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)"}]},"AssetModuleOutputPath":{"description":"Emit the asset in the specified folder relative to \'output.path\'. This should only be needed when custom \'publicPath\' is specified to match the folder structure there.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"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)"},"AssetParserDataUrlOptions":{"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"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"outputPath":{"$ref":"#/definitions/AssetModuleOutputPath"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"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":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), \'module\' (ESM), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs","module",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), \'import\' (ESM), \'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), \'import\' (ESM), \'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","import"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"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"]},"CssChunkFilename":{"description":"Specifies the filename template of non-initial output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"CssExperimentOptions":{"description":"Options for css handling.","type":"object","additionalProperties":false,"properties":{"exportsOnly":{"description":"Avoid generating and loading a stylesheet and only embed exports from css into output javascript files.","type":"boolean"}}},"CssFilename":{"description":"Specifies the filename template of output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"CssGeneratorOptions":{"description":"Generator options for css modules.","type":"object","additionalProperties":false,"properties":{}},"CssParserOptions":{"description":"Parser options for css modules.","type":"object","additionalProperties":false,"properties":{}},"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"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"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":{"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"baseUri":{"description":"Base uri for this entry.","type":"string"},"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/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"baseUri":{"description":"Base uri for this entry.","type":"string"},"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},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"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)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"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.","anyOf":[{"enum":[false]},{"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"},"dynamicImportInWorker":{"description":"The environment supports an async import() is available when creating a worker.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"globalThis":{"description":"The environment supports \'globalThis\'.","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"},"optionalChaining":{"description":"The environment supports optional chaining (\'obj?.a\' or \'obj?.()\').","type":"boolean"},"templateLiteral":{"description":"The environment supports template literals.","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","anyOf":[{"$ref":"#/definitions/HttpUriAllowedUris"},{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"css":{"description":"Enable css support.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CssExperimentOptions"}]},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/LazyCompilationOptions"}]},"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"}}},"ExperimentsCommon":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","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"}}},"ExperimentsNormalized":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"css":{"description":"Enable css support.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/CssExperimentOptions"}]},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/LazyCompilationOptions"}]},"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"}}},"Extends":{"description":"Extend configuration from another configuration (only works when using webpack-cli).","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExtendsItem"}},{"$ref":"#/definitions/ExtendsItem"}]},"ExtendsItem":{"description":"Path to the configuration to be extended (only works when using webpack-cli).","type":"string"},"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":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"dependencyType":{"description":"The category of the referencing dependencies.","type":"string"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"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"}]},"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","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"allowCollectingMemory":{"description":"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.","type":"boolean"},"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},"compression":{"description":"Compression type used for the cache files.","enum":[false,"gzip","brotli"]},"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.","type":"number","minimum":0},"idleTimeoutAfterLargeChanges":{"description":"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen.","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":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an 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":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"memoryCacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.","type":"boolean"},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"profile":{"description":"Track and log detailed timing information for individual cache items.","type":"boolean"},"readonly":{"description":"Enable/disable readonly mode.","type":"boolean"},"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 filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","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"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"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},"HttpUriAllowedUris":{"description":"List of allowed URIs for building http resources.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/HttpUriOptionsAllowedUris"}]},"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"proxy":{"description":"Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.","type":"string"},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}},"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":{"appendOnly":{"description":"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.","type":"boolean"},"colors":{"description":"Enables/Disables colorful output. This option is only used when no custom console is provided.","type":"boolean"},"console":{"description":"Custom console used for logging.","tsType":"Console"},"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"]},"stream":{"description":"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.","tsType":"NodeJS.WritableStream"}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"createRequire":{"description":"Enable/disable parsing \\"import { createRequire } from \\"module\\"\\" and evaluating createRequire().","anyOf":[{"type":"boolean"},{"type":"string"}]},"dynamicImportMode":{"description":"Specifies global mode for dynamic import.","enum":["eager","weak","lazy","lazy-once"]},"dynamicImportPrefetch":{"description":"Specifies global prefetch for dynamic import.","anyOf":[{"type":"number"},{"type":"boolean"}]},"dynamicImportPreload":{"description":"Specifies global preload for dynamic import.","anyOf":[{"type":"number"},{"type":"boolean"}]},"exportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\" and \\"export ... from ...\\".","enum":["error","warn","auto",false]},"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"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"importExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\".","enum":["error","warn","auto",false]},"importMeta":{"description":"Enable/disable evaluating import.meta.","type":"boolean"},"importMetaContext":{"description":"Enable/disable evaluating import.meta.webpackContext.","type":"boolean"},"node":{"$ref":"#/definitions/Node"},"reexportExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"export ... from ...\\". This might be useful to disable during the migration from \\"export ... from ...\\" to \\"export type ... from ...\\" when reexporting types in TypeScript.","enum":["error","warn","auto",false]},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Deprecated in favor of \\"exportsPresence\\". 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"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","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"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"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"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"LazyCompilationDefaultBackendOptions":{"description":"Options for the default backend.","type":"object","additionalProperties":false,"properties":{"client":{"description":"A custom client.","type":"string"},"listen":{"description":"Specifies where to listen to from the server.","anyOf":[{"description":"A port.","type":"number"},{"description":"Listen options.","type":"object","additionalProperties":true,"properties":{"host":{"description":"A host.","type":"string"},"port":{"description":"A port.","type":"number"}},"tsType":"import(\\"net\\").ListenOptions"},{"description":"A custom listen function.","instanceof":"Function","tsType":"((server: import(\\"net\\").Server) => void)"}]},"protocol":{"description":"Specifies the protocol the client should use to connect to the server.","enum":["http","https"]},"server":{"description":"Specifies how to create the server handling the EventSource requests.","anyOf":[{"description":"ServerOptions for the http or https createServer call.","type":"object","additionalProperties":true,"properties":{},"tsType":"(import(\\"https\\").ServerOptions | import(\\"http\\").ServerOptions)"},{"description":"A custom create server function.","instanceof":"Function","tsType":"(() => import(\\"net\\").Server)"}]}}},"LazyCompilationOptions":{"description":"Options for compiling entrypoints and import()s only when they are accessed.","type":"object","additionalProperties":false,"properties":{"backend":{"description":"Specifies the backend that should be used for handling client keep alive.","anyOf":[{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), callback: (err?: Error, api?: import(\\"../lib/hmr/LazyCompilationPlugin\\").BackendApi) => void) => void) | ((compiler: import(\'../lib/Compiler\')) => Promise))"},{"$ref":"#/definitions/LazyCompilationDefaultBackendOptions"}]},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}},"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},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"amdContainer":{"$ref":"#/definitions/AmdContainer"},"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\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'commonjs-static\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","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":{"cacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"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. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"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. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","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. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"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"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","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"}]},"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,"warn-mock","mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","enum":[false,true,"warn"]}}},"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":"RegExp","tsType":"RegExp"},{"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"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"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"}]},"minSizeReduction":{"description":"Minimum size reduction due to 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":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}},"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":"RegExp","tsType":"RegExp"},{"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"},"minItems":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},"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":"RegExp","tsType":"RegExp"},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"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"}]},"minSizeReduction":{"description":"Minimum size reduction due to 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"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","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":{"amdContainer":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AmdContainer"}]},"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"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"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"cssChunkFilename":{"$ref":"#/definitions/CssChunkFilename"},"cssFilename":{"$ref":"#/definitions/CssFilename"},"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"},"ignoreBrowserWarnings":{"description":"Ignore warnings in the browser.","type":"boolean"},"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"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks. \'output.uniqueName\' is used a default policy name. Passing a string sets a custom policy name.","anyOf":[{"enum":[true]},{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1},{"$ref":"#/definitions/TrustedTypes"}]},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerPublicPath":{"$ref":"#/definitions/WorkerPublicPath"},"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"},"asyncChunks":{"description":"Enable/disable creating async chunks that are loaded on demand.","type":"boolean"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"cssChunkFilename":{"$ref":"#/definitions/CssChunkFilename"},"cssFilename":{"$ref":"#/definitions/CssFilename"},"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"},"ignoreBrowserWarnings":{"description":"Ignore warnings in the browser.","type":"boolean"},"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"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"$ref":"#/definitions/TrustedTypes"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerPublicPath":{"$ref":"#/definitions/WorkerPublicPath"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"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"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"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"}},"extensionAlias":{"description":"An object which maps extension to extension aliases.","type":"object","additionalProperties":{"description":"Extension alias.","anyOf":[{"description":"Multiple extensions.","type":"array","items":{"description":"Aliased extension.","type":"string","minLength":1}},{"description":"Aliased extension.","type":"string","minLength":1}]}},"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"}},"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"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"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.","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"},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditions"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditionsAbsolute"},{"$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"}]},"RuleSetLogicalConditions":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},"RuleSetLogicalConditionsAbsolute":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"assert":{"description":"Match on import assertions of the dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"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"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"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"}]}},"scheme":{"description":"Match module scheme.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"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":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an 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":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"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"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"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).","anyOf":[{"enum":["auto"]},{"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"},"errorsSpace":{"description":"Space to display errors (value is in number of lines).","type":"number"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"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"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"groupReasonsByOrigin":{"description":"Group reasons by their origin module.","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, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"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"},"reasonsSpace":{"description":"Space to display reasons (groups will be collapsed to fit this space).","type":"number"},"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/WarningFilterTypes"}]},"warningsSpace":{"description":"Space to display warnings (value is in number of lines).","type":"number"}}},"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"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","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}]},"TrustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks.","type":"object","additionalProperties":false,"properties":{"onPolicyCreationFailure":{"description":"If the call to `trustedTypes.createPolicy(...)` fails -- e.g., due to the policy name missing from the CSP `trusted-types` list, or it being a duplicate name, etc. -- controls whether to continue with loading in the hope that `require-trusted-types-for \'script\'` isn\'t enforced yet, versus fail immediately. Default behavior is \'stop\'.","enum":["continue","stop"]},"policyName":{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","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},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"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/ExperimentsNormalized"},"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/ModuleOptionsNormalized"},"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"]},"WorkerPublicPath":{"description":"Worker public path. Much like the public path, this sets the location where the worker script file is intended to be found. If not set, webpack will use the publicPath. Don\'t set this option unless your worker scripts are located at a different path from your other script files.","type":"string"}},"title":"WebpackOptions","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"},"extends":{"$ref":"#/definitions/Extends"},"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"}}}')},98156:function(k){"use strict";k.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"}]},"footer":{"description":"If true, banner will be placed at the end of the output.","type":"boolean"},"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"}]}')},10519:function(k){"use strict";k.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"]}')},18498:function(k){"use strict";k.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"]}]}')},23884:function(k){"use strict";k.exports=JSON.parse('{"definitions":{"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\')"}]}},"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.","oneOf":[{"$ref":"#/definitions/HashFunction"}]}}}')},19134:function(k){"use strict";k.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"}},"required":["resourceRegExp"]},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}},"required":["checkResource"]}]}')},40013:function(k){"use strict";k.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)"}}}')},27667:function(k){"use strict";k.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}}}}}')},13689:function(k){"use strict";k.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"}]}')},45441:function(k){"use strict";k.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},{"instanceof":"Function","tsType":"((pathData: import(\\"../../lib/Compilation\\").PathData, assetInfo?: import(\\"../../lib/Compilation\\").AssetInfo) => string)"}]},"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"}}}')},41084:function(k){"use strict";k.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"]}')},97253:function(k){"use strict";k.exports=JSON.parse('{"definitions":{"AmdContainer":{"description":"Add a container for define/require functions in the AMD module.","type":"string","minLength":1},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"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.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"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"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"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},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"amdContainer":{"$ref":"#/definitions/AmdContainer"},"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\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'commonjs-static\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","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},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}')},52899:function(k){"use strict";k.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","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"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"]}')},80707:function(k){"use strict";k.exports=JSON.parse('{"definitions":{"AmdContainer":{"description":"Add a container for define/require functions in the AMD module.","type":"string","minLength":1},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"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.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"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"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"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","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"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},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"amdContainer":{"$ref":"#/definitions/AmdContainer"},"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\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'commonjs-static\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","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"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}')},5877:function(k){"use strict";k.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}}}')},41565:function(k){"use strict";k.exports=JSON.parse('{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},71967:function(k){"use strict";k.exports=JSON.parse('{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},20443:function(k){"use strict";k.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"}}}')},30355:function(k){"use strict";k.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"]}')},78782:function(k){"use strict";k.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"]}')},72789:function(k){"use strict";k.exports=JSON.parse('{"definitions":{"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"proxy":{"description":"Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.","type":"string"},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}}},"title":"HttpUriPluginOptions","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]}')},61334:function(k){"use strict";k.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"]}')},15958:function(k){"use strict";k.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"]}')}};var v={};function __webpack_require__(E){var P=v[E];if(P!==undefined){return P.exports}var R=v[E]={exports:{}};var L=true;try{k[E].call(R.exports,R,R.exports,__webpack_require__);L=false}finally{if(L)delete v[E]}return R.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var E=__webpack_require__(83182);module.exports=E})(); \ No newline at end of file From 6a9fae042397412582e511dc40ad9d350d262e7c Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Fri, 25 Aug 2023 19:30:08 +0200 Subject: [PATCH 4/4] revert unintended changes --- packages/next/src/server/config.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/next/src/server/config.ts b/packages/next/src/server/config.ts index 29ffc2161694..555689323166 100644 --- a/packages/next/src/server/config.ts +++ b/packages/next/src/server/config.ts @@ -678,15 +678,15 @@ function assignDefaults( 'lodash-es': { transform: 'lodash-es/{{member}}', }, - // '@headlessui/react': { - // transform: { - // Transition: - // 'modularize-import-loader?name={{member}}&join=./components/transitions/transition!@headlessui/react', - // Tab: 'modularize-import-loader?name={{member}}&join=./components/tabs/tabs!@headlessui/react', - // '*': 'modularize-import-loader?name={{member}}&join=./components/{{ kebabCase member }}/{{ kebabCase member }}!@headlessui/react', - // }, - // skipDefaultConversion: true, - // }, + '@headlessui/react': { + transform: { + Transition: + 'modularize-import-loader?name={{member}}&join=./components/transitions/transition!@headlessui/react', + Tab: 'modularize-import-loader?name={{member}}&join=./components/tabs/tabs!@headlessui/react', + '*': 'modularize-import-loader?name={{member}}&join=./components/{{ kebabCase member }}/{{ kebabCase member }}!@headlessui/react', + }, + skipDefaultConversion: true, + }, '@heroicons/react/20/solid': { transform: '@heroicons/react/20/solid/esm/{{member}}', },